summaryrefslogtreecommitdiffstats
path: root/kicker/taskbar
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-09-25 12:23:23 +0900
committerMichele Calgaro <[email protected]>2023-09-25 17:53:57 +0900
commit0bfe293635aacc850731080cbda642a0b94baf94 (patch)
treebc77925f966255c5f66a069e63266828a168b296 /kicker/taskbar
parentb5a1d6eca507ade6d0a22fabdb7f318cbd58f1a4 (diff)
downloadtdebase-0bfe293635aacc850731080cbda642a0b94baf94.tar.gz
tdebase-0bfe293635aacc850731080cbda642a0b94baf94.zip
Replace QObject, QWidget, QImage, QPair, QRgb, QColor, QChar, QString, QIODevice with TQ* version
Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit 33c7d159890b81da8f44ee330a349e3abd553bec)
Diffstat (limited to 'kicker/taskbar')
-rw-r--r--kicker/taskbar/taskbar.cpp2
-rw-r--r--kicker/taskbar/taskbar.kcfg6
-rw-r--r--kicker/taskbar/taskcontainer.cpp4
3 files changed, 6 insertions, 6 deletions
diff --git a/kicker/taskbar/taskbar.cpp b/kicker/taskbar/taskbar.cpp
index d4e04f6b5..af4f0f909 100644
--- a/kicker/taskbar/taskbar.cpp
+++ b/kicker/taskbar/taskbar.cpp
@@ -1254,7 +1254,7 @@ TQImage* TaskBar::blendGradient(const TQSize& size)
void TaskBar::sortContainersByDesktop(TaskContainer::List& list)
{
- typedef TQValueVector<QPair<int, QPair<int, TaskContainer*> > > SortVector;
+ typedef TQValueVector<TQPair<int, TQPair<int, TaskContainer*> > > SortVector;
SortVector sorted;
sorted.resize(list.count());
int i = 0;
diff --git a/kicker/taskbar/taskbar.kcfg b/kicker/taskbar/taskbar.kcfg
index 7436f2e8e..86ea32dca 100644
--- a/kicker/taskbar/taskbar.kcfg
+++ b/kicker/taskbar/taskbar.kcfg
@@ -200,17 +200,17 @@
</entry>
<entry name="ActiveTaskTextColor" type="Color" >
<label>Color to use for active task button text</label>
- <default code="true">QColor()</default>
+ <default code="true">TQColor()</default>
<whatsthis>This color is used for displaying text on taskbar button for task which is active at the moment.</whatsthis>
</entry>
<entry name="InactiveTaskTextColor" type="Color" >
<label>Color to use for inactive tasks button text</label>
- <default code="true">QColor()</default>
+ <default code="true">TQColor()</default>
<whatsthis>This color is used for displaying text on taskbar button for tasks other than active.</whatsthis>
</entry>
<entry name="TaskBackgroundColor" type="Color" >
<label>Color to use for taskbar buttons background</label>
- <default code="true">QColor()</default>
+ <default code="true">TQColor()</default>
<whatsthis>This color is used for displaying background of taskbar buttons.</whatsthis>
</entry>
<entry name="IconSize" type="UInt" >
diff --git a/kicker/taskbar/taskcontainer.cpp b/kicker/taskbar/taskcontainer.cpp
index 9cea8a32e..cf3dbc648 100644
--- a/kicker/taskbar/taskcontainer.cpp
+++ b/kicker/taskbar/taskcontainer.cpp
@@ -1726,7 +1726,7 @@ void TaskContainer::updateFilteredTaskList()
// sort container list by desktop
if (taskBar->sortByDesktop() && m_filteredTasks.count() > 1)
{
- TQValueVector<QPair<int, Task::Ptr> > sorted;
+ TQValueVector<TQPair<int, Task::Ptr> > sorted;
sorted.resize(m_filteredTasks.count());
int i = 0;
@@ -1741,7 +1741,7 @@ void TaskContainer::updateFilteredTaskList()
qHeapSort(sorted);
m_filteredTasks.clear();
- for (TQValueVector<QPair<int, Task::Ptr> >::iterator it = sorted.begin();
+ for (TQValueVector<TQPair<int, Task::Ptr> >::iterator it = sorted.begin();
it != sorted.end();
++it)
{