src/hbplugins/inputmethods/hardwareinput/hbhardwareqwerty.cpp
changeset 34 ed14f46c0e55
parent 1 f7ac710697a9
--- a/src/hbplugins/inputmethods/hardwareinput/hbhardwareqwerty.cpp	Mon Oct 04 17:49:30 2010 +0300
+++ b/src/hbplugins/inputmethods/hardwareinput/hbhardwareqwerty.cpp	Mon Oct 18 18:23:13 2010 +0300
@@ -160,12 +160,12 @@
 //
 bool HbHardwareQwerty::filterEvent(const QEvent *event)
 {
-	const QKeyEvent *keyEvent = 0;
+    const QKeyEvent *keyEvent = 0;
     keyEvent = static_cast<const QKeyEvent *>(event);
-	if(keyEvent->key() == Qt::Key_F8){
-		emit flipStatusChange();
-		return false;
-	}
+    if(keyEvent->key() == Qt::Key_F8){
+        emit flipStatusChange();
+        return false;
+    }
     if(handleEvent()){
         return mActiveModeHandler->filterEvent(event);
     } 
@@ -425,7 +425,7 @@
     //activateState(inputState);
     //focusedObject->editorInterface().setInputMode(mMode);
     //focusedObject->syncEditorInterface();
-	Q_UNUSED(newStatus);
+    Q_UNUSED(newStatus);
 
 //    HbInputFocusObject *focusedObject = focusObject();
     /*if (focusedObject)*/ {
@@ -556,26 +556,26 @@
 */
 bool HbHardwareQwerty::usePrediction() const
 {
-	qDebug("in usePrediction()");
+    qDebug("in usePrediction()");
     HbInputFocusObject *fo = focusObject();
-	if(!fo){
-		qDebug("NO Focus object");
-	} else {
-		qDebug("Yes Focus object");
-	}
-	
-	if (!HbInputSettingProxy::instance()->predictiveInputStatus()){
-		qDebug("No HbInputSettingProxy::instance()->predictiveInputStatus()");
-	} else {
-		qDebug("Yes HbInputSettingProxy::instance()->predictiveInputStatus()");	
-	}
-	
-	if(!mPredictionModeHandler->isActive()){
-		qDebug("No mPredictionModeHandler->isActive()");
+    if(!fo){
+        qDebug("NO Focus object");
+    } else {
+        qDebug("Yes Focus object");
+    }
+    
+    if (!HbInputSettingProxy::instance()->predictiveInputStatus()){
+        qDebug("No HbInputSettingProxy::instance()->predictiveInputStatus()");
+    } else {
+        qDebug("Yes HbInputSettingProxy::instance()->predictiveInputStatus()"); 
+    }
+    
+    if(!mPredictionModeHandler->isActive()){
+        qDebug("No mPredictionModeHandler->isActive()");
 
-	} else {
-		qDebug("Yes mPredictionModeHandler->isActive()");
-	}
+    } else {
+        qDebug("Yes mPredictionModeHandler->isActive()");
+    }
 
 
     if (HbInputSettingProxy::instance()->predictiveInputStatus() &&