kpilot Library API Documentation

DatabaseAction.h

00001 #ifndef _KPILOT_DatabaseAction_SETUP_H
00002 #define _KPILOT_DatabaseAction_SETUP_H
00003 /* MultiDB-setup.h                         KPilot
00004 **
00005 ** Copyright (C) 2002 by Reinhold Kainhofer
00006 ** Copyright (C) 2001 by Dan Pilone
00007 **
00008 ** This file defines the class for the behavior of the setup dialog.
00009 */
00010 
00011 /*
00012 ** This program is free software; you can redistribute it and/or modify
00013 ** it under the terms of the GNU General Public License as published by
00014 ** the Free Software Foundation; either version 2 of the License, or
00015 ** (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
00020 ** GNU General Public License for more details.
00021 **
00022 ** You should have received a copy of the GNU General Public License
00023 ** along with this program in a file called COPYING; if not, write to
00024 ** the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston,
00025 ** MA 02111-1307, USA.
00026 */
00027 
00028 /*
00029 ** Bug reports and questions can be sent to kde-pim@kde.org
00030 */
00031 
00032 #include "options.h"
00033 #include "plugin.h"
00034 #include "MultiDB-conduit.h"
00035 #include "MultiDB-setup.h"
00036 #include "MultiDB-factory.h"
00037 #include "DatabaseActiondlgPrivate.h"
00038 
00039 class DBSettings : public KDialogBase {
00040 Q_OBJECT
00041 public:
00042         DBSettings(QWidget *, const char *, DBSyncInfo*itm, SyncTypeList_t *tps, bool changeDBName=true, bool allowask=true);
00043         virtual ~DBSettings();
00044 
00045 protected:
00046         virtual void commitChanges();
00047         virtual int IdToSyncType(int tp);
00048         virtual int SyncTypeToId(int tt);
00049 
00050 protected slots:
00051         void slotOk();
00052         void slotApply();
00053         void slotBrowseFile();
00054 private:
00055         DatabaseActionDlgPrivate *fConfigWidget;
00056         DBSyncInfo*item;
00057         QWidget *fMainWidget;
00058         SyncTypeList_t *synctypes;
00059 protected:
00060         QWidget* widget() {return fMainWidget;}
00061 } ;
00062 
00063 // $Log: DatabaseAction.h,v $
00064 // Revision 1.1.4.1  2003/03/12 23:31:09  adridg
00065 // CVS_SILENT: FSF address change
00066 //
00067 // Revision 1.1  2002/04/07 12:09:42  kainhofe
00068 // Initial checkin of the conduit. The gui works mostly, but syncing crashes KPilot...
00069 //
00070 // Revision 1.2  2002/04/07 11:56:19  reinhold
00071 // Last version before moving to KDE CVS
00072 //
00073 // Revision 1.1  2002/04/07 01:03:52  reinhold
00074 // the list of possible actions is now created dynamically
00075 //
00076 // Revision 1.8  2002/04/05 21:17:00  reinhold
00077 // *** empty log message ***
00078 //
00079 // Revision 1.7  2002/03/28 13:47:53  reinhold
00080 // Added the list of synctypes, aboutbox is now directly passed on to the setup dlg (instead of being a static var)
00081 //
00082 // Revision 1.6  2002/03/15 20:43:17  reinhold
00083 // Fixed the crash on loading (member function not defined)...
00084 //
00085 // Revision 1.5  2002/03/13 22:14:40  reinhold
00086 // GUI should work now...
00087 //
00088 // Revision 1.4  2002/03/10 23:58:32  reinhold
00089 // Made the conduit compile...
00090 //
00091 // Revision 1.3  2002/03/10 16:06:43  reinhold
00092 // Cleaned up the class hierarchy, implemented some more features (should be quite finished now...)
00093 //
00094 // Revision 1.2  2002/03/09 18:03:47  reinhold
00095 // Reworked the makefiles
00096 //
00097 // Revision 1.1.1.1  2002/03/09 15:38:45  reinhold
00098 // Initial checin of the  project manager / List manager conduit.
00099 //
00100 //
00101 //
00102 
00103 #endif
KDE Logo
This file is part of the documentation for kdelibs Version 3.1.4.
Documentation copyright © 1996-2002 the KDE developers.
Generated on Sat Oct 18 02:47:14 2003 by doxygen 1.3.4 written by Dimitri van Heesch, © 1997-2001