summaryrefslogtreecommitdiffstats
path: root/kommander/editor
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-09-02 15:54:50 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-09-04 10:33:23 +0900
commit50677e02378b77c63973d28aa084ffaa9c3f15b7 (patch)
tree299e991e69a32ba44e98aea58d8f5065e7a8fdd8 /kommander/editor
parent3b410182b49882faad3ae9bfbf2b76c32fc5b995 (diff)
downloadtdewebdev-50677e02378b77c63973d28aa084ffaa9c3f15b7.tar.gz
tdewebdev-50677e02378b77c63973d28aa084ffaa9c3f15b7.zip
Replace TQ_*Focus* and TQ_Scale* defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 5e58c04b1456ff687d05184e031ee0b6aa66cefb)
Diffstat (limited to 'kommander/editor')
-rw-r--r--kommander/editor/connectioneditorimpl.cpp2
-rw-r--r--kommander/editor/formwindow.cpp4
-rw-r--r--kommander/editor/previewwidgetimpl.cpp2
3 files changed, 4 insertions, 4 deletions
diff --git a/kommander/editor/connectioneditorimpl.cpp b/kommander/editor/connectioneditorimpl.cpp
index 23088e69..05a3c2ad 100644
--- a/kommander/editor/connectioneditorimpl.cpp
+++ b/kommander/editor/connectioneditorimpl.cpp
@@ -163,7 +163,7 @@ bool ConnectionEditor::isSlotIgnored(const TQMetaData* md)
if (!m_formWindow->isMainContainer(TQT_TQOBJECT(m_receiver)) && !qstrcmp(md->name, "close()"))
return true;
if (!qstrcmp(md->name, "setFocus()") && m_receiver->isWidgetType() &&
- ((TQWidget*)m_receiver)->focusPolicy() == TQ_NoFocus)
+ ((TQWidget*)m_receiver)->focusPolicy() == TQWidget::NoFocus)
return true;
for (int i = 0; i<comboSender->count(); i++)
if (checkConnectArgs(MetaDataBase::normalizeSlot(signalBox->text(i)).latin1(), m_receiver, md->name))
diff --git a/kommander/editor/formwindow.cpp b/kommander/editor/formwindow.cpp
index b8daf492..717bc9c9 100644
--- a/kommander/editor/formwindow.cpp
+++ b/kommander/editor/formwindow.cpp
@@ -140,7 +140,7 @@ void FormWindow::init()
unclippedPainter = 0;
widgetPressed = false;
drawRubber = false;
- setFocusPolicy(TQ_ClickFocus);
+ setFocusPolicy(TQWidget::ClickFocus);
sizePreviewLabel = 0;
checkSelectionsTimer = new TQTimer(this, "checkSelectionsTimer");
connect(checkSelectionsTimer, TQT_SIGNAL(timeout()),
@@ -1695,7 +1695,7 @@ void FormWindow::showOrderIndicators()
{
TQWidget *w = (TQWidget *) o;
if (w->isVisibleTo(w->parentWidget()) &&
- insertedWidgets[(void *) w] && w->focusPolicy() != TQ_NoFocus)
+ insertedWidgets[(void *) w] && w->focusPolicy() != TQWidget::NoFocus)
{
OrderIndicator *ind = new OrderIndicator(order++, w, this);
orderIndicators.append(ind);
diff --git a/kommander/editor/previewwidgetimpl.cpp b/kommander/editor/previewwidgetimpl.cpp
index 6ac39c22..2b08ee3a 100644
--- a/kommander/editor/previewwidgetimpl.cpp
+++ b/kommander/editor/previewwidgetimpl.cpp
@@ -31,7 +31,7 @@ PreviewWidget::PreviewWidget( TQWidget *parent, const char *name )
while ((obj = it.current()) != 0) {
++it;
obj->installEventFilter(this);
- ((TQWidget*)obj)->setFocusPolicy(TQ_NoFocus);
+ ((TQWidget*)obj)->setFocusPolicy(TQWidget::NoFocus);
}
}