- Since rectangle is disabled elsewhere
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=708888
This commit is contained in:
parent
834a572004
commit
f2cf7e782a
@ -29,7 +29,7 @@
|
|||||||
#include "widgets/label.h"
|
#include "widgets/label.h"
|
||||||
#include "widgets/pushbutton.h"
|
#include "widgets/pushbutton.h"
|
||||||
#include "widgets/radiobutton.h"
|
#include "widgets/radiobutton.h"
|
||||||
#include "widgets/rectangle.h"
|
//#include "widgets/rectangle.h"
|
||||||
|
|
||||||
#include "widgets/hboxlayout.h"
|
#include "widgets/hboxlayout.h"
|
||||||
#include "widgets/vboxlayout.h"
|
#include "widgets/vboxlayout.h"
|
||||||
@ -93,9 +93,9 @@ Widget *UiLoader::createWidget( const QString &className, Widget *parent )
|
|||||||
else if ( className == QString("RadioButton") ) {
|
else if ( className == QString("RadioButton") ) {
|
||||||
return new RadioButton( parent );
|
return new RadioButton( parent );
|
||||||
}
|
}
|
||||||
else if ( className == QString("Rectangle") ) {
|
//else if ( className == QString("Rectangle") ) {
|
||||||
// return new Rectangle( parent ); // Constructor here requires a Widget
|
// return new Rectangle( parent ); // Constructor here requires a Widget
|
||||||
}
|
//}
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user