Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members   Examples  

jezabelpanel.h

00001 /***************************************************************************
00002                                jezabelpanel.h
00003                              -------------------
00004     begin                : Sun Jun 23 2002
00005     copyright            : (C) 2002 by Ken McMillan
00006     email                : mcmillan@cadence.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 #include <qwidget.h>
00019 #include <qlistbox.h>
00020 
00021 #ifndef JezabelPanel_included
00022 
00023 struct JezabelPanelPrivate;
00024 
00054 class JezabelPanel : public QWidget {
00055   Q_OBJECT
00056  public:
00057 
00058   enum Flags {NoAudioSettingsButton = 0x1};
00059 
00061 
00067   JezabelPanel(const char *type, const char *instance, int flags = 0, QWidget *_parent = 0, WFlags f=0 );
00068 
00070   QWidget *mainArea();
00071 
00073 
00080   void registerControl(QString &name, int val, QObject *control, const char *signal, const char *slot);
00081 
00083 
00090   void registerControl(QString &name, QString val, QObject *control, const char *signal, const char *slot);
00091 
00093   void start();
00094 
00096   void stop();
00097 
00099   ~JezabelPanel();
00100 
00102   static JezabelPanel *find(QObject *thing);
00103 
00104   virtual bool close ( bool alsoDelete );
00105 
00106  protected:
00107   void updatePresetList();
00108   void savePreset(const char *);
00109   void restorePreset(QString presetname, bool builtin);
00110   virtual void postRestore(){}
00111  public:
00112   JezabelPanelPrivate *me;
00113  protected slots:
00114    void presetClicked(QListBoxItem *);
00115    void builtinPresetClicked(QListBoxItem *);
00116    void addClicked();
00117    void deleteClicked();
00118    void audioSettingsClicked();
00119 };
00120 
00121 #define JezabelPanel_included
00122 #endif
00123 
00124 

Generated at Sun Jan 18 20:51:22 2004 for Jezabel by doxygen1.2.8.1 written by Dimitri van Heesch, © 1997-2001