Skip to content

Commit

Permalink
build: align \ on column 72
Browse files Browse the repository at this point in the history
This puts the line continuations \ on the 9th tab stop.
  • Loading branch information
gperciva committed Dec 5, 2023
1 parent c4f71b5 commit 1ece5b4
Show file tree
Hide file tree
Showing 23 changed files with 1,097 additions and 1,097 deletions.
558 changes: 279 additions & 279 deletions Tarsnap.pro

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions build-flags.pri
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ if(checkVersionAtLeast(5,8)) {
QMAKE_CXXFLAGS += -isystem $$shell_quote($$[QT_INSTALL_HEADERS])
for(module, QT) {
equals(module, "testlib") {
QMAKE_CXXFLAGS += \
QMAKE_CXXFLAGS += \
-isystem $$shell_quote($$[QT_INSTALL_HEADERS]/QtTest)
} else {
# Capitalize a first letter, result: -isystem .../include/QtCore
moduleList = $$split(module, )
QMAKE_CXXFLAGS += \
QMAKE_CXXFLAGS += \
-isystem $$shell_quote($$[QT_INSTALL_HEADERS]/Qt$$upper(\
$$take_first(moduleList))$$join(moduleList, ))
}
Expand Down
100 changes: 50 additions & 50 deletions lib/plugins/plugins.pro
Original file line number Diff line number Diff line change
Expand Up @@ -3,62 +3,62 @@ CONFIG += plugin
TEMPLATE = lib
QT += widgets uiplugin

HEADERS = plugins.h \
../core/warnings-disable.h \
../widgets/TAsideLabel.h \
../widgets/TBusyLabel.h \
../widgets/TElidedLabel.h \
../widgets/TOkLabel.h \
../widgets/TPathComboBrowse.h \
../widgets/TPathLineBrowse.h \
../widgets/TPopupPushButton.h \
../widgets/TProgressWidget.h \
../widgets/TTabWidget.h \
../widgets/TTextView.h \
../widgets/TWizardPage.h \
TAsideLabelPlugin.h \
TBusyLabelPlugin.h \
TElidedLabelPlugin.h \
TOkLabelPlugin.h \
TPathComboBrowsePlugin.h \
TPathLineBrowsePlugin.h \
TPopupPushButtonPlugin.h \
TProgressWidgetPlugin.h \
TTabWidgetPlugin.h \
TTextViewPlugin.h \
HEADERS = plugins.h \
../core/warnings-disable.h \
../widgets/TAsideLabel.h \
../widgets/TBusyLabel.h \
../widgets/TElidedLabel.h \
../widgets/TOkLabel.h \
../widgets/TPathComboBrowse.h \
../widgets/TPathLineBrowse.h \
../widgets/TPopupPushButton.h \
../widgets/TProgressWidget.h \
../widgets/TTabWidget.h \
../widgets/TTextView.h \
../widgets/TWizardPage.h \
TAsideLabelPlugin.h \
TBusyLabelPlugin.h \
TElidedLabelPlugin.h \
TOkLabelPlugin.h \
TPathComboBrowsePlugin.h \
TPathLineBrowsePlugin.h \
TPopupPushButtonPlugin.h \
TProgressWidgetPlugin.h \
TTabWidgetPlugin.h \
TTextViewPlugin.h \
TWizardPagePlugin.h

SOURCES = plugins.cpp \
../widgets/TAsideLabel.cpp \
../widgets/TBusyLabel.cpp \
../widgets/TElidedLabel.cpp \
../widgets/TOkLabel.cpp \
../widgets/TPathComboBrowse.cpp \
../widgets/TPathLineBrowse.cpp \
../widgets/TPopupPushButton.cpp \
../widgets/TProgressWidget.cpp \
../widgets/TTabWidget.cpp \
../widgets/TTextView.cpp \
../widgets/TWizardPage.cpp \
TAsideLabelPlugin.cpp \
TBusyLabelPlugin.cpp \
TElidedLabelPlugin.cpp \
TOkLabelPlugin.cpp \
TPathComboBrowsePlugin.cpp \
TPathLineBrowsePlugin.cpp \
TPopupPushButtonPlugin.cpp \
TProgressWidgetPlugin.cpp \
TTabWidgetPlugin.cpp \
TTextViewPlugin.cpp \
SOURCES = plugins.cpp \
../widgets/TAsideLabel.cpp \
../widgets/TBusyLabel.cpp \
../widgets/TElidedLabel.cpp \
../widgets/TOkLabel.cpp \
../widgets/TPathComboBrowse.cpp \
../widgets/TPathLineBrowse.cpp \
../widgets/TPopupPushButton.cpp \
../widgets/TProgressWidget.cpp \
../widgets/TTabWidget.cpp \
../widgets/TTextView.cpp \
../widgets/TWizardPage.cpp \
TAsideLabelPlugin.cpp \
TBusyLabelPlugin.cpp \
TElidedLabelPlugin.cpp \
TOkLabelPlugin.cpp \
TPathComboBrowsePlugin.cpp \
TPathLineBrowsePlugin.cpp \
TPopupPushButtonPlugin.cpp \
TProgressWidgetPlugin.cpp \
TTabWidgetPlugin.cpp \
TTextViewPlugin.cpp \
TWizardPagePlugin.cpp

FORMS = \
../forms/TPathComboBrowse.ui \
../forms/TPathLineBrowse.ui \
../forms/TProgressWidget.ui \
FORMS = \
../forms/TPathComboBrowse.ui \
../forms/TPathLineBrowse.ui \
../forms/TProgressWidget.ui \
../forms/TTabWidget.ui

RESOURCES += \
RESOURCES += \
../resources/lib-resources.qrc

target.path = $$[QT_INSTALL_PLUGINS]/designer
Expand Down
100 changes: 50 additions & 50 deletions tests/app-cmdline/test-app-cmdline.pro
Original file line number Diff line number Diff line change
Expand Up @@ -7,62 +7,62 @@ VALGRIND = true
VERSION = test
DEFINES += APP_VERSION=\\\"$$VERSION\\\"

SOURCES += test-app-cmdline.cpp \
../../lib/core/ConsoleLog.cpp \
../../lib/core/TSettings.cpp \
../../lib/util/optparse.c \
../../lib/util/optparse_helper.c \
../../libcperciva/util/getopt.c \
../../libcperciva/util/warnp.c \
../../src/app-cmdline.cpp \
../../src/backuptask.cpp \
../../src/basetask.cpp \
../../src/init-shared.cpp \
../../src/parsearchivelistingtask.cpp \
../../src/persistentmodel/archive.cpp \
../../src/persistentmodel/job.cpp \
../../src/persistentmodel/journal.cpp \
../../src/persistentmodel/persistentobject.cpp \
../../src/persistentmodel/persistentstore.cpp \
../../src/persistentmodel/upgrade-store.cpp \
../../src/scheduling.cpp \
../../src/tasks/tasks-utils.cpp \
SOURCES += test-app-cmdline.cpp \
../../lib/core/ConsoleLog.cpp \
../../lib/core/TSettings.cpp \
../../lib/util/optparse.c \
../../lib/util/optparse_helper.c \
../../libcperciva/util/getopt.c \
../../libcperciva/util/warnp.c \
../../src/app-cmdline.cpp \
../../src/backuptask.cpp \
../../src/basetask.cpp \
../../src/init-shared.cpp \
../../src/parsearchivelistingtask.cpp \
../../src/persistentmodel/archive.cpp \
../../src/persistentmodel/job.cpp \
../../src/persistentmodel/journal.cpp \
../../src/persistentmodel/persistentobject.cpp \
../../src/persistentmodel/persistentstore.cpp \
../../src/persistentmodel/upgrade-store.cpp \
../../src/scheduling.cpp \
../../src/tasks/tasks-utils.cpp \
../../src/translator.cpp

HEADERS += \
../../lib/core/ConsoleLog.h \
../../lib/core/LogEntry.h \
../../lib/core/TSettings.h \
../../lib/util/optparse.h \
../../lib/util/optparse_helper.h \
../../libcperciva/util/getopt.h \
../../libcperciva/util/warnp.h \
../../src/app-cmdline.h \
../../src/backuptask.h \
../../src/basetask.h \
../../src/init-shared.h \
../../src/messages/archivefilestat.h \
../../src/messages/archiveptr.h \
../../src/messages/archiverestoreoptions.h \
../../src/messages/backuptaskdataptr.h \
../../src/messages/jobptr.h \
../../src/messages/tarsnaperror.h \
../../src/messages/taskstatus.h \
../../src/parsearchivelistingtask.h \
../../src/persistentmodel/archive.h \
../../src/persistentmodel/job.h \
../../src/persistentmodel/journal.h \
../../src/persistentmodel/persistentobject.h \
../../src/persistentmodel/persistentstore.h \
../../src/persistentmodel/upgrade-store.h \
../../src/scheduling.h \
../../src/tasks/tasks-utils.h \
../../src/translator.h \
HEADERS += \
../../lib/core/ConsoleLog.h \
../../lib/core/LogEntry.h \
../../lib/core/TSettings.h \
../../lib/util/optparse.h \
../../lib/util/optparse_helper.h \
../../libcperciva/util/getopt.h \
../../libcperciva/util/warnp.h \
../../src/app-cmdline.h \
../../src/backuptask.h \
../../src/basetask.h \
../../src/init-shared.h \
../../src/messages/archivefilestat.h \
../../src/messages/archiveptr.h \
../../src/messages/archiverestoreoptions.h \
../../src/messages/backuptaskdataptr.h \
../../src/messages/jobptr.h \
../../src/messages/tarsnaperror.h \
../../src/messages/taskstatus.h \
../../src/parsearchivelistingtask.h \
../../src/persistentmodel/archive.h \
../../src/persistentmodel/job.h \
../../src/persistentmodel/journal.h \
../../src/persistentmodel/persistentobject.h \
../../src/persistentmodel/persistentstore.h \
../../src/persistentmodel/upgrade-store.h \
../../src/scheduling.h \
../../src/tasks/tasks-utils.h \
../../src/translator.h \
../qtest-platform.h

RESOURCES += ../../resources/resources-lite.qrc

TRANSLATIONS = resources/translations/tarsnap-gui_en.ts \
TRANSLATIONS = resources/translations/tarsnap-gui_en.ts \
resources/translations/tarsnap-gui_ro.ts

include(../tests-include.pri)
Expand Down
Loading

0 comments on commit 1ece5b4

Please sign in to comment.