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

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

	return app.exec();
}