Skip to content
Permalink
Browse files

Remove use of Qt3 support inline routines which redirect old Qt3 name…

…s to new Qt4 names. Remove USE_QT3SUPPORT from top-level CMakeLists and add it to GRASS provider/plugin CMakeLists so that all use of Qt3 names and libraries is limited to these two directories.

git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@8630 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
telwertowski
telwertowski committed Jun 9, 2008
1 parent a93f6d3 commit 8527da791ae540e48ef68cd14595b3fdcef5d742
Showing with 1,030 additions and 1,011 deletions.
  1. +0 −1 CMakeLists.txt
  2. +77 −75 src/app/composer/qgscomposer.cpp
  3. +1 −1 src/app/composer/qgscomposer.h
  4. +1 −1 src/app/composer/qgscomposerlabel.cpp
  5. +10 −10 src/app/composer/qgscomposermap.cpp
  6. +5 −5 src/app/composer/qgscomposerpicture.cpp
  7. +7 −7 src/app/composer/qgscomposerscalebar.cpp
  8. +27 −27 src/app/composer/qgscomposervectorlegend.cpp
  9. +14 −12 src/app/composer/qgscomposition.cpp
  10. +5 −3 src/app/legend/qgslegend.cpp
  11. +7 −7 src/app/legend/qgslegendlayerfile.cpp
  12. +5 −5 src/app/main.cpp
  13. +149 −150 src/app/qgisapp.cpp
  14. +1 −1 src/app/qgisapp.h
  15. +10 −10 src/app/qgsabout.cpp
  16. +2 −2 src/app/qgsaddattrdialog.cpp
  17. +1 −1 src/app/qgsattributeactiondialog.cpp
  18. +4 −4 src/app/qgsattributetable.cpp
  19. +19 −18 src/app/qgsattributetabledisplay.cpp
  20. +1 −1 src/app/qgsbookmarkitem.cpp
  21. +3 −3 src/app/qgsbookmarks.cpp
  22. +5 −5 src/app/qgscontinuouscolordialog.cpp
  23. +25 −25 src/app/qgscustomprojectiondialog.cpp
  24. +34 −32 src/app/qgsdbsourceselect.cpp
  25. +4 −4 src/app/qgsgeomtypedialog.cpp
  26. +7 −7 src/app/qgsgraduatedsymboldialog.cpp
  27. +1 −1 src/app/qgsidentifyresults.cpp
  28. +32 −32 src/app/qgslabeldialog.cpp
  29. +0 −1 src/app/qgsmaplayerinterface.h
  30. +4 −3 src/app/qgsmaptoolidentify.cpp
  31. +1 −1 src/app/qgsmeasuretool.cpp
  32. +21 −21 src/app/qgsnewconnection.cpp
  33. +10 −10 src/app/qgsnewhttpconnection.cpp
  34. +37 −37 src/app/qgsoptions.cpp
  35. +25 −20 src/app/qgspastetransformations.cpp
  36. +19 −19 src/app/qgspgquerybuilder.cpp
  37. +4 −4 src/app/qgspluginmanager.cpp
  38. +1 −1 src/app/qgsprojectproperties.cpp
  39. +5 −5 src/app/qgsrasterlayerproperties.cpp
  40. +20 −20 src/app/qgssearchquerybuilder.cpp
  41. +31 −28 src/app/qgsserversourceselect.cpp
  42. +8 −6 src/app/qgssinglesymboldialog.cpp
  43. +4 −4 src/app/qgsuniquevaluedialog.cpp
  44. +8 −8 src/app/qgsvectorlayerproperties.cpp
  45. +3 −2 src/core/qgsapplication.cpp
  46. +1 −1 src/core/qgscontexthelp.cpp
  47. +2 −2 src/core/qgscoordinatetransform.cpp
  48. +14 −14 src/core/qgslabel.cpp
  49. +1 −1 src/core/qgslabelattributes.cpp
  50. +1 −1 src/core/qgsmaplayer.cpp
  51. +1 −1 src/core/qgsmaplayerregistry.cpp
  52. +1 −1 src/core/qgsmaptopixel.cpp
  53. +2 −2 src/core/qgspoint.cpp
  54. +17 −17 src/core/qgsproject.cpp
  55. +25 −34 src/core/qgsprojectproperty.cpp
  56. +5 −5 src/core/qgsproviderregistry.cpp
  57. +2 −2 src/core/qgsrect.cpp
  58. +5 −5 src/core/qgssearchtreenode.cpp
  59. +17 −17 src/core/qgsspatialrefsys.cpp
  60. +1 −1 src/core/qgsvectorfilewriter.cpp
  61. +5 −5 src/core/qgsvectorlayer.cpp
  62. +38 −38 src/core/raster/qgsrasterlayer.cpp
  63. +1 −1 src/core/symbology/qgsmarkercatalogue.cpp
  64. +2 −2 src/gui/qgsdetaileditemdelegate.cpp
  65. +44 −44 src/gui/qgsencodingfiledialog.cpp
  66. +1 −1 src/gui/qgsmapcanvas.cpp
  67. +2 −2 src/gui/qgsmapoverviewcanvas.cpp
  68. +1 −1 src/gui/qgsmessageviewer.cpp
  69. +11 −11 src/gui/qgsprojectionselector.cpp
  70. +2 −2 src/helpviewer/qgshelpviewer.cpp
  71. +8 −8 src/plugins/delimited_text/qgsdelimitedtextplugingui.cpp
  72. +2 −2 src/plugins/geoprocessing/qgsdlgpgbuffer.cpp
  73. +9 −9 src/plugins/geoprocessing/qgspggeoprocessing.cpp
  74. +7 −7 src/plugins/georeferencer/plugingui.cpp
  75. +1 −1 src/plugins/georeferencer/qgsgeorefwarpoptionsdialog.cpp
  76. +4 −2 src/plugins/georeferencer/qgspointdialog.cpp
  77. +2 −2 src/plugins/gps_importer/qgsbabelformat.cpp
  78. +6 −6 src/plugins/gps_importer/qgsgpsdevice.cpp
  79. +6 −6 src/plugins/gps_importer/qgsgpsplugin.cpp
  80. +45 −45 src/plugins/gps_importer/qgsgpsplugingui.cpp
  81. +3 −0 src/plugins/grass/CMakeLists.txt
  82. +1 −1 src/plugins/north_arrow/plugingui.cpp
  83. +2 −2 src/plugins/scale_bar/plugingui.cpp
  84. +3 −3 src/plugins/spit/qgsshapefile.cpp
  85. +26 −24 src/plugins/spit/qgsspit.cpp
  86. +5 −3 src/plugins/wfs/qgswfssourceselect.cpp
  87. +13 −13 src/providers/delimitedtext/qgsdelimitedtextprovider.cpp
  88. +1 −4 src/providers/delimitedtext/qgsdelimitedtextprovider.h
  89. +2 −1 src/providers/gpx/gpsdata.cpp
  90. +2 −1 src/providers/gpx/qgsgpxprovider.cpp
  91. +3 −0 src/providers/grass/CMakeLists.txt
  92. +2 −1 src/providers/ogr/qgsogrprovider.cpp
  93. +11 −15 src/providers/postgres/qgspostgresprovider.cpp
  94. +1 −1 src/providers/postgres/qgspostgresprovider.h
  95. +1 −0 src/providers/wfs/qgswfsprovider.cpp
  96. +4 −3 src/providers/wms/qgswmsprovider.cpp
