This commit is contained in:
doitux
2007-01-13 17:20:12 +00:00
parent 1e88f861a8
commit f74a448c38
4 changed files with 11 additions and 21 deletions
+5 -5
View File
@@ -17,6 +17,7 @@
* Free Software Foundation, Inc., *
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
***************************************************************************/
#include "guiwrapper.h"
#include "log.h"
@@ -25,14 +26,13 @@
using namespace std;
GuiWrapper::GuiWrapper(mainWindowImpl* w) : myW(w)
GuiWrapper::GuiWrapper() : myLog(0), myW(0)
{
// Am Ende soll GuiWrapper mainWindowImpl
// myW = new mainWindowImpl();
// myW->show();
// Jetzt muss myW erstmal aus Session kommen!
myW = new mainWindowImpl;
myW->show();
myLog = new Log(myW);
+5 -2
View File
@@ -20,6 +20,8 @@
#ifndef GUIWRAPPER_H
#define GUIWRAPPER_H
#include <qapplication.h>
#include <guiinterface.h>
#include <string>
#include <iostream>
@@ -32,7 +34,7 @@ class Log;
class GuiWrapper : public GuiInterface
{
public:
GuiWrapper(mainWindowImpl*);
GuiWrapper();
~GuiWrapper();
@@ -81,8 +83,9 @@ public:
private:
mainWindowImpl *myW;
Log *myLog;
mainWindowImpl *myW;
};