Codepaster: Add paste.kde.org.

Change-Id: I285acf25ef13d8b1d7f0fa15e092f2e289ba2730
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
This commit is contained in:
Friedemann Kleint
2011-11-07 12:03:03 +01:00
parent 88d480cd61
commit 7cf99d2031
4 changed files with 329 additions and 2 deletions

View File

@@ -35,6 +35,7 @@
#include "splitter.h"
#include "pasteview.h"
#include "codepasterprotocol.h"
#include "kdepasteprotocol.h"
#include "pastebindotcomprotocol.h"
#include "pastebindotcaprotocol.h"
#include "fileshareprotocol.h"
@@ -136,6 +137,7 @@ bool CodepasterPlugin::initialize(const QStringList &arguments, QString *errorMe
const QSharedPointer<NetworkAccessManagerProxy> networkAccessMgrProxy(new NetworkAccessManagerProxy);
Protocol *protos[] = { new PasteBinDotComProtocol(networkAccessMgrProxy),
new PasteBinDotCaProtocol(networkAccessMgrProxy),
new KdePasteProtocol(networkAccessMgrProxy),
new CodePasterProtocol(networkAccessMgrProxy),
new FileShareProtocol
};