diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:33:34 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:33:34 +0000 |
commit | c663b6440964f6ac48027143ac9e63298991f9d0 (patch) | |
tree | 6d8b0c5a5f9db1ee16acf98b1397cea9126b281d /nsplugins/viewer/kxt.h | |
parent | a061f7191beebb0e4a3b0c0a7c534ec5f22f2dc7 (diff) | |
download | tdebase-c663b6440964f6ac48027143ac9e63298991f9d0.tar.gz tdebase-c663b6440964f6ac48027143ac9e63298991f9d0.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1157639 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'nsplugins/viewer/kxt.h')
-rw-r--r-- | nsplugins/viewer/kxt.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/nsplugins/viewer/kxt.h b/nsplugins/viewer/kxt.h index 1d594b328..44f05db19 100644 --- a/nsplugins/viewer/kxt.h +++ b/nsplugins/viewer/kxt.h @@ -46,11 +46,11 @@ #ifndef KXT_H #define KXT_H -#include <qglobal.h> +#include <tqglobal.h> #if QT_VERSION < 0x030100 #include <kapplication.h> -#include <qwidget.h> +#include <tqwidget.h> #include <X11/Intrinsic.h> class KXtApplication : public KApplication { @@ -59,20 +59,20 @@ class KXtApplication : public KApplication { public: KXtApplication(int& argc, char** argv, - const QCString& rAppName, bool allowStyles=true, bool GUIenabled=true, + const TQCString& rAppName, bool allowStyles=true, bool GUIenabled=true, XrmOptionDescRec *options=0, int num_options=0, char** resources=0); - KXtApplication(Display*, int& argc, char** argv, const QCString& rAppName, + KXtApplication(Display*, int& argc, char** argv, const TQCString& rAppName, bool allowStyles=true, bool GUIenabled=true); ~KXtApplication(); }; -class KXtWidget : public QWidget { +class KXtWidget : public TQWidget { Q_OBJECT Widget xtw; Widget xtparent; bool need_reroot; void init(const char* name, WidgetClass widget_class, - Widget parent, QWidget* qparent, + Widget parent, TQWidget* qparent, ArgList args, Cardinal num_args, bool managed); friend void qwidget_realize( Widget widget, XtValueMask* mask, @@ -81,7 +81,7 @@ class KXtWidget : public QWidget { public: KXtWidget(const char* name, Widget parent, bool managed=FALSE); KXtWidget(const char* name, WidgetClass widget_class, - QWidget *parent=0, ArgList args=0, Cardinal num_args=0, + TQWidget *parent=0, ArgList args=0, Cardinal num_args=0, bool managed=FALSE); ~KXtWidget(); @@ -90,8 +90,8 @@ public: void setActiveWindow(); protected: - void moveEvent( QMoveEvent* ); - void resizeEvent( QResizeEvent* ); + void moveEvent( TQMoveEvent* ); + void resizeEvent( TQResizeEvent* ); bool x11Event( XEvent * ); }; |