* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
***************************************************************************/
+
#include <QScrollArea>
#include <QGroupBox>
#include <QGridLayout>
#include <QDialogButtonBox>
#include <QAbstractButton>
+#ifdef Q_WS_MAEMO_5
+ #include <QtMaemo5/QMaemo5KineticScroller>
+#endif
+
#include "ColumnSelectorDialog.h"
treeWidget_(treewidget),
checkBoxes_()
{
+ /// @TODO Kineticscrolling (Fingerscrollable does not work in Qt 4.6, only in 4.5)
QScrollArea *scrollArea = new QScrollArea(this);
+
+#ifdef Q_WS_MAEMO_5
+ new QMaemo5KineticScroller(scrollArea);
+#endif
+
scrollArea->setWidgetResizable(true);
//scrollArea->setProperty("FingerScrollable", false);
QBoxLayout *verticalBox = new QBoxLayout(QBoxLayout::TopToBottom);
grid_ = new QGridLayout;
QCheckBox *cbox = NULL;
-/// @TODO Kineticscrolling (Fingerscrollable does not work in Qt 4.6, only in 4.5)
-#ifdef Q_WS_HILDON
- //Specific hildon/Maemo5 code here
-#endif
+
// Create scrollable checkbox dialog to allow proper viewing on Maemo:
verticalBox->addWidget(scrollArea);