summaryrefslogtreecommitdiffstats
path: root/abs/core/mythinstall/autocard.h
blob: 623fcc004f4ea6acf0745b5ef49bbba05826c3dc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#ifndef AUTOCARD_H
#define AUTOCARD_H

#include "qstringlist.h"
#include "libmyth/settings.h"
#include "libmyth/mythwidgets.h"

class MPUBLIC AutoCard : public QObject, public ConfigurationDialog
{
    Q_OBJECT

  public:
    AutoCard();
    virtual int exec(void);
    virtual void load(void);
    virtual void save(void) { };
    virtual void save(QString) { };
    virtual MythDialog* dialogWidget(MythMainWindow* parent,
                                     const char* widgetName=0);
 static QStringList GetNames(void);
  protected slots:
    void open(QString name);
    void popup_menu(void);

  protected:
    ListBoxSetting *listbox;
    QString         lastValue;
};

#endif