Advertisement
captainIBM

header

Dec 21st, 2017
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2. #ifndef DEF_MAFENETRE
  3. #define DEF_MAFENETRE
  4.  
  5. #include <QApplication>
  6. #include <QWidget>
  7. #include <QPushButton>
  8. #include <QMessageBox>
  9. #include <QFileDialog>
  10. #include <fstream>
  11. #include <string>
  12. #include <string.h>
  13. #include <QFile>
  14. using namespace std;
  15.  
  16. class MaFenetre : public QWidget
  17. {
  18.     Q_OBJECT
  19.  
  20.     public:
  21.     MaFenetre();
  22.  
  23.     public slots:
  24.     void chargerFichier();
  25.     void chargerMatrice();
  26.     void cryptage();
  27.     void decryptage();
  28.     char crypt(std::string file_content);
  29.     char decrypt();
  30.     void matrice();
  31.  
  32.  
  33.  
  34.  
  35.     private:
  36.     QPushButton *m_chargerFichier;
  37.     QPushButton *m_chargerMatrice;
  38.     QPushButton *m_cryptage;
  39.     QPushButton *m_decryptage;
  40.     QLabel *m_text;
  41.  
  42. };
  43.  
  44. #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement