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/kdeui/tests/ksystemtraytest.cpp

15 lines
314 B

#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();
}