~ubuntu-branches/ubuntu/vivid/regina-normal/vivid

« back to all changes in this revision

Viewing changes to qtui/src/regina-kde.cpp

  • Committer: Package Import Robot
  • Author(s): Ben Burton
  • Date: 2013-11-02 11:44:32 UTC
  • mfrom: (1.2.8)
  • Revision ID: package-import@ubuntu.com-20131102114432-acgci6b1pb2hjl8q
Tags: 4.95-1
* New upstream release.
* The python module is now installed in a standard location beneath
  /usr/lib/python2.7/dist-packages.
* Switched python packaging from python-support to dh_python2.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
 
2
 
/**************************************************************************
3
 
 *                                                                        *
4
 
 *  Regina - A Normal Surface Theory Calculator                           *
5
 
 *  KDE User Interface                                                    *
6
 
 *                                                                        *
7
 
 *  Copyright (c) 1999-2013, Ben Burton                                   *
8
 
 *  For further details contact Ben Burton (bab@debian.org).              *
9
 
 *                                                                        *
10
 
 *  This program is free software; you can redistribute it and/or         *
11
 
 *  modify it under the terms of the GNU General Public License as        *
12
 
 *  published by the Free Software Foundation; either version 2 of the    *
13
 
 *  License, or (at your option) any later version.                       *
14
 
 *                                                                        *
15
 
 *  As an exception, when this program is distributed through (i) the     *
16
 
 *  App Store by Apple Inc.; (ii) the Mac App Store by Apple Inc.; or     *
17
 
 *  (iii) Google Play by Google Inc., then that store may impose any      *
18
 
 *  digital rights management, device limits and/or redistribution        *
19
 
 *  restrictions that are required by its terms of service.               *
20
 
 *                                                                        *
21
 
 *  This program is distributed in the hope that it will be useful, but   *
22
 
 *  WITHOUT ANY WARRANTY; without even the implied warranty of            *
23
 
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU     *
24
 
 *  General Public License for more details.                              *
25
 
 *                                                                        *
26
 
 *  You should have received a copy of the GNU General Public             *
27
 
 *  License along with this program; if not, write to the Free            *
28
 
 *  Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston,       *
29
 
 *  MA 02110-1301, USA.                                                   *
30
 
 *                                                                        *
31
 
 **************************************************************************/
32
 
 
33
 
/* end stub */
34
 
 
35
 
#include <QMessageBox>
36
 
#include <QApplication>
37
 
 
38
 
int main(int argc, char **argv) {
39
 
    QApplication* app = new QApplication(argc, argv);
40
 
 
41
 
    QMessageBox msg(QMessageBox::Information,
42
 
        app->tr("Information"),
43
 
        app->tr("Regina's graphical user interface has been renamed."),
44
 
        QMessageBox::Ok);
45
 
    msg.setInformativeText(
46
 
        app->tr("<qt>You now start Regina by running <b>regina-gui</b>, "
47
 
            "not <b>regina-kde</b>.  Please update any shortcuts "
48
 
            "accordingly.</qt>"));
49
 
    msg.exec();
50
 
 
51
 
    delete app;
52
 
    return 0;
53
 
}
54