Home · All Classes · Main Classes · Deprecated

mscenewindowview.h

Go to the documentation of this file.
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 MSCENEWINDOWVIEW_H
00021 #define MSCENEWINDOWVIEW_H
00022 
00023 #include "mwidgetview.h"
00024 #include "mscenewindowmodel.h"
00025 #include <mscenewindowstyle.h>
00026 
00027 class MSceneWindow;
00028 class MSceneWindowViewPrivate;
00029 
00042 class M_VIEWS_EXPORT MSceneWindowView : public MWidgetView
00043 {
00044     Q_OBJECT
00045     M_VIEW(MSceneWindowModel, MSceneWindowStyle)
00046     Q_PROPERTY(Qt::Alignment alignment READ alignment)
00047     Q_PROPERTY(QPointF offset READ offset)
00048 
00049 public:
00053     MSceneWindowView(MSceneWindow *controller);
00057     virtual ~MSceneWindowView();
00058 
00064     Qt::Alignment alignment() const;
00065 
00070     QPointF offset() const;
00071 
00072 protected:
00073     MSceneWindowView(MSceneWindowViewPrivate &dd, MSceneWindow *controller);
00074 
00076     virtual void applyStyle();
00077     virtual void setupModel();
00079 
00080 signals:
00084     void geometryAttributesChanged();
00085 
00086 private:
00087     Q_PRIVATE_SLOT(d_func(), void _q_playSceneWindowAppearingFeedback())
00088 
00089     Q_DECLARE_PRIVATE(MSceneWindowView)
00090     Q_DISABLE_COPY(MSceneWindowView)
00091 };
00092 
00093 #endif

Copyright © 2010 Nokia Corporation Generated on Thu Nov 4 2010 18:14:21 (PDT)
Doxygen 1.7.1
MeeGo Touch