Fix FTBFS for build without TDE integration.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit f0a3534123)
r14.0.x
Slávek Banko 6 years ago
parent ac9ac39fde
commit 87aa164bb8
No known key found for this signature in database
GPG Key ID: 608F5293A04BE668

@ -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
}

@ -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>

Loading…
Cancel
Save