From 47c8a359c5276062c4bc17f0e82410f29081b502 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:48:06 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1157648 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kdict/actions.h | 44 ++++++++++++++++++++++---------------------- 1 file changed, 22 insertions(+), 22 deletions(-) (limited to 'kdict/actions.h') diff --git a/kdict/actions.h b/kdict/actions.h index 568a9f7c..97759af4 100644 --- a/kdict/actions.h +++ b/kdict/actions.h @@ -18,8 +18,8 @@ #ifndef _ACTIONS_H_ #define _ACTIONS_H_ -#include -#include +#include +#include #include #include @@ -33,38 +33,38 @@ class DictComboAction : public KAction Q_OBJECT public: - DictComboAction( const QString& text, QObject* parent, + DictComboAction( const TQString& text, TQObject* parent, const char* name, bool editable, bool autoSized ); ~DictComboAction(); - virtual int plug( QWidget *w, int index = -1 ); - virtual void unplug( QWidget *w ); + virtual int plug( TQWidget *w, int index = -1 ); + virtual void unplug( TQWidget *w ); - QWidget* widget(); + TQWidget* widget(); void setFocus(); - QString currentText() const; + TQString currentText() const; void selectAll(); - void setEditText(const QString &s); + void setEditText(const TQString &s); void setCurrentItem(int index); void clearEdit(); void clear(); - void setList(QStringList items); + void setList(TQStringList items); KGlobalSettings::Completion completionMode(); void setCompletionMode(KGlobalSettings::Completion mode); signals: void activated(int); - void activated(const QString&); + void activated(const TQString&); private slots: void slotComboActivated(int); - void slotComboActivated(const QString&); + void slotComboActivated(const TQString&); private: - QGuardedPtr m_combo; + TQGuardedPtr m_combo; bool m_editable, m_autoSized; KGlobalSettings::Completion m_compMode; }; @@ -75,16 +75,16 @@ class DictLabelAction : public KAction Q_OBJECT public: - DictLabelAction( const QString &text, QObject *parent = 0, const char *name = 0 ); + DictLabelAction( const TQString &text, TQObject *parent = 0, const char *name = 0 ); ~DictLabelAction(); - virtual int plug( QWidget *widget, int index = -1 ); - virtual void unplug( QWidget *widget ); + virtual int plug( TQWidget *widget, int index = -1 ); + virtual void unplug( TQWidget *widget ); - void setBuddy(QWidget *buddy); + void setBuddy(TQWidget *buddy); private: - QGuardedPtr m_label; + TQGuardedPtr m_label; }; @@ -94,18 +94,18 @@ class DictButtonAction : public KAction Q_OBJECT public: - DictButtonAction( const QString& text, QObject* receiver, - const char* slot, QObject* parent, const char* name ); + DictButtonAction( const TQString& text, TQObject* receiver, + const char* slot, TQObject* parent, const char* name ); ~DictButtonAction(); - virtual int plug( QWidget *w, int index = -1 ); - virtual void unplug( QWidget *w ); + virtual int plug( TQWidget *w, int index = -1 ); + virtual void unplug( TQWidget *w ); int widthHint(); void setWidth(int width); private: - QGuardedPtr m_button; + TQGuardedPtr m_button; }; #endif -- cgit v1.2.1