Moved method to parse JORE code into private class.
[ptas] / zouba / qt / route_p.h
index 57d3767..b30f4ba 100644 (file)
@@ -20,30 +20,15 @@ public:
 
   RouteData parseReply( const QByteArray &reply );
 
-  /*!
-    * \brief Sets the from location
-    * \param fromLocation The from location
-    */
   void setFromLocation( Location fromLocation );
 
-  /*!
-    \brief Get the from location
-    \return The from location
-    */
   Location fromLocation();
 
-  /*!
-    * \brief Sets the to location
-    * \param toLocation The to location
-    */
   void setToLocation( Location toLocation );
 
-  /*!
-    \brief Get the to location
-    \return The to location
-    */
   Location toLocation();
 
+  QString parseJOREcode( const QString &joreCode ) const;
 private:
   Location m_fromLocation;
   Location m_toLocation;