summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-11-04 23:08:23 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-11-05 22:43:34 +0900
commit7520534184483cf7e8eac2a7be0ba51646ce25a7 (patch)
treed84d5a45d5481c6696609b1f320d1d8a3fd28271
parent7415013cd766b039e6adcbaac04e62a1c5b9e4fe (diff)
downloadbibletime-7520534184483cf7e8eac2a7be0ba51646ce25a7.tar.gz
bibletime-7520534184483cf7e8eac2a7be0ba51646ce25a7.zip
Replace Qt with TQt
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 5b7fb8e3c9b86c1e6394f800c9126d8e8d0de34a)
-rw-r--r--bibletime/bibletime_init.cpp2
-rw-r--r--bibletime/frontend/cmdiarea.h2
-rw-r--r--bibletime/frontend/display/chtmlreaddisplay.cpp8
3 files changed, 6 insertions, 6 deletions
diff --git a/bibletime/bibletime_init.cpp b/bibletime/bibletime_init.cpp
index f293ba0..cfe05e3 100644
--- a/bibletime/bibletime_init.cpp
+++ b/bibletime/bibletime_init.cpp
@@ -78,7 +78,7 @@ void BibleTime::initView() {
m_mainSplitter->setChildrenCollapsible(false);
setCentralWidget(m_mainSplitter);
- m_leftPaneSplitter = new TQSplitter(Qt::Vertical, m_mainSplitter);
+ m_leftPaneSplitter = new TQSplitter(TQt::Vertical, m_mainSplitter);
m_leftPaneSplitter->setChildrenCollapsible(false);
TQVBox* vBox = new TQVBox(m_leftPaneSplitter);
diff --git a/bibletime/frontend/cmdiarea.h b/bibletime/frontend/cmdiarea.h
index a252bca..776557d 100644
--- a/bibletime/frontend/cmdiarea.h
+++ b/bibletime/frontend/cmdiarea.h
@@ -85,7 +85,7 @@ public slots:
* Also necessary for autoTile feature
*/
void myTileVertical();
- /**Qt::Horizontal tile function
+ /** Horizontal tile function
* This function was taken from TQt's MDI example.
*/
void myTileHorizontal();
diff --git a/bibletime/frontend/display/chtmlreaddisplay.cpp b/bibletime/frontend/display/chtmlreaddisplay.cpp
index f068c32..1841eaa 100644
--- a/bibletime/frontend/display/chtmlreaddisplay.cpp
+++ b/bibletime/frontend/display/chtmlreaddisplay.cpp
@@ -268,7 +268,7 @@ void CHTMLReadDisplay::tdehtmlMousePressEvent( tdehtml::MousePressEvent* event )
m_dndData.mousePressed = false;
m_dndData.isDragging = false;
- if (event->qmouseEvent()->button() == Qt::RightButton) {
+ if (event->qmouseEvent()->button() == TQt::RightButton) {
DOM::Node tmpNode = event->innerNode();
DOM::Node attr;
m_nodeInfo[CDisplay::Lemma] = TQString();
@@ -287,7 +287,7 @@ void CHTMLReadDisplay::tdehtmlMousePressEvent( tdehtml::MousePressEvent* event )
setActiveAnchor( event->url().string() );
}
- else if (event->qmouseEvent()->button() == Qt::LeftButton) {
+ else if (event->qmouseEvent()->button() == TQt::LeftButton) {
m_dndData.node = event->innerNode();
m_dndData.anchor = event->url();
m_dndData.mousePressed = true;
@@ -305,7 +305,7 @@ void CHTMLReadDisplay::tdehtmlMousePressEvent( tdehtml::MousePressEvent* event )
/** Reimplementation for our drag&drop system. Also needed for the mouse tracking */
void CHTMLReadDisplay::tdehtmlMouseMoveEvent( tdehtml::MouseMoveEvent* e ) {
- if( e->qmouseEvent()->state() & Qt::LeftButton == Qt::LeftButton) { //left mouse button pressed
+ if( e->qmouseEvent()->state() & TQt::LeftButton == TQt::LeftButton) { //left mouse button pressed
const int delay = TDEGlobalSettings::dndEventDelay();
TQPoint newPos = TQPoint(e->x(), e->y());
@@ -338,7 +338,7 @@ void CHTMLReadDisplay::tdehtmlMouseMoveEvent( tdehtml::MouseMoveEvent* e ) {
m_dndData.mousePressed = false;
//first make a virtual mouse click to end the selection, it it's in progress
- TQMouseEvent e(TQEvent::MouseButtonRelease, TQPoint(0,0), Qt::LeftButton, Qt::LeftButton);
+ TQMouseEvent e(TQEvent::MouseButtonRelease, TQPoint(0,0), TQt::LeftButton, TQt::LeftButton);
TDEApplication::sendEvent(view()->viewport(), &e);
d->drag();
}