Projet

Général

Profil

Paste
Statistiques
| Branche: | Révision:

ryxeo-webphotoalbum-git / main.cpp @ aec16e96

Historique | Voir | Annoter | Télécharger (1,31 ko)

1
/** Album Photo -- RyXéo SARL
2
  * @see https://redmine.ryxeo.com/projects/
3
  * @author 2012 Eric Seigne <eric.seigne@ryxeo.com>
4
  * @see The GNU Public License (GNU/GPL) v3
5
  *
6
  *
7
  *
8
  * This program is free software; you can redistribute it and/or modify
9
  * it under the terms of the GNU General Public License as published by
10
  * the Free Software Foundation; either version 3 of the License, or
11
  * (at your option) any later version.
12
  *
13
  * This program is distributed in the hope that it will be useful, but
14
  * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
15
  * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
16
  * for more details.
17
  *
18
  * You should have received a copy of the GNU General Public License along
19
  * with this program. If not, see <http://www.gnu.org/licenses/>.
20
  */
21

    
22

    
23
#include "abuleduapplicationv1.h"
24
#include "version.h"
25
#include "webphotoalbum.h"
26

    
27
int main(int argc, char *argv[])
28
{
29
    AbulEduApplicationV1 a(argc, argv,VER_INTERNALNAME_STR, VER_PRODUCTVERSION_STR, VER_COMPANYDOMAIN_STR, VER_COMPANYNAME_STR);
30
    a.setAbeApplicationLongName(QObject::trUtf8(VER_FILEDESCRIPTION_STR));
31
    WebPhotoAlbum w;
32
    w.show();
33

    
34
    QNetworkProxy proxy;
35
    proxy.setType(QNetworkProxy::NoProxy);
36
    QNetworkProxy::setApplicationProxy(proxy);
37

    
38
    return a.exec();
39
}
Redmine Appliance - Powered by TurnKey Linux