forked from qt-creator/qt-creator
Utils::FileName: Enable qDebug() << Utils::FileName()
Change-Id: Iab3663839c25e09426c24472ae241ef7a2d6a069 Reviewed-by: Eike Ziller <eike.ziller@digia.com>
This commit is contained in:
@@ -43,6 +43,14 @@
|
||||
#include <shlobj.h>
|
||||
#endif
|
||||
|
||||
QT_BEGIN_NAMESPACE
|
||||
QDebug operator<<(QDebug dbg, const Utils::FileName &c)
|
||||
{
|
||||
return dbg << c.toString();
|
||||
}
|
||||
|
||||
QT_END_NAMESPACE
|
||||
|
||||
namespace Utils {
|
||||
|
||||
/*! \class Utils::FileUtils
|
||||
|
||||
@@ -36,6 +36,8 @@
|
||||
#include <QXmlStreamWriter> // Mac.
|
||||
#include <QMetaType>
|
||||
|
||||
namespace Utils {class FileName; }
|
||||
|
||||
QT_BEGIN_NAMESPACE
|
||||
class QFile;
|
||||
class QTemporaryFile;
|
||||
@@ -45,6 +47,9 @@ class QDataStream;
|
||||
class QDateTime;
|
||||
class QFileInfo;
|
||||
class QDir;
|
||||
|
||||
QTCREATOR_UTILS_EXPORT QDebug operator<<(QDebug dbg, const Utils::FileName &c);
|
||||
|
||||
QT_END_NAMESPACE
|
||||
|
||||
namespace Utils {
|
||||
|
||||
Reference in New Issue
Block a user