summaryrefslogtreecommitdiffstats
path: root/krfb/kcm_krfb/kcm_krfb.h
blob: 1bd993c2b271de1d9beaaecba0c108a0c56b00ac (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

/***************************************************************************
                                 kcm_krfb.h
                                ------------
    begin                : Sat Mar 02 2002
    copyright            : (C) 2002 by Tim Jansen
    email                : tim@tjansen.de
 ***************************************************************************/

/***************************************************************************
 *                                                                         *
 *   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 _KCM_KRFB_H_
#define _KCM_KRFB_H_

#include <tqobject.h>
#include <tqdatetime.h>
#include <tdecmodule.h>
#include "configurationwidget.h"
#include "../krfb/configuration.h"

class KcmKRfb : public TDECModule {
	TQ_OBJECT
  
private:
	Configuration m_configuration;
	ConfigurationWidget *m_confWidget;
	void checkKInetd(bool&, bool&);
public:
	KcmKRfb(TQWidget *p, const char *name, const TQStringList &);

	void load();
	void save();
	void defaults();
	TQString quickHelp() const;

	virtual TQString handbookSection() const;
private slots:
	void setInvitationNum(int num);
	void configChanged();
};


#endif