diff options
-rw-r--r-- | src/kchmsetupdialog_impl.cpp | 5 | ||||
-rw-r--r-- | 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 <tdeapplication.h> +#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 <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> |