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.
15 lines
316 B
15 lines
316 B
15 years ago
|
#include <ksystemtray.h>
|
||
|
#include <kapplication.h>
|
||
|
|
||
|
int main(int argc, char **argv)
|
||
|
{
|
||
|
KApplication app( argc, argv, "ksystemtraytest" );
|
||
14 years ago
|
TQLabel *l = new TQLabel("System Tray Main Window", 0L);
|
||
15 years ago
|
KSystemTray *tray = new KSystemTray( l );
|
||
|
tray->setText("Test");
|
||
|
l->show();
|
||
|
tray->show();
|
||
|
|
||
|
return app.exec();
|
||
|
}
|