diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-04-27 00:40:29 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-04-27 00:40:29 +0000 |
commit | 7a741e43ff09e70396a918956219b8316c48e522 (patch) | |
tree | 3d0f60eccd59786cea7236db2d5c4c1f25874515 /src/urlnavigatorbutton.h | |
parent | a48487ef0c329434b58b6f920111bb0999f1109e (diff) | |
download | dolphin-7a741e43ff09e70396a918956219b8316c48e522.tar.gz dolphin-7a741e43ff09e70396a918956219b8316c48e522.zip |
TQt4 port Dolphin
This enables compilation under Qt3 and Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/dolphin@1229359 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/urlnavigatorbutton.h')
-rw-r--r-- | src/urlnavigatorbutton.h | 29 |
1 files changed, 15 insertions, 14 deletions
diff --git a/src/urlnavigatorbutton.h b/src/urlnavigatorbutton.h index de71fd6..82eb11f 100644 --- a/src/urlnavigatorbutton.h +++ b/src/urlnavigatorbutton.h @@ -20,7 +20,7 @@ #ifndef URLNAVIGATORBUTTON_H #define URLNAVIGATORBUTTON_H -#include <qstringlist.h> +#include <tqstringlist.h> #include <kio/global.h> @@ -28,7 +28,7 @@ class KURL; class URLNavigator; -class QPainter; +class TQPainter; namespace KIO { @@ -46,24 +46,25 @@ namespace KIO class URLNavigatorButton : public URLButton { Q_OBJECT + TQ_OBJECT public: - URLNavigatorButton(int index, URLNavigator* parent = 0); + URLNavigatorButton(int index, URLNavigator* tqparent = 0); virtual ~URLNavigatorButton(); void setIndex(int index); int index() const; protected: - virtual void drawButton(QPainter* painter); - virtual void enterEvent(QEvent* event); - virtual void leaveEvent(QEvent* event); + virtual void drawButton(TQPainter* painter); + virtual void enterEvent(TQEvent* event); + virtual void leaveEvent(TQEvent* event); //drag - void mousePressEvent( QMouseEvent *event ); - void mouseMoveEvent( QMouseEvent *event ); + void mousePressEvent( TQMouseEvent *event ); + void mouseMoveEvent( TQMouseEvent *event ); //drop - virtual void dropEvent(QDropEvent* event); - virtual void dragEnterEvent(QDragEnterEvent* event); - virtual void dragLeaveEvent(QDragLeaveEvent* event); + virtual void dropEvent(TQDropEvent* event); + virtual void dragEnterEvent(TQDragEnterEvent* event); + virtual void dragLeaveEvent(TQDragLeaveEvent* event); private slots: void updateNavigatorURL(); @@ -79,10 +80,10 @@ private: void startDrag(); int m_index; - QTimer* m_popupDelay; + TQTimer* m_popupDelay; KIO::Job* m_listJob; - QStringList m_subdirs; - QPoint dragPos; + TQStringList m_subdirs; + TQPoint dragPos; }; #endif |