kio Module Reference

KIO.AuthInfo

KIO.AuthInfo is fully implemented.

KIO.ChmodJob

KIO.ChmodJob is fully implemented.

KIO.Connection

KIO.Connection is fully implemented. *** EXCEPT

int read (int* _cmd, QByteArray&);

TAKES a QByteArray and RETURNS a Python tuple of (int, int)

DefaultProgress

DefaultProgress is fully implemented.

enum ModeType { Copy, Move, Delete, Create };

NOT Implemented

KIO.UDSAtom

KIO.UDSAtom is fully implemented.

job

job is fully implemented.

GLOBAL functions available:

KIO::SimpleJob * KIO.mkdir(const KURL&, int = -1);
KIO::SimpleJob * KIO.rmdir(const KURL&);
KIO::SimpleJob * KIO.chmod(const KURL&, int);
KIO::SimpleJob * KIO.rename(const KURL&, const KURL&, bool);
KIO::SimpleJob * KIO.symlink(const QString &, const KURL&, bool, bool = 1);
KIO::SimpleJob * KIO.special(const KURL&, const QByteArray &, bool = 1);
KIO::SimpleJob * KIO.mount(bool, const char *, const QString&, const QString&, bool = 1);
KIO::SimpleJob * KIO.unmount(const QString &, bool = 1);
KIO::SimpleJob * KIO.http_update_cache(const KURL&, bool, time_t);
KIO::StatJob   * KIO.stat(const KURL&, bool = 1);
KIO::TransferJob * KIO.get(const KURL&, bool = 0, bool = 1);
KIO::TransferJob * KIO.put(const KURL&, int, bool, bool, bool = 1);
KIO::TransferJob * KIO.http_post(const KURL&, const QByteArray &,
                            bool = 1);
KIO::MimetypeJob * KIO.mimetype(const KURL&, bool = 1);
KIO::FileCopyJob * KIO.file_copy(const KURL&, const KURL&, int = -1,
                            bool = 0, bool = 0,
                            bool = 1);
KIO::FileCopyJob * KIO.file_move(const KURL&, const KURL&, int = -1,
                            bool = 0, bool = 0,
                            bool = 1);
KIO::SimpleJob * KIO.file_delete(const KURL&, bool = 1);
KIO::ListJob   * KIO.listDir(const KURL&, bool = 1);
KIO::ListJob   * KIO.listRecursive(const KURL&, bool = 1);
KIO::CopyJob   * KIO.copy(const KURL&, const KURL&, bool = 1);
KIO::CopyJob   * KIO.copyAs(const KURL&, const KURL&, bool = 1);
KIO::CopyJob   * KIO.copy(const KURL::List&, const KURL&, bool = 1);
KIO::CopyJob   * KIO.move(const KURL&, const KURL&, bool = 1);
KIO::CopyJob   * KIO.moveAs(const KURL&, const KURL&, bool = 1);
KIO::CopyJob   * KIO.move(const KURL::List&, const KURL&, bool = 1);
KIO::CopyJob   * KIO.link(const KURL&, const KURL&, bool = 1);
KIO::CopyJob   * KIO.link(const KURL::List&, const KURL&, bool = 1);
KIO::CopyJob   * KIO.linkAs(const KURL&, const KURL&, bool = 1);
KIO::DeleteJob * KIO.del(const KURL&, bool = 0, bool = 1);
KIO::DeleteJob * KIO.del(const KURL::List&, bool  = 0, bool = 1);

KIO.Job

KIO.Job is fully implemented.

KIO.SimpleJob

KIO.SimpleJob is fully implemented.

KIO.StatJob

KIO.StatJob is fully implemented.

KIO.TransferJob

KIO.TransferJob is fully implemented.

KIO.MimetypeJob

KIO.MimetypeJob is fully implemented.

KIO.FileCopyJob

KIO.FileCopyJob is fully implemented.

KIO.ListJob

KIO.ListJob is fully implemented.

KIO.CopyJob

KIO.CopyJob is fully implemented.

KIO.DeleteJob

KIO.DeleteJob is fully implemented.

KAutoMount

KAutoMount is fully implemented.

KAutoUnmount

KAutoUnmount is fully implemented.

KDirLister

KDirLister is fully implemented.

KDirNotify

KDirNotify is fully implemented.

KDirWatch

KDirWatch is fully implemented.

KEMailSettings

KEMailSettings is fully implemented. *** EXCEPT

QString getExtendedSetting (KEMailSettings::Extension e, const QString& s);

NOT Implemented

void setExtendedSetting (KEMailSettings::Extension e, const QString& s, const QString& v);

NOT Implemented

KFileItem

KFileItem is fully implemented. *** EXCEPT

KMimeType::Ptr determineMimeType ();

NOT Implemented

KMimeType::Ptr mimeTypePtr ();

NOT Implemented

KFileItemList

This class isn't implemented. Whenever a KFileItemList is the return type of a function or the type of an argument, a Python list is returned or passed instead

KFilterBase

KFilterBase is fully implemented.

KFilterDev

KFilterDev is fully implemented.

KImageIO

KImageIO is fully implemented.

KImageIOFormat

KImageIOFormat is fully implemented. *** EXCEPT

void callLibFunc (bool read, QImageIO*);

NOT Implemented

KImageIOFactory

KImageIOFactory is fully implemented. *** EXCEPT

static void readImage (QImageIO* iio);

NOT Implemented

static void writeImage (QImageIO* iio);

NOT Implemented

KImageIOFormatList

KImageIOFormatList is fully implemented. *** EXCEPT

KImageIOFormatList ();

NOT Implemented

KCodecs

KCodecs is fully implemented.

KMD5

KMD5 is fully implemented. *** EXCEPT

KMD5 (FILE* file);

NOT Implemented

void update (FILE* file, bool closeFile  = 0);

NOT Implemented

bool verify (FILE* f, const char* msg_digest, DigestType type  = HEX);

NOT Implemented

Q_UINT8* rawDigest ();

NOT Implemented

void rawDigest (HASH bin);

NOT Implemented

void hexDigest (HASHHEX hex);

NOT Implemented

KMessageBoxWrapper

KMessageBoxWrapper is fully implemented.

KMimeMagicResult

KMimeMagicResult is fully implemented.

KMimeMagic

KMimeMagic is fully implemented. *** EXCEPT

static void initStatic ();  

NOT Implemented

KMimeType

KMimeType is fully implemented. *** EXCEPT

static Ptr mimeType (const QString& _name);

NOT Implemented

static Ptr findByURL (const KURL& _url,
     mode_t _mode = 0,
     bool _is_local_file = 0,
     bool _fast_mode = 0);

NOT Implemented

static void errorMissingMimeType (const QString& _type);

NOT Implemented

static void buildDefaultType ();

NOT Implemented

static void checkEssentialMimeTypes ();

NOT Implemented

KFolderType

KFolderType is fully implemented.

KDEDesktopMimeType

KDEDesktopMimeType is fully implemented. *** EXCEPT

static pid_t runFSDevice (const KURL& _url, const KSimpleConfig& cfg);

NOT Implemented

static pid_t runApplication (const KURL& _url, const QString& _serviceFile);

NOT Implemented

static pid_t runLink (const KURL& _url, const KSimpleConfig& cfg);

NOT Implemented

static pid_t runMimeType (const KURL& _url, const KSimpleConfig& cfg);

NOT Implemented

KExecMimeType

KExecMimeType is fully implemented.

KPAC

KPAC is fully implemented.

KProtocolInfo

KProtocolInfo is fully implemented.

KProtocolManager

KProtocolManager is fully implemented.

KRun

KRun is fully implemented. *** EXCEPT

static pid_t runOldApplication (const QString& _exec, const KURL::List& _urls, bool _allow_multiple);

NOT Implemented

static pid_t run (const QString& _cmd);

NOT Implemented

static void clientStarted (const QString& name,
     const QString& iconName,
     pid_t pid,
     const QString& resName,
     bool compliant,
     int screen_number = 0);

NOT Implemented

static QString binaryName (const QString& execLine, bool removePath = 1);

NOT Implemented

KOpenWithHandler

KOpenWithHandler is fully implemented.

KProcessRunner

KProcessRunner is fully implemented. *** EXCEPT

KProcessRunner (KProcess*, const QString& binName);

NOT Implemented

KService

KService is fully implemented. *** EXCEPT

static Ptr serviceByName (const QString& _name);

NOT Implemented

static Ptr serviceByDesktopPath (const QString& _name);

NOT Implemented

static Ptr serviceByDesktopName (const QString& _name);

NOT Implemented

KServiceGroup

KServiceGroup is fully implemented. *** EXCEPT

static Ptr baseGroup (const QString& baseGroupName);

NOT Implemented

 static Ptr root

NOT Implemented

static Ptr group (const QString& relPath);

NOT Implemented

KServiceType

KServiceType is fully implemented. *** EXCEPT

virtual const QMap<QString,QVariant::Type>& propertyDefs ()

NOT Implemented

static Ptr serviceType (const QString& _name);

NOT Implemented

KShellCompletion

KShellCompletion is fully implemented.

KShred

KShred is fully implemented.

static bool shred(QString)

RENAMED staticShred

KSycoca

KSycoca is fully implemented.

KSycocaDict

KSycocaDict is fully implemented.

KSycocaEntry

KSycocaEntry is fully implemented.

KSycocaFactory

KSycocaFactory is fully implemented. This class is ABSTRACT- all pure virtual methods must be overloaded before using *** EXCEPT

virtual KSycocaFactoryId factoryId () = 0;

PURE VIRTUAL method

virtual KSycocaEntry* createEntry (const QString& file, const char* resource) = 0;

PURE VIRTUAL method

virtual KSycocaEntry* createEntry (int offset) = 0;

