00001
00021 #ifndef _PRIVACY_H_
00022 #define _PRIVACY_H_
00023
00024 #include <kcmodule.h>
00025 #include <klistview.h>
00026
00027 #include "kcmprivacydialog.h"
00028 #include "kprivacymanager.h"
00029 #include "kprivacysettings.h"
00030
00031 class Privacy: public KCModule
00032 {
00033 Q_OBJECT
00034
00035 public:
00036 Privacy( TQWidget *parent=0, const char *name=0 );
00037 ~Privacy();
00038
00039 virtual void load();
00040 virtual void load(bool useDefaults);
00041 virtual void save();
00042 virtual void defaults();
00043
00044 public slots:
00045 void cleanup();
00046 void selectAll();
00047 void selectNone();
00048
00049 private:
00050 KCMPrivacyDialog *cleaningDialog;
00051 KPrivacySettings *p3pSettings;
00052 KPrivacyManager *m_privacymanager;
00053
00054 TQPtrList<TQCheckListItem> checklist;
00055
00056 KListViewItem *generalCLI;
00057 KListViewItem *webbrowsingCLI;
00058
00059 TQCheckListItem *clearThumbnails;
00060 TQCheckListItem *clearRunCommandHistory;
00061 TQCheckListItem *clearAllCookies;
00062 TQCheckListItem *clearSavedClipboardContents;
00063 TQCheckListItem *clearWebHistory;
00064 TQCheckListItem *clearWebCache;
00065 TQCheckListItem *clearFormCompletion;
00066 TQCheckListItem *clearRecentDocuments;
00067 TQCheckListItem *clearQuickStartMenu;
00068 TQCheckListItem *clearFavIcons;
00069
00070
00071
00072 };
00073
00074 #endif