1 /****************************************************************************
3 ** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies).
4 ** All rights reserved.
5 ** Contact: Nokia Corporation (directui@nokia.com)
7 ** This file is part of meegotouch-controlpanelapplets.
9 ** If you have questions regarding the use of this file, please contact
10 ** Nokia at directui@nokia.com.
12 ** This library is free software; you can redistribute it and/or
13 ** modify it under the terms of the GNU Lesser General Public
14 ** License version 2.1 as published by the Free Software Foundation
15 ** and appearing in the file LICENSE.LGPL included in the packaging
18 ****************************************************************************/
19 #ifndef SUBTITLESAPPLET_H
20 #define SUBTITLESAPPLET_H
22 #include <DcpAppletIf>
28 class SubtitlesWidget;
30 class Q_DECL_EXPORT SubtitlesApplet : public QObject, public DcpAppletIf
33 Q_INTERFACES(DcpAppletIf)
40 virtual DcpStylableWidget *constructStylableWidget (int widgetId);
41 virtual QString title () const;
42 virtual QVector<MAction *> viewMenuItems ();
43 virtual DcpBrief* constructBrief (int partId = 0);
46 QPointer<SubtitlesWidget> m_MainWidget;