[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    playground/network/telepathy-accounts-kcm/src/libkcmtelepathyaccounts
From:       George Goldberg <grundleborg () googlemail ! com>
Date:       2009-08-03 13:16:38
Message-ID: 1249305398.849411.17642.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 1006302 by gberg:

Add a method to AbstractAccountParametersWidget to check if the current input state \
of the widgets will provide valid (to the best of the UI's knowledge) values, and to \
alert the user if not.

 M  +5 -0      abstract-account-parameters-widget.cpp  
 M  +1 -0      abstract-account-parameters-widget.h  


--- trunk/playground/network/telepathy-accounts-kcm/src/libkcmtelepathyaccounts/abstract-account-parameters-widget.cpp \
#1006301:1006302 @@ -55,6 +55,11 @@
     return d->parameters;
 }
 
+bool AbstractAccountParametersWidget::validateParameterValues()
+{
+    return true;
+}
 
+
 #include "abstract-account-parameters-widget.moc"
 
--- trunk/playground/network/telepathy-accounts-kcm/src/libkcmtelepathyaccounts/abstract-account-parameters-widget.h \
#1006301:1006302 @@ -40,6 +40,7 @@
 
     virtual QMap<Tp::ProtocolParameter*, QVariant> parameterValues() const = 0;
     virtual Tp::ProtocolParameterList parameters() const;
+    virtual bool validateParameterValues();
 
 protected:
 


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic