Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Marco Bubke
flatpak-qt-creator
Commits
41e865f0
Commit
41e865f0
authored
Nov 16, 2010
by
Tobias Hunger
Browse files
Rename SignsisParser to S60CreatePackageParser
Reviewed-by: Pawel Polanski
parent
29580019
Changes
5
Hide whitespace changes
Inline
Side-by-side
src/plugins/qt4projectmanager/qt-s60/qt-s60.pri
View file @
41e865f0
...
...
@@ -18,7 +18,7 @@ SOURCES += $$PWD/s60devices.cpp \
$$PWD/winscwparser.cpp \
$$PWD/s60createpackagestep.cpp \
$$PWD/s60deploystep.cpp \
$$PWD/s
ignsis
parser.cpp \
$$PWD/s
60createpackage
parser.cpp \
$$PWD/passphraseforkeydialog.cpp \
$$PWD/s60deployconfiguration.cpp \
$$PWD/s60deployconfigurationwidget.cpp
...
...
@@ -39,7 +39,7 @@ HEADERS += $$PWD/s60devices.h \
$$PWD/winscwparser.h \
$$PWD/s60createpackagestep.h \
$$PWD/s60deploystep.h \
$$PWD/s
ignsis
parser.h \
$$PWD/s
60createpackage
parser.h \
$$PWD/passphraseforkeydialog.h \
$$PWD/s60deployconfiguration.h \
$$PWD/s60deployconfigurationwidget.h
...
...
src/plugins/qt4projectmanager/qt-s60/s
ignsis
parser.cpp
→
src/plugins/qt4projectmanager/qt-s60/s
60createpackage
parser.cpp
View file @
41e865f0
...
...
@@ -28,7 +28,7 @@
**************************************************************************/
#include "s
ignsis
parser.h"
#include "s
60createpackage
parser.h"
#include <projectexplorer/projectexplorerconstants.h>
...
...
@@ -36,13 +36,13 @@ using namespace Qt4ProjectManager;
using
namespace
ProjectExplorer
;
using
namespace
ProjectExplorer
::
Constants
;
S
ignsisParser
::
Signsis
Parser
()
S
60CreatePackageParser
::
S60CreatePackage
Parser
()
{
m_signSis
.
setPattern
(
"^(error):([A-Z
\\
d]+):(.+)$"
);
m_signSis
.
setMinimal
(
true
);
}
void
S
ignsis
Parser
::
stdOutput
(
const
QString
&
line
)
void
S
60CreatePackage
Parser
::
stdOutput
(
const
QString
&
line
)
{
QString
lne
=
line
.
trimmed
();
...
...
@@ -62,7 +62,7 @@ void SignsisParser::stdOutput(const QString &line)
IOutputParser
::
stdOutput
(
line
);
}
void
S
ignsis
Parser
::
stdError
(
const
QString
&
line
)
void
S
60CreatePackage
Parser
::
stdError
(
const
QString
&
line
)
{
stdOutput
(
line
);
IOutputParser
::
stdError
(
line
);
...
...
src/plugins/qt4projectmanager/qt-s60/s60createpackageparser.h
0 → 100644
View file @
41e865f0
/**************************************************************************
**
** This file is part of Qt Creator
**
** Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
**
** Contact: Nokia Corporation (qt-info@nokia.com)
**
** Commercial Usage
**
** Licensees holding valid Qt Commercial licenses may use this file in
** accordance with the Qt Commercial License Agreement provided with the
** Software or, alternatively, in accordance with the terms contained in
** a written agreement between you and Nokia.
**
** GNU Lesser General Public License Usage
**
** Alternatively, this file may be used under the terms of the GNU Lesser
** General Public License version 2.1 as published by the Free Software
** Foundation and appearing in the file LICENSE.LGPL included in the
** packaging of this file. Please review the following information to
** ensure the GNU Lesser General Public License version 2.1 requirements
** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
**
** If you are unsure which license is appropriate for your use, please
** contact the sales department at http://qt.nokia.com/contact.
**
**************************************************************************/
#ifndef S60CREATEPACKAGEPARSER_H
#define S60CREATEPACKAGEPARSER_H
#include <projectexplorer/ioutputparser.h>
#include <QtCore/QRegExp>
namespace
Qt4ProjectManager
{
class
S60CreatePackageParser
:
public
ProjectExplorer
::
IOutputParser
{
Q_OBJECT
public:
S60CreatePackageParser
();
virtual
void
stdOutput
(
const
QString
&
line
);
virtual
void
stdError
(
const
QString
&
line
);
private:
QRegExp
m_signSis
;
};
}
// namespace Qt4ProjectExplorer
#endif // S60CREATEPACKAGEPARSER_H
src/plugins/qt4projectmanager/qt-s60/s60createpackagestep.cpp
View file @
41e865f0
...
...
@@ -35,7 +35,7 @@
#include "qt4project.h"
#include "abldparser.h"
#include "sbsv2parser.h"
#include "s
ignsis
parser.h"
#include "s
60createpackage
parser.h"
#include "passphraseforkeydialog.h"
#include <projectexplorer/buildconfiguration.h>
...
...
@@ -203,7 +203,7 @@ bool S60CreatePackageStep::init()
else
m_outputParserChain
=
new
Qt4ProjectManager
::
AbldParser
;
m_outputParserChain
->
appendOutputParser
(
new
ProjectExplorer
::
GnuMakeParser
);
m_outputParserChain
->
appendOutputParser
(
new
Qt4ProjectManager
::
S
ignsis
Parser
);
m_outputParserChain
->
appendOutputParser
(
new
Qt4ProjectManager
::
S
60CreatePackage
Parser
);
connect
(
m_outputParserChain
,
SIGNAL
(
addOutput
(
QString
,
ProjectExplorer
::
BuildStep
::
OutputFormat
)),
this
,
SLOT
(
outputAdded
(
QString
,
ProjectExplorer
::
BuildStep
::
OutputFormat
)));
...
...
src/plugins/qt4projectmanager/qt-s60/signsisparser.h
deleted
100644 → 0
View file @
29580019
#ifndef SIGNSISPARSER_H
#define SIGNSISPARSER_H
#include <projectexplorer/ioutputparser.h>
#include <QtCore/QRegExp>
namespace
Qt4ProjectManager
{
class
SignsisParser
:
public
ProjectExplorer
::
IOutputParser
{
Q_OBJECT
public:
SignsisParser
();
virtual
void
stdOutput
(
const
QString
&
line
);
virtual
void
stdError
(
const
QString
&
line
);
private:
QRegExp
m_signSis
;
};
}
// namespace Qt4ProjectExplorer
#endif // SIGNSISPARSER_H
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment