~ubuntu-branches/ubuntu/intrepid/digikam/intrepid

« back to all changes in this revision

Viewing changes to digikam/digikam/folderitem.h

  • Committer: Bazaar Package Importer
  • Author(s): Mark Purcell
  • Date: 2008-07-17 20:25:39 UTC
  • mfrom: (1.3.2 upstream)
  • mto: This revision was merged to the branch mainline in revision 39.
  • Revision ID: james.westby@ubuntu.com-20080717202539-ttj4and3ds1ldgn1
Tags: upstream-0.9.4
ImportĀ upstreamĀ versionĀ 0.9.4

Show diffs side-by-side

added added

removed removed

Lines of Context:
7
7
 * Description : implementation of item folder.
8
8
 * 
9
9
 * Copyright (C) 2005 by Renchi Raju <renchi@pooh.tam.uiuc.edu>
 
10
 * Copyright (C) 2006-2008 by Gilles Caulier <caulier dot gilles at gmail dot com>
10
11
 *
11
12
 * This program is free software; you can redistribute it
12
13
 * and/or modify it under the terms of the GNU General
43
44
    FolderItem(QListViewItem* parent, const QString& text, bool special=false);
44
45
 
45
46
    virtual ~FolderItem();
46
 
    
 
47
 
47
48
    virtual int id() const;
48
 
    
 
49
 
49
50
    void setFocus(bool b);
50
51
    bool focus() const;
51
 
    
 
52
 
52
53
protected:
53
54
 
54
55
    void paintCell(QPainter* p, const QColorGroup & cg, int column, int width, int align);
72
73
                        QCheckListItem::Type tt);
73
74
    virtual ~FolderCheckListItem();
74
75
 
 
76
    void setFocus(bool b);
 
77
    bool focus() const;
 
78
 
75
79
protected:
76
80
 
77
81
    void paintCell(QPainter* p, const QColorGroup & cg, int column, int width, int align);
78
82
    void setup();
 
83
 
 
84
private:
 
85
 
 
86
    bool m_focus;
79
87
};
80
 
    
 
88
 
81
89
}  // namespace Digikam
82
90
 
83
91
#endif /* FOLDERITEM_H */