Skip to content

Commit c35eeec

Browse files
jbowlerjcfr
authored andcommitted
[Backport generator] Use spaces instead of tabs (#129)
Expand all the tabs in non-binary source files (cherry picked from commit MeVisLab/pythonqt@1fca58b)
1 parent f427276 commit c35eeec

10 files changed

+792
-792
lines changed

Diff for: COPYING

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
GNU LESSER GENERAL PUBLIC LICENSE
2-
Version 2.1, February 1999
1+
GNU LESSER GENERAL PUBLIC LICENSE
2+
Version 2.1, February 1999
33

44
Copyright (C) 1991, 1999 Free Software Foundation, Inc.
55
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
@@ -10,7 +10,7 @@
1010
as the successor of the GNU Library Public License, version 2, hence
1111
the version number 2.1.]
1212

13-
Preamble
13+
Preamble
1414

1515
The licenses for most software are designed to take away your
1616
freedom to share and change it. By contrast, the GNU General Public
@@ -112,7 +112,7 @@ modification follow. Pay close attention to the difference between a
112112
former contains code derived from the library, whereas the latter must
113113
be combined with the library in order to run.
114114

115-
GNU LESSER GENERAL PUBLIC LICENSE
115+
GNU LESSER GENERAL PUBLIC LICENSE
116116
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
117117

118118
0. This License Agreement applies to any software library or other
@@ -432,7 +432,7 @@ decision will be guided by the two goals of preserving the free status
432432
of all derivatives of our free software and of promoting the sharing
433433
and reuse of software generally.
434434

435-
NO WARRANTY
435+
NO WARRANTY
436436

437437
15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
438438
WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
@@ -455,7 +455,7 @@ FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
455455
SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
456456
DAMAGES.
457457

458-
END OF TERMS AND CONDITIONS
458+
END OF TERMS AND CONDITIONS
459459

460460
How to Apply These Terms to Your New Libraries
461461

Diff for: generator/LICENSE.LGPL

+7-7
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
GNU LESSER GENERAL PUBLIC LICENSE
1+
GNU LESSER GENERAL PUBLIC LICENSE
22

33
The Qt GUI Toolkit is Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
44
Contact: Nokia Corporation ([email protected])
@@ -8,8 +8,8 @@
88

99
-------------------------------------------------------------------------
1010

11-
GNU LESSER GENERAL PUBLIC LICENSE
12-
Version 2.1, February 1999
11+
GNU LESSER GENERAL PUBLIC LICENSE
12+
Version 2.1, February 1999
1313

1414
Copyright (C) 1991, 1999 Free Software Foundation, Inc.
1515
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
@@ -20,7 +20,7 @@
2020
as the successor of the GNU Library Public License, version 2, hence
2121
the version number 2.1.]
2222

23-
Preamble
23+
Preamble
2424

2525
The licenses for most software are designed to take away your
2626
freedom to share and change it. By contrast, the GNU General Public
@@ -122,7 +122,7 @@ modification follow. Pay close attention to the difference between a
122122
former contains code derived from the library, whereas the latter must
123123
be combined with the library in order to run.
124124

125-
GNU LESSER GENERAL PUBLIC LICENSE
125+
GNU LESSER GENERAL PUBLIC LICENSE
126126
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
127127

128128
0. This License Agreement applies to any software library or other
@@ -442,7 +442,7 @@ decision will be guided by the two goals of preserving the free status
442442
of all derivatives of our free software and of promoting the sharing
443443
and reuse of software generally.
444444

445-
NO WARRANTY
445+
NO WARRANTY
446446

447447
15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
448448
WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
@@ -465,7 +465,7 @@ FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
465465
SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
466466
DAMAGES.
467467

468-
END OF TERMS AND CONDITIONS
468+
END OF TERMS AND CONDITIONS
469469

470470
How to Apply These Terms to Your New Libraries
471471

Diff for: generator/abstractmetalang.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1203,7 +1203,7 @@ bool AbstractMetaClass::hasVirtualDestructor() const
12031203
static bool functions_contains(const AbstractMetaFunctionList &l, const AbstractMetaFunction *func)
12041204
{
12051205
foreach (const AbstractMetaFunction *f, l) {
1206-
if ((f->compareTo(func) & AbstractMetaFunction::PrettySimilar) == AbstractMetaFunction::PrettySimilar)
1206+
if ((f->compareTo(func) & AbstractMetaFunction::PrettySimilar) == AbstractMetaFunction::PrettySimilar)
12071207
return true;
12081208
}
12091209
return false;

Diff for: generator/generator.pri

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ win32-msvc*{
2323
QMAKE_CXXFLAGS += -wd4996
2424
QMAKE_CFLAGS += -wd4996
2525
#Disable warnings for external headers
26-
greaterThan(QMAKE_MSC_VER, 1599):QMAKE_CXXFLAGS += -external:anglebrackets -external:W0 -external:templates-
26+
greaterThan(QMAKE_MSC_VER, 1599):QMAKE_CXXFLAGS += -external:anglebrackets -external:W0 -external:templates-
2727
}
2828
#Do not issue warning to Qt's system includes
2929
gcc:!isEmpty(QT_INSTALL_HEADERS): QMAKE_CXXFLAGS += -isystem $$[QT_INSTALL_HEADERS]

Diff for: generator/parser/control.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ Control::Control()
5252
pushContext();
5353

5454
declareTypedef(findOrInsertName("__builtin_va_list",
55-
strlen("__builtin_va_list")), 0);
55+
strlen("__builtin_va_list")), 0);
5656
}
5757

5858
Control::~Control()

0 commit comments

Comments
 (0)