|
|
@ -376,7 +376,7 @@ void KMKernel::openReader( bool onlyCheck )
|
|
|
|
// Activate window - doing this instead of KWin::activateWindow(mWin->winId());
|
|
|
|
// Activate window - doing this instead of KWin::activateWindow(mWin->winId());
|
|
|
|
// so that it also works when called from KMailApplication::newInstance()
|
|
|
|
// so that it also works when called from KMailApplication::newInstance()
|
|
|
|
#if defined TQ_WS_X11 && ! defined K_WS_TQTONLY
|
|
|
|
#if defined TQ_WS_X11 && ! defined K_WS_TQTONLY
|
|
|
|
KStartupInfo::setNewStartupId( mWin, kapp->startupId() );
|
|
|
|
TDEStartupInfo::setNewStartupId( mWin, kapp->startupId() );
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -446,7 +446,7 @@ int KMKernel::openComposer (const TQString &to, const TQString &cc,
|
|
|
|
// Activate window - doing this instead of KWin::activateWindow(cWin->winId());
|
|
|
|
// Activate window - doing this instead of KWin::activateWindow(cWin->winId());
|
|
|
|
// so that it also works when called from KMailApplication::newInstance()
|
|
|
|
// so that it also works when called from KMailApplication::newInstance()
|
|
|
|
#if defined TQ_WS_X11 && ! defined K_WS_TQTONLY
|
|
|
|
#if defined TQ_WS_X11 && ! defined K_WS_TQTONLY
|
|
|
|
KStartupInfo::setNewStartupId( cWin, kapp->startupId() );
|
|
|
|
TDEStartupInfo::setNewStartupId( cWin, kapp->startupId() );
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
}
|
|
|
|
}
|
|
|
|
return 1;
|
|
|
|
return 1;
|
|
|
@ -593,7 +593,7 @@ int KMKernel::openComposer (const TQString &to, const TQString &cc,
|
|
|
|
// Activate window - doing this instead of KWin::activateWindow(cWin->winId());
|
|
|
|
// Activate window - doing this instead of KWin::activateWindow(cWin->winId());
|
|
|
|
// so that it also works when called from KMailApplication::newInstance()
|
|
|
|
// so that it also works when called from KMailApplication::newInstance()
|
|
|
|
#if defined TQ_WS_X11 && ! defined K_WS_TQTONLY
|
|
|
|
#if defined TQ_WS_X11 && ! defined K_WS_TQTONLY
|
|
|
|
KStartupInfo::setNewStartupId( cWin, kapp->startupId() );
|
|
|
|
TDEStartupInfo::setNewStartupId( cWin, kapp->startupId() );
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
cWin->setAutoDeleteWindow( true );
|
|
|
|
cWin->setAutoDeleteWindow( true );
|
|
|
@ -639,7 +639,7 @@ DCOPRef KMKernel::openComposer(const TQString &to, const TQString &cc,
|
|
|
|
// Activate window - doing this instead of KWin::activateWindow(cWin->winId());
|
|
|
|
// Activate window - doing this instead of KWin::activateWindow(cWin->winId());
|
|
|
|
// so that it also works when called from KMailApplication::newInstance()
|
|
|
|
// so that it also works when called from KMailApplication::newInstance()
|
|
|
|
#if defined TQ_WS_X11 && ! defined K_WS_TQTONLY
|
|
|
|
#if defined TQ_WS_X11 && ! defined K_WS_TQTONLY
|
|
|
|
KStartupInfo::setNewStartupId( cWin, kapp->startupId() );
|
|
|
|
TDEStartupInfo::setNewStartupId( cWin, kapp->startupId() );
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|