~ubuntu-branches/ubuntu/wily/smplayer/wily

« back to all changes in this revision

Viewing changes to src/findsubtitles/filedownloader/main.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Maia Kozheva
  • Date: 2009-03-31 23:05:43 UTC
  • mfrom: (1.2.2 upstream)
  • mto: This revision was merged to the branch mainline in revision 14.
  • Revision ID: james.westby@ubuntu.com-20090331230543-0h2hfwpwlu9opbv2
* New upstream release. (Closes: #523791)
  - Reworked subtitle font preferences. (Closes: #503295)
  - No longer installs qt_fr.qm. (Closes: #486314)
* debian/control:
  - Bumped Standards-Version to 3.8.1.
  - Changed maintainer name (still the same person and GPG key).
  - Changed section to video.
  - Build-depend on zlib1g-dev for findsubtitles.
  - Require Qt >= 4.3 per readme.
  - Added ${misc:Depends}.
  - Make smplayer-translations depend on smplayer and smplayer recommend
    smplayer-translations, not the other way round. (Closes: #489375)
* debian/copyright:
  - Significantly expanded per-file with new upstream authors.
* debian/rules:
  - Make make use correct uic in install.
  - Clean svn_revision.
  - Removed get-orig-source - not needed with uscan --repack.
* debian/patches/01_gl_translation.patch:
  - Added patch to fix lrelease error on smplayer_gl.ts.
* Added debian/README.source for simple-patchsys.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/****************************************************************************
 
2
**
 
3
** Copyright (C) 2004-2008 Trolltech ASA. All rights reserved.
 
4
**
 
5
** This file is part of the example classes of the Qt Toolkit.
 
6
**
 
7
** This file may be used under the terms of the GNU General Public
 
8
** License versions 2.0 or 3.0 as published by the Free Software
 
9
** Foundation and appearing in the files LICENSE.GPL2 and LICENSE.GPL3
 
10
** included in the packaging of this file.  Alternatively you may (at
 
11
** your option) use any later version of the GNU General Public
 
12
** License if such license has been publicly approved by Trolltech ASA
 
13
** (or its successors, if any) and the KDE Free Qt Foundation. In
 
14
** addition, as a special exception, Trolltech gives you certain
 
15
** additional rights. These rights are described in the Trolltech GPL
 
16
** Exception version 1.2, which can be found at
 
17
** http://www.trolltech.com/products/qt/gplexception/ and in the file
 
18
** GPL_EXCEPTION.txt in this package.
 
19
**
 
20
** Please review the following information to ensure GNU General
 
21
** Public Licensing requirements will be met:
 
22
** http://trolltech.com/products/qt/licenses/licensing/opensource/. If
 
23
** you are unsure which license is appropriate for your use, please
 
24
** review the following information:
 
25
** http://trolltech.com/products/qt/licenses/licensing/licensingoverview
 
26
** or contact the sales department at sales@trolltech.com.
 
27
**
 
28
** In addition, as a special exception, Trolltech, as the sole
 
29
** copyright holder for Qt Designer, grants users of the Qt/Eclipse
 
30
** Integration plug-in the right for the Qt/Eclipse Integration to
 
31
** link to functionality provided by Qt Designer and its related
 
32
** libraries.
 
33
**
 
34
** This file is provided "AS IS" with NO WARRANTY OF ANY KIND,
 
35
** INCLUDING THE WARRANTIES OF DESIGN, MERCHANTABILITY AND FITNESS FOR
 
36
** A PARTICULAR PURPOSE. Trolltech reserves all rights not expressly
 
37
** granted herein.
 
38
**
 
39
** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
 
40
** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
 
41
**
 
42
****************************************************************************/
 
43
 
 
44
#include <QApplication>
 
45
 
 
46
#include "filedownloader.h"
 
47
 
 
48
int main(int argc, char *argv[])
 
49
{
 
50
    QApplication app(argc, argv);
 
51
    FileDownloader w;
 
52
    w.show();
 
53
        w.download(QUrl("http://smplayer.berlios.de/downloads.php?tr_lang=es"));
 
54
    return w.exec();
 
55
}