summaryrefslogtreecommitdiffstats
path: root/kolf/config.h
blob: 5ca9892f3c613d5480dd78f4421e1705aec8ec91 (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
#ifndef KOLF_CONFIG_H
#define KOLF_CONFIG_H

#include <tqframe.h>

class Config : public TQFrame
{
	Q_OBJECT
  TQ_OBJECT

public:
	Config(TQWidget *tqparent, const char *name = 0);
	void ctorDone();

signals:
	void modified();

protected:
	int spacingHint();
	int marginHint();
	bool startedUp;
	void changed();
};

// this is easy to use to show a message
class MessageConfig : public Config
{
	Q_OBJECT
  TQ_OBJECT

public:
	MessageConfig(TQString text, TQWidget *tqparent, const char *name = 0);
};

// internal
class DefaultConfig : public MessageConfig
{
	Q_OBJECT
  TQ_OBJECT

public:
	DefaultConfig(TQWidget *tqparent, const char *name = 0);
};

#endif