diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-11-24 10:56:49 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-11-24 10:56:49 +0900 |
commit | aefcba8280fc1520675866143baf2f8c020ec82e (patch) | |
tree | 2a60004ec9084f8560740d029a6adc2c637fd67e /lib | |
parent | 42d2a4fceca65d537b9454bb7de45029f89f4921 (diff) | |
download | tdevelop-aefcba8280fc1520675866143baf2f8c020ec82e.tar.gz tdevelop-aefcba8280fc1520675866143baf2f8c020ec82e.zip |
Replaced various '#define' with actual strings - part 3
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/cppparser/lexer.cpp | 2 | ||||
-rw-r--r-- | lib/util/configwidgetproxy.cpp | 4 | ||||
-rw-r--r-- | lib/widgets/qcomboview.cpp | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/lib/cppparser/lexer.cpp b/lib/cppparser/lexer.cpp index 5325c80f..f5ec0015 100644 --- a/lib/cppparser/lexer.cpp +++ b/lib/cppparser/lexer.cpp @@ -514,7 +514,7 @@ void Lexer::resetSkipWords() void Lexer::addSkipWord( const TQString& word, SkipType skipType, const TQString& str ) { - m_words[ word ] = tqMakePair( skipType, str ); + m_words[ word ] = qMakePair( skipType, str ); } void Lexer::skip( int l, int r ) diff --git a/lib/util/configwidgetproxy.cpp b/lib/util/configwidgetproxy.cpp index 6c6b17da..3335ce9f 100644 --- a/lib/util/configwidgetproxy.cpp +++ b/lib/util/configwidgetproxy.cpp @@ -43,12 +43,12 @@ ConfigWidgetProxy::~ConfigWidgetProxy() void ConfigWidgetProxy::createGlobalConfigPage( TQString const & title, unsigned int pagenumber, TQString const & icon ) { - _globalTitleMap.insert( pagenumber, tqMakePair( title, icon ) ); + _globalTitleMap.insert( pagenumber, qMakePair( title, icon ) ); } void ConfigWidgetProxy::createProjectConfigPage( TQString const & title, unsigned int pagenumber, TQString const & icon ) { - _projectTitleMap.insert( pagenumber, tqMakePair( title, icon ) ); + _projectTitleMap.insert( pagenumber, qMakePair( title, icon ) ); } void ConfigWidgetProxy::removeConfigPage( int pagenumber ) diff --git a/lib/widgets/qcomboview.cpp b/lib/widgets/qcomboview.cpp index 1d959d13..c54f425c 100644 --- a/lib/widgets/qcomboview.cpp +++ b/lib/widgets/qcomboview.cpp @@ -290,7 +290,7 @@ TQSize QComboView::sizeHint() const maxW = w; } */ - d->sizeHint = (style().tqsizeFromContents(TQStyle::CT_ComboBox, this, + d->sizeHint = (style().sizeFromContents(TQStyle::CT_ComboBox, this, TQSize(maxW, maxH)).expandedTo(TQApplication::globalStrut())); return d->sizeHint; |