@ -46,9 +46,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
# include <windows.h>
# endif
#if 0
# include <KActivities/Consumer>
# endif
namespace TaskManager
{
@ -102,9 +100,7 @@ public:
QList < Startup * > startups ;
WindowList skiptaskbarWindows ;
QSet < QUuid > trackGeometryTokens ;
#if 0
KActivities : : Consumer activityConsumer ;
# endif
} ;
TaskManager : : TaskManager ( )
@ -121,17 +117,13 @@ TaskManager::TaskManager()
this , SLOT ( currentDesktopChanged ( int ) ) ) ;
connect ( KWindowSystem : : self ( ) , SIGNAL ( windowChanged ( WId , const ulong * ) ) ,
this , SLOT ( windowChanged ( WId , const ulong * ) ) ) ;
#if 0
connect ( & d - > activityConsumer , SIGNAL ( currentActivityChanged ( QString ) ) ,
this , SIGNAL ( activityChanged ( QString ) ) ) ;
# endif
if ( QCoreApplication : : instance ( ) ) {
connect ( QCoreApplication : : instance ( ) , SIGNAL ( aboutToQuit ( ) ) , this , SLOT ( onAppExitCleanup ( ) ) ) ;
}
#if 0
emit activityChanged ( d - > activityConsumer . currentActivity ( ) ) ;
# endif
// register existing windows
const QList < WId > windows = KWindowSystem : : windows ( ) ;
@ -574,11 +566,8 @@ int TaskManager::currentDesktop() const
QString TaskManager : : currentActivity ( ) const
{
#if 0
return d - > activityConsumer . currentActivity ( ) ;
# else
return QString ( ) ;
# endif
}
} // TaskManager namespace