committing work in progress
[ptas] / zouba / src / journey_p.h
diff --git a/zouba/src/journey_p.h b/zouba/src/journey_p.h
new file mode 100644 (file)
index 0000000..865a306
--- /dev/null
@@ -0,0 +1,38 @@
+#ifndef JOURNEY_P_H
+#define JOURNEY_P_H
+
+#include <QObject>
+#include <QString>
+#include <QByteArray>
+
+class JourneyPrivate : public QObject
+{
+    Q_OBJECT
+
+public:
+  JourneyPrivate();
+  virtual ~JourneyPrivate();
+
+  void setFrom( const QString &from );
+  QString from() const;
+
+  void setTo( const QString &to );
+  QString to() const;
+
+  void setLabel( const QString &label );
+  QString label() const;
+
+  void setValid( bool valid );
+  bool isValid() const;
+
+private:
+  bool fromAndToAreValid() const;
+
+  QString m_from;
+  QString m_to;
+  QString m_label;
+  bool    m_valid;
+};
+
+#endif // JOURNEY_P_H
+