Home · All Classes · Main Classes · Deprecated

mseekbar.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 MSEEKBAR_H
00021 #define MSEEKBAR_H
00022 
00023 #include "mslider.h"
00024 #include <mseekbarmodel.h>
00025 
00053 class M_CORE_EXPORT MSeekBar : public MSlider
00054 {
00055     Q_OBJECT
00056     M_CONTROLLER(MSeekBar)
00057 
00058     
00064     Q_PROPERTY(int loadedContentMinimum READ loadedContentMinimum WRITE setLoadedContentMinimum)
00065 
00072     Q_PROPERTY(int loadedContentMaximum READ loadedContentMaximum WRITE setLoadedContentMaximum)
00073 
00074 public:
00080     explicit MSeekBar(QGraphicsItem *parent = 0, MSeekBarModel *model = 0);
00081 
00086     int loadedContentMinimum() const;
00091     int loadedContentMaximum() const;
00092 
00093 public Q_SLOTS:
00098     void setLoadedContentMinimum(int minimum);
00099 
00104     void setLoadedContentMaximum(int maximum);
00105 
00111     void setLoadedContentRange(int minimum, int maximum);
00112 
00117     virtual void setValue(int value);
00118 
00119 Q_SIGNALS:
00123     void outOfLoadedContentRange();
00124 };
00125 
00126 #endif

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