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 /kdebugdialog | |
parent | dc5f267664506a312203c26bfe9001a448b0bb0f (diff) | |
download | tdebase-f537c21b68e08f649b1b297bce8f3904603137e0.tar.gz tdebase-f537c21b68e08f649b1b297bce8f3904603137e0.zip |
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'kdebugdialog')
-rw-r--r-- | kdebugdialog/klistdebugdialog.cpp | 14 | ||||
-rw-r--r-- | kdebugdialog/klistdebugdialog.h | 6 | ||||
-rw-r--r-- | kdebugdialog/main.cpp | 2 |
3 files changed, 11 insertions, 11 deletions
diff --git a/kdebugdialog/klistdebugdialog.cpp b/kdebugdialog/klistdebugdialog.cpp index 376f8d7d9..68d02fd7b 100644 --- a/kdebugdialog/klistdebugdialog.cpp +++ b/kdebugdialog/klistdebugdialog.cpp @@ -30,7 +30,7 @@ #include <klineedit.h> #include <dcopclient.h> -KListDebugDialog::KListDebugDialog( TQStringList areaList, TQWidget *parent, const char *name, bool modal ) +TDEListDebugDialog::TDEListDebugDialog( TQStringList areaList, TQWidget *parent, const char *name, bool modal ) : KAbstractDebugDialog( parent, name, modal ), m_areaList( areaList ) { @@ -65,7 +65,7 @@ KListDebugDialog::KListDebugDialog( TQStringList areaList, TQWidget *parent, con resize( 350, 400 ); } -void KListDebugDialog::generateCheckBoxes( const TQString& filter ) +void TDEListDebugDialog::generateCheckBoxes( const TQString& filter ) { TQPtrListIterator<TQCheckBox> cb_it ( boxes ); for( ; cb_it.current() ; ++cb_it ) @@ -102,7 +102,7 @@ void KListDebugDialog::generateCheckBoxes( const TQString& filter ) load(); } -void KListDebugDialog::selectAll() +void TDEListDebugDialog::selectAll() { TQPtrListIterator<TQCheckBox> it ( boxes ); for ( ; it.current() ; ++it ) { @@ -111,7 +111,7 @@ void KListDebugDialog::selectAll() } } -void KListDebugDialog::deSelectAll() +void TDEListDebugDialog::deSelectAll() { TQPtrListIterator<TQCheckBox> it ( boxes ); for ( ; it.current() ; ++it ) { @@ -120,7 +120,7 @@ void KListDebugDialog::deSelectAll() } } -void KListDebugDialog::load() +void TDEListDebugDialog::load() { TQPtrListIterator<TQCheckBox> it ( boxes ); for ( ; it.current() ; ++it ) @@ -152,7 +152,7 @@ void KListDebugDialog::load() } } -void KListDebugDialog::save() +void TDEListDebugDialog::save() { TQPtrListIterator<TQCheckBox> it ( boxes ); for ( ; it.current() ; ++it ) @@ -176,7 +176,7 @@ void KListDebugDialog::save() m_changes.clear(); } -void KListDebugDialog::activateArea( TQCString area, bool activate ) +void TDEListDebugDialog::activateArea( TQCString area, bool activate ) { TQPtrListIterator<TQCheckBox> it ( boxes ); for ( ; it.current() ; ++it ) diff --git a/kdebugdialog/klistdebugdialog.h b/kdebugdialog/klistdebugdialog.h index 46bc72b18..07fa0bc91 100644 --- a/kdebugdialog/klistdebugdialog.h +++ b/kdebugdialog/klistdebugdialog.h @@ -35,13 +35,13 @@ class KLineEdit; * * @author David Faure <faure@kde.org> */ -class KListDebugDialog : public KAbstractDebugDialog +class TDEListDebugDialog : public KAbstractDebugDialog { Q_OBJECT public: - KListDebugDialog( TQStringList areaList, TQWidget *parent=0, const char *name=0, bool modal=true ); - virtual ~KListDebugDialog() {} + TDEListDebugDialog( TQStringList areaList, TQWidget *parent=0, const char *name=0, bool modal=true ); + virtual ~TDEListDebugDialog() {} void activateArea( TQCString area, bool activate ); diff --git a/kdebugdialog/main.cpp b/kdebugdialog/main.cpp index 5f36b77cc..e1635ef26 100644 --- a/kdebugdialog/main.cpp +++ b/kdebugdialog/main.cpp @@ -94,7 +94,7 @@ int main(int argc, char ** argv) dialog = new KDebugDialog(areaList, 0L); else { - KListDebugDialog * listdialog = new KListDebugDialog(areaList, 0L); + TDEListDebugDialog * listdialog = new TDEListDebugDialog(areaList, 0L); if (args->isSet("on")) { listdialog->activateArea( args->getOption("on"), true ); |