summaryrefslogtreecommitdiffstats
path: root/kdeui/kcmenumngr.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:46:43 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:46:43 +0000
commitffe8a83e053396df448e9413828527613ca3bd46 (patch)
treea73d4169e02df4a50f9a12cb165fcd0ab5bac7c6 /kdeui/kcmenumngr.h
parent682bf3bfdcbcbb1fca85e8a36ed03e062e0555d5 (diff)
downloadtdelibs-ffe8a83e053396df448e9413828527613ca3bd46.tar.gz
tdelibs-ffe8a83e053396df448e9413828527613ca3bd46.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1157647 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdeui/kcmenumngr.h')
-rw-r--r--kdeui/kcmenumngr.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/kdeui/kcmenumngr.h b/kdeui/kcmenumngr.h
index 36a2580ad..81d888fcb 100644
--- a/kdeui/kcmenumngr.h
+++ b/kdeui/kcmenumngr.h
@@ -24,9 +24,9 @@
class QWidget;
class QPopupMenu;
class KContextMenuManagerPrivate;
-#include <qobject.h>
-#include <qptrdict.h>
-#include <qkeysequence.h>
+#include <tqobject.h>
+#include <tqptrdict.h>
+#include <tqkeysequence.h>
#include <kdelibs_export.h>
@@ -35,8 +35,8 @@ class KContextMenuManagerPrivate;
@author Matthias Ettrich <[email protected]>
KContextMenuManager manages configurable context popup menus. Instead
-of reimplementing QWidget::mousePressEvent() or
- QWidget::mouseReleaseEvent() and/or QWidget::keyPressEvent(), simply
+of reimplementing TQWidget::mousePressEvent() or
+ TQWidget::mouseReleaseEvent() and/or TQWidget::keyPressEvent(), simply
create the popup menu and insert it into the context menu manager with
the static function insert().
@@ -70,7 +70,7 @@ The shortcut key to invoke the context menu is defined in the standard
The key can be configured with the standard keys module in the KDE control center.
If the popup menu is invoked with the keyboard shortcut, it's shown at
-the position of the micro focus hint of the widget ( QWidget::microFocusHint() ).
+the position of the micro focus hint of the widget ( TQWidget::microFocusHint() ).
*/
class KDEUI_EXPORT KContextMenuManager : public QObject
@@ -84,7 +84,7 @@ public:
Ownership of the popup menu is not transferred to the context
menu manager.
*/
- static void insert( QWidget* widget, QPopupMenu* popup );
+ static void insert( TQWidget* widget, TQPopupMenu* popup );
/**
* Use this method to get information about when a popup menu
@@ -99,12 +99,12 @@ public:
private slots:
void widgetDestroyed();
private:
- KContextMenuManager( QObject* parent = 0, const char* name = 0);
+ KContextMenuManager( TQObject* parent = 0, const char* name = 0);
~KContextMenuManager();
- bool eventFilter( QObject *, QEvent * );
- QPtrDict<QPopupMenu> menus;
+ bool eventFilter( TQObject *, TQEvent * );
+ TQPtrDict<TQPopupMenu> menus;
bool showOnPress;
- QKeySequence menuKey;
+ TQKeySequence menuKey;
static KContextMenuManager* manager;
friend class I_really_like_this_class; // avoid warning