~ubuntu-branches/ubuntu/precise/kdewebdev-kde4/precise

« back to all changes in this revision

Viewing changes to kimagemapeditor/kimagemapeditor.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Jonathan Thomas, Richard Birnie, Jonathan Thomas
  • Date: 2008-11-26 19:53:39 UTC
  • mfrom: (1.1.10 upstream)
  • Revision ID: james.westby@ubuntu.com-20081126195339-ngaj5wb31dgthwjh
Tags: 4:4.1.80-0ubuntu1
[ Richard Birnie ]
* New upstream release:
  - Updated build-deps kdelibs5-dev, kdepimlibs5-dev, cmake

[ Jonathan Thomas ]
* Created debian/not-installed, added the kommander headers we don't install
  to it

Show diffs side-by-side

added added

removed removed

Lines of Context:
925
925
    // The translated string must be divided into
926
926
    // parts with about the same size that fit to the image
927
927
    QString str = i18n("Drop an image or HTML file");
928
 
    QStringList strList = str.split(" ");
 
928
    const QStringList strList = str.split(" ");
929
929
 
930
930
    // Get the string parts
931
931
    QString tmp;
932
932
    QStringList outputStrList;
933
933
    QFontMetrics fm = p.fontMetrics();
934
934
 
935
 
    for ( QStringList::Iterator it = strList.begin(); it != strList.end(); ++it ) {
 
935
    for ( QStringList::ConstIterator it = strList.begin(); it != strList.end(); ++it ) {
936
936
      QString tmp2 = tmp + *it;
937
937
 
938
938
        if (fm.boundingRect(tmp2).width() > width-border) {
1808
1808
      }
1809
1809
    }
1810
1810
 
1811
 
    // Wrong syntax or PHP-Skript !
 
1811
    // Wrong syntax or PHP-Script !
1812
1812
    if (!php && (w=='<'))
1813
1813
    {
1814
1814
      if (valueRead)