summaryrefslogtreecommitdiffstats
path: root/kdeui/tests/ksystemtraytest.cpp
blob: dcee78346bb794a9eb96451656add1b8588ac18e (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" );
	TQLabel *l = new TQLabel("System Tray Main Window", 0L);
	KSystemTray *tray = new KSystemTray( l );
    tray->setText("Test");
	l->show();
	tray->show();

	return app.exec();
}