diff options
Diffstat (limited to 'kommander/widgets/lineedit.h')
-rw-r--r-- | kommander/widgets/lineedit.h | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/kommander/widgets/lineedit.h b/kommander/widgets/lineedit.h index 8b4d403a..05fb79c4 100644 --- a/kommander/widgets/lineedit.h +++ b/kommander/widgets/lineedit.h @@ -21,9 +21,9 @@ #include <klineedit.h> /* QT INCLUDES */ -#include <qtextedit.h> -#include <qstringlist.h> -#include <qstring.h> +#include <tqtextedit.h> +#include <tqstringlist.h> +#include <tqstring.h> /* OTHER INCLUDES */ #include <kommanderwidget.h> @@ -35,37 +35,37 @@ class KOMMANDER_EXPORT LineEdit : public KLineEdit, public KommanderWidget { Q_OBJECT - Q_PROPERTY(QString populationText READ populationText WRITE setPopulationText DESIGNABLE false) - Q_PROPERTY(QStringList associations READ associatedText WRITE setAssociatedText DESIGNABLE false) + Q_PROPERTY(TQString populationText READ populationText WRITE setPopulationText DESIGNABLE false) + Q_PROPERTY(TQStringList associations READ associatedText WRITE setAssociatedText DESIGNABLE false) Q_PROPERTY(bool KommanderWidget READ isKommanderWidget) public: - LineEdit(QWidget *, const char *); + LineEdit(TQWidget *, const char *); virtual ~LineEdit(); virtual bool isKommanderWidget() const; - virtual void setAssociatedText(const QStringList&); - virtual QStringList associatedText() const; - virtual QString currentState() const; - virtual QString populationText() const; - virtual void setPopulationText(const QString&); + virtual void setAssociatedText(const TQStringList&); + virtual TQStringList associatedText() const; + virtual TQString currentState() const; + virtual TQString populationText() const; + virtual void setPopulationText(const TQString&); - virtual QString handleDCOP(int function, const QStringList& args); + virtual TQString handleDCOP(int function, const TQStringList& args); virtual bool isFunctionSupported(int function); public slots: - virtual void setWidgetText(const QString &); - virtual void setSelectedWidgetText(const QString &a_text); + virtual void setWidgetText(const TQString &); + virtual void setSelectedWidgetText(const TQString &a_text); virtual void populate(); signals: void widgetOpened(); - void widgetTextChanged(const QString &); + void widgetTextChanged(const TQString &); void contextMenuRequested(int xpos, int ypos); void gotFocus(); void lostFocus(); protected: - virtual void showEvent( QShowEvent *e ); - void contextMenuEvent( QContextMenuEvent * e ); - void focusInEvent( QFocusEvent* e); - void focusOutEvent( QFocusEvent* e); + virtual void showEvent( TQShowEvent *e ); + void contextMenuEvent( TQContextMenuEvent * e ); + void focusInEvent( TQFocusEvent* e); + void focusOutEvent( TQFocusEvent* e); private: }; |