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 20:37:39 +0900
commit5b7fb8e3c9b86c1e6394f800c9126d8e8d0de34a (patch)
tree9bbfdaa59bf9d44b2f95db482a36a477c85c2137
parente1209cdbda0933b9a18486c11fc2c2cec9c04e7b (diff)
downloadbibletime-5b7fb8e3c9b86c1e6394f800c9126d8e8d0de34a.tar.gz
bibletime-5b7fb8e3c9b86c1e6394f800c9126d8e8d0de34a.zip
Replace Qt with TQt
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
-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();
}