~ubuntu-branches/ubuntu/karmic/kmyfirewall/karmic

« back to all changes in this revision

Viewing changes to kmyfirewall/ipteditor/kmfportwidget.h

  • Committer: Bazaar Package Importer
  • Author(s): Alberto Gonzalez Iniesta
  • Date: 2005-01-04 20:17:02 UTC
  • Revision ID: james.westby@ubuntu.com-20050104201702-s1vo6slsg4f3jb11
Tags: upstream-0.9.6.2
ImportĀ upstreamĀ versionĀ 0.9.6.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/***************************************************************************
 
2
                        kmfportwidget.h  -  description
 
3
                           -------------------
 
4
  begin                : Fri Nov 1 2002
 
5
  copyright            : (C) 2002 by Christian Hubinger
 
6
  email                : a9806056@unet.univie.ac.at
 
7
***************************************************************************/
 
8
 
 
9
/***************************************************************************
 
10
 *                                                                         *
 
11
 *   This program is free software; you can redistribute it and/or modify  *
 
12
 *   it under the terms of the GNU General Public License as published by  *
 
13
 *   the Free Software Foundation; either version 2 of the License, or     *
 
14
 *   (at your option) any later version.                                   *
 
15
 *                                                                         *
 
16
 ***************************************************************************/
 
17
 
 
18
#ifndef KMFPORTWIDGET_H
 
19
#define KMFPORTWIDGET_H
 
20
 
 
21
#include <qwidget.h>
 
22
#include <kmyfirewallportwidget.h>
 
23
 
 
24
/**Widget for input of portnumbers, portranges or names
 
25
  *@author Christian Hubinger
 
26
  */
 
27
class KMFError;
 
28
 
 
29
class KMFPortWidget : public KMyFirewallPortWidget {
 
30
        Q_OBJECT
 
31
public:
 
32
        KMFPortWidget( QWidget *parent = 0, const char *name = 0 );
 
33
        ~KMFPortWidget();
 
34
        KMFError* getPortString( QString* value );
 
35
        void loadPortString( QString& );
 
36
        void reset();
 
37
private:
 
38
        KMFError *m_err;
 
39
 
 
40
signals:
 
41
        void sigMultiPortChanged( bool );
 
42
};
 
43
 
 
44
#endif