Config dialog for Pastebin Applet

Dan Jensen admin at leinir.dk
Thu Oct 9 13:26:04 CEST 2008


On Thu, Oct 9, 2008 at 1:19 PM, Artur Souza (MoRpHeUz)
<morpheuz at openbossa.org> wrote:
> On Wed, Oct 8, 2008 at 11:21 AM, Artur Souza (MoRpHeUz)
>>  I was thinking about adding a simple config dialog to pastebin
>> applet in order to be able to setup different pastebin servers.
>
>  Ok, here is the situation: each pastebin server implements it's own
> "web api". The problem with this is that each one have it's own way of
> making posts, making the "simple config" a little bit harder.
>  The idea, that someone at #plasma already talked about, is to have a
> base class with a virtual method "post" and then have a subclass for
> each service that implements it's own way of posting. Then, the config
> dialog would have a combobox with all the possible servers instead of
> an edit line to type the server's address.
>   Here comes the "mortal question" again: do you think it worth it ?
>
> Cheers!

  For what it's worth, surely it'd make good sense to have support for more than
one pastebin when e.g. pastebin.ca dies due to their intertubes being
full of lolcats
or suchlikes - so at least compile-time support such as what you're suggesting
seems to be a good plan :)


More information about the Plasma-devel mailing list