diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:48:06 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:48:06 +0000 |
commit | 47c8a359c5276062c4bc17f0e82410f29081b502 (patch) | |
tree | 2d54a5f60a5b74067632f9ef6df58c2bc38155e6 /ksirc/ahistlineedit.h | |
parent | 6f82532777a35e0e60bbd2b290b2e93e646f349b (diff) | |
download | tdenetwork-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 'ksirc/ahistlineedit.h')
-rw-r--r-- | ksirc/ahistlineedit.h | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/ksirc/ahistlineedit.h b/ksirc/ahistlineedit.h index a273791f..750d79a0 100644 --- a/ksirc/ahistlineedit.h +++ b/ksirc/ahistlineedit.h @@ -1,27 +1,27 @@ #ifndef AHISTLINEEDIT_H #define AHISTLINEEDIT_H -#include <qtextedit.h> -#include <qstringlist.h> -#include <qsize.h> +#include <tqtextedit.h> +#include <tqstringlist.h> +#include <tqsize.h> class aHistLineEdit : public QTextEdit { Q_OBJECT public: - aHistLineEdit(QWidget *parent = 0, const char *name = 0); + aHistLineEdit(TQWidget *parent = 0, const char *name = 0); int cursorPosition () const; void setCursorPosition(int); - QString text() const; + TQString text() const; signals: // Don't use returnPressed from the textEdit void gotReturnPressed(); void gotFocus(); void lostFocus(); - void pasteText(const QString&); + void pasteText(const TQString&); void notTab(); void resized(); @@ -30,22 +30,22 @@ public slots: virtual void slotMaybeResize(); protected: - bool processKeyEvent( QKeyEvent * ); - virtual void keyPressEvent ( QKeyEvent * ); - virtual void focusInEvent ( QFocusEvent * ); - virtual void focusOutEvent ( QFocusEvent * ); -// virtual void mousePressEvent ( QMouseEvent * ); + bool processKeyEvent( TQKeyEvent * ); + virtual void keyPressEvent ( TQKeyEvent * ); + virtual void focusInEvent ( TQFocusEvent * ); + virtual void focusOutEvent ( TQFocusEvent * ); +// virtual void mousePressEvent ( TQMouseEvent * ); - virtual bool eventFilter( QObject *o, QEvent *e ); + virtual bool eventFilter( TQObject *o, TQEvent *e ); - virtual void paintEvent ( QPaintEvent * ); + virtual void paintEvent ( TQPaintEvent * ); private: void doEnterKey(); - QStringList hist; - QStringList::Iterator current; + TQStringList hist; + TQStringList::Iterator current; void ColourPickerPopUp(); int m_height; |