diff options
Diffstat (limited to 'languages/cpp/pcsimporter/kdelibsimporter/settingsdialog.cpp')
-rw-r--r-- | languages/cpp/pcsimporter/kdelibsimporter/settingsdialog.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/languages/cpp/pcsimporter/kdelibsimporter/settingsdialog.cpp b/languages/cpp/pcsimporter/kdelibsimporter/settingsdialog.cpp index a0763380..612ff79a 100644 --- a/languages/cpp/pcsimporter/kdelibsimporter/settingsdialog.cpp +++ b/languages/cpp/pcsimporter/kdelibsimporter/settingsdialog.cpp @@ -29,17 +29,17 @@ #include "settingsdialog.h" -TQListBoxItem* QListBox_selectedItem( TQListBox* cpQListBox ) +TQListBoxItem* TQListBox_selectedItem( TQListBox* cpTQListBox ) { - if ( cpQListBox->selectionMode() != TQListBox::Single ) + if ( cpTQListBox->selectionMode() != TQListBox::Single ) return 0; - if ( cpQListBox->isSelected( cpQListBox->currentItem() ) ) - return cpQListBox->item( cpQListBox->currentItem() ); + if ( cpTQListBox->isSelected( cpTQListBox->currentItem() ) ) + return cpTQListBox->item( cpTQListBox->currentItem() ); return 0; } -SettingsDialog::SettingsDialog( TQWidget* parent, const char* name, WFlags fl ) -: SettingsDialogBase( parent, name, fl ) +SettingsDialog::SettingsDialog( TQWidget* tqparent, const char* name, WFlags fl ) +: SettingsDialogBase( tqparent, name, fl ) { KApplication::kApplication()->dirs()->addResourceType("include","include"); TQStringList kdedirs=KApplication::kApplication()->dirs()->findDirs("include",""); @@ -47,7 +47,7 @@ SettingsDialog::SettingsDialog( TQWidget* parent, const char* name, WFlags fl ) { TQString kdedir = *it; if ( !kdedir.isEmpty() && isValidKDELibsDir( kdedir ) ) - if ( !kdeListBox->findItem( kdedir, ExactMatch ) ) + if ( !kdeListBox->tqfindItem( kdedir, ExactMatch ) ) kdeListBox->insertItem( kdedir ); } @@ -81,7 +81,7 @@ void SettingsDialog::addUrlButton_clicked() if ( isValidKDELibsDir( kdeUrl->url() ) ) { kdeListBox->insertItem( kdeUrl->url() ); - if ( TQListBoxItem * item = kdeListBox->findItem( kdeUrl->url(), ExactMatch ) ) + if ( TQListBoxItem * item = kdeListBox->tqfindItem( kdeUrl->url(), ExactMatch ) ) { kdeListBox->setSelected( item, true ); } |