From a8f25afb9f3e48652811ae2d324a60d792e6a59b Mon Sep 17 00:00:00 2001 From: Hamed Masafi Date: Mon, 13 Dec 2021 18:37:35 +0330 Subject: [PATCH] Update README [skip ci] --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 96ecf1e..b41e5fa 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,7 @@ ### Create table #### sampletable.h -``` +```cpp #ifndef SAMPLETABLE_H #define SAMPLETABLE_H @@ -60,7 +60,7 @@ Q_SIGNALS: ``` #### sampletable.cpp: -``` +```cpp #include "sampletable.h" SampleTable::SampleTable(QObject *parent) : Nut::Table(parent) @@ -104,7 +104,7 @@ void SampleTable::setName(QString name) ### Create database #### sampledatabase.h -``` +```cpp #ifndef SAMPLEDATABASE_H #define SAMPLEDATABASE_H @@ -125,7 +125,7 @@ public: ``` sampledatabase.cpp -``` +```cpp #include "sampledatabase.h" #include "sampletable.h" @@ -138,7 +138,7 @@ SampleDataBase::SampleDataBase() : Nut::Database() ``` #### Sample codes: -``` +```cpp qRegisterMetaType(); qRegisterMetaType();