summaryrefslogtreecommitdiffstats
path: root/kopete/plugins/highlight/highlightconfig.h
blob: a5a7eb690a39e916270c86c70b0b032f2e8da263 (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
/*
    highlightconfig.h

    Copyright (c) 2003      by Olivier Goffart       <ogoffart @ kde.org>
    Copyright (c) 2003      by Matt Rogers           <matt@matt.rogers.name>

    Kopete    (c) 2002-2003 by the Kopete developers <kopete-devel@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 HIGHLIGHTCONFIG_H
#define HIGHLIGHTCONFIG_H

#include <tqmap.h>
#include <tqstring.h>

class Filter;

class HighlightConfig
{
public:
	HighlightConfig();
	~HighlightConfig();

	void load();
	void save();

	TQPtrList<Filter> filters() const;
	void removeFilter (Filter *f);
	void appendFilter (Filter *f);
	Filter* newFilter();

private:
	TQPtrList<Filter> m_filters;
};

#endif