[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdebase/workspace/plasma/applets
From: David Faure <faure () kde ! org>
Date: 2008-01-30 15:31:10
Message-ID: 1201707070.123834.26337.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 768754 by dfaure:
qDebug -> kDebug
M +0 -2 devicenotifier/itemdelegate.cpp
M +2 -2 kickoff/applet/applet.cpp
M +1 -1 kickoff/core/favoritesmodel.cpp
M +3 -3 kickoff/core/itemhandlers.cpp
M +4 -4 kickoff/core/recentapplications.cpp
M +4 -4 kickoff/core/recentlyusedmodel.cpp
M +3 -3 kickoff/core/searchmodel.cpp
M +0 -1 kickoff/core/systemmodel.cpp
M +3 -3 kickoff/core/urlitemlauncher.cpp
M +0 -1 kickoff/simpleapplet/menuview.cpp
M +0 -1 kickoff/simpleapplet/simpleapplet.cpp
M +0 -1 kickoff/ui/contextmenufactory.cpp
M +2 -3 kickoff/ui/flipscrollview.cpp
M +0 -2 kickoff/ui/itemdelegate.cpp
M +0 -1 kickoff/ui/tabbar.cpp
M +2 -2 kickoff/ui/urlitemview.cpp
M +1 -1 tasks/abstracttaskitem.cpp
M +1 -1 tasks/taskgroupitem.cpp
M +1 -1 tasks/windowtaskitem.cpp
--- trunk/KDE/kdebase/workspace/plasma/applets/devicenotifier/itemdelegate.cpp \
#768753:768754 @@ -30,8 +30,6 @@
#include <QPainter>
#include <QStyleOptionViewItem>
-#include <QtDebug>
-
// KDE
#include <KColorUtils>
#include <KDebug>
--- trunk/KDE/kdebase/workspace/plasma/applets/kickoff/applet/applet.cpp \
#768753:768754 @@ -27,10 +27,10 @@
#include <QCheckBox>
#include <QVBoxLayout>
#include <QLabel>
-#include <QtDebug>
// KDE
#include <KIcon>
+#include <KDebug>
#include <KDialog>
#include <KNumInput>
@@ -155,7 +155,7 @@
return;
}
- //qDebug() << "Launcher button clicked";
+ //kDebug() << "Launcher button clicked";
if (!d->launcher) {
d->launcher = new Kickoff::Launcher(0);
d->launcher->setWindowFlags(d->launcher->windowFlags()|Qt::WindowStaysOnTopHint|Qt::Popup);
--- trunk/KDE/kdebase/workspace/plasma/applets/kickoff/core/favoritesmodel.cpp \
#768753:768754 @@ -37,7 +37,7 @@
url,-1,
Qt::MatchFlags(Qt::MatchStartsWith | \
Qt::MatchWrap | Qt::MatchRecursive));
- qDebug() << "Removing item matches" << matches;
+ kDebug() << "Removing item matches" << matches;
foreach(const QModelIndex& index,matches) {
QStandardItem *item = q->itemFromIndex(index);
--- trunk/KDE/kdebase/workspace/plasma/applets/kickoff/core/itemhandlers.cpp \
#768753:768754 @@ -22,10 +22,10 @@
// Qt
#include <QUrl>
-#include <QtDebug>
#include <QTimer>
// KDE
+#include <KDebug>
#include <KService>
#include <KToolInvocation>
#include <solid/powermanagement.h>
@@ -96,9 +96,9 @@
if (m_logoutAction == "logout") {
type = KWorkSpace::ShutdownTypeNone;
} else if (m_logoutAction == "lock") {
- qDebug() << "Locking screen";
+ kDebug() << "Locking screen";
} else if (m_logoutAction == "switch") {
- qDebug() << "Switching user";
+ kDebug() << "Switching user";
} else if (m_logoutAction == "restart") {
type = KWorkSpace::ShutdownTypeReboot;
} else if (m_logoutAction == "shutdown") {
--- trunk/KDE/kdebase/workspace/plasma/applets/kickoff/core/recentapplications.cpp \
#768753:768754 @@ -23,11 +23,11 @@
// Qt
#include <QHash>
#include <QLinkedList>
-#include <QtDebug>
// KDE
#include <KConfigGroup>
#include <KGlobal>
+#include <KDebug>
// Local
#include "core/models.h"
@@ -87,7 +87,7 @@
// if this service is already in the list then remove the existing
// queue entry (so that there are no duplicates in the queue)
if (serviceInfo.contains(id)) {
- qDebug() << "Duplicate entry added. Removing existing entry from \
queue."; + kDebug() << "Duplicate entry added. Removing existing entry \
from queue."; serviceQueue.erase(serviceInfo[id].queueIter);
}
@@ -99,7 +99,7 @@
// remove the least recently used service
if (serviceQueue.count() > maxServices) {
QString removeId = serviceQueue.takeFirst();
- qDebug() << "More than max services added. Removing" << removeId << \
"from queue."; + kDebug() << "More than max services added. Removing" << \
removeId << "from queue."; serviceInfo.remove(removeId);
emit instance.applicationRemoved(KService::serviceByStorageId(removeId));
}
@@ -180,7 +180,7 @@
privateSelf->addEntry(info.storageId,info);
- qDebug() << "Recent app added" << info.storageId << info.startCount;
+ kDebug() << "Recent app added" << info.storageId << info.startCount;
emit applicationAdded(service,info.startCount);
}
--- trunk/KDE/kdebase/workspace/plasma/applets/kickoff/core/recentlyusedmodel.cpp \
#768753:768754 @@ -53,7 +53,7 @@
}
QStandardItem *existingItem = itemsByPath[path];
- //qDebug() << "Removing existing item" << existingItem;
+ //kDebug() << "Removing existing item" << existingItem;
Q_ASSERT(existingItem->parent());
existingItem->parent()->removeRow(existingItem->row());
itemsByPath.remove(path);
@@ -83,7 +83,7 @@
QStandardItem *documentItem = \
StandardItemFactory::createItemForUrl(desktopPath); \
itemsByPath.insert(desktopPath,documentItem);
- //qDebug() << "Document item" << documentItem << "text" << \
documentItem->text() << "url" << documentUrl.url(); + //kDebug() << \
"Document item" << documentItem << "text" << documentItem->text() << "url" << \
documentUrl.url(); if (append) {
recentDocumentItem->appendRow(documentItem);
} else {
@@ -144,12 +144,12 @@
}
void RecentlyUsedModel::recentDocumentAdded(const QString& path)
{
- qDebug() << "Recent document added" << path;
+ kDebug() << "Recent document added" << path;
d->addRecentDocument(path,false);
}
void RecentlyUsedModel::recentDocumentRemoved(const QString& path)
{
- qDebug() << "Recent document removed" << path;
+ kDebug() << "Recent document removed" << path;
d->removeExistingItem(path);
}
--- trunk/KDE/kdebase/workspace/plasma/applets/kickoff/core/searchmodel.cpp \
#768753:768754 @@ -22,9 +22,9 @@
#include "config-kickoff-applets.h"
// Qt
-#include <QtDebug>
// KDE
+#include <KDebug>
#include <KMimeType>
#include <KServiceTypeTrader>
#ifdef HAVE_STRIGIDBUS
@@ -87,7 +87,7 @@
Q_ASSERT(iface);
foreach(const QString& result,results) {
- //qDebug() << "Search hit from" << iface->name() << result;
+ //kDebug() << "Search hit from" << iface->name() << result;
QStandardItem *resultItem = StandardItemFactory::createItemForUrl(result);
d->addItemForIface(iface,resultItem);
}
@@ -185,7 +185,7 @@
{
KMimeType::Ptr type = KMimeType::findByPath('.'+query,0,true);
if (type) {
- qDebug() << "Mime type name" << type->name();
+ kDebug() << "Mime type name" << type->name();
return type->name();
}
return QString();
--- trunk/KDE/kdebase/workspace/plasma/applets/kickoff/core/systemmodel.cpp \
#768753:768754 @@ -24,7 +24,6 @@
// Qt
#include <QFile>
#include <QHash>
-#include <QtDebug>
#include <QTimer>
// KDE
--- trunk/KDE/kdebase/workspace/plasma/applets/kickoff/core/urlitemlauncher.cpp \
#768753:768754 @@ -26,9 +26,9 @@
#include <QHash>
#include <QModelIndex>
#include <QUrl>
-#include <QtDebug>
// KDE
+#include <KDebug>
#include <KRun>
#include <Solid/Device>
#include <Solid/StorageAccess>
@@ -65,7 +65,7 @@
static bool openUrl(const QString &urlString)
{
- qDebug() << "Opening item with URL" << urlString;
+ kDebug() << "Opening item with URL" << urlString;
QUrl url(urlString);
HandlerInfo protocolHandler = globalHandlers[url.scheme()];
@@ -114,7 +114,7 @@
}
}
- qDebug() << "Item" << index.data(Qt::DisplayRole) << "has no URL to open.";
+ kDebug() << "Item" << index.data(Qt::DisplayRole) << "has no URL to open.";
return false;
}
--- trunk/KDE/kdebase/workspace/plasma/applets/kickoff/simpleapplet/menuview.cpp \
#768753:768754 @@ -24,7 +24,6 @@
#include <QtCore/QAbstractItemModel>
#include <QtCore/QStack>
#include <QtCore/QUrl>
-#include <QtDebug>
// Local
#include "core/models.h"
--- trunk/KDE/kdebase/workspace/plasma/applets/kickoff/simpleapplet/simpleapplet.cpp \
#768753:768754 @@ -26,7 +26,6 @@
#include <QComboBox>
#include <QGridLayout>
#include <QGraphicsView>
-#include <QtDebug>
#include <QMetaObject>
#include <QMetaEnum>
#include <QPointer>
--- trunk/KDE/kdebase/workspace/plasma/applets/kickoff/ui/contextmenufactory.cpp \
#768753:768754 @@ -23,7 +23,6 @@
// Qt
#include <QAbstractItemView>
-#include <QtDebug>
#include <QMap>
// KDE
--- trunk/KDE/kdebase/workspace/plasma/applets/kickoff/ui/flipscrollview.cpp \
#768753:768754 @@ -26,7 +26,6 @@
#include <QScrollBar>
#include <QStack>
#include <QTimeLine>
-#include <QtDebug>
// KDE
#include <KDebug>
@@ -349,7 +348,7 @@
QModelIndex FlipScrollView::moveCursor(CursorAction \
cursorAction,Qt::KeyboardModifiers) {
QModelIndex index = currentIndex();
- // qDebug() << "Moving cursor with current index" << index.data(Qt::DisplayRole);
+ // kDebug() << "Moving cursor with current index" << index.data(Qt::DisplayRole);
switch (cursorAction) {
case MoveUp:
if (currentIndex().row() > 0) {
@@ -387,7 +386,7 @@
update(d->hoveredIndex);
d->hoveredIndex = index;
- //qDebug() << "New index after move" << index.data(Qt::DisplayRole);
+ //kDebug() << "New index after move" << index.data(Qt::DisplayRole);
return index;
}
--- trunk/KDE/kdebase/workspace/plasma/applets/kickoff/ui/itemdelegate.cpp \
#768753:768754 @@ -29,8 +29,6 @@
#include <QPainter>
#include <QStyleOptionViewItem>
-#include <QtDebug>
-
// KDE
#include <KColorUtils>
#include <KDebug>
--- trunk/KDE/kdebase/workspace/plasma/applets/kickoff/ui/tabbar.cpp #768753:768754
@@ -24,7 +24,6 @@
#include <QIcon>
#include <QMouseEvent>
#include <QPainter>
-#include <QtDebug>
#include <QGradient>
#include <QLinearGradient>
--- trunk/KDE/kdebase/workspace/plasma/applets/kickoff/ui/urlitemview.cpp \
#768753:768754 @@ -434,13 +434,13 @@
void UrlItemView::startDrag(Qt::DropActions supportedActions)
{
- qDebug() << "Starting UrlItemView drag with actions" << supportedActions;
+ kDebug() << "Starting UrlItemView drag with actions" << supportedActions;
QAbstractItemView::startDrag(supportedActions);
}
void UrlItemView::dropEvent(QDropEvent *)
{
- qDebug() << "UrlItemView drop event";
+ kDebug() << "UrlItemView drop event";
}
ItemStateProvider *UrlItemView::itemStateProvider() const
--- trunk/KDE/kdebase/workspace/plasma/applets/tasks/abstracttaskitem.cpp \
#768753:768754 @@ -188,7 +188,7 @@
200);
#endif
- // qDebug() << "Task max size hint:" << sz;
+ // kDebug() << "Task max size hint:" << sz;
return size;
}
--- trunk/KDE/kdebase/workspace/plasma/applets/tasks/taskgroupitem.cpp #768753:768754
@@ -166,7 +166,7 @@
Q_ASSERT( from >= 0 && from < _tasks.size() );
Q_ASSERT( to >= 0 && to < _tasks.size() );
- qDebug() << "Reordering from" << from << "to" << to;
+ kDebug() << "Reordering from" << from << "to" << to;
AbstractTaskItem* task = _tasks.takeAt(from).task;
_tasks.insert(to,TaskEntry(task));
--- trunk/KDE/kdebase/workspace/plasma/applets/tasks/windowtaskitem.cpp \
#768753:768754 @@ -142,7 +142,7 @@
updateTask();
publishIconGeometry();
- qDebug() << "Task added, isActive = " << task->isActive();
+ kDebug() << "Task added, isActive = " << task->isActive();
}
TaskManager::TaskPtr WindowTaskItem::windowTask() const
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic