Imported existing sources

This commit is contained in:
0xFEEDC0DE64
2018-09-01 15:14:05 +02:00
parent c9cb79bb4b
commit acaa6372d7
12 changed files with 389 additions and 36 deletions
+24
View File
@@ -0,0 +1,24 @@
#include <QCoreApplication>
#include <QDebug>
#include "mymessage.h"
int main(int argc, char **argv)
{
QCoreApplication app(argc, argv);
MyMessage message("Daniel", QDate(1996, 11, 12), QDateTime::currentDateTime(), 21, 80);
message.debug();
qDebug() << "changing name...";
message.setName("Peter");
message.debug();
qDebug() << "clearing touched...";
message.setTouched(false);
message.debug();
return app.exec();
}
+24
View File
@@ -0,0 +1,24 @@
QT += core network
TARGET = messagingclient
TEMPLATE = app
CONFIG -= app_bundle
PROJECT_ROOT = ..
DESTDIR = $${OUT_PWD}/$${PROJECT_ROOT}/bin
DBLIBS += core
SOURCES += main.cpp
HEADERS +=
FORMS +=
RESOURCES +=
TRANSLATIONS +=
include($${PROJECT_ROOT}/project.pri)