kpilot Library API Documentation

JPilotProxy-setup.h

00001 #ifndef _KPILOT_JPilotProxy_SETUP_H
00002 #define _KPILOT_JPilotProxy_SETUP_H
00003 /* JPilotProxy-setup.h                         KPilot
00004 **
00005 ** Copyright (C) 2002 by Reinhold Kainhofer
00006 **
00007 ** This file defines the class for the behavior of the setup dialog.
00008 */
00009 
00010 /*
00011 ** This program is free software; you can redistribute it and/or modify
00012 ** it under the terms of the GNU General Public License as published by
00013 ** the Free Software Foundation; either version 2 of the License, or
00014 ** (at your option) any later version.
00015 **
00016 ** This program is distributed in the hope that it will be useful,
00017 ** but WITHOUT ANY WARRANTY; without even the implied warranty of
00018 ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
00019 ** GNU General Public License for more details.
00020 **
00021 ** You should have received a copy of the GNU General Public License
00022 ** along with this program in a file called COPYING; if not, write to
00023 ** the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston,
00024 ** MA 02111-1307, USA.
00025 */
00026 
00027 /*
00028 ** Bug reports and questions can be sent to kde-pim@kde.org
00029 */
00030 
00031 #include "plugin.h"
00032 #include "jplugin.h"
00033 #include "ConduitDialog.h"
00034 
00035 class JPilotProxyWidgetSetup : public ConduitConfig {
00036 Q_OBJECT
00037 public:
00038     JPilotProxyWidgetSetup(QWidget *,const char *,const QStringList &);
00039     virtual ~JPilotProxyWidgetSetup();
00040     JPlugin*findPlugin(QString fn);
00041 
00042 protected:
00043     virtual void readSettings();
00044     virtual void commitChanges();
00045     virtual const QString getSettingsGroup() { return QString("JPilotPluginProxy");};
00046     virtual bool addConduit(QString file, bool on);
00047 
00048 protected slots:
00049     virtual void slotOk();
00050     virtual void slotApply();
00051     
00052     virtual void slotAddConduit();
00053     virtual void slotConfigureConduit();
00054     virtual void slotConfigureConduit(QListViewItem*item);
00055 
00056     virtual void slotSelectPluginPath();
00057     virtual void slotUpdatePluginPath(const QString &newpath);
00058     virtual void slotBrowse();
00059     virtual void slotAddPluginPath();
00060     virtual void slotRemovePluginPath();
00061     
00062 
00063 private:
00064     JPilotProxyWidget *fConfigWidget;
00065     bool updatePluginPathSel;
00066 } ;
00067 
00068 #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