summaryrefslogtreecommitdiffstats
path: root/knetworkconf/knetworkconf/knetworkconfmodule.h
blob: 2e30e27e93f6ff7b27dfad6c5aa096ff4a3f4e7c (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
/***************************************************************************
                          knetworkconfmodule.h  -  description
                             -------------------
    begin                : Tue Apr 1 2003
    copyright            : (C) 2003 by Juan Luis Baptiste
    email                : juancho@linuxmail.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 KNETWORKCONFMODULE_H
#define KNETWORKCONFMODULE_H

#include "knetworkconf.h"
#include <kaboutdata.h>
#include <kcmodule.h>

class KNetworkConfModule : public KCModule
{
  Q_OBJECT
  TQ_OBJECT

public:
  KNetworkConfModule(TQWidget* tqparent, const char *name/*, TQStringList list*/);
  ~KNetworkConfModule();

  void load();
  void save();
  int buttons();

  bool useRootOnlyMsg() const;
  TQString rootOnlyMsg() const;
  KAboutData* aboutData() const;
  TQString quickHelp() const;

private slots:
  void configChanged(bool);

private:
  KNetworkConf* conf;
};

#endif