1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
// (c) 2000 Peter Putzer #include <unistd.h> #include <twin.h> #include "ksvapplication.h" int KSVApplication::newInstance () { TQWidget* main = mainWidget(); if (main) KWin::activateWindow (main->winId()); return getpid(); } #include "ksvapplication.moc"