summaryrefslogtreecommitdiffstats
path: root/kstars/kstars/finddialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kstars/kstars/finddialog.cpp')
-rw-r--r--kstars/kstars/finddialog.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kstars/kstars/finddialog.cpp b/kstars/kstars/finddialog.cpp
index c1aa5321..cd60df21 100644
--- a/kstars/kstars/finddialog.cpp
+++ b/kstars/kstars/finddialog.cpp
@@ -15,7 +15,7 @@
* *
***************************************************************************/
-#include <tqlayout.h>
+#include <layout.h>
#include <tqlineedit.h>
#include <tqlabel.h>
#include <tqcombobox.h>
@@ -48,7 +48,7 @@ FindDialog::FindDialog( TQWidget* parent ) :
SearchBox = new TQLineEdit( page, "SearchBox" );
filterTypeLabel = new TQLabel( page, "filterTypeLabel" );
- filterTypeLabel->tqsetAlignment( AlignRight );
+ filterTypeLabel->setAlignment( AlignRight );
filterTypeLabel->setText( i18n( "Filter by type: " ) );
filterType = new TQComboBox( page, "filterType" );
@@ -73,7 +73,7 @@ FindDialog::FindDialog( TQWidget* parent ) :
SearchList->setVScrollBarMode( TQListBox::AlwaysOn );
SearchList->setHScrollBarMode( TQListBox::AlwaysOff );
-//Pack Widgets into tqlayout manager
+//Pack Widgets into layout manager
hlay->addWidget( filterTypeLabel, 0, 0 );
hlay->addWidget( filterType, 0, 0 );
@@ -198,7 +198,7 @@ void FindDialog::setFilter( int f ) {
void FindDialog::slotOk() {
//If no valid object selected, show a sorry-box. Otherwise, emit accept()
if ( currentItem() == 0 ) {
- TQString message = i18n( "No object named %1 found." ).tqarg( SearchBox->text() );
+ TQString message = i18n( "No object named %1 found." ).arg( SearchBox->text() );
KMessageBox::sorry( 0, message, i18n( "Bad object name" ) );
} else {
accept();