~ubuntu-branches/ubuntu/intrepid/kdesdk/intrepid-updates

« back to all changes in this revision

Viewing changes to umbrello/umbrello/clipboard/idchangelog.h

  • Committer: Bazaar Package Importer
  • Author(s): Jonathan Riddell
  • Date: 2008-05-28 10:11:43 UTC
  • mto: This revision was merged to the branch mainline in revision 37.
  • Revision ID: james.westby@ubuntu.com-20080528101143-gzc3styjz1b70zxu
Tags: upstream-4.0.80
ImportĀ upstreamĀ versionĀ 4.0.80

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
 */
24
24
 
25
25
#include <qstring.h>
26
 
#include <qvaluevector.h>
 
26
#include <q3valuevector.h>
27
27
 
28
28
#include "../umlnamespace.h"
29
29
 
105
105
    private:
106
106
        Uml::IDType m_x, m_y;
107
107
    };
108
 
class PointArray : QValueVector<Point> {
 
108
class PointArray : Q3ValueVector<Point> {
109
109
    public:
110
110
        void  setPoint(uint i, const Uml::IDType &x, const Uml::IDType &y) {
111
111
            Point point(x, y);
112
 
            QValueVector<Point>::at(i) = point;
 
112
            Q3ValueVector<Point>::at(i) = point;
113
113
        }
114
 
        const Point& point( uint i ) const { return QValueVector<Point>::at(i); }
115
 
        uint   size() const          { return QValueVector<Point>::size(); }
116
 
        bool   resize( uint size )   { QValueVector<Point>::resize(size); return true; }
 
114
        const Point& point( uint i ) const { return Q3ValueVector<Point>::at(i); }
 
115
        uint   size() const          { return Q3ValueVector<Point>::size(); }
 
116
        bool   resize( uint size )   { Q3ValueVector<Point>::resize(size); return true; }
117
117
    };
118
118
    PointArray m_LogArray;
119
119