~ubuntu-branches/ubuntu/wily/qpdfview/wily

« back to all changes in this revision

Viewing changes to sources/database.h

  • Committer: Package Import Robot
  • Author(s): Benjamin Eltzner
  • Date: 2015-03-22 11:42:36 UTC
  • mfrom: (1.2.16)
  • Revision ID: package-import@ubuntu.com-20150322114236-81p4twy532ytw10m
Tags: 0.4.14-1
New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
2
 
3
3
Copyright 2014 S. Razi Alavizadeh
4
 
Copyright 2013-2014 Adam Reichold
 
4
Copyright 2013-2015 Adam Reichold
5
5
 
6
6
This file is part of qpdfview.
7
7
 
50
50
 
51
51
    QStringList loadInstanceNames();
52
52
 
53
 
    void restoreTabs();
 
53
    struct RestoreTab
 
54
    {
 
55
        virtual DocumentView* operator()(const QString& absoluteFilePath) const = 0;
 
56
    };
 
57
 
 
58
    void restoreTabs(const RestoreTab& restoreTab);
54
59
    void saveTabs(const QList< DocumentView* >& tabs);
55
60
    void clearTabs();
56
61
 
61
66
    void restorePerFileSettings(DocumentView* tab);
62
67
    void savePerFileSettings(const DocumentView* tab);
63
68
 
64
 
signals:
65
 
    void tabRestored(const QString& absoluteFilePath, bool continuousMode, LayoutMode layoutMode, bool rightToLeftMode, ScaleMode scaleMode, qreal scaleFactor, Rotation rotation, int currentPage);
66
 
 
67
69
private:
68
70
    Q_DISABLE_COPY(Database)
69
71