Main Page | Alphabetical List | Class List | File List | Class Members

selector.h

00001 /*
00002  * $Id: selector.h,v 1.1.1.1 2005/05/06 17:56:47 akos Exp $
00003  *
00004  * Copyright (C) 2005 by Akos Polster <akos@pipacs.com>
00005  *
00006  * This program is free software; you can redistribute it and/or modify
00007  * it under the terms of the GNU General Public License as published by
00008  * the Free Software Foundation; either version 2 of the License, or
00009  * (at your option) any later version.
00010  *
00011  * This program is distributed in the hope that it will be useful, but
00012  * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
00013  * or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
00014  * for more details.
00015  *
00016  * You should have received a copy of the GNU General Public License along
00017  * with this program; if not, write to the Free Software Foundation, Inc.,
00018  * 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
00019  */
00020 
00021 #ifndef SELECTOR_H
00022 #define SELECTOR_H
00023 
00024 #include <qvaluelist.h>
00025 #include <qlabel.h>
00026 
00027 #include "connectionlist.h"
00028 #include "selectorbase.h"
00029 #include "vpnc.h"
00030 
00038 class Selector: public SelectorBase
00039 {
00040     Q_OBJECT
00041 
00042 public:
00050     Selector(ConnectionList &connList,
00051              QWidget* parent = 0,
00052              const char* name = 0,
00053              WFlags fl = 0);
00054 
00056     ~Selector();
00057 
00059     void update(Vpnc::State state);
00060 
00061 protected slots:
00063     void activate();
00064 
00066     void deactivate();
00067 
00069     void add();
00070 
00072     void remove();
00073 
00075     void modify();
00076 
00078     void onSelectionChanged();
00079 
00080 private:
00082     ConnectionList &connList_;
00083 };
00084 
00085 #endif // SELECTOR_H

Generated on Fri Aug 19 23:02:10 2005 for Viperin-Z by  doxygen 1.4.4