blob: 5b5e2323b69cc7ad24407bb0d76c2b7c197999cc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#include "tmixapp.h"
#include <tqwidget.h>
#include <twin.h>
TmixApp::TmixApp() : TDEUniqueApplication(), m_win(0), m_firstInstance(true) {}
int TmixApp::newInstance()
{
if ( m_firstInstance ) {
m_firstInstance = false;
return 0;
}
if ( m_win ) {
m_win->show();
KWin::forceActiveWindow( m_win->winId() );
}
return 0;
}
#include "tmixapp.moc"
|