~smartboyhw/ubuntu/raring/calligra/2.6.0-0ubuntu1

« back to all changes in this revision

Viewing changes to kexi/kexidb/alter.h

  • Committer: Package Import Robot
  • Author(s): Philip Muškovac
  • Date: 2012-10-23 21:09:16 UTC
  • mfrom: (1.1.13)
  • Revision ID: package-import@ubuntu.com-20121023210916-m82w6zxnxhaxz7va
Tags: 1:2.5.90-0ubuntu1
* New upstream alpha release (LP: #1070436)
  - Add libkactivities-dev and libopenimageio-dev to build-depends
  - Add kubuntu_build_calligraactive.diff to build calligraactive by default
  - Add package for calligraauthor and move files that are shared between
    calligrawords and calligraauthor to calligrawords-common
* Document the patches
* Remove numbers from patches so they follow the same naming scheme as
  the rest of our patches.
* calligra-data breaks replaces krita-data (<< 1:2.5.3) (LP: #1071686)

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
#ifndef KEXIDB_ALTER_H
21
21
#define KEXIDB_ALTER_H
22
22
 
23
 
#include "connection.h"
 
23
#include "kexidb_export.h"
 
24
 
 
25
#include <db/connection.h>
 
26
#include <db/autodeletedhash.h>
24
27
 
25
28
#include <QList>
26
29
#include <QHash>
27
30
 
28
31
#include <KDebug>
29
 
#include <kexiutils/utils.h>
30
32
 
31
33
namespace KexiDB
32
34
{
142
144
 
143
145
    class ActionBase;
144
146
    //! For collecting actions related to a single field
145
 
    typedef KexiUtils::AutodeletedHash<QByteArray, ActionBase*> ActionDict;
146
 
    typedef KexiUtils::AutodeletedHash<int, ActionDict*> ActionDictDict; //!< for collecting groups of actions by field UID
 
147
    typedef KexiDB::AutodeletedHash<QByteArray, ActionBase*> ActionDict;
 
148
    typedef KexiDB::AutodeletedHash<int, ActionDict*> ActionDictDict; //!< for collecting groups of actions by field UID
147
149
    typedef QHash<QByteArray, ActionBase*>::Iterator ActionDictIterator;
148
150
    typedef QHash<QByteArray, ActionBase*>::ConstIterator ActionDictConstIterator;
149
151
    typedef QHash<int, ActionDict*>::Iterator ActionDictDictIterator;
364
366
        void setIndex(int index) {
365
367
            m_index = index;
366
368
        }
367
 
        KexiDB::Field& field() const {
368
 
            return *m_field;
 
369
        const KexiDB::Field* field() const {
 
370
            return m_field;
369
371
        }
370
372
        void setField(KexiDB::Field* field);
371
373
        virtual QString debugString(const DebugOptions& debugOptions = DebugOptions());