summaryrefslogtreecommitdiffstats
path: root/kicker/applets/minipager/pagerapplet.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/pagerapplet.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/pagerapplet.h')
-rw-r--r--kicker/applets/minipager/pagerapplet.h32
1 files changed, 16 insertions, 16 deletions
diff --git a/kicker/applets/minipager/pagerapplet.h b/kicker/applets/minipager/pagerapplet.h
index d96ba83f7..88712d9ff 100644
--- a/kicker/applets/minipager/pagerapplet.h
+++ b/kicker/applets/minipager/pagerapplet.h
@@ -24,8 +24,8 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#ifndef __MINIPAGER_H
#define __MINIPAGER_H
-#include <qvaluelist.h>
-#include <qintdict.h>
+#include <tqvaluelist.h>
+#include <tqintdict.h>
#include <kpanelapplet.h>
#include <kwin.h>
@@ -49,8 +49,8 @@ class KMiniPager : public KPanelApplet
Q_OBJECT
public:
- KMiniPager(const QString& configFile, Type t = Normal, int actions = 0,
- QWidget *parent = 0, const char *name = 0);
+ KMiniPager(const TQString& configFile, Type t = Normal, int actions = 0,
+ TQWidget *parent = 0, const char *name = 0);
virtual ~KMiniPager();
@@ -78,11 +78,11 @@ public:
void emitRequestFocus() { emit requestFocus(); }
- QPoint clickPos;
+ TQPoint clickPos;
public slots:
void slotSetDesktop(int desktop);
- void slotSetDesktopViewport(int desktop, const QPoint& viewport);
+ void slotSetDesktopViewport(int desktop, const TQPoint& viewport);
void slotSetDesktopCount(int count);
void slotRefreshViewportCount(int currentDesktop);
void slotButtonSelected(int desk );
@@ -90,7 +90,7 @@ public slots:
void slotWindowAdded( WId );
void slotWindowRemoved( WId );
void slotWindowChanged( WId, unsigned int );
- void slotShowMenu( const QPoint&, int );
+ void slotShowMenu( const TQPoint&, int );
void slotDesktopNamesChanged();
void slotBackgroundChanged( int );
@@ -98,30 +98,30 @@ public slots:
protected:
void drawButtons();
- void startDrag( const QPoint &point );
+ void startDrag( const TQPoint &point );
void updateDesktopLayout(int,int,int);
- void resizeEvent(QResizeEvent*);
- void wheelEvent( QWheelEvent* e );
+ void resizeEvent(TQResizeEvent*);
+ void wheelEvent( TQWheelEvent* e );
void showKPager(bool toggleShow);
protected slots:
void showPager();
- void applicationRegistered(const QCString &appName);
+ void applicationRegistered(const TQCString &appName);
void aboutToShowContextMenu();
void contextMenuActivated(int);
private:
- QValueList<KMiniPagerButton*> m_desktops;
+ TQValueList<KMiniPagerButton*> m_desktops;
int m_curDesk;
int m_rmbDesk;
- QIntDict<KWin::WindowInfo> m_windows;
+ TQIntDict<KWin::WindowInfo> m_windows;
WId m_activeWindow;
- QButtonGroup *m_group;
+ TQButtonGroup *m_group;
- QGridLayout *m_layout;
+ TQGridLayout *m_layout;
bool m_useViewports;
int desktopLayoutOrientation;
int desktopLayoutX;
@@ -131,7 +131,7 @@ private:
KWinModule *m_kwin;
KTextShadowEngine* m_shadowEngine;
- QPopupMenu *m_contextMenu;
+ TQPopupMenu *m_contextMenu;
PagerSettings *m_settings;
};