summaryrefslogtreecommitdiff
path: root/astro/xglobe/files/patch-markerlist.cpp
blob: 16e6d3e45e024b8aa034909206dc08a6ffe08b4e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
--- markerlist.cpp.orig	1999-07-13 11:13:41.000000000 -0700
+++ markerlist.cpp	2011-01-18 14:22:52.000000000 -0800
@@ -28,7 +28,7 @@
 
 #include "markerlist.h"
 #include <qfile.h>
-#include <qtextstream.h>
+#include <q3textstream.h>
 
 /* ------------------------------------------------------------------------ */
 
@@ -94,11 +94,11 @@
   int         pos1;
   int         pos2;
   QFile f(filename);
-  QTextStream t(&f);
+  Q3TextStream t(&f);
   QString     line;
   QColor      color;
 
-  if(!f.open(IO_ReadOnly))
+  if(!f.open(QIODevice::ReadOnly))
     return FALSE;
   
   while(!t.eof())