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

accounts.h

Go to the documentation of this file.
00001 /* -*- C++ -*-
00002  *            kPPP: A pppd front end for the KDE project
00003  *
00004  * $Id: accounts.h,v 1.5 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 _ACCOUNTS_H_
00028 #define _ACCOUNTS_H_
00029 
00030 #include <qdialog.h>
00031 #include <qpushbutton.h>
00032 #include <qlistbox.h>
00033 #include "chooserwidget.h"
00034 
00035 class QCheckBox;
00036 class QLineEdit;
00037 class QTabWidget;
00038 class ModemWidget;
00039 class ModemWidget2;
00040 
00041 
00042 class DialWidget;
00043 class AuthWidget;
00044 class IPWidget;
00045 class DNSWidget;
00046 class GatewayWidget;
00047 class PPPData;
00048 
00049 
00050 class AccountWidget : public ChooserWidget {
00051 
00052   Q_OBJECT
00053 public:
00054   AccountWidget( PPPData *pd, QWidget *parent=0, const char *name=0, WFlags f=0 );
00055   ~AccountWidget() {}
00056 
00057 
00058 private slots:
00059   virtual void edit();
00060   virtual void copy();
00061   virtual void remove();
00062   virtual void create();
00063   virtual void slotListBoxSelect(int);
00064   int doTab();
00065 
00066  signals:
00067    void resetaccounts();
00068 
00069 private:
00070     DialWidget *dial_w;
00071     IPWidget *ip_w;
00072     DNSWidget *dns_w;
00073     GatewayWidget *gateway_w;
00074     AuthWidget *auth_w;
00075 
00076 };
00077 
00078 
00079 #endif
00080 

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