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 DCPSTYLABLEWIDGET_H 00022 #define DCPSTYLABLEWIDGET_H 00023 00024 #include <MStylableWidget> 00025 00026 class DcpStylableWidgetPrivate; 00027 00037 class DcpStylableWidget: public MStylableWidget 00038 { 00039 Q_OBJECT 00040 00041 public: 00042 DcpStylableWidget (QGraphicsWidget *parent = 0); 00043 virtual ~DcpStylableWidget(); 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 DcpStylableWidgetPrivate* const d_ptr; 00077 Q_DISABLE_COPY(DcpStylableWidget); 00078 friend class Ut_DcpStylableWidget; 00079 00080 signals: 00085 void closePage(); 00086 00087 public: 00096 virtual QString title() const; 00097 00098 public slots: 00109 void setProgressIndicatorVisible (bool visible); 00110 00111 public: 00112 bool isProgressIndicatorVisible () const; 00113 00114 signals: 00121 void inProgress (bool isInProgress); 00122 }; 00123 00124 #endif 00125
Copyright © 2009 Nokia Corporation | Generated on Tue Jul 5 2011 15:01:31 Doxygen 1.7.1 |
Meego control panel |