summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 14:59:52 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 14:59:52 -0600
commitac07ea25331f514dd2583ecc6d0051892ecac620 (patch)
treeb8ad8fafb22ce0f26565d77c8ca33ade50307f51 /src
parentcdb293e6371239f89692efac6074ab7b29008cdc (diff)
downloadkcmautostart-ac07ea25331f514dd2583ecc6d0051892ecac620.tar.gz
kcmautostart-ac07ea25331f514dd2583ecc6d0051892ecac620.zip
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'src')
-rw-r--r--src/autostart.cpp6
-rw-r--r--src/autostart.h2
2 files changed, 4 insertions, 4 deletions
diff --git a/src/autostart.cpp b/src/autostart.cpp
index 8c5c4b6..1cfc65f 100644
--- a/src/autostart.cpp
+++ b/src/autostart.cpp
@@ -38,7 +38,7 @@
#include "autostart.h"
-class desktop : public KListViewItem {
+class desktop : public TDEListViewItem {
public:
KService * service;
@@ -47,7 +47,7 @@ public:
int iStartOn;
enum { AutoStart, Shutdown, ENV };
-desktop( TQString service, int startOn, TQListView *parent ): KListViewItem( parent ) {
+desktop( TQString service, int startOn, TQListView *parent ): TDEListViewItem( parent ) {
bisDesktop = false;
iStartOn = startOn;
fileName = KURL(service);
@@ -119,7 +119,7 @@ autostart::autostart(TQWidget *parent, const char *name, const TQStringList&)
AutostartConfigLayout->addWidget( btnAdd, 0, 1 );
- listCMD = new KListView( this, "listCMD" );
+ listCMD = new TDEListView( this, "listCMD" );
listCMD->addColumn( i18n( "Name" ) );
listCMD->addColumn( i18n( "Command" ) );
listCMD->addColumn( i18n( "Run on" ) );
diff --git a/src/autostart.h b/src/autostart.h
index e7a55fb..e15e24b 100644
--- a/src/autostart.h
+++ b/src/autostart.h
@@ -62,7 +62,7 @@ private:
TDEAboutData *myAboutData;
TDEGlobalSettings *kgs;
KPushButton* btnAdd;
- KListView* listCMD;
+ TDEListView* listCMD;
KPushButton* btnRemove;
TQPushButton* btnProperties;
TQComboBox* cmbStartOn;