diff options
Diffstat (limited to 'kcontrol/input')
-rw-r--r-- | kcontrol/input/core/themepage.cpp | 12 | ||||
-rw-r--r-- | kcontrol/input/core/themepage.h | 4 | ||||
-rw-r--r-- | kcontrol/input/xcursor/themepage.cpp | 10 | ||||
-rw-r--r-- | kcontrol/input/xcursor/themepage.h | 4 |
4 files changed, 15 insertions, 15 deletions
diff --git a/kcontrol/input/core/themepage.cpp b/kcontrol/input/core/themepage.cpp index 558998b4e..53c33ff2b 100644 --- a/kcontrol/input/core/themepage.cpp +++ b/kcontrol/input/core/themepage.cpp @@ -60,7 +60,7 @@ ThemePage::ThemePage( TQWidget* parent, const char* name ) new TQLabel( i18n("Select the cursor theme you want to use:"), this ); // Create the theme list view - listview = new KListView( this ); + listview = new TDEListView( this ); listview->setFullWidth( true ); listview->setAllColumnsShowFocus( true ); listview->addColumn( i18n("Name") ); @@ -143,24 +143,24 @@ void ThemePage::defaults() void ThemePage::insertThemes() { - KListViewItem *item; + TDEListViewItem *item; - item = new KListViewItem( listview, i18n("Small black"), + item = new TDEListViewItem( listview, i18n("Small black"), i18n("Small black cursors"), "SmallBlack" ); item->setPixmap( 0, TQPixmap( arrow_small_black_xpm ) ); listview->insertItem( item ); - item = new KListViewItem( listview, i18n("Large black"), + item = new TDEListViewItem( listview, i18n("Large black"), i18n("Large black cursors"), "LargeBlack" ); item->setPixmap( 0, TQPixmap( arrow_large_black_xpm ) ); listview->insertItem( item ); - item = new KListViewItem( listview, i18n("Small white"), + item = new TDEListViewItem( listview, i18n("Small white"), i18n("Small white cursors"), "SmallWhite" ); item->setPixmap( 0, TQPixmap( arrow_small_white_xpm ) ); listview->insertItem( item ); - item = new KListViewItem( listview, i18n("Large white"), + item = new TDEListViewItem( listview, i18n("Large white"), i18n("Large white cursors"), "LargeWhite" ); item->setPixmap( 0, TQPixmap( arrow_large_white_xpm ) ); listview->insertItem( item ); diff --git a/kcontrol/input/core/themepage.h b/kcontrol/input/core/themepage.h index 42d24dbe4..d1060797a 100644 --- a/kcontrol/input/core/themepage.h +++ b/kcontrol/input/core/themepage.h @@ -21,7 +21,7 @@ #include <tqwidget.h> -class KListView; +class TDEListView; class TQListViewItem; class ThemePage : public TQWidget @@ -49,7 +49,7 @@ class ThemePage : public TQWidget void insertThemes(); void fixCursorFile(); - KListView *listview; + TDEListView *listview; TQString currentTheme, selectedTheme; }; diff --git a/kcontrol/input/xcursor/themepage.cpp b/kcontrol/input/xcursor/themepage.cpp index e8a918512..0c81eff90 100644 --- a/kcontrol/input/xcursor/themepage.cpp +++ b/kcontrol/input/xcursor/themepage.cpp @@ -94,7 +94,7 @@ ThemePage::ThemePage( TQWidget* parent, const char* name ) preview = new PreviewWidget( new TQHBox( this ) ); // Create the theme list view - listview = new KListView( this ); + listview = new TDEListView( this ); listview->setFullWidth( true ); listview->setAllColumnsShowFocus( true ); listview->addColumn( i18n("Name") ); @@ -374,7 +374,7 @@ void ThemePage::insertTheme( const TQString &path ) delete listview->findItem( dirName, DirColumn ); // Create the listview item and insert it into the list. - KListViewItem *item = new KListViewItem( listview, name, desc, /*hidden*/ dirName ); + TDEListViewItem *item = new TDEListViewItem( listview, name, desc, /*hidden*/ dirName ); item->setPixmap( NameColumn, createIcon( dirName, sample ) ); listview->insertItem( item ); } @@ -529,7 +529,7 @@ void ThemePage::insertThemes() themeInfo.insert( *it, info ); // Create the listview item and insert it into the list. - KListViewItem *item = new KListViewItem( listview, name, desc, /*hidden*/ *it ); + TDEListViewItem *item = new TDEListViewItem( listview, name, desc, /*hidden*/ *it ); item->setPixmap( NameColumn, createIcon( *it, sample ) ); listview->insertItem( item ); } @@ -541,9 +541,9 @@ void ThemePage::insertThemes() // Sort the theme list listview->sort(); - KListViewItem *item = new KListViewItem( listview, ' ' + i18n( "No theme" ), i18n( "The old classic X cursors") , /*hidden*/ "none" ); + TDEListViewItem *item = new TDEListViewItem( listview, ' ' + i18n( "No theme" ), i18n( "The old classic X cursors") , /*hidden*/ "none" ); listview->insertItem( item ); - item = new KListViewItem( listview, ' ' + i18n( "System theme" ), i18n( "Do not change cursor theme") , /*hidden*/ "system" ); + item = new TDEListViewItem( listview, ' ' + i18n( "System theme" ), i18n( "Do not change cursor theme") , /*hidden*/ "system" ); listview->insertItem( item ); // no ThemeInfo object for this one } diff --git a/kcontrol/input/xcursor/themepage.h b/kcontrol/input/xcursor/themepage.h index 4197d73d1..22bca16db 100644 --- a/kcontrol/input/xcursor/themepage.h +++ b/kcontrol/input/xcursor/themepage.h @@ -22,7 +22,7 @@ #include <tqdict.h> -class KListView; +class TDEListView; class TQString; class PreviewWidget; class TQStringList; @@ -62,7 +62,7 @@ class ThemePage : public TQWidget void insertThemes(); TQPixmap createIcon( const TQString &, const TQString & ) const; - KListView *listview; + TDEListView *listview; PreviewWidget *preview; TQPushButton *installButton, *removeButton; TQString selectedTheme; |