~ubuntu-branches/ubuntu/precise/calligra/precise

« back to all changes in this revision

Viewing changes to active/src/MainWindow.h

  • Committer: Package Import Robot
  • Author(s): Jonathan Riddell
  • Date: 2012-03-12 14:34:55 UTC
  • mfrom: (1.1.3)
  • Revision ID: package-import@ubuntu.com-20120312143455-1bmr8gkyhbc2k9jm
Tags: 1:2.3.91-0ubuntu
* New upstream release
* Remove kubuntu_03_cmakelists_update.diff now upstream

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
#ifndef MAINWINDOW_H
23
23
#define MAINWINDOW_H
24
24
 
25
 
#include <QtGui/QMainWindow>
 
25
#include <QMainWindow>
26
26
 
27
27
#include <kdeclarative.h>
28
28
 
36
36
    ~MainWindow();
37
37
 
38
38
    void openFile (const QString& path);
 
39
 
39
40
private:
40
41
    QDeclarativeView* m_view;
41
42
    KDeclarative kdeclarative;
 
43
    QString documentPath;
42
44
 
43
45
private slots:
44
46
    void adjustWindowSize (QSize size);
 
47
    void checkForAndOpenDocument();
 
48
 
45
49
public Q_SLOTS:
46
50
    void openFileDialog();
47
51
};