~bzoltan/kubuntu-packaging/decouple_cmake_plugin

« back to all changes in this revision

Viewing changes to share/qtcreator/qml/qmlpuppet/container/addimportcontainer.cpp

  • Committer: Timo Jyrinki
  • Date: 2013-11-15 12:25:23 UTC
  • mfrom: (1.1.28)
  • Revision ID: timo.jyrinki@canonical.com-20131115122523-i2kyamsu4gs2mu1m
New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
29
29
 
30
30
#include "addimportcontainer.h"
31
31
 
 
32
#include <QDebug>
 
33
 
32
34
namespace QmlDesigner {
33
35
 
34
36
AddImportContainer::AddImportContainer()
91
93
    return in;
92
94
}
93
95
 
 
96
QDebug operator <<(QDebug debug, const AddImportContainer &container)
 
97
{
 
98
    debug.nospace() << "AddImportContainer(";
 
99
 
 
100
    if (!container.url().isEmpty())
 
101
        debug.nospace() << "url: " << container.url() << ", ";
 
102
 
 
103
    if (!container.fileName().isEmpty())
 
104
        debug.nospace() << "fileName: " << container.fileName() << ", ";
 
105
 
 
106
    if (!container.version().isEmpty())
 
107
        debug.nospace()  << "version: " << container.version() << ", ";
 
108
 
 
109
    if (!container.alias().isEmpty())
 
110
        debug.nospace()  << "alias: " << container.alias() << ", ";
 
111
 
 
112
    if (!container.alias().isEmpty())
 
113
        debug.nospace()  << "alias: " << container.alias() << ", ";
 
114
 
 
115
    if (!container.alias().isEmpty())
 
116
        debug.nospace()  << "alias: " << container.alias() << ", ";
 
117
 
 
118
    debug.nospace() << "importPaths: " << container.importPaths();
 
119
 
 
120
    return debug.nospace() << ")";
 
121
}
 
122
 
94
123
} // namespace QmlDesigner