summaryrefslogtreecommitdiffstats
path: root/src/tde-tqt.h
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2019-05-11 16:33:47 +0200
committerSlávek Banko <[email protected]>2019-05-12 17:38:10 +0200
commit87aa164bb841a8ffe4f418f14f861b16a6780003 (patch)
tree1a69fc9ce740f37ade485d37f00ca6e22a0dc64c /src/tde-tqt.h
parentac9ac39fde0adb59f3c696a8c18cc9be96c59742 (diff)
downloadkchmviewer-87aa164bb841a8ffe4f418f14f861b16a6780003.tar.gz
kchmviewer-87aa164bb841a8ffe4f418f14f861b16a6780003.zip
Fix FTBFS for build without TDE integration.
Signed-off-by: Slávek Banko <[email protected]> (cherry picked from commit f0a3534123e54a962a4c7de7ebd332e6eae658d1)
Diffstat (limited to 'src/tde-tqt.h')
-rw-r--r--src/tde-tqt.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/tde-tqt.h b/src/tde-tqt.h
index f60c09e..a449cf0 100644
--- a/src/tde-tqt.h
+++ b/src/tde-tqt.h
@@ -28,8 +28,6 @@
#define KQ_CLASSNAME(name) K##name
#define TDEQ_CLASSNAME(name) TDE##name
- #define KQ_DECLARECLASS(name) class KQ##name : public K##name
- #define TDEQ_DECLARECLASS(name) class TDEQ##name : public TDE##name
#include <tdeapplication.h>
#include <tdemainwindow.h>
@@ -48,7 +46,8 @@
#else /* !USE_KDE */
- #define KQ_CLASSNAME(name) Q##name
+ #define KQ_CLASSNAME(name) TQ##name
+ #define TDEQ_CLASSNAME(name) TQ##name
#include <tqapplication.h>
#include <tqmainwindow.h>