kpilot Library API Documentation

conduitSetup.h

00001 #ifndef CCONDUITSETUP_H
00002 #define CCONDUITSETUP_H
00003 /* conduitSetup.h           KPilot
00004 **
00005 ** Copyright (C) 1998-2001 by Dan Pilone
00006 **
00007 ** This is the widget for setting up (ie. installing and activating)
00008 ** external conduits in KPilot.
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 /* Library Includes */
00033 #include <kdialogbase.h>
00034 
00035 class QPushButton;
00036 class QListBox;
00037 class QLabel;
00038 
00039 class QListViewItem;
00040 class KProcess;
00041 class ListCategorizer;
00042 
00043 class CConduitSetup : public KDialogBase
00044 {
00045     Q_OBJECT
00046 
00047 public:
00048     CConduitSetup(QWidget *parent, const char * name = 0);
00049     virtual ~CConduitSetup();
00050 
00051 
00052 protected:
00053     QString findExecPath(const QListViewItem *) const;
00054     void writeInstalledConduits();
00055     void fillLists();
00056 
00057     void conduitExecuted(QListViewItem *);
00058 
00059 protected slots:
00060     virtual void slotUser1();
00061     virtual void slotUser2();
00062     virtual void slotUser3();
00063     void conduitSelected(QListViewItem *);
00064     void setupDone(KProcess *);
00065     void slotOk();
00066 
00067 private:
00068     void warnNoExec(const QListViewItem *);
00069     void warnSetupRunning();
00070 
00071     ListCategorizer *categories;
00072     QListViewItem *active,*available;
00073     KProcess *conduitSetup;
00074     QStringList conduitPaths;
00075 } ;
00076 
00077 #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:46 2004 by doxygen 1.2.15 written by Dimitri van Heesch, © 1997-2003