PictureCrypt  1.4.1
An image-steganography project
controllerpc.h
Go to the documentation of this file.
1 #ifndef CONTROLLERPC_H
2 #define CONTROLLERPC_H
3 
4 #include <QObject>
5 #include <QString>
6 #include <QThread>
7 #include <QMessageBox>
8 
9 #include "model/modelpc.h"
10 #include "view/viewpc.h"
20 class ControllerPC : public QObject
21 {
22  Q_OBJECT
23 public:
24  ControllerPC();
28  long int version;
32  QString versionString;
33 public slots:
34  void abortCircuit();
35  void setJPHSDir(QString dir);
36 private:
37  ViewPC * view;
38  ModelPC * model;
39 };
40 
41 #endif // CONTROLLERPC_H
void setJPHSDir(QString dir)
ControllerPC::setJPHSDir Sets JPHS default dir.
long int version
version Version of the app
Definition: controllerpc.h:28
The ModelPC class Model Layer of the app. Main class that does the work of PictureCrypt logic Control...
Definition: modelpc.h:33
The ControllerPC class Controller class, which controls View and Model layers.
Definition: controllerpc.h:20
void abortCircuit()
ControllerPC::abortCircuit Slot to be called when ProgressDialog in ViewPC is closed. It flags ModelPC to stop.
ControllerPC()
ControllerPC::ControllerPC Constructor of controller Constructor runs auto-test for ModelPC...
Definition: controllerpc.cpp:9
The ViewPC class View layer of the app. Controls EncryptDialog and ProgressDialog.
Definition: viewpc.h:35
QString versionString
versionString Version of the app as QString.
Definition: controllerpc.h:32