Lines 6-12
Link Here
|
6 |
|
6 |
|
7 |
#include "config.h" |
7 |
#include "config.h" |
8 |
|
8 |
|
9 |
Config::Config(QWidget *parent, const char *name = 0) |
9 |
Config::Config(QWidget *parent, const char *name) |
10 |
: QFrame(parent, name) |
10 |
: QFrame(parent, name) |
11 |
{ |
11 |
{ |
12 |
startedUp = false; |
12 |
startedUp = false; |
Lines 33-46
Link Here
|
33 |
emit modified(); |
33 |
emit modified(); |
34 |
} |
34 |
} |
35 |
|
35 |
|
36 |
MessageConfig::MessageConfig(QString text, QWidget *parent, const char *name = 0) |
36 |
MessageConfig::MessageConfig(QString text, QWidget *parent, const char *name ) |
37 |
: Config(parent, name) |
37 |
: Config(parent, name) |
38 |
{ |
38 |
{ |
39 |
QVBoxLayout *layout = new QVBoxLayout(this, marginHint(), spacingHint()); |
39 |
QVBoxLayout *layout = new QVBoxLayout(this, marginHint(), spacingHint()); |
40 |
layout->addWidget(new QLabel(text, this)); |
40 |
layout->addWidget(new QLabel(text, this)); |
41 |
} |
41 |
} |
42 |
|
42 |
|
43 |
DefaultConfig::DefaultConfig(QWidget *parent, const char *name = 0) |
43 |
DefaultConfig::DefaultConfig(QWidget *parent, const char *name) |
44 |
: MessageConfig(i18n("No configuration options"), parent, name) |
44 |
: MessageConfig(i18n("No configuration options"), parent, name) |
45 |
{ |
45 |
{ |
46 |
} |
46 |
} |