34
|
1 |
/*
|
|
2 |
* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
|
|
3 |
* All rights reserved.
|
|
4 |
* This component and the accompanying materials are made available
|
|
5 |
* under the terms of "Eclipse Public License v1.0"
|
|
6 |
* which accompanies this distribution, and is available
|
|
7 |
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
|
|
8 |
*
|
|
9 |
* Initial Contributors:
|
|
10 |
* Nokia Corporation - initial contribution.
|
|
11 |
*
|
|
12 |
* Contributors:
|
|
13 |
*
|
|
14 |
* Description: stub hbscrollbar
|
|
15 |
*
|
|
16 |
*/
|
|
17 |
|
|
18 |
#ifndef HBSCROLLBAR_H
|
|
19 |
#define HBSCROLLBAR_H
|
|
20 |
|
|
21 |
#include <QObject>
|
|
22 |
|
|
23 |
#include "hbwidget.h"
|
|
24 |
|
|
25 |
|
|
26 |
class HbScrollBar : public HbWidget
|
|
27 |
{
|
|
28 |
Q_OBJECT
|
|
29 |
|
|
30 |
public:
|
|
31 |
/**
|
|
32 |
* Contructor.
|
|
33 |
*/
|
|
34 |
HbScrollBar( QGraphicsItem *parent = 0 ) : HbWidget(parent)
|
|
35 |
{
|
|
36 |
initializeCount++;
|
|
37 |
};
|
|
38 |
|
|
39 |
|
|
40 |
/**
|
|
41 |
* destructor
|
|
42 |
*/
|
|
43 |
virtual ~HbScrollBar(){initializeCount--;}
|
|
44 |
|
|
45 |
/**
|
|
46 |
* sets mInteractive
|
|
47 |
*/
|
|
48 |
void setInteractive(bool interactive)
|
|
49 |
{
|
|
50 |
mInteractive = interactive;
|
|
51 |
}
|
|
52 |
|
|
53 |
/**
|
|
54 |
* counter to make sure alloc dealloc match
|
|
55 |
*/
|
|
56 |
static int initializeCount;
|
|
57 |
|
|
58 |
/**
|
|
59 |
* setted in setInteractive
|
|
60 |
*/
|
|
61 |
static bool mInteractive;
|
|
62 |
|
|
63 |
|
|
64 |
|
|
65 |
};
|
|
66 |
|
|
67 |
#endif
|