diff options
Diffstat (limited to 'kdict/actions.h')
-rw-r--r-- | kdict/actions.h | 44 |
1 files changed, 22 insertions, 22 deletions
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 <qguardedptr.h> -#include <qptrlist.h> +#include <tqguardedptr.h> +#include <tqptrlist.h> #include <kaction.h> #include <kglobalsettings.h> @@ -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<KComboBox> m_combo; + TQGuardedPtr<KComboBox> 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<QLabel> m_label; + TQGuardedPtr<TQLabel> 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<QPushButton> m_button; + TQGuardedPtr<TQPushButton> m_button; }; #endif |