diff -r cce62ebc198e -r 93c594350b9a radioapp/radioapplication/inc/testwindow_win32.h --- a/radioapp/radioapplication/inc/testwindow_win32.h Tue Aug 31 15:15:02 2010 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,88 +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 WIN32_WINDOW_H -#define WIN32_WINDOW_H - -// System includes -#include - -// Forward declarations -class HbMainWindow; -class QPushButton; -class QComboBox; -class QGridLayout; - -class Win32Window : public QWidget -{ - Q_OBJECT -public: - - Win32Window(); - ~Win32Window(); - - void addHbWindow( HbMainWindow* radioWindow ); - - void init(); - -private slots: - - void changeOrientation(); - void volumeUp(); - void volumeDown(); - void toggleHeadsetStatus(); - void updateWindowSize(); - void addSong(); - void clearSong(); - void toggleOffline(); - void changeTheme( const QString& theme ); - -private: - - void initThemes(); - QStringList themeRootPaths(); - -private: // data - - QPushButton* mOrientationButton; - - QPushButton* mVolUpButton; - QPushButton* mVolDownButton; - - QPushButton* mAddSongButton; - QPushButton* mClearSongButton; - - QPushButton* mHeadsetButton; - bool mHeadsetConnected; - - QPushButton* mOfflineButton; - - QComboBox* mThemeBox; - - QGridLayout* mToolbarLayout; - - int mVolume; - - HbMainWindow* mRadioWindow; - - Qt::Orientation mOrientation; - - int mSongIndex; - -}; - -#endif // WIN32_WINDOW_H