Skip to content
Permalink
Browse files
Remove some qt4 references
  • Loading branch information
nyalldawson committed Feb 6, 2018
1 parent 9553dea commit 7cb20e0
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 8 deletions.
@@ -34,7 +34,7 @@
#include "coordinatecapturegui.h"

//
// Qt4 Related Includes
// Qt Related Includes
//

#include <QAction>
@@ -35,7 +35,7 @@
#ifndef COORDINATECAPTURE_H
#define COORDINATECAPTURE_H

//QT4 includes
//QT includes
#include <QObject>
#include <QPointer>

@@ -62,7 +62,7 @@
#include "eviseventidtool.h"

//
// Qt4 Related Includes
// Qt Related Includes
//
#include <QMessageBox>
#include <QToolBar>
@@ -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() )
{
@@ -35,7 +35,7 @@
#ifndef [pluginname]_H
#define [pluginname]_H

//QT4 includes
//QT includes
#include <QObject>

//QGIS includes
@@ -21,7 +21,7 @@
#include "qgisinterface.h"
#include "qgsguiutils.h"

// Qt4 Related Includes
// Qt Related Includes
#include <QAction>
#include <QToolBar>
#include <QFile>
@@ -36,7 +36,7 @@
#ifndef TOPOL_H
#define TOPOL_H

//QT4 includes
//QT includes
#include <QObject>

//QGIS includes
@@ -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 )

0 comments on commit 7cb20e0

Please sign in to comment.