Diffstat (limited to 'noncore/apps/opie-console/profiledialogwidget.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/apps/opie-console/profiledialogwidget.cpp | 21 |
1 files changed, 20 insertions, 1 deletions
diff --git a/noncore/apps/opie-console/profiledialogwidget.cpp b/noncore/apps/opie-console/profiledialogwidget.cpp index caad998..c356535 100644 --- a/noncore/apps/opie-console/profiledialogwidget.cpp +++ b/noncore/apps/opie-console/profiledialogwidget.cpp | |||
@@ -1,3 +1,6 @@ | |||
1 | #include <qlayout.h> | ||
2 | #include <qlabel.h> | ||
3 | |||
1 | #include "profiledialogwidget.h" | 4 | #include "profiledialogwidget.h" |
2 | 5 | ||
3 | ProfileDialogWidget::ProfileDialogWidget( const QString&, QWidget* parent, | 6 | ProfileDialogWidget::ProfileDialogWidget( const QString&, QWidget* parent, |
@@ -33,7 +36,7 @@ ProfileDialogWidget::Type ProfileDialogConnectionWidget::type()const { | |||
33 | ProfileDialogKeyWidget::ProfileDialogKeyWidget( const QString &na, | 36 | ProfileDialogKeyWidget::ProfileDialogKeyWidget( const QString &na, |
34 | QWidget *parent, | 37 | QWidget *parent, |
35 | const char *name) | 38 | const char *name) |
36 | : ProfileDialogWidget(na, parent, name ) | 39 | : ProfileDialogWidget(na, parent, name ) |
37 | { | 40 | { |
38 | } | 41 | } |
39 | ProfileDialogKeyWidget::~ProfileDialogKeyWidget() { | 42 | ProfileDialogKeyWidget::~ProfileDialogKeyWidget() { |
@@ -41,3 +44,19 @@ ProfileDialogKeyWidget::~ProfileDialogKeyWidget() { | |||
41 | ProfileDialogWidget::Type ProfileDialogKeyWidget::type() const{ | 44 | ProfileDialogWidget::Type ProfileDialogKeyWidget::type() const{ |
42 | return Keyboard; | 45 | return Keyboard; |
43 | } | 46 | } |
47 | |||
48 | NoOptions::NoOptions( const QString& name, QWidget* parent, const char* na ) | ||
49 | : ProfileDialogWidget( name, parent, na ) { | ||
50 | QHBoxLayout* lay = new QHBoxLayout(this); | ||
51 | QLabel* lbl = new QLabel( this ); | ||
52 | lbl->setText( tr("This Plugin does not support any configurations") ); | ||
53 | lbl->setTextFormat( RichText ); | ||
54 | |||
55 | lay->addWidget( lbl ); | ||
56 | } | ||
57 | void NoOptions::load( const Profile& ) { | ||
58 | |||
59 | } | ||
60 | void NoOptions::save( Profile& ) { | ||
61 | |||
62 | } | ||