File indexing completed on 2024-05-12 16:08:27
0001 class pyqtSignal(): 0002 def connect(self, targetSignal): pass 0003 def emit(self, *args): pass 0004 from QtCore import * 0005 0006 class KAboutPerson(): 0007 """""" 0008 def __init__(self, name, task = KLocalizedString(), emailAddress = QByteArray(), webAddress = QByteArray()): 0009 '''void KAboutPerson.__init__(KLocalizedString name, KLocalizedString task = KLocalizedString(), QByteArray emailAddress = QByteArray(), QByteArray webAddress = QByteArray())''' 0010 def __init__(self, other): 0011 '''void KAboutPerson.__init__(KAboutPerson other)''' 0012 def __init__(self, name, task, emailAddress, webAddress, ocsUsername): 0013 '''void KAboutPerson.__init__(KLocalizedString name, KLocalizedString task, QByteArray emailAddress, QByteArray webAddress, QByteArray ocsUsername)''' 0014 def ocsUsername(self): 0015 '''QString KAboutPerson.ocsUsername()''' 0016 return QString() 0017 def webAddress(self): 0018 '''QString KAboutPerson.webAddress()''' 0019 return QString() 0020 def emailAddress(self): 0021 '''QString KAboutPerson.emailAddress()''' 0022 return QString() 0023 def task(self): 0024 '''QString KAboutPerson.task()''' 0025 return QString() 0026 def name(self): 0027 '''QString KAboutPerson.name()''' 0028 return QString() 0029 0030 0031 class KAboutData(): 0032 """""" 0033 # Enum KAboutData.NameFormat 0034 ShortName = 0 0035 FullName = 0 0036 0037 # Enum KAboutData.LicenseKey 0038 License_Custom = 0 0039 License_File = 0 0040 License_Unknown = 0 0041 License_GPL = 0 0042 License_GPL_V2 = 0 0043 License_LGPL = 0 0044 License_LGPL_V2 = 0 0045 License_BSD = 0 0046 License_Artistic = 0 0047 License_QPL = 0 0048 License_QPL_V1_0 = 0 0049 License_GPL_V3 = 0 0050 License_LGPL_V3 = 0 0051 0052 def __init__(self, appName, catalogName, programName, version, shortDescription = KLocalizedString(), licenseType = None, copyrightStatement = KLocalizedString(), otherText = KLocalizedString(), homePageAddress = QByteArray(), bugsEmailAddress = None): 0053 '''void KAboutData.__init__(QByteArray appName, QByteArray catalogName, KLocalizedString programName, QByteArray version, KLocalizedString shortDescription = KLocalizedString(), KAboutData.LicenseKey licenseType = KAboutData.License_Unknown, KLocalizedString copyrightStatement = KLocalizedString(), KLocalizedString otherText = KLocalizedString(), QByteArray homePageAddress = QByteArray(), QByteArray bugsEmailAddress = submit@bugs.kde.org)''' 0054 def __init__(self, other): 0055 '''void KAboutData.__init__(KAboutData other)''' 0056 def ocsProviderUrl(self): 0057 '''QString KAboutData.ocsProviderUrl()''' 0058 return QString() 0059 def setOcsProvider(self, providerUrl): 0060 '''KAboutData KAboutData.setOcsProvider(QByteArray providerUrl)''' 0061 return KAboutData() 0062 def unsetCustomAuthorText(self): 0063 '''KAboutData KAboutData.unsetCustomAuthorText()''' 0064 return KAboutData() 0065 def setCustomAuthorText(self, plainText, richText): 0066 '''KAboutData KAboutData.setCustomAuthorText(KLocalizedString plainText, KLocalizedString richText)''' 0067 return KAboutData() 0068 def customAuthorTextEnabled(self): 0069 '''bool KAboutData.customAuthorTextEnabled()''' 0070 return bool() 0071 def customAuthorRichText(self): 0072 '''QString KAboutData.customAuthorRichText()''' 0073 return QString() 0074 def customAuthorPlainText(self): 0075 '''QString KAboutData.customAuthorPlainText()''' 0076 return QString() 0077 def copyrightStatement(self): 0078 '''QString KAboutData.copyrightStatement()''' 0079 return QString() 0080 def licenses(self): 0081 '''list-of-KAboutLicense KAboutData.licenses()''' 0082 return [KAboutLicense()] 0083 def licenseName(self, formatName): 0084 '''QString KAboutData.licenseName(KAboutData.NameFormat formatName)''' 0085 return QString() 0086 def license(self): 0087 '''QString KAboutData.license()''' 0088 return QString() 0089 def otherText(self): 0090 '''QString KAboutData.otherText()''' 0091 return QString() 0092 def aboutTranslationTeam(self): 0093 '''static QString KAboutData.aboutTranslationTeam()''' 0094 return QString() 0095 def translators(self): 0096 '''list-of-KAboutPerson KAboutData.translators()''' 0097 return [KAboutPerson()] 0098 def credits(self): 0099 '''list-of-KAboutPerson KAboutData.credits()''' 0100 return [KAboutPerson()] 0101 def authors(self): 0102 '''list-of-KAboutPerson KAboutData.authors()''' 0103 return [KAboutPerson()] 0104 def internalBugAddress(self): 0105 '''str KAboutData.internalBugAddress()''' 0106 return str() 0107 def bugAddress(self): 0108 '''QString KAboutData.bugAddress()''' 0109 return QString() 0110 def homepage(self): 0111 '''QString KAboutData.homepage()''' 0112 return QString() 0113 def catalogName(self): 0114 '''QString KAboutData.catalogName()''' 0115 return QString() 0116 def shortDescription(self): 0117 '''QString KAboutData.shortDescription()''' 0118 return QString() 0119 def internalVersion(self): 0120 '''str KAboutData.internalVersion()''' 0121 return str() 0122 def version(self): 0123 '''QString KAboutData.version()''' 0124 return QString() 0125 def programLogo(self): 0126 '''QVariant KAboutData.programLogo()''' 0127 return QVariant() 0128 def programIconName(self): 0129 '''QString KAboutData.programIconName()''' 0130 return QString() 0131 def translateInternalProgramName(self): 0132 '''void KAboutData.translateInternalProgramName()''' 0133 def internalProgramName(self): 0134 '''str KAboutData.internalProgramName()''' 0135 return str() 0136 def organizationDomain(self): 0137 '''QString KAboutData.organizationDomain()''' 0138 return QString() 0139 def programName(self): 0140 '''QString KAboutData.programName()''' 0141 return QString() 0142 def productName(self): 0143 '''QString KAboutData.productName()''' 0144 return QString() 0145 def appName(self): 0146 '''QString KAboutData.appName()''' 0147 return QString() 0148 def setProductName(self, name): 0149 '''KAboutData KAboutData.setProductName(QByteArray name)''' 0150 return KAboutData() 0151 def setOrganizationDomain(self, domain): 0152 '''KAboutData KAboutData.setOrganizationDomain(QByteArray domain)''' 0153 return KAboutData() 0154 def setBugAddress(self, bugAddress): 0155 '''KAboutData KAboutData.setBugAddress(QByteArray bugAddress)''' 0156 return KAboutData() 0157 def setHomepage(self, homepage): 0158 '''KAboutData KAboutData.setHomepage(QByteArray homepage)''' 0159 return KAboutData() 0160 def setOtherText(self, otherText): 0161 '''KAboutData KAboutData.setOtherText(KLocalizedString otherText)''' 0162 return KAboutData() 0163 def setCopyrightStatement(self, copyrightStatement): 0164 '''KAboutData KAboutData.setCopyrightStatement(KLocalizedString copyrightStatement)''' 0165 return KAboutData() 0166 def addLicense(self, licenseKey): 0167 '''KAboutData KAboutData.addLicense(KAboutData.LicenseKey licenseKey)''' 0168 return KAboutData() 0169 def setLicense(self, licenseKey): 0170 '''KAboutData KAboutData.setLicense(KAboutData.LicenseKey licenseKey)''' 0171 return KAboutData() 0172 def setCatalogName(self, catalogName): 0173 '''KAboutData KAboutData.setCatalogName(QByteArray catalogName)''' 0174 return KAboutData() 0175 def setShortDescription(self, shortDescription): 0176 '''KAboutData KAboutData.setShortDescription(KLocalizedString shortDescription)''' 0177 return KAboutData() 0178 def setVersion(self, version): 0179 '''KAboutData KAboutData.setVersion(QByteArray version)''' 0180 return KAboutData() 0181 def setProgramLogo(self, image): 0182 '''KAboutData KAboutData.setProgramLogo(QVariant image)''' 0183 return KAboutData() 0184 def setProgramIconName(self, iconName): 0185 '''KAboutData KAboutData.setProgramIconName(QString iconName)''' 0186 return KAboutData() 0187 def setProgramName(self, programName): 0188 '''KAboutData KAboutData.setProgramName(KLocalizedString programName)''' 0189 return KAboutData() 0190 def setAppName(self, appName): 0191 '''KAboutData KAboutData.setAppName(QByteArray appName)''' 0192 return KAboutData() 0193 def addLicenseTextFile(self, file): 0194 '''KAboutData KAboutData.addLicenseTextFile(QString file)''' 0195 return KAboutData() 0196 def setLicenseTextFile(self, file): 0197 '''KAboutData KAboutData.setLicenseTextFile(QString file)''' 0198 return KAboutData() 0199 def addLicenseText(self, license): 0200 '''KAboutData KAboutData.addLicenseText(KLocalizedString license)''' 0201 return KAboutData() 0202 def setLicenseText(self, license): 0203 '''KAboutData KAboutData.setLicenseText(KLocalizedString license)''' 0204 return KAboutData() 0205 def setTranslator(self, name, emailAddress): 0206 '''KAboutData KAboutData.setTranslator(KLocalizedString name, KLocalizedString emailAddress)''' 0207 return KAboutData() 0208 def addCredit(self, name, task = KLocalizedString(), emailAddress = QByteArray(), webAddress = QByteArray()): 0209 '''KAboutData KAboutData.addCredit(KLocalizedString name, KLocalizedString task = KLocalizedString(), QByteArray emailAddress = QByteArray(), QByteArray webAddress = QByteArray())''' 0210 return KAboutData() 0211 def addCredit(self, name, task, emailAddress, webAddress, ocsUsername): 0212 '''KAboutData KAboutData.addCredit(KLocalizedString name, KLocalizedString task, QByteArray emailAddress, QByteArray webAddress, QByteArray ocsUsername)''' 0213 return KAboutData() 0214 def addAuthor(self, name, task = KLocalizedString(), emailAddress = QByteArray(), webAddress = QByteArray()): 0215 '''KAboutData KAboutData.addAuthor(KLocalizedString name, KLocalizedString task = KLocalizedString(), QByteArray emailAddress = QByteArray(), QByteArray webAddress = QByteArray())''' 0216 return KAboutData() 0217 def addAuthor(self, name, task, emailAddress, webAddress, ocsUsername): 0218 '''KAboutData KAboutData.addAuthor(KLocalizedString name, KLocalizedString task, QByteArray emailAddress, QByteArray webAddress, QByteArray ocsUsername)''' 0219 return KAboutData() 0220 0221 0222 class KAboutLicense(): 0223 """""" 0224 def __init__(self, other): 0225 '''void KAboutLicense.__init__(KAboutLicense other)''' 0226 def byKeyword(self, keyword): 0227 '''static KAboutLicense KAboutLicense.byKeyword(QString keyword)''' 0228 return KAboutLicense() 0229 def key(self): 0230 '''KAboutData.LicenseKey KAboutLicense.key()''' 0231 return KAboutData.LicenseKey() 0232 def name(self, formatName): 0233 '''QString KAboutLicense.name(KAboutData.NameFormat formatName)''' 0234 return QString() 0235 def text(self): 0236 '''QString KAboutLicense.text()''' 0237 return QString() 0238 0239 0240 class KAuth(): 0241 """""" 0242 class HelperSupport(): 0243 """""" 0244 def helperMain(self, argc, argv, id, responder): 0245 '''static int KAuth.HelperSupport.helperMain(int argc, str argv, str id, QObject responder)''' 0246 return int() 0247 def isStopped(self): 0248 '''static bool KAuth.HelperSupport.isStopped()''' 0249 return bool() 0250 def progressStep(self, step): 0251 '''static void KAuth.HelperSupport.progressStep(int step)''' 0252 def progressStep(self, data): 0253 '''static void KAuth.HelperSupport.progressStep(dict-of-QString-QVariant data)''' 0254 class ActionWatcher(QObject): 0255 """""" 0256 statusChanged = pyqtSignal() # void statusChanged(int) - signal 0257 progressStep = pyqtSignal() # void progressStep(int) - signal 0258 progressStep = pyqtSignal() # void progressStep(const QVariantMapamp;) - signal 0259 actionPerformed = pyqtSignal() # void actionPerformed(const KAuth::ActionReplyamp;) - signal 0260 actionStarted = pyqtSignal() # void actionStarted() - signal 0261 def action(self): 0262 '''QString KAuth.ActionWatcher.action()''' 0263 return QString() 0264 def watcher(self, action): 0265 '''static KAuth.ActionWatcher KAuth.ActionWatcher.watcher(QString action)''' 0266 return KAuth.ActionWatcher() 0267 class Action(): 0268 """""" 0269 # Enum KAuth.Action.AuthStatus 0270 Denied = 0 0271 Error = 0 0272 Invalid = 0 0273 Authorized = 0 0274 AuthRequired = 0 0275 UserCancelled = 0 0276 0277 def __init__(self): 0278 '''void KAuth.Action.__init__()''' 0279 def __init__(self, action): 0280 '''void KAuth.Action.__init__(KAuth.Action action)''' 0281 def __init__(self, name): 0282 '''void KAuth.Action.__init__(QString name)''' 0283 def __init__(self, name, details): 0284 '''void KAuth.Action.__init__(QString name, QString details)''' 0285 def parentWidget(self): 0286 '''QWidget KAuth.Action.parentWidget()''' 0287 return QWidget() 0288 def setParentWidget(self, parent): 0289 '''void KAuth.Action.setParentWidget(QWidget parent)''' 0290 def earlyAuthorize(self): 0291 '''KAuth.Action.AuthStatus KAuth.Action.earlyAuthorize()''' 0292 return KAuth.Action.AuthStatus() 0293 def hasHelper(self): 0294 '''bool KAuth.Action.hasHelper()''' 0295 return bool() 0296 def __ne__(self, action): 0297 '''bool KAuth.Action.__ne__(KAuth.Action action)''' 0298 return bool() 0299 def __eq__(self, action): 0300 '''bool KAuth.Action.__eq__(KAuth.Action action)''' 0301 return bool() 0302 def stop(self): 0303 '''void KAuth.Action.stop()''' 0304 def stop(self, helperID): 0305 '''void KAuth.Action.stop(QString helperID)''' 0306 def executeActions(self, actions, deniedActions, helperId): 0307 '''static bool KAuth.Action.executeActions(list-of-KAuth.Action actions, list-of-KAuth.Action deniedActions, QString helperId)''' 0308 return bool() 0309 def executeActions(self, actions, deniedActions, helperId, parent): 0310 '''static bool KAuth.Action.executeActions(list-of-KAuth.Action actions, list-of-KAuth.Action deniedActions, QString helperId, QWidget parent)''' 0311 return bool() 0312 def executesAsync(self): 0313 '''bool KAuth.Action.executesAsync()''' 0314 return bool() 0315 def setExecutesAsync(self, async): 0316 '''void KAuth.Action.setExecutesAsync(bool async)''' 0317 def execute(self): 0318 '''KAuth.ActionReply KAuth.Action.execute()''' 0319 return KAuth.ActionReply() 0320 def execute(self, helperID): 0321 '''KAuth.ActionReply KAuth.Action.execute(QString helperID)''' 0322 return KAuth.ActionReply() 0323 def status(self): 0324 '''KAuth.Action.AuthStatus KAuth.Action.status()''' 0325 return KAuth.Action.AuthStatus() 0326 def authorize(self): 0327 '''KAuth.Action.AuthStatus KAuth.Action.authorize()''' 0328 return KAuth.Action.AuthStatus() 0329 def addArgument(self, key, value): 0330 '''void KAuth.Action.addArgument(QString key, QVariant value)''' 0331 def arguments(self): 0332 '''dict-of-QString-QVariant KAuth.Action.arguments()''' 0333 return dict-of-QString-QVariant() 0334 def setArguments(self, arguments): 0335 '''void KAuth.Action.setArguments(dict-of-QString-QVariant arguments)''' 0336 def watcher(self): 0337 '''KAuth.ActionWatcher KAuth.Action.watcher()''' 0338 return KAuth.ActionWatcher() 0339 def setHelperID(self, id): 0340 '''void KAuth.Action.setHelperID(QString id)''' 0341 def helperID(self): 0342 '''QString KAuth.Action.helperID()''' 0343 return QString() 0344 def isValid(self): 0345 '''bool KAuth.Action.isValid()''' 0346 return bool() 0347 def details(self): 0348 '''QString KAuth.Action.details()''' 0349 return QString() 0350 def setDetails(self, details): 0351 '''void KAuth.Action.setDetails(QString details)''' 0352 def setName(self, name): 0353 '''void KAuth.Action.setName(QString name)''' 0354 def name(self): 0355 '''QString KAuth.Action.name()''' 0356 return QString() 0357 class ActionReply(): 0358 """""" 0359 # Enum KAuth.ActionReply.Error 0360 NoError = 0 0361 NoResponder = 0 0362 NoSuchAction = 0 0363 InvalidAction = 0 0364 AuthorizationDenied = 0 0365 UserCancelled = 0 0366 HelperBusy = 0 0367 DBusError = 0 0368 0369 # Enum KAuth.ActionReply.Type 0370 KAuthError = 0 0371 HelperError = 0 0372 Success = 0 0373 0374 AuthorizationDeniedReply = None # KAuth.ActionReply - member 0375 DBusErrorReply = None # KAuth.ActionReply - member 0376 HelperBusyReply = None # KAuth.ActionReply - member 0377 HelperErrorReply = None # KAuth.ActionReply - member 0378 InvalidActionReply = None # KAuth.ActionReply - member 0379 NoResponderReply = None # KAuth.ActionReply - member 0380 NoSuchActionReply = None # KAuth.ActionReply - member 0381 SuccessReply = None # KAuth.ActionReply - member 0382 UserCancelledReply = None # KAuth.ActionReply - member 0383 def __init__(self): 0384 '''void KAuth.ActionReply.__init__()''' 0385 def __init__(self, type): 0386 '''void KAuth.ActionReply.__init__(KAuth.ActionReply.Type type)''' 0387 def __init__(self, reply): 0388 '''void KAuth.ActionReply.__init__(KAuth.ActionReply reply)''' 0389 def __ne__(self, reply): 0390 '''bool KAuth.ActionReply.__ne__(KAuth.ActionReply reply)''' 0391 return bool() 0392 def __eq__(self, reply): 0393 '''bool KAuth.ActionReply.__eq__(KAuth.ActionReply reply)''' 0394 return bool() 0395 def deserialize(self, data): 0396 '''static KAuth.ActionReply KAuth.ActionReply.deserialize(QByteArray data)''' 0397 return KAuth.ActionReply() 0398 def serialized(self): 0399 '''QByteArray KAuth.ActionReply.serialized()''' 0400 return QByteArray() 0401 def setErrorDescription(self, error): 0402 '''void KAuth.ActionReply.setErrorDescription(QString error)''' 0403 def errorDescription(self): 0404 '''QString KAuth.ActionReply.errorDescription()''' 0405 return QString() 0406 def setErrorCode(self, errorCode): 0407 '''void KAuth.ActionReply.setErrorCode(int errorCode)''' 0408 def errorCode(self): 0409 '''int KAuth.ActionReply.errorCode()''' 0410 return int() 0411 def failed(self): 0412 '''bool KAuth.ActionReply.failed()''' 0413 return bool() 0414 def succeeded(self): 0415 '''bool KAuth.ActionReply.succeeded()''' 0416 return bool() 0417 def type(self): 0418 '''KAuth.ActionReply.Type KAuth.ActionReply.type()''' 0419 return KAuth.ActionReply.Type() 0420 def addData(self, key, value): 0421 '''void KAuth.ActionReply.addData(QString key, QVariant value)''' 0422 def data(self): 0423 '''dict-of-QString-QVariant KAuth.ActionReply.data()''' 0424 return dict-of-QString-QVariant() 0425 def setData(self, data): 0426 '''void KAuth.ActionReply.setData(dict-of-QString-QVariant data)''' 0427 0428 0429 class KAuthorized(): 0430 """""" 0431 def authorizeControlModules(self, menuIds): 0432 '''static QStringList KAuthorized.authorizeControlModules(QStringList menuIds)''' 0433 return QStringList() 0434 def authorizeControlModule(self, menuId): 0435 '''static bool KAuthorized.authorizeControlModule(QString menuId)''' 0436 return bool() 0437 def allowUrlAction(self, action, baseUrl, _destUrl): 0438 '''static void KAuthorized.allowUrlAction(QString action, KUrl baseUrl, KUrl _destUrl)''' 0439 def authorizeUrlAction(self, action, baseUrl, destUrl): 0440 '''static bool KAuthorized.authorizeUrlAction(QString action, KUrl baseUrl, KUrl destUrl)''' 0441 return bool() 0442 def authorizeKAction(self, action): 0443 '''static bool KAuthorized.authorizeKAction(QString action)''' 0444 return bool() 0445 def authorize(self, genericAction): 0446 '''static bool KAuthorized.authorize(QString genericAction)''' 0447 return bool() 0448 0449 0450 class KAutoSaveFile(QFile): 0451 """""" 0452 def __init__(self, filename, parent = None): 0453 '''void KAutoSaveFile.__init__(KUrl filename, QObject parent = None)''' 0454 def __init__(self, parent = None): 0455 '''void KAutoSaveFile.__init__(QObject parent = None)''' 0456 def allStaleFiles(self, applicationName = QString()): 0457 '''static list-of-KAutoSaveFile KAutoSaveFile.allStaleFiles(QString applicationName = QString())''' 0458 return [KAutoSaveFile()] 0459 def staleFiles(self, filename, applicationName = QString()): 0460 '''static list-of-KAutoSaveFile KAutoSaveFile.staleFiles(KUrl filename, QString applicationName = QString())''' 0461 return [KAutoSaveFile()] 0462 def open(self, openmode): 0463 '''bool KAutoSaveFile.open(QIODevice.OpenMode openmode)''' 0464 return bool() 0465 def releaseLock(self): 0466 '''void KAutoSaveFile.releaseLock()''' 0467 def setManagedFile(self, filename): 0468 '''void KAutoSaveFile.setManagedFile(KUrl filename)''' 0469 def managedFile(self): 0470 '''KUrl KAutoSaveFile.managedFile()''' 0471 return KUrl() 0472 0473 0474 class KAutostart(QObject): 0475 """""" 0476 # Enum KAutostart.StartPhase 0477 BaseDesktop = 0 0478 DesktopServices = 0 0479 Applications = 0 0480 0481 # Enum KAutostart.Condition 0482 NoConditions = 0 0483 CheckCommand = 0 0484 CheckCondition = 0 0485 CheckAll = 0 0486 0487 def __init__(self, entryName = QString(), parent = None): 0488 '''void KAutostart.__init__(QString entryName = QString(), QObject parent = None)''' 0489 def checkAllowedEnvironment(self, environment): 0490 '''bool KAutostart.checkAllowedEnvironment(QString environment)''' 0491 return bool() 0492 def startAfter(self): 0493 '''QString KAutostart.startAfter()''' 0494 return QString() 0495 def removeFromExcludedEnvironments(self, environment): 0496 '''void KAutostart.removeFromExcludedEnvironments(QString environment)''' 0497 def addToExcludedEnvironments(self, environment): 0498 '''void KAutostart.addToExcludedEnvironments(QString environment)''' 0499 def setExcludedEnvironments(self, environments): 0500 '''void KAutostart.setExcludedEnvironments(QStringList environments)''' 0501 def excludedEnvironments(self): 0502 '''QStringList KAutostart.excludedEnvironments()''' 0503 return QStringList() 0504 def removeFromAllowedEnvironments(self, environment): 0505 '''void KAutostart.removeFromAllowedEnvironments(QString environment)''' 0506 def addToAllowedEnvironments(self, environment): 0507 '''void KAutostart.addToAllowedEnvironments(QString environment)''' 0508 def setAllowedEnvironments(self, environments): 0509 '''void KAutostart.setAllowedEnvironments(QStringList environments)''' 0510 def allowedEnvironments(self): 0511 '''QStringList KAutostart.allowedEnvironments()''' 0512 return QStringList() 0513 def setStartPhase(self, phase): 0514 '''void KAutostart.setStartPhase(KAutostart.StartPhase phase)''' 0515 def startPhase(self): 0516 '''KAutostart.StartPhase KAutostart.startPhase()''' 0517 return KAutostart.StartPhase() 0518 def setCommandToCheck(self, exec_): 0519 '''void KAutostart.setCommandToCheck(QString exec)''' 0520 def commandToCheck(self): 0521 '''QString KAutostart.commandToCheck()''' 0522 return QString() 0523 def isServiceRegistered(self, entryName): 0524 '''static bool KAutostart.isServiceRegistered(QString entryName)''' 0525 return bool() 0526 def setVisibleName(self, entryName): 0527 '''void KAutostart.setVisibleName(QString entryName)''' 0528 def visibleName(self): 0529 '''QString KAutostart.visibleName()''' 0530 return QString() 0531 def setCommand(self, command): 0532 '''void KAutostart.setCommand(QString command)''' 0533 def command(self): 0534 '''QString KAutostart.command()''' 0535 return QString() 0536 def autostarts(self, environment = QString(), check = None): 0537 '''bool KAutostart.autostarts(QString environment = QString(), KAutostart.Conditions check = KAutostart.NoConditions)''' 0538 return bool() 0539 def setAutostarts(self, autostart): 0540 '''void KAutostart.setAutostarts(bool autostart)''' 0541 class Conditions(): 0542 """""" 0543 def __init__(self): 0544 '''KAutostart.Conditions KAutostart.Conditions.__init__()''' 0545 return KAutostart.Conditions() 0546 def __init__(self): 0547 '''int KAutostart.Conditions.__init__()''' 0548 return int() 0549 def __init__(self): 0550 '''void KAutostart.Conditions.__init__()''' 0551 def __bool__(self): 0552 '''int KAutostart.Conditions.__bool__()''' 0553 return int() 0554 def __ne__(self, f): 0555 '''bool KAutostart.Conditions.__ne__(KAutostart.Conditions f)''' 0556 return bool() 0557 def __eq__(self, f): 0558 '''bool KAutostart.Conditions.__eq__(KAutostart.Conditions f)''' 0559 return bool() 0560 def __invert__(self): 0561 '''KAutostart.Conditions KAutostart.Conditions.__invert__()''' 0562 return KAutostart.Conditions() 0563 def __and__(self, mask): 0564 '''KAutostart.Conditions KAutostart.Conditions.__and__(int mask)''' 0565 return KAutostart.Conditions() 0566 def __xor__(self, f): 0567 '''KAutostart.Conditions KAutostart.Conditions.__xor__(KAutostart.Conditions f)''' 0568 return KAutostart.Conditions() 0569 def __xor__(self, f): 0570 '''KAutostart.Conditions KAutostart.Conditions.__xor__(int f)''' 0571 return KAutostart.Conditions() 0572 def __or__(self, f): 0573 '''KAutostart.Conditions KAutostart.Conditions.__or__(KAutostart.Conditions f)''' 0574 return KAutostart.Conditions() 0575 def __or__(self, f): 0576 '''KAutostart.Conditions KAutostart.Conditions.__or__(int f)''' 0577 return KAutostart.Conditions() 0578 def __int__(self): 0579 '''int KAutostart.Conditions.__int__()''' 0580 return int() 0581 def __ixor__(self, f): 0582 '''KAutostart.Conditions KAutostart.Conditions.__ixor__(KAutostart.Conditions f)''' 0583 return KAutostart.Conditions() 0584 def __ior__(self, f): 0585 '''KAutostart.Conditions KAutostart.Conditions.__ior__(KAutostart.Conditions f)''' 0586 return KAutostart.Conditions() 0587 def __iand__(self, mask): 0588 '''KAutostart.Conditions KAutostart.Conditions.__iand__(int mask)''' 0589 return KAutostart.Conditions() 0590 0591 0592 class KCalendarSystem(): 0593 """""" 0594 # Enum KCalendarSystem.WeekDayNameFormat 0595 ShortDayName = 0 0596 LongDayName = 0 0597 NarrowDayName = 0 0598 0599 # Enum KCalendarSystem.MonthNameFormat 0600 ShortName = 0 0601 LongName = 0 0602 ShortNamePossessive = 0 0603 LongNamePossessive = 0 0604 NarrowName = 0 0605 0606 # Enum KCalendarSystem.StringFormat 0607 ShortFormat = 0 0608 LongFormat = 0 0609 0610 def __init__(self, locale = None): 0611 '''void KCalendarSystem.__init__(KLocale locale = None)''' 0612 def __init__(self, config, locale = None): 0613 '''void KCalendarSystem.__init__(unknown-type config, KLocale locale = None)''' 0614 def week(self, date, yearNum): 0615 '''int KCalendarSystem.week(QDate date, int yearNum)''' 0616 return int() 0617 def week(self, date, weekNumberSystem, yearNum): 0618 '''int KCalendarSystem.week(QDate date, KLocale.WeekNumberSystem weekNumberSystem, int yearNum)''' 0619 return int() 0620 def calendarSystemForCalendarType(self, calendarType): 0621 '''static KLocale.CalendarSystem KCalendarSystem.calendarSystemForCalendarType(QString calendarType)''' 0622 return KLocale.CalendarSystem() 0623 def applyShortYearWindow(self, inputYear): 0624 '''int KCalendarSystem.applyShortYearWindow(int inputYear)''' 0625 return int() 0626 def shortYearWindowStartYear(self): 0627 '''int KCalendarSystem.shortYearWindowStartYear()''' 0628 return int() 0629 def lastDayOfMonth(self, year, month): 0630 '''QDate KCalendarSystem.lastDayOfMonth(int year, int month)''' 0631 return QDate() 0632 def lastDayOfMonth(self, date = None): 0633 '''QDate KCalendarSystem.lastDayOfMonth(QDate date = QDate.currentDate())''' 0634 return QDate() 0635 def firstDayOfMonth(self, year, month): 0636 '''QDate KCalendarSystem.firstDayOfMonth(int year, int month)''' 0637 return QDate() 0638 def firstDayOfMonth(self, date = None): 0639 '''QDate KCalendarSystem.firstDayOfMonth(QDate date = QDate.currentDate())''' 0640 return QDate() 0641 def lastDayOfYear(self, year): 0642 '''QDate KCalendarSystem.lastDayOfYear(int year)''' 0643 return QDate() 0644 def lastDayOfYear(self, date = None): 0645 '''QDate KCalendarSystem.lastDayOfYear(QDate date = QDate.currentDate())''' 0646 return QDate() 0647 def firstDayOfYear(self, year): 0648 '''QDate KCalendarSystem.firstDayOfYear(int year)''' 0649 return QDate() 0650 def firstDayOfYear(self, date = None): 0651 '''QDate KCalendarSystem.firstDayOfYear(QDate date = QDate.currentDate())''' 0652 return QDate() 0653 def calendarSystem(self): 0654 '''KLocale.CalendarSystem KCalendarSystem.calendarSystem()''' 0655 return KLocale.CalendarSystem() 0656 def calendarSystem(self, calendarType): 0657 '''static KLocale.CalendarSystem KCalendarSystem.calendarSystem(QString calendarType)''' 0658 return KLocale.CalendarSystem() 0659 def calendarSystemsList(self): 0660 '''static list-of-KLocale.CalendarSystem KCalendarSystem.calendarSystemsList()''' 0661 return [KLocale.CalendarSystem()] 0662 def yearInEraString(self, date, format = None): 0663 '''QString KCalendarSystem.yearInEraString(QDate date, KCalendarSystem.StringFormat format = KCalendarSystem.ShortFormat)''' 0664 return QString() 0665 def daysDifference(self, fromDate, toDate): 0666 '''int KCalendarSystem.daysDifference(QDate fromDate, QDate toDate)''' 0667 return int() 0668 def monthsDifference(self, fromDate, toDate): 0669 '''int KCalendarSystem.monthsDifference(QDate fromDate, QDate toDate)''' 0670 return int() 0671 def yearsDifference(self, fromDate, toDate): 0672 '''int KCalendarSystem.yearsDifference(QDate fromDate, QDate toDate)''' 0673 return int() 0674 def dateDifference(self, fromDate, toDate, yearsDiff, monthsDiff, daysDiff, direction): 0675 '''void KCalendarSystem.dateDifference(QDate fromDate, QDate toDate, int yearsDiff, int monthsDiff, int daysDiff, int direction)''' 0676 def yearInEra(self, date): 0677 '''int KCalendarSystem.yearInEra(QDate date)''' 0678 return int() 0679 def eraYear(self, date, format = None): 0680 '''QString KCalendarSystem.eraYear(QDate date, KCalendarSystem.StringFormat format = KCalendarSystem.ShortFormat)''' 0681 return QString() 0682 def eraName(self, date, format = None): 0683 '''QString KCalendarSystem.eraName(QDate date, KCalendarSystem.StringFormat format = KCalendarSystem.ShortFormat)''' 0684 return QString() 0685 def getDate(self, date, year, month, day): 0686 '''void KCalendarSystem.getDate(QDate date, int year, int month, int day)''' 0687 def daysInWeekString(self, date): 0688 '''QString KCalendarSystem.daysInWeekString(QDate date)''' 0689 return QString() 0690 def daysInMonthString(self, pDate, format = None): 0691 '''QString KCalendarSystem.daysInMonthString(QDate pDate, KCalendarSystem.StringFormat format = KCalendarSystem.LongFormat)''' 0692 return QString() 0693 def daysInYearString(self, pDate, format = None): 0694 '''QString KCalendarSystem.daysInYearString(QDate pDate, KCalendarSystem.StringFormat format = KCalendarSystem.LongFormat)''' 0695 return QString() 0696 def weeksInYearString(self, pDate, format = None): 0697 '''QString KCalendarSystem.weeksInYearString(QDate pDate, KCalendarSystem.StringFormat format = KCalendarSystem.LongFormat)''' 0698 return QString() 0699 def monthsInYearString(self, pDate, format = None): 0700 '''QString KCalendarSystem.monthsInYearString(QDate pDate, KCalendarSystem.StringFormat format = KCalendarSystem.LongFormat)''' 0701 return QString() 0702 def weekNumberString(self, pDate, format = None): 0703 '''QString KCalendarSystem.weekNumberString(QDate pDate, KCalendarSystem.StringFormat format = KCalendarSystem.LongFormat)''' 0704 return QString() 0705 def dayOfWeekString(self, pDate): 0706 '''QString KCalendarSystem.dayOfWeekString(QDate pDate)''' 0707 return QString() 0708 def dayOfYearString(self, pDate, format = None): 0709 '''QString KCalendarSystem.dayOfYearString(QDate pDate, KCalendarSystem.StringFormat format = KCalendarSystem.LongFormat)''' 0710 return QString() 0711 def setDateIsoWeek(self, date, year, isoWeekNumber, dayOfIsoWeek): 0712 '''bool KCalendarSystem.setDateIsoWeek(QDate date, int year, int isoWeekNumber, int dayOfIsoWeek)''' 0713 return bool() 0714 def isValidIsoWeekDate(self, year, isoWeekNumber, dayOfIsoWeek): 0715 '''bool KCalendarSystem.isValidIsoWeekDate(int year, int isoWeekNumber, int dayOfIsoWeek)''' 0716 return bool() 0717 def setHasYear0(self, hasYear0): 0718 '''void KCalendarSystem.setHasYear0(bool hasYear0)''' 0719 def setMaxDaysInWeek(self, maxDays): 0720 '''void KCalendarSystem.setMaxDaysInWeek(int maxDays)''' 0721 def setMaxMonthsInYear(self, maxMonths): 0722 '''void KCalendarSystem.setMaxMonthsInYear(int maxMonths)''' 0723 def locale(self): 0724 '''KLocale KCalendarSystem.locale()''' 0725 return KLocale() 0726 def dateToJulianDay(self, year, month, day, jd): 0727 '''abstract bool KCalendarSystem.dateToJulianDay(int year, int month, int day, int jd)''' 0728 return bool() 0729 def julianDayToDate(self, jd, year, month, day): 0730 '''abstract bool KCalendarSystem.julianDayToDate(int jd, int year, int month, int day)''' 0731 return bool() 0732 def isProleptic(self): 0733 '''abstract bool KCalendarSystem.isProleptic()''' 0734 return bool() 0735 def isSolar(self): 0736 '''abstract bool KCalendarSystem.isSolar()''' 0737 return bool() 0738 def isLunisolar(self): 0739 '''abstract bool KCalendarSystem.isLunisolar()''' 0740 return bool() 0741 def isLunar(self): 0742 '''abstract bool KCalendarSystem.isLunar()''' 0743 return bool() 0744 def weekDayOfPray(self): 0745 '''abstract int KCalendarSystem.weekDayOfPray()''' 0746 return int() 0747 def weekStartDay(self): 0748 '''int KCalendarSystem.weekStartDay()''' 0749 return int() 0750 def readDate(self, str, ok): 0751 '''QDate KCalendarSystem.readDate(QString str, bool ok)''' 0752 return QDate() 0753 def readDate(self, dateString, dateFormat, ok): 0754 '''QDate KCalendarSystem.readDate(QString dateString, QString dateFormat, bool ok)''' 0755 return QDate() 0756 def readDate(self, str, flags, ok): 0757 '''QDate KCalendarSystem.readDate(QString str, KLocale.ReadDateFlags flags, bool ok)''' 0758 return QDate() 0759 def readDate(self, dateString, dateFormat, ok, formatStandard): 0760 '''QDate KCalendarSystem.readDate(QString dateString, QString dateFormat, bool ok, KLocale.DateTimeFormatStandard formatStandard)''' 0761 return QDate() 0762 def formatDate(self, fromDate, toFormat = None): 0763 '''QString KCalendarSystem.formatDate(QDate fromDate, KLocale.DateFormat toFormat = KLocale.LongDate)''' 0764 return QString() 0765 def formatDate(self, fromDate, toFormat, formatStandard = None): 0766 '''QString KCalendarSystem.formatDate(QDate fromDate, QString toFormat, KLocale.DateTimeFormatStandard formatStandard = KLocale.KdeFormat)''' 0767 return QString() 0768 def formatDate(self, fromDate, toFormat, digitSet, formatStandard = None): 0769 '''QString KCalendarSystem.formatDate(QDate fromDate, QString toFormat, KLocale.DigitSet digitSet, KLocale.DateTimeFormatStandard formatStandard = KLocale.KdeFormat)''' 0770 return QString() 0771 def formatDate(self, date, component, format = None, weekNumberSystem = None): 0772 '''QString KCalendarSystem.formatDate(QDate date, KLocale.DateTimeComponent component, KLocale.DateTimeComponentFormat format = KLocale.DefaultComponentFormat, KLocale.WeekNumberSystem weekNumberSystem = KLocale.DefaultWeekNumber)''' 0773 return QString() 0774 def dayStringToInteger(self, sNum, iLength): 0775 '''int KCalendarSystem.dayStringToInteger(QString sNum, int iLength)''' 0776 return int() 0777 def monthStringToInteger(self, sNum, iLength): 0778 '''int KCalendarSystem.monthStringToInteger(QString sNum, int iLength)''' 0779 return int() 0780 def yearStringToInteger(self, sNum, iLength): 0781 '''int KCalendarSystem.yearStringToInteger(QString sNum, int iLength)''' 0782 return int() 0783 def dayString(self, pDate, format = None): 0784 '''QString KCalendarSystem.dayString(QDate pDate, KCalendarSystem.StringFormat format = KCalendarSystem.LongFormat)''' 0785 return QString() 0786 def monthString(self, pDate, format = None): 0787 '''QString KCalendarSystem.monthString(QDate pDate, KCalendarSystem.StringFormat format = KCalendarSystem.LongFormat)''' 0788 return QString() 0789 def yearString(self, date, format = None): 0790 '''QString KCalendarSystem.yearString(QDate date, KCalendarSystem.StringFormat format = KCalendarSystem.LongFormat)''' 0791 return QString() 0792 def weekDayName(self, weekDay, format = None): 0793 '''abstract QString KCalendarSystem.weekDayName(int weekDay, KCalendarSystem.WeekDayNameFormat format = KCalendarSystem.LongDayName)''' 0794 return QString() 0795 def weekDayName(self, date, format = None): 0796 '''QString KCalendarSystem.weekDayName(QDate date, KCalendarSystem.WeekDayNameFormat format = KCalendarSystem.LongDayName)''' 0797 return QString() 0798 def monthName(self, month, year, format = None): 0799 '''abstract QString KCalendarSystem.monthName(int month, int year, KCalendarSystem.MonthNameFormat format = KCalendarSystem.LongName)''' 0800 return QString() 0801 def monthName(self, date, format = None): 0802 '''QString KCalendarSystem.monthName(QDate date, KCalendarSystem.MonthNameFormat format = KCalendarSystem.LongName)''' 0803 return QString() 0804 def isLeapYear(self, year): 0805 '''abstract bool KCalendarSystem.isLeapYear(int year)''' 0806 return bool() 0807 def isLeapYear(self, date): 0808 '''bool KCalendarSystem.isLeapYear(QDate date)''' 0809 return bool() 0810 def weekNumber(self, date, yearNum = None): 0811 '''int KCalendarSystem.weekNumber(QDate date, int yearNum = None)''' 0812 return int() 0813 def dayOfWeek(self, date): 0814 '''int KCalendarSystem.dayOfWeek(QDate date)''' 0815 return int() 0816 def dayOfYear(self, date): 0817 '''int KCalendarSystem.dayOfYear(QDate date)''' 0818 return int() 0819 def daysInWeek(self, date): 0820 '''int KCalendarSystem.daysInWeek(QDate date)''' 0821 return int() 0822 def daysInMonth(self, date): 0823 '''int KCalendarSystem.daysInMonth(QDate date)''' 0824 return int() 0825 def daysInMonth(self, year, month): 0826 '''int KCalendarSystem.daysInMonth(int year, int month)''' 0827 return int() 0828 def daysInYear(self, date): 0829 '''int KCalendarSystem.daysInYear(QDate date)''' 0830 return int() 0831 def daysInYear(self, year): 0832 '''int KCalendarSystem.daysInYear(int year)''' 0833 return int() 0834 def weeksInYear(self, date): 0835 '''int KCalendarSystem.weeksInYear(QDate date)''' 0836 return int() 0837 def weeksInYear(self, year): 0838 '''int KCalendarSystem.weeksInYear(int year)''' 0839 return int() 0840 def weeksInYear(self, year, weekNumberSystem): 0841 '''int KCalendarSystem.weeksInYear(int year, KLocale.WeekNumberSystem weekNumberSystem)''' 0842 return int() 0843 def monthsInYear(self, date): 0844 '''int KCalendarSystem.monthsInYear(QDate date)''' 0845 return int() 0846 def monthsInYear(self, year): 0847 '''int KCalendarSystem.monthsInYear(int year)''' 0848 return int() 0849 def addDays(self, date, ndays): 0850 '''QDate KCalendarSystem.addDays(QDate date, int ndays)''' 0851 return QDate() 0852 def addMonths(self, date, nmonths): 0853 '''QDate KCalendarSystem.addMonths(QDate date, int nmonths)''' 0854 return QDate() 0855 def addYears(self, date, nyears): 0856 '''QDate KCalendarSystem.addYears(QDate date, int nyears)''' 0857 return QDate() 0858 def day(self, date): 0859 '''int KCalendarSystem.day(QDate date)''' 0860 return int() 0861 def month(self, date): 0862 '''int KCalendarSystem.month(QDate date)''' 0863 return int() 0864 def year(self, date): 0865 '''int KCalendarSystem.year(QDate date)''' 0866 return int() 0867 def setYMD(self, date, y, m, d): 0868 '''bool KCalendarSystem.setYMD(QDate date, int y, int m, int d)''' 0869 return bool() 0870 def setDate(self, date, year, month, day): 0871 '''bool KCalendarSystem.setDate(QDate date, int year, int month, int day)''' 0872 return bool() 0873 def setDate(self, date, year, dayOfYear): 0874 '''bool KCalendarSystem.setDate(QDate date, int year, int dayOfYear)''' 0875 return bool() 0876 def setDate(self, date, eraName, yearInEra, month, day): 0877 '''bool KCalendarSystem.setDate(QDate date, QString eraName, int yearInEra, int month, int day)''' 0878 return bool() 0879 def isValid(self, year, month, day): 0880 '''abstract bool KCalendarSystem.isValid(int year, int month, int day)''' 0881 return bool() 0882 def isValid(self, date): 0883 '''bool KCalendarSystem.isValid(QDate date)''' 0884 return bool() 0885 def isValid(self, year, dayOfYear): 0886 '''bool KCalendarSystem.isValid(int year, int dayOfYear)''' 0887 return bool() 0888 def isValid(self, eraName, yearInEra, month, day): 0889 '''bool KCalendarSystem.isValid(QString eraName, int yearInEra, int month, int day)''' 0890 return bool() 0891 def latestValidDate(self): 0892 '''QDate KCalendarSystem.latestValidDate()''' 0893 return QDate() 0894 def earliestValidDate(self): 0895 '''QDate KCalendarSystem.earliestValidDate()''' 0896 return QDate() 0897 def epoch(self): 0898 '''QDate KCalendarSystem.epoch()''' 0899 return QDate() 0900 def calendarType(self): 0901 '''abstract QString KCalendarSystem.calendarType()''' 0902 return QString() 0903 def calendarType(self, calendarSystem): 0904 '''static QString KCalendarSystem.calendarType(KLocale.CalendarSystem calendarSystem)''' 0905 return QString() 0906 def calendarLabel(self, calendarType): 0907 '''static QString KCalendarSystem.calendarLabel(QString calendarType)''' 0908 return QString() 0909 def calendarLabel(self, calendarSystem, locale = None): 0910 '''static QString KCalendarSystem.calendarLabel(KLocale.CalendarSystem calendarSystem, KLocale locale = KGlobal.locale())''' 0911 return QString() 0912 def calendarLabel(self): 0913 '''QString KCalendarSystem.calendarLabel()''' 0914 return QString() 0915 def calendarSystems(self): 0916 '''static QStringList KCalendarSystem.calendarSystems()''' 0917 return QStringList() 0918 def create(self, calType = QLatin1Stringgregorian, locale = None): 0919 '''static KCalendarSystem KCalendarSystem.create(QString calType = QLatin1Stringgregorian, KLocale locale = None)''' 0920 return KCalendarSystem() 0921 def create(self, calType, config, locale = None): 0922 '''static KCalendarSystem KCalendarSystem.create(QString calType, unknown-type config, KLocale locale = None)''' 0923 return KCalendarSystem() 0924 def create(self, calendarSystem, locale = None): 0925 '''static KCalendarSystem KCalendarSystem.create(KLocale.CalendarSystem calendarSystem, KLocale locale = None)''' 0926 return KCalendarSystem() 0927 def create(self, calendarSystem, config, locale = None): 0928 '''static KCalendarSystem KCalendarSystem.create(KLocale.CalendarSystem calendarSystem, unknown-type config, KLocale locale = None)''' 0929 return KCalendarSystem() 0930 0931 0932 class KGlobal(): 0933 """""" 0934 # Enum KGlobal.CopyCatalogs 0935 DoCopyCatalogs = 0 0936 DontCopyCatalogs = 0 0937 0938 def insertCatalog(self, catalog): 0939 '''static void KGlobal.insertCatalog(QString catalog)''' 0940 def findDirectChild_helper(self, parent, mo): 0941 '''static QObject KGlobal.findDirectChild_helper(QObject parent, QMetaObject mo)''' 0942 return QObject() 0943 def setLocale(self, copy = None): 0944 '''static KLocale KGlobal.setLocale(KGlobal.CopyCatalogs copy = KGlobal.DoCopyCatalogs)''' 0945 return KLocale() 0946 def caption(self): 0947 '''static QString KGlobal.caption()''' 0948 return QString() 0949 def setActiveComponent(self, d): 0950 '''static void KGlobal.setActiveComponent(KComponentData d)''' 0951 def activeComponent(self): 0952 '''static KComponentData KGlobal.activeComponent()''' 0953 return KComponentData() 0954 def setAllowQuit(self, allowQuit): 0955 '''static void KGlobal.setAllowQuit(bool allowQuit)''' 0956 def deref(self): 0957 '''static void KGlobal.deref()''' 0958 def ref(self): 0959 '''static void KGlobal.ref()''' 0960 def staticQString(self, str): 0961 '''static QString KGlobal.staticQString(str str)''' 0962 return QString() 0963 def staticQString(self, str): 0964 '''static QString KGlobal.staticQString(QString str)''' 0965 return QString() 0966 def umask(self): 0967 '''static int KGlobal.umask()''' 0968 return int() 0969 def hasLocale(self): 0970 '''static bool KGlobal.hasLocale()''' 0971 return bool() 0972 def locale(self): 0973 '''static KLocale KGlobal.locale()''' 0974 return KLocale() 0975 def config(self): 0976 '''static KSharedConfigPtr KGlobal.config()''' 0977 return KSharedConfigPtr() 0978 def dirs(self): 0979 '''static KStandardDirs KGlobal.dirs()''' 0980 return KStandardDirs() 0981 def hasMainComponent(self): 0982 '''static bool KGlobal.hasMainComponent()''' 0983 return bool() 0984 def mainComponent(self): 0985 '''static KComponentData KGlobal.mainComponent()''' 0986 return KComponentData() 0987 def charsets(self): 0988 '''static KCharsets KGlobal.charsets()''' 0989 return KCharsets() 0990 0991 0992 class KCharsets(): 0993 """""" 0994 def __init__(self): 0995 '''void KCharsets.__init__()''' 0996 def encodingForName(self, descriptiveName): 0997 '''QString KCharsets.encodingForName(QString descriptiveName)''' 0998 return QString() 0999 def descriptionForEncoding(self, encoding): 1000 '''QString KCharsets.descriptionForEncoding(QString encoding)''' 1001 return QString() 1002 def languageForEncoding(self, encoding): 1003 '''QString KCharsets.languageForEncoding(QString encoding)''' 1004 return QString() 1005 def encodingsByScript(self): 1006 '''list-of-QStringList KCharsets.encodingsByScript()''' 1007 return [QStringList()] 1008 def descriptiveEncodingNames(self): 1009 '''QStringList KCharsets.descriptiveEncodingNames()''' 1010 return QStringList() 1011 def availableEncodingNames(self): 1012 '''QStringList KCharsets.availableEncodingNames()''' 1013 return QStringList() 1014 def resolveEntities(self, text): 1015 '''static QString KCharsets.resolveEntities(QString text)''' 1016 return QString() 1017 def toEntity(self, ch): 1018 '''static QString KCharsets.toEntity(QChar ch)''' 1019 return QString() 1020 def fromEntity2(self, str, len): 1021 '''static QChar KCharsets.fromEntity2(QString str, int len)''' 1022 return QChar() 1023 def fromEntity(self, str): 1024 '''static QChar KCharsets.fromEntity(QString str)''' 1025 return QChar() 1026 def codecForName2(self, n, ok): 1027 '''QTextCodec KCharsets.codecForName2(QString n, bool ok)''' 1028 return QTextCodec() 1029 def codecForName(self, name): 1030 '''QTextCodec KCharsets.codecForName(QString name)''' 1031 return QTextCodec() 1032 1033 1034 class KCmdLineOptions(): 1035 """""" 1036 def __init__(self): 1037 '''void KCmdLineOptions.__init__()''' 1038 def __init__(self, options): 1039 '''void KCmdLineOptions.__init__(KCmdLineOptions options)''' 1040 def add(self, name, description = KLocalizedString(), defaultValue = QByteArray()): 1041 '''KCmdLineOptions KCmdLineOptions.add(QByteArray name, KLocalizedString description = KLocalizedString(), QByteArray defaultValue = QByteArray())''' 1042 return KCmdLineOptions() 1043 def add(self, options): 1044 '''KCmdLineOptions KCmdLineOptions.add(KCmdLineOptions options)''' 1045 return KCmdLineOptions() 1046 1047 1048 class KCmdLineArgs(): 1049 """""" 1050 # Enum KCmdLineArgs.StdCmdLineArg 1051 CmdLineArgQt = 0 1052 CmdLineArgKDE = 0 1053 CmdLineArgsMask = 0 1054 CmdLineArgNone = 0 1055 Reserved = 0 1056 1057 def __init__(self, _options, _name, _id): 1058 '''void KCmdLineArgs.__init__(KCmdLineOptions _options, KLocalizedString _name, QByteArray _id)''' 1059 def allArguments(self): 1060 '''static QStringList KCmdLineArgs.allArguments()''' 1061 return QStringList() 1062 def aboutData(self): 1063 '''static KAboutData KCmdLineArgs.aboutData()''' 1064 return KAboutData() 1065 def isTempFileSet(self): 1066 '''static bool KCmdLineArgs.isTempFileSet()''' 1067 return bool() 1068 def addTempFileOption(self): 1069 '''static void KCmdLineArgs.addTempFileOption()''' 1070 def saveAppArgs(self): 1071 '''static QDataStream KCmdLineArgs.saveAppArgs()''' 1072 return QDataStream() 1073 def loadAppArgs(self): 1074 '''static QDataStream KCmdLineArgs.loadAppArgs()''' 1075 return QDataStream() 1076 def reset(self): 1077 '''static void KCmdLineArgs.reset()''' 1078 def clear(self): 1079 '''void KCmdLineArgs.clear()''' 1080 def setCwd(self, cwd): 1081 '''static void KCmdLineArgs.setCwd(QByteArray cwd)''' 1082 def makeURL(self, urlArg): 1083 '''static KUrl KCmdLineArgs.makeURL(QByteArray urlArg)''' 1084 return KUrl() 1085 def url(self, n): 1086 '''KUrl KCmdLineArgs.url(int n)''' 1087 return KUrl() 1088 def arg(self, n): 1089 '''QString KCmdLineArgs.arg(int n)''' 1090 return QString() 1091 def count(self): 1092 '''int KCmdLineArgs.count()''' 1093 return int() 1094 def isSet(self, option): 1095 '''bool KCmdLineArgs.isSet(QByteArray option)''' 1096 return bool() 1097 def getOptionList(self, option): 1098 '''QStringList KCmdLineArgs.getOptionList(QByteArray option)''' 1099 return QStringList() 1100 def getOption(self, option): 1101 '''QString KCmdLineArgs.getOption(QByteArray option)''' 1102 return QString() 1103 def enable_i18n(self): 1104 '''static void KCmdLineArgs.enable_i18n()''' 1105 def usageError(self, error): 1106 '''static void KCmdLineArgs.usageError(QString error)''' 1107 def usage(self, id = QByteArray()): 1108 '''static void KCmdLineArgs.usage(QByteArray id = QByteArray())''' 1109 def appName(self): 1110 '''static QString KCmdLineArgs.appName()''' 1111 return QString() 1112 def cwd(self): 1113 '''static QString KCmdLineArgs.cwd()''' 1114 return QString() 1115 def parsedArgs(self, id = QByteArray()): 1116 '''static KCmdLineArgs KCmdLineArgs.parsedArgs(QByteArray id = QByteArray())''' 1117 return KCmdLineArgs() 1118 def addCmdLineOptions(self, options, name = KLocalizedString(), id = QByteArray(), afterId = QByteArray()): 1119 '''static void KCmdLineArgs.addCmdLineOptions(KCmdLineOptions options, KLocalizedString name = KLocalizedString(), QByteArray id = QByteArray(), QByteArray afterId = QByteArray())''' 1120 def addStdCmdLineOptions(self, stdargs = None): 1121 '''static void KCmdLineArgs.addStdCmdLineOptions(KCmdLineArgs.StdCmdLineArgs stdargs = KCmdLineArgs.StdCmdLineArgs(KCmdLineArgs.CmdLineArgQt|KCmdLineArgs.CmdLineArgKDE))''' 1122 def init(self, argv, appname, catalog, programName, version, description = KLocalizedString(), stdargs = 3): 1123 '''static void KCmdLineArgs.init(list argv, QByteArray appname, QByteArray catalog, KLocalizedString programName, QByteArray version, KLocalizedString description = KLocalizedString(), int stdargs = 3)''' 1124 def init(self, argv, about, stdargs = 3): 1125 '''static void KCmdLineArgs.init(list argv, KAboutData about, int stdargs = 3)''' 1126 def init(self, about): 1127 '''static void KCmdLineArgs.init(KAboutData about)''' 1128 class StdCmdLineArgs(): 1129 """""" 1130 def __init__(self): 1131 '''KCmdLineArgs.StdCmdLineArgs KCmdLineArgs.StdCmdLineArgs.__init__()''' 1132 return KCmdLineArgs.StdCmdLineArgs() 1133 def __init__(self): 1134 '''int KCmdLineArgs.StdCmdLineArgs.__init__()''' 1135 return int() 1136 def __init__(self): 1137 '''void KCmdLineArgs.StdCmdLineArgs.__init__()''' 1138 def __bool__(self): 1139 '''int KCmdLineArgs.StdCmdLineArgs.__bool__()''' 1140 return int() 1141 def __ne__(self, f): 1142 '''bool KCmdLineArgs.StdCmdLineArgs.__ne__(KCmdLineArgs.StdCmdLineArgs f)''' 1143 return bool() 1144 def __eq__(self, f): 1145 '''bool KCmdLineArgs.StdCmdLineArgs.__eq__(KCmdLineArgs.StdCmdLineArgs f)''' 1146 return bool() 1147 def __invert__(self): 1148 '''KCmdLineArgs.StdCmdLineArgs KCmdLineArgs.StdCmdLineArgs.__invert__()''' 1149 return KCmdLineArgs.StdCmdLineArgs() 1150 def __and__(self, mask): 1151 '''KCmdLineArgs.StdCmdLineArgs KCmdLineArgs.StdCmdLineArgs.__and__(int mask)''' 1152 return KCmdLineArgs.StdCmdLineArgs() 1153 def __xor__(self, f): 1154 '''KCmdLineArgs.StdCmdLineArgs KCmdLineArgs.StdCmdLineArgs.__xor__(KCmdLineArgs.StdCmdLineArgs f)''' 1155 return KCmdLineArgs.StdCmdLineArgs() 1156 def __xor__(self, f): 1157 '''KCmdLineArgs.StdCmdLineArgs KCmdLineArgs.StdCmdLineArgs.__xor__(int f)''' 1158 return KCmdLineArgs.StdCmdLineArgs() 1159 def __or__(self, f): 1160 '''KCmdLineArgs.StdCmdLineArgs KCmdLineArgs.StdCmdLineArgs.__or__(KCmdLineArgs.StdCmdLineArgs f)''' 1161 return KCmdLineArgs.StdCmdLineArgs() 1162 def __or__(self, f): 1163 '''KCmdLineArgs.StdCmdLineArgs KCmdLineArgs.StdCmdLineArgs.__or__(int f)''' 1164 return KCmdLineArgs.StdCmdLineArgs() 1165 def __int__(self): 1166 '''int KCmdLineArgs.StdCmdLineArgs.__int__()''' 1167 return int() 1168 def __ixor__(self, f): 1169 '''KCmdLineArgs.StdCmdLineArgs KCmdLineArgs.StdCmdLineArgs.__ixor__(KCmdLineArgs.StdCmdLineArgs f)''' 1170 return KCmdLineArgs.StdCmdLineArgs() 1171 def __ior__(self, f): 1172 '''KCmdLineArgs.StdCmdLineArgs KCmdLineArgs.StdCmdLineArgs.__ior__(KCmdLineArgs.StdCmdLineArgs f)''' 1173 return KCmdLineArgs.StdCmdLineArgs() 1174 def __iand__(self, mask): 1175 '''KCmdLineArgs.StdCmdLineArgs KCmdLineArgs.StdCmdLineArgs.__iand__(int mask)''' 1176 return KCmdLineArgs.StdCmdLineArgs() 1177 1178 1179 class KComponentData(): 1180 """""" 1181 # Enum KComponentData.MainComponentRegistration 1182 RegisterAsMainComponent = 0 1183 SkipMainComponentRegistration = 0 1184 1185 def __init__(self): 1186 '''void KComponentData.__init__()''' 1187 def __init__(self): 1188 '''KComponentData KComponentData.__init__()''' 1189 return KComponentData() 1190 def __init__(self, componentName, catalogName = QByteArray(), registerAsMain = None): 1191 '''void KComponentData.__init__(QByteArray componentName, QByteArray catalogName = QByteArray(), KComponentData.MainComponentRegistration registerAsMain = KComponentData.RegisterAsMainComponent)''' 1192 def __init__(self, aboutData, registerAsMain = None): 1193 '''void KComponentData.__init__(KAboutData aboutData, KComponentData.MainComponentRegistration registerAsMain = KComponentData.RegisterAsMainComponent)''' 1194 def __init__(self, aboutData, registerAsMain = None): 1195 '''void KComponentData.__init__(KAboutData aboutData, KComponentData.MainComponentRegistration registerAsMain = KComponentData.RegisterAsMainComponent)''' 1196 def setAboutData(self, aboutData): 1197 '''void KComponentData.setAboutData(KAboutData aboutData)''' 1198 def setConfigName(self, name): 1199 '''void KComponentData.setConfigName(QString name)''' 1200 def catalogName(self): 1201 '''QString KComponentData.catalogName()''' 1202 return QString() 1203 def componentName(self): 1204 '''QString KComponentData.componentName()''' 1205 return QString() 1206 def aboutData(self): 1207 '''KAboutData KComponentData.aboutData()''' 1208 return KAboutData() 1209 def config(self): 1210 '''unknown-type KComponentData.config()''' 1211 return unknown-type() 1212 def dirs(self): 1213 '''KStandardDirs KComponentData.dirs()''' 1214 return KStandardDirs() 1215 def isValid(self): 1216 '''bool KComponentData.isValid()''' 1217 return bool() 1218 def __ne__(self, rhs): 1219 '''bool KComponentData.__ne__(KComponentData rhs)''' 1220 return bool() 1221 def __eq__(self): 1222 '''KComponentData KComponentData.__eq__()''' 1223 return KComponentData() 1224 1225 1226 class KJob(QObject): 1227 """""" 1228 NoError = None # int - member 1229 KilledJobError = None # int - member 1230 UserDefinedError = None # int - member 1231 # Enum KJob.KillVerbosity 1232 Quietly = 0 1233 EmitResult = 0 1234 1235 # Enum KJob.Capability 1236 NoCapabilities = 0 1237 Killable = 0 1238 Suspendable = 0 1239 1240 # Enum KJob.Unit 1241 Bytes = 0 1242 Files = 0 1243 Directories = 0 1244 1245 def __init__(self, parent = None): 1246 '''void KJob.__init__(QObject parent = None)''' 1247 def emitSpeed(self, speed): 1248 '''void KJob.emitSpeed(int speed)''' 1249 def emitPercent(self, processedAmount, totalAmount): 1250 '''void KJob.emitPercent(int processedAmount, int totalAmount)''' 1251 def emitResult(self): 1252 '''void KJob.emitResult()''' 1253 def setPercent(self, percentage): 1254 '''void KJob.setPercent(int percentage)''' 1255 def setTotalAmount(self, unit, amount): 1256 '''void KJob.setTotalAmount(KJob.Unit unit, int amount)''' 1257 def setProcessedAmount(self, unit, amount): 1258 '''void KJob.setProcessedAmount(KJob.Unit unit, int amount)''' 1259 def setErrorText(self, errorText): 1260 '''void KJob.setErrorText(QString errorText)''' 1261 def setError(self, errorCode): 1262 '''void KJob.setError(int errorCode)''' 1263 warning = pyqtSignal() # void warning(KJob *,const QStringamp;,const QStringamp; = QString()) - signal 1264 infoMessage = pyqtSignal() # void infoMessage(KJob *,const QStringamp;,const QStringamp; = QString()) - signal 1265 description = pyqtSignal() # void description(KJob *,const QStringamp;,const QPairlt;QString,QStringgt;amp; = qMakePair(QString(),QString()),const QPairlt;QString,QStringgt;amp; = qMakePair(QString(),QString())) - signal 1266 result = pyqtSignal() # void result(KJob *) - signal 1267 def isAutoDelete(self): 1268 '''bool KJob.isAutoDelete()''' 1269 return bool() 1270 def setAutoDelete(self, autodelete): 1271 '''void KJob.setAutoDelete(bool autodelete)''' 1272 def percent(self): 1273 '''int KJob.percent()''' 1274 return int() 1275 def totalAmount(self, unit): 1276 '''int KJob.totalAmount(KJob.Unit unit)''' 1277 return int() 1278 def processedAmount(self, unit): 1279 '''int KJob.processedAmount(KJob.Unit unit)''' 1280 return int() 1281 def errorString(self): 1282 '''QString KJob.errorString()''' 1283 return QString() 1284 def errorText(self): 1285 '''QString KJob.errorText()''' 1286 return QString() 1287 def error(self): 1288 '''int KJob.error()''' 1289 return int() 1290 def exec_(self): 1291 '''bool KJob.exec_()''' 1292 return bool() 1293 def setCapabilities(self, capabilities): 1294 '''void KJob.setCapabilities(KJob.Capabilities capabilities)''' 1295 def doResume(self): 1296 '''bool KJob.doResume()''' 1297 return bool() 1298 def doSuspend(self): 1299 '''bool KJob.doSuspend()''' 1300 return bool() 1301 def doKill(self): 1302 '''bool KJob.doKill()''' 1303 return bool() 1304 def resume(self): 1305 '''bool KJob.resume()''' 1306 return bool() 1307 def suspend(self): 1308 '''bool KJob.suspend()''' 1309 return bool() 1310 def kill(self, verbosity = None): 1311 '''bool KJob.kill(KJob.KillVerbosity verbosity = KJob.Quietly)''' 1312 return bool() 1313 def start(self): 1314 '''abstract void KJob.start()''' 1315 def isSuspended(self): 1316 '''bool KJob.isSuspended()''' 1317 return bool() 1318 def capabilities(self): 1319 '''KJob.Capabilities KJob.capabilities()''' 1320 return KJob.Capabilities() 1321 def uiDelegate(self): 1322 '''KJobUiDelegate KJob.uiDelegate()''' 1323 return KJobUiDelegate() 1324 def setUiDelegate(self, delegate): 1325 '''void KJob.setUiDelegate(KJobUiDelegate delegate)''' 1326 class Capabilities(): 1327 """""" 1328 def __init__(self): 1329 '''KJob.Capabilities KJob.Capabilities.__init__()''' 1330 return KJob.Capabilities() 1331 def __init__(self): 1332 '''int KJob.Capabilities.__init__()''' 1333 return int() 1334 def __init__(self): 1335 '''void KJob.Capabilities.__init__()''' 1336 def __bool__(self): 1337 '''int KJob.Capabilities.__bool__()''' 1338 return int() 1339 def __ne__(self, f): 1340 '''bool KJob.Capabilities.__ne__(KJob.Capabilities f)''' 1341 return bool() 1342 def __eq__(self, f): 1343 '''bool KJob.Capabilities.__eq__(KJob.Capabilities f)''' 1344 return bool() 1345 def __invert__(self): 1346 '''KJob.Capabilities KJob.Capabilities.__invert__()''' 1347 return KJob.Capabilities() 1348 def __and__(self, mask): 1349 '''KJob.Capabilities KJob.Capabilities.__and__(int mask)''' 1350 return KJob.Capabilities() 1351 def __xor__(self, f): 1352 '''KJob.Capabilities KJob.Capabilities.__xor__(KJob.Capabilities f)''' 1353 return KJob.Capabilities() 1354 def __xor__(self, f): 1355 '''KJob.Capabilities KJob.Capabilities.__xor__(int f)''' 1356 return KJob.Capabilities() 1357 def __or__(self, f): 1358 '''KJob.Capabilities KJob.Capabilities.__or__(KJob.Capabilities f)''' 1359 return KJob.Capabilities() 1360 def __or__(self, f): 1361 '''KJob.Capabilities KJob.Capabilities.__or__(int f)''' 1362 return KJob.Capabilities() 1363 def __int__(self): 1364 '''int KJob.Capabilities.__int__()''' 1365 return int() 1366 def __ixor__(self, f): 1367 '''KJob.Capabilities KJob.Capabilities.__ixor__(KJob.Capabilities f)''' 1368 return KJob.Capabilities() 1369 def __ior__(self, f): 1370 '''KJob.Capabilities KJob.Capabilities.__ior__(KJob.Capabilities f)''' 1371 return KJob.Capabilities() 1372 def __iand__(self, mask): 1373 '''KJob.Capabilities KJob.Capabilities.__iand__(int mask)''' 1374 return KJob.Capabilities() 1375 1376 1377 class KCompositeJob(KJob): 1378 """""" 1379 def __init__(self, parent = None): 1380 '''void KCompositeJob.__init__(QObject parent = None)''' 1381 def slotInfoMessage(self, job, plain, rich): 1382 '''void KCompositeJob.slotInfoMessage(KJob job, QString plain, QString rich)''' 1383 def slotResult(self, job): 1384 '''void KCompositeJob.slotResult(KJob job)''' 1385 def clearSubjobs(self): 1386 '''void KCompositeJob.clearSubjobs()''' 1387 def subjobs(self): 1388 '''list-of-KJob KCompositeJob.subjobs()''' 1389 return [KJob()] 1390 def hasSubjobs(self): 1391 '''bool KCompositeJob.hasSubjobs()''' 1392 return bool() 1393 def removeSubjob(self, job): 1394 '''bool KCompositeJob.removeSubjob(KJob job)''' 1395 return bool() 1396 def addSubjob(self, job): 1397 '''bool KCompositeJob.addSubjob(KJob job)''' 1398 return bool() 1399 1400 1401 class KConfigBase(): 1402 """""" 1403 # Enum KConfigBase.AccessMode 1404 NoAccess = 0 1405 ReadOnly = 0 1406 ReadWrite = 0 1407 1408 # Enum KConfigBase.WriteConfigFlag 1409 Persistent = 0 1410 Global = 0 1411 Localized = 0 1412 Normal = 0 1413 1414 def __init__(self): 1415 '''void KConfigBase.__init__()''' 1416 def __init__(self): 1417 '''KConfigBase KConfigBase.__init__()''' 1418 return KConfigBase() 1419 def isGroupImmutableImpl(self, aGroup): 1420 '''abstract bool KConfigBase.isGroupImmutableImpl(QByteArray aGroup)''' 1421 return bool() 1422 def deleteGroupImpl(self, group, flags = None): 1423 '''abstract void KConfigBase.deleteGroupImpl(QByteArray group, KConfigBase.WriteConfigFlags flags = KConfigBase.Normal)''' 1424 def groupImpl(self, b): 1425 '''abstract KConfigGroup KConfigBase.groupImpl(QByteArray b)''' 1426 return KConfigGroup() 1427 def hasGroupImpl(self, group): 1428 '''abstract bool KConfigBase.hasGroupImpl(QByteArray group)''' 1429 return bool() 1430 def isGroupImmutable(self, aGroup): 1431 '''bool KConfigBase.isGroupImmutable(QByteArray aGroup)''' 1432 return bool() 1433 def isGroupImmutable(self, aGroup): 1434 '''bool KConfigBase.isGroupImmutable(QString aGroup)''' 1435 return bool() 1436 def isGroupImmutable(self, aGroup): 1437 '''bool KConfigBase.isGroupImmutable(str aGroup)''' 1438 return bool() 1439 def isImmutable(self): 1440 '''abstract bool KConfigBase.isImmutable()''' 1441 return bool() 1442 def accessMode(self): 1443 '''abstract KConfigBase.AccessMode KConfigBase.accessMode()''' 1444 return KConfigBase.AccessMode() 1445 def markAsClean(self): 1446 '''abstract void KConfigBase.markAsClean()''' 1447 def sync(self): 1448 '''abstract void KConfigBase.sync()''' 1449 def deleteGroup(self, group, flags = None): 1450 '''void KConfigBase.deleteGroup(QByteArray group, KConfigBase.WriteConfigFlags flags = KConfigBase.Normal)''' 1451 def deleteGroup(self, group, flags = None): 1452 '''void KConfigBase.deleteGroup(QString group, KConfigBase.WriteConfigFlags flags = KConfigBase.Normal)''' 1453 def deleteGroup(self, group, flags = None): 1454 '''void KConfigBase.deleteGroup(str group, KConfigBase.WriteConfigFlags flags = KConfigBase.Normal)''' 1455 def group(self, group): 1456 '''KConfigGroup KConfigBase.group(QByteArray group)''' 1457 return KConfigGroup() 1458 def group(self, group): 1459 '''KConfigGroup KConfigBase.group(QString group)''' 1460 return KConfigGroup() 1461 def group(self, group): 1462 '''KConfigGroup KConfigBase.group(str group)''' 1463 return KConfigGroup() 1464 def hasGroup(self, group): 1465 '''bool KConfigBase.hasGroup(QString group)''' 1466 return bool() 1467 def hasGroup(self, group): 1468 '''bool KConfigBase.hasGroup(str group)''' 1469 return bool() 1470 def hasGroup(self, group): 1471 '''bool KConfigBase.hasGroup(QByteArray group)''' 1472 return bool() 1473 def groupList(self): 1474 '''abstract QStringList KConfigBase.groupList()''' 1475 return QStringList() 1476 class WriteConfigFlags(): 1477 """""" 1478 def __init__(self): 1479 '''KConfigBase.WriteConfigFlags KConfigBase.WriteConfigFlags.__init__()''' 1480 return KConfigBase.WriteConfigFlags() 1481 def __init__(self): 1482 '''int KConfigBase.WriteConfigFlags.__init__()''' 1483 return int() 1484 def __init__(self): 1485 '''void KConfigBase.WriteConfigFlags.__init__()''' 1486 def __bool__(self): 1487 '''int KConfigBase.WriteConfigFlags.__bool__()''' 1488 return int() 1489 def __ne__(self, f): 1490 '''bool KConfigBase.WriteConfigFlags.__ne__(KConfigBase.WriteConfigFlags f)''' 1491 return bool() 1492 def __eq__(self, f): 1493 '''bool KConfigBase.WriteConfigFlags.__eq__(KConfigBase.WriteConfigFlags f)''' 1494 return bool() 1495 def __invert__(self): 1496 '''KConfigBase.WriteConfigFlags KConfigBase.WriteConfigFlags.__invert__()''' 1497 return KConfigBase.WriteConfigFlags() 1498 def __and__(self, mask): 1499 '''KConfigBase.WriteConfigFlags KConfigBase.WriteConfigFlags.__and__(int mask)''' 1500 return KConfigBase.WriteConfigFlags() 1501 def __xor__(self, f): 1502 '''KConfigBase.WriteConfigFlags KConfigBase.WriteConfigFlags.__xor__(KConfigBase.WriteConfigFlags f)''' 1503 return KConfigBase.WriteConfigFlags() 1504 def __xor__(self, f): 1505 '''KConfigBase.WriteConfigFlags KConfigBase.WriteConfigFlags.__xor__(int f)''' 1506 return KConfigBase.WriteConfigFlags() 1507 def __or__(self, f): 1508 '''KConfigBase.WriteConfigFlags KConfigBase.WriteConfigFlags.__or__(KConfigBase.WriteConfigFlags f)''' 1509 return KConfigBase.WriteConfigFlags() 1510 def __or__(self, f): 1511 '''KConfigBase.WriteConfigFlags KConfigBase.WriteConfigFlags.__or__(int f)''' 1512 return KConfigBase.WriteConfigFlags() 1513 def __int__(self): 1514 '''int KConfigBase.WriteConfigFlags.__int__()''' 1515 return int() 1516 def __ixor__(self, f): 1517 '''KConfigBase.WriteConfigFlags KConfigBase.WriteConfigFlags.__ixor__(KConfigBase.WriteConfigFlags f)''' 1518 return KConfigBase.WriteConfigFlags() 1519 def __ior__(self, f): 1520 '''KConfigBase.WriteConfigFlags KConfigBase.WriteConfigFlags.__ior__(KConfigBase.WriteConfigFlags f)''' 1521 return KConfigBase.WriteConfigFlags() 1522 def __iand__(self, mask): 1523 '''KConfigBase.WriteConfigFlags KConfigBase.WriteConfigFlags.__iand__(int mask)''' 1524 return KConfigBase.WriteConfigFlags() 1525 1526 1527 class KConfig(KConfigBase): 1528 """""" 1529 # Enum KConfig.OpenFlag 1530 IncludeGlobals = 0 1531 CascadeConfig = 0 1532 SimpleConfig = 0 1533 NoCascade = 0 1534 NoGlobals = 0 1535 FullConfig = 0 1536 1537 def __init__(self, file = QString(), mode = None, resourceType = config): 1538 '''void KConfig.__init__(QString file = QString(), KConfig.OpenFlags mode = KConfig.FullConfig, str resourceType = config)''' 1539 def __init__(self, componentData, file = QString(), mode = None, resourceType = config): 1540 '''void KConfig.__init__(KComponentData componentData, QString file = QString(), KConfig.OpenFlags mode = KConfig.FullConfig, str resourceType = config)''' 1541 def __init__(self, file, backend, resourceType = config): 1542 '''void KConfig.__init__(QString file, QString backend, str resourceType = config)''' 1543 def isGroupImmutableImpl(self, aGroup): 1544 '''bool KConfig.isGroupImmutableImpl(QByteArray aGroup)''' 1545 return bool() 1546 def deleteGroupImpl(self, group, flags = None): 1547 '''void KConfig.deleteGroupImpl(QByteArray group, KConfigBase.WriteConfigFlags flags = KConfigBase.Normal)''' 1548 def groupImpl(self, b): 1549 '''KConfigGroup KConfig.groupImpl(QByteArray b)''' 1550 return KConfigGroup() 1551 def hasGroupImpl(self, group): 1552 '''bool KConfig.hasGroupImpl(QByteArray group)''' 1553 return bool() 1554 def entryMap(self, aGroup = QString()): 1555 '''dict-of-QString-QString KConfig.entryMap(QString aGroup = QString())''' 1556 return dict-of-QString-QString() 1557 def groupList(self): 1558 '''QStringList KConfig.groupList()''' 1559 return QStringList() 1560 def forceGlobal(self): 1561 '''bool KConfig.forceGlobal()''' 1562 return bool() 1563 def setForceGlobal(self, force): 1564 '''void KConfig.setForceGlobal(bool force)''' 1565 def isImmutable(self): 1566 '''bool KConfig.isImmutable()''' 1567 return bool() 1568 def readDefaults(self): 1569 '''bool KConfig.readDefaults()''' 1570 return bool() 1571 def setReadDefaults(self, b): 1572 '''void KConfig.setReadDefaults(bool b)''' 1573 def setLocale(self, aLocale): 1574 '''bool KConfig.setLocale(QString aLocale)''' 1575 return bool() 1576 def locale(self): 1577 '''QString KConfig.locale()''' 1578 return QString() 1579 def addConfigSources(self, sources): 1580 '''void KConfig.addConfigSources(QStringList sources)''' 1581 def reparseConfiguration(self): 1582 '''void KConfig.reparseConfiguration()''' 1583 def checkUpdate(self, id, updateFile): 1584 '''void KConfig.checkUpdate(QString id, QString updateFile)''' 1585 def copyTo(self, file, config = None): 1586 '''KConfig KConfig.copyTo(QString file, KConfig config = None)''' 1587 return KConfig() 1588 def isConfigWritable(self, warnUser): 1589 '''bool KConfig.isConfigWritable(bool warnUser)''' 1590 return bool() 1591 def accessMode(self): 1592 '''KConfigBase.AccessMode KConfig.accessMode()''' 1593 return KConfigBase.AccessMode() 1594 def markAsClean(self): 1595 '''void KConfig.markAsClean()''' 1596 def sync(self): 1597 '''void KConfig.sync()''' 1598 def name(self): 1599 '''QString KConfig.name()''' 1600 return QString() 1601 def componentData(self): 1602 '''KComponentData KConfig.componentData()''' 1603 return KComponentData() 1604 class OpenFlags(): 1605 """""" 1606 def __init__(self): 1607 '''KConfig.OpenFlags KConfig.OpenFlags.__init__()''' 1608 return KConfig.OpenFlags() 1609 def __init__(self): 1610 '''int KConfig.OpenFlags.__init__()''' 1611 return int() 1612 def __init__(self): 1613 '''void KConfig.OpenFlags.__init__()''' 1614 def __bool__(self): 1615 '''int KConfig.OpenFlags.__bool__()''' 1616 return int() 1617 def __ne__(self, f): 1618 '''bool KConfig.OpenFlags.__ne__(KConfig.OpenFlags f)''' 1619 return bool() 1620 def __eq__(self, f): 1621 '''bool KConfig.OpenFlags.__eq__(KConfig.OpenFlags f)''' 1622 return bool() 1623 def __invert__(self): 1624 '''KConfig.OpenFlags KConfig.OpenFlags.__invert__()''' 1625 return KConfig.OpenFlags() 1626 def __and__(self, mask): 1627 '''KConfig.OpenFlags KConfig.OpenFlags.__and__(int mask)''' 1628 return KConfig.OpenFlags() 1629 def __xor__(self, f): 1630 '''KConfig.OpenFlags KConfig.OpenFlags.__xor__(KConfig.OpenFlags f)''' 1631 return KConfig.OpenFlags() 1632 def __xor__(self, f): 1633 '''KConfig.OpenFlags KConfig.OpenFlags.__xor__(int f)''' 1634 return KConfig.OpenFlags() 1635 def __or__(self, f): 1636 '''KConfig.OpenFlags KConfig.OpenFlags.__or__(KConfig.OpenFlags f)''' 1637 return KConfig.OpenFlags() 1638 def __or__(self, f): 1639 '''KConfig.OpenFlags KConfig.OpenFlags.__or__(int f)''' 1640 return KConfig.OpenFlags() 1641 def __int__(self): 1642 '''int KConfig.OpenFlags.__int__()''' 1643 return int() 1644 def __ixor__(self, f): 1645 '''KConfig.OpenFlags KConfig.OpenFlags.__ixor__(KConfig.OpenFlags f)''' 1646 return KConfig.OpenFlags() 1647 def __ior__(self, f): 1648 '''KConfig.OpenFlags KConfig.OpenFlags.__ior__(KConfig.OpenFlags f)''' 1649 return KConfig.OpenFlags() 1650 def __iand__(self, mask): 1651 '''KConfig.OpenFlags KConfig.OpenFlags.__iand__(int mask)''' 1652 return KConfig.OpenFlags() 1653 1654 1655 class KConfigGroup(KConfigBase): 1656 """""" 1657 def __init__(self): 1658 '''void KConfigGroup.__init__()''' 1659 def __init__(self, master, group): 1660 '''void KConfigGroup.__init__(KConfigBase master, QString group)''' 1661 def __init__(self, master, group): 1662 '''void KConfigGroup.__init__(KConfigBase master, str group)''' 1663 def __init__(self, master, group): 1664 '''void KConfigGroup.__init__(KSharedConfigPtr master, QString group)''' 1665 def __init__(self, master, group): 1666 '''void KConfigGroup.__init__(KSharedConfigPtr master, str group)''' 1667 def __init__(self): 1668 '''KConfigGroup KConfigGroup.__init__()''' 1669 return KConfigGroup() 1670 def isGroupImmutableImpl(self, aGroup): 1671 '''bool KConfigGroup.isGroupImmutableImpl(QByteArray aGroup)''' 1672 return bool() 1673 def deleteGroupImpl(self, group, flags): 1674 '''void KConfigGroup.deleteGroupImpl(QByteArray group, KConfigBase.WriteConfigFlags flags)''' 1675 def groupImpl(self, b): 1676 '''KConfigGroup KConfigGroup.groupImpl(QByteArray b)''' 1677 return KConfigGroup() 1678 def hasGroupImpl(self, group): 1679 '''bool KConfigGroup.hasGroupImpl(QByteArray group)''' 1680 return bool() 1681 def entryMap(self): 1682 '''dict-of-QString-QString KConfigGroup.entryMap()''' 1683 return dict-of-QString-QString() 1684 def hasDefault(self, key): 1685 '''bool KConfigGroup.hasDefault(QString key)''' 1686 return bool() 1687 def hasDefault(self, key): 1688 '''bool KConfigGroup.hasDefault(str key)''' 1689 return bool() 1690 def revertToDefault(self, key): 1691 '''void KConfigGroup.revertToDefault(QString key)''' 1692 def revertToDefault(self, key): 1693 '''void KConfigGroup.revertToDefault(str key)''' 1694 def isEntryImmutable(self, key): 1695 '''bool KConfigGroup.isEntryImmutable(QString key)''' 1696 return bool() 1697 def isEntryImmutable(self, key): 1698 '''bool KConfigGroup.isEntryImmutable(str key)''' 1699 return bool() 1700 def isImmutable(self): 1701 '''bool KConfigGroup.isImmutable()''' 1702 return bool() 1703 def hasKey(self, key): 1704 '''bool KConfigGroup.hasKey(QString key)''' 1705 return bool() 1706 def hasKey(self, key): 1707 '''bool KConfigGroup.hasKey(str key)''' 1708 return bool() 1709 def deleteEntry(self, pKey, pFlags = None): 1710 '''void KConfigGroup.deleteEntry(QString pKey, KConfigBase.WriteConfigFlags pFlags = KConfigBase.Normal)''' 1711 def deleteEntry(self, pKey, pFlags = None): 1712 '''void KConfigGroup.deleteEntry(str pKey, KConfigBase.WriteConfigFlags pFlags = KConfigBase.Normal)''' 1713 def writePathEntry(self, pKey, path, pFlags = None): 1714 '''void KConfigGroup.writePathEntry(QString pKey, QString path, KConfigBase.WriteConfigFlags pFlags = KConfigBase.Normal)''' 1715 def writePathEntry(self, pKey, path, pFlags = None): 1716 '''void KConfigGroup.writePathEntry(str pKey, QString path, KConfigBase.WriteConfigFlags pFlags = KConfigBase.Normal)''' 1717 def writePathEntry(self, pKey, value, pFlags = None): 1718 '''void KConfigGroup.writePathEntry(QString pKey, QStringList value, KConfigBase.WriteConfigFlags pFlags = KConfigBase.Normal)''' 1719 def writePathEntry(self, pKey, value, pFlags = None): 1720 '''void KConfigGroup.writePathEntry(str pKey, QStringList value, KConfigBase.WriteConfigFlags pFlags = KConfigBase.Normal)''' 1721 def writeXdgListEntry(self, pKey, value, pFlags = None): 1722 '''void KConfigGroup.writeXdgListEntry(QString pKey, QStringList value, KConfigBase.WriteConfigFlags pFlags = KConfigBase.Normal)''' 1723 def writeXdgListEntry(self, pKey, value, pFlags = None): 1724 '''void KConfigGroup.writeXdgListEntry(str pKey, QStringList value, KConfigBase.WriteConfigFlags pFlags = KConfigBase.Normal)''' 1725 def writeEntry(self, key, value, pFlags = None): 1726 '''void KConfigGroup.writeEntry(QString key, QVariant value, KConfigBase.WriteConfigFlags pFlags = KConfigBase.Normal)''' 1727 def writeEntry(self, key, value, pFlags = None): 1728 '''void KConfigGroup.writeEntry(str key, QVariant value, KConfigBase.WriteConfigFlags pFlags = KConfigBase.Normal)''' 1729 def writeEntry(self, key, value, pFlags = None): 1730 '''void KConfigGroup.writeEntry(QString key, QString value, KConfigBase.WriteConfigFlags pFlags = KConfigBase.Normal)''' 1731 def writeEntry(self, key, value, pFlags = None): 1732 '''void KConfigGroup.writeEntry(str key, QString value, KConfigBase.WriteConfigFlags pFlags = KConfigBase.Normal)''' 1733 def writeEntry(self, key, value, pFlags = None): 1734 '''void KConfigGroup.writeEntry(QString key, QByteArray value, KConfigBase.WriteConfigFlags pFlags = KConfigBase.Normal)''' 1735 def writeEntry(self, key, value, pFlags = None): 1736 '''void KConfigGroup.writeEntry(str key, QByteArray value, KConfigBase.WriteConfigFlags pFlags = KConfigBase.Normal)''' 1737 def writeEntry(self, key, value, pFlags = None): 1738 '''void KConfigGroup.writeEntry(QString key, str value, KConfigBase.WriteConfigFlags pFlags = KConfigBase.Normal)''' 1739 def writeEntry(self, key, value, pFlags = None): 1740 '''void KConfigGroup.writeEntry(str key, str value, KConfigBase.WriteConfigFlags pFlags = KConfigBase.Normal)''' 1741 def writeEntry(self, key, value, pFlags = None): 1742 '''void KConfigGroup.writeEntry(QString key, QStringList value, KConfigBase.WriteConfigFlags pFlags = KConfigBase.Normal)''' 1743 def writeEntry(self, key, value, pFlags = None): 1744 '''void KConfigGroup.writeEntry(str key, QStringList value, KConfigBase.WriteConfigFlags pFlags = KConfigBase.Normal)''' 1745 def writeEntry(self, key, value, pFlags = None): 1746 '''void KConfigGroup.writeEntry(QString key, list-of-QVariant value, KConfigBase.WriteConfigFlags pFlags = KConfigBase.Normal)''' 1747 def writeEntry(self, key, value, pFlags = None): 1748 '''void KConfigGroup.writeEntry(str key, list-of-QVariant value, KConfigBase.WriteConfigFlags pFlags = KConfigBase.Normal)''' 1749 def readEntryUntranslated(self, pKey, aDefault = QString()): 1750 '''QString KConfigGroup.readEntryUntranslated(QString pKey, QString aDefault = QString())''' 1751 return QString() 1752 def readEntryUntranslated(self, key, aDefault = QString()): 1753 '''QString KConfigGroup.readEntryUntranslated(str key, QString aDefault = QString())''' 1754 return QString() 1755 def readPathEntry(self, pKey, aDefault): 1756 '''QString KConfigGroup.readPathEntry(QString pKey, QString aDefault)''' 1757 return QString() 1758 def readPathEntry(self, key, aDefault): 1759 '''QString KConfigGroup.readPathEntry(str key, QString aDefault)''' 1760 return QString() 1761 def readPathEntry(self, pKey, aDefault): 1762 '''QStringList KConfigGroup.readPathEntry(QString pKey, QStringList aDefault)''' 1763 return QStringList() 1764 def readPathEntry(self, key, aDefault): 1765 '''QStringList KConfigGroup.readPathEntry(str key, QStringList aDefault)''' 1766 return QStringList() 1767 def readXdgListEntry(self, pKey, aDefault = QStringList()): 1768 '''QStringList KConfigGroup.readXdgListEntry(QString pKey, QStringList aDefault = QStringList())''' 1769 return QStringList() 1770 def readXdgListEntry(self, pKey, aDefault = QStringList()): 1771 '''QStringList KConfigGroup.readXdgListEntry(str pKey, QStringList aDefault = QStringList())''' 1772 return QStringList() 1773 def readEntry(self, key, aDefault): 1774 '''QVariant KConfigGroup.readEntry(QString key, QVariant aDefault)''' 1775 return QVariant() 1776 def readEntry(self, key, aDefault): 1777 '''QVariant KConfigGroup.readEntry(str key, QVariant aDefault)''' 1778 return QVariant() 1779 def readEntry(self, key, aDefault): 1780 '''QString KConfigGroup.readEntry(QString key, QString aDefault)''' 1781 return QString() 1782 def readEntry(self, key, aDefault): 1783 '''QString KConfigGroup.readEntry(str key, QString aDefault)''' 1784 return QString() 1785 def readEntry(self, key, aDefault = None): 1786 '''QString KConfigGroup.readEntry(QString key, str aDefault = None)''' 1787 return QString() 1788 def readEntry(self, key, aDefault = None): 1789 '''QString KConfigGroup.readEntry(str key, str aDefault = None)''' 1790 return QString() 1791 def readEntry(self, key, aDefault): 1792 '''list-of-QVariant KConfigGroup.readEntry(QString key, list-of-QVariant aDefault)''' 1793 return [QVariant()] 1794 def readEntry(self, key, aDefault): 1795 '''list-of-QVariant KConfigGroup.readEntry(str key, list-of-QVariant aDefault)''' 1796 return [QVariant()] 1797 def readEntry(self, key, aDefault): 1798 '''QStringList KConfigGroup.readEntry(QString key, QStringList aDefault)''' 1799 return QStringList() 1800 def readEntry(self, key, aDefault): 1801 '''QStringList KConfigGroup.readEntry(str key, QStringList aDefault)''' 1802 return QStringList() 1803 def deleteGroup(self, pFlags = None): 1804 '''void KConfigGroup.deleteGroup(KConfigBase.WriteConfigFlags pFlags = KConfigBase.Normal)''' 1805 def keyList(self): 1806 '''QStringList KConfigGroup.keyList()''' 1807 return QStringList() 1808 def groupList(self): 1809 '''QStringList KConfigGroup.groupList()''' 1810 return QStringList() 1811 def parent(self): 1812 '''KConfigGroup KConfigGroup.parent()''' 1813 return KConfigGroup() 1814 def reparent(self, parent, pFlags = None): 1815 '''void KConfigGroup.reparent(KConfigBase parent, KConfigBase.WriteConfigFlags pFlags = KConfigBase.Normal)''' 1816 def copyTo(self, other, pFlags = None): 1817 '''void KConfigGroup.copyTo(KConfigBase other, KConfigBase.WriteConfigFlags pFlags = KConfigBase.Normal)''' 1818 def changeGroup(self, group): 1819 '''void KConfigGroup.changeGroup(QString group)''' 1820 def changeGroup(self, group): 1821 '''void KConfigGroup.changeGroup(str group)''' 1822 def config(self): 1823 '''KConfig KConfigGroup.config()''' 1824 return KConfig() 1825 def accessMode(self): 1826 '''KConfigBase.AccessMode KConfigGroup.accessMode()''' 1827 return KConfigBase.AccessMode() 1828 def markAsClean(self): 1829 '''void KConfigGroup.markAsClean()''' 1830 def sync(self): 1831 '''void KConfigGroup.sync()''' 1832 def exists(self): 1833 '''bool KConfigGroup.exists()''' 1834 return bool() 1835 def name(self): 1836 '''QString KConfigGroup.name()''' 1837 return QString() 1838 def isValid(self): 1839 '''bool KConfigGroup.isValid()''' 1840 return bool() 1841 1842 1843 class KConfigSkeletonItem(): 1844 """""" 1845 def __init__(self, _group, _key): 1846 '''void KConfigSkeletonItem.__init__(QString _group, QString _key)''' 1847 def readImmutability(self, group): 1848 '''void KConfigSkeletonItem.readImmutability(KConfigGroup group)''' 1849 def isImmutable(self): 1850 '''bool KConfigSkeletonItem.isImmutable()''' 1851 return bool() 1852 def swapDefault(self): 1853 '''abstract void KConfigSkeletonItem.swapDefault()''' 1854 def setDefault(self): 1855 '''abstract void KConfigSkeletonItem.setDefault()''' 1856 def maxValue(self): 1857 '''QVariant KConfigSkeletonItem.maxValue()''' 1858 return QVariant() 1859 def minValue(self): 1860 '''QVariant KConfigSkeletonItem.minValue()''' 1861 return QVariant() 1862 def property(self): 1863 '''abstract QVariant KConfigSkeletonItem.property()''' 1864 return QVariant() 1865 def isEqual(self, p): 1866 '''abstract bool KConfigSkeletonItem.isEqual(QVariant p)''' 1867 return bool() 1868 def setProperty(self, p): 1869 '''abstract void KConfigSkeletonItem.setProperty(QVariant p)''' 1870 def readDefault(self): 1871 '''abstract KConfig KConfigSkeletonItem.readDefault()''' 1872 return KConfig() 1873 def writeConfig(self): 1874 '''abstract KConfig KConfigSkeletonItem.writeConfig()''' 1875 return KConfig() 1876 def readConfig(self): 1877 '''abstract KConfig KConfigSkeletonItem.readConfig()''' 1878 return KConfig() 1879 def whatsThis(self): 1880 '''QString KConfigSkeletonItem.whatsThis()''' 1881 return QString() 1882 def setWhatsThis(self, w): 1883 '''void KConfigSkeletonItem.setWhatsThis(QString w)''' 1884 def toolTip(self): 1885 '''QString KConfigSkeletonItem.toolTip()''' 1886 return QString() 1887 def setToolTip(self, t): 1888 '''void KConfigSkeletonItem.setToolTip(QString t)''' 1889 def label(self): 1890 '''QString KConfigSkeletonItem.label()''' 1891 return QString() 1892 def setLabel(self, l): 1893 '''void KConfigSkeletonItem.setLabel(QString l)''' 1894 def name(self): 1895 '''QString KConfigSkeletonItem.name()''' 1896 return QString() 1897 def setName(self, _name): 1898 '''void KConfigSkeletonItem.setName(QString _name)''' 1899 def key(self): 1900 '''QString KConfigSkeletonItem.key()''' 1901 return QString() 1902 def setKey(self, _key): 1903 '''void KConfigSkeletonItem.setKey(QString _key)''' 1904 def group(self): 1905 '''QString KConfigSkeletonItem.group()''' 1906 return QString() 1907 def setGroup(self, _group): 1908 '''void KConfigSkeletonItem.setGroup(QString _group)''' 1909 1910 1911 class KCoreConfigSkeleton(QObject): 1912 """""" 1913 def __init__(self, configname = QString(), parent = None): 1914 '''void KCoreConfigSkeleton.__init__(QString configname = QString(), QObject parent = None)''' 1915 def __init__(self, config, parent = None): 1916 '''void KCoreConfigSkeleton.__init__(unknown-type config, QObject parent = None)''' 1917 def findItem(self, name): 1918 '''KConfigSkeletonItem KCoreConfigSkeleton.findItem(QString name)''' 1919 return KConfigSkeletonItem() 1920 def isImmutable(self, name): 1921 '''bool KCoreConfigSkeleton.isImmutable(QString name)''' 1922 return bool() 1923 def usrWriteConfig(self): 1924 '''void KCoreConfigSkeleton.usrWriteConfig()''' 1925 def usrReadConfig(self): 1926 '''void KCoreConfigSkeleton.usrReadConfig()''' 1927 def usrSetDefaults(self): 1928 '''void KCoreConfigSkeleton.usrSetDefaults()''' 1929 def usrUseDefaults(self, b): 1930 '''bool KCoreConfigSkeleton.usrUseDefaults(bool b)''' 1931 return bool() 1932 configChanged = pyqtSignal() # void configChanged() - signal 1933 def useDefaults(self, b): 1934 '''bool KCoreConfigSkeleton.useDefaults(bool b)''' 1935 return bool() 1936 def items(self): 1937 '''list-of-KConfigSkeletonItem KCoreConfigSkeleton.items()''' 1938 return [KConfigSkeletonItem()] 1939 def setSharedConfig(self, pConfig): 1940 '''void KCoreConfigSkeleton.setSharedConfig(unknown-type pConfig)''' 1941 def config(self): 1942 '''KConfig KCoreConfigSkeleton.config()''' 1943 return KConfig() 1944 def addItemIntList(self, name, reference, defaultValue = None, key = QString()): 1945 '''KCoreConfigSkeleton.ItemIntList KCoreConfigSkeleton.addItemIntList(QString name, list-of-int reference, list-of-int defaultValue = QListlt;intgt;(), QString key = QString())''' 1946 return KCoreConfigSkeleton.ItemIntList() 1947 def addItemStringList(self, name, reference, defaultValue = QStringList(), key = QString()): 1948 '''KCoreConfigSkeleton.ItemStringList KCoreConfigSkeleton.addItemStringList(QString name, QStringList reference, QStringList defaultValue = QStringList(), QString key = QString())''' 1949 return KCoreConfigSkeleton.ItemStringList() 1950 def addItemDateTime(self, name, reference, defaultValue = QDateTime(), key = QString()): 1951 '''KCoreConfigSkeleton.ItemDateTime KCoreConfigSkeleton.addItemDateTime(QString name, QDateTime reference, QDateTime defaultValue = QDateTime(), QString key = QString())''' 1952 return KCoreConfigSkeleton.ItemDateTime() 1953 def addItemSize(self, name, reference, defaultValue = QSize(), key = QString()): 1954 '''KCoreConfigSkeleton.ItemSize KCoreConfigSkeleton.addItemSize(QString name, QSize reference, QSize defaultValue = QSize(), QString key = QString())''' 1955 return KCoreConfigSkeleton.ItemSize() 1956 def addItemPoint(self, name, reference, defaultValue = QPoint(), key = QString()): 1957 '''KCoreConfigSkeleton.ItemPoint KCoreConfigSkeleton.addItemPoint(QString name, QPoint reference, QPoint defaultValue = QPoint(), QString key = QString())''' 1958 return KCoreConfigSkeleton.ItemPoint() 1959 def addItemRect(self, name, reference, defaultValue = QRect(), key = QString()): 1960 '''KCoreConfigSkeleton.ItemRect KCoreConfigSkeleton.addItemRect(QString name, QRect reference, QRect defaultValue = QRect(), QString key = QString())''' 1961 return KCoreConfigSkeleton.ItemRect() 1962 def addItemDouble(self, name, reference, defaultValue = 0, key = QString()): 1963 '''KCoreConfigSkeleton.ItemDouble KCoreConfigSkeleton.addItemDouble(QString name, float reference, float defaultValue = 0, QString key = QString())''' 1964 return KCoreConfigSkeleton.ItemDouble() 1965 def addItemUInt64(self, name, reference, defaultValue = 0, key = QString()): 1966 '''KCoreConfigSkeleton.ItemULongLong KCoreConfigSkeleton.addItemUInt64(QString name, int reference, int defaultValue = 0, QString key = QString())''' 1967 return KCoreConfigSkeleton.ItemULongLong() 1968 def addItemULongLong(self, name, reference, defaultValue = 0, key = QString()): 1969 '''KCoreConfigSkeleton.ItemULongLong KCoreConfigSkeleton.addItemULongLong(QString name, int reference, int defaultValue = 0, QString key = QString())''' 1970 return KCoreConfigSkeleton.ItemULongLong() 1971 def addItemInt64(self, name, reference, defaultValue = 0, key = QString()): 1972 '''KCoreConfigSkeleton.ItemLongLong KCoreConfigSkeleton.addItemInt64(QString name, int reference, int defaultValue = 0, QString key = QString())''' 1973 return KCoreConfigSkeleton.ItemLongLong() 1974 def addItemLongLong(self, name, reference, defaultValue = 0, key = QString()): 1975 '''KCoreConfigSkeleton.ItemLongLong KCoreConfigSkeleton.addItemLongLong(QString name, int reference, int defaultValue = 0, QString key = QString())''' 1976 return KCoreConfigSkeleton.ItemLongLong() 1977 def addItemUInt(self, name, reference, defaultValue = 0, key = QString()): 1978 '''KCoreConfigSkeleton.ItemUInt KCoreConfigSkeleton.addItemUInt(QString name, int reference, int defaultValue = 0, QString key = QString())''' 1979 return KCoreConfigSkeleton.ItemUInt() 1980 def addItemInt(self, name, reference, defaultValue = 0, key = QString()): 1981 '''KCoreConfigSkeleton.ItemInt KCoreConfigSkeleton.addItemInt(QString name, int reference, int defaultValue = 0, QString key = QString())''' 1982 return KCoreConfigSkeleton.ItemInt() 1983 def addItemBool(self, name, reference, defaultValue = False, key = QString()): 1984 '''KCoreConfigSkeleton.ItemBool KCoreConfigSkeleton.addItemBool(QString name, bool reference, bool defaultValue = False, QString key = QString())''' 1985 return KCoreConfigSkeleton.ItemBool() 1986 def addItemProperty(self, name, reference, defaultValue = QVariant(), key = QString()): 1987 '''KCoreConfigSkeleton.ItemProperty KCoreConfigSkeleton.addItemProperty(QString name, QVariant reference, QVariant defaultValue = QVariant(), QString key = QString())''' 1988 return KCoreConfigSkeleton.ItemProperty() 1989 def addItemPath(self, name, reference, defaultValue = QLatin1String, key = QString()): 1990 '''KCoreConfigSkeleton.ItemPath KCoreConfigSkeleton.addItemPath(QString name, QString reference, QString defaultValue = QLatin1String, QString key = QString())''' 1991 return KCoreConfigSkeleton.ItemPath() 1992 def addItemPassword(self, name, reference, defaultValue = QLatin1String, key = QString()): 1993 '''KCoreConfigSkeleton.ItemPassword KCoreConfigSkeleton.addItemPassword(QString name, QString reference, QString defaultValue = QLatin1String, QString key = QString())''' 1994 return KCoreConfigSkeleton.ItemPassword() 1995 def addItemString(self, name, reference, defaultValue = QLatin1String, key = QString()): 1996 '''KCoreConfigSkeleton.ItemString KCoreConfigSkeleton.addItemString(QString name, QString reference, QString defaultValue = QLatin1String, QString key = QString())''' 1997 return KCoreConfigSkeleton.ItemString() 1998 def addItem(self, name = QString()): 1999 '''KConfigSkeletonItem KCoreConfigSkeleton.addItem(QString name = QString())''' 2000 return KConfigSkeletonItem() 2001 def currentGroup(self): 2002 '''QString KCoreConfigSkeleton.currentGroup()''' 2003 return QString() 2004 def setCurrentGroup(self, group): 2005 '''void KCoreConfigSkeleton.setCurrentGroup(QString group)''' 2006 def writeConfig(self): 2007 '''void KCoreConfigSkeleton.writeConfig()''' 2008 def readConfig(self): 2009 '''void KCoreConfigSkeleton.readConfig()''' 2010 def setDefaults(self): 2011 '''void KCoreConfigSkeleton.setDefaults()''' 2012 class ItemEnum(): 2013 """""" 2014 class Choice2(): 2015 """""" 2016 label = None # QString - member 2017 name = None # QString - member 2018 toolTip = None # QString - member 2019 whatsThis = None # QString - member 2020 def __init__(self): 2021 '''void KCoreConfigSkeleton.ItemEnum.Choice2.__init__()''' 2022 def __init__(self): 2023 '''KCoreConfigSkeleton.ItemEnum.Choice2 KCoreConfigSkeleton.ItemEnum.Choice2.__init__()''' 2024 return KCoreConfigSkeleton.ItemEnum.Choice2() 2025 class ItemUrlList(KConfigSkeletonItem): 2026 """""" 2027 def __init__(self, _group, _key, reference, defaultValue = None): 2028 '''void KCoreConfigSkeleton.ItemUrlList.__init__(QString _group, QString _key, KUrl.List reference, KUrl.List defaultValue = KUrl.List())''' 2029 def swapDefault(self): 2030 '''void KCoreConfigSkeleton.ItemUrlList.swapDefault()''' 2031 def readDefault(self, config): 2032 '''void KCoreConfigSkeleton.ItemUrlList.readDefault(KConfig config)''' 2033 def setDefault(self): 2034 '''void KCoreConfigSkeleton.ItemUrlList.setDefault()''' 2035 def setDefaultValue(self, v): 2036 '''void KCoreConfigSkeleton.ItemUrlList.setDefaultValue(KUrl.List v)''' 2037 def value(self): 2038 '''KUrl.List KCoreConfigSkeleton.ItemUrlList.value()''' 2039 return KUrl.List() 2040 def setValue(self, v): 2041 '''void KCoreConfigSkeleton.ItemUrlList.setValue(KUrl.List v)''' 2042 def property(self): 2043 '''QVariant KCoreConfigSkeleton.ItemUrlList.property()''' 2044 return QVariant() 2045 def isEqual(self, p): 2046 '''bool KCoreConfigSkeleton.ItemUrlList.isEqual(QVariant p)''' 2047 return bool() 2048 def setProperty(self, p): 2049 '''void KCoreConfigSkeleton.ItemUrlList.setProperty(QVariant p)''' 2050 def writeConfig(self, config): 2051 '''void KCoreConfigSkeleton.ItemUrlList.writeConfig(KConfig config)''' 2052 def readConfig(self, config): 2053 '''void KCoreConfigSkeleton.ItemUrlList.readConfig(KConfig config)''' 2054 class ItemUInt(KConfigSkeletonItem): 2055 """""" 2056 def __init__(self, _group, _key, reference, defaultValue = 0): 2057 '''void KCoreConfigSkeleton.ItemUInt.__init__(QString _group, QString _key, int reference, int defaultValue = 0)''' 2058 def swapDefault(self): 2059 '''void KCoreConfigSkeleton.ItemUInt.swapDefault()''' 2060 def readDefault(self, config): 2061 '''void KCoreConfigSkeleton.ItemUInt.readDefault(KConfig config)''' 2062 def writeConfig(self, config): 2063 '''void KCoreConfigSkeleton.ItemUInt.writeConfig(KConfig config)''' 2064 def setDefault(self): 2065 '''void KCoreConfigSkeleton.ItemUInt.setDefault()''' 2066 def setDefaultValue(self, v): 2067 '''void KCoreConfigSkeleton.ItemUInt.setDefaultValue(int v)''' 2068 def value(self): 2069 '''int KCoreConfigSkeleton.ItemUInt.value()''' 2070 return int() 2071 def setValue(self, v): 2072 '''void KCoreConfigSkeleton.ItemUInt.setValue(int v)''' 2073 def setMaxValue(self): 2074 '''int KCoreConfigSkeleton.ItemUInt.setMaxValue()''' 2075 return int() 2076 def setMinValue(self): 2077 '''int KCoreConfigSkeleton.ItemUInt.setMinValue()''' 2078 return int() 2079 def maxValue(self): 2080 '''QVariant KCoreConfigSkeleton.ItemUInt.maxValue()''' 2081 return QVariant() 2082 def minValue(self): 2083 '''QVariant KCoreConfigSkeleton.ItemUInt.minValue()''' 2084 return QVariant() 2085 def property(self): 2086 '''QVariant KCoreConfigSkeleton.ItemUInt.property()''' 2087 return QVariant() 2088 def isEqual(self, p): 2089 '''bool KCoreConfigSkeleton.ItemUInt.isEqual(QVariant p)''' 2090 return bool() 2091 def setProperty(self, p): 2092 '''void KCoreConfigSkeleton.ItemUInt.setProperty(QVariant p)''' 2093 def readConfig(self, config): 2094 '''void KCoreConfigSkeleton.ItemUInt.readConfig(KConfig config)''' 2095 class ItemIntList(KConfigSkeletonItem): 2096 """""" 2097 def __init__(self, _group, _key, reference, defaultValue = None): 2098 '''void KCoreConfigSkeleton.ItemIntList.__init__(QString _group, QString _key, list-of-int reference, list-of-int defaultValue = QListlt;intgt;())''' 2099 def swapDefault(self): 2100 '''void KCoreConfigSkeleton.ItemIntList.swapDefault()''' 2101 def readDefault(self, config): 2102 '''void KCoreConfigSkeleton.ItemIntList.readDefault(KConfig config)''' 2103 def writeConfig(self, config): 2104 '''void KCoreConfigSkeleton.ItemIntList.writeConfig(KConfig config)''' 2105 def setDefault(self): 2106 '''void KCoreConfigSkeleton.ItemIntList.setDefault()''' 2107 def setDefaultValue(self, v): 2108 '''void KCoreConfigSkeleton.ItemIntList.setDefaultValue(list-of-int v)''' 2109 def value(self): 2110 '''list-of-int KCoreConfigSkeleton.ItemIntList.value()''' 2111 return [int()] 2112 def setValue(self, v): 2113 '''void KCoreConfigSkeleton.ItemIntList.setValue(list-of-int v)''' 2114 def property(self): 2115 '''QVariant KCoreConfigSkeleton.ItemIntList.property()''' 2116 return QVariant() 2117 def isEqual(self, p): 2118 '''bool KCoreConfigSkeleton.ItemIntList.isEqual(QVariant p)''' 2119 return bool() 2120 def setProperty(self, p): 2121 '''void KCoreConfigSkeleton.ItemIntList.setProperty(QVariant p)''' 2122 def readConfig(self, config): 2123 '''void KCoreConfigSkeleton.ItemIntList.readConfig(KConfig config)''' 2124 class ItemEnum(KCoreConfigSkeleton.ItemInt): 2125 """""" 2126 def __init__(self, _group, _key, reference, choices, defaultValue = 0): 2127 '''void KCoreConfigSkeleton.ItemEnum.__init__(QString _group, QString _key, int reference, list-of-KCoreConfigSkeleton.ItemEnum.Choice choices, int defaultValue = 0)''' 2128 def swapDefault(self): 2129 '''void KCoreConfigSkeleton.ItemEnum.swapDefault()''' 2130 def readDefault(self, config): 2131 '''void KCoreConfigSkeleton.ItemEnum.readDefault(KConfig config)''' 2132 def setDefault(self): 2133 '''void KCoreConfigSkeleton.ItemEnum.setDefault()''' 2134 def setDefaultValue(self, v): 2135 '''void KCoreConfigSkeleton.ItemEnum.setDefaultValue(int v)''' 2136 def value(self): 2137 '''int KCoreConfigSkeleton.ItemEnum.value()''' 2138 return int() 2139 def setValue(self, v): 2140 '''void KCoreConfigSkeleton.ItemEnum.setValue(int v)''' 2141 def writeConfig(self, config): 2142 '''void KCoreConfigSkeleton.ItemEnum.writeConfig(KConfig config)''' 2143 def readConfig(self, config): 2144 '''void KCoreConfigSkeleton.ItemEnum.readConfig(KConfig config)''' 2145 def choices2(self): 2146 '''list-of-KCoreConfigSkeleton.ItemEnum.Choice2 KCoreConfigSkeleton.ItemEnum.choices2()''' 2147 return [KCoreConfigSkeleton.ItemEnum.Choice2()] 2148 def choices(self): 2149 '''list-of-KCoreConfigSkeleton.ItemEnum.Choice KCoreConfigSkeleton.ItemEnum.choices()''' 2150 return [KCoreConfigSkeleton.ItemEnum.Choice()] 2151 class ItemBool(KConfigSkeletonItem): 2152 """""" 2153 def __init__(self, _group, _key, reference, defaultValue = True): 2154 '''void KCoreConfigSkeleton.ItemBool.__init__(QString _group, QString _key, bool reference, bool defaultValue = True)''' 2155 def swapDefault(self): 2156 '''void KCoreConfigSkeleton.ItemBool.swapDefault()''' 2157 def readDefault(self, config): 2158 '''void KCoreConfigSkeleton.ItemBool.readDefault(KConfig config)''' 2159 def writeConfig(self, config): 2160 '''void KCoreConfigSkeleton.ItemBool.writeConfig(KConfig config)''' 2161 def setDefault(self): 2162 '''void KCoreConfigSkeleton.ItemBool.setDefault()''' 2163 def setDefaultValue(self, v): 2164 '''void KCoreConfigSkeleton.ItemBool.setDefaultValue(bool v)''' 2165 def value(self): 2166 '''bool KCoreConfigSkeleton.ItemBool.value()''' 2167 return bool() 2168 def setValue(self, v): 2169 '''void KCoreConfigSkeleton.ItemBool.setValue(bool v)''' 2170 def property(self): 2171 '''QVariant KCoreConfigSkeleton.ItemBool.property()''' 2172 return QVariant() 2173 def isEqual(self, p): 2174 '''bool KCoreConfigSkeleton.ItemBool.isEqual(QVariant p)''' 2175 return bool() 2176 def setProperty(self, p): 2177 '''void KCoreConfigSkeleton.ItemBool.setProperty(QVariant p)''' 2178 def readConfig(self, config): 2179 '''void KCoreConfigSkeleton.ItemBool.readConfig(KConfig config)''' 2180 class ItemEnum(): 2181 """""" 2182 class Choice(): 2183 """""" 2184 label = None # QString - member 2185 name = None # QString - member 2186 whatsThis = None # QString - member 2187 def __init__(self): 2188 '''void KCoreConfigSkeleton.ItemEnum.Choice.__init__()''' 2189 def __init__(self): 2190 '''KCoreConfigSkeleton.ItemEnum.Choice KCoreConfigSkeleton.ItemEnum.Choice.__init__()''' 2191 return KCoreConfigSkeleton.ItemEnum.Choice() 2192 class ItemStringList(KConfigSkeletonItem): 2193 """""" 2194 def __init__(self, _group, _key, reference, defaultValue = QStringList()): 2195 '''void KCoreConfigSkeleton.ItemStringList.__init__(QString _group, QString _key, QStringList reference, QStringList defaultValue = QStringList())''' 2196 def swapDefault(self): 2197 '''void KCoreConfigSkeleton.ItemStringList.swapDefault()''' 2198 def readDefault(self, config): 2199 '''void KCoreConfigSkeleton.ItemStringList.readDefault(KConfig config)''' 2200 def writeConfig(self, config): 2201 '''void KCoreConfigSkeleton.ItemStringList.writeConfig(KConfig config)''' 2202 def setDefault(self): 2203 '''void KCoreConfigSkeleton.ItemStringList.setDefault()''' 2204 def setDefaultValue(self, v): 2205 '''void KCoreConfigSkeleton.ItemStringList.setDefaultValue(QStringList v)''' 2206 def value(self): 2207 '''QStringList KCoreConfigSkeleton.ItemStringList.value()''' 2208 return QStringList() 2209 def setValue(self, v): 2210 '''void KCoreConfigSkeleton.ItemStringList.setValue(QStringList v)''' 2211 def property(self): 2212 '''QVariant KCoreConfigSkeleton.ItemStringList.property()''' 2213 return QVariant() 2214 def isEqual(self, p): 2215 '''bool KCoreConfigSkeleton.ItemStringList.isEqual(QVariant p)''' 2216 return bool() 2217 def setProperty(self, p): 2218 '''void KCoreConfigSkeleton.ItemStringList.setProperty(QVariant p)''' 2219 def readConfig(self, config): 2220 '''void KCoreConfigSkeleton.ItemStringList.readConfig(KConfig config)''' 2221 class ItemRect(KConfigSkeletonItem): 2222 """""" 2223 def __init__(self, _group, _key, reference, defaultValue = QRect()): 2224 '''void KCoreConfigSkeleton.ItemRect.__init__(QString _group, QString _key, QRect reference, QRect defaultValue = QRect())''' 2225 def swapDefault(self): 2226 '''void KCoreConfigSkeleton.ItemRect.swapDefault()''' 2227 def readDefault(self, config): 2228 '''void KCoreConfigSkeleton.ItemRect.readDefault(KConfig config)''' 2229 def writeConfig(self, config): 2230 '''void KCoreConfigSkeleton.ItemRect.writeConfig(KConfig config)''' 2231 def setDefault(self): 2232 '''void KCoreConfigSkeleton.ItemRect.setDefault()''' 2233 def setDefaultValue(self, v): 2234 '''void KCoreConfigSkeleton.ItemRect.setDefaultValue(QRect v)''' 2235 def value(self): 2236 '''QRect KCoreConfigSkeleton.ItemRect.value()''' 2237 return QRect() 2238 def setValue(self, v): 2239 '''void KCoreConfigSkeleton.ItemRect.setValue(QRect v)''' 2240 def property(self): 2241 '''QVariant KCoreConfigSkeleton.ItemRect.property()''' 2242 return QVariant() 2243 def isEqual(self, p): 2244 '''bool KCoreConfigSkeleton.ItemRect.isEqual(QVariant p)''' 2245 return bool() 2246 def setProperty(self, p): 2247 '''void KCoreConfigSkeleton.ItemRect.setProperty(QVariant p)''' 2248 def readConfig(self, config): 2249 '''void KCoreConfigSkeleton.ItemRect.readConfig(KConfig config)''' 2250 class ItemUrl(KConfigSkeletonItem): 2251 """""" 2252 def __init__(self, _group, _key, reference, defaultValue = KUrl()): 2253 '''void KCoreConfigSkeleton.ItemUrl.__init__(QString _group, QString _key, KUrl reference, KUrl defaultValue = KUrl())''' 2254 def swapDefault(self): 2255 '''void KCoreConfigSkeleton.ItemUrl.swapDefault()''' 2256 def readDefault(self, config): 2257 '''void KCoreConfigSkeleton.ItemUrl.readDefault(KConfig config)''' 2258 def setDefault(self): 2259 '''void KCoreConfigSkeleton.ItemUrl.setDefault()''' 2260 def setDefaultValue(self, v): 2261 '''void KCoreConfigSkeleton.ItemUrl.setDefaultValue(KUrl v)''' 2262 def value(self): 2263 '''KUrl KCoreConfigSkeleton.ItemUrl.value()''' 2264 return KUrl() 2265 def setValue(self, v): 2266 '''void KCoreConfigSkeleton.ItemUrl.setValue(KUrl v)''' 2267 def property(self): 2268 '''QVariant KCoreConfigSkeleton.ItemUrl.property()''' 2269 return QVariant() 2270 def isEqual(self, p): 2271 '''bool KCoreConfigSkeleton.ItemUrl.isEqual(QVariant p)''' 2272 return bool() 2273 def setProperty(self, p): 2274 '''void KCoreConfigSkeleton.ItemUrl.setProperty(QVariant p)''' 2275 def readConfig(self, config): 2276 '''void KCoreConfigSkeleton.ItemUrl.readConfig(KConfig config)''' 2277 def writeConfig(self, config): 2278 '''void KCoreConfigSkeleton.ItemUrl.writeConfig(KConfig config)''' 2279 class ItemDateTime(KConfigSkeletonItem): 2280 """""" 2281 def __init__(self, _group, _key, reference, defaultValue = QDateTime()): 2282 '''void KCoreConfigSkeleton.ItemDateTime.__init__(QString _group, QString _key, QDateTime reference, QDateTime defaultValue = QDateTime())''' 2283 def swapDefault(self): 2284 '''void KCoreConfigSkeleton.ItemDateTime.swapDefault()''' 2285 def readDefault(self, config): 2286 '''void KCoreConfigSkeleton.ItemDateTime.readDefault(KConfig config)''' 2287 def writeConfig(self, config): 2288 '''void KCoreConfigSkeleton.ItemDateTime.writeConfig(KConfig config)''' 2289 def setDefault(self): 2290 '''void KCoreConfigSkeleton.ItemDateTime.setDefault()''' 2291 def setDefaultValue(self, v): 2292 '''void KCoreConfigSkeleton.ItemDateTime.setDefaultValue(QDateTime v)''' 2293 def value(self): 2294 '''QDateTime KCoreConfigSkeleton.ItemDateTime.value()''' 2295 return QDateTime() 2296 def setValue(self, v): 2297 '''void KCoreConfigSkeleton.ItemDateTime.setValue(QDateTime v)''' 2298 def property(self): 2299 '''QVariant KCoreConfigSkeleton.ItemDateTime.property()''' 2300 return QVariant() 2301 def isEqual(self, p): 2302 '''bool KCoreConfigSkeleton.ItemDateTime.isEqual(QVariant p)''' 2303 return bool() 2304 def setProperty(self, p): 2305 '''void KCoreConfigSkeleton.ItemDateTime.setProperty(QVariant p)''' 2306 def readConfig(self, config): 2307 '''void KCoreConfigSkeleton.ItemDateTime.readConfig(KConfig config)''' 2308 class ItemLongLong(KConfigSkeletonItem): 2309 """""" 2310 def __init__(self, _group, _key, reference, defaultValue = 0): 2311 '''void KCoreConfigSkeleton.ItemLongLong.__init__(QString _group, QString _key, int reference, int defaultValue = 0)''' 2312 def swapDefault(self): 2313 '''void KCoreConfigSkeleton.ItemLongLong.swapDefault()''' 2314 def readDefault(self, config): 2315 '''void KCoreConfigSkeleton.ItemLongLong.readDefault(KConfig config)''' 2316 def writeConfig(self, config): 2317 '''void KCoreConfigSkeleton.ItemLongLong.writeConfig(KConfig config)''' 2318 def setDefault(self): 2319 '''void KCoreConfigSkeleton.ItemLongLong.setDefault()''' 2320 def setDefaultValue(self, v): 2321 '''void KCoreConfigSkeleton.ItemLongLong.setDefaultValue(int v)''' 2322 def value(self): 2323 '''int KCoreConfigSkeleton.ItemLongLong.value()''' 2324 return int() 2325 def setValue(self, v): 2326 '''void KCoreConfigSkeleton.ItemLongLong.setValue(int v)''' 2327 def setMaxValue(self): 2328 '''int KCoreConfigSkeleton.ItemLongLong.setMaxValue()''' 2329 return int() 2330 def setMinValue(self): 2331 '''int KCoreConfigSkeleton.ItemLongLong.setMinValue()''' 2332 return int() 2333 def maxValue(self): 2334 '''QVariant KCoreConfigSkeleton.ItemLongLong.maxValue()''' 2335 return QVariant() 2336 def minValue(self): 2337 '''QVariant KCoreConfigSkeleton.ItemLongLong.minValue()''' 2338 return QVariant() 2339 def property(self): 2340 '''QVariant KCoreConfigSkeleton.ItemLongLong.property()''' 2341 return QVariant() 2342 def isEqual(self, p): 2343 '''bool KCoreConfigSkeleton.ItemLongLong.isEqual(QVariant p)''' 2344 return bool() 2345 def setProperty(self, p): 2346 '''void KCoreConfigSkeleton.ItemLongLong.setProperty(QVariant p)''' 2347 def readConfig(self, config): 2348 '''void KCoreConfigSkeleton.ItemLongLong.readConfig(KConfig config)''' 2349 class ItemInt(KConfigSkeletonItem): 2350 """""" 2351 def __init__(self, _group, _key, reference, defaultValue = 0): 2352 '''void KCoreConfigSkeleton.ItemInt.__init__(QString _group, QString _key, int reference, int defaultValue = 0)''' 2353 def swapDefault(self): 2354 '''void KCoreConfigSkeleton.ItemInt.swapDefault()''' 2355 def readDefault(self, config): 2356 '''void KCoreConfigSkeleton.ItemInt.readDefault(KConfig config)''' 2357 def writeConfig(self, config): 2358 '''void KCoreConfigSkeleton.ItemInt.writeConfig(KConfig config)''' 2359 def setDefault(self): 2360 '''void KCoreConfigSkeleton.ItemInt.setDefault()''' 2361 def setDefaultValue(self, v): 2362 '''void KCoreConfigSkeleton.ItemInt.setDefaultValue(int v)''' 2363 def value(self): 2364 '''int KCoreConfigSkeleton.ItemInt.value()''' 2365 return int() 2366 def setValue(self, v): 2367 '''void KCoreConfigSkeleton.ItemInt.setValue(int v)''' 2368 def setMaxValue(self): 2369 '''int KCoreConfigSkeleton.ItemInt.setMaxValue()''' 2370 return int() 2371 def setMinValue(self): 2372 '''int KCoreConfigSkeleton.ItemInt.setMinValue()''' 2373 return int() 2374 def maxValue(self): 2375 '''QVariant KCoreConfigSkeleton.ItemInt.maxValue()''' 2376 return QVariant() 2377 def minValue(self): 2378 '''QVariant KCoreConfigSkeleton.ItemInt.minValue()''' 2379 return QVariant() 2380 def property(self): 2381 '''QVariant KCoreConfigSkeleton.ItemInt.property()''' 2382 return QVariant() 2383 def isEqual(self, p): 2384 '''bool KCoreConfigSkeleton.ItemInt.isEqual(QVariant p)''' 2385 return bool() 2386 def setProperty(self, p): 2387 '''void KCoreConfigSkeleton.ItemInt.setProperty(QVariant p)''' 2388 def readConfig(self, config): 2389 '''void KCoreConfigSkeleton.ItemInt.readConfig(KConfig config)''' 2390 class ItemProperty(KConfigSkeletonItem): 2391 """""" 2392 def __init__(self, _group, _key, reference, defaultValue = 0): 2393 '''void KCoreConfigSkeleton.ItemProperty.__init__(QString _group, QString _key, QVariant reference, QVariant defaultValue = 0)''' 2394 def swapDefault(self): 2395 '''void KCoreConfigSkeleton.ItemProperty.swapDefault()''' 2396 def readDefault(self, config): 2397 '''void KCoreConfigSkeleton.ItemProperty.readDefault(KConfig config)''' 2398 def writeConfig(self, config): 2399 '''void KCoreConfigSkeleton.ItemProperty.writeConfig(KConfig config)''' 2400 def setDefault(self): 2401 '''void KCoreConfigSkeleton.ItemProperty.setDefault()''' 2402 def setDefaultValue(self, v): 2403 '''void KCoreConfigSkeleton.ItemProperty.setDefaultValue(QVariant v)''' 2404 def value(self): 2405 '''QVariant KCoreConfigSkeleton.ItemProperty.value()''' 2406 return QVariant() 2407 def setValue(self, v): 2408 '''void KCoreConfigSkeleton.ItemProperty.setValue(QVariant v)''' 2409 def property(self): 2410 '''QVariant KCoreConfigSkeleton.ItemProperty.property()''' 2411 return QVariant() 2412 def isEqual(self, p): 2413 '''bool KCoreConfigSkeleton.ItemProperty.isEqual(QVariant p)''' 2414 return bool() 2415 def setProperty(self, p): 2416 '''void KCoreConfigSkeleton.ItemProperty.setProperty(QVariant p)''' 2417 def readConfig(self, config): 2418 '''void KCoreConfigSkeleton.ItemProperty.readConfig(KConfig config)''' 2419 class ItemPathList(KCoreConfigSkeleton.ItemStringList): 2420 """""" 2421 def __init__(self, _group, _key, reference, defaultValue = QStringList()): 2422 '''void KCoreConfigSkeleton.ItemPathList.__init__(QString _group, QString _key, QStringList reference, QStringList defaultValue = QStringList())''' 2423 def writeConfig(self, config): 2424 '''void KCoreConfigSkeleton.ItemPathList.writeConfig(KConfig config)''' 2425 def readConfig(self, config): 2426 '''void KCoreConfigSkeleton.ItemPathList.readConfig(KConfig config)''' 2427 class ItemPath(KCoreConfigSkeleton.ItemString): 2428 """""" 2429 def __init__(self, _group, _key, reference, defaultValue = QString()): 2430 '''void KCoreConfigSkeleton.ItemPath.__init__(QString _group, QString _key, QString reference, QString defaultValue = QString())''' 2431 def swapDefault(self): 2432 '''void KCoreConfigSkeleton.ItemPath.swapDefault()''' 2433 def readDefault(self, config): 2434 '''void KCoreConfigSkeleton.ItemPath.readDefault(KConfig config)''' 2435 def setDefault(self): 2436 '''void KCoreConfigSkeleton.ItemPath.setDefault()''' 2437 def setDefaultValue(self, v): 2438 '''void KCoreConfigSkeleton.ItemPath.setDefaultValue(QString v)''' 2439 def value(self): 2440 '''QString KCoreConfigSkeleton.ItemPath.value()''' 2441 return QString() 2442 def setValue(self, v): 2443 '''void KCoreConfigSkeleton.ItemPath.setValue(QString v)''' 2444 class ItemPassword(KCoreConfigSkeleton.ItemString): 2445 """""" 2446 def __init__(self, _group, _key, reference, defaultValue = QLatin1String): 2447 '''void KCoreConfigSkeleton.ItemPassword.__init__(QString _group, QString _key, QString reference, QString defaultValue = QLatin1String)''' 2448 def swapDefault(self): 2449 '''void KCoreConfigSkeleton.ItemPassword.swapDefault()''' 2450 def readDefault(self, config): 2451 '''void KCoreConfigSkeleton.ItemPassword.readDefault(KConfig config)''' 2452 def setDefault(self): 2453 '''void KCoreConfigSkeleton.ItemPassword.setDefault()''' 2454 def setDefaultValue(self, v): 2455 '''void KCoreConfigSkeleton.ItemPassword.setDefaultValue(QString v)''' 2456 def value(self): 2457 '''QString KCoreConfigSkeleton.ItemPassword.value()''' 2458 return QString() 2459 def setValue(self, v): 2460 '''void KCoreConfigSkeleton.ItemPassword.setValue(QString v)''' 2461 class ItemString(KConfigSkeletonItem): 2462 """""" 2463 # Enum KCoreConfigSkeleton.ItemString.Type 2464 Normal = 0 2465 Password = 0 2466 Path = 0 2467 2468 def __init__(self, _group, _key, reference, defaultValue = QLatin1String, type = None): 2469 '''void KCoreConfigSkeleton.ItemString.__init__(QString _group, QString _key, QString reference, QString defaultValue = QLatin1String, KCoreConfigSkeleton.ItemString.Type type = KCoreConfigSkeleton.ItemString.Normal)''' 2470 def swapDefault(self): 2471 '''void KCoreConfigSkeleton.ItemString.swapDefault()''' 2472 def readDefault(self, config): 2473 '''void KCoreConfigSkeleton.ItemString.readDefault(KConfig config)''' 2474 def setDefault(self): 2475 '''void KCoreConfigSkeleton.ItemString.setDefault()''' 2476 def setDefaultValue(self, v): 2477 '''void KCoreConfigSkeleton.ItemString.setDefaultValue(QString v)''' 2478 def value(self): 2479 '''QString KCoreConfigSkeleton.ItemString.value()''' 2480 return QString() 2481 def setValue(self, v): 2482 '''void KCoreConfigSkeleton.ItemString.setValue(QString v)''' 2483 def property(self): 2484 '''QVariant KCoreConfigSkeleton.ItemString.property()''' 2485 return QVariant() 2486 def isEqual(self, p): 2487 '''bool KCoreConfigSkeleton.ItemString.isEqual(QVariant p)''' 2488 return bool() 2489 def setProperty(self, p): 2490 '''void KCoreConfigSkeleton.ItemString.setProperty(QVariant p)''' 2491 def readConfig(self, config): 2492 '''void KCoreConfigSkeleton.ItemString.readConfig(KConfig config)''' 2493 def writeConfig(self, config): 2494 '''void KCoreConfigSkeleton.ItemString.writeConfig(KConfig config)''' 2495 class ItemPoint(KConfigSkeletonItem): 2496 """""" 2497 def __init__(self, _group, _key, reference, defaultValue = QPoint()): 2498 '''void KCoreConfigSkeleton.ItemPoint.__init__(QString _group, QString _key, QPoint reference, QPoint defaultValue = QPoint())''' 2499 def swapDefault(self): 2500 '''void KCoreConfigSkeleton.ItemPoint.swapDefault()''' 2501 def readDefault(self, config): 2502 '''void KCoreConfigSkeleton.ItemPoint.readDefault(KConfig config)''' 2503 def writeConfig(self, config): 2504 '''void KCoreConfigSkeleton.ItemPoint.writeConfig(KConfig config)''' 2505 def setDefault(self): 2506 '''void KCoreConfigSkeleton.ItemPoint.setDefault()''' 2507 def setDefaultValue(self, v): 2508 '''void KCoreConfigSkeleton.ItemPoint.setDefaultValue(QPoint v)''' 2509 def value(self): 2510 '''QPoint KCoreConfigSkeleton.ItemPoint.value()''' 2511 return QPoint() 2512 def setValue(self, v): 2513 '''void KCoreConfigSkeleton.ItemPoint.setValue(QPoint v)''' 2514 def property(self): 2515 '''QVariant KCoreConfigSkeleton.ItemPoint.property()''' 2516 return QVariant() 2517 def isEqual(self, p): 2518 '''bool KCoreConfigSkeleton.ItemPoint.isEqual(QVariant p)''' 2519 return bool() 2520 def setProperty(self, p): 2521 '''void KCoreConfigSkeleton.ItemPoint.setProperty(QVariant p)''' 2522 def readConfig(self, config): 2523 '''void KCoreConfigSkeleton.ItemPoint.readConfig(KConfig config)''' 2524 class ItemSize(KConfigSkeletonItem): 2525 """""" 2526 def __init__(self, _group, _key, reference, defaultValue = QSize()): 2527 '''void KCoreConfigSkeleton.ItemSize.__init__(QString _group, QString _key, QSize reference, QSize defaultValue = QSize())''' 2528 def swapDefault(self): 2529 '''void KCoreConfigSkeleton.ItemSize.swapDefault()''' 2530 def readDefault(self, config): 2531 '''void KCoreConfigSkeleton.ItemSize.readDefault(KConfig config)''' 2532 def writeConfig(self, config): 2533 '''void KCoreConfigSkeleton.ItemSize.writeConfig(KConfig config)''' 2534 def setDefault(self): 2535 '''void KCoreConfigSkeleton.ItemSize.setDefault()''' 2536 def setDefaultValue(self, v): 2537 '''void KCoreConfigSkeleton.ItemSize.setDefaultValue(QSize v)''' 2538 def value(self): 2539 '''QSize KCoreConfigSkeleton.ItemSize.value()''' 2540 return QSize() 2541 def setValue(self, v): 2542 '''void KCoreConfigSkeleton.ItemSize.setValue(QSize v)''' 2543 def property(self): 2544 '''QVariant KCoreConfigSkeleton.ItemSize.property()''' 2545 return QVariant() 2546 def isEqual(self, p): 2547 '''bool KCoreConfigSkeleton.ItemSize.isEqual(QVariant p)''' 2548 return bool() 2549 def setProperty(self, p): 2550 '''void KCoreConfigSkeleton.ItemSize.setProperty(QVariant p)''' 2551 def readConfig(self, config): 2552 '''void KCoreConfigSkeleton.ItemSize.readConfig(KConfig config)''' 2553 class ItemULongLong(KConfigSkeletonItem): 2554 """""" 2555 def __init__(self, _group, _key, reference, defaultValue = 0): 2556 '''void KCoreConfigSkeleton.ItemULongLong.__init__(QString _group, QString _key, int reference, int defaultValue = 0)''' 2557 def swapDefault(self): 2558 '''void KCoreConfigSkeleton.ItemULongLong.swapDefault()''' 2559 def readDefault(self, config): 2560 '''void KCoreConfigSkeleton.ItemULongLong.readDefault(KConfig config)''' 2561 def writeConfig(self, config): 2562 '''void KCoreConfigSkeleton.ItemULongLong.writeConfig(KConfig config)''' 2563 def setDefault(self): 2564 '''void KCoreConfigSkeleton.ItemULongLong.setDefault()''' 2565 def setDefaultValue(self, v): 2566 '''void KCoreConfigSkeleton.ItemULongLong.setDefaultValue(int v)''' 2567 def value(self): 2568 '''int KCoreConfigSkeleton.ItemULongLong.value()''' 2569 return int() 2570 def setValue(self, v): 2571 '''void KCoreConfigSkeleton.ItemULongLong.setValue(int v)''' 2572 def setMaxValue(self): 2573 '''int KCoreConfigSkeleton.ItemULongLong.setMaxValue()''' 2574 return int() 2575 def setMinValue(self): 2576 '''int KCoreConfigSkeleton.ItemULongLong.setMinValue()''' 2577 return int() 2578 def maxValue(self): 2579 '''QVariant KCoreConfigSkeleton.ItemULongLong.maxValue()''' 2580 return QVariant() 2581 def minValue(self): 2582 '''QVariant KCoreConfigSkeleton.ItemULongLong.minValue()''' 2583 return QVariant() 2584 def property(self): 2585 '''QVariant KCoreConfigSkeleton.ItemULongLong.property()''' 2586 return QVariant() 2587 def isEqual(self, p): 2588 '''bool KCoreConfigSkeleton.ItemULongLong.isEqual(QVariant p)''' 2589 return bool() 2590 def setProperty(self, p): 2591 '''void KCoreConfigSkeleton.ItemULongLong.setProperty(QVariant p)''' 2592 def readConfig(self, config): 2593 '''void KCoreConfigSkeleton.ItemULongLong.readConfig(KConfig config)''' 2594 class ItemDouble(KConfigSkeletonItem): 2595 """""" 2596 def __init__(self, _group, _key, reference, defaultValue = 0): 2597 '''void KCoreConfigSkeleton.ItemDouble.__init__(QString _group, QString _key, float reference, float defaultValue = 0)''' 2598 def swapDefault(self): 2599 '''void KCoreConfigSkeleton.ItemDouble.swapDefault()''' 2600 def readDefault(self, config): 2601 '''void KCoreConfigSkeleton.ItemDouble.readDefault(KConfig config)''' 2602 def writeConfig(self, config): 2603 '''void KCoreConfigSkeleton.ItemDouble.writeConfig(KConfig config)''' 2604 def setDefault(self): 2605 '''void KCoreConfigSkeleton.ItemDouble.setDefault()''' 2606 def setDefaultValue(self, v): 2607 '''void KCoreConfigSkeleton.ItemDouble.setDefaultValue(float v)''' 2608 def value(self): 2609 '''float KCoreConfigSkeleton.ItemDouble.value()''' 2610 return float() 2611 def setValue(self, v): 2612 '''void KCoreConfigSkeleton.ItemDouble.setValue(float v)''' 2613 def setMaxValue(self): 2614 '''float KCoreConfigSkeleton.ItemDouble.setMaxValue()''' 2615 return float() 2616 def setMinValue(self): 2617 '''float KCoreConfigSkeleton.ItemDouble.setMinValue()''' 2618 return float() 2619 def maxValue(self): 2620 '''QVariant KCoreConfigSkeleton.ItemDouble.maxValue()''' 2621 return QVariant() 2622 def minValue(self): 2623 '''QVariant KCoreConfigSkeleton.ItemDouble.minValue()''' 2624 return QVariant() 2625 def property(self): 2626 '''QVariant KCoreConfigSkeleton.ItemDouble.property()''' 2627 return QVariant() 2628 def isEqual(self, p): 2629 '''bool KCoreConfigSkeleton.ItemDouble.isEqual(QVariant p)''' 2630 return bool() 2631 def setProperty(self, p): 2632 '''void KCoreConfigSkeleton.ItemDouble.setProperty(QVariant p)''' 2633 def readConfig(self, config): 2634 '''void KCoreConfigSkeleton.ItemDouble.readConfig(KConfig config)''' 2635 2636 2637 class KCurrencyCode(): 2638 """""" 2639 # Enum KCurrencyCode.CurrencyStatus 2640 ActiveCurrency = 0 2641 SuspendedCurrency = 0 2642 ObsoleteCurrency = 0 2643 2644 def __init__(self, isoCurrencyCode, language = QString()): 2645 '''void KCurrencyCode.__init__(QString isoCurrencyCode, QString language = QString())''' 2646 def __init__(self, currencyCodeFile, language = QString()): 2647 '''void KCurrencyCode.__init__(QFileInfo currencyCodeFile, QString language = QString())''' 2648 def __init__(self, rhs): 2649 '''void KCurrencyCode.__init__(KCurrencyCode rhs)''' 2650 def currencyCodeToName(self, currencyCode, language = QString()): 2651 '''static QString KCurrencyCode.currencyCodeToName(QString currencyCode, QString language = QString())''' 2652 return QString() 2653 def allCurrencyCodesList(self, currencyStatus): 2654 '''static QStringList KCurrencyCode.allCurrencyCodesList(KCurrencyCode.CurrencyStatusFlags currencyStatus)''' 2655 return QStringList() 2656 def isValid(self): 2657 '''bool KCurrencyCode.isValid()''' 2658 return bool() 2659 def isValid(self, currencyCode, currencyStatus): 2660 '''static bool KCurrencyCode.isValid(QString currencyCode, KCurrencyCode.CurrencyStatusFlags currencyStatus)''' 2661 return bool() 2662 def countriesUsingCurrency(self): 2663 '''QStringList KCurrencyCode.countriesUsingCurrency()''' 2664 return QStringList() 2665 def decimalPlaces(self): 2666 '''int KCurrencyCode.decimalPlaces()''' 2667 return int() 2668 def subunitsPerUnit(self): 2669 '''int KCurrencyCode.subunitsPerUnit()''' 2670 return int() 2671 def subunitSymbol(self): 2672 '''QString KCurrencyCode.subunitSymbol()''' 2673 return QString() 2674 def hasSubunitsInCirculation(self): 2675 '''bool KCurrencyCode.hasSubunitsInCirculation()''' 2676 return bool() 2677 def hasSubunits(self): 2678 '''bool KCurrencyCode.hasSubunits()''' 2679 return bool() 2680 def unambiguousSymbol(self): 2681 '''QString KCurrencyCode.unambiguousSymbol()''' 2682 return QString() 2683 def defaultSymbol(self): 2684 '''QString KCurrencyCode.defaultSymbol()''' 2685 return QString() 2686 def symbolList(self): 2687 '''QStringList KCurrencyCode.symbolList()''' 2688 return QStringList() 2689 def dateWithdrawn(self): 2690 '''QDate KCurrencyCode.dateWithdrawn()''' 2691 return QDate() 2692 def dateSuspended(self): 2693 '''QDate KCurrencyCode.dateSuspended()''' 2694 return QDate() 2695 def dateIntroduced(self): 2696 '''QDate KCurrencyCode.dateIntroduced()''' 2697 return QDate() 2698 def status(self): 2699 '''KCurrencyCode.CurrencyStatus KCurrencyCode.status()''' 2700 return KCurrencyCode.CurrencyStatus() 2701 def isoName(self): 2702 '''QString KCurrencyCode.isoName()''' 2703 return QString() 2704 def name(self): 2705 '''QString KCurrencyCode.name()''' 2706 return QString() 2707 def isoCurrencyCodeNumeric(self): 2708 '''QString KCurrencyCode.isoCurrencyCodeNumeric()''' 2709 return QString() 2710 def isoCurrencyCode(self): 2711 '''QString KCurrencyCode.isoCurrencyCode()''' 2712 return QString() 2713 class CurrencyStatusFlags(): 2714 """""" 2715 def __init__(self): 2716 '''KCurrencyCode.CurrencyStatusFlags KCurrencyCode.CurrencyStatusFlags.__init__()''' 2717 return KCurrencyCode.CurrencyStatusFlags() 2718 def __init__(self): 2719 '''int KCurrencyCode.CurrencyStatusFlags.__init__()''' 2720 return int() 2721 def __init__(self): 2722 '''void KCurrencyCode.CurrencyStatusFlags.__init__()''' 2723 def __bool__(self): 2724 '''int KCurrencyCode.CurrencyStatusFlags.__bool__()''' 2725 return int() 2726 def __ne__(self, f): 2727 '''bool KCurrencyCode.CurrencyStatusFlags.__ne__(KCurrencyCode.CurrencyStatusFlags f)''' 2728 return bool() 2729 def __eq__(self, f): 2730 '''bool KCurrencyCode.CurrencyStatusFlags.__eq__(KCurrencyCode.CurrencyStatusFlags f)''' 2731 return bool() 2732 def __invert__(self): 2733 '''KCurrencyCode.CurrencyStatusFlags KCurrencyCode.CurrencyStatusFlags.__invert__()''' 2734 return KCurrencyCode.CurrencyStatusFlags() 2735 def __and__(self, mask): 2736 '''KCurrencyCode.CurrencyStatusFlags KCurrencyCode.CurrencyStatusFlags.__and__(int mask)''' 2737 return KCurrencyCode.CurrencyStatusFlags() 2738 def __xor__(self, f): 2739 '''KCurrencyCode.CurrencyStatusFlags KCurrencyCode.CurrencyStatusFlags.__xor__(KCurrencyCode.CurrencyStatusFlags f)''' 2740 return KCurrencyCode.CurrencyStatusFlags() 2741 def __xor__(self, f): 2742 '''KCurrencyCode.CurrencyStatusFlags KCurrencyCode.CurrencyStatusFlags.__xor__(int f)''' 2743 return KCurrencyCode.CurrencyStatusFlags() 2744 def __or__(self, f): 2745 '''KCurrencyCode.CurrencyStatusFlags KCurrencyCode.CurrencyStatusFlags.__or__(KCurrencyCode.CurrencyStatusFlags f)''' 2746 return KCurrencyCode.CurrencyStatusFlags() 2747 def __or__(self, f): 2748 '''KCurrencyCode.CurrencyStatusFlags KCurrencyCode.CurrencyStatusFlags.__or__(int f)''' 2749 return KCurrencyCode.CurrencyStatusFlags() 2750 def __int__(self): 2751 '''int KCurrencyCode.CurrencyStatusFlags.__int__()''' 2752 return int() 2753 def __ixor__(self, f): 2754 '''KCurrencyCode.CurrencyStatusFlags KCurrencyCode.CurrencyStatusFlags.__ixor__(KCurrencyCode.CurrencyStatusFlags f)''' 2755 return KCurrencyCode.CurrencyStatusFlags() 2756 def __ior__(self, f): 2757 '''KCurrencyCode.CurrencyStatusFlags KCurrencyCode.CurrencyStatusFlags.__ior__(KCurrencyCode.CurrencyStatusFlags f)''' 2758 return KCurrencyCode.CurrencyStatusFlags() 2759 def __iand__(self, mask): 2760 '''KCurrencyCode.CurrencyStatusFlags KCurrencyCode.CurrencyStatusFlags.__iand__(int mask)''' 2761 return KCurrencyCode.CurrencyStatusFlags() 2762 2763 2764 class KDateTime(): 2765 """""" 2766 # Enum KDateTime.Comparison 2767 Before = 0 2768 AtStart = 0 2769 Inside = 0 2770 AtEnd = 0 2771 After = 0 2772 Equal = 0 2773 Outside = 0 2774 StartsAt = 0 2775 EndsAt = 0 2776 2777 # Enum KDateTime.TimeFormat 2778 ISODate = 0 2779 RFCDate = 0 2780 RFCDateDay = 0 2781 QtTextDate = 0 2782 LocalDate = 0 2783 RFC3339Date = 0 2784 2785 # Enum KDateTime.SpecType 2786 Invalid = 0 2787 UTC = 0 2788 OffsetFromUTC = 0 2789 TimeZone = 0 2790 LocalZone = 0 2791 ClockTime = 0 2792 2793 def __init__(self): 2794 '''void KDateTime.__init__()''' 2795 def __init__(self, date, spec = None): 2796 '''void KDateTime.__init__(QDate date, KDateTime.Spec spec = KDateTime.Spec(KDateTime.LocalZone))''' 2797 def __init__(self, date, time, spec = None): 2798 '''void KDateTime.__init__(QDate date, QTime time, KDateTime.Spec spec = KDateTime.Spec(KDateTime.LocalZone))''' 2799 def __init__(self, dt, spec): 2800 '''void KDateTime.__init__(QDateTime dt, KDateTime.Spec spec)''' 2801 def __init__(self, dt): 2802 '''void KDateTime.__init__(QDateTime dt)''' 2803 def __init__(self, other): 2804 '''void KDateTime.__init__(KDateTime other)''' 2805 def realCurrentLocalDateTime(self): 2806 '''static KDateTime KDateTime.realCurrentLocalDateTime()''' 2807 return KDateTime() 2808 def setSimulatedSystemTime(self, newTime): 2809 '''static void KDateTime.setSimulatedSystemTime(KDateTime newTime)''' 2810 def detach(self): 2811 '''void KDateTime.detach()''' 2812 def __ge__(self, other): 2813 '''bool KDateTime.__ge__(KDateTime other)''' 2814 return bool() 2815 def __gt__(self, other): 2816 '''bool KDateTime.__gt__(KDateTime other)''' 2817 return bool() 2818 def __le__(self, other): 2819 '''bool KDateTime.__le__(KDateTime other)''' 2820 return bool() 2821 def __lt__(self, other): 2822 '''bool KDateTime.__lt__(KDateTime other)''' 2823 return bool() 2824 def __ne__(self, other): 2825 '''bool KDateTime.__ne__(KDateTime other)''' 2826 return bool() 2827 def __eq__(self, other): 2828 '''bool KDateTime.__eq__(KDateTime other)''' 2829 return bool() 2830 def compare(self, other): 2831 '''KDateTime.Comparison KDateTime.compare(KDateTime other)''' 2832 return KDateTime.Comparison() 2833 def outOfRange(self): 2834 '''bool KDateTime.outOfRange()''' 2835 return bool() 2836 def setFromStringDefault(self, spec): 2837 '''static void KDateTime.setFromStringDefault(KDateTime.Spec spec)''' 2838 def fromString(self, string, format = None, negZero = None): 2839 '''static KDateTime KDateTime.fromString(QString string, KDateTime.TimeFormat format = KDateTime.ISODate, bool negZero)''' 2840 return KDateTime() 2841 def fromString(self, string, format, zones = None, offsetIfAmbiguous = True): 2842 '''static KDateTime KDateTime.fromString(QString string, QString format, KTimeZones zones = None, bool offsetIfAmbiguous = True)''' 2843 return KDateTime() 2844 def toString(self, format): 2845 '''QString KDateTime.toString(QString format)''' 2846 return QString() 2847 def toString(self, format = None): 2848 '''QString KDateTime.toString(KDateTime.TimeFormat format = KDateTime.ISODate)''' 2849 return QString() 2850 def currentLocalTime(self): 2851 '''static QTime KDateTime.currentLocalTime()''' 2852 return QTime() 2853 def currentLocalDate(self): 2854 '''static QDate KDateTime.currentLocalDate()''' 2855 return QDate() 2856 def currentDateTime(self, spec): 2857 '''static KDateTime KDateTime.currentDateTime(KDateTime.Spec spec)''' 2858 return KDateTime() 2859 def currentUtcDateTime(self): 2860 '''static KDateTime KDateTime.currentUtcDateTime()''' 2861 return KDateTime() 2862 def currentLocalDateTime(self): 2863 '''static KDateTime KDateTime.currentLocalDateTime()''' 2864 return KDateTime() 2865 def daysTo(self, other): 2866 '''int KDateTime.daysTo(KDateTime other)''' 2867 return int() 2868 def secsTo_long(self, other): 2869 '''int KDateTime.secsTo_long(KDateTime other)''' 2870 return int() 2871 def secsTo(self, other): 2872 '''int KDateTime.secsTo(KDateTime other)''' 2873 return int() 2874 def addYears(self, years): 2875 '''KDateTime KDateTime.addYears(int years)''' 2876 return KDateTime() 2877 def addMonths(self, months): 2878 '''KDateTime KDateTime.addMonths(int months)''' 2879 return KDateTime() 2880 def addDays(self, days): 2881 '''KDateTime KDateTime.addDays(int days)''' 2882 return KDateTime() 2883 def addSecs(self, secs): 2884 '''KDateTime KDateTime.addSecs(int secs)''' 2885 return KDateTime() 2886 def addMSecs(self, msecs): 2887 '''KDateTime KDateTime.addMSecs(int msecs)''' 2888 return KDateTime() 2889 def setSecondOccurrence(self, second): 2890 '''void KDateTime.setSecondOccurrence(bool second)''' 2891 def setTimeSpec(self, spec): 2892 '''void KDateTime.setTimeSpec(KDateTime.Spec spec)''' 2893 def setDateTime(self, dt): 2894 '''void KDateTime.setDateTime(QDateTime dt)''' 2895 def setTime(self, time): 2896 '''void KDateTime.setTime(QTime time)''' 2897 def setDate(self, date): 2898 '''void KDateTime.setDate(QDate date)''' 2899 def setDateOnly(self, dateOnly): 2900 '''void KDateTime.setDateOnly(bool dateOnly)''' 2901 def setTime_t(self, seconds): 2902 '''void KDateTime.setTime_t(int seconds)''' 2903 def toTime_t(self): 2904 '''int KDateTime.toTime_t()''' 2905 return int() 2906 def toTimeSpec(self, spec): 2907 '''KDateTime KDateTime.toTimeSpec(KDateTime.Spec spec)''' 2908 return KDateTime() 2909 def toTimeSpec(self, dt): 2910 '''KDateTime KDateTime.toTimeSpec(KDateTime dt)''' 2911 return KDateTime() 2912 def toZone(self, zone): 2913 '''KDateTime KDateTime.toZone(KTimeZone zone)''' 2914 return KDateTime() 2915 def toClockTime(self): 2916 '''KDateTime KDateTime.toClockTime()''' 2917 return KDateTime() 2918 def toLocalZone(self): 2919 '''KDateTime KDateTime.toLocalZone()''' 2920 return KDateTime() 2921 def toOffsetFromUtc(self): 2922 '''KDateTime KDateTime.toOffsetFromUtc()''' 2923 return KDateTime() 2924 def toOffsetFromUtc(self, utcOffset): 2925 '''KDateTime KDateTime.toOffsetFromUtc(int utcOffset)''' 2926 return KDateTime() 2927 def toUtc(self): 2928 '''KDateTime KDateTime.toUtc()''' 2929 return KDateTime() 2930 def isSecondOccurrence(self): 2931 '''bool KDateTime.isSecondOccurrence()''' 2932 return bool() 2933 def utcOffset(self): 2934 '''int KDateTime.utcOffset()''' 2935 return int() 2936 def isOffsetFromUtc(self): 2937 '''bool KDateTime.isOffsetFromUtc()''' 2938 return bool() 2939 def isUtc(self): 2940 '''bool KDateTime.isUtc()''' 2941 return bool() 2942 def isClockTime(self): 2943 '''bool KDateTime.isClockTime()''' 2944 return bool() 2945 def isLocalZone(self): 2946 '''bool KDateTime.isLocalZone()''' 2947 return bool() 2948 def timeType(self): 2949 '''KDateTime.SpecType KDateTime.timeType()''' 2950 return KDateTime.SpecType() 2951 def timeSpec(self): 2952 '''KDateTime.Spec KDateTime.timeSpec()''' 2953 return KDateTime.Spec() 2954 def timeZone(self): 2955 '''KTimeZone KDateTime.timeZone()''' 2956 return KTimeZone() 2957 def dateTime(self): 2958 '''QDateTime KDateTime.dateTime()''' 2959 return QDateTime() 2960 def time(self): 2961 '''QTime KDateTime.time()''' 2962 return QTime() 2963 def date(self): 2964 '''QDate KDateTime.date()''' 2965 return QDate() 2966 def isDateOnly(self): 2967 '''bool KDateTime.isDateOnly()''' 2968 return bool() 2969 def isValid(self): 2970 '''bool KDateTime.isValid()''' 2971 return bool() 2972 def isNull(self): 2973 '''bool KDateTime.isNull()''' 2974 return bool() 2975 class Spec(): 2976 """""" 2977 def __init__(self): 2978 '''void KDateTime.Spec.__init__()''' 2979 def __init__(self, tz): 2980 '''void KDateTime.Spec.__init__(KTimeZone tz)''' 2981 def __init__(self, type, utcOffset = 0): 2982 '''void KDateTime.Spec.__init__(KDateTime.SpecType type, int utcOffset = 0)''' 2983 def __init__(self, spec): 2984 '''void KDateTime.Spec.__init__(KDateTime.Spec spec)''' 2985 def LocalZone(self): 2986 '''static KDateTime.Spec KDateTime.Spec.LocalZone()''' 2987 return KDateTime.Spec() 2988 def OffsetFromUTC(self, utcOffset): 2989 '''static KDateTime.Spec KDateTime.Spec.OffsetFromUTC(int utcOffset)''' 2990 return KDateTime.Spec() 2991 def ClockTime(self): 2992 '''static KDateTime.Spec KDateTime.Spec.ClockTime()''' 2993 return KDateTime.Spec() 2994 def UTC(self): 2995 '''static KDateTime.Spec KDateTime.Spec.UTC()''' 2996 return KDateTime.Spec() 2997 def equivalentTo(self, other): 2998 '''bool KDateTime.Spec.equivalentTo(KDateTime.Spec other)''' 2999 return bool() 3000 def __ne__(self, other): 3001 '''bool KDateTime.Spec.__ne__(KDateTime.Spec other)''' 3002 return bool() 3003 def __eq__(self, other): 3004 '''bool KDateTime.Spec.__eq__(KDateTime.Spec other)''' 3005 return bool() 3006 def setType(self, type, utcOffset = 0): 3007 '''void KDateTime.Spec.setType(KDateTime.SpecType type, int utcOffset = 0)''' 3008 def setType(self, tz): 3009 '''void KDateTime.Spec.setType(KTimeZone tz)''' 3010 def utcOffset(self): 3011 '''int KDateTime.Spec.utcOffset()''' 3012 return int() 3013 def isOffsetFromUtc(self): 3014 '''bool KDateTime.Spec.isOffsetFromUtc()''' 3015 return bool() 3016 def isUtc(self): 3017 '''bool KDateTime.Spec.isUtc()''' 3018 return bool() 3019 def isClockTime(self): 3020 '''bool KDateTime.Spec.isClockTime()''' 3021 return bool() 3022 def isLocalZone(self): 3023 '''bool KDateTime.Spec.isLocalZone()''' 3024 return bool() 3025 def type(self): 3026 '''KDateTime.SpecType KDateTime.Spec.type()''' 3027 return KDateTime.SpecType() 3028 def timeZone(self): 3029 '''KTimeZone KDateTime.Spec.timeZone()''' 3030 return KTimeZone() 3031 def isValid(self): 3032 '''bool KDateTime.Spec.isValid()''' 3033 return bool() 3034 3035 3036 class KDEDModule(QObject): 3037 """""" 3038 def __init__(self, parent = None): 3039 '''void KDEDModule.__init__(QObject parent = None)''' 3040 windowUnregistered = pyqtSignal() # void windowUnregistered(qlonglong) - signal 3041 windowRegistered = pyqtSignal() # void windowRegistered(qlonglong) - signal 3042 moduleDeleted = pyqtSignal() # void moduleDeleted(KDEDModule *) - signal 3043 def moduleName(self): 3044 '''QString KDEDModule.moduleName()''' 3045 return QString() 3046 def setModuleName(self, name): 3047 '''void KDEDModule.setModuleName(QString name)''' 3048 3049 3050 class KDesktopFile(KConfig): 3051 """""" 3052 def __init__(self, resourceType, fileName): 3053 '''void KDesktopFile.__init__(str resourceType, QString fileName)''' 3054 def __init__(self, fileName): 3055 '''void KDesktopFile.__init__(QString fileName)''' 3056 def resource(self): 3057 '''str KDesktopFile.resource()''' 3058 return str() 3059 def fileName(self): 3060 '''QString KDesktopFile.fileName()''' 3061 return QString() 3062 def copyTo(self, file): 3063 '''KDesktopFile KDesktopFile.copyTo(QString file)''' 3064 return KDesktopFile() 3065 def noDisplay(self): 3066 '''bool KDesktopFile.noDisplay()''' 3067 return bool() 3068 def sortOrder(self): 3069 '''QStringList KDesktopFile.sortOrder()''' 3070 return QStringList() 3071 def readDocPath(self): 3072 '''QString KDesktopFile.readDocPath()''' 3073 return QString() 3074 def tryExec(self): 3075 '''bool KDesktopFile.tryExec()''' 3076 return bool() 3077 def hasDeviceType(self): 3078 '''bool KDesktopFile.hasDeviceType()''' 3079 return bool() 3080 def hasMimeTypeType(self): 3081 '''bool KDesktopFile.hasMimeTypeType()''' 3082 return bool() 3083 def hasApplicationType(self): 3084 '''bool KDesktopFile.hasApplicationType()''' 3085 return bool() 3086 def hasLinkType(self): 3087 '''bool KDesktopFile.hasLinkType()''' 3088 return bool() 3089 def hasActionGroup(self, group): 3090 '''bool KDesktopFile.hasActionGroup(QString group)''' 3091 return bool() 3092 def actionGroup(self, group): 3093 '''KConfigGroup KDesktopFile.actionGroup(QString group)''' 3094 return KConfigGroup() 3095 def readActions(self): 3096 '''QStringList KDesktopFile.readActions()''' 3097 return QStringList() 3098 def readUrl(self): 3099 '''QString KDesktopFile.readUrl()''' 3100 return QString() 3101 def readDevice(self): 3102 '''QString KDesktopFile.readDevice()''' 3103 return QString() 3104 def readPath(self): 3105 '''QString KDesktopFile.readPath()''' 3106 return QString() 3107 def readGenericName(self): 3108 '''QString KDesktopFile.readGenericName()''' 3109 return QString() 3110 def readComment(self): 3111 '''QString KDesktopFile.readComment()''' 3112 return QString() 3113 def readName(self): 3114 '''QString KDesktopFile.readName()''' 3115 return QString() 3116 def readIcon(self): 3117 '''QString KDesktopFile.readIcon()''' 3118 return QString() 3119 def readType(self): 3120 '''QString KDesktopFile.readType()''' 3121 return QString() 3122 def desktopGroup(self): 3123 '''KConfigGroup KDesktopFile.desktopGroup()''' 3124 return KConfigGroup() 3125 def locateLocal(self, path): 3126 '''static QString KDesktopFile.locateLocal(QString path)''' 3127 return QString() 3128 def isAuthorizedDesktopFile(self, path): 3129 '''static bool KDesktopFile.isAuthorizedDesktopFile(QString path)''' 3130 return bool() 3131 def isDesktopFile(self, path): 3132 '''static bool KDesktopFile.isDesktopFile(QString path)''' 3133 return bool() 3134 3135 3136 class KEncodingDetector(): 3137 """""" 3138 # Enum KEncodingDetector.AutoDetectScript 3139 __kdevpythondocumentation_builtin_None = 0 3140 SemiautomaticDetection = 0 3141 Arabic = 0 3142 Baltic = 0 3143 CentralEuropean = 0 3144 ChineseSimplified = 0 3145 ChineseTraditional = 0 3146 Cyrillic = 0 3147 Greek = 0 3148 Hebrew = 0 3149 Japanese = 0 3150 Korean = 0 3151 NorthernSaami = 0 3152 SouthEasternEurope = 0 3153 Thai = 0 3154 Turkish = 0 3155 Unicode = 0 3156 WesternEuropean = 0 3157 3158 # Enum KEncodingDetector.EncodingChoiceSource 3159 DefaultEncoding = 0 3160 AutoDetectedEncoding = 0 3161 BOM = 0 3162 EncodingFromXMLHeader = 0 3163 EncodingFromMetaTag = 0 3164 EncodingFromHTTPHeader = 0 3165 UserChosenEncoding = 0 3166 3167 def __init__(self): 3168 '''void KEncodingDetector.__init__()''' 3169 def __init__(self, codec, source, script = None): 3170 '''void KEncodingDetector.__init__(QTextCodec codec, KEncodingDetector.EncodingChoiceSource source, KEncodingDetector.AutoDetectScript script = KEncodingDetector.None)''' 3171 def decoder(self): 3172 '''QTextDecoder KEncodingDetector.decoder()''' 3173 return QTextDecoder() 3174 def analyze(self, data, len): 3175 '''bool KEncodingDetector.analyze(str data, int len)''' 3176 return bool() 3177 def errorsIfUtf8(self, data, length): 3178 '''bool KEncodingDetector.errorsIfUtf8(str data, int length)''' 3179 return bool() 3180 def processNull(self, data, length): 3181 '''bool KEncodingDetector.processNull(str data, int length)''' 3182 return bool() 3183 def hasAutoDetectionForScript(self): 3184 '''static KEncodingDetector.AutoDetectScript KEncodingDetector.hasAutoDetectionForScript()''' 3185 return KEncodingDetector.AutoDetectScript() 3186 def nameForScript(self): 3187 '''static KEncodingDetector.AutoDetectScript KEncodingDetector.nameForScript()''' 3188 return KEncodingDetector.AutoDetectScript() 3189 def scriptForName(self, lang): 3190 '''static KEncodingDetector.AutoDetectScript KEncodingDetector.scriptForName(QString lang)''' 3191 return KEncodingDetector.AutoDetectScript() 3192 def flush(self): 3193 '''QString KEncodingDetector.flush()''' 3194 return QString() 3195 def resetDecoder(self): 3196 '''void KEncodingDetector.resetDecoder()''' 3197 def decodedInvalidCharacters(self): 3198 '''bool KEncodingDetector.decodedInvalidCharacters()''' 3199 return bool() 3200 def decodeWithBuffering(self, data, len): 3201 '''QString KEncodingDetector.decodeWithBuffering(str data, int len)''' 3202 return QString() 3203 def decode(self, data, len): 3204 '''QString KEncodingDetector.decode(str data, int len)''' 3205 return QString() 3206 def decode(self, data): 3207 '''QString KEncodingDetector.decode(QByteArray data)''' 3208 return QString() 3209 def encodingChoiceSource(self): 3210 '''KEncodingDetector.EncodingChoiceSource KEncodingDetector.encodingChoiceSource()''' 3211 return KEncodingDetector.EncodingChoiceSource() 3212 def autoDetectLanguage(self): 3213 '''KEncodingDetector.AutoDetectScript KEncodingDetector.autoDetectLanguage()''' 3214 return KEncodingDetector.AutoDetectScript() 3215 def setAutoDetectLanguage(self): 3216 '''KEncodingDetector.AutoDetectScript KEncodingDetector.setAutoDetectLanguage()''' 3217 return KEncodingDetector.AutoDetectScript() 3218 def visuallyOrdered(self): 3219 '''bool KEncodingDetector.visuallyOrdered()''' 3220 return bool() 3221 def encoding(self): 3222 '''str KEncodingDetector.encoding()''' 3223 return str() 3224 def setEncoding(self, encoding, type): 3225 '''bool KEncodingDetector.setEncoding(str encoding, KEncodingDetector.EncodingChoiceSource type)''' 3226 return bool() 3227 3228 3229 class KEncodingProber(): 3230 """""" 3231 # Enum KEncodingProber.ProberType 3232 __kdevpythondocumentation_builtin_None = 0 3233 Universal = 0 3234 Arabic = 0 3235 Baltic = 0 3236 CentralEuropean = 0 3237 ChineseSimplified = 0 3238 ChineseTraditional = 0 3239 Cyrillic = 0 3240 Greek = 0 3241 Hebrew = 0 3242 Japanese = 0 3243 Korean = 0 3244 NorthernSaami = 0 3245 Other = 0 3246 SouthEasternEurope = 0 3247 Thai = 0 3248 Turkish = 0 3249 Unicode = 0 3250 WesternEuropean = 0 3251 3252 # Enum KEncodingProber.ProberState 3253 FoundIt = 0 3254 NotMe = 0 3255 Probing = 0 3256 3257 def __init__(self, proberType = None): 3258 '''void KEncodingProber.__init__(KEncodingProber.ProberType proberType = KEncodingProber.Universal)''' 3259 def nameForProberType(self, proberType): 3260 '''static QString KEncodingProber.nameForProberType(KEncodingProber.ProberType proberType)''' 3261 return QString() 3262 def proberTypeForName(self, lang): 3263 '''static KEncodingProber.ProberType KEncodingProber.proberTypeForName(QString lang)''' 3264 return KEncodingProber.ProberType() 3265 def setProberType(self, proberType): 3266 '''void KEncodingProber.setProberType(KEncodingProber.ProberType proberType)''' 3267 def proberType(self): 3268 '''KEncodingProber.ProberType KEncodingProber.proberType()''' 3269 return KEncodingProber.ProberType() 3270 def confidence(self): 3271 '''float KEncodingProber.confidence()''' 3272 return float() 3273 def encoding(self): 3274 '''QByteArray KEncodingProber.encoding()''' 3275 return QByteArray() 3276 def encodingName(self): 3277 '''str KEncodingProber.encodingName()''' 3278 return str() 3279 def state(self): 3280 '''KEncodingProber.ProberState KEncodingProber.state()''' 3281 return KEncodingProber.ProberState() 3282 def feed(self, data): 3283 '''KEncodingProber.ProberState KEncodingProber.feed(QByteArray data)''' 3284 return KEncodingProber.ProberState() 3285 def feed(self, data, len): 3286 '''KEncodingProber.ProberState KEncodingProber.feed(str data, int len)''' 3287 return KEncodingProber.ProberState() 3288 def reset(self): 3289 '''void KEncodingProber.reset()''' 3290 3291 3292 class KDEPluginVerificationData(): 3293 """""" 3294 PluginVerificationDataVersion = None # int - member 3295 KDEVersion = None # int - member 3296 KDEVersionString = None # str - member 3297 dataVersion = None # str - member 3298 def __init__(self): 3299 '''void KDEPluginVerificationData.__init__()''' 3300 def __init__(self): 3301 '''KDEPluginVerificationData KDEPluginVerificationData.__init__()''' 3302 return KDEPluginVerificationData() 3303 3304 3305 class KFilterBase(): 3306 """""" 3307 # Enum KFilterBase.FilterFlags 3308 NoHeaders = 0 3309 WithHeaders = 0 3310 3311 # Enum KFilterBase.Result 3312 Ok = 0 3313 End = 0 3314 Error = 0 3315 3316 def __init__(self): 3317 '''void KFilterBase.__init__()''' 3318 def findFilterByMimeType(self, mimeType): 3319 '''static KFilterBase KFilterBase.findFilterByMimeType(QString mimeType)''' 3320 return KFilterBase() 3321 def findFilterByFileName(self, fileName): 3322 '''static KFilterBase KFilterBase.findFilterByFileName(QString fileName)''' 3323 return KFilterBase() 3324 def filterFlags(self): 3325 '''KFilterBase.FilterFlags KFilterBase.filterFlags()''' 3326 return KFilterBase.FilterFlags() 3327 def setFilterFlags(self, flags): 3328 '''void KFilterBase.setFilterFlags(KFilterBase.FilterFlags flags)''' 3329 def compress(self, finish): 3330 '''abstract KFilterBase.Result KFilterBase.compress(bool finish)''' 3331 return KFilterBase.Result() 3332 def uncompress(self): 3333 '''abstract KFilterBase.Result KFilterBase.uncompress()''' 3334 return KFilterBase.Result() 3335 def outBufferAvailable(self): 3336 '''abstract int KFilterBase.outBufferAvailable()''' 3337 return int() 3338 def outBufferFull(self): 3339 '''bool KFilterBase.outBufferFull()''' 3340 return bool() 3341 def inBufferAvailable(self): 3342 '''abstract int KFilterBase.inBufferAvailable()''' 3343 return int() 3344 def inBufferEmpty(self): 3345 '''bool KFilterBase.inBufferEmpty()''' 3346 return bool() 3347 def setInBuffer(self, data, size): 3348 '''abstract void KFilterBase.setInBuffer(str data, int size)''' 3349 def setOutBuffer(self, data, maxlen): 3350 '''abstract void KFilterBase.setOutBuffer(str data, int maxlen)''' 3351 def writeHeader(self, filename): 3352 '''abstract bool KFilterBase.writeHeader(QByteArray filename)''' 3353 return bool() 3354 def readHeader(self): 3355 '''abstract bool KFilterBase.readHeader()''' 3356 return bool() 3357 def reset(self): 3358 '''void KFilterBase.reset()''' 3359 def terminate(self): 3360 '''void KFilterBase.terminate()''' 3361 def mode(self): 3362 '''abstract int KFilterBase.mode()''' 3363 return int() 3364 def init(self, mode): 3365 '''abstract void KFilterBase.init(int mode)''' 3366 def device(self): 3367 '''QIODevice KFilterBase.device()''' 3368 return QIODevice() 3369 def setDevice(self, dev, autodelete = False): 3370 '''void KFilterBase.setDevice(QIODevice dev, bool autodelete = False)''' 3371 3372 3373 class KFilterDev(QIODevice): 3374 """""" 3375 def writeData(self, data, len): 3376 '''int KFilterDev.writeData(str data, int len)''' 3377 return int() 3378 def readData(self, data, maxlen): 3379 '''int KFilterDev.readData(str data, int maxlen)''' 3380 return int() 3381 def device(self, inDevice, mimetype, autoDeleteInDevice = True): 3382 '''static QIODevice KFilterDev.device(QIODevice inDevice, QString mimetype, bool autoDeleteInDevice = True)''' 3383 return QIODevice() 3384 def deviceForFile(self, fileName, mimetype = QString(), forceFilter = False): 3385 '''static QIODevice KFilterDev.deviceForFile(QString fileName, QString mimetype = QString(), bool forceFilter = False)''' 3386 return QIODevice() 3387 def atEnd(self): 3388 '''bool KFilterDev.atEnd()''' 3389 return bool() 3390 def seek(self): 3391 '''int KFilterDev.seek()''' 3392 return int() 3393 def setSkipHeaders(self): 3394 '''void KFilterDev.setSkipHeaders()''' 3395 def setOrigFileName(self, fileName): 3396 '''void KFilterDev.setOrigFileName(QByteArray fileName)''' 3397 def close(self): 3398 '''void KFilterDev.close()''' 3399 def open(self, mode): 3400 '''bool KFilterDev.open(QIODevice.OpenMode mode)''' 3401 return bool() 3402 3403 3404 class KCatalogLoader(): 3405 """""" 3406 def __init__(self, catalogName): 3407 '''void KCatalogLoader.__init__(QString catalogName)''' 3408 def __init__(self): 3409 '''KCatalogLoader KCatalogLoader.__init__()''' 3410 return KCatalogLoader() 3411 3412 3413 class KJobTrackerInterface(QObject): 3414 """""" 3415 def __init__(self, parent = None): 3416 '''void KJobTrackerInterface.__init__(QObject parent = None)''' 3417 def speed(self, job, value): 3418 '''void KJobTrackerInterface.speed(KJob job, int value)''' 3419 def percent(self, job, percent): 3420 '''void KJobTrackerInterface.percent(KJob job, int percent)''' 3421 def processedAmount(self, job, unit, amount): 3422 '''void KJobTrackerInterface.processedAmount(KJob job, KJob.Unit unit, int amount)''' 3423 def totalAmount(self, job, unit, amount): 3424 '''void KJobTrackerInterface.totalAmount(KJob job, KJob.Unit unit, int amount)''' 3425 def warning(self, job, plain, rich): 3426 '''void KJobTrackerInterface.warning(KJob job, QString plain, QString rich)''' 3427 def infoMessage(self, job, plain, rich): 3428 '''void KJobTrackerInterface.infoMessage(KJob job, QString plain, QString rich)''' 3429 def description(self, job, title, field1, field2): 3430 '''void KJobTrackerInterface.description(KJob job, QString title, unknown-type field1, unknown-type field2)''' 3431 def resumed(self, job): 3432 '''void KJobTrackerInterface.resumed(KJob job)''' 3433 def suspended(self, job): 3434 '''void KJobTrackerInterface.suspended(KJob job)''' 3435 def finished(self, job): 3436 '''void KJobTrackerInterface.finished(KJob job)''' 3437 def unregisterJob(self, job): 3438 '''void KJobTrackerInterface.unregisterJob(KJob job)''' 3439 def registerJob(self, job): 3440 '''void KJobTrackerInterface.registerJob(KJob job)''' 3441 3442 3443 class KJobUiDelegate(QObject): 3444 """""" 3445 def __init__(self): 3446 '''void KJobUiDelegate.__init__()''' 3447 def slotWarning(self, job, plain, rich): 3448 '''void KJobUiDelegate.slotWarning(KJob job, QString plain, QString rich)''' 3449 def isAutoWarningHandlingEnabled(self): 3450 '''bool KJobUiDelegate.isAutoWarningHandlingEnabled()''' 3451 return bool() 3452 def setAutoWarningHandlingEnabled(self, enable): 3453 '''void KJobUiDelegate.setAutoWarningHandlingEnabled(bool enable)''' 3454 def isAutoErrorHandlingEnabled(self): 3455 '''bool KJobUiDelegate.isAutoErrorHandlingEnabled()''' 3456 return bool() 3457 def setAutoErrorHandlingEnabled(self, enable): 3458 '''void KJobUiDelegate.setAutoErrorHandlingEnabled(bool enable)''' 3459 def showErrorMessage(self): 3460 '''void KJobUiDelegate.showErrorMessage()''' 3461 def job(self): 3462 '''KJob KJobUiDelegate.job()''' 3463 return KJob() 3464 3465 3466 class KLibLoader(QObject): 3467 """""" 3468 # Enum KLibLoader.ComponentLoadingError 3469 ErrNoLibrary = 0 3470 ErrNoFactory = 0 3471 ErrNoComponent = 0 3472 ErrServiceProvidesNoLibrary = 0 3473 ErrNoServiceFound = 0 3474 3475 def errorString(self, componentLoadingError): 3476 '''static QString KLibLoader.errorString(int componentLoadingError)''' 3477 return QString() 3478 def findLibrary(self, libname, cData = None): 3479 '''static QString KLibLoader.findLibrary(QString libname, KComponentData cData = KGlobal.mainComponent())''' 3480 return QString() 3481 def self(self): 3482 '''static KLibLoader KLibLoader.self()''' 3483 return KLibLoader() 3484 def unloadLibrary(self, libname): 3485 '''void KLibLoader.unloadLibrary(QString libname)''' 3486 def lastErrorMessage(self): 3487 '''QString KLibLoader.lastErrorMessage()''' 3488 return QString() 3489 def library(self, libname, loadHint = 0): 3490 '''KLibrary KLibLoader.library(QString libname, QLibrary.LoadHints loadHint = 0)''' 3491 return KLibrary() 3492 def factory(self, libname, loadHint = 0): 3493 '''KPluginFactory KLibLoader.factory(QString libname, QLibrary.LoadHints loadHint = 0)''' 3494 return KPluginFactory() 3495 3496 3497 class KLibrary(QLibrary): 3498 """""" 3499 def __init__(self, parent = None): 3500 '''void KLibrary.__init__(QObject parent = None)''' 3501 def __init__(self, name, cData = None, parent = None): 3502 '''void KLibrary.__init__(QString name, KComponentData cData = KGlobal.mainComponent(), QObject parent = None)''' 3503 def __init__(self, name, verNum, cData = None, parent = None): 3504 '''void KLibrary.__init__(QString name, int verNum, KComponentData cData = KGlobal.mainComponent(), QObject parent = None)''' 3505 def unload(self): 3506 '''bool KLibrary.unload()''' 3507 return bool() 3508 def setFileName(self, name, data = None): 3509 '''void KLibrary.setFileName(QString name, KComponentData data = KGlobal.mainComponent())''' 3510 def factory(self, factoryname = None): 3511 '''KPluginFactory KLibrary.factory(str factoryname = None)''' 3512 return KPluginFactory() 3513 3514 3515 class KLocale(): 3516 """""" 3517 # Enum KLocale.DateTimeComponentFormat 3518 DefaultComponentFormat = 0 3519 ShortNumber = 0 3520 LongNumber = 0 3521 NarrowName = 0 3522 ShortName = 0 3523 LongName = 0 3524 3525 # Enum KLocale.DateTimeComponent 3526 Year = 0 3527 YearName = 0 3528 Month = 0 3529 MonthName = 0 3530 Day = 0 3531 DayName = 0 3532 JulianDay = 0 3533 EraName = 0 3534 EraYear = 0 3535 YearInEra = 0 3536 DayOfYear = 0 3537 DayOfYearName = 0 3538 DayOfWeek = 0 3539 DayOfWeekName = 0 3540 Week = 0 3541 WeekYear = 0 3542 MonthsInYear = 0 3543 WeeksInYear = 0 3544 DaysInYear = 0 3545 DaysInMonth = 0 3546 DaysInWeek = 0 3547 Hour = 0 3548 Minute = 0 3549 Second = 0 3550 Millisecond = 0 3551 DayPeriod = 0 3552 DayPeriodHour = 0 3553 Timezone = 0 3554 TimezoneName = 0 3555 UnixTime = 0 3556 3557 # Enum KLocale.DateTimeParseMode 3558 LiberalParsing = 0 3559 3560 # Enum KLocale.WeekNumberSystem 3561 DefaultWeekNumber = 0 3562 IsoWeekNumber = 0 3563 FirstFullWeek = 0 3564 FirstPartialWeek = 0 3565 SimpleWeek = 0 3566 3567 # Enum KLocale.CalendarSystem 3568 QDateCalendar = 0 3569 CopticCalendar = 0 3570 EthiopianCalendar = 0 3571 GregorianCalendar = 0 3572 HebrewCalendar = 0 3573 IslamicCivilCalendar = 0 3574 IndianNationalCalendar = 0 3575 JalaliCalendar = 0 3576 JapaneseCalendar = 0 3577 JulianCalendar = 0 3578 MinguoCalendar = 0 3579 ThaiCalendar = 0 3580 3581 # Enum KLocale.DateTimeFormatStandard 3582 KdeFormat = 0 3583 PosixFormat = 0 3584 UnicodeFormat = 0 3585 3586 # Enum KLocale.TimeProcessingOption 3587 ProcessStrict = 0 3588 ProcessNonStrict = 0 3589 3590 # Enum KLocale.TimeFormatOption 3591 TimeDefault = 0 3592 TimeWithoutSeconds = 0 3593 TimeWithoutAmPm = 0 3594 TimeDuration = 0 3595 TimeFoldHours = 0 3596 3597 # Enum KLocale.BinaryUnitDialect 3598 DefaultBinaryDialect = 0 3599 IECBinaryDialect = 0 3600 JEDECBinaryDialect = 0 3601 MetricBinaryDialect = 0 3602 LastBinaryDialect = 0 3603 3604 # Enum KLocale.BinarySizeUnits 3605 DefaultBinaryUnits = 0 3606 UnitByte = 0 3607 UnitKiloByte = 0 3608 UnitMegaByte = 0 3609 UnitGigaByte = 0 3610 UnitTeraByte = 0 3611 UnitPetaByte = 0 3612 UnitExaByte = 0 3613 UnitZettaByte = 0 3614 UnitYottaByte = 0 3615 UnitLastUnit = 0 3616 3617 # Enum KLocale.MeasureSystem 3618 Metric = 0 3619 Imperial = 0 3620 3621 # Enum KLocale.ReadTimeFlags 3622 WithSeconds = 0 3623 WithoutSeconds = 0 3624 3625 # Enum KLocale.ReadDateFlags 3626 NormalFormat = 0 3627 ShortFormat = 0 3628 IsoFormat = 0 3629 IsoWeekFormat = 0 3630 IsoOrdinalFormat = 0 3631 3632 # Enum KLocale.DateTimeFormatOption 3633 TimeZone = 0 3634 Seconds = 0 3635 3636 # Enum KLocale.DateFormat 3637 ShortDate = 0 3638 LongDate = 0 3639 FancyShortDate = 0 3640 FancyLongDate = 0 3641 IsoDate = 0 3642 IsoWeekDate = 0 3643 IsoOrdinalDate = 0 3644 3645 # Enum KLocale.DigitSet 3646 ArabicDigits = 0 3647 ArabicIndicDigits = 0 3648 EasternArabicIndicDigits = 0 3649 DevenagariDigits = 0 3650 BengaliDigits = 0 3651 GujaratiDigits = 0 3652 GurmukhiDigits = 0 3653 KannadaDigits = 0 3654 KhmerDigits = 0 3655 MalayalamDigits = 0 3656 OriyaDigits = 0 3657 TamilDigits = 0 3658 TeluguDigits = 0 3659 ThaiDigits = 0 3660 3661 # Enum KLocale.SignPosition 3662 ParensAround = 0 3663 BeforeQuantityMoney = 0 3664 AfterQuantityMoney = 0 3665 BeforeMoney = 0 3666 AfterMoney = 0 3667 3668 def __init__(self, catalog, config = None): 3669 '''void KLocale.__init__(QString catalog, unknown-type config = KSharedConfig.Ptr())''' 3670 def __init__(self, catalog, language, country = QString(), config = None): 3671 '''void KLocale.__init__(QString catalog, QString language, QString country = QString(), KConfig config = None)''' 3672 def __init__(self): 3673 '''KLocale KLocale.__init__()''' 3674 return KLocale() 3675 def reparseConfiguration(self): 3676 '''void KLocale.reparseConfiguration()''' 3677 def setCountryDivisionCode(self, countryDivision): 3678 '''bool KLocale.setCountryDivisionCode(QString countryDivision)''' 3679 return bool() 3680 def installedLanguages(self): 3681 '''QStringList KLocale.installedLanguages()''' 3682 return QStringList() 3683 def countryDivisionCode(self): 3684 '''QString KLocale.countryDivisionCode()''' 3685 return QString() 3686 def weekNumberSystem(self): 3687 '''KLocale.WeekNumberSystem KLocale.weekNumberSystem()''' 3688 return KLocale.WeekNumberSystem() 3689 def setWeekNumberSystem(self, weekNumberSystem): 3690 '''void KLocale.setWeekNumberSystem(KLocale.WeekNumberSystem weekNumberSystem)''' 3691 def setCalendarSystem(self, calendarSystem): 3692 '''void KLocale.setCalendarSystem(KLocale.CalendarSystem calendarSystem)''' 3693 def calendarSystem(self): 3694 '''KLocale.CalendarSystem KLocale.calendarSystem()''' 3695 return KLocale.CalendarSystem() 3696 def dayPeriodText(self, time, format = None): 3697 '''QString KLocale.dayPeriodText(QTime time, KLocale.DateTimeComponentFormat format = KLocale.DefaultComponentFormat)''' 3698 return QString() 3699 def translateRawFrom(self, catname, msg, lang, trans): 3700 '''void KLocale.translateRawFrom(str catname, str msg, QString lang, QString trans)''' 3701 def translateRawFrom(self, catname, ctxt, msg, lang, trans): 3702 '''void KLocale.translateRawFrom(str catname, str ctxt, str msg, QString lang, QString trans)''' 3703 def translateRawFrom(self, catname, singular, plural, n, lang, trans): 3704 '''void KLocale.translateRawFrom(str catname, str singular, str plural, int n, QString lang, QString trans)''' 3705 def translateRawFrom(self, catname, ctxt, singular, plural, n, lang, trans): 3706 '''void KLocale.translateRawFrom(str catname, str ctxt, str singular, str plural, int n, QString lang, QString trans)''' 3707 def defaultCurrencyCode(self): 3708 '''static QString KLocale.defaultCurrencyCode()''' 3709 return QString() 3710 def setCurrencyCode(self, newCurrencyCode): 3711 '''void KLocale.setCurrencyCode(QString newCurrencyCode)''' 3712 def setMonetaryDecimalPlaces(self, digits): 3713 '''void KLocale.setMonetaryDecimalPlaces(int digits)''' 3714 def setDecimalPlaces(self, digits): 3715 '''void KLocale.setDecimalPlaces(int digits)''' 3716 def currencyCodeList(self): 3717 '''QStringList KLocale.currencyCodeList()''' 3718 return QStringList() 3719 def monetaryDecimalPlaces(self): 3720 '''int KLocale.monetaryDecimalPlaces()''' 3721 return int() 3722 def decimalPlaces(self): 3723 '''int KLocale.decimalPlaces()''' 3724 return int() 3725 def currency(self): 3726 '''KCurrencyCode KLocale.currency()''' 3727 return KCurrencyCode() 3728 def currencyCode(self): 3729 '''QString KLocale.currencyCode()''' 3730 return QString() 3731 def readLocaleTime(self, str, ok, options = None, processing = None): 3732 '''QTime KLocale.readLocaleTime(QString str, bool ok, KLocale.TimeFormatOptions options = KLocale.TimeDefault, KLocale.TimeProcessingOptions processing = KLocale.ProcessNonStrict)''' 3733 return QTime() 3734 def formatLocaleTime(self, pTime, options = None): 3735 '''QString KLocale.formatLocaleTime(QTime pTime, KLocale.TimeFormatOptions options = KLocale.TimeDefault)''' 3736 return QString() 3737 def setBinaryUnitDialect(self, newDialect): 3738 '''void KLocale.setBinaryUnitDialect(KLocale.BinaryUnitDialect newDialect)''' 3739 def binaryUnitDialect(self): 3740 '''KLocale.BinaryUnitDialect KLocale.binaryUnitDialect()''' 3741 return KLocale.BinaryUnitDialect() 3742 def convertDigits(self, str, digitSet, ignoreContext = False): 3743 '''QString KLocale.convertDigits(QString str, KLocale.DigitSet digitSet, bool ignoreContext = False)''' 3744 return QString() 3745 def removeAcceleratorMarker(self, label): 3746 '''QString KLocale.removeAcceleratorMarker(QString label)''' 3747 return QString() 3748 def localizedFilePath(self, filePath): 3749 '''QString KLocale.localizedFilePath(QString filePath)''' 3750 return QString() 3751 def setLanguage(self, language, config): 3752 '''bool KLocale.setLanguage(QString language, KConfig config)''' 3753 return bool() 3754 def setLanguage(self, languages): 3755 '''bool KLocale.setLanguage(QStringList languages)''' 3756 return bool() 3757 def setCountry(self, country, config): 3758 '''bool KLocale.setCountry(QString country, KConfig config)''' 3759 return bool() 3760 def copyCatalogsTo(self, locale): 3761 '''void KLocale.copyCatalogsTo(KLocale locale)''' 3762 def isApplicationTranslatedInto(self, language): 3763 '''bool KLocale.isApplicationTranslatedInto(QString language)''' 3764 return bool() 3765 def useTranscript(self): 3766 '''bool KLocale.useTranscript()''' 3767 return bool() 3768 def defaultCountry(self): 3769 '''static QString KLocale.defaultCountry()''' 3770 return QString() 3771 def defaultLanguage(self): 3772 '''static QString KLocale.defaultLanguage()''' 3773 return QString() 3774 def langLookup(self, fname, rtype = html): 3775 '''static QString KLocale.langLookup(QString fname, str rtype = html)''' 3776 return QString() 3777 def setMainCatalog(self, catalog): 3778 '''static void KLocale.setMainCatalog(str catalog)''' 3779 def splitLocale(self, locale, language, country, modifier, charset): 3780 '''static void KLocale.splitLocale(QString locale, QString language, QString country, QString modifier, QString charset)''' 3781 def countryCodeToName(self, country): 3782 '''QString KLocale.countryCodeToName(QString country)''' 3783 return QString() 3784 def allCountriesList(self): 3785 '''QStringList KLocale.allCountriesList()''' 3786 return QStringList() 3787 def languageCodeToName(self, language): 3788 '''QString KLocale.languageCodeToName(QString language)''' 3789 return QString() 3790 def allLanguagesList(self): 3791 '''QStringList KLocale.allLanguagesList()''' 3792 return QStringList() 3793 def translateQt(self, context, sourceText, comment): 3794 '''QString KLocale.translateQt(str context, str sourceText, str comment)''' 3795 return QString() 3796 def setActiveCatalog(self, catalog): 3797 '''void KLocale.setActiveCatalog(QString catalog)''' 3798 def removeCatalog(self, catalog): 3799 '''void KLocale.removeCatalog(QString catalog)''' 3800 def insertCatalog(self, catalog): 3801 '''void KLocale.insertCatalog(QString catalog)''' 3802 def setMeasureSystem(self, value): 3803 '''void KLocale.setMeasureSystem(KLocale.MeasureSystem value)''' 3804 def measureSystem(self): 3805 '''KLocale.MeasureSystem KLocale.measureSystem()''' 3806 return KLocale.MeasureSystem() 3807 def setPageSize(self, paperFormat): 3808 '''void KLocale.setPageSize(int paperFormat)''' 3809 def pageSize(self): 3810 '''int KLocale.pageSize()''' 3811 return int() 3812 def setMonetaryDigitSet(self, digitSet): 3813 '''void KLocale.setMonetaryDigitSet(KLocale.DigitSet digitSet)''' 3814 def setCurrencySymbol(self, symbol): 3815 '''void KLocale.setCurrencySymbol(QString symbol)''' 3816 def setMonetaryDecimalSymbol(self, symbol): 3817 '''void KLocale.setMonetaryDecimalSymbol(QString symbol)''' 3818 def setMonetaryThousandsSeparator(self, separator): 3819 '''void KLocale.setMonetaryThousandsSeparator(QString separator)''' 3820 def setFracDigits(self, digits): 3821 '''void KLocale.setFracDigits(int digits)''' 3822 def setNegativePrefixCurrencySymbol(self, prefix): 3823 '''void KLocale.setNegativePrefixCurrencySymbol(bool prefix)''' 3824 def setPositivePrefixCurrencySymbol(self, prefix): 3825 '''void KLocale.setPositivePrefixCurrencySymbol(bool prefix)''' 3826 def setNegativeMonetarySignPosition(self, signpos): 3827 '''void KLocale.setNegativeMonetarySignPosition(KLocale.SignPosition signpos)''' 3828 def setPositiveMonetarySignPosition(self, signpos): 3829 '''void KLocale.setPositiveMonetarySignPosition(KLocale.SignPosition signpos)''' 3830 def setDigitSet(self, digitSet): 3831 '''void KLocale.setDigitSet(KLocale.DigitSet digitSet)''' 3832 def setNegativeSign(self, sign): 3833 '''void KLocale.setNegativeSign(QString sign)''' 3834 def setPositiveSign(self, sign): 3835 '''void KLocale.setPositiveSign(QString sign)''' 3836 def setThousandsSeparator(self, separator): 3837 '''void KLocale.setThousandsSeparator(QString separator)''' 3838 def setDecimalSymbol(self, symbol): 3839 '''void KLocale.setDecimalSymbol(QString symbol)''' 3840 def timeFormat(self): 3841 '''QString KLocale.timeFormat()''' 3842 return QString() 3843 def dateFormatShort(self): 3844 '''QString KLocale.dateFormatShort()''' 3845 return QString() 3846 def dateFormat(self): 3847 '''QString KLocale.dateFormat()''' 3848 return QString() 3849 def setWeekDayOfPray(self, day): 3850 '''void KLocale.setWeekDayOfPray(int day)''' 3851 def setWorkingWeekEndDay(self, day): 3852 '''void KLocale.setWorkingWeekEndDay(int day)''' 3853 def setWorkingWeekStartDay(self, day): 3854 '''void KLocale.setWorkingWeekStartDay(int day)''' 3855 def setWeekStartDay(self, day): 3856 '''void KLocale.setWeekStartDay(int day)''' 3857 def setDateTimeDigitSet(self, digitSet): 3858 '''void KLocale.setDateTimeDigitSet(KLocale.DigitSet digitSet)''' 3859 def setTimeFormat(self, format): 3860 '''void KLocale.setTimeFormat(QString format)''' 3861 def setDateMonthNamePossessive(self, possessive): 3862 '''void KLocale.setDateMonthNamePossessive(bool possessive)''' 3863 def setDateFormatShort(self, format): 3864 '''void KLocale.setDateFormatShort(QString format)''' 3865 def setDateFormat(self, format): 3866 '''void KLocale.setDateFormat(QString format)''' 3867 def fileEncodingMib(self): 3868 '''int KLocale.fileEncodingMib()''' 3869 return int() 3870 def codecForEncoding(self): 3871 '''QTextCodec KLocale.codecForEncoding()''' 3872 return QTextCodec() 3873 def encodingMib(self): 3874 '''int KLocale.encodingMib()''' 3875 return int() 3876 def encoding(self): 3877 '''QByteArray KLocale.encoding()''' 3878 return QByteArray() 3879 def languageList(self): 3880 '''QStringList KLocale.languageList()''' 3881 return QStringList() 3882 def country(self): 3883 '''QString KLocale.country()''' 3884 return QString() 3885 def language(self): 3886 '''QString KLocale.language()''' 3887 return QString() 3888 def readTime(self, str, ok): 3889 '''QTime KLocale.readTime(QString str, bool ok)''' 3890 return QTime() 3891 def readTime(self, str, flags, ok): 3892 '''QTime KLocale.readTime(QString str, KLocale.ReadTimeFlags flags, bool ok)''' 3893 return QTime() 3894 def readDate(self, str, ok): 3895 '''QDate KLocale.readDate(QString str, bool ok)''' 3896 return QDate() 3897 def readDate(self, intstr, fmt, ok): 3898 '''QDate KLocale.readDate(QString intstr, QString fmt, bool ok)''' 3899 return QDate() 3900 def readDate(self, str, flags, ok): 3901 '''QDate KLocale.readDate(QString str, KLocale.ReadDateFlags flags, bool ok)''' 3902 return QDate() 3903 def readNumber(self, numStr, ok): 3904 '''float KLocale.readNumber(QString numStr, bool ok)''' 3905 return float() 3906 def readMoney(self, numStr, ok): 3907 '''float KLocale.readMoney(QString numStr, bool ok)''' 3908 return float() 3909 def setCalendar(self, calendarType): 3910 '''void KLocale.setCalendar(QString calendarType)''' 3911 def calendarType(self): 3912 '''QString KLocale.calendarType()''' 3913 return QString() 3914 def calendar(self): 3915 '''KCalendarSystem KLocale.calendar()''' 3916 return KCalendarSystem() 3917 def weekDayOfPray(self): 3918 '''int KLocale.weekDayOfPray()''' 3919 return int() 3920 def workingWeekEndDay(self): 3921 '''int KLocale.workingWeekEndDay()''' 3922 return int() 3923 def workingWeekStartDay(self): 3924 '''int KLocale.workingWeekStartDay()''' 3925 return int() 3926 def weekStartDay(self): 3927 '''int KLocale.weekStartDay()''' 3928 return int() 3929 def use12Clock(self): 3930 '''bool KLocale.use12Clock()''' 3931 return bool() 3932 def dateTimeDigitSet(self): 3933 '''KLocale.DigitSet KLocale.dateTimeDigitSet()''' 3934 return KLocale.DigitSet() 3935 def formatTime(self, pTime, includeSecs = False, isDuration = False): 3936 '''QString KLocale.formatTime(QTime pTime, bool includeSecs = False, bool isDuration = False)''' 3937 return QString() 3938 def dateMonthNamePossessive(self): 3939 '''bool KLocale.dateMonthNamePossessive()''' 3940 return bool() 3941 def formatDateTime(self, dateTime, format = None, includeSecs = False): 3942 '''QString KLocale.formatDateTime(QDateTime dateTime, KLocale.DateFormat format = KLocale.ShortDate, bool includeSecs = False)''' 3943 return QString() 3944 def formatDateTime(self, dateTime, format = None, options = 0): 3945 '''QString KLocale.formatDateTime(KDateTime dateTime, KLocale.DateFormat format = KLocale.ShortDate, KLocale.DateTimeFormatOptions options = 0)''' 3946 return QString() 3947 def formatDate(self, date, format = None): 3948 '''QString KLocale.formatDate(QDate date, KLocale.DateFormat format = KLocale.LongDate)''' 3949 return QString() 3950 def nounDeclension(self): 3951 '''bool KLocale.nounDeclension()''' 3952 return bool() 3953 def prettyFormatDuration(self, mSec): 3954 '''QString KLocale.prettyFormatDuration(int mSec)''' 3955 return QString() 3956 def formatDuration(self, mSec): 3957 '''QString KLocale.formatDuration(int mSec)''' 3958 return QString() 3959 def formatByteSize(self, size): 3960 '''QString KLocale.formatByteSize(float size)''' 3961 return QString() 3962 def formatByteSize(self, size, precision, dialect = None, specificUnit = None): 3963 '''QString KLocale.formatByteSize(float size, int precision, KLocale.BinaryUnitDialect dialect = KLocale.DefaultBinaryDialect, KLocale.BinarySizeUnits specificUnit = KLocale.DefaultBinaryUnits)''' 3964 return QString() 3965 def formatLong(self, num): 3966 '''QString KLocale.formatLong(int num)''' 3967 return QString() 3968 def formatNumber(self, num, precision = None): 3969 '''QString KLocale.formatNumber(float num, int precision = -1)''' 3970 return QString() 3971 def formatNumber(self, numStr, round = True, precision = 2): 3972 '''QString KLocale.formatNumber(QString numStr, bool round = True, int precision = 2)''' 3973 return QString() 3974 def formatMoney(self, num, currency = QString(), precision = None): 3975 '''QString KLocale.formatMoney(float num, QString currency = QString(), int precision = -1)''' 3976 return QString() 3977 def monetaryDigitSet(self): 3978 '''KLocale.DigitSet KLocale.monetaryDigitSet()''' 3979 return KLocale.DigitSet() 3980 def negativeMonetarySignPosition(self): 3981 '''KLocale.SignPosition KLocale.negativeMonetarySignPosition()''' 3982 return KLocale.SignPosition() 3983 def positiveMonetarySignPosition(self): 3984 '''KLocale.SignPosition KLocale.positiveMonetarySignPosition()''' 3985 return KLocale.SignPosition() 3986 def negativePrefixCurrencySymbol(self): 3987 '''bool KLocale.negativePrefixCurrencySymbol()''' 3988 return bool() 3989 def positivePrefixCurrencySymbol(self): 3990 '''bool KLocale.positivePrefixCurrencySymbol()''' 3991 return bool() 3992 def fracDigits(self): 3993 '''int KLocale.fracDigits()''' 3994 return int() 3995 def negativeSign(self): 3996 '''QString KLocale.negativeSign()''' 3997 return QString() 3998 def positiveSign(self): 3999 '''QString KLocale.positiveSign()''' 4000 return QString() 4001 def monetaryThousandsSeparator(self): 4002 '''QString KLocale.monetaryThousandsSeparator()''' 4003 return QString() 4004 def monetaryDecimalSymbol(self): 4005 '''QString KLocale.monetaryDecimalSymbol()''' 4006 return QString() 4007 def currencySymbol(self): 4008 '''QString KLocale.currencySymbol()''' 4009 return QString() 4010 def digitSet(self): 4011 '''KLocale.DigitSet KLocale.digitSet()''' 4012 return KLocale.DigitSet() 4013 def thousandsSeparator(self): 4014 '''QString KLocale.thousandsSeparator()''' 4015 return QString() 4016 def decimalSymbol(self): 4017 '''QString KLocale.decimalSymbol()''' 4018 return QString() 4019 def allDigitSetsList(self): 4020 '''list-of-KLocale.DigitSet KLocale.allDigitSetsList()''' 4021 return [KLocale.DigitSet()] 4022 def digitSetToName(self, digitSet, withDigits = False): 4023 '''QString KLocale.digitSetToName(KLocale.DigitSet digitSet, bool withDigits = False)''' 4024 return QString() 4025 def setEncoding(self, mibEnum): 4026 '''bool KLocale.setEncoding(int mibEnum)''' 4027 return bool() 4028 def translateRaw(self, msg, lang, trans): 4029 '''void KLocale.translateRaw(str msg, QString lang, QString trans)''' 4030 def translateRaw(self, ctxt, msg, lang, trans): 4031 '''void KLocale.translateRaw(str ctxt, str msg, QString lang, QString trans)''' 4032 def translateRaw(self, singular, plural, n, lang, trans): 4033 '''void KLocale.translateRaw(str singular, str plural, int n, QString lang, QString trans)''' 4034 def translateRaw(self, ctxt, singular, plural, n, lang, trans): 4035 '''void KLocale.translateRaw(str ctxt, str singular, str plural, int n, QString lang, QString trans)''' 4036 class DateTimeFormatOptions(): 4037 """""" 4038 def __init__(self): 4039 '''KLocale.DateTimeFormatOptions KLocale.DateTimeFormatOptions.__init__()''' 4040 return KLocale.DateTimeFormatOptions() 4041 def __init__(self): 4042 '''int KLocale.DateTimeFormatOptions.__init__()''' 4043 return int() 4044 def __init__(self): 4045 '''void KLocale.DateTimeFormatOptions.__init__()''' 4046 def __bool__(self): 4047 '''int KLocale.DateTimeFormatOptions.__bool__()''' 4048 return int() 4049 def __ne__(self, f): 4050 '''bool KLocale.DateTimeFormatOptions.__ne__(KLocale.DateTimeFormatOptions f)''' 4051 return bool() 4052 def __eq__(self, f): 4053 '''bool KLocale.DateTimeFormatOptions.__eq__(KLocale.DateTimeFormatOptions f)''' 4054 return bool() 4055 def __invert__(self): 4056 '''KLocale.DateTimeFormatOptions KLocale.DateTimeFormatOptions.__invert__()''' 4057 return KLocale.DateTimeFormatOptions() 4058 def __and__(self, mask): 4059 '''KLocale.DateTimeFormatOptions KLocale.DateTimeFormatOptions.__and__(int mask)''' 4060 return KLocale.DateTimeFormatOptions() 4061 def __xor__(self, f): 4062 '''KLocale.DateTimeFormatOptions KLocale.DateTimeFormatOptions.__xor__(KLocale.DateTimeFormatOptions f)''' 4063 return KLocale.DateTimeFormatOptions() 4064 def __xor__(self, f): 4065 '''KLocale.DateTimeFormatOptions KLocale.DateTimeFormatOptions.__xor__(int f)''' 4066 return KLocale.DateTimeFormatOptions() 4067 def __or__(self, f): 4068 '''KLocale.DateTimeFormatOptions KLocale.DateTimeFormatOptions.__or__(KLocale.DateTimeFormatOptions f)''' 4069 return KLocale.DateTimeFormatOptions() 4070 def __or__(self, f): 4071 '''KLocale.DateTimeFormatOptions KLocale.DateTimeFormatOptions.__or__(int f)''' 4072 return KLocale.DateTimeFormatOptions() 4073 def __int__(self): 4074 '''int KLocale.DateTimeFormatOptions.__int__()''' 4075 return int() 4076 def __ixor__(self, f): 4077 '''KLocale.DateTimeFormatOptions KLocale.DateTimeFormatOptions.__ixor__(KLocale.DateTimeFormatOptions f)''' 4078 return KLocale.DateTimeFormatOptions() 4079 def __ior__(self, f): 4080 '''KLocale.DateTimeFormatOptions KLocale.DateTimeFormatOptions.__ior__(KLocale.DateTimeFormatOptions f)''' 4081 return KLocale.DateTimeFormatOptions() 4082 def __iand__(self, mask): 4083 '''KLocale.DateTimeFormatOptions KLocale.DateTimeFormatOptions.__iand__(int mask)''' 4084 return KLocale.DateTimeFormatOptions() 4085 class TimeProcessingOptions(): 4086 """""" 4087 def __init__(self): 4088 '''KLocale.TimeProcessingOptions KLocale.TimeProcessingOptions.__init__()''' 4089 return KLocale.TimeProcessingOptions() 4090 def __init__(self): 4091 '''int KLocale.TimeProcessingOptions.__init__()''' 4092 return int() 4093 def __init__(self): 4094 '''void KLocale.TimeProcessingOptions.__init__()''' 4095 def __bool__(self): 4096 '''int KLocale.TimeProcessingOptions.__bool__()''' 4097 return int() 4098 def __ne__(self, f): 4099 '''bool KLocale.TimeProcessingOptions.__ne__(KLocale.TimeProcessingOptions f)''' 4100 return bool() 4101 def __eq__(self, f): 4102 '''bool KLocale.TimeProcessingOptions.__eq__(KLocale.TimeProcessingOptions f)''' 4103 return bool() 4104 def __invert__(self): 4105 '''KLocale.TimeProcessingOptions KLocale.TimeProcessingOptions.__invert__()''' 4106 return KLocale.TimeProcessingOptions() 4107 def __and__(self, mask): 4108 '''KLocale.TimeProcessingOptions KLocale.TimeProcessingOptions.__and__(int mask)''' 4109 return KLocale.TimeProcessingOptions() 4110 def __xor__(self, f): 4111 '''KLocale.TimeProcessingOptions KLocale.TimeProcessingOptions.__xor__(KLocale.TimeProcessingOptions f)''' 4112 return KLocale.TimeProcessingOptions() 4113 def __xor__(self, f): 4114 '''KLocale.TimeProcessingOptions KLocale.TimeProcessingOptions.__xor__(int f)''' 4115 return KLocale.TimeProcessingOptions() 4116 def __or__(self, f): 4117 '''KLocale.TimeProcessingOptions KLocale.TimeProcessingOptions.__or__(KLocale.TimeProcessingOptions f)''' 4118 return KLocale.TimeProcessingOptions() 4119 def __or__(self, f): 4120 '''KLocale.TimeProcessingOptions KLocale.TimeProcessingOptions.__or__(int f)''' 4121 return KLocale.TimeProcessingOptions() 4122 def __int__(self): 4123 '''int KLocale.TimeProcessingOptions.__int__()''' 4124 return int() 4125 def __ixor__(self, f): 4126 '''KLocale.TimeProcessingOptions KLocale.TimeProcessingOptions.__ixor__(KLocale.TimeProcessingOptions f)''' 4127 return KLocale.TimeProcessingOptions() 4128 def __ior__(self, f): 4129 '''KLocale.TimeProcessingOptions KLocale.TimeProcessingOptions.__ior__(KLocale.TimeProcessingOptions f)''' 4130 return KLocale.TimeProcessingOptions() 4131 def __iand__(self, mask): 4132 '''KLocale.TimeProcessingOptions KLocale.TimeProcessingOptions.__iand__(int mask)''' 4133 return KLocale.TimeProcessingOptions() 4134 class DateTimeComponents(): 4135 """""" 4136 def __init__(self): 4137 '''KLocale.DateTimeComponents KLocale.DateTimeComponents.__init__()''' 4138 return KLocale.DateTimeComponents() 4139 def __init__(self): 4140 '''int KLocale.DateTimeComponents.__init__()''' 4141 return int() 4142 def __init__(self): 4143 '''void KLocale.DateTimeComponents.__init__()''' 4144 def __bool__(self): 4145 '''int KLocale.DateTimeComponents.__bool__()''' 4146 return int() 4147 def __ne__(self, f): 4148 '''bool KLocale.DateTimeComponents.__ne__(KLocale.DateTimeComponents f)''' 4149 return bool() 4150 def __eq__(self, f): 4151 '''bool KLocale.DateTimeComponents.__eq__(KLocale.DateTimeComponents f)''' 4152 return bool() 4153 def __invert__(self): 4154 '''KLocale.DateTimeComponents KLocale.DateTimeComponents.__invert__()''' 4155 return KLocale.DateTimeComponents() 4156 def __and__(self, mask): 4157 '''KLocale.DateTimeComponents KLocale.DateTimeComponents.__and__(int mask)''' 4158 return KLocale.DateTimeComponents() 4159 def __xor__(self, f): 4160 '''KLocale.DateTimeComponents KLocale.DateTimeComponents.__xor__(KLocale.DateTimeComponents f)''' 4161 return KLocale.DateTimeComponents() 4162 def __xor__(self, f): 4163 '''KLocale.DateTimeComponents KLocale.DateTimeComponents.__xor__(int f)''' 4164 return KLocale.DateTimeComponents() 4165 def __or__(self, f): 4166 '''KLocale.DateTimeComponents KLocale.DateTimeComponents.__or__(KLocale.DateTimeComponents f)''' 4167 return KLocale.DateTimeComponents() 4168 def __or__(self, f): 4169 '''KLocale.DateTimeComponents KLocale.DateTimeComponents.__or__(int f)''' 4170 return KLocale.DateTimeComponents() 4171 def __int__(self): 4172 '''int KLocale.DateTimeComponents.__int__()''' 4173 return int() 4174 def __ixor__(self, f): 4175 '''KLocale.DateTimeComponents KLocale.DateTimeComponents.__ixor__(KLocale.DateTimeComponents f)''' 4176 return KLocale.DateTimeComponents() 4177 def __ior__(self, f): 4178 '''KLocale.DateTimeComponents KLocale.DateTimeComponents.__ior__(KLocale.DateTimeComponents f)''' 4179 return KLocale.DateTimeComponents() 4180 def __iand__(self, mask): 4181 '''KLocale.DateTimeComponents KLocale.DateTimeComponents.__iand__(int mask)''' 4182 return KLocale.DateTimeComponents() 4183 class TimeFormatOptions(): 4184 """""" 4185 def __init__(self): 4186 '''KLocale.TimeFormatOptions KLocale.TimeFormatOptions.__init__()''' 4187 return KLocale.TimeFormatOptions() 4188 def __init__(self): 4189 '''int KLocale.TimeFormatOptions.__init__()''' 4190 return int() 4191 def __init__(self): 4192 '''void KLocale.TimeFormatOptions.__init__()''' 4193 def __bool__(self): 4194 '''int KLocale.TimeFormatOptions.__bool__()''' 4195 return int() 4196 def __ne__(self, f): 4197 '''bool KLocale.TimeFormatOptions.__ne__(KLocale.TimeFormatOptions f)''' 4198 return bool() 4199 def __eq__(self, f): 4200 '''bool KLocale.TimeFormatOptions.__eq__(KLocale.TimeFormatOptions f)''' 4201 return bool() 4202 def __invert__(self): 4203 '''KLocale.TimeFormatOptions KLocale.TimeFormatOptions.__invert__()''' 4204 return KLocale.TimeFormatOptions() 4205 def __and__(self, mask): 4206 '''KLocale.TimeFormatOptions KLocale.TimeFormatOptions.__and__(int mask)''' 4207 return KLocale.TimeFormatOptions() 4208 def __xor__(self, f): 4209 '''KLocale.TimeFormatOptions KLocale.TimeFormatOptions.__xor__(KLocale.TimeFormatOptions f)''' 4210 return KLocale.TimeFormatOptions() 4211 def __xor__(self, f): 4212 '''KLocale.TimeFormatOptions KLocale.TimeFormatOptions.__xor__(int f)''' 4213 return KLocale.TimeFormatOptions() 4214 def __or__(self, f): 4215 '''KLocale.TimeFormatOptions KLocale.TimeFormatOptions.__or__(KLocale.TimeFormatOptions f)''' 4216 return KLocale.TimeFormatOptions() 4217 def __or__(self, f): 4218 '''KLocale.TimeFormatOptions KLocale.TimeFormatOptions.__or__(int f)''' 4219 return KLocale.TimeFormatOptions() 4220 def __int__(self): 4221 '''int KLocale.TimeFormatOptions.__int__()''' 4222 return int() 4223 def __ixor__(self, f): 4224 '''KLocale.TimeFormatOptions KLocale.TimeFormatOptions.__ixor__(KLocale.TimeFormatOptions f)''' 4225 return KLocale.TimeFormatOptions() 4226 def __ior__(self, f): 4227 '''KLocale.TimeFormatOptions KLocale.TimeFormatOptions.__ior__(KLocale.TimeFormatOptions f)''' 4228 return KLocale.TimeFormatOptions() 4229 def __iand__(self, mask): 4230 '''KLocale.TimeFormatOptions KLocale.TimeFormatOptions.__iand__(int mask)''' 4231 return KLocale.TimeFormatOptions() 4232 4233 4234 class KLocalizedDate(): 4235 """""" 4236 def __init__(self, date = QDate(), calendar = None): 4237 '''void KLocalizedDate.__init__(QDate date = QDate(), KCalendarSystem calendar = None)''' 4238 def __init__(self, year, month, day, calendar = None): 4239 '''void KLocalizedDate.__init__(int year, int month, int day, KCalendarSystem calendar = None)''' 4240 def __init__(self, rhs): 4241 '''void KLocalizedDate.__init__(KLocalizedDate rhs)''' 4242 def __ge__(self, other): 4243 '''bool KLocalizedDate.__ge__(KLocalizedDate other)''' 4244 return bool() 4245 def __ge__(self, other): 4246 '''bool KLocalizedDate.__ge__(QDate other)''' 4247 return bool() 4248 def __gt__(self, other): 4249 '''bool KLocalizedDate.__gt__(KLocalizedDate other)''' 4250 return bool() 4251 def __gt__(self, other): 4252 '''bool KLocalizedDate.__gt__(QDate other)''' 4253 return bool() 4254 def __le__(self, other): 4255 '''bool KLocalizedDate.__le__(KLocalizedDate other)''' 4256 return bool() 4257 def __le__(self, other): 4258 '''bool KLocalizedDate.__le__(QDate other)''' 4259 return bool() 4260 def __lt__(self, other): 4261 '''bool KLocalizedDate.__lt__(KLocalizedDate other)''' 4262 return bool() 4263 def __lt__(self, other): 4264 '''bool KLocalizedDate.__lt__(QDate other)''' 4265 return bool() 4266 def __ne__(self, other): 4267 '''bool KLocalizedDate.__ne__(KLocalizedDate other)''' 4268 return bool() 4269 def __ne__(self, other): 4270 '''bool KLocalizedDate.__ne__(QDate other)''' 4271 return bool() 4272 def __eq__(self, other): 4273 '''bool KLocalizedDate.__eq__(KLocalizedDate other)''' 4274 return bool() 4275 def __eq__(self, other): 4276 '''bool KLocalizedDate.__eq__(QDate other)''' 4277 return bool() 4278 def lastDayOfMonth(self): 4279 '''KLocalizedDate KLocalizedDate.lastDayOfMonth()''' 4280 return KLocalizedDate() 4281 def firstDayOfMonth(self): 4282 '''KLocalizedDate KLocalizedDate.firstDayOfMonth()''' 4283 return KLocalizedDate() 4284 def lastDayOfYear(self): 4285 '''KLocalizedDate KLocalizedDate.lastDayOfYear()''' 4286 return KLocalizedDate() 4287 def firstDayOfYear(self): 4288 '''KLocalizedDate KLocalizedDate.firstDayOfYear()''' 4289 return KLocalizedDate() 4290 def daysDifference(self, toDate): 4291 '''int KLocalizedDate.daysDifference(KLocalizedDate toDate)''' 4292 return int() 4293 def daysDifference(self, toDate): 4294 '''int KLocalizedDate.daysDifference(QDate toDate)''' 4295 return int() 4296 def monthsDifference(self, toDate): 4297 '''int KLocalizedDate.monthsDifference(KLocalizedDate toDate)''' 4298 return int() 4299 def monthsDifference(self, toDate): 4300 '''int KLocalizedDate.monthsDifference(QDate toDate)''' 4301 return int() 4302 def yearsDifference(self, toDate): 4303 '''int KLocalizedDate.yearsDifference(KLocalizedDate toDate)''' 4304 return int() 4305 def yearsDifference(self, toDate): 4306 '''int KLocalizedDate.yearsDifference(QDate toDate)''' 4307 return int() 4308 def dateDifference(self, toDate, yearsDiff, monthsDiff, daysDiff, direction): 4309 '''void KLocalizedDate.dateDifference(KLocalizedDate toDate, int yearsDiff, int monthsDiff, int daysDiff, int direction)''' 4310 def dateDifference(self, toDate, yearsDiff, monthsDiff, daysDiff, direction): 4311 '''void KLocalizedDate.dateDifference(QDate toDate, int yearsDiff, int monthsDiff, int daysDiff, int direction)''' 4312 def addDaysTo(self, days): 4313 '''bool KLocalizedDate.addDaysTo(int days)''' 4314 return bool() 4315 def addDays(self, days): 4316 '''KLocalizedDate KLocalizedDate.addDays(int days)''' 4317 return KLocalizedDate() 4318 def addMonthsTo(self, months): 4319 '''bool KLocalizedDate.addMonthsTo(int months)''' 4320 return bool() 4321 def addMonths(self, months): 4322 '''KLocalizedDate KLocalizedDate.addMonths(int months)''' 4323 return KLocalizedDate() 4324 def addYearsTo(self, years): 4325 '''bool KLocalizedDate.addYearsTo(int years)''' 4326 return bool() 4327 def addYears(self, years): 4328 '''KLocalizedDate KLocalizedDate.addYears(int years)''' 4329 return KLocalizedDate() 4330 def readDate(self, dateString, parseMode = None, calendar = None): 4331 '''static KLocalizedDate KLocalizedDate.readDate(QString dateString, KLocale.DateTimeParseMode parseMode = KLocale.LiberalParsing, KCalendarSystem calendar = None)''' 4332 return KLocalizedDate() 4333 def readDate(self, dateString, formatFlags, parseMode = None, calendar = None): 4334 '''static KLocalizedDate KLocalizedDate.readDate(QString dateString, KLocale.ReadDateFlags formatFlags, KLocale.DateTimeParseMode parseMode = KLocale.LiberalParsing, KCalendarSystem calendar = None)''' 4335 return KLocalizedDate() 4336 def readDate(self, dateString, dateFormat, parseMode = None, formatStandard = None, calendar = None): 4337 '''static KLocalizedDate KLocalizedDate.readDate(QString dateString, QString dateFormat, KLocale.DateTimeParseMode parseMode = KLocale.LiberalParsing, KLocale.DateTimeFormatStandard formatStandard = KLocale.KdeFormat, KCalendarSystem calendar = None)''' 4338 return KLocalizedDate() 4339 def formatDate(self, dateFormat = None): 4340 '''QString KLocalizedDate.formatDate(KLocale.DateFormat dateFormat = KLocale.LongDate)''' 4341 return QString() 4342 def formatDate(self, formatString, formatStandard = None): 4343 '''QString KLocalizedDate.formatDate(QString formatString, KLocale.DateTimeFormatStandard formatStandard = KLocale.KdeFormat)''' 4344 return QString() 4345 def formatDate(self, component, format = None, weekNumberSystem = None): 4346 '''QString KLocalizedDate.formatDate(KLocale.DateTimeComponent component, KLocale.DateTimeComponentFormat format = KLocale.DefaultComponentFormat, KLocale.WeekNumberSystem weekNumberSystem = KLocale.DefaultWeekNumber)''' 4347 return QString() 4348 def isLeapYear(self): 4349 '''bool KLocalizedDate.isLeapYear()''' 4350 return bool() 4351 def daysInWeek(self): 4352 '''int KLocalizedDate.daysInWeek()''' 4353 return int() 4354 def daysInMonth(self): 4355 '''int KLocalizedDate.daysInMonth()''' 4356 return int() 4357 def daysInYear(self): 4358 '''int KLocalizedDate.daysInYear()''' 4359 return int() 4360 def weeksInYear(self): 4361 '''int KLocalizedDate.weeksInYear()''' 4362 return int() 4363 def weeksInYear(self, weekNumberSystem): 4364 '''int KLocalizedDate.weeksInYear(KLocale.WeekNumberSystem weekNumberSystem)''' 4365 return int() 4366 def monthsInYear(self): 4367 '''int KLocalizedDate.monthsInYear()''' 4368 return int() 4369 def week(self, yearNum): 4370 '''int KLocalizedDate.week(int yearNum)''' 4371 return int() 4372 def week(self, weekNumberSystem, yearNum): 4373 '''int KLocalizedDate.week(KLocale.WeekNumberSystem weekNumberSystem, int yearNum)''' 4374 return int() 4375 def dayOfWeek(self): 4376 '''int KLocalizedDate.dayOfWeek()''' 4377 return int() 4378 def dayOfYear(self): 4379 '''int KLocalizedDate.dayOfYear()''' 4380 return int() 4381 def yearInEra(self): 4382 '''int KLocalizedDate.yearInEra()''' 4383 return int() 4384 def eraYear(self): 4385 '''QString KLocalizedDate.eraYear()''' 4386 return QString() 4387 def eraName(self): 4388 '''QString KLocalizedDate.eraName()''' 4389 return QString() 4390 def day(self): 4391 '''int KLocalizedDate.day()''' 4392 return int() 4393 def month(self): 4394 '''int KLocalizedDate.month()''' 4395 return int() 4396 def year(self): 4397 '''int KLocalizedDate.year()''' 4398 return int() 4399 def getDate(self, year, month, day): 4400 '''void KLocalizedDate.getDate(int year, int month, int day)''' 4401 def date(self): 4402 '''QDate KLocalizedDate.date()''' 4403 return QDate() 4404 def toJulianDay(self): 4405 '''int KLocalizedDate.toJulianDay()''' 4406 return int() 4407 def fromJulianDay(self, jd): 4408 '''static KLocalizedDate KLocalizedDate.fromJulianDay(int jd)''' 4409 return KLocalizedDate() 4410 def fromDate(self, date): 4411 '''static KLocalizedDate KLocalizedDate.fromDate(QDate date)''' 4412 return KLocalizedDate() 4413 def currentDate(self): 4414 '''static KLocalizedDate KLocalizedDate.currentDate()''' 4415 return KLocalizedDate() 4416 def setCurrentDate(self): 4417 '''bool KLocalizedDate.setCurrentDate()''' 4418 return bool() 4419 def setDate(self, date): 4420 '''bool KLocalizedDate.setDate(QDate date)''' 4421 return bool() 4422 def setDate(self, year, month, day): 4423 '''bool KLocalizedDate.setDate(int year, int month, int day)''' 4424 return bool() 4425 def setDate(self, year, dayOfYear): 4426 '''bool KLocalizedDate.setDate(int year, int dayOfYear)''' 4427 return bool() 4428 def setDate(self, eraName, yearInEra, month, day): 4429 '''bool KLocalizedDate.setDate(QString eraName, int yearInEra, int month, int day)''' 4430 return bool() 4431 def setDate(self, weekNumberSystem, year, weekOfYear, dayOfWeek): 4432 '''bool KLocalizedDate.setDate(KLocale.WeekNumberSystem weekNumberSystem, int year, int weekOfYear, int dayOfWeek)''' 4433 return bool() 4434 def isValid(self): 4435 '''bool KLocalizedDate.isValid()''' 4436 return bool() 4437 def isNull(self): 4438 '''bool KLocalizedDate.isNull()''' 4439 return bool() 4440 def calendar(self): 4441 '''KCalendarSystem KLocalizedDate.calendar()''' 4442 return KCalendarSystem() 4443 def calendarSystem(self): 4444 '''KLocale.CalendarSystem KLocalizedDate.calendarSystem()''' 4445 return KLocale.CalendarSystem() 4446 def setCalendarSystem(self, calendarSystem): 4447 '''void KLocalizedDate.setCalendarSystem(KLocale.CalendarSystem calendarSystem)''' 4448 4449 4450 class KLocalizedString(): 4451 """""" 4452 def __init__(self): 4453 '''void KLocalizedString.__init__()''' 4454 def __init__(self, rhs): 4455 '''void KLocalizedString.__init__(KLocalizedString rhs)''' 4456 def inContext(self, key, text): 4457 '''KLocalizedString KLocalizedString.inContext(QString key, QString text)''' 4458 return KLocalizedString() 4459 def subs(self, a, fieldWidth = 0, base = 10, fillChar = None): 4460 '''KLocalizedString KLocalizedString.subs(int a, int fieldWidth = 0, int base = 10, QChar fillChar = QLatin1Char(' '))''' 4461 return KLocalizedString() 4462 def subs(self, a, fieldWidth = 0, fillChar = None): 4463 '''KLocalizedString KLocalizedString.subs(QChar a, int fieldWidth = 0, QChar fillChar = QLatin1Char(' '))''' 4464 return KLocalizedString() 4465 def subs(self, a, fieldWidth = 0, fillChar = None): 4466 '''KLocalizedString KLocalizedString.subs(QString a, int fieldWidth = 0, QChar fillChar = QLatin1Char(' '))''' 4467 return KLocalizedString() 4468 def isEmpty(self): 4469 '''bool KLocalizedString.isEmpty()''' 4470 return bool() 4471 def toString(self): 4472 '''QString KLocalizedString.toString()''' 4473 return QString() 4474 def toString(self, locale): 4475 '''QString KLocalizedString.toString(KLocale locale)''' 4476 return QString() 4477 def toString(self, catalogName): 4478 '''QString KLocalizedString.toString(QString catalogName)''' 4479 return QString() 4480 def toString(self, locale, catalogName): 4481 '''QString KLocalizedString.toString(KLocale locale, QString catalogName)''' 4482 return QString() 4483 4484 4485 class KLocalSocket(QTcpSocket): 4486 """""" 4487 # Enum KLocalSocket.LocalSocketType 4488 UnixSocket = 0 4489 AbstractUnixSocket = 0 4490 UnknownLocalSocketType = 0 4491 4492 def __init__(self, parent = None): 4493 '''void KLocalSocket.__init__(QObject parent = None)''' 4494 def disconnectFromHostImplementation(self): 4495 '''void KLocalSocket.disconnectFromHostImplementation()''' 4496 def connectToHostImplementation(self, hostName, port, mode): 4497 '''void KLocalSocket.connectToHostImplementation(QString hostName, int port, QIODevice.OpenMode mode)''' 4498 def peerPath(self): 4499 '''QString KLocalSocket.peerPath()''' 4500 return QString() 4501 def localPath(self): 4502 '''QString KLocalSocket.localPath()''' 4503 return QString() 4504 def localSocketType(self): 4505 '''KLocalSocket.LocalSocketType KLocalSocket.localSocketType()''' 4506 return KLocalSocket.LocalSocketType() 4507 def disconnectFromPath(self): 4508 '''void KLocalSocket.disconnectFromPath()''' 4509 def connectToPath(self, path, mode = None): 4510 '''void KLocalSocket.connectToPath(QString path, QIODevice.OpenMode mode = QIODevice.ReadWrite)''' 4511 def connectToPath(self, path, type, mode = None): 4512 '''void KLocalSocket.connectToPath(QString path, KLocalSocket.LocalSocketType type, QIODevice.OpenMode mode = QIODevice.ReadWrite)''' 4513 4514 4515 class KLocalSocketServer(QObject): 4516 """""" 4517 def __init__(self, parent = None): 4518 '''void KLocalSocketServer.__init__(QObject parent = None)''' 4519 newConnection = pyqtSignal() # void newConnection() - signal 4520 def incomingConnection(self, handle): 4521 '''void KLocalSocketServer.incomingConnection(int handle)''' 4522 def errorString(self): 4523 '''QString KLocalSocketServer.errorString()''' 4524 return QString() 4525 def serverError(self): 4526 '''QAbstractSocket.SocketError KLocalSocketServer.serverError()''' 4527 return QAbstractSocket.SocketError() 4528 def nextPendingConnection(self): 4529 '''KLocalSocket KLocalSocketServer.nextPendingConnection()''' 4530 return KLocalSocket() 4531 def hasPendingConnections(self): 4532 '''bool KLocalSocketServer.hasPendingConnections()''' 4533 return bool() 4534 def waitForNewConnection(self, msec = 0, timedOut = None): 4535 '''bool KLocalSocketServer.waitForNewConnection(int msec = 0, bool timedOut)''' 4536 return bool() 4537 def localPath(self): 4538 '''QString KLocalSocketServer.localPath()''' 4539 return QString() 4540 def localSocketType(self): 4541 '''KLocalSocket.LocalSocketType KLocalSocketServer.localSocketType()''' 4542 return KLocalSocket.LocalSocketType() 4543 def maxPendingConnections(self): 4544 '''int KLocalSocketServer.maxPendingConnections()''' 4545 return int() 4546 def setMaxPendingConnections(self, numConnections): 4547 '''void KLocalSocketServer.setMaxPendingConnections(int numConnections)''' 4548 def isListening(self): 4549 '''bool KLocalSocketServer.isListening()''' 4550 return bool() 4551 def close(self): 4552 '''void KLocalSocketServer.close()''' 4553 def listen(self, path, type = None): 4554 '''bool KLocalSocketServer.listen(QString path, KLocalSocket.LocalSocketType type = KLocalSocket.UnixSocket)''' 4555 return bool() 4556 4557 4558 class KLockFile(): 4559 """""" 4560 # Enum KLockFile.LockFlag 4561 NoBlockFlag = 0 4562 ForceFlag = 0 4563 4564 # Enum KLockFile.LockResult 4565 LockOK = 0 4566 LockFail = 0 4567 LockError = 0 4568 LockStale = 0 4569 4570 def __init__(self, file, componentName = None): 4571 '''void KLockFile.__init__(QString file, KComponentData componentName = KGlobal.mainComponent())''' 4572 def getLockInfo(self, pid, hostname, appname): 4573 '''bool KLockFile.getLockInfo(int pid, QString hostname, QString appname)''' 4574 return bool() 4575 def setStaleTime(self, _staleTime): 4576 '''void KLockFile.setStaleTime(int _staleTime)''' 4577 def staleTime(self): 4578 '''int KLockFile.staleTime()''' 4579 return int() 4580 def unlock(self): 4581 '''void KLockFile.unlock()''' 4582 def isLocked(self): 4583 '''bool KLockFile.isLocked()''' 4584 return bool() 4585 def lock(self, flags = None): 4586 '''KLockFile.LockResult KLockFile.lock(KLockFile.LockFlags flags = KLockFile.LockFlags())''' 4587 return KLockFile.LockResult() 4588 class LockFlags(): 4589 """""" 4590 def __init__(self): 4591 '''KLockFile.LockFlags KLockFile.LockFlags.__init__()''' 4592 return KLockFile.LockFlags() 4593 def __init__(self): 4594 '''int KLockFile.LockFlags.__init__()''' 4595 return int() 4596 def __init__(self): 4597 '''void KLockFile.LockFlags.__init__()''' 4598 def __bool__(self): 4599 '''int KLockFile.LockFlags.__bool__()''' 4600 return int() 4601 def __ne__(self, f): 4602 '''bool KLockFile.LockFlags.__ne__(KLockFile.LockFlags f)''' 4603 return bool() 4604 def __eq__(self, f): 4605 '''bool KLockFile.LockFlags.__eq__(KLockFile.LockFlags f)''' 4606 return bool() 4607 def __invert__(self): 4608 '''KLockFile.LockFlags KLockFile.LockFlags.__invert__()''' 4609 return KLockFile.LockFlags() 4610 def __and__(self, mask): 4611 '''KLockFile.LockFlags KLockFile.LockFlags.__and__(int mask)''' 4612 return KLockFile.LockFlags() 4613 def __xor__(self, f): 4614 '''KLockFile.LockFlags KLockFile.LockFlags.__xor__(KLockFile.LockFlags f)''' 4615 return KLockFile.LockFlags() 4616 def __xor__(self, f): 4617 '''KLockFile.LockFlags KLockFile.LockFlags.__xor__(int f)''' 4618 return KLockFile.LockFlags() 4619 def __or__(self, f): 4620 '''KLockFile.LockFlags KLockFile.LockFlags.__or__(KLockFile.LockFlags f)''' 4621 return KLockFile.LockFlags() 4622 def __or__(self, f): 4623 '''KLockFile.LockFlags KLockFile.LockFlags.__or__(int f)''' 4624 return KLockFile.LockFlags() 4625 def __int__(self): 4626 '''int KLockFile.LockFlags.__int__()''' 4627 return int() 4628 def __ixor__(self, f): 4629 '''KLockFile.LockFlags KLockFile.LockFlags.__ixor__(KLockFile.LockFlags f)''' 4630 return KLockFile.LockFlags() 4631 def __ior__(self, f): 4632 '''KLockFile.LockFlags KLockFile.LockFlags.__ior__(KLockFile.LockFlags f)''' 4633 return KLockFile.LockFlags() 4634 def __iand__(self, mask): 4635 '''KLockFile.LockFlags KLockFile.LockFlags.__iand__(int mask)''' 4636 return KLockFile.LockFlags() 4637 4638 4639 class KMacroExpanderBase(): 4640 """""" 4641 def __init__(self, c = None): 4642 '''void KMacroExpanderBase.__init__(QChar c = QLatin1Char('%'))''' 4643 def expandEscapedMacro(self, str, pos, ret): 4644 '''int KMacroExpanderBase.expandEscapedMacro(QString str, int pos, QStringList ret)''' 4645 return int() 4646 def expandPlainMacro(self, str, pos, ret): 4647 '''int KMacroExpanderBase.expandPlainMacro(QString str, int pos, QStringList ret)''' 4648 return int() 4649 def escapeChar(self): 4650 '''QChar KMacroExpanderBase.escapeChar()''' 4651 return QChar() 4652 def setEscapeChar(self, c): 4653 '''void KMacroExpanderBase.setEscapeChar(QChar c)''' 4654 def expandMacrosShellQuote(self, str, pos): 4655 '''bool KMacroExpanderBase.expandMacrosShellQuote(QString str, int pos)''' 4656 return bool() 4657 def expandMacros(self, str): 4658 '''void KMacroExpanderBase.expandMacros(QString str)''' 4659 4660 4661 class KWordMacroExpander(KMacroExpanderBase): 4662 """""" 4663 def __init__(self, c = None): 4664 '''void KWordMacroExpander.__init__(QChar c = QLatin1Char('%'))''' 4665 def expandMacro(self, str, ret): 4666 '''abstract bool KWordMacroExpander.expandMacro(QString str, QStringList ret)''' 4667 return bool() 4668 def expandEscapedMacro(self, str, pos, ret): 4669 '''int KWordMacroExpander.expandEscapedMacro(QString str, int pos, QStringList ret)''' 4670 return int() 4671 def expandPlainMacro(self, str, pos, ret): 4672 '''int KWordMacroExpander.expandPlainMacro(QString str, int pos, QStringList ret)''' 4673 return int() 4674 4675 4676 class KCharMacroExpander(KMacroExpanderBase): 4677 """""" 4678 def __init__(self, c = None): 4679 '''void KCharMacroExpander.__init__(QChar c = QLatin1Char('%'))''' 4680 def expandMacro(self, chr, ret): 4681 '''abstract bool KCharMacroExpander.expandMacro(QChar chr, QStringList ret)''' 4682 return bool() 4683 def expandEscapedMacro(self, str, pos, ret): 4684 '''int KCharMacroExpander.expandEscapedMacro(QString str, int pos, QStringList ret)''' 4685 return int() 4686 def expandPlainMacro(self, str, pos, ret): 4687 '''int KCharMacroExpander.expandPlainMacro(QString str, int pos, QStringList ret)''' 4688 return int() 4689 4690 4691 class KMacroExpander(): 4692 """""" 4693 def expandMacrosShellQuote(self, str, map, c = None): 4694 '''static QString KMacroExpander.expandMacrosShellQuote(QString str, dict-of-QChar-QString map, QChar c = QLatin1Char('%'))''' 4695 return QString() 4696 def expandMacrosShellQuote(self, str, map, c = None): 4697 '''static QString KMacroExpander.expandMacrosShellQuote(QString str, dict-of-QString-QString map, QChar c = QLatin1Char('%'))''' 4698 return QString() 4699 def expandMacrosShellQuote(self, str, map, c = None): 4700 '''static QString KMacroExpander.expandMacrosShellQuote(QString str, dict-of-QChar-QStringList map, QChar c = QLatin1Char('%'))''' 4701 return QString() 4702 def expandMacrosShellQuote(self, str, map, c = None): 4703 '''static QString KMacroExpander.expandMacrosShellQuote(QString str, dict-of-QString-QStringList map, QChar c = QLatin1Char('%'))''' 4704 return QString() 4705 def expandMacros(self, str, map, c = None): 4706 '''static QString KMacroExpander.expandMacros(QString str, dict-of-QChar-QString map, QChar c = '%')''' 4707 return QString() 4708 def expandMacros(self, str, map, c = None): 4709 '''static QString KMacroExpander.expandMacros(QString str, dict-of-QString-QString map, QChar c = QLatin1Char('%'))''' 4710 return QString() 4711 def expandMacros(self, str, map, c = None): 4712 '''static QString KMacroExpander.expandMacros(QString str, dict-of-QChar-QStringList map, QChar c = QLatin1Char('%'))''' 4713 return QString() 4714 def expandMacros(self, str, map, c = None): 4715 '''static QString KMacroExpander.expandMacros(QString str, dict-of-QString-QStringList map, QChar c = QLatin1Char('%'))''' 4716 return QString() 4717 4718 4719 class KMessage(): 4720 """""" 4721 # Enum KMessage.MessageType 4722 Error = 0 4723 Information = 0 4724 Warning = 0 4725 Sorry = 0 4726 Fatal = 0 4727 4728 def setMessageHandler(self, handler): 4729 '''static void KMessage.setMessageHandler(KMessageHandler handler)''' 4730 def message(self, messageType, text, caption = QString()): 4731 '''static void KMessage.message(KMessage.MessageType messageType, QString text, QString caption = QString())''' 4732 4733 4734 class KMessageHandler(): 4735 """""" 4736 def __init__(self): 4737 '''void KMessageHandler.__init__()''' 4738 def __init__(self): 4739 '''KMessageHandler KMessageHandler.__init__()''' 4740 return KMessageHandler() 4741 def message(self, type, text, caption): 4742 '''abstract void KMessageHandler.message(KMessage.MessageType type, QString text, QString caption)''' 4743 4744 4745 class KSycocaEntry(): 4746 """""" 4747 def __init__(self): 4748 '''void KSycocaEntry.__init__()''' 4749 def save(self, s): 4750 '''void KSycocaEntry.save(QDataStream s)''' 4751 def offset(self): 4752 '''int KSycocaEntry.offset()''' 4753 return int() 4754 def isSeparator(self): 4755 '''bool KSycocaEntry.isSeparator()''' 4756 return bool() 4757 def setDeleted(self, deleted): 4758 '''void KSycocaEntry.setDeleted(bool deleted)''' 4759 def propertyNames(self): 4760 '''QStringList KSycocaEntry.propertyNames()''' 4761 return QStringList() 4762 def property(self, name): 4763 '''QVariant KSycocaEntry.property(QString name)''' 4764 return QVariant() 4765 def isDeleted(self): 4766 '''bool KSycocaEntry.isDeleted()''' 4767 return bool() 4768 def isValid(self): 4769 '''bool KSycocaEntry.isValid()''' 4770 return bool() 4771 def storageId(self): 4772 '''QString KSycocaEntry.storageId()''' 4773 return QString() 4774 def entryPath(self): 4775 '''QString KSycocaEntry.entryPath()''' 4776 return QString() 4777 def name(self): 4778 '''QString KSycocaEntry.name()''' 4779 return QString() 4780 def read(self, s, str): 4781 '''static void KSycocaEntry.read(QDataStream s, QString str)''' 4782 def read(self, s, list): 4783 '''static void KSycocaEntry.read(QDataStream s, QStringList list)''' 4784 def sycocaType(self): 4785 '''KSycocaType KSycocaEntry.sycocaType()''' 4786 return KSycocaType() 4787 def isType(self, t): 4788 '''bool KSycocaEntry.isType(KSycocaType t)''' 4789 return bool() 4790 4791 4792 class KServiceType(KSycocaEntry): 4793 """""" 4794 def __init__(self, config): 4795 '''void KServiceType.__init__(KDesktopFile config)''' 4796 def __init__(self, _str, offset): 4797 '''void KServiceType.__init__(QDataStream _str, int offset)''' 4798 def allServiceTypes(self): 4799 '''static unknown-type KServiceType.allServiceTypes()''' 4800 return unknown-type() 4801 def serviceType(self, _name): 4802 '''static unknown-type KServiceType.serviceType(QString _name)''' 4803 return unknown-type() 4804 def serviceOffersOffset(self): 4805 '''int KServiceType.serviceOffersOffset()''' 4806 return int() 4807 def setServiceOffersOffset(self, offset): 4808 '''void KServiceType.setServiceOffersOffset(int offset)''' 4809 def parentType(self): 4810 '''unknown-type KServiceType.parentType()''' 4811 return unknown-type() 4812 def propertyDefs(self): 4813 '''unknown-type KServiceType.propertyDefs()''' 4814 return unknown-type() 4815 def propertyDefNames(self): 4816 '''QStringList KServiceType.propertyDefNames()''' 4817 return QStringList() 4818 def propertyDef(self, _name): 4819 '''Type KServiceType.propertyDef(QString _name)''' 4820 return Type() 4821 def inherits(self, servTypeName): 4822 '''bool KServiceType.inherits(QString servTypeName)''' 4823 return bool() 4824 def parentServiceType(self): 4825 '''QString KServiceType.parentServiceType()''' 4826 return QString() 4827 def isDerived(self): 4828 '''bool KServiceType.isDerived()''' 4829 return bool() 4830 def desktopEntryPath(self): 4831 '''QString KServiceType.desktopEntryPath()''' 4832 return QString() 4833 def comment(self): 4834 '''QString KServiceType.comment()''' 4835 return QString() 4836 4837 4838 class KMimeType(KServiceType): 4839 """""" 4840 # Enum KMimeType.FindByNameOption 4841 DontResolveAlias = 0 4842 ResolveAliases = 0 4843 4844 def __init__(self, str, offset): 4845 '''void KMimeType.__init__(QDataStream str, int offset)''' 4846 def __init__(self, fullpath, name, comment): 4847 '''void KMimeType.__init__(QString fullpath, QString name, QString comment)''' 4848 def matchFileName(self, filename, pattern): 4849 '''static bool KMimeType.matchFileName(QString filename, QString pattern)''' 4850 return bool() 4851 def sharedMimeInfoVersion(self): 4852 '''static int KMimeType.sharedMimeInfoVersion()''' 4853 return int() 4854 def extractKnownExtension(self, fileName): 4855 '''static QString KMimeType.extractKnownExtension(QString fileName)''' 4856 return QString() 4857 def mainExtension(self): 4858 '''QString KMimeType.mainExtension()''' 4859 return QString() 4860 def userSpecifiedIconName(self): 4861 '''QString KMimeType.userSpecifiedIconName()''' 4862 return QString() 4863 def is_(self, mimeTypeName): 4864 '''bool KMimeType.is_(QString mimeTypeName)''' 4865 return bool() 4866 def allParentMimeTypes(self): 4867 '''QStringList KMimeType.allParentMimeTypes()''' 4868 return QStringList() 4869 def parentMimeTypes(self): 4870 '''QStringList KMimeType.parentMimeTypes()''' 4871 return QStringList() 4872 def parentMimeType(self): 4873 '''QString KMimeType.parentMimeType()''' 4874 return QString() 4875 def isDefault(self): 4876 '''bool KMimeType.isDefault()''' 4877 return bool() 4878 def defaultMimeTypePtr(self): 4879 '''static unknown-type KMimeType.defaultMimeTypePtr()''' 4880 return unknown-type() 4881 def defaultMimeType(self): 4882 '''static QString KMimeType.defaultMimeType()''' 4883 return QString() 4884 def allMimeTypes(self): 4885 '''static unknown-type KMimeType.allMimeTypes()''' 4886 return unknown-type() 4887 def isBufferBinaryData(self, data): 4888 '''static bool KMimeType.isBufferBinaryData(QByteArray data)''' 4889 return bool() 4890 def isBinaryData(self, fileName): 4891 '''static bool KMimeType.isBinaryData(QString fileName)''' 4892 return bool() 4893 def findByFileContent(self, fileName, accuracy): 4894 '''static unknown-type KMimeType.findByFileContent(QString fileName, int accuracy)''' 4895 return unknown-type() 4896 def findByNameAndContent(self, name, data, mode = 0, accuracy = None): 4897 '''static unknown-type KMimeType.findByNameAndContent(QString name, QByteArray data, int mode = 0, int accuracy)''' 4898 return unknown-type() 4899 def findByNameAndContent(self, name, device, mode = 0, accuracy = None): 4900 '''static unknown-type KMimeType.findByNameAndContent(QString name, QIODevice device, int mode = 0, int accuracy)''' 4901 return unknown-type() 4902 def findByContent(self, data, accuracy): 4903 '''static unknown-type KMimeType.findByContent(QByteArray data, int accuracy)''' 4904 return unknown-type() 4905 def findByContent(self, device, accuracy): 4906 '''static unknown-type KMimeType.findByContent(QIODevice device, int accuracy)''' 4907 return unknown-type() 4908 def findByPath(self, path, mode = 0, fast_mode = False, accuracy = None): 4909 '''static unknown-type KMimeType.findByPath(QString path, int mode = 0, bool fast_mode = False, int accuracy)''' 4910 return unknown-type() 4911 def findByUrl(self, url, mode = 0, is_local_file = False, fast_mode = False, accuracy = None): 4912 '''static unknown-type KMimeType.findByUrl(KUrl url, int mode = 0, bool is_local_file = False, bool fast_mode = False, int accuracy)''' 4913 return unknown-type() 4914 def mimeType(self, name, options = None): 4915 '''static unknown-type KMimeType.mimeType(QString name, KMimeType.FindByNameOption options = KMimeType.DontResolveAlias)''' 4916 return unknown-type() 4917 def patterns(self): 4918 '''QStringList KMimeType.patterns()''' 4919 return QStringList() 4920 def comment(self, url = KUrl()): 4921 '''QString KMimeType.comment(KUrl url = KUrl())''' 4922 return QString() 4923 def favIconForUrl(self, url): 4924 '''static QString KMimeType.favIconForUrl(KUrl url)''' 4925 return QString() 4926 def iconNameForUrl(self, url, mode = 0): 4927 '''static QString KMimeType.iconNameForUrl(KUrl url, int mode = 0)''' 4928 return QString() 4929 def iconName(self, url = KUrl()): 4930 '''QString KMimeType.iconName(KUrl url = KUrl())''' 4931 return QString() 4932 4933 4934 class KMimeTypeTrader(): 4935 """""" 4936 def self(self): 4937 '''static KMimeTypeTrader KMimeTypeTrader.self()''' 4938 return KMimeTypeTrader() 4939 def preferredService(self, mimeType, genericServiceType = None): 4940 '''unknown-type KMimeTypeTrader.preferredService(QString mimeType, QString genericServiceType = QString.fromLatin1Application)''' 4941 return unknown-type() 4942 def query(self, mimeType, genericServiceType = None, constraint = QString()): 4943 '''unknown-type KMimeTypeTrader.query(QString mimeType, QString genericServiceType = QString.fromLatin1Application, QString constraint = QString())''' 4944 return unknown-type() 4945 4946 4947 class KPluginFactory(QObject): 4948 """""" 4949 def __init__(self, componentName = None, catalogName = None, parent = None): 4950 '''void KPluginFactory.__init__(str componentName = None, str catalogName = None, QObject parent = None)''' 4951 def __init__(self, aboutData, parent = None): 4952 '''void KPluginFactory.__init__(KAboutData aboutData, QObject parent = None)''' 4953 def __init__(self, aboutData, parent = None): 4954 '''void KPluginFactory.__init__(KAboutData aboutData, QObject parent = None)''' 4955 def __init__(self, parent): 4956 '''void KPluginFactory.__init__(QObject parent)''' 4957 def setComponentData(self, componentData): 4958 '''void KPluginFactory.setComponentData(KComponentData componentData)''' 4959 def createObject(self, parent, className, args): 4960 '''QObject KPluginFactory.createObject(QObject parent, str className, QStringList args)''' 4961 return QObject() 4962 def setupTranslations(self): 4963 '''void KPluginFactory.setupTranslations()''' 4964 def variantListToStringList(self, list): 4965 '''QStringList KPluginFactory.variantListToStringList(list-of-QVariant list)''' 4966 return QStringList() 4967 def stringListToVariantList(self, list): 4968 '''list-of-QVariant KPluginFactory.stringListToVariantList(QStringList list)''' 4969 return [QVariant()] 4970 objectCreated = pyqtSignal() # void objectCreated(QObject *) - signal 4971 def create(self, parent = None, classname = QObject, args = QStringList()): 4972 '''QObject KPluginFactory.create(QObject parent = None, str classname = QObject, QStringList args = QStringList())''' 4973 return QObject() 4974 def create(self, iface, parentWidget, parent, args, keyword): 4975 '''QObject KPluginFactory.create(str iface, QWidget parentWidget, QObject parent, list-of-QVariant args, QString keyword)''' 4976 return QObject() 4977 def componentData(self): 4978 '''KComponentData KPluginFactory.componentData()''' 4979 return KComponentData() 4980 4981 4982 class KPluginInfo(): 4983 """""" 4984 def __init__(self, filename, resource = None): 4985 '''void KPluginInfo.__init__(QString filename, str resource = None)''' 4986 def __init__(self, service): 4987 '''void KPluginInfo.__init__(unknown-type service)''' 4988 def __init__(self): 4989 '''void KPluginInfo.__init__()''' 4990 def __init__(self, copy): 4991 '''void KPluginInfo.__init__(KPluginInfo copy)''' 4992 def __ge__(self, rhs): 4993 '''bool KPluginInfo.__ge__(KPluginInfo rhs)''' 4994 return bool() 4995 def __le__(self, rhs): 4996 '''bool KPluginInfo.__le__(KPluginInfo rhs)''' 4997 return bool() 4998 def __gt__(self, rhs): 4999 '''bool KPluginInfo.__gt__(KPluginInfo rhs)''' 5000 return bool() 5001 def __lt__(self, rhs): 5002 '''bool KPluginInfo.__lt__(KPluginInfo rhs)''' 5003 return bool() 5004 def __ne__(self, rhs): 5005 '''bool KPluginInfo.__ne__(KPluginInfo rhs)''' 5006 return bool() 5007 def __eq__(self, rhs): 5008 '''bool KPluginInfo.__eq__(KPluginInfo rhs)''' 5009 return bool() 5010 def isValid(self): 5011 '''bool KPluginInfo.isValid()''' 5012 return bool() 5013 def defaults(self): 5014 '''void KPluginInfo.defaults()''' 5015 def load(self, config = KConfigGroup()): 5016 '''void KPluginInfo.load(KConfigGroup config = KConfigGroup())''' 5017 def save(self, config = KConfigGroup()): 5018 '''void KPluginInfo.save(KConfigGroup config = KConfigGroup())''' 5019 def config(self): 5020 '''KConfigGroup KPluginInfo.config()''' 5021 return KConfigGroup() 5022 def setConfig(self, config): 5023 '''void KPluginInfo.setConfig(KConfigGroup config)''' 5024 def kcmServices(self): 5025 '''unknown-type KPluginInfo.kcmServices()''' 5026 return unknown-type() 5027 def service(self): 5028 '''unknown-type KPluginInfo.service()''' 5029 return unknown-type() 5030 def dependencies(self): 5031 '''QStringList KPluginInfo.dependencies()''' 5032 return QStringList() 5033 def fullLicense(self): 5034 '''KAboutLicense KPluginInfo.fullLicense()''' 5035 return KAboutLicense() 5036 def license(self): 5037 '''QString KPluginInfo.license()''' 5038 return QString() 5039 def website(self): 5040 '''QString KPluginInfo.website()''' 5041 return QString() 5042 def version(self): 5043 '''QString KPluginInfo.version()''' 5044 return QString() 5045 def pluginName(self): 5046 '''QString KPluginInfo.pluginName()''' 5047 return QString() 5048 def category(self): 5049 '''QString KPluginInfo.category()''' 5050 return QString() 5051 def email(self): 5052 '''QString KPluginInfo.email()''' 5053 return QString() 5054 def author(self): 5055 '''QString KPluginInfo.author()''' 5056 return QString() 5057 def entryPath(self): 5058 '''QString KPluginInfo.entryPath()''' 5059 return QString() 5060 def icon(self): 5061 '''QString KPluginInfo.icon()''' 5062 return QString() 5063 def comment(self): 5064 '''QString KPluginInfo.comment()''' 5065 return QString() 5066 def name(self): 5067 '''QString KPluginInfo.name()''' 5068 return QString() 5069 def property(self, key): 5070 '''QVariant KPluginInfo.property(QString key)''' 5071 return QVariant() 5072 def isPluginEnabledByDefault(self): 5073 '''bool KPluginInfo.isPluginEnabledByDefault()''' 5074 return bool() 5075 def isPluginEnabled(self): 5076 '''bool KPluginInfo.isPluginEnabled()''' 5077 return bool() 5078 def setPluginEnabled(self, enabled): 5079 '''void KPluginInfo.setPluginEnabled(bool enabled)''' 5080 def isHidden(self): 5081 '''bool KPluginInfo.isHidden()''' 5082 return bool() 5083 def fromKPartsInstanceName(self, componentName, config = KConfigGroup()): 5084 '''static list-of-KPluginInfo KPluginInfo.fromKPartsInstanceName(QString componentName, KConfigGroup config = KConfigGroup())''' 5085 return [KPluginInfo()] 5086 def fromFiles(self, files, config = KConfigGroup()): 5087 '''static list-of-KPluginInfo KPluginInfo.fromFiles(QStringList files, KConfigGroup config = KConfigGroup())''' 5088 return [KPluginInfo()] 5089 def fromServices(self, services, config = KConfigGroup()): 5090 '''static list-of-KPluginInfo KPluginInfo.fromServices(unknown-type services, KConfigGroup config = KConfigGroup())''' 5091 return [KPluginInfo()] 5092 5093 5094 class KPluginLoader(QPluginLoader): 5095 """""" 5096 def __init__(self, plugin, componentdata = None, parent = None): 5097 '''void KPluginLoader.__init__(QString plugin, KComponentData componentdata = KGlobal.mainComponent(), QObject parent = None)''' 5098 def __init__(self, service, componentdata = None, parent = None): 5099 '''void KPluginLoader.__init__(KService service, KComponentData componentdata = KGlobal.mainComponent(), QObject parent = None)''' 5100 def load(self): 5101 '''bool KPluginLoader.load()''' 5102 return bool() 5103 def isLoaded(self): 5104 '''bool KPluginLoader.isLoaded()''' 5105 return bool() 5106 def errorString(self): 5107 '''QString KPluginLoader.errorString()''' 5108 return QString() 5109 def pluginVersion(self): 5110 '''int KPluginLoader.pluginVersion()''' 5111 return int() 5112 def pluginName(self): 5113 '''QString KPluginLoader.pluginName()''' 5114 return QString() 5115 def factory(self): 5116 '''KPluginFactory KPluginLoader.factory()''' 5117 return KPluginFactory() 5118 5119 5120 class KProcess(QProcess): 5121 """""" 5122 # Enum KProcess.OutputChannelMode 5123 SeparateChannels = 0 5124 MergedChannels = 0 5125 ForwardedChannels = 0 5126 OnlyStdoutChannel = 0 5127 OnlyStderrChannel = 0 5128 5129 def __init__(self, parent = None): 5130 '''void KProcess.__init__(QObject parent = None)''' 5131 def pid(self): 5132 '''int KProcess.pid()''' 5133 return int() 5134 def startDetached(self): 5135 '''int KProcess.startDetached()''' 5136 return int() 5137 def startDetached(self, exe, args = QStringList()): 5138 '''static int KProcess.startDetached(QString exe, QStringList args = QStringList())''' 5139 return int() 5140 def startDetached(self, argv): 5141 '''static int KProcess.startDetached(QStringList argv)''' 5142 return int() 5143 def execute(self, msecs = None): 5144 '''int KProcess.execute(int msecs = -1)''' 5145 return int() 5146 def execute(self, exe, args = QStringList(), msecs = None): 5147 '''static int KProcess.execute(QString exe, QStringList args = QStringList(), int msecs = -1)''' 5148 return int() 5149 def execute(self, argv, msecs = None): 5150 '''static int KProcess.execute(QStringList argv, int msecs = -1)''' 5151 return int() 5152 def start(self): 5153 '''void KProcess.start()''' 5154 def program(self): 5155 '''QStringList KProcess.program()''' 5156 return QStringList() 5157 def setShellCommand(self, cmd): 5158 '''void KProcess.setShellCommand(QString cmd)''' 5159 def clearProgram(self): 5160 '''void KProcess.clearProgram()''' 5161 def __lshift__(self, arg): 5162 '''KProcess KProcess.__lshift__(QString arg)''' 5163 return KProcess() 5164 def __lshift__(self, args): 5165 '''KProcess KProcess.__lshift__(QStringList args)''' 5166 return KProcess() 5167 def setProgram(self, exe, args = QStringList()): 5168 '''void KProcess.setProgram(QString exe, QStringList args = QStringList())''' 5169 def setProgram(self, argv): 5170 '''void KProcess.setProgram(QStringList argv)''' 5171 def clearEnvironment(self): 5172 '''void KProcess.clearEnvironment()''' 5173 def unsetEnv(self, name): 5174 '''void KProcess.unsetEnv(QString name)''' 5175 def setEnv(self, name, value, overwrite = True): 5176 '''void KProcess.setEnv(QString name, QString value, bool overwrite = True)''' 5177 def setNextOpenMode(self, mode): 5178 '''void KProcess.setNextOpenMode(QIODevice.OpenMode mode)''' 5179 def outputChannelMode(self): 5180 '''KProcess.OutputChannelMode KProcess.outputChannelMode()''' 5181 return KProcess.OutputChannelMode() 5182 def setOutputChannelMode(self, mode): 5183 '''void KProcess.setOutputChannelMode(KProcess.OutputChannelMode mode)''' 5184 5185 5186 class KProtocolInfo(KSycocaEntry): 5187 """""" 5188 # Enum KProtocolInfo.FileNameUsedForCopying 5189 Name = 0 5190 FromUrl = 0 5191 DisplayName = 0 5192 5193 # Enum KProtocolInfo.Type 5194 T_STREAM = 0 5195 T_FILESYSTEM = 0 5196 T_NONE = 0 5197 T_ERROR = 0 5198 5199 def __init__(self, _str, offset): 5200 '''void KProtocolInfo.__init__(QDataStream _str, int offset)''' 5201 def maxSlavesPerHost(self, protocol): 5202 '''static int KProtocolInfo.maxSlavesPerHost(QString protocol)''' 5203 return int() 5204 def fileNameUsedForCopying(self): 5205 '''KProtocolInfo.FileNameUsedForCopying KProtocolInfo.fileNameUsedForCopying()''' 5206 return KProtocolInfo.FileNameUsedForCopying() 5207 def canDeleteRecursive(self): 5208 '''bool KProtocolInfo.canDeleteRecursive()''' 5209 return bool() 5210 def canRenameToFile(self): 5211 '''bool KProtocolInfo.canRenameToFile()''' 5212 return bool() 5213 def canRenameFromFile(self): 5214 '''bool KProtocolInfo.canRenameFromFile()''' 5215 return bool() 5216 def archiveMimeTypes(self): 5217 '''QStringList KProtocolInfo.archiveMimeTypes()''' 5218 return QStringList() 5219 def defaultMimeType(self): 5220 '''QString KProtocolInfo.defaultMimeType()''' 5221 return QString() 5222 def supportsListing(self): 5223 '''bool KProtocolInfo.supportsListing()''' 5224 return bool() 5225 def proxiedBy(self, protocol): 5226 '''static QString KProtocolInfo.proxiedBy(QString protocol)''' 5227 return QString() 5228 def capabilities(self, protocol): 5229 '''static QStringList KProtocolInfo.capabilities(QString protocol)''' 5230 return QStringList() 5231 def showFilePreview(self, protocol): 5232 '''static bool KProtocolInfo.showFilePreview(QString protocol)''' 5233 return bool() 5234 def protocolClass(self, protocol): 5235 '''static QString KProtocolInfo.protocolClass(QString protocol)''' 5236 return QString() 5237 def docPath(self, protocol): 5238 '''static QString KProtocolInfo.docPath(QString protocol)''' 5239 return QString() 5240 def determineMimetypeFromExtension(self, protocol): 5241 '''static bool KProtocolInfo.determineMimetypeFromExtension(QString protocol)''' 5242 return bool() 5243 def maxSlaves(self, protocol): 5244 '''static int KProtocolInfo.maxSlaves(QString protocol)''' 5245 return int() 5246 def config(self, protocol): 5247 '''static QString KProtocolInfo.config(QString protocol)''' 5248 return QString() 5249 def icon(self, protocol): 5250 '''static QString KProtocolInfo.icon(QString protocol)''' 5251 return QString() 5252 def isFilterProtocol(self, url): 5253 '''static bool KProtocolInfo.isFilterProtocol(KUrl url)''' 5254 return bool() 5255 def isFilterProtocol(self, protocol): 5256 '''static bool KProtocolInfo.isFilterProtocol(QString protocol)''' 5257 return bool() 5258 def isHelperProtocol(self, url): 5259 '''static bool KProtocolInfo.isHelperProtocol(KUrl url)''' 5260 return bool() 5261 def isHelperProtocol(self, protocol): 5262 '''static bool KProtocolInfo.isHelperProtocol(QString protocol)''' 5263 return bool() 5264 def extraFields(self, url): 5265 '''static list-of-KProtocolInfo.ExtraField KProtocolInfo.extraFields(KUrl url)''' 5266 return [KProtocolInfo.ExtraField()] 5267 def exec_(self, protocol): 5268 '''static QString KProtocolInfo.exec_(QString protocol)''' 5269 return QString() 5270 def isKnownProtocol(self, url): 5271 '''static bool KProtocolInfo.isKnownProtocol(KUrl url)''' 5272 return bool() 5273 def isKnownProtocol(self, protocol): 5274 '''static bool KProtocolInfo.isKnownProtocol(QString protocol)''' 5275 return bool() 5276 def protocols(self): 5277 '''static QStringList KProtocolInfo.protocols()''' 5278 return QStringList() 5279 class ExtraField(): 5280 """""" 5281 # Enum KProtocolInfo.ExtraField.Type 5282 String = 0 5283 DateTime = 0 5284 Invalid = 0 5285 5286 name = None # QString - member 5287 type = None # KProtocolInfo.ExtraField.Type - member 5288 def __init__(self): 5289 '''void KProtocolInfo.ExtraField.__init__()''' 5290 def __init__(self, _name, _type): 5291 '''void KProtocolInfo.ExtraField.__init__(QString _name, KProtocolInfo.ExtraField.Type _type)''' 5292 def __init__(self): 5293 '''KProtocolInfo.ExtraField KProtocolInfo.ExtraField.__init__()''' 5294 return KProtocolInfo.ExtraField() 5295 5296 5297 class KPty(): 5298 """""" 5299 def __init__(self): 5300 '''void KPty.__init__()''' 5301 def slaveFd(self): 5302 '''int KPty.slaveFd()''' 5303 return int() 5304 def masterFd(self): 5305 '''int KPty.masterFd()''' 5306 return int() 5307 def ttyName(self): 5308 '''str KPty.ttyName()''' 5309 return str() 5310 def setEcho(self): 5311 '''bool KPty.setEcho()''' 5312 return bool() 5313 def setWinSize(self): 5314 '''int KPty.setWinSize()''' 5315 return int() 5316 def logout(self): 5317 '''void KPty.logout()''' 5318 def login(self): 5319 '''str KPty.login()''' 5320 return str() 5321 def setCTty(self): 5322 '''void KPty.setCTty()''' 5323 def closeSlave(self): 5324 '''void KPty.closeSlave()''' 5325 def close(self): 5326 '''void KPty.close()''' 5327 def open(self): 5328 '''bool KPty.open()''' 5329 return bool() 5330 5331 5332 class KPtyDevice(QIODevice, KPty): 5333 """""" 5334 def __init__(self): 5335 '''QObject KPtyDevice.__init__()''' 5336 return QObject() 5337 readEof = pyqtSignal() # void readEof() - signal 5338 readyRead = pyqtSignal() # void readyRead() - signal 5339 def waitForReadyRead(self): 5340 '''int KPtyDevice.waitForReadyRead()''' 5341 return int() 5342 def waitForBytesWritten(self): 5343 '''int KPtyDevice.waitForBytesWritten()''' 5344 return int() 5345 def bytesToWrite(self): 5346 '''int KPtyDevice.bytesToWrite()''' 5347 return int() 5348 def bytesAvailable(self): 5349 '''int KPtyDevice.bytesAvailable()''' 5350 return int() 5351 def atEnd(self): 5352 '''bool KPtyDevice.atEnd()''' 5353 return bool() 5354 def canReadLine(self): 5355 '''bool KPtyDevice.canReadLine()''' 5356 return bool() 5357 def isSequential(self): 5358 '''bool KPtyDevice.isSequential()''' 5359 return bool() 5360 def close(self): 5361 '''void KPtyDevice.close()''' 5362 def open(self): 5363 '''QIODevice.OpenMode KPtyDevice.open()''' 5364 return QIODevice.OpenMode() 5365 5366 5367 class KPtyProcess(KProcess): 5368 """""" 5369 # Enum KPtyProcess.PtyChannelFlag 5370 NoChannels = 0 5371 StdinChannel = 0 5372 StdoutChannel = 0 5373 StderrChannel = 0 5374 AllOutputChannels = 0 5375 AllChannels = 0 5376 5377 def __init__(self): 5378 '''QObject KPtyProcess.__init__()''' 5379 return QObject() 5380 def setupChildProcess(self): 5381 '''void KPtyProcess.setupChildProcess()''' 5382 def pty(self): 5383 '''KPtyDevice KPtyProcess.pty()''' 5384 return KPtyDevice() 5385 def isUseUtmp(self): 5386 '''bool KPtyProcess.isUseUtmp()''' 5387 return bool() 5388 def setUseUtmp(self): 5389 '''bool KPtyProcess.setUseUtmp()''' 5390 return bool() 5391 def ptyChannels(self): 5392 '''KPtyProcess.PtyChannels KPtyProcess.ptyChannels()''' 5393 return KPtyProcess.PtyChannels() 5394 def setPtyChannels(self): 5395 '''KPtyProcess.PtyChannels KPtyProcess.setPtyChannels()''' 5396 return KPtyProcess.PtyChannels() 5397 class PtyChannels(): 5398 """""" 5399 def __init__(self): 5400 '''KPtyProcess.PtyChannels KPtyProcess.PtyChannels.__init__()''' 5401 return KPtyProcess.PtyChannels() 5402 def __init__(self): 5403 '''int KPtyProcess.PtyChannels.__init__()''' 5404 return int() 5405 def __init__(self): 5406 '''void KPtyProcess.PtyChannels.__init__()''' 5407 def __bool__(self): 5408 '''int KPtyProcess.PtyChannels.__bool__()''' 5409 return int() 5410 def __ne__(self, f): 5411 '''bool KPtyProcess.PtyChannels.__ne__(KPtyProcess.PtyChannels f)''' 5412 return bool() 5413 def __eq__(self, f): 5414 '''bool KPtyProcess.PtyChannels.__eq__(KPtyProcess.PtyChannels f)''' 5415 return bool() 5416 def __invert__(self): 5417 '''KPtyProcess.PtyChannels KPtyProcess.PtyChannels.__invert__()''' 5418 return KPtyProcess.PtyChannels() 5419 def __and__(self, mask): 5420 '''KPtyProcess.PtyChannels KPtyProcess.PtyChannels.__and__(int mask)''' 5421 return KPtyProcess.PtyChannels() 5422 def __xor__(self, f): 5423 '''KPtyProcess.PtyChannels KPtyProcess.PtyChannels.__xor__(KPtyProcess.PtyChannels f)''' 5424 return KPtyProcess.PtyChannels() 5425 def __xor__(self, f): 5426 '''KPtyProcess.PtyChannels KPtyProcess.PtyChannels.__xor__(int f)''' 5427 return KPtyProcess.PtyChannels() 5428 def __or__(self, f): 5429 '''KPtyProcess.PtyChannels KPtyProcess.PtyChannels.__or__(KPtyProcess.PtyChannels f)''' 5430 return KPtyProcess.PtyChannels() 5431 def __or__(self, f): 5432 '''KPtyProcess.PtyChannels KPtyProcess.PtyChannels.__or__(int f)''' 5433 return KPtyProcess.PtyChannels() 5434 def __int__(self): 5435 '''int KPtyProcess.PtyChannels.__int__()''' 5436 return int() 5437 def __ixor__(self, f): 5438 '''KPtyProcess.PtyChannels KPtyProcess.PtyChannels.__ixor__(KPtyProcess.PtyChannels f)''' 5439 return KPtyProcess.PtyChannels() 5440 def __ior__(self, f): 5441 '''KPtyProcess.PtyChannels KPtyProcess.PtyChannels.__ior__(KPtyProcess.PtyChannels f)''' 5442 return KPtyProcess.PtyChannels() 5443 def __iand__(self, mask): 5444 '''KPtyProcess.PtyChannels KPtyProcess.PtyChannels.__iand__(int mask)''' 5445 return KPtyProcess.PtyChannels() 5446 5447 5448 class KRandom(): 5449 """""" 5450 def randomString(self, length): 5451 '''static QString KRandom.randomString(int length)''' 5452 return QString() 5453 def random(self): 5454 '''static int KRandom.random()''' 5455 return int() 5456 5457 5458 class KRandomSequence(): 5459 """""" 5460 def __init__(self, lngSeed = 0): 5461 '''void KRandomSequence.__init__(int lngSeed = 0)''' 5462 def __init__(self, a): 5463 '''void KRandomSequence.__init__(KRandomSequence a)''' 5464 def modulate(self, i): 5465 '''void KRandomSequence.modulate(int i)''' 5466 def getBool(self): 5467 '''bool KRandomSequence.getBool()''' 5468 return bool() 5469 def getLong(self, max): 5470 '''int KRandomSequence.getLong(int max)''' 5471 return int() 5472 def getDouble(self): 5473 '''float KRandomSequence.getDouble()''' 5474 return float() 5475 def setSeed(self, lngSeed = 0): 5476 '''void KRandomSequence.setSeed(int lngSeed = 0)''' 5477 5478 5479 class KSaveFile(QFile): 5480 """""" 5481 def __init__(self): 5482 '''void KSaveFile.__init__()''' 5483 def __init__(self, filename, componentData = None): 5484 '''void KSaveFile.__init__(QString filename, KComponentData componentData = KGlobal.mainComponent())''' 5485 def rcsBackupFile(self, filename, backupDir = QString(), backupMessage = QString()): 5486 '''static bool KSaveFile.rcsBackupFile(QString filename, QString backupDir = QString(), QString backupMessage = QString())''' 5487 return bool() 5488 def numberedBackupFile(self, filename, backupDir = QString(), backupExtension = None, maxBackups = 10): 5489 '''static bool KSaveFile.numberedBackupFile(QString filename, QString backupDir = QString(), QString backupExtension = QString.fromLatin1~, int maxBackups = 10)''' 5490 return bool() 5491 def simpleBackupFile(self, filename, backupDir = QString(), backupExtension = None): 5492 '''static bool KSaveFile.simpleBackupFile(QString filename, QString backupDir = QString(), QString backupExtension = QLatin1String~)''' 5493 return bool() 5494 def backupFile(self, filename, backupDir = QString()): 5495 '''static bool KSaveFile.backupFile(QString filename, QString backupDir = QString())''' 5496 return bool() 5497 def finalize(self): 5498 '''bool KSaveFile.finalize()''' 5499 return bool() 5500 def abort(self): 5501 '''void KSaveFile.abort()''' 5502 def open(self, flags = None): 5503 '''bool KSaveFile.open(QIODevice.OpenMode flags = QIODevice.ReadWrite)''' 5504 return bool() 5505 def errorString(self): 5506 '''QString KSaveFile.errorString()''' 5507 return QString() 5508 def error(self): 5509 '''QFile.FileError KSaveFile.error()''' 5510 return QFile.FileError() 5511 def fileName(self): 5512 '''QString KSaveFile.fileName()''' 5513 return QString() 5514 def setFileName(self, filename): 5515 '''void KSaveFile.setFileName(QString filename)''' 5516 5517 5518 class KService(KSycocaEntry): 5519 """""" 5520 # Enum KService.DBusStartupType 5521 DBusNone = 0 5522 DBusUnique = 0 5523 DBusMulti = 0 5524 DBusWait = 0 5525 5526 def __init__(self, name, exec_, icon): 5527 '''void KService.__init__(QString name, QString exec, QString icon)''' 5528 def __init__(self, fullpath): 5529 '''void KService.__init__(QString fullpath)''' 5530 def __init__(self, config): 5531 '''void KService.__init__(KDesktopFile config)''' 5532 def __init__(self, str, offset): 5533 '''void KService.__init__(QDataStream str, int offset)''' 5534 def mimeTypes(self): 5535 '''QStringList KService.mimeTypes()''' 5536 return QStringList() 5537 def showInKDE(self): 5538 '''bool KService.showInKDE()''' 5539 return bool() 5540 def newServicePath(self, showInMenu, suggestedName, menuId = None, reservedMenuIds = None): 5541 '''static QString KService.newServicePath(bool showInMenu, QString suggestedName, QString menuId = None, QStringList reservedMenuIds = None)''' 5542 return QString() 5543 def allServices(self): 5544 '''static unknown-type KService.allServices()''' 5545 return unknown-type() 5546 def serviceByStorageId(self, _storageId): 5547 '''static unknown-type KService.serviceByStorageId(QString _storageId)''' 5548 return unknown-type() 5549 def serviceByMenuId(self, _menuId): 5550 '''static unknown-type KService.serviceByMenuId(QString _menuId)''' 5551 return unknown-type() 5552 def serviceByDesktopName(self, _name): 5553 '''static unknown-type KService.serviceByDesktopName(QString _name)''' 5554 return unknown-type() 5555 def serviceByDesktopPath(self, _path): 5556 '''static unknown-type KService.serviceByDesktopPath(QString _path)''' 5557 return unknown-type() 5558 def serviceByName(self, _name): 5559 '''static unknown-type KService.serviceByName(QString _name)''' 5560 return unknown-type() 5561 def setTerminalOptions(self, options): 5562 '''void KService.setTerminalOptions(QString options)''' 5563 def setTerminal(self, b): 5564 '''void KService.setTerminal(bool b)''' 5565 def setMenuId(self, menuId): 5566 '''void KService.setMenuId(QString menuId)''' 5567 def locateLocal(self): 5568 '''QString KService.locateLocal()''' 5569 return QString() 5570 def property(self, _name, t): 5571 '''QVariant KService.property(QString _name, Type t)''' 5572 return QVariant() 5573 def docPath(self): 5574 '''QString KService.docPath()''' 5575 return QString() 5576 def pluginKeyword(self): 5577 '''QString KService.pluginKeyword()''' 5578 return QString() 5579 def parentApp(self): 5580 '''QString KService.parentApp()''' 5581 return QString() 5582 def noDisplay(self): 5583 '''bool KService.noDisplay()''' 5584 return bool() 5585 def initialPreference(self): 5586 '''int KService.initialPreference()''' 5587 return int() 5588 def allowMultipleFiles(self): 5589 '''bool KService.allowMultipleFiles()''' 5590 return bool() 5591 def actions(self): 5592 '''list-of-KServiceAction KService.actions()''' 5593 return [KServiceAction()] 5594 def allowAsDefault(self): 5595 '''bool KService.allowAsDefault()''' 5596 return bool() 5597 def hasMimeType(self, mimeTypePtr): 5598 '''bool KService.hasMimeType(KServiceType mimeTypePtr)''' 5599 return bool() 5600 def hasMimeType(self, mimeType): 5601 '''bool KService.hasMimeType(QString mimeType)''' 5602 return bool() 5603 def hasServiceType(self, serviceTypePtr): 5604 '''bool KService.hasServiceType(QString serviceTypePtr)''' 5605 return bool() 5606 def serviceTypes(self): 5607 '''QStringList KService.serviceTypes()''' 5608 return QStringList() 5609 def categories(self): 5610 '''QStringList KService.categories()''' 5611 return QStringList() 5612 def keywords(self): 5613 '''QStringList KService.keywords()''' 5614 return QStringList() 5615 def untranslatedGenericName(self): 5616 '''QString KService.untranslatedGenericName()''' 5617 return QString() 5618 def genericName(self): 5619 '''QString KService.genericName()''' 5620 return QString() 5621 def comment(self): 5622 '''QString KService.comment()''' 5623 return QString() 5624 def path(self): 5625 '''QString KService.path()''' 5626 return QString() 5627 def dbusStartupType(self): 5628 '''KService.DBusStartupType KService.dbusStartupType()''' 5629 return KService.DBusStartupType() 5630 def storageId(self): 5631 '''QString KService.storageId()''' 5632 return QString() 5633 def menuId(self): 5634 '''QString KService.menuId()''' 5635 return QString() 5636 def desktopEntryName(self): 5637 '''QString KService.desktopEntryName()''' 5638 return QString() 5639 def desktopEntryPath(self): 5640 '''QString KService.desktopEntryPath()''' 5641 return QString() 5642 def username(self): 5643 '''QString KService.username()''' 5644 return QString() 5645 def substituteUid(self): 5646 '''bool KService.substituteUid()''' 5647 return bool() 5648 def terminalOptions(self): 5649 '''QString KService.terminalOptions()''' 5650 return QString() 5651 def terminal(self): 5652 '''bool KService.terminal()''' 5653 return bool() 5654 def icon(self): 5655 '''QString KService.icon()''' 5656 return QString() 5657 def library(self): 5658 '''QString KService.library()''' 5659 return QString() 5660 def exec_(self): 5661 '''QString KService.exec_()''' 5662 return QString() 5663 def type(self): 5664 '''QString KService.type()''' 5665 return QString() 5666 def isApplication(self): 5667 '''bool KService.isApplication()''' 5668 return bool() 5669 5670 5671 class KServiceAction(): 5672 """""" 5673 def __init__(self, name, text, icon, exec_, noDisplay = False): 5674 '''void KServiceAction.__init__(QString name, QString text, QString icon, QString exec, bool noDisplay = False)''' 5675 def __init__(self): 5676 '''void KServiceAction.__init__()''' 5677 def __init__(self, other): 5678 '''void KServiceAction.__init__(KServiceAction other)''' 5679 def isSeparator(self): 5680 '''bool KServiceAction.isSeparator()''' 5681 return bool() 5682 def noDisplay(self): 5683 '''bool KServiceAction.noDisplay()''' 5684 return bool() 5685 def exec_(self): 5686 '''QString KServiceAction.exec_()''' 5687 return QString() 5688 def icon(self): 5689 '''QString KServiceAction.icon()''' 5690 return QString() 5691 def text(self): 5692 '''QString KServiceAction.text()''' 5693 return QString() 5694 def name(self): 5695 '''QString KServiceAction.name()''' 5696 return QString() 5697 def data(self): 5698 '''QVariant KServiceAction.data()''' 5699 return QVariant() 5700 def setData(self, userData): 5701 '''void KServiceAction.setData(QVariant userData)''' 5702 5703 5704 class KServiceGroup(KSycocaEntry): 5705 """""" 5706 # Enum KServiceGroup.EntriesOption 5707 NoOptions = 0 5708 SortEntries = 0 5709 ExcludeNoDisplay = 0 5710 AllowSeparators = 0 5711 SortByGenericName = 0 5712 5713 def __init__(self, name): 5714 '''void KServiceGroup.__init__(QString name)''' 5715 def __init__(self, _fullpath, _relpath): 5716 '''void KServiceGroup.__init__(QString _fullpath, QString _relpath)''' 5717 def __init__(self, _str, offset, deep): 5718 '''void KServiceGroup.__init__(QDataStream _str, int offset, bool deep)''' 5719 def addEntry(self, entry): 5720 '''void KServiceGroup.addEntry(unknown-type entry)''' 5721 def childGroup(self, parent): 5722 '''static unknown-type KServiceGroup.childGroup(QString parent)''' 5723 return unknown-type() 5724 def group(self, relPath): 5725 '''static unknown-type KServiceGroup.group(QString relPath)''' 5726 return unknown-type() 5727 def root(self): 5728 '''static unknown-type KServiceGroup.root()''' 5729 return unknown-type() 5730 def baseGroup(self, baseGroupName): 5731 '''static unknown-type KServiceGroup.baseGroup(QString baseGroupName)''' 5732 return unknown-type() 5733 def directoryEntryPath(self): 5734 '''QString KServiceGroup.directoryEntryPath()''' 5735 return QString() 5736 def baseGroupName(self): 5737 '''QString KServiceGroup.baseGroupName()''' 5738 return QString() 5739 def serviceEntries(self, options = None): 5740 '''unknown-type KServiceGroup.serviceEntries(KServiceGroup.EntriesOptions options = KServiceGroup.ExcludeNoDisplay)''' 5741 return unknown-type() 5742 def entries(self, sorted, excludeNoDisplay, allowSeparators, sortByGenericName = False): 5743 '''unknown-type KServiceGroup.entries(bool sorted, bool excludeNoDisplay, bool allowSeparators, bool sortByGenericName = False)''' 5744 return unknown-type() 5745 def entries(self, sorted, excludeNoDisplay): 5746 '''unknown-type KServiceGroup.entries(bool sorted, bool excludeNoDisplay)''' 5747 return unknown-type() 5748 def entries(self, sorted = False): 5749 '''unknown-type KServiceGroup.entries(bool sorted = False)''' 5750 return unknown-type() 5751 def layoutInfo(self): 5752 '''QStringList KServiceGroup.layoutInfo()''' 5753 return QStringList() 5754 def setLayoutInfo(self, layout): 5755 '''void KServiceGroup.setLayoutInfo(QStringList layout)''' 5756 def suppressGenericNames(self): 5757 '''QStringList KServiceGroup.suppressGenericNames()''' 5758 return QStringList() 5759 def setInlineValue(self, _val): 5760 '''void KServiceGroup.setInlineValue(int _val)''' 5761 def inlineValue(self): 5762 '''int KServiceGroup.inlineValue()''' 5763 return int() 5764 def setAllowInline(self, _b): 5765 '''void KServiceGroup.setAllowInline(bool _b)''' 5766 def allowInline(self): 5767 '''bool KServiceGroup.allowInline()''' 5768 return bool() 5769 def setInlineAlias(self, _b): 5770 '''void KServiceGroup.setInlineAlias(bool _b)''' 5771 def inlineAlias(self): 5772 '''bool KServiceGroup.inlineAlias()''' 5773 return bool() 5774 def setShowInlineHeader(self, _b): 5775 '''void KServiceGroup.setShowInlineHeader(bool _b)''' 5776 def showInlineHeader(self): 5777 '''bool KServiceGroup.showInlineHeader()''' 5778 return bool() 5779 def setShowEmptyMenu(self, b): 5780 '''void KServiceGroup.setShowEmptyMenu(bool b)''' 5781 def showEmptyMenu(self): 5782 '''bool KServiceGroup.showEmptyMenu()''' 5783 return bool() 5784 def noDisplay(self): 5785 '''bool KServiceGroup.noDisplay()''' 5786 return bool() 5787 def childCount(self): 5788 '''int KServiceGroup.childCount()''' 5789 return int() 5790 def comment(self): 5791 '''QString KServiceGroup.comment()''' 5792 return QString() 5793 def icon(self): 5794 '''QString KServiceGroup.icon()''' 5795 return QString() 5796 def caption(self): 5797 '''QString KServiceGroup.caption()''' 5798 return QString() 5799 def relPath(self): 5800 '''QString KServiceGroup.relPath()''' 5801 return QString() 5802 class EntriesOptions(): 5803 """""" 5804 def __init__(self): 5805 '''KServiceGroup.EntriesOptions KServiceGroup.EntriesOptions.__init__()''' 5806 return KServiceGroup.EntriesOptions() 5807 def __init__(self): 5808 '''int KServiceGroup.EntriesOptions.__init__()''' 5809 return int() 5810 def __init__(self): 5811 '''void KServiceGroup.EntriesOptions.__init__()''' 5812 def __bool__(self): 5813 '''int KServiceGroup.EntriesOptions.__bool__()''' 5814 return int() 5815 def __ne__(self, f): 5816 '''bool KServiceGroup.EntriesOptions.__ne__(KServiceGroup.EntriesOptions f)''' 5817 return bool() 5818 def __eq__(self, f): 5819 '''bool KServiceGroup.EntriesOptions.__eq__(KServiceGroup.EntriesOptions f)''' 5820 return bool() 5821 def __invert__(self): 5822 '''KServiceGroup.EntriesOptions KServiceGroup.EntriesOptions.__invert__()''' 5823 return KServiceGroup.EntriesOptions() 5824 def __and__(self, mask): 5825 '''KServiceGroup.EntriesOptions KServiceGroup.EntriesOptions.__and__(int mask)''' 5826 return KServiceGroup.EntriesOptions() 5827 def __xor__(self, f): 5828 '''KServiceGroup.EntriesOptions KServiceGroup.EntriesOptions.__xor__(KServiceGroup.EntriesOptions f)''' 5829 return KServiceGroup.EntriesOptions() 5830 def __xor__(self, f): 5831 '''KServiceGroup.EntriesOptions KServiceGroup.EntriesOptions.__xor__(int f)''' 5832 return KServiceGroup.EntriesOptions() 5833 def __or__(self, f): 5834 '''KServiceGroup.EntriesOptions KServiceGroup.EntriesOptions.__or__(KServiceGroup.EntriesOptions f)''' 5835 return KServiceGroup.EntriesOptions() 5836 def __or__(self, f): 5837 '''KServiceGroup.EntriesOptions KServiceGroup.EntriesOptions.__or__(int f)''' 5838 return KServiceGroup.EntriesOptions() 5839 def __int__(self): 5840 '''int KServiceGroup.EntriesOptions.__int__()''' 5841 return int() 5842 def __ixor__(self, f): 5843 '''KServiceGroup.EntriesOptions KServiceGroup.EntriesOptions.__ixor__(KServiceGroup.EntriesOptions f)''' 5844 return KServiceGroup.EntriesOptions() 5845 def __ior__(self, f): 5846 '''KServiceGroup.EntriesOptions KServiceGroup.EntriesOptions.__ior__(KServiceGroup.EntriesOptions f)''' 5847 return KServiceGroup.EntriesOptions() 5848 def __iand__(self, mask): 5849 '''KServiceGroup.EntriesOptions KServiceGroup.EntriesOptions.__iand__(int mask)''' 5850 return KServiceGroup.EntriesOptions() 5851 5852 5853 class KServiceTypeProfile(): 5854 """""" 5855 def hasProfile(self, serviceType): 5856 '''static bool KServiceTypeProfile.hasProfile(QString serviceType)''' 5857 return bool() 5858 def configurationMode(self): 5859 '''static bool KServiceTypeProfile.configurationMode()''' 5860 return bool() 5861 def setConfigurationMode(self): 5862 '''static void KServiceTypeProfile.setConfigurationMode()''' 5863 def deleteServiceTypeProfile(self, serviceType): 5864 '''static void KServiceTypeProfile.deleteServiceTypeProfile(QString serviceType)''' 5865 def writeServiceTypeProfile(self, serviceType, services, disabledServices = None): 5866 '''static void KServiceTypeProfile.writeServiceTypeProfile(QString serviceType, unknown-type services, unknown-type disabledServices = KService.List())''' 5867 5868 5869 class KServiceTypeTrader(): 5870 """""" 5871 def applyConstraints(self, lst, constraint): 5872 '''static void KServiceTypeTrader.applyConstraints(unknown-type lst, QString constraint)''' 5873 def self(self): 5874 '''static KServiceTypeTrader KServiceTypeTrader.self()''' 5875 return KServiceTypeTrader() 5876 def preferredService(self, serviceType): 5877 '''unknown-type KServiceTypeTrader.preferredService(QString serviceType)''' 5878 return unknown-type() 5879 def defaultOffers(self, serviceType, constraint = QString()): 5880 '''unknown-type KServiceTypeTrader.defaultOffers(QString serviceType, QString constraint = QString())''' 5881 return unknown-type() 5882 def query(self, servicetype, constraint = QString()): 5883 '''unknown-type KServiceTypeTrader.query(QString servicetype, QString constraint = QString())''' 5884 return unknown-type() 5885 5886 5887 class KSharedConfig(KConfig): 5888 """""" 5889 def openConfig(self, fileName = QString(), mode = None, resourceType = config): 5890 '''static unknown-type KSharedConfig.openConfig(QString fileName = QString(), KConfig.OpenFlags mode = KConfig.FullConfig, str resourceType = config)''' 5891 return unknown-type() 5892 def openConfig(self, componentData, fileName = QString(), mode = None, resourceType = config): 5893 '''static unknown-type KSharedConfig.openConfig(KComponentData componentData, QString fileName = QString(), KConfig.OpenFlags mode = KConfig.FullConfig, str resourceType = config)''' 5894 return unknown-type() 5895 5896 5897 class KShell(): 5898 """""" 5899 # Enum KShell.Errors 5900 NoError = 0 5901 BadQuoting = 0 5902 FoundMeta = 0 5903 5904 # Enum KShell.Option 5905 NoOptions = 0 5906 TildeExpand = 0 5907 AbortOnMeta = 0 5908 5909 def tildeExpand(self, path): 5910 '''static QString KShell.tildeExpand(QString path)''' 5911 return QString() 5912 def quoteArg(self, arg): 5913 '''static QString KShell.quoteArg(QString arg)''' 5914 return QString() 5915 def joinArgs(self, args): 5916 '''static QString KShell.joinArgs(QStringList args)''' 5917 return QString() 5918 def splitArgs(self, cmd, flags = None, err = None): 5919 '''static QStringList KShell.splitArgs(QString cmd, KShell.Options flags = KShell.NoOptions, KShell.Errors err)''' 5920 return QStringList() 5921 class Options(): 5922 """""" 5923 def __init__(self): 5924 '''KShell.Options KShell.Options.__init__()''' 5925 return KShell.Options() 5926 def __init__(self): 5927 '''int KShell.Options.__init__()''' 5928 return int() 5929 def __init__(self): 5930 '''void KShell.Options.__init__()''' 5931 def __bool__(self): 5932 '''int KShell.Options.__bool__()''' 5933 return int() 5934 def __ne__(self, f): 5935 '''bool KShell.Options.__ne__(KShell.Options f)''' 5936 return bool() 5937 def __eq__(self, f): 5938 '''bool KShell.Options.__eq__(KShell.Options f)''' 5939 return bool() 5940 def __invert__(self): 5941 '''KShell.Options KShell.Options.__invert__()''' 5942 return KShell.Options() 5943 def __and__(self, mask): 5944 '''KShell.Options KShell.Options.__and__(int mask)''' 5945 return KShell.Options() 5946 def __xor__(self, f): 5947 '''KShell.Options KShell.Options.__xor__(KShell.Options f)''' 5948 return KShell.Options() 5949 def __xor__(self, f): 5950 '''KShell.Options KShell.Options.__xor__(int f)''' 5951 return KShell.Options() 5952 def __or__(self, f): 5953 '''KShell.Options KShell.Options.__or__(KShell.Options f)''' 5954 return KShell.Options() 5955 def __or__(self, f): 5956 '''KShell.Options KShell.Options.__or__(int f)''' 5957 return KShell.Options() 5958 def __int__(self): 5959 '''int KShell.Options.__int__()''' 5960 return int() 5961 def __ixor__(self, f): 5962 '''KShell.Options KShell.Options.__ixor__(KShell.Options f)''' 5963 return KShell.Options() 5964 def __ior__(self, f): 5965 '''KShell.Options KShell.Options.__ior__(KShell.Options f)''' 5966 return KShell.Options() 5967 def __iand__(self, mask): 5968 '''KShell.Options KShell.Options.__iand__(int mask)''' 5969 return KShell.Options() 5970 5971 5972 class KSocketFactory(): 5973 """""" 5974 def proxyForDatagram(self, protocol, host): 5975 '''static QNetworkProxy KSocketFactory.proxyForDatagram(QString protocol, QString host)''' 5976 return QNetworkProxy() 5977 def proxyForListening(self, protocol): 5978 '''static QNetworkProxy KSocketFactory.proxyForListening(QString protocol)''' 5979 return QNetworkProxy() 5980 def proxyForConnection(self, protocol, host): 5981 '''static QNetworkProxy KSocketFactory.proxyForConnection(QString protocol, QString host)''' 5982 return QNetworkProxy() 5983 def datagramSocket(self, protocol, host, parent = None): 5984 '''static QUdpSocket KSocketFactory.datagramSocket(QString protocol, QString host, QObject parent = None)''' 5985 return QUdpSocket() 5986 def listen(self, protocol, address = None, port = 0, parent = None): 5987 '''static QTcpServer KSocketFactory.listen(QString protocol, QHostAddress address = QHostAddress.Any, int port = 0, QObject parent = None)''' 5988 return QTcpServer() 5989 def synchronousConnectToHost(self, protocol, host, port, msecs = 30000, parent = None): 5990 '''static QTcpSocket KSocketFactory.synchronousConnectToHost(QString protocol, QString host, int port, int msecs = 30000, QObject parent = None)''' 5991 return QTcpSocket() 5992 def synchronousConnectToHost(self, url, msecs = 30000, parent = None): 5993 '''static QTcpSocket KSocketFactory.synchronousConnectToHost(QUrl url, int msecs = 30000, QObject parent = None)''' 5994 return QTcpSocket() 5995 def synchronousConnectToHost(self, socket, protocol, host, port, msecs = 30000): 5996 '''static void KSocketFactory.synchronousConnectToHost(QTcpSocket socket, QString protocol, QString host, int port, int msecs = 30000)''' 5997 def synchronousConnectToHost(self, socket, url, msecs = 30000): 5998 '''static void KSocketFactory.synchronousConnectToHost(QTcpSocket socket, QUrl url, int msecs = 30000)''' 5999 def connectToHost(self, protocol, host, port, parent = None): 6000 '''static QTcpSocket KSocketFactory.connectToHost(QString protocol, QString host, int port, QObject parent = None)''' 6001 return QTcpSocket() 6002 def connectToHost(self, url, parent = None): 6003 '''static QTcpSocket KSocketFactory.connectToHost(QUrl url, QObject parent = None)''' 6004 return QTcpSocket() 6005 def connectToHost(self, socket, protocol, host, port): 6006 '''static void KSocketFactory.connectToHost(QTcpSocket socket, QString protocol, QString host, int port)''' 6007 def connectToHost(self, socket, url): 6008 '''static void KSocketFactory.connectToHost(QTcpSocket socket, QUrl url)''' 6009 6010 6011 class KStandardDirs(): 6012 """""" 6013 # Enum KStandardDirs.SearchOption 6014 NoSearchOptions = 0 6015 Recursive = 0 6016 NoDuplicates = 0 6017 IgnoreExecBit = 0 6018 6019 def __init__(self): 6020 '''void KStandardDirs.__init__()''' 6021 def checkAccess(self, pathname, mode): 6022 '''static bool KStandardDirs.checkAccess(QString pathname, int mode)''' 6023 return bool() 6024 def locateLocal(self, type, filename, cData = None): 6025 '''static QString KStandardDirs.locateLocal(str type, QString filename, KComponentData cData = KGlobal.mainComponent())''' 6026 return QString() 6027 def locateLocal(self, type, filename, createDir, cData = None): 6028 '''static QString KStandardDirs.locateLocal(str type, QString filename, bool createDir, KComponentData cData = KGlobal.mainComponent())''' 6029 return QString() 6030 def locate(self, type, filename, cData = None): 6031 '''static QString KStandardDirs.locate(str type, QString filename, KComponentData cData = KGlobal.mainComponent())''' 6032 return QString() 6033 def realFilePath(self, filename): 6034 '''static QString KStandardDirs.realFilePath(QString filename)''' 6035 return QString() 6036 def realPath(self, dirname): 6037 '''static QString KStandardDirs.realPath(QString dirname)''' 6038 return QString() 6039 def exists(self, fullPath): 6040 '''static bool KStandardDirs.exists(QString fullPath)''' 6041 return bool() 6042 def installPath(self, type): 6043 '''static QString KStandardDirs.installPath(str type)''' 6044 return QString() 6045 def localxdgconfdir(self): 6046 '''QString KStandardDirs.localxdgconfdir()''' 6047 return QString() 6048 def localxdgdatadir(self): 6049 '''QString KStandardDirs.localxdgdatadir()''' 6050 return QString() 6051 def localkdedir(self): 6052 '''QString KStandardDirs.localkdedir()''' 6053 return QString() 6054 def kfsstnd_xdg_data_prefixes(self): 6055 '''QString KStandardDirs.kfsstnd_xdg_data_prefixes()''' 6056 return QString() 6057 def kfsstnd_xdg_conf_prefixes(self): 6058 '''QString KStandardDirs.kfsstnd_xdg_conf_prefixes()''' 6059 return QString() 6060 def kfsstnd_prefixes(self): 6061 '''QString KStandardDirs.kfsstnd_prefixes()''' 6062 return QString() 6063 def kde_default(self, type): 6064 '''static QString KStandardDirs.kde_default(str type)''' 6065 return QString() 6066 def makeDir(self, dir, mode = 493): 6067 '''static bool KStandardDirs.makeDir(QString dir, int mode = 493)''' 6068 return bool() 6069 def relativeLocation(self, type, absPath): 6070 '''QString KStandardDirs.relativeLocation(str type, QString absPath)''' 6071 return QString() 6072 def saveLocation(self, type, suffix = QString(), create = True): 6073 '''QString KStandardDirs.saveLocation(str type, QString suffix = QString(), bool create = True)''' 6074 return QString() 6075 def allTypes(self): 6076 '''QStringList KStandardDirs.allTypes()''' 6077 return QStringList() 6078 def resourceDirs(self, type): 6079 '''QStringList KStandardDirs.resourceDirs(str type)''' 6080 return QStringList() 6081 def addCustomized(self, config): 6082 '''bool KStandardDirs.addCustomized(KConfig config)''' 6083 return bool() 6084 def findAllExe(self, list, appname, pathstr = QString(), options = None): 6085 '''static int KStandardDirs.findAllExe(QStringList list, QString appname, QString pathstr = QString(), KStandardDirs.SearchOptions options = KStandardDirs.NoSearchOptions)''' 6086 return int() 6087 def findExe(self, appname, pathstr = QString(), options = None): 6088 '''static QString KStandardDirs.findExe(QString appname, QString pathstr = QString(), KStandardDirs.SearchOptions options = KStandardDirs.NoSearchOptions)''' 6089 return QString() 6090 def systemPaths(self, pstr = QString()): 6091 '''static QStringList KStandardDirs.systemPaths(QString pstr = QString())''' 6092 return QStringList() 6093 def findAllResources(self, type, filter = QString(), options = None): 6094 '''QStringList KStandardDirs.findAllResources(str type, QString filter = QString(), KStandardDirs.SearchOptions options = KStandardDirs.NoSearchOptions)''' 6095 return QStringList() 6096 def findAllResources(self, type, filter, options, relPaths): 6097 '''QStringList KStandardDirs.findAllResources(str type, QString filter, KStandardDirs.SearchOptions options, QStringList relPaths)''' 6098 return QStringList() 6099 def findResourceDir(self, type, filename): 6100 '''QString KStandardDirs.findResourceDir(str type, QString filename)''' 6101 return QString() 6102 def findDirs(self, type, reldir): 6103 '''QStringList KStandardDirs.findDirs(str type, QString reldir)''' 6104 return QStringList() 6105 def calcResourceHash(self, type, filename, options = None): 6106 '''int KStandardDirs.calcResourceHash(str type, QString filename, KStandardDirs.SearchOptions options = KStandardDirs.NoSearchOptions)''' 6107 return int() 6108 def isRestrictedResource(self, type, relPath = QString()): 6109 '''bool KStandardDirs.isRestrictedResource(str type, QString relPath = QString())''' 6110 return bool() 6111 def findResource(self, type, filename): 6112 '''QString KStandardDirs.findResource(str type, QString filename)''' 6113 return QString() 6114 def addResourceDir(self, type, absdir, priority = True): 6115 '''bool KStandardDirs.addResourceDir(str type, QString absdir, bool priority = True)''' 6116 return bool() 6117 def addResourceType(self, type, relativename, priority = True): 6118 '''bool KStandardDirs.addResourceType(str type, QString relativename, bool priority = True)''' 6119 return bool() 6120 def addResourceType(self, type, basetype, relativename, priority = True): 6121 '''bool KStandardDirs.addResourceType(str type, str basetype, QString relativename, bool priority = True)''' 6122 return bool() 6123 def addResourceType(self, type, basetype, relativename, priority = True): 6124 '''bool KStandardDirs.addResourceType(str type, str basetype, str relativename, bool priority = True)''' 6125 return bool() 6126 def addXdgDataPrefix(self, dir): 6127 '''void KStandardDirs.addXdgDataPrefix(QString dir)''' 6128 def addXdgConfigPrefix(self, dir): 6129 '''void KStandardDirs.addXdgConfigPrefix(QString dir)''' 6130 def addPrefix(self, dir): 6131 '''void KStandardDirs.addPrefix(QString dir)''' 6132 class SearchOptions(): 6133 """""" 6134 def __init__(self): 6135 '''KStandardDirs.SearchOptions KStandardDirs.SearchOptions.__init__()''' 6136 return KStandardDirs.SearchOptions() 6137 def __init__(self): 6138 '''int KStandardDirs.SearchOptions.__init__()''' 6139 return int() 6140 def __init__(self): 6141 '''void KStandardDirs.SearchOptions.__init__()''' 6142 def __bool__(self): 6143 '''int KStandardDirs.SearchOptions.__bool__()''' 6144 return int() 6145 def __ne__(self, f): 6146 '''bool KStandardDirs.SearchOptions.__ne__(KStandardDirs.SearchOptions f)''' 6147 return bool() 6148 def __eq__(self, f): 6149 '''bool KStandardDirs.SearchOptions.__eq__(KStandardDirs.SearchOptions f)''' 6150 return bool() 6151 def __invert__(self): 6152 '''KStandardDirs.SearchOptions KStandardDirs.SearchOptions.__invert__()''' 6153 return KStandardDirs.SearchOptions() 6154 def __and__(self, mask): 6155 '''KStandardDirs.SearchOptions KStandardDirs.SearchOptions.__and__(int mask)''' 6156 return KStandardDirs.SearchOptions() 6157 def __xor__(self, f): 6158 '''KStandardDirs.SearchOptions KStandardDirs.SearchOptions.__xor__(KStandardDirs.SearchOptions f)''' 6159 return KStandardDirs.SearchOptions() 6160 def __xor__(self, f): 6161 '''KStandardDirs.SearchOptions KStandardDirs.SearchOptions.__xor__(int f)''' 6162 return KStandardDirs.SearchOptions() 6163 def __or__(self, f): 6164 '''KStandardDirs.SearchOptions KStandardDirs.SearchOptions.__or__(KStandardDirs.SearchOptions f)''' 6165 return KStandardDirs.SearchOptions() 6166 def __or__(self, f): 6167 '''KStandardDirs.SearchOptions KStandardDirs.SearchOptions.__or__(int f)''' 6168 return KStandardDirs.SearchOptions() 6169 def __int__(self): 6170 '''int KStandardDirs.SearchOptions.__int__()''' 6171 return int() 6172 def __ixor__(self, f): 6173 '''KStandardDirs.SearchOptions KStandardDirs.SearchOptions.__ixor__(KStandardDirs.SearchOptions f)''' 6174 return KStandardDirs.SearchOptions() 6175 def __ior__(self, f): 6176 '''KStandardDirs.SearchOptions KStandardDirs.SearchOptions.__ior__(KStandardDirs.SearchOptions f)''' 6177 return KStandardDirs.SearchOptions() 6178 def __iand__(self, mask): 6179 '''KStandardDirs.SearchOptions KStandardDirs.SearchOptions.__iand__(int mask)''' 6180 return KStandardDirs.SearchOptions() 6181 6182 6183 class KStringHandler(): 6184 """""" 6185 def preProcessWrap(self, text): 6186 '''static QString KStringHandler.preProcessWrap(QString text)''' 6187 return QString() 6188 def naturalCompare(self, a, b, caseSensitivity = None): 6189 '''static int KStringHandler.naturalCompare(QString a, QString b, Qt.CaseSensitivity caseSensitivity = Qt.CaseSensitive)''' 6190 return int() 6191 def from8Bit(self, str): 6192 '''static QString KStringHandler.from8Bit(str str)''' 6193 return QString() 6194 def isUtf8(self, str): 6195 '''static bool KStringHandler.isUtf8(str str)''' 6196 return bool() 6197 def obscure(self, str): 6198 '''static QString KStringHandler.obscure(QString str)''' 6199 return QString() 6200 def tagUrls(self, text): 6201 '''static QString KStringHandler.tagUrls(QString text)''' 6202 return QString() 6203 def perlSplit(self, sep, s, max = 0): 6204 '''static QStringList KStringHandler.perlSplit(QString sep, QString s, int max = 0)''' 6205 return QStringList() 6206 def perlSplit(self, sep, s, max = 0): 6207 '''static QStringList KStringHandler.perlSplit(QChar sep, QString s, int max = 0)''' 6208 return QStringList() 6209 def perlSplit(self, sep, s, max = 0): 6210 '''static QStringList KStringHandler.perlSplit(QRegExp sep, QString s, int max = 0)''' 6211 return QStringList() 6212 def rsqueeze(self, str, maxlen = 40): 6213 '''static QString KStringHandler.rsqueeze(QString str, int maxlen = 40)''' 6214 return QString() 6215 def csqueeze(self, str, maxlen = 40): 6216 '''static QString KStringHandler.csqueeze(QString str, int maxlen = 40)''' 6217 return QString() 6218 def lsqueeze(self, str, maxlen = 40): 6219 '''static QString KStringHandler.lsqueeze(QString str, int maxlen = 40)''' 6220 return QString() 6221 def capwords(self, text): 6222 '''static QString KStringHandler.capwords(QString text)''' 6223 return QString() 6224 def capwords(self, list): 6225 '''static QStringList KStringHandler.capwords(QStringList list)''' 6226 return QStringList() 6227 6228 6229 class KSycoca(QObject): 6230 """""" 6231 # Enum KSycoca.DatabaseType 6232 LocalDatabase = 0 6233 GlobalDatabase = 0 6234 6235 def __init__(self): 6236 '''bool KSycoca.__init__()''' 6237 return bool() 6238 def __init__(self): 6239 '''void KSycoca.__init__()''' 6240 databaseChanged = pyqtSignal() # void databaseChanged() - signal 6241 databaseChanged = pyqtSignal() # void databaseChanged(const QStringListamp;) - signal 6242 def readError(self): 6243 '''static bool KSycoca.readError()''' 6244 return bool() 6245 def flagError(self): 6246 '''static void KSycoca.flagError()''' 6247 def isChanged(self, type): 6248 '''static bool KSycoca.isChanged(str type)''' 6249 return bool() 6250 def disableAutoRebuild(self): 6251 '''static void KSycoca.disableAutoRebuild()''' 6252 def isBuilding(self): 6253 '''bool KSycoca.isBuilding()''' 6254 return bool() 6255 def allResourceDirs(self): 6256 '''QStringList KSycoca.allResourceDirs()''' 6257 return QStringList() 6258 def updateSignature(self): 6259 '''int KSycoca.updateSignature()''' 6260 return int() 6261 def timeStamp(self): 6262 '''int KSycoca.timeStamp()''' 6263 return int() 6264 def language(self): 6265 '''QString KSycoca.language()''' 6266 return QString() 6267 def absoluteFilePath(self, type = None): 6268 '''static QString KSycoca.absoluteFilePath(KSycoca.DatabaseType type = KSycoca.LocalDatabase)''' 6269 return QString() 6270 def kfsstnd_prefixes(self): 6271 '''QString KSycoca.kfsstnd_prefixes()''' 6272 return QString() 6273 def findFactory(self, id): 6274 '''QDataStream KSycoca.findFactory(KSycocaFactoryId id)''' 6275 return QDataStream() 6276 def findEntry(self, offset, type): 6277 '''QDataStream KSycoca.findEntry(int offset, KSycocaType type)''' 6278 return QDataStream() 6279 def isAvailable(self): 6280 '''static bool KSycoca.isAvailable()''' 6281 return bool() 6282 def version(self): 6283 '''static int KSycoca.version()''' 6284 return int() 6285 def self(self): 6286 '''static KSycoca KSycoca.self()''' 6287 return KSycoca() 6288 6289 6290 class KSystemTimeZones(QObject): 6291 """""" 6292 def isTimeZoneDaemonAvailable(self): 6293 '''static bool KSystemTimeZones.isTimeZoneDaemonAvailable()''' 6294 return bool() 6295 def isSimulated(self): 6296 '''static bool KSystemTimeZones.isSimulated()''' 6297 return bool() 6298 def setLocalZone(self, tz): 6299 '''static void KSystemTimeZones.setLocalZone(KTimeZone tz)''' 6300 def realLocalZone(self): 6301 '''static KTimeZone KSystemTimeZones.realLocalZone()''' 6302 return KTimeZone() 6303 def zoneinfoDir(self): 6304 '''static QString KSystemTimeZones.zoneinfoDir()''' 6305 return QString() 6306 def local(self): 6307 '''static KTimeZone KSystemTimeZones.local()''' 6308 return KTimeZone() 6309 def readZone(self, name): 6310 '''static KTimeZone KSystemTimeZones.readZone(QString name)''' 6311 return KTimeZone() 6312 def zone(self, name): 6313 '''static KTimeZone KSystemTimeZones.zone(QString name)''' 6314 return KTimeZone() 6315 def zones(self): 6316 '''static dict-of-QString-KTimeZone KSystemTimeZones.zones()''' 6317 return dict-of-QString-KTimeZone() 6318 def timeZones(self): 6319 '''static KTimeZones KSystemTimeZones.timeZones()''' 6320 return KTimeZones() 6321 6322 6323 class KTimeZone(): 6324 """""" 6325 InvalidOffset = None # int - member 6326 InvalidTime_t = None # int - member 6327 UNKNOWN = None # float - member 6328 def __init__(self, name): 6329 '''void KTimeZone.__init__(QString name)''' 6330 def __init__(self, tz): 6331 '''void KTimeZone.__init__(KTimeZone tz)''' 6332 def __init__(self, impl): 6333 '''void KTimeZone.__init__(KTimeZoneBackend impl)''' 6334 def setData(self, data, source = None): 6335 '''void KTimeZone.setData(KTimeZoneData data, KTimeZoneSource source = None)''' 6336 def utc(self): 6337 '''static KTimeZone KTimeZone.utc()''' 6338 return KTimeZone() 6339 def toTime_t(self, utcDateTime): 6340 '''static int KTimeZone.toTime_t(QDateTime utcDateTime)''' 6341 return int() 6342 def fromTime_t(self, t): 6343 '''static QDateTime KTimeZone.fromTime_t(int t)''' 6344 return QDateTime() 6345 def updateBase(self, other): 6346 '''bool KTimeZone.updateBase(KTimeZone other)''' 6347 return bool() 6348 def data(self, create = False): 6349 '''KTimeZoneData KTimeZone.data(bool create = False)''' 6350 return KTimeZoneData() 6351 def parse(self): 6352 '''bool KTimeZone.parse()''' 6353 return bool() 6354 def source(self): 6355 '''KTimeZoneSource KTimeZone.source()''' 6356 return KTimeZoneSource() 6357 def leapSecondChanges(self): 6358 '''list-of-KTimeZone.LeapSeconds KTimeZone.leapSecondChanges()''' 6359 return [KTimeZone.LeapSeconds()] 6360 def transitionTimes(self, phase, start = QDateTime(), end = QDateTime()): 6361 '''list-of-QDateTime KTimeZone.transitionTimes(KTimeZone.Phase phase, QDateTime start = QDateTime(), QDateTime end = QDateTime())''' 6362 return [QDateTime()] 6363 def transitionIndex(self, dt, secondIndex, validTime): 6364 '''int KTimeZone.transitionIndex(QDateTime dt, int secondIndex, bool validTime)''' 6365 return int() 6366 def transitions(self, start = QDateTime(), end = QDateTime()): 6367 '''list-of-KTimeZone.Transition KTimeZone.transitions(QDateTime start = QDateTime(), QDateTime end = QDateTime())''' 6368 return [KTimeZone.Transition()] 6369 def hasTransitions(self): 6370 '''bool KTimeZone.hasTransitions()''' 6371 return bool() 6372 def phases(self): 6373 '''list-of-KTimeZone.Phase KTimeZone.phases()''' 6374 return [KTimeZone.Phase()] 6375 def isDst(self, t): 6376 '''bool KTimeZone.isDst(int t)''' 6377 return bool() 6378 def isDstAtUtc(self, utcDateTime): 6379 '''bool KTimeZone.isDstAtUtc(QDateTime utcDateTime)''' 6380 return bool() 6381 def offset(self, t): 6382 '''int KTimeZone.offset(int t)''' 6383 return int() 6384 def offsetAtUtc(self, utcDateTime): 6385 '''int KTimeZone.offsetAtUtc(QDateTime utcDateTime)''' 6386 return int() 6387 def offsetAtZoneTime(self, zoneDateTime, secondOffset): 6388 '''int KTimeZone.offsetAtZoneTime(QDateTime zoneDateTime, int secondOffset)''' 6389 return int() 6390 def currentOffset(self, basis = None): 6391 '''int KTimeZone.currentOffset(Qt.TimeSpec basis = Qt.UTC)''' 6392 return int() 6393 def toZoneTime(self, utcDateTime, secondOccurrence): 6394 '''QDateTime KTimeZone.toZoneTime(QDateTime utcDateTime, bool secondOccurrence)''' 6395 return QDateTime() 6396 def toUtc(self, zoneDateTime): 6397 '''QDateTime KTimeZone.toUtc(QDateTime zoneDateTime)''' 6398 return QDateTime() 6399 def convert(self, newZone, zoneDateTime): 6400 '''QDateTime KTimeZone.convert(KTimeZone newZone, QDateTime zoneDateTime)''' 6401 return QDateTime() 6402 def utcOffsets(self): 6403 '''list-of-int KTimeZone.utcOffsets()''' 6404 return [int()] 6405 def abbreviation(self, utcDateTime): 6406 '''QByteArray KTimeZone.abbreviation(QDateTime utcDateTime)''' 6407 return QByteArray() 6408 def abbreviations(self): 6409 '''list-of-QByteArray KTimeZone.abbreviations()''' 6410 return [QByteArray()] 6411 def comment(self): 6412 '''QString KTimeZone.comment()''' 6413 return QString() 6414 def longitude(self): 6415 '''float KTimeZone.longitude()''' 6416 return float() 6417 def latitude(self): 6418 '''float KTimeZone.latitude()''' 6419 return float() 6420 def countryCode(self): 6421 '''QString KTimeZone.countryCode()''' 6422 return QString() 6423 def name(self): 6424 '''QString KTimeZone.name()''' 6425 return QString() 6426 def isValid(self): 6427 '''bool KTimeZone.isValid()''' 6428 return bool() 6429 def type(self): 6430 '''QByteArray KTimeZone.type()''' 6431 return QByteArray() 6432 def __ne__(self, rhs): 6433 '''bool KTimeZone.__ne__(KTimeZone rhs)''' 6434 return bool() 6435 def __eq__(self, rhs): 6436 '''bool KTimeZone.__eq__(KTimeZone rhs)''' 6437 return bool() 6438 class Phase(): 6439 """""" 6440 def __init__(self): 6441 '''void KTimeZone.Phase.__init__()''' 6442 def __init__(self, utcOffset, abbreviations, dst, comment = QString()): 6443 '''void KTimeZone.Phase.__init__(int utcOffset, QByteArray abbreviations, bool dst, QString comment = QString())''' 6444 def __init__(self, utcOffset, abbreviations, dst, comment = QString()): 6445 '''void KTimeZone.Phase.__init__(int utcOffset, list-of-QByteArray abbreviations, bool dst, QString comment = QString())''' 6446 def __init__(self, rhs): 6447 '''void KTimeZone.Phase.__init__(KTimeZone.Phase rhs)''' 6448 def comment(self): 6449 '''QString KTimeZone.Phase.comment()''' 6450 return QString() 6451 def isDst(self): 6452 '''bool KTimeZone.Phase.isDst()''' 6453 return bool() 6454 def abbreviations(self): 6455 '''list-of-QByteArray KTimeZone.Phase.abbreviations()''' 6456 return [QByteArray()] 6457 def utcOffset(self): 6458 '''int KTimeZone.Phase.utcOffset()''' 6459 return int() 6460 def __ne__(self, rhs): 6461 '''bool KTimeZone.Phase.__ne__(KTimeZone.Phase rhs)''' 6462 return bool() 6463 def __eq__(self, rhs): 6464 '''bool KTimeZone.Phase.__eq__(KTimeZone.Phase rhs)''' 6465 return bool() 6466 class LeapSeconds(): 6467 """""" 6468 def __init__(self): 6469 '''void KTimeZone.LeapSeconds.__init__()''' 6470 def __init__(self, utcTime, leapSeconds, comment = QString()): 6471 '''void KTimeZone.LeapSeconds.__init__(QDateTime utcTime, int leapSeconds, QString comment = QString())''' 6472 def __init__(self, c): 6473 '''void KTimeZone.LeapSeconds.__init__(KTimeZone.LeapSeconds c)''' 6474 def __ge__(self, c): 6475 '''bool KTimeZone.LeapSeconds.__ge__(KTimeZone.LeapSeconds c)''' 6476 return bool() 6477 def comment(self): 6478 '''QString KTimeZone.LeapSeconds.comment()''' 6479 return QString() 6480 def leapSeconds(self): 6481 '''int KTimeZone.LeapSeconds.leapSeconds()''' 6482 return int() 6483 def dateTime(self): 6484 '''QDateTime KTimeZone.LeapSeconds.dateTime()''' 6485 return QDateTime() 6486 def isValid(self): 6487 '''bool KTimeZone.LeapSeconds.isValid()''' 6488 return bool() 6489 def __lt__(self, c): 6490 '''bool KTimeZone.LeapSeconds.__lt__(KTimeZone.LeapSeconds c)''' 6491 return bool() 6492 class Transition(): 6493 """""" 6494 def __init__(self): 6495 '''void KTimeZone.Transition.__init__()''' 6496 def __init__(self, dt, phase): 6497 '''void KTimeZone.Transition.__init__(QDateTime dt, KTimeZone.Phase phase)''' 6498 def __init__(self, t): 6499 '''void KTimeZone.Transition.__init__(KTimeZone.Transition t)''' 6500 def __ge__(self, rhs): 6501 '''bool KTimeZone.Transition.__ge__(KTimeZone.Transition rhs)''' 6502 return bool() 6503 def __lt__(self, rhs): 6504 '''bool KTimeZone.Transition.__lt__(KTimeZone.Transition rhs)''' 6505 return bool() 6506 def phase(self): 6507 '''KTimeZone.Phase KTimeZone.Transition.phase()''' 6508 return KTimeZone.Phase() 6509 def time(self): 6510 '''QDateTime KTimeZone.Transition.time()''' 6511 return QDateTime() 6512 6513 6514 class KSystemTimeZone(KTimeZone): 6515 """""" 6516 def __init__(self, source, name, countryCode = QString(), latitude = None, longitude = None, comment = QString()): 6517 '''void KSystemTimeZone.__init__(KSystemTimeZoneSource source, QString name, QString countryCode = QString(), float latitude = KTimeZone.UNKNOWN, float longitude = KTimeZone.UNKNOWN, QString comment = QString())''' 6518 def __init__(self): 6519 '''KSystemTimeZone KSystemTimeZone.__init__()''' 6520 return KSystemTimeZone() 6521 6522 6523 class KTimeZoneBackend(): 6524 """""" 6525 def __init__(self): 6526 '''void KTimeZoneBackend.__init__()''' 6527 def __init__(self, name): 6528 '''void KTimeZoneBackend.__init__(QString name)''' 6529 def __init__(self, other): 6530 '''void KTimeZoneBackend.__init__(KTimeZoneBackend other)''' 6531 def __init__(self, source, name, countryCode = QString(), latitude = None, longitude = None, comment = QString()): 6532 '''void KTimeZoneBackend.__init__(KTimeZoneSource source, QString name, QString countryCode = QString(), float latitude = KTimeZone.UNKNOWN, float longitude = KTimeZone.UNKNOWN, QString comment = QString())''' 6533 def hasTransitions(self, caller): 6534 '''bool KTimeZoneBackend.hasTransitions(KTimeZone caller)''' 6535 return bool() 6536 def isDst(self, caller, t): 6537 '''bool KTimeZoneBackend.isDst(KTimeZone caller, int t)''' 6538 return bool() 6539 def isDstAtUtc(self, caller, utcDateTime): 6540 '''bool KTimeZoneBackend.isDstAtUtc(KTimeZone caller, QDateTime utcDateTime)''' 6541 return bool() 6542 def offset(self, caller, t): 6543 '''int KTimeZoneBackend.offset(KTimeZone caller, int t)''' 6544 return int() 6545 def offsetAtUtc(self, caller, utcDateTime): 6546 '''int KTimeZoneBackend.offsetAtUtc(KTimeZone caller, QDateTime utcDateTime)''' 6547 return int() 6548 def offsetAtZoneTime(self, caller, zoneDateTime, secondOffset): 6549 '''int KTimeZoneBackend.offsetAtZoneTime(KTimeZone caller, QDateTime zoneDateTime, int secondOffset)''' 6550 return int() 6551 def type(self): 6552 '''QByteArray KTimeZoneBackend.type()''' 6553 return QByteArray() 6554 def clone(self): 6555 '''KTimeZoneBackend KTimeZoneBackend.clone()''' 6556 return KTimeZoneBackend() 6557 6558 6559 class KSystemTimeZoneBackend(KTimeZoneBackend): 6560 """""" 6561 def __init__(self, source, name, countryCode, latitude, longitude, comment): 6562 '''void KSystemTimeZoneBackend.__init__(KSystemTimeZoneSource source, QString name, QString countryCode, float latitude, float longitude, QString comment)''' 6563 def __init__(self): 6564 '''KSystemTimeZoneBackend KSystemTimeZoneBackend.__init__()''' 6565 return KSystemTimeZoneBackend() 6566 def type(self): 6567 '''QByteArray KSystemTimeZoneBackend.type()''' 6568 return QByteArray() 6569 def isDst(self, caller, t): 6570 '''bool KSystemTimeZoneBackend.isDst(KTimeZone caller, int t)''' 6571 return bool() 6572 def isDstAtUtc(self, caller, utcDateTime): 6573 '''bool KSystemTimeZoneBackend.isDstAtUtc(KTimeZone caller, QDateTime utcDateTime)''' 6574 return bool() 6575 def offset(self, caller, t): 6576 '''int KSystemTimeZoneBackend.offset(KTimeZone caller, int t)''' 6577 return int() 6578 def offsetAtUtc(self, caller, utcDateTime): 6579 '''int KSystemTimeZoneBackend.offsetAtUtc(KTimeZone caller, QDateTime utcDateTime)''' 6580 return int() 6581 def offsetAtZoneTime(self, caller, zoneDateTime, secondOffset): 6582 '''int KSystemTimeZoneBackend.offsetAtZoneTime(KTimeZone caller, QDateTime zoneDateTime, int secondOffset)''' 6583 return int() 6584 def clone(self): 6585 '''KTimeZoneBackend KSystemTimeZoneBackend.clone()''' 6586 return KTimeZoneBackend() 6587 6588 6589 class KTimeZoneSource(): 6590 """""" 6591 def __init__(self): 6592 '''void KTimeZoneSource.__init__()''' 6593 def __init__(self, useZoneParse): 6594 '''void KTimeZoneSource.__init__(bool useZoneParse)''' 6595 def useZoneParse(self): 6596 '''bool KTimeZoneSource.useZoneParse()''' 6597 return bool() 6598 def parse(self, zone): 6599 '''KTimeZoneData KTimeZoneSource.parse(KTimeZone zone)''' 6600 return KTimeZoneData() 6601 6602 6603 class KSystemTimeZoneSource(KTimeZoneSource): 6604 """""" 6605 def __init__(self): 6606 '''void KSystemTimeZoneSource.__init__()''' 6607 def endParseBlock(self): 6608 '''static void KSystemTimeZoneSource.endParseBlock()''' 6609 def startParseBlock(self): 6610 '''static void KSystemTimeZoneSource.startParseBlock()''' 6611 def parse(self, zone): 6612 '''KTimeZoneData KSystemTimeZoneSource.parse(KTimeZone zone)''' 6613 return KTimeZoneData() 6614 6615 6616 class KSslKey(): 6617 """""" 6618 # Enum KSslKey.KeySecrecy 6619 PublicKey = 0 6620 PrivateKey = 0 6621 6622 # Enum KSslKey.Algorithm 6623 Rsa = 0 6624 Dsa = 0 6625 Dh = 0 6626 6627 def __init__(self): 6628 '''void KSslKey.__init__()''' 6629 def __init__(self, other): 6630 '''void KSslKey.__init__(KSslKey other)''' 6631 def __init__(self, sslKey): 6632 '''void KSslKey.__init__(QSslKey sslKey)''' 6633 def toDer(self): 6634 '''QByteArray KSslKey.toDer()''' 6635 return QByteArray() 6636 def secrecy(self): 6637 '''KSslKey.KeySecrecy KSslKey.secrecy()''' 6638 return KSslKey.KeySecrecy() 6639 def isExportable(self): 6640 '''bool KSslKey.isExportable()''' 6641 return bool() 6642 def algorithm(self): 6643 '''KSslKey.Algorithm KSslKey.algorithm()''' 6644 return KSslKey.Algorithm() 6645 6646 6647 class KSslCipher(): 6648 """""" 6649 def __init__(self): 6650 '''void KSslCipher.__init__()''' 6651 def __init__(self, other): 6652 '''void KSslCipher.__init__(KSslCipher other)''' 6653 def __init__(self): 6654 '''QSslCipher KSslCipher.__init__()''' 6655 return QSslCipher() 6656 def supportedCiphers(self): 6657 '''static list-of-KSslCipher KSslCipher.supportedCiphers()''' 6658 return [KSslCipher()] 6659 def usedBits(self): 6660 '''int KSslCipher.usedBits()''' 6661 return int() 6662 def supportedBits(self): 6663 '''int KSslCipher.supportedBits()''' 6664 return int() 6665 def name(self): 6666 '''QString KSslCipher.name()''' 6667 return QString() 6668 def digestMethod(self): 6669 '''QString KSslCipher.digestMethod()''' 6670 return QString() 6671 def keyExchangeMethod(self): 6672 '''QString KSslCipher.keyExchangeMethod()''' 6673 return QString() 6674 def encryptionMethod(self): 6675 '''QString KSslCipher.encryptionMethod()''' 6676 return QString() 6677 def authenticationMethod(self): 6678 '''QString KSslCipher.authenticationMethod()''' 6679 return QString() 6680 def isNull(self): 6681 '''bool KSslCipher.isNull()''' 6682 return bool() 6683 6684 6685 class KSslError(): 6686 """""" 6687 # Enum KSslError.Error 6688 NoError = 0 6689 UnknownError = 0 6690 InvalidCertificateAuthorityCertificate = 0 6691 InvalidCertificate = 0 6692 CertificateSignatureFailed = 0 6693 SelfSignedCertificate = 0 6694 ExpiredCertificate = 0 6695 RevokedCertificate = 0 6696 InvalidCertificatePurpose = 0 6697 RejectedCertificate = 0 6698 UntrustedCertificate = 0 6699 NoPeerCertificate = 0 6700 HostNameMismatch = 0 6701 PathLengthExceeded = 0 6702 6703 def __init__(self, error = None, cert = QSslCertificate()): 6704 '''void KSslError.__init__(KSslError.Error error = KSslError.NoError, QSslCertificate cert = QSslCertificate())''' 6705 def __init__(self, error): 6706 '''void KSslError.__init__(QSslError error)''' 6707 def __init__(self, other): 6708 '''void KSslError.__init__(KSslError other)''' 6709 def certificate(self): 6710 '''QSslCertificate KSslError.certificate()''' 6711 return QSslCertificate() 6712 def errorString(self): 6713 '''QString KSslError.errorString()''' 6714 return QString() 6715 def error(self): 6716 '''KSslError.Error KSslError.error()''' 6717 return KSslError.Error() 6718 6719 6720 class KTcpSocket(QIODevice): 6721 """""" 6722 # Enum KTcpSocket.ProxyPolicy 6723 AutoProxy = 0 6724 ManualProxy = 0 6725 6726 # Enum KTcpSocket.EncryptionMode 6727 UnencryptedMode = 0 6728 SslClientMode = 0 6729 SslServerMode = 0 6730 6731 # Enum KTcpSocket.Error 6732 UnknownError = 0 6733 ConnectionRefusedError = 0 6734 RemoteHostClosedError = 0 6735 HostNotFoundError = 0 6736 SocketAccessError = 0 6737 SocketResourceError = 0 6738 SocketTimeoutError = 0 6739 NetworkError = 0 6740 UnsupportedSocketOperationError = 0 6741 6742 # Enum KTcpSocket.SslVersion 6743 UnknownSslVersion = 0 6744 SslV2 = 0 6745 SslV3 = 0 6746 TlsV1 = 0 6747 SslV3_1 = 0 6748 TlsV1SslV3 = 0 6749 SecureProtocols = 0 6750 AnySslVersion = 0 6751 6752 # Enum KTcpSocket.State 6753 UnconnectedState = 0 6754 HostLookupState = 0 6755 ConnectingState = 0 6756 ConnectedState = 0 6757 BoundState = 0 6758 ListeningState = 0 6759 ClosingState = 0 6760 6761 def __init__(self, parent = None): 6762 '''void KTcpSocket.__init__(QObject parent = None)''' 6763 encryptedBytesWritten = pyqtSignal() # void encryptedBytesWritten(qint64) - signal 6764 def setVerificationPeerName(self, hostName): 6765 '''void KTcpSocket.setVerificationPeerName(QString hostName)''' 6766 def setSocketOption(self, options, value): 6767 '''void KTcpSocket.setSocketOption(QAbstractSocket.SocketOption options, QVariant value)''' 6768 def socketOption(self, options): 6769 '''QVariant KTcpSocket.socketOption(QAbstractSocket.SocketOption options)''' 6770 return QVariant() 6771 def startClientEncryption(self): 6772 '''void KTcpSocket.startClientEncryption()''' 6773 def ignoreSslErrors(self): 6774 '''void KTcpSocket.ignoreSslErrors()''' 6775 encryptionModeChanged = pyqtSignal() # void encryptionModeChanged(KTcpSocket::EncryptionMode) - signal 6776 encrypted = pyqtSignal() # void encrypted() - signal 6777 stateChanged = pyqtSignal() # void stateChanged(KTcpSocket::State) - signal 6778 proxyAuthenticationRequired = pyqtSignal() # void proxyAuthenticationRequired(const QNetworkProxyamp;,QAuthenticator *) - signal 6779 hostFound = pyqtSignal() # void hostFound() - signal 6780 disconnected = pyqtSignal() # void disconnected() - signal 6781 connected = pyqtSignal() # void connected() - signal 6782 def encryptionMode(self): 6783 '''KTcpSocket.EncryptionMode KTcpSocket.encryptionMode()''' 6784 return KTcpSocket.EncryptionMode() 6785 def waitForEncrypted(self, msecs = 30000): 6786 '''bool KTcpSocket.waitForEncrypted(int msecs = 30000)''' 6787 return bool() 6788 def negotiatedSslVersionName(self): 6789 '''QString KTcpSocket.negotiatedSslVersionName()''' 6790 return QString() 6791 def negotiatedSslVersion(self): 6792 '''KTcpSocket.SslVersion KTcpSocket.negotiatedSslVersion()''' 6793 return KTcpSocket.SslVersion() 6794 def advertisedSslVersion(self): 6795 '''KTcpSocket.SslVersion KTcpSocket.advertisedSslVersion()''' 6796 return KTcpSocket.SslVersion() 6797 def setAdvertisedSslVersion(self, version): 6798 '''void KTcpSocket.setAdvertisedSslVersion(KTcpSocket.SslVersion version)''' 6799 def setPrivateKey(self, key): 6800 '''void KTcpSocket.setPrivateKey(KSslKey key)''' 6801 def setPrivateKey(self, fileName, algorithm = None, format = None, passPhrase = QByteArray()): 6802 '''void KTcpSocket.setPrivateKey(QString fileName, KSslKey.Algorithm algorithm = KSslKey.Rsa, QSsl.EncodingFormat format = QSsl.Pem, QByteArray passPhrase = QByteArray())''' 6803 def setLocalCertificate(self, certificate): 6804 '''void KTcpSocket.setLocalCertificate(QSslCertificate certificate)''' 6805 def setLocalCertificate(self, fileName, format = None): 6806 '''void KTcpSocket.setLocalCertificate(QString fileName, QSsl.EncodingFormat format = QSsl.Pem)''' 6807 def setCiphers(self, ciphers): 6808 '''void KTcpSocket.setCiphers(list-of-KSslCipher ciphers)''' 6809 def setCaCertificates(self, certificates): 6810 '''void KTcpSocket.setCaCertificates(list-of-QSslCertificate certificates)''' 6811 def sessionCipher(self): 6812 '''KSslCipher KTcpSocket.sessionCipher()''' 6813 return KSslCipher() 6814 def privateKey(self): 6815 '''KSslKey KTcpSocket.privateKey()''' 6816 return KSslKey() 6817 def peerCertificateChain(self): 6818 '''list-of-QSslCertificate KTcpSocket.peerCertificateChain()''' 6819 return [QSslCertificate()] 6820 def localCertificate(self): 6821 '''QSslCertificate KTcpSocket.localCertificate()''' 6822 return QSslCertificate() 6823 def connectToHostEncrypted(self, hostName, port, openMode = None): 6824 '''void KTcpSocket.connectToHostEncrypted(QString hostName, int port, QIODevice.OpenMode openMode = QIODevice.ReadWrite)''' 6825 def ciphers(self): 6826 '''list-of-KSslCipher KTcpSocket.ciphers()''' 6827 return [KSslCipher()] 6828 def caCertificates(self): 6829 '''list-of-QSslCertificate KTcpSocket.caCertificates()''' 6830 return [QSslCertificate()] 6831 def addCaCertificates(self, certificates): 6832 '''void KTcpSocket.addCaCertificates(list-of-QSslCertificate certificates)''' 6833 def addCaCertificate(self, certificate): 6834 '''void KTcpSocket.addCaCertificate(QSslCertificate certificate)''' 6835 def waitForDisconnected(self, msecs = 30000): 6836 '''bool KTcpSocket.waitForDisconnected(int msecs = 30000)''' 6837 return bool() 6838 def waitForConnected(self, msecs = 30000): 6839 '''bool KTcpSocket.waitForConnected(int msecs = 30000)''' 6840 return bool() 6841 def state(self): 6842 '''KTcpSocket.State KTcpSocket.state()''' 6843 return KTcpSocket.State() 6844 def setReadBufferSize(self, size): 6845 '''void KTcpSocket.setReadBufferSize(int size)''' 6846 def setProxy(self, proxy): 6847 '''void KTcpSocket.setProxy(QNetworkProxy proxy)''' 6848 def readBufferSize(self): 6849 '''int KTcpSocket.readBufferSize()''' 6850 return int() 6851 def proxy(self): 6852 '''QNetworkProxy KTcpSocket.proxy()''' 6853 return QNetworkProxy() 6854 def peerPort(self): 6855 '''int KTcpSocket.peerPort()''' 6856 return int() 6857 def peerName(self): 6858 '''QString KTcpSocket.peerName()''' 6859 return QString() 6860 def peerAddress(self): 6861 '''QHostAddress KTcpSocket.peerAddress()''' 6862 return QHostAddress() 6863 def localAddress(self): 6864 '''QHostAddress KTcpSocket.localAddress()''' 6865 return QHostAddress() 6866 def isValid(self): 6867 '''bool KTcpSocket.isValid()''' 6868 return bool() 6869 def flush(self): 6870 '''bool KTcpSocket.flush()''' 6871 return bool() 6872 def sslErrors(self): 6873 '''list-of-KSslError KTcpSocket.sslErrors()''' 6874 return [KSslError()] 6875 sslErrors = pyqtSignal() # void sslErrors(const QListlt;KSslErrorgt;amp;) - signal 6876 def error(self): 6877 '''KTcpSocket.Error KTcpSocket.error()''' 6878 return KTcpSocket.Error() 6879 error = pyqtSignal() # void error(KTcpSocket::Error) - signal 6880 def disconnectFromHost(self): 6881 '''void KTcpSocket.disconnectFromHost()''' 6882 def connectToHost(self, hostName, port, policy = None): 6883 '''void KTcpSocket.connectToHost(QString hostName, int port, KTcpSocket.ProxyPolicy policy = KTcpSocket.AutoProxy)''' 6884 def connectToHost(self, hostAddress, port, policy = None): 6885 '''void KTcpSocket.connectToHost(QHostAddress hostAddress, int port, KTcpSocket.ProxyPolicy policy = KTcpSocket.AutoProxy)''' 6886 def connectToHost(self, url, policy = None): 6887 '''void KTcpSocket.connectToHost(KUrl url, KTcpSocket.ProxyPolicy policy = KTcpSocket.AutoProxy)''' 6888 def abort(self): 6889 '''void KTcpSocket.abort()''' 6890 def waitForReadyRead(self, msecs = 30000): 6891 '''bool KTcpSocket.waitForReadyRead(int msecs = 30000)''' 6892 return bool() 6893 def waitForBytesWritten(self, msecs): 6894 '''bool KTcpSocket.waitForBytesWritten(int msecs)''' 6895 return bool() 6896 def open(self, open): 6897 '''bool KTcpSocket.open(QIODevice.OpenMode open)''' 6898 return bool() 6899 def isSequential(self): 6900 '''bool KTcpSocket.isSequential()''' 6901 return bool() 6902 def close(self): 6903 '''void KTcpSocket.close()''' 6904 def canReadLine(self): 6905 '''bool KTcpSocket.canReadLine()''' 6906 return bool() 6907 def bytesToWrite(self): 6908 '''int KTcpSocket.bytesToWrite()''' 6909 return int() 6910 def bytesAvailable(self): 6911 '''int KTcpSocket.bytesAvailable()''' 6912 return int() 6913 def atEnd(self): 6914 '''bool KTcpSocket.atEnd()''' 6915 return bool() 6916 class SslVersions(): 6917 """""" 6918 def __init__(self): 6919 '''KTcpSocket.SslVersions KTcpSocket.SslVersions.__init__()''' 6920 return KTcpSocket.SslVersions() 6921 def __init__(self): 6922 '''int KTcpSocket.SslVersions.__init__()''' 6923 return int() 6924 def __init__(self): 6925 '''void KTcpSocket.SslVersions.__init__()''' 6926 def __bool__(self): 6927 '''int KTcpSocket.SslVersions.__bool__()''' 6928 return int() 6929 def __ne__(self, f): 6930 '''bool KTcpSocket.SslVersions.__ne__(KTcpSocket.SslVersions f)''' 6931 return bool() 6932 def __eq__(self, f): 6933 '''bool KTcpSocket.SslVersions.__eq__(KTcpSocket.SslVersions f)''' 6934 return bool() 6935 def __invert__(self): 6936 '''KTcpSocket.SslVersions KTcpSocket.SslVersions.__invert__()''' 6937 return KTcpSocket.SslVersions() 6938 def __and__(self, mask): 6939 '''KTcpSocket.SslVersions KTcpSocket.SslVersions.__and__(int mask)''' 6940 return KTcpSocket.SslVersions() 6941 def __xor__(self, f): 6942 '''KTcpSocket.SslVersions KTcpSocket.SslVersions.__xor__(KTcpSocket.SslVersions f)''' 6943 return KTcpSocket.SslVersions() 6944 def __xor__(self, f): 6945 '''KTcpSocket.SslVersions KTcpSocket.SslVersions.__xor__(int f)''' 6946 return KTcpSocket.SslVersions() 6947 def __or__(self, f): 6948 '''KTcpSocket.SslVersions KTcpSocket.SslVersions.__or__(KTcpSocket.SslVersions f)''' 6949 return KTcpSocket.SslVersions() 6950 def __or__(self, f): 6951 '''KTcpSocket.SslVersions KTcpSocket.SslVersions.__or__(int f)''' 6952 return KTcpSocket.SslVersions() 6953 def __int__(self): 6954 '''int KTcpSocket.SslVersions.__int__()''' 6955 return int() 6956 def __ixor__(self, f): 6957 '''KTcpSocket.SslVersions KTcpSocket.SslVersions.__ixor__(KTcpSocket.SslVersions f)''' 6958 return KTcpSocket.SslVersions() 6959 def __ior__(self, f): 6960 '''KTcpSocket.SslVersions KTcpSocket.SslVersions.__ior__(KTcpSocket.SslVersions f)''' 6961 return KTcpSocket.SslVersions() 6962 def __iand__(self, mask): 6963 '''KTcpSocket.SslVersions KTcpSocket.SslVersions.__iand__(int mask)''' 6964 return KTcpSocket.SslVersions() 6965 6966 6967 class KSslErrorUiData(): 6968 """""" 6969 def __init__(self): 6970 '''void KSslErrorUiData.__init__()''' 6971 def __init__(self, socket): 6972 '''void KSslErrorUiData.__init__(KTcpSocket socket)''' 6973 def __init__(self, other): 6974 '''void KSslErrorUiData.__init__(KSslErrorUiData other)''' 6975 def __init__(self, socket): 6976 '''void KSslErrorUiData.__init__(QSslSocket socket)''' 6977 6978 6979 class KTempDir(): 6980 """""" 6981 def __init__(self, directoryPrefix = QString(), mode = 448): 6982 '''void KTempDir.__init__(QString directoryPrefix = QString(), int mode = 448)''' 6983 def create(self, directoryPrefix, mode): 6984 '''bool KTempDir.create(QString directoryPrefix, int mode)''' 6985 return bool() 6986 def removeDir(self, path): 6987 '''static bool KTempDir.removeDir(QString path)''' 6988 return bool() 6989 def exists(self): 6990 '''bool KTempDir.exists()''' 6991 return bool() 6992 def unlink(self): 6993 '''void KTempDir.unlink()''' 6994 def name(self): 6995 '''QString KTempDir.name()''' 6996 return QString() 6997 def status(self): 6998 '''int KTempDir.status()''' 6999 return int() 7000 def autoRemove(self): 7001 '''bool KTempDir.autoRemove()''' 7002 return bool() 7003 def setAutoRemove(self, autoRemove): 7004 '''void KTempDir.setAutoRemove(bool autoRemove)''' 7005 7006 7007 class KTemporaryFile(QTemporaryFile): 7008 """""" 7009 def __init__(self, componentData = None): 7010 '''void KTemporaryFile.__init__(KComponentData componentData = KGlobal.mainComponent())''' 7011 def setSuffix(self, suffix): 7012 '''void KTemporaryFile.setSuffix(QString suffix)''' 7013 def setPrefix(self, prefix): 7014 '''void KTemporaryFile.setPrefix(QString prefix)''' 7015 7016 7017 class KTimeZones(): 7018 """""" 7019 def __init__(self): 7020 '''void KTimeZones.__init__()''' 7021 def clear(self): 7022 '''void KTimeZones.clear()''' 7023 def remove(self, zone): 7024 '''KTimeZone KTimeZones.remove(KTimeZone zone)''' 7025 return KTimeZone() 7026 def remove(self, name): 7027 '''KTimeZone KTimeZones.remove(QString name)''' 7028 return KTimeZone() 7029 def add(self, zone): 7030 '''bool KTimeZones.add(KTimeZone zone)''' 7031 return bool() 7032 def zones(self): 7033 '''dict-of-QString-KTimeZone KTimeZones.zones()''' 7034 return dict-of-QString-KTimeZone() 7035 def zone(self, name): 7036 '''KTimeZone KTimeZones.zone(QString name)''' 7037 return KTimeZone() 7038 7039 7040 class KTimeZoneData(): 7041 """""" 7042 def __init__(self): 7043 '''void KTimeZoneData.__init__()''' 7044 def __init__(self, c): 7045 '''void KTimeZoneData.__init__(KTimeZoneData c)''' 7046 def setLeapSecondChanges(self, adjusts): 7047 '''void KTimeZoneData.setLeapSecondChanges(list-of-KTimeZone.LeapSeconds adjusts)''' 7048 def setTransitions(self, transitions): 7049 '''void KTimeZoneData.setTransitions(list-of-KTimeZone.Transition transitions)''' 7050 def setPhases(self, phases, previousUtcOffset): 7051 '''void KTimeZoneData.setPhases(list-of-KTimeZone.Phase phases, int previousUtcOffset)''' 7052 def setPhases(self, phases, previousPhase): 7053 '''void KTimeZoneData.setPhases(list-of-KTimeZone.Phase phases, KTimeZone.Phase previousPhase)''' 7054 def leapSecondChange(self, utc): 7055 '''KTimeZone.LeapSeconds KTimeZoneData.leapSecondChange(QDateTime utc)''' 7056 return KTimeZone.LeapSeconds() 7057 def leapSecondChanges(self): 7058 '''list-of-KTimeZone.LeapSeconds KTimeZoneData.leapSecondChanges()''' 7059 return [KTimeZone.LeapSeconds()] 7060 def transitionTimes(self, phase, start = QDateTime(), end = QDateTime()): 7061 '''list-of-QDateTime KTimeZoneData.transitionTimes(KTimeZone.Phase phase, QDateTime start = QDateTime(), QDateTime end = QDateTime())''' 7062 return [QDateTime()] 7063 def transitionIndex(self, dt, secondIndex, validTime): 7064 '''int KTimeZoneData.transitionIndex(QDateTime dt, int secondIndex, bool validTime)''' 7065 return int() 7066 def transitions(self, start = QDateTime(), end = QDateTime()): 7067 '''list-of-KTimeZone.Transition KTimeZoneData.transitions(QDateTime start = QDateTime(), QDateTime end = QDateTime())''' 7068 return [KTimeZone.Transition()] 7069 def hasTransitions(self): 7070 '''bool KTimeZoneData.hasTransitions()''' 7071 return bool() 7072 def phases(self): 7073 '''list-of-KTimeZone.Phase KTimeZoneData.phases()''' 7074 return [KTimeZone.Phase()] 7075 def previousUtcOffset(self): 7076 '''int KTimeZoneData.previousUtcOffset()''' 7077 return int() 7078 def utcOffsets(self): 7079 '''list-of-int KTimeZoneData.utcOffsets()''' 7080 return [int()] 7081 def abbreviation(self, utcDateTime): 7082 '''QByteArray KTimeZoneData.abbreviation(QDateTime utcDateTime)''' 7083 return QByteArray() 7084 def abbreviations(self): 7085 '''list-of-QByteArray KTimeZoneData.abbreviations()''' 7086 return [QByteArray()] 7087 def clone(self): 7088 '''KTimeZoneData KTimeZoneData.clone()''' 7089 return KTimeZoneData() 7090 7091 7092 class KToolInvocation(QObject): 7093 """""" 7094 kapplication_hook = pyqtSignal() # void kapplication_hook(QStringListamp;,QByteArrayamp;) - signal 7095 def kdeinitExecWait(self, name, args = QStringList(), error = None, pid = None, startup_id = QByteArray()): 7096 '''static int KToolInvocation.kdeinitExecWait(QString name, QStringList args = QStringList(), QString error = None, int pid, QByteArray startup_id = QByteArray())''' 7097 return int() 7098 def kdeinitExec(self, name, args = QStringList(), error = None, pid = None, startup_id = QByteArray()): 7099 '''static int KToolInvocation.kdeinitExec(QString name, QStringList args = QStringList(), QString error = None, int pid, QByteArray startup_id = QByteArray())''' 7100 return int() 7101 def startServiceByDesktopName(self, _name, URL, error = None, serviceName = None, pid = None, startup_id = QByteArray(), noWait = False): 7102 '''static int KToolInvocation.startServiceByDesktopName(QString _name, QString URL, QString error = None, QString serviceName = None, int pid, QByteArray startup_id = QByteArray(), bool noWait = False)''' 7103 return int() 7104 def startServiceByDesktopName(self, _name, URLs = QStringList(), error = None, serviceName = None, pid = None, startup_id = QByteArray(), noWait = False): 7105 '''static int KToolInvocation.startServiceByDesktopName(QString _name, QStringList URLs = QStringList(), QString error = None, QString serviceName = None, int pid, QByteArray startup_id = QByteArray(), bool noWait = False)''' 7106 return int() 7107 def startServiceByDesktopPath(self, _name, URL, error = None, serviceName = None, pid = None, startup_id = QByteArray(), noWait = False): 7108 '''static int KToolInvocation.startServiceByDesktopPath(QString _name, QString URL, QString error = None, QString serviceName = None, int pid, QByteArray startup_id = QByteArray(), bool noWait = False)''' 7109 return int() 7110 def startServiceByDesktopPath(self, _name, URLs = QStringList(), error = None, serviceName = None, pid = None, startup_id = QByteArray(), noWait = False): 7111 '''static int KToolInvocation.startServiceByDesktopPath(QString _name, QStringList URLs = QStringList(), QString error = None, QString serviceName = None, int pid, QByteArray startup_id = QByteArray(), bool noWait = False)''' 7112 return int() 7113 def startServiceByName(self, _name, URL, error = None, serviceName = None, pid = None, startup_id = QByteArray(), noWait = False): 7114 '''static int KToolInvocation.startServiceByName(QString _name, QString URL, QString error = None, QString serviceName = None, int pid, QByteArray startup_id = QByteArray(), bool noWait = False)''' 7115 return int() 7116 def startServiceByName(self, _name, URLs = QStringList(), error = None, serviceName = None, pid = None, startup_id = QByteArray(), noWait = False): 7117 '''static int KToolInvocation.startServiceByName(QString _name, QStringList URLs = QStringList(), QString error = None, QString serviceName = None, int pid, QByteArray startup_id = QByteArray(), bool noWait = False)''' 7118 return int() 7119 def invokeTerminal(self, command, workdir = QString(), startup_id = None): 7120 '''static void KToolInvocation.invokeTerminal(QString command, QString workdir = QString(), QByteArray startup_id = )''' 7121 def invokeBrowser(self, url, startup_id = QByteArray()): 7122 '''static void KToolInvocation.invokeBrowser(QString url, QByteArray startup_id = QByteArray())''' 7123 def invokeMailer(self, address, subject, startup_id = QByteArray()): 7124 '''static void KToolInvocation.invokeMailer(QString address, QString subject, QByteArray startup_id = QByteArray())''' 7125 def invokeMailer(self, mailtoURL, startup_id = QByteArray(), allowAttachments = False): 7126 '''static void KToolInvocation.invokeMailer(KUrl mailtoURL, QByteArray startup_id = QByteArray(), bool allowAttachments = False)''' 7127 def invokeMailer(self, to, cc, bcc, subject, body, messageFile = QString(), attachURLs = QStringList(), startup_id = QByteArray()): 7128 '''static void KToolInvocation.invokeMailer(QString to, QString cc, QString bcc, QString subject, QString body, QString messageFile = QString(), QStringList attachURLs = QStringList(), QByteArray startup_id = QByteArray())''' 7129 def invokeHelp(self, anchor = QString(), appname = QString(), startup_id = QByteArray()): 7130 '''static void KToolInvocation.invokeHelp(QString anchor = QString(), QString appname = QString(), QByteArray startup_id = QByteArray())''' 7131 def self(self): 7132 '''static KToolInvocation KToolInvocation.self()''' 7133 return KToolInvocation() 7134 7135 7136 class KTzfileTimeZone(KTimeZone): 7137 """""" 7138 def __init__(self, source, name, countryCode = QString(), latitude = None, longitude = None, comment = QString()): 7139 '''void KTzfileTimeZone.__init__(KTzfileTimeZoneSource source, QString name, QString countryCode = QString(), float latitude = KTimeZone.UNKNOWN, float longitude = KTimeZone.UNKNOWN, QString comment = QString())''' 7140 def __init__(self): 7141 '''KTzfileTimeZone KTzfileTimeZone.__init__()''' 7142 return KTzfileTimeZone() 7143 7144 7145 class KTzfileTimeZoneBackend(KTimeZoneBackend): 7146 """""" 7147 def __init__(self, source, name, countryCode, latitude, longitude, comment): 7148 '''void KTzfileTimeZoneBackend.__init__(KTzfileTimeZoneSource source, QString name, QString countryCode, float latitude, float longitude, QString comment)''' 7149 def __init__(self): 7150 '''KTzfileTimeZoneBackend KTzfileTimeZoneBackend.__init__()''' 7151 return KTzfileTimeZoneBackend() 7152 def type(self): 7153 '''QByteArray KTzfileTimeZoneBackend.type()''' 7154 return QByteArray() 7155 def hasTransitions(self, caller): 7156 '''bool KTzfileTimeZoneBackend.hasTransitions(KTimeZone caller)''' 7157 return bool() 7158 def clone(self): 7159 '''KTimeZoneBackend KTzfileTimeZoneBackend.clone()''' 7160 return KTimeZoneBackend() 7161 7162 7163 class KTzfileTimeZoneSource(KTimeZoneSource): 7164 """""" 7165 def __init__(self, location): 7166 '''void KTzfileTimeZoneSource.__init__(QString location)''' 7167 def location(self): 7168 '''QString KTzfileTimeZoneSource.location()''' 7169 return QString() 7170 def parse(self, zone): 7171 '''KTimeZoneData KTzfileTimeZoneSource.parse(KTimeZone zone)''' 7172 return KTimeZoneData() 7173 7174 7175 class KUrl(QUrl): 7176 """""" 7177 # Enum KUrl.EqualsOption 7178 CompareWithoutTrailingSlash = 0 7179 CompareWithoutFragment = 0 7180 AllowEmptyPath = 0 7181 7182 # Enum KUrl.DirectoryOption 7183 ObeyTrailingSlash = 0 7184 AppendTrailingSlash = 0 7185 IgnoreTrailingSlash = 0 7186 7187 # Enum KUrl.QueryItemsOption 7188 CaseInsensitiveKeys = 0 7189 7190 # Enum KUrl.EncodedPathAndQueryOption 7191 PermitEmptyPath = 0 7192 AvoidEmptyPath = 0 7193 7194 # Enum KUrl.CleanPathOption 7195 SimplifyDirSeparators = 0 7196 KeepDirSeparators = 0 7197 7198 # Enum KUrl.AdjustPathOption 7199 RemoveTrailingSlash = 0 7200 LeaveTrailingSlash = 0 7201 AddTrailingSlash = 0 7202 7203 # Enum KUrl.MimeDataFlags 7204 DefaultMimeDataFlags = 0 7205 NoTextExport = 0 7206 7207 def __init__(self): 7208 '''void KUrl.__init__()''' 7209 def __init__(self, urlOrPath): 7210 '''void KUrl.__init__(QString urlOrPath)''' 7211 def __init__(self, urlOrPath): 7212 '''void KUrl.__init__(str urlOrPath)''' 7213 def __init__(self, urlOrPath): 7214 '''void KUrl.__init__(QByteArray urlOrPath)''' 7215 def __init__(self, u): 7216 '''void KUrl.__init__(KUrl u)''' 7217 def __init__(self, u): 7218 '''void KUrl.__init__(QUrl u)''' 7219 def __init__(self, _baseurl, _rel_url): 7220 '''void KUrl.__init__(KUrl _baseurl, QString _rel_url)''' 7221 def relativePath(self, base_dir, path, isParent): 7222 '''static QString KUrl.relativePath(QString base_dir, QString path, bool isParent)''' 7223 return QString() 7224 def relativeUrl(self, base_url, url): 7225 '''static QString KUrl.relativeUrl(KUrl base_url, KUrl url)''' 7226 return QString() 7227 def isRelativeUrl(self, _url): 7228 '''static bool KUrl.isRelativeUrl(QString _url)''' 7229 return bool() 7230 def decode_string(self, str): 7231 '''static QString KUrl.decode_string(QString str)''' 7232 return QString() 7233 def encode_string_no_slash(self, str): 7234 '''static QString KUrl.encode_string_no_slash(QString str)''' 7235 return QString() 7236 def encode_string(self, str): 7237 '''static QString KUrl.encode_string(QString str)''' 7238 return QString() 7239 def populateMimeData(self, mimeData, metaData = None, flags = None): 7240 '''void KUrl.populateMimeData(QMimeData mimeData, dict-of-QString-QString metaData = KUrl.MetaDataMap(), KUrl.MimeDataFlags flags = KUrl.DefaultMimeDataFlags)''' 7241 def fromMimeDataByteArray(self, str): 7242 '''static KUrl KUrl.fromMimeDataByteArray(QByteArray str)''' 7243 return KUrl() 7244 def fromPathOrUrl(self, text): 7245 '''static KUrl KUrl.fromPathOrUrl(QString text)''' 7246 return KUrl() 7247 def fromPath(self, text): 7248 '''static KUrl KUrl.fromPath(QString text)''' 7249 return KUrl() 7250 def join(self, _list): 7251 '''static KUrl KUrl.join(KUrl.List _list)''' 7252 return KUrl() 7253 def split(self, _url): 7254 '''static KUrl.List KUrl.split(QString _url)''' 7255 return KUrl.List() 7256 def split(self, _url): 7257 '''static KUrl.List KUrl.split(KUrl _url)''' 7258 return KUrl.List() 7259 def isParentOf(self, u): 7260 '''bool KUrl.isParentOf(KUrl u)''' 7261 return bool() 7262 def equals(self, u, options = 0): 7263 '''bool KUrl.equals(KUrl u, KUrl.EqualsOptions options = 0)''' 7264 return bool() 7265 def cmp(self, u, ignore_trailing = False): 7266 '''bool KUrl.cmp(KUrl u, bool ignore_trailing = False)''' 7267 return bool() 7268 def __ne__(self, _u): 7269 '''bool KUrl.__ne__(KUrl _u)''' 7270 return bool() 7271 def __ne__(self, _u): 7272 '''bool KUrl.__ne__(QString _u)''' 7273 return bool() 7274 def __eq__(self, _u): 7275 '''bool KUrl.__eq__(KUrl _u)''' 7276 return bool() 7277 def __eq__(self, _u): 7278 '''bool KUrl.__eq__(QString _u)''' 7279 return bool() 7280 def upUrl(self): 7281 '''KUrl KUrl.upUrl()''' 7282 return KUrl() 7283 def toMimeDataString(self): 7284 '''QString KUrl.toMimeDataString()''' 7285 return QString() 7286 def pathOrUrl(self): 7287 '''QString KUrl.pathOrUrl()''' 7288 return QString() 7289 def pathOrUrl(self, trailing): 7290 '''QString KUrl.pathOrUrl(KUrl.AdjustPathOption trailing)''' 7291 return QString() 7292 def prettyUrl(self, trailing = None): 7293 '''QString KUrl.prettyUrl(KUrl.AdjustPathOption trailing = KUrl.LeaveTrailingSlash)''' 7294 return QString() 7295 def url(self, trailing = None): 7296 '''QString KUrl.url(KUrl.AdjustPathOption trailing = KUrl.LeaveTrailingSlash)''' 7297 return QString() 7298 def cd(self, _dir): 7299 '''bool KUrl.cd(QString _dir)''' 7300 return bool() 7301 def setDirectory(self, dir): 7302 '''void KUrl.setDirectory(QString dir)''' 7303 def directory(self, options = None): 7304 '''QString KUrl.directory(KUrl.DirectoryOptions options = KUrl.IgnoreTrailingSlash)''' 7305 return QString() 7306 def fileName(self, options = None): 7307 '''QString KUrl.fileName(KUrl.DirectoryOptions options = KUrl.IgnoreTrailingSlash)''' 7308 return QString() 7309 def setFileName(self, _txt): 7310 '''void KUrl.setFileName(QString _txt)''' 7311 def addQueryItem(self, _item, _value): 7312 '''void KUrl.addQueryItem(QString _item, QString _value)''' 7313 def queryItem(self, item): 7314 '''QString KUrl.queryItem(QString item)''' 7315 return QString() 7316 def queryItems(self, options = 0): 7317 '''dict-of-QString-QString KUrl.queryItems(KUrl.QueryItemsOptions options = 0)''' 7318 return dict-of-QString-QString() 7319 def addPath(self, txt): 7320 '''void KUrl.addPath(QString txt)''' 7321 def hasSubUrl(self): 7322 '''bool KUrl.hasSubUrl()''' 7323 return bool() 7324 def fileEncoding(self): 7325 '''QString KUrl.fileEncoding()''' 7326 return QString() 7327 def setFileEncoding(self, encoding): 7328 '''void KUrl.setFileEncoding(QString encoding)''' 7329 def isLocalFile(self): 7330 '''bool KUrl.isLocalFile()''' 7331 return bool() 7332 def hasHTMLRef(self): 7333 '''bool KUrl.hasHTMLRef()''' 7334 return bool() 7335 def setHTMLRef(self, _ref): 7336 '''void KUrl.setHTMLRef(QString _ref)''' 7337 def encodedHtmlRef(self): 7338 '''QString KUrl.encodedHtmlRef()''' 7339 return QString() 7340 def htmlRef(self): 7341 '''QString KUrl.htmlRef()''' 7342 return QString() 7343 def hasRef(self): 7344 '''bool KUrl.hasRef()''' 7345 return bool() 7346 def setRef(self, fragment): 7347 '''void KUrl.setRef(QString fragment)''' 7348 def ref(self): 7349 '''QString KUrl.ref()''' 7350 return QString() 7351 def query(self): 7352 '''QString KUrl.query()''' 7353 return QString() 7354 def setQuery(self, query): 7355 '''void KUrl.setQuery(QString query)''' 7356 def encodedPathAndQuery(self, trailing = None, options = None): 7357 '''QString KUrl.encodedPathAndQuery(KUrl.AdjustPathOption trailing = KUrl.LeaveTrailingSlash, KUrl.EncodedPathAndQueryOptions options = KUrl.PermitEmptyPath)''' 7358 return QString() 7359 def setEncodedPathAndQuery(self, _txt): 7360 '''void KUrl.setEncodedPathAndQuery(QString _txt)''' 7361 def adjustPath(self, trailing): 7362 '''void KUrl.adjustPath(KUrl.AdjustPathOption trailing)''' 7363 def cleanPath(self, options = None): 7364 '''void KUrl.cleanPath(KUrl.CleanPathOption options = KUrl.SimplifyDirSeparators)''' 7365 def hasPath(self): 7366 '''bool KUrl.hasPath()''' 7367 return bool() 7368 def setPath(self, path): 7369 '''void KUrl.setPath(QString path)''' 7370 def toLocalFile(self, trailing = None): 7371 '''QString KUrl.toLocalFile(KUrl.AdjustPathOption trailing = KUrl.LeaveTrailingSlash)''' 7372 return QString() 7373 def path(self, trailing = None): 7374 '''QString KUrl.path(KUrl.AdjustPathOption trailing = KUrl.LeaveTrailingSlash)''' 7375 return QString() 7376 def hasHost(self): 7377 '''bool KUrl.hasHost()''' 7378 return bool() 7379 def hasPass(self): 7380 '''bool KUrl.hasPass()''' 7381 return bool() 7382 def setPass(self, pass_): 7383 '''void KUrl.setPass(QString pass)''' 7384 def pass_(self): 7385 '''QString KUrl.pass_()''' 7386 return QString() 7387 def hasUser(self): 7388 '''bool KUrl.hasUser()''' 7389 return bool() 7390 def setUser(self, user): 7391 '''void KUrl.setUser(QString user)''' 7392 def user(self): 7393 '''QString KUrl.user()''' 7394 return QString() 7395 def setProtocol(self, proto): 7396 '''void KUrl.setProtocol(QString proto)''' 7397 def protocol(self): 7398 '''QString KUrl.protocol()''' 7399 return QString() 7400 class CleanPathOptions(): 7401 """""" 7402 def __init__(self): 7403 '''KUrl.CleanPathOptions KUrl.CleanPathOptions.__init__()''' 7404 return KUrl.CleanPathOptions() 7405 def __init__(self): 7406 '''int KUrl.CleanPathOptions.__init__()''' 7407 return int() 7408 def __init__(self): 7409 '''void KUrl.CleanPathOptions.__init__()''' 7410 def __bool__(self): 7411 '''int KUrl.CleanPathOptions.__bool__()''' 7412 return int() 7413 def __ne__(self, f): 7414 '''bool KUrl.CleanPathOptions.__ne__(KUrl.CleanPathOptions f)''' 7415 return bool() 7416 def __eq__(self, f): 7417 '''bool KUrl.CleanPathOptions.__eq__(KUrl.CleanPathOptions f)''' 7418 return bool() 7419 def __invert__(self): 7420 '''KUrl.CleanPathOptions KUrl.CleanPathOptions.__invert__()''' 7421 return KUrl.CleanPathOptions() 7422 def __and__(self, mask): 7423 '''KUrl.CleanPathOptions KUrl.CleanPathOptions.__and__(int mask)''' 7424 return KUrl.CleanPathOptions() 7425 def __xor__(self, f): 7426 '''KUrl.CleanPathOptions KUrl.CleanPathOptions.__xor__(KUrl.CleanPathOptions f)''' 7427 return KUrl.CleanPathOptions() 7428 def __xor__(self, f): 7429 '''KUrl.CleanPathOptions KUrl.CleanPathOptions.__xor__(int f)''' 7430 return KUrl.CleanPathOptions() 7431 def __or__(self, f): 7432 '''KUrl.CleanPathOptions KUrl.CleanPathOptions.__or__(KUrl.CleanPathOptions f)''' 7433 return KUrl.CleanPathOptions() 7434 def __or__(self, f): 7435 '''KUrl.CleanPathOptions KUrl.CleanPathOptions.__or__(int f)''' 7436 return KUrl.CleanPathOptions() 7437 def __int__(self): 7438 '''int KUrl.CleanPathOptions.__int__()''' 7439 return int() 7440 def __ixor__(self, f): 7441 '''KUrl.CleanPathOptions KUrl.CleanPathOptions.__ixor__(KUrl.CleanPathOptions f)''' 7442 return KUrl.CleanPathOptions() 7443 def __ior__(self, f): 7444 '''KUrl.CleanPathOptions KUrl.CleanPathOptions.__ior__(KUrl.CleanPathOptions f)''' 7445 return KUrl.CleanPathOptions() 7446 def __iand__(self, mask): 7447 '''KUrl.CleanPathOptions KUrl.CleanPathOptions.__iand__(int mask)''' 7448 return KUrl.CleanPathOptions() 7449 class EncodedPathAndQueryOptions(): 7450 """""" 7451 def __init__(self): 7452 '''KUrl.EncodedPathAndQueryOptions KUrl.EncodedPathAndQueryOptions.__init__()''' 7453 return KUrl.EncodedPathAndQueryOptions() 7454 def __init__(self): 7455 '''int KUrl.EncodedPathAndQueryOptions.__init__()''' 7456 return int() 7457 def __init__(self): 7458 '''void KUrl.EncodedPathAndQueryOptions.__init__()''' 7459 def __bool__(self): 7460 '''int KUrl.EncodedPathAndQueryOptions.__bool__()''' 7461 return int() 7462 def __ne__(self, f): 7463 '''bool KUrl.EncodedPathAndQueryOptions.__ne__(KUrl.EncodedPathAndQueryOptions f)''' 7464 return bool() 7465 def __eq__(self, f): 7466 '''bool KUrl.EncodedPathAndQueryOptions.__eq__(KUrl.EncodedPathAndQueryOptions f)''' 7467 return bool() 7468 def __invert__(self): 7469 '''KUrl.EncodedPathAndQueryOptions KUrl.EncodedPathAndQueryOptions.__invert__()''' 7470 return KUrl.EncodedPathAndQueryOptions() 7471 def __and__(self, mask): 7472 '''KUrl.EncodedPathAndQueryOptions KUrl.EncodedPathAndQueryOptions.__and__(int mask)''' 7473 return KUrl.EncodedPathAndQueryOptions() 7474 def __xor__(self, f): 7475 '''KUrl.EncodedPathAndQueryOptions KUrl.EncodedPathAndQueryOptions.__xor__(KUrl.EncodedPathAndQueryOptions f)''' 7476 return KUrl.EncodedPathAndQueryOptions() 7477 def __xor__(self, f): 7478 '''KUrl.EncodedPathAndQueryOptions KUrl.EncodedPathAndQueryOptions.__xor__(int f)''' 7479 return KUrl.EncodedPathAndQueryOptions() 7480 def __or__(self, f): 7481 '''KUrl.EncodedPathAndQueryOptions KUrl.EncodedPathAndQueryOptions.__or__(KUrl.EncodedPathAndQueryOptions f)''' 7482 return KUrl.EncodedPathAndQueryOptions() 7483 def __or__(self, f): 7484 '''KUrl.EncodedPathAndQueryOptions KUrl.EncodedPathAndQueryOptions.__or__(int f)''' 7485 return KUrl.EncodedPathAndQueryOptions() 7486 def __int__(self): 7487 '''int KUrl.EncodedPathAndQueryOptions.__int__()''' 7488 return int() 7489 def __ixor__(self, f): 7490 '''KUrl.EncodedPathAndQueryOptions KUrl.EncodedPathAndQueryOptions.__ixor__(KUrl.EncodedPathAndQueryOptions f)''' 7491 return KUrl.EncodedPathAndQueryOptions() 7492 def __ior__(self, f): 7493 '''KUrl.EncodedPathAndQueryOptions KUrl.EncodedPathAndQueryOptions.__ior__(KUrl.EncodedPathAndQueryOptions f)''' 7494 return KUrl.EncodedPathAndQueryOptions() 7495 def __iand__(self, mask): 7496 '''KUrl.EncodedPathAndQueryOptions KUrl.EncodedPathAndQueryOptions.__iand__(int mask)''' 7497 return KUrl.EncodedPathAndQueryOptions() 7498 class List(): 7499 """""" 7500 # Enum KUrl.List.DecodeOptions 7501 PreferLocalUrls = 0 7502 PreferKdeUrls = 0 7503 7504 def __init__(self): 7505 '''void KUrl.List.__init__()''' 7506 def __init__(self, url): 7507 '''void KUrl.List.__init__(KUrl url)''' 7508 def __init__(self, list): 7509 '''void KUrl.List.__init__(QStringList list)''' 7510 def __init__(self, list): 7511 '''void KUrl.List.__init__(list-of-KUrl list)''' 7512 def __init__(self): 7513 '''KUrl.List KUrl.List.__init__()''' 7514 return KUrl.List() 7515 def __contains__(self): 7516 '''KUrl KUrl.List.__contains__()''' 7517 return KUrl() 7518 def __ne__(self): 7519 '''KUrl.List KUrl.List.__ne__()''' 7520 return KUrl.List() 7521 def __eq__(self): 7522 '''KUrl.List KUrl.List.__eq__()''' 7523 return KUrl.List() 7524 def __imul__(self): 7525 '''int KUrl.List.__imul__()''' 7526 return int() 7527 def __mul__(self): 7528 '''int KUrl.List.__mul__()''' 7529 return int() 7530 def __iadd__(self): 7531 '''KUrl.List KUrl.List.__iadd__()''' 7532 return KUrl.List() 7533 def __add__(self): 7534 '''KUrl.List KUrl.List.__add__()''' 7535 return KUrl.List() 7536 def __getitem__(self): 7537 '''int KUrl.List.__getitem__()''' 7538 return int() 7539 def __getitem__(self): 7540 '''slice KUrl.List.__getitem__()''' 7541 return slice() 7542 def __delitem__(self): 7543 '''int KUrl.List.__delitem__()''' 7544 return int() 7545 def __delitem__(self): 7546 '''slice KUrl.List.__delitem__()''' 7547 return slice() 7548 def __setitem__(self): 7549 '''KUrl KUrl.List.__setitem__()''' 7550 return KUrl() 7551 def __setitem__(self): 7552 '''KUrl.List KUrl.List.__setitem__()''' 7553 return KUrl.List() 7554 def __len__(self): 7555 '''int KUrl.List.__len__()''' 7556 return int() 7557 def fromMimeData(self, mimeData, metaData = None): 7558 '''static KUrl.List KUrl.List.fromMimeData(QMimeData mimeData, dict-of-QString-QString metaData = None)''' 7559 return KUrl.List() 7560 def fromMimeData(self, mimeData, decodeOptions, metaData = None): 7561 '''static KUrl.List KUrl.List.fromMimeData(QMimeData mimeData, KUrl.List.DecodeOptions decodeOptions, dict-of-QString-QString metaData = None)''' 7562 return KUrl.List() 7563 def mimeDataTypes(self): 7564 '''static QStringList KUrl.List.mimeDataTypes()''' 7565 return QStringList() 7566 def canDecode(self, mimeData): 7567 '''static bool KUrl.List.canDecode(QMimeData mimeData)''' 7568 return bool() 7569 def populateMimeData(self, mimeData, metaData = None, flags = None): 7570 '''void KUrl.List.populateMimeData(QMimeData mimeData, dict-of-QString-QString metaData = KUrl.MetaDataMap(), KUrl.MimeDataFlags flags = KUrl.DefaultMimeDataFlags)''' 7571 def populateMimeData(self, mostLocalUrls, mimeData, metaData = None, flags = None): 7572 '''void KUrl.List.populateMimeData(KUrl.List mostLocalUrls, QMimeData mimeData, dict-of-QString-QString metaData = KUrl.MetaDataMap(), KUrl.MimeDataFlags flags = KUrl.DefaultMimeDataFlags)''' 7573 def toStringList(self): 7574 '''QStringList KUrl.List.toStringList()''' 7575 return QStringList() 7576 def toStringList(self, trailing): 7577 '''QStringList KUrl.List.toStringList(KUrl.AdjustPathOption trailing)''' 7578 return QStringList() 7579 class EqualsOptions(): 7580 """""" 7581 def __init__(self): 7582 '''KUrl.EqualsOptions KUrl.EqualsOptions.__init__()''' 7583 return KUrl.EqualsOptions() 7584 def __init__(self): 7585 '''int KUrl.EqualsOptions.__init__()''' 7586 return int() 7587 def __init__(self): 7588 '''void KUrl.EqualsOptions.__init__()''' 7589 def __bool__(self): 7590 '''int KUrl.EqualsOptions.__bool__()''' 7591 return int() 7592 def __ne__(self, f): 7593 '''bool KUrl.EqualsOptions.__ne__(KUrl.EqualsOptions f)''' 7594 return bool() 7595 def __eq__(self, f): 7596 '''bool KUrl.EqualsOptions.__eq__(KUrl.EqualsOptions f)''' 7597 return bool() 7598 def __invert__(self): 7599 '''KUrl.EqualsOptions KUrl.EqualsOptions.__invert__()''' 7600 return KUrl.EqualsOptions() 7601 def __and__(self, mask): 7602 '''KUrl.EqualsOptions KUrl.EqualsOptions.__and__(int mask)''' 7603 return KUrl.EqualsOptions() 7604 def __xor__(self, f): 7605 '''KUrl.EqualsOptions KUrl.EqualsOptions.__xor__(KUrl.EqualsOptions f)''' 7606 return KUrl.EqualsOptions() 7607 def __xor__(self, f): 7608 '''KUrl.EqualsOptions KUrl.EqualsOptions.__xor__(int f)''' 7609 return KUrl.EqualsOptions() 7610 def __or__(self, f): 7611 '''KUrl.EqualsOptions KUrl.EqualsOptions.__or__(KUrl.EqualsOptions f)''' 7612 return KUrl.EqualsOptions() 7613 def __or__(self, f): 7614 '''KUrl.EqualsOptions KUrl.EqualsOptions.__or__(int f)''' 7615 return KUrl.EqualsOptions() 7616 def __int__(self): 7617 '''int KUrl.EqualsOptions.__int__()''' 7618 return int() 7619 def __ixor__(self, f): 7620 '''KUrl.EqualsOptions KUrl.EqualsOptions.__ixor__(KUrl.EqualsOptions f)''' 7621 return KUrl.EqualsOptions() 7622 def __ior__(self, f): 7623 '''KUrl.EqualsOptions KUrl.EqualsOptions.__ior__(KUrl.EqualsOptions f)''' 7624 return KUrl.EqualsOptions() 7625 def __iand__(self, mask): 7626 '''KUrl.EqualsOptions KUrl.EqualsOptions.__iand__(int mask)''' 7627 return KUrl.EqualsOptions() 7628 class DirectoryOptions(): 7629 """""" 7630 def __init__(self): 7631 '''KUrl.DirectoryOptions KUrl.DirectoryOptions.__init__()''' 7632 return KUrl.DirectoryOptions() 7633 def __init__(self): 7634 '''int KUrl.DirectoryOptions.__init__()''' 7635 return int() 7636 def __init__(self): 7637 '''void KUrl.DirectoryOptions.__init__()''' 7638 def __bool__(self): 7639 '''int KUrl.DirectoryOptions.__bool__()''' 7640 return int() 7641 def __ne__(self, f): 7642 '''bool KUrl.DirectoryOptions.__ne__(KUrl.DirectoryOptions f)''' 7643 return bool() 7644 def __eq__(self, f): 7645 '''bool KUrl.DirectoryOptions.__eq__(KUrl.DirectoryOptions f)''' 7646 return bool() 7647 def __invert__(self): 7648 '''KUrl.DirectoryOptions KUrl.DirectoryOptions.__invert__()''' 7649 return KUrl.DirectoryOptions() 7650 def __and__(self, mask): 7651 '''KUrl.DirectoryOptions KUrl.DirectoryOptions.__and__(int mask)''' 7652 return KUrl.DirectoryOptions() 7653 def __xor__(self, f): 7654 '''KUrl.DirectoryOptions KUrl.DirectoryOptions.__xor__(KUrl.DirectoryOptions f)''' 7655 return KUrl.DirectoryOptions() 7656 def __xor__(self, f): 7657 '''KUrl.DirectoryOptions KUrl.DirectoryOptions.__xor__(int f)''' 7658 return KUrl.DirectoryOptions() 7659 def __or__(self, f): 7660 '''KUrl.DirectoryOptions KUrl.DirectoryOptions.__or__(KUrl.DirectoryOptions f)''' 7661 return KUrl.DirectoryOptions() 7662 def __or__(self, f): 7663 '''KUrl.DirectoryOptions KUrl.DirectoryOptions.__or__(int f)''' 7664 return KUrl.DirectoryOptions() 7665 def __int__(self): 7666 '''int KUrl.DirectoryOptions.__int__()''' 7667 return int() 7668 def __ixor__(self, f): 7669 '''KUrl.DirectoryOptions KUrl.DirectoryOptions.__ixor__(KUrl.DirectoryOptions f)''' 7670 return KUrl.DirectoryOptions() 7671 def __ior__(self, f): 7672 '''KUrl.DirectoryOptions KUrl.DirectoryOptions.__ior__(KUrl.DirectoryOptions f)''' 7673 return KUrl.DirectoryOptions() 7674 def __iand__(self, mask): 7675 '''KUrl.DirectoryOptions KUrl.DirectoryOptions.__iand__(int mask)''' 7676 return KUrl.DirectoryOptions() 7677 class QueryItemsOptions(): 7678 """""" 7679 def __init__(self): 7680 '''KUrl.QueryItemsOptions KUrl.QueryItemsOptions.__init__()''' 7681 return KUrl.QueryItemsOptions() 7682 def __init__(self): 7683 '''int KUrl.QueryItemsOptions.__init__()''' 7684 return int() 7685 def __init__(self): 7686 '''void KUrl.QueryItemsOptions.__init__()''' 7687 def __bool__(self): 7688 '''int KUrl.QueryItemsOptions.__bool__()''' 7689 return int() 7690 def __ne__(self, f): 7691 '''bool KUrl.QueryItemsOptions.__ne__(KUrl.QueryItemsOptions f)''' 7692 return bool() 7693 def __eq__(self, f): 7694 '''bool KUrl.QueryItemsOptions.__eq__(KUrl.QueryItemsOptions f)''' 7695 return bool() 7696 def __invert__(self): 7697 '''KUrl.QueryItemsOptions KUrl.QueryItemsOptions.__invert__()''' 7698 return KUrl.QueryItemsOptions() 7699 def __and__(self, mask): 7700 '''KUrl.QueryItemsOptions KUrl.QueryItemsOptions.__and__(int mask)''' 7701 return KUrl.QueryItemsOptions() 7702 def __xor__(self, f): 7703 '''KUrl.QueryItemsOptions KUrl.QueryItemsOptions.__xor__(KUrl.QueryItemsOptions f)''' 7704 return KUrl.QueryItemsOptions() 7705 def __xor__(self, f): 7706 '''KUrl.QueryItemsOptions KUrl.QueryItemsOptions.__xor__(int f)''' 7707 return KUrl.QueryItemsOptions() 7708 def __or__(self, f): 7709 '''KUrl.QueryItemsOptions KUrl.QueryItemsOptions.__or__(KUrl.QueryItemsOptions f)''' 7710 return KUrl.QueryItemsOptions() 7711 def __or__(self, f): 7712 '''KUrl.QueryItemsOptions KUrl.QueryItemsOptions.__or__(int f)''' 7713 return KUrl.QueryItemsOptions() 7714 def __int__(self): 7715 '''int KUrl.QueryItemsOptions.__int__()''' 7716 return int() 7717 def __ixor__(self, f): 7718 '''KUrl.QueryItemsOptions KUrl.QueryItemsOptions.__ixor__(KUrl.QueryItemsOptions f)''' 7719 return KUrl.QueryItemsOptions() 7720 def __ior__(self, f): 7721 '''KUrl.QueryItemsOptions KUrl.QueryItemsOptions.__ior__(KUrl.QueryItemsOptions f)''' 7722 return KUrl.QueryItemsOptions() 7723 def __iand__(self, mask): 7724 '''KUrl.QueryItemsOptions KUrl.QueryItemsOptions.__iand__(int mask)''' 7725 return KUrl.QueryItemsOptions() 7726 7727 7728 class KUser(): 7729 """""" 7730 # Enum KUser.UserProperty 7731 FullName = 0 7732 RoomNumber = 0 7733 WorkPhone = 0 7734 HomePhone = 0 7735 7736 # Enum KUser.UIDMode 7737 UseEffectiveUID = 0 7738 UseRealUserID = 0 7739 7740 def __init__(self, mode = None): 7741 '''void KUser.__init__(KUser.UIDMode mode = KUser.UseEffectiveUID)''' 7742 def __init__(self, uid): 7743 '''void KUser.__init__(int uid)''' 7744 def __init__(self, name): 7745 '''void KUser.__init__(QString name)''' 7746 def __init__(self, name): 7747 '''void KUser.__init__(str name)''' 7748 def __init__(self, user): 7749 '''void KUser.__init__(KUser user)''' 7750 def allUserNames(self): 7751 '''static QStringList KUser.allUserNames()''' 7752 return QStringList() 7753 def allUsers(self): 7754 '''static list-of-KUser KUser.allUsers()''' 7755 return [KUser()] 7756 def property(self, which): 7757 '''QVariant KUser.property(KUser.UserProperty which)''' 7758 return QVariant() 7759 def groupNames(self): 7760 '''QStringList KUser.groupNames()''' 7761 return QStringList() 7762 def groups(self): 7763 '''list-of-KUserGroup KUser.groups()''' 7764 return [KUserGroup()] 7765 def shell(self): 7766 '''QString KUser.shell()''' 7767 return QString() 7768 def faceIconPath(self): 7769 '''QString KUser.faceIconPath()''' 7770 return QString() 7771 def homeDir(self): 7772 '''QString KUser.homeDir()''' 7773 return QString() 7774 def fullName(self): 7775 '''QString KUser.fullName()''' 7776 return QString() 7777 def loginName(self): 7778 '''QString KUser.loginName()''' 7779 return QString() 7780 def isSuperUser(self): 7781 '''bool KUser.isSuperUser()''' 7782 return bool() 7783 def gid(self): 7784 '''int KUser.gid()''' 7785 return int() 7786 def uid(self): 7787 '''int KUser.uid()''' 7788 return int() 7789 def isValid(self): 7790 '''bool KUser.isValid()''' 7791 return bool() 7792 def __ne__(self, user): 7793 '''bool KUser.__ne__(KUser user)''' 7794 return bool() 7795 def __eq__(self, user): 7796 '''bool KUser.__eq__(KUser user)''' 7797 return bool() 7798 7799 7800 class KUserGroup(): 7801 """""" 7802 def __init__(self, name): 7803 '''void KUserGroup.__init__(QString name)''' 7804 def __init__(self, name): 7805 '''void KUserGroup.__init__(str name)''' 7806 def __init__(self, mode = None): 7807 '''void KUserGroup.__init__(KUser.UIDMode mode = KUser.UseEffectiveUID)''' 7808 def __init__(self, gid): 7809 '''void KUserGroup.__init__(int gid)''' 7810 def __init__(self, group): 7811 '''void KUserGroup.__init__(KUserGroup group)''' 7812 def allGroupNames(self): 7813 '''static QStringList KUserGroup.allGroupNames()''' 7814 return QStringList() 7815 def allGroups(self): 7816 '''static list-of-KUserGroup KUserGroup.allGroups()''' 7817 return [KUserGroup()] 7818 def userNames(self): 7819 '''QStringList KUserGroup.userNames()''' 7820 return QStringList() 7821 def users(self): 7822 '''list-of-KUser KUserGroup.users()''' 7823 return [KUser()] 7824 def name(self): 7825 '''QString KUserGroup.name()''' 7826 return QString() 7827 def gid(self): 7828 '''int KUserGroup.gid()''' 7829 return int() 7830 def isValid(self): 7831 '''bool KUserGroup.isValid()''' 7832 return bool() 7833 def __ne__(self, group): 7834 '''bool KUserGroup.__ne__(KUserGroup group)''' 7835 return bool() 7836 def __eq__(self, group): 7837 '''bool KUserGroup.__eq__(KUserGroup group)''' 7838 return bool() 7839 7840 7841 class Sonnet(): 7842 """""" 7843 def defaultLanguageName(self): 7844 '''static QString Sonnet.defaultLanguageName()''' 7845 return QString() 7846 def detectLanguage(self, sentence): 7847 '''static QString Sonnet.detectLanguage(QString sentence)''' 7848 return QString() 7849 class Speller(): 7850 """""" 7851 # Enum Sonnet.Speller.Attribute 7852 CheckUppercase = 0 7853 SkipRunTogether = 0 7854 7855 def __init__(self, lang = QString()): 7856 '''void Sonnet.Speller.__init__(QString lang = QString())''' 7857 def __init__(self, speller): 7858 '''void Sonnet.Speller.__init__(Sonnet.Speller speller)''' 7859 def testAttribute(self, attr): 7860 '''bool Sonnet.Speller.testAttribute(Sonnet.Speller.Attribute attr)''' 7861 return bool() 7862 def setAttribute(self, attr, b = True): 7863 '''void Sonnet.Speller.setAttribute(Sonnet.Speller.Attribute attr, bool b = True)''' 7864 def defaultClient(self): 7865 '''QString Sonnet.Speller.defaultClient()''' 7866 return QString() 7867 def setDefaultClient(self, client): 7868 '''void Sonnet.Speller.setDefaultClient(QString client)''' 7869 def defaultLanguage(self): 7870 '''QString Sonnet.Speller.defaultLanguage()''' 7871 return QString() 7872 def setDefaultLanguage(self, lang): 7873 '''void Sonnet.Speller.setDefaultLanguage(QString lang)''' 7874 def availableDictionaries(self): 7875 '''dict-of-QString-QString Sonnet.Speller.availableDictionaries()''' 7876 return dict-of-QString-QString() 7877 def availableLanguageNames(self): 7878 '''QStringList Sonnet.Speller.availableLanguageNames()''' 7879 return QStringList() 7880 def availableLanguages(self): 7881 '''QStringList Sonnet.Speller.availableLanguages()''' 7882 return QStringList() 7883 def availableBackends(self): 7884 '''QStringList Sonnet.Speller.availableBackends()''' 7885 return QStringList() 7886 def restore(self, config): 7887 '''void Sonnet.Speller.restore(KConfig config)''' 7888 def save(self, config): 7889 '''void Sonnet.Speller.save(KConfig config)''' 7890 def addToSession(self, word): 7891 '''bool Sonnet.Speller.addToSession(QString word)''' 7892 return bool() 7893 def addToPersonal(self, word): 7894 '''bool Sonnet.Speller.addToPersonal(QString word)''' 7895 return bool() 7896 def storeReplacement(self, bad, good): 7897 '''bool Sonnet.Speller.storeReplacement(QString bad, QString good)''' 7898 return bool() 7899 def checkAndSuggest(self, word, suggestions): 7900 '''bool Sonnet.Speller.checkAndSuggest(QString word, QStringList suggestions)''' 7901 return bool() 7902 def suggest(self, word): 7903 '''QStringList Sonnet.Speller.suggest(QString word)''' 7904 return QStringList() 7905 def isMisspelled(self, word): 7906 '''bool Sonnet.Speller.isMisspelled(QString word)''' 7907 return bool() 7908 def isCorrect(self, word): 7909 '''bool Sonnet.Speller.isCorrect(QString word)''' 7910 return bool() 7911 def language(self): 7912 '''QString Sonnet.Speller.language()''' 7913 return QString() 7914 def setLanguage(self, lang): 7915 '''void Sonnet.Speller.setLanguage(QString lang)''' 7916 def isValid(self): 7917 '''bool Sonnet.Speller.isValid()''' 7918 return bool() 7919 class BackgroundChecker(QObject): 7920 """""" 7921 def __init__(self, parent = None): 7922 '''void Sonnet.BackgroundChecker.__init__(QObject parent = None)''' 7923 def __init__(self, speller, parent = None): 7924 '''void Sonnet.BackgroundChecker.__init__(Sonnet.Speller speller, QObject parent = None)''' 7925 def restore(self, config): 7926 '''void Sonnet.BackgroundChecker.restore(KConfig config)''' 7927 def slotEngineDone(self): 7928 '''void Sonnet.BackgroundChecker.slotEngineDone()''' 7929 def finishedCurrentFeed(self): 7930 '''void Sonnet.BackgroundChecker.finishedCurrentFeed()''' 7931 def fetchMoreText(self): 7932 '''QString Sonnet.BackgroundChecker.fetchMoreText()''' 7933 return QString() 7934 done = pyqtSignal() # void done() - signal 7935 misspelling = pyqtSignal() # void misspelling(const QStringamp;,int) - signal 7936 def continueChecking(self): 7937 '''void Sonnet.BackgroundChecker.continueChecking()''' 7938 def changeLanguage(self, lang): 7939 '''void Sonnet.BackgroundChecker.changeLanguage(QString lang)''' 7940 def replace(self, start, oldText, newText): 7941 '''void Sonnet.BackgroundChecker.replace(int start, QString oldText, QString newText)''' 7942 def stop(self): 7943 '''void Sonnet.BackgroundChecker.stop()''' 7944 def start(self): 7945 '''void Sonnet.BackgroundChecker.start()''' 7946 def addWordToPersonal(self, word): 7947 '''bool Sonnet.BackgroundChecker.addWordToPersonal(QString word)''' 7948 return bool() 7949 def suggest(self, word): 7950 '''QStringList Sonnet.BackgroundChecker.suggest(QString word)''' 7951 return QStringList() 7952 def checkWord(self, word): 7953 '''bool Sonnet.BackgroundChecker.checkWord(QString word)''' 7954 return bool() 7955 def setSpeller(self, speller): 7956 '''void Sonnet.BackgroundChecker.setSpeller(Sonnet.Speller speller)''' 7957 def speller(self): 7958 '''Sonnet.Speller Sonnet.BackgroundChecker.speller()''' 7959 return Sonnet.Speller() 7960 def currentContext(self): 7961 '''QString Sonnet.BackgroundChecker.currentContext()''' 7962 return QString() 7963 def text(self): 7964 '''QString Sonnet.BackgroundChecker.text()''' 7965 return QString() 7966 def setText(self, text): 7967 '''void Sonnet.BackgroundChecker.setText(QString text)''' 7968 7969 7970 # Enum KSycocaFactoryId 7971 KST_KServiceFactory = 0 7972 KST_KServiceTypeFactory = 0 7973 KST_KServiceGroupFactory = 0 7974 KST_KImageIO = 0 7975 KST_KProtocolInfoFactory = 0 7976 KST_KMimeTypeFactory = 0 7977 KST_CTimeInfo = 0 7978 7979 7980 # Enum KSycocaType 7981 KST_KSycocaEntry = 0 7982 KST_KService = 0 7983 KST_KServiceType = 0 7984 KST_KMimeType = 0 7985 KST_KFolderMimeType = 0 7986 KST_KDEDesktopMimeType = 0 7987 KST_KMimeTypeEntry = 0 7988 KST_KServiceGroup = 0 7989 KST_KImageIOFormat = 0 7990 KST_KProtocolInfo = 0 7991 KST_KServiceSeparator = 0 7992 KST_KCustom = 0 7993 7994 7995 def urlcmp(_url1, _url2): 7996 '''static bool urlcmp(QString _url1, QString _url2)''' 7997 return bool() 7998 7999 def urlcmp(_url1, _url2, options): 8000 '''static bool urlcmp(QString _url1, QString _url2, KUrl.EqualsOptions options)''' 8001 return bool() 8002 8003 def qHash(): 8004 '''static KPluginInfo qHash()''' 8005 return KPluginInfo() 8006 8007 def qHash(kurl): 8008 '''static int qHash(KUrl kurl)''' 8009 return int() 8010 8011 def i18ncp(ctxt, sing, plur, *args): 8012 '''static QString i18ncp(str ctxt, str sing, str plur, ... *args)''' 8013 return QString() 8014 8015 def i18np(sing, plur, *args): 8016 '''static QString i18np(str sing, str plur, ... *args)''' 8017 return QString() 8018 8019 def i18nc(ctxt, text, *args): 8020 '''static QString i18nc(str ctxt, str text, ... *args)''' 8021 return QString() 8022 8023 def i18n(text, *args): 8024 '''static QString i18n(str text, ... *args)''' 8025 return QString() 8026 8027 def tr2i18n(message, comment = None): 8028 '''static QString tr2i18n(str message, str comment = None)''' 8029 return QString() 8030 8031 def ki18ncp(ctxt, singular, plural): 8032 '''static KLocalizedString ki18ncp(str ctxt, str singular, str plural)''' 8033 return KLocalizedString() 8034 8035 def ki18np(singular, plural): 8036 '''static KLocalizedString ki18np(str singular, str plural)''' 8037 return KLocalizedString() 8038 8039 def ki18nc(ctxt, msg): 8040 '''static KLocalizedString ki18nc(str ctxt, str msg)''' 8041 return KLocalizedString() 8042 8043 def ki18n(msg): 8044 '''static KLocalizedString ki18n(str msg)''' 8045 return KLocalizedString() 8046 8047 def kAsciiToUpper(str): 8048 '''static str kAsciiToUpper(str str)''' 8049 return str() 8050 8051 def kAsciiToLower(str): 8052 '''static str kAsciiToLower(str str)''' 8053 return str() 8054 8055 def kasciistricmp(str1, str2): 8056 '''static int kasciistricmp(str str1, str str2)''' 8057 return int() 8058 8059 def pykde_versionString(): 8060 '''static str pykde_versionString()''' 8061 return str() 8062 8063 def pykde_versionRelease(): 8064 '''static int pykde_versionRelease()''' 8065 return int() 8066 8067 def pykde_versionMinor(): 8068 '''static int pykde_versionMinor()''' 8069 return int() 8070 8071 def pykde_versionMajor(): 8072 '''static int pykde_versionMajor()''' 8073 return int() 8074 8075 def pykde_version(): 8076 '''static int pykde_version()''' 8077 return int() 8078 8079 def versionString(): 8080 '''static str versionString()''' 8081 return str() 8082 8083 def versionRelease(): 8084 '''static int versionRelease()''' 8085 return int() 8086 8087 def versionMinor(): 8088 '''static int versionMinor()''' 8089 return int() 8090 8091 def versionMajor(): 8092 '''static int versionMajor()''' 8093 return int() 8094 8095 def version(): 8096 '''static int version()''' 8097 return int() 8098