diff options
author | Christian Kandeler <christian.kandeler@nokia.com> | 2012-08-03 09:56:39 +0200 |
---|---|---|
committer | hjk <qthjk@ovi.com> | 2012-08-03 10:40:31 +0200 |
commit | 1d00146e210257c3ae631d16b0250eb3c319d81e (patch) | |
tree | bb44c772186c56a4e9c2d714347e38aee82e0ac3 /src/plugins/projectexplorer/devicesupport/deviceprocesslist.cpp | |
parent | aa2434d0932471a31473eccf056185d0f4cb5a52 (diff) | |
download | qt-creator-1d00146e210257c3ae631d16b0250eb3c319d81e.tar.gz |
Device support: Move processes dialog creation to settings widget.
With the process list model being publicly available from the IDevice
interface, there's no longer a need to force all subclasses to create
the dialog themselves via opaque handles.
Since clients can now check whether a device offers a process list,
the base process list model has been made abstract.
Change-Id: If4a0aa68a95b221862c287ad8397ebabe9be5909
Reviewed-by: hjk <qthjk@ovi.com>
Diffstat (limited to 'src/plugins/projectexplorer/devicesupport/deviceprocesslist.cpp')
-rw-r--r-- | src/plugins/projectexplorer/devicesupport/deviceprocesslist.cpp | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/plugins/projectexplorer/devicesupport/deviceprocesslist.cpp b/src/plugins/projectexplorer/devicesupport/deviceprocesslist.cpp index cf196610b6..df3f49dcc3 100644 --- a/src/plugins/projectexplorer/devicesupport/deviceprocesslist.cpp +++ b/src/plugins/projectexplorer/devicesupport/deviceprocesslist.cpp @@ -77,11 +77,6 @@ void DeviceProcessList::update() doUpdate(); } -void DeviceProcessList::doUpdate() -{ - reportProcessListUpdated(QList<DeviceProcess>()); -} - void DeviceProcessList::reportProcessListUpdated(const QList<DeviceProcess> &processes) { QTC_ASSERT(d->state == Listing, return); @@ -104,11 +99,6 @@ void DeviceProcessList::killProcess(int row) doKillProcess(d->remoteProcesses.at(row)); } -void DeviceProcessList::doKillProcess(const DeviceProcess &) -{ - QTC_ASSERT(false, qDebug("Process list should be empty"); return); -} - void DeviceProcessList::reportProcessKilled() { QTC_ASSERT(d->state == Killing, return); |