Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

chooserwidget.h

Go to the documentation of this file.
00001 /* -*- C++ -*-
00002  *            kPPP: A pppd front end for the KDE project
00003  *
00004  * $Id: chooserwidget.h,v 1.2 2003/08/09 17:14:55 kergoth Exp $
00005  *
00006  *            Copyright (C) 1997 Bernd Johannes Wuebben
00007  *                   wuebben@math.cornell.edu
00008  *
00009  * based on EzPPP:
00010  * Copyright (C) 1997  Jay Painter
00011  *
00012  * This program is free software; you can redistribute it and/or
00013  * modify it under the terms of the GNU Library General Public
00014  * License as published by the Free Software Foundation; either
00015  * version 2 of the License, or (at your option) any later version.
00016  *
00017  * This program is distributed in the hope that it will be useful,
00018  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00019  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00020  * Library General Public License for more details.
00021  *
00022  * You should have received a copy of the GNU Library General Public
00023  * License along with this program; if not, write to the Free
00024  * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
00025  */
00026 
00027 #ifndef _CHOOSERWIDGET_H_
00028 #define _CHOOSERWIDGET_H_
00029 
00030 #include <qwidget.h>
00031 #include <qdialog.h>
00032 #include <qpushbutton.h>
00033 #include <qlistbox.h>
00034 //#include "acctselect.h"
00035 
00036 class QDialog;
00037 class QCheckBox;
00038 class QLineEdit;
00039 class QTabWidget;
00040 class DialWidget;
00041 class AuthWidget;
00042 class IPWidget;
00043 class DNSWidget;
00044 class GatewayWidget;
00045 class PPPData;
00046 
00047 class ChooserWidget : public QWidget {
00048   Q_OBJECT
00049 public:
00050   ChooserWidget( PPPData *pd, QWidget *parent=0, const char *name=0, WFlags f=0 );
00051   ~ChooserWidget() {}
00052 
00053 private slots:
00054   virtual void edit()  = 0;
00055   virtual void copy()  = 0;
00056   virtual void create()= 0;
00057   virtual void remove()= 0;
00058   virtual void slotListBoxSelect(int) = 0;
00059 
00060 
00061 protected:
00062     PPPData *_pppdata;
00063 
00064     QListBox *listListbox;
00065     QPushButton *edit_b;
00066     QPushButton *copy_b;
00067     QPushButton *new_b;
00068     QPushButton *delete_b;
00069 };
00070 
00071 
00072 #endif
00073 

Generated on Sat Nov 5 16:17:49 2005 for OPIE by  doxygen 1.4.2