diff options
Diffstat (limited to 'kstart/kstart.cpp')
-rw-r--r-- | kstart/kstart.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/kstart/kstart.cpp b/kstart/kstart.cpp index bcbc6d846..50efa566c 100644 --- a/kstart/kstart.cpp +++ b/kstart/kstart.cpp @@ -17,7 +17,7 @@ #include <tqtimer.h> #include <kdebug.h> -#include <kprocess.h> +#include <tdeprocess.h> #include <tdelocale.h> #include <twin.h> #include <twinmodule.h> @@ -55,13 +55,13 @@ KStart::KStart() sendRule(); else { // connect to window add to get the NEW windows - connect(twinmodule, TQT_SIGNAL(windowAdded(WId)), TQT_SLOT(windowAdded(WId))); + connect(twinmodule, TQ_SIGNAL(windowAdded(WId)), TQ_SLOT(windowAdded(WId))); if (windowtitle != 0) twinmodule->doNotManage( windowtitle ); } // propagate the app startup notification info to the started app TDEStartupInfoId id; - id.initId( kapp->startupId()); + id.initId( tdeApp->startupId()); id.setupStartupEnv(); //finally execute the comand @@ -76,7 +76,7 @@ KStart::KStart() else TDEStartupInfo::sendFinish( id ); // failed to start - TQTimer::singleShot( useRule ? 0 : 120 * 1000, kapp, TQT_SLOT( quit())); + TQTimer::singleShot( useRule ? 0 : 120 * 1000, tdeApp, TQ_SLOT( quit())); } void KStart::sendRule() { @@ -126,7 +126,7 @@ void KStart::sendRule() { } msg.broadcastMessage( "_KDE_NET_WM_TEMPORARY_RULES", message, -1, false ); - kapp->flushX(); + tdeApp->flushX(); } const int SUPPORTED_WINDOW_TYPES_MASK = NET::NormalMask | NET::DesktopMask | NET::DockMask @@ -181,9 +181,9 @@ static bool wstate_withdrawn( WId winid ) unsigned long length, after; unsigned char *data; int r = XGetWindowProperty( tqt_xdisplay(), winid, tqt_wm_state, 0, 2, - FALSE, AnyPropertyType, &type, &format, + false, AnyPropertyType, &type, &format, &length, &after, &data ); - bool withdrawn = TRUE; + bool withdrawn = true; if ( r == Success && data && format == 32 ) { TQ_UINT32 *wstate = (TQ_UINT32*)data; withdrawn = (*wstate == WithdrawnState ); |