summaryrefslogtreecommitdiffstats
path: root/ksirc/KSOpenkSirc/enter_combo.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:48:06 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:48:06 +0000
commit47c8a359c5276062c4bc17f0e82410f29081b502 (patch)
tree2d54a5f60a5b74067632f9ef6df58c2bc38155e6 /ksirc/KSOpenkSirc/enter_combo.h
parent6f82532777a35e0e60bbd2b290b2e93e646f349b (diff)
downloadtdenetwork-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/KSOpenkSirc/enter_combo.h')
-rw-r--r--ksirc/KSOpenkSirc/enter_combo.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/ksirc/KSOpenkSirc/enter_combo.h b/ksirc/KSOpenkSirc/enter_combo.h
index f0752a2d..7af88d8f 100644
--- a/ksirc/KSOpenkSirc/enter_combo.h
+++ b/ksirc/KSOpenkSirc/enter_combo.h
@@ -1,29 +1,29 @@
#ifndef ENTER_COMBO_H
#define ENTER_COMBO_H
-#include <qcombobox.h>
-#include <qevent.h>
-#include <qkeycode.h>
-#include <qlineedit.h>
+#include <tqcombobox.h>
+#include <tqevent.h>
+#include <tqkeycode.h>
+#include <tqlineedit.h>
#undef KeyPress // X headers...
-class EnterCombo : public QComboBox {
+class EnterCombo : public TQComboBox {
Q_OBJECT
public:
- EnterCombo ( QWidget * parent=0, const char * name=0 )
- : QComboBox(TRUE, parent, name)
+ EnterCombo ( TQWidget * parent=0, const char * name=0 )
+ : TQComboBox(TRUE, parent, name)
{
}
- EnterCombo ( bool rw, QWidget * parent=0, const char * name=0 )
- : QComboBox(rw, parent, name)
+ EnterCombo ( bool rw, TQWidget * parent=0, const char * name=0 )
+ : TQComboBox(rw, parent, name)
{
- QKeyEvent ke(QEvent::KeyPress, SHIFT|Key_Home, 0, 0);
+ TQKeyEvent ke(TQEvent::KeyPress, SHIFT|Key_Home, 0, 0);
keyPressEvent(&ke);
}
virtual void show(){
- QComboBox::show();
+ TQComboBox::show();
lineEdit()->selectAll();
}
@@ -31,7 +31,7 @@ signals:
void enterPressed();
protected:
- virtual void keyPressEvent( QKeyEvent *e );
+ virtual void keyPressEvent( TQKeyEvent *e );
};
#endif