diff options
author | Michele Calgaro <[email protected]> | 2023-11-09 10:36:57 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-11-09 17:21:24 +0900 |
commit | 7367a616169a4ec8b35b5a993852c336aaeec25b (patch) | |
tree | 2fd2b837621af51718278a66c8d5151fec1d77e8 /kdict/applet/kdictapplet.cpp | |
parent | a14ec34f576f49ee1abf4844883fb9e3af69eeb3 (diff) | |
download | tdenetwork-7367a616169a4ec8b35b5a993852c336aaeec25b.tar.gz tdenetwork-7367a616169a4ec8b35b5a993852c336aaeec25b.zip |
Replace Qt with TQt
Signed-off-by: Michele Calgaro <[email protected]>
(cherry picked from commit b53c83209a6b927b27600899a780db1efc985ecb)
Diffstat (limited to 'kdict/applet/kdictapplet.cpp')
-rw-r--r-- | kdict/applet/kdictapplet.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kdict/applet/kdictapplet.cpp b/kdict/applet/kdictapplet.cpp index e4bb9b14..04268177 100644 --- a/kdict/applet/kdictapplet.cpp +++ b/kdict/applet/kdictapplet.cpp @@ -219,7 +219,7 @@ int DictApplet::heightForWidth(int width) const void DictApplet::resizeEvent(TQResizeEvent*) { - if (orientation() ==Qt::Horizontal) { + if (orientation() ==TQt::Horizontal) { verticalBtn->hide(); baseWidget->show(); baseWidget->setFixedSize(width(),height()); @@ -246,7 +246,7 @@ void DictApplet::resizeEvent(TQResizeEvent*) } baseWidget->updateGeometry(); - } else { // orientation() ==Qt::Vertical + } else { // orientation() ==TQt::Vertical verticalBtn->show(); baseWidget->hide(); verticalBtn->setFixedSize(width(),width()); @@ -338,7 +338,7 @@ void DictApplet::startQuery(const TQString &s) sendCommand("definePhrase(TQString)",query); - if (orientation() ==Qt::Vertical) + if (orientation() ==TQt::Vertical) popupBox->hide(); } |