summaryrefslogtreecommitdiffstats
path: root/kicker/applets/minipager/pagerbutton.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:33:34 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:33:34 +0000
commitc663b6440964f6ac48027143ac9e63298991f9d0 (patch)
tree6d8b0c5a5f9db1ee16acf98b1397cea9126b281d /kicker/applets/minipager/pagerbutton.h
parenta061f7191beebb0e4a3b0c0a7c534ec5f22f2dc7 (diff)
downloadtdebase-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 'kicker/applets/minipager/pagerbutton.h')
-rw-r--r--kicker/applets/minipager/pagerbutton.h48
1 files changed, 24 insertions, 24 deletions
diff --git a/kicker/applets/minipager/pagerbutton.h b/kicker/applets/minipager/pagerbutton.h
index 1547201e0..50baf68c9 100644
--- a/kicker/applets/minipager/pagerbutton.h
+++ b/kicker/applets/minipager/pagerbutton.h
@@ -24,7 +24,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#ifndef __MINIPAGERBUTTON_H
#define __MINIPAGERBUTTON_H
-#include <qbutton.h>
+#include <tqbutton.h>
#include "taskmanager.h"
#include "kickertip.h"
@@ -35,18 +35,18 @@ class KMiniPager;
class KSharedPixmap;
class QLineEdit;
-class KMiniPagerButton : public QButton, public KickerTip::Client
+class KMiniPagerButton : public TQButton, public KickerTip::Client
{
Q_OBJECT
public:
- KMiniPagerButton(int desk, bool useViewports, const QPoint& viewport,
+ KMiniPagerButton(int desk, bool useViewports, const TQPoint& viewport,
KMiniPager *parent=0, const char *name=0);
~KMiniPagerButton();
int desktop() { return m_desktop; }
- QString desktopName() { return m_desktopName; }
- void setDesktopName( QString name ) { m_desktopName = name; }
+ TQString desktopName() { return m_desktopName; }
+ void setDesktopName( TQString name ) { m_desktopName = name; }
void rename();
void backgroundChanged();
@@ -56,22 +56,22 @@ public:
signals:
void buttonSelected( int desk );
- void showMenu( const QPoint&, int );
+ void showMenu( const TQPoint&, int );
protected:
- void drawButton(QPainter *);
- void enterEvent(QEvent*);
- void leaveEvent(QEvent*);
- void resizeEvent(QResizeEvent *ev);
- void mousePressEvent(QMouseEvent *);
- void mouseReleaseEvent(QMouseEvent *);
- void mouseMoveEvent(QMouseEvent *);
- void dragEnterEvent(QDragEnterEvent* e);
- void dragLeaveEvent(QDragLeaveEvent* e);
+ void drawButton(TQPainter *);
+ void enterEvent(TQEvent*);
+ void leaveEvent(TQEvent*);
+ void resizeEvent(TQResizeEvent *ev);
+ void mousePressEvent(TQMouseEvent *);
+ void mouseReleaseEvent(TQMouseEvent *);
+ void mouseMoveEvent(TQMouseEvent *);
+ void dragEnterEvent(TQDragEnterEvent* e);
+ void dragLeaveEvent(TQDragLeaveEvent* e);
void enabledChange( bool oldEnabled );
- void dropEvent(QDropEvent* e);
+ void dropEvent(TQDropEvent* e);
- bool eventFilter(QObject*, QEvent*);
+ bool eventFilter(TQObject*, TQEvent*);
void updateKickerTip(KickerTip::Data &data);
private slots:
@@ -83,20 +83,20 @@ private slots:
private:
void loadBgPixmap();
- QRect mapGeometryToViewport(const KWin::WindowInfo&) const;
- QPoint mapPointToViewport(const QPoint&) const;
+ TQRect mapGeometryToViewport(const KWin::WindowInfo&) const;
+ TQPoint mapPointToViewport(const TQPoint&) const;
KMiniPager* m_pager;
int m_desktop;
bool m_useViewports;
- QString m_desktopName;
- QPoint m_viewport;
+ TQString m_desktopName;
+ TQPoint m_viewport;
- QTimer m_updateCompressor;
- QTimer m_dragSwitchTimer;
+ TQTimer m_updateCompressor;
+ TQTimer m_dragSwitchTimer;
Task::Ptr m_dragging;
- QLineEdit* m_lineEdit;
+ TQLineEdit* m_lineEdit;
KSharedPixmap *m_sharedPixmap;
KPixmap *m_bgPixmap;