phonesettings/cpphonesettingsplugins/tsrc/mocks/mock_cpphonenotes.cpp
changeset 27 2f8f8080a020
parent 21 92ab7f8d0eab
child 30 ebdbd102c78a
--- a/phonesettings/cpphonesettingsplugins/tsrc/mocks/mock_cpphonenotes.cpp	Fri Apr 16 14:58:25 2010 +0300
+++ b/phonesettings/cpphonesettingsplugins/tsrc/mocks/mock_cpphonenotes.cpp	Mon May 03 12:31:11 2010 +0300
@@ -97,25 +97,6 @@
 }
 
 // -----------------------------------------------------------------------------
-// CpPhoneNotes::showBasicServiceCallDivertList
-// -----------------------------------------------------------------------------
-//
-void CpPhoneNotes::showBasicServiceCallDivertList( 
-        const QString & title,
-        const QList<PSCallDivertingStatus *> & divertStatuses,
-        int & selectionIndex,
-        CallDivertType divertType,
-        CallDivertType & divertDetailType )
-    {
-    SMC_MOCK_METHOD5( void, const QString &, title, 
-        const QList<PSCallDivertingStatus *> &, divertStatuses, 
-        int &, selectionIndex, 
-        CallDivertType, divertType, 
-        CallDivertType &, divertDetailType )
-    }
-
-
-// -----------------------------------------------------------------------------
 // CpPhoneNotes::showCallDivertDetails
 // -----------------------------------------------------------------------------
 //
@@ -127,6 +108,26 @@
 
 
 // -----------------------------------------------------------------------------
+// CpPhoneNotes::showPasswordQueryDialog
+// -----------------------------------------------------------------------------
+//
+void CpPhoneNotes::showPasswordQueryDialog(
+    const QString &title, 
+    const QValidator &validator,
+    int maxPasswordLength,
+    QString &password, 
+    bool &ok)
+{
+    SMC_MOCK_METHOD5( void, 
+        const QString &, title, 
+        const QValidator &, validator,
+        int, maxPasswordLength,
+        QString &, password,
+        bool &, ok)
+}
+
+
+// -----------------------------------------------------------------------------
 // CpPhoneNotes::cancelNote
 // -----------------------------------------------------------------------------
 //
@@ -137,6 +138,16 @@
 
 
 // -----------------------------------------------------------------------------
+// CpPhoneNotes::noteShowing
+// -----------------------------------------------------------------------------
+//
+bool CpPhoneNotes::noteShowing()
+{
+    SMC_MOCK_METHOD0( bool )
+}
+
+
+// -----------------------------------------------------------------------------
 // CpPhoneNotes::activeNoteAboutToClose
 // -----------------------------------------------------------------------------
 //
@@ -145,6 +156,7 @@
     SMC_MOCK_METHOD0( void )
 }
 
+
 // -----------------------------------------------------------------------------
 // CpPhoneNotes::handleProgressNoteCanceled
 // -----------------------------------------------------------------------------
@@ -154,11 +166,13 @@
     SMC_MOCK_METHOD0( void )
 }
 
+
 // -----------------------------------------------------------------------------
-// CpPhoneNotes::noteShowing
+// CpPhoneNotes::passwordTextChanged
 // -----------------------------------------------------------------------------
 //
-bool CpPhoneNotes::noteShowing()
+
+void CpPhoneNotes::passwordTextChanged()
 {
-    SMC_MOCK_METHOD0( bool )
+    SMC_MOCK_METHOD0( void )
 }