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 /kicker/menuext/tom/tom.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 'kicker/menuext/tom/tom.h')
-rw-r--r-- | kicker/menuext/tom/tom.h | 48 |
1 files changed, 24 insertions, 24 deletions
diff --git a/kicker/menuext/tom/tom.h b/kicker/menuext/tom/tom.h index 663cb05d6..f658a1ffe 100644 --- a/kicker/menuext/tom/tom.h +++ b/kicker/menuext/tom/tom.h @@ -19,7 +19,7 @@ #ifndef __tom_h_ #define __tom_h_ -#include <qpixmap.h> +#include <tqpixmap.h> #include <kpanelmenu.h> #include <klibloader.h> @@ -27,20 +27,20 @@ class KPopupMenu; class QPopupMenu; -typedef QPtrList<QPopupMenu> PopupMenuList; -typedef QMap<int, KService::Ptr> TaskMap; +typedef TQPtrList<TQPopupMenu> PopupMenuList; +typedef TQMap<int, KService::Ptr> TaskMap; class TOM : public KPanelMenu { Q_OBJECT public: - TOM(QWidget *parent = 0, const char *name = 0); + TOM(TQWidget *parent = 0, const char *name = 0); ~TOM(); // for the side image - /*void setMinimumSize(const QSize &); - void setMaximumSize(const QSize &); + /*void setMinimumSize(const TQSize &); + void setMaximumSize(const TQSize &); void setMinimumSize(int, int); void setMaximumSize(int, int); */ @@ -49,7 +49,7 @@ class TOM : public KPanelMenu void slotExec(int); //void configChanged(); void initialize(); - void contextualizeRMBmenu(KPopupMenu* menu, int menuItem, QPopupMenu* ctxMenu); + void contextualizeRMBmenu(KPopupMenu* menu, int menuItem, TQPopupMenu* ctxMenu); //void paletteChanged(); void clearRecentDocHistory(); void runCommand(); @@ -67,43 +67,43 @@ class TOM : public KPanelMenu void reload(); int appendTaskGroup(KConfig& config, bool inSubMenu = true ); - void initializeRecentApps(QPopupMenu* menu); - //int insertTOMTitle(QPopupMenu* menu, const QString &text, int id = -1, int index = -1); + void initializeRecentApps(TQPopupMenu* menu); + //int insertTOMTitle(TQPopupMenu* menu, const TQString &text, int id = -1, int index = -1); /* * this stuff should be shared w/the kmenu - QRect sideImageRect(); - QMouseEvent translateMouseEvent( QMouseEvent* e ); - void resizeEvent(QResizeEvent *); - void paintEvent(QPaintEvent *); - void mousePressEvent(QMouseEvent *); - void mouseReleaseEvent(QMouseEvent *); - void mouseMoveEvent(QMouseEvent *); + TQRect sideImageRect(); + TQMouseEvent translateMouseEvent( TQMouseEvent* e ); + void resizeEvent(TQResizeEvent *); + void paintEvent(TQPaintEvent *); + void mousePressEvent(TQMouseEvent *); + void mouseReleaseEvent(TQMouseEvent *); + void mouseMoveEvent(TQMouseEvent *); bool loadSidePixmap(); - QPixmap m_sidePixmap; - QPixmap m_sideTilePixmap;*/ + TQPixmap m_sidePixmap; + TQPixmap m_sideTilePixmap;*/ PopupMenuList m_submenus; - QFont m_largerFont; + TQFont m_largerFont; int m_maxIndex; bool m_isImmutable; bool m_detailedTaskEntries; bool m_detailedNamesFirst; TaskMap m_tasks; KPopupMenu* m_recentDocsMenu; - QStringList m_recentDocURLs; + TQStringList m_recentDocURLs; }; class TOMFactory : public KLibFactory { public: - TOMFactory(QObject *parent = 0, const char *name = 0); + TOMFactory(TQObject *parent = 0, const char *name = 0); protected: - QObject* createObject(QObject *parent = 0, const char *name = 0, - const char *classname = "QObject", - const QStringList& args = QStringList()); + TQObject* createObject(TQObject *parent = 0, const char *name = 0, + const char *classname = "TQObject", + const TQStringList& args = TQStringList()); }; |