comparison ui/mainwindow.cpp @ 409:09bb19e5e369

Remove m13 mentions and change test certificate to intevation.de
author Andre Heinecke <aheinecke@intevation.de>
date Wed, 16 Apr 2014 14:00:12 +0000
parents af53c40e74b1
children 16b5cd858571
comparison
equal deleted inserted replaced
408:ac9e95ef6966 409:09bb19e5e369
27 27
28 // The amount of time in minutes stay silent if we have 28 // The amount of time in minutes stay silent if we have
29 // something to say 29 // something to say
30 #define NAG_INTERVAL_MINUTES 60 30 #define NAG_INTERVAL_MINUTES 60
31 31
32 #define SERVER_URL "https://files.kolab.org:443" 32 #ifndef APPNAME
33 #define LIST_RESOURCE "/incoming/aheinecke/test" 33 #define APPNAME "TrustBridge"
34 #define SW_RESOURCE "/incoming/aheinecke/test" 34 #endif
35
36 #define SERVER_URL "https://files.intevation.de:443"
37 #define LIST_RESOURCE "/users/aheinecke/zertifikatsliste_1.txt"
38 #define SW_RESOURCE "/users/aheinecke/zertifikatsliste_1.txt"
35 39
36 #include "certificatelist.h" 40 #include "certificatelist.h"
37 #include "downloader.h" 41 #include "downloader.h"
38 #include "helpdialog.h" 42 #include "helpdialog.h"
39 #include "aboutdialog.h" 43 #include "aboutdialog.h"
296 // The header (icon, about text) 300 // The header (icon, about text)
297 QImage *logoImage = new QImage(":/img/logo.png"); 301 QImage *logoImage = new QImage(":/img/logo.png");
298 QLabel *logo = new QLabel; 302 QLabel *logo = new QLabel;
299 logo->setBackgroundRole(QPalette::Base); 303 logo->setBackgroundRole(QPalette::Base);
300 logo->setPixmap(QPixmap::fromImage(*logoImage)); 304 logo->setPixmap(QPixmap::fromImage(*logoImage));
301 QLabel *title = new QLabel("<h2>" + tr("Certificate Installer") + "</h2>"); 305 QLabel *title = new QLabel("<h2>" + QString::fromLatin1(APPNAME) + "</h2>");
302 QLabel *subTitle = new QLabel("This Software installs and removes Certificates"); 306 QLabel *subTitle = new QLabel("This Software installs and removes Certificates");
303 headerTextLayout->addWidget(title); 307 headerTextLayout->addWidget(title);
304 headerTextLayout->addWidget(subTitle); 308 headerTextLayout->addWidget(subTitle);
305 headerLayout->addWidget(logo); 309 headerLayout->addWidget(logo);
306 headerLayout->addLayout(headerTextLayout); 310 headerLayout->addLayout(headerTextLayout);

http://wald.intevation.org/projects/trustbridge/