Plasma::Meter added

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=716920
This commit is contained in:
Petri Damstén 2007-09-25 15:50:32 +00:00
parent a0bc4c53a0
commit 1efc829861

View File

@ -30,6 +30,7 @@
#include "widgets/label.h"
#include "widgets/pushbutton.h"
#include "widgets/radiobutton.h"
#include "widgets/meter.h"
//#include "widgets/rectangle.h"
#include "widgets/hboxlayout.h"
@ -56,7 +57,8 @@ UiLoader::UiLoader( QObject *parent )
<< "Label"
<< "PushButton"
<< "RadioButton"
<< "Rectangle";
<< "Rectangle"
<< "Meter";
d->layouts
<< "VBoxLayout"
@ -94,6 +96,9 @@ Widget *UiLoader::createWidget( const QString &className, Widget *parent )
else if ( className == QString("RadioButton") ) {
return new RadioButton( parent );
}
else if ( className == QString("Meter") ) {
return new Meter( parent );
}
//else if ( className == QString("Rectangle") ) {
// return new Rectangle( parent ); // Constructor here requires a Widget
//}