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

« back to all changes in this revision

Viewing changes to src/svncpp/targets.hpp

  • Committer: Bazaar Package Importer
  • Author(s): Michael Biebl
  • Date: 2006-01-13 04:31:54 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20060113043154-6drk4qesrslf3jhm
Tags: 0.7.2-1
* New upstream release.
  + Removed patch context_menu.diff, merged upstream.
* Added patch store_passwords_config.diff. Closes: #345518
* Added patch settings_icons.diff for more distinct icons in the settings
  dialog.

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
#ifndef _SVNCPP_TARGETS_HPP_
27
27
#define _SVNCPP_TARGETS_HPP_
28
28
 
 
29
#include <qglobal.h>
 
30
#if QT_VERSION < 0x040000
29
31
#include <qvaluelist.h>
 
32
#else
 
33
#include <QtCore>
 
34
#endif
30
35
 
31
36
// apr api
32
37
#include "apr_tables.h"
39
44
  class Path;
40
45
  class Pool;
41
46
 
 
47
#if QT_VERSION < 0x040000
 
48
  typedef QValueList<Path> Pathes;
 
49
#else
 
50
  typedef QList<Path> Pathes;
 
51
#endif
 
52
 
42
53
  /**
43
54
   * Encapsulation for Subversion target arrays handling
44
55
   */
50
61
     *
51
62
     * @param targets vector of paths
52
63
     */
53
 
    Targets (const QValueList<Path> & targets);
 
64
 
 
65
    Targets (const Pathes & targets);
54
66
 
55
67
    /**
56
68
     * Constructor from an APR array containing
78
90
     * Constructor. Convert stringlist into target list.
79
91
     * @param targets
80
92
     */
81
 
    Targets::Targets(const QStringList&targets);
 
93
    Targets(const QStringList&targets);
82
94
 
83
95
    /**
84
96
     * Copy Constructor
106
118
     *
107
119
     * @return vector of paths
108
120
     */
109
 
    const QValueList<Path> &
 
121
    const Pathes &
110
122
    targets() const;
111
123
 
112
124
    /**
119
131
     *
120
132
     * @return vector with targets
121
133
     */
122
 
    operator const QValueList<Path> & () const
 
134
    operator const Pathes & () const
123
135
    {
124
136
      return m_targets;
125
137
    }
137
149
 
138
150
 
139
151
  private:
140
 
    QValueList<Path> m_targets;
 
152
    Pathes m_targets;
141
153
  };
142
154
}
143
155