summaryrefslogtreecommitdiffstats
path: root/kcontrol/privacy
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2013-02-01 15:11:21 -0600
committerTimothy Pearson <[email protected]>2013-02-01 15:11:21 -0600
commitf537c21b68e08f649b1b297bce8f3904603137e0 (patch)
treefb33065387509dea898c90022ddec9c3f8ede86d /kcontrol/privacy
parentdc5f267664506a312203c26bfe9001a448b0bb0f (diff)
downloadtdebase-f537c21b68e08f649b1b297bce8f3904603137e0.tar.gz
tdebase-f537c21b68e08f649b1b297bce8f3904603137e0.zip
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'kcontrol/privacy')
-rw-r--r--kcontrol/privacy/kcmprivacydialog.ui2
-rw-r--r--kcontrol/privacy/kprivacymanager.cpp4
-rw-r--r--kcontrol/privacy/privacy.cpp6
-rw-r--r--kcontrol/privacy/privacy.h4
4 files changed, 8 insertions, 8 deletions
diff --git a/kcontrol/privacy/kcmprivacydialog.ui b/kcontrol/privacy/kcmprivacydialog.ui
index b6182c61f..5c2afe250 100644
--- a/kcontrol/privacy/kcmprivacydialog.ui
+++ b/kcontrol/privacy/kcmprivacydialog.ui
@@ -50,7 +50,7 @@
<property name="orientation">
<enum>Vertical</enum>
</property>
- <widget class="KListView">
+ <widget class="TDEListView">
<property name="name">
<cstring>privacyListView</cstring>
</property>
diff --git a/kcontrol/privacy/kprivacymanager.cpp b/kcontrol/privacy/kprivacymanager.cpp
index 869446e42..13b376cd4 100644
--- a/kcontrol/privacy/kprivacymanager.cpp
+++ b/kcontrol/privacy/kprivacymanager.cpp
@@ -117,8 +117,8 @@ bool KPrivacyManager::clearWebCache() const
bool KPrivacyManager::clearRecentDocuments() const
{
- KRecentDocument::clear();
- return KRecentDocument::recentDocuments().isEmpty();
+ TDERecentDocument::clear();
+ return TDERecentDocument::recentDocuments().isEmpty();
}
bool KPrivacyManager::clearQuickStartMenu() const
diff --git a/kcontrol/privacy/privacy.cpp b/kcontrol/privacy/privacy.cpp
index 6f5d52c33..c175384c2 100644
--- a/kcontrol/privacy/privacy.cpp
+++ b/kcontrol/privacy/privacy.cpp
@@ -71,7 +71,7 @@ Privacy::Privacy(TQWidget *parent, const char *name)
//privacyTabs->addTab(p3pSettings, i18n("Privacy Settings"));
- KListView *sw = cleaningDialog->privacyListView;
+ TDEListView *sw = cleaningDialog->privacyListView;
sw->addColumn(i18n("Privacy Settings"));
sw->addColumn(i18n("Description"));
@@ -82,8 +82,8 @@ Privacy::Privacy(TQWidget *parent, const char *name)
- generalCLI = new KListViewItem(sw, i18n("General") );
- webbrowsingCLI = new KListViewItem(sw, i18n("Web Browsing") );
+ generalCLI = new TDEListViewItem(sw, i18n("General") );
+ webbrowsingCLI = new TDEListViewItem(sw, i18n("Web Browsing") );
generalCLI->setOpen(true);
webbrowsingCLI->setOpen(true);
diff --git a/kcontrol/privacy/privacy.h b/kcontrol/privacy/privacy.h
index 3300fec6d..495b2fa6c 100644
--- a/kcontrol/privacy/privacy.h
+++ b/kcontrol/privacy/privacy.h
@@ -53,8 +53,8 @@ private:
TQPtrList<TQCheckListItem> checklist;
- KListViewItem *generalCLI;
- KListViewItem *webbrowsingCLI;
+ TDEListViewItem *generalCLI;
+ TDEListViewItem *webbrowsingCLI;
TQCheckListItem *clearThumbnails;
TQCheckListItem *clearRunCommandHistory;