diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-17 22:17:08 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-17 22:17:08 +0000 |
commit | f138d74fe16092003b06f5bde9663841929cde7f (patch) | |
tree | e9c497a0e59bc7d34264ac9404740d2ea76f3de4 /ksayit/src/contextmenuhandler.h | |
parent | 3a3c4b256baee79bdcfe72c5e01b9ded9b525900 (diff) | |
download | tdeaccessibility-f138d74fe16092003b06f5bde9663841929cde7f.tar.gz tdeaccessibility-f138d74fe16092003b06f5bde9663841929cde7f.zip |
TQt4 port kdeaccessibility
This enables compilation under both Qt3 and Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeaccessibility@1237325 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'ksayit/src/contextmenuhandler.h')
-rw-r--r-- | ksayit/src/contextmenuhandler.h | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/ksayit/src/contextmenuhandler.h b/ksayit/src/contextmenuhandler.h index 148bb04..88d7c0e 100644 --- a/ksayit/src/contextmenuhandler.h +++ b/ksayit/src/contextmenuhandler.h @@ -12,7 +12,7 @@ #ifndef CONTEXTMENUHANDLER_H #define CONTEXTMENUHANDLER_H -// Qt includes +// TQt includes #include <tqobject.h> #include <tqstring.h> #include <tqxml.h> @@ -64,11 +64,12 @@ private: /** @author Robert Vogl */ -class ContextMenuHandler : public QObject +class ContextMenuHandler : public TQObject { Q_OBJECT + TQ_OBJECT public: - ContextMenuHandler(TQObject *parent = 0, const char *name = 0); + ContextMenuHandler(TQObject *tqparent = 0, const char *name = 0); ~ContextMenuHandler(); @@ -79,10 +80,10 @@ public: KPopupMenu* getPopupMenu(ListViewInterface *item); /** - * \returns A pointer to the Submenu as a child of the parent - * \p parent. + * \returns A pointer to the Submenu as a child of the tqparent + * \p tqparent. */ - KPopupMenu* SubMenuFactory(KPopupMenu *parent); + KPopupMenu* SubMenuFactory(KPopupMenu *tqparent); /** * Creates an action sufficiant to the given name. |