~ubuntu-branches/ubuntu/maverick/freecad/maverick

« back to all changes in this revision

Viewing changes to src/Gui/MainWindow.h

  • Committer: Bazaar Package Importer
  • Author(s): Adam C. Powell, IV
  • Date: 2010-01-11 08:48:33 UTC
  • mfrom: (3.1.3 sid)
  • Revision ID: james.westby@ubuntu.com-20100111084833-4g9vgdqbkw8u34zb
Tags: 0.9.2646.5-1
* New upstream version (closes: #561696).
* Added swig to Build-Depends (closes: #563523, #563772).
* Removed python-opencv from Build-Depends and Recommends (closes: #560768).

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/***************************************************************************
2
 
 *   Copyright (c) 2005 Werner Mayer <werner.wm.mayer@gmx.de>              *
 
2
 *   Copyright (c) 2005 Werner Mayer <wmayer[at]users.sourceforge.net>     *
3
3
 *                                                                         *
4
4
 *   This file is part of the FreeCAD CAx development system.              *
5
5
 *                                                                         *
29
29
#include <string>
30
30
#include <vector>
31
31
 
32
 
#ifndef __Qt4All__
33
 
# include "Qt4All.h"
34
 
#endif
 
32
#include <QMainWindow>
 
33
#include <QWorkspace>
35
34
 
36
35
 
37
36
namespace Gui {
181
180
    void showEvent  (QShowEvent  * e);
182
181
    void hideEvent  (QHideEvent  * e);
183
182
    void timerEvent (QTimerEvent *  ){ timeEvent();}
184
 
    void customEvent(QEvent      * e);
 
183
    void customEvent(QEvent      * e);
185
184
    bool event      (QEvent      * e);
186
185
    /**
187
186
     * Try to interpret dropped elements.
243
242
    struct MainWindowP* d;
244
243
};
245
244
 
246
 
inline GuiExport MainWindow* getMainWindow()
 
245
inline MainWindow* getMainWindow()
247
246
{
248
247
    return MainWindow::getInstance();
249
248
}