00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020 #ifndef HISTORY_SETTINGS_H
00021 #define HISTORY_SETTINGS_H
00022
00023 #include <tqfont.h>
00024 #include <tqobject.h>
00025
00026 #include <dcopobject.h>
00027
00028 class KonqSidebarHistorySettings : public TQObject, public DCOPObject
00029 {
00030 K_DCOP
00031 Q_OBJECT
00032
00033 public:
00034 enum { MINUTES, DAYS };
00035
00036 KonqSidebarHistorySettings( TQObject *parent, const char *name );
00037 virtual ~KonqSidebarHistorySettings();
00038
00039 void readSettings(bool global);
00040 void applySettings();
00041
00042 uint m_valueYoungerThan;
00043 uint m_valueOlderThan;
00044
00045 int m_metricYoungerThan;
00046 int m_metricOlderThan;
00047
00048 bool m_detailedTips;
00049
00050 TQFont m_fontYoungerThan;
00051 TQFont m_fontOlderThan;
00052
00053 signals:
00054 void settingsChanged();
00055
00056 protected:
00057 KonqSidebarHistorySettings();
00058 KonqSidebarHistorySettings( const KonqSidebarHistorySettings& );
00059
00060 k_dcop:
00061 void notifySettingsChanged();
00062
00063 private:
00064 };
00065
00066 #endif // HISTORY_SETTINGS_H