File indexing completed on 2024-05-12 04:57:43

0001 /*
0002     This file is part of Choqok, the KDE micro-blogging client
0003 
0004     SPDX-FileCopyrightText: 2010-2012 Andrey Esin <gmlastik@gmail.com>
0005 
0006     SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
0007 */
0008 
0009 #ifndef BIT_LY_H
0010 #define BIT_LY_H
0011 
0012 #include <QVariantList>
0013 #include <QUrlQuery>
0014 
0015 #include "shortener.h"
0016 
0017 /**
0018   @author Andrey Esin \<gmlastik@gmail.com\>
0019 */
0020 
0021 class Bit_ly : public Choqok::Shortener
0022 {
0023     Q_OBJECT
0024 public:
0025     Bit_ly(QObject *parent, const QVariantList &args);
0026     ~Bit_ly();
0027 
0028     virtual QString shorten(const QString &url) override;
0029 };
0030 
0031 #endif //BIT_LY_H