summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /kde-misc/smooth-tasks/files
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip
proj/gentoo: Initial commit
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'kde-misc/smooth-tasks/files')
-rw-r--r--kde-misc/smooth-tasks/files/smooth-tasks-0_p20120130-kde48.patch176
1 files changed, 176 insertions, 0 deletions
diff --git a/kde-misc/smooth-tasks/files/smooth-tasks-0_p20120130-kde48.patch b/kde-misc/smooth-tasks/files/smooth-tasks-0_p20120130-kde48.patch
new file mode 100644
index 000000000000..c754ba1c2fe5
--- /dev/null
+++ b/kde-misc/smooth-tasks/files/smooth-tasks-0_p20120130-kde48.patch
@@ -0,0 +1,176 @@
+diff -u src/smooth-tasks-fork/applet/SmoothTasks/PlasmaToolTip.cpp src/smooth-tasks-fork/applet/SmoothTasksX/PlasmaToolTip.cpp
+--- src/smooth-tasks-fork/applet/SmoothTasks/PlasmaToolTip.cpp 2011-12-24 03:13:55.604361299 +0100
++++ src/smooth-tasks-fork/applet/SmoothTasksX/PlasmaToolTip.cpp 2011-12-24 03:11:00.000000000 +0100
+@@ -91,7 +91,7 @@
+ }
+
+ Plasma::ToolTipContent data;
+- TaskManager::TaskPtr taskPtr(task->task());
++ TaskManager::Task* taskPtr(task->task());
+ QList<WId> windows;
+ int desktop = -1;
+
+diff -u src/smooth-tasks-fork/applet/SmoothTasks/SmoothToolTip.cpp src/smooth-tasks-fork/applet/SmoothTasksX/SmoothToolTip.cpp
+--- src/smooth-tasks-fork/applet/SmoothTasks/SmoothToolTip.cpp 2011-12-24 03:13:55.605361287 +0100
++++ src/smooth-tasks-fork/applet/SmoothTasksX/SmoothToolTip.cpp 2011-12-24 03:10:24.000000000 +0100
+@@ -474,7 +474,7 @@
+ foreach (WindowPreview *preview, m_previews) {
+ preview->show();
+
+- TaskManager::TaskPtr task = preview->task()->task();
++ TaskManager::Task* task = preview->task()->task();
+
+ if (task && preview->task()->type() != Task::StartupItem && preview->task()->type() != Task::LauncherItem) {
+ winIds.append(task->window());
+diff -u src/smooth-tasks-fork/applet/SmoothTasks/Task.cpp src/smooth-tasks-fork/applet/SmoothTasksX/Task.cpp
+--- src/smooth-tasks-fork/applet/SmoothTasks/Task.cpp 2011-12-24 03:13:55.606361275 +0100
++++ src/smooth-tasks-fork/applet/SmoothTasksX/Task.cpp 2011-12-24 03:07:21.000000000 +0100
+@@ -118,8 +118,8 @@
+ }
+
+ QString Task::text() const {
+- TaskManager::TaskPtr task;
+- TaskManager::StartupPtr startup;
++ TaskManager::Task *task;
++ TaskManager::Startup *startup;
+
+ switch (type()) {
+ case StartupItem:
+@@ -186,12 +186,23 @@
+ return m_task ? m_task->task()->desktop() : -1;
+ }
+
+-TaskManager::TaskPtr Task::task() const {
+- return m_task ? m_task->task() : TaskManager::TaskPtr();
+-}
+-
+-TaskManager::StartupPtr Task::startup() const {
+- return m_task ? m_task->startup() : TaskManager::StartupPtr();
++TaskManager::Task* Task::task() const {
++ if (m_task) {
++ return m_task->task();
++ } else {
++ TaskManager::Task *task;
++ return task;
++ }
++ //return m_task ? m_task->task() : ::TaskManager::Task task;
++}
++
++TaskManager::Startup* Task::startup() const {
++ if (m_task) {
++ return m_task->startup();
++ } else {
++ TaskManager::Startup* startup;
++ return startup;
++ }
+ }
+
+ int Task::taskCount() const {
+@@ -309,7 +320,7 @@
+ void Task::setWindowTask(TaskManager::TaskItem* taskItem) {
+ m_type = TaskItem;
+ if (m_task && m_task->task()) {
+- disconnect(m_task->task().constData(), 0, this, 0);
++ disconnect(m_task->task(), 0, this, 0);
+ }
+
+ m_task = taskItem;
+diff -u src/smooth-tasks-fork/applet/SmoothTasks/Task.h src/smooth-tasks-fork/applet/SmoothTasksX/Task.h
+--- src/smooth-tasks-fork/applet/SmoothTasks/Task.h 2011-12-24 03:13:55.607361262 +0100
++++ src/smooth-tasks-fork/applet/SmoothTasksX/Task.h 2011-12-24 02:34:23.000000000 +0100
+@@ -78,12 +78,12 @@
+ QString text() const;
+ QString description() const;
+ int desktop() const;
+- TaskManager::TaskPtr task() const;
++ TaskManager::Task *task() const;
+ TaskManager::AbstractGroupableItem *abstractItem() { return m_abstractItem; }
+ TaskManager::GroupPtr group() const { return m_group; }
+- TaskManager::TaskItem *taskItem() const { return m_task; }
++ TaskManager::TaskItem *taskItem() const { return m_task; }
+ TaskManager::LauncherItem *launcherItem() const { return m_launcher; }
+- TaskManager::StartupPtr startup() const;
++ TaskManager::Startup *startup() const;
+ TaskFlags flags() const { return m_flags; }
+ ItemType type() const { return m_type; }
+ void addMimeData(QMimeData* mimeData);
+Only in src/smooth-tasks-fork/applet/SmoothTasksX: .Task.h.kate-swp
+diff -u src/smooth-tasks-fork/applet/SmoothTasks/TaskItem.cpp src/smooth-tasks-fork/applet/SmoothTasksX/TaskItem.cpp
+--- src/smooth-tasks-fork/applet/SmoothTasks/TaskItem.cpp 2011-12-24 03:13:55.610361223 +0100
++++ src/smooth-tasks-fork/applet/SmoothTasksX/TaskItem.cpp 2011-12-24 03:09:11.000000000 +0100
+@@ -375,7 +375,7 @@
+
+ void TaskItem::publishIconGeometry() {
+ QRect iconRect(iconGeometry());
+- TaskManager::TaskPtr task;
++ TaskManager::Task *task;
+ TaskManager::GroupPtr group;
+
+ switch (m_task->type()) {
+@@ -465,7 +465,7 @@
+ }
+
+ void TaskItem::mouseReleaseEvent(QGraphicsSceneMouseEvent *event) {
+- TaskManager::TaskPtr task;
++ TaskManager::Task* task;
+
+ switch (event->button()) {
+ case Qt::LeftButton:
+@@ -626,7 +626,7 @@
+ }
+
+ void TaskItem::activate() {
+- TaskManager::TaskPtr task;
++ TaskManager::Task* task;
+
+ switch (m_task->type()) {
+ case Task::TaskItem:
+Common subdirectories: src/smooth-tasks-fork/applet/SmoothTasks/Ui and src/smooth-tasks-fork/applet/SmoothTasksX/Ui
+diff -u src/smooth-tasks-fork/applet/SmoothTasks/WindowPreview.cpp src/smooth-tasks-fork/applet/SmoothTasksX/WindowPreview.cpp
+--- src/smooth-tasks-fork/applet/SmoothTasks/WindowPreview.cpp 2011-12-24 03:13:55.619361111 +0100
++++ src/smooth-tasks-fork/applet/SmoothTasksX/WindowPreview.cpp 2011-12-24 03:12:49.000000000 +0100
+@@ -117,7 +117,7 @@
+ if (m_toolTip->previewsAvailable()) {
+ // determine preview size:
+ WId wid = 0;
+- TaskManager::TaskPtr task = m_task->task();
++ TaskManager::Task* task = m_task->task();
+
+ if (task) {
+ wid = task->window();
+@@ -297,7 +297,7 @@
+ }
+
+ void WindowPreview::highlightTask() {
+- TaskManager::TaskPtr task = m_task->task();
++ TaskManager::Task* task = m_task->task();
+
+ if (task) {
+ m_toolTip->highlightTask(task->window());
+@@ -325,7 +325,7 @@
+ m_toolTip->hide();
+
+ if(m_task->type() != Task::LauncherItem) {
+- TaskManager::TaskPtr task = m_task->task();
++ TaskManager::Task* task = m_task->task();
+ if (task) {
+ task->activate();
+ }
+@@ -336,7 +336,7 @@
+ }
+
+ void WindowPreview::activateForDrop() {
+- TaskManager::TaskPtr task = m_task->task();
++ TaskManager::Task* task = m_task->task();
+ if (task) {
+ if (task->isMinimized()) {
+ task->restore();
+@@ -347,7 +347,7 @@
+ }
+
+ void WindowPreview::closeTask() {
+- TaskManager::TaskPtr task = m_task->task();
++ TaskManager::Task* task = m_task->task();
+ if (task) {
+ task->close();
+ }