From deac2ca49faed824fe83066080714eb6d653615b Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 1 Feb 2013 15:13:01 -0600 Subject: Rename a number of classes to enhance compatibility with KDE4 --- tderesources/configpage.cpp | 2 +- tderesources/configpage.h | 4 ++-- tderesources/selectdialog.cpp | 2 +- tderesources/selectdialog.h | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) (limited to 'tderesources') diff --git a/tderesources/configpage.cpp b/tderesources/configpage.cpp index 0660710db..3465562fb 100644 --- a/tderesources/configpage.cpp +++ b/tderesources/configpage.cpp @@ -113,7 +113,7 @@ ConfigPage::ConfigPage( TQWidget *parent, const char *name ) mFamilyCombo = new KComboBox( false, groupBox ); groupBoxLayout->addMultiCellWidget( mFamilyCombo, 0, 0, 0, 1 ); - mListView = new KListView( groupBox ); + mListView = new TDEListView( groupBox ); mListView->setAllColumnsShowFocus( true ); mListView->setFullWidth( true ); mListView->addColumn( i18n( "Name" ) ); diff --git a/tderesources/configpage.h b/tderesources/configpage.h index 5f3819c0f..789735d5e 100644 --- a/tderesources/configpage.h +++ b/tderesources/configpage.h @@ -30,7 +30,7 @@ #include "manager.h" class KComboBox; -class KListView; +class TDEListView; class TQListViewItem; class TQPushButton; @@ -96,7 +96,7 @@ class TDERESOURCES_EXPORT ConfigPage : public TQWidget, public ManagerObserver > mInfoMap; KComboBox* mFamilyCombo; - KListView* mListView; + TDEListView* mListView; TQPushButton* mAddButton; TQPushButton* mRemoveButton; TQPushButton* mEditButton; diff --git a/tderesources/selectdialog.cpp b/tderesources/selectdialog.cpp index e505140a6..c9355a86c 100644 --- a/tderesources/selectdialog.cpp +++ b/tderesources/selectdialog.cpp @@ -48,7 +48,7 @@ SelectDialog::SelectDialog( TQPtrList list, TQWidget *parent, TQGroupBox *groupBox = new TQGroupBox( 2, Qt::Horizontal, this ); groupBox->setTitle( i18n( "Resources" ) ); - mResourceId = new KListBox( groupBox ); + mResourceId = new TDEListBox( groupBox ); mainLayout->addWidget( groupBox ); diff --git a/tderesources/selectdialog.h b/tderesources/selectdialog.h index e982b7282..0e8ca5153 100644 --- a/tderesources/selectdialog.h +++ b/tderesources/selectdialog.h @@ -30,7 +30,7 @@ #include -class KListBox; +class TDEListBox; namespace KRES { @@ -77,7 +77,7 @@ class TDERESOURCES_EXPORT SelectDialog : KDialog static Resource *getResource( TQPtrList list, TQWidget *parent = 0 ); private: - KListBox *mResourceId; + TDEListBox *mResourceId; TQMap mResourceMap; }; -- cgit v1.2.1