mmsharing/livecommsui/lcui/tsrc/ut_lcui/hbstubs/hbstubs.cpp
changeset 39 4bcc59142325
parent 34 01f0bb65bcf1
--- a/mmsharing/livecommsui/lcui/tsrc/ut_lcui/hbstubs/hbstubs.cpp	Fri Sep 17 08:28:43 2010 +0300
+++ b/mmsharing/livecommsui/lcui/tsrc/ut_lcui/hbstubs/hbstubs.cpp	Mon Oct 04 00:13:53 2010 +0300
@@ -43,6 +43,10 @@
 #include <QGesture>
 #include <QWidget.h>
 #include <hbtapgesture.h>
+#include <hbvolumesliderpopup.h>
+#include <hbsliderpopup.h>
+
+
 
 // Helper Class
 #include "hbstub_helper.h"
@@ -1279,6 +1283,115 @@
    return HbMessageBox::NoButton;
 }
 
+
+
+// HbSliderPopup
+// -----------------------------------------------------------------------------
+// HbSliderPopup::HbSliderPopup
+// -----------------------------------------------------------------------------
+//
+
+HbSliderPopup::HbSliderPopup(QGraphicsItem *parent) 
+    : HbDialog(parent)
+    
+{
+
+}
+
+// -----------------------------------------------------------------------------
+// HbSliderPopup::~HbSliderPopup
+// -----------------------------------------------------------------------------
+//
+HbSliderPopup::~HbSliderPopup()
+{
+}
+
+// -----------------------------------------------------------------------------
+// HbSliderPopup::setRange
+// -----------------------------------------------------------------------------
+//
+void HbSliderPopup::setRange(int min,int max)
+{
+    mMinValue = min;
+    mMaxValue = max;
+}
+
+// -----------------------------------------------------------------------------
+// 
+// -----------------------------------------------------------------------------
+//
+int HbSliderPopup::minimum() const
+{
+    return mMinValue;
+}
+
+// -----------------------------------------------------------------------------
+// 
+// -----------------------------------------------------------------------------
+//
+int HbSliderPopup::maximum() const
+{
+    return mMaxValue;
+}
+
+// -----------------------------------------------------------------------------
+// 
+// -----------------------------------------------------------------------------
+//
+int HbSliderPopup::value() const
+{
+    return mValue;
+}
+
+// -----------------------------------------------------------------------------
+// 
+// -----------------------------------------------------------------------------
+//
+int HbSliderPopup::singleStep() const
+{
+    return mSingleStep;
+}
+
+// -----------------------------------------------------------------------------
+// 
+// -----------------------------------------------------------------------------
+//
+void HbSliderPopup::setSingleStep(int step)
+    {
+    mSingleStep = step;
+    }
+
+// -----------------------------------------------------------------------------
+// HbSliderPopup::setValue
+// -----------------------------------------------------------------------------
+//
+void HbSliderPopup::setValue(int value)
+{
+    mValue = value;
+}
+
+
+
+// HbVolumeSliderPopup
+
+// -----------------------------------------------------------------------------
+// HbVolumeSliderPopup::HbVolumeSliderPopup
+// -----------------------------------------------------------------------------
+//
+HbVolumeSliderPopup::HbVolumeSliderPopup( ) : HbSliderPopup()
+{
+}
+
+// -----------------------------------------------------------------------------
+// HbVolumeSliderPopup::~HbVolumeSliderPopup
+// -----------------------------------------------------------------------------
+//
+HbVolumeSliderPopup::~HbVolumeSliderPopup()
+{
+}
+
+
+
 // -----------------------------------------------------------------------------
 // Stub Helper
 // -----------------------------------------------------------------------------