/* NAME: Kirill Vasil'evich Timofeev, 322
 * ASGN: N1
 */
#ifndef CONTROLLER_H
#define CONTROLLER_H

#include <QObject>
#include "View.h"

class Controller : public QObject
{
    Q_OBJECT

    Logic logic;

    QString msg1;
    QString msg2;
    QString msg3;
    QString msg4;

public:
    View *view;

    Controller(View& vie, char * temp = "");
    ~Controller();

    void search(bool);

public slots:
    void training();
    void serIn();
    void serDir();
    void exit();
    void files(const bool , const bool , const bool, const bool);
    void PRcount();

};

#endif // CONTROLLER_H
