comparison ui/mainwindow.cpp @ 7:992c0ec57660

Add unit tests make CertificateList work.
author Andre Heinecke <aheinecke@intevation.de>
date Wed, 12 Feb 2014 16:52:27 +0000
parents cf88cc432b9d
children fe39d93f1261
comparison
equal deleted inserted replaced
6:1f6455d46b30 7:992c0ec57660
5 #include <QSystemTrayIcon> 5 #include <QSystemTrayIcon>
6 #include <QAction> 6 #include <QAction>
7 #include <QDialog> 7 #include <QDialog>
8 #include <QMenu> 8 #include <QMenu>
9 #include <QApplication> 9 #include <QApplication>
10
11 #include "certificatelist.h"
10 12
11 MainWindow::MainWindow() { 13 MainWindow::MainWindow() {
12 createActions(); 14 createActions();
13 createTrayIcon(); 15 createTrayIcon();
14 16
31 } 33 }
32 } 34 }
33 35
34 void MainWindow::showMessage() 36 void MainWindow::showMessage()
35 { 37 {
38 CertificateList * myCertList = new CertificateList((char*)"foo");
36 mTrayIcon->showMessage("Hello", "World", QSystemTrayIcon::Information, 39 mTrayIcon->showMessage("Hello", "World", QSystemTrayIcon::Information,
37 10000); 40 10000);
38 } 41 }
39 void MainWindow::manualCheck() 42 void MainWindow::manualCheck()
40 { 43 {

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