~ubuntu-branches/ubuntu/maverick/kdeutils/maverick-proposed

« back to all changes in this revision

Viewing changes to ark/kerfuffle/cliinterface.h

  • Committer: Bazaar Package Importer
  • Author(s): Jonathan Riddell
  • Date: 2010-05-28 09:49:30 UTC
  • mfrom: (1.2.44 upstream)
  • Revision ID: james.westby@ubuntu.com-20100528094930-jzynf0obv1n2v13a
Tags: 4:4.4.80-0ubuntu1~ppa1
New upstream beta release

Show diffs side-by-side

added added

removed removed

Lines of Context:
237
237
    bool doSuspend();
238
238
    bool doResume();
239
239
 
 
240
    /**
 
241
     * Returns the list of characters which are preceded by a
 
242
     * backslash when a file name in an archive is passed to
 
243
     * a program.
 
244
     *
 
245
     * @see setEscapedCharacters().
 
246
     */
 
247
    QString escapedCharacters();
 
248
 
 
249
    /**
 
250
     * Sets which characters will be preceded by a backslash when
 
251
     * a file name in an archive is passed to a program.
 
252
     *
 
253
     * @see escapedCharacters().
 
254
     */
 
255
    void setEscapedCharacters(const QString& characters);
 
256
 
240
257
private:
241
258
    bool findProgramAndCreateProcess(const QString& program);
242
259
    void substituteListVariables(QStringList& params);
251
268
 
252
269
    void failOperation();
253
270
 
 
271
    /**
 
272
     * Precedes the characters returned by escapedCharacters() with a
 
273
     * backslash in @p fileName.
 
274
     *
 
275
     * @param fileName String to escape.
 
276
     */
 
277
    QString escapeFileName(const QString& fileName);
 
278
 
254
279
    QByteArray m_stdOutData;
255
280
    bool m_userCancelled;
256
281
    QRegExp m_existsPattern;
260
285
    ParameterList m_param;
261
286
    QVariantList m_removedFiles;
262
287
 
 
288
    QString m_escapedCharacters;
 
289
 
263
290
private slots:
264
291
    void started();
265
292
    void readStdout(bool handleAll = false);