~ubuntu-branches/ubuntu/wily/marble/wily-proposed

« back to all changes in this revision

Viewing changes to src/lib/marble/FileManager.h

  • Committer: Package Import Robot
  • Author(s): Scarlett Clark, Jonathan Riddell, Scarlett Clark
  • Date: 2014-07-24 23:38:32 UTC
  • mfrom: (1.5.2)
  • Revision ID: package-import@ubuntu.com-20140724233832-7v4421t4khrhw487
Tags: 4:4.13.90-0ubuntu1
[ Jonathan Riddell ]
* Switch to libmarblewidget19 for new soversion

[ Scarlett Clark ]
* New upstream beta release
* Update: do_not_install_private_headers. 

Show diffs side-by-side

added added

removed removed

Lines of Context:
53
53
    /**
54
54
     * Loads a new file into the manager.
55
55
     */
56
 
    void addFile( const QString &fileName, const QString &property, GeoDataStyle* style, DocumentRole role, bool recenter = false );
 
56
    void addFile( const QString &fileName, const QString &property, const GeoDataStyle* style, DocumentRole role, bool recenter = false );
57
57
 
58
58
 
59
59
    /**
60
60
     * Loads multiple files into the manager.
61
61
     */
62
 
    void addFile( const QStringList &fileNames, const QStringList &propertyList, const QList<GeoDataStyle*> &styles, DocumentRole role );
 
62
    void addFile( const QStringList &fileNames, const QStringList &propertyList, const QList<const GeoDataStyle*> &styles, DocumentRole role );
63
63
 
64
64
 
65
65
    /**
72
72
    */
73
73
    void addData( const QString &name, const QString &data, DocumentRole role );
74
74
 
75
 
    void saveFile( GeoDataDocument *document );
76
 
    void closeFile( GeoDataDocument *document );
 
75
    void saveFile( const QString &fileName, const GeoDataDocument *document );
 
76
    void closeFile( const GeoDataDocument *document );
77
77
 
78
78
    int size() const;
79
79
    GeoDataDocument *at( const QString &key );
80
80
 
 
81
    /** Returns the number of files being opened at the moment */
 
82
    int pendingFiles() const;
81
83
 
82
84
 Q_SIGNALS:
83
85
    void fileAdded( const QString &key );