~ubuntu-branches/ubuntu/wily/choqok/wily

« back to all changes in this revision

Viewing changes to plugins/shorteners/yourls/yourls.h

  • Committer: Bazaar Package Importer
  • Author(s): Harald Sitter, Christian Mangold, Harald Sitter
  • Date: 2010-03-07 21:49:43 UTC
  • Revision ID: james.westby@ubuntu.com-20100307214943-oysifel2afdng0x1
Tags: 0.9.55-0ubuntu1
[ Christian Mangold ]
* Readd pkg-kde-tool build-depend, was a mistake to remove it

[ Harald Sitter ]
* New upstream release (1.0 beta1)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
This file is part of Choqok, the KDE micro-blogging client
 
3
 
 
4
Copyright (C) 2010 Marcello Ceschia <marcelloceschia@users.sourceforge.net>
 
5
Copyright (C) 2010 Mehrdad Momeny <mehrdad.momeny@gmail.com>
 
6
 
 
7
This program is free software; you can redistribute it and/or
 
8
modify it under the terms of the GNU General Public License as
 
9
published by the Free Software Foundation; either version 2 of
 
10
the License or (at your option) version 3 or any later version
 
11
accepted by the membership of KDE e.V. (or its successor approved
 
12
by the membership of KDE e.V.), which shall act as a proxy
 
13
defined in Section 14 of version 3 of the license.
 
14
 
 
15
 
 
16
This program is distributed in the hope that it will be useful,
 
17
but WITHOUT ANY WARRANTY; without even the implied warranty of
 
18
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 
19
GNU General Public License for more details.
 
20
 
 
21
You should have received a copy of the GNU General Public License
 
22
along with this program; if not, see http://www.gnu.org/licenses/
 
23
*/
 
24
#ifndef YOURLS_H
 
25
#define YOURLS_H
 
26
 
 
27
#include <shortener.h>
 
28
#include <QString>
 
29
#include <QVariantList>
 
30
/**
 
31
@author Marcello Ceschia \<marcelloceschia@users.sourceforge.net\>
 
32
@author Mehrdad Momeny \<mehrdad.momeny@gmail.com\>
 
33
*/
 
34
class Yourls : public Choqok::Shortener
 
35
{
 
36
    Q_OBJECT
 
37
 
 
38
public:
 
39
    Yourls( QObject* parent, const QVariantList& args  );
 
40
    ~Yourls();
 
41
    QString shorten( const QString &url );
 
42
 
 
43
private slots:
 
44
    void reloadConfigs();
 
45
private:
 
46
    QString password;
 
47
};
 
48
 
 
49
#endif