diff --git a/Decryption.h.gch b/Decryption.h.gch deleted file mode 100644 index 014f2f3..0000000 Binary files a/Decryption.h.gch and /dev/null differ diff --git a/EncryptedMessaging.pro b/EncryptedMessaging.pro index 5e26267..261e23d 100644 --- a/EncryptedMessaging.pro +++ b/EncryptedMessaging.pro @@ -1,5 +1,5 @@ ###################################################################### -# Automatically generated by qmake (3.1) Thu Mar 23 12:02:37 2017 +# Automatically generated by qmake (3.1) Fri Mar 24 12:16:30 2017 ###################################################################### TEMPLATE = app @@ -9,5 +9,9 @@ QT += widgets INCLUDEPATH += . # Input -HEADERS += messagingcontrols.h -SOURCES += main.cpp messagingcontrols.cpp +HEADERS += Decryption.h Encryption.h GenerateKeys.h MessagingControls.h +SOURCES += Decryption.cpp \ + Encryption.cpp \ + GenerateKeys.cpp \ + Main.cpp \ + MessagingControls.cpp diff --git a/Encryption.h.gch b/Encryption.h.gch deleted file mode 100644 index c9088f4..0000000 Binary files a/Encryption.h.gch and /dev/null differ diff --git a/GenerateKeys.h.gch b/GenerateKeys.h.gch deleted file mode 100644 index d3956c8..0000000 Binary files a/GenerateKeys.h.gch and /dev/null differ diff --git a/main.cpp b/main.cpp deleted file mode 100644 index 7d2d3e8..0000000 --- a/main.cpp +++ /dev/null @@ -1,14 +0,0 @@ -#include -#include - -#include "messagingcontrols.h" - -int main(int argc, char* argv[]) -{ - QApplication app(argc, argv); - messagingcontrols* stuff = new messagingcontrols;; - - stuff->show(); - - return app.exec(); -} diff --git a/messagingcontrols.cpp b/messagingcontrols.cpp deleted file mode 100644 index 27a4753..0000000 --- a/messagingcontrols.cpp +++ /dev/null @@ -1,47 +0,0 @@ -#include -#include -#include - -#include "messagingcontrols.h" - -messagingcontrols::messagingcontrols(QWidget* parent) : QDialog(parent) -{ - QVBoxLayout* everything = new QVBoxLayout; - - lblOfEncryptedBox = new QLabel(tr("Message: ")); - - encryptedBox = new QLineEdit; - - encryptionButon = new QPushButton; - - //Adding lbl and line edit - QHBoxLayout* lblAndLineEdit = new QHBoxLayout; - lblAndLineEdit->addWidget(lblOfEncryptedBox); - lblAndLineEdit->addWidget(encryptedBox); - - //Adding button - QHBoxLayout* button = new QHBoxLayout; - button->addWidget(encryptionButon); - - //Add everything - everything->addLayout(lblAndLineEdit); - everything->addLayout(button); - - setLayout(everything); - setWindowTitle("Encryption Messaging"); - setFixedHeight(300); - setFixedWidth(400); - /** - * Initialize controls - */ -} -messagingcontrols::~messagingcontrols() -{ - /** - * Delete pointer types - */ - delete lblOfEncryptedBox; - delete encryptionButon; - delete encryptedBox; - -} diff --git a/messagingcontrols.h b/messagingcontrols.h deleted file mode 100644 index 421296b..0000000 --- a/messagingcontrols.h +++ /dev/null @@ -1,33 +0,0 @@ -#ifndef MESSAGINGCONTROLS_H -#define MESSAGINGCONTROLS_H - -#include -#include -#include -#include - -class QLabel; -class QLineEdit; -class QPushButton; - -class messagingcontrols : public QDialog -{ - Q_OBJECT -public: - messagingcontrols(QWidget* parent = 0); - ~messagingcontrols(); - - /** -signals: - - -private slots: - -*/ -private: - QLineEdit* encryptedBox; - QLabel* lblOfEncryptedBox; - QPushButton* encryptionButon; -}; - -#endif