//This program is free software: you can redistribute it and/or modify it under the terms #of the GNU General Public License as published by the Free Software Foundation, either #version 3 of the License, or (at your option) any later version. //This program is distributed in the hope that it will be useful, but WITHOUT ANY #WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A #PARTICULAR PURPOSE. See the GNU General Public License for more details. //You should have received a copy of the GNU General Public License along with this #program. If not, see #ifndef MAINWINDOW_H #define MAINWINDOW_H #include #include using namespace std; namespace Ui { class MainWindow; } class MainWindow : public QMainWindow { Q_OBJECT public: explicit MainWindow(QWidget *parent = 0); ~MainWindow(); void muestraResultadosCifrados(); void muestraResultadosDescifrados(); void guardaFicheros(int modo); void imprimirDocumentacion(int modo); void guardaFicheroParaEncriptarBlowfish(); void guardaFicheros_paraEncriptar(); void guardaFicheros_paraDesencriptar(); private: Ui::MainWindow *ui; string algoritmo; string formatoLlano; string formatoCifrado; string formatoKey; private slots: private slots: void on_textoKeyHEX_clicked(); void on_textoKeyBIN_clicked(); void on_textoKeyASCII_clicked(); void on_textoCifradoHEX_clicked(); void on_textoCifradoBIN_clicked(); void on_textoCifradoASCII_clicked(); void on_textoLlanoASCII_clicked(); void on_textoLlanoBIN_clicked(); void on_textoLlanoHEX_clicked(); void on_actionLimpiar_triggered(); void on_botonDesencriptar_clicked(); void on_comboBoxAlgoritmo_activated(int index); void on_botonEncriptar_clicked(); void on_actionAcerca_de_triggered(); void on_actionSalir_triggered(); }; #endif // MAINWINDOW_H