Revision 871915
Go back to digest for 19th October 2008Features in KDE Base
Artur Duque de Souza committed changes in /trunk/kdereview/plasma/applets/pastebin:
First version of configurable pastebin applet
Now we can create multiple backends for the different "pastebin servers" out there. When creating a new backend, one just needs to add it to backend.h and implement server.h API. The backend must emit a signal postFinished(const QString&) with the URL to be displayed in the applet.
Commit also implements another backend (pastebin.com). More to come.
Now we just put the URL in the clipboard, instead of the whole text that is displayed.
File Changes
Added 9 files
- /trunk/kdereview/plasma/applets/pastebin
- /backends
- /pastebinConfig.ui
- /backends/backends.h
- /backends/pastebinca.cpp
- /backends/pastebinca.h
- /backends/pastebincom.cpp
- /backends/pastebincom.h
- /backends/server.cpp
- /backends/server.h
Modified 3 files
- /trunk/kdereview/plasma/applets/pastebin
- /CMakeLists.txt
- /pastebin.cpp
- /pastebin.h
12 files changed in total