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 Mehrdad Momeny <mehrdad.momeny@gmail.com>
0005     SPDX-FileCopyrightText: 2010 Scott Banwart <sbanwart@rogue-technology.com>
0006 
0007     SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
0008 */
0009 
0010 #ifndef UR_LY_H
0011 #define UR_LY_H
0012 
0013 #include <QVariantList>
0014 #include <QUrlQuery>
0015 
0016 #include "shortener.h"
0017 
0018 /**
0019 @author Scott Banwart \<sbanwart@rogue-technology.com\>
0020 */
0021 class Ur_ly : public Choqok::Shortener
0022 {
0023     Q_OBJECT
0024 public:
0025     Ur_ly(QObject *parent, const QVariantList &args);
0026     ~Ur_ly();
0027 
0028     virtual QString shorten(const QString &url);
0029 };
0030 
0031 #endif