Home · All Namespaces · All Classes · Main Classes |
00001 /*************************************************************************** 00002 ** 00003 ** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). 00004 ** All rights reserved. 00005 ** Contact: Karoliina T. Salminen <karoliina.t.salminen@nokia.com> 00006 ** 00007 ** This file is part of duicontrolpanel. 00008 ** 00009 ** 00010 ** This library is free software; you can redistribute it and/or 00011 ** modify it under the terms of the GNU Lesser General Public 00012 ** License version 2.1 as published by the Free Software Foundation 00013 ** and appearing in the file LICENSE.LGPL included in the packaging 00014 ** of this file. 00015 ** 00016 ****************************************************************************/ 00017 00018 /* -*- Mode: C; indent-tabs-mode: s; c-basic-offset: 4; tab-width: 4 -*- */ 00019 /* vim:set et ai sw=4 ts=4 sts=4: tw=80 cino="(0,W2s,i2s,t0,l1,:0" */ 00020 00021 #ifndef DCPWIDGET_H 00022 #define DCPWIDGET_H 00023 00024 #include <MWidget> 00025 00026 class DcpWidgetPrivate; 00027 00037 class DcpWidget: public MWidget 00038 { 00039 Q_OBJECT 00040 00041 public: 00042 DcpWidget (QGraphicsWidget *parent = 0); 00043 virtual ~DcpWidget(); 00044 00045 virtual void setReferer (int widgetId); 00046 00047 virtual bool back (); 00048 virtual bool pagePans () const; 00049 00050 int getWidgetId (); 00051 bool setWidgetId (int widgetId); 00052 00053 signals: 00063 void changeWidget (int widgetId); 00064 00073 bool activatePluginByName (const QString &appletName) const; 00074 00075 private: 00076 DcpWidgetPrivate* const d_ptr; 00077 Q_DISABLE_COPY(DcpWidget); 00078 friend class Ut_DcpWidget; 00079 signals: 00084 void closePage(); 00085 00086 public: 00095 virtual QString title() const; 00096 00097 public slots: 00108 void setProgressIndicatorVisible (bool visible); 00109 00110 public: 00111 bool isProgressIndicatorVisible () const; 00112 00113 signals: 00120 void inProgress (bool isInProgress); 00121 }; 00122 00123 #endif 00124
Copyright © 2009 Nokia Corporation | Generated on Tue Jul 5 2011 15:01:31 Doxygen 1.7.1 |
Meego control panel |