summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--library/qpeapplication.cpp17
1 files changed, 12 insertions, 5 deletions
diff --git a/library/qpeapplication.cpp b/library/qpeapplication.cpp
index acad81d..35f433c 100644
--- a/library/qpeapplication.cpp
+++ b/library/qpeapplication.cpp
@@ -132,3 +132,5 @@ public:
bigIconSize = cfg.readNumEntry( "BigIconSize", 32 );
+#ifdef OPIE_ROHFEEDBACK
RoH = 0;
+#endif
}
@@ -138,2 +140,5 @@ public:
QPoint presspos;
+#ifdef OPIE_ROHFEEDBACK
+ Opie::Internal::RoHFeedback *RoH;
+#endif
@@ -499,4 +504,2 @@ static void qpe_show_dialog( QDialog* d, bool nomax )
}
-
- Opie::Internal::RoHFeedback * RoH;
};
@@ -1214,3 +1217,5 @@ QPEApplication::~QPEApplication()
#endif
+#ifdef OPIE_ROHFEEDBACK
delete d->RoH;
+#endif
delete d;
@@ -2037,3 +2042,3 @@ bool QPEApplication::eventFilter( QObject *o, QEvent *e )
static int pref = 500;
-#ifdef WITHROHFEEDBACK
+#ifdef OPIE_ROHFEEDBACK
if( ! d->RoH )
@@ -2052,3 +2057,3 @@ bool QPEApplication::eventFilter( QObject *o, QEvent *e )
killTimer(d->presstimer);
-#ifdef WITHROHFEEDBACK
+#ifdef OPIE_ROHFEEDBACK
if( d->RoH )
@@ -2063,3 +2068,3 @@ bool QPEApplication::eventFilter( QObject *o, QEvent *e )
killTimer(d->presstimer);
-#ifdef WITHROHFEEDBACK
+#ifdef OPIE_ROHFEEDBACK
if( d->RoH )
@@ -2120,3 +2125,5 @@ void QPEApplication::timerEvent( QTimerEvent *e )
d->rightpressed = TRUE;
+#ifdef OPIE_ROHFEEDBACK
d->RoH->stop();
+#endif
}