KIO
Go to the documentation of this file.
27 #include <QtCore/QObject>
28 #include <QtCore/QTimer>
29 #include <QtCore/QString>
30 #include <sys/types.h>
90 bool isLocalFile =
false,
bool showProgressInfo =
true,
91 const QByteArray& asn = QByteArray());
112 bool hasError()
const;
119 bool hasFinished()
const;
128 bool autoDelete()
const;
138 void setAutoDelete(
bool b);
149 void setPreferredService(
const QString& desktopEntryName);
157 void setRunExecutables(
bool b);
165 void setEnableExternalBrowser(
bool b);
174 void setSuggestedFileName(
const QString& fileName);
179 QString suggestedFileName()
const;
196 bool tempFiles =
false,
const QString& suggestedFileName =
QString(),
197 const QByteArray& asn = QByteArray());
218 const QByteArray& asn = QByteArray());
239 bool tempFile =
false ,
bool runExecutables =
true,
240 const QString& suggestedFileName =
QString(),
const QByteArray& asn = QByteArray());
278 static bool runCommand(
const QString& cmd,
const QString & execName,
279 const QString & icon,
QWidget* window,
const QByteArray& asn = QByteArray());
288 static bool runCommand(
const QString& cmd,
const QString & execName,
290 const QByteArray& asn,
const QString& workingDirectory);
304 bool tempFiles =
false,
const QString& suggestedFileName =
QString(),
305 const QByteArray& asn = QByteArray());
317 #ifndef KDE_NO_DEPRECATED
318 static KDE_DEPRECATED
void shellQuote(
QString &str);
332 bool tempFiles =
false,
342 static QString binaryName(
const QString & execLine,
bool removePath);
362 static bool isExecutableFile(
const KUrl& url,
const QString &mimetype);
367 static bool checkStartupNotify(
const QString& binName,
const KService* service,
bool* silent_arg,
368 QByteArray* wmclass_arg);
397 void slotScanFinished(
KJob *);
410 void mimeTypeDetermined(
const QString& mimeType);
415 virtual void slotStatResult(
KJob *);
430 virtual void scanFile();
443 virtual void foundMimeType(
const QString& type);
448 virtual void killJob();
453 void setUrl(
const KUrl &url);
463 void setError(
bool error);
468 void setProgressInfo(
bool progressInfo);
473 bool progressInfo()
const;
478 void setFinished(
bool finished);
495 #ifndef KDE_NO_DEPRECATED
496 KDE_DEPRECATED QTimer& timer();
503 #ifndef KDE_NO_DEPRECATED
504 KDE_DEPRECATED
void setDoScanFile(
bool scanFile);
511 #ifndef KDE_NO_DEPRECATED
512 KDE_DEPRECATED
bool doScanFile()
const;
519 #ifndef KDE_NO_DEPRECATED
520 KDE_DEPRECATED
void setIsDirecory(
bool isDirectory);
526 bool isDirectory()
const;
531 #ifndef KDE_NO_DEPRECATED
532 KDE_DEPRECATED
void setInitializeNextAction(
bool initialize);
538 #ifndef KDE_NO_DEPRECATED
539 KDE_DEPRECATED
bool initializeNextAction()
const;
545 void setIsLocalFile(
bool isLocalFile);
550 bool isLocalFile()
const;
555 void setMode(mode_t mode);
This file is part of the KDE documentation.
Documentation copyright © 1996-2012 The KDE developers.
Generated on Fri Dec 7 2012 16:08:40 by
doxygen 1.8.1 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.