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,
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;
202 bool tempFiles =
false,
const QString& suggestedFileName =
QString(),
245 bool tempFile =
false ,
bool runExecutables =
true,
284 static bool runCommand(
const QString& cmd,
const QString & execName,
294 static bool runCommand(
const QString& cmd,
const QString & execName,
310 bool tempFiles =
false,
const QString& suggestedFileName =
QString(),
323 #ifndef KDE_NO_DEPRECATED
324 static KDE_DEPRECATED
void shellQuote(
QString &str);
338 bool tempFiles =
false,
348 static QString binaryName(
const QString & execLine,
bool removePath);
368 static bool isExecutableFile(
const KUrl& url,
const QString &mimetype);
373 static bool checkStartupNotify(
const QString& binName,
const KService* service,
bool* silent_arg,
403 void slotScanFinished(
KJob *);
416 void mimeTypeDetermined(
const QString& mimeType);
421 virtual void slotStatResult(
KJob *);
436 virtual void scanFile();
449 virtual void foundMimeType(
const QString& type);
454 virtual void killJob();
459 void setUrl(
const KUrl &url);
469 void setError(
bool error);
474 void setProgressInfo(
bool progressInfo);
479 bool progressInfo()
const;
484 void setFinished(
bool finished);
501 #ifndef KDE_NO_DEPRECATED
502 KDE_DEPRECATED
QTimer& timer();
509 #ifndef KDE_NO_DEPRECATED
510 KDE_DEPRECATED
void setDoScanFile(
bool scanFile);
517 #ifndef KDE_NO_DEPRECATED
518 KDE_DEPRECATED
bool doScanFile()
const;
525 #ifndef KDE_NO_DEPRECATED
526 KDE_DEPRECATED
void setIsDirecory(
bool isDirectory);
532 bool isDirectory()
const;
537 #ifndef KDE_NO_DEPRECATED
538 KDE_DEPRECATED
void setInitializeNextAction(
bool initialize);
544 #ifndef KDE_NO_DEPRECATED
545 KDE_DEPRECATED
bool initializeNextAction()
const;
551 void setIsLocalFile(
bool isLocalFile);
556 bool isLocalFile()
const;
561 void setMode(mode_t mode);
MimetypeJob * mimetype(const KUrl &url, JobFlags flags=DefaultFlags)
Find mimetype for one file or directory.
bool isExecutable(const QString &file)
const char * name(StandardAction id)
bool run(const KUrl &_url, bool _is_local)
Invokes the default action for the desktop entry.
To open files with their associated applications in KDE, use KRun.
The base class for all jobs.
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:24:53 by
doxygen 1.8.7 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.