From f537c21b68e08f649b1b297bce8f3904603137e0 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 1 Feb 2013 15:11:21 -0600 Subject: Rename a number of classes to enhance compatibility with KDE4 --- kcontrol/privacy/kcmprivacydialog.ui | 2 +- kcontrol/privacy/kprivacymanager.cpp | 4 ++-- kcontrol/privacy/privacy.cpp | 6 +++--- kcontrol/privacy/privacy.h | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) (limited to 'kcontrol/privacy') 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 @@ Vertical - + privacyListView 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 checklist; - KListViewItem *generalCLI; - KListViewItem *webbrowsingCLI; + TDEListViewItem *generalCLI; + TDEListViewItem *webbrowsingCLI; TQCheckListItem *clearThumbnails; TQCheckListItem *clearRunCommandHistory; -- cgit v1.2.1