From f537c21b68e08f649b1b297bce8f3904603137e0 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 1 Feb 2013 15:11:21 -0600 Subject: Rename a number of classes to enhance compatibility with KDE4 --- kdialog/klistboxdialog.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'kdialog/klistboxdialog.cpp') 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(); } -- cgit v1.2.1