@@ -135,7 +135,6 @@ ENDIF (POSTGRES_FOUND)
# search for Qt4
FIND_PACKAGE(Qt4 REQUIRED)

SET( QT_USE_QT3SUPPORT TRUE )
SET( QT_USE_QTXML TRUE )
SET( QT_USE_QTNETWORK TRUE )
SET( QT_USE_QTSVG TRUE )

Large diffs are not rendered by default.

@@ -165,7 +165,7 @@ public slots:
\param from starting position
\param shift shift in bytes
*/
bool shiftFileContent ( QFile *file, Q_LONG start, int shift );
bool shiftFileContent ( QFile *file, qint64 start, int shift );

//! Set buttons up
void setToolActionsOff (void);
@@ -207,7 +207,7 @@ QRectF QgsComposerLabel::boundingRect ( void ) const
{
// Recalculate sizes according to current font size

float size = 25.4 * mComposition->scale() * mFont.pointSizeFloat() / 72;
float size = 25.4 * mComposition->scale() * mFont.pointSizeF() / 72;

QFont font ( mFont );
font.setPointSizeF ( size );
@@ -96,18 +96,18 @@ void QgsComposerMap::init ()
mCacheUpdated = false;

// Calculate
mCalculateComboBox->insertItem( tr("Extent (calculate scale)"), Scale );
mCalculateComboBox->insertItem( tr("Scale (calculate extent)"), Extent );
mCalculateComboBox->addItem( tr("Extent (calculate scale)"), Scale );
mCalculateComboBox->addItem( tr("Scale (calculate extent)"), Extent );
mCalculate = Scale;

setPlotStyle ( QgsComposition::Preview );

// Preview style
mPreviewMode = Cache;
mPreviewModeComboBox->insertItem ( tr("Cache"), Cache );
mPreviewModeComboBox->insertItem ( tr("Render"), Render );
mPreviewModeComboBox->insertItem ( tr("Rectangle"), Rectangle );
mPreviewModeComboBox->setCurrentItem ( Cache );
mPreviewModeComboBox->addItem ( tr("Cache"), Cache );
mPreviewModeComboBox->addItem ( tr("Render"), Render );
mPreviewModeComboBox->addItem ( tr("Rectangle"), Rectangle );
mPreviewModeComboBox->setCurrentIndex ( Cache );

mWidthScale = 1.0 / mComposition->scale();
mSymbolScale = 0.5;
@@ -327,7 +327,7 @@ void QgsComposerMap::on_mHeightLineEdit_editingFinished ( void ) { sizeChanged()

void QgsComposerMap::on_mCalculateComboBox_activated( int )
{
mCalculate = mCalculateComboBox->currentItem();
mCalculate = mCalculateComboBox->currentIndex();

if ( mCalculate == Scale )
{
@@ -384,7 +384,7 @@ void QgsComposerMap::on_mScaleLineEdit_editingFinished()
#ifdef QGISDEBUG
std::cout << "QgsComposerMap::on_mScaleLineEdit_editingFinished" << std::endl;
#endif
mCalculate = mCalculateComboBox->currentItem();
mCalculate = mCalculateComboBox->currentIndex();

mUserScale = mScaleLineEdit->text().toDouble();

@@ -508,7 +508,7 @@ void QgsComposerMap::setOptions ( void )

mNameLabel->setText ( mName );

mCalculateComboBox->setCurrentItem( mCalculate );
mCalculateComboBox->setCurrentIndex( mCalculate );

mWidthLineEdit->setText ( QString("%1").arg( mComposition->toMM((int)QGraphicsRectItem::rect().width()), 0,'g') );
mHeightLineEdit->setText ( QString("%1").arg( mComposition->toMM((int)QGraphicsRectItem::rect().height()),0,'g') );
@@ -536,7 +536,7 @@ void QgsComposerMap::setOptions ( void )

mFrameCheckBox->setChecked ( mFrame );

mPreviewModeComboBox->setCurrentItem( mPreviewMode );
mPreviewModeComboBox->setCurrentIndex( mPreviewMode );
}

void QgsComposerMap::on_mSetCurrentExtentButton_clicked ( void )
@@ -121,7 +121,7 @@ void QgsComposerPicture::loadPicture ( void )

if ( !mPicturePath.isNull() )
{
if ( mPicturePath.lower().right(3) == "svg" )
if ( mPicturePath.toLower().right(3) == "svg" )
{
if ( !mPicture.load ( mPicturePath, "svg" ) )
{
@@ -469,14 +469,14 @@ QString QgsComposerPicture::pictureDialog ( void )
for ( int i = 0; i < formats.count(); i++ )
{
QString frmt = formats.at( i );
QString fltr = " *." + frmt.lower() + " *." + frmt.upper();
QString fltr = " *." + frmt.toLower() + " *." + frmt.toUpper();
filters += fltr;
}
filters += ");;All other files (*.*)";

// Retrieve the last used directory
QSettings settings;
QString lastUsedDir = settings.readEntry("/UI/lastComposerPictureDir", ".");
QString lastUsedDir = settings.value("/UI/lastComposerPictureDir", ".").toString();

QString file = QFileDialog::getOpenFileName(
0,
@@ -486,8 +486,8 @@ QString QgsComposerPicture::pictureDialog ( void )
if (file.length() != 0)
{
QFileInfo myFile(file);
QString myPath = myFile.dirPath();
settings.writeEntry("/UI/lastComposerPictureDir", myPath);
QString myPath = myFile.path();
settings.setValue("/UI/lastComposerPictureDir", myPath);
}

return file;
@@ -243,15 +243,15 @@ QRectF QgsComposerScalebar::render(QPainter * p)
// labels

// Font size in canvas units
float size = 25.4 * mComposition->scale() * mFont.pointSizeFloat() / 72;
float size = 25.4 * mComposition->scale() * mFont.pointSizeF() / 72;


// Create QFontMetrics so we can correctly place the text
QFont font(mFont);
font.setPointSizeFloat(size);
font.setPointSizeF(size);
QFontMetrics metrics(font);

font.setPointSizeFloat(size * FONT_WORKAROUND_SCALE); //hack to work around Qt font bug
font.setPointSizeF(size * FONT_WORKAROUND_SCALE); //hack to work around Qt font bug

if (plotStyle() == QgsComposition::Postscript)
{
@@ -467,24 +467,24 @@ void QgsComposerScalebar::setOptions(void)
mMaps.clear();

bool found = false;
mMapComboBox->insertItem("", 0);
mMapComboBox->addItem("");
mMaps.push_back(0);
for (int i = 0; i < (int)maps.size(); i++)
{
mMapComboBox->insertItem(maps[i]->name(), i + 1);
mMapComboBox->addItem(maps[i]->name());
mMaps.push_back(maps[i]->id());

if (maps[i]->id() == mMap)
{
found = true;
mMapComboBox->setCurrentItem(i + 1);
mMapComboBox->setCurrentIndex(i + 1);
}
}

if (!found)
{
mMap = 0;
mMapComboBox->setCurrentItem(0);
mMapComboBox->setCurrentIndex(0);
}
}

@@ -131,10 +131,10 @@ void QgsComposerVectorLegend::init ( void )

// Preview style
mPreviewMode = Render;
mPreviewModeComboBox->insertItem ( tr("Cache"), Cache );
mPreviewModeComboBox->insertItem ( tr("Render"), Render );
mPreviewModeComboBox->insertItem ( tr("Rectangle"), Rectangle );
mPreviewModeComboBox->setCurrentItem ( mPreviewMode );
mPreviewModeComboBox->addItem ( tr("Cache"), Cache );
mPreviewModeComboBox->addItem ( tr("Render"), Render );
mPreviewModeComboBox->addItem ( tr("Rectangle"), Rectangle );
mPreviewModeComboBox->setCurrentIndex ( mPreviewMode );

connect ( mComposition, SIGNAL(mapChanged(int)), this, SLOT(mapChanged(int)) );
}
@@ -164,9 +164,9 @@ QRectF QgsComposerVectorLegend::render ( QPainter *p )
//std::cout << "mComposition->scale() = " << mComposition->scale() << std::endl;

// Font size in canvas units
float titleSize = 25.4 * mComposition->scale() * mTitleFont.pointSizeFloat() / 72;
float sectionSize = 25.4 * mComposition->scale() * mSectionFont.pointSizeFloat() / 72;
float size = 25.4 * mComposition->scale() * mFont.pointSizeFloat() / 72;
float titleSize = 25.4 * mComposition->scale() * mTitleFont.pointSizeF() / 72;
float sectionSize = 25.4 * mComposition->scale() * mSectionFont.pointSizeF() / 72;
float size = 25.4 * mComposition->scale() * mFont.pointSizeF() / 72;

//std::cout << "font sizes = " << titleSize << " " << sectionSize << " " << size << std::endl;

@@ -175,9 +175,9 @@ QRectF QgsComposerVectorLegend::render ( QPainter *p )
QFont sectionFont ( mSectionFont );
QFont font ( mFont );

titleFont.setPointSizeFloat ( titleSize );
sectionFont.setPointSizeFloat ( sectionSize );
font.setPointSizeFloat ( size );
titleFont.setPointSizeF ( titleSize );
sectionFont.setPointSizeF ( sectionSize );
font.setPointSizeF ( size );

// Not sure about Style Strategy, QFont::PreferMatch?
titleFont.setStyleStrategy ( (QFont::StyleStrategy) (QFont::PreferOutline | QFont::PreferAntialias) );
@@ -196,15 +196,15 @@ QRectF QgsComposerVectorLegend::render ( QPainter *p )
double psSectionSize = sectionMetrics.ascent() * 72.0 / mComposition->resolution();
double psSize = metrics.ascent() * 72.0 / mComposition->resolution();

titleFont.setPointSizeFloat ( psTitleSize * FONT_WORKAROUND_SCALE );
sectionFont.setPointSizeFloat ( psSectionSize * FONT_WORKAROUND_SCALE );
font.setPointSizeFloat ( psSize * FONT_WORKAROUND_SCALE );
titleFont.setPointSizeF ( psTitleSize * FONT_WORKAROUND_SCALE );
sectionFont.setPointSizeF ( psSectionSize * FONT_WORKAROUND_SCALE );
font.setPointSizeF ( psSize * FONT_WORKAROUND_SCALE );
}
else
{
titleFont.setPointSizeFloat ( titleSize * FONT_WORKAROUND_SCALE );
sectionFont.setPointSizeFloat ( sectionSize * FONT_WORKAROUND_SCALE );
font.setPointSizeFloat ( size * FONT_WORKAROUND_SCALE );
titleFont.setPointSizeF ( titleSize * FONT_WORKAROUND_SCALE );
sectionFont.setPointSizeF ( sectionSize * FONT_WORKAROUND_SCALE );
font.setPointSizeF ( size * FONT_WORKAROUND_SCALE );
}

double x, y;
@@ -605,21 +605,21 @@ void QgsComposerVectorLegend::recalculate ( void )

// Title and section font
mTitleFont = mFont;
mTitleFont.setPointSizeFloat ( 1.4 * mFont.pointSizeFloat());
mTitleFont.setPointSizeF ( 1.4 * mFont.pointSizeF());
mSectionFont = mFont;
mSectionFont.setPointSizeFloat ( 1.2 * mFont.pointSizeFloat() );
mSectionFont.setPointSizeF ( 1.2 * mFont.pointSizeF() );

// Font size in canvas units
float size = 25.4 * mComposition->scale() * mFont.pointSizeFloat() / 72;
float size = 25.4 * mComposition->scale() * mFont.pointSizeF() / 72;

mMargin = 0.9 * size;
mSymbolHeight = 1.3 * size;
mSymbolWidth = 3.5 * size;
mSymbolSpace = 0.4 * size;

#ifdef QGISDEBUG
std::cout << "font size = " << mFont.pointSizeFloat() << std::endl;
std::cout << "title font size = " << mTitleFont.pointSizeFloat() << std::endl;
std::cout << "font size = " << mFont.pointSizeF() << std::endl;
std::cout << "title font size = " << mTitleFont.pointSizeF() << std::endl;

std::cout << "mMargin = " << mMargin << " mSymbolHeight = " << mSymbolHeight
<< "mSymbolWidth = " << mSymbolWidth << " mSymbolSpace = " << mSymbolSpace << std::endl;
@@ -643,21 +643,21 @@ void QgsComposerVectorLegend::setOptions ( void )
mMaps.clear();

bool found = false;
mMapComboBox->insertItem ( "", 0 );
mMapComboBox->addItem ( "" );
mMaps.push_back ( 0 );
for ( int i = 0; i < (int)maps.size(); i++ ) {
mMapComboBox->insertItem ( maps[i]->name(), i+1 );
mMapComboBox->addItem ( maps[i]->name() );
mMaps.push_back ( maps[i]->id() );

if ( maps[i]->id() == mMap ) {
found = true;
mMapComboBox->setCurrentItem ( i+1 );
mMapComboBox->setCurrentIndex ( i+1 );
}
}

if ( ! found ) {
mMap = 0;
mMapComboBox->setCurrentItem ( 0 );
mMapComboBox->setCurrentIndex ( 0 );
}

mFrameCheckBox->setChecked ( mFrame );
@@ -694,7 +694,7 @@ void QgsComposerVectorLegend::setOptions ( void )
}
}

mPreviewModeComboBox->setCurrentItem( mPreviewMode );
mPreviewModeComboBox->setCurrentIndex( mPreviewMode );
}

void QgsComposerVectorLegend::setSelected ( bool s )
@@ -914,7 +914,7 @@ bool QgsComposerVectorLegend::readSettings ( void )
QStringList el = QgsProject::instance()->subkeyList ( "Compositions", path );

for ( QStringList::iterator it = el.begin(); it != el.end(); ++it ) {
int idx = (*it).find('_');
int idx = (*it).indexOf('_');

QString id = (*it).right( (*it).length() - (idx+1) );

@@ -31,8 +31,10 @@
#include "qgsproject.h"

#include <QGraphicsRectItem>
#include <QKeyEvent>
#include <QMatrix>
#include <QMessageBox>
#include <QMouseEvent>

#include <iostream>
#include <math.h>
@@ -101,7 +103,7 @@ QgsComposition::QgsComposition( QgsComposer *c, int id )

mPaper = mDefaultPaper = mCustomPaper = 0;
for( int i = 0; i < (int)mPapers.size(); i++ ) {
mPaperSizeComboBox->insertItem( mPapers[i].mName );
mPaperSizeComboBox->addItem( mPapers[i].mName );
// Map - A4 land for now, if future read from template
if ( mPapers[i].mWidth == 210 && mPapers[i].mHeight == 297 ){
mDefaultPaper = i;
@@ -110,11 +112,11 @@ QgsComposition::QgsComposition( QgsComposer *c, int id )
}

// Orientation
mPaperOrientationComboBox->insertItem( tr("Portrait"), Portrait );
mPaperOrientationComboBox->insertItem( tr("Landscape"), Landscape );
mPaperOrientationComboBox->addItem( tr("Portrait"), Portrait );
mPaperOrientationComboBox->addItem( tr("Landscape"), Landscape );
mPaperOrientation = Landscape;

mPaperUnitsComboBox->insertItem( "mm" );
mPaperUnitsComboBox->addItem( "mm" );

// Create canvas
mPaperWidth = 1;
@@ -130,8 +132,8 @@ QgsComposition::QgsComposition( QgsComposer *c, int id )

void QgsComposition::createDefault(void)
{
mPaperSizeComboBox->setCurrentItem(mDefaultPaper);
mPaperOrientationComboBox->setCurrentItem(Landscape);
mPaperSizeComboBox->setCurrentIndex(mDefaultPaper);
mPaperOrientationComboBox->setCurrentIndex(Landscape);

mUserPaperWidth = mPapers[mDefaultPaper].mWidth;
mUserPaperHeight = mPapers[mDefaultPaper].mHeight;
@@ -598,8 +600,8 @@ void QgsComposition::paperSizeChanged ( void )
std::cout << "QgsComposition::paperSizeChanged" << std::endl;
#endif

mPaper = mPaperSizeComboBox->currentItem();
mPaperOrientation = mPaperOrientationComboBox->currentItem();
mPaper = mPaperSizeComboBox->currentIndex();
mPaperOrientation = mPaperOrientationComboBox->currentIndex();
#ifdef QGISDEBUG
std::cout << "custom = " << mPapers[mPaper].mCustom << std::endl;
std::cout << "orientation = " << mPaperOrientation << std::endl;
@@ -663,8 +665,8 @@ void QgsComposition::resolutionChanged ( void )

void QgsComposition::setOptions ( void )
{
mPaperSizeComboBox->setCurrentItem(mPaper);
mPaperOrientationComboBox->setCurrentItem(mPaperOrientation);
mPaperSizeComboBox->setCurrentIndex(mPaper);
mPaperOrientationComboBox->setCurrentIndex(mPaperOrientation);
mPaperWidthLineEdit->setText ( QString("%1").arg(mUserPaperWidth,0,'g') );
mPaperHeightLineEdit->setText ( QString("%1").arg(mUserPaperHeight,0,'g') );
mResolutionLineEdit->setText ( QString("%1").arg(mResolution) );
@@ -936,7 +938,7 @@ bool QgsComposition::readSettings ( void )
std::cout << "key: " << (*it).toLocal8Bit().data() << std::endl;
#endif

QStringList l = QStringList::split( '_', (*it) );
QStringList l = it->split( '_', QString::SkipEmptyParts );
if ( l.size() == 2 ) {
QString name = l.first();
QString ids = l.last();
@@ -956,7 +958,7 @@ bool QgsComposition::readSettings ( void )
std::cout << "key: " << (*it).toLocal8Bit().data() << std::endl;
#endif

QStringList l = QStringList::split( '_', (*it) );
QStringList l = it->split( '_', QString::SkipEmptyParts );
if ( l.size() == 2 ) {
QString name = l.first();
QString ids = l.last();

0 comments on commit 8527da7

Please sign in to comment.
You can’t perform that action at this time.