File indexing completed on 2024-05-12 16:08:33
0001 class pyqtSignal(): 0002 def connect(self, targetSignal): pass 0003 def emit(self, *args): pass 0004 from QtCore import * 0005 0006 class KIO(): 0007 """""" 0008 # Enum KIO.Message 0009 MSG_DATA = 0 0010 MSG_DATA_REQ = 0 0011 MSG_ERROR = 0 0012 MSG_CONNECTED = 0 0013 MSG_FINISHED = 0 0014 MSG_STAT_ENTRY = 0 0015 MSG_LIST_ENTRIES = 0 0016 MSG_RENAMED = 0 0017 MSG_RESUME = 0 0018 MSG_SLAVE_STATUS = 0 0019 MSG_SLAVE_ACK = 0 0020 MSG_NET_REQUEST = 0 0021 MSG_NET_DROP = 0 0022 MSG_NEED_SUBURL_DATA = 0 0023 MSG_CANRESUME = 0 0024 MSG_AUTH_KEY = 0 0025 MSG_DEL_AUTH_KEY = 0 0026 MSG_OPENED = 0 0027 MSG_WRITTEN = 0 0028 MSG_HOST_INFO_REQ = 0 0029 0030 # Enum KIO.Info 0031 INF_TOTAL_SIZE = 0 0032 INF_PROCESSED_SIZE = 0 0033 INF_SPEED = 0 0034 INF_REDIRECTION = 0 0035 INF_MIME_TYPE = 0 0036 INF_ERROR_PAGE = 0 0037 INF_WARNING = 0 0038 INF_GETTING_FILE = 0 0039 INF_UNUSED = 0 0040 INF_INFOMESSAGE = 0 0041 INF_META_DATA = 0 0042 INF_NETWORK_STATUS = 0 0043 INF_MESSAGEBOX = 0 0044 INF_POSITION = 0 0045 0046 # Enum KIO.SkipDialog_Result 0047 S_SKIP = 0 0048 S_AUTO_SKIP = 0 0049 S_CANCEL = 0 0050 0051 # Enum KIO.RenameDialog_Result 0052 R_RESUME = 0 0053 R_RESUME_ALL = 0 0054 R_OVERWRITE = 0 0055 R_OVERWRITE_ALL = 0 0056 R_SKIP = 0 0057 R_AUTO_SKIP = 0 0058 R_RENAME = 0 0059 R_AUTO_RENAME = 0 0060 R_CANCEL = 0 0061 0062 # Enum KIO.RenameDialog_Mode 0063 M_OVERWRITE = 0 0064 M_OVERWRITE_ITSELF = 0 0065 M_SKIP = 0 0066 M_SINGLE = 0 0067 M_MULTI = 0 0068 M_RESUME = 0 0069 M_NORENAME = 0 0070 M_ISDIR = 0 0071 0072 # Enum KIO.JobFlag 0073 DefaultFlags = 0 0074 HideProgressInfo = 0 0075 Resume = 0 0076 Overwrite = 0 0077 0078 # Enum KIO.LoadType 0079 Reload = 0 0080 NoReload = 0 0081 0082 # Enum KIO.CacheControl 0083 CC_CacheOnly = 0 0084 CC_Cache = 0 0085 CC_Verify = 0 0086 CC_Refresh = 0 0087 CC_Reload = 0 0088 0089 # Enum KIO.Error 0090 ERR_CANNOT_OPEN_FOR_READING = 0 0091 ERR_CANNOT_OPEN_FOR_WRITING = 0 0092 ERR_CANNOT_LAUNCH_PROCESS = 0 0093 ERR_INTERNAL = 0 0094 ERR_MALFORMED_URL = 0 0095 ERR_UNSUPPORTED_PROTOCOL = 0 0096 ERR_NO_SOURCE_PROTOCOL = 0 0097 ERR_UNSUPPORTED_ACTION = 0 0098 ERR_IS_DIRECTORY = 0 0099 ERR_IS_FILE = 0 0100 ERR_DOES_NOT_EXIST = 0 0101 ERR_FILE_ALREADY_EXIST = 0 0102 ERR_DIR_ALREADY_EXIST = 0 0103 ERR_UNKNOWN_HOST = 0 0104 ERR_ACCESS_DENIED = 0 0105 ERR_WRITE_ACCESS_DENIED = 0 0106 ERR_CANNOT_ENTER_DIRECTORY = 0 0107 ERR_PROTOCOL_IS_NOT_A_FILESYSTEM = 0 0108 ERR_CYCLIC_LINK = 0 0109 ERR_USER_CANCELED = 0 0110 ERR_CYCLIC_COPY = 0 0111 ERR_COULD_NOT_CREATE_SOCKET = 0 0112 ERR_COULD_NOT_CONNECT = 0 0113 ERR_CONNECTION_BROKEN = 0 0114 ERR_NOT_FILTER_PROTOCOL = 0 0115 ERR_COULD_NOT_MOUNT = 0 0116 ERR_COULD_NOT_UNMOUNT = 0 0117 ERR_COULD_NOT_READ = 0 0118 ERR_COULD_NOT_WRITE = 0 0119 ERR_COULD_NOT_BIND = 0 0120 ERR_COULD_NOT_LISTEN = 0 0121 ERR_COULD_NOT_ACCEPT = 0 0122 ERR_COULD_NOT_LOGIN = 0 0123 ERR_COULD_NOT_STAT = 0 0124 ERR_COULD_NOT_CLOSEDIR = 0 0125 ERR_COULD_NOT_MKDIR = 0 0126 ERR_COULD_NOT_RMDIR = 0 0127 ERR_CANNOT_RESUME = 0 0128 ERR_CANNOT_RENAME = 0 0129 ERR_CANNOT_CHMOD = 0 0130 ERR_CANNOT_DELETE = 0 0131 ERR_SLAVE_DIED = 0 0132 ERR_OUT_OF_MEMORY = 0 0133 ERR_UNKNOWN_PROXY_HOST = 0 0134 ERR_COULD_NOT_AUTHENTICATE = 0 0135 ERR_ABORTED = 0 0136 ERR_INTERNAL_SERVER = 0 0137 ERR_SERVER_TIMEOUT = 0 0138 ERR_SERVICE_NOT_AVAILABLE = 0 0139 ERR_UNKNOWN = 0 0140 ERR_UNKNOWN_INTERRUPT = 0 0141 ERR_CANNOT_DELETE_ORIGINAL = 0 0142 ERR_CANNOT_DELETE_PARTIAL = 0 0143 ERR_CANNOT_RENAME_ORIGINAL = 0 0144 ERR_CANNOT_RENAME_PARTIAL = 0 0145 ERR_NEED_PASSWD = 0 0146 ERR_CANNOT_SYMLINK = 0 0147 ERR_NO_CONTENT = 0 0148 ERR_DISK_FULL = 0 0149 ERR_IDENTICAL_FILES = 0 0150 ERR_SLAVE_DEFINED = 0 0151 ERR_UPGRADE_REQUIRED = 0 0152 ERR_POST_DENIED = 0 0153 ERR_COULD_NOT_SEEK = 0 0154 ERR_CANNOT_SETTIME = 0 0155 ERR_CANNOT_CHOWN = 0 0156 ERR_POST_NO_SIZE = 0 0157 0158 # Enum KIO.Command 0159 CMD_HOST = 0 0160 CMD_CONNECT = 0 0161 CMD_DISCONNECT = 0 0162 CMD_SLAVE_STATUS = 0 0163 CMD_SLAVE_CONNECT = 0 0164 CMD_SLAVE_HOLD = 0 0165 CMD_NONE = 0 0166 CMD_TESTDIR = 0 0167 CMD_GET = 0 0168 CMD_PUT = 0 0169 CMD_STAT = 0 0170 CMD_MIMETYPE = 0 0171 CMD_LISTDIR = 0 0172 CMD_MKDIR = 0 0173 CMD_RENAME = 0 0174 CMD_COPY = 0 0175 CMD_DEL = 0 0176 CMD_CHMOD = 0 0177 CMD_SPECIAL = 0 0178 CMD_SETMODIFICATIONTIME = 0 0179 CMD_REPARSECONFIGURATION = 0 0180 CMD_META_DATA = 0 0181 CMD_SYMLINK = 0 0182 CMD_SUBURL = 0 0183 CMD_MESSAGEBOXANSWER = 0 0184 CMD_RESUMEANSWER = 0 0185 CMD_CONFIG = 0 0186 CMD_MULTI_GET = 0 0187 CMD_SETLINKDEST = 0 0188 CMD_OPEN = 0 0189 CMD_CHOWN = 0 0190 CMD_READ = 0 0191 CMD_WRITE = 0 0192 CMD_SEEK = 0 0193 CMD_CLOSE = 0 0194 CMD_HOST_INFO = 0 0195 0196 def filePreview(self, items, width, height = 0, iconSize = 0, iconAlpha = 70, scale = True, save = True, enabledPlugins = None): 0197 '''static KIO.PreviewJob KIO.filePreview(KFileItemList items, int width, int height = 0, int iconSize = 0, int iconAlpha = 70, bool scale = True, bool save = True, QStringList enabledPlugins = None)''' 0198 return KIO.PreviewJob() 0199 def filePreview(self, items, width, height = 0, iconSize = 0, iconAlpha = 70, scale = True, save = True, enabledPlugins = None): 0200 '''static KIO.PreviewJob KIO.filePreview(KUrl.List items, int width, int height = 0, int iconSize = 0, int iconAlpha = 70, bool scale = True, bool save = True, QStringList enabledPlugins = None)''' 0201 return KIO.PreviewJob() 0202 def filePreview(self, items, size, enabledPlugins = None): 0203 '''static KIO.PreviewJob KIO.filePreview(KFileItemList items, QSize size, QStringList enabledPlugins = None)''' 0204 return KIO.PreviewJob() 0205 def pasteMimeData(self, data, destUrl, dialogText, widget): 0206 '''static KIO.Job KIO.pasteMimeData(QMimeData data, KUrl destUrl, QString dialogText, QWidget widget)''' 0207 return KIO.Job() 0208 def pasteActionText(self): 0209 '''static QString KIO.pasteActionText()''' 0210 return QString() 0211 def canPasteMimeSource(self, data): 0212 '''static bool KIO.canPasteMimeSource(QMimeData data)''' 0213 return bool() 0214 def pasteMimeSource(self, data, destURL, dialogText, widget, clipboard = False): 0215 '''static KIO.CopyJob KIO.pasteMimeSource(QMimeData data, KUrl destURL, QString dialogText, QWidget widget, bool clipboard = False)''' 0216 return KIO.CopyJob() 0217 def pasteDataAsync(self, destURL, data, widget, dialogText = QString()): 0218 '''static KIO.CopyJob KIO.pasteDataAsync(KUrl destURL, QByteArray data, QWidget widget, QString dialogText = QString())''' 0219 return KIO.CopyJob() 0220 def pasteData(self, destURL, data, widget): 0221 '''static void KIO.pasteData(KUrl destURL, QByteArray data, QWidget widget)''' 0222 def pasteClipboard(self, destURL, widget, move = False): 0223 '''static KIO.Job KIO.pasteClipboard(KUrl destURL, QWidget widget, bool move = False)''' 0224 return KIO.Job() 0225 def fileMetaInfo(self, items): 0226 '''static KIO.MetaInfoJob KIO.fileMetaInfo(KFileItemList items)''' 0227 return KIO.MetaInfoJob() 0228 def fileMetaInfo(self, items): 0229 '''static KIO.MetaInfoJob KIO.fileMetaInfo(KUrl.List items)''' 0230 return KIO.MetaInfoJob() 0231 def http_delete(self, url, flags = None): 0232 '''static KIO.TransferJob KIO.http_delete(KUrl url, KIO.JobFlags flags = KIO.DefaultFlags)''' 0233 return KIO.TransferJob() 0234 def mostLocalUrl(self, url, flags = None): 0235 '''static KIO.StatJob KIO.mostLocalUrl(KUrl url, KIO.JobFlags flags = KIO.DefaultFlags)''' 0236 return KIO.StatJob() 0237 def listRecursive(self, url, flags = None, includeHidden = True): 0238 '''static KIO.ListJob KIO.listRecursive(KUrl url, KIO.JobFlags flags = KIO.DefaultFlags, bool includeHidden = True)''' 0239 return KIO.ListJob() 0240 def listDir(self, url, flags = None, includeHidden = True): 0241 '''static KIO.ListJob KIO.listDir(KUrl url, KIO.JobFlags flags = KIO.DefaultFlags, bool includeHidden = True)''' 0242 return KIO.ListJob() 0243 def file_delete(self, src, flags = None): 0244 '''static KIO.SimpleJob KIO.file_delete(KUrl src, KIO.JobFlags flags = KIO.DefaultFlags)''' 0245 return KIO.SimpleJob() 0246 def file_move(self, src, dest, permissions = None, flags = None): 0247 '''static KIO.FileCopyJob KIO.file_move(KUrl src, KUrl dest, int permissions = -1, KIO.JobFlags flags = KIO.DefaultFlags)''' 0248 return KIO.FileCopyJob() 0249 def file_copy(self, src, dest, permissions = None, flags = None): 0250 '''static KIO.FileCopyJob KIO.file_copy(KUrl src, KUrl dest, int permissions = -1, KIO.JobFlags flags = KIO.DefaultFlags)''' 0251 return KIO.FileCopyJob() 0252 def mimetype(self, url, flags = None): 0253 '''static KIO.MimetypeJob KIO.mimetype(KUrl url, KIO.JobFlags flags = KIO.DefaultFlags)''' 0254 return KIO.MimetypeJob() 0255 def multi_get(self, id, url, metaData): 0256 '''static KIO.MultiGetJob KIO.multi_get(int id, KUrl url, MetaData metaData)''' 0257 return KIO.MultiGetJob() 0258 def storedHttpPost(self, arr, url, flags = None): 0259 '''static KIO.StoredTransferJob KIO.storedHttpPost(QByteArray arr, KUrl url, KIO.JobFlags flags = KIO.DefaultFlags)''' 0260 return KIO.StoredTransferJob() 0261 def storedHttpPost(self, device, url, size = None, flags = None): 0262 '''static KIO.StoredTransferJob KIO.storedHttpPost(QIODevice device, KUrl url, int size = -1, KIO.JobFlags flags = KIO.DefaultFlags)''' 0263 return KIO.StoredTransferJob() 0264 def storedPut(self, arr, url, permissions, flags = None): 0265 '''static KIO.StoredTransferJob KIO.storedPut(QByteArray arr, KUrl url, int permissions, KIO.JobFlags flags = KIO.DefaultFlags)''' 0266 return KIO.StoredTransferJob() 0267 def storedGet(self, url, reload = None, flags = None): 0268 '''static KIO.StoredTransferJob KIO.storedGet(KUrl url, KIO.LoadType reload = KIO.NoReload, KIO.JobFlags flags = KIO.DefaultFlags)''' 0269 return KIO.StoredTransferJob() 0270 def http_post(self, url, postData, flags = None): 0271 '''static KIO.TransferJob KIO.http_post(KUrl url, QByteArray postData, KIO.JobFlags flags = KIO.DefaultFlags)''' 0272 return KIO.TransferJob() 0273 def http_post(self, url, device, size = None, flags = None): 0274 '''static KIO.TransferJob KIO.http_post(KUrl url, QIODevice device, int size = -1, KIO.JobFlags flags = KIO.DefaultFlags)''' 0275 return KIO.TransferJob() 0276 def put(self, url, permissions, flags = None): 0277 '''static KIO.TransferJob KIO.put(KUrl url, int permissions, KIO.JobFlags flags = KIO.DefaultFlags)''' 0278 return KIO.TransferJob() 0279 def open(self, url, mode): 0280 '''static KIO.FileJob KIO.open(KUrl url, QIODevice.OpenMode mode)''' 0281 return KIO.FileJob() 0282 def get(self, url, reload = None, flags = None): 0283 '''static KIO.TransferJob KIO.get(KUrl url, KIO.LoadType reload = KIO.NoReload, KIO.JobFlags flags = KIO.DefaultFlags)''' 0284 return KIO.TransferJob() 0285 def stat(self, url, flags = None): 0286 '''static KIO.StatJob KIO.stat(KUrl url, KIO.JobFlags flags = KIO.DefaultFlags)''' 0287 return KIO.StatJob() 0288 def stat(self, url, side, details, flags = None): 0289 '''static KIO.StatJob KIO.stat(KUrl url, KIO.StatJob.StatSide side, int details, KIO.JobFlags flags = KIO.DefaultFlags)''' 0290 return KIO.StatJob() 0291 def stat(self, url, sideIsSource, details, flags = None): 0292 '''static KIO.StatJob KIO.stat(KUrl url, bool sideIsSource, int details, KIO.JobFlags flags = KIO.DefaultFlags)''' 0293 return KIO.StatJob() 0294 def http_update_cache(self, url, no_cache, expireDate): 0295 '''static KIO.SimpleJob KIO.http_update_cache(KUrl url, bool no_cache, int expireDate)''' 0296 return KIO.SimpleJob() 0297 def unmount(self, point, flags = None): 0298 '''static KIO.SimpleJob KIO.unmount(QString point, KIO.JobFlags flags = KIO.DefaultFlags)''' 0299 return KIO.SimpleJob() 0300 def mount(self, ro, fstype, dev, point, flags = None): 0301 '''static KIO.SimpleJob KIO.mount(bool ro, QByteArray fstype, QString dev, QString point, KIO.JobFlags flags = KIO.DefaultFlags)''' 0302 return KIO.SimpleJob() 0303 def special(self, url, data, flags = None): 0304 '''static KIO.SimpleJob KIO.special(KUrl url, QByteArray data, KIO.JobFlags flags = KIO.DefaultFlags)''' 0305 return KIO.SimpleJob() 0306 def symlink(self, target, dest, flags = None): 0307 '''static KIO.SimpleJob KIO.symlink(QString target, KUrl dest, KIO.JobFlags flags = KIO.DefaultFlags)''' 0308 return KIO.SimpleJob() 0309 def rename(self, src, dest, flags = None): 0310 '''static KIO.SimpleJob KIO.rename(KUrl src, KUrl dest, KIO.JobFlags flags = KIO.DefaultFlags)''' 0311 return KIO.SimpleJob() 0312 def setModificationTime(self, url, mtime): 0313 '''static KIO.SimpleJob KIO.setModificationTime(KUrl url, QDateTime mtime)''' 0314 return KIO.SimpleJob() 0315 def chown(self, url, owner, group): 0316 '''static KIO.SimpleJob KIO.chown(KUrl url, QString owner, QString group)''' 0317 return KIO.SimpleJob() 0318 def rmdir(self, url): 0319 '''static KIO.SimpleJob KIO.rmdir(KUrl url)''' 0320 return KIO.SimpleJob() 0321 def mkdir(self, url, permissions = None): 0322 '''static KIO.SimpleJob KIO.mkdir(KUrl url, int permissions = -1)''' 0323 return KIO.SimpleJob() 0324 def getJobTracker(self): 0325 '''static KJobTrackerInterface KIO.getJobTracker()''' 0326 return KJobTrackerInterface() 0327 def getCacheControlString(self, cacheControl): 0328 '''static QString KIO.getCacheControlString(KIO.CacheControl cacheControl)''' 0329 return QString() 0330 def parseCacheControl(self, cacheControl): 0331 '''static KIO.CacheControl KIO.parseCacheControl(QString cacheControl)''' 0332 return KIO.CacheControl() 0333 def unsupportedActionErrorString(self, protocol, cmd): 0334 '''static QString KIO.unsupportedActionErrorString(QString protocol, int cmd)''' 0335 return QString() 0336 def rawErrorDetail(self, errorCode, errorText, reqUrl = None, method = None): 0337 '''static QByteArray KIO.rawErrorDetail(int errorCode, QString errorText, KUrl reqUrl = None, int method = -1)''' 0338 return QByteArray() 0339 def buildErrorString(self, errorCode, errorText): 0340 '''static QString KIO.buildErrorString(int errorCode, QString errorText)''' 0341 return QString() 0342 def decodeFileName(self, str): 0343 '''static QString KIO.decodeFileName(QString str)''' 0344 return QString() 0345 def encodeFileName(self, str): 0346 '''static QString KIO.encodeFileName(QString str)''' 0347 return QString() 0348 def itemsSummaryString(self, items, files, dirs, size, showSize): 0349 '''static QString KIO.itemsSummaryString(int items, int files, int dirs, int size, bool showSize)''' 0350 return QString() 0351 def calculateRemaining(self, totalSize, processedSize, speed): 0352 '''static QTime KIO.calculateRemaining(int totalSize, int processedSize, int speed)''' 0353 return QTime() 0354 def convertSeconds(self, seconds): 0355 '''static QString KIO.convertSeconds(int seconds)''' 0356 return QString() 0357 def calculateRemainingSeconds(self, totalSize, processedSize, speed): 0358 '''static int KIO.calculateRemainingSeconds(int totalSize, int processedSize, int speed)''' 0359 return int() 0360 def convertSizeFromKiB(self, kibSize): 0361 '''static QString KIO.convertSizeFromKiB(int kibSize)''' 0362 return QString() 0363 def number(self, size): 0364 '''static QString KIO.number(int size)''' 0365 return QString() 0366 def convertSize(self, size): 0367 '''static QString KIO.convertSize(int size)''' 0368 return QString() 0369 def directorySize(self, directory): 0370 '''static KIO.DirectorySizeJob KIO.directorySize(KUrl directory)''' 0371 return KIO.DirectorySizeJob() 0372 def directorySize(self, lstItems): 0373 '''static KIO.DirectorySizeJob KIO.directorySize(KFileItemList lstItems)''' 0374 return KIO.DirectorySizeJob() 0375 def del_(self, src, flags = None): 0376 '''static KIO.DeleteJob KIO.del_(KUrl src, KIO.JobFlags flags = KIO.DefaultFlags)''' 0377 return KIO.DeleteJob() 0378 def del_(self, src, flags = None): 0379 '''static KIO.DeleteJob KIO.del_(KUrl.List src, KIO.JobFlags flags = KIO.DefaultFlags)''' 0380 return KIO.DeleteJob() 0381 def davReport(self, url, report, depth, flags = None): 0382 '''static KIO.DavJob KIO.davReport(KUrl url, QString report, QString depth, KIO.JobFlags flags = KIO.DefaultFlags)''' 0383 return KIO.DavJob() 0384 def davSearch(self, url, nsURI, qName, query, flags = None): 0385 '''static KIO.DavJob KIO.davSearch(KUrl url, QString nsURI, QString qName, QString query, KIO.JobFlags flags = KIO.DefaultFlags)''' 0386 return KIO.DavJob() 0387 def davPropPatch(self, url, properties, flags = None): 0388 '''static KIO.DavJob KIO.davPropPatch(KUrl url, QDomDocument properties, KIO.JobFlags flags = KIO.DefaultFlags)''' 0389 return KIO.DavJob() 0390 def davPropFind(self, url, properties, depth, flags = None): 0391 '''static KIO.DavJob KIO.davPropFind(KUrl url, QDomDocument properties, QString depth, KIO.JobFlags flags = KIO.DefaultFlags)''' 0392 return KIO.DavJob() 0393 def trash(self, src, flags = None): 0394 '''static KIO.CopyJob KIO.trash(KUrl src, KIO.JobFlags flags = KIO.DefaultFlags)''' 0395 return KIO.CopyJob() 0396 def trash(self, src, flags = None): 0397 '''static KIO.CopyJob KIO.trash(KUrl.List src, KIO.JobFlags flags = KIO.DefaultFlags)''' 0398 return KIO.CopyJob() 0399 def linkAs(self, src, dest, flags = None): 0400 '''static KIO.CopyJob KIO.linkAs(KUrl src, KUrl dest, KIO.JobFlags flags = KIO.DefaultFlags)''' 0401 return KIO.CopyJob() 0402 def link(self, src, destDir, flags = None): 0403 '''static KIO.CopyJob KIO.link(KUrl src, KUrl destDir, KIO.JobFlags flags = KIO.DefaultFlags)''' 0404 return KIO.CopyJob() 0405 def link(self, src, destDir, flags = None): 0406 '''static KIO.CopyJob KIO.link(KUrl.List src, KUrl destDir, KIO.JobFlags flags = KIO.DefaultFlags)''' 0407 return KIO.CopyJob() 0408 def moveAs(self, src, dest, flags = None): 0409 '''static KIO.CopyJob KIO.moveAs(KUrl src, KUrl dest, KIO.JobFlags flags = KIO.DefaultFlags)''' 0410 return KIO.CopyJob() 0411 def move(self, src, dest, flags = None): 0412 '''static KIO.CopyJob KIO.move(KUrl src, KUrl dest, KIO.JobFlags flags = KIO.DefaultFlags)''' 0413 return KIO.CopyJob() 0414 def move(self, src, dest, flags = None): 0415 '''static KIO.CopyJob KIO.move(KUrl.List src, KUrl dest, KIO.JobFlags flags = KIO.DefaultFlags)''' 0416 return KIO.CopyJob() 0417 def copyAs(self, src, dest, flags = None): 0418 '''static KIO.CopyJob KIO.copyAs(KUrl src, KUrl dest, KIO.JobFlags flags = KIO.DefaultFlags)''' 0419 return KIO.CopyJob() 0420 def copy(self, src, dest, flags = None): 0421 '''static KIO.CopyJob KIO.copy(KUrl src, KUrl dest, KIO.JobFlags flags = KIO.DefaultFlags)''' 0422 return KIO.CopyJob() 0423 def copy(self, src, dest, flags = None): 0424 '''static KIO.CopyJob KIO.copy(KUrl.List src, KUrl dest, KIO.JobFlags flags = KIO.DefaultFlags)''' 0425 return KIO.CopyJob() 0426 def chmod(self, lstItems, permissions, mask, newOwner, newGroup, recursive, flags = None): 0427 '''static KIO.ChmodJob KIO.chmod(KFileItemList lstItems, int permissions, int mask, QString newOwner, QString newGroup, bool recursive, KIO.JobFlags flags = KIO.DefaultFlags)''' 0428 return KIO.ChmodJob() 0429 def chmod(self, url, permissions): 0430 '''static KIO.SimpleJob KIO.chmod(KUrl url, int permissions)''' 0431 return KIO.SimpleJob() 0432 class Connection(QObject): 0433 """""" 0434 def __init__(self, parent = None): 0435 '''void KIO.Connection.__init__(QObject parent = None)''' 0436 readyRead = pyqtSignal() # void readyRead() - signal 0437 def suspended(self): 0438 '''bool KIO.Connection.suspended()''' 0439 return bool() 0440 def resume(self): 0441 '''void KIO.Connection.resume()''' 0442 def suspend(self): 0443 '''void KIO.Connection.suspend()''' 0444 def waitForIncomingTask(self, ms = 30000): 0445 '''bool KIO.Connection.waitForIncomingTask(int ms = 30000)''' 0446 return bool() 0447 def hasTaskAvailable(self): 0448 '''bool KIO.Connection.hasTaskAvailable()''' 0449 return bool() 0450 def sendnow(self, _cmd, data): 0451 '''bool KIO.Connection.sendnow(int _cmd, QByteArray data)''' 0452 return bool() 0453 def send(self, cmd, arr = QByteArray()): 0454 '''bool KIO.Connection.send(int cmd, QByteArray arr = QByteArray())''' 0455 return bool() 0456 def inited(self): 0457 '''bool KIO.Connection.inited()''' 0458 return bool() 0459 def isConnected(self): 0460 '''bool KIO.Connection.isConnected()''' 0461 return bool() 0462 def errorString(self): 0463 '''QString KIO.Connection.errorString()''' 0464 return QString() 0465 def close(self): 0466 '''void KIO.Connection.close()''' 0467 def connectToRemote(self, address): 0468 '''void KIO.Connection.connectToRemote(QString address)''' 0469 class UDSEntry(): 0470 """""" 0471 # Enum KIO.UDSEntry.StandardFieldTypes 0472 UDS_STRING = 0 0473 UDS_NUMBER = 0 0474 UDS_TIME = 0 0475 UDS_SIZE = 0 0476 UDS_SIZE_LARGE = 0 0477 UDS_USER = 0 0478 UDS_ICON_NAME = 0 0479 UDS_GROUP = 0 0480 UDS_NAME = 0 0481 UDS_LOCAL_PATH = 0 0482 UDS_HIDDEN = 0 0483 UDS_ACCESS = 0 0484 UDS_MODIFICATION_TIME = 0 0485 UDS_ACCESS_TIME = 0 0486 UDS_CREATION_TIME = 0 0487 UDS_FILE_TYPE = 0 0488 UDS_LINK_DEST = 0 0489 UDS_URL = 0 0490 UDS_MIME_TYPE = 0 0491 UDS_GUESSED_MIME_TYPE = 0 0492 UDS_XML_PROPERTIES = 0 0493 UDS_EXTENDED_ACL = 0 0494 UDS_ACL_STRING = 0 0495 UDS_DEFAULT_ACL_STRING = 0 0496 UDS_DISPLAY_NAME = 0 0497 UDS_TARGET_URL = 0 0498 UDS_DISPLAY_TYPE = 0 0499 UDS_NEPOMUK_URI = 0 0500 UDS_ICON_OVERLAY_NAMES = 0 0501 UDS_NEPOMUK_QUERY = 0 0502 UDS_COMMENT = 0 0503 UDS_DEVICE_ID = 0 0504 UDS_INODE = 0 0505 UDS_EXTRA = 0 0506 UDS_EXTRA_END = 0 0507 0508 def __init__(self): 0509 '''void KIO.UDSEntry.__init__()''' 0510 def __init__(self, other): 0511 '''void KIO.UDSEntry.__init__(KIO.UDSEntry other)''' 0512 def clear(self): 0513 '''void KIO.UDSEntry.clear()''' 0514 def listFields(self): 0515 '''list-of-int KIO.UDSEntry.listFields()''' 0516 return [int()] 0517 def remove(self, field): 0518 '''bool KIO.UDSEntry.remove(int field)''' 0519 return bool() 0520 def contains(self, field): 0521 '''bool KIO.UDSEntry.contains(int field)''' 0522 return bool() 0523 def count(self): 0524 '''int KIO.UDSEntry.count()''' 0525 return int() 0526 def insert(self, field, value): 0527 '''void KIO.UDSEntry.insert(int field, QString value)''' 0528 def insert(self, field, l): 0529 '''void KIO.UDSEntry.insert(int field, int l)''' 0530 def isLink(self): 0531 '''bool KIO.UDSEntry.isLink()''' 0532 return bool() 0533 def isDir(self): 0534 '''bool KIO.UDSEntry.isDir()''' 0535 return bool() 0536 def numberValue(self, field, defaultValue = 0): 0537 '''int KIO.UDSEntry.numberValue(int field, int defaultValue = 0)''' 0538 return int() 0539 def stringValue(self, field): 0540 '''QString KIO.UDSEntry.stringValue(int field)''' 0541 return QString() 0542 class ForwardingSlaveBase(QObject, KIO.SlaveBase): 0543 """""" 0544 def __init__(self, protocol, poolSocket, appSocket): 0545 '''void KIO.ForwardingSlaveBase.__init__(QByteArray protocol, QByteArray poolSocket, QByteArray appSocket)''' 0546 def requestedUrl(self): 0547 '''KUrl KIO.ForwardingSlaveBase.requestedUrl()''' 0548 return KUrl() 0549 def processedUrl(self): 0550 '''KUrl KIO.ForwardingSlaveBase.processedUrl()''' 0551 return KUrl() 0552 def prepareUDSEntry(self, entry, listing = False): 0553 '''void KIO.ForwardingSlaveBase.prepareUDSEntry(KIO.UDSEntry entry, bool listing = False)''' 0554 def rewriteUrl(self, url, newURL): 0555 '''abstract bool KIO.ForwardingSlaveBase.rewriteUrl(KUrl url, KUrl newURL)''' 0556 return bool() 0557 def del_(self, url, isfile): 0558 '''void KIO.ForwardingSlaveBase.del_(KUrl url, bool isfile)''' 0559 def copy(self, src, dest, permissions, flags): 0560 '''void KIO.ForwardingSlaveBase.copy(KUrl src, KUrl dest, int permissions, KIO.JobFlags flags)''' 0561 def setModificationTime(self, url, mtime): 0562 '''void KIO.ForwardingSlaveBase.setModificationTime(KUrl url, QDateTime mtime)''' 0563 def chmod(self, url, permissions): 0564 '''void KIO.ForwardingSlaveBase.chmod(KUrl url, int permissions)''' 0565 def symlink(self, target, dest, flags): 0566 '''void KIO.ForwardingSlaveBase.symlink(QString target, KUrl dest, KIO.JobFlags flags)''' 0567 def rename(self, src, dest, flags): 0568 '''void KIO.ForwardingSlaveBase.rename(KUrl src, KUrl dest, KIO.JobFlags flags)''' 0569 def mkdir(self, url, permissions): 0570 '''void KIO.ForwardingSlaveBase.mkdir(KUrl url, int permissions)''' 0571 def listDir(self, url): 0572 '''void KIO.ForwardingSlaveBase.listDir(KUrl url)''' 0573 def mimetype(self, url): 0574 '''void KIO.ForwardingSlaveBase.mimetype(KUrl url)''' 0575 def stat(self, url): 0576 '''void KIO.ForwardingSlaveBase.stat(KUrl url)''' 0577 def put(self, url, permissions, flags): 0578 '''void KIO.ForwardingSlaveBase.put(KUrl url, int permissions, KIO.JobFlags flags)''' 0579 def get(self, url): 0580 '''void KIO.ForwardingSlaveBase.get(KUrl url)''' 0581 class FileJob(KIO.SimpleJob): 0582 """""" 0583 position = pyqtSignal() # void position(KIO::Job *,KIO::filesize_t) - signal 0584 written = pyqtSignal() # void written(KIO::Job *,KIO::filesize_t) - signal 0585 open = pyqtSignal() # void open(KIO::Job *) - signal 0586 mimetype = pyqtSignal() # void mimetype(KIO::Job *,const QStringamp;) - signal 0587 redirection = pyqtSignal() # void redirection(KIO::Job *,const KUrlamp;) - signal 0588 data = pyqtSignal() # void data(KIO::Job *,const QByteArrayamp;) - signal 0589 def size(self): 0590 '''int KIO.FileJob.size()''' 0591 return int() 0592 def seek(self, offset): 0593 '''void KIO.FileJob.seek(int offset)''' 0594 def close(self): 0595 '''void KIO.FileJob.close()''' 0596 close = pyqtSignal() # void close(KIO::Job *) - signal 0597 def write(self, data): 0598 '''void KIO.FileJob.write(QByteArray data)''' 0599 def read(self, size): 0600 '''void KIO.FileJob.read(int size)''' 0601 class SpecialJob(KIO.TransferJob): 0602 """""" 0603 def __init__(self, url, data = QByteArray()): 0604 '''void KIO.SpecialJob.__init__(KUrl url, QByteArray data = QByteArray())''' 0605 def arguments(self): 0606 '''QByteArray KIO.SpecialJob.arguments()''' 0607 return QByteArray() 0608 def setArguments(self, data): 0609 '''void KIO.SpecialJob.setArguments(QByteArray data)''' 0610 class SkipDialog(KDialog): 0611 """""" 0612 def __init__(self, parent, _multi, _error_text): 0613 '''void KIO.SkipDialog.__init__(QWidget parent, bool _multi, QString _error_text)''' 0614 result = pyqtSignal() # void result(KIO::SkipDialog *,int) - signal 0615 class StatJob(KIO.SimpleJob): 0616 """""" 0617 # Enum KIO.StatJob.StatSide 0618 SourceSide = 0 0619 DestinationSide = 0 0620 0621 def mostLocalUrl(self): 0622 '''KUrl KIO.StatJob.mostLocalUrl()''' 0623 return KUrl() 0624 def slotMetaData(self, _metaData): 0625 '''void KIO.StatJob.slotMetaData(MetaData _metaData)''' 0626 def slotFinished(self): 0627 '''void KIO.StatJob.slotFinished()''' 0628 permanentRedirection = pyqtSignal() # void permanentRedirection(KIO::Job *,const KUrlamp;,const KUrlamp;) - signal 0629 redirection = pyqtSignal() # void redirection(KIO::Job *,const KUrlamp;) - signal 0630 def statResult(self): 0631 '''KIO.UDSEntry KIO.StatJob.statResult()''' 0632 return KIO.UDSEntry() 0633 def setDetails(self, details): 0634 '''void KIO.StatJob.setDetails(int details)''' 0635 def setSide(self, side): 0636 '''void KIO.StatJob.setSide(KIO.StatJob.StatSide side)''' 0637 def setSide(self, source): 0638 '''void KIO.StatJob.setSide(bool source)''' 0639 class ChmodJob(KIO.Job): 0640 """""" 0641 def slotResult(self, job): 0642 '''void KIO.ChmodJob.slotResult(KJob job)''' 0643 class TCPSlaveBase(): 0644 """""" 0645 class SslResult(): 0646 """""" 0647 def __init__(self): 0648 '''KIO.TCPSlaveBase.SslResult KIO.TCPSlaveBase.SslResult.__init__()''' 0649 return KIO.TCPSlaveBase.SslResult() 0650 def __init__(self): 0651 '''int KIO.TCPSlaveBase.SslResult.__init__()''' 0652 return int() 0653 def __init__(self): 0654 '''void KIO.TCPSlaveBase.SslResult.__init__()''' 0655 def __bool__(self): 0656 '''int KIO.TCPSlaveBase.SslResult.__bool__()''' 0657 return int() 0658 def __ne__(self, f): 0659 '''bool KIO.TCPSlaveBase.SslResult.__ne__(KIO.TCPSlaveBase.SslResult f)''' 0660 return bool() 0661 def __eq__(self, f): 0662 '''bool KIO.TCPSlaveBase.SslResult.__eq__(KIO.TCPSlaveBase.SslResult f)''' 0663 return bool() 0664 def __invert__(self): 0665 '''KIO.TCPSlaveBase.SslResult KIO.TCPSlaveBase.SslResult.__invert__()''' 0666 return KIO.TCPSlaveBase.SslResult() 0667 def __and__(self, mask): 0668 '''KIO.TCPSlaveBase.SslResult KIO.TCPSlaveBase.SslResult.__and__(int mask)''' 0669 return KIO.TCPSlaveBase.SslResult() 0670 def __xor__(self, f): 0671 '''KIO.TCPSlaveBase.SslResult KIO.TCPSlaveBase.SslResult.__xor__(KIO.TCPSlaveBase.SslResult f)''' 0672 return KIO.TCPSlaveBase.SslResult() 0673 def __xor__(self, f): 0674 '''KIO.TCPSlaveBase.SslResult KIO.TCPSlaveBase.SslResult.__xor__(int f)''' 0675 return KIO.TCPSlaveBase.SslResult() 0676 def __or__(self, f): 0677 '''KIO.TCPSlaveBase.SslResult KIO.TCPSlaveBase.SslResult.__or__(KIO.TCPSlaveBase.SslResult f)''' 0678 return KIO.TCPSlaveBase.SslResult() 0679 def __or__(self, f): 0680 '''KIO.TCPSlaveBase.SslResult KIO.TCPSlaveBase.SslResult.__or__(int f)''' 0681 return KIO.TCPSlaveBase.SslResult() 0682 def __int__(self): 0683 '''int KIO.TCPSlaveBase.SslResult.__int__()''' 0684 return int() 0685 def __ixor__(self, f): 0686 '''KIO.TCPSlaveBase.SslResult KIO.TCPSlaveBase.SslResult.__ixor__(KIO.TCPSlaveBase.SslResult f)''' 0687 return KIO.TCPSlaveBase.SslResult() 0688 def __ior__(self, f): 0689 '''KIO.TCPSlaveBase.SslResult KIO.TCPSlaveBase.SslResult.__ior__(KIO.TCPSlaveBase.SslResult f)''' 0690 return KIO.TCPSlaveBase.SslResult() 0691 def __iand__(self, mask): 0692 '''KIO.TCPSlaveBase.SslResult KIO.TCPSlaveBase.SslResult.__iand__(int mask)''' 0693 return KIO.TCPSlaveBase.SslResult() 0694 class CopyInfo(): 0695 """""" 0696 ctime = None # int - member 0697 linkDest = None # QString - member 0698 mtime = None # int - member 0699 permissions = None # int - member 0700 size = None # int - member 0701 uDest = None # KUrl - member 0702 uSource = None # KUrl - member 0703 def __init__(self): 0704 '''void KIO.CopyInfo.__init__()''' 0705 def __init__(self): 0706 '''KIO.CopyInfo KIO.CopyInfo.__init__()''' 0707 return KIO.CopyInfo() 0708 class Integration(): 0709 """""" 0710 class CookieJar(QNetworkCookieJar): 0711 """""" 0712 def __init__(self, parent = None): 0713 '''void KIO.Integration.CookieJar.__init__(QObject parent = None)''' 0714 def setDisableCookieStorage(self, disable): 0715 '''void KIO.Integration.CookieJar.setDisableCookieStorage(bool disable)''' 0716 def isCookieStorageDisabled(self): 0717 '''bool KIO.Integration.CookieJar.isCookieStorageDisabled()''' 0718 return bool() 0719 def setCookiesFromUrl(self, cookieList, url): 0720 '''bool KIO.Integration.CookieJar.setCookiesFromUrl(list-of-QNetworkCookie cookieList, QUrl url)''' 0721 return bool() 0722 def cookiesForUrl(self, url): 0723 '''list-of-QNetworkCookie KIO.Integration.CookieJar.cookiesForUrl(QUrl url)''' 0724 return [QNetworkCookie()] 0725 def reparseConfiguration(self): 0726 '''void KIO.Integration.CookieJar.reparseConfiguration()''' 0727 def setWindowId(self, id): 0728 '''void KIO.Integration.CookieJar.setWindowId(int id)''' 0729 def windowId(self): 0730 '''int KIO.Integration.CookieJar.windowId()''' 0731 return int() 0732 class NetRC(): 0733 """""" 0734 # Enum KIO.NetRC.LookUpModeFlag 0735 exactOnly = 0 0736 defaultOnly = 0 0737 presetOnly = 0 0738 0739 def lookup(self, url, login, userealnetrc, type, mode): 0740 '''bool KIO.NetRC.lookup(KUrl url, KIO.NetRC.AutoLogin login, bool userealnetrc, QString type, KIO.NetRC.LookUpMode mode)''' 0741 return bool() 0742 def parse(self): 0743 '''int KIO.NetRC.parse()''' 0744 return int() 0745 def openf(self): 0746 '''QString KIO.NetRC.openf()''' 0747 return QString() 0748 def reload(self): 0749 '''void KIO.NetRC.reload()''' 0750 def self(self): 0751 '''static KIO.NetRC KIO.NetRC.self()''' 0752 return KIO.NetRC() 0753 class AuthInfo(): 0754 """""" 0755 # Enum KIO.AuthInfo.FieldFlags 0756 ExtraFieldNoFlags = 0 0757 ExtraFieldReadOnly = 0 0758 ExtraFieldMandatory = 0 0759 0760 caption = None # QString - member 0761 comment = None # QString - member 0762 commentLabel = None # QString - member 0763 digestInfo = None # QString - member 0764 keepPassword = None # bool - member 0765 password = None # QString - member 0766 prompt = None # QString - member 0767 readOnly = None # bool - member 0768 realmValue = None # QString - member 0769 url = None # KUrl - member 0770 username = None # QString - member 0771 verifyPath = None # bool - member 0772 def __init__(self): 0773 '''void KIO.AuthInfo.__init__()''' 0774 def __init__(self, info): 0775 '''void KIO.AuthInfo.__init__(KIO.AuthInfo info)''' 0776 def registerMetaTypes(self): 0777 '''static void KIO.AuthInfo.registerMetaTypes()''' 0778 def getExtraFieldFlags(self, fieldName): 0779 '''KIO.AuthInfo.FieldFlags KIO.AuthInfo.getExtraFieldFlags(QString fieldName)''' 0780 return KIO.AuthInfo.FieldFlags() 0781 def getExtraField(self, fieldName): 0782 '''QVariant KIO.AuthInfo.getExtraField(QString fieldName)''' 0783 return QVariant() 0784 def setExtraFieldFlags(self, fieldName, flags): 0785 '''void KIO.AuthInfo.setExtraFieldFlags(QString fieldName, KIO.AuthInfo.FieldFlags flags)''' 0786 def setExtraField(self, fieldName, value): 0787 '''void KIO.AuthInfo.setExtraField(QString fieldName, QVariant value)''' 0788 def setModified(self, flag): 0789 '''void KIO.AuthInfo.setModified(bool flag)''' 0790 def isModified(self): 0791 '''bool KIO.AuthInfo.isModified()''' 0792 return bool() 0793 class StoredTransferJob(KIO.TransferJob): 0794 """""" 0795 def data(self): 0796 '''QByteArray KIO.StoredTransferJob.data()''' 0797 return QByteArray() 0798 def setData(self, arr): 0799 '''void KIO.StoredTransferJob.setData(QByteArray arr)''' 0800 class NetRC(): 0801 """""" 0802 class LookUpMode(): 0803 """""" 0804 def __init__(self): 0805 '''KIO.NetRC.LookUpMode KIO.NetRC.LookUpMode.__init__()''' 0806 return KIO.NetRC.LookUpMode() 0807 def __init__(self): 0808 '''int KIO.NetRC.LookUpMode.__init__()''' 0809 return int() 0810 def __init__(self): 0811 '''void KIO.NetRC.LookUpMode.__init__()''' 0812 def __bool__(self): 0813 '''int KIO.NetRC.LookUpMode.__bool__()''' 0814 return int() 0815 def __ne__(self, f): 0816 '''bool KIO.NetRC.LookUpMode.__ne__(KIO.NetRC.LookUpMode f)''' 0817 return bool() 0818 def __eq__(self, f): 0819 '''bool KIO.NetRC.LookUpMode.__eq__(KIO.NetRC.LookUpMode f)''' 0820 return bool() 0821 def __invert__(self): 0822 '''KIO.NetRC.LookUpMode KIO.NetRC.LookUpMode.__invert__()''' 0823 return KIO.NetRC.LookUpMode() 0824 def __and__(self, mask): 0825 '''KIO.NetRC.LookUpMode KIO.NetRC.LookUpMode.__and__(int mask)''' 0826 return KIO.NetRC.LookUpMode() 0827 def __xor__(self, f): 0828 '''KIO.NetRC.LookUpMode KIO.NetRC.LookUpMode.__xor__(KIO.NetRC.LookUpMode f)''' 0829 return KIO.NetRC.LookUpMode() 0830 def __xor__(self, f): 0831 '''KIO.NetRC.LookUpMode KIO.NetRC.LookUpMode.__xor__(int f)''' 0832 return KIO.NetRC.LookUpMode() 0833 def __or__(self, f): 0834 '''KIO.NetRC.LookUpMode KIO.NetRC.LookUpMode.__or__(KIO.NetRC.LookUpMode f)''' 0835 return KIO.NetRC.LookUpMode() 0836 def __or__(self, f): 0837 '''KIO.NetRC.LookUpMode KIO.NetRC.LookUpMode.__or__(int f)''' 0838 return KIO.NetRC.LookUpMode() 0839 def __int__(self): 0840 '''int KIO.NetRC.LookUpMode.__int__()''' 0841 return int() 0842 def __ixor__(self, f): 0843 '''KIO.NetRC.LookUpMode KIO.NetRC.LookUpMode.__ixor__(KIO.NetRC.LookUpMode f)''' 0844 return KIO.NetRC.LookUpMode() 0845 def __ior__(self, f): 0846 '''KIO.NetRC.LookUpMode KIO.NetRC.LookUpMode.__ior__(KIO.NetRC.LookUpMode f)''' 0847 return KIO.NetRC.LookUpMode() 0848 def __iand__(self, mask): 0849 '''KIO.NetRC.LookUpMode KIO.NetRC.LookUpMode.__iand__(int mask)''' 0850 return KIO.NetRC.LookUpMode() 0851 class MimetypeJob(KIO.TransferJob): 0852 """""" 0853 def slotFinished(self): 0854 '''void KIO.MimetypeJob.slotFinished()''' 0855 class SslUi(): 0856 """""" 0857 # Enum KIO.SslUi.RulesStorage 0858 RecallRules = 0 0859 StoreRules = 0 0860 RecallAndStoreRules = 0 0861 0862 def askIgnoreSslErrors(self, socket, storedRules = None): 0863 '''static bool KIO.SslUi.askIgnoreSslErrors(KTcpSocket socket, KIO.SslUi.RulesStorage storedRules = KIO.SslUi.RecallAndStoreRules)''' 0864 return bool() 0865 def askIgnoreSslErrors(self, uiData, storedRules = None): 0866 '''static bool KIO.SslUi.askIgnoreSslErrors(KSslErrorUiData uiData, KIO.SslUi.RulesStorage storedRules = KIO.SslUi.RecallAndStoreRules)''' 0867 return bool() 0868 class AccessManager(QNetworkAccessManager): 0869 """""" 0870 # Enum KIO.AccessManager.Attribute 0871 MetaData = 0 0872 KioError = 0 0873 0874 def __init__(self, parent): 0875 '''void KIO.AccessManager.__init__(QObject parent)''' 0876 def setEmitReadyReadOnMetaDataChange(self): 0877 '''bool KIO.AccessManager.setEmitReadyReadOnMetaDataChange()''' 0878 return bool() 0879 def putReplyOnHold(self, reply): 0880 '''static void KIO.AccessManager.putReplyOnHold(QNetworkReply reply)''' 0881 def window(self): 0882 '''QWidget KIO.AccessManager.window()''' 0883 return QWidget() 0884 def setWindow(self, widget): 0885 '''void KIO.AccessManager.setWindow(QWidget widget)''' 0886 def sessionMetaData(self): 0887 '''MetaData KIO.AccessManager.sessionMetaData()''' 0888 return MetaData() 0889 def requestMetaData(self): 0890 '''MetaData KIO.AccessManager.requestMetaData()''' 0891 return MetaData() 0892 def cookieJarWindowid(self): 0893 '''int KIO.AccessManager.cookieJarWindowid()''' 0894 return int() 0895 def setCookieJarWindowId(self, id): 0896 '''void KIO.AccessManager.setCookieJarWindowId(int id)''' 0897 def createRequest(self, op, req, outgoingData = None): 0898 '''QNetworkReply KIO.AccessManager.createRequest(QNetworkAccessManager.Operation op, QNetworkRequest req, QIODevice outgoingData = None)''' 0899 return QNetworkReply() 0900 def isExternalContentAllowed(self): 0901 '''bool KIO.AccessManager.isExternalContentAllowed()''' 0902 return bool() 0903 def setExternalContentAllowed(self, allowed): 0904 '''void KIO.AccessManager.setExternalContentAllowed(bool allowed)''' 0905 class DavJob(KIO.TransferJob): 0906 """""" 0907 def slotData(self, data): 0908 '''void KIO.DavJob.slotData(QByteArray data)''' 0909 def slotFinished(self): 0910 '''void KIO.DavJob.slotFinished()''' 0911 def response(self): 0912 '''QDomDocument KIO.DavJob.response()''' 0913 return QDomDocument() 0914 class TransferJob(KIO.SimpleJob): 0915 """""" 0916 def slotMetaData(self, _metaData): 0917 '''void KIO.TransferJob.slotMetaData(MetaData _metaData)''' 0918 def slotMimetype(self, mimetype): 0919 '''void KIO.TransferJob.slotMimetype(QString mimetype)''' 0920 def slotDataReq(self): 0921 '''void KIO.TransferJob.slotDataReq()''' 0922 def slotData(self, data): 0923 '''void KIO.TransferJob.slotData(QByteArray data)''' 0924 def slotFinished(self): 0925 '''void KIO.TransferJob.slotFinished()''' 0926 def slotRedirection(self, url): 0927 '''void KIO.TransferJob.slotRedirection(KUrl url)''' 0928 canResume = pyqtSignal() # void canResume(KIO::Job *,KIO::filesize_t) - signal 0929 permanentRedirection = pyqtSignal() # void permanentRedirection(KIO::Job *,const KUrlamp;,const KUrlamp;) - signal 0930 redirection = pyqtSignal() # void redirection(KIO::Job *,const KUrlamp;) - signal 0931 dataReq = pyqtSignal() # void dataReq(KIO::Job *,QByteArrayamp;) - signal 0932 data = pyqtSignal() # void data(KIO::Job *,const QByteArrayamp;) - signal 0933 def doResume(self): 0934 '''bool KIO.TransferJob.doResume()''' 0935 return bool() 0936 def slotResult(self, job): 0937 '''void KIO.TransferJob.slotResult(KJob job)''' 0938 def setTotalSize(self, bytes): 0939 '''void KIO.TransferJob.setTotalSize(int bytes)''' 0940 def mimetype(self): 0941 '''QString KIO.TransferJob.mimetype()''' 0942 return QString() 0943 mimetype = pyqtSignal() # void mimetype(KIO::Job *,const QStringamp;) - signal 0944 def reportDataSent(self): 0945 '''bool KIO.TransferJob.reportDataSent()''' 0946 return bool() 0947 def setReportDataSent(self, enabled): 0948 '''void KIO.TransferJob.setReportDataSent(bool enabled)''' 0949 def sendAsyncData(self, data): 0950 '''void KIO.TransferJob.sendAsyncData(QByteArray data)''' 0951 def setAsyncDataEnabled(self, enabled): 0952 '''void KIO.TransferJob.setAsyncDataEnabled(bool enabled)''' 0953 def isErrorPage(self): 0954 '''bool KIO.TransferJob.isErrorPage()''' 0955 return bool() 0956 def setModificationTime(self, mtime): 0957 '''void KIO.TransferJob.setModificationTime(QDateTime mtime)''' 0958 class FileUndoManager(): 0959 """""" 0960 class UiInterface(): 0961 """""" 0962 def __init__(self): 0963 '''void KIO.FileUndoManager.UiInterface.__init__()''' 0964 def __init__(self): 0965 '''KIO.FileUndoManager.UiInterface KIO.FileUndoManager.UiInterface.__init__()''' 0966 return KIO.FileUndoManager.UiInterface() 0967 def virtual_hook(self, id, data): 0968 '''void KIO.FileUndoManager.UiInterface.virtual_hook(int id, sip.voidptr data)''' 0969 def copiedFileWasModified(self, src, dest, srcTime, destTime): 0970 '''bool KIO.FileUndoManager.UiInterface.copiedFileWasModified(KUrl src, KUrl dest, KDateTime srcTime, KDateTime destTime)''' 0971 return bool() 0972 def confirmDeletion(self, files): 0973 '''bool KIO.FileUndoManager.UiInterface.confirmDeletion(KUrl.List files)''' 0974 return bool() 0975 def jobError(self, job): 0976 '''void KIO.FileUndoManager.UiInterface.jobError(KIO.Job job)''' 0977 def parentWidget(self): 0978 '''QWidget KIO.FileUndoManager.UiInterface.parentWidget()''' 0979 return QWidget() 0980 def setParentWidget(self, parentWidget): 0981 '''void KIO.FileUndoManager.UiInterface.setParentWidget(QWidget parentWidget)''' 0982 def showProgressInfo(self): 0983 '''bool KIO.FileUndoManager.UiInterface.showProgressInfo()''' 0984 return bool() 0985 def setShowProgressInfo(self, b): 0986 '''void KIO.FileUndoManager.UiInterface.setShowProgressInfo(bool b)''' 0987 class Integration(): 0988 """""" 0989 def sslConfigFromMetaData(self, metadata, sslconfig): 0990 '''static bool KIO.Integration.sslConfigFromMetaData(MetaData metadata, QSslConfiguration sslconfig)''' 0991 return bool() 0992 class JobUiDelegate(KDialogJobUiDelegate): 0993 """""" 0994 # Enum KIO.JobUiDelegate.ConfirmationType 0995 DefaultConfirmation = 0 0996 ForceConfirmation = 0 0997 0998 # Enum KIO.JobUiDelegate.DeletionType 0999 Delete = 0 1000 Trash = 0 1001 EmptyTrash = 0 1002 1003 def __init__(self): 1004 '''void KIO.JobUiDelegate.__init__()''' 1005 def askDeleteConfirmation(self, urls, deletionType, confirmationType): 1006 '''bool KIO.JobUiDelegate.askDeleteConfirmation(KUrl.List urls, KIO.JobUiDelegate.DeletionType deletionType, KIO.JobUiDelegate.ConfirmationType confirmationType)''' 1007 return bool() 1008 def askSkip(self, job, multi, error_text): 1009 '''KIO.SkipDialog_Result KIO.JobUiDelegate.askSkip(KJob job, bool multi, QString error_text)''' 1010 return KIO.SkipDialog_Result() 1011 def askFileRename(self, job, caption, src, dest, mode, newDest, sizeSrc = None, sizeDest = None, ctimeSrc = None, ctimeDest = None, mtimeSrc = None, mtimeDest = None): 1012 '''KIO.RenameDialog_Result KIO.JobUiDelegate.askFileRename(KJob job, QString caption, QString src, QString dest, KIO.RenameDialog_Mode mode, QString newDest, int sizeSrc = -1, int sizeDest = -1, int ctimeSrc = -1, int ctimeDest = -1, int mtimeSrc = -1, int mtimeDest = -1)''' 1013 return KIO.RenameDialog_Result() 1014 def setWindow(self, window): 1015 '''void KIO.JobUiDelegate.setWindow(QWidget window)''' 1016 class DirectorySizeJob(KIO.Job): 1017 """""" 1018 def slotResult(self, job): 1019 '''void KIO.DirectorySizeJob.slotResult(KJob job)''' 1020 def totalSubdirs(self): 1021 '''int KIO.DirectorySizeJob.totalSubdirs()''' 1022 return int() 1023 def totalFiles(self): 1024 '''int KIO.DirectorySizeJob.totalFiles()''' 1025 return int() 1026 def totalSize(self): 1027 '''int KIO.DirectorySizeJob.totalSize()''' 1028 return int() 1029 class PasswordDialog(KPasswordDialog): 1030 """""" 1031 def __init__(self, prompt, user, enableKeep = False, modal = True, parent = None): 1032 '''void KIO.PasswordDialog.__init__(QString prompt, QString user, bool enableKeep = False, bool modal = True, QWidget parent = None)''' 1033 def getNameAndPassword(self, user, pass_, keep, prompt = QString(), readOnly = False, caption = QString(), comment = QString(), label = QString()): 1034 '''static int KIO.PasswordDialog.getNameAndPassword(QString user, QString pass, bool keep, QString prompt = QString(), bool readOnly = False, QString caption = QString(), QString comment = QString(), QString label = QString())''' 1035 return int() 1036 class SlaveConfig(QObject): 1037 """""" 1038 def __init__(self): 1039 '''void KIO.SlaveConfig.__init__()''' 1040 configNeeded = pyqtSignal() # void configNeeded(const QStringamp;,const QStringamp;) - signal 1041 def reset(self): 1042 '''void KIO.SlaveConfig.reset()''' 1043 def configData(self, protocol, host): 1044 '''MetaData KIO.SlaveConfig.configData(QString protocol, QString host)''' 1045 return MetaData() 1046 def configData(self, protocol, host, key): 1047 '''QString KIO.SlaveConfig.configData(QString protocol, QString host, QString key)''' 1048 return QString() 1049 def setConfigData(self, protocol, host, key, value): 1050 '''void KIO.SlaveConfig.setConfigData(QString protocol, QString host, QString key, QString value)''' 1051 def setConfigData(self, protocol, host, config): 1052 '''void KIO.SlaveConfig.setConfigData(QString protocol, QString host, MetaData config)''' 1053 def self(self): 1054 '''static KIO.SlaveConfig KIO.SlaveConfig.self()''' 1055 return KIO.SlaveConfig() 1056 class SlaveInterface(QObject): 1057 """""" 1058 def setWindow(self, window): 1059 '''void KIO.SlaveInterface.setWindow(QWidget window)''' 1060 def window(self): 1061 '''QWidget KIO.SlaveInterface.window()''' 1062 return QWidget() 1063 def setConnection(self, connection): 1064 '''void KIO.SlaveInterface.setConnection(KIO.Connection connection)''' 1065 def calcSpeed(self): 1066 '''void KIO.SlaveInterface.calcSpeed()''' 1067 def dropNetwork(self): 1068 '''QString KIO.SlaveInterface.dropNetwork()''' 1069 return QString() 1070 def requestNetwork(self): 1071 '''QString KIO.SlaveInterface.requestNetwork()''' 1072 return QString() 1073 def messageBox(self, type, text, caption, buttonYes, buttonNo): 1074 '''void KIO.SlaveInterface.messageBox(int type, QString text, QString caption, QString buttonYes, QString buttonNo)''' 1075 def messageBox(self, type, text, caption, buttonYes, buttonNo, dontAskAgainName): 1076 '''void KIO.SlaveInterface.messageBox(int type, QString text, QString caption, QString buttonYes, QString buttonNo, QString dontAskAgainName)''' 1077 def dispatch(self): 1078 '''bool KIO.SlaveInterface.dispatch()''' 1079 return bool() 1080 def dispatch(self, _cmd, data): 1081 '''bool KIO.SlaveInterface.dispatch(int _cmd, QByteArray data)''' 1082 return bool() 1083 infoMessage = pyqtSignal() # void infoMessage(const QStringamp;) - signal 1084 warning = pyqtSignal() # void warning(const QStringamp;) - signal 1085 mimeType = pyqtSignal() # void mimeType(const QStringamp;) - signal 1086 errorPage = pyqtSignal() # void errorPage() - signal 1087 speed = pyqtSignal() # void speed(unsigned long) - signal 1088 position = pyqtSignal() # void position(KIO::filesize_t) - signal 1089 redirection = pyqtSignal() # void redirection(const KUrlamp;) - signal 1090 processedSize = pyqtSignal() # void processedSize(KIO::filesize_t) - signal 1091 totalSize = pyqtSignal() # void totalSize(KIO::filesize_t) - signal 1092 metaData = pyqtSignal() # void metaData(const KIO.MetaDataamp;) - signal 1093 written = pyqtSignal() # void written(KIO::filesize_t) - signal 1094 open = pyqtSignal() # void open() - signal 1095 canResume = pyqtSignal() # void canResume(KIO::filesize_t) - signal 1096 needSubUrlData = pyqtSignal() # void needSubUrlData() - signal 1097 statEntry = pyqtSignal() # void statEntry(const KIO::UDSEntryamp;) - signal 1098 listEntries = pyqtSignal() # void listEntries(const KIO::UDSEntryListamp;) - signal 1099 slaveStatus = pyqtSignal() # void slaveStatus(pid_t,const QByteArrayamp;,const QStringamp;,bool) - signal 1100 finished = pyqtSignal() # void finished() - signal 1101 connected = pyqtSignal() # void connected() - signal 1102 error = pyqtSignal() # void error(int,const QStringamp;) - signal 1103 dataReq = pyqtSignal() # void dataReq() - signal 1104 data = pyqtSignal() # void data(const QByteArrayamp;) - signal 1105 def offset(self): 1106 '''int KIO.SlaveInterface.offset()''' 1107 return int() 1108 def setOffset(self, offset): 1109 '''void KIO.SlaveInterface.setOffset(int offset)''' 1110 def sendResumeAnswer(self, resume): 1111 '''void KIO.SlaveInterface.sendResumeAnswer(bool resume)''' 1112 def connection(self): 1113 '''KIO.Connection KIO.SlaveInterface.connection()''' 1114 return KIO.Connection() 1115 class Scheduler(QObject): 1116 """""" 1117 def updateInternalMetaData(self, job): 1118 '''static void KIO.Scheduler.updateInternalMetaData(KIO.SimpleJob job)''' 1119 slaveOnHoldListChanged = pyqtSignal() # void slaveOnHoldListChanged() - signal 1120 def isSlaveOnHoldFor(self, url): 1121 '''static bool KIO.Scheduler.isSlaveOnHoldFor(KUrl url)''' 1122 return bool() 1123 def setJobPriority(self, job, priority): 1124 '''static void KIO.Scheduler.setJobPriority(KIO.SimpleJob job, int priority)''' 1125 reparseSlaveConfiguration = pyqtSignal() # void reparseSlaveConfiguration(const QStringamp;) - signal 1126 slaveError = pyqtSignal() # void slaveError(KIO::Slave *,int,const QStringamp;) - signal 1127 slaveConnected = pyqtSignal() # void slaveConnected(KIO::Slave *) - signal 1128 def emitReparseSlaveConfiguration(self): 1129 '''static void KIO.Scheduler.emitReparseSlaveConfiguration()''' 1130 def checkSlaveOnHold(self, b): 1131 '''static void KIO.Scheduler.checkSlaveOnHold(bool b)''' 1132 def disconnect(self, sender, signal, receiver, member): 1133 '''static bool KIO.Scheduler.disconnect(QObject sender, str signal, QObject receiver, str member)''' 1134 return bool() 1135 def connect(self, signal, receiver, member): 1136 '''static bool KIO.Scheduler.connect(str signal, QObject receiver, str member)''' 1137 return bool() 1138 def connect(self, sender, signal, receiver, member): 1139 '''static bool KIO.Scheduler.connect(QObject sender, str signal, QObject receiver, str member)''' 1140 return bool() 1141 def connect(self, sender, signal, member): 1142 '''bool KIO.Scheduler.connect(QObject sender, str signal, str member)''' 1143 return bool() 1144 def unregisterWindow(self, wid): 1145 '''static void KIO.Scheduler.unregisterWindow(QObject wid)''' 1146 def registerWindow(self, wid): 1147 '''static void KIO.Scheduler.registerWindow(QWidget wid)''' 1148 def disconnectSlave(self, slave): 1149 '''static bool KIO.Scheduler.disconnectSlave(KIO.Slave slave)''' 1150 return bool() 1151 def assignJobToSlave(self, slave, job): 1152 '''static bool KIO.Scheduler.assignJobToSlave(KIO.Slave slave, KIO.SimpleJob job)''' 1153 return bool() 1154 def getConnectedSlave(self, url, config = None): 1155 '''static KIO.Slave KIO.Scheduler.getConnectedSlave(KUrl url, MetaData config = KIO.MetaData())''' 1156 return KIO.Slave() 1157 def publishSlaveOnHold(self): 1158 '''static void KIO.Scheduler.publishSlaveOnHold()''' 1159 def removeSlaveOnHold(self): 1160 '''static void KIO.Scheduler.removeSlaveOnHold()''' 1161 def putSlaveOnHold(self, job, url): 1162 '''static void KIO.Scheduler.putSlaveOnHold(KIO.SimpleJob job, KUrl url)''' 1163 def jobFinished(self, job, slave): 1164 '''static void KIO.Scheduler.jobFinished(KIO.SimpleJob job, KIO.Slave slave)''' 1165 def cancelJob(self, job): 1166 '''static void KIO.Scheduler.cancelJob(KIO.SimpleJob job)''' 1167 def scheduleJob(self, job): 1168 '''static void KIO.Scheduler.scheduleJob(KIO.SimpleJob job)''' 1169 def doJob(self, job): 1170 '''static void KIO.Scheduler.doJob(KIO.SimpleJob job)''' 1171 class NetRC(): 1172 """""" 1173 class AutoLogin(): 1174 """""" 1175 login = None # QString - member 1176 macdef = None # dict-of-QString-QStringList - member 1177 machine = None # QString - member 1178 password = None # QString - member 1179 type = None # QString - member 1180 def __init__(self): 1181 '''void KIO.NetRC.AutoLogin.__init__()''' 1182 def __init__(self): 1183 '''KIO.NetRC.AutoLogin KIO.NetRC.AutoLogin.__init__()''' 1184 return KIO.NetRC.AutoLogin() 1185 class PreviewJob(KIO.Job): 1186 """""" 1187 # Enum KIO.PreviewJob.ScaleType 1188 Unscaled = 0 1189 Scaled = 0 1190 ScaledAndCached = 0 1191 1192 def __init__(self, items, width, height, iconSize, iconAlpha, scale, save, enabledPlugins): 1193 '''void KIO.PreviewJob.__init__(KFileItemList items, int width, int height, int iconSize, int iconAlpha, bool scale, bool save, QStringList enabledPlugins)''' 1194 def __init__(self, items, size, enabledPlugins = None): 1195 '''void KIO.PreviewJob.__init__(KFileItemList items, QSize size, QStringList enabledPlugins = None)''' 1196 def scaleType(self): 1197 '''KIO.PreviewJob.ScaleType KIO.PreviewJob.scaleType()''' 1198 return KIO.PreviewJob.ScaleType() 1199 def setScaleType(self, type): 1200 '''void KIO.PreviewJob.setScaleType(KIO.PreviewJob.ScaleType type)''' 1201 def overlayIconAlpha(self): 1202 '''int KIO.PreviewJob.overlayIconAlpha()''' 1203 return int() 1204 def setOverlayIconAlpha(self, alpha): 1205 '''void KIO.PreviewJob.setOverlayIconAlpha(int alpha)''' 1206 def overlayIconSize(self): 1207 '''int KIO.PreviewJob.overlayIconSize()''' 1208 return int() 1209 def setOverlayIconSize(self, size): 1210 '''void KIO.PreviewJob.setOverlayIconSize(int size)''' 1211 def slotResult(self, job): 1212 '''void KIO.PreviewJob.slotResult(KJob job)''' 1213 failed = pyqtSignal() # void failed(const KFileItemamp;) - signal 1214 gotPreview = pyqtSignal() # void gotPreview(const KFileItemamp;,const QPixmapamp;) - signal 1215 def maximumFileSize(self): 1216 '''static int KIO.PreviewJob.maximumFileSize()''' 1217 return int() 1218 def supportedMimeTypes(self): 1219 '''static QStringList KIO.PreviewJob.supportedMimeTypes()''' 1220 return QStringList() 1221 def availablePlugins(self): 1222 '''static QStringList KIO.PreviewJob.availablePlugins()''' 1223 return QStringList() 1224 def sequenceIndex(self): 1225 '''int KIO.PreviewJob.sequenceIndex()''' 1226 return int() 1227 def setSequenceIndex(self, index): 1228 '''void KIO.PreviewJob.setSequenceIndex(int index)''' 1229 def setIgnoreMaximumSize(self, ignoreSize = True): 1230 '''void KIO.PreviewJob.setIgnoreMaximumSize(bool ignoreSize = True)''' 1231 def removeItem(self, url): 1232 '''void KIO.PreviewJob.removeItem(KUrl url)''' 1233 class SimpleJob(KIO.Job): 1234 """""" 1235 def setRedirectionHandlingEnabled(self, handle): 1236 '''void KIO.SimpleJob.setRedirectionHandlingEnabled(bool handle)''' 1237 def isRedirectionHandlingEnabled(self): 1238 '''bool KIO.SimpleJob.isRedirectionHandlingEnabled()''' 1239 return bool() 1240 def storeSSLSessionFromJob(self, m_redirectionURL): 1241 '''void KIO.SimpleJob.storeSSLSessionFromJob(KUrl m_redirectionURL)''' 1242 def slotMetaData(self, _metaData): 1243 '''void KIO.SimpleJob.slotMetaData(MetaData _metaData)''' 1244 def slotWarning(self): 1245 '''QString KIO.SimpleJob.slotWarning()''' 1246 return QString() 1247 def slotFinished(self): 1248 '''void KIO.SimpleJob.slotFinished()''' 1249 def slotError(self): 1250 '''QString KIO.SimpleJob.slotError()''' 1251 return QString() 1252 def removeOnHold(self): 1253 '''static void KIO.SimpleJob.removeOnHold()''' 1254 def putOnHold(self): 1255 '''void KIO.SimpleJob.putOnHold()''' 1256 def url(self): 1257 '''KUrl KIO.SimpleJob.url()''' 1258 return KUrl() 1259 def doKill(self): 1260 '''bool KIO.SimpleJob.doKill()''' 1261 return bool() 1262 def doResume(self): 1263 '''bool KIO.SimpleJob.doResume()''' 1264 return bool() 1265 def doSuspend(self): 1266 '''bool KIO.SimpleJob.doSuspend()''' 1267 return bool() 1268 class RenameDialogPlugin(): 1269 """""" 1270 class FileItem(): 1271 """""" 1272 def __init__(self, url, mimeSrc, ctime, mtime): 1273 '''int KIO.RenameDialogPlugin.FileItem.__init__(KUrl url, QString mimeSrc, int ctime, int mtime)''' 1274 return int() 1275 def mTime(self): 1276 '''int KIO.RenameDialogPlugin.FileItem.mTime()''' 1277 return int() 1278 def cTime(self): 1279 '''int KIO.RenameDialogPlugin.FileItem.cTime()''' 1280 return int() 1281 def fileSize(self): 1282 '''int KIO.RenameDialogPlugin.FileItem.fileSize()''' 1283 return int() 1284 def mimeType(self): 1285 '''QString KIO.RenameDialogPlugin.FileItem.mimeType()''' 1286 return QString() 1287 def url(self): 1288 '''KUrl KIO.RenameDialogPlugin.FileItem.url()''' 1289 return KUrl() 1290 class TCPSlaveBase(KIO.SlaveBase): 1291 """""" 1292 # Enum KIO.TCPSlaveBase.SslResultDetail 1293 ResultOk = 0 1294 ResultOverridden = 0 1295 ResultFailed = 0 1296 ResultFailedEarly = 0 1297 1298 def __init__(self, protocol, poolSocket, appSocket, autoSsl = False): 1299 '''void KIO.TCPSlaveBase.__init__(QByteArray protocol, QByteArray poolSocket, QByteArray appSocket, bool autoSsl = False)''' 1300 def socket(self): 1301 '''QIODevice KIO.TCPSlaveBase.socket()''' 1302 return QIODevice() 1303 def setBlocking(self, b): 1304 '''void KIO.TCPSlaveBase.setBlocking(bool b)''' 1305 def waitForResponse(self, t): 1306 '''bool KIO.TCPSlaveBase.waitForResponse(int t)''' 1307 return bool() 1308 def isConnected(self): 1309 '''bool KIO.TCPSlaveBase.isConnected()''' 1310 return bool() 1311 def atEnd(self): 1312 '''bool KIO.TCPSlaveBase.atEnd()''' 1313 return bool() 1314 def disconnectFromHost(self): 1315 '''void KIO.TCPSlaveBase.disconnectFromHost()''' 1316 def startSsl(self): 1317 '''bool KIO.TCPSlaveBase.startSsl()''' 1318 return bool() 1319 def isUsingSsl(self): 1320 '''bool KIO.TCPSlaveBase.isUsingSsl()''' 1321 return bool() 1322 def isAutoSsl(self): 1323 '''bool KIO.TCPSlaveBase.isAutoSsl()''' 1324 return bool() 1325 def port(self): 1326 '''int KIO.TCPSlaveBase.port()''' 1327 return int() 1328 def connectToHost(self, protocol, host, port): 1329 '''bool KIO.TCPSlaveBase.connectToHost(QString protocol, QString host, int port)''' 1330 return bool() 1331 def connectToHost(self, host, port, errorString = None): 1332 '''int KIO.TCPSlaveBase.connectToHost(QString host, int port, QString errorString = None)''' 1333 return int() 1334 def readLine(self, data, len): 1335 '''int KIO.TCPSlaveBase.readLine(str data, int len)''' 1336 return int() 1337 def read(self, data, len): 1338 '''int KIO.TCPSlaveBase.read(str data, int len)''' 1339 return int() 1340 def write(self, data, len): 1341 '''int KIO.TCPSlaveBase.write(str data, int len)''' 1342 return int() 1343 class ListJob(KIO.SimpleJob): 1344 """""" 1345 def slotResult(self, job): 1346 '''void KIO.ListJob.slotResult(KJob job)''' 1347 def slotMetaData(self, _metaData): 1348 '''void KIO.ListJob.slotMetaData(MetaData _metaData)''' 1349 def slotFinished(self): 1350 '''void KIO.ListJob.slotFinished()''' 1351 permanentRedirection = pyqtSignal() # void permanentRedirection(KIO::Job *,const KUrlamp;,const KUrlamp;) - signal 1352 redirection = pyqtSignal() # void redirection(KIO::Job *,const KUrlamp;) - signal 1353 entries = pyqtSignal() # void entries(KIO::Job *,const KIO::UDSEntryListamp;) - signal 1354 def setUnrestricted(self, unrestricted): 1355 '''void KIO.ListJob.setUnrestricted(bool unrestricted)''' 1356 def redirectionUrl(self): 1357 '''KUrl KIO.ListJob.redirectionUrl()''' 1358 return KUrl() 1359 class RenameDialog(QDialog): 1360 """""" 1361 def __init__(self, parent, caption, src, dest, mode, sizeSrc = None, sizeDest = None, ctimeSrc = None, ctimeDest = None, mtimeSrc = None, mtimeDest = None): 1362 '''void KIO.RenameDialog.__init__(QWidget parent, QString caption, KUrl src, KUrl dest, KIO.RenameDialog_Mode mode, int sizeSrc = -1, int sizeDest = -1, int ctimeSrc = -1, int ctimeDest = -1, int mtimeSrc = -1, int mtimeDest = -1)''' 1363 def autoDestUrl(self): 1364 '''KUrl KIO.RenameDialog.autoDestUrl()''' 1365 return KUrl() 1366 def enableRenameButton(self): 1367 '''QString KIO.RenameDialog.enableRenameButton()''' 1368 return QString() 1369 def suggestNewNamePressed(self): 1370 '''void KIO.RenameDialog.suggestNewNamePressed()''' 1371 def resumeAllPressed(self): 1372 '''void KIO.RenameDialog.resumeAllPressed()''' 1373 def resumePressed(self): 1374 '''void KIO.RenameDialog.resumePressed()''' 1375 def overwriteAllPressed(self): 1376 '''void KIO.RenameDialog.overwriteAllPressed()''' 1377 def overwritePressed(self): 1378 '''void KIO.RenameDialog.overwritePressed()''' 1379 def autoSkipPressed(self): 1380 '''void KIO.RenameDialog.autoSkipPressed()''' 1381 def skipPressed(self): 1382 '''void KIO.RenameDialog.skipPressed()''' 1383 def renamePressed(self): 1384 '''void KIO.RenameDialog.renamePressed()''' 1385 def cancelPressed(self): 1386 '''void KIO.RenameDialog.cancelPressed()''' 1387 def suggestName(self, baseURL, oldName): 1388 '''static QString KIO.RenameDialog.suggestName(KUrl baseURL, QString oldName)''' 1389 return QString() 1390 def newDestUrl(self): 1391 '''KUrl KIO.RenameDialog.newDestUrl()''' 1392 return KUrl() 1393 class ConnectionServer(QObject): 1394 """""" 1395 def __init__(self, parent = None): 1396 '''void KIO.ConnectionServer.__init__(QObject parent = None)''' 1397 def setNextPendingConnection(self, conn): 1398 '''void KIO.ConnectionServer.setNextPendingConnection(KIO.Connection conn)''' 1399 newConnection = pyqtSignal() # void newConnection() - signal 1400 def nextPendingConnection(self): 1401 '''KIO.Connection KIO.ConnectionServer.nextPendingConnection()''' 1402 return KIO.Connection() 1403 def address(self): 1404 '''QString KIO.ConnectionServer.address()''' 1405 return QString() 1406 def close(self): 1407 '''void KIO.ConnectionServer.close()''' 1408 def isListening(self): 1409 '''bool KIO.ConnectionServer.isListening()''' 1410 return bool() 1411 def listenForRemote(self): 1412 '''void KIO.ConnectionServer.listenForRemote()''' 1413 class DeleteJob(KIO.Job): 1414 """""" 1415 def slotResult(self, job): 1416 '''void KIO.DeleteJob.slotResult(KJob job)''' 1417 deleting = pyqtSignal() # void deleting(KIO::Job *,const KUrlamp;) - signal 1418 processedDirs = pyqtSignal() # void processedDirs(KIO::Job *,unsigned long) - signal 1419 processedFiles = pyqtSignal() # void processedFiles(KIO::Job *,unsigned long) - signal 1420 totalDirs = pyqtSignal() # void totalDirs(KJob *,unsigned long) - signal 1421 totalFiles = pyqtSignal() # void totalFiles(KJob *,unsigned long) - signal 1422 def urls(self): 1423 '''KUrl.List KIO.DeleteJob.urls()''' 1424 return KUrl.List() 1425 class RenameDialogPlugin(QWidget): 1426 """""" 1427 def __init__(self, dialog): 1428 '''void KIO.RenameDialogPlugin.__init__(QDialog dialog)''' 1429 def handle(self, mode, srcFile, dstFile): 1430 '''abstract void KIO.RenameDialogPlugin.handle(KIO.RenameDialog_Mode mode, KIO.RenameDialogPlugin.FileItem srcFile, KIO.RenameDialogPlugin.FileItem dstFile)''' 1431 def wantToHandle(self, mode, srcFile, dstFile): 1432 '''abstract bool KIO.RenameDialogPlugin.wantToHandle(KIO.RenameDialog_Mode mode, KIO.RenameDialogPlugin.FileItem srcFile, KIO.RenameDialogPlugin.FileItem dstFile)''' 1433 return bool() 1434 class NetAccess(QObject): 1435 """""" 1436 # Enum KIO.NetAccess.StatSide 1437 SourceSide = 0 1438 DestinationSide = 0 1439 1440 leaveModality = pyqtSignal() # void leaveModality() - signal 1441 def lastError(self): 1442 '''static int KIO.NetAccess.lastError()''' 1443 return int() 1444 def lastErrorString(self): 1445 '''static QString KIO.NetAccess.lastErrorString()''' 1446 return QString() 1447 def mimetype(self, url, window): 1448 '''static QString KIO.NetAccess.mimetype(KUrl url, QWidget window)''' 1449 return QString() 1450 def synchronousRun(self, job, window, data = None, finalURL = None, metaData = None): 1451 '''static bool KIO.NetAccess.synchronousRun(KIO.Job job, QWidget window, QByteArray data = None, KUrl finalURL = None, dict-of-QString-QString metaData = None)''' 1452 return bool() 1453 def fish_execute(self, url, command, window): 1454 '''static QString KIO.NetAccess.fish_execute(KUrl url, QString command, QWidget window)''' 1455 return QString() 1456 def mkdir(self, url, window, permissions = None): 1457 '''static bool KIO.NetAccess.mkdir(KUrl url, QWidget window, int permissions = -1)''' 1458 return bool() 1459 def del_(self, url, window): 1460 '''static bool KIO.NetAccess.del_(KUrl url, QWidget window)''' 1461 return bool() 1462 def mostLocalUrl(self, url, window): 1463 '''static KUrl KIO.NetAccess.mostLocalUrl(KUrl url, QWidget window)''' 1464 return KUrl() 1465 def stat(self, url, entry, window): 1466 '''static bool KIO.NetAccess.stat(KUrl url, KIO.UDSEntry entry, QWidget window)''' 1467 return bool() 1468 def exists(self, url, source, window): 1469 '''static bool KIO.NetAccess.exists(KUrl url, bool source, QWidget window)''' 1470 return bool() 1471 def exists(self, url, statSide, window): 1472 '''static bool KIO.NetAccess.exists(KUrl url, KIO.NetAccess.StatSide statSide, QWidget window)''' 1473 return bool() 1474 def move(self, src, target, window = None): 1475 '''static bool KIO.NetAccess.move(KUrl src, KUrl target, QWidget window = None)''' 1476 return bool() 1477 def move(self, src, target, window = None): 1478 '''static bool KIO.NetAccess.move(KUrl.List src, KUrl target, QWidget window = None)''' 1479 return bool() 1480 def dircopy(self, src, target, window): 1481 '''static bool KIO.NetAccess.dircopy(KUrl src, KUrl target, QWidget window)''' 1482 return bool() 1483 def dircopy(self, src, target, window = None): 1484 '''static bool KIO.NetAccess.dircopy(KUrl.List src, KUrl target, QWidget window = None)''' 1485 return bool() 1486 def copy(self, src, target, window = None): 1487 '''static bool KIO.NetAccess.copy(KUrl src, KUrl target, QWidget window = None)''' 1488 return bool() 1489 def file_copy(self, src, target, window = None): 1490 '''static bool KIO.NetAccess.file_copy(KUrl src, KUrl target, QWidget window = None)''' 1491 return bool() 1492 def upload(self, src, target, window): 1493 '''static bool KIO.NetAccess.upload(QString src, KUrl target, QWidget window)''' 1494 return bool() 1495 def removeTempFile(self, name): 1496 '''static void KIO.NetAccess.removeTempFile(QString name)''' 1497 def download(self, src, target, window): 1498 '''static bool KIO.NetAccess.download(KUrl src, QString target, QWidget window)''' 1499 return bool() 1500 class SlaveBase(): 1501 """""" 1502 # Enum KIO.SlaveBase.VirtualFunctionId 1503 AppConnectionMade = 0 1504 1505 # Enum KIO.SlaveBase.MessageBoxType 1506 QuestionYesNo = 0 1507 WarningYesNo = 0 1508 WarningContinueCancel = 0 1509 WarningYesNoCancel = 0 1510 Information = 0 1511 SSLMessageBox = 0 1512 1513 def __init__(self, protocol, pool_socket, app_socket): 1514 '''void KIO.SlaveBase.__init__(QByteArray protocol, QByteArray pool_socket, QByteArray app_socket)''' 1515 def waitForHostInfo(self, info): 1516 '''int KIO.SlaveBase.waitForHostInfo(QHostInfo info)''' 1517 return int() 1518 def lookupHost(self, host): 1519 '''void KIO.SlaveBase.lookupHost(QString host)''' 1520 def setKillFlag(self): 1521 '''void KIO.SlaveBase.setKillFlag()''' 1522 def wasKilled(self): 1523 '''bool KIO.SlaveBase.wasKilled()''' 1524 return bool() 1525 def sendAndKeepMetaData(self): 1526 '''void KIO.SlaveBase.sendAndKeepMetaData()''' 1527 def sendMetaData(self): 1528 '''void KIO.SlaveBase.sendMetaData()''' 1529 def waitForAnswer(self, expected1, expected2, data, pCmd): 1530 '''int KIO.SlaveBase.waitForAnswer(int expected1, int expected2, QByteArray data, int pCmd)''' 1531 return int() 1532 def dropNetwork(self, host = QString()): 1533 '''void KIO.SlaveBase.dropNetwork(QString host = QString())''' 1534 def requestNetwork(self, host = QString()): 1535 '''bool KIO.SlaveBase.requestNetwork(QString host = QString())''' 1536 return bool() 1537 def cacheAuthentication(self, info): 1538 '''bool KIO.SlaveBase.cacheAuthentication(KIO.AuthInfo info)''' 1539 return bool() 1540 def checkCachedAuthentication(self, info): 1541 '''bool KIO.SlaveBase.checkCachedAuthentication(KIO.AuthInfo info)''' 1542 return bool() 1543 def openPasswordDialog(self, info, errorMsg = QString()): 1544 '''bool KIO.SlaveBase.openPasswordDialog(KIO.AuthInfo info, QString errorMsg = QString())''' 1545 return bool() 1546 def disconnectSlave(self): 1547 '''void KIO.SlaveBase.disconnectSlave()''' 1548 def connectSlave(self, path): 1549 '''void KIO.SlaveBase.connectSlave(QString path)''' 1550 def listEntry(self, _entry, ready): 1551 '''void KIO.SlaveBase.listEntry(KIO.UDSEntry _entry, bool ready)''' 1552 def readData(self, buffer): 1553 '''int KIO.SlaveBase.readData(QByteArray buffer)''' 1554 return int() 1555 def dispatchOpenCommand(self, command, data): 1556 '''void KIO.SlaveBase.dispatchOpenCommand(int command, QByteArray data)''' 1557 def dispatch(self, command, data): 1558 '''void KIO.SlaveBase.dispatch(int command, QByteArray data)''' 1559 def setTimeoutSpecialCommand(self, timeout, data = QByteArray()): 1560 '''void KIO.SlaveBase.setTimeoutSpecialCommand(int timeout, QByteArray data = QByteArray())''' 1561 def readTimeout(self): 1562 '''int KIO.SlaveBase.readTimeout()''' 1563 return int() 1564 def responseTimeout(self): 1565 '''int KIO.SlaveBase.responseTimeout()''' 1566 return int() 1567 def proxyConnectTimeout(self): 1568 '''int KIO.SlaveBase.proxyConnectTimeout()''' 1569 return int() 1570 def connectTimeout(self): 1571 '''int KIO.SlaveBase.connectTimeout()''' 1572 return int() 1573 def reparseConfiguration(self): 1574 '''void KIO.SlaveBase.reparseConfiguration()''' 1575 def slave_status(self): 1576 '''void KIO.SlaveBase.slave_status()''' 1577 def multiGet(self, data): 1578 '''void KIO.SlaveBase.multiGet(QByteArray data)''' 1579 def special(self, data): 1580 '''void KIO.SlaveBase.special(QByteArray data)''' 1581 def setLinkDest(self, url, target): 1582 '''void KIO.SlaveBase.setLinkDest(KUrl url, QString target)''' 1583 def del_(self, url, isfile): 1584 '''void KIO.SlaveBase.del_(KUrl url, bool isfile)''' 1585 def copy(self, src, dest, permissions, flags): 1586 '''void KIO.SlaveBase.copy(KUrl src, KUrl dest, int permissions, KIO.JobFlags flags)''' 1587 def setModificationTime(self, url, mtime): 1588 '''void KIO.SlaveBase.setModificationTime(KUrl url, QDateTime mtime)''' 1589 def chown(self, url, owner, group): 1590 '''void KIO.SlaveBase.chown(KUrl url, QString owner, QString group)''' 1591 def chmod(self, url, permissions): 1592 '''void KIO.SlaveBase.chmod(KUrl url, int permissions)''' 1593 def symlink(self, target, dest, flags): 1594 '''void KIO.SlaveBase.symlink(QString target, KUrl dest, KIO.JobFlags flags)''' 1595 def rename(self, src, dest, flags): 1596 '''void KIO.SlaveBase.rename(KUrl src, KUrl dest, KIO.JobFlags flags)''' 1597 def mkdir(self, url, permissions): 1598 '''void KIO.SlaveBase.mkdir(KUrl url, int permissions)''' 1599 def listDir(self, url): 1600 '''void KIO.SlaveBase.listDir(KUrl url)''' 1601 def mimetype(self, url): 1602 '''void KIO.SlaveBase.mimetype(KUrl url)''' 1603 def stat(self, url): 1604 '''void KIO.SlaveBase.stat(KUrl url)''' 1605 def put(self, url, permissions, flags): 1606 '''void KIO.SlaveBase.put(KUrl url, int permissions, KIO.JobFlags flags)''' 1607 def close(self): 1608 '''void KIO.SlaveBase.close()''' 1609 def seek(self, offset): 1610 '''void KIO.SlaveBase.seek(int offset)''' 1611 def write(self, data): 1612 '''void KIO.SlaveBase.write(QByteArray data)''' 1613 def read(self, size): 1614 '''void KIO.SlaveBase.read(int size)''' 1615 def open(self, url, mode): 1616 '''void KIO.SlaveBase.open(KUrl url, QIODevice.OpenMode mode)''' 1617 def get(self, url): 1618 '''void KIO.SlaveBase.get(KUrl url)''' 1619 def closeConnection(self): 1620 '''void KIO.SlaveBase.closeConnection()''' 1621 def openConnection(self): 1622 '''void KIO.SlaveBase.openConnection()''' 1623 def setSubUrl(self, url): 1624 '''void KIO.SlaveBase.setSubUrl(KUrl url)''' 1625 def setHost(self, host, port, user, pass_): 1626 '''void KIO.SlaveBase.setHost(QString host, int port, QString user, QString pass)''' 1627 def remoteEncoding(self): 1628 '''KRemoteEncoding KIO.SlaveBase.remoteEncoding()''' 1629 return KRemoteEncoding() 1630 def config(self): 1631 '''KConfigGroup KIO.SlaveBase.config()''' 1632 return KConfigGroup() 1633 def allMetaData(self): 1634 '''MetaData KIO.SlaveBase.allMetaData()''' 1635 return MetaData() 1636 def metaData(self, key): 1637 '''QString KIO.SlaveBase.metaData(QString key)''' 1638 return QString() 1639 def hasMetaData(self, key): 1640 '''bool KIO.SlaveBase.hasMetaData(QString key)''' 1641 return bool() 1642 def setMetaData(self, key, value): 1643 '''void KIO.SlaveBase.setMetaData(QString key, QString value)''' 1644 def messageBox(self, type, text, caption = QString(), buttonYes = i18nYes, buttonNo = i18nNo): 1645 '''int KIO.SlaveBase.messageBox(KIO.SlaveBase.MessageBoxType type, QString text, QString caption = QString(), QString buttonYes = i18nYes, QString buttonNo = i18nNo)''' 1646 return int() 1647 def messageBox(self, text, type, caption = QString(), buttonYes = i18nYes, buttonNo = i18nNo, dontAskAgainName = QString()): 1648 '''int KIO.SlaveBase.messageBox(QString text, KIO.SlaveBase.MessageBoxType type, QString caption = QString(), QString buttonYes = i18nYes, QString buttonNo = i18nNo, QString dontAskAgainName = QString())''' 1649 return int() 1650 def infoMessage(self, msg): 1651 '''void KIO.SlaveBase.infoMessage(QString msg)''' 1652 def warning(self, msg): 1653 '''void KIO.SlaveBase.warning(QString msg)''' 1654 def mimeType(self, _type): 1655 '''void KIO.SlaveBase.mimeType(QString _type)''' 1656 def errorPage(self): 1657 '''void KIO.SlaveBase.errorPage()''' 1658 def redirection(self, _url): 1659 '''void KIO.SlaveBase.redirection(KUrl _url)''' 1660 def speed(self, _bytes_per_second): 1661 '''void KIO.SlaveBase.speed(int _bytes_per_second)''' 1662 def processedPercent(self, percent): 1663 '''void KIO.SlaveBase.processedPercent(float percent)''' 1664 def written(self, _bytes): 1665 '''void KIO.SlaveBase.written(int _bytes)''' 1666 def position(self, _pos): 1667 '''void KIO.SlaveBase.position(int _pos)''' 1668 def processedSize(self, _bytes): 1669 '''void KIO.SlaveBase.processedSize(int _bytes)''' 1670 def totalSize(self, _bytes): 1671 '''void KIO.SlaveBase.totalSize(int _bytes)''' 1672 def canResume(self, offset): 1673 '''bool KIO.SlaveBase.canResume(int offset)''' 1674 return bool() 1675 def canResume(self): 1676 '''void KIO.SlaveBase.canResume()''' 1677 def listEntries(self, _entry): 1678 '''void KIO.SlaveBase.listEntries(list-of-KIO.UDSEntry _entry)''' 1679 def statEntry(self, _entry): 1680 '''void KIO.SlaveBase.statEntry(KIO.UDSEntry _entry)''' 1681 def slaveStatus(self, host, connected): 1682 '''void KIO.SlaveBase.slaveStatus(QString host, bool connected)''' 1683 def needSubUrlData(self): 1684 '''void KIO.SlaveBase.needSubUrlData()''' 1685 def finished(self): 1686 '''void KIO.SlaveBase.finished()''' 1687 def connected(self): 1688 '''void KIO.SlaveBase.connected()''' 1689 def error(self, _errid, _text): 1690 '''void KIO.SlaveBase.error(int _errid, QString _text)''' 1691 def opened(self): 1692 '''void KIO.SlaveBase.opened()''' 1693 def dataReq(self): 1694 '''void KIO.SlaveBase.dataReq()''' 1695 def data(self, data): 1696 '''void KIO.SlaveBase.data(QByteArray data)''' 1697 def dispatchLoop(self): 1698 '''void KIO.SlaveBase.dispatchLoop()''' 1699 def exit(self): 1700 '''void KIO.SlaveBase.exit()''' 1701 class Job(KCompositeJob): 1702 """""" 1703 def __init__(self): 1704 '''void KIO.Job.__init__()''' 1705 def removeSubjob(self, job): 1706 '''bool KIO.Job.removeSubjob(KJob job)''' 1707 return bool() 1708 def addSubjob(self, job): 1709 '''bool KIO.Job.addSubjob(KJob job)''' 1710 return bool() 1711 connected = pyqtSignal() # void connected(KIO::Job *) - signal 1712 canceled = pyqtSignal() # void canceled(KJob *) - signal 1713 def queryMetaData(self, key): 1714 '''QString KIO.Job.queryMetaData(QString key)''' 1715 return QString() 1716 def metaData(self): 1717 '''MetaData KIO.Job.metaData()''' 1718 return MetaData() 1719 def outgoingMetaData(self): 1720 '''MetaData KIO.Job.outgoingMetaData()''' 1721 return MetaData() 1722 def mergeMetaData(self, values): 1723 '''void KIO.Job.mergeMetaData(dict-of-QString-QString values)''' 1724 def addMetaData(self, key, value): 1725 '''void KIO.Job.addMetaData(QString key, QString value)''' 1726 def addMetaData(self, values): 1727 '''void KIO.Job.addMetaData(dict-of-QString-QString values)''' 1728 def setMetaData(self, metaData): 1729 '''void KIO.Job.setMetaData(MetaData metaData)''' 1730 def parentJob(self): 1731 '''KIO.Job KIO.Job.parentJob()''' 1732 return KIO.Job() 1733 def setParentJob(self, parentJob): 1734 '''void KIO.Job.setParentJob(KIO.Job parentJob)''' 1735 def isInteractive(self): 1736 '''bool KIO.Job.isInteractive()''' 1737 return bool() 1738 def showErrorDialog(self, parent = None): 1739 '''void KIO.Job.showErrorDialog(QWidget parent = None)''' 1740 def detailedErrorStrings(self, reqUrl = None, method = None): 1741 '''QStringList KIO.Job.detailedErrorStrings(KUrl reqUrl = None, int method = -1)''' 1742 return QStringList() 1743 def errorString(self): 1744 '''QString KIO.Job.errorString()''' 1745 return QString() 1746 def doResume(self): 1747 '''bool KIO.Job.doResume()''' 1748 return bool() 1749 def doSuspend(self): 1750 '''bool KIO.Job.doSuspend()''' 1751 return bool() 1752 def doKill(self): 1753 '''bool KIO.Job.doKill()''' 1754 return bool() 1755 def ui(self): 1756 '''KIO.JobUiDelegate KIO.Job.ui()''' 1757 return KIO.JobUiDelegate() 1758 def start(self): 1759 '''void KIO.Job.start()''' 1760 class MultiGetJob(KIO.TransferJob): 1761 """""" 1762 def slotMimetype(self, mimetype): 1763 '''void KIO.MultiGetJob.slotMimetype(QString mimetype)''' 1764 def slotData(self, data): 1765 '''void KIO.MultiGetJob.slotData(QByteArray data)''' 1766 def slotFinished(self): 1767 '''void KIO.MultiGetJob.slotFinished()''' 1768 def slotRedirection(self, url): 1769 '''void KIO.MultiGetJob.slotRedirection(KUrl url)''' 1770 result = pyqtSignal() # void result(long) - signal 1771 mimetype = pyqtSignal() # void mimetype(long,const QStringamp;) - signal 1772 data = pyqtSignal() # void data(long,const QByteArrayamp;) - signal 1773 def get(self, id, url, metaData): 1774 '''void KIO.MultiGetJob.get(int id, KUrl url, MetaData metaData)''' 1775 class CopyJob(KIO.Job): 1776 """""" 1777 # Enum KIO.CopyJob.CopyMode 1778 Copy = 0 1779 Move = 0 1780 Link = 0 1781 1782 def setAutoRename(self, autoRename): 1783 '''void KIO.CopyJob.setAutoRename(bool autoRename)''' 1784 def emitResult(self): 1785 '''void KIO.CopyJob.emitResult()''' 1786 def slotResult(self, job): 1787 '''void KIO.CopyJob.slotResult(KJob job)''' 1788 copyingLinkDone = pyqtSignal() # void copyingLinkDone(KIO::Job *,const KUrlamp;,const QStringamp;,const KUrlamp;) - signal 1789 copyingDone = pyqtSignal() # void copyingDone(KIO::Job *,const KUrlamp;,const KUrlamp;,time_t,bool,bool) - signal 1790 renamed = pyqtSignal() # void renamed(KIO::Job *,const KUrlamp;,const KUrlamp;) - signal 1791 creatingDir = pyqtSignal() # void creatingDir(KIO::Job *,const KUrlamp;) - signal 1792 moving = pyqtSignal() # void moving(KIO::Job *,const KUrlamp;,const KUrlamp;) - signal 1793 linking = pyqtSignal() # void linking(KIO::Job *,const QStringamp;,const KUrlamp;) - signal 1794 copying = pyqtSignal() # void copying(KIO::Job *,const KUrlamp;,const KUrlamp;) - signal 1795 processedDirs = pyqtSignal() # void processedDirs(KIO::Job *,unsigned long) - signal 1796 processedFiles = pyqtSignal() # void processedFiles(KIO::Job *,unsigned long) - signal 1797 aboutToCreate = pyqtSignal() # void aboutToCreate(KIO::Job *,const QListlt;KIO::CopyInfogt;amp;) - signal 1798 totalDirs = pyqtSignal() # void totalDirs(KJob *,unsigned long) - signal 1799 totalFiles = pyqtSignal() # void totalFiles(KJob *,unsigned long) - signal 1800 def doSuspend(self): 1801 '''bool KIO.CopyJob.doSuspend()''' 1802 return bool() 1803 def setWriteIntoExistingDirectories(self, overwriteAllDirs): 1804 '''void KIO.CopyJob.setWriteIntoExistingDirectories(bool overwriteAllDirs)''' 1805 def setAutoSkip(self, autoSkip): 1806 '''void KIO.CopyJob.setAutoSkip(bool autoSkip)''' 1807 def setDefaultPermissions(self, b): 1808 '''void KIO.CopyJob.setDefaultPermissions(bool b)''' 1809 def destUrl(self): 1810 '''KUrl KIO.CopyJob.destUrl()''' 1811 return KUrl() 1812 def srcUrls(self): 1813 '''KUrl.List KIO.CopyJob.srcUrls()''' 1814 return KUrl.List() 1815 def operationMode(self): 1816 '''KIO.CopyJob.CopyMode KIO.CopyJob.operationMode()''' 1817 return KIO.CopyJob.CopyMode() 1818 class FileUndoManager(QObject): 1819 """""" 1820 # Enum KIO.FileUndoManager.CommandType 1821 Copy = 0 1822 Move = 0 1823 Rename = 0 1824 Link = 0 1825 Mkdir = 0 1826 Trash = 0 1827 Put = 0 1828 1829 jobRecordingFinished = pyqtSignal() # void jobRecordingFinished(KIO::FileUndoManager::CommandType) - signal 1830 jobRecordingStarted = pyqtSignal() # void jobRecordingStarted(KIO::FileUndoManager::CommandType) - signal 1831 undoJobFinished = pyqtSignal() # void undoJobFinished() - signal 1832 undoTextChanged = pyqtSignal() # void undoTextChanged(const QStringamp;) - signal 1833 def undo(self): 1834 '''void KIO.FileUndoManager.undo()''' 1835 def currentCommandSerialNumber(self): 1836 '''int KIO.FileUndoManager.currentCommandSerialNumber()''' 1837 return int() 1838 def newCommandSerialNumber(self): 1839 '''int KIO.FileUndoManager.newCommandSerialNumber()''' 1840 return int() 1841 def undoText(self): 1842 '''QString KIO.FileUndoManager.undoText()''' 1843 return QString() 1844 def undoAvailable(self): 1845 '''bool KIO.FileUndoManager.undoAvailable()''' 1846 return bool() 1847 undoAvailable = pyqtSignal() # void undoAvailable(bool) - signal 1848 def recordCopyJob(self, copyJob): 1849 '''void KIO.FileUndoManager.recordCopyJob(KIO.CopyJob copyJob)''' 1850 def recordJob(self, op, src, dst, job): 1851 '''void KIO.FileUndoManager.recordJob(KIO.FileUndoManager.CommandType op, KUrl.List src, KUrl dst, KIO.Job job)''' 1852 def uiInterface(self): 1853 '''KIO.FileUndoManager.UiInterface KIO.FileUndoManager.uiInterface()''' 1854 return KIO.FileUndoManager.UiInterface() 1855 def setUiInterface(self, ui): 1856 '''void KIO.FileUndoManager.setUiInterface(KIO.FileUndoManager.UiInterface ui)''' 1857 def self(self): 1858 '''static KIO.FileUndoManager KIO.FileUndoManager.self()''' 1859 return KIO.FileUndoManager() 1860 class MetaInfoJob(KIO.Job): 1861 """""" 1862 def __init__(self, items, w = None, iocost = 3, cpucost = 6, requiredfields = QStringList(), requestedfields = QStringList()): 1863 '''void KIO.MetaInfoJob.__init__(KFileItemList items, KFileMetaInfo.WhatFlags w = KFileMetaInfo.Everything, int iocost = 3, int cpucost = 6, QStringList requiredfields = QStringList(), QStringList requestedfields = QStringList())''' 1864 def slotResult(self, job): 1865 '''void KIO.MetaInfoJob.slotResult(KJob job)''' 1866 def getMetaInfo(self): 1867 '''void KIO.MetaInfoJob.getMetaInfo()''' 1868 failed = pyqtSignal() # void failed(const KFileItemamp;) - signal 1869 gotMetaInfo = pyqtSignal() # void gotMetaInfo(const KFileItemamp;) - signal 1870 def removeItem(self, item): 1871 '''void KIO.MetaInfoJob.removeItem(KFileItem item)''' 1872 class SessionData(QObject): 1873 """""" 1874 def __init__(self): 1875 '''void KIO.SessionData.__init__()''' 1876 def reset(self): 1877 '''void KIO.SessionData.reset()''' 1878 def configDataFor(self, configData, proto, host): 1879 '''void KIO.SessionData.configDataFor(MetaData configData, QString proto, QString host)''' 1880 class FileCopyJob(KIO.Job): 1881 """""" 1882 def slotResult(self, job): 1883 '''void KIO.FileCopyJob.slotResult(KJob job)''' 1884 mimetype = pyqtSignal() # void mimetype(KIO::Job *,const QStringamp;) - signal 1885 def doResume(self): 1886 '''bool KIO.FileCopyJob.doResume()''' 1887 return bool() 1888 def doSuspend(self): 1889 '''bool KIO.FileCopyJob.doSuspend()''' 1890 return bool() 1891 def destUrl(self): 1892 '''KUrl KIO.FileCopyJob.destUrl()''' 1893 return KUrl() 1894 def srcUrl(self): 1895 '''KUrl KIO.FileCopyJob.srcUrl()''' 1896 return KUrl() 1897 def setModificationTime(self, mtime): 1898 '''void KIO.FileCopyJob.setModificationTime(QDateTime mtime)''' 1899 def setSourceSize(self, size): 1900 '''void KIO.FileCopyJob.setSourceSize(int size)''' 1901 class Slave(KIO.SlaveInterface): 1902 """""" 1903 def __init__(self, protocol, parent = None): 1904 '''void KIO.Slave.__init__(QString protocol, QObject parent = None)''' 1905 def checkForHeldSlave(self, url): 1906 '''static bool KIO.Slave.checkForHeldSlave(KUrl url)''' 1907 return bool() 1908 def job(self): 1909 '''KIO.SimpleJob KIO.Slave.job()''' 1910 return KIO.SimpleJob() 1911 def setJob(self, job): 1912 '''void KIO.Slave.setJob(KIO.SimpleJob job)''' 1913 slaveDied = pyqtSignal() # void slaveDied(KIO::Slave *) - signal 1914 def timeout(self): 1915 '''void KIO.Slave.timeout()''' 1916 def gotInput(self): 1917 '''void KIO.Slave.gotInput()''' 1918 def accept(self): 1919 '''void KIO.Slave.accept()''' 1920 def deref(self): 1921 '''void KIO.Slave.deref()''' 1922 def ref(self): 1923 '''void KIO.Slave.ref()''' 1924 def setConnected(self, c): 1925 '''void KIO.Slave.setConnected(bool c)''' 1926 def isConnected(self): 1927 '''bool KIO.Slave.isConnected()''' 1928 return bool() 1929 def setIdle(self): 1930 '''void KIO.Slave.setIdle()''' 1931 def idleTime(self): 1932 '''int KIO.Slave.idleTime()''' 1933 return int() 1934 def hold(self, url): 1935 '''void KIO.Slave.hold(KUrl url)''' 1936 def send(self, cmd, arr = QByteArray()): 1937 '''void KIO.Slave.send(int cmd, QByteArray arr = QByteArray())''' 1938 def suspended(self): 1939 '''bool KIO.Slave.suspended()''' 1940 return bool() 1941 def resume(self): 1942 '''void KIO.Slave.resume()''' 1943 def suspend(self): 1944 '''void KIO.Slave.suspend()''' 1945 def holdSlave(self, protocol, url): 1946 '''static KIO.Slave KIO.Slave.holdSlave(QString protocol, KUrl url)''' 1947 return KIO.Slave() 1948 def createSlave(self, protocol, url, error, error_text): 1949 '''static KIO.Slave KIO.Slave.createSlave(QString protocol, KUrl url, int error, QString error_text)''' 1950 return KIO.Slave() 1951 def passwd(self): 1952 '''QString KIO.Slave.passwd()''' 1953 return QString() 1954 def user(self): 1955 '''QString KIO.Slave.user()''' 1956 return QString() 1957 def port(self): 1958 '''int KIO.Slave.port()''' 1959 return int() 1960 def host(self): 1961 '''QString KIO.Slave.host()''' 1962 return QString() 1963 def slaveProtocol(self): 1964 '''QString KIO.Slave.slaveProtocol()''' 1965 return QString() 1966 def setProtocol(self, protocol): 1967 '''void KIO.Slave.setProtocol(QString protocol)''' 1968 def protocol(self): 1969 '''QString KIO.Slave.protocol()''' 1970 return QString() 1971 def setConfig(self, config): 1972 '''void KIO.Slave.setConfig(MetaData config)''' 1973 def resetHost(self): 1974 '''void KIO.Slave.resetHost()''' 1975 def setHost(self, host, port, user, passwd): 1976 '''void KIO.Slave.setHost(QString host, int port, QString user, QString passwd)''' 1977 def isAlive(self): 1978 '''bool KIO.Slave.isAlive()''' 1979 return bool() 1980 def kill(self): 1981 '''void KIO.Slave.kill()''' 1982 def slave_pid(self): 1983 '''int KIO.Slave.slave_pid()''' 1984 return int() 1985 def setPID(self): 1986 '''int KIO.Slave.setPID()''' 1987 return int() 1988 class JobFlags(): 1989 """""" 1990 def __init__(self): 1991 '''KIO.JobFlags KIO.JobFlags.__init__()''' 1992 return KIO.JobFlags() 1993 def __init__(self): 1994 '''int KIO.JobFlags.__init__()''' 1995 return int() 1996 def __init__(self): 1997 '''void KIO.JobFlags.__init__()''' 1998 def __bool__(self): 1999 '''int KIO.JobFlags.__bool__()''' 2000 return int() 2001 def __ne__(self, f): 2002 '''bool KIO.JobFlags.__ne__(KIO.JobFlags f)''' 2003 return bool() 2004 def __eq__(self, f): 2005 '''bool KIO.JobFlags.__eq__(KIO.JobFlags f)''' 2006 return bool() 2007 def __invert__(self): 2008 '''KIO.JobFlags KIO.JobFlags.__invert__()''' 2009 return KIO.JobFlags() 2010 def __and__(self, mask): 2011 '''KIO.JobFlags KIO.JobFlags.__and__(int mask)''' 2012 return KIO.JobFlags() 2013 def __xor__(self, f): 2014 '''KIO.JobFlags KIO.JobFlags.__xor__(KIO.JobFlags f)''' 2015 return KIO.JobFlags() 2016 def __xor__(self, f): 2017 '''KIO.JobFlags KIO.JobFlags.__xor__(int f)''' 2018 return KIO.JobFlags() 2019 def __or__(self, f): 2020 '''KIO.JobFlags KIO.JobFlags.__or__(KIO.JobFlags f)''' 2021 return KIO.JobFlags() 2022 def __or__(self, f): 2023 '''KIO.JobFlags KIO.JobFlags.__or__(int f)''' 2024 return KIO.JobFlags() 2025 def __int__(self): 2026 '''int KIO.JobFlags.__int__()''' 2027 return int() 2028 def __ixor__(self, f): 2029 '''KIO.JobFlags KIO.JobFlags.__ixor__(KIO.JobFlags f)''' 2030 return KIO.JobFlags() 2031 def __ior__(self, f): 2032 '''KIO.JobFlags KIO.JobFlags.__ior__(KIO.JobFlags f)''' 2033 return KIO.JobFlags() 2034 def __iand__(self, mask): 2035 '''KIO.JobFlags KIO.JobFlags.__iand__(int mask)''' 2036 return KIO.JobFlags() 2037 2038 2039 class KAbstractFileItemActionPlugin(QObject): 2040 """""" 2041 def __init__(self, parent): 2042 '''void KAbstractFileItemActionPlugin.__init__(QObject parent)''' 2043 def actions(self, fileItemInfos, parentWidget): 2044 '''abstract list-of-QAction KAbstractFileItemActionPlugin.actions(KFileItemListProperties fileItemInfos, QWidget parentWidget)''' 2045 return [QAction()] 2046 2047 2048 class KAbstractFileModule(QObject): 2049 """""" 2050 def __init__(self, parent): 2051 '''void KAbstractFileModule.__init__(QObject parent)''' 2052 def selectDirectory(self, startDir, localOnly, parent, caption): 2053 '''abstract KUrl KAbstractFileModule.selectDirectory(KUrl startDir, bool localOnly, QWidget parent, QString caption)''' 2054 return KUrl() 2055 def setStartDir(self, directory): 2056 '''abstract void KAbstractFileModule.setStartDir(KUrl directory)''' 2057 def getStartUrl(self, startDir, recentDirClass): 2058 '''abstract KUrl KAbstractFileModule.getStartUrl(KUrl startDir, QString recentDirClass)''' 2059 return KUrl() 2060 def createFileWidget(self, startDir, parent): 2061 '''abstract QWidget KAbstractFileModule.createFileWidget(KUrl startDir, QWidget parent)''' 2062 return QWidget() 2063 2064 2065 class KAbstractFileWidget(): 2066 """""" 2067 # Enum KAbstractFileWidget.OperationMode 2068 Other = 0 2069 Opening = 0 2070 Saving = 0 2071 2072 def __init__(self): 2073 '''void KAbstractFileWidget.__init__()''' 2074 def __init__(self): 2075 '''KAbstractFileWidget KAbstractFileWidget.__init__()''' 2076 return KAbstractFileWidget() 2077 def setInlinePreviewShown(self, show): 2078 '''void KAbstractFileWidget.setInlinePreviewShown(bool show)''' 2079 def setConfirmOverwrite(self, enable): 2080 '''void KAbstractFileWidget.setConfirmOverwrite(bool enable)''' 2081 def virtual_hook(self, id, data): 2082 '''abstract void KAbstractFileWidget.virtual_hook(int id, sip.voidptr data)''' 2083 def slotCancel(self): 2084 '''abstract void KAbstractFileWidget.slotCancel()''' 2085 def accept(self): 2086 '''abstract void KAbstractFileWidget.accept()''' 2087 def slotOk(self): 2088 '''abstract void KAbstractFileWidget.slotOk()''' 2089 def setCustomWidget(self, widget): 2090 '''abstract void KAbstractFileWidget.setCustomWidget(QWidget widget)''' 2091 def setCustomWidget(self, text, widget): 2092 '''abstract void KAbstractFileWidget.setCustomWidget(QString text, QWidget widget)''' 2093 def actionCollection(self): 2094 '''abstract KActionCollection KAbstractFileWidget.actionCollection()''' 2095 return KActionCollection() 2096 def filterWidget(self): 2097 '''abstract KFileFilterCombo KAbstractFileWidget.filterWidget()''' 2098 return KFileFilterCombo() 2099 def locationEdit(self): 2100 '''abstract KUrlComboBox KAbstractFileWidget.locationEdit()''' 2101 return KUrlComboBox() 2102 def cancelButton(self): 2103 '''abstract KPushButton KAbstractFileWidget.cancelButton()''' 2104 return KPushButton() 2105 def okButton(self): 2106 '''abstract KPushButton KAbstractFileWidget.okButton()''' 2107 return KPushButton() 2108 def toolBar(self): 2109 '''abstract KToolBar KAbstractFileWidget.toolBar()''' 2110 return KToolBar() 2111 def setLocationLabel(self, text): 2112 '''abstract void KAbstractFileWidget.setLocationLabel(QString text)''' 2113 def mode(self): 2114 '''abstract KFile.Modes KAbstractFileWidget.mode()''' 2115 return KFile.Modes() 2116 def setMode(self, m): 2117 '''abstract void KAbstractFileWidget.setMode(KFile.Modes m)''' 2118 def setPreviewWidget(self, w): 2119 '''abstract void KAbstractFileWidget.setPreviewWidget(KPreviewWidgetBase w)''' 2120 def clearFilter(self): 2121 '''abstract void KAbstractFileWidget.clearFilter()''' 2122 def currentMimeFilter(self): 2123 '''abstract QString KAbstractFileWidget.currentMimeFilter()''' 2124 return QString() 2125 def setMimeFilter(self, types, defaultType = QString()): 2126 '''abstract void KAbstractFileWidget.setMimeFilter(QStringList types, QString defaultType = QString())''' 2127 def currentFilterMimeType(self): 2128 '''abstract unknown-type KAbstractFileWidget.currentFilterMimeType()''' 2129 return unknown-type() 2130 def currentFilter(self): 2131 '''abstract QString KAbstractFileWidget.currentFilter()''' 2132 return QString() 2133 def setFilter(self, filter): 2134 '''abstract void KAbstractFileWidget.setFilter(QString filter)''' 2135 def keepsLocation(self): 2136 '''abstract bool KAbstractFileWidget.keepsLocation()''' 2137 return bool() 2138 def setKeepLocation(self, keep): 2139 '''abstract void KAbstractFileWidget.setKeepLocation(bool keep)''' 2140 def operationMode(self): 2141 '''abstract KAbstractFileWidget.OperationMode KAbstractFileWidget.operationMode()''' 2142 return KAbstractFileWidget.OperationMode() 2143 def setOperationMode(self): 2144 '''abstract KAbstractFileWidget.OperationMode KAbstractFileWidget.setOperationMode()''' 2145 return KAbstractFileWidget.OperationMode() 2146 def setSelection(self, name): 2147 '''abstract void KAbstractFileWidget.setSelection(QString name)''' 2148 def setUrl(self, url, clearforward = True): 2149 '''abstract void KAbstractFileWidget.setUrl(KUrl url, bool clearforward = True)''' 2150 def selectedFiles(self): 2151 '''abstract QStringList KAbstractFileWidget.selectedFiles()''' 2152 return QStringList() 2153 def selectedFile(self): 2154 '''abstract QString KAbstractFileWidget.selectedFile()''' 2155 return QString() 2156 def baseUrl(self): 2157 '''abstract KUrl KAbstractFileWidget.baseUrl()''' 2158 return KUrl() 2159 def selectedUrls(self): 2160 '''abstract KUrl.List KAbstractFileWidget.selectedUrls()''' 2161 return KUrl.List() 2162 def selectedUrl(self): 2163 '''abstract KUrl KAbstractFileWidget.selectedUrl()''' 2164 return KUrl() 2165 2166 2167 class KACL(): 2168 """""" 2169 def __init__(self, aclString): 2170 '''void KACL.__init__(QString aclString)''' 2171 def __init__(self, rhs): 2172 '''void KACL.__init__(KACL rhs)''' 2173 def __init__(self, basicPermissions): 2174 '''void KACL.__init__(int basicPermissions)''' 2175 def __init__(self): 2176 '''void KACL.__init__()''' 2177 def asString(self): 2178 '''QString KACL.asString()''' 2179 return QString() 2180 def setACL(self, aclStr): 2181 '''bool KACL.setACL(QString aclStr)''' 2182 return bool() 2183 def setAllGroupPermissions(self): 2184 '''ACLUserPermissionsList KACL.setAllGroupPermissions()''' 2185 return ACLUserPermissionsList() 2186 def allGroupPermissions(self): 2187 '''ACLUserPermissionsList KACL.allGroupPermissions()''' 2188 return ACLUserPermissionsList() 2189 def setNamedGroupPermissions(self, name): 2190 '''int KACL.setNamedGroupPermissions(QString name)''' 2191 return int() 2192 def namedGroupPermissions(self, name, exists): 2193 '''int KACL.namedGroupPermissions(QString name, bool exists)''' 2194 return int() 2195 def setAllUserPermissions(self, list): 2196 '''bool KACL.setAllUserPermissions(ACLUserPermissionsList list)''' 2197 return bool() 2198 def allUserPermissions(self): 2199 '''ACLUserPermissionsList KACL.allUserPermissions()''' 2200 return ACLUserPermissionsList() 2201 def setNamedUserPermissions(self, name): 2202 '''int KACL.setNamedUserPermissions(QString name)''' 2203 return int() 2204 def namedUserPermissions(self, name, exists): 2205 '''int KACL.namedUserPermissions(QString name, bool exists)''' 2206 return int() 2207 def setMaskPermissions(self): 2208 '''int KACL.setMaskPermissions()''' 2209 return int() 2210 def maskPermissions(self, exists): 2211 '''int KACL.maskPermissions(bool exists)''' 2212 return int() 2213 def isExtended(self): 2214 '''bool KACL.isExtended()''' 2215 return bool() 2216 def basePermissions(self): 2217 '''int KACL.basePermissions()''' 2218 return int() 2219 def setOthersPermissions(self): 2220 '''int KACL.setOthersPermissions()''' 2221 return int() 2222 def othersPermissions(self): 2223 '''int KACL.othersPermissions()''' 2224 return int() 2225 def setOwningGroupPermissions(self): 2226 '''int KACL.setOwningGroupPermissions()''' 2227 return int() 2228 def owningGroupPermissions(self): 2229 '''int KACL.owningGroupPermissions()''' 2230 return int() 2231 def setOwnerPermissions(self): 2232 '''int KACL.setOwnerPermissions()''' 2233 return int() 2234 def ownerPermissions(self): 2235 '''int KACL.ownerPermissions()''' 2236 return int() 2237 def isValid(self): 2238 '''bool KACL.isValid()''' 2239 return bool() 2240 def __ne__(self, rhs): 2241 '''bool KACL.__ne__(KACL rhs)''' 2242 return bool() 2243 def __eq__(self, rhs): 2244 '''bool KACL.__eq__(KACL rhs)''' 2245 return bool() 2246 2247 2248 class KArchive(): 2249 """""" 2250 UnknownTime = None # int - member 2251 def __init__(self, fileName): 2252 '''void KArchive.__init__(QString fileName)''' 2253 def __init__(self, dev): 2254 '''void KArchive.__init__(QIODevice dev)''' 2255 def setRootDir(self, rootDir): 2256 '''void KArchive.setRootDir(KArchiveDirectory rootDir)''' 2257 def setDevice(self, dev): 2258 '''void KArchive.setDevice(QIODevice dev)''' 2259 def createDevice(self, mode): 2260 '''bool KArchive.createDevice(QIODevice.OpenMode mode)''' 2261 return bool() 2262 def findOrCreate(self, path): 2263 '''KArchiveDirectory KArchive.findOrCreate(QString path)''' 2264 return KArchiveDirectory() 2265 def doFinishWriting(self, size): 2266 '''abstract bool KArchive.doFinishWriting(int size)''' 2267 return bool() 2268 def doPrepareWriting(self, name, user, group, size, perm, atime, mtime, ctime): 2269 '''abstract bool KArchive.doPrepareWriting(QString name, QString user, QString group, int size, int perm, int atime, int mtime, int ctime)''' 2270 return bool() 2271 def doWriteSymLink(self, name, target, user, group, perm, atime, mtime, ctime): 2272 '''abstract bool KArchive.doWriteSymLink(QString name, QString target, QString user, QString group, int perm, int atime, int mtime, int ctime)''' 2273 return bool() 2274 def doWriteDir(self, name, user, group, perm, atime, mtime, ctime): 2275 '''abstract bool KArchive.doWriteDir(QString name, QString user, QString group, int perm, int atime, int mtime, int ctime)''' 2276 return bool() 2277 def rootDir(self): 2278 '''KArchiveDirectory KArchive.rootDir()''' 2279 return KArchiveDirectory() 2280 def closeArchive(self): 2281 '''abstract bool KArchive.closeArchive()''' 2282 return bool() 2283 def openArchive(self, mode): 2284 '''abstract bool KArchive.openArchive(QIODevice.OpenMode mode)''' 2285 return bool() 2286 def finishWriting(self, size): 2287 '''bool KArchive.finishWriting(int size)''' 2288 return bool() 2289 def writeData(self, data, size): 2290 '''bool KArchive.writeData(str data, int size)''' 2291 return bool() 2292 def prepareWriting(self, name, user, group, size, perm = 33188, atime = None, mtime = None, ctime = None): 2293 '''bool KArchive.prepareWriting(QString name, QString user, QString group, int size, int perm = 33188, int atime = KArchive.UnknownTime, int mtime = KArchive.UnknownTime, int ctime = KArchive.UnknownTime)''' 2294 return bool() 2295 def writeFile(self, name, user, group, data, size, perm = 33188, atime = None, mtime = None, ctime = None): 2296 '''bool KArchive.writeFile(QString name, QString user, QString group, str data, int size, int perm = 33188, int atime = KArchive.UnknownTime, int mtime = KArchive.UnknownTime, int ctime = KArchive.UnknownTime)''' 2297 return bool() 2298 def writeSymLink(self, name, target, user, group, perm = 41453, atime = None, mtime = None, ctime = None): 2299 '''bool KArchive.writeSymLink(QString name, QString target, QString user, QString group, int perm = 41453, int atime = KArchive.UnknownTime, int mtime = KArchive.UnknownTime, int ctime = KArchive.UnknownTime)''' 2300 return bool() 2301 def writeDir(self, name, user, group, perm = 16877, atime = None, mtime = None, ctime = None): 2302 '''bool KArchive.writeDir(QString name, QString user, QString group, int perm = 16877, int atime = KArchive.UnknownTime, int mtime = KArchive.UnknownTime, int ctime = KArchive.UnknownTime)''' 2303 return bool() 2304 def addLocalDirectory(self, path, destName): 2305 '''bool KArchive.addLocalDirectory(QString path, QString destName)''' 2306 return bool() 2307 def addLocalFile(self, fileName, destName): 2308 '''bool KArchive.addLocalFile(QString fileName, QString destName)''' 2309 return bool() 2310 def directory(self): 2311 '''KArchiveDirectory KArchive.directory()''' 2312 return KArchiveDirectory() 2313 def fileName(self): 2314 '''QString KArchive.fileName()''' 2315 return QString() 2316 def device(self): 2317 '''QIODevice KArchive.device()''' 2318 return QIODevice() 2319 def mode(self): 2320 '''QIODevice.OpenMode KArchive.mode()''' 2321 return QIODevice.OpenMode() 2322 def isOpen(self): 2323 '''bool KArchive.isOpen()''' 2324 return bool() 2325 def close(self): 2326 '''bool KArchive.close()''' 2327 return bool() 2328 def open(self, mode): 2329 '''bool KArchive.open(QIODevice.OpenMode mode)''' 2330 return bool() 2331 2332 2333 class KAr(KArchive): 2334 """""" 2335 def __init__(self, filename): 2336 '''void KAr.__init__(QString filename)''' 2337 def __init__(self, dev): 2338 '''void KAr.__init__(QIODevice dev)''' 2339 def closeArchive(self): 2340 '''bool KAr.closeArchive()''' 2341 return bool() 2342 def openArchive(self, mode): 2343 '''bool KAr.openArchive(QIODevice.OpenMode mode)''' 2344 return bool() 2345 def doWriteSymLink(self, name, target, user, group, perm, atime, mtime, ctime): 2346 '''bool KAr.doWriteSymLink(QString name, QString target, QString user, QString group, int perm, int atime, int mtime, int ctime)''' 2347 return bool() 2348 def doWriteDir(self, name, user, group, perm, atime, mtime, ctime): 2349 '''bool KAr.doWriteDir(QString name, QString user, QString group, int perm, int atime, int mtime, int ctime)''' 2350 return bool() 2351 def doFinishWriting(self, size): 2352 '''bool KAr.doFinishWriting(int size)''' 2353 return bool() 2354 def doPrepareWriting(self, name, user, group, size, perm, atime, mtime, ctime): 2355 '''bool KAr.doPrepareWriting(QString name, QString user, QString group, int size, int perm, int atime, int mtime, int ctime)''' 2356 return bool() 2357 2358 2359 class KArchiveEntry(): 2360 """""" 2361 def __init__(self, archive, name, access, date, user, group, symlink): 2362 '''void KArchiveEntry.__init__(KArchive archive, QString name, int access, int date, QString user, QString group, QString symlink)''' 2363 def archive(self): 2364 '''KArchive KArchiveEntry.archive()''' 2365 return KArchive() 2366 def isDirectory(self): 2367 '''bool KArchiveEntry.isDirectory()''' 2368 return bool() 2369 def isFile(self): 2370 '''bool KArchiveEntry.isFile()''' 2371 return bool() 2372 def symLinkTarget(self): 2373 '''QString KArchiveEntry.symLinkTarget()''' 2374 return QString() 2375 def group(self): 2376 '''QString KArchiveEntry.group()''' 2377 return QString() 2378 def user(self): 2379 '''QString KArchiveEntry.user()''' 2380 return QString() 2381 def permissions(self): 2382 '''int KArchiveEntry.permissions()''' 2383 return int() 2384 def name(self): 2385 '''QString KArchiveEntry.name()''' 2386 return QString() 2387 def date(self): 2388 '''int KArchiveEntry.date()''' 2389 return int() 2390 def datetime(self): 2391 '''QDateTime KArchiveEntry.datetime()''' 2392 return QDateTime() 2393 2394 2395 class KArchiveFile(KArchiveEntry): 2396 """""" 2397 def __init__(self, archive, name, access, date, user, group, symlink, pos, size): 2398 '''void KArchiveFile.__init__(KArchive archive, QString name, int access, int date, QString user, QString group, QString symlink, int pos, int size)''' 2399 def copyTo(self, dest): 2400 '''void KArchiveFile.copyTo(QString dest)''' 2401 def isFile(self): 2402 '''bool KArchiveFile.isFile()''' 2403 return bool() 2404 def createDevice(self): 2405 '''QIODevice KArchiveFile.createDevice()''' 2406 return QIODevice() 2407 def data(self): 2408 '''QByteArray KArchiveFile.data()''' 2409 return QByteArray() 2410 def setSize(self, s): 2411 '''void KArchiveFile.setSize(int s)''' 2412 def size(self): 2413 '''int KArchiveFile.size()''' 2414 return int() 2415 def position(self): 2416 '''int KArchiveFile.position()''' 2417 return int() 2418 2419 2420 class KArchiveDirectory(KArchiveEntry): 2421 """""" 2422 def __init__(self, archive, name, access, date, user, group, symlink): 2423 '''void KArchiveDirectory.__init__(KArchive archive, QString name, int access, int date, QString user, QString group, QString symlink)''' 2424 def copyTo(self, dest, recursive = True): 2425 '''void KArchiveDirectory.copyTo(QString dest, bool recursive = True)''' 2426 def isDirectory(self): 2427 '''bool KArchiveDirectory.isDirectory()''' 2428 return bool() 2429 def addEntry(self): 2430 '''KArchiveEntry KArchiveDirectory.addEntry()''' 2431 return KArchiveEntry() 2432 def entry(self, name): 2433 '''KArchiveEntry KArchiveDirectory.entry(QString name)''' 2434 return KArchiveEntry() 2435 def entries(self): 2436 '''QStringList KArchiveDirectory.entries()''' 2437 return QStringList() 2438 2439 2440 class KAutoMount(QObject): 2441 """""" 2442 def __init__(self, readonly, format, device, mountpoint, desktopFile, show_filemanager_window = True): 2443 '''void KAutoMount.__init__(bool readonly, QByteArray format, QString device, QString mountpoint, QString desktopFile, bool show_filemanager_window = True)''' 2444 error = pyqtSignal() # void error() - signal 2445 finished = pyqtSignal() # void finished() - signal 2446 2447 2448 class KAutoUnmount(QObject): 2449 """""" 2450 def __init__(self, mountpoint, desktopFile): 2451 '''void KAutoUnmount.__init__(QString mountpoint, QString desktopFile)''' 2452 error = pyqtSignal() # void error() - signal 2453 finished = pyqtSignal() # void finished() - signal 2454 2455 2456 class KBookmark(): 2457 """""" 2458 # Enum KBookmark.MetaDataOverwriteMode 2459 OverwriteMetaData = 0 2460 DontOverwriteMetaData = 0 2461 2462 def __init__(self): 2463 '''void KBookmark.__init__()''' 2464 def __init__(self, elem): 2465 '''void KBookmark.__init__(QDomElement elem)''' 2466 def __init__(self): 2467 '''KBookmark KBookmark.__init__()''' 2468 return KBookmark() 2469 def __ne__(self, rhs): 2470 '''bool KBookmark.__ne__(KBookmark rhs)''' 2471 return bool() 2472 def setDescription(self, description): 2473 '''void KBookmark.setDescription(QString description)''' 2474 def description(self): 2475 '''QString KBookmark.description()''' 2476 return QString() 2477 def __eq__(self, rhs): 2478 '''bool KBookmark.__eq__(KBookmark rhs)''' 2479 return bool() 2480 def populateMimeData(self, mimeData): 2481 '''void KBookmark.populateMimeData(QMimeData mimeData)''' 2482 def setMetaDataItem(self, key, value, mode = None): 2483 '''void KBookmark.setMetaDataItem(QString key, QString value, KBookmark.MetaDataOverwriteMode mode = KBookmark.OverwriteMetaData)''' 2484 def metaDataItem(self, key): 2485 '''QString KBookmark.metaDataItem(QString key)''' 2486 return QString() 2487 def metaData(self, owner, create): 2488 '''QDomNode KBookmark.metaData(QString owner, bool create)''' 2489 return QDomNode() 2490 def commonParent(self, A, B): 2491 '''static QString KBookmark.commonParent(QString A, QString B)''' 2492 return QString() 2493 def nextAddress(self, address): 2494 '''static QString KBookmark.nextAddress(QString address)''' 2495 return QString() 2496 def previousAddress(self, address): 2497 '''static QString KBookmark.previousAddress(QString address)''' 2498 return QString() 2499 def parentAddress(self, address): 2500 '''static QString KBookmark.parentAddress(QString address)''' 2501 return QString() 2502 def updateAccessMetadata(self): 2503 '''void KBookmark.updateAccessMetadata()''' 2504 def internalElement(self): 2505 '''QDomElement KBookmark.internalElement()''' 2506 return QDomElement() 2507 def positionInParent(self): 2508 '''int KBookmark.positionInParent()''' 2509 return int() 2510 def positionInParent(self, address): 2511 '''static int KBookmark.positionInParent(QString address)''' 2512 return int() 2513 def address(self): 2514 '''QString KBookmark.address()''' 2515 return QString() 2516 def toGroup(self): 2517 '''KBookmarkGroup KBookmark.toGroup()''' 2518 return KBookmarkGroup() 2519 def parentGroup(self): 2520 '''KBookmarkGroup KBookmark.parentGroup()''' 2521 return KBookmarkGroup() 2522 def setShowInToolbar(self, show): 2523 '''void KBookmark.setShowInToolbar(bool show)''' 2524 def showInToolbar(self): 2525 '''bool KBookmark.showInToolbar()''' 2526 return bool() 2527 def setMimeType(self, mimeType): 2528 '''void KBookmark.setMimeType(QString mimeType)''' 2529 def mimeType(self): 2530 '''QString KBookmark.mimeType()''' 2531 return QString() 2532 def setIcon(self, icon): 2533 '''void KBookmark.setIcon(QString icon)''' 2534 def icon(self): 2535 '''QString KBookmark.icon()''' 2536 return QString() 2537 def setUrl(self, url): 2538 '''void KBookmark.setUrl(KUrl url)''' 2539 def url(self): 2540 '''KUrl KBookmark.url()''' 2541 return KUrl() 2542 def setFullText(self, fullText): 2543 '''void KBookmark.setFullText(QString fullText)''' 2544 def fullText(self): 2545 '''QString KBookmark.fullText()''' 2546 return QString() 2547 def text(self): 2548 '''QString KBookmark.text()''' 2549 return QString() 2550 def hasParent(self): 2551 '''bool KBookmark.hasParent()''' 2552 return bool() 2553 def isNull(self): 2554 '''bool KBookmark.isNull()''' 2555 return bool() 2556 def isSeparator(self): 2557 '''bool KBookmark.isSeparator()''' 2558 return bool() 2559 def isGroup(self): 2560 '''bool KBookmark.isGroup()''' 2561 return bool() 2562 def standaloneBookmark(self, text, url, icon = QString()): 2563 '''static KBookmark KBookmark.standaloneBookmark(QString text, KUrl url, QString icon = QString())''' 2564 return KBookmark() 2565 class List(): 2566 """""" 2567 def __init__(self): 2568 '''void KBookmark.List.__init__()''' 2569 def __init__(self): 2570 '''KBookmark.List KBookmark.List.__init__()''' 2571 return KBookmark.List() 2572 def fromMimeData(self, mimeData): 2573 '''static KBookmark.List KBookmark.List.fromMimeData(QMimeData mimeData)''' 2574 return KBookmark.List() 2575 def fromMimeData(self, mimeData, parentDocument): 2576 '''static KBookmark.List KBookmark.List.fromMimeData(QMimeData mimeData, QDomDocument parentDocument)''' 2577 return KBookmark.List() 2578 def mimeDataTypes(self): 2579 '''static QStringList KBookmark.List.mimeDataTypes()''' 2580 return QStringList() 2581 def canDecode(self, mimeData): 2582 '''static bool KBookmark.List.canDecode(QMimeData mimeData)''' 2583 return bool() 2584 def populateMimeData(self, mimeData): 2585 '''void KBookmark.List.populateMimeData(QMimeData mimeData)''' 2586 2587 2588 class KBookmarkGroup(KBookmark): 2589 """""" 2590 def __init__(self): 2591 '''void KBookmarkGroup.__init__()''' 2592 def __init__(self, elem): 2593 '''void KBookmarkGroup.__init__(QDomElement elem)''' 2594 def __init__(self): 2595 '''KBookmarkGroup KBookmarkGroup.__init__()''' 2596 return KBookmarkGroup() 2597 def nextKnownTag(self, start, goNext): 2598 '''QDomElement KBookmarkGroup.nextKnownTag(QDomElement start, bool goNext)''' 2599 return QDomElement() 2600 def groupUrlList(self): 2601 '''list-of-KUrl KBookmarkGroup.groupUrlList()''' 2602 return [KUrl()] 2603 def findToolbar(self): 2604 '''QDomElement KBookmarkGroup.findToolbar()''' 2605 return QDomElement() 2606 def isToolbarGroup(self): 2607 '''bool KBookmarkGroup.isToolbarGroup()''' 2608 return bool() 2609 def deleteBookmark(self, bk): 2610 '''void KBookmarkGroup.deleteBookmark(KBookmark bk)''' 2611 def moveItem(self, item, after): 2612 '''bool KBookmarkGroup.moveItem(KBookmark item, KBookmark after)''' 2613 return bool() 2614 def moveBookmark(self, bookmark, after): 2615 '''bool KBookmarkGroup.moveBookmark(KBookmark bookmark, KBookmark after)''' 2616 return bool() 2617 def addBookmark(self, bm): 2618 '''KBookmark KBookmarkGroup.addBookmark(KBookmark bm)''' 2619 return KBookmark() 2620 def addBookmark(self, text, url, icon = QString()): 2621 '''KBookmark KBookmarkGroup.addBookmark(QString text, KUrl url, QString icon = QString())''' 2622 return KBookmark() 2623 def createNewSeparator(self): 2624 '''KBookmark KBookmarkGroup.createNewSeparator()''' 2625 return KBookmark() 2626 def createNewFolder(self, text): 2627 '''KBookmarkGroup KBookmarkGroup.createNewFolder(QString text)''' 2628 return KBookmarkGroup() 2629 def indexOf(self, child): 2630 '''int KBookmarkGroup.indexOf(KBookmark child)''' 2631 return int() 2632 def next(self, current): 2633 '''KBookmark KBookmarkGroup.next(KBookmark current)''' 2634 return KBookmark() 2635 def previous(self, current): 2636 '''KBookmark KBookmarkGroup.previous(KBookmark current)''' 2637 return KBookmark() 2638 def first(self): 2639 '''KBookmark KBookmarkGroup.first()''' 2640 return KBookmark() 2641 def isOpen(self): 2642 '''bool KBookmarkGroup.isOpen()''' 2643 return bool() 2644 2645 2646 class KBookmarkGroupTraverser(): 2647 """""" 2648 def __init__(self): 2649 '''void KBookmarkGroupTraverser.__init__()''' 2650 def __init__(self): 2651 '''KBookmarkGroupTraverser KBookmarkGroupTraverser.__init__()''' 2652 return KBookmarkGroupTraverser() 2653 def visitLeave(self): 2654 '''KBookmarkGroup KBookmarkGroupTraverser.visitLeave()''' 2655 return KBookmarkGroup() 2656 def visitEnter(self): 2657 '''KBookmarkGroup KBookmarkGroupTraverser.visitEnter()''' 2658 return KBookmarkGroup() 2659 def visit(self): 2660 '''KBookmark KBookmarkGroupTraverser.visit()''' 2661 return KBookmark() 2662 def traverse(self): 2663 '''KBookmarkGroup KBookmarkGroupTraverser.traverse()''' 2664 return KBookmarkGroup() 2665 2666 2667 class KBookmarkDialog(KDialog): 2668 """""" 2669 # Enum KBookmarkDialog.BookmarkDialogMode 2670 NewFolder = 0 2671 NewBookmark = 0 2672 EditBookmark = 0 2673 NewMultipleBookmarks = 0 2674 SelectFolder = 0 2675 2676 def __init__(self): 2677 '''QWidget KBookmarkDialog.__init__()''' 2678 return QWidget() 2679 def addBookmarks(self, list, name = QString(), parent = KBookmarkGroup()): 2680 '''KBookmarkGroup KBookmarkDialog.addBookmarks(list-of-tuple-of-QString-QString list, QString name = QString(), KBookmarkGroup parent = KBookmarkGroup())''' 2681 return KBookmarkGroup() 2682 def newFolderButton(self): 2683 '''void KBookmarkDialog.newFolderButton()''' 2684 def initLayoutPrivate(self): 2685 '''void KBookmarkDialog.initLayoutPrivate()''' 2686 def fillGroup(self, parentItem, group): 2687 '''void KBookmarkDialog.fillGroup(QTreeWidgetItem parentItem, KBookmarkGroup group)''' 2688 def slotButtonClicked(self): 2689 '''int KBookmarkDialog.slotButtonClicked()''' 2690 return int() 2691 def parentBookmark(self): 2692 '''KBookmarkGroup KBookmarkDialog.parentBookmark()''' 2693 return KBookmarkGroup() 2694 def setParentBookmark(self, bm): 2695 '''void KBookmarkDialog.setParentBookmark(KBookmark bm)''' 2696 def save(self, mode): 2697 '''KBookmark KBookmarkDialog.save(KBookmarkDialog.BookmarkDialogMode mode)''' 2698 return KBookmark() 2699 def aboutToShow(self, mode): 2700 '''void KBookmarkDialog.aboutToShow(KBookmarkDialog.BookmarkDialogMode mode)''' 2701 def initLayout(self): 2702 '''void KBookmarkDialog.initLayout()''' 2703 def selectFolder(self, start = KBookmark()): 2704 '''KBookmarkGroup KBookmarkDialog.selectFolder(KBookmark start = KBookmark())''' 2705 return KBookmarkGroup() 2706 def createNewFolder(self, name, parent = KBookmark()): 2707 '''KBookmarkGroup KBookmarkDialog.createNewFolder(QString name, KBookmark parent = KBookmark())''' 2708 return KBookmarkGroup() 2709 def addBookmark(self, title, url, parent = KBookmark()): 2710 '''KBookmark KBookmarkDialog.addBookmark(QString title, KUrl url, KBookmark parent = KBookmark())''' 2711 return KBookmark() 2712 def editBookmark(self, bm): 2713 '''KBookmark KBookmarkDialog.editBookmark(KBookmark bm)''' 2714 return KBookmark() 2715 2716 2717 class KBookmarkDomBuilder(QObject): 2718 """""" 2719 def __init__(self, group): 2720 '''KBookmarkManager KBookmarkDomBuilder.__init__(KBookmarkGroup group)''' 2721 return KBookmarkManager() 2722 def endFolder(self): 2723 '''void KBookmarkDomBuilder.endFolder()''' 2724 def newSeparator(self): 2725 '''void KBookmarkDomBuilder.newSeparator()''' 2726 def newFolder(self, text, open, additionalInfo): 2727 '''void KBookmarkDomBuilder.newFolder(QString text, bool open, QString additionalInfo)''' 2728 def newBookmark(self, text, url, additionalInfo): 2729 '''void KBookmarkDomBuilder.newBookmark(QString text, QString url, QString additionalInfo)''' 2730 def connectImporter(self): 2731 '''QObject KBookmarkDomBuilder.connectImporter()''' 2732 return QObject() 2733 2734 2735 class KBookmarkExporterBase(): 2736 """""" 2737 def __init__(self, mgr, fileName): 2738 '''void KBookmarkExporterBase.__init__(KBookmarkManager mgr, QString fileName)''' 2739 def __init__(self): 2740 '''KBookmarkExporterBase KBookmarkExporterBase.__init__()''' 2741 return KBookmarkExporterBase() 2742 def write(self): 2743 '''abstract KBookmarkGroup KBookmarkExporterBase.write()''' 2744 return KBookmarkGroup() 2745 2746 2747 class KBookmarkImporterBase(QObject): 2748 """""" 2749 def __init__(self): 2750 '''void KBookmarkImporterBase.__init__()''' 2751 endFolder = pyqtSignal() # void endFolder() - signal 2752 newSeparator = pyqtSignal() # void newSeparator() - signal 2753 newFolder = pyqtSignal() # void newFolder(const QStringamp;,bool,const QStringamp;) - signal 2754 newBookmark = pyqtSignal() # void newBookmark(const QStringamp;,const QStringamp;,const QStringamp;) - signal 2755 def factory(self, type): 2756 '''static KBookmarkImporterBase KBookmarkImporterBase.factory(QString type)''' 2757 return KBookmarkImporterBase() 2758 def setupSignalForwards(self, src, dst): 2759 '''void KBookmarkImporterBase.setupSignalForwards(QObject src, QObject dst)''' 2760 def findDefaultLocation(self, forSaving = False): 2761 '''abstract QString KBookmarkImporterBase.findDefaultLocation(bool forSaving = False)''' 2762 return QString() 2763 def parse(self): 2764 '''abstract void KBookmarkImporterBase.parse()''' 2765 def setFilename(self, filename): 2766 '''void KBookmarkImporterBase.setFilename(QString filename)''' 2767 2768 2769 class KXBELBookmarkImporterImpl(KBookmarkImporterBase, KBookmarkGroupTraverser): 2770 """""" 2771 def __init__(self): 2772 '''void KXBELBookmarkImporterImpl.__init__()''' 2773 def visitLeave(self): 2774 '''KBookmarkGroup KXBELBookmarkImporterImpl.visitLeave()''' 2775 return KBookmarkGroup() 2776 def visitEnter(self): 2777 '''KBookmarkGroup KXBELBookmarkImporterImpl.visitEnter()''' 2778 return KBookmarkGroup() 2779 def visit(self): 2780 '''KBookmark KXBELBookmarkImporterImpl.visit()''' 2781 return KBookmark() 2782 def findDefaultLocation(self): 2783 '''bool KXBELBookmarkImporterImpl.findDefaultLocation()''' 2784 return bool() 2785 def parse(self): 2786 '''void KXBELBookmarkImporterImpl.parse()''' 2787 2788 2789 class KCrashBookmarkImporter(QObject): 2790 """""" 2791 def __init__(self, fileName): 2792 '''void KCrashBookmarkImporter.__init__(QString fileName)''' 2793 endFolder = pyqtSignal() # void endFolder() - signal 2794 newSeparator = pyqtSignal() # void newSeparator() - signal 2795 newFolder = pyqtSignal() # void newFolder(const QStringamp;,bool,const QStringamp;) - signal 2796 newBookmark = pyqtSignal() # void newBookmark(const QStringamp;,const QStringamp;,const QStringamp;) - signal 2797 def crashBookmarksDir(self): 2798 '''static QString KCrashBookmarkImporter.crashBookmarksDir()''' 2799 return QString() 2800 def parseCrashBookmarks(self, del_ = True): 2801 '''void KCrashBookmarkImporter.parseCrashBookmarks(bool del = True)''' 2802 2803 2804 class KCrashBookmarkImporterImpl(KBookmarkImporterBase): 2805 """""" 2806 def __init__(self): 2807 '''void KCrashBookmarkImporterImpl.__init__()''' 2808 def getCrashLogs(self): 2809 '''static QStringList KCrashBookmarkImporterImpl.getCrashLogs()''' 2810 return QStringList() 2811 def findDefaultLocation(self, forSaving = False): 2812 '''QString KCrashBookmarkImporterImpl.findDefaultLocation(bool forSaving = False)''' 2813 return QString() 2814 def parse(self): 2815 '''void KCrashBookmarkImporterImpl.parse()''' 2816 def setShouldDelete(self): 2817 '''bool KCrashBookmarkImporterImpl.setShouldDelete()''' 2818 return bool() 2819 2820 2821 class KIEBookmarkImporterImpl(KBookmarkImporterBase): 2822 """""" 2823 def __init__(self): 2824 '''void KIEBookmarkImporterImpl.__init__()''' 2825 def findDefaultLocation(self, forSaving = False): 2826 '''QString KIEBookmarkImporterImpl.findDefaultLocation(bool forSaving = False)''' 2827 return QString() 2828 def parse(self): 2829 '''void KIEBookmarkImporterImpl.parse()''' 2830 2831 2832 class KIEBookmarkExporterImpl(KBookmarkExporterBase): 2833 """""" 2834 def __init__(self, mgr, path): 2835 '''void KIEBookmarkExporterImpl.__init__(KBookmarkManager mgr, QString path)''' 2836 def __init__(self): 2837 '''KIEBookmarkExporterImpl KIEBookmarkExporterImpl.__init__()''' 2838 return KIEBookmarkExporterImpl() 2839 def write(self): 2840 '''KBookmarkGroup KIEBookmarkExporterImpl.write()''' 2841 return KBookmarkGroup() 2842 2843 2844 class KNSBookmarkImporterImpl(KBookmarkImporterBase): 2845 """""" 2846 def __init__(self): 2847 '''void KNSBookmarkImporterImpl.__init__()''' 2848 def findDefaultLocation(self, forSaving = False): 2849 '''QString KNSBookmarkImporterImpl.findDefaultLocation(bool forSaving = False)''' 2850 return QString() 2851 def parse(self): 2852 '''void KNSBookmarkImporterImpl.parse()''' 2853 def setUtf8(self, utf8): 2854 '''void KNSBookmarkImporterImpl.setUtf8(bool utf8)''' 2855 2856 2857 class KMozillaBookmarkImporterImpl(KNSBookmarkImporterImpl): 2858 """""" 2859 def __init__(self): 2860 '''void KMozillaBookmarkImporterImpl.__init__()''' 2861 2862 2863 class KNSBookmarkExporterImpl(KBookmarkExporterBase): 2864 """""" 2865 def __init__(self, mgr, fileName): 2866 '''void KNSBookmarkExporterImpl.__init__(KBookmarkManager mgr, QString fileName)''' 2867 def __init__(self): 2868 '''KNSBookmarkExporterImpl KNSBookmarkExporterImpl.__init__()''' 2869 return KNSBookmarkExporterImpl() 2870 def folderAsString(self, parent): 2871 '''QString KNSBookmarkExporterImpl.folderAsString(KBookmarkGroup parent)''' 2872 return QString() 2873 def setUtf8(self): 2874 '''bool KNSBookmarkExporterImpl.setUtf8()''' 2875 return bool() 2876 def write(self, parent): 2877 '''void KNSBookmarkExporterImpl.write(KBookmarkGroup parent)''' 2878 2879 2880 class KOperaBookmarkImporterImpl(KBookmarkImporterBase): 2881 """""" 2882 def __init__(self): 2883 '''void KOperaBookmarkImporterImpl.__init__()''' 2884 def findDefaultLocation(self, forSaving = False): 2885 '''QString KOperaBookmarkImporterImpl.findDefaultLocation(bool forSaving = False)''' 2886 return QString() 2887 def parse(self): 2888 '''void KOperaBookmarkImporterImpl.parse()''' 2889 2890 2891 class KOperaBookmarkExporterImpl(KBookmarkExporterBase): 2892 """""" 2893 def __init__(self, mgr, filename): 2894 '''void KOperaBookmarkExporterImpl.__init__(KBookmarkManager mgr, QString filename)''' 2895 def __init__(self): 2896 '''KOperaBookmarkExporterImpl KOperaBookmarkExporterImpl.__init__()''' 2897 return KOperaBookmarkExporterImpl() 2898 def write(self, parent): 2899 '''void KOperaBookmarkExporterImpl.write(KBookmarkGroup parent)''' 2900 2901 2902 class KBookmarkManager(QObject): 2903 """""" 2904 error = pyqtSignal() # void error(const QStringamp;) - signal 2905 def setAutoErrorHandlingEnabled(self, enable, parent): 2906 '''void KBookmarkManager.setAutoErrorHandlingEnabled(bool enable, QWidget parent)''' 2907 def autoErrorHandlingEnabled(self): 2908 '''bool KBookmarkManager.autoErrorHandlingEnabled()''' 2909 return bool() 2910 configChanged = pyqtSignal() # void configChanged() - signal 2911 changed = pyqtSignal() # void changed(const QStringamp;,const QStringamp;) - signal 2912 bookmarkConfigChanged = pyqtSignal() # void bookmarkConfigChanged() - signal 2913 bookmarksChanged = pyqtSignal() # void bookmarksChanged(QString) - signal 2914 bookmarkCompleteChange = pyqtSignal() # void bookmarkCompleteChange(QString) - signal 2915 def notifyConfigChanged(self): 2916 '''void KBookmarkManager.notifyConfigChanged()''' 2917 def notifyCompleteChange(self, caller): 2918 '''void KBookmarkManager.notifyCompleteChange(QString caller)''' 2919 def slotEditBookmarksAtAddress(self, address): 2920 '''void KBookmarkManager.slotEditBookmarksAtAddress(QString address)''' 2921 def slotEditBookmarks(self): 2922 '''void KBookmarkManager.slotEditBookmarks()''' 2923 def internalDocument(self): 2924 '''QDomDocument KBookmarkManager.internalDocument()''' 2925 return QDomDocument() 2926 def userBookmarksManager(self): 2927 '''static KBookmarkManager KBookmarkManager.userBookmarksManager()''' 2928 return KBookmarkManager() 2929 def createTempManager(self): 2930 '''static KBookmarkManager KBookmarkManager.createTempManager()''' 2931 return KBookmarkManager() 2932 def managerForExternalFile(self, bookmarksFile): 2933 '''static KBookmarkManager KBookmarkManager.managerForExternalFile(QString bookmarksFile)''' 2934 return KBookmarkManager() 2935 def managerForFile(self, bookmarksFile, dbusObjectName): 2936 '''static KBookmarkManager KBookmarkManager.managerForFile(QString bookmarksFile, QString dbusObjectName)''' 2937 return KBookmarkManager() 2938 def setEditorOptions(self, caption, browser): 2939 '''void KBookmarkManager.setEditorOptions(QString caption, bool browser)''' 2940 def emitConfigChanged(self): 2941 '''void KBookmarkManager.emitConfigChanged()''' 2942 def save(self, toolbarCache = True): 2943 '''bool KBookmarkManager.save(bool toolbarCache = True)''' 2944 return bool() 2945 def emitChanged(self): 2946 '''void KBookmarkManager.emitChanged()''' 2947 def emitChanged(self, group): 2948 '''void KBookmarkManager.emitChanged(KBookmarkGroup group)''' 2949 def findByAddress(self, address): 2950 '''KBookmark KBookmarkManager.findByAddress(QString address)''' 2951 return KBookmark() 2952 def toolbar(self): 2953 '''KBookmarkGroup KBookmarkManager.toolbar()''' 2954 return KBookmarkGroup() 2955 def root(self): 2956 '''KBookmarkGroup KBookmarkManager.root()''' 2957 return KBookmarkGroup() 2958 def path(self): 2959 '''QString KBookmarkManager.path()''' 2960 return QString() 2961 def updateFavicon(self, url, faviconurl): 2962 '''void KBookmarkManager.updateFavicon(QString url, QString faviconurl)''' 2963 def updateAccessMetadata(self, url): 2964 '''bool KBookmarkManager.updateAccessMetadata(QString url)''' 2965 return bool() 2966 def saveAs(self, filename, toolbarCache = True): 2967 '''bool KBookmarkManager.saveAs(QString filename, bool toolbarCache = True)''' 2968 return bool() 2969 def setUpdate(self, update): 2970 '''void KBookmarkManager.setUpdate(bool update)''' 2971 2972 2973 class KBookmarkOwner(): 2974 """""" 2975 # Enum KBookmarkOwner.BookmarkOption 2976 ShowAddBookmark = 0 2977 ShowEditBookmark = 0 2978 2979 def __init__(self): 2980 '''void KBookmarkOwner.__init__()''' 2981 def __init__(self): 2982 '''KBookmarkOwner KBookmarkOwner.__init__()''' 2983 return KBookmarkOwner() 2984 def bookmarkDialog(self, mgr, parent): 2985 '''KBookmarkDialog KBookmarkOwner.bookmarkDialog(KBookmarkManager mgr, QWidget parent)''' 2986 return KBookmarkDialog() 2987 def openFolderinTabs(self, bm): 2988 '''void KBookmarkOwner.openFolderinTabs(KBookmarkGroup bm)''' 2989 def openBookmark(self, bm, mb, km): 2990 '''abstract void KBookmarkOwner.openBookmark(KBookmark bm, Qt.MouseButtons mb, Qt.KeyboardModifiers km)''' 2991 def enableOption(self, option): 2992 '''bool KBookmarkOwner.enableOption(KBookmarkOwner.BookmarkOption option)''' 2993 return bool() 2994 def currentBookmarkList(self): 2995 '''list-of-tuple-of-QString-QString KBookmarkOwner.currentBookmarkList()''' 2996 return [tuple-of-QString-QString()] 2997 def supportsTabs(self): 2998 '''bool KBookmarkOwner.supportsTabs()''' 2999 return bool() 3000 def currentUrl(self): 3001 '''QString KBookmarkOwner.currentUrl()''' 3002 return QString() 3003 def currentTitle(self): 3004 '''QString KBookmarkOwner.currentTitle()''' 3005 return QString() 3006 3007 3008 class KBookmarkMenu(QObject): 3009 """""" 3010 def __init__(self, mgr, owner, parentMenu, collec): 3011 '''void KBookmarkMenu.__init__(KBookmarkManager mgr, KBookmarkOwner owner, KMenu parentMenu, KActionCollection collec)''' 3012 def __init__(self, mgr, owner, parentMenu, parentAddress): 3013 '''void KBookmarkMenu.__init__(KBookmarkManager mgr, KBookmarkOwner owner, KMenu parentMenu, QString parentAddress)''' 3014 def parentMenu(self): 3015 '''KMenu KBookmarkMenu.parentMenu()''' 3016 return KMenu() 3017 def owner(self): 3018 '''KBookmarkOwner KBookmarkMenu.owner()''' 3019 return KBookmarkOwner() 3020 def manager(self): 3021 '''KBookmarkManager KBookmarkMenu.manager()''' 3022 return KBookmarkManager() 3023 def parentAddress(self): 3024 '''QString KBookmarkMenu.parentAddress()''' 3025 return QString() 3026 def isDirty(self): 3027 '''bool KBookmarkMenu.isDirty()''' 3028 return bool() 3029 def isRoot(self): 3030 '''bool KBookmarkMenu.isRoot()''' 3031 return bool() 3032 def addOpenInTabs(self): 3033 '''void KBookmarkMenu.addOpenInTabs()''' 3034 def addNewFolder(self): 3035 '''void KBookmarkMenu.addNewFolder()''' 3036 def addEditBookmarks(self): 3037 '''void KBookmarkMenu.addEditBookmarks()''' 3038 def addAddBookmarksList(self): 3039 '''void KBookmarkMenu.addAddBookmarksList()''' 3040 def addAddBookmark(self): 3041 '''void KBookmarkMenu.addAddBookmark()''' 3042 def fillBookmarks(self): 3043 '''void KBookmarkMenu.fillBookmarks()''' 3044 def addActions(self): 3045 '''void KBookmarkMenu.addActions()''' 3046 def contextMenu(self, action): 3047 '''KMenu KBookmarkMenu.contextMenu(QAction action)''' 3048 return KMenu() 3049 def actionForBookmark(self, bm): 3050 '''QAction KBookmarkMenu.actionForBookmark(KBookmark bm)''' 3051 return QAction() 3052 def refill(self): 3053 '''void KBookmarkMenu.refill()''' 3054 def clear(self): 3055 '''void KBookmarkMenu.clear()''' 3056 def slotOpenFolderInTabs(self): 3057 '''void KBookmarkMenu.slotOpenFolderInTabs()''' 3058 def slotNewFolder(self): 3059 '''void KBookmarkMenu.slotNewFolder()''' 3060 def slotAddBookmark(self): 3061 '''void KBookmarkMenu.slotAddBookmark()''' 3062 def slotAddBookmarksList(self): 3063 '''void KBookmarkMenu.slotAddBookmarksList()''' 3064 def slotAboutToShow(self): 3065 '''void KBookmarkMenu.slotAboutToShow()''' 3066 def slotBookmarksChanged(self): 3067 '''QString KBookmarkMenu.slotBookmarksChanged()''' 3068 return QString() 3069 def ensureUpToDate(self): 3070 '''void KBookmarkMenu.ensureUpToDate()''' 3071 3072 3073 class KBookmarkContextMenu(KMenu): 3074 """""" 3075 def __init__(self, bm, manager, owner, parent = None): 3076 '''void KBookmarkContextMenu.__init__(KBookmark bm, KBookmarkManager manager, KBookmarkOwner owner, QWidget parent = None)''' 3077 def bookmark(self): 3078 '''KBookmark KBookmarkContextMenu.bookmark()''' 3079 return KBookmark() 3080 def owner(self): 3081 '''KBookmarkOwner KBookmarkContextMenu.owner()''' 3082 return KBookmarkOwner() 3083 def manager(self): 3084 '''KBookmarkManager KBookmarkContextMenu.manager()''' 3085 return KBookmarkManager() 3086 def addOpenFolderInTabs(self): 3087 '''void KBookmarkContextMenu.addOpenFolderInTabs()''' 3088 def addBookmarkActions(self): 3089 '''void KBookmarkContextMenu.addBookmarkActions()''' 3090 def addProperties(self): 3091 '''void KBookmarkContextMenu.addProperties()''' 3092 def addFolderActions(self): 3093 '''void KBookmarkContextMenu.addFolderActions()''' 3094 def addBookmark(self): 3095 '''void KBookmarkContextMenu.addBookmark()''' 3096 def slotOpenFolderInTabs(self): 3097 '''void KBookmarkContextMenu.slotOpenFolderInTabs()''' 3098 def slotCopyLocation(self): 3099 '''void KBookmarkContextMenu.slotCopyLocation()''' 3100 def slotRemove(self): 3101 '''void KBookmarkContextMenu.slotRemove()''' 3102 def slotInsert(self): 3103 '''void KBookmarkContextMenu.slotInsert()''' 3104 def slotProperties(self): 3105 '''void KBookmarkContextMenu.slotProperties()''' 3106 def slotEditAt(self): 3107 '''void KBookmarkContextMenu.slotEditAt()''' 3108 def addActions(self): 3109 '''void KBookmarkContextMenu.addActions()''' 3110 3111 3112 class KBookmarkActionInterface(): 3113 """""" 3114 def __init__(self, bk): 3115 '''void KBookmarkActionInterface.__init__(KBookmark bk)''' 3116 def __init__(self): 3117 '''KBookmarkActionInterface KBookmarkActionInterface.__init__()''' 3118 return KBookmarkActionInterface() 3119 def bookmark(self): 3120 '''KBookmark KBookmarkActionInterface.bookmark()''' 3121 return KBookmark() 3122 3123 3124 class KBookmarkActionMenu(KActionMenu, KBookmarkActionInterface): 3125 """""" 3126 def __init__(self, bm, parent): 3127 '''void KBookmarkActionMenu.__init__(KBookmark bm, QObject parent)''' 3128 def __init__(self, bm, text, parent): 3129 '''void KBookmarkActionMenu.__init__(KBookmark bm, QString text, QObject parent)''' 3130 3131 3132 class KBookmarkAction(KAction, KBookmarkActionInterface): 3133 """""" 3134 def __init__(self, bk, owner, parent): 3135 '''void KBookmarkAction.__init__(KBookmark bk, KBookmarkOwner owner, QObject parent)''' 3136 def slotSelected(self, mb, km): 3137 '''void KBookmarkAction.slotSelected(Qt.MouseButtons mb, Qt.KeyboardModifiers km)''' 3138 3139 3140 class KBuildSycocaProgressDialog(QProgressDialog): 3141 """""" 3142 def rebuildKSycoca(self, parent): 3143 '''static void KBuildSycocaProgressDialog.rebuildKSycoca(QWidget parent)''' 3144 3145 3146 class KDataToolInfo(): 3147 """""" 3148 def __init__(self): 3149 '''void KDataToolInfo.__init__()''' 3150 def __init__(self, service, instance): 3151 '''void KDataToolInfo.__init__(unknown-type service, KComponentData instance)''' 3152 def __init__(self, info): 3153 '''void KDataToolInfo.__init__(KDataToolInfo info)''' 3154 def query(self, datatype, mimetype, instance): 3155 '''static list-of-KDataToolInfo KDataToolInfo.query(QString datatype, QString mimetype, KComponentData instance)''' 3156 return [KDataToolInfo()] 3157 def isValid(self): 3158 '''bool KDataToolInfo.isValid()''' 3159 return bool() 3160 def componentData(self): 3161 '''KComponentData KDataToolInfo.componentData()''' 3162 return KComponentData() 3163 def service(self): 3164 '''unknown-type KDataToolInfo.service()''' 3165 return unknown-type() 3166 def createTool(self, parent = None): 3167 '''KDataTool KDataToolInfo.createTool(QObject parent = None)''' 3168 return KDataTool() 3169 def commands(self): 3170 '''QStringList KDataToolInfo.commands()''' 3171 return QStringList() 3172 def userCommands(self): 3173 '''QStringList KDataToolInfo.userCommands()''' 3174 return QStringList() 3175 def iconName(self): 3176 '''QString KDataToolInfo.iconName()''' 3177 return QString() 3178 def miniIcon(self): 3179 '''QPixmap KDataToolInfo.miniIcon()''' 3180 return QPixmap() 3181 def icon(self): 3182 '''QPixmap KDataToolInfo.icon()''' 3183 return QPixmap() 3184 def isReadOnly(self): 3185 '''bool KDataToolInfo.isReadOnly()''' 3186 return bool() 3187 def mimeTypes(self): 3188 '''QStringList KDataToolInfo.mimeTypes()''' 3189 return QStringList() 3190 def dataType(self): 3191 '''QString KDataToolInfo.dataType()''' 3192 return QString() 3193 3194 3195 class KDataToolAction(KAction): 3196 """""" 3197 def __init__(self, text, info, command, parent): 3198 '''void KDataToolAction.__init__(QString text, KDataToolInfo info, QString command, QObject parent)''' 3199 def slotActivated(self): 3200 '''void KDataToolAction.slotActivated()''' 3201 toolActivated = pyqtSignal() # void toolActivated(const KDataToolInfoamp;,const QStringamp;) - signal 3202 def dataToolActionList(self, tools, receiver, slot, parent): 3203 '''static list-of-QAction KDataToolAction.dataToolActionList(list-of-KDataToolInfo tools, QObject receiver, str slot, KActionCollection parent)''' 3204 return [QAction()] 3205 3206 3207 class KDataTool(QObject): 3208 """""" 3209 def __init__(self, parent = None): 3210 '''void KDataTool.__init__(QObject parent = None)''' 3211 def run(self, command, data, datatype, mimetype): 3212 '''abstract bool KDataTool.run(QString command, sip.voidptr data, QString datatype, QString mimetype)''' 3213 return bool() 3214 def componentData(self): 3215 '''KComponentData KDataTool.componentData()''' 3216 return KComponentData() 3217 def setComponentData(self, componentData): 3218 '''void KDataTool.setComponentData(KComponentData componentData)''' 3219 3220 3221 class KDBusServiceStarter(): 3222 """""" 3223 def __init__(self): 3224 '''void KDBusServiceStarter.__init__()''' 3225 def __init__(self): 3226 '''KDBusServiceStarter KDBusServiceStarter.__init__()''' 3227 return KDBusServiceStarter() 3228 def startServiceFor(self, serviceType, constraint = QString(), error = None, dbusService = None, flags = 0): 3229 '''int KDBusServiceStarter.startServiceFor(QString serviceType, QString constraint = QString(), QString error = None, QString dbusService = None, int flags = 0)''' 3230 return int() 3231 def findServiceFor(self, serviceType, constraint = QString(), error = None, dbusService = None, flags = 0): 3232 '''int KDBusServiceStarter.findServiceFor(QString serviceType, QString constraint = QString(), QString error = None, QString dbusService = None, int flags = 0)''' 3233 return int() 3234 def self(self): 3235 '''static KDBusServiceStarter KDBusServiceStarter.self()''' 3236 return KDBusServiceStarter() 3237 3238 3239 class KDesktopFileActions(): 3240 """""" 3241 def run(self, _url, _is_local): 3242 '''static bool KDesktopFileActions.run(KUrl _url, bool _is_local)''' 3243 return bool() 3244 def executeService(self, urls, service): 3245 '''static void KDesktopFileActions.executeService(KUrl.List urls, KServiceAction service)''' 3246 def userDefinedServices(self, path, bLocalFiles): 3247 '''static list-of-KServiceAction KDesktopFileActions.userDefinedServices(QString path, bool bLocalFiles)''' 3248 return [KServiceAction()] 3249 def userDefinedServices(self, path, desktopFile, bLocalFiles, file_list = None): 3250 '''static list-of-KServiceAction KDesktopFileActions.userDefinedServices(QString path, KDesktopFile desktopFile, bool bLocalFiles, KUrl.List file_list = KUrl.List())''' 3251 return [KServiceAction()] 3252 def userDefinedServices(self, service, bLocalFiles, file_list = None): 3253 '''static list-of-KServiceAction KDesktopFileActions.userDefinedServices(KService service, bool bLocalFiles, KUrl.List file_list = KUrl.List())''' 3254 return [KServiceAction()] 3255 def builtinServices(self, url): 3256 '''static list-of-KServiceAction KDesktopFileActions.builtinServices(KUrl url)''' 3257 return [KServiceAction()] 3258 3259 3260 class KDeviceListModel(QAbstractItemModel): 3261 """""" 3262 def __init__(self, parent = None): 3263 '''void KDeviceListModel.__init__(QObject parent = None)''' 3264 def __init__(self, predicate, parent = None): 3265 '''void KDeviceListModel.__init__(QString predicate, QObject parent = None)''' 3266 def __init__(self, predicate, parent = None): 3267 '''void KDeviceListModel.__init__(Solid.Predicate predicate, QObject parent = None)''' 3268 modelInitialized = pyqtSignal() # void modelInitialized() - signal 3269 def deviceForIndex(self, index): 3270 '''Solid.Device KDeviceListModel.deviceForIndex(QModelIndex index)''' 3271 return Solid.Device() 3272 def columnCount(self, parent = QModelIndex()): 3273 '''int KDeviceListModel.columnCount(QModelIndex parent = QModelIndex())''' 3274 return int() 3275 def rowCount(self, parent = QModelIndex()): 3276 '''int KDeviceListModel.rowCount(QModelIndex parent = QModelIndex())''' 3277 return int() 3278 def parent(self, child): 3279 '''QModelIndex KDeviceListModel.parent(QModelIndex child)''' 3280 return QModelIndex() 3281 def rootIndex(self): 3282 '''QModelIndex KDeviceListModel.rootIndex()''' 3283 return QModelIndex() 3284 def index(self, row, column, parent = QModelIndex()): 3285 '''QModelIndex KDeviceListModel.index(int row, int column, QModelIndex parent = QModelIndex())''' 3286 return QModelIndex() 3287 def headerData(self, section, orientation, role = None): 3288 '''QVariant KDeviceListModel.headerData(int section, Qt.Orientation orientation, int role = Qt.DisplayRole)''' 3289 return QVariant() 3290 def data(self, index, role): 3291 '''QVariant KDeviceListModel.data(QModelIndex index, int role)''' 3292 return QVariant() 3293 3294 3295 class KDirLister(QObject): 3296 """""" 3297 # Enum KDirLister.Changes 3298 NONE = 0 3299 NAME_FILTER = 0 3300 MIME_FILTER = 0 3301 DOT_FILES = 0 3302 DIR_ONLY_MODE = 0 3303 3304 # Enum KDirLister.WhichItems 3305 AllItems = 0 3306 FilteredItems = 0 3307 3308 # Enum KDirLister.OpenUrlFlag 3309 NoFlags = 0 3310 Keep = 0 3311 Reload = 0 3312 3313 def __init__(self, parent = None): 3314 '''void KDirLister.__init__(QObject parent = None)''' 3315 refreshItems = pyqtSignal() # void refreshItems(const QListlt;QPairlt;KFileItem,KFileItemgt;gt;amp;) - signal 3316 def handleError(self): 3317 '''KIO.Job KDirLister.handleError()''' 3318 return KIO.Job() 3319 def doMimeFilter(self, mime, filters): 3320 '''bool KDirLister.doMimeFilter(QString mime, QStringList filters)''' 3321 return bool() 3322 def doNameFilter(self, name, filters): 3323 '''bool KDirLister.doNameFilter(QString name, list-of-QRegExp filters)''' 3324 return bool() 3325 speed = pyqtSignal() # void speed(int) - signal 3326 processedSize = pyqtSignal() # void processedSize(KIO::filesize_t) - signal 3327 totalSize = pyqtSignal() # void totalSize(KIO::filesize_t) - signal 3328 percent = pyqtSignal() # void percent(int) - signal 3329 infoMessage = pyqtSignal() # void infoMessage(const QStringamp;) - signal 3330 itemsDeleted = pyqtSignal() # void itemsDeleted(const KFileItemListamp;) - signal 3331 deleteItem = pyqtSignal() # void deleteItem(const KFileItemamp;) - signal 3332 itemsFilteredByMime = pyqtSignal() # void itemsFilteredByMime(const KFileItemListamp;) - signal 3333 itemsAdded = pyqtSignal() # void itemsAdded(const KUrlamp;,const KFileItemListamp;) - signal 3334 newItems = pyqtSignal() # void newItems(const KFileItemListamp;) - signal 3335 clear = pyqtSignal() # void clear() - signal 3336 clear = pyqtSignal() # void clear(const KUrlamp;) - signal 3337 redirection = pyqtSignal() # void redirection(const KUrlamp;) - signal 3338 redirection = pyqtSignal() # void redirection(const KUrlamp;,const KUrlamp;) - signal 3339 canceled = pyqtSignal() # void canceled() - signal 3340 canceled = pyqtSignal() # void canceled(const KUrlamp;) - signal 3341 completed = pyqtSignal() # void completed() - signal 3342 completed = pyqtSignal() # void completed(const KUrlamp;) - signal 3343 started = pyqtSignal() # void started(const KUrlamp;) - signal 3344 def cachedItemForUrl(self, url): 3345 '''static KFileItem KDirLister.cachedItemForUrl(KUrl url)''' 3346 return KFileItem() 3347 def itemsForDir(self, dir, which = None): 3348 '''KFileItemList KDirLister.itemsForDir(KUrl dir, KDirLister.WhichItems which = KDirLister.FilteredItems)''' 3349 return KFileItemList() 3350 def items(self, which = None): 3351 '''KFileItemList KDirLister.items(KDirLister.WhichItems which = KDirLister.FilteredItems)''' 3352 return KFileItemList() 3353 def mainWindow(self): 3354 '''QWidget KDirLister.mainWindow()''' 3355 return QWidget() 3356 def setMainWindow(self, window): 3357 '''void KDirLister.setMainWindow(QWidget window)''' 3358 def matchesMimeFilter(self, mime): 3359 '''bool KDirLister.matchesMimeFilter(QString mime)''' 3360 return bool() 3361 def matchesMimeFilter(self): 3362 '''KFileItem KDirLister.matchesMimeFilter()''' 3363 return KFileItem() 3364 def matchesFilter(self, name): 3365 '''bool KDirLister.matchesFilter(QString name)''' 3366 return bool() 3367 def matchesFilter(self): 3368 '''KFileItem KDirLister.matchesFilter()''' 3369 return KFileItem() 3370 def mimeFilters(self): 3371 '''QStringList KDirLister.mimeFilters()''' 3372 return QStringList() 3373 def clearMimeFilter(self): 3374 '''void KDirLister.clearMimeFilter()''' 3375 def setMimeExcludeFilter(self, mimeList): 3376 '''void KDirLister.setMimeExcludeFilter(QStringList mimeList)''' 3377 def setMimeFilter(self, mimeList): 3378 '''void KDirLister.setMimeFilter(QStringList mimeList)''' 3379 def nameFilter(self): 3380 '''QString KDirLister.nameFilter()''' 3381 return QString() 3382 def setNameFilter(self, filter): 3383 '''void KDirLister.setNameFilter(QString filter)''' 3384 def findByName(self, name): 3385 '''KFileItem KDirLister.findByName(QString name)''' 3386 return KFileItem() 3387 def findByUrl(self, _url): 3388 '''KFileItem KDirLister.findByUrl(KUrl _url)''' 3389 return KFileItem() 3390 def rootItem(self): 3391 '''KFileItem KDirLister.rootItem()''' 3392 return KFileItem() 3393 def isFinished(self): 3394 '''bool KDirLister.isFinished()''' 3395 return bool() 3396 def updateDirectory(self, _dir): 3397 '''void KDirLister.updateDirectory(KUrl _dir)''' 3398 def emitChanges(self): 3399 '''void KDirLister.emitChanges()''' 3400 def directories(self): 3401 '''KUrl.List KDirLister.directories()''' 3402 return KUrl.List() 3403 def url(self): 3404 '''KUrl KDirLister.url()''' 3405 return KUrl() 3406 def setDirOnlyMode(self, dirsOnly): 3407 '''void KDirLister.setDirOnlyMode(bool dirsOnly)''' 3408 def dirOnlyMode(self): 3409 '''bool KDirLister.dirOnlyMode()''' 3410 return bool() 3411 def setShowingDotFiles(self, _showDotFiles): 3412 '''void KDirLister.setShowingDotFiles(bool _showDotFiles)''' 3413 def showingDotFiles(self): 3414 '''bool KDirLister.showingDotFiles()''' 3415 return bool() 3416 def setAutoErrorHandlingEnabled(self, enable, parent): 3417 '''void KDirLister.setAutoErrorHandlingEnabled(bool enable, QWidget parent)''' 3418 def autoErrorHandlingEnabled(self): 3419 '''bool KDirLister.autoErrorHandlingEnabled()''' 3420 return bool() 3421 def setAutoUpdate(self, enable): 3422 '''void KDirLister.setAutoUpdate(bool enable)''' 3423 def autoUpdate(self): 3424 '''bool KDirLister.autoUpdate()''' 3425 return bool() 3426 def setDelayedMimeTypes(self, delayedMimeTypes): 3427 '''void KDirLister.setDelayedMimeTypes(bool delayedMimeTypes)''' 3428 def delayedMimeTypes(self): 3429 '''bool KDirLister.delayedMimeTypes()''' 3430 return bool() 3431 def stop(self): 3432 '''void KDirLister.stop()''' 3433 def stop(self, _url): 3434 '''void KDirLister.stop(KUrl _url)''' 3435 def openUrl(self, _url, _flags = None): 3436 '''bool KDirLister.openUrl(KUrl _url, KDirLister.OpenUrlFlags _flags = KDirLister.NoFlags)''' 3437 return bool() 3438 class OpenUrlFlags(): 3439 """""" 3440 def __init__(self): 3441 '''KDirLister.OpenUrlFlags KDirLister.OpenUrlFlags.__init__()''' 3442 return KDirLister.OpenUrlFlags() 3443 def __init__(self): 3444 '''int KDirLister.OpenUrlFlags.__init__()''' 3445 return int() 3446 def __init__(self): 3447 '''void KDirLister.OpenUrlFlags.__init__()''' 3448 def __bool__(self): 3449 '''int KDirLister.OpenUrlFlags.__bool__()''' 3450 return int() 3451 def __ne__(self, f): 3452 '''bool KDirLister.OpenUrlFlags.__ne__(KDirLister.OpenUrlFlags f)''' 3453 return bool() 3454 def __eq__(self, f): 3455 '''bool KDirLister.OpenUrlFlags.__eq__(KDirLister.OpenUrlFlags f)''' 3456 return bool() 3457 def __invert__(self): 3458 '''KDirLister.OpenUrlFlags KDirLister.OpenUrlFlags.__invert__()''' 3459 return KDirLister.OpenUrlFlags() 3460 def __and__(self, mask): 3461 '''KDirLister.OpenUrlFlags KDirLister.OpenUrlFlags.__and__(int mask)''' 3462 return KDirLister.OpenUrlFlags() 3463 def __xor__(self, f): 3464 '''KDirLister.OpenUrlFlags KDirLister.OpenUrlFlags.__xor__(KDirLister.OpenUrlFlags f)''' 3465 return KDirLister.OpenUrlFlags() 3466 def __xor__(self, f): 3467 '''KDirLister.OpenUrlFlags KDirLister.OpenUrlFlags.__xor__(int f)''' 3468 return KDirLister.OpenUrlFlags() 3469 def __or__(self, f): 3470 '''KDirLister.OpenUrlFlags KDirLister.OpenUrlFlags.__or__(KDirLister.OpenUrlFlags f)''' 3471 return KDirLister.OpenUrlFlags() 3472 def __or__(self, f): 3473 '''KDirLister.OpenUrlFlags KDirLister.OpenUrlFlags.__or__(int f)''' 3474 return KDirLister.OpenUrlFlags() 3475 def __int__(self): 3476 '''int KDirLister.OpenUrlFlags.__int__()''' 3477 return int() 3478 def __ixor__(self, f): 3479 '''KDirLister.OpenUrlFlags KDirLister.OpenUrlFlags.__ixor__(KDirLister.OpenUrlFlags f)''' 3480 return KDirLister.OpenUrlFlags() 3481 def __ior__(self, f): 3482 '''KDirLister.OpenUrlFlags KDirLister.OpenUrlFlags.__ior__(KDirLister.OpenUrlFlags f)''' 3483 return KDirLister.OpenUrlFlags() 3484 def __iand__(self, mask): 3485 '''KDirLister.OpenUrlFlags KDirLister.OpenUrlFlags.__iand__(int mask)''' 3486 return KDirLister.OpenUrlFlags() 3487 3488 3489 class KDirModel(QAbstractItemModel): 3490 """""" 3491 # Enum KDirModel.DropsAllowedFlag 3492 NoDrops = 0 3493 DropOnDirectory = 0 3494 DropOnAnyFile = 0 3495 DropOnLocalExecutable = 0 3496 3497 # Enum KDirModel.AdditionalRoles 3498 FileItemRole = 0 3499 ChildCountRole = 0 3500 HasJobRole = 0 3501 3502 ChildCountUnknown = None # int - member 3503 # Enum KDirModel.ModelColumns 3504 Name = 0 3505 Size = 0 3506 ModifiedTime = 0 3507 Permissions = 0 3508 Owner = 0 3509 Group = 0 3510 Type = 0 3511 ColumnCount = 0 3512 3513 def __init__(self, parent = None): 3514 '''void KDirModel.__init__(QObject parent = None)''' 3515 def jobTransfersVisible(self): 3516 '''bool KDirModel.jobTransfersVisible()''' 3517 return bool() 3518 def setJobTransfersVisible(self, value): 3519 '''void KDirModel.setJobTransfersVisible(bool value)''' 3520 needSequenceIcon = pyqtSignal() # void needSequenceIcon(const QModelIndexamp;,int) - signal 3521 expand = pyqtSignal() # void expand(const QModelIndexamp;) - signal 3522 def requestSequenceIcon(self, index, sequenceIndex): 3523 '''void KDirModel.requestSequenceIcon(QModelIndex index, int sequenceIndex)''' 3524 def simplifiedUrlList(self, urls): 3525 '''static KUrl.List KDirModel.simplifiedUrlList(KUrl.List urls)''' 3526 return KUrl.List() 3527 def sort(self, column, order = None): 3528 '''void KDirModel.sort(int column, Qt.SortOrder order = Qt.AscendingOrder)''' 3529 def setData(self, index, value, role = None): 3530 '''bool KDirModel.setData(QModelIndex index, QVariant value, int role = Qt.EditRole)''' 3531 return bool() 3532 def rowCount(self, parent = QModelIndex()): 3533 '''int KDirModel.rowCount(QModelIndex parent = QModelIndex())''' 3534 return int() 3535 def parent(self, index): 3536 '''QModelIndex KDirModel.parent(QModelIndex index)''' 3537 return QModelIndex() 3538 def mimeTypes(self): 3539 '''QStringList KDirModel.mimeTypes()''' 3540 return QStringList() 3541 def mimeData(self, indexes): 3542 '''QMimeData KDirModel.mimeData(list-of-QModelIndex indexes)''' 3543 return QMimeData() 3544 def index(self, row, column, parent = QModelIndex()): 3545 '''QModelIndex KDirModel.index(int row, int column, QModelIndex parent = QModelIndex())''' 3546 return QModelIndex() 3547 def headerData(self, section, orientation, role = None): 3548 '''QVariant KDirModel.headerData(int section, Qt.Orientation orientation, int role = Qt.DisplayRole)''' 3549 return QVariant() 3550 def hasChildren(self, parent = QModelIndex()): 3551 '''bool KDirModel.hasChildren(QModelIndex parent = QModelIndex())''' 3552 return bool() 3553 def flags(self, index): 3554 '''Qt.ItemFlags KDirModel.flags(QModelIndex index)''' 3555 return Qt.ItemFlags() 3556 def fetchMore(self, parent): 3557 '''void KDirModel.fetchMore(QModelIndex parent)''' 3558 def dropMimeData(self, data, action, row, column, parent): 3559 '''bool KDirModel.dropMimeData(QMimeData data, Qt.DropAction action, int row, int column, QModelIndex parent)''' 3560 return bool() 3561 def data(self, index, role = None): 3562 '''QVariant KDirModel.data(QModelIndex index, int role = Qt.DisplayRole)''' 3563 return QVariant() 3564 def columnCount(self, parent = QModelIndex()): 3565 '''int KDirModel.columnCount(QModelIndex parent = QModelIndex())''' 3566 return int() 3567 def canFetchMore(self, parent): 3568 '''bool KDirModel.canFetchMore(QModelIndex parent)''' 3569 return bool() 3570 def setDropsAllowed(self, dropsAllowed): 3571 '''void KDirModel.setDropsAllowed(KDirModel.DropsAllowed dropsAllowed)''' 3572 def itemChanged(self, index): 3573 '''void KDirModel.itemChanged(QModelIndex index)''' 3574 def expandToUrl(self, url): 3575 '''void KDirModel.expandToUrl(KUrl url)''' 3576 def indexForUrl(self, url): 3577 '''QModelIndex KDirModel.indexForUrl(KUrl url)''' 3578 return QModelIndex() 3579 def indexForItem(self): 3580 '''KFileItem KDirModel.indexForItem()''' 3581 return KFileItem() 3582 def indexForItem(self): 3583 '''KFileItem KDirModel.indexForItem()''' 3584 return KFileItem() 3585 def itemForIndex(self, index): 3586 '''KFileItem KDirModel.itemForIndex(QModelIndex index)''' 3587 return KFileItem() 3588 def dirLister(self): 3589 '''KDirLister KDirModel.dirLister()''' 3590 return KDirLister() 3591 def setDirLister(self, dirLister): 3592 '''void KDirModel.setDirLister(KDirLister dirLister)''' 3593 class DropsAllowed(): 3594 """""" 3595 def __init__(self): 3596 '''KDirModel.DropsAllowed KDirModel.DropsAllowed.__init__()''' 3597 return KDirModel.DropsAllowed() 3598 def __init__(self): 3599 '''int KDirModel.DropsAllowed.__init__()''' 3600 return int() 3601 def __init__(self): 3602 '''void KDirModel.DropsAllowed.__init__()''' 3603 def __bool__(self): 3604 '''int KDirModel.DropsAllowed.__bool__()''' 3605 return int() 3606 def __ne__(self, f): 3607 '''bool KDirModel.DropsAllowed.__ne__(KDirModel.DropsAllowed f)''' 3608 return bool() 3609 def __eq__(self, f): 3610 '''bool KDirModel.DropsAllowed.__eq__(KDirModel.DropsAllowed f)''' 3611 return bool() 3612 def __invert__(self): 3613 '''KDirModel.DropsAllowed KDirModel.DropsAllowed.__invert__()''' 3614 return KDirModel.DropsAllowed() 3615 def __and__(self, mask): 3616 '''KDirModel.DropsAllowed KDirModel.DropsAllowed.__and__(int mask)''' 3617 return KDirModel.DropsAllowed() 3618 def __xor__(self, f): 3619 '''KDirModel.DropsAllowed KDirModel.DropsAllowed.__xor__(KDirModel.DropsAllowed f)''' 3620 return KDirModel.DropsAllowed() 3621 def __xor__(self, f): 3622 '''KDirModel.DropsAllowed KDirModel.DropsAllowed.__xor__(int f)''' 3623 return KDirModel.DropsAllowed() 3624 def __or__(self, f): 3625 '''KDirModel.DropsAllowed KDirModel.DropsAllowed.__or__(KDirModel.DropsAllowed f)''' 3626 return KDirModel.DropsAllowed() 3627 def __or__(self, f): 3628 '''KDirModel.DropsAllowed KDirModel.DropsAllowed.__or__(int f)''' 3629 return KDirModel.DropsAllowed() 3630 def __int__(self): 3631 '''int KDirModel.DropsAllowed.__int__()''' 3632 return int() 3633 def __ixor__(self, f): 3634 '''KDirModel.DropsAllowed KDirModel.DropsAllowed.__ixor__(KDirModel.DropsAllowed f)''' 3635 return KDirModel.DropsAllowed() 3636 def __ior__(self, f): 3637 '''KDirModel.DropsAllowed KDirModel.DropsAllowed.__ior__(KDirModel.DropsAllowed f)''' 3638 return KDirModel.DropsAllowed() 3639 def __iand__(self, mask): 3640 '''KDirModel.DropsAllowed KDirModel.DropsAllowed.__iand__(int mask)''' 3641 return KDirModel.DropsAllowed() 3642 3643 3644 class KDirOperator(QWidget): 3645 """""" 3646 # Enum KDirOperator.ActionType 3647 SortActions = 0 3648 ViewActions = 0 3649 NavActions = 0 3650 FileActions = 0 3651 AllActions = 0 3652 3653 def __init__(self, urlName = KUrl(), parent = None): 3654 '''void KDirOperator.__init__(KUrl urlName = KUrl(), QWidget parent = None)''' 3655 def keyPressEvent(self, event): 3656 '''void KDirOperator.keyPressEvent(QKeyEvent event)''' 3657 def newFileMenuSupportedMimeTypes(self): 3658 '''QStringList KDirOperator.newFileMenuSupportedMimeTypes()''' 3659 return QStringList() 3660 def setNewFileMenuSupportedMimeTypes(self, mime): 3661 '''void KDirOperator.setNewFileMenuSupportedMimeTypes(QStringList mime)''' 3662 currentIconSizeChanged = pyqtSignal() # void currentIconSizeChanged(int) - signal 3663 contextMenuAboutToShow = pyqtSignal() # void contextMenuAboutToShow(const KFileItemamp;,QMenu *) - signal 3664 dropped = pyqtSignal() # void dropped(const KFileItemamp;,QDropEvent *,const KUrl::Listamp;) - signal 3665 fileSelected = pyqtSignal() # void fileSelected(const KFileItemamp;) - signal 3666 dirActivated = pyqtSignal() # void dirActivated(const KFileItemamp;) - signal 3667 fileHighlighted = pyqtSignal() # void fileHighlighted(const KFileItemamp;) - signal 3668 viewChanged = pyqtSignal() # void viewChanged(QAbstractItemView *) - signal 3669 finishedLoading = pyqtSignal() # void finishedLoading() - signal 3670 completion = pyqtSignal() # void completion(const QStringamp;) - signal 3671 updateInformation = pyqtSignal() # void updateInformation(int,int) - signal 3672 urlEntered = pyqtSignal() # void urlEntered(const KUrlamp;) - signal 3673 def slotCompletionMatch(self, match): 3674 '''void KDirOperator.slotCompletionMatch(QString match)''' 3675 def toggleIgnoreCase(self): 3676 '''void KDirOperator.toggleIgnoreCase()''' 3677 def toggleDirsFirst(self): 3678 '''void KDirOperator.toggleDirsFirst()''' 3679 def sortReversed(self): 3680 '''void KDirOperator.sortReversed()''' 3681 def sortByType(self): 3682 '''void KDirOperator.sortByType()''' 3683 def sortByDate(self): 3684 '''void KDirOperator.sortByDate()''' 3685 def sortBySize(self): 3686 '''void KDirOperator.sortBySize()''' 3687 def sortByName(self): 3688 '''void KDirOperator.sortByName()''' 3689 def highlightFile(self, item): 3690 '''void KDirOperator.highlightFile(KFileItem item)''' 3691 def selectFile(self, item): 3692 '''void KDirOperator.selectFile(KFileItem item)''' 3693 def selectDir(self, item): 3694 '''void KDirOperator.selectDir(KFileItem item)''' 3695 def pathChanged(self): 3696 '''void KDirOperator.pathChanged()''' 3697 def resetCursor(self): 3698 '''void KDirOperator.resetCursor()''' 3699 def setIconsZoom(self, value): 3700 '''void KDirOperator.setIconsZoom(int value)''' 3701 def trashSelected(self): 3702 '''void KDirOperator.trashSelected()''' 3703 def makeDirCompletion(self): 3704 '''QString KDirOperator.makeDirCompletion()''' 3705 return QString() 3706 def makeCompletion(self): 3707 '''QString KDirOperator.makeCompletion()''' 3708 return QString() 3709 def updateSelectionDependentActions(self): 3710 '''void KDirOperator.updateSelectionDependentActions()''' 3711 def deleteSelected(self): 3712 '''void KDirOperator.deleteSelected()''' 3713 def rereadDir(self): 3714 '''void KDirOperator.rereadDir()''' 3715 def updateDir(self): 3716 '''void KDirOperator.updateDir()''' 3717 def cdUp(self): 3718 '''void KDirOperator.cdUp()''' 3719 def home(self): 3720 '''void KDirOperator.home()''' 3721 def forward(self): 3722 '''void KDirOperator.forward()''' 3723 def back(self): 3724 '''void KDirOperator.back()''' 3725 def eventFilter(self, watched, event): 3726 '''bool KDirOperator.eventFilter(QObject watched, QEvent event)''' 3727 return bool() 3728 def changeEvent(self, event): 3729 '''void KDirOperator.changeEvent(QEvent event)''' 3730 def activatedMenu(self, item, pos): 3731 '''void KDirOperator.activatedMenu(KFileItem item, QPoint pos)''' 3732 def checkPreviewSupport(self): 3733 '''bool KDirOperator.checkPreviewSupport()''' 3734 return bool() 3735 def prepareCompletionObjects(self): 3736 '''void KDirOperator.prepareCompletionObjects()''' 3737 def updateViewActions(self): 3738 '''void KDirOperator.updateViewActions()''' 3739 def updateSortActions(self): 3740 '''void KDirOperator.updateSortActions()''' 3741 def setupActions(self): 3742 '''void KDirOperator.setupActions()''' 3743 def resizeEvent(self, event): 3744 '''void KDirOperator.resizeEvent(QResizeEvent event)''' 3745 def setDirLister(self, lister): 3746 '''void KDirOperator.setDirLister(KDirLister lister)''' 3747 def createView(self, parent, viewKind): 3748 '''QAbstractItemView KDirOperator.createView(QWidget parent, KFile.FileView viewKind)''' 3749 return QAbstractItemView() 3750 def isSaving(self): 3751 '''bool KDirOperator.isSaving()''' 3752 return bool() 3753 def setIsSaving(self, isSaving): 3754 '''void KDirOperator.setIsSaving(bool isSaving)''' 3755 def iconsZoom(self): 3756 '''int KDirOperator.iconsZoom()''' 3757 return int() 3758 def isInlinePreviewShown(self): 3759 '''bool KDirOperator.isInlinePreviewShown()''' 3760 return bool() 3761 def setDecorationPosition(self, position): 3762 '''void KDirOperator.setDecorationPosition(QStyleOptionViewItem.Position position)''' 3763 def decorationPosition(self): 3764 '''QStyleOptionViewItem.Position KDirOperator.decorationPosition()''' 3765 return QStyleOptionViewItem.Position() 3766 def setInlinePreviewShown(self, show): 3767 '''void KDirOperator.setInlinePreviewShown(bool show)''' 3768 def previewGenerator(self): 3769 '''KFilePreviewGenerator KDirOperator.previewGenerator()''' 3770 return KFilePreviewGenerator() 3771 def trash(self, items, parent, ask = True, showProgress = True): 3772 '''KIO.CopyJob KDirOperator.trash(KFileItemList items, QWidget parent, bool ask = True, bool showProgress = True)''' 3773 return KIO.CopyJob() 3774 def setDropOptions(self, options): 3775 '''void KDirOperator.setDropOptions(int options)''' 3776 def setAcceptDrops(self, b): 3777 '''void KDirOperator.setAcceptDrops(bool b)''' 3778 def setupMenu(self, whichActions): 3779 '''void KDirOperator.setupMenu(int whichActions)''' 3780 def setupMenu(self): 3781 '''void KDirOperator.setupMenu()''' 3782 def dirOnlyMode(self): 3783 '''bool KDirOperator.dirOnlyMode()''' 3784 return bool() 3785 def dirOnlyMode(self, mode): 3786 '''static bool KDirOperator.dirOnlyMode(int mode)''' 3787 return bool() 3788 def dirHighlighting(self): 3789 '''bool KDirOperator.dirHighlighting()''' 3790 return bool() 3791 def setEnableDirHighlighting(self, enable): 3792 '''void KDirOperator.setEnableDirHighlighting(bool enable)''' 3793 def clearHistory(self): 3794 '''void KDirOperator.clearHistory()''' 3795 def del_(self, items, parent = None, ask = True, showProgress = True): 3796 '''KIO.DeleteJob KDirOperator.del_(KFileItemList items, QWidget parent = None, bool ask = True, bool showProgress = True)''' 3797 return KIO.DeleteJob() 3798 def mkdir(self, directory, enterDirectory = True): 3799 '''bool KDirOperator.mkdir(QString directory, bool enterDirectory = True)''' 3800 return bool() 3801 def mkdir(self): 3802 '''void KDirOperator.mkdir()''' 3803 def onlyDoubleClickSelectsFiles(self): 3804 '''bool KDirOperator.onlyDoubleClickSelectsFiles()''' 3805 return bool() 3806 def setOnlyDoubleClickSelectsFiles(self, enable): 3807 '''void KDirOperator.setOnlyDoubleClickSelectsFiles(bool enable)''' 3808 def writeConfig(self, configGroup): 3809 '''void KDirOperator.writeConfig(KConfigGroup configGroup)''' 3810 def readConfig(self, configGroup): 3811 '''void KDirOperator.readConfig(KConfigGroup configGroup)''' 3812 def viewConfigGroup(self): 3813 '''KConfigGroup KDirOperator.viewConfigGroup()''' 3814 return KConfigGroup() 3815 def setViewConfig(self, configGroup): 3816 '''void KDirOperator.setViewConfig(KConfigGroup configGroup)''' 3817 def actionCollection(self): 3818 '''KActionCollection KDirOperator.actionCollection()''' 3819 return KActionCollection() 3820 def dirCompletionObject(self): 3821 '''KCompletion KDirOperator.dirCompletionObject()''' 3822 return KCompletion() 3823 def completionObject(self): 3824 '''KCompletion KDirOperator.completionObject()''' 3825 return KCompletion() 3826 def numFiles(self): 3827 '''int KDirOperator.numFiles()''' 3828 return int() 3829 def numDirs(self): 3830 '''int KDirOperator.numDirs()''' 3831 return int() 3832 def isSelected(self, item): 3833 '''bool KDirOperator.isSelected(KFileItem item)''' 3834 return bool() 3835 def selectedItems(self): 3836 '''KFileItemList KDirOperator.selectedItems()''' 3837 return KFileItemList() 3838 def setPreviewWidget(self, w): 3839 '''void KDirOperator.setPreviewWidget(KPreviewWidgetBase w)''' 3840 def mode(self): 3841 '''KFile.Modes KDirOperator.mode()''' 3842 return KFile.Modes() 3843 def setMode(self, m): 3844 '''void KDirOperator.setMode(KFile.Modes m)''' 3845 def progressBar(self): 3846 '''QProgressBar KDirOperator.progressBar()''' 3847 return QProgressBar() 3848 def dirLister(self): 3849 '''KDirLister KDirOperator.dirLister()''' 3850 return KDirLister() 3851 def isRoot(self): 3852 '''bool KDirOperator.isRoot()''' 3853 return bool() 3854 def sorting(self): 3855 '''QDir.SortFlags KDirOperator.sorting()''' 3856 return QDir.SortFlags() 3857 def setSorting(self): 3858 '''QDir.SortFlags KDirOperator.setSorting()''' 3859 return QDir.SortFlags() 3860 def view(self): 3861 '''QAbstractItemView KDirOperator.view()''' 3862 return QAbstractItemView() 3863 def setView(self, view): 3864 '''void KDirOperator.setView(QAbstractItemView view)''' 3865 def setView(self, viewKind): 3866 '''void KDirOperator.setView(KFile.FileView viewKind)''' 3867 def setCurrentItems(self, urls): 3868 '''void KDirOperator.setCurrentItems(QStringList urls)''' 3869 def setCurrentItems(self, items): 3870 '''void KDirOperator.setCurrentItems(KFileItemList items)''' 3871 def setCurrentItem(self, url): 3872 '''void KDirOperator.setCurrentItem(QString url)''' 3873 def setCurrentItem(self, item): 3874 '''void KDirOperator.setCurrentItem(KFileItem item)''' 3875 def setUrl(self, url, clearforward): 3876 '''void KDirOperator.setUrl(KUrl url, bool clearforward)''' 3877 def url(self): 3878 '''KUrl KDirOperator.url()''' 3879 return KUrl() 3880 def clearFilter(self): 3881 '''void KDirOperator.clearFilter()''' 3882 def mimeFilter(self): 3883 '''QStringList KDirOperator.mimeFilter()''' 3884 return QStringList() 3885 def setMimeFilter(self, mimetypes): 3886 '''void KDirOperator.setMimeFilter(QStringList mimetypes)''' 3887 def nameFilter(self): 3888 '''QString KDirOperator.nameFilter()''' 3889 return QString() 3890 def setNameFilter(self, filter): 3891 '''void KDirOperator.setNameFilter(QString filter)''' 3892 def close(self): 3893 '''void KDirOperator.close()''' 3894 def showHiddenFiles(self): 3895 '''bool KDirOperator.showHiddenFiles()''' 3896 return bool() 3897 def setShowHiddenFiles(self, s): 3898 '''void KDirOperator.setShowHiddenFiles(bool s)''' 3899 3900 3901 class KDirSelectDialog(KDialog): 3902 """""" 3903 def __init__(self, startDir = KUrl(), localOnly = False, parent = None): 3904 '''void KDirSelectDialog.__init__(KUrl startDir = KUrl(), bool localOnly = False, QWidget parent = None)''' 3905 def hideEvent(self, event): 3906 '''void KDirSelectDialog.hideEvent(QHideEvent event)''' 3907 def accept(self): 3908 '''void KDirSelectDialog.accept()''' 3909 def setCurrentUrl(self, url): 3910 '''void KDirSelectDialog.setCurrentUrl(KUrl url)''' 3911 def startDir(self): 3912 '''KUrl KDirSelectDialog.startDir()''' 3913 return KUrl() 3914 def selectDirectory(self, startDir = KUrl(), localOnly = False, parent = None, caption = QString()): 3915 '''static KUrl KDirSelectDialog.selectDirectory(KUrl startDir = KUrl(), bool localOnly = False, QWidget parent = None, QString caption = QString())''' 3916 return KUrl() 3917 def localOnly(self): 3918 '''bool KDirSelectDialog.localOnly()''' 3919 return bool() 3920 def view(self): 3921 '''QAbstractItemView KDirSelectDialog.view()''' 3922 return QAbstractItemView() 3923 def url(self): 3924 '''KUrl KDirSelectDialog.url()''' 3925 return KUrl() 3926 3927 3928 class KDirSortFilterProxyModel(KCategorizedSortFilterProxyModel): 3929 """""" 3930 def __init__(self, parent = None): 3931 '''void KDirSortFilterProxyModel.__init__(QObject parent = None)''' 3932 def subSortLessThan(self, left, right): 3933 '''bool KDirSortFilterProxyModel.subSortLessThan(QModelIndex left, QModelIndex right)''' 3934 return bool() 3935 def sortFoldersFirst(self): 3936 '''bool KDirSortFilterProxyModel.sortFoldersFirst()''' 3937 return bool() 3938 def setSortFoldersFirst(self, foldersFirst): 3939 '''void KDirSortFilterProxyModel.setSortFoldersFirst(bool foldersFirst)''' 3940 def pointsForPermissions(self, info): 3941 '''static int KDirSortFilterProxyModel.pointsForPermissions(QFileInfo info)''' 3942 return int() 3943 def canFetchMore(self, parent): 3944 '''bool KDirSortFilterProxyModel.canFetchMore(QModelIndex parent)''' 3945 return bool() 3946 def hasChildren(self, parent = QModelIndex()): 3947 '''bool KDirSortFilterProxyModel.hasChildren(QModelIndex parent = QModelIndex())''' 3948 return bool() 3949 3950 3951 class KDirWatch(QObject): 3952 """""" 3953 # Enum KDirWatch.Method 3954 FAM = 0 3955 INotify = 0 3956 DNotify = 0 3957 Stat = 0 3958 3959 # Enum KDirWatch.WatchMode 3960 WatchDirOnly = 0 3961 WatchFiles = 0 3962 WatchSubDirs = 0 3963 3964 def __init__(self, parent = None): 3965 '''void KDirWatch.__init__(QObject parent = None)''' 3966 deleted = pyqtSignal() # void deleted(const QStringamp;) - signal 3967 created = pyqtSignal() # void created(const QStringamp;) - signal 3968 dirty = pyqtSignal() # void dirty(const QStringamp;) - signal 3969 def exists(self): 3970 '''static bool KDirWatch.exists()''' 3971 return bool() 3972 def self(self): 3973 '''static KDirWatch KDirWatch.self()''' 3974 return KDirWatch() 3975 def internalMethod(self): 3976 '''KDirWatch.Method KDirWatch.internalMethod()''' 3977 return KDirWatch.Method() 3978 def setDeleted(self, path): 3979 '''void KDirWatch.setDeleted(QString path)''' 3980 def setDirty(self, path): 3981 '''void KDirWatch.setDirty(QString path)''' 3982 def setCreated(self, path): 3983 '''void KDirWatch.setCreated(QString path)''' 3984 def statistics(self): 3985 '''static void KDirWatch.statistics()''' 3986 def contains(self, path): 3987 '''bool KDirWatch.contains(QString path)''' 3988 return bool() 3989 def isStopped(self): 3990 '''bool KDirWatch.isStopped()''' 3991 return bool() 3992 def stopScan(self): 3993 '''void KDirWatch.stopScan()''' 3994 def startScan(self, notify = False, skippedToo = False): 3995 '''void KDirWatch.startScan(bool notify = False, bool skippedToo = False)''' 3996 def restartDirScan(self, path): 3997 '''bool KDirWatch.restartDirScan(QString path)''' 3998 return bool() 3999 def stopDirScan(self, path): 4000 '''bool KDirWatch.stopDirScan(QString path)''' 4001 return bool() 4002 def removeFile(self, file): 4003 '''void KDirWatch.removeFile(QString file)''' 4004 def removeDir(self, path): 4005 '''void KDirWatch.removeDir(QString path)''' 4006 def ctime(self, path): 4007 '''QDateTime KDirWatch.ctime(QString path)''' 4008 return QDateTime() 4009 def addFile(self, file): 4010 '''void KDirWatch.addFile(QString file)''' 4011 def addDir(self, path, watchModes = None): 4012 '''void KDirWatch.addDir(QString path, KDirWatch.WatchModes watchModes = KDirWatch.WatchDirOnly)''' 4013 class WatchModes(): 4014 """""" 4015 def __init__(self): 4016 '''KDirWatch.WatchModes KDirWatch.WatchModes.__init__()''' 4017 return KDirWatch.WatchModes() 4018 def __init__(self): 4019 '''int KDirWatch.WatchModes.__init__()''' 4020 return int() 4021 def __init__(self): 4022 '''void KDirWatch.WatchModes.__init__()''' 4023 def __bool__(self): 4024 '''int KDirWatch.WatchModes.__bool__()''' 4025 return int() 4026 def __ne__(self, f): 4027 '''bool KDirWatch.WatchModes.__ne__(KDirWatch.WatchModes f)''' 4028 return bool() 4029 def __eq__(self, f): 4030 '''bool KDirWatch.WatchModes.__eq__(KDirWatch.WatchModes f)''' 4031 return bool() 4032 def __invert__(self): 4033 '''KDirWatch.WatchModes KDirWatch.WatchModes.__invert__()''' 4034 return KDirWatch.WatchModes() 4035 def __and__(self, mask): 4036 '''KDirWatch.WatchModes KDirWatch.WatchModes.__and__(int mask)''' 4037 return KDirWatch.WatchModes() 4038 def __xor__(self, f): 4039 '''KDirWatch.WatchModes KDirWatch.WatchModes.__xor__(KDirWatch.WatchModes f)''' 4040 return KDirWatch.WatchModes() 4041 def __xor__(self, f): 4042 '''KDirWatch.WatchModes KDirWatch.WatchModes.__xor__(int f)''' 4043 return KDirWatch.WatchModes() 4044 def __or__(self, f): 4045 '''KDirWatch.WatchModes KDirWatch.WatchModes.__or__(KDirWatch.WatchModes f)''' 4046 return KDirWatch.WatchModes() 4047 def __or__(self, f): 4048 '''KDirWatch.WatchModes KDirWatch.WatchModes.__or__(int f)''' 4049 return KDirWatch.WatchModes() 4050 def __int__(self): 4051 '''int KDirWatch.WatchModes.__int__()''' 4052 return int() 4053 def __ixor__(self, f): 4054 '''KDirWatch.WatchModes KDirWatch.WatchModes.__ixor__(KDirWatch.WatchModes f)''' 4055 return KDirWatch.WatchModes() 4056 def __ior__(self, f): 4057 '''KDirWatch.WatchModes KDirWatch.WatchModes.__ior__(KDirWatch.WatchModes f)''' 4058 return KDirWatch.WatchModes() 4059 def __iand__(self, mask): 4060 '''KDirWatch.WatchModes KDirWatch.WatchModes.__iand__(int mask)''' 4061 return KDirWatch.WatchModes() 4062 4063 4064 class KDiskFreeSpace(QObject): 4065 """""" 4066 def __init__(self, parent = None): 4067 '''void KDiskFreeSpace.__init__(QObject parent = None)''' 4068 done = pyqtSignal() # void done() - signal 4069 foundMountPoint = pyqtSignal() # void foundMountPoint(const QStringamp;,quint64,quint64,quint64) - signal 4070 def findUsageInfo(self, path): 4071 '''static KDiskFreeSpace KDiskFreeSpace.findUsageInfo(QString path)''' 4072 return KDiskFreeSpace() 4073 def readDF(self, mountPoint): 4074 '''bool KDiskFreeSpace.readDF(QString mountPoint)''' 4075 return bool() 4076 4077 4078 class KDiskFreeSpaceInfo(): 4079 """""" 4080 def __init__(self): 4081 '''KDiskFreeSpaceInfo KDiskFreeSpaceInfo.__init__()''' 4082 return KDiskFreeSpaceInfo() 4083 def freeSpaceInfo(self, path): 4084 '''static KDiskFreeSpaceInfo KDiskFreeSpaceInfo.freeSpaceInfo(QString path)''' 4085 return KDiskFreeSpaceInfo() 4086 def used(self): 4087 '''int KDiskFreeSpaceInfo.used()''' 4088 return int() 4089 def available(self): 4090 '''int KDiskFreeSpaceInfo.available()''' 4091 return int() 4092 def size(self): 4093 '''int KDiskFreeSpaceInfo.size()''' 4094 return int() 4095 def mountPoint(self): 4096 '''QString KDiskFreeSpaceInfo.mountPoint()''' 4097 return QString() 4098 def isValid(self): 4099 '''bool KDiskFreeSpaceInfo.isValid()''' 4100 return bool() 4101 4102 4103 class KEMailSettings(): 4104 """""" 4105 # Enum KEMailSettings.Extension 4106 POP3 = 0 4107 SMTP = 0 4108 OTHER = 0 4109 4110 # Enum KEMailSettings.Setting 4111 ClientProgram = 0 4112 ClientTerminal = 0 4113 RealName = 0 4114 EmailAddress = 0 4115 ReplyToAddress = 0 4116 Organization = 0 4117 OutServer = 0 4118 OutServerLogin = 0 4119 OutServerPass = 0 4120 OutServerType = 0 4121 OutServerCommand = 0 4122 OutServerTLS = 0 4123 InServer = 0 4124 InServerLogin = 0 4125 InServerPass = 0 4126 InServerType = 0 4127 InServerMBXType = 0 4128 InServerTLS = 0 4129 4130 def __init__(self): 4131 '''void KEMailSettings.__init__()''' 4132 def setSetting(self, s, v): 4133 '''void KEMailSettings.setSetting(KEMailSettings.Setting s, QString v)''' 4134 def getSetting(self, s): 4135 '''QString KEMailSettings.getSetting(KEMailSettings.Setting s)''' 4136 return QString() 4137 def setDefault(self, def_): 4138 '''void KEMailSettings.setDefault(QString def)''' 4139 def defaultProfileName(self): 4140 '''QString KEMailSettings.defaultProfileName()''' 4141 return QString() 4142 def setProfile(self, s): 4143 '''void KEMailSettings.setProfile(QString s)''' 4144 def currentProfileName(self): 4145 '''QString KEMailSettings.currentProfileName()''' 4146 return QString() 4147 def profiles(self): 4148 '''QStringList KEMailSettings.profiles()''' 4149 return QStringList() 4150 4151 4152 class KFileDialog(KDialog): 4153 """""" 4154 # Enum KFileDialog.Option 4155 ConfirmOverwrite = 0 4156 ShowInlinePreview = 0 4157 4158 # Enum KFileDialog.OperationMode 4159 Other = 0 4160 Opening = 0 4161 Saving = 0 4162 4163 def __init__(self, startDir, filter, parent, widget = None): 4164 '''void KFileDialog.__init__(KUrl startDir, QString filter, QWidget parent, QWidget widget = None)''' 4165 def slotCancel(self): 4166 '''void KFileDialog.slotCancel()''' 4167 def accept(self): 4168 '''void KFileDialog.accept()''' 4169 def slotOk(self): 4170 '''void KFileDialog.slotOk()''' 4171 def hideEvent(self, event): 4172 '''void KFileDialog.hideEvent(QHideEvent event)''' 4173 def keyPressEvent(self, e): 4174 '''void KFileDialog.keyPressEvent(QKeyEvent e)''' 4175 filterChanged = pyqtSignal() # void filterChanged(const QStringamp;) - signal 4176 selectionChanged = pyqtSignal() # void selectionChanged() - signal 4177 fileHighlighted = pyqtSignal() # void fileHighlighted(const QStringamp;) - signal 4178 fileHighlighted = pyqtSignal() # void fileHighlighted(const KUrlamp;) - signal 4179 fileSelected = pyqtSignal() # void fileSelected(const QStringamp;) - signal 4180 fileSelected = pyqtSignal() # void fileSelected(const KUrlamp;) - signal 4181 def setStartDir(self, directory): 4182 '''static void KFileDialog.setStartDir(KUrl directory)''' 4183 def getStartUrl(self, startDir, recentDirClass): 4184 '''static KUrl KFileDialog.getStartUrl(KUrl startDir, QString recentDirClass)''' 4185 return KUrl() 4186 def actionCollection(self): 4187 '''KActionCollection KFileDialog.actionCollection()''' 4188 return KActionCollection() 4189 def filterWidget(self): 4190 '''KFileFilterCombo KFileDialog.filterWidget()''' 4191 return KFileFilterCombo() 4192 def locationEdit(self): 4193 '''KUrlComboBox KFileDialog.locationEdit()''' 4194 return KUrlComboBox() 4195 def cancelButton(self): 4196 '''KPushButton KFileDialog.cancelButton()''' 4197 return KPushButton() 4198 def okButton(self): 4199 '''KPushButton KFileDialog.okButton()''' 4200 return KPushButton() 4201 def toolBar(self): 4202 '''KToolBar KFileDialog.toolBar()''' 4203 return KToolBar() 4204 def fileWidget(self): 4205 '''KAbstractFileWidget KFileDialog.fileWidget()''' 4206 return KAbstractFileWidget() 4207 def setLocationLabel(self, text): 4208 '''void KFileDialog.setLocationLabel(QString text)''' 4209 def mode(self): 4210 '''KFile.Modes KFileDialog.mode()''' 4211 return KFile.Modes() 4212 def setMode(self, m): 4213 '''void KFileDialog.setMode(KFile.Modes m)''' 4214 def getImageOpenUrl(self, startDir = KUrl(), parent = None, caption = QString()): 4215 '''static KUrl KFileDialog.getImageOpenUrl(KUrl startDir = KUrl(), QWidget parent = None, QString caption = QString())''' 4216 return KUrl() 4217 def getExistingDirectoryUrl(self, startDir = KUrl(), parent = None, caption = QString()): 4218 '''static KUrl KFileDialog.getExistingDirectoryUrl(KUrl startDir = KUrl(), QWidget parent = None, QString caption = QString())''' 4219 return KUrl() 4220 def getExistingDirectory(self, startDir = KUrl(), parent = None, caption = QString()): 4221 '''static QString KFileDialog.getExistingDirectory(KUrl startDir = KUrl(), QWidget parent = None, QString caption = QString())''' 4222 return QString() 4223 def getSaveUrl(self, startDir = KUrl(), filter = QString(), parent = None, caption = QString()): 4224 '''static KUrl KFileDialog.getSaveUrl(KUrl startDir = KUrl(), QString filter = QString(), QWidget parent = None, QString caption = QString())''' 4225 return KUrl() 4226 def getSaveUrl(self, startDir, filter, parent, caption, options): 4227 '''static KUrl KFileDialog.getSaveUrl(KUrl startDir, QString filter, QWidget parent, QString caption, KFileDialog.Options options)''' 4228 return KUrl() 4229 def getSaveFileNameWId(self, startDir, filter, parent_id, caption): 4230 '''static QString KFileDialog.getSaveFileNameWId(KUrl startDir, QString filter, int parent_id, QString caption)''' 4231 return QString() 4232 def getSaveFileNameWId(self, startDir, filter, parent_id, caption, options): 4233 '''static QString KFileDialog.getSaveFileNameWId(KUrl startDir, QString filter, int parent_id, QString caption, KFileDialog.Options options)''' 4234 return QString() 4235 def getSaveFileName(self, startDir = KUrl(), filter = QString(), parent = None, caption = QString()): 4236 '''static QString KFileDialog.getSaveFileName(KUrl startDir = KUrl(), QString filter = QString(), QWidget parent = None, QString caption = QString())''' 4237 return QString() 4238 def getSaveFileName(self, startDir, filter, parent, caption, options): 4239 '''static QString KFileDialog.getSaveFileName(KUrl startDir, QString filter, QWidget parent, QString caption, KFileDialog.Options options)''' 4240 return QString() 4241 def getOpenUrls(self, startDir = KUrl(), filter = QString(), parent = None, caption = QString()): 4242 '''static KUrl.List KFileDialog.getOpenUrls(KUrl startDir = KUrl(), QString filter = QString(), QWidget parent = None, QString caption = QString())''' 4243 return KUrl.List() 4244 def getOpenUrl(self, startDir = KUrl(), filter = QString(), parent = None, caption = QString()): 4245 '''static KUrl KFileDialog.getOpenUrl(KUrl startDir = KUrl(), QString filter = QString(), QWidget parent = None, QString caption = QString())''' 4246 return KUrl() 4247 def getOpenFileNames(self, startDir = KUrl(), filter = QString(), parent = None, caption = QString()): 4248 '''static QStringList KFileDialog.getOpenFileNames(KUrl startDir = KUrl(), QString filter = QString(), QWidget parent = None, QString caption = QString())''' 4249 return QStringList() 4250 def getOpenFileNameWId(self, startDir, filter, parent_id, caption): 4251 '''static QString KFileDialog.getOpenFileNameWId(KUrl startDir, QString filter, int parent_id, QString caption)''' 4252 return QString() 4253 def getOpenFileName(self, startDir = KUrl(), filter = QString(), parent = None, caption = QString()): 4254 '''static QString KFileDialog.getOpenFileName(KUrl startDir = KUrl(), QString filter = QString(), QWidget parent = None, QString caption = QString())''' 4255 return QString() 4256 def sizeHint(self): 4257 '''QSize KFileDialog.sizeHint()''' 4258 return QSize() 4259 def setConfirmOverwrite(self, enable): 4260 '''void KFileDialog.setConfirmOverwrite(bool enable)''' 4261 def setInlinePreviewShown(self, show): 4262 '''void KFileDialog.setInlinePreviewShown(bool show)''' 4263 def setPreviewWidget(self, w): 4264 '''void KFileDialog.setPreviewWidget(KPreviewWidgetBase w)''' 4265 def clearFilter(self): 4266 '''void KFileDialog.clearFilter()''' 4267 def currentMimeFilter(self): 4268 '''QString KFileDialog.currentMimeFilter()''' 4269 return QString() 4270 def setMimeFilter(self, types, defaultType = QString()): 4271 '''void KFileDialog.setMimeFilter(QStringList types, QString defaultType = QString())''' 4272 def currentFilterMimeType(self): 4273 '''unknown-type KFileDialog.currentFilterMimeType()''' 4274 return unknown-type() 4275 def currentFilter(self): 4276 '''QString KFileDialog.currentFilter()''' 4277 return QString() 4278 def setFilter(self, filter): 4279 '''void KFileDialog.setFilter(QString filter)''' 4280 def keepsLocation(self): 4281 '''bool KFileDialog.keepsLocation()''' 4282 return bool() 4283 def setKeepLocation(self, keep): 4284 '''void KFileDialog.setKeepLocation(bool keep)''' 4285 def operationMode(self): 4286 '''KFileDialog.OperationMode KFileDialog.operationMode()''' 4287 return KFileDialog.OperationMode() 4288 def setOperationMode(self): 4289 '''KFileDialog.OperationMode KFileDialog.setOperationMode()''' 4290 return KFileDialog.OperationMode() 4291 def setSelection(self, name): 4292 '''void KFileDialog.setSelection(QString name)''' 4293 def setUrl(self, url, clearforward = True): 4294 '''void KFileDialog.setUrl(KUrl url, bool clearforward = True)''' 4295 def selectedFiles(self): 4296 '''QStringList KFileDialog.selectedFiles()''' 4297 return QStringList() 4298 def selectedFile(self): 4299 '''QString KFileDialog.selectedFile()''' 4300 return QString() 4301 def baseUrl(self): 4302 '''KUrl KFileDialog.baseUrl()''' 4303 return KUrl() 4304 def selectedUrls(self): 4305 '''KUrl.List KFileDialog.selectedUrls()''' 4306 return KUrl.List() 4307 def selectedUrl(self): 4308 '''KUrl KFileDialog.selectedUrl()''' 4309 return KUrl() 4310 class Options(): 4311 """""" 4312 def __init__(self): 4313 '''KFileDialog.Options KFileDialog.Options.__init__()''' 4314 return KFileDialog.Options() 4315 def __init__(self): 4316 '''int KFileDialog.Options.__init__()''' 4317 return int() 4318 def __init__(self): 4319 '''void KFileDialog.Options.__init__()''' 4320 def __bool__(self): 4321 '''int KFileDialog.Options.__bool__()''' 4322 return int() 4323 def __ne__(self, f): 4324 '''bool KFileDialog.Options.__ne__(KFileDialog.Options f)''' 4325 return bool() 4326 def __eq__(self, f): 4327 '''bool KFileDialog.Options.__eq__(KFileDialog.Options f)''' 4328 return bool() 4329 def __invert__(self): 4330 '''KFileDialog.Options KFileDialog.Options.__invert__()''' 4331 return KFileDialog.Options() 4332 def __and__(self, mask): 4333 '''KFileDialog.Options KFileDialog.Options.__and__(int mask)''' 4334 return KFileDialog.Options() 4335 def __xor__(self, f): 4336 '''KFileDialog.Options KFileDialog.Options.__xor__(KFileDialog.Options f)''' 4337 return KFileDialog.Options() 4338 def __xor__(self, f): 4339 '''KFileDialog.Options KFileDialog.Options.__xor__(int f)''' 4340 return KFileDialog.Options() 4341 def __or__(self, f): 4342 '''KFileDialog.Options KFileDialog.Options.__or__(KFileDialog.Options f)''' 4343 return KFileDialog.Options() 4344 def __or__(self, f): 4345 '''KFileDialog.Options KFileDialog.Options.__or__(int f)''' 4346 return KFileDialog.Options() 4347 def __int__(self): 4348 '''int KFileDialog.Options.__int__()''' 4349 return int() 4350 def __ixor__(self, f): 4351 '''KFileDialog.Options KFileDialog.Options.__ixor__(KFileDialog.Options f)''' 4352 return KFileDialog.Options() 4353 def __ior__(self, f): 4354 '''KFileDialog.Options KFileDialog.Options.__ior__(KFileDialog.Options f)''' 4355 return KFileDialog.Options() 4356 def __iand__(self, mask): 4357 '''KFileDialog.Options KFileDialog.Options.__iand__(int mask)''' 4358 return KFileDialog.Options() 4359 4360 4361 class KEncodingFileDialog(KFileDialog): 4362 """""" 4363 def __init__(self, startDir = QString(), encoding = QString(), filter = QString(), caption = QString(), type = None, parent = None): 4364 '''void KEncodingFileDialog.__init__(QString startDir = QString(), QString encoding = QString(), QString filter = QString(), QString caption = QString(), KFileDialog.OperationMode type = KFileDialog.Opening, QWidget parent = None)''' 4365 def getSaveUrlAndEncoding(self, encoding = QString(), startDir = QString(), filter = QString(), parent = None, caption = QString()): 4366 '''static KEncodingFileDialog.Result KEncodingFileDialog.getSaveUrlAndEncoding(QString encoding = QString(), QString startDir = QString(), QString filter = QString(), QWidget parent = None, QString caption = QString())''' 4367 return KEncodingFileDialog.Result() 4368 def getSaveFileNameAndEncoding(self, encoding = QString(), startDir = QString(), filter = QString(), parent = None, caption = QString()): 4369 '''static KEncodingFileDialog.Result KEncodingFileDialog.getSaveFileNameAndEncoding(QString encoding = QString(), QString startDir = QString(), QString filter = QString(), QWidget parent = None, QString caption = QString())''' 4370 return KEncodingFileDialog.Result() 4371 def getOpenUrlsAndEncoding(self, encoding = QString(), startDir = QString(), filter = QString(), parent = None, caption = QString()): 4372 '''static KEncodingFileDialog.Result KEncodingFileDialog.getOpenUrlsAndEncoding(QString encoding = QString(), QString startDir = QString(), QString filter = QString(), QWidget parent = None, QString caption = QString())''' 4373 return KEncodingFileDialog.Result() 4374 def getOpenUrlAndEncoding(self, encoding = QString(), startDir = QString(), filter = QString(), parent = None, caption = QString()): 4375 '''static KEncodingFileDialog.Result KEncodingFileDialog.getOpenUrlAndEncoding(QString encoding = QString(), QString startDir = QString(), QString filter = QString(), QWidget parent = None, QString caption = QString())''' 4376 return KEncodingFileDialog.Result() 4377 def getOpenFileNamesAndEncoding(self, encoding = QString(), startDir = QString(), filter = QString(), parent = None, caption = QString()): 4378 '''static KEncodingFileDialog.Result KEncodingFileDialog.getOpenFileNamesAndEncoding(QString encoding = QString(), QString startDir = QString(), QString filter = QString(), QWidget parent = None, QString caption = QString())''' 4379 return KEncodingFileDialog.Result() 4380 def getOpenFileNameAndEncoding(self, encoding = QString(), startDir = QString(), filter = QString(), parent = None, caption = QString()): 4381 '''static KEncodingFileDialog.Result KEncodingFileDialog.getOpenFileNameAndEncoding(QString encoding = QString(), QString startDir = QString(), QString filter = QString(), QWidget parent = None, QString caption = QString())''' 4382 return KEncodingFileDialog.Result() 4383 def selectedEncoding(self): 4384 '''QString KEncodingFileDialog.selectedEncoding()''' 4385 return QString() 4386 class Result(): 4387 """""" 4388 URLs = None # KUrl.List - member 4389 encoding = None # QString - member 4390 fileNames = None # QStringList - member 4391 def __init__(self): 4392 '''void KEncodingFileDialog.Result.__init__()''' 4393 def __init__(self): 4394 '''KEncodingFileDialog.Result KEncodingFileDialog.Result.__init__()''' 4395 return KEncodingFileDialog.Result() 4396 4397 4398 class KFile(): 4399 """""" 4400 # Enum KFile.SelectionMode 4401 Single = 0 4402 Multi = 0 4403 Extended = 0 4404 NoSelection = 0 4405 4406 # Enum KFile.FileView 4407 Default = 0 4408 Simple = 0 4409 Detail = 0 4410 SeparateDirs = 0 4411 PreviewContents = 0 4412 PreviewInfo = 0 4413 Tree = 0 4414 DetailTree = 0 4415 FileViewMax = 0 4416 4417 # Enum KFile.Mode 4418 File = 0 4419 Directory = 0 4420 Files = 0 4421 ExistingOnly = 0 4422 LocalOnly = 0 4423 ModeMax = 0 4424 4425 def __init__(self): 4426 '''KFile KFile.__init__()''' 4427 return KFile() 4428 def isDetailTreeView(self, view): 4429 '''static bool KFile.isDetailTreeView(KFile.FileView view)''' 4430 return bool() 4431 def isTreeView(self, view): 4432 '''static bool KFile.isTreeView(KFile.FileView view)''' 4433 return bool() 4434 def isPreviewInfo(self, view): 4435 '''static bool KFile.isPreviewInfo(KFile.FileView view)''' 4436 return bool() 4437 def isPreviewContents(self, view): 4438 '''static bool KFile.isPreviewContents(KFile.FileView view)''' 4439 return bool() 4440 def isSeparateDirs(self, view): 4441 '''static bool KFile.isSeparateDirs(KFile.FileView view)''' 4442 return bool() 4443 def isDetailView(self, view): 4444 '''static bool KFile.isDetailView(KFile.FileView view)''' 4445 return bool() 4446 def isSimpleView(self, view): 4447 '''static bool KFile.isSimpleView(KFile.FileView view)''' 4448 return bool() 4449 def isDefaultView(self, view): 4450 '''static bool KFile.isDefaultView(KFile.FileView view)''' 4451 return bool() 4452 def isSortCaseInsensitive(self, sort): 4453 '''static bool KFile.isSortCaseInsensitive(QDir.SortFlags sort)''' 4454 return bool() 4455 def isSortDirsFirst(self, sort): 4456 '''static bool KFile.isSortDirsFirst(QDir.SortFlags sort)''' 4457 return bool() 4458 def isSortByType(self, sort): 4459 '''static bool KFile.isSortByType(QDir.SortFlags sort)''' 4460 return bool() 4461 def isSortByDate(self, sort): 4462 '''static bool KFile.isSortByDate(QDir.SortFlags sort)''' 4463 return bool() 4464 def isSortBySize(self, sort): 4465 '''static bool KFile.isSortBySize(QDir.SortFlags sort)''' 4466 return bool() 4467 def isSortByName(self, sort): 4468 '''static bool KFile.isSortByName(QDir.SortFlags sort)''' 4469 return bool() 4470 class Modes(): 4471 """""" 4472 def __init__(self): 4473 '''KFile.Modes KFile.Modes.__init__()''' 4474 return KFile.Modes() 4475 def __init__(self): 4476 '''int KFile.Modes.__init__()''' 4477 return int() 4478 def __init__(self): 4479 '''void KFile.Modes.__init__()''' 4480 def __bool__(self): 4481 '''int KFile.Modes.__bool__()''' 4482 return int() 4483 def __ne__(self, f): 4484 '''bool KFile.Modes.__ne__(KFile.Modes f)''' 4485 return bool() 4486 def __eq__(self, f): 4487 '''bool KFile.Modes.__eq__(KFile.Modes f)''' 4488 return bool() 4489 def __invert__(self): 4490 '''KFile.Modes KFile.Modes.__invert__()''' 4491 return KFile.Modes() 4492 def __and__(self, mask): 4493 '''KFile.Modes KFile.Modes.__and__(int mask)''' 4494 return KFile.Modes() 4495 def __xor__(self, f): 4496 '''KFile.Modes KFile.Modes.__xor__(KFile.Modes f)''' 4497 return KFile.Modes() 4498 def __xor__(self, f): 4499 '''KFile.Modes KFile.Modes.__xor__(int f)''' 4500 return KFile.Modes() 4501 def __or__(self, f): 4502 '''KFile.Modes KFile.Modes.__or__(KFile.Modes f)''' 4503 return KFile.Modes() 4504 def __or__(self, f): 4505 '''KFile.Modes KFile.Modes.__or__(int f)''' 4506 return KFile.Modes() 4507 def __int__(self): 4508 '''int KFile.Modes.__int__()''' 4509 return int() 4510 def __ixor__(self, f): 4511 '''KFile.Modes KFile.Modes.__ixor__(KFile.Modes f)''' 4512 return KFile.Modes() 4513 def __ior__(self, f): 4514 '''KFile.Modes KFile.Modes.__ior__(KFile.Modes f)''' 4515 return KFile.Modes() 4516 def __iand__(self, mask): 4517 '''KFile.Modes KFile.Modes.__iand__(int mask)''' 4518 return KFile.Modes() 4519 4520 4521 class KFileFilterCombo(KComboBox): 4522 """""" 4523 def __init__(self, parent = None): 4524 '''void KFileFilterCombo.__init__(QWidget parent = None)''' 4525 def isMimeFilter(self): 4526 '''bool KFileFilterCombo.isMimeFilter()''' 4527 return bool() 4528 filterChanged = pyqtSignal() # void filterChanged() - signal 4529 def eventFilter(self): 4530 '''QEvent KFileFilterCombo.eventFilter()''' 4531 return QEvent() 4532 def filters(self): 4533 '''QStringList KFileFilterCombo.filters()''' 4534 return QStringList() 4535 def defaultFilter(self): 4536 '''QString KFileFilterCombo.defaultFilter()''' 4537 return QString() 4538 def setDefaultFilter(self, filter): 4539 '''void KFileFilterCombo.setDefaultFilter(QString filter)''' 4540 def showsAllTypes(self): 4541 '''bool KFileFilterCombo.showsAllTypes()''' 4542 return bool() 4543 def setMimeFilter(self, types, defaultType): 4544 '''void KFileFilterCombo.setMimeFilter(QStringList types, QString defaultType)''' 4545 def setCurrentFilter(self, filter): 4546 '''void KFileFilterCombo.setCurrentFilter(QString filter)''' 4547 def currentFilter(self): 4548 '''QString KFileFilterCombo.currentFilter()''' 4549 return QString() 4550 def setFilter(self, filter): 4551 '''void KFileFilterCombo.setFilter(QString filter)''' 4552 4553 4554 class KFileItem(): 4555 """""" 4556 # Enum KFileItem.FileTimes 4557 ModificationTime = 0 4558 AccessTime = 0 4559 CreationTime = 0 4560 4561 Unknown = None # int - member 4562 def __init__(self): 4563 '''void KFileItem.__init__()''' 4564 def __init__(self, entry, itemOrDirUrl, delayedMimeTypes = False, urlIsDirectory = False): 4565 '''void KFileItem.__init__(KIO.UDSEntry entry, KUrl itemOrDirUrl, bool delayedMimeTypes = False, bool urlIsDirectory = False)''' 4566 def __init__(self, mode, permissions, url, delayedMimeTypes = False): 4567 '''void KFileItem.__init__(int mode, int permissions, KUrl url, bool delayedMimeTypes = False)''' 4568 def __init__(self, url, mimeType, mode): 4569 '''void KFileItem.__init__(KUrl url, QString mimeType, int mode)''' 4570 def __init__(self, other): 4571 '''void KFileItem.__init__(KFileItem other)''' 4572 def isSlow(self): 4573 '''bool KFileItem.isSlow()''' 4574 return bool() 4575 def comment(self): 4576 '''QString KFileItem.comment()''' 4577 return QString() 4578 def nepomukUri(self): 4579 '''KUrl KFileItem.nepomukUri()''' 4580 return KUrl() 4581 def isNull(self): 4582 '''bool KFileItem.isNull()''' 4583 return bool() 4584 def mostLocalUrl(self, local): 4585 '''KUrl KFileItem.mostLocalUrl(bool local)''' 4586 return KUrl() 4587 def setUDSEntry(self, entry, url, delayedMimeTypes = False, urlIsDirectory = False): 4588 '''void KFileItem.setUDSEntry(KIO.UDSEntry entry, KUrl url, bool delayedMimeTypes = False, bool urlIsDirectory = False)''' 4589 def assign(self, item): 4590 '''void KFileItem.assign(KFileItem item)''' 4591 def metaInfo(self, autoget = True, what = None): 4592 '''KFileMetaInfo KFileItem.metaInfo(bool autoget = True, int what = KFileMetaInfo.Fastest)''' 4593 return KFileMetaInfo() 4594 def setMetaInfo(self, info): 4595 '''void KFileItem.setMetaInfo(KFileMetaInfo info)''' 4596 def __ne__(self, other): 4597 '''bool KFileItem.__ne__(KFileItem other)''' 4598 return bool() 4599 def __eq__(self, other): 4600 '''bool KFileItem.__eq__(KFileItem other)''' 4601 return bool() 4602 def cmp(self, item): 4603 '''bool KFileItem.cmp(KFileItem item)''' 4604 return bool() 4605 def isRegularFile(self): 4606 '''bool KFileItem.isRegularFile()''' 4607 return bool() 4608 def unmark(self): 4609 '''void KFileItem.unmark()''' 4610 def mark(self): 4611 '''void KFileItem.mark()''' 4612 def isMarked(self): 4613 '''bool KFileItem.isMarked()''' 4614 return bool() 4615 def entry(self): 4616 '''KIO.UDSEntry KFileItem.entry()''' 4617 return KIO.UDSEntry() 4618 def run(self, parentWidget = None): 4619 '''void KFileItem.run(QWidget parentWidget = None)''' 4620 def acceptsDrops(self): 4621 '''bool KFileItem.acceptsDrops()''' 4622 return bool() 4623 def getToolTipText(self, maxcount = 6): 4624 '''QString KFileItem.getToolTipText(int maxcount = 6)''' 4625 return QString() 4626 def getStatusBarInfo(self): 4627 '''QString KFileItem.getStatusBarInfo()''' 4628 return QString() 4629 def overlays(self): 4630 '''QStringList KFileItem.overlays()''' 4631 return QStringList() 4632 def pixmap(self, _size, _state = 0): 4633 '''QPixmap KFileItem.pixmap(int _size, int _state = 0)''' 4634 return QPixmap() 4635 def iconName(self): 4636 '''QString KFileItem.iconName()''' 4637 return QString() 4638 def mimeComment(self): 4639 '''QString KFileItem.mimeComment()''' 4640 return QString() 4641 def isMimeTypeKnown(self): 4642 '''bool KFileItem.isMimeTypeKnown()''' 4643 return bool() 4644 def mimeTypePtr(self): 4645 '''unknown-type KFileItem.mimeTypePtr()''' 4646 return unknown-type() 4647 def determineMimeType(self): 4648 '''unknown-type KFileItem.determineMimeType()''' 4649 return unknown-type() 4650 def mimetype(self): 4651 '''QString KFileItem.mimetype()''' 4652 return QString() 4653 def name(self, lowerCase = False): 4654 '''QString KFileItem.name(bool lowerCase = False)''' 4655 return QString() 4656 def text(self): 4657 '''QString KFileItem.text()''' 4658 return QString() 4659 def isLocalFile(self): 4660 '''bool KFileItem.isLocalFile()''' 4661 return bool() 4662 def timeString(self, which = None): 4663 '''QString KFileItem.timeString(KFileItem.FileTimes which = KFileItem.ModificationTime)''' 4664 return QString() 4665 def timeString(self, which): 4666 '''QString KFileItem.timeString(int which)''' 4667 return QString() 4668 def time(self, which): 4669 '''KDateTime KFileItem.time(KFileItem.FileTimes which)''' 4670 return KDateTime() 4671 def time(self, which): 4672 '''int KFileItem.time(int which)''' 4673 return int() 4674 def size(self): 4675 '''int KFileItem.size()''' 4676 return int() 4677 def localPath(self): 4678 '''QString KFileItem.localPath()''' 4679 return QString() 4680 def targetUrl(self): 4681 '''KUrl KFileItem.targetUrl()''' 4682 return KUrl() 4683 def linkDest(self): 4684 '''QString KFileItem.linkDest()''' 4685 return QString() 4686 def isDesktopFile(self): 4687 '''bool KFileItem.isDesktopFile()''' 4688 return bool() 4689 def isHidden(self): 4690 '''bool KFileItem.isHidden()''' 4691 return bool() 4692 def isWritable(self): 4693 '''bool KFileItem.isWritable()''' 4694 return bool() 4695 def isReadable(self): 4696 '''bool KFileItem.isReadable()''' 4697 return bool() 4698 def isFile(self): 4699 '''bool KFileItem.isFile()''' 4700 return bool() 4701 def isDir(self): 4702 '''bool KFileItem.isDir()''' 4703 return bool() 4704 def isLink(self): 4705 '''bool KFileItem.isLink()''' 4706 return bool() 4707 def group(self): 4708 '''QString KFileItem.group()''' 4709 return QString() 4710 def user(self): 4711 '''QString KFileItem.user()''' 4712 return QString() 4713 def mode(self): 4714 '''int KFileItem.mode()''' 4715 return int() 4716 def defaultACL(self): 4717 '''KACL KFileItem.defaultACL()''' 4718 return KACL() 4719 def ACL(self): 4720 '''KACL KFileItem.ACL()''' 4721 return KACL() 4722 def hasExtendedACL(self): 4723 '''bool KFileItem.hasExtendedACL()''' 4724 return bool() 4725 def permissionsString(self): 4726 '''QString KFileItem.permissionsString()''' 4727 return QString() 4728 def permissions(self): 4729 '''int KFileItem.permissions()''' 4730 return int() 4731 def setName(self, name): 4732 '''void KFileItem.setName(QString name)''' 4733 def setUrl(self, url): 4734 '''void KFileItem.setUrl(KUrl url)''' 4735 def url(self): 4736 '''KUrl KFileItem.url()''' 4737 return KUrl() 4738 def refreshMimeType(self): 4739 '''void KFileItem.refreshMimeType()''' 4740 def refresh(self): 4741 '''void KFileItem.refresh()''' 4742 4743 4744 class KFileItemList(): 4745 """""" 4746 def __init__(self): 4747 '''void KFileItemList.__init__()''' 4748 def __init__(self, items): 4749 '''void KFileItemList.__init__(list-of-KFileItem items)''' 4750 def __init__(self): 4751 '''KFileItemList KFileItemList.__init__()''' 4752 return KFileItemList() 4753 def __getitem__(self): 4754 '''int KFileItemList.__getitem__()''' 4755 return int() 4756 def __getitem__(self): 4757 '''slice KFileItemList.__getitem__()''' 4758 return slice() 4759 def __delitem__(self): 4760 '''int KFileItemList.__delitem__()''' 4761 return int() 4762 def __delitem__(self): 4763 '''slice KFileItemList.__delitem__()''' 4764 return slice() 4765 def __setitem__(self): 4766 '''KFileItem KFileItemList.__setitem__()''' 4767 return KFileItem() 4768 def __setitem__(self): 4769 '''KFileItemList KFileItemList.__setitem__()''' 4770 return KFileItemList() 4771 def __len__(self): 4772 '''int KFileItemList.__len__()''' 4773 return int() 4774 def targetUrlList(self): 4775 '''KUrl.List KFileItemList.targetUrlList()''' 4776 return KUrl.List() 4777 def urlList(self): 4778 '''KUrl.List KFileItemList.urlList()''' 4779 return KUrl.List() 4780 def findByUrl(self, url): 4781 '''KFileItem KFileItemList.findByUrl(KUrl url)''' 4782 return KFileItem() 4783 def findByName(self, fileName): 4784 '''KFileItem KFileItemList.findByName(QString fileName)''' 4785 return KFileItem() 4786 4787 4788 class KFileItemActionPlugin(QObject): 4789 """""" 4790 def __init__(self, parent): 4791 '''void KFileItemActionPlugin.__init__(QObject parent)''' 4792 def actions(self, fileItemInfos, parentWidget): 4793 '''abstract list-of-QAction KFileItemActionPlugin.actions(KFileItemListProperties fileItemInfos, QWidget parentWidget)''' 4794 return [QAction()] 4795 4796 4797 class KFileItemActions(QObject): 4798 """""" 4799 def __init__(self, parent = None): 4800 '''void KFileItemActions.__init__(QObject parent = None)''' 4801 openWithDialogAboutToBeShown = pyqtSignal() # void openWithDialogAboutToBeShown() - signal 4802 def runPreferredApplications(self, fileOpenList, traderConstraint): 4803 '''void KFileItemActions.runPreferredApplications(KFileItemList fileOpenList, QString traderConstraint)''' 4804 def addOpenWithActionsTo(self, menu, traderConstraint = QString()): 4805 '''void KFileItemActions.addOpenWithActionsTo(QMenu menu, QString traderConstraint = QString())''' 4806 def associatedApplications(self, mimeTypeList, traderConstraint): 4807 '''static unknown-type KFileItemActions.associatedApplications(QStringList mimeTypeList, QString traderConstraint)''' 4808 return unknown-type() 4809 def addServiceActionsTo(self, menu): 4810 '''int KFileItemActions.addServiceActionsTo(QMenu menu)''' 4811 return int() 4812 def preferredOpenWithAction(self, traderConstraint): 4813 '''KAction KFileItemActions.preferredOpenWithAction(QString traderConstraint)''' 4814 return KAction() 4815 def setParentWidget(self, widget): 4816 '''void KFileItemActions.setParentWidget(QWidget widget)''' 4817 def setItemListProperties(self, itemList): 4818 '''void KFileItemActions.setItemListProperties(KFileItemListProperties itemList)''' 4819 4820 4821 class KFileItemDelegate(QAbstractItemDelegate): 4822 """""" 4823 # Enum KFileItemDelegate.Information 4824 NoInformation = 0 4825 Size = 0 4826 Permissions = 0 4827 OctalPermissions = 0 4828 Owner = 0 4829 OwnerAndGroup = 0 4830 CreationTime = 0 4831 ModificationTime = 0 4832 AccessTime = 0 4833 MimeType = 0 4834 FriendlyMimeType = 0 4835 LinkDest = 0 4836 LocalPathOrUrl = 0 4837 Comment = 0 4838 4839 def __init__(self, parent = None): 4840 '''void KFileItemDelegate.__init__(QObject parent = None)''' 4841 def jobTransfersVisible(self): 4842 '''bool KFileItemDelegate.jobTransfersVisible()''' 4843 return bool() 4844 def setJobTransfersVisible(self, jobTransfersVisible): 4845 '''void KFileItemDelegate.setJobTransfersVisible(bool jobTransfersVisible)''' 4846 def wrapMode(self): 4847 '''QTextOption.WrapMode KFileItemDelegate.wrapMode()''' 4848 return QTextOption.WrapMode() 4849 def setWrapMode(self, wrapMode): 4850 '''void KFileItemDelegate.setWrapMode(QTextOption.WrapMode wrapMode)''' 4851 def iconRect(self, option, index): 4852 '''QRect KFileItemDelegate.iconRect(QStyleOptionViewItem option, QModelIndex index)''' 4853 return QRect() 4854 def shape(self, option, index): 4855 '''QRegion KFileItemDelegate.shape(QStyleOptionViewItem option, QModelIndex index)''' 4856 return QRegion() 4857 def helpEvent(self, event, view, option, index): 4858 '''bool KFileItemDelegate.helpEvent(QHelpEvent event, QAbstractItemView view, QStyleOptionViewItem option, QModelIndex index)''' 4859 return bool() 4860 def eventFilter(self, object, event): 4861 '''bool KFileItemDelegate.eventFilter(QObject object, QEvent event)''' 4862 return bool() 4863 def showToolTipWhenElided(self): 4864 '''bool KFileItemDelegate.showToolTipWhenElided()''' 4865 return bool() 4866 def setShowToolTipWhenElided(self, showToolTip): 4867 '''void KFileItemDelegate.setShowToolTipWhenElided(bool showToolTip)''' 4868 def maximumSize(self): 4869 '''QSize KFileItemDelegate.maximumSize()''' 4870 return QSize() 4871 def setMaximumSize(self, size): 4872 '''void KFileItemDelegate.setMaximumSize(QSize size)''' 4873 def shadowBlur(self): 4874 '''float KFileItemDelegate.shadowBlur()''' 4875 return float() 4876 def setShadowBlur(self, radius): 4877 '''void KFileItemDelegate.setShadowBlur(float radius)''' 4878 def shadowOffset(self): 4879 '''QPointF KFileItemDelegate.shadowOffset()''' 4880 return QPointF() 4881 def setShadowOffset(self, offset): 4882 '''void KFileItemDelegate.setShadowOffset(QPointF offset)''' 4883 def shadowColor(self): 4884 '''QColor KFileItemDelegate.shadowColor()''' 4885 return QColor() 4886 def setShadowColor(self, color): 4887 '''void KFileItemDelegate.setShadowColor(QColor color)''' 4888 def setShowInformation(self, information): 4889 '''void KFileItemDelegate.setShowInformation(KFileItemDelegate.Information information)''' 4890 def updateEditorGeometry(self, editor, option, index): 4891 '''void KFileItemDelegate.updateEditorGeometry(QWidget editor, QStyleOptionViewItem option, QModelIndex index)''' 4892 def setModelData(self, editor, model, index): 4893 '''void KFileItemDelegate.setModelData(QWidget editor, QAbstractItemModel model, QModelIndex index)''' 4894 def setEditorData(self, editor, index): 4895 '''void KFileItemDelegate.setEditorData(QWidget editor, QModelIndex index)''' 4896 def editorEvent(self, event, model, option, index): 4897 '''bool KFileItemDelegate.editorEvent(QEvent event, QAbstractItemModel model, QStyleOptionViewItem option, QModelIndex index)''' 4898 return bool() 4899 def createEditor(self, parent, option, index): 4900 '''QWidget KFileItemDelegate.createEditor(QWidget parent, QStyleOptionViewItem option, QModelIndex index)''' 4901 return QWidget() 4902 def paint(self, painter, option, index): 4903 '''void KFileItemDelegate.paint(QPainter painter, QStyleOptionViewItem option, QModelIndex index)''' 4904 def sizeHint(self, option, index): 4905 '''QSize KFileItemDelegate.sizeHint(QStyleOptionViewItem option, QModelIndex index)''' 4906 return QSize() 4907 4908 4909 class KFileItemListProperties(): 4910 """""" 4911 def __init__(self): 4912 '''void KFileItemListProperties.__init__()''' 4913 def __init__(self, items): 4914 '''void KFileItemListProperties.__init__(KFileItemList items)''' 4915 def __init__(self): 4916 '''KFileItemListProperties KFileItemListProperties.__init__()''' 4917 return KFileItemListProperties() 4918 def mimeGroup(self): 4919 '''QString KFileItemListProperties.mimeGroup()''' 4920 return QString() 4921 def mimeType(self): 4922 '''QString KFileItemListProperties.mimeType()''' 4923 return QString() 4924 def isDirectory(self): 4925 '''bool KFileItemListProperties.isDirectory()''' 4926 return bool() 4927 def urlList(self): 4928 '''KUrl.List KFileItemListProperties.urlList()''' 4929 return KUrl.List() 4930 def items(self): 4931 '''KFileItemList KFileItemListProperties.items()''' 4932 return KFileItemList() 4933 def isLocal(self): 4934 '''bool KFileItemListProperties.isLocal()''' 4935 return bool() 4936 def supportsMoving(self): 4937 '''bool KFileItemListProperties.supportsMoving()''' 4938 return bool() 4939 def supportsWriting(self): 4940 '''bool KFileItemListProperties.supportsWriting()''' 4941 return bool() 4942 def supportsDeleting(self): 4943 '''bool KFileItemListProperties.supportsDeleting()''' 4944 return bool() 4945 def supportsReading(self): 4946 '''bool KFileItemListProperties.supportsReading()''' 4947 return bool() 4948 def setItems(self, items): 4949 '''void KFileItemListProperties.setItems(KFileItemList items)''' 4950 4951 4952 class KFileMetaDataConfigurationWidget(QWidget): 4953 """""" 4954 def __init__(self, parent = None): 4955 '''void KFileMetaDataConfigurationWidget.__init__(QWidget parent = None)''' 4956 def event(self, event): 4957 '''bool KFileMetaDataConfigurationWidget.event(QEvent event)''' 4958 return bool() 4959 def sizeHint(self): 4960 '''QSize KFileMetaDataConfigurationWidget.sizeHint()''' 4961 return QSize() 4962 def save(self): 4963 '''void KFileMetaDataConfigurationWidget.save()''' 4964 def items(self): 4965 '''KFileItemList KFileMetaDataConfigurationWidget.items()''' 4966 return KFileItemList() 4967 def setItems(self, items): 4968 '''void KFileMetaDataConfigurationWidget.setItems(KFileItemList items)''' 4969 4970 4971 class KFileMetaDataWidget(QWidget): 4972 """""" 4973 def __init__(self, parent = None): 4974 '''void KFileMetaDataWidget.__init__(QWidget parent = None)''' 4975 metaDataRequestFinished = pyqtSignal() # void metaDataRequestFinished(const KFileItemListamp;) - signal 4976 def event(self, event): 4977 '''bool KFileMetaDataWidget.event(QEvent event)''' 4978 return bool() 4979 urlActivated = pyqtSignal() # void urlActivated(const KUrlamp;) - signal 4980 def sizeHint(self): 4981 '''QSize KFileMetaDataWidget.sizeHint()''' 4982 return QSize() 4983 def isReadOnly(self): 4984 '''bool KFileMetaDataWidget.isReadOnly()''' 4985 return bool() 4986 def setReadOnly(self, readOnly): 4987 '''void KFileMetaDataWidget.setReadOnly(bool readOnly)''' 4988 def items(self): 4989 '''KFileItemList KFileMetaDataWidget.items()''' 4990 return KFileItemList() 4991 def setItems(self, items): 4992 '''void KFileMetaDataWidget.setItems(KFileItemList items)''' 4993 4994 4995 class KFileMetaInfo(): 4996 """""" 4997 # Enum KFileMetaInfo.What 4998 Fastest = 0 4999 TechnicalInfo = 0 5000 ContentInfo = 0 5001 ExternalSources = 0 5002 Thumbnail = 0 5003 LinkedData = 0 5004 Everything = 0 5005 5006 def __init__(self, path, mimetype = QString(), w = None): 5007 '''void KFileMetaInfo.__init__(QString path, QString mimetype = QString(), KFileMetaInfo.WhatFlags w = KFileMetaInfo.Everything)''' 5008 def __init__(self, url): 5009 '''void KFileMetaInfo.__init__(KUrl url)''' 5010 def __init__(self): 5011 '''void KFileMetaInfo.__init__()''' 5012 def __init__(self): 5013 '''KFileMetaInfo KFileMetaInfo.__init__()''' 5014 return KFileMetaInfo() 5015 def url(self): 5016 '''KUrl KFileMetaInfo.url()''' 5017 return KUrl() 5018 def keys(self): 5019 '''QStringList KFileMetaInfo.keys()''' 5020 return QStringList() 5021 def supportedKeys(self): 5022 '''QStringList KFileMetaInfo.supportedKeys()''' 5023 return QStringList() 5024 def preferredKeys(self): 5025 '''QStringList KFileMetaInfo.preferredKeys()''' 5026 return QStringList() 5027 def isValid(self): 5028 '''bool KFileMetaInfo.isValid()''' 5029 return bool() 5030 def item(self, key): 5031 '''KFileMetaInfoItem KFileMetaInfo.item(QString key)''' 5032 return KFileMetaInfoItem() 5033 def items(self): 5034 '''dict-of-QString-KFileMetaInfoItem KFileMetaInfo.items()''' 5035 return dict-of-QString-KFileMetaInfoItem() 5036 def applyChanges(self): 5037 '''bool KFileMetaInfo.applyChanges()''' 5038 return bool() 5039 class WhatFlags(): 5040 """""" 5041 def __init__(self): 5042 '''KFileMetaInfo.WhatFlags KFileMetaInfo.WhatFlags.__init__()''' 5043 return KFileMetaInfo.WhatFlags() 5044 def __init__(self): 5045 '''int KFileMetaInfo.WhatFlags.__init__()''' 5046 return int() 5047 def __init__(self): 5048 '''void KFileMetaInfo.WhatFlags.__init__()''' 5049 def __bool__(self): 5050 '''int KFileMetaInfo.WhatFlags.__bool__()''' 5051 return int() 5052 def __ne__(self, f): 5053 '''bool KFileMetaInfo.WhatFlags.__ne__(KFileMetaInfo.WhatFlags f)''' 5054 return bool() 5055 def __eq__(self, f): 5056 '''bool KFileMetaInfo.WhatFlags.__eq__(KFileMetaInfo.WhatFlags f)''' 5057 return bool() 5058 def __invert__(self): 5059 '''KFileMetaInfo.WhatFlags KFileMetaInfo.WhatFlags.__invert__()''' 5060 return KFileMetaInfo.WhatFlags() 5061 def __and__(self, mask): 5062 '''KFileMetaInfo.WhatFlags KFileMetaInfo.WhatFlags.__and__(int mask)''' 5063 return KFileMetaInfo.WhatFlags() 5064 def __xor__(self, f): 5065 '''KFileMetaInfo.WhatFlags KFileMetaInfo.WhatFlags.__xor__(KFileMetaInfo.WhatFlags f)''' 5066 return KFileMetaInfo.WhatFlags() 5067 def __xor__(self, f): 5068 '''KFileMetaInfo.WhatFlags KFileMetaInfo.WhatFlags.__xor__(int f)''' 5069 return KFileMetaInfo.WhatFlags() 5070 def __or__(self, f): 5071 '''KFileMetaInfo.WhatFlags KFileMetaInfo.WhatFlags.__or__(KFileMetaInfo.WhatFlags f)''' 5072 return KFileMetaInfo.WhatFlags() 5073 def __or__(self, f): 5074 '''KFileMetaInfo.WhatFlags KFileMetaInfo.WhatFlags.__or__(int f)''' 5075 return KFileMetaInfo.WhatFlags() 5076 def __int__(self): 5077 '''int KFileMetaInfo.WhatFlags.__int__()''' 5078 return int() 5079 def __ixor__(self, f): 5080 '''KFileMetaInfo.WhatFlags KFileMetaInfo.WhatFlags.__ixor__(KFileMetaInfo.WhatFlags f)''' 5081 return KFileMetaInfo.WhatFlags() 5082 def __ior__(self, f): 5083 '''KFileMetaInfo.WhatFlags KFileMetaInfo.WhatFlags.__ior__(KFileMetaInfo.WhatFlags f)''' 5084 return KFileMetaInfo.WhatFlags() 5085 def __iand__(self, mask): 5086 '''KFileMetaInfo.WhatFlags KFileMetaInfo.WhatFlags.__iand__(int mask)''' 5087 return KFileMetaInfo.WhatFlags() 5088 5089 5090 class KFileMetaInfoItem(): 5091 """""" 5092 def __init__(self): 5093 '''void KFileMetaInfoItem.__init__()''' 5094 def __init__(self, item): 5095 '''void KFileMetaInfoItem.__init__(KFileMetaInfoItem item)''' 5096 def prefix(self): 5097 '''QString KFileMetaInfoItem.prefix()''' 5098 return QString() 5099 def suffix(self): 5100 '''QString KFileMetaInfoItem.suffix()''' 5101 return QString() 5102 def name(self): 5103 '''QString KFileMetaInfoItem.name()''' 5104 return QString() 5105 def properties(self): 5106 '''PredicateProperties KFileMetaInfoItem.properties()''' 5107 return PredicateProperties() 5108 def isValid(self): 5109 '''bool KFileMetaInfoItem.isValid()''' 5110 return bool() 5111 def addValue(self): 5112 '''QVariant KFileMetaInfoItem.addValue()''' 5113 return QVariant() 5114 def setValue(self, value): 5115 '''bool KFileMetaInfoItem.setValue(QVariant value)''' 5116 return bool() 5117 def value(self): 5118 '''QVariant KFileMetaInfoItem.value()''' 5119 return QVariant() 5120 def isSkipped(self): 5121 '''bool KFileMetaInfoItem.isSkipped()''' 5122 return bool() 5123 def isModified(self): 5124 '''bool KFileMetaInfoItem.isModified()''' 5125 return bool() 5126 def isRemoved(self): 5127 '''bool KFileMetaInfoItem.isRemoved()''' 5128 return bool() 5129 def isEditable(self): 5130 '''bool KFileMetaInfoItem.isEditable()''' 5131 return bool() 5132 5133 5134 class KFilePlacesModel(QAbstractItemModel): 5135 """""" 5136 # Enum KFilePlacesModel.AdditionalRoles 5137 UrlRole = 0 5138 HiddenRole = 0 5139 SetupNeededRole = 0 5140 FixedDeviceRole = 0 5141 CapacityBarRecommendedRole = 0 5142 5143 def __init__(self, parent = None): 5144 '''void KFilePlacesModel.__init__(QObject parent = None)''' 5145 setupDone = pyqtSignal() # void setupDone(const QModelIndexamp;,bool) - signal 5146 errorMessage = pyqtSignal() # void errorMessage(const QStringamp;) - signal 5147 def dropMimeData(self, data, action, row, column, parent): 5148 '''bool KFilePlacesModel.dropMimeData(QMimeData data, Qt.DropAction action, int row, int column, QModelIndex parent)''' 5149 return bool() 5150 def mimeData(self, indexes): 5151 '''QMimeData KFilePlacesModel.mimeData(list-of-QModelIndex indexes)''' 5152 return QMimeData() 5153 def mimeTypes(self): 5154 '''QStringList KFilePlacesModel.mimeTypes()''' 5155 return QStringList() 5156 def flags(self, index): 5157 '''Qt.ItemFlags KFilePlacesModel.flags(QModelIndex index)''' 5158 return Qt.ItemFlags() 5159 def supportedDropActions(self): 5160 '''Qt.DropActions KFilePlacesModel.supportedDropActions()''' 5161 return Qt.DropActions() 5162 def closestItem(self, url): 5163 '''QModelIndex KFilePlacesModel.closestItem(KUrl url)''' 5164 return QModelIndex() 5165 def columnCount(self, parent = QModelIndex()): 5166 '''int KFilePlacesModel.columnCount(QModelIndex parent = QModelIndex())''' 5167 return int() 5168 def rowCount(self, parent = QModelIndex()): 5169 '''int KFilePlacesModel.rowCount(QModelIndex parent = QModelIndex())''' 5170 return int() 5171 def parent(self, child): 5172 '''QModelIndex KFilePlacesModel.parent(QModelIndex child)''' 5173 return QModelIndex() 5174 def index(self, row, column, parent = QModelIndex()): 5175 '''QModelIndex KFilePlacesModel.index(int row, int column, QModelIndex parent = QModelIndex())''' 5176 return QModelIndex() 5177 def data(self, index, role): 5178 '''QVariant KFilePlacesModel.data(QModelIndex index, int role)''' 5179 return QVariant() 5180 def hiddenCount(self): 5181 '''int KFilePlacesModel.hiddenCount()''' 5182 return int() 5183 def setPlaceHidden(self, index, hidden): 5184 '''void KFilePlacesModel.setPlaceHidden(QModelIndex index, bool hidden)''' 5185 def removePlace(self, index): 5186 '''void KFilePlacesModel.removePlace(QModelIndex index)''' 5187 def editPlace(self, index, text, url, iconName = QString(), appName = QString()): 5188 '''void KFilePlacesModel.editPlace(QModelIndex index, QString text, KUrl url, QString iconName = QString(), QString appName = QString())''' 5189 def addPlace(self, text, url, iconName = QString(), appName = QString()): 5190 '''void KFilePlacesModel.addPlace(QString text, KUrl url, QString iconName = QString(), QString appName = QString())''' 5191 def addPlace(self, text, url, iconName, appName, after): 5192 '''void KFilePlacesModel.addPlace(QString text, KUrl url, QString iconName, QString appName, QModelIndex after)''' 5193 def requestSetup(self, index): 5194 '''void KFilePlacesModel.requestSetup(QModelIndex index)''' 5195 def requestEject(self, index): 5196 '''void KFilePlacesModel.requestEject(QModelIndex index)''' 5197 def requestTeardown(self, index): 5198 '''void KFilePlacesModel.requestTeardown(QModelIndex index)''' 5199 def ejectActionForIndex(self, index): 5200 '''QAction KFilePlacesModel.ejectActionForIndex(QModelIndex index)''' 5201 return QAction() 5202 def teardownActionForIndex(self, index): 5203 '''QAction KFilePlacesModel.teardownActionForIndex(QModelIndex index)''' 5204 return QAction() 5205 def bookmarkForIndex(self, index): 5206 '''KBookmark KFilePlacesModel.bookmarkForIndex(QModelIndex index)''' 5207 return KBookmark() 5208 def deviceForIndex(self, index): 5209 '''Solid.Device KFilePlacesModel.deviceForIndex(QModelIndex index)''' 5210 return Solid.Device() 5211 def isDevice(self, index): 5212 '''bool KFilePlacesModel.isDevice(QModelIndex index)''' 5213 return bool() 5214 def isHidden(self, index): 5215 '''bool KFilePlacesModel.isHidden(QModelIndex index)''' 5216 return bool() 5217 def text(self, index): 5218 '''QString KFilePlacesModel.text(QModelIndex index)''' 5219 return QString() 5220 def icon(self, index): 5221 '''KIcon KFilePlacesModel.icon(QModelIndex index)''' 5222 return KIcon() 5223 def setupNeeded(self, index): 5224 '''bool KFilePlacesModel.setupNeeded(QModelIndex index)''' 5225 return bool() 5226 def url(self, index): 5227 '''KUrl KFilePlacesModel.url(QModelIndex index)''' 5228 return KUrl() 5229 5230 5231 class KFilePlacesView(QListView): 5232 """""" 5233 def __init__(self, parent = None): 5234 '''void KFilePlacesView.__init__(QWidget parent = None)''' 5235 urlsDropped = pyqtSignal() # void urlsDropped(const KUrlamp;,QDropEvent *,QWidget *) - signal 5236 urlChanged = pyqtSignal() # void urlChanged(const KUrlamp;) - signal 5237 def dataChanged(self, topLeft, bottomRight): 5238 '''void KFilePlacesView.dataChanged(QModelIndex topLeft, QModelIndex bottomRight)''' 5239 def rowsInserted(self, parent, start, end): 5240 '''void KFilePlacesView.rowsInserted(QModelIndex parent, int start, int end)''' 5241 def paintEvent(self, event): 5242 '''void KFilePlacesView.paintEvent(QPaintEvent event)''' 5243 def dropEvent(self, event): 5244 '''void KFilePlacesView.dropEvent(QDropEvent event)''' 5245 def dragMoveEvent(self, event): 5246 '''void KFilePlacesView.dragMoveEvent(QDragMoveEvent event)''' 5247 def dragLeaveEvent(self, event): 5248 '''void KFilePlacesView.dragLeaveEvent(QDragLeaveEvent event)''' 5249 def dragEnterEvent(self, event): 5250 '''void KFilePlacesView.dragEnterEvent(QDragEnterEvent event)''' 5251 def hideEvent(self, event): 5252 '''void KFilePlacesView.hideEvent(QHideEvent event)''' 5253 def showEvent(self, event): 5254 '''void KFilePlacesView.showEvent(QShowEvent event)''' 5255 def resizeEvent(self, event): 5256 '''void KFilePlacesView.resizeEvent(QResizeEvent event)''' 5257 def contextMenuEvent(self, event): 5258 '''void KFilePlacesView.contextMenuEvent(QContextMenuEvent event)''' 5259 def keyPressEvent(self, event): 5260 '''void KFilePlacesView.keyPressEvent(QKeyEvent event)''' 5261 def setModel(self, model): 5262 '''void KFilePlacesView.setModel(QAbstractItemModel model)''' 5263 def sizeHint(self): 5264 '''QSize KFilePlacesView.sizeHint()''' 5265 return QSize() 5266 def setShowAll(self, showAll): 5267 '''void KFilePlacesView.setShowAll(bool showAll)''' 5268 def setUrl(self, url): 5269 '''void KFilePlacesView.setUrl(KUrl url)''' 5270 def isAutoResizeItemsEnabled(self): 5271 '''bool KFilePlacesView.isAutoResizeItemsEnabled()''' 5272 return bool() 5273 def setAutoResizeItemsEnabled(self, enabled): 5274 '''void KFilePlacesView.setAutoResizeItemsEnabled(bool enabled)''' 5275 def isDropOnPlaceEnabled(self): 5276 '''bool KFilePlacesView.isDropOnPlaceEnabled()''' 5277 return bool() 5278 def setDropOnPlaceEnabled(self, enabled): 5279 '''void KFilePlacesView.setDropOnPlaceEnabled(bool enabled)''' 5280 5281 5282 class KFilePreviewGenerator(QObject): 5283 """""" 5284 def __init__(self, parent): 5285 '''void KFilePreviewGenerator.__init__(QAbstractItemView parent)''' 5286 def enabledPlugins(self): 5287 '''QStringList KFilePreviewGenerator.enabledPlugins()''' 5288 return QStringList() 5289 def setEnabledPlugins(self, list): 5290 '''void KFilePreviewGenerator.setEnabledPlugins(QStringList list)''' 5291 def cancelPreviews(self): 5292 '''void KFilePreviewGenerator.cancelPreviews()''' 5293 def updateIcons(self): 5294 '''void KFilePreviewGenerator.updateIcons()''' 5295 def updatePreviews(self): 5296 '''void KFilePreviewGenerator.updatePreviews()''' 5297 def isPreviewShown(self): 5298 '''bool KFilePreviewGenerator.isPreviewShown()''' 5299 return bool() 5300 def setPreviewShown(self, show): 5301 '''void KFilePreviewGenerator.setPreviewShown(bool show)''' 5302 5303 5304 class KFileShare(): 5305 """""" 5306 # Enum KFileShare.ShareMode 5307 Simple = 0 5308 Advanced = 0 5309 5310 # Enum KFileShare.Authorization 5311 NotInitialized = 0 5312 ErrorNotFound = 0 5313 Authorized = 0 5314 UserNotAllowed = 0 5315 5316 def nfsEnabled(self): 5317 '''static bool KFileShare.nfsEnabled()''' 5318 return bool() 5319 def sambaEnabled(self): 5320 '''static bool KFileShare.sambaEnabled()''' 5321 return bool() 5322 def shareMode(self): 5323 '''static KFileShare.ShareMode KFileShare.shareMode()''' 5324 return KFileShare.ShareMode() 5325 def fileShareGroup(self): 5326 '''static QString KFileShare.fileShareGroup()''' 5327 return QString() 5328 def isRestricted(self): 5329 '''static bool KFileShare.isRestricted()''' 5330 return bool() 5331 def sharingEnabled(self): 5332 '''static bool KFileShare.sharingEnabled()''' 5333 return bool() 5334 def setShared(self, path, shared): 5335 '''static bool KFileShare.setShared(QString path, bool shared)''' 5336 return bool() 5337 def authorization(self): 5338 '''static KFileShare.Authorization KFileShare.authorization()''' 5339 return KFileShare.Authorization() 5340 def isDirectoryShared(self, path): 5341 '''static bool KFileShare.isDirectoryShared(QString path)''' 5342 return bool() 5343 def readShareList(self): 5344 '''static void KFileShare.readShareList()''' 5345 def readConfig(self): 5346 '''static void KFileShare.readConfig()''' 5347 5348 5349 class KPropertiesDialogPlugin(QObject): 5350 """""" 5351 def __init__(self, _props): 5352 '''void KPropertiesDialogPlugin.__init__(KPropertiesDialog _props)''' 5353 def fontHeight(self): 5354 '''int KPropertiesDialogPlugin.fontHeight()''' 5355 return int() 5356 changed = pyqtSignal() # void changed() - signal 5357 def isDirty(self): 5358 '''bool KPropertiesDialogPlugin.isDirty()''' 5359 return bool() 5360 def setDirty(self, b): 5361 '''void KPropertiesDialogPlugin.setDirty(bool b)''' 5362 def setDirty(self): 5363 '''void KPropertiesDialogPlugin.setDirty()''' 5364 def isDesktopFile(self, _item): 5365 '''static bool KPropertiesDialogPlugin.isDesktopFile(KFileItem _item)''' 5366 return bool() 5367 def applyChanges(self): 5368 '''void KPropertiesDialogPlugin.applyChanges()''' 5369 5370 5371 class KFileSharePropsPlugin(KPropertiesDialogPlugin): 5372 """""" 5373 def __init__(self, _props): 5374 '''void KFileSharePropsPlugin.__init__(KPropertiesDialog _props)''' 5375 def slotConfigureFileSharingDone(self): 5376 '''void KFileSharePropsPlugin.slotConfigureFileSharingDone()''' 5377 def slotConfigureFileSharing(self): 5378 '''void KFileSharePropsPlugin.slotConfigureFileSharing()''' 5379 def page(self): 5380 '''QWidget KFileSharePropsPlugin.page()''' 5381 return QWidget() 5382 def supports(self, items): 5383 '''static bool KFileSharePropsPlugin.supports(KFileItemList items)''' 5384 return bool() 5385 def applyChanges(self): 5386 '''void KFileSharePropsPlugin.applyChanges()''' 5387 5388 5389 class KFileWidget(QWidget, KAbstractFileWidget): 5390 """""" 5391 def __init__(self, startDir, parent): 5392 '''void KFileWidget.__init__(KUrl startDir, QWidget parent)''' 5393 def readConfig(self, group): 5394 '''void KFileWidget.readConfig(KConfigGroup group)''' 5395 def dirOperator(self): 5396 '''KDirOperator KFileWidget.dirOperator()''' 5397 return KDirOperator() 5398 accepted = pyqtSignal() # void accepted() - signal 5399 filterChanged = pyqtSignal() # void filterChanged(const QStringamp;) - signal 5400 selectionChanged = pyqtSignal() # void selectionChanged() - signal 5401 fileHighlighted = pyqtSignal() # void fileHighlighted(const QStringamp;) - signal 5402 fileHighlighted = pyqtSignal() # void fileHighlighted(const KUrlamp;) - signal 5403 fileSelected = pyqtSignal() # void fileSelected(const QStringamp;) - signal 5404 fileSelected = pyqtSignal() # void fileSelected(const KUrlamp;) - signal 5405 def eventFilter(self, watched, event): 5406 '''bool KFileWidget.eventFilter(QObject watched, QEvent event)''' 5407 return bool() 5408 def showEvent(self, event): 5409 '''void KFileWidget.showEvent(QShowEvent event)''' 5410 def resizeEvent(self, event): 5411 '''void KFileWidget.resizeEvent(QResizeEvent event)''' 5412 def slotCancel(self): 5413 '''void KFileWidget.slotCancel()''' 5414 def accept(self): 5415 '''void KFileWidget.accept()''' 5416 def slotOk(self): 5417 '''void KFileWidget.slotOk()''' 5418 def setCustomWidget(self, widget): 5419 '''void KFileWidget.setCustomWidget(QWidget widget)''' 5420 def setCustomWidget(self, text, widget): 5421 '''void KFileWidget.setCustomWidget(QString text, QWidget widget)''' 5422 def setStartDir(self, directory): 5423 '''static void KFileWidget.setStartDir(KUrl directory)''' 5424 def getStartUrl(self, startDir, recentDirClass): 5425 '''static KUrl KFileWidget.getStartUrl(KUrl startDir, QString recentDirClass)''' 5426 return KUrl() 5427 def getStartUrl(self, startDir, recentDirClass, fileName): 5428 '''static KUrl KFileWidget.getStartUrl(KUrl startDir, QString recentDirClass, QString fileName)''' 5429 return KUrl() 5430 def actionCollection(self): 5431 '''KActionCollection KFileWidget.actionCollection()''' 5432 return KActionCollection() 5433 def filterWidget(self): 5434 '''KFileFilterCombo KFileWidget.filterWidget()''' 5435 return KFileFilterCombo() 5436 def locationEdit(self): 5437 '''KUrlComboBox KFileWidget.locationEdit()''' 5438 return KUrlComboBox() 5439 def cancelButton(self): 5440 '''KPushButton KFileWidget.cancelButton()''' 5441 return KPushButton() 5442 def okButton(self): 5443 '''KPushButton KFileWidget.okButton()''' 5444 return KPushButton() 5445 def toolBar(self): 5446 '''KToolBar KFileWidget.toolBar()''' 5447 return KToolBar() 5448 def setLocationLabel(self, text): 5449 '''void KFileWidget.setLocationLabel(QString text)''' 5450 def mode(self): 5451 '''KFile.Modes KFileWidget.mode()''' 5452 return KFile.Modes() 5453 def setMode(self, m): 5454 '''void KFileWidget.setMode(KFile.Modes m)''' 5455 def setPreviewWidget(self, w): 5456 '''void KFileWidget.setPreviewWidget(KPreviewWidgetBase w)''' 5457 def clearFilter(self): 5458 '''void KFileWidget.clearFilter()''' 5459 def currentMimeFilter(self): 5460 '''QString KFileWidget.currentMimeFilter()''' 5461 return QString() 5462 def setMimeFilter(self, types, defaultType = QString()): 5463 '''void KFileWidget.setMimeFilter(QStringList types, QString defaultType = QString())''' 5464 def currentFilterMimeType(self): 5465 '''unknown-type KFileWidget.currentFilterMimeType()''' 5466 return unknown-type() 5467 def currentFilter(self): 5468 '''QString KFileWidget.currentFilter()''' 5469 return QString() 5470 def setFilter(self, filter): 5471 '''void KFileWidget.setFilter(QString filter)''' 5472 def keepsLocation(self): 5473 '''bool KFileWidget.keepsLocation()''' 5474 return bool() 5475 def setKeepLocation(self, keep): 5476 '''void KFileWidget.setKeepLocation(bool keep)''' 5477 def operationMode(self): 5478 '''KAbstractFileWidget.OperationMode KFileWidget.operationMode()''' 5479 return KAbstractFileWidget.OperationMode() 5480 def setOperationMode(self): 5481 '''KAbstractFileWidget.OperationMode KFileWidget.setOperationMode()''' 5482 return KAbstractFileWidget.OperationMode() 5483 def setSelection(self, name): 5484 '''void KFileWidget.setSelection(QString name)''' 5485 def setUrl(self, url, clearforward = True): 5486 '''void KFileWidget.setUrl(KUrl url, bool clearforward = True)''' 5487 def selectedFiles(self): 5488 '''QStringList KFileWidget.selectedFiles()''' 5489 return QStringList() 5490 def selectedFile(self): 5491 '''QString KFileWidget.selectedFile()''' 5492 return QString() 5493 def baseUrl(self): 5494 '''KUrl KFileWidget.baseUrl()''' 5495 return KUrl() 5496 def selectedUrls(self): 5497 '''KUrl.List KFileWidget.selectedUrls()''' 5498 return KUrl.List() 5499 def selectedUrl(self): 5500 '''KUrl KFileWidget.selectedUrl()''' 5501 return KUrl() 5502 5503 5504 class KFileWritePlugin(QObject): 5505 """""" 5506 def __init__(self, parent, args): 5507 '''void KFileWritePlugin.__init__(QObject parent, QStringList args)''' 5508 def write(self, file, data): 5509 '''abstract bool KFileWritePlugin.write(KUrl file, dict-of-QString-QVariant data)''' 5510 return bool() 5511 def canWrite(self, file, key): 5512 '''abstract bool KFileWritePlugin.canWrite(KUrl file, QString key)''' 5513 return bool() 5514 5515 5516 class KIconCanvas(KListWidget): 5517 """""" 5518 def __init__(self, parent = None): 5519 '''void KIconCanvas.__init__(QWidget parent = None)''' 5520 finished = pyqtSignal() # void finished() - signal 5521 progress = pyqtSignal() # void progress(int) - signal 5522 startLoading = pyqtSignal() # void startLoading(int) - signal 5523 nameChanged = pyqtSignal() # void nameChanged(const QStringamp;) - signal 5524 def stopLoading(self): 5525 '''void KIconCanvas.stopLoading()''' 5526 def getCurrent(self): 5527 '''QString KIconCanvas.getCurrent()''' 5528 return QString() 5529 def loadFiles(self, files): 5530 '''void KIconCanvas.loadFiles(QStringList files)''' 5531 5532 5533 class KIconDialog(KDialog): 5534 """""" 5535 def __init__(self, parent = None): 5536 '''void KIconDialog.__init__(QWidget parent = None)''' 5537 def __init__(self, loader, parent = None): 5538 '''void KIconDialog.__init__(KIconLoader loader, QWidget parent = None)''' 5539 def slotOk(self): 5540 '''void KIconDialog.slotOk()''' 5541 newIconName = pyqtSignal() # void newIconName(const QStringamp;) - signal 5542 def getIcon(self, group = None, context = None, strictIconSize = False, iconSize = 0, user = False, parent = None, caption = QString()): 5543 '''static QString KIconDialog.getIcon(KIconLoader.Group group = KIconLoader.Desktop, KIconLoader.Context context = KIconLoader.Application, bool strictIconSize = False, int iconSize = 0, bool user = False, QWidget parent = None, QString caption = QString())''' 5544 return QString() 5545 def showDialog(self): 5546 '''void KIconDialog.showDialog()''' 5547 def openDialog(self): 5548 '''QString KIconDialog.openDialog()''' 5549 return QString() 5550 def setup(self, group, context = None, strictIconSize = False, iconSize = 0, user = False, lockUser = False, lockCustomDir = False): 5551 '''void KIconDialog.setup(KIconLoader.Group group, KIconLoader.Context context = KIconLoader.Application, bool strictIconSize = False, int iconSize = 0, bool user = False, bool lockUser = False, bool lockCustomDir = False)''' 5552 def iconSize(self): 5553 '''int KIconDialog.iconSize()''' 5554 return int() 5555 def setIconSize(self, size): 5556 '''void KIconDialog.setIconSize(int size)''' 5557 def setCustomLocation(self, location): 5558 '''void KIconDialog.setCustomLocation(QString location)''' 5559 def strictIconSize(self): 5560 '''bool KIconDialog.strictIconSize()''' 5561 return bool() 5562 def setStrictIconSize(self, b): 5563 '''void KIconDialog.setStrictIconSize(bool b)''' 5564 5565 5566 class KIconButton(QPushButton): 5567 """""" 5568 def __init__(self, parent = None): 5569 '''void KIconButton.__init__(QWidget parent = None)''' 5570 def __init__(self, loader, parent): 5571 '''void KIconButton.__init__(KIconLoader loader, QWidget parent)''' 5572 iconChanged = pyqtSignal() # void iconChanged(const QStringamp;) - signal 5573 def buttonIconSize(self): 5574 '''int KIconButton.buttonIconSize()''' 5575 return int() 5576 def setButtonIconSize(self, size): 5577 '''void KIconButton.setButtonIconSize(int size)''' 5578 def iconSize(self): 5579 '''int KIconButton.iconSize()''' 5580 return int() 5581 def setIconSize(self, size): 5582 '''void KIconButton.setIconSize(int size)''' 5583 def icon(self): 5584 '''QString KIconButton.icon()''' 5585 return QString() 5586 def resetIcon(self): 5587 '''void KIconButton.resetIcon()''' 5588 def setIcon(self, icon): 5589 '''void KIconButton.setIcon(QString icon)''' 5590 def setIcon(self, icon): 5591 '''void KIconButton.setIcon(QIcon icon)''' 5592 def setIconType(self, group, context, user = False): 5593 '''void KIconButton.setIconType(KIconLoader.Group group, KIconLoader.Context context, bool user = False)''' 5594 def strictIconSize(self): 5595 '''bool KIconButton.strictIconSize()''' 5596 return bool() 5597 def setStrictIconSize(self, b): 5598 '''void KIconButton.setStrictIconSize(bool b)''' 5599 5600 5601 class KPreviewWidgetBase(QWidget): 5602 """""" 5603 def __init__(self, parent): 5604 '''void KPreviewWidgetBase.__init__(QWidget parent)''' 5605 def setSupportedMimeTypes(self, mimeTypes): 5606 '''void KPreviewWidgetBase.setSupportedMimeTypes(QStringList mimeTypes)''' 5607 def supportedMimeTypes(self): 5608 '''QStringList KPreviewWidgetBase.supportedMimeTypes()''' 5609 return QStringList() 5610 def clearPreview(self): 5611 '''abstract void KPreviewWidgetBase.clearPreview()''' 5612 def showPreview(self, url): 5613 '''abstract void KPreviewWidgetBase.showPreview(KUrl url)''' 5614 5615 5616 class KImageFilePreview(KPreviewWidgetBase): 5617 """""" 5618 def __init__(self, parent = None): 5619 '''void KImageFilePreview.__init__(QWidget parent = None)''' 5620 def createJob(self, url, width, height): 5621 '''KIO.PreviewJob KImageFilePreview.createJob(KUrl url, int width, int height)''' 5622 return KIO.PreviewJob() 5623 def resizeEvent(self, event): 5624 '''void KImageFilePreview.resizeEvent(QResizeEvent event)''' 5625 def gotPreview(self): 5626 '''QPixmap KImageFilePreview.gotPreview()''' 5627 return QPixmap() 5628 def clearPreview(self): 5629 '''void KImageFilePreview.clearPreview()''' 5630 def showPreview(self, url): 5631 '''void KImageFilePreview.showPreview(KUrl url)''' 5632 def showPreview(self): 5633 '''void KImageFilePreview.showPreview()''' 5634 def showPreview(self, url, force): 5635 '''void KImageFilePreview.showPreview(KUrl url, bool force)''' 5636 def sizeHint(self): 5637 '''QSize KImageFilePreview.sizeHint()''' 5638 return QSize() 5639 5640 5641 class KImageIO(): 5642 """""" 5643 # Enum KImageIO.Mode 5644 Reading = 0 5645 Writing = 0 5646 5647 def isSupported(self, mimeType, mode = None): 5648 '''static bool KImageIO.isSupported(QString mimeType, KImageIO.Mode mode = KImageIO.Writing)''' 5649 return bool() 5650 def mimeTypes(self, mode = None): 5651 '''static QStringList KImageIO.mimeTypes(KImageIO.Mode mode = KImageIO.Writing)''' 5652 return QStringList() 5653 def types(self, mode = None): 5654 '''static QStringList KImageIO.types(KImageIO.Mode mode = KImageIO.Writing)''' 5655 return QStringList() 5656 def typeForMime(self, mimeType): 5657 '''static QStringList KImageIO.typeForMime(QString mimeType)''' 5658 return QStringList() 5659 def pattern(self, mode = None): 5660 '''static QString KImageIO.pattern(KImageIO.Mode mode = KImageIO.Reading)''' 5661 return QString() 5662 5663 5664 class ThumbCreator(): 5665 """""" 5666 # Enum ThumbCreator.Flags 5667 __kdevpythondocumentation_builtin_None = 0 5668 DrawFrame = 0 5669 BlendIcon = 0 5670 5671 def __init__(self): 5672 '''void ThumbCreator.__init__()''' 5673 def __init__(self): 5674 '''ThumbCreator ThumbCreator.__init__()''' 5675 return ThumbCreator() 5676 def flags(self): 5677 '''ThumbCreator.Flags ThumbCreator.flags()''' 5678 return ThumbCreator.Flags() 5679 def create(self, path, width, height, img): 5680 '''abstract bool ThumbCreator.create(QString path, int width, int height, QImage img)''' 5681 return bool() 5682 5683 5684 class ThumbSequenceCreator(ThumbCreator): 5685 """""" 5686 def __init__(self): 5687 '''void ThumbSequenceCreator.__init__()''' 5688 def setSequenceIndex(self, index): 5689 '''void ThumbSequenceCreator.setSequenceIndex(float index)''' 5690 def sequenceIndex(self): 5691 '''float ThumbSequenceCreator.sequenceIndex()''' 5692 return float() 5693 5694 5695 class KMimeTypeChooser(KVBox): 5696 """""" 5697 # Enum KMimeTypeChooser.Visuals 5698 Comments = 0 5699 Patterns = 0 5700 EditButton = 0 5701 5702 def __init__(self, text = QString(), selectedMimeTypes = QStringList(), defaultGroup = QString(), groupsToShow = QStringList(), visuals = None, parent = None): 5703 '''void KMimeTypeChooser.__init__(QString text = QString(), QStringList selectedMimeTypes = QStringList(), QString defaultGroup = QString(), QStringList groupsToShow = QStringList(), int visuals = KMimeTypeChooser.Comments|KMimeTypeChooser.Patterns|KMimeTypeChooser.EditButton, QWidget parent = None)''' 5704 def patterns(self): 5705 '''QStringList KMimeTypeChooser.patterns()''' 5706 return QStringList() 5707 def mimeTypes(self): 5708 '''QStringList KMimeTypeChooser.mimeTypes()''' 5709 return QStringList() 5710 5711 5712 class KMimeTypeChooserDialog(KDialog): 5713 """""" 5714 def __init__(self, caption = QString(), text = QString(), selectedMimeTypes = QStringList(), defaultGroup = QString(), groupsToShow = QStringList(), visuals = None, parent = None): 5715 '''void KMimeTypeChooserDialog.__init__(QString caption = QString(), QString text = QString(), QStringList selectedMimeTypes = QStringList(), QString defaultGroup = QString(), QStringList groupsToShow = QStringList(), int visuals = KMimeTypeChooser.Comments|KMimeTypeChooser.Patterns|KMimeTypeChooser.EditButton, QWidget parent = None)''' 5716 def __init__(self, caption, text, selectedMimeTypes, defaultGroup, parent = None): 5717 '''void KMimeTypeChooserDialog.__init__(QString caption, QString text, QStringList selectedMimeTypes, QString defaultGroup, QWidget parent = None)''' 5718 def chooser(self): 5719 '''KMimeTypeChooser KMimeTypeChooserDialog.chooser()''' 5720 return KMimeTypeChooser() 5721 5722 5723 class KMountPoint(): 5724 """""" 5725 # Enum KMountPoint.FileSystemFlag 5726 SupportsChmod = 0 5727 SupportsChown = 0 5728 SupportsUTime = 0 5729 SupportsSymlinks = 0 5730 CaseInsensitive = 0 5731 5732 # Enum KMountPoint.DetailsNeededFlag 5733 BasicInfoNeeded = 0 5734 NeedMountOptions = 0 5735 NeedRealDeviceName = 0 5736 5737 def testFileSystemFlag(self, flag): 5738 '''bool KMountPoint.testFileSystemFlag(KMountPoint.FileSystemFlag flag)''' 5739 return bool() 5740 def probablySlow(self): 5741 '''bool KMountPoint.probablySlow()''' 5742 return bool() 5743 def mountOptions(self): 5744 '''QStringList KMountPoint.mountOptions()''' 5745 return QStringList() 5746 def mountType(self): 5747 '''QString KMountPoint.mountType()''' 5748 return QString() 5749 def mountPoint(self): 5750 '''QString KMountPoint.mountPoint()''' 5751 return QString() 5752 def realDeviceName(self): 5753 '''QString KMountPoint.realDeviceName()''' 5754 return QString() 5755 def mountedFrom(self): 5756 '''QString KMountPoint.mountedFrom()''' 5757 return QString() 5758 def currentMountPoints(self, infoNeeded = None): 5759 '''static KMountPoint.List KMountPoint.currentMountPoints(KMountPoint.DetailsNeededFlags infoNeeded = KMountPoint.BasicInfoNeeded)''' 5760 return KMountPoint.List() 5761 def possibleMountPoints(self, infoNeeded = None): 5762 '''static KMountPoint.List KMountPoint.possibleMountPoints(KMountPoint.DetailsNeededFlags infoNeeded = KMountPoint.BasicInfoNeeded)''' 5763 return KMountPoint.List() 5764 class DetailsNeededFlags(): 5765 """""" 5766 def __init__(self): 5767 '''KMountPoint.DetailsNeededFlags KMountPoint.DetailsNeededFlags.__init__()''' 5768 return KMountPoint.DetailsNeededFlags() 5769 def __init__(self): 5770 '''int KMountPoint.DetailsNeededFlags.__init__()''' 5771 return int() 5772 def __init__(self): 5773 '''void KMountPoint.DetailsNeededFlags.__init__()''' 5774 def __bool__(self): 5775 '''int KMountPoint.DetailsNeededFlags.__bool__()''' 5776 return int() 5777 def __ne__(self, f): 5778 '''bool KMountPoint.DetailsNeededFlags.__ne__(KMountPoint.DetailsNeededFlags f)''' 5779 return bool() 5780 def __eq__(self, f): 5781 '''bool KMountPoint.DetailsNeededFlags.__eq__(KMountPoint.DetailsNeededFlags f)''' 5782 return bool() 5783 def __invert__(self): 5784 '''KMountPoint.DetailsNeededFlags KMountPoint.DetailsNeededFlags.__invert__()''' 5785 return KMountPoint.DetailsNeededFlags() 5786 def __and__(self, mask): 5787 '''KMountPoint.DetailsNeededFlags KMountPoint.DetailsNeededFlags.__and__(int mask)''' 5788 return KMountPoint.DetailsNeededFlags() 5789 def __xor__(self, f): 5790 '''KMountPoint.DetailsNeededFlags KMountPoint.DetailsNeededFlags.__xor__(KMountPoint.DetailsNeededFlags f)''' 5791 return KMountPoint.DetailsNeededFlags() 5792 def __xor__(self, f): 5793 '''KMountPoint.DetailsNeededFlags KMountPoint.DetailsNeededFlags.__xor__(int f)''' 5794 return KMountPoint.DetailsNeededFlags() 5795 def __or__(self, f): 5796 '''KMountPoint.DetailsNeededFlags KMountPoint.DetailsNeededFlags.__or__(KMountPoint.DetailsNeededFlags f)''' 5797 return KMountPoint.DetailsNeededFlags() 5798 def __or__(self, f): 5799 '''KMountPoint.DetailsNeededFlags KMountPoint.DetailsNeededFlags.__or__(int f)''' 5800 return KMountPoint.DetailsNeededFlags() 5801 def __int__(self): 5802 '''int KMountPoint.DetailsNeededFlags.__int__()''' 5803 return int() 5804 def __ixor__(self, f): 5805 '''KMountPoint.DetailsNeededFlags KMountPoint.DetailsNeededFlags.__ixor__(KMountPoint.DetailsNeededFlags f)''' 5806 return KMountPoint.DetailsNeededFlags() 5807 def __ior__(self, f): 5808 '''KMountPoint.DetailsNeededFlags KMountPoint.DetailsNeededFlags.__ior__(KMountPoint.DetailsNeededFlags f)''' 5809 return KMountPoint.DetailsNeededFlags() 5810 def __iand__(self, mask): 5811 '''KMountPoint.DetailsNeededFlags KMountPoint.DetailsNeededFlags.__iand__(int mask)''' 5812 return KMountPoint.DetailsNeededFlags() 5813 class List(): 5814 """""" 5815 def __init__(self): 5816 '''void KMountPoint.List.__init__()''' 5817 def __init__(self): 5818 '''KMountPoint.List KMountPoint.List.__init__()''' 5819 return KMountPoint.List() 5820 def findByDevice(self, device): 5821 '''unknown-type KMountPoint.List.findByDevice(QString device)''' 5822 return unknown-type() 5823 def findByPath(self, path): 5824 '''unknown-type KMountPoint.List.findByPath(QString path)''' 5825 return unknown-type() 5826 5827 5828 class KNameAndUrlInputDialog(KDialog): 5829 """""" 5830 def __init__(self, nameLabel, urlLabel, startDir, parent): 5831 '''void KNameAndUrlInputDialog.__init__(QString nameLabel, QString urlLabel, KUrl startDir, QWidget parent)''' 5832 def url(self): 5833 '''KUrl KNameAndUrlInputDialog.url()''' 5834 return KUrl() 5835 def name(self): 5836 '''QString KNameAndUrlInputDialog.name()''' 5837 return QString() 5838 def setSuggestedUrl(self, url): 5839 '''void KNameAndUrlInputDialog.setSuggestedUrl(KUrl url)''' 5840 def setSuggestedName(self, name): 5841 '''void KNameAndUrlInputDialog.setSuggestedName(QString name)''' 5842 5843 5844 class KNewFileMenu(KActionMenu): 5845 """""" 5846 def __init__(self, collection, name, parent): 5847 '''void KNewFileMenu.__init__(KActionCollection collection, QString name, QObject parent)''' 5848 def setModal(self, modality): 5849 '''void KNewFileMenu.setModal(bool modality)''' 5850 def isModal(self): 5851 '''bool KNewFileMenu.isModal()''' 5852 return bool() 5853 def slotResult(self, job): 5854 '''void KNewFileMenu.slotResult(KJob job)''' 5855 directoryCreated = pyqtSignal() # void directoryCreated(const KUrlamp;) - signal 5856 fileCreated = pyqtSignal() # void fileCreated(const KUrlamp;) - signal 5857 def createDirectory(self): 5858 '''void KNewFileMenu.createDirectory()''' 5859 def checkUpToDate(self): 5860 '''void KNewFileMenu.checkUpToDate()''' 5861 def popupFiles(self): 5862 '''KUrl.List KNewFileMenu.popupFiles()''' 5863 return KUrl.List() 5864 def setPopupFiles(self, files): 5865 '''void KNewFileMenu.setPopupFiles(KUrl.List files)''' 5866 def setViewShowsHiddenFiles(self, b): 5867 '''void KNewFileMenu.setViewShowsHiddenFiles(bool b)''' 5868 def supportedMimeTypes(self): 5869 '''QStringList KNewFileMenu.supportedMimeTypes()''' 5870 return QStringList() 5871 def setSupportedMimeTypes(self, mime): 5872 '''void KNewFileMenu.setSupportedMimeTypes(QStringList mime)''' 5873 def setParentWidget(self, parentWidget): 5874 '''void KNewFileMenu.setParentWidget(QWidget parentWidget)''' 5875 5876 5877 class KNFSShare(QObject): 5878 """""" 5879 changed = pyqtSignal() # void changed() - signal 5880 def exportsPath(self): 5881 '''QString KNFSShare.exportsPath()''' 5882 return QString() 5883 def sharedDirectories(self): 5884 '''QStringList KNFSShare.sharedDirectories()''' 5885 return QStringList() 5886 def isDirectoryShared(self, path): 5887 '''bool KNFSShare.isDirectoryShared(QString path)''' 5888 return bool() 5889 def instance(self): 5890 '''static KNFSShare KNFSShare.instance()''' 5891 return KNFSShare() 5892 5893 5894 class KonqBookmarkOwner(KBookmarkOwner): 5895 """""" 5896 def __init__(self): 5897 '''void KonqBookmarkOwner.__init__()''' 5898 def __init__(self): 5899 '''KonqBookmarkOwner KonqBookmarkOwner.__init__()''' 5900 return KonqBookmarkOwner() 5901 def openInNewWindow(self, bm): 5902 '''abstract void KonqBookmarkOwner.openInNewWindow(KBookmark bm)''' 5903 def openInNewTab(self, bm): 5904 '''abstract void KonqBookmarkOwner.openInNewTab(KBookmark bm)''' 5905 5906 5907 class KonqBookmarkMenu(KBookmarkMenu): 5908 """""" 5909 def __init__(self, mgr, owner, parentMenu, collec): 5910 '''void KonqBookmarkMenu.__init__(KBookmarkManager mgr, KonqBookmarkOwner owner, KBookmarkActionMenu parentMenu, KActionCollection collec)''' 5911 def __init__(self, mgr, owner, parentMenu, parentAddress): 5912 '''void KonqBookmarkMenu.__init__(KBookmarkManager mgr, KonqBookmarkOwner owner, KBookmarkActionMenu parentMenu, QString parentAddress)''' 5913 def fillDynamicBookmarks(self): 5914 '''void KonqBookmarkMenu.fillDynamicBookmarks()''' 5915 def contextMenu(self, act): 5916 '''KMenu KonqBookmarkMenu.contextMenu(QAction act)''' 5917 return KMenu() 5918 def actionForBookmark(self, bm): 5919 '''QAction KonqBookmarkMenu.actionForBookmark(KBookmark bm)''' 5920 return QAction() 5921 def refill(self): 5922 '''void KonqBookmarkMenu.refill()''' 5923 def dynamicBookmarksList(self): 5924 '''static QStringList KonqBookmarkMenu.dynamicBookmarksList()''' 5925 return QStringList() 5926 5927 5928 class KonqBookmarkContextMenu(KBookmarkContextMenu): 5929 """""" 5930 def __init__(self, bm, mgr, owner): 5931 '''void KonqBookmarkContextMenu.__init__(KBookmark bm, KBookmarkManager mgr, KonqBookmarkOwner owner)''' 5932 def toggleShowInToolbar(self): 5933 '''void KonqBookmarkContextMenu.toggleShowInToolbar()''' 5934 def openInNewWindow(self): 5935 '''void KonqBookmarkContextMenu.openInNewWindow()''' 5936 def openInNewTab(self): 5937 '''void KonqBookmarkContextMenu.openInNewTab()''' 5938 def addActions(self): 5939 '''void KonqBookmarkContextMenu.addActions()''' 5940 5941 5942 class KOpenWithDialog(KDialog): 5943 """""" 5944 def __init__(self, urls, parent = None): 5945 '''void KOpenWithDialog.__init__(KUrl.List urls, QWidget parent = None)''' 5946 def __init__(self, urls, text, value, parent = None): 5947 '''void KOpenWithDialog.__init__(KUrl.List urls, QString text, QString value, QWidget parent = None)''' 5948 def __init__(self, mimeType, value, parent = None): 5949 '''void KOpenWithDialog.__init__(QString mimeType, QString value, QWidget parent = None)''' 5950 def __init__(self, parent = None): 5951 '''void KOpenWithDialog.__init__(QWidget parent = None)''' 5952 def accept(self): 5953 '''void KOpenWithDialog.accept()''' 5954 def slotTerminalToggled(self): 5955 '''bool KOpenWithDialog.slotTerminalToggled()''' 5956 return bool() 5957 def slotTextChanged(self): 5958 '''void KOpenWithDialog.slotTextChanged()''' 5959 def slotHighlighted(self, _name, _exec): 5960 '''void KOpenWithDialog.slotHighlighted(QString _name, QString _exec)''' 5961 def slotSelected(self, _name, _exec): 5962 '''void KOpenWithDialog.slotSelected(QString _name, QString _exec)''' 5963 def setSaveNewApplications(self, b): 5964 '''void KOpenWithDialog.setSaveNewApplications(bool b)''' 5965 def service(self): 5966 '''unknown-type KOpenWithDialog.service()''' 5967 return unknown-type() 5968 def hideRunInTerminal(self): 5969 '''void KOpenWithDialog.hideRunInTerminal()''' 5970 def hideNoCloseOnExit(self): 5971 '''void KOpenWithDialog.hideNoCloseOnExit()''' 5972 def text(self): 5973 '''QString KOpenWithDialog.text()''' 5974 return QString() 5975 5976 5977 class KPropertiesDialog(KPageDialog): 5978 """""" 5979 def __init__(self, item, parent = None): 5980 '''void KPropertiesDialog.__init__(KFileItem item, QWidget parent = None)''' 5981 def __init__(self, _items, parent = None): 5982 '''void KPropertiesDialog.__init__(KFileItemList _items, QWidget parent = None)''' 5983 def __init__(self, _url, parent = None): 5984 '''void KPropertiesDialog.__init__(KUrl _url, QWidget parent = None)''' 5985 def __init__(self, _tempUrl, _currentDir, _defaultName, parent = None): 5986 '''void KPropertiesDialog.__init__(KUrl _tempUrl, KUrl _currentDir, QString _defaultName, QWidget parent = None)''' 5987 def __init__(self, title, parent = None): 5988 '''void KPropertiesDialog.__init__(QString title, QWidget parent = None)''' 5989 leaveModality = pyqtSignal() # void leaveModality() - signal 5990 saveAs = pyqtSignal() # void saveAs(const KUrlamp;,KUrlamp;) - signal 5991 canceled = pyqtSignal() # void canceled() - signal 5992 applied = pyqtSignal() # void applied() - signal 5993 propertiesClosed = pyqtSignal() # void propertiesClosed() - signal 5994 def slotCancel(self): 5995 '''void KPropertiesDialog.slotCancel()''' 5996 def slotOk(self): 5997 '''void KPropertiesDialog.slotOk()''' 5998 def setFileNameReadOnly(self, ro): 5999 '''void KPropertiesDialog.setFileNameReadOnly(bool ro)''' 6000 def setFileSharingPage(self, page): 6001 '''void KPropertiesDialog.setFileSharingPage(QWidget page)''' 6002 def showFileSharingPage(self): 6003 '''void KPropertiesDialog.showFileSharingPage()''' 6004 def abortApplying(self): 6005 '''void KPropertiesDialog.abortApplying()''' 6006 def rename(self, _name): 6007 '''void KPropertiesDialog.rename(QString _name)''' 6008 def updateUrl(self, _newUrl): 6009 '''void KPropertiesDialog.updateUrl(KUrl _newUrl)''' 6010 def defaultName(self): 6011 '''QString KPropertiesDialog.defaultName()''' 6012 return QString() 6013 def currentDir(self): 6014 '''KUrl KPropertiesDialog.currentDir()''' 6015 return KUrl() 6016 def items(self): 6017 '''KFileItemList KPropertiesDialog.items()''' 6018 return KFileItemList() 6019 def item(self): 6020 '''KFileItem KPropertiesDialog.item()''' 6021 return KFileItem() 6022 def kurl(self): 6023 '''KUrl KPropertiesDialog.kurl()''' 6024 return KUrl() 6025 def insertPlugin(self, plugin): 6026 '''void KPropertiesDialog.insertPlugin(KPropertiesDialogPlugin plugin)''' 6027 def showDialog(self, item, parent = None, modal = True): 6028 '''static bool KPropertiesDialog.showDialog(KFileItem item, QWidget parent = None, bool modal = True)''' 6029 return bool() 6030 def showDialog(self, _url, parent = None, modal = True): 6031 '''static bool KPropertiesDialog.showDialog(KUrl _url, QWidget parent = None, bool modal = True)''' 6032 return bool() 6033 def showDialog(self, _items, parent = None, modal = True): 6034 '''static bool KPropertiesDialog.showDialog(KFileItemList _items, QWidget parent = None, bool modal = True)''' 6035 return bool() 6036 def canDisplay(self, _items): 6037 '''static bool KPropertiesDialog.canDisplay(KFileItemList _items)''' 6038 return bool() 6039 6040 6041 class KProtocolManager(): 6042 """""" 6043 # Enum KProtocolManager.ProxyAuthMode 6044 Prompt = 0 6045 Automatic = 0 6046 6047 # Enum KProtocolManager.ProxyType 6048 NoProxy = 0 6049 ManualProxy = 0 6050 PACProxy = 0 6051 WPADProxy = 0 6052 EnvVarProxy = 0 6053 6054 def __init__(self): 6055 '''void KProtocolManager.__init__()''' 6056 def __init__(self): 6057 '''KProtocolManager KProtocolManager.__init__()''' 6058 return KProtocolManager() 6059 def proxiesForUrl(self, url): 6060 '''static QStringList KProtocolManager.proxiesForUrl(KUrl url)''' 6061 return QStringList() 6062 def acceptLanguagesHeader(self): 6063 '''static QString KProtocolManager.acceptLanguagesHeader()''' 6064 return QString() 6065 def slaveProtocol(self, url, proxy): 6066 '''static QString KProtocolManager.slaveProtocol(KUrl url, QString proxy)''' 6067 return QString() 6068 def slaveProtocol(self, url, proxy): 6069 '''static QString KProtocolManager.slaveProtocol(KUrl url, QStringList proxy)''' 6070 return QString() 6071 def reparseConfiguration(self): 6072 '''static void KProtocolManager.reparseConfiguration()''' 6073 def protocolForArchiveMimetype(self, mimeType): 6074 '''static QString KProtocolManager.protocolForArchiveMimetype(QString mimeType)''' 6075 return QString() 6076 def isSourceProtocol(self, url): 6077 '''static bool KProtocolManager.isSourceProtocol(KUrl url)''' 6078 return bool() 6079 def listing(self, url): 6080 '''static QStringList KProtocolManager.listing(KUrl url)''' 6081 return QStringList() 6082 def outputType(self, url): 6083 '''static KProtocolInfo.Type KProtocolManager.outputType(KUrl url)''' 6084 return KProtocolInfo.Type() 6085 def inputType(self, url): 6086 '''static KProtocolInfo.Type KProtocolManager.inputType(KUrl url)''' 6087 return KProtocolInfo.Type() 6088 def defaultMimetype(self, url): 6089 '''static QString KProtocolManager.defaultMimetype(KUrl url)''' 6090 return QString() 6091 def fileNameUsedForCopying(self, url): 6092 '''static KProtocolInfo.FileNameUsedForCopying KProtocolManager.fileNameUsedForCopying(KUrl url)''' 6093 return KProtocolInfo.FileNameUsedForCopying() 6094 def canDeleteRecursive(self, url): 6095 '''static bool KProtocolManager.canDeleteRecursive(KUrl url)''' 6096 return bool() 6097 def canRenameToFile(self, url): 6098 '''static bool KProtocolManager.canRenameToFile(KUrl url)''' 6099 return bool() 6100 def canRenameFromFile(self, url): 6101 '''static bool KProtocolManager.canRenameFromFile(KUrl url)''' 6102 return bool() 6103 def canCopyToFile(self, url): 6104 '''static bool KProtocolManager.canCopyToFile(KUrl url)''' 6105 return bool() 6106 def canCopyFromFile(self, url): 6107 '''static bool KProtocolManager.canCopyFromFile(KUrl url)''' 6108 return bool() 6109 def supportsOpening(self, url): 6110 '''static bool KProtocolManager.supportsOpening(KUrl url)''' 6111 return bool() 6112 def supportsMoving(self, url): 6113 '''static bool KProtocolManager.supportsMoving(KUrl url)''' 6114 return bool() 6115 def supportsLinking(self, url): 6116 '''static bool KProtocolManager.supportsLinking(KUrl url)''' 6117 return bool() 6118 def supportsDeleting(self, url): 6119 '''static bool KProtocolManager.supportsDeleting(KUrl url)''' 6120 return bool() 6121 def supportsMakeDir(self, url): 6122 '''static bool KProtocolManager.supportsMakeDir(KUrl url)''' 6123 return bool() 6124 def supportsWriting(self, url): 6125 '''static bool KProtocolManager.supportsWriting(KUrl url)''' 6126 return bool() 6127 def supportsReading(self, url): 6128 '''static bool KProtocolManager.supportsReading(KUrl url)''' 6129 return bool() 6130 def supportsListing(self, url): 6131 '''static bool KProtocolManager.supportsListing(KUrl url)''' 6132 return bool() 6133 def persistentConnections(self): 6134 '''static bool KProtocolManager.persistentConnections()''' 6135 return bool() 6136 def persistentProxyConnection(self): 6137 '''static bool KProtocolManager.persistentProxyConnection()''' 6138 return bool() 6139 def minimumKeepSize(self): 6140 '''static int KProtocolManager.minimumKeepSize()''' 6141 return int() 6142 def markPartial(self): 6143 '''static bool KProtocolManager.markPartial()''' 6144 return bool() 6145 def autoResume(self): 6146 '''static bool KProtocolManager.autoResume()''' 6147 return bool() 6148 def cacheControl(self): 6149 '''static KIO.CacheControl KProtocolManager.cacheControl()''' 6150 return KIO.CacheControl() 6151 def cacheDir(self): 6152 '''static QString KProtocolManager.cacheDir()''' 6153 return QString() 6154 def maxCacheSize(self): 6155 '''static int KProtocolManager.maxCacheSize()''' 6156 return int() 6157 def maxCacheAge(self): 6158 '''static int KProtocolManager.maxCacheAge()''' 6159 return int() 6160 def useCache(self): 6161 '''static bool KProtocolManager.useCache()''' 6162 return bool() 6163 def proxyConfigScript(self): 6164 '''static QString KProtocolManager.proxyConfigScript()''' 6165 return QString() 6166 def badProxy(self, proxy): 6167 '''static void KProtocolManager.badProxy(QString proxy)''' 6168 def proxyForUrl(self, url): 6169 '''static QString KProtocolManager.proxyForUrl(KUrl url)''' 6170 return QString() 6171 def proxyFor(self, protocol): 6172 '''static QString KProtocolManager.proxyFor(QString protocol)''' 6173 return QString() 6174 def noProxyFor(self): 6175 '''static QString KProtocolManager.noProxyFor()''' 6176 return QString() 6177 def proxyAuthMode(self): 6178 '''static KProtocolManager.ProxyAuthMode KProtocolManager.proxyAuthMode()''' 6179 return KProtocolManager.ProxyAuthMode() 6180 def proxyType(self): 6181 '''static KProtocolManager.ProxyType KProtocolManager.proxyType()''' 6182 return KProtocolManager.ProxyType() 6183 def useReverseProxy(self): 6184 '''static bool KProtocolManager.useReverseProxy()''' 6185 return bool() 6186 def useProxy(self): 6187 '''static bool KProtocolManager.useProxy()''' 6188 return bool() 6189 def responseTimeout(self): 6190 '''static int KProtocolManager.responseTimeout()''' 6191 return int() 6192 def proxyConnectTimeout(self): 6193 '''static int KProtocolManager.proxyConnectTimeout()''' 6194 return int() 6195 def connectTimeout(self): 6196 '''static int KProtocolManager.connectTimeout()''' 6197 return int() 6198 def readTimeout(self): 6199 '''static int KProtocolManager.readTimeout()''' 6200 return int() 6201 def getSystemNameVersionAndMachine(self, systemName, systemVersion, machine): 6202 '''static bool KProtocolManager.getSystemNameVersionAndMachine(QString systemName, QString systemVersion, QString machine)''' 6203 return bool() 6204 def userAgentForHost(self, hostname): 6205 '''static QString KProtocolManager.userAgentForHost(QString hostname)''' 6206 return QString() 6207 def userAgentForApplication(self, appName, appVersion, extraInfo = QStringList()): 6208 '''static QString KProtocolManager.userAgentForApplication(QString appName, QString appVersion, QStringList extraInfo = QStringList())''' 6209 return QString() 6210 def defaultUserAgent(self): 6211 '''static QString KProtocolManager.defaultUserAgent()''' 6212 return QString() 6213 def defaultUserAgent(self, keys): 6214 '''static QString KProtocolManager.defaultUserAgent(QString keys)''' 6215 return QString() 6216 6217 6218 class KRecentDirs(): 6219 """""" 6220 def add(self, fileClass, directory): 6221 '''static void KRecentDirs.add(QString fileClass, QString directory)''' 6222 def dir(self, fileClass): 6223 '''static QString KRecentDirs.dir(QString fileClass)''' 6224 return QString() 6225 def list(self, fileClass): 6226 '''static QStringList KRecentDirs.list(QString fileClass)''' 6227 return QStringList() 6228 6229 6230 class KRecentDocument(): 6231 """""" 6232 def __init__(self): 6233 '''void KRecentDocument.__init__()''' 6234 def __init__(self): 6235 '''KRecentDocument KRecentDocument.__init__()''' 6236 return KRecentDocument() 6237 def recentDocumentDirectory(self): 6238 '''static QString KRecentDocument.recentDocumentDirectory()''' 6239 return QString() 6240 def maximumItems(self): 6241 '''static int KRecentDocument.maximumItems()''' 6242 return int() 6243 def clear(self): 6244 '''static void KRecentDocument.clear()''' 6245 def add(self, url): 6246 '''static void KRecentDocument.add(KUrl url)''' 6247 def add(self, url, desktopEntryName): 6248 '''static void KRecentDocument.add(KUrl url, QString desktopEntryName)''' 6249 def add(self, documentStr, isURL = False): 6250 '''static void KRecentDocument.add(QString documentStr, bool isURL = False)''' 6251 def recentDocuments(self): 6252 '''static QStringList KRecentDocument.recentDocuments()''' 6253 return QStringList() 6254 6255 6256 class KRemoteEncoding(): 6257 """""" 6258 def __init__(self, name = None): 6259 '''void KRemoteEncoding.__init__(str name = None)''' 6260 def setEncoding(self, name): 6261 '''void KRemoteEncoding.setEncoding(str name)''' 6262 def encodingMib(self): 6263 '''int KRemoteEncoding.encodingMib()''' 6264 return int() 6265 def encoding(self): 6266 '''str KRemoteEncoding.encoding()''' 6267 return str() 6268 def fileName(self, url): 6269 '''QByteArray KRemoteEncoding.fileName(KUrl url)''' 6270 return QByteArray() 6271 def directory(self, url, ignore_trailing_slash = True): 6272 '''QByteArray KRemoteEncoding.directory(KUrl url, bool ignore_trailing_slash = True)''' 6273 return QByteArray() 6274 def encode(self, name): 6275 '''QByteArray KRemoteEncoding.encode(QString name)''' 6276 return QByteArray() 6277 def encode(self, url): 6278 '''QByteArray KRemoteEncoding.encode(KUrl url)''' 6279 return QByteArray() 6280 def decode(self, name): 6281 '''QString KRemoteEncoding.decode(QByteArray name)''' 6282 return QString() 6283 6284 6285 class KRun(QObject): 6286 """""" 6287 def __init__(self, url, window, mode = 0, isLocalFile = False, showProgressInfo = True, asn = QByteArray()): 6288 '''void KRun.__init__(KUrl url, QWidget window, int mode = 0, bool isLocalFile = False, bool showProgressInfo = True, QByteArray asn = QByteArray())''' 6289 def mode(self): 6290 '''int KRun.mode()''' 6291 return int() 6292 def setMode(self, mode): 6293 '''void KRun.setMode(int mode)''' 6294 def isLocalFile(self): 6295 '''bool KRun.isLocalFile()''' 6296 return bool() 6297 def setIsLocalFile(self, isLocalFile): 6298 '''void KRun.setIsLocalFile(bool isLocalFile)''' 6299 def initializeNextAction(self): 6300 '''bool KRun.initializeNextAction()''' 6301 return bool() 6302 def setInitializeNextAction(self, initialize): 6303 '''void KRun.setInitializeNextAction(bool initialize)''' 6304 def isDirectory(self): 6305 '''bool KRun.isDirectory()''' 6306 return bool() 6307 def setIsDirecory(self, isDirectory): 6308 '''void KRun.setIsDirecory(bool isDirectory)''' 6309 def doScanFile(self): 6310 '''bool KRun.doScanFile()''' 6311 return bool() 6312 def setDoScanFile(self, scanFile): 6313 '''void KRun.setDoScanFile(bool scanFile)''' 6314 def timer(self): 6315 '''QTimer KRun.timer()''' 6316 return QTimer() 6317 def job(self): 6318 '''KIO.Job KRun.job()''' 6319 return KIO.Job() 6320 def setJob(self, job): 6321 '''void KRun.setJob(KIO.Job job)''' 6322 def setFinished(self, finished): 6323 '''void KRun.setFinished(bool finished)''' 6324 def progressInfo(self): 6325 '''bool KRun.progressInfo()''' 6326 return bool() 6327 def setProgressInfo(self, progressInfo): 6328 '''void KRun.setProgressInfo(bool progressInfo)''' 6329 def setError(self, error): 6330 '''void KRun.setError(bool error)''' 6331 def url(self): 6332 '''KUrl KRun.url()''' 6333 return KUrl() 6334 def setUrl(self, url): 6335 '''void KRun.setUrl(KUrl url)''' 6336 def killJob(self): 6337 '''void KRun.killJob()''' 6338 def foundMimeType(self, type): 6339 '''void KRun.foundMimeType(QString type)''' 6340 def scanFile(self): 6341 '''void KRun.scanFile()''' 6342 def init(self): 6343 '''void KRun.init()''' 6344 def slotStatResult(self): 6345 '''KJob KRun.slotStatResult()''' 6346 return KJob() 6347 def mimeTypeDetermined(self, mimeType): 6348 '''void KRun.mimeTypeDetermined(QString mimeType)''' 6349 def slotScanMimeType(self, type): 6350 '''KIO.Job KRun.slotScanMimeType(QString type)''' 6351 return KIO.Job() 6352 def slotScanFinished(self): 6353 '''KJob KRun.slotScanFinished()''' 6354 return KJob() 6355 def slotTimeout(self): 6356 '''void KRun.slotTimeout()''' 6357 error = pyqtSignal() # void error() - signal 6358 finished = pyqtSignal() # void finished() - signal 6359 def isExecutableFile(self, url, mimetype): 6360 '''static bool KRun.isExecutableFile(KUrl url, QString mimetype)''' 6361 return bool() 6362 def isExecutable(self, serviceType): 6363 '''static bool KRun.isExecutable(QString serviceType)''' 6364 return bool() 6365 def binaryName(self, execLine, removePath): 6366 '''static QString KRun.binaryName(QString execLine, bool removePath)''' 6367 return QString() 6368 def processDesktopExec(self, _service, _urls, tempFiles = False, suggestedFileName = QString()): 6369 '''static QStringList KRun.processDesktopExec(KService _service, KUrl.List _urls, bool tempFiles = False, QString suggestedFileName = QString())''' 6370 return QStringList() 6371 def shellQuote(self, str): 6372 '''static void KRun.shellQuote(QString str)''' 6373 def displayOpenWithDialog(self, lst, window, tempFiles = False, suggestedFileName = QString(), asn = QByteArray()): 6374 '''static bool KRun.displayOpenWithDialog(KUrl.List lst, QWidget window, bool tempFiles = False, QString suggestedFileName = QString(), QByteArray asn = QByteArray())''' 6375 return bool() 6376 def runCommand(self, cmd, window): 6377 '''static bool KRun.runCommand(QString cmd, QWidget window)''' 6378 return bool() 6379 def runCommand(self, cmd, execName, icon, window, asn = QByteArray()): 6380 '''static bool KRun.runCommand(QString cmd, QString execName, QString icon, QWidget window, QByteArray asn = QByteArray())''' 6381 return bool() 6382 def runCommand(self, cmd, window, workingDirectory): 6383 '''static bool KRun.runCommand(QString cmd, QWidget window, QString workingDirectory)''' 6384 return bool() 6385 def runCommand(self, cmd, execName, icon, window, asn, workingDirectory): 6386 '''static bool KRun.runCommand(QString cmd, QString execName, QString icon, QWidget window, QByteArray asn, QString workingDirectory)''' 6387 return bool() 6388 def runUrl(self, url, mimetype, window, tempFile = False, runExecutables = True, suggestedFileName = QString(), asn = QByteArray()): 6389 '''static bool KRun.runUrl(KUrl url, QString mimetype, QWidget window, bool tempFile = False, bool runExecutables = True, QString suggestedFileName = QString(), QByteArray asn = QByteArray())''' 6390 return bool() 6391 def run(self, service, urls, window, tempFiles = False, suggestedFileName = QString(), asn = QByteArray()): 6392 '''static bool KRun.run(KService service, KUrl.List urls, QWidget window, bool tempFiles = False, QString suggestedFileName = QString(), QByteArray asn = QByteArray())''' 6393 return bool() 6394 def run(self, exec_, urls, window, name = QString(), icon = QString(), asn = QByteArray()): 6395 '''static bool KRun.run(QString exec, KUrl.List urls, QWidget window, QString name = QString(), QString icon = QString(), QByteArray asn = QByteArray())''' 6396 return bool() 6397 def suggestedFileName(self): 6398 '''QString KRun.suggestedFileName()''' 6399 return QString() 6400 def setSuggestedFileName(self, fileName): 6401 '''void KRun.setSuggestedFileName(QString fileName)''' 6402 def setEnableExternalBrowser(self, b): 6403 '''void KRun.setEnableExternalBrowser(bool b)''' 6404 def setRunExecutables(self, b): 6405 '''void KRun.setRunExecutables(bool b)''' 6406 def setPreferredService(self, desktopEntryName): 6407 '''void KRun.setPreferredService(QString desktopEntryName)''' 6408 def setAutoDelete(self, b): 6409 '''void KRun.setAutoDelete(bool b)''' 6410 def autoDelete(self): 6411 '''bool KRun.autoDelete()''' 6412 return bool() 6413 def hasFinished(self): 6414 '''bool KRun.hasFinished()''' 6415 return bool() 6416 def hasError(self): 6417 '''bool KRun.hasError()''' 6418 return bool() 6419 def abort(self): 6420 '''void KRun.abort()''' 6421 6422 6423 class KSambaShare(QObject): 6424 """""" 6425 def getSharesByPath(self, path): 6426 '''list-of-KSambaShareData KSambaShare.getSharesByPath(QString path)''' 6427 return [KSambaShareData()] 6428 def getShareByName(self, name): 6429 '''KSambaShareData KSambaShare.getShareByName(QString name)''' 6430 return KSambaShareData() 6431 def shareNames(self): 6432 '''QStringList KSambaShare.shareNames()''' 6433 return QStringList() 6434 def isShareNameAvailable(self, name): 6435 '''bool KSambaShare.isShareNameAvailable(QString name)''' 6436 return bool() 6437 changed = pyqtSignal() # void changed() - signal 6438 def smbConfPath(self): 6439 '''QString KSambaShare.smbConfPath()''' 6440 return QString() 6441 def sharedDirectories(self): 6442 '''QStringList KSambaShare.sharedDirectories()''' 6443 return QStringList() 6444 def isDirectoryShared(self, path): 6445 '''bool KSambaShare.isDirectoryShared(QString path)''' 6446 return bool() 6447 def instance(self): 6448 '''static KSambaShare KSambaShare.instance()''' 6449 return KSambaShare() 6450 6451 6452 class KSambaShareData(): 6453 """""" 6454 # Enum KSambaShareData.UserShareError 6455 UserShareOk = 0 6456 UserShareExceedMaxShares = 0 6457 UserShareNameOk = 0 6458 UserShareNameInvalid = 0 6459 UserShareNameInUse = 0 6460 UserSharePathOk = 0 6461 UserSharePathInvalid = 0 6462 UserSharePathNotExists = 0 6463 UserSharePathNotDirectory = 0 6464 UserSharePathNotAbsolute = 0 6465 UserSharePathNotAllowed = 0 6466 UserShareAclOk = 0 6467 UserShareAclInvalid = 0 6468 UserShareAclUserNotValid = 0 6469 UserShareCommentOk = 0 6470 UserShareGuestsOk = 0 6471 UserShareGuestsInvalid = 0 6472 UserShareGuestsNotAllowed = 0 6473 UserShareSystemError = 0 6474 6475 # Enum KSambaShareData.GuestPermission 6476 GuestsNotAllowed = 0 6477 GuestsAllowed = 0 6478 6479 def __init__(self): 6480 '''void KSambaShareData.__init__()''' 6481 def __init__(self, other): 6482 '''void KSambaShareData.__init__(KSambaShareData other)''' 6483 def __ne__(self, other): 6484 '''bool KSambaShareData.__ne__(KSambaShareData other)''' 6485 return bool() 6486 def __eq__(self, other): 6487 '''bool KSambaShareData.__eq__(KSambaShareData other)''' 6488 return bool() 6489 def remove(self): 6490 '''KSambaShareData.UserShareError KSambaShareData.remove()''' 6491 return KSambaShareData.UserShareError() 6492 def save(self): 6493 '''KSambaShareData.UserShareError KSambaShareData.save()''' 6494 return KSambaShareData.UserShareError() 6495 def setGuestPermission(self, permission = None): 6496 '''KSambaShareData.UserShareError KSambaShareData.setGuestPermission(KSambaShareData.GuestPermission permission = KSambaShareData.GuestsNotAllowed)''' 6497 return KSambaShareData.UserShareError() 6498 def setAcl(self, acl): 6499 '''KSambaShareData.UserShareError KSambaShareData.setAcl(QString acl)''' 6500 return KSambaShareData.UserShareError() 6501 def setComment(self, comment): 6502 '''KSambaShareData.UserShareError KSambaShareData.setComment(QString comment)''' 6503 return KSambaShareData.UserShareError() 6504 def setPath(self, path): 6505 '''KSambaShareData.UserShareError KSambaShareData.setPath(QString path)''' 6506 return KSambaShareData.UserShareError() 6507 def setName(self, name): 6508 '''KSambaShareData.UserShareError KSambaShareData.setName(QString name)''' 6509 return KSambaShareData.UserShareError() 6510 def guestPermission(self): 6511 '''KSambaShareData.GuestPermission KSambaShareData.guestPermission()''' 6512 return KSambaShareData.GuestPermission() 6513 def acl(self): 6514 '''QString KSambaShareData.acl()''' 6515 return QString() 6516 def comment(self): 6517 '''QString KSambaShareData.comment()''' 6518 return QString() 6519 def path(self): 6520 '''QString KSambaShareData.path()''' 6521 return QString() 6522 def name(self): 6523 '''QString KSambaShareData.name()''' 6524 return QString() 6525 6526 6527 class KScanDialog(KPageDialog): 6528 """""" 6529 def __init__(self, dialogFace = None, buttonMask = None, parent = None): 6530 '''void KScanDialog.__init__(int dialogFace = KPageDialog.Tabbed, int buttonMask = KDialog.Close|KDialog.Help, QWidget parent = None)''' 6531 textRecognized = pyqtSignal() # void textRecognized(const QStringamp;,int) - signal 6532 finalImage = pyqtSignal() # void finalImage(const QImageamp;,int) - signal 6533 preview = pyqtSignal() # void preview(const QImageamp;,int) - signal 6534 def nextId(self): 6535 '''int KScanDialog.nextId()''' 6536 return int() 6537 def id(self): 6538 '''int KScanDialog.id()''' 6539 return int() 6540 def setup(self): 6541 '''bool KScanDialog.setup()''' 6542 return bool() 6543 def getScanDialog(self, parent = None): 6544 '''static KScanDialog KScanDialog.getScanDialog(QWidget parent = None)''' 6545 return KScanDialog() 6546 6547 6548 class KOCRDialog(KPageDialog): 6549 """""" 6550 def __init__(self, dialogFace = None, buttonMask = None, parent = None, modal = False): 6551 '''void KOCRDialog.__init__(int dialogFace = KPageDialog.Tabbed, int buttonMask = KDialog.Close|KDialog.Help, QWidget parent = None, bool modal = False)''' 6552 textRecognized = pyqtSignal() # void textRecognized(const QStringamp;,int) - signal 6553 def nextId(self): 6554 '''int KOCRDialog.nextId()''' 6555 return int() 6556 def id(self): 6557 '''int KOCRDialog.id()''' 6558 return int() 6559 def getOCRDialog(self, parent = None): 6560 '''static KOCRDialog KOCRDialog.getOCRDialog(QWidget parent = None)''' 6561 return KOCRDialog() 6562 6563 6564 class KUrlCompletion(KCompletion): 6565 """""" 6566 # Enum KUrlCompletion.Mode 6567 ExeCompletion = 0 6568 FileCompletion = 0 6569 DirCompletion = 0 6570 6571 def __init__(self): 6572 '''void KUrlCompletion.__init__()''' 6573 def __init__(self): 6574 '''KUrlCompletion.Mode KUrlCompletion.__init__()''' 6575 return KUrlCompletion.Mode() 6576 def customEvent(self, e): 6577 '''void KUrlCompletion.customEvent(QEvent e)''' 6578 def postProcessMatches(self, matches): 6579 '''void KUrlCompletion.postProcessMatches(QStringList matches)''' 6580 def postProcessMatch(self, match): 6581 '''void KUrlCompletion.postProcessMatch(QString match)''' 6582 def replacedPath(self, text): 6583 '''QString KUrlCompletion.replacedPath(QString text)''' 6584 return QString() 6585 def replacedPath(self, text, replaceHome, replaceEnv = True): 6586 '''static QString KUrlCompletion.replacedPath(QString text, bool replaceHome, bool replaceEnv = True)''' 6587 return QString() 6588 def setReplaceHome(self, replace): 6589 '''void KUrlCompletion.setReplaceHome(bool replace)''' 6590 def replaceHome(self): 6591 '''bool KUrlCompletion.replaceHome()''' 6592 return bool() 6593 def setReplaceEnv(self, replace): 6594 '''void KUrlCompletion.setReplaceEnv(bool replace)''' 6595 def replaceEnv(self): 6596 '''bool KUrlCompletion.replaceEnv()''' 6597 return bool() 6598 def setMode(self, mode): 6599 '''void KUrlCompletion.setMode(KUrlCompletion.Mode mode)''' 6600 def mode(self): 6601 '''KUrlCompletion.Mode KUrlCompletion.mode()''' 6602 return KUrlCompletion.Mode() 6603 def stop(self): 6604 '''void KUrlCompletion.stop()''' 6605 def isRunning(self): 6606 '''bool KUrlCompletion.isRunning()''' 6607 return bool() 6608 def dir(self): 6609 '''QString KUrlCompletion.dir()''' 6610 return QString() 6611 def setDir(self, dir): 6612 '''void KUrlCompletion.setDir(QString dir)''' 6613 def makeCompletion(self, text): 6614 '''QString KUrlCompletion.makeCompletion(QString text)''' 6615 return QString() 6616 6617 6618 class KShellCompletion(KUrlCompletion): 6619 """""" 6620 def __init__(self): 6621 '''void KShellCompletion.__init__()''' 6622 def postProcessMatches(self, matches): 6623 '''void KShellCompletion.postProcessMatches(QStringList matches)''' 6624 def postProcessMatch(self, match): 6625 '''void KShellCompletion.postProcessMatch(QString match)''' 6626 def makeCompletion(self, text): 6627 '''QString KShellCompletion.makeCompletion(QString text)''' 6628 return QString() 6629 6630 6631 class KStatusBarOfflineIndicator(QWidget): 6632 """""" 6633 def __init__(self, parent): 6634 '''void KStatusBarOfflineIndicator.__init__(QWidget parent)''' 6635 6636 6637 class KTar(KArchive): 6638 """""" 6639 def __init__(self, filename, mimetype = QString()): 6640 '''void KTar.__init__(QString filename, QString mimetype = QString())''' 6641 def __init__(self, dev): 6642 '''void KTar.__init__(QIODevice dev)''' 6643 def createDevice(self, mode): 6644 '''bool KTar.createDevice(QIODevice.OpenMode mode)''' 6645 return bool() 6646 def closeArchive(self): 6647 '''bool KTar.closeArchive()''' 6648 return bool() 6649 def openArchive(self, mode): 6650 '''bool KTar.openArchive(QIODevice.OpenMode mode)''' 6651 return bool() 6652 def doFinishWriting(self, size): 6653 '''bool KTar.doFinishWriting(int size)''' 6654 return bool() 6655 def doPrepareWriting(self, name, user, group, size, perm, atime, mtime, ctime): 6656 '''bool KTar.doPrepareWriting(QString name, QString user, QString group, int size, int perm, int atime, int mtime, int ctime)''' 6657 return bool() 6658 def doWriteDir(self, name, user, group, perm, atime, mtime, ctime): 6659 '''bool KTar.doWriteDir(QString name, QString user, QString group, int perm, int atime, int mtime, int ctime)''' 6660 return bool() 6661 def doWriteSymLink(self, name, target, user, group, perm, atime, mtime, ctime): 6662 '''bool KTar.doWriteSymLink(QString name, QString target, QString user, QString group, int perm, int atime, int mtime, int ctime)''' 6663 return bool() 6664 def setOrigFileName(self, fileName): 6665 '''void KTar.setOrigFileName(QByteArray fileName)''' 6666 6667 6668 class KUriFilterData(): 6669 """""" 6670 # Enum KUriFilterData.SearchFilterOption 6671 SearchFilterOptionNone = 0 6672 RetrieveSearchProvidersOnly = 0 6673 RetrievePreferredSearchProvidersOnly = 0 6674 RetrieveAvailableSearchProvidersOnly = 0 6675 6676 # Enum KUriFilterData.UriTypes 6677 NetProtocol = 0 6678 LocalFile = 0 6679 LocalDir = 0 6680 Executable = 0 6681 Help = 0 6682 Shell = 0 6683 Blocked = 0 6684 Error = 0 6685 Unknown = 0 6686 6687 def __init__(self): 6688 '''void KUriFilterData.__init__()''' 6689 def __init__(self, url): 6690 '''void KUriFilterData.__init__(KUrl url)''' 6691 def __init__(self, url): 6692 '''void KUriFilterData.__init__(QString url)''' 6693 def setSearchFilteringOptions(self, options): 6694 '''void KUriFilterData.setSearchFilteringOptions(KUriFilterData.SearchFilterOptions options)''' 6695 def setDefaultUrlScheme(self): 6696 '''QString KUriFilterData.setDefaultUrlScheme()''' 6697 return QString() 6698 def searchFilteringOptions(self): 6699 '''KUriFilterData.SearchFilterOptions KUriFilterData.searchFilteringOptions()''' 6700 return KUriFilterData.SearchFilterOptions() 6701 def defaultUrlScheme(self): 6702 '''QString KUriFilterData.defaultUrlScheme()''' 6703 return QString() 6704 def allQueriesForSearchProvider(self, provider): 6705 '''QStringList KUriFilterData.allQueriesForSearchProvider(QString provider)''' 6706 return QStringList() 6707 def queryForSearchProvider(self, provider): 6708 '''KUriFilterSearchProvider KUriFilterData.queryForSearchProvider(QString provider)''' 6709 return KUriFilterSearchProvider() 6710 def setAlternateDefaultSearchProvider(self, provider): 6711 '''void KUriFilterData.setAlternateDefaultSearchProvider(QString provider)''' 6712 def setAlternateSearchProviders(self, providers): 6713 '''void KUriFilterData.setAlternateSearchProviders(QStringList providers)''' 6714 def alternateDefaultSearchProvider(self): 6715 '''QString KUriFilterData.alternateDefaultSearchProvider()''' 6716 return QString() 6717 def alternateSearchProviders(self): 6718 '''QStringList KUriFilterData.alternateSearchProviders()''' 6719 return QStringList() 6720 def iconNameForPreferredSearchProvider(self, provider): 6721 '''QString KUriFilterData.iconNameForPreferredSearchProvider(QString provider)''' 6722 return QString() 6723 def queryForPreferredSearchProvider(self, provider): 6724 '''QString KUriFilterData.queryForPreferredSearchProvider(QString provider)''' 6725 return QString() 6726 def preferredSearchProviders(self): 6727 '''QStringList KUriFilterData.preferredSearchProviders()''' 6728 return QStringList() 6729 def searchProvider(self): 6730 '''QString KUriFilterData.searchProvider()''' 6731 return QString() 6732 def searchTermSeparator(self): 6733 '''QChar KUriFilterData.searchTermSeparator()''' 6734 return QChar() 6735 def searchTerm(self): 6736 '''QString KUriFilterData.searchTerm()''' 6737 return QString() 6738 def typedString(self): 6739 '''QString KUriFilterData.typedString()''' 6740 return QString() 6741 def checkForExecutables(self): 6742 '''bool KUriFilterData.checkForExecutables()''' 6743 return bool() 6744 def setCheckForExecutables(self, check): 6745 '''void KUriFilterData.setCheckForExecutables(bool check)''' 6746 def iconName(self): 6747 '''QString KUriFilterData.iconName()''' 6748 return QString() 6749 def hasArgsAndOptions(self): 6750 '''bool KUriFilterData.hasArgsAndOptions()''' 6751 return bool() 6752 def argsAndOptions(self): 6753 '''QString KUriFilterData.argsAndOptions()''' 6754 return QString() 6755 def hasAbsolutePath(self): 6756 '''bool KUriFilterData.hasAbsolutePath()''' 6757 return bool() 6758 def absolutePath(self): 6759 '''QString KUriFilterData.absolutePath()''' 6760 return QString() 6761 def setAbsolutePath(self, abs_path): 6762 '''bool KUriFilterData.setAbsolutePath(QString abs_path)''' 6763 return bool() 6764 def setData(self, url): 6765 '''void KUriFilterData.setData(KUrl url)''' 6766 def setData(self, url): 6767 '''void KUriFilterData.setData(QString url)''' 6768 def uriType(self): 6769 '''KUriFilterData.UriTypes KUriFilterData.uriType()''' 6770 return KUriFilterData.UriTypes() 6771 def errorMsg(self): 6772 '''QString KUriFilterData.errorMsg()''' 6773 return QString() 6774 def uri(self): 6775 '''KUrl KUriFilterData.uri()''' 6776 return KUrl() 6777 class SearchFilterOptions(): 6778 """""" 6779 def __init__(self): 6780 '''KUriFilterData.SearchFilterOptions KUriFilterData.SearchFilterOptions.__init__()''' 6781 return KUriFilterData.SearchFilterOptions() 6782 def __init__(self): 6783 '''int KUriFilterData.SearchFilterOptions.__init__()''' 6784 return int() 6785 def __init__(self): 6786 '''void KUriFilterData.SearchFilterOptions.__init__()''' 6787 def __bool__(self): 6788 '''int KUriFilterData.SearchFilterOptions.__bool__()''' 6789 return int() 6790 def __ne__(self, f): 6791 '''bool KUriFilterData.SearchFilterOptions.__ne__(KUriFilterData.SearchFilterOptions f)''' 6792 return bool() 6793 def __eq__(self, f): 6794 '''bool KUriFilterData.SearchFilterOptions.__eq__(KUriFilterData.SearchFilterOptions f)''' 6795 return bool() 6796 def __invert__(self): 6797 '''KUriFilterData.SearchFilterOptions KUriFilterData.SearchFilterOptions.__invert__()''' 6798 return KUriFilterData.SearchFilterOptions() 6799 def __and__(self, mask): 6800 '''KUriFilterData.SearchFilterOptions KUriFilterData.SearchFilterOptions.__and__(int mask)''' 6801 return KUriFilterData.SearchFilterOptions() 6802 def __xor__(self, f): 6803 '''KUriFilterData.SearchFilterOptions KUriFilterData.SearchFilterOptions.__xor__(KUriFilterData.SearchFilterOptions f)''' 6804 return KUriFilterData.SearchFilterOptions() 6805 def __xor__(self, f): 6806 '''KUriFilterData.SearchFilterOptions KUriFilterData.SearchFilterOptions.__xor__(int f)''' 6807 return KUriFilterData.SearchFilterOptions() 6808 def __or__(self, f): 6809 '''KUriFilterData.SearchFilterOptions KUriFilterData.SearchFilterOptions.__or__(KUriFilterData.SearchFilterOptions f)''' 6810 return KUriFilterData.SearchFilterOptions() 6811 def __or__(self, f): 6812 '''KUriFilterData.SearchFilterOptions KUriFilterData.SearchFilterOptions.__or__(int f)''' 6813 return KUriFilterData.SearchFilterOptions() 6814 def __int__(self): 6815 '''int KUriFilterData.SearchFilterOptions.__int__()''' 6816 return int() 6817 def __ixor__(self, f): 6818 '''KUriFilterData.SearchFilterOptions KUriFilterData.SearchFilterOptions.__ixor__(KUriFilterData.SearchFilterOptions f)''' 6819 return KUriFilterData.SearchFilterOptions() 6820 def __ior__(self, f): 6821 '''KUriFilterData.SearchFilterOptions KUriFilterData.SearchFilterOptions.__ior__(KUriFilterData.SearchFilterOptions f)''' 6822 return KUriFilterData.SearchFilterOptions() 6823 def __iand__(self, mask): 6824 '''KUriFilterData.SearchFilterOptions KUriFilterData.SearchFilterOptions.__iand__(int mask)''' 6825 return KUriFilterData.SearchFilterOptions() 6826 6827 6828 class KUriFilterPlugin(QObject): 6829 """""" 6830 def __init__(self, name, parent = None): 6831 '''void KUriFilterPlugin.__init__(QString name, QObject parent = None)''' 6832 def resolveName(self, hostname, timeout): 6833 '''QHostInfo KUriFilterPlugin.resolveName(QString hostname, int timeout)''' 6834 return QHostInfo() 6835 def setSearchProviders(self, data, providers): 6836 '''void KUriFilterPlugin.setSearchProviders(KUriFilterData data, list-of-KUriFilterSearchProvider providers)''' 6837 def iconNameFor(self, url, type): 6838 '''QString KUriFilterPlugin.iconNameFor(KUrl url, KUriFilterData.UriTypes type)''' 6839 return QString() 6840 def setSearchProvider(self, data, provider, term, separator): 6841 '''void KUriFilterPlugin.setSearchProvider(KUriFilterData data, QString provider, QString term, QChar separator)''' 6842 def setArguments(self, data, args): 6843 '''void KUriFilterPlugin.setArguments(KUriFilterData data, QString args)''' 6844 def setUriType(self, data, type): 6845 '''void KUriFilterPlugin.setUriType(KUriFilterData data, KUriFilterData.UriTypes type)''' 6846 def setErrorMsg(self, data, errmsg): 6847 '''void KUriFilterPlugin.setErrorMsg(KUriFilterData data, QString errmsg)''' 6848 def setFilteredUri(self, data, uri): 6849 '''void KUriFilterPlugin.setFilteredUri(KUriFilterData data, KUrl uri)''' 6850 def configName(self): 6851 '''QString KUriFilterPlugin.configName()''' 6852 return QString() 6853 def configModule(self): 6854 '''str KUriFilterPlugin.configModule()''' 6855 return str() 6856 def filterUri(self, data): 6857 '''abstract bool KUriFilterPlugin.filterUri(KUriFilterData data)''' 6858 return bool() 6859 6860 6861 class KUriFilter(): 6862 """""" 6863 # Enum KUriFilter.SearchFilterType 6864 NormalTextFilter = 0 6865 WebShortcutFilter = 0 6866 6867 def __init__(self): 6868 '''void KUriFilter.__init__()''' 6869 def filterSearchUri(self, data): 6870 '''bool KUriFilter.filterSearchUri(KUriFilterData data)''' 6871 return bool() 6872 def filterSearchUri(self, data, types): 6873 '''bool KUriFilter.filterSearchUri(KUriFilterData data, KUriFilter.SearchFilterTypes types)''' 6874 return bool() 6875 def loadPlugins(self): 6876 '''void KUriFilter.loadPlugins()''' 6877 def pluginNames(self): 6878 '''QStringList KUriFilter.pluginNames()''' 6879 return QStringList() 6880 def filteredUri(self, uri, filters = QStringList()): 6881 '''KUrl KUriFilter.filteredUri(KUrl uri, QStringList filters = QStringList())''' 6882 return KUrl() 6883 def filteredUri(self, uri, filters = QStringList()): 6884 '''QString KUriFilter.filteredUri(QString uri, QStringList filters = QStringList())''' 6885 return QString() 6886 def filterUri(self, data, filters = QStringList()): 6887 '''bool KUriFilter.filterUri(KUriFilterData data, QStringList filters = QStringList())''' 6888 return bool() 6889 def filterUri(self, uri, filters = QStringList()): 6890 '''bool KUriFilter.filterUri(KUrl uri, QStringList filters = QStringList())''' 6891 return bool() 6892 def filterUri(self, uri, filters = QStringList()): 6893 '''bool KUriFilter.filterUri(QString uri, QStringList filters = QStringList())''' 6894 return bool() 6895 def self(self): 6896 '''static KUriFilter KUriFilter.self()''' 6897 return KUriFilter() 6898 class SearchFilterTypes(): 6899 """""" 6900 def __init__(self): 6901 '''KUriFilter.SearchFilterTypes KUriFilter.SearchFilterTypes.__init__()''' 6902 return KUriFilter.SearchFilterTypes() 6903 def __init__(self): 6904 '''int KUriFilter.SearchFilterTypes.__init__()''' 6905 return int() 6906 def __init__(self): 6907 '''void KUriFilter.SearchFilterTypes.__init__()''' 6908 def __bool__(self): 6909 '''int KUriFilter.SearchFilterTypes.__bool__()''' 6910 return int() 6911 def __ne__(self, f): 6912 '''bool KUriFilter.SearchFilterTypes.__ne__(KUriFilter.SearchFilterTypes f)''' 6913 return bool() 6914 def __eq__(self, f): 6915 '''bool KUriFilter.SearchFilterTypes.__eq__(KUriFilter.SearchFilterTypes f)''' 6916 return bool() 6917 def __invert__(self): 6918 '''KUriFilter.SearchFilterTypes KUriFilter.SearchFilterTypes.__invert__()''' 6919 return KUriFilter.SearchFilterTypes() 6920 def __and__(self, mask): 6921 '''KUriFilter.SearchFilterTypes KUriFilter.SearchFilterTypes.__and__(int mask)''' 6922 return KUriFilter.SearchFilterTypes() 6923 def __xor__(self, f): 6924 '''KUriFilter.SearchFilterTypes KUriFilter.SearchFilterTypes.__xor__(KUriFilter.SearchFilterTypes f)''' 6925 return KUriFilter.SearchFilterTypes() 6926 def __xor__(self, f): 6927 '''KUriFilter.SearchFilterTypes KUriFilter.SearchFilterTypes.__xor__(int f)''' 6928 return KUriFilter.SearchFilterTypes() 6929 def __or__(self, f): 6930 '''KUriFilter.SearchFilterTypes KUriFilter.SearchFilterTypes.__or__(KUriFilter.SearchFilterTypes f)''' 6931 return KUriFilter.SearchFilterTypes() 6932 def __or__(self, f): 6933 '''KUriFilter.SearchFilterTypes KUriFilter.SearchFilterTypes.__or__(int f)''' 6934 return KUriFilter.SearchFilterTypes() 6935 def __int__(self): 6936 '''int KUriFilter.SearchFilterTypes.__int__()''' 6937 return int() 6938 def __ixor__(self, f): 6939 '''KUriFilter.SearchFilterTypes KUriFilter.SearchFilterTypes.__ixor__(KUriFilter.SearchFilterTypes f)''' 6940 return KUriFilter.SearchFilterTypes() 6941 def __ior__(self, f): 6942 '''KUriFilter.SearchFilterTypes KUriFilter.SearchFilterTypes.__ior__(KUriFilter.SearchFilterTypes f)''' 6943 return KUriFilter.SearchFilterTypes() 6944 def __iand__(self, mask): 6945 '''KUriFilter.SearchFilterTypes KUriFilter.SearchFilterTypes.__iand__(int mask)''' 6946 return KUriFilter.SearchFilterTypes() 6947 6948 6949 class KUriFilterSearchProvider(): 6950 """""" 6951 def __init__(self): 6952 '''void KUriFilterSearchProvider.__init__()''' 6953 def __init__(self): 6954 '''KUriFilterSearchProvider KUriFilterSearchProvider.__init__()''' 6955 return KUriFilterSearchProvider() 6956 def setName(self): 6957 '''QString KUriFilterSearchProvider.setName()''' 6958 return QString() 6959 def setKeys(self): 6960 '''QStringList KUriFilterSearchProvider.setKeys()''' 6961 return QStringList() 6962 def setIconName(self): 6963 '''QString KUriFilterSearchProvider.setIconName()''' 6964 return QString() 6965 def setDesktopEntryName(self): 6966 '''QString KUriFilterSearchProvider.setDesktopEntryName()''' 6967 return QString() 6968 def defaultKey(self): 6969 '''QString KUriFilterSearchProvider.defaultKey()''' 6970 return QString() 6971 def keys(self): 6972 '''QStringList KUriFilterSearchProvider.keys()''' 6973 return QStringList() 6974 def iconName(self): 6975 '''QString KUriFilterSearchProvider.iconName()''' 6976 return QString() 6977 def name(self): 6978 '''QString KUriFilterSearchProvider.name()''' 6979 return QString() 6980 def desktopEntryName(self): 6981 '''QString KUriFilterSearchProvider.desktopEntryName()''' 6982 return QString() 6983 6984 6985 class KUrlComboBox(KComboBox): 6986 """""" 6987 # Enum KUrlComboBox.OverLoadResolving 6988 RemoveTop = 0 6989 RemoveBottom = 0 6990 6991 # Enum KUrlComboBox.Mode 6992 Files = 0 6993 Directories = 0 6994 Both = 0 6995 6996 def __init__(self, mode, parent = None): 6997 '''void KUrlComboBox.__init__(KUrlComboBox.Mode mode, QWidget parent = None)''' 6998 def __init__(self, mode, rw, parent = None): 6999 '''void KUrlComboBox.__init__(KUrlComboBox.Mode mode, bool rw, QWidget parent = None)''' 7000 def mouseMoveEvent(self, event): 7001 '''void KUrlComboBox.mouseMoveEvent(QMouseEvent event)''' 7002 def mousePressEvent(self, event): 7003 '''void KUrlComboBox.mousePressEvent(QMouseEvent event)''' 7004 urlActivated = pyqtSignal() # void urlActivated(const KUrlamp;) - signal 7005 def setCompletionObject(self, compObj, hsig = True): 7006 '''void KUrlComboBox.setCompletionObject(KCompletion compObj, bool hsig = True)''' 7007 def removeUrl(self, url, checkDefaultURLs = True): 7008 '''void KUrlComboBox.removeUrl(KUrl url, bool checkDefaultURLs = True)''' 7009 def setDefaults(self): 7010 '''void KUrlComboBox.setDefaults()''' 7011 def addDefaultUrl(self, url, text = QString()): 7012 '''void KUrlComboBox.addDefaultUrl(KUrl url, QString text = QString())''' 7013 def addDefaultUrl(self, url, icon, text = QString()): 7014 '''void KUrlComboBox.addDefaultUrl(KUrl url, QIcon icon, QString text = QString())''' 7015 def maxItems(self): 7016 '''int KUrlComboBox.maxItems()''' 7017 return int() 7018 def setMaxItems(self): 7019 '''int KUrlComboBox.setMaxItems()''' 7020 return int() 7021 def urls(self): 7022 '''QStringList KUrlComboBox.urls()''' 7023 return QStringList() 7024 def setUrls(self, urls): 7025 '''void KUrlComboBox.setUrls(QStringList urls)''' 7026 def setUrls(self, urls, remove): 7027 '''void KUrlComboBox.setUrls(QStringList urls, KUrlComboBox.OverLoadResolving remove)''' 7028 def setUrl(self, url): 7029 '''void KUrlComboBox.setUrl(KUrl url)''' 7030 7031 7032 class KUrlNavigator(QWidget): 7033 """""" 7034 def __init__(self, placesModel, url, parent): 7035 '''void KUrlNavigator.__init__(KFilePlacesModel placesModel, KUrl url, QWidget parent)''' 7036 def __init__(self, parent = None): 7037 '''void KUrlNavigator.__init__(QWidget parent = None)''' 7038 def wheelEvent(self, event): 7039 '''void KUrlNavigator.wheelEvent(QWheelEvent event)''' 7040 def keyReleaseEvent(self, event): 7041 '''void KUrlNavigator.keyReleaseEvent(QKeyEvent event)''' 7042 def keyPressEvent(self, event): 7043 '''void KUrlNavigator.keyPressEvent(QKeyEvent event)''' 7044 tabRequested = pyqtSignal() # void tabRequested(const KUrlamp;) - signal 7045 urlAboutToBeChanged = pyqtSignal() # void urlAboutToBeChanged(const KUrlamp;) - signal 7046 def setLocationUrl(self, url): 7047 '''void KUrlNavigator.setLocationUrl(KUrl url)''' 7048 def homeUrl(self): 7049 '''KUrl KUrlNavigator.homeUrl()''' 7050 return KUrl() 7051 def locationState(self, historyIndex = None): 7052 '''QByteArray KUrlNavigator.locationState(int historyIndex = -1)''' 7053 return QByteArray() 7054 def saveLocationState(self, state): 7055 '''void KUrlNavigator.saveLocationState(QByteArray state)''' 7056 def locationUrl(self, historyIndex = None): 7057 '''KUrl KUrlNavigator.locationUrl(int historyIndex = -1)''' 7058 return KUrl() 7059 def eventFilter(self, watched, event): 7060 '''bool KUrlNavigator.eventFilter(QObject watched, QEvent event)''' 7061 return bool() 7062 def resizeEvent(self, event): 7063 '''void KUrlNavigator.resizeEvent(QResizeEvent event)''' 7064 def mouseReleaseEvent(self, event): 7065 '''void KUrlNavigator.mouseReleaseEvent(QMouseEvent event)''' 7066 returnPressed = pyqtSignal() # void returnPressed() - signal 7067 urlsDropped = pyqtSignal() # void urlsDropped(const KUrl::Listamp;,const KUrlamp;) - signal 7068 urlsDropped = pyqtSignal() # void urlsDropped(const KUrlamp;,QDropEvent *) - signal 7069 historyChanged = pyqtSignal() # void historyChanged() - signal 7070 editableStateChanged = pyqtSignal() # void editableStateChanged(bool) - signal 7071 urlChanged = pyqtSignal() # void urlChanged(const KUrlamp;) - signal 7072 activated = pyqtSignal() # void activated() - signal 7073 def setFocus(self): 7074 '''void KUrlNavigator.setFocus()''' 7075 def savePosition(self, x, y): 7076 '''void KUrlNavigator.savePosition(int x, int y)''' 7077 def saveRootUrl(self, url): 7078 '''void KUrlNavigator.saveRootUrl(KUrl url)''' 7079 def requestActivation(self): 7080 '''void KUrlNavigator.requestActivation()''' 7081 def setUrl(self, url): 7082 '''void KUrlNavigator.setUrl(KUrl url)''' 7083 def customProtocols(self): 7084 '''QStringList KUrlNavigator.customProtocols()''' 7085 return QStringList() 7086 def setCustomProtocols(self, protocols): 7087 '''void KUrlNavigator.setCustomProtocols(QStringList protocols)''' 7088 def editor(self): 7089 '''KUrlComboBox KUrlNavigator.editor()''' 7090 return KUrlComboBox() 7091 def savedPosition(self): 7092 '''QPoint KUrlNavigator.savedPosition()''' 7093 return QPoint() 7094 def savedRootUrl(self): 7095 '''KUrl KUrlNavigator.savedRootUrl()''' 7096 return KUrl() 7097 def historyUrl(self, historyIndex): 7098 '''KUrl KUrlNavigator.historyUrl(int historyIndex)''' 7099 return KUrl() 7100 def historyIndex(self): 7101 '''int KUrlNavigator.historyIndex()''' 7102 return int() 7103 def historySize(self): 7104 '''int KUrlNavigator.historySize()''' 7105 return int() 7106 def isPlacesSelectorVisible(self): 7107 '''bool KUrlNavigator.isPlacesSelectorVisible()''' 7108 return bool() 7109 def setPlacesSelectorVisible(self, visible): 7110 '''void KUrlNavigator.setPlacesSelectorVisible(bool visible)''' 7111 def isActive(self): 7112 '''bool KUrlNavigator.isActive()''' 7113 return bool() 7114 def setActive(self, active): 7115 '''void KUrlNavigator.setActive(bool active)''' 7116 def showFullPath(self): 7117 '''bool KUrlNavigator.showFullPath()''' 7118 return bool() 7119 def setShowFullPath(self, show): 7120 '''void KUrlNavigator.setShowFullPath(bool show)''' 7121 def isUrlEditable(self): 7122 '''bool KUrlNavigator.isUrlEditable()''' 7123 return bool() 7124 def setUrlEditable(self, editable): 7125 '''void KUrlNavigator.setUrlEditable(bool editable)''' 7126 def setHomeUrl(self, homeUrl): 7127 '''void KUrlNavigator.setHomeUrl(QString homeUrl)''' 7128 def setHomeUrl(self, url): 7129 '''void KUrlNavigator.setHomeUrl(KUrl url)''' 7130 def goHome(self): 7131 '''void KUrlNavigator.goHome()''' 7132 def goUp(self): 7133 '''bool KUrlNavigator.goUp()''' 7134 return bool() 7135 def goForward(self): 7136 '''bool KUrlNavigator.goForward()''' 7137 return bool() 7138 def goBack(self): 7139 '''bool KUrlNavigator.goBack()''' 7140 return bool() 7141 def uncommittedUrl(self): 7142 '''KUrl KUrlNavigator.uncommittedUrl()''' 7143 return KUrl() 7144 def url(self): 7145 '''KUrl KUrlNavigator.url()''' 7146 return KUrl() 7147 def url(self, index): 7148 '''KUrl KUrlNavigator.url(int index)''' 7149 return KUrl() 7150 7151 7152 class KUrlPixmapProvider(KPixmapProvider): 7153 """""" 7154 def __init__(self): 7155 '''void KUrlPixmapProvider.__init__()''' 7156 def pixmapFor(self, url, size = 0): 7157 '''QPixmap KUrlPixmapProvider.pixmapFor(QString url, int size = 0)''' 7158 return QPixmap() 7159 7160 7161 class KUrlRequester(KHBox): 7162 """""" 7163 def __init__(self, parent = None): 7164 '''void KUrlRequester.__init__(QWidget parent = None)''' 7165 def __init__(self, url, parent = None): 7166 '''void KUrlRequester.__init__(KUrl url, QWidget parent = None)''' 7167 def __init__(self, editWidget, parent): 7168 '''void KUrlRequester.__init__(QWidget editWidget, QWidget parent)''' 7169 def setFileDialogModality(self, modality): 7170 '''void KUrlRequester.setFileDialogModality(Qt.WindowModality modality)''' 7171 def fileDialogModality(self): 7172 '''Qt.WindowModality KUrlRequester.fileDialogModality()''' 7173 return Qt.WindowModality() 7174 def eventFilter(self, obj, ev): 7175 '''bool KUrlRequester.eventFilter(QObject obj, QEvent ev)''' 7176 return bool() 7177 def changeEvent(self, e): 7178 '''void KUrlRequester.changeEvent(QEvent e)''' 7179 urlSelected = pyqtSignal() # void urlSelected(const KUrlamp;) - signal 7180 openFileDialog = pyqtSignal() # void openFileDialog(KUrlRequester *) - signal 7181 returnPressed = pyqtSignal() # void returnPressed() - signal 7182 returnPressed = pyqtSignal() # void returnPressed(const QStringamp;) - signal 7183 textChanged = pyqtSignal() # void textChanged(const QStringamp;) - signal 7184 def clear(self): 7185 '''void KUrlRequester.clear()''' 7186 def setText(self, text): 7187 '''void KUrlRequester.setText(QString text)''' 7188 def setPath(self, path): 7189 '''void KUrlRequester.setPath(QString path)''' 7190 def setStartDir(self, startDir): 7191 '''void KUrlRequester.setStartDir(KUrl startDir)''' 7192 def setUrl(self, url): 7193 '''void KUrlRequester.setUrl(KUrl url)''' 7194 def setClickMessage(self, msg): 7195 '''void KUrlRequester.setClickMessage(QString msg)''' 7196 def clickMessage(self): 7197 '''QString KUrlRequester.clickMessage()''' 7198 return QString() 7199 def customEditor(self): 7200 '''KEditListBox.CustomEditor KUrlRequester.customEditor()''' 7201 return KEditListBox.CustomEditor() 7202 def completionObject(self): 7203 '''KUrlCompletion KUrlRequester.completionObject()''' 7204 return KUrlCompletion() 7205 def button(self): 7206 '''KPushButton KUrlRequester.button()''' 7207 return KPushButton() 7208 def comboBox(self): 7209 '''KComboBox KUrlRequester.comboBox()''' 7210 return KComboBox() 7211 def lineEdit(self): 7212 '''KLineEdit KUrlRequester.lineEdit()''' 7213 return KLineEdit() 7214 def fileDialog(self): 7215 '''KFileDialog KUrlRequester.fileDialog()''' 7216 return KFileDialog() 7217 def filter(self): 7218 '''QString KUrlRequester.filter()''' 7219 return QString() 7220 def setFilter(self, filter): 7221 '''void KUrlRequester.setFilter(QString filter)''' 7222 def mode(self): 7223 '''KFile.Modes KUrlRequester.mode()''' 7224 return KFile.Modes() 7225 def setMode(self, m): 7226 '''void KUrlRequester.setMode(KFile.Modes m)''' 7227 def text(self): 7228 '''QString KUrlRequester.text()''' 7229 return QString() 7230 def startDir(self): 7231 '''KUrl KUrlRequester.startDir()''' 7232 return KUrl() 7233 def url(self): 7234 '''KUrl KUrlRequester.url()''' 7235 return KUrl() 7236 7237 7238 class KUrlComboRequester(KUrlRequester): 7239 """""" 7240 def __init__(self, parent = None): 7241 '''void KUrlComboRequester.__init__(QWidget parent = None)''' 7242 7243 7244 class KUrlRequesterDialog(KDialog): 7245 """""" 7246 def __init__(self, url, parent = None): 7247 '''void KUrlRequesterDialog.__init__(QString url, QWidget parent = None)''' 7248 def __init__(self, url, text, parent): 7249 '''void KUrlRequesterDialog.__init__(QString url, QString text, QWidget parent)''' 7250 def urlRequester(self): 7251 '''KUrlRequester KUrlRequesterDialog.urlRequester()''' 7252 return KUrlRequester() 7253 def fileDialog(self): 7254 '''KFileDialog KUrlRequesterDialog.fileDialog()''' 7255 return KFileDialog() 7256 def getUrl(self, url = QString(), parent = None, caption = QString()): 7257 '''static KUrl KUrlRequesterDialog.getUrl(QString url = QString(), QWidget parent = None, QString caption = QString())''' 7258 return KUrl() 7259 def selectedUrl(self): 7260 '''KUrl KUrlRequesterDialog.selectedUrl()''' 7261 return KUrl() 7262 7263 7264 class KZip(KArchive): 7265 """""" 7266 # Enum KZip.Compression 7267 NoCompression = 0 7268 DeflateCompression = 0 7269 7270 # Enum KZip.ExtraField 7271 NoExtraField = 0 7272 ModificationTime = 0 7273 DefaultExtraField = 0 7274 7275 def __init__(self, filename): 7276 '''void KZip.__init__(QString filename)''' 7277 def __init__(self, dev): 7278 '''void KZip.__init__(QIODevice dev)''' 7279 def doWriteDir(self, name, user, group, perm, atime, mtime, ctime): 7280 '''bool KZip.doWriteDir(QString name, QString user, QString group, int perm, int atime, int mtime, int ctime)''' 7281 return bool() 7282 def closeArchive(self): 7283 '''bool KZip.closeArchive()''' 7284 return bool() 7285 def openArchive(self, mode): 7286 '''bool KZip.openArchive(QIODevice.OpenMode mode)''' 7287 return bool() 7288 def doFinishWriting(self, size): 7289 '''bool KZip.doFinishWriting(int size)''' 7290 return bool() 7291 def doPrepareWriting(self, name, user, group, size, perm, atime, mtime, ctime): 7292 '''bool KZip.doPrepareWriting(QString name, QString user, QString group, int size, int perm, int atime, int mtime, int ctime)''' 7293 return bool() 7294 def doWriteSymLink(self, name, target, user, group, perm, atime, mtime, ctime): 7295 '''bool KZip.doWriteSymLink(QString name, QString target, QString user, QString group, int perm, int atime, int mtime, int ctime)''' 7296 return bool() 7297 def writeData(self, data, size): 7298 '''bool KZip.writeData(str data, int size)''' 7299 return bool() 7300 def compression(self): 7301 '''KZip.Compression KZip.compression()''' 7302 return KZip.Compression() 7303 def setCompression(self, c): 7304 '''void KZip.setCompression(KZip.Compression c)''' 7305 def extraField(self): 7306 '''KZip.ExtraField KZip.extraField()''' 7307 return KZip.ExtraField() 7308 def setExtraField(self, ef): 7309 '''void KZip.setExtraField(KZip.ExtraField ef)''' 7310 7311 7312 class KZipFileEntry(KArchiveFile): 7313 """""" 7314 def __init__(self, zip, name, access, date, user, group, symlink, path, start, uncompressedSize, encoding, compressedSize): 7315 '''void KZipFileEntry.__init__(KZip zip, QString name, int access, int date, QString user, QString group, QString symlink, QString path, int start, int uncompressedSize, int encoding, int compressedSize)''' 7316 def createDevice(self): 7317 '''QIODevice KZipFileEntry.createDevice()''' 7318 return QIODevice() 7319 def data(self): 7320 '''QByteArray KZipFileEntry.data()''' 7321 return QByteArray() 7322 def path(self): 7323 '''QString KZipFileEntry.path()''' 7324 return QString() 7325 def setCRC32(self, crc32): 7326 '''void KZipFileEntry.setCRC32(int crc32)''' 7327 def crc32(self): 7328 '''int KZipFileEntry.crc32()''' 7329 return int() 7330 def headerStart(self): 7331 '''int KZipFileEntry.headerStart()''' 7332 return int() 7333 def setHeaderStart(self, headerstart): 7334 '''void KZipFileEntry.setHeaderStart(int headerstart)''' 7335 def setCompressedSize(self, compressedSize): 7336 '''void KZipFileEntry.setCompressedSize(int compressedSize)''' 7337 def compressedSize(self): 7338 '''int KZipFileEntry.compressedSize()''' 7339 return int() 7340 def encoding(self): 7341 '''int KZipFileEntry.encoding()''' 7342 return int() 7343 7344 7345 class PredicateProperties(): 7346 """""" 7347 # Enum PredicateProperties.Attributes 7348 Addable = 0 7349 Removable = 0 7350 Modifiable = 0 7351 Cumulative = 0 7352 Averaged = 0 7353 MultiLine = 0 7354 SqueezeText = 0 7355 7356 def __init__(self, predicate = QString()): 7357 '''void PredicateProperties.__init__(QString predicate = QString())''' 7358 def __init__(self, p): 7359 '''void PredicateProperties.__init__(PredicateProperties p)''' 7360 def isValid(self): 7361 '''bool PredicateProperties.isValid()''' 7362 return bool() 7363 def parent(self): 7364 '''PredicateProperties PredicateProperties.parent()''' 7365 return PredicateProperties() 7366 def maxCardinality(self): 7367 '''int PredicateProperties.maxCardinality()''' 7368 return int() 7369 def minCardinality(self): 7370 '''int PredicateProperties.minCardinality()''' 7371 return int() 7372 def suggestedValues(self): 7373 '''QStringList PredicateProperties.suggestedValues()''' 7374 return QStringList() 7375 def createValidator(self): 7376 '''QValidator PredicateProperties.createValidator()''' 7377 return QValidator() 7378 def name(self): 7379 '''QString PredicateProperties.name()''' 7380 return QString() 7381 def type(self): 7382 '''Type PredicateProperties.type()''' 7383 return Type() 7384 def attributes(self): 7385 '''int PredicateProperties.attributes()''' 7386 return int() 7387 7388 7389 class ThumbCreatorV2(ThumbCreator): 7390 """""" 7391 def __init__(self): 7392 '''void ThumbCreatorV2.__init__()''' 7393 def __init__(self): 7394 '''ThumbCreatorV2 ThumbCreatorV2.__init__()''' 7395 return ThumbCreatorV2() 7396 def writeConfiguration(self, configurationWidget): 7397 '''void ThumbCreatorV2.writeConfiguration(QWidget configurationWidget)''' 7398 def createConfigurationWidget(self): 7399 '''QWidget ThumbCreatorV2.createConfigurationWidget()''' 7400 return QWidget() 7401 7402 7403 def qHash(key): 7404 '''static int qHash(QString key)''' 7405 return int() 7406 7407 def qHash(item): 7408 '''static int qHash(KFileItem item)''' 7409 return int() 7410