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

editaccount.h

Go to the documentation of this file.
00001 /**********************************************************************
00002 ** Copyright (C) 2001 Trolltech AS.  All rights reserved.
00003 **
00004 ** This file is part of Qt Palmtop Environment.
00005 **
00006 ** This file may be distributed and/or modified under the terms of the
00007 ** GNU General Public License version 2 as published by the Free Software
00008 ** Foundation and appearing in the file LICENSE.GPL included in the
00009 ** packaging of this file.
00010 **
00011 ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
00012 ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
00013 **
00014 ** See http://www.trolltech.com/gpl/ for GPL licensing information.
00015 **
00016 ** Contact info@trolltech.com if any conditions of this licensing are
00017 ** not clear to you.
00018 **
00019 **********************************************************************/
00020 #ifndef EDITACCOUNT_H
00021 #define EDITACCOUNT_H
00022 
00023 #include <qdialog.h>
00024 #include <qlabel.h>
00025 #include <qlineedit.h>
00026 #include <qcheckbox.h>
00027 #include <qlayout.h>
00028 #include <qspinbox.h>
00029 #include "emailhandler.h"
00030 
00031 class EditAccount : public QDialog
00032 { 
00033     Q_OBJECT
00034 
00035 public:
00036     EditAccount( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 );
00037     void setAccount(MailAccount *in, bool newOne = TRUE);
00038     void init();
00039 
00040 public slots:
00041         void accept();
00042         void reject();
00043 
00044 private:
00045         MailAccount thisAccount, *account;
00046 
00047     QLabel *accountNameInputLabel;
00048     QLabel *nameInputLabel;
00049     QLabel *emailInputLabel;
00050     QLabel *popUserInputLabel;
00051     QLabel *popPasswInputLabel;
00052     QLabel *popServerInputLabel;
00053     QLabel *smtpServerInputLabel;
00054     QLabel *syncLimitInputLabel;
00055     
00056     QLineEdit *accountNameInput;
00057     QLineEdit *nameInput;
00058     QLineEdit *emailInput;
00059     QLineEdit *popUserInput;
00060     QLineEdit *popPasswInput;
00061     QLineEdit *popServerInput;
00062     QLineEdit *smtpServerInput;
00063     QSpinBox *syncLimitInput;    
00064     QCheckBox *syncCheckBox;
00065 
00066     QGridLayout *grid;
00067 };
00068 
00069 #endif

Generated on Sat Nov 5 16:18:08 2005 for OPIE by  doxygen 1.4.2