kpilot Library API Documentation

kpilotConfigDialog.h

00001 #ifndef _KPILOT_KPILOTCONFIGDIALOG_H
00002 #define _KPILOT_KPILOTCONFIGDIALOG_H
00003 /* kpilotConfigDialog.h                 KPilot
00004 **
00005 ** Copyright (C) 2001 by Dan Pilone
00006 **
00007 ** This file defines a specialization of KPilotDeviceLink
00008 ** that can actually handle some HotSync tasks, like backup
00009 ** and restore. It does NOT do conduit stuff.
00010 */
00011 
00012 /*
00013 ** This program is free software; you can redistribute it and/or modify
00014 ** it under the terms of the GNU General Public License as published by
00015 ** the Free Software Foundation; either version 2 of the License, or
00016 ** (at your option) any later version.
00017 **
00018 ** This program is distributed in the hope that it will be useful,
00019 ** but WITHOUT ANY WARRANTY; without even the implied warranty of
00020 ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
00021 ** GNU General Public License for more details.
00022 **
00023 ** You should have received a copy of the GNU General Public License
00024 ** along with this program in a file called COPYING; if not, write to
00025 ** the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston,
00026 ** MA 02111-1307, USA.
00027 */
00028 
00029 /*
00030 ** Bug reports and questions can be sent to kde-pim@kde.org
00031 */
00032 
00033 #include "uiDialog.h"
00034 
00035 class KPilotConfigWidget;
00036 class KPilotConfigSettings;
00037 
00038 class KPilotConfigDialog : public UIDialog
00039 {
00040 Q_OBJECT
00041 public:
00042     KPilotConfigDialog(QWidget *,const char *,bool);
00043     virtual ~KPilotConfigDialog();
00044 
00045 protected:
00046     virtual bool validate();
00047     virtual void commitChanges();
00048 
00049 protected slots:
00050     void changePortType(int);
00051     void slotSelectNoBackupDBs();
00052     void slotSelectNoRestoreDBs();
00053 
00054 private:
00055     KPilotConfigWidget *fConfigWidget;
00056 
00057     void readConfig();
00058     void disableUnusedOptions();
00059 
00060     // Read and write the values of Encoding
00061     // and EncodingDD.
00062     void getEncoding(const KPilotConfigSettings &);
00063     void setEncoding(KPilotConfigSettings &);
00064 } ;
00065 
00066 #endif
KDE Logo
This file is part of the documentation for kpilot Library Version 3.2.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Sat May 1 11:36:47 2004 by doxygen 1.2.15 written by Dimitri van Heesch, © 1997-2003