summaryrefslogtreecommitdiffstats
path: root/juk/searchwidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'juk/searchwidget.cpp')
-rw-r--r--juk/searchwidget.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/juk/searchwidget.cpp b/juk/searchwidget.cpp
index a9b8d868..a0a110fa 100644
--- a/juk/searchwidget.cpp
+++ b/juk/searchwidget.cpp
@@ -1,6 +1,6 @@
/***************************************************************************
begin : Sun Mar 6 2003
- copyright : (C) 2003 by Richard Lärkäng
+ copyright : (C) 2003 by Richard L�rk�ng
email : nouseforaname@home.se
copyright : (C) 2003 - 2004 by Scott Wheeler
@@ -39,8 +39,8 @@ using namespace ActionCollection;
// SearchLine public methods
////////////////////////////////////////////////////////////////////////////////
-SearchLine::SearchLine(TQWidget *parent, bool simple, const char *name) :
- TQHBox(parent, name),
+SearchLine::SearchLine(TQWidget *tqparent, bool simple, const char *name) :
+ TQHBox(tqparent, name),
m_simple(simple),
m_searchFieldsBox(0)
{
@@ -136,11 +136,11 @@ void SearchLine::setFocus()
bool SearchLine::eventFilter(TQObject *watched, TQEvent *e)
{
- if(watched != m_lineEdit || e->type() != TQEvent::KeyPress)
+ if(TQT_BASE_OBJECT(watched) != TQT_BASE_OBJECT(m_lineEdit) || e->type() != TQEvent::KeyPress)
return TQHBox::eventFilter(watched, e);
- TQKeyEvent *key = static_cast<TQKeyEvent *>(e);
- if(key->key() == Qt::Key_Down)
+ TQKeyEvent *key = TQT_TQKEYEVENT(e);
+ if(key->key() == TQt::Key_Down)
emit signalDownPressed();
return TQHBox::eventFilter(watched, e);
@@ -163,7 +163,7 @@ void SearchLine::updateColumns()
TQStringList columnHeaders;
- columnHeaders.append(TQString("<%1>").arg(i18n("All Visible")));
+ columnHeaders.append(TQString("<%1>").tqarg(i18n("All Visible")));
Playlist *playlist = CollectionList::instance();
@@ -188,7 +188,7 @@ void SearchLine::updateColumns()
// SearchWidget public methods
////////////////////////////////////////////////////////////////////////////////
-SearchWidget::SearchWidget(TQWidget *parent, const char *name) : KToolBar(parent, name)
+SearchWidget::SearchWidget(TQWidget *tqparent, const char *name) : KToolBar(tqparent, name)
{
setupLayout();
updateColumns();