Utils: More forward declarations / drop unused headers [T-Z]

Round 1 - focus on headers.
For classes with initial in range [T-Z].

Replace QT_FORWARD_DECLARE_CLASS with QT_BEGIN_NAMESPACE and
QT_END_NAMESPACE and forward declare inside.

Change-Id: I4ac3a8391e6167aa2db3973a9f94a45ac3c8ebd1
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
Jarek Kobus
2022-05-24 13:45:35 +02:00
parent d76eab7d2f
commit f3957d383f
44 changed files with 126 additions and 60 deletions

View File

@@ -155,8 +155,8 @@ TerminalCommand TerminalCommand::terminalEmulator()
const QStringList splitCommand = ProcessArgs::splitArgs(value);
if (QTC_GUARD(!splitCommand.isEmpty())) {
const QString command = splitCommand.first();
const QStringList quotedArgs = Utils::transform(splitCommand.mid(1),
&ProcessArgs::quoteArgUnix);
const QStringList quotedArgs = transform(splitCommand.mid(1),
&ProcessArgs::quoteArgUnix);
const QString options = quotedArgs.join(' ');
return {command, "", options};
}