~neon/juk/master

« back to all changes in this revision

Viewing changes to cache.h

  • Committer: Laurent Montel
  • Date: 2006-10-05 08:04:57 UTC
  • Revision ID: git-v1:6d286b4be0b244323cd0953569d56deccc4afb05
Port to uic4

svn path=/trunk/KDE/kdemultimedia/juk/; revision=592631

Show diffs side-by-side

added added

removed removed

Lines of Context:
16
16
#ifndef CACHE_H
17
17
#define CACHE_H
18
18
 
19
 
#include <QDataStream>
20
19
 
21
20
#include "stringhash.h"
 
21
//Added by qt3to4:
 
22
#include <Q3ValueList>
22
23
 
 
24
class Tag;
23
25
class Playlist;
24
26
class PlaylistCollection;
25
27
 
26
 
template<class T>
27
 
class QList;
28
 
 
29
 
typedef QList<Playlist *> PlaylistList;
 
28
typedef Q3ValueList<Playlist *> PlaylistList;
30
29
 
31
30
class Cache : public FileHandleHash
32
31
{
44
43
    void load();
45
44
 
46
45
private:
47
 
    // 1: Original cache version
48
 
    // 2: KDE 4.0.1+, explicitly sets QDataStream encoding.
49
 
    static const int m_currentVersion = 2;
 
46
    static const int m_currentVersion = 1;
50
47
};
51
48
 
52
49
/**