summaryrefslogtreecommitdiffstats
path: root/cervisia/cervisiapart.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-09-02 15:54:11 +0900
committerMichele Calgaro <[email protected]>2023-09-04 10:31:26 +0900
commitd5e7a8219589dc8cbb928685b513aaad93a95775 (patch)
tree90bd24290e66f07a5349f9b818d1ae98cf3402c7 /cervisia/cervisiapart.cpp
parent854ae8e07b5b84b8814546c46c59d050101a586b (diff)
downloadtdesdk-d5e7a8219589dc8cbb928685b513aaad93a95775.tar.gz
tdesdk-d5e7a8219589dc8cbb928685b513aaad93a95775.zip
Replace TQ_*Focus* and TQ_Scale* defines
Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit 4419ae48793b07591929aff8c69a381e7a5bbb32)
Diffstat (limited to 'cervisia/cervisiapart.cpp')
-rw-r--r--cervisia/cervisiapart.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/cervisia/cervisiapart.cpp b/cervisia/cervisiapart.cpp
index 29478146..8cf00d37 100644
--- a/cervisia/cervisiapart.cpp
+++ b/cervisia/cervisiapart.cpp
@@ -133,10 +133,10 @@ CervisiaPart::CervisiaPart( TQWidget *parentWidget, const char *widgetName,
: Qt::Horizontal;
splitter = new TQSplitter(o, parentWidget, widgetName);
// avoid PartManager's warning that Part's window can't handle focus
- splitter->setFocusPolicy( TQ_StrongFocus );
+ splitter->setFocusPolicy( TQWidget::StrongFocus );
update = new UpdateView(*config(), splitter);
- update->setFocusPolicy( TQ_StrongFocus );
+ update->setFocusPolicy( TQWidget::StrongFocus );
update->setFocus();
connect( update, TQT_SIGNAL(contextMenu(TDEListView*, TQListViewItem*, const TQPoint&)),
this, TQT_SLOT(popupRequested(TDEListView*, TQListViewItem*, const TQPoint&)) );
@@ -144,7 +144,7 @@ CervisiaPart::CervisiaPart( TQWidget *parentWidget, const char *widgetName,
this, TQT_SLOT(openFile(TQString)) );
protocol = new ProtocolView(appId, splitter);
- protocol->setFocusPolicy( TQ_StrongFocus );
+ protocol->setFocusPolicy( TQWidget::StrongFocus );
setWidget(splitter);
}