summaryrefslogtreecommitdiffstats
path: root/klinkstatus/src/ui/klshistorycombo.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'klinkstatus/src/ui/klshistorycombo.cpp')
-rw-r--r--klinkstatus/src/ui/klshistorycombo.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/klinkstatus/src/ui/klshistorycombo.cpp b/klinkstatus/src/ui/klshistorycombo.cpp
index 52d884c8..21de0de3 100644
--- a/klinkstatus/src/ui/klshistorycombo.cpp
+++ b/klinkstatus/src/ui/klshistorycombo.cpp
@@ -32,8 +32,8 @@ KLSHistoryCombo::KLSHistoryCombo(TQWidget *parent, const char *name)
setDuplicatesEnabled(false);
setAutoCompletion(false);
- connect(this, TQT_SIGNAL(activated(const TQString& )),
- this, TQT_SLOT(addToHistory(const TQString& )));
+ connect(this, TQ_SIGNAL(activated(const TQString& )),
+ this, TQ_SLOT(addToHistory(const TQString& )));
}
KLSHistoryCombo::~KLSHistoryCombo()
@@ -79,12 +79,12 @@ bool KLSHistoryCombo::eventFilter( TQObject *o, TQEvent *ev )
// Handle Ctrl+Del/Backspace etc better than the TQt widget, which always
// jumps to the next whitespace.
TQLineEdit *edit = lineEdit();
- if ( TQT_BASE_OBJECT(o) == TQT_BASE_OBJECT(edit) )
+ if ( o == edit )
{
int type = ev->type();
if ( type == TQEvent::KeyPress )
{
- TQKeyEvent *e = TQT_TQKEYEVENT( ev );
+ TQKeyEvent *e = static_cast<TQKeyEvent*>( ev );
if ( e->key() == Key_Return || e->key() == Key_Enter )
{