~ubuntu-branches/ubuntu/precise/koffice/precise

« back to all changes in this revision

Viewing changes to krita/plugins/paintops/libbrush/abrStructv2.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Alessandro Ghersi
  • Date: 2010-10-27 17:52:57 UTC
  • mfrom: (0.12.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20101027175257-s04zqqk5bs8ckm9o
Tags: 1:2.2.83-0ubuntu1
* Merge with Debian git remaining changes:
 - Add build-deps on librcps-dev, opengtl-dev, libqtgtl-dev, freetds-dev,
   create-resources, libspnav-dev
 - Remove needless build-dep on libwv2-dev
 - koffice-libs recommends create-resources
 - krita recommends pstoedit
 - Keep our patches
* New upstream release 2.3 beta 3
  - Remove debian/patches fixed by upstream
  - Update install files

Show diffs side-by-side

added added

removed removed

Lines of Context:
103
103
    
104
104
    quint32 value;
105
105
    buf >> value;
106
 
    return QString::fromLatin1( name ) + " " + QString::number(value);
 
106
    return QString::fromLatin1( name ) + ' ' + QString::number(value);
107
107
}
108
108
 
109
109
static QString p_untf(QDataStream &buf){
112
112
    type[4] = '\0';
113
113
    double value;
114
114
    buf >> value;
115
 
    return QString::fromLatin1(type) + " " + QString::number(value);
 
115
    return QString::fromLatin1(type) + ' ' + QString::number(value);
116
116
}
117
117
 
118
118
static QString p_bool(QDataStream &buf){
150
150
    buf.readRawData(name2,size2);
151
151
    name2[size2] = '\0';
152
152
    
153
 
    return QString::fromLatin1(name1) + " " + QString::fromLatin1(name2);
 
153
    return QString::fromLatin1(name1) + ' ' + QString::fromLatin1(name2);
154
154
}
155
155
 
156
156
// static QString p_unkn(QDataStream &buf, QHash<QString, enumFuncNames> & types){
225
225
                case P_LONG: value = p_vlls(buf); break; // yes vlls, it is not typo
226
226
                case P_DOUB: value = p_doub(buf); break;
227
227
                case P_ENUM: value = p_enum(buf); break;
228
 
                default: qDebug() << "Freak error occured!"; break;
 
228
                default: qDebug() << "Freak error occurred!"; break;
229
229
            }
230
230
            qDebug() << name << type << value;
231
231