summaryrefslogtreecommitdiffstats
path: root/kbabel/kbabeldict/dictionarymenu.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:51:49 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:51:49 +0000
commit4ae0c208b66e0f7954e194384464fe2d0a2c56dd (patch)
treeb0a7cd1c184f0003c0292eb416ed27f674f9cc43 /kbabel/kbabeldict/dictionarymenu.h
parent1964ea0fb4ab57493ca2ebb709c8d3b5395fd653 (diff)
downloadtdesdk-4ae0c208b66e0f7954e194384464fe2d0a2c56dd.tar.gz
tdesdk-4ae0c208b66e0f7954e194384464fe2d0a2c56dd.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdesdk@1157652 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kbabel/kbabeldict/dictionarymenu.h')
-rw-r--r--kbabel/kbabeldict/dictionarymenu.h26
1 files changed, 13 insertions, 13 deletions
diff --git a/kbabel/kbabeldict/dictionarymenu.h b/kbabel/kbabeldict/dictionarymenu.h
index c688508e..c520501a 100644
--- a/kbabel/kbabeldict/dictionarymenu.h
+++ b/kbabel/kbabeldict/dictionarymenu.h
@@ -33,10 +33,10 @@
#ifndef DICTIONARYMENU_H
#define DICTIONARYMENU_H
-#include <qintdict.h>
-#include <qobject.h>
-#include <qstringlist.h>
-#include <qguardedptr.h>
+#include <tqintdict.h>
+#include <tqobject.h>
+#include <tqstringlist.h>
+#include <tqguardedptr.h>
#include <kdemacros.h>
class QSignalMapper;
@@ -48,31 +48,31 @@ class KDE_EXPORT DictionaryMenu : public QObject
Q_OBJECT
public:
- DictionaryMenu(KPopupMenu *menu, KActionCollection *collection, QObject *parent=0);
+ DictionaryMenu(KPopupMenu *menu, KActionCollection *collection, TQObject *parent=0);
~DictionaryMenu();
- void add(const QString& name,const QString& id);
+ void add(const TQString& name,const TQString& id);
/**
* Adds an item to this menu and to the keyboard accelerator.
* If key contains %1 it is replaced with a number 1-9
*/
- void add(const QString& name,const QString& id, const QString& key);
+ void add(const TQString& name,const TQString& id, const TQString& key);
void clear();
signals:
- void activated(const QString moduleId);
+ void activated(const TQString moduleId);
private slots:
void activated(int);
private:
- QGuardedPtr<KPopupMenu> popup;
- QGuardedPtr<KActionCollection> actionCollection;
- QIntDict<QString> num2id;
- QIntDict<QString> accel2id;
- QSignalMapper* dictionaryMapper;
+ TQGuardedPtr<KPopupMenu> popup;
+ TQGuardedPtr<KActionCollection> actionCollection;
+ TQIntDict<TQString> num2id;
+ TQIntDict<TQString> accel2id;
+ TQSignalMapper* dictionaryMapper;
uint maxId;
};