src/hbplugins/inputmethods/hardwareinput/hardwareinputplugin.cpp
changeset 23 e6ad4ef83b23
parent 0 16d8024aca5e
--- a/src/hbplugins/inputmethods/hardwareinput/hardwareinputplugin.cpp	Wed Aug 18 10:05:37 2010 +0300
+++ b/src/hbplugins/inputmethods/hardwareinput/hardwareinputplugin.cpp	Thu Sep 02 20:44:51 2010 +0300
@@ -58,13 +58,13 @@
 //
 QInputContext* HbHardwareInputPlugin::create(const QString& key)
 {
-	if (key == QString("HbHardware12key")) {
-		return new HbHardware12key();
-	} else if (key == QString("HbHardwareQwerty")) {
+    if (key == QString("HbHardware12key")) {
+        return new HbHardware12key();
+    } else if (key == QString("HbHardwareQwerty")) {
         return new HbHardwareQwerty();
-	} else {
-		return 0;
-	}
+    } else {
+        return 0;
+    }
 }
 
 // ---------------------------------------------------------------------------
@@ -73,14 +73,14 @@
 // ---------------------------------------------------------------------------
 //
 QString HbHardwareInputPlugin::description(const QString& key)
-{	
-	if (key == QString("HbHardware12key")) {
-		return QString("HW phone keypad input");
+{   
+    if (key == QString("HbHardware12key")) {
+        return QString("HW phone keypad input");
     } else if (key == QString("HbHardwareQwerty")) {
         return QString("HW phone Qwerty keypad input");
-	} else {
-		return QString("");
-	}
+    } else {
+        return QString("");
+    }
 }
 
 // ---------------------------------------------------------------------------
@@ -90,13 +90,13 @@
 //
 QString HbHardwareInputPlugin::displayName(const QString& key)
 {
-	if (key == QString("HbHardware12key")) {
-		return QString("HW 12-key");
+    if (key == QString("HbHardware12key")) {
+        return QString("HW 12-key");
     } else if (key == QString("HbHardwareQwerty")) {
         return QString("HW phone Qwerty keypad input");
-	} else {
-		return QString("");
-	}
+    } else {
+        return QString("");
+    }
 }
 
 // ---------------------------------------------------------------------------
@@ -106,10 +106,10 @@
 //
 QStringList HbHardwareInputPlugin::keys() const
 {
-	QStringList keys;
-	keys.append(QString("HbHardware12key"));
-	keys.append(QString("HbHardwareQwerty"));
-	return keys;
+    QStringList keys;
+    keys.append(QString("HbHardware12key"));
+    keys.append(QString("HbHardwareQwerty"));
+    return keys;
 }
 
 // ---------------------------------------------------------------------------
@@ -119,7 +119,7 @@
 //
 QStringList HbHardwareInputPlugin::languages(const QString& /*key*/)
 {
-	return QStringList();
+    return QStringList();
 }
 
 //