~ubuntu-branches/ubuntu/lucid/kde4libs/lucid-updates

« back to all changes in this revision

Viewing changes to nepomuk/core/resourcedata.h

  • Committer: Bazaar Package Importer
  • Author(s): Michał Zając
  • Date: 2010-02-04 14:24:15 UTC
  • mfrom: (1.1.44 upstream)
  • Revision ID: james.westby@ubuntu.com-20100204142415-m9s99idmc0685wei
Tags: 4:4.4.0-0ubuntu1
New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
45
45
        explicit ResourceData( const QUrl& uri, const QString& kickoffId_, const QUrl& type_, ResourceManagerPrivate* rm );
46
46
        ~ResourceData();
47
47
 
48
 
        /**
49
 
         * Used instead of the destructor in Resource. The reason for the existence of
50
 
         * this method is that the destructor does not remove the uri from the global
51
 
         * data map. That behaviour is necessary since in certain situations temporary
52
 
         * ResourceData instances are created.
53
 
         */
54
 
        void deleteData();
55
 
 
56
48
        inline bool ref() {
57
49
            return m_ref.ref();
58
50
        }
164
156
 
165
157
        /// Will reset this instance to 0 as if constructed without parameters
166
158
        /// Used by remove() and deleteData()
167
 
        void resetAll();
 
159
        void resetAll( bool isDelete = false );
168
160
 
169
161
        /// identifier that was used to construct the resource. Will be used by determineUri
170
162
        /// to check for nao:identifiers or even nie:urls.