#include #include int main( int argc, char **argv ) { KApplication app( argc, argv, "knotifytest", true ); KNotifyDialog *dlg = new KNotifyDialog(); dlg->addApplicationEvents( "kwin" ); return dlg->exec(); }