mmsharing/livecommsui/lcui/tsrc/ut_lcui/hbstubs/hbstubs.cpp
changeset 39 4bcc59142325
parent 34 01f0bb65bcf1
equal deleted inserted replaced
37:e9675fb210bd 39:4bcc59142325
    41 #include <hblineedit.h>
    41 #include <hblineedit.h>
    42 #include <QCoreApplication>
    42 #include <QCoreApplication>
    43 #include <QGesture>
    43 #include <QGesture>
    44 #include <QWidget.h>
    44 #include <QWidget.h>
    45 #include <hbtapgesture.h>
    45 #include <hbtapgesture.h>
       
    46 #include <hbvolumesliderpopup.h>
       
    47 #include <hbsliderpopup.h>
       
    48 
       
    49 
    46 
    50 
    47 // Helper Class
    51 // Helper Class
    48 #include "hbstub_helper.h"
    52 #include "hbstub_helper.h"
    49 
    53 
    50 // LC UI
    54 // LC UI
  1277 int HbMessageBox::standardButtons() const
  1281 int HbMessageBox::standardButtons() const
  1278 {
  1282 {
  1279    return HbMessageBox::NoButton;
  1283    return HbMessageBox::NoButton;
  1280 }
  1284 }
  1281 
  1285 
       
  1286 
       
  1287 
       
  1288 // HbSliderPopup
       
  1289 // -----------------------------------------------------------------------------
       
  1290 // HbSliderPopup::HbSliderPopup
       
  1291 // -----------------------------------------------------------------------------
       
  1292 //
       
  1293 
       
  1294 HbSliderPopup::HbSliderPopup(QGraphicsItem *parent) 
       
  1295     : HbDialog(parent)
       
  1296     
       
  1297 {
       
  1298 
       
  1299 }
       
  1300 
       
  1301 // -----------------------------------------------------------------------------
       
  1302 // HbSliderPopup::~HbSliderPopup
       
  1303 // -----------------------------------------------------------------------------
       
  1304 //
       
  1305 HbSliderPopup::~HbSliderPopup()
       
  1306 {
       
  1307 }
       
  1308 
       
  1309 // -----------------------------------------------------------------------------
       
  1310 // HbSliderPopup::setRange
       
  1311 // -----------------------------------------------------------------------------
       
  1312 //
       
  1313 void HbSliderPopup::setRange(int min,int max)
       
  1314 {
       
  1315     mMinValue = min;
       
  1316     mMaxValue = max;
       
  1317 }
       
  1318 
       
  1319 // -----------------------------------------------------------------------------
       
  1320 // 
       
  1321 // -----------------------------------------------------------------------------
       
  1322 //
       
  1323 int HbSliderPopup::minimum() const
       
  1324 {
       
  1325     return mMinValue;
       
  1326 }
       
  1327 
       
  1328 // -----------------------------------------------------------------------------
       
  1329 // 
       
  1330 // -----------------------------------------------------------------------------
       
  1331 //
       
  1332 int HbSliderPopup::maximum() const
       
  1333 {
       
  1334     return mMaxValue;
       
  1335 }
       
  1336 
       
  1337 // -----------------------------------------------------------------------------
       
  1338 // 
       
  1339 // -----------------------------------------------------------------------------
       
  1340 //
       
  1341 int HbSliderPopup::value() const
       
  1342 {
       
  1343     return mValue;
       
  1344 }
       
  1345 
       
  1346 // -----------------------------------------------------------------------------
       
  1347 // 
       
  1348 // -----------------------------------------------------------------------------
       
  1349 //
       
  1350 int HbSliderPopup::singleStep() const
       
  1351 {
       
  1352     return mSingleStep;
       
  1353 }
       
  1354 
       
  1355 // -----------------------------------------------------------------------------
       
  1356 // 
       
  1357 // -----------------------------------------------------------------------------
       
  1358 //
       
  1359 void HbSliderPopup::setSingleStep(int step)
       
  1360     {
       
  1361     mSingleStep = step;
       
  1362     }
       
  1363 
       
  1364 // -----------------------------------------------------------------------------
       
  1365 // HbSliderPopup::setValue
       
  1366 // -----------------------------------------------------------------------------
       
  1367 //
       
  1368 void HbSliderPopup::setValue(int value)
       
  1369 {
       
  1370     mValue = value;
       
  1371 }
       
  1372 
       
  1373 
       
  1374 
       
  1375 // HbVolumeSliderPopup
       
  1376 
       
  1377 // -----------------------------------------------------------------------------
       
  1378 // HbVolumeSliderPopup::HbVolumeSliderPopup
       
  1379 // -----------------------------------------------------------------------------
       
  1380 //
       
  1381 HbVolumeSliderPopup::HbVolumeSliderPopup( ) : HbSliderPopup()
       
  1382 {
       
  1383 }
       
  1384 
       
  1385 // -----------------------------------------------------------------------------
       
  1386 // HbVolumeSliderPopup::~HbVolumeSliderPopup
       
  1387 // -----------------------------------------------------------------------------
       
  1388 //
       
  1389 HbVolumeSliderPopup::~HbVolumeSliderPopup()
       
  1390 {
       
  1391 }
       
  1392 
       
  1393 
       
  1394 
  1282 // -----------------------------------------------------------------------------
  1395 // -----------------------------------------------------------------------------
  1283 // Stub Helper
  1396 // Stub Helper
  1284 // -----------------------------------------------------------------------------
  1397 // -----------------------------------------------------------------------------
  1285 //
  1398 //
  1286 void HbStubHelper::setGestureState(int state)
  1399 void HbStubHelper::setGestureState(int state)