Move SSH functionality out of the Qt4ProjectManager.

It does not conceptually belong there, and several people have
asked for an interface to use the functionality in their own
plugins.

Task-number: QTCREATORBUG-1204
Reviewed-by: kh1
This commit is contained in:
ck
2010-04-26 11:43:25 +02:00
parent 71b9057b0b
commit 9ece8a4110
28 changed files with 960 additions and 620 deletions

View File

@@ -34,6 +34,7 @@
#include "modemanager.h"
#include "fileiconprovider.h"
#include "designmode.h"
#include "ssh/ne7sshobject.h"
#include <extensionsystem/pluginmanager.h>
@@ -88,6 +89,7 @@ bool CorePlugin::initialize(const QStringList &arguments, QString *errorMessage)
m_designMode = new DesignMode(editorManager);
addObject(m_designMode);
Ne7SshObject::instance();
}
return success;
}
@@ -111,6 +113,7 @@ void CorePlugin::fileOpenRequest(const QString &f)
void CorePlugin::shutdown()
{
m_mainWindow->shutdown();
Ne7SshObject::removeInstance();
}
Q_EXPORT_PLUGIN(CorePlugin)