Adapt to new KWarning/kFatal/kDebug api

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=695877
This commit is contained in:
Laurent Montel 2007-08-03 06:59:24 +00:00
parent 8c9f82bd4a
commit e6988faf49
3 changed files with 5 additions and 5 deletions

View File

@ -224,7 +224,7 @@ void Corona::dragEnterEvent( QGraphicsSceneDragDropEvent *event)
void Corona::dragLeaveEvent(QGraphicsSceneDragDropEvent *event)
{
// kDebug() << "Corona::dragLeaveEvent(QGraphicsSceneDragDropEvent* event)" << endl;
// kDebug() << "Corona::dragLeaveEvent(QGraphicsSceneDragDropEvent* event)";
//TODO If an established Applet is dragged out of the Corona, remove it and
// create a QDrag type thing to keep the Applet's settings
}
@ -234,12 +234,12 @@ void Corona::dragMoveEvent(QGraphicsSceneDragDropEvent *event)
QGraphicsScene::dragMoveEvent(event);
event->accept();
//kDebug() << "Corona::dragMoveEvent(QDragMoveEvent* event)" << endl;
//kDebug() << "Corona::dragMoveEvent(QDragMoveEvent* event)";
}
void Corona::dropEvent(QGraphicsSceneDragDropEvent *event)
{
//kDebug() << "Corona::dropEvent(QDropEvent* event)" << endl;
//kDebug() << "Corona::dropEvent(QDropEvent* event)";
if (event->mimeData()->hasFormat("text/x-plasmoidservicename")) {
//TODO This will pretty much move into dragEnterEvent()
QString plasmoidName;

View File

@ -38,7 +38,7 @@ QGraphicsItemGroup* KarambaManager::loadKaramba(const KUrl &themePath, QGraphics
karamba = createKaramba(themePath, scene->views()[0]);
}
} else {
kWarning() << "Could not load " << karambaLib << endl;
kWarning() << "Could not load " << karambaLib ;
}
return karamba;

View File

@ -252,7 +252,7 @@ bool Package::createPackage(const PackageMetadata & metadata,
const QString& destination)
{
if (!metadata.isComplete()) {
kWarning(550) << "Metadata file is not complete" << endl;
kWarning(550) << "Metadata file is not complete" ;
return false;
}