~ubuntu-branches/ubuntu/trusty/digikam/trusty

« back to all changes in this revision

Viewing changes to extra/kipi-plugins/imgurexport/imguruploadinformation.h

  • Committer: Package Import Robot
  • Author(s): Rohan Garg
  • Date: 2012-11-26 18:24:20 UTC
  • mfrom: (1.9.1) (3.1.23 experimental)
  • Revision ID: package-import@ubuntu.com-20121126182420-qoy6z0nx4ai0wzcl
Tags: 4:3.0.0~beta3-0ubuntu1
* New upstream release
  - Add build-deps :  libhupnp-dev, libqtgstreamer-dev, libmagickcore-dev
* Merge from debian, remaining changes:
  - Make sure libqt4-opengl-dev, libgl1-mesa-dev and libglu1-mesa-dev only
    install on i386,amd64 and powerpc
  - Depend on libtiff-dev instead of libtiff4-dev
  - Drop digikam breaks/replaces kipi-plugins-common since we're past the
    LTS release now
  - digikam to recommend mplayerthumbs | ffmpegthumbs. We currently only
    have latter in the archives, even though former is also supposed to
    be part of kdemultimedia. (LP: #890059)
  - kipi-plugins to recommend www-browser rather than konqueror directly
    since 2.8 no direct usage of konqueror is present in the flickr
    plugin anymore (LP: #1011211)
  - Keep kubuntu_mysqld_executable_name.diff
  - Don't install libkipi translations
  - Keep deps on libcv-dev, libcvaux-dev
  - Keep split packaging of libraries
  - Replace icons from KDE 3 time in debian/xpm.d/*.xpm with the new
    versions (LP: #658047)
* Update debian/not-installed

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* ============================================================
 
2
 *
 
3
 * This file is a part of kipi-plugins project
 
4
 * http://www.digikam.org
 
5
 *
 
6
 * Date        : 2012-04-21
 
7
 * Description : a kipi plugin to export images to the Imgur web service
 
8
 *
 
9
 * Copyright (C) 2010-2012 by Marius Orcsik <marius at habarnam dot ro>
 
10
 *
 
11
 * This program is free software; you can redistribute it
 
12
 * and/or modify it under the terms of the GNU General
 
13
 * Public License as published by the Free Software Foundation;
 
14
 * either version 2, or (at your option) any later version.
 
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
 * ============================================================ */
 
22
 
 
23
#ifndef IMGURUPLOADINFORMATION_H
 
24
#define IMGURUPLOADINFORMATION_H
 
25
 
 
26
// Qt includes
 
27
 
 
28
#include <QDialog>
 
29
#include <QString>
 
30
 
 
31
// KDE includes
 
32
 
 
33
#include <KUrl>
 
34
 
 
35
// Local includes
 
36
 
 
37
#include "imgurtalker.h"
 
38
 
 
39
namespace KIPIImgurExportPlugin
 
40
{
 
41
 
 
42
class ImgurUploadInformation : public QDialog
 
43
{
 
44
    Q_OBJECT
 
45
 
 
46
private:
 
47
    ImgurUpload d;
 
48
 
 
49
public:
 
50
    ImgurUploadInformation(QWidget* const parent = 0);
 
51
    ~ImgurUploadInformation();
 
52
 
 
53
    void setTitle (QString &text);
 
54
    QString title (void);
 
55
 
 
56
    void setCaption (QString &text);
 
57
    QString Caption (void);
 
58
 
 
59
    void setFileUrl (KUrl filePath);
 
60
    KUrl fileUrl (void);
 
61
 
 
62
};
 
63
} // namespace KIPIImgurExportPlugin
 
64
 
 
65
#endif /* IMGURUPLOADINFORMATION_H */
 
66