QDBusObjectPath KateAppAdaptor::mainWindow (uint n) { KateMainWindow *win = m_app->mainWindow(n); if (win) return QDBusObjectPath (win->dbusObjectPath ()); return QDBusObjectPath (); }
QDBusObjectPath KateAppAdaptor::activeMainWindow () { KateMainWindow *win = m_app->activeMainWindow(); if (win) return QDBusObjectPath (win->dbusObjectPath()); return QDBusObjectPath (); }