bluetoothengine/btui/btuidelegate/btdelegatedevname.cpp
changeset 63 bcf742120177
parent 33 837dcc42fd6a
--- a/bluetoothengine/btui/btuidelegate/btdelegatedevname.cpp	Wed Aug 18 09:59:05 2010 +0300
+++ b/bluetoothengine/btui/btuidelegate/btdelegatedevname.cpp	Fri Sep 17 08:30:56 2010 +0300
@@ -34,6 +34,15 @@
 }
 
 /*!
+    Returns the supported editor types.
+    \return the sum of supported editor types
+ */
+int BtDelegateDevName::supportedEditorTypes() const
+{
+    return BtDelegate::ChangeLocalName;
+}
+
+/*!
     Validate the bluetooth device name given by the user:
     Extra spaces (' ', '\n', '\t' and '\r') from the beginning, 
     middle and the end of the name are always removed;
@@ -70,7 +79,7 @@
         btName.Close();
     }
     
-    emit commandCompleted(error, btDevName);
+    emit delegateCompleted(error, this);
 }