Diffstat (limited to 'noncore/apps/opie-console/profiledialogwidget.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/apps/opie-console/profiledialogwidget.cpp | 19 |
1 files changed, 19 insertions, 0 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,2 +1,5 @@ +#include <qlayout.h> +#include <qlabel.h> + #include "profiledialogwidget.h" @@ -42,2 +45,18 @@ ProfileDialogWidget::Type ProfileDialogKeyWidget::type() const{ return Keyboard; } + +NoOptions::NoOptions( const QString& name, QWidget* parent, const char* na ) + : ProfileDialogWidget( name, parent, na ) { + QHBoxLayout* lay = new QHBoxLayout(this); + QLabel* lbl = new QLabel( this ); + lbl->setText( tr("This Plugin does not support any configurations") ); + lbl->setTextFormat( RichText ); + + lay->addWidget( lbl ); +} +void NoOptions::load( const Profile& ) { + +} +void NoOptions::save( Profile& ) { + +} |