pull/1/head
Timothy Pearson 12 years ago
parent 1bd8d2ccc5
commit c2937aeffb

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

Loading…
Cancel
Save