SVN_SILENT style guide fixes

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=738950
This commit is contained in:
Aaron J. Seigo 2007-11-20 00:47:20 +00:00
parent 9b29f430db
commit 14c8999f12
3 changed files with 34 additions and 37 deletions

View File

@ -154,10 +154,11 @@ public:
// qDebug() << "Item geometry: " << newGeometry; // qDebug() << "Item geometry: " << newGeometry;
if ( q->animator() ) if (q->animator()) {
q->animator()->setGeometry(item, newGeometry); q->animator()->setGeometry(item, newGeometry);
else } else {
item->setGeometry(newGeometry); item->setGeometry(newGeometry);
}
return newPos; return newPos;
} }

View File

@ -53,7 +53,6 @@ UiLoader::UiLoader( QObject *parent )
<< "Label" << "Label"
<< "PushButton" << "PushButton"
<< "RadioButton" << "RadioButton"
<< "Rectangle"
<< "Meter"; << "Meter";
d->layouts d->layouts
@ -95,9 +94,6 @@ Widget *UiLoader::createWidget( const QString &className, Widget *parent )
else if (className == QString("Meter")) { else if (className == QString("Meter")) {
return new Meter( parent ); return new Meter( parent );
} }
//else if ( className == QString("Rectangle") ) {
// return new Rectangle( parent ); // Constructor here requires a Widget
//}
return 0; return 0;
} }