diff --git a/abstractrunner.cpp b/abstractrunner.cpp index 7b708f85d..f532608ac 100644 --- a/abstractrunner.cpp +++ b/abstractrunner.cpp @@ -116,11 +116,11 @@ AbstractRunner::List AbstractRunner::loadRunners( QWidget* parent ) foreach ( KService::Ptr service, offers ) { AbstractRunner* runner = KService::createInstance( service, parent ); if ( runner ) { - kDebug() << "loaded runner : " << service->name() << endl ; + kDebug() << "loaded runner : " << service->name(); runners.append( runner ); } else { - kDebug() << "failed to load runner : " << service->name() << endl ; + kDebug() << "failed to load runner : " << service->name(); } } diff --git a/animator.cpp b/animator.cpp index c5949a7f3..47ccc5bc9 100644 --- a/animator.cpp +++ b/animator.cpp @@ -120,7 +120,7 @@ void Animator::slideOut(qreal progress, QGraphicsItem *item, const QPoint &desti { //FIXME: rewrite Q_UNUSED(progress); - //kDebug()<translate(destination.x(), destination.y()); } diff --git a/applet.cpp b/applet.cpp index 02fae784b..f945d7e1b 100644 --- a/applet.cpp +++ b/applet.cpp @@ -386,7 +386,7 @@ const Package* Applet::package() const void Applet::constraintsUpdated() { - kDebug() << "Applet::constraintsUpdate(): constraints are FormFactor: " << formFactor() << ", Location: " << location() << endl; + kDebug() << "Applet::constraintsUpdate(): constraints are FormFactor: " << formFactor() << ", Location: " << location(); } QString Applet::name() const @@ -607,7 +607,7 @@ void Applet::paintInterface(QPainter *painter, const QStyleOptionGraphicsItem *o if (d->scriptEngine) { d->scriptEngine->paintInterface(painter, option); } else { - //kDebug() << "Applet::paintInterface() default impl" << endl; + //kDebug() << "Applet::paintInterface() default impl"; } } @@ -755,14 +755,14 @@ KPluginInfo::List Applet::knownApplets(const QString &category, } KService::List offers = KServiceTypeTrader::self()->query("Plasma/Applet", constraint); - //kDebug() << "Applet::knownApplets constraint was '" << constraint << "' which got us " << offers.count() << " matches" << endl; + //kDebug() << "Applet::knownApplets constraint was '" << constraint << "' which got us " << offers.count() << " matches"; return KPluginInfo::fromServices(offers); } KPluginInfo::List Applet::knownAppletsForMimetype(const QString &mimetype) { QString constraint = QString("'%1' in [X-Plasma-Mimetypes]").arg(mimetype); - kDebug() << constraint << endl; + kDebug() << constraint; KService::List offers = KServiceTypeTrader::self()->query("Plasma/Applet", constraint); return KPluginInfo::fromServices(offers); } @@ -781,7 +781,7 @@ QStringList Applet::knownCategories(const QString &parentApp) QStringList categories; foreach (KService::Ptr applet, offers) { QString appletCategory = applet->property("X-KDE-PluginInfo-Category").toString(); - kDebug() << " and we have " << appletCategory << endl; + kDebug() << " and we have " << appletCategory; if (appletCategory.isEmpty()) { if (!categories.contains(i18n("Misc"))) { categories << i18n("Misc"); @@ -807,7 +807,7 @@ Applet* Applet::loadApplet(const QString& appletName, uint appletId, const QStri if (offers.isEmpty()) { //TODO: what would be -really- cool is offer to try and download the applet // from the network at this point - kDebug() << "Applet::loadApplet: offers is empty for \"" << appletName << "\"" << endl; + kDebug() << "Applet::loadApplet: offers is empty for \"" << appletName << "\""; return 0; } @@ -822,7 +822,7 @@ Applet* Applet::loadApplet(const QString& appletName, uint appletId, const QStri Applet* applet = KService::createInstance(offers.first(), 0, allArgs); if (!applet) { - kDebug() << "Couldn't load applet \"" << appletName << "\"!" << endl; + kDebug() << "Couldn't load applet \"" << appletName << "\"!"; } return applet; diff --git a/configxml.cpp b/configxml.cpp index 01c0463f2..59d7b3961 100644 --- a/configxml.cpp +++ b/configxml.cpp @@ -164,14 +164,14 @@ bool ConfigXmlHandler::startElement(const QString &namespaceURI, const QString & Q_UNUSED(namespaceURI) Q_UNUSED(qName) -// kDebug() << "ConfigXmlHandler::startElement(" << localName << " " << qName << endl; +// kDebug() << "ConfigXmlHandler::startElement(" << localName << qName; int numAttrs = attrs.count(); QString tag = localName.toLower(); if (tag == "group") { for (int i = 0; i < numAttrs; ++i) { QString name = attrs.localName(i).toLower(); if (name == "name") { - kDebug() << "set group to " << attrs.value(i) << endl; + kDebug() << "set group to " << attrs.value(i); m_config->setCurrentGroup(attrs.value(i)); } } @@ -213,7 +213,7 @@ bool ConfigXmlHandler::endElement(const QString &namespaceURI, const QString &lo Q_UNUSED(namespaceURI) Q_UNUSED(qName) -// kDebug() << "ConfigXmlHandler::endElement(" << localName << " " << qName << endl; +// kDebug() << "ConfigXmlHandler::endElement(" << localName << qName; QString tag = localName.toLower(); if (tag == "entry") { addItem(); diff --git a/corona.cpp b/corona.cpp index 028b82325..181900517 100644 --- a/corona.cpp +++ b/corona.cpp @@ -126,7 +126,7 @@ void Corona::setFormFactor(FormFactor formFactor) return; } - //kDebug() << "switching FF to " << formFactor << endl; + //kDebug() << "switching FF to " << formFactor; d->formFactor = formFactor; delete d->layout; d->layout = 0; @@ -143,7 +143,7 @@ void Corona::setFormFactor(FormFactor formFactor) case MediaCenter: break; default: - kDebug() << "This can't be happening!" << endl; + kDebug() << "This can't be happening!"; break; } @@ -173,7 +173,7 @@ Applet* Corona::addApplet(const QString& name, const QStringList& args) { Applet* applet = Applet::loadApplet(name, 0, args); if (!applet) { - kDebug() << "Applet " << name << " could not be loaded." << endl; + kDebug() << "Applet " << name << " could not be loaded."; applet = new Applet; applet->setFailedToLaunch(true); } @@ -201,13 +201,13 @@ void Corona::addKaramba(const KUrl& path) addItem(karamba); Phase::self()->animateItem(karamba, Phase::Appear); } else { - kDebug() << "Karamba " << path << " could not be loaded." << endl; + kDebug() << "Karamba " << path << " could not be loaded."; } } void Corona::dragEnterEvent( QGraphicsSceneDragDropEvent *event) { - kDebug() << "Corona::dragEnterEvent(QGraphicsSceneDragDropEvent* event)" << endl; + kDebug() << "Corona::dragEnterEvent(QGraphicsSceneDragDropEvent* event)"; if (event->mimeData()->hasFormat("text/x-plasmoidservicename") || KUrl::List::canDecode(event->mimeData())) { event->acceptProposedAction(); @@ -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; @@ -258,7 +258,7 @@ void Corona::dropEvent(QGraphicsSceneDragDropEvent *event) foreach (const KUrl& url, urls) { KMimeType::Ptr mime = KMimeType::findByUrl(url); QString mimeName = mime->name(); -// kDebug() << mimeName << endl; +// kDebug() << mimeName; KPluginInfo::List appletList = Applet::knownAppletsForMimetype(mimeName); diff --git a/dataengine.cpp b/dataengine.cpp index f790bb5ab..06e91768b 100644 --- a/dataengine.cpp +++ b/dataengine.cpp @@ -124,7 +124,7 @@ DataEngine::DataEngine(QObject* parent) DataEngine::~DataEngine() { - //kDebug() << objectName() << ": bye bye birdy! " << endl; + //kDebug() << objectName() << ": bye bye birdy! "; delete d; } @@ -201,7 +201,7 @@ void DataEngine::startInit() void DataEngine::init() { - // kDebug() << "DataEngine::init() called " << endl; + // kDebug() << "DataEngine::init() called "; // default implementation does nothing. this is for engines that have to // start things in motion external to themselves before they can work } @@ -258,7 +258,7 @@ void DataEngine::addSource(DataContainer* source) { SourceDict::const_iterator it = d->sources.find(source->objectName()); if (it != d->sources.constEnd()) { - kDebug() << "source named \"" << source->objectName() << "\" already exists." << endl; + kDebug() << "source named \"" << source->objectName() << "\" already exists."; return; } @@ -283,7 +283,7 @@ void DataEngine::setSourceLimit(uint limit) void DataEngine::removeSource(const QString& source) { - //kDebug() << "removing source " << source << endl; + //kDebug() << "removing source " << source; SourceDict::iterator it = d->sources.find(source); if (it != d->sources.end()) { emit sourceRemoved(it.key()); diff --git a/dataenginemanager.cpp b/dataenginemanager.cpp index 66fdf9445..879cc6bb9 100644 --- a/dataenginemanager.cpp +++ b/dataenginemanager.cpp @@ -120,13 +120,13 @@ Plasma::DataEngine* DataEngineManager::loadDataEngine(const QString& name) constraint); if (offers.isEmpty()) { - kDebug() << "offers are empty for " << name << " with constraint " << constraint << endl; + kDebug() << "offers are empty for " << name << " with constraint " << constraint; } else { engine = KService::createInstance(offers.first(), 0); } if (!engine) { - kDebug() << "Couldn't load engine \"" << name << "\"!" << endl; + kDebug() << "Couldn't load engine \"" << name << "\"!"; return d->nullEngine(); } diff --git a/phase.cpp b/phase.cpp index b160ac6b9..ee2cf6e41 100644 --- a/phase.cpp +++ b/phase.cpp @@ -182,7 +182,7 @@ void Phase::appletDestroyed(QObject* o) void Phase::animateItem(QGraphicsItem* item, Animation animation) { - //kDebug()<::iterator it = d->animatedItems.find(item); @@ -221,7 +221,7 @@ void Phase::animateItem(QGraphicsItem* item, Animation animation) void Phase::moveItem(QGraphicsItem* item, Movement movement, const QPoint &destination) { - //kDebug()<::iterator it = d->movingItems.find(item); if (it != d->movingItems.end()) { delete it.value(); @@ -268,7 +268,7 @@ void Phase::render(QGraphicsItem* item, QImage& image, RenderOp op) Phase::AnimId Phase::animateElement(QGraphicsItem *item, ElementAnimation animation) { - //kDebug() << "startElementAnimation(AnimId " << animation << ")" << endl; + //kDebug() << "startElementAnimation(AnimId " << animation << ")"; ElementAnimationState *state = new ElementAnimationState; state->item = item; state->curve = d->animator->curve(animation); @@ -281,7 +281,7 @@ Phase::AnimId Phase::animateElement(QGraphicsItem *item, ElementAnimation animat state->currentInterval = state->interval; state->id = ++d->animId; - //kDebug() << "animateElement " << animation << ", interval: " << state->interval << ", frames: " << state->frames << endl; + //kDebug() << "animateElement " << animation << ", interval: " << state->interval << ", frames: " << state->frames; bool needTimer = true; if (state->frames < 1) { state->frames = 1; @@ -292,7 +292,7 @@ Phase::AnimId Phase::animateElement(QGraphicsItem *item, ElementAnimation animat d->animatedElements[state->id] = state; state->item->update(); - //kDebug() << "startElementAnimation(AnimId " << animation << ") returning " << state->id << endl; + //kDebug() << "startElementAnimation(AnimId " << animation << ") returning " << state->id; if (needTimer && !d->timerId) { // start a 20fps timer; //TODO: should be started at the maximum frame rate needed only? @@ -309,7 +309,7 @@ void Phase::stopElementAnimation(AnimId id) delete it.value(); d->animatedElements.erase(it); } - //kDebug() << "stopElementAnimation(AnimId " << id << ") done" << endl; + //kDebug() << "stopElementAnimation(AnimId " << id << ") done"; } void Phase::setAnimationPixmap(AnimId id, const QPixmap &pixmap) @@ -317,7 +317,7 @@ void Phase::setAnimationPixmap(AnimId id, const QPixmap &pixmap) QMap::iterator it = d->animatedElements.find(id); if (it == d->animatedElements.end()) { - kDebug() << "Phase::setAnimationPixmap(" << id << ") found no entry for it!" << endl; + kDebug() << "Phase::setAnimationPixmap(" << id << ") found no entry for it!"; return; } @@ -329,16 +329,16 @@ QPixmap Phase::animationResult(AnimId id) QMap::const_iterator it = d->animatedElements.find(id); if (it == d->animatedElements.constEnd()) { - //kDebug() << "Phase::animationResult(" << id << ") found no entry for it!" << endl; + //kDebug() << "Phase::animationResult(" << id << ") found no entry for it!"; return QPixmap(); } ElementAnimationState* state = it.value(); qreal progress = state->frames; - //kDebug() << "Phase::animationResult(" << id << " at " << progress << endl; + //kDebug() << "Phase::animationResult(" << id << " at " << progress; progress = state->currentFrame / progress; progress = qMin(1.0, qMax(0.0, progress)); - //kDebug() << "Phase::animationResult(" << id << " at " << progress << endl; + //kDebug() << "Phase::animationResult(" << id << " at " << progress; switch (state->animation) { case ElementAppear: @@ -361,7 +361,7 @@ void Phase::timerEvent(QTimerEvent *event) elapsed = d->time.elapsed(); } d->time.restart(); - //kDebug() << "timeEvent, elapsed time: " << elapsed << endl; + //kDebug() << "timeEvent, elapsed time: " << elapsed; foreach (AnimationState* state, d->animatedItems) { if (state->currentInterval <= elapsed) { @@ -398,7 +398,7 @@ void Phase::timerEvent(QTimerEvent *event) qreal progress = state->frames; progress = state->currentFrame / progress; progress = qMin(1.0, qMax(0.0, progress)); - //kDebug()<performMovement(progress, state); state->currentInterval = state->interval; animationsRemain = true; diff --git a/scriptengine.cpp b/scriptengine.cpp index 61c5ca050..7b143edb0 100644 --- a/scriptengine.cpp +++ b/scriptengine.cpp @@ -92,7 +92,7 @@ const Package* ScriptEngine::package() const QStringList ScriptEngine::knownLanguages() { KService::List offers = KServiceTypeTrader::self()->query("Plasma/ScriptEngine"); - //kDebug() << "Applet::knownApplets constraint was '" << constraint << "' which got us " << offers.count() << " matches" << endl; + //kDebug() << "Applet::knownApplets constraint was '" << constraint << "' which got us " << offers.count() << " matches"; QStringList languages; foreach (KService::Ptr service, offers) { @@ -115,7 +115,7 @@ ScriptEngine* ScriptEngine::load(const QString &language, Applet *applet) KService::List offers = KServiceTypeTrader::self()->query("Plasma/ScriptEngine", constraint); if (offers.isEmpty()) { - kDebug() << "ScriptEngine::load: no offers for \"" << language << "\"" << endl; + kDebug() << "ScriptEngine::load: no offers for \"" << language << "\""; return 0; } @@ -129,7 +129,7 @@ ScriptEngine* ScriptEngine::load(const QString &language, Applet *applet) } if (!engine) { - kDebug() << "Couldn't load script engine for language " << language << "!" << endl; + kDebug() << "Couldn't load script engine for language " << language << "!"; return 0; } diff --git a/svg.cpp b/svg.cpp index 18d2cc466..dc4b18002 100644 --- a/svg.cpp +++ b/svg.cpp @@ -52,7 +52,7 @@ class SharedSvgRenderer : public KSvgRenderer, public QSharedData ~SharedSvgRenderer() { - kDebug() << "leaving this world for a better one." << endl; + kDebug() << "leaving this world for a better one."; } }; @@ -68,7 +68,7 @@ class Svg::Private themed = false; if (!QFile::exists(path)) { - kDebug() << "Plasma::Svg: file '" << path << "' does not exist!" << endl; + kDebug() << "Plasma::Svg: file '" << path << "' does not exist!"; } } else { themePath = imagePath; @@ -106,13 +106,13 @@ class Svg::Private if (!elementId.isEmpty()) { id.append(elementId); } - //kDebug() << "id is " << id << endl; + //kDebug() << "id is " << id; if (QPixmapCache::find(id, p)) { - //kDebug() << "found cached version of " << id << endl; + //kDebug() << "found cached version of " << id; return; } else { - //kDebug() << "didn't find cached version of " << id << ", so re-rendering" << endl; + //kDebug() << "didn't find cached version of " << id << ", so re-rendering"; } // we have to re-render this puppy @@ -122,7 +122,7 @@ class Svg::Private } else { s = elementSize(elementId); } - //kDebug() << "size for " << elementId << " is " << s << endl; + //kDebug() << "size for " << elementId << " is " << s; p = QPixmap(s); p.fill(Qt::transparent); @@ -150,7 +150,7 @@ class Svg::Private QHash::const_iterator it = renderers.find(path); if (it != renderers.end()) { - //kDebug() << "gots us an existing one!" << endl; + //kDebug() << "gots us an existing one!"; renderer = it.value(); } else { renderer = new SharedSvgRenderer(path); @@ -212,7 +212,7 @@ void Svg::paint(QPainter* painter, const QPointF& point, const QString& elementI { QPixmap pix; d->findInCache(pix, elementID); - //kDebug() << "pix size is " << pix.size() << endl; + //kDebug() << "pix size is " << pix.size(); painter->drawPixmap(QRectF(point, pix.size()), pix, QRectF(QPointF(0,0), pix.size())); } @@ -225,7 +225,7 @@ void Svg::paint(QPainter* painter, const QRectF& rect, const QString& elementID) { QPixmap pix; d->findInCache(pix, elementID); - //kDebug() << "pix size is " << pix.size() << endl; + //kDebug() << "pix size is " << pix.size(); painter->drawPixmap(rect, pix, QRectF(QPointF(0,0), pix.size())); } diff --git a/widgets/hboxlayout.cpp b/widgets/hboxlayout.cpp index e4fb72998..4eebdaee2 100644 --- a/widgets/hboxlayout.cpp +++ b/widgets/hboxlayout.cpp @@ -54,11 +54,11 @@ qreal HBoxLayout::widthForHeight(qreal w) const void HBoxLayout::setGeometry(const QRectF& geometry) { if (!geometry.isValid() || geometry.isEmpty()) { - kDebug() << "Invalid Geometry " << geometry << endl; + kDebug() << "Invalid Geometry " << geometry; return; } - //kDebug() << this << " Geometry process " << geometry << " for " << children().count() << " childrens"<< endl; + //kDebug() << this << " Geometry process " << geometry << " for " << children().count() << " childrens"; QList fixedChildren; QList expandingChildren; @@ -93,7 +93,7 @@ void HBoxLayout::setGeometry(const QRectF& geometry) for (int i = 0; i < sizes.size(); i++) { LayoutItem *l = itemAt(i); - kDebug() << "Setting Geometry for child " << l << " to " << QRectF(start, sizes[i]) << endl; + kDebug() << "Setting Geometry for child " << l << " to " << QRectF(start, sizes[i]); l->setGeometry(QRectF(start, sizes[i])); start += QPointF(sizes[i].width() + spacing(), 0.0); } diff --git a/widgets/icon.cpp b/widgets/icon.cpp index b1a3970be..82aaa95e1 100644 --- a/widgets/icon.cpp +++ b/widgets/icon.cpp @@ -305,7 +305,7 @@ bool IconAction::event(QEvent::Type type, const QPointF &pos) break; case QEvent::MouseButtonRelease: { - kDebug() << "IconAction::event got a QEvent::MouseButtonRelease, " << isSelected() << endl; + kDebug() << "IconAction::event got a QEvent::MouseButtonRelease, " << isSelected(); bool wasSelected = isSelected(); setSelected(false); if (wasSelected) { @@ -387,7 +387,7 @@ void Icon::addAction(QAction *action) { int count = d->cornerActions.count(); if (count > 3) { - kDebug() << "Icon::addAction(QAction*) no more room for more actions!" << endl; + kDebug() << "Icon::addAction(QAction*) no more room for more actions!"; } IconAction* iconAction = new IconAction(this, action); @@ -689,7 +689,7 @@ bool Icon::isDown() void Icon::mousePressEvent(QGraphicsSceneMouseEvent *event) { -kDebug() << "Icon::mousePressEvent " << endl; +kDebug() << "Icon::mousePressEvent "; foreach (IconAction *action, d->cornerActions) { action->event(event->type(), event->pos()); } @@ -702,7 +702,7 @@ kDebug() << "Icon::mousePressEvent " << endl; void Icon::mouseReleaseEvent(QGraphicsSceneMouseEvent *event) { bool inside = boundingRect().contains(event->pos()); -kDebug() << "Icon::mouseReleaseEvent " << inside << endl; +kDebug() << "Icon::mouseReleaseEvent " << inside; Private::ButtonState was = d->state; if (inside) { d->state = Private::HoverState; diff --git a/widgets/layoutitem.cpp b/widgets/layoutitem.cpp index 143adb218..8ecdc7663 100644 --- a/widgets/layoutitem.cpp +++ b/widgets/layoutitem.cpp @@ -79,7 +79,7 @@ qreal LayoutItem::widthForHeight(qreal h) const void LayoutItem::setLayout(Layout* layout) { if (d->layout && layout) { - kDebug() << k_funcinfo << " already have a layout." << endl; + kDebug() << k_funcinfo << " already have a layout."; return; } diff --git a/widgets/lineedit.cpp b/widgets/lineedit.cpp index c9a9b1558..7dbf54f6d 100644 --- a/widgets/lineedit.cpp +++ b/widgets/lineedit.cpp @@ -154,7 +154,7 @@ qreal LineEdit::heightForWidth(qreal w) const QTextDocument* doc = document(); doc->setTextWidth(w); qreal height = doc->size().height(); - kDebug() << "LineEdit::heightForWidth(" << w << ") is " << height << endl; + kDebug() << "LineEdit::heightForWidth(" << w << ") is " << height; return height; } @@ -182,7 +182,7 @@ void LineEdit::setGeometry(const QRectF& geometry) QSizeF LineEdit::sizeHint() const { - kDebug() << "LineEdit::sizeeHint() " << document()->size() << endl; + kDebug() << "LineEdit::sizeeHint() " << document()->size(); return document()->size(); } diff --git a/widgets/vboxlayout.cpp b/widgets/vboxlayout.cpp index 86e38273c..956ae20fd 100644 --- a/widgets/vboxlayout.cpp +++ b/widgets/vboxlayout.cpp @@ -54,12 +54,12 @@ qreal VBoxLayout::heightForWidth(qreal w) const void VBoxLayout::setGeometry(const QRectF& geometry) { if (!geometry.isValid() || geometry.isEmpty()) { - kDebug() << "Invalid Geometry " << geometry << endl; + kDebug() << "Invalid Geometry " << geometry; BoxLayout::setGeometry(geometry); return; } - kDebug() << this << " Geometry process " << geometry << " for " << children().count() << " children"<< endl; + kDebug() << this << " Geometry process " << geometry << " for " << children().count() << " children"; QList fixedChildren; QList expandingChildren; @@ -67,7 +67,7 @@ void VBoxLayout::setGeometry(const QRectF& geometry) QSizeF available = geometry.size() - QSizeF(2 * margin(), 2 * margin()); foreach (LayoutItem *l, children()) { - kDebug() << "testing layout item " << l << endl; + kDebug() << "testing layout item " << l; if (l->expandingDirections() & Qt::Vertical) { expandingChildren.append(l); } else { @@ -98,7 +98,7 @@ void VBoxLayout::setGeometry(const QRectF& geometry) for (int i = 0; i < sizes.size(); i++) { LayoutItem *l = itemAt(i); - kDebug() << "Setting Geometry for child " << l << " to " << QRectF(start, sizes[i]) << endl; + kDebug() << "Setting Geometry for child " << l << " to " << QRectF(start, sizes[i]); l->setGeometry(QRectF(start, sizes[i])); start += QPointF(0.0, sizes[i].height() + spacing()); diff --git a/widgets/widget.cpp b/widgets/widget.cpp index 5cb510495..0cdd02970 100644 --- a/widgets/widget.cpp +++ b/widgets/widget.cpp @@ -147,7 +147,7 @@ void Widget::setGeometry(const QRectF& geometry) void Widget::updateGeometry() { if (layout()) { - kDebug() << (void *) this << " updating geometry to " << size() << endl; + kDebug() << (void *) this << " updating geometry to " << size(); layout()->setGeometry(geometry()); } }