00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021 #ifndef __kcmhistory_h__
00022 #define __kcmhistory_h__
00023
00024 #include <kcmodule.h>
00025
00026 class KonqHistoryManager;
00027 class KonqSidebarHistorySettings;
00028 class KonqSidebarHistoryDlg;
00029
00030 class HistorySidebarConfig : public KCModule
00031 {
00032 Q_OBJECT
00033
00034 public:
00035 HistorySidebarConfig( TQWidget *parent=0, const char* name=0, const TQStringList &list=TQStringList() );
00036
00037 void load();
00038 void save();
00039 void defaults();
00040
00041 TQString quickHelp() const;
00042
00043 private slots:
00044 void configChanged();
00045
00046 void slotGetFontNewer();
00047 void slotGetFontOlder();
00048
00049 void slotExpireChanged( int );
00050 void slotNewerChanged( int );
00051 void slotOlderChanged( int );
00052
00053 void slotClearHistory();
00054
00055 private:
00056 TQFont m_fontNewer;
00057 TQFont m_fontOlder;
00058
00059 KonqSidebarHistoryDlg* dialog;
00060 KonqSidebarHistorySettings *m_settings;
00061 KonqHistoryManager *mgr;
00062 };
00063
00064 #endif