summaryrefslogtreecommitdiffstats
path: root/kicker/libkicker
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-09-12 21:15:21 +0900
committerMichele Calgaro <[email protected]>2023-09-12 22:25:42 +0900
commit9f1307134d0b5aa64749ec46551fd32bc8e8dda3 (patch)
tree9a72e0e378feccd530eaa2bce92adb173913e4ae /kicker/libkicker
parentdc36e4bfdb29b4e9828fc33d784b7f18118e418b (diff)
downloadtdebase-9f1307134d0b5aa64749ec46551fd32bc8e8dda3.tar.gz
tdebase-9f1307134d0b5aa64749ec46551fd32bc8e8dda3.zip
Replace various tqtinterface's TQ_* defines with actual types
Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit 2f0c2ae7b5a9144566dad971c4231709d19ece7a)
Diffstat (limited to 'kicker/libkicker')
-rw-r--r--kicker/libkicker/panelbutton.cpp2
-rw-r--r--kicker/libkicker/panelbutton.h4
2 files changed, 3 insertions, 3 deletions
diff --git a/kicker/libkicker/panelbutton.cpp b/kicker/libkicker/panelbutton.cpp
index 93674f394..b7b7ba457 100644
--- a/kicker/libkicker/panelbutton.cpp
+++ b/kicker/libkicker/panelbutton.cpp
@@ -196,7 +196,7 @@ void PanelButton::setPopupDirection(KPanelApplet::Direction d)
setArrowDirection(KickerLib::directionToPopupPosition(d));
}
-void PanelButton::setIconAlignment(TQ_Alignment align)
+void PanelButton::setIconAlignment(Qt::AlignmentFlags align)
{
m_iconAlignment = align;
update();
diff --git a/kicker/libkicker/panelbutton.h b/kicker/libkicker/panelbutton.h
index 7bba68dc7..5df1c62b6 100644
--- a/kicker/libkicker/panelbutton.h
+++ b/kicker/libkicker/panelbutton.h
@@ -263,7 +263,7 @@ public slots:
protected:
- void setIconAlignment(TQ_Alignment align);
+ void setIconAlignment(Qt::AlignmentFlags align);
/**
* Subclasses must implement this to define the name of the button which is
* used to identify this button for saving and loading. It must be unique
@@ -406,7 +406,7 @@ private:
TQPixmap m_iconz; // mouse over
KPanelExtension::Position m_arrowDirection;
KPanelApplet::Direction m_popupDirection;
- TQ_Alignment m_iconAlignment;
+ Qt::AlignmentFlags m_iconAlignment;
Orientation m_orientation;
int m_size;
double m_fontPercent;