代码拉取完成,页面将自动刷新
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
/*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation;
*
* 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, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
* Author: John Abraham <[email protected]>
* Contributions: Makhtar Diouf <[email protected]>
*/
#ifndef COMMON_H
#define COMMON_H
#include <stdint.h>
#include <math.h>
#include <QWidget>
#if (QT_VERSION >= QT_VERSION_CHECK(5, 0, 0))
#include <QToolButton>
#include <QSpinBox>
#include <QSlider>
#include <QLCDNumber>
#else
#include <QtGui/QToolButton>
#include <QtGui/QSpinBox>
#include <QtGui/QSlider>
#include <QtGui/QLCDNumber>
#endif
#include <QVBoxLayout>
#include <QSplitter>
#include <QToolBar>
#include <QStatusBar>
#include <QTime>
#include <QThread>
#include <QLabel>
#include <QComboBox>
#include <QProgressBar>
#include <QGraphicsPixmapItem>
#include <QParallelAnimationGroup>
#include <QPropertyAnimation>
#include <QPushButton>
#include <QGraphicsScene>
#include <QGraphicsView>
#include <QtCore/QXmlStreamReader>
#include <QFile>
#include <QTimer>
#include <QDialog>
#include <QApplication>
#include <QMessageBox>
#include <QFileDialog>
#include <QGraphicsSceneHoverEvent>
#include <QGraphicsProxyWidget>
#include <QRegExp>
#include <QFontMetrics>
#include <QDesktopWidget>
#include <QLineEdit>
#include <QScrollBar>
#include <QTableWidget>
#include <QCheckBox>
#include <QRegExp>
#include "log.h"
#include "fatal-error.h"
// Utilities to support porting to Qt5
#if (QT_VERSION >= QT_VERSION_CHECK(5, 0, 0))
# define GET_ASCII(x) x.toLatin1 ()
# define GET_DATA(x) x.toLatin1 ().data ()
# define GET_DATA_PTR(x) x->toLatin1 ().data ()
#else
# define GET_ASCII(x) x.toAscii ()
# define GET_DATA(x) x.toAscii ().data ()
# define GET_DATA_PTR(x) x->toAscii ().data ()
#endif
#endif // COMMON_H
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。