Main Page   Alphabetical List   Compound List   File List   Compound Members   File Members  

klineakconfig.h

Go to the documentation of this file.
00001 /***************************************************************************
00002                           klineakconfig.h  -  description
00003                              -------------------
00004     begin                : Tue Apr  9 18:33:44 EDT 2002
00005     copyright            : (C) 2002 by Sheldon Lee Wen
00006     email                : tormak@rogers.com
00007  ***************************************************************************/
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  ***************************************************************************/
00017 
00018 #ifndef KLINEAKCONFIG_H
00019 #define KLINEAKCONFIG_H
00020 
00021 #define gint int
00022 #define g_print printf
00023 #define gboolean int
00024 #define g_warning printf
00025 
00026 
00027 #ifdef HAVE_CONFIG_H
00028 #include <config.h>
00029 #endif
00030 
00031 #include <signal.h>
00032 #include <kapp.h>
00033 #include <qwidget.h>
00034 #include <klineakconfigui.h>
00035 #include <hash_map.h>
00036 #include <qstring.h>
00037 
00038 #include <qcombobox.h>
00039 #include <qlabel.h>
00040 #include <qlineedit.h>
00041 #include <qlistbox.h>
00042 #include <qpushbutton.h>
00043 #include <qradiobutton.h>
00044 #include <qmessagebox.h>
00045 #include <qstring.h>
00046 #include <kstddirs.h>
00047 
00049 class KlineakConfig : public KlineakConfigUI
00050 {
00051   Q_OBJECT 
00052   public:
00054     KlineakConfig(QWidget* parent=0, const char *name=0);
00056     ~KlineakConfig();
00057     QWidget* getWidget(QString name);
00058     QString& getDirectory();
00059 
00060    private:
00061         bool ApplyUsed;
00062         KStandardDirs paths;
00063         QString directory;
00064 
00065    public slots:
00066        virtual void updateKeyList(int index);
00067        virtual void updateKeyList();
00068        virtual void onKeyListSelect(QListBoxItem *box);
00069        virtual void updateAvailableKeys(int i);
00070        virtual void updateCDRom();
00071        virtual void quit();
00072        virtual void onOKButtonClicked();
00073        virtual bool onApplyButtonClicked();
00074 };
00075 
00076 #endif

Generated on Thu May 16 23:43:08 2002 for KLineakConfig by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002