summaryrefslogtreecommitdiffstats
path: root/ksirc/ahistlineedit.h
diff options
context:
space:
mode:
Diffstat (limited to 'ksirc/ahistlineedit.h')
-rw-r--r--ksirc/ahistlineedit.h30
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;