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

    Copyright (c) 2003      by Olivier Goffart       <ogoffart @ kde.org>
    Copyright (c) 2003      by Matt Rogers           <[email protected]>

    Kopete    (c) 2002-2003 by the Kopete developers <[email protected]>

    *************************************************************************
    *                                                                       *
    * 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

// vim: set noet ts=4 sts=4 sw=4: