summaryrefslogtreecommitdiffstats
path: root/src/qtsparkle_qt4-test.cpp
blob: a72b0346697b48a60984ac170eaa6a0a9212d5f9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/*
 * This file is part of MXE.
 * See index.html for further information.
 */

#include <qtsparkle/Updater>
#include <QWidget>
#include <QUrl>

int main()
{
	QWidget w;
	qtsparkle::Updater* updater = new qtsparkle::Updater(
		QUrl("http://www.example.com/sparkle.xml"), &w);
	updater->SetVersion("1.0");

	return 0;
}