diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:33:34 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:33:34 +0000 |
commit | c663b6440964f6ac48027143ac9e63298991f9d0 (patch) | |
tree | 6d8b0c5a5f9db1ee16acf98b1397cea9126b281d /kdesktop/krootwm.h | |
parent | a061f7191beebb0e4a3b0c0a7c534ec5f22f2dc7 (diff) | |
download | tdebase-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 'kdesktop/krootwm.h')
-rw-r--r-- | kdesktop/krootwm.h | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/kdesktop/krootwm.h b/kdesktop/krootwm.h index 3363fbf42..8bbf83817 100644 --- a/kdesktop/krootwm.h +++ b/kdesktop/krootwm.h @@ -23,8 +23,8 @@ #ifndef __krootwm_h__ #define __krootwm_h__ -#include <qpixmap.h> -#include <qobject.h> +#include <tqpixmap.h> +#include <tqobject.h> // we need Window but do not want to include X.h since it // #defines way too many constants @@ -59,7 +59,7 @@ enum { /** * This class is the handler for the menus (root popup menu and desktop menubar) */ -class KRootWm: public QObject { +class KRootWm: public TQObject { Q_OBJECT public: @@ -67,7 +67,7 @@ public: ~KRootWm(); bool startup; - void mousePressed( const QPoint& _global, int _button ); + void mousePressed( const TQPoint& _global, int _button ); bool hasLeftButtonMenu() { return leftButtonChoice != NOTHING; } /** @@ -83,7 +83,7 @@ public: /** * The position of the (usually RMB) click that opened the 'desktop' menu */ - QPoint desktopMenuPosition() const { return m_desktopMenuPosition; } + TQPoint desktopMenuPosition() const { return m_desktopMenuPosition; } /** * Read and apply configuration @@ -93,7 +93,7 @@ public: /** * List of config modules used by Configure Desktop */ - static QStringList configModules(); + static TQStringList configModules(); public slots: void slotArrangeByNameCS(); @@ -126,10 +126,10 @@ private: // The five root menus : KWindowListMenu* windowListMenu; - QPopupMenu* desktopMenu; + TQPopupMenu* desktopMenu; // the appMenu is (will be) provided by kicker - QPopupMenu* customMenu1; - QPopupMenu* customMenu2; + TQPopupMenu* customMenu1; + TQPopupMenu* customMenu2; KCMultiDialog* m_configDialog; // Configuration for the root menus : @@ -142,9 +142,9 @@ private: KActionMenu* bookmarks; KBookmarkMenu* bookmarkMenu; KActionCollection * m_actionCollection; - QPoint m_desktopMenuPosition; + TQPoint m_desktopMenuPosition; - void activateMenu( menuChoice choice, const QPoint& global ); + void activateMenu( menuChoice choice, const TQPoint& global ); void buildMenus(); bool m_bShowMenuBar; @@ -153,14 +153,14 @@ private: bool m_bDesktopEnabled; KMenuBar *menuBar; - QPopupMenu *file; - QPopupMenu *desk; + TQPopupMenu *file; + TQPopupMenu *desk; KHelpMenu *help; - QPixmap defaultPixmap; + TQPixmap defaultPixmap; void doNewSession( bool lock ); - QPopupMenu *sessionsMenu; + TQPopupMenu *sessionsMenu; static KRootWm * s_rootWm; |