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.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/kstars/kstars/finddialog.cpp b/kstars/kstars/finddialog.cpp
index f73c3b08..25f0683c 100644
--- a/kstars/kstars/finddialog.cpp
+++ b/kstars/kstars/finddialog.cpp
@@ -91,16 +91,16 @@ FindDialog::FindDialog( TQWidget* parent ) :
Filter = 0;
//Connect signals to slots
-// connect( this, TQT_SIGNAL( okClicked() ), this, TQT_SLOT( accept() ) ) ;
- connect( this, TQT_SIGNAL( cancelClicked() ), this, TQT_SLOT( reject() ) );
- connect( SearchBox, TQT_SIGNAL( textChanged( const TQString & ) ), TQT_SLOT( filter() ) );
- connect( SearchBox, TQT_SIGNAL( returnPressed() ), TQT_SLOT( slotOk() ) );
- connect( filterType, TQT_SIGNAL( activated( int ) ), this, TQT_SLOT( setFilter( int ) ) );
- connect( SearchList, TQT_SIGNAL (selectionChanged (TQListBoxItem *)), TQT_SLOT (updateSelection (TQListBoxItem *)));
- connect( SearchList, TQT_SIGNAL( doubleClicked ( TQListBoxItem * ) ), TQT_SLOT( slotOk() ) );
+// connect( this, TQ_SIGNAL( okClicked() ), this, TQ_SLOT( accept() ) ) ;
+ connect( this, TQ_SIGNAL( cancelClicked() ), this, TQ_SLOT( reject() ) );
+ connect( SearchBox, TQ_SIGNAL( textChanged( const TQString & ) ), TQ_SLOT( filter() ) );
+ connect( SearchBox, TQ_SIGNAL( returnPressed() ), TQ_SLOT( slotOk() ) );
+ connect( filterType, TQ_SIGNAL( activated( int ) ), this, TQ_SLOT( setFilter( int ) ) );
+ connect( SearchList, TQ_SIGNAL (selectionChanged (TQListBoxItem *)), TQ_SLOT (updateSelection (TQListBoxItem *)));
+ connect( SearchList, TQ_SIGNAL( doubleClicked ( TQListBoxItem * ) ), TQ_SLOT( slotOk() ) );
// first create and paint dialog and then load list
- TQTimer::singleShot(0, this, TQT_SLOT( init() ));
+ TQTimer::singleShot(0, this, TQ_SLOT( init() ));
}
FindDialog::~FindDialog() {
@@ -182,14 +182,14 @@ void FindDialog::setFilter( int f ) {
Filter = f2;
if ( Filter == 0 ) { // any type will shown
// delete old connections and create new connections
- disconnect( SearchBox, TQT_SIGNAL( textChanged( const TQString & ) ), this, TQT_SLOT( filterByType() ) );
- connect( SearchBox, TQT_SIGNAL( textChanged( const TQString & ) ), TQT_SLOT( filter() ) );
+ disconnect( SearchBox, TQ_SIGNAL( textChanged( const TQString & ) ), this, TQ_SLOT( filterByType() ) );
+ connect( SearchBox, TQ_SIGNAL( textChanged( const TQString & ) ), TQ_SLOT( filter() ) );
filter();
}
else {
// delete old connections and create new connections
- disconnect( SearchBox, TQT_SIGNAL( textChanged( const TQString & ) ), this, TQT_SLOT( filter() ) );
- connect( SearchBox, TQT_SIGNAL( textChanged( const TQString & ) ), TQT_SLOT( filterByType() ) );
+ disconnect( SearchBox, TQ_SIGNAL( textChanged( const TQString & ) ), this, TQ_SLOT( filter() ) );
+ connect( SearchBox, TQ_SIGNAL( textChanged( const TQString & ) ), TQ_SLOT( filterByType() ) );
filterByType();
}
}