Browse Source

Rename a number of classes to enhance compatibility with KDE4

tags/r14.0.0
Timothy Pearson 6 years ago
parent
commit
ac07ea2533
3 changed files with 5 additions and 5 deletions
  1. 1
    1
      ChangeLog
  2. 3
    3
      src/autostart.cpp
  3. 1
    1
      src/autostart.h

+ 1
- 1
ChangeLog View File

@@ -2,7 +2,7 @@
2 2
 2006-09-17 - Fixed an issue where it could destroy symlinked files.
3 3
            - Fixed deleting of .desktop files
4 4
            - Fixed absolute path filenames
5
-2006-11-11 - instead of associating desktop objects with listviewitems by command name, make desktop inherit KListViewItem
5
+2006-11-11 - instead of associating desktop objects with listviewitems by command name, make desktop inherit TDEListViewItem
6 6
            - Use the KDE Standard Open With Dialog for adding new Programs to the autostart list.
7 7
            - Use the KDE Standard Properties Dialog for editing Entries.
8 8
 2006-11-18: fixed crash when double clicking on the list view and not on an item.

+ 3
- 3
src/autostart.cpp View File

@@ -38,7 +38,7 @@
38 38
 
39 39
 #include "autostart.h"
40 40
 
41
-class desktop : public KListViewItem {
41
+class desktop : public TDEListViewItem {
42 42
 
43 43
 public:
44 44
   KService * service;
@@ -47,7 +47,7 @@ public:
47 47
   int iStartOn;
48 48
   enum { AutoStart, Shutdown, ENV };
49 49
 
50
-desktop( TQString service, int startOn, TQListView *parent ): KListViewItem( parent ) {
50
+desktop( TQString service, int startOn, TQListView *parent ): TDEListViewItem( parent ) {
51 51
   bisDesktop = false;
52 52
   iStartOn = startOn;
53 53
   fileName = KURL(service);
@@ -119,7 +119,7 @@ autostart::autostart(TQWidget *parent, const char *name, const TQStringList&)
119 119
 
120 120
   AutostartConfigLayout->addWidget( btnAdd, 0, 1 );
121 121
 
122
-  listCMD = new KListView( this, "listCMD" );
122
+  listCMD = new TDEListView( this, "listCMD" );
123 123
   listCMD->addColumn( i18n( "Name" ) );
124 124
   listCMD->addColumn( i18n( "Command" ) );
125 125
   listCMD->addColumn( i18n( "Run on" ) );

+ 1
- 1
src/autostart.h View File

@@ -62,7 +62,7 @@ private:
62 62
   TDEAboutData *myAboutData;
63 63
   TDEGlobalSettings *kgs;
64 64
     KPushButton* btnAdd;
65
-    KListView* listCMD;
65
+    TDEListView* listCMD;
66 66
     KPushButton* btnRemove;
67 67
     TQPushButton* btnProperties;
68 68
   TQComboBox* cmbStartOn;

Loading…
Cancel
Save