Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Tobias Hunger
qt-creator
Commits
9d7021d4
Commit
9d7021d4
authored
Aug 10, 2010
by
ck
Browse files
Maemo: Progress report also for debugging.
parent
745d16b4
Changes
3
Hide whitespace changes
Inline
Side-by-side
src/plugins/qt4projectmanager/qt-maemo/maemodebugsupport.cpp
View file @
9d7021d4
...
...
@@ -134,6 +134,8 @@ void MaemoDebugSupport::handleAdapterSetupRequested()
SLOT
(
handleSshError
(
QString
)));
connect
(
m_runner
,
SIGNAL
(
readyForExecution
()),
this
,
SLOT
(
startExecution
()));
connect
(
m_runner
,
SIGNAL
(
reportProgress
(
QString
)),
this
,
SLOT
(
handleProgressReport
(
QString
)));
m_runner
->
start
();
}
...
...
@@ -256,9 +258,14 @@ void MaemoDebugSupport::handleRemoteErrorOutput(const QByteArray &output)
m_runControl
->
showMessage
(
QString
::
fromUtf8
(
output
),
AppOutput
);
}
void
MaemoDebugSupport
::
handleProgressReport
(
const
QString
&
progressOutput
)
{
m_runControl
->
showMessage
(
progressOutput
,
AppStuff
);
}
void
MaemoDebugSupport
::
stopSsh
()
{
disconnect
(
m_runner
,
0
,
this
,
0
);
//
disconnect(m_runner, 0, this, 0);
if
(
m_uploader
)
{
disconnect
(
m_uploader
.
data
(),
0
,
this
,
0
);
m_uploader
->
closeChannel
();
...
...
src/plugins/qt4projectmanager/qt-maemo/maemodebugsupport.h
View file @
9d7021d4
...
...
@@ -84,6 +84,7 @@ private slots:
void
handleDebuggingFinished
();
void
handleRemoteOutput
(
const
QByteArray
&
output
);
void
handleRemoteErrorOutput
(
const
QByteArray
&
output
);
void
handleProgressReport
(
const
QString
&
progressOutput
);
private:
void
stopSsh
();
...
...
src/plugins/qt4projectmanager/qt-maemo/maemoremotemounter.cpp
View file @
9d7021d4
...
...
@@ -129,6 +129,7 @@ void MaemoRemoteMounter::handleUnmountProcessFinished(int exitStatus)
m_mountSpecs
.
clear
();
if
(
errorMsg
.
isEmpty
())
{
emit
reportProgress
(
tr
(
"Finished unmounting."
));
emit
unmounted
();
}
else
{
if
(
!
m_umountStderr
.
isEmpty
())
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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