1 #include "photoviewer.h"
2 #include <QCoreApplication>
5 PhotoViewer::PhotoViewer(QWidget *parent) :
8 mWorkspace=new Workspace();
9 setCentralWidget(mWorkspace);
10 processCommandLineArgs();
13 //temporary implementaion
14 void PhotoViewer::processCommandLineArgs()
16 mWorkspace->loadImage(qApp->arguments()[1]);