diff -r cc79acdc26cb -r 4a9568303383 controlpanelplugins/themeplugin/src/cpthemeclientqt_p.h --- a/controlpanelplugins/themeplugin/src/cpthemeclientqt_p.h Thu May 27 12:52:25 2010 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,55 +0,0 @@ -/* - * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). - * All rights reserved. - * This component and the accompanying materials are made available - * under the terms of "Eclipse Public License v1.0"" - * which accompanies this distribution, and is available - * at the URL "http://www.eclipse.org/legal/epl-v10.html". - * - * Initial Contributors: - * Nokia Corporation - initial contribution. - * - * Contributors: - * - * Description: - * - */ - -#ifndef CPTHEMECLIENTQT_P_H -#define CPTHEMECLIENTQT_P_H - -#include -#include "cpthemecommon_p.h" - -class QString; -class QSizeF; -class QLocalSocket; - -class CpThemeClientPrivate : public QObject -{ - Q_OBJECT - -public: - CpThemeClientPrivate(); - bool connectToServer(); - bool isConnected(); - - bool changeTheme(const QString& newtheme); - - ~CpThemeClientPrivate(); - -public slots: - void themeChanged(); - -public: - bool clientConnected; - -private: - void handleThemeChangeRequest(QDataStream &dataStream); - -private: - QLocalSocket* localSocket; - QString themeName; -}; - -#endif // HBTHEMECLIENTQT_P_H