~ubuntu-branches/debian/sid/kdesvn/sid

« back to all changes in this revision

Viewing changes to src/svnqt/revision.hpp

  • Committer: Bazaar Package Importer
  • Author(s): Michael Biebl
  • Date: 2009-04-18 21:41:53 UTC
  • mfrom: (1.3.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20090418214153-bdc4nd10fs47i8jp
Tags: 1.3.0-1
* New upstream release.
* debian/control
  - Bump Standards-Version to 3.8.1. No further changes.
  - Change Section of kdesvn-dbg to debug.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
2
 * Port for usage with qt-framework and development for kdesvn
3
 
 * (C) 2005-2007 by Rajko Albrecht
 
3
 * (C) 2005-2007 by Rajko Albrecht (ral@alwins-world.de)
4
4
 * http://kdesvn.alwins-world.de
5
5
 */
6
6
/*
65
65
    assign(const QDateTime&);
66
66
 
67
67
  public:
 
68
    /*!
 
69
     * \defgroup Predefinedrevisions Predefined revision
 
70
     *
 
71
     * defines some well-known revision and revision-types for easier use.
 
72
     */
 
73
    /*@{*/
 
74
    //! Describes the start revision
68
75
    static const svn_opt_revision_kind START;
 
76
    //! Describes the base revision (eg, last update of working copy)
69
77
    static const svn_opt_revision_kind BASE;
 
78
    //! Describes HEAD revision of repository, eg. latest commit into repository
70
79
    static const svn_opt_revision_kind HEAD;
 
80
    //! Describes current working state of working copy
71
81
    static const svn_opt_revision_kind WORKING;
 
82
    //! Describes not know revision
72
83
    static const svn_opt_revision_kind UNDEFINED;
 
84
    //! Defines the revision before current head.
73
85
    static const svn_opt_revision_kind PREV;
74
 
 
 
86
    //! the revision contains a date.
 
87
    /*!
 
88
     * When Revision is of this type the date() methode returns a valid value.
 
89
     * \sa date()
 
90
     */
75
91
    static const svn_opt_revision_kind DATE;
 
92
    //! Revision contains a revision number
 
93
    /*!
 
94
     * When revision is of this type revnum() returns a valid value.
 
95
     * @sa revnum()
 
96
     */
76
97
    static const svn_opt_revision_kind NUMBER;
 
98
    /*@}*/
77
99
 
78
100
    /**
79
101
     * Constructor
178
200
    bool isRemote()const;
179
201
 
180
202
    /**
181
 
     * @return date
 
203
     * @return valid date if kind is Revision::DATE
182
204
     */
183
205
    apr_time_t
184
206
    date () const;