You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tdelibs/tdeui/tests/ksystemtraytest.cpp

15 lines
318 B

#include <ksystemtray.h>
#include <kapplication.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();
}