Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

profiledialogwidget.cpp

Go to the documentation of this file.
00001 #include <qlayout.h>
00002 #include <qlabel.h>
00003 
00004 #include "profiledialogwidget.h"
00005 
00006 ProfileDialogWidget::ProfileDialogWidget( const QString&, QWidget* parent,
00007                                           const char* name )
00008     : QWidget( parent, name ) {
00009 }
00010 ProfileDialogWidget::~ProfileDialogWidget() {
00011 }
00012 
00013 ProfileDialogTerminalWidget::ProfileDialogTerminalWidget( const QString& na,
00014                                                           QWidget* parent,
00015                                                           const char* name )
00016     : ProfileDialogWidget( na, parent, name )
00017 {
00018 }
00019 ProfileDialogTerminalWidget::~ProfileDialogTerminalWidget() {
00020 }
00021 ProfileDialogWidget::Type ProfileDialogTerminalWidget::type()const {
00022     return Terminal;
00023 }
00024 
00025 ProfileDialogConnectionWidget::ProfileDialogConnectionWidget( const QString& na,
00026                                                               QWidget* parent,
00027                                                               const char* name )
00028     : ProfileDialogWidget(na, parent, name )
00029 {
00030 }
00031 ProfileDialogConnectionWidget::~ProfileDialogConnectionWidget() {
00032 }
00033 ProfileDialogWidget::Type ProfileDialogConnectionWidget::type()const {
00034     return Connection;
00035 }
00036 ProfileDialogKeyWidget::ProfileDialogKeyWidget( const QString &na,
00037                                                 QWidget *parent,
00038                                                 const char *name)
00039     : ProfileDialogWidget(na, parent, name )
00040 {
00041 }
00042 ProfileDialogKeyWidget::~ProfileDialogKeyWidget() {
00043 }
00044 ProfileDialogWidget::Type ProfileDialogKeyWidget::type() const{
00045     return Keyboard;
00046 }
00047 
00048 NoOptions::NoOptions( const QString& name, QWidget* parent, const char* na )
00049     : ProfileDialogWidget( name, parent, na ) {
00050     QHBoxLayout* lay = new QHBoxLayout(this);
00051     QLabel* lbl = new QLabel( this );
00052     lbl->setText( tr("This Plugin does not support any configurations") );
00053     lbl->setTextFormat( RichText );
00054 
00055     lay->addWidget( lbl );
00056 }
00057 void NoOptions::load( const Profile& ) {
00058 
00059 }
00060 void NoOptions::save( Profile& ) {
00061 
00062 }

Generated on Sat Nov 5 16:16:50 2005 for OPIE by  doxygen 1.4.2