diff -r 25fce757be94 -r e02eb84a14d2 usbuis/usbsettingsapp/inc/usbsettingsapp.h --- a/usbuis/usbsettingsapp/inc/usbsettingsapp.h Tue Aug 31 16:13:57 2010 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,69 +0,0 @@ -/* -* Copyright (c) 2010 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 USBSETTINGSAPP_H -#define USBSETTINGSAPP_H - -#include -#include - -const int KUSBPortrateMinLine = 4; -const int KUSBPortrateMaxLine = 4; -const int KUSBLandscapeMinLine = 2; -const int KUSBLandscapeMaxLine = 2; - -class UsbUiSettingModel; -class QItemSelectionModel; -class HbView; -class HbDocumentLoader; -class HbListViewItem; - -class USBSettingsApp : public HbMainWindow -{ - Q_OBJECT - -public: - USBSettingsApp(QWidget *parent = 0); - ~USBSettingsApp(); - -public slots: - /* - * Handles the orientation change - * @param orientation is teh new orientation to be set - */ - void setOrientation(Qt::Orientation orientation); - -private: - /* - * Loads the DOCML and build the view by finding the widgets from it - * @param Orientation at loading time - */ - void load(Qt::Orientation); - -private: - // pointer to the HbDocumentLoader to load the DOCML owned by this class - HbDocumentLoader *mDocumentLoader; - // Pointer to the view, owned - HbView *mView; - //Pointer to model, owned - UsbUiSettingModel *mModel; - //Pointer to selection model, owned - QItemSelectionModel *mSelectionModel; - HbListViewItem *mListViewItem; -}; - -#endif // USBSETTINGSAPP_H