summaryrefslogtreecommitdiffstats
path: root/cervisia
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-09-02 15:54:11 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-09-02 15:54:11 +0900
commit4419ae48793b07591929aff8c69a381e7a5bbb32 (patch)
treee76dd733e1e06d26a8c80fb877b9c7c34b5d9507 /cervisia
parenta917f919a183240a1631b9bf500ba6c8df5cbb58 (diff)
downloadtdesdk-4419ae48793b07591929aff8c69a381e7a5bbb32.tar.gz
tdesdk-4419ae48793b07591929aff8c69a381e7a5bbb32.zip
Replace TQ_*Focus* and TQ_Scale* defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'cervisia')
-rw-r--r--cervisia/cervisiapart.cpp6
-rw-r--r--cervisia/logtree.cpp2
-rw-r--r--cervisia/qttableview.cpp4
3 files changed, 6 insertions, 6 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);
}
diff --git a/cervisia/logtree.cpp b/cervisia/logtree.cpp
index 7bcb5a28..864e31ee 100644
--- a/cervisia/logtree.cpp
+++ b/cervisia/logtree.cpp
@@ -82,7 +82,7 @@ LogTreeView::LogTreeView(TQWidget *parent, const char *name)
setLeftMargin(0);
setFrameStyle( TQFrame::WinPanel | TQFrame::Sunken );
setBackgroundMode(PaletteBase);
- setFocusPolicy(TQ_NoFocus);
+ setFocusPolicy(TQWidget::NoFocus);
currentRow = -1;
currentCol = -1;
diff --git a/cervisia/qttableview.cpp b/cervisia/qttableview.cpp
index 02f8aea1..22eca6da 100644
--- a/cervisia/qttableview.cpp
+++ b/cervisia/qttableview.cpp
@@ -1450,7 +1450,7 @@ TQScrollBar *QtTableView::verticalScrollBar() const
sb->resize( sb->sizeHint() ); // height is irrelevant
TQ_CHECK_PTR(sb);
sb->setTracking( FALSE );
- sb->setFocusPolicy( TQ_NoFocus );
+ sb->setFocusPolicy( TQWidget::NoFocus );
connect( sb, TQT_SIGNAL(valueChanged(int)),
TQT_SLOT(verSbValue(int)));
connect( sb, TQT_SIGNAL(sliderMoved(int)),
@@ -1479,7 +1479,7 @@ TQScrollBar *QtTableView::horizontalScrollBar() const
sb->setCursor( arrowCursor );
#endif
sb->resize( sb->sizeHint() ); // width is irrelevant
- sb->setFocusPolicy( TQ_NoFocus );
+ sb->setFocusPolicy( TQWidget::NoFocus );
TQ_CHECK_PTR(sb);
sb->setTracking( FALSE );
connect( sb, TQT_SIGNAL(valueChanged(int)),