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: 2008-2012 Mehrdad Momeny <mehrdad.momeny@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 TIGHTURL_H
0010 #define TIGHTURL_H
0011 
0012 #include <QVariantList>
0013 #include <QUrlQuery>
0014 
0015 #include "shortener.h"
0016 /**
0017 @author Mehrdad Momeny \<mehrdad.momeny@gmail.com\>
0018 */
0019 class TightUrl : public Choqok::Shortener
0020 {
0021     Q_OBJECT
0022 public:
0023     TightUrl(QObject *parent, const QVariantList &args);
0024     ~TightUrl();
0025 
0026     virtual QString shorten(const QString &url) override;
0027 };
0028 
0029 #endif