On Friday 10 July 2009, 23:52 Travis wrote:
> They prefer you to use the api which returns a small amount of plaintext
> where you just need to take the final line and that's your URL. I've done
> this for the Konversation tinyurl shell script found here:
> http://lxr.kde.org/source/extragear/netwo
On Thursday 09 July 2009 6:22:32 am Artur Duque de Souza wrote:
> SVN commit 993753 by asouza:
>
> TinyURL support on pastebin
>
> Now if you drop an http url on pastebin it will give you back a
> tinyurl. Right now I didn't implement this as a backend as we do
> not have others for tinyurl, but we
lasma-devel@kde.org
M +25 -0 pastebin.cpp
M +5 -0 pastebin.h
--- trunk/KDE/kdeplasma-addons/applets/pastebin/pastebin.cpp #993752:993753
@@ -693,6 +693,23 @@
#endif //Q_WS_WIN
}
+void Pastebin::processTinyUrl(QNetworkReply *reply)
+{
+QByteArray dataRaw(reply->