aboutsummaryrefslogtreecommitdiffstats
path: root/main.cpp
blob: f0704351d1948098b7735bb92d9c1cf87cdee3e5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
/****************************************************************************
 *                                                                          *
 *   Copyright (C) 2005  Michael Buesch <mbuesch@freenet.de>                *
 *                                                                          *
 *   This program is free software; you can redistribute it and/or modify   *
 *   it under the terms of the GNU General Public License version 2         *
 *   as published by the Free Software Foundation.                          *
 *                                                                          *
 *   This program is distributed in the hope that it will be useful,        *
 *   but WITHOUT ANY WARRANTY; without even the implied warranty of         *
 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the          *
 *   GNU General Public License for more details.                           *
 *                                                                          *
 *   You should have received a copy of the GNU General Public License      *
 *   along with this program. Additionally a copy of the                    *
 *   GNU General Public License is available here:                          *
 *   http://passwordmanager.sourceforge.net/gplv2.txt                       *
 *   http://www.gnu.org/licenses/gpl.txt                                    *
 *                                                                          *
 ****************************************************************************/

#include <iostream>

#include "regtrack.h"

#include <qapplication.h>


int main(int argc, char **argv)
{
	int res;

	std::cout << "regtrack version " VERSION << std::endl
		  << "Copyright (C) 2005  "
		     "Michael Buesch <mbuesch@freenet.de>" << std::endl
		  << "License: GNU General Public License v2" << std::endl;

	QApplication app(argc, argv);

	RegTrack regtrack;
	app.setMainWidget(&regtrack);
	regtrack.show();
	res = app.exec();
	regtrack.saveFile();

	return res;
}
bues.ch cgit interface