diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-25 05:28:35 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-25 05:28:35 +0000 |
commit | f008adb5a77e094eaf6abf3fc0f36958e66896a5 (patch) | |
tree | 8e9244c4d4957c36be81e15b566b4aa5ea26c982 /kplato/kptpertview.h | |
parent | 1210f27b660efb7b37ff43ec68763e85a403471f (diff) | |
download | koffice-f008adb5a77e094eaf6abf3fc0f36958e66896a5.tar.gz koffice-f008adb5a77e094eaf6abf3fc0f36958e66896a5.zip |
TQt4 port koffice
This should enable compilation under both Qt3 and Qt4; fixes for any missed components will be forthcoming
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/koffice@1238284 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kplato/kptpertview.h')
-rw-r--r-- | kplato/kptpertview.h | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/kplato/kptpertview.h b/kplato/kptpertview.h index a51bb95d..ed4e3c28 100644 --- a/kplato/kptpertview.h +++ b/kplato/kptpertview.h @@ -22,10 +22,10 @@ #include "kptcontext.h" -#include <qsplitter.h> +#include <tqsplitter.h> -class QLayout; -class QListViewItem; +class TQLayout; +class TQListViewItem; class KPrinter; @@ -37,13 +37,14 @@ class PertCanvas; class Node; class Relation; -class PertView : public QWidget +class PertView : public TQWidget { Q_OBJECT + TQ_OBJECT public: - PertView( View *view, QWidget *parent, QLayout *layout ); + PertView( View *view, TQWidget *tqparent, TQLayout *tqlayout ); ~PertView(); @@ -60,7 +61,7 @@ public: virtual void getContext(Context::Pertview &context) const; public slots: - void slotRMBPressed(Node *node, const QPoint & point); + void slotRMBPressed(Node *node, const TQPoint & point); void slotAddRelation(Node *par, Node *child); void slotModifyRelation(Relation *rel); @@ -69,7 +70,7 @@ signals: void modifyRelation(Relation *rel); private: - void init(QLayout *layout); + void init(TQLayout *tqlayout); View *m_mainview; PertCanvas *m_canvasview; Node *m_node; |