summaryrefslogtreecommitdiffstats
path: root/kdict/applet/kdictapplet.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:48:06 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:48:06 +0000
commit47c8a359c5276062c4bc17f0e82410f29081b502 (patch)
tree2d54a5f60a5b74067632f9ef6df58c2bc38155e6 /kdict/applet/kdictapplet.h
parent6f82532777a35e0e60bbd2b290b2e93e646f349b (diff)
downloadtdenetwork-47c8a359c5276062c4bc17f0e82410f29081b502.tar.gz
tdenetwork-47c8a359c5276062c4bc17f0e82410f29081b502.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1157648 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdict/applet/kdictapplet.h')
-rw-r--r--kdict/applet/kdictapplet.h26
1 files changed, 13 insertions, 13 deletions
diff --git a/kdict/applet/kdictapplet.h b/kdict/applet/kdictapplet.h
index a9738148..99a7cec4 100644
--- a/kdict/applet/kdictapplet.h
+++ b/kdict/applet/kdictapplet.h
@@ -20,7 +20,7 @@
#ifndef _DICTAPPLET_H_
#define _DICTAPPLET_H_
-#include <qhbox.h>
+#include <tqhbox.h>
#include <kpanelapplet.h>
class QLabel;
@@ -47,7 +47,7 @@ public slots:
void enablePopup();
protected:
- void hideEvent(QHideEvent *);
+ void hideEvent(TQHideEvent *);
private:
bool popupEnabled;
@@ -61,22 +61,22 @@ class DictApplet : public KPanelApplet
Q_OBJECT
public:
- DictApplet(const QString& configFile, Type t = Stretch, int actions = 0, QWidget *parent = 0, const char *name = 0);
+ DictApplet(const TQString& configFile, Type t = Stretch, int actions = 0, TQWidget *parent = 0, const char *name = 0);
virtual ~DictApplet();
int widthForHeight(int height) const;
int heightForWidth(int width) const;
protected:
- void resizeEvent(QResizeEvent*);
- bool eventFilter( QObject *, QEvent * );
+ void resizeEvent(TQResizeEvent*);
+ bool eventFilter( TQObject *, TQEvent * );
- void sendCommand(const QCString &fun, const QString &data);
+ void sendCommand(const TQCString &fun, const TQString &data);
protected slots:
void sendDelayedCommand();
- void startQuery(const QString&);
- void comboTextChanged(const QString&);
+ void startQuery(const TQString&);
+ void comboTextChanged(const TQString&);
void queryClipboard();
void startDefine();
void startMatch();
@@ -87,14 +87,14 @@ protected slots:
private:
KHistoryCombo *internalCombo, *externalCombo;
KCompletion *completionObject;
- QLabel *textLabel, *iconLabel;
- QPushButton *verticalBtn, *clipboardBtn, *defineBtn, *matchBtn;
- QWidget *baseWidget;
+ TQLabel *textLabel, *iconLabel;
+ TQPushButton *verticalBtn, *clipboardBtn, *defineBtn, *matchBtn;
+ TQWidget *baseWidget;
PopupBox *popupBox;
int waiting;
- QCString delayedFunc;
- QString delayedData;
+ TQCString delayedFunc;
+ TQString delayedData;
};