| Home · All Classes · Main Classes · Deprecated |
00001 /*************************************************************************** 00002 ** 00003 ** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). 00004 ** All rights reserved. 00005 ** Contact: Nokia Corporation (directui@nokia.com) 00006 ** 00007 ** This file is part of libmeegotouch. 00008 ** 00009 ** If you have questions regarding the use of this file, please contact 00010 ** Nokia at directui@nokia.com. 00011 ** 00012 ** This library is free software; you can redistribute it and/or 00013 ** modify it under the terms of the GNU Lesser General Public 00014 ** License version 2.1 as published by the Free Software Foundation 00015 ** and appearing in the file LICENSE.LGPL included in the packaging 00016 ** of this file. 00017 ** 00018 ****************************************************************************/ 00019 00020 #ifndef MAPPLICATIONEXTENSIONAREA_H 00021 #define MAPPLICATIONEXTENSIONAREA_H 00022 00023 #include "mextensionarea.h" 00024 #include "mapplicationextensionareamodel.h" 00025 00026 class MApplicationExtensionAreaPrivate; 00027 class MApplicationExtensionInterface; 00028 00039 class M_EXTENSIONS_EXPORT MApplicationExtensionArea : public MExtensionArea 00040 { 00041 Q_OBJECT 00042 M_CONTROLLER(MApplicationExtensionArea) 00043 00044 public: 00054 explicit MApplicationExtensionArea(const QString &interface, QGraphicsItem *parent = NULL); 00055 00059 virtual ~MApplicationExtensionArea(); 00060 00076 void setInProcessFilter(const QRegExp &inProcessFilter); 00077 00093 void setOutOfProcessFilter(const QRegExp &outOfProcessFilter); 00094 00105 void setOrder(const QStringList &order); 00106 00117 bool init(); 00118 00124 QList<MApplicationExtensionInterface*> extensions(); 00125 00127 00143 explicit MApplicationExtensionArea(const QString &interface, const bool enableInProcessExtensions, QGraphicsItem *parent = NULL); 00145 00146 signals: 00152 void extensionInstantiated(MApplicationExtensionInterface *extension); 00153 00159 void extensionRemoved(MApplicationExtensionInterface* extension); 00160 00161 protected: 00166 MApplicationExtensionArea(MApplicationExtensionAreaPrivate *dd, MApplicationExtensionAreaModel *model, QGraphicsItem *parent, const QString &interface); 00167 00169 00175 MApplicationExtensionArea(MApplicationExtensionAreaPrivate *dd, MApplicationExtensionAreaModel *model, 00176 QGraphicsItem *parent, const QString &interface, const bool enableInProcessExtensions); 00178 00179 private: 00180 Q_DECLARE_PRIVATE(MApplicationExtensionArea) 00181 Q_DISABLE_COPY(MApplicationExtensionArea) 00182 }; 00183 00184 #endif // MAPPLICATIONEXTENSIONAREA_H
| Copyright © 2010 Nokia Corporation | Generated on Thu Nov 4 2010 18:14:20 (PDT) Doxygen 1.7.1 |
MeeGo Touch |