[Kstars-devel] KDE/kdeedu/kstars/kstars

Jason Harris kstars at 30doradus.org
Fri Apr 14 09:38:48 CEST 2006


SVN commit 529692 by harris:

First pass at fixing compiler warnings due to deprecated functions in 
Qt-4.1.2.  A lot more to come :(.  Here are the function updates I 
addressed this time:

QComboBox::insertItem()  --> addItem()
QComboBox::text()  --> itemText()  **not changed globally
QComboBox::setCurrentText()  --> setEditText()
QComboBox::currentItem()  --> currentIndex()
QComboBox::setCurrentItem()  --> setCurrentIndex()
QString::find()  --> indexOf()
QString::lower()  --> toLower()
QString::ascii()  --> toAscii()
QStringList::split()  --> QString::split()
QFile::setName()  --> setFileName()
QFile::name()  --> fileName()
QAbstractButton::setIconSet()  --> setIcon()
QTextEdit::setText()  --> setHtml() **not changed globally
QObject::name()  --> objectName()

All of these were changed throughout the codebase, except the two 
marked.  These have names used in a large number of classes, so it 
wasn't easy to do a global search-and-replace.

CCMAIL: kstars-devel at kde.org



 M  +2 -2      addcatdialog.cpp  
 M  +4 -4      ccdpreviewwg.cpp  
 M  +5 -5      colorscheme.cpp  
 M  +1 -1      deepskyobject.cpp  
 M  +10 -10    detaildialog.cpp  
 M  +18 -18    devicemanager.cpp  
 M  +2 -2      dms.cpp  
 M  +12 -12    finddialog.cpp  
 M  +3 -3      fitsprocess.cpp  
 M  +10 -10    fitsviewer.cpp  
 M  +1 -1      fov.cpp  
 M  +7 -7      fovdialog.cpp  
 M  +5 -5      imagesequence.cpp  
 M  +22 -22    indidevice.cpp  
 M  +7 -7      indidriver.cpp  
 M  +2 -2      indielement.cpp  
 M  +1 -1      indimenu.cpp  
 M  +5 -5      indiproperty.cpp  
 M  +1 -1      kscomet.cpp  
 M  +1 -1      ksfilereader.cpp  
 M  +1 -1      ksplanet.cpp  
 M  +28 -28    kstarsactions.cpp  
 M  +23 -23    kstarsdata.cpp  
 M  +9 -9      kstarsdcop.cpp  
 M  +5 -6      kstarsinit.cpp  
 M  +3 -3      kswizard.cpp  
 M  +7 -7      locationdialog.cpp  
 M  +5 -5      main.cpp  
 M  +3 -3      opscatalog.cpp  
 M  +9 -9      opscolors.cpp  
 M  +1 -1      opssolarsystem.cpp  
 M  +2 -2      skymapevents.cpp  
 M  +3 -3      skyobject.cpp  
 M  +3 -3      skypoint.cpp  
 M  +4 -4      streamwg.cpp  
 M  +1 -1      telescopeprop.cpp  
 M  +1 -1      telescopewizardprocess.cpp  
 M  +3 -3      thumbnailpicker.cpp  
 M  +3 -3      timezonerule.cpp  
 M  +6 -6      tools/altvstime.cpp  
 M  +2 -2      tools/lcgenerator.cpp  
 M  +1 -1      tools/modcalcangdist.cpp  
 M  +1 -1      tools/modcalcapcoord.cpp  
 M  +1 -1      tools/modcalcazel.cpp  
 M  +1 -1      tools/modcalceclipticcoords.cpp  
 M  +1 -1      tools/modcalcequinox.cpp  
 M  +1 -1      tools/modcalcgalcoord.cpp  
 M  +1 -1      tools/modcalcgeodcoord.cpp  
 M  +1 -1      tools/modcalcplanets.cpp  
 M  +1 -1      tools/modcalcprec.cpp  
 M  +1 -1      tools/modcalcsidtime.cpp  
 M  +1 -1      tools/modcalcvlsr.cpp  
 M  +13 -13    tools/observinglist.cpp  
 M  +1 -1      tools/planetviewer.cpp  
 M  +142 -137  tools/scriptbuilder.cpp  
 M  +2 -2      tools/scriptfunction.h  




More information about the Kstars-devel mailing list