| 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 mcontrolpanel. 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 sw=4 ts=4 sts=4: */ 00020 00021 #ifndef MCPBRIEF_H 00022 #define MCPBRIEF_H 00023 00024 #include <QObject> 00025 #include <QString> 00026 00038 class McpBrief: public QObject 00039 { 00040 Q_OBJECT 00041 00042 public: 00043 virtual ~McpBrief(); 00044 00055 virtual int widgetTypeID() const; 00056 00061 virtual QString valueText () const; 00062 00074 virtual QString icon () const; 00075 00079 virtual QString toggleIconId () const; 00080 00086 virtual Qt::Alignment align () const; 00087 00094 virtual bool toggle () const; 00095 00103 virtual void setToggle (bool toggle); 00104 00115 virtual QString image () const; 00116 00120 void activate (); 00121 00122 signals: 00125 void valuesChanged(); 00126 00132 void activateSignal (); 00133 00134 public: 00142 virtual QString titleText () const; 00143 }; 00144 00145 00146 #endif 00147
| Copyright © 2009 Nokia Corporation | Generated on Thu Nov 4 2010 18:21:33 Doxygen 1.7.1 |
DirectUI |