summaryrefslogtreecommitdiffstats
path: root/kdict
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 10:36:57 +0900
commitb53c83209a6b927b27600899a780db1efc985ecb (patch)
tree5669b200cf24a8e47338ab2054daf3a58264925f /kdict
parent82b0c5074d73953b9d00fa7b8c17115bb4bc900e (diff)
downloadtdenetwork-b53c83209a6b927b27600899a780db1efc985ecb.tar.gz
tdenetwork-b53c83209a6b927b27600899a780db1efc985ecb.zip
Replace Qt with TQt
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'kdict')
-rw-r--r--kdict/applet/kdictapplet.cpp6
-rw-r--r--kdict/matchview.cpp2
-rw-r--r--kdict/queryview.cpp2
-rw-r--r--kdict/toplevel.cpp4
4 files changed, 7 insertions, 7 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();
}
diff --git a/kdict/matchview.cpp b/kdict/matchview.cpp
index 8d4a7dc6..556685f5 100644
--- a/kdict/matchview.cpp
+++ b/kdict/matchview.cpp
@@ -217,7 +217,7 @@ void MatchView::enableGetButton()
void MatchView::mouseButtonPressed(int button, TQListViewItem *, const TQPoint &, int)
{
- if (button == Qt::MidButton)
+ if (button == TQt::MidButton)
emit(clipboardRequested());
}
diff --git a/kdict/queryview.cpp b/kdict/queryview.cpp
index ea108c60..c96dc540 100644
--- a/kdict/queryview.cpp
+++ b/kdict/queryview.cpp
@@ -120,7 +120,7 @@ DictHTMLPart::~DictHTMLPart()
void DictHTMLPart::tdehtmlMouseReleaseEvent(tdehtml::MouseReleaseEvent *event)
{
- if (event->qmouseEvent()->button()==Qt::MidButton)
+ if (event->qmouseEvent()->button()==TQt::MidButton)
emit(middleButtonClicked());
else
TDEHTMLPart::tdehtmlMouseReleaseEvent(event);
diff --git a/kdict/toplevel.cpp b/kdict/toplevel.cpp
index 7f05207b..862d83ab 100644
--- a/kdict/toplevel.cpp
+++ b/kdict/toplevel.cpp
@@ -89,7 +89,7 @@ TopLevel::TopLevel(TQWidget* parent, const char* name)
if (global->showMatchList)
{ // show splitter, html view & match list
- splitter = new TQSplitter(Qt::Horizontal,this);
+ splitter = new TQSplitter(TQt::Horizontal,this);
splitter->setOpaqueResize( TDEGlobalSettings::opaqueResize() );
queryView->reparent(splitter,0,queryView->pos(),true);
matchView->reparent(splitter,0,matchView->pos(),true);
@@ -648,7 +648,7 @@ void TopLevel::toggleMatchListShow()
else // list is not visible -> show it
{
global->showMatchList = true;
- splitter = new TQSplitter(Qt::Horizontal,this);
+ splitter = new TQSplitter(TQt::Horizontal,this);
splitter->setOpaqueResize( TDEGlobalSettings::opaqueResize() );
setCentralWidget(splitter);
splitter->show();