From 6ca5e6d65a74d794637953bfea85c42e3bf828dd Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 17 Nov 2011 21:15:44 -0600 Subject: Fix tdebase FTBFS (cherry picked from commit b92f4fbd165f03685928a50d85c34ba8729b7c48) --- kwin/sm.cpp | 4 ++-- kwin/sm.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'kwin') diff --git a/kwin/sm.cpp b/kwin/sm.cpp index 3a6aa3ebe..752ea988c 100644 --- a/kwin/sm.cpp +++ b/kwin/sm.cpp @@ -27,7 +27,7 @@ License. See the file "COPYING" for the exact licensing terms. namespace KWinInternal { -bool SessionManaged::saveState( QSessionManager& sm ) +bool SessionManaged::saveState( TQSessionManager& sm ) { // If the session manager is ksmserver, save stacking // order, active window, active desktop etc. in phase 1, @@ -53,7 +53,7 @@ bool SessionManaged::saveState( QSessionManager& sm ) } // I bet this is broken, just like everywhere else in KDE -bool SessionManaged::commitData( QSessionManager& sm ) +bool SessionManaged::commitData( TQSessionManager& sm ) { if ( !sm.isPhase2() ) Workspace::self()->sessionSaveStarted(); diff --git a/kwin/sm.h b/kwin/sm.h index 065ce621d..da9e49953 100644 --- a/kwin/sm.h +++ b/kwin/sm.h @@ -80,8 +80,8 @@ class SessionManaged : public KSessionManaged { public: - virtual bool saveState( QSessionManager& sm ); - virtual bool commitData( QSessionManager& sm ); + virtual bool saveState( TQSessionManager& sm ); + virtual bool commitData( TQSessionManager& sm ); }; } // namespace -- cgit v1.2.1