summaryrefslogtreecommitdiffstats
path: root/tderesources
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 15:13:01 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 15:13:01 -0600
commitdeac2ca49faed824fe83066080714eb6d653615b (patch)
tree8b5bf97c5acaaf5285985b87fa76dbea0f35e4fa /tderesources
parent0c9d97065a3d6ceb12d687555a1a33d90db96238 (diff)
downloadtdelibs-deac2ca49faed824fe83066080714eb6d653615b.tar.gz
tdelibs-deac2ca49faed824fe83066080714eb6d653615b.zip
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'tderesources')
-rw-r--r--tderesources/configpage.cpp2
-rw-r--r--tderesources/configpage.h4
-rw-r--r--tderesources/selectdialog.cpp2
-rw-r--r--tderesources/selectdialog.h4
4 files changed, 6 insertions, 6 deletions
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<R
TQValueList<TDESharedPtr<ResourcePageInfo> > 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<Resource> 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 <kdialog.h>
-class KListBox;
+class TDEListBox;
namespace KRES {
@@ -77,7 +77,7 @@ class TDERESOURCES_EXPORT SelectDialog : KDialog
static Resource *getResource( TQPtrList<Resource> list, TQWidget *parent = 0 );
private:
- KListBox *mResourceId;
+ TDEListBox *mResourceId;
TQMap<int, Resource*> mResourceMap;
};