From f0a3534123e54a962a4c7de7ebd332e6eae658d1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Sat, 11 May 2019 16:33:47 +0200 Subject: Fix FTBFS for build without TDE integration. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko --- src/kchmsetupdialog_impl.cpp | 5 ++++- src/tde-tqt.h | 5 ++--- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/src/kchmsetupdialog_impl.cpp b/src/kchmsetupdialog_impl.cpp index 7478aef..0c68cba 100644 --- a/src/kchmsetupdialog_impl.cpp +++ b/src/kchmsetupdialog_impl.cpp @@ -17,7 +17,9 @@ #include "kchmsetupdialog_impl.h" #include "kchmsetupdialog_impl.moc" +#if defined(USE_KDE) #include +#endif KCHMSetupDialog_impl::KCHMSetupDialog_impl(TQWidget* parent, const char* name, bool modal, WFlags fl) : KCHMSetupDialog(parent, name, modal, fl) @@ -26,6 +28,7 @@ KCHMSetupDialog_impl::KCHMSetupDialog_impl(TQWidget* parent, const char* name, b void KCHMSetupDialog_impl::slotShowHelp() { +#if defined(USE_KDE) kapp->invokeHelp(); +#endif } - 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 #include @@ -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 #include -- cgit v1.2.3