diff options
author | Timothy Pearson <[email protected]> | 2013-02-13 15:10:42 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2013-02-13 15:10:42 -0600 |
commit | c2937aeffb2e9da3b78dfa72eba29edfad63f2bc (patch) | |
tree | 65c88e2c45defe10fc8a4a74169aac1efdac6df8 | |
parent | 1bd8d2ccc5cfa6aadf588dd521e5f0060884b89c (diff) | |
download | kchmviewer-c2937aeffb2e9da3b78dfa72eba29edfad63f2bc.tar.gz kchmviewer-c2937aeffb2e9da3b78dfa72eba29edfad63f2bc.zip |
Fix FTBFS
-rw-r--r-- | src/kde-qt.h | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/src/kde-qt.h b/src/kde-qt.h index 6d7bb1b..51bade2 100644 --- a/src/kde-qt.h +++ b/src/kde-qt.h @@ -25,9 +25,11 @@ #include "config.h" #if defined (USE_KDE) - - #define KTQ_CLASSNAME(name) K##name + + #define KTQ_CLASSNAME(name) K##name + #define TDETQ_CLASSNAME(name) TDE##name #define KTQ_DECLARECLASS(name) class KQ##name : public K##name + #define TDETQ_DECLARECLASS(name) class TDEQ##name : public TDE##name #include <kapplication.h> #include <tdemainwindow.h> @@ -84,15 +86,15 @@ #include <tqmap.h> #include <tqeventloop.h> -class KQMainWindow : public KTQ_CLASSNAME(MainWindow) +class KQMainWindow : public TDETQ_CLASSNAME(MainWindow) { public: KQMainWindow ( TQWidget * parent, const char * name, WFlags f ) - : KTQ_CLASSNAME(MainWindow) (parent, name, f) {}; + : TDETQ_CLASSNAME(MainWindow) (parent, name, f) {}; }; -class KQListView : public KTQ_CLASSNAME(ListView) +class KQListView : public TDETQ_CLASSNAME(ListView) { public: KQListView(TQWidget *parent = 0, const char *name = 0, int f = 0); @@ -120,11 +122,11 @@ public: : KTQ_CLASSNAME(TabWidget) (parent, name, f) {}; }; -class KTQPopupMenu : public KTQ_CLASSNAME(PopupMenu) +class KTQPopupMenu : public TDETQ_CLASSNAME(PopupMenu) { public: KTQPopupMenu (TQWidget *parent = 0 ) - : KTQ_CLASSNAME(PopupMenu) (parent) {}; + : TDETQ_CLASSNAME(PopupMenu) (parent) {}; }; #include <tqinputdialog.h> |