kpilot Library API Documentation

dbSelectionDialog.h

00001 #ifndef _KPILOT_DBSELECTIONDIALOG_H 00002 #define _KPILOT_DBSELECTIONDIALOG_H 00003 /* dbSelectionDialog.h KPilot 00004 ** 00005 ** Copyright (C) 2003 by Dan Pilone 00006 ** Created by Reinhold Kainhofer 00007 ** 00008 ** This file defines a dialog box that lets the 00009 ** user select a set of databases (e.g. which databases 00010 ** should be ignored when doing a backup) 00011 */ 00012 00013 /* 00014 ** This program is free software; you can redistribute it and/or modify 00015 ** it under the terms of the GNU General Public License as published by 00016 ** the Free Software Foundation; either version 2 of the License, or 00017 ** (at your option) any later version. 00018 ** 00019 ** This program is distributed in the hope that it will be useful, 00020 ** but WITHOUT ANY WARRANTY; without even the implied warranty of 00021 ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00022 ** GNU General Public License for more details. 00023 ** 00024 ** You should have received a copy of the GNU General Public License 00025 ** along with this program in a file called COPYING; if not, write to 00026 ** the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, 00027 ** MA 02111-1307, USA. 00028 */ 00029 00030 /* 00031 ** Bug reports and questions can be sent to kde-pim@kde.org 00032 */ 00033 00034 #include <kdialogbase.h> 00035 00036 class KPilotDBSelectionWidget; 00037 00038 class KPilotDBSelectionDialog : public KDialogBase 00039 { 00040 Q_OBJECT 00041 public: 00042 KPilotDBSelectionDialog(QStringList &selectedDBs, QStringList &deviceDBs, 00043 QStringList &addedDBs, QWidget *, const char *); 00044 virtual ~KPilotDBSelectionDialog(); 00045 00046 QStringList getSelectedDBs(); 00047 QStringList getAddedDBs() const {return fAddedDBs; }; 00048 private: 00049 QStringList fSelectedDBs; 00050 QStringList fAddedDBs; 00051 QStringList fDeviceDBs; 00052 protected slots: 00053 void addDB(); 00054 void removeDB(); 00055 void slotTextChanged( const QString& dbname); 00056 00057 private: 00058 KPilotDBSelectionWidget *fSelectionWidget; 00059 } ; 00060 00061 #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 Wed Jul 28 23:57:48 2004 by doxygen 1.3.7 written by Dimitri van Heesch, © 1997-2003