summaryrefslogtreecommitdiffstats
path: root/src/common/global/global.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/global/global.h')
-rw-r--r--src/common/global/global.h38
1 files changed, 11 insertions, 27 deletions
diff --git a/src/common/global/global.h b/src/common/global/global.h
index 72dab0e..9eb8979 100644
--- a/src/common/global/global.h
+++ b/src/common/global/global.h
@@ -9,37 +9,21 @@
#ifndef GLOBAL_H
#define GLOBAL_H
-#include <qglobal.h>
+#include <tqglobal.h>
-#if QT_VERSION<0x040000
-# include <qapplication.h>
-# include <qvaluelist.h>
-# include <qvaluevector.h>
-# include <qmemarray.h>
+# include <tqapplication.h>
+# include <tqvaluelist.h>
+# include <tqvaluevector.h>
+# include <tqmemarray.h>
# include "common/common/qflags.h"
-# define qMax QMAX
-# define qMin QMIN
-# include <qurl.h>
-# define Q3Url QUrl
-# include <qguardedptr.h>
-#else
-# include <qcoreapplication.h>
-# include <Qt3Support/Q3ValueList>
-# define QValueList Q3ValueList
-# include <Qt3Support/Q3ValueVector>
-# define QValueVector Q3ValueVector
-# include <Qt3Support/Q3MemArray>
-# define QMemArray Q3MemArray
-# define qHeapSort qSort
-# include <Qt3Support/Q3Url>
-# include <Qt3Support/Q3MimeSourceFactory>
-# define QMimeSourceFactory Q3MimeSourceFactory
-# include <qpointer.h>
-# define QGuardedPtr QPointer
-#endif
+# define qMax TQMAX
+# define qMin TQMIN
+# include <tqurl.h>
+# define Q3Url TQUrl
+# include <tqguardedptr.h>
#if defined(NO_KDE)
-# include "qt_config.h"
+# include "tqt_config.h"
# include "common/nokde/nokde_kurl.h"
# include "common/nokde/nokde_klocale.h"
# include "common/nokde/nokde_kaboutdata.h"