Rename a number of classes to enhance compatibility with KDE4

pull/1/head
Timothy Pearson 12 years ago
parent cdb293e637
commit ac07ea2533

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

@ -38,7 +38,7 @@
#include "autostart.h" #include "autostart.h"
class desktop : public KListViewItem { class desktop : public TDEListViewItem {
public: public:
KService * service; KService * service;
@ -47,7 +47,7 @@ public:
int iStartOn; int iStartOn;
enum { AutoStart, Shutdown, ENV }; enum { AutoStart, Shutdown, ENV };
desktop( TQString service, int startOn, TQListView *parent ): KListViewItem( parent ) { desktop( TQString service, int startOn, TQListView *parent ): TDEListViewItem( parent ) {
bisDesktop = false; bisDesktop = false;
iStartOn = startOn; iStartOn = startOn;
fileName = KURL(service); fileName = KURL(service);
@ -119,7 +119,7 @@ autostart::autostart(TQWidget *parent, const char *name, const TQStringList&)
AutostartConfigLayout->addWidget( btnAdd, 0, 1 ); AutostartConfigLayout->addWidget( btnAdd, 0, 1 );
listCMD = new KListView( this, "listCMD" ); listCMD = new TDEListView( this, "listCMD" );
listCMD->addColumn( i18n( "Name" ) ); listCMD->addColumn( i18n( "Name" ) );
listCMD->addColumn( i18n( "Command" ) ); listCMD->addColumn( i18n( "Command" ) );
listCMD->addColumn( i18n( "Run on" ) ); listCMD->addColumn( i18n( "Run on" ) );

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

Loading…
Cancel
Save