diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-01 15:11:21 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-01 15:11:21 -0600 |
commit | f537c21b68e08f649b1b297bce8f3904603137e0 (patch) | |
tree | fb33065387509dea898c90022ddec9c3f8ede86d /kdialog/klistboxdialog.cpp | |
parent | dc5f267664506a312203c26bfe9001a448b0bb0f (diff) | |
download | tdebase-f537c21b68e08f649b1b297bce8f3904603137e0.tar.gz tdebase-f537c21b68e08f649b1b297bce8f3904603137e0.zip |
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'kdialog/klistboxdialog.cpp')
-rw-r--r-- | kdialog/klistboxdialog.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kdialog/klistboxdialog.cpp b/kdialog/klistboxdialog.cpp index d7abfb694..65be6c71e 100644 --- a/kdialog/klistboxdialog.cpp +++ b/kdialog/klistboxdialog.cpp @@ -26,7 +26,7 @@ #include "klocale.h" -KListBoxDialog::KListBoxDialog(TQString text, TQWidget *parent) +TDEListBoxDialog::TDEListBoxDialog(TQString text, TQWidget *parent) : KDialogBase( parent, 0, true, TQString::null, Ok|Cancel, Ok, true ) { TQVBox *page = makeVBoxMainWidget(); @@ -38,13 +38,13 @@ KListBoxDialog::KListBoxDialog(TQString text, TQWidget *parent) table->setFocus(); } -void KListBoxDialog::insertItem(const TQString& item) +void TDEListBoxDialog::insertItem(const TQString& item) { table->insertItem(item); table->setCurrentItem(0); } -void KListBoxDialog::setCurrentItem(const TQString& item) +void TDEListBoxDialog::setCurrentItem(const TQString& item) { for ( int i=0; i < (int) table->count(); i++ ) { if ( table->text(i) == item ) { @@ -54,7 +54,7 @@ void KListBoxDialog::setCurrentItem(const TQString& item) } } -int KListBoxDialog::currentItem() +int TDEListBoxDialog::currentItem() { return table->currentItem(); } |