diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-09-02 15:54:50 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-09-04 10:33:23 +0900 |
commit | 50677e02378b77c63973d28aa084ffaa9c3f15b7 (patch) | |
tree | 299e991e69a32ba44e98aea58d8f5065e7a8fdd8 /kommander | |
parent | 3b410182b49882faad3ae9bfbf2b76c32fc5b995 (diff) | |
download | tdewebdev-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')
-rw-r--r-- | kommander/editor/connectioneditorimpl.cpp | 2 | ||||
-rw-r--r-- | kommander/editor/formwindow.cpp | 4 | ||||
-rw-r--r-- | kommander/editor/previewwidgetimpl.cpp | 2 | ||||
-rw-r--r-- | kommander/widget/myprocess.cpp | 2 |
4 files changed, 5 insertions, 5 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); } } diff --git a/kommander/widget/myprocess.cpp b/kommander/widget/myprocess.cpp index 45e64790..5b56ec8d 100644 --- a/kommander/widget/myprocess.cpp +++ b/kommander/widget/myprocess.cpp @@ -102,7 +102,7 @@ TQString MyProcess::run(const TQString& a_command, const TQString& a_shell) else { TQWidget dummy(0, 0, WType_Dialog | WShowModal); - dummy.setFocusPolicy(TQ_NoFocus); + dummy.setFocusPolicy(TQWidget::NoFocus); m_loopStarted = true; tqt_enter_modal(&dummy); tqApp->enter_loop(); |