summaryrefslogtreecommitdiffstats
path: root/kcontrol/input/core
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 15:11:21 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 15:11:21 -0600
commitf537c21b68e08f649b1b297bce8f3904603137e0 (patch)
treefb33065387509dea898c90022ddec9c3f8ede86d /kcontrol/input/core
parentdc5f267664506a312203c26bfe9001a448b0bb0f (diff)
downloadtdebase-f537c21b68e08f649b1b297bce8f3904603137e0.tar.gz
tdebase-f537c21b68e08f649b1b297bce8f3904603137e0.zip
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'kcontrol/input/core')
-rw-r--r--kcontrol/input/core/themepage.cpp12
-rw-r--r--kcontrol/input/core/themepage.h4
2 files changed, 8 insertions, 8 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;
};