summaryrefslogtreecommitdiffstats
path: root/kpf/src/Applet.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-11-09 10:36:57 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-11-09 17:21:24 +0900
commit7367a616169a4ec8b35b5a993852c336aaeec25b (patch)
tree2fd2b837621af51718278a66c8d5151fec1d77e8 /kpf/src/Applet.cpp
parenta14ec34f576f49ee1abf4844883fb9e3af69eeb3 (diff)
downloadtdenetwork-7367a616169a4ec8b35b5a993852c336aaeec25b.tar.gz
tdenetwork-7367a616169a4ec8b35b5a993852c336aaeec25b.zip
Replace Qt with TQt
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit b53c83209a6b927b27600899a780db1efc985ecb)
Diffstat (limited to 'kpf/src/Applet.cpp')
-rw-r--r--kpf/src/Applet.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/kpf/src/Applet.cpp b/kpf/src/Applet.cpp
index 0ee0b264..dca2c4aa 100644
--- a/kpf/src/Applet.cpp
+++ b/kpf/src/Applet.cpp
@@ -148,7 +148,7 @@ namespace KPF
if (0 == serverCount)
serverCount = 1;
- if (Qt::Vertical == orientation())
+ if (TQt::Vertical == orientation())
return h / serverCount;
else
return h * serverCount;
@@ -162,7 +162,7 @@ namespace KPF
if (0 == serverCount)
serverCount = 1;
- if (Qt::Vertical == orientation())
+ if (TQt::Vertical == orientation())
return w * serverCount;
else
return w / serverCount;
@@ -220,7 +220,7 @@ namespace KPF
}
void
- Applet::orientationChange(Qt::Orientation)
+ Applet::orientationChange(TQt::Orientation)
{
resetLayout();
}
@@ -248,7 +248,7 @@ namespace KPF
switch (orientation())
{
- case Qt::Vertical:
+ case TQt::Vertical:
{
uint itemHeight = height() / itemList_.count();
@@ -262,7 +262,7 @@ namespace KPF
}
break;
- case Qt::Horizontal:
+ case TQt::Horizontal:
{
uint itemWidth = width() / itemList_.count();
@@ -282,7 +282,7 @@ namespace KPF
void
Applet::mousePressEvent(TQMouseEvent * ev)
{
- if (Qt::RightButton != ev->button() && Qt::LeftButton != ev->button())
+ if (TQt::RightButton != ev->button() && TQt::LeftButton != ev->button())
return;
switch (popup_->exec(TQCursor::pos()))