You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
57 lines
1.4 KiB
C
57 lines
1.4 KiB
C
|
4 years ago
|
/******************************************************************************
|
||
|
|
Copyright(C):2015~2018 hzleaper
|
||
|
|
FileName:zclasses.h
|
||
|
|
Author:zhikun wu
|
||
|
|
Email:zk.wu@hzleaper.com
|
||
|
|
Tools:vs2010 pc on company
|
||
|
|
Created:2015/04/27
|
||
|
|
History:27:4:2015 9:26
|
||
|
|
*******************************************************************************/
|
||
|
|
#ifndef __Z_CLASSES_H
|
||
|
|
#define __Z_CLASSES_H
|
||
|
|
|
||
|
|
#define _USE_QT
|
||
|
|
|
||
|
|
|
||
|
|
#ifdef _USE_QT
|
||
|
|
#include "QZkMutexList.h"
|
||
|
|
#define ZMutexList QZkMutexList
|
||
|
|
#include <QtCore/qlibrary.h>
|
||
|
|
#define ZLibrary QLibrary
|
||
|
|
#include <QtCore/qstring.h>
|
||
|
|
#define ZString QString
|
||
|
|
#define ZStringList QStringList
|
||
|
|
#include <QtCore/qthread.h>
|
||
|
|
#define ZThread QThread
|
||
|
|
#include <QtCore/qsettings.h>
|
||
|
|
#define ZSettings QSettings
|
||
|
|
#include <QtCore/qreadwritelock.h>
|
||
|
|
#define ZReadWriteLock QReadWriteLock
|
||
|
|
#include <QtCore/qstringlist.h>
|
||
|
|
#define ZStringList QStringList
|
||
|
|
#include <QtCore/qdatetime.h>
|
||
|
|
#define ZDateTime QDateTime
|
||
|
|
#include "QZkMutexMap.h"
|
||
|
|
#define ZMutexMap QZkMutexMap
|
||
|
|
#include <QtCore/qmutex.h>
|
||
|
|
#define ZMutex QMutex
|
||
|
|
#include <QtCore/qfile.h>
|
||
|
|
#define ZFile QFile
|
||
|
|
#include <QtCore\qjsondocument.h>
|
||
|
|
#include <QtCore\qjsonobject.h>
|
||
|
|
#define ZJsonDocument QJsonDocument
|
||
|
|
#define ZJsonObject QJsonObject
|
||
|
|
#define ZByteArray QByteArray
|
||
|
|
|
||
|
|
#include <QtCore\qvector.h>
|
||
|
|
#define ZVector QVector
|
||
|
|
|
||
|
|
#ifndef tpDebugOut
|
||
|
|
#define tpDebugOut(...) qDebug(__VA_ARGS__)
|
||
|
|
#endif
|
||
|
|
|
||
|
|
|
||
|
|
#endif
|
||
|
|
|
||
|
|
|
||
|
|
#endif
|