]> Shamusworld >> Repos - architektonas/blobdiff - src/forms/printpreviewoptions.h
In the middle of major refactoring...
[architektonas] / src / forms / printpreviewoptions.h
index 7c34ba533a8890384b62a25e65836af9dba254c8..5ae45dd04e61052c09d5633cf48ba66a851f2525 100644 (file)
@@ -3,19 +3,21 @@
 
 #include "ui_printpreviewoptions.h"
 
-class RS_ActionInterface;
-class RS_ActionPrintPreview;
+class ActionInterface;
+class ActionPrintPreview;
+class QToolBar;
 
 class PrintPreviewOptions: public QWidget
 {
        Q_OBJECT
 
        public:
-               PrintPreviewOptions(QWidget * parent = 0, Qt::WindowFlags fl = 0);
+//             PrintPreviewOptions(QWidget * parent = 0, Qt::WindowFlags fl = 0);
+               PrintPreviewOptions(QToolBar * parent = 0, Qt::WindowFlags fl = 0);
                ~PrintPreviewOptions();
 
        public slots:
-               void setAction(RS_ActionInterface * a, bool update);
+               void setAction(ActionInterface * a, bool update);
                void updateData();
                void center();
                void setBlackWhite(bool on);
@@ -23,7 +25,7 @@ class PrintPreviewOptions: public QWidget
                void scale(const QString & s);
 
        protected:
-               RS_ActionPrintPreview * action;
+               ActionPrintPreview * action;
 
        private:
                QStringList imperialScales;