blob: b5cfed0cc242e9fcea19fe457c4cae8f89d4070b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
|
/***************************************************************************
highlightpreferences.h - description
-------------------
begin : mar 14 2003
copyright : (C) 2003 by Olivier Goffart
email : ogoffart @ kde.org
***************************************************************************/
/***************************************************************************
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
* *
***************************************************************************/
#ifndef HighlightPREFERENCES_H
#define HighlightPREFERENCES_H
#include <tdecmodule.h>
#include <tqstring.h>
class HighlightPrefsUI;
class Filter;
class TQListViewItem;
/**
*@author Olivier Goffart
*/
class HighlightPreferences : public TDECModule {
Q_OBJECT
public:
HighlightPreferences(TQWidget *parent = 0, const char* name = 0, const TQStringList &args = TQStringList());
~HighlightPreferences();
virtual void save();
virtual void load();
private:
HighlightPrefsUI *preferencesDialog;
HighlightConfig *m_config;
TQMap <TQListViewItem*,Filter*> m_filterItems;
bool donttouch;
private slots:
void slotCurrentFilterChanged();
void slotAddFilter();
void slotRemoveFilter();
void slotRenameFilter();
void slotSomethingHasChanged();
void slotEditRegExp();
};
#endif
|