150
164
bool loadFromFile(const QString& fileName);
153
172
* Load a potentially broken XPM file (for old files of KPresenter)
155
174
bool loadXpm(QIODevice* io);
159
179
* Returns a QPixmap from an image
160
180
* Returns an empty QPixmap if the KoPicture is not an image.
164
182
QPixmap generatePixmap(const QSize& size, bool smoothScale = false);
167
185
* Helper function for saving
168
187
* @return true if it is a clipart in KOffice 1.1, false if not
170
189
bool isClipartAsKOffice1Dot1(void) const;
173
192
* Download and set the key for a possibly remote file.