PURE VIRTUAL method

KSycocaFactoryList

KSycocaFactoryList is fully implemented. *** EXCEPT

KSycocaFactoryList ();

NOT Implemented

KSycocaType

KSycocaType is fully implemented.

KTar

KTarBase is fully implemented.

KTarGZ

KTarGZ is fully implemented.

KTarData

KTarData is fully implemented.

KTarEntry

KTarEntry is fully implemented.

KTarFile

KTarFile is fully implemented.

KTarDirectory

KTarDirectory is fully implemented.

KTypeCode

KTypeCode is fully implemented.

KURIFilterData

KURIFilterData is fully implemented.

KURIFilterPlugin

KURIFilterPlugin is fully implemented. *** EXCEPT

This class is ABSTRACT- all pure virtual methods must be overloaded before using

virtual bool filterURI (KURIFilterData& data) = 0;

PURE VIRTUAL method

KURIFilter

KURIFilter is fully implemented. *** EXCEPT

QListIterator<KURIFilterPlugin> pluginsIterator ();

NOT Implemented

KURIFilterPluginList

KURIFilterPluginList is fully implemented. *** EXCEPT

virtual int compareItems (Item a, Item b);

NOT Implemented

KURLCompletion

KURLCompletion is fully implemented.

KURLPixmapProvider

KURLPixmapProvider is fully implemented.

KServiceOffer

KServiceOffer is fully implemented. *** EXCEPT

KServiceOffer (KService::Ptr _service, int _pref, bool _default);

NOT Implemented

KService::Ptr service ();

NOT Implemented

KServiceTypeProfile

KServiceTypeProfile is fully implemented. *** EXCEPT

static const QList<KServiceTypeProfile>& serviceTypeProfiles ()

NOT Implemented

static KService::Ptr preferredService (const QString& serviceType, bool needApp);

NOT Implemented

static KService::Ptr preferredService (const QString& serviceType, const QString& genericServiceType);

NOT Implemented

OfferList offers ();

NOT Implemented

static OfferList offers (const QString&);

NOT Implemented

static OfferList offers (const QString&, const QString&);

NOT Implemented

static const QList>KServiceTypeProfile<& serviceTypeProfiles ();

NOT Implemented

KIO::MetaData - mapped type

Mapped type - cannot be instantiated. Whenever a KIO.MetaData is the return type of a function or the type of an argument, a Python dictionary with key: QString, value: QString is used instead.

KIO.NetAccess

KIO.NetAccess is fully implemented.

static QString mimetype (const KURL&);

NOT Implemented

Observer

Observer is fully implemented.

KIO.PasswordDialog

KIO.PasswordDialog is fully implemented. *** EXCEPT

static int getNameAndPassword (QString& user,
     QString& pass,
     bool* keep,
     const QString& prompt = QString::null,
     bool readOnly = 0,
     const QString& caption = QString::null,
     const QString& comment = QString::null,
     const QString& label  = QString::null);

TAKES QString, QString, QString, QString and RETURNS a Python tuple of (int, int)

ProgressBase

ProgressBase is fully implemented.

KIO.RenameDlg

KIO.RenameDlg NOT implemented *** EXCEPT

KIO::RenameDlg_Result open_RenameDlg( const QString &,
     const QString&,
     const QString &,
     KIO::RenameDlg_Mode,
     QString&,
     unsigned long =  -1,
     signed long =  -1,
     time_t =  -1,
     time_t =  -1,
     time_t =  -1,
     time_t =  -1
     );

GLOBAL function (not a class member)

enum KIO.RenameDlg_Mode { M_OVERWRITE = 1, M_OVERWRITE_ITSELF = 2, M_SKIP = 4,
        M_SINGLE = 8, M_MULTI = 16, M_RESUME = 32, M_NORENAME = 64 };

enum KIO.RenameDlg_Result { R_RESUME = 6, R_RESUME_ALL = 7, R_OVERWRITE = 4,
        R_OVERWRITE_ALL = 5, R_SKIP = 2, R_AUTO_SKIP = 3, R_RENAME = 1, R_CANCEL = 0 };

GLOBAL enums (not class members)

KIO.SkipDlg

KIO.SkipDlg NOT implemented ***EXCEPT

KIO::SkipDlg_Result KIO.open_SkipDlg(bool, const QString& = QString::null);

GLOBAL function (not method or class member)

enum SkipDlg_Result { S_SKIP = 1, S_AUTO_SKIP = 2, S_CANCEL = 0 };

GLOBAL enum (not method or class member)

KIO.Slave

KIO.Slave is fully implemented.

KIO.SlaveBase

KIO.SlaveBase is fully implemented.

KIO.SlaveInterface

KIO.SlaveInterface is fully implemented. *** EXCEPT

static void sigpipe_handler (int);

NOT Implemented

StatusbarProgress

StatusbarProgress is fully implemented.

KIO.TCPSlaveBase

KIO.TCPSlaveBase is fully implemented.