~ubuntu-branches/ubuntu/maverick/kdeutils/maverick-proposed

« back to all changes in this revision

Viewing changes to okteta/kasten/controllers/document/info/documentinfotool.h

  • Committer: Bazaar Package Importer
  • Author(s): Jonathan Riddell
  • Date: 2010-05-28 09:49:30 UTC
  • mfrom: (1.2.44 upstream)
  • Revision ID: james.westby@ubuntu.com-20100528094930-jzynf0obv1n2v13a
Tags: 4:4.4.80-0ubuntu1~ppa1
New upstream beta release

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
2
    This file is part of the Okteta Kasten module, part of the KDE project.
3
3
 
4
 
    Copyright 2008 Friedrich W. H. Kossebau <kossebau@kde.org>
 
4
    Copyright 2008,2010 Friedrich W. H. Kossebau <kossebau@kde.org>
5
5
 
6
6
    This library is free software; you can redistribute it and/or
7
7
    modify it under the terms of the GNU Lesser General Public
35
35
}
36
36
class KUrl;
37
37
class QString;
 
38
class QTimer;
38
39
 
39
40
 
40
41
namespace Kasten
72
73
    void documentSizeChanged( int newSize );
73
74
 
74
75
  protected Q_SLOTS:
 
76
    void updateMimeType();
 
77
 
75
78
    void onContentsChanged();
76
79
    void onSynchronizerChanged( Kasten::AbstractModelSynchronizer* synchronizer );
77
80
    void onUrlChanged( const KUrl& url );
84
87
    AbstractModelSynchronizer* mSynchronizer;
85
88
 
86
89
    DocumentSyncManager* mDocumentSyncManager;
 
90
 
 
91
    QTimer* mMimeTypeUpdateTimer;
 
92
    KMimeType::Ptr mMimeType;
87
93
};
88
94
 
 
95
 
 
96
inline KMimeType::Ptr DocumentInfoTool::mimeType() const { return mMimeType; }
 
97
 
89
98
}
90
99
 
91
100
#endif