Remove some qt4 references

This commit is contained in:
Nyall Dawson 2018-02-06 14:54:55 +10:00
parent 9553dea201
commit 7cb20e00d9
8 changed files with 8 additions and 8 deletions

View File

@ -34,7 +34,7 @@
#include "coordinatecapturegui.h"
//
// Qt4 Related Includes
// Qt Related Includes
//
#include <QAction>

View File

@ -35,7 +35,7 @@
#ifndef COORDINATECAPTURE_H
#define COORDINATECAPTURE_H
//QT4 includes
//QT includes
#include <QObject>
#include <QPointer>

View File

@ -62,7 +62,7 @@
#include "eviseventidtool.h"
//
// Qt4 Related Includes
// Qt Related Includes
//
#include <QMessageBox>
#include <QToolBar>

View File

@ -220,7 +220,7 @@ void QgsGrassTools::runModule( QString name, bool direct )
if ( !pixmap.isNull() )
{
// Icon size in QT4 does not seem to be variable
// Icon size in QT does not seem to be variable
// -> reset the width to max icon width
if ( mTabWidget->iconSize().width() < pixmap.width() )
{

View File

@ -35,7 +35,7 @@
#ifndef [pluginname]_H
#define [pluginname]_H
//QT4 includes
//QT includes
#include <QObject>
//QGIS includes

View File

@ -21,7 +21,7 @@
#include "qgisinterface.h"
#include "qgsguiutils.h"
// Qt4 Related Includes
// Qt Related Includes
#include <QAction>
#include <QToolBar>
#include <QFile>

View File

@ -36,7 +36,7 @@
#ifndef TOPOL_H
#define TOPOL_H
//QT4 includes
//QT includes
#include <QObject>
//QGIS includes

View File

@ -110,7 +110,7 @@ bool QgsPythonUtilsImpl::checkSystemImports()
return false;
}
// set PyQt4 api versions
// set PyQt api versions
QStringList apiV2classes;
apiV2classes << QStringLiteral( "QDate" ) << QStringLiteral( "QDateTime" ) << QStringLiteral( "QString" ) << QStringLiteral( "QTextStream" ) << QStringLiteral( "QTime" ) << QStringLiteral( "QUrl" ) << QStringLiteral( "QVariant" );
Q_FOREACH ( const QString &clsName, apiV2classes )