diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-01 15:14:58 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-01 15:14:58 -0600 |
commit | 9e5c87c89567a98c3344c90e392a27715437334c (patch) | |
tree | 6c1dd96ae0ba38b7e8f0a492d591881f44f474da /ksim/themeprefs.cpp | |
parent | 53904b41cf005abbae3d468532db9adc2b04a9b4 (diff) | |
download | tdeutils-9e5c87c89567a98c3344c90e392a27715437334c.tar.gz tdeutils-9e5c87c89567a98c3344c90e392a27715437334c.zip |
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'ksim/themeprefs.cpp')
-rw-r--r-- | ksim/themeprefs.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/ksim/themeprefs.cpp b/ksim/themeprefs.cpp index dc12f45..b54d761 100644 --- a/ksim/themeprefs.cpp +++ b/ksim/themeprefs.cpp @@ -43,11 +43,11 @@ #include <common.h> #include <themeloader.h> -class ThemeViewItem : public KListViewItem +class ThemeViewItem : public TDEListViewItem { public: ThemeViewItem(TQListView *parent, const TQString &text, - const KURL &url) : KListViewItem(parent, text) + const KURL &url) : TDEListViewItem(parent, text) { m_url = url; } @@ -96,7 +96,7 @@ KSim::ThemePrefs::ThemePrefs(TQWidget *parent, const char *name) m_authLabel->setText(i18n("None")); m_themeLayout->addMultiCellWidget(m_authLabel, 3, 3, 1, 4); - m_listView = new KListView(this); + m_listView = new TDEListView(this); m_listView->addColumn(i18n("Theme")); m_listView->setFullWidth(true); connect(m_listView, TQT_SIGNAL(currentChanged(TQListViewItem *)), @@ -265,8 +265,8 @@ void KSim::ThemePrefs::showFontDialog(int currentItem) { if (currentItem == 3) { TQFont customFont = m_font; - int result = KFontDialog::getFont(customFont); - if (result == KFontDialog::Accepted) + int result = TDEFontDialog::getFont(customFont); + if (result == TDEFontDialog::Accepted) m_font = customFont; } } |