~ubuntu-branches/ubuntu/maverick/kdegraphics/maverick-proposed

« back to all changes in this revision

Viewing changes to gwenview/lib/historymodel.h

  • Committer: Bazaar Package Importer
  • Author(s): Jonathan Thomas
  • Date: 2009-12-02 14:03:43 UTC
  • mfrom: (1.1.35 upstream)
  • Revision ID: james.westby@ubuntu.com-20091202140343-2732gbkj69g89arq
Tags: 4:4.3.80-0ubuntu1
* New upstream beta release:
  - Add build-depend on shared-desktop-ontologies for nepomuk integration
  - Bump .so versions for libkexiv, libkdcraw and libkipi
  - Update various .install files

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
#define HISTORYMODEL_H
23
23
 
24
24
// Qt
 
25
#include <QDateTime>
25
26
#include <QStandardItemModel>
26
27
 
27
28
// KDE
43
44
class GWENVIEWLIB_EXPORT HistoryModel : public QStandardItemModel {
44
45
        Q_OBJECT
45
46
public:
46
 
        HistoryModel(QObject* parent, const QString& storageDir);
 
47
        HistoryModel(QObject* parent, const QString& storageDir, int maxCount = 20);
47
48
        ~HistoryModel();
48
49
 
49
 
        void addUrl(const KUrl&);
 
50
        void addUrl(const KUrl&, const QDateTime& dateTime = QDateTime());
50
51
 
51
52
        virtual bool removeRows(int row, int count, const QModelIndex& parent = QModelIndex());
52
53