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 /kformula/kformula_view.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 'kformula/kformula_view.h')
-rw-r--r-- | kformula/kformula_view.h | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/kformula/kformula_view.h b/kformula/kformula_view.h index 4bb70bf3..0c1f37bc 100644 --- a/kformula/kformula_view.h +++ b/kformula/kformula_view.h @@ -26,8 +26,8 @@ class KFormulaDoc; class KFormulaPartView; class KFormulaWidget; class KSelectAction; -class QPaintEvent; -class QScrollView; +class TQPaintEvent; +class TQScrollView; class DCOPObject; namespace KFormula { @@ -35,8 +35,8 @@ namespace KFormula { } #include <KoView.h> -#include <qptrlist.h> -#include <qstringlist.h> +#include <tqptrlist.h> +#include <tqstringlist.h> /** * The parts view. @@ -44,9 +44,10 @@ namespace KFormula { class KFormulaPartView : public KoView { Q_OBJECT + TQ_OBJECT public: - KFormulaPartView(KFormulaDoc* _doc, QWidget* _parent=0, const char* _name=0); + KFormulaPartView(KFormulaDoc* _doc, TQWidget* _parent=0, const char* _name=0); virtual ~KFormulaPartView(); virtual DCOPObject* dcopObject(); @@ -58,12 +59,12 @@ public: const KFormula::View* formulaView() const; KFormula::View* formulaView(); - QStringList readFormulaString( QString text ); + TQStringList readFormulaString( TQString text ); protected: - virtual void resizeEvent(QResizeEvent* _ev); - virtual void focusInEvent(QFocusEvent*); + virtual void resizeEvent(TQResizeEvent* _ev); + virtual void focusInEvent(TQFocusEvent*); virtual void updateReadWrite(bool); @@ -88,7 +89,7 @@ private: KFormulaDoc *m_pDoc; KFormulaWidget* formulaWidget; - QScrollView* scrollview; + TQScrollView* scrollview; KAction* cutAction; KAction* copyAction; |