summaryrefslogtreecommitdiffstats
path: root/quanta/src
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-09-02 15:54:50 +0900
committerMichele Calgaro <[email protected]>2023-09-02 15:54:50 +0900
commit5e58c04b1456ff687d05184e031ee0b6aa66cefb (patch)
treede9331fca1545bb486fdc447dfeac846aa378b74 /quanta/src
parent67da3e67a76b9c5a2dc908e9a22e1be055a1957c (diff)
downloadtdewebdev-5e58c04b1456ff687d05184e031ee0b6aa66cefb.tar.gz
tdewebdev-5e58c04b1456ff687d05184e031ee0b6aa66cefb.zip
Replace TQ_*Focus* and TQ_Scale* defines
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'quanta/src')
-rw-r--r--quanta/src/quanta_init.cpp6
-rw-r--r--quanta/src/quantaview.cpp2
-rw-r--r--quanta/src/viewmanager.cpp2
3 files changed, 5 insertions, 5 deletions
diff --git a/quanta/src/quanta_init.cpp b/quanta/src/quanta_init.cpp
index 62931561..428f9b98 100644
--- a/quanta/src/quanta_init.cpp
+++ b/quanta/src/quanta_init.cpp
@@ -485,15 +485,15 @@ void QuantaInit::initView()
m_quanta->scriptTab = new ScriptTreeView(m_quanta, "Scripts");
m_quanta->m_messageOutput = new MessageOutput(m_quanta, "Messages");
- m_quanta->m_messageOutput->setFocusPolicy(TQ_NoFocus);
+ m_quanta->m_messageOutput->setFocusPolicy(TQWidget::NoFocus);
m_quanta->m_messageOutput->showMessage(i18n("Message Window..."));
connect(m_quanta, TQT_SIGNAL(showMessage(const TQString&, bool)), m_quanta->m_messageOutput, TQT_SLOT(showMessage(const TQString&, bool)));
connect(m_quanta, TQT_SIGNAL(clearMessages()), m_quanta->m_messageOutput, TQT_SLOT(clear()));
m_quanta->m_problemOutput = new MessageOutput(m_quanta, "Problems");
- m_quanta->m_problemOutput->setFocusPolicy(TQ_NoFocus);
+ m_quanta->m_problemOutput->setFocusPolicy(TQWidget::NoFocus);
m_quanta->m_annotationOutput = new AnnotationOutput(m_quanta, "Annotations");
- m_quanta->m_annotationOutput->setFocusPolicy(TQ_NoFocus);
+ m_quanta->m_annotationOutput->setFocusPolicy(TQWidget::NoFocus);
m_quanta->createPreviewPart();
m_quanta->createDocPart();
diff --git a/quanta/src/quantaview.cpp b/quanta/src/quantaview.cpp
index 6d3ef86f..18bb8b29 100644
--- a/quanta/src/quantaview.cpp
+++ b/quanta/src/quantaview.cpp
@@ -95,7 +95,7 @@ QuantaView::QuantaView(TQWidget *parent, const char *name, const TQString &capti
//get the reference to the user toolbar holding widget
ToolbarTabWidget *m_toolbarTab = ToolbarTabWidget::ref();
m_toolbarTab->reparent(this, 0, TQPoint(), true);
- m_toolbarTab ->setFocusPolicy( TQ_NoFocus );
+ m_toolbarTab ->setFocusPolicy( TQWidget::NoFocus );
//create a splitter to separate the VPL and document area
m_splitter = new TQSplitter(Qt::Vertical, this);
diff --git a/quanta/src/viewmanager.cpp b/quanta/src/viewmanager.cpp
index 92e502a2..e06201a2 100644
--- a/quanta/src/viewmanager.cpp
+++ b/quanta/src/viewmanager.cpp
@@ -142,7 +142,7 @@ void ViewManager::createNewDocument()
popupIf->installPopup((TQPopupMenu *)quantaApp->factory()->container("popup_editor", quantaApp));
quantaApp->setFocusProxy(w->view());
- w->view()->setFocusPolicy(TQ_WheelFocus);
+ w->view()->setFocusPolicy(TQWidget::WheelFocus);
connect( v, TQT_SIGNAL(newStatus()), quantaApp, TQT_SLOT(slotNewStatus()));
quantaApp->slotNewPart(doc, true); // register new part in partmanager and make active