1class pyqtSignal(): 2 def connect(self, targetSignal): pass 3 def emit(self, *args): pass 4from QtCore import * 5 6class K3Icon(): 7 """""" 8 context = None # KIconLoader.Context - member 9 path = None # QString - member 10 size = None # int - member 11 threshold = None # int - member 12 type = None # KIconLoader.Type - member 13 def __init__(self): 14 '''void K3Icon.__init__()''' 15 def __init__(self): 16 '''K3Icon K3Icon.__init__()''' 17 return K3Icon() 18 def isValid(self): 19 '''bool K3Icon.isValid()''' 20 return bool() 21 22 23class KDialog(QDialog): 24 """""" 25 # Enum KDialog.CaptionFlag 26 NoCaptionFlags = 0 27 AppNameCaption = 0 28 ModifiedCaption = 0 29 HIGCompliantCaption = 0 30 31 # Enum KDialog.ButtonPopupMode 32 InstantPopup = 0 33 DelayedPopup = 0 34 35 # Enum KDialog.ButtonCode 36 __kdevpythondocumentation_builtin_None = 0 37 Help = 0 38 Default = 0 39 Ok = 0 40 Apply = 0 41 Try = 0 42 Cancel = 0 43 Close = 0 44 No = 0 45 Yes = 0 46 Reset = 0 47 Details = 0 48 User1 = 0 49 User2 = 0 50 User3 = 0 51 NoDefault = 0 52 53 def __init__(self, parent = None, flags = 0): 54 '''void KDialog.__init__(QWidget parent = None, Qt.WindowFlags flags = 0)''' 55 def setAllowEmbeddingInGraphicsView(self, allowEmbedding): 56 '''static void KDialog.setAllowEmbeddingInGraphicsView(bool allowEmbedding)''' 57 def updateGeometry(self): 58 '''void KDialog.updateGeometry()''' 59 def slotButtonClicked(self, button): 60 '''void KDialog.slotButtonClicked(int button)''' 61 def keyPressEvent(self): 62 '''QKeyEvent KDialog.keyPressEvent()''' 63 return QKeyEvent() 64 def closeEvent(self, e): 65 '''void KDialog.closeEvent(QCloseEvent e)''' 66 def hideEvent(self): 67 '''QHideEvent KDialog.hideEvent()''' 68 return QHideEvent() 69 aboutToShowDetails = pyqtSignal() # void aboutToShowDetails() - signal 70 finished = pyqtSignal() # void finished() - signal 71 hidden = pyqtSignal() # void hidden() - signal 72 buttonClicked = pyqtSignal() # void buttonClicked(KDialog::ButtonCode) - signal 73 closeClicked = pyqtSignal() # void closeClicked() - signal 74 cancelClicked = pyqtSignal() # void cancelClicked() - signal 75 noClicked = pyqtSignal() # void noClicked() - signal 76 yesClicked = pyqtSignal() # void yesClicked() - signal 77 okClicked = pyqtSignal() # void okClicked() - signal 78 tryClicked = pyqtSignal() # void tryClicked() - signal 79 applyClicked = pyqtSignal() # void applyClicked() - signal 80 user1Clicked = pyqtSignal() # void user1Clicked() - signal 81 user2Clicked = pyqtSignal() # void user2Clicked() - signal 82 user3Clicked = pyqtSignal() # void user3Clicked() - signal 83 resetClicked = pyqtSignal() # void resetClicked() - signal 84 defaultClicked = pyqtSignal() # void defaultClicked() - signal 85 helpClicked = pyqtSignal() # void helpClicked() - signal 86 layoutHintChanged = pyqtSignal() # void layoutHintChanged() - signal 87 def delayedDestruct(self): 88 '''void KDialog.delayedDestruct()''' 89 def setDetailsWidget(self, detailsWidget): 90 '''void KDialog.setDetailsWidget(QWidget detailsWidget)''' 91 def setDetailsWidgetVisible(self, visible): 92 '''void KDialog.setDetailsWidgetVisible(bool visible)''' 93 def isDetailsWidgetVisible(self): 94 '''bool KDialog.isDetailsWidgetVisible()''' 95 return bool() 96 def setHelp(self, anchor, appname = QString()): 97 '''void KDialog.setHelp(QString anchor, QString appname = QString())''' 98 def setHelpLinkText(self, text): 99 '''void KDialog.setHelpLinkText(QString text)''' 100 def enableLinkedHelp(self, state): 101 '''void KDialog.enableLinkedHelp(bool state)''' 102 def enableButtonCancel(self, state): 103 '''void KDialog.enableButtonCancel(bool state)''' 104 def enableButtonApply(self, state): 105 '''void KDialog.enableButtonApply(bool state)''' 106 def enableButtonOk(self, state): 107 '''void KDialog.enableButtonOk(bool state)''' 108 def enableButton(self, id, state): 109 '''void KDialog.enableButton(KDialog.ButtonCode id, bool state)''' 110 def setPlainCaption(self, caption): 111 '''void KDialog.setPlainCaption(QString caption)''' 112 def setCaption(self, caption): 113 '''void KDialog.setCaption(QString caption)''' 114 def setCaption(self, caption, modified): 115 '''void KDialog.setCaption(QString caption, bool modified)''' 116 def minimumSizeHint(self): 117 '''QSize KDialog.minimumSizeHint()''' 118 return QSize() 119 def sizeHint(self): 120 '''QSize KDialog.sizeHint()''' 121 return QSize() 122 def mainWidget(self): 123 '''QWidget KDialog.mainWidget()''' 124 return QWidget() 125 def setMainWidget(self, widget): 126 '''void KDialog.setMainWidget(QWidget widget)''' 127 def avoidArea(self, widget, area, screen = None): 128 '''static bool KDialog.avoidArea(QWidget widget, QRect area, int screen = -1)''' 129 return bool() 130 def centerOnScreen(self, widget, screen = None): 131 '''static void KDialog.centerOnScreen(QWidget widget, int screen = -1)''' 132 def resizeLayout(self, widget, margin, spacing): 133 '''static void KDialog.resizeLayout(QWidget widget, int margin, int spacing)''' 134 def resizeLayout(self, lay, margin, spacing): 135 '''static void KDialog.resizeLayout(QLayout lay, int margin, int spacing)''' 136 def makeStandardCaption(self, userCaption, window = None, flags = None): 137 '''static QString KDialog.makeStandardCaption(QString userCaption, QWidget window = None, KDialog.CaptionFlags flags = KDialog.HIGCompliantCaption)''' 138 return QString() 139 def groupSpacingHint(self): 140 '''static int KDialog.groupSpacingHint()''' 141 return int() 142 def spacingHint(self): 143 '''static int KDialog.spacingHint()''' 144 return int() 145 def marginHint(self): 146 '''static int KDialog.marginHint()''' 147 return int() 148 def button(self, id): 149 '''KPushButton KDialog.button(KDialog.ButtonCode id)''' 150 return KPushButton() 151 def isButtonEnabled(self, id): 152 '''bool KDialog.isButtonEnabled(KDialog.ButtonCode id)''' 153 return bool() 154 def helpLinkText(self): 155 '''QString KDialog.helpLinkText()''' 156 return QString() 157 def saveDialogSize(self, config, options = None): 158 '''void KDialog.saveDialogSize(KConfigGroup config, KConfigBase.WriteConfigFlags options = KConfigGroup.Normal)''' 159 def restoreDialogSize(self, config): 160 '''void KDialog.restoreDialogSize(KConfigGroup config)''' 161 def incrementInitialSize(self, size): 162 '''void KDialog.incrementInitialSize(QSize size)''' 163 def setInitialSize(self, size): 164 '''void KDialog.setInitialSize(QSize size)''' 165 def setButtonFocus(self, id): 166 '''void KDialog.setButtonFocus(KDialog.ButtonCode id)''' 167 def setButtonMenu(self, id, menu, popupmode = None): 168 '''void KDialog.setButtonMenu(KDialog.ButtonCode id, QMenu menu, KDialog.ButtonPopupMode popupmode = KDialog.InstantPopup)''' 169 def setButtonGuiItem(self, id, item): 170 '''void KDialog.setButtonGuiItem(KDialog.ButtonCode id, KGuiItem item)''' 171 def buttonWhatsThis(self, id): 172 '''QString KDialog.buttonWhatsThis(KDialog.ButtonCode id)''' 173 return QString() 174 def setButtonWhatsThis(self, id, text): 175 '''void KDialog.setButtonWhatsThis(KDialog.ButtonCode id, QString text)''' 176 def buttonToolTip(self, id): 177 '''QString KDialog.buttonToolTip(KDialog.ButtonCode id)''' 178 return QString() 179 def setButtonToolTip(self, id, text): 180 '''void KDialog.setButtonToolTip(KDialog.ButtonCode id, QString text)''' 181 def buttonIcon(self, id): 182 '''KIcon KDialog.buttonIcon(KDialog.ButtonCode id)''' 183 return KIcon() 184 def setButtonIcon(self, id, icon): 185 '''void KDialog.setButtonIcon(KDialog.ButtonCode id, KIcon icon)''' 186 def buttonText(self, id): 187 '''QString KDialog.buttonText(KDialog.ButtonCode id)''' 188 return QString() 189 def setButtonText(self, id, text): 190 '''void KDialog.setButtonText(KDialog.ButtonCode id, QString text)''' 191 def showButton(self, id, state): 192 '''void KDialog.showButton(KDialog.ButtonCode id, bool state)''' 193 def showButtonSeparator(self, state): 194 '''void KDialog.showButtonSeparator(bool state)''' 195 def defaultButton(self): 196 '''KDialog.ButtonCode KDialog.defaultButton()''' 197 return KDialog.ButtonCode() 198 def setDefaultButton(self, id): 199 '''void KDialog.setDefaultButton(KDialog.ButtonCode id)''' 200 def setEscapeButton(self, id): 201 '''void KDialog.setEscapeButton(KDialog.ButtonCode id)''' 202 def setButtonsOrientation(self, orientation): 203 '''void KDialog.setButtonsOrientation(Qt.Orientation orientation)''' 204 def setButtons(self, buttonMask): 205 '''void KDialog.setButtons(KDialog.ButtonCodes buttonMask)''' 206 class ButtonPopupModes(): 207 """""" 208 def __init__(self): 209 '''KDialog.ButtonPopupModes KDialog.ButtonPopupModes.__init__()''' 210 return KDialog.ButtonPopupModes() 211 def __init__(self): 212 '''int KDialog.ButtonPopupModes.__init__()''' 213 return int() 214 def __init__(self): 215 '''void KDialog.ButtonPopupModes.__init__()''' 216 def __bool__(self): 217 '''int KDialog.ButtonPopupModes.__bool__()''' 218 return int() 219 def __ne__(self, f): 220 '''bool KDialog.ButtonPopupModes.__ne__(KDialog.ButtonPopupModes f)''' 221 return bool() 222 def __eq__(self, f): 223 '''bool KDialog.ButtonPopupModes.__eq__(KDialog.ButtonPopupModes f)''' 224 return bool() 225 def __invert__(self): 226 '''KDialog.ButtonPopupModes KDialog.ButtonPopupModes.__invert__()''' 227 return KDialog.ButtonPopupModes() 228 def __and__(self, mask): 229 '''KDialog.ButtonPopupModes KDialog.ButtonPopupModes.__and__(int mask)''' 230 return KDialog.ButtonPopupModes() 231 def __xor__(self, f): 232 '''KDialog.ButtonPopupModes KDialog.ButtonPopupModes.__xor__(KDialog.ButtonPopupModes f)''' 233 return KDialog.ButtonPopupModes() 234 def __xor__(self, f): 235 '''KDialog.ButtonPopupModes KDialog.ButtonPopupModes.__xor__(int f)''' 236 return KDialog.ButtonPopupModes() 237 def __or__(self, f): 238 '''KDialog.ButtonPopupModes KDialog.ButtonPopupModes.__or__(KDialog.ButtonPopupModes f)''' 239 return KDialog.ButtonPopupModes() 240 def __or__(self, f): 241 '''KDialog.ButtonPopupModes KDialog.ButtonPopupModes.__or__(int f)''' 242 return KDialog.ButtonPopupModes() 243 def __int__(self): 244 '''int KDialog.ButtonPopupModes.__int__()''' 245 return int() 246 def __ixor__(self, f): 247 '''KDialog.ButtonPopupModes KDialog.ButtonPopupModes.__ixor__(KDialog.ButtonPopupModes f)''' 248 return KDialog.ButtonPopupModes() 249 def __ior__(self, f): 250 '''KDialog.ButtonPopupModes KDialog.ButtonPopupModes.__ior__(KDialog.ButtonPopupModes f)''' 251 return KDialog.ButtonPopupModes() 252 def __iand__(self, mask): 253 '''KDialog.ButtonPopupModes KDialog.ButtonPopupModes.__iand__(int mask)''' 254 return KDialog.ButtonPopupModes() 255 class ButtonCodes(): 256 """""" 257 def __init__(self): 258 '''KDialog.ButtonCodes KDialog.ButtonCodes.__init__()''' 259 return KDialog.ButtonCodes() 260 def __init__(self): 261 '''int KDialog.ButtonCodes.__init__()''' 262 return int() 263 def __init__(self): 264 '''void KDialog.ButtonCodes.__init__()''' 265 def __bool__(self): 266 '''int KDialog.ButtonCodes.__bool__()''' 267 return int() 268 def __ne__(self, f): 269 '''bool KDialog.ButtonCodes.__ne__(KDialog.ButtonCodes f)''' 270 return bool() 271 def __eq__(self, f): 272 '''bool KDialog.ButtonCodes.__eq__(KDialog.ButtonCodes f)''' 273 return bool() 274 def __invert__(self): 275 '''KDialog.ButtonCodes KDialog.ButtonCodes.__invert__()''' 276 return KDialog.ButtonCodes() 277 def __and__(self, mask): 278 '''KDialog.ButtonCodes KDialog.ButtonCodes.__and__(int mask)''' 279 return KDialog.ButtonCodes() 280 def __xor__(self, f): 281 '''KDialog.ButtonCodes KDialog.ButtonCodes.__xor__(KDialog.ButtonCodes f)''' 282 return KDialog.ButtonCodes() 283 def __xor__(self, f): 284 '''KDialog.ButtonCodes KDialog.ButtonCodes.__xor__(int f)''' 285 return KDialog.ButtonCodes() 286 def __or__(self, f): 287 '''KDialog.ButtonCodes KDialog.ButtonCodes.__or__(KDialog.ButtonCodes f)''' 288 return KDialog.ButtonCodes() 289 def __or__(self, f): 290 '''KDialog.ButtonCodes KDialog.ButtonCodes.__or__(int f)''' 291 return KDialog.ButtonCodes() 292 def __int__(self): 293 '''int KDialog.ButtonCodes.__int__()''' 294 return int() 295 def __ixor__(self, f): 296 '''KDialog.ButtonCodes KDialog.ButtonCodes.__ixor__(KDialog.ButtonCodes f)''' 297 return KDialog.ButtonCodes() 298 def __ior__(self, f): 299 '''KDialog.ButtonCodes KDialog.ButtonCodes.__ior__(KDialog.ButtonCodes f)''' 300 return KDialog.ButtonCodes() 301 def __iand__(self, mask): 302 '''KDialog.ButtonCodes KDialog.ButtonCodes.__iand__(int mask)''' 303 return KDialog.ButtonCodes() 304 class CaptionFlags(): 305 """""" 306 def __init__(self): 307 '''KDialog.CaptionFlags KDialog.CaptionFlags.__init__()''' 308 return KDialog.CaptionFlags() 309 def __init__(self): 310 '''int KDialog.CaptionFlags.__init__()''' 311 return int() 312 def __init__(self): 313 '''void KDialog.CaptionFlags.__init__()''' 314 def __bool__(self): 315 '''int KDialog.CaptionFlags.__bool__()''' 316 return int() 317 def __ne__(self, f): 318 '''bool KDialog.CaptionFlags.__ne__(KDialog.CaptionFlags f)''' 319 return bool() 320 def __eq__(self, f): 321 '''bool KDialog.CaptionFlags.__eq__(KDialog.CaptionFlags f)''' 322 return bool() 323 def __invert__(self): 324 '''KDialog.CaptionFlags KDialog.CaptionFlags.__invert__()''' 325 return KDialog.CaptionFlags() 326 def __and__(self, mask): 327 '''KDialog.CaptionFlags KDialog.CaptionFlags.__and__(int mask)''' 328 return KDialog.CaptionFlags() 329 def __xor__(self, f): 330 '''KDialog.CaptionFlags KDialog.CaptionFlags.__xor__(KDialog.CaptionFlags f)''' 331 return KDialog.CaptionFlags() 332 def __xor__(self, f): 333 '''KDialog.CaptionFlags KDialog.CaptionFlags.__xor__(int f)''' 334 return KDialog.CaptionFlags() 335 def __or__(self, f): 336 '''KDialog.CaptionFlags KDialog.CaptionFlags.__or__(KDialog.CaptionFlags f)''' 337 return KDialog.CaptionFlags() 338 def __or__(self, f): 339 '''KDialog.CaptionFlags KDialog.CaptionFlags.__or__(int f)''' 340 return KDialog.CaptionFlags() 341 def __int__(self): 342 '''int KDialog.CaptionFlags.__int__()''' 343 return int() 344 def __ixor__(self, f): 345 '''KDialog.CaptionFlags KDialog.CaptionFlags.__ixor__(KDialog.CaptionFlags f)''' 346 return KDialog.CaptionFlags() 347 def __ior__(self, f): 348 '''KDialog.CaptionFlags KDialog.CaptionFlags.__ior__(KDialog.CaptionFlags f)''' 349 return KDialog.CaptionFlags() 350 def __iand__(self, mask): 351 '''KDialog.CaptionFlags KDialog.CaptionFlags.__iand__(int mask)''' 352 return KDialog.CaptionFlags() 353 354 355class KAboutApplicationDialog(KDialog): 356 """""" 357 # Enum KAboutApplicationDialog.Option 358 NoOptions = 0 359 HideTranslators = 0 360 HideKdeVersion = 0 361 362 def __init__(self, aboutData, parent = None): 363 '''void KAboutApplicationDialog.__init__(KAboutData aboutData, QWidget parent = None)''' 364 def __init__(self, aboutData, opts, parent = None): 365 '''void KAboutApplicationDialog.__init__(KAboutData aboutData, KAboutApplicationDialog.Options opts, QWidget parent = None)''' 366 class Options(): 367 """""" 368 def __init__(self): 369 '''KAboutApplicationDialog.Options KAboutApplicationDialog.Options.__init__()''' 370 return KAboutApplicationDialog.Options() 371 def __init__(self): 372 '''int KAboutApplicationDialog.Options.__init__()''' 373 return int() 374 def __init__(self): 375 '''void KAboutApplicationDialog.Options.__init__()''' 376 def __bool__(self): 377 '''int KAboutApplicationDialog.Options.__bool__()''' 378 return int() 379 def __ne__(self, f): 380 '''bool KAboutApplicationDialog.Options.__ne__(KAboutApplicationDialog.Options f)''' 381 return bool() 382 def __eq__(self, f): 383 '''bool KAboutApplicationDialog.Options.__eq__(KAboutApplicationDialog.Options f)''' 384 return bool() 385 def __invert__(self): 386 '''KAboutApplicationDialog.Options KAboutApplicationDialog.Options.__invert__()''' 387 return KAboutApplicationDialog.Options() 388 def __and__(self, mask): 389 '''KAboutApplicationDialog.Options KAboutApplicationDialog.Options.__and__(int mask)''' 390 return KAboutApplicationDialog.Options() 391 def __xor__(self, f): 392 '''KAboutApplicationDialog.Options KAboutApplicationDialog.Options.__xor__(KAboutApplicationDialog.Options f)''' 393 return KAboutApplicationDialog.Options() 394 def __xor__(self, f): 395 '''KAboutApplicationDialog.Options KAboutApplicationDialog.Options.__xor__(int f)''' 396 return KAboutApplicationDialog.Options() 397 def __or__(self, f): 398 '''KAboutApplicationDialog.Options KAboutApplicationDialog.Options.__or__(KAboutApplicationDialog.Options f)''' 399 return KAboutApplicationDialog.Options() 400 def __or__(self, f): 401 '''KAboutApplicationDialog.Options KAboutApplicationDialog.Options.__or__(int f)''' 402 return KAboutApplicationDialog.Options() 403 def __int__(self): 404 '''int KAboutApplicationDialog.Options.__int__()''' 405 return int() 406 def __ixor__(self, f): 407 '''KAboutApplicationDialog.Options KAboutApplicationDialog.Options.__ixor__(KAboutApplicationDialog.Options f)''' 408 return KAboutApplicationDialog.Options() 409 def __ior__(self, f): 410 '''KAboutApplicationDialog.Options KAboutApplicationDialog.Options.__ior__(KAboutApplicationDialog.Options f)''' 411 return KAboutApplicationDialog.Options() 412 def __iand__(self, mask): 413 '''KAboutApplicationDialog.Options KAboutApplicationDialog.Options.__iand__(int mask)''' 414 return KAboutApplicationDialog.Options() 415 416 417class KAbstractWidgetJobTracker(KJobTrackerInterface): 418 """""" 419 def __init__(self, parent = None): 420 '''void KAbstractWidgetJobTracker.__init__(QWidget parent = None)''' 421 resume = pyqtSignal() # void resume(KJob *) - signal 422 suspend = pyqtSignal() # void suspend(KJob *) - signal 423 stopped = pyqtSignal() # void stopped(KJob *) - signal 424 def slotClean(self, job): 425 '''void KAbstractWidgetJobTracker.slotClean(KJob job)''' 426 def slotResume(self, job): 427 '''void KAbstractWidgetJobTracker.slotResume(KJob job)''' 428 def slotSuspend(self, job): 429 '''void KAbstractWidgetJobTracker.slotSuspend(KJob job)''' 430 def slotStop(self, job): 431 '''void KAbstractWidgetJobTracker.slotStop(KJob job)''' 432 def finished(self, job): 433 '''void KAbstractWidgetJobTracker.finished(KJob job)''' 434 def autoDelete(self, job): 435 '''bool KAbstractWidgetJobTracker.autoDelete(KJob job)''' 436 return bool() 437 def setAutoDelete(self, job, autoDelete): 438 '''void KAbstractWidgetJobTracker.setAutoDelete(KJob job, bool autoDelete)''' 439 def stopOnClose(self, job): 440 '''bool KAbstractWidgetJobTracker.stopOnClose(KJob job)''' 441 return bool() 442 def setStopOnClose(self, job, stopOnClose): 443 '''void KAbstractWidgetJobTracker.setStopOnClose(KJob job, bool stopOnClose)''' 444 def widget(self, job): 445 '''abstract QWidget KAbstractWidgetJobTracker.widget(KJob job)''' 446 return QWidget() 447 def unregisterJob(self, job): 448 '''void KAbstractWidgetJobTracker.unregisterJob(KJob job)''' 449 def registerJob(self, job): 450 '''void KAbstractWidgetJobTracker.registerJob(KJob job)''' 451 452 453class KAcceleratorManager(): 454 """""" 455 def __init__(self): 456 '''void KAcceleratorManager.__init__()''' 457 def __init__(self): 458 '''KAcceleratorManager KAcceleratorManager.__init__()''' 459 return KAcceleratorManager() 460 def setNoAccel(self, widget): 461 '''static void KAcceleratorManager.setNoAccel(QWidget widget)''' 462 def last_manage(self, added, changed, removed): 463 '''static void KAcceleratorManager.last_manage(QString added, QString changed, QString removed)''' 464 def manage(self, widget, programmers_mode = False): 465 '''static void KAcceleratorManager.manage(QWidget widget, bool programmers_mode = False)''' 466 467 468class KAccelGen(): 469 """""" 470 def generate(self, source, target): 471 '''static void KAccelGen.generate(QStringList source, QStringList target)''' 472 def isLegalAccelerator(self, str, index): 473 '''static bool KAccelGen.isLegalAccelerator(QString str, int index)''' 474 return bool() 475 476 477class KAction(QWidgetAction): 478 """""" 479 # Enum KAction.GlobalShortcutLoading 480 Autoloading = 0 481 NoAutoloading = 0 482 483 # Enum KAction.ShortcutType 484 ActiveShortcut = 0 485 DefaultShortcut = 0 486 487 def __init__(self, parent): 488 '''void KAction.__init__(QObject parent)''' 489 def __init__(self, text, parent): 490 '''void KAction.__init__(QString text, QObject parent)''' 491 def __init__(self, icon, text, parent): 492 '''void KAction.__init__(KIcon icon, QString text, QObject parent)''' 493 authorized = pyqtSignal() # void authorized(KAuth::Action *) - signal 494 def setAuthAction(self, action): 495 '''void KAction.setAuthAction(KAuth.Action action)''' 496 def setAuthAction(self, actionName): 497 '''void KAction.setAuthAction(QString actionName)''' 498 def authAction(self): 499 '''KAuth.Action KAction.authAction()''' 500 return KAuth.Action() 501 globalShortcutChanged = pyqtSignal() # void globalShortcutChanged(const QKeySequenceamp;) - signal 502 triggered = pyqtSignal() # void triggered(Qt::MouseButtons,Qt::KeyboardModifiers) - signal 503 def event(self): 504 '''QEvent KAction.event()''' 505 return QEvent() 506 def setRockerGesture(self, gest, type = None): 507 '''void KAction.setRockerGesture(KRockerGesture gest, KAction.ShortcutTypes type = KAction.ShortcutTypes(KAction.ActiveShortcut|KAction.DefaultShortcut))''' 508 def setShapeGesture(self, gest, type = None): 509 '''void KAction.setShapeGesture(KShapeGesture gest, KAction.ShortcutTypes type = KAction.ShortcutTypes(KAction.ActiveShortcut|KAction.DefaultShortcut))''' 510 def rockerGesture(self, type = None): 511 '''KRockerGesture KAction.rockerGesture(KAction.ShortcutTypes type = KAction.ActiveShortcut)''' 512 return KRockerGesture() 513 def shapeGesture(self, type = None): 514 '''KShapeGesture KAction.shapeGesture(KAction.ShortcutTypes type = KAction.ActiveShortcut)''' 515 return KShapeGesture() 516 def forgetGlobalShortcut(self): 517 '''void KAction.forgetGlobalShortcut()''' 518 def isGlobalShortcutEnabled(self): 519 '''bool KAction.isGlobalShortcutEnabled()''' 520 return bool() 521 def setGlobalShortcutAllowed(self, allowed, loading = None): 522 '''void KAction.setGlobalShortcutAllowed(bool allowed, KAction.GlobalShortcutLoading loading = KAction.Autoloading)''' 523 def globalShortcutAllowed(self): 524 '''bool KAction.globalShortcutAllowed()''' 525 return bool() 526 def setGlobalShortcut(self, shortcut, type = None, loading = None): 527 '''void KAction.setGlobalShortcut(KShortcut shortcut, KAction.ShortcutTypes type = KAction.ShortcutTypes(KAction.ActiveShortcut|KAction.DefaultShortcut), KAction.GlobalShortcutLoading loading = KAction.Autoloading)''' 528 def globalShortcut(self, type = None): 529 '''KShortcut KAction.globalShortcut(KAction.ShortcutTypes type = KAction.ActiveShortcut)''' 530 return KShortcut() 531 def setShortcutConfigurable(self, configurable): 532 '''void KAction.setShortcutConfigurable(bool configurable)''' 533 def isShortcutConfigurable(self): 534 '''bool KAction.isShortcutConfigurable()''' 535 return bool() 536 def setShortcuts(self, shortcuts, type = None): 537 '''void KAction.setShortcuts(list-of-QKeySequence shortcuts, KAction.ShortcutTypes type = KAction.ShortcutTypes(KAction.ActiveShortcut|KAction.DefaultShortcut))''' 538 def setShortcut(self, shortcut, type = None): 539 '''void KAction.setShortcut(KShortcut shortcut, KAction.ShortcutTypes type = KAction.ShortcutTypes(KAction.ActiveShortcut|KAction.DefaultShortcut))''' 540 def setShortcut(self, shortcut, type = None): 541 '''void KAction.setShortcut(QKeySequence shortcut, KAction.ShortcutTypes type = KAction.ShortcutTypes(KAction.ActiveShortcut|KAction.DefaultShortcut))''' 542 def shortcut(self, types = None): 543 '''KShortcut KAction.shortcut(KAction.ShortcutTypes types = KAction.ActiveShortcut)''' 544 return KShortcut() 545 def setHelpText(self, text): 546 '''void KAction.setHelpText(QString text)''' 547 class ShortcutTypes(): 548 """""" 549 def __init__(self): 550 '''KAction.ShortcutTypes KAction.ShortcutTypes.__init__()''' 551 return KAction.ShortcutTypes() 552 def __init__(self): 553 '''int KAction.ShortcutTypes.__init__()''' 554 return int() 555 def __init__(self): 556 '''void KAction.ShortcutTypes.__init__()''' 557 def __bool__(self): 558 '''int KAction.ShortcutTypes.__bool__()''' 559 return int() 560 def __ne__(self, f): 561 '''bool KAction.ShortcutTypes.__ne__(KAction.ShortcutTypes f)''' 562 return bool() 563 def __eq__(self, f): 564 '''bool KAction.ShortcutTypes.__eq__(KAction.ShortcutTypes f)''' 565 return bool() 566 def __invert__(self): 567 '''KAction.ShortcutTypes KAction.ShortcutTypes.__invert__()''' 568 return KAction.ShortcutTypes() 569 def __and__(self, mask): 570 '''KAction.ShortcutTypes KAction.ShortcutTypes.__and__(int mask)''' 571 return KAction.ShortcutTypes() 572 def __xor__(self, f): 573 '''KAction.ShortcutTypes KAction.ShortcutTypes.__xor__(KAction.ShortcutTypes f)''' 574 return KAction.ShortcutTypes() 575 def __xor__(self, f): 576 '''KAction.ShortcutTypes KAction.ShortcutTypes.__xor__(int f)''' 577 return KAction.ShortcutTypes() 578 def __or__(self, f): 579 '''KAction.ShortcutTypes KAction.ShortcutTypes.__or__(KAction.ShortcutTypes f)''' 580 return KAction.ShortcutTypes() 581 def __or__(self, f): 582 '''KAction.ShortcutTypes KAction.ShortcutTypes.__or__(int f)''' 583 return KAction.ShortcutTypes() 584 def __int__(self): 585 '''int KAction.ShortcutTypes.__int__()''' 586 return int() 587 def __ixor__(self, f): 588 '''KAction.ShortcutTypes KAction.ShortcutTypes.__ixor__(KAction.ShortcutTypes f)''' 589 return KAction.ShortcutTypes() 590 def __ior__(self, f): 591 '''KAction.ShortcutTypes KAction.ShortcutTypes.__ior__(KAction.ShortcutTypes f)''' 592 return KAction.ShortcutTypes() 593 def __iand__(self, mask): 594 '''KAction.ShortcutTypes KAction.ShortcutTypes.__iand__(int mask)''' 595 return KAction.ShortcutTypes() 596 597 598class KActionCategory(QObject): 599 """""" 600 def __init__(self, text, parent = None): 601 '''void KActionCategory.__init__(QString text, KActionCollection parent = None)''' 602 def setText(self, text): 603 '''void KActionCategory.setText(QString text)''' 604 def text(self): 605 '''QString KActionCategory.text()''' 606 return QString() 607 def collection(self): 608 '''KActionCollection KActionCategory.collection()''' 609 return KActionCollection() 610 def actions(self): 611 '''list-of-QAction KActionCategory.actions()''' 612 return [QAction()] 613 def addAction(self, name, action): 614 '''QAction KActionCategory.addAction(QString name, QAction action)''' 615 return QAction() 616 def addAction(self, name, action): 617 '''KAction KActionCategory.addAction(QString name, KAction action)''' 618 return KAction() 619 def addAction(self, actionType, receiver = None, member = None): 620 '''KAction KActionCategory.addAction(KStandardAction.StandardAction actionType, QObject receiver = None, str member = None)''' 621 return KAction() 622 def addAction(self, actionType, name, receiver = None, member = None): 623 '''KAction KActionCategory.addAction(KStandardAction.StandardAction actionType, QString name, QObject receiver = None, str member = None)''' 624 return KAction() 625 def addAction(self, name, receiver = None, member = None): 626 '''KAction KActionCategory.addAction(QString name, QObject receiver = None, str member = None)''' 627 return KAction() 628 629 630class KActionCollection(QObject): 631 """""" 632 def __init__(self, parent, cData = KComponentData()): 633 '''void KActionCollection.__init__(QObject parent, KComponentData cData = KComponentData())''' 634 def takeAction(self, action): 635 '''QAction KActionCollection.takeAction(QAction action)''' 636 return QAction() 637 def removeAction(self, action): 638 '''void KActionCollection.removeAction(QAction action)''' 639 def addAction(self, name, action): 640 '''QAction KActionCollection.addAction(QString name, QAction action)''' 641 return QAction() 642 def addAction(self, name, action): 643 '''KAction KActionCollection.addAction(QString name, KAction action)''' 644 return KAction() 645 def addAction(self, actionType, receiver = None, member = None): 646 '''KAction KActionCollection.addAction(KStandardAction.StandardAction actionType, QObject receiver = None, str member = None)''' 647 return KAction() 648 def addAction(self, actionType, name, receiver = None, member = None): 649 '''KAction KActionCollection.addAction(KStandardAction.StandardAction actionType, QString name, QObject receiver = None, str member = None)''' 650 return KAction() 651 def addAction(self, name, receiver = None, member = None): 652 '''KAction KActionCollection.addAction(QString name, QObject receiver = None, str member = None)''' 653 return KAction() 654 def slotActionHighlighted(self): 655 '''void KActionCollection.slotActionHighlighted()''' 656 def slotActionTriggered(self): 657 '''void KActionCollection.slotActionTriggered()''' 658 def connectNotify(self): 659 '''SIGNAL() KActionCollection.connectNotify()''' 660 return SIGNAL()() 661 actionTriggered = pyqtSignal() # void actionTriggered(QAction *) - signal 662 actionHovered = pyqtSignal() # void actionHovered(QAction *) - signal 663 actionHighlighted = pyqtSignal() # void actionHighlighted(QAction *) - signal 664 removed = pyqtSignal() # void removed(QAction *) - signal 665 inserted = pyqtSignal() # void inserted(QAction *) - signal 666 def parentGUIClient(self): 667 '''KXMLGUIClient KActionCollection.parentGUIClient()''' 668 return KXMLGUIClient() 669 def componentData(self): 670 '''KComponentData KActionCollection.componentData()''' 671 return KComponentData() 672 def setComponentData(self, componentData): 673 '''void KActionCollection.setComponentData(KComponentData componentData)''' 674 def actionGroups(self): 675 '''list-of-QActionGroup KActionCollection.actionGroups()''' 676 return [QActionGroup()] 677 def actionsWithoutGroup(self): 678 '''list-of-QAction KActionCollection.actionsWithoutGroup()''' 679 return [QAction()] 680 def actions(self): 681 '''list-of-QAction KActionCollection.actions()''' 682 return [QAction()] 683 def action(self, index): 684 '''QAction KActionCollection.action(int index)''' 685 return QAction() 686 def action(self, name): 687 '''QAction KActionCollection.action(QString name)''' 688 return QAction() 689 def isEmpty(self): 690 '''bool KActionCollection.isEmpty()''' 691 return bool() 692 def count(self): 693 '''int KActionCollection.count()''' 694 return int() 695 def writeSettings(self, config = None, writeDefaults = False, oneAction = None): 696 '''void KActionCollection.writeSettings(KConfigGroup config = None, bool writeDefaults = False, QAction oneAction = None)''' 697 def exportGlobalShortcuts(self, config, writeDefaults = False): 698 '''void KActionCollection.exportGlobalShortcuts(KConfigGroup config, bool writeDefaults = False)''' 699 def importGlobalShortcuts(self, config): 700 '''void KActionCollection.importGlobalShortcuts(KConfigGroup config)''' 701 def readSettings(self, config = None): 702 '''void KActionCollection.readSettings(KConfigGroup config = None)''' 703 def setConfigGlobal(self, global_): 704 '''void KActionCollection.setConfigGlobal(bool global)''' 705 def setConfigGroup(self, group): 706 '''void KActionCollection.setConfigGroup(QString group)''' 707 def configIsGlobal(self): 708 '''bool KActionCollection.configIsGlobal()''' 709 return bool() 710 def configGroup(self): 711 '''QString KActionCollection.configGroup()''' 712 return QString() 713 def clearAssociatedWidgets(self): 714 '''void KActionCollection.clearAssociatedWidgets()''' 715 def associatedWidgets(self): 716 '''list-of-QWidget KActionCollection.associatedWidgets()''' 717 return [QWidget()] 718 def removeAssociatedWidget(self, widget): 719 '''void KActionCollection.removeAssociatedWidget(QWidget widget)''' 720 def addAssociatedWidget(self, widget): 721 '''void KActionCollection.addAssociatedWidget(QWidget widget)''' 722 def associateWidget(self, widget): 723 '''void KActionCollection.associateWidget(QWidget widget)''' 724 def clear(self): 725 '''void KActionCollection.clear()''' 726 def allCollections(self): 727 '''static list-of-KActionCollection KActionCollection.allCollections()''' 728 return [KActionCollection()] 729 730 731class KActionMenu(KAction): 732 """""" 733 def __init__(self, parent): 734 '''void KActionMenu.__init__(QObject parent)''' 735 def __init__(self, text, parent): 736 '''void KActionMenu.__init__(QString text, QObject parent)''' 737 def __init__(self, icon, text, parent): 738 '''void KActionMenu.__init__(KIcon icon, QString text, QObject parent)''' 739 def createWidget(self, parent): 740 '''QWidget KActionMenu.createWidget(QWidget parent)''' 741 return QWidget() 742 def setStickyMenu(self, sticky): 743 '''void KActionMenu.setStickyMenu(bool sticky)''' 744 def stickyMenu(self): 745 '''bool KActionMenu.stickyMenu()''' 746 return bool() 747 def setDelayed(self, delayed): 748 '''void KActionMenu.setDelayed(bool delayed)''' 749 def delayed(self): 750 '''bool KActionMenu.delayed()''' 751 return bool() 752 def setMenu(self, menu): 753 '''void KActionMenu.setMenu(KMenu menu)''' 754 def menu(self): 755 '''KMenu KActionMenu.menu()''' 756 return KMenu() 757 def popupMenu(self): 758 '''KMenu KActionMenu.popupMenu()''' 759 return KMenu() 760 def removeAction(self, action): 761 '''void KActionMenu.removeAction(QAction action)''' 762 def insertSeparator(self, before): 763 '''QAction KActionMenu.insertSeparator(QAction before)''' 764 return QAction() 765 def insertAction(self, before, action): 766 '''void KActionMenu.insertAction(QAction before, QAction action)''' 767 def addSeparator(self): 768 '''QAction KActionMenu.addSeparator()''' 769 return QAction() 770 def addAction(self, action): 771 '''void KActionMenu.addAction(QAction action)''' 772 def remove(self): 773 '''KAction KActionMenu.remove()''' 774 return KAction() 775 776 777class KActionSelector(QWidget): 778 """""" 779 # Enum KActionSelector.InsertionPolicy 780 BelowCurrent = 0 781 Sorted = 0 782 AtTop = 0 783 AtBottom = 0 784 785 # Enum KActionSelector.MoveButton 786 ButtonAdd = 0 787 ButtonRemove = 0 788 ButtonUp = 0 789 ButtonDown = 0 790 791 def __init__(self, parent = None): 792 '''void KActionSelector.__init__(QWidget parent = None)''' 793 def eventFilter(self): 794 '''QEvent KActionSelector.eventFilter()''' 795 return QEvent() 796 def keyPressEvent(self): 797 '''QKeyEvent KActionSelector.keyPressEvent()''' 798 return QKeyEvent() 799 def polish(self): 800 '''void KActionSelector.polish()''' 801 movedDown = pyqtSignal() # void movedDown(QListWidgetItem *) - signal 802 movedUp = pyqtSignal() # void movedUp(QListWidgetItem *) - signal 803 removed = pyqtSignal() # void removed(QListWidgetItem *) - signal 804 added = pyqtSignal() # void added(QListWidgetItem *) - signal 805 def setButtonsEnabled(self): 806 '''void KActionSelector.setButtonsEnabled()''' 807 def setButtonWhatsThis(self, text, button): 808 '''void KActionSelector.setButtonWhatsThis(QString text, KActionSelector.MoveButton button)''' 809 def setButtonTooltip(self, tip, button): 810 '''void KActionSelector.setButtonTooltip(QString tip, KActionSelector.MoveButton button)''' 811 def setButtonIconSet(self, iconset, button): 812 '''void KActionSelector.setButtonIconSet(QIcon iconset, KActionSelector.MoveButton button)''' 813 def setButtonIcon(self, icon, button): 814 '''void KActionSelector.setButtonIcon(QString icon, KActionSelector.MoveButton button)''' 815 def setShowUpDownButtons(self, show): 816 '''void KActionSelector.setShowUpDownButtons(bool show)''' 817 def showUpDownButtons(self): 818 '''bool KActionSelector.showUpDownButtons()''' 819 return bool() 820 def setSelectedInsertionPolicy(self, policy): 821 '''void KActionSelector.setSelectedInsertionPolicy(KActionSelector.InsertionPolicy policy)''' 822 def selectedInsertionPolicy(self): 823 '''KActionSelector.InsertionPolicy KActionSelector.selectedInsertionPolicy()''' 824 return KActionSelector.InsertionPolicy() 825 def setAvailableInsertionPolicy(self, policy): 826 '''void KActionSelector.setAvailableInsertionPolicy(KActionSelector.InsertionPolicy policy)''' 827 def availableInsertionPolicy(self): 828 '''KActionSelector.InsertionPolicy KActionSelector.availableInsertionPolicy()''' 829 return KActionSelector.InsertionPolicy() 830 def setSelectedLabel(self, text): 831 '''void KActionSelector.setSelectedLabel(QString text)''' 832 def selectedLabel(self): 833 '''QString KActionSelector.selectedLabel()''' 834 return QString() 835 def setAvailableLabel(self, text): 836 '''void KActionSelector.setAvailableLabel(QString text)''' 837 def availableLabel(self): 838 '''QString KActionSelector.availableLabel()''' 839 return QString() 840 def setKeyboardEnabled(self, enable): 841 '''void KActionSelector.setKeyboardEnabled(bool enable)''' 842 def keyboardEnabled(self): 843 '''bool KActionSelector.keyboardEnabled()''' 844 return bool() 845 def setMoveOnDoubleClick(self, enable): 846 '''void KActionSelector.setMoveOnDoubleClick(bool enable)''' 847 def moveOnDoubleClick(self): 848 '''bool KActionSelector.moveOnDoubleClick()''' 849 return bool() 850 def selectedListWidget(self): 851 '''QListWidget KActionSelector.selectedListWidget()''' 852 return QListWidget() 853 def availableListWidget(self): 854 '''QListWidget KActionSelector.availableListWidget()''' 855 return QListWidget() 856 857 858class KAnimatedButton(QToolButton): 859 """""" 860 def __init__(self, parent = None): 861 '''void KAnimatedButton.__init__(QWidget parent = None)''' 862 def slotTimerUpdate(self): 863 '''void KAnimatedButton.slotTimerUpdate()''' 864 clicked = pyqtSignal() # void clicked() - signal 865 def updateIcons(self): 866 '''void KAnimatedButton.updateIcons()''' 867 def stop(self): 868 '''void KAnimatedButton.stop()''' 869 def start(self): 870 '''void KAnimatedButton.start()''' 871 def setIcons(self, icons): 872 '''void KAnimatedButton.setIcons(QString icons)''' 873 def icons(self): 874 '''QString KAnimatedButton.icons()''' 875 return QString() 876 def iconDimensions(self): 877 '''int KAnimatedButton.iconDimensions()''' 878 return int() 879 880 881class KApplication(QApplication): 882 """""" 883 loadedByKdeinit = None # bool - member 884 def __init__(self, GUIenabled = True): 885 '''void KApplication.__init__(bool GUIenabled = True)''' 886 def __init__(self, display, visual = 0, colormap = 0): 887 '''void KApplication.__init__(Display display, int visual = 0, int colormap = 0)''' 888 def __init__(self, display, list, rAppName, GUIenabled = True): 889 '''void KApplication.__init__(Display display, list list, QByteArray rAppName, bool GUIenabled = True)''' 890 def __init__(self, GUIenabled, cData): 891 '''void KApplication.__init__(bool GUIenabled, KComponentData cData)''' 892 def __init__(self, display, visual, colormap, cData): 893 '''void KApplication.__init__(Display display, int visual, int colormap, KComponentData cData)''' 894 saveYourself = pyqtSignal() # void saveYourself() - signal 895 def quit(self): 896 '''void KApplication.quit()''' 897 def reparseConfiguration(self): 898 '''void KApplication.reparseConfiguration()''' 899 def updateUserTimestamp(self, time = 0): 900 '''void KApplication.updateUserTimestamp(int time = 0)''' 901 def xioErrhandler(self): 902 '''Display KApplication.xioErrhandler()''' 903 return Display() 904 def notify(self, receiver, event): 905 '''bool KApplication.notify(QObject receiver, QEvent event)''' 906 return bool() 907 def updateRemoteUserTimestamp(self, service, time = 0): 908 '''void KApplication.updateRemoteUserTimestamp(QString service, int time = 0)''' 909 def userTimestamp(self): 910 '''int KApplication.userTimestamp()''' 911 return int() 912 def setSynchronizeClipboard(self, synchronize): 913 '''void KApplication.setSynchronizeClipboard(bool synchronize)''' 914 def clearStartupId(self): 915 '''void KApplication.clearStartupId()''' 916 def setStartupId(self, startup_id): 917 '''void KApplication.setStartupId(QByteArray startup_id)''' 918 def startupId(self): 919 '''QByteArray KApplication.startupId()''' 920 return QByteArray() 921 def removeX11EventFilter(self, filter): 922 '''void KApplication.removeX11EventFilter(QWidget filter)''' 923 def installX11EventFilter(self, filter): 924 '''void KApplication.installX11EventFilter(QWidget filter)''' 925 def checkRecoverFile(self, pFilename, bRecover): 926 '''static QString KApplication.checkRecoverFile(QString pFilename, bool bRecover)''' 927 return QString() 928 def tempSaveName(self, pFilename): 929 '''static QString KApplication.tempSaveName(QString pFilename)''' 930 return QString() 931 def setTopWidget(self, topWidget): 932 '''void KApplication.setTopWidget(QWidget topWidget)''' 933 def sessionSaving(self): 934 '''bool KApplication.sessionSaving()''' 935 return bool() 936 def saveState(self, sm): 937 '''void KApplication.saveState(QSessionManager sm)''' 938 def commitData(self, sm): 939 '''void KApplication.commitData(QSessionManager sm)''' 940 def enableSessionManagement(self): 941 '''void KApplication.enableSessionManagement()''' 942 def disableSessionManagement(self): 943 '''void KApplication.disableSessionManagement()''' 944 def sessionConfig(self): 945 '''KConfig KApplication.sessionConfig()''' 946 return KConfig() 947 def kApplication(self): 948 '''static KApplication KApplication.kApplication()''' 949 return KApplication() 950 951 952class KArrowButton(QPushButton): 953 """""" 954 def __init__(self, parent = None, arrow = None): 955 '''void KArrowButton.__init__(QWidget parent = None, Qt.ArrowType arrow = Qt.UpArrow)''' 956 def paintEvent(self): 957 '''QPaintEvent KArrowButton.paintEvent()''' 958 return QPaintEvent() 959 def setArrowType(self, a): 960 '''void KArrowButton.setArrowType(Qt.ArrowType a)''' 961 def setArrowTp(self, tp): 962 '''void KArrowButton.setArrowTp(int tp)''' 963 def arrowTp(self): 964 '''int KArrowButton.arrowTp()''' 965 return int() 966 def arrowType(self): 967 '''Qt.ArrowType KArrowButton.arrowType()''' 968 return Qt.ArrowType() 969 def sizeHint(self): 970 '''QSize KArrowButton.sizeHint()''' 971 return QSize() 972 973 974class KPageDialog(KDialog): 975 """""" 976 # Enum KPageDialog.FaceType 977 Auto = 0 978 Plain = 0 979 List = 0 980 Tree = 0 981 Tabbed = 0 982 983 def __init__(self, parent = None, flags = 0): 984 '''void KPageDialog.__init__(QWidget parent = None, Qt.WindowFlags flags = 0)''' 985 def __init__(self, widget, parent, flags = 0): 986 '''void KPageDialog.__init__(KPageWidget widget, QWidget parent, Qt.WindowFlags flags = 0)''' 987 def setPageWidget(self, widget): 988 '''void KPageDialog.setPageWidget(KPageWidget widget)''' 989 def pageWidget(self): 990 '''KPageWidget KPageDialog.pageWidget()''' 991 return KPageWidget() 992 pageRemoved = pyqtSignal() # void pageRemoved(KPageWidgetItem *) - signal 993 currentPageChanged = pyqtSignal() # void currentPageChanged(KPageWidgetItem *,KPageWidgetItem *) - signal 994 def currentPage(self): 995 '''KPageWidgetItem KPageDialog.currentPage()''' 996 return KPageWidgetItem() 997 def setCurrentPage(self, item): 998 '''void KPageDialog.setCurrentPage(KPageWidgetItem item)''' 999 def removePage(self, item): 1000 '''void KPageDialog.removePage(KPageWidgetItem item)''' 1001 def addSubPage(self, parent, widget, name): 1002 '''KPageWidgetItem KPageDialog.addSubPage(KPageWidgetItem parent, QWidget widget, QString name)''' 1003 return KPageWidgetItem() 1004 def addSubPage(self, parent, item): 1005 '''void KPageDialog.addSubPage(KPageWidgetItem parent, KPageWidgetItem item)''' 1006 def insertPage(self, before, widget, name): 1007 '''KPageWidgetItem KPageDialog.insertPage(KPageWidgetItem before, QWidget widget, QString name)''' 1008 return KPageWidgetItem() 1009 def insertPage(self, before, item): 1010 '''void KPageDialog.insertPage(KPageWidgetItem before, KPageWidgetItem item)''' 1011 def addPage(self, widget, name): 1012 '''KPageWidgetItem KPageDialog.addPage(QWidget widget, QString name)''' 1013 return KPageWidgetItem() 1014 def addPage(self, item): 1015 '''void KPageDialog.addPage(KPageWidgetItem item)''' 1016 def setFaceType(self, faceType): 1017 '''void KPageDialog.setFaceType(KPageDialog.FaceType faceType)''' 1018 1019 1020class KAssistantDialog(KPageDialog): 1021 """""" 1022 def __init__(self, parent = None, flags = 0): 1023 '''void KAssistantDialog.__init__(QWidget parent = None, Qt.WindowFlags flags = 0)''' 1024 def __init__(self, widget, parent = None, flags = 0): 1025 '''void KAssistantDialog.__init__(KPageWidget widget, QWidget parent = None, Qt.WindowFlags flags = 0)''' 1026 def showEvent(self, event): 1027 '''void KAssistantDialog.showEvent(QShowEvent event)''' 1028 def next(self): 1029 '''void KAssistantDialog.next()''' 1030 def back(self): 1031 '''void KAssistantDialog.back()''' 1032 def isAppropriate(self, page): 1033 '''bool KAssistantDialog.isAppropriate(KPageWidgetItem page)''' 1034 return bool() 1035 def setAppropriate(self, page, appropriate): 1036 '''void KAssistantDialog.setAppropriate(KPageWidgetItem page, bool appropriate)''' 1037 def isValid(self, page): 1038 '''bool KAssistantDialog.isValid(KPageWidgetItem page)''' 1039 return bool() 1040 def setValid(self, page, enable): 1041 '''void KAssistantDialog.setValid(KPageWidgetItem page, bool enable)''' 1042 1043 1044class KBreadcrumbSelectionModel(QItemSelectionModel): 1045 """""" 1046 # Enum KBreadcrumbSelectionModel.BreadcrumbTarget 1047 MakeBreadcrumbSelectionInOther = 0 1048 MakeBreadcrumbSelectionInSelf = 0 1049 1050 def __init__(self, selectionModel, parent = None): 1051 '''void KBreadcrumbSelectionModel.__init__(QItemSelectionModel selectionModel, QObject parent = None)''' 1052 def __init__(self, selectionModel, target, parent = None): 1053 '''void KBreadcrumbSelectionModel.__init__(QItemSelectionModel selectionModel, KBreadcrumbSelectionModel.BreadcrumbTarget target, QObject parent = None)''' 1054 def select(self, index, command): 1055 '''void KBreadcrumbSelectionModel.select(QModelIndex index, QItemSelectionModel.SelectionFlags command)''' 1056 def select(self, selection, command): 1057 '''void KBreadcrumbSelectionModel.select(QItemSelection selection, QItemSelectionModel.SelectionFlags command)''' 1058 def setBreadcrumbLength(self, breadcrumbLength): 1059 '''void KBreadcrumbSelectionModel.setBreadcrumbLength(int breadcrumbLength)''' 1060 def breadcrumbLength(self): 1061 '''int KBreadcrumbSelectionModel.breadcrumbLength()''' 1062 return int() 1063 def setActualSelectionIncluded(self, isActualSelectionIncluded): 1064 '''void KBreadcrumbSelectionModel.setActualSelectionIncluded(bool isActualSelectionIncluded)''' 1065 def isActualSelectionIncluded(self): 1066 '''bool KBreadcrumbSelectionModel.isActualSelectionIncluded()''' 1067 return bool() 1068 1069 1070class KBugReport(KDialog): 1071 """""" 1072 def __init__(self, parent = None, modal = True, aboutData = None): 1073 '''void KBugReport.__init__(QWidget parent = None, bool modal = True, KAboutData aboutData = None)''' 1074 def closeEvent(self, e): 1075 '''void KBugReport.closeEvent(QCloseEvent e)''' 1076 def sendBugReport(self): 1077 '''bool KBugReport.sendBugReport()''' 1078 return bool() 1079 def text(self): 1080 '''QString KBugReport.text()''' 1081 return QString() 1082 def accept(self): 1083 '''void KBugReport.accept()''' 1084 def setMessageBody(self, messageBody): 1085 '''void KBugReport.setMessageBody(QString messageBody)''' 1086 def messageBody(self): 1087 '''QString KBugReport.messageBody()''' 1088 return QString() 1089 1090 1091class KButtonGroup(QGroupBox): 1092 """""" 1093 def __init__(self, parent = None): 1094 '''void KButtonGroup.__init__(QWidget parent = None)''' 1095 def childEvent(self, event): 1096 '''void KButtonGroup.childEvent(QChildEvent event)''' 1097 changed = pyqtSignal() # void changed(int) - signal 1098 released = pyqtSignal() # void released(int) - signal 1099 pressed = pyqtSignal() # void pressed(int) - signal 1100 clicked = pyqtSignal() # void clicked(int) - signal 1101 def setSelected(self, id): 1102 '''void KButtonGroup.setSelected(int id)''' 1103 def id(self, button): 1104 '''int KButtonGroup.id(QAbstractButton button)''' 1105 return int() 1106 def selected(self): 1107 '''int KButtonGroup.selected()''' 1108 return int() 1109 1110 1111class KCapacityBar(QWidget): 1112 """""" 1113 # Enum KCapacityBar.DrawTextMode 1114 DrawTextInline = 0 1115 DrawTextOutline = 0 1116 1117 def __init__(self, drawTextMode = None, parent = None): 1118 '''void KCapacityBar.__init__(KCapacityBar.DrawTextMode drawTextMode = KCapacityBar.DrawTextOutline, QWidget parent = None)''' 1119 def drawTextMode(self): 1120 '''KCapacityBar.DrawTextMode KCapacityBar.drawTextMode()''' 1121 return KCapacityBar.DrawTextMode() 1122 def setDrawTextMode(self, mode): 1123 '''void KCapacityBar.setDrawTextMode(KCapacityBar.DrawTextMode mode)''' 1124 def changeEvent(self, event): 1125 '''void KCapacityBar.changeEvent(QEvent event)''' 1126 def paintEvent(self, event): 1127 '''void KCapacityBar.paintEvent(QPaintEvent event)''' 1128 def minimumSizeHint(self): 1129 '''QSize KCapacityBar.minimumSizeHint()''' 1130 return QSize() 1131 def drawCapacityBar(self, p, rect): 1132 '''void KCapacityBar.drawCapacityBar(QPainter p, QRect rect)''' 1133 def horizontalTextAlignment(self): 1134 '''Qt.Alignment KCapacityBar.horizontalTextAlignment()''' 1135 return Qt.Alignment() 1136 def setHorizontalTextAlignment(self, textAlignment): 1137 '''void KCapacityBar.setHorizontalTextAlignment(Qt.Alignment textAlignment)''' 1138 def barHeight(self): 1139 '''int KCapacityBar.barHeight()''' 1140 return int() 1141 def setBarHeight(self, barHeight): 1142 '''void KCapacityBar.setBarHeight(int barHeight)''' 1143 def continuous(self): 1144 '''bool KCapacityBar.continuous()''' 1145 return bool() 1146 def setContinuous(self, continuous): 1147 '''void KCapacityBar.setContinuous(bool continuous)''' 1148 def fillFullBlocks(self): 1149 '''bool KCapacityBar.fillFullBlocks()''' 1150 return bool() 1151 def setFillFullBlocks(self, fillFullBlocks): 1152 '''void KCapacityBar.setFillFullBlocks(bool fillFullBlocks)''' 1153 def text(self): 1154 '''QString KCapacityBar.text()''' 1155 return QString() 1156 def setText(self, text): 1157 '''void KCapacityBar.setText(QString text)''' 1158 def value(self): 1159 '''int KCapacityBar.value()''' 1160 return int() 1161 def setValue(self, value): 1162 '''void KCapacityBar.setValue(int value)''' 1163 1164 1165class KCategorizedSortFilterProxyModel(QSortFilterProxyModel): 1166 """""" 1167 # Enum KCategorizedSortFilterProxyModel.AdditionalRoles 1168 CategoryDisplayRole = 0 1169 CategorySortRole = 0 1170 1171 def __init__(self, parent = None): 1172 '''void KCategorizedSortFilterProxyModel.__init__(QObject parent = None)''' 1173 def compareCategories(self, left, right): 1174 '''int KCategorizedSortFilterProxyModel.compareCategories(QModelIndex left, QModelIndex right)''' 1175 return int() 1176 def subSortLessThan(self, left, right): 1177 '''bool KCategorizedSortFilterProxyModel.subSortLessThan(QModelIndex left, QModelIndex right)''' 1178 return bool() 1179 def lessThan(self, left, right): 1180 '''bool KCategorizedSortFilterProxyModel.lessThan(QModelIndex left, QModelIndex right)''' 1181 return bool() 1182 def naturalCompare(self, a, b): 1183 '''static int KCategorizedSortFilterProxyModel.naturalCompare(QString a, QString b)''' 1184 return int() 1185 def sortCategoriesByNaturalComparison(self): 1186 '''bool KCategorizedSortFilterProxyModel.sortCategoriesByNaturalComparison()''' 1187 return bool() 1188 def setSortCategoriesByNaturalComparison(self, sortCategoriesByNaturalComparison): 1189 '''void KCategorizedSortFilterProxyModel.setSortCategoriesByNaturalComparison(bool sortCategoriesByNaturalComparison)''' 1190 def sortOrder(self): 1191 '''Qt.SortOrder KCategorizedSortFilterProxyModel.sortOrder()''' 1192 return Qt.SortOrder() 1193 def sortColumn(self): 1194 '''int KCategorizedSortFilterProxyModel.sortColumn()''' 1195 return int() 1196 def setCategorizedModel(self, categorizedModel): 1197 '''void KCategorizedSortFilterProxyModel.setCategorizedModel(bool categorizedModel)''' 1198 def isCategorizedModel(self): 1199 '''bool KCategorizedSortFilterProxyModel.isCategorizedModel()''' 1200 return bool() 1201 def sort(self, column, order = None): 1202 '''void KCategorizedSortFilterProxyModel.sort(int column, Qt.SortOrder order = Qt.AscendingOrder)''' 1203 1204 1205class KCategorizedView(QListView): 1206 """""" 1207 def __init__(self, parent = None): 1208 '''void KCategorizedView.__init__(QWidget parent = None)''' 1209 def block(self, category): 1210 '''list-of-QModelIndex KCategorizedView.block(QString category)''' 1211 return [QModelIndex()] 1212 def block(self, representative): 1213 '''list-of-QModelIndex KCategorizedView.block(QModelIndex representative)''' 1214 return [QModelIndex()] 1215 def rowsAboutToBeRemoved(self, parent, start, end): 1216 '''void KCategorizedView.rowsAboutToBeRemoved(QModelIndex parent, int start, int end)''' 1217 def dragEnterEvent(self, event): 1218 '''void KCategorizedView.dragEnterEvent(QDragEnterEvent event)''' 1219 def setCollapsibleBlocks(self, enable): 1220 '''void KCategorizedView.setCollapsibleBlocks(bool enable)''' 1221 def collapsibleBlocks(self): 1222 '''bool KCategorizedView.collapsibleBlocks()''' 1223 return bool() 1224 def setAlternatingBlockColors(self, enable): 1225 '''void KCategorizedView.setAlternatingBlockColors(bool enable)''' 1226 def alternatingBlockColors(self): 1227 '''bool KCategorizedView.alternatingBlockColors()''' 1228 return bool() 1229 def setCategorySpacing(self, categorySpacing): 1230 '''void KCategorizedView.setCategorySpacing(int categorySpacing)''' 1231 def categorySpacing(self): 1232 '''int KCategorizedView.categorySpacing()''' 1233 return int() 1234 def setGridSizeOwn(self, size): 1235 '''void KCategorizedView.setGridSizeOwn(QSize size)''' 1236 def dataChanged(self, topLeft, bottomRight): 1237 '''void KCategorizedView.dataChanged(QModelIndex topLeft, QModelIndex bottomRight)''' 1238 def currentChanged(self, current, previous): 1239 '''void KCategorizedView.currentChanged(QModelIndex current, QModelIndex previous)''' 1240 def slotLayoutChanged(self): 1241 '''void KCategorizedView.slotLayoutChanged()''' 1242 def updateGeometries(self): 1243 '''void KCategorizedView.updateGeometries()''' 1244 def rowsRemoved(self, parent, start, end): 1245 '''void KCategorizedView.rowsRemoved(QModelIndex parent, int start, int end)''' 1246 def rowsInsertedArtifficial(self, parent, start, end): 1247 '''void KCategorizedView.rowsInsertedArtifficial(QModelIndex parent, int start, int end)''' 1248 def rowsInserted(self, parent, start, end): 1249 '''void KCategorizedView.rowsInserted(QModelIndex parent, int start, int end)''' 1250 def moveCursor(self, cursorAction, modifiers): 1251 '''QModelIndex KCategorizedView.moveCursor(QAbstractItemView.CursorAction cursorAction, Qt.KeyboardModifiers modifiers)''' 1252 return QModelIndex() 1253 def dropEvent(self, event): 1254 '''void KCategorizedView.dropEvent(QDropEvent event)''' 1255 def dragLeaveEvent(self, event): 1256 '''void KCategorizedView.dragLeaveEvent(QDragLeaveEvent event)''' 1257 def dragMoveEvent(self, event): 1258 '''void KCategorizedView.dragMoveEvent(QDragMoveEvent event)''' 1259 def startDrag(self, supportedActions): 1260 '''void KCategorizedView.startDrag(Qt.DropActions supportedActions)''' 1261 def leaveEvent(self, event): 1262 '''void KCategorizedView.leaveEvent(QEvent event)''' 1263 def mouseReleaseEvent(self, event): 1264 '''void KCategorizedView.mouseReleaseEvent(QMouseEvent event)''' 1265 def mousePressEvent(self, event): 1266 '''void KCategorizedView.mousePressEvent(QMouseEvent event)''' 1267 def mouseMoveEvent(self, event): 1268 '''void KCategorizedView.mouseMoveEvent(QMouseEvent event)''' 1269 def setSelection(self, rect, flags): 1270 '''void KCategorizedView.setSelection(QRect rect, QItemSelectionModel.SelectionFlags flags)''' 1271 def resizeEvent(self, event): 1272 '''void KCategorizedView.resizeEvent(QResizeEvent event)''' 1273 def paintEvent(self, event): 1274 '''void KCategorizedView.paintEvent(QPaintEvent event)''' 1275 def reset(self): 1276 '''void KCategorizedView.reset()''' 1277 def indexAt(self, point): 1278 '''QModelIndex KCategorizedView.indexAt(QPoint point)''' 1279 return QModelIndex() 1280 def setCategoryDrawer(self, categoryDrawer): 1281 '''void KCategorizedView.setCategoryDrawer(KCategoryDrawer categoryDrawer)''' 1282 def categoryDrawer(self): 1283 '''KCategoryDrawer KCategorizedView.categoryDrawer()''' 1284 return KCategoryDrawer() 1285 def visualRect(self, index): 1286 '''QRect KCategorizedView.visualRect(QModelIndex index)''' 1287 return QRect() 1288 def setGridSize(self, size): 1289 '''void KCategorizedView.setGridSize(QSize size)''' 1290 def setModel(self, model): 1291 '''void KCategorizedView.setModel(QAbstractItemModel model)''' 1292 1293 1294class KCategoryDrawer(): 1295 """""" 1296 def __init__(self): 1297 '''void KCategoryDrawer.__init__()''' 1298 def __init__(self): 1299 '''KCategoryDrawer KCategoryDrawer.__init__()''' 1300 return KCategoryDrawer() 1301 def setRightMargin(self, rightMargin): 1302 '''void KCategoryDrawer.setRightMargin(int rightMargin)''' 1303 def rightMargin(self): 1304 '''int KCategoryDrawer.rightMargin()''' 1305 return int() 1306 def setLeftMargin(self, leftMargin): 1307 '''void KCategoryDrawer.setLeftMargin(int leftMargin)''' 1308 def leftMargin(self): 1309 '''int KCategoryDrawer.leftMargin()''' 1310 return int() 1311 def categoryHeight(self, index, option): 1312 '''int KCategoryDrawer.categoryHeight(QModelIndex index, QStyleOption option)''' 1313 return int() 1314 def drawCategory(self, index, sortRole, option, painter): 1315 '''void KCategoryDrawer.drawCategory(QModelIndex index, int sortRole, QStyleOption option, QPainter painter)''' 1316 1317 1318class KCategoryDrawerV2(QObject, KCategoryDrawer): 1319 """""" 1320 def __init__(self, parent = None): 1321 '''void KCategoryDrawerV2.__init__(QObject parent = None)''' 1322 actionRequested = pyqtSignal() # void actionRequested(int,const QModelIndexamp;) - signal 1323 collapseOrExpandClicked = pyqtSignal() # void collapseOrExpandClicked(const QModelIndexamp;) - signal 1324 def mouseButtonDoubleClicked(self, index, event): 1325 '''void KCategoryDrawerV2.mouseButtonDoubleClicked(QModelIndex index, QMouseEvent event)''' 1326 def mouseButtonMoved(self, index, event): 1327 '''void KCategoryDrawerV2.mouseButtonMoved(QModelIndex index, QMouseEvent event)''' 1328 def mouseButtonReleased(self, index, event): 1329 '''void KCategoryDrawerV2.mouseButtonReleased(QModelIndex index, QMouseEvent event)''' 1330 def mouseButtonPressed(self, index, event): 1331 '''void KCategoryDrawerV2.mouseButtonPressed(QModelIndex index, QMouseEvent event)''' 1332 1333 1334class KCategoryDrawerV3(KCategoryDrawerV2): 1335 """""" 1336 def __init__(self, view): 1337 '''void KCategoryDrawerV3.__init__(KCategorizedView view)''' 1338 def mouseLeft(self, index, blockRect): 1339 '''void KCategoryDrawerV3.mouseLeft(QModelIndex index, QRect blockRect)''' 1340 def mouseButtonDoubleClicked(self, index, blockRect, event): 1341 '''void KCategoryDrawerV3.mouseButtonDoubleClicked(QModelIndex index, QRect blockRect, QMouseEvent event)''' 1342 def mouseMoved(self, index, blockRect, event): 1343 '''void KCategoryDrawerV3.mouseMoved(QModelIndex index, QRect blockRect, QMouseEvent event)''' 1344 def mouseButtonReleased(self, index, blockRect, event): 1345 '''void KCategoryDrawerV3.mouseButtonReleased(QModelIndex index, QRect blockRect, QMouseEvent event)''' 1346 def mouseButtonPressed(self, index, blockRect, event): 1347 '''void KCategoryDrawerV3.mouseButtonPressed(QModelIndex index, QRect blockRect, QMouseEvent event)''' 1348 def view(self): 1349 '''KCategorizedView KCategoryDrawerV3.view()''' 1350 return KCategorizedView() 1351 1352 1353class KCharSelect(QWidget): 1354 """""" 1355 # Enum KCharSelect.Control 1356 SearchLine = 0 1357 FontCombo = 0 1358 FontSize = 0 1359 BlockCombos = 0 1360 CharacterTable = 0 1361 DetailBrowser = 0 1362 HistoryButtons = 0 1363 AllGuiElements = 0 1364 1365 def __init__(self, parent, controls = None): 1366 '''void KCharSelect.__init__(QWidget parent, KCharSelect.Controls controls = KCharSelect.AllGuiElements)''' 1367 def __init__(self, parent, collection, controls = None): 1368 '''void KCharSelect.__init__(QWidget parent, KActionCollection collection, KCharSelect.Controls controls = KCharSelect.AllGuiElements)''' 1369 charSelected = pyqtSignal() # void charSelected(const QCharamp;) - signal 1370 displayedCharsChanged = pyqtSignal() # void displayedCharsChanged() - signal 1371 currentCharChanged = pyqtSignal() # void currentCharChanged(const QCharamp;) - signal 1372 currentFontChanged = pyqtSignal() # void currentFontChanged(const QFontamp;) - signal 1373 def setCurrentFont(self, font): 1374 '''void KCharSelect.setCurrentFont(QFont font)''' 1375 def setCurrentChar(self, c): 1376 '''void KCharSelect.setCurrentChar(QChar c)''' 1377 def displayedChars(self): 1378 '''list-of-QChar KCharSelect.displayedChars()''' 1379 return [QChar()] 1380 def currentFont(self): 1381 '''QFont KCharSelect.currentFont()''' 1382 return QFont() 1383 def currentChar(self): 1384 '''QChar KCharSelect.currentChar()''' 1385 return QChar() 1386 def sizeHint(self): 1387 '''QSize KCharSelect.sizeHint()''' 1388 return QSize() 1389 class Controls(): 1390 """""" 1391 def __init__(self): 1392 '''KCharSelect.Controls KCharSelect.Controls.__init__()''' 1393 return KCharSelect.Controls() 1394 def __init__(self): 1395 '''int KCharSelect.Controls.__init__()''' 1396 return int() 1397 def __init__(self): 1398 '''void KCharSelect.Controls.__init__()''' 1399 def __bool__(self): 1400 '''int KCharSelect.Controls.__bool__()''' 1401 return int() 1402 def __ne__(self, f): 1403 '''bool KCharSelect.Controls.__ne__(KCharSelect.Controls f)''' 1404 return bool() 1405 def __eq__(self, f): 1406 '''bool KCharSelect.Controls.__eq__(KCharSelect.Controls f)''' 1407 return bool() 1408 def __invert__(self): 1409 '''KCharSelect.Controls KCharSelect.Controls.__invert__()''' 1410 return KCharSelect.Controls() 1411 def __and__(self, mask): 1412 '''KCharSelect.Controls KCharSelect.Controls.__and__(int mask)''' 1413 return KCharSelect.Controls() 1414 def __xor__(self, f): 1415 '''KCharSelect.Controls KCharSelect.Controls.__xor__(KCharSelect.Controls f)''' 1416 return KCharSelect.Controls() 1417 def __xor__(self, f): 1418 '''KCharSelect.Controls KCharSelect.Controls.__xor__(int f)''' 1419 return KCharSelect.Controls() 1420 def __or__(self, f): 1421 '''KCharSelect.Controls KCharSelect.Controls.__or__(KCharSelect.Controls f)''' 1422 return KCharSelect.Controls() 1423 def __or__(self, f): 1424 '''KCharSelect.Controls KCharSelect.Controls.__or__(int f)''' 1425 return KCharSelect.Controls() 1426 def __int__(self): 1427 '''int KCharSelect.Controls.__int__()''' 1428 return int() 1429 def __ixor__(self, f): 1430 '''KCharSelect.Controls KCharSelect.Controls.__ixor__(KCharSelect.Controls f)''' 1431 return KCharSelect.Controls() 1432 def __ior__(self, f): 1433 '''KCharSelect.Controls KCharSelect.Controls.__ior__(KCharSelect.Controls f)''' 1434 return KCharSelect.Controls() 1435 def __iand__(self, mask): 1436 '''KCharSelect.Controls KCharSelect.Controls.__iand__(int mask)''' 1437 return KCharSelect.Controls() 1438 1439 1440class KIdentityProxyModel(QAbstractProxyModel): 1441 """""" 1442 def __init__(self, parent = None): 1443 '''void KIdentityProxyModel.__init__(QObject parent = None)''' 1444 def supportedDropActions(self): 1445 '''Qt.DropActions KIdentityProxyModel.supportedDropActions()''' 1446 return Qt.DropActions() 1447 def mimeData(self, indexes): 1448 '''QMimeData KIdentityProxyModel.mimeData(list-of-QModelIndex indexes)''' 1449 return QMimeData() 1450 def mimeTypes(self): 1451 '''QStringList KIdentityProxyModel.mimeTypes()''' 1452 return QStringList() 1453 def fetchMore(self, parent): 1454 '''void KIdentityProxyModel.fetchMore(QModelIndex parent)''' 1455 def canFetchMore(self, parent): 1456 '''bool KIdentityProxyModel.canFetchMore(QModelIndex parent)''' 1457 return bool() 1458 def resetInternalData(self): 1459 '''void KIdentityProxyModel.resetInternalData()''' 1460 def removeRows(self, row, count, parent = QModelIndex()): 1461 '''bool KIdentityProxyModel.removeRows(int row, int count, QModelIndex parent = QModelIndex())''' 1462 return bool() 1463 def removeColumns(self, column, count, parent = QModelIndex()): 1464 '''bool KIdentityProxyModel.removeColumns(int column, int count, QModelIndex parent = QModelIndex())''' 1465 return bool() 1466 def insertRows(self, row, count, parent = QModelIndex()): 1467 '''bool KIdentityProxyModel.insertRows(int row, int count, QModelIndex parent = QModelIndex())''' 1468 return bool() 1469 def insertColumns(self, column, count, parent = QModelIndex()): 1470 '''bool KIdentityProxyModel.insertColumns(int column, int count, QModelIndex parent = QModelIndex())''' 1471 return bool() 1472 def setSourceModel(self, sourceModel): 1473 '''void KIdentityProxyModel.setSourceModel(QAbstractItemModel sourceModel)''' 1474 def match(self, start, role, value, hits = 1, flags = None): 1475 '''list-of-QModelIndex KIdentityProxyModel.match(QModelIndex start, int role, QVariant value, int hits = 1, Qt.MatchFlags flags = Qt.MatchFlags(Qt.MatchStartsWith|Qt.MatchWrap))''' 1476 return [QModelIndex()] 1477 def mapSelectionToSource(self, selection): 1478 '''QItemSelection KIdentityProxyModel.mapSelectionToSource(QItemSelection selection)''' 1479 return QItemSelection() 1480 def mapSelectionFromSource(self, selection): 1481 '''QItemSelection KIdentityProxyModel.mapSelectionFromSource(QItemSelection selection)''' 1482 return QItemSelection() 1483 def dropMimeData(self, data, action, row, column, parent): 1484 '''bool KIdentityProxyModel.dropMimeData(QMimeData data, Qt.DropAction action, int row, int column, QModelIndex parent)''' 1485 return bool() 1486 def rowCount(self, parent = QModelIndex()): 1487 '''int KIdentityProxyModel.rowCount(QModelIndex parent = QModelIndex())''' 1488 return int() 1489 def parent(self, child): 1490 '''QModelIndex KIdentityProxyModel.parent(QModelIndex child)''' 1491 return QModelIndex() 1492 def mapToSource(self, proxyIndex): 1493 '''QModelIndex KIdentityProxyModel.mapToSource(QModelIndex proxyIndex)''' 1494 return QModelIndex() 1495 def mapFromSource(self, sourceIndex): 1496 '''QModelIndex KIdentityProxyModel.mapFromSource(QModelIndex sourceIndex)''' 1497 return QModelIndex() 1498 def index(self, row, column, parent = QModelIndex()): 1499 '''QModelIndex KIdentityProxyModel.index(int row, int column, QModelIndex parent = QModelIndex())''' 1500 return QModelIndex() 1501 def columnCount(self, parent = QModelIndex()): 1502 '''int KIdentityProxyModel.columnCount(QModelIndex parent = QModelIndex())''' 1503 return int() 1504 1505 1506class KCheckableProxyModel(KIdentityProxyModel): 1507 """""" 1508 def __init__(self, parent = None): 1509 '''void KCheckableProxyModel.__init__(QObject parent = None)''' 1510 def select(self, selection, command): 1511 '''bool KCheckableProxyModel.select(QItemSelection selection, QItemSelectionModel.SelectionFlags command)''' 1512 return bool() 1513 def setSourceModel(self, sourceModel): 1514 '''void KCheckableProxyModel.setSourceModel(QAbstractItemModel sourceModel)''' 1515 def setData(self, index, value, role = None): 1516 '''bool KCheckableProxyModel.setData(QModelIndex index, QVariant value, int role = Qt.EditRole)''' 1517 return bool() 1518 def data(self, index, role = None): 1519 '''QVariant KCheckableProxyModel.data(QModelIndex index, int role = Qt.DisplayRole)''' 1520 return QVariant() 1521 def flags(self, index): 1522 '''Qt.ItemFlags KCheckableProxyModel.flags(QModelIndex index)''' 1523 return Qt.ItemFlags() 1524 def selectionModel(self): 1525 '''QItemSelectionModel KCheckableProxyModel.selectionModel()''' 1526 return QItemSelectionModel() 1527 def setSelectionModel(self, itemSelectionModel): 1528 '''void KCheckableProxyModel.setSelectionModel(QItemSelectionModel itemSelectionModel)''' 1529 1530 1531class KCModule(QWidget): 1532 """""" 1533 # Enum KCModule.Button 1534 NoAdditionalButton = 0 1535 Help = 0 1536 Default = 0 1537 Apply = 0 1538 Export = 0 1539 1540 def __init__(self, componentData, parent = None, args = QVariantList()): 1541 '''void KCModule.__init__(KComponentData componentData, QWidget parent = None, list-of-QVariant args = QVariantList())''' 1542 def setExportText(self): 1543 '''QString KCModule.setExportText()''' 1544 return QString() 1545 def exportText(self): 1546 '''QString KCModule.exportText()''' 1547 return QString() 1548 def authStatusChanged(self): 1549 '''int KCModule.authStatusChanged()''' 1550 return int() 1551 rootOnlyMessageChanged = pyqtSignal() # void rootOnlyMessageChanged(bool,QString) - signal 1552 def authAction(self): 1553 '''KAuth.Action KCModule.authAction()''' 1554 return KAuth.Action() 1555 def needsAuthorization(self): 1556 '''bool KCModule.needsAuthorization()''' 1557 return bool() 1558 def setNeedsAuthorization(self, needsAuth): 1559 '''void KCModule.setNeedsAuthorization(bool needsAuth)''' 1560 def unmanagedWidgetChangeState(self): 1561 '''bool KCModule.unmanagedWidgetChangeState()''' 1562 return bool() 1563 def managedWidgetChangeState(self): 1564 '''bool KCModule.managedWidgetChangeState()''' 1565 return bool() 1566 def setUseRootOnlyMessage(self, on): 1567 '''void KCModule.setUseRootOnlyMessage(bool on)''' 1568 def setRootOnlyMessage(self, message): 1569 '''void KCModule.setRootOnlyMessage(QString message)''' 1570 def setButtons(self, btn): 1571 '''void KCModule.setButtons(KCModule.Buttons btn)''' 1572 def widgetChanged(self): 1573 '''void KCModule.widgetChanged()''' 1574 quickHelpChanged = pyqtSignal() # void quickHelpChanged() - signal 1575 changed = pyqtSignal() # void changed(bool) - signal 1576 def changed(self): 1577 '''void KCModule.changed()''' 1578 def showEvent(self, ev): 1579 '''void KCModule.showEvent(QShowEvent ev)''' 1580 def setQuickHelp(self, help): 1581 '''void KCModule.setQuickHelp(QString help)''' 1582 def addConfig(self, config, widget): 1583 '''KConfigDialogManager KCModule.addConfig(KConfigSkeleton config, QWidget widget)''' 1584 return KConfigDialogManager() 1585 def addConfig(self, config, widget): 1586 '''KConfigDialogManager KCModule.addConfig(KCoreConfigSkeleton config, QWidget widget)''' 1587 return KConfigDialogManager() 1588 def defaults(self): 1589 '''void KCModule.defaults()''' 1590 def save(self): 1591 '''void KCModule.save()''' 1592 def load(self): 1593 '''void KCModule.load()''' 1594 def configs(self): 1595 '''list-of-KConfigDialogManager KCModule.configs()''' 1596 return [KConfigDialogManager()] 1597 def componentData(self): 1598 '''KComponentData KCModule.componentData()''' 1599 return KComponentData() 1600 def useRootOnlyMessage(self): 1601 '''bool KCModule.useRootOnlyMessage()''' 1602 return bool() 1603 def rootOnlyMessage(self): 1604 '''QString KCModule.rootOnlyMessage()''' 1605 return QString() 1606 def buttons(self): 1607 '''KCModule.Buttons KCModule.buttons()''' 1608 return KCModule.Buttons() 1609 def setAboutData(self, about): 1610 '''void KCModule.setAboutData(KAboutData about)''' 1611 def aboutData(self): 1612 '''KAboutData KCModule.aboutData()''' 1613 return KAboutData() 1614 def quickHelp(self): 1615 '''QString KCModule.quickHelp()''' 1616 return QString() 1617 class Buttons(): 1618 """""" 1619 def __init__(self): 1620 '''KCModule.Buttons KCModule.Buttons.__init__()''' 1621 return KCModule.Buttons() 1622 def __init__(self): 1623 '''int KCModule.Buttons.__init__()''' 1624 return int() 1625 def __init__(self): 1626 '''void KCModule.Buttons.__init__()''' 1627 def __bool__(self): 1628 '''int KCModule.Buttons.__bool__()''' 1629 return int() 1630 def __ne__(self, f): 1631 '''bool KCModule.Buttons.__ne__(KCModule.Buttons f)''' 1632 return bool() 1633 def __eq__(self, f): 1634 '''bool KCModule.Buttons.__eq__(KCModule.Buttons f)''' 1635 return bool() 1636 def __invert__(self): 1637 '''KCModule.Buttons KCModule.Buttons.__invert__()''' 1638 return KCModule.Buttons() 1639 def __and__(self, mask): 1640 '''KCModule.Buttons KCModule.Buttons.__and__(int mask)''' 1641 return KCModule.Buttons() 1642 def __xor__(self, f): 1643 '''KCModule.Buttons KCModule.Buttons.__xor__(KCModule.Buttons f)''' 1644 return KCModule.Buttons() 1645 def __xor__(self, f): 1646 '''KCModule.Buttons KCModule.Buttons.__xor__(int f)''' 1647 return KCModule.Buttons() 1648 def __or__(self, f): 1649 '''KCModule.Buttons KCModule.Buttons.__or__(KCModule.Buttons f)''' 1650 return KCModule.Buttons() 1651 def __or__(self, f): 1652 '''KCModule.Buttons KCModule.Buttons.__or__(int f)''' 1653 return KCModule.Buttons() 1654 def __int__(self): 1655 '''int KCModule.Buttons.__int__()''' 1656 return int() 1657 def __ixor__(self, f): 1658 '''KCModule.Buttons KCModule.Buttons.__ixor__(KCModule.Buttons f)''' 1659 return KCModule.Buttons() 1660 def __ior__(self, f): 1661 '''KCModule.Buttons KCModule.Buttons.__ior__(KCModule.Buttons f)''' 1662 return KCModule.Buttons() 1663 def __iand__(self, mask): 1664 '''KCModule.Buttons KCModule.Buttons.__iand__(int mask)''' 1665 return KCModule.Buttons() 1666 1667 1668class KSelectAction(KAction): 1669 """""" 1670 # Enum KSelectAction.ToolBarMode 1671 MenuMode = 0 1672 ComboBoxMode = 0 1673 1674 def __init__(self, parent): 1675 '''void KSelectAction.__init__(QObject parent)''' 1676 def __init__(self, text, parent): 1677 '''void KSelectAction.__init__(QString text, QObject parent)''' 1678 def __init__(self, icon, text, parent): 1679 '''void KSelectAction.__init__(KIcon icon, QString text, QObject parent)''' 1680 def event(self, event): 1681 '''bool KSelectAction.event(QEvent event)''' 1682 return bool() 1683 def eventFilter(self, watched, event): 1684 '''bool KSelectAction.eventFilter(QObject watched, QEvent event)''' 1685 return bool() 1686 def deleteWidget(self, widget): 1687 '''void KSelectAction.deleteWidget(QWidget widget)''' 1688 def createWidget(self, parent): 1689 '''QWidget KSelectAction.createWidget(QWidget parent)''' 1690 return QWidget() 1691 def slotToggled(self): 1692 '''bool KSelectAction.slotToggled()''' 1693 return bool() 1694 def actionTriggered(self, action): 1695 '''void KSelectAction.actionTriggered(QAction action)''' 1696 triggered = pyqtSignal() # void triggered(QAction *) - signal 1697 triggered = pyqtSignal() # void triggered(int) - signal 1698 triggered = pyqtSignal() # void triggered(const QStringamp;) - signal 1699 def changeItem(self, index, text): 1700 '''void KSelectAction.changeItem(int index, QString text)''' 1701 def menuAccelsEnabled(self): 1702 '''bool KSelectAction.menuAccelsEnabled()''' 1703 return bool() 1704 def setMenuAccelsEnabled(self, b): 1705 '''void KSelectAction.setMenuAccelsEnabled(bool b)''' 1706 def removeAllActions(self): 1707 '''void KSelectAction.removeAllActions()''' 1708 def clear(self): 1709 '''void KSelectAction.clear()''' 1710 def setMaxComboViewCount(self, n): 1711 '''void KSelectAction.setMaxComboViewCount(int n)''' 1712 def setComboWidth(self, width): 1713 '''void KSelectAction.setComboWidth(int width)''' 1714 def comboWidth(self): 1715 '''int KSelectAction.comboWidth()''' 1716 return int() 1717 def setEditable(self): 1718 '''bool KSelectAction.setEditable()''' 1719 return bool() 1720 def isEditable(self): 1721 '''bool KSelectAction.isEditable()''' 1722 return bool() 1723 def items(self): 1724 '''QStringList KSelectAction.items()''' 1725 return QStringList() 1726 def setItems(self, lst): 1727 '''void KSelectAction.setItems(QStringList lst)''' 1728 def removeAction(self, action): 1729 '''QAction KSelectAction.removeAction(QAction action)''' 1730 return QAction() 1731 def addAction(self, action): 1732 '''void KSelectAction.addAction(QAction action)''' 1733 def addAction(self, text): 1734 '''KAction KSelectAction.addAction(QString text)''' 1735 return KAction() 1736 def addAction(self, icon, text): 1737 '''KAction KSelectAction.addAction(KIcon icon, QString text)''' 1738 return KAction() 1739 def setCurrentItem(self, index): 1740 '''bool KSelectAction.setCurrentItem(int index)''' 1741 return bool() 1742 def setCurrentAction(self, action): 1743 '''bool KSelectAction.setCurrentAction(QAction action)''' 1744 return bool() 1745 def setCurrentAction(self, text, cs = None): 1746 '''bool KSelectAction.setCurrentAction(QString text, Qt.CaseSensitivity cs = Qt.CaseSensitive)''' 1747 return bool() 1748 def action(self, index): 1749 '''QAction KSelectAction.action(int index)''' 1750 return QAction() 1751 def action(self, text, cs = None): 1752 '''QAction KSelectAction.action(QString text, Qt.CaseSensitivity cs = Qt.CaseSensitive)''' 1753 return QAction() 1754 def actions(self): 1755 '''list-of-QAction KSelectAction.actions()''' 1756 return [QAction()] 1757 def currentText(self): 1758 '''QString KSelectAction.currentText()''' 1759 return QString() 1760 def currentItem(self): 1761 '''int KSelectAction.currentItem()''' 1762 return int() 1763 def currentAction(self): 1764 '''QAction KSelectAction.currentAction()''' 1765 return QAction() 1766 def selectableActionGroup(self): 1767 '''QActionGroup KSelectAction.selectableActionGroup()''' 1768 return QActionGroup() 1769 def setToolButtonPopupMode(self, mode): 1770 '''void KSelectAction.setToolButtonPopupMode(QToolButton.ToolButtonPopupMode mode)''' 1771 def toolButtonPopupMode(self): 1772 '''QToolButton.ToolButtonPopupMode KSelectAction.toolButtonPopupMode()''' 1773 return QToolButton.ToolButtonPopupMode() 1774 def setToolBarMode(self, mode): 1775 '''void KSelectAction.setToolBarMode(KSelectAction.ToolBarMode mode)''' 1776 def toolBarMode(self): 1777 '''KSelectAction.ToolBarMode KSelectAction.toolBarMode()''' 1778 return KSelectAction.ToolBarMode() 1779 1780 1781class KCodecAction(KSelectAction): 1782 """""" 1783 def __init__(self, parent, showAutoOptions = False): 1784 '''void KCodecAction.__init__(QObject parent, bool showAutoOptions = False)''' 1785 def __init__(self, text, parent, showAutoOptions = False): 1786 '''void KCodecAction.__init__(QString text, QObject parent, bool showAutoOptions = False)''' 1787 def __init__(self, icon, text, parent, showAutoOptions = False): 1788 '''void KCodecAction.__init__(KIcon icon, QString text, QObject parent, bool showAutoOptions = False)''' 1789 def actionTriggered(self): 1790 '''QAction KCodecAction.actionTriggered()''' 1791 return QAction() 1792 defaultItemTriggered = pyqtSignal() # void defaultItemTriggered() - signal 1793 triggered = pyqtSignal() # void triggered(QTextCodec *) - signal 1794 triggered = pyqtSignal() # void triggered(KEncodingDetector::AutoDetectScript) - signal 1795 def setCurrentAutoDetectScript(self): 1796 '''KEncodingDetector.AutoDetectScript KCodecAction.setCurrentAutoDetectScript()''' 1797 return KEncodingDetector.AutoDetectScript() 1798 def currentAutoDetectScript(self): 1799 '''KEncodingDetector.AutoDetectScript KCodecAction.currentAutoDetectScript()''' 1800 return KEncodingDetector.AutoDetectScript() 1801 def currentCodecMib(self): 1802 '''int KCodecAction.currentCodecMib()''' 1803 return int() 1804 def currentCodecName(self): 1805 '''QString KCodecAction.currentCodecName()''' 1806 return QString() 1807 def setCurrentCodec(self, codec): 1808 '''bool KCodecAction.setCurrentCodec(QTextCodec codec)''' 1809 return bool() 1810 def setCurrentCodec(self, codecName): 1811 '''bool KCodecAction.setCurrentCodec(QString codecName)''' 1812 return bool() 1813 def setCurrentCodec(self, mib): 1814 '''bool KCodecAction.setCurrentCodec(int mib)''' 1815 return bool() 1816 def currentCodec(self): 1817 '''QTextCodec KCodecAction.currentCodec()''' 1818 return QTextCodec() 1819 def codecForMib(self, mib): 1820 '''QTextCodec KCodecAction.codecForMib(int mib)''' 1821 return QTextCodec() 1822 def mibForName(self, codecName, ok): 1823 '''int KCodecAction.mibForName(QString codecName, bool ok)''' 1824 return int() 1825 1826 1827class KColorButton(QPushButton): 1828 """""" 1829 def __init__(self, parent = None): 1830 '''void KColorButton.__init__(QWidget parent = None)''' 1831 def __init__(self, c, parent = None): 1832 '''void KColorButton.__init__(QColor c, QWidget parent = None)''' 1833 def __init__(self, c, defaultColor, parent = None): 1834 '''void KColorButton.__init__(QColor c, QColor defaultColor, QWidget parent = None)''' 1835 def isAlphaChannelEnabled(self): 1836 '''bool KColorButton.isAlphaChannelEnabled()''' 1837 return bool() 1838 def setAlphaChannelEnabled(self, alpha): 1839 '''void KColorButton.setAlphaChannelEnabled(bool alpha)''' 1840 def keyPressEvent(self, e): 1841 '''void KColorButton.keyPressEvent(QKeyEvent e)''' 1842 def mouseMoveEvent(self, e): 1843 '''void KColorButton.mouseMoveEvent(QMouseEvent e)''' 1844 def mousePressEvent(self, e): 1845 '''void KColorButton.mousePressEvent(QMouseEvent e)''' 1846 def dropEvent(self): 1847 '''QDropEvent KColorButton.dropEvent()''' 1848 return QDropEvent() 1849 def dragEnterEvent(self): 1850 '''QDragEnterEvent KColorButton.dragEnterEvent()''' 1851 return QDragEnterEvent() 1852 def paintEvent(self, pe): 1853 '''void KColorButton.paintEvent(QPaintEvent pe)''' 1854 changed = pyqtSignal() # void changed(const QColoramp;) - signal 1855 def minimumSizeHint(self): 1856 '''QSize KColorButton.minimumSizeHint()''' 1857 return QSize() 1858 def sizeHint(self): 1859 '''QSize KColorButton.sizeHint()''' 1860 return QSize() 1861 def setDefaultColor(self, c): 1862 '''void KColorButton.setDefaultColor(QColor c)''' 1863 def defaultColor(self): 1864 '''QColor KColorButton.defaultColor()''' 1865 return QColor() 1866 def setColor(self, c): 1867 '''void KColorButton.setColor(QColor c)''' 1868 def color(self): 1869 '''QColor KColorButton.color()''' 1870 return QColor() 1871 1872 1873class KColorCollection(): 1874 """""" 1875 # Enum KColorCollection.Editable 1876 Yes = 0 1877 No = 0 1878 Ask = 0 1879 1880 def __init__(self, name = QString()): 1881 '''void KColorCollection.__init__(QString name = QString())''' 1882 def __init__(self): 1883 '''KColorCollection KColorCollection.__init__()''' 1884 return KColorCollection() 1885 def changeColor(self, index, newColor, newColorName = QString()): 1886 '''int KColorCollection.changeColor(int index, QColor newColor, QString newColorName = QString())''' 1887 return int() 1888 def changeColor(self, oldColor, newColor, newColorName = QString()): 1889 '''int KColorCollection.changeColor(QColor oldColor, QColor newColor, QString newColorName = QString())''' 1890 return int() 1891 def addColor(self, newColor, newColorName = QString()): 1892 '''int KColorCollection.addColor(QColor newColor, QString newColorName = QString())''' 1893 return int() 1894 def findColor(self, color): 1895 '''int KColorCollection.findColor(QColor color)''' 1896 return int() 1897 def color(self, index): 1898 '''QColor KColorCollection.color(int index)''' 1899 return QColor() 1900 def count(self): 1901 '''int KColorCollection.count()''' 1902 return int() 1903 def setEditable(self, editable): 1904 '''void KColorCollection.setEditable(KColorCollection.Editable editable)''' 1905 def editable(self): 1906 '''KColorCollection.Editable KColorCollection.editable()''' 1907 return KColorCollection.Editable() 1908 def setName(self, name): 1909 '''void KColorCollection.setName(QString name)''' 1910 def name(self): 1911 '''QString KColorCollection.name()''' 1912 return QString() 1913 def name(self, index): 1914 '''QString KColorCollection.name(int index)''' 1915 return QString() 1916 def name(self, color): 1917 '''QString KColorCollection.name(QColor color)''' 1918 return QString() 1919 def setDescription(self, desc): 1920 '''void KColorCollection.setDescription(QString desc)''' 1921 def description(self): 1922 '''QString KColorCollection.description()''' 1923 return QString() 1924 def save(self): 1925 '''bool KColorCollection.save()''' 1926 return bool() 1927 def installedCollections(self): 1928 '''static QStringList KColorCollection.installedCollections()''' 1929 return QStringList() 1930 1931 1932class KColorCombo(QComboBox): 1933 """""" 1934 def __init__(self, parent = None): 1935 '''void KColorCombo.__init__(QWidget parent = None)''' 1936 def paintEvent(self, event): 1937 '''void KColorCombo.paintEvent(QPaintEvent event)''' 1938 highlighted = pyqtSignal() # void highlighted(const QColoramp;) - signal 1939 activated = pyqtSignal() # void activated(const QColoramp;) - signal 1940 def showEmptyList(self): 1941 '''void KColorCombo.showEmptyList()''' 1942 def colors(self): 1943 '''list-of-QColor KColorCombo.colors()''' 1944 return [QColor()] 1945 def setColors(self, colors): 1946 '''void KColorCombo.setColors(list-of-QColor colors)''' 1947 def isCustomColor(self): 1948 '''bool KColorCombo.isCustomColor()''' 1949 return bool() 1950 def color(self): 1951 '''QColor KColorCombo.color()''' 1952 return QColor() 1953 def setColor(self, col): 1954 '''void KColorCombo.setColor(QColor col)''' 1955 1956 1957class KColorCells(QTableWidget): 1958 """""" 1959 def __init__(self, parent, rows, columns): 1960 '''void KColorCells.__init__(QWidget parent, int rows, int columns)''' 1961 def positionToCell(self, pos, ignoreBorders = False): 1962 '''int KColorCells.positionToCell(QPoint pos, bool ignoreBorders = False)''' 1963 return int() 1964 def mouseDoubleClickEvent(self): 1965 '''QMouseEvent KColorCells.mouseDoubleClickEvent()''' 1966 return QMouseEvent() 1967 def dropEvent(self): 1968 '''QDropEvent KColorCells.dropEvent()''' 1969 return QDropEvent() 1970 def dragMoveEvent(self): 1971 '''QDragMoveEvent KColorCells.dragMoveEvent()''' 1972 return QDragMoveEvent() 1973 def dragEnterEvent(self): 1974 '''QDragEnterEvent KColorCells.dragEnterEvent()''' 1975 return QDragEnterEvent() 1976 def mouseMoveEvent(self): 1977 '''QMouseEvent KColorCells.mouseMoveEvent()''' 1978 return QMouseEvent() 1979 def mousePressEvent(self): 1980 '''QMouseEvent KColorCells.mousePressEvent()''' 1981 return QMouseEvent() 1982 def mouseReleaseEvent(self): 1983 '''QMouseEvent KColorCells.mouseReleaseEvent()''' 1984 return QMouseEvent() 1985 def resizeEvent(self, event): 1986 '''void KColorCells.resizeEvent(QResizeEvent event)''' 1987 def sizeHintForRow(self, column): 1988 '''int KColorCells.sizeHintForRow(int column)''' 1989 return int() 1990 def sizeHintForColumn(self, column): 1991 '''int KColorCells.sizeHintForColumn(int column)''' 1992 return int() 1993 colorDoubleClicked = pyqtSignal() # void colorDoubleClicked(int,const QColoramp;) - signal 1994 colorSelected = pyqtSignal() # void colorSelected(int,const QColoramp;) - signal 1995 def selectedIndex(self): 1996 '''int KColorCells.selectedIndex()''' 1997 return int() 1998 def setSelected(self, index): 1999 '''void KColorCells.setSelected(int index)''' 2000 def setAcceptDrags(self, acceptDrags): 2001 '''void KColorCells.setAcceptDrags(bool acceptDrags)''' 2002 def setShading(self, shade): 2003 '''void KColorCells.setShading(bool shade)''' 2004 def count(self): 2005 '''int KColorCells.count()''' 2006 return int() 2007 def color(self, index): 2008 '''QColor KColorCells.color(int index)''' 2009 return QColor() 2010 def setColor(self, index, col): 2011 '''void KColorCells.setColor(int index, QColor col)''' 2012 2013 2014class KColorPatch(QFrame): 2015 """""" 2016 def __init__(self, parent): 2017 '''void KColorPatch.__init__(QWidget parent)''' 2018 def color(self): 2019 '''QColor KColorPatch.color()''' 2020 return QColor() 2021 def dropEvent(self): 2022 '''QDropEvent KColorPatch.dropEvent()''' 2023 return QDropEvent() 2024 def dragEnterEvent(self): 2025 '''QDragEnterEvent KColorPatch.dragEnterEvent()''' 2026 return QDragEnterEvent() 2027 def mouseMoveEvent(self): 2028 '''QMouseEvent KColorPatch.mouseMoveEvent()''' 2029 return QMouseEvent() 2030 def paintEvent(self, pe): 2031 '''void KColorPatch.paintEvent(QPaintEvent pe)''' 2032 colorChanged = pyqtSignal() # void colorChanged(const QColoramp;) - signal 2033 def setColor(self, col): 2034 '''void KColorPatch.setColor(QColor col)''' 2035 2036 2037class KColorDialog(KDialog): 2038 """""" 2039 def __init__(self, parent = None, modal = False): 2040 '''void KColorDialog.__init__(QWidget parent = None, bool modal = False)''' 2041 def isAlphaChannelEnabled(self): 2042 '''bool KColorDialog.isAlphaChannelEnabled()''' 2043 return bool() 2044 def setAlphaChannelEnabled(self, alpha): 2045 '''void KColorDialog.setAlphaChannelEnabled(bool alpha)''' 2046 def eventFilter(self, obj, ev): 2047 '''bool KColorDialog.eventFilter(QObject obj, QEvent ev)''' 2048 return bool() 2049 def keyPressEvent(self): 2050 '''QKeyEvent KColorDialog.keyPressEvent()''' 2051 return QKeyEvent() 2052 def mouseReleaseEvent(self): 2053 '''QMouseEvent KColorDialog.mouseReleaseEvent()''' 2054 return QMouseEvent() 2055 def mouseMoveEvent(self): 2056 '''QMouseEvent KColorDialog.mouseMoveEvent()''' 2057 return QMouseEvent() 2058 colorSelected = pyqtSignal() # void colorSelected(const QColoramp;) - signal 2059 def setColor(self, col): 2060 '''void KColorDialog.setColor(QColor col)''' 2061 def defaultColor(self): 2062 '''QColor KColorDialog.defaultColor()''' 2063 return QColor() 2064 def setDefaultColor(self, defaultCol): 2065 '''void KColorDialog.setDefaultColor(QColor defaultCol)''' 2066 def grabColor(self, p): 2067 '''static QColor KColorDialog.grabColor(QPoint p)''' 2068 return QColor() 2069 def getColor(self, theColor, parent = None): 2070 '''static int KColorDialog.getColor(QColor theColor, QWidget parent = None)''' 2071 return int() 2072 def getColor(self, theColor, defaultColor, parent = None): 2073 '''static int KColorDialog.getColor(QColor theColor, QColor defaultColor, QWidget parent = None)''' 2074 return int() 2075 def color(self): 2076 '''QColor KColorDialog.color()''' 2077 return QColor() 2078 2079 2080class KColorMimeData(): 2081 """""" 2082 def createDrag(self, color, dragsource): 2083 '''static QDrag KColorMimeData.createDrag(QColor color, QWidget dragsource)''' 2084 return QDrag() 2085 def fromMimeData(self, mimeData): 2086 '''static QColor KColorMimeData.fromMimeData(QMimeData mimeData)''' 2087 return QColor() 2088 def canDecode(self, mimeData): 2089 '''static bool KColorMimeData.canDecode(QMimeData mimeData)''' 2090 return bool() 2091 def populateMimeData(self, mimeData, color): 2092 '''static void KColorMimeData.populateMimeData(QMimeData mimeData, QColor color)''' 2093 2094 2095class KColorScheme(): 2096 """""" 2097 # Enum KColorScheme.ShadeRole 2098 LightShade = 0 2099 MidlightShade = 0 2100 MidShade = 0 2101 DarkShade = 0 2102 ShadowShade = 0 2103 2104 # Enum KColorScheme.DecorationRole 2105 FocusColor = 0 2106 HoverColor = 0 2107 2108 # Enum KColorScheme.ForegroundRole 2109 NormalText = 0 2110 InactiveText = 0 2111 ActiveText = 0 2112 LinkText = 0 2113 VisitedText = 0 2114 NegativeText = 0 2115 NeutralText = 0 2116 PositiveText = 0 2117 2118 # Enum KColorScheme.BackgroundRole 2119 NormalBackground = 0 2120 AlternateBackground = 0 2121 ActiveBackground = 0 2122 LinkBackground = 0 2123 VisitedBackground = 0 2124 NegativeBackground = 0 2125 NeutralBackground = 0 2126 PositiveBackground = 0 2127 2128 # Enum KColorScheme.ColorSet 2129 View = 0 2130 Window = 0 2131 Button = 0 2132 Selection = 0 2133 Tooltip = 0 2134 2135 def __init__(self): 2136 '''KColorScheme KColorScheme.__init__()''' 2137 return KColorScheme() 2138 def __init__(self): 2139 '''KSharedConfigPtr KColorScheme.__init__()''' 2140 return KSharedConfigPtr() 2141 def adjustForeground(self, newRole = None, color = None, set = None): 2142 '''static KSharedConfigPtr KColorScheme.adjustForeground(KColorScheme.ForegroundRole newRole = KColorScheme.NormalText, QPalette.ColorRole color = QPalette.Text, KColorScheme.ColorSet set = KColorScheme.View)''' 2143 return KSharedConfigPtr() 2144 def adjustBackground(self, newRole = None, color = None, set = None): 2145 '''static KSharedConfigPtr KColorScheme.adjustBackground(KColorScheme.BackgroundRole newRole = KColorScheme.NormalBackground, QPalette.ColorRole color = QPalette.Base, KColorScheme.ColorSet set = KColorScheme.View)''' 2146 return KSharedConfigPtr() 2147 def shade(self): 2148 '''KColorScheme.ShadeRole KColorScheme.shade()''' 2149 return KColorScheme.ShadeRole() 2150 def shade(self): 2151 '''static KColorScheme.ShadeRole KColorScheme.shade()''' 2152 return KColorScheme.ShadeRole() 2153 def shade(self, contrast, chromaAdjust = 0): 2154 '''static KColorScheme.ShadeRole KColorScheme.shade(float contrast, float chromaAdjust = 0)''' 2155 return KColorScheme.ShadeRole() 2156 def decoration(self): 2157 '''KColorScheme.DecorationRole KColorScheme.decoration()''' 2158 return KColorScheme.DecorationRole() 2159 def foreground(self): 2160 '''KColorScheme.ForegroundRole KColorScheme.foreground()''' 2161 return KColorScheme.ForegroundRole() 2162 def background(self): 2163 '''KColorScheme.BackgroundRole KColorScheme.background()''' 2164 return KColorScheme.BackgroundRole() 2165 2166 2167class KStatefulBrush(): 2168 """""" 2169 def __init__(self): 2170 '''void KStatefulBrush.__init__()''' 2171 def __init__(self): 2172 '''KSharedConfigPtr KStatefulBrush.__init__()''' 2173 return KSharedConfigPtr() 2174 def __init__(self): 2175 '''KSharedConfigPtr KStatefulBrush.__init__()''' 2176 return KSharedConfigPtr() 2177 def __init__(self): 2178 '''KSharedConfigPtr KStatefulBrush.__init__()''' 2179 return KSharedConfigPtr() 2180 def __init__(self): 2181 '''KSharedConfigPtr KStatefulBrush.__init__()''' 2182 return KSharedConfigPtr() 2183 def __init__(self, background): 2184 '''KSharedConfigPtr KStatefulBrush.__init__(QBrush background)''' 2185 return KSharedConfigPtr() 2186 def __init__(self): 2187 '''KStatefulBrush KStatefulBrush.__init__()''' 2188 return KStatefulBrush() 2189 def brush(self): 2190 '''QPalette.ColorGroup KStatefulBrush.brush()''' 2191 return QPalette.ColorGroup() 2192 def brush(self): 2193 '''QPalette KStatefulBrush.brush()''' 2194 return QPalette() 2195 def brush(self): 2196 '''QWidget KStatefulBrush.brush()''' 2197 return QWidget() 2198 2199 2200class KColorUtils(): 2201 """""" 2202 def overlayColors(self, base, paint, comp = None): 2203 '''static QColor KColorUtils.overlayColors(QColor base, QColor paint, QPainter.CompositionMode comp = QPainter.CompositionMode_SourceOver)''' 2204 return QColor() 2205 def mix(self, c1, c2, bias = None): 2206 '''static QColor KColorUtils.mix(QColor c1, QColor c2, float bias = 0.5)''' 2207 return QColor() 2208 def tint(self, base, color, amount = None): 2209 '''static QColor KColorUtils.tint(QColor base, QColor color, float amount = 0.3)''' 2210 return QColor() 2211 def shade(self, lumaAmount, chromaAmount = 0): 2212 '''static QColor KColorUtils.shade(float lumaAmount, float chromaAmount = 0)''' 2213 return QColor() 2214 def darken(self, amount = None, chromaGain = 1): 2215 '''static QColor KColorUtils.darken(float amount = 0.5, float chromaGain = 1)''' 2216 return QColor() 2217 def lighten(self, amount = None, chromaInverseGain = 1): 2218 '''static QColor KColorUtils.lighten(float amount = 0.5, float chromaInverseGain = 1)''' 2219 return QColor() 2220 def contrastRatio(self): 2221 '''static QColor KColorUtils.contrastRatio()''' 2222 return QColor() 2223 def luma(self): 2224 '''static QColor KColorUtils.luma()''' 2225 return QColor() 2226 2227 2228class KSelector(QAbstractSlider): 2229 """""" 2230 def __init__(self, parent = None): 2231 '''void KSelector.__init__(QWidget parent = None)''' 2232 def __init__(self, o, parent = None): 2233 '''void KSelector.__init__(Qt.Orientation o, QWidget parent = None)''' 2234 def wheelEvent(self): 2235 '''QWheelEvent KSelector.wheelEvent()''' 2236 return QWheelEvent() 2237 def mouseReleaseEvent(self, e): 2238 '''void KSelector.mouseReleaseEvent(QMouseEvent e)''' 2239 def mouseMoveEvent(self, e): 2240 '''void KSelector.mouseMoveEvent(QMouseEvent e)''' 2241 def mousePressEvent(self, e): 2242 '''void KSelector.mousePressEvent(QMouseEvent e)''' 2243 def paintEvent(self): 2244 '''QPaintEvent KSelector.paintEvent()''' 2245 return QPaintEvent() 2246 def drawArrow(self, painter, pos): 2247 '''void KSelector.drawArrow(QPainter painter, QPoint pos)''' 2248 def drawContents(self): 2249 '''QPainter KSelector.drawContents()''' 2250 return QPainter() 2251 def arrowDirection(self): 2252 '''Qt.ArrowType KSelector.arrowDirection()''' 2253 return Qt.ArrowType() 2254 def setArrowDirection(self, direction): 2255 '''void KSelector.setArrowDirection(Qt.ArrowType direction)''' 2256 def indent(self): 2257 '''bool KSelector.indent()''' 2258 return bool() 2259 def setIndent(self, i): 2260 '''void KSelector.setIndent(bool i)''' 2261 def contentsRect(self): 2262 '''QRect KSelector.contentsRect()''' 2263 return QRect() 2264 2265 2266class KColorValueSelector(KSelector): 2267 """""" 2268 def __init__(self, parent = None): 2269 '''void KColorValueSelector.__init__(QWidget parent = None)''' 2270 def __init__(self, o, parent = None): 2271 '''void KColorValueSelector.__init__(Qt.Orientation o, QWidget parent = None)''' 2272 def drawContents(self, painter): 2273 '''void KColorValueSelector.drawContents(QPainter painter)''' 2274 def resizeEvent(self): 2275 '''QResizeEvent KColorValueSelector.resizeEvent()''' 2276 return QResizeEvent() 2277 def drawPalette(self, pixmap): 2278 '''void KColorValueSelector.drawPalette(QPixmap pixmap)''' 2279 def chooserMode(self): 2280 '''KColorChooserMode KColorValueSelector.chooserMode()''' 2281 return KColorChooserMode() 2282 def setChooserMode(self, chooserMode): 2283 '''void KColorValueSelector.setChooserMode(KColorChooserMode chooserMode)''' 2284 def setColorValue(self, colorValue): 2285 '''void KColorValueSelector.setColorValue(int colorValue)''' 2286 def colorValue(self): 2287 '''int KColorValueSelector.colorValue()''' 2288 return int() 2289 def setSaturation(self, saturation): 2290 '''void KColorValueSelector.setSaturation(int saturation)''' 2291 def saturation(self): 2292 '''int KColorValueSelector.saturation()''' 2293 return int() 2294 def setHue(self, hue): 2295 '''void KColorValueSelector.setHue(int hue)''' 2296 def hue(self): 2297 '''int KColorValueSelector.hue()''' 2298 return int() 2299 def updateContents(self): 2300 '''void KColorValueSelector.updateContents()''' 2301 2302 2303class KCompletionBase(): 2304 """""" 2305 # Enum KCompletionBase.KeyBindingType 2306 TextCompletion = 0 2307 PrevCompletionMatch = 0 2308 NextCompletionMatch = 0 2309 SubstringCompletion = 0 2310 2311 def __init__(self): 2312 '''void KCompletionBase.__init__()''' 2313 def delegate(self): 2314 '''KCompletionBase KCompletionBase.delegate()''' 2315 return KCompletionBase() 2316 def setDelegate(self, delegate): 2317 '''void KCompletionBase.setDelegate(KCompletionBase delegate)''' 2318 def getKeyBindings(self): 2319 '''unknown-type KCompletionBase.getKeyBindings()''' 2320 return unknown-type() 2321 def compObj(self): 2322 '''KCompletion KCompletionBase.compObj()''' 2323 return KCompletion() 2324 def setCompletedItems(self, items, autoSuggest = True): 2325 '''abstract void KCompletionBase.setCompletedItems(QStringList items, bool autoSuggest = True)''' 2326 def setCompletedText(self, text): 2327 '''abstract void KCompletionBase.setCompletedText(QString text)''' 2328 def useGlobalKeyBindings(self): 2329 '''void KCompletionBase.useGlobalKeyBindings()''' 2330 def getKeyBinding(self, item): 2331 '''KShortcut KCompletionBase.getKeyBinding(KCompletionBase.KeyBindingType item)''' 2332 return KShortcut() 2333 def setKeyBinding(self, item, key): 2334 '''bool KCompletionBase.setKeyBinding(KCompletionBase.KeyBindingType item, KShortcut key)''' 2335 return bool() 2336 def completionMode(self): 2337 '''KGlobalSettings.Completion KCompletionBase.completionMode()''' 2338 return KGlobalSettings.Completion() 2339 def setCompletionMode(self, mode): 2340 '''void KCompletionBase.setCompletionMode(KGlobalSettings.Completion mode)''' 2341 def emitSignals(self): 2342 '''bool KCompletionBase.emitSignals()''' 2343 return bool() 2344 def handleSignals(self): 2345 '''bool KCompletionBase.handleSignals()''' 2346 return bool() 2347 def setEnableSignals(self, enable): 2348 '''void KCompletionBase.setEnableSignals(bool enable)''' 2349 def setAutoDeleteCompletionObject(self, autoDelete): 2350 '''void KCompletionBase.setAutoDeleteCompletionObject(bool autoDelete)''' 2351 def isCompletionObjectAutoDeleted(self): 2352 '''bool KCompletionBase.isCompletionObjectAutoDeleted()''' 2353 return bool() 2354 def setHandleSignals(self, handle): 2355 '''void KCompletionBase.setHandleSignals(bool handle)''' 2356 def setCompletionObject(self, compObj, hsig = True): 2357 '''void KCompletionBase.setCompletionObject(KCompletion compObj, bool hsig = True)''' 2358 def completionObject(self, hsig = True): 2359 '''KCompletion KCompletionBase.completionObject(bool hsig = True)''' 2360 return KCompletion() 2361 2362 2363class KComboBox(QComboBox, KCompletionBase): 2364 """""" 2365 def __init__(self, parent = None): 2366 '''void KComboBox.__init__(QWidget parent = None)''' 2367 def __init__(self, rw, parent = None): 2368 '''void KComboBox.__init__(bool rw, QWidget parent = None)''' 2369 def minimumSizeHint(self): 2370 '''QSize KComboBox.minimumSizeHint()''' 2371 return QSize() 2372 def wheelEvent(self, ev): 2373 '''void KComboBox.wheelEvent(QWheelEvent ev)''' 2374 def create(self, initializeWindow = True, destroyOldWindow = True): 2375 '''int KComboBox.create(bool initializeWindow = True, bool destroyOldWindow = True)''' 2376 return int() 2377 def makeCompletion(self): 2378 '''QString KComboBox.makeCompletion()''' 2379 return QString() 2380 def setCurrentItem(self, item, insert = False, index = None): 2381 '''void KComboBox.setCurrentItem(QString item, bool insert = False, int index = -1)''' 2382 def setCompletedItems(self, items, autosubject = True): 2383 '''void KComboBox.setCompletedItems(QStringList items, bool autosubject = True)''' 2384 def setCompletedText(self): 2385 '''QString KComboBox.setCompletedText()''' 2386 return QString() 2387 def setCompletedText(self): 2388 '''bool KComboBox.setCompletedText()''' 2389 return bool() 2390 def rotateText(self, type): 2391 '''void KComboBox.rotateText(KCompletionBase.KeyBindingType type)''' 2392 aboutToShowContextMenu = pyqtSignal() # void aboutToShowContextMenu(QMenu *) - signal 2393 completionModeChanged = pyqtSignal() # void completionModeChanged(KGlobalSettings::Completion) - signal 2394 textRotation = pyqtSignal() # void textRotation(KCompletionBase::KeyBindingType) - signal 2395 substringCompletion = pyqtSignal() # void substringCompletion(const QStringamp;) - signal 2396 completion = pyqtSignal() # void completion(const QStringamp;) - signal 2397 returnPressed = pyqtSignal() # void returnPressed() - signal 2398 returnPressed = pyqtSignal() # void returnPressed(const QStringamp;) - signal 2399 def setEditable(self, editable): 2400 '''void KComboBox.setEditable(bool editable)''' 2401 def setLineEdit(self): 2402 '''QLineEdit KComboBox.setLineEdit()''' 2403 return QLineEdit() 2404 def completionBox(self, create = True): 2405 '''KCompletionBox KComboBox.completionBox(bool create = True)''' 2406 return KCompletionBox() 2407 def eventFilter(self): 2408 '''QEvent KComboBox.eventFilter()''' 2409 return QEvent() 2410 def trapReturnKey(self): 2411 '''bool KComboBox.trapReturnKey()''' 2412 return bool() 2413 def setTrapReturnKey(self, trap): 2414 '''void KComboBox.setTrapReturnKey(bool trap)''' 2415 def contains(self, text): 2416 '''bool KComboBox.contains(QString text)''' 2417 return bool() 2418 def urlDropsEnabled(self): 2419 '''bool KComboBox.urlDropsEnabled()''' 2420 return bool() 2421 def setUrlDropsEnabled(self, enable): 2422 '''void KComboBox.setUrlDropsEnabled(bool enable)''' 2423 def setContextMenuEnabled(self, showMenu): 2424 '''void KComboBox.setContextMenuEnabled(bool showMenu)''' 2425 def autoCompletion(self): 2426 '''bool KComboBox.autoCompletion()''' 2427 return bool() 2428 def setAutoCompletion(self, autocomplete): 2429 '''void KComboBox.setAutoCompletion(bool autocomplete)''' 2430 def cursorPosition(self): 2431 '''int KComboBox.cursorPosition()''' 2432 return int() 2433 def changeUrl(self, index, url): 2434 '''void KComboBox.changeUrl(int index, KUrl url)''' 2435 def changeUrl(self, index, icon, url): 2436 '''void KComboBox.changeUrl(int index, QIcon icon, KUrl url)''' 2437 def insertUrl(self, index, url): 2438 '''void KComboBox.insertUrl(int index, KUrl url)''' 2439 def insertUrl(self, index, icon, url): 2440 '''void KComboBox.insertUrl(int index, QIcon icon, KUrl url)''' 2441 def addUrl(self, url): 2442 '''void KComboBox.addUrl(KUrl url)''' 2443 def addUrl(self, icon, url): 2444 '''void KComboBox.addUrl(QIcon icon, KUrl url)''' 2445 def setEditUrl(self, url): 2446 '''void KComboBox.setEditUrl(KUrl url)''' 2447 def changeURL(self, url, index): 2448 '''void KComboBox.changeURL(KUrl url, int index)''' 2449 def changeURL(self, pixmap, url, index): 2450 '''void KComboBox.changeURL(QPixmap pixmap, KUrl url, int index)''' 2451 def insertURL(self, url, index = None): 2452 '''void KComboBox.insertURL(KUrl url, int index = -1)''' 2453 def insertURL(self, pixmap, url, index = None): 2454 '''void KComboBox.insertURL(QPixmap pixmap, KUrl url, int index = -1)''' 2455 2456 2457class KCompletion(QObject): 2458 """""" 2459 # Enum KCompletion.CompOrder 2460 Sorted = 0 2461 Insertion = 0 2462 Weighted = 0 2463 2464 def __init__(self): 2465 '''void KCompletion.__init__()''' 2466 def postProcessMatches(self, pMatches): 2467 '''void KCompletion.postProcessMatches(QStringList pMatches)''' 2468 def postProcessMatch(self, pMatch): 2469 '''void KCompletion.postProcessMatch(QString pMatch)''' 2470 multipleMatches = pyqtSignal() # void multipleMatches() - signal 2471 matches = pyqtSignal() # void matches(const QStringListamp;) - signal 2472 match = pyqtSignal() # void match(const QStringamp;) - signal 2473 def clear(self): 2474 '''void KCompletion.clear()''' 2475 def removeItem(self, item): 2476 '''void KCompletion.removeItem(QString item)''' 2477 def addItem(self, item): 2478 '''void KCompletion.addItem(QString item)''' 2479 def addItem(self, item, weight): 2480 '''void KCompletion.addItem(QString item, int weight)''' 2481 def setItems(self, list): 2482 '''void KCompletion.setItems(QStringList list)''' 2483 def insertItems(self, items): 2484 '''void KCompletion.insertItems(QStringList items)''' 2485 def slotNextMatch(self): 2486 '''void KCompletion.slotNextMatch()''' 2487 def slotPreviousMatch(self): 2488 '''void KCompletion.slotPreviousMatch()''' 2489 def slotMakeCompletion(self, string): 2490 '''void KCompletion.slotMakeCompletion(QString string)''' 2491 def hasMultipleMatches(self): 2492 '''bool KCompletion.hasMultipleMatches()''' 2493 return bool() 2494 def soundsEnabled(self): 2495 '''bool KCompletion.soundsEnabled()''' 2496 return bool() 2497 def setSoundsEnabled(self, enable): 2498 '''void KCompletion.setSoundsEnabled(bool enable)''' 2499 def allMatches(self): 2500 '''QStringList KCompletion.allMatches()''' 2501 return QStringList() 2502 def allMatches(self, string): 2503 '''QStringList KCompletion.allMatches(QString string)''' 2504 return QStringList() 2505 def ignoreCase(self): 2506 '''bool KCompletion.ignoreCase()''' 2507 return bool() 2508 def setIgnoreCase(self, ignoreCase): 2509 '''void KCompletion.setIgnoreCase(bool ignoreCase)''' 2510 def order(self): 2511 '''KCompletion.CompOrder KCompletion.order()''' 2512 return KCompletion.CompOrder() 2513 def setOrder(self, order): 2514 '''void KCompletion.setOrder(KCompletion.CompOrder order)''' 2515 def completionMode(self): 2516 '''KGlobalSettings.Completion KCompletion.completionMode()''' 2517 return KGlobalSettings.Completion() 2518 def setCompletionMode(self, mode): 2519 '''void KCompletion.setCompletionMode(KGlobalSettings.Completion mode)''' 2520 def isEmpty(self): 2521 '''bool KCompletion.isEmpty()''' 2522 return bool() 2523 def items(self): 2524 '''QStringList KCompletion.items()''' 2525 return QStringList() 2526 def lastMatch(self): 2527 '''QString KCompletion.lastMatch()''' 2528 return QString() 2529 def nextMatch(self): 2530 '''QString KCompletion.nextMatch()''' 2531 return QString() 2532 def previousMatch(self): 2533 '''QString KCompletion.previousMatch()''' 2534 return QString() 2535 def substringCompletion(self, string): 2536 '''QStringList KCompletion.substringCompletion(QString string)''' 2537 return QStringList() 2538 def makeCompletion(self, string): 2539 '''QString KCompletion.makeCompletion(QString string)''' 2540 return QString() 2541 2542 2543class KListWidget(QListWidget): 2544 """""" 2545 def __init__(self, parent = None): 2546 '''void KListWidget.__init__(QWidget parent = None)''' 2547 def mouseDoubleClickEvent(self, e): 2548 '''void KListWidget.mouseDoubleClickEvent(QMouseEvent e)''' 2549 def mousePressEvent(self, e): 2550 '''void KListWidget.mousePressEvent(QMouseEvent e)''' 2551 def leaveEvent(self, e): 2552 '''void KListWidget.leaveEvent(QEvent e)''' 2553 def focusOutEvent(self, e): 2554 '''void KListWidget.focusOutEvent(QFocusEvent e)''' 2555 def keyPressEvent(self, e): 2556 '''void KListWidget.keyPressEvent(QKeyEvent e)''' 2557 doubleClicked = pyqtSignal() # void doubleClicked(QListWidgetItem *,const QPointamp;) - signal 2558 executed = pyqtSignal() # void executed(QListWidgetItem *) - signal 2559 executed = pyqtSignal() # void executed(QListWidgetItem *,const QPointamp;) - signal 2560 2561 2562class KCompletionBox(KListWidget): 2563 """""" 2564 def __init__(self, parent = None): 2565 '''void KCompletionBox.__init__(QWidget parent = None)''' 2566 def slotActivated(self): 2567 '''QListWidgetItem KCompletionBox.slotActivated()''' 2568 return QListWidgetItem() 2569 def globalPositionHint(self): 2570 '''QPoint KCompletionBox.globalPositionHint()''' 2571 return QPoint() 2572 def eventFilter(self): 2573 '''QEvent KCompletionBox.eventFilter()''' 2574 return QEvent() 2575 def sizeAndPosition(self): 2576 '''void KCompletionBox.sizeAndPosition()''' 2577 def calculateGeometry(self): 2578 '''QRect KCompletionBox.calculateGeometry()''' 2579 return QRect() 2580 userCancelled = pyqtSignal() # void userCancelled(const QStringamp;) - signal 2581 activated = pyqtSignal() # void activated(const QStringamp;) - signal 2582 def setVisible(self, visible): 2583 '''void KCompletionBox.setVisible(bool visible)''' 2584 def end(self): 2585 '''void KCompletionBox.end()''' 2586 def home(self): 2587 '''void KCompletionBox.home()''' 2588 def pageUp(self): 2589 '''void KCompletionBox.pageUp()''' 2590 def pageDown(self): 2591 '''void KCompletionBox.pageDown()''' 2592 def up(self): 2593 '''void KCompletionBox.up()''' 2594 def down(self): 2595 '''void KCompletionBox.down()''' 2596 def setActivateOnSelect(self, state): 2597 '''void KCompletionBox.setActivateOnSelect(bool state)''' 2598 def cancelledText(self): 2599 '''QString KCompletionBox.cancelledText()''' 2600 return QString() 2601 def setCancelledText(self, txt): 2602 '''void KCompletionBox.setCancelledText(QString txt)''' 2603 def isTabHandling(self): 2604 '''bool KCompletionBox.isTabHandling()''' 2605 return bool() 2606 def setTabHandling(self, enable): 2607 '''void KCompletionBox.setTabHandling(bool enable)''' 2608 def popup(self): 2609 '''void KCompletionBox.popup()''' 2610 def setItems(self, items): 2611 '''void KCompletionBox.setItems(QStringList items)''' 2612 def insertItems(self, items, index = None): 2613 '''void KCompletionBox.insertItems(QStringList items, int index = -1)''' 2614 def items(self): 2615 '''QStringList KCompletionBox.items()''' 2616 return QStringList() 2617 def activateOnSelect(self): 2618 '''bool KCompletionBox.activateOnSelect()''' 2619 return bool() 2620 def sizeHint(self): 2621 '''QSize KCompletionBox.sizeHint()''' 2622 return QSize() 2623 2624 2625class KConfigDialog(KPageDialog): 2626 """""" 2627 def __init__(self, parent, name, config): 2628 '''void KConfigDialog.__init__(QWidget parent, QString name, KConfigSkeleton config)''' 2629 def __init__(self, parent, name, config): 2630 '''void KConfigDialog.__init__(QWidget parent, QString name, KCoreConfigSkeleton config)''' 2631 def showEvent(self, e): 2632 '''void KConfigDialog.showEvent(QShowEvent e)''' 2633 def isDefault(self): 2634 '''bool KConfigDialog.isDefault()''' 2635 return bool() 2636 def hasChanged(self): 2637 '''bool KConfigDialog.hasChanged()''' 2638 return bool() 2639 def settingsChangedSlot(self): 2640 '''void KConfigDialog.settingsChangedSlot()''' 2641 def updateButtons(self): 2642 '''void KConfigDialog.updateButtons()''' 2643 def updateWidgetsDefault(self): 2644 '''void KConfigDialog.updateWidgetsDefault()''' 2645 def updateWidgets(self): 2646 '''void KConfigDialog.updateWidgets()''' 2647 def updateSettings(self): 2648 '''void KConfigDialog.updateSettings()''' 2649 def showDialog(self, name): 2650 '''static bool KConfigDialog.showDialog(QString name)''' 2651 return bool() 2652 def exists(self, name): 2653 '''static KConfigDialog KConfigDialog.exists(QString name)''' 2654 return KConfigDialog() 2655 def addPage(self, page, itemName, pixmapName = QString(), header = QString(), manage = True): 2656 '''KPageWidgetItem KConfigDialog.addPage(QWidget page, QString itemName, QString pixmapName = QString(), QString header = QString(), bool manage = True)''' 2657 return KPageWidgetItem() 2658 def addPage(self, page, config, itemName, pixmapName = QString(), header = QString()): 2659 '''KPageWidgetItem KConfigDialog.addPage(QWidget page, KConfigSkeleton config, QString itemName, QString pixmapName = QString(), QString header = QString())''' 2660 return KPageWidgetItem() 2661 settingsChanged = pyqtSignal() # void settingsChanged(const QStringamp;) - signal 2662 widgetModified = pyqtSignal() # void widgetModified() - signal 2663 2664 2665class KConfigDialogManager(QObject): 2666 """""" 2667 def __init__(self, parent, conf): 2668 '''void KConfigDialogManager.__init__(QWidget parent, KConfigSkeleton conf)''' 2669 def __init__(self, parent, conf): 2670 '''void KConfigDialogManager.__init__(QWidget parent, KCoreConfigSkeleton conf)''' 2671 def initMaps(self): 2672 '''static void KConfigDialogManager.initMaps()''' 2673 def setupWidget(self, widget, item): 2674 '''void KConfigDialogManager.setupWidget(QWidget widget, KConfigSkeletonItem item)''' 2675 def property(self, w): 2676 '''QVariant KConfigDialogManager.property(QWidget w)''' 2677 return QVariant() 2678 def setProperty(self, w, v): 2679 '''void KConfigDialogManager.setProperty(QWidget w, QVariant v)''' 2680 def getCustomProperty(self, widget): 2681 '''QByteArray KConfigDialogManager.getCustomProperty(QWidget widget)''' 2682 return QByteArray() 2683 def getUserProperty(self, widget): 2684 '''QByteArray KConfigDialogManager.getUserProperty(QWidget widget)''' 2685 return QByteArray() 2686 def parseChildren(self, widget, trackChanges): 2687 '''bool KConfigDialogManager.parseChildren(QWidget widget, bool trackChanges)''' 2688 return bool() 2689 def init(self, trackChanges): 2690 '''void KConfigDialogManager.init(bool trackChanges)''' 2691 def updateWidgetsDefault(self): 2692 '''void KConfigDialogManager.updateWidgetsDefault()''' 2693 def updateWidgets(self): 2694 '''void KConfigDialogManager.updateWidgets()''' 2695 def updateSettings(self): 2696 '''void KConfigDialogManager.updateSettings()''' 2697 def changedMap(self): 2698 '''static dict-of-QString-QByteArray KConfigDialogManager.changedMap()''' 2699 return dict-of-QString-QByteArray() 2700 def propertyMap(self): 2701 '''static dict-of-QString-QByteArray KConfigDialogManager.propertyMap()''' 2702 return dict-of-QString-QByteArray() 2703 def isDefault(self): 2704 '''bool KConfigDialogManager.isDefault()''' 2705 return bool() 2706 def hasChanged(self): 2707 '''bool KConfigDialogManager.hasChanged()''' 2708 return bool() 2709 def addWidget(self, widget): 2710 '''void KConfigDialogManager.addWidget(QWidget widget)''' 2711 widgetModified = pyqtSignal() # void widgetModified() - signal 2712 settingsChanged = pyqtSignal() # void settingsChanged() - signal 2713 settingsChanged = pyqtSignal() # void settingsChanged(QWidget *) - signal 2714 2715 2716class KConfigSkeleton(KCoreConfigSkeleton): 2717 """""" 2718 def __init__(self, configname = QString(), parent = None): 2719 '''void KConfigSkeleton.__init__(QString configname = QString(), QObject parent = None)''' 2720 def __init__(self, config, parent = None): 2721 '''void KConfigSkeleton.__init__(unknown-type config, QObject parent = None)''' 2722 def addItemFont(self, name, reference, defaultValue = QFont(), key = QString()): 2723 '''KConfigSkeleton.ItemFont KConfigSkeleton.addItemFont(QString name, QFont reference, QFont defaultValue = QFont(), QString key = QString())''' 2724 return KConfigSkeleton.ItemFont() 2725 def addItemColor(self, name, reference, defaultValue = None, key = QString()): 2726 '''KConfigSkeleton.ItemColor KConfigSkeleton.addItemColor(QString name, QColor reference, QColor defaultValue = QColor(128,128,128), QString key = QString())''' 2727 return KConfigSkeleton.ItemColor() 2728 class ItemColor(KConfigSkeletonItem): 2729 """""" 2730 def __init__(self, _group, _key, reference, defaultValue = None): 2731 '''void KConfigSkeleton.ItemColor.__init__(QString _group, QString _key, QColor reference, QColor defaultValue = QColor(128,128,128))''' 2732 def property(self): 2733 '''QVariant KConfigSkeleton.ItemColor.property()''' 2734 return QVariant() 2735 def isEqual(self, p): 2736 '''bool KConfigSkeleton.ItemColor.isEqual(QVariant p)''' 2737 return bool() 2738 def setProperty(self, p): 2739 '''void KConfigSkeleton.ItemColor.setProperty(QVariant p)''' 2740 def readConfig(self, config): 2741 '''void KConfigSkeleton.ItemColor.readConfig(KConfig config)''' 2742 class ItemFont(KConfigSkeletonItem): 2743 """""" 2744 def __init__(self, _group, _key, reference, defaultValue = QFont()): 2745 '''void KConfigSkeleton.ItemFont.__init__(QString _group, QString _key, QFont reference, QFont defaultValue = QFont())''' 2746 def property(self): 2747 '''QVariant KConfigSkeleton.ItemFont.property()''' 2748 return QVariant() 2749 def isEqual(self, p): 2750 '''bool KConfigSkeleton.ItemFont.isEqual(QVariant p)''' 2751 return bool() 2752 def setProperty(self, p): 2753 '''void KConfigSkeleton.ItemFont.setProperty(QVariant p)''' 2754 def readConfig(self, config): 2755 '''void KConfigSkeleton.ItemFont.readConfig(KConfig config)''' 2756 2757 2758class KCrash(): 2759 """""" 2760 # Enum KCrash.CrashFlag 2761 KeepFDs = 0 2762 SaferDialog = 0 2763 AlwaysDirectly = 0 2764 AutoRestart = 0 2765 2766 def isDrKonqiEnabled(self): 2767 '''static bool KCrash.isDrKonqiEnabled()''' 2768 return bool() 2769 def setDrKonqiEnabled(self, enabled): 2770 '''static void KCrash.setDrKonqiEnabled(bool enabled)''' 2771 def setApplicationName(self, name): 2772 '''static void KCrash.setApplicationName(QString name)''' 2773 def setApplicationPath(self, path): 2774 '''static void KCrash.setApplicationPath(QString path)''' 2775 def setFlags(self, flags): 2776 '''static void KCrash.setFlags(KCrash.CrashFlags flags)''' 2777 def defaultCrashHandler(self, signal): 2778 '''static void KCrash.defaultCrashHandler(int signal)''' 2779 class CrashFlags(): 2780 """""" 2781 def __init__(self): 2782 '''KCrash.CrashFlags KCrash.CrashFlags.__init__()''' 2783 return KCrash.CrashFlags() 2784 def __init__(self): 2785 '''int KCrash.CrashFlags.__init__()''' 2786 return int() 2787 def __init__(self): 2788 '''void KCrash.CrashFlags.__init__()''' 2789 def __bool__(self): 2790 '''int KCrash.CrashFlags.__bool__()''' 2791 return int() 2792 def __ne__(self, f): 2793 '''bool KCrash.CrashFlags.__ne__(KCrash.CrashFlags f)''' 2794 return bool() 2795 def __eq__(self, f): 2796 '''bool KCrash.CrashFlags.__eq__(KCrash.CrashFlags f)''' 2797 return bool() 2798 def __invert__(self): 2799 '''KCrash.CrashFlags KCrash.CrashFlags.__invert__()''' 2800 return KCrash.CrashFlags() 2801 def __and__(self, mask): 2802 '''KCrash.CrashFlags KCrash.CrashFlags.__and__(int mask)''' 2803 return KCrash.CrashFlags() 2804 def __xor__(self, f): 2805 '''KCrash.CrashFlags KCrash.CrashFlags.__xor__(KCrash.CrashFlags f)''' 2806 return KCrash.CrashFlags() 2807 def __xor__(self, f): 2808 '''KCrash.CrashFlags KCrash.CrashFlags.__xor__(int f)''' 2809 return KCrash.CrashFlags() 2810 def __or__(self, f): 2811 '''KCrash.CrashFlags KCrash.CrashFlags.__or__(KCrash.CrashFlags f)''' 2812 return KCrash.CrashFlags() 2813 def __or__(self, f): 2814 '''KCrash.CrashFlags KCrash.CrashFlags.__or__(int f)''' 2815 return KCrash.CrashFlags() 2816 def __int__(self): 2817 '''int KCrash.CrashFlags.__int__()''' 2818 return int() 2819 def __ixor__(self, f): 2820 '''KCrash.CrashFlags KCrash.CrashFlags.__ixor__(KCrash.CrashFlags f)''' 2821 return KCrash.CrashFlags() 2822 def __ior__(self, f): 2823 '''KCrash.CrashFlags KCrash.CrashFlags.__ior__(KCrash.CrashFlags f)''' 2824 return KCrash.CrashFlags() 2825 def __iand__(self, mask): 2826 '''KCrash.CrashFlags KCrash.CrashFlags.__iand__(int mask)''' 2827 return KCrash.CrashFlags() 2828 2829 2830class KCursor(QCursor): 2831 """""" 2832 def __init__(self, name, fallback = None): 2833 '''void KCursor.__init__(QString name, Qt.CursorShape fallback = Qt.ArrowCursor)''' 2834 def __init__(self, cursor): 2835 '''void KCursor.__init__(QCursor cursor)''' 2836 def __init__(self): 2837 '''KCursor KCursor.__init__()''' 2838 return KCursor() 2839 def autoHideEventFilter(self): 2840 '''static QEvent KCursor.autoHideEventFilter()''' 2841 return QEvent() 2842 def hideCursorDelay(self): 2843 '''static int KCursor.hideCursorDelay()''' 2844 return int() 2845 def setHideCursorDelay(self, ms): 2846 '''static void KCursor.setHideCursorDelay(int ms)''' 2847 def setAutoHideCursor(self, w, enable, customEventFilter = False): 2848 '''static void KCursor.setAutoHideCursor(QWidget w, bool enable, bool customEventFilter = False)''' 2849 2850 2851class KDateComboBox(KComboBox): 2852 """""" 2853 # Enum KDateComboBox.Option 2854 EditDate = 0 2855 SelectDate = 0 2856 DatePicker = 0 2857 DateKeywords = 0 2858 WarnOnInvalid = 0 2859 2860 def __init__(self, parent = None): 2861 '''void KDateComboBox.__init__(QWidget parent = None)''' 2862 def displayFormat(self): 2863 '''KLocale.DateFormat KDateComboBox.displayFormat()''' 2864 return KLocale.DateFormat() 2865 def isNull(self): 2866 '''bool KDateComboBox.isNull()''' 2867 return bool() 2868 def calendarSystem(self): 2869 '''KLocale.CalendarSystem KDateComboBox.calendarSystem()''' 2870 return KLocale.CalendarSystem() 2871 def dateMap(self): 2872 '''dict-of-QDate-QString KDateComboBox.dateMap()''' 2873 return dict-of-QDate-QString() 2874 def assignCalendarSystem(self, calendarSystem): 2875 '''void KDateComboBox.assignCalendarSystem(KLocale.CalendarSystem calendarSystem)''' 2876 def assignDate(self, date): 2877 '''void KDateComboBox.assignDate(QDate date)''' 2878 def resizeEvent(self, event): 2879 '''void KDateComboBox.resizeEvent(QResizeEvent event)''' 2880 def focusOutEvent(self, event): 2881 '''void KDateComboBox.focusOutEvent(QFocusEvent event)''' 2882 def focusInEvent(self, event): 2883 '''void KDateComboBox.focusInEvent(QFocusEvent event)''' 2884 def keyPressEvent(self, event): 2885 '''void KDateComboBox.keyPressEvent(QKeyEvent event)''' 2886 def wheelEvent(self, event): 2887 '''void KDateComboBox.wheelEvent(QWheelEvent event)''' 2888 def mousePressEvent(self, event): 2889 '''void KDateComboBox.mousePressEvent(QMouseEvent event)''' 2890 def hidePopup(self): 2891 '''void KDateComboBox.hidePopup()''' 2892 def showPopup(self): 2893 '''void KDateComboBox.showPopup()''' 2894 def eventFilter(self, object, event): 2895 '''bool KDateComboBox.eventFilter(QObject object, QEvent event)''' 2896 return bool() 2897 def setDateMap(self, dateMap): 2898 '''void KDateComboBox.setDateMap(dict-of-QDate-QString dateMap)''' 2899 def setMaximumDate(self, maxDate, maxWarnMsg = QString()): 2900 '''void KDateComboBox.setMaximumDate(QDate maxDate, QString maxWarnMsg = QString())''' 2901 def resetMinimumDate(self): 2902 '''void KDateComboBox.resetMinimumDate()''' 2903 def setMinimumDate(self, minTime, minWarnMsg = QString()): 2904 '''void KDateComboBox.setMinimumDate(QDate minTime, QString minWarnMsg = QString())''' 2905 def setDisplayFormat(self, format): 2906 '''void KDateComboBox.setDisplayFormat(KLocale.DateFormat format)''' 2907 def setOptions(self, options): 2908 '''void KDateComboBox.setOptions(KDateComboBox.Options options)''' 2909 def setCalendarSystem(self, calendarSystem): 2910 '''void KDateComboBox.setCalendarSystem(KLocale.CalendarSystem calendarSystem)''' 2911 def setDate(self, date): 2912 '''void KDateComboBox.setDate(QDate date)''' 2913 dateEdited = pyqtSignal() # void dateEdited(const QDateamp;) - signal 2914 dateChanged = pyqtSignal() # void dateChanged(const QDateamp;) - signal 2915 dateEntered = pyqtSignal() # void dateEntered(const QDateamp;) - signal 2916 def setCalendar(self, calendar = None): 2917 '''void KDateComboBox.setCalendar(KCalendarSystem calendar = None)''' 2918 def resetDateRange(self): 2919 '''void KDateComboBox.resetDateRange()''' 2920 def setDateRange(self, minDate, maxDate, minWarnMsg = QString(), maxWarnMsg = QString()): 2921 '''void KDateComboBox.setDateRange(QDate minDate, QDate maxDate, QString minWarnMsg = QString(), QString maxWarnMsg = QString())''' 2922 def resetMaximumDate(self): 2923 '''void KDateComboBox.resetMaximumDate()''' 2924 def maximumDate(self): 2925 '''QDate KDateComboBox.maximumDate()''' 2926 return QDate() 2927 def minimumDate(self): 2928 '''QDate KDateComboBox.minimumDate()''' 2929 return QDate() 2930 def options(self): 2931 '''KDateComboBox.Options KDateComboBox.options()''' 2932 return KDateComboBox.Options() 2933 def isValid(self): 2934 '''bool KDateComboBox.isValid()''' 2935 return bool() 2936 def calendar(self): 2937 '''KCalendarSystem KDateComboBox.calendar()''' 2938 return KCalendarSystem() 2939 def date(self): 2940 '''QDate KDateComboBox.date()''' 2941 return QDate() 2942 class Options(): 2943 """""" 2944 def __init__(self): 2945 '''KDateComboBox.Options KDateComboBox.Options.__init__()''' 2946 return KDateComboBox.Options() 2947 def __init__(self): 2948 '''int KDateComboBox.Options.__init__()''' 2949 return int() 2950 def __init__(self): 2951 '''void KDateComboBox.Options.__init__()''' 2952 def __bool__(self): 2953 '''int KDateComboBox.Options.__bool__()''' 2954 return int() 2955 def __ne__(self, f): 2956 '''bool KDateComboBox.Options.__ne__(KDateComboBox.Options f)''' 2957 return bool() 2958 def __eq__(self, f): 2959 '''bool KDateComboBox.Options.__eq__(KDateComboBox.Options f)''' 2960 return bool() 2961 def __invert__(self): 2962 '''KDateComboBox.Options KDateComboBox.Options.__invert__()''' 2963 return KDateComboBox.Options() 2964 def __and__(self, mask): 2965 '''KDateComboBox.Options KDateComboBox.Options.__and__(int mask)''' 2966 return KDateComboBox.Options() 2967 def __xor__(self, f): 2968 '''KDateComboBox.Options KDateComboBox.Options.__xor__(KDateComboBox.Options f)''' 2969 return KDateComboBox.Options() 2970 def __xor__(self, f): 2971 '''KDateComboBox.Options KDateComboBox.Options.__xor__(int f)''' 2972 return KDateComboBox.Options() 2973 def __or__(self, f): 2974 '''KDateComboBox.Options KDateComboBox.Options.__or__(KDateComboBox.Options f)''' 2975 return KDateComboBox.Options() 2976 def __or__(self, f): 2977 '''KDateComboBox.Options KDateComboBox.Options.__or__(int f)''' 2978 return KDateComboBox.Options() 2979 def __int__(self): 2980 '''int KDateComboBox.Options.__int__()''' 2981 return int() 2982 def __ixor__(self, f): 2983 '''KDateComboBox.Options KDateComboBox.Options.__ixor__(KDateComboBox.Options f)''' 2984 return KDateComboBox.Options() 2985 def __ior__(self, f): 2986 '''KDateComboBox.Options KDateComboBox.Options.__ior__(KDateComboBox.Options f)''' 2987 return KDateComboBox.Options() 2988 def __iand__(self, mask): 2989 '''KDateComboBox.Options KDateComboBox.Options.__iand__(int mask)''' 2990 return KDateComboBox.Options() 2991 2992 2993class KDatePicker(QFrame): 2994 """""" 2995 def __init__(self, parent = None): 2996 '''void KDatePicker.__init__(QWidget parent = None)''' 2997 def __init__(self, dt, parent = None): 2998 '''void KDatePicker.__init__(QDate dt, QWidget parent = None)''' 2999 def setCalendarSystem(self, calendarSystem): 3000 '''bool KDatePicker.setCalendarSystem(KLocale.CalendarSystem calendarSystem)''' 3001 return bool() 3002 tableClicked = pyqtSignal() # void tableClicked() - signal 3003 dateEntered = pyqtSignal() # void dateEntered(const QDateamp;) - signal 3004 dateSelected = pyqtSignal() # void dateSelected(const QDateamp;) - signal 3005 dateChanged = pyqtSignal() # void dateChanged(const QDateamp;) - signal 3006 def weekSelected(self): 3007 '''int KDatePicker.weekSelected()''' 3008 return int() 3009 def todayButtonClicked(self): 3010 '''void KDatePicker.todayButtonClicked()''' 3011 def lineEnterPressed(self): 3012 '''void KDatePicker.lineEnterPressed()''' 3013 def uncheckYearSelector(self): 3014 '''void KDatePicker.uncheckYearSelector()''' 3015 def selectYearClicked(self): 3016 '''void KDatePicker.selectYearClicked()''' 3017 def selectMonthClicked(self): 3018 '''void KDatePicker.selectMonthClicked()''' 3019 def yearBackwardClicked(self): 3020 '''void KDatePicker.yearBackwardClicked()''' 3021 def yearForwardClicked(self): 3022 '''void KDatePicker.yearForwardClicked()''' 3023 def monthBackwardClicked(self): 3024 '''void KDatePicker.monthBackwardClicked()''' 3025 def monthForwardClicked(self): 3026 '''void KDatePicker.monthForwardClicked()''' 3027 def tableClickedSlot(self): 3028 '''void KDatePicker.tableClickedSlot()''' 3029 def dateChangedSlot(self, date): 3030 '''void KDatePicker.dateChangedSlot(QDate date)''' 3031 def resizeEvent(self): 3032 '''QResizeEvent KDatePicker.resizeEvent()''' 3033 return QResizeEvent() 3034 def eventFilter(self, o, e): 3035 '''bool KDatePicker.eventFilter(QObject o, QEvent e)''' 3036 return bool() 3037 def hasCloseButton(self): 3038 '''bool KDatePicker.hasCloseButton()''' 3039 return bool() 3040 def setCloseButton(self, enable): 3041 '''void KDatePicker.setCloseButton(bool enable)''' 3042 def fontSize(self): 3043 '''int KDatePicker.fontSize()''' 3044 return int() 3045 def setFontSize(self): 3046 '''int KDatePicker.setFontSize()''' 3047 return int() 3048 def dateTable(self): 3049 '''KDateTable KDatePicker.dateTable()''' 3050 return KDateTable() 3051 def setEnabled(self, enable): 3052 '''void KDatePicker.setEnabled(bool enable)''' 3053 def setCalendar(self, calendar = None): 3054 '''bool KDatePicker.setCalendar(KCalendarSystem calendar = None)''' 3055 return bool() 3056 def setCalendar(self, calendarType): 3057 '''bool KDatePicker.setCalendar(QString calendarType)''' 3058 return bool() 3059 def calendar(self): 3060 '''KCalendarSystem KDatePicker.calendar()''' 3061 return KCalendarSystem() 3062 def date(self): 3063 '''QDate KDatePicker.date()''' 3064 return QDate() 3065 def setDate(self, date): 3066 '''bool KDatePicker.setDate(QDate date)''' 3067 return bool() 3068 def sizeHint(self): 3069 '''QSize KDatePicker.sizeHint()''' 3070 return QSize() 3071 3072 3073class KPopupFrame(QFrame): 3074 """""" 3075 def __init__(self, parent = None): 3076 '''void KPopupFrame.__init__(QWidget parent = None)''' 3077 leaveModality = pyqtSignal() # void leaveModality() - signal 3078 def exec_(self, p): 3079 '''int KPopupFrame.exec_(QPoint p)''' 3080 return int() 3081 def exec_(self, x, y): 3082 '''int KPopupFrame.exec_(int x, int y)''' 3083 return int() 3084 def popup(self, pos): 3085 '''void KPopupFrame.popup(QPoint pos)''' 3086 def resizeEvent(self, resize): 3087 '''void KPopupFrame.resizeEvent(QResizeEvent resize)''' 3088 def setMainWidget(self, m): 3089 '''void KPopupFrame.setMainWidget(QWidget m)''' 3090 def close(self, r): 3091 '''void KPopupFrame.close(int r)''' 3092 def keyPressEvent(self, e): 3093 '''void KPopupFrame.keyPressEvent(QKeyEvent e)''' 3094 3095 3096class KDateValidator(QValidator): 3097 """""" 3098 def __init__(self, parent = None): 3099 '''void KDateValidator.__init__(QWidget parent = None)''' 3100 def date(self, text, date): 3101 '''QValidator.State KDateValidator.date(QString text, QDate date)''' 3102 return QValidator.State() 3103 def fixup(self, input): 3104 '''void KDateValidator.fixup(QString input)''' 3105 def validate(self, text, e): 3106 '''QValidator.State KDateValidator.validate(QString text, int e)''' 3107 return QValidator.State() 3108 3109 3110class KDateTable(QWidget): 3111 """""" 3112 # Enum KDateTable.BackgroundMode 3113 NoBgMode = 0 3114 RectangleMode = 0 3115 CircleMode = 0 3116 3117 def __init__(self, parent = None): 3118 '''void KDateTable.__init__(QWidget parent = None)''' 3119 def __init__(self, parent = None): 3120 '''QDate KDateTable.__init__(QWidget parent = None)''' 3121 return QDate() 3122 def setCalendarSystem(self, calendarSystem): 3123 '''bool KDateTable.setCalendarSystem(KLocale.CalendarSystem calendarSystem)''' 3124 return bool() 3125 def event(self, e): 3126 '''bool KDateTable.event(QEvent e)''' 3127 return bool() 3128 aboutToShowContextMenu = pyqtSignal() # void aboutToShowContextMenu(KMenu *,const QDateamp;) - signal 3129 tableClicked = pyqtSignal() # void tableClicked() - signal 3130 dateChanged = pyqtSignal() # void dateChanged(const QDateamp;) - signal 3131 dateChanged = pyqtSignal() # void dateChanged(const QDateamp;,const QDateamp;) - signal 3132 def focusOutEvent(self, e): 3133 '''void KDateTable.focusOutEvent(QFocusEvent e)''' 3134 def focusInEvent(self, e): 3135 '''void KDateTable.focusInEvent(QFocusEvent e)''' 3136 def keyPressEvent(self, e): 3137 '''void KDateTable.keyPressEvent(QKeyEvent e)''' 3138 def wheelEvent(self, e): 3139 '''void KDateTable.wheelEvent(QWheelEvent e)''' 3140 def mousePressEvent(self, e): 3141 '''void KDateTable.mousePressEvent(QMouseEvent e)''' 3142 def paintEvent(self, e): 3143 '''void KDateTable.paintEvent(QPaintEvent e)''' 3144 def dateFromPos(self, pos): 3145 '''QDate KDateTable.dateFromPos(int pos)''' 3146 return QDate() 3147 def posFromDate(self, date): 3148 '''int KDateTable.posFromDate(QDate date)''' 3149 return int() 3150 def unsetCustomDatePainting(self, date): 3151 '''void KDateTable.unsetCustomDatePainting(QDate date)''' 3152 def setCustomDatePainting(self, date, fgColor, bgMode = None, bgColor = QColor()): 3153 '''void KDateTable.setCustomDatePainting(QDate date, QColor fgColor, KDateTable.BackgroundMode bgMode = KDateTable.NoBgMode, QColor bgColor = QColor())''' 3154 def popupMenuEnabled(self): 3155 '''bool KDateTable.popupMenuEnabled()''' 3156 return bool() 3157 def setPopupMenuEnabled(self, enable): 3158 '''void KDateTable.setPopupMenuEnabled(bool enable)''' 3159 def setCalendar(self, calendar = None): 3160 '''bool KDateTable.setCalendar(KCalendarSystem calendar = None)''' 3161 return bool() 3162 def setCalendar(self, calendarType): 3163 '''bool KDateTable.setCalendar(QString calendarType)''' 3164 return bool() 3165 def calendar(self): 3166 '''KCalendarSystem KDateTable.calendar()''' 3167 return KCalendarSystem() 3168 def date(self): 3169 '''QDate KDateTable.date()''' 3170 return QDate() 3171 def setDate(self, date): 3172 '''bool KDateTable.setDate(QDate date)''' 3173 return bool() 3174 def setFontSize(self, size): 3175 '''void KDateTable.setFontSize(int size)''' 3176 def sizeHint(self): 3177 '''QSize KDateTable.sizeHint()''' 3178 return QSize() 3179 3180 3181class KDateTimeEdit(QWidget): 3182 """""" 3183 # Enum KDateTimeEdit.Option 3184 ShowCalendar = 0 3185 ShowDate = 0 3186 ShowTime = 0 3187 ShowTimeSpec = 0 3188 EditDate = 0 3189 EditTime = 0 3190 SelectCalendar = 0 3191 SelectDate = 0 3192 SelectTime = 0 3193 SelectTimeSpec = 0 3194 DatePicker = 0 3195 DateKeywords = 0 3196 ForceTime = 0 3197 WarnOnInvalid = 0 3198 3199 def __init__(self, parent = None): 3200 '''void KDateTimeEdit.__init__(QWidget parent = None)''' 3201 def isNullTime(self): 3202 '''bool KDateTimeEdit.isNullTime()''' 3203 return bool() 3204 def isNullDate(self): 3205 '''bool KDateTimeEdit.isNullDate()''' 3206 return bool() 3207 def isNull(self): 3208 '''bool KDateTimeEdit.isNull()''' 3209 return bool() 3210 def timeZones(self): 3211 '''dict-of-QString-KTimeZone KDateTimeEdit.timeZones()''' 3212 return dict-of-QString-KTimeZone() 3213 def timeDisplayFormat(self): 3214 '''KLocale.TimeFormatOptions KDateTimeEdit.timeDisplayFormat()''' 3215 return KLocale.TimeFormatOptions() 3216 def dateDisplayFormat(self): 3217 '''KLocale.DateFormat KDateTimeEdit.dateDisplayFormat()''' 3218 return KLocale.DateFormat() 3219 def calendarSystemsList(self): 3220 '''list-of-KLocale.CalendarSystem KDateTimeEdit.calendarSystemsList()''' 3221 return [KLocale.CalendarSystem()] 3222 def calendarSystem(self): 3223 '''KLocale.CalendarSystem KDateTimeEdit.calendarSystem()''' 3224 return KLocale.CalendarSystem() 3225 def setOptions(self, options): 3226 '''void KDateTimeEdit.setOptions(KDateTimeEdit.Options options)''' 3227 calendarChanged = pyqtSignal() # void calendarChanged(KLocale::CalendarSystem) - signal 3228 calendarEntered = pyqtSignal() # void calendarEntered(KLocale::CalendarSystem) - signal 3229 def setTimeListInterval(self, minutes): 3230 '''void KDateTimeEdit.setTimeListInterval(int minutes)''' 3231 def setCalendarSystemsList(self, calendars): 3232 '''void KDateTimeEdit.setCalendarSystemsList(list-of-KLocale.CalendarSystem calendars)''' 3233 def isValidTime(self): 3234 '''bool KDateTimeEdit.isValidTime()''' 3235 return bool() 3236 def isValidDate(self): 3237 '''bool KDateTimeEdit.isValidDate()''' 3238 return bool() 3239 def timeListInterval(self): 3240 '''int KDateTimeEdit.timeListInterval()''' 3241 return int() 3242 def assignTime(self, time): 3243 '''void KDateTimeEdit.assignTime(QTime time)''' 3244 def assignCalendarSystem(self, calendarSystem): 3245 '''void KDateTimeEdit.assignCalendarSystem(KLocale.CalendarSystem calendarSystem)''' 3246 def assignDate(self, date): 3247 '''void KDateTimeEdit.assignDate(QDate date)''' 3248 def assignDateTime(self, dateTime): 3249 '''void KDateTimeEdit.assignDateTime(KDateTime dateTime)''' 3250 def resizeEvent(self, event): 3251 '''void KDateTimeEdit.resizeEvent(QResizeEvent event)''' 3252 def focusOutEvent(self, event): 3253 '''void KDateTimeEdit.focusOutEvent(QFocusEvent event)''' 3254 def focusInEvent(self, event): 3255 '''void KDateTimeEdit.focusInEvent(QFocusEvent event)''' 3256 def eventFilter(self, object, event): 3257 '''bool KDateTimeEdit.eventFilter(QObject object, QEvent event)''' 3258 return bool() 3259 def setTimeList(self, timeList, minWarnMsg = QString(), maxWarnMsg = QString()): 3260 '''void KDateTimeEdit.setTimeList(list-of-QTime timeList, QString minWarnMsg = QString(), QString maxWarnMsg = QString())''' 3261 def setTimeDisplayFormat(self, formatOptions): 3262 '''void KDateTimeEdit.setTimeDisplayFormat(KLocale.TimeFormatOptions formatOptions)''' 3263 def setDateMap(self, dateMap): 3264 '''void KDateTimeEdit.setDateMap(dict-of-QDate-QString dateMap)''' 3265 def setDateDisplayFormat(self, format): 3266 '''void KDateTimeEdit.setDateDisplayFormat(KLocale.DateFormat format)''' 3267 def setMaximumDateTime(self, maxDateTime, maxWarnMsg = QString()): 3268 '''void KDateTimeEdit.setMaximumDateTime(KDateTime maxDateTime, QString maxWarnMsg = QString())''' 3269 def setMinimumDateTime(self, minDateTime, minWarnMsg = QString()): 3270 '''void KDateTimeEdit.setMinimumDateTime(KDateTime minDateTime, QString minWarnMsg = QString())''' 3271 def setDateTimeRange(self, minDateTime, maxDateTime, minWarnMsg = QString(), maxWarnMsg = QString()): 3272 '''void KDateTimeEdit.setDateTimeRange(KDateTime minDateTime, KDateTime maxDateTime, QString minWarnMsg = QString(), QString maxWarnMsg = QString())''' 3273 def setTimeSpec(self, spec): 3274 '''void KDateTimeEdit.setTimeSpec(KDateTime.Spec spec)''' 3275 def setTime(self, time): 3276 '''void KDateTimeEdit.setTime(QTime time)''' 3277 def setCalendarSystem(self, calendarSystem): 3278 '''void KDateTimeEdit.setCalendarSystem(KLocale.CalendarSystem calendarSystem)''' 3279 def setDate(self, date): 3280 '''void KDateTimeEdit.setDate(QDate date)''' 3281 def setDateTime(self, dateTime): 3282 '''void KDateTimeEdit.setDateTime(KDateTime dateTime)''' 3283 timeSpecChanged = pyqtSignal() # void timeSpecChanged(const KDateTime::Specamp;) - signal 3284 timeSpecEntered = pyqtSignal() # void timeSpecEntered(const KDateTime::Specamp;) - signal 3285 timeEdited = pyqtSignal() # void timeEdited(const QTimeamp;) - signal 3286 timeChanged = pyqtSignal() # void timeChanged(const QTimeamp;) - signal 3287 timeEntered = pyqtSignal() # void timeEntered(const QTimeamp;) - signal 3288 dateEdited = pyqtSignal() # void dateEdited(const QDateamp;) - signal 3289 dateChanged = pyqtSignal() # void dateChanged(const QDateamp;) - signal 3290 dateEntered = pyqtSignal() # void dateEntered(const QDateamp;) - signal 3291 dateTimeEdited = pyqtSignal() # void dateTimeEdited(const KDateTimeamp;) - signal 3292 dateTimeChanged = pyqtSignal() # void dateTimeChanged(const KDateTimeamp;) - signal 3293 dateTimeEntered = pyqtSignal() # void dateTimeEntered(const KDateTimeamp;) - signal 3294 def setTimeZones(self, zones): 3295 '''void KDateTimeEdit.setTimeZones(dict-of-QString-KTimeZone zones)''' 3296 def setCalendar(self, calendar = None): 3297 '''void KDateTimeEdit.setCalendar(KCalendarSystem calendar = None)''' 3298 def resetDateTimeRange(self): 3299 '''void KDateTimeEdit.resetDateTimeRange()''' 3300 def resetMaximumDateTime(self): 3301 '''void KDateTimeEdit.resetMaximumDateTime()''' 3302 def resetMinimumDateTime(self): 3303 '''void KDateTimeEdit.resetMinimumDateTime()''' 3304 def options(self): 3305 '''KDateTimeEdit.Options KDateTimeEdit.options()''' 3306 return KDateTimeEdit.Options() 3307 def isValid(self): 3308 '''bool KDateTimeEdit.isValid()''' 3309 return bool() 3310 def timeList(self): 3311 '''list-of-QTime KDateTimeEdit.timeList()''' 3312 return [QTime()] 3313 def dateMap(self): 3314 '''dict-of-QDate-QString KDateTimeEdit.dateMap()''' 3315 return dict-of-QDate-QString() 3316 def maximumDateTime(self): 3317 '''KDateTime KDateTimeEdit.maximumDateTime()''' 3318 return KDateTime() 3319 def minimumDateTime(self): 3320 '''KDateTime KDateTimeEdit.minimumDateTime()''' 3321 return KDateTime() 3322 def timeSpec(self): 3323 '''KDateTime.Spec KDateTimeEdit.timeSpec()''' 3324 return KDateTime.Spec() 3325 def time(self): 3326 '''QTime KDateTimeEdit.time()''' 3327 return QTime() 3328 def date(self): 3329 '''QDate KDateTimeEdit.date()''' 3330 return QDate() 3331 def dateTime(self): 3332 '''KDateTime KDateTimeEdit.dateTime()''' 3333 return KDateTime() 3334 class Options(): 3335 """""" 3336 def __init__(self): 3337 '''KDateTimeEdit.Options KDateTimeEdit.Options.__init__()''' 3338 return KDateTimeEdit.Options() 3339 def __init__(self): 3340 '''int KDateTimeEdit.Options.__init__()''' 3341 return int() 3342 def __init__(self): 3343 '''void KDateTimeEdit.Options.__init__()''' 3344 def __bool__(self): 3345 '''int KDateTimeEdit.Options.__bool__()''' 3346 return int() 3347 def __ne__(self, f): 3348 '''bool KDateTimeEdit.Options.__ne__(KDateTimeEdit.Options f)''' 3349 return bool() 3350 def __eq__(self, f): 3351 '''bool KDateTimeEdit.Options.__eq__(KDateTimeEdit.Options f)''' 3352 return bool() 3353 def __invert__(self): 3354 '''KDateTimeEdit.Options KDateTimeEdit.Options.__invert__()''' 3355 return KDateTimeEdit.Options() 3356 def __and__(self, mask): 3357 '''KDateTimeEdit.Options KDateTimeEdit.Options.__and__(int mask)''' 3358 return KDateTimeEdit.Options() 3359 def __xor__(self, f): 3360 '''KDateTimeEdit.Options KDateTimeEdit.Options.__xor__(KDateTimeEdit.Options f)''' 3361 return KDateTimeEdit.Options() 3362 def __xor__(self, f): 3363 '''KDateTimeEdit.Options KDateTimeEdit.Options.__xor__(int f)''' 3364 return KDateTimeEdit.Options() 3365 def __or__(self, f): 3366 '''KDateTimeEdit.Options KDateTimeEdit.Options.__or__(KDateTimeEdit.Options f)''' 3367 return KDateTimeEdit.Options() 3368 def __or__(self, f): 3369 '''KDateTimeEdit.Options KDateTimeEdit.Options.__or__(int f)''' 3370 return KDateTimeEdit.Options() 3371 def __int__(self): 3372 '''int KDateTimeEdit.Options.__int__()''' 3373 return int() 3374 def __ixor__(self, f): 3375 '''KDateTimeEdit.Options KDateTimeEdit.Options.__ixor__(KDateTimeEdit.Options f)''' 3376 return KDateTimeEdit.Options() 3377 def __ior__(self, f): 3378 '''KDateTimeEdit.Options KDateTimeEdit.Options.__ior__(KDateTimeEdit.Options f)''' 3379 return KDateTimeEdit.Options() 3380 def __iand__(self, mask): 3381 '''KDateTimeEdit.Options KDateTimeEdit.Options.__iand__(int mask)''' 3382 return KDateTimeEdit.Options() 3383 3384 3385class KDateTimeWidget(QWidget): 3386 """""" 3387 def __init__(self, parent = None): 3388 '''void KDateTimeWidget.__init__(QWidget parent = None)''' 3389 def __init__(self, datetime, parent = None): 3390 '''void KDateTimeWidget.__init__(QDateTime datetime, QWidget parent = None)''' 3391 valueChanged = pyqtSignal() # void valueChanged(const QDateTimeamp;) - signal 3392 def setDateTime(self, datetime): 3393 '''void KDateTimeWidget.setDateTime(QDateTime datetime)''' 3394 def dateTime(self): 3395 '''QDateTime KDateTimeWidget.dateTime()''' 3396 return QDateTime() 3397 3398 3399class KDateWidget(QWidget): 3400 """""" 3401 def __init__(self, parent = None): 3402 '''void KDateWidget.__init__(QWidget parent = None)''' 3403 def __init__(self, date, parent = None): 3404 '''void KDateWidget.__init__(QDate date, QWidget parent = None)''' 3405 def setCalendarSystem(self, calendarSystem): 3406 '''bool KDateWidget.setCalendarSystem(KLocale.CalendarSystem calendarSystem)''' 3407 return bool() 3408 def slotDateChanged(self): 3409 '''void KDateWidget.slotDateChanged()''' 3410 def init(self, date): 3411 '''void KDateWidget.init(QDate date)''' 3412 changed = pyqtSignal() # void changed(const QDateamp;) - signal 3413 def setCalendar(self, calendar = None): 3414 '''bool KDateWidget.setCalendar(KCalendarSystem calendar = None)''' 3415 return bool() 3416 def setCalendar(self, calendarType): 3417 '''bool KDateWidget.setCalendar(QString calendarType)''' 3418 return bool() 3419 def calendar(self): 3420 '''KCalendarSystem KDateWidget.calendar()''' 3421 return KCalendarSystem() 3422 def setDate(self, date): 3423 '''bool KDateWidget.setDate(QDate date)''' 3424 return bool() 3425 def date(self): 3426 '''QDate KDateWidget.date()''' 3427 return QDate() 3428 3429 3430class KdePrint(): 3431 """""" 3432 # Enum KdePrint.PageSelectPolicy 3433 ApplicationSelectsPages = 0 3434 SystemSelectsPages = 0 3435 3436 def createPrintDialog(self, printer, customTabs, parent = None): 3437 '''static QPrintDialog KdePrint.createPrintDialog(QPrinter printer, list-of-QWidget customTabs, QWidget parent = None)''' 3438 return QPrintDialog() 3439 def createPrintDialog(self, printer, parent = None): 3440 '''static QPrintDialog KdePrint.createPrintDialog(QPrinter printer, QWidget parent = None)''' 3441 return QPrintDialog() 3442 def createPrintDialog(self, printer, pageSelectPolicy, customTabs, parent = None): 3443 '''static QPrintDialog KdePrint.createPrintDialog(QPrinter printer, KdePrint.PageSelectPolicy pageSelectPolicy, list-of-QWidget customTabs, QWidget parent = None)''' 3444 return QPrintDialog() 3445 def createPrintDialog(self, printer, pageSelectPolicy, parent = None): 3446 '''static QPrintDialog KdePrint.createPrintDialog(QPrinter printer, KdePrint.PageSelectPolicy pageSelectPolicy, QWidget parent = None)''' 3447 return QPrintDialog() 3448 3449 3450class KDescendantsProxyModel(QAbstractProxyModel): 3451 """""" 3452 def __init__(self, parent = None): 3453 '''void KDescendantsProxyModel.__init__(QObject parent = None)''' 3454 def match(self, start, role, value, hits = 1, flags = None): 3455 '''list-of-QModelIndex KDescendantsProxyModel.match(QModelIndex start, int role, QVariant value, int hits = 1, Qt.MatchFlags flags = Qt.MatchFlags(Qt.MatchStartsWith|Qt.MatchWrap))''' 3456 return [QModelIndex()] 3457 def supportedDropActions(self): 3458 '''Qt.DropActions KDescendantsProxyModel.supportedDropActions()''' 3459 return Qt.DropActions() 3460 def columnCount(self, index = QModelIndex()): 3461 '''int KDescendantsProxyModel.columnCount(QModelIndex index = QModelIndex())''' 3462 return int() 3463 def parent(self): 3464 '''QModelIndex KDescendantsProxyModel.parent()''' 3465 return QModelIndex() 3466 def index(self, parent = QModelIndex()): 3467 '''int KDescendantsProxyModel.index(QModelIndex parent = QModelIndex())''' 3468 return int() 3469 def hasChildren(self, parent = QModelIndex()): 3470 '''bool KDescendantsProxyModel.hasChildren(QModelIndex parent = QModelIndex())''' 3471 return bool() 3472 def mimeTypes(self): 3473 '''QStringList KDescendantsProxyModel.mimeTypes()''' 3474 return QStringList() 3475 def mimeData(self, indexes): 3476 '''QMimeData KDescendantsProxyModel.mimeData(list-of-QModelIndex indexes)''' 3477 return QMimeData() 3478 def headerData(self, section, orientation, role): 3479 '''QVariant KDescendantsProxyModel.headerData(int section, Qt.Orientation orientation, int role)''' 3480 return QVariant() 3481 def rowCount(self, parent = QModelIndex()): 3482 '''int KDescendantsProxyModel.rowCount(QModelIndex parent = QModelIndex())''' 3483 return int() 3484 def data(self, index, role = None): 3485 '''QVariant KDescendantsProxyModel.data(QModelIndex index, int role = Qt.DisplayRole)''' 3486 return QVariant() 3487 def flags(self, index): 3488 '''Qt.ItemFlags KDescendantsProxyModel.flags(QModelIndex index)''' 3489 return Qt.ItemFlags() 3490 def mapToSource(self, proxyIndex): 3491 '''QModelIndex KDescendantsProxyModel.mapToSource(QModelIndex proxyIndex)''' 3492 return QModelIndex() 3493 def mapFromSource(self, sourceIndex): 3494 '''QModelIndex KDescendantsProxyModel.mapFromSource(QModelIndex sourceIndex)''' 3495 return QModelIndex() 3496 def ancestorSeparator(self): 3497 '''QString KDescendantsProxyModel.ancestorSeparator()''' 3498 return QString() 3499 def setAncestorSeparator(self, separator): 3500 '''void KDescendantsProxyModel.setAncestorSeparator(QString separator)''' 3501 def displayAncestorData(self): 3502 '''bool KDescendantsProxyModel.displayAncestorData()''' 3503 return bool() 3504 def setDisplayAncestorData(self, display): 3505 '''void KDescendantsProxyModel.setDisplayAncestorData(bool display)''' 3506 def setRootIndex(self, index): 3507 '''void KDescendantsProxyModel.setRootIndex(QModelIndex index)''' 3508 def setSourceModel(self, model): 3509 '''void KDescendantsProxyModel.setSourceModel(QAbstractItemModel model)''' 3510 3511 3512class KDialogButtonBox(QDialogButtonBox): 3513 """""" 3514 def __init__(self, parent, _orientation = None): 3515 '''void KDialogButtonBox.__init__(QWidget parent, Qt.Orientation _orientation = Qt.Horizontal)''' 3516 def addButton(self, text, role): 3517 '''SLOT() KDialogButtonBox.addButton(QString text, QDialogButtonBox.ButtonRole role)''' 3518 return SLOT()() 3519 def addButton(self, text, role): 3520 '''callable KDialogButtonBox.addButton(QString text, QDialogButtonBox.ButtonRole role)''' 3521 return callable() 3522 def addButton(self, guiitem, role): 3523 '''SLOT() KDialogButtonBox.addButton(KGuiItem guiitem, QDialogButtonBox.ButtonRole role)''' 3524 return SLOT()() 3525 def addButton(self, guiitem, role): 3526 '''callable KDialogButtonBox.addButton(KGuiItem guiitem, QDialogButtonBox.ButtonRole role)''' 3527 return callable() 3528 3529 3530class KDialogJobUiDelegate(KJobUiDelegate): 3531 """""" 3532 def __init__(self): 3533 '''void KDialogJobUiDelegate.__init__()''' 3534 def slotWarning(self, job, plain, rich): 3535 '''void KDialogJobUiDelegate.slotWarning(KJob job, QString plain, QString rich)''' 3536 def showErrorMessage(self): 3537 '''void KDialogJobUiDelegate.showErrorMessage()''' 3538 def userTimestamp(self): 3539 '''int KDialogJobUiDelegate.userTimestamp()''' 3540 return int() 3541 def updateUserTimestamp(self, time): 3542 '''void KDialogJobUiDelegate.updateUserTimestamp(int time)''' 3543 def window(self): 3544 '''QWidget KDialogJobUiDelegate.window()''' 3545 return QWidget() 3546 def setWindow(self, window): 3547 '''void KDialogJobUiDelegate.setWindow(QWidget window)''' 3548 3549 3550class KDualAction(KAction): 3551 """""" 3552 def __init__(self, parent): 3553 '''void KDualAction.__init__(QObject parent)''' 3554 def __init__(self, inactiveText, activeText, parent): 3555 '''void KDualAction.__init__(QString inactiveText, QString activeText, QObject parent)''' 3556 activeChangedByUser = pyqtSignal() # void activeChangedByUser(bool) - signal 3557 activeChanged = pyqtSignal() # void activeChanged(bool) - signal 3558 def setActive(self, state): 3559 '''void KDualAction.setActive(bool state)''' 3560 def autoToggle(self): 3561 '''bool KDualAction.autoToggle()''' 3562 return bool() 3563 def setAutoToggle(self): 3564 '''bool KDualAction.setAutoToggle()''' 3565 return bool() 3566 def isActive(self): 3567 '''bool KDualAction.isActive()''' 3568 return bool() 3569 def setIconForStates(self, icon): 3570 '''void KDualAction.setIconForStates(QIcon icon)''' 3571 def inactiveToolTip(self): 3572 '''QString KDualAction.inactiveToolTip()''' 3573 return QString() 3574 def setInactiveToolTip(self): 3575 '''QString KDualAction.setInactiveToolTip()''' 3576 return QString() 3577 def activeToolTip(self): 3578 '''QString KDualAction.activeToolTip()''' 3579 return QString() 3580 def setActiveToolTip(self): 3581 '''QString KDualAction.setActiveToolTip()''' 3582 return QString() 3583 def inactiveText(self): 3584 '''QString KDualAction.inactiveText()''' 3585 return QString() 3586 def setInactiveText(self): 3587 '''QString KDualAction.setInactiveText()''' 3588 return QString() 3589 def activeText(self): 3590 '''QString KDualAction.activeText()''' 3591 return QString() 3592 def setActiveText(self): 3593 '''QString KDualAction.setActiveText()''' 3594 return QString() 3595 def inactiveIcon(self): 3596 '''QIcon KDualAction.inactiveIcon()''' 3597 return QIcon() 3598 def setInactiveIcon(self): 3599 '''QIcon KDualAction.setInactiveIcon()''' 3600 return QIcon() 3601 def activeIcon(self): 3602 '''QIcon KDualAction.activeIcon()''' 3603 return QIcon() 3604 def setActiveIcon(self): 3605 '''QIcon KDualAction.setActiveIcon()''' 3606 return QIcon() 3607 def inactiveGuiItem(self): 3608 '''KGuiItem KDualAction.inactiveGuiItem()''' 3609 return KGuiItem() 3610 def setInactiveGuiItem(self): 3611 '''KGuiItem KDualAction.setInactiveGuiItem()''' 3612 return KGuiItem() 3613 def activeGuiItem(self): 3614 '''KGuiItem KDualAction.activeGuiItem()''' 3615 return KGuiItem() 3616 def setActiveGuiItem(self): 3617 '''KGuiItem KDualAction.setActiveGuiItem()''' 3618 return KGuiItem() 3619 3620 3621class KEditListBox(QGroupBox): 3622 """""" 3623 # Enum KEditListBox.Button 3624 Add = 0 3625 Remove = 0 3626 UpDown = 0 3627 All = 0 3628 3629 def __init__(self, parent = None): 3630 '''void KEditListBox.__init__(QWidget parent = None)''' 3631 def __init__(self, title, parent = None): 3632 '''void KEditListBox.__init__(QString title, QWidget parent = None)''' 3633 def __init__(self, parent, name, checkAtEntering = False, buttons = None): 3634 '''void KEditListBox.__init__(QWidget parent, str name, bool checkAtEntering = False, KEditListBox.Buttons buttons = KEditListBox.All)''' 3635 def __init__(self, title, parent, name, checkAtEntering = False, buttons = None): 3636 '''void KEditListBox.__init__(QString title, QWidget parent, str name, bool checkAtEntering = False, KEditListBox.Buttons buttons = KEditListBox.All)''' 3637 def __init__(self, title, customEditor, parent = None, name = None, checkAtEntering = False, buttons = None): 3638 '''void KEditListBox.__init__(QString title, KEditListBox.CustomEditor customEditor, QWidget parent = None, str name = None, bool checkAtEntering = False, KEditListBox.Buttons buttons = KEditListBox.All)''' 3639 def typedSomething(self, text): 3640 '''void KEditListBox.typedSomething(QString text)''' 3641 def enableMoveButtons(self): 3642 '''QModelIndex KEditListBox.enableMoveButtons()''' 3643 return QModelIndex() 3644 def removeItem(self): 3645 '''void KEditListBox.removeItem()''' 3646 def addItem(self): 3647 '''void KEditListBox.addItem()''' 3648 def moveItemDown(self): 3649 '''void KEditListBox.moveItemDown()''' 3650 def moveItemUp(self): 3651 '''void KEditListBox.moveItemUp()''' 3652 removed = pyqtSignal() # void removed(const QStringamp;) - signal 3653 added = pyqtSignal() # void added(const QStringamp;) - signal 3654 changed = pyqtSignal() # void changed() - signal 3655 def eventFilter(self, o, e): 3656 '''bool KEditListBox.eventFilter(QObject o, QEvent e)''' 3657 return bool() 3658 def setCustomEditor(self, editor): 3659 '''void KEditListBox.setCustomEditor(KEditListBox.CustomEditor editor)''' 3660 def checkAtEntering(self): 3661 '''bool KEditListBox.checkAtEntering()''' 3662 return bool() 3663 def setCheckAtEntering(self, check): 3664 '''void KEditListBox.setCheckAtEntering(bool check)''' 3665 def setButtons(self, buttons): 3666 '''void KEditListBox.setButtons(KEditListBox.Buttons buttons)''' 3667 def buttons(self): 3668 '''KEditListBox.Buttons KEditListBox.buttons()''' 3669 return KEditListBox.Buttons() 3670 def setItems(self, items): 3671 '''void KEditListBox.setItems(QStringList items)''' 3672 def items(self): 3673 '''QStringList KEditListBox.items()''' 3674 return QStringList() 3675 def currentText(self): 3676 '''QString KEditListBox.currentText()''' 3677 return QString() 3678 def currentItem(self): 3679 '''int KEditListBox.currentItem()''' 3680 return int() 3681 def text(self, index): 3682 '''QString KEditListBox.text(int index)''' 3683 return QString() 3684 def clear(self): 3685 '''void KEditListBox.clear()''' 3686 def insertItem(self, text, index = None): 3687 '''void KEditListBox.insertItem(QString text, int index = -1)''' 3688 def insertStringList(self, list, index = None): 3689 '''void KEditListBox.insertStringList(QStringList list, int index = -1)''' 3690 def count(self): 3691 '''int KEditListBox.count()''' 3692 return int() 3693 def downButton(self): 3694 '''QPushButton KEditListBox.downButton()''' 3695 return QPushButton() 3696 def upButton(self): 3697 '''QPushButton KEditListBox.upButton()''' 3698 return QPushButton() 3699 def removeButton(self): 3700 '''QPushButton KEditListBox.removeButton()''' 3701 return QPushButton() 3702 def addButton(self): 3703 '''QPushButton KEditListBox.addButton()''' 3704 return QPushButton() 3705 def lineEdit(self): 3706 '''KLineEdit KEditListBox.lineEdit()''' 3707 return KLineEdit() 3708 def listView(self): 3709 '''QListView KEditListBox.listView()''' 3710 return QListView() 3711 class Buttons(): 3712 """""" 3713 def __init__(self): 3714 '''KEditListBox.Buttons KEditListBox.Buttons.__init__()''' 3715 return KEditListBox.Buttons() 3716 def __init__(self): 3717 '''int KEditListBox.Buttons.__init__()''' 3718 return int() 3719 def __init__(self): 3720 '''void KEditListBox.Buttons.__init__()''' 3721 def __bool__(self): 3722 '''int KEditListBox.Buttons.__bool__()''' 3723 return int() 3724 def __ne__(self, f): 3725 '''bool KEditListBox.Buttons.__ne__(KEditListBox.Buttons f)''' 3726 return bool() 3727 def __eq__(self, f): 3728 '''bool KEditListBox.Buttons.__eq__(KEditListBox.Buttons f)''' 3729 return bool() 3730 def __invert__(self): 3731 '''KEditListBox.Buttons KEditListBox.Buttons.__invert__()''' 3732 return KEditListBox.Buttons() 3733 def __and__(self, mask): 3734 '''KEditListBox.Buttons KEditListBox.Buttons.__and__(int mask)''' 3735 return KEditListBox.Buttons() 3736 def __xor__(self, f): 3737 '''KEditListBox.Buttons KEditListBox.Buttons.__xor__(KEditListBox.Buttons f)''' 3738 return KEditListBox.Buttons() 3739 def __xor__(self, f): 3740 '''KEditListBox.Buttons KEditListBox.Buttons.__xor__(int f)''' 3741 return KEditListBox.Buttons() 3742 def __or__(self, f): 3743 '''KEditListBox.Buttons KEditListBox.Buttons.__or__(KEditListBox.Buttons f)''' 3744 return KEditListBox.Buttons() 3745 def __or__(self, f): 3746 '''KEditListBox.Buttons KEditListBox.Buttons.__or__(int f)''' 3747 return KEditListBox.Buttons() 3748 def __int__(self): 3749 '''int KEditListBox.Buttons.__int__()''' 3750 return int() 3751 def __ixor__(self, f): 3752 '''KEditListBox.Buttons KEditListBox.Buttons.__ixor__(KEditListBox.Buttons f)''' 3753 return KEditListBox.Buttons() 3754 def __ior__(self, f): 3755 '''KEditListBox.Buttons KEditListBox.Buttons.__ior__(KEditListBox.Buttons f)''' 3756 return KEditListBox.Buttons() 3757 def __iand__(self, mask): 3758 '''KEditListBox.Buttons KEditListBox.Buttons.__iand__(int mask)''' 3759 return KEditListBox.Buttons() 3760 class CustomEditor(): 3761 """""" 3762 def __init__(self): 3763 '''void KEditListBox.CustomEditor.__init__()''' 3764 def __init__(self, repWidget, edit): 3765 '''void KEditListBox.CustomEditor.__init__(QWidget repWidget, KLineEdit edit)''' 3766 def __init__(self, combo): 3767 '''void KEditListBox.CustomEditor.__init__(KComboBox combo)''' 3768 def lineEdit(self): 3769 '''KLineEdit KEditListBox.CustomEditor.lineEdit()''' 3770 return KLineEdit() 3771 def representationWidget(self): 3772 '''QWidget KEditListBox.CustomEditor.representationWidget()''' 3773 return QWidget() 3774 def setLineEdit(self, edit): 3775 '''void KEditListBox.CustomEditor.setLineEdit(KLineEdit edit)''' 3776 def setRepresentationWidget(self, repWidget): 3777 '''void KEditListBox.CustomEditor.setRepresentationWidget(QWidget repWidget)''' 3778 3779 3780class KEditListWidget(QWidget): 3781 """""" 3782 # Enum KEditListWidget.Button 3783 Add = 0 3784 Remove = 0 3785 UpDown = 0 3786 All = 0 3787 3788 def __init__(self, parent = None): 3789 '''void KEditListWidget.__init__(QWidget parent = None)''' 3790 def __init__(self, customEditor, parent = None, checkAtEntering = False, buttons = None): 3791 '''void KEditListWidget.__init__(KEditListWidget.CustomEditor customEditor, QWidget parent = None, bool checkAtEntering = False, KEditListWidget.Buttons buttons = KEditListWidget.All)''' 3792 removed = pyqtSignal() # void removed(const QStringamp;) - signal 3793 added = pyqtSignal() # void added(const QStringamp;) - signal 3794 changed = pyqtSignal() # void changed() - signal 3795 def eventFilter(self, o, e): 3796 '''bool KEditListWidget.eventFilter(QObject o, QEvent e)''' 3797 return bool() 3798 def setCustomEditor(self, editor): 3799 '''void KEditListWidget.setCustomEditor(KEditListWidget.CustomEditor editor)''' 3800 def checkAtEntering(self): 3801 '''bool KEditListWidget.checkAtEntering()''' 3802 return bool() 3803 def setCheckAtEntering(self, check): 3804 '''void KEditListWidget.setCheckAtEntering(bool check)''' 3805 def setButtons(self, buttons): 3806 '''void KEditListWidget.setButtons(KEditListWidget.Buttons buttons)''' 3807 def buttons(self): 3808 '''KEditListWidget.Buttons KEditListWidget.buttons()''' 3809 return KEditListWidget.Buttons() 3810 def setItems(self, items): 3811 '''void KEditListWidget.setItems(QStringList items)''' 3812 def items(self): 3813 '''QStringList KEditListWidget.items()''' 3814 return QStringList() 3815 def currentText(self): 3816 '''QString KEditListWidget.currentText()''' 3817 return QString() 3818 def currentItem(self): 3819 '''int KEditListWidget.currentItem()''' 3820 return int() 3821 def text(self, index): 3822 '''QString KEditListWidget.text(int index)''' 3823 return QString() 3824 def clear(self): 3825 '''void KEditListWidget.clear()''' 3826 def insertItem(self, text, index = None): 3827 '''void KEditListWidget.insertItem(QString text, int index = -1)''' 3828 def insertStringList(self, list, index = None): 3829 '''void KEditListWidget.insertStringList(QStringList list, int index = -1)''' 3830 def count(self): 3831 '''int KEditListWidget.count()''' 3832 return int() 3833 def downButton(self): 3834 '''QPushButton KEditListWidget.downButton()''' 3835 return QPushButton() 3836 def upButton(self): 3837 '''QPushButton KEditListWidget.upButton()''' 3838 return QPushButton() 3839 def removeButton(self): 3840 '''QPushButton KEditListWidget.removeButton()''' 3841 return QPushButton() 3842 def addButton(self): 3843 '''QPushButton KEditListWidget.addButton()''' 3844 return QPushButton() 3845 def lineEdit(self): 3846 '''KLineEdit KEditListWidget.lineEdit()''' 3847 return KLineEdit() 3848 def listView(self): 3849 '''QListView KEditListWidget.listView()''' 3850 return QListView() 3851 class CustomEditor(): 3852 """""" 3853 def __init__(self): 3854 '''void KEditListWidget.CustomEditor.__init__()''' 3855 def __init__(self, repWidget, edit): 3856 '''void KEditListWidget.CustomEditor.__init__(QWidget repWidget, KLineEdit edit)''' 3857 def __init__(self, combo): 3858 '''void KEditListWidget.CustomEditor.__init__(KComboBox combo)''' 3859 def lineEdit(self): 3860 '''KLineEdit KEditListWidget.CustomEditor.lineEdit()''' 3861 return KLineEdit() 3862 def representationWidget(self): 3863 '''QWidget KEditListWidget.CustomEditor.representationWidget()''' 3864 return QWidget() 3865 def setLineEdit(self, edit): 3866 '''void KEditListWidget.CustomEditor.setLineEdit(KLineEdit edit)''' 3867 def setRepresentationWidget(self, repWidget): 3868 '''void KEditListWidget.CustomEditor.setRepresentationWidget(QWidget repWidget)''' 3869 class Buttons(): 3870 """""" 3871 def __init__(self): 3872 '''KEditListWidget.Buttons KEditListWidget.Buttons.__init__()''' 3873 return KEditListWidget.Buttons() 3874 def __init__(self): 3875 '''int KEditListWidget.Buttons.__init__()''' 3876 return int() 3877 def __init__(self): 3878 '''void KEditListWidget.Buttons.__init__()''' 3879 def __bool__(self): 3880 '''int KEditListWidget.Buttons.__bool__()''' 3881 return int() 3882 def __ne__(self, f): 3883 '''bool KEditListWidget.Buttons.__ne__(KEditListWidget.Buttons f)''' 3884 return bool() 3885 def __eq__(self, f): 3886 '''bool KEditListWidget.Buttons.__eq__(KEditListWidget.Buttons f)''' 3887 return bool() 3888 def __invert__(self): 3889 '''KEditListWidget.Buttons KEditListWidget.Buttons.__invert__()''' 3890 return KEditListWidget.Buttons() 3891 def __and__(self, mask): 3892 '''KEditListWidget.Buttons KEditListWidget.Buttons.__and__(int mask)''' 3893 return KEditListWidget.Buttons() 3894 def __xor__(self, f): 3895 '''KEditListWidget.Buttons KEditListWidget.Buttons.__xor__(KEditListWidget.Buttons f)''' 3896 return KEditListWidget.Buttons() 3897 def __xor__(self, f): 3898 '''KEditListWidget.Buttons KEditListWidget.Buttons.__xor__(int f)''' 3899 return KEditListWidget.Buttons() 3900 def __or__(self, f): 3901 '''KEditListWidget.Buttons KEditListWidget.Buttons.__or__(KEditListWidget.Buttons f)''' 3902 return KEditListWidget.Buttons() 3903 def __or__(self, f): 3904 '''KEditListWidget.Buttons KEditListWidget.Buttons.__or__(int f)''' 3905 return KEditListWidget.Buttons() 3906 def __int__(self): 3907 '''int KEditListWidget.Buttons.__int__()''' 3908 return int() 3909 def __ixor__(self, f): 3910 '''KEditListWidget.Buttons KEditListWidget.Buttons.__ixor__(KEditListWidget.Buttons f)''' 3911 return KEditListWidget.Buttons() 3912 def __ior__(self, f): 3913 '''KEditListWidget.Buttons KEditListWidget.Buttons.__ior__(KEditListWidget.Buttons f)''' 3914 return KEditListWidget.Buttons() 3915 def __iand__(self, mask): 3916 '''KEditListWidget.Buttons KEditListWidget.Buttons.__iand__(int mask)''' 3917 return KEditListWidget.Buttons() 3918 3919 3920class KEditToolBar(KDialog): 3921 """""" 3922 def __init__(self, collection, parent = None): 3923 '''void KEditToolBar.__init__(KActionCollection collection, QWidget parent = None)''' 3924 def __init__(self, factory, parent = None): 3925 '''void KEditToolBar.__init__(KXMLGUIFactory factory, QWidget parent = None)''' 3926 def hideEvent(self, event): 3927 '''void KEditToolBar.hideEvent(QHideEvent event)''' 3928 def showEvent(self, event): 3929 '''void KEditToolBar.showEvent(QShowEvent event)''' 3930 newToolbarConfig = pyqtSignal() # void newToolbarConfig() - signal 3931 newToolBarConfig = pyqtSignal() # void newToolBarConfig() - signal 3932 def setGlobalDefaultToolBar(self, toolBarName): 3933 '''static void KEditToolBar.setGlobalDefaultToolBar(str toolBarName)''' 3934 def setResourceFile(self, file, global_ = True): 3935 '''void KEditToolBar.setResourceFile(QString file, bool global = True)''' 3936 def setDefaultToolBar(self, toolBarName): 3937 '''void KEditToolBar.setDefaultToolBar(QString toolBarName)''' 3938 3939 3940class KExtendableItemDelegate(QStyledItemDelegate): 3941 """""" 3942 # Enum KExtendableItemDelegate.auxDataRoles 3943 ShowExtensionIndicatorRole = 0 3944 3945 def __init__(self, parent): 3946 '''void KExtendableItemDelegate.__init__(QAbstractItemView parent)''' 3947 def contractPixmap(self): 3948 '''QPixmap KExtendableItemDelegate.contractPixmap()''' 3949 return QPixmap() 3950 def extendPixmap(self): 3951 '''QPixmap KExtendableItemDelegate.extendPixmap()''' 3952 return QPixmap() 3953 def setContractPixmap(self, pixmap): 3954 '''void KExtendableItemDelegate.setContractPixmap(QPixmap pixmap)''' 3955 def setExtendPixmap(self, pixmap): 3956 '''void KExtendableItemDelegate.setExtendPixmap(QPixmap pixmap)''' 3957 def extenderRect(self, extender, option, index): 3958 '''QRect KExtendableItemDelegate.extenderRect(QWidget extender, QStyleOptionViewItem option, QModelIndex index)''' 3959 return QRect() 3960 extenderDestroyed = pyqtSignal() # void extenderDestroyed(QWidget *,const QModelIndexamp;) - signal 3961 extenderCreated = pyqtSignal() # void extenderCreated(QWidget *,const QModelIndexamp;) - signal 3962 def updateExtenderGeometry(self, extender, option, index): 3963 '''void KExtendableItemDelegate.updateExtenderGeometry(QWidget extender, QStyleOptionViewItem option, QModelIndex index)''' 3964 def isExtended(self, index): 3965 '''bool KExtendableItemDelegate.isExtended(QModelIndex index)''' 3966 return bool() 3967 def contractAll(self): 3968 '''void KExtendableItemDelegate.contractAll()''' 3969 def contractItem(self, index): 3970 '''void KExtendableItemDelegate.contractItem(QModelIndex index)''' 3971 def extendItem(self, extender, index): 3972 '''void KExtendableItemDelegate.extendItem(QWidget extender, QModelIndex index)''' 3973 def paint(self, painter, option, index): 3974 '''void KExtendableItemDelegate.paint(QPainter painter, QStyleOptionViewItem option, QModelIndex index)''' 3975 def sizeHint(self, option, index): 3976 '''QSize KExtendableItemDelegate.sizeHint(QStyleOptionViewItem option, QModelIndex index)''' 3977 return QSize() 3978 3979 3980class KFadeWidgetEffect(QWidget): 3981 """""" 3982 def __init__(self, destWidget): 3983 '''void KFadeWidgetEffect.__init__(QWidget destWidget)''' 3984 def paintEvent(self): 3985 '''QPaintEvent KFadeWidgetEffect.paintEvent()''' 3986 return QPaintEvent() 3987 def start(self, duration = 250): 3988 '''void KFadeWidgetEffect.start(int duration = 250)''' 3989 3990 3991class KFilterProxySearchLine(QWidget): 3992 """""" 3993 def __init__(self, parent = None): 3994 '''void KFilterProxySearchLine.__init__(QWidget parent = None)''' 3995 def lineEdit(self): 3996 '''KLineEdit KFilterProxySearchLine.lineEdit()''' 3997 return KLineEdit() 3998 def setText(self, text): 3999 '''void KFilterProxySearchLine.setText(QString text)''' 4000 def setProxy(self, proxy): 4001 '''void KFilterProxySearchLine.setProxy(QSortFilterProxyModel proxy)''' 4002 4003 4004class KFind(QObject): 4005 """""" 4006 # Enum KFind.Result 4007 NoMatch = 0 4008 Match = 0 4009 4010 # Enum KFind.Options 4011 WholeWordsOnly = 0 4012 FromCursor = 0 4013 SelectedText = 0 4014 CaseSensitive = 0 4015 FindBackwards = 0 4016 RegularExpression = 0 4017 FindIncremental = 0 4018 MinimumUserOption = 0 4019 4020 def __init__(self, pattern, options, parent): 4021 '''void KFind.__init__(QString pattern, int options, QWidget parent)''' 4022 def __init__(self, pattern, options, parent, findDialog): 4023 '''void KFind.__init__(QString pattern, int options, QWidget parent, QWidget findDialog)''' 4024 def dialogsParent(self): 4025 '''QWidget KFind.dialogsParent()''' 4026 return QWidget() 4027 def parentWidget(self): 4028 '''QWidget KFind.parentWidget()''' 4029 return QWidget() 4030 dialogClosed = pyqtSignal() # void dialogClosed() - signal 4031 optionsChanged = pyqtSignal() # void optionsChanged() - signal 4032 findNext = pyqtSignal() # void findNext() - signal 4033 highlight = pyqtSignal() # void highlight(const QStringamp;,int,int) - signal 4034 highlight = pyqtSignal() # void highlight(int,int,int) - signal 4035 def index(self): 4036 '''int KFind.index()''' 4037 return int() 4038 def closeFindNextDialog(self): 4039 '''void KFind.closeFindNextDialog()''' 4040 def findNextDialog(self, create = False): 4041 '''KDialog KFind.findNextDialog(bool create = False)''' 4042 return KDialog() 4043 def displayFinalDialog(self): 4044 '''void KFind.displayFinalDialog()''' 4045 def shouldRestart(self, forceAsking = False, showNumMatches = True): 4046 '''bool KFind.shouldRestart(bool forceAsking = False, bool showNumMatches = True)''' 4047 return bool() 4048 def validateMatch(self, text, index, matchedlength): 4049 '''bool KFind.validateMatch(QString text, int index, int matchedlength)''' 4050 return bool() 4051 def resetCounts(self): 4052 '''void KFind.resetCounts()''' 4053 def numMatches(self): 4054 '''int KFind.numMatches()''' 4055 return int() 4056 def setPattern(self, pattern): 4057 '''void KFind.setPattern(QString pattern)''' 4058 def pattern(self): 4059 '''QString KFind.pattern()''' 4060 return QString() 4061 def setOptions(self, options): 4062 '''void KFind.setOptions(int options)''' 4063 def options(self): 4064 '''int KFind.options()''' 4065 return int() 4066 def find(self): 4067 '''KFind.Result KFind.find()''' 4068 return KFind.Result() 4069 def find(self, text, pattern, index, options, matchedlength): 4070 '''static int KFind.find(QString text, QString pattern, int index, int options, int matchedlength)''' 4071 return int() 4072 def find(self, text, pattern, index, options, matchedlength): 4073 '''static int KFind.find(QString text, QRegExp pattern, int index, int options, int matchedlength)''' 4074 return int() 4075 def setData(self, data, startPos = None): 4076 '''void KFind.setData(QString data, int startPos = -1)''' 4077 def setData(self, id, data, startPos = None): 4078 '''void KFind.setData(int id, QString data, int startPos = -1)''' 4079 def needData(self): 4080 '''bool KFind.needData()''' 4081 return bool() 4082 class SearchOptions(): 4083 """""" 4084 def __init__(self): 4085 '''KFind.SearchOptions KFind.SearchOptions.__init__()''' 4086 return KFind.SearchOptions() 4087 def __init__(self): 4088 '''int KFind.SearchOptions.__init__()''' 4089 return int() 4090 def __init__(self): 4091 '''void KFind.SearchOptions.__init__()''' 4092 def __bool__(self): 4093 '''int KFind.SearchOptions.__bool__()''' 4094 return int() 4095 def __ne__(self, f): 4096 '''bool KFind.SearchOptions.__ne__(KFind.SearchOptions f)''' 4097 return bool() 4098 def __eq__(self, f): 4099 '''bool KFind.SearchOptions.__eq__(KFind.SearchOptions f)''' 4100 return bool() 4101 def __invert__(self): 4102 '''KFind.SearchOptions KFind.SearchOptions.__invert__()''' 4103 return KFind.SearchOptions() 4104 def __and__(self, mask): 4105 '''KFind.SearchOptions KFind.SearchOptions.__and__(int mask)''' 4106 return KFind.SearchOptions() 4107 def __xor__(self, f): 4108 '''KFind.SearchOptions KFind.SearchOptions.__xor__(KFind.SearchOptions f)''' 4109 return KFind.SearchOptions() 4110 def __xor__(self, f): 4111 '''KFind.SearchOptions KFind.SearchOptions.__xor__(int f)''' 4112 return KFind.SearchOptions() 4113 def __or__(self, f): 4114 '''KFind.SearchOptions KFind.SearchOptions.__or__(KFind.SearchOptions f)''' 4115 return KFind.SearchOptions() 4116 def __or__(self, f): 4117 '''KFind.SearchOptions KFind.SearchOptions.__or__(int f)''' 4118 return KFind.SearchOptions() 4119 def __int__(self): 4120 '''int KFind.SearchOptions.__int__()''' 4121 return int() 4122 def __ixor__(self, f): 4123 '''KFind.SearchOptions KFind.SearchOptions.__ixor__(KFind.SearchOptions f)''' 4124 return KFind.SearchOptions() 4125 def __ior__(self, f): 4126 '''KFind.SearchOptions KFind.SearchOptions.__ior__(KFind.SearchOptions f)''' 4127 return KFind.SearchOptions() 4128 def __iand__(self, mask): 4129 '''KFind.SearchOptions KFind.SearchOptions.__iand__(int mask)''' 4130 return KFind.SearchOptions() 4131 4132 4133class KFindDialog(KDialog): 4134 """""" 4135 def __init__(self, parent = None, options = 0, findStrings = QStringList(), hasSelection = False, replaceDialog = False): 4136 '''void KFindDialog.__init__(QWidget parent = None, int options = 0, QStringList findStrings = QStringList(), bool hasSelection = False, bool replaceDialog = False)''' 4137 def showEvent(self): 4138 '''QShowEvent KFindDialog.showEvent()''' 4139 return QShowEvent() 4140 optionsChanged = pyqtSignal() # void optionsChanged() - signal 4141 def findExtension(self): 4142 '''QWidget KFindDialog.findExtension()''' 4143 return QWidget() 4144 def setPattern(self, pattern): 4145 '''void KFindDialog.setPattern(QString pattern)''' 4146 def pattern(self): 4147 '''QString KFindDialog.pattern()''' 4148 return QString() 4149 def options(self): 4150 '''int KFindDialog.options()''' 4151 return int() 4152 def setOptions(self, options): 4153 '''void KFindDialog.setOptions(int options)''' 4154 def setSupportsRegularExpressionFind(self, supports): 4155 '''void KFindDialog.setSupportsRegularExpressionFind(bool supports)''' 4156 def setSupportsWholeWordsFind(self, supports): 4157 '''void KFindDialog.setSupportsWholeWordsFind(bool supports)''' 4158 def setSupportsCaseSensitiveFind(self, supports): 4159 '''void KFindDialog.setSupportsCaseSensitiveFind(bool supports)''' 4160 def setSupportsBackwardsFind(self, supports): 4161 '''void KFindDialog.setSupportsBackwardsFind(bool supports)''' 4162 def setHasCursor(self, hasCursor): 4163 '''void KFindDialog.setHasCursor(bool hasCursor)''' 4164 def setHasSelection(self, hasSelection): 4165 '''void KFindDialog.setHasSelection(bool hasSelection)''' 4166 def findHistory(self): 4167 '''QStringList KFindDialog.findHistory()''' 4168 return QStringList() 4169 def setFindHistory(self, history): 4170 '''void KFindDialog.setFindHistory(QStringList history)''' 4171 4172 4173class KFontAction(KSelectAction): 4174 """""" 4175 def __init__(self, fontListCriteria, parent): 4176 '''void KFontAction.__init__(int fontListCriteria, QObject parent)''' 4177 def __init__(self, parent): 4178 '''void KFontAction.__init__(QObject parent)''' 4179 def __init__(self, text, parent): 4180 '''void KFontAction.__init__(QString text, QObject parent)''' 4181 def __init__(self, icon, text, parent): 4182 '''void KFontAction.__init__(KIcon icon, QString text, QObject parent)''' 4183 def createWidget(self, parent): 4184 '''QWidget KFontAction.createWidget(QWidget parent)''' 4185 return QWidget() 4186 def setFont(self, family): 4187 '''void KFontAction.setFont(QString family)''' 4188 def font(self): 4189 '''QString KFontAction.font()''' 4190 return QString() 4191 4192 4193class KFontChooser(QWidget): 4194 """""" 4195 # Enum KFontChooser.FontListCriteria 4196 FixedWidthFonts = 0 4197 ScalableFonts = 0 4198 SmoothScalableFonts = 0 4199 4200 # Enum KFontChooser.DisplayFlag 4201 NoDisplayFlags = 0 4202 FixedFontsOnly = 0 4203 DisplayFrame = 0 4204 ShowDifferences = 0 4205 4206 # Enum KFontChooser.FontDiff 4207 NoFontDiffFlags = 0 4208 FontDiffFamily = 0 4209 FontDiffStyle = 0 4210 FontDiffSize = 0 4211 AllFontDiffs = 0 4212 4213 # Enum KFontChooser.FontColumn 4214 FamilyList = 0 4215 StyleList = 0 4216 SizeList = 0 4217 4218 def __init__(self, parent = None, flags = None, fontList = QStringList(), visibleListSize = 8, sizeIsRelativeState = None): 4219 '''void KFontChooser.__init__(QWidget parent = None, KFontChooser.DisplayFlags flags = KFontChooser.DisplayFrame, QStringList fontList = QStringList(), int visibleListSize = 8, Qt.CheckState sizeIsRelativeState)''' 4220 fontSelected = pyqtSignal() # void fontSelected(const QFontamp;) - signal 4221 def sizeHint(self): 4222 '''QSize KFontChooser.sizeHint()''' 4223 return QSize() 4224 def getFontList(self, list, fontListCriteria): 4225 '''static void KFontChooser.getFontList(QStringList list, int fontListCriteria)''' 4226 def setSampleBoxVisible(self, visible): 4227 '''void KFontChooser.setSampleBoxVisible(bool visible)''' 4228 def setSampleText(self, text): 4229 '''void KFontChooser.setSampleText(QString text)''' 4230 def sampleText(self): 4231 '''QString KFontChooser.sampleText()''' 4232 return QString() 4233 def sizeIsRelative(self): 4234 '''Qt.CheckState KFontChooser.sizeIsRelative()''' 4235 return Qt.CheckState() 4236 def setSizeIsRelative(self, relative): 4237 '''void KFontChooser.setSizeIsRelative(Qt.CheckState relative)''' 4238 def backgroundColor(self): 4239 '''QColor KFontChooser.backgroundColor()''' 4240 return QColor() 4241 def setBackgroundColor(self, col): 4242 '''void KFontChooser.setBackgroundColor(QColor col)''' 4243 def color(self): 4244 '''QColor KFontChooser.color()''' 4245 return QColor() 4246 def setColor(self, col): 4247 '''void KFontChooser.setColor(QColor col)''' 4248 def font(self): 4249 '''QFont KFontChooser.font()''' 4250 return QFont() 4251 def fontDiffFlags(self): 4252 '''KFontChooser.FontDiffFlags KFontChooser.fontDiffFlags()''' 4253 return KFontChooser.FontDiffFlags() 4254 def setFont(self, font, onlyFixed = False): 4255 '''void KFontChooser.setFont(QFont font, bool onlyFixed = False)''' 4256 def enableColumn(self, column, state): 4257 '''void KFontChooser.enableColumn(int column, bool state)''' 4258 class DisplayFlags(): 4259 """""" 4260 def __init__(self): 4261 '''KFontChooser.DisplayFlags KFontChooser.DisplayFlags.__init__()''' 4262 return KFontChooser.DisplayFlags() 4263 def __init__(self): 4264 '''int KFontChooser.DisplayFlags.__init__()''' 4265 return int() 4266 def __init__(self): 4267 '''void KFontChooser.DisplayFlags.__init__()''' 4268 def __bool__(self): 4269 '''int KFontChooser.DisplayFlags.__bool__()''' 4270 return int() 4271 def __ne__(self, f): 4272 '''bool KFontChooser.DisplayFlags.__ne__(KFontChooser.DisplayFlags f)''' 4273 return bool() 4274 def __eq__(self, f): 4275 '''bool KFontChooser.DisplayFlags.__eq__(KFontChooser.DisplayFlags f)''' 4276 return bool() 4277 def __invert__(self): 4278 '''KFontChooser.DisplayFlags KFontChooser.DisplayFlags.__invert__()''' 4279 return KFontChooser.DisplayFlags() 4280 def __and__(self, mask): 4281 '''KFontChooser.DisplayFlags KFontChooser.DisplayFlags.__and__(int mask)''' 4282 return KFontChooser.DisplayFlags() 4283 def __xor__(self, f): 4284 '''KFontChooser.DisplayFlags KFontChooser.DisplayFlags.__xor__(KFontChooser.DisplayFlags f)''' 4285 return KFontChooser.DisplayFlags() 4286 def __xor__(self, f): 4287 '''KFontChooser.DisplayFlags KFontChooser.DisplayFlags.__xor__(int f)''' 4288 return KFontChooser.DisplayFlags() 4289 def __or__(self, f): 4290 '''KFontChooser.DisplayFlags KFontChooser.DisplayFlags.__or__(KFontChooser.DisplayFlags f)''' 4291 return KFontChooser.DisplayFlags() 4292 def __or__(self, f): 4293 '''KFontChooser.DisplayFlags KFontChooser.DisplayFlags.__or__(int f)''' 4294 return KFontChooser.DisplayFlags() 4295 def __int__(self): 4296 '''int KFontChooser.DisplayFlags.__int__()''' 4297 return int() 4298 def __ixor__(self, f): 4299 '''KFontChooser.DisplayFlags KFontChooser.DisplayFlags.__ixor__(KFontChooser.DisplayFlags f)''' 4300 return KFontChooser.DisplayFlags() 4301 def __ior__(self, f): 4302 '''KFontChooser.DisplayFlags KFontChooser.DisplayFlags.__ior__(KFontChooser.DisplayFlags f)''' 4303 return KFontChooser.DisplayFlags() 4304 def __iand__(self, mask): 4305 '''KFontChooser.DisplayFlags KFontChooser.DisplayFlags.__iand__(int mask)''' 4306 return KFontChooser.DisplayFlags() 4307 class FontDiffFlags(): 4308 """""" 4309 def __init__(self): 4310 '''KFontChooser.FontDiffFlags KFontChooser.FontDiffFlags.__init__()''' 4311 return KFontChooser.FontDiffFlags() 4312 def __init__(self): 4313 '''int KFontChooser.FontDiffFlags.__init__()''' 4314 return int() 4315 def __init__(self): 4316 '''void KFontChooser.FontDiffFlags.__init__()''' 4317 def __bool__(self): 4318 '''int KFontChooser.FontDiffFlags.__bool__()''' 4319 return int() 4320 def __ne__(self, f): 4321 '''bool KFontChooser.FontDiffFlags.__ne__(KFontChooser.FontDiffFlags f)''' 4322 return bool() 4323 def __eq__(self, f): 4324 '''bool KFontChooser.FontDiffFlags.__eq__(KFontChooser.FontDiffFlags f)''' 4325 return bool() 4326 def __invert__(self): 4327 '''KFontChooser.FontDiffFlags KFontChooser.FontDiffFlags.__invert__()''' 4328 return KFontChooser.FontDiffFlags() 4329 def __and__(self, mask): 4330 '''KFontChooser.FontDiffFlags KFontChooser.FontDiffFlags.__and__(int mask)''' 4331 return KFontChooser.FontDiffFlags() 4332 def __xor__(self, f): 4333 '''KFontChooser.FontDiffFlags KFontChooser.FontDiffFlags.__xor__(KFontChooser.FontDiffFlags f)''' 4334 return KFontChooser.FontDiffFlags() 4335 def __xor__(self, f): 4336 '''KFontChooser.FontDiffFlags KFontChooser.FontDiffFlags.__xor__(int f)''' 4337 return KFontChooser.FontDiffFlags() 4338 def __or__(self, f): 4339 '''KFontChooser.FontDiffFlags KFontChooser.FontDiffFlags.__or__(KFontChooser.FontDiffFlags f)''' 4340 return KFontChooser.FontDiffFlags() 4341 def __or__(self, f): 4342 '''KFontChooser.FontDiffFlags KFontChooser.FontDiffFlags.__or__(int f)''' 4343 return KFontChooser.FontDiffFlags() 4344 def __int__(self): 4345 '''int KFontChooser.FontDiffFlags.__int__()''' 4346 return int() 4347 def __ixor__(self, f): 4348 '''KFontChooser.FontDiffFlags KFontChooser.FontDiffFlags.__ixor__(KFontChooser.FontDiffFlags f)''' 4349 return KFontChooser.FontDiffFlags() 4350 def __ior__(self, f): 4351 '''KFontChooser.FontDiffFlags KFontChooser.FontDiffFlags.__ior__(KFontChooser.FontDiffFlags f)''' 4352 return KFontChooser.FontDiffFlags() 4353 def __iand__(self, mask): 4354 '''KFontChooser.FontDiffFlags KFontChooser.FontDiffFlags.__iand__(int mask)''' 4355 return KFontChooser.FontDiffFlags() 4356 4357 4358class KFontComboBox(KComboBox): 4359 """""" 4360 def __init__(self, parent = None): 4361 '''void KFontComboBox.__init__(QWidget parent = None)''' 4362 def event(self, e): 4363 '''bool KFontComboBox.event(QEvent e)''' 4364 return bool() 4365 currentFontChanged = pyqtSignal() # void currentFontChanged(const QFontamp;) - signal 4366 def setCurrentFont(self, font): 4367 '''void KFontComboBox.setCurrentFont(QFont font)''' 4368 def sizeHint(self): 4369 '''QSize KFontComboBox.sizeHint()''' 4370 return QSize() 4371 def currentFont(self): 4372 '''QFont KFontComboBox.currentFont()''' 4373 return QFont() 4374 def setOnlyFixed(self, onlyFixed): 4375 '''void KFontComboBox.setOnlyFixed(bool onlyFixed)''' 4376 4377 4378class KFontDialog(KDialog): 4379 """""" 4380 def __init__(self, parent = None, flags = None, fontlist = QStringList(), sizeIsRelativeState = None): 4381 '''void KFontDialog.__init__(QWidget parent = None, KFontChooser.DisplayFlags flags = KFontChooser.NoDisplayFlags, QStringList fontlist = QStringList(), Qt.CheckState sizeIsRelativeState)''' 4382 fontSelected = pyqtSignal() # void fontSelected(const QFontamp;) - signal 4383 def getFontAndText(self, theFont, theString, flags = None, parent = None, sizeIsRelativeState = None): 4384 '''static tuple KFontDialog.getFontAndText(QFont theFont, QString theString, KFontChooser.DisplayFlags flags = KFontChooser.NoDisplayFlags, QWidget parent = None, Qt.CheckState sizeIsRelativeState = Qt.Unchecked)''' 4385 return tuple() 4386 def getFontDiff(self, theFont, diffFlags, flags = None, parent = None, sizeIsRelativeState = None): 4387 '''static tuple KFontDialog.getFontDiff(QFont theFont, KFontChooser.FontDiffFlags diffFlags, KFontChooser.DisplayFlags flags = KFontChooser.NoDisplayFlags, QWidget parent = None, Qt.CheckState sizeIsRelativeState = Qt.Unchecked)''' 4388 return tuple() 4389 def getFont(self, theFont, flags = None, parent = None, sizeIsRelativeState = None): 4390 '''static tuple KFontDialog.getFont(QFont theFont, KFontChooser.DisplayFlags flags = KFontChooser.NoDisplayFlags, QWidget parent = None, Qt.CheckState sizeIsRelativeState)''' 4391 return tuple() 4392 def sizeIsRelative(self): 4393 '''Qt.CheckState KFontDialog.sizeIsRelative()''' 4394 return Qt.CheckState() 4395 def setSizeIsRelative(self, relative): 4396 '''void KFontDialog.setSizeIsRelative(Qt.CheckState relative)''' 4397 def font(self): 4398 '''QFont KFontDialog.font()''' 4399 return QFont() 4400 def setFont(self, font, onlyFixed = False): 4401 '''void KFontDialog.setFont(QFont font, bool onlyFixed = False)''' 4402 4403 4404class KFontRequester(QWidget): 4405 """""" 4406 def __init__(self, parent = None, onlyFixed = False): 4407 '''void KFontRequester.__init__(QWidget parent = None, bool onlyFixed = False)''' 4408 fontSelected = pyqtSignal() # void fontSelected(const QFontamp;) - signal 4409 def setTitle(self, title): 4410 '''void KFontRequester.setTitle(QString title)''' 4411 def setSampleText(self, text): 4412 '''void KFontRequester.setSampleText(QString text)''' 4413 def setFont(self, font, onlyFixed = False): 4414 '''void KFontRequester.setFont(QFont font, bool onlyFixed = False)''' 4415 def button(self): 4416 '''QPushButton KFontRequester.button()''' 4417 return QPushButton() 4418 def label(self): 4419 '''QLabel KFontRequester.label()''' 4420 return QLabel() 4421 def title(self): 4422 '''QString KFontRequester.title()''' 4423 return QString() 4424 def sampleText(self): 4425 '''QString KFontRequester.sampleText()''' 4426 return QString() 4427 def isFixedOnly(self): 4428 '''bool KFontRequester.isFixedOnly()''' 4429 return bool() 4430 def font(self): 4431 '''QFont KFontRequester.font()''' 4432 return QFont() 4433 4434 4435class KFontSizeAction(KSelectAction): 4436 """""" 4437 def __init__(self, parent): 4438 '''void KFontSizeAction.__init__(QObject parent)''' 4439 def __init__(self, text, parent): 4440 '''void KFontSizeAction.__init__(QString text, QObject parent)''' 4441 def __init__(self, icon, text, parent): 4442 '''void KFontSizeAction.__init__(KIcon icon, QString text, QObject parent)''' 4443 def actionTriggered(self, action): 4444 '''void KFontSizeAction.actionTriggered(QAction action)''' 4445 fontSizeChanged = pyqtSignal() # void fontSizeChanged(int) - signal 4446 def setFontSize(self, size): 4447 '''void KFontSizeAction.setFontSize(int size)''' 4448 def fontSize(self): 4449 '''int KFontSizeAction.fontSize()''' 4450 return int() 4451 4452 4453class KFontUtils(): 4454 """""" 4455 # Enum KFontUtils.AdaptFontSizeOption 4456 NoFlags = 0 4457 DoNotAllowWordWrap = 0 4458 4459 def adaptFontSize(self, painter, text, width, height, maxFontSize = 28, minFontSize = 1, flags = None): 4460 '''static float KFontUtils.adaptFontSize(QPainter painter, QString text, float width, float height, float maxFontSize = 28, float minFontSize = 1, KFontUtils.AdaptFontSizeOptions flags = KFontUtils.NoFlags)''' 4461 return float() 4462 def adaptFontSize(self, painter, text, availableSize, maxFontSize = 28, minFontSize = 1, flags = None): 4463 '''static float KFontUtils.adaptFontSize(QPainter painter, QString text, QSizeF availableSize, float maxFontSize = 28, float minFontSize = 1, KFontUtils.AdaptFontSizeOptions flags = KFontUtils.NoFlags)''' 4464 return float() 4465 class AdaptFontSizeOptions(): 4466 """""" 4467 def __init__(self): 4468 '''KFontUtils.AdaptFontSizeOptions KFontUtils.AdaptFontSizeOptions.__init__()''' 4469 return KFontUtils.AdaptFontSizeOptions() 4470 def __init__(self): 4471 '''int KFontUtils.AdaptFontSizeOptions.__init__()''' 4472 return int() 4473 def __init__(self): 4474 '''void KFontUtils.AdaptFontSizeOptions.__init__()''' 4475 def __bool__(self): 4476 '''int KFontUtils.AdaptFontSizeOptions.__bool__()''' 4477 return int() 4478 def __ne__(self, f): 4479 '''bool KFontUtils.AdaptFontSizeOptions.__ne__(KFontUtils.AdaptFontSizeOptions f)''' 4480 return bool() 4481 def __eq__(self, f): 4482 '''bool KFontUtils.AdaptFontSizeOptions.__eq__(KFontUtils.AdaptFontSizeOptions f)''' 4483 return bool() 4484 def __invert__(self): 4485 '''KFontUtils.AdaptFontSizeOptions KFontUtils.AdaptFontSizeOptions.__invert__()''' 4486 return KFontUtils.AdaptFontSizeOptions() 4487 def __and__(self, mask): 4488 '''KFontUtils.AdaptFontSizeOptions KFontUtils.AdaptFontSizeOptions.__and__(int mask)''' 4489 return KFontUtils.AdaptFontSizeOptions() 4490 def __xor__(self, f): 4491 '''KFontUtils.AdaptFontSizeOptions KFontUtils.AdaptFontSizeOptions.__xor__(KFontUtils.AdaptFontSizeOptions f)''' 4492 return KFontUtils.AdaptFontSizeOptions() 4493 def __xor__(self, f): 4494 '''KFontUtils.AdaptFontSizeOptions KFontUtils.AdaptFontSizeOptions.__xor__(int f)''' 4495 return KFontUtils.AdaptFontSizeOptions() 4496 def __or__(self, f): 4497 '''KFontUtils.AdaptFontSizeOptions KFontUtils.AdaptFontSizeOptions.__or__(KFontUtils.AdaptFontSizeOptions f)''' 4498 return KFontUtils.AdaptFontSizeOptions() 4499 def __or__(self, f): 4500 '''KFontUtils.AdaptFontSizeOptions KFontUtils.AdaptFontSizeOptions.__or__(int f)''' 4501 return KFontUtils.AdaptFontSizeOptions() 4502 def __int__(self): 4503 '''int KFontUtils.AdaptFontSizeOptions.__int__()''' 4504 return int() 4505 def __ixor__(self, f): 4506 '''KFontUtils.AdaptFontSizeOptions KFontUtils.AdaptFontSizeOptions.__ixor__(KFontUtils.AdaptFontSizeOptions f)''' 4507 return KFontUtils.AdaptFontSizeOptions() 4508 def __ior__(self, f): 4509 '''KFontUtils.AdaptFontSizeOptions KFontUtils.AdaptFontSizeOptions.__ior__(KFontUtils.AdaptFontSizeOptions f)''' 4510 return KFontUtils.AdaptFontSizeOptions() 4511 def __iand__(self, mask): 4512 '''KFontUtils.AdaptFontSizeOptions KFontUtils.AdaptFontSizeOptions.__iand__(int mask)''' 4513 return KFontUtils.AdaptFontSizeOptions() 4514 4515 4516class KShapeGesture(): 4517 """""" 4518 def __init__(self): 4519 '''void KShapeGesture.__init__()''' 4520 def __init__(self, shape): 4521 '''void KShapeGesture.__init__(QPolygon shape)''' 4522 def __init__(self, description): 4523 '''void KShapeGesture.__init__(QString description)''' 4524 def __init__(self, other): 4525 '''void KShapeGesture.__init__(KShapeGesture other)''' 4526 def hashable(self): 4527 '''int KShapeGesture.hashable()''' 4528 return int() 4529 def __ne__(self, other): 4530 '''bool KShapeGesture.__ne__(KShapeGesture other)''' 4531 return bool() 4532 def __eq__(self, other): 4533 '''bool KShapeGesture.__eq__(KShapeGesture other)''' 4534 return bool() 4535 def distance(self, other, abortThreshold): 4536 '''float KShapeGesture.distance(KShapeGesture other, float abortThreshold)''' 4537 return float() 4538 def toSvg(self, attributes = QString()): 4539 '''QByteArray KShapeGesture.toSvg(QString attributes = QString())''' 4540 return QByteArray() 4541 def toString(self): 4542 '''QString KShapeGesture.toString()''' 4543 return QString() 4544 def isValid(self): 4545 '''bool KShapeGesture.isValid()''' 4546 return bool() 4547 def shapeName(self): 4548 '''QString KShapeGesture.shapeName()''' 4549 return QString() 4550 def setShapeName(self, friendlyName): 4551 '''void KShapeGesture.setShapeName(QString friendlyName)''' 4552 def setShape(self, shape): 4553 '''void KShapeGesture.setShape(QPolygon shape)''' 4554 4555 4556class KRockerGesture(): 4557 """""" 4558 def __init__(self): 4559 '''void KRockerGesture.__init__()''' 4560 def __init__(self, hold, thenPush): 4561 '''void KRockerGesture.__init__(Qt.MouseButton hold, Qt.MouseButton thenPush)''' 4562 def __init__(self, description): 4563 '''void KRockerGesture.__init__(QString description)''' 4564 def __init__(self, other): 4565 '''void KRockerGesture.__init__(KRockerGesture other)''' 4566 def hashable(self): 4567 '''int KRockerGesture.hashable()''' 4568 return int() 4569 def __ne__(self, other): 4570 '''bool KRockerGesture.__ne__(KRockerGesture other)''' 4571 return bool() 4572 def __eq__(self, other): 4573 '''bool KRockerGesture.__eq__(KRockerGesture other)''' 4574 return bool() 4575 def toString(self): 4576 '''QString KRockerGesture.toString()''' 4577 return QString() 4578 def isValid(self): 4579 '''bool KRockerGesture.isValid()''' 4580 return bool() 4581 def mouseButtonName(self, button): 4582 '''static QString KRockerGesture.mouseButtonName(Qt.MouseButton button)''' 4583 return QString() 4584 def rockerName(self): 4585 '''QString KRockerGesture.rockerName()''' 4586 return QString() 4587 def getButtons(self, hold, thenPush): 4588 '''void KRockerGesture.getButtons(Qt.MouseButton hold, Qt.MouseButton thenPush)''' 4589 def setButtons(self, hold, thenPush): 4590 '''void KRockerGesture.setButtons(Qt.MouseButton hold, Qt.MouseButton thenPush)''' 4591 4592 4593class KGlobalAccel(QObject): 4594 """""" 4595 # Enum KGlobalAccel.actionIdFields 4596 ComponentUnique = 0 4597 ActionUnique = 0 4598 ComponentFriendly = 0 4599 ActionFriendly = 0 4600 4601 def findActionNameSystemwide(self, seq): 4602 '''static QStringList KGlobalAccel.findActionNameSystemwide(QKeySequence seq)''' 4603 return QStringList() 4604 def allActionsForComponent(self, actionId): 4605 '''list-of-QStringList KGlobalAccel.allActionsForComponent(QStringList actionId)''' 4606 return [QStringList()] 4607 def allMainComponents(self): 4608 '''list-of-QStringList KGlobalAccel.allMainComponents()''' 4609 return [QStringList()] 4610 def overrideMainComponentData(self, componentData): 4611 '''void KGlobalAccel.overrideMainComponentData(KComponentData componentData)''' 4612 def setEnabled(self, enabled): 4613 '''void KGlobalAccel.setEnabled(bool enabled)''' 4614 def isEnabled(self): 4615 '''bool KGlobalAccel.isEnabled()''' 4616 return bool() 4617 def promptStealShortcutSystemwide(self, parent, shortcuts, seq): 4618 '''static bool KGlobalAccel.promptStealShortcutSystemwide(QWidget parent, list-of-KGlobalShortcutInfo shortcuts, QKeySequence seq)''' 4619 return bool() 4620 def promptStealShortcutSystemwide(self, parent, actionIdentifier, seq): 4621 '''static bool KGlobalAccel.promptStealShortcutSystemwide(QWidget parent, QStringList actionIdentifier, QKeySequence seq)''' 4622 return bool() 4623 def isGlobalShortcutAvailable(self, seq, component = QString()): 4624 '''static bool KGlobalAccel.isGlobalShortcutAvailable(QKeySequence seq, QString component = QString())''' 4625 return bool() 4626 def getGlobalShortcutsByKey(self, seq): 4627 '''static list-of-KGlobalShortcutInfo KGlobalAccel.getGlobalShortcutsByKey(QKeySequence seq)''' 4628 return [KGlobalShortcutInfo()] 4629 def isComponentActive(self, componentName): 4630 '''static bool KGlobalAccel.isComponentActive(QString componentName)''' 4631 return bool() 4632 def cleanComponent(self, componentUnique): 4633 '''static bool KGlobalAccel.cleanComponent(QString componentUnique)''' 4634 return bool() 4635 def activateGlobalShortcutContext(self, contextUnique, contextFriendly, component = None): 4636 '''static void KGlobalAccel.activateGlobalShortcutContext(QString contextUnique, QString contextFriendly, KComponentData component = KGlobal.mainComponent())''' 4637 def stealShortcutSystemwide(self, seq): 4638 '''static void KGlobalAccel.stealShortcutSystemwide(QKeySequence seq)''' 4639 def self(self): 4640 '''static KGlobalAccel KGlobalAccel.self()''' 4641 return KGlobalAccel() 4642 4643 4644class KGlobalSettings(QObject): 4645 """""" 4646 # Enum KGlobalSettings.ActivateOption 4647 ApplySettings = 0 4648 ListenForChanges = 0 4649 4650 # Enum KGlobalSettings.SettingsCategory 4651 SETTINGS_MOUSE = 0 4652 SETTINGS_COMPLETION = 0 4653 SETTINGS_PATHS = 0 4654 SETTINGS_POPUPMENU = 0 4655 SETTINGS_QT = 0 4656 SETTINGS_SHORTCUTS = 0 4657 SETTINGS_LOCALE = 0 4658 SETTINGS_STYLE = 0 4659 4660 # Enum KGlobalSettings.ChangeType 4661 PaletteChanged = 0 4662 FontChanged = 0 4663 StyleChanged = 0 4664 SettingsChanged = 0 4665 IconChanged = 0 4666 CursorChanged = 0 4667 ToolbarStyleChanged = 0 4668 ClipboardConfigChanged = 0 4669 BlockShortcuts = 0 4670 NaturalSortingChanged = 0 4671 4672 # Enum KGlobalSettings.GraphicEffect 4673 NoEffects = 0 4674 GradientEffects = 0 4675 SimpleAnimationEffects = 0 4676 ComplexAnimationEffects = 0 4677 4678 # Enum KGlobalSettings.Completion 4679 CompletionNone = 0 4680 CompletionAuto = 0 4681 CompletionMan = 0 4682 CompletionShell = 0 4683 CompletionPopup = 0 4684 CompletionPopupAuto = 0 4685 4686 # Enum KGlobalSettings.TearOffHandle 4687 Disable = 0 4688 ApplicationLevel = 0 4689 Enable = 0 4690 4691 def createNewApplicationPalette(self, config = KSharedConfigPtr()): 4692 '''static QPalette KGlobalSettings.createNewApplicationPalette(KSharedConfigPtr config = KSharedConfigPtr())''' 4693 return QPalette() 4694 naturalSortingChanged = pyqtSignal() # void naturalSortingChanged() - signal 4695 def naturalSorting(self): 4696 '''static bool KGlobalSettings.naturalSorting()''' 4697 return bool() 4698 def activate(self): 4699 '''void KGlobalSettings.activate()''' 4700 def activate(self, options): 4701 '''void KGlobalSettings.activate(KGlobalSettings.ActivateOptions options)''' 4702 blockShortcuts = pyqtSignal() # void blockShortcuts(int) - signal 4703 cursorChanged = pyqtSignal() # void cursorChanged() - signal 4704 iconChanged = pyqtSignal() # void iconChanged(int) - signal 4705 settingsChanged = pyqtSignal() # void settingsChanged(int) - signal 4706 toolbarAppearanceChanged = pyqtSignal() # void toolbarAppearanceChanged(int) - signal 4707 appearanceChanged = pyqtSignal() # void appearanceChanged() - signal 4708 kdisplayFontChanged = pyqtSignal() # void kdisplayFontChanged() - signal 4709 kdisplayStyleChanged = pyqtSignal() # void kdisplayStyleChanged() - signal 4710 kdisplayPaletteChanged = pyqtSignal() # void kdisplayPaletteChanged() - signal 4711 def self(self): 4712 '''static KGlobalSettings KGlobalSettings.self()''' 4713 return KGlobalSettings() 4714 def emitChange(self, changeType, arg = 0): 4715 '''static void KGlobalSettings.emitChange(KGlobalSettings.ChangeType changeType, int arg = 0)''' 4716 def createApplicationPalette(self, config = KSharedConfigPtr()): 4717 '''static QPalette KGlobalSettings.createApplicationPalette(KSharedConfigPtr config = KSharedConfigPtr())''' 4718 return QPalette() 4719 def buttonLayout(self): 4720 '''static int KGlobalSettings.buttonLayout()''' 4721 return int() 4722 def opaqueResize(self): 4723 '''static bool KGlobalSettings.opaqueResize()''' 4724 return bool() 4725 def showFilePreview(self): 4726 '''static KUrl KGlobalSettings.showFilePreview()''' 4727 return KUrl() 4728 def graphicEffectsLevelDefault(self): 4729 '''static KGlobalSettings.GraphicEffects KGlobalSettings.graphicEffectsLevelDefault()''' 4730 return KGlobalSettings.GraphicEffects() 4731 def graphicEffectsLevel(self): 4732 '''static KGlobalSettings.GraphicEffects KGlobalSettings.graphicEffectsLevel()''' 4733 return KGlobalSettings.GraphicEffects() 4734 def showIconsOnPushButtons(self): 4735 '''static bool KGlobalSettings.showIconsOnPushButtons()''' 4736 return bool() 4737 def desktopGeometry(self, point): 4738 '''static QRect KGlobalSettings.desktopGeometry(QPoint point)''' 4739 return QRect() 4740 def desktopGeometry(self, w): 4741 '''static QRect KGlobalSettings.desktopGeometry(QWidget w)''' 4742 return QRect() 4743 def splashScreenDesktopGeometry(self): 4744 '''static QRect KGlobalSettings.splashScreenDesktopGeometry()''' 4745 return QRect() 4746 def wheelMouseZooms(self): 4747 '''static bool KGlobalSettings.wheelMouseZooms()''' 4748 return bool() 4749 def isMultiHead(self): 4750 '''static bool KGlobalSettings.isMultiHead()''' 4751 return bool() 4752 def smallestReadableFont(self): 4753 '''static QFont KGlobalSettings.smallestReadableFont()''' 4754 return QFont() 4755 def largeFont(self, text = QString()): 4756 '''static QFont KGlobalSettings.largeFont(QString text = QString())''' 4757 return QFont() 4758 def taskbarFont(self): 4759 '''static QFont KGlobalSettings.taskbarFont()''' 4760 return QFont() 4761 def windowTitleFont(self): 4762 '''static QFont KGlobalSettings.windowTitleFont()''' 4763 return QFont() 4764 def menuFont(self): 4765 '''static QFont KGlobalSettings.menuFont()''' 4766 return QFont() 4767 def toolBarFont(self): 4768 '''static QFont KGlobalSettings.toolBarFont()''' 4769 return QFont() 4770 def fixedFont(self): 4771 '''static QFont KGlobalSettings.fixedFont()''' 4772 return QFont() 4773 def generalFont(self): 4774 '''static QFont KGlobalSettings.generalFont()''' 4775 return QFont() 4776 def allowDefaultBackgroundImages(self): 4777 '''static bool KGlobalSettings.allowDefaultBackgroundImages()''' 4778 return bool() 4779 def shadeSortColumn(self): 4780 '''static bool KGlobalSettings.shadeSortColumn()''' 4781 return bool() 4782 def contrastF(self, config = KSharedConfigPtr()): 4783 '''static float KGlobalSettings.contrastF(KSharedConfigPtr config = KSharedConfigPtr())''' 4784 return float() 4785 def contrast(self): 4786 '''static int KGlobalSettings.contrast()''' 4787 return int() 4788 def activeTextColor(self): 4789 '''static QColor KGlobalSettings.activeTextColor()''' 4790 return QColor() 4791 def activeTitleColor(self): 4792 '''static QColor KGlobalSettings.activeTitleColor()''' 4793 return QColor() 4794 def inactiveTextColor(self): 4795 '''static QColor KGlobalSettings.inactiveTextColor()''' 4796 return QColor() 4797 def inactiveTitleColor(self): 4798 '''static QColor KGlobalSettings.inactiveTitleColor()''' 4799 return QColor() 4800 def picturesPath(self): 4801 '''static QString KGlobalSettings.picturesPath()''' 4802 return QString() 4803 def downloadPath(self): 4804 '''static QString KGlobalSettings.downloadPath()''' 4805 return QString() 4806 def videosPath(self): 4807 '''static QString KGlobalSettings.videosPath()''' 4808 return QString() 4809 def musicPath(self): 4810 '''static QString KGlobalSettings.musicPath()''' 4811 return QString() 4812 def documentPath(self): 4813 '''static QString KGlobalSettings.documentPath()''' 4814 return QString() 4815 def autostartPath(self): 4816 '''static QString KGlobalSettings.autostartPath()''' 4817 return QString() 4818 def desktopPath(self): 4819 '''static QString KGlobalSettings.desktopPath()''' 4820 return QString() 4821 def mouseSettings(self): 4822 '''static KGlobalSettings.KMouseSettings KGlobalSettings.mouseSettings()''' 4823 return KGlobalSettings.KMouseSettings() 4824 def completionMode(self): 4825 '''static KGlobalSettings.Completion KGlobalSettings.completionMode()''' 4826 return KGlobalSettings.Completion() 4827 def showContextMenusOnPress(self): 4828 '''static bool KGlobalSettings.showContextMenusOnPress()''' 4829 return bool() 4830 def contextMenuKey(self): 4831 '''static int KGlobalSettings.contextMenuKey()''' 4832 return int() 4833 def autoSelectDelay(self): 4834 '''static int KGlobalSettings.autoSelectDelay()''' 4835 return int() 4836 def changeCursorOverIcon(self): 4837 '''static bool KGlobalSettings.changeCursorOverIcon()''' 4838 return bool() 4839 def insertTearOffHandle(self): 4840 '''static KGlobalSettings.TearOffHandle KGlobalSettings.insertTearOffHandle()''' 4841 return KGlobalSettings.TearOffHandle() 4842 def smoothScroll(self): 4843 '''static bool KGlobalSettings.smoothScroll()''' 4844 return bool() 4845 def singleClick(self): 4846 '''static bool KGlobalSettings.singleClick()''' 4847 return bool() 4848 def dndEventDelay(self): 4849 '''static int KGlobalSettings.dndEventDelay()''' 4850 return int() 4851 class GraphicEffects(): 4852 """""" 4853 def __init__(self): 4854 '''KGlobalSettings.GraphicEffects KGlobalSettings.GraphicEffects.__init__()''' 4855 return KGlobalSettings.GraphicEffects() 4856 def __init__(self): 4857 '''int KGlobalSettings.GraphicEffects.__init__()''' 4858 return int() 4859 def __init__(self): 4860 '''void KGlobalSettings.GraphicEffects.__init__()''' 4861 def __bool__(self): 4862 '''int KGlobalSettings.GraphicEffects.__bool__()''' 4863 return int() 4864 def __ne__(self, f): 4865 '''bool KGlobalSettings.GraphicEffects.__ne__(KGlobalSettings.GraphicEffects f)''' 4866 return bool() 4867 def __eq__(self, f): 4868 '''bool KGlobalSettings.GraphicEffects.__eq__(KGlobalSettings.GraphicEffects f)''' 4869 return bool() 4870 def __invert__(self): 4871 '''KGlobalSettings.GraphicEffects KGlobalSettings.GraphicEffects.__invert__()''' 4872 return KGlobalSettings.GraphicEffects() 4873 def __and__(self, mask): 4874 '''KGlobalSettings.GraphicEffects KGlobalSettings.GraphicEffects.__and__(int mask)''' 4875 return KGlobalSettings.GraphicEffects() 4876 def __xor__(self, f): 4877 '''KGlobalSettings.GraphicEffects KGlobalSettings.GraphicEffects.__xor__(KGlobalSettings.GraphicEffects f)''' 4878 return KGlobalSettings.GraphicEffects() 4879 def __xor__(self, f): 4880 '''KGlobalSettings.GraphicEffects KGlobalSettings.GraphicEffects.__xor__(int f)''' 4881 return KGlobalSettings.GraphicEffects() 4882 def __or__(self, f): 4883 '''KGlobalSettings.GraphicEffects KGlobalSettings.GraphicEffects.__or__(KGlobalSettings.GraphicEffects f)''' 4884 return KGlobalSettings.GraphicEffects() 4885 def __or__(self, f): 4886 '''KGlobalSettings.GraphicEffects KGlobalSettings.GraphicEffects.__or__(int f)''' 4887 return KGlobalSettings.GraphicEffects() 4888 def __int__(self): 4889 '''int KGlobalSettings.GraphicEffects.__int__()''' 4890 return int() 4891 def __ixor__(self, f): 4892 '''KGlobalSettings.GraphicEffects KGlobalSettings.GraphicEffects.__ixor__(KGlobalSettings.GraphicEffects f)''' 4893 return KGlobalSettings.GraphicEffects() 4894 def __ior__(self, f): 4895 '''KGlobalSettings.GraphicEffects KGlobalSettings.GraphicEffects.__ior__(KGlobalSettings.GraphicEffects f)''' 4896 return KGlobalSettings.GraphicEffects() 4897 def __iand__(self, mask): 4898 '''KGlobalSettings.GraphicEffects KGlobalSettings.GraphicEffects.__iand__(int mask)''' 4899 return KGlobalSettings.GraphicEffects() 4900 class ActivateOptions(): 4901 """""" 4902 def __init__(self): 4903 '''KGlobalSettings.ActivateOptions KGlobalSettings.ActivateOptions.__init__()''' 4904 return KGlobalSettings.ActivateOptions() 4905 def __init__(self): 4906 '''int KGlobalSettings.ActivateOptions.__init__()''' 4907 return int() 4908 def __init__(self): 4909 '''void KGlobalSettings.ActivateOptions.__init__()''' 4910 def __bool__(self): 4911 '''int KGlobalSettings.ActivateOptions.__bool__()''' 4912 return int() 4913 def __ne__(self, f): 4914 '''bool KGlobalSettings.ActivateOptions.__ne__(KGlobalSettings.ActivateOptions f)''' 4915 return bool() 4916 def __eq__(self, f): 4917 '''bool KGlobalSettings.ActivateOptions.__eq__(KGlobalSettings.ActivateOptions f)''' 4918 return bool() 4919 def __invert__(self): 4920 '''KGlobalSettings.ActivateOptions KGlobalSettings.ActivateOptions.__invert__()''' 4921 return KGlobalSettings.ActivateOptions() 4922 def __and__(self, mask): 4923 '''KGlobalSettings.ActivateOptions KGlobalSettings.ActivateOptions.__and__(int mask)''' 4924 return KGlobalSettings.ActivateOptions() 4925 def __xor__(self, f): 4926 '''KGlobalSettings.ActivateOptions KGlobalSettings.ActivateOptions.__xor__(KGlobalSettings.ActivateOptions f)''' 4927 return KGlobalSettings.ActivateOptions() 4928 def __xor__(self, f): 4929 '''KGlobalSettings.ActivateOptions KGlobalSettings.ActivateOptions.__xor__(int f)''' 4930 return KGlobalSettings.ActivateOptions() 4931 def __or__(self, f): 4932 '''KGlobalSettings.ActivateOptions KGlobalSettings.ActivateOptions.__or__(KGlobalSettings.ActivateOptions f)''' 4933 return KGlobalSettings.ActivateOptions() 4934 def __or__(self, f): 4935 '''KGlobalSettings.ActivateOptions KGlobalSettings.ActivateOptions.__or__(int f)''' 4936 return KGlobalSettings.ActivateOptions() 4937 def __int__(self): 4938 '''int KGlobalSettings.ActivateOptions.__int__()''' 4939 return int() 4940 def __ixor__(self, f): 4941 '''KGlobalSettings.ActivateOptions KGlobalSettings.ActivateOptions.__ixor__(KGlobalSettings.ActivateOptions f)''' 4942 return KGlobalSettings.ActivateOptions() 4943 def __ior__(self, f): 4944 '''KGlobalSettings.ActivateOptions KGlobalSettings.ActivateOptions.__ior__(KGlobalSettings.ActivateOptions f)''' 4945 return KGlobalSettings.ActivateOptions() 4946 def __iand__(self, mask): 4947 '''KGlobalSettings.ActivateOptions KGlobalSettings.ActivateOptions.__iand__(int mask)''' 4948 return KGlobalSettings.ActivateOptions() 4949 class KMouseSettings(): 4950 """""" 4951 RightHanded = None # int - member 4952 LeftHanded = None # int - member 4953 handed = None # int - member 4954 def __init__(self): 4955 '''void KGlobalSettings.KMouseSettings.__init__()''' 4956 def __init__(self): 4957 '''KGlobalSettings.KMouseSettings KGlobalSettings.KMouseSettings.__init__()''' 4958 return KGlobalSettings.KMouseSettings() 4959 4960 4961class KGlobalShortcutInfo(QObject): 4962 """""" 4963 def __init__(self): 4964 '''void KGlobalShortcutInfo.__init__()''' 4965 def __init__(self, rhs): 4966 '''void KGlobalShortcutInfo.__init__(KGlobalShortcutInfo rhs)''' 4967 def uniqueName(self): 4968 '''QString KGlobalShortcutInfo.uniqueName()''' 4969 return QString() 4970 def keys(self): 4971 '''list-of-QKeySequence KGlobalShortcutInfo.keys()''' 4972 return [QKeySequence()] 4973 def friendlyName(self): 4974 '''QString KGlobalShortcutInfo.friendlyName()''' 4975 return QString() 4976 def defaultKeys(self): 4977 '''list-of-QKeySequence KGlobalShortcutInfo.defaultKeys()''' 4978 return [QKeySequence()] 4979 def componentUniqueName(self): 4980 '''QString KGlobalShortcutInfo.componentUniqueName()''' 4981 return QString() 4982 def componentFriendlyName(self): 4983 '''QString KGlobalShortcutInfo.componentFriendlyName()''' 4984 return QString() 4985 def contextUniqueName(self): 4986 '''QString KGlobalShortcutInfo.contextUniqueName()''' 4987 return QString() 4988 def contextFriendlyName(self): 4989 '''QString KGlobalShortcutInfo.contextFriendlyName()''' 4990 return QString() 4991 4992 4993class KGuiItem(): 4994 """""" 4995 def __init__(self): 4996 '''void KGuiItem.__init__()''' 4997 def __init__(self, text, iconName = QString(), toolTip = QString(), whatsThis = QString()): 4998 '''void KGuiItem.__init__(QString text, QString iconName = QString(), QString toolTip = QString(), QString whatsThis = QString())''' 4999 def __init__(self, text, icon, toolTip = QString(), whatsThis = QString()): 5000 '''void KGuiItem.__init__(QString text, KIcon icon, QString toolTip = QString(), QString whatsThis = QString())''' 5001 def __init__(self, rhs): 5002 '''void KGuiItem.__init__(KGuiItem rhs)''' 5003 def setEnabled(self, enable): 5004 '''void KGuiItem.setEnabled(bool enable)''' 5005 def setWhatsThis(self, whatsThis): 5006 '''void KGuiItem.setWhatsThis(QString whatsThis)''' 5007 def setToolTip(self, tooltip): 5008 '''void KGuiItem.setToolTip(QString tooltip)''' 5009 def setIconName(self, iconName): 5010 '''void KGuiItem.setIconName(QString iconName)''' 5011 def setIcon(self, iconset): 5012 '''void KGuiItem.setIcon(KIcon iconset)''' 5013 def setText(self, text): 5014 '''void KGuiItem.setText(QString text)''' 5015 def hasIconSet(self): 5016 '''bool KGuiItem.hasIconSet()''' 5017 return bool() 5018 def hasIcon(self): 5019 '''bool KGuiItem.hasIcon()''' 5020 return bool() 5021 def isEnabled(self): 5022 '''bool KGuiItem.isEnabled()''' 5023 return bool() 5024 def whatsThis(self): 5025 '''QString KGuiItem.whatsThis()''' 5026 return QString() 5027 def toolTip(self): 5028 '''QString KGuiItem.toolTip()''' 5029 return QString() 5030 def iconName(self): 5031 '''QString KGuiItem.iconName()''' 5032 return QString() 5033 def icon(self): 5034 '''KIcon KGuiItem.icon()''' 5035 return KIcon() 5036 def plainText(self): 5037 '''QString KGuiItem.plainText()''' 5038 return QString() 5039 def text(self): 5040 '''QString KGuiItem.text()''' 5041 return QString() 5042 5043 5044class KHBox(QFrame): 5045 """""" 5046 def __init__(self, parent = None): 5047 '''void KHBox.__init__(QWidget parent = None)''' 5048 def __init__(self, vertical, parent): 5049 '''void KHBox.__init__(bool vertical, QWidget parent)''' 5050 def childEvent(self, ev): 5051 '''void KHBox.childEvent(QChildEvent ev)''' 5052 def minimumSizeHint(self): 5053 '''QSize KHBox.minimumSizeHint()''' 5054 return QSize() 5055 def sizeHint(self): 5056 '''QSize KHBox.sizeHint()''' 5057 return QSize() 5058 def setStretchFactor(self, widget, stretch): 5059 '''void KHBox.setStretchFactor(QWidget widget, int stretch)''' 5060 def setSpacing(self, space): 5061 '''void KHBox.setSpacing(int space)''' 5062 def setMargin(self, margin): 5063 '''void KHBox.setMargin(int margin)''' 5064 5065 5066class KHelpMenu(QObject): 5067 """""" 5068 # Enum KHelpMenu.MenuId 5069 menuHelpContents = 0 5070 menuWhatsThis = 0 5071 menuAboutApp = 0 5072 menuAboutKDE = 0 5073 menuReportBug = 0 5074 menuSwitchLanguage = 0 5075 5076 def __init__(self, parent = None, aboutAppText = QString(), showWhatsThis = True): 5077 '''void KHelpMenu.__init__(QWidget parent = None, QString aboutAppText = QString(), bool showWhatsThis = True)''' 5078 def __init__(self, parent, aboutData, showWhatsThis = True, actions = None): 5079 '''void KHelpMenu.__init__(QWidget parent, KAboutData aboutData, bool showWhatsThis = True, KActionCollection actions = None)''' 5080 showAboutApplication = pyqtSignal() # void showAboutApplication() - signal 5081 def switchApplicationLanguage(self): 5082 '''void KHelpMenu.switchApplicationLanguage()''' 5083 def reportBug(self): 5084 '''void KHelpMenu.reportBug()''' 5085 def aboutKDE(self): 5086 '''void KHelpMenu.aboutKDE()''' 5087 def aboutApplication(self): 5088 '''void KHelpMenu.aboutApplication()''' 5089 def contextHelpActivated(self): 5090 '''void KHelpMenu.contextHelpActivated()''' 5091 def appHelpActivated(self): 5092 '''void KHelpMenu.appHelpActivated()''' 5093 def action(self, id): 5094 '''QAction KHelpMenu.action(KHelpMenu.MenuId id)''' 5095 return QAction() 5096 def menu(self): 5097 '''KMenu KHelpMenu.menu()''' 5098 return KMenu() 5099 5100 5101class KHistoryComboBox(KComboBox): 5102 """""" 5103 def __init__(self, parent = None): 5104 '''void KHistoryComboBox.__init__(QWidget parent = None)''' 5105 def __init__(self, useCompletion, parent = None): 5106 '''void KHistoryComboBox.__init__(bool useCompletion, QWidget parent = None)''' 5107 def useCompletion(self): 5108 '''bool KHistoryComboBox.useCompletion()''' 5109 return bool() 5110 def insertItems(self, items): 5111 '''void KHistoryComboBox.insertItems(QStringList items)''' 5112 def wheelEvent(self, ev): 5113 '''void KHistoryComboBox.wheelEvent(QWheelEvent ev)''' 5114 def keyPressEvent(self): 5115 '''QKeyEvent KHistoryComboBox.keyPressEvent()''' 5116 return QKeyEvent() 5117 cleared = pyqtSignal() # void cleared() - signal 5118 def clearHistory(self): 5119 '''void KHistoryComboBox.clearHistory()''' 5120 def addToHistory(self, item): 5121 '''void KHistoryComboBox.addToHistory(QString item)''' 5122 def reset(self): 5123 '''void KHistoryComboBox.reset()''' 5124 def pixmapProvider(self): 5125 '''KPixmapProvider KHistoryComboBox.pixmapProvider()''' 5126 return KPixmapProvider() 5127 def setPixmapProvider(self, prov): 5128 '''void KHistoryComboBox.setPixmapProvider(KPixmapProvider prov)''' 5129 def removeFromHistory(self, item): 5130 '''bool KHistoryComboBox.removeFromHistory(QString item)''' 5131 return bool() 5132 def historyItems(self): 5133 '''QStringList KHistoryComboBox.historyItems()''' 5134 return QStringList() 5135 def setHistoryItems(self, items): 5136 '''void KHistoryComboBox.setHistoryItems(QStringList items)''' 5137 def setHistoryItems(self, items, setCompletionList): 5138 '''void KHistoryComboBox.setHistoryItems(QStringList items, bool setCompletionList)''' 5139 5140 5141class KXYSelector(QWidget): 5142 """""" 5143 def __init__(self, parent = None): 5144 '''void KXYSelector.__init__(QWidget parent = None)''' 5145 def valuesFromPosition(self, x, y, xVal, yVal): 5146 '''void KXYSelector.valuesFromPosition(int x, int y, int xVal, int yVal)''' 5147 def wheelEvent(self): 5148 '''QWheelEvent KXYSelector.wheelEvent()''' 5149 return QWheelEvent() 5150 def mouseMoveEvent(self, e): 5151 '''void KXYSelector.mouseMoveEvent(QMouseEvent e)''' 5152 def mousePressEvent(self, e): 5153 '''void KXYSelector.mousePressEvent(QMouseEvent e)''' 5154 def paintEvent(self, e): 5155 '''void KXYSelector.paintEvent(QPaintEvent e)''' 5156 def drawMarker(self, p, xp, yp): 5157 '''void KXYSelector.drawMarker(QPainter p, int xp, int yp)''' 5158 def drawContents(self): 5159 '''QPainter KXYSelector.drawContents()''' 5160 return QPainter() 5161 valueChanged = pyqtSignal() # void valueChanged(int,int) - signal 5162 def minimumSizeHint(self): 5163 '''QSize KXYSelector.minimumSizeHint()''' 5164 return QSize() 5165 def contentsRect(self): 5166 '''QRect KXYSelector.contentsRect()''' 5167 return QRect() 5168 def yValue(self): 5169 '''int KXYSelector.yValue()''' 5170 return int() 5171 def xValue(self): 5172 '''int KXYSelector.xValue()''' 5173 return int() 5174 def setMarkerColor(self, col): 5175 '''void KXYSelector.setMarkerColor(QColor col)''' 5176 def setRange(self, minX, minY, maxX, maxY): 5177 '''void KXYSelector.setRange(int minX, int minY, int maxX, int maxY)''' 5178 def setYValue(self, yPos): 5179 '''void KXYSelector.setYValue(int yPos)''' 5180 def setXValue(self, xPos): 5181 '''void KXYSelector.setXValue(int xPos)''' 5182 def setValues(self, xPos, yPos): 5183 '''void KXYSelector.setValues(int xPos, int yPos)''' 5184 5185 5186class KHueSaturationSelector(KXYSelector): 5187 """""" 5188 def __init__(self, parent = None): 5189 '''void KHueSaturationSelector.__init__(QWidget parent = None)''' 5190 def drawContents(self, painter): 5191 '''void KHueSaturationSelector.drawContents(QPainter painter)''' 5192 def resizeEvent(self): 5193 '''QResizeEvent KHueSaturationSelector.resizeEvent()''' 5194 return QResizeEvent() 5195 def drawPalette(self, pixmap): 5196 '''void KHueSaturationSelector.drawPalette(QPixmap pixmap)''' 5197 def updateContents(self): 5198 '''void KHueSaturationSelector.updateContents()''' 5199 def setColorValue(self, colorValue): 5200 '''void KHueSaturationSelector.setColorValue(int colorValue)''' 5201 def colorValue(self): 5202 '''int KHueSaturationSelector.colorValue()''' 5203 return int() 5204 def setSaturation(self, saturation): 5205 '''void KHueSaturationSelector.setSaturation(int saturation)''' 5206 def saturation(self): 5207 '''int KHueSaturationSelector.saturation()''' 5208 return int() 5209 def setHue(self, hue): 5210 '''void KHueSaturationSelector.setHue(int hue)''' 5211 def hue(self): 5212 '''int KHueSaturationSelector.hue()''' 5213 return int() 5214 def chooserMode(self): 5215 '''KColorChooserMode KHueSaturationSelector.chooserMode()''' 5216 return KColorChooserMode() 5217 def setChooserMode(self, chooserMode): 5218 '''void KHueSaturationSelector.setChooserMode(KColorChooserMode chooserMode)''' 5219 5220 5221class KIcon(QIcon): 5222 """""" 5223 def __init__(self, iconName, iconLoader, overlays): 5224 '''void KIcon.__init__(QString iconName, KIconLoader iconLoader, QStringList overlays)''' 5225 def __init__(self, iconName, iconLoader): 5226 '''void KIcon.__init__(QString iconName, KIconLoader iconLoader)''' 5227 def __init__(self, iconName): 5228 '''void KIcon.__init__(QString iconName)''' 5229 def __init__(self, copy): 5230 '''void KIcon.__init__(QIcon copy)''' 5231 def __init__(self): 5232 '''void KIcon.__init__()''' 5233 def __init__(self): 5234 '''KIcon KIcon.__init__()''' 5235 return KIcon() 5236 5237 5238class KPixmapCache(): 5239 """""" 5240 # Enum KPixmapCache.RemoveStrategy 5241 RemoveOldest = 0 5242 RemoveSeldomUsed = 0 5243 RemoveLeastRecentlyUsed = 0 5244 5245 def __init__(self, name): 5246 '''void KPixmapCache.__init__(QString name)''' 5247 def recreateCacheFiles(self): 5248 '''bool KPixmapCache.recreateCacheFiles()''' 5249 return bool() 5250 def setValid(self, valid): 5251 '''void KPixmapCache.setValid(bool valid)''' 5252 def writeCustomIndexHeader(self, stream): 5253 '''void KPixmapCache.writeCustomIndexHeader(QDataStream stream)''' 5254 def loadCustomIndexHeader(self, stream): 5255 '''bool KPixmapCache.loadCustomIndexHeader(QDataStream stream)''' 5256 return bool() 5257 def writeCustomData(self, stream): 5258 '''bool KPixmapCache.writeCustomData(QDataStream stream)''' 5259 return bool() 5260 def loadCustomData(self, stream): 5261 '''bool KPixmapCache.loadCustomData(QDataStream stream)''' 5262 return bool() 5263 def ensureInited(self): 5264 '''void KPixmapCache.ensureInited()''' 5265 def removeEntries(self, newsize = 0): 5266 '''void KPixmapCache.removeEntries(int newsize = 0)''' 5267 def discard(self): 5268 '''void KPixmapCache.discard()''' 5269 def deleteCache(self, name): 5270 '''static void KPixmapCache.deleteCache(QString name)''' 5271 def isValid(self): 5272 '''bool KPixmapCache.isValid()''' 5273 return bool() 5274 def isEnabled(self): 5275 '''bool KPixmapCache.isEnabled()''' 5276 return bool() 5277 def setRemoveEntryStrategy(self, strategy): 5278 '''void KPixmapCache.setRemoveEntryStrategy(KPixmapCache.RemoveStrategy strategy)''' 5279 def removeEntryStrategy(self): 5280 '''KPixmapCache.RemoveStrategy KPixmapCache.removeEntryStrategy()''' 5281 return KPixmapCache.RemoveStrategy() 5282 def setCacheLimit(self, kbytes): 5283 '''void KPixmapCache.setCacheLimit(int kbytes)''' 5284 def cacheLimit(self): 5285 '''int KPixmapCache.cacheLimit()''' 5286 return int() 5287 def size(self): 5288 '''int KPixmapCache.size()''' 5289 return int() 5290 def useQPixmapCache(self): 5291 '''bool KPixmapCache.useQPixmapCache()''' 5292 return bool() 5293 def setUseQPixmapCache(self, use): 5294 '''void KPixmapCache.setUseQPixmapCache(bool use)''' 5295 def setTimestamp(self, time): 5296 '''void KPixmapCache.setTimestamp(int time)''' 5297 def timestamp(self): 5298 '''int KPixmapCache.timestamp()''' 5299 return int() 5300 def loadFromSvg(self, filename, size = QSize()): 5301 '''QPixmap KPixmapCache.loadFromSvg(QString filename, QSize size = QSize())''' 5302 return QPixmap() 5303 def loadFromFile(self, filename): 5304 '''QPixmap KPixmapCache.loadFromFile(QString filename)''' 5305 return QPixmap() 5306 def insert(self, key, pix): 5307 '''void KPixmapCache.insert(QString key, QPixmap pix)''' 5308 def find(self, key, pix): 5309 '''bool KPixmapCache.find(QString key, QPixmap pix)''' 5310 return bool() 5311 5312 5313class KIconCache(KPixmapCache): 5314 """""" 5315 def __init__(self): 5316 '''void KIconCache.__init__()''' 5317 def mostRecentMTime(self, dirNames): 5318 '''int KIconCache.mostRecentMTime(list-of-QString dirNames)''' 5319 return int() 5320 def existingIconThemeDirs(self, themeNames): 5321 '''list-of-QString KIconCache.existingIconThemeDirs(QStringList themeNames)''' 5322 return [QString()] 5323 def writeCustomData(self, stream): 5324 '''bool KIconCache.writeCustomData(QDataStream stream)''' 5325 return bool() 5326 def loadCustomData(self, stream): 5327 '''bool KIconCache.loadCustomData(QDataStream stream)''' 5328 return bool() 5329 def writeCustomIndexHeader(self, stream): 5330 '''void KIconCache.writeCustomIndexHeader(QDataStream stream)''' 5331 def loadCustomIndexHeader(self, stream): 5332 '''bool KIconCache.loadCustomIndexHeader(QDataStream stream)''' 5333 return bool() 5334 def setThemeInfo(self, themes): 5335 '''void KIconCache.setThemeInfo(list-of-KIconTheme themes)''' 5336 def defaultIconSize(self, group): 5337 '''int KIconCache.defaultIconSize(KIconLoader.Group group)''' 5338 return int() 5339 def deleteCache(self): 5340 '''static void KIconCache.deleteCache()''' 5341 def insert(self, key, pix, path): 5342 '''void KIconCache.insert(QString key, QPixmap pix, QString path)''' 5343 def insert(self, key, pix): 5344 '''void KIconCache.insert(QString key, QPixmap pix)''' 5345 def find(self, key, pix, path): 5346 '''bool KIconCache.find(QString key, QPixmap pix, QString path)''' 5347 return bool() 5348 def find(self, key, pix): 5349 '''bool KIconCache.find(QString key, QPixmap pix)''' 5350 return bool() 5351 5352 5353class KIconEffect(): 5354 """""" 5355 # Enum KIconEffect.Effects 5356 NoEffect = 0 5357 ToGray = 0 5358 Colorize = 0 5359 ToGamma = 0 5360 DeSaturate = 0 5361 ToMonochrome = 0 5362 LastEffect = 0 5363 5364 def __init__(self): 5365 '''void KIconEffect.__init__()''' 5366 def overlay(self, src, overlay): 5367 '''static void KIconEffect.overlay(QImage src, QImage overlay)''' 5368 def semiTransparent(self, image): 5369 '''static void KIconEffect.semiTransparent(QImage image)''' 5370 def semiTransparent(self, pixmap): 5371 '''static void KIconEffect.semiTransparent(QPixmap pixmap)''' 5372 def toGamma(self, image, value): 5373 '''static void KIconEffect.toGamma(QImage image, float value)''' 5374 def deSaturate(self, image, value): 5375 '''static void KIconEffect.deSaturate(QImage image, float value)''' 5376 def toMonochrome(self, image, black, white, value): 5377 '''static void KIconEffect.toMonochrome(QImage image, QColor black, QColor white, float value)''' 5378 def colorize(self, image, col, value): 5379 '''static void KIconEffect.colorize(QImage image, QColor col, float value)''' 5380 def toGray(self, image, value): 5381 '''static void KIconEffect.toGray(QImage image, float value)''' 5382 def doublePixels(self, src): 5383 '''QImage KIconEffect.doublePixels(QImage src)''' 5384 return QImage() 5385 def apply(self, src, group, state): 5386 '''QImage KIconEffect.apply(QImage src, int group, int state)''' 5387 return QImage() 5388 def apply(self, src, effect, value, rgb, trans): 5389 '''QImage KIconEffect.apply(QImage src, int effect, float value, QColor rgb, bool trans)''' 5390 return QImage() 5391 def apply(self, src, effect, value, rgb, rgb2, trans): 5392 '''QImage KIconEffect.apply(QImage src, int effect, float value, QColor rgb, QColor rgb2, bool trans)''' 5393 return QImage() 5394 def apply(self, src, group, state): 5395 '''QPixmap KIconEffect.apply(QPixmap src, int group, int state)''' 5396 return QPixmap() 5397 def apply(self, src, effect, value, rgb, trans): 5398 '''QPixmap KIconEffect.apply(QPixmap src, int effect, float value, QColor rgb, bool trans)''' 5399 return QPixmap() 5400 def apply(self, src, effect, value, rgb, rgb2, trans): 5401 '''QPixmap KIconEffect.apply(QPixmap src, int effect, float value, QColor rgb, QColor rgb2, bool trans)''' 5402 return QPixmap() 5403 def fingerprint(self, group, state): 5404 '''QString KIconEffect.fingerprint(int group, int state)''' 5405 return QString() 5406 def hasEffect(self, group, state): 5407 '''bool KIconEffect.hasEffect(int group, int state)''' 5408 return bool() 5409 def init(self): 5410 '''void KIconEffect.init()''' 5411 5412 5413class KIconLoader(QObject): 5414 """""" 5415 # Enum KIconLoader.States 5416 DefaultState = 0 5417 ActiveState = 0 5418 DisabledState = 0 5419 LastState = 0 5420 5421 # Enum KIconLoader.StdSizes 5422 SizeSmall = 0 5423 SizeSmallMedium = 0 5424 SizeMedium = 0 5425 SizeLarge = 0 5426 SizeHuge = 0 5427 SizeEnormous = 0 5428 5429 # Enum KIconLoader.Group 5430 NoGroup = 0 5431 Desktop = 0 5432 FirstGroup = 0 5433 Toolbar = 0 5434 MainToolbar = 0 5435 Small = 0 5436 Panel = 0 5437 Dialog = 0 5438 LastGroup = 0 5439 User = 0 5440 5441 # Enum KIconLoader.MatchType 5442 MatchExact = 0 5443 MatchBest = 0 5444 5445 # Enum KIconLoader.Type 5446 Fixed = 0 5447 Scalable = 0 5448 Threshold = 0 5449 5450 # Enum KIconLoader.Context 5451 Any = 0 5452 Action = 0 5453 Application = 0 5454 Device = 0 5455 FileSystem = 0 5456 MimeType = 0 5457 Animation = 0 5458 Category = 0 5459 Emblem = 0 5460 Emote = 0 5461 International = 0 5462 Place = 0 5463 StatusIcon = 0 5464 5465 def __init__(self, appname = QString(), dirs = None, parent = None): 5466 '''void KIconLoader.__init__(QString appname = QString(), KStandardDirs dirs = None, QObject parent = None)''' 5467 def __init__(self, componentData, parent = None): 5468 '''void KIconLoader.__init__(KComponentData componentData, QObject parent = None)''' 5469 def drawOverlays(self, overlays, pixmap, group, state = None): 5470 '''void KIconLoader.drawOverlays(QStringList overlays, QPixmap pixmap, KIconLoader.Group group, int state = KIconLoader.DefaultState)''' 5471 iconLoaderSettingsChanged = pyqtSignal() # void iconLoaderSettingsChanged() - signal 5472 def newIconLoader(self): 5473 '''void KIconLoader.newIconLoader()''' 5474 def extraDesktopThemesAdded(self): 5475 '''bool KIconLoader.extraDesktopThemesAdded()''' 5476 return bool() 5477 def addExtraDesktopThemes(self): 5478 '''void KIconLoader.addExtraDesktopThemes()''' 5479 def unknown(self): 5480 '''static QPixmap KIconLoader.unknown()''' 5481 return QPixmap() 5482 def reconfigure(self, _appname, _dirs): 5483 '''void KIconLoader.reconfigure(QString _appname, KStandardDirs _dirs)''' 5484 def iconEffect(self): 5485 '''KIconEffect KIconLoader.iconEffect()''' 5486 return KIconEffect() 5487 def theme(self): 5488 '''KIconTheme KIconLoader.theme()''' 5489 return KIconTheme() 5490 def queryIconsByDir(self, iconsDir): 5491 '''QStringList KIconLoader.queryIconsByDir(QString iconsDir)''' 5492 return QStringList() 5493 def iconPath(self, name, group_or_size, canReturnNull = False): 5494 '''QString KIconLoader.iconPath(QString name, int group_or_size, bool canReturnNull = False)''' 5495 return QString() 5496 def loadMimeTypeIcon(self, iconName, group, size = 0, state = None, overlays = QStringList(), path_store = None): 5497 '''QPixmap KIconLoader.loadMimeTypeIcon(QString iconName, KIconLoader.Group group, int size = 0, int state = KIconLoader.DefaultState, QStringList overlays = QStringList(), QString path_store = None)''' 5498 return QPixmap() 5499 def loadIcon(self, name, group, size = 0, state = None, overlays = QStringList(), path_store = None, canReturnNull = False): 5500 '''QPixmap KIconLoader.loadIcon(QString name, KIconLoader.Group group, int size = 0, int state = KIconLoader.DefaultState, QStringList overlays = QStringList(), QString path_store = None, bool canReturnNull = False)''' 5501 return QPixmap() 5502 def addAppDir(self, appname): 5503 '''void KIconLoader.addAppDir(QString appname)''' 5504 def global_(self): 5505 '''static KIconLoader KIconLoader.global_()''' 5506 return KIconLoader() 5507 5508 5509class KIconTheme(): 5510 """""" 5511 # Enum KIconTheme.ContextMenus 5512 TextEditor = 0 5513 ReadOnlyText = 0 5514 5515 def __init__(self, name, appName = QString()): 5516 '''void KIconTheme.__init__(QString name, QString appName = QString())''' 5517 def assignIconsToContextMenu(self, type, actions): 5518 '''static void KIconTheme.assignIconsToContextMenu(KIconTheme.ContextMenus type, list-of-QAction actions)''' 5519 def defaultThemeName(self): 5520 '''static QString KIconTheme.defaultThemeName()''' 5521 return QString() 5522 def reconfigure(self): 5523 '''static void KIconTheme.reconfigure()''' 5524 def current(self): 5525 '''static QString KIconTheme.current()''' 5526 return QString() 5527 def list(self): 5528 '''static QStringList KIconTheme.list()''' 5529 return QStringList() 5530 def depth(self): 5531 '''int KIconTheme.depth()''' 5532 return int() 5533 def isHidden(self): 5534 '''bool KIconTheme.isHidden()''' 5535 return bool() 5536 def isValid(self): 5537 '''bool KIconTheme.isValid()''' 5538 return bool() 5539 def inherits(self): 5540 '''QStringList KIconTheme.inherits()''' 5541 return QStringList() 5542 def dir(self): 5543 '''QString KIconTheme.dir()''' 5544 return QString() 5545 def screenshot(self): 5546 '''QString KIconTheme.screenshot()''' 5547 return QString() 5548 def example(self): 5549 '''QString KIconTheme.example()''' 5550 return QString() 5551 def description(self): 5552 '''QString KIconTheme.description()''' 5553 return QString() 5554 def internalName(self): 5555 '''QString KIconTheme.internalName()''' 5556 return QString() 5557 def name(self): 5558 '''QString KIconTheme.name()''' 5559 return QString() 5560 5561 5562class KInputDialog(): 5563 """""" 5564 def getDouble(self, caption, label, value = 0, minValue = None, maxValue = None, step = None, decimals = 1, ok = None, parent = None): 5565 '''static float KInputDialog.getDouble(QString caption, QString label, float value = 0, float minValue = -DBL_MAX, float maxValue = DBL_MAX, float step = 0.1, int decimals = 1, bool ok, QWidget parent = None)''' 5566 return float() 5567 def getItemList(self, caption, label, list = QStringList(), select = QStringList(), multiple = False, ok = None, parent = None): 5568 '''static QStringList KInputDialog.getItemList(QString caption, QString label, QStringList list = QStringList(), QStringList select = QStringList(), bool multiple = False, bool ok, QWidget parent = None)''' 5569 return QStringList() 5570 def getItem(self, caption, label, list, current = 0, editable = False, ok = None, parent = None): 5571 '''static QString KInputDialog.getItem(QString caption, QString label, QStringList list, int current = 0, bool editable = False, bool ok, QWidget parent = None)''' 5572 return QString() 5573 def getInteger(self, caption, label, value = 0, minValue = None, maxValue = None, step = 1, base = 10, ok = None, parent = None): 5574 '''static int KInputDialog.getInteger(QString caption, QString label, int value = 0, int minValue = INT_MIN, int maxValue = INT_MAX, int step = 1, int base = 10, bool ok, QWidget parent = None)''' 5575 return int() 5576 def getMultiLineText(self, caption, label, value = QString(), ok = None, parent = None): 5577 '''static QString KInputDialog.getMultiLineText(QString caption, QString label, QString value = QString(), bool ok, QWidget parent = None)''' 5578 return QString() 5579 def getText(self, caption, label, value = QString(), ok = None, parent = None, validator = None, mask = QString(), whatsThis = QString(), completionList = QStringList()): 5580 '''static QString KInputDialog.getText(QString caption, QString label, QString value = QString(), bool ok, QWidget parent = None, QValidator validator = None, QString mask = QString(), QString whatsThis = QString(), QStringList completionList = QStringList())''' 5581 return QString() 5582 5583 5584class KKeySequenceWidget(QWidget): 5585 """""" 5586 # Enum KKeySequenceWidget.ShortcutType 5587 __kdevpythondocumentation_builtin_None = 0 5588 LocalShortcuts = 0 5589 StandardShortcuts = 0 5590 GlobalShortcuts = 0 5591 5592 # Enum KKeySequenceWidget.Validation 5593 Validate = 0 5594 NoValidate = 0 5595 5596 def __init__(self, parent = None): 5597 '''void KKeySequenceWidget.__init__(QWidget parent = None)''' 5598 def applyStealShortcut(self): 5599 '''void KKeySequenceWidget.applyStealShortcut()''' 5600 def clearKeySequence(self): 5601 '''void KKeySequenceWidget.clearKeySequence()''' 5602 def setKeySequence(self, seq, val = None): 5603 '''void KKeySequenceWidget.setKeySequence(QKeySequence seq, KKeySequenceWidget.Validation val = KKeySequenceWidget.NoValidate)''' 5604 def captureKeySequence(self): 5605 '''void KKeySequenceWidget.captureKeySequence()''' 5606 stealShortcut = pyqtSignal() # void stealShortcut(const QKeySequenceamp;,KAction *) - signal 5607 keySequenceChanged = pyqtSignal() # void keySequenceChanged(const QKeySequenceamp;) - signal 5608 def setComponentName(self, componentName): 5609 '''void KKeySequenceWidget.setComponentName(QString componentName)''' 5610 def setCheckActionList(self, checkList): 5611 '''void KKeySequenceWidget.setCheckActionList(list-of-QAction checkList)''' 5612 def setCheckActionCollections(self, actionCollections): 5613 '''void KKeySequenceWidget.setCheckActionCollections(list-of-KActionCollection actionCollections)''' 5614 def keySequence(self): 5615 '''QKeySequence KKeySequenceWidget.keySequence()''' 5616 return QKeySequence() 5617 def isKeySequenceAvailable(self, seq): 5618 '''bool KKeySequenceWidget.isKeySequenceAvailable(QKeySequence seq)''' 5619 return bool() 5620 def setClearButtonShown(self, show): 5621 '''void KKeySequenceWidget.setClearButtonShown(bool show)''' 5622 def isModifierlessAllowed(self): 5623 '''bool KKeySequenceWidget.isModifierlessAllowed()''' 5624 return bool() 5625 def setModifierlessAllowed(self, allow): 5626 '''void KKeySequenceWidget.setModifierlessAllowed(bool allow)''' 5627 def multiKeyShortcutsAllowed(self): 5628 '''bool KKeySequenceWidget.multiKeyShortcutsAllowed()''' 5629 return bool() 5630 def setMultiKeyShortcutsAllowed(self): 5631 '''bool KKeySequenceWidget.setMultiKeyShortcutsAllowed()''' 5632 return bool() 5633 def checkForConflictsAgainst(self): 5634 '''KKeySequenceWidget.ShortcutTypes KKeySequenceWidget.checkForConflictsAgainst()''' 5635 return KKeySequenceWidget.ShortcutTypes() 5636 def setCheckForConflictsAgainst(self, types): 5637 '''void KKeySequenceWidget.setCheckForConflictsAgainst(KKeySequenceWidget.ShortcutTypes types)''' 5638 class ShortcutTypes(): 5639 """""" 5640 def __init__(self): 5641 '''KKeySequenceWidget.ShortcutTypes KKeySequenceWidget.ShortcutTypes.__init__()''' 5642 return KKeySequenceWidget.ShortcutTypes() 5643 def __init__(self): 5644 '''int KKeySequenceWidget.ShortcutTypes.__init__()''' 5645 return int() 5646 def __init__(self): 5647 '''void KKeySequenceWidget.ShortcutTypes.__init__()''' 5648 def __bool__(self): 5649 '''int KKeySequenceWidget.ShortcutTypes.__bool__()''' 5650 return int() 5651 def __ne__(self, f): 5652 '''bool KKeySequenceWidget.ShortcutTypes.__ne__(KKeySequenceWidget.ShortcutTypes f)''' 5653 return bool() 5654 def __eq__(self, f): 5655 '''bool KKeySequenceWidget.ShortcutTypes.__eq__(KKeySequenceWidget.ShortcutTypes f)''' 5656 return bool() 5657 def __invert__(self): 5658 '''KKeySequenceWidget.ShortcutTypes KKeySequenceWidget.ShortcutTypes.__invert__()''' 5659 return KKeySequenceWidget.ShortcutTypes() 5660 def __and__(self, mask): 5661 '''KKeySequenceWidget.ShortcutTypes KKeySequenceWidget.ShortcutTypes.__and__(int mask)''' 5662 return KKeySequenceWidget.ShortcutTypes() 5663 def __xor__(self, f): 5664 '''KKeySequenceWidget.ShortcutTypes KKeySequenceWidget.ShortcutTypes.__xor__(KKeySequenceWidget.ShortcutTypes f)''' 5665 return KKeySequenceWidget.ShortcutTypes() 5666 def __xor__(self, f): 5667 '''KKeySequenceWidget.ShortcutTypes KKeySequenceWidget.ShortcutTypes.__xor__(int f)''' 5668 return KKeySequenceWidget.ShortcutTypes() 5669 def __or__(self, f): 5670 '''KKeySequenceWidget.ShortcutTypes KKeySequenceWidget.ShortcutTypes.__or__(KKeySequenceWidget.ShortcutTypes f)''' 5671 return KKeySequenceWidget.ShortcutTypes() 5672 def __or__(self, f): 5673 '''KKeySequenceWidget.ShortcutTypes KKeySequenceWidget.ShortcutTypes.__or__(int f)''' 5674 return KKeySequenceWidget.ShortcutTypes() 5675 def __int__(self): 5676 '''int KKeySequenceWidget.ShortcutTypes.__int__()''' 5677 return int() 5678 def __ixor__(self, f): 5679 '''KKeySequenceWidget.ShortcutTypes KKeySequenceWidget.ShortcutTypes.__ixor__(KKeySequenceWidget.ShortcutTypes f)''' 5680 return KKeySequenceWidget.ShortcutTypes() 5681 def __ior__(self, f): 5682 '''KKeySequenceWidget.ShortcutTypes KKeySequenceWidget.ShortcutTypes.__ior__(KKeySequenceWidget.ShortcutTypes f)''' 5683 return KKeySequenceWidget.ShortcutTypes() 5684 def __iand__(self, mask): 5685 '''KKeySequenceWidget.ShortcutTypes KKeySequenceWidget.ShortcutTypes.__iand__(int mask)''' 5686 return KKeySequenceWidget.ShortcutTypes() 5687 5688 5689class KKeyServer(): 5690 """""" 5691 def modXToQt(self, modX, modQt): 5692 '''static bool KKeyServer.modXToQt(int modX, int modQt)''' 5693 return bool() 5694 def symXToKeyQt(self, sym, keyQt): 5695 '''static bool KKeyServer.symXToKeyQt(int sym, int keyQt)''' 5696 return bool() 5697 def keyQtToModX(self, keyQt, mod): 5698 '''static bool KKeyServer.keyQtToModX(int keyQt, int mod)''' 5699 return bool() 5700 def keyQtToCodeX(self, keyQt, keyCode): 5701 '''static bool KKeyServer.keyQtToCodeX(int keyQt, int keyCode)''' 5702 return bool() 5703 def keyQtToSymX(self, keyQt, sym): 5704 '''static bool KKeyServer.keyQtToSymX(int keyQt, int sym)''' 5705 return bool() 5706 def accelModMaskX(self): 5707 '''static int KKeyServer.accelModMaskX()''' 5708 return int() 5709 def modXModeSwitch(self): 5710 '''static int KKeyServer.modXModeSwitch()''' 5711 return int() 5712 def modXScrollLock(self): 5713 '''static int KKeyServer.modXScrollLock()''' 5714 return int() 5715 def modXNumLock(self): 5716 '''static int KKeyServer.modXNumLock()''' 5717 return int() 5718 def modXMeta(self): 5719 '''static int KKeyServer.modXMeta()''' 5720 return int() 5721 def modXAlt(self): 5722 '''static int KKeyServer.modXAlt()''' 5723 return int() 5724 def modXCtrl(self): 5725 '''static int KKeyServer.modXCtrl()''' 5726 return int() 5727 def modXLock(self): 5728 '''static int KKeyServer.modXLock()''' 5729 return int() 5730 def modXShift(self): 5731 '''static int KKeyServer.modXShift()''' 5732 return int() 5733 def keyboardHasMetaKey(self): 5734 '''static bool KKeyServer.keyboardHasMetaKey()''' 5735 return bool() 5736 def initializeMods(self): 5737 '''static bool KKeyServer.initializeMods()''' 5738 return bool() 5739 def isShiftAsModifierAllowed(self, keyQt): 5740 '''static bool KKeyServer.isShiftAsModifierAllowed(int keyQt)''' 5741 return bool() 5742 def stringUserToMod(self, mod): 5743 '''static int KKeyServer.stringUserToMod(QString mod)''' 5744 return int() 5745 def modToStringUser(self, mod): 5746 '''static QString KKeyServer.modToStringUser(int mod)''' 5747 return QString() 5748 5749 5750class KLanguageButton(QWidget): 5751 """""" 5752 def __init__(self, parent = None): 5753 '''void KLanguageButton.__init__(QWidget parent = None)''' 5754 def __init__(self, text, parent = None): 5755 '''void KLanguageButton.__init__(QString text, QWidget parent = None)''' 5756 highlighted = pyqtSignal() # void highlighted(const QStringamp;) - signal 5757 activated = pyqtSignal() # void activated(const QStringamp;) - signal 5758 def setCurrentItem(self, languageCode): 5759 '''void KLanguageButton.setCurrentItem(QString languageCode)''' 5760 def contains(self, languageCode): 5761 '''bool KLanguageButton.contains(QString languageCode)''' 5762 return bool() 5763 def current(self): 5764 '''QString KLanguageButton.current()''' 5765 return QString() 5766 def clear(self): 5767 '''void KLanguageButton.clear()''' 5768 def count(self): 5769 '''int KLanguageButton.count()''' 5770 return int() 5771 def insertSeparator(self, index = None): 5772 '''void KLanguageButton.insertSeparator(int index = -1)''' 5773 def insertLanguage(self, languageCode, name = QString(), index = None): 5774 '''void KLanguageButton.insertLanguage(QString languageCode, QString name = QString(), int index = -1)''' 5775 def loadAllLanguages(self): 5776 '''void KLanguageButton.loadAllLanguages()''' 5777 def showLanguageCodes(self, show): 5778 '''void KLanguageButton.showLanguageCodes(bool show)''' 5779 def setText(self, text): 5780 '''void KLanguageButton.setText(QString text)''' 5781 def setLocale(self, locale): 5782 '''void KLanguageButton.setLocale(KLocale locale)''' 5783 5784 5785class KLed(QWidget): 5786 """""" 5787 # Enum KLed.Look 5788 Flat = 0 5789 Raised = 0 5790 Sunken = 0 5791 5792 # Enum KLed.Shape 5793 Rectangular = 0 5794 Circular = 0 5795 5796 # Enum KLed.State 5797 Off = 0 5798 On = 0 5799 5800 def __init__(self, parent = None): 5801 '''void KLed.__init__(QWidget parent = None)''' 5802 def __init__(self, color, parent = None): 5803 '''void KLed.__init__(QColor color, QWidget parent = None)''' 5804 def __init__(self, color, state, look, shape, parent = None): 5805 '''void KLed.__init__(QColor color, KLed.State state, KLed.Look look, KLed.Shape shape, QWidget parent = None)''' 5806 def paintLed(self, shape, look): 5807 '''void KLed.paintLed(KLed.Shape shape, KLed.Look look)''' 5808 def updateCachedPixmap(self): 5809 '''void KLed.updateCachedPixmap()''' 5810 def resizeEvent(self): 5811 '''QResizeEvent KLed.resizeEvent()''' 5812 return QResizeEvent() 5813 def paintCachedPixmap(self): 5814 '''bool KLed.paintCachedPixmap()''' 5815 return bool() 5816 def paintEvent(self): 5817 '''QPaintEvent KLed.paintEvent()''' 5818 return QPaintEvent() 5819 def paintRectFrame(self, raised): 5820 '''void KLed.paintRectFrame(bool raised)''' 5821 def paintRect(self): 5822 '''void KLed.paintRect()''' 5823 def paintSunken(self): 5824 '''void KLed.paintSunken()''' 5825 def paintRaised(self): 5826 '''void KLed.paintRaised()''' 5827 def paintFlat(self): 5828 '''void KLed.paintFlat()''' 5829 def ledWidth(self): 5830 '''int KLed.ledWidth()''' 5831 return int() 5832 def off(self): 5833 '''void KLed.off()''' 5834 def on(self): 5835 '''void KLed.on()''' 5836 def toggle(self): 5837 '''void KLed.toggle()''' 5838 def minimumSizeHint(self): 5839 '''QSize KLed.minimumSizeHint()''' 5840 return QSize() 5841 def sizeHint(self): 5842 '''QSize KLed.sizeHint()''' 5843 return QSize() 5844 def setDarkFactor(self, darkFactor): 5845 '''void KLed.setDarkFactor(int darkFactor)''' 5846 def setShape(self, shape): 5847 '''void KLed.setShape(KLed.Shape shape)''' 5848 def setLook(self, look): 5849 '''void KLed.setLook(KLed.Look look)''' 5850 def setState(self, state): 5851 '''void KLed.setState(KLed.State state)''' 5852 def setColor(self, color): 5853 '''void KLed.setColor(QColor color)''' 5854 def darkFactor(self): 5855 '''int KLed.darkFactor()''' 5856 return int() 5857 def shape(self): 5858 '''KLed.Shape KLed.shape()''' 5859 return KLed.Shape() 5860 def look(self): 5861 '''KLed.Look KLed.look()''' 5862 return KLed.Look() 5863 def state(self): 5864 '''KLed.State KLed.state()''' 5865 return KLed.State() 5866 def color(self): 5867 '''QColor KLed.color()''' 5868 return QColor() 5869 5870 5871class KLineEdit(QLineEdit, KCompletionBase): 5872 """""" 5873 def __init__(self, string, parent = None): 5874 '''void KLineEdit.__init__(QString string, QWidget parent = None)''' 5875 def __init__(self, parent = None): 5876 '''void KLineEdit.__init__(QWidget parent = None)''' 5877 def focusOutEvent(self, ev): 5878 '''void KLineEdit.focusOutEvent(QFocusEvent ev)''' 5879 def focusInEvent(self, ev): 5880 '''void KLineEdit.focusInEvent(QFocusEvent ev)''' 5881 def paintEvent(self, ev): 5882 '''void KLineEdit.paintEvent(QPaintEvent ev)''' 5883 def autoSuggest(self): 5884 '''bool KLineEdit.autoSuggest()''' 5885 return bool() 5886 def create(self, initializeWindow = True, destroyOldWindow = True): 5887 '''int KLineEdit.create(bool initializeWindow = True, bool destroyOldWindow = True)''' 5888 return int() 5889 def setUserSelection(self, userSelection): 5890 '''void KLineEdit.setUserSelection(bool userSelection)''' 5891 def dropEvent(self): 5892 '''QDropEvent KLineEdit.dropEvent()''' 5893 return QDropEvent() 5894 def createStandardContextMenu(self): 5895 '''QMenu KLineEdit.createStandardContextMenu()''' 5896 return QMenu() 5897 def contextMenuEvent(self): 5898 '''QContextMenuEvent KLineEdit.contextMenuEvent()''' 5899 return QContextMenuEvent() 5900 def mouseDoubleClickEvent(self): 5901 '''QMouseEvent KLineEdit.mouseDoubleClickEvent()''' 5902 return QMouseEvent() 5903 def mouseReleaseEvent(self): 5904 '''QMouseEvent KLineEdit.mouseReleaseEvent()''' 5905 return QMouseEvent() 5906 def mousePressEvent(self): 5907 '''QMouseEvent KLineEdit.mousePressEvent()''' 5908 return QMouseEvent() 5909 def keyPressEvent(self): 5910 '''QKeyEvent KLineEdit.keyPressEvent()''' 5911 return QKeyEvent() 5912 def resizeEvent(self): 5913 '''QResizeEvent KLineEdit.resizeEvent()''' 5914 return QResizeEvent() 5915 def event(self): 5916 '''QEvent KLineEdit.event()''' 5917 return QEvent() 5918 def userCancelled(self, cancelText): 5919 '''void KLineEdit.userCancelled(QString cancelText)''' 5920 def makeCompletion(self): 5921 '''QString KLineEdit.makeCompletion()''' 5922 return QString() 5923 def passwordMode(self): 5924 '''bool KLineEdit.passwordMode()''' 5925 return bool() 5926 def setPasswordMode(self, b = True): 5927 '''void KLineEdit.setPasswordMode(bool b = True)''' 5928 def setText(self): 5929 '''QString KLineEdit.setText()''' 5930 return QString() 5931 def setSqueezedText(self, text): 5932 '''void KLineEdit.setSqueezedText(QString text)''' 5933 def clear(self): 5934 '''void KLineEdit.clear()''' 5935 def setCompletedItems(self, items, autoSuggest = True): 5936 '''void KLineEdit.setCompletedItems(QStringList items, bool autoSuggest = True)''' 5937 def setCompletedText(self): 5938 '''QString KLineEdit.setCompletedText()''' 5939 return QString() 5940 def setCompletedText(self): 5941 '''bool KLineEdit.setCompletedText()''' 5942 return bool() 5943 def rotateText(self, type): 5944 '''void KLineEdit.rotateText(KCompletionBase.KeyBindingType type)''' 5945 def setReadOnly(self): 5946 '''bool KLineEdit.setReadOnly()''' 5947 return bool() 5948 clearButtonClicked = pyqtSignal() # void clearButtonClicked() - signal 5949 aboutToShowContextMenu = pyqtSignal() # void aboutToShowContextMenu(QMenu *) - signal 5950 completionModeChanged = pyqtSignal() # void completionModeChanged(KGlobalSettings::Completion) - signal 5951 textRotation = pyqtSignal() # void textRotation(KCompletionBase::KeyBindingType) - signal 5952 userTextChanged = pyqtSignal() # void userTextChanged(const QStringamp;) - signal 5953 substringCompletion = pyqtSignal() # void substringCompletion(const QStringamp;) - signal 5954 completion = pyqtSignal() # void completion(const QStringamp;) - signal 5955 returnPressed = pyqtSignal() # void returnPressed(const QStringamp;) - signal 5956 completionBoxActivated = pyqtSignal() # void completionBoxActivated(const QStringamp;) - signal 5957 def doCompletion(self, txt): 5958 '''void KLineEdit.doCompletion(QString txt)''' 5959 def clearButtonUsedSize(self): 5960 '''QSize KLineEdit.clearButtonUsedSize()''' 5961 return QSize() 5962 def isClearButtonShown(self): 5963 '''bool KLineEdit.isClearButtonShown()''' 5964 return bool() 5965 def setClearButtonShown(self, show): 5966 '''void KLineEdit.setClearButtonShown(bool show)''' 5967 def clickMessage(self): 5968 '''QString KLineEdit.clickMessage()''' 5969 return QString() 5970 def setClickMessage(self, msg): 5971 '''void KLineEdit.setClickMessage(QString msg)''' 5972 def setCompletionBox(self, box): 5973 '''void KLineEdit.setCompletionBox(KCompletionBox box)''' 5974 def userText(self): 5975 '''QString KLineEdit.userText()''' 5976 return QString() 5977 def originalText(self): 5978 '''QString KLineEdit.originalText()''' 5979 return QString() 5980 def isSqueezedTextEnabled(self): 5981 '''bool KLineEdit.isSqueezedTextEnabled()''' 5982 return bool() 5983 def setSqueezedTextEnabled(self, enable): 5984 '''void KLineEdit.setSqueezedTextEnabled(bool enable)''' 5985 def copy(self): 5986 '''void KLineEdit.copy()''' 5987 def setCompletionObject(self, hsig = True): 5988 '''KCompletion KLineEdit.setCompletionObject(bool hsig = True)''' 5989 return KCompletion() 5990 def completionBox(self, create = True): 5991 '''KCompletionBox KLineEdit.completionBox(bool create = True)''' 5992 return KCompletionBox() 5993 def trapReturnKey(self): 5994 '''bool KLineEdit.trapReturnKey()''' 5995 return bool() 5996 def setTrapReturnKey(self, trap): 5997 '''void KLineEdit.setTrapReturnKey(bool trap)''' 5998 def urlDropsEnabled(self): 5999 '''bool KLineEdit.urlDropsEnabled()''' 6000 return bool() 6001 def setUrlDropsEnabled(self, enable): 6002 '''void KLineEdit.setUrlDropsEnabled(bool enable)''' 6003 def isContextMenuEnabled(self): 6004 '''bool KLineEdit.isContextMenuEnabled()''' 6005 return bool() 6006 def setContextMenuEnabled(self, showMenu): 6007 '''void KLineEdit.setContextMenuEnabled(bool showMenu)''' 6008 def setCompletionModeDisabled(self, mode, disable = True): 6009 '''void KLineEdit.setCompletionModeDisabled(KGlobalSettings.Completion mode, bool disable = True)''' 6010 def setCompletionMode(self, mode): 6011 '''void KLineEdit.setCompletionMode(KGlobalSettings.Completion mode)''' 6012 def setUrl(self, url): 6013 '''void KLineEdit.setUrl(KUrl url)''' 6014 6015 6016class KLinkItemSelectionModel(QItemSelectionModel): 6017 """""" 6018 def __init__(self, targetModel, linkedItemSelectionModel, parent = None): 6019 '''void KLinkItemSelectionModel.__init__(QAbstractItemModel targetModel, QItemSelectionModel linkedItemSelectionModel, QObject parent = None)''' 6020 def select(self, index, command): 6021 '''void KLinkItemSelectionModel.select(QModelIndex index, QItemSelectionModel.SelectionFlags command)''' 6022 def select(self, selection, command): 6023 '''void KLinkItemSelectionModel.select(QItemSelection selection, QItemSelectionModel.SelectionFlags command)''' 6024 6025 6026class KListWidgetSearchLine(KLineEdit): 6027 """""" 6028 def __init__(self, parent = None, listWidget = None): 6029 '''void KListWidgetSearchLine.__init__(QWidget parent = None, QListWidget listWidget = None)''' 6030 def event(self, event): 6031 '''bool KListWidgetSearchLine.event(QEvent event)''' 6032 return bool() 6033 def itemMatches(self, item, s): 6034 '''bool KListWidgetSearchLine.itemMatches(QListWidgetItem item, QString s)''' 6035 return bool() 6036 def clear(self): 6037 '''void KListWidgetSearchLine.clear()''' 6038 def setListWidget(self, lv): 6039 '''void KListWidgetSearchLine.setListWidget(QListWidget lv)''' 6040 def setCaseSensitivity(self, cs): 6041 '''void KListWidgetSearchLine.setCaseSensitivity(Qt.CaseSensitivity cs)''' 6042 def updateSearch(self, s = QString()): 6043 '''void KListWidgetSearchLine.updateSearch(QString s = QString())''' 6044 def listWidget(self): 6045 '''QListWidget KListWidgetSearchLine.listWidget()''' 6046 return QListWidget() 6047 def caseSensitive(self): 6048 '''Qt.CaseSensitivity KListWidgetSearchLine.caseSensitive()''' 6049 return Qt.CaseSensitivity() 6050 6051 6052class KMainWindow(QMainWindow): 6053 """""" 6054 def __init__(self, parent = None, f = 0): 6055 '''void KMainWindow.__init__(QWidget parent = None, Qt.WindowFlags f = 0)''' 6056 def saveAutoSaveSettings(self): 6057 '''void KMainWindow.saveAutoSaveSettings()''' 6058 def showAboutApplication(self): 6059 '''void KMainWindow.showAboutApplication()''' 6060 def parseGeometry(self, parsewidth): 6061 '''void KMainWindow.parseGeometry(bool parsewidth)''' 6062 def restoreWindowSize(self, config): 6063 '''void KMainWindow.restoreWindowSize(KConfigGroup config)''' 6064 def saveWindowSize(self, config): 6065 '''void KMainWindow.saveWindowSize(KConfigGroup config)''' 6066 def settingsDirty(self): 6067 '''bool KMainWindow.settingsDirty()''' 6068 return bool() 6069 def readPropertiesInternal(self): 6070 '''int KMainWindow.readPropertiesInternal()''' 6071 return int() 6072 def savePropertiesInternal(self): 6073 '''int KMainWindow.savePropertiesInternal()''' 6074 return int() 6075 def readGlobalProperties(self, sessionConfig): 6076 '''void KMainWindow.readGlobalProperties(KConfig sessionConfig)''' 6077 def saveGlobalProperties(self, sessionConfig): 6078 '''void KMainWindow.saveGlobalProperties(KConfig sessionConfig)''' 6079 def readProperties(self): 6080 '''KConfigGroup KMainWindow.readProperties()''' 6081 return KConfigGroup() 6082 def saveProperties(self): 6083 '''KConfigGroup KMainWindow.saveProperties()''' 6084 return KConfigGroup() 6085 def queryClose(self): 6086 '''bool KMainWindow.queryClose()''' 6087 return bool() 6088 def queryExit(self): 6089 '''bool KMainWindow.queryExit()''' 6090 return bool() 6091 def closeEvent(self): 6092 '''QCloseEvent KMainWindow.closeEvent()''' 6093 return QCloseEvent() 6094 def event(self, event): 6095 '''bool KMainWindow.event(QEvent event)''' 6096 return bool() 6097 def setSettingsDirty(self): 6098 '''void KMainWindow.setSettingsDirty()''' 6099 def appHelpActivated(self): 6100 '''void KMainWindow.appHelpActivated()''' 6101 def setPlainCaption(self, caption): 6102 '''void KMainWindow.setPlainCaption(QString caption)''' 6103 def setCaption(self, caption): 6104 '''void KMainWindow.setCaption(QString caption)''' 6105 def setCaption(self, caption, modified): 6106 '''void KMainWindow.setCaption(QString caption, bool modified)''' 6107 def dbusName(self): 6108 '''QString KMainWindow.dbusName()''' 6109 return QString() 6110 def ignoreInitialGeometry(self): 6111 '''void KMainWindow.ignoreInitialGeometry()''' 6112 def initialGeometrySet(self): 6113 '''bool KMainWindow.initialGeometrySet()''' 6114 return bool() 6115 def saveMainWindowSettings(self, config): 6116 '''void KMainWindow.saveMainWindowSettings(KConfigGroup config)''' 6117 def applyMainWindowSettings(self, config, forceGlobal = False): 6118 '''void KMainWindow.applyMainWindowSettings(KConfigGroup config, bool forceGlobal = False)''' 6119 def autoSaveConfigGroup(self): 6120 '''KConfigGroup KMainWindow.autoSaveConfigGroup()''' 6121 return KConfigGroup() 6122 def autoSaveGroup(self): 6123 '''QString KMainWindow.autoSaveGroup()''' 6124 return QString() 6125 def autoSaveSettings(self): 6126 '''bool KMainWindow.autoSaveSettings()''' 6127 return bool() 6128 def resetAutoSaveSettings(self): 6129 '''void KMainWindow.resetAutoSaveSettings()''' 6130 def setAutoSaveSettings(self, groupName = QLatin1StringMainWindow, saveWindowSize = True): 6131 '''void KMainWindow.setAutoSaveSettings(QString groupName = QLatin1StringMainWindow, bool saveWindowSize = True)''' 6132 def setAutoSaveSettings(self, group, saveWindowSize = True): 6133 '''void KMainWindow.setAutoSaveSettings(KConfigGroup group, bool saveWindowSize = True)''' 6134 def toolBars(self): 6135 '''list-of-KToolBar KMainWindow.toolBars()''' 6136 return [KToolBar()] 6137 def toolBar(self, name = QString()): 6138 '''KToolBar KMainWindow.toolBar(QString name = QString())''' 6139 return KToolBar() 6140 def memberList(self): 6141 '''static list-of-KMainWindow KMainWindow.memberList()''' 6142 return [KMainWindow()] 6143 def statusBar(self): 6144 '''KStatusBar KMainWindow.statusBar()''' 6145 return KStatusBar() 6146 def menuBar(self): 6147 '''KMenuBar KMainWindow.menuBar()''' 6148 return KMenuBar() 6149 def hasMenuBar(self): 6150 '''bool KMainWindow.hasMenuBar()''' 6151 return bool() 6152 def restore(self, number, show = True): 6153 '''bool KMainWindow.restore(int number, bool show = True)''' 6154 return bool() 6155 def classNameOfToplevel(self, number): 6156 '''static QString KMainWindow.classNameOfToplevel(int number)''' 6157 return QString() 6158 def canBeRestored(self, number): 6159 '''static bool KMainWindow.canBeRestored(int number)''' 6160 return bool() 6161 def customHelpMenu(self, showWhatsThis = True): 6162 '''KMenu KMainWindow.customHelpMenu(bool showWhatsThis = True)''' 6163 return KMenu() 6164 def helpMenu(self, aboutAppText = QString(), showWhatsThis = True): 6165 '''KMenu KMainWindow.helpMenu(QString aboutAppText = QString(), bool showWhatsThis = True)''' 6166 return KMenu() 6167 6168 6169class KSelectionOwner(QObject): 6170 """""" 6171 def __init__(self, selection, screen = None, parent = None): 6172 '''void KSelectionOwner.__init__(int selection, int screen = -1, QObject parent = None)''' 6173 def __init__(self, selection, screen = None, parent = None): 6174 '''void KSelectionOwner.__init__(str selection, int screen = -1, QObject parent = None)''' 6175 def setData(self, extra1, extra2): 6176 '''void KSelectionOwner.setData(int extra1, int extra2)''' 6177 def getAtoms(self): 6178 '''void KSelectionOwner.getAtoms()''' 6179 def replyTargets(self, property, requestor): 6180 '''void KSelectionOwner.replyTargets(int property, int requestor)''' 6181 def genericReply(self, target, property, requestor): 6182 '''bool KSelectionOwner.genericReply(int target, int property, int requestor)''' 6183 return bool() 6184 lostOwnership = pyqtSignal() # void lostOwnership() - signal 6185 def ownerWindow(self): 6186 '''int KSelectionOwner.ownerWindow()''' 6187 return int() 6188 def release(self): 6189 '''void KSelectionOwner.release()''' 6190 def claim(self, force, force_kill = True): 6191 '''bool KSelectionOwner.claim(bool force, bool force_kill = True)''' 6192 return bool() 6193 6194 6195class KSelectionWatcher(QObject): 6196 """""" 6197 def __init__(self, selection, screen = None, parent = None): 6198 '''void KSelectionWatcher.__init__(int selection, int screen = -1, QObject parent = None)''' 6199 def __init__(self, selection, screen = None, parent = None): 6200 '''void KSelectionWatcher.__init__(str selection, int screen = -1, QObject parent = None)''' 6201 lostOwner = pyqtSignal() # void lostOwner() - signal 6202 newOwner = pyqtSignal() # void newOwner(Window) - signal 6203 def owner(self): 6204 '''int KSelectionWatcher.owner()''' 6205 return int() 6206 6207 6208class KMenu(QMenu): 6209 """""" 6210 def __init__(self, parent = None): 6211 '''void KMenu.__init__(QWidget parent = None)''' 6212 def __init__(self, title, parent = None): 6213 '''void KMenu.__init__(QString title, QWidget parent = None)''' 6214 def hideEvent(self): 6215 '''QHideEvent KMenu.hideEvent()''' 6216 return QHideEvent() 6217 def contextMenuEvent(self, e): 6218 '''void KMenu.contextMenuEvent(QContextMenuEvent e)''' 6219 def focusNextPrevChild(self, next): 6220 '''bool KMenu.focusNextPrevChild(bool next)''' 6221 return bool() 6222 def mousePressEvent(self, e): 6223 '''void KMenu.mousePressEvent(QMouseEvent e)''' 6224 def mouseReleaseEvent(self, e): 6225 '''void KMenu.mouseReleaseEvent(QMouseEvent e)''' 6226 def keyPressEvent(self, e): 6227 '''void KMenu.keyPressEvent(QKeyEvent e)''' 6228 def closeEvent(self): 6229 '''QCloseEvent KMenu.closeEvent()''' 6230 return QCloseEvent() 6231 aboutToShowContextMenu = pyqtSignal() # void aboutToShowContextMenu(KMenu *,QAction *,QMenu *) - signal 6232 def keyboardModifiers(self): 6233 '''Qt.KeyboardModifiers KMenu.keyboardModifiers()''' 6234 return Qt.KeyboardModifiers() 6235 def mouseButtons(self): 6236 '''Qt.MouseButtons KMenu.mouseButtons()''' 6237 return Qt.MouseButtons() 6238 def contextMenuFocusAction(self): 6239 '''static QAction KMenu.contextMenuFocusAction()''' 6240 return QAction() 6241 def contextMenuFocus(self): 6242 '''static KMenu KMenu.contextMenuFocus()''' 6243 return KMenu() 6244 def hideContextMenu(self): 6245 '''void KMenu.hideContextMenu()''' 6246 def contextMenu(self): 6247 '''QMenu KMenu.contextMenu()''' 6248 return QMenu() 6249 def setKeyboardShortcutsExecute(self, enable): 6250 '''void KMenu.setKeyboardShortcutsExecute(bool enable)''' 6251 def setKeyboardShortcutsEnabled(self, enable): 6252 '''void KMenu.setKeyboardShortcutsEnabled(bool enable)''' 6253 def addTitle(self, text, before = None): 6254 '''QAction KMenu.addTitle(QString text, QAction before = None)''' 6255 return QAction() 6256 def addTitle(self, icon, text, before = None): 6257 '''QAction KMenu.addTitle(QIcon icon, QString text, QAction before = None)''' 6258 return QAction() 6259 6260 6261class KMenuBar(QMenuBar): 6262 """""" 6263 def __init__(self, parent = None): 6264 '''void KMenuBar.__init__(QWidget parent = None)''' 6265 def paintEvent(self): 6266 '''QPaintEvent KMenuBar.paintEvent()''' 6267 return QPaintEvent() 6268 def closeEvent(self): 6269 '''QCloseEvent KMenuBar.closeEvent()''' 6270 return QCloseEvent() 6271 def eventFilter(self): 6272 '''QEvent KMenuBar.eventFilter()''' 6273 return QEvent() 6274 def resizeEvent(self): 6275 '''QResizeEvent KMenuBar.resizeEvent()''' 6276 return QResizeEvent() 6277 def slotReadConfig(self): 6278 '''void KMenuBar.slotReadConfig()''' 6279 def sizeHint(self): 6280 '''QSize KMenuBar.sizeHint()''' 6281 return QSize() 6282 def setMargin(self): 6283 '''int KMenuBar.setMargin()''' 6284 return int() 6285 def setLineWidth(self): 6286 '''int KMenuBar.setLineWidth()''' 6287 return int() 6288 def setFrameStyle(self): 6289 '''int KMenuBar.setFrameStyle()''' 6290 return int() 6291 def resize(self, w, h): 6292 '''void KMenuBar.resize(int w, int h)''' 6293 def resize(self, s): 6294 '''void KMenuBar.resize(QSize s)''' 6295 def setGeometry(self, r): 6296 '''void KMenuBar.setGeometry(QRect r)''' 6297 def setGeometry(self, x, y, w, h): 6298 '''void KMenuBar.setGeometry(int x, int y, int w, int h)''' 6299 def isTopLevelMenu(self): 6300 '''bool KMenuBar.isTopLevelMenu()''' 6301 return bool() 6302 def setTopLevelMenu(self, top_level = True): 6303 '''void KMenuBar.setTopLevelMenu(bool top_level = True)''' 6304 6305 6306class KMessageBox(): 6307 """""" 6308 # Enum KMessageBox.Option 6309 Notify = 0 6310 AllowLink = 0 6311 Dangerous = 0 6312 PlainCaption = 0 6313 NoExec = 0 6314 WindowModal = 0 6315 6316 # Enum KMessageBox.DialogType 6317 QuestionYesNo = 0 6318 WarningYesNo = 0 6319 WarningContinueCancel = 0 6320 WarningYesNoCancel = 0 6321 Information = 0 6322 Sorry = 0 6323 Error = 0 6324 QuestionYesNoCancel = 0 6325 6326 # Enum KMessageBox.ButtonCode 6327 Ok = 0 6328 Cancel = 0 6329 Yes = 0 6330 No = 0 6331 Continue = 0 6332 6333 def __init__(self): 6334 '''void KMessageBox.__init__()''' 6335 def __init__(self): 6336 '''KMessageBox KMessageBox.__init__()''' 6337 return KMessageBox() 6338 def createKMessageBox(self, dialog, icon, text, strlist, ask, checkboxReturn, options, details = QString()): 6339 '''static int KMessageBox.createKMessageBox(KDialog dialog, QMessageBox.Icon icon, QString text, QStringList strlist, QString ask, bool checkboxReturn, KMessageBox.Options options, QString details = QString())''' 6340 return int() 6341 def createKMessageBox(self, dialog, icon, text, strlist, ask, checkboxReturn, options, details = QString(), notifyType = None): 6342 '''static int KMessageBox.createKMessageBox(KDialog dialog, QIcon icon, QString text, QStringList strlist, QString ask, bool checkboxReturn, KMessageBox.Options options, QString details = QString(), QMessageBox.Icon notifyType = QMessageBox.Information)''' 6343 return int() 6344 def setDontShowAskAgainConfig(self, cfg): 6345 '''static void KMessageBox.setDontShowAskAgainConfig(KConfig cfg)''' 6346 def saveDontShowAgainContinue(self, dontShowAgainName): 6347 '''static void KMessageBox.saveDontShowAgainContinue(QString dontShowAgainName)''' 6348 def saveDontShowAgainYesNo(self, dontShowAgainName, result): 6349 '''static void KMessageBox.saveDontShowAgainYesNo(QString dontShowAgainName, KMessageBox.ButtonCode result)''' 6350 def shouldBeShownContinue(self, dontShowAgainName): 6351 '''static bool KMessageBox.shouldBeShownContinue(QString dontShowAgainName)''' 6352 return bool() 6353 def shouldBeShownYesNo(self, dontShowAgainName, result): 6354 '''static bool KMessageBox.shouldBeShownYesNo(QString dontShowAgainName, KMessageBox.ButtonCode result)''' 6355 return bool() 6356 def queuedMessageBoxWId(self, parent_id, type, text, caption, options): 6357 '''static void KMessageBox.queuedMessageBoxWId(int parent_id, KMessageBox.DialogType type, QString text, QString caption, KMessageBox.Options options)''' 6358 def queuedMessageBoxWId(self, parent_id, type, text, caption = QString()): 6359 '''static void KMessageBox.queuedMessageBoxWId(int parent_id, KMessageBox.DialogType type, QString text, QString caption = QString())''' 6360 def queuedMessageBox(self, parent, type, text, caption, options): 6361 '''static void KMessageBox.queuedMessageBox(QWidget parent, KMessageBox.DialogType type, QString text, QString caption, KMessageBox.Options options)''' 6362 def queuedMessageBox(self, parent, type, text, caption = QString()): 6363 '''static void KMessageBox.queuedMessageBox(QWidget parent, KMessageBox.DialogType type, QString text, QString caption = QString())''' 6364 def messageBoxWId(self, parent_id, type, text, caption = QString(), buttonYes = None, buttonNo = None, buttonCancel = None, dontShowAskAgainName = QString(), options = None): 6365 '''static int KMessageBox.messageBoxWId(int parent_id, KMessageBox.DialogType type, QString text, QString caption = QString(), KGuiItem buttonYes = KStandardGuiItem.yes(), KGuiItem buttonNo = KStandardGuiItem.no(), KGuiItem buttonCancel = KStandardGuiItem.cancel(), QString dontShowAskAgainName = QString(), KMessageBox.Options options = KMessageBox.Notify)''' 6366 return int() 6367 def messageBox(self, parent, type, text, caption = QString(), buttonYes = None, buttonNo = None, buttonCancel = None, dontShowAskAgainName = QString(), options = None): 6368 '''static int KMessageBox.messageBox(QWidget parent, KMessageBox.DialogType type, QString text, QString caption = QString(), KGuiItem buttonYes = KStandardGuiItem.yes(), KGuiItem buttonNo = KStandardGuiItem.no(), KGuiItem buttonCancel = KStandardGuiItem.cancel(), QString dontShowAskAgainName = QString(), KMessageBox.Options options = KMessageBox.Notify)''' 6369 return int() 6370 def about(self, parent, text, caption = QString(), options = None): 6371 '''static void KMessageBox.about(QWidget parent, QString text, QString caption = QString(), KMessageBox.Options options = KMessageBox.Notify)''' 6372 def enableMessage(self, dontShowAgainName): 6373 '''static void KMessageBox.enableMessage(QString dontShowAgainName)''' 6374 def enableAllMessages(self): 6375 '''static void KMessageBox.enableAllMessages()''' 6376 def informationListWId(self, parent_id, text, strlist, caption = QString(), dontShowAgainName = QString(), options = None): 6377 '''static void KMessageBox.informationListWId(int parent_id, QString text, QStringList strlist, QString caption = QString(), QString dontShowAgainName = QString(), KMessageBox.Options options = KMessageBox.Notify)''' 6378 def informationList(self, parent, text, strlist, caption = QString(), dontShowAgainName = QString(), options = None): 6379 '''static void KMessageBox.informationList(QWidget parent, QString text, QStringList strlist, QString caption = QString(), QString dontShowAgainName = QString(), KMessageBox.Options options = KMessageBox.Notify)''' 6380 def informationWId(self, parent_id, text, caption = QString(), dontShowAgainName = QString(), options = None): 6381 '''static void KMessageBox.informationWId(int parent_id, QString text, QString caption = QString(), QString dontShowAgainName = QString(), KMessageBox.Options options = KMessageBox.Notify)''' 6382 def information(self, parent, text, caption = QString(), dontShowAgainName = QString(), options = None): 6383 '''static void KMessageBox.information(QWidget parent, QString text, QString caption = QString(), QString dontShowAgainName = QString(), KMessageBox.Options options = KMessageBox.Notify)''' 6384 def detailedSorryWId(self, parent_id, text, details, caption = QString(), options = None): 6385 '''static void KMessageBox.detailedSorryWId(int parent_id, QString text, QString details, QString caption = QString(), KMessageBox.Options options = KMessageBox.Notify)''' 6386 def detailedSorry(self, parent, text, details, caption = QString(), options = None): 6387 '''static void KMessageBox.detailedSorry(QWidget parent, QString text, QString details, QString caption = QString(), KMessageBox.Options options = KMessageBox.Notify)''' 6388 def sorryWId(self, parent_id, text, caption = QString(), options = None): 6389 '''static void KMessageBox.sorryWId(int parent_id, QString text, QString caption = QString(), KMessageBox.Options options = KMessageBox.Notify)''' 6390 def sorry(self, parent, text, caption = QString(), options = None): 6391 '''static void KMessageBox.sorry(QWidget parent, QString text, QString caption = QString(), KMessageBox.Options options = KMessageBox.Notify)''' 6392 def queuedDetailedErrorWId(self, parent_id, text, details, caption = QString()): 6393 '''static void KMessageBox.queuedDetailedErrorWId(int parent_id, QString text, QString details, QString caption = QString())''' 6394 def queuedDetailedError(self, parent, text, details, caption = QString()): 6395 '''static void KMessageBox.queuedDetailedError(QWidget parent, QString text, QString details, QString caption = QString())''' 6396 def detailedErrorWId(self, parent_id, text, details, caption = QString(), options = None): 6397 '''static void KMessageBox.detailedErrorWId(int parent_id, QString text, QString details, QString caption = QString(), KMessageBox.Options options = KMessageBox.Notify)''' 6398 def detailedError(self, parent, text, details, caption = QString(), options = None): 6399 '''static void KMessageBox.detailedError(QWidget parent, QString text, QString details, QString caption = QString(), KMessageBox.Options options = KMessageBox.Notify)''' 6400 def errorListWId(self, parent_id, text, strlist, caption = QString(), options = None): 6401 '''static void KMessageBox.errorListWId(int parent_id, QString text, QStringList strlist, QString caption = QString(), KMessageBox.Options options = KMessageBox.Notify)''' 6402 def errorList(self, parent, text, strlist, caption = QString(), options = None): 6403 '''static void KMessageBox.errorList(QWidget parent, QString text, QStringList strlist, QString caption = QString(), KMessageBox.Options options = KMessageBox.Notify)''' 6404 def errorWId(self, parent_id, text, caption = QString(), options = None): 6405 '''static void KMessageBox.errorWId(int parent_id, QString text, QString caption = QString(), KMessageBox.Options options = KMessageBox.Notify)''' 6406 def error(self, parent, text, caption = QString(), options = None): 6407 '''static void KMessageBox.error(QWidget parent, QString text, QString caption = QString(), KMessageBox.Options options = KMessageBox.Notify)''' 6408 def warningYesNoCancelListWId(self, parent_id, text, strlist, caption = QString(), buttonYes = None, buttonNo = None, buttonCancel = None, dontAskAgainName = QString(), options = None): 6409 '''static int KMessageBox.warningYesNoCancelListWId(int parent_id, QString text, QStringList strlist, QString caption = QString(), KGuiItem buttonYes = KStandardGuiItem.yes(), KGuiItem buttonNo = KStandardGuiItem.no(), KGuiItem buttonCancel = KStandardGuiItem.cancel(), QString dontAskAgainName = QString(), KMessageBox.Options options = KMessageBox.Notify)''' 6410 return int() 6411 def warningYesNoCancelList(self, parent, text, strlist, caption = QString(), buttonYes = None, buttonNo = None, buttonCancel = None, dontAskAgainName = QString(), options = None): 6412 '''static int KMessageBox.warningYesNoCancelList(QWidget parent, QString text, QStringList strlist, QString caption = QString(), KGuiItem buttonYes = KStandardGuiItem.yes(), KGuiItem buttonNo = KStandardGuiItem.no(), KGuiItem buttonCancel = KStandardGuiItem.cancel(), QString dontAskAgainName = QString(), KMessageBox.Options options = KMessageBox.Notify)''' 6413 return int() 6414 def warningYesNoCancelWId(self, parent_id, text, caption = QString(), buttonYes = None, buttonNo = None, buttonCancel = None, dontAskAgainName = QString(), options = None): 6415 '''static int KMessageBox.warningYesNoCancelWId(int parent_id, QString text, QString caption = QString(), KGuiItem buttonYes = KStandardGuiItem.yes(), KGuiItem buttonNo = KStandardGuiItem.no(), KGuiItem buttonCancel = KStandardGuiItem.cancel(), QString dontAskAgainName = QString(), KMessageBox.Options options = KMessageBox.Notify)''' 6416 return int() 6417 def warningYesNoCancel(self, parent, text, caption = QString(), buttonYes = None, buttonNo = None, buttonCancel = None, dontAskAgainName = QString(), options = None): 6418 '''static int KMessageBox.warningYesNoCancel(QWidget parent, QString text, QString caption = QString(), KGuiItem buttonYes = KStandardGuiItem.yes(), KGuiItem buttonNo = KStandardGuiItem.no(), KGuiItem buttonCancel = KStandardGuiItem.cancel(), QString dontAskAgainName = QString(), KMessageBox.Options options = KMessageBox.Notify)''' 6419 return int() 6420 def warningContinueCancelListWId(self, parent_id, text, strlist, caption = QString(), buttonContinue = None, buttonCancel = None, dontAskAgainName = QString(), options = None): 6421 '''static int KMessageBox.warningContinueCancelListWId(int parent_id, QString text, QStringList strlist, QString caption = QString(), KGuiItem buttonContinue = KStandardGuiItem.cont(), KGuiItem buttonCancel = KStandardGuiItem.cancel(), QString dontAskAgainName = QString(), KMessageBox.Options options = KMessageBox.Notify)''' 6422 return int() 6423 def warningContinueCancelList(self, parent, text, strlist, caption = QString(), buttonContinue = None, buttonCancel = None, dontAskAgainName = QString(), options = None): 6424 '''static int KMessageBox.warningContinueCancelList(QWidget parent, QString text, QStringList strlist, QString caption = QString(), KGuiItem buttonContinue = KStandardGuiItem.cont(), KGuiItem buttonCancel = KStandardGuiItem.cancel(), QString dontAskAgainName = QString(), KMessageBox.Options options = KMessageBox.Notify)''' 6425 return int() 6426 def warningContinueCancelWId(self, parent_id, text, caption = QString(), buttonContinue = None, buttonCancel = None, dontAskAgainName = QString(), options = None): 6427 '''static int KMessageBox.warningContinueCancelWId(int parent_id, QString text, QString caption = QString(), KGuiItem buttonContinue = KStandardGuiItem.cont(), KGuiItem buttonCancel = KStandardGuiItem.cancel(), QString dontAskAgainName = QString(), KMessageBox.Options options = KMessageBox.Notify)''' 6428 return int() 6429 def warningContinueCancel(self, parent, text, caption = QString(), buttonContinue = None, buttonCancel = None, dontAskAgainName = QString(), options = None): 6430 '''static int KMessageBox.warningContinueCancel(QWidget parent, QString text, QString caption = QString(), KGuiItem buttonContinue = KStandardGuiItem.cont(), KGuiItem buttonCancel = KStandardGuiItem.cancel(), QString dontAskAgainName = QString(), KMessageBox.Options options = KMessageBox.Notify)''' 6431 return int() 6432 def warningYesNoListWId(self, parent_id, text, strlist, caption = QString(), buttonYes = None, buttonNo = None, dontAskAgainName = QString(), options = None): 6433 '''static int KMessageBox.warningYesNoListWId(int parent_id, QString text, QStringList strlist, QString caption = QString(), KGuiItem buttonYes = KStandardGuiItem.yes(), KGuiItem buttonNo = KStandardGuiItem.no(), QString dontAskAgainName = QString(), KMessageBox.Options options = KMessageBox.Options(KMessageBox.Notify|KMessageBox.Dangerous))''' 6434 return int() 6435 def warningYesNoList(self, parent, text, strlist, caption = QString(), buttonYes = None, buttonNo = None, dontAskAgainName = QString(), options = None): 6436 '''static int KMessageBox.warningYesNoList(QWidget parent, QString text, QStringList strlist, QString caption = QString(), KGuiItem buttonYes = KStandardGuiItem.yes(), KGuiItem buttonNo = KStandardGuiItem.no(), QString dontAskAgainName = QString(), KMessageBox.Options options = KMessageBox.Options(KMessageBox.Notify|KMessageBox.Dangerous))''' 6437 return int() 6438 def warningYesNoWId(self, parent_id, text, caption = QString(), buttonYes = None, buttonNo = None, dontAskAgainName = QString(), options = None): 6439 '''static int KMessageBox.warningYesNoWId(int parent_id, QString text, QString caption = QString(), KGuiItem buttonYes = KStandardGuiItem.yes(), KGuiItem buttonNo = KStandardGuiItem.no(), QString dontAskAgainName = QString(), KMessageBox.Options options = KMessageBox.Options(KMessageBox.Notify|KMessageBox.Dangerous))''' 6440 return int() 6441 def warningYesNo(self, parent, text, caption = QString(), buttonYes = None, buttonNo = None, dontAskAgainName = QString(), options = None): 6442 '''static int KMessageBox.warningYesNo(QWidget parent, QString text, QString caption = QString(), KGuiItem buttonYes = KStandardGuiItem.yes(), KGuiItem buttonNo = KStandardGuiItem.no(), QString dontAskAgainName = QString(), KMessageBox.Options options = KMessageBox.Options(KMessageBox.Notify|KMessageBox.Dangerous))''' 6443 return int() 6444 def questionYesNoListWId(self, parent_id, text, strlist, caption = QString(), buttonYes = None, buttonNo = None, dontAskAgainName = QString(), options = None): 6445 '''static int KMessageBox.questionYesNoListWId(int parent_id, QString text, QStringList strlist, QString caption = QString(), KGuiItem buttonYes = KStandardGuiItem.yes(), KGuiItem buttonNo = KStandardGuiItem.no(), QString dontAskAgainName = QString(), KMessageBox.Options options = KMessageBox.Notify)''' 6446 return int() 6447 def questionYesNoList(self, parent, text, strlist, caption = QString(), buttonYes = None, buttonNo = None, dontAskAgainName = QString(), options = None): 6448 '''static int KMessageBox.questionYesNoList(QWidget parent, QString text, QStringList strlist, QString caption = QString(), KGuiItem buttonYes = KStandardGuiItem.yes(), KGuiItem buttonNo = KStandardGuiItem.no(), QString dontAskAgainName = QString(), KMessageBox.Options options = KMessageBox.Notify)''' 6449 return int() 6450 def questionYesNoCancelWId(self, parent_id, text, caption = QString(), buttonYes = None, buttonNo = None, buttonCancel = None, dontAskAgainName = QString(), options = None): 6451 '''static int KMessageBox.questionYesNoCancelWId(int parent_id, QString text, QString caption = QString(), KGuiItem buttonYes = KStandardGuiItem.yes(), KGuiItem buttonNo = KStandardGuiItem.no(), KGuiItem buttonCancel = KStandardGuiItem.cancel(), QString dontAskAgainName = QString(), KMessageBox.Options options = KMessageBox.Notify)''' 6452 return int() 6453 def questionYesNoCancel(self, parent, text, caption = QString(), buttonYes = None, buttonNo = None, buttonCancel = None, dontAskAgainName = QString(), options = None): 6454 '''static int KMessageBox.questionYesNoCancel(QWidget parent, QString text, QString caption = QString(), KGuiItem buttonYes = KStandardGuiItem.yes(), KGuiItem buttonNo = KStandardGuiItem.no(), KGuiItem buttonCancel = KStandardGuiItem.cancel(), QString dontAskAgainName = QString(), KMessageBox.Options options = KMessageBox.Notify)''' 6455 return int() 6456 def questionYesNoWId(self, parent_id, text, caption = QString(), buttonYes = None, buttonNo = None, dontAskAgainName = QString(), options = None): 6457 '''static int KMessageBox.questionYesNoWId(int parent_id, QString text, QString caption = QString(), KGuiItem buttonYes = KStandardGuiItem.yes(), KGuiItem buttonNo = KStandardGuiItem.no(), QString dontAskAgainName = QString(), KMessageBox.Options options = KMessageBox.Notify)''' 6458 return int() 6459 def questionYesNo(self, parent, text, caption = QString(), buttonYes = None, buttonNo = None, dontAskAgainName = QString(), options = None): 6460 '''static int KMessageBox.questionYesNo(QWidget parent, QString text, QString caption = QString(), KGuiItem buttonYes = KStandardGuiItem.yes(), KGuiItem buttonNo = KStandardGuiItem.no(), QString dontAskAgainName = QString(), KMessageBox.Options options = KMessageBox.Notify)''' 6461 return int() 6462 class Options(): 6463 """""" 6464 def __init__(self): 6465 '''KMessageBox.Options KMessageBox.Options.__init__()''' 6466 return KMessageBox.Options() 6467 def __init__(self): 6468 '''int KMessageBox.Options.__init__()''' 6469 return int() 6470 def __init__(self): 6471 '''void KMessageBox.Options.__init__()''' 6472 def __bool__(self): 6473 '''int KMessageBox.Options.__bool__()''' 6474 return int() 6475 def __ne__(self, f): 6476 '''bool KMessageBox.Options.__ne__(KMessageBox.Options f)''' 6477 return bool() 6478 def __eq__(self, f): 6479 '''bool KMessageBox.Options.__eq__(KMessageBox.Options f)''' 6480 return bool() 6481 def __invert__(self): 6482 '''KMessageBox.Options KMessageBox.Options.__invert__()''' 6483 return KMessageBox.Options() 6484 def __and__(self, mask): 6485 '''KMessageBox.Options KMessageBox.Options.__and__(int mask)''' 6486 return KMessageBox.Options() 6487 def __xor__(self, f): 6488 '''KMessageBox.Options KMessageBox.Options.__xor__(KMessageBox.Options f)''' 6489 return KMessageBox.Options() 6490 def __xor__(self, f): 6491 '''KMessageBox.Options KMessageBox.Options.__xor__(int f)''' 6492 return KMessageBox.Options() 6493 def __or__(self, f): 6494 '''KMessageBox.Options KMessageBox.Options.__or__(KMessageBox.Options f)''' 6495 return KMessageBox.Options() 6496 def __or__(self, f): 6497 '''KMessageBox.Options KMessageBox.Options.__or__(int f)''' 6498 return KMessageBox.Options() 6499 def __int__(self): 6500 '''int KMessageBox.Options.__int__()''' 6501 return int() 6502 def __ixor__(self, f): 6503 '''KMessageBox.Options KMessageBox.Options.__ixor__(KMessageBox.Options f)''' 6504 return KMessageBox.Options() 6505 def __ior__(self, f): 6506 '''KMessageBox.Options KMessageBox.Options.__ior__(KMessageBox.Options f)''' 6507 return KMessageBox.Options() 6508 def __iand__(self, mask): 6509 '''KMessageBox.Options KMessageBox.Options.__iand__(int mask)''' 6510 return KMessageBox.Options() 6511 6512 6513class KMessageBoxMessageHandler(QObject, KMessageHandler): 6514 """""" 6515 def __init__(self, parent = None): 6516 '''void KMessageBoxMessageHandler.__init__(QWidget parent = None)''' 6517 def message(self, messageType, text, caption): 6518 '''void KMessageBoxMessageHandler.message(KMessage.MessageType messageType, QString text, QString caption)''' 6519 6520 6521class KMessageWidget(QFrame): 6522 """""" 6523 # Enum KMessageWidget.MessageType 6524 Positive = 0 6525 Information = 0 6526 Warning = 0 6527 Error = 0 6528 6529 def __init__(self, parent = None): 6530 '''void KMessageWidget.__init__(QWidget parent = None)''' 6531 def __init__(self, text, parent = None): 6532 '''void KMessageWidget.__init__(QString text, QWidget parent = None)''' 6533 def heightForWidth(self, width): 6534 '''int KMessageWidget.heightForWidth(int width)''' 6535 return int() 6536 def showEvent(self, event): 6537 '''void KMessageWidget.showEvent(QShowEvent event)''' 6538 def resizeEvent(self, event): 6539 '''void KMessageWidget.resizeEvent(QResizeEvent event)''' 6540 def event(self, event): 6541 '''bool KMessageWidget.event(QEvent event)''' 6542 return bool() 6543 def paintEvent(self, event): 6544 '''void KMessageWidget.paintEvent(QPaintEvent event)''' 6545 def animatedHide(self): 6546 '''void KMessageWidget.animatedHide()''' 6547 def animatedShow(self): 6548 '''void KMessageWidget.animatedShow()''' 6549 def setMessageType(self, type): 6550 '''void KMessageWidget.setMessageType(KMessageWidget.MessageType type)''' 6551 def setCloseButtonVisible(self, visible): 6552 '''void KMessageWidget.setCloseButtonVisible(bool visible)''' 6553 def setWordWrap(self, wordWrap): 6554 '''void KMessageWidget.setWordWrap(bool wordWrap)''' 6555 def setText(self, text): 6556 '''void KMessageWidget.setText(QString text)''' 6557 def minimumSizeHint(self): 6558 '''QSize KMessageWidget.minimumSizeHint()''' 6559 return QSize() 6560 def sizeHint(self): 6561 '''QSize KMessageWidget.sizeHint()''' 6562 return QSize() 6563 def removeAction(self, action): 6564 '''void KMessageWidget.removeAction(QAction action)''' 6565 def addAction(self, action): 6566 '''void KMessageWidget.addAction(QAction action)''' 6567 def messageType(self): 6568 '''KMessageWidget.MessageType KMessageWidget.messageType()''' 6569 return KMessageWidget.MessageType() 6570 def isCloseButtonVisible(self): 6571 '''bool KMessageWidget.isCloseButtonVisible()''' 6572 return bool() 6573 def wordWrap(self): 6574 '''bool KMessageWidget.wordWrap()''' 6575 return bool() 6576 def text(self): 6577 '''QString KMessageWidget.text()''' 6578 return QString() 6579 6580 6581class KModelIndexProxyMapper(QObject): 6582 """""" 6583 def __init__(self, leftModel, rightModel, parent = None): 6584 '''void KModelIndexProxyMapper.__init__(QAbstractItemModel leftModel, QAbstractItemModel rightModel, QObject parent = None)''' 6585 def mapSelectionRightToLeft(self, selection): 6586 '''QItemSelection KModelIndexProxyMapper.mapSelectionRightToLeft(QItemSelection selection)''' 6587 return QItemSelection() 6588 def mapSelectionLeftToRight(self, selection): 6589 '''QItemSelection KModelIndexProxyMapper.mapSelectionLeftToRight(QItemSelection selection)''' 6590 return QItemSelection() 6591 def mapRightToLeft(self, index): 6592 '''QModelIndex KModelIndexProxyMapper.mapRightToLeft(QModelIndex index)''' 6593 return QModelIndex() 6594 def mapLeftToRight(self, index): 6595 '''QModelIndex KModelIndexProxyMapper.mapLeftToRight(QModelIndex index)''' 6596 return QModelIndex() 6597 6598 6599class KModifierKeyInfo(QObject): 6600 """""" 6601 def __init__(self, parent = None): 6602 '''void KModifierKeyInfo.__init__(QObject parent = None)''' 6603 keyRemoved = pyqtSignal() # void keyRemoved(Qt::Key) - signal 6604 keyAdded = pyqtSignal() # void keyAdded(Qt::Key) - signal 6605 buttonPressed = pyqtSignal() # void buttonPressed(Qt::MouseButton,bool) - signal 6606 keyLocked = pyqtSignal() # void keyLocked(Qt::Key,bool) - signal 6607 keyLatched = pyqtSignal() # void keyLatched(Qt::Key,bool) - signal 6608 keyPressed = pyqtSignal() # void keyPressed(Qt::Key,bool) - signal 6609 def isButtonPressed(self, button): 6610 '''bool KModifierKeyInfo.isButtonPressed(Qt.MouseButton button)''' 6611 return bool() 6612 def setKeyLocked(self, key, locked): 6613 '''bool KModifierKeyInfo.setKeyLocked(Qt.Key key, bool locked)''' 6614 return bool() 6615 def isKeyLocked(self, key): 6616 '''bool KModifierKeyInfo.isKeyLocked(Qt.Key key)''' 6617 return bool() 6618 def setKeyLatched(self, key, latched): 6619 '''bool KModifierKeyInfo.setKeyLatched(Qt.Key key, bool latched)''' 6620 return bool() 6621 def isKeyLatched(self, key): 6622 '''bool KModifierKeyInfo.isKeyLatched(Qt.Key key)''' 6623 return bool() 6624 def isKeyPressed(self, key): 6625 '''bool KModifierKeyInfo.isKeyPressed(Qt.Key key)''' 6626 return bool() 6627 def knownKeys(self): 6628 '''list-of-Qt.Key KModifierKeyInfo.knownKeys()''' 6629 return [Qt.Key()] 6630 def knowsKey(self, key): 6631 '''bool KModifierKeyInfo.knowsKey(Qt.Key key)''' 6632 return bool() 6633 6634 6635class KMultiTabBar(QWidget): 6636 """""" 6637 # Enum KMultiTabBar.KMultiTabBarStyle 6638 VSNET = 0 6639 KDEV3ICON = 0 6640 STYLELAST = 0 6641 6642 # Enum KMultiTabBar.KMultiTabBarPosition 6643 Left = 0 6644 Right = 0 6645 Top = 0 6646 Bottom = 0 6647 6648 def __init__(self, pos, parent = None): 6649 '''void KMultiTabBar.__init__(KMultiTabBar.KMultiTabBarPosition pos, QWidget parent = None)''' 6650 def updateSeparator(self): 6651 '''void KMultiTabBar.updateSeparator()''' 6652 def fontChange(self): 6653 '''QFont KMultiTabBar.fontChange()''' 6654 return QFont() 6655 def tabStyle(self): 6656 '''KMultiTabBar.KMultiTabBarStyle KMultiTabBar.tabStyle()''' 6657 return KMultiTabBar.KMultiTabBarStyle() 6658 def setStyle(self, style): 6659 '''void KMultiTabBar.setStyle(KMultiTabBar.KMultiTabBarStyle style)''' 6660 def position(self): 6661 '''KMultiTabBar.KMultiTabBarPosition KMultiTabBar.position()''' 6662 return KMultiTabBar.KMultiTabBarPosition() 6663 def setPosition(self, pos): 6664 '''void KMultiTabBar.setPosition(KMultiTabBar.KMultiTabBarPosition pos)''' 6665 def tab(self, id): 6666 '''KMultiTabBarTab KMultiTabBar.tab(int id)''' 6667 return KMultiTabBarTab() 6668 def button(self, id): 6669 '''KMultiTabBarButton KMultiTabBar.button(int id)''' 6670 return KMultiTabBarButton() 6671 def isTabRaised(self, id): 6672 '''bool KMultiTabBar.isTabRaised(int id)''' 6673 return bool() 6674 def setTab(self, id, state): 6675 '''void KMultiTabBar.setTab(int id, bool state)''' 6676 def removeTab(self, id): 6677 '''void KMultiTabBar.removeTab(int id)''' 6678 def appendTab(self, pic, id = None, text = QString()): 6679 '''int KMultiTabBar.appendTab(QPixmap pic, int id = -1, QString text = QString())''' 6680 return int() 6681 def removeButton(self, id): 6682 '''void KMultiTabBar.removeButton(int id)''' 6683 def appendButton(self, pic, id = None, popup = None, not_used_yet = QString()): 6684 '''int KMultiTabBar.appendButton(QPixmap pic, int id = -1, QMenu popup = None, QString not_used_yet = QString())''' 6685 return int() 6686 6687 6688class KMultiTabBarButton(QPushButton): 6689 """""" 6690 def __init__(self, pic, id, parent): 6691 '''QString KMultiTabBarButton.__init__(QPixmap pic, int id, QWidget parent)''' 6692 return QString() 6693 def paintEvent(self): 6694 '''QPaintEvent KMultiTabBarButton.paintEvent()''' 6695 return QPaintEvent() 6696 def showEvent(self): 6697 '''QShowEvent KMultiTabBarButton.showEvent()''' 6698 return QShowEvent() 6699 def hideEvent(self): 6700 '''QHideEvent KMultiTabBarButton.hideEvent()''' 6701 return QHideEvent() 6702 def slotClicked(self): 6703 '''void KMultiTabBarButton.slotClicked()''' 6704 clicked = pyqtSignal() # void clicked(int) - signal 6705 def setText(self, text): 6706 '''void KMultiTabBarButton.setText(QString text)''' 6707 def id(self): 6708 '''int KMultiTabBarButton.id()''' 6709 return int() 6710 6711 6712class KMultiTabBarTab(KMultiTabBarButton): 6713 """""" 6714 def paintEvent(self): 6715 '''QPaintEvent KMultiTabBarTab.paintEvent()''' 6716 return QPaintEvent() 6717 def setIcon(self): 6718 '''QString KMultiTabBarTab.setIcon()''' 6719 return QString() 6720 def setIcon(self): 6721 '''QPixmap KMultiTabBarTab.setIcon()''' 6722 return QPixmap() 6723 def setState(self, state): 6724 '''void KMultiTabBarTab.setState(bool state)''' 6725 def setStyle(self): 6726 '''KMultiTabBar.KMultiTabBarStyle KMultiTabBarTab.setStyle()''' 6727 return KMultiTabBar.KMultiTabBarStyle() 6728 def setPosition(self): 6729 '''KMultiTabBar.KMultiTabBarPosition KMultiTabBarTab.setPosition()''' 6730 return KMultiTabBar.KMultiTabBarPosition() 6731 def minimumSizeHint(self): 6732 '''QSize KMultiTabBarTab.minimumSizeHint()''' 6733 return QSize() 6734 def sizeHint(self): 6735 '''QSize KMultiTabBarTab.sizeHint()''' 6736 return QSize() 6737 6738 6739class KNewPasswordDialog(KDialog): 6740 """""" 6741 def __init__(self, parent = None): 6742 '''void KNewPasswordDialog.__init__(QWidget parent = None)''' 6743 newPassword = pyqtSignal() # void newPassword(const QStringamp;) - signal 6744 def checkAndGetPassword(self, pwd): 6745 '''bool KNewPasswordDialog.checkAndGetPassword(QString pwd)''' 6746 return bool() 6747 def checkPassword(self): 6748 '''QString KNewPasswordDialog.checkPassword()''' 6749 return QString() 6750 def accept(self): 6751 '''void KNewPasswordDialog.accept()''' 6752 def password(self): 6753 '''QString KNewPasswordDialog.password()''' 6754 return QString() 6755 def passwordStrengthWarningLevel(self): 6756 '''int KNewPasswordDialog.passwordStrengthWarningLevel()''' 6757 return int() 6758 def setPasswordStrengthWarningLevel(self, warningLevel): 6759 '''void KNewPasswordDialog.setPasswordStrengthWarningLevel(int warningLevel)''' 6760 def reasonablePasswordLength(self): 6761 '''int KNewPasswordDialog.reasonablePasswordLength()''' 6762 return int() 6763 def setReasonablePasswordLength(self, reasonableLength): 6764 '''void KNewPasswordDialog.setReasonablePasswordLength(int reasonableLength)''' 6765 def maximumPasswordLength(self): 6766 '''int KNewPasswordDialog.maximumPasswordLength()''' 6767 return int() 6768 def setMaximumPasswordLength(self, maxLength): 6769 '''void KNewPasswordDialog.setMaximumPasswordLength(int maxLength)''' 6770 def minimumPasswordLength(self): 6771 '''int KNewPasswordDialog.minimumPasswordLength()''' 6772 return int() 6773 def setMinimumPasswordLength(self, minLength): 6774 '''void KNewPasswordDialog.setMinimumPasswordLength(int minLength)''' 6775 def allowEmptyPasswords(self): 6776 '''bool KNewPasswordDialog.allowEmptyPasswords()''' 6777 return bool() 6778 def setAllowEmptyPasswords(self, allowed): 6779 '''void KNewPasswordDialog.setAllowEmptyPasswords(bool allowed)''' 6780 def pixmap(self): 6781 '''QPixmap KNewPasswordDialog.pixmap()''' 6782 return QPixmap() 6783 def setPixmap(self): 6784 '''QPixmap KNewPasswordDialog.setPixmap()''' 6785 return QPixmap() 6786 def prompt(self): 6787 '''QString KNewPasswordDialog.prompt()''' 6788 return QString() 6789 def setPrompt(self, prompt): 6790 '''void KNewPasswordDialog.setPrompt(QString prompt)''' 6791 6792 6793class KNotification(QObject): 6794 """""" 6795 # Enum KNotification.StandardEvent 6796 Notification = 0 6797 Warning = 0 6798 Error = 0 6799 Catastrophe = 0 6800 6801 # Enum KNotification.NotificationFlag 6802 RaiseWidgetOnActivation = 0 6803 CloseOnTimeout = 0 6804 Persistent = 0 6805 CloseWhenWidgetActivated = 0 6806 Persistant = 0 6807 DefaultEvent = 0 6808 6809 def __init__(self, eventId, widget = None, flags = None): 6810 '''void KNotification.__init__(QString eventId, QWidget widget = None, KNotification.NotificationFlags flags = KNotification.CloseOnTimeout)''' 6811 def __init__(self, eventId, flags, parent = None): 6812 '''void KNotification.__init__(QString eventId, KNotification.NotificationFlags flags, QObject parent = None)''' 6813 def beep(self, reason = QString(), widget = None): 6814 '''static void KNotification.beep(QString reason = QString(), QWidget widget = None)''' 6815 def event(self, eventId, text = QString(), pixmap = QPixmap(), widget = None, flags = None, componentData = KComponentData()): 6816 '''static KNotification KNotification.event(QString eventId, QString text = QString(), QPixmap pixmap = QPixmap(), QWidget widget = None, KNotification.NotificationFlags flags = KNotification.CloseOnTimeout, KComponentData componentData = KComponentData())''' 6817 return KNotification() 6818 def event(self, eventId, text = QString(), pixmap = QPixmap(), widget = None, flags = None): 6819 '''static KNotification KNotification.event(KNotification.StandardEvent eventId, QString text = QString(), QPixmap pixmap = QPixmap(), QWidget widget = None, KNotification.NotificationFlags flags = KNotification.CloseOnTimeout)''' 6820 return KNotification() 6821 def event(self, eventId, title, text, pixmap = QPixmap(), widget = None, flags = None, componentData = KComponentData()): 6822 '''static KNotification KNotification.event(QString eventId, QString title, QString text, QPixmap pixmap = QPixmap(), QWidget widget = None, KNotification.NotificationFlags flags = KNotification.CloseOnTimeout, KComponentData componentData = KComponentData())''' 6823 return KNotification() 6824 def event(self, eventId, title, text, pixmap = QPixmap(), widget = None, flags = None): 6825 '''static KNotification KNotification.event(KNotification.StandardEvent eventId, QString title, QString text, QPixmap pixmap = QPixmap(), QWidget widget = None, KNotification.NotificationFlags flags = KNotification.CloseOnTimeout)''' 6826 return KNotification() 6827 def eventFilter(self, watched, event): 6828 '''bool KNotification.eventFilter(QObject watched, QEvent event)''' 6829 return bool() 6830 def update(self): 6831 '''void KNotification.update()''' 6832 def sendEvent(self): 6833 '''void KNotification.sendEvent()''' 6834 def deref(self): 6835 '''void KNotification.deref()''' 6836 def ref(self): 6837 '''void KNotification.ref()''' 6838 def raiseWidget(self): 6839 '''void KNotification.raiseWidget()''' 6840 def close(self): 6841 '''void KNotification.close()''' 6842 def activate(self, action = 0): 6843 '''void KNotification.activate(int action = 0)''' 6844 ignored = pyqtSignal() # void ignored() - signal 6845 closed = pyqtSignal() # void closed() - signal 6846 action3Activated = pyqtSignal() # void action3Activated() - signal 6847 action2Activated = pyqtSignal() # void action2Activated() - signal 6848 action1Activated = pyqtSignal() # void action1Activated() - signal 6849 activated = pyqtSignal() # void activated() - signal 6850 activated = pyqtSignal() # void activated(uint) - signal 6851 def setComponentData(self, componentData): 6852 '''void KNotification.setComponentData(KComponentData componentData)''' 6853 def setFlags(self, flags): 6854 '''void KNotification.setFlags(KNotification.NotificationFlags flags)''' 6855 def flags(self): 6856 '''KNotification.NotificationFlags KNotification.flags()''' 6857 return KNotification.NotificationFlags() 6858 def addContext(self, context): 6859 '''void KNotification.addContext(unknown-type context)''' 6860 def addContext(self, context_key, context_value): 6861 '''void KNotification.addContext(QString context_key, QString context_value)''' 6862 def setContexts(self, contexts): 6863 '''void KNotification.setContexts(list-of-tuple-of-QString-QString contexts)''' 6864 def contexts(self): 6865 '''list-of-tuple-of-QString-QString KNotification.contexts()''' 6866 return [tuple-of-QString-QString()] 6867 def setActions(self, actions): 6868 '''void KNotification.setActions(QStringList actions)''' 6869 def actions(self): 6870 '''QStringList KNotification.actions()''' 6871 return QStringList() 6872 def setPixmap(self, pix): 6873 '''void KNotification.setPixmap(QPixmap pix)''' 6874 def pixmap(self): 6875 '''QPixmap KNotification.pixmap()''' 6876 return QPixmap() 6877 def setText(self, text): 6878 '''void KNotification.setText(QString text)''' 6879 def text(self): 6880 '''QString KNotification.text()''' 6881 return QString() 6882 def setTitle(self, title): 6883 '''void KNotification.setTitle(QString title)''' 6884 def title(self): 6885 '''QString KNotification.title()''' 6886 return QString() 6887 def eventId(self): 6888 '''QString KNotification.eventId()''' 6889 return QString() 6890 def setWidget(self, widget): 6891 '''void KNotification.setWidget(QWidget widget)''' 6892 def widget(self): 6893 '''QWidget KNotification.widget()''' 6894 return QWidget() 6895 class NotificationFlags(): 6896 """""" 6897 def __init__(self): 6898 '''KNotification.NotificationFlags KNotification.NotificationFlags.__init__()''' 6899 return KNotification.NotificationFlags() 6900 def __init__(self): 6901 '''int KNotification.NotificationFlags.__init__()''' 6902 return int() 6903 def __init__(self): 6904 '''void KNotification.NotificationFlags.__init__()''' 6905 def __bool__(self): 6906 '''int KNotification.NotificationFlags.__bool__()''' 6907 return int() 6908 def __ne__(self, f): 6909 '''bool KNotification.NotificationFlags.__ne__(KNotification.NotificationFlags f)''' 6910 return bool() 6911 def __eq__(self, f): 6912 '''bool KNotification.NotificationFlags.__eq__(KNotification.NotificationFlags f)''' 6913 return bool() 6914 def __invert__(self): 6915 '''KNotification.NotificationFlags KNotification.NotificationFlags.__invert__()''' 6916 return KNotification.NotificationFlags() 6917 def __and__(self, mask): 6918 '''KNotification.NotificationFlags KNotification.NotificationFlags.__and__(int mask)''' 6919 return KNotification.NotificationFlags() 6920 def __xor__(self, f): 6921 '''KNotification.NotificationFlags KNotification.NotificationFlags.__xor__(KNotification.NotificationFlags f)''' 6922 return KNotification.NotificationFlags() 6923 def __xor__(self, f): 6924 '''KNotification.NotificationFlags KNotification.NotificationFlags.__xor__(int f)''' 6925 return KNotification.NotificationFlags() 6926 def __or__(self, f): 6927 '''KNotification.NotificationFlags KNotification.NotificationFlags.__or__(KNotification.NotificationFlags f)''' 6928 return KNotification.NotificationFlags() 6929 def __or__(self, f): 6930 '''KNotification.NotificationFlags KNotification.NotificationFlags.__or__(int f)''' 6931 return KNotification.NotificationFlags() 6932 def __int__(self): 6933 '''int KNotification.NotificationFlags.__int__()''' 6934 return int() 6935 def __ixor__(self, f): 6936 '''KNotification.NotificationFlags KNotification.NotificationFlags.__ixor__(KNotification.NotificationFlags f)''' 6937 return KNotification.NotificationFlags() 6938 def __ior__(self, f): 6939 '''KNotification.NotificationFlags KNotification.NotificationFlags.__ior__(KNotification.NotificationFlags f)''' 6940 return KNotification.NotificationFlags() 6941 def __iand__(self, mask): 6942 '''KNotification.NotificationFlags KNotification.NotificationFlags.__iand__(int mask)''' 6943 return KNotification.NotificationFlags() 6944 6945 6946class KNotificationRestrictions(QObject): 6947 """""" 6948 # Enum KNotificationRestrictions.Service 6949 NoServices = 0 6950 ScreenSaver = 0 6951 MessagingPopups = 0 6952 Notifications = 0 6953 CriticalNotifications = 0 6954 NonCriticalServices = 0 6955 AllServices = 0 6956 6957 def __init__(self, control = None, parent = None): 6958 '''void KNotificationRestrictions.__init__(KNotificationRestrictions.Services control = KNotificationRestrictions.NonCriticalServices, QObject parent = None)''' 6959 class Services(): 6960 """""" 6961 def __init__(self): 6962 '''KNotificationRestrictions.Services KNotificationRestrictions.Services.__init__()''' 6963 return KNotificationRestrictions.Services() 6964 def __init__(self): 6965 '''int KNotificationRestrictions.Services.__init__()''' 6966 return int() 6967 def __init__(self): 6968 '''void KNotificationRestrictions.Services.__init__()''' 6969 def __bool__(self): 6970 '''int KNotificationRestrictions.Services.__bool__()''' 6971 return int() 6972 def __ne__(self, f): 6973 '''bool KNotificationRestrictions.Services.__ne__(KNotificationRestrictions.Services f)''' 6974 return bool() 6975 def __eq__(self, f): 6976 '''bool KNotificationRestrictions.Services.__eq__(KNotificationRestrictions.Services f)''' 6977 return bool() 6978 def __invert__(self): 6979 '''KNotificationRestrictions.Services KNotificationRestrictions.Services.__invert__()''' 6980 return KNotificationRestrictions.Services() 6981 def __and__(self, mask): 6982 '''KNotificationRestrictions.Services KNotificationRestrictions.Services.__and__(int mask)''' 6983 return KNotificationRestrictions.Services() 6984 def __xor__(self, f): 6985 '''KNotificationRestrictions.Services KNotificationRestrictions.Services.__xor__(KNotificationRestrictions.Services f)''' 6986 return KNotificationRestrictions.Services() 6987 def __xor__(self, f): 6988 '''KNotificationRestrictions.Services KNotificationRestrictions.Services.__xor__(int f)''' 6989 return KNotificationRestrictions.Services() 6990 def __or__(self, f): 6991 '''KNotificationRestrictions.Services KNotificationRestrictions.Services.__or__(KNotificationRestrictions.Services f)''' 6992 return KNotificationRestrictions.Services() 6993 def __or__(self, f): 6994 '''KNotificationRestrictions.Services KNotificationRestrictions.Services.__or__(int f)''' 6995 return KNotificationRestrictions.Services() 6996 def __int__(self): 6997 '''int KNotificationRestrictions.Services.__int__()''' 6998 return int() 6999 def __ixor__(self, f): 7000 '''KNotificationRestrictions.Services KNotificationRestrictions.Services.__ixor__(KNotificationRestrictions.Services f)''' 7001 return KNotificationRestrictions.Services() 7002 def __ior__(self, f): 7003 '''KNotificationRestrictions.Services KNotificationRestrictions.Services.__ior__(KNotificationRestrictions.Services f)''' 7004 return KNotificationRestrictions.Services() 7005 def __iand__(self, mask): 7006 '''KNotificationRestrictions.Services KNotificationRestrictions.Services.__iand__(int mask)''' 7007 return KNotificationRestrictions.Services() 7008 7009 7010class KNumInput(QWidget): 7011 """""" 7012 def __init__(self, parent = None): 7013 '''void KNumInput.__init__(QWidget parent = None)''' 7014 def __init__(self, parent, below): 7015 '''void KNumInput.__init__(QWidget parent, KNumInput below)''' 7016 def doLayout(self): 7017 '''abstract void KNumInput.doLayout()''' 7018 def layout(self, deep): 7019 '''void KNumInput.layout(bool deep)''' 7020 def slider(self): 7021 '''QSlider KNumInput.slider()''' 7022 return QSlider() 7023 def sizeHint(self): 7024 '''QSize KNumInput.sizeHint()''' 7025 return QSize() 7026 def setSteps(self, minor, major): 7027 '''void KNumInput.setSteps(int minor, int major)''' 7028 def showSlider(self): 7029 '''bool KNumInput.showSlider()''' 7030 return bool() 7031 def label(self): 7032 '''QString KNumInput.label()''' 7033 return QString() 7034 def setLabel(self, label, a = None): 7035 '''void KNumInput.setLabel(QString label, Qt.Alignment a = Qt.AlignLeft|Qt.AlignTop)''' 7036 7037 7038class KIntNumInput(KNumInput): 7039 """""" 7040 def __init__(self, parent = None): 7041 '''void KIntNumInput.__init__(QWidget parent = None)''' 7042 def __init__(self, value, parent = None, base = 10): 7043 '''void KIntNumInput.__init__(int value, QWidget parent = None, int base = 10)''' 7044 def __init__(self, below, value, parent, base = 10): 7045 '''void KIntNumInput.__init__(KNumInput below, int value, QWidget parent, int base = 10)''' 7046 def resizeEvent(self): 7047 '''QResizeEvent KIntNumInput.resizeEvent()''' 7048 return QResizeEvent() 7049 def doLayout(self): 7050 '''void KIntNumInput.doLayout()''' 7051 def spinBox(self): 7052 '''QSpinBox KIntNumInput.spinBox()''' 7053 return QSpinBox() 7054 relativeValueChanged = pyqtSignal() # void relativeValueChanged(double) - signal 7055 valueChanged = pyqtSignal() # void valueChanged(int) - signal 7056 def setEditFocus(self, mark = True): 7057 '''void KIntNumInput.setEditFocus(bool mark = True)''' 7058 def setPrefix(self, prefix): 7059 '''void KIntNumInput.setPrefix(QString prefix)''' 7060 def setSuffix(self, suffix): 7061 '''void KIntNumInput.setSuffix(QString suffix)''' 7062 def setSuffix(self, suffix): 7063 '''void KIntNumInput.setSuffix(KLocalizedString suffix)''' 7064 def setReferencePoint(self): 7065 '''int KIntNumInput.setReferencePoint()''' 7066 return int() 7067 def setRelativeValue(self): 7068 '''float KIntNumInput.setRelativeValue()''' 7069 return float() 7070 def setValue(self): 7071 '''int KIntNumInput.setValue()''' 7072 return int() 7073 def minimumSizeHint(self): 7074 '''QSize KIntNumInput.minimumSizeHint()''' 7075 return QSize() 7076 def setLabel(self, label, a = None): 7077 '''void KIntNumInput.setLabel(QString label, Qt.Alignment a = Qt.AlignLeft|Qt.AlignTop)''' 7078 def setSpecialValueText(self, text): 7079 '''void KIntNumInput.setSpecialValueText(QString text)''' 7080 def setSingleStep(self, step): 7081 '''void KIntNumInput.setSingleStep(int step)''' 7082 def singleStep(self): 7083 '''int KIntNumInput.singleStep()''' 7084 return int() 7085 def maximum(self): 7086 '''int KIntNumInput.maximum()''' 7087 return int() 7088 def setMaximum(self, max): 7089 '''void KIntNumInput.setMaximum(int max)''' 7090 def minimum(self): 7091 '''int KIntNumInput.minimum()''' 7092 return int() 7093 def setMinimum(self, min): 7094 '''void KIntNumInput.setMinimum(int min)''' 7095 def setSliderEnabled(self, enabled = True): 7096 '''void KIntNumInput.setSliderEnabled(bool enabled = True)''' 7097 def setRange(self, min, max, singleStep = 1): 7098 '''void KIntNumInput.setRange(int min, int max, int singleStep = 1)''' 7099 def setRange(self, min, max, singleStep, slider): 7100 '''void KIntNumInput.setRange(int min, int max, int singleStep, bool slider)''' 7101 def specialValueText(self): 7102 '''QString KIntNumInput.specialValueText()''' 7103 return QString() 7104 def prefix(self): 7105 '''QString KIntNumInput.prefix()''' 7106 return QString() 7107 def suffix(self): 7108 '''QString KIntNumInput.suffix()''' 7109 return QString() 7110 def referencePoint(self): 7111 '''int KIntNumInput.referencePoint()''' 7112 return int() 7113 def relativeValue(self): 7114 '''float KIntNumInput.relativeValue()''' 7115 return float() 7116 def value(self): 7117 '''int KIntNumInput.value()''' 7118 return int() 7119 7120 7121class KDoubleNumInput(KNumInput): 7122 """""" 7123 def __init__(self, parent = None): 7124 '''void KDoubleNumInput.__init__(QWidget parent = None)''' 7125 def __init__(self, lower, upper, value, parent = None, singleStep = None, precision = 2): 7126 '''void KDoubleNumInput.__init__(float lower, float upper, float value, QWidget parent = None, float singleStep = 0.01, int precision = 2)''' 7127 def __init__(self, below, lower, upper, value, parent = None, singleStep = None, precision = 2): 7128 '''void KDoubleNumInput.__init__(KNumInput below, float lower, float upper, float value, QWidget parent = None, float singleStep = 0.02, int precision = 2)''' 7129 def resizeEvent(self): 7130 '''QResizeEvent KDoubleNumInput.resizeEvent()''' 7131 return QResizeEvent() 7132 def doLayout(self): 7133 '''void KDoubleNumInput.doLayout()''' 7134 relativeValueChanged = pyqtSignal() # void relativeValueChanged(double) - signal 7135 valueChanged = pyqtSignal() # void valueChanged(double) - signal 7136 def setPrefix(self, prefix): 7137 '''void KDoubleNumInput.setPrefix(QString prefix)''' 7138 def setSuffix(self, suffix): 7139 '''void KDoubleNumInput.setSuffix(QString suffix)''' 7140 def setReferencePoint(self, ref): 7141 '''void KDoubleNumInput.setReferencePoint(float ref)''' 7142 def setRelativeValue(self): 7143 '''float KDoubleNumInput.setRelativeValue()''' 7144 return float() 7145 def setValue(self): 7146 '''float KDoubleNumInput.setValue()''' 7147 return float() 7148 def setExponentRatio(self, dbl): 7149 '''void KDoubleNumInput.setExponentRatio(float dbl)''' 7150 def exponentRatio(self): 7151 '''float KDoubleNumInput.exponentRatio()''' 7152 return float() 7153 def minimumSizeHint(self): 7154 '''QSize KDoubleNumInput.minimumSizeHint()''' 7155 return QSize() 7156 def setLabel(self, label, a = None): 7157 '''void KDoubleNumInput.setLabel(QString label, Qt.Alignment a = Qt.AlignLeft|Qt.AlignTop)''' 7158 def setSpecialValueText(self, text): 7159 '''void KDoubleNumInput.setSpecialValueText(QString text)''' 7160 def relativeValue(self): 7161 '''float KDoubleNumInput.relativeValue()''' 7162 return float() 7163 def referencePoint(self): 7164 '''float KDoubleNumInput.referencePoint()''' 7165 return float() 7166 def setPrecision(self, precision): 7167 '''void KDoubleNumInput.setPrecision(int precision)''' 7168 def setDecimals(self, decimals): 7169 '''void KDoubleNumInput.setDecimals(int decimals)''' 7170 def setSingleStep(self, singleStep): 7171 '''void KDoubleNumInput.setSingleStep(float singleStep)''' 7172 def singleStep(self): 7173 '''float KDoubleNumInput.singleStep()''' 7174 return float() 7175 def maximum(self): 7176 '''float KDoubleNumInput.maximum()''' 7177 return float() 7178 def setMaximum(self, max): 7179 '''void KDoubleNumInput.setMaximum(float max)''' 7180 def minimum(self): 7181 '''float KDoubleNumInput.minimum()''' 7182 return float() 7183 def setMinimum(self, min): 7184 '''void KDoubleNumInput.setMinimum(float min)''' 7185 def setSliderEnabled(self, enabled): 7186 '''void KDoubleNumInput.setSliderEnabled(bool enabled)''' 7187 def setRange(self, min, max, singleStep = 1, slider = True): 7188 '''void KDoubleNumInput.setRange(float min, float max, float singleStep = 1, bool slider = True)''' 7189 def specialValueText(self): 7190 '''QString KDoubleNumInput.specialValueText()''' 7191 return QString() 7192 def decimals(self): 7193 '''int KDoubleNumInput.decimals()''' 7194 return int() 7195 def prefix(self): 7196 '''QString KDoubleNumInput.prefix()''' 7197 return QString() 7198 def suffix(self): 7199 '''QString KDoubleNumInput.suffix()''' 7200 return QString() 7201 def value(self): 7202 '''float KDoubleNumInput.value()''' 7203 return float() 7204 7205 7206class KIntSpinBox(QSpinBox): 7207 """""" 7208 def __init__(self, parent = None): 7209 '''void KIntSpinBox.__init__(QWidget parent = None)''' 7210 def __init__(self, lower, upper, singleStep, value, parent, base = 10): 7211 '''void KIntSpinBox.__init__(int lower, int upper, int singleStep, int value, QWidget parent, int base = 10)''' 7212 def valueFromText(self, text): 7213 '''int KIntSpinBox.valueFromText(QString text)''' 7214 return int() 7215 def textFromValue(self): 7216 '''int KIntSpinBox.textFromValue()''' 7217 return int() 7218 def setSuffix(self, suffix): 7219 '''void KIntSpinBox.setSuffix(KLocalizedString suffix)''' 7220 def setEditFocus(self, mark): 7221 '''void KIntSpinBox.setEditFocus(bool mark)''' 7222 def base(self): 7223 '''int KIntSpinBox.base()''' 7224 return int() 7225 def setBase(self, base): 7226 '''void KIntSpinBox.setBase(int base)''' 7227 7228 7229class KIntValidator(QValidator): 7230 """""" 7231 def __init__(self, parent, base = 10): 7232 '''void KIntValidator.__init__(QWidget parent, int base = 10)''' 7233 def __init__(self, bottom, top, parent, base = 10): 7234 '''void KIntValidator.__init__(int bottom, int top, QWidget parent, int base = 10)''' 7235 def base(self): 7236 '''int KIntValidator.base()''' 7237 return int() 7238 def top(self): 7239 '''int KIntValidator.top()''' 7240 return int() 7241 def bottom(self): 7242 '''int KIntValidator.bottom()''' 7243 return int() 7244 def setBase(self, base): 7245 '''void KIntValidator.setBase(int base)''' 7246 def setRange(self, bottom, top): 7247 '''void KIntValidator.setRange(int bottom, int top)''' 7248 def fixup(self): 7249 '''QString KIntValidator.fixup()''' 7250 return QString() 7251 def validate(self): 7252 '''int KIntValidator.validate()''' 7253 return int() 7254 7255 7256class KFloatValidator(QValidator): 7257 """""" 7258 def __init__(self, parent): 7259 '''void KFloatValidator.__init__(QWidget parent)''' 7260 def __init__(self, bottom, top, parent): 7261 '''void KFloatValidator.__init__(float bottom, float top, QWidget parent)''' 7262 def __init__(self, bottom, top, localeAware, parent): 7263 '''void KFloatValidator.__init__(float bottom, float top, bool localeAware, QWidget parent)''' 7264 def acceptLocalizedNumbers(self): 7265 '''bool KFloatValidator.acceptLocalizedNumbers()''' 7266 return bool() 7267 def setAcceptLocalizedNumbers(self, b): 7268 '''void KFloatValidator.setAcceptLocalizedNumbers(bool b)''' 7269 def top(self): 7270 '''float KFloatValidator.top()''' 7271 return float() 7272 def bottom(self): 7273 '''float KFloatValidator.bottom()''' 7274 return float() 7275 def setRange(self, bottom, top): 7276 '''void KFloatValidator.setRange(float bottom, float top)''' 7277 def fixup(self): 7278 '''QString KFloatValidator.fixup()''' 7279 return QString() 7280 def validate(self): 7281 '''int KFloatValidator.validate()''' 7282 return int() 7283 7284 7285class KDoubleValidator(QDoubleValidator): 7286 """""" 7287 def __init__(self, parent): 7288 '''void KDoubleValidator.__init__(QObject parent)''' 7289 def __init__(self, bottom, top, decimals, parent): 7290 '''void KDoubleValidator.__init__(float bottom, float top, int decimals, QObject parent)''' 7291 def setAcceptLocalizedNumbers(self, accept): 7292 '''void KDoubleValidator.setAcceptLocalizedNumbers(bool accept)''' 7293 def acceptLocalizedNumbers(self): 7294 '''bool KDoubleValidator.acceptLocalizedNumbers()''' 7295 return bool() 7296 def validate(self, input, pos): 7297 '''QValidator.State KDoubleValidator.validate(QString input, int pos)''' 7298 return QValidator.State() 7299 7300 7301class KPageModel(QAbstractItemModel): 7302 """""" 7303 # Enum KPageModel.Role 7304 HeaderRole = 0 7305 WidgetRole = 0 7306 7307 def __init__(self, parent = None): 7308 '''void KPageModel.__init__(QObject parent = None)''' 7309 7310 7311class KPageView(QWidget): 7312 """""" 7313 # Enum KPageView.FaceType 7314 Auto = 0 7315 Plain = 0 7316 List = 0 7317 Tree = 0 7318 Tabbed = 0 7319 7320 def __init__(self, parent = None): 7321 '''void KPageView.__init__(QWidget parent = None)''' 7322 def viewPosition(self): 7323 '''Qt.Alignment KPageView.viewPosition()''' 7324 return Qt.Alignment() 7325 def showPageHeader(self): 7326 '''bool KPageView.showPageHeader()''' 7327 return bool() 7328 def createView(self): 7329 '''QAbstractItemView KPageView.createView()''' 7330 return QAbstractItemView() 7331 currentPageChanged = pyqtSignal() # void currentPageChanged(const QModelIndexamp;,const QModelIndexamp;) - signal 7332 def setDefaultWidget(self, widget): 7333 '''void KPageView.setDefaultWidget(QWidget widget)''' 7334 def itemDelegate(self): 7335 '''QAbstractItemDelegate KPageView.itemDelegate()''' 7336 return QAbstractItemDelegate() 7337 def setItemDelegate(self, delegate): 7338 '''void KPageView.setItemDelegate(QAbstractItemDelegate delegate)''' 7339 def currentPage(self): 7340 '''QModelIndex KPageView.currentPage()''' 7341 return QModelIndex() 7342 def setCurrentPage(self, index): 7343 '''void KPageView.setCurrentPage(QModelIndex index)''' 7344 def faceType(self): 7345 '''KPageView.FaceType KPageView.faceType()''' 7346 return KPageView.FaceType() 7347 def setFaceType(self, faceType): 7348 '''void KPageView.setFaceType(KPageView.FaceType faceType)''' 7349 def model(self): 7350 '''QAbstractItemModel KPageView.model()''' 7351 return QAbstractItemModel() 7352 def setModel(self, model): 7353 '''void KPageView.setModel(QAbstractItemModel model)''' 7354 7355 7356class KPageWidget(KPageView): 7357 """""" 7358 def __init__(self, parent = None): 7359 '''void KPageWidget.__init__(QWidget parent = None)''' 7360 pageRemoved = pyqtSignal() # void pageRemoved(KPageWidgetItem *) - signal 7361 pageToggled = pyqtSignal() # void pageToggled(KPageWidgetItem *,bool) - signal 7362 currentPageChanged = pyqtSignal() # void currentPageChanged(KPageWidgetItem *,KPageWidgetItem *) - signal 7363 def currentPage(self): 7364 '''KPageWidgetItem KPageWidget.currentPage()''' 7365 return KPageWidgetItem() 7366 def setCurrentPage(self, item): 7367 '''void KPageWidget.setCurrentPage(KPageWidgetItem item)''' 7368 def removePage(self, item): 7369 '''void KPageWidget.removePage(KPageWidgetItem item)''' 7370 def addSubPage(self, parent, widget, name): 7371 '''KPageWidgetItem KPageWidget.addSubPage(KPageWidgetItem parent, QWidget widget, QString name)''' 7372 return KPageWidgetItem() 7373 def addSubPage(self, parent, item): 7374 '''void KPageWidget.addSubPage(KPageWidgetItem parent, KPageWidgetItem item)''' 7375 def insertPage(self, before, widget, name): 7376 '''KPageWidgetItem KPageWidget.insertPage(KPageWidgetItem before, QWidget widget, QString name)''' 7377 return KPageWidgetItem() 7378 def insertPage(self, before, item): 7379 '''void KPageWidget.insertPage(KPageWidgetItem before, KPageWidgetItem item)''' 7380 def addPage(self, widget, name): 7381 '''KPageWidgetItem KPageWidget.addPage(QWidget widget, QString name)''' 7382 return KPageWidgetItem() 7383 def addPage(self, item): 7384 '''void KPageWidget.addPage(KPageWidgetItem item)''' 7385 7386 7387class KPageWidgetItem(QObject): 7388 """""" 7389 def __init__(self, widget): 7390 '''void KPageWidgetItem.__init__(QWidget widget)''' 7391 def __init__(self, widget, name): 7392 '''void KPageWidgetItem.__init__(QWidget widget, QString name)''' 7393 toggled = pyqtSignal() # void toggled(bool) - signal 7394 changed = pyqtSignal() # void changed() - signal 7395 def setChecked(self, checked): 7396 '''void KPageWidgetItem.setChecked(bool checked)''' 7397 def setEnabled(self): 7398 '''bool KPageWidgetItem.setEnabled()''' 7399 return bool() 7400 def isEnabled(self): 7401 '''bool KPageWidgetItem.isEnabled()''' 7402 return bool() 7403 def isChecked(self): 7404 '''bool KPageWidgetItem.isChecked()''' 7405 return bool() 7406 def isCheckable(self): 7407 '''bool KPageWidgetItem.isCheckable()''' 7408 return bool() 7409 def setCheckable(self, checkable): 7410 '''void KPageWidgetItem.setCheckable(bool checkable)''' 7411 def icon(self): 7412 '''KIcon KPageWidgetItem.icon()''' 7413 return KIcon() 7414 def setIcon(self, icon): 7415 '''void KPageWidgetItem.setIcon(KIcon icon)''' 7416 def header(self): 7417 '''QString KPageWidgetItem.header()''' 7418 return QString() 7419 def setHeader(self, header): 7420 '''void KPageWidgetItem.setHeader(QString header)''' 7421 def name(self): 7422 '''QString KPageWidgetItem.name()''' 7423 return QString() 7424 def setName(self, name): 7425 '''void KPageWidgetItem.setName(QString name)''' 7426 def widget(self): 7427 '''QWidget KPageWidgetItem.widget()''' 7428 return QWidget() 7429 7430 7431class KPageWidgetModel(KPageModel): 7432 """""" 7433 def __init__(self, parent = None): 7434 '''void KPageWidgetModel.__init__(QObject parent = None)''' 7435 toggled = pyqtSignal() # void toggled(KPageWidgetItem *,bool) - signal 7436 def item(self, index): 7437 '''KPageWidgetItem KPageWidgetModel.item(QModelIndex index)''' 7438 return KPageWidgetItem() 7439 def rowCount(self, parent = QModelIndex()): 7440 '''int KPageWidgetModel.rowCount(QModelIndex parent = QModelIndex())''' 7441 return int() 7442 def parent(self, index): 7443 '''QModelIndex KPageWidgetModel.parent(QModelIndex index)''' 7444 return QModelIndex() 7445 def index(self, row, column, parent = QModelIndex()): 7446 '''QModelIndex KPageWidgetModel.index(int row, int column, QModelIndex parent = QModelIndex())''' 7447 return QModelIndex() 7448 def index(self, item): 7449 '''QModelIndex KPageWidgetModel.index(KPageWidgetItem item)''' 7450 return QModelIndex() 7451 def flags(self, index): 7452 '''Qt.ItemFlags KPageWidgetModel.flags(QModelIndex index)''' 7453 return Qt.ItemFlags() 7454 def setData(self, index, value, role = None): 7455 '''bool KPageWidgetModel.setData(QModelIndex index, QVariant value, int role = Qt.EditRole)''' 7456 return bool() 7457 def data(self, index, role = None): 7458 '''QVariant KPageWidgetModel.data(QModelIndex index, int role = Qt.DisplayRole)''' 7459 return QVariant() 7460 def columnCount(self, parent = QModelIndex()): 7461 '''int KPageWidgetModel.columnCount(QModelIndex parent = QModelIndex())''' 7462 return int() 7463 def removePage(self, item): 7464 '''void KPageWidgetModel.removePage(KPageWidgetItem item)''' 7465 def addSubPage(self, parent, widget, name): 7466 '''KPageWidgetItem KPageWidgetModel.addSubPage(KPageWidgetItem parent, QWidget widget, QString name)''' 7467 return KPageWidgetItem() 7468 def addSubPage(self, parent, item): 7469 '''void KPageWidgetModel.addSubPage(KPageWidgetItem parent, KPageWidgetItem item)''' 7470 def insertPage(self, before, widget, name): 7471 '''KPageWidgetItem KPageWidgetModel.insertPage(KPageWidgetItem before, QWidget widget, QString name)''' 7472 return KPageWidgetItem() 7473 def insertPage(self, before, item): 7474 '''void KPageWidgetModel.insertPage(KPageWidgetItem before, KPageWidgetItem item)''' 7475 def addPage(self, widget, name): 7476 '''KPageWidgetItem KPageWidgetModel.addPage(QWidget widget, QString name)''' 7477 return KPageWidgetItem() 7478 def addPage(self, item): 7479 '''void KPageWidgetModel.addPage(KPageWidgetItem item)''' 7480 7481 7482class KPassivePopup(QFrame): 7483 """""" 7484 # Enum KPassivePopup.PopupStyle 7485 Boxed = 0 7486 Balloon = 0 7487 CustomStyle = 0 7488 7489 def __init__(self, parent = None, f = 0): 7490 '''void KPassivePopup.__init__(QWidget parent = None, Qt.WindowFlags f = 0)''' 7491 def __init__(self, parent): 7492 '''void KPassivePopup.__init__(int parent)''' 7493 def paintEvent(self, pe): 7494 '''void KPassivePopup.paintEvent(QPaintEvent pe)''' 7495 def updateMask(self): 7496 '''void KPassivePopup.updateMask()''' 7497 def mouseReleaseEvent(self, e): 7498 '''void KPassivePopup.mouseReleaseEvent(QMouseEvent e)''' 7499 def calculateNearbyPoint(self, target): 7500 '''QPoint KPassivePopup.calculateNearbyPoint(QRect target)''' 7501 return QPoint() 7502 def moveNear(self, target): 7503 '''void KPassivePopup.moveNear(QRect target)''' 7504 def hideEvent(self): 7505 '''QHideEvent KPassivePopup.hideEvent()''' 7506 return QHideEvent() 7507 def positionSelf(self): 7508 '''void KPassivePopup.positionSelf()''' 7509 clicked = pyqtSignal() # void clicked() - signal 7510 clicked = pyqtSignal() # void clicked(const QPointamp;) - signal 7511 def setVisible(self, visible): 7512 '''void KPassivePopup.setVisible(bool visible)''' 7513 def show(self): 7514 '''void KPassivePopup.show()''' 7515 def show(self, p): 7516 '''void KPassivePopup.show(QPoint p)''' 7517 def setPopupStyle(self, popupstyle): 7518 '''void KPassivePopup.setPopupStyle(int popupstyle)''' 7519 def setTimeout(self, delay): 7520 '''void KPassivePopup.setTimeout(int delay)''' 7521 def message(self, text, parent): 7522 '''static KPassivePopup KPassivePopup.message(QString text, QWidget parent)''' 7523 return KPassivePopup() 7524 def message(self, text, parent): 7525 '''static KPassivePopup KPassivePopup.message(QString text, QSystemTrayIcon parent)''' 7526 return KPassivePopup() 7527 def message(self, caption, text, parent): 7528 '''static KPassivePopup KPassivePopup.message(QString caption, QString text, QWidget parent)''' 7529 return KPassivePopup() 7530 def message(self, caption, text, parent): 7531 '''static KPassivePopup KPassivePopup.message(QString caption, QString text, QSystemTrayIcon parent)''' 7532 return KPassivePopup() 7533 def message(self, caption, text, icon, parent, timeout = None): 7534 '''static KPassivePopup KPassivePopup.message(QString caption, QString text, QPixmap icon, QWidget parent, int timeout = -1)''' 7535 return KPassivePopup() 7536 def message(self, caption, text, icon, parent, timeout = None): 7537 '''static KPassivePopup KPassivePopup.message(QString caption, QString text, QPixmap icon, QSystemTrayIcon parent, int timeout = -1)''' 7538 return KPassivePopup() 7539 def message(self, caption, text, icon, parent, timeout = None): 7540 '''static KPassivePopup KPassivePopup.message(QString caption, QString text, QPixmap icon, int parent, int timeout = -1)''' 7541 return KPassivePopup() 7542 def message(self, popupStyle, text, parent): 7543 '''static KPassivePopup KPassivePopup.message(int popupStyle, QString text, QWidget parent)''' 7544 return KPassivePopup() 7545 def message(self, popupStyle, text, parent): 7546 '''static KPassivePopup KPassivePopup.message(int popupStyle, QString text, QSystemTrayIcon parent)''' 7547 return KPassivePopup() 7548 def message(self, popupStyle, caption, text, parent): 7549 '''static KPassivePopup KPassivePopup.message(int popupStyle, QString caption, QString text, QSystemTrayIcon parent)''' 7550 return KPassivePopup() 7551 def message(self, popupStyle, caption, text, parent): 7552 '''static KPassivePopup KPassivePopup.message(int popupStyle, QString caption, QString text, QWidget parent)''' 7553 return KPassivePopup() 7554 def message(self, popupStyle, caption, text, icon, parent, timeout = None): 7555 '''static KPassivePopup KPassivePopup.message(int popupStyle, QString caption, QString text, QPixmap icon, QWidget parent, int timeout = -1)''' 7556 return KPassivePopup() 7557 def message(self, popupStyle, caption, text, icon, parent, timeout = None): 7558 '''static KPassivePopup KPassivePopup.message(int popupStyle, QString caption, QString text, QPixmap icon, QSystemTrayIcon parent, int timeout = -1)''' 7559 return KPassivePopup() 7560 def message(self, popupStyle, caption, text, icon, parent, timeout = None): 7561 '''static KPassivePopup KPassivePopup.message(int popupStyle, QString caption, QString text, QPixmap icon, int parent, int timeout = -1)''' 7562 return KPassivePopup() 7563 def setAnchor(self, anchor): 7564 '''void KPassivePopup.setAnchor(QPoint anchor)''' 7565 def anchor(self): 7566 '''QPoint KPassivePopup.anchor()''' 7567 return QPoint() 7568 def defaultArea(self): 7569 '''QRect KPassivePopup.defaultArea()''' 7570 return QRect() 7571 def autoDelete(self): 7572 '''bool KPassivePopup.autoDelete()''' 7573 return bool() 7574 def setAutoDelete(self, autoDelete): 7575 '''void KPassivePopup.setAutoDelete(bool autoDelete)''' 7576 def timeout(self): 7577 '''int KPassivePopup.timeout()''' 7578 return int() 7579 def view(self): 7580 '''QWidget KPassivePopup.view()''' 7581 return QWidget() 7582 def standardView(self, caption, text, icon, parent = None): 7583 '''KVBox KPassivePopup.standardView(QString caption, QString text, QPixmap icon, QWidget parent = None)''' 7584 return KVBox() 7585 def setView(self, child): 7586 '''void KPassivePopup.setView(QWidget child)''' 7587 def setView(self, caption, text = QString()): 7588 '''void KPassivePopup.setView(QString caption, QString text = QString())''' 7589 def setView(self, caption, text, icon): 7590 '''void KPassivePopup.setView(QString caption, QString text, QPixmap icon)''' 7591 7592 7593class KPassivePopupMessageHandler(QObject, KMessageHandler): 7594 """""" 7595 def __init__(self, parent = None): 7596 '''void KPassivePopupMessageHandler.__init__(QWidget parent = None)''' 7597 def message(self, messageType, text, caption): 7598 '''void KPassivePopupMessageHandler.message(KMessage.MessageType messageType, QString text, QString caption)''' 7599 7600 7601class KPasswordDialog(KDialog): 7602 """""" 7603 # Enum KPasswordDialog.ErrorType 7604 UnknownError = 0 7605 UsernameError = 0 7606 PasswordError = 0 7607 FatalError = 0 7608 DomainError = 0 7609 7610 # Enum KPasswordDialog.KPasswordDialogFlag 7611 NoFlags = 0 7612 ShowKeepPassword = 0 7613 ShowUsernameLine = 0 7614 UsernameReadOnly = 0 7615 ShowAnonymousLoginCheckBox = 0 7616 ShowDomainLine = 0 7617 DomainReadOnly = 0 7618 7619 def __init__(self, parent = None, flags = 0, otherButtons = 0): 7620 '''void KPasswordDialog.__init__(QWidget parent = None, KPasswordDialog.KPasswordDialogFlags flags = 0, KDialog.ButtonCodes otherButtons = 0)''' 7621 def checkPassword(self): 7622 '''bool KPasswordDialog.checkPassword()''' 7623 return bool() 7624 gotUsernameAndPassword = pyqtSignal() # void gotUsernameAndPassword(const QStringamp;,const QStringamp;,bool) - signal 7625 gotPassword = pyqtSignal() # void gotPassword(const QStringamp;,bool) - signal 7626 def accept(self): 7627 '''void KPasswordDialog.accept()''' 7628 def setKnownLogins(self, knownLogins): 7629 '''void KPasswordDialog.setKnownLogins(dict-of-QString-QString knownLogins)''' 7630 def setPassword(self, password): 7631 '''void KPasswordDialog.setPassword(QString password)''' 7632 def setUsernameReadOnly(self, readOnly): 7633 '''void KPasswordDialog.setUsernameReadOnly(bool readOnly)''' 7634 def setKeepPassword(self, b): 7635 '''void KPasswordDialog.setKeepPassword(bool b)''' 7636 def keepPassword(self): 7637 '''bool KPasswordDialog.keepPassword()''' 7638 return bool() 7639 def anonymousMode(self): 7640 '''bool KPasswordDialog.anonymousMode()''' 7641 return bool() 7642 def setAnonymousMode(self, anonymous): 7643 '''void KPasswordDialog.setAnonymousMode(bool anonymous)''' 7644 def domain(self): 7645 '''QString KPasswordDialog.domain()''' 7646 return QString() 7647 def setDomain(self): 7648 '''QString KPasswordDialog.setDomain()''' 7649 return QString() 7650 def username(self): 7651 '''QString KPasswordDialog.username()''' 7652 return QString() 7653 def setUsername(self): 7654 '''QString KPasswordDialog.setUsername()''' 7655 return QString() 7656 def password(self): 7657 '''QString KPasswordDialog.password()''' 7658 return QString() 7659 def showErrorMessage(self, message, type = None): 7660 '''void KPasswordDialog.showErrorMessage(QString message, KPasswordDialog.ErrorType type = KPasswordDialog.PasswordError)''' 7661 def addCommentLine(self, label, comment): 7662 '''void KPasswordDialog.addCommentLine(QString label, QString comment)''' 7663 def pixmap(self): 7664 '''QPixmap KPasswordDialog.pixmap()''' 7665 return QPixmap() 7666 def setPixmap(self): 7667 '''QPixmap KPasswordDialog.setPixmap()''' 7668 return QPixmap() 7669 def prompt(self): 7670 '''QString KPasswordDialog.prompt()''' 7671 return QString() 7672 def setPrompt(self, prompt): 7673 '''void KPasswordDialog.setPrompt(QString prompt)''' 7674 class KPasswordDialogFlags(): 7675 """""" 7676 def __init__(self): 7677 '''KPasswordDialog.KPasswordDialogFlags KPasswordDialog.KPasswordDialogFlags.__init__()''' 7678 return KPasswordDialog.KPasswordDialogFlags() 7679 def __init__(self): 7680 '''int KPasswordDialog.KPasswordDialogFlags.__init__()''' 7681 return int() 7682 def __init__(self): 7683 '''void KPasswordDialog.KPasswordDialogFlags.__init__()''' 7684 def __bool__(self): 7685 '''int KPasswordDialog.KPasswordDialogFlags.__bool__()''' 7686 return int() 7687 def __ne__(self, f): 7688 '''bool KPasswordDialog.KPasswordDialogFlags.__ne__(KPasswordDialog.KPasswordDialogFlags f)''' 7689 return bool() 7690 def __eq__(self, f): 7691 '''bool KPasswordDialog.KPasswordDialogFlags.__eq__(KPasswordDialog.KPasswordDialogFlags f)''' 7692 return bool() 7693 def __invert__(self): 7694 '''KPasswordDialog.KPasswordDialogFlags KPasswordDialog.KPasswordDialogFlags.__invert__()''' 7695 return KPasswordDialog.KPasswordDialogFlags() 7696 def __and__(self, mask): 7697 '''KPasswordDialog.KPasswordDialogFlags KPasswordDialog.KPasswordDialogFlags.__and__(int mask)''' 7698 return KPasswordDialog.KPasswordDialogFlags() 7699 def __xor__(self, f): 7700 '''KPasswordDialog.KPasswordDialogFlags KPasswordDialog.KPasswordDialogFlags.__xor__(KPasswordDialog.KPasswordDialogFlags f)''' 7701 return KPasswordDialog.KPasswordDialogFlags() 7702 def __xor__(self, f): 7703 '''KPasswordDialog.KPasswordDialogFlags KPasswordDialog.KPasswordDialogFlags.__xor__(int f)''' 7704 return KPasswordDialog.KPasswordDialogFlags() 7705 def __or__(self, f): 7706 '''KPasswordDialog.KPasswordDialogFlags KPasswordDialog.KPasswordDialogFlags.__or__(KPasswordDialog.KPasswordDialogFlags f)''' 7707 return KPasswordDialog.KPasswordDialogFlags() 7708 def __or__(self, f): 7709 '''KPasswordDialog.KPasswordDialogFlags KPasswordDialog.KPasswordDialogFlags.__or__(int f)''' 7710 return KPasswordDialog.KPasswordDialogFlags() 7711 def __int__(self): 7712 '''int KPasswordDialog.KPasswordDialogFlags.__int__()''' 7713 return int() 7714 def __ixor__(self, f): 7715 '''KPasswordDialog.KPasswordDialogFlags KPasswordDialog.KPasswordDialogFlags.__ixor__(KPasswordDialog.KPasswordDialogFlags f)''' 7716 return KPasswordDialog.KPasswordDialogFlags() 7717 def __ior__(self, f): 7718 '''KPasswordDialog.KPasswordDialogFlags KPasswordDialog.KPasswordDialogFlags.__ior__(KPasswordDialog.KPasswordDialogFlags f)''' 7719 return KPasswordDialog.KPasswordDialogFlags() 7720 def __iand__(self, mask): 7721 '''KPasswordDialog.KPasswordDialogFlags KPasswordDialog.KPasswordDialogFlags.__iand__(int mask)''' 7722 return KPasswordDialog.KPasswordDialogFlags() 7723 7724 7725class KPasteTextAction(KAction): 7726 """""" 7727 def __init__(self, parent): 7728 '''void KPasteTextAction.__init__(QObject parent)''' 7729 def __init__(self, text, parent): 7730 '''void KPasteTextAction.__init__(QString text, QObject parent)''' 7731 def __init__(self, icon, text, parent): 7732 '''void KPasteTextAction.__init__(KIcon icon, QString text, QObject parent)''' 7733 def setMixedMode(self, mode): 7734 '''void KPasteTextAction.setMixedMode(bool mode)''' 7735 7736 7737class KPixmapProvider(): 7738 """""" 7739 def __init__(self): 7740 '''void KPixmapProvider.__init__()''' 7741 def __init__(self): 7742 '''KPixmapProvider KPixmapProvider.__init__()''' 7743 return KPixmapProvider() 7744 def pixmapFor(self, text, size = 0): 7745 '''abstract QPixmap KPixmapProvider.pixmapFor(QString text, int size = 0)''' 7746 return QPixmap() 7747 7748 7749class KPixmapRegionSelectorDialog(KDialog): 7750 """""" 7751 def __init__(self, parent = None): 7752 '''void KPixmapRegionSelectorDialog.__init__(QWidget parent = None)''' 7753 def adjustRegionSelectorWidgetSizeToFitScreen(self): 7754 '''void KPixmapRegionSelectorDialog.adjustRegionSelectorWidgetSizeToFitScreen()''' 7755 def getSelectedImage(self, pixmap, parent = None): 7756 '''static QImage KPixmapRegionSelectorDialog.getSelectedImage(QPixmap pixmap, QWidget parent = None)''' 7757 return QImage() 7758 def getSelectedImage(self, pixmap, aspectRatioWidth, aspectRatioHeight, parent = None): 7759 '''static QImage KPixmapRegionSelectorDialog.getSelectedImage(QPixmap pixmap, int aspectRatioWidth, int aspectRatioHeight, QWidget parent = None)''' 7760 return QImage() 7761 def getSelectedRegion(self, pixmap, parent = None): 7762 '''static QRect KPixmapRegionSelectorDialog.getSelectedRegion(QPixmap pixmap, QWidget parent = None)''' 7763 return QRect() 7764 def getSelectedRegion(self, pixmap, aspectRatioWidth, aspectRatioHeight, parent = None): 7765 '''static QRect KPixmapRegionSelectorDialog.getSelectedRegion(QPixmap pixmap, int aspectRatioWidth, int aspectRatioHeight, QWidget parent = None)''' 7766 return QRect() 7767 def pixmapRegionSelectorWidget(self): 7768 '''KPixmapRegionSelectorWidget KPixmapRegionSelectorDialog.pixmapRegionSelectorWidget()''' 7769 return KPixmapRegionSelectorWidget() 7770 7771 7772class KPixmapRegionSelectorWidget(QWidget): 7773 """""" 7774 # Enum KPixmapRegionSelectorWidget.RotateDirection 7775 Rotate90 = 0 7776 Rotate180 = 0 7777 Rotate270 = 0 7778 7779 def __init__(self, parent = None): 7780 '''void KPixmapRegionSelectorWidget.__init__(QWidget parent = None)''' 7781 pixmapRotated = pyqtSignal() # void pixmapRotated() - signal 7782 def createPopupMenu(self): 7783 '''KMenu KPixmapRegionSelectorWidget.createPopupMenu()''' 7784 return KMenu() 7785 def rotateCounterclockwise(self): 7786 '''void KPixmapRegionSelectorWidget.rotateCounterclockwise()''' 7787 def rotateClockwise(self): 7788 '''void KPixmapRegionSelectorWidget.rotateClockwise()''' 7789 def rotate(self, direction): 7790 '''void KPixmapRegionSelectorWidget.rotate(KPixmapRegionSelectorWidget.RotateDirection direction)''' 7791 def setMaximumWidgetSize(self, width, height): 7792 '''void KPixmapRegionSelectorWidget.setMaximumWidgetSize(int width, int height)''' 7793 def setFreeSelectionAspectRatio(self): 7794 '''void KPixmapRegionSelectorWidget.setFreeSelectionAspectRatio()''' 7795 def setSelectionAspectRatio(self, width, height): 7796 '''void KPixmapRegionSelectorWidget.setSelectionAspectRatio(int width, int height)''' 7797 def selectedImage(self): 7798 '''QImage KPixmapRegionSelectorWidget.selectedImage()''' 7799 return QImage() 7800 def resetSelection(self): 7801 '''void KPixmapRegionSelectorWidget.resetSelection()''' 7802 def unzoomedSelectedRegion(self): 7803 '''QRect KPixmapRegionSelectorWidget.unzoomedSelectedRegion()''' 7804 return QRect() 7805 def selectedRegion(self): 7806 '''QRect KPixmapRegionSelectorWidget.selectedRegion()''' 7807 return QRect() 7808 def setSelectedRegion(self, rect): 7809 '''void KPixmapRegionSelectorWidget.setSelectedRegion(QRect rect)''' 7810 def pixmap(self): 7811 '''QPixmap KPixmapRegionSelectorWidget.pixmap()''' 7812 return QPixmap() 7813 def setPixmap(self, pixmap): 7814 '''void KPixmapRegionSelectorWidget.setPixmap(QPixmap pixmap)''' 7815 7816 7817class KPixmapSequence(): 7818 """""" 7819 def __init__(self): 7820 '''void KPixmapSequence.__init__()''' 7821 def __init__(self, other): 7822 '''void KPixmapSequence.__init__(KPixmapSequence other)''' 7823 def __init__(self, pixmap, frameSize = QSize()): 7824 '''void KPixmapSequence.__init__(QPixmap pixmap, QSize frameSize = QSize())''' 7825 def __init__(self, iconName, size = None): 7826 '''void KPixmapSequence.__init__(QString iconName, int size = KIconLoader.SizeSmall)''' 7827 def frameAt(self, index): 7828 '''QPixmap KPixmapSequence.frameAt(int index)''' 7829 return QPixmap() 7830 def frameCount(self): 7831 '''int KPixmapSequence.frameCount()''' 7832 return int() 7833 def frameSize(self): 7834 '''QSize KPixmapSequence.frameSize()''' 7835 return QSize() 7836 def isEmpty(self): 7837 '''bool KPixmapSequence.isEmpty()''' 7838 return bool() 7839 def isValid(self): 7840 '''bool KPixmapSequence.isValid()''' 7841 return bool() 7842 7843 7844class KPixmapSequenceOverlayPainter(QObject): 7845 """""" 7846 def __init__(self, parent = None): 7847 '''void KPixmapSequenceOverlayPainter.__init__(QObject parent = None)''' 7848 def stop(self): 7849 '''void KPixmapSequenceOverlayPainter.stop()''' 7850 def start(self): 7851 '''void KPixmapSequenceOverlayPainter.start()''' 7852 def setOffset(self, offset): 7853 '''void KPixmapSequenceOverlayPainter.setOffset(QPoint offset)''' 7854 def setAlignment(self, align): 7855 '''void KPixmapSequenceOverlayPainter.setAlignment(Qt.Alignment align)''' 7856 def setRect(self, rect): 7857 '''void KPixmapSequenceOverlayPainter.setRect(QRect rect)''' 7858 def setWidget(self, w): 7859 '''void KPixmapSequenceOverlayPainter.setWidget(QWidget w)''' 7860 def setInterval(self, msecs): 7861 '''void KPixmapSequenceOverlayPainter.setInterval(int msecs)''' 7862 def setSequence(self, seq): 7863 '''void KPixmapSequenceOverlayPainter.setSequence(KPixmapSequence seq)''' 7864 def offset(self): 7865 '''QPoint KPixmapSequenceOverlayPainter.offset()''' 7866 return QPoint() 7867 def alignment(self): 7868 '''Qt.Alignment KPixmapSequenceOverlayPainter.alignment()''' 7869 return Qt.Alignment() 7870 def rect(self): 7871 '''QRect KPixmapSequenceOverlayPainter.rect()''' 7872 return QRect() 7873 def interval(self): 7874 '''int KPixmapSequenceOverlayPainter.interval()''' 7875 return int() 7876 def sequence(self): 7877 '''KPixmapSequence KPixmapSequenceOverlayPainter.sequence()''' 7878 return KPixmapSequence() 7879 7880 7881class KPixmapSequenceWidget(QWidget): 7882 """""" 7883 def __init__(self, parent = None): 7884 '''void KPixmapSequenceWidget.__init__(QWidget parent = None)''' 7885 def setInterval(self, msecs): 7886 '''void KPixmapSequenceWidget.setInterval(int msecs)''' 7887 def setSequence(self, seq): 7888 '''void KPixmapSequenceWidget.setSequence(KPixmapSequence seq)''' 7889 def sizeHint(self): 7890 '''QSize KPixmapSequenceWidget.sizeHint()''' 7891 return QSize() 7892 def interval(self): 7893 '''int KPixmapSequenceWidget.interval()''' 7894 return int() 7895 def sequence(self): 7896 '''KPixmapSequence KPixmapSequenceWidget.sequence()''' 7897 return KPixmapSequence() 7898 7899 7900class KPlotAxis(): 7901 """""" 7902 def __init__(self, label = QString()): 7903 '''void KPlotAxis.__init__(QString label = QString())''' 7904 def minorTickMarks(self): 7905 '''list-of-float KPlotAxis.minorTickMarks()''' 7906 return [float()] 7907 def majorTickMarks(self): 7908 '''list-of-float KPlotAxis.majorTickMarks()''' 7909 return [float()] 7910 def setTickMarks(self, x0, length): 7911 '''void KPlotAxis.setTickMarks(float x0, float length)''' 7912 def tickLabelPrecision(self): 7913 '''int KPlotAxis.tickLabelPrecision()''' 7914 return int() 7915 def tickLabelFormat(self): 7916 '''str KPlotAxis.tickLabelFormat()''' 7917 return str() 7918 def tickLabelWidth(self): 7919 '''int KPlotAxis.tickLabelWidth()''' 7920 return int() 7921 def setTickLabelFormat(self, format = None, fieldWidth = 0, precision = None): 7922 '''void KPlotAxis.setTickLabelFormat(str format = 'g', int fieldWidth = 0, int precision = -1)''' 7923 def tickLabel(self, value): 7924 '''QString KPlotAxis.tickLabel(float value)''' 7925 return QString() 7926 def label(self): 7927 '''QString KPlotAxis.label()''' 7928 return QString() 7929 def setLabel(self, label): 7930 '''void KPlotAxis.setLabel(QString label)''' 7931 def setTickLabelsShown(self, b): 7932 '''void KPlotAxis.setTickLabelsShown(bool b)''' 7933 def areTickLabelsShown(self): 7934 '''bool KPlotAxis.areTickLabelsShown()''' 7935 return bool() 7936 def setVisible(self, visible): 7937 '''void KPlotAxis.setVisible(bool visible)''' 7938 def isVisible(self): 7939 '''bool KPlotAxis.isVisible()''' 7940 return bool() 7941 7942 7943class KPlotObject(): 7944 """""" 7945 # Enum KPlotObject.PointStyle 7946 NoPoints = 0 7947 Circle = 0 7948 Letter = 0 7949 Triangle = 0 7950 Square = 0 7951 Pentagon = 0 7952 Hexagon = 0 7953 Asterisk = 0 7954 Star = 0 7955 UnknwonPoint = 0 7956 7957 # Enum KPlotObject.PlotType 7958 UnknownType = 0 7959 Points = 0 7960 Lines = 0 7961 Bars = 0 7962 7963 def __init__(self, color = None, otype = None, size = 2, ps = None): 7964 '''void KPlotObject.__init__(QColor color = Qt.white, KPlotObject.PlotType otype = KPlotObject.Points, float size = 2, KPlotObject.PointStyle ps = KPlotObject.Circle)''' 7965 def draw(self, p, pw): 7966 '''void KPlotObject.draw(QPainter p, KPlotWidget pw)''' 7967 def clearPoints(self): 7968 '''void KPlotObject.clearPoints()''' 7969 def removePoint(self, index): 7970 '''void KPlotObject.removePoint(int index)''' 7971 def addPoint(self, p, label = QString(), barWidth = 0): 7972 '''void KPlotObject.addPoint(QPointF p, QString label = QString(), float barWidth = 0)''' 7973 def addPoint(self, p): 7974 '''void KPlotObject.addPoint(KPlotPoint p)''' 7975 def addPoint(self, x, y, label = QString(), barWidth = 0): 7976 '''void KPlotObject.addPoint(float x, float y, QString label = QString(), float barWidth = 0)''' 7977 def points(self): 7978 '''list-of-KPlotPoint KPlotObject.points()''' 7979 return [KPlotPoint()] 7980 def setBarBrush(self, b): 7981 '''void KPlotObject.setBarBrush(QBrush b)''' 7982 def barBrush(self): 7983 '''QBrush KPlotObject.barBrush()''' 7984 return QBrush() 7985 def setBrush(self, b): 7986 '''void KPlotObject.setBrush(QBrush b)''' 7987 def brush(self): 7988 '''QBrush KPlotObject.brush()''' 7989 return QBrush() 7990 def setLabelPen(self, p): 7991 '''void KPlotObject.setLabelPen(QPen p)''' 7992 def labelPen(self): 7993 '''QPen KPlotObject.labelPen()''' 7994 return QPen() 7995 def setBarPen(self, p): 7996 '''void KPlotObject.setBarPen(QPen p)''' 7997 def barPen(self): 7998 '''QPen KPlotObject.barPen()''' 7999 return QPen() 8000 def setLinePen(self, p): 8001 '''void KPlotObject.setLinePen(QPen p)''' 8002 def linePen(self): 8003 '''QPen KPlotObject.linePen()''' 8004 return QPen() 8005 def setPen(self, p): 8006 '''void KPlotObject.setPen(QPen p)''' 8007 def pen(self): 8008 '''QPen KPlotObject.pen()''' 8009 return QPen() 8010 def setPointStyle(self, p): 8011 '''void KPlotObject.setPointStyle(KPlotObject.PointStyle p)''' 8012 def pointStyle(self): 8013 '''KPlotObject.PointStyle KPlotObject.pointStyle()''' 8014 return KPlotObject.PointStyle() 8015 def setSize(self, s): 8016 '''void KPlotObject.setSize(float s)''' 8017 def size(self): 8018 '''float KPlotObject.size()''' 8019 return float() 8020 def setShowBars(self, b): 8021 '''void KPlotObject.setShowBars(bool b)''' 8022 def setShowLines(self, b): 8023 '''void KPlotObject.setShowLines(bool b)''' 8024 def setShowPoints(self, b): 8025 '''void KPlotObject.setShowPoints(bool b)''' 8026 def plotTypes(self): 8027 '''KPlotObject.PlotTypes KPlotObject.plotTypes()''' 8028 return KPlotObject.PlotTypes() 8029 class PlotTypes(): 8030 """""" 8031 def __init__(self): 8032 '''KPlotObject.PlotTypes KPlotObject.PlotTypes.__init__()''' 8033 return KPlotObject.PlotTypes() 8034 def __init__(self): 8035 '''int KPlotObject.PlotTypes.__init__()''' 8036 return int() 8037 def __init__(self): 8038 '''void KPlotObject.PlotTypes.__init__()''' 8039 def __bool__(self): 8040 '''int KPlotObject.PlotTypes.__bool__()''' 8041 return int() 8042 def __ne__(self, f): 8043 '''bool KPlotObject.PlotTypes.__ne__(KPlotObject.PlotTypes f)''' 8044 return bool() 8045 def __eq__(self, f): 8046 '''bool KPlotObject.PlotTypes.__eq__(KPlotObject.PlotTypes f)''' 8047 return bool() 8048 def __invert__(self): 8049 '''KPlotObject.PlotTypes KPlotObject.PlotTypes.__invert__()''' 8050 return KPlotObject.PlotTypes() 8051 def __and__(self, mask): 8052 '''KPlotObject.PlotTypes KPlotObject.PlotTypes.__and__(int mask)''' 8053 return KPlotObject.PlotTypes() 8054 def __xor__(self, f): 8055 '''KPlotObject.PlotTypes KPlotObject.PlotTypes.__xor__(KPlotObject.PlotTypes f)''' 8056 return KPlotObject.PlotTypes() 8057 def __xor__(self, f): 8058 '''KPlotObject.PlotTypes KPlotObject.PlotTypes.__xor__(int f)''' 8059 return KPlotObject.PlotTypes() 8060 def __or__(self, f): 8061 '''KPlotObject.PlotTypes KPlotObject.PlotTypes.__or__(KPlotObject.PlotTypes f)''' 8062 return KPlotObject.PlotTypes() 8063 def __or__(self, f): 8064 '''KPlotObject.PlotTypes KPlotObject.PlotTypes.__or__(int f)''' 8065 return KPlotObject.PlotTypes() 8066 def __int__(self): 8067 '''int KPlotObject.PlotTypes.__int__()''' 8068 return int() 8069 def __ixor__(self, f): 8070 '''KPlotObject.PlotTypes KPlotObject.PlotTypes.__ixor__(KPlotObject.PlotTypes f)''' 8071 return KPlotObject.PlotTypes() 8072 def __ior__(self, f): 8073 '''KPlotObject.PlotTypes KPlotObject.PlotTypes.__ior__(KPlotObject.PlotTypes f)''' 8074 return KPlotObject.PlotTypes() 8075 def __iand__(self, mask): 8076 '''KPlotObject.PlotTypes KPlotObject.PlotTypes.__iand__(int mask)''' 8077 return KPlotObject.PlotTypes() 8078 8079 8080class KPlotPoint(): 8081 """""" 8082 def __init__(self): 8083 '''void KPlotPoint.__init__()''' 8084 def __init__(self, x, y, label = QString(), width = 0): 8085 '''void KPlotPoint.__init__(float x, float y, QString label = QString(), float width = 0)''' 8086 def __init__(self, p, label = QString(), width = 0): 8087 '''void KPlotPoint.__init__(QPointF p, QString label = QString(), float width = 0)''' 8088 def setBarWidth(self, w): 8089 '''void KPlotPoint.setBarWidth(float w)''' 8090 def barWidth(self): 8091 '''float KPlotPoint.barWidth()''' 8092 return float() 8093 def setLabel(self, label): 8094 '''void KPlotPoint.setLabel(QString label)''' 8095 def label(self): 8096 '''QString KPlotPoint.label()''' 8097 return QString() 8098 def setY(self, y): 8099 '''void KPlotPoint.setY(float y)''' 8100 def y(self): 8101 '''float KPlotPoint.y()''' 8102 return float() 8103 def setX(self, x): 8104 '''void KPlotPoint.setX(float x)''' 8105 def x(self): 8106 '''float KPlotPoint.x()''' 8107 return float() 8108 def setPosition(self, pos): 8109 '''void KPlotPoint.setPosition(QPointF pos)''' 8110 def position(self): 8111 '''QPointF KPlotPoint.position()''' 8112 return QPointF() 8113 8114 8115class KPlotWidget(QFrame): 8116 """""" 8117 # Enum KPlotWidget.Axis 8118 LeftAxis = 0 8119 BottomAxis = 0 8120 RightAxis = 0 8121 TopAxis = 0 8122 8123 def __init__(self, parent = None): 8124 '''void KPlotWidget.__init__(QWidget parent = None)''' 8125 def pointsUnderPoint(self, p): 8126 '''list-of-KPlotPoint KPlotWidget.pointsUnderPoint(QPoint p)''' 8127 return [KPlotPoint()] 8128 def setPixRect(self): 8129 '''void KPlotWidget.setPixRect()''' 8130 def drawAxes(self, p): 8131 '''void KPlotWidget.drawAxes(QPainter p)''' 8132 def resizeEvent(self): 8133 '''QResizeEvent KPlotWidget.resizeEvent()''' 8134 return QResizeEvent() 8135 def paintEvent(self): 8136 '''QPaintEvent KPlotWidget.paintEvent()''' 8137 return QPaintEvent() 8138 def event(self): 8139 '''QEvent KPlotWidget.event()''' 8140 return QEvent() 8141 def setObjectToolTipShown(self, show): 8142 '''void KPlotWidget.setObjectToolTipShown(bool show)''' 8143 def setShowGrid(self, show): 8144 '''void KPlotWidget.setShowGrid(bool show)''' 8145 def axis(self, type): 8146 '''KPlotAxis KPlotWidget.axis(KPlotWidget.Axis type)''' 8147 return KPlotAxis() 8148 def placeLabel(self, painter, pp): 8149 '''void KPlotWidget.placeLabel(QPainter painter, KPlotPoint pp)''' 8150 def maskAlongLine(self, p1, p2, value = 1): 8151 '''void KPlotWidget.maskAlongLine(QPointF p1, QPointF p2, float value = 1)''' 8152 def maskRect(self, r, value = 1): 8153 '''void KPlotWidget.maskRect(QRectF r, float value = 1)''' 8154 def mapToWidget(self, p): 8155 '''QPointF KPlotWidget.mapToWidget(QPointF p)''' 8156 return QPointF() 8157 def setDefaultPaddings(self): 8158 '''void KPlotWidget.setDefaultPaddings()''' 8159 def setBottomPadding(self, padding): 8160 '''void KPlotWidget.setBottomPadding(int padding)''' 8161 def setTopPadding(self, padding): 8162 '''void KPlotWidget.setTopPadding(int padding)''' 8163 def setRightPadding(self, padding): 8164 '''void KPlotWidget.setRightPadding(int padding)''' 8165 def setLeftPadding(self, padding): 8166 '''void KPlotWidget.setLeftPadding(int padding)''' 8167 def bottomPadding(self): 8168 '''int KPlotWidget.bottomPadding()''' 8169 return int() 8170 def topPadding(self): 8171 '''int KPlotWidget.topPadding()''' 8172 return int() 8173 def rightPadding(self): 8174 '''int KPlotWidget.rightPadding()''' 8175 return int() 8176 def leftPadding(self): 8177 '''int KPlotWidget.leftPadding()''' 8178 return int() 8179 def setAntialiasing(self, b): 8180 '''void KPlotWidget.setAntialiasing(bool b)''' 8181 def antialiasing(self): 8182 '''bool KPlotWidget.antialiasing()''' 8183 return bool() 8184 def isObjectToolTipShown(self): 8185 '''bool KPlotWidget.isObjectToolTipShown()''' 8186 return bool() 8187 def isGridShown(self): 8188 '''bool KPlotWidget.isGridShown()''' 8189 return bool() 8190 def setGridColor(self, gc): 8191 '''void KPlotWidget.setGridColor(QColor gc)''' 8192 def setForegroundColor(self, fg): 8193 '''void KPlotWidget.setForegroundColor(QColor fg)''' 8194 def setBackgroundColor(self, bg): 8195 '''void KPlotWidget.setBackgroundColor(QColor bg)''' 8196 def gridColor(self): 8197 '''QColor KPlotWidget.gridColor()''' 8198 return QColor() 8199 def foregroundColor(self): 8200 '''QColor KPlotWidget.foregroundColor()''' 8201 return QColor() 8202 def backgroundColor(self): 8203 '''QColor KPlotWidget.backgroundColor()''' 8204 return QColor() 8205 def replacePlotObject(self, i, o): 8206 '''void KPlotWidget.replacePlotObject(int i, KPlotObject o)''' 8207 def resetPlot(self): 8208 '''void KPlotWidget.resetPlot()''' 8209 def resetPlotMask(self): 8210 '''void KPlotWidget.resetPlotMask()''' 8211 def removeAllPlotObjects(self): 8212 '''void KPlotWidget.removeAllPlotObjects()''' 8213 def plotObjects(self): 8214 '''list-of-KPlotObject KPlotWidget.plotObjects()''' 8215 return [KPlotObject()] 8216 def addPlotObjects(self, objects): 8217 '''void KPlotWidget.addPlotObjects(list-of-KPlotObject objects)''' 8218 def addPlotObject(self, object): 8219 '''void KPlotWidget.addPlotObject(KPlotObject object)''' 8220 def pixRect(self): 8221 '''QRect KPlotWidget.pixRect()''' 8222 return QRect() 8223 def secondaryDataRect(self): 8224 '''QRectF KPlotWidget.secondaryDataRect()''' 8225 return QRectF() 8226 def dataRect(self): 8227 '''QRectF KPlotWidget.dataRect()''' 8228 return QRectF() 8229 def clearSecondaryLimits(self): 8230 '''void KPlotWidget.clearSecondaryLimits()''' 8231 def setSecondaryLimits(self, x1, x2, y1, y2): 8232 '''void KPlotWidget.setSecondaryLimits(float x1, float x2, float y1, float y2)''' 8233 def setLimits(self, x1, x2, y1, y2): 8234 '''void KPlotWidget.setLimits(float x1, float x2, float y1, float y2)''' 8235 def sizeHint(self): 8236 '''QSize KPlotWidget.sizeHint()''' 8237 return QSize() 8238 def minimumSizeHint(self): 8239 '''QSize KPlotWidget.minimumSizeHint()''' 8240 return QSize() 8241 8242 8243class KProgressDialog(KDialog): 8244 """""" 8245 def __init__(self, parent = None, caption = QString(), text = QString(), flags = 0): 8246 '''void KProgressDialog.__init__(QWidget parent = None, QString caption = QString(), QString text = QString(), Qt.WindowFlags flags = 0)''' 8247 def showEvent(self, event): 8248 '''void KProgressDialog.showEvent(QShowEvent event)''' 8249 def reject(self): 8250 '''void KProgressDialog.reject()''' 8251 def minimumDuration(self): 8252 '''int KProgressDialog.minimumDuration()''' 8253 return int() 8254 def setMinimumDuration(self, ms): 8255 '''void KProgressDialog.setMinimumDuration(int ms)''' 8256 def buttonText(self): 8257 '''QString KProgressDialog.buttonText()''' 8258 return QString() 8259 def setButtonText(self, text): 8260 '''void KProgressDialog.setButtonText(QString text)''' 8261 def ignoreCancel(self): 8262 '''void KProgressDialog.ignoreCancel()''' 8263 def wasCancelled(self): 8264 '''bool KProgressDialog.wasCancelled()''' 8265 return bool() 8266 def autoReset(self): 8267 '''bool KProgressDialog.autoReset()''' 8268 return bool() 8269 def setAutoReset(self, autoReset): 8270 '''void KProgressDialog.setAutoReset(bool autoReset)''' 8271 def autoClose(self): 8272 '''bool KProgressDialog.autoClose()''' 8273 return bool() 8274 def setAutoClose(self, close): 8275 '''void KProgressDialog.setAutoClose(bool close)''' 8276 def showCancelButton(self, show): 8277 '''void KProgressDialog.showCancelButton(bool show)''' 8278 def allowCancel(self): 8279 '''bool KProgressDialog.allowCancel()''' 8280 return bool() 8281 def setAllowCancel(self, allowCancel): 8282 '''void KProgressDialog.setAllowCancel(bool allowCancel)''' 8283 def labelText(self): 8284 '''QString KProgressDialog.labelText()''' 8285 return QString() 8286 def setLabelText(self, text): 8287 '''void KProgressDialog.setLabelText(QString text)''' 8288 def progressBar(self): 8289 '''QProgressBar KProgressDialog.progressBar()''' 8290 return QProgressBar() 8291 8292 8293class KPushButton(QPushButton): 8294 """""" 8295 def __init__(self, parent = None): 8296 '''void KPushButton.__init__(QWidget parent = None)''' 8297 def __init__(self, text, parent = None): 8298 '''void KPushButton.__init__(QString text, QWidget parent = None)''' 8299 def __init__(self, icon, text, parent = None): 8300 '''void KPushButton.__init__(KIcon icon, QString text, QWidget parent = None)''' 8301 def __init__(self, item, parent = None): 8302 '''void KPushButton.__init__(KGuiItem item, QWidget parent = None)''' 8303 authorized = pyqtSignal() # void authorized(KAuth::Action *) - signal 8304 def paintEvent(self): 8305 '''QPaintEvent KPushButton.paintEvent()''' 8306 return QPaintEvent() 8307 def setAuthAction(self, action): 8308 '''void KPushButton.setAuthAction(KAuth.Action action)''' 8309 def setAuthAction(self, actionName): 8310 '''void KPushButton.setAuthAction(QString actionName)''' 8311 def authAction(self): 8312 '''KAuth.Action KPushButton.authAction()''' 8313 return KAuth.Action() 8314 def sizeHint(self): 8315 '''QSize KPushButton.sizeHint()''' 8316 return QSize() 8317 def startDrag(self): 8318 '''void KPushButton.startDrag()''' 8319 def mouseMoveEvent(self): 8320 '''QMouseEvent KPushButton.mouseMoveEvent()''' 8321 return QMouseEvent() 8322 def mousePressEvent(self): 8323 '''QMouseEvent KPushButton.mousePressEvent()''' 8324 return QMouseEvent() 8325 def dragObject(self): 8326 '''QDrag KPushButton.dragObject()''' 8327 return QDrag() 8328 def delayedMenu(self): 8329 '''QMenu KPushButton.delayedMenu()''' 8330 return QMenu() 8331 def setDelayedMenu(self, delayed_menu): 8332 '''void KPushButton.setDelayedMenu(QMenu delayed_menu)''' 8333 def setText(self, text): 8334 '''void KPushButton.setText(QString text)''' 8335 def setIcon(self, icon): 8336 '''void KPushButton.setIcon(KIcon icon)''' 8337 def setIcon(self, pix): 8338 '''void KPushButton.setIcon(QIcon pix)''' 8339 def guiItem(self): 8340 '''KStandardGuiItem.StandardItem KPushButton.guiItem()''' 8341 return KStandardGuiItem.StandardItem() 8342 def setGuiItem(self, item): 8343 '''void KPushButton.setGuiItem(KGuiItem item)''' 8344 def setGuiItem(self, item): 8345 '''void KPushButton.setGuiItem(KStandardGuiItem.StandardItem item)''' 8346 def isDragEnabled(self): 8347 '''bool KPushButton.isDragEnabled()''' 8348 return bool() 8349 def setDragEnabled(self, enable): 8350 '''void KPushButton.setDragEnabled(bool enable)''' 8351 8352 8353class KRecentFilesAction(KSelectAction): 8354 """""" 8355 def __init__(self, parent): 8356 '''void KRecentFilesAction.__init__(QObject parent)''' 8357 def __init__(self, text, parent): 8358 '''void KRecentFilesAction.__init__(QString text, QObject parent)''' 8359 def __init__(self, icon, text, parent): 8360 '''void KRecentFilesAction.__init__(KIcon icon, QString text, QObject parent)''' 8361 recentListCleared = pyqtSignal() # void recentListCleared() - signal 8362 urlSelected = pyqtSignal() # void urlSelected(const KUrlamp;) - signal 8363 def urls(self): 8364 '''KUrl.List KRecentFilesAction.urls()''' 8365 return KUrl.List() 8366 def removeUrl(self, url): 8367 '''void KRecentFilesAction.removeUrl(KUrl url)''' 8368 def addUrl(self, url, name = QString()): 8369 '''void KRecentFilesAction.addUrl(KUrl url, QString name = QString())''' 8370 def saveEntries(self, config): 8371 '''void KRecentFilesAction.saveEntries(KConfigGroup config)''' 8372 def loadEntries(self, config): 8373 '''void KRecentFilesAction.loadEntries(KConfigGroup config)''' 8374 def setMaxItems(self, maxItems): 8375 '''void KRecentFilesAction.setMaxItems(int maxItems)''' 8376 def maxItems(self): 8377 '''int KRecentFilesAction.maxItems()''' 8378 return int() 8379 def clear(self): 8380 '''void KRecentFilesAction.clear()''' 8381 def removeAction(self, action): 8382 '''QAction KRecentFilesAction.removeAction(QAction action)''' 8383 return QAction() 8384 def addAction(self, action, url, name): 8385 '''void KRecentFilesAction.addAction(QAction action, KUrl url, QString name)''' 8386 8387 8388class KRecursiveFilterProxyModel(QSortFilterProxyModel): 8389 """""" 8390 def __init__(self, parent = None): 8391 '''void KRecursiveFilterProxyModel.__init__(QObject parent = None)''' 8392 def match(self, start, role, value, hits = 1, flags = None): 8393 '''list-of-QModelIndex KRecursiveFilterProxyModel.match(QModelIndex start, int role, QVariant value, int hits = 1, Qt.MatchFlags flags = Qt.MatchFlags(Qt.MatchStartsWith|Qt.MatchWrap))''' 8394 return [QModelIndex()] 8395 def acceptRow(self, sourceRow, sourceParent): 8396 '''bool KRecursiveFilterProxyModel.acceptRow(int sourceRow, QModelIndex sourceParent)''' 8397 return bool() 8398 def setSourceModel(self, model): 8399 '''void KRecursiveFilterProxyModel.setSourceModel(QAbstractItemModel model)''' 8400 8401 8402class KReplace(KFind): 8403 """""" 8404 def __init__(self, pattern, replacement, options, parent = None): 8405 '''void KReplace.__init__(QString pattern, QString replacement, int options, QWidget parent = None)''' 8406 def __init__(self, pattern, replacement, options, parent, replaceDialog): 8407 '''void KReplace.__init__(QString pattern, QString replacement, int options, QWidget parent, QWidget replaceDialog)''' 8408 def displayFinalDialog(self): 8409 '''void KReplace.displayFinalDialog()''' 8410 def shouldRestart(self, forceAsking = False, showNumMatches = True): 8411 '''bool KReplace.shouldRestart(bool forceAsking = False, bool showNumMatches = True)''' 8412 return bool() 8413 def closeReplaceNextDialog(self): 8414 '''void KReplace.closeReplaceNextDialog()''' 8415 def replaceNextDialog(self, create = False): 8416 '''KDialog KReplace.replaceNextDialog(bool create = False)''' 8417 return KDialog() 8418 def replace(self): 8419 '''KFind.Result KReplace.replace()''' 8420 return KFind.Result() 8421 def replace(self, text, pattern, replacement, index, options, replacedLength): 8422 '''static int KReplace.replace(QString text, QString pattern, QString replacement, int index, int options, int replacedLength)''' 8423 return int() 8424 def replace(self, text, pattern, replacement, index, options, replacedLength): 8425 '''static int KReplace.replace(QString text, QRegExp pattern, QString replacement, int index, int options, int replacedLength)''' 8426 return int() 8427 replace = pyqtSignal() # void replace(const QStringamp;,int,int,int) - signal 8428 def resetCounts(self): 8429 '''void KReplace.resetCounts()''' 8430 def numReplacements(self): 8431 '''int KReplace.numReplacements()''' 8432 return int() 8433 8434 8435class KReplaceDialog(KFindDialog): 8436 """""" 8437 # Enum KReplaceDialog.Options 8438 PromptOnReplace = 0 8439 BackReference = 0 8440 8441 def __init__(self, parent = None, options = 0, findStrings = QStringList(), replaceStrings = QStringList(), hasSelection = True): 8442 '''void KReplaceDialog.__init__(QWidget parent = None, int options = 0, QStringList findStrings = QStringList(), QStringList replaceStrings = QStringList(), bool hasSelection = True)''' 8443 def showEvent(self): 8444 '''QShowEvent KReplaceDialog.showEvent()''' 8445 return QShowEvent() 8446 def replaceExtension(self): 8447 '''QWidget KReplaceDialog.replaceExtension()''' 8448 return QWidget() 8449 def replacement(self): 8450 '''QString KReplaceDialog.replacement()''' 8451 return QString() 8452 def options(self): 8453 '''int KReplaceDialog.options()''' 8454 return int() 8455 def setOptions(self, options): 8456 '''void KReplaceDialog.setOptions(int options)''' 8457 def replacementHistory(self): 8458 '''QStringList KReplaceDialog.replacementHistory()''' 8459 return QStringList() 8460 def setReplacementHistory(self, history): 8461 '''void KReplaceDialog.setReplacementHistory(QStringList history)''' 8462 8463 8464class KRestrictedLine(KLineEdit): 8465 """""" 8466 def __init__(self, parent = None): 8467 '''void KRestrictedLine.__init__(QWidget parent = None)''' 8468 def inputMethodEvent(self, e): 8469 '''void KRestrictedLine.inputMethodEvent(QInputMethodEvent e)''' 8470 def keyPressEvent(self, e): 8471 '''void KRestrictedLine.keyPressEvent(QKeyEvent e)''' 8472 invalidChar = pyqtSignal() # void invalidChar(int) - signal 8473 def validChars(self): 8474 '''QString KRestrictedLine.validChars()''' 8475 return QString() 8476 def setValidChars(self, valid): 8477 '''void KRestrictedLine.setValidChars(QString valid)''' 8478 8479 8480class KTextEdit(QTextEdit): 8481 """""" 8482 def __init__(self, text, parent = None): 8483 '''void KTextEdit.__init__(QString text, QWidget parent = None)''' 8484 def __init__(self, parent = None): 8485 '''void KTextEdit.__init__(QWidget parent = None)''' 8486 aboutToShowContextMenu = pyqtSignal() # void aboutToShowContextMenu(QMenu *) - signal 8487 def focusOutEvent(self): 8488 '''QFocusEvent KTextEdit.focusOutEvent()''' 8489 return QFocusEvent() 8490 def paintEvent(self): 8491 '''QPaintEvent KTextEdit.paintEvent()''' 8492 return QPaintEvent() 8493 def clickMessage(self): 8494 '''QString KTextEdit.clickMessage()''' 8495 return QString() 8496 def setClickMessage(self, msg): 8497 '''void KTextEdit.setClickMessage(QString msg)''' 8498 def checkSpellingEnabledInternal(self): 8499 '''bool KTextEdit.checkSpellingEnabledInternal()''' 8500 return bool() 8501 def setCheckSpellingEnabledInternal(self, check): 8502 '''void KTextEdit.setCheckSpellingEnabledInternal(bool check)''' 8503 def contextMenuEvent(self): 8504 '''QContextMenuEvent KTextEdit.contextMenuEvent()''' 8505 return QContextMenuEvent() 8506 def deleteWordForward(self): 8507 '''void KTextEdit.deleteWordForward()''' 8508 def deleteWordBack(self): 8509 '''void KTextEdit.deleteWordBack()''' 8510 def wheelEvent(self): 8511 '''QWheelEvent KTextEdit.wheelEvent()''' 8512 return QWheelEvent() 8513 def focusInEvent(self): 8514 '''QFocusEvent KTextEdit.focusInEvent()''' 8515 return QFocusEvent() 8516 def keyPressEvent(self): 8517 '''QKeyEvent KTextEdit.keyPressEvent()''' 8518 return QKeyEvent() 8519 def event(self): 8520 '''QEvent KTextEdit.event()''' 8521 return QEvent() 8522 def slotSpeakText(self): 8523 '''void KTextEdit.slotSpeakText()''' 8524 def slotReplace(self): 8525 '''void KTextEdit.slotReplace()''' 8526 def slotFindNext(self): 8527 '''void KTextEdit.slotFindNext()''' 8528 def slotFind(self): 8529 '''void KTextEdit.slotFind()''' 8530 def slotDoFind(self): 8531 '''void KTextEdit.slotDoFind()''' 8532 def slotReplaceNext(self): 8533 '''void KTextEdit.slotReplaceNext()''' 8534 def slotDoReplace(self): 8535 '''void KTextEdit.slotDoReplace()''' 8536 def replace(self): 8537 '''void KTextEdit.replace()''' 8538 def showSpellConfigDialog(self, configFileName, windowIcon = QString()): 8539 '''void KTextEdit.showSpellConfigDialog(QString configFileName, QString windowIcon = QString())''' 8540 def checkSpelling(self): 8541 '''void KTextEdit.checkSpelling()''' 8542 def setSpellCheckingLanguage(self, language): 8543 '''void KTextEdit.setSpellCheckingLanguage(QString language)''' 8544 languageChanged = pyqtSignal() # void languageChanged(const QStringamp;) - signal 8545 spellCheckStatus = pyqtSignal() # void spellCheckStatus(const QStringamp;) - signal 8546 checkSpellingChanged = pyqtSignal() # void checkSpellingChanged(bool) - signal 8547 def spellCheckingLanguage(self): 8548 '''QString KTextEdit.spellCheckingLanguage()''' 8549 return QString() 8550 def setSpellInterface(self, spellInterface): 8551 '''void KTextEdit.setSpellInterface(KTextEditSpellInterface spellInterface)''' 8552 def enableFindReplace(self, enabled): 8553 '''void KTextEdit.enableFindReplace(bool enabled)''' 8554 def mousePopupMenu(self): 8555 '''QMenu KTextEdit.mousePopupMenu()''' 8556 return QMenu() 8557 def setHighlighter(self, _highLighter): 8558 '''void KTextEdit.setHighlighter(Sonnet.Highlighter _highLighter)''' 8559 def highlighter(self): 8560 '''Sonnet.Highlighter KTextEdit.highlighter()''' 8561 return Sonnet.Highlighter() 8562 def createHighlighter(self): 8563 '''void KTextEdit.createHighlighter()''' 8564 def setSpellCheckingConfigFileName(self, fileName): 8565 '''void KTextEdit.setSpellCheckingConfigFileName(QString fileName)''' 8566 def highlightWord(self, length, pos): 8567 '''void KTextEdit.highlightWord(int length, int pos)''' 8568 def checkSpellingEnabled(self): 8569 '''bool KTextEdit.checkSpellingEnabled()''' 8570 return bool() 8571 def setCheckSpellingEnabled(self, check): 8572 '''void KTextEdit.setCheckSpellingEnabled(bool check)''' 8573 def setReadOnly(self, readOnly): 8574 '''void KTextEdit.setReadOnly(bool readOnly)''' 8575 8576 8577class KRichTextEdit(KTextEdit): 8578 """""" 8579 # Enum KRichTextEdit.Mode 8580 Plain = 0 8581 Rich = 0 8582 8583 def __init__(self, text, parent = None): 8584 '''void KRichTextEdit.__init__(QString text, QWidget parent = None)''' 8585 def __init__(self, parent = None): 8586 '''void KRichTextEdit.__init__(QWidget parent = None)''' 8587 def makeLeftToRight(self): 8588 '''void KRichTextEdit.makeLeftToRight()''' 8589 def makeRightToLeft(self): 8590 '''void KRichTextEdit.makeRightToLeft()''' 8591 def keyPressEvent(self, event): 8592 '''void KRichTextEdit.keyPressEvent(QKeyEvent event)''' 8593 selectionFinished = pyqtSignal() # void selectionFinished() - signal 8594 textModeChanged = pyqtSignal() # void textModeChanged(KRichTextEdit::Mode) - signal 8595 def setTextSubScript(self, subscript): 8596 '''void KRichTextEdit.setTextSubScript(bool subscript)''' 8597 def setTextSuperScript(self, superscript): 8598 '''void KRichTextEdit.setTextSuperScript(bool superscript)''' 8599 def toCleanHtml(self): 8600 '''QString KRichTextEdit.toCleanHtml()''' 8601 return QString() 8602 def switchToPlainText(self): 8603 '''void KRichTextEdit.switchToPlainText()''' 8604 def insertHorizontalRule(self): 8605 '''void KRichTextEdit.insertHorizontalRule()''' 8606 def setTextBackgroundColor(self, color): 8607 '''void KRichTextEdit.setTextBackgroundColor(QColor color)''' 8608 def setTextForegroundColor(self, color): 8609 '''void KRichTextEdit.setTextForegroundColor(QColor color)''' 8610 def setTextStrikeOut(self, strikeOut): 8611 '''void KRichTextEdit.setTextStrikeOut(bool strikeOut)''' 8612 def setTextUnderline(self, underline): 8613 '''void KRichTextEdit.setTextUnderline(bool underline)''' 8614 def setTextItalic(self, italic): 8615 '''void KRichTextEdit.setTextItalic(bool italic)''' 8616 def setTextBold(self, bold): 8617 '''void KRichTextEdit.setTextBold(bool bold)''' 8618 def setFont(self, font): 8619 '''void KRichTextEdit.setFont(QFont font)''' 8620 def setFontSize(self, size): 8621 '''void KRichTextEdit.setFontSize(int size)''' 8622 def setFontFamily(self, fontFamily): 8623 '''void KRichTextEdit.setFontFamily(QString fontFamily)''' 8624 def indentListLess(self): 8625 '''void KRichTextEdit.indentListLess()''' 8626 def indentListMore(self): 8627 '''void KRichTextEdit.indentListMore()''' 8628 def setListStyle(self, _styleIndex): 8629 '''void KRichTextEdit.setListStyle(int _styleIndex)''' 8630 def alignJustify(self): 8631 '''void KRichTextEdit.alignJustify()''' 8632 def alignRight(self): 8633 '''void KRichTextEdit.alignRight()''' 8634 def alignCenter(self): 8635 '''void KRichTextEdit.alignCenter()''' 8636 def alignLeft(self): 8637 '''void KRichTextEdit.alignLeft()''' 8638 def canDedentList(self): 8639 '''bool KRichTextEdit.canDedentList()''' 8640 return bool() 8641 def canIndentList(self): 8642 '''bool KRichTextEdit.canIndentList()''' 8643 return bool() 8644 def updateLink(self, linkUrl, linkText): 8645 '''void KRichTextEdit.updateLink(QString linkUrl, QString linkText)''' 8646 def selectLinkText(self, cursor): 8647 '''void KRichTextEdit.selectLinkText(QTextCursor cursor)''' 8648 def selectLinkText(self): 8649 '''void KRichTextEdit.selectLinkText()''' 8650 def currentLinkUrl(self): 8651 '''QString KRichTextEdit.currentLinkUrl()''' 8652 return QString() 8653 def currentLinkText(self): 8654 '''QString KRichTextEdit.currentLinkText()''' 8655 return QString() 8656 def setTextOrHtml(self, text): 8657 '''void KRichTextEdit.setTextOrHtml(QString text)''' 8658 def textOrHtml(self): 8659 '''QString KRichTextEdit.textOrHtml()''' 8660 return QString() 8661 def textMode(self): 8662 '''KRichTextEdit.Mode KRichTextEdit.textMode()''' 8663 return KRichTextEdit.Mode() 8664 def enableRichTextMode(self): 8665 '''void KRichTextEdit.enableRichTextMode()''' 8666 8667 8668class KRichTextWidget(KRichTextEdit): 8669 """""" 8670 # Enum KRichTextWidget.RichTextSupportValues 8671 DisableRichText = 0 8672 SupportBold = 0 8673 SupportItalic = 0 8674 SupportUnderline = 0 8675 SupportStrikeOut = 0 8676 SupportFontFamily = 0 8677 SupportFontSize = 0 8678 SupportTextForegroundColor = 0 8679 SupportTextBackgroundColor = 0 8680 FullTextFormattingSupport = 0 8681 SupportChangeListStyle = 0 8682 SupportIndentLists = 0 8683 SupportDedentLists = 0 8684 FullListSupport = 0 8685 SupportAlignment = 0 8686 SupportRuleLine = 0 8687 SupportHyperlinks = 0 8688 SupportFormatPainting = 0 8689 SupportToPlainText = 0 8690 SupportSuperScriptAndSubScript = 0 8691 SupportDirection = 0 8692 FullSupport = 0 8693 8694 def __init__(self, parent): 8695 '''void KRichTextWidget.__init__(QWidget parent)''' 8696 def __init__(self, text, parent = None): 8697 '''void KRichTextWidget.__init__(QString text, QWidget parent = None)''' 8698 def mouseReleaseEvent(self, event): 8699 '''void KRichTextWidget.mouseReleaseEvent(QMouseEvent event)''' 8700 def setActionsEnabled(self, enabled): 8701 '''void KRichTextWidget.setActionsEnabled(bool enabled)''' 8702 def updateActionStates(self): 8703 '''void KRichTextWidget.updateActionStates()''' 8704 def richTextSupport(self): 8705 '''KRichTextWidget.RichTextSupport KRichTextWidget.richTextSupport()''' 8706 return KRichTextWidget.RichTextSupport() 8707 def setRichTextSupport(self, support): 8708 '''void KRichTextWidget.setRichTextSupport(KRichTextWidget.RichTextSupport support)''' 8709 def createActions(self, actionCollection): 8710 '''void KRichTextWidget.createActions(KActionCollection actionCollection)''' 8711 class RichTextSupport(): 8712 """""" 8713 def __init__(self): 8714 '''KRichTextWidget.RichTextSupport KRichTextWidget.RichTextSupport.__init__()''' 8715 return KRichTextWidget.RichTextSupport() 8716 def __init__(self): 8717 '''int KRichTextWidget.RichTextSupport.__init__()''' 8718 return int() 8719 def __init__(self): 8720 '''void KRichTextWidget.RichTextSupport.__init__()''' 8721 def __bool__(self): 8722 '''int KRichTextWidget.RichTextSupport.__bool__()''' 8723 return int() 8724 def __ne__(self, f): 8725 '''bool KRichTextWidget.RichTextSupport.__ne__(KRichTextWidget.RichTextSupport f)''' 8726 return bool() 8727 def __eq__(self, f): 8728 '''bool KRichTextWidget.RichTextSupport.__eq__(KRichTextWidget.RichTextSupport f)''' 8729 return bool() 8730 def __invert__(self): 8731 '''KRichTextWidget.RichTextSupport KRichTextWidget.RichTextSupport.__invert__()''' 8732 return KRichTextWidget.RichTextSupport() 8733 def __and__(self, mask): 8734 '''KRichTextWidget.RichTextSupport KRichTextWidget.RichTextSupport.__and__(int mask)''' 8735 return KRichTextWidget.RichTextSupport() 8736 def __xor__(self, f): 8737 '''KRichTextWidget.RichTextSupport KRichTextWidget.RichTextSupport.__xor__(KRichTextWidget.RichTextSupport f)''' 8738 return KRichTextWidget.RichTextSupport() 8739 def __xor__(self, f): 8740 '''KRichTextWidget.RichTextSupport KRichTextWidget.RichTextSupport.__xor__(int f)''' 8741 return KRichTextWidget.RichTextSupport() 8742 def __or__(self, f): 8743 '''KRichTextWidget.RichTextSupport KRichTextWidget.RichTextSupport.__or__(KRichTextWidget.RichTextSupport f)''' 8744 return KRichTextWidget.RichTextSupport() 8745 def __or__(self, f): 8746 '''KRichTextWidget.RichTextSupport KRichTextWidget.RichTextSupport.__or__(int f)''' 8747 return KRichTextWidget.RichTextSupport() 8748 def __int__(self): 8749 '''int KRichTextWidget.RichTextSupport.__int__()''' 8750 return int() 8751 def __ixor__(self, f): 8752 '''KRichTextWidget.RichTextSupport KRichTextWidget.RichTextSupport.__ixor__(KRichTextWidget.RichTextSupport f)''' 8753 return KRichTextWidget.RichTextSupport() 8754 def __ior__(self, f): 8755 '''KRichTextWidget.RichTextSupport KRichTextWidget.RichTextSupport.__ior__(KRichTextWidget.RichTextSupport f)''' 8756 return KRichTextWidget.RichTextSupport() 8757 def __iand__(self, mask): 8758 '''KRichTextWidget.RichTextSupport KRichTextWidget.RichTextSupport.__iand__(int mask)''' 8759 return KRichTextWidget.RichTextSupport() 8760 8761 8762class KRuler(QAbstractSlider): 8763 """""" 8764 # Enum KRuler.MetricStyle 8765 Custom = 0 8766 Pixel = 0 8767 Inch = 0 8768 Millimetres = 0 8769 Centimetres = 0 8770 Metres = 0 8771 8772 def __init__(self, parent = None): 8773 '''void KRuler.__init__(QWidget parent = None)''' 8774 def __init__(self, orient, parent = None, f = 0): 8775 '''void KRuler.__init__(Qt.Orientation orient, QWidget parent = None, Qt.WindowFlags f = 0)''' 8776 def __init__(self, orient, widgetWidth, parent = None, f = 0): 8777 '''void KRuler.__init__(Qt.Orientation orient, int widgetWidth, QWidget parent = None, Qt.WindowFlags f = 0)''' 8778 def paintEvent(self): 8779 '''QPaintEvent KRuler.paintEvent()''' 8780 return QPaintEvent() 8781 def slotEndOffset(self): 8782 '''int KRuler.slotEndOffset()''' 8783 return int() 8784 def slotNewOffset(self): 8785 '''int KRuler.slotNewOffset()''' 8786 return int() 8787 def slotNewValue(self): 8788 '''int KRuler.slotNewValue()''' 8789 return int() 8790 def endOffset(self): 8791 '''int KRuler.endOffset()''' 8792 return int() 8793 def offset(self): 8794 '''int KRuler.offset()''' 8795 return int() 8796 def setOffset(self, offset): 8797 '''void KRuler.setOffset(int offset)''' 8798 def slideDown(self, count = 1): 8799 '''void KRuler.slideDown(int count = 1)''' 8800 def slideUp(self, count = 1): 8801 '''void KRuler.slideUp(int count = 1)''' 8802 def lengthFixed(self): 8803 '''bool KRuler.lengthFixed()''' 8804 return bool() 8805 def setLengthFixed(self, fix): 8806 '''void KRuler.setLengthFixed(bool fix)''' 8807 def length(self): 8808 '''int KRuler.length()''' 8809 return int() 8810 def setLength(self): 8811 '''int KRuler.setLength()''' 8812 return int() 8813 def pixelPerMark(self): 8814 '''float KRuler.pixelPerMark()''' 8815 return float() 8816 def setPixelPerMark(self, rate): 8817 '''void KRuler.setPixelPerMark(float rate)''' 8818 def setRulerMetricStyle(self): 8819 '''KRuler.MetricStyle KRuler.setRulerMetricStyle()''' 8820 return KRuler.MetricStyle() 8821 def endLabel(self): 8822 '''QString KRuler.endLabel()''' 8823 return QString() 8824 def setEndLabel(self): 8825 '''QString KRuler.setEndLabel()''' 8826 return QString() 8827 def showEndLabel(self): 8828 '''bool KRuler.showEndLabel()''' 8829 return bool() 8830 def setShowEndLabel(self): 8831 '''bool KRuler.setShowEndLabel()''' 8832 return bool() 8833 def setFrameStyle(self): 8834 '''int KRuler.setFrameStyle()''' 8835 return int() 8836 def showPointer(self): 8837 '''bool KRuler.showPointer()''' 8838 return bool() 8839 def setShowPointer(self): 8840 '''bool KRuler.setShowPointer()''' 8841 return bool() 8842 def showEndMarks(self): 8843 '''bool KRuler.showEndMarks()''' 8844 return bool() 8845 def setShowEndMarks(self): 8846 '''bool KRuler.setShowEndMarks()''' 8847 return bool() 8848 def showBigMarks(self): 8849 '''bool KRuler.showBigMarks()''' 8850 return bool() 8851 def setShowBigMarks(self): 8852 '''bool KRuler.setShowBigMarks()''' 8853 return bool() 8854 def showMediumMarks(self): 8855 '''bool KRuler.showMediumMarks()''' 8856 return bool() 8857 def setShowMediumMarks(self): 8858 '''bool KRuler.setShowMediumMarks()''' 8859 return bool() 8860 def showLittleMarks(self): 8861 '''bool KRuler.showLittleMarks()''' 8862 return bool() 8863 def setShowLittleMarks(self): 8864 '''bool KRuler.setShowLittleMarks()''' 8865 return bool() 8866 def showTinyMarks(self): 8867 '''bool KRuler.showTinyMarks()''' 8868 return bool() 8869 def setShowTinyMarks(self): 8870 '''bool KRuler.setShowTinyMarks()''' 8871 return bool() 8872 def bigMarkDistance(self): 8873 '''int KRuler.bigMarkDistance()''' 8874 return int() 8875 def setBigMarkDistance(self): 8876 '''int KRuler.setBigMarkDistance()''' 8877 return int() 8878 def mediumMarkDistance(self): 8879 '''int KRuler.mediumMarkDistance()''' 8880 return int() 8881 def setMediumMarkDistance(self): 8882 '''int KRuler.setMediumMarkDistance()''' 8883 return int() 8884 def littleMarkDistance(self): 8885 '''int KRuler.littleMarkDistance()''' 8886 return int() 8887 def setLittleMarkDistance(self): 8888 '''int KRuler.setLittleMarkDistance()''' 8889 return int() 8890 def tinyMarkDistance(self): 8891 '''int KRuler.tinyMarkDistance()''' 8892 return int() 8893 def setTinyMarkDistance(self): 8894 '''int KRuler.setTinyMarkDistance()''' 8895 return int() 8896 def maxValue(self): 8897 '''int KRuler.maxValue()''' 8898 return int() 8899 def setMaxValue(self): 8900 '''int KRuler.setMaxValue()''' 8901 return int() 8902 def minValue(self): 8903 '''int KRuler.minValue()''' 8904 return int() 8905 def setMinValue(self): 8906 '''int KRuler.setMinValue()''' 8907 return int() 8908 8909 8910class KSelectionProxyModel(QAbstractProxyModel): 8911 """""" 8912 # Enum KSelectionProxyModel.FilterBehavior 8913 SubTrees = 0 8914 SubTreeRoots = 0 8915 SubTreesWithoutRoots = 0 8916 ExactSelection = 0 8917 ChildrenOfExactSelection = 0 8918 8919 def __init__(self, selectionModel, parent = None): 8920 '''void KSelectionProxyModel.__init__(QItemSelectionModel selectionModel, QObject parent = None)''' 8921 def mapSelectionToSource(self, selection): 8922 '''QItemSelection KSelectionProxyModel.mapSelectionToSource(QItemSelection selection)''' 8923 return QItemSelection() 8924 def mapSelectionFromSource(self, selection): 8925 '''QItemSelection KSelectionProxyModel.mapSelectionFromSource(QItemSelection selection)''' 8926 return QItemSelection() 8927 def match(self, start, role, value, hits = 1, flags = None): 8928 '''list-of-QModelIndex KSelectionProxyModel.match(QModelIndex start, int role, QVariant value, int hits = 1, Qt.MatchFlags flags = Qt.MatchFlags(Qt.MatchStartsWith|Qt.MatchWrap))''' 8929 return [QModelIndex()] 8930 def sourceRootIndexes(self): 8931 '''list-of-QPersistentModelIndex KSelectionProxyModel.sourceRootIndexes()''' 8932 return [QPersistentModelIndex()] 8933 def columnCount(self): 8934 '''QModelIndex KSelectionProxyModel.columnCount()''' 8935 return QModelIndex() 8936 def parent(self): 8937 '''QModelIndex KSelectionProxyModel.parent()''' 8938 return QModelIndex() 8939 def index(self): 8940 '''QModelIndex KSelectionProxyModel.index()''' 8941 return QModelIndex() 8942 def hasChildren(self, parent = QModelIndex()): 8943 '''bool KSelectionProxyModel.hasChildren(QModelIndex parent = QModelIndex())''' 8944 return bool() 8945 def dropMimeData(self, data, action, row, column, parent): 8946 '''bool KSelectionProxyModel.dropMimeData(QMimeData data, Qt.DropAction action, int row, int column, QModelIndex parent)''' 8947 return bool() 8948 def supportedDropActions(self): 8949 '''Qt.DropActions KSelectionProxyModel.supportedDropActions()''' 8950 return Qt.DropActions() 8951 def mimeTypes(self): 8952 '''QStringList KSelectionProxyModel.mimeTypes()''' 8953 return QStringList() 8954 def mimeData(self, indexes): 8955 '''QMimeData KSelectionProxyModel.mimeData(list-of-QModelIndex indexes)''' 8956 return QMimeData() 8957 def headerData(self, section, orientation, role = None): 8958 '''QVariant KSelectionProxyModel.headerData(int section, Qt.Orientation orientation, int role = Qt.DisplayRole)''' 8959 return QVariant() 8960 def rowCount(self, parent = QModelIndex()): 8961 '''int KSelectionProxyModel.rowCount(QModelIndex parent = QModelIndex())''' 8962 return int() 8963 def data(self, index, role = None): 8964 '''QVariant KSelectionProxyModel.data(QModelIndex index, int role = Qt.DisplayRole)''' 8965 return QVariant() 8966 def flags(self, index): 8967 '''Qt.ItemFlags KSelectionProxyModel.flags(QModelIndex index)''' 8968 return Qt.ItemFlags() 8969 def mapToSource(self, proxyIndex): 8970 '''QModelIndex KSelectionProxyModel.mapToSource(QModelIndex proxyIndex)''' 8971 return QModelIndex() 8972 def mapFromSource(self, sourceIndex): 8973 '''QModelIndex KSelectionProxyModel.mapFromSource(QModelIndex sourceIndex)''' 8974 return QModelIndex() 8975 def filterBehavior(self): 8976 '''KSelectionProxyModel.FilterBehavior KSelectionProxyModel.filterBehavior()''' 8977 return KSelectionProxyModel.FilterBehavior() 8978 def setFilterBehavior(self, behavior): 8979 '''void KSelectionProxyModel.setFilterBehavior(KSelectionProxyModel.FilterBehavior behavior)''' 8980 def selectionModel(self): 8981 '''QItemSelectionModel KSelectionProxyModel.selectionModel()''' 8982 return QItemSelectionModel() 8983 def setSourceModel(self, sourceModel): 8984 '''void KSelectionProxyModel.setSourceModel(QAbstractItemModel sourceModel)''' 8985 8986 8987class KGradientSelector(KSelector): 8988 """""" 8989 def __init__(self, parent = None): 8990 '''void KGradientSelector.__init__(QWidget parent = None)''' 8991 def __init__(self, o, parent = None): 8992 '''void KGradientSelector.__init__(Qt.Orientation o, QWidget parent = None)''' 8993 def stops(self): 8994 '''list-of-tuple-of-float-QColor KGradientSelector.stops()''' 8995 return [tuple-of-float-QColor()] 8996 def setStops(self, stops): 8997 '''void KGradientSelector.setStops(list-of-tuple-of-float-QColor stops)''' 8998 def minimumSize(self): 8999 '''QSize KGradientSelector.minimumSize()''' 9000 return QSize() 9001 def drawContents(self): 9002 '''QPainter KGradientSelector.drawContents()''' 9003 return QPainter() 9004 def secondText(self): 9005 '''QString KGradientSelector.secondText()''' 9006 return QString() 9007 def firstText(self): 9008 '''QString KGradientSelector.firstText()''' 9009 return QString() 9010 def secondColor(self): 9011 '''QColor KGradientSelector.secondColor()''' 9012 return QColor() 9013 def firstColor(self): 9014 '''QColor KGradientSelector.firstColor()''' 9015 return QColor() 9016 def setSecondText(self, t): 9017 '''void KGradientSelector.setSecondText(QString t)''' 9018 def setFirstText(self, t): 9019 '''void KGradientSelector.setFirstText(QString t)''' 9020 def setSecondColor(self, col): 9021 '''void KGradientSelector.setSecondColor(QColor col)''' 9022 def setFirstColor(self, col): 9023 '''void KGradientSelector.setFirstColor(QColor col)''' 9024 def setText(self, t1, t2): 9025 '''void KGradientSelector.setText(QString t1, QString t2)''' 9026 def setColors(self, col1, col2): 9027 '''void KGradientSelector.setColors(QColor col1, QColor col2)''' 9028 9029 9030class KSeparator(QFrame): 9031 """""" 9032 def __init__(self, parent = None, f = 0): 9033 '''void KSeparator.__init__(QWidget parent = None, Qt.WindowFlags f = 0)''' 9034 def __init__(self, orientation, parent = None, f = 0): 9035 '''void KSeparator.__init__(Qt.Orientation orientation, QWidget parent = None, Qt.WindowFlags f = 0)''' 9036 def setOrientation(self, orientation): 9037 '''void KSeparator.setOrientation(Qt.Orientation orientation)''' 9038 def orientation(self): 9039 '''Qt.Orientation KSeparator.orientation()''' 9040 return Qt.Orientation() 9041 9042 9043class KSessionManager(): 9044 """""" 9045 def __init__(self): 9046 '''void KSessionManager.__init__()''' 9047 def sessionClients(self): 9048 '''static list-of-KSessionManager KSessionManager.sessionClients()''' 9049 return [KSessionManager()] 9050 def commitData(self, sm): 9051 '''bool KSessionManager.commitData(QSessionManager sm)''' 9052 return bool() 9053 def saveState(self, sm): 9054 '''bool KSessionManager.saveState(QSessionManager sm)''' 9055 return bool() 9056 9057 9058class KShortcut(): 9059 """""" 9060 # Enum KShortcut.EmptyHandling 9061 KeepEmpty = 0 9062 RemoveEmpty = 0 9063 9064 def __init__(self): 9065 '''void KShortcut.__init__()''' 9066 def __init__(self, primary): 9067 '''void KShortcut.__init__(QKeySequence primary)''' 9068 def __init__(self, primary, alternate): 9069 '''void KShortcut.__init__(QKeySequence primary, QKeySequence alternate)''' 9070 def __init__(self, keyQtPri, keyQtAlt = 0): 9071 '''void KShortcut.__init__(int keyQtPri, int keyQtAlt = 0)''' 9072 def __init__(self, other): 9073 '''void KShortcut.__init__(KShortcut other)''' 9074 def __init__(self, description): 9075 '''void KShortcut.__init__(QString description)''' 9076 def __init__(self, seqs): 9077 '''void KShortcut.__init__(list-of-QKeySequence seqs)''' 9078 def remove(self, keySeq, handleEmpty = None): 9079 '''void KShortcut.remove(QKeySequence keySeq, KShortcut.EmptyHandling handleEmpty = KShortcut.RemoveEmpty)''' 9080 def setAlternate(self, keySeq): 9081 '''void KShortcut.setAlternate(QKeySequence keySeq)''' 9082 def setPrimary(self, keySeq): 9083 '''void KShortcut.setPrimary(QKeySequence keySeq)''' 9084 def toList(self, handleEmpty = None): 9085 '''list-of-QKeySequence KShortcut.toList(KShortcut.EmptyHandling handleEmpty = KShortcut.RemoveEmpty)''' 9086 return [QKeySequence()] 9087 def __ne__(self, other): 9088 '''bool KShortcut.__ne__(KShortcut other)''' 9089 return bool() 9090 def __eq__(self, other): 9091 '''bool KShortcut.__eq__(KShortcut other)''' 9092 return bool() 9093 def toString(self): 9094 '''QString KShortcut.toString()''' 9095 return QString() 9096 def toString(self, format): 9097 '''QString KShortcut.toString(QKeySequence.SequenceFormat format)''' 9098 return QString() 9099 def conflictsWith(self, needle): 9100 '''bool KShortcut.conflictsWith(QKeySequence needle)''' 9101 return bool() 9102 def contains(self, needle): 9103 '''bool KShortcut.contains(QKeySequence needle)''' 9104 return bool() 9105 def isEmpty(self): 9106 '''bool KShortcut.isEmpty()''' 9107 return bool() 9108 def alternate(self): 9109 '''QKeySequence KShortcut.alternate()''' 9110 return QKeySequence() 9111 def primary(self): 9112 '''QKeySequence KShortcut.primary()''' 9113 return QKeySequence() 9114 9115 9116class KShortcutsDialog(KDialog): 9117 """""" 9118 def __init__(self, types = None, allowLetterShortcuts = None, parent = None): 9119 '''void KShortcutsDialog.__init__(KShortcutsEditor.ActionTypes types = KShortcutsEditor.AllActions, KShortcutsEditor.LetterShortcuts allowLetterShortcuts = KShortcutsEditor.LetterShortcutsAllowed, QWidget parent = None)''' 9120 saved = pyqtSignal() # void saved() - signal 9121 def sizeHint(self): 9122 '''QSize KShortcutsDialog.sizeHint()''' 9123 return QSize() 9124 def configure(self, saveSettings = True): 9125 '''bool KShortcutsDialog.configure(bool saveSettings = True)''' 9126 return bool() 9127 def configure(self, collection, allowLetterShortcuts = None, parent = None, bSaveSettings = True): 9128 '''static int KShortcutsDialog.configure(KActionCollection collection, KShortcutsEditor.LetterShortcuts allowLetterShortcuts = KShortcutsEditor.LetterShortcutsAllowed, QWidget parent = None, bool bSaveSettings = True)''' 9129 return int() 9130 def actionCollections(self): 9131 '''list-of-KActionCollection KShortcutsDialog.actionCollections()''' 9132 return [KActionCollection()] 9133 def addCollection(self, title = QString()): 9134 '''KActionCollection KShortcutsDialog.addCollection(QString title = QString())''' 9135 return KActionCollection() 9136 9137 9138class KShortcutsEditor(QWidget): 9139 """""" 9140 # Enum KShortcutsEditor.LetterShortcuts 9141 LetterShortcutsDisallowed = 0 9142 LetterShortcutsAllowed = 0 9143 9144 # Enum KShortcutsEditor.ActionType 9145 WidgetAction = 0 9146 WindowAction = 0 9147 ApplicationAction = 0 9148 GlobalAction = 0 9149 AllActions = 0 9150 9151 def __init__(self, collection, parent, actionTypes = None, allowLetterShortcuts = None): 9152 '''void KShortcutsEditor.__init__(KActionCollection collection, QWidget parent, KShortcutsEditor.ActionTypes actionTypes = KShortcutsEditor.AllActions, KShortcutsEditor.LetterShortcuts allowLetterShortcuts = KShortcutsEditor.LetterShortcutsAllowed)''' 9153 def __init__(self, parent, actionTypes = None, allowLetterShortcuts = None): 9154 '''void KShortcutsEditor.__init__(QWidget parent, KShortcutsEditor.ActionTypes actionTypes = KShortcutsEditor.AllActions, KShortcutsEditor.LetterShortcuts allowLetterShortcuts = KShortcutsEditor.LetterShortcutsAllowed)''' 9155 def printShortcuts(self): 9156 '''void KShortcutsEditor.printShortcuts()''' 9157 def allDefault(self): 9158 '''void KShortcutsEditor.allDefault()''' 9159 def resizeColumns(self): 9160 '''void KShortcutsEditor.resizeColumns()''' 9161 keyChange = pyqtSignal() # void keyChange() - signal 9162 def importConfiguration(self, config): 9163 '''void KShortcutsEditor.importConfiguration(KConfig config)''' 9164 def importConfiguration(self, config): 9165 '''void KShortcutsEditor.importConfiguration(KConfigBase config)''' 9166 def exportConfiguration(self, config): 9167 '''void KShortcutsEditor.exportConfiguration(KConfig config)''' 9168 def exportConfiguration(self, config): 9169 '''void KShortcutsEditor.exportConfiguration(KConfigBase config)''' 9170 def writeConfiguration(self, config = None): 9171 '''void KShortcutsEditor.writeConfiguration(KConfigGroup config = None)''' 9172 def clearConfiguration(self): 9173 '''void KShortcutsEditor.clearConfiguration()''' 9174 def commit(self): 9175 '''void KShortcutsEditor.commit()''' 9176 def save(self): 9177 '''void KShortcutsEditor.save()''' 9178 def undoChanges(self): 9179 '''void KShortcutsEditor.undoChanges()''' 9180 def addCollection(self, title = QString()): 9181 '''KActionCollection KShortcutsEditor.addCollection(QString title = QString())''' 9182 return KActionCollection() 9183 def clearCollections(self): 9184 '''void KShortcutsEditor.clearCollections()''' 9185 def isModified(self): 9186 '''bool KShortcutsEditor.isModified()''' 9187 return bool() 9188 class ActionTypes(): 9189 """""" 9190 def __init__(self): 9191 '''KShortcutsEditor.ActionTypes KShortcutsEditor.ActionTypes.__init__()''' 9192 return KShortcutsEditor.ActionTypes() 9193 def __init__(self): 9194 '''int KShortcutsEditor.ActionTypes.__init__()''' 9195 return int() 9196 def __init__(self): 9197 '''void KShortcutsEditor.ActionTypes.__init__()''' 9198 def __bool__(self): 9199 '''int KShortcutsEditor.ActionTypes.__bool__()''' 9200 return int() 9201 def __ne__(self, f): 9202 '''bool KShortcutsEditor.ActionTypes.__ne__(KShortcutsEditor.ActionTypes f)''' 9203 return bool() 9204 def __eq__(self, f): 9205 '''bool KShortcutsEditor.ActionTypes.__eq__(KShortcutsEditor.ActionTypes f)''' 9206 return bool() 9207 def __invert__(self): 9208 '''KShortcutsEditor.ActionTypes KShortcutsEditor.ActionTypes.__invert__()''' 9209 return KShortcutsEditor.ActionTypes() 9210 def __and__(self, mask): 9211 '''KShortcutsEditor.ActionTypes KShortcutsEditor.ActionTypes.__and__(int mask)''' 9212 return KShortcutsEditor.ActionTypes() 9213 def __xor__(self, f): 9214 '''KShortcutsEditor.ActionTypes KShortcutsEditor.ActionTypes.__xor__(KShortcutsEditor.ActionTypes f)''' 9215 return KShortcutsEditor.ActionTypes() 9216 def __xor__(self, f): 9217 '''KShortcutsEditor.ActionTypes KShortcutsEditor.ActionTypes.__xor__(int f)''' 9218 return KShortcutsEditor.ActionTypes() 9219 def __or__(self, f): 9220 '''KShortcutsEditor.ActionTypes KShortcutsEditor.ActionTypes.__or__(KShortcutsEditor.ActionTypes f)''' 9221 return KShortcutsEditor.ActionTypes() 9222 def __or__(self, f): 9223 '''KShortcutsEditor.ActionTypes KShortcutsEditor.ActionTypes.__or__(int f)''' 9224 return KShortcutsEditor.ActionTypes() 9225 def __int__(self): 9226 '''int KShortcutsEditor.ActionTypes.__int__()''' 9227 return int() 9228 def __ixor__(self, f): 9229 '''KShortcutsEditor.ActionTypes KShortcutsEditor.ActionTypes.__ixor__(KShortcutsEditor.ActionTypes f)''' 9230 return KShortcutsEditor.ActionTypes() 9231 def __ior__(self, f): 9232 '''KShortcutsEditor.ActionTypes KShortcutsEditor.ActionTypes.__ior__(KShortcutsEditor.ActionTypes f)''' 9233 return KShortcutsEditor.ActionTypes() 9234 def __iand__(self, mask): 9235 '''KShortcutsEditor.ActionTypes KShortcutsEditor.ActionTypes.__iand__(int mask)''' 9236 return KShortcutsEditor.ActionTypes() 9237 9238 9239class KShortcutWidget(QWidget): 9240 """""" 9241 def __init__(self, parent = None): 9242 '''void KShortcutWidget.__init__(QWidget parent = None)''' 9243 def applyStealShortcut(self): 9244 '''void KShortcutWidget.applyStealShortcut()''' 9245 def clearShortcut(self): 9246 '''void KShortcutWidget.clearShortcut()''' 9247 def setShortcut(self, cut): 9248 '''void KShortcutWidget.setShortcut(KShortcut cut)''' 9249 shortcutChanged = pyqtSignal() # void shortcutChanged(const KShortcutamp;) - signal 9250 def setCheckActionList(self, checkList): 9251 '''void KShortcutWidget.setCheckActionList(list-of-QAction checkList)''' 9252 def setCheckActionCollections(self, actionCollections): 9253 '''void KShortcutWidget.setCheckActionCollections(list-of-KActionCollection actionCollections)''' 9254 def setClearButtonsShown(self, show): 9255 '''void KShortcutWidget.setClearButtonsShown(bool show)''' 9256 def isModifierlessAllowed(self): 9257 '''bool KShortcutWidget.isModifierlessAllowed()''' 9258 return bool() 9259 def setModifierlessAllowed(self, allow): 9260 '''void KShortcutWidget.setModifierlessAllowed(bool allow)''' 9261 9262 9263class KSplashScreen(QSplashScreen): 9264 """""" 9265 def __init__(self, pixmap, f = 0): 9266 '''void KSplashScreen.__init__(QPixmap pixmap, Qt.WindowFlags f = 0)''' 9267 9268 9269class KSqueezedTextLabel(QLabel): 9270 """""" 9271 def __init__(self, parent = None): 9272 '''void KSqueezedTextLabel.__init__(QWidget parent = None)''' 9273 def __init__(self, text, parent = None): 9274 '''void KSqueezedTextLabel.__init__(QString text, QWidget parent = None)''' 9275 def mouseReleaseEvent(self): 9276 '''QMouseEvent KSqueezedTextLabel.mouseReleaseEvent()''' 9277 return QMouseEvent() 9278 def fullText(self): 9279 '''QString KSqueezedTextLabel.fullText()''' 9280 return QString() 9281 def squeezeTextToLabel(self): 9282 '''void KSqueezedTextLabel.squeezeTextToLabel()''' 9283 def contextMenuEvent(self): 9284 '''QContextMenuEvent KSqueezedTextLabel.contextMenuEvent()''' 9285 return QContextMenuEvent() 9286 def resizeEvent(self): 9287 '''QResizeEvent KSqueezedTextLabel.resizeEvent()''' 9288 return QResizeEvent() 9289 def clear(self): 9290 '''void KSqueezedTextLabel.clear()''' 9291 def setText(self, text): 9292 '''void KSqueezedTextLabel.setText(QString text)''' 9293 def setTextElideMode(self, mode): 9294 '''void KSqueezedTextLabel.setTextElideMode(Qt.TextElideMode mode)''' 9295 def textElideMode(self): 9296 '''Qt.TextElideMode KSqueezedTextLabel.textElideMode()''' 9297 return Qt.TextElideMode() 9298 def setAlignment(self): 9299 '''Qt.Alignment KSqueezedTextLabel.setAlignment()''' 9300 return Qt.Alignment() 9301 def sizeHint(self): 9302 '''QSize KSqueezedTextLabel.sizeHint()''' 9303 return QSize() 9304 def minimumSizeHint(self): 9305 '''QSize KSqueezedTextLabel.minimumSizeHint()''' 9306 return QSize() 9307 9308 9309class KStandardAction(): 9310 """""" 9311 # Enum KStandardAction.StandardAction 9312 ActionNone = 0 9313 New = 0 9314 Open = 0 9315 OpenRecent = 0 9316 Save = 0 9317 SaveAs = 0 9318 Revert = 0 9319 Close = 0 9320 Print = 0 9321 PrintPreview = 0 9322 Mail = 0 9323 Quit = 0 9324 Undo = 0 9325 Redo = 0 9326 Cut = 0 9327 Copy = 0 9328 Paste = 0 9329 SelectAll = 0 9330 Deselect = 0 9331 Find = 0 9332 FindNext = 0 9333 FindPrev = 0 9334 Replace = 0 9335 ActualSize = 0 9336 FitToPage = 0 9337 FitToWidth = 0 9338 FitToHeight = 0 9339 ZoomIn = 0 9340 ZoomOut = 0 9341 Zoom = 0 9342 Redisplay = 0 9343 Up = 0 9344 Back = 0 9345 Forward = 0 9346 Home = 0 9347 Prior = 0 9348 Next = 0 9349 Goto = 0 9350 GotoPage = 0 9351 GotoLine = 0 9352 FirstPage = 0 9353 LastPage = 0 9354 DocumentBack = 0 9355 DocumentForward = 0 9356 AddBookmark = 0 9357 EditBookmarks = 0 9358 Spelling = 0 9359 ShowMenubar = 0 9360 ShowToolbar = 0 9361 ShowStatusbar = 0 9362 SaveOptions = 0 9363 KeyBindings = 0 9364 Preferences = 0 9365 ConfigureToolbars = 0 9366 Help = 0 9367 HelpContents = 0 9368 WhatsThis = 0 9369 ReportBug = 0 9370 AboutApp = 0 9371 AboutKDE = 0 9372 TipofDay = 0 9373 ConfigureNotifications = 0 9374 FullScreen = 0 9375 Clear = 0 9376 PasteText = 0 9377 SwitchApplicationLanguage = 0 9378 9379 def aboutKDE(self, parent): 9380 '''static SLOT() KStandardAction.aboutKDE(QObject parent)''' 9381 return SLOT()() 9382 def aboutKDE(self, parent): 9383 '''static callable KStandardAction.aboutKDE(QObject parent)''' 9384 return callable() 9385 def aboutApp(self, parent): 9386 '''static SLOT() KStandardAction.aboutApp(QObject parent)''' 9387 return SLOT()() 9388 def aboutApp(self, parent): 9389 '''static callable KStandardAction.aboutApp(QObject parent)''' 9390 return callable() 9391 def reportBug(self, parent): 9392 '''static SLOT() KStandardAction.reportBug(QObject parent)''' 9393 return SLOT()() 9394 def reportBug(self, parent): 9395 '''static callable KStandardAction.reportBug(QObject parent)''' 9396 return callable() 9397 def tipOfDay(self, parent): 9398 '''static SLOT() KStandardAction.tipOfDay(QObject parent)''' 9399 return SLOT()() 9400 def tipOfDay(self, parent): 9401 '''static callable KStandardAction.tipOfDay(QObject parent)''' 9402 return callable() 9403 def whatsThis(self, parent): 9404 '''static SLOT() KStandardAction.whatsThis(QObject parent)''' 9405 return SLOT()() 9406 def whatsThis(self, parent): 9407 '''static callable KStandardAction.whatsThis(QObject parent)''' 9408 return callable() 9409 def helpContents(self, parent): 9410 '''static SLOT() KStandardAction.helpContents(QObject parent)''' 9411 return SLOT()() 9412 def helpContents(self, parent): 9413 '''static callable KStandardAction.helpContents(QObject parent)''' 9414 return callable() 9415 def help(self, parent): 9416 '''static SLOT() KStandardAction.help(QObject parent)''' 9417 return SLOT()() 9418 def help(self, parent): 9419 '''static callable KStandardAction.help(QObject parent)''' 9420 return callable() 9421 def configureNotifications(self, parent): 9422 '''static SLOT() KStandardAction.configureNotifications(QObject parent)''' 9423 return SLOT()() 9424 def configureNotifications(self, parent): 9425 '''static callable KStandardAction.configureNotifications(QObject parent)''' 9426 return callable() 9427 def configureToolbars(self, parent): 9428 '''static SLOT() KStandardAction.configureToolbars(QObject parent)''' 9429 return SLOT()() 9430 def configureToolbars(self, parent): 9431 '''static callable KStandardAction.configureToolbars(QObject parent)''' 9432 return callable() 9433 def preferences(self, parent): 9434 '''static SLOT() KStandardAction.preferences(QObject parent)''' 9435 return SLOT()() 9436 def preferences(self, parent): 9437 '''static callable KStandardAction.preferences(QObject parent)''' 9438 return callable() 9439 def keyBindings(self, parent): 9440 '''static SLOT() KStandardAction.keyBindings(QObject parent)''' 9441 return SLOT()() 9442 def keyBindings(self, parent): 9443 '''static callable KStandardAction.keyBindings(QObject parent)''' 9444 return callable() 9445 def saveOptions(self, parent): 9446 '''static SLOT() KStandardAction.saveOptions(QObject parent)''' 9447 return SLOT()() 9448 def saveOptions(self, parent): 9449 '''static callable KStandardAction.saveOptions(QObject parent)''' 9450 return callable() 9451 def fullScreen(self, window, parent): 9452 '''static SLOT() KStandardAction.fullScreen(QWidget window, QObject parent)''' 9453 return SLOT()() 9454 def fullScreen(self, window, parent): 9455 '''static callable KStandardAction.fullScreen(QWidget window, QObject parent)''' 9456 return callable() 9457 def showStatusbar(self, parent): 9458 '''static SLOT() KStandardAction.showStatusbar(QObject parent)''' 9459 return SLOT()() 9460 def showStatusbar(self, parent): 9461 '''static callable KStandardAction.showStatusbar(QObject parent)''' 9462 return callable() 9463 def showMenubar(self, parent): 9464 '''static SLOT() KStandardAction.showMenubar(QObject parent)''' 9465 return SLOT()() 9466 def showMenubar(self, parent): 9467 '''static callable KStandardAction.showMenubar(QObject parent)''' 9468 return callable() 9469 def spelling(self, parent): 9470 '''static SLOT() KStandardAction.spelling(QObject parent)''' 9471 return SLOT()() 9472 def spelling(self, parent): 9473 '''static callable KStandardAction.spelling(QObject parent)''' 9474 return callable() 9475 def editBookmarks(self, parent): 9476 '''static SLOT() KStandardAction.editBookmarks(QObject parent)''' 9477 return SLOT()() 9478 def editBookmarks(self, parent): 9479 '''static callable KStandardAction.editBookmarks(QObject parent)''' 9480 return callable() 9481 def addBookmark(self, parent): 9482 '''static SLOT() KStandardAction.addBookmark(QObject parent)''' 9483 return SLOT()() 9484 def addBookmark(self, parent): 9485 '''static callable KStandardAction.addBookmark(QObject parent)''' 9486 return callable() 9487 def documentForward(self, parent): 9488 '''static SLOT() KStandardAction.documentForward(QObject parent)''' 9489 return SLOT()() 9490 def documentForward(self, parent): 9491 '''static callable KStandardAction.documentForward(QObject parent)''' 9492 return callable() 9493 def documentBack(self, parent): 9494 '''static SLOT() KStandardAction.documentBack(QObject parent)''' 9495 return SLOT()() 9496 def documentBack(self, parent): 9497 '''static callable KStandardAction.documentBack(QObject parent)''' 9498 return callable() 9499 def lastPage(self, parent): 9500 '''static SLOT() KStandardAction.lastPage(QObject parent)''' 9501 return SLOT()() 9502 def lastPage(self, parent): 9503 '''static callable KStandardAction.lastPage(QObject parent)''' 9504 return callable() 9505 def firstPage(self, parent): 9506 '''static SLOT() KStandardAction.firstPage(QObject parent)''' 9507 return SLOT()() 9508 def firstPage(self, parent): 9509 '''static callable KStandardAction.firstPage(QObject parent)''' 9510 return callable() 9511 def gotoLine(self, parent): 9512 '''static SLOT() KStandardAction.gotoLine(QObject parent)''' 9513 return SLOT()() 9514 def gotoLine(self, parent): 9515 '''static callable KStandardAction.gotoLine(QObject parent)''' 9516 return callable() 9517 def gotoPage(self, parent): 9518 '''static SLOT() KStandardAction.gotoPage(QObject parent)''' 9519 return SLOT()() 9520 def gotoPage(self, parent): 9521 '''static callable KStandardAction.gotoPage(QObject parent)''' 9522 return callable() 9523 def goTo(self, parent): 9524 '''static SLOT() KStandardAction.goTo(QObject parent)''' 9525 return SLOT()() 9526 def goTo(self, parent): 9527 '''static callable KStandardAction.goTo(QObject parent)''' 9528 return callable() 9529 def next(self, parent): 9530 '''static SLOT() KStandardAction.next(QObject parent)''' 9531 return SLOT()() 9532 def next(self, parent): 9533 '''static callable KStandardAction.next(QObject parent)''' 9534 return callable() 9535 def prior(self, parent): 9536 '''static SLOT() KStandardAction.prior(QObject parent)''' 9537 return SLOT()() 9538 def prior(self, parent): 9539 '''static callable KStandardAction.prior(QObject parent)''' 9540 return callable() 9541 def home(self, parent): 9542 '''static SLOT() KStandardAction.home(QObject parent)''' 9543 return SLOT()() 9544 def home(self, parent): 9545 '''static callable KStandardAction.home(QObject parent)''' 9546 return callable() 9547 def forward(self, parent): 9548 '''static SLOT() KStandardAction.forward(QObject parent)''' 9549 return SLOT()() 9550 def forward(self, parent): 9551 '''static callable KStandardAction.forward(QObject parent)''' 9552 return callable() 9553 def back(self, parent): 9554 '''static SLOT() KStandardAction.back(QObject parent)''' 9555 return SLOT()() 9556 def back(self, parent): 9557 '''static callable KStandardAction.back(QObject parent)''' 9558 return callable() 9559 def up(self, parent): 9560 '''static SLOT() KStandardAction.up(QObject parent)''' 9561 return SLOT()() 9562 def up(self, parent): 9563 '''static callable KStandardAction.up(QObject parent)''' 9564 return callable() 9565 def redisplay(self, parent): 9566 '''static SLOT() KStandardAction.redisplay(QObject parent)''' 9567 return SLOT()() 9568 def redisplay(self, parent): 9569 '''static callable KStandardAction.redisplay(QObject parent)''' 9570 return callable() 9571 def zoom(self, parent): 9572 '''static SLOT() KStandardAction.zoom(QObject parent)''' 9573 return SLOT()() 9574 def zoom(self, parent): 9575 '''static callable KStandardAction.zoom(QObject parent)''' 9576 return callable() 9577 def zoomOut(self, parent): 9578 '''static SLOT() KStandardAction.zoomOut(QObject parent)''' 9579 return SLOT()() 9580 def zoomOut(self, parent): 9581 '''static callable KStandardAction.zoomOut(QObject parent)''' 9582 return callable() 9583 def zoomIn(self, parent): 9584 '''static SLOT() KStandardAction.zoomIn(QObject parent)''' 9585 return SLOT()() 9586 def zoomIn(self, parent): 9587 '''static callable KStandardAction.zoomIn(QObject parent)''' 9588 return callable() 9589 def fitToHeight(self, parent): 9590 '''static SLOT() KStandardAction.fitToHeight(QObject parent)''' 9591 return SLOT()() 9592 def fitToHeight(self, parent): 9593 '''static callable KStandardAction.fitToHeight(QObject parent)''' 9594 return callable() 9595 def fitToWidth(self, parent): 9596 '''static SLOT() KStandardAction.fitToWidth(QObject parent)''' 9597 return SLOT()() 9598 def fitToWidth(self, parent): 9599 '''static callable KStandardAction.fitToWidth(QObject parent)''' 9600 return callable() 9601 def fitToPage(self, parent): 9602 '''static SLOT() KStandardAction.fitToPage(QObject parent)''' 9603 return SLOT()() 9604 def fitToPage(self, parent): 9605 '''static callable KStandardAction.fitToPage(QObject parent)''' 9606 return callable() 9607 def actualSize(self, parent): 9608 '''static SLOT() KStandardAction.actualSize(QObject parent)''' 9609 return SLOT()() 9610 def actualSize(self, parent): 9611 '''static callable KStandardAction.actualSize(QObject parent)''' 9612 return callable() 9613 def replace(self, parent): 9614 '''static SLOT() KStandardAction.replace(QObject parent)''' 9615 return SLOT()() 9616 def replace(self, parent): 9617 '''static callable KStandardAction.replace(QObject parent)''' 9618 return callable() 9619 def findPrev(self, parent): 9620 '''static SLOT() KStandardAction.findPrev(QObject parent)''' 9621 return SLOT()() 9622 def findPrev(self, parent): 9623 '''static callable KStandardAction.findPrev(QObject parent)''' 9624 return callable() 9625 def findNext(self, parent): 9626 '''static SLOT() KStandardAction.findNext(QObject parent)''' 9627 return SLOT()() 9628 def findNext(self, parent): 9629 '''static callable KStandardAction.findNext(QObject parent)''' 9630 return callable() 9631 def find(self, parent): 9632 '''static SLOT() KStandardAction.find(QObject parent)''' 9633 return SLOT()() 9634 def find(self, parent): 9635 '''static callable KStandardAction.find(QObject parent)''' 9636 return callable() 9637 def deselect(self, parent): 9638 '''static SLOT() KStandardAction.deselect(QObject parent)''' 9639 return SLOT()() 9640 def deselect(self, parent): 9641 '''static callable KStandardAction.deselect(QObject parent)''' 9642 return callable() 9643 def pasteText(self, parent): 9644 '''static SLOT() KStandardAction.pasteText(QObject parent)''' 9645 return SLOT()() 9646 def pasteText(self, parent): 9647 '''static callable KStandardAction.pasteText(QObject parent)''' 9648 return callable() 9649 def selectAll(self, parent): 9650 '''static KAction KStandardAction.selectAll(QObject parent)''' 9651 return KAction() 9652 def selectAll(self, parent): 9653 '''static SLOT() KStandardAction.selectAll(QObject parent)''' 9654 return SLOT()() 9655 def selectAll(self, parent): 9656 '''static callable KStandardAction.selectAll(QObject parent)''' 9657 return callable() 9658 def clear(self, parent): 9659 '''static KAction KStandardAction.clear(QObject parent)''' 9660 return KAction() 9661 def clear(self, parent): 9662 '''static SLOT() KStandardAction.clear(QObject parent)''' 9663 return SLOT()() 9664 def clear(self, parent): 9665 '''static callable KStandardAction.clear(QObject parent)''' 9666 return callable() 9667 def paste(self, parent): 9668 '''static KAction KStandardAction.paste(QObject parent)''' 9669 return KAction() 9670 def paste(self, parent): 9671 '''static SLOT() KStandardAction.paste(QObject parent)''' 9672 return SLOT()() 9673 def paste(self, parent): 9674 '''static callable KStandardAction.paste(QObject parent)''' 9675 return callable() 9676 def copy(self, parent): 9677 '''static KAction KStandardAction.copy(QObject parent)''' 9678 return KAction() 9679 def copy(self, parent): 9680 '''static SLOT() KStandardAction.copy(QObject parent)''' 9681 return SLOT()() 9682 def copy(self, parent): 9683 '''static callable KStandardAction.copy(QObject parent)''' 9684 return callable() 9685 def cut(self, parent): 9686 '''static KAction KStandardAction.cut(QObject parent)''' 9687 return KAction() 9688 def cut(self, parent): 9689 '''static SLOT() KStandardAction.cut(QObject parent)''' 9690 return SLOT()() 9691 def cut(self, parent): 9692 '''static callable KStandardAction.cut(QObject parent)''' 9693 return callable() 9694 def redo(self, parent): 9695 '''static SLOT() KStandardAction.redo(QObject parent)''' 9696 return SLOT()() 9697 def redo(self, parent): 9698 '''static callable KStandardAction.redo(QObject parent)''' 9699 return callable() 9700 def undo(self, parent): 9701 '''static SLOT() KStandardAction.undo(QObject parent)''' 9702 return SLOT()() 9703 def undo(self, parent): 9704 '''static callable KStandardAction.undo(QObject parent)''' 9705 return callable() 9706 def quit(self, parent): 9707 '''static SLOT() KStandardAction.quit(QObject parent)''' 9708 return SLOT()() 9709 def quit(self, parent): 9710 '''static callable KStandardAction.quit(QObject parent)''' 9711 return callable() 9712 def mail(self, parent): 9713 '''static SLOT() KStandardAction.mail(QObject parent)''' 9714 return SLOT()() 9715 def mail(self, parent): 9716 '''static callable KStandardAction.mail(QObject parent)''' 9717 return callable() 9718 def printPreview(self, parent): 9719 '''static SLOT() KStandardAction.printPreview(QObject parent)''' 9720 return SLOT()() 9721 def printPreview(self, parent): 9722 '''static callable KStandardAction.printPreview(QObject parent)''' 9723 return callable() 9724 def print_(self, parent): 9725 '''static SLOT() KStandardAction.print_(QObject parent)''' 9726 return SLOT()() 9727 def print_(self, parent): 9728 '''static callable KStandardAction.print_(QObject parent)''' 9729 return callable() 9730 def close(self, parent): 9731 '''static SLOT() KStandardAction.close(QObject parent)''' 9732 return SLOT()() 9733 def close(self, parent): 9734 '''static callable KStandardAction.close(QObject parent)''' 9735 return callable() 9736 def revert(self, parent): 9737 '''static SLOT() KStandardAction.revert(QObject parent)''' 9738 return SLOT()() 9739 def revert(self, parent): 9740 '''static callable KStandardAction.revert(QObject parent)''' 9741 return callable() 9742 def saveAs(self, parent): 9743 '''static SLOT() KStandardAction.saveAs(QObject parent)''' 9744 return SLOT()() 9745 def saveAs(self, parent): 9746 '''static callable KStandardAction.saveAs(QObject parent)''' 9747 return callable() 9748 def save(self, parent): 9749 '''static SLOT() KStandardAction.save(QObject parent)''' 9750 return SLOT()() 9751 def save(self, parent): 9752 '''static callable KStandardAction.save(QObject parent)''' 9753 return callable() 9754 def openRecent(self, parent): 9755 '''static SLOT() KStandardAction.openRecent(QObject parent)''' 9756 return SLOT()() 9757 def openRecent(self, parent): 9758 '''static callable KStandardAction.openRecent(QObject parent)''' 9759 return callable() 9760 def open(self, parent): 9761 '''static SLOT() KStandardAction.open(QObject parent)''' 9762 return SLOT()() 9763 def open(self, parent): 9764 '''static callable KStandardAction.open(QObject parent)''' 9765 return callable() 9766 def openNew(self, parent): 9767 '''static SLOT() KStandardAction.openNew(QObject parent)''' 9768 return SLOT()() 9769 def openNew(self, parent): 9770 '''static callable KStandardAction.openNew(QObject parent)''' 9771 return callable() 9772 def shortcutForActionId(self, id): 9773 '''static KStandardShortcut.StandardShortcut KStandardAction.shortcutForActionId(KStandardAction.StandardAction id)''' 9774 return KStandardShortcut.StandardShortcut() 9775 def actionIds(self): 9776 '''static unknown-type KStandardAction.actionIds()''' 9777 return unknown-type() 9778 def stdNames(self): 9779 '''static QStringList KStandardAction.stdNames()''' 9780 return QStringList() 9781 def stdName(self, act_enum): 9782 '''static str KStandardAction.stdName(KStandardAction.StandardAction act_enum)''' 9783 return str() 9784 def name(self, id): 9785 '''static str KStandardAction.name(KStandardAction.StandardAction id)''' 9786 return str() 9787 def create(self, id, parent): 9788 '''static SLOT() KStandardAction.create(KStandardAction.StandardAction id, QObject parent)''' 9789 return SLOT()() 9790 def create(self, id, parent): 9791 '''static callable KStandardAction.create(KStandardAction.StandardAction id, QObject parent)''' 9792 return callable() 9793 9794 9795class KStandardGuiItem(): 9796 """""" 9797 # Enum KStandardGuiItem.StandardItem 9798 Ok = 0 9799 Cancel = 0 9800 Yes = 0 9801 No = 0 9802 Discard = 0 9803 Save = 0 9804 DontSave = 0 9805 SaveAs = 0 9806 Apply = 0 9807 Clear = 0 9808 Help = 0 9809 Defaults = 0 9810 Close = 0 9811 Back = 0 9812 Forward = 0 9813 Print = 0 9814 Continue = 0 9815 Open = 0 9816 Quit = 0 9817 AdminMode = 0 9818 Reset = 0 9819 Delete = 0 9820 Insert = 0 9821 Configure = 0 9822 Find = 0 9823 Stop = 0 9824 Add = 0 9825 Remove = 0 9826 Test = 0 9827 Properties = 0 9828 Overwrite = 0 9829 CloseWindow = 0 9830 CloseDocument = 0 9831 9832 # Enum KStandardGuiItem.BidiMode 9833 UseRTL = 0 9834 IgnoreRTL = 0 9835 9836 def test(self): 9837 '''static KGuiItem KStandardGuiItem.test()''' 9838 return KGuiItem() 9839 def remove(self): 9840 '''static KGuiItem KStandardGuiItem.remove()''' 9841 return KGuiItem() 9842 def add(self): 9843 '''static KGuiItem KStandardGuiItem.add()''' 9844 return KGuiItem() 9845 def stop(self): 9846 '''static KGuiItem KStandardGuiItem.stop()''' 9847 return KGuiItem() 9848 def find(self): 9849 '''static KGuiItem KStandardGuiItem.find()''' 9850 return KGuiItem() 9851 def quit(self): 9852 '''static KGuiItem KStandardGuiItem.quit()''' 9853 return KGuiItem() 9854 def backAndForward(self): 9855 '''static unknown-type KStandardGuiItem.backAndForward()''' 9856 return unknown-type() 9857 def configure(self): 9858 '''static KGuiItem KStandardGuiItem.configure()''' 9859 return KGuiItem() 9860 def forward(self, useBidi = None): 9861 '''static KGuiItem KStandardGuiItem.forward(KStandardGuiItem.BidiMode useBidi = KStandardGuiItem.IgnoreRTL)''' 9862 return KGuiItem() 9863 def back(self, useBidi = None): 9864 '''static KGuiItem KStandardGuiItem.back(KStandardGuiItem.BidiMode useBidi = KStandardGuiItem.IgnoreRTL)''' 9865 return KGuiItem() 9866 def open(self): 9867 '''static KGuiItem KStandardGuiItem.open()''' 9868 return KGuiItem() 9869 def del_(self): 9870 '''static KGuiItem KStandardGuiItem.del_()''' 9871 return KGuiItem() 9872 def cont(self): 9873 '''static KGuiItem KStandardGuiItem.cont()''' 9874 return KGuiItem() 9875 def adminMode(self): 9876 '''static KGuiItem KStandardGuiItem.adminMode()''' 9877 return KGuiItem() 9878 def overwrite(self): 9879 '''static KGuiItem KStandardGuiItem.overwrite()''' 9880 return KGuiItem() 9881 def reset(self): 9882 '''static KGuiItem KStandardGuiItem.reset()''' 9883 return KGuiItem() 9884 def properties(self): 9885 '''static KGuiItem KStandardGuiItem.properties()''' 9886 return KGuiItem() 9887 def print_(self): 9888 '''static KGuiItem KStandardGuiItem.print_()''' 9889 return KGuiItem() 9890 def closeDocument(self): 9891 '''static KGuiItem KStandardGuiItem.closeDocument()''' 9892 return KGuiItem() 9893 def closeWindow(self): 9894 '''static KGuiItem KStandardGuiItem.closeWindow()''' 9895 return KGuiItem() 9896 def close(self): 9897 '''static KGuiItem KStandardGuiItem.close()''' 9898 return KGuiItem() 9899 def defaults(self): 9900 '''static KGuiItem KStandardGuiItem.defaults()''' 9901 return KGuiItem() 9902 def clear(self): 9903 '''static KGuiItem KStandardGuiItem.clear()''' 9904 return KGuiItem() 9905 def apply(self): 9906 '''static KGuiItem KStandardGuiItem.apply()''' 9907 return KGuiItem() 9908 def saveAs(self): 9909 '''static KGuiItem KStandardGuiItem.saveAs()''' 9910 return KGuiItem() 9911 def dontSave(self): 9912 '''static KGuiItem KStandardGuiItem.dontSave()''' 9913 return KGuiItem() 9914 def help(self): 9915 '''static KGuiItem KStandardGuiItem.help()''' 9916 return KGuiItem() 9917 def save(self): 9918 '''static KGuiItem KStandardGuiItem.save()''' 9919 return KGuiItem() 9920 def discard(self): 9921 '''static KGuiItem KStandardGuiItem.discard()''' 9922 return KGuiItem() 9923 def insert(self): 9924 '''static KGuiItem KStandardGuiItem.insert()''' 9925 return KGuiItem() 9926 def no(self): 9927 '''static KGuiItem KStandardGuiItem.no()''' 9928 return KGuiItem() 9929 def yes(self): 9930 '''static KGuiItem KStandardGuiItem.yes()''' 9931 return KGuiItem() 9932 def cancel(self): 9933 '''static KGuiItem KStandardGuiItem.cancel()''' 9934 return KGuiItem() 9935 def ok(self): 9936 '''static KGuiItem KStandardGuiItem.ok()''' 9937 return KGuiItem() 9938 def standardItem(self, id): 9939 '''static QString KStandardGuiItem.standardItem(KStandardGuiItem.StandardItem id)''' 9940 return QString() 9941 def guiItem(self, id): 9942 '''static KGuiItem KStandardGuiItem.guiItem(KStandardGuiItem.StandardItem id)''' 9943 return KGuiItem() 9944 9945 9946class KStandardShortcut(): 9947 """""" 9948 # Enum KStandardShortcut.StandardShortcut 9949 AccelNone = 0 9950 Open = 0 9951 New = 0 9952 Close = 0 9953 Save = 0 9954 Print = 0 9955 Quit = 0 9956 Undo = 0 9957 Redo = 0 9958 Cut = 0 9959 Copy = 0 9960 Paste = 0 9961 PasteSelection = 0 9962 SelectAll = 0 9963 Deselect = 0 9964 DeleteWordBack = 0 9965 DeleteWordForward = 0 9966 Find = 0 9967 FindNext = 0 9968 FindPrev = 0 9969 Replace = 0 9970 Home = 0 9971 Begin = 0 9972 End = 0 9973 Prior = 0 9974 Next = 0 9975 Up = 0 9976 Back = 0 9977 Forward = 0 9978 Reload = 0 9979 BeginningOfLine = 0 9980 EndOfLine = 0 9981 GotoLine = 0 9982 BackwardWord = 0 9983 ForwardWord = 0 9984 AddBookmark = 0 9985 ZoomIn = 0 9986 ZoomOut = 0 9987 FullScreen = 0 9988 ShowMenubar = 0 9989 TabNext = 0 9990 TabPrev = 0 9991 Help = 0 9992 WhatsThis = 0 9993 TextCompletion = 0 9994 PrevCompletion = 0 9995 NextCompletion = 0 9996 SubstringCompletion = 0 9997 RotateUp = 0 9998 RotateDown = 0 9999 OpenRecent = 0 10000 SaveAs = 0 10001 Revert = 0 10002 PrintPreview = 0 10003 Mail = 0 10004 Clear = 0 10005 ActualSize = 0 10006 FitToPage = 0 10007 FitToWidth = 0 10008 FitToHeight = 0 10009 Zoom = 0 10010 Goto = 0 10011 GotoPage = 0 10012 DocumentBack = 0 10013 DocumentForward = 0 10014 EditBookmarks = 0 10015 Spelling = 0 10016 ShowToolbar = 0 10017 ShowStatusbar = 0 10018 SaveOptions = 0 10019 KeyBindings = 0 10020 Preferences = 0 10021 ConfigureToolbars = 0 10022 ConfigureNotifications = 0 10023 TipofDay = 0 10024 ReportBug = 0 10025 SwitchApplicationLanguage = 0 10026 AboutApp = 0 10027 AboutKDE = 0 10028 StandardShortcutCount = 0 10029 10030 def showMenubar(self): 10031 '''static KShortcut KStandardShortcut.showMenubar()''' 10032 return KShortcut() 10033 def forwardWord(self): 10034 '''static KShortcut KStandardShortcut.forwardWord()''' 10035 return KShortcut() 10036 def backwardWord(self): 10037 '''static KShortcut KStandardShortcut.backwardWord()''' 10038 return KShortcut() 10039 def forward(self): 10040 '''static KShortcut KStandardShortcut.forward()''' 10041 return KShortcut() 10042 def back(self): 10043 '''static KShortcut KStandardShortcut.back()''' 10044 return KShortcut() 10045 def up(self): 10046 '''static KShortcut KStandardShortcut.up()''' 10047 return KShortcut() 10048 def reload(self): 10049 '''static KShortcut KStandardShortcut.reload()''' 10050 return KShortcut() 10051 def rotateDown(self): 10052 '''static KShortcut KStandardShortcut.rotateDown()''' 10053 return KShortcut() 10054 def rotateUp(self): 10055 '''static KShortcut KStandardShortcut.rotateUp()''' 10056 return KShortcut() 10057 def substringCompletion(self): 10058 '''static KShortcut KStandardShortcut.substringCompletion()''' 10059 return KShortcut() 10060 def nextCompletion(self): 10061 '''static KShortcut KStandardShortcut.nextCompletion()''' 10062 return KShortcut() 10063 def prevCompletion(self): 10064 '''static KShortcut KStandardShortcut.prevCompletion()''' 10065 return KShortcut() 10066 def completion(self): 10067 '''static KShortcut KStandardShortcut.completion()''' 10068 return KShortcut() 10069 def help(self): 10070 '''static KShortcut KStandardShortcut.help()''' 10071 return KShortcut() 10072 def fullScreen(self): 10073 '''static KShortcut KStandardShortcut.fullScreen()''' 10074 return KShortcut() 10075 def tabPrev(self): 10076 '''static KShortcut KStandardShortcut.tabPrev()''' 10077 return KShortcut() 10078 def tabNext(self): 10079 '''static KShortcut KStandardShortcut.tabNext()''' 10080 return KShortcut() 10081 def addBookmark(self): 10082 '''static KShortcut KStandardShortcut.addBookmark()''' 10083 return KShortcut() 10084 def gotoLine(self): 10085 '''static KShortcut KStandardShortcut.gotoLine()''' 10086 return KShortcut() 10087 def next(self): 10088 '''static KShortcut KStandardShortcut.next()''' 10089 return KShortcut() 10090 def prior(self): 10091 '''static KShortcut KStandardShortcut.prior()''' 10092 return KShortcut() 10093 def endOfLine(self): 10094 '''static KShortcut KStandardShortcut.endOfLine()''' 10095 return KShortcut() 10096 def beginningOfLine(self): 10097 '''static KShortcut KStandardShortcut.beginningOfLine()''' 10098 return KShortcut() 10099 def end(self): 10100 '''static KShortcut KStandardShortcut.end()''' 10101 return KShortcut() 10102 def begin(self): 10103 '''static KShortcut KStandardShortcut.begin()''' 10104 return KShortcut() 10105 def home(self): 10106 '''static KShortcut KStandardShortcut.home()''' 10107 return KShortcut() 10108 def zoomOut(self): 10109 '''static KShortcut KStandardShortcut.zoomOut()''' 10110 return KShortcut() 10111 def zoomIn(self): 10112 '''static KShortcut KStandardShortcut.zoomIn()''' 10113 return KShortcut() 10114 def replace(self): 10115 '''static KShortcut KStandardShortcut.replace()''' 10116 return KShortcut() 10117 def findPrev(self): 10118 '''static KShortcut KStandardShortcut.findPrev()''' 10119 return KShortcut() 10120 def findNext(self): 10121 '''static KShortcut KStandardShortcut.findNext()''' 10122 return KShortcut() 10123 def deleteWordForward(self): 10124 '''static KShortcut KStandardShortcut.deleteWordForward()''' 10125 return KShortcut() 10126 def deleteWordBack(self): 10127 '''static KShortcut KStandardShortcut.deleteWordBack()''' 10128 return KShortcut() 10129 def selectAll(self): 10130 '''static KShortcut KStandardShortcut.selectAll()''' 10131 return KShortcut() 10132 def pasteSelection(self): 10133 '''static KShortcut KStandardShortcut.pasteSelection()''' 10134 return KShortcut() 10135 def paste(self): 10136 '''static KShortcut KStandardShortcut.paste()''' 10137 return KShortcut() 10138 def copy(self): 10139 '''static KShortcut KStandardShortcut.copy()''' 10140 return KShortcut() 10141 def cut(self): 10142 '''static KShortcut KStandardShortcut.cut()''' 10143 return KShortcut() 10144 def redo(self): 10145 '''static KShortcut KStandardShortcut.redo()''' 10146 return KShortcut() 10147 def undo(self): 10148 '''static KShortcut KStandardShortcut.undo()''' 10149 return KShortcut() 10150 def quit(self): 10151 '''static KShortcut KStandardShortcut.quit()''' 10152 return KShortcut() 10153 def print_(self): 10154 '''static KShortcut KStandardShortcut.print_()''' 10155 return KShortcut() 10156 def save(self): 10157 '''static KShortcut KStandardShortcut.save()''' 10158 return KShortcut() 10159 def close(self): 10160 '''static KShortcut KStandardShortcut.close()''' 10161 return KShortcut() 10162 def openNew(self): 10163 '''static KShortcut KStandardShortcut.openNew()''' 10164 return KShortcut() 10165 def open(self): 10166 '''static KShortcut KStandardShortcut.open()''' 10167 return KShortcut() 10168 def saveShortcut(self, id, newShortcut): 10169 '''static void KStandardShortcut.saveShortcut(KStandardShortcut.StandardShortcut id, KShortcut newShortcut)''' 10170 def hardcodedDefaultShortcut(self, id): 10171 '''static KShortcut KStandardShortcut.hardcodedDefaultShortcut(KStandardShortcut.StandardShortcut id)''' 10172 return KShortcut() 10173 def find(self, keySeq): 10174 '''static KStandardShortcut.StandardShortcut KStandardShortcut.find(QKeySequence keySeq)''' 10175 return KStandardShortcut.StandardShortcut() 10176 def find(self, keyName): 10177 '''static KStandardShortcut.StandardShortcut KStandardShortcut.find(str keyName)''' 10178 return KStandardShortcut.StandardShortcut() 10179 def find(self): 10180 '''static KShortcut KStandardShortcut.find()''' 10181 return KShortcut() 10182 def whatsThis(self, id): 10183 '''static QString KStandardShortcut.whatsThis(KStandardShortcut.StandardShortcut id)''' 10184 return QString() 10185 def whatsThis(self): 10186 '''static KShortcut KStandardShortcut.whatsThis()''' 10187 return KShortcut() 10188 def label(self, id): 10189 '''static QString KStandardShortcut.label(KStandardShortcut.StandardShortcut id)''' 10190 return QString() 10191 def name(self, id): 10192 '''static QString KStandardShortcut.name(KStandardShortcut.StandardShortcut id)''' 10193 return QString() 10194 def shortcut(self, id): 10195 '''static KShortcut KStandardShortcut.shortcut(KStandardShortcut.StandardShortcut id)''' 10196 return KShortcut() 10197 10198 10199class KStartupInfo(QObject): 10200 """""" 10201 # Enum KStartupInfo.startup_t 10202 NoMatch = 0 10203 Match = 0 10204 CantDetect = 0 10205 10206 CleanOnCantDetect = None # int - member 10207 DisableKWinModule = None # int - member 10208 AnnounceSilenceChanges = None # int - member 10209 def __init__(self, flags, parent = None): 10210 '''void KStartupInfo.__init__(int flags, QObject parent = None)''' 10211 def customEvent(self, e_P): 10212 '''void KStartupInfo.customEvent(QEvent e_P)''' 10213 gotRemoveStartup = pyqtSignal() # void gotRemoveStartup(const KStartupInfoIdamp;,const KStartupInfoDataamp;) - signal 10214 gotStartupChange = pyqtSignal() # void gotStartupChange(const KStartupInfoIdamp;,const KStartupInfoDataamp;) - signal 10215 gotNewStartup = pyqtSignal() # void gotNewStartup(const KStartupInfoIdamp;,const KStartupInfoDataamp;) - signal 10216 def handleAutoAppStartedSending(self): 10217 '''static void KStartupInfo.handleAutoAppStartedSending()''' 10218 def windowStartupId(self, w): 10219 '''static QByteArray KStartupInfo.windowStartupId(int w)''' 10220 return QByteArray() 10221 def setWindowStartupId(self, window, id): 10222 '''static void KStartupInfo.setWindowStartupId(int window, QByteArray id)''' 10223 def setTimeout(self, secs): 10224 '''void KStartupInfo.setTimeout(int secs)''' 10225 def checkStartup(self, w): 10226 '''KStartupInfo.startup_t KStartupInfo.checkStartup(int w)''' 10227 return KStartupInfo.startup_t() 10228 def checkStartup(self, w, id): 10229 '''KStartupInfo.startup_t KStartupInfo.checkStartup(int w, KStartupInfoId id)''' 10230 return KStartupInfo.startup_t() 10231 def checkStartup(self, w, data): 10232 '''KStartupInfo.startup_t KStartupInfo.checkStartup(int w, KStartupInfoData data)''' 10233 return KStartupInfo.startup_t() 10234 def checkStartup(self, w, id, data): 10235 '''KStartupInfo.startup_t KStartupInfo.checkStartup(int w, KStartupInfoId id, KStartupInfoData data)''' 10236 return KStartupInfo.startup_t() 10237 def resetStartupEnv(self): 10238 '''static void KStartupInfo.resetStartupEnv()''' 10239 def currentStartupIdEnv(self): 10240 '''static KStartupInfoId KStartupInfo.currentStartupIdEnv()''' 10241 return KStartupInfoId() 10242 def sendFinish(self, id): 10243 '''static bool KStartupInfo.sendFinish(KStartupInfoId id)''' 10244 return bool() 10245 def sendFinish(self, id, data): 10246 '''static bool KStartupInfo.sendFinish(KStartupInfoId id, KStartupInfoData data)''' 10247 return bool() 10248 def sendChange(self, id, data): 10249 '''static bool KStartupInfo.sendChange(KStartupInfoId id, KStartupInfoData data)''' 10250 return bool() 10251 def sendStartup(self, id, data): 10252 '''static bool KStartupInfo.sendStartup(KStartupInfoId id, KStartupInfoData data)''' 10253 return bool() 10254 def createNewStartupId(self): 10255 '''static QByteArray KStartupInfo.createNewStartupId()''' 10256 return QByteArray() 10257 def silenceStartup(self, silence): 10258 '''static void KStartupInfo.silenceStartup(bool silence)''' 10259 def setNewStartupId(self, window, startup_id): 10260 '''static void KStartupInfo.setNewStartupId(QWidget window, QByteArray startup_id)''' 10261 def appStarted(self): 10262 '''static void KStartupInfo.appStarted()''' 10263 def appStarted(self, startup_id): 10264 '''static void KStartupInfo.appStarted(QByteArray startup_id)''' 10265 def disableAutoAppStartedSending(self, disable = True): 10266 '''static void KStartupInfo.disableAutoAppStartedSending(bool disable = True)''' 10267 10268 10269class KStartupInfoId(): 10270 """""" 10271 def __init__(self): 10272 '''void KStartupInfoId.__init__()''' 10273 def __init__(self, data): 10274 '''void KStartupInfoId.__init__(KStartupInfoId data)''' 10275 def __ge__(self, id): 10276 '''bool KStartupInfoId.__ge__(KStartupInfoId id)''' 10277 return bool() 10278 def __lt__(self, id): 10279 '''bool KStartupInfoId.__lt__(KStartupInfoId id)''' 10280 return bool() 10281 def setupStartupEnv(self): 10282 '''bool KStartupInfoId.setupStartupEnv()''' 10283 return bool() 10284 def timestamp(self): 10285 '''int KStartupInfoId.timestamp()''' 10286 return int() 10287 def id(self): 10288 '''QByteArray KStartupInfoId.id()''' 10289 return QByteArray() 10290 def initId(self, id = None): 10291 '''void KStartupInfoId.initId(QByteArray id = )''' 10292 def none(self): 10293 '''bool KStartupInfoId.none()''' 10294 return bool() 10295 def __ne__(self, id): 10296 '''bool KStartupInfoId.__ne__(KStartupInfoId id)''' 10297 return bool() 10298 def __eq__(self, id): 10299 '''bool KStartupInfoId.__eq__(KStartupInfoId id)''' 10300 return bool() 10301 10302 10303class KStartupInfoData(): 10304 """""" 10305 # Enum KStartupInfoData.TriState 10306 Yes = 0 10307 No = 0 10308 Unknown = 0 10309 10310 def __init__(self): 10311 '''void KStartupInfoData.__init__()''' 10312 def __init__(self, data): 10313 '''void KStartupInfoData.__init__(KStartupInfoData data)''' 10314 def setApplicationId(self, desktop): 10315 '''void KStartupInfoData.setApplicationId(QString desktop)''' 10316 def applicationId(self): 10317 '''QString KStartupInfoData.applicationId()''' 10318 return QString() 10319 def pids(self): 10320 '''list-of-int KStartupInfoData.pids()''' 10321 return [int()] 10322 def update(self, data): 10323 '''void KStartupInfoData.update(KStartupInfoData data)''' 10324 def setLaunchedBy(self, window): 10325 '''void KStartupInfoData.setLaunchedBy(int window)''' 10326 def launchedBy(self): 10327 '''int KStartupInfoData.launchedBy()''' 10328 return int() 10329 def setXinerama(self, xinerama): 10330 '''void KStartupInfoData.setXinerama(int xinerama)''' 10331 def xinerama(self): 10332 '''int KStartupInfoData.xinerama()''' 10333 return int() 10334 def setScreen(self, screen): 10335 '''void KStartupInfoData.setScreen(int screen)''' 10336 def screen(self): 10337 '''int KStartupInfoData.screen()''' 10338 return int() 10339 def timestamp(self): 10340 '''int KStartupInfoData.timestamp()''' 10341 return int() 10342 def setTimestamp(self, time): 10343 '''void KStartupInfoData.setTimestamp(int time)''' 10344 def silent(self): 10345 '''KStartupInfoData.TriState KStartupInfoData.silent()''' 10346 return KStartupInfoData.TriState() 10347 def setSilent(self, state): 10348 '''void KStartupInfoData.setSilent(KStartupInfoData.TriState state)''' 10349 def hostname(self): 10350 '''QByteArray KStartupInfoData.hostname()''' 10351 return QByteArray() 10352 def setHostname(self, hostname = QByteArray()): 10353 '''void KStartupInfoData.setHostname(QByteArray hostname = QByteArray())''' 10354 def is_pid(self, pid): 10355 '''bool KStartupInfoData.is_pid(int pid)''' 10356 return bool() 10357 def addPid(self, pid): 10358 '''void KStartupInfoData.addPid(int pid)''' 10359 def WMClass(self): 10360 '''QByteArray KStartupInfoData.WMClass()''' 10361 return QByteArray() 10362 def findWMClass(self): 10363 '''QByteArray KStartupInfoData.findWMClass()''' 10364 return QByteArray() 10365 def setWMClass(self, wmclass): 10366 '''void KStartupInfoData.setWMClass(QByteArray wmclass)''' 10367 def desktop(self): 10368 '''int KStartupInfoData.desktop()''' 10369 return int() 10370 def setDesktop(self, desktop): 10371 '''void KStartupInfoData.setDesktop(int desktop)''' 10372 def icon(self): 10373 '''QString KStartupInfoData.icon()''' 10374 return QString() 10375 def findIcon(self): 10376 '''QString KStartupInfoData.findIcon()''' 10377 return QString() 10378 def setIcon(self, icon): 10379 '''void KStartupInfoData.setIcon(QString icon)''' 10380 def description(self): 10381 '''QString KStartupInfoData.description()''' 10382 return QString() 10383 def findDescription(self): 10384 '''QString KStartupInfoData.findDescription()''' 10385 return QString() 10386 def setDescription(self, descr): 10387 '''void KStartupInfoData.setDescription(QString descr)''' 10388 def name(self): 10389 '''QString KStartupInfoData.name()''' 10390 return QString() 10391 def findName(self): 10392 '''QString KStartupInfoData.findName()''' 10393 return QString() 10394 def setName(self, name): 10395 '''void KStartupInfoData.setName(QString name)''' 10396 def bin(self): 10397 '''QString KStartupInfoData.bin()''' 10398 return QString() 10399 def setBin(self, bin): 10400 '''void KStartupInfoData.setBin(QString bin)''' 10401 10402 10403class KStatusBar(QStatusBar): 10404 """""" 10405 def __init__(self, parent = None): 10406 '''void KStatusBar.__init__(QWidget parent = None)''' 10407 def eventFilter(self, object, event): 10408 '''bool KStatusBar.eventFilter(QObject object, QEvent event)''' 10409 return bool() 10410 released = pyqtSignal() # void released(int) - signal 10411 pressed = pyqtSignal() # void pressed(int) - signal 10412 def setItemFixed(self, id, width = None): 10413 '''void KStatusBar.setItemFixed(int id, int width = -1)''' 10414 def setItemAlignment(self, id, alignment): 10415 '''void KStatusBar.setItemAlignment(int id, Qt.Alignment alignment)''' 10416 def changeItem(self, text, id): 10417 '''void KStatusBar.changeItem(QString text, int id)''' 10418 def itemText(self, id): 10419 '''QString KStatusBar.itemText(int id)''' 10420 return QString() 10421 def hasItem(self, id): 10422 '''bool KStatusBar.hasItem(int id)''' 10423 return bool() 10424 def removeItem(self, id): 10425 '''void KStatusBar.removeItem(int id)''' 10426 def insertPermanentFixedItem(self, text, id): 10427 '''void KStatusBar.insertPermanentFixedItem(QString text, int id)''' 10428 def insertFixedItem(self, text, id): 10429 '''void KStatusBar.insertFixedItem(QString text, int id)''' 10430 def insertPermanentItem(self, text, id, stretch = 0): 10431 '''void KStatusBar.insertPermanentItem(QString text, int id, int stretch = 0)''' 10432 def insertItem(self, text, id, stretch = 0): 10433 '''void KStatusBar.insertItem(QString text, int id, int stretch = 0)''' 10434 10435 10436class KStatusBarJobTracker(KAbstractWidgetJobTracker): 10437 """""" 10438 # Enum KStatusBarJobTracker.StatusBarMode 10439 NoInformation = 0 10440 LabelOnly = 0 10441 ProgressOnly = 0 10442 10443 def __init__(self, parent = None, button = True): 10444 '''void KStatusBarJobTracker.__init__(QWidget parent = None, bool button = True)''' 10445 def slotClean(self, job): 10446 '''void KStatusBarJobTracker.slotClean(KJob job)''' 10447 def speed(self, job, value): 10448 '''void KStatusBarJobTracker.speed(KJob job, int value)''' 10449 def percent(self, job, percent): 10450 '''void KStatusBarJobTracker.percent(KJob job, int percent)''' 10451 def totalAmount(self, job, unit, amount): 10452 '''void KStatusBarJobTracker.totalAmount(KJob job, KJob.Unit unit, int amount)''' 10453 def description(self, job, title, field1, field2): 10454 '''void KStatusBarJobTracker.description(KJob job, QString title, unknown-type field1, unknown-type field2)''' 10455 def setStatusBarMode(self, statusBarMode): 10456 '''void KStatusBarJobTracker.setStatusBarMode(KStatusBarJobTracker.StatusBarModes statusBarMode)''' 10457 def widget(self, job): 10458 '''QWidget KStatusBarJobTracker.widget(KJob job)''' 10459 return QWidget() 10460 def unregisterJob(self, job): 10461 '''void KStatusBarJobTracker.unregisterJob(KJob job)''' 10462 def registerJob(self, job): 10463 '''void KStatusBarJobTracker.registerJob(KJob job)''' 10464 class StatusBarModes(): 10465 """""" 10466 def __init__(self): 10467 '''KStatusBarJobTracker.StatusBarModes KStatusBarJobTracker.StatusBarModes.__init__()''' 10468 return KStatusBarJobTracker.StatusBarModes() 10469 def __init__(self): 10470 '''int KStatusBarJobTracker.StatusBarModes.__init__()''' 10471 return int() 10472 def __init__(self): 10473 '''void KStatusBarJobTracker.StatusBarModes.__init__()''' 10474 def __bool__(self): 10475 '''int KStatusBarJobTracker.StatusBarModes.__bool__()''' 10476 return int() 10477 def __ne__(self, f): 10478 '''bool KStatusBarJobTracker.StatusBarModes.__ne__(KStatusBarJobTracker.StatusBarModes f)''' 10479 return bool() 10480 def __eq__(self, f): 10481 '''bool KStatusBarJobTracker.StatusBarModes.__eq__(KStatusBarJobTracker.StatusBarModes f)''' 10482 return bool() 10483 def __invert__(self): 10484 '''KStatusBarJobTracker.StatusBarModes KStatusBarJobTracker.StatusBarModes.__invert__()''' 10485 return KStatusBarJobTracker.StatusBarModes() 10486 def __and__(self, mask): 10487 '''KStatusBarJobTracker.StatusBarModes KStatusBarJobTracker.StatusBarModes.__and__(int mask)''' 10488 return KStatusBarJobTracker.StatusBarModes() 10489 def __xor__(self, f): 10490 '''KStatusBarJobTracker.StatusBarModes KStatusBarJobTracker.StatusBarModes.__xor__(KStatusBarJobTracker.StatusBarModes f)''' 10491 return KStatusBarJobTracker.StatusBarModes() 10492 def __xor__(self, f): 10493 '''KStatusBarJobTracker.StatusBarModes KStatusBarJobTracker.StatusBarModes.__xor__(int f)''' 10494 return KStatusBarJobTracker.StatusBarModes() 10495 def __or__(self, f): 10496 '''KStatusBarJobTracker.StatusBarModes KStatusBarJobTracker.StatusBarModes.__or__(KStatusBarJobTracker.StatusBarModes f)''' 10497 return KStatusBarJobTracker.StatusBarModes() 10498 def __or__(self, f): 10499 '''KStatusBarJobTracker.StatusBarModes KStatusBarJobTracker.StatusBarModes.__or__(int f)''' 10500 return KStatusBarJobTracker.StatusBarModes() 10501 def __int__(self): 10502 '''int KStatusBarJobTracker.StatusBarModes.__int__()''' 10503 return int() 10504 def __ixor__(self, f): 10505 '''KStatusBarJobTracker.StatusBarModes KStatusBarJobTracker.StatusBarModes.__ixor__(KStatusBarJobTracker.StatusBarModes f)''' 10506 return KStatusBarJobTracker.StatusBarModes() 10507 def __ior__(self, f): 10508 '''KStatusBarJobTracker.StatusBarModes KStatusBarJobTracker.StatusBarModes.__ior__(KStatusBarJobTracker.StatusBarModes f)''' 10509 return KStatusBarJobTracker.StatusBarModes() 10510 def __iand__(self, mask): 10511 '''KStatusBarJobTracker.StatusBarModes KStatusBarJobTracker.StatusBarModes.__iand__(int mask)''' 10512 return KStatusBarJobTracker.StatusBarModes() 10513 10514 10515class KStatusNotifierItem(QObject): 10516 """""" 10517 # Enum KStatusNotifierItem.ItemCategory 10518 ApplicationStatus = 0 10519 Communications = 0 10520 SystemServices = 0 10521 Hardware = 0 10522 Reserved = 0 10523 10524 # Enum KStatusNotifierItem.ItemStatus 10525 Passive = 0 10526 Active = 0 10527 NeedsAttention = 0 10528 10529 def __init__(self, parent = None): 10530 '''void KStatusNotifierItem.__init__(QObject parent = None)''' 10531 def __init__(self, id, parent = None): 10532 '''void KStatusNotifierItem.__init__(QString id, QObject parent = None)''' 10533 def attentionMovieName(self): 10534 '''QString KStatusNotifierItem.attentionMovieName()''' 10535 return QString() 10536 def setAttentionMovieByName(self, name): 10537 '''void KStatusNotifierItem.setAttentionMovieByName(QString name)''' 10538 def eventFilter(self, watched, event): 10539 '''bool KStatusNotifierItem.eventFilter(QObject watched, QEvent event)''' 10540 return bool() 10541 secondaryActivateRequested = pyqtSignal() # void secondaryActivateRequested(const QPointamp;) - signal 10542 activateRequested = pyqtSignal() # void activateRequested(bool,const QPointamp;) - signal 10543 scrollRequested = pyqtSignal() # void scrollRequested(int,Qt::Orientation) - signal 10544 def activate(self, pos = QPoint()): 10545 '''void KStatusNotifierItem.activate(QPoint pos = QPoint())''' 10546 def showMessage(self, title, message, icon, timeout = 10000): 10547 '''void KStatusNotifierItem.showMessage(QString title, QString message, QString icon, int timeout = 10000)''' 10548 def standardActionsEnabled(self): 10549 '''bool KStatusNotifierItem.standardActionsEnabled()''' 10550 return bool() 10551 def setStandardActionsEnabled(self, enabled): 10552 '''void KStatusNotifierItem.setStandardActionsEnabled(bool enabled)''' 10553 def actionCollection(self): 10554 '''KActionCollection KStatusNotifierItem.actionCollection()''' 10555 return KActionCollection() 10556 def associatedWidget(self): 10557 '''QWidget KStatusNotifierItem.associatedWidget()''' 10558 return QWidget() 10559 def setAssociatedWidget(self, parent): 10560 '''void KStatusNotifierItem.setAssociatedWidget(QWidget parent)''' 10561 def contextMenu(self): 10562 '''KMenu KStatusNotifierItem.contextMenu()''' 10563 return KMenu() 10564 def setContextMenu(self, menu): 10565 '''void KStatusNotifierItem.setContextMenu(KMenu menu)''' 10566 def toolTipSubTitle(self): 10567 '''QString KStatusNotifierItem.toolTipSubTitle()''' 10568 return QString() 10569 def setToolTipSubTitle(self, subTitle): 10570 '''void KStatusNotifierItem.setToolTipSubTitle(QString subTitle)''' 10571 def toolTipTitle(self): 10572 '''QString KStatusNotifierItem.toolTipTitle()''' 10573 return QString() 10574 def setToolTipTitle(self, title): 10575 '''void KStatusNotifierItem.setToolTipTitle(QString title)''' 10576 def toolTipIconPixmap(self): 10577 '''QIcon KStatusNotifierItem.toolTipIconPixmap()''' 10578 return QIcon() 10579 def setToolTipIconByPixmap(self, icon): 10580 '''void KStatusNotifierItem.setToolTipIconByPixmap(QIcon icon)''' 10581 def toolTipIconName(self): 10582 '''QString KStatusNotifierItem.toolTipIconName()''' 10583 return QString() 10584 def setToolTipIconByName(self, name): 10585 '''void KStatusNotifierItem.setToolTipIconByName(QString name)''' 10586 def setToolTip(self, iconName, title, subTitle): 10587 '''void KStatusNotifierItem.setToolTip(QString iconName, QString title, QString subTitle)''' 10588 def setToolTip(self, icon, title, subTitle): 10589 '''void KStatusNotifierItem.setToolTip(QIcon icon, QString title, QString subTitle)''' 10590 def attentionIconPixmap(self): 10591 '''QIcon KStatusNotifierItem.attentionIconPixmap()''' 10592 return QIcon() 10593 def setAttentionIconByPixmap(self, icon): 10594 '''void KStatusNotifierItem.setAttentionIconByPixmap(QIcon icon)''' 10595 def attentionIconName(self): 10596 '''QString KStatusNotifierItem.attentionIconName()''' 10597 return QString() 10598 def setAttentionIconByName(self, name): 10599 '''void KStatusNotifierItem.setAttentionIconByName(QString name)''' 10600 def overlayIconPixmap(self): 10601 '''QIcon KStatusNotifierItem.overlayIconPixmap()''' 10602 return QIcon() 10603 def setOverlayIconByPixmap(self, icon): 10604 '''void KStatusNotifierItem.setOverlayIconByPixmap(QIcon icon)''' 10605 def overlayIconName(self): 10606 '''QString KStatusNotifierItem.overlayIconName()''' 10607 return QString() 10608 def setOverlayIconByName(self, name): 10609 '''void KStatusNotifierItem.setOverlayIconByName(QString name)''' 10610 def iconPixmap(self): 10611 '''QIcon KStatusNotifierItem.iconPixmap()''' 10612 return QIcon() 10613 def setIconByPixmap(self, icon): 10614 '''void KStatusNotifierItem.setIconByPixmap(QIcon icon)''' 10615 def iconName(self): 10616 '''QString KStatusNotifierItem.iconName()''' 10617 return QString() 10618 def setIconByName(self, name): 10619 '''void KStatusNotifierItem.setIconByName(QString name)''' 10620 def status(self): 10621 '''KStatusNotifierItem.ItemStatus KStatusNotifierItem.status()''' 10622 return KStatusNotifierItem.ItemStatus() 10623 def setStatus(self, status): 10624 '''void KStatusNotifierItem.setStatus(KStatusNotifierItem.ItemStatus status)''' 10625 def title(self): 10626 '''QString KStatusNotifierItem.title()''' 10627 return QString() 10628 def setTitle(self, title): 10629 '''void KStatusNotifierItem.setTitle(QString title)''' 10630 def category(self): 10631 '''KStatusNotifierItem.ItemCategory KStatusNotifierItem.category()''' 10632 return KStatusNotifierItem.ItemCategory() 10633 def setCategory(self, category): 10634 '''void KStatusNotifierItem.setCategory(KStatusNotifierItem.ItemCategory category)''' 10635 def id(self): 10636 '''QString KStatusNotifierItem.id()''' 10637 return QString() 10638 10639 10640class KStringListValidator(QValidator): 10641 """""" 10642 def __init__(self, list = QStringList(), rejecting = True, fixupEnabled = False, parent = None): 10643 '''void KStringListValidator.__init__(QStringList list = QStringList(), bool rejecting = True, bool fixupEnabled = False, QObject parent = None)''' 10644 def fixup(self, input): 10645 '''void KStringListValidator.fixup(QString input)''' 10646 def validate(self, input, pos): 10647 '''QValidator.State KStringListValidator.validate(QString input, int pos)''' 10648 return QValidator.State() 10649 def stringList(self): 10650 '''QStringList KStringListValidator.stringList()''' 10651 return QStringList() 10652 def setStringList(self, list): 10653 '''void KStringListValidator.setStringList(QStringList list)''' 10654 def isFixupEnabled(self): 10655 '''bool KStringListValidator.isFixupEnabled()''' 10656 return bool() 10657 def setFixupEnabled(self, fixupEnabled): 10658 '''void KStringListValidator.setFixupEnabled(bool fixupEnabled)''' 10659 def isRejecting(self): 10660 '''bool KStringListValidator.isRejecting()''' 10661 return bool() 10662 def setRejecting(self, rejecting): 10663 '''void KStringListValidator.setRejecting(bool rejecting)''' 10664 10665 10666class KMimeTypeValidator(QValidator): 10667 """""" 10668 def __init__(self, parent = None): 10669 '''void KMimeTypeValidator.__init__(QObject parent = None)''' 10670 def fixup(self, input): 10671 '''void KMimeTypeValidator.fixup(QString input)''' 10672 def validate(self, input, pos): 10673 '''QValidator.State KMimeTypeValidator.validate(QString input, int pos)''' 10674 return QValidator.State() 10675 10676 10677class KStyle(QStyle): 10678 """""" 10679 # Enum KStyle.MarginOffsets 10680 MainMargin = 0 10681 Top = 0 10682 Bot = 0 10683 Left = 0 10684 Right = 0 10685 MarginInc = 0 10686 10687 # Enum KStyle.WidgetType 10688 WT_Generic = 0 10689 WT_PushButton = 0 10690 WT_Splitter = 0 10691 WT_CheckBox = 0 10692 WT_RadioButton = 0 10693 WT_DockWidget = 0 10694 WT_ProgressBar = 0 10695 WT_MenuBar = 0 10696 WT_MenuBarItem = 0 10697 WT_Menu = 0 10698 WT_MenuItem = 0 10699 WT_ScrollBar = 0 10700 WT_TabBar = 0 10701 WT_TabWidget = 0 10702 WT_Slider = 0 10703 WT_Tree = 0 10704 WT_SpinBox = 0 10705 WT_ComboBox = 0 10706 WT_Header = 0 10707 WT_LineEdit = 0 10708 WT_GroupBox = 0 10709 WT_StatusBar = 0 10710 WT_ToolBar = 0 10711 WT_ToolButton = 0 10712 WT_ToolBoxTab = 0 10713 WT_Window = 0 10714 WT_Limit = 0 10715 10716 def __init__(self): 10717 '''void KStyle.__init__()''' 10718 def standardIconImplementation(self, standardIcon, option = None, widget = None): 10719 '''QIcon KStyle.standardIconImplementation(QStyle.StandardPixmap standardIcon, QStyleOption option = None, QWidget widget = None)''' 10720 return QIcon() 10721 def standardPixmap(self, standardPixmap, opt, widget = None): 10722 '''QPixmap KStyle.standardPixmap(QStyle.StandardPixmap standardPixmap, QStyleOption opt, QWidget widget = None)''' 10723 return QPixmap() 10724 def drawComplexControl(self, cc, opt, p, w): 10725 '''void KStyle.drawComplexControl(QStyle.ComplexControl cc, QStyleOptionComplex opt, QPainter p, QWidget w)''' 10726 def hitTestComplexControl(self, cc, opt, pt, w): 10727 '''QStyle.SubControl KStyle.hitTestComplexControl(QStyle.ComplexControl cc, QStyleOptionComplex opt, QPoint pt, QWidget w)''' 10728 return QStyle.SubControl() 10729 def subControlRect(self, control, opt, subControl, w): 10730 '''QRect KStyle.subControlRect(QStyle.ComplexControl control, QStyleOptionComplex opt, QStyle.SubControl subControl, QWidget w)''' 10731 return QRect() 10732 def styleHint(self, hint, opt, w, returnData): 10733 '''int KStyle.styleHint(QStyle.StyleHint hint, QStyleOption opt, QWidget w, QStyleHintReturn returnData)''' 10734 return int() 10735 def sizeFromContents(self, type, opt, contentsSize, w): 10736 '''QSize KStyle.sizeFromContents(QStyle.ContentsType type, QStyleOption opt, QSize contentsSize, QWidget w)''' 10737 return QSize() 10738 def subElementRect(self, subRect, opt, w): 10739 '''QRect KStyle.subElementRect(QStyle.SubElement subRect, QStyleOption opt, QWidget w)''' 10740 return QRect() 10741 def pixelMetric(self, metric, opt = None, w = None): 10742 '''int KStyle.pixelMetric(QStyle.PixelMetric metric, QStyleOption opt = None, QWidget w = None)''' 10743 return int() 10744 def drawPrimitive(self, elem, opt, p, w): 10745 '''void KStyle.drawPrimitive(QStyle.PrimitiveElement elem, QStyleOption opt, QPainter p, QWidget w)''' 10746 def drawControl(self, elem, opt, p, w): 10747 '''void KStyle.drawControl(QStyle.ControlElement elem, QStyleOption opt, QPainter p, QWidget w)''' 10748 def layoutSpacingImplementation(self, control1, control2, orientation, option, widget): 10749 '''int KStyle.layoutSpacingImplementation(QSizePolicy.ControlType control1, QSizePolicy.ControlType control2, Qt.Orientation orientation, QStyleOption option, QWidget widget)''' 10750 return int() 10751 def eventFilter(self): 10752 '''QEvent KStyle.eventFilter()''' 10753 return QEvent() 10754 def generatedIconPixmap(self, iconMode, pixmap, opt): 10755 '''QPixmap KStyle.generatedIconPixmap(QIcon.Mode iconMode, QPixmap pixmap, QStyleOption opt)''' 10756 return QPixmap() 10757 def standardPalette(self): 10758 '''QPalette KStyle.standardPalette()''' 10759 return QPalette() 10760 def drawItemPixmap(self, painter, rect, alignment, pixmap): 10761 '''void KStyle.drawItemPixmap(QPainter painter, QRect rect, int alignment, QPixmap pixmap)''' 10762 def drawItemText(self, painter, rect, flags, pal, enabled, text, textRole = None): 10763 '''void KStyle.drawItemText(QPainter painter, QRect rect, int flags, QPalette pal, bool enabled, QString text, QPalette.ColorRole textRole = QPalette.NoRole)''' 10764 def itemPixmapRect(self, r, flags, pixmap): 10765 '''QRect KStyle.itemPixmapRect(QRect r, int flags, QPixmap pixmap)''' 10766 return QRect() 10767 def itemTextRect(self, fm, r, flags, enabled, text): 10768 '''QRect KStyle.itemTextRect(QFontMetrics fm, QRect r, int flags, bool enabled, QString text)''' 10769 return QRect() 10770 def unpolish(self): 10771 '''QWidget KStyle.unpolish()''' 10772 return QWidget() 10773 def unpolish(self): 10774 '''QApplication KStyle.unpolish()''' 10775 return QApplication() 10776 def polish(self): 10777 '''QWidget KStyle.polish()''' 10778 return QWidget() 10779 def polish(self): 10780 '''QApplication KStyle.polish()''' 10781 return QApplication() 10782 def polish(self): 10783 '''QPalette KStyle.polish()''' 10784 return QPalette() 10785 def widgetLayoutProp(self, widgetType, metric, opt = None, w = None): 10786 '''int KStyle.widgetLayoutProp(KStyle.WidgetType widgetType, int metric, QStyleOption opt = None, QWidget w = None)''' 10787 return int() 10788 def setWidgetLayoutProp(self, widget, metric, value): 10789 '''void KStyle.setWidgetLayoutProp(KStyle.WidgetType widget, int metric, int value)''' 10790 def centerRect(self, in_, w, h): 10791 '''QRect KStyle.centerRect(QRect in, int w, int h)''' 10792 return QRect() 10793 def centerRect(self, in_, size): 10794 '''QRect KStyle.centerRect(QRect in, QSize size)''' 10795 return QRect() 10796 def drawInsideRect(self, p, r): 10797 '''void KStyle.drawInsideRect(QPainter p, QRect r)''' 10798 def newSubElement(self, element): 10799 '''QStyle.SubElement KStyle.newSubElement(QString element)''' 10800 return QStyle.SubElement() 10801 def newControlElement(self, element): 10802 '''QStyle.ControlElement KStyle.newControlElement(QString element)''' 10803 return QStyle.ControlElement() 10804 def newStyleHint(self, element): 10805 '''QStyle.StyleHint KStyle.newStyleHint(QString element)''' 10806 return QStyle.StyleHint() 10807 def customSubElement(self, element, widget): 10808 '''static QStyle.SubElement KStyle.customSubElement(QString element, QWidget widget)''' 10809 return QStyle.SubElement() 10810 def customControlElement(self, element, widget): 10811 '''static QStyle.ControlElement KStyle.customControlElement(QString element, QWidget widget)''' 10812 return QStyle.ControlElement() 10813 def customStyleHint(self, element, widget): 10814 '''static QStyle.StyleHint KStyle.customStyleHint(QString element, QWidget widget)''' 10815 return QStyle.StyleHint() 10816 def defaultStyle(self): 10817 '''static QString KStyle.defaultStyle()''' 10818 return QString() 10819 10820 10821class KSvgRenderer(QSvgRenderer): 10822 """""" 10823 def __init__(self, parent = None): 10824 '''void KSvgRenderer.__init__(QObject parent = None)''' 10825 def __init__(self, filename, parent = None): 10826 '''void KSvgRenderer.__init__(QString filename, QObject parent = None)''' 10827 def __init__(self, contents, parent = None): 10828 '''void KSvgRenderer.__init__(QByteArray contents, QObject parent = None)''' 10829 def load(self, filename): 10830 '''bool KSvgRenderer.load(QString filename)''' 10831 return bool() 10832 def load(self, contents): 10833 '''bool KSvgRenderer.load(QByteArray contents)''' 10834 return bool() 10835 10836 10837class KSystemEventFilter(): 10838 """""" 10839 def removeEventFilter(self, filter): 10840 '''static void KSystemEventFilter.removeEventFilter(QWidget filter)''' 10841 def installEventFilter(self, filter): 10842 '''static void KSystemEventFilter.installEventFilter(QWidget filter)''' 10843 10844 10845class KSystemTrayIcon(QSystemTrayIcon): 10846 """""" 10847 def __init__(self, parent = None): 10848 '''void KSystemTrayIcon.__init__(QWidget parent = None)''' 10849 def __init__(self, icon, parent = None): 10850 '''void KSystemTrayIcon.__init__(QString icon, QWidget parent = None)''' 10851 def __init__(self, icon, parent = None): 10852 '''void KSystemTrayIcon.__init__(QIcon icon, QWidget parent = None)''' 10853 def __init__(self, movie, parent): 10854 '''void KSystemTrayIcon.__init__(QMovie movie, QWidget parent)''' 10855 def toggleActive(self): 10856 '''void KSystemTrayIcon.toggleActive()''' 10857 quitSelected = pyqtSignal() # void quitSelected() - signal 10858 def contextMenuTitle(self): 10859 '''QAction KSystemTrayIcon.contextMenuTitle()''' 10860 return QAction() 10861 def setContextMenuTitle(self, action): 10862 '''void KSystemTrayIcon.setContextMenuTitle(QAction action)''' 10863 def loadIcon(self, icon, componentData = None): 10864 '''static QIcon KSystemTrayIcon.loadIcon(QString icon, KComponentData componentData = KGlobal.mainComponent())''' 10865 return QIcon() 10866 def parentWidgetTrayClose(self): 10867 '''bool KSystemTrayIcon.parentWidgetTrayClose()''' 10868 return bool() 10869 def parentWidget(self): 10870 '''QWidget KSystemTrayIcon.parentWidget()''' 10871 return QWidget() 10872 def actionCollection(self): 10873 '''KActionCollection KSystemTrayIcon.actionCollection()''' 10874 return KActionCollection() 10875 def movie(self): 10876 '''QMovie KSystemTrayIcon.movie()''' 10877 return QMovie() 10878 def setMovie(self, movie): 10879 '''void KSystemTrayIcon.setMovie(QMovie movie)''' 10880 10881 10882class KTabBar(QTabBar): 10883 """""" 10884 def __init__(self, parent = None): 10885 '''void KTabBar.__init__(QWidget parent = None)''' 10886 def tabLayoutChange(self): 10887 '''void KTabBar.tabLayoutChange()''' 10888 def activateDragSwitchTab(self): 10889 '''void KTabBar.activateDragSwitchTab()''' 10890 def enableCloseButton(self): 10891 '''void KTabBar.enableCloseButton()''' 10892 def closeButtonClicked(self): 10893 '''void KTabBar.closeButtonClicked()''' 10894 def tabSizeHint(self, index): 10895 '''QSize KTabBar.tabSizeHint(int index)''' 10896 return QSize() 10897 def leaveEvent(self, event): 10898 '''void KTabBar.leaveEvent(QEvent event)''' 10899 def paintEvent(self, event): 10900 '''void KTabBar.paintEvent(QPaintEvent event)''' 10901 def dropEvent(self, event): 10902 '''void KTabBar.dropEvent(QDropEvent event)''' 10903 def dragMoveEvent(self, event): 10904 '''void KTabBar.dragMoveEvent(QDragMoveEvent event)''' 10905 def dragEnterEvent(self, event): 10906 '''void KTabBar.dragEnterEvent(QDragEnterEvent event)''' 10907 def wheelEvent(self, event): 10908 '''void KTabBar.wheelEvent(QWheelEvent event)''' 10909 def mouseReleaseEvent(self, event): 10910 '''void KTabBar.mouseReleaseEvent(QMouseEvent event)''' 10911 def mouseMoveEvent(self, event): 10912 '''void KTabBar.mouseMoveEvent(QMouseEvent event)''' 10913 def mousePressEvent(self, event): 10914 '''void KTabBar.mousePressEvent(QMouseEvent event)''' 10915 def mouseDoubleClickEvent(self, event): 10916 '''void KTabBar.mouseDoubleClickEvent(QMouseEvent event)''' 10917 wheelDelta = pyqtSignal() # void wheelDelta(int) - signal 10918 closeRequest = pyqtSignal() # void closeRequest(int) - signal 10919 moveTab = pyqtSignal() # void moveTab(int,int) - signal 10920 receivedDropEvent = pyqtSignal() # void receivedDropEvent(int,QDropEvent *) - signal 10921 initiateDrag = pyqtSignal() # void initiateDrag(int) - signal 10922 mouseMiddleClick = pyqtSignal() # void mouseMiddleClick(int) - signal 10923 newTabRequest = pyqtSignal() # void newTabRequest() - signal 10924 tabDoubleClicked = pyqtSignal() # void tabDoubleClicked(int) - signal 10925 mouseDoubleClick = pyqtSignal() # void mouseDoubleClick(int) - signal 10926 emptyAreaContextMenu = pyqtSignal() # void emptyAreaContextMenu(const QPointamp;) - signal 10927 contextMenu = pyqtSignal() # void contextMenu(int,const QPointamp;) - signal 10928 def selectTab(self, position): 10929 '''int KTabBar.selectTab(QPoint position)''' 10930 return int() 10931 def tabCloseActivatePrevious(self): 10932 '''bool KTabBar.tabCloseActivatePrevious()''' 10933 return bool() 10934 def setTabCloseActivatePrevious(self): 10935 '''bool KTabBar.setTabCloseActivatePrevious()''' 10936 return bool() 10937 def isCloseButtonEnabled(self): 10938 '''bool KTabBar.isCloseButtonEnabled()''' 10939 return bool() 10940 def setCloseButtonEnabled(self): 10941 '''bool KTabBar.setCloseButtonEnabled()''' 10942 return bool() 10943 def hoverCloseButtonDelayed(self): 10944 '''bool KTabBar.hoverCloseButtonDelayed()''' 10945 return bool() 10946 def setHoverCloseButtonDelayed(self): 10947 '''bool KTabBar.setHoverCloseButtonDelayed()''' 10948 return bool() 10949 def hoverCloseButton(self): 10950 '''bool KTabBar.hoverCloseButton()''' 10951 return bool() 10952 def setHoverCloseButton(self): 10953 '''bool KTabBar.setHoverCloseButton()''' 10954 return bool() 10955 def isTabReorderingEnabled(self): 10956 '''bool KTabBar.isTabReorderingEnabled()''' 10957 return bool() 10958 def setTabReorderingEnabled(self, enable): 10959 '''void KTabBar.setTabReorderingEnabled(bool enable)''' 10960 10961 10962class KTabWidget(QTabWidget): 10963 """""" 10964 def __init__(self, parent = None, flags = 0): 10965 '''void KTabWidget.__init__(QWidget parent = None, Qt.WindowFlags flags = 0)''' 10966 def mouseReleaseEvent(self): 10967 '''QMouseEvent KTabWidget.mouseReleaseEvent()''' 10968 return QMouseEvent() 10969 def wheelDelta(self): 10970 '''int KTabWidget.wheelDelta()''' 10971 return int() 10972 def currentChanged(self): 10973 '''int KTabWidget.currentChanged()''' 10974 return int() 10975 def tabRemoved(self): 10976 '''int KTabWidget.tabRemoved()''' 10977 return int() 10978 def tabInserted(self): 10979 '''int KTabWidget.tabInserted()''' 10980 return int() 10981 def resizeEvent(self): 10982 '''QResizeEvent KTabWidget.resizeEvent()''' 10983 return QResizeEvent() 10984 def wheelEvent(self): 10985 '''QWheelEvent KTabWidget.wheelEvent()''' 10986 return QWheelEvent() 10987 def tabBarWidthForMaxChars(self): 10988 '''int KTabWidget.tabBarWidthForMaxChars()''' 10989 return int() 10990 def dropEvent(self): 10991 '''QDropEvent KTabWidget.dropEvent()''' 10992 return QDropEvent() 10993 def dragMoveEvent(self): 10994 '''QDragMoveEvent KTabWidget.dragMoveEvent()''' 10995 return QDragMoveEvent() 10996 def dragEnterEvent(self): 10997 '''QDragEnterEvent KTabWidget.dragEnterEvent()''' 10998 return QDragEnterEvent() 10999 def mousePressEvent(self): 11000 '''QMouseEvent KTabWidget.mousePressEvent()''' 11001 return QMouseEvent() 11002 def mouseDoubleClickEvent(self): 11003 '''QMouseEvent KTabWidget.mouseDoubleClickEvent()''' 11004 return QMouseEvent() 11005 closeRequest = pyqtSignal() # void closeRequest(QWidget *) - signal 11006 mouseMiddleClick = pyqtSignal() # void mouseMiddleClick() - signal 11007 mouseMiddleClick = pyqtSignal() # void mouseMiddleClick(QWidget *) - signal 11008 mouseDoubleClick = pyqtSignal() # void mouseDoubleClick() - signal 11009 mouseDoubleClick = pyqtSignal() # void mouseDoubleClick(QWidget *) - signal 11010 movedTab = pyqtSignal() # void movedTab(int,int) - signal 11011 contextMenu = pyqtSignal() # void contextMenu(QWidget *,const QPointamp;) - signal 11012 initiateDrag = pyqtSignal() # void initiateDrag(QWidget *) - signal 11013 receivedDropEvent = pyqtSignal() # void receivedDropEvent(QDropEvent *) - signal 11014 receivedDropEvent = pyqtSignal() # void receivedDropEvent(QWidget *,QDropEvent *) - signal 11015 def setAutomaticResizeTabs(self, enable): 11016 '''void KTabWidget.setAutomaticResizeTabs(bool enable)''' 11017 def setTabCloseActivatePrevious(self, previous): 11018 '''void KTabWidget.setTabCloseActivatePrevious(bool previous)''' 11019 def setCloseButtonEnabled(self): 11020 '''bool KTabWidget.setCloseButtonEnabled()''' 11021 return bool() 11022 def setHoverCloseButtonDelayed(self, delayed): 11023 '''void KTabWidget.setHoverCloseButtonDelayed(bool delayed)''' 11024 def setHoverCloseButton(self, enable): 11025 '''void KTabWidget.setHoverCloseButton(bool enable)''' 11026 def setTabReorderingEnabled(self, enable): 11027 '''void KTabWidget.setTabReorderingEnabled(bool enable)''' 11028 def removeTab(self, index): 11029 '''void KTabWidget.removeTab(int index)''' 11030 def removePage(self, w): 11031 '''void KTabWidget.removePage(QWidget w)''' 11032 def moveTab(self): 11033 '''int KTabWidget.moveTab()''' 11034 return int() 11035 def setTabText(self): 11036 '''QString KTabWidget.setTabText()''' 11037 return QString() 11038 def tabText(self): 11039 '''int KTabWidget.tabText()''' 11040 return int() 11041 def isTabBarHidden(self): 11042 '''bool KTabWidget.isTabBarHidden()''' 11043 return bool() 11044 def setTabBarHidden(self, hide): 11045 '''void KTabWidget.setTabBarHidden(bool hide)''' 11046 def automaticResizeTabs(self): 11047 '''bool KTabWidget.automaticResizeTabs()''' 11048 return bool() 11049 def tabCloseActivatePrevious(self): 11050 '''bool KTabWidget.tabCloseActivatePrevious()''' 11051 return bool() 11052 def isCloseButtonEnabled(self): 11053 '''bool KTabWidget.isCloseButtonEnabled()''' 11054 return bool() 11055 def hoverCloseButtonDelayed(self): 11056 '''bool KTabWidget.hoverCloseButtonDelayed()''' 11057 return bool() 11058 def hoverCloseButton(self): 11059 '''bool KTabWidget.hoverCloseButton()''' 11060 return bool() 11061 def isTabReorderingEnabled(self): 11062 '''bool KTabWidget.isTabReorderingEnabled()''' 11063 return bool() 11064 def tabTextColor(self, index): 11065 '''QColor KTabWidget.tabTextColor(int index)''' 11066 return QColor() 11067 def setTabTextColor(self, index, color): 11068 '''void KTabWidget.setTabTextColor(int index, QColor color)''' 11069 11070 11071class KTextBrowser(QTextBrowser): 11072 """""" 11073 def __init__(self, parent = None, notifyClick = False): 11074 '''void KTextBrowser.__init__(QWidget parent = None, bool notifyClick = False)''' 11075 urlClick = pyqtSignal() # void urlClick(const QStringamp;) - signal 11076 mailClick = pyqtSignal() # void mailClick(const QStringamp;,const QStringamp;) - signal 11077 def contextMenuEvent(self, event): 11078 '''void KTextBrowser.contextMenuEvent(QContextMenuEvent event)''' 11079 def wheelEvent(self, event): 11080 '''void KTextBrowser.wheelEvent(QWheelEvent event)''' 11081 def keyPressEvent(self, event): 11082 '''void KTextBrowser.keyPressEvent(QKeyEvent event)''' 11083 def setSource(self, name): 11084 '''void KTextBrowser.setSource(QUrl name)''' 11085 def isNotifyClick(self): 11086 '''bool KTextBrowser.isNotifyClick()''' 11087 return bool() 11088 def setNotifyClick(self, notifyClick): 11089 '''void KTextBrowser.setNotifyClick(bool notifyClick)''' 11090 11091 11092class KTextEditSpellInterface(): 11093 """""" 11094 def __init__(self): 11095 '''void KTextEditSpellInterface.__init__()''' 11096 def __init__(self): 11097 '''KTextEditSpellInterface KTextEditSpellInterface.__init__()''' 11098 return KTextEditSpellInterface() 11099 def shouldBlockBeSpellChecked(self, block): 11100 '''abstract bool KTextEditSpellInterface.shouldBlockBeSpellChecked(QString block)''' 11101 return bool() 11102 def setSpellCheckingEnabled(self, enable): 11103 '''abstract void KTextEditSpellInterface.setSpellCheckingEnabled(bool enable)''' 11104 def isSpellCheckingEnabled(self): 11105 '''abstract bool KTextEditSpellInterface.isSpellCheckingEnabled()''' 11106 return bool() 11107 11108 11109class KTimeComboBox(KComboBox): 11110 """""" 11111 # Enum KTimeComboBox.Option 11112 EditTime = 0 11113 SelectTime = 0 11114 ForceTime = 0 11115 WarnOnInvalid = 0 11116 11117 def __init__(self, parent = None): 11118 '''void KTimeComboBox.__init__(QWidget parent = None)''' 11119 def displayFormat(self): 11120 '''KLocale.TimeFormatOptions KTimeComboBox.displayFormat()''' 11121 return KLocale.TimeFormatOptions() 11122 def isNull(self): 11123 '''bool KTimeComboBox.isNull()''' 11124 return bool() 11125 def setTimeList(self, timeList, minWarnMsg = QString(), maxWarnMsg = QString()): 11126 '''void KTimeComboBox.setTimeList(list-of-QTime timeList, QString minWarnMsg = QString(), QString maxWarnMsg = QString())''' 11127 def setTimeListInterval(self, minutes): 11128 '''void KTimeComboBox.setTimeListInterval(int minutes)''' 11129 def setMaximumTime(self, maxTime, maxWarnMsg = QString()): 11130 '''void KTimeComboBox.setMaximumTime(QTime maxTime, QString maxWarnMsg = QString())''' 11131 def setMinimumTime(self, minTime, minWarnMsg = QString()): 11132 '''void KTimeComboBox.setMinimumTime(QTime minTime, QString minWarnMsg = QString())''' 11133 def timeList(self): 11134 '''list-of-QTime KTimeComboBox.timeList()''' 11135 return [QTime()] 11136 def timeListInterval(self): 11137 '''int KTimeComboBox.timeListInterval()''' 11138 return int() 11139 def assignTime(self, time): 11140 '''void KTimeComboBox.assignTime(QTime time)''' 11141 def resizeEvent(self, event): 11142 '''void KTimeComboBox.resizeEvent(QResizeEvent event)''' 11143 def focusOutEvent(self, event): 11144 '''void KTimeComboBox.focusOutEvent(QFocusEvent event)''' 11145 def focusInEvent(self, event): 11146 '''void KTimeComboBox.focusInEvent(QFocusEvent event)''' 11147 def keyPressEvent(self, event): 11148 '''void KTimeComboBox.keyPressEvent(QKeyEvent event)''' 11149 def wheelEvent(self, event): 11150 '''void KTimeComboBox.wheelEvent(QWheelEvent event)''' 11151 def mousePressEvent(self, event): 11152 '''void KTimeComboBox.mousePressEvent(QMouseEvent event)''' 11153 def hidePopup(self): 11154 '''void KTimeComboBox.hidePopup()''' 11155 def showPopup(self): 11156 '''void KTimeComboBox.showPopup()''' 11157 def eventFilter(self, object, event): 11158 '''bool KTimeComboBox.eventFilter(QObject object, QEvent event)''' 11159 return bool() 11160 def setDisplayFormat(self, formatOptions): 11161 '''void KTimeComboBox.setDisplayFormat(KLocale.TimeFormatOptions formatOptions)''' 11162 def setOptions(self, options): 11163 '''void KTimeComboBox.setOptions(KTimeComboBox.Options options)''' 11164 def setTime(self, time): 11165 '''void KTimeComboBox.setTime(QTime time)''' 11166 timeEdited = pyqtSignal() # void timeEdited(const QTimeamp;) - signal 11167 timeChanged = pyqtSignal() # void timeChanged(const QTimeamp;) - signal 11168 timeEntered = pyqtSignal() # void timeEntered(const QTimeamp;) - signal 11169 def resetTimeRange(self): 11170 '''void KTimeComboBox.resetTimeRange()''' 11171 def setTimeRange(self, minTime, maxTime, minWarnMsg = QString(), maxWarnMsg = QString()): 11172 '''void KTimeComboBox.setTimeRange(QTime minTime, QTime maxTime, QString minWarnMsg = QString(), QString maxWarnMsg = QString())''' 11173 def resetMaximumTime(self): 11174 '''void KTimeComboBox.resetMaximumTime()''' 11175 def maximumTime(self): 11176 '''QTime KTimeComboBox.maximumTime()''' 11177 return QTime() 11178 def resetMinimumTime(self): 11179 '''void KTimeComboBox.resetMinimumTime()''' 11180 def minimumTime(self): 11181 '''QTime KTimeComboBox.minimumTime()''' 11182 return QTime() 11183 def options(self): 11184 '''KTimeComboBox.Options KTimeComboBox.options()''' 11185 return KTimeComboBox.Options() 11186 def isValid(self): 11187 '''bool KTimeComboBox.isValid()''' 11188 return bool() 11189 def time(self): 11190 '''QTime KTimeComboBox.time()''' 11191 return QTime() 11192 class Options(): 11193 """""" 11194 def __init__(self): 11195 '''KTimeComboBox.Options KTimeComboBox.Options.__init__()''' 11196 return KTimeComboBox.Options() 11197 def __init__(self): 11198 '''int KTimeComboBox.Options.__init__()''' 11199 return int() 11200 def __init__(self): 11201 '''void KTimeComboBox.Options.__init__()''' 11202 def __bool__(self): 11203 '''int KTimeComboBox.Options.__bool__()''' 11204 return int() 11205 def __ne__(self, f): 11206 '''bool KTimeComboBox.Options.__ne__(KTimeComboBox.Options f)''' 11207 return bool() 11208 def __eq__(self, f): 11209 '''bool KTimeComboBox.Options.__eq__(KTimeComboBox.Options f)''' 11210 return bool() 11211 def __invert__(self): 11212 '''KTimeComboBox.Options KTimeComboBox.Options.__invert__()''' 11213 return KTimeComboBox.Options() 11214 def __and__(self, mask): 11215 '''KTimeComboBox.Options KTimeComboBox.Options.__and__(int mask)''' 11216 return KTimeComboBox.Options() 11217 def __xor__(self, f): 11218 '''KTimeComboBox.Options KTimeComboBox.Options.__xor__(KTimeComboBox.Options f)''' 11219 return KTimeComboBox.Options() 11220 def __xor__(self, f): 11221 '''KTimeComboBox.Options KTimeComboBox.Options.__xor__(int f)''' 11222 return KTimeComboBox.Options() 11223 def __or__(self, f): 11224 '''KTimeComboBox.Options KTimeComboBox.Options.__or__(KTimeComboBox.Options f)''' 11225 return KTimeComboBox.Options() 11226 def __or__(self, f): 11227 '''KTimeComboBox.Options KTimeComboBox.Options.__or__(int f)''' 11228 return KTimeComboBox.Options() 11229 def __int__(self): 11230 '''int KTimeComboBox.Options.__int__()''' 11231 return int() 11232 def __ixor__(self, f): 11233 '''KTimeComboBox.Options KTimeComboBox.Options.__ixor__(KTimeComboBox.Options f)''' 11234 return KTimeComboBox.Options() 11235 def __ior__(self, f): 11236 '''KTimeComboBox.Options KTimeComboBox.Options.__ior__(KTimeComboBox.Options f)''' 11237 return KTimeComboBox.Options() 11238 def __iand__(self, mask): 11239 '''KTimeComboBox.Options KTimeComboBox.Options.__iand__(int mask)''' 11240 return KTimeComboBox.Options() 11241 11242 11243class KTimeZoneWidget(QTreeWidget): 11244 """""" 11245 def __init__(self, parent = None, timeZones = None): 11246 '''void KTimeZoneWidget.__init__(QWidget parent = None, KTimeZones timeZones = None)''' 11247 def clearSelection(self): 11248 '''void KTimeZoneWidget.clearSelection()''' 11249 def selectionMode(self): 11250 '''QAbstractItemView.SelectionMode KTimeZoneWidget.selectionMode()''' 11251 return QAbstractItemView.SelectionMode() 11252 def setSelectionMode(self, mode): 11253 '''void KTimeZoneWidget.setSelectionMode(QAbstractItemView.SelectionMode mode)''' 11254 def itemsCheckable(self): 11255 '''bool KTimeZoneWidget.itemsCheckable()''' 11256 return bool() 11257 def setItemsCheckable(self, enable): 11258 '''void KTimeZoneWidget.setItemsCheckable(bool enable)''' 11259 def displayName(self, zone): 11260 '''static QString KTimeZoneWidget.displayName(KTimeZone zone)''' 11261 return QString() 11262 def setSelected(self, zone, selected): 11263 '''void KTimeZoneWidget.setSelected(QString zone, bool selected)''' 11264 def selection(self): 11265 '''QStringList KTimeZoneWidget.selection()''' 11266 return QStringList() 11267 11268 11269class KTipDatabase(): 11270 """""" 11271 def __init__(self, tipFile = QString()): 11272 '''void KTipDatabase.__init__(QString tipFile = QString())''' 11273 def __init__(self, tipFiles): 11274 '''void KTipDatabase.__init__(QStringList tipFiles)''' 11275 def prevTip(self): 11276 '''void KTipDatabase.prevTip()''' 11277 def nextTip(self): 11278 '''void KTipDatabase.nextTip()''' 11279 def tip(self): 11280 '''QString KTipDatabase.tip()''' 11281 return QString() 11282 11283 11284class KTipDialog(KDialog): 11285 """""" 11286 def __init__(self, database, parent = None): 11287 '''void KTipDialog.__init__(KTipDatabase database, QWidget parent = None)''' 11288 def eventFilter(self): 11289 '''QEvent KTipDialog.eventFilter()''' 11290 return QEvent() 11291 def setShowOnStart(self, show): 11292 '''static void KTipDialog.setShowOnStart(bool show)''' 11293 def showMultiTip(self, parent, tipFiles, force = False): 11294 '''static void KTipDialog.showMultiTip(QWidget parent, QStringList tipFiles, bool force = False)''' 11295 def showTip(self, parent, tipFile = QString(), force = False): 11296 '''static void KTipDialog.showTip(QWidget parent, QString tipFile = QString(), bool force = False)''' 11297 def showTip(self, tipFile = QString(), force = False): 11298 '''static void KTipDialog.showTip(QString tipFile = QString(), bool force = False)''' 11299 11300 11301class KTitleWidget(QWidget): 11302 """""" 11303 # Enum KTitleWidget.MessageType 11304 PlainMessage = 0 11305 InfoMessage = 0 11306 WarningMessage = 0 11307 ErrorMessage = 0 11308 11309 # Enum KTitleWidget.ImageAlignment 11310 ImageLeft = 0 11311 ImageRight = 0 11312 11313 def __init__(self, parent = None): 11314 '''void KTitleWidget.__init__(QWidget parent = None)''' 11315 def eventFilter(self, object, event): 11316 '''bool KTitleWidget.eventFilter(QObject object, QEvent event)''' 11317 return bool() 11318 def showEvent(self, event): 11319 '''void KTitleWidget.showEvent(QShowEvent event)''' 11320 def changeEvent(self, e): 11321 '''void KTitleWidget.changeEvent(QEvent e)''' 11322 def setAutoHideTimeout(self, msecs): 11323 '''void KTitleWidget.setAutoHideTimeout(int msecs)''' 11324 def setPixmap(self, pixmap, alignment = None): 11325 '''void KTitleWidget.setPixmap(QPixmap pixmap, KTitleWidget.ImageAlignment alignment = KTitleWidget.ImageRight)''' 11326 def setPixmap(self, icon, alignment = None): 11327 '''void KTitleWidget.setPixmap(QString icon, KTitleWidget.ImageAlignment alignment = KTitleWidget.ImageRight)''' 11328 def setPixmap(self, icon, alignment = None): 11329 '''void KTitleWidget.setPixmap(QIcon icon, KTitleWidget.ImageAlignment alignment = KTitleWidget.ImageRight)''' 11330 def setPixmap(self, type, alignment = None): 11331 '''void KTitleWidget.setPixmap(KTitleWidget.MessageType type, KTitleWidget.ImageAlignment alignment = KTitleWidget.ImageRight)''' 11332 def setComment(self, comment, type = None): 11333 '''void KTitleWidget.setComment(QString comment, KTitleWidget.MessageType type = KTitleWidget.PlainMessage)''' 11334 def setText(self, text, alignment = None): 11335 '''void KTitleWidget.setText(QString text, Qt.Alignment alignment = Qt.AlignLeft|Qt.AlignVCenter)''' 11336 def setText(self, text, type): 11337 '''void KTitleWidget.setText(QString text, KTitleWidget.MessageType type)''' 11338 def autoHideTimeout(self): 11339 '''int KTitleWidget.autoHideTimeout()''' 11340 return int() 11341 def setBuddy(self, buddy): 11342 '''void KTitleWidget.setBuddy(QWidget buddy)''' 11343 def pixmap(self): 11344 '''QPixmap KTitleWidget.pixmap()''' 11345 return QPixmap() 11346 def comment(self): 11347 '''QString KTitleWidget.comment()''' 11348 return QString() 11349 def text(self): 11350 '''QString KTitleWidget.text()''' 11351 return QString() 11352 def setWidget(self, widget): 11353 '''void KTitleWidget.setWidget(QWidget widget)''' 11354 11355 11356class KToggleAction(KAction): 11357 """""" 11358 def __init__(self, parent): 11359 '''void KToggleAction.__init__(QObject parent)''' 11360 def __init__(self, text, parent): 11361 '''void KToggleAction.__init__(QString text, QObject parent)''' 11362 def __init__(self, icon, text, parent): 11363 '''void KToggleAction.__init__(KIcon icon, QString text, QObject parent)''' 11364 def slotToggled(self, checked): 11365 '''void KToggleAction.slotToggled(bool checked)''' 11366 def setCheckedState(self, checkedItem): 11367 '''void KToggleAction.setCheckedState(KGuiItem checkedItem)''' 11368 11369 11370class KToggleFullScreenAction(KToggleAction): 11371 """""" 11372 def __init__(self, parent): 11373 '''void KToggleFullScreenAction.__init__(QObject parent)''' 11374 def __init__(self, window, parent): 11375 '''void KToggleFullScreenAction.__init__(QWidget window, QObject parent)''' 11376 def eventFilter(self, object, event): 11377 '''bool KToggleFullScreenAction.eventFilter(QObject object, QEvent event)''' 11378 return bool() 11379 def setFullScreen(self, window, set): 11380 '''static void KToggleFullScreenAction.setFullScreen(QWidget window, bool set)''' 11381 def setWindow(self, window): 11382 '''void KToggleFullScreenAction.setWindow(QWidget window)''' 11383 11384 11385class KToggleToolBarAction(KToggleAction): 11386 """""" 11387 def __init__(self, toolBarName, text, parent): 11388 '''void KToggleToolBarAction.__init__(str toolBarName, QString text, QObject parent)''' 11389 def __init__(self, toolBar, text, parent): 11390 '''void KToggleToolBarAction.__init__(KToolBar toolBar, QString text, QObject parent)''' 11391 def eventFilter(self, watched, event): 11392 '''bool KToggleToolBarAction.eventFilter(QObject watched, QEvent event)''' 11393 return bool() 11394 def toolBar(self): 11395 '''KToolBar KToggleToolBarAction.toolBar()''' 11396 return KToolBar() 11397 11398 11399class KToolBar(QToolBar): 11400 """""" 11401 def __init__(self, parent, isMainToolBar = False, readConfig = True): 11402 '''void KToolBar.__init__(QWidget parent, bool isMainToolBar = False, bool readConfig = True)''' 11403 def __init__(self, objectName, parentWindow, area, newLine = False, isMainToolBar = False, readConfig = True): 11404 '''void KToolBar.__init__(QString objectName, QMainWindow parentWindow, Qt.ToolBarArea area, bool newLine = False, bool isMainToolBar = False, bool readConfig = True)''' 11405 def __init__(self, objectName, parent, readConfig = True): 11406 '''void KToolBar.__init__(QString objectName, QWidget parent, bool readConfig = True)''' 11407 def addXMLGUIClient(self, client): 11408 '''void KToolBar.addXMLGUIClient(KXMLGUIClient client)''' 11409 def mouseReleaseEvent(self): 11410 '''QMouseEvent KToolBar.mouseReleaseEvent()''' 11411 return QMouseEvent() 11412 def mouseMoveEvent(self): 11413 '''QMouseEvent KToolBar.mouseMoveEvent()''' 11414 return QMouseEvent() 11415 def mousePressEvent(self): 11416 '''QMouseEvent KToolBar.mousePressEvent()''' 11417 return QMouseEvent() 11418 def dropEvent(self): 11419 '''QDropEvent KToolBar.dropEvent()''' 11420 return QDropEvent() 11421 def dragLeaveEvent(self): 11422 '''QDragLeaveEvent KToolBar.dragLeaveEvent()''' 11423 return QDragLeaveEvent() 11424 def dragMoveEvent(self): 11425 '''QDragMoveEvent KToolBar.dragMoveEvent()''' 11426 return QDragMoveEvent() 11427 def dragEnterEvent(self): 11428 '''QDragEnterEvent KToolBar.dragEnterEvent()''' 11429 return QDragEnterEvent() 11430 def actionEvent(self): 11431 '''QActionEvent KToolBar.actionEvent()''' 11432 return QActionEvent() 11433 def contextMenuEvent(self): 11434 '''QContextMenuEvent KToolBar.contextMenuEvent()''' 11435 return QContextMenuEvent() 11436 def slotMovableChanged(self, movable): 11437 '''void KToolBar.slotMovableChanged(bool movable)''' 11438 def setToolBarsLocked(self, locked): 11439 '''static void KToolBar.setToolBarsLocked(bool locked)''' 11440 def toolBarsLocked(self): 11441 '''static bool KToolBar.toolBarsLocked()''' 11442 return bool() 11443 def setToolBarsEditable(self, editable): 11444 '''static void KToolBar.setToolBarsEditable(bool editable)''' 11445 def toolBarsEditable(self): 11446 '''static bool KToolBar.toolBarsEditable()''' 11447 return bool() 11448 def toolButtonStyleSetting(self): 11449 '''static Qt.ToolButtonStyle KToolBar.toolButtonStyleSetting()''' 11450 return Qt.ToolButtonStyle() 11451 def eventFilter(self, watched, event): 11452 '''bool KToolBar.eventFilter(QObject watched, QEvent event)''' 11453 return bool() 11454 def saveState(self, element): 11455 '''void KToolBar.saveState(QDomElement element)''' 11456 def loadState(self, element): 11457 '''void KToolBar.loadState(QDomElement element)''' 11458 def setXMLGUIClient(self, client): 11459 '''void KToolBar.setXMLGUIClient(KXMLGUIClient client)''' 11460 def applySettings(self, cg, forceGlobal = False): 11461 '''void KToolBar.applySettings(KConfigGroup cg, bool forceGlobal = False)''' 11462 def saveSettings(self, cg): 11463 '''void KToolBar.saveSettings(KConfigGroup cg)''' 11464 def contextMenuEnabled(self): 11465 '''bool KToolBar.contextMenuEnabled()''' 11466 return bool() 11467 def setContextMenuEnabled(self, enable = True): 11468 '''void KToolBar.setContextMenuEnabled(bool enable = True)''' 11469 def iconSizeDefault(self): 11470 '''int KToolBar.iconSizeDefault()''' 11471 return int() 11472 def setIconDimensions(self, size): 11473 '''void KToolBar.setIconDimensions(int size)''' 11474 def mainWindow(self): 11475 '''KMainWindow KToolBar.mainWindow()''' 11476 return KMainWindow() 11477 11478 11479class KToolBarLabelAction(KAction): 11480 """""" 11481 def __init__(self, text, parent): 11482 '''void KToolBarLabelAction.__init__(QString text, QObject parent)''' 11483 def __init__(self, buddy, text, parent): 11484 '''void KToolBarLabelAction.__init__(QAction buddy, QString text, QObject parent)''' 11485 def eventFilter(self, watched, event): 11486 '''bool KToolBarLabelAction.eventFilter(QObject watched, QEvent event)''' 11487 return bool() 11488 def event(self): 11489 '''QEvent KToolBarLabelAction.event()''' 11490 return QEvent() 11491 textChanged = pyqtSignal() # void textChanged(const QStringamp;) - signal 11492 def createWidget(self, parent): 11493 '''QWidget KToolBarLabelAction.createWidget(QWidget parent)''' 11494 return QWidget() 11495 def buddy(self): 11496 '''QAction KToolBarLabelAction.buddy()''' 11497 return QAction() 11498 def setBuddy(self, buddy): 11499 '''void KToolBarLabelAction.setBuddy(QAction buddy)''' 11500 11501 11502class KToolBarPopupAction(KAction): 11503 """""" 11504 def __init__(self, icon, text, parent): 11505 '''void KToolBarPopupAction.__init__(KIcon icon, QString text, QObject parent)''' 11506 def createWidget(self, parent): 11507 '''QWidget KToolBarPopupAction.createWidget(QWidget parent)''' 11508 return QWidget() 11509 def setStickyMenu(self, sticky): 11510 '''void KToolBarPopupAction.setStickyMenu(bool sticky)''' 11511 def stickyMenu(self): 11512 '''bool KToolBarPopupAction.stickyMenu()''' 11513 return bool() 11514 def setDelayed(self, delayed): 11515 '''void KToolBarPopupAction.setDelayed(bool delayed)''' 11516 def delayed(self): 11517 '''bool KToolBarPopupAction.delayed()''' 11518 return bool() 11519 def popupMenu(self): 11520 '''KMenu KToolBarPopupAction.popupMenu()''' 11521 return KMenu() 11522 11523 11524class KToolBarSpacerAction(KAction): 11525 """""" 11526 def __init__(self, parent): 11527 '''void KToolBarSpacerAction.__init__(QObject parent)''' 11528 def deleteWidget(self, widget): 11529 '''void KToolBarSpacerAction.deleteWidget(QWidget widget)''' 11530 def createWidget(self, parent): 11531 '''QWidget KToolBarSpacerAction.createWidget(QWidget parent)''' 11532 return QWidget() 11533 def setMaximumWidth(self, width): 11534 '''void KToolBarSpacerAction.setMaximumWidth(int width)''' 11535 def maximumWidth(self): 11536 '''int KToolBarSpacerAction.maximumWidth()''' 11537 return int() 11538 def setMinimumWidth(self, width): 11539 '''void KToolBarSpacerAction.setMinimumWidth(int width)''' 11540 def minimumWidth(self): 11541 '''int KToolBarSpacerAction.minimumWidth()''' 11542 return int() 11543 def setWidth(self, width): 11544 '''void KToolBarSpacerAction.setWidth(int width)''' 11545 def width(self): 11546 '''int KToolBarSpacerAction.width()''' 11547 return int() 11548 11549 11550class KTreeWidgetSearchLine(KLineEdit): 11551 """""" 11552 def __init__(self, parent = None, treeWidget = None): 11553 '''void KTreeWidgetSearchLine.__init__(QWidget parent = None, QTreeWidget treeWidget = None)''' 11554 def __init__(self, parent, treeWidgets): 11555 '''void KTreeWidgetSearchLine.__init__(QWidget parent, list-of-QTreeWidget treeWidgets)''' 11556 def event(self, event): 11557 '''bool KTreeWidgetSearchLine.event(QEvent event)''' 11558 return bool() 11559 def canChooseColumnsCheck(self): 11560 '''bool KTreeWidgetSearchLine.canChooseColumnsCheck()''' 11561 return bool() 11562 def disconnectTreeWidget(self): 11563 '''QTreeWidget KTreeWidgetSearchLine.disconnectTreeWidget()''' 11564 return QTreeWidget() 11565 def connectTreeWidget(self): 11566 '''QTreeWidget KTreeWidgetSearchLine.connectTreeWidget()''' 11567 return QTreeWidget() 11568 def contextMenuEvent(self): 11569 '''QContextMenuEvent KTreeWidgetSearchLine.contextMenuEvent()''' 11570 return QContextMenuEvent() 11571 def itemMatches(self, item, pattern): 11572 '''bool KTreeWidgetSearchLine.itemMatches(QTreeWidgetItem item, QString pattern)''' 11573 return bool() 11574 def setTreeWidgets(self, treeWidgets): 11575 '''void KTreeWidgetSearchLine.setTreeWidgets(list-of-QTreeWidget treeWidgets)''' 11576 def setTreeWidget(self, treeWidget): 11577 '''void KTreeWidgetSearchLine.setTreeWidget(QTreeWidget treeWidget)''' 11578 def setSearchColumns(self, columns): 11579 '''void KTreeWidgetSearchLine.setSearchColumns(list-of-int columns)''' 11580 def setKeepParentsVisible(self, value): 11581 '''void KTreeWidgetSearchLine.setKeepParentsVisible(bool value)''' 11582 def setCaseSensitivity(self, caseSensitivity): 11583 '''void KTreeWidgetSearchLine.setCaseSensitivity(Qt.CaseSensitivity caseSensitivity)''' 11584 def updateSearch(self, pattern = QString()): 11585 '''void KTreeWidgetSearchLine.updateSearch(QString pattern = QString())''' 11586 def updateSearch(self, treeWidget): 11587 '''void KTreeWidgetSearchLine.updateSearch(QTreeWidget treeWidget)''' 11588 def removeTreeWidget(self, treeWidget): 11589 '''void KTreeWidgetSearchLine.removeTreeWidget(QTreeWidget treeWidget)''' 11590 def addTreeWidget(self, treeWidget): 11591 '''void KTreeWidgetSearchLine.addTreeWidget(QTreeWidget treeWidget)''' 11592 hiddenChanged = pyqtSignal() # void hiddenChanged(QTreeWidgetItem *,bool) - signal 11593 def treeWidgets(self): 11594 '''list-of-QTreeWidget KTreeWidgetSearchLine.treeWidgets()''' 11595 return [QTreeWidget()] 11596 def treeWidget(self): 11597 '''QTreeWidget KTreeWidgetSearchLine.treeWidget()''' 11598 return QTreeWidget() 11599 def keepParentsVisible(self): 11600 '''bool KTreeWidgetSearchLine.keepParentsVisible()''' 11601 return bool() 11602 def searchColumns(self): 11603 '''list-of-int KTreeWidgetSearchLine.searchColumns()''' 11604 return [int()] 11605 def caseSensitivity(self): 11606 '''Qt.CaseSensitivity KTreeWidgetSearchLine.caseSensitivity()''' 11607 return Qt.CaseSensitivity() 11608 11609 11610class KTreeWidgetSearchLineWidget(QWidget): 11611 """""" 11612 def __init__(self, parent = None, treeWidget = None): 11613 '''void KTreeWidgetSearchLineWidget.__init__(QWidget parent = None, QTreeWidget treeWidget = None)''' 11614 def createSearchLine(self, treeWidget): 11615 '''KTreeWidgetSearchLine KTreeWidgetSearchLineWidget.createSearchLine(QTreeWidget treeWidget)''' 11616 return KTreeWidgetSearchLine() 11617 def createWidgets(self): 11618 '''void KTreeWidgetSearchLineWidget.createWidgets()''' 11619 def searchLine(self): 11620 '''KTreeWidgetSearchLine KTreeWidgetSearchLineWidget.searchLine()''' 11621 return KTreeWidgetSearchLine() 11622 11623 11624class KUiServerJobTracker(KJobTrackerInterface): 11625 """""" 11626 def __init__(self, parent = None): 11627 '''void KUiServerJobTracker.__init__(QObject parent = None)''' 11628 def speed(self, job, value): 11629 '''void KUiServerJobTracker.speed(KJob job, int value)''' 11630 def percent(self, job, percent): 11631 '''void KUiServerJobTracker.percent(KJob job, int percent)''' 11632 def processedAmount(self, job, unit, amount): 11633 '''void KUiServerJobTracker.processedAmount(KJob job, KJob.Unit unit, int amount)''' 11634 def totalAmount(self, job, unit, amount): 11635 '''void KUiServerJobTracker.totalAmount(KJob job, KJob.Unit unit, int amount)''' 11636 def infoMessage(self, job, plain, rich): 11637 '''void KUiServerJobTracker.infoMessage(KJob job, QString plain, QString rich)''' 11638 def description(self, job, title, field1, field2): 11639 '''void KUiServerJobTracker.description(KJob job, QString title, unknown-type field1, unknown-type field2)''' 11640 def resumed(self, job): 11641 '''void KUiServerJobTracker.resumed(KJob job)''' 11642 def suspended(self, job): 11643 '''void KUiServerJobTracker.suspended(KJob job)''' 11644 def finished(self, job): 11645 '''void KUiServerJobTracker.finished(KJob job)''' 11646 def unregisterJob(self, job): 11647 '''void KUiServerJobTracker.unregisterJob(KJob job)''' 11648 def registerJob(self, job): 11649 '''void KUiServerJobTracker.registerJob(KJob job)''' 11650 11651 11652class KUndoStack(QUndoStack): 11653 """""" 11654 def __init__(self, parent = None): 11655 '''void KUndoStack.__init__(QObject parent = None)''' 11656 def createUndoAction(self, actionCollection, actionName = QString()): 11657 '''QAction KUndoStack.createUndoAction(KActionCollection actionCollection, QString actionName = QString())''' 11658 return QAction() 11659 def createRedoAction(self, actionCollection, actionName = QString()): 11660 '''QAction KUndoStack.createRedoAction(KActionCollection actionCollection, QString actionName = QString())''' 11661 return QAction() 11662 11663 11664class KUniqueApplication(KApplication): 11665 """""" 11666 # Enum KUniqueApplication.StartFlag 11667 NonUniqueInstance = 0 11668 11669 def __init__(self, GUIenabled = True, configUnique = False): 11670 '''void KUniqueApplication.__init__(bool GUIenabled = True, bool configUnique = False)''' 11671 def __init__(self, display, visual = 0, colormap = 0, configUnique = False): 11672 '''void KUniqueApplication.__init__(Display display, int visual = 0, int colormap = 0, bool configUnique = False)''' 11673 def setHandleAutoStarted(self): 11674 '''static void KUniqueApplication.setHandleAutoStarted()''' 11675 def restoringSession(self): 11676 '''bool KUniqueApplication.restoringSession()''' 11677 return bool() 11678 def newInstance(self): 11679 '''int KUniqueApplication.newInstance()''' 11680 return int() 11681 def start(self, flags): 11682 '''static bool KUniqueApplication.start(KUniqueApplication.StartFlags flags)''' 11683 return bool() 11684 def start(self): 11685 '''static bool KUniqueApplication.start()''' 11686 return bool() 11687 def addCmdLineOptions(self): 11688 '''static void KUniqueApplication.addCmdLineOptions()''' 11689 class StartFlags(): 11690 """""" 11691 def __init__(self): 11692 '''KUniqueApplication.StartFlags KUniqueApplication.StartFlags.__init__()''' 11693 return KUniqueApplication.StartFlags() 11694 def __init__(self): 11695 '''int KUniqueApplication.StartFlags.__init__()''' 11696 return int() 11697 def __init__(self): 11698 '''void KUniqueApplication.StartFlags.__init__()''' 11699 def __bool__(self): 11700 '''int KUniqueApplication.StartFlags.__bool__()''' 11701 return int() 11702 def __ne__(self, f): 11703 '''bool KUniqueApplication.StartFlags.__ne__(KUniqueApplication.StartFlags f)''' 11704 return bool() 11705 def __eq__(self, f): 11706 '''bool KUniqueApplication.StartFlags.__eq__(KUniqueApplication.StartFlags f)''' 11707 return bool() 11708 def __invert__(self): 11709 '''KUniqueApplication.StartFlags KUniqueApplication.StartFlags.__invert__()''' 11710 return KUniqueApplication.StartFlags() 11711 def __and__(self, mask): 11712 '''KUniqueApplication.StartFlags KUniqueApplication.StartFlags.__and__(int mask)''' 11713 return KUniqueApplication.StartFlags() 11714 def __xor__(self, f): 11715 '''KUniqueApplication.StartFlags KUniqueApplication.StartFlags.__xor__(KUniqueApplication.StartFlags f)''' 11716 return KUniqueApplication.StartFlags() 11717 def __xor__(self, f): 11718 '''KUniqueApplication.StartFlags KUniqueApplication.StartFlags.__xor__(int f)''' 11719 return KUniqueApplication.StartFlags() 11720 def __or__(self, f): 11721 '''KUniqueApplication.StartFlags KUniqueApplication.StartFlags.__or__(KUniqueApplication.StartFlags f)''' 11722 return KUniqueApplication.StartFlags() 11723 def __or__(self, f): 11724 '''KUniqueApplication.StartFlags KUniqueApplication.StartFlags.__or__(int f)''' 11725 return KUniqueApplication.StartFlags() 11726 def __int__(self): 11727 '''int KUniqueApplication.StartFlags.__int__()''' 11728 return int() 11729 def __ixor__(self, f): 11730 '''KUniqueApplication.StartFlags KUniqueApplication.StartFlags.__ixor__(KUniqueApplication.StartFlags f)''' 11731 return KUniqueApplication.StartFlags() 11732 def __ior__(self, f): 11733 '''KUniqueApplication.StartFlags KUniqueApplication.StartFlags.__ior__(KUniqueApplication.StartFlags f)''' 11734 return KUniqueApplication.StartFlags() 11735 def __iand__(self, mask): 11736 '''KUniqueApplication.StartFlags KUniqueApplication.StartFlags.__iand__(int mask)''' 11737 return KUniqueApplication.StartFlags() 11738 11739 11740class KUrlLabel(QLabel): 11741 """""" 11742 def __init__(self, parent = None): 11743 '''void KUrlLabel.__init__(QWidget parent = None)''' 11744 def __init__(self, url, text = QString(), parent = None): 11745 '''void KUrlLabel.__init__(QString url, QString text = QString(), QWidget parent = None)''' 11746 def event(self): 11747 '''QEvent KUrlLabel.event()''' 11748 return QEvent() 11749 def leaveEvent(self): 11750 '''QEvent KUrlLabel.leaveEvent()''' 11751 return QEvent() 11752 def enterEvent(self): 11753 '''QEvent KUrlLabel.enterEvent()''' 11754 return QEvent() 11755 def mouseReleaseEvent(self): 11756 '''QMouseEvent KUrlLabel.mouseReleaseEvent()''' 11757 return QMouseEvent() 11758 middleClickedUrl = pyqtSignal() # void middleClickedUrl(const QStringamp;) - signal 11759 middleClickedUrl = pyqtSignal() # void middleClickedUrl() - signal 11760 rightClickedUrl = pyqtSignal() # void rightClickedUrl(const QStringamp;) - signal 11761 rightClickedUrl = pyqtSignal() # void rightClickedUrl() - signal 11762 leftClickedUrl = pyqtSignal() # void leftClickedUrl(const QStringamp;) - signal 11763 leftClickedUrl = pyqtSignal() # void leftClickedUrl() - signal 11764 leftUrl = pyqtSignal() # void leftUrl(const QStringamp;) - signal 11765 leftUrl = pyqtSignal() # void leftUrl() - signal 11766 enteredUrl = pyqtSignal() # void enteredUrl(const QStringamp;) - signal 11767 enteredUrl = pyqtSignal() # void enteredUrl() - signal 11768 def setAlternatePixmap(self, pixmap): 11769 '''void KUrlLabel.setAlternatePixmap(QPixmap pixmap)''' 11770 def setFloatEnabled(self, do_float = True): 11771 '''void KUrlLabel.setFloatEnabled(bool do_float = True)''' 11772 def setGlowEnabled(self, glow = True): 11773 '''void KUrlLabel.setGlowEnabled(bool glow = True)''' 11774 def setUseCursor(self, on, cursor = None): 11775 '''void KUrlLabel.setUseCursor(bool on, QCursor cursor = None)''' 11776 def setSelectedColor(self, color): 11777 '''void KUrlLabel.setSelectedColor(QColor color)''' 11778 def setSelectedColor(self, color): 11779 '''void KUrlLabel.setSelectedColor(QString color)''' 11780 def setHighlightedColor(self, highcolor): 11781 '''void KUrlLabel.setHighlightedColor(QColor highcolor)''' 11782 def setHighlightedColor(self, highcolor): 11783 '''void KUrlLabel.setHighlightedColor(QString highcolor)''' 11784 def setTipText(self, tip): 11785 '''void KUrlLabel.setTipText(QString tip)''' 11786 def setUseTips(self, on = True): 11787 '''void KUrlLabel.setUseTips(bool on = True)''' 11788 def setFont(self, font): 11789 '''void KUrlLabel.setFont(QFont font)''' 11790 def setUrl(self, url): 11791 '''void KUrlLabel.setUrl(QString url)''' 11792 def setUnderline(self, on = True): 11793 '''void KUrlLabel.setUnderline(bool on = True)''' 11794 def alternatePixmap(self): 11795 '''QPixmap KUrlLabel.alternatePixmap()''' 11796 return QPixmap() 11797 def isFloatEnabled(self): 11798 '''bool KUrlLabel.isFloatEnabled()''' 11799 return bool() 11800 def isGlowEnabled(self): 11801 '''bool KUrlLabel.isGlowEnabled()''' 11802 return bool() 11803 def useCursor(self): 11804 '''bool KUrlLabel.useCursor()''' 11805 return bool() 11806 def useTips(self): 11807 '''bool KUrlLabel.useTips()''' 11808 return bool() 11809 def tipText(self): 11810 '''QString KUrlLabel.tipText()''' 11811 return QString() 11812 def url(self): 11813 '''QString KUrlLabel.url()''' 11814 return QString() 11815 11816 11817class KVBox(KHBox): 11818 """""" 11819 def __init__(self, parent = None): 11820 '''void KVBox.__init__(QWidget parent = None)''' 11821 11822 11823class KViewStateMaintainerBase(QObject): 11824 """""" 11825 def __init__(self, configGroup, parent = None): 11826 '''void KViewStateMaintainerBase.__init__(KConfigGroup configGroup, QObject parent = None)''' 11827 def configGroup(self): 11828 '''KConfigGroup KViewStateMaintainerBase.configGroup()''' 11829 return KConfigGroup() 11830 def restoreState(self): 11831 '''abstract void KViewStateMaintainerBase.restoreState()''' 11832 def saveState(self): 11833 '''abstract void KViewStateMaintainerBase.saveState()''' 11834 def view(self): 11835 '''QAbstractItemView KViewStateMaintainerBase.view()''' 11836 return QAbstractItemView() 11837 def setView(self, view): 11838 '''void KViewStateMaintainerBase.setView(QAbstractItemView view)''' 11839 def selectionModel(self): 11840 '''QItemSelectionModel KViewStateMaintainerBase.selectionModel()''' 11841 return QItemSelectionModel() 11842 def setSelectionModel(self, selectionModel): 11843 '''void KViewStateMaintainerBase.setSelectionModel(QItemSelectionModel selectionModel)''' 11844 11845 11846class KViewStateSaver(QObject): 11847 """""" 11848 def __init__(self, parent = None): 11849 '''void KViewStateSaver.__init__(QObject parent = None)''' 11850 def indexToConfigString(self, index): 11851 '''abstract QString KViewStateSaver.indexToConfigString(QModelIndex index)''' 11852 return QString() 11853 def indexFromConfigString(self, model, key): 11854 '''abstract QModelIndex KViewStateSaver.indexFromConfigString(QAbstractItemModel model, QString key)''' 11855 return QModelIndex() 11856 def restoreScrollState(self, verticalScoll, horizontalScroll): 11857 '''void KViewStateSaver.restoreScrollState(int verticalScoll, int horizontalScroll)''' 11858 def restoreExpanded(self, indexStrings): 11859 '''void KViewStateSaver.restoreExpanded(QStringList indexStrings)''' 11860 def restoreCurrentItem(self, indexString): 11861 '''void KViewStateSaver.restoreCurrentItem(QString indexString)''' 11862 def restoreSelection(self, indexStrings): 11863 '''void KViewStateSaver.restoreSelection(QStringList indexStrings)''' 11864 def scrollState(self): 11865 '''tuple-of-int-int KViewStateSaver.scrollState()''' 11866 return tuple-of-int-int() 11867 def currentIndexKey(self): 11868 '''QString KViewStateSaver.currentIndexKey()''' 11869 return QString() 11870 def expansionKeys(self): 11871 '''QStringList KViewStateSaver.expansionKeys()''' 11872 return QStringList() 11873 def selectionKeys(self): 11874 '''QStringList KViewStateSaver.selectionKeys()''' 11875 return QStringList() 11876 def restoreState(self, configGroup): 11877 '''void KViewStateSaver.restoreState(KConfigGroup configGroup)''' 11878 def saveState(self, configGroup): 11879 '''void KViewStateSaver.saveState(KConfigGroup configGroup)''' 11880 def setSelectionModel(self, selectionModel): 11881 '''void KViewStateSaver.setSelectionModel(QItemSelectionModel selectionModel)''' 11882 def selectionModel(self): 11883 '''QItemSelectionModel KViewStateSaver.selectionModel()''' 11884 return QItemSelectionModel() 11885 def setView(self, view): 11886 '''void KViewStateSaver.setView(QAbstractItemView view)''' 11887 def view(self): 11888 '''QAbstractItemView KViewStateSaver.view()''' 11889 return QAbstractItemView() 11890 11891 11892class KWallet(): 11893 """""" 11894 class Wallet(QObject): 11895 """""" 11896 # Enum KWallet.Wallet.OpenType 11897 Synchronous = 0 11898 Asynchronous = 0 11899 Path = 0 11900 OpenTypeUnused = 0 11901 11902 # Enum KWallet.Wallet.EntryType 11903 Unknown = 0 11904 Password = 0 11905 Stream = 0 11906 Map = 0 11907 Unused = 0 11908 11909 def __init__(self, handle, name): 11910 '''void KWallet.Wallet.__init__(int handle, QString name)''' 11911 def isUsingKSecretsService(self): 11912 '''static bool KWallet.Wallet.isUsingKSecretsService()''' 11913 return bool() 11914 walletOpened = pyqtSignal() # void walletOpened(bool) - signal 11915 folderRemoved = pyqtSignal() # void folderRemoved(const QStringamp;) - signal 11916 folderListUpdated = pyqtSignal() # void folderListUpdated() - signal 11917 folderUpdated = pyqtSignal() # void folderUpdated(const QStringamp;) - signal 11918 walletClosed = pyqtSignal() # void walletClosed() - signal 11919 def keyDoesNotExist(self, wallet, folder, key): 11920 '''static bool KWallet.Wallet.keyDoesNotExist(QString wallet, QString folder, QString key)''' 11921 return bool() 11922 def folderDoesNotExist(self, wallet, folder): 11923 '''static bool KWallet.Wallet.folderDoesNotExist(QString wallet, QString folder)''' 11924 return bool() 11925 def entryType(self, key): 11926 '''KWallet.Wallet.EntryType KWallet.Wallet.entryType(QString key)''' 11927 return KWallet.Wallet.EntryType() 11928 def removeEntry(self, key): 11929 '''int KWallet.Wallet.removeEntry(QString key)''' 11930 return int() 11931 def hasEntry(self, key): 11932 '''bool KWallet.Wallet.hasEntry(QString key)''' 11933 return bool() 11934 def writePassword(self, key, value): 11935 '''int KWallet.Wallet.writePassword(QString key, QString value)''' 11936 return int() 11937 def writeMap(self, key, value): 11938 '''int KWallet.Wallet.writeMap(QString key, dict-of-QString-QString value)''' 11939 return int() 11940 def writeEntry(self, key, value, entryType): 11941 '''int KWallet.Wallet.writeEntry(QString key, QByteArray value, KWallet.Wallet.EntryType entryType)''' 11942 return int() 11943 def writeEntry(self, key, value): 11944 '''int KWallet.Wallet.writeEntry(QString key, QByteArray value)''' 11945 return int() 11946 def readPasswordList(self, key, value): 11947 '''int KWallet.Wallet.readPasswordList(QString key, dict-of-QString-QString value)''' 11948 return int() 11949 def readEntryList(self, key, value): 11950 '''int KWallet.Wallet.readEntryList(QString key, dict-of-QString-QByteArray value)''' 11951 return int() 11952 def readPassword(self, key, value): 11953 '''int KWallet.Wallet.readPassword(QString key, QString value)''' 11954 return int() 11955 def readMap(self, key, value): 11956 '''int KWallet.Wallet.readMap(QString key, dict-of-QString-QString value)''' 11957 return int() 11958 def readEntry(self, key, value): 11959 '''int KWallet.Wallet.readEntry(QString key, QByteArray value)''' 11960 return int() 11961 def renameEntry(self, oldName, newName): 11962 '''int KWallet.Wallet.renameEntry(QString oldName, QString newName)''' 11963 return int() 11964 def entryList(self): 11965 '''QStringList KWallet.Wallet.entryList()''' 11966 return QStringList() 11967 def currentFolder(self): 11968 '''QString KWallet.Wallet.currentFolder()''' 11969 return QString() 11970 def createFolder(self, f): 11971 '''bool KWallet.Wallet.createFolder(QString f)''' 11972 return bool() 11973 def removeFolder(self, f): 11974 '''bool KWallet.Wallet.removeFolder(QString f)''' 11975 return bool() 11976 def setFolder(self, f): 11977 '''bool KWallet.Wallet.setFolder(QString f)''' 11978 return bool() 11979 def hasFolder(self, f): 11980 '''bool KWallet.Wallet.hasFolder(QString f)''' 11981 return bool() 11982 def folderList(self): 11983 '''QStringList KWallet.Wallet.folderList()''' 11984 return QStringList() 11985 def requestChangePassword(self, w): 11986 '''void KWallet.Wallet.requestChangePassword(int w)''' 11987 def walletName(self): 11988 '''QString KWallet.Wallet.walletName()''' 11989 return QString() 11990 def lockWallet(self): 11991 '''int KWallet.Wallet.lockWallet()''' 11992 return int() 11993 def sync(self): 11994 '''int KWallet.Wallet.sync()''' 11995 return int() 11996 def changePassword(self, name, w): 11997 '''static void KWallet.Wallet.changePassword(QString name, int w)''' 11998 def FormDataFolder(self): 11999 '''static QString KWallet.Wallet.FormDataFolder()''' 12000 return QString() 12001 def PasswordFolder(self): 12002 '''static QString KWallet.Wallet.PasswordFolder()''' 12003 return QString() 12004 def NetworkWallet(self): 12005 '''static QString KWallet.Wallet.NetworkWallet()''' 12006 return QString() 12007 def LocalWallet(self): 12008 '''static QString KWallet.Wallet.LocalWallet()''' 12009 return QString() 12010 def users(self, wallet): 12011 '''static QStringList KWallet.Wallet.users(QString wallet)''' 12012 return QStringList() 12013 def openWallet(self, name, w, ot = None): 12014 '''static KWallet.Wallet KWallet.Wallet.openWallet(QString name, int w, KWallet.Wallet.OpenType ot = KWallet.Wallet.Synchronous)''' 12015 return KWallet.Wallet() 12016 def disconnectApplication(self, wallet, app): 12017 '''static bool KWallet.Wallet.disconnectApplication(QString wallet, QString app)''' 12018 return bool() 12019 def deleteWallet(self, name): 12020 '''static int KWallet.Wallet.deleteWallet(QString name)''' 12021 return int() 12022 def closeWallet(self, name, force): 12023 '''static int KWallet.Wallet.closeWallet(QString name, bool force)''' 12024 return int() 12025 def isOpen(self, name): 12026 '''static bool KWallet.Wallet.isOpen(QString name)''' 12027 return bool() 12028 def isOpen(self): 12029 '''bool KWallet.Wallet.isOpen()''' 12030 return bool() 12031 def isEnabled(self): 12032 '''static bool KWallet.Wallet.isEnabled()''' 12033 return bool() 12034 def walletList(self): 12035 '''static QStringList KWallet.Wallet.walletList()''' 12036 return QStringList() 12037 12038 12039class KWidgetItemDelegate(QAbstractItemDelegate): 12040 """""" 12041 def __init__(self, itemView, parent = None): 12042 '''void KWidgetItemDelegate.__init__(QAbstractItemView itemView, QObject parent = None)''' 12043 def blockedEventTypes(self, widget): 12044 '''unknown-type KWidgetItemDelegate.blockedEventTypes(QWidget widget)''' 12045 return unknown-type() 12046 def setBlockedEventTypes(self, widget, types): 12047 '''void KWidgetItemDelegate.setBlockedEventTypes(QWidget widget, unknown-type types)''' 12048 def paintWidgets(self, painter, option, index): 12049 '''void KWidgetItemDelegate.paintWidgets(QPainter painter, QStyleOptionViewItem option, QPersistentModelIndex index)''' 12050 def updateItemWidgets(self, widgets, option, index): 12051 '''abstract void KWidgetItemDelegate.updateItemWidgets(list-of-QWidget widgets, QStyleOptionViewItem option, QPersistentModelIndex index)''' 12052 def createItemWidgets(self): 12053 '''abstract list-of-QWidget KWidgetItemDelegate.createItemWidgets()''' 12054 return [QWidget()] 12055 def focusedIndex(self): 12056 '''QPersistentModelIndex KWidgetItemDelegate.focusedIndex()''' 12057 return QPersistentModelIndex() 12058 def itemView(self): 12059 '''QAbstractItemView KWidgetItemDelegate.itemView()''' 12060 return QAbstractItemView() 12061 12062 12063class KWidgetJobTracker(KAbstractWidgetJobTracker): 12064 """""" 12065 def __init__(self, parent = None): 12066 '''void KWidgetJobTracker.__init__(QWidget parent = None)''' 12067 def resumed(self, job): 12068 '''void KWidgetJobTracker.resumed(KJob job)''' 12069 def suspended(self, job): 12070 '''void KWidgetJobTracker.suspended(KJob job)''' 12071 def slotClean(self, job): 12072 '''void KWidgetJobTracker.slotClean(KJob job)''' 12073 def speed(self, job, value): 12074 '''void KWidgetJobTracker.speed(KJob job, int value)''' 12075 def percent(self, job, percent): 12076 '''void KWidgetJobTracker.percent(KJob job, int percent)''' 12077 def processedAmount(self, job, unit, amount): 12078 '''void KWidgetJobTracker.processedAmount(KJob job, KJob.Unit unit, int amount)''' 12079 def totalAmount(self, job, unit, amount): 12080 '''void KWidgetJobTracker.totalAmount(KJob job, KJob.Unit unit, int amount)''' 12081 def description(self, job, title, field1, field2): 12082 '''void KWidgetJobTracker.description(KJob job, QString title, unknown-type field1, unknown-type field2)''' 12083 def infoMessage(self, job, plain, rich): 12084 '''void KWidgetJobTracker.infoMessage(KJob job, QString plain, QString rich)''' 12085 def keepOpen(self, job): 12086 '''bool KWidgetJobTracker.keepOpen(KJob job)''' 12087 return bool() 12088 def unregisterJob(self, job): 12089 '''void KWidgetJobTracker.unregisterJob(KJob job)''' 12090 def registerJob(self, job): 12091 '''void KWidgetJobTracker.registerJob(KJob job)''' 12092 def widget(self, job): 12093 '''QWidget KWidgetJobTracker.widget(KJob job)''' 12094 return QWidget() 12095 12096 12097class KWindowInfo(): 12098 """""" 12099 def __init__(self, window, properties, properties2 = 0): 12100 '''void KWindowInfo.__init__(int window, int properties, int properties2 = 0)''' 12101 def __init__(self): 12102 '''void KWindowInfo.__init__()''' 12103 def __init__(self): 12104 '''KWindowInfo KWindowInfo.__init__()''' 12105 return KWindowInfo() 12106 def actionSupported(self, action): 12107 '''bool KWindowInfo.actionSupported(NET.Action action)''' 12108 return bool() 12109 def clientMachine(self): 12110 '''QByteArray KWindowInfo.clientMachine()''' 12111 return QByteArray() 12112 def windowRole(self): 12113 '''QByteArray KWindowInfo.windowRole()''' 12114 return QByteArray() 12115 def windowClassName(self): 12116 '''QByteArray KWindowInfo.windowClassName()''' 12117 return QByteArray() 12118 def windowClassClass(self): 12119 '''QByteArray KWindowInfo.windowClassClass()''' 12120 return QByteArray() 12121 def groupLeader(self): 12122 '''int KWindowInfo.groupLeader()''' 12123 return int() 12124 def transientFor(self): 12125 '''int KWindowInfo.transientFor()''' 12126 return int() 12127 def frameGeometry(self): 12128 '''QRect KWindowInfo.frameGeometry()''' 12129 return QRect() 12130 def geometry(self): 12131 '''QRect KWindowInfo.geometry()''' 12132 return QRect() 12133 def desktop(self): 12134 '''int KWindowInfo.desktop()''' 12135 return int() 12136 def onAllDesktops(self): 12137 '''bool KWindowInfo.onAllDesktops()''' 12138 return bool() 12139 def isOnDesktop(self, desktop): 12140 '''bool KWindowInfo.isOnDesktop(int desktop)''' 12141 return bool() 12142 def isOnCurrentDesktop(self): 12143 '''bool KWindowInfo.isOnCurrentDesktop()''' 12144 return bool() 12145 def iconName(self): 12146 '''QString KWindowInfo.iconName()''' 12147 return QString() 12148 def visibleIconNameWithState(self): 12149 '''QString KWindowInfo.visibleIconNameWithState()''' 12150 return QString() 12151 def visibleIconName(self): 12152 '''QString KWindowInfo.visibleIconName()''' 12153 return QString() 12154 def name(self): 12155 '''QString KWindowInfo.name()''' 12156 return QString() 12157 def visibleNameWithState(self): 12158 '''QString KWindowInfo.visibleNameWithState()''' 12159 return QString() 12160 def visibleName(self): 12161 '''QString KWindowInfo.visibleName()''' 12162 return QString() 12163 def windowType(self, supported_types): 12164 '''NET.WindowType KWindowInfo.windowType(int supported_types)''' 12165 return NET.WindowType() 12166 def extendedStrut(self): 12167 '''NETExtendedStrut KWindowInfo.extendedStrut()''' 12168 return NETExtendedStrut() 12169 def mappingState(self): 12170 '''NET.MappingState KWindowInfo.mappingState()''' 12171 return NET.MappingState() 12172 def isMinimized(self): 12173 '''bool KWindowInfo.isMinimized()''' 12174 return bool() 12175 def hasState(self, s): 12176 '''bool KWindowInfo.hasState(int s)''' 12177 return bool() 12178 def state(self): 12179 '''int KWindowInfo.state()''' 12180 return int() 12181 def win(self): 12182 '''int KWindowInfo.win()''' 12183 return int() 12184 def valid(self, withdrawn_is_valid = False): 12185 '''bool KWindowInfo.valid(bool withdrawn_is_valid = False)''' 12186 return bool() 12187 12188 12189class NET(): 12190 """""" 12191 # Enum NET.DesktopLayoutCorner 12192 DesktopLayoutCornerTopLeft = 0 12193 DesktopLayoutCornerTopRight = 0 12194 DesktopLayoutCornerBottomLeft = 0 12195 DesktopLayoutCornerBottomRight = 0 12196 12197 # Enum NET.Orientation 12198 OrientationHorizontal = 0 12199 OrientationVertical = 0 12200 12201 # Enum NET.RequestSource 12202 FromUnknown = 0 12203 FromApplication = 0 12204 FromTool = 0 12205 12206 OnAllDesktops = None # int - member 12207 # Enum NET.Property2 12208 WM2UserTime = 0 12209 WM2StartupId = 0 12210 WM2TransientFor = 0 12211 WM2GroupLeader = 0 12212 WM2AllowedActions = 0 12213 WM2RestackWindow = 0 12214 WM2MoveResizeWindow = 0 12215 WM2ExtendedStrut = 0 12216 WM2TakeActivity = 0 12217 WM2KDETemporaryRules = 0 12218 WM2WindowClass = 0 12219 WM2WindowRole = 0 12220 WM2ClientMachine = 0 12221 WM2ShowingDesktop = 0 12222 WM2Opacity = 0 12223 WM2DesktopLayout = 0 12224 WM2FullPlacement = 0 12225 WM2FullscreenMonitors = 0 12226 WM2FrameOverlap = 0 12227 WM2Activities = 0 12228 WM2BlockCompositing = 0 12229 WM2KDEShadow = 0 12230 12231 # Enum NET.Property 12232 Supported = 0 12233 ClientList = 0 12234 ClientListStacking = 0 12235 NumberOfDesktops = 0 12236 DesktopGeometry = 0 12237 DesktopViewport = 0 12238 CurrentDesktop = 0 12239 DesktopNames = 0 12240 ActiveWindow = 0 12241 WorkArea = 0 12242 SupportingWMCheck = 0 12243 VirtualRoots = 0 12244 CloseWindow = 0 12245 WMMoveResize = 0 12246 WMName = 0 12247 WMVisibleName = 0 12248 WMDesktop = 0 12249 WMWindowType = 0 12250 WMState = 0 12251 WMStrut = 0 12252 WMIconGeometry = 0 12253 WMIcon = 0 12254 WMPid = 0 12255 WMHandledIcons = 0 12256 WMPing = 0 12257 XAWMState = 0 12258 WMFrameExtents = 0 12259 WMIconName = 0 12260 WMVisibleIconName = 0 12261 WMGeometry = 0 12262 12263 # Enum NET.Action 12264 ActionMove = 0 12265 ActionResize = 0 12266 ActionMinimize = 0 12267 ActionShade = 0 12268 ActionStick = 0 12269 ActionMaxVert = 0 12270 ActionMaxHoriz = 0 12271 ActionMax = 0 12272 ActionFullScreen = 0 12273 ActionChangeDesktop = 0 12274 ActionClose = 0 12275 12276 # Enum NET.MappingState 12277 Visible = 0 12278 Withdrawn = 0 12279 Iconic = 0 12280 12281 # Enum NET.Direction 12282 TopLeft = 0 12283 Top = 0 12284 TopRight = 0 12285 Right = 0 12286 BottomRight = 0 12287 Bottom = 0 12288 BottomLeft = 0 12289 Left = 0 12290 Move = 0 12291 KeyboardSize = 0 12292 KeyboardMove = 0 12293 MoveResizeCancel = 0 12294 12295 # Enum NET.State 12296 Modal = 0 12297 Sticky = 0 12298 MaxVert = 0 12299 MaxHoriz = 0 12300 Max = 0 12301 Shaded = 0 12302 SkipTaskbar = 0 12303 KeepAbove = 0 12304 StaysOnTop = 0 12305 SkipPager = 0 12306 Hidden = 0 12307 FullScreen = 0 12308 KeepBelow = 0 12309 DemandsAttention = 0 12310 12311 # Enum NET.WindowTypeMask 12312 NormalMask = 0 12313 DesktopMask = 0 12314 DockMask = 0 12315 ToolbarMask = 0 12316 MenuMask = 0 12317 DialogMask = 0 12318 OverrideMask = 0 12319 TopMenuMask = 0 12320 UtilityMask = 0 12321 SplashMask = 0 12322 DropdownMenuMask = 0 12323 PopupMenuMask = 0 12324 TooltipMask = 0 12325 NotificationMask = 0 12326 ComboBoxMask = 0 12327 DNDIconMask = 0 12328 AllTypesMask = 0 12329 12330 # Enum NET.WindowType 12331 Unknown = 0 12332 Normal = 0 12333 Desktop = 0 12334 Dock = 0 12335 Toolbar = 0 12336 Menu = 0 12337 Dialog = 0 12338 Override = 0 12339 TopMenu = 0 12340 Utility = 0 12341 Splash = 0 12342 DropdownMenu = 0 12343 PopupMenu = 0 12344 Tooltip = 0 12345 Notification = 0 12346 ComboBox = 0 12347 DNDIcon = 0 12348 12349 # Enum NET.Role 12350 Client = 0 12351 WindowManager = 0 12352 12353 def __init__(self): 12354 '''void NET.__init__()''' 12355 def __init__(self): 12356 '''NET NET.__init__()''' 12357 return NET() 12358 def timestampDiff(self, time1, time2): 12359 '''static int NET.timestampDiff(int time1, int time2)''' 12360 return int() 12361 def timestampCompare(self, time1, time2): 12362 '''static int NET.timestampCompare(int time1, int time2)''' 12363 return int() 12364 def typeMatchesMask(self, type, mask): 12365 '''static bool NET.typeMatchesMask(NET.WindowType type, int mask)''' 12366 return bool() 12367 12368 12369class KWindowSystem(QObject, NET): 12370 """""" 12371 # Enum KWindowSystem.IconSource 12372 NETWM = 0 12373 WMHints = 0 12374 ClassHint = 0 12375 XApp = 0 12376 12377 compositingChanged = pyqtSignal() # void compositingChanged(bool) - signal 12378 def setBlockingCompositing(self, window, active): 12379 '''static void KWindowSystem.setBlockingCompositing(int window, bool active)''' 12380 def allowExternalProcessWindowActivation(self, pid = None): 12381 '''static void KWindowSystem.allowExternalProcessWindowActivation(int pid = -1)''' 12382 def connectNotify(self): 12383 '''SIGNAL() KWindowSystem.connectNotify()''' 12384 return SIGNAL()() 12385 showingDesktopChanged = pyqtSignal() # void showingDesktopChanged(bool) - signal 12386 windowChanged = pyqtSignal() # void windowChanged(WId,uint) - signal 12387 windowChanged = pyqtSignal() # void windowChanged(WId) - signal 12388 stackingOrderChanged = pyqtSignal() # void stackingOrderChanged() - signal 12389 strutChanged = pyqtSignal() # void strutChanged() - signal 12390 workAreaChanged = pyqtSignal() # void workAreaChanged() - signal 12391 numberOfDesktopsChanged = pyqtSignal() # void numberOfDesktopsChanged(int) - signal 12392 desktopNamesChanged = pyqtSignal() # void desktopNamesChanged() - signal 12393 activeWindowChanged = pyqtSignal() # void activeWindowChanged(WId) - signal 12394 windowRemoved = pyqtSignal() # void windowRemoved(WId) - signal 12395 windowAdded = pyqtSignal() # void windowAdded(WId) - signal 12396 currentDesktopChanged = pyqtSignal() # void currentDesktopChanged(int) - signal 12397 def constrainViewportRelativePosition(self, pos): 12398 '''static QPoint KWindowSystem.constrainViewportRelativePosition(QPoint pos)''' 12399 return QPoint() 12400 def desktopToViewport(self, desktop, absolute): 12401 '''static QPoint KWindowSystem.desktopToViewport(int desktop, bool absolute)''' 12402 return QPoint() 12403 def viewportWindowToDesktop(self, r): 12404 '''static int KWindowSystem.viewportWindowToDesktop(QRect r)''' 12405 return int() 12406 def viewportToDesktop(self, pos): 12407 '''static int KWindowSystem.viewportToDesktop(QPoint pos)''' 12408 return int() 12409 def mapViewport(self): 12410 '''static bool KWindowSystem.mapViewport()''' 12411 return bool() 12412 def doNotManage(self, title): 12413 '''static void KWindowSystem.doNotManage(QString title)''' 12414 def readNameProperty(self, window, atom): 12415 '''static QString KWindowSystem.readNameProperty(int window, int atom)''' 12416 return QString() 12417 def allowedActionsSupported(self): 12418 '''static bool KWindowSystem.allowedActionsSupported()''' 12419 return bool() 12420 def setStrut(self, win, left, right, top, bottom): 12421 '''static void KWindowSystem.setStrut(int win, int left, int right, int top, int bottom)''' 12422 def setExtendedStrut(self, win, left_width, left_start, left_end, right_width, right_start, right_end, top_width, top_start, top_end, bottom_width, bottom_start, bottom_end): 12423 '''static void KWindowSystem.setExtendedStrut(int win, int left_width, int left_start, int left_end, int right_width, int right_start, int right_end, int top_width, int top_start, int top_end, int bottom_width, int bottom_start, int bottom_end)''' 12424 def setUserTime(self, win, time): 12425 '''static void KWindowSystem.setUserTime(int win, int time)''' 12426 def showingDesktop(self): 12427 '''static bool KWindowSystem.showingDesktop()''' 12428 return bool() 12429 def setDesktopName(self, desktop, name): 12430 '''static void KWindowSystem.setDesktopName(int desktop, QString name)''' 12431 def desktopName(self, desktop): 12432 '''static QString KWindowSystem.desktopName(int desktop)''' 12433 return QString() 12434 def workArea(self, desktop = None): 12435 '''static QRect KWindowSystem.workArea(int desktop = -1)''' 12436 return QRect() 12437 def workArea(self, excludes, desktop = None): 12438 '''static QRect KWindowSystem.workArea(unknown-type excludes, int desktop = -1)''' 12439 return QRect() 12440 def icccmCompliantMappingState(self): 12441 '''static bool KWindowSystem.icccmCompliantMappingState()''' 12442 return bool() 12443 def lowerWindow(self, win): 12444 '''static void KWindowSystem.lowerWindow(int win)''' 12445 def raiseWindow(self, win): 12446 '''static void KWindowSystem.raiseWindow(int win)''' 12447 def unminimizeWindow(self, win, animation = True): 12448 '''static void KWindowSystem.unminimizeWindow(int win, bool animation = True)''' 12449 def minimizeWindow(self, win, animation = True): 12450 '''static void KWindowSystem.minimizeWindow(int win, bool animation = True)''' 12451 def clearState(self, win, state): 12452 '''static void KWindowSystem.clearState(int win, int state)''' 12453 def setState(self, win, state): 12454 '''static void KWindowSystem.setState(int win, int state)''' 12455 def setType(self, win, windowType): 12456 '''static void KWindowSystem.setType(int win, NET.WindowType windowType)''' 12457 def setIcons(self, win, icon, miniIcon): 12458 '''static void KWindowSystem.setIcons(int win, QPixmap icon, QPixmap miniIcon)''' 12459 def icon(self, win, width = None, height = None, scale = False): 12460 '''static QPixmap KWindowSystem.icon(int win, int width = -1, int height = -1, bool scale = False)''' 12461 return QPixmap() 12462 def icon(self, win, width, height, scale, flags): 12463 '''static QPixmap KWindowSystem.icon(int win, int width, int height, bool scale, int flags)''' 12464 return QPixmap() 12465 def groupLeader(self, window): 12466 '''static int KWindowSystem.groupLeader(int window)''' 12467 return int() 12468 def transientFor(self, window): 12469 '''static int KWindowSystem.transientFor(int window)''' 12470 return int() 12471 def setMainWindow(self, subwindow, mainwindow): 12472 '''static void KWindowSystem.setMainWindow(QWidget subwindow, int mainwindow)''' 12473 def setOnDesktop(self, win, desktop): 12474 '''static void KWindowSystem.setOnDesktop(int win, int desktop)''' 12475 def setOnAllDesktops(self, win, b): 12476 '''static void KWindowSystem.setOnAllDesktops(int win, bool b)''' 12477 def setCurrentDesktop(self, desktop): 12478 '''static void KWindowSystem.setCurrentDesktop(int desktop)''' 12479 def numberOfDesktops(self): 12480 '''static int KWindowSystem.numberOfDesktops()''' 12481 return int() 12482 def currentDesktop(self): 12483 '''static int KWindowSystem.currentDesktop()''' 12484 return int() 12485 def compositingActive(self): 12486 '''static bool KWindowSystem.compositingActive()''' 12487 return bool() 12488 def demandAttention(self, win, set = True): 12489 '''static void KWindowSystem.demandAttention(int win, bool set = True)''' 12490 def forceActiveWindow(self, win, time = 0): 12491 '''static void KWindowSystem.forceActiveWindow(int win, int time = 0)''' 12492 def activateWindow(self, win, time = 0): 12493 '''static void KWindowSystem.activateWindow(int win, int time = 0)''' 12494 def activeWindow(self): 12495 '''static int KWindowSystem.activeWindow()''' 12496 return int() 12497 def stackingOrder(self): 12498 '''static unknown-type KWindowSystem.stackingOrder()''' 12499 return unknown-type() 12500 def windowInfo(self, win, properties, properties2 = 0): 12501 '''static KWindowInfo KWindowSystem.windowInfo(int win, int properties, int properties2 = 0)''' 12502 return KWindowInfo() 12503 def hasWId(self, id): 12504 '''static bool KWindowSystem.hasWId(int id)''' 12505 return bool() 12506 def windows(self): 12507 '''static unknown-type KWindowSystem.windows()''' 12508 return unknown-type() 12509 def self(self): 12510 '''static KWindowSystem KWindowSystem.self()''' 12511 return KWindowSystem() 12512 12513 12514class KWordWrap(): 12515 """""" 12516 FadeOut = None # int - member 12517 Truncate = None # int - member 12518 def drawTruncateText(self, p, x, y, maxW, t): 12519 '''static void KWordWrap.drawTruncateText(QPainter p, int x, int y, int maxW, QString t)''' 12520 def drawFadeoutText(self, p, x, y, maxW, t): 12521 '''static void KWordWrap.drawFadeoutText(QPainter p, int x, int y, int maxW, QString t)''' 12522 def drawText(self, painter, x, y, flags = None): 12523 '''void KWordWrap.drawText(QPainter painter, int x, int y, int flags = Qt.AlignLeft)''' 12524 def truncatedString(self, dots = True): 12525 '''QString KWordWrap.truncatedString(bool dots = True)''' 12526 return QString() 12527 def wrappedString(self): 12528 '''QString KWordWrap.wrappedString()''' 12529 return QString() 12530 def boundingRect(self): 12531 '''QRect KWordWrap.boundingRect()''' 12532 return QRect() 12533 def formatText(self, fm, r, flags, str, len = None): 12534 '''static KWordWrap KWordWrap.formatText(QFontMetrics fm, QRect r, int flags, QString str, int len = -1)''' 12535 return KWordWrap() 12536 12537 12538class KXMessages(QWidget): 12539 """""" 12540 def __init__(self, accept_broadcast, parent, obsolete): 12541 '''void KXMessages.__init__(str accept_broadcast, QWidget parent, bool obsolete)''' 12542 def __init__(self, accept_broadcast = None, parent = None): 12543 '''void KXMessages.__init__(str accept_broadcast = None, QWidget parent = None)''' 12544 gotMessage = pyqtSignal() # void gotMessage(const QStringamp;) - signal 12545 def broadcastMessageX(self, disp, msg_type, message, screen, obsolete): 12546 '''static bool KXMessages.broadcastMessageX(Display disp, str msg_type, QString message, int screen, bool obsolete)''' 12547 return bool() 12548 def broadcastMessageX(self, disp, msg_type, message): 12549 '''static bool KXMessages.broadcastMessageX(Display disp, str msg_type, QString message)''' 12550 return bool() 12551 def sendMessageX(self, disp, w, msg_type, message, obsolete): 12552 '''static bool KXMessages.sendMessageX(Display disp, int w, str msg_type, QString message, bool obsolete)''' 12553 return bool() 12554 def sendMessageX(self, disp, w, msg_type, message): 12555 '''static bool KXMessages.sendMessageX(Display disp, int w, str msg_type, QString message)''' 12556 return bool() 12557 def broadcastMessage(self, msg_type, message, screen, obsolete): 12558 '''void KXMessages.broadcastMessage(str msg_type, QString message, int screen, bool obsolete)''' 12559 def broadcastMessage(self, msg_type, message): 12560 '''void KXMessages.broadcastMessage(str msg_type, QString message)''' 12561 def sendMessage(self, w, msg_type, message, obsolete): 12562 '''void KXMessages.sendMessage(int w, str msg_type, QString message, bool obsolete)''' 12563 def sendMessage(self, w, msg_type, message): 12564 '''void KXMessages.sendMessage(int w, str msg_type, QString message)''' 12565 12566 12567class KXMLGUIBuilder(): 12568 """""" 12569 def __init__(self, widget): 12570 '''void KXMLGUIBuilder.__init__(QWidget widget)''' 12571 def finalizeGUI(self, client): 12572 '''void KXMLGUIBuilder.finalizeGUI(KXMLGUIClient client)''' 12573 def removeCustomElement(self, parent, action): 12574 '''void KXMLGUIBuilder.removeCustomElement(QWidget parent, QAction action)''' 12575 def createCustomElement(self, parent, index, element): 12576 '''QAction KXMLGUIBuilder.createCustomElement(QWidget parent, int index, QDomElement element)''' 12577 return QAction() 12578 def customTags(self): 12579 '''QStringList KXMLGUIBuilder.customTags()''' 12580 return QStringList() 12581 def removeContainer(self, container, parent, element, containerAction): 12582 '''void KXMLGUIBuilder.removeContainer(QWidget container, QWidget parent, QDomElement element, QAction containerAction)''' 12583 def createContainer(self, parent, index, element): 12584 '''tuple KXMLGUIBuilder.createContainer(QWidget parent, int index, QDomElement element)''' 12585 return tuple() 12586 def containerTags(self): 12587 '''QStringList KXMLGUIBuilder.containerTags()''' 12588 return QStringList() 12589 def widget(self): 12590 '''QWidget KXMLGUIBuilder.widget()''' 12591 return QWidget() 12592 def setBuilderComponentData(self, componentData): 12593 '''void KXMLGUIBuilder.setBuilderComponentData(KComponentData componentData)''' 12594 def builderComponentData(self): 12595 '''KComponentData KXMLGUIBuilder.builderComponentData()''' 12596 return KComponentData() 12597 def setBuilderClient(self, client): 12598 '''void KXMLGUIBuilder.setBuilderClient(KXMLGUIClient client)''' 12599 def builderClient(self): 12600 '''KXMLGUIClient KXMLGUIBuilder.builderClient()''' 12601 return KXMLGUIClient() 12602 12603 12604class KXMLGUIClient(): 12605 """""" 12606 # Enum KXMLGUIClient.ReverseStateChange 12607 StateNoReverse = 0 12608 StateReverse = 0 12609 12610 def __init__(self): 12611 '''void KXMLGUIClient.__init__()''' 12612 def __init__(self, parent): 12613 '''void KXMLGUIClient.__init__(KXMLGUIClient parent)''' 12614 def loadStandardsXmlFile(self): 12615 '''void KXMLGUIClient.loadStandardsXmlFile()''' 12616 def replaceXMLFile(self, xmlfile, localxmlfile, merge = False): 12617 '''void KXMLGUIClient.replaceXMLFile(QString xmlfile, QString localxmlfile, bool merge = False)''' 12618 def stateChanged(self, newstate, reverse = None): 12619 '''void KXMLGUIClient.stateChanged(QString newstate, KXMLGUIClient.ReverseStateChange reverse = KXMLGUIClient.StateNoReverse)''' 12620 def setDOMDocument(self, document, merge = False): 12621 '''void KXMLGUIClient.setDOMDocument(QDomDocument document, bool merge = False)''' 12622 def setXML(self, document, merge = False): 12623 '''void KXMLGUIClient.setXML(QString document, bool merge = False)''' 12624 def setLocalXMLFile(self, file): 12625 '''void KXMLGUIClient.setLocalXMLFile(QString file)''' 12626 def setXMLFile(self, file, merge = False, setXMLDoc = True): 12627 '''void KXMLGUIClient.setXMLFile(QString file, bool merge = False, bool setXMLDoc = True)''' 12628 def setComponentData(self, componentData): 12629 '''void KXMLGUIClient.setComponentData(KComponentData componentData)''' 12630 def prepareXMLUnplug(self): 12631 '''QWidget KXMLGUIClient.prepareXMLUnplug()''' 12632 return QWidget() 12633 def endXMLPlug(self): 12634 '''void KXMLGUIClient.endXMLPlug()''' 12635 def beginXMLPlug(self): 12636 '''QWidget KXMLGUIClient.beginXMLPlug()''' 12637 return QWidget() 12638 def getActionsToChangeForState(self, state): 12639 '''KXMLGUIClient.StateChange KXMLGUIClient.getActionsToChangeForState(QString state)''' 12640 return KXMLGUIClient.StateChange() 12641 def addStateActionDisabled(self, state, action): 12642 '''void KXMLGUIClient.addStateActionDisabled(QString state, QString action)''' 12643 def addStateActionEnabled(self, state, action): 12644 '''void KXMLGUIClient.addStateActionEnabled(QString state, QString action)''' 12645 def findMostRecentXMLFile(self, files, doc): 12646 '''static QString KXMLGUIClient.findMostRecentXMLFile(QStringList files, QString doc)''' 12647 return QString() 12648 def unplugActionList(self, name): 12649 '''void KXMLGUIClient.unplugActionList(QString name)''' 12650 def plugActionList(self, name, actionList): 12651 '''void KXMLGUIClient.plugActionList(QString name, list-of-QAction actionList)''' 12652 def reloadXML(self): 12653 '''void KXMLGUIClient.reloadXML()''' 12654 def clientBuilder(self): 12655 '''KXMLGUIBuilder KXMLGUIClient.clientBuilder()''' 12656 return KXMLGUIBuilder() 12657 def setClientBuilder(self, builder): 12658 '''void KXMLGUIClient.setClientBuilder(KXMLGUIBuilder builder)''' 12659 def childClients(self): 12660 '''list-of-KXMLGUIClient KXMLGUIClient.childClients()''' 12661 return [KXMLGUIClient()] 12662 def removeChildClient(self, child): 12663 '''void KXMLGUIClient.removeChildClient(KXMLGUIClient child)''' 12664 def insertChildClient(self, child): 12665 '''void KXMLGUIClient.insertChildClient(KXMLGUIClient child)''' 12666 def parentClient(self): 12667 '''KXMLGUIClient KXMLGUIClient.parentClient()''' 12668 return KXMLGUIClient() 12669 def factory(self): 12670 '''KXMLGUIFactory KXMLGUIClient.factory()''' 12671 return KXMLGUIFactory() 12672 def setFactory(self, factory): 12673 '''void KXMLGUIClient.setFactory(KXMLGUIFactory factory)''' 12674 def xmlguiBuildDocument(self): 12675 '''QDomDocument KXMLGUIClient.xmlguiBuildDocument()''' 12676 return QDomDocument() 12677 def setXMLGUIBuildDocument(self, doc): 12678 '''void KXMLGUIClient.setXMLGUIBuildDocument(QDomDocument doc)''' 12679 def localXMLFile(self): 12680 '''QString KXMLGUIClient.localXMLFile()''' 12681 return QString() 12682 def xmlFile(self): 12683 '''QString KXMLGUIClient.xmlFile()''' 12684 return QString() 12685 def domDocument(self): 12686 '''QDomDocument KXMLGUIClient.domDocument()''' 12687 return QDomDocument() 12688 def componentData(self): 12689 '''KComponentData KXMLGUIClient.componentData()''' 12690 return KComponentData() 12691 def actionCollection(self): 12692 '''KActionCollection KXMLGUIClient.actionCollection()''' 12693 return KActionCollection() 12694 def action(self, name): 12695 '''QAction KXMLGUIClient.action(str name)''' 12696 return QAction() 12697 def action(self, element): 12698 '''QAction KXMLGUIClient.action(QDomElement element)''' 12699 return QAction() 12700 class StateChange(): 12701 """""" 12702 actionsToDisable = None # QStringList - member 12703 actionsToEnable = None # QStringList - member 12704 def __init__(self): 12705 '''void KXMLGUIClient.StateChange.__init__()''' 12706 def __init__(self): 12707 '''KXMLGUIClient.StateChange KXMLGUIClient.StateChange.__init__()''' 12708 return KXMLGUIClient.StateChange() 12709 12710 12711class KXMLGUIFactory(QObject): 12712 """""" 12713 def __init__(self, builder, parent = None): 12714 '''void KXMLGUIFactory.__init__(KXMLGUIBuilder builder, QObject parent = None)''' 12715 makingChanges = pyqtSignal() # void makingChanges(bool) - signal 12716 clientRemoved = pyqtSignal() # void clientRemoved(KXMLGUIClient *) - signal 12717 clientAdded = pyqtSignal() # void clientAdded(KXMLGUIClient *) - signal 12718 def changeShortcutScheme(self, scheme): 12719 '''void KXMLGUIFactory.changeShortcutScheme(QString scheme)''' 12720 def configureShortcuts(self, bAllowLetterShortcuts = True, bSaveSettings = True): 12721 '''int KXMLGUIFactory.configureShortcuts(bool bAllowLetterShortcuts = True, bool bSaveSettings = True)''' 12722 return int() 12723 def refreshActionProperties(self): 12724 '''void KXMLGUIFactory.refreshActionProperties()''' 12725 def resetContainer(self, containerName, useTagName = False): 12726 '''void KXMLGUIFactory.resetContainer(QString containerName, bool useTagName = False)''' 12727 def reset(self): 12728 '''void KXMLGUIFactory.reset()''' 12729 def containers(self, tagName): 12730 '''list-of-QWidget KXMLGUIFactory.containers(QString tagName)''' 12731 return [QWidget()] 12732 def container(self, containerName, client, useTagName = False): 12733 '''QWidget KXMLGUIFactory.container(QString containerName, KXMLGUIClient client, bool useTagName = False)''' 12734 return QWidget() 12735 def clients(self): 12736 '''list-of-KXMLGUIClient KXMLGUIFactory.clients()''' 12737 return [KXMLGUIClient()] 12738 def unplugActionList(self, client, name): 12739 '''void KXMLGUIFactory.unplugActionList(KXMLGUIClient client, QString name)''' 12740 def plugActionList(self, client, name, actionList): 12741 '''void KXMLGUIFactory.plugActionList(KXMLGUIClient client, QString name, list-of-QAction actionList)''' 12742 def removeClient(self, client): 12743 '''void KXMLGUIFactory.removeClient(KXMLGUIClient client)''' 12744 def addClient(self, client): 12745 '''void KXMLGUIFactory.addClient(KXMLGUIClient client)''' 12746 def findActionByName(self, elem, sName, create): 12747 '''static QDomElement KXMLGUIFactory.findActionByName(QDomElement elem, QString sName, bool create)''' 12748 return QDomElement() 12749 def actionPropertiesElement(self, doc): 12750 '''static QDomElement KXMLGUIFactory.actionPropertiesElement(QDomDocument doc)''' 12751 return QDomElement() 12752 def saveConfigFile(self, doc, filename, componentData = KComponentData()): 12753 '''static bool KXMLGUIFactory.saveConfigFile(QDomDocument doc, QString filename, KComponentData componentData = KComponentData())''' 12754 return bool() 12755 def readConfigFile(self, filename, componentData = KComponentData()): 12756 '''static QString KXMLGUIFactory.readConfigFile(QString filename, KComponentData componentData = KComponentData())''' 12757 return QString() 12758 12759 12760class KXmlGuiWindow(KMainWindow, KXMLGUIBuilder, KXMLGUIClient): 12761 """""" 12762 # Enum KXmlGuiWindow.StandardWindowOption 12763 ToolBar = 0 12764 Keys = 0 12765 StatusBar = 0 12766 Save = 0 12767 Create = 0 12768 Default = 0 12769 12770 def __init__(self, parent = None, f = 0): 12771 '''void KXmlGuiWindow.__init__(QWidget parent = None, Qt.WindowFlags f = 0)''' 12772 def saveNewToolbarConfig(self): 12773 '''void KXmlGuiWindow.saveNewToolbarConfig()''' 12774 def event(self, event): 12775 '''bool KXmlGuiWindow.event(QEvent event)''' 12776 return bool() 12777 def slotStateChanged(self, newstate): 12778 '''void KXmlGuiWindow.slotStateChanged(QString newstate)''' 12779 def slotStateChanged(self, newstate, reverse): 12780 '''void KXmlGuiWindow.slotStateChanged(QString newstate, bool reverse)''' 12781 def configureToolbars(self): 12782 '''void KXmlGuiWindow.configureToolbars()''' 12783 def applyMainWindowSettings(self, config, force = False): 12784 '''void KXmlGuiWindow.applyMainWindowSettings(KConfigGroup config, bool force = False)''' 12785 def finalizeGUI(self, client): 12786 '''void KXmlGuiWindow.finalizeGUI(KXMLGUIClient client)''' 12787 def finalizeGUI(self, force): 12788 '''void KXmlGuiWindow.finalizeGUI(bool force)''' 12789 def setupToolbarMenuActions(self): 12790 '''void KXmlGuiWindow.setupToolbarMenuActions()''' 12791 def toolBarMenuAction(self): 12792 '''QAction KXmlGuiWindow.toolBarMenuAction()''' 12793 return QAction() 12794 def setupGUI(self, options = None, xmlfile = QString()): 12795 '''void KXmlGuiWindow.setupGUI(KXmlGuiWindow.StandardWindowOptions options = KXmlGuiWindow.Default, QString xmlfile = QString())''' 12796 def setupGUI(self, defaultSize, options = None, xmlfile = QString()): 12797 '''void KXmlGuiWindow.setupGUI(QSize defaultSize, KXmlGuiWindow.StandardWindowOptions options = KXmlGuiWindow.Default, QString xmlfile = QString())''' 12798 def createStandardStatusBarAction(self): 12799 '''void KXmlGuiWindow.createStandardStatusBarAction()''' 12800 def isStandardToolBarMenuEnabled(self): 12801 '''bool KXmlGuiWindow.isStandardToolBarMenuEnabled()''' 12802 return bool() 12803 def setStandardToolBarMenuEnabled(self, enable): 12804 '''void KXmlGuiWindow.setStandardToolBarMenuEnabled(bool enable)''' 12805 def createGUI(self, xmlfile = QString()): 12806 '''void KXmlGuiWindow.createGUI(QString xmlfile = QString())''' 12807 def guiFactory(self): 12808 '''KXMLGUIFactory KXmlGuiWindow.guiFactory()''' 12809 return KXMLGUIFactory() 12810 def isHelpMenuEnabled(self): 12811 '''bool KXmlGuiWindow.isHelpMenuEnabled()''' 12812 return bool() 12813 def setHelpMenuEnabled(self, showHelpMenu = True): 12814 '''void KXmlGuiWindow.setHelpMenuEnabled(bool showHelpMenu = True)''' 12815 class StandardWindowOptions(): 12816 """""" 12817 def __init__(self): 12818 '''KXmlGuiWindow.StandardWindowOptions KXmlGuiWindow.StandardWindowOptions.__init__()''' 12819 return KXmlGuiWindow.StandardWindowOptions() 12820 def __init__(self): 12821 '''int KXmlGuiWindow.StandardWindowOptions.__init__()''' 12822 return int() 12823 def __init__(self): 12824 '''void KXmlGuiWindow.StandardWindowOptions.__init__()''' 12825 def __bool__(self): 12826 '''int KXmlGuiWindow.StandardWindowOptions.__bool__()''' 12827 return int() 12828 def __ne__(self, f): 12829 '''bool KXmlGuiWindow.StandardWindowOptions.__ne__(KXmlGuiWindow.StandardWindowOptions f)''' 12830 return bool() 12831 def __eq__(self, f): 12832 '''bool KXmlGuiWindow.StandardWindowOptions.__eq__(KXmlGuiWindow.StandardWindowOptions f)''' 12833 return bool() 12834 def __invert__(self): 12835 '''KXmlGuiWindow.StandardWindowOptions KXmlGuiWindow.StandardWindowOptions.__invert__()''' 12836 return KXmlGuiWindow.StandardWindowOptions() 12837 def __and__(self, mask): 12838 '''KXmlGuiWindow.StandardWindowOptions KXmlGuiWindow.StandardWindowOptions.__and__(int mask)''' 12839 return KXmlGuiWindow.StandardWindowOptions() 12840 def __xor__(self, f): 12841 '''KXmlGuiWindow.StandardWindowOptions KXmlGuiWindow.StandardWindowOptions.__xor__(KXmlGuiWindow.StandardWindowOptions f)''' 12842 return KXmlGuiWindow.StandardWindowOptions() 12843 def __xor__(self, f): 12844 '''KXmlGuiWindow.StandardWindowOptions KXmlGuiWindow.StandardWindowOptions.__xor__(int f)''' 12845 return KXmlGuiWindow.StandardWindowOptions() 12846 def __or__(self, f): 12847 '''KXmlGuiWindow.StandardWindowOptions KXmlGuiWindow.StandardWindowOptions.__or__(KXmlGuiWindow.StandardWindowOptions f)''' 12848 return KXmlGuiWindow.StandardWindowOptions() 12849 def __or__(self, f): 12850 '''KXmlGuiWindow.StandardWindowOptions KXmlGuiWindow.StandardWindowOptions.__or__(int f)''' 12851 return KXmlGuiWindow.StandardWindowOptions() 12852 def __int__(self): 12853 '''int KXmlGuiWindow.StandardWindowOptions.__int__()''' 12854 return int() 12855 def __ixor__(self, f): 12856 '''KXmlGuiWindow.StandardWindowOptions KXmlGuiWindow.StandardWindowOptions.__ixor__(KXmlGuiWindow.StandardWindowOptions f)''' 12857 return KXmlGuiWindow.StandardWindowOptions() 12858 def __ior__(self, f): 12859 '''KXmlGuiWindow.StandardWindowOptions KXmlGuiWindow.StandardWindowOptions.__ior__(KXmlGuiWindow.StandardWindowOptions f)''' 12860 return KXmlGuiWindow.StandardWindowOptions() 12861 def __iand__(self, mask): 12862 '''KXmlGuiWindow.StandardWindowOptions KXmlGuiWindow.StandardWindowOptions.__iand__(int mask)''' 12863 return KXmlGuiWindow.StandardWindowOptions() 12864 12865 12866class KXUtils(): 12867 """""" 12868 def timestampDiff(self, time1, time2): 12869 '''static int KXUtils.timestampDiff(int time1, int time2)''' 12870 return int() 12871 def timestampCompare(self, time1, time2): 12872 '''static int KXUtils.timestampCompare(int time1, int time2)''' 12873 return int() 12874 def createPixmapFromHandle(self, pixmap, mask = 0): 12875 '''static QPixmap KXUtils.createPixmapFromHandle(int pixmap, int mask = 0)''' 12876 return QPixmap() 12877 12878 12879class KRatingPainter(): 12880 """""" 12881 def __init__(self): 12882 '''void KRatingPainter.__init__()''' 12883 def getRatingFromPosition(self, rect, align, direction, pos): 12884 '''static int KRatingPainter.getRatingFromPosition(QRect rect, Qt.Alignment align, Qt.LayoutDirection direction, QPoint pos)''' 12885 return int() 12886 def paintRating(self, p, rect, align, rating, hoverRating = None): 12887 '''static void KRatingPainter.paintRating(QPainter p, QRect rect, Qt.Alignment align, int rating, int hoverRating = -1)''' 12888 def ratingFromPosition(self, rect, pos): 12889 '''int KRatingPainter.ratingFromPosition(QRect rect, QPoint pos)''' 12890 return int() 12891 def paint(self, painter, rect, rating, hoverRating = None): 12892 '''void KRatingPainter.paint(QPainter painter, QRect rect, int rating, int hoverRating = -1)''' 12893 def setSpacing(self, spacing): 12894 '''void KRatingPainter.setSpacing(int spacing)''' 12895 def setCustomPixmap(self, pixmap): 12896 '''void KRatingPainter.setCustomPixmap(QPixmap pixmap)''' 12897 def setEnabled(self, enabled): 12898 '''void KRatingPainter.setEnabled(bool enabled)''' 12899 def setIcon(self, icon): 12900 '''void KRatingPainter.setIcon(QIcon icon)''' 12901 def setLayoutDirection(self, direction): 12902 '''void KRatingPainter.setLayoutDirection(Qt.LayoutDirection direction)''' 12903 def setAlignment(self, align): 12904 '''void KRatingPainter.setAlignment(Qt.Alignment align)''' 12905 def setHalfStepsEnabled(self, enabled): 12906 '''void KRatingPainter.setHalfStepsEnabled(bool enabled)''' 12907 def setMaxRating(self, max): 12908 '''void KRatingPainter.setMaxRating(int max)''' 12909 def spacing(self): 12910 '''int KRatingPainter.spacing()''' 12911 return int() 12912 def customPixmap(self): 12913 '''QPixmap KRatingPainter.customPixmap()''' 12914 return QPixmap() 12915 def isEnabled(self): 12916 '''bool KRatingPainter.isEnabled()''' 12917 return bool() 12918 def icon(self): 12919 '''QIcon KRatingPainter.icon()''' 12920 return QIcon() 12921 def layoutDirection(self): 12922 '''Qt.LayoutDirection KRatingPainter.layoutDirection()''' 12923 return Qt.LayoutDirection() 12924 def alignment(self): 12925 '''Qt.Alignment KRatingPainter.alignment()''' 12926 return Qt.Alignment() 12927 def halfStepsEnabled(self): 12928 '''bool KRatingPainter.halfStepsEnabled()''' 12929 return bool() 12930 def maxRating(self): 12931 '''int KRatingPainter.maxRating()''' 12932 return int() 12933 12934 12935class KRatingWidget(QFrame): 12936 """""" 12937 def __init__(self, parent = None): 12938 '''void KRatingWidget.__init__(QWidget parent = None)''' 12939 def resizeEvent(self, e): 12940 '''void KRatingWidget.resizeEvent(QResizeEvent e)''' 12941 def paintEvent(self, e): 12942 '''void KRatingWidget.paintEvent(QPaintEvent e)''' 12943 def leaveEvent(self, e): 12944 '''void KRatingWidget.leaveEvent(QEvent e)''' 12945 def mouseMoveEvent(self, e): 12946 '''void KRatingWidget.mouseMoveEvent(QMouseEvent e)''' 12947 def mousePressEvent(self, e): 12948 '''void KRatingWidget.mousePressEvent(QMouseEvent e)''' 12949 def setPixmapSize(self, size): 12950 '''void KRatingWidget.setPixmapSize(int size)''' 12951 def setPixmap(self): 12952 '''QPixmap KRatingWidget.setPixmap()''' 12953 return QPixmap() 12954 def setCustomPixmap(self, pixmap): 12955 '''void KRatingWidget.setCustomPixmap(QPixmap pixmap)''' 12956 def setIcon(self, icon): 12957 '''void KRatingWidget.setIcon(QIcon icon)''' 12958 def setLayoutDirection(self, direction): 12959 '''void KRatingWidget.setLayoutDirection(Qt.LayoutDirection direction)''' 12960 def setAlignment(self, align): 12961 '''void KRatingWidget.setAlignment(Qt.Alignment align)''' 12962 def setSpacing(self): 12963 '''int KRatingWidget.setSpacing()''' 12964 return int() 12965 def setOnlyPaintFullSteps(self): 12966 '''bool KRatingWidget.setOnlyPaintFullSteps()''' 12967 return bool() 12968 def setHalfStepsEnabled(self, enabled): 12969 '''void KRatingWidget.setHalfStepsEnabled(bool enabled)''' 12970 def setMaxRating(self, max): 12971 '''void KRatingWidget.setMaxRating(int max)''' 12972 def setRating(self, rating): 12973 '''void KRatingWidget.setRating(int rating)''' 12974 ratingChanged = pyqtSignal() # void ratingChanged(int) - signal 12975 def icon(self): 12976 '''QIcon KRatingWidget.icon()''' 12977 return QIcon() 12978 def halfStepsEnabled(self): 12979 '''bool KRatingWidget.halfStepsEnabled()''' 12980 return bool() 12981 def sizeHint(self): 12982 '''QSize KRatingWidget.sizeHint()''' 12983 return QSize() 12984 def spacing(self): 12985 '''int KRatingWidget.spacing()''' 12986 return int() 12987 def layoutDirection(self): 12988 '''Qt.LayoutDirection KRatingWidget.layoutDirection()''' 12989 return Qt.LayoutDirection() 12990 def alignment(self): 12991 '''Qt.Alignment KRatingWidget.alignment()''' 12992 return Qt.Alignment() 12993 def maxRating(self): 12994 '''int KRatingWidget.maxRating()''' 12995 return int() 12996 def rating(self): 12997 '''int KRatingWidget.rating()''' 12998 return int() 12999 13000 13001class NETRootInfo(NET): 13002 """""" 13003 PROTOCOLS = None # int - member 13004 WINDOW_TYPES = None # int - member 13005 STATES = None # int - member 13006 PROTOCOLS2 = None # int - member 13007 ACTIONS = None # int - member 13008 PROPERTIES_SIZE = None # int - member 13009 def __init__(self, display, supportWindow, wmName, properties, screen = None, doACtivate = True): 13010 '''void NETRootInfo.__init__(Display display, int supportWindow, str wmName, list properties, int screen = -1, bool doACtivate = True)''' 13011 def __init__(self, display, properties, screen = None, doActivate = True): 13012 '''void NETRootInfo.__init__(Display display, list properties, int screen = -1, bool doActivate = True)''' 13013 def __init__(self, display, properties, screen = None, doActivate = True): 13014 '''void NETRootInfo.__init__(Display display, int properties, int screen = -1, bool doActivate = True)''' 13015 def __init__(self, rootinfo): 13016 '''void NETRootInfo.__init__(NETRootInfo rootinfo)''' 13017 def setSupported(self, property, on = True): 13018 '''void NETRootInfo.setSupported(NET.Property property, bool on = True)''' 13019 def setSupported(self, property, on = True): 13020 '''void NETRootInfo.setSupported(NET.Property2 property, bool on = True)''' 13021 def setSupported(self, property, on = True): 13022 '''void NETRootInfo.setSupported(NET.WindowType property, bool on = True)''' 13023 def setSupported(self, property, on = True): 13024 '''void NETRootInfo.setSupported(NET.State property, bool on = True)''' 13025 def setSupported(self, property, on = True): 13026 '''void NETRootInfo.setSupported(NET.Action property, bool on = True)''' 13027 def changeShowingDesktop(self, showing): 13028 '''void NETRootInfo.changeShowingDesktop(bool showing)''' 13029 def gotTakeActivity(self, window, timestamp, flags): 13030 '''void NETRootInfo.gotTakeActivity(int window, int timestamp, int flags)''' 13031 def restackWindow(self, window, source, above, detail, timestamp): 13032 '''void NETRootInfo.restackWindow(int window, NET.RequestSource source, int above, int detail, int timestamp)''' 13033 def moveResizeWindow(self, window, flags, x, y, width, height): 13034 '''void NETRootInfo.moveResizeWindow(int window, int flags, int x, int y, int width, int height)''' 13035 def changeActiveWindow(self, window, src, timestamp, active_window): 13036 '''void NETRootInfo.changeActiveWindow(int window, NET.RequestSource src, int timestamp, int active_window)''' 13037 def gotPing(self, window, timestamp): 13038 '''void NETRootInfo.gotPing(int window, int timestamp)''' 13039 def moveResize(self, window, x_root, y_root, direction): 13040 '''void NETRootInfo.moveResize(int window, int x_root, int y_root, int direction)''' 13041 def closeWindow(self, window): 13042 '''void NETRootInfo.closeWindow(int window)''' 13043 def changeCurrentDesktop(self, desktop): 13044 '''void NETRootInfo.changeCurrentDesktop(int desktop)''' 13045 def changeDesktopViewport(self, desktop, viewport): 13046 '''void NETRootInfo.changeDesktopViewport(int desktop, NETPoint viewport)''' 13047 def changeDesktopGeometry(self, desktop, geom): 13048 '''void NETRootInfo.changeDesktopGeometry(int desktop, NETSize geom)''' 13049 def changeNumberOfDesktops(self, numberOfDesktops): 13050 '''void NETRootInfo.changeNumberOfDesktops(int numberOfDesktops)''' 13051 def removeClient(self, window): 13052 '''void NETRootInfo.removeClient(int window)''' 13053 def addClient(self, window): 13054 '''void NETRootInfo.addClient(int window)''' 13055 def takeActivity(self, window, timestamp, flags): 13056 '''void NETRootInfo.takeActivity(int window, int timestamp, int flags)''' 13057 def sendPing(self, window, timestamp): 13058 '''void NETRootInfo.sendPing(int window, int timestamp)''' 13059 def restackRequest(self, window, source, above, detail, timestamp): 13060 '''void NETRootInfo.restackRequest(int window, NET.RequestSource source, int above, int detail, int timestamp)''' 13061 def moveResizeWindowRequest(self, window, flags, x, y, width, height): 13062 '''void NETRootInfo.moveResizeWindowRequest(int window, int flags, int x, int y, int width, int height)''' 13063 def moveResizeRequest(self, window, x_root, y_root, direction): 13064 '''void NETRootInfo.moveResizeRequest(int window, int x_root, int y_root, NET.Direction direction)''' 13065 def closeWindowRequest(self, window): 13066 '''void NETRootInfo.closeWindowRequest(int window)''' 13067 def showingDesktop(self): 13068 '''bool NETRootInfo.showingDesktop()''' 13069 return bool() 13070 def setShowingDesktop(self, showing): 13071 '''void NETRootInfo.setShowingDesktop(bool showing)''' 13072 def setDesktopLayout(self, orientation, columns, rows, corner): 13073 '''void NETRootInfo.setDesktopLayout(NET.Orientation orientation, int columns, int rows, NET.DesktopLayoutCorner corner)''' 13074 def setVirtualRoots(self, windows, count): 13075 '''void NETRootInfo.setVirtualRoots(int windows, int count)''' 13076 def setWorkArea(self, desktop, workArea): 13077 '''void NETRootInfo.setWorkArea(int desktop, NETRect workArea)''' 13078 def setActiveWindow(self, window, src, timestamp, active_window): 13079 '''void NETRootInfo.setActiveWindow(int window, NET.RequestSource src, int timestamp, int active_window)''' 13080 def setActiveWindow(self, window): 13081 '''void NETRootInfo.setActiveWindow(int window)''' 13082 def setDesktopName(self, desktop, desktopName): 13083 '''void NETRootInfo.setDesktopName(int desktop, str desktopName)''' 13084 def setNumberOfDesktops(self, numberOfDesktops): 13085 '''void NETRootInfo.setNumberOfDesktops(int numberOfDesktops)''' 13086 def setDesktopViewport(self, desktop, viewport): 13087 '''void NETRootInfo.setDesktopViewport(int desktop, NETPoint viewport)''' 13088 def setDesktopGeometry(self, desktop, geometry): 13089 '''void NETRootInfo.setDesktopGeometry(int desktop, NETSize geometry)''' 13090 def setCurrentDesktop(self, desktop, ignore_viewport = False): 13091 '''void NETRootInfo.setCurrentDesktop(int desktop, bool ignore_viewport = False)''' 13092 def setClientListStacking(self, windows, count): 13093 '''void NETRootInfo.setClientListStacking(int windows, int count)''' 13094 def setClientList(self, windows, count): 13095 '''void NETRootInfo.setClientList(int windows, int count)''' 13096 def activate(self): 13097 '''void NETRootInfo.activate()''' 13098 def activeWindow(self): 13099 '''int NETRootInfo.activeWindow()''' 13100 return int() 13101 def currentDesktop(self, ignore_viewport = False): 13102 '''int NETRootInfo.currentDesktop(bool ignore_viewport = False)''' 13103 return int() 13104 def numberOfDesktops(self, ignore_viewport = False): 13105 '''int NETRootInfo.numberOfDesktops(bool ignore_viewport = False)''' 13106 return int() 13107 def desktopLayoutCorner(self): 13108 '''NET.DesktopLayoutCorner NETRootInfo.desktopLayoutCorner()''' 13109 return NET.DesktopLayoutCorner() 13110 def desktopLayoutColumnsRows(self): 13111 '''QSize NETRootInfo.desktopLayoutColumnsRows()''' 13112 return QSize() 13113 def desktopLayoutOrientation(self): 13114 '''NET.Orientation NETRootInfo.desktopLayoutOrientation()''' 13115 return NET.Orientation() 13116 def virtualRootsCount(self): 13117 '''int NETRootInfo.virtualRootsCount()''' 13118 return int() 13119 def desktopName(self, desktop): 13120 '''str NETRootInfo.desktopName(int desktop)''' 13121 return str() 13122 def workArea(self, desktop): 13123 '''NETRect NETRootInfo.workArea(int desktop)''' 13124 return NETRect() 13125 def desktopViewport(self, desktop): 13126 '''NETPoint NETRootInfo.desktopViewport(int desktop)''' 13127 return NETPoint() 13128 def desktopGeometry(self, desktop): 13129 '''NETSize NETRootInfo.desktopGeometry(int desktop)''' 13130 return NETSize() 13131 def clientListStackingCount(self): 13132 '''int NETRootInfo.clientListStackingCount()''' 13133 return int() 13134 def clientListCount(self): 13135 '''int NETRootInfo.clientListCount()''' 13136 return int() 13137 def isSupported(self, property): 13138 '''bool NETRootInfo.isSupported(NET.Property property)''' 13139 return bool() 13140 def isSupported(self, property): 13141 '''bool NETRootInfo.isSupported(NET.Property2 property)''' 13142 return bool() 13143 def isSupported(self, type): 13144 '''bool NETRootInfo.isSupported(NET.WindowType type)''' 13145 return bool() 13146 def isSupported(self, state): 13147 '''bool NETRootInfo.isSupported(NET.State state)''' 13148 return bool() 13149 def isSupported(self, action): 13150 '''bool NETRootInfo.isSupported(NET.Action action)''' 13151 return bool() 13152 def screenNumber(self): 13153 '''int NETRootInfo.screenNumber()''' 13154 return int() 13155 def wmName(self): 13156 '''str NETRootInfo.wmName()''' 13157 return str() 13158 def supportWindow(self): 13159 '''int NETRootInfo.supportWindow()''' 13160 return int() 13161 def rootWindow(self): 13162 '''int NETRootInfo.rootWindow()''' 13163 return int() 13164 def x11Display(self): 13165 '''Display NETRootInfo.x11Display()''' 13166 return Display() 13167 13168 13169class NETWinInfo(NET): 13170 """""" 13171 PROTOCOLS = None # int - member 13172 PROTOCOLS2 = None # int - member 13173 PROPERTIES_SIZE = None # int - member 13174 OnAllDesktops = None # int - member 13175 def __init__(self, display, window, rootWindow, properties, role = None): 13176 '''void NETWinInfo.__init__(Display display, int window, int rootWindow, list properties, NET.Role role = NET.Client)''' 13177 def __init__(self, display, window, rootWindow, properties, role = None): 13178 '''void NETWinInfo.__init__(Display display, int window, int rootWindow, int properties, NET.Role role = NET.Client)''' 13179 def __init__(self, wininfo): 13180 '''void NETWinInfo.__init__(NETWinInfo wininfo)''' 13181 def isBlockingCompositing(self): 13182 '''bool NETWinInfo.isBlockingCompositing()''' 13183 return bool() 13184 def setBlockingCompositing(self, active): 13185 '''void NETWinInfo.setBlockingCompositing(bool active)''' 13186 def activities(self): 13187 '''str NETWinInfo.activities()''' 13188 return str() 13189 def frameOverlap(self): 13190 '''NETStrut NETWinInfo.frameOverlap()''' 13191 return NETStrut() 13192 def setFrameOverlap(self, strut): 13193 '''void NETWinInfo.setFrameOverlap(NETStrut strut)''' 13194 def changeState(self, state, mask): 13195 '''void NETWinInfo.changeState(int state, int mask)''' 13196 def changeDesktop(self, desktop): 13197 '''void NETWinInfo.changeDesktop(int desktop)''' 13198 def kdeGeometry(self, frame, window): 13199 '''void NETWinInfo.kdeGeometry(NETRect frame, NETRect window)''' 13200 def clientMachine(self): 13201 '''str NETWinInfo.clientMachine()''' 13202 return str() 13203 def windowRole(self): 13204 '''str NETWinInfo.windowRole()''' 13205 return str() 13206 def windowClassName(self): 13207 '''str NETWinInfo.windowClassName()''' 13208 return str() 13209 def windowClassClass(self): 13210 '''str NETWinInfo.windowClassClass()''' 13211 return str() 13212 def groupLeader(self): 13213 '''int NETWinInfo.groupLeader()''' 13214 return int() 13215 def transientFor(self): 13216 '''int NETWinInfo.transientFor()''' 13217 return int() 13218 def allowedActions(self): 13219 '''int NETWinInfo.allowedActions()''' 13220 return int() 13221 def setAllowedActions(self, actions): 13222 '''void NETWinInfo.setAllowedActions(int actions)''' 13223 def opacity(self): 13224 '''int NETWinInfo.opacity()''' 13225 return int() 13226 def setOpacity(self, opacity): 13227 '''void NETWinInfo.setOpacity(int opacity)''' 13228 def startupId(self): 13229 '''str NETWinInfo.startupId()''' 13230 return str() 13231 def setStartupId(self, startup_id): 13232 '''void NETWinInfo.setStartupId(str startup_id)''' 13233 def userTime(self): 13234 '''int NETWinInfo.userTime()''' 13235 return int() 13236 def setUserTime(self, time): 13237 '''void NETWinInfo.setUserTime(int time)''' 13238 def setFrameExtents(self, strut): 13239 '''void NETWinInfo.setFrameExtents(NETStrut strut)''' 13240 def setHandledIcons(self, handled): 13241 '''void NETWinInfo.setHandledIcons(bool handled)''' 13242 def setPid(self, pid): 13243 '''void NETWinInfo.setPid(int pid)''' 13244 def setDesktop(self, desktop, ignore_viewport = False): 13245 '''void NETWinInfo.setDesktop(int desktop, bool ignore_viewport = False)''' 13246 def setVisibleIconName(self, name): 13247 '''void NETWinInfo.setVisibleIconName(str name)''' 13248 def setIconName(self, name): 13249 '''void NETWinInfo.setIconName(str name)''' 13250 def setVisibleName(self, visibleName): 13251 '''void NETWinInfo.setVisibleName(str visibleName)''' 13252 def setName(self, name): 13253 '''void NETWinInfo.setName(str name)''' 13254 def setWindowType(self, type): 13255 '''void NETWinInfo.setWindowType(NET.WindowType type)''' 13256 def setState(self, state, mask): 13257 '''void NETWinInfo.setState(int state, int mask)''' 13258 def setStrut(self, strut): 13259 '''void NETWinInfo.setStrut(NETStrut strut)''' 13260 def setExtendedStrut(self, extended_strut): 13261 '''void NETWinInfo.setExtendedStrut(NETExtendedStrut extended_strut)''' 13262 def setIconGeometry(self, geometry): 13263 '''void NETWinInfo.setIconGeometry(NETRect geometry)''' 13264 def mappingState(self): 13265 '''NET.MappingState NETWinInfo.mappingState()''' 13266 return NET.MappingState() 13267 def handledIcons(self): 13268 '''bool NETWinInfo.handledIcons()''' 13269 return bool() 13270 def pid(self): 13271 '''int NETWinInfo.pid()''' 13272 return int() 13273 def desktop(self, ignore_viewport = False): 13274 '''int NETWinInfo.desktop(bool ignore_viewport = False)''' 13275 return int() 13276 def visibleIconName(self): 13277 '''str NETWinInfo.visibleIconName()''' 13278 return str() 13279 def iconName(self): 13280 '''str NETWinInfo.iconName()''' 13281 return str() 13282 def visibleName(self): 13283 '''str NETWinInfo.visibleName()''' 13284 return str() 13285 def name(self): 13286 '''str NETWinInfo.name()''' 13287 return str() 13288 def hasWindowType(self): 13289 '''bool NETWinInfo.hasWindowType()''' 13290 return bool() 13291 def windowType(self, supported_types): 13292 '''NET.WindowType NETWinInfo.windowType(int supported_types)''' 13293 return NET.WindowType() 13294 def strut(self): 13295 '''NETStrut NETWinInfo.strut()''' 13296 return NETStrut() 13297 def extendedStrut(self): 13298 '''NETExtendedStrut NETWinInfo.extendedStrut()''' 13299 return NETExtendedStrut() 13300 def state(self): 13301 '''int NETWinInfo.state()''' 13302 return int() 13303 def iconGeometry(self): 13304 '''NETRect NETWinInfo.iconGeometry()''' 13305 return NETRect() 13306 def hasNETSupport(self): 13307 '''bool NETWinInfo.hasNETSupport()''' 13308 return bool() 13309 13310 13311class NETPoint(): 13312 """""" 13313 x = None # int - member 13314 y = None # int - member 13315 def __init__(self): 13316 '''void NETPoint.__init__()''' 13317 def __init__(self): 13318 '''NETPoint NETPoint.__init__()''' 13319 return NETPoint() 13320 13321 13322class NETSize(): 13323 """""" 13324 height = None # int - member 13325 width = None # int - member 13326 def __init__(self): 13327 '''void NETSize.__init__()''' 13328 def __init__(self): 13329 '''NETSize NETSize.__init__()''' 13330 return NETSize() 13331 13332 13333class NETRect(): 13334 """""" 13335 pos = None # NETPoint - member 13336 size = None # NETSize - member 13337 def __init__(self): 13338 '''void NETRect.__init__()''' 13339 def __init__(self): 13340 '''NETRect NETRect.__init__()''' 13341 return NETRect() 13342 13343 13344class NETIcon(): 13345 """""" 13346 data = None # str - member 13347 size = None # NETSize - member 13348 def __init__(self): 13349 '''void NETIcon.__init__()''' 13350 def __init__(self): 13351 '''NETIcon NETIcon.__init__()''' 13352 return NETIcon() 13353 13354 13355class NETExtendedStrut(): 13356 """""" 13357 bottom_end = None # int - member 13358 bottom_start = None # int - member 13359 bottom_width = None # int - member 13360 left_end = None # int - member 13361 left_start = None # int - member 13362 left_width = None # int - member 13363 right_end = None # int - member 13364 right_start = None # int - member 13365 right_width = None # int - member 13366 top_end = None # int - member 13367 top_start = None # int - member 13368 top_width = None # int - member 13369 def __init__(self): 13370 '''void NETExtendedStrut.__init__()''' 13371 def __init__(self): 13372 '''NETExtendedStrut NETExtendedStrut.__init__()''' 13373 return NETExtendedStrut() 13374 13375 13376class NETStrut(): 13377 """""" 13378 bottom = None # int - member 13379 left = None # int - member 13380 right = None # int - member 13381 top = None # int - member 13382 def __init__(self): 13383 '''void NETStrut.__init__()''' 13384 def __init__(self): 13385 '''NETStrut NETStrut.__init__()''' 13386 return NETStrut() 13387 13388 13389class NETFullscreenMonitors(): 13390 """""" 13391 bottom = None # int - member 13392 left = None # int - member 13393 right = None # int - member 13394 top = None # int - member 13395 def __init__(self): 13396 '''void NETFullscreenMonitors.__init__()''' 13397 def __init__(self): 13398 '''NETFullscreenMonitors NETFullscreenMonitors.__init__()''' 13399 return NETFullscreenMonitors() 13400 def isSet(self): 13401 '''bool NETFullscreenMonitors.isSet()''' 13402 return bool() 13403 13404 13405class Sonnet(): 13406 """""" 13407 class ConfigWidget(QWidget): 13408 """""" 13409 def __init__(self, config, parent): 13410 '''void Sonnet.ConfigWidget.__init__(KConfig config, QWidget parent)''' 13411 configChanged = pyqtSignal() # void configChanged() - signal 13412 def slotChanged(self): 13413 '''void Sonnet.ConfigWidget.slotChanged()''' 13414 def slotDefault(self): 13415 '''void Sonnet.ConfigWidget.slotDefault()''' 13416 def setBackgroundCheckingButtonShown(self): 13417 '''bool Sonnet.ConfigWidget.setBackgroundCheckingButtonShown()''' 13418 return bool() 13419 def save(self): 13420 '''void Sonnet.ConfigWidget.save()''' 13421 def language(self): 13422 '''QString Sonnet.ConfigWidget.language()''' 13423 return QString() 13424 def setLanguage(self, language): 13425 '''void Sonnet.ConfigWidget.setLanguage(QString language)''' 13426 def backgroundCheckingButtonShown(self): 13427 '''bool Sonnet.ConfigWidget.backgroundCheckingButtonShown()''' 13428 return bool() 13429 class Dialog(KDialog): 13430 """""" 13431 def __init__(self, checker, parent): 13432 '''void Sonnet.Dialog.__init__(Sonnet.BackgroundChecker checker, QWidget parent)''' 13433 def setSpellCheckContinuedAfterReplacement(self, b): 13434 '''void Sonnet.Dialog.setSpellCheckContinuedAfterReplacement(bool b)''' 13435 def showSpellCheckCompletionMessage(self, b = True): 13436 '''void Sonnet.Dialog.showSpellCheckCompletionMessage(bool b = True)''' 13437 def showProgressDialog(self, timeout = 500): 13438 '''void Sonnet.Dialog.showProgressDialog(int timeout = 500)''' 13439 languageChanged = pyqtSignal() # void languageChanged(const QStringamp;) - signal 13440 spellCheckStatus = pyqtSignal() # void spellCheckStatus(const QStringamp;) - signal 13441 autoCorrect = pyqtSignal() # void autoCorrect(const QStringamp;,const QStringamp;) - signal 13442 cancel = pyqtSignal() # void cancel() - signal 13443 stop = pyqtSignal() # void stop() - signal 13444 replace = pyqtSignal() # void replace(const QStringamp;,int,const QStringamp;) - signal 13445 misspelling = pyqtSignal() # void misspelling(const QStringamp;,int) - signal 13446 done = pyqtSignal() # void done(const QStringamp;) - signal 13447 def setBuffer(self): 13448 '''QString Sonnet.Dialog.setBuffer()''' 13449 return QString() 13450 def activeAutoCorrect(self, _active): 13451 '''void Sonnet.Dialog.activeAutoCorrect(bool _active)''' 13452 def show(self): 13453 '''void Sonnet.Dialog.show()''' 13454 def buffer(self): 13455 '''QString Sonnet.Dialog.buffer()''' 13456 return QString() 13457 def originalBuffer(self): 13458 '''QString Sonnet.Dialog.originalBuffer()''' 13459 return QString() 13460 class ConfigDialog(KDialog): 13461 """""" 13462 def __init__(self, config, parent): 13463 '''void Sonnet.ConfigDialog.__init__(KConfig config, QWidget parent)''' 13464 configChanged = pyqtSignal() # void configChanged() - signal 13465 def language(self): 13466 '''QString Sonnet.ConfigDialog.language()''' 13467 return QString() 13468 languageChanged = pyqtSignal() # void languageChanged(const QStringamp;) - signal 13469 def slotApply(self): 13470 '''void Sonnet.ConfigDialog.slotApply()''' 13471 def slotOk(self): 13472 '''void Sonnet.ConfigDialog.slotOk()''' 13473 def setLanguage(self, language): 13474 '''void Sonnet.ConfigDialog.setLanguage(QString language)''' 13475 class DictionaryComboBox(KComboBox): 13476 """""" 13477 def __init__(self, parent = None): 13478 '''void Sonnet.DictionaryComboBox.__init__(QWidget parent = None)''' 13479 dictionaryNameChanged = pyqtSignal() # void dictionaryNameChanged(const QStringamp;) - signal 13480 dictionaryChanged = pyqtSignal() # void dictionaryChanged(const QStringamp;) - signal 13481 def setCurrentByDictionary(self, dictionary): 13482 '''void Sonnet.DictionaryComboBox.setCurrentByDictionary(QString dictionary)''' 13483 def setCurrentByDictionaryName(self, dictionaryName): 13484 '''void Sonnet.DictionaryComboBox.setCurrentByDictionaryName(QString dictionaryName)''' 13485 def currentDictionary(self): 13486 '''QString Sonnet.DictionaryComboBox.currentDictionary()''' 13487 return QString() 13488 def currentDictionaryName(self): 13489 '''QString Sonnet.DictionaryComboBox.currentDictionaryName()''' 13490 return QString() 13491 def reloadCombo(self): 13492 '''void Sonnet.DictionaryComboBox.reloadCombo()''' 13493 class Highlighter(QSyntaxHighlighter): 13494 """""" 13495 def __init__(self, textEdit, configFile = QString(), col = QColor()): 13496 '''void Sonnet.Highlighter.__init__(QTextEdit textEdit, QString configFile = QString(), QColor col = QColor())''' 13497 def checkerEnabledByDefault(self): 13498 '''bool Sonnet.Highlighter.checkerEnabledByDefault()''' 13499 return bool() 13500 def slotRehighlight(self): 13501 '''void Sonnet.Highlighter.slotRehighlight()''' 13502 def slotAutoDetection(self): 13503 '''void Sonnet.Highlighter.slotAutoDetection()''' 13504 def setIntraWordEditing(self, editing): 13505 '''void Sonnet.Highlighter.setIntraWordEditing(bool editing)''' 13506 def intraWordEditing(self): 13507 '''bool Sonnet.Highlighter.intraWordEditing()''' 13508 return bool() 13509 def eventFilter(self, o, e): 13510 '''bool Sonnet.Highlighter.eventFilter(QObject o, QEvent e)''' 13511 return bool() 13512 def unsetMisspelled(self, start, count): 13513 '''void Sonnet.Highlighter.unsetMisspelled(int start, int count)''' 13514 def setMisspelled(self, start, count): 13515 '''void Sonnet.Highlighter.setMisspelled(int start, int count)''' 13516 def highlightBlock(self, text): 13517 '''void Sonnet.Highlighter.highlightBlock(QString text)''' 13518 newSuggestions = pyqtSignal() # void newSuggestions(const QStringamp;,const QStringListamp;) - signal 13519 activeChanged = pyqtSignal() # void activeChanged(const QStringamp;) - signal 13520 def setMisspelledColor(self, color): 13521 '''void Sonnet.Highlighter.setMisspelledColor(QColor color)''' 13522 def isWordMisspelled(self, word): 13523 '''bool Sonnet.Highlighter.isWordMisspelled(QString word)''' 13524 return bool() 13525 def suggestionsForWord(self, word, max = 10): 13526 '''QStringList Sonnet.Highlighter.suggestionsForWord(QString word, int max = 10)''' 13527 return QStringList() 13528 def ignoreWord(self, word): 13529 '''void Sonnet.Highlighter.ignoreWord(QString word)''' 13530 def addWordToDictionary(self, word): 13531 '''void Sonnet.Highlighter.addWordToDictionary(QString word)''' 13532 def setAutomatic(self, automatic): 13533 '''void Sonnet.Highlighter.setAutomatic(bool automatic)''' 13534 def automatic(self): 13535 '''bool Sonnet.Highlighter.automatic()''' 13536 return bool() 13537 def isActive(self): 13538 '''bool Sonnet.Highlighter.isActive()''' 13539 return bool() 13540 def setActive(self, active): 13541 '''void Sonnet.Highlighter.setActive(bool active)''' 13542 def personalWords(self): 13543 '''static QStringList Sonnet.Highlighter.personalWords()''' 13544 return QStringList() 13545 def setCurrentLanguage(self, lang): 13546 '''void Sonnet.Highlighter.setCurrentLanguage(QString lang)''' 13547 def currentLanguage(self): 13548 '''QString Sonnet.Highlighter.currentLanguage()''' 13549 return QString() 13550 def spellCheckerFound(self): 13551 '''bool Sonnet.Highlighter.spellCheckerFound()''' 13552 return bool() 13553 13554 13555# Enum KColorChooserMode 13556ChooserClassic = 0 13557ChooserHue = 0 13558ChooserSaturation = 0 13559ChooserValue = 0 13560ChooserRed = 0 13561ChooserGreen = 0 13562ChooserBlue = 0 13563 13564 13565def UserIconSet(name): 13566 '''static QIcon UserIconSet(QString name)''' 13567 return QIcon() 13568 13569def UserIcon(name, state = None, overlays = QStringList()): 13570 '''static QPixmap UserIcon(QString name, int state = KIconLoader.DefaultState, QStringList overlays = QStringList())''' 13571 return QPixmap() 13572 13573def MainBarIconSet(name, size = 0): 13574 '''static QIcon MainBarIconSet(QString name, int size = 0)''' 13575 return QIcon() 13576 13577def MainBarIcon(name, size = 0, state = None, overlays = QStringList()): 13578 '''static QPixmap MainBarIcon(QString name, int size = 0, int state = KIconLoader.DefaultState, QStringList overlays = QStringList())''' 13579 return QPixmap() 13580 13581def SmallIconSet(name, size = 0): 13582 '''static QIcon SmallIconSet(QString name, int size = 0)''' 13583 return QIcon() 13584 13585def SmallIcon(name, size = 0, state = None, overlays = QStringList()): 13586 '''static QPixmap SmallIcon(QString name, int size = 0, int state = KIconLoader.DefaultState, QStringList overlays = QStringList())''' 13587 return QPixmap() 13588 13589def BarIconSet(name, size = 0): 13590 '''static QIcon BarIconSet(QString name, int size = 0)''' 13591 return QIcon() 13592 13593def BarIcon(name, size = 0, state = None, overlays = QStringList()): 13594 '''static QPixmap BarIcon(QString name, int size = 0, int state = KIconLoader.DefaultState, QStringList overlays = QStringList())''' 13595 return QPixmap() 13596 13597def DesktopIconSet(name, size = 0): 13598 '''static QIcon DesktopIconSet(QString name, int size = 0)''' 13599 return QIcon() 13600 13601def DesktopIcon(name, size = 0, state = None, overlays = QStringList()): 13602 '''static QPixmap DesktopIcon(QString name, int size = 0, int state = KIconLoader.DefaultState, QStringList overlays = QStringList())''' 13603 return QPixmap() 13604 13605def qHash(key): 13606 '''static int qHash(KShapeGesture key)''' 13607 return int() 13608 13609def qHash(key): 13610 '''static int qHash(KRockerGesture key)''' 13611 return int() 13612 13613def qHash(): 13614 '''static int qHash()''' 13615 return int() 13616 13617def qHash(key): 13618 '''static int qHash(KShortcut key)''' 13619 return int() 13620 13621def qHash(key): 13622 '''static int qHash(QKeySequence key)''' 13623 return int() 13624 13625