summaryrefslogtreecommitdiffstats
path: root/tdeui/tests/ksystemtraytest.cpp
blob: 27a6629d9cd2fde0df18a586ad85b8b6309e5f4e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#include <ksystemtray.h>
#include <tdeapplication.h>

int main(int argc, char **argv)
{
	TDEApplication app( argc, argv, "ksystemtraytest" );
	TQLabel *l = new TQLabel("System Tray Main Window", 0L);
	KSystemTray *tray = new KSystemTray( l );
    tray->setText("Test");
	l->show();
	tray->show();

	return app.exec();
}