~ubuntu-branches/ubuntu/raring/kdebase/raring

« back to all changes in this revision

Viewing changes to dolphin/src/views/dolphinfileitemdelegate.h

  • Committer: Bazaar Package Importer
  • Author(s): Jonathan Thomas, Jonathan Thomas, Michał Zając, Philip Muškovac
  • Date: 2011-05-30 16:52:59 UTC
  • mfrom: (1.1.60 upstream) (0.1.15 sid)
  • Revision ID: james.westby@ubuntu.com-20110530165259-i29f9ezfmqwteikq
Tags: 4:4.6.3-1ubuntu1
[ Jonathan Thomas ]
* Merge with Debian Unstable, remaining changes:
  - Keep bumped replace/conflicts versions where necessary
  - Do not re-add optional, unsatisfiable kdesktop dependency for libkonq5a
  - Suggest instead of recommend ruby in dolphin
  - Reduce the x-www-browser priority for konqueror to 30 as rekonq is the
    default Kubuntu browser.

[ Michał Zając ]
* New upstream release
 - Bump on kde-sc-dev-latest

[ Philip Muškovac ]
* Update Vcs links as the branch is owned by kubuntu-packagers now 

Show diffs side-by-side

added added

removed removed

Lines of Context:
37
37
 */
38
38
class DolphinFileItemDelegate : public KFileItemDelegate
39
39
{
 
40
    Q_OBJECT
40
41
public:
41
42
    explicit DolphinFileItemDelegate(QObject* parent = 0);
42
43
    virtual ~DolphinFileItemDelegate();
60
61
     */
61
62
    static int nameColumnWidth(const QString& name, const QStyleOptionViewItem& option);
62
63
 
 
64
private slots:
 
65
    void handleDisplayPaletteChange();
 
66
 
63
67
private:
64
68
    static void adjustOptionWidth(QStyleOptionViewItemV4& option,
65
69
                                  const QAbstractProxyModel* proxyModel,
75
79
    bool m_hasMinimizedNameColumn;
76
80
    mutable QSize m_cachedSize;
77
81
    mutable QPixmap m_cachedEmblems[KVersionControlPlugin::LocallyModifiedUnstagedVersion + 1];
 
82
    mutable QColor m_cachedInactiveTextColor;
 
83
    mutable bool m_cachedInactiveTextColorDirty;
78
84
};
79
85
 
80
86
inline void DolphinFileItemDelegate::setMinimizedNameColumn(bool minimized)