summaryrefslogtreecommitdiffstats
path: root/kivio/plugins/kiviozoomtool/tool_zoom.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-25 05:28:35 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-25 05:28:35 +0000
commitf008adb5a77e094eaf6abf3fc0f36958e66896a5 (patch)
tree8e9244c4d4957c36be81e15b566b4aa5ea26c982 /kivio/plugins/kiviozoomtool/tool_zoom.h
parent1210f27b660efb7b37ff43ec68763e85a403471f (diff)
downloadkoffice-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 'kivio/plugins/kiviozoomtool/tool_zoom.h')
-rw-r--r--kivio/plugins/kiviozoomtool/tool_zoom.h19
1 files changed, 10 insertions, 9 deletions
diff --git a/kivio/plugins/kiviozoomtool/tool_zoom.h b/kivio/plugins/kiviozoomtool/tool_zoom.h
index 97c6ebcd..15700f75 100644
--- a/kivio/plugins/kiviozoomtool/tool_zoom.h
+++ b/kivio/plugins/kiviozoomtool/tool_zoom.h
@@ -29,18 +29,19 @@ class KPopupMenu;
class KRadioAction;
class KAction;
-class QCursor;
+class TQCursor;
class ZoomTool : public Kivio::MouseTool
{
Q_OBJECT
+ TQ_OBJECT
public:
- ZoomTool(KivioView* parent);
+ ZoomTool(KivioView* tqparent);
virtual ~ZoomTool();
- virtual bool processEvent(QEvent* e);
+ virtual bool processEvent(TQEvent* e);
- void zoomRect(QRect);
+ void zoomRect(TQRect);
public slots:
void zoomActivated();
@@ -57,7 +58,7 @@ class ZoomTool : public Kivio::MouseTool
virtual void setActivated(bool a);
protected:
- void showPopupMenu(const QPoint&);
+ void showPopupMenu(const TQPoint&);
signals:
void operationDone();
@@ -78,15 +79,15 @@ class ZoomTool : public Kivio::MouseTool
KAction* m_pCurrent;
- QCursor* m_pPlusCursor;
- QCursor* m_pMinusCursor;
- QCursor* m_handCursor;
+ TQCursor* m_pPlusCursor;
+ TQCursor* m_pMinusCursor;
+ TQCursor* m_handCursor;
bool m_bDrawRubber;
bool m_bHandMode;
bool isHandMousePressed;
bool m_bLockKeyboard;
- QPoint mousePos;
+ TQPoint mousePos;
};
#endif