diff options
Diffstat (limited to 'tdeui/kcombobox.cpp')
-rw-r--r-- | tdeui/kcombobox.cpp | 52 |
1 files changed, 26 insertions, 26 deletions
diff --git a/tdeui/kcombobox.cpp b/tdeui/kcombobox.cpp index 466015adc..bcde35467 100644 --- a/tdeui/kcombobox.cpp +++ b/tdeui/kcombobox.cpp @@ -266,7 +266,7 @@ void KComboBox::setLineEdit( TQLineEdit *edit ) // Connect the returnPressed signal for both Q[K]LineEdits' if (edit) - connect( edit, TQT_SIGNAL( returnPressed() ), TQT_SIGNAL( returnPressed() )); + connect( edit, TQ_SIGNAL( returnPressed() ), TQ_SIGNAL( returnPressed() )); if ( d->klineEdit ) { @@ -274,32 +274,32 @@ void KComboBox::setLineEdit( TQLineEdit *edit ) // lineedit without us noticing. And TDECompletionBase::delegate would // be a dangling pointer then, so prevent that. Note: only do this // when it is a KLineEdit! - connect( edit, TQT_SIGNAL( destroyed() ), TQT_SLOT( lineEditDeleted() )); + connect( edit, TQ_SIGNAL( destroyed() ), TQ_SLOT( lineEditDeleted() )); - connect( d->klineEdit, TQT_SIGNAL( returnPressed( const TQString& )), - TQT_SIGNAL( returnPressed( const TQString& ) )); + connect( d->klineEdit, TQ_SIGNAL( returnPressed( const TQString& )), + TQ_SIGNAL( returnPressed( const TQString& ) )); - connect( d->klineEdit, TQT_SIGNAL( completion( const TQString& )), - TQT_SIGNAL( completion( const TQString& )) ); + connect( d->klineEdit, TQ_SIGNAL( completion( const TQString& )), + TQ_SIGNAL( completion( const TQString& )) ); - connect( d->klineEdit, TQT_SIGNAL( substringCompletion( const TQString& )), - TQT_SIGNAL( substringCompletion( const TQString& )) ); + connect( d->klineEdit, TQ_SIGNAL( substringCompletion( const TQString& )), + TQ_SIGNAL( substringCompletion( const TQString& )) ); connect( d->klineEdit, - TQT_SIGNAL( textRotation( TDECompletionBase::KeyBindingType )), - TQT_SIGNAL( textRotation( TDECompletionBase::KeyBindingType )) ); + TQ_SIGNAL( textRotation( TDECompletionBase::KeyBindingType )), + TQ_SIGNAL( textRotation( TDECompletionBase::KeyBindingType )) ); connect( d->klineEdit, - TQT_SIGNAL( completionModeChanged( TDEGlobalSettings::Completion )), - TQT_SIGNAL( completionModeChanged( TDEGlobalSettings::Completion))); + TQ_SIGNAL( completionModeChanged( TDEGlobalSettings::Completion )), + TQ_SIGNAL( completionModeChanged( TDEGlobalSettings::Completion))); connect( d->klineEdit, - TQT_SIGNAL( aboutToShowContextMenu( TQPopupMenu * )), - TQT_SIGNAL( aboutToShowContextMenu( TQPopupMenu * )) ); + TQ_SIGNAL( aboutToShowContextMenu( TQPopupMenu * )), + TQ_SIGNAL( aboutToShowContextMenu( TQPopupMenu * )) ); connect( d->klineEdit, - TQT_SIGNAL( completionBoxActivated( const TQString& )), - TQT_SIGNAL( activated( const TQString& )) ); + TQ_SIGNAL( completionBoxActivated( const TQString& )), + TQ_SIGNAL( activated( const TQString& )) ); } } @@ -390,10 +390,10 @@ void KHistoryCombo::init( bool useCompletion ) if ( histControl == "ignoredups" || histControl == "ignoreboth" ) setDuplicatesEnabled( false ); - connect( this, TQT_SIGNAL(aboutToShowContextMenu(TQPopupMenu*)), - TQT_SLOT(addContextMenuItems(TQPopupMenu*)) ); - connect( this, TQT_SIGNAL( activated(int) ), TQT_SLOT( slotReset() )); - connect( this, TQT_SIGNAL( returnPressed(const TQString&) ), TQT_SLOT(slotReset())); + connect( this, TQ_SIGNAL(aboutToShowContextMenu(TQPopupMenu*)), + TQ_SLOT(addContextMenuItems(TQPopupMenu*)) ); + connect( this, TQ_SIGNAL( activated(int) ), TQ_SLOT( slotReset() )); + connect( this, TQ_SIGNAL( returnPressed(const TQString&) ), TQ_SLOT(slotReset())); } KHistoryCombo::~KHistoryCombo() @@ -455,10 +455,10 @@ void KHistoryCombo::addContextMenuItems( TQPopupMenu* menu ) { menu->insertSeparator(); if (d->bHistoryEditorEnabled) { - int idedit = menu->insertItem( SmallIconSet("edit"), i18n("&Edit History..."), this, TQT_SLOT( slotEdit()) ); + int idedit = menu->insertItem( SmallIconSet("edit"), i18n("&Edit History..."), this, TQ_SLOT( slotEdit()) ); menu->setItemEnabled(idedit, count()); } - int id = menu->insertItem( SmallIconSet("history_clear"), i18n("Clear &History"), this, TQT_SLOT( slotClear())); + int id = menu->insertItem( SmallIconSet("history_clear"), i18n("Clear &History"), this, TQ_SLOT( slotClear())); if (!count()) menu->setItemEnabled(id, false); } @@ -697,7 +697,7 @@ void KHistoryCombo::slotClear() void KHistoryCombo::slotEdit() { KHistoryComboEditor dlg( historyItems(), this ); - connect( &dlg, TQT_SIGNAL( removeFromHistory(const TQString&) ), TQT_SLOT( slotRemoveFromHistory(const TQString&)) ); + connect( &dlg, TQ_SIGNAL( removeFromHistory(const TQString&) ), TQ_SLOT( slotRemoveFromHistory(const TQString&)) ); dlg.exec(); } @@ -747,7 +747,7 @@ KHistoryComboEditor::KHistoryComboEditor( const TQStringList& entries, TQWidget TQLabel* slbl = new TQLabel(i18n("&Search:"), searchbox); TDEListViewSearchLine* listViewSearch = new TDEListViewSearchLine(searchbox); slbl->setBuddy(listViewSearch); - connect(clearSearch, TQT_SIGNAL(pressed()), listViewSearch, TQT_SLOT(clear())); + connect(clearSearch, TQ_SIGNAL(pressed()), listViewSearch, TQ_SLOT(clear())); // Add ListView m_pListView = new TDEListView( box ); @@ -766,8 +766,8 @@ KHistoryComboEditor::KHistoryComboEditor( const TQStringList& entries, TQWidget m_pListView->setMinimumSize( m_pListView->sizeHint() ); - connect( m_pListView, TQT_SIGNAL( selectionChanged( TQListViewItem * ) ), - this, TQT_SLOT( slotSelectionChanged( TQListViewItem * ) ) ); + connect( m_pListView, TQ_SIGNAL( selectionChanged( TQListViewItem * ) ), + this, TQ_SLOT( slotSelectionChanged( TQListViewItem * ) ) ); enableButton( KDialogBase::User1, false ); |