summaryrefslogtreecommitdiff
path: root/noncore/apps/opie-console/consoleconfigwidget.h
blob: c980cb4e48ca8d68bd6fcec91eeb8e41af101684 (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
31
32
33
34
#ifndef OPIE_CONSOLE_CONFIG_WIDGET_H
#define OPIE_CONSOLE_CONFIG_WIDGET_H

#include "profiledialogwidget.h"

class QVBoxLayout;
class QLineEdit;
class QListView;
class QPushButton;

class ConsoleConfigWidget : public ProfileDialogConnectionWidget {
    Q_OBJECT
public:
    ConsoleConfigWidget( const QString& name, QWidget* parent, const char* name = 0l );
    ~ConsoleConfigWidget();

    void load( const Profile& );
    void save( Profile& );

protected slots:
    void slotAdd();
    void slotRemove();
private:
    QVBoxLayout *m_lay;
    QLineEdit *m_cmd;
    QLineEdit *m_name;
    QLineEdit *m_value;
    QListView *m_env;
    QPushButton *m_add;
    QPushButton *m_remove;
};


#endif