~ubuntu-branches/debian/stretch/psi-plus/stretch

« back to all changes in this revision

Viewing changes to src/plugins/deprecated/yandexnarodplugin/uploaddialog.h

  • Committer: Package Import Robot
  • Author(s): Boris Pek
  • Date: 2013-10-23 02:42:20 UTC
  • mfrom: (1.4.7)
  • Revision ID: package-import@ubuntu.com-20131023024220-bk2hyoenqkwfhpgw
Tags: 0.16.242-1
* New upstream release:
  fixed the problem of initialization of private conversation when both
  sides use libotr 4.0.x. (Closes: #724880)
* Update debian/watch: sources were moved.
* Delete psi-plus-content-downloader package and update all related files.
  This plugin is in psi-plus-plugins package now.
* Update debian/control:
  - remove all currently unneeded Replaces and Breaks fields
  - add build dependency on libidn11-dev
* Update debian/rules: simplify get-orig-source section.
* Update debian/copyright:
  - update Source field due to changes in sources location
  - remove copyright holders whose code was deleted from source tree
    (bundled libidn library was removed)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
    uploadDialog
 
3
 
 
4
    Copyright (c) 2008 by Alexander Kazarin <boiler@co.ru>
 
5
                  2011 Evgeny Khryukin
 
6
 
 
7
 
 
8
 ***************************************************************************
 
9
 *                                                                         *
 
10
 *   This program is free software; you can redistribute it and/or modify  *
 
11
 *   it under the terms of the GNU General Public License as published by  *
 
12
 *   the Free Software Foundation; either version 2 of the License, or     *
 
13
 *   (at your option) any later version.                                   *
 
14
 *                                                                         *
 
15
 ***************************************************************************
 
16
*/
 
17
 
 
18
#ifndef UPLOADDIALOG_H
 
19
#define UPLOADDIALOG_H
 
20
 
 
21
#include <QTime>
 
22
#include <QDialog>
 
23
#include "ui_uploaddialog.h"
 
24
 
 
25
class UploadManager;
 
26
 
 
27
class uploadDialog : public QDialog
 
28
{
 
29
        Q_OBJECT
 
30
 
 
31
public:
 
32
        uploadDialog(QWidget* p = 0);
 
33
        ~uploadDialog();
 
34
        void start(const QString& fileName);
 
35
 
 
36
private:
 
37
        void setFilename(const QString& str);
 
38
        Ui::uploadDialogClass ui;
 
39
        QTime utime;
 
40
        UploadManager* netman;
 
41
 
 
42
 
 
43
signals:
 
44
        void canceled();
 
45
        void finished();
 
46
        void fileUrl(const QString&);
 
47
 
 
48
private slots:
 
49
        void progress(qint64, qint64);
 
50
        void setStatus(const QString& str) { ui.labelStatus->setText(str); }
 
51
        void setDone();
 
52
        void setLink(const QString& link);
 
53
 
 
54
};
 
55
#endif