I don't want it to recompile on every header change
authorcoolo <coolo@e0cc52ee-31ee-0310-8b87-e83c4596d67c>
Thu, 29 Nov 2007 06:54:35 +0000 (06:54 +0000)
committercoolo <coolo@e0cc52ee-31ee-0310-8b87-e83c4596d67c>
Thu, 29 Nov 2007 06:54:35 +0000 (06:54 +0000)
I do

git-svn-id: http://svn.opensuse.org/svn/yast/branches/tmp/coolo/qt4-port@42491 e0cc52ee-31ee-0310-8b87-e83c4596d67c

src/YQOptionalWidgetFactory.cc
src/YQOptionalWidgetFactory.h

index 4f53f8e..e716cf1 100644 (file)
@@ -20,7 +20,7 @@
 #include "YQUI.h"
 #include "YUIException.h"
 #include "YQPackageSelectorPlugin.h"
-
+#include "YQWizard.h"
 
 #define THROW_UNSUPPORTED( WIDGET_TYPE ) \
     YUI_THROW( YUIUnsupportedWidgetException( WIDGET_TYPE ) ); \
@@ -46,7 +46,7 @@ bool YQOptionalWidgetFactory::hasWizard()
     return true;
 }
 
-YQWizard *
+YWizard *
 YQOptionalWidgetFactory::createWizard( YWidget *       parent,
                                       const string &   backButtonLabel,
                                       const string &   abortButtonLabel,
index 786bce0..a073129 100644 (file)
@@ -32,7 +32,8 @@
 #include "YQSimplePatchSelector.h"
 #include "YQSlider.h"
 #include "YQTimeField.h"
-#include "YQWizard.h"
+
+class YQWizard;
 
 using std::string;
 using std::vector;
@@ -56,7 +57,7 @@ public:
 
 
     virtual bool                       hasWizard();
-    virtual YQWizard *                 createWizard            ( YWidget *             parent,
+    virtual YWizard *                  createWizard            ( YWidget *             parent,
                                                                  const string &        backButtonLabel,
                                                                  const string &        abortButtonLabel,
                                                                  const string &        nextButtonLabel,