From 875ae8e38bc3663e5057ca910e7ebe4b2994edb9 Mon Sep 17 00:00:00 2001 From: tpearson Date: Tue, 14 Sep 2010 19:47:20 +0000 Subject: Updated python directory git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebindings@1175349 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- python/pykde/AUTHORS | 6 - python/pykde/BUGS | 0 python/pykde/COPYING | 343 ------ python/pykde/ChangeLog | 602 ---------- python/pykde/ChangeLog.2001-4 | 185 ---- python/pykde/Changelog | 779 ------------- python/pykde/INSTALL | 14 - python/pykde/NEWS | 3 - python/pykde/README | 5 - python/pykde/THANKS | 109 -- python/pykde/configure.py | 943 ---------------- python/pykde/contrib/kdepyuic | 150 --- python/pykde/doc/classref/allclasses.html | 801 -------------- python/pykde/doc/classref/dcop/DCOPClient.html | 456 -------- python/pykde/doc/classref/dcop/DCOPObject.html | 160 --- .../pykde/doc/classref/dcop/DCOPObjectProxy.html | 60 - python/pykde/doc/classref/dcop/DCOPRef.html | 142 --- python/pykde/doc/classref/dcop/DCOPReply.html | 50 - python/pykde/doc/classref/dcop/DCOPStub.html | 93 -- python/pykde/doc/classref/dcop/index.html | 40 - python/pykde/doc/classref/glossary.html | 40 - python/pykde/doc/classref/index.html | 57 - python/pykde/doc/classref/kabc/KABC.Address.html | 249 ----- .../pykde/doc/classref/kabc/KABC.AddressBook.html | 281 ----- .../doc/classref/kabc/KABC.AddressLineEdit.html | 123 --- .../doc/classref/kabc/KABC.AddresseeDialog.html | 72 -- .../doc/classref/kabc/KABC.AddresseeItem.html | 61 -- python/pykde/doc/classref/kabc/KABC.Agent.html | 105 -- .../classref/kabc/KABC.ConsoleErrorHandler.html | 48 - .../classref/kabc/KABC.DistributionList.Entry.html | 56 - .../doc/classref/kabc/KABC.DistributionList.html | 77 -- .../classref/kabc/KABC.DistributionListDialog.html | 49 - .../kabc/KABC.DistributionListEditorWidget.html | 49 - .../kabc/KABC.DistributionListManager.html | 74 -- .../kabc/KABC.DistributionListWatcher.html | 58 - .../doc/classref/kabc/KABC.EmailSelectDialog.html | 61 -- .../doc/classref/kabc/KABC.EmailSelector.html | 64 -- .../pykde/doc/classref/kabc/KABC.ErrorHandler.html | 49 - python/pykde/doc/classref/kabc/KABC.Field.html | 184 ---- .../doc/classref/kabc/KABC.FieldSortMode.html | 57 - python/pykde/doc/classref/kabc/KABC.Format.html | 57 - .../doc/classref/kabc/KABC.FormatFactory.html | 72 -- .../pykde/doc/classref/kabc/KABC.FormatInfo.html | 45 - .../pykde/doc/classref/kabc/KABC.FormatPlugin.html | 87 -- .../doc/classref/kabc/KABC.GUIErrorHandler.html | 48 - python/pykde/doc/classref/kabc/KABC.Geo.html | 90 -- .../doc/classref/kabc/KABC.GuiErrorHandler.html | 55 - python/pykde/doc/classref/kabc/KABC.Key.html | 140 --- .../doc/classref/kabc/KABC.LDAPUrl.Extension.html | 44 - python/pykde/doc/classref/kabc/KABC.LDAPUrl.html | 152 --- python/pykde/doc/classref/kabc/KABC.LDIF.html | 174 --- .../doc/classref/kabc/KABC.LDIFConverter.html | 122 --- .../pykde/doc/classref/kabc/KABC.LdapClient.html | 190 ---- .../doc/classref/kabc/KABC.LdapConfigWidget.html | 276 ----- .../pykde/doc/classref/kabc/KABC.LdapObject.html | 88 -- .../pykde/doc/classref/kabc/KABC.LdapResult.html | 45 - .../pykde/doc/classref/kabc/KABC.LdapSearch.html | 78 -- python/pykde/doc/classref/kabc/KABC.Lock.html | 94 -- python/pykde/doc/classref/kabc/KABC.LockNull.html | 60 - .../pykde/doc/classref/kabc/KABC.NameSortMode.html | 64 -- .../pykde/doc/classref/kabc/KABC.PhoneNumber.html | 127 --- python/pykde/doc/classref/kabc/KABC.Picture.html | 116 -- python/pykde/doc/classref/kabc/KABC.Plugin.html | 78 -- python/pykde/doc/classref/kabc/KABC.Resource.html | 346 ------ .../pykde/doc/classref/kabc/KABC.ResourceFile.html | 312 ------ .../classref/kabc/KABC.ResourceSelectDialog.html | 70 -- python/pykde/doc/classref/kabc/KABC.Secrecy.html | 100 -- python/pykde/doc/classref/kabc/KABC.SortMode.html | 50 - .../kabc/KABC.SortingTraits.FamilyName.html | 59 - .../kabc/KABC.SortingTraits.FormattedName.html | 59 - .../kabc/KABC.SortingTraits.GivenName.html | 59 - .../doc/classref/kabc/KABC.SortingTraits.Name.html | 59 - .../doc/classref/kabc/KABC.SortingTraits.Uid.html | 59 - .../doc/classref/kabc/KABC.SortingTraits.html | 41 - python/pykde/doc/classref/kabc/KABC.Sound.html | 109 -- .../doc/classref/kabc/KABC.StdAddressBook.html | 143 --- python/pykde/doc/classref/kabc/KABC.Ticket.html | 50 - python/pykde/doc/classref/kabc/KABC.TimeZone.html | 80 -- .../doc/classref/kabc/KABC.VCardConverter.html | 96 -- .../pykde/doc/classref/kabc/KABC.VCardFormat.html | 58 - .../doc/classref/kabc/KABC.VCardFormatPlugin.html | 86 -- python/pykde/doc/classref/kabc/KABC.html | 67 -- python/pykde/doc/classref/kabc/index.html | 95 -- python/pykde/doc/classref/kabc/kabc-globals.html | 28 - python/pykde/doc/classref/kdecore/KAboutData.html | 260 ----- .../pykde/doc/classref/kdecore/KAboutPerson.html | 65 -- .../doc/classref/kdecore/KAboutTranslator.html | 54 - python/pykde/doc/classref/kdecore/KAccel.html | 366 ------- .../pykde/doc/classref/kdecore/KAccelAction.html | 208 ---- .../pykde/doc/classref/kdecore/KAccelActions.html | 172 --- python/pykde/doc/classref/kdecore/KAccelBase.html | 242 ----- .../doc/classref/kdecore/KAccelShortcutList.html | 130 --- .../pykde/doc/classref/kdecore/KApplication.html | 666 ------------ python/pykde/doc/classref/kdecore/KAsyncIO.html | 70 -- .../pykde/doc/classref/kdecore/KAudioPlayer.html | 59 - python/pykde/doc/classref/kdecore/KBufferedIO.html | 136 --- .../doc/classref/kdecore/KCalendarSystem.html | 306 ------ .../classref/kdecore/KCalendarSystemFactory.html | 59 - python/pykde/doc/classref/kdecore/KCatalogue.html | 93 -- .../doc/classref/kdecore/KCharMacroExpander.html | 75 -- python/pykde/doc/classref/kdecore/KCharsets.html | 106 -- .../classref/kdecore/KClipboardSynchronizer.html | 84 -- .../pykde/doc/classref/kdecore/KCmdLineArgs.html | 220 ---- .../doc/classref/kdecore/KCmdLineOptions.html | 45 - python/pykde/doc/classref/kdecore/KCodecs.html | 182 ---- python/pykde/doc/classref/kdecore/KCompletion.html | 211 ---- .../doc/classref/kdecore/KCompletionBase.html | 141 --- python/pykde/doc/classref/kdecore/KConfig.html | 149 --- .../pykde/doc/classref/kdecore/KConfigBackEnd.html | 107 -- python/pykde/doc/classref/kdecore/KConfigBase.html | 970 ----------------- .../doc/classref/kdecore/KConfigDialogManager.html | 130 --- .../pykde/doc/classref/kdecore/KConfigGroup.html | 95 -- .../doc/classref/kdecore/KConfigGroupSaver.html | 71 -- .../doc/classref/kdecore/KConfigINIBackEnd.html | 88 -- .../classref/kdecore/KConfigSkeleton.ItemBool.html | 96 -- .../kdecore/KConfigSkeleton.ItemColor.html | 102 -- .../kdecore/KConfigSkeleton.ItemDateTime.html | 102 -- .../kdecore/KConfigSkeleton.ItemDouble.html | 118 -- .../kdecore/KConfigSkeleton.ItemEnum.Choice.html | 45 - .../classref/kdecore/KConfigSkeleton.ItemEnum.html | 90 -- .../classref/kdecore/KConfigSkeleton.ItemFont.html | 102 -- .../classref/kdecore/KConfigSkeleton.ItemInt.html | 118 -- .../kdecore/KConfigSkeleton.ItemInt64.html | 124 --- .../kdecore/KConfigSkeleton.ItemIntList.html | 102 -- .../classref/kdecore/KConfigSkeleton.ItemLong.html | 118 -- .../kdecore/KConfigSkeleton.ItemPassword.html | 51 - .../classref/kdecore/KConfigSkeleton.ItemPath.html | 51 - .../kdecore/KConfigSkeleton.ItemPathList.html | 65 -- .../kdecore/KConfigSkeleton.ItemPoint.html | 102 -- .../kdecore/KConfigSkeleton.ItemProperty.html | 102 -- .../classref/kdecore/KConfigSkeleton.ItemRect.html | 102 -- .../classref/kdecore/KConfigSkeleton.ItemSize.html | 102 -- .../kdecore/KConfigSkeleton.ItemString.html | 106 -- .../kdecore/KConfigSkeleton.ItemStringList.html | 102 -- .../classref/kdecore/KConfigSkeleton.ItemUInt.html | 118 -- .../kdecore/KConfigSkeleton.ItemUInt64.html | 124 --- .../kdecore/KConfigSkeleton.ItemULong.html | 118 -- .../doc/classref/kdecore/KConfigSkeleton.html | 334 ------ .../doc/classref/kdecore/KConfigSkeletonItem.html | 170 --- python/pykde/doc/classref/kdecore/KCrash.html | 82 -- .../doc/classref/kdecore/KDCOPPropertyProxy.html | 91 -- python/pykde/doc/classref/kdecore/KDE.html | 61 -- .../pykde/doc/classref/kdecore/KDesktopFile.html | 155 --- python/pykde/doc/classref/kdecore/KEntry.html | 54 - python/pykde/doc/classref/kdecore/KEntryKey.html | 56 - python/pykde/doc/classref/kdecore/KGlobal.html | 122 --- .../pykde/doc/classref/kdecore/KGlobalAccel.html | 173 --- .../kdecore/KGlobalSettings.KMouseSettings.html | 46 - .../doc/classref/kdecore/KGlobalSettings.html | 270 ----- python/pykde/doc/classref/kdecore/KIDNA.html | 62 -- python/pykde/doc/classref/kdecore/KIPC.html | 63 -- python/pykde/doc/classref/kdecore/KIcon.html | 69 -- python/pykde/doc/classref/kdecore/KIconEffect.html | 205 ---- python/pykde/doc/classref/kdecore/KIconLoader.html | 195 ---- python/pykde/doc/classref/kdecore/KIconTheme.html | 140 --- python/pykde/doc/classref/kdecore/KInstance.html | 103 -- python/pykde/doc/classref/kdecore/KKey.html | 195 ---- python/pykde/doc/classref/kdecore/KKeyNative.html | 174 --- .../pykde/doc/classref/kdecore/KKeySequence.html | 180 --- .../doc/classref/kdecore/KKeyServer.CodeMod.html | 44 - .../pykde/doc/classref/kdecore/KKeyServer.Key.html | 103 -- .../pykde/doc/classref/kdecore/KKeyServer.Sym.html | 92 -- .../classref/kdecore/KKeyServer.Variations.html | 68 -- python/pykde/doc/classref/kdecore/KKeyServer.html | 132 --- python/pykde/doc/classref/kdecore/KLibFactory.html | 72 -- python/pykde/doc/classref/kdecore/KLibLoader.html | 91 -- python/pykde/doc/classref/kdecore/KLibrary.html | 80 -- python/pykde/doc/classref/kdecore/KLocale.html | 583 ---------- python/pykde/doc/classref/kdecore/KLockFile.html | 82 -- python/pykde/doc/classref/kdecore/KMD4.html | 145 --- python/pykde/doc/classref/kdecore/KMD5.html | 144 --- .../pykde/doc/classref/kdecore/KMacroExpander.html | 113 -- .../doc/classref/kdecore/KMacroExpanderBase.html | 99 -- .../doc/classref/kdecore/KMimeSourceFactory.html | 54 - python/pykde/doc/classref/kdecore/KMountPoint.html | 92 -- .../pykde/doc/classref/kdecore/KMultipleDrag.html | 82 -- .../classref/kdecore/KNotifyClient.Instance.html | 58 - .../pykde/doc/classref/kdecore/KNotifyClient.html | 148 --- python/pykde/doc/classref/kdecore/KPalette.html | 140 --- .../doc/classref/kdecore/KPixmapProvider.html | 49 - python/pykde/doc/classref/kdecore/KProcIO.html | 139 --- python/pykde/doc/classref/kdecore/KProcess.html | 348 ------ .../doc/classref/kdecore/KProcessController.html | 134 --- python/pykde/doc/classref/kdecore/KPty.html | 96 -- python/pykde/doc/classref/kdecore/KRFCDate.html | 74 -- .../doc/classref/kdecore/KRandomSequence.html | 80 -- python/pykde/doc/classref/kdecore/KRegExp.html | 82 -- python/pykde/doc/classref/kdecore/KRootProp.html | 127 --- python/pykde/doc/classref/kdecore/KSaveFile.html | 85 -- .../doc/classref/kdecore/KSelectionOwner.html | 114 -- .../doc/classref/kdecore/KSelectionWatcher.html | 77 -- .../pykde/doc/classref/kdecore/KServerSocket.html | 108 -- .../doc/classref/kdecore/KSessionManaged.html | 56 - python/pykde/doc/classref/kdecore/KShared.html | 62 -- .../pykde/doc/classref/kdecore/KSharedConfig.html | 64 -- python/pykde/doc/classref/kdecore/KShell.html | 88 -- .../pykde/doc/classref/kdecore/KShellProcess.html | 68 -- python/pykde/doc/classref/kdecore/KShortcut.html | 243 ----- .../pykde/doc/classref/kdecore/KShortcutList.html | 159 --- .../pykde/doc/classref/kdecore/KSimpleConfig.html | 65 -- python/pykde/doc/classref/kdecore/KSocket.html | 126 --- .../pykde/doc/classref/kdecore/KStartupInfo.html | 227 ---- .../doc/classref/kdecore/KStartupInfoData.html | 195 ---- .../pykde/doc/classref/kdecore/KStartupInfoId.html | 98 -- .../doc/classref/kdecore/KStaticDeleterBase.html | 45 - .../classref/kdecore/KStdAccel.ShortcutList.html | 108 -- python/pykde/doc/classref/kdecore/KStdAccel.html | 284 ----- .../pykde/doc/classref/kdecore/KStringHandler.html | 292 ----- python/pykde/doc/classref/kdecore/KTempDir.html | 99 -- python/pykde/doc/classref/kdecore/KTempFile.html | 106 -- python/pykde/doc/classref/kdecore/KTimezone.html | 129 --- .../doc/classref/kdecore/KTimezoneDetails.html | 124 --- .../doc/classref/kdecore/KTimezoneSource.html | 60 - python/pykde/doc/classref/kdecore/KTimezones.html | 74 -- python/pykde/doc/classref/kdecore/KURL.List.html | 183 ---- python/pykde/doc/classref/kdecore/KURL.html | 562 ---------- python/pykde/doc/classref/kdecore/KURLDrag.html | 165 --- .../doc/classref/kdecore/KUniqueApplication.html | 101 -- python/pykde/doc/classref/kdecore/KWin.Info.html | 66 -- .../doc/classref/kdecore/KWin.WindowInfo.html | 172 --- python/pykde/doc/classref/kdecore/KWin.html | 304 ------ python/pykde/doc/classref/kdecore/KWinModule.html | 191 ---- .../doc/classref/kdecore/KWordMacroExpander.html | 75 -- .../pykde/doc/classref/kdecore/KZoneAllocator.html | 77 -- python/pykde/doc/classref/kdecore/NET.html | 92 -- .../doc/classref/kdecore/NETExtendedStrut.html | 60 - python/pykde/doc/classref/kdecore/NETIcon.html | 49 - python/pykde/doc/classref/kdecore/NETPoint.html | 49 - python/pykde/doc/classref/kdecore/NETRect.html | 44 - python/pykde/doc/classref/kdecore/NETRootInfo.html | 424 -------- .../pykde/doc/classref/kdecore/NETRootInfo2.html | 102 -- .../pykde/doc/classref/kdecore/NETRootInfo3.html | 84 -- .../pykde/doc/classref/kdecore/NETRootInfo4.html | 62 -- python/pykde/doc/classref/kdecore/NETSize.html | 49 - python/pykde/doc/classref/kdecore/NETStrut.html | 51 - python/pykde/doc/classref/kdecore/NETWinInfo.html | 315 ------ python/pykde/doc/classref/kdecore/index.html | 180 --- .../doc/classref/kdecore/kdecore-globals.html | 209 ---- python/pykde/doc/classref/kdefx/KCPUInfo.html | 52 - python/pykde/doc/classref/kdefx/KImageEffect.html | 523 --------- python/pykde/doc/classref/kdefx/KPixmap.html | 90 -- python/pykde/doc/classref/kdefx/KPixmapEffect.html | 178 --- .../pykde/doc/classref/kdefx/KPixmapSplitter.html | 86 -- python/pykde/doc/classref/kdefx/KStyle.html | 212 ---- python/pykde/doc/classref/kdefx/index.html | 41 - python/pykde/doc/classref/kdefx/kdefx-globals.html | 151 --- python/pykde/doc/classref/kdeprint/DrBase.html | 137 --- .../doc/classref/kdeprint/DrBooleanOption.html | 45 - .../pykde/doc/classref/kdeprint/DrChoiceGroup.html | 48 - .../pykde/doc/classref/kdeprint/DrConstraint.html | 65 -- .../pykde/doc/classref/kdeprint/DrFloatOption.html | 60 - python/pykde/doc/classref/kdeprint/DrGroup.html | 136 --- .../doc/classref/kdeprint/DrIntegerOption.html | 60 - .../pykde/doc/classref/kdeprint/DrListOption.html | 110 -- python/pykde/doc/classref/kdeprint/DrMain.html | 94 -- python/pykde/doc/classref/kdeprint/DrPageSize.html | 105 -- .../doc/classref/kdeprint/DrStringOption.html | 56 - python/pykde/doc/classref/kdeprint/KMJob.html | 242 ----- .../classref/kdeprint/KMJobManager.JobFilter.html | 50 - .../pykde/doc/classref/kdeprint/KMJobManager.html | 204 ---- python/pykde/doc/classref/kdeprint/KMManager.html | 363 ------- python/pykde/doc/classref/kdeprint/KMObject.html | 53 - python/pykde/doc/classref/kdeprint/KMPrinter.html | 420 ------- .../doc/classref/kdeprint/KPReloadObject.html | 57 - .../pykde/doc/classref/kdeprint/KPrintAction.html | 127 --- .../pykde/doc/classref/kdeprint/KPrintDialog.html | 193 ---- .../doc/classref/kdeprint/KPrintDialogPage.html | 103 -- python/pykde/doc/classref/kdeprint/KPrinter.html | 493 --------- python/pykde/doc/classref/kdeprint/index.html | 46 - .../doc/classref/kdeprint/kdeprint-globals.html | 45 - .../doc/classref/kdeui/KAboutApplication.html | 64 -- .../pykde/doc/classref/kdeui/KAboutContainer.html | 111 -- .../doc/classref/kdeui/KAboutContributor.html | 133 --- python/pykde/doc/classref/kdeui/KAboutDialog.html | 263 ----- python/pykde/doc/classref/kdeui/KAboutKDE.html | 49 - python/pykde/doc/classref/kdeui/KAboutWidget.html | 122 --- python/pykde/doc/classref/kdeui/KAction.html | 531 --------- .../doc/classref/kdeui/KActionCollection.html | 574 ---------- python/pykde/doc/classref/kdeui/KActionMenu.html | 227 ---- .../doc/classref/kdeui/KActionPtrShortcutList.html | 119 -- .../pykde/doc/classref/kdeui/KActionSelector.html | 233 ---- .../pykde/doc/classref/kdeui/KActionSeparator.html | 73 -- .../doc/classref/kdeui/KActionShortcutList.html | 121 --- python/pykde/doc/classref/kdeui/KActiveLabel.html | 89 -- python/pykde/doc/classref/kdeui/KAnimWidget.html | 141 --- python/pykde/doc/classref/kdeui/KArrowButton.html | 79 -- python/pykde/doc/classref/kdeui/KAuthIcon.html | 65 -- python/pykde/doc/classref/kdeui/KBugReport.html | 82 -- python/pykde/doc/classref/kdeui/KButtonBox.html | 115 -- python/pykde/doc/classref/kdeui/KCModule.html | 162 --- python/pykde/doc/classref/kdeui/KCharSelect.html | 201 ---- .../pykde/doc/classref/kdeui/KCharSelectTable.html | 167 --- python/pykde/doc/classref/kdeui/KColor.html | 87 -- python/pykde/doc/classref/kdeui/KColorCells.html | 149 --- python/pykde/doc/classref/kdeui/KColorCombo.html | 78 -- python/pykde/doc/classref/kdeui/KColorDialog.html | 117 -- python/pykde/doc/classref/kdeui/KColorDrag.html | 99 -- python/pykde/doc/classref/kdeui/KColorPatch.html | 83 -- python/pykde/doc/classref/kdeui/KComboBox.html | 261 ----- python/pykde/doc/classref/kdeui/KCommand.html | 56 - .../pykde/doc/classref/kdeui/KCommandHistory.html | 122 --- .../pykde/doc/classref/kdeui/KCompletionBox.html | 156 --- python/pykde/doc/classref/kdeui/KConfigDialog.html | 139 --- .../doc/classref/kdeui/KContextMenuManager.html | 63 -- python/pykde/doc/classref/kdeui/KCursor.html | 136 --- .../pykde/doc/classref/kdeui/KDCOPActionProxy.html | 96 -- .../classref/kdeui/KDateInternalMonthPicker.html | 141 --- .../classref/kdeui/KDateInternalWeekSelector.html | 87 -- .../classref/kdeui/KDateInternalYearSelector.html | 76 -- python/pykde/doc/classref/kdeui/KDatePicker.html | 200 ---- python/pykde/doc/classref/kdeui/KDateTable.html | 192 ---- .../pykde/doc/classref/kdeui/KDateTimeWidget.html | 76 -- .../pykde/doc/classref/kdeui/KDateValidator.html | 67 -- python/pykde/doc/classref/kdeui/KDateWidget.html | 84 -- python/pykde/doc/classref/kdeui/KDialog.html | 125 --- python/pykde/doc/classref/kdeui/KDialogBase.html | 706 ------------ python/pykde/doc/classref/kdeui/KDialogQueue.html | 55 - python/pykde/doc/classref/kdeui/KDockArea.html | 135 --- .../pykde/doc/classref/kdeui/KDockMainWindow.html | 136 --- python/pykde/doc/classref/kdeui/KDockManager.html | 208 ---- python/pykde/doc/classref/kdeui/KDockTabGroup.html | 52 - python/pykde/doc/classref/kdeui/KDockWidget.html | 320 ------ .../classref/kdeui/KDockWidgetAbstractHeader.html | 66 -- .../kdeui/KDockWidgetAbstractHeaderDrag.html | 52 - .../doc/classref/kdeui/KDockWidgetHeader.html | 108 -- .../doc/classref/kdeui/KDockWidgetHeaderDrag.html | 55 - python/pykde/doc/classref/kdeui/KDockWindow.html | 48 - .../pykde/doc/classref/kdeui/KDoubleNumInput.html | 228 ---- .../pykde/doc/classref/kdeui/KDoubleSpinBox.html | 177 --- .../pykde/doc/classref/kdeui/KDoubleValidator.html | 78 -- .../pykde/doc/classref/kdeui/KDualColorButton.html | 162 --- python/pykde/doc/classref/kdeui/KEdFind.html | 103 -- python/pykde/doc/classref/kdeui/KEdGotoLine.html | 58 - python/pykde/doc/classref/kdeui/KEdReplace.html | 112 -- python/pykde/doc/classref/kdeui/KEdit.html | 264 ----- .../classref/kdeui/KEditListBox.CustomEditor.html | 82 -- python/pykde/doc/classref/kdeui/KEditListBox.html | 210 ---- python/pykde/doc/classref/kdeui/KEditToolbar.html | 108 -- .../doc/classref/kdeui/KEditToolbarWidget.html | 188 ---- .../pykde/doc/classref/kdeui/KFloatValidator.html | 101 -- python/pykde/doc/classref/kdeui/KFontAction.html | 252 ----- python/pykde/doc/classref/kdeui/KFontChooser.html | 147 --- python/pykde/doc/classref/kdeui/KFontCombo.html | 136 --- python/pykde/doc/classref/kdeui/KFontDialog.html | 114 -- .../pykde/doc/classref/kdeui/KFontRequester.html | 115 -- .../pykde/doc/classref/kdeui/KFontSizeAction.html | 263 ----- .../doc/classref/kdeui/KGradientSelector.html | 115 -- python/pykde/doc/classref/kdeui/KGuiItem.html | 139 --- python/pykde/doc/classref/kdeui/KHSSelector.html | 66 -- python/pykde/doc/classref/kdeui/KHelpMenu.html | 82 -- python/pykde/doc/classref/kdeui/KHistoryCombo.html | 124 --- python/pykde/doc/classref/kdeui/KIconView.html | 213 ---- python/pykde/doc/classref/kdeui/KIconViewItem.html | 150 --- .../doc/classref/kdeui/KIconViewSearchLine.html | 131 --- python/pykde/doc/classref/kdeui/KInputDialog.html | 217 ---- python/pykde/doc/classref/kdeui/KIntNumInput.html | 190 ---- python/pykde/doc/classref/kdeui/KIntSpinBox.html | 84 -- python/pykde/doc/classref/kdeui/KIntValidator.html | 93 -- python/pykde/doc/classref/kdeui/KJanusWidget.html | 288 ----- python/pykde/doc/classref/kdeui/KKeyButton.html | 86 -- python/pykde/doc/classref/kdeui/KKeyChooser.html | 280 ----- python/pykde/doc/classref/kdeui/KKeyDialog.html | 170 --- .../pykde/doc/classref/kdeui/KLanguageButton.html | 173 --- python/pykde/doc/classref/kdeui/KLed.html | 162 --- python/pykde/doc/classref/kdeui/KLineEdit.html | 329 ------ python/pykde/doc/classref/kdeui/KLineEditDlg.html | 85 -- python/pykde/doc/classref/kdeui/KListAction.html | 221 ---- python/pykde/doc/classref/kdeui/KListBox.html | 124 --- python/pykde/doc/classref/kdeui/KListView.html | 712 ------------ python/pykde/doc/classref/kdeui/KListViewItem.html | 162 --- .../doc/classref/kdeui/KListViewSearchLine.html | 132 --- .../classref/kdeui/KListViewSearchLineWidget.html | 65 -- python/pykde/doc/classref/kdeui/KMacroCommand.html | 59 - python/pykde/doc/classref/kdeui/KMainWindow.html | 421 ------- .../doc/classref/kdeui/KMainWindowInterface.html | 171 --- python/pykde/doc/classref/kdeui/KMenuBar.html | 158 --- python/pykde/doc/classref/kdeui/KMessageBox.html | 677 ------------ .../doc/classref/kdeui/KMimeTypeValidator.html | 60 - python/pykde/doc/classref/kdeui/KNamedCommand.html | 56 - python/pykde/doc/classref/kdeui/KNumInput.html | 93 -- python/pykde/doc/classref/kdeui/KPaletteTable.html | 114 -- python/pykde/doc/classref/kdeui/KPanelAppMenu.html | 113 -- python/pykde/doc/classref/kdeui/KPanelApplet.html | 197 ---- .../pykde/doc/classref/kdeui/KPanelExtension.html | 181 --- python/pykde/doc/classref/kdeui/KPanelMenu.html | 113 -- python/pykde/doc/classref/kdeui/KPassivePopup.html | 309 ------ .../pykde/doc/classref/kdeui/KPasswordDialog.html | 194 ---- python/pykde/doc/classref/kdeui/KPasswordEdit.html | 122 --- .../pykde/doc/classref/kdeui/KPasteTextAction.html | 83 -- python/pykde/doc/classref/kdeui/KPixmapIO.html | 105 -- .../kdeui/KPixmapRegionSelectorDialog.html | 94 -- .../kdeui/KPixmapRegionSelectorWidget.html | 122 --- python/pykde/doc/classref/kdeui/KPopupFrame.html | 115 -- python/pykde/doc/classref/kdeui/KPopupMenu.html | 244 ----- python/pykde/doc/classref/kdeui/KPopupTitle.html | 108 -- python/pykde/doc/classref/kdeui/KProgress.html | 127 --- .../pykde/doc/classref/kdeui/KProgressDialog.html | 133 --- python/pykde/doc/classref/kdeui/KPushButton.html | 142 --- python/pykde/doc/classref/kdeui/KRadioAction.html | 199 ---- .../doc/classref/kdeui/KRecentFilesAction.html | 380 ------- .../pykde/doc/classref/kdeui/KRestrictedLine.html | 70 -- .../pykde/doc/classref/kdeui/KRootPermsIcon.html | 54 - python/pykde/doc/classref/kdeui/KRootPixmap.html | 132 --- python/pykde/doc/classref/kdeui/KRuler.html | 311 ------ python/pykde/doc/classref/kdeui/KScrollView.html | 77 -- python/pykde/doc/classref/kdeui/KSelectAction.html | 536 --------- python/pykde/doc/classref/kdeui/KSelector.html | 146 --- python/pykde/doc/classref/kdeui/KSeparator.html | 76 -- python/pykde/doc/classref/kdeui/KSharedPixmap.html | 82 -- .../pykde/doc/classref/kdeui/KShortcutDialog.html | 93 -- python/pykde/doc/classref/kdeui/KSplashScreen.html | 49 - .../doc/classref/kdeui/KSqueezedTextLabel.html | 85 -- python/pykde/doc/classref/kdeui/KStatusBar.html | 114 -- .../pykde/doc/classref/kdeui/KStatusBarLabel.html | 74 -- python/pykde/doc/classref/kdeui/KStdAction.html | 579 ---------- python/pykde/doc/classref/kdeui/KStdGuiItem.html | 213 ---- .../doc/classref/kdeui/KStringListValidator.html | 90 -- python/pykde/doc/classref/kdeui/KSystemTray.html | 129 --- python/pykde/doc/classref/kdeui/KTabBar.html | 268 ----- python/pykde/doc/classref/kdeui/KTabCtl.html | 128 --- python/pykde/doc/classref/kdeui/KTabWidget.html | 360 ------ python/pykde/doc/classref/kdeui/KTextBrowser.html | 102 -- python/pykde/doc/classref/kdeui/KTextEdit.html | 139 --- python/pykde/doc/classref/kdeui/KTimeWidget.html | 76 -- .../pykde/doc/classref/kdeui/KTimezoneWidget.html | 70 -- python/pykde/doc/classref/kdeui/KTipDatabase.html | 63 -- python/pykde/doc/classref/kdeui/KTipDialog.html | 100 -- python/pykde/doc/classref/kdeui/KToggleAction.html | 298 ----- .../classref/kdeui/KToggleFullScreenAction.html | 74 -- .../doc/classref/kdeui/KToggleToolBarAction.html | 127 --- python/pykde/doc/classref/kdeui/KToolBar.html | 797 -------------- .../pykde/doc/classref/kdeui/KToolBarButton.html | 325 ------ .../doc/classref/kdeui/KToolBarLabelAction.html | 108 -- .../doc/classref/kdeui/KToolBarPopupAction.html | 177 --- .../doc/classref/kdeui/KToolBarRadioGroup.html | 66 -- .../doc/classref/kdeui/KToolBarSeparator.html | 81 -- python/pykde/doc/classref/kdeui/KURLLabel.html | 263 ----- .../pykde/doc/classref/kdeui/KValueSelector.html | 95 -- python/pykde/doc/classref/kdeui/KWidgetAction.html | 133 --- python/pykde/doc/classref/kdeui/KWindowInfo.html | 144 --- .../pykde/doc/classref/kdeui/KWindowListMenu.html | 67 -- python/pykde/doc/classref/kdeui/KWizard.html | 50 - python/pykde/doc/classref/kdeui/KWordWrap.html | 108 -- .../pykde/doc/classref/kdeui/KWritePermsIcon.html | 65 -- .../pykde/doc/classref/kdeui/KXMLGUIBuilder.html | 107 -- .../classref/kdeui/KXMLGUIClient.StateChange.html | 44 - python/pykde/doc/classref/kdeui/KXMLGUIClient.html | 231 ---- .../pykde/doc/classref/kdeui/KXMLGUIFactory.html | 188 ---- python/pykde/doc/classref/kdeui/KXYSelector.html | 141 --- python/pykde/doc/classref/kdeui/QXEmbed.html | 196 ---- python/pykde/doc/classref/kdeui/index.html | 213 ---- python/pykde/doc/classref/kdeui/kdeui-globals.html | 36 - .../pykde/doc/classref/kfile/KAppTreeListItem.html | 101 -- .../classref/kfile/KApplicationPropsPlugin.html | 63 -- .../pykde/doc/classref/kfile/KApplicationTree.html | 101 -- .../doc/classref/kfile/KBindingPropsPlugin.html | 57 - python/pykde/doc/classref/kfile/KCombiView.html | 202 ---- .../doc/classref/kfile/KCustomMenuEditor.html | 82 -- .../doc/classref/kfile/KDesktopPropsPlugin.html | 80 -- .../doc/classref/kfile/KDevicePropsPlugin.html | 57 - python/pykde/doc/classref/kfile/KDirOperator.html | 520 --------- .../pykde/doc/classref/kfile/KDirSelectDialog.html | 89 -- python/pykde/doc/classref/kfile/KDirSize.html | 128 --- python/pykde/doc/classref/kfile/KDiskFreeSp.html | 81 -- .../classref/kfile/KEncodingFileDialog.Result.html | 45 - .../doc/classref/kfile/KEncodingFileDialog.html | 139 --- .../pykde/doc/classref/kfile/KExecPropsPlugin.html | 60 - python/pykde/doc/classref/kfile/KFile.html | 108 -- .../pykde/doc/classref/kfile/KFileDetailView.html | 274 ----- python/pykde/doc/classref/kfile/KFileDialog.html | 543 --------- .../pykde/doc/classref/kfile/KFileFilterCombo.html | 93 -- python/pykde/doc/classref/kfile/KFileIconView.html | 306 ------ .../doc/classref/kfile/KFileIconViewItem.html | 61 -- .../doc/classref/kfile/KFileListViewItem.html | 91 -- .../doc/classref/kfile/KFileOpenWithHandler.html | 50 - .../kfile/KFilePermissionsPropsPlugin.html | 61 -- python/pykde/doc/classref/kfile/KFilePreview.html | 206 ---- .../pykde/doc/classref/kfile/KFilePropsPlugin.html | 110 -- .../doc/classref/kfile/KFileSharePropsPlugin.html | 72 -- .../pykde/doc/classref/kfile/KFileTreeBranch.html | 157 --- python/pykde/doc/classref/kfile/KFileTreeView.html | 265 ----- .../doc/classref/kfile/KFileTreeViewItem.html | 81 -- .../doc/classref/kfile/KFileTreeViewToolTip.html | 53 - python/pykde/doc/classref/kfile/KFileView.html | 301 ----- .../doc/classref/kfile/KFileViewSignaler.html | 115 -- python/pykde/doc/classref/kfile/KIconButton.html | 97 -- python/pykde/doc/classref/kfile/KIconCanvas.html | 78 -- python/pykde/doc/classref/kfile/KIconDialog.html | 143 --- .../doc/classref/kfile/KImageFilePreview.html | 96 -- .../doc/classref/kfile/KNotify.Application.html | 75 -- .../classref/kfile/KNotify.ApplicationList.html | 39 - python/pykde/doc/classref/kfile/KNotify.Event.html | 64 -- .../doc/classref/kfile/KNotify.KNotifyWidget.html | 150 --- .../doc/classref/kfile/KNotify.ListViewItem.html | 62 -- python/pykde/doc/classref/kfile/KNotify.html | 41 - python/pykde/doc/classref/kfile/KNotifyDialog.html | 89 -- python/pykde/doc/classref/kfile/KOpenWithDlg.html | 141 --- .../doc/classref/kfile/KPreviewWidgetBase.html | 70 -- .../doc/classref/kfile/KPropertiesDialog.html | 223 ---- .../pykde/doc/classref/kfile/KPropsDlgPlugin.html | 72 -- python/pykde/doc/classref/kfile/KRecentDirs.html | 62 -- .../pykde/doc/classref/kfile/KRecentDocument.html | 80 -- python/pykde/doc/classref/kfile/KURLBar.html | 211 ---- python/pykde/doc/classref/kfile/KURLBarItem.html | 141 --- .../doc/classref/kfile/KURLBarItemDialog.html | 84 -- .../pykde/doc/classref/kfile/KURLBarListBox.html | 96 -- python/pykde/doc/classref/kfile/KURLComboBox.html | 148 --- .../doc/classref/kfile/KURLComboRequester.html | 49 - .../pykde/doc/classref/kfile/KURLPropsPlugin.html | 57 - python/pykde/doc/classref/kfile/KURLRequester.html | 171 --- .../pykde/doc/classref/kfile/KURLRequesterDlg.html | 78 -- python/pykde/doc/classref/kfile/index.html | 91 -- .../pykde/doc/classref/khtml/DOM.AbstractView.html | 69 -- python/pykde/doc/classref/khtml/DOM.Attr.html | 77 -- .../pykde/doc/classref/khtml/DOM.CDATASection.html | 59 - .../doc/classref/khtml/DOM.CSSCharsetRule.html | 68 -- .../pykde/doc/classref/khtml/DOM.CSSException.html | 60 - .../doc/classref/khtml/DOM.CSSFontFaceRule.html | 62 -- .../doc/classref/khtml/DOM.CSSImportRule.html | 68 -- .../pykde/doc/classref/khtml/DOM.CSSMediaRule.html | 78 -- .../pykde/doc/classref/khtml/DOM.CSSPageRule.html | 71 -- .../doc/classref/khtml/DOM.CSSPrimitiveValue.html | 98 -- python/pykde/doc/classref/khtml/DOM.CSSRule.html | 89 -- .../pykde/doc/classref/khtml/DOM.CSSRuleList.html | 71 -- .../classref/khtml/DOM.CSSStyleDeclaration.html | 112 -- .../pykde/doc/classref/khtml/DOM.CSSStyleRule.html | 71 -- .../doc/classref/khtml/DOM.CSSStyleSheet.html | 78 -- .../doc/classref/khtml/DOM.CSSUnknownRule.html | 59 - python/pykde/doc/classref/khtml/DOM.CSSValue.html | 81 -- .../pykde/doc/classref/khtml/DOM.CSSValueList.html | 68 -- .../doc/classref/khtml/DOM.CharacterData.html | 106 -- python/pykde/doc/classref/khtml/DOM.Comment.html | 59 - python/pykde/doc/classref/khtml/DOM.Counter.html | 68 -- .../doc/classref/khtml/DOM.CustomNodeFilter.html | 56 - .../pykde/doc/classref/khtml/DOM.DOMException.html | 60 - .../doc/classref/khtml/DOM.DOMImplementation.html | 101 -- python/pykde/doc/classref/khtml/DOM.DOMString.html | 158 --- python/pykde/doc/classref/khtml/DOM.Document.html | 292 ----- .../doc/classref/khtml/DOM.DocumentFragment.html | 59 - .../doc/classref/khtml/DOM.DocumentStyle.html | 71 -- .../pykde/doc/classref/khtml/DOM.DocumentType.html | 77 -- python/pykde/doc/classref/khtml/DOM.DomShared.html | 59 - python/pykde/doc/classref/khtml/DOM.Element.html | 220 ---- python/pykde/doc/classref/khtml/DOM.Entity.html | 68 -- .../doc/classref/khtml/DOM.EntityReference.html | 59 - python/pykde/doc/classref/khtml/DOM.Event.html | 101 -- .../doc/classref/khtml/DOM.EventException.html | 60 - .../doc/classref/khtml/DOM.EventListener.html | 53 - .../doc/classref/khtml/DOM.HTMLAnchorElement.html | 173 --- .../doc/classref/khtml/DOM.HTMLAppletElement.html | 180 --- .../doc/classref/khtml/DOM.HTMLAreaElement.html | 131 --- .../doc/classref/khtml/DOM.HTMLBRElement.html | 68 -- .../doc/classref/khtml/DOM.HTMLBaseElement.html | 77 -- .../classref/khtml/DOM.HTMLBaseFontElement.html | 97 -- .../classref/khtml/DOM.HTMLBlockquoteElement.html | 71 -- .../doc/classref/khtml/DOM.HTMLBodyElement.html | 113 -- .../doc/classref/khtml/DOM.HTMLButtonElement.html | 118 -- .../doc/classref/khtml/DOM.HTMLCollection.html | 89 -- .../doc/classref/khtml/DOM.HTMLDListElement.html | 68 -- .../classref/khtml/DOM.HTMLDirectoryElement.html | 68 -- .../doc/classref/khtml/DOM.HTMLDivElement.html | 68 -- .../pykde/doc/classref/khtml/DOM.HTMLDocument.html | 156 --- .../pykde/doc/classref/khtml/DOM.HTMLElement.html | 150 --- .../classref/khtml/DOM.HTMLFieldSetElement.html | 62 -- .../doc/classref/khtml/DOM.HTMLFontElement.html | 86 -- .../doc/classref/khtml/DOM.HTMLFormElement.html | 125 --- .../doc/classref/khtml/DOM.HTMLFrameElement.html | 134 --- .../classref/khtml/DOM.HTMLFrameSetElement.html | 77 -- .../doc/classref/khtml/DOM.HTMLHRElement.html | 95 -- .../doc/classref/khtml/DOM.HTMLHeadElement.html | 68 -- .../doc/classref/khtml/DOM.HTMLHeadingElement.html | 71 -- .../doc/classref/khtml/DOM.HTMLHtmlElement.html | 68 -- .../doc/classref/khtml/DOM.HTMLIFrameElement.html | 152 --- .../doc/classref/khtml/DOM.HTMLImageElement.html | 186 ---- .../doc/classref/khtml/DOM.HTMLInputElement.html | 279 ----- .../doc/classref/khtml/DOM.HTMLIsIndexElement.html | 71 -- .../doc/classref/khtml/DOM.HTMLLIElement.html | 77 -- .../doc/classref/khtml/DOM.HTMLLabelElement.html | 81 -- .../doc/classref/khtml/DOM.HTMLLayerElement.html | 107 -- .../doc/classref/khtml/DOM.HTMLLegendElement.html | 80 -- .../doc/classref/khtml/DOM.HTMLLinkElement.html | 143 --- .../doc/classref/khtml/DOM.HTMLMapElement.html | 71 -- .../doc/classref/khtml/DOM.HTMLMenuElement.html | 68 -- .../doc/classref/khtml/DOM.HTMLMetaElement.html | 95 -- .../doc/classref/khtml/DOM.HTMLModElement.html | 77 -- .../doc/classref/khtml/DOM.HTMLOListElement.html | 86 -- .../doc/classref/khtml/DOM.HTMLObjectElement.html | 240 ---- .../classref/khtml/DOM.HTMLOptGroupElement.html | 77 -- .../doc/classref/khtml/DOM.HTMLOptionElement.html | 119 -- .../classref/khtml/DOM.HTMLParagraphElement.html | 71 -- .../doc/classref/khtml/DOM.HTMLParamElement.html | 95 -- .../doc/classref/khtml/DOM.HTMLPreElement.html | 68 -- .../doc/classref/khtml/DOM.HTMLQuoteElement.html | 68 -- .../doc/classref/khtml/DOM.HTMLScriptElement.html | 122 --- .../doc/classref/khtml/DOM.HTMLSelectElement.html | 153 --- .../doc/classref/khtml/DOM.HTMLStyleElement.html | 89 -- .../khtml/DOM.HTMLTableCaptionElement.html | 68 -- .../classref/khtml/DOM.HTMLTableCellElement.html | 194 ---- .../classref/khtml/DOM.HTMLTableColElement.html | 113 -- .../doc/classref/khtml/DOM.HTMLTableElement.html | 203 ---- .../classref/khtml/DOM.HTMLTableRowElement.html | 143 --- .../khtml/DOM.HTMLTableSectionElement.html | 110 -- .../classref/khtml/DOM.HTMLTextAreaElement.html | 189 ---- .../doc/classref/khtml/DOM.HTMLTitleElement.html | 68 -- .../doc/classref/khtml/DOM.HTMLUListElement.html | 77 -- python/pykde/doc/classref/khtml/DOM.LinkStyle.html | 56 - python/pykde/doc/classref/khtml/DOM.MediaList.html | 89 -- .../pykde/doc/classref/khtml/DOM.MouseEvent.html | 109 -- .../doc/classref/khtml/DOM.MutationEvent.html | 99 -- .../pykde/doc/classref/khtml/DOM.NamedNodeMap.html | 106 -- python/pykde/doc/classref/khtml/DOM.Node.html | 221 ---- .../pykde/doc/classref/khtml/DOM.NodeFilter.html | 88 -- .../pykde/doc/classref/khtml/DOM.NodeIterator.html | 80 -- python/pykde/doc/classref/khtml/DOM.NodeList.html | 68 -- python/pykde/doc/classref/khtml/DOM.Notation.html | 65 -- .../classref/khtml/DOM.ProcessingInstruction.html | 74 -- python/pykde/doc/classref/khtml/DOM.RGBColor.html | 80 -- python/pykde/doc/classref/khtml/DOM.Range.html | 204 ---- .../doc/classref/khtml/DOM.RangeException.html | 60 - python/pykde/doc/classref/khtml/DOM.Rect.html | 71 -- .../pykde/doc/classref/khtml/DOM.StyleSheet.html | 89 -- .../doc/classref/khtml/DOM.StyleSheetList.html | 68 -- python/pykde/doc/classref/khtml/DOM.Text.html | 65 -- python/pykde/doc/classref/khtml/DOM.TextEvent.html | 113 -- .../pykde/doc/classref/khtml/DOM.TreeWalker.html | 109 -- python/pykde/doc/classref/khtml/DOM.UIEvent.html | 103 -- python/pykde/doc/classref/khtml/DOM.html | 57 - python/pykde/doc/classref/khtml/KHTMLPart.html | 807 -------------- python/pykde/doc/classref/khtml/KHTMLSettings.html | 318 ------ python/pykde/doc/classref/khtml/KHTMLView.html | 287 ----- python/pykde/doc/classref/khtml/index.html | 153 --- python/pykde/doc/classref/khtml/khtml-globals.html | 28 - python/pykde/doc/classref/kio/KACL.html | 209 ---- python/pykde/doc/classref/kio/KAr.html | 104 -- python/pykde/doc/classref/kio/KArchive.html | 288 ----- .../pykde/doc/classref/kio/KArchiveDirectory.html | 79 -- python/pykde/doc/classref/kio/KArchiveEntry.html | 83 -- python/pykde/doc/classref/kio/KArchiveFile.html | 84 -- python/pykde/doc/classref/kio/KAutoMount.html | 67 -- python/pykde/doc/classref/kio/KAutoUnmount.html | 63 -- .../doc/classref/kio/KDCOPServiceStarter.html | 78 -- .../classref/kio/KDEDesktopMimeType.Service.html | 56 - .../pykde/doc/classref/kio/KDEDesktopMimeType.html | 196 ---- python/pykde/doc/classref/kio/KDataTool.html | 67 -- python/pykde/doc/classref/kio/KDataToolAction.html | 70 -- python/pykde/doc/classref/kio/KDataToolInfo.html | 106 -- python/pykde/doc/classref/kio/KDirLister.html | 356 ------ python/pykde/doc/classref/kio/KDirNotify.html | 93 -- python/pykde/doc/classref/kio/KDirWatch.html | 168 --- python/pykde/doc/classref/kio/KEMailSettings.html | 88 -- python/pykde/doc/classref/kio/KExecMimeType.html | 54 - python/pykde/doc/classref/kio/KFileFilter.html | 48 - python/pykde/doc/classref/kio/KFileItem.html | 326 ------ python/pykde/doc/classref/kio/KFileMetaInfo.html | 197 ---- .../pykde/doc/classref/kio/KFileMetaInfoGroup.html | 153 --- .../pykde/doc/classref/kio/KFileMetaInfoItem.html | 122 --- .../doc/classref/kio/KFileMetaInfoProvider.html | 95 -- .../classref/kio/KFileMimeTypeInfo.GroupInfo.html | 72 -- .../classref/kio/KFileMimeTypeInfo.ItemInfo.html | 87 -- .../pykde/doc/classref/kio/KFileMimeTypeInfo.html | 104 -- python/pykde/doc/classref/kio/KFilePlugin.html | 161 --- python/pykde/doc/classref/kio/KFileShare.html | 118 -- .../pykde/doc/classref/kio/KFileSharePrivate.html | 62 -- python/pykde/doc/classref/kio/KFilterBase.html | 141 --- python/pykde/doc/classref/kio/KFilterDev.html | 149 --- python/pykde/doc/classref/kio/KFolderType.html | 82 -- python/pykde/doc/classref/kio/KIO.AuthInfo.html | 74 -- python/pykde/doc/classref/kio/KIO.ChmodJob.html | 72 -- python/pykde/doc/classref/kio/KIO.Connection.html | 105 -- python/pykde/doc/classref/kio/KIO.CopyInfo.html | 49 - python/pykde/doc/classref/kio/KIO.CopyJob.html | 276 ----- python/pykde/doc/classref/kio/KIO.DavJob.html | 66 -- .../doc/classref/kio/KIO.DefaultProgress.html | 223 ---- python/pykde/doc/classref/kio/KIO.DeleteJob.html | 125 --- .../pykde/doc/classref/kio/KIO.DirectCopyJob.html | 66 -- python/pykde/doc/classref/kio/KIO.FileCopyJob.html | 152 --- .../doc/classref/kio/KIO.ForwardingSlaveBase.html | 166 --- python/pykde/doc/classref/kio/KIO.Job.html | 307 ------ python/pykde/doc/classref/kio/KIO.ListJob.html | 126 --- python/pykde/doc/classref/kio/KIO.MetaInfoJob.html | 91 -- python/pykde/doc/classref/kio/KIO.MimetypeJob.html | 62 -- python/pykde/doc/classref/kio/KIO.MkdirJob.html | 94 -- python/pykde/doc/classref/kio/KIO.MultiGetJob.html | 103 -- python/pykde/doc/classref/kio/KIO.NetAccess.html | 323 ------ .../doc/classref/kio/KIO.NetRC.AutoLogin.html | 47 - python/pykde/doc/classref/kio/KIO.NetRC.html | 90 -- .../pykde/doc/classref/kio/KIO.PasswordDialog.html | 120 -- python/pykde/doc/classref/kio/KIO.PreviewJob.html | 114 -- .../pykde/doc/classref/kio/KIO.ProgressBase.html | 201 ---- python/pykde/doc/classref/kio/KIO.Scheduler.html | 267 ----- python/pykde/doc/classref/kio/KIO.SessionData.html | 69 -- python/pykde/doc/classref/kio/KIO.SimpleJob.html | 148 --- python/pykde/doc/classref/kio/KIO.Slave.html | 200 ---- python/pykde/doc/classref/kio/KIO.SlaveBase.html | 631 ----------- python/pykde/doc/classref/kio/KIO.SlaveConfig.html | 90 -- .../pykde/doc/classref/kio/KIO.SlaveInterface.html | 284 ----- python/pykde/doc/classref/kio/KIO.StatJob.html | 109 -- .../doc/classref/kio/KIO.StatusbarProgress.html | 88 -- .../doc/classref/kio/KIO.StoredTransferJob.html | 63 -- .../pykde/doc/classref/kio/KIO.TCPSlaveBase.html | 230 ---- python/pykde/doc/classref/kio/KIO.Task.html | 44 - python/pykde/doc/classref/kio/KIO.TransferJob.html | 198 ---- python/pykde/doc/classref/kio/KIO.UDSAtom.html | 45 - python/pykde/doc/classref/kio/KIO.html | 645 ----------- python/pykde/doc/classref/kio/KImageIO.html | 120 -- python/pykde/doc/classref/kio/KMimeMagic.html | 96 -- .../pykde/doc/classref/kio/KMimeMagicResult.html | 68 -- .../pykde/doc/classref/kio/KMimeType.Format.html | 48 - python/pykde/doc/classref/kio/KMimeType.html | 290 ----- .../pykde/doc/classref/kio/KMimeTypeChooser.html | 69 -- .../doc/classref/kio/KMimeTypeChooserDialog.html | 71 -- python/pykde/doc/classref/kio/KNFSShare.html | 69 -- python/pykde/doc/classref/kio/KOCRDialog.html | 73 -- .../pykde/doc/classref/kio/KOCRDialogFactory.html | 75 -- .../pykde/doc/classref/kio/KOpenWithHandler.html | 48 - python/pykde/doc/classref/kio/KProcessRunner.html | 87 -- .../doc/classref/kio/KProtocolInfo.ExtraField.html | 58 - python/pykde/doc/classref/kio/KProtocolInfo.html | 466 -------- .../pykde/doc/classref/kio/KProtocolManager.html | 189 ---- python/pykde/doc/classref/kio/KRemoteEncoding.html | 114 -- python/pykde/doc/classref/kio/KRun.html | 360 ------ python/pykde/doc/classref/kio/KSambaShare.html | 69 -- python/pykde/doc/classref/kio/KScanDialog.html | 90 -- .../pykde/doc/classref/kio/KScanDialogFactory.html | 75 -- python/pykde/doc/classref/kio/KService.html | 324 ------ python/pykde/doc/classref/kio/KServiceGroup.html | 240 ---- python/pykde/doc/classref/kio/KServiceOffer.html | 79 -- .../pykde/doc/classref/kio/KServiceSeparator.html | 67 -- python/pykde/doc/classref/kio/KServiceType.html | 169 --- .../doc/classref/kio/KServiceTypeProfile.html | 111 -- .../pykde/doc/classref/kio/KShellCompletion.html | 65 -- python/pykde/doc/classref/kio/KShred.html | 91 -- .../pykde/doc/classref/kio/KSimpleFileFilter.html | 104 -- python/pykde/doc/classref/kio/KSycoca.html | 172 --- python/pykde/doc/classref/kio/KSycocaDict.html | 96 -- python/pykde/doc/classref/kio/KSycocaEntry.html | 111 -- python/pykde/doc/classref/kio/KSycocaFactory.html | 104 -- python/pykde/doc/classref/kio/KTar.html | 177 --- python/pykde/doc/classref/kio/KTrader.html | 65 -- python/pykde/doc/classref/kio/KURIFilter.html | 93 -- python/pykde/doc/classref/kio/KURIFilterData.html | 137 --- .../pykde/doc/classref/kio/KURIFilterPlugin.html | 100 -- python/pykde/doc/classref/kio/KURLCompletion.html | 152 --- .../pykde/doc/classref/kio/KURLPixmapProvider.html | 48 - python/pykde/doc/classref/kio/KZip.html | 228 ---- python/pykde/doc/classref/kio/KZipFileEntry.html | 108 -- python/pykde/doc/classref/kio/Observer.html | 289 ----- python/pykde/doc/classref/kio/RenameDlgPlugin.html | 65 -- python/pykde/doc/classref/kio/ThumbCreator.html | 57 - python/pykde/doc/classref/kio/index.html | 148 --- python/pykde/doc/classref/kio/kio-globals.html | 53 - python/pykde/doc/classref/kmdi/KMdi.html | 47 - python/pykde/doc/classref/kmdi/KMdiChildArea.html | 214 ---- python/pykde/doc/classref/kmdi/KMdiChildFrm.html | 254 ----- .../doc/classref/kmdi/KMdiChildFrmCaption.html | 106 -- .../classref/kmdi/KMdiChildFrmDragBeginEvent.html | 47 - .../classref/kmdi/KMdiChildFrmDragEndEvent.html | 47 - .../doc/classref/kmdi/KMdiChildFrmMoveEvent.html | 47 - .../kmdi/KMdiChildFrmResizeBeginEvent.html | 47 - .../classref/kmdi/KMdiChildFrmResizeEndEvent.html | 47 - python/pykde/doc/classref/kmdi/KMdiChildView.html | 385 ------- python/pykde/doc/classref/kmdi/KMdiMainFrm.html | 580 ---------- python/pykde/doc/classref/kmdi/KMdiTaskBar.html | 101 -- .../pykde/doc/classref/kmdi/KMdiTaskBarButton.html | 104 -- .../doc/classref/kmdi/KMdiToolViewAccessor.html | 99 -- .../doc/classref/kmdi/KMdiViewCloseEvent.html | 47 - .../doc/classref/kmdi/KMdiWin32IconButton.html | 57 - python/pykde/doc/classref/kmdi/index.html | 51 - python/pykde/doc/classref/kmdi/kmdi-globals.html | 28 - .../doc/classref/kparts/ExtTerminalInterface.html | 82 -- .../classref/kparts/KParts.BrowserExtension.html | 322 ------ .../kparts/KParts.BrowserHostExtension.html | 76 -- .../classref/kparts/KParts.BrowserInterface.html | 55 - .../doc/classref/kparts/KParts.BrowserRun.html | 197 ---- .../doc/classref/kparts/KParts.DockMainWindow.html | 67 -- python/pykde/doc/classref/kparts/KParts.Event.html | 65 -- .../pykde/doc/classref/kparts/KParts.Factory.html | 91 -- .../classref/kparts/KParts.GUIActivateEvent.html | 57 - .../classref/kparts/KParts.HistoryProvider.html | 82 -- .../kparts/KParts.LiveConnectExtension.html | 98 -- .../doc/classref/kparts/KParts.MainWindow.html | 88 -- .../doc/classref/kparts/KParts.OpenURLEvent.html | 65 -- python/pykde/doc/classref/kparts/KParts.Part.html | 130 --- .../classref/kparts/KParts.PartActivateEvent.html | 65 -- .../pykde/doc/classref/kparts/KParts.PartBase.html | 78 -- .../doc/classref/kparts/KParts.PartManager.html | 204 ---- .../classref/kparts/KParts.PartSelectEvent.html | 65 -- .../classref/kparts/KParts.Plugin.PluginInfo.html | 45 - .../pykde/doc/classref/kparts/KParts.Plugin.html | 118 -- .../doc/classref/kparts/KParts.ReadOnlyPart.html | 131 --- .../doc/classref/kparts/KParts.ReadWritePart.html | 112 -- .../classref/kparts/KParts.StatusBarExtension.html | 92 -- .../pykde/doc/classref/kparts/KParts.URLArgs.html | 134 --- .../doc/classref/kparts/KParts.WindowArgs.html | 90 -- python/pykde/doc/classref/kparts/KParts.html | 41 - .../doc/classref/kparts/TerminalInterface.html | 63 -- python/pykde/doc/classref/kparts/index.html | 65 -- .../classref/kparts/konsoleBrowserExtension.html | 53 - .../pykde/doc/classref/kparts/konsoleFactory.html | 59 - python/pykde/doc/classref/kparts/konsolePart.html | 237 ---- .../pykde/doc/classref/kparts/kparts-globals.html | 110 -- .../doc/classref/kresources/KRES.ConfigDialog.html | 76 -- .../doc/classref/kresources/KRES.ConfigWidget.html | 79 -- .../doc/classref/kresources/KRES.Factory.html | 90 -- .../kresources/KRES.PluginFactoryBase.html | 67 -- .../doc/classref/kresources/KRES.Resource.html | 134 --- .../classref/kresources/KRES.ResourcePageInfo.html | 50 - .../doc/classref/kresources/KRES.SelectDialog.html | 70 -- python/pykde/doc/classref/kresources/KRES.html | 41 - python/pykde/doc/classref/kresources/index.html | 42 - .../classref/kspell/KDictSpellingHighlighter.html | 168 --- python/pykde/doc/classref/kspell/KSpell.html | 408 ------- python/pykde/doc/classref/kspell/KSpellConfig.html | 211 ---- python/pykde/doc/classref/kspell/KSpellDlg.html | 158 --- .../doc/classref/kspell/KSpellingHighlighter.html | 86 -- .../doc/classref/kspell/KSyntaxHighlighter.html | 65 -- python/pykde/doc/classref/kspell/index.html | 41 - .../pykde/doc/classref/kspell/kspell-globals.html | 38 - .../doc/classref/kutils/KCModuleContainer.html | 74 -- python/pykde/doc/classref/kutils/KCModuleInfo.html | 219 ---- .../pykde/doc/classref/kutils/KCModuleLoader.html | 135 --- .../pykde/doc/classref/kutils/KCModuleProxy.html | 182 ---- .../pykde/doc/classref/kutils/KCMultiDialog.html | 135 --- python/pykde/doc/classref/kutils/KFind.html | 222 ---- python/pykde/doc/classref/kutils/KFindDialog.html | 188 ---- python/pykde/doc/classref/kutils/KMultiTabBar.html | 163 --- .../doc/classref/kutils/KMultiTabBarButton.html | 120 -- .../pykde/doc/classref/kutils/KMultiTabBarTab.html | 139 --- python/pykde/doc/classref/kutils/KPluginInfo.html | 213 ---- .../pykde/doc/classref/kutils/KPluginSelector.html | 105 -- python/pykde/doc/classref/kutils/KReplace.html | 143 --- .../pykde/doc/classref/kutils/KReplaceDialog.html | 97 -- python/pykde/doc/classref/kutils/index.html | 47 - python/pykde/doc/dcopext.html | 378 ------- python/pykde/doc/examples.html | 125 --- python/pykde/doc/images/kdcop1.png | Bin 28836 -> 0 bytes python/pykde/doc/images/kdcop2.png | Bin 6264 -> 0 bytes python/pykde/doc/images/khtmlpart.png | Bin 72815 -> 0 bytes python/pykde/doc/images/mimetype.png | Bin 24439 -> 0 bytes python/pykde/doc/images/uisampler.png | Bin 54104 -> 0 bytes python/pykde/doc/index.html | 139 --- python/pykde/doc/index1.html | 82 -- python/pykde/doc/install.html | 181 --- python/pykde/doc/kde.css | 8 - python/pykde/doc/libpythonize.html | 224 ---- python/pykde/doc/limits.html | 427 -------- python/pykde/doc/signal.html | 290 ----- python/pykde/doc/static.html | 183 ---- python/pykde/doc/switches.html | 253 ----- python/pykde/doc/trouble.html | 337 ------ python/pykde/examples/README | 17 - python/pykde/examples/aboutkde.png | Bin 33856 -> 0 bytes python/pykde/examples/astron.png | Bin 32329 -> 0 bytes python/pykde/examples/example_dcopexport.py | 136 --- python/pykde/examples/example_dcopext.py | 135 --- python/pykde/examples/kdeform1.ui | 335 ------ python/pykde/examples/kdeform1.ui.h | 13 - python/pykde/examples/kpartgui.dtd | 122 --- python/pykde/examples/kurldemo.py | 98 -- python/pykde/examples/menudemo.py | 291 ----- python/pykde/examples/mimetype.py | 269 ----- python/pykde/examples/pyKHTMLPart.py | 214 ---- python/pykde/examples/pykde-sampler/HOWTO.samples | 60 - python/pykde/examples/pykde-sampler/TODO | 12 - python/pykde/examples/pykde-sampler/__init__.py | 1 - python/pykde/examples/pykde-sampler/about.py | 57 - .../pykde-sampler/basic_widgets/__init__.py | 17 - .../pykde-sampler/basic_widgets/datepicker.py | 42 - .../pykde-sampler/basic_widgets/historycombo.py | 53 - .../pykde/examples/pykde-sampler/contributors.txt | 4 - .../examples/pykde-sampler/dialogs/__init__.py | 18 - .../pykde-sampler/dialogs/about/__init__.py | 16 - .../pykde-sampler/dialogs/about/aboutapp.py | 29 - .../pykde-sampler/dialogs/about/aboutkde.py | 28 - .../examples/pykde-sampler/dialogs/bugreport.py | 34 - .../pykde/examples/pykde-sampler/dialogs/color.py | 42 - .../pykde/examples/pykde-sampler/dialogs/config.py | 59 - .../pykde/examples/pykde-sampler/dialogs/edfind.py | 52 - .../examples/pykde-sampler/dialogs/edreplace.py | 52 - .../pykde/examples/pykde-sampler/dialogs/font.py | 53 - .../pykde/examples/pykde-sampler/dialogs/input.py | 87 -- python/pykde/examples/pykde-sampler/dialogs/key.py | 29 - .../pykde/examples/pykde-sampler/dialogs/msgbox.py | 141 --- .../pykde/examples/pykde-sampler/dialogs/passwd.py | 34 - .../examples/pykde-sampler/dialogs/progress.py | 39 - python/pykde/examples/pykde-sampler/dialogs/tip.py | 31 - python/pykde/examples/pykde-sampler/dialogs/tips | 24 - python/pykde/examples/pykde-sampler/gen_todo.py | 19 - .../pykde-sampler/icon_handling/__init__.py | 18 - .../examples/pykde-sampler/icon_handling/misc.py | 31 - .../examples/pykde-sampler/icon_handling/sizes.py | 30 - python/pykde/examples/pykde-sampler/lib.py | 105 -- .../pykde/examples/pykde-sampler/misc/__init__.py | 16 - .../examples/pykde-sampler/misc/gradientselect.py | 51 - .../examples/pykde-sampler/misc/passivepop.py | 43 - .../examples/pykde-sampler/misc/window_info.py | 35 - .../examples/pykde-sampler/qt_widgets/CONTRIB | 537 --------- .../examples/pykde-sampler/qt_widgets/__init__.py | 17 - .../examples/pykde-sampler/qt_widgets/table.py | 42 - python/pykde/examples/pykde-sampler/runner.py | 58 - python/pykde/examples/pykde-sampler/sampler.py | 423 ------- python/pykde/examples/pykde-sampler/sampler.rc | 13 - .../examples/pykde-sampler/wizards/__init__.py | 2 - python/pykde/examples/pykde-sampler/wizards/wiz.py | 2 - .../pykde/examples/pykde-sampler/xwin/__init__.py | 18 - python/pykde/examples/pytestimage.png | Bin 36986 -> 0 bytes python/pykde/examples/qxembed_example.png | Bin 22146 -> 0 bytes python/pykde/examples/qxembedexample.py | 79 -- python/pykde/examples/qxembedexample.ui | 150 --- python/pykde/examples/systray.py | 54 - python/pykde/examples/uikmdi.py | 203 ---- python/pykde/examples/uikmdi.rc | 11 - python/pykde/examples/uimodules/uidialogs.py | 232 ---- python/pykde/examples/uimodules/uimenus.py | 108 -- python/pykde/examples/uimodules/uimisc.py | 239 ---- python/pykde/examples/uimodules/uiwidgets.py | 754 ------------- python/pykde/examples/uimodules/uixml.py | 45 - python/pykde/examples/uiqxembed.py | 119 -- python/pykde/examples/uisampler.py | 227 ---- python/pykde/examples/xmlmenudemo.py | 291 ----- python/pykde/examples/xmlmenudemoui.rc | 49 - python/pykde/extensions/dcopexport.py | 196 ---- python/pykde/extensions/dcopext.py | 721 ------------ python/pykde/extra/kde300/kaccelaction.h | 202 ---- python/pykde/extra/kde300/kaccelbase.h | 233 ---- python/pykde/extra/kde300/kicontheme.h | 217 ---- python/pykde/extra/kde300/kkeyserver_x11.h | 131 --- python/pykde/extra/kde300/konsole_part.h | 223 ---- python/pykde/extra/kde300/krecentdirs.h | 68 -- python/pykde/extra/kde300/ksycocafactory.h | 135 --- python/pykde/extra/kde300/ktoolbarbutton.h | 306 ------ python/pykde/extra/kde300/kurifilter.h | 593 ---------- python/pykde/extra/kde301/kaccelaction.h | 202 ---- python/pykde/extra/kde301/kaccelbase.h | 233 ---- python/pykde/extra/kde301/kicontheme.h | 217 ---- python/pykde/extra/kde301/kkeyserver_x11.h | 131 --- python/pykde/extra/kde301/konsole_part.h | 223 ---- python/pykde/extra/kde301/krecentdirs.h | 68 -- python/pykde/extra/kde301/ksycocafactory.h | 135 --- python/pykde/extra/kde301/ktoolbarbutton.h | 313 ------ python/pykde/extra/kde301/kurifilter.h | 593 ---------- python/pykde/extra/kde303/kaccelaction.h | 202 ---- python/pykde/extra/kde303/kaccelbase.h | 233 ---- python/pykde/extra/kde303/kicontheme.h | 217 ---- python/pykde/extra/kde303/kkeyserver_x11.h | 131 --- python/pykde/extra/kde303/konsole_part.h | 223 ---- python/pykde/extra/kde303/krecentdirs.h | 68 -- python/pykde/extra/kde303/ksycocafactory.h | 135 --- python/pykde/extra/kde303/ktoolbarbutton.h | 313 ------ python/pykde/extra/kde303/kurifilter.h | 593 ---------- python/pykde/extra/kde310/kaccelaction.h | 564 ---------- python/pykde/extra/kde310/kaccelbase.h | 229 ---- python/pykde/extra/kde310/kicontheme.h | 331 ------ python/pykde/extra/kde310/kkeyserver_x11.h | 435 -------- python/pykde/extra/kde310/konsole_part.h | 223 ---- python/pykde/extra/kde310/kpanelmenu.h | 181 --- python/pykde/extra/kde310/krecentdirs.h | 68 -- python/pykde/extra/kde310/ksycocafactory.h | 137 --- python/pykde/extra/kde310/ktoolbarbutton.h | 317 ------ python/pykde/extra/kde310/kurifilter.h | 602 ---------- python/pykde/extra/kde311/kaccelaction.h | 564 ---------- python/pykde/extra/kde311/kaccelbase.h | 229 ---- python/pykde/extra/kde311/kicontheme.h | 331 ------ python/pykde/extra/kde311/kkeyserver_x11.h | 435 -------- python/pykde/extra/kde311/konsole_part.h | 223 ---- python/pykde/extra/kde311/kpanelmenu.h | 177 --- python/pykde/extra/kde311/krecentdirs.h | 68 -- python/pykde/extra/kde311/ksycocafactory.h | 137 --- python/pykde/extra/kde311/ktoolbarbutton.h | 317 ------ python/pykde/extra/kde311/kurifilter.h | 602 ---------- python/pykde/extra/kde312/kaccelaction.h | 564 ---------- python/pykde/extra/kde312/kaccelbase.h | 229 ---- python/pykde/extra/kde312/kicontheme.h | 331 ------ python/pykde/extra/kde312/kkeyserver_x11.h | 435 -------- python/pykde/extra/kde312/konsole_part.h | 223 ---- python/pykde/extra/kde312/kpanelmenu.h | 181 --- python/pykde/extra/kde312/krecentdirs.h | 68 -- python/pykde/extra/kde312/ksycocafactory.h | 137 --- python/pykde/extra/kde312/ktoolbarbutton.h | 317 ------ python/pykde/extra/kde312/kurifilter.h | 602 ---------- python/pykde/extra/kde313/kaccelaction.h | 564 ---------- python/pykde/extra/kde313/kaccelbase.h | 229 ---- python/pykde/extra/kde313/kicontheme.h | 331 ------ python/pykde/extra/kde313/kkeyserver_x11.h | 435 -------- python/pykde/extra/kde313/konsole_part.h | 223 ---- python/pykde/extra/kde313/kpanelmenu.h | 181 --- python/pykde/extra/kde313/krecentdirs.h | 68 -- python/pykde/extra/kde313/ksycocafactory.h | 137 --- python/pykde/extra/kde313/ktoolbarbutton.h | 317 ------ python/pykde/extra/kde313/kurifilter.h | 602 ---------- python/pykde/extra/kde314/kaccelaction.h | 564 ---------- python/pykde/extra/kde314/kaccelbase.h | 229 ---- python/pykde/extra/kde314/kicontheme.h | 331 ------ python/pykde/extra/kde314/kkeyserver_x11.h | 435 -------- python/pykde/extra/kde314/konsole_part.h | 223 ---- python/pykde/extra/kde314/kpanelmenu.h | 181 --- python/pykde/extra/kde314/krecentdirs.h | 68 -- python/pykde/extra/kde314/ksycocafactory.h | 137 --- python/pykde/extra/kde314/ktoolbarbutton.h | 317 ------ python/pykde/extra/kde314/kurifilter.h | 602 ---------- python/pykde/extra/kde315/kaccelaction.h | 564 ---------- python/pykde/extra/kde315/kaccelbase.h | 229 ---- python/pykde/extra/kde315/kicontheme.h | 331 ------ python/pykde/extra/kde315/kkeyserver_x11.h | 435 -------- python/pykde/extra/kde315/konsole_part.h | 223 ---- python/pykde/extra/kde315/kpanelmenu.h | 181 --- python/pykde/extra/kde315/krecentdirs.h | 68 -- python/pykde/extra/kde315/ksycocafactory.h | 137 --- python/pykde/extra/kde315/ktoolbarbutton.h | 317 ------ python/pykde/extra/kde315/kurifilter.h | 602 ---------- python/pykde/extra/kde320/configwidget.h | 58 - python/pykde/extra/kde320/kaccelaction.h | 564 ---------- python/pykde/extra/kde320/kaccelbase.h | 230 ---- python/pykde/extra/kde320/kicontheme.h | 334 ------ python/pykde/extra/kde320/kkeyserver_x11.h | 433 -------- python/pykde/extra/kde320/konsole_part.h | 223 ---- python/pykde/extra/kde320/kpanelmenu.h | 181 --- python/pykde/extra/kde320/krecentdirs.h | 68 -- python/pykde/extra/kde320/ksharedptr.h | 171 --- python/pykde/extra/kde320/ksycocafactory.h | 143 --- python/pykde/extra/kde320/ktoolbarbutton.h | 315 ------ python/pykde/extra/kde320/kurifilter.h | 644 ----------- python/pykde/extra/kde320/selectdialog.h | 87 -- python/pykde/extra/kde321/configwidget.h | 58 - python/pykde/extra/kde321/kaccelaction.h | 564 ---------- python/pykde/extra/kde321/kaccelbase.h | 230 ---- python/pykde/extra/kde321/kicontheme.h | 334 ------ python/pykde/extra/kde321/kkeyserver_x11.h | 433 -------- python/pykde/extra/kde321/konsole_part.h | 223 ---- python/pykde/extra/kde321/kpanelmenu.h | 181 --- python/pykde/extra/kde321/krecentdirs.h | 68 -- python/pykde/extra/kde321/ksharedptr.h | 171 --- python/pykde/extra/kde321/ksycocafactory.h | 143 --- python/pykde/extra/kde321/ktoolbarbutton.h | 315 ------ python/pykde/extra/kde321/kurifilter.h | 644 ----------- python/pykde/extra/kde321/selectdialog.h | 87 -- python/pykde/extra/kde322/configwidget.h | 58 - python/pykde/extra/kde322/kaccelaction.h | 564 ---------- python/pykde/extra/kde322/kaccelbase.h | 230 ---- python/pykde/extra/kde322/kicontheme.h | 334 ------ python/pykde/extra/kde322/kkeyserver_x11.h | 433 -------- python/pykde/extra/kde322/konsole_part.h | 223 ---- python/pykde/extra/kde322/kpanelmenu.h | 181 --- python/pykde/extra/kde322/krecentdirs.h | 68 -- python/pykde/extra/kde322/ksharedptr.h | 171 --- python/pykde/extra/kde322/ksycocafactory.h | 143 --- python/pykde/extra/kde322/ktoolbarbutton.h | 315 ------ python/pykde/extra/kde322/kurifilter.h | 644 ----------- python/pykde/extra/kde322/selectdialog.h | 87 -- python/pykde/extra/kde323/configwidget.h | 58 - python/pykde/extra/kde323/kaccelaction.h | 564 ---------- python/pykde/extra/kde323/kaccelbase.h | 230 ---- python/pykde/extra/kde323/kicontheme.h | 334 ------ python/pykde/extra/kde323/kkeyserver_x11.h | 433 -------- python/pykde/extra/kde323/konsole_part.h | 223 ---- python/pykde/extra/kde323/kpanelmenu.h | 181 --- python/pykde/extra/kde323/krecentdirs.h | 68 -- python/pykde/extra/kde323/ksharedptr.h | 171 --- python/pykde/extra/kde323/ksycocafactory.h | 143 --- python/pykde/extra/kde323/ktoolbarbutton.h | 315 ------ python/pykde/extra/kde323/kurifilter.h | 644 ----------- python/pykde/extra/kde323/selectdialog.h | 87 -- python/pykde/extra/kde330/configwidget.h | 58 - python/pykde/extra/kde330/kaccelaction.h | 564 ---------- python/pykde/extra/kde330/kaccelbase.h | 230 ---- python/pykde/extra/kde330/kicontheme.h | 336 ------ python/pykde/extra/kde330/kkeyserver_x11.h | 433 -------- python/pykde/extra/kde330/konsole_part.h | 229 ---- python/pykde/extra/kde330/kpanelmenu.h | 181 --- python/pykde/extra/kde330/krecentdirs.h | 68 -- python/pykde/extra/kde330/ksharedptr.h | 175 --- python/pykde/extra/kde330/ksycocafactory.h | 143 --- python/pykde/extra/kde330/ktoolbarbutton.h | 315 ------ python/pykde/extra/kde330/kurifilter.h | 644 ----------- python/pykde/extra/kde330/selectdialog.h | 87 -- python/pykde/extra/kde331/configwidget.h | 58 - python/pykde/extra/kde331/kaccelaction.h | 564 ---------- python/pykde/extra/kde331/kaccelbase.h | 230 ---- python/pykde/extra/kde331/kicontheme.h | 338 ------ python/pykde/extra/kde331/kkeyserver_x11.h | 433 -------- python/pykde/extra/kde331/konsole_part.h | 229 ---- python/pykde/extra/kde331/kpanelmenu.h | 181 --- python/pykde/extra/kde331/krecentdirs.h | 68 -- python/pykde/extra/kde331/ksharedptr.h | 175 --- python/pykde/extra/kde331/ksycocafactory.h | 143 --- python/pykde/extra/kde331/ktoolbarbutton.h | 315 ------ python/pykde/extra/kde331/kurifilter.h | 644 ----------- python/pykde/extra/kde331/selectdialog.h | 87 -- python/pykde/extra/kde332/configwidget.h | 58 - python/pykde/extra/kde332/kaccelaction.h | 564 ---------- python/pykde/extra/kde332/kaccelbase.h | 230 ---- python/pykde/extra/kde332/kicontheme.h | 338 ------ python/pykde/extra/kde332/kkeyserver_x11.h | 433 -------- python/pykde/extra/kde332/konsole_part.h | 229 ---- python/pykde/extra/kde332/kpanelmenu.h | 181 --- python/pykde/extra/kde332/krecentdirs.h | 68 -- python/pykde/extra/kde332/ksharedptr.h | 175 --- python/pykde/extra/kde332/ksycocafactory.h | 143 --- python/pykde/extra/kde332/ktoolbarbutton.h | 315 ------ python/pykde/extra/kde332/kurifilter.h | 644 ----------- python/pykde/extra/kde332/selectdialog.h | 87 -- python/pykde/extra/kde340/configwidget.h | 58 - python/pykde/extra/kde340/kaccelaction.h | 564 ---------- python/pykde/extra/kde340/kaccelbase.h | 229 ---- python/pykde/extra/kde340/kicontheme.h | 355 ------ python/pykde/extra/kde340/kkeyserver.h | 29 - python/pykde/extra/kde340/kkeyserver_x11.h | 461 -------- python/pykde/extra/kde340/konsole_part.h | 228 ---- python/pykde/extra/kde340/kpanelmenu.h | 182 ---- python/pykde/extra/kde340/krecentdirs.h | 70 -- python/pykde/extra/kde340/ksharedptr.h | 175 --- python/pykde/extra/kde340/ksycocafactory.h | 143 --- python/pykde/extra/kde340/ktoolbarbutton.h | 329 ------ python/pykde/extra/kde340/kurifilter.h | 647 ----------- python/pykde/extra/kde340/selectdialog.h | 87 -- python/pykde/extra/kde341/configwidget.h | 58 - python/pykde/extra/kde341/kaccelaction.h | 564 ---------- python/pykde/extra/kde341/kaccelbase.h | 229 ---- python/pykde/extra/kde341/kicontheme.h | 355 ------ python/pykde/extra/kde341/kkeyserver.h | 29 - python/pykde/extra/kde341/kkeyserver_x11.h | 461 -------- python/pykde/extra/kde341/konsole_part.h | 228 ---- python/pykde/extra/kde341/kpanelmenu.h | 182 ---- python/pykde/extra/kde341/krecentdirs.h | 70 -- python/pykde/extra/kde341/ksharedptr.h | 175 --- python/pykde/extra/kde341/ksycocafactory.h | 143 --- python/pykde/extra/kde341/ktoolbarbutton.h | 329 ------ python/pykde/extra/kde341/kurifilter.h | 647 ----------- python/pykde/extra/kde341/selectdialog.h | 87 -- python/pykde/extra/kde342/configwidget.h | 58 - python/pykde/extra/kde342/kaccelaction.h | 564 ---------- python/pykde/extra/kde342/kaccelbase.h | 229 ---- python/pykde/extra/kde342/kicontheme.h | 355 ------ python/pykde/extra/kde342/kkeyserver.h | 29 - python/pykde/extra/kde342/kkeyserver_x11.h | 469 -------- python/pykde/extra/kde342/konsole_part.h | 228 ---- python/pykde/extra/kde342/kpanelmenu.h | 182 ---- python/pykde/extra/kde342/krecentdirs.h | 70 -- python/pykde/extra/kde342/ksharedptr.h | 175 --- python/pykde/extra/kde342/ksycocafactory.h | 143 --- python/pykde/extra/kde342/ktoolbarbutton.h | 329 ------ python/pykde/extra/kde342/kurifilter.h | 647 ----------- python/pykde/extra/kde342/selectdialog.h | 87 -- python/pykde/extra/kde343/configwidget.h | 58 - python/pykde/extra/kde343/kaccelaction.h | 564 ---------- python/pykde/extra/kde343/kaccelbase.h | 229 ---- python/pykde/extra/kde343/kicontheme.h | 355 ------ python/pykde/extra/kde343/kkeyserver.h | 29 - python/pykde/extra/kde343/kkeyserver_x11.h | 469 -------- python/pykde/extra/kde343/konsole_part.h | 228 ---- python/pykde/extra/kde343/kpanelmenu.h | 182 ---- python/pykde/extra/kde343/krecentdirs.h | 70 -- python/pykde/extra/kde343/ksharedptr.h | 175 --- python/pykde/extra/kde343/ksycocafactory.h | 143 --- python/pykde/extra/kde343/ktoolbarbutton.h | 329 ------ python/pykde/extra/kde343/kurifilter.h | 647 ----------- python/pykde/extra/kde343/selectdialog.h | 87 -- python/pykde/extra/kde350/configwidget.h | 58 - python/pykde/extra/kde350/kaccelaction.h | 576 ---------- python/pykde/extra/kde350/kaccelbase.h | 260 ----- python/pykde/extra/kde350/kicontheme.h | 355 ------ python/pykde/extra/kde350/kkeyserver.h | 29 - python/pykde/extra/kde350/kkeyserver_x11.h | 477 -------- python/pykde/extra/kde350/konsole_part.h | 241 ---- python/pykde/extra/kde350/kpanelmenu.h | 182 ---- python/pykde/extra/kde350/krecentdirs.h | 70 -- python/pykde/extra/kde350/ksharedptr.h | 175 --- python/pykde/extra/kde350/ksycocafactory.h | 143 --- python/pykde/extra/kde350/ktoolbarbutton.h | 330 ------ python/pykde/extra/kde350/kurifilter.h | 647 ----------- python/pykde/extra/kde350/selectdialog.h | 87 -- python/pykde/extra/kde351/kaccelaction.h | 576 ---------- python/pykde/extra/kde351/kaccelbase.h | 260 ----- python/pykde/extra/kde351/kicontheme.h | 355 ------ python/pykde/extra/kde351/kkeyserver.h | 29 - python/pykde/extra/kde351/kkeyserver_x11.h | 477 -------- python/pykde/extra/kde351/konsole_part.h | 241 ---- python/pykde/extra/kde351/kpanelmenu.h | 182 ---- python/pykde/extra/kde351/ksharedptr.h | 175 --- python/pykde/extra/kde351/ksycocafactory.h | 143 --- python/pykde/extra/kde351/ktoolbarbutton.h | 330 ------ python/pykde/extra/kde351/kurifilter.h | 647 ----------- python/pykde/extra/kde352/kaccelaction.h | 576 ---------- python/pykde/extra/kde352/kaccelbase.h | 260 ----- python/pykde/extra/kde352/kicontheme.h | 355 ------ python/pykde/extra/kde352/kkeyserver.h | 29 - python/pykde/extra/kde352/kkeyserver_x11.h | 477 -------- python/pykde/extra/kde352/konsole_part.h | 241 ---- python/pykde/extra/kde352/kpanelmenu.h | 182 ---- python/pykde/extra/kde352/ksharedptr.h | 175 --- python/pykde/extra/kde352/ksycocafactory.h | 143 --- python/pykde/extra/kde352/ktoolbarbutton.h | 330 ------ python/pykde/extra/kde352/kurifilter.h | 647 ----------- python/pykde/extra/kde353/kaccelaction.h | 576 ---------- python/pykde/extra/kde353/kaccelbase.h | 260 ----- python/pykde/extra/kde353/kicontheme.h | 355 ------ python/pykde/extra/kde353/kkeyserver.h | 29 - python/pykde/extra/kde353/kkeyserver_x11.h | 477 -------- python/pykde/extra/kde353/konsole_part.h | 241 ---- python/pykde/extra/kde353/kpanelmenu.h | 182 ---- python/pykde/extra/kde353/ksharedptr.h | 175 --- python/pykde/extra/kde353/ksycocafactory.h | 143 --- python/pykde/extra/kde353/ktoolbarbutton.h | 330 ------ python/pykde/extra/kde353/kurifilter.h | 647 ----------- python/pykde/importTest.py | 22 - python/pykde/postproc | 520 --------- python/pykde/pykde350.prj | 495 --------- python/pykde/pykde351.prj | 495 --------- python/pykde/pykde352.prj | 495 --------- python/pykde/pykdeconfig.py.in | 207 ---- python/pykde/sip/dcop/dcopclient.sip | 175 --- python/pykde/sip/dcop/dcopmod.sip | 42 - python/pykde/sip/dcop/dcopmod.sip.in | 43 - python/pykde/sip/dcop/dcopobject.sip | 82 -- python/pykde/sip/dcop/dcopref.sip | 109 -- python/pykde/sip/dcop/dcopstub.sip | 68 -- python/pykde/sip/dcop/typedefs.sip | 108 -- python/pykde/sip/glossary.html | 40 - python/pykde/sip/kabc/address.sip | 150 --- python/pykde/sip/kabc/addressbook.sip | 230 ---- python/pykde/sip/kabc/addressee.sip | 470 -------- python/pykde/sip/kabc/addresseedialog.sip | 75 -- python/pykde/sip/kabc/addresseelist.sip | 122 --- python/pykde/sip/kabc/addresslineedit.sip | 66 -- python/pykde/sip/kabc/agent.sip | 58 - python/pykde/sip/kabc/distributionlist.sip | 177 --- python/pykde/sip/kabc/distributionlistdialog.sip | 74 -- python/pykde/sip/kabc/distributionlisteditor.sip | 47 - python/pykde/sip/kabc/errorhandler.sip | 97 -- python/pykde/sip/kabc/field.sip | 162 --- python/pykde/sip/kabc/format.sip | 43 - python/pykde/sip/kabc/formatfactory.sip | 74 -- python/pykde/sip/kabc/formatplugin.sip | 50 - python/pykde/sip/kabc/geo.sip | 61 -- python/pykde/sip/kabc/kabc-kde310.diff | 17 - python/pykde/sip/kabc/kabc-kde311.diff | 17 - python/pykde/sip/kabc/kabc-kde312.diff | 17 - python/pykde/sip/kabc/kabc-kde313.diff | 17 - python/pykde/sip/kabc/kabc-kde314.diff | 17 - python/pykde/sip/kabc/kabc-kde320.diff | 21 - python/pykde/sip/kabc/kabc-kde322.diff | 21 - python/pykde/sip/kabc/kabc-kde323.diff | 21 - python/pykde/sip/kabc/kabc-kde330.diff | 24 - python/pykde/sip/kabc/kabc-kde331.diff | 24 - python/pykde/sip/kabc/kabc-kde332.diff | 24 - python/pykde/sip/kabc/kabc-kde340.diff | 25 - python/pykde/sip/kabc/kabc-kde341.diff | 25 - python/pykde/sip/kabc/kabc-kde342.diff | 25 - python/pykde/sip/kabc/kabc-kde343.diff | 25 - python/pykde/sip/kabc/kabc-kde350.diff | 25 - python/pykde/sip/kabc/kabc-kde351.diff | 25 - python/pykde/sip/kabc/kabc-kde352.diff | 25 - python/pykde/sip/kabc/kabc-kde353.diff | 25 - python/pykde/sip/kabc/kabcmod.sip | 78 -- python/pykde/sip/kabc/kabcmod.sip.in | 55 - python/pykde/sip/kabc/key.sip | 144 --- python/pykde/sip/kabc/ldapclient.sip | 245 ----- python/pykde/sip/kabc/ldapconfigwidget.sip | 105 -- python/pykde/sip/kabc/ldapurl.sip | 85 -- python/pykde/sip/kabc/ldif.sip | 99 -- python/pykde/sip/kabc/ldifconverter.sip | 78 -- python/pykde/sip/kabc/lock.sip | 57 - python/pykde/sip/kabc/locknull.sip | 49 - python/pykde/sip/kabc/phonenumber.sip | 191 ---- python/pykde/sip/kabc/picture.sip | 60 - python/pykde/sip/kabc/plugin.sip | 52 - python/pykde/sip/kabc/resource.sip | 160 --- python/pykde/sip/kabc/resourcefile.sip | 176 --- python/pykde/sip/kabc/resourceselectdialog.sip | 55 - python/pykde/sip/kabc/secrecy.sip | 92 -- python/pykde/sip/kabc/sortmode.sip | 83 -- python/pykde/sip/kabc/sound.sip | 63 -- python/pykde/sip/kabc/stdaddressbook.sip | 111 -- python/pykde/sip/kabc/timezone.sip | 59 - python/pykde/sip/kabc/vcardconverter.sip | 74 -- python/pykde/sip/kabc/vcardformat.sip | 44 - python/pykde/sip/kabc/vcardformatplugin.sip | 51 - python/pykde/sip/kdecore/bytearray.sip | 812 -------------- python/pykde/sip/kdecore/fixx11h.sip | 30 - python/pykde/sip/kdecore/kaboutdata.sip | 301 ----- python/pykde/sip/kdecore/kaccel.sip | 239 ---- python/pykde/sip/kdecore/kaccelaction.sip | 121 --- python/pykde/sip/kdecore/kaccelbase.sip | 102 -- python/pykde/sip/kdecore/kallocator.sip | 48 - python/pykde/sip/kdecore/kapplication.sip | 449 -------- python/pykde/sip/kdecore/kasyncio.sip | 52 - python/pykde/sip/kdecore/kaudioplayer.sip | 42 - python/pykde/sip/kdecore/kbufferedio.sip | 73 -- python/pykde/sip/kdecore/kcalendarsystem.sip | 78 -- .../pykde/sip/kdecore/kcalendarsystemfactory.sip | 44 - python/pykde/sip/kdecore/kcatalogue.sip | 64 -- python/pykde/sip/kdecore/kcharsets.sip | 62 -- python/pykde/sip/kdecore/kclipboard.sip | 52 - python/pykde/sip/kdecore/kcmdlineargs.sip | 264 ----- python/pykde/sip/kdecore/kcompletion.sip | 228 ---- python/pykde/sip/kdecore/kconfig.sip | 234 ---- python/pykde/sip/kdecore/kconfigbackend.sip | 93 -- python/pykde/sip/kdecore/kconfigbase.sip | 333 ------ python/pykde/sip/kdecore/kconfigdata.sip | 176 --- python/pykde/sip/kdecore/kconfigdialogmanager.sip | 64 -- python/pykde/sip/kdecore/kconfigskeleton.sip | 1149 -------------------- python/pykde/sip/kdecore/kcrash.sip | 51 - python/pykde/sip/kdecore/kdcoppropertyproxy.sip | 44 - python/pykde/sip/kdecore/kdebug.sip | 67 -- python/pykde/sip/kdecore/kdecore-kde310.diff | 1 - python/pykde/sip/kdecore/kdecore-kde311.diff | 1 - python/pykde/sip/kdecore/kdecore-kde312.diff | 1 - python/pykde/sip/kdecore/kdecore-kde313.diff | 1 - python/pykde/sip/kdecore/kdecore-kde314.diff | 3 - python/pykde/sip/kdecore/kdecore-kde315.diff | 3 - python/pykde/sip/kdecore/kdecore-kde320.diff | 16 - python/pykde/sip/kdecore/kdecore-kde321.diff | 12 - python/pykde/sip/kdecore/kdecore-kde322.diff | 13 - python/pykde/sip/kdecore/kdecore-kde323.diff | 13 - python/pykde/sip/kdecore/kdecore-kde330.diff | 15 - python/pykde/sip/kdecore/kdecore-kde331.diff | 15 - python/pykde/sip/kdecore/kdecore-kde332.diff | 15 - python/pykde/sip/kdecore/kdecore-kde340.diff | 15 - python/pykde/sip/kdecore/kdecore-kde341.diff | 15 - python/pykde/sip/kdecore/kdecore-kde342.diff | 15 - python/pykde/sip/kdecore/kdecore-kde343.diff | 15 - python/pykde/sip/kdecore/kdecore-kde350.diff | 16 - python/pykde/sip/kdecore/kdecore-kde351.diff | 16 - python/pykde/sip/kdecore/kdecore-kde352.diff | 16 - python/pykde/sip/kdecore/kdecore-kde353.diff | 16 - python/pykde/sip/kdecore/kdecoremod.sip.in | 99 -- python/pykde/sip/kdecore/kdesktopfile.sip | 85 -- python/pykde/sip/kdecore/kdesktopwidget.sip | 45 - python/pykde/sip/kdecore/kdestyle.sip | 108 -- python/pykde/sip/kdecore/kdeversion.sip | 45 - python/pykde/sip/kdecore/kglobal.sip | 65 -- python/pykde/sip/kdecore/kglobalaccel.sip | 87 -- python/pykde/sip/kdecore/kglobalsettings.sip | 157 --- python/pykde/sip/kdecore/kiconeffect.sip | 102 -- python/pykde/sip/kdecore/kiconloader.sip | 92 -- python/pykde/sip/kdecore/kicontheme.sip | 249 ----- python/pykde/sip/kdecore/kidna.sip | 40 - python/pykde/sip/kdecore/kinstance.sip | 75 -- python/pykde/sip/kdecore/kipc.sip | 98 -- python/pykde/sip/kdecore/kkeynative.sip | 90 -- python/pykde/sip/kdecore/kkeyserver_x11.sip | 187 ---- python/pykde/sip/kdecore/klibloader.sip | 103 -- python/pykde/sip/kdecore/klocale.sip | 238 ---- python/pykde/sip/kdecore/klockfile.sip | 113 -- python/pykde/sip/kdecore/kmacroexpander.sip | 364 ------- python/pykde/sip/kdecore/kmanagerselection.sip | 91 -- python/pykde/sip/kdecore/kmdcodec.sip | 156 --- python/pykde/sip/kdecore/kmimesourcefactory.sip | 42 - python/pykde/sip/kdecore/kmountpoint.sip | 189 ---- python/pykde/sip/kdecore/kmultipledrag.sip | 58 - python/pykde/sip/kdecore/knotifyclient.sip | 139 --- python/pykde/sip/kdecore/kpalette.sip | 63 -- python/pykde/sip/kdecore/kpixmapprovider.sip | 41 - python/pykde/sip/kdecore/kprocctrl.sip | 95 -- python/pykde/sip/kdecore/kprocess.sip | 272 ----- python/pykde/sip/kdecore/kprocio.sip | 67 -- python/pykde/sip/kdecore/kpty.sip | 52 - python/pykde/sip/kdecore/krandomsequence.sip | 45 - python/pykde/sip/kdecore/kregexp.sip | 44 - python/pykde/sip/kdecore/krfcdate.sip | 42 - python/pykde/sip/kdecore/krootprop.sip | 52 - python/pykde/sip/kdecore/ksavefile.sip | 52 - python/pykde/sip/kdecore/ksharedptr.sip | 45 - python/pykde/sip/kdecore/kshell.sip | 77 -- python/pykde/sip/kdecore/kshortcut.sip | 261 ----- python/pykde/sip/kdecore/kshortcutlist.sip | 133 --- python/pykde/sip/kdecore/ksimpleconfig.sip | 50 - python/pykde/sip/kdecore/ksock.sip | 97 -- python/pykde/sip/kdecore/kstartupinfo.sip | 280 ----- python/pykde/sip/kdecore/kstaticdeleter.sip | 38 - python/pykde/sip/kdecore/kstdaccel.sip | 441 -------- python/pykde/sip/kdecore/kstddirs.sip | 64 -- python/pykde/sip/kdecore/kstringhandler.sip | 89 -- python/pykde/sip/kdecore/ktempdir.sip | 58 - python/pykde/sip/kdecore/ktempfile.sip | 58 - python/pykde/sip/kdecore/ktimezones.sip | 264 ----- python/pykde/sip/kdecore/kuniqueapplication.sip | 68 -- python/pykde/sip/kdecore/kurl.sip | 405 ------- python/pykde/sip/kdecore/kurldrag.sip | 76 -- python/pykde/sip/kdecore/kuser.sip | 74 -- python/pykde/sip/kdecore/kvmallocator.sip | 42 - python/pykde/sip/kdecore/kwin.sip | 188 ---- python/pykde/sip/kdecore/kwinmodule.sip | 159 --- python/pykde/sip/kdecore/kxmessages.sip | 55 - python/pykde/sip/kdecore/netwm.sip | 649 ----------- python/pykde/sip/kdecore/netwm_def.sip | 535 --------- python/pykde/sip/kdefx/kcpuinfo.sip | 52 - python/pykde/sip/kdefx/kdefx-kde320.diff | 1 - python/pykde/sip/kdefx/kdefx-kde321.diff | 1 - python/pykde/sip/kdefx/kdefx-kde322.diff | 1 - python/pykde/sip/kdefx/kdefx-kde323.diff | 1 - python/pykde/sip/kdefx/kdefx-kde330.diff | 1 - python/pykde/sip/kdefx/kdefx-kde331.diff | 1 - python/pykde/sip/kdefx/kdefx-kde332.diff | 1 - python/pykde/sip/kdefx/kdefx-kde340.diff | 1 - python/pykde/sip/kdefx/kdefx-kde341.diff | 1 - python/pykde/sip/kdefx/kdefx-kde342.diff | 1 - python/pykde/sip/kdefx/kdefx-kde343.diff | 1 - python/pykde/sip/kdefx/kdefx-kde350.diff | 1 - python/pykde/sip/kdefx/kdefx-kde351.diff | 1 - python/pykde/sip/kdefx/kdefx-kde352.diff | 1 - python/pykde/sip/kdefx/kdefx-kde353.diff | 1 - python/pykde/sip/kdefx/kdefxmod.sip | 41 - python/pykde/sip/kdefx/kdefxmod.sip.in | 41 - python/pykde/sip/kdefx/kdrawutil.sip | 41 - python/pykde/sip/kdefx/kimageeffect.sip | 205 ---- python/pykde/sip/kdefx/kpixmap.sip | 65 -- python/pykde/sip/kdefx/kpixmapeffect.sip | 85 -- python/pykde/sip/kdefx/kpixmapsplitter.sip | 46 - python/pykde/sip/kdefx/kstyle.sip | 126 --- python/pykde/sip/kdeprint/driver.sip | 338 ------ python/pykde/sip/kdeprint/kdeprint-kde310.diff | 2 - python/pykde/sip/kdeprint/kdeprint-kde311.diff | 2 - python/pykde/sip/kdeprint/kdeprint-kde312.diff | 2 - python/pykde/sip/kdeprint/kdeprint-kde313.diff | 2 - python/pykde/sip/kdeprint/kdeprint-kde314.diff | 2 - python/pykde/sip/kdeprint/kdeprint-kde315.diff | 2 - python/pykde/sip/kdeprint/kdeprint-kde320.diff | 2 - python/pykde/sip/kdeprint/kdeprint-kde321.diff | 2 - python/pykde/sip/kdeprint/kdeprint-kde322.diff | 2 - python/pykde/sip/kdeprint/kdeprint-kde323.diff | 2 - python/pykde/sip/kdeprint/kdeprint-kde330.diff | 2 - python/pykde/sip/kdeprint/kdeprint-kde331.diff | 2 - python/pykde/sip/kdeprint/kdeprint-kde332.diff | 2 - python/pykde/sip/kdeprint/kdeprint-kde340.diff | 2 - python/pykde/sip/kdeprint/kdeprint-kde341.diff | 2 - python/pykde/sip/kdeprint/kdeprint-kde342.diff | 2 - python/pykde/sip/kdeprint/kdeprint-kde343.diff | 2 - python/pykde/sip/kdeprint/kdeprint-kde350.diff | 2 - python/pykde/sip/kdeprint/kdeprint-kde351.diff | 2 - python/pykde/sip/kdeprint/kdeprint-kde352.diff | 2 - python/pykde/sip/kdeprint/kdeprint-kde353.diff | 2 - python/pykde/sip/kdeprint/kdeprintmod.sip | 48 - python/pykde/sip/kdeprint/kdeprintmod.sip.in | 47 - python/pykde/sip/kdeprint/kmjob.sip | 113 -- python/pykde/sip/kdeprint/kmjobmanager.sip | 198 ---- python/pykde/sip/kdeprint/kmmanager.sip | 221 ---- python/pykde/sip/kdeprint/kmobject.sip | 42 - python/pykde/sip/kdeprint/kmprinter.sip | 178 --- python/pykde/sip/kdeprint/kpreloadobject.sip | 43 - python/pykde/sip/kdeprint/kprintaction.sip | 61 -- python/pykde/sip/kdeprint/kprintdialog.sip | 170 --- python/pykde/sip/kdeprint/kprintdialogpage.sip | 52 - python/pykde/sip/kdeprint/kprinter.sip | 258 ----- python/pykde/sip/kdeui/kaboutapplication.sip | 205 ---- python/pykde/sip/kdeui/kaboutdialog.sip | 190 ---- python/pykde/sip/kdeui/kaboutkde.sip | 38 - python/pykde/sip/kdeui/kaccelmanager.sip | 43 - python/pykde/sip/kdeui/kaccelmenu.sip | 53 - python/pykde/sip/kdeui/kaction.sip | 759 ------------- python/pykde/sip/kdeui/kactionclasses.sip | 529 --------- python/pykde/sip/kdeui/kactioncollection.sip | 125 --- python/pykde/sip/kdeui/kactionselector.sip | 106 -- python/pykde/sip/kdeui/kactionshortcutlist.sip | 106 -- python/pykde/sip/kdeui/kactivelabel.sip | 58 - python/pykde/sip/kdeui/kalphapainter.sip | 41 - python/pykde/sip/kdeui/kanimwidget.sip | 92 -- python/pykde/sip/kdeui/karrowbutton.sip | 55 - python/pykde/sip/kdeui/kauthicon.sip | 101 -- python/pykde/sip/kdeui/kbugreport.sip | 54 - python/pykde/sip/kdeui/kbuttonbox.sip | 59 - python/pykde/sip/kdeui/kcharselect.sip | 130 --- python/pykde/sip/kdeui/kcmenumngr.sip | 43 - python/pykde/sip/kdeui/kcmodule.sip | 183 ---- python/pykde/sip/kdeui/kcolorbtn.sip | 54 - python/pykde/sip/kdeui/kcolorcombo.sip | 51 - python/pykde/sip/kdeui/kcolordialog.sip | 237 ---- python/pykde/sip/kdeui/kcolordrag.sip | 52 - python/pykde/sip/kdeui/kcombobox.sip | 130 --- python/pykde/sip/kdeui/kcommand.sip | 131 --- python/pykde/sip/kdeui/kcompletionbox.sip | 86 -- python/pykde/sip/kdeui/kconfigdialog.sip | 69 -- python/pykde/sip/kdeui/kcontainer.sip | 75 -- python/pykde/sip/kdeui/kcursor.sip | 57 - python/pykde/sip/kdeui/kdatepicker.sip | 108 -- python/pykde/sip/kdeui/kdatepik.sip | 64 -- python/pykde/sip/kdeui/kdatetbl.sip | 303 ------ python/pykde/sip/kdeui/kdatetimewidget.sip | 50 - python/pykde/sip/kdeui/kdatewidget.sip | 58 - python/pykde/sip/kdeui/kdbtn.sip | 61 -- python/pykde/sip/kdeui/kdcopactionproxy.sip | 48 - python/pykde/sip/kdeui/kdeui-kde310.diff | 4 - python/pykde/sip/kdeui/kdeui-kde311.diff | 4 - python/pykde/sip/kdeui/kdeui-kde312.diff | 4 - python/pykde/sip/kdeui/kdeui-kde313.diff | 4 - python/pykde/sip/kdeui/kdeui-kde314.diff | 4 - python/pykde/sip/kdeui/kdeui-kde315.diff | 4 - python/pykde/sip/kdeui/kdeui-kde320.diff | 13 - python/pykde/sip/kdeui/kdeui-kde321.diff | 13 - python/pykde/sip/kdeui/kdeui-kde322.diff | 13 - python/pykde/sip/kdeui/kdeui-kde323.diff | 14 - python/pykde/sip/kdeui/kdeui-kde330.diff | 16 - python/pykde/sip/kdeui/kdeui-kde331.diff | 16 - python/pykde/sip/kdeui/kdeui-kde332.diff | 16 - python/pykde/sip/kdeui/kdeui-kde340.diff | 21 - python/pykde/sip/kdeui/kdeui-kde341.diff | 21 - python/pykde/sip/kdeui/kdeui-kde342.diff | 21 - python/pykde/sip/kdeui/kdeui-kde343.diff | 21 - python/pykde/sip/kdeui/kdeui-kde350.diff | 23 - python/pykde/sip/kdeui/kdeui-kde351.diff | 23 - python/pykde/sip/kdeui/kdeui-kde352.diff | 23 - python/pykde/sip/kdeui/kdeui-kde353.diff | 23 - python/pykde/sip/kdeui/kdeuimod.sip.in | 123 --- python/pykde/sip/kdeui/kdialog.sip | 90 -- python/pykde/sip/kdeui/kdialogbase.sip | 283 ----- python/pykde/sip/kdeui/kdocktabctl.sip | 186 ---- python/pykde/sip/kdeui/kdockwidget.sip | 469 -------- python/pykde/sip/kdeui/kdockwindow.sip | 38 - python/pykde/sip/kdeui/kdualcolorbtn.sip | 73 -- python/pykde/sip/kdeui/kdualcolorbutton.sip | 74 -- python/pykde/sip/kdeui/keditcl.sip | 224 ---- python/pykde/sip/kdeui/keditlistbox.sip | 206 ---- python/pykde/sip/kdeui/kedittoolbar.sip | 156 --- python/pykde/sip/kdeui/kfontcombo.sip | 67 -- python/pykde/sip/kdeui/kfontdialog.sip | 184 ---- python/pykde/sip/kdeui/kfontrequester.sip | 63 -- python/pykde/sip/kdeui/kguiitem.sip | 57 - python/pykde/sip/kdeui/khelpmenu.sip | 63 -- python/pykde/sip/kdeui/kiconview.sip | 147 --- python/pykde/sip/kdeui/kiconviewsearchline.sip | 61 -- python/pykde/sip/kdeui/kinputdialog.sip | 66 -- python/pykde/sip/kdeui/kjanuswidget.sip | 110 -- python/pykde/sip/kdeui/kkeybutton.sip | 59 - python/pykde/sip/kdeui/kkeydialog.sip | 262 ----- python/pykde/sip/kdeui/klanguagebutton.sip | 60 - python/pykde/sip/kdeui/kled.sip | 97 -- python/pykde/sip/kdeui/klineedit.sip | 146 --- python/pykde/sip/kdeui/klineeditdlg.sip | 53 - python/pykde/sip/kdeui/klistbox.sip | 60 - python/pykde/sip/kdeui/klistview.sip | 337 ------ python/pykde/sip/kdeui/klistviewlineedit.sip | 51 - python/pykde/sip/kdeui/klistviewsearchline.sip | 84 -- python/pykde/sip/kdeui/kmainwindow.sip | 274 ----- python/pykde/sip/kdeui/kmainwindowiface.sip | 71 -- python/pykde/sip/kdeui/kmenubar.sip | 91 -- python/pykde/sip/kdeui/kmessagebox.sip | 260 ----- python/pykde/sip/kdeui/knuminput.sip | 261 ----- python/pykde/sip/kdeui/knumvalidator.sip | 89 -- python/pykde/sip/kdeui/kpanelapplet.sip | 140 --- python/pykde/sip/kdeui/kpanelappmenu.sip | 51 - python/pykde/sip/kdeui/kpanelextension.sip | 159 --- python/pykde/sip/kdeui/kpanelmenu.sip | 65 -- python/pykde/sip/kdeui/kpassdlg.sip | 138 --- python/pykde/sip/kdeui/kpassivepopup.sip | 112 -- python/pykde/sip/kdeui/kpixmapio.sip | 53 - .../sip/kdeui/kpixmapregionselectordialog.sip | 49 - .../sip/kdeui/kpixmapregionselectorwidget.sip | 60 - python/pykde/sip/kdeui/kpopupmenu.sip | 149 --- python/pykde/sip/kdeui/kprogress.sip | 102 -- python/pykde/sip/kdeui/kpushbutton.sip | 67 -- python/pykde/sip/kdeui/krestrictedline.sip | 49 - python/pykde/sip/kdeui/krootpixmap.sip | 71 -- python/pykde/sip/kdeui/kruler.sip | 108 -- python/pykde/sip/kdeui/kscrollview.sip | 53 - python/pykde/sip/kdeui/kselect.sip | 142 --- python/pykde/sip/kdeui/kseparator.sip | 48 - python/pykde/sip/kdeui/ksharedpixmap.sip | 62 -- python/pykde/sip/kdeui/kshortcutdialog.sip | 53 - python/pykde/sip/kdeui/ksplashscreen.sip | 42 - python/pykde/sip/kdeui/ksqueezedtextlabel.sip | 60 - python/pykde/sip/kdeui/kstatusbar.sip | 82 -- python/pykde/sip/kdeui/kstdaction.sip | 327 ------ python/pykde/sip/kdeui/kstdguiitem.sip | 352 ------ python/pykde/sip/kdeui/kstringvalidator.sip | 63 -- python/pykde/sip/kdeui/ksystemtray.sip | 84 -- python/pykde/sip/kdeui/ktabbar.sip | 98 -- python/pykde/sip/kdeui/ktabctl.sip | 64 -- python/pykde/sip/kdeui/ktabwidget.sip | 144 --- python/pykde/sip/kdeui/ktextbrowser.sip | 58 - python/pykde/sip/kdeui/ktextedit.sip | 83 -- python/pykde/sip/kdeui/kthemebase.sip | 258 ----- python/pykde/sip/kdeui/kthemestyle.sip | 89 -- python/pykde/sip/kdeui/ktimewidget.sip | 50 - python/pykde/sip/kdeui/ktimezonewidget.sip | 45 - python/pykde/sip/kdeui/ktip.sip | 82 -- python/pykde/sip/kdeui/ktmainwindow.sip | 53 - python/pykde/sip/kdeui/ktoolbar.sip | 263 ----- python/pykde/sip/kdeui/ktoolbarbutton.sip | 123 --- python/pykde/sip/kdeui/ktoolbarlabelaction.sip | 51 - python/pykde/sip/kdeui/ktoolbarradiogroup.sip | 43 - python/pykde/sip/kdeui/kurllabel.sip | 108 -- python/pykde/sip/kdeui/kwindowinfo.sip | 61 -- python/pykde/sip/kdeui/kwindowlistmenu.sip | 54 - python/pykde/sip/kdeui/kwizard.sip | 38 - python/pykde/sip/kdeui/kwordwrap.sip | 82 -- python/pykde/sip/kdeui/kxmlgui.sip | 26 - python/pykde/sip/kdeui/kxmlguibuilder.sip | 53 - python/pykde/sip/kdeui/kxmlguiclient.sip | 101 -- python/pykde/sip/kdeui/kxmlguifactory.sip | 300 ----- python/pykde/sip/kdeui/qxembed.sip | 113 -- python/pykde/sip/kfile/booktoken.sip | 66 -- python/pykde/sip/kfile/kcombiview.sip | 90 -- python/pykde/sip/kfile/kcustommenueditor.sip | 57 - python/pykde/sip/kfile/kdiroperator.sip | 205 ---- python/pykde/sip/kfile/kdirselectdialog.sip | 71 -- python/pykde/sip/kfile/kdirsize.sip | 86 -- python/pykde/sip/kfile/kdiskfreesp.sip | 49 - python/pykde/sip/kfile/kencodingfiledialog.sip | 65 -- python/pykde/sip/kfile/kfile-kde310.diff | 5 - python/pykde/sip/kfile/kfile-kde311.diff | 5 - python/pykde/sip/kfile/kfile-kde312.diff | 5 - python/pykde/sip/kfile/kfile-kde313.diff | 5 - python/pykde/sip/kfile/kfile-kde314.diff | 5 - python/pykde/sip/kfile/kfile-kde315.diff | 5 - python/pykde/sip/kfile/kfile-kde320.diff | 6 - python/pykde/sip/kfile/kfile-kde321.diff | 5 - python/pykde/sip/kfile/kfile-kde322.diff | 5 - python/pykde/sip/kfile/kfile-kde323.diff | 5 - python/pykde/sip/kfile/kfile-kde330.diff | 5 - python/pykde/sip/kfile/kfile-kde331.diff | 5 - python/pykde/sip/kfile/kfile-kde332.diff | 5 - python/pykde/sip/kfile/kfile-kde340.diff | 5 - python/pykde/sip/kfile/kfile-kde341.diff | 5 - python/pykde/sip/kfile/kfile-kde342.diff | 5 - python/pykde/sip/kfile/kfile-kde343.diff | 5 - python/pykde/sip/kfile/kfile-kde350.diff | 5 - python/pykde/sip/kfile/kfile-kde351.diff | 5 - python/pykde/sip/kfile/kfile-kde352.diff | 6 - python/pykde/sip/kfile/kfile-kde353.diff | 5 - python/pykde/sip/kfile/kfile.sip | 115 -- python/pykde/sip/kfile/kfilebookmark.sip | 157 --- python/pykde/sip/kfile/kfiledetailview.sip | 207 ---- python/pykde/sip/kfile/kfiledialog.sip | 207 ---- python/pykde/sip/kfile/kfilefiltercombo.sip | 58 - python/pykde/sip/kfile/kfileiconview.sip | 141 --- python/pykde/sip/kfile/kfilemod.sip | 67 -- python/pykde/sip/kfile/kfilemod.sip.in | 63 -- python/pykde/sip/kfile/kfilepreview.sip | 80 -- python/pykde/sip/kfile/kfilereader.sip | 47 - python/pykde/sip/kfile/kfilesharedlg.sip | 53 - python/pykde/sip/kfile/kfiletreebranch.sip | 235 ---- python/pykde/sip/kfile/kfiletreeview.sip | 109 -- python/pykde/sip/kfile/kfiletreeviewitem.sip | 48 - python/pykde/sip/kfile/kfileview.sip | 153 --- python/pykde/sip/kfile/kfileviewitem.sip | 58 - python/pykde/sip/kfile/kicondialog.sip | 131 --- python/pykde/sip/kfile/kimagefilepreview.sip | 57 - python/pykde/sip/kfile/knotifydialog.sip | 315 ------ python/pykde/sip/kfile/knotifywidgetbase.sip | 64 -- python/pykde/sip/kfile/kopenwith.sip | 146 --- python/pykde/sip/kfile/kpreviewwidgetbase.sip | 57 - python/pykde/sip/kfile/kpropertiesdialog.sip | 304 ------ python/pykde/sip/kfile/kpropsdlg.sip | 208 ---- python/pykde/sip/kfile/krecentdirs.sip | 40 - python/pykde/sip/kfile/krecentdocument.sip | 44 - python/pykde/sip/kfile/kurlbar.sip | 213 ---- python/pykde/sip/kfile/kurlcombobox.sip | 80 -- python/pykde/sip/kfile/kurlrequester.sip | 112 -- python/pykde/sip/kfile/kurlrequesterdlg.sip | 43 - python/pykde/sip/khtml/css_rule.sip | 259 ----- python/pykde/sip/khtml/css_stylesheet.sip | 197 ---- python/pykde/sip/khtml/css_value.sip | 320 ------ python/pykde/sip/khtml/dom2_events.sip | 251 ----- python/pykde/sip/khtml/dom2_range.sip | 115 -- python/pykde/sip/khtml/dom2_traversal.sip | 176 --- python/pykde/sip/khtml/dom2_views.sip | 50 - python/pykde/sip/khtml/dom_doc.sip | 185 ---- python/pykde/sip/khtml/dom_element.sip | 111 -- python/pykde/sip/khtml/dom_exception.sip | 64 -- python/pykde/sip/khtml/dom_misc.sip | 49 - python/pykde/sip/khtml/dom_node.sip | 150 --- python/pykde/sip/khtml/dom_string.sip | 79 -- python/pykde/sip/khtml/dom_text.sip | 92 -- python/pykde/sip/khtml/dom_xml.sip | 128 --- python/pykde/sip/khtml/html_base.sip | 207 ---- python/pykde/sip/khtml/html_block.sip | 233 ---- python/pykde/sip/khtml/html_document.sip | 77 -- python/pykde/sip/khtml/html_element.sip | 78 -- python/pykde/sip/khtml/html_form.sip | 436 -------- python/pykde/sip/khtml/html_head.sip | 203 ---- python/pykde/sip/khtml/html_image.sip | 144 --- python/pykde/sip/khtml/html_inline.sip | 169 --- python/pykde/sip/khtml/html_list.sip | 169 --- python/pykde/sip/khtml/html_misc.sip | 97 -- python/pykde/sip/khtml/html_object.sip | 179 --- python/pykde/sip/khtml/html_table.sip | 256 ----- python/pykde/sip/khtml/khtml_part.sip | 282 ----- python/pykde/sip/khtml/khtml_part.sip.323 | 272 ----- python/pykde/sip/khtml/khtml_part.sip.330 | 282 ----- python/pykde/sip/khtml/khtml_settings.sip | 293 ----- python/pykde/sip/khtml/khtmlmod.sip.in | 71 -- python/pykde/sip/khtml/khtmlview.sip | 144 --- python/pykde/sip/kio/authinfo.sip | 206 ---- python/pykde/sip/kio/chmodjob.sip | 64 -- python/pykde/sip/kio/connection.sip | 72 -- python/pykde/sip/kio/davjob.sip | 56 - python/pykde/sip/kio/defaultprogress.sip | 103 -- python/pykde/sip/kio/forwardingslavebase.sip | 63 -- python/pykde/sip/kio/global.sip | 732 ------------- python/pykde/sip/kio/job.sip | 73 -- python/pykde/sip/kio/jobclasses.sip | 748 ------------- python/pykde/sip/kio/kacl.sip | 166 --- python/pykde/sip/kio/kar.sip | 54 - python/pykde/sip/kio/karchive.sip | 189 ---- python/pykde/sip/kio/kautomount.sip | 77 -- python/pykde/sip/kio/kdatatool.sip | 173 --- python/pykde/sip/kio/kdcopservicestarter.sip | 48 - python/pykde/sip/kio/kdirlister.sip | 268 ----- python/pykde/sip/kio/kdirnotify.sip | 57 - python/pykde/sip/kio/kdirwatch.sip | 96 -- python/pykde/sip/kio/kemailsettings.sip | 84 -- python/pykde/sip/kio/kfilefilter.sip | 81 -- python/pykde/sip/kio/kfileitem.sip | 171 --- python/pykde/sip/kio/kfilemetainfo.sip | 458 -------- python/pykde/sip/kio/kfileshare.sip | 87 -- python/pykde/sip/kio/kfilterbase.sip | 74 -- python/pykde/sip/kio/kfilterdev.sip | 73 -- python/pykde/sip/kio/kimageio.sip | 59 - python/pykde/sip/kio/kio-kde310.diff | 5 - python/pykde/sip/kio/kio-kde311.diff | 4 - python/pykde/sip/kio/kio-kde312.diff | 5 - python/pykde/sip/kio/kio-kde313.diff | 5 - python/pykde/sip/kio/kio-kde314.diff | 5 - python/pykde/sip/kio/kio-kde315.diff | 5 - python/pykde/sip/kio/kio-kde320.diff | 6 - python/pykde/sip/kio/kio-kde321.diff | 6 - python/pykde/sip/kio/kio-kde322.diff | 6 - python/pykde/sip/kio/kio-kde323.diff | 6 - python/pykde/sip/kio/kio-kde330.diff | 10 - python/pykde/sip/kio/kio-kde331.diff | 10 - python/pykde/sip/kio/kio-kde332.diff | 10 - python/pykde/sip/kio/kio-kde340.diff | 11 - python/pykde/sip/kio/kio-kde341.diff | 11 - python/pykde/sip/kio/kio-kde342.diff | 11 - python/pykde/sip/kio/kio-kde343.diff | 11 - python/pykde/sip/kio/kio-kde350.diff | 12 - python/pykde/sip/kio/kio-kde351.diff | 12 - python/pykde/sip/kio/kio-kde352.diff | 12 - python/pykde/sip/kio/kio-kde353.diff | 12 - python/pykde/sip/kio/kiomod.sip | 107 -- python/pykde/sip/kio/kiomod.sip.in | 97 -- python/pykde/sip/kio/kmimemagic.sip | 74 -- python/pykde/sip/kio/kmimetype.sip | 432 -------- python/pykde/sip/kio/kmimetypechooser.sip | 74 -- python/pykde/sip/kio/knfsshare.sip | 51 - python/pykde/sip/kio/kpac.sip | 44 - python/pykde/sip/kio/kprotocolinfo.sip | 288 ----- python/pykde/sip/kio/kprotocolmanager.sip | 99 -- python/pykde/sip/kio/kremoteencoding.sip | 60 - python/pykde/sip/kio/krun.sip | 206 ---- python/pykde/sip/kio/ksambashare.sip | 51 - python/pykde/sip/kio/kscan.sip | 120 -- python/pykde/sip/kio/kservice.sip | 289 ----- python/pykde/sip/kio/kservicegroup.sip | 291 ----- python/pykde/sip/kio/kservicetype.sip | 292 ----- python/pykde/sip/kio/kshellcompletion.sip | 47 - python/pykde/sip/kio/kshred.sip | 49 - python/pykde/sip/kio/ksycoca.sip | 171 --- python/pykde/sip/kio/ksycocadict.sip | 51 - python/pykde/sip/kio/ksycocaentry.sip | 213 ---- python/pykde/sip/kio/ksycocafactory.sip | 63 -- python/pykde/sip/kio/ksycocatype.sip | 76 -- python/pykde/sip/kio/ktar.sip | 73 -- python/pykde/sip/kio/ktrader.sip | 125 --- python/pykde/sip/kio/kurifilter.sip | 147 --- python/pykde/sip/kio/kurlcompletion.sip | 81 -- python/pykde/sip/kio/kurlpixmapprovider.sip | 41 - python/pykde/sip/kio/kuserprofile.sip | 224 ---- python/pykde/sip/kio/kzip.sip | 120 -- python/pykde/sip/kio/metainfojob.sip | 63 -- python/pykde/sip/kio/netaccess.sip | 128 --- python/pykde/sip/kio/observer.sip | 96 -- python/pykde/sip/kio/passdlg.sip | 68 -- python/pykde/sip/kio/paste.sip | 56 - python/pykde/sip/kio/previewjob.sip | 72 -- python/pykde/sip/kio/progressbase.sip | 95 -- python/pykde/sip/kio/renamedlg.sip | 67 -- python/pykde/sip/kio/renamedlgplugin.sip | 39 - python/pykde/sip/kio/scheduler.sip | 106 -- python/pykde/sip/kio/sessiondata.sip | 51 - python/pykde/sip/kio/skipdlg.sip | 45 - python/pykde/sip/kio/slave.sip | 95 -- python/pykde/sip/kio/slavebase.sip | 187 ---- python/pykde/sip/kio/slaveconfig.sip | 53 - python/pykde/sip/kio/slaveinterface.sip | 188 ---- python/pykde/sip/kio/statusbarprogress.sip | 56 - python/pykde/sip/kio/tcpslavebase.sip | 91 -- python/pykde/sip/kio/thumbcreator.sip | 47 - python/pykde/sip/kmdi/kmdichildarea.sip | 102 -- python/pykde/sip/kmdi/kmdichildfrm.sip | 276 ----- python/pykde/sip/kmdi/kmdichildfrmcaption.sip | 57 - python/pykde/sip/kmdi/kmdichildview.sip | 120 -- python/pykde/sip/kmdi/kmdidefines.sip | 115 -- python/pykde/sip/kmdi/kmdimainfrm.sip | 339 ------ python/pykde/sip/kmdi/kmdimod.sip | 47 - python/pykde/sip/kmdi/kmdimod.sip.in | 48 - python/pykde/sip/kmdi/kmditaskbar.sip | 88 -- python/pykde/sip/kmdi/kmditoolviewaccessor.sip | 53 - python/pykde/sip/kparts/browserextension.sip | 603 ---------- python/pykde/sip/kparts/browserinterface.sip | 43 - python/pykde/sip/kparts/browserrun.sip | 117 -- python/pykde/sip/kparts/dockmainwindow.sip | 49 - python/pykde/sip/kparts/event.sip | 94 -- python/pykde/sip/kparts/factory.sip | 53 - python/pykde/sip/kparts/genericfactory.sip | 25 - python/pykde/sip/kparts/historyprovider.sip | 54 - python/pykde/sip/kparts/konsole_part.sip | 177 --- python/pykde/sip/kparts/kparts-kde320.diff | 1 - python/pykde/sip/kparts/kparts-kde321.diff | 1 - python/pykde/sip/kparts/kparts-kde322.diff | 1 - python/pykde/sip/kparts/kparts-kde323.diff | 1 - python/pykde/sip/kparts/kparts-kde330.diff | 1 - python/pykde/sip/kparts/kparts-kde331.diff | 1 - python/pykde/sip/kparts/kparts-kde332.diff | 1 - python/pykde/sip/kparts/kparts-kde340.diff | 1 - python/pykde/sip/kparts/kparts-kde341.diff | 1 - python/pykde/sip/kparts/kparts-kde342.diff | 1 - python/pykde/sip/kparts/kparts-kde343.diff | 1 - python/pykde/sip/kparts/kparts-kde350.diff | 2 - python/pykde/sip/kparts/kparts-kde351.diff | 2 - python/pykde/sip/kparts/kparts-kde352.diff | 2 - python/pykde/sip/kparts/kparts-kde353.diff | 2 - python/pykde/sip/kparts/kpartsmod.sip | 51 - python/pykde/sip/kparts/kpartsmod.sip.in | 51 - python/pykde/sip/kparts/mainwindow.sip | 60 - python/pykde/sip/kparts/part.sip | 312 ------ python/pykde/sip/kparts/partmanager.sip | 181 --- python/pykde/sip/kparts/plugin.sip | 210 ---- python/pykde/sip/kparts/statusbarextension.sip | 52 - python/pykde/sip/kresources/configdialog.sip | 52 - python/pykde/sip/kresources/configpage.sip | 48 - python/pykde/sip/kresources/configwidget.sip | 56 - python/pykde/sip/kresources/factory.sip | 54 - python/pykde/sip/kresources/kresourcesmod.sip | 44 - python/pykde/sip/kresources/kresourcesmod.sip.in | 45 - python/pykde/sip/kresources/resource.sip | 84 -- python/pykde/sip/kresources/selectdialog.sip | 133 --- python/pykde/sip/kspell/ksconfig.sip | 210 ---- python/pykde/sip/kspell/kspell-kde320.diff | 1 - python/pykde/sip/kspell/kspell-kde321.diff | 1 - python/pykde/sip/kspell/kspell-kde322.diff | 1 - python/pykde/sip/kspell/kspell-kde323.diff | 1 - python/pykde/sip/kspell/kspell-kde330.diff | 1 - python/pykde/sip/kspell/kspell-kde331.diff | 1 - python/pykde/sip/kspell/kspell-kde332.diff | 1 - python/pykde/sip/kspell/kspell-kde340.diff | 1 - python/pykde/sip/kspell/kspell-kde341.diff | 1 - python/pykde/sip/kspell/kspell-kde342.diff | 1 - python/pykde/sip/kspell/kspell-kde343.diff | 1 - python/pykde/sip/kspell/kspell-kde350.diff | 1 - python/pykde/sip/kspell/kspell-kde351.diff | 3 - python/pykde/sip/kspell/kspell-kde352.diff | 1 - python/pykde/sip/kspell/kspell-kde353.diff | 1 - python/pykde/sip/kspell/kspell.sip | 190 ---- python/pykde/sip/kspell/kspelldlg.sip | 123 --- python/pykde/sip/kspell/kspellmod.sip.in | 42 - python/pykde/sip/kspell/ksyntaxhighlighter.sip | 114 -- python/pykde/sip/kspell2/backgroundchecker.sip | 68 -- python/pykde/sip/kspell2/broker.sip | 62 -- python/pykde/sip/kspell2/configdialog.sip | 49 - python/pykde/sip/kspell2/configwidget.sip | 54 - python/pykde/sip/kspell2/defaultdictionary.sip | 60 - python/pykde/sip/kspell2/dialog.sip | 61 -- python/pykde/sip/kspell2/dictionary.sip | 57 - python/pykde/sip/kspell2/filter.sip | 87 -- python/pykde/sip/kspell2/highlighter.sip | 54 - python/pykde/sip/kspell2/kspell2mod.sip.in | 48 - python/pykde/sip/kspell2/settings.sip | 63 -- python/pykde/sip/kutils/kcmoduleinfo.sip | 91 -- python/pykde/sip/kutils/kcmoduleloader.sip | 67 -- python/pykde/sip/kutils/kcmoduleproxy.sip | 104 -- python/pykde/sip/kutils/kcmultidialog.sip | 86 -- python/pykde/sip/kutils/kfind.sip | 83 -- python/pykde/sip/kutils/kfinddialog.sip | 86 -- python/pykde/sip/kutils/kmultitabbar.sip | 167 --- python/pykde/sip/kutils/kplugininfo.sip | 149 --- python/pykde/sip/kutils/kpluginselector.sip | 53 - python/pykde/sip/kutils/kreplace.sip | 60 - python/pykde/sip/kutils/kreplacedialog.sip | 59 - python/pykde/sip/kutils/kutils-kde340.diff | 1 - python/pykde/sip/kutils/kutils-kde341.diff | 1 - python/pykde/sip/kutils/kutilsmod.sip | 49 - python/pykde/sip/kutils/kutilsmod.sip.in | 50 - python/pykde/svnmerge.py | 47 - python/pykde/svnmergedocs.py | 30 - python/pykde/templates/annotated/basicapp.py | 113 -- python/pykde/templates/annotated/menuapp1.py | 270 ----- python/pykde/templates/annotated/menuapp2.py | 244 ----- python/pykde/templates/annotated/menuapp3.py | 209 ---- python/pykde/templates/annotated/menuapp3ui.rc | 24 - python/pykde/templates/annotated/minimal.py | 75 -- python/pykde/templates/annotated/panelapplet.py | 64 -- python/pykde/templates/annotated/systray.py | 82 -- python/pykde/templates/annotated/systray1.py | 87 -- python/pykde/templates/basic/basicapp.py | 58 - python/pykde/templates/basic/menuapp1.py | 194 ---- python/pykde/templates/basic/menuapp2.py | 200 ---- python/pykde/templates/basic/menuapp3.py | 162 --- python/pykde/templates/basic/menuapp3ui.rc | 24 - python/pykde/templates/basic/minimal.py | 48 - python/pykde/templates/basic/panelapplet.py | 49 - python/pykde/templates/basic/systray.py | 61 -- python/pykde/templates/basic/systray1.py | 67 -- 1893 files changed, 267441 deletions(-) delete mode 100644 python/pykde/AUTHORS delete mode 100644 python/pykde/BUGS delete mode 100644 python/pykde/COPYING delete mode 100644 python/pykde/ChangeLog delete mode 100644 python/pykde/ChangeLog.2001-4 delete mode 100644 python/pykde/Changelog delete mode 100644 python/pykde/INSTALL delete mode 100644 python/pykde/NEWS delete mode 100644 python/pykde/README delete mode 100644 python/pykde/THANKS delete mode 100644 python/pykde/configure.py delete mode 100755 python/pykde/contrib/kdepyuic delete mode 100644 python/pykde/doc/classref/allclasses.html delete mode 100644 python/pykde/doc/classref/dcop/DCOPClient.html delete mode 100644 python/pykde/doc/classref/dcop/DCOPObject.html delete mode 100644 python/pykde/doc/classref/dcop/DCOPObjectProxy.html delete mode 100644 python/pykde/doc/classref/dcop/DCOPRef.html delete mode 100644 python/pykde/doc/classref/dcop/DCOPReply.html delete mode 100644 python/pykde/doc/classref/dcop/DCOPStub.html delete mode 100644 python/pykde/doc/classref/dcop/index.html delete mode 100644 python/pykde/doc/classref/glossary.html delete mode 100644 python/pykde/doc/classref/index.html delete mode 100644 python/pykde/doc/classref/kabc/KABC.Address.html delete mode 100644 python/pykde/doc/classref/kabc/KABC.AddressBook.html delete mode 100644 python/pykde/doc/classref/kabc/KABC.AddressLineEdit.html delete mode 100644 python/pykde/doc/classref/kabc/KABC.AddresseeDialog.html delete mode 100644 python/pykde/doc/classref/kabc/KABC.AddresseeItem.html delete mode 100644 python/pykde/doc/classref/kabc/KABC.Agent.html delete mode 100644 python/pykde/doc/classref/kabc/KABC.ConsoleErrorHandler.html delete mode 100644 python/pykde/doc/classref/kabc/KABC.DistributionList.Entry.html delete mode 100644 python/pykde/doc/classref/kabc/KABC.DistributionList.html delete mode 100644 python/pykde/doc/classref/kabc/KABC.DistributionListDialog.html delete mode 100644 python/pykde/doc/classref/kabc/KABC.DistributionListEditorWidget.html delete mode 100644 python/pykde/doc/classref/kabc/KABC.DistributionListManager.html delete mode 100644 python/pykde/doc/classref/kabc/KABC.DistributionListWatcher.html delete mode 100644 python/pykde/doc/classref/kabc/KABC.EmailSelectDialog.html delete mode 100644 python/pykde/doc/classref/kabc/KABC.EmailSelector.html delete mode 100644 python/pykde/doc/classref/kabc/KABC.ErrorHandler.html delete mode 100644 python/pykde/doc/classref/kabc/KABC.Field.html delete mode 100644 python/pykde/doc/classref/kabc/KABC.FieldSortMode.html delete mode 100644 python/pykde/doc/classref/kabc/KABC.Format.html delete mode 100644 python/pykde/doc/classref/kabc/KABC.FormatFactory.html delete mode 100644 python/pykde/doc/classref/kabc/KABC.FormatInfo.html delete mode 100644 python/pykde/doc/classref/kabc/KABC.FormatPlugin.html delete mode 100644 python/pykde/doc/classref/kabc/KABC.GUIErrorHandler.html delete mode 100644 python/pykde/doc/classref/kabc/KABC.Geo.html delete mode 100644 python/pykde/doc/classref/kabc/KABC.GuiErrorHandler.html delete mode 100644 python/pykde/doc/classref/kabc/KABC.Key.html delete mode 100644 python/pykde/doc/classref/kabc/KABC.LDAPUrl.Extension.html delete mode 100644 python/pykde/doc/classref/kabc/KABC.LDAPUrl.html delete mode 100644 python/pykde/doc/classref/kabc/KABC.LDIF.html delete mode 100644 python/pykde/doc/classref/kabc/KABC.LDIFConverter.html delete mode 100644 python/pykde/doc/classref/kabc/KABC.LdapClient.html delete mode 100644 python/pykde/doc/classref/kabc/KABC.LdapConfigWidget.html delete mode 100644 python/pykde/doc/classref/kabc/KABC.LdapObject.html delete mode 100644 python/pykde/doc/classref/kabc/KABC.LdapResult.html delete mode 100644 python/pykde/doc/classref/kabc/KABC.LdapSearch.html delete mode 100644 python/pykde/doc/classref/kabc/KABC.Lock.html delete mode 100644 python/pykde/doc/classref/kabc/KABC.LockNull.html delete mode 100644 python/pykde/doc/classref/kabc/KABC.NameSortMode.html delete mode 100644 python/pykde/doc/classref/kabc/KABC.PhoneNumber.html delete mode 100644 python/pykde/doc/classref/kabc/KABC.Picture.html delete mode 100644 python/pykde/doc/classref/kabc/KABC.Plugin.html delete mode 100644 python/pykde/doc/classref/kabc/KABC.Resource.html delete mode 100644 python/pykde/doc/classref/kabc/KABC.ResourceFile.html delete mode 100644 python/pykde/doc/classref/kabc/KABC.ResourceSelectDialog.html delete mode 100644 python/pykde/doc/classref/kabc/KABC.Secrecy.html delete mode 100644 python/pykde/doc/classref/kabc/KABC.SortMode.html delete mode 100644 python/pykde/doc/classref/kabc/KABC.SortingTraits.FamilyName.html delete mode 100644 python/pykde/doc/classref/kabc/KABC.SortingTraits.FormattedName.html delete mode 100644 python/pykde/doc/classref/kabc/KABC.SortingTraits.GivenName.html delete mode 100644 python/pykde/doc/classref/kabc/KABC.SortingTraits.Name.html delete mode 100644 python/pykde/doc/classref/kabc/KABC.SortingTraits.Uid.html delete mode 100644 python/pykde/doc/classref/kabc/KABC.SortingTraits.html delete mode 100644 python/pykde/doc/classref/kabc/KABC.Sound.html delete mode 100644 python/pykde/doc/classref/kabc/KABC.StdAddressBook.html delete mode 100644 python/pykde/doc/classref/kabc/KABC.Ticket.html delete mode 100644 python/pykde/doc/classref/kabc/KABC.TimeZone.html delete mode 100644 python/pykde/doc/classref/kabc/KABC.VCardConverter.html delete mode 100644 python/pykde/doc/classref/kabc/KABC.VCardFormat.html delete mode 100644 python/pykde/doc/classref/kabc/KABC.VCardFormatPlugin.html delete mode 100644 python/pykde/doc/classref/kabc/KABC.html delete mode 100644 python/pykde/doc/classref/kabc/index.html delete mode 100644 python/pykde/doc/classref/kabc/kabc-globals.html delete mode 100644 python/pykde/doc/classref/kdecore/KAboutData.html delete mode 100644 python/pykde/doc/classref/kdecore/KAboutPerson.html delete mode 100644 python/pykde/doc/classref/kdecore/KAboutTranslator.html delete mode 100644 python/pykde/doc/classref/kdecore/KAccel.html delete mode 100644 python/pykde/doc/classref/kdecore/KAccelAction.html delete mode 100644 python/pykde/doc/classref/kdecore/KAccelActions.html delete mode 100644 python/pykde/doc/classref/kdecore/KAccelBase.html delete mode 100644 python/pykde/doc/classref/kdecore/KAccelShortcutList.html delete mode 100644 python/pykde/doc/classref/kdecore/KApplication.html delete mode 100644 python/pykde/doc/classref/kdecore/KAsyncIO.html delete mode 100644 python/pykde/doc/classref/kdecore/KAudioPlayer.html delete mode 100644 python/pykde/doc/classref/kdecore/KBufferedIO.html delete mode 100644 python/pykde/doc/classref/kdecore/KCalendarSystem.html delete mode 100644 python/pykde/doc/classref/kdecore/KCalendarSystemFactory.html delete mode 100644 python/pykde/doc/classref/kdecore/KCatalogue.html delete mode 100644 python/pykde/doc/classref/kdecore/KCharMacroExpander.html delete mode 100644 python/pykde/doc/classref/kdecore/KCharsets.html delete mode 100644 python/pykde/doc/classref/kdecore/KClipboardSynchronizer.html delete mode 100644 python/pykde/doc/classref/kdecore/KCmdLineArgs.html delete mode 100644 python/pykde/doc/classref/kdecore/KCmdLineOptions.html delete mode 100644 python/pykde/doc/classref/kdecore/KCodecs.html delete mode 100644 python/pykde/doc/classref/kdecore/KCompletion.html delete mode 100644 python/pykde/doc/classref/kdecore/KCompletionBase.html delete mode 100644 python/pykde/doc/classref/kdecore/KConfig.html delete mode 100644 python/pykde/doc/classref/kdecore/KConfigBackEnd.html delete mode 100644 python/pykde/doc/classref/kdecore/KConfigBase.html delete mode 100644 python/pykde/doc/classref/kdecore/KConfigDialogManager.html delete mode 100644 python/pykde/doc/classref/kdecore/KConfigGroup.html delete mode 100644 python/pykde/doc/classref/kdecore/KConfigGroupSaver.html delete mode 100644 python/pykde/doc/classref/kdecore/KConfigINIBackEnd.html delete mode 100644 python/pykde/doc/classref/kdecore/KConfigSkeleton.ItemBool.html delete mode 100644 python/pykde/doc/classref/kdecore/KConfigSkeleton.ItemColor.html delete mode 100644 python/pykde/doc/classref/kdecore/KConfigSkeleton.ItemDateTime.html delete mode 100644 python/pykde/doc/classref/kdecore/KConfigSkeleton.ItemDouble.html delete mode 100644 python/pykde/doc/classref/kdecore/KConfigSkeleton.ItemEnum.Choice.html delete mode 100644 python/pykde/doc/classref/kdecore/KConfigSkeleton.ItemEnum.html delete mode 100644 python/pykde/doc/classref/kdecore/KConfigSkeleton.ItemFont.html delete mode 100644 python/pykde/doc/classref/kdecore/KConfigSkeleton.ItemInt.html delete mode 100644 python/pykde/doc/classref/kdecore/KConfigSkeleton.ItemInt64.html delete mode 100644 python/pykde/doc/classref/kdecore/KConfigSkeleton.ItemIntList.html delete mode 100644 python/pykde/doc/classref/kdecore/KConfigSkeleton.ItemLong.html delete mode 100644 python/pykde/doc/classref/kdecore/KConfigSkeleton.ItemPassword.html delete mode 100644 python/pykde/doc/classref/kdecore/KConfigSkeleton.ItemPath.html delete mode 100644 python/pykde/doc/classref/kdecore/KConfigSkeleton.ItemPathList.html delete mode 100644 python/pykde/doc/classref/kdecore/KConfigSkeleton.ItemPoint.html delete mode 100644 python/pykde/doc/classref/kdecore/KConfigSkeleton.ItemProperty.html delete mode 100644 python/pykde/doc/classref/kdecore/KConfigSkeleton.ItemRect.html delete mode 100644 python/pykde/doc/classref/kdecore/KConfigSkeleton.ItemSize.html delete mode 100644 python/pykde/doc/classref/kdecore/KConfigSkeleton.ItemString.html delete mode 100644 python/pykde/doc/classref/kdecore/KConfigSkeleton.ItemStringList.html delete mode 100644 python/pykde/doc/classref/kdecore/KConfigSkeleton.ItemUInt.html delete mode 100644 python/pykde/doc/classref/kdecore/KConfigSkeleton.ItemUInt64.html delete mode 100644 python/pykde/doc/classref/kdecore/KConfigSkeleton.ItemULong.html delete mode 100644 python/pykde/doc/classref/kdecore/KConfigSkeleton.html delete mode 100644 python/pykde/doc/classref/kdecore/KConfigSkeletonItem.html delete mode 100644 python/pykde/doc/classref/kdecore/KCrash.html delete mode 100644 python/pykde/doc/classref/kdecore/KDCOPPropertyProxy.html delete mode 100644 python/pykde/doc/classref/kdecore/KDE.html delete mode 100644 python/pykde/doc/classref/kdecore/KDesktopFile.html delete mode 100644 python/pykde/doc/classref/kdecore/KEntry.html delete mode 100644 python/pykde/doc/classref/kdecore/KEntryKey.html delete mode 100644 python/pykde/doc/classref/kdecore/KGlobal.html delete mode 100644 python/pykde/doc/classref/kdecore/KGlobalAccel.html delete mode 100644 python/pykde/doc/classref/kdecore/KGlobalSettings.KMouseSettings.html delete mode 100644 python/pykde/doc/classref/kdecore/KGlobalSettings.html delete mode 100644 python/pykde/doc/classref/kdecore/KIDNA.html delete mode 100644 python/pykde/doc/classref/kdecore/KIPC.html delete mode 100644 python/pykde/doc/classref/kdecore/KIcon.html delete mode 100644 python/pykde/doc/classref/kdecore/KIconEffect.html delete mode 100644 python/pykde/doc/classref/kdecore/KIconLoader.html delete mode 100644 python/pykde/doc/classref/kdecore/KIconTheme.html delete mode 100644 python/pykde/doc/classref/kdecore/KInstance.html delete mode 100644 python/pykde/doc/classref/kdecore/KKey.html delete mode 100644 python/pykde/doc/classref/kdecore/KKeyNative.html delete mode 100644 python/pykde/doc/classref/kdecore/KKeySequence.html delete mode 100644 python/pykde/doc/classref/kdecore/KKeyServer.CodeMod.html delete mode 100644 python/pykde/doc/classref/kdecore/KKeyServer.Key.html delete mode 100644 python/pykde/doc/classref/kdecore/KKeyServer.Sym.html delete mode 100644 python/pykde/doc/classref/kdecore/KKeyServer.Variations.html delete mode 100644 python/pykde/doc/classref/kdecore/KKeyServer.html delete mode 100644 python/pykde/doc/classref/kdecore/KLibFactory.html delete mode 100644 python/pykde/doc/classref/kdecore/KLibLoader.html delete mode 100644 python/pykde/doc/classref/kdecore/KLibrary.html delete mode 100644 python/pykde/doc/classref/kdecore/KLocale.html delete mode 100644 python/pykde/doc/classref/kdecore/KLockFile.html delete mode 100644 python/pykde/doc/classref/kdecore/KMD4.html delete mode 100644 python/pykde/doc/classref/kdecore/KMD5.html delete mode 100644 python/pykde/doc/classref/kdecore/KMacroExpander.html delete mode 100644 python/pykde/doc/classref/kdecore/KMacroExpanderBase.html delete mode 100644 python/pykde/doc/classref/kdecore/KMimeSourceFactory.html delete mode 100644 python/pykde/doc/classref/kdecore/KMountPoint.html delete mode 100644 python/pykde/doc/classref/kdecore/KMultipleDrag.html delete mode 100644 python/pykde/doc/classref/kdecore/KNotifyClient.Instance.html delete mode 100644 python/pykde/doc/classref/kdecore/KNotifyClient.html delete mode 100644 python/pykde/doc/classref/kdecore/KPalette.html delete mode 100644 python/pykde/doc/classref/kdecore/KPixmapProvider.html delete mode 100644 python/pykde/doc/classref/kdecore/KProcIO.html delete mode 100644 python/pykde/doc/classref/kdecore/KProcess.html delete mode 100644 python/pykde/doc/classref/kdecore/KProcessController.html delete mode 100644 python/pykde/doc/classref/kdecore/KPty.html delete mode 100644 python/pykde/doc/classref/kdecore/KRFCDate.html delete mode 100644 python/pykde/doc/classref/kdecore/KRandomSequence.html delete mode 100644 python/pykde/doc/classref/kdecore/KRegExp.html delete mode 100644 python/pykde/doc/classref/kdecore/KRootProp.html delete mode 100644 python/pykde/doc/classref/kdecore/KSaveFile.html delete mode 100644 python/pykde/doc/classref/kdecore/KSelectionOwner.html delete mode 100644 python/pykde/doc/classref/kdecore/KSelectionWatcher.html delete mode 100644 python/pykde/doc/classref/kdecore/KServerSocket.html delete mode 100644 python/pykde/doc/classref/kdecore/KSessionManaged.html delete mode 100644 python/pykde/doc/classref/kdecore/KShared.html delete mode 100644 python/pykde/doc/classref/kdecore/KSharedConfig.html delete mode 100644 python/pykde/doc/classref/kdecore/KShell.html delete mode 100644 python/pykde/doc/classref/kdecore/KShellProcess.html delete mode 100644 python/pykde/doc/classref/kdecore/KShortcut.html delete mode 100644 python/pykde/doc/classref/kdecore/KShortcutList.html delete mode 100644 python/pykde/doc/classref/kdecore/KSimpleConfig.html delete mode 100644 python/pykde/doc/classref/kdecore/KSocket.html delete mode 100644 python/pykde/doc/classref/kdecore/KStartupInfo.html delete mode 100644 python/pykde/doc/classref/kdecore/KStartupInfoData.html delete mode 100644 python/pykde/doc/classref/kdecore/KStartupInfoId.html delete mode 100644 python/pykde/doc/classref/kdecore/KStaticDeleterBase.html delete mode 100644 python/pykde/doc/classref/kdecore/KStdAccel.ShortcutList.html delete mode 100644 python/pykde/doc/classref/kdecore/KStdAccel.html delete mode 100644 python/pykde/doc/classref/kdecore/KStringHandler.html delete mode 100644 python/pykde/doc/classref/kdecore/KTempDir.html delete mode 100644 python/pykde/doc/classref/kdecore/KTempFile.html delete mode 100644 python/pykde/doc/classref/kdecore/KTimezone.html delete mode 100644 python/pykde/doc/classref/kdecore/KTimezoneDetails.html delete mode 100644 python/pykde/doc/classref/kdecore/KTimezoneSource.html delete mode 100644 python/pykde/doc/classref/kdecore/KTimezones.html delete mode 100644 python/pykde/doc/classref/kdecore/KURL.List.html delete mode 100644 python/pykde/doc/classref/kdecore/KURL.html delete mode 100644 python/pykde/doc/classref/kdecore/KURLDrag.html delete mode 100644 python/pykde/doc/classref/kdecore/KUniqueApplication.html delete mode 100644 python/pykde/doc/classref/kdecore/KWin.Info.html delete mode 100644 python/pykde/doc/classref/kdecore/KWin.WindowInfo.html delete mode 100644 python/pykde/doc/classref/kdecore/KWin.html delete mode 100644 python/pykde/doc/classref/kdecore/KWinModule.html delete mode 100644 python/pykde/doc/classref/kdecore/KWordMacroExpander.html delete mode 100644 python/pykde/doc/classref/kdecore/KZoneAllocator.html delete mode 100644 python/pykde/doc/classref/kdecore/NET.html delete mode 100644 python/pykde/doc/classref/kdecore/NETExtendedStrut.html delete mode 100644 python/pykde/doc/classref/kdecore/NETIcon.html delete mode 100644 python/pykde/doc/classref/kdecore/NETPoint.html delete mode 100644 python/pykde/doc/classref/kdecore/NETRect.html delete mode 100644 python/pykde/doc/classref/kdecore/NETRootInfo.html delete mode 100644 python/pykde/doc/classref/kdecore/NETRootInfo2.html delete mode 100644 python/pykde/doc/classref/kdecore/NETRootInfo3.html delete mode 100644 python/pykde/doc/classref/kdecore/NETRootInfo4.html delete mode 100644 python/pykde/doc/classref/kdecore/NETSize.html delete mode 100644 python/pykde/doc/classref/kdecore/NETStrut.html delete mode 100644 python/pykde/doc/classref/kdecore/NETWinInfo.html delete mode 100644 python/pykde/doc/classref/kdecore/index.html delete mode 100644 python/pykde/doc/classref/kdecore/kdecore-globals.html delete mode 100644 python/pykde/doc/classref/kdefx/KCPUInfo.html delete mode 100644 python/pykde/doc/classref/kdefx/KImageEffect.html delete mode 100644 python/pykde/doc/classref/kdefx/KPixmap.html delete mode 100644 python/pykde/doc/classref/kdefx/KPixmapEffect.html delete mode 100644 python/pykde/doc/classref/kdefx/KPixmapSplitter.html delete mode 100644 python/pykde/doc/classref/kdefx/KStyle.html delete mode 100644 python/pykde/doc/classref/kdefx/index.html delete mode 100644 python/pykde/doc/classref/kdefx/kdefx-globals.html delete mode 100644 python/pykde/doc/classref/kdeprint/DrBase.html delete mode 100644 python/pykde/doc/classref/kdeprint/DrBooleanOption.html delete mode 100644 python/pykde/doc/classref/kdeprint/DrChoiceGroup.html delete mode 100644 python/pykde/doc/classref/kdeprint/DrConstraint.html delete mode 100644 python/pykde/doc/classref/kdeprint/DrFloatOption.html delete mode 100644 python/pykde/doc/classref/kdeprint/DrGroup.html delete mode 100644 python/pykde/doc/classref/kdeprint/DrIntegerOption.html delete mode 100644 python/pykde/doc/classref/kdeprint/DrListOption.html delete mode 100644 python/pykde/doc/classref/kdeprint/DrMain.html delete mode 100644 python/pykde/doc/classref/kdeprint/DrPageSize.html delete mode 100644 python/pykde/doc/classref/kdeprint/DrStringOption.html delete mode 100644 python/pykde/doc/classref/kdeprint/KMJob.html delete mode 100644 python/pykde/doc/classref/kdeprint/KMJobManager.JobFilter.html delete mode 100644 python/pykde/doc/classref/kdeprint/KMJobManager.html delete mode 100644 python/pykde/doc/classref/kdeprint/KMManager.html delete mode 100644 python/pykde/doc/classref/kdeprint/KMObject.html delete mode 100644 python/pykde/doc/classref/kdeprint/KMPrinter.html delete mode 100644 python/pykde/doc/classref/kdeprint/KPReloadObject.html delete mode 100644 python/pykde/doc/classref/kdeprint/KPrintAction.html delete mode 100644 python/pykde/doc/classref/kdeprint/KPrintDialog.html delete mode 100644 python/pykde/doc/classref/kdeprint/KPrintDialogPage.html delete mode 100644 python/pykde/doc/classref/kdeprint/KPrinter.html delete mode 100644 python/pykde/doc/classref/kdeprint/index.html delete mode 100644 python/pykde/doc/classref/kdeprint/kdeprint-globals.html delete mode 100644 python/pykde/doc/classref/kdeui/KAboutApplication.html delete mode 100644 python/pykde/doc/classref/kdeui/KAboutContainer.html delete mode 100644 python/pykde/doc/classref/kdeui/KAboutContributor.html delete mode 100644 python/pykde/doc/classref/kdeui/KAboutDialog.html delete mode 100644 python/pykde/doc/classref/kdeui/KAboutKDE.html delete mode 100644 python/pykde/doc/classref/kdeui/KAboutWidget.html delete mode 100644 python/pykde/doc/classref/kdeui/KAction.html delete mode 100644 python/pykde/doc/classref/kdeui/KActionCollection.html delete mode 100644 python/pykde/doc/classref/kdeui/KActionMenu.html delete mode 100644 python/pykde/doc/classref/kdeui/KActionPtrShortcutList.html delete mode 100644 python/pykde/doc/classref/kdeui/KActionSelector.html delete mode 100644 python/pykde/doc/classref/kdeui/KActionSeparator.html delete mode 100644 python/pykde/doc/classref/kdeui/KActionShortcutList.html delete mode 100644 python/pykde/doc/classref/kdeui/KActiveLabel.html delete mode 100644 python/pykde/doc/classref/kdeui/KAnimWidget.html delete mode 100644 python/pykde/doc/classref/kdeui/KArrowButton.html delete mode 100644 python/pykde/doc/classref/kdeui/KAuthIcon.html delete mode 100644 python/pykde/doc/classref/kdeui/KBugReport.html delete mode 100644 python/pykde/doc/classref/kdeui/KButtonBox.html delete mode 100644 python/pykde/doc/classref/kdeui/KCModule.html delete mode 100644 python/pykde/doc/classref/kdeui/KCharSelect.html delete mode 100644 python/pykde/doc/classref/kdeui/KCharSelectTable.html delete mode 100644 python/pykde/doc/classref/kdeui/KColor.html delete mode 100644 python/pykde/doc/classref/kdeui/KColorCells.html delete mode 100644 python/pykde/doc/classref/kdeui/KColorCombo.html delete mode 100644 python/pykde/doc/classref/kdeui/KColorDialog.html delete mode 100644 python/pykde/doc/classref/kdeui/KColorDrag.html delete mode 100644 python/pykde/doc/classref/kdeui/KColorPatch.html delete mode 100644 python/pykde/doc/classref/kdeui/KComboBox.html delete mode 100644 python/pykde/doc/classref/kdeui/KCommand.html delete mode 100644 python/pykde/doc/classref/kdeui/KCommandHistory.html delete mode 100644 python/pykde/doc/classref/kdeui/KCompletionBox.html delete mode 100644 python/pykde/doc/classref/kdeui/KConfigDialog.html delete mode 100644 python/pykde/doc/classref/kdeui/KContextMenuManager.html delete mode 100644 python/pykde/doc/classref/kdeui/KCursor.html delete mode 100644 python/pykde/doc/classref/kdeui/KDCOPActionProxy.html delete mode 100644 python/pykde/doc/classref/kdeui/KDateInternalMonthPicker.html delete mode 100644 python/pykde/doc/classref/kdeui/KDateInternalWeekSelector.html delete mode 100644 python/pykde/doc/classref/kdeui/KDateInternalYearSelector.html delete mode 100644 python/pykde/doc/classref/kdeui/KDatePicker.html delete mode 100644 python/pykde/doc/classref/kdeui/KDateTable.html delete mode 100644 python/pykde/doc/classref/kdeui/KDateTimeWidget.html delete mode 100644 python/pykde/doc/classref/kdeui/KDateValidator.html delete mode 100644 python/pykde/doc/classref/kdeui/KDateWidget.html delete mode 100644 python/pykde/doc/classref/kdeui/KDialog.html delete mode 100644 python/pykde/doc/classref/kdeui/KDialogBase.html delete mode 100644 python/pykde/doc/classref/kdeui/KDialogQueue.html delete mode 100644 python/pykde/doc/classref/kdeui/KDockArea.html delete mode 100644 python/pykde/doc/classref/kdeui/KDockMainWindow.html delete mode 100644 python/pykde/doc/classref/kdeui/KDockManager.html delete mode 100644 python/pykde/doc/classref/kdeui/KDockTabGroup.html delete mode 100644 python/pykde/doc/classref/kdeui/KDockWidget.html delete mode 100644 python/pykde/doc/classref/kdeui/KDockWidgetAbstractHeader.html delete mode 100644 python/pykde/doc/classref/kdeui/KDockWidgetAbstractHeaderDrag.html delete mode 100644 python/pykde/doc/classref/kdeui/KDockWidgetHeader.html delete mode 100644 python/pykde/doc/classref/kdeui/KDockWidgetHeaderDrag.html delete mode 100644 python/pykde/doc/classref/kdeui/KDockWindow.html delete mode 100644 python/pykde/doc/classref/kdeui/KDoubleNumInput.html delete mode 100644 python/pykde/doc/classref/kdeui/KDoubleSpinBox.html delete mode 100644 python/pykde/doc/classref/kdeui/KDoubleValidator.html delete mode 100644 python/pykde/doc/classref/kdeui/KDualColorButton.html delete mode 100644 python/pykde/doc/classref/kdeui/KEdFind.html delete mode 100644 python/pykde/doc/classref/kdeui/KEdGotoLine.html delete mode 100644 python/pykde/doc/classref/kdeui/KEdReplace.html delete mode 100644 python/pykde/doc/classref/kdeui/KEdit.html delete mode 100644 python/pykde/doc/classref/kdeui/KEditListBox.CustomEditor.html delete mode 100644 python/pykde/doc/classref/kdeui/KEditListBox.html delete mode 100644 python/pykde/doc/classref/kdeui/KEditToolbar.html delete mode 100644 python/pykde/doc/classref/kdeui/KEditToolbarWidget.html delete mode 100644 python/pykde/doc/classref/kdeui/KFloatValidator.html delete mode 100644 python/pykde/doc/classref/kdeui/KFontAction.html delete mode 100644 python/pykde/doc/classref/kdeui/KFontChooser.html delete mode 100644 python/pykde/doc/classref/kdeui/KFontCombo.html delete mode 100644 python/pykde/doc/classref/kdeui/KFontDialog.html delete mode 100644 python/pykde/doc/classref/kdeui/KFontRequester.html delete mode 100644 python/pykde/doc/classref/kdeui/KFontSizeAction.html delete mode 100644 python/pykde/doc/classref/kdeui/KGradientSelector.html delete mode 100644 python/pykde/doc/classref/kdeui/KGuiItem.html delete mode 100644 python/pykde/doc/classref/kdeui/KHSSelector.html delete mode 100644 python/pykde/doc/classref/kdeui/KHelpMenu.html delete mode 100644 python/pykde/doc/classref/kdeui/KHistoryCombo.html delete mode 100644 python/pykde/doc/classref/kdeui/KIconView.html delete mode 100644 python/pykde/doc/classref/kdeui/KIconViewItem.html delete mode 100644 python/pykde/doc/classref/kdeui/KIconViewSearchLine.html delete mode 100644 python/pykde/doc/classref/kdeui/KInputDialog.html delete mode 100644 python/pykde/doc/classref/kdeui/KIntNumInput.html delete mode 100644 python/pykde/doc/classref/kdeui/KIntSpinBox.html delete mode 100644 python/pykde/doc/classref/kdeui/KIntValidator.html delete mode 100644 python/pykde/doc/classref/kdeui/KJanusWidget.html delete mode 100644 python/pykde/doc/classref/kdeui/KKeyButton.html delete mode 100644 python/pykde/doc/classref/kdeui/KKeyChooser.html delete mode 100644 python/pykde/doc/classref/kdeui/KKeyDialog.html delete mode 100644 python/pykde/doc/classref/kdeui/KLanguageButton.html delete mode 100644 python/pykde/doc/classref/kdeui/KLed.html delete mode 100644 python/pykde/doc/classref/kdeui/KLineEdit.html delete mode 100644 python/pykde/doc/classref/kdeui/KLineEditDlg.html delete mode 100644 python/pykde/doc/classref/kdeui/KListAction.html delete mode 100644 python/pykde/doc/classref/kdeui/KListBox.html delete mode 100644 python/pykde/doc/classref/kdeui/KListView.html delete mode 100644 python/pykde/doc/classref/kdeui/KListViewItem.html delete mode 100644 python/pykde/doc/classref/kdeui/KListViewSearchLine.html delete mode 100644 python/pykde/doc/classref/kdeui/KListViewSearchLineWidget.html delete mode 100644 python/pykde/doc/classref/kdeui/KMacroCommand.html delete mode 100644 python/pykde/doc/classref/kdeui/KMainWindow.html delete mode 100644 python/pykde/doc/classref/kdeui/KMainWindowInterface.html delete mode 100644 python/pykde/doc/classref/kdeui/KMenuBar.html delete mode 100644 python/pykde/doc/classref/kdeui/KMessageBox.html delete mode 100644 python/pykde/doc/classref/kdeui/KMimeTypeValidator.html delete mode 100644 python/pykde/doc/classref/kdeui/KNamedCommand.html delete mode 100644 python/pykde/doc/classref/kdeui/KNumInput.html delete mode 100644 python/pykde/doc/classref/kdeui/KPaletteTable.html delete mode 100644 python/pykde/doc/classref/kdeui/KPanelAppMenu.html delete mode 100644 python/pykde/doc/classref/kdeui/KPanelApplet.html delete mode 100644 python/pykde/doc/classref/kdeui/KPanelExtension.html delete mode 100644 python/pykde/doc/classref/kdeui/KPanelMenu.html delete mode 100644 python/pykde/doc/classref/kdeui/KPassivePopup.html delete mode 100644 python/pykde/doc/classref/kdeui/KPasswordDialog.html delete mode 100644 python/pykde/doc/classref/kdeui/KPasswordEdit.html delete mode 100644 python/pykde/doc/classref/kdeui/KPasteTextAction.html delete mode 100644 python/pykde/doc/classref/kdeui/KPixmapIO.html delete mode 100644 python/pykde/doc/classref/kdeui/KPixmapRegionSelectorDialog.html delete mode 100644 python/pykde/doc/classref/kdeui/KPixmapRegionSelectorWidget.html delete mode 100644 python/pykde/doc/classref/kdeui/KPopupFrame.html delete mode 100644 python/pykde/doc/classref/kdeui/KPopupMenu.html delete mode 100644 python/pykde/doc/classref/kdeui/KPopupTitle.html delete mode 100644 python/pykde/doc/classref/kdeui/KProgress.html delete mode 100644 python/pykde/doc/classref/kdeui/KProgressDialog.html delete mode 100644 python/pykde/doc/classref/kdeui/KPushButton.html delete mode 100644 python/pykde/doc/classref/kdeui/KRadioAction.html delete mode 100644 python/pykde/doc/classref/kdeui/KRecentFilesAction.html delete mode 100644 python/pykde/doc/classref/kdeui/KRestrictedLine.html delete mode 100644 python/pykde/doc/classref/kdeui/KRootPermsIcon.html delete mode 100644 python/pykde/doc/classref/kdeui/KRootPixmap.html delete mode 100644 python/pykde/doc/classref/kdeui/KRuler.html delete mode 100644 python/pykde/doc/classref/kdeui/KScrollView.html delete mode 100644 python/pykde/doc/classref/kdeui/KSelectAction.html delete mode 100644 python/pykde/doc/classref/kdeui/KSelector.html delete mode 100644 python/pykde/doc/classref/kdeui/KSeparator.html delete mode 100644 python/pykde/doc/classref/kdeui/KSharedPixmap.html delete mode 100644 python/pykde/doc/classref/kdeui/KShortcutDialog.html delete mode 100644 python/pykde/doc/classref/kdeui/KSplashScreen.html delete mode 100644 python/pykde/doc/classref/kdeui/KSqueezedTextLabel.html delete mode 100644 python/pykde/doc/classref/kdeui/KStatusBar.html delete mode 100644 python/pykde/doc/classref/kdeui/KStatusBarLabel.html delete mode 100644 python/pykde/doc/classref/kdeui/KStdAction.html delete mode 100644 python/pykde/doc/classref/kdeui/KStdGuiItem.html delete mode 100644 python/pykde/doc/classref/kdeui/KStringListValidator.html delete mode 100644 python/pykde/doc/classref/kdeui/KSystemTray.html delete mode 100644 python/pykde/doc/classref/kdeui/KTabBar.html delete mode 100644 python/pykde/doc/classref/kdeui/KTabCtl.html delete mode 100644 python/pykde/doc/classref/kdeui/KTabWidget.html delete mode 100644 python/pykde/doc/classref/kdeui/KTextBrowser.html delete mode 100644 python/pykde/doc/classref/kdeui/KTextEdit.html delete mode 100644 python/pykde/doc/classref/kdeui/KTimeWidget.html delete mode 100644 python/pykde/doc/classref/kdeui/KTimezoneWidget.html delete mode 100644 python/pykde/doc/classref/kdeui/KTipDatabase.html delete mode 100644 python/pykde/doc/classref/kdeui/KTipDialog.html delete mode 100644 python/pykde/doc/classref/kdeui/KToggleAction.html delete mode 100644 python/pykde/doc/classref/kdeui/KToggleFullScreenAction.html delete mode 100644 python/pykde/doc/classref/kdeui/KToggleToolBarAction.html delete mode 100644 python/pykde/doc/classref/kdeui/KToolBar.html delete mode 100644 python/pykde/doc/classref/kdeui/KToolBarButton.html delete mode 100644 python/pykde/doc/classref/kdeui/KToolBarLabelAction.html delete mode 100644 python/pykde/doc/classref/kdeui/KToolBarPopupAction.html delete mode 100644 python/pykde/doc/classref/kdeui/KToolBarRadioGroup.html delete mode 100644 python/pykde/doc/classref/kdeui/KToolBarSeparator.html delete mode 100644 python/pykde/doc/classref/kdeui/KURLLabel.html delete mode 100644 python/pykde/doc/classref/kdeui/KValueSelector.html delete mode 100644 python/pykde/doc/classref/kdeui/KWidgetAction.html delete mode 100644 python/pykde/doc/classref/kdeui/KWindowInfo.html delete mode 100644 python/pykde/doc/classref/kdeui/KWindowListMenu.html delete mode 100644 python/pykde/doc/classref/kdeui/KWizard.html delete mode 100644 python/pykde/doc/classref/kdeui/KWordWrap.html delete mode 100644 python/pykde/doc/classref/kdeui/KWritePermsIcon.html delete mode 100644 python/pykde/doc/classref/kdeui/KXMLGUIBuilder.html delete mode 100644 python/pykde/doc/classref/kdeui/KXMLGUIClient.StateChange.html delete mode 100644 python/pykde/doc/classref/kdeui/KXMLGUIClient.html delete mode 100644 python/pykde/doc/classref/kdeui/KXMLGUIFactory.html delete mode 100644 python/pykde/doc/classref/kdeui/KXYSelector.html delete mode 100644 python/pykde/doc/classref/kdeui/QXEmbed.html delete mode 100644 python/pykde/doc/classref/kdeui/index.html delete mode 100644 python/pykde/doc/classref/kdeui/kdeui-globals.html delete mode 100644 python/pykde/doc/classref/kfile/KAppTreeListItem.html delete mode 100644 python/pykde/doc/classref/kfile/KApplicationPropsPlugin.html delete mode 100644 python/pykde/doc/classref/kfile/KApplicationTree.html delete mode 100644 python/pykde/doc/classref/kfile/KBindingPropsPlugin.html delete mode 100644 python/pykde/doc/classref/kfile/KCombiView.html delete mode 100644 python/pykde/doc/classref/kfile/KCustomMenuEditor.html delete mode 100644 python/pykde/doc/classref/kfile/KDesktopPropsPlugin.html delete mode 100644 python/pykde/doc/classref/kfile/KDevicePropsPlugin.html delete mode 100644 python/pykde/doc/classref/kfile/KDirOperator.html delete mode 100644 python/pykde/doc/classref/kfile/KDirSelectDialog.html delete mode 100644 python/pykde/doc/classref/kfile/KDirSize.html delete mode 100644 python/pykde/doc/classref/kfile/KDiskFreeSp.html delete mode 100644 python/pykde/doc/classref/kfile/KEncodingFileDialog.Result.html delete mode 100644 python/pykde/doc/classref/kfile/KEncodingFileDialog.html delete mode 100644 python/pykde/doc/classref/kfile/KExecPropsPlugin.html delete mode 100644 python/pykde/doc/classref/kfile/KFile.html delete mode 100644 python/pykde/doc/classref/kfile/KFileDetailView.html delete mode 100644 python/pykde/doc/classref/kfile/KFileDialog.html delete mode 100644 python/pykde/doc/classref/kfile/KFileFilterCombo.html delete mode 100644 python/pykde/doc/classref/kfile/KFileIconView.html delete mode 100644 python/pykde/doc/classref/kfile/KFileIconViewItem.html delete mode 100644 python/pykde/doc/classref/kfile/KFileListViewItem.html delete mode 100644 python/pykde/doc/classref/kfile/KFileOpenWithHandler.html delete mode 100644 python/pykde/doc/classref/kfile/KFilePermissionsPropsPlugin.html delete mode 100644 python/pykde/doc/classref/kfile/KFilePreview.html delete mode 100644 python/pykde/doc/classref/kfile/KFilePropsPlugin.html delete mode 100644 python/pykde/doc/classref/kfile/KFileSharePropsPlugin.html delete mode 100644 python/pykde/doc/classref/kfile/KFileTreeBranch.html delete mode 100644 python/pykde/doc/classref/kfile/KFileTreeView.html delete mode 100644 python/pykde/doc/classref/kfile/KFileTreeViewItem.html delete mode 100644 python/pykde/doc/classref/kfile/KFileTreeViewToolTip.html delete mode 100644 python/pykde/doc/classref/kfile/KFileView.html delete mode 100644 python/pykde/doc/classref/kfile/KFileViewSignaler.html delete mode 100644 python/pykde/doc/classref/kfile/KIconButton.html delete mode 100644 python/pykde/doc/classref/kfile/KIconCanvas.html delete mode 100644 python/pykde/doc/classref/kfile/KIconDialog.html delete mode 100644 python/pykde/doc/classref/kfile/KImageFilePreview.html delete mode 100644 python/pykde/doc/classref/kfile/KNotify.Application.html delete mode 100644 python/pykde/doc/classref/kfile/KNotify.ApplicationList.html delete mode 100644 python/pykde/doc/classref/kfile/KNotify.Event.html delete mode 100644 python/pykde/doc/classref/kfile/KNotify.KNotifyWidget.html delete mode 100644 python/pykde/doc/classref/kfile/KNotify.ListViewItem.html delete mode 100644 python/pykde/doc/classref/kfile/KNotify.html delete mode 100644 python/pykde/doc/classref/kfile/KNotifyDialog.html delete mode 100644 python/pykde/doc/classref/kfile/KOpenWithDlg.html delete mode 100644 python/pykde/doc/classref/kfile/KPreviewWidgetBase.html delete mode 100644 python/pykde/doc/classref/kfile/KPropertiesDialog.html delete mode 100644 python/pykde/doc/classref/kfile/KPropsDlgPlugin.html delete mode 100644 python/pykde/doc/classref/kfile/KRecentDirs.html delete mode 100644 python/pykde/doc/classref/kfile/KRecentDocument.html delete mode 100644 python/pykde/doc/classref/kfile/KURLBar.html delete mode 100644 python/pykde/doc/classref/kfile/KURLBarItem.html delete mode 100644 python/pykde/doc/classref/kfile/KURLBarItemDialog.html delete mode 100644 python/pykde/doc/classref/kfile/KURLBarListBox.html delete mode 100644 python/pykde/doc/classref/kfile/KURLComboBox.html delete mode 100644 python/pykde/doc/classref/kfile/KURLComboRequester.html delete mode 100644 python/pykde/doc/classref/kfile/KURLPropsPlugin.html delete mode 100644 python/pykde/doc/classref/kfile/KURLRequester.html delete mode 100644 python/pykde/doc/classref/kfile/KURLRequesterDlg.html delete mode 100644 python/pykde/doc/classref/kfile/index.html delete mode 100644 python/pykde/doc/classref/khtml/DOM.AbstractView.html delete mode 100644 python/pykde/doc/classref/khtml/DOM.Attr.html delete mode 100644 python/pykde/doc/classref/khtml/DOM.CDATASection.html delete mode 100644 python/pykde/doc/classref/khtml/DOM.CSSCharsetRule.html delete mode 100644 python/pykde/doc/classref/khtml/DOM.CSSException.html delete mode 100644 python/pykde/doc/classref/khtml/DOM.CSSFontFaceRule.html delete mode 100644 python/pykde/doc/classref/khtml/DOM.CSSImportRule.html delete mode 100644 python/pykde/doc/classref/khtml/DOM.CSSMediaRule.html delete mode 100644 python/pykde/doc/classref/khtml/DOM.CSSPageRule.html delete mode 100644 python/pykde/doc/classref/khtml/DOM.CSSPrimitiveValue.html delete mode 100644 python/pykde/doc/classref/khtml/DOM.CSSRule.html delete mode 100644 python/pykde/doc/classref/khtml/DOM.CSSRuleList.html delete mode 100644 python/pykde/doc/classref/khtml/DOM.CSSStyleDeclaration.html delete mode 100644 python/pykde/doc/classref/khtml/DOM.CSSStyleRule.html delete mode 100644 python/pykde/doc/classref/khtml/DOM.CSSStyleSheet.html delete mode 100644 python/pykde/doc/classref/khtml/DOM.CSSUnknownRule.html delete mode 100644 python/pykde/doc/classref/khtml/DOM.CSSValue.html delete mode 100644 python/pykde/doc/classref/khtml/DOM.CSSValueList.html delete mode 100644 python/pykde/doc/classref/khtml/DOM.CharacterData.html delete mode 100644 python/pykde/doc/classref/khtml/DOM.Comment.html delete mode 100644 python/pykde/doc/classref/khtml/DOM.Counter.html delete mode 100644 python/pykde/doc/classref/khtml/DOM.CustomNodeFilter.html delete mode 100644 python/pykde/doc/classref/khtml/DOM.DOMException.html delete mode 100644 python/pykde/doc/classref/khtml/DOM.DOMImplementation.html delete mode 100644 python/pykde/doc/classref/khtml/DOM.DOMString.html delete mode 100644 python/pykde/doc/classref/khtml/DOM.Document.html delete mode 100644 python/pykde/doc/classref/khtml/DOM.DocumentFragment.html delete mode 100644 python/pykde/doc/classref/khtml/DOM.DocumentStyle.html delete mode 100644 python/pykde/doc/classref/khtml/DOM.DocumentType.html delete mode 100644 python/pykde/doc/classref/khtml/DOM.DomShared.html delete mode 100644 python/pykde/doc/classref/khtml/DOM.Element.html delete mode 100644 python/pykde/doc/classref/khtml/DOM.Entity.html delete mode 100644 python/pykde/doc/classref/khtml/DOM.EntityReference.html delete mode 100644 python/pykde/doc/classref/khtml/DOM.Event.html delete mode 100644 python/pykde/doc/classref/khtml/DOM.EventException.html delete mode 100644 python/pykde/doc/classref/khtml/DOM.EventListener.html delete mode 100644 python/pykde/doc/classref/khtml/DOM.HTMLAnchorElement.html delete mode 100644 python/pykde/doc/classref/khtml/DOM.HTMLAppletElement.html delete mode 100644 python/pykde/doc/classref/khtml/DOM.HTMLAreaElement.html delete mode 100644 python/pykde/doc/classref/khtml/DOM.HTMLBRElement.html delete mode 100644 python/pykde/doc/classref/khtml/DOM.HTMLBaseElement.html delete mode 100644 python/pykde/doc/classref/khtml/DOM.HTMLBaseFontElement.html delete mode 100644 python/pykde/doc/classref/khtml/DOM.HTMLBlockquoteElement.html delete mode 100644 python/pykde/doc/classref/khtml/DOM.HTMLBodyElement.html delete mode 100644 python/pykde/doc/classref/khtml/DOM.HTMLButtonElement.html delete mode 100644 python/pykde/doc/classref/khtml/DOM.HTMLCollection.html delete mode 100644 python/pykde/doc/classref/khtml/DOM.HTMLDListElement.html delete mode 100644 python/pykde/doc/classref/khtml/DOM.HTMLDirectoryElement.html delete mode 100644 python/pykde/doc/classref/khtml/DOM.HTMLDivElement.html delete mode 100644 python/pykde/doc/classref/khtml/DOM.HTMLDocument.html delete mode 100644 python/pykde/doc/classref/khtml/DOM.HTMLElement.html delete mode 100644 python/pykde/doc/classref/khtml/DOM.HTMLFieldSetElement.html delete mode 100644 python/pykde/doc/classref/khtml/DOM.HTMLFontElement.html delete mode 100644 python/pykde/doc/classref/khtml/DOM.HTMLFormElement.html delete mode 100644 python/pykde/doc/classref/khtml/DOM.HTMLFrameElement.html delete mode 100644 python/pykde/doc/classref/khtml/DOM.HTMLFrameSetElement.html delete mode 100644 python/pykde/doc/classref/khtml/DOM.HTMLHRElement.html delete mode 100644 python/pykde/doc/classref/khtml/DOM.HTMLHeadElement.html delete mode 100644 python/pykde/doc/classref/khtml/DOM.HTMLHeadingElement.html delete mode 100644 python/pykde/doc/classref/khtml/DOM.HTMLHtmlElement.html delete mode 100644 python/pykde/doc/classref/khtml/DOM.HTMLIFrameElement.html delete mode 100644 python/pykde/doc/classref/khtml/DOM.HTMLImageElement.html delete mode 100644 python/pykde/doc/classref/khtml/DOM.HTMLInputElement.html delete mode 100644 python/pykde/doc/classref/khtml/DOM.HTMLIsIndexElement.html delete mode 100644 python/pykde/doc/classref/khtml/DOM.HTMLLIElement.html delete mode 100644 python/pykde/doc/classref/khtml/DOM.HTMLLabelElement.html delete mode 100644 python/pykde/doc/classref/khtml/DOM.HTMLLayerElement.html delete mode 100644 python/pykde/doc/classref/khtml/DOM.HTMLLegendElement.html delete mode 100644 python/pykde/doc/classref/khtml/DOM.HTMLLinkElement.html delete mode 100644 python/pykde/doc/classref/khtml/DOM.HTMLMapElement.html delete mode 100644 python/pykde/doc/classref/khtml/DOM.HTMLMenuElement.html delete mode 100644 python/pykde/doc/classref/khtml/DOM.HTMLMetaElement.html delete mode 100644 python/pykde/doc/classref/khtml/DOM.HTMLModElement.html delete mode 100644 python/pykde/doc/classref/khtml/DOM.HTMLOListElement.html delete mode 100644 python/pykde/doc/classref/khtml/DOM.HTMLObjectElement.html delete mode 100644 python/pykde/doc/classref/khtml/DOM.HTMLOptGroupElement.html delete mode 100644 python/pykde/doc/classref/khtml/DOM.HTMLOptionElement.html delete mode 100644 python/pykde/doc/classref/khtml/DOM.HTMLParagraphElement.html delete mode 100644 python/pykde/doc/classref/khtml/DOM.HTMLParamElement.html delete mode 100644 python/pykde/doc/classref/khtml/DOM.HTMLPreElement.html delete mode 100644 python/pykde/doc/classref/khtml/DOM.HTMLQuoteElement.html delete mode 100644 python/pykde/doc/classref/khtml/DOM.HTMLScriptElement.html delete mode 100644 python/pykde/doc/classref/khtml/DOM.HTMLSelectElement.html delete mode 100644 python/pykde/doc/classref/khtml/DOM.HTMLStyleElement.html delete mode 100644 python/pykde/doc/classref/khtml/DOM.HTMLTableCaptionElement.html delete mode 100644 python/pykde/doc/classref/khtml/DOM.HTMLTableCellElement.html delete mode 100644 python/pykde/doc/classref/khtml/DOM.HTMLTableColElement.html delete mode 100644 python/pykde/doc/classref/khtml/DOM.HTMLTableElement.html delete mode 100644 python/pykde/doc/classref/khtml/DOM.HTMLTableRowElement.html delete mode 100644 python/pykde/doc/classref/khtml/DOM.HTMLTableSectionElement.html delete mode 100644 python/pykde/doc/classref/khtml/DOM.HTMLTextAreaElement.html delete mode 100644 python/pykde/doc/classref/khtml/DOM.HTMLTitleElement.html delete mode 100644 python/pykde/doc/classref/khtml/DOM.HTMLUListElement.html delete mode 100644 python/pykde/doc/classref/khtml/DOM.LinkStyle.html delete mode 100644 python/pykde/doc/classref/khtml/DOM.MediaList.html delete mode 100644 python/pykde/doc/classref/khtml/DOM.MouseEvent.html delete mode 100644 python/pykde/doc/classref/khtml/DOM.MutationEvent.html delete mode 100644 python/pykde/doc/classref/khtml/DOM.NamedNodeMap.html delete mode 100644 python/pykde/doc/classref/khtml/DOM.Node.html delete mode 100644 python/pykde/doc/classref/khtml/DOM.NodeFilter.html delete mode 100644 python/pykde/doc/classref/khtml/DOM.NodeIterator.html delete mode 100644 python/pykde/doc/classref/khtml/DOM.NodeList.html delete mode 100644 python/pykde/doc/classref/khtml/DOM.Notation.html delete mode 100644 python/pykde/doc/classref/khtml/DOM.ProcessingInstruction.html delete mode 100644 python/pykde/doc/classref/khtml/DOM.RGBColor.html delete mode 100644 python/pykde/doc/classref/khtml/DOM.Range.html delete mode 100644 python/pykde/doc/classref/khtml/DOM.RangeException.html delete mode 100644 python/pykde/doc/classref/khtml/DOM.Rect.html delete mode 100644 python/pykde/doc/classref/khtml/DOM.StyleSheet.html delete mode 100644 python/pykde/doc/classref/khtml/DOM.StyleSheetList.html delete mode 100644 python/pykde/doc/classref/khtml/DOM.Text.html delete mode 100644 python/pykde/doc/classref/khtml/DOM.TextEvent.html delete mode 100644 python/pykde/doc/classref/khtml/DOM.TreeWalker.html delete mode 100644 python/pykde/doc/classref/khtml/DOM.UIEvent.html delete mode 100644 python/pykde/doc/classref/khtml/DOM.html delete mode 100644 python/pykde/doc/classref/khtml/KHTMLPart.html delete mode 100644 python/pykde/doc/classref/khtml/KHTMLSettings.html delete mode 100644 python/pykde/doc/classref/khtml/KHTMLView.html delete mode 100644 python/pykde/doc/classref/khtml/index.html delete mode 100644 python/pykde/doc/classref/khtml/khtml-globals.html delete mode 100644 python/pykde/doc/classref/kio/KACL.html delete mode 100644 python/pykde/doc/classref/kio/KAr.html delete mode 100644 python/pykde/doc/classref/kio/KArchive.html delete mode 100644 python/pykde/doc/classref/kio/KArchiveDirectory.html delete mode 100644 python/pykde/doc/classref/kio/KArchiveEntry.html delete mode 100644 python/pykde/doc/classref/kio/KArchiveFile.html delete mode 100644 python/pykde/doc/classref/kio/KAutoMount.html delete mode 100644 python/pykde/doc/classref/kio/KAutoUnmount.html delete mode 100644 python/pykde/doc/classref/kio/KDCOPServiceStarter.html delete mode 100644 python/pykde/doc/classref/kio/KDEDesktopMimeType.Service.html delete mode 100644 python/pykde/doc/classref/kio/KDEDesktopMimeType.html delete mode 100644 python/pykde/doc/classref/kio/KDataTool.html delete mode 100644 python/pykde/doc/classref/kio/KDataToolAction.html delete mode 100644 python/pykde/doc/classref/kio/KDataToolInfo.html delete mode 100644 python/pykde/doc/classref/kio/KDirLister.html delete mode 100644 python/pykde/doc/classref/kio/KDirNotify.html delete mode 100644 python/pykde/doc/classref/kio/KDirWatch.html delete mode 100644 python/pykde/doc/classref/kio/KEMailSettings.html delete mode 100644 python/pykde/doc/classref/kio/KExecMimeType.html delete mode 100644 python/pykde/doc/classref/kio/KFileFilter.html delete mode 100644 python/pykde/doc/classref/kio/KFileItem.html delete mode 100644 python/pykde/doc/classref/kio/KFileMetaInfo.html delete mode 100644 python/pykde/doc/classref/kio/KFileMetaInfoGroup.html delete mode 100644 python/pykde/doc/classref/kio/KFileMetaInfoItem.html delete mode 100644 python/pykde/doc/classref/kio/KFileMetaInfoProvider.html delete mode 100644 python/pykde/doc/classref/kio/KFileMimeTypeInfo.GroupInfo.html delete mode 100644 python/pykde/doc/classref/kio/KFileMimeTypeInfo.ItemInfo.html delete mode 100644 python/pykde/doc/classref/kio/KFileMimeTypeInfo.html delete mode 100644 python/pykde/doc/classref/kio/KFilePlugin.html delete mode 100644 python/pykde/doc/classref/kio/KFileShare.html delete mode 100644 python/pykde/doc/classref/kio/KFileSharePrivate.html delete mode 100644 python/pykde/doc/classref/kio/KFilterBase.html delete mode 100644 python/pykde/doc/classref/kio/KFilterDev.html delete mode 100644 python/pykde/doc/classref/kio/KFolderType.html delete mode 100644 python/pykde/doc/classref/kio/KIO.AuthInfo.html delete mode 100644 python/pykde/doc/classref/kio/KIO.ChmodJob.html delete mode 100644 python/pykde/doc/classref/kio/KIO.Connection.html delete mode 100644 python/pykde/doc/classref/kio/KIO.CopyInfo.html delete mode 100644 python/pykde/doc/classref/kio/KIO.CopyJob.html delete mode 100644 python/pykde/doc/classref/kio/KIO.DavJob.html delete mode 100644 python/pykde/doc/classref/kio/KIO.DefaultProgress.html delete mode 100644 python/pykde/doc/classref/kio/KIO.DeleteJob.html delete mode 100644 python/pykde/doc/classref/kio/KIO.DirectCopyJob.html delete mode 100644 python/pykde/doc/classref/kio/KIO.FileCopyJob.html delete mode 100644 python/pykde/doc/classref/kio/KIO.ForwardingSlaveBase.html delete mode 100644 python/pykde/doc/classref/kio/KIO.Job.html delete mode 100644 python/pykde/doc/classref/kio/KIO.ListJob.html delete mode 100644 python/pykde/doc/classref/kio/KIO.MetaInfoJob.html delete mode 100644 python/pykde/doc/classref/kio/KIO.MimetypeJob.html delete mode 100644 python/pykde/doc/classref/kio/KIO.MkdirJob.html delete mode 100644 python/pykde/doc/classref/kio/KIO.MultiGetJob.html delete mode 100644 python/pykde/doc/classref/kio/KIO.NetAccess.html delete mode 100644 python/pykde/doc/classref/kio/KIO.NetRC.AutoLogin.html delete mode 100644 python/pykde/doc/classref/kio/KIO.NetRC.html delete mode 100644 python/pykde/doc/classref/kio/KIO.PasswordDialog.html delete mode 100644 python/pykde/doc/classref/kio/KIO.PreviewJob.html delete mode 100644 python/pykde/doc/classref/kio/KIO.ProgressBase.html delete mode 100644 python/pykde/doc/classref/kio/KIO.Scheduler.html delete mode 100644 python/pykde/doc/classref/kio/KIO.SessionData.html delete mode 100644 python/pykde/doc/classref/kio/KIO.SimpleJob.html delete mode 100644 python/pykde/doc/classref/kio/KIO.Slave.html delete mode 100644 python/pykde/doc/classref/kio/KIO.SlaveBase.html delete mode 100644 python/pykde/doc/classref/kio/KIO.SlaveConfig.html delete mode 100644 python/pykde/doc/classref/kio/KIO.SlaveInterface.html delete mode 100644 python/pykde/doc/classref/kio/KIO.StatJob.html delete mode 100644 python/pykde/doc/classref/kio/KIO.StatusbarProgress.html delete mode 100644 python/pykde/doc/classref/kio/KIO.StoredTransferJob.html delete mode 100644 python/pykde/doc/classref/kio/KIO.TCPSlaveBase.html delete mode 100644 python/pykde/doc/classref/kio/KIO.Task.html delete mode 100644 python/pykde/doc/classref/kio/KIO.TransferJob.html delete mode 100644 python/pykde/doc/classref/kio/KIO.UDSAtom.html delete mode 100644 python/pykde/doc/classref/kio/KIO.html delete mode 100644 python/pykde/doc/classref/kio/KImageIO.html delete mode 100644 python/pykde/doc/classref/kio/KMimeMagic.html delete mode 100644 python/pykde/doc/classref/kio/KMimeMagicResult.html delete mode 100644 python/pykde/doc/classref/kio/KMimeType.Format.html delete mode 100644 python/pykde/doc/classref/kio/KMimeType.html delete mode 100644 python/pykde/doc/classref/kio/KMimeTypeChooser.html delete mode 100644 python/pykde/doc/classref/kio/KMimeTypeChooserDialog.html delete mode 100644 python/pykde/doc/classref/kio/KNFSShare.html delete mode 100644 python/pykde/doc/classref/kio/KOCRDialog.html delete mode 100644 python/pykde/doc/classref/kio/KOCRDialogFactory.html delete mode 100644 python/pykde/doc/classref/kio/KOpenWithHandler.html delete mode 100644 python/pykde/doc/classref/kio/KProcessRunner.html delete mode 100644 python/pykde/doc/classref/kio/KProtocolInfo.ExtraField.html delete mode 100644 python/pykde/doc/classref/kio/KProtocolInfo.html delete mode 100644 python/pykde/doc/classref/kio/KProtocolManager.html delete mode 100644 python/pykde/doc/classref/kio/KRemoteEncoding.html delete mode 100644 python/pykde/doc/classref/kio/KRun.html delete mode 100644 python/pykde/doc/classref/kio/KSambaShare.html delete mode 100644 python/pykde/doc/classref/kio/KScanDialog.html delete mode 100644 python/pykde/doc/classref/kio/KScanDialogFactory.html delete mode 100644 python/pykde/doc/classref/kio/KService.html delete mode 100644 python/pykde/doc/classref/kio/KServiceGroup.html delete mode 100644 python/pykde/doc/classref/kio/KServiceOffer.html delete mode 100644 python/pykde/doc/classref/kio/KServiceSeparator.html delete mode 100644 python/pykde/doc/classref/kio/KServiceType.html delete mode 100644 python/pykde/doc/classref/kio/KServiceTypeProfile.html delete mode 100644 python/pykde/doc/classref/kio/KShellCompletion.html delete mode 100644 python/pykde/doc/classref/kio/KShred.html delete mode 100644 python/pykde/doc/classref/kio/KSimpleFileFilter.html delete mode 100644 python/pykde/doc/classref/kio/KSycoca.html delete mode 100644 python/pykde/doc/classref/kio/KSycocaDict.html delete mode 100644 python/pykde/doc/classref/kio/KSycocaEntry.html delete mode 100644 python/pykde/doc/classref/kio/KSycocaFactory.html delete mode 100644 python/pykde/doc/classref/kio/KTar.html delete mode 100644 python/pykde/doc/classref/kio/KTrader.html delete mode 100644 python/pykde/doc/classref/kio/KURIFilter.html delete mode 100644 python/pykde/doc/classref/kio/KURIFilterData.html delete mode 100644 python/pykde/doc/classref/kio/KURIFilterPlugin.html delete mode 100644 python/pykde/doc/classref/kio/KURLCompletion.html delete mode 100644 python/pykde/doc/classref/kio/KURLPixmapProvider.html delete mode 100644 python/pykde/doc/classref/kio/KZip.html delete mode 100644 python/pykde/doc/classref/kio/KZipFileEntry.html delete mode 100644 python/pykde/doc/classref/kio/Observer.html delete mode 100644 python/pykde/doc/classref/kio/RenameDlgPlugin.html delete mode 100644 python/pykde/doc/classref/kio/ThumbCreator.html delete mode 100644 python/pykde/doc/classref/kio/index.html delete mode 100644 python/pykde/doc/classref/kio/kio-globals.html delete mode 100644 python/pykde/doc/classref/kmdi/KMdi.html delete mode 100644 python/pykde/doc/classref/kmdi/KMdiChildArea.html delete mode 100644 python/pykde/doc/classref/kmdi/KMdiChildFrm.html delete mode 100644 python/pykde/doc/classref/kmdi/KMdiChildFrmCaption.html delete mode 100644 python/pykde/doc/classref/kmdi/KMdiChildFrmDragBeginEvent.html delete mode 100644 python/pykde/doc/classref/kmdi/KMdiChildFrmDragEndEvent.html delete mode 100644 python/pykde/doc/classref/kmdi/KMdiChildFrmMoveEvent.html delete mode 100644 python/pykde/doc/classref/kmdi/KMdiChildFrmResizeBeginEvent.html delete mode 100644 python/pykde/doc/classref/kmdi/KMdiChildFrmResizeEndEvent.html delete mode 100644 python/pykde/doc/classref/kmdi/KMdiChildView.html delete mode 100644 python/pykde/doc/classref/kmdi/KMdiMainFrm.html delete mode 100644 python/pykde/doc/classref/kmdi/KMdiTaskBar.html delete mode 100644 python/pykde/doc/classref/kmdi/KMdiTaskBarButton.html delete mode 100644 python/pykde/doc/classref/kmdi/KMdiToolViewAccessor.html delete mode 100644 python/pykde/doc/classref/kmdi/KMdiViewCloseEvent.html delete mode 100644 python/pykde/doc/classref/kmdi/KMdiWin32IconButton.html delete mode 100644 python/pykde/doc/classref/kmdi/index.html delete mode 100644 python/pykde/doc/classref/kmdi/kmdi-globals.html delete mode 100644 python/pykde/doc/classref/kparts/ExtTerminalInterface.html delete mode 100644 python/pykde/doc/classref/kparts/KParts.BrowserExtension.html delete mode 100644 python/pykde/doc/classref/kparts/KParts.BrowserHostExtension.html delete mode 100644 python/pykde/doc/classref/kparts/KParts.BrowserInterface.html delete mode 100644 python/pykde/doc/classref/kparts/KParts.BrowserRun.html delete mode 100644 python/pykde/doc/classref/kparts/KParts.DockMainWindow.html delete mode 100644 python/pykde/doc/classref/kparts/KParts.Event.html delete mode 100644 python/pykde/doc/classref/kparts/KParts.Factory.html delete mode 100644 python/pykde/doc/classref/kparts/KParts.GUIActivateEvent.html delete mode 100644 python/pykde/doc/classref/kparts/KParts.HistoryProvider.html delete mode 100644 python/pykde/doc/classref/kparts/KParts.LiveConnectExtension.html delete mode 100644 python/pykde/doc/classref/kparts/KParts.MainWindow.html delete mode 100644 python/pykde/doc/classref/kparts/KParts.OpenURLEvent.html delete mode 100644 python/pykde/doc/classref/kparts/KParts.Part.html delete mode 100644 python/pykde/doc/classref/kparts/KParts.PartActivateEvent.html delete mode 100644 python/pykde/doc/classref/kparts/KParts.PartBase.html delete mode 100644 python/pykde/doc/classref/kparts/KParts.PartManager.html delete mode 100644 python/pykde/doc/classref/kparts/KParts.PartSelectEvent.html delete mode 100644 python/pykde/doc/classref/kparts/KParts.Plugin.PluginInfo.html delete mode 100644 python/pykde/doc/classref/kparts/KParts.Plugin.html delete mode 100644 python/pykde/doc/classref/kparts/KParts.ReadOnlyPart.html delete mode 100644 python/pykde/doc/classref/kparts/KParts.ReadWritePart.html delete mode 100644 python/pykde/doc/classref/kparts/KParts.StatusBarExtension.html delete mode 100644 python/pykde/doc/classref/kparts/KParts.URLArgs.html delete mode 100644 python/pykde/doc/classref/kparts/KParts.WindowArgs.html delete mode 100644 python/pykde/doc/classref/kparts/KParts.html delete mode 100644 python/pykde/doc/classref/kparts/TerminalInterface.html delete mode 100644 python/pykde/doc/classref/kparts/index.html delete mode 100644 python/pykde/doc/classref/kparts/konsoleBrowserExtension.html delete mode 100644 python/pykde/doc/classref/kparts/konsoleFactory.html delete mode 100644 python/pykde/doc/classref/kparts/konsolePart.html delete mode 100644 python/pykde/doc/classref/kparts/kparts-globals.html delete mode 100644 python/pykde/doc/classref/kresources/KRES.ConfigDialog.html delete mode 100644 python/pykde/doc/classref/kresources/KRES.ConfigWidget.html delete mode 100644 python/pykde/doc/classref/kresources/KRES.Factory.html delete mode 100644 python/pykde/doc/classref/kresources/KRES.PluginFactoryBase.html delete mode 100644 python/pykde/doc/classref/kresources/KRES.Resource.html delete mode 100644 python/pykde/doc/classref/kresources/KRES.ResourcePageInfo.html delete mode 100644 python/pykde/doc/classref/kresources/KRES.SelectDialog.html delete mode 100644 python/pykde/doc/classref/kresources/KRES.html delete mode 100644 python/pykde/doc/classref/kresources/index.html delete mode 100644 python/pykde/doc/classref/kspell/KDictSpellingHighlighter.html delete mode 100644 python/pykde/doc/classref/kspell/KSpell.html delete mode 100644 python/pykde/doc/classref/kspell/KSpellConfig.html delete mode 100644 python/pykde/doc/classref/kspell/KSpellDlg.html delete mode 100644 python/pykde/doc/classref/kspell/KSpellingHighlighter.html delete mode 100644 python/pykde/doc/classref/kspell/KSyntaxHighlighter.html delete mode 100644 python/pykde/doc/classref/kspell/index.html delete mode 100644 python/pykde/doc/classref/kspell/kspell-globals.html delete mode 100644 python/pykde/doc/classref/kutils/KCModuleContainer.html delete mode 100644 python/pykde/doc/classref/kutils/KCModuleInfo.html delete mode 100644 python/pykde/doc/classref/kutils/KCModuleLoader.html delete mode 100644 python/pykde/doc/classref/kutils/KCModuleProxy.html delete mode 100644 python/pykde/doc/classref/kutils/KCMultiDialog.html delete mode 100644 python/pykde/doc/classref/kutils/KFind.html delete mode 100644 python/pykde/doc/classref/kutils/KFindDialog.html delete mode 100644 python/pykde/doc/classref/kutils/KMultiTabBar.html delete mode 100644 python/pykde/doc/classref/kutils/KMultiTabBarButton.html delete mode 100644 python/pykde/doc/classref/kutils/KMultiTabBarTab.html delete mode 100644 python/pykde/doc/classref/kutils/KPluginInfo.html delete mode 100644 python/pykde/doc/classref/kutils/KPluginSelector.html delete mode 100644 python/pykde/doc/classref/kutils/KReplace.html delete mode 100644 python/pykde/doc/classref/kutils/KReplaceDialog.html delete mode 100644 python/pykde/doc/classref/kutils/index.html delete mode 100644 python/pykde/doc/dcopext.html delete mode 100644 python/pykde/doc/examples.html delete mode 100644 python/pykde/doc/images/kdcop1.png delete mode 100644 python/pykde/doc/images/kdcop2.png delete mode 100644 python/pykde/doc/images/khtmlpart.png delete mode 100644 python/pykde/doc/images/mimetype.png delete mode 100644 python/pykde/doc/images/uisampler.png delete mode 100644 python/pykde/doc/index.html delete mode 100644 python/pykde/doc/index1.html delete mode 100644 python/pykde/doc/install.html delete mode 100644 python/pykde/doc/kde.css delete mode 100644 python/pykde/doc/libpythonize.html delete mode 100644 python/pykde/doc/limits.html delete mode 100644 python/pykde/doc/signal.html delete mode 100644 python/pykde/doc/static.html delete mode 100644 python/pykde/doc/switches.html delete mode 100644 python/pykde/doc/trouble.html delete mode 100644 python/pykde/examples/README delete mode 100644 python/pykde/examples/aboutkde.png delete mode 100644 python/pykde/examples/astron.png delete mode 100644 python/pykde/examples/example_dcopexport.py delete mode 100644 python/pykde/examples/example_dcopext.py delete mode 100644 python/pykde/examples/kdeform1.ui delete mode 100644 python/pykde/examples/kdeform1.ui.h delete mode 100644 python/pykde/examples/kpartgui.dtd delete mode 100644 python/pykde/examples/kurldemo.py delete mode 100644 python/pykde/examples/menudemo.py delete mode 100644 python/pykde/examples/mimetype.py delete mode 100644 python/pykde/examples/pyKHTMLPart.py delete mode 100644 python/pykde/examples/pykde-sampler/HOWTO.samples delete mode 100644 python/pykde/examples/pykde-sampler/TODO delete mode 100644 python/pykde/examples/pykde-sampler/__init__.py delete mode 100644 python/pykde/examples/pykde-sampler/about.py delete mode 100644 python/pykde/examples/pykde-sampler/basic_widgets/__init__.py delete mode 100644 python/pykde/examples/pykde-sampler/basic_widgets/datepicker.py delete mode 100644 python/pykde/examples/pykde-sampler/basic_widgets/historycombo.py delete mode 100644 python/pykde/examples/pykde-sampler/contributors.txt delete mode 100644 python/pykde/examples/pykde-sampler/dialogs/__init__.py delete mode 100644 python/pykde/examples/pykde-sampler/dialogs/about/__init__.py delete mode 100644 python/pykde/examples/pykde-sampler/dialogs/about/aboutapp.py delete mode 100644 python/pykde/examples/pykde-sampler/dialogs/about/aboutkde.py delete mode 100644 python/pykde/examples/pykde-sampler/dialogs/bugreport.py delete mode 100644 python/pykde/examples/pykde-sampler/dialogs/color.py delete mode 100644 python/pykde/examples/pykde-sampler/dialogs/config.py delete mode 100644 python/pykde/examples/pykde-sampler/dialogs/edfind.py delete mode 100644 python/pykde/examples/pykde-sampler/dialogs/edreplace.py delete mode 100644 python/pykde/examples/pykde-sampler/dialogs/font.py delete mode 100644 python/pykde/examples/pykde-sampler/dialogs/input.py delete mode 100644 python/pykde/examples/pykde-sampler/dialogs/key.py delete mode 100644 python/pykde/examples/pykde-sampler/dialogs/msgbox.py delete mode 100644 python/pykde/examples/pykde-sampler/dialogs/passwd.py delete mode 100644 python/pykde/examples/pykde-sampler/dialogs/progress.py delete mode 100644 python/pykde/examples/pykde-sampler/dialogs/tip.py delete mode 100644 python/pykde/examples/pykde-sampler/dialogs/tips delete mode 100644 python/pykde/examples/pykde-sampler/gen_todo.py delete mode 100644 python/pykde/examples/pykde-sampler/icon_handling/__init__.py delete mode 100644 python/pykde/examples/pykde-sampler/icon_handling/misc.py delete mode 100644 python/pykde/examples/pykde-sampler/icon_handling/sizes.py delete mode 100644 python/pykde/examples/pykde-sampler/lib.py delete mode 100644 python/pykde/examples/pykde-sampler/misc/__init__.py delete mode 100644 python/pykde/examples/pykde-sampler/misc/gradientselect.py delete mode 100644 python/pykde/examples/pykde-sampler/misc/passivepop.py delete mode 100644 python/pykde/examples/pykde-sampler/misc/window_info.py delete mode 100644 python/pykde/examples/pykde-sampler/qt_widgets/CONTRIB delete mode 100644 python/pykde/examples/pykde-sampler/qt_widgets/__init__.py delete mode 100644 python/pykde/examples/pykde-sampler/qt_widgets/table.py delete mode 100644 python/pykde/examples/pykde-sampler/runner.py delete mode 100644 python/pykde/examples/pykde-sampler/sampler.py delete mode 100644 python/pykde/examples/pykde-sampler/sampler.rc delete mode 100644 python/pykde/examples/pykde-sampler/wizards/__init__.py delete mode 100644 python/pykde/examples/pykde-sampler/wizards/wiz.py delete mode 100644 python/pykde/examples/pykde-sampler/xwin/__init__.py delete mode 100644 python/pykde/examples/pytestimage.png delete mode 100644 python/pykde/examples/qxembed_example.png delete mode 100644 python/pykde/examples/qxembedexample.py delete mode 100644 python/pykde/examples/qxembedexample.ui delete mode 100644 python/pykde/examples/systray.py delete mode 100644 python/pykde/examples/uikmdi.py delete mode 100644 python/pykde/examples/uikmdi.rc delete mode 100644 python/pykde/examples/uimodules/uidialogs.py delete mode 100644 python/pykde/examples/uimodules/uimenus.py delete mode 100644 python/pykde/examples/uimodules/uimisc.py delete mode 100644 python/pykde/examples/uimodules/uiwidgets.py delete mode 100644 python/pykde/examples/uimodules/uixml.py delete mode 100644 python/pykde/examples/uiqxembed.py delete mode 100644 python/pykde/examples/uisampler.py delete mode 100644 python/pykde/examples/xmlmenudemo.py delete mode 100644 python/pykde/examples/xmlmenudemoui.rc delete mode 100644 python/pykde/extensions/dcopexport.py delete mode 100644 python/pykde/extensions/dcopext.py delete mode 100644 python/pykde/extra/kde300/kaccelaction.h delete mode 100644 python/pykde/extra/kde300/kaccelbase.h delete mode 100644 python/pykde/extra/kde300/kicontheme.h delete mode 100644 python/pykde/extra/kde300/kkeyserver_x11.h delete mode 100644 python/pykde/extra/kde300/konsole_part.h delete mode 100644 python/pykde/extra/kde300/krecentdirs.h delete mode 100644 python/pykde/extra/kde300/ksycocafactory.h delete mode 100644 python/pykde/extra/kde300/ktoolbarbutton.h delete mode 100644 python/pykde/extra/kde300/kurifilter.h delete mode 100644 python/pykde/extra/kde301/kaccelaction.h delete mode 100644 python/pykde/extra/kde301/kaccelbase.h delete mode 100644 python/pykde/extra/kde301/kicontheme.h delete mode 100644 python/pykde/extra/kde301/kkeyserver_x11.h delete mode 100644 python/pykde/extra/kde301/konsole_part.h delete mode 100644 python/pykde/extra/kde301/krecentdirs.h delete mode 100644 python/pykde/extra/kde301/ksycocafactory.h delete mode 100644 python/pykde/extra/kde301/ktoolbarbutton.h delete mode 100644 python/pykde/extra/kde301/kurifilter.h delete mode 100644 python/pykde/extra/kde303/kaccelaction.h delete mode 100644 python/pykde/extra/kde303/kaccelbase.h delete mode 100644 python/pykde/extra/kde303/kicontheme.h delete mode 100644 python/pykde/extra/kde303/kkeyserver_x11.h delete mode 100644 python/pykde/extra/kde303/konsole_part.h delete mode 100644 python/pykde/extra/kde303/krecentdirs.h delete mode 100644 python/pykde/extra/kde303/ksycocafactory.h delete mode 100644 python/pykde/extra/kde303/ktoolbarbutton.h delete mode 100644 python/pykde/extra/kde303/kurifilter.h delete mode 100644 python/pykde/extra/kde310/kaccelaction.h delete mode 100644 python/pykde/extra/kde310/kaccelbase.h delete mode 100644 python/pykde/extra/kde310/kicontheme.h delete mode 100644 python/pykde/extra/kde310/kkeyserver_x11.h delete mode 100644 python/pykde/extra/kde310/konsole_part.h delete mode 100644 python/pykde/extra/kde310/kpanelmenu.h delete mode 100644 python/pykde/extra/kde310/krecentdirs.h delete mode 100644 python/pykde/extra/kde310/ksycocafactory.h delete mode 100644 python/pykde/extra/kde310/ktoolbarbutton.h delete mode 100644 python/pykde/extra/kde310/kurifilter.h delete mode 100644 python/pykde/extra/kde311/kaccelaction.h delete mode 100644 python/pykde/extra/kde311/kaccelbase.h delete mode 100644 python/pykde/extra/kde311/kicontheme.h delete mode 100644 python/pykde/extra/kde311/kkeyserver_x11.h delete mode 100644 python/pykde/extra/kde311/konsole_part.h delete mode 100644 python/pykde/extra/kde311/kpanelmenu.h delete mode 100644 python/pykde/extra/kde311/krecentdirs.h delete mode 100644 python/pykde/extra/kde311/ksycocafactory.h delete mode 100644 python/pykde/extra/kde311/ktoolbarbutton.h delete mode 100644 python/pykde/extra/kde311/kurifilter.h delete mode 100644 python/pykde/extra/kde312/kaccelaction.h delete mode 100644 python/pykde/extra/kde312/kaccelbase.h delete mode 100644 python/pykde/extra/kde312/kicontheme.h delete mode 100644 python/pykde/extra/kde312/kkeyserver_x11.h delete mode 100644 python/pykde/extra/kde312/konsole_part.h delete mode 100644 python/pykde/extra/kde312/kpanelmenu.h delete mode 100644 python/pykde/extra/kde312/krecentdirs.h delete mode 100644 python/pykde/extra/kde312/ksycocafactory.h delete mode 100644 python/pykde/extra/kde312/ktoolbarbutton.h delete mode 100644 python/pykde/extra/kde312/kurifilter.h delete mode 100644 python/pykde/extra/kde313/kaccelaction.h delete mode 100644 python/pykde/extra/kde313/kaccelbase.h delete mode 100644 python/pykde/extra/kde313/kicontheme.h delete mode 100644 python/pykde/extra/kde313/kkeyserver_x11.h delete mode 100644 python/pykde/extra/kde313/konsole_part.h delete mode 100644 python/pykde/extra/kde313/kpanelmenu.h delete mode 100644 python/pykde/extra/kde313/krecentdirs.h delete mode 100644 python/pykde/extra/kde313/ksycocafactory.h delete mode 100644 python/pykde/extra/kde313/ktoolbarbutton.h delete mode 100644 python/pykde/extra/kde313/kurifilter.h delete mode 100644 python/pykde/extra/kde314/kaccelaction.h delete mode 100644 python/pykde/extra/kde314/kaccelbase.h delete mode 100644 python/pykde/extra/kde314/kicontheme.h delete mode 100644 python/pykde/extra/kde314/kkeyserver_x11.h delete mode 100644 python/pykde/extra/kde314/konsole_part.h delete mode 100644 python/pykde/extra/kde314/kpanelmenu.h delete mode 100644 python/pykde/extra/kde314/krecentdirs.h delete mode 100644 python/pykde/extra/kde314/ksycocafactory.h delete mode 100644 python/pykde/extra/kde314/ktoolbarbutton.h delete mode 100644 python/pykde/extra/kde314/kurifilter.h delete mode 100644 python/pykde/extra/kde315/kaccelaction.h delete mode 100644 python/pykde/extra/kde315/kaccelbase.h delete mode 100644 python/pykde/extra/kde315/kicontheme.h delete mode 100644 python/pykde/extra/kde315/kkeyserver_x11.h delete mode 100644 python/pykde/extra/kde315/konsole_part.h delete mode 100644 python/pykde/extra/kde315/kpanelmenu.h delete mode 100644 python/pykde/extra/kde315/krecentdirs.h delete mode 100644 python/pykde/extra/kde315/ksycocafactory.h delete mode 100644 python/pykde/extra/kde315/ktoolbarbutton.h delete mode 100644 python/pykde/extra/kde315/kurifilter.h delete mode 100644 python/pykde/extra/kde320/configwidget.h delete mode 100644 python/pykde/extra/kde320/kaccelaction.h delete mode 100644 python/pykde/extra/kde320/kaccelbase.h delete mode 100644 python/pykde/extra/kde320/kicontheme.h delete mode 100644 python/pykde/extra/kde320/kkeyserver_x11.h delete mode 100644 python/pykde/extra/kde320/konsole_part.h delete mode 100644 python/pykde/extra/kde320/kpanelmenu.h delete mode 100644 python/pykde/extra/kde320/krecentdirs.h delete mode 100644 python/pykde/extra/kde320/ksharedptr.h delete mode 100644 python/pykde/extra/kde320/ksycocafactory.h delete mode 100644 python/pykde/extra/kde320/ktoolbarbutton.h delete mode 100644 python/pykde/extra/kde320/kurifilter.h delete mode 100644 python/pykde/extra/kde320/selectdialog.h delete mode 100644 python/pykde/extra/kde321/configwidget.h delete mode 100644 python/pykde/extra/kde321/kaccelaction.h delete mode 100644 python/pykde/extra/kde321/kaccelbase.h delete mode 100644 python/pykde/extra/kde321/kicontheme.h delete mode 100644 python/pykde/extra/kde321/kkeyserver_x11.h delete mode 100644 python/pykde/extra/kde321/konsole_part.h delete mode 100644 python/pykde/extra/kde321/kpanelmenu.h delete mode 100644 python/pykde/extra/kde321/krecentdirs.h delete mode 100644 python/pykde/extra/kde321/ksharedptr.h delete mode 100644 python/pykde/extra/kde321/ksycocafactory.h delete mode 100644 python/pykde/extra/kde321/ktoolbarbutton.h delete mode 100644 python/pykde/extra/kde321/kurifilter.h delete mode 100644 python/pykde/extra/kde321/selectdialog.h delete mode 100644 python/pykde/extra/kde322/configwidget.h delete mode 100644 python/pykde/extra/kde322/kaccelaction.h delete mode 100644 python/pykde/extra/kde322/kaccelbase.h delete mode 100644 python/pykde/extra/kde322/kicontheme.h delete mode 100644 python/pykde/extra/kde322/kkeyserver_x11.h delete mode 100644 python/pykde/extra/kde322/konsole_part.h delete mode 100644 python/pykde/extra/kde322/kpanelmenu.h delete mode 100644 python/pykde/extra/kde322/krecentdirs.h delete mode 100644 python/pykde/extra/kde322/ksharedptr.h delete mode 100644 python/pykde/extra/kde322/ksycocafactory.h delete mode 100644 python/pykde/extra/kde322/ktoolbarbutton.h delete mode 100644 python/pykde/extra/kde322/kurifilter.h delete mode 100644 python/pykde/extra/kde322/selectdialog.h delete mode 100644 python/pykde/extra/kde323/configwidget.h delete mode 100644 python/pykde/extra/kde323/kaccelaction.h delete mode 100644 python/pykde/extra/kde323/kaccelbase.h delete mode 100644 python/pykde/extra/kde323/kicontheme.h delete mode 100644 python/pykde/extra/kde323/kkeyserver_x11.h delete mode 100644 python/pykde/extra/kde323/konsole_part.h delete mode 100644 python/pykde/extra/kde323/kpanelmenu.h delete mode 100644 python/pykde/extra/kde323/krecentdirs.h delete mode 100644 python/pykde/extra/kde323/ksharedptr.h delete mode 100644 python/pykde/extra/kde323/ksycocafactory.h delete mode 100644 python/pykde/extra/kde323/ktoolbarbutton.h delete mode 100644 python/pykde/extra/kde323/kurifilter.h delete mode 100644 python/pykde/extra/kde323/selectdialog.h delete mode 100644 python/pykde/extra/kde330/configwidget.h delete mode 100644 python/pykde/extra/kde330/kaccelaction.h delete mode 100644 python/pykde/extra/kde330/kaccelbase.h delete mode 100644 python/pykde/extra/kde330/kicontheme.h delete mode 100644 python/pykde/extra/kde330/kkeyserver_x11.h delete mode 100644 python/pykde/extra/kde330/konsole_part.h delete mode 100644 python/pykde/extra/kde330/kpanelmenu.h delete mode 100644 python/pykde/extra/kde330/krecentdirs.h delete mode 100644 python/pykde/extra/kde330/ksharedptr.h delete mode 100644 python/pykde/extra/kde330/ksycocafactory.h delete mode 100644 python/pykde/extra/kde330/ktoolbarbutton.h delete mode 100644 python/pykde/extra/kde330/kurifilter.h delete mode 100644 python/pykde/extra/kde330/selectdialog.h delete mode 100644 python/pykde/extra/kde331/configwidget.h delete mode 100644 python/pykde/extra/kde331/kaccelaction.h delete mode 100644 python/pykde/extra/kde331/kaccelbase.h delete mode 100644 python/pykde/extra/kde331/kicontheme.h delete mode 100644 python/pykde/extra/kde331/kkeyserver_x11.h delete mode 100644 python/pykde/extra/kde331/konsole_part.h delete mode 100644 python/pykde/extra/kde331/kpanelmenu.h delete mode 100644 python/pykde/extra/kde331/krecentdirs.h delete mode 100644 python/pykde/extra/kde331/ksharedptr.h delete mode 100644 python/pykde/extra/kde331/ksycocafactory.h delete mode 100644 python/pykde/extra/kde331/ktoolbarbutton.h delete mode 100644 python/pykde/extra/kde331/kurifilter.h delete mode 100644 python/pykde/extra/kde331/selectdialog.h delete mode 100644 python/pykde/extra/kde332/configwidget.h delete mode 100644 python/pykde/extra/kde332/kaccelaction.h delete mode 100644 python/pykde/extra/kde332/kaccelbase.h delete mode 100644 python/pykde/extra/kde332/kicontheme.h delete mode 100644 python/pykde/extra/kde332/kkeyserver_x11.h delete mode 100644 python/pykde/extra/kde332/konsole_part.h delete mode 100644 python/pykde/extra/kde332/kpanelmenu.h delete mode 100644 python/pykde/extra/kde332/krecentdirs.h delete mode 100644 python/pykde/extra/kde332/ksharedptr.h delete mode 100644 python/pykde/extra/kde332/ksycocafactory.h delete mode 100644 python/pykde/extra/kde332/ktoolbarbutton.h delete mode 100644 python/pykde/extra/kde332/kurifilter.h delete mode 100644 python/pykde/extra/kde332/selectdialog.h delete mode 100644 python/pykde/extra/kde340/configwidget.h delete mode 100644 python/pykde/extra/kde340/kaccelaction.h delete mode 100644 python/pykde/extra/kde340/kaccelbase.h delete mode 100644 python/pykde/extra/kde340/kicontheme.h delete mode 100644 python/pykde/extra/kde340/kkeyserver.h delete mode 100644 python/pykde/extra/kde340/kkeyserver_x11.h delete mode 100644 python/pykde/extra/kde340/konsole_part.h delete mode 100644 python/pykde/extra/kde340/kpanelmenu.h delete mode 100644 python/pykde/extra/kde340/krecentdirs.h delete mode 100644 python/pykde/extra/kde340/ksharedptr.h delete mode 100644 python/pykde/extra/kde340/ksycocafactory.h delete mode 100644 python/pykde/extra/kde340/ktoolbarbutton.h delete mode 100644 python/pykde/extra/kde340/kurifilter.h delete mode 100644 python/pykde/extra/kde340/selectdialog.h delete mode 100644 python/pykde/extra/kde341/configwidget.h delete mode 100644 python/pykde/extra/kde341/kaccelaction.h delete mode 100644 python/pykde/extra/kde341/kaccelbase.h delete mode 100644 python/pykde/extra/kde341/kicontheme.h delete mode 100644 python/pykde/extra/kde341/kkeyserver.h delete mode 100644 python/pykde/extra/kde341/kkeyserver_x11.h delete mode 100644 python/pykde/extra/kde341/konsole_part.h delete mode 100644 python/pykde/extra/kde341/kpanelmenu.h delete mode 100644 python/pykde/extra/kde341/krecentdirs.h delete mode 100644 python/pykde/extra/kde341/ksharedptr.h delete mode 100644 python/pykde/extra/kde341/ksycocafactory.h delete mode 100644 python/pykde/extra/kde341/ktoolbarbutton.h delete mode 100644 python/pykde/extra/kde341/kurifilter.h delete mode 100644 python/pykde/extra/kde341/selectdialog.h delete mode 100644 python/pykde/extra/kde342/configwidget.h delete mode 100644 python/pykde/extra/kde342/kaccelaction.h delete mode 100644 python/pykde/extra/kde342/kaccelbase.h delete mode 100644 python/pykde/extra/kde342/kicontheme.h delete mode 100644 python/pykde/extra/kde342/kkeyserver.h delete mode 100644 python/pykde/extra/kde342/kkeyserver_x11.h delete mode 100644 python/pykde/extra/kde342/konsole_part.h delete mode 100644 python/pykde/extra/kde342/kpanelmenu.h delete mode 100644 python/pykde/extra/kde342/krecentdirs.h delete mode 100644 python/pykde/extra/kde342/ksharedptr.h delete mode 100644 python/pykde/extra/kde342/ksycocafactory.h delete mode 100644 python/pykde/extra/kde342/ktoolbarbutton.h delete mode 100644 python/pykde/extra/kde342/kurifilter.h delete mode 100644 python/pykde/extra/kde342/selectdialog.h delete mode 100644 python/pykde/extra/kde343/configwidget.h delete mode 100644 python/pykde/extra/kde343/kaccelaction.h delete mode 100644 python/pykde/extra/kde343/kaccelbase.h delete mode 100644 python/pykde/extra/kde343/kicontheme.h delete mode 100644 python/pykde/extra/kde343/kkeyserver.h delete mode 100644 python/pykde/extra/kde343/kkeyserver_x11.h delete mode 100644 python/pykde/extra/kde343/konsole_part.h delete mode 100644 python/pykde/extra/kde343/kpanelmenu.h delete mode 100644 python/pykde/extra/kde343/krecentdirs.h delete mode 100644 python/pykde/extra/kde343/ksharedptr.h delete mode 100644 python/pykde/extra/kde343/ksycocafactory.h delete mode 100644 python/pykde/extra/kde343/ktoolbarbutton.h delete mode 100644 python/pykde/extra/kde343/kurifilter.h delete mode 100644 python/pykde/extra/kde343/selectdialog.h delete mode 100644 python/pykde/extra/kde350/configwidget.h delete mode 100644 python/pykde/extra/kde350/kaccelaction.h delete mode 100644 python/pykde/extra/kde350/kaccelbase.h delete mode 100644 python/pykde/extra/kde350/kicontheme.h delete mode 100644 python/pykde/extra/kde350/kkeyserver.h delete mode 100644 python/pykde/extra/kde350/kkeyserver_x11.h delete mode 100644 python/pykde/extra/kde350/konsole_part.h delete mode 100644 python/pykde/extra/kde350/kpanelmenu.h delete mode 100644 python/pykde/extra/kde350/krecentdirs.h delete mode 100644 python/pykde/extra/kde350/ksharedptr.h delete mode 100644 python/pykde/extra/kde350/ksycocafactory.h delete mode 100644 python/pykde/extra/kde350/ktoolbarbutton.h delete mode 100644 python/pykde/extra/kde350/kurifilter.h delete mode 100644 python/pykde/extra/kde350/selectdialog.h delete mode 100644 python/pykde/extra/kde351/kaccelaction.h delete mode 100644 python/pykde/extra/kde351/kaccelbase.h delete mode 100644 python/pykde/extra/kde351/kicontheme.h delete mode 100644 python/pykde/extra/kde351/kkeyserver.h delete mode 100644 python/pykde/extra/kde351/kkeyserver_x11.h delete mode 100644 python/pykde/extra/kde351/konsole_part.h delete mode 100644 python/pykde/extra/kde351/kpanelmenu.h delete mode 100644 python/pykde/extra/kde351/ksharedptr.h delete mode 100644 python/pykde/extra/kde351/ksycocafactory.h delete mode 100644 python/pykde/extra/kde351/ktoolbarbutton.h delete mode 100644 python/pykde/extra/kde351/kurifilter.h delete mode 100644 python/pykde/extra/kde352/kaccelaction.h delete mode 100644 python/pykde/extra/kde352/kaccelbase.h delete mode 100644 python/pykde/extra/kde352/kicontheme.h delete mode 100644 python/pykde/extra/kde352/kkeyserver.h delete mode 100644 python/pykde/extra/kde352/kkeyserver_x11.h delete mode 100644 python/pykde/extra/kde352/konsole_part.h delete mode 100644 python/pykde/extra/kde352/kpanelmenu.h delete mode 100644 python/pykde/extra/kde352/ksharedptr.h delete mode 100644 python/pykde/extra/kde352/ksycocafactory.h delete mode 100644 python/pykde/extra/kde352/ktoolbarbutton.h delete mode 100644 python/pykde/extra/kde352/kurifilter.h delete mode 100644 python/pykde/extra/kde353/kaccelaction.h delete mode 100644 python/pykde/extra/kde353/kaccelbase.h delete mode 100644 python/pykde/extra/kde353/kicontheme.h delete mode 100644 python/pykde/extra/kde353/kkeyserver.h delete mode 100644 python/pykde/extra/kde353/kkeyserver_x11.h delete mode 100644 python/pykde/extra/kde353/konsole_part.h delete mode 100644 python/pykde/extra/kde353/kpanelmenu.h delete mode 100644 python/pykde/extra/kde353/ksharedptr.h delete mode 100644 python/pykde/extra/kde353/ksycocafactory.h delete mode 100644 python/pykde/extra/kde353/ktoolbarbutton.h delete mode 100644 python/pykde/extra/kde353/kurifilter.h delete mode 100644 python/pykde/importTest.py delete mode 100755 python/pykde/postproc delete mode 100644 python/pykde/pykde350.prj delete mode 100644 python/pykde/pykde351.prj delete mode 100644 python/pykde/pykde352.prj delete mode 100644 python/pykde/pykdeconfig.py.in delete mode 100644 python/pykde/sip/dcop/dcopclient.sip delete mode 100644 python/pykde/sip/dcop/dcopmod.sip delete mode 100644 python/pykde/sip/dcop/dcopmod.sip.in delete mode 100644 python/pykde/sip/dcop/dcopobject.sip delete mode 100644 python/pykde/sip/dcop/dcopref.sip delete mode 100644 python/pykde/sip/dcop/dcopstub.sip delete mode 100644 python/pykde/sip/dcop/typedefs.sip delete mode 100644 python/pykde/sip/glossary.html delete mode 100644 python/pykde/sip/kabc/address.sip delete mode 100644 python/pykde/sip/kabc/addressbook.sip delete mode 100644 python/pykde/sip/kabc/addressee.sip delete mode 100644 python/pykde/sip/kabc/addresseedialog.sip delete mode 100644 python/pykde/sip/kabc/addresseelist.sip delete mode 100644 python/pykde/sip/kabc/addresslineedit.sip delete mode 100644 python/pykde/sip/kabc/agent.sip delete mode 100644 python/pykde/sip/kabc/distributionlist.sip delete mode 100644 python/pykde/sip/kabc/distributionlistdialog.sip delete mode 100644 python/pykde/sip/kabc/distributionlisteditor.sip delete mode 100644 python/pykde/sip/kabc/errorhandler.sip delete mode 100644 python/pykde/sip/kabc/field.sip delete mode 100644 python/pykde/sip/kabc/format.sip delete mode 100644 python/pykde/sip/kabc/formatfactory.sip delete mode 100644 python/pykde/sip/kabc/formatplugin.sip delete mode 100644 python/pykde/sip/kabc/geo.sip delete mode 100644 python/pykde/sip/kabc/kabc-kde310.diff delete mode 100644 python/pykde/sip/kabc/kabc-kde311.diff delete mode 100644 python/pykde/sip/kabc/kabc-kde312.diff delete mode 100644 python/pykde/sip/kabc/kabc-kde313.diff delete mode 100644 python/pykde/sip/kabc/kabc-kde314.diff delete mode 100644 python/pykde/sip/kabc/kabc-kde320.diff delete mode 100644 python/pykde/sip/kabc/kabc-kde322.diff delete mode 100644 python/pykde/sip/kabc/kabc-kde323.diff delete mode 100644 python/pykde/sip/kabc/kabc-kde330.diff delete mode 100644 python/pykde/sip/kabc/kabc-kde331.diff delete mode 100644 python/pykde/sip/kabc/kabc-kde332.diff delete mode 100644 python/pykde/sip/kabc/kabc-kde340.diff delete mode 100644 python/pykde/sip/kabc/kabc-kde341.diff delete mode 100644 python/pykde/sip/kabc/kabc-kde342.diff delete mode 100644 python/pykde/sip/kabc/kabc-kde343.diff delete mode 100644 python/pykde/sip/kabc/kabc-kde350.diff delete mode 100644 python/pykde/sip/kabc/kabc-kde351.diff delete mode 100644 python/pykde/sip/kabc/kabc-kde352.diff delete mode 100644 python/pykde/sip/kabc/kabc-kde353.diff delete mode 100644 python/pykde/sip/kabc/kabcmod.sip delete mode 100644 python/pykde/sip/kabc/kabcmod.sip.in delete mode 100644 python/pykde/sip/kabc/key.sip delete mode 100644 python/pykde/sip/kabc/ldapclient.sip delete mode 100644 python/pykde/sip/kabc/ldapconfigwidget.sip delete mode 100644 python/pykde/sip/kabc/ldapurl.sip delete mode 100644 python/pykde/sip/kabc/ldif.sip delete mode 100644 python/pykde/sip/kabc/ldifconverter.sip delete mode 100644 python/pykde/sip/kabc/lock.sip delete mode 100644 python/pykde/sip/kabc/locknull.sip delete mode 100644 python/pykde/sip/kabc/phonenumber.sip delete mode 100644 python/pykde/sip/kabc/picture.sip delete mode 100644 python/pykde/sip/kabc/plugin.sip delete mode 100644 python/pykde/sip/kabc/resource.sip delete mode 100644 python/pykde/sip/kabc/resourcefile.sip delete mode 100644 python/pykde/sip/kabc/resourceselectdialog.sip delete mode 100644 python/pykde/sip/kabc/secrecy.sip delete mode 100644 python/pykde/sip/kabc/sortmode.sip delete mode 100644 python/pykde/sip/kabc/sound.sip delete mode 100644 python/pykde/sip/kabc/stdaddressbook.sip delete mode 100644 python/pykde/sip/kabc/timezone.sip delete mode 100644 python/pykde/sip/kabc/vcardconverter.sip delete mode 100644 python/pykde/sip/kabc/vcardformat.sip delete mode 100644 python/pykde/sip/kabc/vcardformatplugin.sip delete mode 100644 python/pykde/sip/kdecore/bytearray.sip delete mode 100644 python/pykde/sip/kdecore/fixx11h.sip delete mode 100644 python/pykde/sip/kdecore/kaboutdata.sip delete mode 100644 python/pykde/sip/kdecore/kaccel.sip delete mode 100644 python/pykde/sip/kdecore/kaccelaction.sip delete mode 100644 python/pykde/sip/kdecore/kaccelbase.sip delete mode 100644 python/pykde/sip/kdecore/kallocator.sip delete mode 100644 python/pykde/sip/kdecore/kapplication.sip delete mode 100644 python/pykde/sip/kdecore/kasyncio.sip delete mode 100644 python/pykde/sip/kdecore/kaudioplayer.sip delete mode 100644 python/pykde/sip/kdecore/kbufferedio.sip delete mode 100644 python/pykde/sip/kdecore/kcalendarsystem.sip delete mode 100644 python/pykde/sip/kdecore/kcalendarsystemfactory.sip delete mode 100644 python/pykde/sip/kdecore/kcatalogue.sip delete mode 100644 python/pykde/sip/kdecore/kcharsets.sip delete mode 100644 python/pykde/sip/kdecore/kclipboard.sip delete mode 100644 python/pykde/sip/kdecore/kcmdlineargs.sip delete mode 100644 python/pykde/sip/kdecore/kcompletion.sip delete mode 100644 python/pykde/sip/kdecore/kconfig.sip delete mode 100644 python/pykde/sip/kdecore/kconfigbackend.sip delete mode 100644 python/pykde/sip/kdecore/kconfigbase.sip delete mode 100644 python/pykde/sip/kdecore/kconfigdata.sip delete mode 100644 python/pykde/sip/kdecore/kconfigdialogmanager.sip delete mode 100644 python/pykde/sip/kdecore/kconfigskeleton.sip delete mode 100644 python/pykde/sip/kdecore/kcrash.sip delete mode 100644 python/pykde/sip/kdecore/kdcoppropertyproxy.sip delete mode 100644 python/pykde/sip/kdecore/kdebug.sip delete mode 100644 python/pykde/sip/kdecore/kdecore-kde310.diff delete mode 100644 python/pykde/sip/kdecore/kdecore-kde311.diff delete mode 100644 python/pykde/sip/kdecore/kdecore-kde312.diff delete mode 100644 python/pykde/sip/kdecore/kdecore-kde313.diff delete mode 100644 python/pykde/sip/kdecore/kdecore-kde314.diff delete mode 100644 python/pykde/sip/kdecore/kdecore-kde315.diff delete mode 100644 python/pykde/sip/kdecore/kdecore-kde320.diff delete mode 100644 python/pykde/sip/kdecore/kdecore-kde321.diff delete mode 100644 python/pykde/sip/kdecore/kdecore-kde322.diff delete mode 100644 python/pykde/sip/kdecore/kdecore-kde323.diff delete mode 100644 python/pykde/sip/kdecore/kdecore-kde330.diff delete mode 100644 python/pykde/sip/kdecore/kdecore-kde331.diff delete mode 100644 python/pykde/sip/kdecore/kdecore-kde332.diff delete mode 100644 python/pykde/sip/kdecore/kdecore-kde340.diff delete mode 100644 python/pykde/sip/kdecore/kdecore-kde341.diff delete mode 100644 python/pykde/sip/kdecore/kdecore-kde342.diff delete mode 100644 python/pykde/sip/kdecore/kdecore-kde343.diff delete mode 100644 python/pykde/sip/kdecore/kdecore-kde350.diff delete mode 100644 python/pykde/sip/kdecore/kdecore-kde351.diff delete mode 100644 python/pykde/sip/kdecore/kdecore-kde352.diff delete mode 100644 python/pykde/sip/kdecore/kdecore-kde353.diff delete mode 100644 python/pykde/sip/kdecore/kdecoremod.sip.in delete mode 100644 python/pykde/sip/kdecore/kdesktopfile.sip delete mode 100644 python/pykde/sip/kdecore/kdesktopwidget.sip delete mode 100644 python/pykde/sip/kdecore/kdestyle.sip delete mode 100644 python/pykde/sip/kdecore/kdeversion.sip delete mode 100644 python/pykde/sip/kdecore/kglobal.sip delete mode 100644 python/pykde/sip/kdecore/kglobalaccel.sip delete mode 100644 python/pykde/sip/kdecore/kglobalsettings.sip delete mode 100644 python/pykde/sip/kdecore/kiconeffect.sip delete mode 100644 python/pykde/sip/kdecore/kiconloader.sip delete mode 100644 python/pykde/sip/kdecore/kicontheme.sip delete mode 100644 python/pykde/sip/kdecore/kidna.sip delete mode 100644 python/pykde/sip/kdecore/kinstance.sip delete mode 100644 python/pykde/sip/kdecore/kipc.sip delete mode 100644 python/pykde/sip/kdecore/kkeynative.sip delete mode 100644 python/pykde/sip/kdecore/kkeyserver_x11.sip delete mode 100644 python/pykde/sip/kdecore/klibloader.sip delete mode 100644 python/pykde/sip/kdecore/klocale.sip delete mode 100644 python/pykde/sip/kdecore/klockfile.sip delete mode 100644 python/pykde/sip/kdecore/kmacroexpander.sip delete mode 100644 python/pykde/sip/kdecore/kmanagerselection.sip delete mode 100644 python/pykde/sip/kdecore/kmdcodec.sip delete mode 100644 python/pykde/sip/kdecore/kmimesourcefactory.sip delete mode 100644 python/pykde/sip/kdecore/kmountpoint.sip delete mode 100644 python/pykde/sip/kdecore/kmultipledrag.sip delete mode 100644 python/pykde/sip/kdecore/knotifyclient.sip delete mode 100644 python/pykde/sip/kdecore/kpalette.sip delete mode 100644 python/pykde/sip/kdecore/kpixmapprovider.sip delete mode 100644 python/pykde/sip/kdecore/kprocctrl.sip delete mode 100644 python/pykde/sip/kdecore/kprocess.sip delete mode 100644 python/pykde/sip/kdecore/kprocio.sip delete mode 100644 python/pykde/sip/kdecore/kpty.sip delete mode 100644 python/pykde/sip/kdecore/krandomsequence.sip delete mode 100644 python/pykde/sip/kdecore/kregexp.sip delete mode 100644 python/pykde/sip/kdecore/krfcdate.sip delete mode 100644 python/pykde/sip/kdecore/krootprop.sip delete mode 100644 python/pykde/sip/kdecore/ksavefile.sip delete mode 100644 python/pykde/sip/kdecore/ksharedptr.sip delete mode 100644 python/pykde/sip/kdecore/kshell.sip delete mode 100644 python/pykde/sip/kdecore/kshortcut.sip delete mode 100644 python/pykde/sip/kdecore/kshortcutlist.sip delete mode 100644 python/pykde/sip/kdecore/ksimpleconfig.sip delete mode 100644 python/pykde/sip/kdecore/ksock.sip delete mode 100644 python/pykde/sip/kdecore/kstartupinfo.sip delete mode 100644 python/pykde/sip/kdecore/kstaticdeleter.sip delete mode 100644 python/pykde/sip/kdecore/kstdaccel.sip delete mode 100644 python/pykde/sip/kdecore/kstddirs.sip delete mode 100644 python/pykde/sip/kdecore/kstringhandler.sip delete mode 100644 python/pykde/sip/kdecore/ktempdir.sip delete mode 100644 python/pykde/sip/kdecore/ktempfile.sip delete mode 100644 python/pykde/sip/kdecore/ktimezones.sip delete mode 100644 python/pykde/sip/kdecore/kuniqueapplication.sip delete mode 100644 python/pykde/sip/kdecore/kurl.sip delete mode 100644 python/pykde/sip/kdecore/kurldrag.sip delete mode 100644 python/pykde/sip/kdecore/kuser.sip delete mode 100644 python/pykde/sip/kdecore/kvmallocator.sip delete mode 100644 python/pykde/sip/kdecore/kwin.sip delete mode 100644 python/pykde/sip/kdecore/kwinmodule.sip delete mode 100644 python/pykde/sip/kdecore/kxmessages.sip delete mode 100644 python/pykde/sip/kdecore/netwm.sip delete mode 100644 python/pykde/sip/kdecore/netwm_def.sip delete mode 100644 python/pykde/sip/kdefx/kcpuinfo.sip delete mode 100644 python/pykde/sip/kdefx/kdefx-kde320.diff delete mode 100644 python/pykde/sip/kdefx/kdefx-kde321.diff delete mode 100644 python/pykde/sip/kdefx/kdefx-kde322.diff delete mode 100644 python/pykde/sip/kdefx/kdefx-kde323.diff delete mode 100644 python/pykde/sip/kdefx/kdefx-kde330.diff delete mode 100644 python/pykde/sip/kdefx/kdefx-kde331.diff delete mode 100644 python/pykde/sip/kdefx/kdefx-kde332.diff delete mode 100644 python/pykde/sip/kdefx/kdefx-kde340.diff delete mode 100644 python/pykde/sip/kdefx/kdefx-kde341.diff delete mode 100644 python/pykde/sip/kdefx/kdefx-kde342.diff delete mode 100644 python/pykde/sip/kdefx/kdefx-kde343.diff delete mode 100644 python/pykde/sip/kdefx/kdefx-kde350.diff delete mode 100644 python/pykde/sip/kdefx/kdefx-kde351.diff delete mode 100644 python/pykde/sip/kdefx/kdefx-kde352.diff delete mode 100644 python/pykde/sip/kdefx/kdefx-kde353.diff delete mode 100644 python/pykde/sip/kdefx/kdefxmod.sip delete mode 100644 python/pykde/sip/kdefx/kdefxmod.sip.in delete mode 100644 python/pykde/sip/kdefx/kdrawutil.sip delete mode 100644 python/pykde/sip/kdefx/kimageeffect.sip delete mode 100644 python/pykde/sip/kdefx/kpixmap.sip delete mode 100644 python/pykde/sip/kdefx/kpixmapeffect.sip delete mode 100644 python/pykde/sip/kdefx/kpixmapsplitter.sip delete mode 100644 python/pykde/sip/kdefx/kstyle.sip delete mode 100644 python/pykde/sip/kdeprint/driver.sip delete mode 100644 python/pykde/sip/kdeprint/kdeprint-kde310.diff delete mode 100644 python/pykde/sip/kdeprint/kdeprint-kde311.diff delete mode 100644 python/pykde/sip/kdeprint/kdeprint-kde312.diff delete mode 100644 python/pykde/sip/kdeprint/kdeprint-kde313.diff delete mode 100644 python/pykde/sip/kdeprint/kdeprint-kde314.diff delete mode 100644 python/pykde/sip/kdeprint/kdeprint-kde315.diff delete mode 100644 python/pykde/sip/kdeprint/kdeprint-kde320.diff delete mode 100644 python/pykde/sip/kdeprint/kdeprint-kde321.diff delete mode 100644 python/pykde/sip/kdeprint/kdeprint-kde322.diff delete mode 100644 python/pykde/sip/kdeprint/kdeprint-kde323.diff delete mode 100644 python/pykde/sip/kdeprint/kdeprint-kde330.diff delete mode 100644 python/pykde/sip/kdeprint/kdeprint-kde331.diff delete mode 100644 python/pykde/sip/kdeprint/kdeprint-kde332.diff delete mode 100644 python/pykde/sip/kdeprint/kdeprint-kde340.diff delete mode 100644 python/pykde/sip/kdeprint/kdeprint-kde341.diff delete mode 100644 python/pykde/sip/kdeprint/kdeprint-kde342.diff delete mode 100644 python/pykde/sip/kdeprint/kdeprint-kde343.diff delete mode 100644 python/pykde/sip/kdeprint/kdeprint-kde350.diff delete mode 100644 python/pykde/sip/kdeprint/kdeprint-kde351.diff delete mode 100644 python/pykde/sip/kdeprint/kdeprint-kde352.diff delete mode 100644 python/pykde/sip/kdeprint/kdeprint-kde353.diff delete mode 100644 python/pykde/sip/kdeprint/kdeprintmod.sip delete mode 100644 python/pykde/sip/kdeprint/kdeprintmod.sip.in delete mode 100644 python/pykde/sip/kdeprint/kmjob.sip delete mode 100644 python/pykde/sip/kdeprint/kmjobmanager.sip delete mode 100644 python/pykde/sip/kdeprint/kmmanager.sip delete mode 100644 python/pykde/sip/kdeprint/kmobject.sip delete mode 100644 python/pykde/sip/kdeprint/kmprinter.sip delete mode 100644 python/pykde/sip/kdeprint/kpreloadobject.sip delete mode 100644 python/pykde/sip/kdeprint/kprintaction.sip delete mode 100644 python/pykde/sip/kdeprint/kprintdialog.sip delete mode 100644 python/pykde/sip/kdeprint/kprintdialogpage.sip delete mode 100644 python/pykde/sip/kdeprint/kprinter.sip delete mode 100644 python/pykde/sip/kdeui/kaboutapplication.sip delete mode 100644 python/pykde/sip/kdeui/kaboutdialog.sip delete mode 100644 python/pykde/sip/kdeui/kaboutkde.sip delete mode 100644 python/pykde/sip/kdeui/kaccelmanager.sip delete mode 100644 python/pykde/sip/kdeui/kaccelmenu.sip delete mode 100644 python/pykde/sip/kdeui/kaction.sip delete mode 100644 python/pykde/sip/kdeui/kactionclasses.sip delete mode 100644 python/pykde/sip/kdeui/kactioncollection.sip delete mode 100644 python/pykde/sip/kdeui/kactionselector.sip delete mode 100644 python/pykde/sip/kdeui/kactionshortcutlist.sip delete mode 100644 python/pykde/sip/kdeui/kactivelabel.sip delete mode 100644 python/pykde/sip/kdeui/kalphapainter.sip delete mode 100644 python/pykde/sip/kdeui/kanimwidget.sip delete mode 100644 python/pykde/sip/kdeui/karrowbutton.sip delete mode 100644 python/pykde/sip/kdeui/kauthicon.sip delete mode 100644 python/pykde/sip/kdeui/kbugreport.sip delete mode 100644 python/pykde/sip/kdeui/kbuttonbox.sip delete mode 100644 python/pykde/sip/kdeui/kcharselect.sip delete mode 100644 python/pykde/sip/kdeui/kcmenumngr.sip delete mode 100644 python/pykde/sip/kdeui/kcmodule.sip delete mode 100644 python/pykde/sip/kdeui/kcolorbtn.sip delete mode 100644 python/pykde/sip/kdeui/kcolorcombo.sip delete mode 100644 python/pykde/sip/kdeui/kcolordialog.sip delete mode 100644 python/pykde/sip/kdeui/kcolordrag.sip delete mode 100644 python/pykde/sip/kdeui/kcombobox.sip delete mode 100644 python/pykde/sip/kdeui/kcommand.sip delete mode 100644 python/pykde/sip/kdeui/kcompletionbox.sip delete mode 100644 python/pykde/sip/kdeui/kconfigdialog.sip delete mode 100644 python/pykde/sip/kdeui/kcontainer.sip delete mode 100644 python/pykde/sip/kdeui/kcursor.sip delete mode 100644 python/pykde/sip/kdeui/kdatepicker.sip delete mode 100644 python/pykde/sip/kdeui/kdatepik.sip delete mode 100644 python/pykde/sip/kdeui/kdatetbl.sip delete mode 100644 python/pykde/sip/kdeui/kdatetimewidget.sip delete mode 100644 python/pykde/sip/kdeui/kdatewidget.sip delete mode 100644 python/pykde/sip/kdeui/kdbtn.sip delete mode 100644 python/pykde/sip/kdeui/kdcopactionproxy.sip delete mode 100644 python/pykde/sip/kdeui/kdeui-kde310.diff delete mode 100644 python/pykde/sip/kdeui/kdeui-kde311.diff delete mode 100644 python/pykde/sip/kdeui/kdeui-kde312.diff delete mode 100644 python/pykde/sip/kdeui/kdeui-kde313.diff delete mode 100644 python/pykde/sip/kdeui/kdeui-kde314.diff delete mode 100644 python/pykde/sip/kdeui/kdeui-kde315.diff delete mode 100644 python/pykde/sip/kdeui/kdeui-kde320.diff delete mode 100644 python/pykde/sip/kdeui/kdeui-kde321.diff delete mode 100644 python/pykde/sip/kdeui/kdeui-kde322.diff delete mode 100644 python/pykde/sip/kdeui/kdeui-kde323.diff delete mode 100644 python/pykde/sip/kdeui/kdeui-kde330.diff delete mode 100644 python/pykde/sip/kdeui/kdeui-kde331.diff delete mode 100644 python/pykde/sip/kdeui/kdeui-kde332.diff delete mode 100644 python/pykde/sip/kdeui/kdeui-kde340.diff delete mode 100644 python/pykde/sip/kdeui/kdeui-kde341.diff delete mode 100644 python/pykde/sip/kdeui/kdeui-kde342.diff delete mode 100644 python/pykde/sip/kdeui/kdeui-kde343.diff delete mode 100644 python/pykde/sip/kdeui/kdeui-kde350.diff delete mode 100644 python/pykde/sip/kdeui/kdeui-kde351.diff delete mode 100644 python/pykde/sip/kdeui/kdeui-kde352.diff delete mode 100644 python/pykde/sip/kdeui/kdeui-kde353.diff delete mode 100644 python/pykde/sip/kdeui/kdeuimod.sip.in delete mode 100644 python/pykde/sip/kdeui/kdialog.sip delete mode 100644 python/pykde/sip/kdeui/kdialogbase.sip delete mode 100644 python/pykde/sip/kdeui/kdocktabctl.sip delete mode 100644 python/pykde/sip/kdeui/kdockwidget.sip delete mode 100644 python/pykde/sip/kdeui/kdockwindow.sip delete mode 100644 python/pykde/sip/kdeui/kdualcolorbtn.sip delete mode 100644 python/pykde/sip/kdeui/kdualcolorbutton.sip delete mode 100644 python/pykde/sip/kdeui/keditcl.sip delete mode 100644 python/pykde/sip/kdeui/keditlistbox.sip delete mode 100644 python/pykde/sip/kdeui/kedittoolbar.sip delete mode 100644 python/pykde/sip/kdeui/kfontcombo.sip delete mode 100644 python/pykde/sip/kdeui/kfontdialog.sip delete mode 100644 python/pykde/sip/kdeui/kfontrequester.sip delete mode 100644 python/pykde/sip/kdeui/kguiitem.sip delete mode 100644 python/pykde/sip/kdeui/khelpmenu.sip delete mode 100644 python/pykde/sip/kdeui/kiconview.sip delete mode 100644 python/pykde/sip/kdeui/kiconviewsearchline.sip delete mode 100644 python/pykde/sip/kdeui/kinputdialog.sip delete mode 100644 python/pykde/sip/kdeui/kjanuswidget.sip delete mode 100644 python/pykde/sip/kdeui/kkeybutton.sip delete mode 100644 python/pykde/sip/kdeui/kkeydialog.sip delete mode 100644 python/pykde/sip/kdeui/klanguagebutton.sip delete mode 100644 python/pykde/sip/kdeui/kled.sip delete mode 100644 python/pykde/sip/kdeui/klineedit.sip delete mode 100644 python/pykde/sip/kdeui/klineeditdlg.sip delete mode 100644 python/pykde/sip/kdeui/klistbox.sip delete mode 100644 python/pykde/sip/kdeui/klistview.sip delete mode 100644 python/pykde/sip/kdeui/klistviewlineedit.sip delete mode 100644 python/pykde/sip/kdeui/klistviewsearchline.sip delete mode 100644 python/pykde/sip/kdeui/kmainwindow.sip delete mode 100644 python/pykde/sip/kdeui/kmainwindowiface.sip delete mode 100644 python/pykde/sip/kdeui/kmenubar.sip delete mode 100644 python/pykde/sip/kdeui/kmessagebox.sip delete mode 100644 python/pykde/sip/kdeui/knuminput.sip delete mode 100644 python/pykde/sip/kdeui/knumvalidator.sip delete mode 100644 python/pykde/sip/kdeui/kpanelapplet.sip delete mode 100644 python/pykde/sip/kdeui/kpanelappmenu.sip delete mode 100644 python/pykde/sip/kdeui/kpanelextension.sip delete mode 100644 python/pykde/sip/kdeui/kpanelmenu.sip delete mode 100644 python/pykde/sip/kdeui/kpassdlg.sip delete mode 100644 python/pykde/sip/kdeui/kpassivepopup.sip delete mode 100644 python/pykde/sip/kdeui/kpixmapio.sip delete mode 100644 python/pykde/sip/kdeui/kpixmapregionselectordialog.sip delete mode 100644 python/pykde/sip/kdeui/kpixmapregionselectorwidget.sip delete mode 100644 python/pykde/sip/kdeui/kpopupmenu.sip delete mode 100644 python/pykde/sip/kdeui/kprogress.sip delete mode 100644 python/pykde/sip/kdeui/kpushbutton.sip delete mode 100644 python/pykde/sip/kdeui/krestrictedline.sip delete mode 100644 python/pykde/sip/kdeui/krootpixmap.sip delete mode 100644 python/pykde/sip/kdeui/kruler.sip delete mode 100644 python/pykde/sip/kdeui/kscrollview.sip delete mode 100644 python/pykde/sip/kdeui/kselect.sip delete mode 100644 python/pykde/sip/kdeui/kseparator.sip delete mode 100644 python/pykde/sip/kdeui/ksharedpixmap.sip delete mode 100644 python/pykde/sip/kdeui/kshortcutdialog.sip delete mode 100644 python/pykde/sip/kdeui/ksplashscreen.sip delete mode 100644 python/pykde/sip/kdeui/ksqueezedtextlabel.sip delete mode 100644 python/pykde/sip/kdeui/kstatusbar.sip delete mode 100644 python/pykde/sip/kdeui/kstdaction.sip delete mode 100644 python/pykde/sip/kdeui/kstdguiitem.sip delete mode 100644 python/pykde/sip/kdeui/kstringvalidator.sip delete mode 100644 python/pykde/sip/kdeui/ksystemtray.sip delete mode 100644 python/pykde/sip/kdeui/ktabbar.sip delete mode 100644 python/pykde/sip/kdeui/ktabctl.sip delete mode 100644 python/pykde/sip/kdeui/ktabwidget.sip delete mode 100644 python/pykde/sip/kdeui/ktextbrowser.sip delete mode 100644 python/pykde/sip/kdeui/ktextedit.sip delete mode 100644 python/pykde/sip/kdeui/kthemebase.sip delete mode 100644 python/pykde/sip/kdeui/kthemestyle.sip delete mode 100644 python/pykde/sip/kdeui/ktimewidget.sip delete mode 100644 python/pykde/sip/kdeui/ktimezonewidget.sip delete mode 100644 python/pykde/sip/kdeui/ktip.sip delete mode 100644 python/pykde/sip/kdeui/ktmainwindow.sip delete mode 100644 python/pykde/sip/kdeui/ktoolbar.sip delete mode 100644 python/pykde/sip/kdeui/ktoolbarbutton.sip delete mode 100644 python/pykde/sip/kdeui/ktoolbarlabelaction.sip delete mode 100644 python/pykde/sip/kdeui/ktoolbarradiogroup.sip delete mode 100644 python/pykde/sip/kdeui/kurllabel.sip delete mode 100644 python/pykde/sip/kdeui/kwindowinfo.sip delete mode 100644 python/pykde/sip/kdeui/kwindowlistmenu.sip delete mode 100644 python/pykde/sip/kdeui/kwizard.sip delete mode 100644 python/pykde/sip/kdeui/kwordwrap.sip delete mode 100644 python/pykde/sip/kdeui/kxmlgui.sip delete mode 100644 python/pykde/sip/kdeui/kxmlguibuilder.sip delete mode 100644 python/pykde/sip/kdeui/kxmlguiclient.sip delete mode 100644 python/pykde/sip/kdeui/kxmlguifactory.sip delete mode 100644 python/pykde/sip/kdeui/qxembed.sip delete mode 100644 python/pykde/sip/kfile/booktoken.sip delete mode 100644 python/pykde/sip/kfile/kcombiview.sip delete mode 100644 python/pykde/sip/kfile/kcustommenueditor.sip delete mode 100644 python/pykde/sip/kfile/kdiroperator.sip delete mode 100644 python/pykde/sip/kfile/kdirselectdialog.sip delete mode 100644 python/pykde/sip/kfile/kdirsize.sip delete mode 100644 python/pykde/sip/kfile/kdiskfreesp.sip delete mode 100644 python/pykde/sip/kfile/kencodingfiledialog.sip delete mode 100644 python/pykde/sip/kfile/kfile-kde310.diff delete mode 100644 python/pykde/sip/kfile/kfile-kde311.diff delete mode 100644 python/pykde/sip/kfile/kfile-kde312.diff delete mode 100644 python/pykde/sip/kfile/kfile-kde313.diff delete mode 100644 python/pykde/sip/kfile/kfile-kde314.diff delete mode 100644 python/pykde/sip/kfile/kfile-kde315.diff delete mode 100644 python/pykde/sip/kfile/kfile-kde320.diff delete mode 100644 python/pykde/sip/kfile/kfile-kde321.diff delete mode 100644 python/pykde/sip/kfile/kfile-kde322.diff delete mode 100644 python/pykde/sip/kfile/kfile-kde323.diff delete mode 100644 python/pykde/sip/kfile/kfile-kde330.diff delete mode 100644 python/pykde/sip/kfile/kfile-kde331.diff delete mode 100644 python/pykde/sip/kfile/kfile-kde332.diff delete mode 100644 python/pykde/sip/kfile/kfile-kde340.diff delete mode 100644 python/pykde/sip/kfile/kfile-kde341.diff delete mode 100644 python/pykde/sip/kfile/kfile-kde342.diff delete mode 100644 python/pykde/sip/kfile/kfile-kde343.diff delete mode 100644 python/pykde/sip/kfile/kfile-kde350.diff delete mode 100644 python/pykde/sip/kfile/kfile-kde351.diff delete mode 100644 python/pykde/sip/kfile/kfile-kde352.diff delete mode 100644 python/pykde/sip/kfile/kfile-kde353.diff delete mode 100644 python/pykde/sip/kfile/kfile.sip delete mode 100644 python/pykde/sip/kfile/kfilebookmark.sip delete mode 100644 python/pykde/sip/kfile/kfiledetailview.sip delete mode 100644 python/pykde/sip/kfile/kfiledialog.sip delete mode 100644 python/pykde/sip/kfile/kfilefiltercombo.sip delete mode 100644 python/pykde/sip/kfile/kfileiconview.sip delete mode 100644 python/pykde/sip/kfile/kfilemod.sip delete mode 100644 python/pykde/sip/kfile/kfilemod.sip.in delete mode 100644 python/pykde/sip/kfile/kfilepreview.sip delete mode 100644 python/pykde/sip/kfile/kfilereader.sip delete mode 100644 python/pykde/sip/kfile/kfilesharedlg.sip delete mode 100644 python/pykde/sip/kfile/kfiletreebranch.sip delete mode 100644 python/pykde/sip/kfile/kfiletreeview.sip delete mode 100644 python/pykde/sip/kfile/kfiletreeviewitem.sip delete mode 100644 python/pykde/sip/kfile/kfileview.sip delete mode 100644 python/pykde/sip/kfile/kfileviewitem.sip delete mode 100644 python/pykde/sip/kfile/kicondialog.sip delete mode 100644 python/pykde/sip/kfile/kimagefilepreview.sip delete mode 100644 python/pykde/sip/kfile/knotifydialog.sip delete mode 100644 python/pykde/sip/kfile/knotifywidgetbase.sip delete mode 100644 python/pykde/sip/kfile/kopenwith.sip delete mode 100644 python/pykde/sip/kfile/kpreviewwidgetbase.sip delete mode 100644 python/pykde/sip/kfile/kpropertiesdialog.sip delete mode 100644 python/pykde/sip/kfile/kpropsdlg.sip delete mode 100644 python/pykde/sip/kfile/krecentdirs.sip delete mode 100644 python/pykde/sip/kfile/krecentdocument.sip delete mode 100644 python/pykde/sip/kfile/kurlbar.sip delete mode 100644 python/pykde/sip/kfile/kurlcombobox.sip delete mode 100644 python/pykde/sip/kfile/kurlrequester.sip delete mode 100644 python/pykde/sip/kfile/kurlrequesterdlg.sip delete mode 100644 python/pykde/sip/khtml/css_rule.sip delete mode 100644 python/pykde/sip/khtml/css_stylesheet.sip delete mode 100644 python/pykde/sip/khtml/css_value.sip delete mode 100644 python/pykde/sip/khtml/dom2_events.sip delete mode 100644 python/pykde/sip/khtml/dom2_range.sip delete mode 100644 python/pykde/sip/khtml/dom2_traversal.sip delete mode 100644 python/pykde/sip/khtml/dom2_views.sip delete mode 100644 python/pykde/sip/khtml/dom_doc.sip delete mode 100644 python/pykde/sip/khtml/dom_element.sip delete mode 100644 python/pykde/sip/khtml/dom_exception.sip delete mode 100644 python/pykde/sip/khtml/dom_misc.sip delete mode 100644 python/pykde/sip/khtml/dom_node.sip delete mode 100644 python/pykde/sip/khtml/dom_string.sip delete mode 100644 python/pykde/sip/khtml/dom_text.sip delete mode 100644 python/pykde/sip/khtml/dom_xml.sip delete mode 100644 python/pykde/sip/khtml/html_base.sip delete mode 100644 python/pykde/sip/khtml/html_block.sip delete mode 100644 python/pykde/sip/khtml/html_document.sip delete mode 100644 python/pykde/sip/khtml/html_element.sip delete mode 100644 python/pykde/sip/khtml/html_form.sip delete mode 100644 python/pykde/sip/khtml/html_head.sip delete mode 100644 python/pykde/sip/khtml/html_image.sip delete mode 100644 python/pykde/sip/khtml/html_inline.sip delete mode 100644 python/pykde/sip/khtml/html_list.sip delete mode 100644 python/pykde/sip/khtml/html_misc.sip delete mode 100644 python/pykde/sip/khtml/html_object.sip delete mode 100644 python/pykde/sip/khtml/html_table.sip delete mode 100644 python/pykde/sip/khtml/khtml_part.sip delete mode 100644 python/pykde/sip/khtml/khtml_part.sip.323 delete mode 100644 python/pykde/sip/khtml/khtml_part.sip.330 delete mode 100644 python/pykde/sip/khtml/khtml_settings.sip delete mode 100644 python/pykde/sip/khtml/khtmlmod.sip.in delete mode 100644 python/pykde/sip/khtml/khtmlview.sip delete mode 100644 python/pykde/sip/kio/authinfo.sip delete mode 100644 python/pykde/sip/kio/chmodjob.sip delete mode 100644 python/pykde/sip/kio/connection.sip delete mode 100644 python/pykde/sip/kio/davjob.sip delete mode 100644 python/pykde/sip/kio/defaultprogress.sip delete mode 100644 python/pykde/sip/kio/forwardingslavebase.sip delete mode 100644 python/pykde/sip/kio/global.sip delete mode 100644 python/pykde/sip/kio/job.sip delete mode 100644 python/pykde/sip/kio/jobclasses.sip delete mode 100644 python/pykde/sip/kio/kacl.sip delete mode 100644 python/pykde/sip/kio/kar.sip delete mode 100644 python/pykde/sip/kio/karchive.sip delete mode 100644 python/pykde/sip/kio/kautomount.sip delete mode 100644 python/pykde/sip/kio/kdatatool.sip delete mode 100644 python/pykde/sip/kio/kdcopservicestarter.sip delete mode 100644 python/pykde/sip/kio/kdirlister.sip delete mode 100644 python/pykde/sip/kio/kdirnotify.sip delete mode 100644 python/pykde/sip/kio/kdirwatch.sip delete mode 100644 python/pykde/sip/kio/kemailsettings.sip delete mode 100644 python/pykde/sip/kio/kfilefilter.sip delete mode 100644 python/pykde/sip/kio/kfileitem.sip delete mode 100644 python/pykde/sip/kio/kfilemetainfo.sip delete mode 100644 python/pykde/sip/kio/kfileshare.sip delete mode 100644 python/pykde/sip/kio/kfilterbase.sip delete mode 100644 python/pykde/sip/kio/kfilterdev.sip delete mode 100644 python/pykde/sip/kio/kimageio.sip delete mode 100644 python/pykde/sip/kio/kio-kde310.diff delete mode 100644 python/pykde/sip/kio/kio-kde311.diff delete mode 100644 python/pykde/sip/kio/kio-kde312.diff delete mode 100644 python/pykde/sip/kio/kio-kde313.diff delete mode 100644 python/pykde/sip/kio/kio-kde314.diff delete mode 100644 python/pykde/sip/kio/kio-kde315.diff delete mode 100644 python/pykde/sip/kio/kio-kde320.diff delete mode 100644 python/pykde/sip/kio/kio-kde321.diff delete mode 100644 python/pykde/sip/kio/kio-kde322.diff delete mode 100644 python/pykde/sip/kio/kio-kde323.diff delete mode 100644 python/pykde/sip/kio/kio-kde330.diff delete mode 100644 python/pykde/sip/kio/kio-kde331.diff delete mode 100644 python/pykde/sip/kio/kio-kde332.diff delete mode 100644 python/pykde/sip/kio/kio-kde340.diff delete mode 100644 python/pykde/sip/kio/kio-kde341.diff delete mode 100644 python/pykde/sip/kio/kio-kde342.diff delete mode 100644 python/pykde/sip/kio/kio-kde343.diff delete mode 100644 python/pykde/sip/kio/kio-kde350.diff delete mode 100644 python/pykde/sip/kio/kio-kde351.diff delete mode 100644 python/pykde/sip/kio/kio-kde352.diff delete mode 100644 python/pykde/sip/kio/kio-kde353.diff delete mode 100644 python/pykde/sip/kio/kiomod.sip delete mode 100644 python/pykde/sip/kio/kiomod.sip.in delete mode 100644 python/pykde/sip/kio/kmimemagic.sip delete mode 100644 python/pykde/sip/kio/kmimetype.sip delete mode 100644 python/pykde/sip/kio/kmimetypechooser.sip delete mode 100644 python/pykde/sip/kio/knfsshare.sip delete mode 100644 python/pykde/sip/kio/kpac.sip delete mode 100644 python/pykde/sip/kio/kprotocolinfo.sip delete mode 100644 python/pykde/sip/kio/kprotocolmanager.sip delete mode 100644 python/pykde/sip/kio/kremoteencoding.sip delete mode 100644 python/pykde/sip/kio/krun.sip delete mode 100644 python/pykde/sip/kio/ksambashare.sip delete mode 100644 python/pykde/sip/kio/kscan.sip delete mode 100644 python/pykde/sip/kio/kservice.sip delete mode 100644 python/pykde/sip/kio/kservicegroup.sip delete mode 100644 python/pykde/sip/kio/kservicetype.sip delete mode 100644 python/pykde/sip/kio/kshellcompletion.sip delete mode 100644 python/pykde/sip/kio/kshred.sip delete mode 100644 python/pykde/sip/kio/ksycoca.sip delete mode 100644 python/pykde/sip/kio/ksycocadict.sip delete mode 100644 python/pykde/sip/kio/ksycocaentry.sip delete mode 100644 python/pykde/sip/kio/ksycocafactory.sip delete mode 100644 python/pykde/sip/kio/ksycocatype.sip delete mode 100644 python/pykde/sip/kio/ktar.sip delete mode 100644 python/pykde/sip/kio/ktrader.sip delete mode 100644 python/pykde/sip/kio/kurifilter.sip delete mode 100644 python/pykde/sip/kio/kurlcompletion.sip delete mode 100644 python/pykde/sip/kio/kurlpixmapprovider.sip delete mode 100644 python/pykde/sip/kio/kuserprofile.sip delete mode 100644 python/pykde/sip/kio/kzip.sip delete mode 100644 python/pykde/sip/kio/metainfojob.sip delete mode 100644 python/pykde/sip/kio/netaccess.sip delete mode 100644 python/pykde/sip/kio/observer.sip delete mode 100644 python/pykde/sip/kio/passdlg.sip delete mode 100644 python/pykde/sip/kio/paste.sip delete mode 100644 python/pykde/sip/kio/previewjob.sip delete mode 100644 python/pykde/sip/kio/progressbase.sip delete mode 100644 python/pykde/sip/kio/renamedlg.sip delete mode 100644 python/pykde/sip/kio/renamedlgplugin.sip delete mode 100644 python/pykde/sip/kio/scheduler.sip delete mode 100644 python/pykde/sip/kio/sessiondata.sip delete mode 100644 python/pykde/sip/kio/skipdlg.sip delete mode 100644 python/pykde/sip/kio/slave.sip delete mode 100644 python/pykde/sip/kio/slavebase.sip delete mode 100644 python/pykde/sip/kio/slaveconfig.sip delete mode 100644 python/pykde/sip/kio/slaveinterface.sip delete mode 100644 python/pykde/sip/kio/statusbarprogress.sip delete mode 100644 python/pykde/sip/kio/tcpslavebase.sip delete mode 100644 python/pykde/sip/kio/thumbcreator.sip delete mode 100644 python/pykde/sip/kmdi/kmdichildarea.sip delete mode 100644 python/pykde/sip/kmdi/kmdichildfrm.sip delete mode 100644 python/pykde/sip/kmdi/kmdichildfrmcaption.sip delete mode 100644 python/pykde/sip/kmdi/kmdichildview.sip delete mode 100644 python/pykde/sip/kmdi/kmdidefines.sip delete mode 100644 python/pykde/sip/kmdi/kmdimainfrm.sip delete mode 100644 python/pykde/sip/kmdi/kmdimod.sip delete mode 100644 python/pykde/sip/kmdi/kmdimod.sip.in delete mode 100644 python/pykde/sip/kmdi/kmditaskbar.sip delete mode 100644 python/pykde/sip/kmdi/kmditoolviewaccessor.sip delete mode 100644 python/pykde/sip/kparts/browserextension.sip delete mode 100644 python/pykde/sip/kparts/browserinterface.sip delete mode 100644 python/pykde/sip/kparts/browserrun.sip delete mode 100644 python/pykde/sip/kparts/dockmainwindow.sip delete mode 100644 python/pykde/sip/kparts/event.sip delete mode 100644 python/pykde/sip/kparts/factory.sip delete mode 100644 python/pykde/sip/kparts/genericfactory.sip delete mode 100644 python/pykde/sip/kparts/historyprovider.sip delete mode 100644 python/pykde/sip/kparts/konsole_part.sip delete mode 100644 python/pykde/sip/kparts/kparts-kde320.diff delete mode 100644 python/pykde/sip/kparts/kparts-kde321.diff delete mode 100644 python/pykde/sip/kparts/kparts-kde322.diff delete mode 100644 python/pykde/sip/kparts/kparts-kde323.diff delete mode 100644 python/pykde/sip/kparts/kparts-kde330.diff delete mode 100644 python/pykde/sip/kparts/kparts-kde331.diff delete mode 100644 python/pykde/sip/kparts/kparts-kde332.diff delete mode 100644 python/pykde/sip/kparts/kparts-kde340.diff delete mode 100644 python/pykde/sip/kparts/kparts-kde341.diff delete mode 100644 python/pykde/sip/kparts/kparts-kde342.diff delete mode 100644 python/pykde/sip/kparts/kparts-kde343.diff delete mode 100644 python/pykde/sip/kparts/kparts-kde350.diff delete mode 100644 python/pykde/sip/kparts/kparts-kde351.diff delete mode 100644 python/pykde/sip/kparts/kparts-kde352.diff delete mode 100644 python/pykde/sip/kparts/kparts-kde353.diff delete mode 100644 python/pykde/sip/kparts/kpartsmod.sip delete mode 100644 python/pykde/sip/kparts/kpartsmod.sip.in delete mode 100644 python/pykde/sip/kparts/mainwindow.sip delete mode 100644 python/pykde/sip/kparts/part.sip delete mode 100644 python/pykde/sip/kparts/partmanager.sip delete mode 100644 python/pykde/sip/kparts/plugin.sip delete mode 100644 python/pykde/sip/kparts/statusbarextension.sip delete mode 100644 python/pykde/sip/kresources/configdialog.sip delete mode 100644 python/pykde/sip/kresources/configpage.sip delete mode 100644 python/pykde/sip/kresources/configwidget.sip delete mode 100644 python/pykde/sip/kresources/factory.sip delete mode 100644 python/pykde/sip/kresources/kresourcesmod.sip delete mode 100644 python/pykde/sip/kresources/kresourcesmod.sip.in delete mode 100644 python/pykde/sip/kresources/resource.sip delete mode 100644 python/pykde/sip/kresources/selectdialog.sip delete mode 100644 python/pykde/sip/kspell/ksconfig.sip delete mode 100644 python/pykde/sip/kspell/kspell-kde320.diff delete mode 100644 python/pykde/sip/kspell/kspell-kde321.diff delete mode 100644 python/pykde/sip/kspell/kspell-kde322.diff delete mode 100644 python/pykde/sip/kspell/kspell-kde323.diff delete mode 100644 python/pykde/sip/kspell/kspell-kde330.diff delete mode 100644 python/pykde/sip/kspell/kspell-kde331.diff delete mode 100644 python/pykde/sip/kspell/kspell-kde332.diff delete mode 100644 python/pykde/sip/kspell/kspell-kde340.diff delete mode 100644 python/pykde/sip/kspell/kspell-kde341.diff delete mode 100644 python/pykde/sip/kspell/kspell-kde342.diff delete mode 100644 python/pykde/sip/kspell/kspell-kde343.diff delete mode 100644 python/pykde/sip/kspell/kspell-kde350.diff delete mode 100644 python/pykde/sip/kspell/kspell-kde351.diff delete mode 100644 python/pykde/sip/kspell/kspell-kde352.diff delete mode 100644 python/pykde/sip/kspell/kspell-kde353.diff delete mode 100644 python/pykde/sip/kspell/kspell.sip delete mode 100644 python/pykde/sip/kspell/kspelldlg.sip delete mode 100644 python/pykde/sip/kspell/kspellmod.sip.in delete mode 100644 python/pykde/sip/kspell/ksyntaxhighlighter.sip delete mode 100644 python/pykde/sip/kspell2/backgroundchecker.sip delete mode 100644 python/pykde/sip/kspell2/broker.sip delete mode 100644 python/pykde/sip/kspell2/configdialog.sip delete mode 100644 python/pykde/sip/kspell2/configwidget.sip delete mode 100644 python/pykde/sip/kspell2/defaultdictionary.sip delete mode 100644 python/pykde/sip/kspell2/dialog.sip delete mode 100644 python/pykde/sip/kspell2/dictionary.sip delete mode 100644 python/pykde/sip/kspell2/filter.sip delete mode 100644 python/pykde/sip/kspell2/highlighter.sip delete mode 100644 python/pykde/sip/kspell2/kspell2mod.sip.in delete mode 100644 python/pykde/sip/kspell2/settings.sip delete mode 100644 python/pykde/sip/kutils/kcmoduleinfo.sip delete mode 100644 python/pykde/sip/kutils/kcmoduleloader.sip delete mode 100644 python/pykde/sip/kutils/kcmoduleproxy.sip delete mode 100644 python/pykde/sip/kutils/kcmultidialog.sip delete mode 100644 python/pykde/sip/kutils/kfind.sip delete mode 100644 python/pykde/sip/kutils/kfinddialog.sip delete mode 100644 python/pykde/sip/kutils/kmultitabbar.sip delete mode 100644 python/pykde/sip/kutils/kplugininfo.sip delete mode 100644 python/pykde/sip/kutils/kpluginselector.sip delete mode 100644 python/pykde/sip/kutils/kreplace.sip delete mode 100644 python/pykde/sip/kutils/kreplacedialog.sip delete mode 100644 python/pykde/sip/kutils/kutils-kde340.diff delete mode 100644 python/pykde/sip/kutils/kutils-kde341.diff delete mode 100644 python/pykde/sip/kutils/kutilsmod.sip delete mode 100644 python/pykde/sip/kutils/kutilsmod.sip.in delete mode 100644 python/pykde/svnmerge.py delete mode 100644 python/pykde/svnmergedocs.py delete mode 100644 python/pykde/templates/annotated/basicapp.py delete mode 100644 python/pykde/templates/annotated/menuapp1.py delete mode 100644 python/pykde/templates/annotated/menuapp2.py delete mode 100644 python/pykde/templates/annotated/menuapp3.py delete mode 100644 python/pykde/templates/annotated/menuapp3ui.rc delete mode 100644 python/pykde/templates/annotated/minimal.py delete mode 100644 python/pykde/templates/annotated/panelapplet.py delete mode 100644 python/pykde/templates/annotated/systray.py delete mode 100644 python/pykde/templates/annotated/systray1.py delete mode 100644 python/pykde/templates/basic/basicapp.py delete mode 100644 python/pykde/templates/basic/menuapp1.py delete mode 100644 python/pykde/templates/basic/menuapp2.py delete mode 100644 python/pykde/templates/basic/menuapp3.py delete mode 100644 python/pykde/templates/basic/menuapp3ui.rc delete mode 100644 python/pykde/templates/basic/minimal.py delete mode 100644 python/pykde/templates/basic/panelapplet.py delete mode 100644 python/pykde/templates/basic/systray.py delete mode 100644 python/pykde/templates/basic/systray1.py (limited to 'python/pykde') diff --git a/python/pykde/AUTHORS b/python/pykde/AUTHORS deleted file mode 100644 index 31812665..00000000 --- a/python/pykde/AUTHORS +++ /dev/null @@ -1,6 +0,0 @@ -Jim Bublitz (jbublitz@nwinternet.com) - PyKDE(KDE2, KDE3) - -Phil Thompson (phil@river-bank.demon.co.uk) - sip, PyQt, original PyKDE (KDE1) and loads of good advice and help - diff --git a/python/pykde/BUGS b/python/pykde/BUGS deleted file mode 100644 index e69de29b..00000000 diff --git a/python/pykde/COPYING b/python/pykde/COPYING deleted file mode 100644 index 03c41e31..00000000 --- a/python/pykde/COPYING +++ /dev/null @@ -1,343 +0,0 @@ -The GNU GENERAL PUBLIC LICENSE ------------------------------- - - GNU GENERAL PUBLIC LICENSE - Version 2, June 1991 - - Copyright (C) 1989, 1991 Free Software Foundation, Inc. - 51 Franklin Street, Fifth Floor, Boston, MA - 02110-1301, USA. - Everyone is permitted to copy and distribute verbatim copies - of this license document, but changing it is not allowed. - - Preamble - - The licenses for most software are designed to take away your -freedom to share and change it. By contrast, the GNU General Public -License is intended to guarantee your freedom to share and change free -software--to make sure the software is free for all its users. This -General Public License applies to most of the Free Software -Foundation's software and to any other program whose authors commit to -using it. (Some other Free Software Foundation software is covered by -the GNU Library General Public License instead.) You can apply it to -your programs, too. - - When we speak of free software, we are referring to freedom, not -price. Our General Public Licenses are designed to make sure that you -have the freedom to distribute copies of free software (and charge for -this service if you wish), that you receive source code or can get it -if you want it, that you can change the software or use pieces of it -in new free programs; and that you know you can do these things. - - To protect your rights, we need to make restrictions that forbid -anyone to deny you these rights or to ask you to surrender the rights. -These restrictions translate to certain responsibilities for you if you -distribute copies of the software, or if you modify it. - - For example, if you distribute copies of such a program, whether -gratis or for a fee, you must give the recipients all the rights that -you have. You must make sure that they, too, receive or can get the -source code. And you must show them these terms so they know their -rights. - - We protect your rights with two steps: (1) copyright the software, and -(2) offer you this license which gives you legal permission to copy, -distribute and/or modify the software. - - Also, for each author's protection and ours, we want to make certain -that everyone understands that there is no warranty for this free -software. If the software is modified by someone else and passed on, we -want its recipients to know that what they have is not the original, so -that any problems introduced by others will not reflect on the original -authors' reputations. - - Finally, any free program is threatened constantly by software -patents. We wish to avoid the danger that redistributors of a free -program will individually obtain patent licenses, in effect making the -program proprietary. To prevent this, we have made it clear that any -patent must be licensed for everyone's free use or not licensed at all. - - The precise terms and conditions for copying, distribution and -modification follow. - - GNU GENERAL PUBLIC LICENSE - TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION - - 0. This License applies to any program or other work which contains -a notice placed by the copyright holder saying it may be distributed -under the terms of this General Public License. The "Program", below, -refers to any such program or work, and a "work based on the Program" -means either the Program or any derivative work under copyright law: -that is to say, a work containing the Program or a portion of it, -either verbatim or with modifications and/or translated into another -language. (Hereinafter, translation is included without limitation in -the term "modification".) Each licensee is addressed as "you". - -Activities other than copying, distribution and modification are not -covered by this License; they are outside its scope. The act of -running the Program is not restricted, and the output from the Program -is covered only if its contents constitute a work based on the -Program (independent of having been made by running the Program). -Whether that is true depends on what the Program does. - - 1. You may copy and distribute verbatim copies of the Program's -source code as you receive it, in any medium, provided that you -conspicuously and appropriately publish on each copy an appropriate -copyright notice and disclaimer of warranty; keep intact all the -notices that refer to this License and to the absence of any warranty; -and give any other recipients of the Program a copy of this License -along with the Program. - -You may charge a fee for the physical act of transferring a copy, and -you may at your option offer warranty protection in exchange for a fee. - - 2. You may modify your copy or copies of the Program or any portion -of it, thus forming a work based on the Program, and copy and -distribute such modifications or work under the terms of Section 1 -above, provided that you also meet all of these conditions: - - a) You must cause the modified files to carry prominent notices - stating that you changed the files and the date of any change. - - b) You must cause any work that you distribute or publish, that in - whole or in part contains or is derived from the Program or any - part thereof, to be licensed as a whole at no charge to all third - parties under the terms of this License. - - c) If the modified program normally reads commands interactively - when run, you must cause it, when started running for such - interactive use in the most ordinary way, to print or display an - announcement including an appropriate copyright notice and a - notice that there is no warranty (or else, saying that you provide - a warranty) and that users may redistribute the program under - these conditions, and telling the user how to view a copy of this - License. (Exception: if the Program itself is interactive but - does not normally print such an announcement, your work based on - the Program is not required to print an announcement.) - -These requirements apply to the modified work as a whole. If -identifiable sections of that work are not derived from the Program, -and can be reasonably considered independent and separate works in -themselves, then this License, and its terms, do not apply to those -sections when you distribute them as separate works. But when you -distribute the same sections as part of a whole which is a work based -on the Program, the distribution of the whole must be on the terms of -this License, whose permissions for other licensees extend to the -entire whole, and thus to each and every part regardless of who wrote it. - -Thus, it is not the intent of this section to claim rights or contest -your rights to work written entirely by you; rather, the intent is to -exercise the right to control the distribution of derivative or -collective works based on the Program. - -In addition, mere aggregation of another work not based on the Program -with the Program (or with a work based on the Program) on a volume of -a storage or distribution medium does not bring the other work under -the scope of this License. - - 3. You may copy and distribute the Program (or a work based on it, -under Section 2) in object code or executable form under the terms of -Sections 1 and 2 above provided that you also do one of the following: - - a) Accompany it with the complete corresponding machine-readable - source code, which must be distributed under the terms of Sections - 1 and 2 above on a medium customarily used for software interchange; or, - - b) Accompany it with a written offer, valid for at least three - years, to give any third party, for a charge no more than your - cost of physically performing source distribution, a complete - machine-readable copy of the corresponding source code, to be - distributed under the terms of Sections 1 and 2 above on a medium - customarily used for software interchange; or, - - c) Accompany it with the information you received as to the offer - to distribute corresponding source code. (This alternative is - allowed only for noncommercial distribution and only if you - received the program in object code or executable form with such - an offer, in accord with Subsection b above.) - -The source code for a work means the preferred form of the work for -making modifications to it. For an executable work, complete source -code means all the source code for all modules it contains, plus any -associated interface definition files, plus the scripts used to -control compilation and installation of the executable. However, as a -special exception, the source code distributed need not include -anything that is normally distributed (in either source or binary -form) with the major components (compiler, kernel, and so on) of the -operating system on which the executable runs, unless that component -itself accompanies the executable. - -If distribution of executable or object code is made by offering -access to copy from a designated place, then offering equivalent -access to copy the source code from the same place counts as -distribution of the source code, even though third parties are not -compelled to copy the source along with the object code. - - 4. You may not copy, modify, sublicense, or distribute the Program -except as expressly provided under this License. Any attempt -otherwise to copy, modify, sublicense or distribute the Program is -void, and will automatically terminate your rights under this License. -However, parties who have received copies, or rights, from you under -this License will not have their licenses terminated so long as such -parties remain in full compliance. - - 5. You are not required to accept this License, since you have not -signed it. However, nothing else grants you permission to modify or -distribute the Program or its derivative works. These actions are -prohibited by law if you do not accept this License. Therefore, by -modifying or distributing the Program (or any work based on the -Program), you indicate your acceptance of this License to do so, and -all its terms and conditions for copying, distributing or modifying -the Program or works based on it. - - 6. Each time you redistribute the Program (or any work based on the -Program), the recipient automatically receives a license from the -original licensor to copy, distribute or modify the Program subject to -these terms and conditions. You may not impose any further -restrictions on the recipients' exercise of the rights granted herein. -You are not responsible for enforcing compliance by third parties to -this License. - - 7. If, as a consequence of a court judgment or allegation of patent -infringement or for any other reason (not limited to patent issues), -conditions are imposed on you (whether by court order, agreement or -otherwise) that contradict the conditions of this License, they do not -excuse you from the conditions of this License. If you cannot -distribute so as to satisfy simultaneously your obligations under this -License and any other pertinent obligations, then as a consequence you -may not distribute the Program at all. For example, if a patent -license would not permit royalty-free redistribution of the Program by -all those who receive copies directly or indirectly through you, then -the only way you could satisfy both it and this License would be to -refrain entirely from distribution of the Program. - -If any portion of this section is held invalid or unenforceable under -any particular circumstance, the balance of the section is intended to -apply and the section as a whole is intended to apply in other -circumstances. - -It is not the purpose of this section to induce you to infringe any -patents or other property right claims or to contest validity of any -such claims; this section has the sole purpose of protecting the -integrity of the free software distribution system, which is -implemented by public license practices. Many people have made -generous contributions to the wide range of software distributed -through that system in reliance on consistent application of that -system; it is up to the author/donor to decide if he or she is willing -to distribute software through any other system and a licensee cannot -impose that choice. - -This section is intended to make thoroughly clear what is believed to -be a consequence of the rest of this License. - - 8. If the distribution and/or use of the Program is restricted in -certain countries either by patents or by copyrighted interfaces, the -original copyright holder who places the Program under this License -may add an explicit geographical distribution limitation excluding -those countries, so that distribution is permitted only in or among -countries not thus excluded. In such case, this License incorporates -the limitation as if written in the body of this License. - - 9. The Free Software Foundation may publish revised and/or new versions -of the General Public License from time to time. Such new versions will -be similar in spirit to the present version, but may differ in detail to -address new problems or concerns. - -Each version is given a distinguishing version number. If the Program -specifies a version number of this License which applies to it and "any -later version", you have the option of following the terms and conditions -either of that version or of any later version published by the Free -Software Foundation. If the Program does not specify a version number of -this License, you may choose any version ever published by the Free Software -Foundation. - - 10. If you wish to incorporate parts of the Program into other free -programs whose distribution conditions are different, write to the author -to ask for permission. For software which is copyrighted by the Free -Software Foundation, write to the Free Software Foundation; we sometimes -make exceptions for this. Our decision will be guided by the two goals -of preserving the free status of all derivatives of our free software and -of promoting the sharing and reuse of software generally. - - NO WARRANTY - - 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY -FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN -OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES -PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED -OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF -MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS -TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE -PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, -REPAIR OR CORRECTION. - - 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING -WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR -REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, -INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING -OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED -TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY -YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER -PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE -POSSIBILITY OF SUCH DAMAGES. - - END OF TERMS AND CONDITIONS - - Appendix: How to Apply These Terms to Your New Programs - - If you develop a new program, and you want it to be of the greatest -possible use to the public, the best way to achieve this is to make it -free software which everyone can redistribute and change under these terms. - - To do so, attach the following notices to the program. It is safest -to attach them to the start of each source file to most effectively -convey the exclusion of warranty; and each file should have at least -the "copyright" line and a pointer to where the full notice is found. - - - Copyright (C) 19yy - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - -Also add information on how to contact you by electronic and paper mail. - -If the program is interactive, make it output a short notice like this -when it starts in an interactive mode: - - Gnomovision version 69, Copyright (C) 19yy name of author - Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. - This is free software, and you are welcome to redistribute it - under certain conditions; type `show c' for details. - -The hypothetical commands `show w' and `show c' should show the appropriate -parts of the General Public License. Of course, the commands you use may -be called something other than `show w' and `show c'; they could even be -mouse-clicks or menu items--whatever suits your program. - -You should also get your employer (if you work as a programmer) or your -school, if any, to sign a "copyright disclaimer" for the program, if -necessary. Here is a sample; alter the names: - - Yoyodyne, Inc., hereby disclaims all copyright interest in the program - `Gnomovision' (which makes passes at compilers) written by James Hacker. - - , 1 April 1989 - Ty Coon, President of Vice - -This General Public License does not permit incorporating your program into -proprietary programs. If your program is a subroutine library, you may -consider it more useful to permit linking proprietary applications with the -library. If this is what you want to do, use the GNU Library General -Public License instead of this License. diff --git a/python/pykde/ChangeLog b/python/pykde/ChangeLog deleted file mode 100644 index 3bd0311b..00000000 --- a/python/pykde/ChangeLog +++ /dev/null @@ -1,602 +0,0 @@ ------------------------------------------------------------------------- -r124 | (jim) | 2006-01-21 11:33:36 -0800 (Sat, 21 Jan 2006) | 2 lines - -removed kkeyserver.sip references from all .diff files - ------------------------------------------------------------------------- -r123 | (jim) | 2006-01-21 11:31:03 -0800 (Sat, 21 Jan 2006) | 2 lines - -updated docs - ------------------------------------------------------------------------- -r122 | (jim) | 2006-01-21 10:46:51 -0800 (Sat, 21 Jan 2006) | 2 lines - -fixed TOC links in classref doc files - ------------------------------------------------------------------------- -r121 | (jim) | 2006-01-21 01:20:30 -0800 (Sat, 21 Jan 2006) | 2 lines - -Initial doc update - ------------------------------------------------------------------------- -r120 | (jim) | 2006-01-20 17:37:06 -0800 (Fri, 20 Jan 2006) | 3 lines - -fixed QValueList code -and fixed dcopexport.py handling of void return types - ------------------------------------------------------------------------- -r119 | (jim) | 2006-01-20 12:14:10 -0800 (Fri, 20 Jan 2006) | 2 lines - -added X11 include - ------------------------------------------------------------------------- -r118 | (jim) | 2006-01-18 23:27:15 -0800 (Wed, 18 Jan 2006) | 2 lines - -backed out ambiguous/inaccessible methods in KConfigSkeleton - ------------------------------------------------------------------------- -r117 | (jim) | 2006-01-18 23:00:34 -0800 (Wed, 18 Jan 2006) | 3 lines - -correct versioning error on addItem* methods in -KConfigSkeleton - ------------------------------------------------------------------------- -r116 | (jim) | 2006-01-18 22:08:35 -0800 (Wed, 18 Jan 2006) | 3 lines - -fixes for backward compatibility with older KDE, gcc, -sip - ------------------------------------------------------------------------- -r115 | (jim) | 2006-01-18 21:12:02 -0800 (Wed, 18 Jan 2006) | 2 lines - -PyKDE for KDE 3.5.0 complete - ------------------------------------------------------------------------- -r114 | (jim) | 2006-01-17 01:51:20 -0800 (Tue, 17 Jan 2006) | 2 lines - -all modules working for KDE 3.4.3 - minor fixes - ------------------------------------------------------------------------- -r113 | (jim) | 2006-01-16 22:13:25 -0800 (Mon, 16 Jan 2006) | 2 lines - -kabc, kresources touchup - ------------------------------------------------------------------------- -r112 | (jim) | 2006-01-16 21:57:28 -0800 (Mon, 16 Jan 2006) | 2 lines - -update extra/ for KDE 3.5.0 - ------------------------------------------------------------------------- -r111 | (jim) | 2006-01-16 21:56:14 -0800 (Mon, 16 Jan 2006) | 2 lines - -minor fix - ------------------------------------------------------------------------- -r109 | (jim) | 2006-01-16 20:35:03 -0800 (Mon, 16 Jan 2006) | 2 lines - -yet more debugging kabc, kresources - ------------------------------------------------------------------------- -r108 | (jim) | 2006-01-16 20:22:55 -0800 (Mon, 16 Jan 2006) | 2 lines - -more debugging kabc, kresources - ------------------------------------------------------------------------- -r107 | (jim) | 2006-01-16 20:15:50 -0800 (Mon, 16 Jan 2006) | 2 lines - -more kabc, kresource debugging - ------------------------------------------------------------------------- -r106 | (jim) | 2006-01-16 20:12:37 -0800 (Mon, 16 Jan 2006) | 2 lines - -kabc, kresource debugging - ------------------------------------------------------------------------- -r105 | (jim) | 2006-01-16 20:08:37 -0800 (Mon, 16 Jan 2006) | 2 lines - -kabc, kresources through KDE 3.4.3 - ------------------------------------------------------------------------- -r104 | (jim) | 2006-01-16 18:33:10 -0800 (Mon, 16 Jan 2006) | 2 lines - -removed erroneous kresources .diff file - ------------------------------------------------------------------------- -r103 | (jim) | 2006-01-16 18:24:05 -0800 (Mon, 16 Jan 2006) | 3 lines - -more kabc and kresources debugging - compiles -through KDE 330 - ------------------------------------------------------------------------- -r102 | (jim) | 2006-01-16 00:47:43 -0800 (Mon, 16 Jan 2006) | 2 lines - -debug configure.py, kabc, kresources - ------------------------------------------------------------------------- -r101 | (jim) | 2006-01-15 22:27:45 -0800 (Sun, 15 Jan 2006) | 2 lines - -fixed typo in configure.py - ------------------------------------------------------------------------- -r100 | (jim) | 2006-01-15 22:22:50 -0800 (Sun, 15 Jan 2006) | 2 lines - -added kabc and kresources through KDE 3.3.0 - ------------------------------------------------------------------------- -r97 | (jim) | 2006-01-15 15:04:44 -0800 (Sun, 15 Jan 2006) | 2 lines - -upgrade to KDE 3.4.3 - ------------------------------------------------------------------------- -r95 | (jim) | 2006-01-15 10:47:15 -0800 (Sun, 15 Jan 2006) | 2 lines - -added 'extra' files - ------------------------------------------------------------------------- -r94 | (jim) | 2006-01-15 10:26:53 -0800 (Sun, 15 Jan 2006) | 2 lines - -Update to KDE 3.4.2 - ------------------------------------------------------------------------- -r93 | (jim) | 2006-01-14 14:12:52 -0800 (Sat, 14 Jan 2006) | 4 lines - -typedef'd IntList from QValueList so IntList() -can be used as intializer for defaults; removed C++ -for second ctors ItemInt64 and ItemUInt64 - ------------------------------------------------------------------------- -r92 | (jim) | 2006-01-14 14:03:35 -0800 (Sat, 14 Jan 2006) | 2 lines - -reversed kdecore/kconfigskeleton change - ------------------------------------------------------------------------- -r91 | (jim) | 2006-01-14 13:40:37 -0800 (Sat, 14 Jan 2006) | 2 lines - -remove erroneous files - ------------------------------------------------------------------------- -r90 | (jim) | 2006-01-14 13:38:39 -0800 (Sat, 14 Jan 2006) | 5 lines - -Fix sio syntax errors in kdecore/kconfigskeleton.sip -(QValueList() as arg default value) and -kio/slaveinterface.sip (%TypeHeaderCode in namespace -instead of %ModuleHeaderCode outside) - ------------------------------------------------------------------------- -r89 | (jim) | 2006-01-14 13:25:39 -0800 (Sat, 14 Jan 2006) | 5 lines - -Upgrade to sip snapshot (future sip 4.4 - sipTransferObj stuff -and eliminate most typedefs to prevent auto mapped types); add -patch code to KConfigSkeleton addItem* and Item* ctors for -scalar types;minor bugfixes (sipForceConvertToQString anachronisms) - ------------------------------------------------------------------------- -r88 | (jim) | 2005-12-18 11:20:55 -0800 (Sun, 18 Dec 2005) | 2 lines - -Version dirSize in kdirsize.sip for older KDE - ------------------------------------------------------------------------- -r87 | (jim) | 2005-12-18 09:51:33 -0800 (Sun, 18 Dec 2005) | 4 lines - -Fixed versioning bug for enum Other in kshortcutlist.sip; -added fully-qualified names to two 'Other' arguments in -method calls - ------------------------------------------------------------------------- -r86 | (jim) | 2005-12-17 14:44:01 -0800 (Sat, 17 Dec 2005) | 3 lines - -Removed incorrect (later version) %Includes from -sip.in files - ------------------------------------------------------------------------- -r85 | (jim) | 2005-12-17 14:24:58 -0800 (Sat, 17 Dec 2005) | 2 lines - -Added missing @mark@ to sip.in files - ------------------------------------------------------------------------- -r84 | (jim) | 2005-12-17 13:39:26 -0800 (Sat, 17 Dec 2005) | 3 lines - -Removed longlong/ulonglong from kzip (now in kdecore for -older KDE versions), and versioned QPtrList - ------------------------------------------------------------------------- -r83 | (jim) | 2005-12-17 13:28:33 -0800 (Sat, 17 Dec 2005) | 2 lines - -Extended longlong and ulonglong to earlier KDE versions - ------------------------------------------------------------------------- -r82 | (jim) | 2005-10-15 17:40:13 -0700 (Sat, 15 Oct 2005) | 2 lines - -Updated %Timeline for KDE 3.4.1 - ------------------------------------------------------------------------- -r81 | (jim) | 2005-10-15 17:38:51 -0700 (Sat, 15 Oct 2005) | 5 lines - -Create ChangeLog from svn logs -Change PyKDE version to 3.5.0 -Update KDE versions to 3.4.1 - - ------------------------------------------------------------------------- -r80 | (jim) | 2005-10-15 17:23:54 -0700 (Sat, 15 Oct 2005) | 3 lines - -Modified configure.py to detect compiler and -set default concatenation appropriately - ------------------------------------------------------------------------- -r79 | (jim) | 2005-10-15 17:22:13 -0700 (Sat, 15 Oct 2005) | 2 lines - -fixup - ------------------------------------------------------------------------- -r78 | (jim) | 2005-10-13 11:45:39 -0700 (Thu, 13 Oct 2005) | 8 lines - -Replaced sipNewCppToSelf instances with sipBuildResult -Cleaned up sip files for gcc 3.4.x/4.0.x compatibility -Dropped kdesu (undefined symbol problem) -Added -fno-rtti to kdeprint compile -Dropped driver.sip from kdeprint -Updated configure.py to use pyqtconfig.py for Qt environment info -Backed out konsolepart code (undefined symbol problem) - ------------------------------------------------------------------------- -r76 | (jim) | 2005-07-27 23:27:34 -0700 (Wed, 27 Jul 2005) | 2 lines - -update configure.py for konsolePart - ------------------------------------------------------------------------- -r75 | (jim) | 2005-07-27 21:46:51 -0700 (Wed, 27 Jul 2005) | 2 lines - -added ConvertToSubclassCode entry for konsolePart - ------------------------------------------------------------------------- -r74 | (jim) | 2005-07-26 16:58:53 -0700 (Tue, 26 Jul 2005) | 2 lines - -added konsolePart class - ------------------------------------------------------------------------- -r73 | (jim) | 2005-06-28 16:27:53 -0700 (Tue, 28 Jun 2005) | 2 lines - -KDE 3.4.1 upgrade - ------------------------------------------------------------------------- -r72 | (jim) | 2005-06-28 14:58:07 -0700 (Tue, 28 Jun 2005) | 2 lines - -added bool type to DCOP extensions - ------------------------------------------------------------------------- -r71 | (jim) | 2005-06-18 19:16:03 -0700 (Sat, 18 Jun 2005) | 2 lines - -Added explicit link of kdeui for kspell module - ------------------------------------------------------------------------- -r70 | (jim) | 2005-06-18 17:59:10 -0700 (Sat, 18 Jun 2005) | 2 lines - -Added private dtors to keep sip 4.2 happy - ------------------------------------------------------------------------- -r69 | (jim) | 2005-03-18 16:05:34 -0800 (Fri, 18 Mar 2005) | 3 lines - -fixed cast in KURL::List operator + that was causing problems -for gcc 4 - ------------------------------------------------------------------------- -r68 | (jim) | 2005-03-16 08:50:52 -0800 (Wed, 16 Mar 2005) | 2 lines - -patch for DCOP line breaks - ------------------------------------------------------------------------- -r67 | (jim) | 2005-03-16 08:49:37 -0800 (Wed, 16 Mar 2005) | 2 lines - -Fix typos in previous patch - ------------------------------------------------------------------------- -r66 | (jim) | 2005-03-15 16:07:18 -0800 (Tue, 15 Mar 2005) | 2 lines - -Added ConvertToSubclassCode blocks for kmdi, kutils - ------------------------------------------------------------------------- -r65 | (jim) | 2005-03-10 10:41:57 -0800 (Thu, 10 Mar 2005) | 2 lines - -added kkeyserver.h to extra/kde340 - ------------------------------------------------------------------------- -r64 | (jim) | 2005-03-08 14:14:58 -0800 (Tue, 08 Mar 2005) | 3 lines - -Fixed case problem in configure.py distro check; fixed default -value in KURL::cleanPath - ------------------------------------------------------------------------- -r62 | (jim) | 2005-03-06 21:31:50 -0800 (Sun, 06 Mar 2005) | 2 lines - -fixed emums in templates/annotated - ------------------------------------------------------------------------- -r61 | (jim) | 2005-03-06 21:30:48 -0800 (Sun, 06 Mar 2005) | 2 lines - -fixed enums in examples, templates; fixed KIconThemeDir ref - ------------------------------------------------------------------------- -r60 | (jim) | 2005-03-05 00:57:44 -0800 (Sat, 05 Mar 2005) | 2 lines - -added -L option for lib path - ------------------------------------------------------------------------- -r59 | (jim) | 2005-03-05 00:47:24 -0800 (Sat, 05 Mar 2005) | 2 lines - -removed kjs support - ------------------------------------------------------------------------- -r58 | (jim) | 2005-03-05 00:42:59 -0800 (Sat, 05 Mar 2005) | 2 lines - -update extra/kde340 h files - ------------------------------------------------------------------------- -r57 | (jim) | 2005-03-05 00:36:09 -0800 (Sat, 05 Mar 2005) | 2 lines - -update .easibox - extra/kde340 - ------------------------------------------------------------------------- -r56 | (jim) | 2005-03-05 00:34:34 -0800 (Sat, 05 Mar 2005) | 2 lines - -added extra/kde340 - ------------------------------------------------------------------------- -r55 | (jim) | 2005-03-04 23:58:35 -0800 (Fri, 04 Mar 2005) | 2 lines - -kmdimod.sip.in one more time - ------------------------------------------------------------------------- -r54 | (jim) | 2005-03-04 23:53:37 -0800 (Fri, 04 Mar 2005) | 2 lines - -kmdimod.sip.in again - ------------------------------------------------------------------------- -r53 | (jim) | 2005-03-04 23:37:43 -0800 (Fri, 04 Mar 2005) | 2 lines - -fixed kmdimod.sip.in and kutils.sip.in - ------------------------------------------------------------------------- -r52 | (jim) | 2005-03-04 23:08:29 -0800 (Fri, 04 Mar 2005) | 2 lines - -correct qt path in kutils.sip.in - ------------------------------------------------------------------------- -r51 | (jim) | 2005-03-04 23:04:54 -0800 (Fri, 04 Mar 2005) | 2 lines - -%Include bytearray.sip missing from kdecore.sip.in - ------------------------------------------------------------------------- -r50 | (jim) | 2005-03-04 22:59:10 -0800 (Fri, 04 Mar 2005) | 2 lines - -fixed missing %Feature in dcopmod.sip.in - ------------------------------------------------------------------------- -r49 | (jim) | 2005-03-04 22:55:43 -0800 (Fri, 04 Mar 2005) | 2 lines - -fixed paths in sip.in files - ------------------------------------------------------------------------- -r48 | (jim) | 2005-03-04 22:49:00 -0800 (Fri, 04 Mar 2005) | 2 lines - -doc updates for PyKDE 4.0 - ------------------------------------------------------------------------- -r47 | (jim) | 2005-03-04 22:28:30 -0800 (Fri, 04 Mar 2005) | 2 lines - -PyKDE 4.0 docs - ------------------------------------------------------------------------- -r46 | (jim) | 2005-03-04 22:02:00 -0800 (Fri, 04 Mar 2005) | 2 lines - -new configure.py for PyKDE 4.0 - ------------------------------------------------------------------------- -r45 | (jim) | 2005-03-04 22:00:42 -0800 (Fri, 04 Mar 2005) | 2 lines - -PyKDE 4.0 - ------------------------------------------------------------------------- -r42 | (jim) | 2005-03-01 16:20:01 -0800 (Tue, 01 Mar 2005) | 2 lines - -Fixed KActionCollection for Mandrake - ------------------------------------------------------------------------- -r41 | (jim) | 2005-03-01 14:55:49 -0800 (Tue, 01 Mar 2005) | 2 lines - -Fixed pid_t typing problems (QValueList) - ------------------------------------------------------------------------- -r40 | (jim) | 2005-03-01 13:34:04 -0800 (Tue, 01 Mar 2005) | 2 lines - -Changed pid_t type from int to long; enabled KParts::URLArgs::metaData () - ------------------------------------------------------------------------- -r39 | (jim) | 2005-02-28 23:49:09 -0800 (Mon, 28 Feb 2005) | 4 lines - -KFileMetaInfo typedefs removed; KProcessController versioning -corrected; KRecentDirs (and extra/ hfiles) added; pykde332.prj -added - ------------------------------------------------------------------------- -r38 | (jim) | 2005-02-28 22:34:42 -0800 (Mon, 28 Feb 2005) | 2 lines - -added KHTMLPart to %ConvertToSubclassCode; install kdepyuic - ------------------------------------------------------------------------- -r37 | (jim) | 2005-02-03 00:07:38 -0800 (Thu, 03 Feb 2005) | 2 lines - -Added KURL import to dcopext.py - ------------------------------------------------------------------------- -r36 | (jim) | 2005-01-04 11:38:01 -0800 (Tue, 04 Jan 2005) | 2 lines - -Add extra subdir - ------------------------------------------------------------------------- -r35 | (jim) | 2005-01-03 21:38:17 -0800 (Mon, 03 Jan 2005) | 2 lines - -KDE 3.3.2 and sip 4.2 updates - ------------------------------------------------------------------------- -r33 | (jim) | 2004-11-28 13:58:07 -0800 (Sun, 28 Nov 2004) | 2 lines - -Modified kmdidefines.sip for sip 4.2 enumerator name problem - ------------------------------------------------------------------------- -r32 | (jim) | 2004-11-28 13:56:19 -0800 (Sun, 28 Nov 2004) | 2 lines - -Removed pykdeconfig.py from source control - ------------------------------------------------------------------------- -r31 | (jim) | 2004-11-27 23:29:03 -0800 (Sat, 27 Nov 2004) | 2 lines - -docs - ------------------------------------------------------------------------- -r30 | (jim) | 2004-11-27 23:07:07 -0800 (Sat, 27 Nov 2004) | 2 lines - -docs - ------------------------------------------------------------------------- -r29 | (jim) | 2004-11-27 22:17:49 -0800 (Sat, 27 Nov 2004) | 2 lines - -Missing comma - ------------------------------------------------------------------------- -r28 | (jim) | 2004-11-27 22:16:34 -0800 (Sat, 27 Nov 2004) | 2 lines - -PyKDE for KDE 3.3.1 - ------------------------------------------------------------------------- -r27 | (jim) | 2004-11-27 21:16:55 -0800 (Sat, 27 Nov 2004) | 2 lines - -Revise project files - ------------------------------------------------------------------------- -r26 | (jim) | 2004-11-27 17:47:35 -0800 (Sat, 27 Nov 2004) | 2 lines - -Updating to KDE 3.3.1 - ------------------------------------------------------------------------- -r25 | (jim) | 2004-08-25 16:43:40 -0700 (Wed, 25 Aug 2004) | 2 lines - -Updated change log - ------------------------------------------------------------------------- -r24 | (jim) | 2004-08-25 16:41:33 -0700 (Wed, 25 Aug 2004) | 2 lines - -Updated numbering to 3.11.3 - ------------------------------------------------------------------------- -r23 | (jim) | 2004-08-25 15:34:33 -0700 (Wed, 25 Aug 2004) | 2 lines - -Added post proc for WId in kwinmodule signals - ------------------------------------------------------------------------- -r22 | (jim) | 2004-08-21 16:50:33 -0700 (Sat, 21 Aug 2004) | 2 lines - -same khtml_part patch as the previous rev ??? - ------------------------------------------------------------------------- -r21 | (jim) | 2004-08-21 16:42:06 -0700 (Sat, 21 Aug 2004) | 2 lines - -khtml_part: fixed enum values for sip3.10.2 with KDE 3.3.0 - ------------------------------------------------------------------------- -r20 | (jim) | 2004-08-21 01:10:05 -0700 (Sat, 21 Aug 2004) | 2 lines - -Update version numbers in docs - ------------------------------------------------------------------------- -r19 | (jim) | 2004-08-21 01:03:27 -0700 (Sat, 21 Aug 2004) | 2 lines - -docs for final release - ------------------------------------------------------------------------- -r18 | (jim) | 2004-08-20 18:50:22 -0700 (Fri, 20 Aug 2004) | 2 lines - -Fixed access specifier for copy ctor on KProcessController - ------------------------------------------------------------------------- -r17 | (jim) | 2004-08-20 10:00:27 -0700 (Fri, 20 Aug 2004) | 2 lines - -Updated to KDE 3.3.0 final - ------------------------------------------------------------------------- -r16 | (jim) | 2004-08-20 09:59:28 -0700 (Fri, 20 Aug 2004) | 2 lines - -Removed khtml_part.sip (different versions for different KDE versions) - ------------------------------------------------------------------------- -r15 | (jim) | 2004-08-19 23:52:31 -0700 (Thu, 19 Aug 2004) | 2 lines - -Added svnmerge, svnmergedocs - ------------------------------------------------------------------------- -r14 | (jim) | 2004-08-16 19:42:57 -0700 (Mon, 16 Aug 2004) | 2 lines - -change spaces to tabs in postproc/appQuit - ------------------------------------------------------------------------- -r13 | (jim) | 2004-08-16 19:41:25 -0700 (Mon, 16 Aug 2004) | 2 lines - -Save doc tool mods - ------------------------------------------------------------------------- -r12 | (jim) | 2004-08-16 17:44:37 -0700 (Mon, 16 Aug 2004) | 2 lines - -Updated docs - ------------------------------------------------------------------------- -r11 | (jim) | 2004-08-16 17:23:33 -0700 (Mon, 16 Aug 2004) | 2 lines - -Patched qvariant.h problem in kdecore - ------------------------------------------------------------------------- -r10 | (jim) | 2004-08-16 16:40:43 -0700 (Mon, 16 Aug 2004) | 2 lines - -Corrected kuniqueapplication - ------------------------------------------------------------------------- -r9 | (jim) | 2004-08-16 14:43:51 -0700 (Mon, 16 Aug 2004) | 2 lines - -Fixed h file problems for KDE3.0.x; fixed LONG_LONG for KDE3.0.x with Python 2.3 - ------------------------------------------------------------------------- -r8 | (jim) | 2004-08-15 21:49:27 -0700 (Sun, 15 Aug 2004) | 2 lines - -version before access hides access for KDE < 3.2 in kprocctrl.sip - ------------------------------------------------------------------------- -r7 | (jim) | 2004-08-15 12:21:23 -0700 (Sun, 15 Aug 2004) | 2 lines - -Corrected error - configure.py spippath defined in wrong place - ------------------------------------------------------------------------- -r6 | (jim) | 2004-08-15 12:19:37 -0700 (Sun, 15 Aug 2004) | 2 lines - -Added khtml_part.sip versions - ------------------------------------------------------------------------- -r5 | (jim) | 2004-08-15 12:14:27 -0700 (Sun, 15 Aug 2004) | 3 lines - -Changes to configure.py for khtml/kutils when KDE < 3.3.0 and -kutils isn't needed/supported - ------------------------------------------------------------------------- -r4 | (jim) | 2004-08-15 12:04:57 -0700 (Sun, 15 Aug 2004) | 2 lines - -Patches for building with -i option (no concatenation) - ------------------------------------------------------------------------- -r3 | (jim) | 2004-08-15 09:13:47 -0700 (Sun, 15 Aug 2004) | 2 lines - -Ready for KDE 3.3.0beta2 - ------------------------------------------------------------------------- -r2 | (jim) | 2004-08-13 22:35:48 -0700 (Fri, 13 Aug 2004) | 2 lines - -Initial import - ------------------------------------------------------------------------- diff --git a/python/pykde/ChangeLog.2001-4 b/python/pykde/ChangeLog.2001-4 deleted file mode 100644 index 7eb8682d..00000000 --- a/python/pykde/ChangeLog.2001-4 +++ /dev/null @@ -1,185 +0,0 @@ -2004/08/25 16:44:00 jim -Released 3.11.3; added post-processing for WId args -in KWinModule signals; fixed enum in khtml_part (for -KDE >= 3.3); updated version numbers - -2004/08/16 17:57:00 jim -Updated to KDE3.3.0beta2; minor fixes for earlier -KDE versions using sip4; fixed KUniqueApplication -(was missing); added kutils module (kspell2 missing -from beta2); docs; removed event %ConvertToSubClassCode -from kparts - was causing problems; other fixes; -snapshot released - -2003/11/22 12:19:00 jim -Fixed -c switch (was always True); install -pythonize.h in Python incl dir - -2003/11/20 21:11:00 jim -Fixed -v, -i switches; fixed testPythonize.pro -L - -2003/10/13 14:32:00 jim -added version methods for KDE, PyKDE; revised -all docs; added class ref docs and viewer; -revised build.py; bug fixes; libpythonize -threading fixed (can now have kicker reload -multiple applets) - -2003/9/4 13:05:00 jim -PyKDE-3.8-rc; finished up pykpanelapplet fix -from yesterday; removed qxembed from kdeui-kde*.sip - -2003/9/3 23:20:00 jim -No release; removed circular ref between -libpykpanelapplet and libkdeuicmodule; adjusted -kpanelapplet.sip, pykpanelapplet.h and build.py -to implement; moved nullGUIItem to top of -kmessagebox.sip; considering removing qxembed.sip - -2003/9/1 10:52:00 jim -No release; Revised handling of global.sip and -kzip.sip for Python 2.3 in build.py - -2003/8/31 18:37:00 jim -No release; Revised generation of rm's in -pykdepanelapplet Makefile install target to use wild -cards instead of one per lib link; finished applet -installer handling of existing .desktop files; -improved installer validation; updated docs. - -2003/8/30 23:05:00 jim -PyKDE-3.8rc1; finished panel applet support and -installer; revised docs; - -2003/8/25 11:33:00 jim -No release; %ConvertToSubClassCode for -KParts::Event subclasses - -2003/8/24 11:32:00 jim -No release. added pythonize, pykpanelapplet -libs to enable panel applets; revised build.py -for same; lowered version on KService copy ctor -to 3.1.0 for Mdk 9.1 compatibility - -2003/8/20 23:52:00 jim -No release. cleaned up operator addition (no -docs for those yet); add ConvertToSubClassCode -for all QObject subclasses; deleted obsolete -files - -2003/8/14 11:17:00 jim -No release; added -u switch to allow disable of -strict version checking (sip and PyQt snapshot -version names may be out of sync) - -2003/8/13 15:07:00 jim -PyKDE-3.8-4 bug fixes (also -2 and -3); new build.py -(no root, SMP, version checks) now builds with -KDE3.1.3 and/or Qt3.2.0; hack for Python 2.3 - -2003/8/6 15:23:00 jim -PyKDE-3.7-1 changes for sip 3.6/3.7 compatibility; -drop KDE2 support; upgrade through KDE 3.1.3; build.py -revised - -lqt-mt and -c defaults. added -c- -switch - -2003/4/8 22:12:00 jim -PyKDE-3.5-2 bug fixes to build.py (PYQT_VERSION -converted to string, kdeDir fixed); QList instances -versioned out/replaced by QPtrList for KDE >= 3.0.0; -changed 'python' invocation to 'sys.executable' in -examples and build.py postproc calls; changed build.py -error msg to point to PyKDE list instead of Phil - -2003/3/27 12:34:00 jim -PyKDE-3.5-1 Upgrade through KDE 3.1.1, removed -kdepyuic.py and README.pyuic; complete rebuild -using new version of presip; changed license to -GPL - -2002/8/21 11:03:00 jim -PyKDE-3.3.2-3: Upgrade to KDE 3.0.3; added -kdepyuic.py and README.pyuic - -2002/8/10 09:33:00 jim -PyKDE-3.3.2-2: fix Qt versioning change -(build.py) - -2002/8/9 13:00:00 jim -PyKDE-3.3.2-1: handle Qt versioning change in -Qt 3.0.5 (build.py); add '-I usr/X11R6/include' -in sip/kde30.kdecore.sip - -2002/8/8 13:10:00 jim -Cleaned up top-level sip files for all versions; -fixed bug with KIconThemeDir (never released); -cleaned up docs (released as 3.3.2) - -2002/7/22 13:29:00 jim -(PyKDE-3.3.2 pre release) -Added -z option to build.py; fixed missing -'/TransferThis/' in all KListViewItem ctors; -(not released) - -2002/7/19 10:07:00 jim -PyKDE-3.3.2 pre release: fixed KLineEditDlg bug; fixed -QValueList bug in MappedTypes (sipMapNewToSelf); -ugraded to sip/PyQt3.3.2; build system switched -to PyQt system (t/qmake, concat cpp);sip-in files -revised, changed to '.sip' in sip/kde* directories; -added %PrePythonCode for lib loading as req'd (not -released) - -2002/5/15 22:51:00 jim -PyKDE-3.2.4: namechange back to PyKDE; versioning -to KDE3.0.0; dropped KDE3.0beta2 support; upgraded -to sip 3.2.4;build system completely revised;docs -revised; kapp variable dropped from kdecore; other -fixes for gcc2.96 compatiblility - -2002/3/11 11:01:00 jim -3.0beta1: versioning to KDE3.0beta2; mapped types -for KSharedPtr descendants; KParts modified - now -works; KTrader added; support for long long added; -created PyKDE2generic and revised build system; -new examples; removed inaccessible member classes; -added kdesu (all), kdeprint (>= 2.2.0), kdefx (3.0); -code cleanup for mapped types, member code, added -virtual code; general cleanup - - -2002/2/13 09:15:00 jim -3.0alpha6: versioning to KDE2.2.2; repaired SLOT -assignment code in KStdAction, KAction,K*Action, -KAccelMenu, KToolBar, and KGlobalAccel with -"SIP_RXOBJ_CON, SIP_SLOT_CON(...)"; - - -2002/2/11 13:50:00 jim -3.0alpha5: versioning to KDE2.2.1; fixed bug in -KCmdLineArgs.init1 (Henrik Motakef) Modified -examples/pykless.py so KAboutData is used instead -of KMainWindow.helpMenu (3.0alpha5 was not -released) - -2002/2/7 14:25:00 jim -3.0alpha4: changed postproc to run from $PYTHONINTERP from -configure; removed unnecessary links to libdcop (from -kdebindings) -- only libDCOP is req'd (bug reports from -Henrik Motakef) - -2001/11/25 13:19:00 jim -3.0alpha3:versioning to KDE2.2.0 (new classes/methods); -dropped KSocket::initSockaddr (deprecated); KURLComboItem -to struct (no longer mapped type); - - -2001/11/19 22:12:00 jim -3.0alpha2:Added kparts, khtml, kjs, kspell; converted some -structs from mapped types to classes; revised all docs; revised -autoconf to look for top level KDE include dir; added some -missing classes and methods;bugs fixed;versioning to KDE2.1.2 -(minor changes); added add'l doc text;ready for release - - -Initial release diff --git a/python/pykde/Changelog b/python/pykde/Changelog deleted file mode 100644 index 4d56107b..00000000 --- a/python/pykde/Changelog +++ /dev/null @@ -1,779 +0,0 @@ ------------------------------------------------------------------------- -r160 | (no author) | 2006-09-22 00:23:44 -0700 (Fri, 22 Sep 2006) | 2 lines - -kio/kfileshare changed in error - reverted - ------------------------------------------------------------------------- -r159 | (no author) | 2006-09-22 00:22:47 -0700 (Fri, 22 Sep 2006) | 3 lines - -Bumped min versions: sip >= 4.4.0, PyQt >= 3.16.0, -Qt >= 3.2.0 - ------------------------------------------------------------------------- -r158 | (no author) | 2006-09-22 00:16:56 -0700 (Fri, 22 Sep 2006) | 3 lines - -version error KMimeType::List; changed -x to -t for -%Platforms in configure.py, added "ALL" generic platform - ------------------------------------------------------------------------- -r157 | (no author) | 2006-09-21 23:19:39 -0700 (Thu, 21 Sep 2006) | 3 lines - -configure.py searches for lib64; non-functional PyKDE -version methods deleted (and in docs) - ------------------------------------------------------------------------- -r156 | (no author) | 2006-09-21 17:56:59 -0700 (Thu, 21 Sep 2006) | 2 lines - -update sip.in and diff files for kparts.konsole_part - ------------------------------------------------------------------------- -r155 | (no author) | 2006-09-21 17:54:25 -0700 (Thu, 21 Sep 2006) | 2 lines - -set konsolepart for KDE3.5.0 or greater only - ------------------------------------------------------------------------- -r154 | (no author) | 2006-09-21 14:12:29 -0700 (Thu, 21 Sep 2006) | 2 lines - -remove pyc files from svn - ------------------------------------------------------------------------- -r153 | (no author) | 2006-09-21 14:11:58 -0700 (Thu, 21 Sep 2006) | 2 lines - -konsole_part stuff - ------------------------------------------------------------------------- -r152 | (no author) | 2006-09-21 10:13:58 -0700 (Thu, 21 Sep 2006) | 3 lines - -added konsole_part.h to versions missing it; added -extra/kde353 to base fileset - ------------------------------------------------------------------------- -r150 | (no author) | 2006-09-21 08:38:43 -0700 (Thu, 21 Sep 2006) | 3 lines - -More cleanup for 3.16 release; added konsole_part again; -miscellaneous small bug fixes - ------------------------------------------------------------------------- -r149 | (no author) | 2006-09-19 16:26:43 -0700 (Tue, 19 Sep 2006) | 2 lines - -Upgrade to KDE 3.5.3 - ------------------------------------------------------------------------- -r148 | (no author) | 2006-09-19 16:24:33 -0700 (Tue, 19 Sep 2006) | 3 lines - -Cleaned up files for presip; minor fixes for 9/17 sip snapshot -Clean fileset - presip will build clean 3.5.3 from this set - ------------------------------------------------------------------------- -r145 | (no author) | 2006-05-26 21:49:46 -0700 (Fri, 26 May 2006) | 2 lines - -Deleted commented out QList code - ------------------------------------------------------------------------- -r144 | (no author) | 2006-05-26 20:39:51 -0700 (Fri, 26 May 2006) | 2 lines - -Eliminate obsolete QList/qlist.h references - ------------------------------------------------------------------------- -r143 | (no author) | 2006-05-25 01:54:27 -0700 (Thu, 25 May 2006) | 2 lines - -fix for KDE 3.1.x - ------------------------------------------------------------------------- -r142 | (no author) | 2006-05-22 19:26:54 -0700 (Mon, 22 May 2006) | 3 lines - -fixes for KDE < 3.2.0 in configure.py, kabc .diff files -and knotifydialog - ------------------------------------------------------------------------- -r141 | (no author) | 2006-05-22 00:38:44 -0700 (Mon, 22 May 2006) | 2 lines - -remove top-level (*mod.sip) files - ------------------------------------------------------------------------- -r140 | (no author) | 2006-05-21 20:27:45 -0700 (Sun, 21 May 2006) | 2 lines - -added extra/kde352 - ------------------------------------------------------------------------- -r139 | (no author) | 2006-05-21 20:06:53 -0700 (Sun, 21 May 2006) | 2 lines - -KDE 3.3.0 touchup - ------------------------------------------------------------------------- -r138 | (no author) | 2006-05-21 18:24:47 -0700 (Sun, 21 May 2006) | 2 lines - -clean up .sip.in files - ------------------------------------------------------------------------- -r137 | (no author) | 2006-05-21 15:46:13 -0700 (Sun, 21 May 2006) | 2 lines - -modifications for KDE 3.3.0 compatibility - ------------------------------------------------------------------------- -r136 | (no author) | 2006-05-21 04:59:30 -0700 (Sun, 21 May 2006) | 2 lines - -KDE 3.5.2 - ------------------------------------------------------------------------- -r135 | (no author) | 2006-05-20 15:27:11 -0700 (Sat, 20 May 2006) | 2 lines - -added 352 project file - ------------------------------------------------------------------------- -r133 | (no author) | 2006-05-19 00:53:46 -0700 (Fri, 19 May 2006) | 2 lines - -KDE 3.5.1 - ------------------------------------------------------------------------- -r132 | (no author) | 2006-01-27 13:00:18 -0800 (Fri, 27 Jan 2006) | 2 lines - -added missing method kabc/resourcefile.sip - ------------------------------------------------------------------------- -r131 | (no author) | 2006-01-26 19:27:45 -0800 (Thu, 26 Jan 2006) | 2 lines - -fully-qualified names in kabc/resourcefile.sip - ------------------------------------------------------------------------- -r130 | (no author) | 2006-01-26 16:53:44 -0800 (Thu, 26 Jan 2006) | 3 lines - -Put kabc/resourcefile.sip back into kabc for later -versions (missing in kdelibs tarball, but in kde3/include/kabc) - ------------------------------------------------------------------------- -r129 | (no author) | 2006-01-26 16:50:00 -0800 (Thu, 26 Jan 2006) | 3 lines - -Removed *mod.sip files from version control (user -generated) - ------------------------------------------------------------------------- -r128 | (no author) | 2006-01-26 16:46:27 -0800 (Thu, 26 Jan 2006) | 2 lines - -Updated kabc/resourcefile.sip - versioning - ------------------------------------------------------------------------- -r127 | (no author) | 2006-01-23 00:19:15 -0800 (Mon, 23 Jan 2006) | 2 lines - -typo in configure.py - ------------------------------------------------------------------------- -r126 | (no author) | 2006-01-22 23:08:28 -0800 (Sun, 22 Jan 2006) | 4 lines - -changed configure.py to concatenate by default for -gcc >= 4.0.3; deleted unneeded mapped type from -kio/global.sip - ------------------------------------------------------------------------- -r125 | (no author) | 2006-01-22 21:45:55 -0800 (Sun, 22 Jan 2006) | 8 lines - -modify configure.py to drop kresources for KDE < 3.2; -version Resource class in kabc/resource.sip; version -64 bit read/write stuff in kdecore/kconfigbase.sip; -version copy ctor in kdecore/kprocctrl.sip; version -out longlong/ulonglong mapped types in kio/global.sip; -version one method in kio/ksycoca.sip; fix line with -illegal char (?) in extensions/dcopexport.py - ------------------------------------------------------------------------- -r124 | (no author) | 2006-01-21 11:33:36 -0800 (Sat, 21 Jan 2006) | 2 lines - -removed kkeyserver.sip references from all .diff files - ------------------------------------------------------------------------- -r123 | (no author) | 2006-01-21 11:31:03 -0800 (Sat, 21 Jan 2006) | 2 lines - -updated docs - ------------------------------------------------------------------------- -r122 | (no author) | 2006-01-21 10:46:51 -0800 (Sat, 21 Jan 2006) | 2 lines - -fixed TOC links in classref doc files - ------------------------------------------------------------------------- -r121 | (no author) | 2006-01-21 01:20:30 -0800 (Sat, 21 Jan 2006) | 2 lines - -Initial doc update - ------------------------------------------------------------------------- -r120 | (no author) | 2006-01-20 17:37:06 -0800 (Fri, 20 Jan 2006) | 3 lines - -fixed QValueList code -and fixed dcopexport.py handling of void return types - ------------------------------------------------------------------------- -r119 | (no author) | 2006-01-20 12:14:10 -0800 (Fri, 20 Jan 2006) | 2 lines - -added X11 include - ------------------------------------------------------------------------- -r118 | (no author) | 2006-01-18 23:27:15 -0800 (Wed, 18 Jan 2006) | 2 lines - -backed out ambiguous/inaccessible methods in KConfigSkeleton - ------------------------------------------------------------------------- -r117 | (no author) | 2006-01-18 23:00:34 -0800 (Wed, 18 Jan 2006) | 3 lines - -correct versioning error on addItem* methods in -KConfigSkeleton - ------------------------------------------------------------------------- -r116 | (no author) | 2006-01-18 22:08:35 -0800 (Wed, 18 Jan 2006) | 3 lines - -fixes for backward compatibility with older KDE, gcc, -sip - ------------------------------------------------------------------------- -r115 | (no author) | 2006-01-18 21:12:02 -0800 (Wed, 18 Jan 2006) | 2 lines - -PyKDE for KDE 3.5.0 complete - ------------------------------------------------------------------------- -r114 | (no author) | 2006-01-17 01:51:20 -0800 (Tue, 17 Jan 2006) | 2 lines - -all modules working for KDE 3.4.3 - minor fixes - ------------------------------------------------------------------------- -r113 | (no author) | 2006-01-16 22:13:25 -0800 (Mon, 16 Jan 2006) | 2 lines - -kabc, kresources touchup - ------------------------------------------------------------------------- -r112 | (no author) | 2006-01-16 21:57:28 -0800 (Mon, 16 Jan 2006) | 2 lines - -update extra/ for KDE 3.5.0 - ------------------------------------------------------------------------- -r111 | (no author) | 2006-01-16 21:56:14 -0800 (Mon, 16 Jan 2006) | 2 lines - -minor fix - ------------------------------------------------------------------------- -r109 | (no author) | 2006-01-16 20:35:03 -0800 (Mon, 16 Jan 2006) | 2 lines - -yet more debugging kabc, kresources - ------------------------------------------------------------------------- -r108 | (no author) | 2006-01-16 20:22:55 -0800 (Mon, 16 Jan 2006) | 2 lines - -more debugging kabc, kresources - ------------------------------------------------------------------------- -r107 | (no author) | 2006-01-16 20:15:50 -0800 (Mon, 16 Jan 2006) | 2 lines - -more kabc, kresource debugging - ------------------------------------------------------------------------- -r106 | (no author) | 2006-01-16 20:12:37 -0800 (Mon, 16 Jan 2006) | 2 lines - -kabc, kresource debugging - ------------------------------------------------------------------------- -r105 | (no author) | 2006-01-16 20:08:37 -0800 (Mon, 16 Jan 2006) | 2 lines - -kabc, kresources through KDE 3.4.3 - ------------------------------------------------------------------------- -r104 | (no author) | 2006-01-16 18:33:10 -0800 (Mon, 16 Jan 2006) | 2 lines - -removed erroneous kresources .diff file - ------------------------------------------------------------------------- -r103 | (no author) | 2006-01-16 18:24:05 -0800 (Mon, 16 Jan 2006) | 3 lines - -more kabc and kresources debugging - compiles -through KDE 330 - ------------------------------------------------------------------------- -r102 | (no author) | 2006-01-16 00:47:43 -0800 (Mon, 16 Jan 2006) | 2 lines - -debug configure.py, kabc, kresources - ------------------------------------------------------------------------- -r101 | (no author) | 2006-01-15 22:27:45 -0800 (Sun, 15 Jan 2006) | 2 lines - -fixed typo in configure.py - ------------------------------------------------------------------------- -r100 | (no author) | 2006-01-15 22:22:50 -0800 (Sun, 15 Jan 2006) | 2 lines - -added kabc and kresources through KDE 3.3.0 - ------------------------------------------------------------------------- -r97 | (no author) | 2006-01-15 15:04:44 -0800 (Sun, 15 Jan 2006) | 2 lines - -upgrade to KDE 3.4.3 - ------------------------------------------------------------------------- -r95 | (no author) | 2006-01-15 10:47:15 -0800 (Sun, 15 Jan 2006) | 2 lines - -added 'extra' files - ------------------------------------------------------------------------- -r94 | (no author) | 2006-01-15 10:26:53 -0800 (Sun, 15 Jan 2006) | 2 lines - -Update to KDE 3.4.2 - ------------------------------------------------------------------------- -r93 | (no author) | 2006-01-14 14:12:52 -0800 (Sat, 14 Jan 2006) | 4 lines - -typedef'd IntList from QValueList so IntList() -can be used as intializer for defaults; removed C++ -for second ctors ItemInt64 and ItemUInt64 - ------------------------------------------------------------------------- -r92 | (no author) | 2006-01-14 14:03:35 -0800 (Sat, 14 Jan 2006) | 2 lines - -reversed kdecore/kconfigskeleton change - ------------------------------------------------------------------------- -r91 | (no author) | 2006-01-14 13:40:37 -0800 (Sat, 14 Jan 2006) | 2 lines - -remove erroneous files - ------------------------------------------------------------------------- -r90 | (no author) | 2006-01-14 13:38:39 -0800 (Sat, 14 Jan 2006) | 5 lines - -Fix sio syntax errors in kdecore/kconfigskeleton.sip -(QValueList() as arg default value) and -kio/slaveinterface.sip (%TypeHeaderCode in namespace -instead of %ModuleHeaderCode outside) - ------------------------------------------------------------------------- -r89 | (no author) | 2006-01-14 13:25:39 -0800 (Sat, 14 Jan 2006) | 5 lines - -Upgrade to sip snapshot (future sip 4.4 - sipTransferObj stuff -and eliminate most typedefs to prevent auto mapped types); add -patch code to KConfigSkeleton addItem* and Item* ctors for -scalar types;minor bugfixes (sipForceConvertToQString anachronisms) - ------------------------------------------------------------------------- -r88 | (no author) | 2005-12-18 11:20:55 -0800 (Sun, 18 Dec 2005) | 2 lines - -Version dirSize in kdirsize.sip for older KDE - ------------------------------------------------------------------------- -r87 | (no author) | 2005-12-18 09:51:33 -0800 (Sun, 18 Dec 2005) | 4 lines - -Fixed versioning bug for enum Other in kshortcutlist.sip; -added fully-qualified names to two 'Other' arguments in -method calls - ------------------------------------------------------------------------- -r86 | (no author) | 2005-12-17 14:44:01 -0800 (Sat, 17 Dec 2005) | 3 lines - -Removed incorrect (later version) %Includes from -sip.in files - ------------------------------------------------------------------------- -r85 | (no author) | 2005-12-17 14:24:58 -0800 (Sat, 17 Dec 2005) | 2 lines - -Added missing @mark@ to sip.in files - ------------------------------------------------------------------------- -r84 | (no author) | 2005-12-17 13:39:26 -0800 (Sat, 17 Dec 2005) | 3 lines - -Removed longlong/ulonglong from kzip (now in kdecore for -older KDE versions), and versioned QPtrList - ------------------------------------------------------------------------- -r83 | (no author) | 2005-12-17 13:28:33 -0800 (Sat, 17 Dec 2005) | 2 lines - -Extended longlong and ulonglong to earlier KDE versions - ------------------------------------------------------------------------- -r82 | (no author) | 2005-10-15 17:40:13 -0700 (Sat, 15 Oct 2005) | 2 lines - -Updated %Timeline for KDE 3.4.1 - ------------------------------------------------------------------------- -r81 | (no author) | 2005-10-15 17:38:51 -0700 (Sat, 15 Oct 2005) | 5 lines - -Create ChangeLog from svn logs -Change PyKDE version to 3.5.0 -Update KDE versions to 3.4.1 - - ------------------------------------------------------------------------- -r80 | (no author) | 2005-10-15 17:23:54 -0700 (Sat, 15 Oct 2005) | 3 lines - -Modified configure.py to detect compiler and -set default concatenation appropriately - ------------------------------------------------------------------------- -r79 | (no author) | 2005-10-15 17:22:13 -0700 (Sat, 15 Oct 2005) | 2 lines - -fixup - ------------------------------------------------------------------------- -r78 | (no author) | 2005-10-13 11:45:39 -0700 (Thu, 13 Oct 2005) | 8 lines - -Replaced sipNewCppToSelf instances with sipBuildResult -Cleaned up sip files for gcc 3.4.x/4.0.x compatibility -Dropped kdesu (undefined symbol problem) -Added -fno-rtti to kdeprint compile -Dropped driver.sip from kdeprint -Updated configure.py to use pyqtconfig.py for Qt environment info -Backed out konsolepart code (undefined symbol problem) - ------------------------------------------------------------------------- -r76 | (no author) | 2005-07-27 23:27:34 -0700 (Wed, 27 Jul 2005) | 2 lines - -update configure.py for konsolePart - ------------------------------------------------------------------------- -r75 | (no author) | 2005-07-27 21:46:51 -0700 (Wed, 27 Jul 2005) | 2 lines - -added ConvertToSubclassCode entry for konsolePart - ------------------------------------------------------------------------- -r74 | (no author) | 2005-07-26 16:58:53 -0700 (Tue, 26 Jul 2005) | 2 lines - -added konsolePart class - ------------------------------------------------------------------------- -r73 | (no author) | 2005-06-28 16:27:53 -0700 (Tue, 28 Jun 2005) | 2 lines - -KDE 3.4.1 upgrade - ------------------------------------------------------------------------- -r72 | (no author) | 2005-06-28 14:58:07 -0700 (Tue, 28 Jun 2005) | 2 lines - -added bool type to DCOP extensions - ------------------------------------------------------------------------- -r71 | (no author) | 2005-06-18 19:16:03 -0700 (Sat, 18 Jun 2005) | 2 lines - -Added explicit link of kdeui for kspell module - ------------------------------------------------------------------------- -r70 | (no author) | 2005-06-18 17:59:10 -0700 (Sat, 18 Jun 2005) | 2 lines - -Added private dtors to keep sip 4.2 happy - ------------------------------------------------------------------------- -r69 | (no author) | 2005-03-18 16:05:34 -0800 (Fri, 18 Mar 2005) | 3 lines - -fixed cast in KURL::List operator + that was causing problems -for gcc 4 - ------------------------------------------------------------------------- -r68 | (no author) | 2005-03-16 08:50:52 -0800 (Wed, 16 Mar 2005) | 2 lines - -patch for DCOP line breaks - ------------------------------------------------------------------------- -r67 | (no author) | 2005-03-16 08:49:37 -0800 (Wed, 16 Mar 2005) | 2 lines - -Fix typos in previous patch - ------------------------------------------------------------------------- -r66 | (no author) | 2005-03-15 16:07:18 -0800 (Tue, 15 Mar 2005) | 2 lines - -Added ConvertToSubclassCode blocks for kmdi, kutils - ------------------------------------------------------------------------- -r65 | (no author) | 2005-03-10 10:41:57 -0800 (Thu, 10 Mar 2005) | 2 lines - -added kkeyserver.h to extra/kde340 - ------------------------------------------------------------------------- -r64 | (no author) | 2005-03-08 14:14:58 -0800 (Tue, 08 Mar 2005) | 3 lines - -Fixed case problem in configure.py distro check; fixed default -value in KURL::cleanPath - ------------------------------------------------------------------------- -r62 | (no author) | 2005-03-06 21:31:50 -0800 (Sun, 06 Mar 2005) | 2 lines - -fixed emums in templates/annotated - ------------------------------------------------------------------------- -r61 | (no author) | 2005-03-06 21:30:48 -0800 (Sun, 06 Mar 2005) | 2 lines - -fixed enums in examples, templates; fixed KIconThemeDir ref - ------------------------------------------------------------------------- -r60 | (no author) | 2005-03-05 00:57:44 -0800 (Sat, 05 Mar 2005) | 2 lines - -added -L option for lib path - ------------------------------------------------------------------------- -r59 | (no author) | 2005-03-05 00:47:24 -0800 (Sat, 05 Mar 2005) | 2 lines - -removed kjs support - ------------------------------------------------------------------------- -r58 | (no author) | 2005-03-05 00:42:59 -0800 (Sat, 05 Mar 2005) | 2 lines - -update extra/kde340 h files - ------------------------------------------------------------------------- -r57 | (no author) | 2005-03-05 00:36:09 -0800 (Sat, 05 Mar 2005) | 2 lines - -update .easibox - extra/kde340 - ------------------------------------------------------------------------- -r56 | (no author) | 2005-03-05 00:34:34 -0800 (Sat, 05 Mar 2005) | 2 lines - -added extra/kde340 - ------------------------------------------------------------------------- -r55 | (no author) | 2005-03-04 23:58:35 -0800 (Fri, 04 Mar 2005) | 2 lines - -kmdimod.sip.in one more time - ------------------------------------------------------------------------- -r54 | (no author) | 2005-03-04 23:53:37 -0800 (Fri, 04 Mar 2005) | 2 lines - -kmdimod.sip.in again - ------------------------------------------------------------------------- -r53 | (no author) | 2005-03-04 23:37:43 -0800 (Fri, 04 Mar 2005) | 2 lines - -fixed kmdimod.sip.in and kutils.sip.in - ------------------------------------------------------------------------- -r52 | (no author) | 2005-03-04 23:08:29 -0800 (Fri, 04 Mar 2005) | 2 lines - -correct qt path in kutils.sip.in - ------------------------------------------------------------------------- -r51 | (no author) | 2005-03-04 23:04:54 -0800 (Fri, 04 Mar 2005) | 2 lines - -%Include bytearray.sip missing from kdecore.sip.in - ------------------------------------------------------------------------- -r50 | (no author) | 2005-03-04 22:59:10 -0800 (Fri, 04 Mar 2005) | 2 lines - -fixed missing %Feature in dcopmod.sip.in - ------------------------------------------------------------------------- -r49 | (no author) | 2005-03-04 22:55:43 -0800 (Fri, 04 Mar 2005) | 2 lines - -fixed paths in sip.in files - ------------------------------------------------------------------------- -r48 | (no author) | 2005-03-04 22:49:00 -0800 (Fri, 04 Mar 2005) | 2 lines - -doc updates for PyKDE 4.0 - ------------------------------------------------------------------------- -r47 | (no author) | 2005-03-04 22:28:30 -0800 (Fri, 04 Mar 2005) | 2 lines - -PyKDE 4.0 docs - ------------------------------------------------------------------------- -r46 | (no author) | 2005-03-04 22:02:00 -0800 (Fri, 04 Mar 2005) | 2 lines - -new configure.py for PyKDE 4.0 - ------------------------------------------------------------------------- -r45 | (no author) | 2005-03-04 22:00:42 -0800 (Fri, 04 Mar 2005) | 2 lines - -PyKDE 4.0 - ------------------------------------------------------------------------- -r42 | (no author) | 2005-03-01 16:20:01 -0800 (Tue, 01 Mar 2005) | 2 lines - -Fixed KActionCollection for Mandrake - ------------------------------------------------------------------------- -r41 | (no author) | 2005-03-01 14:55:49 -0800 (Tue, 01 Mar 2005) | 2 lines - -Fixed pid_t typing problems (QValueList) - ------------------------------------------------------------------------- -r40 | (no author) | 2005-03-01 13:34:04 -0800 (Tue, 01 Mar 2005) | 2 lines - -Changed pid_t type from int to long; enabled KParts::URLArgs::metaData () - ------------------------------------------------------------------------- -r39 | (no author) | 2005-02-28 23:49:09 -0800 (Mon, 28 Feb 2005) | 4 lines - -KFileMetaInfo typedefs removed; KProcessController versioning -corrected; KRecentDirs (and extra/ hfiles) added; pykde332.prj -added - ------------------------------------------------------------------------- -r38 | (no author) | 2005-02-28 22:34:42 -0800 (Mon, 28 Feb 2005) | 2 lines - -added KHTMLPart to %ConvertToSubclassCode; install kdepyuic - ------------------------------------------------------------------------- -r37 | (no author) | 2005-02-03 00:07:38 -0800 (Thu, 03 Feb 2005) | 2 lines - -Added KURL import to dcopext.py - ------------------------------------------------------------------------- -r36 | (no author) | 2005-01-04 11:38:01 -0800 (Tue, 04 Jan 2005) | 2 lines - -Add extra subdir - ------------------------------------------------------------------------- -r35 | (no author) | 2005-01-03 21:38:17 -0800 (Mon, 03 Jan 2005) | 2 lines - -KDE 3.3.2 and sip 4.2 updates - ------------------------------------------------------------------------- -r33 | (no author) | 2004-11-28 13:58:07 -0800 (Sun, 28 Nov 2004) | 2 lines - -Modified kmdidefines.sip for sip 4.2 enumerator name problem - ------------------------------------------------------------------------- -r32 | (no author) | 2004-11-28 13:56:19 -0800 (Sun, 28 Nov 2004) | 2 lines - -Removed pykdeconfig.py from source control - ------------------------------------------------------------------------- -r31 | (no author) | 2004-11-27 23:29:03 -0800 (Sat, 27 Nov 2004) | 2 lines - -docs - ------------------------------------------------------------------------- -r30 | (no author) | 2004-11-27 23:07:07 -0800 (Sat, 27 Nov 2004) | 2 lines - -docs - ------------------------------------------------------------------------- -r29 | (no author) | 2004-11-27 22:17:49 -0800 (Sat, 27 Nov 2004) | 2 lines - -Missing comma - ------------------------------------------------------------------------- -r28 | (no author) | 2004-11-27 22:16:34 -0800 (Sat, 27 Nov 2004) | 2 lines - -PyKDE for KDE 3.3.1 - ------------------------------------------------------------------------- -r27 | (no author) | 2004-11-27 21:16:55 -0800 (Sat, 27 Nov 2004) | 2 lines - -Revise project files - ------------------------------------------------------------------------- -r26 | (no author) | 2004-11-27 17:47:35 -0800 (Sat, 27 Nov 2004) | 2 lines - -Updating to KDE 3.3.1 - ------------------------------------------------------------------------- -r25 | (no author) | 2004-08-25 16:43:40 -0700 (Wed, 25 Aug 2004) | 2 lines - -Updated change log - ------------------------------------------------------------------------- -r24 | (no author) | 2004-08-25 16:41:33 -0700 (Wed, 25 Aug 2004) | 2 lines - -Updated numbering to 3.11.3 - ------------------------------------------------------------------------- -r23 | (no author) | 2004-08-25 15:34:33 -0700 (Wed, 25 Aug 2004) | 2 lines - -Added post proc for WId in kwinmodule signals - ------------------------------------------------------------------------- -r22 | (no author) | 2004-08-21 16:50:33 -0700 (Sat, 21 Aug 2004) | 2 lines - -same khtml_part patch as the previous rev ??? - ------------------------------------------------------------------------- -r21 | (no author) | 2004-08-21 16:42:06 -0700 (Sat, 21 Aug 2004) | 2 lines - -khtml_part: fixed enum values for sip3.10.2 with KDE 3.3.0 - ------------------------------------------------------------------------- -r20 | (no author) | 2004-08-21 01:10:05 -0700 (Sat, 21 Aug 2004) | 2 lines - -Update version numbers in docs - ------------------------------------------------------------------------- -r19 | (no author) | 2004-08-21 01:03:27 -0700 (Sat, 21 Aug 2004) | 2 lines - -docs for final release - ------------------------------------------------------------------------- -r18 | (no author) | 2004-08-20 18:50:22 -0700 (Fri, 20 Aug 2004) | 2 lines - -Fixed access specifier for copy ctor on KProcessController - ------------------------------------------------------------------------- -r17 | (no author) | 2004-08-20 10:00:27 -0700 (Fri, 20 Aug 2004) | 2 lines - -Updated to KDE 3.3.0 final - ------------------------------------------------------------------------- -r16 | (no author) | 2004-08-20 09:59:28 -0700 (Fri, 20 Aug 2004) | 2 lines - -Removed khtml_part.sip (different versions for different KDE versions) - ------------------------------------------------------------------------- -r15 | (no author) | 2004-08-19 23:52:31 -0700 (Thu, 19 Aug 2004) | 2 lines - -Added svnmerge, svnmergedocs - ------------------------------------------------------------------------- -r14 | (no author) | 2004-08-16 19:42:57 -0700 (Mon, 16 Aug 2004) | 2 lines - -change spaces to tabs in postproc/appQuit - ------------------------------------------------------------------------- -r13 | (no author) | 2004-08-16 19:41:25 -0700 (Mon, 16 Aug 2004) | 2 lines - -Save doc tool mods - ------------------------------------------------------------------------- -r12 | (no author) | 2004-08-16 17:44:37 -0700 (Mon, 16 Aug 2004) | 2 lines - -Updated docs - ------------------------------------------------------------------------- -r11 | (no author) | 2004-08-16 17:23:33 -0700 (Mon, 16 Aug 2004) | 2 lines - -Patched qvariant.h problem in kdecore - ------------------------------------------------------------------------- -r10 | (no author) | 2004-08-16 16:40:43 -0700 (Mon, 16 Aug 2004) | 2 lines - -Corrected kuniqueapplication - ------------------------------------------------------------------------- -r9 | (no author) | 2004-08-16 14:43:51 -0700 (Mon, 16 Aug 2004) | 2 lines - -Fixed h file problems for KDE3.0.x; fixed LONG_LONG for KDE3.0.x with Python 2.3 - ------------------------------------------------------------------------- -r8 | (no author) | 2004-08-15 21:49:27 -0700 (Sun, 15 Aug 2004) | 2 lines - -version before access hides access for KDE < 3.2 in kprocctrl.sip - ------------------------------------------------------------------------- -r7 | (no author) | 2004-08-15 12:21:23 -0700 (Sun, 15 Aug 2004) | 2 lines - -Corrected error - configure.py spippath defined in wrong place - ------------------------------------------------------------------------- -r6 | (no author) | 2004-08-15 12:19:37 -0700 (Sun, 15 Aug 2004) | 2 lines - -Added khtml_part.sip versions - ------------------------------------------------------------------------- -r5 | (no author) | 2004-08-15 12:14:27 -0700 (Sun, 15 Aug 2004) | 3 lines - -Changes to configure.py for khtml/kutils when KDE < 3.3.0 and -kutils isn't needed/supported - ------------------------------------------------------------------------- -r4 | (no author) | 2004-08-15 12:04:57 -0700 (Sun, 15 Aug 2004) | 2 lines - -Patches for building with -i option (no concatenation) - ------------------------------------------------------------------------- -r3 | (no author) | 2004-08-15 09:13:47 -0700 (Sun, 15 Aug 2004) | 2 lines - -Ready for KDE 3.3.0beta2 - ------------------------------------------------------------------------- -r2 | (no author) | 2004-08-13 22:35:48 -0700 (Fri, 13 Aug 2004) | 2 lines - -Initial import - ------------------------------------------------------------------------- diff --git a/python/pykde/INSTALL b/python/pykde/INSTALL deleted file mode 100644 index 499b923a..00000000 --- a/python/pykde/INSTALL +++ /dev/null @@ -1,14 +0,0 @@ -This set of files will build all supported PyKDE versions. - -With the directory containing this file as the current directory, -do: - ->> python configure.py && make && su -c"make install" ->> python importTest.py - -python configure.py -h will list the command line switches. Most -installations will work as above. - -The full installation instructions are now in ./doc/install.html, which -can also be reached from the Table of Contents in ./doc/index.html. - diff --git a/python/pykde/NEWS b/python/pykde/NEWS deleted file mode 100644 index 998f8f08..00000000 --- a/python/pykde/NEWS +++ /dev/null @@ -1,3 +0,0 @@ -No news is good news - -Initial Release diff --git a/python/pykde/README b/python/pykde/README deleted file mode 100644 index 1a0c8f6e..00000000 --- a/python/pykde/README +++ /dev/null @@ -1,5 +0,0 @@ -This set of files will build all supported PyKDE versions. - -The installation instructions are now in ./doc/install.html, which -can also be reached from the Table of Contents in ./doc/index.html. - diff --git a/python/pykde/THANKS b/python/pykde/THANKS deleted file mode 100644 index d52be618..00000000 --- a/python/pykde/THANKS +++ /dev/null @@ -1,109 +0,0 @@ -Michael Franz Aigner - For basic KConfigSkeleton::addItem* and Item* - ctors (for scalar types) - -Simon Edwards - For putting PyKDE on KDE CVS - -Torsten Marek - For initial work on PyKDE for sip 4.0 that cut lots - of hours off the development time, and for several - bug reports; PyKDE/PyQt wiki - -Troy Melhase - kmdi advocacy and the example programs for kmdi and qxembed - -Steve Robson - Slackware bug reports and persistence - -The usual suspects: Hans-Peter Jansen, Simon Edwards, - Ricardo Javier Cardenes - General assistance and great suggestions on a number - of aspects of PyKDE - -PyKDE mailing list - As always, a lot of good comments, suggestions, bug - reports from people whose names I haven't listed - here (sorry for the omissions). - -David Boddie - More plugin related stuff (coming in future releases) - -Ricardo Javier Cardenes Medina - build.py bugs and incompatibilities with Python < 2.2) - -David Boddie - Panel applet original code and suggestions; Slackware - bug reports - -Han-Peter Jansen (again) - Top level sip file patch script, more build.py fixes - and enhancements - -Gordon Tyler (again) - Need for and implementation of ConvertToSubClassCode - code in PyKDE (subclassing related) - -Simon Edwards - Mandrake 9.1 rpms - -PyKDE mailing list - Encouragement, support useful criticisms and - patience - -Hans-Peter Jansen (again) - For build.py cleanup and enhancements (smp, dest dir, - etc.) - -Gordon Tyler - For build.py bug reports and 'sys.executable' patch - for example files, obsolete QList instances report, - createGUI fix in xmlmenu example - -Julian Rockey - For build.py bug reports - -Jonathan Gardner, Hans-Peter Janssen, Marc Schmitt - For rpm packages and the source forge website - (let me know if I've left out any names) - -Daniel Naber - For bug reports and testing (KSharedPtr related) - -Roberto Alsina - For an interim KDE3.1.1 compatible release - -Michael Lauer - For presip testing and suggestions - -Neil Stevens - KListViewItem constructor bug - -Bret McMillan - For RH info and assistance. - -Ricardo Javier Cardenes Medina - For the Debian port, 80% improvement in compile times and - other suggestions. - -Bill Soudan - For testing and bug fixes for gcc2.96/KDE2.2.0/RH7.2 (and - a lot of work on all of those) - -Boudewijn Rempt - For evangelising and providing so much support to other users. - -Matt Gerassimoff, John Filo, Boudewijn Rempt - For testing and excellent bug reports. - -Rupert Thurner - For pointing out what env is for. - -Henrik Motakef - For bug reports/fixes in PyKDE2 - -Yannick Gingras - For bug reports (gcc 2.96 related) - -KDE Developers - For a great platform to port to Python diff --git a/python/pykde/configure.py b/python/pykde/configure.py deleted file mode 100644 index b92ad181..00000000 --- a/python/pykde/configure.py +++ /dev/null @@ -1,943 +0,0 @@ -# This script generates the PyKDE configuration and generates the Makefiles. -# -# Copyright (c) 2004 -# Riverbank Computing Limited -# Jim Bublitz -# -# This file is part of PyKDE. -# -# This copy of PyKDE is free software; you can redistribute it and/or modify it -# under the terms of the GNU General Public License as published by the Free -# Software Foundation; either version 2, or (at your option) any later -# version. -# -# PyKDE is supplied in the hope that it will be useful, but WITHOUT ANY -# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS -# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more -# details. -# -# You should have received a copy of the GNU General Public License along with -# PyKDE; see the file LICENSE. If not, write to the Free Software Foundation, -# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -import sys -import os -import string -import glob -import getopt -import shutil -import py_compile - -try: - import sipconfig -except: - print ("Can't find sipconfig.py (expected in sys.path)") - print ("Have you built the correct version of sip?") - sys.exit (-1) - -try: - import pyqtconfig -except: - sipconfig.error ("Can't find pyqtconfig.py in sys.path - exiting") - -# Get the SIP configuration. -sipcfg = sipconfig.Configuration() -pyqtcfg = pyqtconfig.Configuration () - -# Initialise the globals. -pykde_version = 0x031000 -pykde_version_str = "3.16.0" -kde_version = None -kde_version_str = None -kde_version_sfx = None -kde_version_extra = None -kde_max_version = 0x030503 - -sip_min_v3_version = 0x040400 -sip_min_v4_version = 0x040400 -qt_min_version = 0x030200 -pyqt_min_version = 0x031000 - -kde_sip_flags = [] - -# Command line options. -opt_pykdemoddir = sipcfg.default_mod_dir -opt_pykdesipdir = sipcfg.default_sip_dir -opt_debug = 0 -opt_concat = None -opt_split = 1 -opt_releasegil = 0 -opt_tracing = 0 -opt_static = 0 -opt_kdebasedir = None -opt_kdelibdir = None -opt_kdeincdir = None -opt_dep_warnings = 0 -opt_libdir = "lib" -opt_dist_name = "" - -pykde_modules = ["dcop", "kdecore", "kdefx", "kdeui", "kio", "kresources", "kabc", "kutils", "kfile", "kparts",\ - "khtml", "kspell", "kdeprint", "kmdi"] #, "kspell2"] - -pykde_imports = { - "dcop": ["qt"], - "kdecore": ["qt", "dcop"], -# "kdesu": ["qt", "dcop", "kdecore"], - "kdefx": ["qt", "dcop", "kdecore"], - "kdeui": ["qt", "qtxml", "dcop", "kdecore", "kdefx"], - "kio": ["qt", "qtxml", "dcop", "kdecore", "kdefx", "kdeui"], - "kresources": ["qt", "qtxml", "dcop", "kdecore", "kdefx", "kdeui", "kio"], - "kabc": ["qt", "qtxml", "dcop", "kdecore", "kdefx", "kdeui", "kio", "kresources"], - "kutils": ["qt", "qtxml", "dcop", "kdecore", "kdefx", "kdeui", "kio"], - "kfile": ["qt", "qtxml", "dcop", "kdecore", "kdefx", "kdeui", "kio"], - "kparts": ["qt", "qtxml", "dcop", "kdecore", "kdefx", "kdeui", "kio"], - "khtml": ["qt", "qtxml", "dcop", "kdecore", "kdefx", "kdeui", "kutils", "kio", "kparts"], - "kspell": ["qt", "qtxml", "dcop", "kdecore", "kdefx", "kdeui", "kio", "kfile"], - "kdeprint": ["qt", "qtxml", "dcop", "kdecore", "kdefx", "kdeui"], - "kmdi": ["qt", "qtxml", "dcop", "kdecore", "kdefx", "kdeui", "kio", "kparts"], - "kspell2": ["qt", "qtxml", "dcop", "kdecore", "kdefx", "kdeui"] - } - -kde_includes = { - "dcop": None, - "kdecore": None, -# "kdesu": ["kdesu"], - "kdefx": None, - "kdeui": None, - "kio": ["kio"], - "kresources": ["kio", "../kio", "kresources"], - "kabc": ["kio", "../kio", "kresources", "kabc"], - "kfile": ["kio", "../kio"], - "kparts": ["kio", "../kio", "kparts"], - "khtml": ["kio", "../kio", "kparts", "dom"], - "kspell": ["kio"], - "kdeprint": ["kdeprint"], - "kmdi": ["kmdi", "kio", "../kio", "kparts"], - "kutils": ["kio", "../kio"] #, -# "kspell2": None - } - -postProcess = { - "dcop": None, - "kdecore": [["-p ", "kdecore", "-o", "appQuit", "kdecore.py"], - ["-p ", "kdecore", "-o", "fixQVariant", "kdecore.sbf"], - ["-p ", "kdecore", "-o", "fixSignal", "kdecorepart0.*"]], -# "kdesu": None, - "kdefx": None, - "kdeui": None, #[["-p ", "kdeui", "-o", "shpix", "sipkdeuiKSharedPixmap.cpp"]], - "kresources": None, - "kabc": None, - "kio": None, - "kfile": None, - "kparts": None, - "khtml": None, - "kspell": None, - "kdeprint": None, - "kmdi": None, - "kutils": None #, -# "kspell2": None - } - -opt_startModName = "" -opt_startmod = 0 -opt_endmod = len (pykde_modules) - -def check_gcc (): - global opt_concat - - os.system ("gcc -dumpversion > gccvers.txt") - m = open ('gccvers.txt', 'r') - vers = m.read ().strip () - m.close () - os.unlink ('gccvers.txt') - print "gcc version %s" % vers - - if opt_concat == None: - if vers < "4.0.0" or vers >= "4.0.3": - opt_concat = 1 - else: - opt_concat = 0 - - if opt_concat == 1: - print "concatenating files" - else: - print "no concatenation" - print - -def init_and_check_sanity (): - """ Do some initialization and check various versions and - attributes of sip and PyQt installations - """ - - check_gcc () - - # Check SIP is new enough. - if sipcfg.sip_version_str[:8] != "snapshot": - minv = None - - if sipcfg.sip_version >= 0x040000: - if sipcfg.sip_version < sip_min_v4_version: - minv = sip_min_v4_version - else: - if sipcfg.sip_version < sip_min_v3_version: - minv = sip_min_v3_version - - if minv: - sipcfg.error("This version of PyKDE requires SIP v%s or later" % sipcfg.version_to_string(minv)) - - # Check SIP has Qt support enabled and check version - if pyqtcfg.qt_version == 0: - sipconfig.error("SIP has been built with Qt support disabled.") - if pyqtcfg.qt_version < qt_min_version: - sipconfig.error("SIP has been built with an unsupported Qt version (%s)"\ - % sipcfg.version_to_string (sipcfg.qt_version)) - - # Check PyQt built with libqt-mt - if pyqtcfg.qt_threaded == 0: - sipconfig.error ("PyKDE requires a threaded Qt version (libqt-mt)") - - # Check PyQt version - if pyqtcfg.pyqt_version < pyqt_min_version: - sipcfg.error("This version of PyKDE requires PyQt v%s or later"\ - % pyqtcfg.version_to_string(pyqtcfg.pyqt_version)) - - # find the libs, includes, and version info - check_kde_installation () - -def usage(rcode = 2): - """Display a usage message and exit. - - rcode is the return code passed back to the calling process. - """ - print "Usage:" - print " python configure.py [-h] [-c] [-d dir] [-g] [-j #] [-k] [-n dir] [-o dir] [-r] [-u] [-v dir] [-z file]" - print "where:" - print " -h displays this help message" - print " -c concatenates each module's C/C++ source files [default]" - print " -d dir where the PyKDE modules will be installed [default %s]" % opt_pykdemoddir - print " -g always release the GIL (SIP v3.x behaviour)" - print " -i no concatenation of each module's C/C++ source files" - print " -j # splits the concatenated C++ source files into # pieces [default 1]" - print " -k dir the KDE base directory" - print " -L dir the library directory name [default lib]" - print " -n dir the directory containing the KDE lib files" - print " -o dir the directory containing the KDE header files" - print " -r generates code with tracing enabled [default disabled]" - print " -u build with debugging symbols" - print " -v dir where the PyKDE .sip files will be installed [default %s]" % opt_pykdesipdir - print " -w turn on KDE deprecated object warnings when compiling [default off]" - print " -z file the name of a file containing command line flags" - - sys.exit(rcode) - - -def inform_user(stage): - """Tell the user the option values that are going to be used. - """ - if stage == 0: - print - print " PyKDE version %s" % pykde_version_str - print " -------" - print - sipconfig.inform ("Python include directory is %s" % sipcfg.py_inc_dir) - sipconfig.inform ("Python version is %s" % sipconfig.version_to_string (sipcfg.py_version)) - print - sipconfig.inform ("sip version is %s (%s)" % (sipcfg.sip_version_str, - sipconfig.version_to_string (sipcfg.sip_version))) - print - sipconfig.inform ("Qt directory is %s" % pyqtcfg.qt_dir) - sipconfig.inform ("Qt version is %s" % sipconfig.version_to_string (pyqtcfg.qt_version)) - print - sipconfig.inform ("PyQt directory is %s" % pyqtcfg.pyqt_sip_dir) - sipconfig.inform ("PyQt version is %s (%s)" % (pyqtcfg.pyqt_version_str, - sipconfig.version_to_string (pyqtcfg.pyqt_version))) - print - - elif stage == 1: - sipconfig.inform ("KDE base directory is %s" % opt_kdebasedir) - sipconfig.inform ("KDE include directory is %s" % opt_kdeincdir) - sipconfig.inform ("KDE lib directory is %s" % opt_kdelibdir) - sipconfig.inform ("lib directory is %s" % opt_libdir) - - elif stage == 2: - sipconfig.inform ("KDE version is %s (0x%x)" % (kde_version_str, kde_version)) - print - - sipconfig.inform("PyKDE modules will be installed in %s" % opt_pykdemoddir) - sipconfig.inform("PyKDE .sip files will be installed in %s" % opt_pykdesipdir) - print - - - -def create_config(module, template): - """Create the PyKDE configuration module so that it can be imported by build - scripts. - - module is the module file name. - template is the template file name. - """ - sipconfig.inform("Creating %s..." % module) - - content = { - "pykde_version": pykde_version, - "pykde_version_str": pykde_version_str, - "kde_version": kde_version, - "kde_version_str": kde_version_str, - "kde_version_sfx": kde_version_sfx, - "kde_version_extra": kde_version_extra, -# "pykde_bin_dir": opt_pykdebindir, - "pykde_mod_dir": opt_pykdemoddir, - "pykde_sip_dir": opt_pykdesipdir, - "pykde_modules": pykde_modules, - "pykde_kde_sip_flags": kde_sip_flags, - "kdebasedir": opt_kdebasedir, - "kdelibdir": opt_kdelibdir, - "libdir": opt_libdir, - "kdeincdir": opt_kdeincdir, - "pykde_modules": pykde_modules, - "dist_name": opt_dist_name - } - - sipconfig.create_config_module(module, template, content) - -def getKDEVersion (versFile): - if not os.path.isfile (versFile): - return - - major = None - minor = None - micro = None - - global kde_version, kde_version_str, kde_version_sfx, kde_version_extra - - f = open (versFile) - l = f.readline () - ok = 0 - - while not ok and l: - wl = string.split(l) - if len(wl) == 3 and wl[0] == "#define": - if wl[1] == "KDE_VERSION_MAJOR": - major = string.strip (wl[2]) - - if wl[1] == "KDE_VERSION_MINOR": - minor = string.strip (wl[2]) - - if wl[1] == "KDE_VERSION_RELEASE": - micro = string.strip (wl[2]) - - if major and minor and micro: - ok = 1 - - l = f.readline() - - f.close() - - if micro >= "90" and minor == "2": - micro = "0" - minor = "3" - - kde_version = (int (major) << 16) + (int (minor) << 8) + int (micro) - - if kde_version > kde_max_version: - print - sipconfig.inform ("*** True KDE version is %s -- building for KDE %s ***" % (hex (kde_version), hex (kde_max_version))) - print - kde_version = kde_max_version - major = hex ((kde_version & 0xff0000) >> 16) [ 2:] - minor = hex ((kde_version & 0x00ff00) >> 8) [ 2:] - micro = hex (kde_version & 0x0000ff) [ 2:] - - if ok: - kde_version_str = string.join ([major, minor, micro], ".") - kde_version_sfx = string.join (["-kde", major, minor, micro, ".diff"], "") - kde_version_extra = string.join (["kde", major, minor, micro], "") - else: - sipconfig.error ("KDE version not found in %s" % versFile) - - global postProcess - -def search (target, searchPath): - if not searchPath: - return - - path = None - for searchEntry in searchPath: - if os.path.isdir (searchEntry)\ - and (not target or os.path.isfile (os.path.join (searchEntry, target))): - path = searchEntry - break - - return path - -def discoverKDE3 (): - global opt_kdeincdir, opt_kdebasedir, opt_kdelibdir, opt_libdir - - if not opt_kdebasedir: - kdeSearchPaths = [] - libSearchPaths = [] - incSearchPaths = [] - - try: - kdeSearchPaths.append (os.environ ["KDEDIR"]) - except: - pass - kdeSearchPaths.append (os.path.join ("/opt", "kde3")) - kdeSearchPaths.append ("/usr") - - opt_kdebasedir = search (None, kdeSearchPaths) - - if not opt_kdelibdir: - libSearchPaths = [os.path.join (opt_kdebasedir, "lib"), os.path.join (opt_kdebasedir, "lib64"), os.path.join (opt_kdebasedir, opt_libdir)] -# print opt_libdir - opt_kdelibdir = search ("libkdecore.so", libSearchPaths) - - if not opt_kdeincdir: - incSearchPaths = [os.path.join (opt_kdebasedir, "include")] - incSearchPaths.append (os.path.join (opt_kdebasedir, "include", "kde")) # Red Hat - opt_kdeincdir = search ("kapplication.h", incSearchPaths) - -def check_kde_installation(): - """Check the KDE installation and get the version number - - """ - # Check the KDE header files have been installed. - - discoverKDE3 () - - if not opt_kdebasedir: - sipconfig.error ("Couldn't locate KDE3 base directory") - - if not opt_kdeincdir: - sipconfig.error ("Couldn't locate KDE3 include directory (%s is KDE base)" % opt_kdebasedir) - - if not opt_kdelibdir: - sipconfig.error ("Couldn't locate KDE3 lib directory (%s is KDE base)" % opt_kdebasedir) - - kdeversion_h = os.path.join(opt_kdeincdir, "kdeversion.h") - - inform_user (1) - - if not os.access(kdeversion_h, os.F_OK): - sipconfig.error("kdeversion.h could not be found in %s." % opt_kdeincdir) - - # Get the KDE version number. - getKDEVersion(kdeversion_h) - - inform_user (2) - -def create_top_level (mname): - """ Create the top level sip file mod.sip from mod.sip-in - and add/delete any %Included sip files per the current KDE version - """ - diff = os.path.join ("sip", mname, mname + kde_version_sfx) - plus = [] - minus = [] - if os.path.exists (diff): - d = open (diff) - line = d.readline() - while line: - if string.find (line, "+") == 0: - plus.append (line [2:]) - elif string.find (line, "-") == 0: - minus.append (line [2:]) - - line = d.readline() - - sipin = open (os.path.join ("sip", mname, mname + "mod.sip.in")) - sipout = open (os.path.join ("sip", mname, mname + "mod.sip"), "w") - - line = sipin.readline() - while line: - if string.find (line, "%Include") == 0: - inclFound = 1 - if minus and line in minus: - line = sipin.readline() - continue - sipout.write (line) - elif string.find (line, "@mark@") == 0: - for p in plus: - sipout.write (p) - elif mname == "kabc" and kde_version < 0x030200 and string.find (line, "kresourcesmod.sip") >= 0: - pass - else: - sipout.write (line) - - line = sipin.readline() - - sipin.close () - sipout.close () - - if mname == "khtml": - # PyKDE < 3.3.0 doesn't provide kutils (and khtml doesn't need it) - sippath = os.path.join ("sip", mname) - if kde_version < 0x030300: - sipin = open (os.path.join (sippath, mname + "mod.sip")) - sipout = open (os.path.join (sippath, mname + "mod.sip.new"), "w") - for line in sipin: - if line.find ("kutilsmod.sip") > 0: - continue - sipout.write (line) - sipin.close () - sipout.close () - os.unlink (os.path.join (sippath, mname + "mod.sip")) - os.rename (os.path.join (sippath, mname + "mod.sip.new"), os.path.join (sippath, mname + "mod.sip")) - - os.system ("cp %s %s" % (os.path.join (sippath, "khtml_part.sip.323"), os.path.join (sippath, "khtml_part.sip"))) - - else: - os.system ("cp %s %s" % (os.path.join (sippath, "khtml_part.sip.330"), os.path.join (sippath, "khtml_part.sip"))) - - -def check_distribution (): - kde_sip_flags.append ("-t") - kde_sip_flags.append ("ALL") - -def set_sip_flags(): - """Set the SIP platform, version and feature flags. - """ - global kde_sip_flags - - check_distribution () - - kde_sip_flags.append (pyqtcfg.pyqt_qt_sip_flags) - - kdetags = { - 0x030001: "KDE_3_0_0", - 0x030003: "KDE_3_0_1", - 0x030100: "KDE_3_0_3", - 0x030101: "KDE_3_1_0", - 0x030102: "KDE_3_1_1", - 0x030103: "KDE_3_1_2", - 0x030104: "KDE_3_1_3", - 0x030105: "KDE_3_1_4", - 0x030200: "KDE_3_1_5", - 0x030201: "KDE_3_2_0", - 0x030202: "KDE_3_2_1", - 0x030203: "KDE_3_2_2", - 0x030300: "KDE_3_2_3", - 0x030301: "KDE_3_3_0", - 0x030302: "KDE_3_3_1", - 0x030400: "KDE_3_3_2", - 0x030401: "KDE_3_4_0", - 0x030402: "KDE_3_4_1", - 0x030403: "KDE_3_4_2", - 0x030500: "KDE_3_4_3", - 0x030501: "KDE_3_5_0", - 0x030502: "KDE_3_5_1", - 0x030503: "KDE_3_5_2", - 0x040000: "KDE_3_5_3" - - } - - kde_sip_flags.append("-t") - kde_sip_flags.append(sipconfig.version_to_sip_tag(kde_version, kdetags, "KDE")) - - -def generate_code(mname, imports=None, extra_cflags=None, extra_cxxflags=None, extra_define=None, extra_include_dir=None, extra_lflags=None, extra_lib_dir=None, extra_lib=None, opengl=0, sip_flags=None): - """Generate the code for a module. - - mname is the name of the module. - imports is the list of PyQt/PyKDE modules that this one %Imports. - extra_cflags is a string containing additional C compiler flags. - extra_cxxflags is a string containing additional C++ compiler flags. - extra_define is a name to add to the list of preprocessor defines. - extra_include_dir is the name of a directory to add to the list of include - directories. - extra_lflags is a string containing additional linker flags. - extra_lib_dir is the name of a directory to add to the list of library - directories. - extra_lib is the name of an extra library to add to the list of libraries. - opengl is set if the module needs OpenGL support. - sip_flags is the list of sip flags to use instead of the defaults. - """ - sipconfig.inform("Generating the C++ source for the %s module..." % mname) - - create_top_level (mname) - try: - #create_top_level (mname) - pass - except: - sipconfig.error ("Couldn't create top level sip file for %s" % mname) - - try: - shutil.rmtree(mname) - except: - pass - - try: - os.mkdir(mname) - except: - sipconfig.error("Unable to create the %s directory." % mname) - - # Build the SIP command line. - argv = [sipcfg.sip_bin] - argv.extend(kde_sip_flags) - - if opt_concat: - argv.append("-j") - if mname == "kdeui" and opt_split == 1: - splits = 2 - else: - splits = opt_split - argv.append(str(splits)) - - if opt_tracing: - argv.append("-r") - - if opt_releasegil: - argv.append("-g") - - argv.append("-c") - argv.append(mname) - - buildfile = os.path.join(mname, mname + ".sbf") - argv.append("-b") - argv.append(buildfile) - - argv.append("-I") - argv.append("sip") - - pyqtInclPathSeen = 0 - for mod in pykde_imports [mname]: - if string.find (mod, "q") == 0 and not pyqtInclPathSeen: - argv.append ("-I") - argv.append (pyqtcfg.pyqt_sip_dir) - pyqtInclPathSeen = 1 - - elif mod == "dcop" or string.find (mod, "k") == 0: - subdir = os.path.join ("sip", mod) - argv.append("-I") - argv.append(subdir) - - # SIP assumes POSIX style path separators. - argv.append(string.join(["sip", mname, mname + "mod.sip"], "/")) - -# print string.join (argv) - # finally, run SIP and generate the C++ code - os.system (string.join(argv)) - - # post process the C++ code for QT_NO_TRANSLATION - if os.system (string.join ([sys.executable, "postproc"] + ['-p', mname, "-o", "tr", "*.cpp"])) != 0: - sipconfig.error ("Post processing of C++ code failed %s (tr)" % mname) - - # Check the result. - if not os.access(buildfile, os.F_OK): - sipconfig.error("Unable to create the C++ code.") - - if mname == "kdecore" and not opt_concat: - postProcess ["kdecore"][-1][-1] = "kdecorecmodule.*" - - # Compile the Python stub. - if sipcfg.sip_version < 0x040000: - sipconfig.inform("Compiling %s.py..." % mname) - py_compile.compile(os.path.join(mname, mname + ".py"), os.path.join(mname, mname + ".pyc")) - elif mname == "kdecore": - postProcess ["kdecore"][-1][-1] = "sip" + postProcess ["kdecore"][-1][-1] - - # needs to be here (not earlier) to catch .py files if any - if postProcess [mname]: - for s in postProcess [mname]: - if os.system (string.join ([sys.executable, "postproc"] + s)) != 0: - sipconfig.error ("Post processing of C++ code failed %s (%s)" % (mname, s [3])) - - # Generate the Makefile. - sipconfig.inform("Creating the Makefile for the %s module..." % mname) - - installs = [] - if mname == "dcop": - installs.append ([["../extensions/dcopext.py", "../extensions/dcopexport.py"], opt_pykdemoddir]) - - if sipcfg.sip_version >= 0x040000: - warnings = 1 - else: - warnings = 0 - installs.append([[mname + ".py", mname + ".pyc"], opt_pykdemoddir]) - - sipfiles = [] - -# for s in glob.glob("sip/*.sip"): -# sipfiles.append(os.path.join("..", "sip", os.path.basename(s))) - for s in os.listdir (os.path.join ("sip", mname)): - if s.endswith (".sip"): - sipfiles.append(os.path.join("..", "sip", mname, os.path.basename(s))) - - - installs.append([sipfiles, os.path.join(opt_pykdesipdir, mname)]) - - makefile = sipconfig.SIPModuleMakefile( - configuration = pyqtcfg, - build_file = mname + ".sbf", - dir = mname, - install_dir = opt_pykdemoddir, - installs = installs, - qt = 1, - opengl = opengl, - warnings = warnings, - static = opt_static, - debug = opt_debug - ) - - if extra_cflags: - makefile.extra_cflags.append(extra_cflags) - - if extra_cxxflags: - makefile.extra_cxxflags.append(extra_cxxflags) - - if opt_dep_warnings == 0: - makefile.extra_cflags.append ("-Wno-deprecated-declarations") - makefile.extra_cxxflags.append ("-Wno-deprecated-declarations") - - if extra_define: - makefile.extra_defines.append(extra_define) - - makefile.extra_include_dirs.append (os.path.join ("..", "extra", kde_version_extra)) - makefile.extra_include_dirs.append (opt_kdeincdir) - if kde_includes [mname]: - for incdir in kde_includes [mname]: - if "/" not in incdir: - makefile.extra_include_dirs.append (os.path.join (opt_kdeincdir, incdir)) - else: - makefile.extra_include_dirs.append (incdir) - - if extra_include_dir: - makefile.extra_include_dirs.append(extra_include_dir) - - if extra_lflags: - makefile.extra_lflags.append(extra_lflags) - - makefile.extra_lib_dirs.append (opt_kdelibdir) - if extra_lib_dir: - makefile.extra_lib_dirs.append(extra_lib_dir) - - if extra_lib == "dcop": - extra_lib = "DCOP" - elif extra_lib == "kfile": - extra_lib = "kio" - - makefile.extra_libs.append(extra_lib) - if extra_lib == "kdefx": - makefile.extra_libs.append ("kdecore") - if extra_lib == "kspell": - makefile.extra_libs.append ("kdeui") - if extra_lib == "kabc" and kde_version >= 0x030200: - makefile.extra_libs.append ("kabc_file") - if extra_lib == "kparts" and kde_version >= 0x030500: - makefile.extra_lib_dirs.append (os.path.join (opt_kdelibdir, "kde3")) - makefile.extra_libs.append ("konsolepart") - - if extra_lib == "kdeprint": - makefile.extra_cflags.append ("-fno-rtti") - makefile.extra_cxxflags.append ("-fno-rtti") - - - if sipcfg.sip_version < 0x040000 and imports: - # Inter-module links. - for im in imports: - makefile.extra_lib_dirs.insert(0, os.path.join("..", im)) - makefile.extra_libs.insert(0, makefile.module_as_lib(im)) - - makefile.generate() - print - - -def create_makefiles(): - """Create the additional Makefiles. - """ - subdirs = pykde_modules[:] - - sipconfig.inform("Creating top level Makefile...") - - sipconfig.ParentMakefile( - configuration = pyqtcfg, - subdirs = subdirs, - installs= [("pykdeconfig.py", opt_pykdemoddir), ("contrib/kdepyuic", sipcfg.default_bin_dir)] - ).generate() - - if kde_version >= 0x030500: - f = open ("Makefile", "r") - buff = f.read () - f.close () - target = os.path.join (opt_kdelibdir, "kde3", "libkonsolepart.so") - symlink = os.path.join ( "$(DESTDIR)" + opt_kdelibdir, "libkonsolepart.so") - buff = buff.replace ("install:\n", "install:\n\tln -sf %s %s\n" % (target, symlink)) - f = open ("Makefile.new", "w") - f.write (buff) - f.close () - os.unlink ("Makefile") - os.rename ("Makefile.new", "Makefile") - -def fileOpts (fn): - try: - optfile = open (fn, 'r') - except: - error ("Could not open option file %s" % (fn)) - - opts = [] - - for line in optfile.readlines (): - if (line [0] == '#') or (line == '\n'): - continue - elif line [0] == '-': - opts.append ((line [0:2], string.strip (line [2:]))) - else: - opts.append (("-" + line [0:1], string.strip (line [1:]))) - - print 'Additional options: ', - for opt, arg in opts: - print "%s %s " %(opt, arg) - print - - return opts - -def main(argv): - """Create the configuration module module. - - argv is the list of command line arguments. - """ - try: - optlist, args = getopt.getopt(argv[1:], "hcd:gij:k:L:l:n:o:ruv:wz:") - except getopt.GetoptError: - usage() - - global opt_pykdemoddir, opt_pykdesipdir - global opt_debug, opt_concat, opt_releasegil - global opt_split, opt_tracing, opt_startModName - global opt_startmod, opt_endmod - global opt_kdebasedir, opt_kdelibdir, opt_kdeincdir, opt_libdir - global pykde_modules, opt_dep_warnings, opt_dist_name - global pykde_imports, kde_includes - - # Look for '-z' first and process that switch - # (command line switches override file switches) - for opt, arg in optlist: - if opt == "-z": - optlist = fileOpts (arg) + optlist - break - elif opt == "-h": - usage (0) - else: - if args: usage() - - for opt, arg in optlist: - if opt == "-h": - usage(0) - - # turns on concatentation (on by default, here for consistency) - elif opt == "-c": - opt_concat = 1 - - elif opt == "-d": - opt_pykdemoddir = arg - elif opt == "-g": - opt_releasegil = 1 - - # turns off concatenation (on by default) - elif opt == "-i": - opt_concat = 0 - - elif opt == "-j": - try: - opt_split = int(arg) - except: - usage() - - elif opt == "-k": - opt_kdebasedir = arg - - elif opt == "-L": - opt_libdir = arg - - # allows build of single module (-lmodule) or all modules - # beginning at specified module (-lmodule:) - elif opt == "-l": - opt_startModName = arg - - elif opt == "-n": - opt_kdelibdir = arg - elif opt == "-o": - opt_kdeincdir = arg - elif opt == "-r": - opt_tracing = 1 - elif opt == "-u": - opt_debug = 1 - elif opt == "-v": - opt_pykdesipdir = arg - elif opt == "-w": - opt_dep_warnings = 1 - - inform_user (0) - init_and_check_sanity () - - # Set the SIP platform, version and feature flags. - if kde_version < 0x030200: - pykde_modules.remove ("kmdi") - pykde_modules.remove ("kresources") - pykde_imports ["kabc"].remove ("kresources") - kde_includes ["kabc"].remove ("kresources") - - if kde_version < 0x030300: - pykde_modules.remove ("kutils") -# pykde_modules.remove ("kspell2") - pykde_imports ["khtml"].remove ("kutils") - - opt_endmod = len (pykde_modules) - if opt_startModName != "": - if opt_startModName in pykde_modules: - single = opt_startModName [-1] != ":" - if not single: - opt_startModName = opt_startModName [:-1] - - try: - opt_startmod = pykde_modules.index (opt_startModName) - if single: - opt_endmod = opt_startmod + 1 - except: - sipconfig.error ("%s is not a PyKDE module" % opt_startModName) - - print "PyKDE modules to be built:\n %s\n" % string.join(pykde_modules [opt_startmod:opt_endmod]) - - set_sip_flags() - - for module in pykde_modules [opt_startmod:opt_endmod]: - generate_code (module, pykde_imports [module], extra_lib = module) - - # Create the additional Makefiles. - create_makefiles() - - # Install the configuration module. - create_config("pykdeconfig.py", "pykdeconfig.py.in") - - -def reporting_msg (): - print """ -If reporting errors, paste all of the output above into your -message and post to the PyKDE mailing list at: - - mailto: PyKDE@mats.imk.fraunhofer.de - subscribe: http://mats.imk.fraunhofer.de/mailman/listinfo/pykde - -You can redirect the output into a file (> output.txt) if needed -""" - - - -############################################################################### -# The script starts here. -############################################################################### - -if __name__ == "__main__": - try: - main(sys.argv) - except SystemExit: - reporting_msg () - raise - except: - reporting_msg () - print \ -""" -An internal error occured. Please report all output from the program, -including the following traceback, to the PyKDE mailing list -""" - raise diff --git a/python/pykde/contrib/kdepyuic b/python/pykde/contrib/kdepyuic deleted file mode 100755 index a0776f0e..00000000 --- a/python/pykde/contrib/kdepyuic +++ /dev/null @@ -1,150 +0,0 @@ -#!/usr/bin/env python - -#Terms and Conditions - -#Copyright (c) 2002 Jim Bublitz (jbublitz@nwinternet.com) - -#Permission is hereby granted, free of charge, to any person obtaining a copy of -#this software and associated documentation files (the "Software"), to deal in -#the Software without restriction, including without limitation the rights to -#use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies -#of the Software, and to permit persons to whom the Software is furnished to do -#so, subject to the following conditions: - -#The above copyright notice and this permission notice shall be included in all -#copies or substantial portions of the Software. - -#THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -#IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -#FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -#COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER -#IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -#CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - -#Except as contained in this notice, the names of the copyright holders shall not -#be used in advertising or otherwise to promote the sale, use or other dealings -#in this Software without prior written authorization from the copyright holders. - -# 2003/04/19: some minor bits from Hans-Peter Jansen, - -import sys, getopt, os, os.path, string - -#---------- globals ---------- - -FALSE = 0 -TRUE = not FALSE -addApp = TRUE -addImport = TRUE -pyuicPath = "pyuic" -filename = "" - - -# --------- support functions ---------- - -def getOptions (): - global filename - - opterr = 0 - shortOptions = "aip:" - longOptions = "noapp noimport pyuic=" - - try: - optlist, args = getopt.getopt (sys.argv [1:], shortOptions, longOptions) - except getopt.GetoptError: - opterr = 1 - optlist = [] - args = [] - - if opterr or (len (args) != 1): - print """\nUsage: - - kdepyuic [options] filename.ui - - Options: - -a, --noapp Don't add KApplication code - -i, --noimport Don't add kdecore, kdeui import statements - -p, --pyuic Path to pyuic program - """ - return FALSE - - filename = args[0] - return checkOptions (optlist) - -def checkOptions (optlist): - global addApp, addImport, pyuicPath - - for pair in optlist: - if (pair [0] == '--noapp') or (pair [0] == '-a'): - addApp = FALSE - - elif (pair [0] == '--noimport') or (pair [0] == '-i'): - addImport = FALSE - - elif (pair [0] == '--pyuic') or (pair [0] == '-p'): - pyuicPath = pair [1] - - - -# --------- operations ---------- - -def addimport (n): - if addApp: - n.write ('from kdecore import KCmdLineArgs, KApplication\n') - n.write ('from kdeui import *\n\n') - - -def addapp (indent, n): - n.write (indent + 'appname = ""\n') - n.write (indent + 'description = ""\n') - n.write (indent + 'version = ""\n') - n.write ('\n') - n.write (indent + 'KCmdLineArgs.init (sys.argv, appname, description, version)\n') - n.write (indent + 'a = KApplication ()\n\n') - -def doPyuic (): - - fn = os.path.splitext (os.path.basename(filename)) [0] + '.py' - - if addApp: - opts = ' -x -o ' - else: - opts = ' -o ' - - if os.system (pyuicPath + opts + fn + ' ' + filename) != 0: - print pyuicPath + opts + fn + ' ' + filename + " failed" - sys.exit (-1) - - if addApp or addImport: - m = open (fn, 'r') - n = open (fn + '.tmp', 'w') - - buff = m.readlines () - - for line in buff: - if addImport and (string.strip (line) == 'from qt import *'): - n.write (line) - addimport (n) - elif addApp and (string.strip (line) == 'a = QApplication(sys.argv)'): - indent = 0 - while line [indent] in string.whitespace: - indent = indent + 1 - addapp (line[:indent], n) - elif string.find(line, " = KDatePicker(") != -1: - o = string.find(line, ",") - n.write (line[:o] + ",QDate.currentDate()" + line[o:]) - else: - n.write (line) - - m.close () - n.close () - - os.unlink (fn) - os.rename (fn + '.tmp', fn) - - print fn + ' written' - - -# --------- main ---------- - -getOptions () -doPyuic () diff --git a/python/pykde/doc/classref/allclasses.html b/python/pykde/doc/classref/allclasses.html deleted file mode 100644 index f552687d..00000000 --- a/python/pykde/doc/classref/allclasses.html +++ /dev/null @@ -1,801 +0,0 @@ - - - - - All PyKDE Classes - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

PyKDE Class Index


-
- - - - -
Table of contents
Modules
All Classes
-
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
DCOPClient - KConfigBase
DCOPClient
DCOPObject
DCOPObjectProxy
DCOPRef
DCOPReply
DCOPStub
DOM.AbstractView
DOM.Attr
DOM.CDATASection
DOM.CSSCharsetRule
DOM.CSSException
DOM.CSSFontFaceRule
DOM.CSSImportRule
DOM.CSSMediaRule
DOM.CSSPageRule
DOM.CSSPrimitiveValue
DOM.CSSRule
DOM.CSSRuleList
DOM.CSSStyleDeclaration
DOM.CSSStyleRule
DOM.CSSStyleSheet
DOM.CSSUnknownRule
DOM.CSSValue
DOM.CSSValueList
DOM.CharacterData
DOM.Comment
DOM.Counter
DOM.CustomNodeFilter
DOM.DOMException
DOM.DOMImplementation
DOM.DOMString
DOM.Document
DOM.DocumentFragment
DOM.DocumentStyle
DOM.DocumentType
DOM.DomShared
DOM.Element
DOM.Entity
DOM.EntityReference
DOM.Event
DOM.EventException
DOM.EventListener
DOM.HTMLAnchorElement
DOM.HTMLAppletElement
DOM.HTMLAreaElement
DOM.HTMLBRElement
DOM.HTMLBaseElement
DOM.HTMLBaseFontElement
DOM.HTMLBlockquoteElement
DOM.HTMLBodyElement
DOM.HTMLButtonElement
DOM.HTMLCollection
DOM.HTMLDListElement
DOM.HTMLDirectoryElement
DOM.HTMLDivElement
DOM.HTMLDocument
DOM.HTMLElement
DOM.HTMLFieldSetElement
DOM.HTMLFontElement
DOM.HTMLFormElement
DOM.HTMLFrameElement
DOM.HTMLFrameSetElement
DOM.HTMLHRElement
DOM.HTMLHeadElement
DOM.HTMLHeadingElement
DOM.HTMLHtmlElement
DOM.HTMLIFrameElement
DOM.HTMLImageElement
DOM.HTMLInputElement
DOM.HTMLIsIndexElement
DOM.HTMLLIElement
DOM.HTMLLabelElement
DOM.HTMLLayerElement
DOM.HTMLLegendElement
DOM.HTMLLinkElement
DOM.HTMLMapElement
DOM.HTMLMenuElement
DOM.HTMLMetaElement
DOM.HTMLModElement
DOM.HTMLOListElement
DOM.HTMLObjectElement
DOM.HTMLOptGroupElement
DOM.HTMLOptionElement
DOM.HTMLParagraphElement
DOM.HTMLParamElement
DOM.HTMLPreElement
DOM.HTMLQuoteElement
DOM.HTMLScriptElement
DOM.HTMLSelectElement
DOM.HTMLStyleElement
DOM.HTMLTableCaptionElement
DOM.HTMLTableCellElement
DOM.HTMLTableColElement
DOM.HTMLTableElement
DOM.HTMLTableRowElement
DOM.HTMLTableSectionElement
DOM.HTMLTextAreaElement
DOM.HTMLTitleElement
DOM.HTMLUListElement
DOM.LinkStyle
DOM.MediaList
DOM.MouseEvent
DOM.MutationEvent
DOM.NamedNodeMap
DOM.Node
DOM.NodeFilter
DOM.NodeIterator
DOM.NodeList
DOM.Notation
DOM.ProcessingInstruction
DOM.RGBColor
DOM.Range
DOM.RangeException
DOM.Rect
DOM.StyleSheet
DOM.StyleSheetList
DOM.Text
DOM.TextEvent
DOM.TreeWalker
DOM.UIEvent
DOM
ExtTerminalInterface
KABC.Address
KABC.AddressBook
KABC.AddressLineEdit
KABC.AddresseeDialog
KABC.AddresseeItem
KABC.Agent
KABC.ConsoleErrorHandler
KABC.DistributionList.Entry
KABC.DistributionList
KABC.DistributionListDialog
KABC.DistributionListEditorWidget
KABC.DistributionListManager
KABC.DistributionListWatcher
KABC.EmailSelectDialog
KABC.EmailSelector
KABC.ErrorHandler
KABC.Field
KABC.FieldSortMode
KABC.Format
KABC.FormatFactory
KABC.FormatInfo
KABC.FormatPlugin
KABC.GUIErrorHandler
KABC.Geo
KABC.GuiErrorHandler
KABC.Key
KABC.LDAPUrl.Extension
KABC.LDAPUrl
KABC.LDIF
KABC.LDIFConverter
KABC.LdapClient
KABC.LdapConfigWidget
KABC.LdapObject
KABC.LdapResult
KABC.LdapSearch
KABC.Lock
KABC.LockNull
KABC.NameSortMode
KABC.PhoneNumber
KABC.Picture
KABC.Plugin
KABC.Resource
KABC.ResourceFile
KABC.ResourceSelectDialog
KABC.Secrecy
KABC.SortMode
KABC.SortingTraits.FamilyName
KABC.SortingTraits.FormattedName
KABC.SortingTraits.GivenName
KABC.SortingTraits.Name
KABC.SortingTraits.Uid
KABC.SortingTraits
KABC.Sound
KABC.StdAddressBook
KABC.Ticket
KABC.TimeZone
KABC.VCardConverter
KABC.VCardFormat
KABC.VCardFormatPlugin
KABC
KACL
KAboutApplication
KAboutContainer
KAboutContributor
KAboutData
KAboutDialog
KAboutKDE
KAboutPerson
KAboutTranslator
KAboutWidget
KAccel
KAccelAction
KAccelActions
KAccelBase
KAccelShortcutList
KAction
KActionCollection
KActionMenu
KActionPtrShortcutList
KActionSelector
KActionSeparator
KActionShortcutList
KActiveLabel
KAnimWidget
KAppTreeListItem
KApplication
KApplicationPropsPlugin
KApplicationTree
KAr
KArchive
KArchiveDirectory
KArchiveEntry
KArchiveFile
KArrowButton
KAsyncIO
KAudioPlayer
KAuthIcon
KBindingPropsPlugin
KBufferedIO
KBugReport
KButtonBox
KCModule
KCModuleInfo
KCModuleLoader
KCModuleProxy
KCMultiDialog
KCPUInfo
KCalendarSystem
KCalendarSystemFactory
KCatalogue
KCharMacroExpander
KCharSelect
KCharSelectTable
KCharsets
KClipboardSynchronizer
KCmdLineArgs
KCmdLineOptions
KCodecs
KColor
KColorCells
KColorCombo
KColorDialog
KColorDrag
KColorPatch
KCombiView
KComboBox
KCommand
KCommandHistory
KCompletion
KCompletionBase
KCompletionBox
KConfig
KConfigBackEnd
KConfigBase
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
KConfigDialog - KMdiTaskBar
KConfigDialog
KConfigDialogManager
KConfigGroup
KConfigGroupSaver
KConfigINIBackEnd
KConfigSkeleton.ItemBool
KConfigSkeleton.ItemColor
KConfigSkeleton.ItemDateTime
KConfigSkeleton.ItemDouble
KConfigSkeleton.ItemEnum.Choice
KConfigSkeleton.ItemEnum
KConfigSkeleton.ItemFont
KConfigSkeleton.ItemInt64
KConfigSkeleton.ItemInt
KConfigSkeleton.ItemIntList
KConfigSkeleton.ItemLong
KConfigSkeleton.ItemPassword
KConfigSkeleton.ItemPath
KConfigSkeleton.ItemPathList
KConfigSkeleton.ItemPoint
KConfigSkeleton.ItemProperty
KConfigSkeleton.ItemRect
KConfigSkeleton.ItemSize
KConfigSkeleton.ItemString
KConfigSkeleton.ItemStringList
KConfigSkeleton.ItemUInt64
KConfigSkeleton.ItemUInt
KConfigSkeleton.ItemULong
KConfigSkeleton
KConfigSkeletonItem
KContextMenuManager
KCrash
KCursor
KCustomMenuEditor
KDCOPActionProxy
KDCOPPropertyProxy
KDCOPServiceStarter
KDE
KDEDesktopMimeType.Service
KDEDesktopMimeType
KDataTool
KDataToolAction
KDataToolInfo
KDateInternalMonthPicker
KDateInternalWeekSelector
KDateInternalYearSelector
KDatePicker
KDateTable
KDateTimeWidget
KDateValidator
KDateWidget
KDesktopFile
KDesktopPropsPlugin
KDevicePropsPlugin
KDialog
KDialogBase
KDialogQueue
KDictSpellingHighlighter
KDirLister
KDirNotify
KDirOperator
KDirSelectDialog
KDirSize
KDirWatch
KDiskFreeSp
KDockArea
KDockMainWindow
KDockManager
KDockTabGroup
KDockWidget
KDockWidgetAbstractHeader
KDockWidgetAbstractHeaderDrag
KDockWidgetHeader
KDockWidgetHeaderDrag
KDoubleNumInput
KDoubleSpinBox
KDoubleValidator
KDualColorButton
KEMailSettings
KEdFind
KEdGotoLine
KEdReplace
KEdit
KEditListBox.CustomEditor
KEditListBox
KEditToolbar
KEditToolbarWidget
KEncodingFileDialog.Result
KEncodingFileDialog
KEntry
KEntryKey
KExecMimeType
KExecPropsPlugin
KFile
KFileDetailView
KFileDialog
KFileFilter
KFileFilterCombo
KFileIconView
KFileIconViewItem
KFileItem
KFileListViewItem
KFileMetaInfo
KFileMetaInfoGroup
KFileMetaInfoItem
KFileMetaInfoProvider
KFileMimeTypeInfo.GroupInfo
KFileMimeTypeInfo.ItemInfo
KFileMimeTypeInfo
KFileOpenWithHandler
KFilePermissionsPropsPlugin
KFilePlugin
KFilePreview
KFilePropsPlugin
KFileShare
KFileSharePropsPlugin
KFileTreeBranch
KFileTreeView
KFileTreeViewItem
KFileTreeViewToolTip
KFileView
KFileViewSignaler
KFilterBase
KFilterDev
KFind
KFindDialog
KFloatValidator
KFolderType
KFontAction
KFontChooser
KFontCombo
KFontDialog
KFontRequester
KFontSizeAction
KGlobal
KGlobalAccel
KGlobalSettings.KMouseSettings
KGlobalSettings
KGradientSelector
KGuiItem
KHSSelector
KHTMLPart
KHTMLSettings
KHTMLView
KHelpMenu
KHistoryCombo
KIDNA
KIO.AuthInfo
KIO.ChmodJob
KIO.Connection
KIO.CopyInfo
KIO.CopyJob
KIO.DavJob
KIO.DefaultProgress
KIO.DeleteJob
KIO.DirectCopyJob
KIO.FileCopyJob
KIO.ForwardingSlaveBase
KIO.Job
KIO.ListJob
KIO.MetaInfoJob
KIO.MimetypeJob
KIO.MkdirJob
KIO.MultiGetJob
KIO.NetAccess
KIO.NetRC.AutoLogin
KIO.NetRC
KIO.PasswordDialog
KIO.PreviewJob
KIO.ProgressBase
KIO.Scheduler
KIO.SessionData
KIO.SimpleJob
KIO.Slave
KIO.SlaveBase
KIO.SlaveConfig
KIO.SlaveInterface
KIO.StatJob
KIO.StatusbarProgress
KIO.StoredTransferJob
KIO.TCPSlaveBase
KIO.Task
KIO.TransferJob
KIO.UDSAtom
KIO
KIPC
KIcon
KIconButton
KIconCanvas
KIconDialog
KIconEffect
KIconLoader
KIconTheme
KIconView
KIconViewItem
KIconViewSearchLine
KImageEffect
KImageFilePreview
KImageIO
KInputDialog
KInstance
KIntNumInput
KIntSpinBox
KIntValidator
KJanusWidget
KKey
KKeyButton
KKeyChooser
KKeyDialog
KKeyNative
KKeySequence
KKeyServer.CodeMod
KKeyServer.Key
KKeyServer.Sym
KKeyServer.Variations
KKeyServer
KLanguageButton
KLed
KLibFactory
KLibLoader
KLibrary
KLineEdit
KLineEditDlg
KListAction
KListBox
KListView
KListViewItem
KListViewSearchLine
KListViewSearchLineWidget
KLocale
KLockFile
KMD4
KMD5
KMJob
KMJobManager.JobFilter
KMJobManager
KMManager
KMObject
KMPrinter
KMacroCommand
KMacroExpander
KMacroExpanderBase
KMainWindow
KMainWindowInterface
KMdi
KMdiChildArea
KMdiChildFrm
KMdiChildFrmCaption
KMdiChildFrmDragBeginEvent
KMdiChildFrmDragEndEvent
KMdiChildFrmMoveEvent
KMdiChildFrmResizeBeginEvent
KMdiChildFrmResizeEndEvent
KMdiChildView
KMdiMainFrm
KMdiTaskBar
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
KMdiTaskBarButton - konsolePart
KMdiTaskBarButton
KMdiToolViewAccessor
KMdiViewCloseEvent
KMdiWin32IconButton
KMenuBar
KMessageBox
KMimeMagic
KMimeMagicResult
KMimeSourceFactory
KMimeType.Format
KMimeType
KMimeTypeChooser
KMimeTypeChooserDialog
KMimeTypeValidator
KMountPoint
KMultiTabBar
KMultiTabBarButton
KMultiTabBarTab
KMultipleDrag
KNFSShare
KNamedCommand
KNotify.Application
KNotify.ApplicationList
KNotify.Event
KNotify.KNotifyWidget
KNotify
KNotifyClient.Instance
KNotifyClient
KNotifyDialog
KNumInput
KOCRDialog
KOCRDialogFactory
KOpenWithDlg
KOpenWithHandler
KPReloadObject
KPalette
KPaletteTable
KPanelAppMenu
KPanelApplet
KPanelExtension
KPanelMenu
KParts.BrowserExtension
KParts.BrowserHostExtension
KParts.BrowserInterface
KParts.BrowserRun
KParts.DockMainWindow
KParts.Event
KParts.Factory
KParts.GUIActivateEvent
KParts.HistoryProvider
KParts.LiveConnectExtension
KParts.MainWindow
KParts.OpenURLEvent
KParts.Part
KParts.PartActivateEvent
KParts.PartBase
KParts.PartManager
KParts.PartSelectEvent
KParts.Plugin.PluginInfo
KParts.Plugin
KParts.ReadOnlyPart
KParts.ReadWritePart
KParts.StatusBarExtension
KParts.URLArgs
KParts.WindowArgs
KParts
KPassivePopup
KPasswordDialog
KPasswordEdit
KPasteTextAction
KPixmap
KPixmapEffect
KPixmapIO
KPixmapProvider
KPixmapRegionSelectorDialog
KPixmapRegionSelectorWidget
KPixmapSplitter
KPluginInfo
KPluginSelector
KPopupFrame
KPopupMenu
KPopupTitle
KPreviewWidgetBase
KPrintAction
KPrintDialog
KPrintDialogPage
KPrinter
KProcIO
KProcess
KProcessController
KProcessRunner
KProgress
KProgressDialog
KPropertiesDialog
KPropsDlgPlugin
KProtocolInfo.ExtraField
KProtocolInfo
KProtocolManager
KPushButton
KRES.ConfigDialog
KRES.ConfigWidget
KRES.Factory
KRES.PluginFactoryBase
KRES.Resource
KRES.ResourcePageInfo
KRES.SelectDialog
KRES
KRFCDate
KRadioAction
KRandomSequence
KRecentDocument
KRecentFilesAction
KRegExp
KRemoteEncoding
KReplace
KReplaceDialog
KRestrictedLine
KRootPermsIcon
KRootPixmap
KRootProp
KRuler
KRun
KSambaShare
KSaveFile
KScanDialog
KScanDialogFactory
KScrollView
KSelectAction
KSelectionOwner
KSelectionWatcher
KSelector
KSeparator
KService
KServiceGroup
KServiceOffer
KServiceSeparator
KServiceType
KServiceTypeProfile
KSessionManaged
KShared
KSharedConfig
KShell
KShellCompletion
KShellProcess
KShortcut
KShortcutDialog
KShortcutList
KShred
KSimpleConfig
KSimpleFileFilter
KSpell
KSpellConfig
KSpellDlg
KSpellingHighlighter
KSplashScreen
KSqueezedTextLabel
KStartupInfo
KStartupInfoData
KStartupInfoId
KStaticDeleterBase
KStatusBar
KStatusBarLabel
KStdAccel.ShortcutList
KStdAccel
KStdAction
KStdGuiItem
KStringHandler
KStringListValidator
KStyle
KSycoca
KSycocaEntry
KSycocaFactory
KSyntaxHighlighter
KSystemTray
KTabBar
KTabCtl
KTabWidget
KTar
KTempDir
KTempFile
KTextBrowser
KTextEdit
KTimeWidget
KTimezone
KTimezoneDetails
KTimezoneSource
KTimezoneWidget
KTimezones
KTipDatabase
KTipDialog
KToggleAction
KToggleFullScreenAction
KToggleToolBarAction
KToolBar
KToolBarButton
KToolBarLabelAction
KToolBarPopupAction
KToolBarRadioGroup
KToolBarSeparator
KTrader
KURIFilter
KURIFilterData
KURIFilterPlugin
KURL.List
KURL
KURLBar
KURLBarItem
KURLBarItemDialog
KURLBarListBox
KURLComboBox
KURLComboRequester
KURLCompletion
KURLDrag
KURLLabel
KURLPixmapProvider
KURLPropsPlugin
KURLRequester
KURLRequesterDlg
KUniqueApplication
KValueSelector
KWidgetAction
KWindowInfo
KWindowListMenu
KWizard
KWordMacroExpander
KWordWrap
KWritePermsIcon
KXMLGUIBuilder
KXMLGUIClient.StateChange
KXMLGUIClient
KXMLGUIFactory
KXYSelector
KZip
KZipFileEntry
KZoneAllocator
NET
NETExtendedStrut
NETIcon
NETPoint
NETRect
NETRootInfo2
NETRootInfo3
NETRootInfo4
NETRootInfo
NETSize
NETStrut
NETWinInfo
Observer
QXEmbed
RenameDlgPlugin
TerminalInterface
ThumbCreator
konsoleBrowserExtension
konsoleFactory
konsolePart
- - diff --git a/python/pykde/doc/classref/dcop/DCOPClient.html b/python/pykde/doc/classref/dcop/DCOPClient.html deleted file mode 100644 index c0fe7614..00000000 --- a/python/pykde/doc/classref/dcop/DCOPClient.html +++ /dev/null @@ -1,456 +0,0 @@ - - - - - class DCOPClient - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class DCOPClient


-
- - - - - -
Table of contents
Modules
dcop Classes
All Classes
-
- - - - - - - - - - -
Moduledcop
ClassDCOPClient
InheritsTQObject
-

methods

    -
  • DCOPClient () -
    -
    returns a DCOPClient instance

  • -
  • acceptCalls () -
    -
    returns (bool)

  • -
  • appId () -
    -
    returns (TQCString)

  • -
  • applicationRegistered (appId) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    appIdTQCString
    -

  • -
  • applicationRemoved (appId) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    appIdTQCString
    -

  • -
  • attach () -
    -
    returns (bool)

  • -
  • attachFailed (msg) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    msgTQString
    -

  • -
  • beginTransaction () -
    -
    returns (DCOPClientTransaction)

  • -
  • bindToApp () -
    -
    returns nothing

  • -
  • blockUserInput (block) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    blockbool
    -

  • -
  • call (remApp, remObj, remFun, data, useEventLoop, timeout) -
    - -
    returns (bool) replyType (TQCString) replyData (TQByteArray)
    In versions KDE 3.2.0 and above only
    - - - - - - -
    ArgumentTypeDefault
    remAppTQCString
    remObjTQCString
    remFunTQCString
    dataTQByteArray
    useEventLoopbool
    timeoutint
    -

  • -
  • call (remApp, remObj, remFun, data, useEventLoop = 0) -
    -
    returns (bool) replyType (TQCString) replyData (TQByteArray)
    - - - - - -
    ArgumentTypeDefault
    remAppTQCString
    remObjTQCString
    remFunTQCString
    dataTQByteArray
    useEventLoopbool0
    -

  • -
  • callAsync (remApp, remObj, remFun, data, callBackObj, callBackSlot) -
    - -
    returns (int)
    In versions KDE 3.3.0 and above only
    - - - - - - -
    ArgumentTypeDefault
    remAppTQCString
    remObjTQCString
    remFunTQCString
    dataTQByteArray
    callBackObjTQObject
    callBackSlotchar
    -

  • -
  • callAsync (a0, a1, a2, a3, slot, ) -
    - -
    returns (int)
    In versions KDE 3.2.0 and above, but less than KDE 3.3.0
    - - - - - -
    ArgumentTypeDefault
    a0TQCString
    a1TQCString
    a2TQCString
    a3TQByteArray
    slotSLOT (Python callable)
    -

  • -
  • callBack (a0, a1, a2) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - - - -
    ArgumentTypeDefault
    a0int
    a1TQCString
    a2TQByteArray
    -

  • -
  • connectDCOPSignal (sender, senderObj, signal, receiverObj, slot, Volatile) -
    -
    returns (bool)
    - - - - - - -
    ArgumentTypeDefault
    senderTQCString
    senderObjTQCString
    signalTQCString
    receiverObjTQCString
    slotTQCString
    Volatilebool
    -

  • -
  • connectDCOPSignal (sender, signal, receiverObj, slot, Volatile) -
    -
    returns (bool)
    - - - - - -
    ArgumentTypeDefault
    senderTQCString
    signalTQCString
    receiverObjTQCString
    slotTQCString
    Volatilebool
    -

  • -
  • dcopServerFile (hostname = 0) -
    - -
    returns (TQCString)
    static
    - -
    ArgumentTypeDefault
    hostnameTQCString0
    -

  • -
  • dcopServerFileOld (hostname = 0) -
    - -
    returns (TQCString)
    static
    - -
    ArgumentTypeDefault
    hostnameTQCString0
    -

  • -
  • defaultObject () -
    -
    returns (TQCString)

  • -
  • detach () -
    -
    returns (bool)

  • -
  • disconnectDCOPSignal (sender, senderObj, signal, receiverObj, slot) -
    -
    returns (bool)
    - - - - - -
    ArgumentTypeDefault
    senderTQCString
    senderObjTQCString
    signalTQCString
    receiverObjTQCString
    slotTQCString
    -

  • -
  • disconnectDCOPSignal (sender, signal, receiverObj, slot) -
    -
    returns (bool)
    - - - - -
    ArgumentTypeDefault
    senderTQCString
    signalTQCString
    receiverObjTQCString
    slotTQCString
    -

  • -
  • emergencyClose () -
    - -
    returns nothing
    static

  • -
  • emitDCOPSignal (object, signal, data) -
    -
    returns nothing
    - - - -
    ArgumentTypeDefault
    objectTQCString
    signalTQCString
    dataTQByteArray
    -

  • -
  • emitDCOPSignal (signal, data) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    signalTQCString
    dataTQByteArray
    -

  • -
  • endTransaction (t, replyType, replyData) -
    -
    returns nothing
    - - - -
    ArgumentTypeDefault
    tDCOPClientTransaction
    replyTypeTQCString
    replyDataTQByteArray
    -

  • -
  • find (app, obj, fun, data) -
    -
    returns (bool) replyType (TQCString) replyData (TQByteArray)
    - - - - -
    ArgumentTypeDefault
    appTQCString
    objTQCString
    funTQCString
    dataTQByteArray
    -

  • -
  • findLocalClient (_appId) -
    - - -
    returns (DCOPClient)
    In versions KDE 3.2.0 and above only
    static
    - -
    ArgumentTypeDefault
    _appIdTQCString
    -

  • -
  • findObject (remApp, remObj, remFun, data, useEventLoop, timeout) -
    - -
    returns (bool) foundApp (TQCString) foundObj (TQCString)
    In versions KDE 3.2.0 and above only
    - - - - - - -
    ArgumentTypeDefault
    remAppTQCString
    remObjTQCString
    remFunTQCString
    dataTQByteArray
    useEventLoopbool
    timeoutint
    -

  • -
  • findObject (remApp, remObj, remFun, data, useEventLoop = 0) -
    -
    returns (bool) foundApp (TQCString) foundObj (TQCString)
    - - - - - -
    ArgumentTypeDefault
    remAppTQCString
    remObjTQCString
    remFunTQCString
    dataTQByteArray
    useEventLoopbool0
    -

  • -
  • handleAsyncReply (replyStruct) -
    Not Implemented
    -

  • -
  • iceauthPath () -
    - - -
    returns (TQCString)
    In versions KDE 3.2.0 and above only
    static

  • -
  • isApplicationRegistered (remApp) -
    -
    returns (bool)
    - -
    ArgumentTypeDefault
    remAppTQCString
    -

  • -
  • isAttached () -
    -
    returns (bool)

  • -
  • isAttachedToForeignServer () -
    -
    returns (bool)

  • -
  • isRegistered () -
    -
    returns (bool)

  • -
  • isSuspended () -
    - -
    returns (bool)
    In versions KDE 3.1.0 and above only

  • -
  • mainClient () -
    - -
    returns (DCOPClient)
    static

  • -
  • normalizeFunctionSignature (fun) -
    - -
    returns (TQCString)
    static
    - -
    ArgumentTypeDefault
    funTQCString
    -

  • -
  • postMortemFunction () -
    - -
    returns (char)
    static

  • -
  • postMortemObject () -
    - -
    returns (char)
    static

  • -
  • postMortemSender () -
    - -
    returns (char)
    static

  • -
  • process (fun, data, replyType, replyData) -
    -
    returns (bool)
    - - - - -
    ArgumentTypeDefault
    funTQCString
    dataTQByteArray
    replyTypeTQCString
    replyDataTQByteArray
    -

  • -
  • processSocketData (socknum) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    socknumint
    -

  • -
  • qtBridgeEnabled () -
    - -
    returns (bool)
    In versions KDE 3.0.3 and above only

  • -
  • receive (app, obj, fun, data) -
    -
    returns (bool) replyType (TQCString) replyData (TQByteArray)
    - - - - -
    ArgumentTypeDefault
    appTQCString
    objTQCString
    funTQCString
    dataTQByteArray
    -

  • -
  • registerAs (appId, addPID = 1) -
    -
    returns (TQCString)
    - - -
    ArgumentTypeDefault
    appIdTQCString
    addPIDbool1
    -

  • -
  • registeredApplications () -
    -
    returns (QCStringList)

  • -
  • remoteFunctions (remApp, remObj) -
    -
    returns (QCStringList) ok (bool)
    - - -
    ArgumentTypeDefault
    remAppTQCString
    remObjTQCString
    -

  • -
  • remoteInterfaces (remApp, remObj) -
    -
    returns (QCStringList) ok (bool)
    - - -
    ArgumentTypeDefault
    remAppTQCString
    remObjTQCString
    -

  • -
  • remoteObjects (remApp) -
    -
    returns (QCStringList) ok (bool)
    - -
    ArgumentTypeDefault
    remAppTQCString
    -

  • -
  • resume () -
    -
    returns nothing

  • -
  • send (remApp, remObj, remFun, data) -
    -
    returns (bool)
    - - - - -
    ArgumentTypeDefault
    remAppTQCString
    remObjTQCString
    remFunTQCString
    dataTQByteArray
    -

  • -
  • send (remApp, remObj, remFun, data) -
    -
    returns (bool)
    - - - - -
    ArgumentTypeDefault
    remAppTQCString
    remObjTQCString
    remFunTQCString
    dataTQString
    -

  • -
  • senderId () -
    -
    returns (TQCString)

  • -
  • setAcceptCalls (b) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    bbool
    -

  • -
  • setDaemonMode (daemonMode) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    daemonModebool
    -

  • -
  • setDefaultObject (objId) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    objIdTQCString
    -

  • -
  • setMainClient (mainClient) -
    - -
    returns nothing
    static
    - -
    ArgumentTypeDefault
    mainClientDCOPClient
    -

  • -
  • setNotifications (enabled) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    enabledbool
    -

  • -
  • setPriorityCall (a0) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    a0bool
    -

  • -
  • setQtBridgeEnabled (b) -
    - -
    returns nothing
    In versions KDE 3.0.3 and above only
    - -
    ArgumentTypeDefault
    bbool
    -

  • -
  • setServerAddress (addr) -
    - -
    returns nothing
    static
    - -
    ArgumentTypeDefault
    addrTQCString
    -

  • -
  • socket () -
    -
    returns (int)

  • -
  • suspend () -
    -
    returns nothing

  • -
  • transactionId () -
    -
    returns (Q_INT32)

  • -
- - - diff --git a/python/pykde/doc/classref/dcop/DCOPObject.html b/python/pykde/doc/classref/dcop/DCOPObject.html deleted file mode 100644 index 2fc0dfdc..00000000 --- a/python/pykde/doc/classref/dcop/DCOPObject.html +++ /dev/null @@ -1,160 +0,0 @@ - - - - - class DCOPObject - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class DCOPObject


-
- - - - - -
Table of contents
Modules
dcop Classes
All Classes
-
- - - - - - - - - - -
Moduledcop
ClassDCOPObject
Inherits
-

methods

    -
  • DCOPObject () -
    -
    returns a DCOPObject instance

  • -
  • DCOPObject (obj) -
    -
    returns a DCOPObject instance
    - -
    ArgumentTypeDefault
    objTQObject
    -

  • -
  • DCOPObject (objId) -
    -
    returns a DCOPObject instance
    - -
    ArgumentTypeDefault
    objIdTQCString
    -

  • -
  • callingDcopClient () -
    - -
    returns (DCOPClient)
    In versions KDE 3.1.0 and above only

  • -
  • connectDCOPSignal (sender, senderObj, signal, slot, Volatile) -
    -
    returns (bool)
    - - - - - -
    ArgumentTypeDefault
    senderTQCString
    senderObjTQCString
    signalTQCString
    slotTQCString
    Volatilebool
    -

  • -
  • disconnectDCOPSignal (sender, senderObj, signal, slot) -
    -
    returns (bool)
    - - - - -
    ArgumentTypeDefault
    senderTQCString
    senderObjTQCString
    signalTQCString
    slotTQCString
    -

  • -
  • emitDCOPSignal (signal, data) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    signalTQCString
    dataTQByteArray
    -

  • -
  • find (objId) -
    - -
    returns (DCOPObject)
    static
    - -
    ArgumentTypeDefault
    objIdTQCString
    -

  • -
  • functions () -
    -
    returns (QCStringList)

  • -
  • functionsDynamic () -
    -
    returns (QCStringList)

  • -
  • hasObject (objId) -
    - -
    returns (bool)
    static
    - -
    ArgumentTypeDefault
    objIdTQCString
    -

  • -
  • interfaces () -
    -
    returns (QCStringList)

  • -
  • interfacesDynamic () -
    -
    returns (QCStringList)

  • -
  • match (partialId) -
    - -
    returns (TQPtrList)
    static
    - -
    ArgumentTypeDefault
    partialIdTQCString
    -

  • -
  • objId () -
    -
    returns (TQCString)

  • -
  • objectName (obj) -
    - -
    returns (TQCString)
    static
    - -
    ArgumentTypeDefault
    objTQObject
    -

  • -
  • process (fun, data, replyType, replyData) -
    -
    returns (bool)
    - - - - -
    ArgumentTypeDefault
    funTQCString
    dataTQByteArray
    replyTypeTQCString
    replyDataTQByteArray
    -

  • -
  • processDynamic (fun, data, replyType, replyData) -
    -
    returns (bool)
    - - - - -
    ArgumentTypeDefault
    funTQCString
    dataTQByteArray
    replyTypeTQCString
    replyDataTQByteArray
    -

  • -
  • setCallingDcopClient (a0) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    a0DCOPClient
    -

  • -
  • setObjId (objId) -
    -
    returns (bool)
    - -
    ArgumentTypeDefault
    objIdTQCString
    -

  • -
- - - diff --git a/python/pykde/doc/classref/dcop/DCOPObjectProxy.html b/python/pykde/doc/classref/dcop/DCOPObjectProxy.html deleted file mode 100644 index 383111d1..00000000 --- a/python/pykde/doc/classref/dcop/DCOPObjectProxy.html +++ /dev/null @@ -1,60 +0,0 @@ - - - - - class DCOPObjectProxy - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class DCOPObjectProxy


-
- - - - - -
Table of contents
Modules
dcop Classes
All Classes
-
- - - - - - - - - - -
Moduledcop
ClassDCOPObjectProxy
Inherits
-

methods

    -
  • DCOPObjectProxy () -
    -
    returns a DCOPObjectProxy instance

  • -
  • DCOPObjectProxy (a0) -
    -
    returns a DCOPObjectProxy instance
    - -
    ArgumentTypeDefault
    a0DCOPClient
    -

  • -
  • process (obj, fun, data, replyType, replyData) -
    -
    returns (bool)
    - - - - - -
    ArgumentTypeDefault
    objTQCString
    funTQCString
    dataTQByteArray
    replyTypeTQCString
    replyDataTQByteArray
    -

  • -
- - - diff --git a/python/pykde/doc/classref/dcop/DCOPRef.html b/python/pykde/doc/classref/dcop/DCOPRef.html deleted file mode 100644 index f5e35ba9..00000000 --- a/python/pykde/doc/classref/dcop/DCOPRef.html +++ /dev/null @@ -1,142 +0,0 @@ - - - - - class DCOPRef - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class DCOPRef


-
- - - - - -
Table of contents
Modules
dcop Classes
All Classes
-
- - - - - - - - - - -
Moduledcop
ClassDCOPRef
Inherits
-

enums

    -
  • EventLoopFlag = {NoEventLoop, UseEventLoop -}
-

methods

    -
  • DCOPRef () -
    -
    returns a DCOPRef instance

  • -
  • DCOPRef (ref) -
    -
    returns a DCOPRef instance
    - -
    ArgumentTypeDefault
    refDCOPRef
    -

  • -
  • DCOPRef (app, obj) -
    -
    returns a DCOPRef instance
    - - -
    ArgumentTypeDefault
    appTQCString
    objTQCString
    -

  • -
  • DCOPRef (object) -
    -
    returns a DCOPRef instance
    - -
    ArgumentTypeDefault
    objectDCOPObject
    -

  • -
  • DCOPRef (app, obj, type) -
    -
    returns a DCOPRef instance
    - - - -
    ArgumentTypeDefault
    appTQCString
    objTQCString
    typeTQCString
    -

  • -
  • app () -
    -
    returns (TQCString)

  • -
  • call (fun) -
    - -
    returns (DCOPReply)
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    funTQCString
    -

  • -
  • callExt (fun, useEventLoop = NoEventLoop, timeout = -1) -
    - -
    returns (DCOPReply)
    In versions KDE 3.2.0 and above only
    - - - -
    ArgumentTypeDefault
    funTQCString
    useEventLoopDCOPRef.EventLoopFlagNoEventLoop
    timeoutint-1
    -

  • -
  • clear () -
    -
    returns nothing

  • -
  • dcopClient () -
    - -
    returns (DCOPClient)
    In versions KDE 3.1.0 and above only

  • -
  • isNull () -
    -
    returns (bool)

  • -
  • obj () -
    - -
    returns (TQCString)
    In versions KDE 3.1.0 and above only

  • -
  • object () -
    -
    returns (TQCString)

  • -
  • send (fun) -
    - -
    returns (bool)
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    funTQCString
    -

  • -
  • setDCOPClient (client) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    clientDCOPClient
    -

  • -
  • setRef (app, obj) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    appTQCString
    objTQCString
    -

  • -
  • setRef (app, obj, type) -
    -
    returns nothing
    - - - -
    ArgumentTypeDefault
    appTQCString
    objTQCString
    typeTQCString
    -

  • -
  • type () -
    -
    returns (TQCString)

  • -
- - - diff --git a/python/pykde/doc/classref/dcop/DCOPReply.html b/python/pykde/doc/classref/dcop/DCOPReply.html deleted file mode 100644 index 975d37bf..00000000 --- a/python/pykde/doc/classref/dcop/DCOPReply.html +++ /dev/null @@ -1,50 +0,0 @@ - - - - - class DCOPReply - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class DCOPReply


-
- - - - - -
Table of contents
Modules
dcop Classes
All Classes
-
- - - - - - - - - - -
Moduledcop
ClassDCOPReply
Inherits
-

methods

    -
  • isValid () -
    - -
    returns (bool)
    In versions KDE 3.1.0 and above only

  • -
-

variables

  • -variables - - -
    VariableType
    dataTQByteArray
    typeTQCString
- - - diff --git a/python/pykde/doc/classref/dcop/DCOPStub.html b/python/pykde/doc/classref/dcop/DCOPStub.html deleted file mode 100644 index 1627f9ee..00000000 --- a/python/pykde/doc/classref/dcop/DCOPStub.html +++ /dev/null @@ -1,93 +0,0 @@ - - - - - class DCOPStub - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class DCOPStub


-
- - - - - -
Table of contents
Modules
dcop Classes
All Classes
-
- - - - - - - - - - -
Moduledcop
ClassDCOPStub
Inherits
-

enums

    -
  • Status = {CallSucceeded, CallFailed -}
-

methods

    -
  • DCOPStub (app, obj) -
    -
    returns a DCOPStub instance
    - - -
    ArgumentTypeDefault
    appTQCString
    objTQCString
    -

  • -
  • DCOPStub (client, app, obj) -
    -
    returns a DCOPStub instance
    - - - -
    ArgumentTypeDefault
    clientDCOPClient
    appTQCString
    objTQCString
    -

  • -
  • DCOPStub (ref) -
    - -
    returns a DCOPStub instance
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    refDCOPRef
    -

  • -
  • DCOPStub (a0) -
    Not Implemented
    -

  • -
  • app () -
    -
    returns (TQCString)

  • -
  • callFailed () -
    -
    returns nothing

  • -
  • dcopClient () -
    -
    returns (DCOPClient)

  • -
  • obj () -
    -
    returns (TQCString)

  • -
  • ok () -
    -
    returns (bool)

  • -
  • setStatus (_status) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    _statusDCOPStub.Status
    -

  • -
  • status () -
    -
    returns (Status)

  • -
- - - diff --git a/python/pykde/doc/classref/dcop/index.html b/python/pykde/doc/classref/dcop/index.html deleted file mode 100644 index 65b4823c..00000000 --- a/python/pykde/doc/classref/dcop/index.html +++ /dev/null @@ -1,40 +0,0 @@ - - - - - module dcop - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

dcop Class Index


-
- - - - -
Table of contents
Modules
All Classes
-
- -
- - - -
DCOPClient - DCOPObject
DCOPClient
DCOPObject
- - - -
DCOPObjectProxy - DCOPRef
DCOPObjectProxy
DCOPRef
- - - -
DCOPReply - DCOPStub
DCOPReply
DCOPStub
- - diff --git a/python/pykde/doc/classref/glossary.html b/python/pykde/doc/classref/glossary.html deleted file mode 100644 index b4cec3bc..00000000 --- a/python/pykde/doc/classref/glossary.html +++ /dev/null @@ -1,40 +0,0 @@ -

Abstract

-

-Abstract classes are used as base classes. You cannot create -an instance of an abstract class directly - you need to subclass -it. In the subclass, you need to overload all of the -class's pure virtual methods. These -are marked as "pure virtual" in these docs, and are also indicated -by a " = 0" at the end of the method declaration. -

-

-If your subclass doesn't overload the pure virtual methods in the -abstract base class, you won't be able to create an instance of it. -

- -

pure virtual

-

-Pure virtual methods are members of an abstract -class (they're what makes the class abstract in the first place). Pure -virtual methods are nothing more than place holders - there is no code -associated with them -

- - -

variables

-

-Class variables can be read and written from Python. Global or static -variables are read only. Variables that are "protected" or. -"private" in C++ are not implemented. -

- -

slots

-

-When using Qt or KDE in C++, methods involving connections to slots -take 2 arguments: a TQObject 'receiver' and a char* 'slot' name. In Python -you only need to provide a single value - the name of a Python callable -method or function which will be connected to a signal. The method or -function does not need to be in the class where it is reference, and does -not have to be in a class at all. There are other options - see the -"Signals and Slots" documentation for more information. -

diff --git a/python/pykde/doc/classref/index.html b/python/pykde/doc/classref/index.html deleted file mode 100644 index a73c6acb..00000000 --- a/python/pykde/doc/classref/index.html +++ /dev/null @@ -1,57 +0,0 @@ - - - - - PyKDE Classref - - - - -

PyKDE - Python Bindings for KDE

-
- -  - - - - -
- - - - - - -
PyKDE API Reference - Modules
-
-
-

PyKDE API Reference

- This section contains the PyKDE class reference for the - current version of PyKDE. - -
- - - - - diff --git a/python/pykde/doc/classref/kabc/KABC.Address.html b/python/pykde/doc/classref/kabc/KABC.Address.html deleted file mode 100644 index 3f2b5b24..00000000 --- a/python/pykde/doc/classref/kabc/KABC.Address.html +++ /dev/null @@ -1,249 +0,0 @@ - - - - - class KABC.Address - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KABC.Address


-
- - - - - -
Table of contents
Modules
kabc Classes
All Classes
-
- - - - - - - - - - -
Modulekabc
ClassKABC.Address
Inherits
-

enums

    -
  • Type = {Dom, Intl, Postal, Parcel, Home, Work, Pref -}
-

methods

    -
  • Address () -
    -
    returns a Address instance

  • -
  • Address (a0) -
    -
    returns a Address instance
    - -
    ArgumentTypeDefault
    a0int
    -

  • -
  • ISOtoCountry (ISOname) -
    - - -
    returns (TQString)
    In versions KDE 3.2.0 and above only
    static
    - -
    ArgumentTypeDefault
    ISOnameTQString
    -

  • -
  • clear () -
    -
    returns nothing

  • -
  • country () -
    -
    returns (TQString)

  • -
  • countryLabel () -
    - - -
    returns (TQString)
    In versions KDE 3.1.0 and above only
    static

  • -
  • countryToISO (cname) -
    - - -
    returns (TQString)
    In versions KDE 3.2.0 and above only
    static
    - -
    ArgumentTypeDefault
    cnameTQString
    -

  • -
  • dump () -
    -
    returns nothing

  • -
  • extended () -
    -
    returns (TQString)

  • -
  • extendedLabel () -
    - - -
    returns (TQString)
    In versions KDE 3.1.0 and above only
    static

  • -
  • formattedAddress (realName = TQString .null, orgaName = TQString .null) -
    - -
    returns (TQString)
    In versions KDE 3.2.0 and above only
    - - -
    ArgumentTypeDefault
    realNameTQStringTQString .null
    orgaNameTQStringTQString .null
    -

  • -
  • id () -
    -
    returns (TQString)

  • -
  • isEmpty () -
    -
    returns (bool)

  • -
  • label () -
    -
    returns (TQString)

  • -
  • labelLabel () -
    - - -
    returns (TQString)
    In versions KDE 3.1.0 and above only
    static

  • -
  • locality () -
    -
    returns (TQString)

  • -
  • localityLabel () -
    - - -
    returns (TQString)
    In versions KDE 3.1.0 and above only
    static

  • -
  • postOfficeBox () -
    -
    returns (TQString)

  • -
  • postOfficeBoxLabel () -
    - - -
    returns (TQString)
    In versions KDE 3.1.0 and above only
    static

  • -
  • postalCode () -
    -
    returns (TQString)

  • -
  • postalCodeLabel () -
    - - -
    returns (TQString)
    In versions KDE 3.1.0 and above only
    static

  • -
  • region () -
    -
    returns (TQString)

  • -
  • regionLabel () -
    - - -
    returns (TQString)
    In versions KDE 3.1.0 and above only
    static

  • -
  • setCountry (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0TQString
    -

  • -
  • setExtended (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0TQString
    -

  • -
  • setId (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0TQString
    -

  • -
  • setLabel (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0TQString
    -

  • -
  • setLocality (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0TQString
    -

  • -
  • setPostOfficeBox (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0TQString
    -

  • -
  • setPostalCode (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0TQString
    -

  • -
  • setRegion (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0TQString
    -

  • -
  • setStreet (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0TQString
    -

  • -
  • setType (type) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    typeint
    -

  • -
  • street () -
    -
    returns (TQString)

  • -
  • streetLabel () -
    - - -
    returns (TQString)
    In versions KDE 3.1.0 and above only
    static

  • -
  • type () -
    -
    returns (int)

  • -
  • typeLabel () -
    - -
    returns (TQString)
    In versions KDE 3.1.0 and above only

  • -
  • typeLabel (type) -
    - - -
    returns (TQString)
    In versions KDE 3.1.0 and above only
    static
    - -
    ArgumentTypeDefault
    typeint
    -

  • -
  • typeList () -
    - - -
    returns (KABC.Address.TypeList)
    In versions KDE 3.1.0 and above only
    static

  • -
-

operators

    -
  • operator != (a0) -
    - -
    returns (bool)
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    a0KABC.Address
    -

  • -
  • operator == (a0) -
    - -
    returns (bool)
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    a0KABC.Address
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kabc/KABC.AddressBook.html b/python/pykde/doc/classref/kabc/KABC.AddressBook.html deleted file mode 100644 index a5e79330..00000000 --- a/python/pykde/doc/classref/kabc/KABC.AddressBook.html +++ /dev/null @@ -1,281 +0,0 @@ - - - - - class KABC.AddressBook - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KABC.AddressBook


-
- - - - - -
Table of contents
Modules
kabc Classes
All Classes
-
- - - - - - - - - - -
Modulekabc
ClassKABC.AddressBook
InheritsTQObject
-

methods

    -
  • AddressBook () -
    -
    returns a AddressBook instance

  • -
  • AddressBook (config) -
    - -
    returns a AddressBook instance
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    configTQString
    -

  • -
  • addCustomField (label, category = KABC .Field .All, key = TQString .null, app = TQString .null) -
    - -
    returns (bool)
    In versions KDE 3.1.0 and above only
    - - - - -
    ArgumentTypeDefault
    labelTQString
    categoryintKABC .Field .All
    keyTQStringTQString .null
    appTQStringTQString .null
    -

  • -
  • addResource (resource) -
    -
    returns (bool)
    - -
    ArgumentTypeDefault
    resourceKABC.Resource
    -

  • -
  • addressBookChanged (addressBook) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    addressBookKABC.AddressBook
    -

  • -
  • addressBookLocked (addressBook) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    addressBookKABC.AddressBook
    -

  • -
  • addressBookUnlocked (addressBook) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    addressBookKABC.AddressBook
    -

  • -
  • allAddressees () -
    - -
    returns (KABC.Addressee.List)
    In versions KDE 3.2.0 and above only

  • -
  • asyncLoad () -
    - -
    returns (bool)
    In versions KDE 3.2.0 and above only

  • -
  • asyncSave (ticket) -
    - -
    returns (bool)
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    ticketKABC.Ticket
    -

  • -
  • cleanUp () -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only

  • -
  • clear () -
    -
    returns nothing

  • -
  • deleteRemovedAddressees () -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only

  • -
  • dump () -
    -
    returns nothing

  • -
  • emitAddressBookChanged () -
    -
    returns nothing

  • -
  • emitAddressBookLocked () -
    -
    returns nothing

  • -
  • emitAddressBookUnlocked () -
    -
    returns nothing

  • -
  • error (msg) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    msgTQString
    -

  • -
  • fields (category = KABC .Field .All) -
    - -
    returns (KABC.Field.List)
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    categoryintKABC .Field .All
    -

  • -
  • findByCategory (category) -
    -
    returns (KABC.Addressee.List)
    - -
    ArgumentTypeDefault
    categoryTQString
    -

  • -
  • findByEmail (email) -
    -
    returns (KABC.Addressee.List)
    - -
    ArgumentTypeDefault
    emailTQString
    -

  • -
  • findByName (name) -
    -
    returns (KABC.Addressee.List)
    - -
    ArgumentTypeDefault
    nameTQString
    -

  • -
  • findByUid (uid) -
    -
    returns (KABC.Addressee)
    - -
    ArgumentTypeDefault
    uidTQString
    -

  • -
  • identifier () -
    -
    returns (TQString)

  • -
  • insertAddressee (addr) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    addrKABC.Addressee
    -

  • -
  • load () -
    -
    returns (bool)

  • -
  • loadingFinished (resource) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    resourceKABC.Resource
    -

  • -
  • loadingHasFinished () -
    - -
    returns (bool)
    In versions KDE 3.5.0 and above only

  • -
  • releaseSaveTicket (ticket) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    ticketKABC.Ticket
    -

  • -
  • removeAddressee (addr) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    addrKABC.Addressee
    -

  • -
  • removeAddressee (it) -
    Not Implemented
    -

  • -
  • removeResource (resource) -
    - -
    returns (bool)
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    resourceKABC.Resource
    -

  • -
  • requestSaveTicket (resource = 0) -
    -
    returns (KABC.Ticket)
    - -
    ArgumentTypeDefault
    resourceKABC.Resource0
    -

  • -
  • resourceLoadingError (a0, a1) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - - -
    ArgumentTypeDefault
    a0KABC.Resource
    a1TQString
    -

  • -
  • resourceLoadingFinished (a0) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    a0KABC.Resource
    -

  • -
  • resourceManager () -
    Not Implemented
    -

  • -
  • resourceSavingError (a0, a1) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - - -
    ArgumentTypeDefault
    a0KABC.Resource
    a1TQString
    -

  • -
  • resourceSavingFinished (a0) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    a0KABC.Resource
    -

  • -
  • resources () -
    - -
    returns (TQPtrList)
    In versions KDE 3.1.0 and above only

  • -
  • save (ticket) -
    -
    returns (bool)
    - -
    ArgumentTypeDefault
    ticketKABC.Ticket
    -

  • -
  • savingFinished (resource) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    resourceKABC.Resource
    -

  • -
  • setErrorHandler (errorHandler) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    errorHandlerKABC.ErrorHandler
    -

  • -
  • setStandardResource (a0) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    a0KABC.Resource
    -

  • -
  • standardResource () -
    - -
    returns (KABC.Resource)
    In versions KDE 3.1.0 and above only

  • -
- - - diff --git a/python/pykde/doc/classref/kabc/KABC.AddressLineEdit.html b/python/pykde/doc/classref/kabc/KABC.AddressLineEdit.html deleted file mode 100644 index 520bfdac..00000000 --- a/python/pykde/doc/classref/kabc/KABC.AddressLineEdit.html +++ /dev/null @@ -1,123 +0,0 @@ - - - - - class KABC.AddressLineEdit - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KABC.AddressLineEdit


-
- - - - - -
Table of contents
Modules
kabc Classes
All Classes
-
- - - - - - - - - - -
Modulekabc
ClassKABC.AddressLineEdit
InheritsKLineEdit
-

methods

    -
  • AddressLineEdit (parent, useCompletion = 1, name = 0) -
    - -
    returns a AddressLineEdit instance
    In versions KDE 3.1.0 and above only
    - - - -
    ArgumentTypeDefault
    parentTQWidget
    useCompletionbool1
    namechar0
    -

  • -
  • addAddress (a0) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    a0TQString
    -

  • -
  • config () -
    - - -
    returns (KConfig)
    In versions KDE 3.2.0 and above only
    static

  • -
  • cursorAtEnd () -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only

  • -
  • doCompletion (ctrlT) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    ctrlTbool
    -

  • -
  • dropEvent (e) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    eTQDropEvent
    -

  • -
  • enableCompletion (enable) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    enablebool
    -

  • -
  • insert (t) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    tTQString
    -

  • -
  • keyPressEvent (a0) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    a0TQKeyEvent
    -

  • -
  • loadAddresses () -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only

  • -
  • mouseReleaseEvent (e) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    eTQMouseEvent
    -

  • -
  • paste () -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only

  • -
  • setFont (a0) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    a0TQFont
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kabc/KABC.AddresseeDialog.html b/python/pykde/doc/classref/kabc/KABC.AddresseeDialog.html deleted file mode 100644 index f8984a8f..00000000 --- a/python/pykde/doc/classref/kabc/KABC.AddresseeDialog.html +++ /dev/null @@ -1,72 +0,0 @@ - - - - - class KABC.AddresseeDialog - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KABC.AddresseeDialog


-
- - - - - -
Table of contents
Modules
kabc Classes
All Classes
-
- - - - - - - - - - -
Modulekabc
ClassKABC.AddresseeDialog
InheritsKDialogBase
-

methods

    -
  • AddresseeDialog (parent = 0, multiple = 0) -
    -
    returns a AddresseeDialog instance
    - - -
    ArgumentTypeDefault
    parentTQWidget0
    multiplebool0
    -

  • -
  • addressBookChanged () -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only

  • -
  • addressee () -
    -
    returns (KABC.Addressee)

  • -
  • addressees () -
    -
    returns (KABC.Addressee.List)

  • -
  • getAddressee (parent) -
    - -
    returns (KABC.Addressee)
    static
    - -
    ArgumentTypeDefault
    parentTQWidget
    -

  • -
  • getAddressees (parent) -
    - -
    returns (KABC.Addressee.List)
    static
    - -
    ArgumentTypeDefault
    parentTQWidget
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kabc/KABC.AddresseeItem.html b/python/pykde/doc/classref/kabc/KABC.AddresseeItem.html deleted file mode 100644 index e3fc80a6..00000000 --- a/python/pykde/doc/classref/kabc/KABC.AddresseeItem.html +++ /dev/null @@ -1,61 +0,0 @@ - - - - - class KABC.AddresseeItem - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KABC.AddresseeItem


-
- - - - - -
Table of contents
Modules
kabc Classes
All Classes
-
- - - - - - - - - - -
Modulekabc
ClassKABC.AddresseeItem
InheritsTQListViewItem
-

enums

    -
  • columns = {Name, Email -}
-

methods

    -
  • AddresseeItem (parent, addressee) -
    -
    returns a AddresseeItem instance
    - - -
    ArgumentTypeDefault
    parentTQListView
    addresseeKABC.Addressee
    -

  • -
  • addressee () -
    -
    returns (KABC.Addressee)

  • -
  • key (column, ascending) -
    -
    returns (TQString)
    - - -
    ArgumentTypeDefault
    columnint
    ascendingbool
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kabc/KABC.Agent.html b/python/pykde/doc/classref/kabc/KABC.Agent.html deleted file mode 100644 index 3cdce9c6..00000000 --- a/python/pykde/doc/classref/kabc/KABC.Agent.html +++ /dev/null @@ -1,105 +0,0 @@ - - - - - class KABC.Agent - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KABC.Agent


-
- - - - - -
Table of contents
Modules
kabc Classes
All Classes
-
- - - - - - - - - - -
Modulekabc
ClassKABC.Agent
Inherits
-

methods

    -
  • Agent () -
    - -
    returns a Agent instance
    In versions KDE 3.1.0 and above only

  • -
  • Agent (url) -
    - -
    returns a Agent instance
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    urlTQString
    -

  • -
  • Agent (addressee) -
    - -
    returns a Agent instance
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    addresseeKABC.Addressee
    -

  • -
  • addressee () -
    - -
    returns (KABC.Addressee)
    In versions KDE 3.1.0 and above only

  • -
  • asString () -
    - -
    returns (TQString)
    In versions KDE 3.1.0 and above only

  • -
  • isIntern () -
    - -
    returns (bool)
    In versions KDE 3.1.0 and above only

  • -
  • setAddressee (addressee) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    addresseeKABC.Addressee
    -

  • -
  • setUrl (url) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    urlTQString
    -

  • -
  • url () -
    - -
    returns (TQString)
    In versions KDE 3.1.0 and above only

  • -
-

operators

    -
  • operator != (a0) -
    - -
    returns (bool)
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    a0KABC.Agent
    -

  • -
  • operator == (a0) -
    - -
    returns (bool)
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    a0KABC.Agent
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kabc/KABC.ConsoleErrorHandler.html b/python/pykde/doc/classref/kabc/KABC.ConsoleErrorHandler.html deleted file mode 100644 index 1e75d8f4..00000000 --- a/python/pykde/doc/classref/kabc/KABC.ConsoleErrorHandler.html +++ /dev/null @@ -1,48 +0,0 @@ - - - - - class KABC.ConsoleErrorHandler - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KABC.ConsoleErrorHandler


-
- - - - - -
Table of contents
Modules
kabc Classes
All Classes
-
- - - - - - - - - - -
Modulekabc
ClassKABC.ConsoleErrorHandler
InheritsKABC.ErrorHandler
-

methods

    -
  • error (msg) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    msgTQString
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kabc/KABC.DistributionList.Entry.html b/python/pykde/doc/classref/kabc/KABC.DistributionList.Entry.html deleted file mode 100644 index b466aa82..00000000 --- a/python/pykde/doc/classref/kabc/KABC.DistributionList.Entry.html +++ /dev/null @@ -1,56 +0,0 @@ - - - - - class KABC.DistributionList.Entry - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KABC.DistributionList.Entry


-
- - - - - -
Table of contents
Modules
kabc Classes
All Classes
-
- - - - - - - - - - -
Modulekabc
ClassKABC.DistributionList.Entry
Inherits
-

methods

    -
  • Entry () -
    -
    returns a Entry instance

  • -
  • Entry (_addressee, _email) -
    -
    returns a Entry instance
    - - -
    ArgumentTypeDefault
    _addresseeKABC.Addressee
    _emailTQString
    -

  • -
-

variables

  • -variables - - -
    VariableType
    addresseeKABC::Addressee
    emailTQString
- - - diff --git a/python/pykde/doc/classref/kabc/KABC.DistributionList.html b/python/pykde/doc/classref/kabc/KABC.DistributionList.html deleted file mode 100644 index 8cb57d4f..00000000 --- a/python/pykde/doc/classref/kabc/KABC.DistributionList.html +++ /dev/null @@ -1,77 +0,0 @@ - - - - - class KABC.DistributionList - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KABC.DistributionList


-
- - - - - -
Table of contents
Modules
kabc Classes
All Classes
-
- - - - - - - - - - -
Modulekabc
ClassKABC.DistributionList
Inherits
-

methods

    -
  • DistributionList (manager, name) -
    -
    returns a DistributionList instance
    - - -
    ArgumentTypeDefault
    managerKABC.DistributionListManager
    nameTQString
    -

  • -
  • emails () -
    -
    returns (TQStringList)

  • -
  • entries () -
    -
    returns (KABC.DistributionList.Entry.List)

  • -
  • insertEntry (a0, email = TQString .null) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    a0KABC.Addressee
    emailTQStringTQString .null
    -

  • -
  • name () -
    -
    returns (TQString)

  • -
  • removeEntry (a0, email = TQString .null) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    a0KABC.Addressee
    emailTQStringTQString .null
    -

  • -
  • setName (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0TQString
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kabc/KABC.DistributionListDialog.html b/python/pykde/doc/classref/kabc/KABC.DistributionListDialog.html deleted file mode 100644 index 53ed0b85..00000000 --- a/python/pykde/doc/classref/kabc/KABC.DistributionListDialog.html +++ /dev/null @@ -1,49 +0,0 @@ - - - - - class KABC.DistributionListDialog - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KABC.DistributionListDialog


-
- - - - - -
Table of contents
Modules
kabc Classes
All Classes
-
- - - - - - - - - - -
Modulekabc
ClassKABC.DistributionListDialog
InheritsKDialogBase
-

methods

    -
  • DistributionListDialog (ab, parent) -
    - -
    returns a DistributionListDialog instance
    In versions KDE 3.1.0 and above only
    - - -
    ArgumentTypeDefault
    abKABC.AddressBook
    parentTQWidget
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kabc/KABC.DistributionListEditorWidget.html b/python/pykde/doc/classref/kabc/KABC.DistributionListEditorWidget.html deleted file mode 100644 index 81cc67f4..00000000 --- a/python/pykde/doc/classref/kabc/KABC.DistributionListEditorWidget.html +++ /dev/null @@ -1,49 +0,0 @@ - - - - - class KABC.DistributionListEditorWidget - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KABC.DistributionListEditorWidget


-
- - - - - -
Table of contents
Modules
kabc Classes
All Classes
-
- - - - - - - - - - -
Modulekabc
ClassKABC.DistributionListEditorWidget
InheritsTQWidget
-

methods

    -
  • DistributionListEditorWidget (a0, parent) -
    - -
    returns a DistributionListEditorWidget instance
    In versions KDE 3.1.0 and above only
    - - -
    ArgumentTypeDefault
    a0KABC.AddressBook
    parentTQWidget
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kabc/KABC.DistributionListManager.html b/python/pykde/doc/classref/kabc/KABC.DistributionListManager.html deleted file mode 100644 index c610249f..00000000 --- a/python/pykde/doc/classref/kabc/KABC.DistributionListManager.html +++ /dev/null @@ -1,74 +0,0 @@ - - - - - class KABC.DistributionListManager - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KABC.DistributionListManager


-
- - - - - -
Table of contents
Modules
kabc Classes
All Classes
-
- - - - - - - - - - -
Modulekabc
ClassKABC.DistributionListManager
Inherits
-

methods

    -
  • DistributionListManager (a0) -
    -
    returns a DistributionListManager instance
    - -
    ArgumentTypeDefault
    a0KABC.AddressBook
    -

  • -
  • insert (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0KABC.DistributionList
    -

  • -
  • list (name) -
    -
    returns (KABC.DistributionList)
    - -
    ArgumentTypeDefault
    nameTQString
    -

  • -
  • listNames () -
    -
    returns (TQStringList)

  • -
  • load () -
    -
    returns (bool)

  • -
  • remove (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0KABC.DistributionList
    -

  • -
  • save () -
    -
    returns (bool)

  • -
- - - diff --git a/python/pykde/doc/classref/kabc/KABC.DistributionListWatcher.html b/python/pykde/doc/classref/kabc/KABC.DistributionListWatcher.html deleted file mode 100644 index b1ef6812..00000000 --- a/python/pykde/doc/classref/kabc/KABC.DistributionListWatcher.html +++ /dev/null @@ -1,58 +0,0 @@ - - - - - class KABC.DistributionListWatcher - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KABC.DistributionListWatcher


-
- - - - - -
Table of contents
Modules
kabc Classes
All Classes
-
- - - - - - - - - - -
Modulekabc
ClassKABC.DistributionListWatcher
InheritsTQObject
-

methods

    -
  • DistributionListWatcher () -
    - -
    returns a DistributionListWatcher instance
    In versions KDE 3.1.0 and above only

  • -
  • changed () -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only

  • -
  • self () -
    - - -
    returns (KABC.DistributionListWatcher)
    In versions KDE 3.1.0 and above only
    static

  • -
  • ~DistributionListWatcher () -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only

  • -
- - - diff --git a/python/pykde/doc/classref/kabc/KABC.EmailSelectDialog.html b/python/pykde/doc/classref/kabc/KABC.EmailSelectDialog.html deleted file mode 100644 index 0948a831..00000000 --- a/python/pykde/doc/classref/kabc/KABC.EmailSelectDialog.html +++ /dev/null @@ -1,61 +0,0 @@ - - - - - class KABC.EmailSelectDialog - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KABC.EmailSelectDialog


-
- - - - - -
Table of contents
Modules
kabc Classes
All Classes
-
- - - - - - - - - - -
Modulekabc
ClassKABC.EmailSelectDialog
InheritsKDialogBase
-

methods

    -
  • EmailSelectDialog (emails, current, parent) -
    -
    returns a EmailSelectDialog instance
    - - - -
    ArgumentTypeDefault
    emailsTQStringList
    currentTQString
    parentTQWidget
    -

  • -
  • getEmail (emails, current, parent) -
    - -
    returns (TQString)
    static
    - - - -
    ArgumentTypeDefault
    emailsTQStringList
    currentTQString
    parentTQWidget
    -

  • -
  • selected () -
    -
    returns (TQString)

  • -
- - - diff --git a/python/pykde/doc/classref/kabc/KABC.EmailSelector.html b/python/pykde/doc/classref/kabc/KABC.EmailSelector.html deleted file mode 100644 index 80255184..00000000 --- a/python/pykde/doc/classref/kabc/KABC.EmailSelector.html +++ /dev/null @@ -1,64 +0,0 @@ - - - - - class KABC.EmailSelector - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KABC.EmailSelector


-
- - - - - -
Table of contents
Modules
kabc Classes
All Classes
-
- - - - - - - - - - -
Modulekabc
ClassKABC.EmailSelector
InheritsKDialogBase
-

methods

    -
  • EmailSelector (emails, current, parent) -
    - -
    returns a EmailSelector instance
    In versions KDE 3.1.0 and above only
    - - - -
    ArgumentTypeDefault
    emailsTQStringList
    currentTQString
    parentTQWidget
    -

  • -
  • getEmail (emails, current, parent) -
    - - -
    returns (TQString)
    In versions KDE 3.1.0 and above only
    static
    - - - -
    ArgumentTypeDefault
    emailsTQStringList
    currentTQString
    parentTQWidget
    -

  • -
  • selected () -
    - -
    returns (TQString)
    In versions KDE 3.1.0 and above only

  • -
- - - diff --git a/python/pykde/doc/classref/kabc/KABC.ErrorHandler.html b/python/pykde/doc/classref/kabc/KABC.ErrorHandler.html deleted file mode 100644 index 3edea681..00000000 --- a/python/pykde/doc/classref/kabc/KABC.ErrorHandler.html +++ /dev/null @@ -1,49 +0,0 @@ - - - - - class KABC.ErrorHandler - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KABC.ErrorHandler


-
- - - - - -
Table of contents
Modules
kabc Classes
All Classes
-
- - - - - - - - - - -
Modulekabc
ClassKABC.ErrorHandler (abstract)
Inherits
-

methods

    -
  • error (msg) = 0 -
    - - -
    returns nothing
    In versions KDE 3.1.0 and above only
    pure virtual
    - -
    ArgumentTypeDefault
    msgTQString
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kabc/KABC.Field.html b/python/pykde/doc/classref/kabc/KABC.Field.html deleted file mode 100644 index f5fe9cf7..00000000 --- a/python/pykde/doc/classref/kabc/KABC.Field.html +++ /dev/null @@ -1,184 +0,0 @@ - - - - - class KABC.Field - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KABC.Field


-
- - - - - -
Table of contents
Modules
kabc Classes
All Classes
-
- - - - - - - - - - -
Modulekabc
ClassKABC.Field
Inherits
-

enums

    -
  • FieldCategory = {All, Frequent, Address, Email, Personal, Organization, CustomCategory -}
-

methods

    -
  • Field (a0) -
    Not Implemented
    -

  • -
  • Field () -
    - -
    returns a Field instance
    In versions KDE 3.1.0 and above only

  • -
  • allFields () -
    - - -
    returns (KABC.Field.List)
    In versions KDE 3.1.0 and above only
    static

  • -
  • category () -
    - -
    returns (int)
    In versions KDE 3.1.0 and above only

  • -
  • categoryLabel (category) -
    - - -
    returns (TQString)
    In versions KDE 3.1.0 and above only
    static
    - -
    ArgumentTypeDefault
    categoryint
    -

  • -
  • createCustomField (label, category, key, app) -
    - - -
    returns (KABC.Field)
    In versions KDE 3.1.0 and above only
    static
    - - - - -
    ArgumentTypeDefault
    labelTQString
    categoryint
    keyTQString
    appTQString
    -

  • -
  • createDefaultField (id, category = 0) -
    - - -
    returns nothing
    In versions KDE 3.1.0 and above only
    static
    - - -
    ArgumentTypeDefault
    idint
    categoryint0
    -

  • -
  • createField (id, category = 0) -
    - - -
    returns nothing
    In versions KDE 3.1.0 and above only
    static
    - - -
    ArgumentTypeDefault
    idint
    categoryint0
    -

  • -
  • defaultFields () -
    - - -
    returns (KABC.Field.List)
    In versions KDE 3.1.0 and above only
    static

  • -
  • deleteFields () -
    - - -
    returns nothing
    In versions KDE 3.1.0 and above only
    static

  • -
  • equals (field) -
    - -
    returns (bool)
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    fieldKABC.Field
    -

  • -
  • isCustom () -
    - -
    returns (bool)
    In versions KDE 3.1.0 and above only

  • -
  • label () -
    - -
    returns (TQString)
    In versions KDE 3.1.0 and above only

  • -
  • restoreFields (cfg, identifier) -
    - - -
    returns (KABC.Field.List)
    In versions KDE 3.1.0 and above only
    static
    - - -
    ArgumentTypeDefault
    cfgKConfig
    identifierTQString
    -

  • -
  • restoreFields (identifier) -
    - - -
    returns (KABC.Field.List)
    In versions KDE 3.1.0 and above only
    static
    - -
    ArgumentTypeDefault
    identifierTQString
    -

  • -
  • saveFields (cfg, identifier, fields) -
    - - -
    returns nothing
    In versions KDE 3.1.0 and above only
    static
    - - - -
    ArgumentTypeDefault
    cfgKConfig
    identifierTQString
    fieldsKABC.Field.List
    -

  • -
  • saveFields (identifier, fields) -
    - - -
    returns nothing
    In versions KDE 3.1.0 and above only
    static
    - - -
    ArgumentTypeDefault
    identifierTQString
    fieldsKABC.Field.List
    -

  • -
  • setValue (a0, a1) -
    - -
    returns (bool)
    In versions KDE 3.1.0 and above only
    - - -
    ArgumentTypeDefault
    a0KABC.Addressee
    a1TQString
    -

  • -
  • sortKey (a0) -
    - -
    returns (TQString)
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    a0KABC.Addressee
    -

  • -
  • value (a0) -
    - -
    returns (TQString)
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    a0KABC.Addressee
    -

  • -
  • ~Field () -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only

  • -
- - - diff --git a/python/pykde/doc/classref/kabc/KABC.FieldSortMode.html b/python/pykde/doc/classref/kabc/KABC.FieldSortMode.html deleted file mode 100644 index 7278a4cb..00000000 --- a/python/pykde/doc/classref/kabc/KABC.FieldSortMode.html +++ /dev/null @@ -1,57 +0,0 @@ - - - - - class KABC.FieldSortMode - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KABC.FieldSortMode


-
- - - - - -
Table of contents
Modules
kabc Classes
All Classes
-
- - - - - - - - - - -
Modulekabc
ClassKABC.FieldSortMode
InheritsKABC.SortMode
-

methods

    -
  • FieldSortMode (field, ascending = 1) -
    - -
    returns a FieldSortMode instance
    In versions KDE 3.4.0 and above only
    - - -
    ArgumentTypeDefault
    fieldKABC.Field
    ascendingbool1
    -

  • -
  • lesser (a0, a1) -
    - -
    returns (bool)
    In versions KDE 3.4.0 and above only
    - - -
    ArgumentTypeDefault
    a0KABC.Addressee
    a1KABC.Addressee
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kabc/KABC.Format.html b/python/pykde/doc/classref/kabc/KABC.Format.html deleted file mode 100644 index b8ae4afc..00000000 --- a/python/pykde/doc/classref/kabc/KABC.Format.html +++ /dev/null @@ -1,57 +0,0 @@ - - - - - class KABC.Format - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KABC.Format


-
- - - - - -
Table of contents
Modules
kabc Classes
All Classes
-
- - - - - - - - - - -
Modulekabc
ClassKABC.Format (abstract)
Inherits
-

methods

    -
  • load (a0, fileName) = 0 -
    - -
    returns (bool)
    pure virtual
    - - -
    ArgumentTypeDefault
    a0KABC.AddressBook
    fileNameTQString
    -

  • -
  • save (a0, fileName) = 0 -
    - -
    returns (bool)
    pure virtual
    - - -
    ArgumentTypeDefault
    a0KABC.AddressBook
    fileNameTQString
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kabc/KABC.FormatFactory.html b/python/pykde/doc/classref/kabc/KABC.FormatFactory.html deleted file mode 100644 index d0d9e6c1..00000000 --- a/python/pykde/doc/classref/kabc/KABC.FormatFactory.html +++ /dev/null @@ -1,72 +0,0 @@ - - - - - class KABC.FormatFactory - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KABC.FormatFactory


-
- - - - - -
Table of contents
Modules
kabc Classes
All Classes
-
- - - - - - - - - - -
Modulekabc
ClassKABC.FormatFactory
Inherits
-

methods

    -
  • FormatFactory () -
    - -
    returns a FormatFactory instance
    In versions KDE 3.1.0 and above only

  • -
  • format (type) -
    - -
    returns (KABC.FormatPlugin)
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    typeTQString
    -

  • -
  • formats () -
    - -
    returns (TQStringList)
    In versions KDE 3.1.0 and above only

  • -
  • info (type) -
    - -
    returns (KABC.FormatInfo)
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    typeTQString
    -

  • -
  • self () -
    - - -
    returns (KABC.FormatFactory)
    In versions KDE 3.1.0 and above only
    static

  • -
  • ~FormatFactory () -
    - -
    returns nothing
    In versions less than KDE 3.2.0 only

  • -
- - - diff --git a/python/pykde/doc/classref/kabc/KABC.FormatInfo.html b/python/pykde/doc/classref/kabc/KABC.FormatInfo.html deleted file mode 100644 index 9bc9a209..00000000 --- a/python/pykde/doc/classref/kabc/KABC.FormatInfo.html +++ /dev/null @@ -1,45 +0,0 @@ - - - - - class KABC.FormatInfo - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KABC.FormatInfo


-
- - - - - -
Table of contents
Modules
kabc Classes
All Classes
-
- - - - - - - - - - -
Modulekabc
ClassKABC.FormatInfo
Inherits
-

variables

  • -variables - - - -
    VariableType
    descriptionLabelTQString
    libraryTQString
    nameLabelTQString
- - - diff --git a/python/pykde/doc/classref/kabc/KABC.FormatPlugin.html b/python/pykde/doc/classref/kabc/KABC.FormatPlugin.html deleted file mode 100644 index 850f1b13..00000000 --- a/python/pykde/doc/classref/kabc/KABC.FormatPlugin.html +++ /dev/null @@ -1,87 +0,0 @@ - - - - - class KABC.FormatPlugin - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KABC.FormatPlugin


-
- - - - - -
Table of contents
Modules
kabc Classes
All Classes
-
- - - - - - - - - - -
Modulekabc
ClassKABC.FormatPlugin (abstract)
InheritsKABC.Plugin
-

methods

    -
  • checkFormat (file) = 0 -
    - - -
    returns (bool)
    In versions KDE 3.1.0 and above only
    pure virtual
    - -
    ArgumentTypeDefault
    fileTQFile
    -

  • -
  • load (a0, file) = 0 -
    - - -
    returns (bool)
    In versions KDE 3.1.0 and above only
    pure virtual
    - - -
    ArgumentTypeDefault
    a0KABC.Addressee
    fileTQFile
    -

  • -
  • loadAll (a0, a1, file) = 0 -
    - - -
    returns (bool)
    In versions KDE 3.1.0 and above only
    pure virtual
    - - - -
    ArgumentTypeDefault
    a0KABC.AddressBook
    a1KABC.Resource
    fileTQFile
    -

  • -
  • save (a0, file) = 0 -
    - - -
    returns nothing
    In versions KDE 3.1.0 and above only
    pure virtual
    - - -
    ArgumentTypeDefault
    a0KABC.Addressee
    fileTQFile
    -

  • -
  • saveAll (a0, a1, file) = 0 -
    - - -
    returns nothing
    In versions KDE 3.1.0 and above only
    pure virtual
    - - - -
    ArgumentTypeDefault
    a0KABC.AddressBook
    a1KABC.Resource
    fileTQFile
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kabc/KABC.GUIErrorHandler.html b/python/pykde/doc/classref/kabc/KABC.GUIErrorHandler.html deleted file mode 100644 index 34996198..00000000 --- a/python/pykde/doc/classref/kabc/KABC.GUIErrorHandler.html +++ /dev/null @@ -1,48 +0,0 @@ - - - - - class KABC.GUIErrorHandler - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KABC.GUIErrorHandler


-
- - - - - -
Table of contents
Modules
kabc Classes
All Classes
-
- - - - - - - - - - -
Modulekabc
ClassKABC.GUIErrorHandler
InheritsKABC.ErrorHandler
-

methods

    -
  • error (msg) -
    - -
    returns nothing
    In versions KDE 3.5.1 and above only
    - -
    ArgumentTypeDefault
    msgTQString
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kabc/KABC.Geo.html b/python/pykde/doc/classref/kabc/KABC.Geo.html deleted file mode 100644 index 3e77a965..00000000 --- a/python/pykde/doc/classref/kabc/KABC.Geo.html +++ /dev/null @@ -1,90 +0,0 @@ - - - - - class KABC.Geo - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KABC.Geo


-
- - - - - -
Table of contents
Modules
kabc Classes
All Classes
-
- - - - - - - - - - -
Modulekabc
ClassKABC.Geo
Inherits
-

methods

    -
  • Geo () -
    -
    returns a Geo instance

  • -
  • Geo (latitude, longitude) -
    -
    returns a Geo instance
    - - -
    ArgumentTypeDefault
    latitudefloat
    longitudefloat
    -

  • -
  • asString () -
    -
    returns (TQString)

  • -
  • isValid () -
    -
    returns (bool)

  • -
  • latitude () -
    -
    returns (float)

  • -
  • longitude () -
    -
    returns (float)

  • -
  • setLatitude (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0float
    -

  • -
  • setLongitude (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0float
    -

  • -
-

operators

    -
  • operator != (a0) -
    - -
    returns (bool)
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    a0KABC.Geo
    -

  • -
  • operator == (a0) -
    -
    returns (bool)
    - -
    ArgumentTypeDefault
    a0KABC.Geo
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kabc/KABC.GuiErrorHandler.html b/python/pykde/doc/classref/kabc/KABC.GuiErrorHandler.html deleted file mode 100644 index 695cabcf..00000000 --- a/python/pykde/doc/classref/kabc/KABC.GuiErrorHandler.html +++ /dev/null @@ -1,55 +0,0 @@ - - - - - class KABC.GuiErrorHandler - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KABC.GuiErrorHandler


-
- - - - - -
Table of contents
Modules
kabc Classes
All Classes
-
- - - - - - - - - - -
Modulekabc
ClassKABC.GuiErrorHandler
InheritsKABC.ErrorHandler
-

methods

    -
  • GuiErrorHandler (parent) -
    - -
    returns a GuiErrorHandler instance
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    parentTQWidget
    -

  • -
  • error (msg) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    msgTQString
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kabc/KABC.Key.html b/python/pykde/doc/classref/kabc/KABC.Key.html deleted file mode 100644 index 49c400ea..00000000 --- a/python/pykde/doc/classref/kabc/KABC.Key.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - - class KABC.Key - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KABC.Key


-
- - - - - -
Table of contents
Modules
kabc Classes
All Classes
-
- - - - - - - - - - -
Modulekabc
ClassKABC.Key
Inherits
-

enums

    -
  • Types = {X509, PGP, Custom -}
-

methods

    -
  • Key (text = TQString .null, type = PGP) -
    - -
    returns a Key instance
    In versions KDE 3.1.0 and above only
    - - -
    ArgumentTypeDefault
    textTQStringTQString .null
    typeintPGP
    -

  • -
  • binaryData () -
    - -
    returns (TQByteArray)
    In versions KDE 3.1.0 and above only

  • -
  • customTypeString () -
    - -
    returns (TQString)
    In versions KDE 3.1.0 and above only

  • -
  • id () -
    - -
    returns (TQString)
    In versions KDE 3.1.0 and above only

  • -
  • isBinary () -
    - -
    returns (bool)
    In versions KDE 3.1.0 and above only

  • -
  • setBinaryData (binary) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    binaryTQByteArray
    -

  • -
  • setCustomTypeString (custom) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    customTQString
    -

  • -
  • setId (id) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    idTQString
    -

  • -
  • setTextData (text) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    textTQString
    -

  • -
  • setType (type) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    typeint
    -

  • -
  • textData () -
    - -
    returns (TQString)
    In versions KDE 3.1.0 and above only

  • -
  • type () -
    - -
    returns (int)
    In versions KDE 3.1.0 and above only

  • -
  • typeLabel (type) -
    - - -
    returns (TQString)
    In versions KDE 3.1.0 and above only
    static
    - -
    ArgumentTypeDefault
    typeint
    -

  • -
  • typeList () -
    - - -
    returns (TypeList)
    In versions KDE 3.1.0 and above only
    static

  • -
-

operators

    -
  • operator != (a0) -
    - -
    returns (bool)
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    a0KABC.Key
    -

  • -
  • operator == (a0) -
    - -
    returns (bool)
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    a0KABC.Key
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kabc/KABC.LDAPUrl.Extension.html b/python/pykde/doc/classref/kabc/KABC.LDAPUrl.Extension.html deleted file mode 100644 index 2b3c2a95..00000000 --- a/python/pykde/doc/classref/kabc/KABC.LDAPUrl.Extension.html +++ /dev/null @@ -1,44 +0,0 @@ - - - - - class KABC.LDAPUrl.Extension - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KABC.LDAPUrl.Extension


-
- - - - - -
Table of contents
Modules
kabc Classes
All Classes
-
- - - - - - - - - - -
Modulekabc
ClassKABC.LDAPUrl.Extension
Inherits
-

variables

  • -variables - - -
    VariableType
    criticalbool
    valueTQString
- - - diff --git a/python/pykde/doc/classref/kabc/KABC.LDAPUrl.html b/python/pykde/doc/classref/kabc/KABC.LDAPUrl.html deleted file mode 100644 index 33fbcec6..00000000 --- a/python/pykde/doc/classref/kabc/KABC.LDAPUrl.html +++ /dev/null @@ -1,152 +0,0 @@ - - - - - class KABC.LDAPUrl - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KABC.LDAPUrl


-
- - - - - -
Table of contents
Modules
kabc Classes
All Classes
-
- - - - - - - - - - -
Modulekabc
ClassKABC.LDAPUrl
InheritsKURL
-

enums

    -
  • Scope = {Base, One, Sub -}
-

methods

    -
  • LDAPUrl () -
    - -
    returns a LDAPUrl instance
    In versions KDE 3.3.0 and above only

  • -
  • LDAPUrl (url) -
    - -
    returns a LDAPUrl instance
    In versions KDE 3.3.0 and above only
    - -
    ArgumentTypeDefault
    urlKURL
    -

  • -
  • attributes () -
    - -
    returns (TQStringList)
    In versions KDE 3.3.0 and above only

  • -
  • dn () -
    - -
    returns (TQString)
    In versions KDE 3.3.0 and above only

  • -
  • extension (key) -
    - -
    returns (KABC.LDAPUrl.Extension)
    In versions KDE 3.3.0 and above only
    - -
    ArgumentTypeDefault
    keyTQString
    -

  • -
  • extension (key) -
    - -
    returns (TQString) critical (bool)
    In versions KDE 3.3.0 and above only
    - -
    ArgumentTypeDefault
    keyTQString
    -

  • -
  • filter () -
    - -
    returns (TQString)
    In versions KDE 3.3.0 and above only

  • -
  • hasExtension (key) -
    - -
    returns (bool)
    In versions KDE 3.3.0 and above only
    - -
    ArgumentTypeDefault
    keyTQString
    -

  • -
  • parseQuery () -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only

  • -
  • removeExtension (key) -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only
    - -
    ArgumentTypeDefault
    keyTQString
    -

  • -
  • scope () -
    - -
    returns (KABC.LDAPUrl.Scope)
    In versions KDE 3.3.0 and above only

  • -
  • setAttributes (attributes) -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only
    - -
    ArgumentTypeDefault
    attributesTQStringList
    -

  • -
  • setDn (dn) -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only
    - -
    ArgumentTypeDefault
    dnTQString
    -

  • -
  • setExtension (key, ext) -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only
    - - -
    ArgumentTypeDefault
    keyTQString
    extKABC.LDAPUrl.Extension
    -

  • -
  • setExtension (key, value, critical = 0) -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only
    - - - -
    ArgumentTypeDefault
    keyTQString
    valueTQString
    criticalbool0
    -

  • -
  • setFilter (filter) -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only
    - -
    ArgumentTypeDefault
    filterTQString
    -

  • -
  • setScope (scope) -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only
    - -
    ArgumentTypeDefault
    scopeKABC.LDAPUrl.Scope
    -

  • -
  • updateQuery () -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only

  • -
- - - diff --git a/python/pykde/doc/classref/kabc/KABC.LDIF.html b/python/pykde/doc/classref/kabc/KABC.LDIF.html deleted file mode 100644 index a92a202f..00000000 --- a/python/pykde/doc/classref/kabc/KABC.LDIF.html +++ /dev/null @@ -1,174 +0,0 @@ - - - - - class KABC.LDIF - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KABC.LDIF


-
- - - - - -
Table of contents
Modules
kabc Classes
All Classes
-
- - - - - - - - - - -
Modulekabc
ClassKABC.LDIF
Inherits
-

enums

    -
  • EntryType = {Entry_None, Entry_Add, Entry_Del, Entry_Mod, Entry_Modrdn -}
  • ModType = {Mod_None, Mod_Add, Mod_Replace, Mod_Del -}
  • ParseVal = {None, NewEntry, EndEntry, Item, Control, Err, MoreData -}
-

methods

    -
  • LDIF () -
    - -
    returns a LDIF instance
    In versions KDE 3.3.0 and above only

  • -
  • assembleLine (fieldname, value, linelen = 0, url = 0) -
    - - -
    returns (TQCString)
    In versions KDE 3.3.0 and above only
    static
    - - - - -
    ArgumentTypeDefault
    fieldnameTQString
    valueTQByteArray
    linelenuint0
    urlbool0
    -

  • -
  • assembleLine (fieldname, value, linelen = 0, url = 0) -
    - - -
    returns (TQCString)
    In versions KDE 3.3.0 and above only
    static
    - - - - -
    ArgumentTypeDefault
    fieldnameTQString
    valueTQCString
    linelenuint0
    urlbool0
    -

  • -
  • assembleLine (fieldname, value, linelen = 0, url = 0) -
    - - -
    returns (TQCString)
    In versions KDE 3.3.0 and above only
    static
    - - - - -
    ArgumentTypeDefault
    fieldnameTQString
    valueTQString
    linelenuint0
    urlbool0
    -

  • -
  • attr () -
    - -
    returns (TQString)
    In versions KDE 3.3.0 and above only

  • -
  • critical () -
    - -
    returns (bool)
    In versions KDE 3.3.0 and above only

  • -
  • delOldRdn () -
    - -
    returns (bool)
    In versions KDE 3.3.0 and above only

  • -
  • dn () -
    - -
    returns (TQString)
    In versions KDE 3.3.0 and above only

  • -
  • endLDIF () -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only

  • -
  • entryType () -
    - -
    returns (KABC.LDIF.EntryType)
    In versions KDE 3.3.0 and above only

  • -
  • isUrl () -
    - -
    returns (bool)
    In versions KDE 3.3.0 and above only

  • -
  • lineNo () -
    - -
    returns (uint)
    In versions KDE 3.3.0 and above only

  • -
  • modType () -
    - -
    returns (int)
    In versions KDE 3.3.0 and above only

  • -
  • newRdn () -
    - -
    returns (TQString)
    In versions KDE 3.3.0 and above only

  • -
  • newSuperior () -
    - -
    returns (TQString)
    In versions KDE 3.3.0 and above only

  • -
  • nextItem () -
    - -
    returns (KABC.LDIF.ParseVal)
    In versions KDE 3.3.0 and above only

  • -
  • oid () -
    - -
    returns (TQString)
    In versions KDE 3.3.0 and above only

  • -
  • processLine () -
    - -
    returns (KABC.LDIF.ParseVal)
    In versions KDE 3.3.0 and above only

  • -
  • setLDIF (ldif) -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only
    - -
    ArgumentTypeDefault
    ldifTQByteArray
    -

  • -
  • splitControl (line, oid, value) -
    - - -
    returns (bool) critical (bool)
    In versions KDE 3.3.0 and above only
    static
    - - - -
    ArgumentTypeDefault
    lineTQCString
    oidTQString
    valueTQByteArray
    -

  • -
  • splitLine (line, fieldname, value) -
    - - -
    returns (bool)
    In versions KDE 3.3.0 and above only
    static
    - - - -
    ArgumentTypeDefault
    lineTQCString
    fieldnameTQString
    valueTQByteArray
    -

  • -
  • startParsing () -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only

  • -
  • val () -
    - -
    returns (TQByteArray)
    In versions KDE 3.3.0 and above only

  • -
- - - diff --git a/python/pykde/doc/classref/kabc/KABC.LDIFConverter.html b/python/pykde/doc/classref/kabc/KABC.LDIFConverter.html deleted file mode 100644 index 50b86b91..00000000 --- a/python/pykde/doc/classref/kabc/KABC.LDIFConverter.html +++ /dev/null @@ -1,122 +0,0 @@ - - - - - class KABC.LDIFConverter - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KABC.LDIFConverter


-
- - - - - -
Table of contents
Modules
kabc Classes
All Classes
-
- - - - - - - - - - -
Modulekabc
ClassKABC.LDIFConverter
Inherits
-

methods

    -
  • LDIFToAddressee (a0, a1, a2 = TQDateTime .currentDateTime ()) -
    - -
    returns (bool)
    In versions less than KDE 3.5.2 only
    - - - -
    ArgumentTypeDefault
    a0TQString
    a1KABC.Addressee.List
    a2TQDateTimeTQDateTime .currentDateTime ()
    -

  • -
  • LDIFToAddressee (a0, a1, a2 = TQDateTime .currentDateTime ()) -
    - -
    returns (bool)
    In versions less than KDE 3.5.2 only
    - - - -
    ArgumentTypeDefault
    a0TQString
    a1KABC.Addressee.List
    a2TQDateTimeTQDateTime .currentDateTime ()
    -

  • -
  • addresseeToLDIF (a0, a1) -
    - -
    returns (bool)
    In versions less than KDE 3.5.2 only
    - - -
    ArgumentTypeDefault
    a0KABC.Addressee.List
    a1TQString
    -

  • -
  • addresseeToLDIF (a0, a1) -
    - -
    returns (bool)
    In versions less than KDE 3.5.2 only
    - - -
    ArgumentTypeDefault
    a0KABC.Addressee.List
    a1TQString
    -

  • -
  • addresseeToLDIF (a0, a1) -
    - -
    returns (bool)
    In versions less than KDE 3.5.2 only
    - - -
    ArgumentTypeDefault
    a0KABC.Addressee.List
    a1TQString
    -

  • -
  • evaluatePair (a, homeAddr, workAddr, fieldname, value) -
    - -
    returns (bool)
    In versions KDE 3.2.0 and above only
    - - - - - -
    ArgumentTypeDefault
    aKABC.Addressee
    homeAddrKABC.Address
    workAddrKABC.Address
    fieldnameTQString
    valueTQString
    -

  • -
  • makeLDIFfieldString (field, value, allowEncode = 1) -
    - -
    returns (TQString)
    In versions KDE 3.2.0 and above only
    - - - -
    ArgumentTypeDefault
    fieldTQString
    valueTQString
    allowEncodebool1
    -

  • -
  • parseSingleLine (a, homeAddr, workAddr, line) -
    - -
    returns (bool)
    In versions KDE 3.2.0 and above only
    - - - - -
    ArgumentTypeDefault
    aKABC.Addressee
    homeAddrKABC.Address
    workAddrKABC.Address
    lineTQString
    -

  • -
  • splitLine (line, fieldname, value) -
    - -
    returns (bool)
    In versions KDE 3.2.0 and above only
    - - - -
    ArgumentTypeDefault
    lineTQString
    fieldnameTQString
    valueTQString
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kabc/KABC.LdapClient.html b/python/pykde/doc/classref/kabc/KABC.LdapClient.html deleted file mode 100644 index 13377e38..00000000 --- a/python/pykde/doc/classref/kabc/KABC.LdapClient.html +++ /dev/null @@ -1,190 +0,0 @@ - - - - - class KABC.LdapClient - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KABC.LdapClient


-
- - - - - -
Table of contents
Modules
kabc Classes
All Classes
-
- - - - - - - - - - -
Modulekabc
ClassKABC.LdapClient
InheritsTQObject
-

methods

    -
  • LdapClient (parent = 0, name = 0) -
    - -
    returns a LdapClient instance
    In versions KDE 3.1.0 and above only
    - - -
    ArgumentTypeDefault
    parentTQObject0
    namechar0
    -

  • -
  • attrs () -
    - -
    returns (TQStringList)
    In versions KDE 3.1.0 and above only

  • -
  • base () -
    - -
    returns (TQString)
    In versions KDE 3.1.0 and above only

  • -
  • bindDN () -
    - -
    returns (TQString)
    In versions KDE 3.2.0 and above only

  • -
  • cancelQuery () -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only

  • -
  • done () -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only

  • -
  • endParseLDIF () -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only

  • -
  • error (a0) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    a0TQString
    -

  • -
  • host () -
    - -
    returns (TQString)
    In versions KDE 3.1.0 and above only

  • -
  • isActive () -
    - -
    returns (bool)
    In versions KDE 3.1.0 and above only

  • -
  • parseLDIF (data) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    dataTQByteArray
    -

  • -
  • port () -
    - -
    returns (TQString)
    In versions KDE 3.1.0 and above only

  • -
  • pwdBindDN () -
    - -
    returns (TQString)
    In versions KDE 3.2.0 and above only

  • -
  • result (a0) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    a0KABC.LdapObject
    -

  • -
  • setAttrs (attrs) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    attrsTQStringList
    -

  • -
  • setBase (base) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    baseTQString
    -

  • -
  • setBindDN (bindDN) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    bindDNTQString
    -

  • -
  • setHost (host) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    hostTQString
    -

  • -
  • setPort (port) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    portTQString
    -

  • -
  • setPwdBindDN (pwdBindDN) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    pwdBindDNTQString
    -

  • -
  • setScope (scope) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    scopeTQString
    -

  • -
  • slotData (a0, data) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - - -
    ArgumentTypeDefault
    a0KIO.Job
    dataTQByteArray
    -

  • -
  • slotDone () -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only

  • -
  • slotInfoMessage (a0, info) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - - -
    ArgumentTypeDefault
    a0KIO.Job
    infoTQString
    -

  • -
  • startParseLDIF () -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only

  • -
  • startQuery (filter) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    filterTQString
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kabc/KABC.LdapConfigWidget.html b/python/pykde/doc/classref/kabc/KABC.LdapConfigWidget.html deleted file mode 100644 index 1094dd13..00000000 --- a/python/pykde/doc/classref/kabc/KABC.LdapConfigWidget.html +++ /dev/null @@ -1,276 +0,0 @@ - - - - - class KABC.LdapConfigWidget - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KABC.LdapConfigWidget


-
- - - - - -
Table of contents
Modules
kabc Classes
All Classes
-
- - - - - - - - - - -
Modulekabc
ClassKABC.LdapConfigWidget
InheritsTQWidget
-

enums

    -
  • LCW_Flags = {W_USER, W_PASS, W_BINDDN, W_REALM, W_HOST, W_PORT, W_VER, W_DN, W_FILTER, W_SECBOX, W_AUTHBOX, W_TIMELIMIT, W_SIZELIMIT, W_ALL -}
-

methods

    -
  • LdapConfigWidget (parent = 0, name = 0, fl = 0) -
    - -
    returns a LdapConfigWidget instance
    In versions KDE 3.3.0 and above only
    - - - -
    ArgumentTypeDefault
    parentTQWidget0
    namechar0
    flWFlags0
    -

  • -
  • LdapConfigWidget (flags, parent = 0, name = 0, fl = 0) -
    - -
    returns a LdapConfigWidget instance
    In versions KDE 3.3.0 and above only
    - - - - -
    ArgumentTypeDefault
    flagsint
    parentTQWidget0
    namechar0
    flWFlags0
    -

  • -
  • bindDN () -
    - -
    returns (TQString)
    In versions KDE 3.3.0 and above only

  • -
  • dn () -
    - -
    returns (TQString)
    In versions KDE 3.3.0 and above only

  • -
  • filter () -
    - -
    returns (TQString)
    In versions KDE 3.3.0 and above only

  • -
  • flags () -
    - -
    returns (int)
    In versions KDE 3.3.0 and above only

  • -
  • host () -
    - -
    returns (TQString)
    In versions KDE 3.3.0 and above only

  • -
  • isAuthAnon () -
    - -
    returns (bool)
    In versions KDE 3.3.0 and above only

  • -
  • isAuthSASL () -
    - -
    returns (bool)
    In versions KDE 3.3.0 and above only

  • -
  • isAuthSimple () -
    - -
    returns (bool)
    In versions KDE 3.3.0 and above only

  • -
  • isSecNO () -
    - -
    returns (bool)
    In versions KDE 3.3.0 and above only

  • -
  • isSecSSL () -
    - -
    returns (bool)
    In versions KDE 3.3.0 and above only

  • -
  • isSecTLS () -
    - -
    returns (bool)
    In versions KDE 3.3.0 and above only

  • -
  • mech () -
    - -
    returns (TQString)
    In versions KDE 3.3.0 and above only

  • -
  • password () -
    - -
    returns (TQString)
    In versions KDE 3.3.0 and above only

  • -
  • port () -
    - -
    returns (int)
    In versions KDE 3.3.0 and above only

  • -
  • realm () -
    - -
    returns (TQString)
    In versions KDE 3.3.0 and above only

  • -
  • setAuthAnon (b = 1) -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only
    - -
    ArgumentTypeDefault
    bbool1
    -

  • -
  • setAuthSASL (b = 1) -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only
    - -
    ArgumentTypeDefault
    bbool1
    -

  • -
  • setAuthSimple (b = 1) -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only
    - -
    ArgumentTypeDefault
    bbool1
    -

  • -
  • setBindDN (binddn) -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only
    - -
    ArgumentTypeDefault
    binddnTQString
    -

  • -
  • setDn (dn) -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only
    - -
    ArgumentTypeDefault
    dnTQString
    -

  • -
  • setFilter (filter) -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only
    - -
    ArgumentTypeDefault
    filterTQString
    -

  • -
  • setFlags (flags) -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only
    - -
    ArgumentTypeDefault
    flagsint
    -

  • -
  • setHost (host) -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only
    - -
    ArgumentTypeDefault
    hostTQString
    -

  • -
  • setMech (mech) -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only
    - -
    ArgumentTypeDefault
    mechTQString
    -

  • -
  • setPassword (password) -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only
    - -
    ArgumentTypeDefault
    passwordTQString
    -

  • -
  • setPort (port) -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only
    - -
    ArgumentTypeDefault
    portint
    -

  • -
  • setRealm (realm) -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only
    - -
    ArgumentTypeDefault
    realmTQString
    -

  • -
  • setSecNO (b = 1) -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only
    - -
    ArgumentTypeDefault
    bbool1
    -

  • -
  • setSecSSL (b = 1) -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only
    - -
    ArgumentTypeDefault
    bbool1
    -

  • -
  • setSecTLS (b = 1) -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only
    - -
    ArgumentTypeDefault
    bbool1
    -

  • -
  • setSizeLimit (sizelimit) -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only
    - -
    ArgumentTypeDefault
    sizelimitint
    -

  • -
  • setTimeLimit (timelimit) -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only
    - -
    ArgumentTypeDefault
    timelimitint
    -

  • -
  • setUser (user) -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only
    - -
    ArgumentTypeDefault
    userTQString
    -

  • -
  • setVer (ver) -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only
    - -
    ArgumentTypeDefault
    verint
    -

  • -
  • sizeLimit () -
    - -
    returns (int)
    In versions KDE 3.3.0 and above only

  • -
  • timeLimit () -
    - -
    returns (int)
    In versions KDE 3.3.0 and above only

  • -
  • url () -
    - -
    returns (KABC.LDAPUrl)
    In versions KDE 3.3.0 and above only

  • -
  • user () -
    - -
    returns (TQString)
    In versions KDE 3.3.0 and above only

  • -
  • ver () -
    - -
    returns (int)
    In versions KDE 3.3.0 and above only

  • -
- - - diff --git a/python/pykde/doc/classref/kabc/KABC.LdapObject.html b/python/pykde/doc/classref/kabc/KABC.LdapObject.html deleted file mode 100644 index 780cb57a..00000000 --- a/python/pykde/doc/classref/kabc/KABC.LdapObject.html +++ /dev/null @@ -1,88 +0,0 @@ - - - - - class KABC.LdapObject - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KABC.LdapObject


-
- - - - - -
Table of contents
Modules
kabc Classes
All Classes
-
- - - - - - - - - - -
Modulekabc
ClassKABC.LdapObject
Inherits
-

methods

    -
  • LdapObject () -
    - -
    returns a LdapObject instance
    In versions KDE 3.1.0 and above only

  • -
  • LdapObject (_dn, _cl) -
    - -
    returns a LdapObject instance
    In versions KDE 3.3.0 and above only
    - - -
    ArgumentTypeDefault
    _dnTQString
    _clKABC.LdapClient
    -

  • -
  • LdapObject (that) -
    - -
    returns a LdapObject instance
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    thatKABC.LdapObject
    -

  • -
  • LdapObject (a0) -
    - -
    returns a LdapObject instance
    In versions less than KDE 3.3.0 only
    - -
    ArgumentTypeDefault
    a0TQString
    -

  • -
  • assign (that) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    thatKABC.LdapObject
    -

  • -
  • clear () -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only

  • -
  • toString () -
    - -
    returns (TQString)
    In versions KDE 3.1.0 and above only

  • -
-

variables

  • -variables - - - -
    VariableType
    attrsLdapAttrMap
    clientKABC::LdapClient*
    dnTQString
- - - diff --git a/python/pykde/doc/classref/kabc/KABC.LdapResult.html b/python/pykde/doc/classref/kabc/KABC.LdapResult.html deleted file mode 100644 index a71c1708..00000000 --- a/python/pykde/doc/classref/kabc/KABC.LdapResult.html +++ /dev/null @@ -1,45 +0,0 @@ - - - - - class KABC.LdapResult - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KABC.LdapResult


-
- - - - - -
Table of contents
Modules
kabc Classes
All Classes
-
- - - - - - - - - - -
Modulekabc
ClassKABC.LdapResult
Inherits
-

variables

  • -variables - - - -
    VariableType
    clientNumberint
    emailTQString
    nameTQString
- - - diff --git a/python/pykde/doc/classref/kabc/KABC.LdapSearch.html b/python/pykde/doc/classref/kabc/KABC.LdapSearch.html deleted file mode 100644 index 42dd5958..00000000 --- a/python/pykde/doc/classref/kabc/KABC.LdapSearch.html +++ /dev/null @@ -1,78 +0,0 @@ - - - - - class KABC.LdapSearch - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KABC.LdapSearch


-
- - - - - -
Table of contents
Modules
kabc Classes
All Classes
-
- - - - - - - - - - -
Modulekabc
ClassKABC.LdapSearch
InheritsTQObject
-

methods

    -
  • LdapSearch () -
    - -
    returns a LdapSearch instance
    In versions KDE 3.1.0 and above only

  • -
  • cancelSearch () -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only

  • -
  • isAvailable () -
    - -
    returns (bool)
    In versions KDE 3.1.0 and above only

  • -
  • searchData (a0) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    a0TQStringList
    -

  • -
  • searchData (a0) -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only
    - -
    ArgumentTypeDefault
    a0KABC.LdapResultList
    -

  • -
  • searchDone () -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only

  • -
  • startSearch (txt) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    txtTQString
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kabc/KABC.Lock.html b/python/pykde/doc/classref/kabc/KABC.Lock.html deleted file mode 100644 index ca4b6639..00000000 --- a/python/pykde/doc/classref/kabc/KABC.Lock.html +++ /dev/null @@ -1,94 +0,0 @@ - - - - - class KABC.Lock - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KABC.Lock


-
- - - - - -
Table of contents
Modules
kabc Classes
All Classes
-
- - - - - - - - - - -
Modulekabc
ClassKABC.Lock
InheritsTQObject
-

methods

    -
  • Lock (identifier) -
    - -
    returns a Lock instance
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    identifierTQString
    -

  • -
  • error () -
    - -
    returns (TQString)
    In versions KDE 3.2.0 and above only

  • -
  • lock () -
    - -
    returns (bool)
    In versions KDE 3.2.0 and above only

  • -
  • lockFileName () -
    - -
    returns (TQString)
    In versions KDE 3.2.0 and above only

  • -
  • locked () -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only

  • -
  • locksDir () -
    - - -
    returns (TQString)
    In versions KDE 3.2.0 and above only
    static

  • -
  • readLockFile (filename, app) -
    - - -
    returns (bool) pid (int)
    In versions KDE 3.2.0 and above only
    static
    - - -
    ArgumentTypeDefault
    filenameTQString
    appTQString
    -

  • -
  • unlock () -
    - -
    returns (bool)
    In versions KDE 3.2.0 and above only

  • -
  • unlocked () -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only

  • -
  • writeLockFile (filename) -
    - - -
    returns (bool)
    In versions KDE 3.2.0 and above only
    static
    - -
    ArgumentTypeDefault
    filenameTQString
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kabc/KABC.LockNull.html b/python/pykde/doc/classref/kabc/KABC.LockNull.html deleted file mode 100644 index ea5e8ec2..00000000 --- a/python/pykde/doc/classref/kabc/KABC.LockNull.html +++ /dev/null @@ -1,60 +0,0 @@ - - - - - class KABC.LockNull - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KABC.LockNull


-
- - - - - -
Table of contents
Modules
kabc Classes
All Classes
-
- - - - - - - - - - -
Modulekabc
ClassKABC.LockNull
InheritsKABC.Lock
-

methods

    -
  • LockNull (allowAccess) -
    - -
    returns a LockNull instance
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    allowAccessbool
    -

  • -
  • error () -
    - -
    returns (TQString)
    In versions KDE 3.2.0 and above only

  • -
  • lock () -
    - -
    returns (bool)
    In versions KDE 3.2.0 and above only

  • -
  • unlock () -
    - -
    returns (bool)
    In versions KDE 3.2.0 and above only

  • -
- - - diff --git a/python/pykde/doc/classref/kabc/KABC.NameSortMode.html b/python/pykde/doc/classref/kabc/KABC.NameSortMode.html deleted file mode 100644 index 6539fa29..00000000 --- a/python/pykde/doc/classref/kabc/KABC.NameSortMode.html +++ /dev/null @@ -1,64 +0,0 @@ - - - - - class KABC.NameSortMode - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KABC.NameSortMode


-
- - - - - -
Table of contents
Modules
kabc Classes
All Classes
-
- - - - - - - - - - -
Modulekabc
ClassKABC.NameSortMode
InheritsKABC.SortMode
-

enums

    -
  • NameType = {FormattedName, FamilyName, GivenName -}
-

methods

    -
  • NameSortMode () -
    - -
    returns a NameSortMode instance
    In versions KDE 3.4.0 and above only

  • -
  • NameSortMode (type, ascending = 1) -
    - -
    returns a NameSortMode instance
    In versions KDE 3.4.0 and above only
    - - -
    ArgumentTypeDefault
    typeKABC.NameSortMode.NameType
    ascendingbool1
    -

  • -
  • lesser (a0, a1) -
    - -
    returns (bool)
    In versions KDE 3.4.0 and above only
    - - -
    ArgumentTypeDefault
    a0KABC.Addressee
    a1KABC.Addressee
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kabc/KABC.PhoneNumber.html b/python/pykde/doc/classref/kabc/KABC.PhoneNumber.html deleted file mode 100644 index 31029690..00000000 --- a/python/pykde/doc/classref/kabc/KABC.PhoneNumber.html +++ /dev/null @@ -1,127 +0,0 @@ - - - - - class KABC.PhoneNumber - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KABC.PhoneNumber


-
- - - - - -
Table of contents
Modules
kabc Classes
All Classes
-
- - - - - - - - - - -
Modulekabc
ClassKABC.PhoneNumber
Inherits
-

enums

    -
  • (anonymous) = {Home, Work, Msg, Pref, Voice, Fax, Cell, Video, Bbs, Modem, Car, Isdn, Pcs, Pager -}
  • Types = {Home, Work, Msg, Pref, Voice, Fax, Cell, Video, Bbs, Modem, Car, Isdn, Pcs, Pager -}
-

methods

    -
  • PhoneNumber () -
    -
    returns a PhoneNumber instance

  • -
  • PhoneNumber (number, type = Home) -
    -
    returns a PhoneNumber instance
    - - -
    ArgumentTypeDefault
    numberTQString
    typeintHome
    -

  • -
  • id () -
    -
    returns (TQString)

  • -
  • label () -
    - -
    returns (TQString)
    In versions KDE 3.1.0 and above only

  • -
  • label (type) -
    - - -
    returns (TQString)
    In versions KDE 3.1.0 and above only
    static
    - -
    ArgumentTypeDefault
    typeint
    -

  • -
  • number () -
    -
    returns (TQString)

  • -
  • setId (id) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    idTQString
    -

  • -
  • setNumber (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0TQString
    -

  • -
  • setType (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0int
    -

  • -
  • type () -
    -
    returns (int)

  • -
  • typeLabel () -
    - -
    returns (TQString)
    In versions KDE 3.1.0 and above only

  • -
  • typeLabel (type) -
    - - -
    returns (TQString)
    In versions KDE 3.1.0 and above only
    static
    - -
    ArgumentTypeDefault
    typeint
    -

  • -
  • typeList () -
    - - -
    returns (TypeList)
    In versions KDE 3.1.0 and above only
    static

  • -
-

operators

    -
  • operator != (a0) -
    - -
    returns (bool)
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    a0KABC.PhoneNumber
    -

  • -
  • operator == (a0) -
    - -
    returns (bool)
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    a0KABC.PhoneNumber
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kabc/KABC.Picture.html b/python/pykde/doc/classref/kabc/KABC.Picture.html deleted file mode 100644 index 061cde05..00000000 --- a/python/pykde/doc/classref/kabc/KABC.Picture.html +++ /dev/null @@ -1,116 +0,0 @@ - - - - - class KABC.Picture - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KABC.Picture


-
- - - - - -
Table of contents
Modules
kabc Classes
All Classes
-
- - - - - - - - - - -
Modulekabc
ClassKABC.Picture
Inherits
-

methods

    -
  • Picture () -
    - -
    returns a Picture instance
    In versions KDE 3.1.0 and above only

  • -
  • Picture (url) -
    - -
    returns a Picture instance
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    urlTQString
    -

  • -
  • Picture (data) -
    - -
    returns a Picture instance
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    dataTQImage
    -

  • -
  • asString () -
    - -
    returns (TQString)
    In versions KDE 3.1.0 and above only

  • -
  • data () -
    - -
    returns (TQImage)
    In versions KDE 3.1.0 and above only

  • -
  • isIntern () -
    - -
    returns (bool)
    In versions KDE 3.1.0 and above only

  • -
  • setData (data) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    dataTQImage
    -

  • -
  • setType (type) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    typeTQString
    -

  • -
  • setUrl (url) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    urlTQString
    -

  • -
  • type () -
    - -
    returns (TQString)
    In versions KDE 3.1.0 and above only

  • -
  • url () -
    - -
    returns (TQString)
    In versions KDE 3.1.0 and above only

  • -
-

operators

    -
  • operator != (a0) -
    - -
    returns (bool)
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    a0KABC.Picture
    -

  • -
  • operator == (a0) -
    - -
    returns (bool)
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    a0KABC.Picture
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kabc/KABC.Plugin.html b/python/pykde/doc/classref/kabc/KABC.Plugin.html deleted file mode 100644 index 69b0ccd7..00000000 --- a/python/pykde/doc/classref/kabc/KABC.Plugin.html +++ /dev/null @@ -1,78 +0,0 @@ - - - - - class KABC.Plugin - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KABC.Plugin


-
- - - - - -
Table of contents
Modules
kabc Classes
All Classes
-
- - - - - - - - - - -
Modulekabc
ClassKABC.Plugin
Inherits
-

methods

    -
  • Plugin () -
    - -
    returns a Plugin instance
    In versions KDE 3.1.0 and above only

  • -
  • descriptionLabel () -
    - -
    returns (TQString)
    In versions KDE 3.1.0 and above only

  • -
  • nameLabel () -
    - -
    returns (TQString)
    In versions KDE 3.1.0 and above only

  • -
  • setDescriptionLabel (label) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    labelTQString
    -

  • -
  • setNameLabel (label) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    labelTQString
    -

  • -
  • setType (type) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    typeTQString
    -

  • -
  • type () -
    - -
    returns (TQString)
    In versions KDE 3.1.0 and above only

  • -
- - - diff --git a/python/pykde/doc/classref/kabc/KABC.Resource.html b/python/pykde/doc/classref/kabc/KABC.Resource.html deleted file mode 100644 index 8be2b766..00000000 --- a/python/pykde/doc/classref/kabc/KABC.Resource.html +++ /dev/null @@ -1,346 +0,0 @@ - - - - - class KABC.Resource - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KABC.Resource


-
- - - - - -
Table of contents
Modules
kabc Classes
All Classes
-
- - - - - - - - - - -
Modulekabc
ClassKABC.Resource
Inherits
-

methods

    -
  • Resource (config) -
    - -
    returns a Resource instance
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    configKConfig
    -

  • -
  • Resource (a0) -
    - -
    returns a Resource instance
    In versions KDE 3.1.0 and above, but less than KDE 3.2.0
    - -
    ArgumentTypeDefault
    a0KABC.AddressBook
    -

  • -
  • Resource (a0) -
    - -
    returns a Resource instance
    In versions less than KDE 3.1.0 only
    - -
    ArgumentTypeDefault
    a0KABC.AddressBook
    -

  • -
  • addressBook () -
    - -
    returns (KABC.AddressBook)
    In versions KDE 3.2.0 and above only

  • -
  • addressBook () -
    - -
    returns (KABC.AddressBook)
    In versions KDE 3.1.0 and above, but less than KDE 3.2.0

  • -
  • addressBook () -
    - -
    returns (KABC.AddressBook)
    In versions less than KDE 3.1.0 only

  • -
  • asyncLoad () -
    - -
    returns (bool)
    In versions KDE 3.2.0 and above only

  • -
  • asyncSave (ticket) -
    - -
    returns (bool)
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    ticketKABC.Ticket
    -

  • -
  • begin () -
    Not Implemented
    -

  • -
  • begin () -
    Not Implemented
    -

  • -
  • cleanUp () -
    - -
    returns nothing
    In versions KDE 3.1.0 and above, but less than KDE 3.2.0

  • -
  • clear () -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only

  • -
  • close () -
    - -
    returns nothing
    In versions KDE 3.1.0 and above, but less than KDE 3.2.0

  • -
  • close () -
    - -
    returns nothing
    In versions less than KDE 3.1.0 only

  • -
  • createTicket (a0) -
    - -
    returns (KABC.Ticket)
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    a0KABC.Resource
    -

  • -
  • createTicket (a0) -
    - -
    returns (KABC.Ticket)
    In versions KDE 3.1.0 and above, but less than KDE 3.2.0
    - -
    ArgumentTypeDefault
    a0KABC.Resource
    -

  • -
  • createTicket (a0) -
    - -
    returns (KABC.Ticket)
    In versions less than KDE 3.1.0 only
    - -
    ArgumentTypeDefault
    a0KABC.Resource
    -

  • -
  • cryptStr (a0) -
    - - -
    returns (TQString)
    In versions KDE 3.1.0 and above, but less than KDE 3.2.0
    static
    - -
    ArgumentTypeDefault
    a0TQString
    -

  • -
  • end () -
    Not Implemented
    -

  • -
  • end () -
    Not Implemented
    -

  • -
  • fastResource () -
    - -
    returns (bool)
    In versions KDE 3.1.0 and above, but less than KDE 3.2.0

  • -
  • findByCategory (category) -
    - -
    returns (KABC.Addressee.List)
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    categoryTQString
    -

  • -
  • findByEmail (email) -
    - -
    returns (KABC.Addressee.List)
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    emailTQString
    -

  • -
  • findByName (name) -
    - -
    returns (KABC.Addressee.List)
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    nameTQString
    -

  • -
  • findByUid (uid) -
    - -
    returns (KABC.Addressee)
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    uidTQString
    -

  • -
  • identifier () -
    - -
    returns (TQString)
    In versions KDE 3.1.0 and above, but less than KDE 3.2.0

  • -
  • insertAddressee (a0) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    a0KABC.Addressee
    -

  • -
  • load () = 0 -
    - - -
    returns (bool)
    In versions KDE 3.2.0 and above only
    pure virtual

  • -
  • load () -
    - -
    returns (bool)
    In versions KDE 3.1.0 and above, but less than KDE 3.2.0

  • -
  • load (a0) -
    - -
    returns (bool)
    In versions less than KDE 3.1.0 only
    - -
    ArgumentTypeDefault
    a0KABC.AddressBook
    -

  • -
  • loadingError (resource, msg) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - - -
    ArgumentTypeDefault
    resourceKABC.Resource
    msgTQString
    -

  • -
  • loadingFinished (resource) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    resourceKABC.Resource
    -

  • -
  • name () -
    - -
    returns (TQString)
    In versions KDE 3.1.0 and above, but less than KDE 3.2.0

  • -
  • open () -
    - -
    returns (bool)
    In versions KDE 3.1.0 and above, but less than KDE 3.2.0

  • -
  • open () -
    - -
    returns (bool)
    In versions less than KDE 3.1.0 only

  • -
  • readOnly () -
    - -
    returns (bool)
    In versions KDE 3.1.0 and above, but less than KDE 3.2.0

  • -
  • releaseSaveTicket (a0) = 0 -
    - - -
    returns nothing
    In versions KDE 3.2.0 and above only
    pure virtual
    - -
    ArgumentTypeDefault
    a0KABC.Ticket
    -

  • -
  • removeAddressee (addr) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    addrKABC.Addressee
    -

  • -
  • removeAddressee (a0) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above, but less than KDE 3.2.0
    - -
    ArgumentTypeDefault
    a0KABC.Addressee
    -

  • -
  • requestSaveTicket () = 0 -
    - - -
    returns (KABC.Ticket)
    In versions KDE 3.2.0 and above only
    pure virtual

  • -
  • requestSaveTicket () -
    - -
    returns (KABC.Ticket)
    In versions KDE 3.1.0 and above, but less than KDE 3.2.0

  • -
  • requestSaveTicket () -
    - -
    returns (KABC.Ticket)
    In versions less than KDE 3.1.0 only

  • -
  • save (ticket) = 0 -
    - - -
    returns (bool)
    In versions KDE 3.2.0 and above only
    pure virtual
    - -
    ArgumentTypeDefault
    ticketKABC.Ticket
    -

  • -
  • save (a0) -
    - -
    returns (bool)
    In versions KDE 3.1.0 and above, but less than KDE 3.2.0
    - -
    ArgumentTypeDefault
    a0KABC.Ticket
    -

  • -
  • save (a0) -
    - -
    returns (bool)
    In versions less than KDE 3.1.0 only
    - -
    ArgumentTypeDefault
    a0KABC.Ticket
    -

  • -
  • savingError (resource, msg) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - - -
    ArgumentTypeDefault
    resourceKABC.Resource
    msgTQString
    -

  • -
  • savingFinished (resource) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    resourceKABC.Resource
    -

  • -
  • setAddressBook (a0) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    a0KABC.AddressBook
    -

  • -
  • setAddressBook (a0) -
    - -
    returns nothing
    In versions less than KDE 3.1.0 only
    - -
    ArgumentTypeDefault
    a0KABC.AddressBook
    -

  • -
  • setFastResource (a0) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above, but less than KDE 3.2.0
    - -
    ArgumentTypeDefault
    a0bool
    -

  • -
  • setName (a0) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above, but less than KDE 3.2.0
    - -
    ArgumentTypeDefault
    a0TQString
    -

  • -
  • setReadOnly (a0) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above, but less than KDE 3.2.0
    - -
    ArgumentTypeDefault
    a0bool
    -

  • -
  • writeConfig (config) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    configKConfig
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kabc/KABC.ResourceFile.html b/python/pykde/doc/classref/kabc/KABC.ResourceFile.html deleted file mode 100644 index 8fea6407..00000000 --- a/python/pykde/doc/classref/kabc/KABC.ResourceFile.html +++ /dev/null @@ -1,312 +0,0 @@ - - - - - class KABC.ResourceFile - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KABC.ResourceFile


-
- - - - - -
Table of contents
Modules
kabc Classes
All Classes
-
- - - - - - - - - - -
Modulekabc
ClassKABC.ResourceFile
InheritsKABC.Resource
-

methods

    -
  • ResourceFile (cfg) -
    - -
    returns a ResourceFile instance
    In versions KDE 3.3.0 and above only
    - -
    ArgumentTypeDefault
    cfgKConfig
    -

  • -
  • ResourceFile (fileName, formatName = "vcard") -
    - -
    returns a ResourceFile instance
    In versions KDE 3.3.0 and above only
    - - -
    ArgumentTypeDefault
    fileNameTQString
    formatNameTQString"vcard"
    -

  • -
  • ResourceFile (a0, a1) -
    - -
    returns a ResourceFile instance
    In versions less than KDE 3.3.0 only
    - - -
    ArgumentTypeDefault
    a0KABC.AddressBook
    a1KConfig
    -

  • -
  • ResourceFile (a0, a1, a2 = 0) -
    - -
    returns a ResourceFile instance
    In versions less than KDE 3.3.0 only
    - - - -
    ArgumentTypeDefault
    a0KABC.AddressBook
    a1TQString
    a2KABC.FormatPlugin0
    -

  • -
  • ResourceFile (a0, a1) -
    - -
    returns a ResourceFile instance
    In versions KDE 3.1.0 and above, but less than KDE 3.5.3
    - - -
    ArgumentTypeDefault
    a0KABC.AddressBook
    a1KConfig
    -

  • -
  • ResourceFile (a0, a1, a2 = 0) -
    - -
    returns a ResourceFile instance
    In versions KDE 3.1.0 and above, but less than KDE 3.5.3
    - - - -
    ArgumentTypeDefault
    a0KABC.AddressBook
    a1TQString
    a2KABC.FormatPlugin0
    -

  • -
  • ResourceFile (a0, a1, a2 = 0) -
    - -
    returns a ResourceFile instance
    In versions less than KDE 3.1.0 only
    - - - -
    ArgumentTypeDefault
    a0KABC.AddressBook
    a1TQString
    a2KABC.Format0
    -

  • -
  • asyncLoad () -
    - -
    returns (bool)
    In versions KDE 3.3.0 and above only

  • -
  • asyncSave (ticket) -
    - -
    returns (bool)
    In versions KDE 3.3.0 and above only
    - -
    ArgumentTypeDefault
    ticketKABC.Ticket
    -

  • -
  • checkFile () -
    - -
    returns nothing
    In versions less than KDE 3.1.0 only

  • -
  • cleanUp () -
    - -
    returns nothing
    In versions less than KDE 3.3.0 only

  • -
  • cleanUp () -
    - -
    returns nothing
    In versions less than KDE 3.2.0 only

  • -
  • close () -
    - -
    returns nothing
    In versions less than KDE 3.3.0 only

  • -
  • close () -
    - -
    returns nothing
    In versions KDE 3.1.0 and above, but less than KDE 3.5.3

  • -
  • doClose () -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only

  • -
  • doOpen () -
    - -
    returns (bool)
    In versions KDE 3.3.0 and above only

  • -
  • fileChanged () -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only

  • -
  • fileName () -
    - -
    returns (TQString)
    In versions KDE 3.2.0 and above only

  • -
  • fileName () -
    - -
    returns (TQString)
    In versions less than KDE 3.2.0 only

  • -
  • format () -
    - -
    returns (TQString)
    In versions KDE 3.5.1 and above only

  • -
  • identifier () -
    - -
    returns (TQString)
    In versions less than KDE 3.5.1 only

  • -
  • identifier () -
    - -
    returns (TQString)
    In versions KDE 3.1.0 and above, but less than KDE 3.5.3

  • -
  • init (fileName, format) -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only
    - - -
    ArgumentTypeDefault
    fileNameTQString
    formatTQString
    -

  • -
  • load () -
    - -
    returns (bool)
    In versions KDE 3.3.0 and above only

  • -
  • load () -
    - -
    returns (bool)
    In versions less than KDE 3.3.0 only

  • -
  • load () -
    - -
    returns (bool)
    In versions less than KDE 3.2.0 only

  • -
  • load (a0) -
    - -
    returns (bool)
    In versions less than KDE 3.1.0 only
    - -
    ArgumentTypeDefault
    a0KABC.AddressBook
    -

  • -
  • lock (fileName) -
    Not Implemented
    -

  • -
  • lock (a0) -
    Not Implemented
    -

  • -
  • open () -
    - -
    returns (bool)
    In versions less than KDE 3.3.0 only

  • -
  • open () -
    - -
    returns (bool)
    In versions KDE 3.1.0 and above, but less than KDE 3.5.3

  • -
  • releaseSaveTicket (a0) -
    - -
    returns nothing
    In versions KDE 3.5.1 and above only
    - -
    ArgumentTypeDefault
    a0KABC.Ticket
    -

  • -
  • releaseSaveTicket (a0) -
    - -
    returns nothing
    In versions less than KDE 3.5.1 only
    - -
    ArgumentTypeDefault
    a0KABC.Ticket
    -

  • -
  • releaseSaveTicket (a0) -
    - -
    returns nothing
    In versions less than KDE 3.2.0 only
    - -
    ArgumentTypeDefault
    a0KABC.Ticket
    -

  • -
  • removeAddressee (addr) -
    - -
    returns nothing
    In versions KDE 3.5.2 and above only
    - -
    ArgumentTypeDefault
    addrKABC.Addressee
    -

  • -
  • removeAddressee (a0) -
    - -
    returns nothing
    In versions less than KDE 3.5.2 only
    - -
    ArgumentTypeDefault
    a0KABC.Addressee
    -

  • -
  • removeAddressee (a0) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above, but less than KDE 3.5.3
    - -
    ArgumentTypeDefault
    a0KABC.Addressee
    -

  • -
  • requestSaveTicket () -
    - -
    returns (KABC.Ticket)
    In versions KDE 3.5.1 and above only

  • -
  • requestSaveTicket () -
    - -
    returns (KABC.Ticket)
    In versions less than KDE 3.5.1 only

  • -
  • requestSaveTicket () -
    - -
    returns (KABC.Ticket)
    In versions less than KDE 3.2.0 only

  • -
  • save (ticket) -
    - -
    returns (bool)
    In versions KDE 3.3.0 and above only
    - -
    ArgumentTypeDefault
    ticketKABC.Ticket
    -

  • -
  • save (a0) -
    - -
    returns (bool)
    In versions less than KDE 3.3.0 only
    - -
    ArgumentTypeDefault
    a0KABC.Ticket
    -

  • -
  • save (a0) -
    - -
    returns (bool)
    In versions less than KDE 3.2.0 only
    - -
    ArgumentTypeDefault
    a0KABC.Ticket
    -

  • -
  • setFileName (a0) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    a0TQString
    -

  • -
  • setFileName (a0) -
    - -
    returns nothing
    In versions less than KDE 3.2.0 only
    - -
    ArgumentTypeDefault
    a0TQString
    -

  • -
  • setFormat (name) -
    - -
    returns nothing
    In versions KDE 3.5.1 and above only
    - -
    ArgumentTypeDefault
    nameTQString
    -

  • -
  • unlock (fileName) -
    Not Implemented
    -

  • -
  • unlock (a0) -
    Not Implemented
    -

  • -
  • writeConfig (cfg) -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only
    - -
    ArgumentTypeDefault
    cfgKConfig
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kabc/KABC.ResourceSelectDialog.html b/python/pykde/doc/classref/kabc/KABC.ResourceSelectDialog.html deleted file mode 100644 index 16ae0181..00000000 --- a/python/pykde/doc/classref/kabc/KABC.ResourceSelectDialog.html +++ /dev/null @@ -1,70 +0,0 @@ - - - - - class KABC.ResourceSelectDialog - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KABC.ResourceSelectDialog


-
- - - - - -
Table of contents
Modules
kabc Classes
All Classes
-
- - - - - - - - - - -
Modulekabc
ClassKABC.ResourceSelectDialog
Inherits
-

methods

    -
  • ResourceSelectDialog (ab, parent = 0, name = 0) -
    - -
    returns a ResourceSelectDialog instance
    In versions KDE 3.1.0 and above only
    - - - -
    ArgumentTypeDefault
    abKABC.AddressBook
    parentTQWidget0
    namechar0
    -

  • -
  • ResourceSelectDialog (a0) -
    - -
    returns a ResourceSelectDialog instance
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    a0KABC.ResourceSelectDialog
    -

  • -
  • getResource (ab, parent = 0) -
    - - -
    returns (KABC.Resource)
    In versions KDE 3.1.0 and above only
    static
    - - -
    ArgumentTypeDefault
    abKABC.AddressBook
    parentTQWidget0
    -

  • -
  • resource () -
    - -
    returns (KABC.Resource)
    In versions KDE 3.1.0 and above only

  • -
- - - diff --git a/python/pykde/doc/classref/kabc/KABC.Secrecy.html b/python/pykde/doc/classref/kabc/KABC.Secrecy.html deleted file mode 100644 index eb4e9250..00000000 --- a/python/pykde/doc/classref/kabc/KABC.Secrecy.html +++ /dev/null @@ -1,100 +0,0 @@ - - - - - class KABC.Secrecy - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KABC.Secrecy


-
- - - - - -
Table of contents
Modules
kabc Classes
All Classes
-
- - - - - - - - - - -
Modulekabc
ClassKABC.Secrecy
Inherits
-

enums

    -
  • Types = {Public, Private, Confidential, Invalid -}
  • Types = {Public, Private, Confidential -}
-

methods

    -
  • Secrecy (type = Private) -
    - -
    returns a Secrecy instance
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    typeintPrivate
    -

  • -
  • asString () -
    - -
    returns (TQString)
    In versions KDE 3.1.0 and above only

  • -
  • isValid () -
    - -
    returns (bool)
    In versions KDE 3.2.0 and above only

  • -
  • setType (type) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    typeint
    -

  • -
  • type () -
    - -
    returns (int)
    In versions KDE 3.1.0 and above only

  • -
  • typeLabel (type) -
    - - -
    returns (TQString)
    In versions KDE 3.1.0 and above only
    static
    - -
    ArgumentTypeDefault
    typeint
    -

  • -
  • typeList () -
    - - -
    returns (TypeList)
    In versions KDE 3.1.0 and above only
    static

  • -
-

operators

    -
  • operator != (a0) -
    - -
    returns (bool)
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    a0KABC.Secrecy
    -

  • -
  • operator == (a0) -
    - -
    returns (bool)
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    a0KABC.Secrecy
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kabc/KABC.SortMode.html b/python/pykde/doc/classref/kabc/KABC.SortMode.html deleted file mode 100644 index b82da335..00000000 --- a/python/pykde/doc/classref/kabc/KABC.SortMode.html +++ /dev/null @@ -1,50 +0,0 @@ - - - - - class KABC.SortMode - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KABC.SortMode


-
- - - - - -
Table of contents
Modules
kabc Classes
All Classes
-
- - - - - - - - - - -
Modulekabc
ClassKABC.SortMode (abstract)
Inherits
-

methods

    -
  • lesser (first, second) = 0 -
    - - -
    returns (bool)
    In versions KDE 3.4.0 and above only
    pure virtual
    - - -
    ArgumentTypeDefault
    firstKABC.Addressee
    secondKABC.Addressee
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kabc/KABC.SortingTraits.FamilyName.html b/python/pykde/doc/classref/kabc/KABC.SortingTraits.FamilyName.html deleted file mode 100644 index 5b1b56ea..00000000 --- a/python/pykde/doc/classref/kabc/KABC.SortingTraits.FamilyName.html +++ /dev/null @@ -1,59 +0,0 @@ - - - - - class KABC.SortingTraits.FamilyName - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KABC.SortingTraits.FamilyName


-
- - - - - -
Table of contents
Modules
kabc Classes
All Classes
-
- - - - - - - - - - -
Modulekabc
ClassKABC.SortingTraits.FamilyName
Inherits
-

methods

    -
  • eq (a0, a1) -
    - - -
    returns (bool)
    In versions KDE 3.1.0 and above only
    static
    - - -
    ArgumentTypeDefault
    a0KABC.Addressee
    a1KABC.Addressee
    -

  • -
  • lt (a0, a1) -
    - - -
    returns (bool)
    In versions KDE 3.1.0 and above only
    static
    - - -
    ArgumentTypeDefault
    a0KABC.Addressee
    a1KABC.Addressee
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kabc/KABC.SortingTraits.FormattedName.html b/python/pykde/doc/classref/kabc/KABC.SortingTraits.FormattedName.html deleted file mode 100644 index 9c6ff2e8..00000000 --- a/python/pykde/doc/classref/kabc/KABC.SortingTraits.FormattedName.html +++ /dev/null @@ -1,59 +0,0 @@ - - - - - class KABC.SortingTraits.FormattedName - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KABC.SortingTraits.FormattedName


-
- - - - - -
Table of contents
Modules
kabc Classes
All Classes
-
- - - - - - - - - - -
Modulekabc
ClassKABC.SortingTraits.FormattedName
Inherits
-

methods

    -
  • eq (a0, a1) -
    - - -
    returns (bool)
    In versions KDE 3.1.0 and above only
    static
    - - -
    ArgumentTypeDefault
    a0KABC.Addressee
    a1KABC.Addressee
    -

  • -
  • lt (a0, a1) -
    - - -
    returns (bool)
    In versions KDE 3.1.0 and above only
    static
    - - -
    ArgumentTypeDefault
    a0KABC.Addressee
    a1KABC.Addressee
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kabc/KABC.SortingTraits.GivenName.html b/python/pykde/doc/classref/kabc/KABC.SortingTraits.GivenName.html deleted file mode 100644 index 6c75dd1b..00000000 --- a/python/pykde/doc/classref/kabc/KABC.SortingTraits.GivenName.html +++ /dev/null @@ -1,59 +0,0 @@ - - - - - class KABC.SortingTraits.GivenName - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KABC.SortingTraits.GivenName


-
- - - - - -
Table of contents
Modules
kabc Classes
All Classes
-
- - - - - - - - - - -
Modulekabc
ClassKABC.SortingTraits.GivenName
Inherits
-

methods

    -
  • eq (a0, a1) -
    - - -
    returns (bool)
    In versions KDE 3.1.0 and above only
    static
    - - -
    ArgumentTypeDefault
    a0KABC.Addressee
    a1KABC.Addressee
    -

  • -
  • lt (a0, a1) -
    - - -
    returns (bool)
    In versions KDE 3.1.0 and above only
    static
    - - -
    ArgumentTypeDefault
    a0KABC.Addressee
    a1KABC.Addressee
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kabc/KABC.SortingTraits.Name.html b/python/pykde/doc/classref/kabc/KABC.SortingTraits.Name.html deleted file mode 100644 index 429a87dc..00000000 --- a/python/pykde/doc/classref/kabc/KABC.SortingTraits.Name.html +++ /dev/null @@ -1,59 +0,0 @@ - - - - - class KABC.SortingTraits.Name - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KABC.SortingTraits.Name


-
- - - - - -
Table of contents
Modules
kabc Classes
All Classes
-
- - - - - - - - - - -
Modulekabc
ClassKABC.SortingTraits.Name
Inherits
-

methods

    -
  • eq (a0, a1) -
    - - -
    returns (bool)
    In versions KDE 3.1.0 and above only
    static
    - - -
    ArgumentTypeDefault
    a0KABC.Addressee
    a1KABC.Addressee
    -

  • -
  • lt (a0, a1) -
    - - -
    returns (bool)
    In versions KDE 3.1.0 and above only
    static
    - - -
    ArgumentTypeDefault
    a0KABC.Addressee
    a1KABC.Addressee
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kabc/KABC.SortingTraits.Uid.html b/python/pykde/doc/classref/kabc/KABC.SortingTraits.Uid.html deleted file mode 100644 index d28040c7..00000000 --- a/python/pykde/doc/classref/kabc/KABC.SortingTraits.Uid.html +++ /dev/null @@ -1,59 +0,0 @@ - - - - - class KABC.SortingTraits.Uid - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KABC.SortingTraits.Uid


-
- - - - - -
Table of contents
Modules
kabc Classes
All Classes
-
- - - - - - - - - - -
Modulekabc
ClassKABC.SortingTraits.Uid
Inherits
-

methods

    -
  • eq (a0, a1) -
    - - -
    returns (bool)
    In versions KDE 3.1.0 and above only
    static
    - - -
    ArgumentTypeDefault
    a0KABC.Addressee
    a1KABC.Addressee
    -

  • -
  • lt (a0, a1) -
    - - -
    returns (bool)
    In versions KDE 3.1.0 and above only
    static
    - - -
    ArgumentTypeDefault
    a0KABC.Addressee
    a1KABC.Addressee
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kabc/KABC.SortingTraits.html b/python/pykde/doc/classref/kabc/KABC.SortingTraits.html deleted file mode 100644 index b13211be..00000000 --- a/python/pykde/doc/classref/kabc/KABC.SortingTraits.html +++ /dev/null @@ -1,41 +0,0 @@ - - - - - class KABC.SortingTraits - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KABC.SortingTraits


-
- - - - - -
Table of contents
Modules
kabc Classes
All Classes
-
- - - - - - - - - - -
Modulekabc
ClassKABC.SortingTraits
Inherits
-

classes

- - - diff --git a/python/pykde/doc/classref/kabc/KABC.Sound.html b/python/pykde/doc/classref/kabc/KABC.Sound.html deleted file mode 100644 index 1b464995..00000000 --- a/python/pykde/doc/classref/kabc/KABC.Sound.html +++ /dev/null @@ -1,109 +0,0 @@ - - - - - class KABC.Sound - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KABC.Sound


-
- - - - - -
Table of contents
Modules
kabc Classes
All Classes
-
- - - - - - - - - - -
Modulekabc
ClassKABC.Sound
Inherits
-

methods

    -
  • Sound () -
    - -
    returns a Sound instance
    In versions KDE 3.1.0 and above only

  • -
  • Sound (url) -
    - -
    returns a Sound instance
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    urlTQString
    -

  • -
  • Sound (data) -
    - -
    returns a Sound instance
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    dataTQByteArray
    -

  • -
  • asString () -
    - -
    returns (TQString)
    In versions KDE 3.1.0 and above only

  • -
  • data () -
    - -
    returns (TQByteArray)
    In versions KDE 3.1.0 and above only

  • -
  • isEmpty () -
    - -
    returns (bool)
    In versions KDE 3.4.0 and above only

  • -
  • isIntern () -
    - -
    returns (bool)
    In versions KDE 3.1.0 and above only

  • -
  • setData (data) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    dataTQByteArray
    -

  • -
  • setUrl (url) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    urlTQString
    -

  • -
  • url () -
    - -
    returns (TQString)
    In versions KDE 3.1.0 and above only

  • -
-

operators

    -
  • operator != (a0) -
    - -
    returns (bool)
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    a0KABC.Sound
    -

  • -
  • operator == (a0) -
    - -
    returns (bool)
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    a0KABC.Sound
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kabc/KABC.StdAddressBook.html b/python/pykde/doc/classref/kabc/KABC.StdAddressBook.html deleted file mode 100644 index 93099d9d..00000000 --- a/python/pykde/doc/classref/kabc/KABC.StdAddressBook.html +++ /dev/null @@ -1,143 +0,0 @@ - - - - - class KABC.StdAddressBook - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KABC.StdAddressBook


-
- - - - - -
Table of contents
Modules
kabc Classes
All Classes
-
- - - - - - - - - - -
Modulekabc
ClassKABC.StdAddressBook
InheritsKABC.AddressBook
-

methods

    -
  • StdAddressBook () -
    -
    returns a StdAddressBook instance

  • -
  • StdAddressBook (asynchronous) -
    - -
    returns a StdAddressBook instance
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    asynchronousbool
    -

  • -
  • automaticSave () -
    - - -
    returns (bool)
    In versions KDE 3.1.0 and above only
    static

  • -
  • close () -
    - - -
    returns nothing
    In versions KDE 3.1.0 and above only
    static

  • -
  • directoryName () -
    - - -
    returns (TQString)
    In versions KDE 3.1.0 and above only
    static

  • -
  • fileName () -
    - -
    returns (TQString)
    static

  • -
  • handleCrash () -
    - - -
    returns nothing
    In versions KDE 3.1.1 and above only
    static

  • -
  • identifier () -
    - -
    returns (TQString)
    In versions less than KDE 3.1.0 only

  • -
  • init (asynchronous) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    asynchronousbool
    -

  • -
  • save () -
    - -
    returns (bool)
    static

  • -
  • saveAll () -
    - -
    returns (bool)
    In versions KDE 3.2.2 and above only

  • -
  • self () -
    - - -
    returns (KABC.StdAddressBook)
    In versions KDE 3.2.0 and above only
    static

  • -
  • self (asynchronous) -
    - - -
    returns (KABC.StdAddressBook)
    In versions KDE 3.2.0 and above only
    static
    - -
    ArgumentTypeDefault
    asynchronousbool
    -

  • -
  • self () -
    - - -
    returns (KABC.AddressBook)
    In versions less than KDE 3.2.0 only
    static

  • -
  • self (a0) -
    - - -
    returns (KABC.AddressBook)
    In versions KDE 3.1.0 and above, but less than KDE 3.2.2
    static
    - -
    ArgumentTypeDefault
    a0bool
    -

  • -
  • setAutomaticSave (state) -
    - - -
    returns nothing
    In versions KDE 3.1.0 and above only
    static
    - -
    ArgumentTypeDefault
    statebool
    -

  • -
  • setWhoAmI (addr) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    addrKABC.Addressee
    -

  • -
  • whoAmI () -
    - -
    returns (KABC.Addressee)
    In versions KDE 3.2.0 and above only

  • -
  • ~StdAddressBook () -
    - -
    returns nothing
    In versions less than KDE 3.2.0 only

  • -
- - - diff --git a/python/pykde/doc/classref/kabc/KABC.Ticket.html b/python/pykde/doc/classref/kabc/KABC.Ticket.html deleted file mode 100644 index f5f3aa76..00000000 --- a/python/pykde/doc/classref/kabc/KABC.Ticket.html +++ /dev/null @@ -1,50 +0,0 @@ - - - - - class KABC.Ticket - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KABC.Ticket


-
- - - - - -
Table of contents
Modules
kabc Classes
All Classes
-
- - - - - - - - - - -
Modulekabc
ClassKABC.Ticket
Inherits
-

methods

    -
  • Ticket (resource) -
    -
    returns a Ticket instance
    - -
    ArgumentTypeDefault
    resourceKABC.Resource
    -

  • -
  • resource () -
    -
    returns (KABC.Resource)

  • -
- - - diff --git a/python/pykde/doc/classref/kabc/KABC.TimeZone.html b/python/pykde/doc/classref/kabc/KABC.TimeZone.html deleted file mode 100644 index dd674ece..00000000 --- a/python/pykde/doc/classref/kabc/KABC.TimeZone.html +++ /dev/null @@ -1,80 +0,0 @@ - - - - - class KABC.TimeZone - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KABC.TimeZone


-
- - - - - -
Table of contents
Modules
kabc Classes
All Classes
-
- - - - - - - - - - -
Modulekabc
ClassKABC.TimeZone
Inherits
-

methods

    -
  • TimeZone () -
    -
    returns a TimeZone instance

  • -
  • TimeZone (offset) -
    -
    returns a TimeZone instance
    - -
    ArgumentTypeDefault
    offsetint
    -

  • -
  • asString () -
    -
    returns (TQString)

  • -
  • isValid () -
    -
    returns (bool)

  • -
  • offset () -
    -
    returns (int)

  • -
  • setOffset (offset) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    offsetint
    -

  • -
-

operators

    -
  • operator != (a0) -
    - -
    returns (bool)
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    a0KABC.TimeZone
    -

  • -
  • operator == (a0) -
    -
    returns (bool)
    - -
    ArgumentTypeDefault
    a0KABC.TimeZone
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kabc/KABC.VCardConverter.html b/python/pykde/doc/classref/kabc/KABC.VCardConverter.html deleted file mode 100644 index 5428483e..00000000 --- a/python/pykde/doc/classref/kabc/KABC.VCardConverter.html +++ /dev/null @@ -1,96 +0,0 @@ - - - - - class KABC.VCardConverter - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KABC.VCardConverter


-
- - - - - -
Table of contents
Modules
kabc Classes
All Classes
-
- - - - - - - - - - -
Modulekabc
ClassKABC.VCardConverter
Inherits
-

enums

    -
  • Version = {v2_1, v3_0 -}
-

methods

    -
  • VCardConverter () -
    - -
    returns a VCardConverter instance
    In versions KDE 3.1.1 and above only

  • -
  • addresseeToVCard (a0, a1, version = v3_0) -
    - -
    returns (bool)
    In versions KDE 3.1.1 and above only
    - - - -
    ArgumentTypeDefault
    a0KABC.Addressee
    a1TQString
    versionKABC.VCardConverter.Versionv3_0
    -

  • -
  • createVCard (addr, version = v3_0) -
    - -
    returns (TQString)
    In versions KDE 3.2.0 and above only
    - - -
    ArgumentTypeDefault
    addrKABC.Addressee
    versionKABC.VCardConverter.Versionv3_0
    -

  • -
  • createVCards (list, version = v3_0) -
    - -
    returns (TQString)
    In versions KDE 3.2.0 and above only
    - - -
    ArgumentTypeDefault
    listKABC.Addressee.List
    versionKABC.VCardConverter.Versionv3_0
    -

  • -
  • parseVCard (vcard) -
    - -
    returns (KABC.Addressee)
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    vcardTQString
    -

  • -
  • parseVCards (vcard) -
    - -
    returns (KABC.Addressee.List)
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    vcardTQString
    -

  • -
  • vCardToAddressee (a0, a1, version = v3_0) -
    - -
    returns (bool)
    In versions KDE 3.1.1 and above only
    - - - -
    ArgumentTypeDefault
    a0TQString
    a1KABC.Addressee
    versionKABC.VCardConverter.Versionv3_0
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kabc/KABC.VCardFormat.html b/python/pykde/doc/classref/kabc/KABC.VCardFormat.html deleted file mode 100644 index aa2003ea..00000000 --- a/python/pykde/doc/classref/kabc/KABC.VCardFormat.html +++ /dev/null @@ -1,58 +0,0 @@ - - - - - class KABC.VCardFormat - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KABC.VCardFormat


-
- - - - - -
Table of contents
Modules
kabc Classes
All Classes
-
- - - - - - - - - - -
Modulekabc
ClassKABC.VCardFormat
InheritsKABC.Format
-

methods

    -
  • VCardFormat () -
    -
    returns a VCardFormat instance

  • -
  • load (a0, fileName) -
    -
    returns (bool)
    - - -
    ArgumentTypeDefault
    a0KABC.AddressBook
    fileNameTQString
    -

  • -
  • save (a0, fileName) -
    -
    returns (bool)
    - - -
    ArgumentTypeDefault
    a0KABC.AddressBook
    fileNameTQString
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kabc/KABC.VCardFormatPlugin.html b/python/pykde/doc/classref/kabc/KABC.VCardFormatPlugin.html deleted file mode 100644 index 04bf42cb..00000000 --- a/python/pykde/doc/classref/kabc/KABC.VCardFormatPlugin.html +++ /dev/null @@ -1,86 +0,0 @@ - - - - - class KABC.VCardFormatPlugin - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KABC.VCardFormatPlugin


-
- - - - - -
Table of contents
Modules
kabc Classes
All Classes
-
- - - - - - - - - - -
Modulekabc
ClassKABC.VCardFormatPlugin
InheritsKABC.FormatPlugin
-

methods

    -
  • VCardFormatPlugin () -
    - -
    returns a VCardFormatPlugin instance
    In versions KDE 3.1.1 and above only

  • -
  • checkFormat (file) -
    - -
    returns (bool)
    In versions KDE 3.1.1 and above only
    - -
    ArgumentTypeDefault
    fileTQFile
    -

  • -
  • load (a0, file) -
    - -
    returns (bool)
    In versions KDE 3.1.1 and above only
    - - -
    ArgumentTypeDefault
    a0KABC.Addressee
    fileTQFile
    -

  • -
  • loadAll (a0, a1, file) -
    - -
    returns (bool)
    In versions KDE 3.1.1 and above only
    - - - -
    ArgumentTypeDefault
    a0KABC.AddressBook
    a1KABC.Resource
    fileTQFile
    -

  • -
  • save (a0, file) -
    - -
    returns nothing
    In versions KDE 3.1.1 and above only
    - - -
    ArgumentTypeDefault
    a0KABC.Addressee
    fileTQFile
    -

  • -
  • saveAll (a0, a1, file) -
    - -
    returns nothing
    In versions KDE 3.1.1 and above only
    - - - -
    ArgumentTypeDefault
    a0KABC.AddressBook
    a1KABC.Resource
    fileTQFile
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kabc/KABC.html b/python/pykde/doc/classref/kabc/KABC.html deleted file mode 100644 index a1ef1949..00000000 --- a/python/pykde/doc/classref/kabc/KABC.html +++ /dev/null @@ -1,67 +0,0 @@ - - - - - class KABC - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KABC


-
- - - - - -
Table of contents
Modules
kabc Classes
All Classes
-
- - - - - - - - - - -
Modulekabc
ClassKABC
Inherits
-

classes

-

enums

    -
  • (anonymous) = {Uid, Name, FormattedName, FamilyName, GivenName -}
-

methods

    -
  • VCardStringToDate (dateString) -
    - -
    returns (TQDateTime)
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    dateStringTQString
    -

  • -
  • dateToVCardString (date) -
    - -
    returns (TQString)
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    dateTQDate
    -

  • -
  • dateToVCardString (date) -
    - -
    returns (TQString)
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    dateTQDate
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kabc/index.html b/python/pykde/doc/classref/kabc/index.html deleted file mode 100644 index 4091822a..00000000 --- a/python/pykde/doc/classref/kabc/index.html +++ /dev/null @@ -1,95 +0,0 @@ - - - - - module kabc - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

kabc Class Index


-
- - - - -
Table of contents
Modules
All Classes
-
- kabc Global and Namespace members

- -
- - - - - - - - - - - - - - - - - - - - - -
KABC - KABC.Format
KABC
KABC.Address
KABC.AddressBook
KABC.AddressLineEdit
KABC.AddresseeDialog
KABC.AddresseeItem
KABC.Agent
KABC.ConsoleErrorHandler
KABC.DistributionList
KABC.DistributionList.Entry
KABC.DistributionListDialog
KABC.DistributionListEditorWidget
KABC.DistributionListManager
KABC.DistributionListWatcher
KABC.EmailSelectDialog
KABC.EmailSelector
KABC.ErrorHandler
KABC.Field
KABC.FieldSortMode
KABC.Format
- - - - - - - - - - - - - - - - - - - - - -
KABC.FormatFactory - KABC.PhoneNumber
KABC.FormatFactory
KABC.FormatInfo
KABC.FormatPlugin
KABC.GUIErrorHandler
KABC.Geo
KABC.GuiErrorHandler
KABC.Key
KABC.LDAPUrl
KABC.LDAPUrl.Extension
KABC.LDIF
KABC.LDIFConverter
KABC.LdapClient
KABC.LdapConfigWidget
KABC.LdapObject
KABC.LdapResult
KABC.LdapSearch
KABC.Lock
KABC.LockNull
KABC.NameSortMode
KABC.PhoneNumber
- - - - - - - - - - - - - - - - - - - - - -
KABC.Picture - KABC.VCardFormatPlugin
KABC.Picture
KABC.Plugin
KABC.Resource
KABC.ResourceFile
KABC.ResourceSelectDialog
KABC.Secrecy
KABC.SortMode
KABC.SortingTraits
KABC.SortingTraits.FamilyName
KABC.SortingTraits.FormattedName
KABC.SortingTraits.GivenName
KABC.SortingTraits.Name
KABC.SortingTraits.Uid
KABC.Sound
KABC.StdAddressBook
KABC.Ticket
KABC.TimeZone
KABC.VCardConverter
KABC.VCardFormat
KABC.VCardFormatPlugin
- - diff --git a/python/pykde/doc/classref/kabc/kabc-globals.html b/python/pykde/doc/classref/kabc/kabc-globals.html deleted file mode 100644 index 266eb8e7..00000000 --- a/python/pykde/doc/classref/kabc/kabc-globals.html +++ /dev/null @@ -1,28 +0,0 @@ - - - - - kabc globals - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

kabc Globals


-
- - - - - -
Table of contents
Modules
kabc Classes
All Classes
-
- - - diff --git a/python/pykde/doc/classref/kdecore/KAboutData.html b/python/pykde/doc/classref/kdecore/KAboutData.html deleted file mode 100644 index 18420d5e..00000000 --- a/python/pykde/doc/classref/kdecore/KAboutData.html +++ /dev/null @@ -1,260 +0,0 @@ - - - - - class KAboutData - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KAboutData


-
- - - - - -
Table of contents
Modules
kdecore Classes
All Classes
-
- - - - - - - - - - -
Modulekdecore
ClassKAboutData
Inherits
-

enums

    -
  • LicenseKey = {License_Custom, License_File, License_Unknown, License_GPL, License_GPL_V2, License_LGPL, License_LGPL_V2, License_BSD, License_Artistic, License_QPL, License_QPL_V1_0 -}
-

methods

    -
  • KAboutData (appName, programName, version, shortDescription = 0, licenseType = License_Unknown, copyrightStatement = 0, text = 0, homePageAddress = 0, bugsEmailAddress = "submit@bugs.kde.org") -
    -
    returns a KAboutData instance
    - - - - - - - - - -
    ArgumentTypeDefault
    appNamechar
    programNamechar
    versionchar
    shortDescriptionchar0
    licenseTypeintLicense_Unknown
    copyrightStatementchar0
    textchar0
    homePageAddresschar0
    bugsEmailAddresschar"submit@bugs.kde.org"
    -

  • -
  • aboutTranslationTeam () -
    - -
    returns (TQString)
    static

  • -
  • addAuthor (name, task = 0, emailAddress = 0, webAddress = 0) -
    -
    returns nothing
    - - - - -
    ArgumentTypeDefault
    namechar
    taskchar0
    emailAddresschar0
    webAddresschar0
    -

  • -
  • addCredit (name, task = 0, emailAddress = 0, webAddress = 0) -
    -
    returns nothing
    - - - - -
    ArgumentTypeDefault
    namechar
    taskchar0
    emailAddresschar0
    webAddresschar0
    -

  • -
  • appName () -
    -
    returns (char)

  • -
  • authors () -
    -
    returns (TQValueList)

  • -
  • bugAddress () -
    -
    returns (TQString)

  • -
  • copyrightStatement () -
    -
    returns (TQString)

  • -
  • credits () -
    -
    returns (TQValueList)

  • -
  • customAuthorPlainText () -
    - -
    returns (TQString)
    In versions KDE 3.5.0 and above only

  • -
  • customAuthorRichText () -
    - -
    returns (TQString)
    In versions KDE 3.5.0 and above only

  • -
  • customAuthorTextEnabled () -
    - -
    returns (bool)
    In versions KDE 3.5.0 and above only

  • -
  • homepage () -
    -
    returns (TQString)

  • -
  • internalBugAddress () -
    - -
    returns (char)
    In versions KDE 3.5.1 and above only

  • -
  • internalProgramName () -
    - -
    returns (char)
    In versions KDE 3.5.1 and above only

  • -
  • internalVersion () -
    - -
    returns (char)
    In versions KDE 3.5.1 and above only

  • -
  • license () -
    -
    returns (TQString)

  • -
  • otherText () -
    -
    returns (TQString)

  • -
  • productName () -
    - -
    returns (char)
    In versions KDE 3.2.0 and above only

  • -
  • programLogo () -
    - -
    returns (TQImage)
    In versions KDE 3.4.0 and above only

  • -
  • programName () -
    -
    returns (TQString)

  • -
  • setAppName (appName) -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only
    - -
    ArgumentTypeDefault
    appNamechar
    -

  • -
  • setBugAddress (bugAddress) -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only
    - -
    ArgumentTypeDefault
    bugAddresschar
    -

  • -
  • setCopyrightStatement (copyrightStatement) -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only
    - -
    ArgumentTypeDefault
    copyrightStatementchar
    -

  • -
  • setCustomAuthorText (plainText, richText) -
    - -
    returns nothing
    In versions KDE 3.5.0 and above only
    - - -
    ArgumentTypeDefault
    plainTextTQString
    richTextTQString
    -

  • -
  • setHomepage (homepage) -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only
    - -
    ArgumentTypeDefault
    homepagechar
    -

  • -
  • setLicense (licenseKey) -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only
    - -
    ArgumentTypeDefault
    licenseKeyKAboutData.LicenseKey
    -

  • -
  • setLicenseText (license) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    licensechar
    -

  • -
  • setLicenseTextFile (file) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    fileTQString
    -

  • -
  • setOtherText (otherText) -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only
    - -
    ArgumentTypeDefault
    otherTextchar
    -

  • -
  • setProductName (name) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    namechar
    -

  • -
  • setProgramLogo (image) -
    - -
    returns nothing
    In versions KDE 3.4.0 and above only
    - -
    ArgumentTypeDefault
    imageTQImage
    -

  • -
  • setProgramName (programName) -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only
    - -
    ArgumentTypeDefault
    programNamechar
    -

  • -
  • setShortDescription (shortDescription) -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only
    - -
    ArgumentTypeDefault
    shortDescriptionchar
    -

  • -
  • setTranslator (name, emailAddress) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    namechar
    emailAddresschar
    -

  • -
  • setVersion (version) -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only
    - -
    ArgumentTypeDefault
    versionchar
    -

  • -
  • shortDescription () -
    -
    returns (TQString)

  • -
  • translateInternalProgramName () -
    - -
    returns nothing
    In versions KDE 3.5.1 and above only

  • -
  • translators () -
    -
    returns (TQValueList)

  • -
  • unsetCustomAuthorText () -
    - -
    returns nothing
    In versions KDE 3.5.0 and above only

  • -
  • version () -
    -
    returns (TQString)

  • -
- - - diff --git a/python/pykde/doc/classref/kdecore/KAboutPerson.html b/python/pykde/doc/classref/kdecore/KAboutPerson.html deleted file mode 100644 index 8a871fd8..00000000 --- a/python/pykde/doc/classref/kdecore/KAboutPerson.html +++ /dev/null @@ -1,65 +0,0 @@ - - - - - class KAboutPerson - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KAboutPerson


-
- - - - - -
Table of contents
Modules
kdecore Classes
All Classes
-
- - - - - - - - - - -
Modulekdecore
ClassKAboutPerson
Inherits
-

methods

    -
  • KAboutPerson (name, task, emailAddress, webAddress) -
    -
    returns a KAboutPerson instance
    - - - - -
    ArgumentTypeDefault
    namechar
    taskchar
    emailAddresschar
    webAddresschar
    -

  • -
  • KAboutPerson () -
    -
    returns a KAboutPerson instance

  • -
  • emailAddress () -
    -
    returns (TQString)

  • -
  • name () -
    -
    returns (TQString)

  • -
  • task () -
    -
    returns (TQString)

  • -
  • webAddress () -
    -
    returns (TQString)

  • -
- - - diff --git a/python/pykde/doc/classref/kdecore/KAboutTranslator.html b/python/pykde/doc/classref/kdecore/KAboutTranslator.html deleted file mode 100644 index d2ac1f76..00000000 --- a/python/pykde/doc/classref/kdecore/KAboutTranslator.html +++ /dev/null @@ -1,54 +0,0 @@ - - - - - class KAboutTranslator - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KAboutTranslator


-
- - - - - -
Table of contents
Modules
kdecore Classes
All Classes
-
- - - - - - - - - - -
Modulekdecore
ClassKAboutTranslator
Inherits
-

methods

    -
  • KAboutTranslator (name = TQString .null, emailAddress = TQString .null) -
    -
    returns a KAboutTranslator instance
    - - -
    ArgumentTypeDefault
    nameTQStringTQString .null
    emailAddressTQStringTQString .null
    -

  • -
  • emailAddress () -
    -
    returns (TQString)

  • -
  • name () -
    -
    returns (TQString)

  • -
- - - diff --git a/python/pykde/doc/classref/kdecore/KAccel.html b/python/pykde/doc/classref/kdecore/KAccel.html deleted file mode 100644 index ee1f5791..00000000 --- a/python/pykde/doc/classref/kdecore/KAccel.html +++ /dev/null @@ -1,366 +0,0 @@ - - - - - class KAccel - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KAccel


-
- - - - - -
Table of contents
Modules
kdecore Classes
All Classes
-
- - - - - - - - - - -
Modulekdecore
ClassKAccel
InheritsTQAccel
-

methods

    -
  • KAccel (pParent, psName = 0) -
    -
    returns a KAccel instance
    - - -
    ArgumentTypeDefault
    pParentTQWidget
    psNamechar0
    -

  • -
  • KAccel (watch, parent, psName = 0) -
    -
    returns a KAccel instance
    - - - -
    ArgumentTypeDefault
    watchTQWidget
    parentTQObject
    psNamechar0
    -

  • -
  • actions () -
    -
    returns (KAccelActions)

  • -
  • changeMenuAccel (menu, id, action) -
    -
    returns nothing
    - - - -
    ArgumentTypeDefault
    menuTQPopupMenu
    idint
    actionTQString
    -

  • -
  • changeMenuAccel (menu, id, accel) -
    -
    returns nothing
    - - - -
    ArgumentTypeDefault
    menuTQPopupMenu
    idint
    accelKStdAccel.StdAccel
    -

  • -
  • configGroup () -
    -
    returns (TQString)

  • -
  • connectItem (sAction, slot, bActivate = 1) -
    - -
    returns (bool)
    In versions KDE 3.1.4 and above only
    - - - -
    ArgumentTypeDefault
    sActionTQString
    slotSLOT (Python callable)
    bActivatebool1
    -

  • -
  • connectItem (accel, slot, ) -
    - -
    returns (bool)
    In versions KDE 3.1.4 and above only
    - - -
    ArgumentTypeDefault
    accelKStdAccel.StdAccel
    slotSLOT (Python callable)
    -

  • -
  • connectItem (a0, a1, a2, a3 = 1) -
    - -
    returns (bool)
    In versions less than KDE 3.1.4 only
    - - - - -
    ArgumentTypeDefault
    a0TQString
    a1TQObject
    a2char
    a3bool1
    -

  • -
  • connectItem (a0, a1, a2) -
    - -
    returns (bool)
    In versions less than KDE 3.1.4 only
    - - - -
    ArgumentTypeDefault
    a0KStdAccel.StdAccel
    a1TQObject
    a2char
    -

  • -
  • currentKey (action) -
    -
    returns (int)
    - -
    ArgumentTypeDefault
    actionTQString
    -

  • -
  • emitKeycodeChanged () -
    -
    returns nothing

  • -
  • findKey (key) -
    -
    returns (TQString)
    - -
    ArgumentTypeDefault
    keyint
    -

  • -
  • getAutoUpdate () -
    Not Implemented
    -

  • -
  • insert (sAction, sLabel, sWhatsThis, cutDef, slot, bConfigurable = 1, bEnabled = 1) -
    - -
    returns (KAccelAction)
    In versions KDE 3.1.4 and above only
    - - - - - - - -
    ArgumentTypeDefault
    sActionTQString
    sLabelTQString
    sWhatsThisTQString
    cutDefKShortcut
    slotSLOT (Python callable)
    bConfigurablebool1
    bEnabledbool1
    -

  • -
  • insert (sAction, sLabel, sWhatsThis, cutDef3, cutDef4, slot, bConfigurable = 1, bEnabled = 1) -
    - -
    returns (KAccelAction)
    In versions KDE 3.1.4 and above only
    - - - - - - - - -
    ArgumentTypeDefault
    sActionTQString
    sLabelTQString
    sWhatsThisTQString
    cutDef3KShortcut
    cutDef4KShortcut
    slotSLOT (Python callable)
    bConfigurablebool1
    bEnabledbool1
    -

  • -
  • insert (psAction, cutDef, slot, bConfigurable = 1, bEnabled = 1) -
    - -
    returns (KAccelAction)
    In versions KDE 3.1.4 and above only
    - - - - - -
    ArgumentTypeDefault
    psActionchar
    cutDefKShortcut
    slotSLOT (Python callable)
    bConfigurablebool1
    bEnabledbool1
    -

  • -
  • insert (id, slot, bConfigurable = 1, bEnabled = 1) -
    - -
    returns (KAccelAction)
    In versions KDE 3.1.4 and above only
    - - - - -
    ArgumentTypeDefault
    idKStdAccel.StdAccel
    slotSLOT (Python callable)
    bConfigurablebool1
    bEnabledbool1
    -

  • -
  • insert (a0, a1) -
    Not Implemented
    -

  • -
  • insert (a0, a1, a2, a3, a4, a5, a6 = 1, a7 = 1) -
    - -
    returns (KAccelAction)
    In versions less than KDE 3.1.4 only
    - - - - - - - - -
    ArgumentTypeDefault
    a0TQString
    a1TQString
    a2TQString
    a3KShortcut
    a4TQObject
    a5char
    a6bool1
    a7bool1
    -

  • -
  • insert (a0, a1, a2, a3, a4, a5, a6, a7 = 1, a8 = 1) -
    - -
    returns (KAccelAction)
    In versions less than KDE 3.1.4 only
    - - - - - - - - - -
    ArgumentTypeDefault
    a0TQString
    a1TQString
    a2TQString
    a3KShortcut
    a4KShortcut
    a5TQObject
    a6char
    a7bool1
    a8bool1
    -

  • -
  • insert (a0, a1, a2, a3, a4 = 1, a5 = 1) -
    - -
    returns (KAccelAction)
    In versions less than KDE 3.1.4 only
    - - - - - - -
    ArgumentTypeDefault
    a0char
    a1KShortcut
    a2TQObject
    a3char
    a4bool1
    a5bool1
    -

  • -
  • insert (a0, a1, a2, a3 = 1, a4 = 1) -
    - -
    returns (KAccelAction)
    In versions less than KDE 3.1.4 only
    - - - - - -
    ArgumentTypeDefault
    a0KStdAccel.StdAccel
    a1TQObject
    a2char
    a3bool1
    a4bool1
    -

  • -
  • insertItem (sLabel, sAction, psKey, nIDMenu = 0, pMenu = 0, bConfigurable = 1) -
    -
    returns (bool)
    - - - - - - -
    ArgumentTypeDefault
    sLabelTQString
    sActionTQString
    psKeychar
    nIDMenuint0
    pMenuTQPopupMenu0
    bConfigurablebool1
    -

  • -
  • insertItem (sLabel, sAction, key, nIDMenu, pMenu, bConfigurable = 1) -
    -
    returns (bool)
    - - - - - - -
    ArgumentTypeDefault
    sLabelTQString
    sActionTQString
    keyint
    nIDMenuint
    pMenuTQPopupMenu
    bConfigurablebool1
    -

  • -
  • insertStdItem (id, descr = TQString .null) -
    -
    returns (bool)
    - - -
    ArgumentTypeDefault
    idKStdAccel.StdAccel
    descrTQStringTQString .null
    -

  • -
  • isEnabled () -
    -
    returns (bool)

  • -
  • keycodeChanged () -
    -
    returns nothing

  • -
  • readSettings (pConfig = 0) -
    -
    returns (bool)
    - -
    ArgumentTypeDefault
    pConfigKConfigBase0
    -

  • -
  • remove (sAction) -
    -
    returns (bool)
    - -
    ArgumentTypeDefault
    sActionTQString
    -

  • -
  • removeItem (sAction) -
    -
    returns (bool)
    - -
    ArgumentTypeDefault
    sActionTQString
    -

  • -
  • setAutoUpdate (bAuto) -
    -
    returns (bool)
    - -
    ArgumentTypeDefault
    bAutobool
    -

  • -
  • setConfigGroup (name) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    nameTQString
    -

  • -
  • setEnabled (bEnabled) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    bEnabledbool
    -

  • -
  • setEnabled (sAction, bEnabled) -
    -
    returns (bool)
    - - -
    ArgumentTypeDefault
    sActionTQString
    bEnabledbool
    -

  • -
  • setItemEnabled (sAction, bEnable) -
    -
    returns (bool)
    - - -
    ArgumentTypeDefault
    sActionTQString
    bEnablebool
    -

  • -
  • setShortcut (sAction, shortcut) -
    -
    returns (bool)
    - - -
    ArgumentTypeDefault
    sActionTQString
    shortcutKShortcut
    -

  • -
  • setSlot (sAction, slot, ) -
    - -
    returns (bool)
    In versions KDE 3.1.4 and above only
    - - -
    ArgumentTypeDefault
    sActionTQString
    slotSLOT (Python callable)
    -

  • -
  • setSlot (a0, a1, a2) -
    - -
    returns (bool)
    In versions less than KDE 3.1.4 only
    - - - -
    ArgumentTypeDefault
    a0TQString
    a1TQObject
    a2char
    -

  • -
  • shortcut (sAction) -
    -
    returns (KShortcut)
    - -
    ArgumentTypeDefault
    sActionTQString
    -

  • -
  • stringToKey (a0) -
    - -
    returns (int)
    static
    - -
    ArgumentTypeDefault
    a0TQString
    -

  • -
  • updateConnections () -
    -
    returns (bool)

  • -
  • writeSettings (pConfig = 0) -
    -
    returns (bool)
    - -
    ArgumentTypeDefault
    pConfigKConfigBase0
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kdecore/KAccelAction.html b/python/pykde/doc/classref/kdecore/KAccelAction.html deleted file mode 100644 index 388fc83d..00000000 --- a/python/pykde/doc/classref/kdecore/KAccelAction.html +++ /dev/null @@ -1,208 +0,0 @@ - - - - - class KAccelAction - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KAccelAction


-
- - - - - -
Table of contents
Modules
kdecore Classes
All Classes
-
- - - - - - - - - - -
Modulekdecore
ClassKAccelAction
Inherits
-

methods

    -
  • KAccelAction () -
    -
    returns a KAccelAction instance

  • -
  • KAccelAction (a0) -
    -
    returns a KAccelAction instance
    - -
    ArgumentTypeDefault
    a0KAccelAction
    -

  • -
  • KAccelAction (sName, sLabel, sWhatsThis, cutDef3, cutDef4, pObjSlot, psMethodSlot, bConfigurable, bEnabled) -
    -
    returns a KAccelAction instance
    - - - - - - - - - -
    ArgumentTypeDefault
    sNameTQString
    sLabelTQString
    sWhatsThisTQString
    cutDef3KShortcut
    cutDef4KShortcut
    pObjSlotTQObject
    psMethodSlotchar
    bConfigurablebool
    bEnabledbool
    -

  • -
  • clear () -
    -
    returns nothing

  • -
  • clearShortcut () -
    -
    returns nothing

  • -
  • contains (keySeq) -
    -
    returns (bool)
    - -
    ArgumentTypeDefault
    keySeqKKeySequence
    -

  • -
  • decConnections () -
    -
    returns nothing

  • -
  • getID () -
    -
    returns (int)

  • -
  • incConnections () -
    -
    returns nothing

  • -
  • init (sName, sLabel, sWhatsThis, cutDef3, cutDef4, pObjSlot, psMethodSlot, bConfigurable, bEnabled) -
    -
    returns (bool)
    - - - - - - - - - -
    ArgumentTypeDefault
    sNameTQString
    sLabelTQString
    sWhatsThisTQString
    cutDef3KShortcut
    cutDef4KShortcut
    pObjSlotTQObject
    psMethodSlotchar
    bConfigurablebool
    bEnabledbool
    -

  • -
  • isConfigurable () -
    -
    returns (bool)

  • -
  • isConnected () -
    -
    returns (bool)

  • -
  • isEnabled () -
    -
    returns (bool)

  • -
  • label () -
    -
    returns (TQString)

  • -
  • methodSlotPtr () -
    -
    returns (char)

  • -
  • name () -
    -
    returns (TQString)

  • -
  • objSlotPtr () -
    -
    returns (TQObject)

  • -
  • setConfigurable (configurable) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    configurablebool
    -

  • -
  • setEnabled (enable) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    enablebool
    -

  • -
  • setID (n) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    nint
    -

  • -
  • setKeySequence (i, keySeq) -
    -
    returns (bool)
    - - -
    ArgumentTypeDefault
    iuint
    keySeqKKeySequence
    -

  • -
  • setLabel (label) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    labelTQString
    -

  • -
  • setName (name) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    nameTQString
    -

  • -
  • setShortcut (rgCuts) -
    -
    returns (bool)
    - -
    ArgumentTypeDefault
    rgCutsKShortcut
    -

  • -
  • setSlot (pObjSlot, psMethodSlot) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    pObjSlotTQObject
    psMethodSlotchar
    -

  • -
  • setWhatsThis (whatsThis) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    whatsThisTQString
    -

  • -
  • shortcut () -
    -
    returns (KShortcut)

  • -
  • shortcutDefault () -
    -
    returns (KShortcut)

  • -
  • shortcutDefault3 () -
    -
    returns (KShortcut)

  • -
  • shortcutDefault4 () -
    -
    returns (KShortcut)

  • -
  • toString () -
    -
    returns (TQString)

  • -
  • toStringInternal () -
    -
    returns (TQString)

  • -
  • useFourModifierKeys () -
    - -
    returns (bool)
    static

  • -
  • useFourModifierKeys (use) -
    - -
    returns nothing
    static
    - -
    ArgumentTypeDefault
    usebool
    -

  • -
  • whatsThis () -
    -
    returns (TQString)

  • -
- - - diff --git a/python/pykde/doc/classref/kdecore/KAccelActions.html b/python/pykde/doc/classref/kdecore/KAccelActions.html deleted file mode 100644 index 30beab9a..00000000 --- a/python/pykde/doc/classref/kdecore/KAccelActions.html +++ /dev/null @@ -1,172 +0,0 @@ - - - - - class KAccelActions - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KAccelActions


-
- - - - - -
Table of contents
Modules
kdecore Classes
All Classes
-
- - - - - - - - - - -
Modulekdecore
ClassKAccelActions
Inherits
-

methods

    -
  • KAccelActions () -
    -
    returns a KAccelActions instance

  • -
  • KAccelActions (a0) -
    -
    returns a KAccelActions instance
    - -
    ArgumentTypeDefault
    a0KAccelActions
    -

  • -
  • KAccelActions (a0) -
    -
    returns a KAccelActions instance
    - -
    ArgumentTypeDefault
    a0KAccelBase
    -

  • -
  • actionIndex (sAction) -
    -
    returns (int)
    - -
    ArgumentTypeDefault
    sActionTQString
    -

  • -
  • actionPtr (index) -
    -
    returns (KAccelAction)
    - -
    ArgumentTypeDefault
    indexuint
    -

  • -
  • actionPtr (sAction) -
    -
    returns (KAccelAction)
    - -
    ArgumentTypeDefault
    sActionTQString
    -

  • -
  • actionPtr (cut) -
    -
    returns (KAccelAction)
    - -
    ArgumentTypeDefault
    cutKKeySequence
    -

  • -
  • clear () -
    -
    returns nothing

  • -
  • count () -
    -
    returns (uint)

  • -
  • emitKeycodeChanged () -
    -
    returns nothing

  • -
  • init (actions) -
    -
    returns (bool)
    - -
    ArgumentTypeDefault
    actionsKAccelActions
    -

  • -
  • init (config, sGroup) -
    -
    returns (bool)
    - - -
    ArgumentTypeDefault
    configKConfigBase
    sGroupTQString
    -

  • -
  • insert (sAction, sLabel, sWhatsThis, rgCutDefaults3, rgCutDefaults4, pObjSlot = 0, psMethodSlot = 0, bConfigurable = 1, bEnabled = 1) -
    -
    returns (KAccelAction)
    - - - - - - - - - -
    ArgumentTypeDefault
    sActionTQString
    sLabelTQString
    sWhatsThisTQString
    rgCutDefaults3KShortcut
    rgCutDefaults4KShortcut
    pObjSlotTQObject0
    psMethodSlotchar0
    bConfigurablebool1
    bEnabledbool1
    -

  • -
  • insert (sName, sLabel) -
    -
    returns (KAccelAction)
    - - -
    ArgumentTypeDefault
    sNameTQString
    sLabelTQString
    -

  • -
  • insertPtr (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0KAccelAction
    -

  • -
  • readActions (sConfigGroup = "Shortcuts", pConfig = 0) -
    -
    returns (bool)
    - - -
    ArgumentTypeDefault
    sConfigGroupTQString"Shortcuts"
    pConfigKConfigBase0
    -

  • -
  • remove (sAction) -
    -
    returns (bool)
    - -
    ArgumentTypeDefault
    sActionTQString
    -

  • -
  • resize (new_size) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    new_sizeuint
    -

  • -
  • updateShortcuts (shortcuts) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    shortcutsKAccelActions
    -

  • -
  • writeActions (sConfigGroup = "Shortcuts", pConfig = 0, bWriteAll = 0, bGlobal = 0) -
    -
    returns (bool)
    - - - - -
    ArgumentTypeDefault
    sConfigGroupTQString"Shortcuts"
    pConfigKConfigBase0
    bWriteAllbool0
    bGlobalbool0
    -

  • -
-

operators

    -
  • operator [] (index) -
    - -
    returns (KAccelAction),
    In versions KDE 3.1.4 and above only
    - -
    ArgumentTypeDefault
    indexuint
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kdecore/KAccelBase.html b/python/pykde/doc/classref/kdecore/KAccelBase.html deleted file mode 100644 index cdc6fe01..00000000 --- a/python/pykde/doc/classref/kdecore/KAccelBase.html +++ /dev/null @@ -1,242 +0,0 @@ - - - - - class KAccelBase - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KAccelBase


-
- - - - - -
Table of contents
Modules
kdecore Classes
All Classes
-
- - - - - - - - - - -
Modulekdecore
ClassKAccelBase (abstract)
Inherits
-

enums

    -
  • Init = {QT_KEYS, NATIVE_KEYS -}
  • Signal = {KEYCODE_CHANGED -}
-

methods

    -
  • KAccelBase (fInitCode) -
    -
    returns a KAccelBase instance
    - -
    ArgumentTypeDefault
    fInitCodeint
    -

  • -
  • actionCount () -
    -
    returns (uint)

  • -
  • actionPtr (sAction) -
    -
    returns (KAccelAction)
    - -
    ArgumentTypeDefault
    sActionTQString
    -

  • -
  • actionPtr (key) -
    -
    returns (KAccelAction)
    - -
    ArgumentTypeDefault
    keyKKey
    -

  • -
  • actionPtr (key) -
    -
    returns (KAccelAction)
    - -
    ArgumentTypeDefault
    keyKKeyServer.Key
    -

  • -
  • actions () -
    -
    returns (KAccelActions)

  • -
  • configGroup () -
    -
    returns (TQString)

  • -
  • connectKey (a0, a1) = 0 -
    - -
    returns (bool)
    pure virtual
    - - -
    ArgumentTypeDefault
    a0KAccelAction
    a1KKeyServer.Key
    -

  • -
  • connectKey (a0) = 0 -
    - -
    returns (bool)
    pure virtual
    - -
    ArgumentTypeDefault
    a0KKeyServer.Key
    -

  • -
  • createKeyList (rgKeys) -
    Not Implemented
    -

  • -
  • createPopupMenu (pParent, a0) -
    -
    returns (TQPopupMenu)
    - - -
    ArgumentTypeDefault
    pParentTQWidget
    a0KKeySequence
    -

  • -
  • disconnectKey (a0, a1) = 0 -
    - -
    returns (bool)
    pure virtual
    - - -
    ArgumentTypeDefault
    a0KAccelAction
    a1KKeyServer.Key
    -

  • -
  • disconnectKey (a0) = 0 -
    - -
    returns (bool)
    pure virtual
    - -
    ArgumentTypeDefault
    a0KKeyServer.Key
    -

  • -
  • emitSignal (a0) = 0 -
    - -
    returns (bool)
    pure virtual
    - -
    ArgumentTypeDefault
    a0KAccelBase.Signal
    -

  • -
  • getAutoUpdate () -
    -
    returns (bool)

  • -
  • insert (sName, sDesc) -
    -
    returns (KAccelAction)
    - - -
    ArgumentTypeDefault
    sNameTQString
    sDescTQString
    -

  • -
  • insert (sAction, sDesc, sHelp, rgCutDefaults3, rgCutDefaults4, pObjSlot, psMethodSlot, bConfigurable = 1, bEnabled = 1) -
    -
    returns (KAccelAction)
    - - - - - - - - - -
    ArgumentTypeDefault
    sActionTQString
    sDescTQString
    sHelpTQString
    rgCutDefaults3KShortcut
    rgCutDefaults4KShortcut
    pObjSlotTQObject
    psMethodSlotchar
    bConfigurablebool1
    bEnabledbool1
    -

  • -
  • insertConnection (a0) -
    -
    returns (bool)
    - -
    ArgumentTypeDefault
    a0KAccelAction
    -

  • -
  • isEnabled () -
    -
    returns (bool)

  • -
  • isEnabledInternal () -
    - -
    returns (bool)
    In versions KDE 3.5.0 and above only

  • -
  • readSettings (pConfig = 0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    pConfigKConfigBase0
    -

  • -
  • remove (sAction) -
    -
    returns (bool)
    - -
    ArgumentTypeDefault
    sActionTQString
    -

  • -
  • removeConnection (a0) -
    -
    returns (bool)
    - -
    ArgumentTypeDefault
    a0KAccelAction
    -

  • -
  • setActionEnabled (sAction, bEnable) -
    -
    returns (bool)
    - - -
    ArgumentTypeDefault
    sActionTQString
    bEnablebool
    -

  • -
  • setActionSlot (sAction, pObjSlot, psMethodSlot) -
    -
    returns (bool)
    - - - -
    ArgumentTypeDefault
    sActionTQString
    pObjSlotTQObject
    psMethodSlotchar
    -

  • -
  • setAutoUpdate (bAuto) -
    -
    returns (bool)
    - -
    ArgumentTypeDefault
    bAutobool
    -

  • -
  • setConfigGlobal (global) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    globalbool
    -

  • -
  • setConfigGroup (group) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    groupTQString
    -

  • -
  • setEnabled (bEnabled) = 0 -
    - -
    returns nothing
    pure virtual
    - -
    ArgumentTypeDefault
    bEnabledbool
    -

  • -
  • setShortcut (sAction, cut) -
    -
    returns (bool)
    - - -
    ArgumentTypeDefault
    sActionTQString
    cutKShortcut
    -

  • -
  • slotRemoveAction (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0KAccelAction
    -

  • -
  • updateConnections () -
    -
    returns (bool)

  • -
  • writeSettings (pConfig = 0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    pConfigKConfigBase0
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kdecore/KAccelShortcutList.html b/python/pykde/doc/classref/kdecore/KAccelShortcutList.html deleted file mode 100644 index 0ee9f002..00000000 --- a/python/pykde/doc/classref/kdecore/KAccelShortcutList.html +++ /dev/null @@ -1,130 +0,0 @@ - - - - - class KAccelShortcutList - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KAccelShortcutList


-
- - - - - -
Table of contents
Modules
kdecore Classes
All Classes
-
- - - - - - - - - - -
Modulekdecore
ClassKAccelShortcutList
InheritsKShortcutList
-

methods

    -
  • KAccelShortcutList (accel) -
    -
    returns a KAccelShortcutList instance
    - -
    ArgumentTypeDefault
    accelKAccel
    -

  • -
  • KAccelShortcutList (accel) -
    -
    returns a KAccelShortcutList instance
    - -
    ArgumentTypeDefault
    accelKGlobalAccel
    -

  • -
  • KAccelShortcutList (actions, bGlobal) -
    -
    returns a KAccelShortcutList instance
    - - -
    ArgumentTypeDefault
    actionsKAccelActions
    bGlobalbool
    -

  • -
  • count () -
    -
    returns (uint)

  • -
  • getOther (a0, index) -
    -
    returns (TQVariant)
    - - -
    ArgumentTypeDefault
    a0KShortcutList.Other
    indexuint
    -

  • -
  • isConfigurable (index) -
    -
    returns (bool)
    - -
    ArgumentTypeDefault
    indexuint
    -

  • -
  • isGlobal (index) -
    -
    returns (bool)
    - -
    ArgumentTypeDefault
    indexuint
    -

  • -
  • label (index) -
    -
    returns (TQString)
    - -
    ArgumentTypeDefault
    indexuint
    -

  • -
  • name (index) -
    -
    returns (TQString)
    - -
    ArgumentTypeDefault
    indexuint
    -

  • -
  • save () -
    -
    returns (bool)

  • -
  • setOther (a0, index, a1) -
    -
    returns (bool)
    - - - -
    ArgumentTypeDefault
    a0KShortcutList.Other
    indexuint
    a1TQVariant
    -

  • -
  • setShortcut (index, shortcut) -
    -
    returns (bool)
    - - -
    ArgumentTypeDefault
    indexuint
    shortcutKShortcut
    -

  • -
  • shortcut (index) -
    -
    returns (KShortcut)
    - -
    ArgumentTypeDefault
    indexuint
    -

  • -
  • shortcutDefault (index) -
    -
    returns (KShortcut)
    - -
    ArgumentTypeDefault
    indexuint
    -

  • -
  • whatsThis (index) -
    -
    returns (TQString)
    - -
    ArgumentTypeDefault
    indexuint
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kdecore/KApplication.html b/python/pykde/doc/classref/kdecore/KApplication.html deleted file mode 100644 index 41047cd6..00000000 --- a/python/pykde/doc/classref/kdecore/KApplication.html +++ /dev/null @@ -1,666 +0,0 @@ - - - - - class KApplication - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KApplication


-
- - - - - -
Table of contents
Modules
kdecore Classes
All Classes
-
- - - - - - - - - - -
Modulekdecore
ClassKApplication
InheritsTQApplication, KInstance
-

enums

    -
  • (anonymous) = {ShiftModifier, LockModifier, ControlModifier, Modifier1, Modifier2, Modifier3, Modifier4, Modifier5 -}
  • (anonymous) = {Button1Pressed, Button2Pressed, Button3Pressed, Button4Pressed, Button5Pressed -}
  • CaptionLayout = {CaptionAppLast, CaptionAppFirst, CaptionNoApp -}
  • SettingsCategory = {SETTINGS_MOUSE, SETTINGS_COMPLETION, SETTINGS_PATHS, SETTINGS_POPUPMENU, SETTINGS_QT, SETTINGS_SHORTCUTS -}
  • ShutdownConfirm = {ShutdownConfirmDefault, ShutdownConfirmNo, ShutdownConfirmYes -}
  • ShutdownMode = {ShutdownModeDefault, ShutdownModeSchedule, ShutdownModeTryNow, ShutdownModeForceNow, ShutdownModeInteractive -}
  • ShutdownType = {ShutdownTypeDefault, ShutdownTypeNone, ShutdownTypeReboot, ShutdownTypeHalt -}
-

methods

    -
  • KApplication (allowStyles = 1, GUIenabled = 1) -
    -
    returns a KApplication instance
    - - -
    ArgumentTypeDefault
    allowStylesbool1
    GUIenabledbool1
    -

  • -
  • KApplication (display, visual = 0, colormap = 0, allowStyles = 1) -
    Not Implemented
    -

  • -
  • KApplication (display, rAppName, allowStyles = 1, GUIenabled = 1) -
    Not Implemented
    -

  • -
  • KApplication (argv, rAppName, allowStyles = 1, GUIenabled = 1) -
    -
    returns a KApplication instance
    - - - - -
    ArgumentTypeDefault
    argva Python list of strings
    rAppNamePython string
    allowStylesbool1
    GUIenabledbool1
    -

  • -
  • KApplication (allowStyles, GUIenabled, _instance) -
    -
    returns a KApplication instance
    - - - -
    ArgumentTypeDefault
    allowStylesbool
    GUIenabledbool
    _instanceKInstance
    -

  • -
  • KApplication (display, visual, colormap, allowStyles, _instance) -
    Not Implemented
    -

  • -
  • KApplication (a0) -
    -
    returns a KApplication instance
    - -
    ArgumentTypeDefault
    a0KApplication
    -

  • -
  • addCmdLineOptions () -
    - -
    returns nothing
    static

  • -
  • addKipcEventMask (id) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    idint
    -

  • -
  • allowURLAction (action, _baseURL, _destURL) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - - - -
    ArgumentTypeDefault
    actionTQString
    _baseURLKURL
    _destURLKURL
    -

  • -
  • appearanceChanged () -
    -
    returns nothing

  • -
  • authorize (genericAction) -
    -
    returns (bool)
    - -
    ArgumentTypeDefault
    genericActionTQString
    -

  • -
  • authorizeControlModule (menuId) -
    - -
    returns (bool)
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    menuIdTQString
    -

  • -
  • authorizeControlModules (menuIds) -
    - -
    returns (TQStringList)
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    menuIdsTQStringList
    -

  • -
  • authorizeKAction (action) -
    -
    returns (bool)
    - -
    ArgumentTypeDefault
    actionchar
    -

  • -
  • authorizeURLAction (action, baseURL, destURL) -
    - -
    returns (bool)
    In versions KDE 3.1.0 and above only
    - - - -
    ArgumentTypeDefault
    actionTQString
    baseURLKURL
    destURLKURL
    -

  • -
  • backgroundChanged (desk) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    deskint
    -

  • -
  • caption () -
    -
    returns (TQString)

  • -
  • checkRecoverFile (pFilename) -
    -
    returns (TQString) bRecover (bool)
    - -
    ArgumentTypeDefault
    pFilenameTQString
    -

  • -
  • clear () -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only

  • -
  • commitData (sm) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    smQSessionManager
    -

  • -
  • copy () -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only

  • -
  • createApplicationPalette () -
    - - -
    returns (TQPalette)
    In versions KDE 3.1.0 and above only
    static

  • -
  • createApplicationPalette (config, contrast) -
    - - -
    returns (TQPalette)
    In versions KDE 3.1.0 and above only
    static
    - - -
    ArgumentTypeDefault
    configKConfig
    contrastint
    -

  • -
  • cut () -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only

  • -
  • dcopClient () -
    - -
    returns (DCOPClient)
    static

  • -
  • deref () -
    -
    returns nothing

  • -
  • disableAutoDcopRegistration () -
    - -
    returns nothing
    static

  • -
  • disableSessionManagement () -
    -
    returns nothing

  • -
  • disableStyles () -
    -
    returns nothing

  • -
  • enableSessionManagement () -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only

  • -
  • enableStyles () -
    -
    returns nothing

  • -
  • geometryArgument () -
    -
    returns (TQString)

  • -
  • getDisplay () -
    -
    returns (Display)

  • -
  • guiEnabled () -
    - - -
    returns (bool)
    In versions KDE 3.2.0 and above only
    static

  • -
  • iceIOErrorHandler (conn) -
    Not Implemented
    -

  • -
  • icon () -
    -
    returns (TQPixmap)

  • -
  • iconChanged (group) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    groupint
    -

  • -
  • iconName () -
    -
    returns (TQString)

  • -
  • installKDEPropertyMap () -
    -
    returns nothing

  • -
  • installSigpipeHandler () -
    - - -
    returns nothing
    In versions KDE 3.2.0 and above only
    static

  • -
  • installX11EventFilter (filter) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    filterTQWidget
    -

  • -
  • invokeBrowser (url, startup_id) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - - -
    ArgumentTypeDefault
    urlTQString
    startup_idTQCString
    -

  • -
  • invokeBrowser (url) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    urlTQString
    -

  • -
  • invokeEditSlot (slot) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    slotchar
    -

  • -
  • invokeHTMLHelp (aFilename, aTopic = TQString .null) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    aFilenameTQString
    aTopicTQStringTQString .null
    -

  • -
  • invokeHelp (anchor, appname, startup_id) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - - - -
    ArgumentTypeDefault
    anchorTQString
    appnameTQString
    startup_idTQCString
    -

  • -
  • invokeHelp (anchor = TQString .null, appname = TQString .null) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    anchorTQStringTQString .null
    appnameTQStringTQString .null
    -

  • -
  • invokeMailer (address, subject, startup_id) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - - - -
    ArgumentTypeDefault
    addressTQString
    subjectTQString
    startup_idTQCString
    -

  • -
  • invokeMailer (address, subject) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    addressTQString
    subjectTQString
    -

  • -
  • invokeMailer (mailtoURL, startup_id, allowAttachments) -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only
    - - - -
    ArgumentTypeDefault
    mailtoURLKURL
    startup_idTQCString
    allowAttachmentsbool
    -

  • -
  • invokeMailer (mailtoURL, startup_id) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - - -
    ArgumentTypeDefault
    mailtoURLKURL
    startup_idTQCString
    -

  • -
  • invokeMailer (mailtoURL) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    mailtoURLKURL
    -

  • -
  • invokeMailer (to, cc, bcc, subject, body, messageFile, attachURLs, startup_id) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - - - - - - - - -
    ArgumentTypeDefault
    toTQString
    ccTQString
    bccTQString
    subjectTQString
    bodyTQString
    messageFileTQString
    attachURLsTQStringList
    startup_idTQCString
    -

  • -
  • invokeMailer (to, cc, bcc, subject, body, messageFile = TQString .null, attachURLs = TQStringList ()) -
    -
    returns nothing
    - - - - - - - -
    ArgumentTypeDefault
    toTQString
    ccTQString
    bccTQString
    subjectTQString
    bodyTQString
    messageFileTQStringTQString .null
    attachURLsTQStringListTQStringList ()
    -

  • -
  • isRestored () -
    -
    returns (bool)

  • -
  • kApplication () -
    - -
    returns (KApplication)
    static

  • -
  • kdeinitExec (name, args, startup_id) -
    - - -
    returns (int) error (TQString) pid (int)
    In versions KDE 3.2.0 and above only
    static
    - - - -
    ArgumentTypeDefault
    nameTQString
    argsTQStringList
    startup_idTQCString
    -

  • -
  • kdeinitExec (name, args) -
    - -
    returns (int) error (TQString) pid (int)
    static
    - - -
    ArgumentTypeDefault
    nameTQString
    argsTQStringList
    -

  • -
  • kdeinitExecWait (name, args, startup_id) -
    - - -
    returns (int) error (TQString) pid (int)
    In versions KDE 3.2.0 and above only
    static
    - - - -
    ArgumentTypeDefault
    nameTQString
    argsTQStringList
    startup_idTQCString
    -

  • -
  • kdeinitExecWait (name, args) -
    - -
    returns (int) error (TQString) pid (int)
    static
    - - -
    ArgumentTypeDefault
    nameTQString
    argsTQStringList
    -

  • -
  • kdisplayFontChanged () -
    -
    returns nothing

  • -
  • kdisplayPaletteChanged () -
    -
    returns nothing

  • -
  • kdisplayStyleChanged () -
    -
    returns nothing

  • -
  • keyboardModifiers () -
    - - -
    returns (uint)
    In versions KDE 3.1.0 and above only
    static

  • -
  • keyboardMouseState () -
    - - -
    returns (ButtonState)
    In versions KDE 3.4.0 and above only
    static

  • -
  • kipcMessage (id, data) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    idint
    dataint
    -

  • -
  • kstyle () -
    Not Implemented
    -

  • -
  • launcher () -
    - -
    returns (TQCString)
    static

  • -
  • makeStdCaption (userCaption, withAppName = 1, modified = 0) -
    -
    returns (TQString)
    - - - -
    ArgumentTypeDefault
    userCaptionTQString
    withAppNamebool1
    modifiedbool0
    -

  • -
  • miniIcon () -
    -
    returns (TQPixmap)

  • -
  • miniIconName () -
    -
    returns (TQString)

  • -
  • mouseState () -
    - - -
    returns (uint)
    In versions KDE 3.1.0 and above only
    static

  • -
  • notify (receiver, event) -
    -
    returns (bool)
    - - -
    ArgumentTypeDefault
    receiverTQObject
    eventTQEvent
    -

  • -
  • paste () -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only

  • -
  • propagateSessionManager () -
    -
    returns nothing

  • -
  • random () -
    - -
    returns (int)
    static

  • -
  • randomString (length) -
    - -
    returns (TQString)
    static
    - -
    ArgumentTypeDefault
    lengthint
    -

  • -
  • ref () -
    -
    returns nothing

  • -
  • removeKipcEventMask (id) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    idint
    -

  • -
  • removeX11EventFilter (filter) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    filterTQWidget
    -

  • -
  • requestShutDown (confirm = ShutdownConfirmDefault, sdtype = ShutdownTypeDefault, sdmode = ShutdownModeDefault) -
    -
    returns (bool)
    - - - -
    ArgumentTypeDefault
    confirmKApplication.ShutdownConfirmShutdownConfirmDefault
    sdtypeKApplication.ShutdownTypeShutdownTypeDefault
    sdmodeKApplication.ShutdownModeShutdownModeDefault
    -

  • -
  • saveState (sm) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    smQSessionManager
    -

  • -
  • saveYourself () -
    -
    returns nothing

  • -
  • selectAll () -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only

  • -
  • sessionConfig () -
    -
    returns (KConfig)

  • -
  • sessionSaving () -
    - -
    returns (bool)
    In versions KDE 3.1.1 and above only

  • -
  • setStartupId (startup_id) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    startup_idTQCString
    -

  • -
  • setTopWidget (topWidget) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    topWidgetTQWidget
    -

  • -
  • settingsChanged (category) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    categoryint
    -

  • -
  • shutDown () -
    -
    returns nothing

  • -
  • startKdeinit () -
    - -
    returns nothing
    static

  • -
  • startServiceByDesktopName (_name, URL, startup_id = TQCString ("" ), noWait = 0) -
    - -
    returns (int) error (TQString) dcopService (TQCString) pid (int)
    static
    - - - - -
    ArgumentTypeDefault
    _nameTQString
    URLTQString
    startup_idTQCStringTQCString ("" )
    noWaitbool0
    -

  • -
  • startServiceByDesktopName (_name, URLs, startup_id = TQCString ("" ), noWait = 0) -
    - -
    returns (int) error (TQString) dcopService (TQCString) pid (int)
    static
    - - - - -
    ArgumentTypeDefault
    _nameTQString
    URLsTQStringList
    startup_idTQCStringTQCString ("" )
    noWaitbool0
    -

  • -
  • startServiceByDesktopPath (_name, URL, startup_id = TQCString ("" ), noWait = 0) -
    - -
    returns (int) error (TQString) dcopService (TQCString) pid (int)
    static
    - - - - -
    ArgumentTypeDefault
    _nameTQString
    URLTQString
    startup_idTQCStringTQCString ("" )
    noWaitbool0
    -

  • -
  • startServiceByDesktopPath (_name, URLs, startup_id = TQCString ("" ), noWait = 0) -
    - -
    returns (int) error (TQString) dcopService (TQCString) pid (int)
    static
    - - - - -
    ArgumentTypeDefault
    _nameTQString
    URLsTQStringList
    startup_idTQCStringTQCString ("" )
    noWaitbool0
    -

  • -
  • startServiceByName (_name, URL, startup_id = TQCString ("" ), noWait = 0) -
    - -
    returns (int) error (TQString) dcopService (TQCString) pid (int)
    static
    - - - - -
    ArgumentTypeDefault
    _nameTQString
    URLTQString
    startup_idTQCStringTQCString ("" )
    noWaitbool0
    -

  • -
  • startServiceByName (_name, URLs, startup_id = TQCString ("" ), noWait = 0) -
    - -
    returns (int) error (TQString) dcopService (TQCString) pid (int)
    static
    - - - - -
    ArgumentTypeDefault
    _nameTQString
    URLsTQStringList
    startup_idTQCStringTQCString ("" )
    noWaitbool0
    -

  • -
  • startupId () -
    -
    returns (TQCString)

  • -
  • tempSaveName (pFilename) -
    -
    returns (TQString)
    - -
    ArgumentTypeDefault
    pFilenameTQString
    -

  • -
  • toolbarAppearanceChanged (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0int
    -

  • -
  • updateRemoteUserTimestamp (dcopId, time = 0) -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only
    - - -
    ArgumentTypeDefault
    dcopIdTQCString
    timeulong0
    -

  • -
  • updateUserTimestamp (time = 0) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    timeulong0
    -

  • -
  • userTimestamp () -
    - -
    returns (ulong)
    In versions KDE 3.2.3 and above only

  • -
  • x11EventFilter (a0) -
    Not Implemented
    -

  • -
  • xErrhandler (a0, a1) -
    Not Implemented
    -

  • -
  • xioErrhandler (a0) -
    Not Implemented
    -

  • -
  • xioErrhandler () -
    - -
    returns (int)
    In versions less than KDE 3.2.0 only

  • -
-

variables

  • -variables - -
    VariableType
    loadedByKdeinitbool
- - - diff --git a/python/pykde/doc/classref/kdecore/KAsyncIO.html b/python/pykde/doc/classref/kdecore/KAsyncIO.html deleted file mode 100644 index 3967e813..00000000 --- a/python/pykde/doc/classref/kdecore/KAsyncIO.html +++ /dev/null @@ -1,70 +0,0 @@ - - - - - class KAsyncIO - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KAsyncIO


-
- - - - - -
Table of contents
Modules
kdecore Classes
All Classes
-
- - - - - - - - - - -
Modulekdecore
ClassKAsyncIO (abstract)
InheritsTQObject, TQIODevice
-

methods

    -
  • KAsyncIO () -
    -
    returns a KAsyncIO instance

  • -
  • KAsyncIO (a0) -
    -
    returns a KAsyncIO instance
    - -
    ArgumentTypeDefault
    a0KAsyncIO
    -

  • -
  • enableRead (enable) = 0 -
    - -
    returns nothing
    pure virtual
    - -
    ArgumentTypeDefault
    enablebool
    -

  • -
  • enableWrite (enable) = 0 -
    - -
    returns nothing
    pure virtual
    - -
    ArgumentTypeDefault
    enablebool
    -

  • -
  • readyRead () -
    -
    returns nothing

  • -
  • readyWrite () -
    -
    returns nothing

  • -
- - - diff --git a/python/pykde/doc/classref/kdecore/KAudioPlayer.html b/python/pykde/doc/classref/kdecore/KAudioPlayer.html deleted file mode 100644 index 533405db..00000000 --- a/python/pykde/doc/classref/kdecore/KAudioPlayer.html +++ /dev/null @@ -1,59 +0,0 @@ - - - - - class KAudioPlayer - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KAudioPlayer


-
- - - - - -
Table of contents
Modules
kdecore Classes
All Classes
-
- - - - - - - - - - -
Modulekdecore
ClassKAudioPlayer
InheritsTQObject
-

methods

    -
  • KAudioPlayer (filename, parent = 0, name = 0) -
    -
    returns a KAudioPlayer instance
    - - - -
    ArgumentTypeDefault
    filenameTQString
    parentTQObject0
    namechar0
    -

  • -
  • play (filename) -
    - -
    returns nothing
    static
    - -
    ArgumentTypeDefault
    filenameTQString
    -

  • -
  • play () -
    -
    returns nothing

  • -
- - - diff --git a/python/pykde/doc/classref/kdecore/KBufferedIO.html b/python/pykde/doc/classref/kdecore/KBufferedIO.html deleted file mode 100644 index cf9a67ab..00000000 --- a/python/pykde/doc/classref/kdecore/KBufferedIO.html +++ /dev/null @@ -1,136 +0,0 @@ - - - - - class KBufferedIO - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KBufferedIO


-
- - - - - -
Table of contents
Modules
kdecore Classes
All Classes
-
- - - - - - - - - - -
Modulekdecore
ClassKBufferedIO (abstract)
InheritsKAsyncIO
-

enums

    -
  • closeModes = {availRead, dirtyWrite, involuntary, delayed, closedNow -}
-

methods

    -
  • KBufferedIO () -
    -
    returns a KBufferedIO instance

  • -
  • bytesAvailable () -
    -
    returns (int)

  • -
  • bytesToWrite () -
    -
    returns (int)

  • -
  • bytesWritten (nbytes) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    nbytesint
    -

  • -
  • canReadLine () -
    -
    returns (bool)

  • -
  • closeNow () = 0 -
    - -
    returns nothing
    pure virtual

  • -
  • closed (state) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    stateint
    -

  • -
  • consumeReadBuffer (nbytes, destbuffer, discard = 1) -
    -
    returns (uint)
    - - - -
    ArgumentTypeDefault
    nbytesuint
    destbufferchar
    discardbool1
    -

  • -
  • consumeWriteBuffer (nbytes) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    nbytesuint
    -

  • -
  • feedReadBuffer (nbytes, buffer, atBeginning = 0) -
    -
    returns (uint)
    - - - -
    ArgumentTypeDefault
    nbytesuint
    bufferchar
    atBeginningbool0
    -

  • -
  • feedWriteBuffer (nbytes, buffer) -
    -
    returns (uint)
    - - -
    ArgumentTypeDefault
    nbytesuint
    bufferchar
    -

  • -
  • peekBlock (data, maxlen) = 0 -
    - -
    returns (int)
    pure virtual
    - - -
    ArgumentTypeDefault
    datachar
    maxlenuint
    -

  • -
  • readBufferSize () -
    -
    returns (uint)

  • -
  • setBufferSize (rsize, wsize = -2) -
    -
    returns (bool)
    - - -
    ArgumentTypeDefault
    rsizeint
    wsizeint-2
    -

  • -
  • unreadBlock (data, len) -
    -
    returns (int)
    - - -
    ArgumentTypeDefault
    datachar
    lenuint
    -

  • -
  • waitForMore (msec) = 0 -
    - -
    returns (int)
    pure virtual
    - -
    ArgumentTypeDefault
    msecint
    -

  • -
  • writeBufferSize () -
    -
    returns (uint)

  • -
- - - diff --git a/python/pykde/doc/classref/kdecore/KCalendarSystem.html b/python/pykde/doc/classref/kdecore/KCalendarSystem.html deleted file mode 100644 index fe0806e7..00000000 --- a/python/pykde/doc/classref/kdecore/KCalendarSystem.html +++ /dev/null @@ -1,306 +0,0 @@ - - - - - class KCalendarSystem - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KCalendarSystem


-
- - - - - -
Table of contents
Modules
kdecore Classes
All Classes
-
- - - - - - - - - - -
Modulekdecore
ClassKCalendarSystem (abstract)
Inherits
-

methods

    -
  • KCalendarSystem (locale = 0) -
    - -
    returns a KCalendarSystem instance
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    localeKLocale0
    -

  • -
  • addDays (date, ndays) = 0 -
    - - -
    returns (TQDate)
    In versions KDE 3.2.0 and above only
    pure virtual
    - - -
    ArgumentTypeDefault
    dateTQDate
    ndaysint
    -

  • -
  • addMonths (date, nmonths) = 0 -
    - - -
    returns (TQDate)
    In versions KDE 3.2.0 and above only
    pure virtual
    - - -
    ArgumentTypeDefault
    dateTQDate
    nmonthsint
    -

  • -
  • addYears (date, nyears) = 0 -
    - - -
    returns (TQDate)
    In versions KDE 3.2.0 and above only
    pure virtual
    - - -
    ArgumentTypeDefault
    dateTQDate
    nyearsint
    -

  • -
  • calendarName () = 0 -
    - - -
    returns (TQString)
    In versions KDE 3.2.0 and above only
    pure virtual

  • -
  • day (date) = 0 -
    - - -
    returns (int)
    In versions KDE 3.2.0 and above only
    pure virtual
    - -
    ArgumentTypeDefault
    dateTQDate
    -

  • -
  • dayOfWeek (date) = 0 -
    - - -
    returns (int)
    In versions KDE 3.2.0 and above only
    pure virtual
    - -
    ArgumentTypeDefault
    dateTQDate
    -

  • -
  • dayOfYear (date) = 0 -
    - - -
    returns (int)
    In versions KDE 3.2.0 and above only
    pure virtual
    - -
    ArgumentTypeDefault
    dateTQDate
    -

  • -
  • dayString (pDate, bShort) -
    - -
    returns (TQString)
    In versions KDE 3.2.0 and above only
    - - -
    ArgumentTypeDefault
    pDateTQDate
    bShortbool
    -

  • -
  • dayStringToInteger (sNum) -
    - -
    returns (int) iLength (int)
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    sNumTQString
    -

  • -
  • daysInMonth (date) = 0 -
    - - -
    returns (int)
    In versions KDE 3.2.0 and above only
    pure virtual
    - -
    ArgumentTypeDefault
    dateTQDate
    -

  • -
  • daysInYear (date) = 0 -
    - - -
    returns (int)
    In versions KDE 3.2.0 and above only
    pure virtual
    - -
    ArgumentTypeDefault
    dateTQDate
    -

  • -
  • isLunar () = 0 -
    - - -
    returns (bool)
    In versions KDE 3.2.0 and above only
    pure virtual

  • -
  • isLunisolar () = 0 -
    - - -
    returns (bool)
    In versions KDE 3.2.0 and above only
    pure virtual

  • -
  • isSolar () = 0 -
    - - -
    returns (bool)
    In versions KDE 3.2.0 and above only
    pure virtual

  • -
  • locale () -
    - -
    returns (KLocale)
    In versions KDE 3.2.0 and above only

  • -
  • maxValidYear () = 0 -
    - - -
    returns (int)
    In versions KDE 3.2.0 and above only
    pure virtual

  • -
  • minValidYear () = 0 -
    - - -
    returns (int)
    In versions KDE 3.2.0 and above only
    pure virtual

  • -
  • month (date) = 0 -
    - - -
    returns (int)
    In versions KDE 3.2.0 and above only
    pure virtual
    - -
    ArgumentTypeDefault
    dateTQDate
    -

  • -
  • monthName (month, year, shortName = 0) = 0 -
    - - -
    returns (TQString)
    In versions KDE 3.2.0 and above only
    pure virtual
    - - - -
    ArgumentTypeDefault
    monthint
    yearint
    shortNamebool0
    -

  • -
  • monthName (date, shortName = 0) = 0 -
    - - -
    returns (TQString)
    In versions KDE 3.2.0 and above only
    pure virtual
    - - -
    ArgumentTypeDefault
    dateTQDate
    shortNamebool0
    -

  • -
  • monthNamePossessive (month, year, shortName = 0) = 0 -
    - - -
    returns (TQString)
    In versions KDE 3.2.0 and above only
    pure virtual
    - - - -
    ArgumentTypeDefault
    monthint
    yearint
    shortNamebool0
    -

  • -
  • monthNamePossessive (date, shortName = 0) = 0 -
    - - -
    returns (TQString)
    In versions KDE 3.2.0 and above only
    pure virtual
    - - -
    ArgumentTypeDefault
    dateTQDate
    shortNamebool0
    -

  • -
  • monthString (pDate, bShort) -
    - -
    returns (TQString)
    In versions KDE 3.2.0 and above only
    - - -
    ArgumentTypeDefault
    pDateTQDate
    bShortbool
    -

  • -
  • monthStringToInteger (sNum) -
    - -
    returns (int) iLength (int)
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    sNumTQString
    -

  • -
  • monthsInYear (date) = 0 -
    - - -
    returns (int)
    In versions KDE 3.2.0 and above only
    pure virtual
    - -
    ArgumentTypeDefault
    dateTQDate
    -

  • -
  • setYMD (date, y, m, d) = 0 -
    - - -
    returns (bool)
    In versions KDE 3.2.0 and above only
    pure virtual
    - - - - -
    ArgumentTypeDefault
    dateTQDate
    yint
    mint
    dint
    -

  • -
  • weekDayName (weekDay, shortName = 0) = 0 -
    - - -
    returns (TQString)
    In versions KDE 3.2.0 and above only
    pure virtual
    - - -
    ArgumentTypeDefault
    weekDayint
    shortNamebool0
    -

  • -
  • weekDayName (date, shortName = 0) = 0 -
    - - -
    returns (TQString)
    In versions KDE 3.2.0 and above only
    pure virtual
    - - -
    ArgumentTypeDefault
    dateTQDate
    shortNamebool0
    -

  • -
  • weekDayOfPray () = 0 -
    - - -
    returns (int)
    In versions KDE 3.2.0 and above only
    pure virtual

  • -
  • weekNumber (date) = 0 -
    - - -
    returns (int) yearNum (int)
    In versions KDE 3.2.0 and above only
    pure virtual
    - -
    ArgumentTypeDefault
    dateTQDate
    -

  • -
  • weeksInYear (year) = 0 -
    - - -
    returns (int)
    In versions KDE 3.2.0 and above only
    pure virtual
    - -
    ArgumentTypeDefault
    yearint
    -

  • -
  • year (date) = 0 -
    - - -
    returns (int)
    In versions KDE 3.2.0 and above only
    pure virtual
    - -
    ArgumentTypeDefault
    dateTQDate
    -

  • -
  • yearString (pDate, bShort) -
    - -
    returns (TQString)
    In versions KDE 3.2.0 and above only
    - - -
    ArgumentTypeDefault
    pDateTQDate
    bShortbool
    -

  • -
  • yearStringToInteger (sNum) -
    - -
    returns (int) iLength (int)
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    sNumTQString
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kdecore/KCalendarSystemFactory.html b/python/pykde/doc/classref/kdecore/KCalendarSystemFactory.html deleted file mode 100644 index 9c01d694..00000000 --- a/python/pykde/doc/classref/kdecore/KCalendarSystemFactory.html +++ /dev/null @@ -1,59 +0,0 @@ - - - - - class KCalendarSystemFactory - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KCalendarSystemFactory


-
- - - - - -
Table of contents
Modules
kdecore Classes
All Classes
-
- - - - - - - - - - -
Modulekdecore
ClassKCalendarSystemFactory
Inherits
-

methods

    -
  • KCalendarSystemFactory () -
    - -
    returns a KCalendarSystemFactory instance
    In versions KDE 3.2.0 and above only

  • -
  • calendarSystems () -
    - - -
    returns (TQStringList)
    In versions KDE 3.2.0 and above only
    static

  • -
  • create (calType = TQString .fromLatin1 ("gregorian" ), locale = 0) -
    - - -
    returns (KCalendarSystem)
    In versions KDE 3.2.0 and above only
    static
    - - -
    ArgumentTypeDefault
    calTypeTQStringTQString .fromLatin1 ("gregorian" )
    localeKLocale0
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kdecore/KCatalogue.html b/python/pykde/doc/classref/kdecore/KCatalogue.html deleted file mode 100644 index 35b6b798..00000000 --- a/python/pykde/doc/classref/kdecore/KCatalogue.html +++ /dev/null @@ -1,93 +0,0 @@ - - - - - class KCatalogue - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KCatalogue


-
- - - - - -
Table of contents
Modules
kdecore Classes
All Classes
-
- - - - - - - - - - -
Modulekdecore
ClassKCatalogue
Inherits
-

methods

    -
  • KCatalogue (name = TQString .null, language = TQString .null) -
    - -
    returns a KCatalogue instance
    In versions KDE 3.3.0 and above only
    - - -
    ArgumentTypeDefault
    nameTQStringTQString .null
    languageTQStringTQString .null
    -

  • -
  • KCatalogue (rhs) -
    -
    returns a KCatalogue instance
    - -
    ArgumentTypeDefault
    rhsKCatalogue
    -

  • -
  • KCatalogue (a0 = TQString .null) -
    - -
    returns a KCatalogue instance
    In versions less than KDE 3.3.0 only( D MANDRAKE only)
    - -
    ArgumentTypeDefault
    a0TQStringTQString .null
    -

  • -
  • language () -
    - -
    returns (TQString)
    In versions KDE 3.3.0 and above only

  • -
  • name () -
    -
    returns (TQString)

  • -
  • pluralType () -
    - -
    returns (int)
    In versions KDE 3.3.0 and above only

  • -
  • setFileName (a0) -
    - -
    returns nothing
    In versions less than KDE 3.3.0 only( D MANDRAKE only)
    - -
    ArgumentTypeDefault
    a0TQString
    -

  • -
  • setPluralType (pluralType) -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only
    - -
    ArgumentTypeDefault
    pluralTypeint
    -

  • -
  • translate (msgid) -
    -
    returns (char)
    - -
    ArgumentTypeDefault
    msgidchar
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kdecore/KCharMacroExpander.html b/python/pykde/doc/classref/kdecore/KCharMacroExpander.html deleted file mode 100644 index a37b47cc..00000000 --- a/python/pykde/doc/classref/kdecore/KCharMacroExpander.html +++ /dev/null @@ -1,75 +0,0 @@ - - - - - class KCharMacroExpander - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KCharMacroExpander


-
- - - - - -
Table of contents
Modules
kdecore Classes
All Classes
-
- - - - - - - - - - -
Modulekdecore
ClassKCharMacroExpander (abstract)
InheritsKMacroExpanderBase
-

methods

    -
  • KCharMacroExpander (c = '%') -
    - -
    returns a KCharMacroExpander instance
    In versions KDE 3.3.0 and above only
    - -
    ArgumentTypeDefault
    cTQChar'%'
    -

  • -
  • expandEscapedMacro (str, pos, ret) -
    - -
    returns (int)
    In versions KDE 3.3.0 and above only
    - - - -
    ArgumentTypeDefault
    strTQString
    posuint
    retTQStringList
    -

  • -
  • expandMacro (chr, ret) = 0 -
    - - -
    returns (bool)
    In versions KDE 3.3.0 and above only
    pure virtual
    - - -
    ArgumentTypeDefault
    chrTQChar
    retTQStringList
    -

  • -
  • expandPlainMacro (str, pos, ret) -
    - -
    returns (int)
    In versions KDE 3.3.0 and above only
    - - - -
    ArgumentTypeDefault
    strTQString
    posuint
    retTQStringList
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kdecore/KCharsets.html b/python/pykde/doc/classref/kdecore/KCharsets.html deleted file mode 100644 index d303a4f7..00000000 --- a/python/pykde/doc/classref/kdecore/KCharsets.html +++ /dev/null @@ -1,106 +0,0 @@ - - - - - class KCharsets - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KCharsets


-
- - - - - -
Table of contents
Modules
kdecore Classes
All Classes
-
- - - - - - - - - - -
Modulekdecore
ClassKCharsets
Inherits
-

methods

    -
  • KCharsets () -
    -
    returns a KCharsets instance

  • -
  • availableEncodingNames () -
    -
    returns (TQStringList)

  • -
  • codecForName (name) -
    -
    returns (TQTextCodec)
    - -
    ArgumentTypeDefault
    nameTQString
    -

  • -
  • codecForName (n) -
    -
    returns (TQTextCodec) ok (bool)
    - -
    ArgumentTypeDefault
    nTQString
    -

  • -
  • descriptiveEncodingNames () -
    -
    returns (TQStringList)

  • -
  • encodingForName (descriptiveName) -
    -
    returns (TQString)
    - -
    ArgumentTypeDefault
    descriptiveNameTQString
    -

  • -
  • encodingsForLanguage (a0) -
    Not Implemented
    -

  • -
  • fromEntity (str) -
    -
    returns (TQChar)
    - -
    ArgumentTypeDefault
    strTQString
    -

  • -
  • fromEntity (str) -
    -
    returns (TQChar) len (int)
    - -
    ArgumentTypeDefault
    strTQString
    -

  • -
  • languageForEncoding (encoding) -
    -
    returns (TQString)
    - -
    ArgumentTypeDefault
    encodingTQString
    -

  • -
  • languages () -
    Not Implemented
    -

  • -
  • resolveEntities (text) -
    - - -
    returns (TQString)
    In versions KDE 3.1.0 and above only
    static
    - -
    ArgumentTypeDefault
    textTQString
    -

  • -
  • toEntity (ch) -
    -
    returns (TQString)
    - -
    ArgumentTypeDefault
    chTQChar
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kdecore/KClipboardSynchronizer.html b/python/pykde/doc/classref/kdecore/KClipboardSynchronizer.html deleted file mode 100644 index 8af49020..00000000 --- a/python/pykde/doc/classref/kdecore/KClipboardSynchronizer.html +++ /dev/null @@ -1,84 +0,0 @@ - - - - - class KClipboardSynchronizer - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KClipboardSynchronizer


-
- - - - - -
Table of contents
Modules
kdecore Classes
All Classes
-
- - - - - - - - - - -
Modulekdecore
ClassKClipboardSynchronizer
InheritsTQObject
-

methods

    -
  • KClipboardSynchronizer (parent = 0, name = 0) -
    - -
    returns a KClipboardSynchronizer instance
    In versions KDE 3.1.0 and above only
    - - -
    ArgumentTypeDefault
    parentTQObject0
    namechar0
    -

  • -
  • isReverseSynchronizing () -
    - - -
    returns (bool)
    In versions KDE 3.1.0 and above only
    static

  • -
  • isSynchronizing () -
    - - -
    returns (bool)
    In versions KDE 3.1.0 and above only
    static

  • -
  • self () -
    - - -
    returns (KClipboardSynchronizer)
    In versions KDE 3.1.0 and above only
    static

  • -
  • setReverseSynchronizing (enable) -
    - - -
    returns nothing
    In versions KDE 3.1.0 and above only
    static
    - -
    ArgumentTypeDefault
    enablebool
    -

  • -
  • setSynchronizing (sync) -
    - - -
    returns nothing
    In versions KDE 3.1.0 and above only
    static
    - -
    ArgumentTypeDefault
    syncbool
    -

  • -
  • ~KClipboardSynchronizer () -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only

  • -
- - - diff --git a/python/pykde/doc/classref/kdecore/KCmdLineArgs.html b/python/pykde/doc/classref/kdecore/KCmdLineArgs.html deleted file mode 100644 index d71b0e29..00000000 --- a/python/pykde/doc/classref/kdecore/KCmdLineArgs.html +++ /dev/null @@ -1,220 +0,0 @@ - - - - - class KCmdLineArgs - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KCmdLineArgs


-
- - - - - -
Table of contents
Modules
kdecore Classes
All Classes
-
- - - - - - - - - - -
Modulekdecore
ClassKCmdLineArgs
Inherits
-

methods

    -
  • KCmdLineArgs (_options, _name, _id) -
    -
    returns a KCmdLineArgs instance
    - - - -
    ArgumentTypeDefault
    _optionsKCmdLineOptions
    _namechar
    _idchar
    -

  • -
  • addCmdLineOptions (options, name = 0, id = 0, afterId = 0) -
    - -
    returns nothing
    static
    - - - - -
    ArgumentTypeDefault
    optionsa Python list of tuples
    namechar0
    idchar0
    afterIdchar0
    -
    A Pytbon list of tuples (name, description, default) is the first parameter -instead of a KCmdLineOptions object (KCmdLineOptions is not used); -NULL (or None) parameters to mark the end of the list are not required -

  • -
  • addTempFileOption () -
    - - -
    returns nothing
    In versions KDE 3.4.0 and above only
    static

  • -
  • appName () -
    - -
    returns (char)
    static

  • -
  • arg (n) -
    -
    returns (char)
    - -
    ArgumentTypeDefault
    nint
    -

  • -
  • clear () -
    -
    returns nothing

  • -
  • count () -
    -
    returns (int)

  • -
  • cwd () -
    - -
    returns (TQString)
    static

  • -
  • enable_i18n () -
    - -
    returns nothing
    static

  • -
  • getOption (option) -
    -
    returns (TQCString)
    - -
    ArgumentTypeDefault
    optionchar
    -

  • -
  • getOptionList (option) -
    - -
    returns (QCStringList)
    In versions KDE 3.1.4 and above only
    - -
    ArgumentTypeDefault
    optionchar
    -

  • -
  • getOptionList (a0) -
    - -
    returns (TQValueList)
    In versions less than KDE 3.1.3 only
    - -
    ArgumentTypeDefault
    a0char
    -

  • -
  • init (_argc, _argv, _appname, programName, _description, _version, noKApp = 0) -
    - - -
    returns nothing
    In versions KDE 3.2.0 and above only
    static
    - - - - - - - -
    ArgumentTypeDefault
    _argcint
    _argvchar
    _appnamechar
    programNamechar
    _descriptionchar
    _versionchar
    noKAppbool0
    -

  • -
  • init (_argv, _appname, _description, _version, noKApp = False) -
    - -
    returns nothing
    static
    - - - - - -
    ArgumentTypeDefault
    _argva Python list of strings which may be modified
    _appnamechar
    _descriptionchar
    _versionchar
    noKAppboolFalse
    -

  • -
  • init (_argv, about, noKApp = 0) -
    - -
    returns nothing
    static
    - - - -
    ArgumentTypeDefault
    _argva Python list of strings which may be modified
    aboutKAboutData
    noKAppbool0
    -

  • -
  • init (about) -
    - -
    returns nothing
    static
    - -
    ArgumentTypeDefault
    aboutKAboutData
    -

  • -
  • isSet (option) -
    -
    returns (bool)
    - -
    ArgumentTypeDefault
    optionchar
    -

  • -
  • isTempFileSet () -
    - - -
    returns (bool)
    In versions KDE 3.4.0 and above only
    static

  • -
  • loadAppArgs (a0) -
    - - -
    returns nothing
    In versions KDE 3.2.0 and above only
    static
    - -
    ArgumentTypeDefault
    a0TQDataStream
    -

  • -
  • makeURL (urlArg) -
    - -
    returns (KURL)
    static
    - -
    ArgumentTypeDefault
    urlArgchar
    -

  • -
  • parsedArgs (id = 0) -
    - -
    returns (KCmdLineArgs)
    static
    - -
    ArgumentTypeDefault
    idchar0
    -

  • -
  • reset () -
    - - -
    returns nothing
    In versions KDE 3.2.0 and above only
    static

  • -
  • setCwd (cwd) -
    - -
    returns nothing
    static
    - -
    ArgumentTypeDefault
    cwdchar
    -

  • -
  • url (n) -
    -
    returns (KURL)
    - -
    ArgumentTypeDefault
    nint
    -

  • -
  • usage (id = 0) -
    - -
    returns nothing
    static
    - -
    ArgumentTypeDefault
    idchar0
    -

  • -
  • usage (error) -
    - -
    returns nothing
    static
    - -
    ArgumentTypeDefault
    errorTQString
    -

  • -
  • ~KCmdLineArgs () -
    -
    returns nothing

  • -
- - - diff --git a/python/pykde/doc/classref/kdecore/KCmdLineOptions.html b/python/pykde/doc/classref/kdecore/KCmdLineOptions.html deleted file mode 100644 index d5aad5b0..00000000 --- a/python/pykde/doc/classref/kdecore/KCmdLineOptions.html +++ /dev/null @@ -1,45 +0,0 @@ - - - - - class KCmdLineOptions - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KCmdLineOptions


-
- - - - - -
Table of contents
Modules
kdecore Classes
All Classes
-
- - - - - - - - - - -
Modulekdecore
ClassKCmdLineOptions
Inherits
-

variables

  • -variables - - - -
    VariableType
    defchar*
    descriptionchar*
    namechar*
- - - diff --git a/python/pykde/doc/classref/kdecore/KCodecs.html b/python/pykde/doc/classref/kdecore/KCodecs.html deleted file mode 100644 index 410c805a..00000000 --- a/python/pykde/doc/classref/kdecore/KCodecs.html +++ /dev/null @@ -1,182 +0,0 @@ - - - - - class KCodecs - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KCodecs


-
- - - - - -
Table of contents
Modules
kdecore Classes
All Classes
-
- - - - - - - - - - -
Modulekdecore
ClassKCodecs
Inherits
-

methods

    -
  • KCodecs () -
    -
    returns a KCodecs instance

  • -
  • base64Decode (in) -
    - -
    returns (TQCString)
    static
    - -
    ArgumentTypeDefault
    inTQByteArray
    -

  • -
  • base64Decode (str) -
    - -
    returns (TQCString)
    static
    - -
    ArgumentTypeDefault
    strTQCString
    -

  • -
  • base64Decode (in, out) -
    - -
    returns nothing
    static
    - - -
    ArgumentTypeDefault
    inTQByteArray
    outTQByteArray
    -

  • -
  • base64Encode (in, insertLFs) -
    - -
    returns (TQCString)
    static
    - - -
    ArgumentTypeDefault
    inTQByteArray
    insertLFsbool
    -

  • -
  • base64Encode (str, insertLFs) -
    - -
    returns (TQCString)
    static
    - - -
    ArgumentTypeDefault
    strTQCString
    insertLFsbool
    -

  • -
  • base64Encode (in, out, insertLFs) -
    - -
    returns nothing
    static
    - - - -
    ArgumentTypeDefault
    inTQByteArray
    outTQByteArray
    insertLFsbool
    -

  • -
  • quotedPrintableDecode (in) -
    - -
    returns (TQCString)
    static
    - -
    ArgumentTypeDefault
    inTQByteArray
    -

  • -
  • quotedPrintableDecode (str) -
    - -
    returns (TQCString)
    static
    - -
    ArgumentTypeDefault
    strTQCString
    -

  • -
  • quotedPrintableDecode (in, out) -
    - -
    returns nothing
    static
    - - -
    ArgumentTypeDefault
    inTQByteArray
    outTQByteArray
    -

  • -
  • quotedPrintableEncode (in, useCRLF) -
    - -
    returns (TQCString)
    static
    - - -
    ArgumentTypeDefault
    inTQByteArray
    useCRLFbool
    -

  • -
  • quotedPrintableEncode (str, useCRLF = 1) -
    - -
    returns (TQCString)
    static
    - - -
    ArgumentTypeDefault
    strTQCString
    useCRLFbool1
    -

  • -
  • quotedPrintableEncode (in, out, useCRLF) -
    - -
    returns nothing
    static
    - - - -
    ArgumentTypeDefault
    inTQByteArray
    outTQByteArray
    useCRLFbool
    -

  • -
  • uudecode (in) -
    - -
    returns (TQCString)
    static
    - -
    ArgumentTypeDefault
    inTQByteArray
    -

  • -
  • uudecode (str) -
    - -
    returns (TQCString)
    static
    - -
    ArgumentTypeDefault
    strTQCString
    -

  • -
  • uudecode (in, out) -
    - -
    returns nothing
    static
    - - -
    ArgumentTypeDefault
    inTQByteArray
    outTQByteArray
    -

  • -
  • uuencode (in) -
    - -
    returns (TQCString)
    static
    - -
    ArgumentTypeDefault
    inTQByteArray
    -

  • -
  • uuencode (str) -
    - -
    returns (TQCString)
    static
    - -
    ArgumentTypeDefault
    strTQCString
    -

  • -
  • uuencode (in, out) -
    - -
    returns nothing
    static
    - - -
    ArgumentTypeDefault
    inTQByteArray
    outTQByteArray
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kdecore/KCompletion.html b/python/pykde/doc/classref/kdecore/KCompletion.html deleted file mode 100644 index a10ae3b3..00000000 --- a/python/pykde/doc/classref/kdecore/KCompletion.html +++ /dev/null @@ -1,211 +0,0 @@ - - - - - class KCompletion - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KCompletion


-
- - - - - -
Table of contents
Modules
kdecore Classes
All Classes
-
- - - - - - - - - - -
Modulekdecore
ClassKCompletion
InheritsTQObject
-

enums

    -
  • CompOrder = {Sorted, Insertion, Weighted -}
-

methods

    -
  • KCompletion () -
    -
    returns a KCompletion instance

  • -
  • addItem (item) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    itemTQString
    -

  • -
  • addItem (item, weight) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    itemTQString
    weightuint
    -

  • -
  • allMatches () -
    -
    returns (TQStringList)

  • -
  • allMatches (string) -
    -
    returns (TQStringList)
    - -
    ArgumentTypeDefault
    stringTQString
    -

  • -
  • allWeightedMatches () -
    Not Implemented
    -

  • -
  • allWeightedMatches (string) -
    Not Implemented
    -

  • -
  • clear () -
    -
    returns nothing

  • -
  • completionMode () -
    -
    returns (KGlobalSettings.Completion)

  • -
  • disableSounds () -
    -
    returns nothing

  • -
  • enableSounds () -
    -
    returns nothing

  • -
  • hasMultipleMatches () -
    -
    returns (bool)

  • -
  • ignoreCase () -
    -
    returns (bool)

  • -
  • insertItems (items) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    itemsTQStringList
    -

  • -
  • isEmpty () -
    - -
    returns (bool)
    In versions KDE 3.3.0 and above only

  • -
  • isSoundsEnabled () -
    -
    returns (bool)

  • -
  • items () -
    -
    returns (TQStringList)

  • -
  • lastMatch () -
    -
    returns (TQString)

  • -
  • makeCompletion (string) -
    -
    returns (TQString)
    - -
    ArgumentTypeDefault
    stringTQString
    -

  • -
  • match (item) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    itemTQString
    -

  • -
  • matches (matchlist) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    matchlistTQStringList
    -

  • -
  • multipleMatches () -
    -
    returns nothing

  • -
  • nextMatch () -
    -
    returns (TQString)

  • -
  • order () -
    -
    returns (CompOrder)

  • -
  • postProcessMatch (match) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    matchTQString
    -

  • -
  • postProcessMatches (matches) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    matchesTQStringList
    -

  • -
  • postProcessMatches (matches) -
    Not Implemented
    -

  • -
  • previousMatch () -
    -
    returns (TQString)

  • -
  • removeItem (item) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    itemTQString
    -

  • -
  • setCompletionMode (mode) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    modeKGlobalSettings.Completion
    -

  • -
  • setEnableSounds (enable) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    enablebool
    -

  • -
  • setIgnoreCase (ignoreCase) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    ignoreCasebool
    -

  • -
  • setItems (list) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    listTQStringList
    -

  • -
  • setOrder (order) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    orderKCompletion.CompOrder
    -

  • -
  • slotMakeCompletion (string) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    stringTQString
    -

  • -
  • slotNextMatch () -
    -
    returns nothing

  • -
  • slotPreviousMatch () -
    -
    returns nothing

  • -
  • substringCompletion (string) -
    -
    returns (TQStringList)
    - -
    ArgumentTypeDefault
    stringTQString
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kdecore/KCompletionBase.html b/python/pykde/doc/classref/kdecore/KCompletionBase.html deleted file mode 100644 index c4ada8da..00000000 --- a/python/pykde/doc/classref/kdecore/KCompletionBase.html +++ /dev/null @@ -1,141 +0,0 @@ - - - - - class KCompletionBase - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KCompletionBase


-
- - - - - -
Table of contents
Modules
kdecore Classes
All Classes
-
- - - - - - - - - - -
Modulekdecore
ClassKCompletionBase (abstract)
Inherits
-

enums

    -
  • KeyBindingType = {TextCompletion, PrevCompletionMatch, NextCompletionMatch, SubstringCompletion -}
-

methods

    -
  • KCompletionBase () -
    -
    returns a KCompletionBase instance

  • -
  • compObj () -
    -
    returns (KCompletion)

  • -
  • completionMode () -
    -
    returns (KGlobalSettings.Completion)

  • -
  • completionObject (hsig = 1) -
    -
    returns (KCompletion)
    - -
    ArgumentTypeDefault
    hsigbool1
    -

  • -
  • delegate () -
    -
    returns (KCompletionBase)

  • -
  • emitSignals () -
    -
    returns (bool)

  • -
  • getKeyBinding (item) -
    -
    returns (KShortcut)
    - -
    ArgumentTypeDefault
    itemKCompletionBase.KeyBindingType
    -

  • -
  • getKeyBindings () -
    -
    returns (KCompletionBase.KeyBindingMap)

  • -
  • handleSignals () -
    -
    returns (bool)

  • -
  • isCompletionObjectAutoDeleted () -
    -
    returns (bool)

  • -
  • setAutoDeleteCompletionObject (autoDelete) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    autoDeletebool
    -

  • -
  • setCompletedItems (items) = 0 -
    - -
    returns nothing
    pure virtual
    - -
    ArgumentTypeDefault
    itemsTQStringList
    -

  • -
  • setCompletedText (text) = 0 -
    - -
    returns nothing
    pure virtual
    - -
    ArgumentTypeDefault
    textTQString
    -

  • -
  • setCompletionMode (mode) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    modeKGlobalSettings.Completion
    -

  • -
  • setCompletionObject (compObj, hsig = 1) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    compObjKCompletion
    hsigbool1
    -

  • -
  • setDelegate (delegate) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    delegateKCompletionBase
    -

  • -
  • setEnableSignals (enable) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    enablebool
    -

  • -
  • setHandleSignals (handle) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    handlebool
    -

  • -
  • setKeyBinding (item, key) -
    -
    returns (bool)
    - - -
    ArgumentTypeDefault
    itemKCompletionBase.KeyBindingType
    keyKShortcut
    -

  • -
  • useGlobalKeyBindings () -
    -
    returns nothing

  • -
- - - diff --git a/python/pykde/doc/classref/kdecore/KConfig.html b/python/pykde/doc/classref/kdecore/KConfig.html deleted file mode 100644 index 54e6442c..00000000 --- a/python/pykde/doc/classref/kdecore/KConfig.html +++ /dev/null @@ -1,149 +0,0 @@ - - - - - class KConfig - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KConfig


-
- - - - - -
Table of contents
Modules
kdecore Classes
All Classes
-
- - - - - - - - - - -
Modulekdecore
ClassKConfig
InheritsKConfigBase
-

methods

    -
  • KConfig (fileName = TQString .null, bReadOnly = 0, bUseKDEGlobals = 1, resType = "config") -
    -
    returns a KConfig instance
    - - - - -
    ArgumentTypeDefault
    fileNameTQStringTQString .null
    bReadOnlybool0
    bUseKDEGlobalsbool1
    resTypechar"config"
    -

  • -
  • KConfig (backEnd, bReadOnly = 0) -
    - -
    returns a KConfig instance
    In versions KDE 3.2.0 and above only
    - - -
    ArgumentTypeDefault
    backEndKConfigBackEnd
    bReadOnlybool0
    -

  • -
  • KConfig (a0) -
    -
    returns a KConfig instance
    - -
    ArgumentTypeDefault
    a0KConfig
    -

  • -
  • checkUpdate (id, updateFile) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - - -
    ArgumentTypeDefault
    idTQString
    updateFileTQString
    -

  • -
  • copyTo (file, config = 0) -
    - -
    returns (KConfig)
    In versions KDE 3.2.0 and above only
    - - -
    ArgumentTypeDefault
    fileTQString
    configKConfig0
    -

  • -
  • entryMap (pGroup) -
    -
    returns (TQMap)
    - -
    ArgumentTypeDefault
    pGroupTQString
    -

  • -
  • forceGlobal () -
    -
    returns (bool)

  • -
  • groupList () -
    -
    returns (TQStringList)

  • -
  • internalEntryMap (pGroup) -
    -
    returns (KEntryMap)
    - -
    ArgumentTypeDefault
    pGroupTQString
    -

  • -
  • internalEntryMap () -
    -
    returns (KEntryMap)

  • -
  • internalHasGroup (group) -
    -
    returns (bool)
    - -
    ArgumentTypeDefault
    groupTQCString
    -

  • -
  • lockFile (bGlobal = 0) -
    - -
    returns (KLockFile.Ptr)
    In versions KDE 3.3.0 and above only
    - -
    ArgumentTypeDefault
    bGlobalbool0
    -

  • -
  • lookupData (_key) -
    -
    returns (KEntry)
    - -
    ArgumentTypeDefault
    _keyKEntryKey
    -

  • -
  • putData (_key, _data, _checkGroup = 1) -
    -
    returns nothing
    - - - -
    ArgumentTypeDefault
    _keyKEntryKey
    _dataKEntry
    _checkGroupbool1
    -

  • -
  • reparseConfiguration () -
    -
    returns nothing

  • -
  • rollback (bDeep = 1) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    bDeepbool1
    -

  • -
  • setFileWriteMode (mode) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    modeint
    -

  • -
  • setForceGlobal (force) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    forcebool
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kdecore/KConfigBackEnd.html b/python/pykde/doc/classref/kdecore/KConfigBackEnd.html deleted file mode 100644 index f6bdf5d9..00000000 --- a/python/pykde/doc/classref/kdecore/KConfigBackEnd.html +++ /dev/null @@ -1,107 +0,0 @@ - - - - - class KConfigBackEnd - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KConfigBackEnd


-
- - - - - -
Table of contents
Modules
kdecore Classes
All Classes
-
- - - - - - - - - - -
Modulekdecore
ClassKConfigBackEnd (abstract)
Inherits
-

methods

    -
  • KConfigBackEnd (_config, _fileName, _resType, _useKDEGlobals) -
    -
    returns a KConfigBackEnd instance
    - - - - -
    ArgumentTypeDefault
    _configKConfigBase
    _fileNameTQString
    _resTypechar
    _useKDEGlobalsbool
    -

  • -
  • changeFileName (_fileName, _resType, _useKDEGlobals) -
    -
    returns nothing
    - - - -
    ArgumentTypeDefault
    _fileNameTQString
    _resTypechar
    _useKDEGlobalsbool
    -

  • -
  • checkConfigFilesWritable (warnUser) -
    - -
    returns (bool)
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    warnUserbool
    -

  • -
  • fileName () -
    -
    returns (TQString)

  • -
  • filename () -
    -
    returns (TQString)

  • -
  • getConfigState () -
    -
    returns (KConfigBase.ConfigState)

  • -
  • lockFile (bGlobal = 0) -
    - -
    returns (KLockFile.Ptr)
    In versions KDE 3.3.0 and above only
    - -
    ArgumentTypeDefault
    bGlobalbool0
    -

  • -
  • parseConfigFiles () = 0 -
    - -
    returns (bool)
    pure virtual

  • -
  • resource () -
    -
    returns (char)

  • -
  • setFileWriteMode (mode) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    modeint
    -

  • -
  • setLocaleString (_localeString) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    _localeStringTQCString
    -

  • -
  • sync (bMerge = 1) = 0 -
    - -
    returns nothing
    pure virtual
    - -
    ArgumentTypeDefault
    bMergebool1
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kdecore/KConfigBase.html b/python/pykde/doc/classref/kdecore/KConfigBase.html deleted file mode 100644 index fc4edf5a..00000000 --- a/python/pykde/doc/classref/kdecore/KConfigBase.html +++ /dev/null @@ -1,970 +0,0 @@ - - - - - class KConfigBase - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KConfigBase


-
- - - - - -
Table of contents
Modules
kdecore Classes
All Classes
-
- - - - - - - - - - -
Modulekdecore
ClassKConfigBase (abstract)
InheritsTQObject
-

enums

    -
  • ConfigState = {NoAccess, ReadOnly, ReadWrite -}
-

methods

    -
  • KConfigBase () -
    -
    returns a KConfigBase instance

  • -
  • checkConfigFilesWritable (warnUser) -
    - -
    returns (bool)
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    warnUserbool
    -

  • -
  • deleteEntry (pKey, bNLS = 0, bGlobal = 0) -
    -
    returns nothing
    - - - -
    ArgumentTypeDefault
    pKeyTQString
    bNLSbool0
    bGlobalbool0
    -

  • -
  • deleteEntry (pKey, bNLS = 0, bGlobal = 0) -
    -
    returns nothing
    - - - -
    ArgumentTypeDefault
    pKeychar
    bNLSbool0
    bGlobalbool0
    -

  • -
  • deleteGroup (group, bDeep = 1, bGlobal = 0) -
    -
    returns (bool)
    - - - -
    ArgumentTypeDefault
    groupTQString
    bDeepbool1
    bGlobalbool0
    -

  • -
  • entryIsImmutable (key) -
    -
    returns (bool)
    - -
    ArgumentTypeDefault
    keyTQString
    -

  • -
  • entryMap (group) = 0 -
    - -
    returns (TQMap)
    pure virtual
    - -
    ArgumentTypeDefault
    groupTQString
    -

  • -
  • getConfigState () -
    -
    returns (ConfigState)

  • -
  • group () -
    -
    returns (TQString)

  • -
  • groupIsImmutable (group) -
    -
    returns (bool)
    - -
    ArgumentTypeDefault
    groupTQString
    -

  • -
  • groupList () = 0 -
    - -
    returns (TQStringList)
    pure virtual

  • -
  • hasDefault (key) -
    - -
    returns (bool)
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    keyTQString
    -

  • -
  • hasGroup (group) -
    -
    returns (bool)
    - -
    ArgumentTypeDefault
    groupTQString
    -

  • -
  • hasGroup (_pGroup) -
    -
    returns (bool)
    - -
    ArgumentTypeDefault
    _pGroupTQCString
    -

  • -
  • hasGroup (_pGroup) -
    -
    returns (bool)
    - -
    ArgumentTypeDefault
    _pGroupchar
    -

  • -
  • hasKey (key) -
    -
    returns (bool)
    - -
    ArgumentTypeDefault
    keyTQString
    -

  • -
  • hasKey (pKey) -
    -
    returns (bool)
    - -
    ArgumentTypeDefault
    pKeychar
    -

  • -
  • internalEntryMap (pGroup) = 0 -
    - -
    returns (KEntryMap)
    pure virtual
    - -
    ArgumentTypeDefault
    pGroupTQString
    -

  • -
  • internalEntryMap () = 0 -
    - -
    returns (KEntryMap)
    pure virtual

  • -
  • internalHasGroup (group) = 0 -
    - -
    returns (bool)
    pure virtual
    - -
    ArgumentTypeDefault
    groupTQCString
    -

  • -
  • isDirty () -
    -
    returns (bool)

  • -
  • isDollarExpansion () -
    -
    returns (bool)

  • -
  • isImmutable () -
    -
    returns (bool)

  • -
  • isReadOnly () -
    -
    returns (bool)

  • -
  • locale () -
    -
    returns (TQString)

  • -
  • lookupData (_key) = 0 -
    - -
    returns (KEntry)
    pure virtual
    - -
    ArgumentTypeDefault
    _keyKEntryKey
    -

  • -
  • parseConfigFiles () -
    -
    returns nothing

  • -
  • putData (_key, _data, _checkGroup = 1) = 0 -
    - -
    returns nothing
    pure virtual
    - - - -
    ArgumentTypeDefault
    _keyKEntryKey
    _dataKEntry
    _checkGroupbool1
    -

  • -
  • readBoolEntry (pKey, bDefault = 0) -
    -
    returns (bool)
    - - -
    ArgumentTypeDefault
    pKeyTQString
    bDefaultbool0
    -

  • -
  • readBoolEntry (pKey, bDefault = 0) -
    -
    returns (bool)
    - - -
    ArgumentTypeDefault
    pKeychar
    bDefaultbool0
    -

  • -
  • readColorEntry (pKey, pDefault = 0) -
    -
    returns (TQColor)
    - - -
    ArgumentTypeDefault
    pKeyTQString
    pDefaultTQColor0
    -

  • -
  • readColorEntry (pKey, pDefault = 0) -
    -
    returns (TQColor)
    - - -
    ArgumentTypeDefault
    pKeychar
    pDefaultTQColor0
    -

  • -
  • readDateTimeEntry (pKey, pDefault = 0) -
    -
    returns (TQDateTime)
    - - -
    ArgumentTypeDefault
    pKeyTQString
    pDefaultTQDateTime0
    -

  • -
  • readDateTimeEntry (pKey, pDefault = 0) -
    -
    returns (TQDateTime)
    - - -
    ArgumentTypeDefault
    pKeychar
    pDefaultTQDateTime0
    -

  • -
  • readDefaults () -
    - -
    returns (bool)
    In versions KDE 3.2.0 and above only

  • -
  • readDoubleNumEntry (pKey, nDefault = 0.0) -
    -
    returns (double)
    - - -
    ArgumentTypeDefault
    pKeyTQString
    nDefaultdouble0.0
    -

  • -
  • readDoubleNumEntry (pKey, nDefault = 0.0) -
    -
    returns (double)
    - - -
    ArgumentTypeDefault
    pKeychar
    nDefaultdouble0.0
    -

  • -
  • readEntry (pKey, aDefault = TQString .null) -
    -
    returns (TQString)
    - - -
    ArgumentTypeDefault
    pKeyTQString
    aDefaultTQStringTQString .null
    -

  • -
  • readEntry (pKey, aDefault = TQString .null) -
    -
    returns (TQString)
    - - -
    ArgumentTypeDefault
    pKeychar
    aDefaultTQStringTQString .null
    -

  • -
  • readEntryUntranslated (pKey, aDefault = TQString .null) -
    -
    returns (TQString)
    - - -
    ArgumentTypeDefault
    pKeyTQString
    aDefaultTQStringTQString .null
    -

  • -
  • readEntryUntranslated (pKey, aDefault = TQString .null) -
    -
    returns (TQString)
    - - -
    ArgumentTypeDefault
    pKeychar
    aDefaultTQStringTQString .null
    -

  • -
  • readEntryUtf8 (pKey) -
    -
    returns (TQCString)
    - -
    ArgumentTypeDefault
    pKeychar
    -

  • -
  • readFontEntry (pKey, pDefault = 0) -
    -
    returns (TQFont)
    - - -
    ArgumentTypeDefault
    pKeyTQString
    pDefaultTQFont0
    -

  • -
  • readFontEntry (pKey, pDefault = 0) -
    -
    returns (TQFont)
    - - -
    ArgumentTypeDefault
    pKeychar
    pDefaultTQFont0
    -

  • -
  • readIntListEntry (pKey) -
    -
    returns (TQValueList)
    - -
    ArgumentTypeDefault
    pKeyTQString
    -

  • -
  • readIntListEntry (pKey) -
    -
    returns (TQValueList)
    - -
    ArgumentTypeDefault
    pKeychar
    -

  • -
  • readListEntry (pKey, list, sep = ',') -
    -
    returns (int)
    - - - -
    ArgumentTypeDefault
    pKeyTQString
    listTQStrList
    sepchar','
    -

  • -
  • readListEntry (pKey, list, sep = ',') -
    -
    returns (int)
    - - - -
    ArgumentTypeDefault
    pKeychar
    listTQStrList
    sepchar','
    -

  • -
  • readListEntry (pKey, sep = ',') -
    -
    returns (TQStringList)
    - - -
    ArgumentTypeDefault
    pKeyTQString
    sepchar','
    -

  • -
  • readListEntry (pKey, sep = ',') -
    -
    returns (TQStringList)
    - - -
    ArgumentTypeDefault
    pKeychar
    sepchar','
    -

  • -
  • readListEntry (pKey, aDefault, sep = ',') -
    - -
    returns (TQStringList)
    In versions KDE 3.3.0 and above only
    - - - -
    ArgumentTypeDefault
    pKeychar
    aDefaultTQStringList
    sepchar','
    -

  • -
  • readLongNumEntry (pKey, nDefault = 0) -
    -
    returns (long)
    - - -
    ArgumentTypeDefault
    pKeyTQString
    nDefaultlong0
    -

  • -
  • readLongNumEntry (pKey, nDefault = 0) -
    -
    returns (long)
    - - -
    ArgumentTypeDefault
    pKeychar
    nDefaultlong0
    -

  • -
  • readNum64Entry (pKey, nDefault = 0) -
    - -
    returns (longlong)
    In versions KDE 3.2.0 and above only
    - - -
    ArgumentTypeDefault
    pKeyTQString
    nDefaultlonglong0
    -

  • -
  • readNum64Entry (pKey, nDefault = 0) -
    - -
    returns (longlong)
    In versions KDE 3.2.0 and above only
    - - -
    ArgumentTypeDefault
    pKeychar
    nDefaultlonglong0
    -

  • -
  • readNumEntry (pKey, nDefault = 0) -
    -
    returns (int)
    - - -
    ArgumentTypeDefault
    pKeyTQString
    nDefaultint0
    -

  • -
  • readNumEntry (pKey, nDefault = 0) -
    -
    returns (int)
    - - -
    ArgumentTypeDefault
    pKeychar
    nDefaultint0
    -

  • -
  • readPathEntry (pKey, aDefault = TQString .null) -
    -
    returns (TQString)
    - - -
    ArgumentTypeDefault
    pKeyTQString
    aDefaultTQStringTQString .null
    -

  • -
  • readPathEntry (pKey, aDefault = TQString .null) -
    -
    returns (TQString)
    - - -
    ArgumentTypeDefault
    pKeychar
    aDefaultTQStringTQString .null
    -

  • -
  • readPathListEntry (pKey, sep = ',') -
    - -
    returns (TQStringList)
    In versions KDE 3.1.3 and above only
    - - -
    ArgumentTypeDefault
    pKeyTQString
    sepchar','
    -

  • -
  • readPathListEntry (pKey, sep = ',') -
    - -
    returns (TQStringList)
    In versions KDE 3.1.3 and above only
    - - -
    ArgumentTypeDefault
    pKeychar
    sepchar','
    -

  • -
  • readPointEntry (pKey, pDefault = 0) -
    -
    returns (TQPoint)
    - - -
    ArgumentTypeDefault
    pKeyTQString
    pDefaultTQPoint0
    -

  • -
  • readPointEntry (pKey, pDefault = 0) -
    -
    returns (TQPoint)
    - - -
    ArgumentTypeDefault
    pKeychar
    pDefaultTQPoint0
    -

  • -
  • readPropertyEntry (pKey, a0) -
    -
    returns (TQVariant)
    - - -
    ArgumentTypeDefault
    pKeyTQString
    a0TQVariant.Type
    -

  • -
  • readPropertyEntry (pKey, a0) -
    -
    returns (TQVariant)
    - - -
    ArgumentTypeDefault
    pKeychar
    a0TQVariant.Type
    -

  • -
  • readPropertyEntry (pKey, aDefault) -
    -
    returns (TQVariant)
    - - -
    ArgumentTypeDefault
    pKeyTQString
    aDefaultTQVariant
    -

  • -
  • readPropertyEntry (pKey, aDefault) -
    -
    returns (TQVariant)
    - - -
    ArgumentTypeDefault
    pKeychar
    aDefaultTQVariant
    -

  • -
  • readRectEntry (pKey, pDefault = 0) -
    -
    returns (TQRect)
    - - -
    ArgumentTypeDefault
    pKeyTQString
    pDefaultTQRect0
    -

  • -
  • readRectEntry (pKey, pDefault = 0) -
    -
    returns (TQRect)
    - - -
    ArgumentTypeDefault
    pKeychar
    pDefaultTQRect0
    -

  • -
  • readSizeEntry (pKey, pDefault = 0) -
    -
    returns (TQSize)
    - - -
    ArgumentTypeDefault
    pKeyTQString
    pDefaultTQSize0
    -

  • -
  • readSizeEntry (pKey, pDefault = 0) -
    -
    returns (TQSize)
    - - -
    ArgumentTypeDefault
    pKeychar
    pDefaultTQSize0
    -

  • -
  • readUnsignedLongNumEntry (pKey, nDefault = 0) -
    -
    returns (ulong)
    - - -
    ArgumentTypeDefault
    pKeyTQString
    nDefaultulong0
    -

  • -
  • readUnsignedLongNumEntry (pKey, nDefault = 0) -
    -
    returns (ulong)
    - - -
    ArgumentTypeDefault
    pKeychar
    nDefaultulong0
    -

  • -
  • readUnsignedNum64Entry (pKey, nDefault = 0) -
    - -
    returns (ulonglong)
    In versions KDE 3.2.0 and above only
    - - -
    ArgumentTypeDefault
    pKeyTQString
    nDefaultulonglong0
    -

  • -
  • readUnsignedNum64Entry (pKey, nDefault = 0) -
    - -
    returns (ulonglong)
    In versions KDE 3.2.0 and above only
    - - -
    ArgumentTypeDefault
    pKeychar
    nDefaultulonglong0
    -

  • -
  • readUnsignedNumEntry (pKey, nDefault = 0) -
    -
    returns (uint)
    - - -
    ArgumentTypeDefault
    pKeyTQString
    nDefaultuint0
    -

  • -
  • readUnsignedNumEntry (pKey, nDefault = 0) -
    -
    returns (uint)
    - - -
    ArgumentTypeDefault
    pKeychar
    nDefaultuint0
    -

  • -
  • reparseConfiguration () = 0 -
    - -
    returns nothing
    pure virtual

  • -
  • revertToDefault (key) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    keyTQString
    -

  • -
  • rollback (bDeep = 1) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    bDeepbool1
    -

  • -
  • setDesktopGroup () -
    -
    returns nothing

  • -
  • setDirty (_bDirty = 1) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    _bDirtybool1
    -

  • -
  • setDollarExpansion (_bExpand = 1) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    _bExpandbool1
    -

  • -
  • setGroup (group) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    groupTQString
    -

  • -
  • setGroup (pGroup) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    pGroupTQCString
    -

  • -
  • setGroup (pGroup) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    pGroupchar
    -

  • -
  • setLocale () -
    -
    returns nothing

  • -
  • setReadDefaults (b) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    bbool
    -

  • -
  • setReadOnly (_ro) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    _robool
    -

  • -
  • sync () -
    -
    returns nothing

  • -
  • writeEntry (pKey, pValue, bPersistent = 1, bGlobal = 0, bNLS = 0) -
    -
    returns nothing
    - - - - - -
    ArgumentTypeDefault
    pKeyTQString
    pValueTQString
    bPersistentbool1
    bGlobalbool0
    bNLSbool0
    -

  • -
  • writeEntry (pKey, pValue, bPersistent = 1, bGlobal = 0, bNLS = 0) -
    -
    returns nothing
    - - - - - -
    ArgumentTypeDefault
    pKeychar
    pValueTQString
    bPersistentbool1
    bGlobalbool0
    bNLSbool0
    -

  • -
  • writeEntry (pKey, pValue, bPersistent = 1, bGlobal = 0, bNLS = 0) -
    -
    returns nothing
    - - - - - -
    ArgumentTypeDefault
    pKeyTQString
    pValuechar
    bPersistentbool1
    bGlobalbool0
    bNLSbool0
    -

  • -
  • writeEntry (pKey, pValue, bPersistent = 1, bGlobal = 0, bNLS = 0) -
    -
    returns nothing
    - - - - - -
    ArgumentTypeDefault
    pKeychar
    pValuechar
    bPersistentbool1
    bGlobalbool0
    bNLSbool0
    -

  • -
  • writeEntry (pKey, nValue, bPersistent = 1, bGlobal = 0, bNLS = 0) -
    -
    returns nothing
    - - - - - -
    ArgumentTypeDefault
    pKeyTQString
    nValueint
    bPersistentbool1
    bGlobalbool0
    bNLSbool0
    -

  • -
  • writeEntry (pKey, nValue, bPersistent = 1, bGlobal = 0, bNLS = 0) -
    -
    returns nothing
    - - - - - -
    ArgumentTypeDefault
    pKeychar
    nValueint
    bPersistentbool1
    bGlobalbool0
    bNLSbool0
    -

  • -
  • writeEntry (pKey, nValue, bPersistent = 1, bGlobal = 0, bNLS = 0) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - - - - - -
    ArgumentTypeDefault
    pKeyTQString
    nValuelonglong
    bPersistentbool1
    bGlobalbool0
    bNLSbool0
    -

  • -
  • writeEntry (pKey, nValue, bPersistent = 1, bGlobal = 0, bNLS = 0) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - - - - - -
    ArgumentTypeDefault
    pKeychar
    nValuelonglong
    bPersistentbool1
    bGlobalbool0
    bNLSbool0
    -

  • -
  • writeEntry (pKey, nValue, bPersistent = 1, bGlobal = 0, bNLS = 0) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - - - - - -
    ArgumentTypeDefault
    pKeyTQString
    nValueulonglong
    bPersistentbool1
    bGlobalbool0
    bNLSbool0
    -

  • -
  • writeEntry (pKey, nValue, bPersistent = 1, bGlobal = 0, bNLS = 0) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - - - - - -
    ArgumentTypeDefault
    pKeychar
    nValueulonglong
    bPersistentbool1
    bGlobalbool0
    bNLSbool0
    -

  • -
  • writeEntry (pKey, nValue, bPersistent = 1, bGlobal = 0, format = 'g', precision = 6, bNLS = 0) -
    Not Implemented
    -

  • -
  • writeEntry (pKey, nValue, bPersistent = 1, bGlobal = 0, format = 'g', precision = 6, bNLS = 0) -
    Not Implemented
    -

  • -
  • writeEntry (pKey, rValue, bPersistent = 1, bGlobal = 0, bNLS = 0) -
    -
    returns nothing
    - - - - - -
    ArgumentTypeDefault
    pKeyTQString
    rValueTQVariant
    bPersistentbool1
    bGlobalbool0
    bNLSbool0
    -

  • -
  • writeEntry (pKey, rFont, bPersistent = 1, bGlobal = 0, bNLS = 0) -
    -
    returns nothing
    - - - - - -
    ArgumentTypeDefault
    pKeyTQString
    rFontTQFont
    bPersistentbool1
    bGlobalbool0
    bNLSbool0
    -

  • -
  • writeEntry (pKey, rFont, bPersistent = 1, bGlobal = 0, bNLS = 0) -
    -
    returns nothing
    - - - - - -
    ArgumentTypeDefault
    pKeychar
    rFontTQFont
    bPersistentbool1
    bGlobalbool0
    bNLSbool0
    -

  • -
  • writeEntry (pKey, rColor, bPersistent = 1, bGlobal = 0, bNLS = 0) -
    -
    returns nothing
    - - - - - -
    ArgumentTypeDefault
    pKeyTQString
    rColorTQColor
    bPersistentbool1
    bGlobalbool0
    bNLSbool0
    -

  • -
  • writeEntry (pKey, rColor, bPersistent = 1, bGlobal = 0, bNLS = 0) -
    -
    returns nothing
    - - - - - -
    ArgumentTypeDefault
    pKeychar
    rColorTQColor
    bPersistentbool1
    bGlobalbool0
    bNLSbool0
    -

  • -
  • writeEntry (pKey, rDateTime, bPersistent = 1, bGlobal = 0, bNLS = 0) -
    -
    returns nothing
    - - - - - -
    ArgumentTypeDefault
    pKeyTQString
    rDateTimeTQDateTime
    bPersistentbool1
    bGlobalbool0
    bNLSbool0
    -

  • -
  • writeEntry (pKey, rDateTime, bPersistent = 1, bGlobal = 0, bNLS = 0) -
    -
    returns nothing
    - - - - - -
    ArgumentTypeDefault
    pKeychar
    rDateTimeTQDateTime
    bPersistentbool1
    bGlobalbool0
    bNLSbool0
    -

  • -
  • writeEntry (pKey, rValue, bPersistent = 1, bGlobal = 0, bNLS = 0) -
    -
    returns nothing
    - - - - - -
    ArgumentTypeDefault
    pKeyTQString
    rValueTQRect
    bPersistentbool1
    bGlobalbool0
    bNLSbool0
    -

  • -
  • writeEntry (pKey, rValue, bPersistent = 1, bGlobal = 0, bNLS = 0) -
    -
    returns nothing
    - - - - - -
    ArgumentTypeDefault
    pKeychar
    rValueTQRect
    bPersistentbool1
    bGlobalbool0
    bNLSbool0
    -

  • -
  • writeEntry (pKey, rValue, bPersistent = 1, bGlobal = 0, bNLS = 0) -
    -
    returns nothing
    - - - - - -
    ArgumentTypeDefault
    pKeyTQString
    rValueTQPoint
    bPersistentbool1
    bGlobalbool0
    bNLSbool0
    -

  • -
  • writeEntry (pKey, rValue, bPersistent = 1, bGlobal = 0, bNLS = 0) -
    -
    returns nothing
    - - - - - -
    ArgumentTypeDefault
    pKeychar
    rValueTQPoint
    bPersistentbool1
    bGlobalbool0
    bNLSbool0
    -

  • -
  • writeEntry (pKey, rValue, bPersistent = 1, bGlobal = 0, bNLS = 0) -
    -
    returns nothing
    - - - - - -
    ArgumentTypeDefault
    pKeychar
    rValueTQVariant
    bPersistentbool1
    bGlobalbool0
    bNLSbool0
    -

  • -
  • writeEntry (pKey, rValue, bPersistent = 1, bGlobal = 0, bNLS = 0) -
    -
    returns nothing
    - - - - - -
    ArgumentTypeDefault
    pKeyTQString
    rValueTQSize
    bPersistentbool1
    bGlobalbool0
    bNLSbool0
    -

  • -
  • writeEntry (pKey, rValue, bPersistent = 1, bGlobal = 0, bNLS = 0) -
    -
    returns nothing
    - - - - - -
    ArgumentTypeDefault
    pKeychar
    rValueTQSize
    bPersistentbool1
    bGlobalbool0
    bNLSbool0
    -

  • -
  • writeEntry (pKey, rValue, sep = ',', bPersistent = 1, bGlobal = 0, bNLS = 0) -
    -
    returns nothing
    - - - - - - -
    ArgumentTypeDefault
    pKeyTQString
    rValueTQStrList
    sepchar','
    bPersistentbool1
    bGlobalbool0
    bNLSbool0
    -

  • -
  • writeEntry (pKey, rValue, sep = ',', bPersistent = 1, bGlobal = 0, bNLS = 0) -
    -
    returns nothing
    - - - - - - -
    ArgumentTypeDefault
    pKeychar
    rValueTQStrList
    sepchar','
    bPersistentbool1
    bGlobalbool0
    bNLSbool0
    -

  • -
  • writeEntry (pKey, rValue, sep = ',', bPersistent = 1, bGlobal = 0, bNLS = 0) -
    -
    returns nothing
    - - - - - - -
    ArgumentTypeDefault
    pKeyTQString
    rValueTQStringList
    sepchar','
    bPersistentbool1
    bGlobalbool0
    bNLSbool0
    -

  • -
  • writeEntry (pKey, rValue, sep = ',', bPersistent = 1, bGlobal = 0, bNLS = 0) -
    -
    returns nothing
    - - - - - - -
    ArgumentTypeDefault
    pKeychar
    rValueTQStringList
    sepchar','
    bPersistentbool1
    bGlobalbool0
    bNLSbool0
    -

  • -
  • writeEntry (pKey, rValue, bPersistent = 1, bGlobal = 0, bNLS = 0) -
    -
    returns nothing
    - - - - - -
    ArgumentTypeDefault
    pKeyTQString
    rValueTQValueList
    bPersistentbool1
    bGlobalbool0
    bNLSbool0
    -

  • -
  • writeEntry (pKey, rValue, bPersistent = 1, bGlobal = 0, bNLS = 0) -
    -
    returns nothing
    - - - - - -
    ArgumentTypeDefault
    pKeychar
    rValueTQValueList
    bPersistentbool1
    bGlobalbool0
    bNLSbool0
    -

  • -
  • writePathEntry (pKey, path, bPersistent = 1, bGlobal = 0, bNLS = 0) -
    -
    returns nothing
    - - - - - -
    ArgumentTypeDefault
    pKeyTQString
    pathTQString
    bPersistentbool1
    bGlobalbool0
    bNLSbool0
    -

  • -
  • writePathEntry (pKey, path, bPersistent = 1, bGlobal = 0, bNLS = 0) -
    -
    returns nothing
    - - - - - -
    ArgumentTypeDefault
    pKeychar
    pathTQString
    bPersistentbool1
    bGlobalbool0
    bNLSbool0
    -

  • -
  • writePathEntry (pKey, rValue, sep = ',', bPersistent = 1, bGlobal = 0, bNLS = 0) -
    - -
    returns nothing
    In versions KDE 3.1.3 and above only
    - - - - - - -
    ArgumentTypeDefault
    pKeyTQString
    rValueTQStringList
    sepchar','
    bPersistentbool1
    bGlobalbool0
    bNLSbool0
    -

  • -
  • writePathEntry (pKey, rValue, sep = ',', bPersistent = 1, bGlobal = 0, bNLS = 0) -
    - -
    returns nothing
    In versions KDE 3.1.3 and above only
    - - - - - - -
    ArgumentTypeDefault
    pKeychar
    rValueTQStringList
    sepchar','
    bPersistentbool1
    bGlobalbool0
    bNLSbool0
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kdecore/KConfigDialogManager.html b/python/pykde/doc/classref/kdecore/KConfigDialogManager.html deleted file mode 100644 index 7719a94c..00000000 --- a/python/pykde/doc/classref/kdecore/KConfigDialogManager.html +++ /dev/null @@ -1,130 +0,0 @@ - - - - - class KConfigDialogManager - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KConfigDialogManager


-
- - - - - -
Table of contents
Modules
kdecore Classes
All Classes
-
- - - - - - - - - - -
Modulekdecore
ClassKConfigDialogManager
InheritsTQObject
-

methods

    -
  • KConfigDialogManager (parent, conf, name = 0) -
    - -
    returns a KConfigDialogManager instance
    In versions KDE 3.2.0 and above only
    - - - -
    ArgumentTypeDefault
    parentTQWidget
    confKConfigSkeleton
    namechar0
    -

  • -
  • addWidget (widget) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    widgetTQWidget
    -

  • -
  • hasChanged () -
    - -
    returns (bool)
    In versions KDE 3.2.0 and above only

  • -
  • init (trackChanges) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    trackChangesbool
    -

  • -
  • isDefault () -
    - -
    returns (bool)
    In versions KDE 3.2.0 and above only

  • -
  • parseChildren (widget, trackChanges) -
    - -
    returns (bool)
    In versions KDE 3.2.0 and above only
    - - -
    ArgumentTypeDefault
    widgetTQWidget
    trackChangesbool
    -

  • -
  • property (w) -
    - -
    returns (TQVariant)
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    wTQWidget
    -

  • -
  • setProperty (w, v) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - - -
    ArgumentTypeDefault
    wTQWidget
    vTQVariant
    -

  • -
  • settingsChanged () -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only

  • -
  • settingsChanged (widget) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    widgetTQWidget
    -

  • -
  • setupWidget (widget, item) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - - -
    ArgumentTypeDefault
    widgetTQWidget
    itemKConfigSkeletonItem
    -

  • -
  • updateSettings () -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only

  • -
  • updateWidgets () -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only

  • -
  • updateWidgetsDefault () -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only

  • -
  • widgetModified () -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only

  • -
- - - diff --git a/python/pykde/doc/classref/kdecore/KConfigGroup.html b/python/pykde/doc/classref/kdecore/KConfigGroup.html deleted file mode 100644 index ef8fbff2..00000000 --- a/python/pykde/doc/classref/kdecore/KConfigGroup.html +++ /dev/null @@ -1,95 +0,0 @@ - - - - - class KConfigGroup - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KConfigGroup


-
- - - - - -
Table of contents
Modules
kdecore Classes
All Classes
-
- - - - - - - - - - -
Modulekdecore
ClassKConfigGroup
InheritsKConfigBase
-

methods

    -
  • KConfigGroup (master, group) -
    -
    returns a KConfigGroup instance
    - - -
    ArgumentTypeDefault
    masterKConfigBase
    groupTQCString
    -

  • -
  • KConfigGroup (master, group) -
    -
    returns a KConfigGroup instance
    - - -
    ArgumentTypeDefault
    masterKConfigBase
    groupTQString
    -

  • -
  • KConfigGroup (master, group) -
    -
    returns a KConfigGroup instance
    - - -
    ArgumentTypeDefault
    masterKConfigBase
    groupchar
    -

  • -
  • deleteGroup (bGlobal = 0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    bGlobalbool0
    -

  • -
  • groupIsImmutable () -
    - -
    returns (bool)
    In versions KDE 3.4.0 and above only

  • -
  • lookupData (_key) -
    -
    returns (KEntry)
    - -
    ArgumentTypeDefault
    _keyKEntryKey
    -

  • -
  • putData (_key, _data, _checkGroup = 1) -
    -
    returns nothing
    - - - -
    ArgumentTypeDefault
    _keyKEntryKey
    _dataKEntry
    _checkGroupbool1
    -

  • -
  • setDirty (b) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    bbool
    -

  • -
  • sync () -
    -
    returns nothing

  • -
- - - diff --git a/python/pykde/doc/classref/kdecore/KConfigGroupSaver.html b/python/pykde/doc/classref/kdecore/KConfigGroupSaver.html deleted file mode 100644 index 7ae10642..00000000 --- a/python/pykde/doc/classref/kdecore/KConfigGroupSaver.html +++ /dev/null @@ -1,71 +0,0 @@ - - - - - class KConfigGroupSaver - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KConfigGroupSaver


-
- - - - - -
Table of contents
Modules
kdecore Classes
All Classes
-
- - - - - - - - - - -
Modulekdecore
ClassKConfigGroupSaver
Inherits
-

methods

    -
  • KConfigGroupSaver (config, group) -
    -
    returns a KConfigGroupSaver instance
    - - -
    ArgumentTypeDefault
    configKConfigBase
    groupTQString
    -

  • -
  • KConfigGroupSaver (config, group) -
    -
    returns a KConfigGroupSaver instance
    - - -
    ArgumentTypeDefault
    configKConfigBase
    groupchar
    -

  • -
  • KConfigGroupSaver (config, group) -
    -
    returns a KConfigGroupSaver instance
    - - -
    ArgumentTypeDefault
    configKConfigBase
    groupTQCString
    -

  • -
  • KConfigGroupSaver (a0) -
    -
    returns a KConfigGroupSaver instance
    - -
    ArgumentTypeDefault
    a0KConfigGroupSaver
    -

  • -
  • config () -
    -
    returns (KConfigBase)

  • -
- - - diff --git a/python/pykde/doc/classref/kdecore/KConfigINIBackEnd.html b/python/pykde/doc/classref/kdecore/KConfigINIBackEnd.html deleted file mode 100644 index 41082d54..00000000 --- a/python/pykde/doc/classref/kdecore/KConfigINIBackEnd.html +++ /dev/null @@ -1,88 +0,0 @@ - - - - - class KConfigINIBackEnd - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KConfigINIBackEnd


-
- - - - - -
Table of contents
Modules
kdecore Classes
All Classes
-
- - - - - - - - - - -
Modulekdecore
ClassKConfigINIBackEnd
InheritsKConfigBackEnd
-

methods

    -
  • KConfigINIBackEnd (_config, _fileName, _resType, _useKDEGlobals = 1) -
    -
    returns a KConfigINIBackEnd instance
    - - - - -
    ArgumentTypeDefault
    _configKConfigBase
    _fileNameTQString
    _resTypechar
    _useKDEGlobalsbool1
    -

  • -
  • getEntryMap (map, bGlobal, mergeFile) -
    - -
    returns (bool)
    In versions KDE 3.2.0 and above only
    - - - -
    ArgumentTypeDefault
    mapKEntryMap
    bGlobalbool
    mergeFileTQFile
    -

  • -
  • parseConfigFiles () -
    -
    returns (bool)

  • -
  • parseSingleConfigFile (rFile, pWriteBackMap = 0, bGlobal = 0, bDefault = 0) -
    -
    returns nothing
    - - - - -
    ArgumentTypeDefault
    rFileTQFile
    pWriteBackMapKEntryMap0
    bGlobalbool0
    bDefaultbool0
    -

  • -
  • sync (bMerge = 1) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    bMergebool1
    -

  • -
  • writeConfigFile (filename, bGlobal = 0, bMerge = 1) -
    -
    returns (bool)
    - - - -
    ArgumentTypeDefault
    filenameTQString
    bGlobalbool0
    bMergebool1
    -

  • -
  • writeEntries (pStream, aTempMap) -
    Not Implemented
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kdecore/KConfigSkeleton.ItemBool.html b/python/pykde/doc/classref/kdecore/KConfigSkeleton.ItemBool.html deleted file mode 100644 index 3100fbec..00000000 --- a/python/pykde/doc/classref/kdecore/KConfigSkeleton.ItemBool.html +++ /dev/null @@ -1,96 +0,0 @@ - - - - - class KConfigSkeleton.ItemBool - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KConfigSkeleton.ItemBool


-
- - - - - -
Table of contents
Modules
kdecore Classes
All Classes
-
- - - - - - - - - - -
Modulekdecore
ClassKConfigSkeleton.ItemBool
InheritsKConfigSkeletonItem
-

methods

    -
  • ItemBool (group, key, reference, defaultValue = 1) -
    - -
    returns a ItemBool instance
    In versions KDE 3.2.0 and above only
    - - - - -
    ArgumentTypeDefault
    groupTQString
    keyTQString
    referencebool
    defaultValuebool1
    -

  • -
  • property () -
    - -
    returns (TQVariant)
    In versions KDE 3.2.0 and above only

  • -
  • readConfig (a0) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    a0KConfig
    -

  • -
  • setDefault () -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only

  • -
  • setDefaultValue () -
    - -
    returns a0 (bool)
    In versions KDE 3.2.0 and above only

  • -
  • setProperty (a0) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    a0TQVariant
    -

  • -
  • setValue () -
    - -
    returns a0 (bool)
    In versions KDE 3.2.0 and above only

  • -
  • swapDefault () -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only

  • -
  • value () -
    - -
    returns (bool)
    In versions KDE 3.2.0 and above only

  • -
  • writeConfig (a0) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    a0KConfig
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kdecore/KConfigSkeleton.ItemColor.html b/python/pykde/doc/classref/kdecore/KConfigSkeleton.ItemColor.html deleted file mode 100644 index 1698a962..00000000 --- a/python/pykde/doc/classref/kdecore/KConfigSkeleton.ItemColor.html +++ /dev/null @@ -1,102 +0,0 @@ - - - - - class KConfigSkeleton.ItemColor - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KConfigSkeleton.ItemColor


-
- - - - - -
Table of contents
Modules
kdecore Classes
All Classes
-
- - - - - - - - - - -
Modulekdecore
ClassKConfigSkeleton.ItemColor
InheritsKConfigSkeletonItem
-

methods

    -
  • ItemColor (a0, a1, a2, a3 = TQColor (128 ,128 ,128 )) -
    - -
    returns a ItemColor instance
    In versions KDE 3.2.0 and above only
    - - - - -
    ArgumentTypeDefault
    a0TQString
    a1TQString
    a2TQColor
    a3TQColorTQColor (128 ,128 ,128 )
    -

  • -
  • property () -
    - -
    returns (TQVariant)
    In versions KDE 3.2.0 and above only

  • -
  • readConfig (a0) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    a0KConfig
    -

  • -
  • setDefault () -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only

  • -
  • setDefaultValue (a0) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    a0TQColor
    -

  • -
  • setProperty (a0) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    a0TQVariant
    -

  • -
  • setValue (a0) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    a0TQColor
    -

  • -
  • swapDefault () -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only

  • -
  • value () -
    - -
    returns (TQColor)
    In versions KDE 3.2.0 and above only

  • -
  • writeConfig (a0) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    a0KConfig
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kdecore/KConfigSkeleton.ItemDateTime.html b/python/pykde/doc/classref/kdecore/KConfigSkeleton.ItemDateTime.html deleted file mode 100644 index 6157ebf2..00000000 --- a/python/pykde/doc/classref/kdecore/KConfigSkeleton.ItemDateTime.html +++ /dev/null @@ -1,102 +0,0 @@ - - - - - class KConfigSkeleton.ItemDateTime - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KConfigSkeleton.ItemDateTime


-
- - - - - -
Table of contents
Modules
kdecore Classes
All Classes
-
- - - - - - - - - - -
Modulekdecore
ClassKConfigSkeleton.ItemDateTime
InheritsKConfigSkeletonItem
-

methods

    -
  • ItemDateTime (a0, a1, a2, a3 = TQDateTime ()) -
    - -
    returns a ItemDateTime instance
    In versions KDE 3.2.0 and above only
    - - - - -
    ArgumentTypeDefault
    a0TQString
    a1TQString
    a2TQDateTime
    a3TQDateTimeTQDateTime ()
    -

  • -
  • property () -
    - -
    returns (TQVariant)
    In versions KDE 3.2.0 and above only

  • -
  • readConfig (a0) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    a0KConfig
    -

  • -
  • setDefault () -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only

  • -
  • setDefaultValue (a0) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    a0TQDateTime
    -

  • -
  • setProperty (a0) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    a0TQVariant
    -

  • -
  • setValue (a0) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    a0TQDateTime
    -

  • -
  • swapDefault () -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only

  • -
  • value () -
    - -
    returns (TQDateTime)
    In versions KDE 3.2.0 and above only

  • -
  • writeConfig (a0) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    a0KConfig
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kdecore/KConfigSkeleton.ItemDouble.html b/python/pykde/doc/classref/kdecore/KConfigSkeleton.ItemDouble.html deleted file mode 100644 index 96ecbef6..00000000 --- a/python/pykde/doc/classref/kdecore/KConfigSkeleton.ItemDouble.html +++ /dev/null @@ -1,118 +0,0 @@ - - - - - class KConfigSkeleton.ItemDouble - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KConfigSkeleton.ItemDouble


-
- - - - - -
Table of contents
Modules
kdecore Classes
All Classes
-
- - - - - - - - - - -
Modulekdecore
ClassKConfigSkeleton.ItemDouble
InheritsKConfigSkeletonItem
-

methods

    -
  • ItemDouble (group, key, reference, defaultValue = 0) -
    - -
    returns a ItemDouble instance
    In versions KDE 3.2.0 and above only
    - - - - -
    ArgumentTypeDefault
    groupTQString
    keyTQString
    referencedouble
    defaultValuedouble0
    -

  • -
  • maxValue () -
    - -
    returns (TQVariant)
    In versions KDE 3.2.0 and above only

  • -
  • minValue () -
    - -
    returns (TQVariant)
    In versions KDE 3.2.0 and above only

  • -
  • property () -
    - -
    returns (TQVariant)
    In versions KDE 3.2.0 and above only

  • -
  • readConfig (a0) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    a0KConfig
    -

  • -
  • setDefault () -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only

  • -
  • setDefaultValue () -
    - -
    returns a0 (double)
    In versions KDE 3.2.0 and above only

  • -
  • setMaxValue (a0) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    a0double
    -

  • -
  • setMinValue (a0) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    a0double
    -

  • -
  • setProperty (a0) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    a0TQVariant
    -

  • -
  • setValue () -
    - -
    returns a0 (double)
    In versions KDE 3.2.0 and above only

  • -
  • swapDefault () -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only

  • -
  • value () -
    - -
    returns (double)
    In versions KDE 3.2.0 and above only

  • -
  • writeConfig (a0) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    a0KConfig
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kdecore/KConfigSkeleton.ItemEnum.Choice.html b/python/pykde/doc/classref/kdecore/KConfigSkeleton.ItemEnum.Choice.html deleted file mode 100644 index 2cd6f14a..00000000 --- a/python/pykde/doc/classref/kdecore/KConfigSkeleton.ItemEnum.Choice.html +++ /dev/null @@ -1,45 +0,0 @@ - - - - - class KConfigSkeleton.ItemEnum.Choice - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KConfigSkeleton.ItemEnum.Choice


-
- - - - - -
Table of contents
Modules
kdecore Classes
All Classes
-
- - - - - - - - - - -
Modulekdecore
ClassKConfigSkeleton.ItemEnum.Choice
Inherits
-

variables

  • -variables - - - -
    VariableType
    labelTQString
    nameTQString
    whatsThisTQString
- - - diff --git a/python/pykde/doc/classref/kdecore/KConfigSkeleton.ItemEnum.html b/python/pykde/doc/classref/kdecore/KConfigSkeleton.ItemEnum.html deleted file mode 100644 index 8f3a784a..00000000 --- a/python/pykde/doc/classref/kdecore/KConfigSkeleton.ItemEnum.html +++ /dev/null @@ -1,90 +0,0 @@ - - - - - class KConfigSkeleton.ItemEnum - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KConfigSkeleton.ItemEnum


-
- - - - - -
Table of contents
Modules
kdecore Classes
All Classes
-
- - - - - - - - - - -
Modulekdecore
ClassKConfigSkeleton.ItemEnum
InheritsKConfigSkeleton.ItemInt
-

methods

    -
  • ItemEnum (group, key, reference, choices, defaultValue = 1) -
    - -
    returns a ItemEnum instance
    In versions KDE 3.2.0 and above only
    - - - - - -
    ArgumentTypeDefault
    groupTQString
    keyTQString
    referenceint
    choicesTQValueList
    defaultValueint1
    -

  • -
  • choices () -
    - -
    returns (TQValueList)
    In versions KDE 3.2.0 and above only

  • -
  • readConfig (config) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    configKConfig
    -

  • -
  • setDefault () -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only

  • -
  • setDefaultValue () -
    - -
    returns a0 (int)
    In versions KDE 3.2.0 and above only

  • -
  • setValue () -
    - -
    returns a0 (int)
    In versions KDE 3.2.0 and above only

  • -
  • swapDefault () -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only

  • -
  • value () -
    - -
    returns (int)
    In versions KDE 3.2.0 and above only

  • -
  • writeConfig (config) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    configKConfig
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kdecore/KConfigSkeleton.ItemFont.html b/python/pykde/doc/classref/kdecore/KConfigSkeleton.ItemFont.html deleted file mode 100644 index 80716eeb..00000000 --- a/python/pykde/doc/classref/kdecore/KConfigSkeleton.ItemFont.html +++ /dev/null @@ -1,102 +0,0 @@ - - - - - class KConfigSkeleton.ItemFont - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KConfigSkeleton.ItemFont


-
- - - - - -
Table of contents
Modules
kdecore Classes
All Classes
-
- - - - - - - - - - -
Modulekdecore
ClassKConfigSkeleton.ItemFont
InheritsKConfigSkeletonItem
-

methods

    -
  • ItemFont (a0, a1, a2, a3 = KGlobalSettings .generalFont ()) -
    - -
    returns a ItemFont instance
    In versions KDE 3.2.0 and above only
    - - - - -
    ArgumentTypeDefault
    a0TQString
    a1TQString
    a2TQFont
    a3TQFontKGlobalSettings .generalFont ()
    -

  • -
  • property () -
    - -
    returns (TQVariant)
    In versions KDE 3.2.0 and above only

  • -
  • readConfig (a0) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    a0KConfig
    -

  • -
  • setDefault () -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only

  • -
  • setDefaultValue (a0) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    a0TQFont
    -

  • -
  • setProperty (a0) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    a0TQVariant
    -

  • -
  • setValue (a0) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    a0TQFont
    -

  • -
  • swapDefault () -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only

  • -
  • value () -
    - -
    returns (TQFont)
    In versions KDE 3.2.0 and above only

  • -
  • writeConfig (a0) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    a0KConfig
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kdecore/KConfigSkeleton.ItemInt.html b/python/pykde/doc/classref/kdecore/KConfigSkeleton.ItemInt.html deleted file mode 100644 index b3a99ff9..00000000 --- a/python/pykde/doc/classref/kdecore/KConfigSkeleton.ItemInt.html +++ /dev/null @@ -1,118 +0,0 @@ - - - - - class KConfigSkeleton.ItemInt - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KConfigSkeleton.ItemInt


-
- - - - - -
Table of contents
Modules
kdecore Classes
All Classes
-
- - - - - - - - - - -
Modulekdecore
ClassKConfigSkeleton.ItemInt
InheritsKConfigSkeletonItem
-

methods

    -
  • ItemInt (group, key, reference, defaultValue = 1) -
    - -
    returns a ItemInt instance
    In versions KDE 3.2.0 and above only
    - - - - -
    ArgumentTypeDefault
    groupTQString
    keyTQString
    referenceint
    defaultValueint1
    -

  • -
  • maxValue () -
    - -
    returns (TQVariant)
    In versions KDE 3.2.0 and above only

  • -
  • minValue () -
    - -
    returns (TQVariant)
    In versions KDE 3.2.0 and above only

  • -
  • property () -
    - -
    returns (TQVariant)
    In versions KDE 3.2.0 and above only

  • -
  • readConfig (a0) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    a0KConfig
    -

  • -
  • setDefault () -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only

  • -
  • setDefaultValue () -
    - -
    returns a0 (int)
    In versions KDE 3.2.0 and above only

  • -
  • setMaxValue (a0) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    a0int
    -

  • -
  • setMinValue (a0) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    a0int
    -

  • -
  • setProperty (a0) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    a0TQVariant
    -

  • -
  • setValue () -
    - -
    returns a0 (int)
    In versions KDE 3.2.0 and above only

  • -
  • swapDefault () -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only

  • -
  • value () -
    - -
    returns (int)
    In versions KDE 3.2.0 and above only

  • -
  • writeConfig (a0) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    a0KConfig
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kdecore/KConfigSkeleton.ItemInt64.html b/python/pykde/doc/classref/kdecore/KConfigSkeleton.ItemInt64.html deleted file mode 100644 index 59f0582f..00000000 --- a/python/pykde/doc/classref/kdecore/KConfigSkeleton.ItemInt64.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - class KConfigSkeleton.ItemInt64 - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KConfigSkeleton.ItemInt64


-
- - - - - -
Table of contents
Modules
kdecore Classes
All Classes
-
- - - - - - - - - - -
Modulekdecore
ClassKConfigSkeleton.ItemInt64
InheritsKConfigSkeletonItem
-

methods

    -
  • ItemInt64 (group, key, reference, defaultValue = 0) -
    - -
    returns a ItemInt64 instance
    In versions KDE 3.2.0 and above only
    - - - - -
    ArgumentTypeDefault
    groupTQString
    keyTQString
    referencelonglong
    defaultValuelonglong0
    -

  • -
  • maxValue () -
    - -
    returns (TQVariant)
    In versions KDE 3.2.0 and above only

  • -
  • minValue () -
    - -
    returns (TQVariant)
    In versions KDE 3.2.0 and above only

  • -
  • property () -
    - -
    returns (TQVariant)
    In versions KDE 3.2.0 and above only

  • -
  • readConfig (a0) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    a0KConfig
    -

  • -
  • setDefault () -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only

  • -
  • setDefaultValue (a0) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    a0longlong
    -

  • -
  • setMaxValue (a0) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    a0longlong
    -

  • -
  • setMinValue (a0) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    a0longlong
    -

  • -
  • setProperty (a0) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    a0TQVariant
    -

  • -
  • setValue (a0) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    a0longlong
    -

  • -
  • swapDefault () -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only

  • -
  • value () -
    - -
    returns (longlong)
    In versions KDE 3.2.0 and above only

  • -
  • writeConfig (a0) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    a0KConfig
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kdecore/KConfigSkeleton.ItemIntList.html b/python/pykde/doc/classref/kdecore/KConfigSkeleton.ItemIntList.html deleted file mode 100644 index 552a6045..00000000 --- a/python/pykde/doc/classref/kdecore/KConfigSkeleton.ItemIntList.html +++ /dev/null @@ -1,102 +0,0 @@ - - - - - class KConfigSkeleton.ItemIntList - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KConfigSkeleton.ItemIntList


-
- - - - - -
Table of contents
Modules
kdecore Classes
All Classes
-
- - - - - - - - - - -
Modulekdecore
ClassKConfigSkeleton.ItemIntList
InheritsKConfigSkeletonItem
-

methods

    -
  • ItemIntList (group, key, reference, defaultValue = 0) -
    - -
    returns a ItemIntList instance
    In versions KDE 3.2.0 and above only
    - - - - -
    ArgumentTypeDefault
    groupTQString
    keyTQString
    referencea Python list of int
    defaultValuea Python list of int0
    -

  • -
  • property () -
    - -
    returns (TQVariant)
    In versions KDE 3.2.0 and above only

  • -
  • readConfig (a0) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    a0KConfig
    -

  • -
  • setDefault () -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only

  • -
  • setDefaultValue (a0) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    a0TQValueList
    -

  • -
  • setProperty (a0) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    a0TQVariant
    -

  • -
  • setValue (a0) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    a0TQValueList
    -

  • -
  • swapDefault () -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only

  • -
  • value () -
    - -
    returns (TQValueList)
    In versions KDE 3.2.0 and above only

  • -
  • writeConfig (a0) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    a0KConfig
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kdecore/KConfigSkeleton.ItemLong.html b/python/pykde/doc/classref/kdecore/KConfigSkeleton.ItemLong.html deleted file mode 100644 index 3e617747..00000000 --- a/python/pykde/doc/classref/kdecore/KConfigSkeleton.ItemLong.html +++ /dev/null @@ -1,118 +0,0 @@ - - - - - class KConfigSkeleton.ItemLong - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KConfigSkeleton.ItemLong


-
- - - - - -
Table of contents
Modules
kdecore Classes
All Classes
-
- - - - - - - - - - -
Modulekdecore
ClassKConfigSkeleton.ItemLong
InheritsKConfigSkeletonItem
-

methods

    -
  • ItemLong (group, key, reference, defaultValue = 1) -
    - -
    returns a2 (long)
    In versions KDE 3.2.0 and above only
    - - - - -
    ArgumentTypeDefault
    groupTQString
    keyTQString
    referencelong
    defaultValuelong1
    -

  • -
  • maxValue () -
    - -
    returns (TQVariant)
    In versions KDE 3.2.0 and above only

  • -
  • minValue () -
    - -
    returns (TQVariant)
    In versions KDE 3.2.0 and above only

  • -
  • property () -
    - -
    returns (TQVariant)
    In versions KDE 3.2.0 and above only

  • -
  • readConfig (a0) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    a0KConfig
    -

  • -
  • setDefault () -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only

  • -
  • setDefaultValue () -
    - -
    returns a0 (long)
    In versions KDE 3.2.0 and above only

  • -
  • setMaxValue (a0) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    a0long
    -

  • -
  • setMinValue (a0) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    a0long
    -

  • -
  • setProperty (a0) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    a0TQVariant
    -

  • -
  • setValue () -
    - -
    returns a0 (long)
    In versions KDE 3.2.0 and above only

  • -
  • swapDefault () -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only

  • -
  • value () -
    - -
    returns (long)
    In versions KDE 3.2.0 and above only

  • -
  • writeConfig (a0) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    a0KConfig
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kdecore/KConfigSkeleton.ItemPassword.html b/python/pykde/doc/classref/kdecore/KConfigSkeleton.ItemPassword.html deleted file mode 100644 index 3f0b7180..00000000 --- a/python/pykde/doc/classref/kdecore/KConfigSkeleton.ItemPassword.html +++ /dev/null @@ -1,51 +0,0 @@ - - - - - class KConfigSkeleton.ItemPassword - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KConfigSkeleton.ItemPassword


-
- - - - - -
Table of contents
Modules
kdecore Classes
All Classes
-
- - - - - - - - - - -
Modulekdecore
ClassKConfigSkeleton.ItemPassword
InheritsKConfigSkeleton.ItemString
-

methods

    -
  • ItemPassword (group, key, reference, defaultValue = TQString .fromLatin1 ("" )) -
    - -
    returns a ItemPassword instance
    In versions KDE 3.2.0 and above only
    - - - - -
    ArgumentTypeDefault
    groupTQString
    keyTQString
    referenceTQString
    defaultValueTQStringTQString .fromLatin1 ("" )
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kdecore/KConfigSkeleton.ItemPath.html b/python/pykde/doc/classref/kdecore/KConfigSkeleton.ItemPath.html deleted file mode 100644 index 83ffe3e7..00000000 --- a/python/pykde/doc/classref/kdecore/KConfigSkeleton.ItemPath.html +++ /dev/null @@ -1,51 +0,0 @@ - - - - - class KConfigSkeleton.ItemPath - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KConfigSkeleton.ItemPath


-
- - - - - -
Table of contents
Modules
kdecore Classes
All Classes
-
- - - - - - - - - - -
Modulekdecore
ClassKConfigSkeleton.ItemPath
InheritsKConfigSkeleton.ItemString
-

methods

    -
  • ItemPath (group, key, reference, defaultValue = TQString .null) -
    - -
    returns a ItemPath instance
    In versions KDE 3.2.0 and above only
    - - - - -
    ArgumentTypeDefault
    groupTQString
    keyTQString
    referenceTQString
    defaultValueTQStringTQString .null
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kdecore/KConfigSkeleton.ItemPathList.html b/python/pykde/doc/classref/kdecore/KConfigSkeleton.ItemPathList.html deleted file mode 100644 index 5134d761..00000000 --- a/python/pykde/doc/classref/kdecore/KConfigSkeleton.ItemPathList.html +++ /dev/null @@ -1,65 +0,0 @@ - - - - - class KConfigSkeleton.ItemPathList - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KConfigSkeleton.ItemPathList


-
- - - - - -
Table of contents
Modules
kdecore Classes
All Classes
-
- - - - - - - - - - -
Modulekdecore
ClassKConfigSkeleton.ItemPathList
InheritsKConfigSkeleton.ItemStringList
-

methods

    -
  • ItemPathList (group, key, reference, defaultValue = TQStringList ()) -
    - -
    returns a ItemPathList instance
    In versions KDE 3.4.0 and above only
    - - - - -
    ArgumentTypeDefault
    groupTQString
    keyTQString
    referenceTQStringList
    defaultValueTQStringListTQStringList ()
    -

  • -
  • readConfig (config) -
    - -
    returns nothing
    In versions KDE 3.4.0 and above only
    - -
    ArgumentTypeDefault
    configKConfig
    -

  • -
  • writeConfig (config) -
    - -
    returns nothing
    In versions KDE 3.4.0 and above only
    - -
    ArgumentTypeDefault
    configKConfig
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kdecore/KConfigSkeleton.ItemPoint.html b/python/pykde/doc/classref/kdecore/KConfigSkeleton.ItemPoint.html deleted file mode 100644 index d0262394..00000000 --- a/python/pykde/doc/classref/kdecore/KConfigSkeleton.ItemPoint.html +++ /dev/null @@ -1,102 +0,0 @@ - - - - - class KConfigSkeleton.ItemPoint - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KConfigSkeleton.ItemPoint


-
- - - - - -
Table of contents
Modules
kdecore Classes
All Classes
-
- - - - - - - - - - -
Modulekdecore
ClassKConfigSkeleton.ItemPoint
InheritsKConfigSkeletonItem
-

methods

    -
  • ItemPoint (a0, a1, a2, a3 = TQPoint ()) -
    - -
    returns a ItemPoint instance
    In versions KDE 3.2.0 and above only
    - - - - -
    ArgumentTypeDefault
    a0TQString
    a1TQString
    a2TQPoint
    a3TQPointTQPoint ()
    -

  • -
  • property () -
    - -
    returns (TQVariant)
    In versions KDE 3.2.0 and above only

  • -
  • readConfig (a0) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    a0KConfig
    -

  • -
  • setDefault () -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only

  • -
  • setDefaultValue (a0) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    a0TQPoint
    -

  • -
  • setProperty (a0) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    a0TQVariant
    -

  • -
  • setValue (a0) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    a0TQPoint
    -

  • -
  • swapDefault () -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only

  • -
  • value () -
    - -
    returns (TQPoint)
    In versions KDE 3.2.0 and above only

  • -
  • writeConfig (a0) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    a0KConfig
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kdecore/KConfigSkeleton.ItemProperty.html b/python/pykde/doc/classref/kdecore/KConfigSkeleton.ItemProperty.html deleted file mode 100644 index 6a47d1bc..00000000 --- a/python/pykde/doc/classref/kdecore/KConfigSkeleton.ItemProperty.html +++ /dev/null @@ -1,102 +0,0 @@ - - - - - class KConfigSkeleton.ItemProperty - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KConfigSkeleton.ItemProperty


-
- - - - - -
Table of contents
Modules
kdecore Classes
All Classes
-
- - - - - - - - - - -
Modulekdecore
ClassKConfigSkeleton.ItemProperty
InheritsKConfigSkeletonItem
-

methods

    -
  • ItemProperty (group, key, reference, defaultValue = 0) -
    - -
    returns a ItemProperty instance
    In versions KDE 3.2.0 and above only
    - - - - -
    ArgumentTypeDefault
    groupTQString
    keyTQString
    referenceTQVariant
    defaultValueTQVariant0
    -

  • -
  • property () -
    - -
    returns (TQVariant)
    In versions KDE 3.2.0 and above only

  • -
  • readConfig (a0) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    a0KConfig
    -

  • -
  • setDefault () -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only

  • -
  • setDefaultValue (a0) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    a0TQVariant
    -

  • -
  • setProperty (a0) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    a0TQVariant
    -

  • -
  • setValue (a0) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    a0TQVariant
    -

  • -
  • swapDefault () -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only

  • -
  • value () -
    - -
    returns (TQVariant)
    In versions KDE 3.2.0 and above only

  • -
  • writeConfig (a0) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    a0KConfig
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kdecore/KConfigSkeleton.ItemRect.html b/python/pykde/doc/classref/kdecore/KConfigSkeleton.ItemRect.html deleted file mode 100644 index 69a740bd..00000000 --- a/python/pykde/doc/classref/kdecore/KConfigSkeleton.ItemRect.html +++ /dev/null @@ -1,102 +0,0 @@ - - - - - class KConfigSkeleton.ItemRect - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KConfigSkeleton.ItemRect


-
- - - - - -
Table of contents
Modules
kdecore Classes
All Classes
-
- - - - - - - - - - -
Modulekdecore
ClassKConfigSkeleton.ItemRect
InheritsKConfigSkeletonItem
-

methods

    -
  • ItemRect (a0, a1, a2, a3 = TQRect ()) -
    - -
    returns a ItemRect instance
    In versions KDE 3.2.0 and above only
    - - - - -
    ArgumentTypeDefault
    a0TQString
    a1TQString
    a2TQRect
    a3TQRectTQRect ()
    -

  • -
  • property () -
    - -
    returns (TQVariant)
    In versions KDE 3.2.0 and above only

  • -
  • readConfig (a0) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    a0KConfig
    -

  • -
  • setDefault () -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only

  • -
  • setDefaultValue (a0) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    a0TQRect
    -

  • -
  • setProperty (a0) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    a0TQVariant
    -

  • -
  • setValue (a0) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    a0TQRect
    -

  • -
  • swapDefault () -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only

  • -
  • value () -
    - -
    returns (TQRect)
    In versions KDE 3.2.0 and above only

  • -
  • writeConfig (a0) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    a0KConfig
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kdecore/KConfigSkeleton.ItemSize.html b/python/pykde/doc/classref/kdecore/KConfigSkeleton.ItemSize.html deleted file mode 100644 index 6770ade2..00000000 --- a/python/pykde/doc/classref/kdecore/KConfigSkeleton.ItemSize.html +++ /dev/null @@ -1,102 +0,0 @@ - - - - - class KConfigSkeleton.ItemSize - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KConfigSkeleton.ItemSize


-
- - - - - -
Table of contents
Modules
kdecore Classes
All Classes
-
- - - - - - - - - - -
Modulekdecore
ClassKConfigSkeleton.ItemSize
InheritsKConfigSkeletonItem
-

methods

    -
  • ItemSize (a0, a1, a2, a3 = TQSize ()) -
    - -
    returns a ItemSize instance
    In versions KDE 3.2.0 and above only
    - - - - -
    ArgumentTypeDefault
    a0TQString
    a1TQString
    a2TQSize
    a3TQSizeTQSize ()
    -

  • -
  • property () -
    - -
    returns (TQVariant)
    In versions KDE 3.2.0 and above only

  • -
  • readConfig (a0) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    a0KConfig
    -

  • -
  • setDefault () -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only

  • -
  • setDefaultValue (a0) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    a0TQSize
    -

  • -
  • setProperty (a0) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    a0TQVariant
    -

  • -
  • setValue (a0) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    a0TQSize
    -

  • -
  • swapDefault () -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only

  • -
  • value () -
    - -
    returns (TQSize)
    In versions KDE 3.2.0 and above only

  • -
  • writeConfig (a0) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    a0KConfig
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kdecore/KConfigSkeleton.ItemString.html b/python/pykde/doc/classref/kdecore/KConfigSkeleton.ItemString.html deleted file mode 100644 index 5e5e882c..00000000 --- a/python/pykde/doc/classref/kdecore/KConfigSkeleton.ItemString.html +++ /dev/null @@ -1,106 +0,0 @@ - - - - - class KConfigSkeleton.ItemString - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KConfigSkeleton.ItemString


-
- - - - - -
Table of contents
Modules
kdecore Classes
All Classes
-
- - - - - - - - - - -
Modulekdecore
ClassKConfigSkeleton.ItemString
InheritsKConfigSkeletonItem
-

enums

    -
  • Type = {Normal, Password, Path -}
-

methods

    -
  • ItemString (a0, a1, a2, a3 = TQString .fromLatin1 ("" ), a4 = KConfigSkeleton .ItemString .Normal) -
    - -
    returns a ItemString instance
    In versions KDE 3.2.0 and above only
    - - - - - -
    ArgumentTypeDefault
    a0TQString
    a1TQString
    a2TQString
    a3TQStringTQString .fromLatin1 ("" )
    a4KConfigSkeleton.ItemString.TypeKConfigSkeleton .ItemString .Normal
    -

  • -
  • property () -
    - -
    returns (TQVariant)
    In versions KDE 3.2.0 and above only

  • -
  • readConfig (a0) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    a0KConfig
    -

  • -
  • setDefault () -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only

  • -
  • setDefaultValue (a0) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    a0TQString
    -

  • -
  • setProperty (a0) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    a0TQVariant
    -

  • -
  • setValue (a0) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    a0TQString
    -

  • -
  • swapDefault () -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only

  • -
  • value () -
    - -
    returns (TQString)
    In versions KDE 3.2.0 and above only

  • -
  • writeConfig (a0) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    a0KConfig
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kdecore/KConfigSkeleton.ItemStringList.html b/python/pykde/doc/classref/kdecore/KConfigSkeleton.ItemStringList.html deleted file mode 100644 index 8d744d81..00000000 --- a/python/pykde/doc/classref/kdecore/KConfigSkeleton.ItemStringList.html +++ /dev/null @@ -1,102 +0,0 @@ - - - - - class KConfigSkeleton.ItemStringList - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KConfigSkeleton.ItemStringList


-
- - - - - -
Table of contents
Modules
kdecore Classes
All Classes
-
- - - - - - - - - - -
Modulekdecore
ClassKConfigSkeleton.ItemStringList
InheritsKConfigSkeletonItem
-

methods

    -
  • ItemStringList (a0, a1, a2, a3 = TQStringList ()) -
    - -
    returns a ItemStringList instance
    In versions KDE 3.2.0 and above only
    - - - - -
    ArgumentTypeDefault
    a0TQString
    a1TQString
    a2TQStringList
    a3TQStringListTQStringList ()
    -

  • -
  • property () -
    - -
    returns (TQVariant)
    In versions KDE 3.2.0 and above only

  • -
  • readConfig (a0) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    a0KConfig
    -

  • -
  • setDefault () -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only

  • -
  • setDefaultValue (a0) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    a0TQStringList
    -

  • -
  • setProperty (a0) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    a0TQVariant
    -

  • -
  • setValue (a0) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    a0TQStringList
    -

  • -
  • swapDefault () -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only

  • -
  • value () -
    - -
    returns (TQStringList)
    In versions KDE 3.2.0 and above only

  • -
  • writeConfig (a0) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    a0KConfig
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kdecore/KConfigSkeleton.ItemUInt.html b/python/pykde/doc/classref/kdecore/KConfigSkeleton.ItemUInt.html deleted file mode 100644 index a3fa1008..00000000 --- a/python/pykde/doc/classref/kdecore/KConfigSkeleton.ItemUInt.html +++ /dev/null @@ -1,118 +0,0 @@ - - - - - class KConfigSkeleton.ItemUInt - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KConfigSkeleton.ItemUInt


-
- - - - - -
Table of contents
Modules
kdecore Classes
All Classes
-
- - - - - - - - - - -
Modulekdecore
ClassKConfigSkeleton.ItemUInt
InheritsKConfigSkeletonItem
-

methods

    -
  • ItemUInt (group, key, reference, defaultValue = 1) -
    - -
    returns a ItemUInt instance
    In versions KDE 3.2.0 and above only
    - - - - -
    ArgumentTypeDefault
    groupTQString
    keyTQString
    referenceuint
    defaultValueuint1
    -

  • -
  • maxValue () -
    - -
    returns (TQVariant)
    In versions KDE 3.2.0 and above only

  • -
  • minValue () -
    - -
    returns (TQVariant)
    In versions KDE 3.2.0 and above only

  • -
  • property () -
    - -
    returns (TQVariant)
    In versions KDE 3.2.0 and above only

  • -
  • readConfig (a0) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    a0KConfig
    -

  • -
  • setDefault () -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only

  • -
  • setDefaultValue () -
    - -
    returns a0 (uint)
    In versions KDE 3.2.0 and above only

  • -
  • setMaxValue (a0) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    a0uint
    -

  • -
  • setMinValue (a0) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    a0uint
    -

  • -
  • setProperty (a0) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    a0TQVariant
    -

  • -
  • setValue () -
    - -
    returns a0 (uint)
    In versions KDE 3.2.0 and above only

  • -
  • swapDefault () -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only

  • -
  • value () -
    - -
    returns (uint)
    In versions KDE 3.2.0 and above only

  • -
  • writeConfig (a0) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    a0KConfig
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kdecore/KConfigSkeleton.ItemUInt64.html b/python/pykde/doc/classref/kdecore/KConfigSkeleton.ItemUInt64.html deleted file mode 100644 index a28b1ea1..00000000 --- a/python/pykde/doc/classref/kdecore/KConfigSkeleton.ItemUInt64.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - class KConfigSkeleton.ItemUInt64 - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KConfigSkeleton.ItemUInt64


-
- - - - - -
Table of contents
Modules
kdecore Classes
All Classes
-
- - - - - - - - - - -
Modulekdecore
ClassKConfigSkeleton.ItemUInt64
InheritsKConfigSkeletonItem
-

methods

    -
  • ItemUInt64 (group, key, reference, defaultValue = 0) -
    - -
    returns a ItemUInt64 instance
    In versions KDE 3.2.0 and above only
    - - - - -
    ArgumentTypeDefault
    groupTQString
    keyTQString
    referenceulonglong
    defaultValueulonglong0
    -

  • -
  • maxValue () -
    - -
    returns (TQVariant)
    In versions KDE 3.2.0 and above only

  • -
  • minValue () -
    - -
    returns (TQVariant)
    In versions KDE 3.2.0 and above only

  • -
  • property () -
    - -
    returns (TQVariant)
    In versions KDE 3.2.0 and above only

  • -
  • readConfig (a0) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    a0KConfig
    -

  • -
  • setDefault () -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only

  • -
  • setDefaultValue (a0) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    a0ulonglong
    -

  • -
  • setMaxValue (a0) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    a0ulonglong
    -

  • -
  • setMinValue (a0) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    a0ulonglong
    -

  • -
  • setProperty (a0) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    a0TQVariant
    -

  • -
  • setValue (a0) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    a0ulonglong
    -

  • -
  • swapDefault () -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only

  • -
  • value () -
    - -
    returns (ulonglong)
    In versions KDE 3.2.0 and above only

  • -
  • writeConfig (a0) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    a0KConfig
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kdecore/KConfigSkeleton.ItemULong.html b/python/pykde/doc/classref/kdecore/KConfigSkeleton.ItemULong.html deleted file mode 100644 index 767ba171..00000000 --- a/python/pykde/doc/classref/kdecore/KConfigSkeleton.ItemULong.html +++ /dev/null @@ -1,118 +0,0 @@ - - - - - class KConfigSkeleton.ItemULong - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KConfigSkeleton.ItemULong


-
- - - - - -
Table of contents
Modules
kdecore Classes
All Classes
-
- - - - - - - - - - -
Modulekdecore
ClassKConfigSkeleton.ItemULong
InheritsKConfigSkeletonItem
-

methods

    -
  • ItemULong (group, key, reference, defaultValue = 1) -
    - -
    returns a ItemULong instance
    In versions KDE 3.2.0 and above only
    - - - - -
    ArgumentTypeDefault
    groupTQString
    keyTQString
    referenceulong
    defaultValueulong1
    -

  • -
  • maxValue () -
    - -
    returns (TQVariant)
    In versions KDE 3.2.0 and above only

  • -
  • minValue () -
    - -
    returns (TQVariant)
    In versions KDE 3.2.0 and above only

  • -
  • property () -
    - -
    returns (TQVariant)
    In versions KDE 3.2.0 and above only

  • -
  • readConfig (a0) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    a0KConfig
    -

  • -
  • setDefault () -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only

  • -
  • setDefaultValue () -
    - -
    returns a0 (ulong)
    In versions KDE 3.2.0 and above only

  • -
  • setMaxValue (a0) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    a0ulong
    -

  • -
  • setMinValue (a0) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    a0ulong
    -

  • -
  • setProperty (a0) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    a0TQVariant
    -

  • -
  • setValue () -
    - -
    returns a0 (ulong)
    In versions KDE 3.2.0 and above only

  • -
  • swapDefault () -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only

  • -
  • value () -
    - -
    returns (ulong)
    In versions KDE 3.2.0 and above only

  • -
  • writeConfig (a0) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    a0KConfig
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kdecore/KConfigSkeleton.html b/python/pykde/doc/classref/kdecore/KConfigSkeleton.html deleted file mode 100644 index 57fadda6..00000000 --- a/python/pykde/doc/classref/kdecore/KConfigSkeleton.html +++ /dev/null @@ -1,334 +0,0 @@ - - - - - class KConfigSkeleton - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KConfigSkeleton


-
- - - - - -
Table of contents
Modules
kdecore Classes
All Classes
-
- - - - - - - - - - -
Modulekdecore
ClassKConfigSkeleton
Inherits
-

methods

    -
  • KConfigSkeleton (configname = TQString .null) -
    - -
    returns a KConfigSkeleton instance
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    confignameTQStringTQString .null
    -

  • -
  • KConfigSkeleton (config) -
    - -
    returns a KConfigSkeleton instance
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    configKSharedConfig.Ptr
    -

  • -
  • addItem (a0, name = TQString .null) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - - -
    ArgumentTypeDefault
    a0KConfigSkeletonItem
    nameTQStringTQString .null
    -

  • -
  • addItemBool (name, value, defaultValue, key = TQString.null) -
    - -
    returns (ItemBool) reference (bool)
    In versions KDE 3.2.0 and above only
    - - - - -
    ArgumentTypeDefault
    nameTQString
    valuebool
    defaultValuebool
    keyTQStringTQString.null
    -

  • -
  • addItemColor (name, reference, defaultValue = TQColor (128 ,128 ,128 ), key = TQString .null) -
    - -
    returns (ItemColor)
    In versions KDE 3.2.0 and above only
    - - - - -
    ArgumentTypeDefault
    nameTQString
    referenceTQColor
    defaultValueTQColorTQColor (128 ,128 ,128 )
    keyTQStringTQString .null
    -

  • -
  • addItemDateTime (name, reference, defaultValue = TQDateTime (), key = TQString .null) -
    - -
    returns (ItemDateTime)
    In versions KDE 3.2.0 and above only
    - - - - -
    ArgumentTypeDefault
    nameTQString
    referenceTQDateTime
    defaultValueTQDateTimeTQDateTime ()
    keyTQStringTQString .null
    -

  • -
  • addItemDouble (name, value, defaultValue, key = TQString.null) -
    - -
    returns (ItemDouble) reference (double)
    In versions KDE 3.2.0 and above only
    - - - - -
    ArgumentTypeDefault
    nameTQString
    valuedouble
    defaultValuedouble
    keyTQStringTQString.null
    -

  • -
  • addItemFont (name, reference, defaultValue = KGlobalSettings .generalFont (), key = TQString .null) -
    - -
    returns (ItemFont)
    In versions KDE 3.2.0 and above only
    - - - - -
    ArgumentTypeDefault
    nameTQString
    referenceTQFont
    defaultValueTQFontKGlobalSettings .generalFont ()
    keyTQStringTQString .null
    -

  • -
  • addItemInt (name, value, defaultValue, key = TQString.null) -
    - -
    returns (ItemInt) reference (int)
    In versions KDE 3.2.0 and above only
    - - - - -
    ArgumentTypeDefault
    nameTQString
    valueint
    defaultValueint
    keyTQStringTQString.null
    -

  • -
  • addItemInt64 (name, reference, defaultValue = 0, key = TQString .null) -
    - -
    returns (KConfigSkeleton.ItemInt64)
    In versions KDE 3.2.0 and above only
    - - - - -
    ArgumentTypeDefault
    nameTQString
    referencelonglong
    defaultValuelonglong0
    keyTQStringTQString .null
    -

  • -
  • addItemIntList (name, reference, defaultValue = [], key = TQString.null) -
    - -
    returns a Python list of int,
    In versions KDE 3.2.0 and above only
    - - - - -
    ArgumentTypeDefault
    nameTQString
    referencea Python list of int
    defaultValuea Python list of int[]
    keyTQStringTQString.null
    -

  • -
  • addItemLong (name, value, defaultValue, key = TQString.null) -
    - -
    returns (ItemLong) reference (long)
    In versions KDE 3.2.0 and above only
    - - - - -
    ArgumentTypeDefault
    nameTQString
    valuelong
    defaultValuelong
    keyTQStringTQString.null
    -

  • -
  • addItemPassword (name, reference, defaultValue = TQString .fromLatin1 ("" ), key = TQString .null) -
    - -
    returns (KConfigSkeleton.ItemPassword)
    In versions KDE 3.2.0 and above only
    - - - - -
    ArgumentTypeDefault
    nameTQString
    referenceTQString
    defaultValueTQStringTQString .fromLatin1 ("" )
    keyTQStringTQString .null
    -

  • -
  • addItemPath (name, reference, defaultValue = TQString .fromLatin1 ("" ), key = TQString .null) -
    - -
    returns (KConfigSkeleton.ItemPath)
    In versions KDE 3.2.0 and above only
    - - - - -
    ArgumentTypeDefault
    nameTQString
    referenceTQString
    defaultValueTQStringTQString .fromLatin1 ("" )
    keyTQStringTQString .null
    -

  • -
  • addItemPoint (name, reference, defaultValue = TQPoint (), key = TQString .null) -
    - -
    returns (ItemPoint)
    In versions KDE 3.2.0 and above only
    - - - - -
    ArgumentTypeDefault
    nameTQString
    referenceTQPoint
    defaultValueTQPointTQPoint ()
    keyTQStringTQString .null
    -

  • -
  • addItemProperty (name, reference, defaultValue = TQVariant (), key = TQString .null) -
    - -
    returns (ItemProperty)
    In versions KDE 3.2.0 and above only
    - - - - -
    ArgumentTypeDefault
    nameTQString
    referenceTQVariant
    defaultValueTQVariantTQVariant ()
    keyTQStringTQString .null
    -

  • -
  • addItemRect (name, reference, defaultValue = TQRect (), key = TQString .null) -
    - -
    returns (ItemRect)
    In versions KDE 3.2.0 and above only
    - - - - -
    ArgumentTypeDefault
    nameTQString
    referenceTQRect
    defaultValueTQRectTQRect ()
    keyTQStringTQString .null
    -

  • -
  • addItemSize (name, reference, defaultValue = TQSize (), key = TQString .null) -
    - -
    returns (ItemSize)
    In versions KDE 3.2.0 and above only
    - - - - -
    ArgumentTypeDefault
    nameTQString
    referenceTQSize
    defaultValueTQSizeTQSize ()
    keyTQStringTQString .null
    -

  • -
  • addItemString (name, reference, defaultValue = TQString .fromLatin1 ("" ), key = TQString .null) -
    - -
    returns (ItemString)
    In versions KDE 3.2.0 and above only
    - - - - -
    ArgumentTypeDefault
    nameTQString
    referenceTQString
    defaultValueTQStringTQString .fromLatin1 ("" )
    keyTQStringTQString .null
    -

  • -
  • addItemStringList (name, reference, defaultValue = TQStringList (), key = TQString .null) -
    - -
    returns (KConfigSkeleton.ItemStringList)
    In versions KDE 3.2.0 and above only
    - - - - -
    ArgumentTypeDefault
    nameTQString
    referenceTQStringList
    defaultValueTQStringListTQStringList ()
    keyTQStringTQString .null
    -

  • -
  • addItemUInt (name, value, defaultValue, key = TQString.null) -
    - -
    returns (ItemUInt) reference (uint)
    In versions KDE 3.2.0 and above only
    - - - - -
    ArgumentTypeDefault
    nameTQString
    valueuint
    defaultValueuint
    keyTQStringTQString.null
    -

  • -
  • addItemUInt64 (name, reference, defaultValue = 0, key = TQString .null) -
    - -
    returns (KConfigSkeleton.ItemUInt64)
    In versions KDE 3.2.0 and above only
    - - - - -
    ArgumentTypeDefault
    nameTQString
    referenceulonglong
    defaultValueulonglong0
    keyTQStringTQString .null
    -

  • -
  • addItemULong (name, value, defaultValue, key = TQString.null) -
    - -
    returns (ItemULong) reference (ulong)
    In versions KDE 3.2.0 and above only
    - - - - -
    ArgumentTypeDefault
    nameTQString
    valueulong
    defaultValueulong
    keyTQStringTQString.null
    -

  • -
  • config () -
    - -
    returns (KConfig)
    In versions KDE 3.2.0 and above only

  • -
  • currentGroup () -
    - -
    returns (TQString)
    In versions KDE 3.2.0 and above only

  • -
  • findItem (name) -
    - -
    returns (KConfigSkeletonItem)
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    nameTQString
    -

  • -
  • isImmutable (name) -
    - -
    returns (bool)
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    nameTQString
    -

  • -
  • items () -
    - -
    returns (a Python list of Items),
    In versions KDE 3.2.0 and above only

  • -
  • readConfig () -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only

  • -
  • setCurrentGroup (group) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    groupTQString
    -

  • -
  • setDefaults () -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only

  • -
  • useDefaults (b) -
    - -
    returns (bool)
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    bbool
    -

  • -
  • usrReadConfig () -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only

  • -
  • usrSetDefaults () -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only

  • -
  • usrUseDefaults (a0) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    a0bool
    -

  • -
  • usrWriteConfig () -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only

  • -
  • writeConfig () -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only

  • -
- - - diff --git a/python/pykde/doc/classref/kdecore/KConfigSkeletonItem.html b/python/pykde/doc/classref/kdecore/KConfigSkeletonItem.html deleted file mode 100644 index 9be7a32b..00000000 --- a/python/pykde/doc/classref/kdecore/KConfigSkeletonItem.html +++ /dev/null @@ -1,170 +0,0 @@ - - - - - class KConfigSkeletonItem - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KConfigSkeletonItem


-
- - - - - -
Table of contents
Modules
kdecore Classes
All Classes
-
- - - - - - - - - - -
Modulekdecore
ClassKConfigSkeletonItem (abstract)
Inherits
-

methods

    -
  • KConfigSkeletonItem (group, key) -
    - -
    returns a KConfigSkeletonItem instance
    In versions KDE 3.2.0 and above only
    - - -
    ArgumentTypeDefault
    groupTQString
    keyTQString
    -

  • -
  • group () -
    - -
    returns (TQString)
    In versions KDE 3.2.0 and above only

  • -
  • isImmutable () -
    - -
    returns (bool)
    In versions KDE 3.2.0 and above only

  • -
  • key () -
    - -
    returns (TQString)
    In versions KDE 3.2.0 and above only

  • -
  • label () -
    - -
    returns (TQString)
    In versions KDE 3.2.0 and above only

  • -
  • maxValue () -
    - -
    returns (TQVariant)
    In versions KDE 3.2.0 and above only

  • -
  • minValue () -
    - -
    returns (TQVariant)
    In versions KDE 3.2.0 and above only

  • -
  • name () -
    - -
    returns (TQString)
    In versions KDE 3.2.0 and above only

  • -
  • property () = 0 -
    - - -
    returns (TQVariant)
    In versions KDE 3.2.0 and above only
    pure virtual

  • -
  • readConfig (a0) = 0 -
    - - -
    returns nothing
    In versions KDE 3.2.0 and above only
    pure virtual
    - -
    ArgumentTypeDefault
    a0KConfig
    -

  • -
  • readDefault (a0) = 0 -
    - - -
    returns nothing
    In versions KDE 3.2.0 and above only
    pure virtual
    - -
    ArgumentTypeDefault
    a0KConfig
    -

  • -
  • readImmutability (config) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    configKConfig
    -

  • -
  • setDefault () = 0 -
    - - -
    returns nothing
    In versions KDE 3.2.0 and above only
    pure virtual

  • -
  • setGroup (group) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    groupTQString
    -

  • -
  • setKey (key) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    keyTQString
    -

  • -
  • setLabel (l) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    lTQString
    -

  • -
  • setName (name) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    nameTQString
    -

  • -
  • setProperty (p) = 0 -
    - - -
    returns nothing
    In versions KDE 3.2.0 and above only
    pure virtual
    - -
    ArgumentTypeDefault
    pTQVariant
    -

  • -
  • setWhatsThis (w) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    wTQString
    -

  • -
  • swapDefault () = 0 -
    - - -
    returns nothing
    In versions KDE 3.2.0 and above only
    pure virtual

  • -
  • whatsThis () -
    - -
    returns (TQString)
    In versions KDE 3.2.0 and above only

  • -
  • writeConfig (a0) = 0 -
    - - -
    returns nothing
    In versions KDE 3.2.0 and above only
    pure virtual
    - -
    ArgumentTypeDefault
    a0KConfig
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kdecore/KCrash.html b/python/pykde/doc/classref/kdecore/KCrash.html deleted file mode 100644 index 0b8438b1..00000000 --- a/python/pykde/doc/classref/kdecore/KCrash.html +++ /dev/null @@ -1,82 +0,0 @@ - - - - - class KCrash - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KCrash


-
- - - - - -
Table of contents
Modules
kdecore Classes
All Classes
-
- - - - - - - - - - -
Modulekdecore
ClassKCrash
Inherits
-

methods

    -
  • crashHandler () -
    Not Implemented
    -

  • -
  • defaultCrashHandler (signal) -
    - -
    returns nothing
    static
    - -
    ArgumentTypeDefault
    signalint
    -

  • -
  • emergencySaveFunction () -
    Not Implemented
    -

  • -
  • setApplicationName (name) -
    - -
    returns nothing
    static
    - -
    ArgumentTypeDefault
    nameTQString
    -

  • -
  • setApplicationPath (path) -
    - -
    returns nothing
    static
    - -
    ArgumentTypeDefault
    pathTQString
    -

  • -
  • setCrashHandler (handler = defaultCrashHandler) -
    Not Implemented
    -

  • -
  • setEmergencySaveFunction (saveFunction = 0) -
    Not Implemented
    -

  • -
  • setSafer (on) -
    - - -
    returns nothing
    In versions KDE 3.2.0 and above only
    static
    - -
    ArgumentTypeDefault
    onbool
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kdecore/KDCOPPropertyProxy.html b/python/pykde/doc/classref/kdecore/KDCOPPropertyProxy.html deleted file mode 100644 index 700a6765..00000000 --- a/python/pykde/doc/classref/kdecore/KDCOPPropertyProxy.html +++ /dev/null @@ -1,91 +0,0 @@ - - - - - class KDCOPPropertyProxy - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KDCOPPropertyProxy


-
- - - - - -
Table of contents
Modules
kdecore Classes
All Classes
-
- - - - - - - - - - -
Modulekdecore
ClassKDCOPPropertyProxy
Inherits
-

methods

    -
  • KDCOPPropertyProxy (object) -
    -
    returns a KDCOPPropertyProxy instance
    - -
    ArgumentTypeDefault
    objectTQObject
    -

  • -
  • functions () -
    -
    returns (TQValueList)

  • -
  • functions (object) -
    - -
    returns (TQValueList)
    static
    - -
    ArgumentTypeDefault
    objectTQObject
    -

  • -
  • isPropertyRequest (fun) -
    -
    returns (bool)
    - -
    ArgumentTypeDefault
    funTQCString
    -

  • -
  • isPropertyRequest (fun, object) -
    - -
    returns (bool)
    static
    - - -
    ArgumentTypeDefault
    funTQCString
    objectTQObject
    -

  • -
  • processPropertyRequest (fun, data, replyType, replyData) -
    -
    returns (bool)
    - - - - -
    ArgumentTypeDefault
    funTQCString
    dataTQByteArray
    replyTypeTQCString
    replyDataTQByteArray
    -

  • -
  • processPropertyRequest (fun, data, replyType, replyData, object) -
    - -
    returns (bool)
    static
    - - - - - -
    ArgumentTypeDefault
    funTQCString
    dataTQByteArray
    replyTypeTQCString
    replyDataTQByteArray
    objectTQObject
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kdecore/KDE.html b/python/pykde/doc/classref/kdecore/KDE.html deleted file mode 100644 index 8c11f7c5..00000000 --- a/python/pykde/doc/classref/kdecore/KDE.html +++ /dev/null @@ -1,61 +0,0 @@ - - - - - class KDE - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KDE


-
- - - - - -
Table of contents
Modules
kdecore Classes
All Classes
-
- - - - - - - - - - -
Modulekdecore
ClassKDE
Inherits
-

methods

    -
  • version () -
    - -
    returns (uint)
    In versions KDE 3.2.0 and above only

  • -
  • versionMajor () -
    - -
    returns (uint)
    In versions KDE 3.1.4 and above only

  • -
  • versionMinor () -
    - -
    returns (uint)
    In versions KDE 3.1.4 and above only

  • -
  • versionRelease () -
    - -
    returns (uint)
    In versions KDE 3.1.4 and above only

  • -
  • versionString () -
    - -
    returns (char)
    In versions KDE 3.1.4 and above only

  • -
- - - diff --git a/python/pykde/doc/classref/kdecore/KDesktopFile.html b/python/pykde/doc/classref/kdecore/KDesktopFile.html deleted file mode 100644 index ccd5e0ae..00000000 --- a/python/pykde/doc/classref/kdecore/KDesktopFile.html +++ /dev/null @@ -1,155 +0,0 @@ - - - - - class KDesktopFile - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KDesktopFile


-
- - - - - -
Table of contents
Modules
kdecore Classes
All Classes
-
- - - - - - - - - - -
Modulekdecore
ClassKDesktopFile
InheritsKConfig
-

methods

    -
  • KDesktopFile (fileName, readOnly = 0, resType = "apps") -
    -
    returns a KDesktopFile instance
    - - - -
    ArgumentTypeDefault
    fileNameTQString
    readOnlybool0
    resTypechar"apps"
    -

  • -
  • KDesktopFile (a0) -
    -
    returns a KDesktopFile instance
    - -
    ArgumentTypeDefault
    a0KDesktopFile
    -

  • -
  • copyTo (file) -
    - -
    returns (KDesktopFile)
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    fileTQString
    -

  • -
  • fileName () -
    -
    returns (TQString)

  • -
  • filename () -
    -
    returns (TQString)

  • -
  • hasActionGroup (group) -
    -
    returns (bool)
    - -
    ArgumentTypeDefault
    groupTQString
    -

  • -
  • hasApplicationType () -
    -
    returns (bool)

  • -
  • hasDeviceType () -
    -
    returns (bool)

  • -
  • hasLinkType () -
    -
    returns (bool)

  • -
  • hasMimeTypeType () -
    -
    returns (bool)

  • -
  • isAuthorizedDesktopFile (path) -
    - - -
    returns (bool)
    In versions KDE 3.1.0 and above only
    static
    - -
    ArgumentTypeDefault
    pathTQString
    -

  • -
  • isDesktopFile (path) -
    - -
    returns (bool)
    static
    - -
    ArgumentTypeDefault
    pathTQString
    -

  • -
  • locateLocal (path) -
    - - -
    returns (TQString)
    In versions KDE 3.2.0 and above only
    static
    - -
    ArgumentTypeDefault
    pathTQString
    -

  • -
  • readActions () -
    -
    returns (TQStringList)

  • -
  • readComment () -
    -
    returns (TQString)

  • -
  • readDevice () -
    -
    returns (TQString)

  • -
  • readDocPath () -
    - -
    returns (TQString)
    In versions KDE 3.1.0 and above only

  • -
  • readGenericName () -
    -
    returns (TQString)

  • -
  • readIcon () -
    -
    returns (TQString)

  • -
  • readName () -
    -
    returns (TQString)

  • -
  • readPath () -
    -
    returns (TQString)

  • -
  • readType () -
    -
    returns (TQString)

  • -
  • readURL () -
    -
    returns (TQString)

  • -
  • resource () -
    -
    returns (TQString)

  • -
  • setActionGroup (group) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    groupTQString
    -

  • -
  • sortOrder () -
    -
    returns (TQStringList)

  • -
  • tryExec () -
    -
    returns (bool)

  • -
- - - diff --git a/python/pykde/doc/classref/kdecore/KEntry.html b/python/pykde/doc/classref/kdecore/KEntry.html deleted file mode 100644 index a77ea4ac..00000000 --- a/python/pykde/doc/classref/kdecore/KEntry.html +++ /dev/null @@ -1,54 +0,0 @@ - - - - - class KEntry - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KEntry


-
- - - - - -
Table of contents
Modules
kdecore Classes
All Classes
-
- - - - - - - - - - -
Modulekdecore
ClassKEntry
Inherits
-

methods

    -
  • KEntry () -
    -
    returns a KEntry instance

  • -
-

variables

  • -variables - - - - - - - -
    VariableType
    bDeletedbool
    bDirtybool
    bExpandbool
    bGlobalbool
    bImmutablebool
    bNLSbool
    mValueTQCString
- - - diff --git a/python/pykde/doc/classref/kdecore/KEntryKey.html b/python/pykde/doc/classref/kdecore/KEntryKey.html deleted file mode 100644 index 6f7c6e7f..00000000 --- a/python/pykde/doc/classref/kdecore/KEntryKey.html +++ /dev/null @@ -1,56 +0,0 @@ - - - - - class KEntryKey - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KEntryKey


-
- - - - - -
Table of contents
Modules
kdecore Classes
All Classes
-
- - - - - - - - - - -
Modulekdecore
ClassKEntryKey
Inherits
-

methods

    -
  • KEntryKey (_group = TQCString ("" ), _key = TQCString ("" )) -
    -
    returns a KEntryKey instance
    - - -
    ArgumentTypeDefault
    _groupTQCStringTQCString ("" )
    _keyTQCStringTQCString ("" )
    -

  • -
-

variables

  • -variables - - - - - -
    VariableType
    bDefaultbool
    bLocalbool
    c_keychar*
    mGroupTQCString
    mKeyTQCString
- - - diff --git a/python/pykde/doc/classref/kdecore/KGlobal.html b/python/pykde/doc/classref/kdecore/KGlobal.html deleted file mode 100644 index e0615e7a..00000000 --- a/python/pykde/doc/classref/kdecore/KGlobal.html +++ /dev/null @@ -1,122 +0,0 @@ - - - - - class KGlobal - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KGlobal


-
- - - - - -
Table of contents
Modules
kdecore Classes
All Classes
-
- - - - - - - - - - -
Modulekdecore
ClassKGlobal
Inherits
-

methods

    -
  • activeInstance () -
    - -
    returns (KInstance)
    static

  • -
  • charsets () -
    - -
    returns (KCharsets)
    static

  • -
  • config () -
    - -
    returns (KConfig)
    static

  • -
  • deleteStaticDeleters () -
    - -
    returns nothing
    static

  • -
  • dirs () -
    - -
    returns (KStandardDirs)
    static

  • -
  • iconLoader () -
    - -
    returns (KIconLoader)
    static

  • -
  • instance () -
    - -
    returns (KInstance)
    static

  • -
  • locale () -
    - -
    returns (KLocale)
    static

  • -
  • registerStaticDeleter (d) -
    - -
    returns nothing
    static
    - -
    ArgumentTypeDefault
    dKStaticDeleterBase
    -

  • -
  • setActiveInstance (d) -
    - -
    returns nothing
    static
    - -
    ArgumentTypeDefault
    dKInstance
    -

  • -
  • sharedConfig () -
    - - -
    returns (KSharedConfig)
    In versions KDE 3.2.0 and above only
    static

  • -
  • staticQString (str) -
    - -
    returns (TQString)
    static
    - -
    ArgumentTypeDefault
    strchar
    -

  • -
  • staticQString (str) -
    - -
    returns (TQString)
    static
    - -
    ArgumentTypeDefault
    strTQString
    -

  • -
  • unregisterStaticDeleter (d) -
    - -
    returns nothing
    static
    - -
    ArgumentTypeDefault
    dKStaticDeleterBase
    -

  • -
-

variables

  • -variables - - - - - - -
    VariableType
    _activeInstanceKInstance*
    _charsetsKCharsets*
    _instanceKInstance*
    _localeKLocale*
    _staticDeletersKStaticDeleterList*
    _stringDictKStringDict*
- - - diff --git a/python/pykde/doc/classref/kdecore/KGlobalAccel.html b/python/pykde/doc/classref/kdecore/KGlobalAccel.html deleted file mode 100644 index 84aed33c..00000000 --- a/python/pykde/doc/classref/kdecore/KGlobalAccel.html +++ /dev/null @@ -1,173 +0,0 @@ - - - - - class KGlobalAccel - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KGlobalAccel


-
- - - - - -
Table of contents
Modules
kdecore Classes
All Classes
-
- - - - - - - - - - -
Modulekdecore
ClassKGlobalAccel
InheritsTQObject
-

methods

    -
  • KGlobalAccel (pParent, psName = 0) -
    -
    returns a KGlobalAccel instance
    - - -
    ArgumentTypeDefault
    pParentTQObject
    psNamechar0
    -

  • -
  • blockShortcuts (block) -
    - - -
    returns nothing
    In versions KDE 3.5.0 and above only
    static
    - -
    ArgumentTypeDefault
    blockbool
    -

  • -
  • configGroup () -
    -
    returns (TQString)

  • -
  • disableBlocking (disable) -
    - -
    returns nothing
    In versions KDE 3.5.0 and above only
    - -
    ArgumentTypeDefault
    disablebool
    -

  • -
  • insert (sAction, sLabel, sWhatsThis, cutDef3, cutDef4, slot, bConfigurable = 1, bEnabled = 1) -
    -
    returns (KAccelAction)
    - - - - - - - - -
    ArgumentTypeDefault
    sActionTQString
    sLabelTQString
    sWhatsThisTQString
    cutDef3KShortcut
    cutDef4KShortcut
    slotSLOT (Python callable)
    bConfigurablebool1
    bEnabledbool1
    -

  • -
  • insert (sName, sLabel) -
    -
    returns (KAccelAction)
    - - -
    ArgumentTypeDefault
    sNameTQString
    sLabelTQString
    -

  • -
  • isEnabled () -
    -
    returns (bool)

  • -
  • label (sAction) -
    - -
    returns (TQString)
    In versions KDE 3.3.0 and above only
    - -
    ArgumentTypeDefault
    sActionTQString
    -

  • -
  • readSettings (pConfig = 0) -
    -
    returns (bool)
    - -
    ArgumentTypeDefault
    pConfigKConfigBase0
    -

  • -
  • remove (sAction) -
    - -
    returns (bool)
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    sActionTQString
    -

  • -
  • setActionEnabled (sAction, bEnable) -
    - -
    returns (bool)
    In versions KDE 3.4.0 and above only
    - - -
    ArgumentTypeDefault
    sActionTQString
    bEnablebool
    -

  • -
  • setConfigGroup (cg) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    cgTQString
    -

  • -
  • setEnabled (bEnabled) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    bEnabledbool
    -

  • -
  • setEnabled (a0, a1) -
    Not Implemented
    -

  • -
  • setShortcut (sAction, shortcut) -
    -
    returns (bool)
    - - -
    ArgumentTypeDefault
    sActionTQString
    shortcutKShortcut
    -

  • -
  • setSlot (sAction, slot, ) -
    -
    returns (bool)
    - - -
    ArgumentTypeDefault
    sActionTQString
    slotSLOT (Python callable)
    -

  • -
  • shortcut (sAction) -
    -
    returns (KShortcut)
    - -
    ArgumentTypeDefault
    sActionTQString
    -

  • -
  • updateConnections () -
    -
    returns (bool)

  • -
  • useFourModifierKeys () -
    - -
    returns (bool)
    static

  • -
  • writeSettings (pConfig = 0) -
    -
    returns (bool)
    - -
    ArgumentTypeDefault
    pConfigKConfigBase0
    -

  • -
  • writeSettings (pConfig, bGlobal) -
    - -
    returns (bool)
    In versions KDE 3.1.0 and above only
    - - -
    ArgumentTypeDefault
    pConfigKConfigBase
    bGlobalbool
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kdecore/KGlobalSettings.KMouseSettings.html b/python/pykde/doc/classref/kdecore/KGlobalSettings.KMouseSettings.html deleted file mode 100644 index 9928940f..00000000 --- a/python/pykde/doc/classref/kdecore/KGlobalSettings.KMouseSettings.html +++ /dev/null @@ -1,46 +0,0 @@ - - - - - class KGlobalSettings.KMouseSettings - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KGlobalSettings.KMouseSettings


-
- - - - - -
Table of contents
Modules
kdecore Classes
All Classes
-
- - - - - - - - - - -
Modulekdecore
ClassKGlobalSettings.KMouseSettings
Inherits
-

enums

    -
  • (anonymous) = {RightHanded, LeftHanded -}
-

variables

- - - diff --git a/python/pykde/doc/classref/kdecore/KGlobalSettings.html b/python/pykde/doc/classref/kdecore/KGlobalSettings.html deleted file mode 100644 index e4c42438..00000000 --- a/python/pykde/doc/classref/kdecore/KGlobalSettings.html +++ /dev/null @@ -1,270 +0,0 @@ - - - - - class KGlobalSettings - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KGlobalSettings


-
- - - - - -
Table of contents
Modules
kdecore Classes
All Classes
-
- - - - - - - - - - -
Modulekdecore
ClassKGlobalSettings
Inherits
-

enums

    -
  • Completion = {CompletionNone, CompletionAuto, CompletionMan, CompletionShell, CompletionPopup, CompletionPopupAuto -}
  • TearOffHandle = {Disable, ApplicationLevel, Enable -}
-

methods

    -
  • activeTextColor () -
    - -
    returns (TQColor)
    static

  • -
  • activeTitleColor () -
    - -
    returns (TQColor)
    static

  • -
  • alternateBackgroundColor () -
    - -
    returns (TQColor)
    static

  • -
  • autoSelectDelay () -
    - -
    returns (int)
    static

  • -
  • autostartPath () -
    - -
    returns (TQString)
    static

  • -
  • baseColor () -
    - -
    returns (TQColor)
    static

  • -
  • buttonBackground () -
    - - -
    returns (TQColor)
    In versions KDE 3.4.0 and above only
    static

  • -
  • buttonLayout () -
    - - -
    returns (int)
    In versions KDE 3.3.0 and above only
    static

  • -
  • buttonTextColor () -
    - - -
    returns (TQColor)
    In versions KDE 3.4.0 and above only
    static

  • -
  • calculateAlternateBackgroundColor (base) -
    - -
    returns (TQColor)
    static
    - -
    ArgumentTypeDefault
    baseTQColor
    -

  • -
  • changeCursorOverIcon () -
    - -
    returns (bool)
    static

  • -
  • completionMode () -
    - -
    returns (Completion)
    static

  • -
  • contextMenuKey () -
    - -
    returns (int)
    static

  • -
  • contrast () -
    - -
    returns (int)
    static

  • -
  • desktopGeometry (point) -
    - - -
    returns (TQRect)
    In versions KDE 3.2.0 and above only
    static
    - -
    ArgumentTypeDefault
    pointTQPoint
    -

  • -
  • desktopGeometry (w) -
    - - -
    returns (TQRect)
    In versions KDE 3.2.0 and above only
    static
    - -
    ArgumentTypeDefault
    wTQWidget
    -

  • -
  • desktopPath () -
    - -
    returns (TQString)
    static

  • -
  • dndEventDelay () -
    - -
    returns (int)
    static

  • -
  • documentPath () -
    - -
    returns (TQString)
    static

  • -
  • fixedFont () -
    - -
    returns (TQFont)
    static

  • -
  • generalFont () -
    - -
    returns (TQFont)
    static

  • -
  • highlightColor () -
    - -
    returns (TQColor)
    static

  • -
  • highlightedTextColor () -
    - -
    returns (TQColor)
    static

  • -
  • inactiveTextColor () -
    - -
    returns (TQColor)
    static

  • -
  • inactiveTitleColor () -
    - -
    returns (TQColor)
    static

  • -
  • insertTearOffHandle () -
    - - -
    returns (KGlobalSettings.TearOffHandle)
    In versions KDE 3.1.0 and above only
    static

  • -
  • insertTearOffHandle () -
    - - -
    returns (bool)
    In versions less than KDE 3.1.0 only
    static

  • -
  • isMultiHead () -
    - -
    returns (bool)
    static

  • -
  • largeFont (text = TQString .null) -
    - - -
    returns (TQFont)
    In versions KDE 3.1.0 and above only
    static
    - -
    ArgumentTypeDefault
    textTQStringTQString .null
    -

  • -
  • linkColor () -
    - -
    returns (TQColor)
    static

  • -
  • menuFont () -
    - -
    returns (TQFont)
    static

  • -
  • mouseSettings () -
    - -
    returns (KGlobalSettings.KMouseSettings)
    static

  • -
  • opaqueResize () -
    - - -
    returns (bool)
    In versions KDE 3.2.0 and above only
    static

  • -
  • shadeSortColumn () -
    - - -
    returns (bool)
    In versions KDE 3.4.0 and above only
    static

  • -
  • showContextMenusOnPress () -
    - -
    returns (bool)
    static

  • -
  • showFilePreview (a0) -
    - - -
    returns (bool)
    In versions KDE 3.2.0 and above only
    static
    - -
    ArgumentTypeDefault
    a0KURL
    -

  • -
  • showIconsOnPushButtons () -
    - - -
    returns (bool)
    In versions KDE 3.2.0 and above only
    static

  • -
  • singleClick () -
    - -
    returns (bool)
    static

  • -
  • splashScreenDesktopGeometry () -
    - - -
    returns (TQRect)
    In versions KDE 3.2.0 and above only
    static

  • -
  • taskbarFont () -
    - -
    returns (TQFont)
    static

  • -
  • textColor () -
    - -
    returns (TQColor)
    static

  • -
  • toolBarFont () -
    - -
    returns (TQFont)
    static

  • -
  • toolBarHighlightColor () -
    - -
    returns (TQColor)
    static

  • -
  • trashPath () -
    - -
    returns (TQString)
    static

  • -
  • visitedLinkColor () -
    - -
    returns (TQColor)
    static

  • -
  • visualActivate () -
    - -
    returns (bool)
    static

  • -
  • visualActivateSpeed () -
    - -
    returns (uint)
    static

  • -
  • wheelMouseZooms () -
    - - -
    returns (bool)
    In versions KDE 3.1.0 and above only
    static

  • -
  • windowTitleFont () -
    - -
    returns (TQFont)
    static

  • -
- - - diff --git a/python/pykde/doc/classref/kdecore/KIDNA.html b/python/pykde/doc/classref/kdecore/KIDNA.html deleted file mode 100644 index 7a28604a..00000000 --- a/python/pykde/doc/classref/kdecore/KIDNA.html +++ /dev/null @@ -1,62 +0,0 @@ - - - - - class KIDNA - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KIDNA


-
- - - - - -
Table of contents
Modules
kdecore Classes
All Classes
-
- - - - - - - - - - -
Modulekdecore
ClassKIDNA
Inherits
-

methods

    -
  • toAscii (idna) -
    - -
    returns (TQString)
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    idnaTQString
    -

  • -
  • toAsciiCString (idna) -
    - -
    returns (TQCString)
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    idnaTQString
    -

  • -
  • toUnicode (idna) -
    - -
    returns (TQString)
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    idnaTQString
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kdecore/KIPC.html b/python/pykde/doc/classref/kdecore/KIPC.html deleted file mode 100644 index f9a97a9d..00000000 --- a/python/pykde/doc/classref/kdecore/KIPC.html +++ /dev/null @@ -1,63 +0,0 @@ - - - - - class KIPC - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KIPC


-
- - - - - -
Table of contents
Modules
kdecore Classes
All Classes
-
- - - - - - - - - - -
Modulekdecore
ClassKIPC
Inherits
-

enums

    -
  • Message = {PaletteChanged, FontChanged, StyleChanged, BackgroundChanged, SettingsChanged, IconChanged, ToolbarStyleChanged, ClipboardConfigChanged, BlockShortcuts, UserMessage -}
  • Message = {PaletteChanged, FontChanged, StyleChanged, BackgroundChanged, SettingsChanged, IconChanged, ToolbarStyleChanged, ClipboardConfigChanged, UserMessage -}
  • Message = {PaletteChanged, FontChanged, StyleChanged, BackgroundChanged, SettingsChanged, IconChanged, ToolbarStyleChanged, UserMessage -}
-

methods

    -
  • sendMessage (msg, w, data = 0) -
    - -
    returns nothing
    static
    - - - -
    ArgumentTypeDefault
    msgKIPC.Message
    wWId
    dataint0
    -

  • -
  • sendMessageAll (msg, data = 0) -
    - -
    returns nothing
    static
    - - -
    ArgumentTypeDefault
    msgKIPC.Message
    dataint0
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kdecore/KIcon.html b/python/pykde/doc/classref/kdecore/KIcon.html deleted file mode 100644 index 2453851c..00000000 --- a/python/pykde/doc/classref/kdecore/KIcon.html +++ /dev/null @@ -1,69 +0,0 @@ - - - - - class KIcon - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KIcon


-
- - - - - -
Table of contents
Modules
kdecore Classes
All Classes
-
- - - - - - - - - - -
Modulekdecore
ClassKIcon
Inherits
-

enums

    -
  • Context = {Any, Action, Application, Device, FileSystem, MimeType -}
  • Group = {NoGroup, Desktop, FirstGroup, Toolbar, MainToolbar, Small, Panel, LastGroup, User -}
  • Group = {NoGroup, Desktop, FirstGroup, Toolbar, MainToolbar, Small, Panel, LastGroup, User -}
  • MatchType = {MatchExact, MatchBest -}
  • Overlays = {LockOverlay, ZipOverlay, LinkOverlay, HiddenOverlay, ShareOverlay, OverlayMask -}
  • Overlays = {LockOverlay, ZipOverlay, LinkOverlay, HiddenOverlay, OverlayMask -}
  • States = {DefaultState, ActiveState, DisabledState, LastState -}
  • StdSizes = {SizeSmall, SizeSmallMedium, SizeMedium, SizeLarge, SizeHuge, SizeEnormous -}
  • StdSizes = {SizeSmall, SizeSmallMedium, SizeMedium, SizeLarge, SizeHuge -}
  • StdSizes = {SizeSmall, SizeMedium, SizeLarge, SizeHuge -}
  • StdSizes = {SizeSmall, SizeMedium, SizeLarge -}
  • Type = {Fixed, Scalable, Threshold -}
-

methods

    -
  • KIcon () -
    -
    returns a KIcon instance

  • -
  • isValid () -
    -
    returns (bool)

  • -
-

variables

  • -variables - - - - - -
    VariableType
    contextContext
    pathTQString
    sizeint
    thresholdint
    typeType
- - - diff --git a/python/pykde/doc/classref/kdecore/KIconEffect.html b/python/pykde/doc/classref/kdecore/KIconEffect.html deleted file mode 100644 index c5e95b23..00000000 --- a/python/pykde/doc/classref/kdecore/KIconEffect.html +++ /dev/null @@ -1,205 +0,0 @@ - - - - - class KIconEffect - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KIconEffect


-
- - - - - -
Table of contents
Modules
kdecore Classes
All Classes
-
- - - - - - - - - - -
Modulekdecore
ClassKIconEffect
Inherits
-

enums

    -
  • Effects = {NoEffect, ToGray, Colorize, ToGamma, DeSaturate, ToMonochrome, LastEffect -}
  • Effects = {NoEffect, ToGray, Colorize, ToGamma, DeSaturate, LastEffect -}
-

methods

    -
  • KIconEffect () -
    -
    returns a KIconEffect instance

  • -
  • apply (src, group, state) -
    -
    returns (TQImage)
    - - - -
    ArgumentTypeDefault
    srcTQImage
    groupint
    stateint
    -

  • -
  • apply (src, effect, value, rgb, trans) -
    -
    returns (TQImage)
    - - - - - -
    ArgumentTypeDefault
    srcTQImage
    effectint
    valuefloat
    rgbTQColor
    transbool
    -

  • -
  • apply (src, effect, value, rgb, rgb2, trans) -
    - -
    returns (TQImage)
    In versions KDE 3.4.0 and above only
    - - - - - - -
    ArgumentTypeDefault
    srcTQImage
    effectint
    valuefloat
    rgbTQColor
    rgb2TQColor
    transbool
    -

  • -
  • apply (src, group, state) -
    -
    returns (TQPixmap)
    - - - -
    ArgumentTypeDefault
    srcTQPixmap
    groupint
    stateint
    -

  • -
  • apply (src, effect, value, rgb, trans) -
    -
    returns (TQPixmap)
    - - - - - -
    ArgumentTypeDefault
    srcTQPixmap
    effectint
    valuefloat
    rgbTQColor
    transbool
    -

  • -
  • apply (src, effect, value, rgb, rgb2, trans) -
    - -
    returns (TQPixmap)
    In versions KDE 3.4.0 and above only
    - - - - - - -
    ArgumentTypeDefault
    srcTQPixmap
    effectint
    valuefloat
    rgbTQColor
    rgb2TQColor
    transbool
    -

  • -
  • colorize (image, col, value) -
    - -
    returns nothing
    static
    - - - -
    ArgumentTypeDefault
    imageTQImage
    colTQColor
    valuefloat
    -

  • -
  • deSaturate (image, value) -
    - -
    returns nothing
    static
    - - -
    ArgumentTypeDefault
    imageTQImage
    valuefloat
    -

  • -
  • doublePixels (src) -
    -
    returns (TQImage)
    - -
    ArgumentTypeDefault
    srcTQImage
    -

  • -
  • fingerprint (group, state) -
    -
    returns (TQString)
    - - -
    ArgumentTypeDefault
    groupint
    stateint
    -

  • -
  • hasEffect (group, state) -
    -
    returns (bool)
    - - -
    ArgumentTypeDefault
    groupint
    stateint
    -

  • -
  • init () -
    -
    returns nothing

  • -
  • overlay (src, overlay) -
    - -
    returns nothing
    static
    - - -
    ArgumentTypeDefault
    srcTQImage
    overlayTQImage
    -

  • -
  • semiTransparent (image) -
    - -
    returns nothing
    static
    - -
    ArgumentTypeDefault
    imageTQImage
    -

  • -
  • semiTransparent (pixmap) -
    - -
    returns nothing
    static
    - -
    ArgumentTypeDefault
    pixmapTQPixmap
    -

  • -
  • toGamma (image, value) -
    - -
    returns nothing
    static
    - - -
    ArgumentTypeDefault
    imageTQImage
    valuefloat
    -

  • -
  • toGray (image, value) -
    - -
    returns nothing
    static
    - - -
    ArgumentTypeDefault
    imageTQImage
    valuefloat
    -

  • -
  • toMonochrome (image, black, white, value) -
    - - -
    returns nothing
    In versions KDE 3.4.0 and above only
    static
    - - - - -
    ArgumentTypeDefault
    imageTQImage
    blackTQColor
    whiteTQColor
    valuefloat
    -

  • -
  • visualActivate (widget, rect) -
    - -
    returns nothing
    static
    - - -
    ArgumentTypeDefault
    widgetTQWidget
    rectTQRect
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kdecore/KIconLoader.html b/python/pykde/doc/classref/kdecore/KIconLoader.html deleted file mode 100644 index f9f12b1d..00000000 --- a/python/pykde/doc/classref/kdecore/KIconLoader.html +++ /dev/null @@ -1,195 +0,0 @@ - - - - - class KIconLoader - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KIconLoader


-
- - - - - -
Table of contents
Modules
kdecore Classes
All Classes
-
- - - - - - - - - - -
Modulekdecore
ClassKIconLoader
Inherits
-

methods

    -
  • KIconLoader (appname = TQString .null, dirs = 0) -
    -
    returns a KIconLoader instance
    - - -
    ArgumentTypeDefault
    appnameTQStringTQString .null
    dirsKStandardDirs0
    -

  • -
  • addAppDir (appname) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    appnameTQString
    -

  • -
  • addExtraDesktopThemes () -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only

  • -
  • alphaBlending (group) -
    -
    returns (bool)
    - -
    ArgumentTypeDefault
    groupKIcon.Group
    -

  • -
  • currentSize (group) -
    -
    returns (int)
    - -
    ArgumentTypeDefault
    groupKIcon.Group
    -

  • -
  • enableDelayedIconSetLoading (enable) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    enablebool
    -

  • -
  • extraDesktopThemesAdded () -
    - -
    returns (bool)
    In versions KDE 3.1.0 and above only

  • -
  • iconEffect () -
    -
    returns (KIconEffect)

  • -
  • iconPath (name, group_or_size, canReturnNull = 0) -
    -
    returns (TQString)
    - - - -
    ArgumentTypeDefault
    nameTQString
    group_or_sizeint
    canReturnNullbool0
    -

  • -
  • isDelayedIconSetLoadingEnabled () -
    - -
    returns (bool)
    In versions KDE 3.1.0 and above only

  • -
  • loadAnimated (name, group, size = 0) -
    -
    returns (TQStringList)
    - - - -
    ArgumentTypeDefault
    nameTQString
    groupKIcon.Group
    sizeint0
    -

  • -
  • loadIcon (name, group, size = 0, state = KIcon .DefaultState, path_store = 0, canReturnNull = 0) -
    -
    returns (TQPixmap)
    - - - - - - -
    ArgumentTypeDefault
    nameTQString
    groupKIcon.Group
    sizeint0
    stateintKIcon .DefaultState
    path_storeTQString0
    canReturnNullbool0
    -

  • -
  • loadIconSet (name, group, size, canReturnNull, immediateExistenceCheck) -
    - -
    returns (TQIconSet)
    In versions KDE 3.5.0 and above only
    - - - - - -
    ArgumentTypeDefault
    nameTQString
    groupKIcon.Group
    sizeint
    canReturnNullbool
    immediateExistenceCheckbool
    -

  • -
  • loadIconSet (name, group, size, canReturnNull) -
    - -
    returns (TQIconSet)
    In versions KDE 3.1.0 and above only
    - - - - -
    ArgumentTypeDefault
    nameTQString
    groupKIcon.Group
    sizeint
    canReturnNullbool
    -

  • -
  • loadIconSet (name, group, size = 0) -
    -
    returns (TQIconSet)
    - - - -
    ArgumentTypeDefault
    nameTQString
    groupKIcon.Group
    sizeint0
    -

  • -
  • loadMovie (name, group, size = 0) -
    -
    returns (TQMovie)
    - - - -
    ArgumentTypeDefault
    nameTQString
    groupKIcon.Group
    sizeint0
    -

  • -
  • moviePath (name, group, size = 0) -
    -
    returns (TQString)
    - - - -
    ArgumentTypeDefault
    nameTQString
    groupKIcon.Group
    sizeint0
    -

  • -
  • queryIcons (group_or_size, context = KIcon .Any) -
    -
    returns (TQStringList)
    - - -
    ArgumentTypeDefault
    group_or_sizeint
    contextKIcon.ContextKIcon .Any
    -

  • -
  • queryIconsByContext (group_or_size, context = KIcon .Any) -
    -
    returns (TQStringList)
    - - -
    ArgumentTypeDefault
    group_or_sizeint
    contextKIcon.ContextKIcon .Any
    -

  • -
  • queryIconsByDir (iconsDir) -
    - -
    returns (TQStringList)
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    iconsDirTQString
    -

  • -
  • reconfigure (_appname, _dirs) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    _appnameTQString
    _dirsKStandardDirs
    -

  • -
  • theme () -
    -
    returns (KIconTheme)

  • -
  • unknown () -
    - -
    returns (TQPixmap)
    static

  • -
- - - diff --git a/python/pykde/doc/classref/kdecore/KIconTheme.html b/python/pykde/doc/classref/kdecore/KIconTheme.html deleted file mode 100644 index 83e0fa6a..00000000 --- a/python/pykde/doc/classref/kdecore/KIconTheme.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - - class KIconTheme - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KIconTheme


-
- - - - - -
Table of contents
Modules
kdecore Classes
All Classes
-
- - - - - - - - - - -
Modulekdecore
ClassKIconTheme
Inherits
-

methods

    -
  • KIconTheme (name, appName = TQString .null) -
    -
    returns a KIconTheme instance
    - - -
    ArgumentTypeDefault
    nameTQString
    appNameTQStringTQString .null
    -

  • -
  • current () -
    - -
    returns (TQString)
    static

  • -
  • defaultSize (group) -
    -
    returns (int)
    - -
    ArgumentTypeDefault
    groupKIcon.Group
    -

  • -
  • defaultThemeName () -
    - - -
    returns (TQString)
    In versions KDE 3.1.0 and above only
    static

  • -
  • depth () -
    -
    returns (int)

  • -
  • description () -
    -
    returns (TQString)

  • -
  • dir () -
    -
    returns (TQString)

  • -
  • example () -
    -
    returns (TQString)

  • -
  • iconPath (name, size, match) -
    -
    returns (KIcon)
    - - - -
    ArgumentTypeDefault
    nameTQString
    sizeint
    matchKIcon.MatchType
    -

  • -
  • inherits () -
    -
    returns (TQStringList)

  • -
  • isHidden () -
    - -
    returns (bool)
    In versions KDE 3.1.0 and above only

  • -
  • isValid () -
    -
    returns (bool)

  • -
  • linkOverlay () -
    -
    returns (TQString)

  • -
  • list () -
    - -
    returns (TQStringList)
    static

  • -
  • lockOverlay () -
    -
    returns (TQString)

  • -
  • name () -
    -
    returns (TQString)

  • -
  • queryIcons (size, context = KIcon .Any) -
    -
    returns (TQStringList)
    - - -
    ArgumentTypeDefault
    sizeint
    contextKIcon.ContextKIcon .Any
    -

  • -
  • queryIconsByContext (size, context = KIcon .Any) -
    -
    returns (TQStringList)
    - - -
    ArgumentTypeDefault
    sizeint
    contextKIcon.ContextKIcon .Any
    -

  • -
  • querySizes (group) -
    -
    returns (TQValueList)
    - -
    ArgumentTypeDefault
    groupKIcon.Group
    -

  • -
  • reconfigure () -
    - -
    returns nothing
    static

  • -
  • screenshot () -
    -
    returns (TQString)

  • -
  • shareOverlay () -
    - -
    returns (TQString)
    In versions KDE 3.1.0 and above only

  • -
  • zipOverlay () -
    -
    returns (TQString)

  • -
- - - diff --git a/python/pykde/doc/classref/kdecore/KInstance.html b/python/pykde/doc/classref/kdecore/KInstance.html deleted file mode 100644 index 52d6210e..00000000 --- a/python/pykde/doc/classref/kdecore/KInstance.html +++ /dev/null @@ -1,103 +0,0 @@ - - - - - class KInstance - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KInstance


-
- - - - - -
Table of contents
Modules
kdecore Classes
All Classes
-
- - - - - - - - - - -
Modulekdecore
ClassKInstance
Inherits
-

methods

    -
  • KInstance (instanceName) -
    -
    returns a KInstance instance
    - -
    ArgumentTypeDefault
    instanceNameTQCString
    -

  • -
  • KInstance (aboutData) -
    -
    returns a KInstance instance
    - -
    ArgumentTypeDefault
    aboutDataKAboutData
    -

  • -
  • KInstance (src) -
    -
    returns a KInstance instance
    - -
    ArgumentTypeDefault
    srcKInstance
    -

  • -
  • KInstance (a0) -
    Not Implemented
    -

  • -
  • KInstance (a0) -
    -
    returns a KInstance instance
    - -
    ArgumentTypeDefault
    a0KInstance
    -

  • -
  • aboutData () -
    -
    returns (KAboutData)

  • -
  • charsets () -
    Not Implemented
    -

  • -
  • config () -
    -
    returns (KConfig)

  • -
  • dirs () -
    -
    returns (KStandardDirs)

  • -
  • iconLoader () -
    -
    returns (KIconLoader)

  • -
  • instanceName () -
    -
    returns (TQCString)

  • -
  • mimeSourceFactory () -
    -
    returns (KMimeSourceFactory)

  • -
  • newIconLoader () -
    -
    returns nothing

  • -
  • setConfigName (name) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    nameTQString
    -

  • -
  • sharedConfig () -
    - -
    returns (KSharedConfig)
    In versions KDE 3.2.0 and above only

  • -
- - - diff --git a/python/pykde/doc/classref/kdecore/KKey.html b/python/pykde/doc/classref/kdecore/KKey.html deleted file mode 100644 index 8b9c04ce..00000000 --- a/python/pykde/doc/classref/kdecore/KKey.html +++ /dev/null @@ -1,195 +0,0 @@ - - - - - class KKey - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KKey


-
- - - - - -
Table of contents
Modules
kdecore Classes
All Classes
-
- - - - - - - - - - -
Modulekdecore
ClassKKey
Inherits
-

enums

    -
  • (anonymous) = {MOD_FLAG_COUNT -}
  • (anonymous) = {QtWIN -}
  • (anonymous) = {QtWIN -}
  • (anonymous) = {QtWIN -}
  • ModFlag = {SHIFT, CTRL, ALT, WIN -}
-

methods

    -
  • KKey () -
    -
    returns a KKey instance

  • -
  • KKey (keyQt) -
    -
    returns a KKey instance
    - -
    ArgumentTypeDefault
    keyQtint
    -

  • -
  • KKey (keySeq) -
    -
    returns a KKey instance
    - -
    ArgumentTypeDefault
    keySeqTQKeySequence
    -

  • -
  • KKey (keyEvent) -
    -
    returns a KKey instance
    - -
    ArgumentTypeDefault
    keyEventTQKeyEvent
    -

  • -
  • KKey (key) -
    -
    returns a KKey instance
    - -
    ArgumentTypeDefault
    keyKKey
    -

  • -
  • KKey (key) -
    -
    returns a KKey instance
    - -
    ArgumentTypeDefault
    keyTQString
    -

  • -
  • KKey (key, mod) -
    -
    returns a KKey instance
    - - -
    ArgumentTypeDefault
    keyuint
    moduint
    -

  • -
  • clear () -
    -
    returns nothing

  • -
  • compare (key) -
    -
    returns (int)
    - -
    ArgumentTypeDefault
    keyKKey
    -

  • -
  • init (keyQt) -
    -
    returns (bool)
    - -
    ArgumentTypeDefault
    keyQtint
    -

  • -
  • init (keySeq) -
    -
    returns (bool)
    - -
    ArgumentTypeDefault
    keySeqTQKeySequence
    -

  • -
  • init (keyEvent) -
    -
    returns (bool)
    - -
    ArgumentTypeDefault
    keyEventTQKeyEvent
    -

  • -
  • init (key) -
    -
    returns (bool)
    - -
    ArgumentTypeDefault
    keyKKey
    -

  • -
  • init (key) -
    -
    returns (bool)
    - -
    ArgumentTypeDefault
    keyTQString
    -

  • -
  • init (key, mod) -
    -
    returns (bool)
    - - -
    ArgumentTypeDefault
    keyuint
    moduint
    -

  • -
  • isNull () -
    -
    returns (bool)

  • -
  • isValidNative () -
    Not Implemented
    -

  • -
  • isValidQt () -
    Not Implemented
    -

  • -
  • keyCodeQt () -
    -
    returns (int)

  • -
  • modFlagLabel (f) -
    - -
    returns (TQString)
    static
    - -
    ArgumentTypeDefault
    fKKey.ModFlag
    -

  • -
  • modFlags () -
    -
    returns (uint)

  • -
  • null () -
    - -
    returns (KKey)
    static

  • -
  • simplify () -
    -
    returns nothing

  • -
  • sym () -
    -
    returns (uint)

  • -
  • toString () -
    -
    returns (TQString)

  • -
  • toStringInternal () -
    -
    returns (TQString)

  • -
-

operators

    -
  • operator != (a0) -
    - -
    returns (bool)
    In versions KDE 3.1.4 and above only
    - -
    ArgumentTypeDefault
    a0KKey
    -

  • -
  • operator < (a0) -
    - -
    returns (bool)
    In versions KDE 3.1.4 and above only
    - -
    ArgumentTypeDefault
    a0KKey
    -

  • -
  • operator == (a0) -
    - -
    returns (bool)
    In versions KDE 3.1.4 and above only
    - -
    ArgumentTypeDefault
    a0KKey
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kdecore/KKeyNative.html b/python/pykde/doc/classref/kdecore/KKeyNative.html deleted file mode 100644 index 3499b791..00000000 --- a/python/pykde/doc/classref/kdecore/KKeyNative.html +++ /dev/null @@ -1,174 +0,0 @@ - - - - - class KKeyNative - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KKeyNative


-
- - - - - -
Table of contents
Modules
kdecore Classes
All Classes
-
- - - - - - - - - - -
Modulekdecore
ClassKKeyNative
Inherits
-

methods

    -
  • KKeyNative () -
    -
    returns a KKeyNative instance

  • -
  • KKeyNative (xevent) -
    Not Implemented
    -

  • -
  • KKeyNative (key) -
    -
    returns a KKeyNative instance
    - -
    ArgumentTypeDefault
    keyKKey
    -

  • -
  • KKeyNative (a0) -
    -
    returns a KKeyNative instance
    - -
    ArgumentTypeDefault
    a0KKeyNative
    -

  • -
  • KKeyNative (code, mod, sym) -
    -
    returns a KKeyNative instance
    - - - -
    ArgumentTypeDefault
    codeuint
    moduint
    symuint
    -

  • -
  • accelModMaskX () -
    - -
    returns (uint)
    static

  • -
  • clear () -
    -
    returns nothing

  • -
  • code () -
    -
    returns (uint)

  • -
  • compare (key) -
    -
    returns (int)
    - -
    ArgumentTypeDefault
    keyKKeyNative
    -

  • -
  • init (xevent) -
    Not Implemented
    -

  • -
  • init (key) -
    -
    returns (bool)
    - -
    ArgumentTypeDefault
    keyKKey
    -

  • -
  • init (key) -
    -
    returns (bool)
    - -
    ArgumentTypeDefault
    keyKKeyNative
    -

  • -
  • isNull () -
    -
    returns (bool)

  • -
  • key () -
    -
    returns (KKey)

  • -
  • keyCodeQt () -
    -
    returns (int)

  • -
  • keyboardHasWinKey () -
    - -
    returns (bool)
    static

  • -
  • mod () -
    -
    returns (uint)

  • -
  • modX (modFlag) -
    - -
    returns (uint)
    static
    - -
    ArgumentTypeDefault
    modFlagKKey.ModFlag
    -

  • -
  • modXLock () -
    - - -
    returns (uint)
    In versions KDE 3.1.3 and above only
    static

  • -
  • modXModeSwitch () -
    - - -
    returns (uint)
    In versions KDE 3.4.3 and above only
    static

  • -
  • modXNumLock () -
    - - -
    returns (uint)
    In versions KDE 3.1.3 and above only
    static

  • -
  • modXScrollLock () -
    - - -
    returns (uint)
    In versions KDE 3.1.3 and above only
    static

  • -
  • null () -
    - -
    returns (KKeyNative)
    static

  • -
  • sym () -
    -
    returns (uint)

  • -
-

operators

    -
  • operator != (a0) -
    - -
    returns (bool)
    In versions KDE 3.1.4 and above only
    - -
    ArgumentTypeDefault
    a0KKeyNative
    -

  • -
  • operator < (a0) -
    - -
    returns (bool)
    In versions KDE 3.1.4 and above only
    - -
    ArgumentTypeDefault
    a0KKeyNative
    -

  • -
  • operator == (a0) -
    - -
    returns (bool)
    In versions KDE 3.1.4 and above only
    - -
    ArgumentTypeDefault
    a0KKeyNative
    -

  • -
  • operator KKey () -
    Not Implemented
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kdecore/KKeySequence.html b/python/pykde/doc/classref/kdecore/KKeySequence.html deleted file mode 100644 index 1bf6658d..00000000 --- a/python/pykde/doc/classref/kdecore/KKeySequence.html +++ /dev/null @@ -1,180 +0,0 @@ - - - - - class KKeySequence - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KKeySequence


-
- - - - - -
Table of contents
Modules
kdecore Classes
All Classes
-
- - - - - - - - - - -
Modulekdecore
ClassKKeySequence
Inherits
-

enums

    -
  • (anonymous) = {MAX_KEYS -}
-

methods

    -
  • KKeySequence () -
    -
    returns a KKeySequence instance

  • -
  • KKeySequence (keySeq) -
    -
    returns a KKeySequence instance
    - -
    ArgumentTypeDefault
    keySeqTQKeySequence
    -

  • -
  • KKeySequence (key) -
    -
    returns a KKeySequence instance
    - -
    ArgumentTypeDefault
    keyKKey
    -

  • -
  • KKeySequence (key) -
    Not Implemented
    -

  • -
  • KKeySequence (keySeq) -
    -
    returns a KKeySequence instance
    - -
    ArgumentTypeDefault
    keySeqKKeySequence
    -

  • -
  • KKeySequence (keySeq) -
    -
    returns a KKeySequence instance
    - -
    ArgumentTypeDefault
    keySeqTQString
    -

  • -
  • clear () -
    -
    returns nothing

  • -
  • compare (keySeq) -
    -
    returns (int)
    - -
    ArgumentTypeDefault
    keySeqKKeySequence
    -

  • -
  • count () -
    -
    returns (uint)

  • -
  • init (keySeq) -
    -
    returns (bool)
    - -
    ArgumentTypeDefault
    keySeqTQKeySequence
    -

  • -
  • init (key) -
    -
    returns (bool)
    - -
    ArgumentTypeDefault
    keyKKey
    -

  • -
  • init (key) -
    Not Implemented
    -

  • -
  • init (keySeq) -
    -
    returns (bool)
    - -
    ArgumentTypeDefault
    keySeqKKeySequence
    -

  • -
  • init (key) -
    -
    returns (bool)
    - -
    ArgumentTypeDefault
    keyTQString
    -

  • -
  • isNull () -
    -
    returns (bool)

  • -
  • isTriggerOnRelease () -
    -
    returns (bool)

  • -
  • key (i) -
    -
    returns (KKey)
    - -
    ArgumentTypeDefault
    iuint
    -

  • -
  • keyCodeQt () -
    -
    returns (int)

  • -
  • null () -
    - -
    returns (KKeySequence)
    static

  • -
  • qt () -
    -
    returns (TQKeySequence)

  • -
  • setKey (i, key) -
    -
    returns (bool)
    - - -
    ArgumentTypeDefault
    iuint
    keyKKey
    -

  • -
  • setTriggerOnRelease (a0) -
    Not Implemented
    -

  • -
  • startsWith (keySeq) -
    -
    returns (bool)
    - -
    ArgumentTypeDefault
    keySeqKKeySequence
    -

  • -
  • toString () -
    -
    returns (TQString)

  • -
  • toStringInternal () -
    -
    returns (TQString)

  • -
-

operators

    -
  • operator != (a0) -
    - -
    returns (bool)
    In versions KDE 3.1.4 and above only
    - -
    ArgumentTypeDefault
    a0KKeySequence
    -

  • -
  • operator < (a0) -
    - -
    returns (bool)
    In versions KDE 3.1.4 and above only
    - -
    ArgumentTypeDefault
    a0KKeySequence
    -

  • -
  • operator == (a0) -
    - -
    returns (bool)
    In versions KDE 3.1.4 and above only
    - -
    ArgumentTypeDefault
    a0KKeySequence
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kdecore/KKeyServer.CodeMod.html b/python/pykde/doc/classref/kdecore/KKeyServer.CodeMod.html deleted file mode 100644 index f5389c2f..00000000 --- a/python/pykde/doc/classref/kdecore/KKeyServer.CodeMod.html +++ /dev/null @@ -1,44 +0,0 @@ - - - - - class KKeyServer.CodeMod - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KKeyServer.CodeMod


-
- - - - - -
Table of contents
Modules
kdecore Classes
All Classes
-
- - - - - - - - - - -
Modulekdecore
ClassKKeyServer.CodeMod
Inherits
-

variables

- - - diff --git a/python/pykde/doc/classref/kdecore/KKeyServer.Key.html b/python/pykde/doc/classref/kdecore/KKeyServer.Key.html deleted file mode 100644 index 80a6398c..00000000 --- a/python/pykde/doc/classref/kdecore/KKeyServer.Key.html +++ /dev/null @@ -1,103 +0,0 @@ - - - - - class KKeyServer.Key - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KKeyServer.Key


-
- - - - - -
Table of contents
Modules
kdecore Classes
All Classes
-
- - - - - - - - - - -
Modulekdecore
ClassKKeyServer.Key
Inherits
-

enums

    -
  • (anonymous) = {CODE_FOR_QT -}
-

methods

    -
  • code () -
    -
    returns (uint)

  • -
  • compare (key) -
    -
    returns (int)
    - -
    ArgumentTypeDefault
    keyKKeyServer.Key
    -

  • -
  • init (key, bQt) -
    -
    returns (bool)
    - - -
    ArgumentTypeDefault
    keyKKey
    bQtbool
    -

  • -
  • isNative () -
    -
    returns (bool)

  • -
  • key () -
    -
    returns (KKey)

  • -
  • keyCodeQt () -
    -
    returns (int)

  • -
  • mod () -
    -
    returns (uint)

  • -
  • setKeycodeQt (keyQt) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    keyQtint
    -

  • -
  • sym () -
    -
    returns (uint)

  • -
-

operators

    -
  • operator < (a0) -
    - -
    returns (bool)
    In versions KDE 3.1.4 and above only
    - -
    ArgumentTypeDefault
    a0KKeyServer.Key
    -

  • -
  • operator == (a0) -
    - -
    returns (bool)
    In versions KDE 3.1.4 and above only
    - -
    ArgumentTypeDefault
    a0KKeyServer.Key
    -

  • -
-

variables

  • -variables - - - -
    VariableType
    m_codeuint
    m_moduint
    m_symuint
- - - diff --git a/python/pykde/doc/classref/kdecore/KKeyServer.Sym.html b/python/pykde/doc/classref/kdecore/KKeyServer.Sym.html deleted file mode 100644 index 81e170df..00000000 --- a/python/pykde/doc/classref/kdecore/KKeyServer.Sym.html +++ /dev/null @@ -1,92 +0,0 @@ - - - - - class KKeyServer.Sym - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KKeyServer.Sym


-
- - - - - -
Table of contents
Modules
kdecore Classes
All Classes
-
- - - - - - - - - - -
Modulekdecore
ClassKKeyServer.Sym
Inherits
-

methods

    -
  • Sym () -
    -
    returns a Sym instance

  • -
  • Sym (sym) -
    -
    returns a Sym instance
    - -
    ArgumentTypeDefault
    symuint
    -

  • -
  • Sym (s) -
    -
    returns a Sym instance
    - -
    ArgumentTypeDefault
    sTQString
    -

  • -
  • getModsRequired () -
    -
    returns (uint)

  • -
  • getSymVariation () -
    -
    returns (uint)

  • -
  • init (s) -
    -
    returns (bool)
    - -
    ArgumentTypeDefault
    sTQString
    -

  • -
  • initQt (keyQt) -
    -
    returns (bool)
    - -
    ArgumentTypeDefault
    keyQtint
    -

  • -
  • qt () -
    -
    returns (int)

  • -
  • toString () -
    -
    returns (TQString)

  • -
  • toStringInternal () -
    -
    returns (TQString)

  • -
-

operators

    -
  • operator uint () -
    Not Implemented
    -

  • -
-

variables

- - - diff --git a/python/pykde/doc/classref/kdecore/KKeyServer.Variations.html b/python/pykde/doc/classref/kdecore/KKeyServer.Variations.html deleted file mode 100644 index 40a3c684..00000000 --- a/python/pykde/doc/classref/kdecore/KKeyServer.Variations.html +++ /dev/null @@ -1,68 +0,0 @@ - - - - - class KKeyServer.Variations - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KKeyServer.Variations


-
- - - - - -
Table of contents
Modules
kdecore Classes
All Classes
-
- - - - - - - - - - -
Modulekdecore
ClassKKeyServer.Variations
Inherits
-

enums

    -
  • (anonymous) = {MAX_VARIATIONS -}
-

methods

    -
  • Variations () -
    -
    returns a Variations instance

  • -
  • count () -
    -
    returns (uint)

  • -
  • init (a0, bQt) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    a0KKey
    bQtbool
    -

  • -
  • key (i) -
    -
    returns (KKeyServer.Key)
    - -
    ArgumentTypeDefault
    iuint
    -

  • -
-

variables

  • -variables - - -
    VariableType
    m_nVariationsuint
    m_rgkey[MAX_VARIATIONS]KKeyServer::Key
- - - diff --git a/python/pykde/doc/classref/kdecore/KKeyServer.html b/python/pykde/doc/classref/kdecore/KKeyServer.html deleted file mode 100644 index 7f0fc1e8..00000000 --- a/python/pykde/doc/classref/kdecore/KKeyServer.html +++ /dev/null @@ -1,132 +0,0 @@ - - - - - class KKeyServer - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KKeyServer


-
- - - - - -
Table of contents
Modules
kdecore Classes
All Classes
-
- - - - - - - - - - -
Modulekdecore
ClassKKeyServer
Inherits
-

classes

-

enums

    -
  • ExtraModFlag = {MODE_SWITCH -}
-

methods

    -
  • accelModMaskX () -
    -
    returns (uint)

  • -
  • codeXToSym (codeX, modX) -
    Not Implemented
    -

  • -
  • initializeMods () -
    -
    returns (bool)

  • -
  • keyQtToKeyX (keyCombQt, pKeyCodeX) -
    Not Implemented
    -

  • -
  • keyQtToMod (keyQt) -
    Not Implemented
    -

  • -
  • keyQtToSym (keyQt) -
    Not Implemented
    -

  • -
  • keyboardHasWinKey () -
    -
    returns (bool)

  • -
  • modToModQt (mod) -
    Not Implemented
    -

  • -
  • modToModX (mod) -
    Not Implemented
    -

  • -
  • modToStringInternal (mod) -
    Not Implemented
    -

  • -
  • modToStringUser (mod) -
    Not Implemented
    -

  • -
  • modX (modFlag) -
    -
    returns (uint)
    - -
    ArgumentTypeDefault
    modFlagKKey.ModFlag
    -

  • -
  • modXAlt () -
    -
    returns (uint)

  • -
  • modXCtrl () -
    -
    returns (uint)

  • -
  • modXLock () -
    -
    returns (uint)

  • -
  • modXModeSwitch () -
    - -
    returns (uint)
    In versions KDE 3.4.2 and above only

  • -
  • modXNumLock () -
    -
    returns (uint)

  • -
  • modXScrollLock () -
    -
    returns (uint)

  • -
  • modXShift () -
    -
    returns (uint)

  • -
  • modXToMod (modX) -
    Not Implemented
    -

  • -
  • modXToModQt (modX) -
    Not Implemented
    -

  • -
  • modXWin () -
    -
    returns (uint)

  • -
  • qtButtonStateToMod (s) -
    Not Implemented
    -

  • -
  • stringToSymMod (a0) -
    Not Implemented
    -

  • -
  • stringUserToMod (mod) -
    - -
    returns (uint)
    In versions KDE 3.5.0 and above only
    - -
    ArgumentTypeDefault
    modTQString
    -

  • -
  • symToKeyQt (sym) -
    Not Implemented
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kdecore/KLibFactory.html b/python/pykde/doc/classref/kdecore/KLibFactory.html deleted file mode 100644 index 1c27a067..00000000 --- a/python/pykde/doc/classref/kdecore/KLibFactory.html +++ /dev/null @@ -1,72 +0,0 @@ - - - - - class KLibFactory - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KLibFactory


-
- - - - - -
Table of contents
Modules
kdecore Classes
All Classes
-
- - - - - - - - - - -
Modulekdecore
ClassKLibFactory
InheritsTQObject
-

methods

    -
  • KLibFactory (parent = 0, name = 0) -
    -
    returns a KLibFactory instance
    - - -
    ArgumentTypeDefault
    parentTQObject0
    namechar0
    -

  • -
  • create (parent = 0, name = 0, classname = "TQObject", args = TQStringList ()) -
    -
    returns (TQObject)
    - - - - -
    ArgumentTypeDefault
    parentTQObject0
    namechar0
    classnamechar"TQObject"
    argsTQStringListTQStringList ()
    -

  • -
  • createObject (parent = 0, name = 0, className = "TQObject", args = TQStringList ()) -
    -
    returns (TQObject)
    - - - - -
    ArgumentTypeDefault
    parentTQObject0
    namechar0
    classNamechar"TQObject"
    argsTQStringListTQStringList ()
    -

  • -
  • objectCreated (obj) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    objTQObject
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kdecore/KLibLoader.html b/python/pykde/doc/classref/kdecore/KLibLoader.html deleted file mode 100644 index 902cc9aa..00000000 --- a/python/pykde/doc/classref/kdecore/KLibLoader.html +++ /dev/null @@ -1,91 +0,0 @@ - - - - - class KLibLoader - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KLibLoader


-
- - - - - -
Table of contents
Modules
kdecore Classes
All Classes
-
- - - - - - - - - - -
Modulekdecore
ClassKLibLoader
InheritsTQObject
-

methods

    -
  • KLibLoader (parent = 0, name = 0) -
    -
    returns a KLibLoader instance
    - - -
    ArgumentTypeDefault
    parentTQObject0
    namechar0
    -

  • -
  • cleanUp () -
    - -
    returns nothing
    static

  • -
  • factory (libname) -
    -
    returns (KLibFactory)
    - -
    ArgumentTypeDefault
    libnamechar
    -

  • -
  • findLibrary (name, instance = KGlobal .instance ()) -
    - -
    returns (TQString)
    static
    - - -
    ArgumentTypeDefault
    namechar
    instanceKInstanceKGlobal .instance ()
    -

  • -
  • globalLibrary (name) -
    -
    returns (KLibrary)
    - -
    ArgumentTypeDefault
    namechar
    -

  • -
  • lastErrorMessage () -
    -
    returns (TQString)

  • -
  • library (libname) -
    -
    returns (KLibrary)
    - -
    ArgumentTypeDefault
    libnamechar
    -

  • -
  • self () -
    - -
    returns (KLibLoader)
    static

  • -
  • unloadLibrary (libname) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    libnamechar
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kdecore/KLibrary.html b/python/pykde/doc/classref/kdecore/KLibrary.html deleted file mode 100644 index f5b8f55e..00000000 --- a/python/pykde/doc/classref/kdecore/KLibrary.html +++ /dev/null @@ -1,80 +0,0 @@ - - - - - class KLibrary - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KLibrary


-
- - - - - -
Table of contents
Modules
kdecore Classes
All Classes
-
- - - - - - - - - - -
Modulekdecore
ClassKLibrary
InheritsTQObject
-

methods

    -
  • KLibrary (libname, filename, handle) -
    Not Implemented
    -

  • -
  • KLibrary (a0, a1, a2) -
    -
    returns a KLibrary instance
    - - - -
    ArgumentTypeDefault
    a0TQString
    a1TQString
    a2void
    -

  • -
  • factory () -
    -
    returns (KLibFactory)

  • -
  • fileName () -
    -
    returns (TQString)

  • -
  • hasSymbol (name) -
    - -
    returns (bool)
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    namechar
    -

  • -
  • name () -
    -
    returns (TQString)

  • -
  • symbol (name) -
    -
    returns (void)
    - -
    ArgumentTypeDefault
    namechar
    -

  • -
  • unload () -
    -
    returns nothing

  • -
  • ~KLibrary () -
    -
    returns nothing

  • -
- - - diff --git a/python/pykde/doc/classref/kdecore/KLocale.html b/python/pykde/doc/classref/kdecore/KLocale.html deleted file mode 100644 index ea2aedfb..00000000 --- a/python/pykde/doc/classref/kdecore/KLocale.html +++ /dev/null @@ -1,583 +0,0 @@ - - - - - class KLocale - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KLocale


-
- - - - - -
Table of contents
Modules
kdecore Classes
All Classes
-
- - - - - - - - - - -
Modulekdecore
ClassKLocale
Inherits
-

enums

    -
  • MeasureSystem = {Metric, Imperial -}
  • ReadDateFlags = {NormalFormat, ShortFormat -}
  • ReadTimeFlags = {WithSeconds, WithoutSeconds -}
  • SignPosition = {ParensAround, BeforeQuantityMoney, AfterQuantityMoney, BeforeMoney, AfterMoney -}
-

methods

    -
  • KLocale (catalog, config = 0) -
    -
    returns a KLocale instance
    - - -
    ArgumentTypeDefault
    catalogTQString
    configKConfig0
    -

  • -
  • KLocale (rhs) -
    Not Implemented
    -

  • -
  • KLocale (a0) -
    -
    returns a KLocale instance
    - -
    ArgumentTypeDefault
    a0KLocale
    -

  • -
  • _initLanguage (config) -
    - - -
    returns (TQString)
    In versions KDE 3.0.1 and above only
    static
    - -
    ArgumentTypeDefault
    configKConfigBase
    -

  • -
  • allCountriesTwoAlpha () -
    - -
    returns (TQStringList)
    In versions KDE 3.1.0 and above only

  • -
  • allLanguagesTwoAlpha () -
    - -
    returns (TQStringList)
    In versions KDE 3.1.0 and above only

  • -
  • calendar () -
    - -
    returns (KCalendarSystem)
    In versions KDE 3.2.0 and above only

  • -
  • calendarType () -
    - -
    returns (TQString)
    In versions KDE 3.2.0 and above only

  • -
  • charset () -
    Not Implemented
    -

  • -
  • codecForEncoding () -
    -
    returns (TQTextCodec)

  • -
  • country () -
    -
    returns (TQString)

  • -
  • currencySymbol () -
    -
    returns (TQString)

  • -
  • dateFormat () -
    -
    returns (TQString)

  • -
  • dateFormatShort () -
    -
    returns (TQString)

  • -
  • dateMonthNamePossessive () -
    - -
    returns (bool)
    In versions KDE 3.1.0 and above only

  • -
  • decimalSymbol () -
    -
    returns (TQString)

  • -
  • defaultCountry () -
    - -
    returns (TQString)
    static

  • -
  • defaultLanguage () -
    - -
    returns (TQString)
    static

  • -
  • encoding () -
    -
    returns (char)

  • -
  • encodingMib () -
    -
    returns (int)

  • -
  • fileEncodingMib () -
    - -
    returns (int)
    In versions KDE 3.2.0 and above only

  • -
  • formatDate (pDate, shortFormat = 0) -
    -
    returns (TQString)
    - - -
    ArgumentTypeDefault
    pDateTQDate
    shortFormatbool0
    -

  • -
  • formatDateTime (pDateTime, shortFormat, includeSecs = 0) -
    -
    returns (TQString)
    - - - -
    ArgumentTypeDefault
    pDateTimeTQDateTime
    shortFormatbool
    includeSecsbool0
    -

  • -
  • formatLong (num) -
    - -
    returns (TQString)
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    numlong
    -

  • -
  • formatMoney (num, currency = TQString .null, digits = -1) -
    -
    returns (TQString)
    - - - -
    ArgumentTypeDefault
    numdouble
    currencyTQStringTQString .null
    digitsint-1
    -

  • -
  • formatMoney (numStr) -
    -
    returns (TQString)
    - -
    ArgumentTypeDefault
    numStrTQString
    -

  • -
  • formatNumber (num, precision = -1) -
    -
    returns (TQString)
    - - -
    ArgumentTypeDefault
    numdouble
    precisionint-1
    -

  • -
  • formatNumber (numStr) -
    -
    returns (TQString)
    - -
    ArgumentTypeDefault
    numStrTQString
    -

  • -
  • formatNumber (numStr, round, precision) -
    - -
    returns (TQString)
    In versions KDE 3.5.0 and above only
    - - - -
    ArgumentTypeDefault
    numStrTQString
    roundbool
    precisionint
    -

  • -
  • formatTime (pTime, includeSecs, isDuration) -
    - -
    returns (TQString)
    In versions KDE 3.3.0 and above only
    - - - -
    ArgumentTypeDefault
    pTimeTQTime
    includeSecsbool
    isDurationbool
    -

  • -
  • formatTime (pTime, includeSecs = 0) -
    -
    returns (TQString)
    - - -
    ArgumentTypeDefault
    pTimeTQTime
    includeSecsbool0
    -

  • -
  • fracDigits () -
    -
    returns (int)

  • -
  • initInstance () -
    Not Implemented
    -

  • -
  • insertCatalogue (catalog) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    catalogTQString
    -

  • -
  • langLookup (fname, rtype = "html") -
    - -
    returns (TQString)
    static
    - - -
    ArgumentTypeDefault
    fnameTQString
    rtypechar"html"
    -

  • -
  • language () -
    -
    returns (TQString)

  • -
  • languageList () -
    -
    returns (TQStringList)

  • -
  • languages () -
    -
    returns (TQString)

  • -
  • languagesTwoAlpha () -
    -
    returns (TQStringList)

  • -
  • measureSystem () -
    -
    returns (KLocale.MeasureSystem)

  • -
  • monetaryDecimalSymbol () -
    -
    returns (TQString)

  • -
  • monetaryThousandsSeparator () -
    -
    returns (TQString)

  • -
  • monthName (i, shortName = 0) -
    -
    returns (TQString)
    - - -
    ArgumentTypeDefault
    iint
    shortNamebool0
    -

  • -
  • monthNamePossessive (i, shortName = 0) -
    - -
    returns (TQString)
    In versions KDE 3.1.0 and above only
    - - -
    ArgumentTypeDefault
    iint
    shortNamebool0
    -

  • -
  • negativeMonetarySignPosition () -
    -
    returns (SignPosition)

  • -
  • negativePrefixCurrencySymbol () -
    -
    returns (bool)

  • -
  • negativeSign () -
    -
    returns (TQString)

  • -
  • nounDeclension () -
    - -
    returns (bool)
    In versions KDE 3.1.0 and above only

  • -
  • pageSize () -
    -
    returns (int)

  • -
  • positiveMonetarySignPosition () -
    -
    returns (SignPosition)

  • -
  • positivePrefixCurrencySymbol () -
    -
    returns (bool)

  • -
  • positiveSign () -
    -
    returns (TQString)

  • -
  • readDate (str) -
    -
    returns (TQDate) ok (bool)
    - -
    ArgumentTypeDefault
    strTQString
    -

  • -
  • readDate (intstr, fmt) -
    -
    returns (TQDate) ok (bool)
    - - -
    ArgumentTypeDefault
    intstrTQString
    fmtTQString
    -

  • -
  • readDate (str, flags) -
    - -
    returns (TQDate) ok (bool)
    In versions KDE 3.2.0 and above only
    - - -
    ArgumentTypeDefault
    strTQString
    flagsKLocale.ReadDateFlags
    -

  • -
  • readMoney (numStr) -
    -
    returns (double) ok (bool)
    - -
    ArgumentTypeDefault
    numStrTQString
    -

  • -
  • readNumber (numStr) -
    -
    returns (double) ok (bool)
    - -
    ArgumentTypeDefault
    numStrTQString
    -

  • -
  • readTime (str) -
    -
    returns (TQTime) ok (bool)
    - -
    ArgumentTypeDefault
    strTQString
    -

  • -
  • readTime (str, flags) -
    - -
    returns (TQTime) ok (bool)
    In versions KDE 3.2.0 and above only
    - - -
    ArgumentTypeDefault
    strTQString
    flagsKLocale.ReadTimeFlags
    -

  • -
  • removeCatalogue (catalog) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    catalogTQString
    -

  • -
  • setActiveCatalogue (catalog) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    catalogTQString
    -

  • -
  • setCalendar (calendarType) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    calendarTypeTQString
    -

  • -
  • setCharset (charset) -
    Not Implemented
    -

  • -
  • setCountry (country) -
    -
    returns (bool)
    - -
    ArgumentTypeDefault
    countryTQString
    -

  • -
  • setCurrencySymbol (symbol) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    symbolTQString
    -

  • -
  • setDateFormat (format) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    formatTQString
    -

  • -
  • setDateFormatShort (format) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    formatTQString
    -

  • -
  • setDateMonthNamePossessive (possessive) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    possessivebool
    -

  • -
  • setDecimalSymbol (symbol) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    symbolTQString
    -

  • -
  • setEncoding (mibEnum) -
    -
    returns (bool)
    - -
    ArgumentTypeDefault
    mibEnumint
    -

  • -
  • setFracDigits (digits) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    digitsint
    -

  • -
  • setLanguage (language) -
    -
    returns (bool)
    - -
    ArgumentTypeDefault
    languageTQString
    -

  • -
  • setLanguage (languages) -
    -
    returns (bool)
    - -
    ArgumentTypeDefault
    languagesTQStringList
    -

  • -
  • setMainCatalogue (catalog) -
    - -
    returns nothing
    static
    - -
    ArgumentTypeDefault
    catalogchar
    -

  • -
  • setMeasureSystem (value) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    valueKLocale.MeasureSystem
    -

  • -
  • setMonetaryDecimalSymbol (symbol) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    symbolTQString
    -

  • -
  • setMonetaryThousandsSeparator (separator) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    separatorTQString
    -

  • -
  • setNegativeMonetarySignPosition (signpos) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    signposKLocale.SignPosition
    -

  • -
  • setNegativePrefixCurrencySymbol (prefix) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    prefixbool
    -

  • -
  • setNegativeSign (sign) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    signTQString
    -

  • -
  • setPageSize (paperFormat) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    paperFormatint
    -

  • -
  • setPositiveMonetarySignPosition (signpos) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    signposKLocale.SignPosition
    -

  • -
  • setPositivePrefixCurrencySymbol (prefix) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    prefixbool
    -

  • -
  • setPositiveSign (sign) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    signTQString
    -

  • -
  • setThousandsSeparator (separator) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    separatorTQString
    -

  • -
  • setTimeFormat (format) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    formatTQString
    -

  • -
  • setWeekStartDay (day) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    dayint
    -

  • -
  • setWeekStartsMonday (start) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    startbool
    -

  • -
  • splitLocale (str, language, country, charset) -
    - -
    returns nothing
    static
    - - - - -
    ArgumentTypeDefault
    strTQString
    languageTQString
    countryTQString
    charsetTQString
    -

  • -
  • thousandsSeparator () -
    -
    returns (TQString)

  • -
  • timeFormat () -
    -
    returns (TQString)

  • -
  • translate (index) -
    -
    returns (TQString)
    - -
    ArgumentTypeDefault
    indexchar
    -

  • -
  • translate (comment, fallback) -
    -
    returns (TQString)
    - - -
    ArgumentTypeDefault
    commentchar
    fallbackchar
    -

  • -
  • translate (singular, plural, n) -
    -
    returns (TQString)
    - - - -
    ArgumentTypeDefault
    singularchar
    pluralchar
    nulong
    -

  • -
  • translateQt (context, sourceText, message) -
    -
    returns (TQString)
    - - - -
    ArgumentTypeDefault
    contextchar
    sourceTextchar
    messagechar
    -

  • -
  • twoAlphaToCountryName (code) -
    - -
    returns (TQString)
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    codeTQString
    -

  • -
  • twoAlphaToLanguageName (code) -
    - -
    returns (TQString)
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    codeTQString
    -

  • -
  • use12Clock () -
    -
    returns (bool)

  • -
  • weekDayName (i, shortName = 0) -
    -
    returns (TQString)
    - - -
    ArgumentTypeDefault
    iint
    shortNamebool0
    -

  • -
  • weekStartDay () -
    - -
    returns (int)
    In versions KDE 3.1.0 and above only

  • -
  • weekStartsMonday () -
    -
    returns (bool)

  • -
- - - diff --git a/python/pykde/doc/classref/kdecore/KLockFile.html b/python/pykde/doc/classref/kdecore/KLockFile.html deleted file mode 100644 index 7469c10e..00000000 --- a/python/pykde/doc/classref/kdecore/KLockFile.html +++ /dev/null @@ -1,82 +0,0 @@ - - - - - class KLockFile - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KLockFile


-
- - - - - -
Table of contents
Modules
kdecore Classes
All Classes
-
- - - - - - - - - - -
Modulekdecore
ClassKLockFile
InheritsKShared
-

enums

    -
  • LockOptions = {LockNoBlock, LockForce -}
  • LockResult = {LockOK, LockFail, LockError, LockStale -}
-

methods

    -
  • KLockFile (file) -
    - -
    returns a KLockFile instance
    In versions KDE 3.3.0 and above only
    - -
    ArgumentTypeDefault
    fileTQString
    -

  • -
  • getLockInfo () -
    - -
    returns (bool) pid (int) hostname (TQString) appname (TQString)
    In versions KDE 3.3.0 and above only

  • -
  • isLocked () -
    - -
    returns (bool)
    In versions KDE 3.3.0 and above only

  • -
  • lock (options = 0) -
    - -
    returns (KLockFile.LockResult)
    In versions KDE 3.3.0 and above only
    - -
    ArgumentTypeDefault
    optionsint0
    -

  • -
  • setStaleTime (_staleTime) -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only
    - -
    ArgumentTypeDefault
    _staleTimeint
    -

  • -
  • staleTime () -
    - -
    returns (int)
    In versions KDE 3.3.0 and above only

  • -
  • unlock () -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only

  • -
- - - diff --git a/python/pykde/doc/classref/kdecore/KMD4.html b/python/pykde/doc/classref/kdecore/KMD4.html deleted file mode 100644 index ef2f21d6..00000000 --- a/python/pykde/doc/classref/kdecore/KMD4.html +++ /dev/null @@ -1,145 +0,0 @@ - - - - - class KMD4 - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KMD4


-
- - - - - -
Table of contents
Modules
kdecore Classes
All Classes
-
- - - - - - - - - - -
Modulekdecore
ClassKMD4
Inherits
-

methods

    -
  • KMD4 () -
    - -
    returns a KMD4 instance
    In versions KDE 3.4.0 and above only

  • -
  • KMD4 (in, len = -1) -
    - -
    returns a KMD4 instance
    In versions KDE 3.4.0 and above only
    - - -
    ArgumentTypeDefault
    inchar
    lenint-1
    -

  • -
  • KMD4 (a) -
    - -
    returns a KMD4 instance
    In versions KDE 3.4.0 and above only
    - -
    ArgumentTypeDefault
    aTQByteArray
    -

  • -
  • KMD4 (a) -
    - -
    returns a KMD4 instance
    In versions KDE 3.4.0 and above only
    - -
    ArgumentTypeDefault
    aTQCString
    -

  • -
  • KMD4 (u) -
    - -
    returns a KMD4 instance
    In versions KDE 3.4.0 and above only
    - -
    ArgumentTypeDefault
    uKMD4
    -

  • -
  • base64Digest () -
    - -
    returns (TQCString)
    In versions KDE 3.4.0 and above only

  • -
  • finalize () -
    - -
    returns nothing
    In versions KDE 3.4.0 and above only

  • -
  • hexDigest () -
    - -
    returns (TQCString)
    In versions KDE 3.4.0 and above only

  • -
  • hexDigest (a0) -
    - -
    returns nothing
    In versions KDE 3.4.0 and above only
    - -
    ArgumentTypeDefault
    a0TQCString
    -

  • -
  • rawDigest () -
    Not Implemented
    -

  • -
  • rawDigest (bin) -
    Not Implemented
    -

  • -
  • reset () -
    - -
    returns nothing
    In versions KDE 3.4.0 and above only

  • -
  • transform (buf[4], in[16]) -
    Not Implemented
    -

  • -
  • update (in, len = -1) -
    - -
    returns nothing
    In versions KDE 3.4.0 and above only
    - - -
    ArgumentTypeDefault
    inchar
    lenint-1
    -

  • -
  • update (in) -
    - -
    returns nothing
    In versions KDE 3.4.0 and above only
    - -
    ArgumentTypeDefault
    inTQByteArray
    -

  • -
  • update (in) -
    - -
    returns nothing
    In versions KDE 3.4.0 and above only
    - -
    ArgumentTypeDefault
    inTQCString
    -

  • -
  • update (file) -
    - -
    returns (bool)
    In versions KDE 3.4.0 and above only
    - -
    ArgumentTypeDefault
    fileTQIODevice
    -

  • -
  • verify (digest) -
    Not Implemented
    -

  • -
  • verify (a0) -
    - -
    returns (bool)
    In versions KDE 3.4.0 and above only
    - -
    ArgumentTypeDefault
    a0TQCString
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kdecore/KMD5.html b/python/pykde/doc/classref/kdecore/KMD5.html deleted file mode 100644 index 93d4da69..00000000 --- a/python/pykde/doc/classref/kdecore/KMD5.html +++ /dev/null @@ -1,144 +0,0 @@ - - - - - class KMD5 - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KMD5


-
- - - - - -
Table of contents
Modules
kdecore Classes
All Classes
-
- - - - - - - - - - -
Modulekdecore
ClassKMD5
Inherits
-

methods

    -
  • KMD5 () -
    -
    returns a KMD5 instance

  • -
  • KMD5 (in, len = -1) -
    -
    returns a KMD5 instance
    - - -
    ArgumentTypeDefault
    inchar
    lenint-1
    -

  • -
  • KMD5 (a) -
    -
    returns a KMD5 instance
    - -
    ArgumentTypeDefault
    aTQByteArray
    -

  • -
  • KMD5 (a) -
    -
    returns a KMD5 instance
    - -
    ArgumentTypeDefault
    aTQCString
    -

  • -
  • KMD5 (u) -
    -
    returns a KMD5 instance
    - -
    ArgumentTypeDefault
    uKMD5
    -

  • -
  • base64Digest () -
    -
    returns (TQCString)

  • -
  • finalize () -
    -
    returns nothing

  • -
  • hexDigest () -
    -
    returns (TQCString)

  • -
  • hexDigest (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0TQCString
    -

  • -
  • rawDigest () -
    Not Implemented
    -

  • -
  • rawDigest (bin) -
    Not Implemented
    -

  • -
  • reset () -
    -
    returns nothing

  • -
  • transform (buffer[64]) -
    Not Implemented
    -

  • -
  • transform (a0) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    a0uchar
    -

  • -
  • transform (a0) -
    - -
    returns nothing
    In versions less than KDE 3.1.0 only
    - -
    ArgumentTypeDefault
    a0uchar
    -

  • -
  • update (in, len = -1) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    inchar
    lenint-1
    -

  • -
  • update (in) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    inTQByteArray
    -

  • -
  • update (in) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    inTQCString
    -

  • -
  • update (file) -
    -
    returns (bool)
    - -
    ArgumentTypeDefault
    fileTQIODevice
    -

  • -
  • verify (digest) -
    Not Implemented
    -

  • -
  • verify (a0) -
    -
    returns (bool)
    - -
    ArgumentTypeDefault
    a0TQCString
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kdecore/KMacroExpander.html b/python/pykde/doc/classref/kdecore/KMacroExpander.html deleted file mode 100644 index d43d9884..00000000 --- a/python/pykde/doc/classref/kdecore/KMacroExpander.html +++ /dev/null @@ -1,113 +0,0 @@ - - - - - class KMacroExpander - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KMacroExpander


-
- - - - - -
Table of contents
Modules
kdecore Classes
All Classes
-
- - - - - - - - - - -
Modulekdecore
ClassKMacroExpander
Inherits
-

methods

    -
  • expandMacros (str, map, c = '%') -
    - -
    returns (TQString)
    In versions KDE 3.2.0 and above only
    - - - -
    ArgumentTypeDefault
    strTQString
    mapTQMap
    cTQChar'%'
    -

  • -
  • expandMacros (str, map, c = '%') -
    - -
    returns (TQString)
    In versions KDE 3.2.0 and above only
    - - - -
    ArgumentTypeDefault
    strTQString
    mapTQMap
    cTQChar'%'
    -

  • -
  • expandMacros (str, map, c = '%') -
    - -
    returns (TQString)
    In versions KDE 3.2.0 and above only
    - - - -
    ArgumentTypeDefault
    strTQString
    mapTQMap
    cTQChar'%'
    -

  • -
  • expandMacros (str, map, c = '%') -
    - -
    returns (TQString)
    In versions KDE 3.2.0 and above only
    - - - -
    ArgumentTypeDefault
    strTQString
    mapTQMap
    cTQChar'%'
    -

  • -
  • expandMacrosShellQuote (str, map, c = '%') -
    - -
    returns (TQString)
    In versions KDE 3.2.0 and above only
    - - - -
    ArgumentTypeDefault
    strTQString
    mapTQMap
    cTQChar'%'
    -

  • -
  • expandMacrosShellQuote (str, map, c = '%') -
    - -
    returns (TQString)
    In versions KDE 3.2.0 and above only
    - - - -
    ArgumentTypeDefault
    strTQString
    mapTQMap
    cTQChar'%'
    -

  • -
  • expandMacrosShellQuote (str, map, c = '%') -
    - -
    returns (TQString)
    In versions KDE 3.2.0 and above only
    - - - -
    ArgumentTypeDefault
    strTQString
    mapTQMap
    cTQChar'%'
    -

  • -
  • expandMacrosShellQuote (str, map, c = '%') -
    - -
    returns (TQString)
    In versions KDE 3.2.0 and above only
    - - - -
    ArgumentTypeDefault
    strTQString
    mapTQMap
    cTQChar'%'
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kdecore/KMacroExpanderBase.html b/python/pykde/doc/classref/kdecore/KMacroExpanderBase.html deleted file mode 100644 index 9592c4a3..00000000 --- a/python/pykde/doc/classref/kdecore/KMacroExpanderBase.html +++ /dev/null @@ -1,99 +0,0 @@ - - - - - class KMacroExpanderBase - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KMacroExpanderBase


-
- - - - - -
Table of contents
Modules
kdecore Classes
All Classes
-
- - - - - - - - - - -
Modulekdecore
ClassKMacroExpanderBase
Inherits
-

methods

    -
  • KMacroExpanderBase (c = '%') -
    - -
    returns a KMacroExpanderBase instance
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    cTQChar'%'
    -

  • -
  • escapeChar () -
    - -
    returns (TQChar)
    In versions KDE 3.2.0 and above only

  • -
  • expandEscapedMacro (str, pos, ret) -
    - -
    returns (int)
    In versions KDE 3.2.0 and above only
    - - - -
    ArgumentTypeDefault
    strTQString
    posuint
    retTQStringList
    -

  • -
  • expandMacros (str) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    strTQString
    -

  • -
  • expandMacrosShellQuote (str, pos) -
    - -
    returns (bool) pos (uint)
    In versions KDE 3.2.0 and above only
    - - -
    ArgumentTypeDefault
    strTQString
    posuint
    -

  • -
  • expandMacrosShellQuote (str) -
    - -
    returns (bool)
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    strTQString
    -

  • -
  • expandPlainMacro (str, pos, ret) -
    - -
    returns (int)
    In versions KDE 3.2.0 and above only
    - - - -
    ArgumentTypeDefault
    strTQString
    posuint
    retTQStringList
    -

  • -
  • setEscapeChar (c) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    cTQChar
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kdecore/KMimeSourceFactory.html b/python/pykde/doc/classref/kdecore/KMimeSourceFactory.html deleted file mode 100644 index 61c9d514..00000000 --- a/python/pykde/doc/classref/kdecore/KMimeSourceFactory.html +++ /dev/null @@ -1,54 +0,0 @@ - - - - - class KMimeSourceFactory - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KMimeSourceFactory


-
- - - - - -
Table of contents
Modules
kdecore Classes
All Classes
-
- - - - - - - - - - -
Modulekdecore
ClassKMimeSourceFactory
InheritsTQMimeSourceFactory
-

methods

    -
  • KMimeSourceFactory (loader = KGlobal .iconLoader ()) -
    -
    returns a KMimeSourceFactory instance
    - -
    ArgumentTypeDefault
    loaderKIconLoaderKGlobal .iconLoader ()
    -

  • -
  • makeAbsolute (abs_or_rel_name, context) -
    -
    returns (TQString)
    - - -
    ArgumentTypeDefault
    abs_or_rel_nameTQString
    contextTQString
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kdecore/KMountPoint.html b/python/pykde/doc/classref/kdecore/KMountPoint.html deleted file mode 100644 index fe5d4222..00000000 --- a/python/pykde/doc/classref/kdecore/KMountPoint.html +++ /dev/null @@ -1,92 +0,0 @@ - - - - - class KMountPoint - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KMountPoint


-
- - - - - -
Table of contents
Modules
kdecore Classes
All Classes
-
- - - - - - - - - - -
Modulekdecore
ClassKMountPoint
InheritsKShared
-

enums

    -
  • (anonymous) = {NeedMountOptions, NeedRealDeviceName -}
-

methods

    -
  • KMountPoint () -
    - -
    returns a KMountPoint instance
    In versions KDE 3.2.0 and above only

  • -
  • currentMountPoints (infoNeeded = 0) -
    - - -
    returns (KMountPoint.List)
    In versions KDE 3.2.0 and above only
    static
    - -
    ArgumentTypeDefault
    infoNeededint0
    -

  • -
  • devNameFromOptions (options) -
    - - -
    returns (TQString)
    In versions KDE 3.4.0 and above only
    static
    - -
    ArgumentTypeDefault
    optionsTQStringList
    -

  • -
  • mountOptions () -
    - -
    returns (TQStringList)
    In versions KDE 3.2.0 and above only

  • -
  • mountPoint () -
    - -
    returns (TQString)
    In versions KDE 3.2.0 and above only

  • -
  • mountType () -
    - -
    returns (TQString)
    In versions KDE 3.2.0 and above only

  • -
  • mountedFrom () -
    - -
    returns (TQString)
    In versions KDE 3.2.0 and above only

  • -
  • possibleMountPoints (infoNeeded = 0) -
    - - -
    returns (KMountPoint.List)
    In versions KDE 3.2.0 and above only
    static
    - -
    ArgumentTypeDefault
    infoNeededint0
    -

  • -
  • realDeviceName () -
    - -
    returns (TQString)
    In versions KDE 3.2.0 and above only

  • -
- - - diff --git a/python/pykde/doc/classref/kdecore/KMultipleDrag.html b/python/pykde/doc/classref/kdecore/KMultipleDrag.html deleted file mode 100644 index 8c3fa0b1..00000000 --- a/python/pykde/doc/classref/kdecore/KMultipleDrag.html +++ /dev/null @@ -1,82 +0,0 @@ - - - - - class KMultipleDrag - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KMultipleDrag


-
- - - - - -
Table of contents
Modules
kdecore Classes
All Classes
-
- - - - - - - - - - -
Modulekdecore
ClassKMultipleDrag
InheritsTQDragObject
-

methods

    -
  • KMultipleDrag (dragSource = 0, name = 0) -
    -
    returns a KMultipleDrag instance
    - - -
    ArgumentTypeDefault
    dragSourceTQWidget0
    namechar0
    -

  • -
  • addDragObject (dragObject) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    dragObjectTQDragObject
    -

  • -
  • encodedData (mime) -
    - -
    returns (TQByteArray)
    In versions KDE 3.5.0 and above only
    - -
    ArgumentTypeDefault
    mimechar
    -

  • -
  • encodedData (a0) -
    - -
    returns (TQByteArray)
    In versions less than KDE 3.5.0 only
    - -
    ArgumentTypeDefault
    a0char
    -

  • -
  • format (i) -
    - -
    returns (char)
    In versions KDE 3.5.0 and above only
    - -
    ArgumentTypeDefault
    iint
    -

  • -
  • format (a0) -
    - -
    returns (char)
    In versions less than KDE 3.5.0 only
    - -
    ArgumentTypeDefault
    a0int
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kdecore/KNotifyClient.Instance.html b/python/pykde/doc/classref/kdecore/KNotifyClient.Instance.html deleted file mode 100644 index 397acf7d..00000000 --- a/python/pykde/doc/classref/kdecore/KNotifyClient.Instance.html +++ /dev/null @@ -1,58 +0,0 @@ - - - - - class KNotifyClient.Instance - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KNotifyClient.Instance


-
- - - - - -
Table of contents
Modules
kdecore Classes
All Classes
-
- - - - - - - - - - -
Modulekdecore
ClassKNotifyClient.Instance
Inherits
-

methods

    -
  • Instance (instance) -
    -
    returns a Instance instance
    - -
    ArgumentTypeDefault
    instanceKInstance
    -

  • -
  • current () -
    - -
    returns (KInstance)
    static

  • -
  • currentInstance () -
    - -
    returns (KNotifyClient.Instance)
    static

  • -
  • useSystemBell () -
    -
    returns (bool)

  • -
- - - diff --git a/python/pykde/doc/classref/kdecore/KNotifyClient.html b/python/pykde/doc/classref/kdecore/KNotifyClient.html deleted file mode 100644 index 0a38414b..00000000 --- a/python/pykde/doc/classref/kdecore/KNotifyClient.html +++ /dev/null @@ -1,148 +0,0 @@ - - - - - class KNotifyClient - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KNotifyClient


-
- - - - - -
Table of contents
Modules
kdecore Classes
All Classes
-
- - - - - - - - - - -
Modulekdecore
ClassKNotifyClient
Inherits
-

classes

-

enums

    -
  • (anonymous) = {Default, Sound, Messagebox, Logfile, Stderr -}
  • (anonymous) = {Default, Sound, Messagebox, Logfile, Stderr -}
  • (anonymous) = {Default, Sound, Messagebox, Logfile, Stderr -}
  • (anonymous) = {Default, Sound, Messagebox, Logfile, Stderr -}
  • StandardEvent = {cannotOpenFile, notification, warning, fatalError, catastrophe -}
-

methods

    -
  • beep (reason = TQString .null) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    reasonTQStringTQString .null
    -

  • -
  • event (winId, event, text = TQString .null) -
    - -
    returns (int)
    In versions KDE 3.2.0 and above only
    - - - -
    ArgumentTypeDefault
    winIdint
    eventKNotifyClient.StandardEvent
    textTQStringTQString .null
    -

  • -
  • event (winId, event, text = TQString .null) -
    - -
    returns (int)
    In versions KDE 3.2.0 and above only
    - - - -
    ArgumentTypeDefault
    winIdint
    eventKNotifyClient.StandardEvent
    textTQStringTQString .null
    -

  • -
  • event (winId, event, text = TQString .null) -
    - -
    returns (int)
    In versions KDE 3.2.0 and above only
    - - - -
    ArgumentTypeDefault
    winIdint
    eventKNotifyClient.StandardEvent
    textTQStringTQString .null
    -

  • -
  • event (winId, event, text = TQString .null) -
    - -
    returns (int)
    In versions KDE 3.2.0 and above only
    - - - -
    ArgumentTypeDefault
    winIdint
    eventKNotifyClient.StandardEvent
    textTQStringTQString .null
    -

  • -
  • getDefaultFile (eventname, present) -
    -
    returns (TQString)
    - - -
    ArgumentTypeDefault
    eventnameTQString
    presentint
    -

  • -
  • getDefaultPresentation (eventname) -
    -
    returns (int)
    - -
    ArgumentTypeDefault
    eventnameTQString
    -

  • -
  • getFile (eventname, present) -
    -
    returns (TQString)
    - - -
    ArgumentTypeDefault
    eventnameTQString
    presentint
    -

  • -
  • getPresentation (eventname) -
    -
    returns (int)
    - -
    ArgumentTypeDefault
    eventnameTQString
    -

  • -
  • instance () -
    -
    returns (KInstance)

  • -
  • startDaemon () -
    -
    returns (bool)

  • -
  • userEvent (winId, text = TQString .null, present = KNotifyClient .Default, level = KNotifyClient .Default, sound = TQString .null, file = TQString .null) -
    - -
    returns (int)
    In versions KDE 3.2.0 and above only
    - - - - - - -
    ArgumentTypeDefault
    winIdint
    textTQStringTQString .null
    presentintKNotifyClient .Default
    levelintKNotifyClient .Default
    soundTQStringTQString .null
    fileTQStringTQString .null
    -

  • -
  • userEvent (winId, text = TQString .null, present = KNotifyClient .Default, level = KNotifyClient .Default, sound = TQString .null, file = TQString .null) -
    - -
    returns (int)
    In versions KDE 3.2.0 and above only
    - - - - - - -
    ArgumentTypeDefault
    winIdint
    textTQStringTQString .null
    presentintKNotifyClient .Default
    levelintKNotifyClient .Default
    soundTQStringTQString .null
    fileTQStringTQString .null
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kdecore/KPalette.html b/python/pykde/doc/classref/kdecore/KPalette.html deleted file mode 100644 index 91256040..00000000 --- a/python/pykde/doc/classref/kdecore/KPalette.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - - class KPalette - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KPalette


-
- - - - - -
Table of contents
Modules
kdecore Classes
All Classes
-
- - - - - - - - - - -
Modulekdecore
ClassKPalette
Inherits
-

enums

    -
  • Editable = {Yes, No, Ask -}
-

methods

    -
  • KPalette (name = TQString .null) -
    -
    returns a KPalette instance
    - -
    ArgumentTypeDefault
    nameTQStringTQString .null
    -

  • -
  • KPalette (a0) -
    -
    returns a KPalette instance
    - -
    ArgumentTypeDefault
    a0KPalette
    -

  • -
  • addColor (newColor, newColorName = TQString .null) -
    -
    returns (int)
    - - -
    ArgumentTypeDefault
    newColorTQColor
    newColorNameTQStringTQString .null
    -

  • -
  • changeColor (index, newColor, newColorName = TQString .null) -
    -
    returns (int)
    - - - -
    ArgumentTypeDefault
    indexint
    newColorTQColor
    newColorNameTQStringTQString .null
    -

  • -
  • changeColor (oldColor, newColor, newColorName = TQString .null) -
    -
    returns (int)
    - - - -
    ArgumentTypeDefault
    oldColorTQColor
    newColorTQColor
    newColorNameTQStringTQString .null
    -

  • -
  • color (index) -
    -
    returns (TQColor)
    - -
    ArgumentTypeDefault
    indexint
    -

  • -
  • colorName (index) -
    -
    returns (TQString)
    - -
    ArgumentTypeDefault
    indexint
    -

  • -
  • colorName (color) -
    -
    returns (TQString)
    - -
    ArgumentTypeDefault
    colorTQColor
    -

  • -
  • description () -
    -
    returns (TQString)

  • -
  • editable () -
    -
    returns (Editable)

  • -
  • findColor (color) -
    -
    returns (int)
    - -
    ArgumentTypeDefault
    colorTQColor
    -

  • -
  • getPaletteList () -
    - -
    returns (TQStringList)
    static

  • -
  • name () -
    -
    returns (TQString)

  • -
  • nrColors () -
    -
    returns (int)

  • -
  • save () -
    -
    returns (bool)

  • -
  • setDescription (desc) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    descTQString
    -

  • -
  • setEditable (editable) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    editableKPalette.Editable
    -

  • -
  • setName (name) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    nameTQString
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kdecore/KPixmapProvider.html b/python/pykde/doc/classref/kdecore/KPixmapProvider.html deleted file mode 100644 index 66dcb4bd..00000000 --- a/python/pykde/doc/classref/kdecore/KPixmapProvider.html +++ /dev/null @@ -1,49 +0,0 @@ - - - - - class KPixmapProvider - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KPixmapProvider


-
- - - - - -
Table of contents
Modules
kdecore Classes
All Classes
-
- - - - - - - - - - -
Modulekdecore
ClassKPixmapProvider (abstract)
Inherits
-

methods

    -
  • pixmapFor (text, size = 0) = 0 -
    - -
    returns (TQPixmap)
    pure virtual
    - - -
    ArgumentTypeDefault
    textTQString
    sizeint0
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kdecore/KProcIO.html b/python/pykde/doc/classref/kdecore/KProcIO.html deleted file mode 100644 index 14477d43..00000000 --- a/python/pykde/doc/classref/kdecore/KProcIO.html +++ /dev/null @@ -1,139 +0,0 @@ - - - - - class KProcIO - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KProcIO


-
- - - - - -
Table of contents
Modules
kdecore Classes
All Classes
-
- - - - - - - - - - -
Modulekdecore
ClassKProcIO
InheritsKProcess
-

methods

    -
  • KProcIO (codec = 0) -
    -
    returns a KProcIO instance
    - -
    ArgumentTypeDefault
    codecTQTextCodec0
    -

  • -
  • ackRead () -
    -
    returns nothing

  • -
  • closeWhenDone () -
    -
    returns nothing

  • -
  • controlledEmission () -
    -
    returns nothing

  • -
  • enableReadSignals (enable) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    enablebool
    -

  • -
  • fgets (line, autoAck = 0) -
    -
    returns (int)
    - - -
    ArgumentTypeDefault
    lineTQString
    autoAckbool0
    -

  • -
  • fputs (line, AppendNewLine = 1) -
    -
    returns (bool)
    - - -
    ArgumentTypeDefault
    lineTQString
    AppendNewLinebool1
    -

  • -
  • readReady (pio) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    pioKProcIO
    -

  • -
  • readln (autoAck = 1) -
    -
    returns (int) line (TQString) partial (bool)
    - -
    ArgumentTypeDefault
    autoAckbool1
    -

  • -
  • received (proc, buffer, buflen) -
    -
    returns nothing
    - - - -
    ArgumentTypeDefault
    procKProcess
    bufferchar
    buflenint
    -

  • -
  • resetAll () -
    -
    returns nothing

  • -
  • sent (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0KProcess
    -

  • -
  • setComm (comm) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    commCommunication
    -

  • -
  • start (runmode = NotifyOnExit, includeStderr = 0) -
    -
    returns (bool)
    - - -
    ArgumentTypeDefault
    runmodeRunModeNotifyOnExit
    includeStderrbool0
    -

  • -
  • writeStdin (line, appendnewline = 1) -
    -
    returns (bool)
    - - -
    ArgumentTypeDefault
    lineTQString
    appendnewlinebool1
    -

  • -
  • writeStdin (line, appendnewline) -
    -
    returns (bool)
    - - -
    ArgumentTypeDefault
    lineTQCString
    appendnewlinebool
    -

  • -
  • writeStdin (data) -
    -
    returns (bool)
    - -
    ArgumentTypeDefault
    dataTQByteArray
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kdecore/KProcess.html b/python/pykde/doc/classref/kdecore/KProcess.html deleted file mode 100644 index 368b26b4..00000000 --- a/python/pykde/doc/classref/kdecore/KProcess.html +++ /dev/null @@ -1,348 +0,0 @@ - - - - - class KProcess - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KProcess


-
- - - - - -
Table of contents
Modules
kdecore Classes
All Classes
-
- - - - - - - - - - -
Modulekdecore
ClassKProcess
InheritsTQObject
-

enums

    -
  • (anonymous) = {PrioLowest, PrioLow, PrioLower, PrioNormal, PrioHigher, PrioHigh, PrioHighest -}
  • Communication = {NoCommunication, Stdin, Stdout, Stderr, AllOutput, All, NoRead, CTtyOnly, MergedStderr -}
  • Communication = {NoCommunication, Stdin, Stdout, Stderr, AllOutput, All, NoRead -}
  • RunMode = {DontCare, NotifyOnExit, Block, OwnGroup -}
  • RunMode = {DontCare, NotifyOnExit, Block -}
-

methods

    -
  • KProcess (parent, name = 0) -
    - -
    returns a KProcess instance
    In versions KDE 3.2.0 and above only
    - - -
    ArgumentTypeDefault
    parentTQObject
    namechar0
    -

  • -
  • KProcess () -
    -
    returns a KProcess instance

  • -
  • KProcess (a0) -
    - -
    returns a KProcess instance
    In versions less than KDE 3.2.0 only
    - -
    ArgumentTypeDefault
    a0KProcess
    -

  • -
  • args () -
    -
    returns (TQValueList)

  • -
  • childError (fdno) -
    -
    returns (int)
    - -
    ArgumentTypeDefault
    fdnoint
    -

  • -
  • childOutput (fdno) -
    -
    returns (int)
    - -
    ArgumentTypeDefault
    fdnoint
    -

  • -
  • clearArguments () -
    -
    returns nothing

  • -
  • closeAll () -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only

  • -
  • closePty () -
    - -
    returns (bool)
    In versions KDE 3.2.0 and above only

  • -
  • closeStderr () -
    -
    returns (bool)

  • -
  • closeStdin () -
    -
    returns (bool)

  • -
  • closeStdout () -
    -
    returns (bool)

  • -
  • commClose () -
    -
    returns nothing

  • -
  • commSetupDoneC () -
    -
    returns (int)

  • -
  • commSetupDoneP () -
    -
    returns (int)

  • -
  • coreDumped () -
    - -
    returns (bool)
    In versions KDE 3.2.0 and above only

  • -
  • detach () -
    -
    returns nothing

  • -
  • exitSignal () -
    - -
    returns (int)
    In versions KDE 3.2.0 and above only

  • -
  • exitStatus () -
    -
    returns (int)

  • -
  • getPid () -
    -
    returns (pid_t)

  • -
  • isRunning () -
    -
    returns (bool)

  • -
  • kill (signo = SIGTERM) -
    -
    returns (bool)
    - -
    ArgumentTypeDefault
    signointSIGTERM
    -

  • -
  • normalExit () -
    -
    returns (bool)

  • -
  • pid () -
    -
    returns (pid_t)

  • -
  • processExited (proc) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    procKProcess
    -

  • -
  • processHasExited (state) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    stateint
    -

  • -
  • pty () -
    - -
    returns (KPty)
    In versions KDE 3.2.0 and above, but less than KDE 3.4.0

  • -
  • quote (arg) -
    - - -
    returns (TQString)
    In versions KDE 3.1.0 and above only
    static
    - -
    ArgumentTypeDefault
    argTQString
    -

  • -
  • receivedStderr (proc, buffer, buflen) -
    -
    returns nothing
    - - - -
    ArgumentTypeDefault
    procKProcess
    bufferchar
    buflenint
    -

  • -
  • receivedStdout (proc, buffer, buflen) -
    -
    returns nothing
    - - - -
    ArgumentTypeDefault
    procKProcess
    bufferchar
    buflenint
    -

  • -
  • receivedStdout (fd) -
    Not Implemented
    -

  • -
  • resume () -
    -
    returns nothing

  • -
  • runPrivileged () -
    -
    returns (bool)

  • -
  • setArguments (arglist) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    arglista Python list of strings
    -
    setArguments is the PyKDE equivalent of the stream operator methods (<<) -in KDE's KProcess class - provide with a list of strings representing -the arguments to the executable program set with setExecutable (PyKDE -will continue to provide setExecutable even though it's deprecated in -KDE (to also be replaced with stream operators) -

  • -
  • setBinaryExecutable (filename) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    filenamechar
    -

  • -
  • setEnvironment (name, value) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    nameTQString
    valueTQString
    -

  • -
  • setExecutable (proc) -
    -
    returns (bool)
    - -
    ArgumentTypeDefault
    procTQString
    -

  • -
  • setPriority (prio) -
    - -
    returns (bool)
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    prioint
    -

  • -
  • setRunPrivileged (keepPrivileges) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    keepPrivilegesbool
    -

  • -
  • setUsePty (a0, a1) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above, but less than KDE 3.4.0
    - - -
    ArgumentTypeDefault
    a0KProcess.Communication
    a1bool
    -

  • -
  • setUseShell (useShell, shell = 0) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - - -
    ArgumentTypeDefault
    useShellbool
    shellchar0
    -

  • -
  • setWorkingDirectory (dir) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    dirTQString
    -

  • -
  • setupCommunication (comm) -
    -
    returns (int)
    - -
    ArgumentTypeDefault
    commKProcess.Communication
    -

  • -
  • setupEnvironment () -
    -
    returns nothing

  • -
  • signalled () -
    - -
    returns (bool)
    In versions KDE 3.2.0 and above only

  • -
  • slotChildError (fdno) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    fdnoint
    -

  • -
  • slotChildOutput (fdno) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    fdnoint
    -

  • -
  • slotSendData (dummy) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    dummyint
    -

  • -
  • start (runmode = NotifyOnExit, comm = NoCommunication) -
    -
    returns (bool)
    - - -
    ArgumentTypeDefault
    runmodeKProcess.RunModeNotifyOnExit
    commKProcess.CommunicationNoCommunication
    -

  • -
  • suspend () -
    -
    returns nothing

  • -
  • wait (timeout = -1) -
    - -
    returns (bool)
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    timeoutint-1
    -

  • -
  • writeStdin (buffer, buflen) -
    -
    returns (bool)
    - - -
    ArgumentTypeDefault
    bufferchar
    buflenint
    -

  • -
  • wroteStdin (proc) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    procKProcess
    -

  • -
-

operators

    -
  • operator << (a0) -
    - -
    returns (KProcess)
    In versions KDE 3.1.4 and above only
    - -
    ArgumentTypeDefault
    a0TQString
    -

  • -
  • operator << (a0) -
    - -
    returns (KProcess)
    In versions KDE 3.1.4 and above only
    - -
    ArgumentTypeDefault
    a0char
    -

  • -
  • operator << (a0) -
    - -
    returns (KProcess)
    In versions KDE 3.1.4 and above only
    - -
    ArgumentTypeDefault
    a0TQCString
    -

  • -
  • operator << (a0) -
    - -
    returns (KProcess)
    In versions KDE 3.1.4 and above only
    - -
    ArgumentTypeDefault
    a0TQStringList
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kdecore/KProcessController.html b/python/pykde/doc/classref/kdecore/KProcessController.html deleted file mode 100644 index e4ac1b48..00000000 --- a/python/pykde/doc/classref/kdecore/KProcessController.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - class KProcessController - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KProcessController


-
- - - - - -
Table of contents
Modules
kdecore Classes
All Classes
-
- - - - - - - - - - -
Modulekdecore
ClassKProcessController
InheritsTQObject
-

methods

    -
  • KProcessController () -
    - -
    returns a KProcessController instance
    In versions KDE 3.1.0 and above only

  • -
  • KProcessController (a0) -
    -
    returns a KProcessController instance
    - -
    ArgumentTypeDefault
    a0KProcessController
    -

  • -
  • KProcessController () -
    - -
    returns a KProcessController instance
    In versions less than KDE 3.1.0 only

  • -
  • addKProcess (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0KProcess
    -

  • -
  • addProcess (pid) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    pidint
    -

  • -
  • deref () -
    - - -
    returns nothing
    In versions KDE 3.2.0 and above only
    static

  • -
  • notifierFd () -
    - -
    returns (int)
    In versions KDE 3.2.0 and above only

  • -
  • ref () -
    - - -
    returns nothing
    In versions KDE 3.2.0 and above only
    static

  • -
  • removeKProcess (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0KProcess
    -

  • -
  • rescheduleCheck () -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only

  • -
  • resetHandlers () -
    - - -
    returns nothing
    In versions less than KDE 3.2.0 only
    static

  • -
  • setupHandlers () -
    - - -
    returns nothing
    In versions less than KDE 3.2.0 only
    static

  • -
  • slotDoHousekeeping (a0) -
    - -
    returns nothing
    In versions less than KDE 3.2.0 only
    - -
    ArgumentTypeDefault
    a0int
    -

  • -
  • theSigCHLDHandler (signal) -
    - -
    returns nothing
    static
    - -
    ArgumentTypeDefault
    signalint
    -

  • -
  • unscheduleCheck () -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only

  • -
  • waitForProcessExit (timeout) -
    - -
    returns (bool)
    In versions KDE 3.0.3 and above only
    - -
    ArgumentTypeDefault
    timeoutint
    -

  • -
  • ~KProcessController () -
    -
    returns nothing

  • -
-

variables

  • -variables - -
    VariableType
    theKProcessControllerKProcessController*
- - - diff --git a/python/pykde/doc/classref/kdecore/KPty.html b/python/pykde/doc/classref/kdecore/KPty.html deleted file mode 100644 index fdccfa31..00000000 --- a/python/pykde/doc/classref/kdecore/KPty.html +++ /dev/null @@ -1,96 +0,0 @@ - - - - - class KPty - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KPty


-
- - - - - -
Table of contents
Modules
kdecore Classes
All Classes
-
- - - - - - - - - - -
Modulekdecore
ClassKPty
Inherits
-

methods

    -
  • KPty () -
    - -
    returns a KPty instance
    In versions KDE 3.2.0 and above only

  • -
  • close () -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only

  • -
  • login (user = 0, remotehost = 0) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - - -
    ArgumentTypeDefault
    userchar0
    remotehostchar0
    -

  • -
  • logout () -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only

  • -
  • masterFd () -
    - -
    returns (int)
    In versions KDE 3.2.0 and above only

  • -
  • open () -
    - -
    returns (bool)
    In versions KDE 3.2.0 and above only

  • -
  • setCTty () -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only

  • -
  • setWinSize (lines, columns) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - - -
    ArgumentTypeDefault
    linesint
    columnsint
    -

  • -
  • setXonXoff (useXonXoff) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    useXonXoffbool
    -

  • -
  • slaveFd () -
    - -
    returns (int)
    In versions KDE 3.2.0 and above only

  • -
  • ttyName () -
    - -
    returns (char)
    In versions KDE 3.2.0 and above only

  • -
- - - diff --git a/python/pykde/doc/classref/kdecore/KRFCDate.html b/python/pykde/doc/classref/kdecore/KRFCDate.html deleted file mode 100644 index d3399fee..00000000 --- a/python/pykde/doc/classref/kdecore/KRFCDate.html +++ /dev/null @@ -1,74 +0,0 @@ - - - - - class KRFCDate - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KRFCDate


-
- - - - - -
Table of contents
Modules
kdecore Classes
All Classes
-
- - - - - - - - - - -
Modulekdecore
ClassKRFCDate
Inherits
-

methods

    -
  • localUTCOffset () -
    - -
    returns (int)
    static

  • -
  • parseDate (date) -
    - -
    returns (time_t)
    static
    - -
    ArgumentTypeDefault
    dateTQString
    -

  • -
  • parseDateISO8601 (date) -
    - -
    returns (time_t)
    static
    - -
    ArgumentTypeDefault
    dateTQString
    -

  • -
  • rfc2822DateString (utcTime, utcOffset) -
    - -
    returns (TQCString)
    static
    - - -
    ArgumentTypeDefault
    utcTimetime_t
    utcOffsetint
    -

  • -
  • rfc2822DateString (utcTime) -
    - -
    returns (TQCString)
    static
    - -
    ArgumentTypeDefault
    utcTimetime_t
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kdecore/KRandomSequence.html b/python/pykde/doc/classref/kdecore/KRandomSequence.html deleted file mode 100644 index 6074d9da..00000000 --- a/python/pykde/doc/classref/kdecore/KRandomSequence.html +++ /dev/null @@ -1,80 +0,0 @@ - - - - - class KRandomSequence - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KRandomSequence


-
- - - - - -
Table of contents
Modules
kdecore Classes
All Classes
-
- - - - - - - - - - -
Modulekdecore
ClassKRandomSequence
Inherits
-

methods

    -
  • KRandomSequence (lngSeed = 0) -
    -
    returns a KRandomSequence instance
    - -
    ArgumentTypeDefault
    lngSeedlong0
    -

  • -
  • KRandomSequence (a) -
    -
    returns a KRandomSequence instance
    - -
    ArgumentTypeDefault
    aKRandomSequence
    -

  • -
  • getBool () -
    -
    returns (bool)

  • -
  • getDouble () -
    -
    returns (double)

  • -
  • getLong (max) -
    -
    returns (ulong)
    - -
    ArgumentTypeDefault
    maxulong
    -

  • -
  • modulate (i) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    iint
    -

  • -
  • randomize (list) -
    Not Implemented
    -

  • -
  • setSeed (lngSeed = 1) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    lngSeedlong1
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kdecore/KRegExp.html b/python/pykde/doc/classref/kdecore/KRegExp.html deleted file mode 100644 index 5530768e..00000000 --- a/python/pykde/doc/classref/kdecore/KRegExp.html +++ /dev/null @@ -1,82 +0,0 @@ - - - - - class KRegExp - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KRegExp


-
- - - - - -
Table of contents
Modules
kdecore Classes
All Classes
-
- - - - - - - - - - -
Modulekdecore
ClassKRegExp
Inherits
-

methods

    -
  • KRegExp () -
    -
    returns a KRegExp instance

  • -
  • KRegExp (_pattern, _mode = "") -
    -
    returns a KRegExp instance
    - - -
    ArgumentTypeDefault
    _patternchar
    _modechar""
    -

  • -
  • compile (_pattern, _mode = "") -
    -
    returns (bool)
    - - -
    ArgumentTypeDefault
    _patternchar
    _modechar""
    -

  • -
  • group (_grp) -
    -
    returns (char)
    - -
    ArgumentTypeDefault
    _grpint
    -

  • -
  • groupEnd (_grp) -
    -
    returns (int)
    - -
    ArgumentTypeDefault
    _grpint
    -

  • -
  • groupStart (_grp) -
    -
    returns (int)
    - -
    ArgumentTypeDefault
    _grpint
    -

  • -
  • match (_string) -
    -
    returns (bool)
    - -
    ArgumentTypeDefault
    _stringchar
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kdecore/KRootProp.html b/python/pykde/doc/classref/kdecore/KRootProp.html deleted file mode 100644 index 155e3749..00000000 --- a/python/pykde/doc/classref/kdecore/KRootProp.html +++ /dev/null @@ -1,127 +0,0 @@ - - - - - class KRootProp - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KRootProp


-
- - - - - -
Table of contents
Modules
kdecore Classes
All Classes
-
- - - - - - - - - - -
Modulekdecore
ClassKRootProp
Inherits
-

methods

    -
  • KRootProp (rProp = TQString .null) -
    -
    returns a KRootProp instance
    - -
    ArgumentTypeDefault
    rPropTQStringTQString .null
    -

  • -
  • destroy () -
    -
    returns nothing

  • -
  • listEntries () -
    -
    returns (TQStringList)

  • -
  • prop () -
    -
    returns (TQString)

  • -
  • readColorEntry (rKey, pDefault = 0) -
    -
    returns (TQColor)
    - - -
    ArgumentTypeDefault
    rKeyTQString
    pDefaultTQColor0
    -

  • -
  • readEntry (rKey, pDefault = TQString .null) -
    -
    returns (TQString)
    - - -
    ArgumentTypeDefault
    rKeyTQString
    pDefaultTQStringTQString .null
    -

  • -
  • readFontEntry (rKey, pDefault = 0) -
    -
    returns (TQFont)
    - - -
    ArgumentTypeDefault
    rKeyTQString
    pDefaultTQFont0
    -

  • -
  • readNumEntry (rKey, nDefault = 0) -
    -
    returns (int)
    - - -
    ArgumentTypeDefault
    rKeyTQString
    nDefaultint0
    -

  • -
  • removeEntry (rKey) -
    -
    returns (TQString)
    - -
    ArgumentTypeDefault
    rKeyTQString
    -

  • -
  • setProp (rProp = "") -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    rPropTQString""
    -

  • -
  • sync () -
    -
    returns nothing

  • -
  • writeEntry (rKey, rValue) -
    -
    returns (TQString)
    - - -
    ArgumentTypeDefault
    rKeyTQString
    rValueTQString
    -

  • -
  • writeEntry (rKey, nValue) -
    -
    returns (TQString)
    - - -
    ArgumentTypeDefault
    rKeyTQString
    nValueint
    -

  • -
  • writeEntry (rKey, rFont) -
    -
    returns (TQString)
    - - -
    ArgumentTypeDefault
    rKeyTQString
    rFontTQFont
    -

  • -
  • writeEntry (rKey, rColor) -
    -
    returns (TQString)
    - - -
    ArgumentTypeDefault
    rKeyTQString
    rColorTQColor
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kdecore/KSaveFile.html b/python/pykde/doc/classref/kdecore/KSaveFile.html deleted file mode 100644 index 771e51ec..00000000 --- a/python/pykde/doc/classref/kdecore/KSaveFile.html +++ /dev/null @@ -1,85 +0,0 @@ - - - - - class KSaveFile - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KSaveFile


-
- - - - - -
Table of contents
Modules
kdecore Classes
All Classes
-
- - - - - - - - - - -
Modulekdecore
ClassKSaveFile
Inherits
-

methods

    -
  • KSaveFile (filename, mode = 438) -
    -
    returns a KSaveFile instance
    - - -
    ArgumentTypeDefault
    filenameTQString
    modeint438
    -

  • -
  • abort () -
    -
    returns nothing

  • -
  • backupFile (filename, backupDir = TQString .null, backupExtension = TQString .fromLatin1 ("~" )) -
    - - -
    returns (bool)
    In versions KDE 3.2.0 and above only
    static
    - - - -
    ArgumentTypeDefault
    filenameTQString
    backupDirTQStringTQString .null
    backupExtensionTQStringTQString .fromLatin1 ("~" )
    -

  • -
  • close () -
    -
    returns (bool)

  • -
  • dataStream () -
    -
    returns (TQDataStream)

  • -
  • file () -
    -
    returns (TQFile)

  • -
  • fstream () -
    Not Implemented
    -

  • -
  • handle () -
    -
    returns (int)

  • -
  • name () -
    -
    returns (TQString)

  • -
  • status () -
    -
    returns (int)

  • -
  • textStream () -
    -
    returns (TQTextStream)

  • -
- - - diff --git a/python/pykde/doc/classref/kdecore/KSelectionOwner.html b/python/pykde/doc/classref/kdecore/KSelectionOwner.html deleted file mode 100644 index 5423358f..00000000 --- a/python/pykde/doc/classref/kdecore/KSelectionOwner.html +++ /dev/null @@ -1,114 +0,0 @@ - - - - - class KSelectionOwner - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KSelectionOwner


-
- - - - - -
Table of contents
Modules
kdecore Classes
All Classes
-
- - - - - - - - - - -
Modulekdecore
ClassKSelectionOwner
InheritsTQObject
-

methods

    -
  • KSelectionOwner (selection, screen = -1, parent = 0) -
    - -
    returns a KSelectionOwner instance
    In versions KDE 3.2.0 and above only
    - - - -
    ArgumentTypeDefault
    selectionAtom
    screenint-1
    parentTQObject0
    -

  • -
  • KSelectionOwner (selection, screen = -1, parent = 0) -
    - -
    returns a KSelectionOwner instance
    In versions KDE 3.2.0 and above only
    - - - -
    ArgumentTypeDefault
    selectionchar
    screenint-1
    parentTQObject0
    -

  • -
  • claim (force, force_kill = 1) -
    - -
    returns (bool)
    In versions KDE 3.2.0 and above only
    - - -
    ArgumentTypeDefault
    forcebool
    force_killbool1
    -

  • -
  • filterEvent (ev_P) -
    Not Implemented
    -

  • -
  • genericReply (target, property, requestor) -
    - -
    returns (bool)
    In versions KDE 3.2.0 and above only
    - - - -
    ArgumentTypeDefault
    targetAtom
    propertyAtom
    requestorWindow
    -

  • -
  • getAtoms () -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only

  • -
  • handleMessage (ev) -
    Not Implemented
    -

  • -
  • lostOwnership () -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only

  • -
  • ownerWindow () -
    - -
    returns (Window)
    In versions KDE 3.2.0 and above only

  • -
  • release () -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only

  • -
  • replyTargets (property, requestor) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - - -
    ArgumentTypeDefault
    propertyAtom
    requestorWindow
    -

  • -
  • setData (extra1, extra2) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - - -
    ArgumentTypeDefault
    extra1long
    extra2long
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kdecore/KSelectionWatcher.html b/python/pykde/doc/classref/kdecore/KSelectionWatcher.html deleted file mode 100644 index a7c7d8a1..00000000 --- a/python/pykde/doc/classref/kdecore/KSelectionWatcher.html +++ /dev/null @@ -1,77 +0,0 @@ - - - - - class KSelectionWatcher - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KSelectionWatcher


-
- - - - - -
Table of contents
Modules
kdecore Classes
All Classes
-
- - - - - - - - - - -
Modulekdecore
ClassKSelectionWatcher
InheritsTQObject
-

methods

    -
  • KSelectionWatcher (selection, screen = -1, parent = 0) -
    - -
    returns a KSelectionWatcher instance
    In versions KDE 3.2.0 and above only
    - - - -
    ArgumentTypeDefault
    selectionAtom
    screenint-1
    parentTQObject0
    -

  • -
  • KSelectionWatcher (selection, screen = -1, parent = 0) -
    - -
    returns a KSelectionWatcher instance
    In versions KDE 3.2.0 and above only
    - - - -
    ArgumentTypeDefault
    selectionchar
    screenint-1
    parentTQObject0
    -

  • -
  • filterEvent (ev_P) -
    Not Implemented
    -

  • -
  • lostOwner () -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only

  • -
  • newOwner (owner) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    ownerWindow
    -

  • -
  • owner () -
    - -
    returns (Window)
    In versions KDE 3.2.0 and above only

  • -
- - - diff --git a/python/pykde/doc/classref/kdecore/KServerSocket.html b/python/pykde/doc/classref/kdecore/KServerSocket.html deleted file mode 100644 index 207c40c7..00000000 --- a/python/pykde/doc/classref/kdecore/KServerSocket.html +++ /dev/null @@ -1,108 +0,0 @@ - - - - - class KServerSocket - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KServerSocket


-
- - - - - -
Table of contents
Modules
kdecore Classes
All Classes
-
- - - - - - - - - - -
Modulekdecore
ClassKServerSocket
InheritsTQObject
-

methods

    -
  • KServerSocket (_port, _bind) -
    -
    returns a KServerSocket instance
    - - -
    ArgumentTypeDefault
    _portushort
    _bindbool
    -

  • -
  • KServerSocket (_path, _bind) -
    -
    returns a KServerSocket instance
    - - -
    ArgumentTypeDefault
    _pathchar
    _bindbool
    -

  • -
  • KServerSocket (a0) -
    -
    returns a KServerSocket instance
    - -
    ArgumentTypeDefault
    a0KServerSocket
    -

  • -
  • KServerSocket (a0) -
    - -
    returns a KServerSocket instance
    In versions less than KDE 3.1.2 only
    - -
    ArgumentTypeDefault
    a0ushort
    -

  • -
  • KServerSocket (a0) -
    - -
    returns a KServerSocket instance
    In versions less than KDE 3.1.2 only
    - -
    ArgumentTypeDefault
    a0char
    -

  • -
  • accepted (s) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    sKSocket
    -

  • -
  • bindAndListen () -
    -
    returns (bool)

  • -
  • init (a0) -
    -
    returns (bool)
    - -
    ArgumentTypeDefault
    a0ushort
    -

  • -
  • init (_path) -
    -
    returns (bool)
    - -
    ArgumentTypeDefault
    _pathchar
    -

  • -
  • port () -
    -
    returns (ushort)

  • -
  • slotAccept (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0int
    -

  • -
  • socket () -
    -
    returns (int)

  • -
- - - diff --git a/python/pykde/doc/classref/kdecore/KSessionManaged.html b/python/pykde/doc/classref/kdecore/KSessionManaged.html deleted file mode 100644 index 411fabe0..00000000 --- a/python/pykde/doc/classref/kdecore/KSessionManaged.html +++ /dev/null @@ -1,56 +0,0 @@ - - - - - class KSessionManaged - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KSessionManaged


-
- - - - - -
Table of contents
Modules
kdecore Classes
All Classes
-
- - - - - - - - - - -
Modulekdecore
ClassKSessionManaged
Inherits
-

methods

    -
  • KSessionManaged () -
    -
    returns a KSessionManaged instance

  • -
  • commitData (sm) -
    -
    returns (bool)
    - -
    ArgumentTypeDefault
    smQSessionManager
    -

  • -
  • saveState (sm) -
    -
    returns (bool)
    - -
    ArgumentTypeDefault
    smQSessionManager
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kdecore/KShared.html b/python/pykde/doc/classref/kdecore/KShared.html deleted file mode 100644 index 7cdf6870..00000000 --- a/python/pykde/doc/classref/kdecore/KShared.html +++ /dev/null @@ -1,62 +0,0 @@ - - - - - class KShared - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KShared


-
- - - - - -
Table of contents
Modules
kdecore Classes
All Classes
-
- - - - - - - - - - -
Modulekdecore
ClassKShared
Inherits
-

methods

    -
  • KShared () -
    -
    returns a KShared instance

  • -
  • KShared (a0) -
    -
    returns a KShared instance
    - -
    ArgumentTypeDefault
    a0KShared
    -

  • -
  • _KShared_count () -
    -
    returns (int)

  • -
  • _KShared_ref () -
    -
    returns nothing

  • -
  • _KShared_unref () -
    -
    returns nothing

  • -
  • ~KShared () -
    -
    returns nothing

  • -
- - - diff --git a/python/pykde/doc/classref/kdecore/KSharedConfig.html b/python/pykde/doc/classref/kdecore/KSharedConfig.html deleted file mode 100644 index e015231d..00000000 --- a/python/pykde/doc/classref/kdecore/KSharedConfig.html +++ /dev/null @@ -1,64 +0,0 @@ - - - - - class KSharedConfig - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KSharedConfig


-
- - - - - -
Table of contents
Modules
kdecore Classes
All Classes
-
- - - - - - - - - - -
Modulekdecore
ClassKSharedConfig
InheritsKConfig, KShared
-

methods

    -
  • KSharedConfig (fileName, immutable, useKDEGlobals) -
    - -
    returns a KSharedConfig instance
    In versions KDE 3.2.0 and above only
    - - - -
    ArgumentTypeDefault
    fileNameTQString
    immutablebool
    useKDEGlobalsbool
    -

  • -
  • openConfig (fileName, immutable = 0, bUseKDEGlobals = 1) -
    - - -
    returns (KSharedConfig.Ptr)
    In versions KDE 3.2.0 and above only
    static
    - - - -
    ArgumentTypeDefault
    fileNameTQString
    immutablebool0
    bUseKDEGlobalsbool1
    -

  • -
  • ~KSharedConfig () -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only

  • -
- - - diff --git a/python/pykde/doc/classref/kdecore/KShell.html b/python/pykde/doc/classref/kdecore/KShell.html deleted file mode 100644 index 5229eb6b..00000000 --- a/python/pykde/doc/classref/kdecore/KShell.html +++ /dev/null @@ -1,88 +0,0 @@ - - - - - class KShell - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KShell


-
- - - - - -
Table of contents
Modules
kdecore Classes
All Classes
-
- - - - - - - - - - -
Modulekdecore
ClassKShell
Inherits
-

enums

    -
  • Errors = {NoError, BadQuoting, FoundMeta -}
  • Options = {NoOptions, TildeExpand, AbortOnMeta -}
-

methods

    -
  • homeDir (user) -
    - -
    returns (TQString)
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    userTQString
    -

  • -
  • joinArgs (a0) -
    - -
    returns (TQString),
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    a0 Python list of string
    -

  • -
  • joinArgs (a0) -
    - -
    returns (TQString),
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    a0 Python list of string
    -

  • -
  • joinArgsDQ (args) -
    - -
    returns (TQString)
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    argsTQStringList
    -

  • -
  • splitArgs (cmd, flags = 0) -
    - -
    returns (TQStringList) err (int)
    In versions KDE 3.2.0 and above only
    - - -
    ArgumentTypeDefault
    cmdTQString
    flagsint0
    -

  • -
  • tildeExpand (path) -
    - -
    returns (TQString)
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    pathTQString
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kdecore/KShellProcess.html b/python/pykde/doc/classref/kdecore/KShellProcess.html deleted file mode 100644 index 76a5562a..00000000 --- a/python/pykde/doc/classref/kdecore/KShellProcess.html +++ /dev/null @@ -1,68 +0,0 @@ - - - - - class KShellProcess - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KShellProcess


-
- - - - - -
Table of contents
Modules
kdecore Classes
All Classes
-
- - - - - - - - - - -
Modulekdecore
ClassKShellProcess
InheritsKProcess
-

methods

    -
  • KShellProcess (shellname = 0) -
    -
    returns a KShellProcess instance
    - -
    ArgumentTypeDefault
    shellnamechar0
    -

  • -
  • KShellProcess (a0) -
    - -
    returns a KShellProcess instance
    In versions less than KDE 3.2.0 only
    - -
    ArgumentTypeDefault
    a0KShellProcess
    -

  • -
  • quote (arg) -
    - -
    returns (TQString)
    static
    - -
    ArgumentTypeDefault
    argTQString
    -

  • -
  • start (runmode = NotifyOnExit, comm = NoCommunication) -
    -
    returns (bool)
    - - -
    ArgumentTypeDefault
    runmodeRunModeNotifyOnExit
    commCommunicationNoCommunication
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kdecore/KShortcut.html b/python/pykde/doc/classref/kdecore/KShortcut.html deleted file mode 100644 index baafb9e9..00000000 --- a/python/pykde/doc/classref/kdecore/KShortcut.html +++ /dev/null @@ -1,243 +0,0 @@ - - - - - class KShortcut - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KShortcut


-
- - - - - -
Table of contents
Modules
kdecore Classes
All Classes
-
- - - - - - - - - - -
Modulekdecore
ClassKShortcut
Inherits
-

enums

    -
  • (anonymous) = {MAX_SEQUENCES -}
-

methods

    -
  • KShortcut () -
    -
    returns a KShortcut instance

  • -
  • KShortcut (keyQt) -
    -
    returns a KShortcut instance
    - -
    ArgumentTypeDefault
    keyQtint
    -

  • -
  • KShortcut (keySeq) -
    -
    returns a KShortcut instance
    - -
    ArgumentTypeDefault
    keySeqTQKeySequence
    -

  • -
  • KShortcut (key) -
    -
    returns a KShortcut instance
    - -
    ArgumentTypeDefault
    keyKKey
    -

  • -
  • KShortcut (keySeq) -
    -
    returns a KShortcut instance
    - -
    ArgumentTypeDefault
    keySeqKKeySequence
    -

  • -
  • KShortcut (shortcut) -
    -
    returns a KShortcut instance
    - -
    ArgumentTypeDefault
    shortcutKShortcut
    -

  • -
  • KShortcut (shortcut) -
    -
    returns a KShortcut instance
    - -
    ArgumentTypeDefault
    shortcutchar
    -

  • -
  • KShortcut (shortcut) -
    -
    returns a KShortcut instance
    - -
    ArgumentTypeDefault
    shortcutTQString
    -

  • -
  • append (keySeq) -
    -
    returns (bool)
    - -
    ArgumentTypeDefault
    keySeqKKeySequence
    -

  • -
  • append (spec) -
    - -
    returns (bool)
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    specKKey
    -

  • -
  • append (cut) -
    - -
    returns (bool)
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    cutKShortcut
    -

  • -
  • clear () -
    -
    returns nothing

  • -
  • compare (shortcut) -
    -
    returns (int)
    - -
    ArgumentTypeDefault
    shortcutKShortcut
    -

  • -
  • contains (key) -
    -
    returns (bool)
    - -
    ArgumentTypeDefault
    keyKKey
    -

  • -
  • contains (key) -
    -
    returns (bool)
    - -
    ArgumentTypeDefault
    keyKKeyNative
    -

  • -
  • contains (keySeq) -
    -
    returns (bool)
    - -
    ArgumentTypeDefault
    keySeqKKeySequence
    -

  • -
  • count () -
    -
    returns (uint)

  • -
  • init (keyQt) -
    -
    returns (bool)
    - -
    ArgumentTypeDefault
    keyQtint
    -

  • -
  • init (keySeq) -
    -
    returns (bool)
    - -
    ArgumentTypeDefault
    keySeqTQKeySequence
    -

  • -
  • init (key) -
    -
    returns (bool)
    - -
    ArgumentTypeDefault
    keyKKey
    -

  • -
  • init (keySeq) -
    -
    returns (bool)
    - -
    ArgumentTypeDefault
    keySeqKKeySequence
    -

  • -
  • init (shortcut) -
    -
    returns (bool)
    - -
    ArgumentTypeDefault
    shortcutKShortcut
    -

  • -
  • init (shortcut) -
    -
    returns (bool)
    - -
    ArgumentTypeDefault
    shortcutTQString
    -

  • -
  • isNull () -
    -
    returns (bool)

  • -
  • keyCodeQt () -
    -
    returns (int)

  • -
  • null () -
    - -
    returns (KShortcut)
    static

  • -
  • remove (keySeq) -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only
    - -
    ArgumentTypeDefault
    keySeqKKeySequence
    -

  • -
  • seq (i) -
    -
    returns (KKeySequence)
    - -
    ArgumentTypeDefault
    iuint
    -

  • -
  • setSeq (i, keySeq) -
    -
    returns (bool)
    - - -
    ArgumentTypeDefault
    iuint
    keySeqKKeySequence
    -

  • -
  • toString () -
    -
    returns (TQString)

  • -
  • toStringInternal (pcutDefault = 0) -
    -
    returns (TQString)
    - -
    ArgumentTypeDefault
    pcutDefaultKShortcut0
    -

  • -
-

operators

    -
  • operator != (a0) -
    - -
    returns (bool)
    In versions KDE 3.1.4 and above only
    - -
    ArgumentTypeDefault
    a0KShortcut
    -

  • -
  • operator < (a0) -
    - -
    returns (bool)
    In versions KDE 3.1.4 and above only
    - -
    ArgumentTypeDefault
    a0KShortcut
    -

  • -
  • operator == (a0) -
    - -
    returns (bool)
    In versions KDE 3.1.4 and above only
    - -
    ArgumentTypeDefault
    a0KShortcut
    -

  • -
  • operator TQKeySequence () -
    Not Implemented
    -

  • -
  • operator int () -
    Not Implemented
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kdecore/KShortcutList.html b/python/pykde/doc/classref/kdecore/KShortcutList.html deleted file mode 100644 index 03a11cf5..00000000 --- a/python/pykde/doc/classref/kdecore/KShortcutList.html +++ /dev/null @@ -1,159 +0,0 @@ - - - - - class KShortcutList - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KShortcutList


-
- - - - - -
Table of contents
Modules
kdecore Classes
All Classes
-
- - - - - - - - - - -
Modulekdecore
ClassKShortcutList (abstract)
Inherits
-

enums

    -
  • Other = { -}
-

methods

    -
  • KShortcutList () -
    -
    returns a KShortcutList instance

  • -
  • count () = 0 -
    - -
    returns (uint)
    pure virtual

  • -
  • getOther (a0, index) = 0 -
    - -
    returns (TQVariant)
    pure virtual
    - - -
    ArgumentTypeDefault
    a0KShortcutList.Other
    indexuint
    -

  • -
  • index (sName) -
    -
    returns (int)
    - -
    ArgumentTypeDefault
    sNameTQString
    -

  • -
  • index (keySeq) -
    -
    returns (int)
    - -
    ArgumentTypeDefault
    keySeqKKeySequence
    -

  • -
  • instance () -
    -
    returns (KInstance)

  • -
  • isConfigurable (index) = 0 -
    - -
    returns (bool)
    pure virtual
    - -
    ArgumentTypeDefault
    indexuint
    -

  • -
  • isGlobal (index) -
    -
    returns (bool)
    - -
    ArgumentTypeDefault
    indexuint
    -

  • -
  • label (index) = 0 -
    - -
    returns (TQString)
    pure virtual
    - -
    ArgumentTypeDefault
    indexuint
    -

  • -
  • name (index) = 0 -
    - -
    returns (TQString)
    pure virtual
    - -
    ArgumentTypeDefault
    indexuint
    -

  • -
  • readSettings (sConfigGroup = TQString .null, pConfig = 0) -
    -
    returns (bool)
    - - -
    ArgumentTypeDefault
    sConfigGroupTQStringTQString .null
    pConfigKConfigBase0
    -

  • -
  • save () = 0 -
    - -
    returns (bool)
    pure virtual

  • -
  • setOther (a0, index, a1) = 0 -
    - -
    returns (bool)
    pure virtual
    - - - -
    ArgumentTypeDefault
    a0KShortcutList.Other
    indexuint
    a1TQVariant
    -

  • -
  • setShortcut (index, shortcut) = 0 -
    - -
    returns (bool)
    pure virtual
    - - -
    ArgumentTypeDefault
    indexuint
    shortcutKShortcut
    -

  • -
  • shortcut (index) = 0 -
    - -
    returns (KShortcut)
    pure virtual
    - -
    ArgumentTypeDefault
    indexuint
    -

  • -
  • shortcutDefault (index) = 0 -
    - -
    returns (KShortcut)
    pure virtual
    - -
    ArgumentTypeDefault
    indexuint
    -

  • -
  • whatsThis (index) = 0 -
    - -
    returns (TQString)
    pure virtual
    - -
    ArgumentTypeDefault
    indexuint
    -

  • -
  • writeSettings (sConfigGroup = TQString .null, pConfig = 0, bWriteAll = 0, bGlobal = 0) -
    -
    returns (bool)
    - - - - -
    ArgumentTypeDefault
    sConfigGroupTQStringTQString .null
    pConfigKConfigBase0
    bWriteAllbool0
    bGlobalbool0
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kdecore/KSimpleConfig.html b/python/pykde/doc/classref/kdecore/KSimpleConfig.html deleted file mode 100644 index 57817167..00000000 --- a/python/pykde/doc/classref/kdecore/KSimpleConfig.html +++ /dev/null @@ -1,65 +0,0 @@ - - - - - class KSimpleConfig - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KSimpleConfig


-
- - - - - -
Table of contents
Modules
kdecore Classes
All Classes
-
- - - - - - - - - - -
Modulekdecore
ClassKSimpleConfig
InheritsKConfig
-

methods

    -
  • KSimpleConfig (fileName, bReadOnly = 0) -
    -
    returns a KSimpleConfig instance
    - - -
    ArgumentTypeDefault
    fileNameTQString
    bReadOnlybool0
    -

  • -
  • KSimpleConfig (backEnd, bReadOnly = 0) -
    - -
    returns a KSimpleConfig instance
    In versions KDE 3.2.0 and above only
    - - -
    ArgumentTypeDefault
    backEndKConfigBackEnd
    bReadOnlybool0
    -

  • -
  • KSimpleConfig (a0) -
    -
    returns a KSimpleConfig instance
    - -
    ArgumentTypeDefault
    a0KSimpleConfig
    -

  • -
  • sync () -
    -
    returns nothing

  • -
- - - diff --git a/python/pykde/doc/classref/kdecore/KSocket.html b/python/pykde/doc/classref/kdecore/KSocket.html deleted file mode 100644 index 7b942d2f..00000000 --- a/python/pykde/doc/classref/kdecore/KSocket.html +++ /dev/null @@ -1,126 +0,0 @@ - - - - - class KSocket - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KSocket


-
- - - - - -
Table of contents
Modules
kdecore Classes
All Classes
-
- - - - - - - - - - -
Modulekdecore
ClassKSocket
InheritsTQObject
-

methods

    -
  • KSocket (_sock) -
    -
    returns a KSocket instance
    - -
    ArgumentTypeDefault
    _sockint
    -

  • -
  • KSocket (_host, _port, timeOut = 30) -
    -
    returns a KSocket instance
    - - - -
    ArgumentTypeDefault
    _hostchar
    _portushort
    timeOutint30
    -

  • -
  • KSocket (_path) -
    -
    returns a KSocket instance
    - -
    ArgumentTypeDefault
    _pathchar
    -

  • -
  • KSocket (a0) -
    -
    returns a KSocket instance
    - -
    ArgumentTypeDefault
    a0KSocket
    -

  • -
  • closeEvent (s) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    sKSocket
    -

  • -
  • connect (_host, _port, timeout = 0) -
    -
    returns (bool)
    - - - -
    ArgumentTypeDefault
    _hostTQString
    _portushort
    timeoutint0
    -

  • -
  • connect (_path) -
    -
    returns (bool)
    - -
    ArgumentTypeDefault
    _pathchar
    -

  • -
  • enableRead (enable) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    enablebool
    -

  • -
  • enableWrite (enable) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    enablebool
    -

  • -
  • readEvent (s) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    sKSocket
    -

  • -
  • slotRead (x) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    xint
    -

  • -
  • slotWrite (x) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    xint
    -

  • -
  • socket () -
    -
    returns (int)

  • -
  • writeEvent (s) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    sKSocket
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kdecore/KStartupInfo.html b/python/pykde/doc/classref/kdecore/KStartupInfo.html deleted file mode 100644 index e553fbd3..00000000 --- a/python/pykde/doc/classref/kdecore/KStartupInfo.html +++ /dev/null @@ -1,227 +0,0 @@ - - - - - class KStartupInfo - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KStartupInfo


-
- - - - - -
Table of contents
Modules
kdecore Classes
All Classes
-
- - - - - - - - - - -
Modulekdecore
ClassKStartupInfo
InheritsTQObject
-

enums

    -
  • (anonymous) = {CleanOnCantDetect, DisableKWinModule, AnnounceSilenceChanges -}
  • startup_t = {NoMatch, Match, CantDetect -}
-

methods

    -
  • KStartupInfo (flags, parent = 0, name = 0) -
    -
    returns a KStartupInfo instance
    - - - -
    ArgumentTypeDefault
    flagsbool
    parentTQObject0
    namechar0
    -

  • -
  • appStarted () -
    - -
    returns nothing
    static

  • -
  • appStarted (startup_id) -
    - - -
    returns nothing
    In versions KDE 3.2.0 and above only
    static
    - -
    ArgumentTypeDefault
    startup_idTQCString
    -

  • -
  • checkStartup (w) -
    -
    returns (KStartupInfo.startup_t)
    - -
    ArgumentTypeDefault
    wWId
    -

  • -
  • checkStartup (w, id) -
    -
    returns (KStartupInfo.startup_t)
    - - -
    ArgumentTypeDefault
    wWId
    idKStartupInfoId
    -

  • -
  • checkStartup (w, data) -
    -
    returns (KStartupInfo.startup_t)
    - - -
    ArgumentTypeDefault
    wWId
    dataKStartupInfoData
    -

  • -
  • checkStartup (w, id, data) -
    -
    returns (KStartupInfo.startup_t)
    - - - -
    ArgumentTypeDefault
    wWId
    idKStartupInfoId
    dataKStartupInfoData
    -

  • -
  • createNewStartupId () -
    - - -
    returns (TQCString)
    In versions KDE 3.3.0 and above only
    static

  • -
  • currentStartupIdEnv () -
    - -
    returns (KStartupInfoId)
    static

  • -
  • customEvent (e_P) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    e_PTQCustomEvent
    -

  • -
  • disableAutoAppStartedSending (disable = 1) -
    - - -
    returns nothing
    In versions KDE 3.2.0 and above only
    static
    - -
    ArgumentTypeDefault
    disablebool1
    -

  • -
  • gotNewStartup (id, data) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    idKStartupInfoId
    dataKStartupInfoData
    -

  • -
  • gotRemoveStartup (id, data) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    idKStartupInfoId
    dataKStartupInfoData
    -

  • -
  • gotStartupChange (id, data) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    idKStartupInfoId
    dataKStartupInfoData
    -

  • -
  • handleAutoAppStartedSending () -
    - - -
    returns nothing
    In versions KDE 3.2.0 and above only
    static

  • -
  • resetStartupEnv () -
    - -
    returns nothing
    static

  • -
  • sendChange (id, data) -
    - -
    returns (bool)
    static
    - - -
    ArgumentTypeDefault
    idKStartupInfoId
    dataKStartupInfoData
    -

  • -
  • sendChangeX (dpy, id, data) -
    Not Implemented
    -

  • -
  • sendFinish (id) -
    - -
    returns (bool)
    static
    - -
    ArgumentTypeDefault
    idKStartupInfoId
    -

  • -
  • sendFinish (id, data) -
    - -
    returns (bool)
    static
    - - -
    ArgumentTypeDefault
    idKStartupInfoId
    dataKStartupInfoData
    -

  • -
  • sendFinishX (dpy, id) -
    Not Implemented
    -

  • -
  • sendFinishX (dpy, id, data) -
    Not Implemented
    -

  • -
  • sendStartup (id, data) -
    - -
    returns (bool)
    static
    - - -
    ArgumentTypeDefault
    idKStartupInfoId
    dataKStartupInfoData
    -

  • -
  • sendStartupX (dpy, id, data) -
    Not Implemented
    -

  • -
  • setNewStartupId (window, startup_id) -
    - - -
    returns nothing
    In versions KDE 3.2.0 and above only
    static
    - - -
    ArgumentTypeDefault
    windowTQWidget
    startup_idTQCString
    -

  • -
  • setTimeout (secs) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    secsuint
    -

  • -
  • setWindowStartupId (window, id) -
    - -
    returns nothing
    static
    - - -
    ArgumentTypeDefault
    windowWId
    idTQCString
    -

  • -
  • silenceStartup (silence) -
    - - -
    returns nothing
    In versions KDE 3.2.0 and above only
    static
    - -
    ArgumentTypeDefault
    silencebool
    -

  • -
  • windowStartupId (w) -
    - -
    returns (TQCString)
    static
    - -
    ArgumentTypeDefault
    wWId
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kdecore/KStartupInfoData.html b/python/pykde/doc/classref/kdecore/KStartupInfoData.html deleted file mode 100644 index f31300c4..00000000 --- a/python/pykde/doc/classref/kdecore/KStartupInfoData.html +++ /dev/null @@ -1,195 +0,0 @@ - - - - - class KStartupInfoData - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KStartupInfoData


-
- - - - - -
Table of contents
Modules
kdecore Classes
All Classes
-
- - - - - - - - - - -
Modulekdecore
ClassKStartupInfoData
Inherits
-

enums

    -
  • TriState = {Yes, No, Unknown -}
-

methods

    -
  • KStartupInfoData () -
    -
    returns a KStartupInfoData instance

  • -
  • KStartupInfoData (data) -
    -
    returns a KStartupInfoData instance
    - -
    ArgumentTypeDefault
    dataKStartupInfoData
    -

  • -
  • KStartupInfoData (txt) -
    -
    returns a KStartupInfoData instance
    - -
    ArgumentTypeDefault
    txtTQString
    -

  • -
  • WMClass () -
    -
    returns (TQCString)

  • -
  • addPid (pid) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    pidpid_t
    -

  • -
  • bin () -
    -
    returns (TQString)

  • -
  • description () -
    - -
    returns (TQString)
    In versions KDE 3.2.0 and above only

  • -
  • desktop () -
    -
    returns (int)

  • -
  • findDescription () -
    - -
    returns (TQString)
    In versions KDE 3.2.0 and above only

  • -
  • findIcon () -
    -
    returns (TQString)

  • -
  • findName () -
    -
    returns (TQString)

  • -
  • findWMClass () -
    -
    returns (TQCString)

  • -
  • hostname () -
    -
    returns (TQCString)

  • -
  • icon () -
    -
    returns (TQString)

  • -
  • is_pid (pid) -
    -
    returns (bool)
    - -
    ArgumentTypeDefault
    pidpid_t
    -

  • -
  • name () -
    -
    returns (TQString)

  • -
  • pids () -
    -
    returns (TQValueList)

  • -
  • pids () -
    - -
    returns (TQValueList)
    In versions less than KDE 3.5.3 only

  • -
  • screen () -
    - -
    returns (int)
    In versions KDE 3.2.0 and above only

  • -
  • setBin (bin) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    binTQString
    -

  • -
  • setDescription (descr) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    descrTQString
    -

  • -
  • setDesktop (desktop) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    desktopint
    -

  • -
  • setHostname (hostname = TQCString ()) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    hostnameTQCStringTQCString ()
    -

  • -
  • setIcon (icon) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    iconTQString
    -

  • -
  • setName (name) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    nameTQString
    -

  • -
  • setScreen (screen) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    screenint
    -

  • -
  • setSilent (state) -
    - -
    returns nothing
    In versions KDE 3.1.1 and above only
    - -
    ArgumentTypeDefault
    stateKStartupInfoData.TriState
    -

  • -
  • setTimestamp (time) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    timeulong
    -

  • -
  • setWMClass (wmclass) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    wmclassTQCString
    -

  • -
  • silent () -
    - -
    returns (KStartupInfoData.TriState)
    In versions KDE 3.1.1 and above only

  • -
  • timestamp () -
    - -
    returns (ulong)
    In versions KDE 3.2.0 and above only

  • -
  • update (data) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    dataKStartupInfoData
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kdecore/KStartupInfoId.html b/python/pykde/doc/classref/kdecore/KStartupInfoId.html deleted file mode 100644 index 1d52fd85..00000000 --- a/python/pykde/doc/classref/kdecore/KStartupInfoId.html +++ /dev/null @@ -1,98 +0,0 @@ - - - - - class KStartupInfoId - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KStartupInfoId


-
- - - - - -
Table of contents
Modules
kdecore Classes
All Classes
-
- - - - - - - - - - -
Modulekdecore
ClassKStartupInfoId
Inherits
-

methods

    -
  • KStartupInfoId () -
    -
    returns a KStartupInfoId instance

  • -
  • KStartupInfoId (data) -
    -
    returns a KStartupInfoId instance
    - -
    ArgumentTypeDefault
    dataKStartupInfoId
    -

  • -
  • KStartupInfoId (txt) -
    -
    returns a KStartupInfoId instance
    - -
    ArgumentTypeDefault
    txtTQString
    -

  • -
  • id () -
    -
    returns (TQCString)

  • -
  • initId (id = "") -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    idTQCString""
    -

  • -
  • none () -
    -
    returns (bool)

  • -
  • setupStartupEnv () -
    -
    returns (bool)

  • -
  • timestamp () -
    - -
    returns (ulong)
    In versions KDE 3.3.0 and above only

  • -
-

operators

    -
  • operator != (a0) -
    - -
    returns (bool)
    In versions KDE 3.1.4 and above only
    - -
    ArgumentTypeDefault
    a0KStartupInfoId
    -

  • -
  • operator < (a0) -
    - -
    returns (bool)
    In versions KDE 3.1.4 and above only
    - -
    ArgumentTypeDefault
    a0KStartupInfoId
    -

  • -
  • operator == (a0) -
    - -
    returns (bool)
    In versions KDE 3.1.4 and above only
    - -
    ArgumentTypeDefault
    a0KStartupInfoId
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kdecore/KStaticDeleterBase.html b/python/pykde/doc/classref/kdecore/KStaticDeleterBase.html deleted file mode 100644 index 08800b8c..00000000 --- a/python/pykde/doc/classref/kdecore/KStaticDeleterBase.html +++ /dev/null @@ -1,45 +0,0 @@ - - - - - class KStaticDeleterBase - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KStaticDeleterBase


-
- - - - - -
Table of contents
Modules
kdecore Classes
All Classes
-
- - - - - - - - - - -
Modulekdecore
ClassKStaticDeleterBase (abstract)
Inherits
-

methods

- - - diff --git a/python/pykde/doc/classref/kdecore/KStdAccel.ShortcutList.html b/python/pykde/doc/classref/kdecore/KStdAccel.ShortcutList.html deleted file mode 100644 index 6913ee34..00000000 --- a/python/pykde/doc/classref/kdecore/KStdAccel.ShortcutList.html +++ /dev/null @@ -1,108 +0,0 @@ - - - - - class KStdAccel.ShortcutList - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KStdAccel.ShortcutList


-
- - - - - -
Table of contents
Modules
kdecore Classes
All Classes
-
- - - - - - - - - - -
Modulekdecore
ClassKStdAccel.ShortcutList
InheritsKShortcutList
-

methods

    -
  • ShortcutList () -
    -
    returns a ShortcutList instance

  • -
  • count () -
    -
    returns (uint)

  • -
  • getOther (a0, index) -
    -
    returns (TQVariant)
    - - -
    ArgumentTypeDefault
    a0KShortcutList.Other
    indexuint
    -

  • -
  • isConfigurable (index) -
    -
    returns (bool)
    - -
    ArgumentTypeDefault
    indexuint
    -

  • -
  • label (index) -
    -
    returns (TQString)
    - -
    ArgumentTypeDefault
    indexuint
    -

  • -
  • name (index) -
    -
    returns (TQString)
    - -
    ArgumentTypeDefault
    indexuint
    -

  • -
  • save () -
    -
    returns (bool)

  • -
  • setOther (a0, index, a1) -
    -
    returns (bool)
    - - - -
    ArgumentTypeDefault
    a0KShortcutList.Other
    indexuint
    a1TQVariant
    -

  • -
  • setShortcut (index, shortcut) -
    -
    returns (bool)
    - - -
    ArgumentTypeDefault
    indexuint
    shortcutKShortcut
    -

  • -
  • shortcut (index) -
    -
    returns (KShortcut)
    - -
    ArgumentTypeDefault
    indexuint
    -

  • -
  • shortcutDefault (index) -
    -
    returns (KShortcut)
    - -
    ArgumentTypeDefault
    indexuint
    -

  • -
  • whatsThis (index) -
    -
    returns (TQString)
    - -
    ArgumentTypeDefault
    indexuint
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kdecore/KStdAccel.html b/python/pykde/doc/classref/kdecore/KStdAccel.html deleted file mode 100644 index 01f4834a..00000000 --- a/python/pykde/doc/classref/kdecore/KStdAccel.html +++ /dev/null @@ -1,284 +0,0 @@ - - - - - class KStdAccel - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KStdAccel


-
- - - - - -
Table of contents
Modules
kdecore Classes
All Classes
-
- - - - - - - - - - -
Modulekdecore
ClassKStdAccel
Inherits
-

classes

-

enums

    -
  • StdAccel = {AccelNone, Open, New, Close, Save, Print, Quit, Undo, Redo, Cut, Copy, Paste, SelectAll, Deselect, DeleteWordBack, DeleteWordForward, Find, FindNext, FindPrev, Replace, Home, End, Prior, Next, GotoLine, AddBookmark, ZoomIn, ZoomOut, Up, Back, Forward, Reload, PopupMenuContext, ShowMenubar, Help, WhatsThis, TextCompletion, PrevCompletion, NextCompletion, SubstringCompletion, RotateUp, RotateDown, WhatThis -}
  • StdAccel = {AccelNone, Open, New, Close, Save, Print, Quit, Undo, Redo, Cut, Copy, Paste, SelectAll, Deselect, DeleteWordBack, DeleteWordForward, Find, FindNext, FindPrev, Replace, Home, End, Prior, Next, GotoLine, AddBookmark, ZoomIn, ZoomOut, Up, Back, Forward, Reload, PopupMenuContext, ShowMenubar, Help, WhatsThis, TextCompletion, PrevCompletion, NextCompletion, SubstringCompletion, RotateUp, RotateDown, WhatThis -}
  • StdAccel = {AccelNone, Open, New, Close, Save, Print, Quit, Undo, Redo, Cut, Copy, Paste, SelectAll, Deselect, DeleteWordBack, DeleteWordForward, Find, FindNext, FindPrev, Replace, Home, End, Prior, Next, GotoLine, AddBookmark, ZoomIn, ZoomOut, Up, Back, Forward, Reload, PopupMenuContext, ShowMenubar, Help, WhatsThis, TextCompletion, PrevCompletion, NextCompletion, SubstringCompletion, RotateUp, RotateDown, WhatThis -}
  • StdAccel = {AccelNone, Open, New, Close, Save, Print, Quit, Undo, Redo, Cut, Copy, Paste, SelectAll, Deselect, DeleteWordBack, DeleteWordForward, Find, FindNext, FindPrev, Replace, Home, End, Prior, Next, GotoLine, AddBookmark, ZoomIn, ZoomOut, Up, Back, Forward, Reload, PopupMenuContext, ShowMenubar, Help, WhatsThis, TextCompletion, PrevCompletion, NextCompletion, SubstringCompletion, RotateUp, RotateDown, WhatThis -}
  • StdAccel = {AccelNone, Open, New, Close, Save, Print, Quit, Undo, Redo, Cut, Copy, Paste, SelectAll, Deselect, DeleteWordBack, DeleteWordForward, Find, FindNext, FindPrev, Replace, Home, End, Prior, Next, GotoLine, AddBookmark, ZoomIn, ZoomOut, Up, Back, Forward, Reload, PopupMenuContext, ShowMenubar, Help, WhatsThis, TextCompletion, PrevCompletion, NextCompletion, SubstringCompletion, RotateUp, RotateDown, WhatThis -}
  • StdAccel = {AccelNone, Open, New, Close, Save, Print, Quit, Undo, Redo, Cut, Copy, Paste, SelectAll, Deselect, DeleteWordBack, DeleteWordForward, Find, FindNext, FindPrev, Replace, Home, End, Prior, Next, GotoLine, AddBookmark, ZoomIn, ZoomOut, Up, Back, Forward, Reload, PopupMenuContext, ShowMenubar, Help, WhatsThis, TextCompletion, PrevCompletion, NextCompletion, SubstringCompletion, RotateUp, RotateDown, WhatThis -}
-

methods

    -
  • action (id) -
    -
    returns (TQString)
    - -
    ArgumentTypeDefault
    idKStdAccel.StdAccel
    -

  • -
  • addBookmark () -
    -
    returns (KShortcut)

  • -
  • back () -
    -
    returns (KShortcut)

  • -
  • backwardWord () -
    - -
    returns (KShortcut)
    In versions KDE 3.3.0 and above only

  • -
  • beginningOfLine () -
    - -
    returns (KShortcut)
    In versions KDE 3.3.0 and above only

  • -
  • close () -
    -
    returns (KShortcut)

  • -
  • completion () -
    -
    returns (KShortcut)

  • -
  • copy () -
    -
    returns (KShortcut)

  • -
  • cut () -
    -
    returns (KShortcut)

  • -
  • defaultKey (accel) -
    -
    returns (int)
    - -
    ArgumentTypeDefault
    accelKStdAccel.StdAccel
    -

  • -
  • deleteWordBack () -
    -
    returns (KShortcut)

  • -
  • deleteWordForward () -
    -
    returns (KShortcut)

  • -
  • description (id) -
    -
    returns (TQString)
    - -
    ArgumentTypeDefault
    idKStdAccel.StdAccel
    -

  • -
  • end () -
    -
    returns (KShortcut)

  • -
  • endOfLine () -
    - -
    returns (KShortcut)
    In versions KDE 3.3.0 and above only

  • -
  • find () -
    -
    returns (KShortcut)

  • -
  • findNext () -
    -
    returns (KShortcut)

  • -
  • findPrev () -
    -
    returns (KShortcut)

  • -
  • findStdAccel (keySeq) -
    -
    returns (KStdAccel.StdAccel)
    - -
    ArgumentTypeDefault
    keySeqKKeySequence
    -

  • -
  • forward () -
    -
    returns (KShortcut)

  • -
  • forwardWord () -
    - -
    returns (KShortcut)
    In versions KDE 3.3.0 and above only

  • -
  • fullScreen () -
    - -
    returns (KShortcut)
    In versions KDE 3.2.0 and above only

  • -
  • gotoLine () -
    -
    returns (KShortcut)

  • -
  • help () -
    -
    returns (KShortcut)

  • -
  • home () -
    -
    returns (KShortcut)

  • -
  • insert () -
    Not Implemented
    -

  • -
  • isEqual (pEvent, keyQt) -
    -
    returns (bool)
    - - -
    ArgumentTypeDefault
    pEventTQKeyEvent
    keyQtint
    -

  • -
  • key (a0) -
    -
    returns (int)
    - -
    ArgumentTypeDefault
    a0KStdAccel.StdAccel
    -

  • -
  • label (id) -
    -
    returns (TQString)
    - -
    ArgumentTypeDefault
    idKStdAccel.StdAccel
    -

  • -
  • name (id) -
    -
    returns (TQString)
    - -
    ArgumentTypeDefault
    idKStdAccel.StdAccel
    -

  • -
  • next () -
    -
    returns (KShortcut)

  • -
  • nextCompletion () -
    -
    returns (KShortcut)

  • -
  • open () -
    -
    returns (KShortcut)

  • -
  • openNew () -
    -
    returns (KShortcut)

  • -
  • paste () -
    -
    returns (KShortcut)

  • -
  • pasteSelection () -
    - -
    returns (KShortcut)
    In versions KDE 3.4.0 and above only

  • -
  • popupMenuContext () -
    -
    returns (KShortcut)

  • -
  • prevCompletion () -
    -
    returns (KShortcut)

  • -
  • print_ () -
    - -
    returns (KShortcut)
    Renamed: was ' print -' in C++

  • -
  • prior () -
    -
    returns (KShortcut)

  • -
  • quit () -
    -
    returns (KShortcut)

  • -
  • redo () -
    -
    returns (KShortcut)

  • -
  • reload () -
    -
    returns (KShortcut)

  • -
  • replace () -
    -
    returns (KShortcut)

  • -
  • rotateDown () -
    -
    returns (KShortcut)

  • -
  • rotateUp () -
    -
    returns (KShortcut)

  • -
  • save () -
    -
    returns (KShortcut)

  • -
  • selectAll () -
    -
    returns (KShortcut)

  • -
  • shortcut (id) -
    -
    returns (KShortcut)
    - -
    ArgumentTypeDefault
    idKStdAccel.StdAccel
    -

  • -
  • shortcutDefault (id) -
    -
    returns (KShortcut)
    - -
    ArgumentTypeDefault
    idKStdAccel.StdAccel
    -

  • -
  • shortcutDefault3 (id) -
    -
    returns (KShortcut)
    - -
    ArgumentTypeDefault
    idKStdAccel.StdAccel
    -

  • -
  • shortcutDefault4 (id) -
    -
    returns (KShortcut)
    - -
    ArgumentTypeDefault
    idKStdAccel.StdAccel
    -

  • -
  • showMenubar () -
    -
    returns (KShortcut)

  • -
  • substringCompletion () -
    -
    returns (KShortcut)

  • -
  • tabNext () -
    - -
    returns (KShortcut)
    In versions KDE 3.2.0 and above only

  • -
  • tabPrev () -
    - -
    returns (KShortcut)
    In versions KDE 3.2.0 and above only

  • -
  • undo () -
    -
    returns (KShortcut)

  • -
  • up () -
    -
    returns (KShortcut)

  • -
  • whatsThis () -
    -
    returns (KShortcut)

  • -
  • whatsThis () -
    -
    returns (KShortcut)

  • -
  • zoomIn () -
    -
    returns (KShortcut)

  • -
  • zoomOut () -
    -
    returns (KShortcut)

  • -
- - - diff --git a/python/pykde/doc/classref/kdecore/KStringHandler.html b/python/pykde/doc/classref/kdecore/KStringHandler.html deleted file mode 100644 index b302390f..00000000 --- a/python/pykde/doc/classref/kdecore/KStringHandler.html +++ /dev/null @@ -1,292 +0,0 @@ - - - - - class KStringHandler - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KStringHandler


-
- - - - - -
Table of contents
Modules
kdecore Classes
All Classes
-
- - - - - - - - - - -
Modulekdecore
ClassKStringHandler
Inherits
-

methods

    -
  • cEmSqueeze (name, fontMetrics, maxlen = 30) -
    - - -
    returns (TQString)
    In versions KDE 3.2.0 and above only
    static
    - - - -
    ArgumentTypeDefault
    nameTQString
    fontMetricsTQFontMetrics
    maxlenuint30
    -

  • -
  • cPixelSqueeze (name, fontMetrics, maxPixels) -
    - - -
    returns (TQString)
    In versions KDE 3.2.0 and above only
    static
    - - - -
    ArgumentTypeDefault
    nameTQString
    fontMetricsTQFontMetrics
    maxPixelsuint
    -

  • -
  • capwords (text) -
    - -
    returns (TQString)
    static
    - -
    ArgumentTypeDefault
    textTQString
    -

  • -
  • capwords (list) -
    - -
    returns (TQStringList)
    static
    - -
    ArgumentTypeDefault
    listTQStringList
    -

  • -
  • center (text, width) -
    - -
    returns (TQString)
    static
    - - -
    ArgumentTypeDefault
    textTQString
    widthuint
    -

  • -
  • csqueeze (str, maxlen = 40) -
    - -
    returns (TQString)
    static
    - - -
    ArgumentTypeDefault
    strTQString
    maxlenuint40
    -

  • -
  • from8Bit (str) -
    - - -
    returns (TQString)
    In versions KDE 3.2.0 and above only
    static
    - -
    ArgumentTypeDefault
    strchar
    -

  • -
  • insword (text, word, pos) -
    - -
    returns (TQString)
    static
    - - - -
    ArgumentTypeDefault
    textTQString
    wordTQString
    posuint
    -

  • -
  • isUtf8 (str) -
    - - -
    returns (bool)
    In versions KDE 3.2.0 and above only
    static
    - -
    ArgumentTypeDefault
    strchar
    -

  • -
  • lEmSqueeze (name, fontMetrics, maxlen = 30) -
    - - -
    returns (TQString)
    In versions KDE 3.2.0 and above only
    static
    - - - -
    ArgumentTypeDefault
    nameTQString
    fontMetricsTQFontMetrics
    maxlenuint30
    -

  • -
  • lPixelSqueeze (name, fontMetrics, maxPixels) -
    - - -
    returns (TQString)
    In versions KDE 3.2.0 and above only
    static
    - - - -
    ArgumentTypeDefault
    nameTQString
    fontMetricsTQFontMetrics
    maxPixelsuint
    -

  • -
  • ljust (text, width) -
    - -
    returns (TQString)
    static
    - - -
    ArgumentTypeDefault
    textTQString
    widthuint
    -

  • -
  • lsqueeze (str, maxlen = 40) -
    - -
    returns (TQString)
    static
    - - -
    ArgumentTypeDefault
    strTQString
    maxlenuint40
    -

  • -
  • matchFileName (filename, pattern) -
    - -
    returns (bool)
    static
    - - -
    ArgumentTypeDefault
    filenameTQString
    patternTQString
    -

  • -
  • matchFilename (filename, pattern) -
    - -
    returns (bool)
    static
    - - -
    ArgumentTypeDefault
    filenameTQString
    patternTQString
    -

  • -
  • obscure (str) -
    - - -
    returns (TQString)
    In versions KDE 3.2.0 and above only
    static
    - -
    ArgumentTypeDefault
    strTQString
    -

  • -
  • perlSplit (sep, s, max = 0) -
    Not Implemented
    -

  • -
  • perlSplit (sep, s, max = 0) -
    Not Implemented
    -

  • -
  • perlSplit (sep, s, max = 0) -
    Not Implemented
    -

  • -
  • rEmSqueeze (name, fontMetrics, maxlen = 30) -
    - - -
    returns (TQString)
    In versions KDE 3.2.0 and above only
    static
    - - - -
    ArgumentTypeDefault
    nameTQString
    fontMetricsTQFontMetrics
    maxlenuint30
    -

  • -
  • rPixelSqueeze (name, fontMetrics, maxPixels) -
    - - -
    returns (TQString)
    In versions KDE 3.2.0 and above only
    static
    - - - -
    ArgumentTypeDefault
    nameTQString
    fontMetricsTQFontMetrics
    maxPixelsuint
    -

  • -
  • remrange (text, range) -
    - -
    returns (TQString)
    static
    - - -
    ArgumentTypeDefault
    textTQString
    rangechar
    -

  • -
  • remword (text, pos) -
    - -
    returns (TQString)
    static
    - - -
    ArgumentTypeDefault
    textTQString
    posuint
    -

  • -
  • remword (text, word) -
    - -
    returns (TQString)
    static
    - - -
    ArgumentTypeDefault
    textTQString
    wordTQString
    -

  • -
  • reverse (text) -
    - -
    returns (TQString)
    static
    - -
    ArgumentTypeDefault
    textTQString
    -

  • -
  • reverse (list) -
    - -
    returns (TQStringList)
    static
    - -
    ArgumentTypeDefault
    listTQStringList
    -

  • -
  • rjust (text, width) -
    - -
    returns (TQString)
    static
    - - -
    ArgumentTypeDefault
    textTQString
    widthuint
    -

  • -
  • rsqueeze (str, maxlen = 40) -
    - -
    returns (TQString)
    static
    - - -
    ArgumentTypeDefault
    strTQString
    maxlenuint40
    -

  • -
  • setword (text, word, pos) -
    - -
    returns (TQString)
    static
    - - - -
    ArgumentTypeDefault
    textTQString
    wordTQString
    posuint
    -

  • -
  • tagURLs (text) -
    - - -
    returns (TQString)
    In versions KDE 3.1.0 and above only
    static
    - -
    ArgumentTypeDefault
    textTQString
    -

  • -
  • word (text, pos) -
    - -
    returns (TQString)
    static
    - - -
    ArgumentTypeDefault
    textTQString
    posuint
    -

  • -
  • word (text, range) -
    - -
    returns (TQString)
    static
    - - -
    ArgumentTypeDefault
    textTQString
    rangechar
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kdecore/KTempDir.html b/python/pykde/doc/classref/kdecore/KTempDir.html deleted file mode 100644 index 56c163e0..00000000 --- a/python/pykde/doc/classref/kdecore/KTempDir.html +++ /dev/null @@ -1,99 +0,0 @@ - - - - - class KTempDir - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KTempDir


-
- - - - - -
Table of contents
Modules
kdecore Classes
All Classes
-
- - - - - - - - - - -
Modulekdecore
ClassKTempDir
Inherits
-

methods

    -
  • KTempDir (directoryPrefix = TQString .null, mode = 448) -
    - -
    returns a KTempDir instance
    In versions KDE 3.2.0 and above only
    - - -
    ArgumentTypeDefault
    directoryPrefixTQStringTQString .null
    modeint448
    -

  • -
  • create (directoryPrefix, mode) -
    - -
    returns (bool)
    In versions KDE 3.2.0 and above only
    - - -
    ArgumentTypeDefault
    directoryPrefixTQString
    modeint
    -

  • -
  • existing () -
    - -
    returns (bool)
    In versions KDE 3.2.0 and above only

  • -
  • name () -
    - -
    returns (TQString)
    In versions KDE 3.2.0 and above only

  • -
  • qDir () -
    - -
    returns (TQDir)
    In versions KDE 3.2.0 and above only

  • -
  • removeDir (path) -
    - - -
    returns (bool)
    In versions KDE 3.5.2 and above only
    static
    - -
    ArgumentTypeDefault
    pathTQString
    -

  • -
  • setAutoDelete (autoDelete) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    autoDeletebool
    -

  • -
  • setError (error) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    errorint
    -

  • -
  • status () -
    - -
    returns (int)
    In versions KDE 3.2.0 and above only

  • -
  • unlink () -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only

  • -
- - - diff --git a/python/pykde/doc/classref/kdecore/KTempFile.html b/python/pykde/doc/classref/kdecore/KTempFile.html deleted file mode 100644 index e99cd4f9..00000000 --- a/python/pykde/doc/classref/kdecore/KTempFile.html +++ /dev/null @@ -1,106 +0,0 @@ - - - - - class KTempFile - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KTempFile


-
- - - - - -
Table of contents
Modules
kdecore Classes
All Classes
-
- - - - - - - - - - -
Modulekdecore
ClassKTempFile
Inherits
-

methods

    -
  • KTempFile (filePrefix = TQString .null, fileExtension = TQString .null, mode = 384) -
    -
    returns a KTempFile instance
    - - - -
    ArgumentTypeDefault
    filePrefixTQStringTQString .null
    fileExtensionTQStringTQString .null
    modeint384
    -

  • -
  • KTempFile (a0) -
    -
    returns a KTempFile instance
    - -
    ArgumentTypeDefault
    a0bool
    -

  • -
  • close () -
    -
    returns (bool)

  • -
  • create (filePrefix, fileExtension, mode) -
    -
    returns (bool)
    - - - -
    ArgumentTypeDefault
    filePrefixTQString
    fileExtensionTQString
    modeint
    -

  • -
  • dataStream () -
    -
    returns (TQDataStream)

  • -
  • file () -
    -
    returns (TQFile)

  • -
  • fstream () -
    Not Implemented
    -

  • -
  • handle () -
    -
    returns (int)

  • -
  • name () -
    -
    returns (TQString)

  • -
  • setAutoDelete (autoDelete) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    autoDeletebool
    -

  • -
  • setError (error) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    errorint
    -

  • -
  • status () -
    -
    returns (int)

  • -
  • sync () -
    - -
    returns (bool)
    In versions KDE 3.3.0 and above only

  • -
  • textStream () -
    -
    returns (TQTextStream)

  • -
  • unlink () -
    -
    returns nothing

  • -
- - - diff --git a/python/pykde/doc/classref/kdecore/KTimezone.html b/python/pykde/doc/classref/kdecore/KTimezone.html deleted file mode 100644 index 14d23229..00000000 --- a/python/pykde/doc/classref/kdecore/KTimezone.html +++ /dev/null @@ -1,129 +0,0 @@ - - - - - class KTimezone - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KTimezone


-
- - - - - -
Table of contents
Modules
kdecore Classes
All Classes
-
- - - - - - - - - - -
Modulekdecore
ClassKTimezone
Inherits
-

methods

    -
  • KTimezone (db, name, countryCode = TQString (), latitude = KTimezone .UNKNOWN, longitude = KTimezone .UNKNOWN, comment = TQString ()) -
    - -
    returns a KTimezone instance
    In versions KDE 3.5.0 and above only
    - - - - - - -
    ArgumentTypeDefault
    dbKSharedPtr
    nameTQString
    countryCodeTQStringTQString ()
    latitudefloatKTimezone .UNKNOWN
    longitudefloatKTimezone .UNKNOWN
    commentTQStringTQString ()
    -

  • -
  • KTimezone (a0) -
    - -
    returns a KTimezone instance
    In versions KDE 3.5.0 and above only
    - -
    ArgumentTypeDefault
    a0KTimezone
    -

  • -
  • comment () -
    - -
    returns (TQString)
    In versions KDE 3.5.0 and above only

  • -
  • convert (newZone, dateTime) -
    - -
    returns (TQDateTime)
    In versions KDE 3.5.0 and above only
    - - -
    ArgumentTypeDefault
    newZoneKTimezone
    dateTimeTQDateTime
    -

  • -
  • countryCode () -
    - -
    returns (TQString)
    In versions KDE 3.5.0 and above only

  • -
  • isValidLatitude (latitude) -
    - - -
    returns (bool)
    In versions KDE 3.5.0 and above only
    static
    - -
    ArgumentTypeDefault
    latitudefloat
    -

  • -
  • isValidLongitude (longitude) -
    - - -
    returns (bool)
    In versions KDE 3.5.0 and above only
    static
    - -
    ArgumentTypeDefault
    longitudefloat
    -

  • -
  • latitude () -
    - -
    returns (float)
    In versions KDE 3.5.0 and above only

  • -
  • longitude () -
    - -
    returns (float)
    In versions KDE 3.5.0 and above only

  • -
  • name () -
    - -
    returns (TQString)
    In versions KDE 3.5.0 and above only

  • -
  • offset (basisSpec = Qt .UTC) -
    - -
    returns (int)
    In versions KDE 3.5.0 and above only
    - -
    ArgumentTypeDefault
    basisSpecQt.TimeSpecQt .UTC
    -

  • -
  • offset (dateTime) -
    - -
    returns (int)
    In versions KDE 3.5.0 and above only
    - -
    ArgumentTypeDefault
    dateTimeTQDateTime
    -

  • -
  • parse (dataReceiver) -
    - -
    returns (bool)
    In versions KDE 3.5.0 and above only
    - -
    ArgumentTypeDefault
    dataReceiverKTimezoneDetails
    -

  • -
-

variables

- - - diff --git a/python/pykde/doc/classref/kdecore/KTimezoneDetails.html b/python/pykde/doc/classref/kdecore/KTimezoneDetails.html deleted file mode 100644 index 3146a801..00000000 --- a/python/pykde/doc/classref/kdecore/KTimezoneDetails.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - class KTimezoneDetails - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KTimezoneDetails


-
- - - - - -
Table of contents
Modules
kdecore Classes
All Classes
-
- - - - - - - - - - -
Modulekdecore
ClassKTimezoneDetails
Inherits
-

methods

    -
  • KTimezoneDetails () -
    - -
    returns a KTimezoneDetails instance
    In versions KDE 3.5.0 and above only

  • -
  • gotAbbreviation (index, abbr) -
    - -
    returns nothing
    In versions KDE 3.5.0 and above only
    - - -
    ArgumentTypeDefault
    indexint
    abbrTQString
    -

  • -
  • gotHeader (ttIsGmtCnt, ttIsStdCnt, leapCnt, timeCnt, typeCnt, charCnt) -
    - -
    returns nothing
    In versions KDE 3.5.0 and above only
    - - - - - - -
    ArgumentTypeDefault
    ttIsGmtCntuint
    ttIsStdCntuint
    leapCntuint
    timeCntuint
    typeCntuint
    charCntuint
    -

  • -
  • gotIsStandard (index, isStandard) -
    - -
    returns nothing
    In versions KDE 3.5.0 and above only
    - - -
    ArgumentTypeDefault
    indexint
    isStandardbool
    -

  • -
  • gotIsUTC (index, isUTC) -
    - -
    returns nothing
    In versions KDE 3.5.0 and above only
    - - -
    ArgumentTypeDefault
    indexint
    isUTCbool
    -

  • -
  • gotLeapAdjustment (index, leapTime, leapSeconds) -
    - -
    returns nothing
    In versions KDE 3.5.0 and above only
    - - - -
    ArgumentTypeDefault
    indexint
    leapTimeuint
    leapSecondsuint
    -

  • -
  • gotLocalTime (index, gmtOff, isDst, abbrIndex) -
    - -
    returns nothing
    In versions KDE 3.5.0 and above only
    - - - - -
    ArgumentTypeDefault
    indexint
    gmtOffint
    isDstbool
    abbrIndexuint
    -

  • -
  • gotLocalTimeIndex (index, localTimeIndex) -
    - -
    returns nothing
    In versions KDE 3.5.0 and above only
    - - -
    ArgumentTypeDefault
    indexint
    localTimeIndexuint
    -

  • -
  • gotTransitionTime (index, transitionTime) -
    - -
    returns nothing
    In versions KDE 3.5.0 and above only
    - - -
    ArgumentTypeDefault
    indexint
    transitionTimeuint
    -

  • -
  • parseEnded () -
    - -
    returns nothing
    In versions KDE 3.5.0 and above only

  • -
  • parseStarted () -
    - -
    returns nothing
    In versions KDE 3.5.0 and above only

  • -
- - - diff --git a/python/pykde/doc/classref/kdecore/KTimezoneSource.html b/python/pykde/doc/classref/kdecore/KTimezoneSource.html deleted file mode 100644 index 348b6149..00000000 --- a/python/pykde/doc/classref/kdecore/KTimezoneSource.html +++ /dev/null @@ -1,60 +0,0 @@ - - - - - class KTimezoneSource - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KTimezoneSource


-
- - - - - -
Table of contents
Modules
kdecore Classes
All Classes
-
- - - - - - - - - - -
Modulekdecore
ClassKTimezoneSource
InheritsKShared
-

methods

    -
  • KTimezoneSource (db) -
    - -
    returns a KTimezoneSource instance
    In versions KDE 3.5.0 and above only
    - -
    ArgumentTypeDefault
    dbTQString
    -

  • -
  • db () -
    - -
    returns (TQString)
    In versions KDE 3.5.0 and above only

  • -
  • parse (zone, dataReceiver) -
    - -
    returns (bool)
    In versions KDE 3.5.0 and above only
    - - -
    ArgumentTypeDefault
    zoneTQString
    dataReceiverKTimezoneDetails
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kdecore/KTimezones.html b/python/pykde/doc/classref/kdecore/KTimezones.html deleted file mode 100644 index 00b3dae1..00000000 --- a/python/pykde/doc/classref/kdecore/KTimezones.html +++ /dev/null @@ -1,74 +0,0 @@ - - - - - class KTimezones - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KTimezones


-
- - - - - -
Table of contents
Modules
kdecore Classes
All Classes
-
- - - - - - - - - - -
Modulekdecore
ClassKTimezones
Inherits
-

methods

    -
  • KTimezones () -
    - -
    returns a KTimezones instance
    In versions KDE 3.5.0 and above only

  • -
  • KTimezones (a0) -
    - -
    returns a KTimezones instance
    In versions KDE 3.5.0 and above only
    - -
    ArgumentTypeDefault
    a0KTimezones
    -

  • -
  • add (zone) -
    - -
    returns nothing
    In versions KDE 3.5.0 and above only
    - -
    ArgumentTypeDefault
    zoneKTimezone
    -

  • -
  • allZones () -
    - -
    returns (KTimezones.ZoneMap)
    In versions KDE 3.5.0 and above only

  • -
  • local () -
    - -
    returns (KTimezone)
    In versions KDE 3.5.0 and above only

  • -
  • zone (name) -
    - -
    returns (KTimezone)
    In versions KDE 3.5.0 and above only
    - -
    ArgumentTypeDefault
    nameTQString
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kdecore/KURL.List.html b/python/pykde/doc/classref/kdecore/KURL.List.html deleted file mode 100644 index 3b525110..00000000 --- a/python/pykde/doc/classref/kdecore/KURL.List.html +++ /dev/null @@ -1,183 +0,0 @@ - - - - - class KURL.List - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KURL.List


-
- - - - - -
Table of contents
Modules
kdecore Classes
All Classes
-
- - - - - - - - - - -
Modulekdecore
ClassKURL.List
Inherits
-

methods

    -
  • List () -
    -
    returns a List instance

  • -
  • List (a0) -
    -
    returns a List instance
    - -
    ArgumentTypeDefault
    a0TQStringList
    -

  • -
  • __contains__ (a0) -
    -
    returns (bool),
    - -
    ArgumentTypeDefault
    a0KURL
    -

  • -
  • __delitem__ (index) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    indexint
    -

  • -
  • __delitem__ (range) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    rangea Python slice
    -

  • -
  • __len__ () -
    -
    returns (int),

  • -
  • __setitem__ (index, value) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    indexint
    valueKURL
    -

  • -
  • __setitem__ (range, urlList) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    rangea Python slice
    urlListKURL.List
    -

  • -
  • append (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0KURL
    -

  • -
  • clear () -
    -
    returns nothing

  • -
  • contains (a0) -
    -
    returns (uint)
    - -
    ArgumentTypeDefault
    a0KURL
    -

  • -
  • count () -
    -
    returns (uint)

  • -
  • findIndex (a0) -
    -
    returns (int)
    - -
    ArgumentTypeDefault
    a0KURL
    -

  • -
  • first () -
    -
    returns (KURL)

  • -
  • isEmpty () -
    -
    returns (bool)

  • -
  • last () -
    -
    returns (KURL)

  • -
  • prepend (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0KURL
    -

  • -
  • remove (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0KURL
    -

  • -
  • toStringList () -
    -
    returns (TQStringList)

  • -
-

operators

    -
  • operator != (a0) -
    -
    returns (bool)
    - -
    ArgumentTypeDefault
    a0KURL.List
    -

  • -
  • operator * (a0) -
    -
    returns (KURL.List)
    - -
    ArgumentTypeDefault
    a0int
    -

  • -
  • operator *= (val) -
    -
    returns (KURL.List),
    - -
    ArgumentTypeDefault
    valint
    -

  • -
  • operator + (listToAdd) -
    -
    returns (KURL.List),
    - -
    ArgumentTypeDefault
    listToAddKURL.List
    -

  • -
  • operator += (a0) -
    -
    returns (KURL.List)
    - -
    ArgumentTypeDefault
    a0KURL.List
    -

  • -
  • operator == (a0) -
    -
    returns (bool)
    - -
    ArgumentTypeDefault
    a0KURL.List
    -

  • -
  • operator [] (index) -
    -
    returns (KURL),
    - -
    ArgumentTypeDefault
    indexint
    -

  • -
  • operator [] (range) -
    -
    returns (KURL.List),
    - -
    ArgumentTypeDefault
    rangea Python slice
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kdecore/KURL.html b/python/pykde/doc/classref/kdecore/KURL.html deleted file mode 100644 index fd061051..00000000 --- a/python/pykde/doc/classref/kdecore/KURL.html +++ /dev/null @@ -1,562 +0,0 @@ - - - - - class KURL - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KURL


-
- - - - - -
Table of contents
Modules
kdecore Classes
All Classes
-
- - - - - - - - - - -
Modulekdecore
ClassKURL
Inherits
-

enums

    -
  • AdjustementFlags = {NoAdjustements, StripFileProtocol -}
  • QueryItemsOptions = {CaseInsensitiveKeys -}
  • URIMode = {Auto, Invalid, RawURI, URL, Mailto -}
-

methods

    -
  • KURL () -
    -
    returns a KURL instance

  • -
  • KURL (url, encoding_hint = 0) -
    -
    returns a KURL instance
    - - -
    ArgumentTypeDefault
    urlTQString
    encoding_hintint0
    -

  • -
  • KURL (url, encoding_hint = 0) -
    -
    returns a KURL instance
    - - -
    ArgumentTypeDefault
    urlchar
    encoding_hintint0
    -

  • -
  • KURL (url, encoding_hint = 0) -
    -
    returns a KURL instance
    - - -
    ArgumentTypeDefault
    urlTQCString
    encoding_hintint0
    -

  • -
  • KURL (u) -
    -
    returns a KURL instance
    - -
    ArgumentTypeDefault
    uKURL
    -

  • -
  • KURL (u) -
    -
    returns a KURL instance
    - -
    ArgumentTypeDefault
    uTQUrl
    -

  • -
  • KURL (_baseurl, _rel_url, encoding_hint = 0) -
    -
    returns a KURL instance
    - - - -
    ArgumentTypeDefault
    _baseurlKURL
    _rel_urlTQString
    encoding_hintint0
    -

  • -
  • addPath (txt) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    txtTQString
    -

  • -
  • addQueryItem (_item, _value, encoding_hint = 0) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - - - -
    ArgumentTypeDefault
    _itemTQString
    _valueTQString
    encoding_hintint0
    -

  • -
  • adjustPath (_trailing) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    _trailingint
    -

  • -
  • cd (_dir) -
    -
    returns (bool)
    - -
    ArgumentTypeDefault
    _dirTQString
    -

  • -
  • cleanPath (cleanDirSeparator = 0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    cleanDirSeparatorbool0
    -

  • -
  • cmp (u, ignore_trailing = 0) -
    -
    returns (bool)
    - - -
    ArgumentTypeDefault
    uKURL
    ignore_trailingbool0
    -

  • -
  • decode_string (str, encoding_hint = 0) -
    - -
    returns (TQString)
    static
    - - -
    ArgumentTypeDefault
    strTQString
    encoding_hintint0
    -

  • -
  • directory (_strip_trailing_slash_from_result = 1, _ignore_trailing_slash_in_path = 1) -
    -
    returns (TQString)
    - - -
    ArgumentTypeDefault
    _strip_trailing_slash_from_resultbool1
    _ignore_trailing_slash_in_pathbool1
    -

  • -
  • encode_string (str, encoding_hint = 0) -
    - -
    returns (TQString)
    static
    - - -
    ArgumentTypeDefault
    strTQString
    encoding_hintint0
    -

  • -
  • encode_string_no_slash (str, encoding_hint = 0) -
    - -
    returns (TQString)
    static
    - - -
    ArgumentTypeDefault
    strTQString
    encoding_hintint0
    -

  • -
  • encodedHtmlRef () -
    -
    returns (TQString)

  • -
  • encodedPathAndQuery (_trailing = 0, _no_empty_path = 0, encoding_hint = 0) -
    -
    returns (TQString)
    - - - -
    ArgumentTypeDefault
    _trailingint0
    _no_empty_pathbool0
    encoding_hintint0
    -

  • -
  • equals (u, ignore_trailing = 0) -
    - -
    returns (bool)
    In versions KDE 3.1.0 and above only
    - - -
    ArgumentTypeDefault
    uKURL
    ignore_trailingbool0
    -

  • -
  • fileEncoding () -
    -
    returns (TQString)

  • -
  • fileName (_ignore_trailing_slash_in_path = 1) -
    -
    returns (TQString)
    - -
    ArgumentTypeDefault
    _ignore_trailing_slash_in_pathbool1
    -

  • -
  • filename (_ignore_trailing_slash_in_path = 1) -
    -
    returns (TQString)
    - -
    ArgumentTypeDefault
    _ignore_trailing_slash_in_pathbool1
    -

  • -
  • fromPathOrURL (text) -
    - - -
    returns (KURL)
    In versions KDE 3.1.0 and above only
    static
    - -
    ArgumentTypeDefault
    textTQString
    -

  • -
  • hasHTMLRef () -
    -
    returns (bool)

  • -
  • hasHost () -
    -
    returns (bool)

  • -
  • hasPass () -
    -
    returns (bool)

  • -
  • hasPath () -
    -
    returns (bool)

  • -
  • hasRef () -
    -
    returns (bool)

  • -
  • hasSubURL () -
    -
    returns (bool)

  • -
  • hasUser () -
    -
    returns (bool)

  • -
  • host () -
    -
    returns (TQString)

  • -
  • htmlRef () -
    -
    returns (TQString)

  • -
  • htmlURL () -
    - -
    returns (TQString)
    In versions KDE 3.0.1 and above only

  • -
  • isEmpty () -
    -
    returns (bool)

  • -
  • isLocalFile () -
    -
    returns (bool)

  • -
  • isMalformed () -
    -
    returns (bool)

  • -
  • isParentOf (u) -
    -
    returns (bool)
    - -
    ArgumentTypeDefault
    uKURL
    -

  • -
  • isRelativeURL (_url) -
    - -
    returns (bool)
    static
    - -
    ArgumentTypeDefault
    _urlTQString
    -

  • -
  • isValid () -
    -
    returns (bool)

  • -
  • join (_list) -
    - -
    returns (KURL)
    static
    - -
    ArgumentTypeDefault
    _listKURL.List
    -

  • -
  • parse (_url, encoding_hint = 0) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    _urlTQString
    encoding_hintint0
    -

  • -
  • parseMailto (_url, encoding_hint = 0) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - - -
    ArgumentTypeDefault
    _urlTQString
    encoding_hintint0
    -

  • -
  • parseRawURI (_url, encoding_hint = 0) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - - -
    ArgumentTypeDefault
    _urlTQString
    encoding_hintint0
    -

  • -
  • parseURL (_url, encoding_hint = 0) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - - -
    ArgumentTypeDefault
    _urlTQString
    encoding_hintint0
    -

  • -
  • pass_ () -
    - -
    returns (TQString)
    Renamed: was ' pass -' in C++

  • -
  • path () -
    -
    returns (TQString)

  • -
  • path (_trailing) -
    -
    returns (TQString)
    - -
    ArgumentTypeDefault
    _trailingint
    -

  • -
  • pathOrURL () -
    - -
    returns (TQString)
    In versions KDE 3.4.0 and above only

  • -
  • port () -
    -
    returns (ushort)

  • -
  • prettyURL (_trailing = 0) -
    -
    returns (TQString)
    - -
    ArgumentTypeDefault
    _trailingint0
    -

  • -
  • prettyURL (_trailing, _flags) -
    -
    returns (TQString)
    - - -
    ArgumentTypeDefault
    _trailingint
    _flagsKURL.AdjustementFlags
    -

  • -
  • protocol () -
    -
    returns (TQString)

  • -
  • query () -
    -
    returns (TQString)

  • -
  • queryItem (item) -
    -
    returns (TQString)
    - -
    ArgumentTypeDefault
    itemTQString
    -

  • -
  • queryItem (item, encoding_hint) -
    - -
    returns (TQString)
    In versions KDE 3.2.0 and above only
    - - -
    ArgumentTypeDefault
    itemTQString
    encoding_hintint
    -

  • -
  • queryItems (options = 0) -
    - -
    returns (TQMap)
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    optionsint0
    -

  • -
  • queryItems (options, encoding_hint) -
    - -
    returns (TQMap)
    In versions KDE 3.2.0 and above only
    - - -
    ArgumentTypeDefault
    optionsint
    encoding_hintint
    -

  • -
  • ref () -
    -
    returns (TQString)

  • -
  • relativePath (base_dir, path) -
    - - -
    returns (TQString) isParent (bool)
    In versions KDE 3.2.0 and above only
    static
    - - -
    ArgumentTypeDefault
    base_dirTQString
    pathTQString
    -

  • -
  • relativeURL (base_url, url, encoding_hint = 0) -
    - - -
    returns (TQString)
    In versions KDE 3.2.0 and above only
    static
    - - - -
    ArgumentTypeDefault
    base_urlKURL
    urlKURL
    encoding_hintint0
    -

  • -
  • removeQueryItem (_item) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    _itemTQString
    -

  • -
  • reset () -
    -
    returns nothing

  • -
  • setDirectory (dir) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    dirTQString
    -

  • -
  • setEncodedPath (_txt, encoding_hint = 0) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    _txtTQString
    encoding_hintint0
    -

  • -
  • setEncodedPathAndQuery (_txt, encoding_hint = 0) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    _txtTQString
    encoding_hintint0
    -

  • -
  • setFileEncoding (encoding) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    encodingTQString
    -

  • -
  • setFileName (_txt) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    _txtTQString
    -

  • -
  • setHTMLRef (_ref) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    _refTQString
    -

  • -
  • setHost (_txt) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    _txtTQString
    -

  • -
  • setPass (_txt) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    _txtTQString
    -

  • -
  • setPath (path) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    pathTQString
    -

  • -
  • setPort (_p) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    _pushort
    -

  • -
  • setProtocol (_txt) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    _txtTQString
    -

  • -
  • setQuery (_txt, encoding_hint = 0) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    _txtTQString
    encoding_hintint0
    -

  • -
  • setRef (_txt) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    _txtTQString
    -

  • -
  • setUser (_txt) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    _txtTQString
    -

  • -
  • split (_url) -
    - -
    returns (KURL.List)
    static
    - -
    ArgumentTypeDefault
    _urlTQString
    -

  • -
  • split (_url) -
    - -
    returns (KURL.List)
    static
    - -
    ArgumentTypeDefault
    _urlKURL
    -

  • -
  • upURL () -
    -
    returns (KURL)

  • -
  • uriMode () -
    - -
    returns (int)
    In versions KDE 3.2.0 and above only

  • -
  • uriModeForProtocol (protocol) -
    - - -
    returns (KURL.URIMode)
    In versions KDE 3.2.0 and above only
    static
    - -
    ArgumentTypeDefault
    protocolTQString
    -

  • -
  • url (_trailing = 0, encoding_hint = 0) -
    -
    returns (TQString)
    - - -
    ArgumentTypeDefault
    _trailingint0
    encoding_hintint0
    -

  • -
  • user () -
    -
    returns (TQString)

  • -
-

operators

    -
  • operator != (a0) -
    - -
    returns (bool)
    In versions KDE 3.1.4 and above only
    - -
    ArgumentTypeDefault
    a0KURL
    -

  • -
  • operator != (a0) -
    - -
    returns (bool)
    In versions KDE 3.1.4 and above only
    - -
    ArgumentTypeDefault
    a0TQString
    -

  • -
  • operator < (a0) -
    - -
    returns (bool)
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    a0KURL
    -

  • -
  • operator == (a0) -
    - -
    returns (bool)
    In versions KDE 3.1.4 and above only
    - -
    ArgumentTypeDefault
    a0KURL
    -

  • -
  • operator == (a0) -
    - -
    returns (bool)
    In versions KDE 3.1.4 and above only
    - -
    ArgumentTypeDefault
    a0TQString
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kdecore/KURLDrag.html b/python/pykde/doc/classref/kdecore/KURLDrag.html deleted file mode 100644 index c96be1ab..00000000 --- a/python/pykde/doc/classref/kdecore/KURLDrag.html +++ /dev/null @@ -1,165 +0,0 @@ - - - - - class KURLDrag - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KURLDrag


-
- - - - - -
Table of contents
Modules
kdecore Classes
All Classes
-
- - - - - - - - - - -
Modulekdecore
ClassKURLDrag
InheritsTQUriDrag
-

methods

    -
  • KURLDrag (urls, dragSource, name) -
    - -
    returns a KURLDrag instance
    In versions KDE 3.1.4 and above only
    - - - -
    ArgumentTypeDefault
    urlsKURL.List
    dragSourceTQWidget
    namechar
    -

  • -
  • KURLDrag (urls, metaData, dragSource, name) -
    - -
    returns a KURLDrag instance
    In versions KDE 3.1.4 and above only
    - - - - -
    ArgumentTypeDefault
    urlsKURL.List
    metaDataTQMap
    dragSourceTQWidget
    namechar
    -

  • -
  • KURLDrag (urls, metaData, dragSource, name) -
    - -
    returns a KURLDrag instance
    In versions KDE 3.1.4 and above only
    - - - - -
    ArgumentTypeDefault
    urlsTQStrList
    metaDataTQMap
    dragSourceTQWidget
    namechar
    -

  • -
  • decode (e, urls) -
    - - -
    returns (bool)
    In versions KDE 3.1.4 and above only
    static
    - - -
    ArgumentTypeDefault
    eTQMimeSource
    urlsKURL.List
    -

  • -
  • decode (e, urls, metaData) -
    - - -
    returns (bool)
    In versions KDE 3.1.4 and above only
    static
    - - - -
    ArgumentTypeDefault
    eTQMimeSource
    urlsKURL.List
    metaDataTQMap
    -

  • -
  • encodedData (mime) -
    - -
    returns (TQByteArray)
    In versions KDE 3.5.0 and above only
    - -
    ArgumentTypeDefault
    mimechar
    -

  • -
  • encodedData (a0) -
    - -
    returns (TQByteArray)
    In versions less than KDE 3.5.0 only
    - -
    ArgumentTypeDefault
    a0char
    -

  • -
  • format (i) -
    - -
    returns (char)
    In versions KDE 3.5.0 and above only
    - -
    ArgumentTypeDefault
    iint
    -

  • -
  • format (a0) -
    - -
    returns (char)
    In versions less than KDE 3.5.0 only
    - -
    ArgumentTypeDefault
    a0int
    -

  • -
  • metaData () -
    - -
    returns (TQMap)
    In versions KDE 3.1.4 and above only

  • -
  • newDrag (urls, dragSource = 0, name = 0) -
    - - -
    returns (KURLDrag)
    In versions KDE 3.1.4 and above only
    static
    - - - -
    ArgumentTypeDefault
    urlsKURL.List
    dragSourceTQWidget0
    namechar0
    -

  • -
  • newDrag (urls, metaData, dragSource = 0, name = 0) -
    - - -
    returns (KURLDrag)
    In versions KDE 3.1.4 and above only
    static
    - - - - -
    ArgumentTypeDefault
    urlsKURL.List
    metaDataTQMap
    dragSourceTQWidget0
    namechar0
    -

  • -
  • setExportAsText (exp) -
    - -
    returns nothing
    In versions KDE 3.4.0 and above only
    - -
    ArgumentTypeDefault
    expbool
    -

  • -
  • stringToUrl (s) -
    - - -
    returns (KURL)
    In versions KDE 3.2.0 and above only
    static
    - -
    ArgumentTypeDefault
    sTQCString
    -

  • -
  • urlToString (url) -
    - - -
    returns (TQString)
    In versions KDE 3.2.0 and above only
    static
    - -
    ArgumentTypeDefault
    urlKURL
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kdecore/KUniqueApplication.html b/python/pykde/doc/classref/kdecore/KUniqueApplication.html deleted file mode 100644 index 99b2094b..00000000 --- a/python/pykde/doc/classref/kdecore/KUniqueApplication.html +++ /dev/null @@ -1,101 +0,0 @@ - - - - - class KUniqueApplication - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KUniqueApplication


-
- - - - - -
Table of contents
Modules
kdecore Classes
All Classes
-
- - - - - - - - - - -
Modulekdecore
ClassKUniqueApplication
InheritsKApplication, DCOPObject
-

methods

    -
  • KUniqueApplication (allowStyles, GUIenabled, configUnique) -
    -
    returns a KUniqueApplication instance
    - - - -
    ArgumentTypeDefault
    allowStylesbool
    GUIenabledbool
    configUniquebool
    -

  • -
  • KUniqueApplication (display, visual = 0, colormap = 0, allowStyles = 1, configUnique = 0) -
    Not Implemented
    -

  • -
  • KUniqueApplication (a0 = 1, a1 = 1) -
    - -
    returns a KUniqueApplication instance
    In versions less than KDE 3.3.0 only
    - - -
    ArgumentTypeDefault
    a0bool1
    a1bool1
    -

  • -
  • addCmdLineOptions () -
    - -
    returns nothing
    static

  • -
  • dcopClient () -
    - -
    returns (DCOPClient)
    In versions less than KDE 3.3.0 only

  • -
  • newInstance () -
    -
    returns (int)

  • -
  • process (fun, data, replyType, replyData) -
    -
    returns (bool)
    - - - - -
    ArgumentTypeDefault
    funTQCString
    dataTQByteArray
    replyTypeTQCString
    replyDataTQByteArray
    -

  • -
  • restoringSession () -
    - -
    returns (bool)
    In versions KDE 3.3.0 and above only

  • -
  • setHandleAutoStarted () -
    - - -
    returns nothing
    In versions KDE 3.3.0 and above only
    static

  • -
  • start () -
    - -
    returns (bool)
    static

  • -
  • virtual_hook (id, data) -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only
    - - -
    ArgumentTypeDefault
    idint
    datavoid
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kdecore/KWin.Info.html b/python/pykde/doc/classref/kdecore/KWin.Info.html deleted file mode 100644 index 1448648e..00000000 --- a/python/pykde/doc/classref/kdecore/KWin.Info.html +++ /dev/null @@ -1,66 +0,0 @@ - - - - - class KWin.Info - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KWin.Info


-
- - - - - -
Table of contents
Modules
kdecore Classes
All Classes
-
- - - - - - - - - - -
Modulekdecore
ClassKWin.Info
Inherits
-

methods

    -
  • isIconified () -
    -
    returns (bool)

  • -
  • isMinimized () -
    - -
    returns (bool)
    In versions KDE 3.2.0 and above only

  • -
  • visibleNameWithState () -
    -
    returns (TQString)

  • -
-

variables

  • -variables - - - - - - - - - - - - -
    VariableType
    desktopint
    frameGeometryTQRect
    geometryTQRect
    mappingStateNET::MappingState
    nameTQString
    onAllDesktopsbool
    pidpid_t
    stateulong
    strutNETStrut
    visibleNameTQString
    winWId
    windowTypeNET::WindowType
- - - diff --git a/python/pykde/doc/classref/kdecore/KWin.WindowInfo.html b/python/pykde/doc/classref/kdecore/KWin.WindowInfo.html deleted file mode 100644 index d3bead16..00000000 --- a/python/pykde/doc/classref/kdecore/KWin.WindowInfo.html +++ /dev/null @@ -1,172 +0,0 @@ - - - - - class KWin.WindowInfo - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KWin.WindowInfo


-
- - - - - -
Table of contents
Modules
kdecore Classes
All Classes
-
- - - - - - - - - - -
Modulekdecore
ClassKWin.WindowInfo
Inherits
-

methods

    -
  • WindowInfo (window, properties, properties2) -
    - -
    returns a WindowInfo instance
    In versions KDE 3.2.0 and above only
    - - - -
    ArgumentTypeDefault
    windowWId
    propertiesulong
    properties2ulong
    -

  • -
  • WindowInfo () -
    - -
    returns a WindowInfo instance
    In versions KDE 3.2.0 and above only

  • -
  • WindowInfo (a0) -
    - -
    returns a WindowInfo instance
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    a0KWin.WindowInfo
    -

  • -
  • actionSupported (action) -
    - -
    returns (bool)
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    actionNET.Action
    -

  • -
  • desktop () -
    - -
    returns (int)
    In versions KDE 3.2.0 and above only

  • -
  • extendedStrut () -
    - -
    returns (NETExtendedStrut)
    In versions KDE 3.3.0 and above only

  • -
  • frameGeometry () -
    - -
    returns (TQRect)
    In versions KDE 3.2.0 and above only

  • -
  • geometry () -
    - -
    returns (TQRect)
    In versions KDE 3.2.0 and above only

  • -
  • groupLeader () -
    - -
    returns (WId)
    In versions KDE 3.2.0 and above only

  • -
  • hasState (s) -
    - -
    returns (bool)
    In versions KDE 3.2.1 and above only
    - -
    ArgumentTypeDefault
    sulong
    -

  • -
  • iconName () -
    - -
    returns (TQString)
    In versions KDE 3.2.0 and above only

  • -
  • isMinimized () -
    - -
    returns (bool)
    In versions KDE 3.2.0 and above only

  • -
  • isOnCurrentDesktop () -
    - -
    returns (bool)
    In versions KDE 3.2.0 and above only

  • -
  • isOnDesktop (desktop) -
    - -
    returns (bool)
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    desktopint
    -

  • -
  • mappingState () -
    - -
    returns (NET.MappingState)
    In versions KDE 3.2.0 and above only

  • -
  • name () -
    - -
    returns (TQString)
    In versions KDE 3.2.0 and above only

  • -
  • onAllDesktops () -
    - -
    returns (bool)
    In versions KDE 3.2.0 and above only

  • -
  • state () -
    - -
    returns (ulong)
    In versions KDE 3.2.0 and above only

  • -
  • strut () -
    - -
    returns (NETStrut)
    In versions KDE 3.2.0 and above only

  • -
  • transientFor () -
    - -
    returns (WId)
    In versions KDE 3.2.0 and above only

  • -
  • valid (withdrawn_is_valid = 0) -
    - -
    returns (bool)
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    withdrawn_is_validbool0
    -

  • -
  • visibleIconName () -
    - -
    returns (TQString)
    In versions KDE 3.2.0 and above only

  • -
  • visibleIconNameWithState () -
    - -
    returns (TQString)
    In versions KDE 3.2.0 and above only

  • -
  • visibleName () -
    - -
    returns (TQString)
    In versions KDE 3.2.0 and above only

  • -
  • visibleNameWithState () -
    - -
    returns (TQString)
    In versions KDE 3.2.0 and above only

  • -
  • win () -
    - -
    returns (WId)
    In versions KDE 3.2.0 and above only

  • -
  • windowType (supported_types) -
    - -
    returns (NET.WindowType)
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    supported_typesint
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kdecore/KWin.html b/python/pykde/doc/classref/kdecore/KWin.html deleted file mode 100644 index edca886f..00000000 --- a/python/pykde/doc/classref/kdecore/KWin.html +++ /dev/null @@ -1,304 +0,0 @@ - - - - - class KWin - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KWin


-
- - - - - -
Table of contents
Modules
kdecore Classes
All Classes
-
- - - - - - - - - - -
Modulekdecore
ClassKWin
Inherits
-

enums

    -
  • IconSource = {NETWM = 1, WMHints = 2, ClassHint = 4, XApp = 8 -}
-

methods

    -
  • activateWindow (win, time = 0) -
    - - -
    returns nothing
    In versions KDE 3.2.0 and above only
    static
    - - -
    ArgumentTypeDefault
    winWId
    timelong0
    -

  • -
  • allowedActionsSupported () -
    - - -
    returns (bool)
    In versions KDE 3.2.0 and above only
    static

  • -
  • appStarted () -
    - -
    returns nothing
    static

  • -
  • clearState (win, state) -
    - -
    returns nothing
    static
    - - -
    ArgumentTypeDefault
    winWId
    stateulong
    -

  • -
  • currentDesktop () -
    - -
    returns (int)
    static

  • -
  • deIconifyWindow (win, animation = 1) -
    - -
    returns nothing
    static
    - - -
    ArgumentTypeDefault
    winWId
    animationbool1
    -

  • -
  • demandAttention (win, set = 1) -
    - - -
    returns nothing
    In versions KDE 3.2.0 and above only
    static
    - - -
    ArgumentTypeDefault
    winWId
    setbool1
    -

  • -
  • forceActiveWindow (win, time = 0) -
    - - -
    returns nothing
    In versions KDE 3.2.0 and above only
    static
    - - -
    ArgumentTypeDefault
    winWId
    timelong0
    -

  • -
  • groupLeader (window) -
    - - -
    returns (WId)
    In versions KDE 3.2.0 and above only
    static
    - -
    ArgumentTypeDefault
    windowWId
    -

  • -
  • icccmCompliantMappingState () -
    - - -
    returns (bool)
    In versions KDE 3.2.0 and above only
    static

  • -
  • icon (win, width = -1, height = -1, scale = 0) -
    - -
    returns (TQPixmap)
    static
    - - - - -
    ArgumentTypeDefault
    winWId
    widthint-1
    heightint-1
    scalebool0
    -

  • -
  • icon (win, width, height, scale, flags) -
    - - -
    returns (TQPixmap)
    In versions KDE 3.2.0 and above only
    static
    - - - - - -
    ArgumentTypeDefault
    winWId
    widthint
    heightint
    scalebool
    flagsint
    -

  • -
  • iconifyWindow (win, animation = 1) -
    - -
    returns nothing
    static
    - - -
    ArgumentTypeDefault
    winWId
    animationbool1
    -

  • -
  • info (win) -
    - -
    returns (KWin.Info)
    static
    - -
    ArgumentTypeDefault
    winWId
    -

  • -
  • invokeContextHelp () -
    - -
    returns nothing
    static

  • -
  • lowerWindow (win) -
    - - -
    returns nothing
    In versions KDE 3.2.0 and above only
    static
    - -
    ArgumentTypeDefault
    winWId
    -

  • -
  • numberOfDesktops () -
    - -
    returns (int)
    static

  • -
  • raiseWindow (win) -
    - - -
    returns nothing
    In versions KDE 3.2.0 and above only
    static
    - -
    ArgumentTypeDefault
    winWId
    -

  • -
  • readNameProperty (window, atom) -
    - - -
    returns (TQString)
    In versions KDE 3.2.0 and above only
    static
    - - -
    ArgumentTypeDefault
    windowWId
    atomulong
    -

  • -
  • setActiveWindow (win) -
    - -
    returns nothing
    static
    - -
    ArgumentTypeDefault
    winWId
    -

  • -
  • setCurrentDesktop (desktop) -
    - -
    returns nothing
    static
    - -
    ArgumentTypeDefault
    desktopint
    -

  • -
  • setExtendedStrut (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) -
    - - -
    returns nothing
    In versions KDE 3.3.0 and above only
    static
    - - - - - - - - - - - - - -
    ArgumentTypeDefault
    winWId
    left_widthint
    left_startint
    left_endint
    right_widthint
    right_startint
    right_endint
    top_widthint
    top_startint
    top_endint
    bottom_widthint
    bottom_startint
    bottom_endint
    -

  • -
  • setIcons (win, icon, miniIcon) -
    - -
    returns nothing
    static
    - - - -
    ArgumentTypeDefault
    winWId
    iconTQPixmap
    miniIconTQPixmap
    -

  • -
  • setOnAllDesktops (win, b) -
    - -
    returns nothing
    static
    - - -
    ArgumentTypeDefault
    winWId
    bbool
    -

  • -
  • setOnDesktop (win, desktop) -
    - -
    returns nothing
    static
    - - -
    ArgumentTypeDefault
    winWId
    desktopint
    -

  • -
  • setState (win, state) -
    - -
    returns nothing
    static
    - - -
    ArgumentTypeDefault
    winWId
    stateulong
    -

  • -
  • setStrut (win, left, right, top, bottom) -
    - -
    returns nothing
    static
    - - - - - -
    ArgumentTypeDefault
    winWId
    leftint
    rightint
    topint
    bottomint
    -

  • -
  • setSystemTrayWindowFor (trayWin, forWin) -
    - -
    returns nothing
    static
    - - -
    ArgumentTypeDefault
    trayWinWId
    forWinWId
    -

  • -
  • setType (win, windowType) -
    - -
    returns nothing
    static
    - - -
    ArgumentTypeDefault
    winWId
    windowTypeNET.WindowType
    -

  • -
  • setUserTime (win, time) -
    - - -
    returns nothing
    In versions KDE 3.2.0 and above only
    static
    - - -
    ArgumentTypeDefault
    winWId
    timelong
    -

  • -
  • transientFor (window) -
    - - -
    returns (WId)
    In versions KDE 3.2.0 and above only
    static
    - -
    ArgumentTypeDefault
    windowWId
    -

  • -
  • windowInfo (win, properties = 0, properties2 = 0) -
    - - -
    returns (KWin.WindowInfo)
    In versions KDE 3.2.0 and above only
    static
    - - - -
    ArgumentTypeDefault
    winWId
    propertiesulong0
    properties2ulong0
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kdecore/KWinModule.html b/python/pykde/doc/classref/kdecore/KWinModule.html deleted file mode 100644 index 944b174b..00000000 --- a/python/pykde/doc/classref/kdecore/KWinModule.html +++ /dev/null @@ -1,191 +0,0 @@ - - - - - class KWinModule - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KWinModule


-
- - - - - -
Table of contents
Modules
kdecore Classes
All Classes
-
- - - - - - - - - - -
Modulekdecore
ClassKWinModule
InheritsTQObject
-

enums

    -
  • (anonymous) = {INFO_DESKTOP = 1, INFO_WINDOWS = 2, INFO_ALL = 32767 -}
-

methods

    -
  • KWinModule (parent, what) -
    - -
    returns a KWinModule instance
    In versions KDE 3.2.0 and above only
    - - -
    ArgumentTypeDefault
    parentTQObject
    whatint
    -

  • -
  • KWinModule (parent = 0) -
    -
    returns a KWinModule instance
    - -
    ArgumentTypeDefault
    parentTQObject0
    -

  • -
  • activeWindow () -
    -
    returns (WId)

  • -
  • activeWindowChanged (id) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    idWId
    -

  • -
  • connectNotify (signal) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    signalchar
    -

  • -
  • currentDesktop () -
    -
    returns (int)

  • -
  • currentDesktopChanged (desktop) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    desktopint
    -

  • -
  • desktopName (desktop) -
    -
    returns (TQString)
    - -
    ArgumentTypeDefault
    desktopint
    -

  • -
  • desktopNamesChanged () -
    -
    returns nothing

  • -
  • doNotManage (title) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    titleTQString
    -

  • -
  • hasWId (id) -
    -
    returns (bool)
    - -
    ArgumentTypeDefault
    idWId
    -

  • -
  • numberOfDesktops () -
    -
    returns (int)

  • -
  • numberOfDesktopsChanged (num) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    numint
    -

  • -
  • setDesktopName (desktop, name) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    desktopint
    nameTQString
    -

  • -
  • stackingOrder () -
    -
    returns (TQValueList)

  • -
  • stackingOrderChanged () -
    -
    returns nothing

  • -
  • strutChanged () -
    -
    returns nothing

  • -
  • systemTrayWindowAdded (id) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    idWId
    -

  • -
  • systemTrayWindowRemoved (id) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    idWId
    -

  • -
  • systemTrayWindows () -
    -
    returns (TQValueList)

  • -
  • windowAdded (id) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    idWId
    -

  • -
  • windowChanged (id) -
    Not Implemented
    -

  • -
  • windowChanged (id, properties) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    idWId
    propertiesuint
    -

  • -
  • windowChanged (id) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    idWId
    -

  • -
  • windowRemoved (id) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    idWId
    -

  • -
  • windows () -
    -
    returns (TQValueList)

  • -
  • workArea (desktop = -1) -
    -
    returns (TQRect)
    - -
    ArgumentTypeDefault
    desktopint-1
    -

  • -
  • workArea (excludes, desktop = -1) -
    -
    returns (TQRect)
    - - -
    ArgumentTypeDefault
    excludesTQValueList
    desktopint-1
    -

  • -
  • workAreaChanged () -
    -
    returns nothing

  • -
- - - diff --git a/python/pykde/doc/classref/kdecore/KWordMacroExpander.html b/python/pykde/doc/classref/kdecore/KWordMacroExpander.html deleted file mode 100644 index b170b2b6..00000000 --- a/python/pykde/doc/classref/kdecore/KWordMacroExpander.html +++ /dev/null @@ -1,75 +0,0 @@ - - - - - class KWordMacroExpander - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KWordMacroExpander


-
- - - - - -
Table of contents
Modules
kdecore Classes
All Classes
-
- - - - - - - - - - -
Modulekdecore
ClassKWordMacroExpander (abstract)
InheritsKMacroExpanderBase
-

methods

    -
  • KWordMacroExpander (c = '%') -
    - -
    returns a KWordMacroExpander instance
    In versions KDE 3.3.0 and above only
    - -
    ArgumentTypeDefault
    cTQChar'%'
    -

  • -
  • expandEscapedMacro (str, pos, ret) -
    - -
    returns (int)
    In versions KDE 3.3.0 and above only
    - - - -
    ArgumentTypeDefault
    strTQString
    posuint
    retTQStringList
    -

  • -
  • expandMacro (str, ret) = 0 -
    - - -
    returns (bool)
    In versions KDE 3.3.0 and above only
    pure virtual
    - - -
    ArgumentTypeDefault
    strTQString
    retTQStringList
    -

  • -
  • expandPlainMacro (str, pos, ret) -
    - -
    returns (int)
    In versions KDE 3.3.0 and above only
    - - - -
    ArgumentTypeDefault
    strTQString
    posuint
    retTQStringList
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kdecore/KZoneAllocator.html b/python/pykde/doc/classref/kdecore/KZoneAllocator.html deleted file mode 100644 index 0d3d6d9d..00000000 --- a/python/pykde/doc/classref/kdecore/KZoneAllocator.html +++ /dev/null @@ -1,77 +0,0 @@ - - - - - class KZoneAllocator - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KZoneAllocator


-
- - - - - -
Table of contents
Modules
kdecore Classes
All Classes
-
- - - - - - - - - - -
Modulekdecore
ClassKZoneAllocator
Inherits
-

methods

    -
  • KZoneAllocator (_blockSize = 131072) -
    -
    returns a KZoneAllocator instance
    - -
    ArgumentTypeDefault
    _blockSizelong131072
    -

  • -
  • addBlock (b) -
    Not Implemented
    -

  • -
  • allocate (_size) -
    -
    returns (void)
    - -
    ArgumentTypeDefault
    _sizesize_t
    -

  • -
  • deallocate (ptr) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    ptrvoid
    -

  • -
  • delBlock (b) -
    Not Implemented
    -

  • -
  • free_since (ptr) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    ptrvoid
    -

  • -
  • initHash () -
    -
    returns nothing

  • -
  • insertHash (b) -
    Not Implemented
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kdecore/NET.html b/python/pykde/doc/classref/kdecore/NET.html deleted file mode 100644 index 3c45bd3a..00000000 --- a/python/pykde/doc/classref/kdecore/NET.html +++ /dev/null @@ -1,92 +0,0 @@ - - - - - class NET - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class NET


-
- - - - - -
Table of contents
Modules
kdecore Classes
All Classes
-
- - - - - - - - - - -
Modulekdecore
ClassNET
Inherits
-

enums

    -
  • (anonymous) = {AllTypesMask -}
  • (anonymous) = {OnAllDesktops -}
  • (anonymous) = {AllTypesMask -}
  • Action = {ActionMove, ActionResize, ActionMinimize, ActionShade, ActionStick, ActionMaxVert, ActionMaxHoriz, ActionMax, ActionFullScreen, ActionChangeDesktop, ActionClose -}
  • Direction = {TopLeft, Top, TopRight, Right, BottomRight, Bottom, BottomLeft, Left, Move, KeyboardSize, KeyboardMove, MoveResizeCancel -}
  • Direction = {TopLeft, Top, TopRight, Right, BottomRight, Bottom, BottomLeft, Left, Move, KeyboardSize, KeyboardMove -}
  • Direction = {TopLeft, Top, TopRight, Right, BottomRight, Bottom, BottomLeft, Left, Move -}
  • MappingState = {Visible, Withdrawn, Iconic -}
  • Property = {Supported, ClientList, ClientListStacking, NumberOfDesktops, DesktopGeometry, DesktopViewport, CurrentDesktop, DesktopNames, ActiveWindow, WorkArea, SupportingWMCheck, VirtualRoots, KDESystemTrayWindows, CloseWindow, WMMoveResize, WMName, WMVisibleName, WMDesktop, WMWindowType, WMState, WMStrut, WMIconGeometry, WMIcon, WMPid, WMHandledIcons, WMPing, WMKDESystemTrayWinFor, XAWMState, WMFrameExtents, WMKDEFrameStrut, WMIconName, WMVisibleIconName, WMGeometry -}
  • Property = {Supported, ClientList, ClientListStacking, NumberOfDesktops, DesktopGeometry, DesktopViewport, CurrentDesktop, DesktopNames, ActiveWindow, WorkArea, SupportingWMCheck, VirtualRoots, KDESystemTrayWindows, CloseWindow, WMMoveResize, WMName, WMVisibleName, WMDesktop, WMWindowType, WMState, WMStrut, WMIconGeometry, WMIcon, WMPid, WMHandledIcons, WMPing, WMKDESystemTrayWinFor, XAWMState, WMKDEFrameStrut, WMIconName, WMVisibleIconName, WMGeometry -}
  • Property2 = {WM2UserTime = 1, WM2StartupId = 2, WM2TransientFor = 4, WM2GroupLeader = 8, WM2AllowedActions = 16, WM2RestackWindow = 32, WM2MoveResizeWindow = 64, WM2ExtendedStrut = 128, WM2TakeActivity = 256, WM2KDETemporaryRules = 512, WM2WindowClass = 1024, WM2WindowRole = 2048, WM2ClientMachine = 4096, WM2ShowingDesktop = 8192 -}
  • Property2 = {WM2UserTime, WM2StartupId, WM2TransientFor, WM2GroupLeader, WM2AllowedActions, WM2RestackWindow, WM2MoveResizeWindow, WM2ExtendedStrut, WM2TakeActivity, WM2KDETemporaryRules, WM2WindowClass, WM2WindowRole, WM2ClientMachine -}
  • Property2 = {WM2UserTime, WM2StartupId, WM2TransientFor, WM2GroupLeader, WM2AllowedActions, WM2RestackWindow, WM2MoveResizeWindow, WM2ExtendedStrut, WM2TakeActivity, WM2KDETemporaryRules -}
  • Property2 = {WM2UserTime, WM2StartupId, WM2TransientFor, WM2GroupLeader, WM2AllowedActions, WM2RestackWindow, WM2MoveResizeWindow -}
  • RequestSource = {FromUnknown, FromApplication, FromTool -}
  • Role = {Client, WindowManager -}
  • State = {Modal, Sticky, MaxVert, MaxHoriz, Max, Shaded, SkipTaskbar, KeepAbove, StaysOnTop, SkipPager, Hidden, FullScreen, KeepBelow, DemandsAttention -}
  • State = {Modal, Sticky, MaxVert, MaxHoriz, Max, Shaded, SkipTaskbar, StaysOnTop, SkipPager -}
  • WindowType = {Unknown, Normal, Desktop, Dock, Toolbar, Menu, Dialog, Override, TopMenu, Tool, Utility, Splash -}
  • WindowType = {Unknown, Normal, Desktop, Dock, Toolbar, Menu, Dialog, Override, TopMenu, Tool -}
  • WindowType = {Unknown, Normal, Desktop, Dock, Tool, Menu, Dialog, Override, Toolbar -}
  • WindowTypeMask = {NormalMask, DesktopMask, DockMask, ToolbarMask, MenuMask, DialogMask, OverrideMask, TopMenuMask, UtilityMask, SplashMask -}
-

methods

    -
  • timestampCompare (time1, time2) -
    - - -
    returns (int)
    In versions KDE 3.5.3 and above only
    static
    - - -
    ArgumentTypeDefault
    time1ulong
    time2ulong
    -

  • -
  • timestampDiff (time1_, time2_) -
    - - -
    returns (int)
    In versions KDE 3.5.3 and above only
    static
    - - -
    ArgumentTypeDefault
    time1_ulong
    time2_ulong
    -

  • -
  • typeMatchesMask (type, mask) -
    - - -
    returns (bool)
    In versions KDE 3.3.0 and above only
    static
    - - -
    ArgumentTypeDefault
    typeNET.WindowType
    maskulong
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kdecore/NETExtendedStrut.html b/python/pykde/doc/classref/kdecore/NETExtendedStrut.html deleted file mode 100644 index d02a704f..00000000 --- a/python/pykde/doc/classref/kdecore/NETExtendedStrut.html +++ /dev/null @@ -1,60 +0,0 @@ - - - - - class NETExtendedStrut - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class NETExtendedStrut


-
- - - - - -
Table of contents
Modules
kdecore Classes
All Classes
-
- - - - - - - - - - -
Modulekdecore
ClassNETExtendedStrut
Inherits
-

methods

    -
  • NETExtendedStrut () -
    - -
    returns a NETExtendedStrut instance
    In versions KDE 3.3.0 and above only

  • -
-

variables

  • -variables - - - - - - - - - - - - -
    VariableType
    bottom_endint
    bottom_startint
    bottom_widthint
    left_endint
    left_startint
    left_widthint
    right_endint
    right_startint
    right_widthint
    top_endint
    top_startint
    top_widthint
- - - diff --git a/python/pykde/doc/classref/kdecore/NETIcon.html b/python/pykde/doc/classref/kdecore/NETIcon.html deleted file mode 100644 index b4a5f0db..00000000 --- a/python/pykde/doc/classref/kdecore/NETIcon.html +++ /dev/null @@ -1,49 +0,0 @@ - - - - - class NETIcon - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class NETIcon


-
- - - - - -
Table of contents
Modules
kdecore Classes
All Classes
-
- - - - - - - - - - -
Modulekdecore
ClassNETIcon
Inherits
-

methods

    -
  • NETIcon () -
    -
    returns a NETIcon instance

  • -
-

variables

  • -variables - - -
    VariableType
    datauchar*
    sizeNETSize
- - - diff --git a/python/pykde/doc/classref/kdecore/NETPoint.html b/python/pykde/doc/classref/kdecore/NETPoint.html deleted file mode 100644 index 0c44a148..00000000 --- a/python/pykde/doc/classref/kdecore/NETPoint.html +++ /dev/null @@ -1,49 +0,0 @@ - - - - - class NETPoint - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class NETPoint


-
- - - - - -
Table of contents
Modules
kdecore Classes
All Classes
-
- - - - - - - - - - -
Modulekdecore
ClassNETPoint
Inherits
-

methods

    -
  • NETPoint () -
    -
    returns a NETPoint instance

  • -
-

variables

- - - diff --git a/python/pykde/doc/classref/kdecore/NETRect.html b/python/pykde/doc/classref/kdecore/NETRect.html deleted file mode 100644 index 6c2369d1..00000000 --- a/python/pykde/doc/classref/kdecore/NETRect.html +++ /dev/null @@ -1,44 +0,0 @@ - - - - - class NETRect - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class NETRect


-
- - - - - -
Table of contents
Modules
kdecore Classes
All Classes
-
- - - - - - - - - - -
Modulekdecore
ClassNETRect
Inherits
-

variables

  • -variables - - -
    VariableType
    posNETPoint
    sizeNETSize
- - - diff --git a/python/pykde/doc/classref/kdecore/NETRootInfo.html b/python/pykde/doc/classref/kdecore/NETRootInfo.html deleted file mode 100644 index c192a7ed..00000000 --- a/python/pykde/doc/classref/kdecore/NETRootInfo.html +++ /dev/null @@ -1,424 +0,0 @@ - - - - - class NETRootInfo - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class NETRootInfo


-
- - - - - -
Table of contents
Modules
kdecore Classes
All Classes
-
- - - - - - - - - - -
Modulekdecore
ClassNETRootInfo
InheritsNET
-

enums

    -
  • (anonymous) = {PROTOCOLS, WINDOW_TYPES, STATES, PROTOCOLS2, ACTIONS, PROPERTIES_SIZE -}
-

methods

    -
  • NETRootInfo (supportWindow, wmName, properties, screen = -1, doActivate = True) -
    - -
    returns a NETRootInfo instance
    In versions KDE 3.2.0 and above only
    - - - - - -
    ArgumentTypeDefault
    supportWindowWindow
    wmNamea Python string
    propertiesa Python list
    screenint-1
    doActivateboolTrue
    -

  • -
  • NETRootInfo (supportWindow, wmName, properties, screen = -1, doActivate = 1) -
    -
    returns a NETRootInfo instance
    - - - - - -
    ArgumentTypeDefault
    supportWindowWindow
    wmNamea Python string
    propertiesulong
    screenint-1
    doActivatebool1
    -

  • -
  • NETRootInfo (properties, screen = -1, doActivate = 1) -
    - -
    returns a NETRootInfo instance
    In versions KDE 3.2.0 and above only
    - - - -
    ArgumentTypeDefault
    propertiesulong
    screenint-1
    doActivatebool1
    -

  • -
  • NETRootInfo (properties, screen = -1, doActivate = 1) -
    -
    returns a NETRootInfo instance
    - - - -
    ArgumentTypeDefault
    propertiesulong
    screenint-1
    doActivatebool1
    -

  • -
  • NETRootInfo (rootinfo) -
    -
    returns a NETRootInfo instance
    - -
    ArgumentTypeDefault
    rootinfoNETRootInfo
    -

  • -
  • activate () -
    -
    returns nothing

  • -
  • activeWindow () -
    -
    returns (Window)

  • -
  • addClient (window) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    windowWindow
    -

  • -
  • addSystemTrayWin (window) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    windowWindow
    -

  • -
  • changeActiveWindow (window) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    windowWindow
    -

  • -
  • changeCurrentDesktop (desktop) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    desktopint
    -

  • -
  • changeDesktopGeometry (desktop, geom) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    desktopint
    geomNETSize
    -

  • -
  • changeDesktopViewport (desktop, viewport) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    desktopint
    viewportNETPoint
    -

  • -
  • changeNumberOfDesktops (numberOfDesktops) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    numberOfDesktopsint
    -

  • -
  • clientList () -
    -
    returns a Python list of Window,

  • -
  • clientListCount () -
    -
    returns (int)

  • -
  • clientListStacking () -
    -
    returns a Python list of Window,

  • -
  • clientListStackingCount () -
    -
    returns (int)

  • -
  • closeWindow (window) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    windowWindow
    -

  • -
  • closeWindowRequest (window) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    windowWindow
    -

  • -
  • currentDesktop () -
    -
    returns (int)

  • -
  • desktopGeometry (desktop) -
    -
    returns (NETSize)
    - -
    ArgumentTypeDefault
    desktopint
    -

  • -
  • desktopName (desktop) -
    -
    returns (char)
    - -
    ArgumentTypeDefault
    desktopint
    -

  • -
  • desktopViewport (desktop) -
    -
    returns (NETPoint)
    - -
    ArgumentTypeDefault
    desktopint
    -

  • -
  • event (event, properties_size) -
    Not Implemented
    -

  • -
  • event (event) -
    Not Implemented
    -

  • -
  • isSupported (property) -
    - -
    returns (bool)
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    propertyNET.Property
    -

  • -
  • isSupported (property) -
    - -
    returns (bool)
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    propertyNET.Property2
    -

  • -
  • isSupported (type) -
    - -
    returns (bool)
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    typeNET.WindowType
    -

  • -
  • isSupported (state) -
    - -
    returns (bool)
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    stateNET.State
    -

  • -
  • isSupported (action) -
    - -
    returns (bool)
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    actionNET.Action
    -

  • -
  • kdeSystemTrayWindows () -
    -
    returns a Python list of Window,

  • -
  • kdeSystemTrayWindowsCount () -
    -
    returns (int)

  • -
  • moveResize (window, x_root, y_root, direction) -
    -
    returns nothing
    - - - - -
    ArgumentTypeDefault
    windowWindow
    x_rootint
    y_rootint
    directionulong
    -

  • -
  • moveResizeRequest (window, x_root, y_root, direction) -
    -
    returns nothing
    - - - - -
    ArgumentTypeDefault
    windowWindow
    x_rootint
    y_rootint
    directionDirection
    -

  • -
  • moveResizeWindowRequest (window, flags, x, y, width, height) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - - - - - - -
    ArgumentTypeDefault
    windowWindow
    flagsint
    xint
    yint
    widthint
    heightint
    -

  • -
  • numberOfDesktops () -
    -
    returns (int)

  • -
  • passedProperties () -
    - -
    returns a Python list of ulong,
    In versions KDE 3.2.0 and above only

  • -
  • removeClient (window) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    windowWindow
    -

  • -
  • removeSystemTrayWin (window) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    windowWindow
    -

  • -
  • restackRequest (window, source, above, detail, timestamp) -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only
    - - - - - -
    ArgumentTypeDefault
    windowWindow
    sourceRequestSource
    aboveWindow
    detailint
    timestampTime
    -

  • -
  • restackRequest (window, above, detail) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - - - -
    ArgumentTypeDefault
    windowWindow
    aboveWindow
    detailint
    -

  • -
  • rootWindow () -
    -
    returns (Window)

  • -
  • screenNumber () -
    -
    returns (int)

  • -
  • setActiveWindow (window, src, timestamp, active_window) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - - - - -
    ArgumentTypeDefault
    windowWindow
    srcNET.RequestSource
    timestampTime
    active_windowWindow
    -

  • -
  • setActiveWindow (window) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    windowWindow
    -

  • -
  • setClientList (windows) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    windowsa Python list of Window
    -

  • -
  • setClientListStacking (windows) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    windowsa Python list of Window
    -

  • -
  • setCurrentDesktop (desktop) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    desktopint
    -

  • -
  • setDesktopGeometry (desktop, geometry) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    desktopint
    geometryNETSize
    -

  • -
  • setDesktopName (desktop, desktopName) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    desktopint
    desktopNamechar
    -

  • -
  • setDesktopViewport (desktop, viewport) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    desktopint
    viewportNETPoint
    -

  • -
  • setKDESystemTrayWindows (windows) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    windowsa Python list of Window
    -

  • -
  • setNumberOfDesktops (numberOfDesktops) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    numberOfDesktopsint
    -

  • -
  • setShowingDesktop (showing) -
    - -
    returns nothing
    In versions KDE 3.5.0 and above only
    - -
    ArgumentTypeDefault
    showingbool
    -

  • -
  • setVirtualRoots (windows) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    windowsa Python list of Window
    -

  • -
  • setWorkArea (desktop, workArea) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    desktopint
    workAreaNETRect
    -

  • -
  • showingDesktop () -
    - -
    returns (bool)
    In versions KDE 3.5.0 and above only

  • -
  • supportWindow () -
    -
    returns (Window)

  • -
  • supported () -
    -
    returns (ulong)

  • -
  • supportedProperties () -
    - -
    returns a Python list of ulong,
    In versions KDE 3.2.0 and above only

  • -
  • virtualRoots () -
    -
    returns a Python list of Window,

  • -
  • virtualRootsCount () -
    -
    returns (int)

  • -
  • wmName () -
    -
    returns (char)

  • -
  • workArea (desktop) -
    -
    returns (NETRect)
    - -
    ArgumentTypeDefault
    desktopint
    -

  • -
  • x11Display () -
    -
    returns (Display)

  • -
- - - diff --git a/python/pykde/doc/classref/kdecore/NETRootInfo2.html b/python/pykde/doc/classref/kdecore/NETRootInfo2.html deleted file mode 100644 index dd3adf17..00000000 --- a/python/pykde/doc/classref/kdecore/NETRootInfo2.html +++ /dev/null @@ -1,102 +0,0 @@ - - - - - class NETRootInfo2 - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class NETRootInfo2


-
- - - - - -
Table of contents
Modules
kdecore Classes
All Classes
-
- - - - - - - - - - -
Modulekdecore
ClassNETRootInfo2
InheritsNETRootInfo
-

methods

    -
  • NETRootInfo2 (window, rootWindow, properties, role, a3 = Client) -
    - -
    returns a NETRootInfo2 instance
    In versions KDE 3.2.0 and above only
    - - - - - -
    ArgumentTypeDefault
    windowWindow
    rootWindowWindow
    propertiesulong
    roleint
    a3RoleClient
    -

  • -
  • NETRootInfo2 (display, properties_size, screen = -1, doActivate = 1) -
    Not Implemented
    -

  • -
  • changeActiveWindow (window, src, timestamp, active_window) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - - - - -
    ArgumentTypeDefault
    windowWindow
    srcNET.RequestSource
    timestampTime
    active_windowWindow
    -

  • -
  • gotPing (window, timestamp) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - - -
    ArgumentTypeDefault
    windowWindow
    timestampTime
    -

  • -
  • moveResizeWindow (window, flags, x, y, width, height) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - - - - - - -
    ArgumentTypeDefault
    windowWindow
    flagsint
    xint
    yint
    widthint
    heightint
    -

  • -
  • restackWindow (window, above, detail) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - - - -
    ArgumentTypeDefault
    windowWindow
    aboveWindow
    detailint
    -

  • -
  • sendPing (window, timestamp) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - - -
    ArgumentTypeDefault
    windowWindow
    timestampTime
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kdecore/NETRootInfo3.html b/python/pykde/doc/classref/kdecore/NETRootInfo3.html deleted file mode 100644 index 570f1d67..00000000 --- a/python/pykde/doc/classref/kdecore/NETRootInfo3.html +++ /dev/null @@ -1,84 +0,0 @@ - - - - - class NETRootInfo3 - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class NETRootInfo3


-
- - - - - -
Table of contents
Modules
kdecore Classes
All Classes
-
- - - - - - - - - - -
Modulekdecore
ClassNETRootInfo3
InheritsNETRootInfo2
-

methods

    -
  • NETRootInfo3 (window, rootWindow, properties, role, a3 = Client) -
    - -
    returns a NETRootInfo3 instance
    In versions KDE 3.3.0 and above only
    - - - - - -
    ArgumentTypeDefault
    windowWindow
    rootWindowWindow
    propertiesulong
    roleint
    a3RoleClient
    -

  • -
  • NETRootInfo3 (display, properties_size, screen = -1, doActivate = 1) -
    Not Implemented
    -

  • -
  • gotTakeActivity (window, timestamp, flags) -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only
    - - - -
    ArgumentTypeDefault
    windowWindow
    timestampTime
    flagslong
    -

  • -
  • restackWindow (window, source, above, detail, timestamp) -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only
    - - - - - -
    ArgumentTypeDefault
    windowWindow
    sourceRequestSource
    aboveWindow
    detailint
    timestampTime
    -

  • -
  • takeActivity (window, timestamp, flags) -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only
    - - - -
    ArgumentTypeDefault
    windowWindow
    timestampTime
    flagslong
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kdecore/NETRootInfo4.html b/python/pykde/doc/classref/kdecore/NETRootInfo4.html deleted file mode 100644 index cda8e97a..00000000 --- a/python/pykde/doc/classref/kdecore/NETRootInfo4.html +++ /dev/null @@ -1,62 +0,0 @@ - - - - - class NETRootInfo4 - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class NETRootInfo4


-
- - - - - -
Table of contents
Modules
kdecore Classes
All Classes
-
- - - - - - - - - - -
Modulekdecore
ClassNETRootInfo4
InheritsNETRootInfo3
-

methods

    -
  • NETRootInfo4 (window, rootWindow, properties, role, a3 = Client) -
    - -
    returns a NETRootInfo4 instance
    In versions KDE 3.5.0 and above only
    - - - - - -
    ArgumentTypeDefault
    windowWindow
    rootWindowWindow
    propertiesulong
    roleint
    a3RoleClient
    -

  • -
  • NETRootInfo4 (display, properties_size, screen = -1, doActivate = 1) -
    Not Implemented
    -

  • -
  • changeShowingDesktop (showing) -
    - -
    returns nothing
    In versions KDE 3.5.0 and above only
    - -
    ArgumentTypeDefault
    showingbool
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kdecore/NETSize.html b/python/pykde/doc/classref/kdecore/NETSize.html deleted file mode 100644 index 73b96527..00000000 --- a/python/pykde/doc/classref/kdecore/NETSize.html +++ /dev/null @@ -1,49 +0,0 @@ - - - - - class NETSize - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class NETSize


-
- - - - - -
Table of contents
Modules
kdecore Classes
All Classes
-
- - - - - - - - - - -
Modulekdecore
ClassNETSize
Inherits
-

methods

    -
  • NETSize () -
    -
    returns a NETSize instance

  • -
-

variables

  • -variables - - -
    VariableType
    heightint
    widthint
- - - diff --git a/python/pykde/doc/classref/kdecore/NETStrut.html b/python/pykde/doc/classref/kdecore/NETStrut.html deleted file mode 100644 index 9b6f7aa3..00000000 --- a/python/pykde/doc/classref/kdecore/NETStrut.html +++ /dev/null @@ -1,51 +0,0 @@ - - - - - class NETStrut - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class NETStrut


-
- - - - - -
Table of contents
Modules
kdecore Classes
All Classes
-
- - - - - - - - - - -
Modulekdecore
ClassNETStrut
Inherits
-

methods

    -
  • NETStrut () -
    -
    returns a NETStrut instance

  • -
-

variables

  • -variables - - - - -
    VariableType
    bottomint
    leftint
    rightint
    topint
- - - diff --git a/python/pykde/doc/classref/kdecore/NETWinInfo.html b/python/pykde/doc/classref/kdecore/NETWinInfo.html deleted file mode 100644 index 027f8ad0..00000000 --- a/python/pykde/doc/classref/kdecore/NETWinInfo.html +++ /dev/null @@ -1,315 +0,0 @@ - - - - - class NETWinInfo - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class NETWinInfo


-
- - - - - -
Table of contents
Modules
kdecore Classes
All Classes
-
- - - - - - - - - - -
Modulekdecore
ClassNETWinInfo
InheritsNET
-

enums

    -
  • (anonymous) = {PROTOCOLS, PROTOCOLS2, PROPERTIES_SIZE -}
-

methods

    -
  • NETWinInfo (window, rootWindow, properties, role, a3 = Client) -
    - -
    returns a NETWinInfo instance
    In versions KDE 3.2.0 and above only
    - - - - - -
    ArgumentTypeDefault
    windowWindow
    rootWindowWindow
    propertiesulong
    roleint
    a3RoleClient
    -

  • -
  • NETWinInfo (window (Window), properties (ulong) = Client) -
    -
    returns (),
    - - -
    ArgumentTypeDefault
    window (Window)ootWindow (Window
    properties (ulong)ole (RoleClient
    -

  • -
  • NETWinInfo (wininfo) -
    -
    returns a NETWinInfo instance
    - -
    ArgumentTypeDefault
    wininfoNETWinInfo
    -

  • -
  • allowedActions () -
    - -
    returns (ulong)
    In versions KDE 3.2.0 and above only

  • -
  • changeDesktop (desktop) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    desktopint
    -

  • -
  • changeState (state, mask) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    stateulong
    maskulong
    -

  • -
  • clientMachine () -
    - -
    returns (char)
    In versions KDE 3.3.0 and above only

  • -
  • desktop () -
    -
    returns (int)

  • -
  • event (event, properties_size) -
    Not Implemented
    -

  • -
  • event (event) -
    Not Implemented
    -

  • -
  • extendedStrut () -
    - -
    returns (NETExtendedStrut)
    In versions KDE 3.3.0 and above only

  • -
  • groupLeader () -
    - -
    returns (Window)
    In versions KDE 3.2.0 and above only

  • -
  • handledIcons () -
    -
    returns (Bool)

  • -
  • hasNETSupport () -
    - -
    returns (bool)
    In versions KDE 3.2.0 and above only

  • -
  • icon (width = -1, height = -1) -
    Not Implemented
    -

  • -
  • iconGeometry () -
    -
    returns (NETRect)

  • -
  • iconName () -
    -
    returns (char)

  • -
  • kdeGeometry (frame, window) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    frameNETRect
    windowNETRect
    -

  • -
  • kdeSystemTrayWinFor () -
    -
    returns (Window)

  • -
  • mappingState () -
    -
    returns (MappingState)

  • -
  • name () -
    -
    returns (char)

  • -
  • passedProperties () -
    - -
    returns a Python list of ulong,
    In versions KDE 3.2.0 and above only

  • -
  • pid () -
    -
    returns (int)

  • -
  • properties () -
    -
    returns (ulong)

  • -
  • setAllowedActions (actions) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    actionsulong
    -

  • -
  • setDesktop (desktop) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    desktopint
    -

  • -
  • setExtendedStrut (extended_strut) -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only
    - -
    ArgumentTypeDefault
    extended_strutNETExtendedStrut
    -

  • -
  • setFrameExtents (strut) -
    - -
    returns nothing
    In versions KDE 3.5.0 and above only
    - -
    ArgumentTypeDefault
    strutNETStrut
    -

  • -
  • setHandledIcons (handled) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    handledBool
    -

  • -
  • setIcon (icon, replace = True) -
    Not Implemented
    -

  • -
  • setIconGeometry (geometry) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    geometryNETRect
    -

  • -
  • setIconName (name) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    namechar
    -

  • -
  • setKDEFrameStrut (strut) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    strutNETStrut
    -

  • -
  • setKDESystemTrayWinFor (window) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    windowWindow
    -

  • -
  • setName (name) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    namechar
    -

  • -
  • setPid (pid) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    pidint
    -

  • -
  • setStartupId (startup_id) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    startup_idchar
    -

  • -
  • setState (state, mask) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    stateulong
    maskulong
    -

  • -
  • setStrut (strut) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    strutNETStrut
    -

  • -
  • setUserTime (time) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    timeTime
    -

  • -
  • setVisibleIconName (name) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    namechar
    -

  • -
  • setVisibleName (visibleName) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    visibleNamechar
    -

  • -
  • setWindowType (type) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    typeWindowType
    -

  • -
  • startupId () -
    - -
    returns (char)
    In versions KDE 3.2.0 and above only

  • -
  • state () -
    -
    returns (ulong)

  • -
  • strut () -
    -
    returns (NETStrut)

  • -
  • transientFor () -
    - -
    returns (Window)
    In versions KDE 3.2.0 and above only

  • -
  • userTime () -
    - -
    returns (Time)
    In versions KDE 3.2.0 and above only

  • -
  • visibleIconName () -
    -
    returns (char)

  • -
  • visibleName () -
    -
    returns (char)

  • -
  • windowClassClass () -
    - -
    returns (char)
    In versions KDE 3.3.0 and above only

  • -
  • windowClassName () -
    - -
    returns (char)
    In versions KDE 3.3.0 and above only

  • -
  • windowRole () -
    - -
    returns (char)
    In versions KDE 3.3.0 and above only

  • -
  • windowType (supported_types) -
    - -
    returns (WindowType)
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    supported_typesulong
    -

  • -
  • windowType () -
    -
    returns (WindowType)

  • -
-

variables

- - - diff --git a/python/pykde/doc/classref/kdecore/index.html b/python/pykde/doc/classref/kdecore/index.html deleted file mode 100644 index af08ab11..00000000 --- a/python/pykde/doc/classref/kdecore/index.html +++ /dev/null @@ -1,180 +0,0 @@ - - - - - module kdecore - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

kdecore Class Index


-
- - - - -
Table of contents
Modules
All Classes
-
- kdecore Global and Namespace members

- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
KAboutData - KConfigSkeleton.ItemSize
KAboutData
KAboutPerson
KAboutTranslator
KAccel
KAccelAction
KAccelActions
KAccelBase
KAccelShortcutList
KApplication
KAsyncIO
KAudioPlayer
KBufferedIO
KCalendarSystem
KCalendarSystemFactory
KCatalogue
KCharMacroExpander
KCharsets
KClipboardSynchronizer
KCmdLineArgs
KCmdLineOptions
KCodecs
KCompletion
KCompletionBase
KConfig
KConfigBackEnd
KConfigBase
KConfigDialogManager
KConfigGroup
KConfigGroupSaver
KConfigINIBackEnd
KConfigSkeleton
KConfigSkeleton.ItemBool
KConfigSkeleton.ItemColor
KConfigSkeleton.ItemDateTime
KConfigSkeleton.ItemDouble
KConfigSkeleton.ItemEnum
KConfigSkeleton.ItemEnum.Choice
KConfigSkeleton.ItemFont
KConfigSkeleton.ItemInt
KConfigSkeleton.ItemInt64
KConfigSkeleton.ItemIntList
KConfigSkeleton.ItemLong
KConfigSkeleton.ItemPassword
KConfigSkeleton.ItemPath
KConfigSkeleton.ItemPathList
KConfigSkeleton.ItemPoint
KConfigSkeleton.ItemProperty
KConfigSkeleton.ItemRect
KConfigSkeleton.ItemSize
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
KConfigSkeleton.ItemString - KProcIO
KConfigSkeleton.ItemString
KConfigSkeleton.ItemStringList
KConfigSkeleton.ItemUInt
KConfigSkeleton.ItemUInt64
KConfigSkeleton.ItemULong
KConfigSkeletonItem
KCrash
KDCOPPropertyProxy
KDE
KDesktopFile
KEntry
KEntryKey
KGlobal
KGlobalAccel
KGlobalSettings
KGlobalSettings.KMouseSettings
KIDNA
KIPC
KIcon
KIconEffect
KIconLoader
KIconTheme
KInstance
KKey
KKeyNative
KKeySequence
KKeyServer
KKeyServer.CodeMod
KKeyServer.Key
KKeyServer.Sym
KKeyServer.Variations
KLibFactory
KLibLoader
KLibrary
KLocale
KLockFile
KMD4
KMD5
KMacroExpander
KMacroExpanderBase
KMimeSourceFactory
KMountPoint
KMultipleDrag
KNotifyClient
KNotifyClient.Instance
KPalette
KPixmapProvider
KProcIO
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
KProcess - NETWinInfo
KProcess
KProcessController
KRFCDate
KRandomSequence
KRegExp
KRootProp
KSaveFile
KSelectionOwner
KSelectionWatcher
KSessionManaged
KShared
KSharedConfig
KShell
KShellProcess
KShortcut
KShortcutList
KSimpleConfig
KStartupInfo
KStartupInfoData
KStartupInfoId
KStaticDeleterBase
KStdAccel
KStdAccel.ShortcutList
KStringHandler
KTempDir
KTempFile
KTimezone
KTimezoneDetails
KTimezoneSource
KTimezones
KURL
KURL.List
KURLDrag
KUniqueApplication
KWordMacroExpander
KZoneAllocator
NET
NETExtendedStrut
NETIcon
NETPoint
NETRect
NETRootInfo
NETRootInfo2
NETRootInfo3
NETRootInfo4
NETSize
NETStrut
NETWinInfo
- - diff --git a/python/pykde/doc/classref/kdecore/kdecore-globals.html b/python/pykde/doc/classref/kdecore/kdecore-globals.html deleted file mode 100644 index f5606d86..00000000 --- a/python/pykde/doc/classref/kdecore/kdecore-globals.html +++ /dev/null @@ -1,209 +0,0 @@ - - - - - kdecore globals - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

kdecore Globals


-
- - - - - -
Table of contents
Modules
kdecore Classes
All Classes
-
-

global methods

    -
  • BarIcon (name, size = 0, state = KIcon .DefaultState, instance = KGlobal .instance ()) -
    -
    returns (TQPixmap)
    - - - - -
    ArgumentTypeDefault
    nameTQString
    sizeint0
    stateintKIcon .DefaultState
    instanceKInstanceKGlobal .instance ()
    -

  • -
  • BarIcon (name, instance) -
    -
    returns (TQPixmap)
    - - -
    ArgumentTypeDefault
    nameTQString
    instanceKInstance
    -

  • -
  • BarIconSet (name, size = 0, instance = KGlobal .instance ()) -
    -
    returns (TQIconSet)
    - - - -
    ArgumentTypeDefault
    nameTQString
    sizeint0
    instanceKInstanceKGlobal .instance ()
    -

  • -
  • DesktopIcon (name, size = 0, state = KIcon .DefaultState, instance = KGlobal .instance ()) -
    -
    returns (TQPixmap)
    - - - - -
    ArgumentTypeDefault
    nameTQString
    sizeint0
    stateintKIcon .DefaultState
    instanceKInstanceKGlobal .instance ()
    -

  • -
  • DesktopIcon (name, instance) -
    -
    returns (TQPixmap)
    - - -
    ArgumentTypeDefault
    nameTQString
    instanceKInstance
    -

  • -
  • DesktopIconSet (name, size = 0, instance = KGlobal .instance ()) -
    -
    returns (TQIconSet)
    - - - -
    ArgumentTypeDefault
    nameTQString
    sizeint0
    instanceKInstanceKGlobal .instance ()
    -

  • -
  • IconSize (group, instance = KGlobal .instance ()) -
    -
    returns (int)
    - - -
    ArgumentTypeDefault
    groupKIcon.Group
    instanceKInstanceKGlobal .instance ()
    -

  • -
  • MainBarIcon (name, size = 0, state = KIcon .DefaultState, instance = KGlobal .instance ()) -
    -
    returns (TQPixmap)
    - - - - -
    ArgumentTypeDefault
    nameTQString
    sizeint0
    stateintKIcon .DefaultState
    instanceKInstanceKGlobal .instance ()
    -

  • -
  • MainBarIcon (name, instance) -
    -
    returns (TQPixmap)
    - - -
    ArgumentTypeDefault
    nameTQString
    instanceKInstance
    -

  • -
  • MainBarIconSet (name, size = 0, instance = KGlobal .instance ()) -
    -
    returns (TQIconSet)
    - - - -
    ArgumentTypeDefault
    nameTQString
    sizeint0
    instanceKInstanceKGlobal .instance ()
    -

  • -
  • SmallIcon (name, size = 0, state = KIcon .DefaultState, instance = KGlobal .instance ()) -
    -
    returns (TQPixmap)
    - - - - -
    ArgumentTypeDefault
    nameTQString
    sizeint0
    stateintKIcon .DefaultState
    instanceKInstanceKGlobal .instance ()
    -

  • -
  • SmallIcon (name, instance) -
    -
    returns (TQPixmap)
    - - -
    ArgumentTypeDefault
    nameTQString
    instanceKInstance
    -

  • -
  • SmallIconSet (name, size = 0, instance = KGlobal .instance ()) -
    -
    returns (TQIconSet)
    - - - -
    ArgumentTypeDefault
    nameTQString
    sizeint0
    instanceKInstanceKGlobal .instance ()
    -

  • -
  • UserIcon (name, state = KIcon .DefaultState, instance = KGlobal .instance ()) -
    -
    returns (TQPixmap)
    - - - -
    ArgumentTypeDefault
    nameTQString
    stateintKIcon .DefaultState
    instanceKInstanceKGlobal .instance ()
    -

  • -
  • UserIcon (name, instance) -
    -
    returns (TQPixmap)
    - - -
    ArgumentTypeDefault
    nameTQString
    instanceKInstance
    -

  • -
  • UserIconSet (name, instance = KGlobal .instance ()) -
    -
    returns (TQIconSet)
    - - -
    ArgumentTypeDefault
    nameTQString
    instanceKInstanceKGlobal .instance ()
    -

  • -
  • checkAccess (pathname, mode) -
    Not Implemented
    -

  • -
  • i18n (text) -
    -
    returns (TQString)
    - -
    ArgumentTypeDefault
    textchar
    -

  • -
  • i18n (comment, text) -
    -
    returns (TQString)
    - - -
    ArgumentTypeDefault
    commentchar
    textchar
    -

  • -
  • i18n (singular, plural, n) -
    -
    returns (TQString)
    - - - -
    ArgumentTypeDefault
    singularchar
    pluralchar
    nulong
    -

  • -
  • kasciistricmp (str1, str2) -
    - -
    returns (int)
    In versions KDE 3.4.0 and above only
    - - -
    ArgumentTypeDefault
    str1char
    str2char
    -

  • -
  • testKEntryMap (dict) -
    -
    returns (TQMap
    - -
    ArgumentTypeDefault
    dictKEntryMap
    -

  • -
  • urlcmp (_url1, _url2) -
    -
    returns (bool)
    - - -
    ArgumentTypeDefault
    _url1TQString
    _url2TQString
    -

  • -
  • urlcmp (_url1, _url2, _ignore_trailing, _ignore_ref) -
    -
    returns (bool)
    - - - - -
    ArgumentTypeDefault
    _url1TQString
    _url2TQString
    _ignore_trailingbool
    _ignore_refbool
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kdefx/KCPUInfo.html b/python/pykde/doc/classref/kdefx/KCPUInfo.html deleted file mode 100644 index e39f5093..00000000 --- a/python/pykde/doc/classref/kdefx/KCPUInfo.html +++ /dev/null @@ -1,52 +0,0 @@ - - - - - class KCPUInfo - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KCPUInfo


-
- - - - - -
Table of contents
Modules
kdefx Classes
All Classes
-
- - - - - - - - - - -
Modulekdefx
ClassKCPUInfo
Inherits
-

enums

    -
  • Extensions = {IntelMMX, IntelSSE, IntelSSE2, AMD3DNOW, AltiVec -}
-

methods

    -
  • haveExtension (extension) -
    - - -
    returns (bool)
    In versions KDE 3.2.0 and above only
    static
    - -
    ArgumentTypeDefault
    extensionuint
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kdefx/KImageEffect.html b/python/pykde/doc/classref/kdefx/KImageEffect.html deleted file mode 100644 index 6b87d905..00000000 --- a/python/pykde/doc/classref/kdefx/KImageEffect.html +++ /dev/null @@ -1,523 +0,0 @@ - - - - - class KImageEffect - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KImageEffect


-
- - - - - -
Table of contents
Modules
kdefx Classes
All Classes
-
- - - - - - - - - - -
Modulekdefx
ClassKImageEffect
Inherits
-

enums

    -
  • BumpmapType = {Linear, Spherical, Sinuosidal -}
  • Disposition = {NoImage, Centered, Tiled, CenterTiled, CenteredMaxpect, TiledMaxpect, Scaled, CenteredAutoFit -}
  • GradientType = {VerticalGradient, HorizontalGradient, DiagonalGradient, CrossDiagonalGradient, PyramidGradient, RectangleGradient, PipeCrossGradient, EllipticGradient -}
  • Lighting = {NorthLite, NWLite, WestLite, SWLite, SouthLite, SELite, EastLite, NELite -}
  • ModulationType = {Intensity, Saturation, HueShift, Contrast -}
  • NoiseType = {UniformNoise, GaussianNoise, MultiplicativeGaussianNoise, ImpulseNoise, LaplacianNoise, PoissonNoise -}
  • RGBComponent = {Red, Green, Blue, Gray, All -}
  • RotateDirection = {Rotate90, Rotate180, Rotate270 -}
-

methods

    -
  • addNoise (src, type = GaussianNoise) -
    - -
    returns (TQImage)
    static
    - - -
    ArgumentTypeDefault
    srcTQImage
    typeKImageEffect.NoiseTypeGaussianNoise
    -

  • -
  • blend (clr, dst, opacity) -
    - -
    returns (TQImage)
    static
    - - - -
    ArgumentTypeDefault
    clrTQColor
    dstTQImage
    opacityfloat
    -

  • -
  • blend (src, dst, opacity) -
    - -
    returns (TQImage)
    static
    - - - -
    ArgumentTypeDefault
    srcTQImage
    dstTQImage
    opacityfloat
    -

  • -
  • blend (image, initial_intensity, bgnd, eff, anti_dir = 0) -
    - -
    returns (TQImage)
    static
    - - - - - -
    ArgumentTypeDefault
    imageTQImage
    initial_intensityfloat
    bgndTQColor
    effKImageEffect.GradientType
    anti_dirbool0
    -

  • -
  • blend (image1, image2, gt, xf = 100, yf = 100) -
    - -
    returns (TQImage)
    static
    - - - - - -
    ArgumentTypeDefault
    image1TQImage
    image2TQImage
    gtKImageEffect.GradientType
    xfint100
    yfint100
    -

  • -
  • blend (image1, image2, blendImage, channel) -
    - -
    returns (TQImage)
    static
    - - - - -
    ArgumentTypeDefault
    image1TQImage
    image2TQImage
    blendImageTQImage
    channelKImageEffect.RGBComponent
    -

  • -
  • blend (upper, lower, output) -
    - -
    returns (bool)
    static
    - - - -
    ArgumentTypeDefault
    upperTQImage
    lowerTQImage
    outputTQImage
    -

  • -
  • blend (x, y, upper, lower, output) -
    - -
    returns (bool) x (int) y (int)
    static
    - - - - - -
    ArgumentTypeDefault
    xint
    yint
    upperTQImage
    lowerTQImage
    outputTQImage
    -

  • -
  • blendOnLower (x, y, upper, lower) -
    - -
    returns (bool)
    static
    - - - - -
    ArgumentTypeDefault
    xint
    yint
    upperTQImage
    lowerTQImage
    -

  • -
  • blendOnLower (upper, upperOffset, lower, lowerRect) -
    - - -
    returns nothing
    In versions KDE 3.2.0 and above only
    static
    - - - - -
    ArgumentTypeDefault
    upperTQImage
    upperOffsetTQPoint
    lowerTQImage
    lowerRectTQRect
    -

  • -
  • blendOnLower (upper, upperOffset, lower, lowerRect, opacity) -
    - - -
    returns nothing
    In versions KDE 3.2.0 and above only
    static
    - - - - - -
    ArgumentTypeDefault
    upperTQImage
    upperOffsetTQPoint
    lowerTQImage
    lowerRectTQRect
    opacityfloat
    -

  • -
  • blendOnLower (upper, lower, disposition, opacity) -
    - - -
    returns nothing
    In versions KDE 3.2.0 and above only
    static
    - - - - -
    ArgumentTypeDefault
    upperTQImage
    lowerTQImage
    dispositionKImageEffect.Disposition
    opacityfloat
    -

  • -
  • blur (src, radius, sigma) -
    - - -
    returns (TQImage)
    In versions KDE 3.2.0 and above only
    static
    - - - -
    ArgumentTypeDefault
    srcTQImage
    radiusdouble
    sigmadouble
    -

  • -
  • blur (src, factor = 50.0) -
    - -
    returns (TQImage)
    static
    - - -
    ArgumentTypeDefault
    srcTQImage
    factordouble50.0
    -

  • -
  • bumpmap (img, map, azimuth, elevation, depth, xofs, yofs, waterlevel, ambient, compensate, invert, type, tiled) -
    - - -
    returns (TQImage)
    In versions KDE 3.3.0 and above only
    static
    - - - - - - - - - - - - - -
    ArgumentTypeDefault
    imgTQImage
    mapTQImage
    azimuthdouble
    elevationdouble
    depthint
    xofsint
    yofsint
    waterlevelint
    ambientint
    compensatebool
    invertbool
    typeKImageEffect.BumpmapType
    tiledbool
    -

  • -
  • channelIntensity (image, percent, channel) -
    - -
    returns (TQImage)
    static
    - - - -
    ArgumentTypeDefault
    imageTQImage
    percentfloat
    channelKImageEffect.RGBComponent
    -

  • -
  • charcoal (src, radius, sigma) -
    - - -
    returns (TQImage)
    In versions KDE 3.2.0 and above only
    static
    - - - -
    ArgumentTypeDefault
    srcTQImage
    radiusdouble
    sigmadouble
    -

  • -
  • charcoal (src, factor = 50.0) -
    - -
    returns (TQImage)
    static
    - - -
    ArgumentTypeDefault
    srcTQImage
    factordouble50.0
    -

  • -
  • computeDestinationRect (lowerSize, disposition, upper) -
    - - -
    returns (TQRect)
    In versions KDE 3.2.0 and above only
    static
    - - - -
    ArgumentTypeDefault
    lowerSizeTQSize
    dispositionKImageEffect.Disposition
    upperTQImage
    -

  • -
  • contrast (image, c) -
    - -
    returns (TQImage)
    static
    - - -
    ArgumentTypeDefault
    imageTQImage
    cint
    -

  • -
  • contrastHSV (img, sharpen = 1) -
    - -
    returns nothing
    static
    - - -
    ArgumentTypeDefault
    imgTQImage
    sharpenbool1
    -

  • -
  • desaturate (image, desat = 0.3) -
    - -
    returns (TQImage)
    static
    - - -
    ArgumentTypeDefault
    imageTQImage
    desatfloat0.3
    -

  • -
  • despeckle (src) -
    - -
    returns (TQImage)
    static
    - -
    ArgumentTypeDefault
    srcTQImage
    -

  • -
  • dither (image, palette, size) -
    Not Implemented
    -

  • -
  • edge (src, radius = 50.0) -
    - -
    returns (TQImage)
    static
    - - -
    ArgumentTypeDefault
    srcTQImage
    radiusdouble50.0
    -

  • -
  • emboss (src, radius, sigma) -
    - - -
    returns (TQImage)
    In versions KDE 3.2.0 and above only
    static
    - - - -
    ArgumentTypeDefault
    srcTQImage
    radiusdouble
    sigmadouble
    -

  • -
  • emboss (src) -
    - -
    returns (TQImage)
    static
    - -
    ArgumentTypeDefault
    srcTQImage
    -

  • -
  • equalize (img) -
    - -
    returns nothing
    static
    - -
    ArgumentTypeDefault
    imgTQImage
    -

  • -
  • fade (image, val, color) -
    - -
    returns (TQImage)
    static
    - - - -
    ArgumentTypeDefault
    imageTQImage
    valfloat
    colorTQColor
    -

  • -
  • flatten (image, ca, cb, ncols = 0) -
    - -
    returns (TQImage)
    static
    - - - - -
    ArgumentTypeDefault
    imageTQImage
    caTQColor
    cbTQColor
    ncolsint0
    -

  • -
  • gradient (size, ca, cb, type, ncols = 3) -
    - -
    returns (TQImage)
    static
    - - - - - -
    ArgumentTypeDefault
    sizeTQSize
    caTQColor
    cbTQColor
    typeKImageEffect.GradientType
    ncolsint3
    -

  • -
  • hash (image, lite = NorthLite, spacing = 0) -
    - -
    returns (TQImage)
    static
    - - - -
    ArgumentTypeDefault
    imageTQImage
    liteKImageEffect.LightingNorthLite
    spacinguint0
    -

  • -
  • implode (src, factor = 30.0, background = -1) -
    - -
    returns (TQImage)
    static
    - - - -
    ArgumentTypeDefault
    srcTQImage
    factordouble30.0
    backgrounduint-1
    -

  • -
  • intensity (image, percent) -
    - -
    returns (TQImage)
    static
    - - -
    ArgumentTypeDefault
    imageTQImage
    percentfloat
    -

  • -
  • modulate (image, modImage, reverse, type, factor, channel) -
    - -
    returns (TQImage)
    static
    - - - - - - -
    ArgumentTypeDefault
    imageTQImage
    modImageTQImage
    reversebool
    typeKImageEffect.ModulationType
    factorint
    channelKImageEffect.RGBComponent
    -

  • -
  • normalize (img) -
    - -
    returns nothing
    static
    - -
    ArgumentTypeDefault
    imgTQImage
    -

  • -
  • oilPaint (src, radius = 3) -
    - -
    returns (TQImage)
    static
    - - -
    ArgumentTypeDefault
    srcTQImage
    radiusint3
    -

  • -
  • oilPaintConvolve (src, radius) -
    - - -
    returns (TQImage)
    In versions KDE 3.2.0 and above only
    static
    - - -
    ArgumentTypeDefault
    srcTQImage
    radiusdouble
    -

  • -
  • rotate (src, r) -
    - -
    returns (TQImage)
    static
    - - -
    ArgumentTypeDefault
    srcTQImage
    rKImageEffect.RotateDirection
    -

  • -
  • sample (src, w, h) -
    - -
    returns (TQImage)
    static
    - - - -
    ArgumentTypeDefault
    srcTQImage
    wint
    hint
    -

  • -
  • selectedImage (img, col) -
    - -
    returns (TQImage)
    static
    - - -
    ArgumentTypeDefault
    imgTQImage
    colTQColor
    -

  • -
  • shade (src, color_shading = 1, azimuth = 30.0, elevation = 30.0) -
    - -
    returns (TQImage)
    static
    - - - - -
    ArgumentTypeDefault
    srcTQImage
    color_shadingbool1
    azimuthdouble30.0
    elevationdouble30.0
    -

  • -
  • sharpen (src, radius, sigma) -
    - - -
    returns (TQImage)
    In versions KDE 3.2.0 and above only
    static
    - - - -
    ArgumentTypeDefault
    srcTQImage
    radiusdouble
    sigmadouble
    -

  • -
  • sharpen (src, factor = 30.0) -
    - -
    returns (TQImage)
    static
    - - -
    ArgumentTypeDefault
    srcTQImage
    factordouble30.0
    -

  • -
  • solarize (img, factor = 50.0) -
    - -
    returns nothing
    static
    - - -
    ArgumentTypeDefault
    imgTQImage
    factordouble50.0
    -

  • -
  • spread (src, amount = 3) -
    - -
    returns (TQImage)
    static
    - - -
    ArgumentTypeDefault
    srcTQImage
    amountuint3
    -

  • -
  • swirl (src, degrees = 50.0, background = -1) -
    - -
    returns (TQImage)
    static
    - - - -
    ArgumentTypeDefault
    srcTQImage
    degreesdouble50.0
    backgrounduint-1
    -

  • -
  • threshold (img, value = 128) -
    - -
    returns nothing
    static
    - - -
    ArgumentTypeDefault
    imgTQImage
    valueuint128
    -

  • -
  • toGray (image, fast = 0) -
    - -
    returns (TQImage)
    static
    - - -
    ArgumentTypeDefault
    imageTQImage
    fastbool0
    -

  • -
  • unbalancedGradient (size, ca, cb, type, xfactor = 100, yfactor = 100, ncols = 3) -
    - -
    returns (TQImage)
    static
    - - - - - - - -
    ArgumentTypeDefault
    sizeTQSize
    caTQColor
    cbTQColor
    typeKImageEffect.GradientType
    xfactorint100
    yfactorint100
    ncolsint3
    -

  • -
  • wave (src, amplitude = 25.0, frequency = 150.0, background = -1) -
    - -
    returns (TQImage)
    static
    - - - - -
    ArgumentTypeDefault
    srcTQImage
    amplitudedouble25.0
    frequencydouble150.0
    backgrounduint-1
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kdefx/KPixmap.html b/python/pykde/doc/classref/kdefx/KPixmap.html deleted file mode 100644 index 4b0d53e0..00000000 --- a/python/pykde/doc/classref/kdefx/KPixmap.html +++ /dev/null @@ -1,90 +0,0 @@ - - - - - class KPixmap - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KPixmap


-
- - - - - -
Table of contents
Modules
kdefx Classes
All Classes
-
- - - - - - - - - - -
Modulekdefx
ClassKPixmap
InheritsTQPixmap
-

enums

    -
  • ColorMode = {Auto, Color, Mono, LowColor, WebColor -}
  • GradientMode = {Horizontal, Vertical, Diagonal, CrossDiagonal -}
-

methods

    -
  • KPixmap () -
    -
    returns a KPixmap instance

  • -
  • KPixmap (pix) -
    -
    returns a KPixmap instance
    - -
    ArgumentTypeDefault
    pixTQPixmap
    -

  • -
  • checkColorTable (image) -
    -
    returns (bool)
    - -
    ArgumentTypeDefault
    imageTQImage
    -

  • -
  • convertFromImage (img, conversion_flags) -
    -
    returns (bool)
    - - -
    ArgumentTypeDefault
    imgTQImage
    conversion_flagsint
    -

  • -
  • convertFromImage (img, mode = WebColor) -
    -
    returns (bool)
    - - -
    ArgumentTypeDefault
    imgTQImage
    modeColorModeWebColor
    -

  • -
  • load (fileName, format, conversion_flags) -
    -
    returns (bool)
    - - - -
    ArgumentTypeDefault
    fileNameTQString
    formatchar
    conversion_flagsint
    -

  • -
  • load (fileName, format = 0, mode = WebColor) -
    -
    returns (bool)
    - - - -
    ArgumentTypeDefault
    fileNameTQString
    formatchar0
    modeColorModeWebColor
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kdefx/KPixmapEffect.html b/python/pykde/doc/classref/kdefx/KPixmapEffect.html deleted file mode 100644 index 7b08725b..00000000 --- a/python/pykde/doc/classref/kdefx/KPixmapEffect.html +++ /dev/null @@ -1,178 +0,0 @@ - - - - - class KPixmapEffect - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KPixmapEffect


-
- - - - - -
Table of contents
Modules
kdefx Classes
All Classes
-
- - - - - - - - - - -
Modulekdefx
ClassKPixmapEffect
Inherits
-

enums

    -
  • GradientType = {VerticalGradient, HorizontalGradient, DiagonalGradient, CrossDiagonalGradient, PyramidGradient, RectangleGradient, PipeCrossGradient, EllipticGradient -}
  • Lighting = {NorthLite, NWLite, WestLite, SWLite, SouthLite, SELite, EastLite, NELite -}
  • RGBComponent = {Red, Green, Blue -}
-

methods

    -
  • blend (pixmap, initial_intensity, bgnd, eff, anti_dir = 0, ncols = 3) -
    - -
    returns (KPixmap)
    static
    - - - - - - -
    ArgumentTypeDefault
    pixmapKPixmap
    initial_intensityfloat
    bgndTQColor
    effKPixmapEffect.GradientType
    anti_dirbool0
    ncolsint3
    -

  • -
  • channelIntensity (pixmap, ratio, channel) -
    - -
    returns (KPixmap)
    static
    - - - -
    ArgumentTypeDefault
    pixmapKPixmap
    ratiofloat
    channelKPixmapEffect.RGBComponent
    -

  • -
  • contrast (pixmap, c) -
    - -
    returns (KPixmap)
    static
    - - -
    ArgumentTypeDefault
    pixmapKPixmap
    cint
    -

  • -
  • createTiled (pixmap, size) -
    - -
    returns (KPixmap)
    static
    - - -
    ArgumentTypeDefault
    pixmapKPixmap
    sizeTQSize
    -

  • -
  • desaturate (pixmap, desat = 0.3) -
    - -
    returns (KPixmap)
    static
    - - -
    ArgumentTypeDefault
    pixmapKPixmap
    desatfloat0.3
    -

  • -
  • dither (pixmap, palette, size) -
    - -
    returns (KPixmap)
    static
    - - - -
    ArgumentTypeDefault
    pixmapKPixmap
    paletteTQColor
    sizeint
    -

  • -
  • fade (pixmap, val, color) -
    - -
    returns (KPixmap)
    static
    - - - -
    ArgumentTypeDefault
    pixmapKPixmap
    valdouble
    colorTQColor
    -

  • -
  • gradient (pixmap, ca, cb, type, ncols = 3) -
    - -
    returns (KPixmap)
    static
    - - - - - -
    ArgumentTypeDefault
    pixmapKPixmap
    caTQColor
    cbTQColor
    typeKPixmapEffect.GradientType
    ncolsint3
    -

  • -
  • hash (pixmap, lite = NorthLite, spacing = 0, ncols = 3) -
    - -
    returns (KPixmap)
    static
    - - - - -
    ArgumentTypeDefault
    pixmapKPixmap
    liteKPixmapEffect.LightingNorthLite
    spacinguint0
    ncolsint3
    -

  • -
  • intensity (pixmap, ratio) -
    - -
    returns (KPixmap)
    static
    - - -
    ArgumentTypeDefault
    pixmapKPixmap
    ratiofloat
    -

  • -
  • pattern (pixmap, size, ca, cb, ncols = 8) -
    - -
    returns (KPixmap)
    static
    - - - - - -
    ArgumentTypeDefault
    pixmapKPixmap
    sizeTQSize
    caTQColor
    cbTQColor
    ncolsint8
    -

  • -
  • selectedPixmap (pixmap, col) -
    - -
    returns (KPixmap)
    static
    - - -
    ArgumentTypeDefault
    pixmapKPixmap
    colTQColor
    -

  • -
  • toGray (pixmap, fast = 0) -
    - -
    returns (KPixmap)
    static
    - - -
    ArgumentTypeDefault
    pixmapKPixmap
    fastbool0
    -

  • -
  • unbalancedGradient (pixmap, ca, cb, type, xfactor = 100, yfactor = 100, ncols = 3) -
    - -
    returns (KPixmap)
    static
    - - - - - - - -
    ArgumentTypeDefault
    pixmapKPixmap
    caTQColor
    cbTQColor
    typeKPixmapEffect.GradientType
    xfactorint100
    yfactorint100
    ncolsint3
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kdefx/KPixmapSplitter.html b/python/pykde/doc/classref/kdefx/KPixmapSplitter.html deleted file mode 100644 index 924d91d2..00000000 --- a/python/pykde/doc/classref/kdefx/KPixmapSplitter.html +++ /dev/null @@ -1,86 +0,0 @@ - - - - - class KPixmapSplitter - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KPixmapSplitter


-
- - - - - -
Table of contents
Modules
kdefx Classes
All Classes
-
- - - - - - - - - - -
Modulekdefx
ClassKPixmapSplitter
Inherits
-

methods

    -
  • KPixmapSplitter () -
    -
    returns a KPixmapSplitter instance

  • -
  • coordinates (pos) -
    -
    returns (TQRect)
    - -
    ArgumentTypeDefault
    posint
    -

  • -
  • coordinates (ch) -
    -
    returns (TQRect)
    - -
    ArgumentTypeDefault
    chTQChar
    -

  • -
  • itemSize () -
    -
    returns (TQSize)

  • -
  • pixmap () -
    -
    returns (TQPixmap)

  • -
  • setHSpacing (spacing) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    spacingint
    -

  • -
  • setItemSize (size) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    sizeTQSize
    -

  • -
  • setPixmap (pixmap) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    pixmapTQPixmap
    -

  • -
  • setVSpacing (spacing) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    spacingint
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kdefx/KStyle.html b/python/pykde/doc/classref/kdefx/KStyle.html deleted file mode 100644 index edaf40f9..00000000 --- a/python/pykde/doc/classref/kdefx/KStyle.html +++ /dev/null @@ -1,212 +0,0 @@ - - - - - class KStyle - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KStyle


-
- - - - - -
Table of contents
Modules
kdefx Classes
All Classes
-
- - - - - - - - - - -
Modulekdefx
ClassKStyle
InheritsTQCommonStyle
-

enums

    -
  • KStyleOption = {Default, AllowMenuTransparency, FilledFrameWorkaround -}
  • KStylePixelMetric = {KPM_MenuItemSeparatorHeight, KPM_MenuItemHMargin, KPM_MenuItemVMargin, KPM_MenuItemHFrame, KPM_MenuItemVFrame, KPM_MenuItemCheckMarkHMargin, KPM_MenuItemArrowHMargin, KPM_MenuItemTabSpacing, KPM_ListViewBranchThickness -}
  • KStylePrimitive = {KPE_DockWindowHandle, KPE_ToolBarHandle, KPE_GeneralHandle, KPE_SliderGroove, KPE_SliderHandle, KPE_ListViewExpander, KPE_ListViewBranch -}
  • KStyleScrollBarType = {WindowsStyleScrollBar, PlatinumStyleScrollBar, ThreeButtonScrollBar, NextStyleScrollBar -}
-

methods

    -
  • KStyle (flags = KStyle .Default, sbtype = KStyle .WindowsStyleScrollBar) -
    -
    returns a KStyle instance
    - - -
    ArgumentTypeDefault
    flagsKStyle.KStyleFlagsKStyle .Default
    sbtypeKStyle.KStyleScrollBarTypeKStyle .WindowsStyleScrollBar
    -

  • -
  • KStyle (a0) -
    -
    returns a KStyle instance
    - -
    ArgumentTypeDefault
    a0KStyle
    -

  • -
  • defaultStyle () -
    - - -
    returns (TQString)
    In versions KDE 3.1.0 and above only
    static

  • -
  • drawComplexControl (control, p, widget, r, cg, flags = Style_Default, controls = SC_All, active = SC_None, a0 = TQStyleOption (TQStyleOption .Default )) -
    -
    returns nothing
    - - - - - - - - - -
    ArgumentTypeDefault
    controlComplexControl
    pTQPainter
    widgetTQWidget
    rTQRect
    cgTQColorGroup
    flagsSFlagsStyle_Default
    controlsSCFlagsSC_All
    activeSCFlagsSC_None
    a0TQStyleOptionTQStyleOption (TQStyleOption .Default )
    -

  • -
  • drawControl (element, p, widget, r, cg, flags = Style_Default, a0 = TQStyleOption (TQStyleOption .Default )) -
    -
    returns nothing
    - - - - - - - -
    ArgumentTypeDefault
    elementControlElement
    pTQPainter
    widgetTQWidget
    rTQRect
    cgTQColorGroup
    flagsSFlagsStyle_Default
    a0TQStyleOptionTQStyleOption (TQStyleOption .Default )
    -

  • -
  • drawKStylePrimitive (kpe, p, widget, r, cg, flags = Style_Default, a0 = TQStyleOption (TQStyleOption .Default )) -
    -
    returns nothing
    - - - - - - - -
    ArgumentTypeDefault
    kpeKStyle.KStylePrimitive
    pTQPainter
    widgetTQWidget
    rTQRect
    cgTQColorGroup
    flagsSFlagsStyle_Default
    a0TQStyleOptionTQStyleOption (TQStyleOption .Default )
    -

  • -
  • drawPrimitive (pe, p, r, cg, flags = Style_Default, a0 = TQStyleOption (TQStyleOption .Default )) -
    -
    returns nothing
    - - - - - - -
    ArgumentTypeDefault
    pePrimitiveElement
    pTQPainter
    rTQRect
    cgTQColorGroup
    flagsSFlagsStyle_Default
    a0TQStyleOptionTQStyleOption (TQStyleOption .Default )
    -

  • -
  • eventFilter (object, event) -
    -
    returns (bool)
    - - -
    ArgumentTypeDefault
    objectTQObject
    eventTQEvent
    -

  • -
  • kPixelMetric (kpm, widget = 0) -
    -
    returns (int)
    - - -
    ArgumentTypeDefault
    kpmKStyle.KStylePixelMetric
    widgetTQWidget0
    -

  • -
  • pixelMetric (m, widget = 0) -
    -
    returns (int)
    - - -
    ArgumentTypeDefault
    mPixelMetric
    widgetTQWidget0
    -

  • -
  • polish (widget) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    widgetTQWidget
    -

  • -
  • polishPopupMenu (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0TQPopupMenu
    -

  • -
  • querySubControl (control, widget, pos, a0 = TQStyleOption (TQStyleOption .Default )) -
    -
    returns (SubControl)
    - - - - -
    ArgumentTypeDefault
    controlComplexControl
    widgetTQWidget
    posTQPoint
    a0TQStyleOptionTQStyleOption (TQStyleOption .Default )
    -

  • -
  • querySubControlMetrics (control, widget, sc, a0 = TQStyleOption (TQStyleOption .Default )) -
    -
    returns (TQRect)
    - - - - -
    ArgumentTypeDefault
    controlComplexControl
    widgetTQWidget
    scSubControl
    a0TQStyleOptionTQStyleOption (TQStyleOption .Default )
    -

  • -
  • renderMenuBlendPixmap (pix, cg, popup) -
    -
    returns nothing
    - - - -
    ArgumentTypeDefault
    pixKPixmap
    cgTQColorGroup
    popupTQPopupMenu
    -

  • -
  • setScrollBarType (sbtype) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    sbtypeKStyle.KStyleScrollBarType
    -

  • -
  • styleFlags () -
    -
    returns (KStyle.KStyleFlags)

  • -
  • styleHint (sh, w = 0, opt = TQStyleOption (TQStyleOption .Default ), shr = 0) -
    -
    returns (int)
    - - - - -
    ArgumentTypeDefault
    shStyleHint
    wTQWidget0
    optTQStyleOptionTQStyleOption (TQStyleOption .Default )
    shrQStyleHintReturn0
    -

  • -
  • stylePixmap (stylepixmap, widget = 0, a0 = TQStyleOption (TQStyleOption .Default )) -
    -
    returns (TQPixmap)
    - - - -
    ArgumentTypeDefault
    stylepixmapStylePixmap
    widgetTQWidget0
    a0TQStyleOptionTQStyleOption (TQStyleOption .Default )
    -

  • -
  • subRect (r, widget) -
    -
    returns (TQRect)
    - - -
    ArgumentTypeDefault
    rSubRect
    widgetTQWidget
    -

  • -
  • unPolish (widget) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    widgetTQWidget
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kdefx/index.html b/python/pykde/doc/classref/kdefx/index.html deleted file mode 100644 index fa1f59dc..00000000 --- a/python/pykde/doc/classref/kdefx/index.html +++ /dev/null @@ -1,41 +0,0 @@ - - - - - module kdefx - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

kdefx Class Index


-
- - - - -
Table of contents
Modules
All Classes
-
- kdefx Global and Namespace members

- -
- - - -
KCPUInfo - KImageEffect
KCPUInfo
KImageEffect
- - - -
KPixmap - KPixmapEffect
KPixmap
KPixmapEffect
- - - -
KPixmapSplitter - KStyle
KPixmapSplitter
KStyle
- - diff --git a/python/pykde/doc/classref/kdefx/kdefx-globals.html b/python/pykde/doc/classref/kdefx/kdefx-globals.html deleted file mode 100644 index 32374715..00000000 --- a/python/pykde/doc/classref/kdefx/kdefx-globals.html +++ /dev/null @@ -1,151 +0,0 @@ - - - - - kdefx globals - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

kdefx Globals


-
- - - - - -
Table of contents
Modules
kdefx Classes
All Classes
-
-

global methods

    -
  • kColorBitmaps (p, g, x, y, lightColor = 0, midColor = 0, midlightColor = 0, darkColor = 0, blackColor = 0, whiteColor = 0) -
    -
    returns nothing
    - - - - - - - - - - -
    ArgumentTypeDefault
    pTQPainter
    gTQColorGroup
    xint
    yint
    lightColorTQBitmap0
    midColorTQBitmap0
    midlightColorTQBitmap0
    darkColorTQBitmap0
    blackColorTQBitmap0
    whiteColorTQBitmap0
    -

  • -
  • kColorBitmaps (p, g, x, y, w, h, isXBitmaps = 1, lightColor = 0, midColor = 0, midlightColor = 0, darkColor = 0, blackColor = 0, whiteColor = 0) -
    -
    returns nothing
    - - - - - - - - - - - - - -
    ArgumentTypeDefault
    pTQPainter
    gTQColorGroup
    xint
    yint
    wint
    hint
    isXBitmapsbool1
    lightColoruchar0
    midColoruchar0
    midlightColoruchar0
    darkColoruchar0
    blackColoruchar0
    whiteColoruchar0
    -

  • -
  • kDrawBeButton (p, r, g, sunken = 0, fill = 0) -
    -
    returns nothing
    - - - - - -
    ArgumentTypeDefault
    pTQPainter
    rTQRect
    gTQColorGroup
    sunkenbool0
    fillTQBrush0
    -

  • -
  • kDrawBeButton (p, x, y, w, h, g, sunken = 0, fill = 0) -
    -
    returns nothing
    - - - - - - - - -
    ArgumentTypeDefault
    pTQPainter
    xint
    yint
    wint
    hint
    gTQColorGroup
    sunkenbool0
    fillTQBrush0
    -

  • -
  • kDrawNextButton (p, r, g, sunken = 0, fill = 0) -
    -
    returns nothing
    - - - - - -
    ArgumentTypeDefault
    pTQPainter
    rTQRect
    gTQColorGroup
    sunkenbool0
    fillTQBrush0
    -

  • -
  • kDrawNextButton (p, x, y, w, h, g, sunken = 0, fill = 0) -
    -
    returns nothing
    - - - - - - - - -
    ArgumentTypeDefault
    pTQPainter
    xint
    yint
    wint
    hint
    gTQColorGroup
    sunkenbool0
    fillTQBrush0
    -

  • -
  • kDrawRoundButton (p, r, g, sunken = 0) -
    -
    returns nothing
    - - - - -
    ArgumentTypeDefault
    pTQPainter
    rTQRect
    gTQColorGroup
    sunkenbool0
    -

  • -
  • kDrawRoundButton (p, x, y, w, h, g, sunken = 0) -
    -
    returns nothing
    - - - - - - - -
    ArgumentTypeDefault
    pTQPainter
    xint
    yint
    wint
    hint
    gTQColorGroup
    sunkenbool0
    -

  • -
  • kDrawRoundMask (p, x, y, w, h, clear = 0) -
    -
    returns nothing
    - - - - - - -
    ArgumentTypeDefault
    pTQPainter
    xint
    yint
    wint
    hint
    clearbool0
    -

  • -
  • kRoundMaskRegion (r, x, y, w, h) -
    -
    returns nothing
    - - - - - -
    ArgumentTypeDefault
    rTQRegion
    xint
    yint
    wint
    hint
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kdeprint/DrBase.html b/python/pykde/doc/classref/kdeprint/DrBase.html deleted file mode 100644 index c3b01264..00000000 --- a/python/pykde/doc/classref/kdeprint/DrBase.html +++ /dev/null @@ -1,137 +0,0 @@ - - - - - class DrBase - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class DrBase


-
- - - - - -
Table of contents
Modules
kdeprint Classes
All Classes
-
- - - - - - - - - - -
Modulekdeprint
ClassDrBase
Inherits
-

enums

    -
  • Type = {Base = 0, Main, ChoiceGroup, Group, String, Integer, Float, List, Boolean -}
-

methods

    -
  • DrBase () -
    - -
    returns a DrBase instance
    In versions KDE 3.1.0 and above only

  • -
  • clone () -
    - -
    returns (DrBase)
    In versions KDE 3.1.0 and above only

  • -
  • conflict () -
    - -
    returns (bool)
    In versions KDE 3.1.0 and above only

  • -
  • createItem (parent, after = 0) -
    Not Implemented
    -

  • -
  • get (key) -
    - -
    returns (TQString)
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    keyTQString
    -

  • -
  • getOptions (opts, incldef = 0) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - - -
    ArgumentTypeDefault
    optsTQMap
    incldefbool0
    -

  • -
  • has (key) -
    - -
    returns (bool)
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    keyTQString
    -

  • -
  • isOption () -
    - -
    returns (bool)
    In versions KDE 3.1.0 and above only

  • -
  • name () -
    - -
    returns (TQString)
    In versions KDE 3.1.0 and above only

  • -
  • prettyText () -
    - -
    returns (TQString)
    In versions KDE 3.1.0 and above only

  • -
  • set (key, val) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - - -
    ArgumentTypeDefault
    keyTQString
    valTQString
    -

  • -
  • setConflict (on) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    onbool
    -

  • -
  • setName (s) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    sTQString
    -

  • -
  • setOptions (opts) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    optsTQMap
    -

  • -
  • setValueText (a0) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    a0TQString
    -

  • -
  • type () -
    - -
    returns (DrBase.Type)
    In versions KDE 3.1.0 and above only

  • -
  • valueText () -
    - -
    returns (TQString)
    In versions KDE 3.1.0 and above only

  • -
- - - diff --git a/python/pykde/doc/classref/kdeprint/DrBooleanOption.html b/python/pykde/doc/classref/kdeprint/DrBooleanOption.html deleted file mode 100644 index 57d6aad6..00000000 --- a/python/pykde/doc/classref/kdeprint/DrBooleanOption.html +++ /dev/null @@ -1,45 +0,0 @@ - - - - - class DrBooleanOption - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class DrBooleanOption


-
- - - - - -
Table of contents
Modules
kdeprint Classes
All Classes
-
- - - - - - - - - - -
Modulekdeprint
ClassDrBooleanOption
InheritsDrListOption
-

methods

    -
  • DrBooleanOption () -
    - -
    returns a DrBooleanOption instance
    In versions KDE 3.1.0 and above only

  • -
- - - diff --git a/python/pykde/doc/classref/kdeprint/DrChoiceGroup.html b/python/pykde/doc/classref/kdeprint/DrChoiceGroup.html deleted file mode 100644 index 9a2cedc1..00000000 --- a/python/pykde/doc/classref/kdeprint/DrChoiceGroup.html +++ /dev/null @@ -1,48 +0,0 @@ - - - - - class DrChoiceGroup - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class DrChoiceGroup


-
- - - - - -
Table of contents
Modules
kdeprint Classes
All Classes
-
- - - - - - - - - - -
Modulekdeprint
ClassDrChoiceGroup
InheritsDrGroup
-

methods

    -
  • DrChoiceGroup () -
    - -
    returns a DrChoiceGroup instance
    In versions KDE 3.1.0 and above only

  • -
  • createItem (parent, after = 0) -
    Not Implemented
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kdeprint/DrConstraint.html b/python/pykde/doc/classref/kdeprint/DrConstraint.html deleted file mode 100644 index 8037649e..00000000 --- a/python/pykde/doc/classref/kdeprint/DrConstraint.html +++ /dev/null @@ -1,65 +0,0 @@ - - - - - class DrConstraint - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class DrConstraint


-
- - - - - -
Table of contents
Modules
kdeprint Classes
All Classes
-
- - - - - - - - - - -
Modulekdeprint
ClassDrConstraint
Inherits
-

methods

    -
  • DrConstraint (o1, o2, c1 = TQString .null, c2 = TQString .null) -
    - -
    returns a DrConstraint instance
    In versions KDE 3.1.0 and above only
    - - - - -
    ArgumentTypeDefault
    o1TQString
    o2TQString
    c1TQStringTQString .null
    c2TQStringTQString .null
    -

  • -
  • DrConstraint (a0) -
    - -
    returns a DrConstraint instance
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    a0DrConstraint
    -

  • -
  • check (a0) -
    - -
    returns (bool)
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    a0DrMain
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kdeprint/DrFloatOption.html b/python/pykde/doc/classref/kdeprint/DrFloatOption.html deleted file mode 100644 index 80331b4a..00000000 --- a/python/pykde/doc/classref/kdeprint/DrFloatOption.html +++ /dev/null @@ -1,60 +0,0 @@ - - - - - class DrFloatOption - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class DrFloatOption


-
- - - - - -
Table of contents
Modules
kdeprint Classes
All Classes
-
- - - - - - - - - - -
Modulekdeprint
ClassDrFloatOption
InheritsDrBase
-

methods

    -
  • DrFloatOption () -
    - -
    returns a DrFloatOption instance
    In versions KDE 3.1.0 and above only

  • -
  • fixedVal () -
    - -
    returns (TQString)
    In versions KDE 3.1.0 and above only

  • -
  • setValueText (s) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    sTQString
    -

  • -
  • valueText () -
    - -
    returns (TQString)
    In versions KDE 3.1.0 and above only

  • -
- - - diff --git a/python/pykde/doc/classref/kdeprint/DrGroup.html b/python/pykde/doc/classref/kdeprint/DrGroup.html deleted file mode 100644 index b33ece2e..00000000 --- a/python/pykde/doc/classref/kdeprint/DrGroup.html +++ /dev/null @@ -1,136 +0,0 @@ - - - - - class DrGroup - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class DrGroup


-
- - - - - -
Table of contents
Modules
kdeprint Classes
All Classes
-
- - - - - - - - - - -
Modulekdeprint
ClassDrGroup
InheritsDrBase
-

methods

    -
  • DrGroup () -
    - -
    returns a DrGroup instance
    In versions KDE 3.1.0 and above only

  • -
  • addGroup (grp) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    grpDrGroup
    -

  • -
  • addObject (optgrp) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    optgrpDrBase
    -

  • -
  • addOption (opt) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    optDrBase
    -

  • -
  • clearConflict () -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only

  • -
  • clone () -
    - -
    returns (DrBase)
    In versions KDE 3.1.0 and above only

  • -
  • createItem (parent, after = 0) -
    Not Implemented
    -

  • -
  • createTree (parent) -
    Not Implemented
    -

  • -
  • findGroup (grp) -
    Not Implemented
    -

  • -
  • findOption (name) -
    Not Implemented
    -

  • -
  • flattenGroup (a0) -
    Not Implemented
    -

  • -
  • getOptions (opts, incldef = 0) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - - -
    ArgumentTypeDefault
    optsTQMap
    incldefbool0
    -

  • -
  • groupForOption (optname) -
    - - -
    returns (TQString)
    In versions KDE 3.2.0 and above only
    static
    - -
    ArgumentTypeDefault
    optnameTQString
    -

  • -
  • groups () -
    Not Implemented
    -

  • -
  • isEmpty () -
    - -
    returns (bool)
    In versions KDE 3.1.0 and above only

  • -
  • options () -
    Not Implemented
    -

  • -
  • removeGroup (grp) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    grpDrGroup
    -

  • -
  • removeOption (name) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    nameTQString
    -

  • -
  • setOptions (opts) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    optsTQMap
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kdeprint/DrIntegerOption.html b/python/pykde/doc/classref/kdeprint/DrIntegerOption.html deleted file mode 100644 index cc986e79..00000000 --- a/python/pykde/doc/classref/kdeprint/DrIntegerOption.html +++ /dev/null @@ -1,60 +0,0 @@ - - - - - class DrIntegerOption - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class DrIntegerOption


-
- - - - - -
Table of contents
Modules
kdeprint Classes
All Classes
-
- - - - - - - - - - -
Modulekdeprint
ClassDrIntegerOption
InheritsDrBase
-

methods

    -
  • DrIntegerOption () -
    - -
    returns a DrIntegerOption instance
    In versions KDE 3.1.0 and above only

  • -
  • fixedVal () -
    - -
    returns (TQString)
    In versions KDE 3.1.0 and above only

  • -
  • setValueText (s) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    sTQString
    -

  • -
  • valueText () -
    - -
    returns (TQString)
    In versions KDE 3.1.0 and above only

  • -
- - - diff --git a/python/pykde/doc/classref/kdeprint/DrListOption.html b/python/pykde/doc/classref/kdeprint/DrListOption.html deleted file mode 100644 index 7bc91c25..00000000 --- a/python/pykde/doc/classref/kdeprint/DrListOption.html +++ /dev/null @@ -1,110 +0,0 @@ - - - - - class DrListOption - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class DrListOption


-
- - - - - -
Table of contents
Modules
kdeprint Classes
All Classes
-
- - - - - - - - - - -
Modulekdeprint
ClassDrListOption
InheritsDrBase
-

methods

    -
  • DrListOption () -
    - -
    returns a DrListOption instance
    In versions KDE 3.1.0 and above only

  • -
  • addChoice (ch) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    chDrBase
    -

  • -
  • choices () -
    Not Implemented
    -

  • -
  • clone () -
    - -
    returns (DrBase)
    In versions KDE 3.1.0 and above only

  • -
  • createItem (parent, after = 0) -
    Not Implemented
    -

  • -
  • currentChoice () -
    - -
    returns (DrBase)
    In versions KDE 3.1.0 and above only

  • -
  • findChoice (txt) -
    - -
    returns (DrBase)
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    txtTQString
    -

  • -
  • getOptions (opts, incldef = 0) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - - -
    ArgumentTypeDefault
    optsTQMap
    incldefbool0
    -

  • -
  • prettyText () -
    - -
    returns (TQString)
    In versions KDE 3.1.0 and above only

  • -
  • setChoice (choicenum) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    choicenumint
    -

  • -
  • setOptions (opts) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    optsTQMap
    -

  • -
  • setValueText (s) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    sTQString
    -

  • -
  • valueText () -
    - -
    returns (TQString)
    In versions KDE 3.1.0 and above only

  • -
- - - diff --git a/python/pykde/doc/classref/kdeprint/DrMain.html b/python/pykde/doc/classref/kdeprint/DrMain.html deleted file mode 100644 index f1f74c5d..00000000 --- a/python/pykde/doc/classref/kdeprint/DrMain.html +++ /dev/null @@ -1,94 +0,0 @@ - - - - - class DrMain - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class DrMain


-
- - - - - -
Table of contents
Modules
kdeprint Classes
All Classes
-
- - - - - - - - - - -
Modulekdeprint
ClassDrMain
InheritsDrGroup
-

methods

    -
  • DrMain () -
    - -
    returns a DrMain instance
    In versions KDE 3.1.0 and above only

  • -
  • addConstraint (c) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    cDrConstraint
    -

  • -
  • addPageSize (sz) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    szDrPageSize
    -

  • -
  • checkConstraints () -
    - -
    returns (int)
    In versions KDE 3.1.0 and above only

  • -
  • cloneDriver () -
    - -
    returns (DrMain)
    In versions KDE 3.1.0 and above only

  • -
  • createTreeView (parent) -
    Not Implemented
    -

  • -
  • findPageSize (name) -
    - -
    returns (DrPageSize)
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    nameTQString
    -

  • -
  • flatten () -
    Not Implemented
    -

  • -
  • removeGroupGlobally (grp) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    grpDrGroup
    -

  • -
  • removeOptionGlobally (name) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    nameTQString
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kdeprint/DrPageSize.html b/python/pykde/doc/classref/kdeprint/DrPageSize.html deleted file mode 100644 index 4acbb03f..00000000 --- a/python/pykde/doc/classref/kdeprint/DrPageSize.html +++ /dev/null @@ -1,105 +0,0 @@ - - - - - class DrPageSize - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class DrPageSize


-
- - - - - -
Table of contents
Modules
kdeprint Classes
All Classes
-
- - - - - - - - - - -
Modulekdeprint
ClassDrPageSize
Inherits
-

methods

    -
  • DrPageSize (s, width, height, left, bottom, right, top) -
    - -
    returns a DrPageSize instance
    In versions KDE 3.1.0 and above only
    - - - - - - - -
    ArgumentTypeDefault
    sTQString
    widthint
    heightint
    leftint
    bottomint
    rightint
    topint
    -

  • -
  • DrPageSize (a0) -
    - -
    returns a DrPageSize instance
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    a0DrPageSize
    -

  • -
  • bottomMargin () -
    - -
    returns (float)
    In versions KDE 3.2.0 and above only

  • -
  • leftMargin () -
    - -
    returns (float)
    In versions KDE 3.2.0 and above only

  • -
  • margins () -
    - -
    returns (TQSize)
    In versions KDE 3.1.0 and above only

  • -
  • name () -
    - -
    returns (TQString)
    In versions less than KDE 3.2.0 only

  • -
  • pageHeight () -
    - -
    returns (float)
    In versions KDE 3.2.0 and above only

  • -
  • pageName () -
    - -
    returns (TQString)
    In versions KDE 3.2.0 and above only

  • -
  • pageRect () -
    - -
    returns (TQRect)
    In versions KDE 3.1.0 and above only

  • -
  • pageSize () -
    - -
    returns (TQSize)
    In versions KDE 3.1.0 and above only

  • -
  • pageWidth () -
    - -
    returns (float)
    In versions KDE 3.2.0 and above only

  • -
  • rightMargin () -
    - -
    returns (float)
    In versions KDE 3.2.0 and above only

  • -
  • topMargin () -
    - -
    returns (float)
    In versions KDE 3.2.0 and above only

  • -
- - - diff --git a/python/pykde/doc/classref/kdeprint/DrStringOption.html b/python/pykde/doc/classref/kdeprint/DrStringOption.html deleted file mode 100644 index 1bb21c07..00000000 --- a/python/pykde/doc/classref/kdeprint/DrStringOption.html +++ /dev/null @@ -1,56 +0,0 @@ - - - - - class DrStringOption - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class DrStringOption


-
- - - - - -
Table of contents
Modules
kdeprint Classes
All Classes
-
- - - - - - - - - - -
Modulekdeprint
ClassDrStringOption
InheritsDrBase
-

methods

    -
  • DrStringOption () -
    - -
    returns a DrStringOption instance
    In versions KDE 3.1.0 and above only

  • -
  • setValueText (s) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    sTQString
    -

  • -
  • valueText () -
    - -
    returns (TQString)
    In versions KDE 3.1.0 and above only

  • -
- - - diff --git a/python/pykde/doc/classref/kdeprint/KMJob.html b/python/pykde/doc/classref/kdeprint/KMJob.html deleted file mode 100644 index 6e592803..00000000 --- a/python/pykde/doc/classref/kdeprint/KMJob.html +++ /dev/null @@ -1,242 +0,0 @@ - - - - - class KMJob - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KMJob


-
- - - - - -
Table of contents
Modules
kdeprint Classes
All Classes
-
- - - - - - - - - - -
Modulekdeprint
ClassKMJob
InheritsKMObject
-

enums

    -
  • JobAction = {Remove, Move, Hold, Resume, Restart, ShowCompleted, All -}
  • JobState = {Printing, Queued, Held, Error, Cancelled, Aborted, Completed, Unknown -}
  • JobType = {System, Threaded -}
-

methods

    -
  • KMJob () -
    - -
    returns a KMJob instance
    In versions KDE 3.1.0 and above only

  • -
  • KMJob (j) -
    - -
    returns a KMJob instance
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    jKMJob
    -

  • -
  • attribute (i) -
    - -
    returns (TQString)
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    iint
    -

  • -
  • attributeCount () -
    - -
    returns (int)
    In versions KDE 3.1.0 and above only

  • -
  • copy (j) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    jKMJob
    -

  • -
  • id () -
    - -
    returns (int)
    In versions KDE 3.1.0 and above only

  • -
  • init () -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only

  • -
  • isActive () -
    - -
    returns (bool)
    In versions KDE 3.1.0 and above only

  • -
  • isCompleted () -
    - -
    returns (bool)
    In versions KDE 3.1.0 and above only

  • -
  • isRemote () -
    - -
    returns (bool)
    In versions KDE 3.1.0 and above only

  • -
  • name () -
    - -
    returns (TQString)
    In versions KDE 3.1.0 and above only

  • -
  • owner () -
    - -
    returns (TQString)
    In versions KDE 3.1.0 and above only

  • -
  • pages () -
    - -
    returns (int)
    In versions KDE 3.1.0 and above only

  • -
  • pixmap () -
    - -
    returns (TQString)
    In versions KDE 3.1.0 and above only

  • -
  • printer () -
    - -
    returns (TQString)
    In versions KDE 3.1.0 and above only

  • -
  • processedPages () -
    - -
    returns (int)
    In versions KDE 3.1.0 and above only

  • -
  • processedSize () -
    - -
    returns (int)
    In versions KDE 3.1.0 and above only

  • -
  • setAttribute (i, att) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - - -
    ArgumentTypeDefault
    iint
    attTQString
    -

  • -
  • setAttributeCount (c) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    cint
    -

  • -
  • setId (id) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    idint
    -

  • -
  • setName (s) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    sTQString
    -

  • -
  • setOwner (s) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    sTQString
    -

  • -
  • setPages (p) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    pint
    -

  • -
  • setPrinter (s) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    sTQString
    -

  • -
  • setProcessedPages (p) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    pint
    -

  • -
  • setProcessedSize (s) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    sint
    -

  • -
  • setRemote (on) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    onbool
    -

  • -
  • setSize (s) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    sint
    -

  • -
  • setState (s) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    sint
    -

  • -
  • setType (t) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    tint
    -

  • -
  • setUri (s) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    sTQString
    -

  • -
  • size () -
    - -
    returns (int)
    In versions KDE 3.1.0 and above only

  • -
  • state () -
    - -
    returns (int)
    In versions KDE 3.1.0 and above only

  • -
  • stateString () -
    - -
    returns (TQString)
    In versions KDE 3.1.0 and above only

  • -
  • type () -
    - -
    returns (int)
    In versions KDE 3.1.0 and above only

  • -
  • uri () -
    - -
    returns (TQString)
    In versions KDE 3.1.0 and above only

  • -
- - - diff --git a/python/pykde/doc/classref/kdeprint/KMJobManager.JobFilter.html b/python/pykde/doc/classref/kdeprint/KMJobManager.JobFilter.html deleted file mode 100644 index 836b1b88..00000000 --- a/python/pykde/doc/classref/kdeprint/KMJobManager.JobFilter.html +++ /dev/null @@ -1,50 +0,0 @@ - - - - - class KMJobManager.JobFilter - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KMJobManager.JobFilter


-
- - - - - -
Table of contents
Modules
kdeprint Classes
All Classes
-
- - - - - - - - - - -
Modulekdeprint
ClassKMJobManager.JobFilter
Inherits
-

methods

    -
  • JobFilter () -
    - -
    returns a JobFilter instance
    In versions KDE 3.1.0 and above only

  • -
-

variables

  • -variables - - -
    VariableType
    m_isspecialbool
    m_type[2]int
- - - diff --git a/python/pykde/doc/classref/kdeprint/KMJobManager.html b/python/pykde/doc/classref/kdeprint/KMJobManager.html deleted file mode 100644 index 6c774e0f..00000000 --- a/python/pykde/doc/classref/kdeprint/KMJobManager.html +++ /dev/null @@ -1,204 +0,0 @@ - - - - - class KMJobManager - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KMJobManager


-
- - - - - -
Table of contents
Modules
kdeprint Classes
All Classes
-
- - - - - - - - - - -
Modulekdeprint
ClassKMJobManager
InheritsTQObject
-

enums

    -
  • JobType = {ActiveJobs, CompletedJobs -}
-

methods

    -
  • KMJobManager (parent = 0, name = 0) -
    - -
    returns a KMJobManager instance
    In versions KDE 3.1.0 and above only
    - - -
    ArgumentTypeDefault
    parentTQObject0
    namechar0
    -

  • -
  • actions () -
    - -
    returns (int)
    In versions KDE 3.1.0 and above only

  • -
  • addJob (a0) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    a0KMJob
    -

  • -
  • addPrinter (pr, type = ActiveJobs, isSpecial = 0) -
    - -
    returns nothing
    In versions KDE 3.2.2 and above only
    - - - -
    ArgumentTypeDefault
    prTQString
    typeKMJobManager.JobTypeActiveJobs
    isSpecialbool0
    -

  • -
  • addPrinter (a0, a1 = ActiveJobs) -
    - -
    returns nothing
    In versions less than KDE 3.2.2 only
    - - -
    ArgumentTypeDefault
    a0TQString
    a1KMJobManager.JobTypeActiveJobs
    -

  • -
  • clearFilter () -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only

  • -
  • createPluginActions (a0) -
    - -
    returns (TQValueList
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    a0KActionCollection
    -

  • -
  • discardAllJobs () -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only

  • -
  • doPluginAction (a0, a1) -
    - -
    returns (bool)
    In versions KDE 3.1.0 and above only
    - - -
    ArgumentTypeDefault
    a0int
    a1TQPtrList
    -

  • -
  • filter () -
    Not Implemented
    -

  • -
  • findJob (uri) -
    - -
    returns (KMJob)
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    uriTQString
    -

  • -
  • jobList (reload = 1) -
    - -
    returns (TQPtrList)
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    reloadbool1
    -

  • -
  • limit () -
    - -
    returns (int)
    In versions KDE 3.1.0 and above only

  • -
  • listJobs (prname, type, limit = 0) -
    - -
    returns (bool)
    In versions KDE 3.1.0 and above only
    - - - -
    ArgumentTypeDefault
    prnameTQString
    typeKMJobManager.JobType
    limitint0
    -

  • -
  • removeDiscardedJobs () -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only

  • -
  • removePrinter (pr, type = ActiveJobs) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - - -
    ArgumentTypeDefault
    prTQString
    typeKMJobManager.JobTypeActiveJobs
    -

  • -
  • self () -
    - - -
    returns (KMJobManager)
    In versions KDE 3.1.0 and above only
    static

  • -
  • sendCommand (uri, action, arg = TQString .null) -
    - -
    returns (bool)
    In versions KDE 3.1.0 and above only
    - - - -
    ArgumentTypeDefault
    uriTQString
    actionint
    argTQStringTQString .null
    -

  • -
  • sendCommand (jobs, action, arg = TQString .null) -
    - -
    returns (bool)
    In versions KDE 3.1.0 and above only
    - - - -
    ArgumentTypeDefault
    jobsTQPtrList
    actionint
    argTQStringTQString .null
    -

  • -
  • sendCommandSystemJob (jobs, action, arg = TQString .null) -
    - -
    returns (bool)
    In versions KDE 3.1.0 and above only
    - - - -
    ArgumentTypeDefault
    jobsTQPtrList
    actionint
    argTQStringTQString .null
    -

  • -
  • sendCommandThreadJob (jobs, action, arg = TQString .null) -
    - -
    returns (bool)
    In versions KDE 3.1.0 and above only
    - - - -
    ArgumentTypeDefault
    jobsTQPtrList
    actionint
    argTQStringTQString .null
    -

  • -
  • setLimit (val) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    valint
    -

  • -
  • threadJob () -
    Not Implemented
    -

  • -
  • validatePluginActions (a0, a1) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - - -
    ArgumentTypeDefault
    a0KActionCollection
    a1TQPtrList
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kdeprint/KMManager.html b/python/pykde/doc/classref/kdeprint/KMManager.html deleted file mode 100644 index 45f317ae..00000000 --- a/python/pykde/doc/classref/kdeprint/KMManager.html +++ /dev/null @@ -1,363 +0,0 @@ - - - - - class KMManager - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KMManager


-
- - - - - -
Table of contents
Modules
kdeprint Classes
All Classes
-
- - - - - - - - - - -
Modulekdeprint
ClassKMManager
InheritsTQObject
-

enums

    -
  • PrinterOperations = {PrinterEnabling, PrinterCreation, PrinterDefault, PrinterTesting, PrinterConfigure, PrinterRemoval, PrinterAll -}
  • ServerOperations = {ServerRestarting, ServerConfigure, ServerAll -}
-

methods

    -
  • KMManager (parent = 0, name = 0) -
    -
    returns a KMManager instance
    - - -
    ArgumentTypeDefault
    parentTQObject0
    namechar0
    -

  • -
  • addPrinter (p) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    pKMPrinter
    -

  • -
  • addPrinterWizard (parent = 0) -
    -
    returns (int)
    - -
    ArgumentTypeDefault
    parentTQWidget0
    -

  • -
  • checkUpdatePossible () -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only

  • -
  • checkUpdatePossibleInternal () -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only

  • -
  • completePrinter (p) -
    -
    returns (bool)
    - -
    ArgumentTypeDefault
    pKMPrinter
    -

  • -
  • completePrinter (name) -
    -
    returns (bool)
    - -
    ArgumentTypeDefault
    nameTQString
    -

  • -
  • completePrinterShort (p) -
    -
    returns (bool)
    - -
    ArgumentTypeDefault
    pKMPrinter
    -

  • -
  • configureServer (parent = 0) -
    -
    returns (bool)
    - -
    ArgumentTypeDefault
    parentTQWidget0
    -

  • -
  • createPluginActions (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0KActionCollection
    -

  • -
  • createPrinter (p) -
    -
    returns (bool)
    - -
    ArgumentTypeDefault
    pKMPrinter
    -

  • -
  • createSpecialPrinter (p) -
    -
    returns (bool)
    - -
    ArgumentTypeDefault
    pKMPrinter
    -

  • -
  • defaultPrinter () -
    -
    returns (KMPrinter)

  • -
  • detectLocalPrinters () -
    -
    returns (TQStringList)

  • -
  • discardAllPrinters (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0bool
    -

  • -
  • driverDbCreationProgram () -
    -
    returns (TQString)

  • -
  • driverDirectory () -
    -
    returns (TQString)

  • -
  • enableFilter (on) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    onbool
    -

  • -
  • enablePrinter (p, on) -
    -
    returns (bool)
    - - -
    ArgumentTypeDefault
    pKMPrinter
    onbool
    -

  • -
  • enablePrinter (name, state) -
    -
    returns (bool)
    - - -
    ArgumentTypeDefault
    nameTQString
    statebool
    -

  • -
  • errorMsg () -
    -
    returns (TQString)

  • -
  • findPrinter (name) -
    -
    returns (KMPrinter)
    - -
    ArgumentTypeDefault
    nameTQString
    -

  • -
  • hardDefault () -
    -
    returns (KMPrinter)

  • -
  • hasManagement () -
    -
    returns (bool)

  • -
  • invokeOptionsDialog (parent = 0) -
    -
    returns (bool)
    - -
    ArgumentTypeDefault
    parentTQWidget0
    -

  • -
  • isFilterEnabled () -
    -
    returns (bool)

  • -
  • listPrinters () -
    -
    returns nothing

  • -
  • loadDbDriver (entry) -
    Not Implemented
    -

  • -
  • loadDriver (p, config = 0) -
    Not Implemented
    -

  • -
  • loadFileDriver (filename) -
    Not Implemented
    -

  • -
  • loadPrinterDriver (p, config = 0) -
    Not Implemented
    -

  • -
  • modifyPrinter (oldp, newp) -
    -
    returns (bool)
    - - -
    ArgumentTypeDefault
    oldpKMPrinter
    newpKMPrinter
    -

  • -
  • notImplemented () -
    -
    returns (bool)

  • -
  • printerList (reload = 1) -
    -
    returns (TQPtrList)
    - -
    ArgumentTypeDefault
    reloadbool1
    -

  • -
  • printerListComplete (reload = 1) -
    -
    returns (TQPtrList)
    - -
    ArgumentTypeDefault
    reloadbool1
    -

  • -
  • printerOperationMask () -
    -
    returns (int)

  • -
  • removePrinter (p) -
    -
    returns (bool)
    - -
    ArgumentTypeDefault
    pKMPrinter
    -

  • -
  • removePrinter (name) -
    -
    returns (bool)
    - -
    ArgumentTypeDefault
    nameTQString
    -

  • -
  • removeSpecialPrinter (p) -
    -
    returns (bool)
    - -
    ArgumentTypeDefault
    pKMPrinter
    -

  • -
  • restartServer () -
    -
    returns (bool)

  • -
  • savePrinterDriver (p, d) -
    Not Implemented
    -

  • -
  • self () -
    - -
    returns (KMManager)
    static

  • -
  • serverOperationMask () -
    -
    returns (int)

  • -
  • setDefaultPrinter (p) -
    -
    returns (bool)
    - -
    ArgumentTypeDefault
    pKMPrinter
    -

  • -
  • setDefaultPrinter (name) -
    -
    returns (bool)
    - -
    ArgumentTypeDefault
    nameTQString
    -

  • -
  • setErrorMsg (s) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    sTQString
    -

  • -
  • setHardDefault (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0KMPrinter
    -

  • -
  • setHasManagement (on) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    onbool
    -

  • -
  • setPrinterOperationMask (m) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    mint
    -

  • -
  • setServerOperationMask (m) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    mint
    -

  • -
  • setSoftDefault (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0KMPrinter
    -

  • -
  • setUpdatePossible (a0) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    a0bool
    -

  • -
  • softDefault () -
    -
    returns (KMPrinter)

  • -
  • startPrinter (p, on) -
    -
    returns (bool)
    - - -
    ArgumentTypeDefault
    pKMPrinter
    onbool
    -

  • -
  • startPrinter (name, state) -
    -
    returns (bool)
    - - -
    ArgumentTypeDefault
    nameTQString
    statebool
    -

  • -
  • stateInformation () -
    - -
    returns (TQString)
    In versions KDE 3.1.0 and above only

  • -
  • testPage () -
    -
    returns (TQString)

  • -
  • testPrinter (p) -
    -
    returns (bool)
    - -
    ArgumentTypeDefault
    pKMPrinter
    -

  • -
  • uncompressFile (srcname, destname) -
    -
    returns (bool)
    - - -
    ArgumentTypeDefault
    srcnameTQString
    destnameTQString
    -

  • -
  • upPrinter (p, state) -
    -
    returns (bool)
    - - -
    ArgumentTypeDefault
    pKMPrinter
    statebool
    -

  • -
  • updatePossible (a0) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    a0bool
    -

  • -
  • validateDbDriver (entry) -
    Not Implemented
    -

  • -
  • validatePluginActions (a0, a1) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    a0KActionCollection
    a1KMPrinter
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kdeprint/KMObject.html b/python/pykde/doc/classref/kdeprint/KMObject.html deleted file mode 100644 index 3b5f474f..00000000 --- a/python/pykde/doc/classref/kdeprint/KMObject.html +++ /dev/null @@ -1,53 +0,0 @@ - - - - - class KMObject - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KMObject


-
- - - - - -
Table of contents
Modules
kdeprint Classes
All Classes
-
- - - - - - - - - - -
Modulekdeprint
ClassKMObject
Inherits
-

methods

    -
  • KMObject () -
    -
    returns a KMObject instance

  • -
  • isDiscarded () -
    -
    returns (bool)

  • -
  • setDiscarded (on = 1) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    onbool1
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kdeprint/KMPrinter.html b/python/pykde/doc/classref/kdeprint/KMPrinter.html deleted file mode 100644 index 19355ee8..00000000 --- a/python/pykde/doc/classref/kdeprint/KMPrinter.html +++ /dev/null @@ -1,420 +0,0 @@ - - - - - class KMPrinter - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KMPrinter


-
- - - - - -
Table of contents
Modules
kdeprint Classes
All Classes
-
- - - - - - - - - - -
Modulekdeprint
ClassKMPrinter
InheritsKMObject
-

enums

    -
  • PrinterCap = {CapBW, CapColor, CapDuplex, CapStaple, CapCopies, CapCollate, CapPunch, CapCover, CapBind, CapSort, CapSmall, CapMedium, CapLarge, CapVariable -}
  • PrinterState = {Idle, Stopped, Processing, Unknown, Rejecting, StateMask -}
  • PrinterType = {Printer, Class, Implicit, Virtual, Remote, Invalid, Special -}
-

methods

    -
  • KMPrinter () -
    -
    returns a KMPrinter instance

  • -
  • KMPrinter (p) -
    -
    returns a KMPrinter instance
    - -
    ArgumentTypeDefault
    pKMPrinter
    -

  • -
  • acceptJobs () -
    -
    returns (bool)

  • -
  • addMember (s) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    sTQString
    -

  • -
  • addPrinterCap (c) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    cint
    -

  • -
  • addType (t) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    tint
    -

  • -
  • autoConfigure (prt, parent = 0) -
    -
    returns (bool)
    - - -
    ArgumentTypeDefault
    prtKPrinter
    parentTQWidget0
    -

  • -
  • compare (p1, p2) -
    - -
    returns (int)
    static
    - - -
    ArgumentTypeDefault
    p1KMPrinter
    p2KMPrinter
    -

  • -
  • copy (p) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    pKMPrinter
    -

  • -
  • dbEntry () -
    Not Implemented
    -

  • -
  • defaultOption (key) -
    -
    returns (TQString)
    - -
    ArgumentTypeDefault
    keyTQString
    -

  • -
  • defaultOptions () -
    -
    returns (TQMap)

  • -
  • description () -
    -
    returns (TQString)

  • -
  • device () -
    - -
    returns (TQString)
    In versions KDE 3.2.0 and above only

  • -
  • device () -
    - -
    returns (KURL)
    In versions less than KDE 3.2.0 only

  • -
  • deviceProtocol () -
    - -
    returns (TQString)
    In versions KDE 3.2.0 and above only

  • -
  • driver () -
    Not Implemented
    -

  • -
  • driverInfo () -
    -
    returns (TQString)

  • -
  • editedOption (key) -
    -
    returns (TQString)
    - -
    ArgumentTypeDefault
    keyTQString
    -

  • -
  • editedOptions () -
    -
    returns (TQMap)

  • -
  • hasOption (key) -
    -
    returns (bool)
    - -
    ArgumentTypeDefault
    keyTQString
    -

  • -
  • instanceName () -
    -
    returns (TQString)

  • -
  • isClass (useImplicit = 1) -
    -
    returns (bool)
    - -
    ArgumentTypeDefault
    useImplicitbool1
    -

  • -
  • isEdited () -
    -
    returns (bool)

  • -
  • isHardDefault () -
    -
    returns (bool)

  • -
  • isImplicit () -
    -
    returns (bool)

  • -
  • isLocal () -
    -
    returns (bool)

  • -
  • isPrinter () -
    -
    returns (bool)

  • -
  • isRemote () -
    -
    returns (bool)

  • -
  • isSoftDefault () -
    -
    returns (bool)

  • -
  • isSpecial () -
    -
    returns (bool)

  • -
  • isValid () -
    -
    returns (bool)

  • -
  • isVirtual () -
    -
    returns (bool)

  • -
  • location () -
    -
    returns (TQString)

  • -
  • manufacturer () -
    -
    returns (TQString)

  • -
  • members () -
    -
    returns (TQStringList)

  • -
  • model () -
    -
    returns (TQString)

  • -
  • name () -
    -
    returns (TQString)

  • -
  • option (key) -
    -
    returns (TQString)
    - -
    ArgumentTypeDefault
    keyTQString
    -

  • -
  • options () -
    -
    returns (TQMap)

  • -
  • ownSoftDefault () -
    -
    returns (bool)

  • -
  • pixmap () -
    -
    returns (TQString)

  • -
  • printerCap () -
    - -
    returns (int)
    In versions KDE 3.2.0 and above only

  • -
  • printerName () -
    -
    returns (TQString)

  • -
  • removeOption (key) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    keyTQString
    -

  • -
  • setAcceptJobs (on) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    onbool
    -

  • -
  • setDbEntry (e) -
    Not Implemented
    -

  • -
  • setDefaultOption (key, value) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    keyTQString
    valueTQString
    -

  • -
  • setDefaultOptions (opts) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    optsTQMap
    -

  • -
  • setDescription (s) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    sTQString
    -

  • -
  • setDevice (d) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    dTQString
    -

  • -
  • setDevice (a0) -
    - -
    returns nothing
    In versions less than KDE 3.2.0 only
    - -
    ArgumentTypeDefault
    a0KURL
    -

  • -
  • setDriver (a0) -
    Not Implemented
    -

  • -
  • setDriverInfo (s) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    sTQString
    -

  • -
  • setEdited (on) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    onbool
    -

  • -
  • setEditedOption (key, value) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    keyTQString
    valueTQString
    -

  • -
  • setEditedOptions (opts) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    optsTQMap
    -

  • -
  • setHardDefault (on) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    onbool
    -

  • -
  • setInstanceName (s) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    sTQString
    -

  • -
  • setLocation (s) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    sTQString
    -

  • -
  • setManufacturer (s) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    sTQString
    -

  • -
  • setMembers (l) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    lTQStringList
    -

  • -
  • setModel (s) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    sTQString
    -

  • -
  • setName (s) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    sTQString
    -

  • -
  • setOption (key, value) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    keyTQString
    valueTQString
    -

  • -
  • setOptions (opts) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    optsTQMap
    -

  • -
  • setOwnSoftDefault (on) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    onbool
    -

  • -
  • setPixmap (s) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    sTQString
    -

  • -
  • setPrinterCap (c) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    cint
    -

  • -
  • setPrinterName (s) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    sTQString
    -

  • -
  • setSoftDefault (on) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    onbool
    -

  • -
  • setState (s) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    sKMPrinter.PrinterState
    -

  • -
  • setType (t) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    tint
    -

  • -
  • setUri (u) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    uKURL
    -

  • -
  • state (complete = 0) -
    -
    returns (KMPrinter.PrinterState)
    - -
    ArgumentTypeDefault
    completebool0
    -

  • -
  • stateString () -
    -
    returns (TQString)

  • -
  • takeDriver () -
    Not Implemented
    -

  • -
  • type () -
    -
    returns (int)

  • -
  • uri () -
    -
    returns (KURL)

  • -
- - - diff --git a/python/pykde/doc/classref/kdeprint/KPReloadObject.html b/python/pykde/doc/classref/kdeprint/KPReloadObject.html deleted file mode 100644 index e3b5dc37..00000000 --- a/python/pykde/doc/classref/kdeprint/KPReloadObject.html +++ /dev/null @@ -1,57 +0,0 @@ - - - - - class KPReloadObject - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KPReloadObject


-
- - - - - -
Table of contents
Modules
kdeprint Classes
All Classes
-
- - - - - - - - - - -
Modulekdeprint
ClassKPReloadObject (abstract)
Inherits
-

methods

    -
  • KPReloadObject (priority = 0) -
    -
    returns a KPReloadObject instance
    - -
    ArgumentTypeDefault
    prioritybool0
    -

  • -
  • aboutToReload () -
    -
    returns nothing

  • -
  • configChanged () -
    -
    returns nothing

  • -
  • reload () = 0 -
    - -
    returns nothing
    pure virtual

  • -
- - - diff --git a/python/pykde/doc/classref/kdeprint/KPrintAction.html b/python/pykde/doc/classref/kdeprint/KPrintAction.html deleted file mode 100644 index 9f9db060..00000000 --- a/python/pykde/doc/classref/kdeprint/KPrintAction.html +++ /dev/null @@ -1,127 +0,0 @@ - - - - - class KPrintAction - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KPrintAction


-
- - - - - -
Table of contents
Modules
kdeprint Classes
All Classes
-
- - - - - - - - - - -
Modulekdeprint
ClassKPrintAction
InheritsKActionMenu
-

enums

    -
  • PrinterType = {All, Regular, Specials -}
-

methods

    -
  • KPrintAction (text, type = All, parentWidget = 0, parent = 0, name = 0) -
    -
    returns a KPrintAction instance
    - - - - - -
    ArgumentTypeDefault
    textTQString
    typeKPrintAction.PrinterTypeAll
    parentWidgetTQWidget0
    parentTQObject0
    namechar0
    -

  • -
  • KPrintAction (text, icon, type = All, parentWidget = 0, parent = 0, name = 0) -
    -
    returns a KPrintAction instance
    - - - - - - -
    ArgumentTypeDefault
    textTQString
    iconTQIconSet
    typeKPrintAction.PrinterTypeAll
    parentWidgetTQWidget0
    parentTQObject0
    namechar0
    -

  • -
  • KPrintAction (text, icon, type = All, parentWidget = 0, parent = 0, name = 0) -
    -
    returns a KPrintAction instance
    - - - - - - -
    ArgumentTypeDefault
    textTQString
    iconTQString
    typeKPrintAction.PrinterTypeAll
    parentWidgetTQWidget0
    parentTQObject0
    namechar0
    -

  • -
  • exportAll (parentWidget = 0, parent = 0, name = 0) -
    - -
    returns (KPrintAction)
    static
    - - - -
    ArgumentTypeDefault
    parentWidgetTQWidget0
    parentTQObject0
    namechar0
    -

  • -
  • exportRegular (parentWidget = 0, parent = 0, name = 0) -
    - -
    returns (KPrintAction)
    static
    - - - -
    ArgumentTypeDefault
    parentWidgetTQWidget0
    parentTQObject0
    namechar0
    -

  • -
  • exportSpecial (parentWidget = 0, parent = 0, name = 0) -
    - -
    returns (KPrintAction)
    static
    - - - -
    ArgumentTypeDefault
    parentWidgetTQWidget0
    parentTQObject0
    namechar0
    -

  • -
  • initialize (type, parentWidget) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    typeKPrintAction.PrinterType
    parentWidgetTQWidget
    -

  • -
  • print_ (a0) -
    - -
    returns nothing
    Renamed: was ' print -' in C++
    - -
    ArgumentTypeDefault
    a0KPrinter
    -

  • -
  • slotAboutToShow () -
    -
    returns nothing

  • -
  • slotActivated (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0int
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kdeprint/KPrintDialog.html b/python/pykde/doc/classref/kdeprint/KPrintDialog.html deleted file mode 100644 index 82799d5e..00000000 --- a/python/pykde/doc/classref/kdeprint/KPrintDialog.html +++ /dev/null @@ -1,193 +0,0 @@ - - - - - class KPrintDialog - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KPrintDialog


-
- - - - - -
Table of contents
Modules
kdeprint Classes
All Classes
-
- - - - - - - - - - -
Modulekdeprint
ClassKPrintDialog
InheritsKDialog, KPReloadObject
-

methods

    -
  • KPrintDialog (parent = 0, name = 0) -
    -
    returns a KPrintDialog instance
    - - -
    ArgumentTypeDefault
    parentTQWidget0
    namechar0
    -

  • -
  • checkOutputFile () -
    -
    returns (bool)

  • -
  • configChanged () -
    -
    returns nothing

  • -
  • done (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0int
    -

  • -
  • enableDialogPage (index, flag = 1) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - - -
    ArgumentTypeDefault
    indexint
    flagbool1
    -

  • -
  • enableOutputFile (on) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    onbool
    -

  • -
  • enableSpecial (on) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    onbool
    -

  • -
  • expandDialog (on = 1) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    onbool1
    -

  • -
  • init () -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only

  • -
  • initialize (a0) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    a0KPrinter
    -

  • -
  • initialize (a0) -
    - -
    returns nothing
    In versions less than KDE 3.1.0 only
    - -
    ArgumentTypeDefault
    a0KPrinter
    -

  • -
  • printRequested (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0KPrinter
    -

  • -
  • printer () -
    -
    returns (KPrinter)

  • -
  • printerDialog (a0, a1, caption = TQString .null, forceExpand = 0) -
    - -
    returns (KPrintDialog)
    static
    - - - - -
    ArgumentTypeDefault
    a0KPrinter
    a1TQWidget
    captionTQStringTQString .null
    forceExpandbool0
    -

  • -
  • reload () -
    -
    returns nothing

  • -
  • setDialogPages (pages) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    pagesTQPtrList
    -

  • -
  • setFlags (f) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    fint
    -

  • -
  • setOutputFileExtension (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0TQString
    -

  • -
  • slotExtensionClicked () -
    -
    returns nothing

  • -
  • slotHelp () -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only

  • -
  • slotOpenFileDialog () -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only

  • -
  • slotOptions () -
    -
    returns nothing

  • -
  • slotOutputFileSelected (a0) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    a0TQString
    -

  • -
  • slotPrinterSelected (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0int
    -

  • -
  • slotProperties () -
    -
    returns nothing

  • -
  • slotSetDefault () -
    -
    returns nothing

  • -
  • slotToggleFilter (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0bool
    -

  • -
  • slotUpdatePossible (a0) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    a0bool
    -

  • -
  • slotWizard () -
    -
    returns nothing

  • -
- - - diff --git a/python/pykde/doc/classref/kdeprint/KPrintDialogPage.html b/python/pykde/doc/classref/kdeprint/KPrintDialogPage.html deleted file mode 100644 index 4864f9f9..00000000 --- a/python/pykde/doc/classref/kdeprint/KPrintDialogPage.html +++ /dev/null @@ -1,103 +0,0 @@ - - - - - class KPrintDialogPage - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KPrintDialogPage


-
- - - - - -
Table of contents
Modules
kdeprint Classes
All Classes
-
- - - - - - - - - - -
Modulekdeprint
ClassKPrintDialogPage
InheritsTQWidget
-

methods

    -
  • KPrintDialogPage (parent = 0, name = 0) -
    -
    returns a KPrintDialogPage instance
    - - -
    ArgumentTypeDefault
    parentTQWidget0
    namechar0
    -

  • -
  • KPrintDialogPage (pr, dr = 0, parent = 0, name = 0) -
    Not Implemented
    -

  • -
  • driver () -
    Not Implemented
    -

  • -
  • getOptions (opts, incldef = 0) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    optsTQMap
    incldefbool0
    -

  • -
  • id () -
    -
    returns (int)

  • -
  • isValid (msg) -
    -
    returns (bool)
    - -
    ArgumentTypeDefault
    msgTQString
    -

  • -
  • onlyRealPrinters () -
    -
    returns (bool)

  • -
  • printer () -
    Not Implemented
    -

  • -
  • setId (ID) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    IDint
    -

  • -
  • setOnlyRealPrinters (on = 1) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    onbool1
    -

  • -
  • setOptions (opts) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    optsTQMap
    -

  • -
  • setTitle (txt) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    txtTQString
    -

  • -
  • title () -
    -
    returns (TQString)

  • -
- - - diff --git a/python/pykde/doc/classref/kdeprint/KPrinter.html b/python/pykde/doc/classref/kdeprint/KPrinter.html deleted file mode 100644 index 645b078f..00000000 --- a/python/pykde/doc/classref/kdeprint/KPrinter.html +++ /dev/null @@ -1,493 +0,0 @@ - - - - - class KPrinter - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KPrinter


-
- - - - - -
Table of contents
Modules
kdeprint Classes
All Classes
-
- - - - - - - - - - -
Modulekdeprint
ClassKPrinter
InheritsTQPaintDevice, KPReloadObject
-

enums

    -
  • ApplicationType = {Dialog, StandAlone, StandAlonePersistent -}
  • CollateType = {Collate, Uncollate -}
  • ColorMode = {GrayScale, Color -}
  • Orientation = {Portrait, Landscape -}
  • PageOrder = {FirstPageFirst, LastPageFirst -}
  • PageSelectionType = {ApplicationSide, SystemSide -}
  • PageSetType = {AllPages, OddPages, EvenPages -}
  • PageSize = {A4, B5, Letter, Legal, Executive, A0, A1, A2, A3, A5, A6, A7, A8, A9, B0, B1, B10, B2, B3, B4, B6, B7, B8, B9, C5E, Comm10E, DLE, Folio, Ledger, Tabloid, NPageSize -}
  • StandardPageType = {CopiesPage, FilesPage, Custom -}
-

methods

    -
  • KPrinter (restore = 1, m = TQPrinter .ScreenResolution) -
    -
    returns a KPrinter instance
    - - -
    ArgumentTypeDefault
    restorebool1
    mTQPrinter.PrinterModeTQPrinter .ScreenResolution
    -

  • -
  • abort () -
    -
    returns (bool)

  • -
  • aborted () -
    -
    returns (bool)

  • -
  • addDialogPage (_page) -
    - -
    returns nothing
    static
    - -
    ArgumentTypeDefault
    _pageKPrintDialogPage
    -

  • -
  • addStandardPage (p) -
    - -
    returns nothing
    static
    - -
    ArgumentTypeDefault
    pint
    -

  • -
  • applicationType () -
    - -
    returns (KPrinter.ApplicationType)
    static

  • -
  • autoConfigure (prname = TQString .null, parent = 0) -
    -
    returns (bool)
    - - -
    ArgumentTypeDefault
    prnameTQStringTQString .null
    parentTQWidget0
    -

  • -
  • cmd (a0, a1, a2) -
    Not Implemented
    -

  • -
  • collate () -
    -
    returns (KPrinter.CollateType)

  • -
  • colorMode () -
    -
    returns (KPrinter.ColorMode)

  • -
  • creator () -
    -
    returns (TQString)

  • -
  • currentPage () -
    -
    returns (int)

  • -
  • doPreview (file) -
    - -
    returns (bool)
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    fileTQString
    -

  • -
  • docDirectory () -
    - -
    returns (TQString)
    In versions KDE 3.1.0 and above only

  • -
  • docFileName () -
    -
    returns (TQString)

  • -
  • docName () -
    -
    returns (TQString)

  • -
  • errorMessage () -
    -
    returns (TQString)

  • -
  • finishPrinting () -
    -
    returns nothing

  • -
  • fromPage () -
    -
    returns (int)

  • -
  • fullPage () -
    -
    returns (bool)

  • -
  • implementation () -
    Not Implemented
    -

  • -
  • init (restore = 1, m = TQPrinter .ScreenResolution) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    restorebool1
    mTQPrinter.PrinterModeTQPrinter .ScreenResolution
    -

  • -
  • initOptions (opts) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    optsTQMap
    -

  • -
  • loadSettings () -
    -
    returns nothing

  • -
  • margins () -
    -
    returns (TQSize)

  • -
  • margins () -
    - -
    returns top (uint) left (uint) bottom (uint) right (uint)
    In versions KDE 3.1.0 and above only

  • -
  • maxPage () -
    -
    returns (int)

  • -
  • metric (a0) -
    -
    returns (int)
    - -
    ArgumentTypeDefault
    a0int
    -

  • -
  • minPage () -
    -
    returns (int)

  • -
  • newPage () -
    -
    returns (bool)

  • -
  • numCopies () -
    -
    returns (int)

  • -
  • option (key) -
    -
    returns (TQString)
    - -
    ArgumentTypeDefault
    keyTQString
    -

  • -
  • options () -
    -
    returns (TQMap)

  • -
  • orientation () -
    -
    returns (KPrinter.Orientation)

  • -
  • outputFileName () -
    -
    returns (TQString)

  • -
  • outputToFile () -
    -
    returns (bool)

  • -
  • pageList () -
    -
    returns (TQValueList)

  • -
  • pageOrder () -
    -
    returns (KPrinter.PageOrder)

  • -
  • pageSelection () -
    - -
    returns (KPrinter.PageSelectionType)
    static

  • -
  • pageSet () -
    -
    returns (KPrinter.PageSetType)

  • -
  • pageSize () -
    -
    returns (KPrinter.PageSize)

  • -
  • preparePrinting () -
    -
    returns nothing

  • -
  • previewOnly () -
    -
    returns (bool)

  • -
  • printFiles (files, removeafter = 0, startviewer = 1) -
    -
    returns (bool)
    - - - -
    ArgumentTypeDefault
    filesTQStringList
    removeafterbool0
    startviewerbool1
    -

  • -
  • printProgram () -
    -
    returns (TQString)

  • -
  • printerName () -
    -
    returns (TQString)

  • -
  • printerSelectionOption () -
    -
    returns (TQString)

  • -
  • realDrawableArea () -
    - -
    returns (TQRect)
    In versions KDE 3.1.0 and above only

  • -
  • realPageSize () -
    -
    returns (TQSize)

  • -
  • reload () -
    -
    returns nothing

  • -
  • removeStandardPage (p) -
    - -
    returns nothing
    static
    - -
    ArgumentTypeDefault
    pint
    -

  • -
  • resolution () -
    - -
    returns (int)
    In versions KDE 3.1.0 and above only

  • -
  • saveSettings () -
    -
    returns nothing

  • -
  • searchName () -
    -
    returns (TQString)

  • -
  • setApplicationType (type) -
    - -
    returns nothing
    static
    - -
    ArgumentTypeDefault
    typeKPrinter.ApplicationType
    -

  • -
  • setCollate (type) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    typeKPrinter.CollateType
    -

  • -
  • setColorMode (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0KPrinter.ColorMode
    -

  • -
  • setCreator (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0TQString
    -

  • -
  • setCurrentPage (p = 0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    pint0
    -

  • -
  • setDocDirectory (dir) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    dirTQString
    -

  • -
  • setDocFileName (filename) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    filenameTQString
    -

  • -
  • setDocName (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0TQString
    -

  • -
  • setErrorMessage (msg) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    msgTQString
    -

  • -
  • setFromTo (a0, a1) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    a0int
    a1int
    -

  • -
  • setFullPage (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0bool
    -

  • -
  • setMargins (m) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    mTQSize
    -

  • -
  • setMargins (top, left, bottom, right) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - - - - -
    ArgumentTypeDefault
    topuint
    leftuint
    bottomuint
    rightuint
    -

  • -
  • setMinMax (a0, a1) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    a0int
    a1int
    -

  • -
  • setNumCopies (n) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    nint
    -

  • -
  • setOption (key, value) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    keyTQString
    valueTQString
    -

  • -
  • setOption (key, value, broadcast) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - - - -
    ArgumentTypeDefault
    keyTQString
    valueTQString
    broadcastbool
    -

  • -
  • setOptions (opts) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    optsTQMap
    -

  • -
  • setOrientation (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0KPrinter.Orientation
    -

  • -
  • setOutputFileName (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0TQString
    -

  • -
  • setOutputToFile (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0bool
    -

  • -
  • setPageOrder (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0KPrinter.PageOrder
    -

  • -
  • setPageSelection (_mode) -
    - -
    returns nothing
    static
    - -
    ArgumentTypeDefault
    _modeKPrinter.PageSelectionType
    -

  • -
  • setPageSize (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0KPrinter.PageSize
    -

  • -
  • setPreviewOnly (on) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    onbool
    -

  • -
  • setPrintProgram (cmd) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    cmdTQString
    -

  • -
  • setPrinterName (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0TQString
    -

  • -
  • setPrinterSelectionOption (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0TQString
    -

  • -
  • setRealDrawableArea (r) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    rTQRect
    -

  • -
  • setRealPageSize (p) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    pTQSize
    -

  • -
  • setRealPageSize (p) -
    Not Implemented
    -

  • -
  • setResolution (dpi) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    dpiint
    -

  • -
  • setSearchName (n) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    nTQString
    -

  • -
  • setUsePrinterResolution (on) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    onbool
    -

  • -
  • setup (parent = 0, caption = TQString .null, forceExpand = 0) -
    -
    returns (bool)
    - - - -
    ArgumentTypeDefault
    parentTQWidget0
    captionTQStringTQString .null
    forceExpandbool0
    -

  • -
  • toPage () -
    -
    returns (int)

  • -
  • translateQtOptions () -
    -
    returns nothing

  • -
- - - diff --git a/python/pykde/doc/classref/kdeprint/index.html b/python/pykde/doc/classref/kdeprint/index.html deleted file mode 100644 index 21dad9e6..00000000 --- a/python/pykde/doc/classref/kdeprint/index.html +++ /dev/null @@ -1,46 +0,0 @@ - - - - - module kdeprint - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

kdeprint Class Index


-
- - - - -
Table of contents
Modules
All Classes
-
- kdeprint Global and Namespace members

- -
- - - - - -
KMJob - KMManager
KMJob
KMJobManager
KMJobManager.JobFilter
KMManager
- - - - - -
KMObject - KPrintAction
KMObject
KMPrinter
KPReloadObject
KPrintAction
- - - - -
KPrintDialog - KPrinter
KPrintDialog
KPrintDialogPage
KPrinter
- - diff --git a/python/pykde/doc/classref/kdeprint/kdeprint-globals.html b/python/pykde/doc/classref/kdeprint/kdeprint-globals.html deleted file mode 100644 index e0e2fa6e..00000000 --- a/python/pykde/doc/classref/kdeprint/kdeprint-globals.html +++ /dev/null @@ -1,45 +0,0 @@ - - - - - kdeprint globals - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

kdeprint Globals


-
- - - - - -
Table of contents
Modules
kdeprint Classes
All Classes
-
-

global methods

    -
  • pageNameToPageSize (name) -
    -
    returns (KPrinter.PageSize)
    - -
    ArgumentTypeDefault
    nameTQString
    -

  • -
  • pageSizeToPageName (s) -
    -
    returns (char)
    - -
    ArgumentTypeDefault
    sKPrinter.PageSize
    -

  • -
  • rangeToSize (a0) -
    Not Implemented
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kdeui/KAboutApplication.html b/python/pykde/doc/classref/kdeui/KAboutApplication.html deleted file mode 100644 index 9aac6e0c..00000000 --- a/python/pykde/doc/classref/kdeui/KAboutApplication.html +++ /dev/null @@ -1,64 +0,0 @@ - - - - - class KAboutApplication - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KAboutApplication


-
- - - - - -
Table of contents
Modules
kdeui Classes
All Classes
-
- - - - - - - - - - -
Modulekdeui
ClassKAboutApplication
InheritsKAboutDialog
-

methods

    -
  • KAboutApplication (parent = 0, name = 0, modal = 1) -
    -
    returns a KAboutApplication instance
    - - - -
    ArgumentTypeDefault
    parentTQWidget0
    namechar0
    modalbool1
    -

  • -
  • KAboutApplication (aboutData, parent = 0, name = 0, modal = 1) -
    -
    returns a KAboutApplication instance
    - - - - -
    ArgumentTypeDefault
    aboutDataKAboutData
    parentTQWidget0
    namechar0
    modalbool1
    -

  • -
  • buildDialog (aboutData) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    aboutDataKAboutData
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kdeui/KAboutContainer.html b/python/pykde/doc/classref/kdeui/KAboutContainer.html deleted file mode 100644 index f201255d..00000000 --- a/python/pykde/doc/classref/kdeui/KAboutContainer.html +++ /dev/null @@ -1,111 +0,0 @@ - - - - - class KAboutContainer - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KAboutContainer


-
- - - - - -
Table of contents
Modules
kdeui Classes
All Classes
-
- - - - - - - - - - -
Modulekdeui
ClassKAboutContainer
InheritsTQFrame
-

methods

    -
  • KAboutContainer (parent = 0, name = 0, margin = 0, spacing = 0, childAlignment = AlignCenter, innerAlignment = AlignCenter) -
    -
    returns a KAboutContainer instance
    - - - - - - -
    ArgumentTypeDefault
    parentTQWidget0
    namechar0
    marginint0
    spacingint0
    childAlignmentintAlignCenter
    innerAlignmentintAlignCenter
    -

  • -
  • addImage (fileName, alignment = AlignLeft) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    fileNameTQString
    alignmentintAlignLeft
    -

  • -
  • addPerson (name, email, url, task, showHeader = 0, showframe = 0, showBold = 0) -
    -
    returns nothing
    - - - - - - - -
    ArgumentTypeDefault
    nameTQString
    emailTQString
    urlTQString
    taskTQString
    showHeaderbool0
    showframebool0
    showBoldbool0
    -

  • -
  • addTitle (title, alignment = AlignLeft, showframe = 0, showBold = 0) -
    -
    returns nothing
    - - - - -
    ArgumentTypeDefault
    titleTQString
    alignmentintAlignLeft
    showframebool0
    showBoldbool0
    -

  • -
  • addWidget (widget) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    widgetTQWidget
    -

  • -
  • childEvent (e) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    eTQChildEvent
    -

  • -
  • mailClick (name, address) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    nameTQString
    addressTQString
    -

  • -
  • minimumSizeHint () -
    -
    returns (TQSize)

  • -
  • sizeHint () -
    -
    returns (TQSize)

  • -
  • urlClick (url) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    urlTQString
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kdeui/KAboutContributor.html b/python/pykde/doc/classref/kdeui/KAboutContributor.html deleted file mode 100644 index be78ee05..00000000 --- a/python/pykde/doc/classref/kdeui/KAboutContributor.html +++ /dev/null @@ -1,133 +0,0 @@ - - - - - class KAboutContributor - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KAboutContributor


-
- - - - - -
Table of contents
Modules
kdeui Classes
All Classes
-
- - - - - - - - - - -
Modulekdeui
ClassKAboutContributor
InheritsTQFrame
-

methods

    -
  • KAboutContributor (parent = 0, name = 0, username = TQString .null, email = TQString .null, url = TQString .null, work = TQString .null, showHeader = 0, showFrame = 1, showBold = 0) -
    -
    returns a KAboutContributor instance
    - - - - - - - - - -
    ArgumentTypeDefault
    parentTQWidget0
    namechar0
    usernameTQStringTQString .null
    emailTQStringTQString .null
    urlTQStringTQString .null
    workTQStringTQString .null
    showHeaderbool0
    showFramebool1
    showBoldbool0
    -

  • -
  • emailClickedSlot (emailaddress) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    emailaddressTQString
    -

  • -
  • fontChange (oldFont) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    oldFontTQFont
    -

  • -
  • getEmail () -
    -
    returns (TQString)

  • -
  • getName () -
    -
    returns (TQString)

  • -
  • getURL () -
    -
    returns (TQString)

  • -
  • getWork () -
    -
    returns (TQString)

  • -
  • openURL (url) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    urlTQString
    -

  • -
  • sendEmail (name, email) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    nameTQString
    emailTQString
    -

  • -
  • setEmail (text, header = TQString .null, update = 1) -
    -
    returns nothing
    - - - -
    ArgumentTypeDefault
    textTQString
    headerTQStringTQString .null
    updatebool1
    -

  • -
  • setName (text, header = TQString .null, update = 1) -
    -
    returns nothing
    - - - -
    ArgumentTypeDefault
    textTQString
    headerTQStringTQString .null
    updatebool1
    -

  • -
  • setURL (text, header = TQString .null, update = 1) -
    -
    returns nothing
    - - - -
    ArgumentTypeDefault
    textTQString
    headerTQStringTQString .null
    updatebool1
    -

  • -
  • setWork (text, header = TQString .null, update = 1) -
    -
    returns nothing
    - - - -
    ArgumentTypeDefault
    textTQString
    headerTQStringTQString .null
    updatebool1
    -

  • -
  • sizeHint () -
    -
    returns (TQSize)

  • -
  • urlClickedSlot (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0TQString
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kdeui/KAboutDialog.html b/python/pykde/doc/classref/kdeui/KAboutDialog.html deleted file mode 100644 index b0ff3c67..00000000 --- a/python/pykde/doc/classref/kdeui/KAboutDialog.html +++ /dev/null @@ -1,263 +0,0 @@ - - - - - class KAboutDialog - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KAboutDialog


-
- - - - - -
Table of contents
Modules
kdeui Classes
All Classes
-
- - - - - - - - - - -
Modulekdeui
ClassKAboutDialog
InheritsKDialogBase
-

enums

    -
  • LayoutType = {AbtPlain, AbtTabbed, AbtTitle, AbtImageLeft, AbtImageRight, AbtImageOnly, AbtProduct, AbtKDEStandard, AbtAppStandard, AbtImageAndTitle -}
-

methods

    -
  • KAboutDialog (parent = 0, name = 0, modal = 1) -
    -
    returns a KAboutDialog instance
    - - - -
    ArgumentTypeDefault
    parentTQWidget0
    namechar0
    modalbool1
    -

  • -
  • KAboutDialog (dialogLayout, caption, buttonMask, defaultButton, parent = 0, name = 0, modal = 0, separator = 0, user1 = TQString .null, user2 = TQString .null, user3 = TQString .null) -
    -
    returns a KAboutDialog instance
    - - - - - - - - - - - -
    ArgumentTypeDefault
    dialogLayoutint
    captionTQString
    buttonMaskint
    defaultButtonButtonCode
    parentTQWidget0
    namechar0
    modalbool0
    separatorbool0
    user1TQStringTQString .null
    user2TQStringTQString .null
    user3TQStringTQString .null
    -

  • -
  • addContainer (childAlignment, innerAlignment) -
    -
    returns (KAboutContainer)
    - - -
    ArgumentTypeDefault
    childAlignmentint
    innerAlignmentint
    -

  • -
  • addContainerPage (title, childAlignment = AlignCenter, innerAlignment = AlignCenter) -
    -
    returns (KAboutContainer)
    - - - -
    ArgumentTypeDefault
    titleTQString
    childAlignmentintAlignCenter
    innerAlignmentintAlignCenter
    -

  • -
  • addContributor (name, email, url, work) -
    -
    returns nothing
    - - - - -
    ArgumentTypeDefault
    nameTQString
    emailTQString
    urlTQString
    workTQString
    -

  • -
  • addLicensePage (title, text, numLines = 10) -
    -
    returns (TQFrame)
    - - - -
    ArgumentTypeDefault
    titleTQString
    textTQString
    numLinesint10
    -

  • -
  • addPage (title) -
    -
    returns (TQFrame)
    - -
    ArgumentTypeDefault
    titleTQString
    -

  • -
  • addScrolledContainerPage (title, childAlignment = AlignCenter, innerAlignment = AlignCenter) -
    -
    returns (KAboutContainer)
    - - - -
    ArgumentTypeDefault
    titleTQString
    childAlignmentintAlignCenter
    innerAlignmentintAlignCenter
    -

  • -
  • addTextPage (title, text, richText = 0, numLines = 10) -
    -
    returns (TQFrame)
    - - - - -
    ArgumentTypeDefault
    titleTQString
    textTQString
    richTextbool0
    numLinesint10
    -

  • -
  • adjust () -
    -
    returns nothing

  • -
  • imageURL (parent, caption, path, imageColor, url) -
    - -
    returns nothing
    static
    - - - - - -
    ArgumentTypeDefault
    parentTQWidget
    captionTQString
    pathTQString
    imageColorTQColor
    urlTQString
    -

  • -
  • mouseTrackSlot (mode, e) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    modeint
    eTQMouseEvent
    -

  • -
  • openURL (url) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    urlTQString
    -

  • -
  • openURLSlot (url) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    urlTQString
    -

  • -
  • sendEmail (name, email) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    nameTQString
    emailTQString
    -

  • -
  • sendEmailSlot (name, email) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    nameTQString
    emailTQString
    -

  • -
  • setAuthor (name, email, url, work) -
    -
    returns nothing
    - - - - -
    ArgumentTypeDefault
    nameTQString
    emailTQString
    urlTQString
    workTQString
    -

  • -
  • setIcon (fileName) -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only
    - -
    ArgumentTypeDefault
    fileNameTQString
    -

  • -
  • setImage (fileName) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    fileNameTQString
    -

  • -
  • setImageBackgroundColor (color) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    colorTQColor
    -

  • -
  • setImageFrame (state) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    statebool
    -

  • -
  • setLogo (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0TQPixmap
    -

  • -
  • setMaintainer (name, email, url, work) -
    -
    returns nothing
    - - - - -
    ArgumentTypeDefault
    nameTQString
    emailTQString
    urlTQString
    workTQString
    -

  • -
  • setProduct (appName, version, author, year) -
    -
    returns nothing
    - - - - -
    ArgumentTypeDefault
    appNameTQString
    versionTQString
    authorTQString
    yearTQString
    -

  • -
  • setProgramLogo (fileName) -
    - -
    returns nothing
    In versions KDE 3.4.0 and above only
    - -
    ArgumentTypeDefault
    fileNameTQString
    -

  • -
  • setProgramLogo (pixmap) -
    - -
    returns nothing
    In versions KDE 3.4.0 and above only
    - -
    ArgumentTypeDefault
    pixmapTQPixmap
    -

  • -
  • setTitle (title) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    titleTQString
    -

  • -
  • setVersion (name) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    nameTQString
    -

  • -
  • show () -
    -
    returns nothing

  • -
  • show (centerParent) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    centerParentTQWidget
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kdeui/KAboutKDE.html b/python/pykde/doc/classref/kdeui/KAboutKDE.html deleted file mode 100644 index 18f1abeb..00000000 --- a/python/pykde/doc/classref/kdeui/KAboutKDE.html +++ /dev/null @@ -1,49 +0,0 @@ - - - - - class KAboutKDE - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KAboutKDE


-
- - - - - -
Table of contents
Modules
kdeui Classes
All Classes
-
- - - - - - - - - - -
Modulekdeui
ClassKAboutKDE
InheritsKAboutDialog
-

methods

    -
  • KAboutKDE (parent = 0, name = 0, modal = 1) -
    -
    returns a KAboutKDE instance
    - - - -
    ArgumentTypeDefault
    parentTQWidget0
    namechar0
    modalbool1
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kdeui/KAboutWidget.html b/python/pykde/doc/classref/kdeui/KAboutWidget.html deleted file mode 100644 index 15f4a9a5..00000000 --- a/python/pykde/doc/classref/kdeui/KAboutWidget.html +++ /dev/null @@ -1,122 +0,0 @@ - - - - - class KAboutWidget - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KAboutWidget


-
- - - - - -
Table of contents
Modules
kdeui Classes
All Classes
-
- - - - - - - - - - -
Modulekdeui
ClassKAboutWidget
InheritsTQWidget
-

methods

    -
  • KAboutWidget (parent = 0, name = 0) -
    -
    returns a KAboutWidget instance
    - - -
    ArgumentTypeDefault
    parentTQWidget0
    namechar0
    -

  • -
  • addContributor (name, email, url, work) -
    -
    returns nothing
    - - - - -
    ArgumentTypeDefault
    nameTQString
    emailTQString
    urlTQString
    workTQString
    -

  • -
  • adjust () -
    -
    returns nothing

  • -
  • openURL (url) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    urlTQString
    -

  • -
  • openURLSlot (url) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    urlTQString
    -

  • -
  • resizeEvent (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0TQResizeEvent
    -

  • -
  • sendEmail (name, email) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    nameTQString
    emailTQString
    -

  • -
  • sendEmailSlot (name, email) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    nameTQString
    emailTQString
    -

  • -
  • setAuthor (name, email, url, work) -
    -
    returns nothing
    - - - - -
    ArgumentTypeDefault
    nameTQString
    emailTQString
    urlTQString
    workTQString
    -

  • -
  • setLogo (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0TQPixmap
    -

  • -
  • setMaintainer (name, email, url, work) -
    -
    returns nothing
    - - - - -
    ArgumentTypeDefault
    nameTQString
    emailTQString
    urlTQString
    workTQString
    -

  • -
  • setVersion (name) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    nameTQString
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kdeui/KAction.html b/python/pykde/doc/classref/kdeui/KAction.html deleted file mode 100644 index d9e70585..00000000 --- a/python/pykde/doc/classref/kdeui/KAction.html +++ /dev/null @@ -1,531 +0,0 @@ - - - - - class KAction - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KAction


-
- - - - - -
Table of contents
Modules
kdeui Classes
All Classes
-
- - - - - - - - - - -
Modulekdeui
ClassKAction
InheritsTQObject
-

enums

    -
  • ActivationReason = {UnknownActivation, EmulatedActivation, AccelActivation, PopupMenuActivation, ToolBarActivation -}
-

methods

    -
  • KAction (text, cut, slot, parent, name) -
    -
    returns a KAction instance
    - - - - - -
    ArgumentTypeDefault
    textTQString
    cutKShortcut
    slotSLOT (Python callable)
    parentKActionCollection
    namechar
    -

  • -
  • KAction (text, pix, cut, slot, parent, name) -
    -
    returns a KAction instance
    - - - - - - -
    ArgumentTypeDefault
    textTQString
    pixTQIconSet
    cutKShortcut
    slotSLOT (Python callable)
    parentKActionCollection
    namechar
    -

  • -
  • KAction (parent = 0, name = 0) -
    -
    returns a KAction instance
    - - -
    ArgumentTypeDefault
    parentTQObject0
    namechar0
    -

  • -
  • KAction (text, pix, cut, slot, parent, name) -
    -
    returns a KAction instance
    - - - - - - -
    ArgumentTypeDefault
    textTQString
    pixTQString
    cutKShortcut
    slotSLOT (Python callable)
    parentKActionCollection
    namechar
    -

  • -
  • KAction (item, cut, slot, parent, name) -
    -
    returns a KAction instance
    - - - - - -
    ArgumentTypeDefault
    itemKGuiItem
    cutKShortcut
    slotSLOT (Python callable)
    parentKActionCollection
    namechar
    -

  • -
  • KAction (text, cut = KShortcut (), parent = 0, name = 0) -
    -
    returns a KAction instance
    - - - - -
    ArgumentTypeDefault
    textTQString
    cutKShortcutKShortcut ()
    parentTQObject0
    namechar0
    -

  • -
  • KAction (text, cut, slot, parent, name = 0) -
    -
    returns a KAction instance
    - - - - - -
    ArgumentTypeDefault
    textTQString
    cutKShortcut
    slotSLOT (Python callable)
    parentTQObject
    namechar0
    -

  • -
  • KAction (text, pix, cut = KShortcut (), parent = 0, name = 0) -
    -
    returns a KAction instance
    - - - - - -
    ArgumentTypeDefault
    textTQString
    pixTQIconSet
    cutKShortcutKShortcut ()
    parentTQObject0
    namechar0
    -

  • -
  • KAction (text, pix, cut = KShortcut (), parent = 0, name = 0) -
    -
    returns a KAction instance
    - - - - - -
    ArgumentTypeDefault
    textTQString
    pixTQString
    cutKShortcutKShortcut ()
    parentTQObject0
    namechar0
    -

  • -
  • KAction (text, pix, cut, slot, parent, name = 0) -
    -
    returns a KAction instance
    - - - - - - -
    ArgumentTypeDefault
    textTQString
    pixTQIconSet
    cutKShortcut
    slotSLOT (Python callable)
    parentTQObject
    namechar0
    -

  • -
  • KAction (text, pix, cut, slot, parent, name = 0) -
    -
    returns a KAction instance
    - - - - - - -
    ArgumentTypeDefault
    textTQString
    pixTQString
    cutKShortcut
    slotSLOT (Python callable)
    parentTQObject
    namechar0
    -

  • -
  • accel () -
    -
    returns (int)

  • -
  • activate () -
    -
    returns nothing

  • -
  • activated () -
    -
    returns nothing

  • -
  • activated (reason, state) -
    - -
    returns nothing
    In versions KDE 3.4.0 and above only
    - - -
    ArgumentTypeDefault
    reasonKAction.ActivationReason
    stateQt.ButtonState
    -

  • -
  • addContainer (parent, id) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    parentTQWidget
    idint
    -

  • -
  • addContainer (parent, representative) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    parentTQWidget
    representativeTQWidget
    -

  • -
  • container (index) -
    -
    returns (TQWidget)
    - -
    ArgumentTypeDefault
    indexint
    -

  • -
  • containerCount () -
    -
    returns (int)

  • -
  • enabled (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0bool
    -

  • -
  • findContainer (widget) -
    -
    returns (int)
    - -
    ArgumentTypeDefault
    widgetTQWidget
    -

  • -
  • findContainer (id) -
    - -
    returns (int)
    In versions KDE 3.4.0 and above only
    - -
    ArgumentTypeDefault
    idint
    -

  • -
  • getToolButtonID () -
    - -
    returns (int)
    static

  • -
  • group () -
    -
    returns (TQString)

  • -
  • guiItem () -
    - -
    returns (KGuiItem)
    In versions KDE 3.3.0 and above only

  • -
  • hasIcon () -
    -
    returns (bool)

  • -
  • hasIconSet () -
    -
    returns (bool)

  • -
  • icon () -
    -
    returns (TQString)

  • -
  • iconSet (group, size = 0) -
    -
    returns (TQIconSet)
    - - -
    ArgumentTypeDefault
    groupKIcon.Group
    sizeint0
    -

  • -
  • iconSet () -
    -
    returns (TQIconSet)

  • -
  • isEnabled () -
    -
    returns (bool)

  • -
  • isPlugged () -
    -
    returns (bool)

  • -
  • isPlugged (container) -
    - -
    returns (bool)
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    containerTQWidget
    -

  • -
  • isPlugged (container, id) -
    -
    returns (bool)
    - - -
    ArgumentTypeDefault
    containerTQWidget
    idint
    -

  • -
  • isPlugged (container, _representative) -
    -
    returns (bool)
    - - -
    ArgumentTypeDefault
    containerTQWidget
    _representativeTQWidget
    -

  • -
  • isShortcutConfigurable () -
    -
    returns (bool)

  • -
  • itemId (index) -
    -
    returns (int)
    - -
    ArgumentTypeDefault
    indexint
    -

  • -
  • kaccelCount () -
    - -
    returns (uint)
    In versions KDE 3.1.0 and above only

  • -
  • menuId (i) -
    -
    returns (int)
    - -
    ArgumentTypeDefault
    iint
    -

  • -
  • parentCollection () -
    -
    returns (KActionCollection)

  • -
  • plainText () -
    -
    returns (TQString)

  • -
  • plug (widget, index = -1) -
    -
    returns (int)
    - - -
    ArgumentTypeDefault
    widgetTQWidget
    indexint-1
    -

  • -
  • plugAccel (accel, configurable = 1) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    accelKAccel
    configurablebool1
    -

  • -
  • plugMainWindowAccel (w) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    wTQWidget
    -

  • -
  • popupMenu (index) -
    -
    returns (TQPopupMenu)
    - -
    ArgumentTypeDefault
    indexint
    -

  • -
  • removeContainer (index) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    indexint
    -

  • -
  • representative (index) -
    -
    returns (TQWidget)
    - -
    ArgumentTypeDefault
    indexint
    -

  • -
  • setAccel (key) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    keyint
    -

  • -
  • setDisabled (disable) -
    - -
    returns nothing
    In versions KDE 3.5.0 and above only
    - -
    ArgumentTypeDefault
    disablebool
    -

  • -
  • setEnabled (enable) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    enablebool
    -

  • -
  • setGroup (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0TQString
    -

  • -
  • setIcon (icon) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    iconTQString
    -

  • -
  • setIconSet (iconSet) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    iconSetTQIconSet
    -

  • -
  • setShortcut (a0) -
    -
    returns (bool)
    - -
    ArgumentTypeDefault
    a0KShortcut
    -

  • -
  • setShortcutConfigurable (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0bool
    -

  • -
  • setShortcutText (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0TQString
    -

  • -
  • setStatusText (text) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    textTQString
    -

  • -
  • setText (text) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    textTQString
    -

  • -
  • setToolTip (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0TQString
    -

  • -
  • setWhatsThis (text) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    textTQString
    -

  • -
  • shortcut () -
    -
    returns (KShortcut)

  • -
  • shortcutDefault () -
    -
    returns (KShortcut)

  • -
  • shortcutText () -
    -
    returns (TQString)

  • -
  • slotActivated () -
    -
    returns nothing

  • -
  • slotButtonClicked (a0, state) -
    - -
    returns nothing
    In versions KDE 3.4.0 and above only
    - - -
    ArgumentTypeDefault
    a0int
    stateQt.ButtonState
    -

  • -
  • slotDestroyed () -
    -
    returns nothing

  • -
  • slotKeycodeChanged () -
    -
    returns nothing

  • -
  • slotPopupActivated () -
    - -
    returns nothing
    In versions KDE 3.4.0 and above only

  • -
  • statusText () -
    -
    returns (TQString)

  • -
  • text () -
    -
    returns (TQString)

  • -
  • toolBar (index) -
    -
    returns (KToolBar)
    - -
    ArgumentTypeDefault
    indexint
    -

  • -
  • toolTip () -
    -
    returns (TQString)

  • -
  • unplug (w) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    wTQWidget
    -

  • -
  • unplugAccel () -
    -
    returns nothing

  • -
  • unplugAll () -
    -
    returns nothing

  • -
  • updateEnabled (i) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    iint
    -

  • -
  • updateGroup (id) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    idint
    -

  • -
  • updateIcon (i) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    iint
    -

  • -
  • updateIconSet (i) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    iint
    -

  • -
  • updateShortcut (i) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    iint
    -

  • -
  • updateShortcut (menu, id) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    menuTQPopupMenu
    idint
    -

  • -
  • updateText (i) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    iint
    -

  • -
  • updateToolTip (id) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    idint
    -

  • -
  • updateWhatsThis (i) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    iint
    -

  • -
  • whatsThis () -
    -
    returns (TQString)

  • -
  • whatsThisWithIcon () -
    - -
    returns (TQString)
    In versions KDE 3.1.0 and above only

  • -
- - - diff --git a/python/pykde/doc/classref/kdeui/KActionCollection.html b/python/pykde/doc/classref/kdeui/KActionCollection.html deleted file mode 100644 index 2483a8a4..00000000 --- a/python/pykde/doc/classref/kdeui/KActionCollection.html +++ /dev/null @@ -1,574 +0,0 @@ - - - - - class KActionCollection - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KActionCollection


-
- - - - - -
Table of contents
Modules
kdeui Classes
All Classes
-
- - - - - - - - - - -
Modulekdeui
ClassKActionCollection
InheritsTQObject
-

methods

    -
  • KActionCollection (a0, a1 = 0, a2 = 0) -
    - -
    returns a KActionCollection instance
    In versions less than KDE 3.2.0 only
    - - - -
    ArgumentTypeDefault
    a0TQWidget
    a1char0
    a2KInstance0
    -

  • -
  • KActionCollection (a0, a1, a2 = 0, a3 = 0) -
    - -
    returns a KActionCollection instance
    In versions less than KDE 3.2.0 only
    - - - - -
    ArgumentTypeDefault
    a0TQWidget
    a1TQObject
    a2char0
    a3KInstance0
    -

  • -
  • KActionCollection (a0) -
    - -
    returns a KActionCollection instance
    In versions less than KDE 3.2.0 only
    - -
    ArgumentTypeDefault
    a0KActionCollection
    -

  • -
  • KActionCollection (a0 = 0, a1 = 0, a2 = 0) -
    - -
    returns a KActionCollection instance
    In versions less than KDE 3.2.0 only
    - - - -
    ArgumentTypeDefault
    a0TQObject0
    a1char0
    a2KInstance0
    -

  • -
  • KActionCollection (parent, name = 0, instance = 0) -
    - -
    returns a KActionCollection instance
    In versions KDE 3.2.0 and above only
    - - - -
    ArgumentTypeDefault
    parentTQWidget
    namechar0
    instanceKInstance0
    -

  • -
  • KActionCollection (watch, parent, name = 0, instance = 0) -
    - -
    returns a KActionCollection instance
    In versions KDE 3.2.0 and above only
    - - - - -
    ArgumentTypeDefault
    watchTQWidget
    parentTQObject
    namechar0
    instanceKInstance0
    -

  • -
  • KActionCollection (copy) -
    - -
    returns a KActionCollection instance
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    copyKActionCollection
    -

  • -
  • KActionCollection (parent, name = 0, instance = 0) -
    - -
    returns a KActionCollection instance
    In versions KDE 3.2.0 and above only
    - - - -
    ArgumentTypeDefault
    parentTQObject
    namechar0
    instanceKInstance0
    -

  • -
  • KActionCollection (name, parent) -
    - -
    returns a KActionCollection instance
    In versions KDE 3.3.0 and above only
    - - -
    ArgumentTypeDefault
    namechar
    parentKXMLGUIClient
    -

  • -
  • accel () -
    - -
    returns (KAccel)
    In versions less than KDE 3.2.0 only

  • -
  • accel () -
    - -
    returns (KAccel)
    In versions KDE 3.2.0 and above only

  • -
  • action (a0) -
    - -
    returns (KAction)
    In versions less than KDE 3.2.0 only
    - -
    ArgumentTypeDefault
    a0int
    -

  • -
  • action (a0, a1 = 0) -
    - -
    returns (KAction)
    In versions less than KDE 3.2.0 only
    - - -
    ArgumentTypeDefault
    a0char
    a1char0
    -

  • -
  • action (index) -
    - -
    returns (KAction)
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    indexint
    -

  • -
  • action (name, classname = 0) -
    - -
    returns (KAction)
    In versions KDE 3.2.0 and above only
    - - -
    ArgumentTypeDefault
    namechar
    classnamechar0
    -

  • -
  • actionHighlighted (a0) -
    - -
    returns nothing
    In versions less than KDE 3.2.0 only
    - -
    ArgumentTypeDefault
    a0KAction
    -

  • -
  • actionHighlighted (a0, a1) -
    - -
    returns nothing
    In versions less than KDE 3.2.0 only
    - - -
    ArgumentTypeDefault
    a0KAction
    a1bool
    -

  • -
  • actionHighlighted (action) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    actionKAction
    -

  • -
  • actionHighlighted (action, highlight) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - - -
    ArgumentTypeDefault
    actionKAction
    highlightbool
    -

  • -
  • actionStatusText (a0) -
    - -
    returns nothing
    In versions less than KDE 3.2.0 only
    - -
    ArgumentTypeDefault
    a0TQString
    -

  • -
  • actionStatusText (text) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    textTQString
    -

  • -
  • actions (a0) -
    - -
    returns (TQValueList
    In versions KDE 3.1.5 and above, but less than KDE 3.5.3
    - -
    ArgumentTypeDefault
    a0TQString
    -

  • -
  • actions () -
    - -
    returns (TQValueList
    In versions KDE 3.1.5 and above, but less than KDE 3.5.3

  • -
  • actions (group) -
    - -
    returns (KActionPtrList)
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    groupTQString
    -

  • -
  • actions () -
    - -
    returns (KActionPtrList)
    In versions KDE 3.2.0 and above only

  • -
  • actions (a0) -
    - -
    returns (TQValueList
    In versions less than KDE 3.2.2 only( D MANDRAKE only)
    - -
    ArgumentTypeDefault
    a0TQString
    -

  • -
  • actions () -
    - -
    returns (TQValueList
    In versions less than KDE 3.2.2 only( D MANDRAKE only)

  • -
  • addDocCollection (a0) -
    - -
    returns (bool)
    In versions KDE 3.1.0 and above, but less than KDE 3.5.3
    - -
    ArgumentTypeDefault
    a0KActionCollection
    -

  • -
  • addDocCollection (pDoc) -
    - -
    returns (bool)
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    pDocKActionCollection
    -

  • -
  • builderKAccel () -
    - -
    returns (KAccel)
    In versions KDE 3.1.0 and above, but less than KDE 3.5.3

  • -
  • builderKAccel () -
    - -
    returns (KAccel)
    In versions KDE 3.2.0 and above only

  • -
  • clear () -
    - -
    returns nothing
    In versions less than KDE 3.2.0 only

  • -
  • clear () -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only

  • -
  • clearStatusText () -
    - -
    returns nothing
    In versions less than KDE 3.2.0 only

  • -
  • clearStatusText () -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only

  • -
  • connectHighlight (a0, a1) -
    - -
    returns nothing
    In versions less than KDE 3.2.0 only
    - - -
    ArgumentTypeDefault
    a0TQWidget
    a1KAction
    -

  • -
  • connectHighlight (container, action) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - - -
    ArgumentTypeDefault
    containerTQWidget
    actionKAction
    -

  • -
  • count () -
    - -
    returns (uint)
    In versions less than KDE 3.2.0 only

  • -
  • count () -
    - -
    returns (uint)
    In versions KDE 3.2.0 and above only

  • -
  • disconnectHighlight (a0, a1) -
    - -
    returns nothing
    In versions less than KDE 3.2.0 only
    - - -
    ArgumentTypeDefault
    a0TQWidget
    a1KAction
    -

  • -
  • disconnectHighlight (container, action) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - - -
    ArgumentTypeDefault
    containerTQWidget
    actionKAction
    -

  • -
  • groups () -
    - -
    returns (TQStringList)
    In versions less than KDE 3.2.0 only

  • -
  • groups () -
    - -
    returns (TQStringList)
    In versions KDE 3.2.0 and above only

  • -
  • highlightingEnabled () -
    - -
    returns (bool)
    In versions less than KDE 3.2.0 only

  • -
  • highlightingEnabled () -
    - -
    returns (bool)
    In versions KDE 3.2.0 and above only

  • -
  • insert (a0) -
    - -
    returns nothing
    In versions less than KDE 3.2.0 only
    - -
    ArgumentTypeDefault
    a0KAction
    -

  • -
  • insert (action) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    actionKAction
    -

  • -
  • inserted (a0) -
    - -
    returns nothing
    In versions less than KDE 3.2.0 only
    - -
    ArgumentTypeDefault
    a0KAction
    -

  • -
  • inserted (a0) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    a0KAction
    -

  • -
  • instance () -
    - -
    returns (KInstance)
    In versions less than KDE 3.2.0 only

  • -
  • instance () -
    - -
    returns (KInstance)
    In versions KDE 3.2.0 and above only

  • -
  • isAutoConnectShortcuts () -
    - -
    returns (bool)
    In versions KDE 3.1.0 and above, but less than KDE 3.5.3

  • -
  • isAutoConnectShortcuts () -
    - -
    returns (bool)
    In versions KDE 3.2.0 and above only

  • -
  • isEmpty () -
    - -
    returns (bool)
    In versions less than KDE 3.2.0 only

  • -
  • isEmpty () -
    - -
    returns (bool)
    In versions KDE 3.2.0 and above only

  • -
  • kaccel () -
    - -
    returns (KAccel)
    In versions KDE 3.1.0 and above, but less than KDE 3.5.3

  • -
  • kaccel () -
    - -
    returns (KAccel)
    In versions KDE 3.2.0 and above only

  • -
  • parentGUIClient () -
    - -
    returns (KXMLGUIClient)
    In versions KDE 3.3.0 and above only

  • -
  • readShortcutSettings (a0 = TQString .null, a1 = 0) -
    - -
    returns (bool)
    In versions less than KDE 3.2.0 only
    - - -
    ArgumentTypeDefault
    a0TQStringTQString .null
    a1KConfigBase0
    -

  • -
  • readShortcutSettings (sConfigGroup = TQString .null, pConfig = 0) -
    - -
    returns (bool)
    In versions KDE 3.2.0 and above only
    - - -
    ArgumentTypeDefault
    sConfigGroupTQStringTQString .null
    pConfigKConfigBase0
    -

  • -
  • remove (a0) -
    - -
    returns nothing
    In versions less than KDE 3.2.0 only
    - -
    ArgumentTypeDefault
    a0KAction
    -

  • -
  • remove (action) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    actionKAction
    -

  • -
  • removed (a0) -
    - -
    returns nothing
    In versions less than KDE 3.2.0 only
    - -
    ArgumentTypeDefault
    a0KAction
    -

  • -
  • removed (a0) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    a0KAction
    -

  • -
  • setAutoConnectShortcuts (a0) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above, but less than KDE 3.5.3
    - -
    ArgumentTypeDefault
    a0bool
    -

  • -
  • setAutoConnectShortcuts (a0) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    a0bool
    -

  • -
  • setHighlightingEnabled (a0) -
    - -
    returns nothing
    In versions less than KDE 3.2.0 only
    - -
    ArgumentTypeDefault
    a0bool
    -

  • -
  • setHighlightingEnabled (enable) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    enablebool
    -

  • -
  • setInstance (a0) -
    - -
    returns nothing
    In versions less than KDE 3.2.0 only
    - -
    ArgumentTypeDefault
    a0KInstance
    -

  • -
  • setInstance (instance) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    instanceKInstance
    -

  • -
  • setWidget (a0) -
    - -
    returns nothing
    In versions less than KDE 3.2.0 only
    - -
    ArgumentTypeDefault
    a0TQWidget
    -

  • -
  • setWidget (widget) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    widgetTQWidget
    -

  • -
  • setXMLFile (a0) -
    - -
    returns nothing
    In versions less than KDE 3.2.0 only
    - -
    ArgumentTypeDefault
    a0TQString
    -

  • -
  • setXMLFile (a0) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    a0TQString
    -

  • -
  • take (a0) -
    - -
    returns (KAction)
    In versions less than KDE 3.2.0 only
    - -
    ArgumentTypeDefault
    a0KAction
    -

  • -
  • take (action) -
    - -
    returns (KAction)
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    actionKAction
    -

  • -
  • writeShortcutSettings (a0 = TQString .null, a1 = 0) -
    - -
    returns (bool)
    In versions less than KDE 3.2.0 only
    - - -
    ArgumentTypeDefault
    a0TQStringTQString .null
    a1KConfigBase0
    -

  • -
  • writeShortcutSettings (sConfigGroup = TQString .null, pConfig = 0) -
    - -
    returns (bool)
    In versions KDE 3.2.0 and above only
    - - -
    ArgumentTypeDefault
    sConfigGroupTQStringTQString .null
    pConfigKConfigBase0
    -

  • -
  • xmlFile () -
    - -
    returns (TQString)
    In versions less than KDE 3.2.0 only

  • -
  • xmlFile () -
    - -
    returns (TQString)
    In versions KDE 3.2.0 and above only

  • -
-

operators

    -
  • operator + (a0) -
    - -
    returns (KActionCollection)
    In versions KDE 3.1.4 and above, but less than KDE 3.5.3
    - -
    ArgumentTypeDefault
    a0KActionCollection
    -

  • -
  • operator + (a0) -
    - -
    returns (KActionCollection)
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    a0KActionCollection
    -

  • -
  • operator += (a0) -
    - -
    returns (KActionCollection)
    In versions KDE 3.1.4 and above, but less than KDE 3.5.3
    - -
    ArgumentTypeDefault
    a0KActionCollection
    -

  • -
  • operator += (a0) -
    - -
    returns (KActionCollection)
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    a0KActionCollection
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kdeui/KActionMenu.html b/python/pykde/doc/classref/kdeui/KActionMenu.html deleted file mode 100644 index 316ba6be..00000000 --- a/python/pykde/doc/classref/kdeui/KActionMenu.html +++ /dev/null @@ -1,227 +0,0 @@ - - - - - class KActionMenu - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KActionMenu


-
- - - - - -
Table of contents
Modules
kdeui Classes
All Classes
-
- - - - - - - - - - -
Modulekdeui
ClassKActionMenu
InheritsKAction
-

methods

    -
  • KActionMenu (a0, a1 = 0, a2 = 0) -
    - -
    returns a KActionMenu instance
    In versions less than KDE 3.2.0 only
    - - - -
    ArgumentTypeDefault
    a0TQString
    a1TQObject0
    a2char0
    -

  • -
  • KActionMenu (a0, a1, a2 = 0, a3 = 0) -
    - -
    returns a KActionMenu instance
    In versions less than KDE 3.2.0 only
    - - - - -
    ArgumentTypeDefault
    a0TQString
    a1TQIconSet
    a2TQObject0
    a3char0
    -

  • -
  • KActionMenu (a0, a1, a2 = 0, a3 = 0) -
    - -
    returns a KActionMenu instance
    In versions less than KDE 3.2.0 only
    - - - - -
    ArgumentTypeDefault
    a0TQString
    a1TQString
    a2TQObject0
    a3char0
    -

  • -
  • KActionMenu (a0 = 0, a1 = 0) -
    - -
    returns a KActionMenu instance
    In versions less than KDE 3.2.0 only
    - - -
    ArgumentTypeDefault
    a0TQObject0
    a1char0
    -

  • -
  • KActionMenu (text, parent = 0, name = 0) -
    - -
    returns a KActionMenu instance
    In versions KDE 3.2.0 and above only
    - - - -
    ArgumentTypeDefault
    textTQString
    parentTQObject0
    namechar0
    -

  • -
  • KActionMenu (text, icon, parent = 0, name = 0) -
    - -
    returns a KActionMenu instance
    In versions KDE 3.2.0 and above only
    - - - - -
    ArgumentTypeDefault
    textTQString
    iconTQIconSet
    parentTQObject0
    namechar0
    -

  • -
  • KActionMenu (text, icon, parent = 0, name = 0) -
    - -
    returns a KActionMenu instance
    In versions KDE 3.2.0 and above only
    - - - - -
    ArgumentTypeDefault
    textTQString
    iconTQString
    parentTQObject0
    namechar0
    -

  • -
  • KActionMenu (parent = 0, name = 0) -
    - -
    returns a KActionMenu instance
    In versions KDE 3.2.0 and above only
    - - -
    ArgumentTypeDefault
    parentTQObject0
    namechar0
    -

  • -
  • delayed () -
    - -
    returns (bool)
    In versions less than KDE 3.2.0 only

  • -
  • delayed () -
    - -
    returns (bool)
    In versions KDE 3.2.0 and above only

  • -
  • insert (a0, a1 = -1) -
    - -
    returns nothing
    In versions less than KDE 3.2.0 only
    - - -
    ArgumentTypeDefault
    a0KAction
    a1int-1
    -

  • -
  • insert (a0, index = -1) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - - -
    ArgumentTypeDefault
    a0KAction
    indexint-1
    -

  • -
  • plug (a0, a1 = -1) -
    - -
    returns (int)
    In versions less than KDE 3.2.0 only
    - - -
    ArgumentTypeDefault
    a0TQWidget
    a1int-1
    -

  • -
  • plug (widget, index = -1) -
    - -
    returns (int)
    In versions KDE 3.2.0 and above only
    - - -
    ArgumentTypeDefault
    widgetTQWidget
    indexint-1
    -

  • -
  • popup (a0) -
    - -
    returns nothing
    In versions less than KDE 3.2.0 only
    - -
    ArgumentTypeDefault
    a0TQPoint
    -

  • -
  • popup (global) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    globalTQPoint
    -

  • -
  • popupMenu () -
    - -
    returns (KPopupMenu)
    In versions less than KDE 3.2.0 only

  • -
  • popupMenu () -
    - -
    returns (KPopupMenu)
    In versions KDE 3.2.0 and above only

  • -
  • remove (a0) -
    - -
    returns nothing
    In versions less than KDE 3.2.0 only
    - -
    ArgumentTypeDefault
    a0KAction
    -

  • -
  • remove (a0) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    a0KAction
    -

  • -
  • setDelayed (a0) -
    - -
    returns nothing
    In versions less than KDE 3.2.0 only
    - -
    ArgumentTypeDefault
    a0bool
    -

  • -
  • setDelayed (_delayed) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    _delayedbool
    -

  • -
  • setStickyMenu (a0) -
    - -
    returns nothing
    In versions less than KDE 3.2.0 only
    - -
    ArgumentTypeDefault
    a0bool
    -

  • -
  • setStickyMenu (sticky) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    stickybool
    -

  • -
  • stickyMenu () -
    - -
    returns (bool)
    In versions less than KDE 3.2.0 only

  • -
  • stickyMenu () -
    - -
    returns (bool)
    In versions KDE 3.2.0 and above only

  • -
- - - diff --git a/python/pykde/doc/classref/kdeui/KActionPtrShortcutList.html b/python/pykde/doc/classref/kdeui/KActionPtrShortcutList.html deleted file mode 100644 index 431cb4be..00000000 --- a/python/pykde/doc/classref/kdeui/KActionPtrShortcutList.html +++ /dev/null @@ -1,119 +0,0 @@ - - - - - class KActionPtrShortcutList - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KActionPtrShortcutList


-
- - - - - -
Table of contents
Modules
kdeui Classes
All Classes
-
- - - - - - - - - - -
Modulekdeui
ClassKActionPtrShortcutList
InheritsKShortcutList
-

methods

    -
  • KActionPtrShortcutList (a0) -
    - -
    returns a KActionPtrShortcutList instance
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    a0KActionPtrList
    -

  • -
  • KActionPtrShortcutList (a0) -
    - -
    returns a KActionPtrShortcutList instance
    In versions less than KDE 3.2.0 only
    - -
    ArgumentTypeDefault
    a0TQValueList
    -

  • -
  • count () -
    -
    returns (uint)

  • -
  • getOther (a0, index) -
    -
    returns (TQVariant)
    - - -
    ArgumentTypeDefault
    a0Other
    indexuint
    -

  • -
  • isConfigurable (a0) -
    -
    returns (bool)
    - -
    ArgumentTypeDefault
    a0uint
    -

  • -
  • label (a0) -
    -
    returns (TQString)
    - -
    ArgumentTypeDefault
    a0uint
    -

  • -
  • name (i) -
    -
    returns (TQString)
    - -
    ArgumentTypeDefault
    iuint
    -

  • -
  • save () -
    -
    returns (bool)

  • -
  • setOther (a0, index, a1) -
    -
    returns (bool)
    - - - -
    ArgumentTypeDefault
    a0Other
    indexuint
    a1TQVariant
    -

  • -
  • setShortcut (a0, a1) -
    -
    returns (bool)
    - - -
    ArgumentTypeDefault
    a0uint
    a1KShortcut
    -

  • -
  • shortcut (a0) -
    -
    returns (KShortcut)
    - -
    ArgumentTypeDefault
    a0uint
    -

  • -
  • shortcutDefault (a0) -
    -
    returns (KShortcut)
    - -
    ArgumentTypeDefault
    a0uint
    -

  • -
  • whatsThis (a0) -
    -
    returns (TQString)
    - -
    ArgumentTypeDefault
    a0uint
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kdeui/KActionSelector.html b/python/pykde/doc/classref/kdeui/KActionSelector.html deleted file mode 100644 index 0dfd56ce..00000000 --- a/python/pykde/doc/classref/kdeui/KActionSelector.html +++ /dev/null @@ -1,233 +0,0 @@ - - - - - class KActionSelector - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KActionSelector


-
- - - - - -
Table of contents
Modules
kdeui Classes
All Classes
-
- - - - - - - - - - -
Modulekdeui
ClassKActionSelector
InheritsTQWidget
-

enums

    -
  • ButtonIconSize = {SmallIcon, Small, Medium, Large, XLarge -}
  • InsertionPolicy = {BelowCurrent, Sorted, AtTop, AtBottom -}
  • MoveButton = {ButtonAdd, ButtonRemove, ButtonUp, ButtonDown -}
-

methods

    -
  • KActionSelector (parent = 0, name = 0) -
    - -
    returns a KActionSelector instance
    In versions KDE 3.3.0 and above only
    - - -
    ArgumentTypeDefault
    parentTQWidget0
    namechar0
    -

  • -
  • added (item) -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only
    - -
    ArgumentTypeDefault
    itemTQListBoxItem
    -

  • -
  • availableInsertionPolicy () -
    - -
    returns (KActionSelector.InsertionPolicy)
    In versions KDE 3.3.0 and above only

  • -
  • availableLabel () -
    - -
    returns (TQString)
    In versions KDE 3.3.0 and above only

  • -
  • availableListBox () -
    - -
    returns (TQListBox)
    In versions KDE 3.3.0 and above only

  • -
  • buttonIconSize () -
    - -
    returns (KActionSelector.ButtonIconSize)
    In versions KDE 3.3.0 and above only

  • -
  • eventFilter (a0, a1) -
    - -
    returns (bool)
    In versions KDE 3.3.0 and above only
    - - -
    ArgumentTypeDefault
    a0TQObject
    a1TQEvent
    -

  • -
  • keyPressEvent (a0) -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only
    - -
    ArgumentTypeDefault
    a0TQKeyEvent
    -

  • -
  • keyboardEnabled () -
    - -
    returns (bool)
    In versions KDE 3.3.0 and above only

  • -
  • moveOnDoubleClick () -
    - -
    returns (bool)
    In versions KDE 3.3.0 and above only

  • -
  • movedDown (item) -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only
    - -
    ArgumentTypeDefault
    itemTQListBoxItem
    -

  • -
  • movedUp (item) -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only
    - -
    ArgumentTypeDefault
    itemTQListBoxItem
    -

  • -
  • polish () -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only

  • -
  • removed (item) -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only
    - -
    ArgumentTypeDefault
    itemTQListBoxItem
    -

  • -
  • selectedInsertionPolicy () -
    - -
    returns (KActionSelector.InsertionPolicy)
    In versions KDE 3.3.0 and above only

  • -
  • selectedLabel () -
    - -
    returns (TQString)
    In versions KDE 3.3.0 and above only

  • -
  • selectedListBox () -
    - -
    returns (TQListBox)
    In versions KDE 3.3.0 and above only

  • -
  • setAvailableInsertionPolicy (policy) -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only
    - -
    ArgumentTypeDefault
    policyKActionSelector.InsertionPolicy
    -

  • -
  • setAvailableLabel (text) -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only
    - -
    ArgumentTypeDefault
    textTQString
    -

  • -
  • setButtonIcon (icon, button) -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only
    - - -
    ArgumentTypeDefault
    iconTQString
    buttonKActionSelector.MoveButton
    -

  • -
  • setButtonIconSet (iconset, button) -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only
    - - -
    ArgumentTypeDefault
    iconsetTQIconSet
    buttonKActionSelector.MoveButton
    -

  • -
  • setButtonIconSize (size) -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only
    - -
    ArgumentTypeDefault
    sizeKActionSelector.ButtonIconSize
    -

  • -
  • setButtonTooltip (tip, button) -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only
    - - -
    ArgumentTypeDefault
    tipTQString
    buttonKActionSelector.MoveButton
    -

  • -
  • setButtonWhatsThis (text, button) -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only
    - - -
    ArgumentTypeDefault
    textTQString
    buttonKActionSelector.MoveButton
    -

  • -
  • setButtonsEnabled () -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only

  • -
  • setKeyboardEnabled (enable) -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only
    - -
    ArgumentTypeDefault
    enablebool
    -

  • -
  • setMoveOnDoubleClick (enable) -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only
    - -
    ArgumentTypeDefault
    enablebool
    -

  • -
  • setSelectedInsertionPolicy (policy) -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only
    - -
    ArgumentTypeDefault
    policyKActionSelector.InsertionPolicy
    -

  • -
  • setSelectedLabel (text) -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only
    - -
    ArgumentTypeDefault
    textTQString
    -

  • -
  • setShowUpDownButtons (show) -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only
    - -
    ArgumentTypeDefault
    showbool
    -

  • -
  • showUpDownButtons () -
    - -
    returns (bool)
    In versions KDE 3.3.0 and above only

  • -
- - - diff --git a/python/pykde/doc/classref/kdeui/KActionSeparator.html b/python/pykde/doc/classref/kdeui/KActionSeparator.html deleted file mode 100644 index 68ad582d..00000000 --- a/python/pykde/doc/classref/kdeui/KActionSeparator.html +++ /dev/null @@ -1,73 +0,0 @@ - - - - - class KActionSeparator - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KActionSeparator


-
- - - - - -
Table of contents
Modules
kdeui Classes
All Classes
-
- - - - - - - - - - -
Modulekdeui
ClassKActionSeparator
InheritsKAction
-

methods

    -
  • KActionSeparator (a0 = 0, a1 = 0) -
    - -
    returns a KActionSeparator instance
    In versions less than KDE 3.2.0 only
    - - -
    ArgumentTypeDefault
    a0TQObject0
    a1char0
    -

  • -
  • KActionSeparator (parent = 0, name = 0) -
    - -
    returns a KActionSeparator instance
    In versions KDE 3.2.0 and above only
    - - -
    ArgumentTypeDefault
    parentTQObject0
    namechar0
    -

  • -
  • plug (a0, a1 = -1) -
    - -
    returns (int)
    In versions less than KDE 3.2.0 only
    - - -
    ArgumentTypeDefault
    a0TQWidget
    a1int-1
    -

  • -
  • plug (widget, index = -1) -
    - -
    returns (int)
    In versions KDE 3.2.0 and above only
    - - -
    ArgumentTypeDefault
    widgetTQWidget
    indexint-1
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kdeui/KActionShortcutList.html b/python/pykde/doc/classref/kdeui/KActionShortcutList.html deleted file mode 100644 index 47f4fcc3..00000000 --- a/python/pykde/doc/classref/kdeui/KActionShortcutList.html +++ /dev/null @@ -1,121 +0,0 @@ - - - - - class KActionShortcutList - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KActionShortcutList


-
- - - - - -
Table of contents
Modules
kdeui Classes
All Classes
-
- - - - - - - - - - -
Modulekdeui
ClassKActionShortcutList
InheritsKShortcutList
-

methods

    -
  • KActionShortcutList (a0) -
    -
    returns a KActionShortcutList instance
    - -
    ArgumentTypeDefault
    a0KActionCollection
    -

  • -
  • action (a0) -
    - -
    returns (KAction)
    In versions KDE 3.3.0 and above only
    - -
    ArgumentTypeDefault
    a0uint
    -

  • -
  • count () -
    -
    returns (uint)

  • -
  • getOther (a0, index) -
    -
    returns (TQVariant)
    - - -
    ArgumentTypeDefault
    a0Other
    indexuint
    -

  • -
  • instance () -
    -
    returns (KInstance)

  • -
  • isConfigurable (a0) -
    -
    returns (bool)
    - -
    ArgumentTypeDefault
    a0uint
    -

  • -
  • label (a0) -
    -
    returns (TQString)
    - -
    ArgumentTypeDefault
    a0uint
    -

  • -
  • name (i) -
    -
    returns (TQString)
    - -
    ArgumentTypeDefault
    iuint
    -

  • -
  • save () -
    -
    returns (bool)

  • -
  • setOther (a0, index, a1) -
    -
    returns (bool)
    - - - -
    ArgumentTypeDefault
    a0Other
    indexuint
    a1TQVariant
    -

  • -
  • setShortcut (a0, a1) -
    -
    returns (bool)
    - - -
    ArgumentTypeDefault
    a0uint
    a1KShortcut
    -

  • -
  • shortcut (a0) -
    -
    returns (KShortcut)
    - -
    ArgumentTypeDefault
    a0uint
    -

  • -
  • shortcutDefault (a0) -
    -
    returns (KShortcut)
    - -
    ArgumentTypeDefault
    a0uint
    -

  • -
  • whatsThis (a0) -
    -
    returns (TQString)
    - -
    ArgumentTypeDefault
    a0uint
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kdeui/KActiveLabel.html b/python/pykde/doc/classref/kdeui/KActiveLabel.html deleted file mode 100644 index d46baf5b..00000000 --- a/python/pykde/doc/classref/kdeui/KActiveLabel.html +++ /dev/null @@ -1,89 +0,0 @@ - - - - - class KActiveLabel - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KActiveLabel


-
- - - - - -
Table of contents
Modules
kdeui Classes
All Classes
-
- - - - - - - - - - -
Modulekdeui
ClassKActiveLabel
InheritsTQTextBrowser
-

methods

    -
  • KActiveLabel (parent, name = 0) -
    -
    returns a KActiveLabel instance
    - - -
    ArgumentTypeDefault
    parentTQWidget
    namechar0
    -

  • -
  • KActiveLabel (text, parent, name = 0) -
    -
    returns a KActiveLabel instance
    - - - -
    ArgumentTypeDefault
    textTQString
    parentTQWidget
    namechar0
    -

  • -
  • focusInEvent (fe) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    feTQFocusEvent
    -

  • -
  • focusOutEvent (fe) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    feTQFocusEvent
    -

  • -
  • keyPressEvent (e) -
    - -
    returns nothing
    In versions KDE 3.4.0 and above only
    - -
    ArgumentTypeDefault
    eTQKeyEvent
    -

  • -
  • minimumSizeHint () -
    - -
    returns (TQSize)
    In versions KDE 3.1.0 and above only

  • -
  • openLink (link) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    linkTQString
    -

  • -
  • sizeHint () -
    - -
    returns (TQSize)
    In versions KDE 3.1.0 and above only

  • -
- - - diff --git a/python/pykde/doc/classref/kdeui/KAnimWidget.html b/python/pykde/doc/classref/kdeui/KAnimWidget.html deleted file mode 100644 index fb06a70b..00000000 --- a/python/pykde/doc/classref/kdeui/KAnimWidget.html +++ /dev/null @@ -1,141 +0,0 @@ - - - - - class KAnimWidget - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KAnimWidget


-
- - - - - -
Table of contents
Modules
kdeui Classes
All Classes
-
- - - - - - - - - - -
Modulekdeui
ClassKAnimWidget
InheritsTQFrame
-

methods

    -
  • KAnimWidget (icons, size = 0, parent = 0, name = 0) -
    -
    returns a KAnimWidget instance
    - - - - -
    ArgumentTypeDefault
    iconsTQString
    sizeint0
    parentTQWidget0
    namechar0
    -

  • -
  • KAnimWidget (a0 = 0, a1 = 0) -
    Not Implemented
    -

  • -
  • clicked () -
    -
    returns nothing

  • -
  • drawContents (p) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    pTQPainter
    -

  • -
  • enterEvent (e) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    eTQEvent
    -

  • -
  • hideEvent (e) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    eTQHideEvent
    -

  • -
  • icons () -
    - -
    returns (TQString)
    In versions KDE 3.4.0 and above only

  • -
  • leaveEvent (e) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    eTQEvent
    -

  • -
  • mousePressEvent (e) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    eTQMouseEvent
    -

  • -
  • mouseReleaseEvent (e) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    eTQMouseEvent
    -

  • -
  • setIcons (icons) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    iconsTQString
    -

  • -
  • setSize (size) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    sizeint
    -

  • -
  • showEvent (e) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    eTQShowEvent
    -

  • -
  • size () -
    - -
    returns (int)
    In versions KDE 3.4.0 and above only

  • -
  • slotTimerUpdate () -
    -
    returns nothing

  • -
  • start () -
    - -
    returns nothing
    In versions KDE 3.4.0 and above only

  • -
  • start () -
    - -
    returns nothing
    In versions less than KDE 3.4.0 only

  • -
  • stop () -
    - -
    returns nothing
    In versions KDE 3.4.0 and above only

  • -
  • stop () -
    - -
    returns nothing
    In versions less than KDE 3.4.0 only

  • -
  • updateIcons () -
    -
    returns nothing

  • -
- - - diff --git a/python/pykde/doc/classref/kdeui/KArrowButton.html b/python/pykde/doc/classref/kdeui/KArrowButton.html deleted file mode 100644 index 34a67bba..00000000 --- a/python/pykde/doc/classref/kdeui/KArrowButton.html +++ /dev/null @@ -1,79 +0,0 @@ - - - - - class KArrowButton - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KArrowButton


-
- - - - - -
Table of contents
Modules
kdeui Classes
All Classes
-
- - - - - - - - - - -
Modulekdeui
ClassKArrowButton
InheritsTQPushButton
-

methods

    -
  • KArrowButton (parent = 0, arrow = Qt .UpArrow, name = 0) -
    -
    returns a KArrowButton instance
    - - - -
    ArgumentTypeDefault
    parentTQWidget0
    arrowQt.ArrowTypeQt .UpArrow
    namechar0
    -

  • -
  • arrowTp () -
    - -
    returns (int)
    In versions KDE 3.4.0 and above only

  • -
  • arrowType () -
    - -
    returns (Qt.ArrowType)
    In versions KDE 3.4.0 and above only

  • -
  • drawButton (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0TQPainter
    -

  • -
  • setArrowTp (tp) -
    - -
    returns nothing
    In versions KDE 3.4.0 and above only
    - -
    ArgumentTypeDefault
    tpint
    -

  • -
  • setArrowType (a) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    aQt.ArrowType
    -

  • -
  • sizeHint () -
    -
    returns (TQSize)

  • -
- - - diff --git a/python/pykde/doc/classref/kdeui/KAuthIcon.html b/python/pykde/doc/classref/kdeui/KAuthIcon.html deleted file mode 100644 index 4b70ff7f..00000000 --- a/python/pykde/doc/classref/kdeui/KAuthIcon.html +++ /dev/null @@ -1,65 +0,0 @@ - - - - - class KAuthIcon - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KAuthIcon


-
- - - - - -
Table of contents
Modules
kdeui Classes
All Classes
-
- - - - - - - - - - -
Modulekdeui
ClassKAuthIcon (abstract)
InheritsTQWidget
-

methods

    -
  • KAuthIcon (parent = 0, name = 0) -
    -
    returns a KAuthIcon instance
    - - -
    ArgumentTypeDefault
    parentTQWidget0
    namechar0
    -

  • -
  • authChanged (authorized) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    authorizedbool
    -

  • -
  • sizeHint () -
    -
    returns (TQSize)

  • -
  • status () = 0 -
    - -
    returns (bool)
    pure virtual

  • -
  • updateStatus () = 0 -
    - -
    returns nothing
    pure virtual

  • -
- - - diff --git a/python/pykde/doc/classref/kdeui/KBugReport.html b/python/pykde/doc/classref/kdeui/KBugReport.html deleted file mode 100644 index 0ddc15d9..00000000 --- a/python/pykde/doc/classref/kdeui/KBugReport.html +++ /dev/null @@ -1,82 +0,0 @@ - - - - - class KBugReport - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KBugReport


-
- - - - - -
Table of contents
Modules
kdeui Classes
All Classes
-
- - - - - - - - - - -
Modulekdeui
ClassKBugReport
InheritsKDialogBase
-

methods

    -
  • KBugReport (parent = 0, modal = 1, aboutData = 0) -
    -
    returns a KBugReport instance
    - - - -
    ArgumentTypeDefault
    parentTQWidget0
    modalbool1
    aboutDataKAboutData0
    -

  • -
  • appChanged (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0int
    -

  • -
  • sendBugReport () -
    -
    returns (bool)

  • -
  • slotCancel () -
    -
    returns nothing

  • -
  • slotConfigureEmail () -
    -
    returns nothing

  • -
  • slotOk () -
    -
    returns nothing

  • -
  • slotSetFrom () -
    -
    returns nothing

  • -
  • slotUrlClicked (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0TQString
    -

  • -
  • text () -
    -
    returns (TQString)

  • -
  • updateURL () -
    -
    returns nothing

  • -
- - - diff --git a/python/pykde/doc/classref/kdeui/KButtonBox.html b/python/pykde/doc/classref/kdeui/KButtonBox.html deleted file mode 100644 index a34a0e97..00000000 --- a/python/pykde/doc/classref/kdeui/KButtonBox.html +++ /dev/null @@ -1,115 +0,0 @@ - - - - - class KButtonBox - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KButtonBox


-
- - - - - -
Table of contents
Modules
kdeui Classes
All Classes
-
- - - - - - - - - - -
Modulekdeui
ClassKButtonBox
InheritsTQWidget
-

methods

    -
  • KButtonBox (parent, _orientation = Horizontal, border = 0, _autoborder = 6) -
    -
    returns a KButtonBox instance
    - - - - -
    ArgumentTypeDefault
    parentTQWidget
    _orientationOrientationHorizontal
    borderint0
    _autoborderint6
    -

  • -
  • addButton (text, noexpand = 0) -
    -
    returns (TQPushButton)
    - - -
    ArgumentTypeDefault
    textTQString
    noexpandbool0
    -

  • -
  • addButton (text, slot, noexpand = 0) -
    -
    returns (TQPushButton)
    - - - -
    ArgumentTypeDefault
    textTQString
    slotSLOT (Python callable)
    noexpandbool0
    -

  • -
  • addButton (guiitem, noexpand = 0) -
    - -
    returns (TQPushButton)
    In versions KDE 3.3.0 and above only
    - - -
    ArgumentTypeDefault
    guiitemKGuiItem
    noexpandbool0
    -

  • -
  • addButton (guiitem, slot, noexpand = 0) -
    - -
    returns (TQPushButton)
    In versions KDE 3.3.0 and above only
    - - - -
    ArgumentTypeDefault
    guiitemKGuiItem
    slotSLOT (Python callable)
    noexpandbool0
    -

  • -
  • addStretch (scale = 1) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    scaleint1
    -

  • -
  • bestButtonSize () -
    -
    returns (TQSize)

  • -
  • buttonSizeHint (a0) -
    -
    returns (TQSize)
    - -
    ArgumentTypeDefault
    a0TQPushButton
    -

  • -
  • layout () -
    -
    returns nothing

  • -
  • placeButtons () -
    -
    returns nothing

  • -
  • resizeEvent (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0TQResizeEvent
    -

  • -
  • sizeHint () -
    -
    returns (TQSize)

  • -
  • sizePolicy () -
    -
    returns (TQSizePolicy)

  • -
- - - diff --git a/python/pykde/doc/classref/kdeui/KCModule.html b/python/pykde/doc/classref/kdeui/KCModule.html deleted file mode 100644 index dec77ea2..00000000 --- a/python/pykde/doc/classref/kdeui/KCModule.html +++ /dev/null @@ -1,162 +0,0 @@ - - - - - class KCModule - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KCModule


-
- - - - - -
Table of contents
Modules
kdeui Classes
All Classes
-
- - - - - - - - - - -
Modulekdeui
ClassKCModule
InheritsTQWidget
-

enums

    -
  • Button = {Help, Default, Apply, Reset, Cancel, Ok, SysDefault -}
-

methods

    -
  • KCModule (parent = 0, name = 0, args = TQStringList ()) -
    -
    returns a KCModule instance
    - - - -
    ArgumentTypeDefault
    parentTQWidget0
    namechar0
    argsTQStringListTQStringList ()
    -

  • -
  • KCModule (instance, parent = 0, args = TQStringList ()) -
    -
    returns a KCModule instance
    - - - -
    ArgumentTypeDefault
    instanceKInstance
    parentTQWidget0
    argsTQStringListTQStringList ()
    -

  • -
  • aboutData () -
    -
    returns (KAboutData)

  • -
  • addConfig (config, widget) -
    - -
    returns (KConfigDialogManager)
    In versions KDE 3.3.0 and above only
    - - -
    ArgumentTypeDefault
    configKConfigSkeleton
    widgetTQWidget
    -

  • -
  • buttons () -
    -
    returns (int)

  • -
  • changed (state) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    statebool
    -

  • -
  • changed () -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only

  • -
  • configs () -
    - -
    returns (TQPtrList)
    In versions KDE 3.4.0 and above only

  • -
  • defaults () -
    -
    returns nothing

  • -
  • instance () -
    -
    returns (KInstance)

  • -
  • load () -
    -
    returns nothing

  • -
  • managedWidgetChangeState () -
    - -
    returns (bool)
    In versions KDE 3.5.0 and above only

  • -
  • quickHelp () -
    -
    returns (TQString)

  • -
  • quickHelpChanged () -
    -
    returns nothing

  • -
  • rootOnlyMsg () -
    -
    returns (TQString)

  • -
  • save () -
    -
    returns nothing

  • -
  • setAboutData (about) -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only
    - -
    ArgumentTypeDefault
    aboutKAboutData
    -

  • -
  • setButtons (btn) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    btnint
    -

  • -
  • setQuickHelp (help) -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only
    - -
    ArgumentTypeDefault
    helpTQString
    -

  • -
  • setRootOnlyMsg (msg) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    msgTQString
    -

  • -
  • setUseRootOnlyMsg (on) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    onbool
    -

  • -
  • sysdefaults () -
    -
    returns nothing

  • -
  • unmanagedWidgetChangeState (a0) -
    - -
    returns nothing
    In versions KDE 3.5.0 and above only
    - -
    ArgumentTypeDefault
    a0bool
    -

  • -
  • useRootOnlyMsg () -
    -
    returns (bool)

  • -
  • widgetChanged () -
    - -
    returns nothing
    In versions KDE 3.4.0 and above only

  • -
- - - diff --git a/python/pykde/doc/classref/kdeui/KCharSelect.html b/python/pykde/doc/classref/kdeui/KCharSelect.html deleted file mode 100644 index 6fd84f51..00000000 --- a/python/pykde/doc/classref/kdeui/KCharSelect.html +++ /dev/null @@ -1,201 +0,0 @@ - - - - - class KCharSelect - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KCharSelect


-
- - - - - -
Table of contents
Modules
kdeui Classes
All Classes
-
- - - - - - - - - - -
Modulekdeui
ClassKCharSelect
InheritsTQVBox
-

methods

    -
  • KCharSelect (parent, name, font = TQString .null, chr = ' ', tableNum = 0) -
    -
    returns a KCharSelect instance
    - - - - - -
    ArgumentTypeDefault
    parentTQWidget
    namechar
    fontTQStringTQString .null
    chrTQChar' '
    tableNumint0
    -

  • -
  • activated (c) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    cTQChar
    -

  • -
  • activated () -
    -
    returns nothing

  • -
  • charActivated (c) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    cTQChar
    -

  • -
  • charActivated () -
    -
    returns nothing

  • -
  • charFocusItemChanged () -
    -
    returns nothing

  • -
  • charFocusItemChanged (c) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    cTQChar
    -

  • -
  • charHighlighted (c) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    cTQChar
    -

  • -
  • charHighlighted () -
    -
    returns nothing

  • -
  • charTableDown () -
    -
    returns nothing

  • -
  • charTableUp () -
    -
    returns nothing

  • -
  • chr () -
    -
    returns (TQChar)

  • -
  • cleanupFontDatabase () -
    - -
    returns nothing
    static

  • -
  • doubleClicked () -
    -
    returns nothing

  • -
  • enableFontCombo (e) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    ebool
    -

  • -
  • enableTableSpinBox (e) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    ebool
    -

  • -
  • fillFontCombo () -
    -
    returns nothing

  • -
  • focusItemChanged () -
    -
    returns nothing

  • -
  • focusItemChanged (c) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    cTQChar
    -

  • -
  • font () -
    -
    returns (TQString)

  • -
  • fontChanged (_font) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    _fontTQString
    -

  • -
  • fontSelected (_font) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    _fontTQString
    -

  • -
  • highlighted (c) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    cTQChar
    -

  • -
  • highlighted () -
    -
    returns nothing

  • -
  • isFontComboEnabled () -
    -
    returns (bool)

  • -
  • isTableSpinBoxEnabled () -
    -
    returns (bool)

  • -
  • setChar (chr) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    chrTQChar
    -

  • -
  • setFont (font) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    fontTQString
    -

  • -
  • setTableNum (tableNum) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    tableNumint
    -

  • -
  • sizeHint () -
    -
    returns (TQSize)

  • -
  • slotDoubleClicked () -
    -
    returns nothing

  • -
  • slotUnicodeEntered () -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only

  • -
  • slotUpdateUnicode (c) -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only
    - -
    ArgumentTypeDefault
    cTQChar
    -

  • -
  • tableChanged (_value) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    _valueint
    -

  • -
  • tableNum () -
    -
    returns (int)

  • -
- - - diff --git a/python/pykde/doc/classref/kdeui/KCharSelectTable.html b/python/pykde/doc/classref/kdeui/KCharSelectTable.html deleted file mode 100644 index ca677279..00000000 --- a/python/pykde/doc/classref/kdeui/KCharSelectTable.html +++ /dev/null @@ -1,167 +0,0 @@ - - - - - class KCharSelectTable - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KCharSelectTable


-
- - - - - -
Table of contents
Modules
kdeui Classes
All Classes
-
- - - - - - - - - - -
Modulekdeui
ClassKCharSelectTable
InheritsTQGridView
-

methods

    -
  • KCharSelectTable (parent, name, _font, _chr, _tableNum) -
    -
    returns a KCharSelectTable instance
    - - - - - -
    ArgumentTypeDefault
    parentTQWidget
    namechar
    _fontTQString
    _chrTQChar
    _tableNumint
    -

  • -
  • activated (c) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    cTQChar
    -

  • -
  • activated () -
    -
    returns nothing

  • -
  • chr () -
    -
    returns (TQChar)

  • -
  • doubleClicked () -
    -
    returns nothing

  • -
  • focusItemChanged () -
    -
    returns nothing

  • -
  • focusItemChanged (c) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    cTQChar
    -

  • -
  • gotoDown () -
    -
    returns nothing

  • -
  • gotoLeft () -
    -
    returns nothing

  • -
  • gotoRight () -
    -
    returns nothing

  • -
  • gotoUp () -
    -
    returns nothing

  • -
  • highlighted (c) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    cTQChar
    -

  • -
  • highlighted () -
    -
    returns nothing

  • -
  • keyPressEvent (e) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    eTQKeyEvent
    -

  • -
  • mouseDoubleClickEvent (e) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    eTQMouseEvent
    -

  • -
  • mouseMoveEvent (e) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    eTQMouseEvent
    -

  • -
  • mousePressEvent (e) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    eTQMouseEvent
    -

  • -
  • mouseReleaseEvent (e) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    eTQMouseEvent
    -

  • -
  • paintCell (p, row, col) -
    -
    returns nothing
    - - - -
    ArgumentTypeDefault
    pTQPainter
    rowint
    colint
    -

  • -
  • resizeEvent (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0TQResizeEvent
    -

  • -
  • setChar (_chr) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    _chrTQChar
    -

  • -
  • setFont (_font) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    _fontTQString
    -

  • -
  • setTableNum (_tableNum) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    _tableNumint
    -

  • -
  • sizeHint () -
    -
    returns (TQSize)

  • -
  • tableDown () -
    -
    returns nothing

  • -
  • tableUp () -
    -
    returns nothing

  • -
- - - diff --git a/python/pykde/doc/classref/kdeui/KColor.html b/python/pykde/doc/classref/kdeui/KColor.html deleted file mode 100644 index 9fcb56d0..00000000 --- a/python/pykde/doc/classref/kdeui/KColor.html +++ /dev/null @@ -1,87 +0,0 @@ - - - - - class KColor - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KColor


-
- - - - - -
Table of contents
Modules
kdeui Classes
All Classes
-
- - - - - - - - - - -
Modulekdeui
ClassKColor
InheritsTQColor
-

methods

    -
  • KColor () -
    -
    returns a KColor instance

  • -
  • KColor (col) -
    -
    returns a KColor instance
    - -
    ArgumentTypeDefault
    colKColor
    -

  • -
  • KColor (col) -
    -
    returns a KColor instance
    - -
    ArgumentTypeDefault
    colTQColor
    -

  • -
  • hsv () -
    -
    returns _h (int) _s (int) _v (int)

  • -
  • rgb () -
    -
    returns _r (int) _g (int) _b (int)

  • -
  • setHsv (_h, _s, _v) -
    -
    returns nothing
    - - - -
    ArgumentTypeDefault
    _hint
    _sint
    _vint
    -

  • -
  • setRgb (_r, _g, _b) -
    -
    returns nothing
    - - - -
    ArgumentTypeDefault
    _rint
    _gint
    _bint
    -

  • -
-

operators

    -
  • operator == (a0) -
    - -
    returns (bool)
    In versions KDE 3.1.4 and above only
    - -
    ArgumentTypeDefault
    a0KColor
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kdeui/KColorCells.html b/python/pykde/doc/classref/kdeui/KColorCells.html deleted file mode 100644 index 8847b22b..00000000 --- a/python/pykde/doc/classref/kdeui/KColorCells.html +++ /dev/null @@ -1,149 +0,0 @@ - - - - - class KColorCells - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KColorCells


-
- - - - - -
Table of contents
Modules
kdeui Classes
All Classes
-
- - - - - - - - - - -
Modulekdeui
ClassKColorCells
InheritsTQGridView
-

methods

    -
  • KColorCells (parent, rows, cols) -
    -
    returns a KColorCells instance
    - - - -
    ArgumentTypeDefault
    parentTQWidget
    rowsint
    colsint
    -

  • -
  • color (indx) -
    -
    returns (TQColor)
    - -
    ArgumentTypeDefault
    indxint
    -

  • -
  • colorDoubleClicked (col) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    colint
    -

  • -
  • colorSelected (col) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    colint
    -

  • -
  • dragEnterEvent (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0TQDragEnterEvent
    -

  • -
  • dropEvent (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0TQDropEvent
    -

  • -
  • getSelected () -
    -
    returns (int)

  • -
  • mouseDoubleClickEvent (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0TQMouseEvent
    -

  • -
  • mouseMoveEvent (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0TQMouseEvent
    -

  • -
  • mousePressEvent (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0TQMouseEvent
    -

  • -
  • mouseReleaseEvent (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0TQMouseEvent
    -

  • -
  • numCells () -
    -
    returns (int)

  • -
  • paintCell (painter, row, col) -
    -
    returns nothing
    - - - -
    ArgumentTypeDefault
    painterTQPainter
    rowint
    colint
    -

  • -
  • posToCell (pos, ignoreBorders = 0) -
    -
    returns (int)
    - - -
    ArgumentTypeDefault
    posTQPoint
    ignoreBordersbool0
    -

  • -
  • resizeEvent (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0TQResizeEvent
    -

  • -
  • setAcceptDrags (_acceptDrags) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    _acceptDragsbool
    -

  • -
  • setColor (colNum, col) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    colNumint
    colTQColor
    -

  • -
  • setShading (_shade) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    _shadebool
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kdeui/KColorCombo.html b/python/pykde/doc/classref/kdeui/KColorCombo.html deleted file mode 100644 index 21707af4..00000000 --- a/python/pykde/doc/classref/kdeui/KColorCombo.html +++ /dev/null @@ -1,78 +0,0 @@ - - - - - class KColorCombo - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KColorCombo


-
- - - - - -
Table of contents
Modules
kdeui Classes
All Classes
-
- - - - - - - - - - -
Modulekdeui
ClassKColorCombo
InheritsTQComboBox
-

methods

    -
  • KColorCombo (parent, name = 0) -
    -
    returns a KColorCombo instance
    - - -
    ArgumentTypeDefault
    parentTQWidget
    namechar0
    -

  • -
  • activated (col) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    colTQColor
    -

  • -
  • color () -
    -
    returns (TQColor)

  • -
  • highlighted (col) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    colTQColor
    -

  • -
  • resizeEvent (re) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    reTQResizeEvent
    -

  • -
  • setColor (col) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    colTQColor
    -

  • -
  • showEmptyList () -
    -
    returns nothing

  • -
- - - diff --git a/python/pykde/doc/classref/kdeui/KColorDialog.html b/python/pykde/doc/classref/kdeui/KColorDialog.html deleted file mode 100644 index f42e460c..00000000 --- a/python/pykde/doc/classref/kdeui/KColorDialog.html +++ /dev/null @@ -1,117 +0,0 @@ - - - - - class KColorDialog - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KColorDialog


-
- - - - - -
Table of contents
Modules
kdeui Classes
All Classes
-
- - - - - - - - - - -
Modulekdeui
ClassKColorDialog
InheritsKDialogBase
-

methods

    -
  • KColorDialog (parent = 0, name = 0, modal = 0) -
    -
    returns a KColorDialog instance
    - - - -
    ArgumentTypeDefault
    parentTQWidget0
    namechar0
    modalbool0
    -

  • -
  • color () -
    -
    returns (TQColor)

  • -
  • colorSelected (col) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    colTQColor
    -

  • -
  • defaultColor () -
    -
    returns (TQColor)

  • -
  • eventFilter (obj, ev) -
    - -
    returns (bool)
    In versions KDE 3.2.0 and above only
    - - -
    ArgumentTypeDefault
    objTQObject
    evTQEvent
    -

  • -
  • getColor (theColor, parent = 0) -
    - -
    returns (int)
    static
    - - -
    ArgumentTypeDefault
    theColorTQColor
    parentTQWidget0
    -

  • -
  • getColor (theColor, defaultColor, parent = 0) -
    - -
    returns (int)
    static
    - - - -
    ArgumentTypeDefault
    theColorTQColor
    defaultColorTQColor
    parentTQWidget0
    -

  • -
  • grabColor (p) -
    - -
    returns (TQColor)
    static
    - -
    ArgumentTypeDefault
    pTQPoint
    -

  • -
  • keyPressEvent (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0TQKeyEvent
    -

  • -
  • mouseReleaseEvent (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0TQMouseEvent
    -

  • -
  • setColor (col) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    colTQColor
    -

  • -
  • setDefaultColor (defaultCol) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    defaultColTQColor
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kdeui/KColorDrag.html b/python/pykde/doc/classref/kdeui/KColorDrag.html deleted file mode 100644 index f13e6b38..00000000 --- a/python/pykde/doc/classref/kdeui/KColorDrag.html +++ /dev/null @@ -1,99 +0,0 @@ - - - - - class KColorDrag - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KColorDrag


-
- - - - - -
Table of contents
Modules
kdeui Classes
All Classes
-
- - - - - - - - - - -
Modulekdeui
ClassKColorDrag
InheritsTQStoredDrag
-

methods

    -
  • KColorDrag (dragsource = 0, name = 0) -
    -
    returns a KColorDrag instance
    - - -
    ArgumentTypeDefault
    dragsourceTQWidget0
    namechar0
    -

  • -
  • KColorDrag (col, dragsource = 0, name = 0) -
    -
    returns a KColorDrag instance
    - - - -
    ArgumentTypeDefault
    colTQColor
    dragsourceTQWidget0
    namechar0
    -

  • -
  • canDecode (e) -
    - -
    returns (bool)
    static
    - -
    ArgumentTypeDefault
    eTQMimeSource
    -

  • -
  • decode (e, col) -
    - -
    returns (bool)
    static
    - - -
    ArgumentTypeDefault
    eTQMimeSource
    colTQColor
    -

  • -
  • encodedData (m) -
    - -
    returns (TQByteArray)
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    mchar
    -

  • -
  • format (i) -
    - -
    returns (char)
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    iint
    -

  • -
  • makeDrag (a0, dragsource) -
    - -
    returns (KColorDrag)
    static
    - - -
    ArgumentTypeDefault
    a0TQColor
    dragsourceTQWidget
    -

  • -
  • setColor (col) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    colTQColor
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kdeui/KColorPatch.html b/python/pykde/doc/classref/kdeui/KColorPatch.html deleted file mode 100644 index ded6e990..00000000 --- a/python/pykde/doc/classref/kdeui/KColorPatch.html +++ /dev/null @@ -1,83 +0,0 @@ - - - - - class KColorPatch - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KColorPatch


-
- - - - - -
Table of contents
Modules
kdeui Classes
All Classes
-
- - - - - - - - - - -
Modulekdeui
ClassKColorPatch
InheritsTQFrame
-

methods

    -
  • KColorPatch (parent) -
    -
    returns a KColorPatch instance
    - -
    ArgumentTypeDefault
    parentTQWidget
    -

  • -
  • colorChanged (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0TQColor
    -

  • -
  • dragEnterEvent (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0TQDragEnterEvent
    -

  • -
  • drawContents (painter) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    painterTQPainter
    -

  • -
  • dropEvent (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0TQDropEvent
    -

  • -
  • mouseMoveEvent (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0TQMouseEvent
    -

  • -
  • setColor (col) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    colTQColor
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kdeui/KComboBox.html b/python/pykde/doc/classref/kdeui/KComboBox.html deleted file mode 100644 index a0cd6a70..00000000 --- a/python/pykde/doc/classref/kdeui/KComboBox.html +++ /dev/null @@ -1,261 +0,0 @@ - - - - - class KComboBox - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KComboBox


-
- - - - - -
Table of contents
Modules
kdeui Classes
All Classes
-
- - - - - - - - - - -
Modulekdeui
ClassKComboBox
InheritsTQComboBox, KCompletionBase
-

methods

    -
  • KComboBox (parent = 0, name = 0) -
    -
    returns a KComboBox instance
    - - -
    ArgumentTypeDefault
    parentTQWidget0
    namechar0
    -

  • -
  • KComboBox (rw, parent = 0, name = 0) -
    -
    returns a KComboBox instance
    - - - -
    ArgumentTypeDefault
    rwbool
    parentTQWidget0
    namechar0
    -

  • -
  • aboutToShowContextMenu (p) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    pTQPopupMenu
    -

  • -
  • autoCompletion () -
    -
    returns (bool)

  • -
  • changeURL (url, index) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    urlKURL
    indexint
    -

  • -
  • changeURL (pixmap, url, index) -
    -
    returns nothing
    - - - -
    ArgumentTypeDefault
    pixmapTQPixmap
    urlKURL
    indexint
    -

  • -
  • completion (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0TQString
    -

  • -
  • completionBox (create) -
    -
    returns (KCompletionBox)
    - -
    ArgumentTypeDefault
    createbool
    -

  • -
  • completionModeChanged (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0KGlobalSettings.Completion
    -

  • -
  • contains (text) -
    -
    returns (bool)
    - -
    ArgumentTypeDefault
    textTQString
    -

  • -
  • create (a0 = 0, initializeWindow = 1, destroyOldWindow = 1) -
    -
    returns nothing
    - - - -
    ArgumentTypeDefault
    a0WId0
    initializeWindowbool1
    destroyOldWindowbool1
    -

  • -
  • cursorPosition () -
    -
    returns (int)

  • -
  • eventFilter (a0, a1) -
    -
    returns (bool)
    - - -
    ArgumentTypeDefault
    a0TQObject
    a1TQEvent
    -

  • -
  • insertURL (url, index = -1) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    urlKURL
    indexint-1
    -

  • -
  • insertURL (pixmap, url, index = -1) -
    -
    returns nothing
    - - - -
    ArgumentTypeDefault
    pixmapTQPixmap
    urlKURL
    indexint-1
    -

  • -
  • isContextMenuEnabled () -
    -
    returns (bool)

  • -
  • isURLDropsEnabled () -
    -
    returns (bool)

  • -
  • itemSelected (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0TQListBoxItem
    -

  • -
  • makeCompletion (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0TQString
    -

  • -
  • returnPressed () -
    -
    returns nothing

  • -
  • returnPressed (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0TQString
    -

  • -
  • rotateText (type) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    typeKCompletionBase.KeyBindingType
    -

  • -
  • setAutoCompletion (autocomplete) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    autocompletebool
    -

  • -
  • setCompletedItems (items) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    itemsTQStringList
    -

  • -
  • setCompletedText (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0TQString
    -

  • -
  • setCompletedText (a0, a1) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    a0TQString
    a1bool
    -

  • -
  • setContextMenuEnabled (showMenu) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    showMenubool
    -

  • -
  • setCurrentItem (item, insert = 0, index = -1) -
    -
    returns nothing
    - - - -
    ArgumentTypeDefault
    itemTQString
    insertbool0
    indexint-1
    -

  • -
  • setCurrentItem (index) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    indexint
    -

  • -
  • setEditURL (url) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    urlKURL
    -

  • -
  • setLineEdit (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0TQLineEdit
    -

  • -
  • setTrapReturnKey (trap) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    trapbool
    -

  • -
  • setURLDropsEnabled (enable) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    enablebool
    -

  • -
  • substringCompletion (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0TQString
    -

  • -
  • textRotation (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0KCompletionBase.KeyBindingType
    -

  • -
  • trapReturnKey () -
    -
    returns (bool)

  • -
  • wheelEvent (ev) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    evTQWheelEvent
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kdeui/KCommand.html b/python/pykde/doc/classref/kdeui/KCommand.html deleted file mode 100644 index 46e8fba2..00000000 --- a/python/pykde/doc/classref/kdeui/KCommand.html +++ /dev/null @@ -1,56 +0,0 @@ - - - - - class KCommand - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KCommand


-
- - - - - -
Table of contents
Modules
kdeui Classes
All Classes
-
- - - - - - - - - - -
Modulekdeui
ClassKCommand (abstract)
Inherits
-

methods

    -
  • KCommand () -
    -
    returns a KCommand instance

  • -
  • execute () = 0 -
    - -
    returns nothing
    pure virtual

  • -
  • name () = 0 -
    - -
    returns (TQString)
    pure virtual

  • -
  • unexecute () = 0 -
    - -
    returns nothing
    pure virtual

  • -
- - - diff --git a/python/pykde/doc/classref/kdeui/KCommandHistory.html b/python/pykde/doc/classref/kdeui/KCommandHistory.html deleted file mode 100644 index ee8efd14..00000000 --- a/python/pykde/doc/classref/kdeui/KCommandHistory.html +++ /dev/null @@ -1,122 +0,0 @@ - - - - - class KCommandHistory - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KCommandHistory


-
- - - - - -
Table of contents
Modules
kdeui Classes
All Classes
-
- - - - - - - - - - -
Modulekdeui
ClassKCommandHistory
InheritsTQObject
-

methods

    -
  • KCommandHistory () -
    -
    returns a KCommandHistory instance

  • -
  • KCommandHistory (actionCollection, withMenus = 1) -
    -
    returns a KCommandHistory instance
    - - -
    ArgumentTypeDefault
    actionCollectionKActionCollection
    withMenusbool1
    -

  • -
  • addCommand (command, execute = 1) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    commandKCommand
    executebool1
    -

  • -
  • clear () -
    -
    returns nothing

  • -
  • commandExecuted () -
    -
    returns nothing

  • -
  • commandExecuted (command) -
    - -
    returns nothing
    In versions KDE 3.5.0 and above only
    - -
    ArgumentTypeDefault
    commandKCommand
    -

  • -
  • documentRestored () -
    -
    returns nothing

  • -
  • documentSaved () -
    -
    returns nothing

  • -
  • redo () -
    -
    returns nothing

  • -
  • redoLimit () -
    -
    returns (int)

  • -
  • setRedoLimit (limit) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    limitint
    -

  • -
  • setUndoLimit (limit) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    limitint
    -

  • -
  • slotRedoAboutToShow () -
    -
    returns nothing

  • -
  • slotRedoActivated (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0int
    -

  • -
  • slotUndoAboutToShow () -
    -
    returns nothing

  • -
  • slotUndoActivated (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0int
    -

  • -
  • undo () -
    -
    returns nothing

  • -
  • undoLimit () -
    -
    returns (int)

  • -
  • updateActions () -
    -
    returns nothing

  • -
- - - diff --git a/python/pykde/doc/classref/kdeui/KCompletionBox.html b/python/pykde/doc/classref/kdeui/KCompletionBox.html deleted file mode 100644 index 46fadca2..00000000 --- a/python/pykde/doc/classref/kdeui/KCompletionBox.html +++ /dev/null @@ -1,156 +0,0 @@ - - - - - class KCompletionBox - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KCompletionBox


-
- - - - - -
Table of contents
Modules
kdeui Classes
All Classes
-
- - - - - - - - - - -
Modulekdeui
ClassKCompletionBox
InheritsKListBox
-

methods

    -
  • KCompletionBox (parent, name = 0) -
    -
    returns a KCompletionBox instance
    - - -
    ArgumentTypeDefault
    parentTQWidget
    namechar0
    -

  • -
  • activateOnSelect () -
    - -
    returns (bool)
    In versions KDE 3.4.3 and above only

  • -
  • activated (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0TQString
    -

  • -
  • calculateGeometry () -
    - -
    returns (TQRect)
    In versions KDE 3.2.0 and above only

  • -
  • cancelledText () -
    -
    returns (TQString)

  • -
  • down () -
    -
    returns nothing

  • -
  • end () -
    -
    returns nothing

  • -
  • eventFilter (a0, a1) -
    -
    returns (bool)
    - - -
    ArgumentTypeDefault
    a0TQObject
    a1TQEvent
    -

  • -
  • hide () -
    -
    returns nothing

  • -
  • home () -
    -
    returns nothing

  • -
  • insertItems (items, index = -1) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    itemsTQStringList
    indexint-1
    -

  • -
  • isTabHandling () -
    -
    returns (bool)

  • -
  • items () -
    -
    returns (TQStringList)

  • -
  • pageDown () -
    -
    returns nothing

  • -
  • pageUp () -
    -
    returns nothing

  • -
  • popup () -
    -
    returns nothing

  • -
  • setActivateOnSelect (state) -
    - -
    returns nothing
    In versions KDE 3.4.3 and above only
    - -
    ArgumentTypeDefault
    statebool
    -

  • -
  • setCancelledText (txt) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    txtTQString
    -

  • -
  • setItems (items) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    itemsTQStringList
    -

  • -
  • setTabHandling (enable) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    enablebool
    -

  • -
  • show () -
    -
    returns nothing

  • -
  • sizeAndPosition () -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only

  • -
  • sizeHint () -
    -
    returns (TQSize)

  • -
  • slotActivated (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0TQListBoxItem
    -

  • -
  • up () -
    -
    returns nothing

  • -
  • userCancelled (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0TQString
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kdeui/KConfigDialog.html b/python/pykde/doc/classref/kdeui/KConfigDialog.html deleted file mode 100644 index b7fd4827..00000000 --- a/python/pykde/doc/classref/kdeui/KConfigDialog.html +++ /dev/null @@ -1,139 +0,0 @@ - - - - - class KConfigDialog - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KConfigDialog


-
- - - - - -
Table of contents
Modules
kdeui Classes
All Classes
-
- - - - - - - - - - -
Modulekdeui
ClassKConfigDialog
InheritsKDialogBase
-

methods

    -
  • KConfigDialog (parent, name, config, dialogType = KDialogBase .IconList, dialogButtons = KDialogBase .Default | KDialogBase .Ok | KDialogBase .Apply | KDialogBase .Cancel | KDialogBase .Help, defaultButton = Ok, modal = 0) -
    - -
    returns a KConfigDialog instance
    In versions KDE 3.2.0 and above only
    - - - - - - - -
    ArgumentTypeDefault
    parentTQWidget
    namechar
    configKConfigSkeleton
    dialogTypeKDialogBase.DialogTypeKDialogBase .IconList
    dialogButtonsintKDialogBase .Default | KDialogBase .Ok | KDialogBase .Apply | KDialogBase .Cancel | KDialogBase .Help
    defaultButtonKDialogBase.ButtonCodeOk
    modalbool0
    -

  • -
  • addPage (page, itemName, pixmapName, header = TQString .null, manage = 1) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - - - - - -
    ArgumentTypeDefault
    pageTQWidget
    itemNameTQString
    pixmapNameTQString
    headerTQStringTQString .null
    managebool1
    -

  • -
  • addPage (page, config, itemName, pixmapName, header = TQString .null) -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only
    - - - - - -
    ArgumentTypeDefault
    pageTQWidget
    configKConfigSkeleton
    itemNameTQString
    pixmapNameTQString
    headerTQStringTQString .null
    -

  • -
  • exists (name) -
    - - -
    returns (KConfigDialog)
    In versions KDE 3.2.0 and above only
    static
    - -
    ArgumentTypeDefault
    namechar
    -

  • -
  • hasChanged () -
    - -
    returns (bool)
    In versions KDE 3.2.0 and above only

  • -
  • isDefault () -
    - -
    returns (bool)
    In versions KDE 3.2.0 and above only

  • -
  • settingsChanged () -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only

  • -
  • settingsChanged (dialogName) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    dialogNamechar
    -

  • -
  • settingsChangedSlot () -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only

  • -
  • show () -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only

  • -
  • showDialog (name) -
    - - -
    returns (bool)
    In versions KDE 3.2.0 and above only
    static
    - -
    ArgumentTypeDefault
    namechar
    -

  • -
  • updateButtons () -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only

  • -
  • updateSettings () -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only

  • -
  • updateWidgets () -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only

  • -
  • updateWidgetsDefault () -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only

  • -
  • widgetModified () -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only

  • -
- - - diff --git a/python/pykde/doc/classref/kdeui/KContextMenuManager.html b/python/pykde/doc/classref/kdeui/KContextMenuManager.html deleted file mode 100644 index 7eff51d6..00000000 --- a/python/pykde/doc/classref/kdeui/KContextMenuManager.html +++ /dev/null @@ -1,63 +0,0 @@ - - - - - class KContextMenuManager - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KContextMenuManager


-
- - - - - -
Table of contents
Modules
kdeui Classes
All Classes
-
- - - - - - - - - - -
Modulekdeui
ClassKContextMenuManager
InheritsTQObject
-

methods

    -
  • KContextMenuManager (parent = 0, name = 0) -
    -
    returns a KContextMenuManager instance
    - - -
    ArgumentTypeDefault
    parentTQObject0
    namechar0
    -

  • -
  • insert (widget, popup) -
    - -
    returns nothing
    static
    - - -
    ArgumentTypeDefault
    widgetTQWidget
    popupTQPopupMenu
    -

  • -
  • showOnButtonPress () -
    - -
    returns (bool)
    static

  • -
  • ~KContextMenuManager () -
    -
    returns nothing

  • -
- - - diff --git a/python/pykde/doc/classref/kdeui/KCursor.html b/python/pykde/doc/classref/kdeui/KCursor.html deleted file mode 100644 index fad0078b..00000000 --- a/python/pykde/doc/classref/kdeui/KCursor.html +++ /dev/null @@ -1,136 +0,0 @@ - - - - - class KCursor - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KCursor


-
- - - - - -
Table of contents
Modules
kdeui Classes
All Classes
-
- - - - - - - - - - -
Modulekdeui
ClassKCursor
InheritsQt
-

methods

    -
  • KCursor () -
    -
    returns a KCursor instance

  • -
  • arrowCursor () -
    - -
    returns (TQCursor)
    static

  • -
  • autoHideEventFilter (a0, a1) -
    - -
    returns nothing
    static
    - - -
    ArgumentTypeDefault
    a0TQObject
    a1TQEvent
    -

  • -
  • blankCursor () -
    - -
    returns (TQCursor)
    static

  • -
  • crossCursor () -
    - -
    returns (TQCursor)
    static

  • -
  • handCursor () -
    - -
    returns (TQCursor)
    static

  • -
  • hideCursorDelay () -
    - -
    returns (int)
    static

  • -
  • ibeamCursor () -
    - -
    returns (TQCursor)
    static

  • -
  • setAutoHideCursor (w, enable) -
    - -
    returns nothing
    static
    - - -
    ArgumentTypeDefault
    wTQWidget
    enablebool
    -

  • -
  • setAutoHideCursor (w, enable, customEventFilter) -
    - -
    returns nothing
    static
    - - - -
    ArgumentTypeDefault
    wTQWidget
    enablebool
    customEventFilterbool
    -

  • -
  • setHideCursorDelay (ms) -
    - -
    returns nothing
    static
    - -
    ArgumentTypeDefault
    msint
    -

  • -
  • sizeAllCursor () -
    - -
    returns (TQCursor)
    static

  • -
  • sizeBDiagCursor () -
    - -
    returns (TQCursor)
    static

  • -
  • sizeFDiagCursor () -
    - -
    returns (TQCursor)
    static

  • -
  • sizeHorCursor () -
    - -
    returns (TQCursor)
    static

  • -
  • sizeVerCursor () -
    - -
    returns (TQCursor)
    static

  • -
  • upArrowCursor () -
    - -
    returns (TQCursor)
    static

  • -
  • waitCursor () -
    - -
    returns (TQCursor)
    static

  • -
  • whatsThisCursor () -
    - -
    returns (TQCursor)
    static

  • -
  • workingCursor () -
    - -
    returns (TQCursor)
    static

  • -
- - - diff --git a/python/pykde/doc/classref/kdeui/KDCOPActionProxy.html b/python/pykde/doc/classref/kdeui/KDCOPActionProxy.html deleted file mode 100644 index 4c9841ff..00000000 --- a/python/pykde/doc/classref/kdeui/KDCOPActionProxy.html +++ /dev/null @@ -1,96 +0,0 @@ - - - - - class KDCOPActionProxy - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KDCOPActionProxy


-
- - - - - -
Table of contents
Modules
kdeui Classes
All Classes
-
- - - - - - - - - - -
Modulekdeui
ClassKDCOPActionProxy
InheritsDCOPObjectProxy
-

methods

    -
  • KDCOPActionProxy (actionCollection, parent) -
    -
    returns a KDCOPActionProxy instance
    - - -
    ArgumentTypeDefault
    actionCollectionKActionCollection
    parentDCOPObject
    -

  • -
  • KDCOPActionProxy (parent) -
    -
    returns a KDCOPActionProxy instance
    - -
    ArgumentTypeDefault
    parentDCOPObject
    -

  • -
  • action (name) -
    -
    returns (KAction)
    - -
    ArgumentTypeDefault
    namechar
    -

  • -
  • actionMap (appId = TQCString ()) -
    -
    returns (TQMap)
    - -
    ArgumentTypeDefault
    appIdTQCStringTQCString ()
    -

  • -
  • actionObjectId (name) -
    -
    returns (TQCString)
    - -
    ArgumentTypeDefault
    nameTQCString
    -

  • -
  • actions () -
    -
    returns (TQValueList

  • -
  • process (obj, fun, data, replyType, replyData) -
    -
    returns (bool)
    - - - - - -
    ArgumentTypeDefault
    objTQCString
    funTQCString
    dataTQByteArray
    replyTypeTQCString
    replyDataTQByteArray
    -

  • -
  • processAction (obj, fun, data, replyType, replyData, action) -
    -
    returns (bool)
    - - - - - - -
    ArgumentTypeDefault
    objTQCString
    funTQCString
    dataTQByteArray
    replyTypeTQCString
    replyDataTQByteArray
    actionKAction
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kdeui/KDateInternalMonthPicker.html b/python/pykde/doc/classref/kdeui/KDateInternalMonthPicker.html deleted file mode 100644 index c22772a9..00000000 --- a/python/pykde/doc/classref/kdeui/KDateInternalMonthPicker.html +++ /dev/null @@ -1,141 +0,0 @@ - - - - - class KDateInternalMonthPicker - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KDateInternalMonthPicker


-
- - - - - -
Table of contents
Modules
kdeui Classes
All Classes
-
- - - - - - - - - - -
Modulekdeui
ClassKDateInternalMonthPicker
InheritsTQGridView
-

methods

    -
  • KDateInternalMonthPicker (date, parent, name = 0) -
    - -
    returns a KDateInternalMonthPicker instance
    In versions KDE 3.2.0 and above only
    - - - -
    ArgumentTypeDefault
    dateTQDate
    parentTQWidget
    namechar0
    -

  • -
  • KDateInternalMonthPicker (a0, a1, a2 = 0) -
    - -
    returns a KDateInternalMonthPicker instance
    In versions less than KDE 3.2.0 only
    - - - -
    ArgumentTypeDefault
    a0int
    a1TQWidget
    a2char0
    -

  • -
  • closeMe (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0int
    -

  • -
  • contentsMouseMoveEvent (e) -
    - -
    returns nothing
    In versions KDE 3.0.1 and above only
    - -
    ArgumentTypeDefault
    eTQMouseEvent
    -

  • -
  • contentsMouseMoveEvent (a0) -
    - -
    returns nothing
    In versions less than KDE 3.0.1 only
    - -
    ArgumentTypeDefault
    a0TQMouseEvent
    -

  • -
  • contentsMousePressEvent (e) -
    - -
    returns nothing
    In versions KDE 3.0.1 and above only
    - -
    ArgumentTypeDefault
    eTQMouseEvent
    -

  • -
  • contentsMousePressEvent (a0) -
    - -
    returns nothing
    In versions less than KDE 3.0.1 only
    - -
    ArgumentTypeDefault
    a0TQMouseEvent
    -

  • -
  • contentsMouseReleaseEvent (e) -
    - -
    returns nothing
    In versions KDE 3.0.1 and above only
    - -
    ArgumentTypeDefault
    eTQMouseEvent
    -

  • -
  • contentsMouseReleaseEvent (a0) -
    - -
    returns nothing
    In versions less than KDE 3.0.1 only
    - -
    ArgumentTypeDefault
    a0TQMouseEvent
    -

  • -
  • getResult () -
    -
    returns (int)

  • -
  • paintCell (painter, row, col) -
    -
    returns nothing
    - - - -
    ArgumentTypeDefault
    painterTQPainter
    rowint
    colint
    -

  • -
  • setupPainter (p) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    pTQPainter
    -

  • -
  • sizeHint () -
    -
    returns (TQSize)

  • -
  • viewportResizeEvent (a0) -
    - -
    returns nothing
    In versions KDE 3.0.1 and above only
    - -
    ArgumentTypeDefault
    a0TQResizeEvent
    -

  • -
  • viewportResizeEvent (a0) -
    - -
    returns nothing
    In versions less than KDE 3.0.1 only
    - -
    ArgumentTypeDefault
    a0TQResizeEvent
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kdeui/KDateInternalWeekSelector.html b/python/pykde/doc/classref/kdeui/KDateInternalWeekSelector.html deleted file mode 100644 index a6343e9f..00000000 --- a/python/pykde/doc/classref/kdeui/KDateInternalWeekSelector.html +++ /dev/null @@ -1,87 +0,0 @@ - - - - - class KDateInternalWeekSelector - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KDateInternalWeekSelector


-
- - - - - -
Table of contents
Modules
kdeui Classes
All Classes
-
- - - - - - - - - - -
Modulekdeui
ClassKDateInternalWeekSelector
InheritsTQLineEdit
-

methods

    -
  • KDateInternalWeekSelector (parent = 0, name = 0) -
    - -
    returns a KDateInternalWeekSelector instance
    In versions KDE 3.2.0 and above only
    - - -
    ArgumentTypeDefault
    parentTQWidget0
    namechar0
    -

  • -
  • KDateInternalWeekSelector (a0, a1 = 0, a2 = 0) -
    - -
    returns a KDateInternalWeekSelector instance
    In versions less than KDE 3.2.0 only
    - - - -
    ArgumentTypeDefault
    a0int
    a1TQWidget0
    a2char0
    -

  • -
  • closeMe (a0) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    a0int
    -

  • -
  • getWeek () -
    - -
    returns (int)
    In versions KDE 3.1.0 and above only

  • -
  • setMaxWeek (max) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    maxint
    -

  • -
  • setWeek (week) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    weekint
    -

  • -
  • weekEnteredSlot () -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only

  • -
- - - diff --git a/python/pykde/doc/classref/kdeui/KDateInternalYearSelector.html b/python/pykde/doc/classref/kdeui/KDateInternalYearSelector.html deleted file mode 100644 index d6a7fb85..00000000 --- a/python/pykde/doc/classref/kdeui/KDateInternalYearSelector.html +++ /dev/null @@ -1,76 +0,0 @@ - - - - - class KDateInternalYearSelector - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KDateInternalYearSelector


-
- - - - - -
Table of contents
Modules
kdeui Classes
All Classes
-
- - - - - - - - - - -
Modulekdeui
ClassKDateInternalYearSelector
InheritsTQLineEdit
-

methods

    -
  • KDateInternalYearSelector (parent = 0, name = 0) -
    - -
    returns a KDateInternalYearSelector instance
    In versions KDE 3.2.0 and above only
    - - -
    ArgumentTypeDefault
    parentTQWidget0
    namechar0
    -

  • -
  • KDateInternalYearSelector (a0, a1 = 0, a2 = 0) -
    - -
    returns a KDateInternalYearSelector instance
    In versions less than KDE 3.2.0 only
    - - - -
    ArgumentTypeDefault
    a0int
    a1TQWidget0
    a2char0
    -

  • -
  • closeMe (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0int
    -

  • -
  • getYear () -
    -
    returns (int)

  • -
  • setYear (year) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    yearint
    -

  • -
  • yearEnteredSlot () -
    -
    returns nothing

  • -
- - - diff --git a/python/pykde/doc/classref/kdeui/KDatePicker.html b/python/pykde/doc/classref/kdeui/KDatePicker.html deleted file mode 100644 index e9bda36c..00000000 --- a/python/pykde/doc/classref/kdeui/KDatePicker.html +++ /dev/null @@ -1,200 +0,0 @@ - - - - - class KDatePicker - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KDatePicker


-
- - - - - -
Table of contents
Modules
kdeui Classes
All Classes
-
- - - - - - - - - - -
Modulekdeui
ClassKDatePicker
InheritsTQFrame
-

methods

    -
  • KDatePicker (parent = 0, a0 = TQDate .currentDate (), name = 0) -
    -
    returns a KDatePicker instance
    - - - -
    ArgumentTypeDefault
    parentTQWidget0
    a0TQDateTQDate .currentDate ()
    namechar0
    -

  • -
  • KDatePicker (parent, a0, name, f) -
    - -
    returns a KDatePicker instance
    In versions KDE 3.1.0 and above only
    - - - - -
    ArgumentTypeDefault
    parentTQWidget
    a0TQDate
    namechar
    fWFlags
    -

  • -
  • KDatePicker (parent, name) -
    - -
    returns a KDatePicker instance
    In versions KDE 3.1.0 and above only
    - - -
    ArgumentTypeDefault
    parentTQWidget
    namechar
    -

  • -
  • date () -
    -
    returns (TQDate)

  • -
  • dateChanged (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0TQDate
    -

  • -
  • dateChangedSlot (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0TQDate
    -

  • -
  • dateEntered (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0TQDate
    -

  • -
  • dateSelected (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0TQDate
    -

  • -
  • dateTable () -
    - -
    returns (KDateTable)
    In versions KDE 3.2.0 and above only

  • -
  • eventFilter (o, e) -
    - -
    returns (bool)
    In versions KDE 3.1.0 and above only
    - - -
    ArgumentTypeDefault
    oTQObject
    eTQEvent
    -

  • -
  • fontSize () -
    -
    returns (int)

  • -
  • getDate () -
    -
    returns (TQDate)

  • -
  • hasCloseButton () -
    - -
    returns (bool)
    In versions KDE 3.1.0 and above only

  • -
  • lineEnterPressed () -
    -
    returns nothing

  • -
  • monthBackwardClicked () -
    -
    returns nothing

  • -
  • monthForwardClicked () -
    -
    returns nothing

  • -
  • resizeEvent (a0) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    a0TQResizeEvent
    -

  • -
  • resizeEvent (a0) -
    - -
    returns nothing
    In versions less than KDE 3.1.0 only
    - -
    ArgumentTypeDefault
    a0TQResizeEvent
    -

  • -
  • selectMonthClicked () -
    -
    returns nothing

  • -
  • selectWeekClicked () -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only

  • -
  • selectYearClicked () -
    -
    returns nothing

  • -
  • setCloseButton (enable) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    enablebool
    -

  • -
  • setDate (a0) -
    -
    returns (bool)
    - -
    ArgumentTypeDefault
    a0TQDate
    -

  • -
  • setEnabled (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0bool
    -

  • -
  • setFontSize (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0int
    -

  • -
  • sizeHint () -
    -
    returns (TQSize)

  • -
  • tableClicked () -
    -
    returns nothing

  • -
  • tableClickedSlot () -
    -
    returns nothing

  • -
  • todayButtonClicked () -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only

  • -
  • weekSelected (a0) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    a0int
    -

  • -
  • yearBackwardClicked () -
    -
    returns nothing

  • -
  • yearForwardClicked () -
    -
    returns nothing

  • -
- - - diff --git a/python/pykde/doc/classref/kdeui/KDateTable.html b/python/pykde/doc/classref/kdeui/KDateTable.html deleted file mode 100644 index 1f1253ab..00000000 --- a/python/pykde/doc/classref/kdeui/KDateTable.html +++ /dev/null @@ -1,192 +0,0 @@ - - - - - class KDateTable - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KDateTable


-
- - - - - -
Table of contents
Modules
kdeui Classes
All Classes
-
- - - - - - - - - - -
Modulekdeui
ClassKDateTable
InheritsTQGridView
-

enums

    -
  • BackgroundMode = {NoBgMode, RectangleMode, CircleMode -}
-

methods

    -
  • KDateTable (parent = 0, date = TQDate .currentDate (), name = 0, f = 0) -
    -
    returns a KDateTable instance
    - - - - -
    ArgumentTypeDefault
    parentTQWidget0
    dateTQDateTQDate .currentDate ()
    namechar0
    fWFlags0
    -

  • -
  • KDateTable (parent, name, f = 0) -
    - -
    returns a KDateTable instance
    In versions KDE 3.4.0 and above only
    - - - -
    ArgumentTypeDefault
    parentTQWidget
    namechar
    fWFlags0
    -

  • -
  • aboutToShowContextMenu (menu, date) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - - -
    ArgumentTypeDefault
    menuKPopupMenu
    dateTQDate
    -

  • -
  • contentsMousePressEvent (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0TQMouseEvent
    -

  • -
  • dateChanged (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0TQDate
    -

  • -
  • dateChanged (cur, old) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - - -
    ArgumentTypeDefault
    curTQDate
    oldTQDate
    -

  • -
  • dateFromPos (pos) -
    - -
    returns (TQDate)
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    posint
    -

  • -
  • focusInEvent (e) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    eTQFocusEvent
    -

  • -
  • focusOutEvent (e) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    eTQFocusEvent
    -

  • -
  • getDate () -
    -
    returns (TQDate)

  • -
  • keyPressEvent (e) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    eTQKeyEvent
    -

  • -
  • paintCell (a0, a1, a2) -
    -
    returns nothing
    - - - -
    ArgumentTypeDefault
    a0TQPainter
    a1int
    a2int
    -

  • -
  • popupMenuEnabled () -
    - -
    returns (bool)
    In versions KDE 3.2.0 and above only

  • -
  • posFromDate (date) -
    - -
    returns (int)
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    dateTQDate
    -

  • -
  • setCustomDatePainting (date, fgColor, bgMode = NoBgMode, bgColor = TQColor ()) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - - - - -
    ArgumentTypeDefault
    dateTQDate
    fgColorTQColor
    bgModeBackgroundModeNoBgMode
    bgColorTQColorTQColor ()
    -

  • -
  • setDate (a0) -
    -
    returns (bool)
    - -
    ArgumentTypeDefault
    a0TQDate
    -

  • -
  • setFontSize (size) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    sizeint
    -

  • -
  • setPopupMenuEnabled (enable) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    enablebool
    -

  • -
  • sizeHint () -
    -
    returns (TQSize)

  • -
  • tableClicked () -
    -
    returns nothing

  • -
  • unsetCustomDatePainting (date) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    dateTQDate
    -

  • -
  • viewportResizeEvent (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0TQResizeEvent
    -

  • -
  • wheelEvent (e) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    eTQWheelEvent
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kdeui/KDateTimeWidget.html b/python/pykde/doc/classref/kdeui/KDateTimeWidget.html deleted file mode 100644 index 0b939a16..00000000 --- a/python/pykde/doc/classref/kdeui/KDateTimeWidget.html +++ /dev/null @@ -1,76 +0,0 @@ - - - - - class KDateTimeWidget - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KDateTimeWidget


-
- - - - - -
Table of contents
Modules
kdeui Classes
All Classes
-
- - - - - - - - - - -
Modulekdeui
ClassKDateTimeWidget
InheritsTQWidget
-

methods

    -
  • KDateTimeWidget (parent = 0, name = 0) -
    - -
    returns a KDateTimeWidget instance
    In versions KDE 3.2.0 and above only
    - - -
    ArgumentTypeDefault
    parentTQWidget0
    namechar0
    -

  • -
  • KDateTimeWidget (datetime, parent = 0, name = 0) -
    - -
    returns a KDateTimeWidget instance
    In versions KDE 3.2.0 and above only
    - - - -
    ArgumentTypeDefault
    datetimeTQDateTime
    parentTQWidget0
    namechar0
    -

  • -
  • dateTime () -
    - -
    returns (TQDateTime)
    In versions KDE 3.2.0 and above only

  • -
  • setDateTime (datetime) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    datetimeTQDateTime
    -

  • -
  • valueChanged (datetime) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    datetimeTQDateTime
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kdeui/KDateValidator.html b/python/pykde/doc/classref/kdeui/KDateValidator.html deleted file mode 100644 index cc9a42bd..00000000 --- a/python/pykde/doc/classref/kdeui/KDateValidator.html +++ /dev/null @@ -1,67 +0,0 @@ - - - - - class KDateValidator - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KDateValidator


-
- - - - - -
Table of contents
Modules
kdeui Classes
All Classes
-
- - - - - - - - - - -
Modulekdeui
ClassKDateValidator
InheritsTQValidator
-

methods

    -
  • KDateValidator (parent = 0, name = 0) -
    -
    returns a KDateValidator instance
    - - -
    ArgumentTypeDefault
    parentTQWidget0
    namechar0
    -

  • -
  • date (a0, a1) -
    -
    returns (State)
    - - -
    ArgumentTypeDefault
    a0TQString
    a1TQDate
    -

  • -
  • fixup (input) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    inputTQString
    -

  • -
  • validate (a0) -
    -
    returns (State) a1 (int)
    - -
    ArgumentTypeDefault
    a0TQString
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kdeui/KDateWidget.html b/python/pykde/doc/classref/kdeui/KDateWidget.html deleted file mode 100644 index b1db30d2..00000000 --- a/python/pykde/doc/classref/kdeui/KDateWidget.html +++ /dev/null @@ -1,84 +0,0 @@ - - - - - class KDateWidget - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KDateWidget


-
- - - - - -
Table of contents
Modules
kdeui Classes
All Classes
-
- - - - - - - - - - -
Modulekdeui
ClassKDateWidget
InheritsTQWidget
-

methods

    -
  • KDateWidget (parent, name = 0) -
    -
    returns a KDateWidget instance
    - - -
    ArgumentTypeDefault
    parentTQWidget
    namechar0
    -

  • -
  • KDateWidget (date, parent, name = 0) -
    -
    returns a KDateWidget instance
    - - - -
    ArgumentTypeDefault
    dateTQDate
    parentTQWidget
    namechar0
    -

  • -
  • changed (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0TQDate
    -

  • -
  • date () -
    -
    returns (TQDate)

  • -
  • init () -
    -
    returns nothing

  • -
  • init (a0) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    a0TQDate
    -

  • -
  • setDate (date) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    dateTQDate
    -

  • -
  • slotDateChanged () -
    -
    returns nothing

  • -
- - - diff --git a/python/pykde/doc/classref/kdeui/KDialog.html b/python/pykde/doc/classref/kdeui/KDialog.html deleted file mode 100644 index 7cef67d2..00000000 --- a/python/pykde/doc/classref/kdeui/KDialog.html +++ /dev/null @@ -1,125 +0,0 @@ - - - - - class KDialog - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KDialog


-
- - - - - -
Table of contents
Modules
kdeui Classes
All Classes
-
- - - - - - - - - - -
Modulekdeui
ClassKDialog
InheritsTQDialog
-

methods

    -
  • KDialog (parent = 0, name = 0, modal = 0, f = 0) -
    -
    returns a KDialog instance
    - - - - -
    ArgumentTypeDefault
    parentTQWidget0
    namechar0
    modalbool0
    fWFlags0
    -

  • -
  • KDialog (a0) -
    -
    returns a KDialog instance
    - -
    ArgumentTypeDefault
    a0KDialog
    -

  • -
  • avoidArea (widget, area, screen = -1) -
    - - -
    returns (bool)
    In versions KDE 3.2.0 and above only
    static
    - - - -
    ArgumentTypeDefault
    widgetTQWidget
    areaTQRect
    screenint-1
    -

  • -
  • centerOnScreen (widget, screen = -1) -
    - - -
    returns nothing
    In versions KDE 3.1.0 and above only
    static
    - - -
    ArgumentTypeDefault
    widgetTQWidget
    screenint-1
    -

  • -
  • keyPressEvent (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0TQKeyEvent
    -

  • -
  • layoutHintChanged () -
    -
    returns nothing

  • -
  • marginHint () -
    - -
    returns (int)
    static

  • -
  • polish () -
    -
    returns nothing

  • -
  • resizeLayout (widget, margin, spacing) -
    - -
    returns nothing
    static
    - - - -
    ArgumentTypeDefault
    widgetTQWidget
    marginint
    spacingint
    -

  • -
  • resizeLayout (lay, margin, spacing) -
    - -
    returns nothing
    static
    - - - -
    ArgumentTypeDefault
    layTQLayoutItem
    marginint
    spacingint
    -

  • -
  • setCaption (caption) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    captionTQString
    -

  • -
  • setPlainCaption (caption) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    captionTQString
    -

  • -
  • spacingHint () -
    - -
    returns (int)
    static

  • -
- - - diff --git a/python/pykde/doc/classref/kdeui/KDialogBase.html b/python/pykde/doc/classref/kdeui/KDialogBase.html deleted file mode 100644 index aa292cea..00000000 --- a/python/pykde/doc/classref/kdeui/KDialogBase.html +++ /dev/null @@ -1,706 +0,0 @@ - - - - - class KDialogBase - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KDialogBase


-
- - - - - -
Table of contents
Modules
kdeui Classes
All Classes
-
- - - - - - - - - - -
Modulekdeui
ClassKDialogBase
InheritsKDialog
-

enums

    -
  • ActionButtonStyle = {ActionStyle0, ActionStyle1, ActionStyle2, ActionStyle3, ActionStyle4, ActionStyleMAX -}
  • ButtonCode = {Help, Default, Ok, Apply, Try, Cancel, Close, User1, User2, User3, No, Yes, Details, Filler, Stretch, NoDefault -}
  • ButtonCode = {Help, Default, Ok, Apply, Try, Cancel, Close, User1, User2, User3, No, Yes, Details, Filler, Stretch -}
  • DialogType = {TreeList, Tabbed, Plain, Swallow, IconList -}
-

methods

    -
  • KDialogBase (parent = 0, name = 0, modal = 1, caption = TQString .null, buttonMask = Ok | Apply | Cancel, defaultButton = Ok, separator = 0, user1 = KGuiItem (), user2 = KGuiItem (), user3 = KGuiItem ()) -
    -
    returns a KDialogBase instance
    - - - - - - - - - - -
    ArgumentTypeDefault
    parentTQWidget0
    namechar0
    modalbool1
    captionTQStringTQString .null
    buttonMaskintOk | Apply | Cancel
    defaultButtonKDialogBase.ButtonCodeOk
    separatorbool0
    user1KGuiItemKGuiItem ()
    user2KGuiItemKGuiItem ()
    user3KGuiItemKGuiItem ()
    -

  • -
  • KDialogBase (dialogFace, caption, buttonMask, defaultButton, parent = 0, name = 0, modal = 1, separator = 0, user1 = KGuiItem (), user2 = KGuiItem (), user3 = KGuiItem ()) -
    -
    returns a KDialogBase instance
    - - - - - - - - - - - -
    ArgumentTypeDefault
    dialogFaceint
    captionTQString
    buttonMaskint
    defaultButtonKDialogBase.ButtonCode
    parentTQWidget0
    namechar0
    modalbool1
    separatorbool0
    user1KGuiItemKGuiItem ()
    user2KGuiItemKGuiItem ()
    user3KGuiItemKGuiItem ()
    -

  • -
  • KDialogBase (dialogFace, f, parent = 0, name = 0, modal = 1, caption = TQString .null, buttonMask = Ok | Apply | Cancel, defaultButton = Ok, separator = 0, user1 = KGuiItem (), user2 = KGuiItem (), user3 = KGuiItem ()) -
    - -
    returns a KDialogBase instance
    In versions KDE 3.2.0 and above only
    - - - - - - - - - - - - -
    ArgumentTypeDefault
    dialogFaceKDialogBase.DialogType
    fWFlags
    parentTQWidget0
    namechar0
    modalbool1
    captionTQStringTQString .null
    buttonMaskintOk | Apply | Cancel
    defaultButtonKDialogBase.ButtonCodeOk
    separatorbool0
    user1KGuiItemKGuiItem ()
    user2KGuiItemKGuiItem ()
    user3KGuiItemKGuiItem ()
    -

  • -
  • KDialogBase (caption, buttonMask = Yes | No | Cancel, defaultButton = Yes, escapeButton = Cancel, parent = 0, name = 0, modal = 1, separator = 0, yes = KStdGuiItem .yes (), no = KStdGuiItem .no (), cancel = KStdGuiItem .cancel ()) -
    -
    returns a KDialogBase instance
    - - - - - - - - - - - -
    ArgumentTypeDefault
    captionTQString
    buttonMaskintYes | No | Cancel
    defaultButtonKDialogBase.ButtonCodeYes
    escapeButtonKDialogBase.ButtonCodeCancel
    parentTQWidget0
    namechar0
    modalbool1
    separatorbool0
    yesKGuiItemKStdGuiItem .yes ()
    noKGuiItemKStdGuiItem .no ()
    cancelKGuiItemKStdGuiItem .cancel ()
    -

  • -
  • aboutToShowDetails () -
    -
    returns nothing

  • -
  • aboutToShowPage (page) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    pageTQWidget
    -

  • -
  • actionButton (id) -
    -
    returns (TQPushButton)
    - -
    ArgumentTypeDefault
    idKDialogBase.ButtonCode
    -

  • -
  • activePageIndex () -
    -
    returns (int)

  • -
  • addButtonBelowList (text, recv, slot) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - - - -
    ArgumentTypeDefault
    textTQString
    recvTQObject
    slotchar
    -

  • -
  • addButtonBelowList (guiitem, recv, slot) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - - - -
    ArgumentTypeDefault
    guiitemKGuiItem
    recvTQObject
    slotchar
    -

  • -
  • addGridPage (n, dir, itemName, header = TQString .null, pixmap = TQPixmap ()) -
    -
    returns (TQGrid)
    - - - - - -
    ArgumentTypeDefault
    nint
    dirQt.Orientation
    itemNameTQString
    headerTQStringTQString .null
    pixmapTQPixmapTQPixmap ()
    -

  • -
  • addGridPage (n, dir, items, header = TQString .null, pixmap = TQPixmap ()) -
    -
    returns (TQGrid)
    - - - - - -
    ArgumentTypeDefault
    nint
    dirQt.Orientation
    itemsTQStringList
    headerTQStringTQString .null
    pixmapTQPixmapTQPixmap ()
    -

  • -
  • addHBoxPage (itemName, header = TQString .null, pixmap = TQPixmap ()) -
    -
    returns (TQHBox)
    - - - -
    ArgumentTypeDefault
    itemNameTQString
    headerTQStringTQString .null
    pixmapTQPixmapTQPixmap ()
    -

  • -
  • addHBoxPage (items, header = TQString .null, pixmap = TQPixmap ()) -
    -
    returns (TQHBox)
    - - - -
    ArgumentTypeDefault
    itemsTQStringList
    headerTQStringTQString .null
    pixmapTQPixmapTQPixmap ()
    -

  • -
  • addPage (itemName, header = TQString .null, pixmap = TQPixmap ()) -
    -
    returns (TQFrame)
    - - - -
    ArgumentTypeDefault
    itemNameTQString
    headerTQStringTQString .null
    pixmapTQPixmapTQPixmap ()
    -

  • -
  • addPage (items, header = TQString .null, pixmap = TQPixmap ()) -
    -
    returns (TQFrame)
    - - - -
    ArgumentTypeDefault
    itemsTQStringList
    headerTQStringTQString .null
    pixmapTQPixmapTQPixmap ()
    -

  • -
  • addVBoxPage (itemName, header = TQString .null, pixmap = TQPixmap ()) -
    -
    returns (TQVBox)
    - - - -
    ArgumentTypeDefault
    itemNameTQString
    headerTQStringTQString .null
    pixmapTQPixmapTQPixmap ()
    -

  • -
  • addVBoxPage (items, header = TQString .null, pixmap = TQPixmap ()) -
    -
    returns (TQVBox)
    - - - -
    ArgumentTypeDefault
    itemsTQStringList
    headerTQStringTQString .null
    pixmapTQPixmapTQPixmap ()
    -

  • -
  • addWidgetBelowList (widget) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    widgetTQWidget
    -

  • -
  • adjustSize () -
    -
    returns nothing

  • -
  • apply () -
    -
    returns nothing

  • -
  • applyClicked () -
    -
    returns nothing

  • -
  • applyPressed () -
    -
    returns nothing

  • -
  • backgroundChanged () -
    -
    returns nothing

  • -
  • backgroundTile () -
    - -
    returns (TQPixmap)
    static

  • -
  • calculateSize (w, h) -
    -
    returns (TQSize)
    - - -
    ArgumentTypeDefault
    wint
    hint
    -

  • -
  • cancel () -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only

  • -
  • cancelClicked () -
    -
    returns nothing

  • -
  • closeClicked () -
    -
    returns nothing

  • -
  • closeEvent (e) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    eTQCloseEvent
    -

  • -
  • configDialogSize (groupName) -
    -
    returns (TQSize)
    - -
    ArgumentTypeDefault
    groupNameTQString
    -

  • -
  • configDialogSize (config, groupName) -
    - -
    returns (TQSize)
    In versions KDE 3.2.0 and above only
    - - -
    ArgumentTypeDefault
    configKConfig
    groupNameTQString
    -

  • -
  • defaultClicked () -
    -
    returns nothing

  • -
  • delayedDestruct () -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only

  • -
  • delayedDestruct () -
    - -
    returns nothing
    In versions less than KDE 3.1.0 only

  • -
  • disableResize () -
    -
    returns nothing

  • -
  • enableButton (id, state) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    idKDialogBase.ButtonCode
    statebool
    -

  • -
  • enableButtonApply (state) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    statebool
    -

  • -
  • enableButtonCancel (state) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    statebool
    -

  • -
  • enableButtonOK (state) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    statebool
    -

  • -
  • enableButtonSeparator (state) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    statebool
    -

  • -
  • enableLinkedHelp (state) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    statebool
    -

  • -
  • finished () -
    -
    returns nothing

  • -
  • getBackgroundTile () -
    - -
    returns (TQPixmap)
    static

  • -
  • getBorderWidths () -
    -
    returns ulx (int) uly (int) lrx (int) lry (int)

  • -
  • getContentsRect () -
    -
    returns (TQRect)

  • -
  • haveBackgroundTile () -
    - -
    returns (bool)
    static

  • -
  • helpClicked () -
    -
    returns nothing

  • -
  • helpClickedSlot (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0TQString
    -

  • -
  • helpLinkText () -
    -
    returns (TQString)

  • -
  • hidden () -
    -
    returns nothing

  • -
  • hideEvent (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0TQHideEvent
    -

  • -
  • incInitialSize (s, noResize = 0) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    sTQSize
    noResizebool0
    -

  • -
  • keyPressEvent (e) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    eTQKeyEvent
    -

  • -
  • mainWidget () -
    -
    returns (TQWidget)

  • -
  • makeGridMainWidget (n, dir) -
    -
    returns (TQGrid)
    - - -
    ArgumentTypeDefault
    nint
    dirQt.Orientation
    -

  • -
  • makeHBoxMainWidget () -
    -
    returns (TQHBox)

  • -
  • makeMainWidget () -
    -
    returns (TQFrame)

  • -
  • makeVBoxMainWidget () -
    -
    returns (TQVBox)

  • -
  • minimumSizeHint () -
    -
    returns (TQSize)

  • -
  • noClicked () -
    -
    returns nothing

  • -
  • okClicked () -
    -
    returns nothing

  • -
  • pageIndex (widget) -
    -
    returns (int)
    - -
    ArgumentTypeDefault
    widgetTQWidget
    -

  • -
  • plainPage () -
    -
    returns (TQFrame)

  • -
  • saveDialogSize (groupName, global = 0) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    groupNameTQString
    globalbool0
    -

  • -
  • saveDialogSize (config, groupName, global = 0) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - - - -
    ArgumentTypeDefault
    configKConfig
    groupNameTQString
    globalbool0
    -

  • -
  • setBackgroundTile (pix) -
    - -
    returns nothing
    static
    - -
    ArgumentTypeDefault
    pixTQPixmap
    -

  • -
  • setButtonApply (item = KStdGuiItem .apply ()) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    itemKGuiItemKStdGuiItem .apply ()
    -

  • -
  • setButtonApplyText (text = TQString .null, tooltip = TQString .null, quickhelp = TQString .null) -
    -
    returns nothing
    - - - -
    ArgumentTypeDefault
    textTQStringTQString .null
    tooltipTQStringTQString .null
    quickhelpTQStringTQString .null
    -

  • -
  • setButtonBoxOrientation (orientation) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    orientationint
    -

  • -
  • setButtonCancel (item = KStdGuiItem .cancel ()) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    itemKGuiItemKStdGuiItem .cancel ()
    -

  • -
  • setButtonCancelText (text = TQString .null, tooltip = TQString .null, quickhelp = TQString .null) -
    -
    returns nothing
    - - - -
    ArgumentTypeDefault
    textTQStringTQString .null
    tooltipTQStringTQString .null
    quickhelpTQStringTQString .null
    -

  • -
  • setButtonGuiItem (id, item) -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only
    - - -
    ArgumentTypeDefault
    idKDialogBase.ButtonCode
    itemKGuiItem
    -

  • -
  • setButtonOK (item = KStdGuiItem .ok ()) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    itemKGuiItemKStdGuiItem .ok ()
    -

  • -
  • setButtonOKText (text = TQString .null, tooltip = TQString .null, quickhelp = TQString .null) -
    -
    returns nothing
    - - - -
    ArgumentTypeDefault
    textTQStringTQString .null
    tooltipTQStringTQString .null
    quickhelpTQStringTQString .null
    -

  • -
  • setButtonText (id, text) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    idKDialogBase.ButtonCode
    textTQString
    -

  • -
  • setButtonTip (id, text) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    idKDialogBase.ButtonCode
    textTQString
    -

  • -
  • setButtonWhatsThis (id, text) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    idKDialogBase.ButtonCode
    textTQString
    -

  • -
  • setDetails (showDetails) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    showDetailsbool
    -

  • -
  • setDetailsWidget (detailsWidget) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    detailsWidgetTQWidget
    -

  • -
  • setEscapeButton (id) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    idKDialogBase.ButtonCode
    -

  • -
  • setFolderIcon (path, pixmap) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    pathTQStringList
    pixmapTQPixmap
    -

  • -
  • setHelp (anchor, appname = TQString .null) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    anchorTQString
    appnameTQStringTQString .null
    -

  • -
  • setHelpLinkText (text) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    textTQString
    -

  • -
  • setIconListAllVisible (state) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    statebool
    -

  • -
  • setInitialSize (s, noResize = 0) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    sTQSize
    noResizebool0
    -

  • -
  • setMainWidget (widget) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    widgetTQWidget
    -

  • -
  • setRootIsDecorated (state) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    statebool
    -

  • -
  • setShowIconsInTreeList (state) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    statebool
    -

  • -
  • setTreeListAutoResize (state) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    statebool
    -

  • -
  • showButton (id, state) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    idKDialogBase.ButtonCode
    statebool
    -

  • -
  • showButtonApply (state) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    statebool
    -

  • -
  • showButtonCancel (state) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    statebool
    -

  • -
  • showButtonOK (state) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    statebool
    -

  • -
  • showPage (index) -
    -
    returns (bool)
    - -
    ArgumentTypeDefault
    indexint
    -

  • -
  • showTile (state) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    statebool
    -

  • -
  • sizeHint () -
    -
    returns (TQSize)

  • -
  • slotApply () -
    -
    returns nothing

  • -
  • slotCancel () -
    -
    returns nothing

  • -
  • slotClose () -
    -
    returns nothing

  • -
  • slotDefault () -
    -
    returns nothing

  • -
  • slotDelayedDestruct () -
    -
    returns nothing

  • -
  • slotDetails () -
    -
    returns nothing

  • -
  • slotHelp () -
    -
    returns nothing

  • -
  • slotNo () -
    -
    returns nothing

  • -
  • slotOk () -
    -
    returns nothing

  • -
  • slotTry () -
    -
    returns nothing

  • -
  • slotUser1 () -
    -
    returns nothing

  • -
  • slotUser2 () -
    -
    returns nothing

  • -
  • slotUser3 () -
    -
    returns nothing

  • -
  • slotYes () -
    -
    returns nothing

  • -
  • tryClicked () -
    -
    returns nothing

  • -
  • unfoldTreeList (persist = 0) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    persistbool0
    -

  • -
  • updateBackground () -
    -
    returns nothing

  • -
  • updateGeometry () -
    -
    returns nothing

  • -
  • user1Clicked () -
    -
    returns nothing

  • -
  • user2Clicked () -
    -
    returns nothing

  • -
  • user3Clicked () -
    -
    returns nothing

  • -
  • yesClicked () -
    -
    returns nothing

  • -
- - - diff --git a/python/pykde/doc/classref/kdeui/KDialogQueue.html b/python/pykde/doc/classref/kdeui/KDialogQueue.html deleted file mode 100644 index 0244ac4e..00000000 --- a/python/pykde/doc/classref/kdeui/KDialogQueue.html +++ /dev/null @@ -1,55 +0,0 @@ - - - - - class KDialogQueue - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KDialogQueue


-
- - - - - -
Table of contents
Modules
kdeui Classes
All Classes
-
- - - - - - - - - - -
Modulekdeui
ClassKDialogQueue
InheritsTQObject
-

methods

    -
  • KDialogQueue () -
    -
    returns a KDialogQueue instance

  • -
  • queueDialog (a0) -
    - -
    returns nothing
    static
    - -
    ArgumentTypeDefault
    a0TQDialog
    -

  • -
  • self () -
    - -
    returns (KDialogQueue)
    static

  • -
- - - diff --git a/python/pykde/doc/classref/kdeui/KDockArea.html b/python/pykde/doc/classref/kdeui/KDockArea.html deleted file mode 100644 index 4dd0bb43..00000000 --- a/python/pykde/doc/classref/kdeui/KDockArea.html +++ /dev/null @@ -1,135 +0,0 @@ - - - - - class KDockArea - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KDockArea


-
- - - - - -
Table of contents
Modules
kdeui Classes
All Classes
-
- - - - - - - - - - -
Modulekdeui
ClassKDockArea
InheritsTQWidget
-

methods

    -
  • KDockArea (parent = 0, name = 0) -
    -
    returns a KDockArea instance
    - - -
    ArgumentTypeDefault
    parentTQWidget0
    namechar0
    -

  • -
  • activateDock () -
    -
    returns nothing

  • -
  • createDockWidget (name, pixmap, parent = 0, strCaption = 0, strTabPageLabel = " ") -
    -
    returns (KDockWidget)
    - - - - - -
    ArgumentTypeDefault
    nameTQString
    pixmapTQPixmap
    parentTQWidget0
    strCaptionTQString0
    strTabPageLabelTQString" "
    -

  • -
  • dockHideShowMenu () -
    -
    returns (TQPopupMenu)

  • -
  • dockWidgetHasUndocked (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0KDockWidget
    -

  • -
  • getMainDockWidget () -
    -
    returns (KDockWidget)

  • -
  • makeDockInvisible (dock) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    dockKDockWidget
    -

  • -
  • makeDockVisible (dock) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    dockKDockWidget
    -

  • -
  • makeWidgetDockVisible (widget) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    widgetTQWidget
    -

  • -
  • manager () -
    -
    returns (KDockManager)

  • -
  • readDockConfig (base) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    baseTQDomElement
    -

  • -
  • readDockConfig (c = 0, group = TQString .null) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    cKConfig0
    groupTQStringTQString .null
    -

  • -
  • resizeEvent (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0TQResizeEvent
    -

  • -
  • setMainDockWidget (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0KDockWidget
    -

  • -
  • slotDockWidgetUndocked () -
    -
    returns nothing

  • -
  • writeDockConfig (base) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    baseTQDomElement
    -

  • -
  • writeDockConfig (c = 0, group = TQString .null) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    cKConfig0
    groupTQStringTQString .null
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kdeui/KDockMainWindow.html b/python/pykde/doc/classref/kdeui/KDockMainWindow.html deleted file mode 100644 index 282dc5d6..00000000 --- a/python/pykde/doc/classref/kdeui/KDockMainWindow.html +++ /dev/null @@ -1,136 +0,0 @@ - - - - - class KDockMainWindow - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KDockMainWindow


-
- - - - - -
Table of contents
Modules
kdeui Classes
All Classes
-
- - - - - - - - - - -
Modulekdeui
ClassKDockMainWindow
InheritsKMainWindow
-

methods

    -
  • KDockMainWindow (parent = 0, name = 0, f = WType_TopLevel | WDestructiveClose) -
    -
    returns a KDockMainWindow instance
    - - - -
    ArgumentTypeDefault
    parentTQWidget0
    namechar0
    fWFlagsWType_TopLevel | WDestructiveClose
    -

  • -
  • activateDock () -
    -
    returns nothing

  • -
  • createDockWidget (name, pixmap, parent = 0, strCaption = 0, strTabPageLabel = " ") -
    -
    returns (KDockWidget)
    - - - - - -
    ArgumentTypeDefault
    nameTQString
    pixmapTQPixmap
    parentTQWidget0
    strCaptionTQString0
    strTabPageLabelTQString" "
    -

  • -
  • dockHideShowMenu () -
    -
    returns (TQPopupMenu)

  • -
  • dockWidgetHasUndocked (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0KDockWidget
    -

  • -
  • getMainDockWidget () -
    -
    returns (KDockWidget)

  • -
  • makeDockInvisible (dock) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    dockKDockWidget
    -

  • -
  • makeDockVisible (dock) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    dockKDockWidget
    -

  • -
  • makeWidgetDockVisible (widget) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    widgetTQWidget
    -

  • -
  • manager () -
    -
    returns (KDockManager)

  • -
  • readDockConfig (base) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    baseTQDomElement
    -

  • -
  • readDockConfig (c = 0, group = TQString .null) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    cKConfig0
    groupTQStringTQString .null
    -

  • -
  • setMainDockWidget (dockwidget) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    dockwidgetKDockWidget
    -

  • -
  • setView (widget) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    widgetTQWidget
    -

  • -
  • slotDockWidgetUndocked () -
    -
    returns nothing

  • -
  • writeDockConfig (base) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    baseTQDomElement
    -

  • -
  • writeDockConfig (c = 0, group = TQString .null) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    cKConfig0
    groupTQStringTQString .null
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kdeui/KDockManager.html b/python/pykde/doc/classref/kdeui/KDockManager.html deleted file mode 100644 index 19155426..00000000 --- a/python/pykde/doc/classref/kdeui/KDockManager.html +++ /dev/null @@ -1,208 +0,0 @@ - - - - - class KDockManager - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KDockManager


-
- - - - - -
Table of contents
Modules
kdeui Classes
All Classes
-
- - - - - - - - - - -
Modulekdeui
ClassKDockManager
InheritsTQObject
-

enums

    -
  • EnReadDockConfigMode = {Unknown, WrapExistingWidgetsOnly, RestoreAllDockwidgets -}
-

methods

    -
  • KDockManager (mainWindow, name = 0) -
    -
    returns a KDockManager instance
    - - -
    ArgumentTypeDefault
    mainWindowTQWidget
    namechar0
    -

  • -
  • activate () -
    -
    returns nothing

  • -
  • change () -
    -
    returns nothing

  • -
  • dockHideShowMenu () -
    -
    returns (TQPopupMenu)

  • -
  • dumpDockWidgets () -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only

  • -
  • eventFilter (object, event) -
    -
    returns (bool)
    - - -
    ArgumentTypeDefault
    objectTQObject
    eventTQEvent
    -

  • -
  • findWidgetParentDock (w) -
    -
    returns (KDockWidget)
    - -
    ArgumentTypeDefault
    wTQWidget
    -

  • -
  • finishReadDockConfig () -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only

  • -
  • getDockWidgetFromName (dockName) -
    -
    returns (KDockWidget)
    - -
    ArgumentTypeDefault
    dockNameTQString
    -

  • -
  • makeWidgetDockVisible (w) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    wTQWidget
    -

  • -
  • readConfig (c = 0, group = TQString .null) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    cKConfig0
    groupTQStringTQString .null
    -

  • -
  • readConfig (base) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    baseTQDomElement
    -

  • -
  • removeFromAutoCreateList (pDockWidget) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    pDockWidgetKDockWidget
    -

  • -
  • replaceDock (oldDock, newDock) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    oldDockKDockWidget
    newDockKDockWidget
    -

  • -
  • setDockDefaultPos (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0KDockWidget
    -

  • -
  • setMainDockWidget2 (a0) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    a0KDockWidget
    -

  • -
  • setReadDockConfigMode (mode) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    modeint
    -

  • -
  • setSpecialBottomDockContainer (container) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    containerKDockWidget
    -

  • -
  • setSpecialLeftDockContainer (container) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    containerKDockWidget
    -

  • -
  • setSpecialRightDockContainer (container) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    containerKDockWidget
    -

  • -
  • setSpecialTopDockContainer (container) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    containerKDockWidget
    -

  • -
  • setSplitterHighResolution (b = 1) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    bbool1
    -

  • -
  • setSplitterKeepSize (b = 1) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    bbool1
    -

  • -
  • setSplitterOpaqueResize (b = 1) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    bbool1
    -

  • -
  • splitterHighResolution () -
    -
    returns (bool)

  • -
  • splitterKeepSize () -
    -
    returns (bool)

  • -
  • splitterOpaqueResize () -
    -
    returns (bool)

  • -
  • writeConfig (c = 0, group = TQString .null) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    cKConfig0
    groupTQStringTQString .null
    -

  • -
  • writeConfig (base) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    baseTQDomElement
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kdeui/KDockTabGroup.html b/python/pykde/doc/classref/kdeui/KDockTabGroup.html deleted file mode 100644 index b03b1d64..00000000 --- a/python/pykde/doc/classref/kdeui/KDockTabGroup.html +++ /dev/null @@ -1,52 +0,0 @@ - - - - - class KDockTabGroup - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KDockTabGroup


-
- - - - - -
Table of contents
Modules
kdeui Classes
All Classes
-
- - - - - - - - - - -
Modulekdeui
ClassKDockTabGroup
InheritsTQTabWidget
-

methods

    -
  • KDockTabGroup (parent = 0, name = 0) -
    -
    returns a KDockTabGroup instance
    - - -
    ArgumentTypeDefault
    parentTQWidget0
    namechar0
    -

  • -
  • transientTo () -
    - -
    returns (TQWidget)
    In versions KDE 3.2.0 and above only

  • -
- - - diff --git a/python/pykde/doc/classref/kdeui/KDockWidget.html b/python/pykde/doc/classref/kdeui/KDockWidget.html deleted file mode 100644 index b5615815..00000000 --- a/python/pykde/doc/classref/kdeui/KDockWidget.html +++ /dev/null @@ -1,320 +0,0 @@ - - - - - class KDockWidget - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KDockWidget


-
- - - - - -
Table of contents
Modules
kdeui Classes
All Classes
-
- - - - - - - - - - -
Modulekdeui
ClassKDockWidget
InheritsTQWidget
-

enums

    -
  • DockPosition = {DockNone, DockTop, DockLeft, DockRight, DockBottom, DockCenter, DockDesktop, DockToSpecialSites, DockCorner, DockFullSite, DockFullDocking -}
  • DockPosition = {DockNone, DockTop, DockLeft, DockRight, DockBottom, DockCenter, DockDesktop, DockCorner, DockFullSite, DockFullDocking -}
-

methods

    -
  • KDockWidget (dockManager, name, pixmap, parent = 0, strCaption = 0, strTabPageLabel = " ", f = 0) -
    -
    returns a KDockWidget instance
    - - - - - - - -
    ArgumentTypeDefault
    dockManagerKDockManager
    namechar
    pixmapTQPixmap
    parentTQWidget0
    strCaptionTQString0
    strTabPageLabelTQString" "
    fWFlags0
    -

  • -
  • changeHideShowState () -
    -
    returns nothing

  • -
  • currentDockPosition () -
    - -
    returns (KDockWidget.DockPosition)
    In versions KDE 3.3.0 and above only

  • -
  • dockBack () -
    -
    returns nothing

  • -
  • dockManager () -
    -
    returns (KDockManager)

  • -
  • dockSite () -
    -
    returns (int)

  • -
  • docking (dw, dp) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    dwKDockWidget
    dpKDockWidget.DockPosition
    -

  • -
  • enableDocking () -
    -
    returns (int)

  • -
  • event (a0) -
    -
    returns (bool)
    - -
    ArgumentTypeDefault
    a0TQEvent
    -

  • -
  • findNearestDockWidget (pos) -
    - -
    returns (KDockWidget)
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    posKDockWidget.DockPosition
    -

  • -
  • forcedFixedHeight () -
    - -
    returns (int)
    In versions KDE 3.1.0 and above only

  • -
  • forcedFixedWidth () -
    - -
    returns (int)
    In versions KDE 3.1.0 and above only

  • -
  • getHeader () -
    - -
    returns (KDockWidgetAbstractHeader)
    In versions KDE 3.2.0 and above only

  • -
  • getWidget () -
    -
    returns (TQWidget)

  • -
  • hasUndocked () -
    -
    returns nothing

  • -
  • headerCloseButtonClicked () -
    -
    returns nothing

  • -
  • headerDockbackButtonClicked () -
    -
    returns nothing

  • -
  • iMBeingClosed () -
    -
    returns nothing

  • -
  • isDockBackPossible () -
    -
    returns (bool)

  • -
  • latestKDockContainer () -
    - -
    returns (TQWidget)
    In versions KDE 3.1.0 and above only

  • -
  • leaveEvent (a0) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    a0TQEvent
    -

  • -
  • loseFormerBrotherDockWidget () -
    -
    returns nothing

  • -
  • makeDockVisible () -
    -
    returns nothing

  • -
  • manualDock (target, dockPos, spliPos = 50, pos = TQPoint (0 ,0 ), check = 0, tabIndex = -1) -
    -
    returns (KDockWidget)
    - - - - - - -
    ArgumentTypeDefault
    targetKDockWidget
    dockPosKDockWidget.DockPosition
    spliPosint50
    posTQPointTQPoint (0 ,0 )
    checkbool0
    tabIndexint-1
    -

  • -
  • mayBeHide () -
    -
    returns (bool)

  • -
  • mayBeShow () -
    -
    returns (bool)

  • -
  • mouseMoveEvent (a0) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    a0TQMouseEvent
    -

  • -
  • mousePressEvent (a0) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    a0TQMouseEvent
    -

  • -
  • mouseReleaseEvent (a0) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    a0TQMouseEvent
    -

  • -
  • paintEvent (a0) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    a0TQPaintEvent
    -

  • -
  • parentDockContainer () -
    - -
    returns (TQWidget)
    In versions KDE 3.1.0 and above only

  • -
  • parentDockTabGroup () -
    -
    returns (KDockTabGroup)

  • -
  • pixmap () -
    - -
    returns (TQPixmap)
    In versions KDE 3.2.0 and above only

  • -
  • restoreFromForcedFixedSize () -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only

  • -
  • setDockDefaultPos () -
    -
    returns nothing

  • -
  • setDockSite (pos) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    posint
    -

  • -
  • setDockWindowTransient (parent, transientEnabled) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    parentTQWidget
    transientEnabledbool
    -

  • -
  • setDockWindowType (windowType) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    windowTypeNET.WindowType
    -

  • -
  • setEnableDocking (pos) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    posint
    -

  • -
  • setForcedFixedHeight (a0) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    a0int
    -

  • -
  • setForcedFixedWidth (a0) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    a0int
    -

  • -
  • setFormerBrotherDockWidget (a0) -
    - -
    returns nothing
    In versions KDE 3.2.1 and above only
    - -
    ArgumentTypeDefault
    a0KDockWidget
    -

  • -
  • setHeader (ah) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    ahKDockWidgetAbstractHeader
    -

  • -
  • setLatestKDockContainer (a0) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    a0TQWidget
    -

  • -
  • setPixmap (pixmap = TQPixmap ()) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    pixmapTQPixmapTQPixmap ()
    -

  • -
  • setTabPageLabel (label) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    labelTQString
    -

  • -
  • setToolTipString (ttStr) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    ttStrTQString
    -

  • -
  • setWidget (w) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    wTQWidget
    -

  • -
  • show () -
    -
    returns nothing

  • -
  • tabPageLabel () -
    -
    returns (TQString)

  • -
  • toDesktop () -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only

  • -
  • toolTipString () -
    -
    returns (TQString)

  • -
  • transientTo () -
    - -
    returns (TQWidget)
    In versions KDE 3.2.0 and above only

  • -
  • undock () -
    -
    returns nothing

  • -
  • updateHeader () -
    -
    returns nothing

  • -
  • widgetSet (a0) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    a0TQWidget
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kdeui/KDockWidgetAbstractHeader.html b/python/pykde/doc/classref/kdeui/KDockWidgetAbstractHeader.html deleted file mode 100644 index 9226b353..00000000 --- a/python/pykde/doc/classref/kdeui/KDockWidgetAbstractHeader.html +++ /dev/null @@ -1,66 +0,0 @@ - - - - - class KDockWidgetAbstractHeader - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KDockWidgetAbstractHeader


-
- - - - - -
Table of contents
Modules
kdeui Classes
All Classes
-
- - - - - - - - - - -
Modulekdeui
ClassKDockWidgetAbstractHeader
InheritsTQFrame
-

methods

    -
  • KDockWidgetAbstractHeader (parent, name = 0) -
    -
    returns a KDockWidgetAbstractHeader instance
    - - -
    ArgumentTypeDefault
    parentKDockWidget
    namechar0
    -

  • -
  • loadConfig (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0KConfig
    -

  • -
  • saveConfig (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0KConfig
    -

  • -
  • setTopLevel (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0bool
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kdeui/KDockWidgetAbstractHeaderDrag.html b/python/pykde/doc/classref/kdeui/KDockWidgetAbstractHeaderDrag.html deleted file mode 100644 index 52ef4360..00000000 --- a/python/pykde/doc/classref/kdeui/KDockWidgetAbstractHeaderDrag.html +++ /dev/null @@ -1,52 +0,0 @@ - - - - - class KDockWidgetAbstractHeaderDrag - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KDockWidgetAbstractHeaderDrag


-
- - - - - -
Table of contents
Modules
kdeui Classes
All Classes
-
- - - - - - - - - - -
Modulekdeui
ClassKDockWidgetAbstractHeaderDrag
InheritsTQFrame
-

methods

    -
  • KDockWidgetAbstractHeaderDrag (parent, dock, name = 0) -
    -
    returns a KDockWidgetAbstractHeaderDrag instance
    - - - -
    ArgumentTypeDefault
    parentKDockWidgetAbstractHeader
    dockKDockWidget
    namechar0
    -

  • -
  • dockWidget () -
    -
    returns (KDockWidget)

  • -
- - - diff --git a/python/pykde/doc/classref/kdeui/KDockWidgetHeader.html b/python/pykde/doc/classref/kdeui/KDockWidgetHeader.html deleted file mode 100644 index fe4b340e..00000000 --- a/python/pykde/doc/classref/kdeui/KDockWidgetHeader.html +++ /dev/null @@ -1,108 +0,0 @@ - - - - - class KDockWidgetHeader - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KDockWidgetHeader


-
- - - - - -
Table of contents
Modules
kdeui Classes
All Classes
-
- - - - - - - - - - -
Modulekdeui
ClassKDockWidgetHeader
InheritsKDockWidgetAbstractHeader
-

methods

    -
  • KDockWidgetHeader (parent, name = 0) -
    -
    returns a KDockWidgetHeader instance
    - - -
    ArgumentTypeDefault
    parentKDockWidget
    namechar0
    -

  • -
  • addButton (a0) -
    Not Implemented
    -

  • -
  • dragEnabled () -
    -
    returns (bool)

  • -
  • dragPanel () -
    - -
    returns (KDockWidgetHeaderDrag)
    In versions KDE 3.4.0 and above only

  • -
  • forceCloseButtonHidden (enable = 1) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    enablebool1
    -

  • -
  • loadConfig (c) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    cKConfig
    -

  • -
  • removeButton (a0) -
    Not Implemented
    -

  • -
  • saveConfig (c) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    cKConfig
    -

  • -
  • setDragEnabled (b) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    bbool
    -

  • -
  • setDragPanel (nd) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    ndKDockWidgetHeaderDrag
    -

  • -
  • setTopLevel (t) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    tbool
    -

  • -
  • showUndockButton (show) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    showbool
    -

  • -
  • slotStayClicked () -
    -
    returns nothing

  • -
- - - diff --git a/python/pykde/doc/classref/kdeui/KDockWidgetHeaderDrag.html b/python/pykde/doc/classref/kdeui/KDockWidgetHeaderDrag.html deleted file mode 100644 index 73f23940..00000000 --- a/python/pykde/doc/classref/kdeui/KDockWidgetHeaderDrag.html +++ /dev/null @@ -1,55 +0,0 @@ - - - - - class KDockWidgetHeaderDrag - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KDockWidgetHeaderDrag


-
- - - - - -
Table of contents
Modules
kdeui Classes
All Classes
-
- - - - - - - - - - -
Modulekdeui
ClassKDockWidgetHeaderDrag
InheritsKDockWidgetAbstractHeaderDrag
-

methods

    -
  • KDockWidgetHeaderDrag (parent, dock, name = 0) -
    -
    returns a KDockWidgetHeaderDrag instance
    - - - -
    ArgumentTypeDefault
    parentKDockWidgetAbstractHeader
    dockKDockWidget
    namechar0
    -

  • -
  • paintEvent (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0TQPaintEvent
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kdeui/KDockWindow.html b/python/pykde/doc/classref/kdeui/KDockWindow.html deleted file mode 100644 index 882f4034..00000000 --- a/python/pykde/doc/classref/kdeui/KDockWindow.html +++ /dev/null @@ -1,48 +0,0 @@ - - - - - class KDockWindow - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KDockWindow


-
- - - - - -
Table of contents
Modules
kdeui Classes
All Classes
-
- - - - - - - - - - -
Modulekdeui
ClassKDockWindow
InheritsKSystemTray
-

methods

    -
  • KDockWindow (parent = 0, name = 0) -
    -
    returns a KDockWindow instance
    - - -
    ArgumentTypeDefault
    parentTQWidget0
    namechar0
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kdeui/KDoubleNumInput.html b/python/pykde/doc/classref/kdeui/KDoubleNumInput.html deleted file mode 100644 index 027ec231..00000000 --- a/python/pykde/doc/classref/kdeui/KDoubleNumInput.html +++ /dev/null @@ -1,228 +0,0 @@ - - - - - class KDoubleNumInput - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KDoubleNumInput


-
- - - - - -
Table of contents
Modules
kdeui Classes
All Classes
-
- - - - - - - - - - -
Modulekdeui
ClassKDoubleNumInput
InheritsKNumInput
-

methods

    -
  • KDoubleNumInput (parent = 0, name = 0) -
    -
    returns a KDoubleNumInput instance
    - - -
    ArgumentTypeDefault
    parentTQWidget0
    namechar0
    -

  • -
  • KDoubleNumInput (value, parent = 0, name = 0) -
    -
    returns a KDoubleNumInput instance
    - - - -
    ArgumentTypeDefault
    valuedouble
    parentTQWidget0
    namechar0
    -

  • -
  • KDoubleNumInput (lower, upper, value, step = 0.01, precision = 2, parent = 0, name = 0) -
    - -
    returns a KDoubleNumInput instance
    In versions KDE 3.1.0 and above only
    - - - - - - - -
    ArgumentTypeDefault
    lowerdouble
    upperdouble
    valuedouble
    stepdouble0.01
    precisionint2
    parentTQWidget0
    namechar0
    -

  • -
  • KDoubleNumInput (below, value, parent = 0, name = 0) -
    -
    returns a KDoubleNumInput instance
    - - - - -
    ArgumentTypeDefault
    belowKNumInput
    valuedouble
    parentTQWidget0
    namechar0
    -

  • -
  • KDoubleNumInput (below, lower, upper, value, step = 0.02, precision = 2, parent = 0, name = 0) -
    - -
    returns a KDoubleNumInput instance
    In versions KDE 3.1.0 and above only
    - - - - - - - - -
    ArgumentTypeDefault
    belowKNumInput
    lowerdouble
    upperdouble
    valuedouble
    stepdouble0.02
    precisionint2
    parentTQWidget0
    namechar0
    -

  • -
  • doLayout () -
    -
    returns nothing

  • -
  • eventFilter (a0, a1) -
    -
    returns (bool)
    - - -
    ArgumentTypeDefault
    a0TQObject
    a1TQEvent
    -

  • -
  • maxValue () -
    -
    returns (double)

  • -
  • minValue () -
    -
    returns (double)

  • -
  • minimumSizeHint () -
    -
    returns (TQSize)

  • -
  • precision () -
    -
    returns (int)

  • -
  • prefix () -
    -
    returns (TQString)

  • -
  • referencePoint () -
    - -
    returns (double)
    In versions KDE 3.1.0 and above only

  • -
  • relativeValue () -
    - -
    returns (double)
    In versions KDE 3.1.0 and above only

  • -
  • relativeValueChanged (a0) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    a0double
    -

  • -
  • resetEditBox () -
    -
    returns nothing

  • -
  • resizeEvent (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0TQResizeEvent
    -

  • -
  • setLabel (label, a = AlignLeft | AlignTop) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    labelTQString
    aintAlignLeft | AlignTop
    -

  • -
  • setMaxValue (max) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    maxdouble
    -

  • -
  • setMinValue (min) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    mindouble
    -

  • -
  • setPrecision (precision) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    precisionint
    -

  • -
  • setPrefix (prefix) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    prefixTQString
    -

  • -
  • setRange (min, max, step = 1, slider = 1) -
    -
    returns nothing
    - - - - -
    ArgumentTypeDefault
    mindouble
    maxdouble
    stepdouble1
    sliderbool1
    -

  • -
  • setReferencePoint (ref) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    refdouble
    -

  • -
  • setRelativeValue (a0) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    a0double
    -

  • -
  • setSpecialValueText (text) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    textTQString
    -

  • -
  • setSuffix (suffix) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    suffixTQString
    -

  • -
  • setValue (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0double
    -

  • -
  • specialValueText () -
    -
    returns (TQString)

  • -
  • suffix () -
    -
    returns (TQString)

  • -
  • value () -
    -
    returns (double)

  • -
  • valueChanged (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0double
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kdeui/KDoubleSpinBox.html b/python/pykde/doc/classref/kdeui/KDoubleSpinBox.html deleted file mode 100644 index 46f4fcd6..00000000 --- a/python/pykde/doc/classref/kdeui/KDoubleSpinBox.html +++ /dev/null @@ -1,177 +0,0 @@ - - - - - class KDoubleSpinBox - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KDoubleSpinBox


-
- - - - - -
Table of contents
Modules
kdeui Classes
All Classes
-
- - - - - - - - - - -
Modulekdeui
ClassKDoubleSpinBox
InheritsTQSpinBox
-

methods

    -
  • KDoubleSpinBox (parent = 0, name = 0) -
    - -
    returns a KDoubleSpinBox instance
    In versions KDE 3.1.0 and above only
    - - -
    ArgumentTypeDefault
    parentTQWidget0
    namechar0
    -

  • -
  • KDoubleSpinBox (lower, upper, step, value, precision = 2, parent = 0, name = 0) -
    - -
    returns a KDoubleSpinBox instance
    In versions KDE 3.1.0 and above only
    - - - - - - - -
    ArgumentTypeDefault
    lowerdouble
    upperdouble
    stepdouble
    valuedouble
    precisionint2
    parentTQWidget0
    namechar0
    -

  • -
  • acceptLocalizedNumbers () -
    - -
    returns (bool)
    In versions KDE 3.1.0 and above only

  • -
  • lineStep () -
    - -
    returns (double)
    In versions KDE 3.1.0 and above only

  • -
  • mapTextToValue () -
    Not Implemented
    -

  • -
  • mapValueToText (a0) -
    - -
    returns (TQString)
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    a0int
    -

  • -
  • maxValue () -
    - -
    returns (double)
    In versions KDE 3.1.0 and above only

  • -
  • minValue () -
    - -
    returns (double)
    In versions KDE 3.1.0 and above only

  • -
  • precision () -
    - -
    returns (int)
    In versions KDE 3.1.0 and above only

  • -
  • setAcceptLocalizedNumbers (accept) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    acceptbool
    -

  • -
  • setLineStep (step) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    stepdouble
    -

  • -
  • setMaxValue (value) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    valuedouble
    -

  • -
  • setMinValue (value) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    valuedouble
    -

  • -
  • setPrecision (precision) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    precisionint
    -

  • -
  • setPrecision (precision, force) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - - -
    ArgumentTypeDefault
    precisionint
    forcebool
    -

  • -
  • setRange (lower, upper, step = 0.01, precision = 2) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - - - - -
    ArgumentTypeDefault
    lowerdouble
    upperdouble
    stepdouble0.01
    precisionint2
    -

  • -
  • setValidator (a0) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    a0TQValidator
    -

  • -
  • setValue (value) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    valuedouble
    -

  • -
  • slotValueChanged (value) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    valueint
    -

  • -
  • value () -
    - -
    returns (double)
    In versions KDE 3.1.0 and above only

  • -
  • valueChanged (value) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    valuedouble
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kdeui/KDoubleValidator.html b/python/pykde/doc/classref/kdeui/KDoubleValidator.html deleted file mode 100644 index 0c5a1cb1..00000000 --- a/python/pykde/doc/classref/kdeui/KDoubleValidator.html +++ /dev/null @@ -1,78 +0,0 @@ - - - - - class KDoubleValidator - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KDoubleValidator


-
- - - - - -
Table of contents
Modules
kdeui Classes
All Classes
-
- - - - - - - - - - -
Modulekdeui
ClassKDoubleValidator
InheritsTQDoubleValidator
-

methods

    -
  • KDoubleValidator (parent, name = 0) -
    - -
    returns a KDoubleValidator instance
    In versions KDE 3.1.0 and above only
    - - -
    ArgumentTypeDefault
    parentTQObject
    namechar0
    -

  • -
  • KDoubleValidator (bottom, top, decimals, parent, name = 0) -
    - -
    returns a KDoubleValidator instance
    In versions KDE 3.1.0 and above only
    - - - - - -
    ArgumentTypeDefault
    bottomdouble
    topdouble
    decimalsint
    parentTQObject
    namechar0
    -

  • -
  • acceptLocalizedNumbers () -
    - -
    returns (bool)
    In versions KDE 3.1.0 and above only

  • -
  • setAcceptLocalizedNumbers (accept) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    acceptbool
    -

  • -
  • validate (input) -
    - -
    returns (TQValidator.State) pos (int)
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    inputTQString
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kdeui/KDualColorButton.html b/python/pykde/doc/classref/kdeui/KDualColorButton.html deleted file mode 100644 index 470e8dab..00000000 --- a/python/pykde/doc/classref/kdeui/KDualColorButton.html +++ /dev/null @@ -1,162 +0,0 @@ - - - - - class KDualColorButton - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KDualColorButton


-
- - - - - -
Table of contents
Modules
kdeui Classes
All Classes
-
- - - - - - - - - - -
Modulekdeui
ClassKDualColorButton
InheritsTQWidget
-

enums

    -
  • DualColor = {Foreground, Background -}
-

methods

    -
  • KDualColorButton (parent = 0, name = 0, dialogParent = 0) -
    -
    returns a KDualColorButton instance
    - - - -
    ArgumentTypeDefault
    parentTQWidget0
    namechar0
    dialogParentTQWidget0
    -

  • -
  • KDualColorButton (fgColor, bgColor, parent = 0, name = 0, dialogParent = 0) -
    -
    returns a KDualColorButton instance
    - - - - - -
    ArgumentTypeDefault
    fgColorTQColor
    bgColorTQColor
    parentTQWidget0
    namechar0
    dialogParentTQWidget0
    -

  • -
  • background () -
    -
    returns (TQColor)

  • -
  • bgChanged (c) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    cTQColor
    -

  • -
  • current () -
    -
    returns (KDualColorButton.DualColor)

  • -
  • currentChanged (s) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    sKDualColorButton.DualColor
    -

  • -
  • currentColor () -
    -
    returns (TQColor)

  • -
  • dragEnterEvent (ev) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    evTQDragEnterEvent
    -

  • -
  • dropEvent (ev) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    evTQDropEvent
    -

  • -
  • fgChanged (c) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    cTQColor
    -

  • -
  • foreground () -
    -
    returns (TQColor)

  • -
  • metrics (fgRect, bgRect) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    fgRectTQRect
    bgRectTQRect
    -

  • -
  • mouseMoveEvent (ev) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    evTQMouseEvent
    -

  • -
  • mousePressEvent (ev) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    evTQMouseEvent
    -

  • -
  • mouseReleaseEvent (ev) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    evTQMouseEvent
    -

  • -
  • paintEvent (ev) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    evTQPaintEvent
    -

  • -
  • setBackground (c) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    cTQColor
    -

  • -
  • setCurrent (s) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    sKDualColorButton.DualColor
    -

  • -
  • setCurrentColor (c) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    cTQColor
    -

  • -
  • setForeground (c) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    cTQColor
    -

  • -
  • sizeHint () -
    -
    returns (TQSize)

  • -
- - - diff --git a/python/pykde/doc/classref/kdeui/KEdFind.html b/python/pykde/doc/classref/kdeui/KEdFind.html deleted file mode 100644 index 04e737bd..00000000 --- a/python/pykde/doc/classref/kdeui/KEdFind.html +++ /dev/null @@ -1,103 +0,0 @@ - - - - - class KEdFind - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KEdFind


-
- - - - - -
Table of contents
Modules
kdeui Classes
All Classes
-
- - - - - - - - - - -
Modulekdeui
ClassKEdFind
InheritsKDialogBase
-

methods

    -
  • KEdFind (parent = 0, name = 0, modal = 1) -
    -
    returns a KEdFind instance
    - - - -
    ArgumentTypeDefault
    parentTQWidget0
    namechar0
    modalbool1
    -

  • -
  • case_sensitive () -
    -
    returns (bool)

  • -
  • done () -
    -
    returns nothing

  • -
  • done (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0int
    -

  • -
  • getText () -
    -
    returns (TQString)

  • -
  • get_direction () -
    -
    returns (bool)

  • -
  • search () -
    -
    returns nothing

  • -
  • searchCombo () -
    -
    returns (KHistoryCombo)

  • -
  • setCaseSensitive (b) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    bbool
    -

  • -
  • setDirection (b) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    bbool
    -

  • -
  • setText (string) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    stringTQString
    -

  • -
  • slotCancel () -
    -
    returns nothing

  • -
  • slotUser1 () -
    -
    returns nothing

  • -
  • textSearchChanged (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0TQString
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kdeui/KEdGotoLine.html b/python/pykde/doc/classref/kdeui/KEdGotoLine.html deleted file mode 100644 index 00a0cb10..00000000 --- a/python/pykde/doc/classref/kdeui/KEdGotoLine.html +++ /dev/null @@ -1,58 +0,0 @@ - - - - - class KEdGotoLine - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KEdGotoLine


-
- - - - - -
Table of contents
Modules
kdeui Classes
All Classes
-
- - - - - - - - - - -
Modulekdeui
ClassKEdGotoLine
InheritsKDialogBase
-

methods

    -
  • KEdGotoLine (parent = 0, name = 0, modal = 1) -
    -
    returns a KEdGotoLine instance
    - - - -
    ArgumentTypeDefault
    parentTQWidget0
    namechar0
    modalbool1
    -

  • -
  • getLineNumber () -
    -
    returns (int)

  • -
  • selected (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0int
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kdeui/KEdReplace.html b/python/pykde/doc/classref/kdeui/KEdReplace.html deleted file mode 100644 index eebb5e32..00000000 --- a/python/pykde/doc/classref/kdeui/KEdReplace.html +++ /dev/null @@ -1,112 +0,0 @@ - - - - - class KEdReplace - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KEdReplace


-
- - - - - -
Table of contents
Modules
kdeui Classes
All Classes
-
- - - - - - - - - - -
Modulekdeui
ClassKEdReplace
InheritsKDialogBase
-

methods

    -
  • KEdReplace (parent = 0, name = 0, modal = 1) -
    -
    returns a KEdReplace instance
    - - - -
    ArgumentTypeDefault
    parentTQWidget0
    namechar0
    modalbool1
    -

  • -
  • case_sensitive () -
    -
    returns (bool)

  • -
  • done () -
    -
    returns nothing

  • -
  • done (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0int
    -

  • -
  • find () -
    -
    returns nothing

  • -
  • getReplaceText () -
    -
    returns (TQString)

  • -
  • getText () -
    -
    returns (TQString)

  • -
  • get_direction () -
    -
    returns (bool)

  • -
  • replace () -
    -
    returns nothing

  • -
  • replaceAll () -
    -
    returns nothing

  • -
  • replaceCombo () -
    -
    returns (KHistoryCombo)

  • -
  • searchCombo () -
    -
    returns (KHistoryCombo)

  • -
  • setText (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0TQString
    -

  • -
  • slotCancel () -
    -
    returns nothing

  • -
  • slotClose () -
    -
    returns nothing

  • -
  • slotUser1 () -
    -
    returns nothing

  • -
  • slotUser2 () -
    -
    returns nothing

  • -
  • slotUser3 () -
    -
    returns nothing

  • -
  • textSearchChanged (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0TQString
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kdeui/KEdit.html b/python/pykde/doc/classref/kdeui/KEdit.html deleted file mode 100644 index 44337429..00000000 --- a/python/pykde/doc/classref/kdeui/KEdit.html +++ /dev/null @@ -1,264 +0,0 @@ - - - - - class KEdit - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KEdit


-
- - - - - -
Table of contents
Modules
kdeui Classes
All Classes
-
- - - - - - - - - - -
Modulekdeui
ClassKEdit
InheritsTQMultiLineEdit
-

enums

    -
  • (anonymous) = {NONE, FORWARD, BACKWARD -}
-

methods

    -
  • CursorPositionChanged () -
    -
    returns nothing

  • -
  • KEdit (_parent = 0, name = 0) -
    -
    returns a KEdit instance
    - - -
    ArgumentTypeDefault
    _parentTQWidget0
    namechar0
    -

  • -
  • cleanWhiteSpace () -
    -
    returns nothing

  • -
  • computePosition () -
    -
    returns nothing

  • -
  • contentsDragEnterEvent (e) -
    - -
    returns nothing
    In versions KDE 3.1.3 and above only
    - -
    ArgumentTypeDefault
    eTQDragEnterEvent
    -

  • -
  • contentsDragMoveEvent (e) -
    - -
    returns nothing
    In versions KDE 3.1.3 and above only
    - -
    ArgumentTypeDefault
    eTQDragMoveEvent
    -

  • -
  • contentsDropEvent (e) -
    - -
    returns nothing
    In versions KDE 3.1.3 and above only
    - -
    ArgumentTypeDefault
    eTQDropEvent
    -

  • -
  • corrected (originalword, newword, pos) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - - - -
    ArgumentTypeDefault
    originalwordTQString
    newwordTQString
    posuint
    -

  • -
  • create (a0 = 0, initializeWindow = 1, destroyOldWindow = 1) -
    -
    returns nothing
    - - - -
    ArgumentTypeDefault
    a0WId0
    initializeWindowbool1
    destroyOldWindowbool1
    -

  • -
  • createPopupMenu (pos) -
    - -
    returns (TQPopupMenu)
    In versions KDE 3.2.3 and above only
    - -
    ArgumentTypeDefault
    posTQPoint
    -

  • -
  • currentColumn () -
    -
    returns (int)

  • -
  • currentLine () -
    -
    returns (int)

  • -
  • doGotoLine () -
    -
    returns nothing

  • -
  • doReplace (s_pattern, case_sensitive, regex, forward, line, col, replace) -
    -
    returns (int)
    - - - - - - - -
    ArgumentTypeDefault
    s_patternTQString
    case_sensitivebool
    regexbool
    forwardbool
    lineint
    colint
    replacebool
    -

  • -
  • doSearch (s_pattern, case_sensitive, regex, forward, line, col) -
    -
    returns (int)
    - - - - - - -
    ArgumentTypeDefault
    s_patternTQString
    case_sensitivebool
    regexbool
    forwardbool
    lineint
    colint
    -

  • -
  • dragEnterEvent (e) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    eTQDragEnterEvent
    -

  • -
  • dragMoveEvent (e) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    eTQDragMoveEvent
    -

  • -
  • dropEvent (e) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    eTQDropEvent
    -

  • -
  • ensureCursorVisible () -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only

  • -
  • gotUrlDrop (e) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    eTQDropEvent
    -

  • -
  • insertText (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0TQTextStream
    -

  • -
  • installRBPopup (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0TQPopupMenu
    -

  • -
  • keyPressEvent (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0TQKeyEvent
    -

  • -
  • misspelling (word, a0, pos) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - - - -
    ArgumentTypeDefault
    wordTQString
    a0TQStringList
    posuint
    -

  • -
  • posToRowCol (pos) -
    -
    returns line (uint) col (uint)
    - -
    ArgumentTypeDefault
    posuint
    -

  • -
  • repeatSearch () -
    -
    returns (bool)

  • -
  • replace () -
    -
    returns nothing

  • -
  • saveText (a0, softWrap) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - - -
    ArgumentTypeDefault
    a0TQTextStream
    softWrapbool
    -

  • -
  • saveText (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0TQTextStream
    -

  • -
  • search () -
    -
    returns nothing

  • -
  • selectFont () -
    -
    returns nothing

  • -
  • selectWordUnderCursor () -
    - -
    returns (TQString)
    In versions KDE 3.2.0 and above only

  • -
  • setAutoUpdate (b) -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only
    - -
    ArgumentTypeDefault
    bbool
    -

  • -
  • setCursor (a0) -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only
    - -
    ArgumentTypeDefault
    a0TQCursor
    -

  • -
  • setOverwriteEnabled (b) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    bbool
    -

  • -
  • spellcheck_start () -
    -
    returns nothing

  • -
  • spellcheck_stop () -
    -
    returns nothing

  • -
  • toggle_overwrite_signal () -
    -
    returns nothing

  • -
  • viewportPaintEvent (a0) -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only
    - -
    ArgumentTypeDefault
    a0TQPaintEvent
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kdeui/KEditListBox.CustomEditor.html b/python/pykde/doc/classref/kdeui/KEditListBox.CustomEditor.html deleted file mode 100644 index 7320d43f..00000000 --- a/python/pykde/doc/classref/kdeui/KEditListBox.CustomEditor.html +++ /dev/null @@ -1,82 +0,0 @@ - - - - - class KEditListBox.CustomEditor - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KEditListBox.CustomEditor


-
- - - - - -
Table of contents
Modules
kdeui Classes
All Classes
-
- - - - - - - - - - -
Modulekdeui
ClassKEditListBox.CustomEditor
Inherits
-

methods

    -
  • CustomEditor () -
    - -
    returns a CustomEditor instance
    In versions KDE 3.1.0 and above only

  • -
  • CustomEditor (repWidget, edit) -
    - -
    returns a CustomEditor instance
    In versions KDE 3.1.0 and above only
    - - -
    ArgumentTypeDefault
    repWidgetTQWidget
    editKLineEdit
    -

  • -
  • CustomEditor (combo) -
    - -
    returns a CustomEditor instance
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    comboKComboBox
    -

  • -
  • lineEdit () -
    - -
    returns (KLineEdit)
    In versions KDE 3.1.0 and above only

  • -
  • representationWidget () -
    - -
    returns (TQWidget)
    In versions KDE 3.1.0 and above only

  • -
  • setLineEdit (edit) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    editKLineEdit
    -

  • -
  • setRepresentationWidget (repWidget) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    repWidgetTQWidget
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kdeui/KEditListBox.html b/python/pykde/doc/classref/kdeui/KEditListBox.html deleted file mode 100644 index 6325b71b..00000000 --- a/python/pykde/doc/classref/kdeui/KEditListBox.html +++ /dev/null @@ -1,210 +0,0 @@ - - - - - class KEditListBox - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KEditListBox


-
- - - - - -
Table of contents
Modules
kdeui Classes
All Classes
-
- - - - - - - - - - -
Modulekdeui
ClassKEditListBox
InheritsTQGroupBox
-

enums

    -
  • (anonymous) = {All -}
  • Button = {Add, Remove, UpDown -}
  • Button = {Add, Remove, UpDown, All -}
-

methods

    -
  • KEditListBox (parent = 0, name = 0, checkAtEntering = 0, buttons = All) -
    -
    returns a KEditListBox instance
    - - - - -
    ArgumentTypeDefault
    parentTQWidget0
    namechar0
    checkAtEnteringbool0
    buttonsintAll
    -

  • -
  • KEditListBox (title, parent = 0, name = 0, checkAtEntering = 0, buttons = All) -
    -
    returns a KEditListBox instance
    - - - - - -
    ArgumentTypeDefault
    titleTQString
    parentTQWidget0
    namechar0
    checkAtEnteringbool0
    buttonsintAll
    -

  • -
  • KEditListBox (title, customEditor, parent = 0, name = 0, checkAtEntering = 0, buttons = All) -
    - -
    returns a KEditListBox instance
    In versions KDE 3.1.0 and above only
    - - - - - - -
    ArgumentTypeDefault
    titleTQString
    customEditorKEditListBox.CustomEditor
    parentTQWidget0
    namechar0
    checkAtEnteringbool0
    buttonsintAll
    -

  • -
  • addButton () -
    -
    returns (TQPushButton)

  • -
  • addItem () -
    -
    returns nothing

  • -
  • added (text) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    textTQString
    -

  • -
  • buttons () -
    - -
    returns (int)
    In versions KDE 3.4.0 and above only

  • -
  • changed () -
    -
    returns nothing

  • -
  • clear () -
    -
    returns nothing

  • -
  • count () -
    -
    returns (int)

  • -
  • currentItem () -
    -
    returns (int)

  • -
  • currentText () -
    -
    returns (TQString)

  • -
  • downButton () -
    -
    returns (TQPushButton)

  • -
  • enableMoveButtons (index) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    indexint
    -

  • -
  • insertItem (text, index = -1) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    textTQString
    indexint-1
    -

  • -
  • insertStrList (list, index = -1) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    listTQStrList
    indexint-1
    -

  • -
  • insertStrList (list, index = -1) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    listTQStrList
    indexint-1
    -

  • -
  • insertStrList (list, index) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    lista Python list of strings
    indexint
    -

  • -
  • insertStringList (list, index = -1) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    listTQStringList
    indexint-1
    -

  • -
  • items () -
    -
    returns (TQStringList)

  • -
  • lineEdit () -
    -
    returns (KLineEdit)

  • -
  • listBox () -
    -
    returns (TQListBox)

  • -
  • moveItemDown () -
    -
    returns nothing

  • -
  • moveItemUp () -
    -
    returns nothing

  • -
  • removeButton () -
    -
    returns (TQPushButton)

  • -
  • removeItem () -
    -
    returns nothing

  • -
  • removed (text) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    textTQString
    -

  • -
  • setButtons (buttons) -
    - -
    returns nothing
    In versions KDE 3.4.0 and above only
    - -
    ArgumentTypeDefault
    buttonsuint
    -

  • -
  • setItems (items) -
    - -
    returns nothing
    In versions KDE 3.4.0 and above only
    - -
    ArgumentTypeDefault
    itemsTQStringList
    -

  • -
  • text (index) -
    -
    returns (TQString)
    - -
    ArgumentTypeDefault
    indexint
    -

  • -
  • typedSomething (text) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    textTQString
    -

  • -
  • upButton () -
    -
    returns (TQPushButton)

  • -
- - - diff --git a/python/pykde/doc/classref/kdeui/KEditToolbar.html b/python/pykde/doc/classref/kdeui/KEditToolbar.html deleted file mode 100644 index 615b904d..00000000 --- a/python/pykde/doc/classref/kdeui/KEditToolbar.html +++ /dev/null @@ -1,108 +0,0 @@ - - - - - class KEditToolbar - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KEditToolbar


-
- - - - - -
Table of contents
Modules
kdeui Classes
All Classes
-
- - - - - - - - - - -
Modulekdeui
ClassKEditToolbar
InheritsKDialogBase
-

methods

    -
  • KEditToolbar (collection, xmlfile = TQString .null, global = 1, parent = 0, name = 0) -
    -
    returns a KEditToolbar instance
    - - - - - -
    ArgumentTypeDefault
    collectionKActionCollection
    xmlfileTQStringTQString .null
    globalbool1
    parentTQWidget0
    namechar0
    -

  • -
  • KEditToolbar (defaultToolbar, collection, xmlfile = TQString .null, global = 1, parent = 0, name = 0) -
    - -
    returns a KEditToolbar instance
    In versions KDE 3.2.0 and above only
    - - - - - - -
    ArgumentTypeDefault
    defaultToolbarTQString
    collectionKActionCollection
    xmlfileTQStringTQString .null
    globalbool1
    parentTQWidget0
    namechar0
    -

  • -
  • KEditToolbar (factory, parent = 0, name = 0) -
    -
    returns a KEditToolbar instance
    - - - -
    ArgumentTypeDefault
    factoryKXMLGUIFactory
    parentTQWidget0
    namechar0
    -

  • -
  • KEditToolbar (defaultToolbar, factory, parent = 0, name = 0) -
    - -
    returns a KEditToolbar instance
    In versions KDE 3.2.0 and above only
    - - - - -
    ArgumentTypeDefault
    defaultToolbarTQString
    factoryKXMLGUIFactory
    parentTQWidget0
    namechar0
    -

  • -
  • acceptOK (b) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    bbool
    -

  • -
  • newToolbarConfig () -
    -
    returns nothing

  • -
  • setDefaultToolbar (toolbarName) -
    - - -
    returns nothing
    In versions KDE 3.3.0 and above only
    static
    - -
    ArgumentTypeDefault
    toolbarNamechar
    -

  • -
  • slotApply () -
    -
    returns nothing

  • -
  • slotDefault () -
    - -
    returns nothing
    In versions KDE 3.5.0 and above only

  • -
  • slotOk () -
    -
    returns nothing

  • -
- - - diff --git a/python/pykde/doc/classref/kdeui/KEditToolbarWidget.html b/python/pykde/doc/classref/kdeui/KEditToolbarWidget.html deleted file mode 100644 index 53a178e9..00000000 --- a/python/pykde/doc/classref/kdeui/KEditToolbarWidget.html +++ /dev/null @@ -1,188 +0,0 @@ - - - - - class KEditToolbarWidget - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KEditToolbarWidget


-
- - - - - -
Table of contents
Modules
kdeui Classes
All Classes
-
- - - - - - - - - - -
Modulekdeui
ClassKEditToolbarWidget
InheritsTQWidget, KXMLGUIClient
-

methods

    -
  • KEditToolbarWidget (collection, xmlfile = TQString .null, global = 1, parent = 0) -
    -
    returns a KEditToolbarWidget instance
    - - - - -
    ArgumentTypeDefault
    collectionKActionCollection
    xmlfileTQStringTQString .null
    globalbool1
    parentTQWidget0
    -

  • -
  • KEditToolbarWidget (defaultToolbar, collection, file = TQString .null, global = 1, parent = 0) -
    - -
    returns a KEditToolbarWidget instance
    In versions KDE 3.2.0 and above only
    - - - - - -
    ArgumentTypeDefault
    defaultToolbarTQString
    collectionKActionCollection
    fileTQStringTQString .null
    globalbool1
    parentTQWidget0
    -

  • -
  • KEditToolbarWidget (factory, parent = 0) -
    -
    returns a KEditToolbarWidget instance
    - - -
    ArgumentTypeDefault
    factoryKXMLGUIFactory
    parentTQWidget0
    -

  • -
  • KEditToolbarWidget (defaultToolbar, factory, parent = 0) -
    - -
    returns a KEditToolbarWidget instance
    In versions KDE 3.2.0 and above only
    - - - -
    ArgumentTypeDefault
    defaultToolbarTQString
    factoryKXMLGUIFactory
    parentTQWidget0
    -

  • -
  • actionCollection () -
    - -
    returns (KActionCollection)
    In versions KDE 3.1.0 and above only

  • -
  • enableOk (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0bool
    -

  • -
  • initKPart (factory) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    factoryKXMLGUIFactory
    -

  • -
  • initNonKPart (collection, file, global) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - - - -
    ArgumentTypeDefault
    collectionKActionCollection
    fileTQString
    globalbool
    -

  • -
  • insertActive (item, before, prepend = 0) -
    Not Implemented
    -

  • -
  • loadActionList (elem) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    elemTQDomElement
    -

  • -
  • loadToolbarCombo (defaultToolbar = TQString .null) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    defaultToolbarTQStringTQString .null
    -

  • -
  • loadToolbarCombo () -
    - -
    returns nothing
    In versions less than KDE 3.2.0 only

  • -
  • moveActive (item, before) -
    Not Implemented
    -

  • -
  • rebuildKXMLGUIClients () -
    - -
    returns nothing
    In versions KDE 3.5.0 and above only

  • -
  • removeActive (item) -
    Not Implemented
    -

  • -
  • save () -
    -
    returns (bool)

  • -
  • setupLayout () -
    -
    returns nothing

  • -
  • slotActiveSelected (item) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    itemTQListViewItem
    -

  • -
  • slotChangeIcon () -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only

  • -
  • slotDownButton () -
    -
    returns nothing

  • -
  • slotDropped (list, e, after) -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only
    - - - -
    ArgumentTypeDefault
    listKListView
    eTQDropEvent
    afterTQListViewItem
    -

  • -
  • slotInactiveSelected (item) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    itemTQListViewItem
    -

  • -
  • slotInsertButton () -
    -
    returns nothing

  • -
  • slotRemoveButton () -
    -
    returns nothing

  • -
  • slotToolbarSelected (text) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    textTQString
    -

  • -
  • slotUpButton () -
    -
    returns nothing

  • -
  • updateLocal (elem) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    elemTQDomElement
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kdeui/KFloatValidator.html b/python/pykde/doc/classref/kdeui/KFloatValidator.html deleted file mode 100644 index 7d1e9258..00000000 --- a/python/pykde/doc/classref/kdeui/KFloatValidator.html +++ /dev/null @@ -1,101 +0,0 @@ - - - - - class KFloatValidator - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KFloatValidator


-
- - - - - -
Table of contents
Modules
kdeui Classes
All Classes
-
- - - - - - - - - - -
Modulekdeui
ClassKFloatValidator
InheritsTQValidator
-

methods

    -
  • KFloatValidator (parent, name = 0) -
    -
    returns a KFloatValidator instance
    - - -
    ArgumentTypeDefault
    parentTQWidget
    namechar0
    -

  • -
  • KFloatValidator (bottom, top, parent, name = 0) -
    -
    returns a KFloatValidator instance
    - - - - -
    ArgumentTypeDefault
    bottomdouble
    topdouble
    parentTQWidget
    namechar0
    -

  • -
  • KFloatValidator (bottom, top, localeAware, parent, name = 0) -
    -
    returns a KFloatValidator instance
    - - - - - -
    ArgumentTypeDefault
    bottomdouble
    topdouble
    localeAwarebool
    parentTQWidget
    namechar0
    -

  • -
  • acceptLocalizedNumbers () -
    -
    returns (bool)

  • -
  • bottom () -
    -
    returns (double)

  • -
  • fixup (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0TQString
    -

  • -
  • setAcceptLocalizedNumbers (b) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    bbool
    -

  • -
  • setRange (bottom, top) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    bottomdouble
    topdouble
    -

  • -
  • top () -
    -
    returns (double)

  • -
  • validate (a0) -
    -
    returns (State) a1 (int)
    - -
    ArgumentTypeDefault
    a0TQString
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kdeui/KFontAction.html b/python/pykde/doc/classref/kdeui/KFontAction.html deleted file mode 100644 index 2ceb0edf..00000000 --- a/python/pykde/doc/classref/kdeui/KFontAction.html +++ /dev/null @@ -1,252 +0,0 @@ - - - - - class KFontAction - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KFontAction


-
- - - - - -
Table of contents
Modules
kdeui Classes
All Classes
-
- - - - - - - - - - -
Modulekdeui
ClassKFontAction
InheritsKSelectAction
-

methods

    -
  • KFontAction (a0, a1 = KShortcut (), a2 = 0, a3 = 0) -
    - -
    returns a KFontAction instance
    In versions less than KDE 3.2.0 only
    - - - - -
    ArgumentTypeDefault
    a0TQString
    a1KShortcutKShortcut ()
    a2TQObject0
    a3char0
    -

  • -
  • KFontAction (a0, a1, slot, a4, a5 = 0) -
    - -
    returns a KFontAction instance
    In versions less than KDE 3.2.0 only
    - - - - - -
    ArgumentTypeDefault
    a0TQString
    a1KShortcut
    slotSLOT (Python callable)
    a4TQObject
    a5char0
    -

  • -
  • KFontAction (text, pix, cut = KShortcut (), parent = 0, name = 0) -
    - -
    returns a KFontAction instance
    In versions KDE 3.2.0 and above only
    - - - - - -
    ArgumentTypeDefault
    textTQString
    pixTQString
    cutKShortcutKShortcut ()
    parentTQObject0
    namechar0
    -

  • -
  • KFontAction (text, pix, cut, slot, parent, name = 0) -
    - -
    returns a KFontAction instance
    In versions KDE 3.2.0 and above only
    - - - - - - -
    ArgumentTypeDefault
    textTQString
    pixTQIconSet
    cutKShortcut
    slotSLOT (Python callable)
    parentTQObject
    namechar0
    -

  • -
  • KFontAction (text, pix, cut, slot, parent, name = 0) -
    - -
    returns a KFontAction instance
    In versions KDE 3.2.0 and above only
    - - - - - - -
    ArgumentTypeDefault
    textTQString
    pixTQString
    cutKShortcut
    slotSLOT (Python callable)
    parentTQObject
    namechar0
    -

  • -
  • KFontAction (fontListCriteria, text, cut = KShortcut (), parent = 0, name = 0) -
    - -
    returns a KFontAction instance
    In versions KDE 3.3.0 and above only
    - - - - - -
    ArgumentTypeDefault
    fontListCriteriauint
    textTQString
    cutKShortcutKShortcut ()
    parentTQObject0
    namechar0
    -

  • -
  • KFontAction (fontListCriteria, text, pix, cut = KShortcut (), parent = 0, name = 0) -
    - -
    returns a KFontAction instance
    In versions KDE 3.3.0 and above only
    - - - - - - -
    ArgumentTypeDefault
    fontListCriteriauint
    textTQString
    pixTQString
    cutKShortcutKShortcut ()
    parentTQObject0
    namechar0
    -

  • -
  • KFontAction (parent = 0, name = 0) -
    - -
    returns a KFontAction instance
    In versions KDE 3.2.0 and above only
    - - -
    ArgumentTypeDefault
    parentTQObject0
    namechar0
    -

  • -
  • KFontAction (a0, a1, a2 = KShortcut (), a3 = 0, a4 = 0) -
    - -
    returns a KFontAction instance
    In versions less than KDE 3.2.0 only
    - - - - - -
    ArgumentTypeDefault
    a0TQString
    a1TQIconSet
    a2KShortcutKShortcut ()
    a3TQObject0
    a4char0
    -

  • -
  • KFontAction (a0, a1, a2 = KShortcut (), a3 = 0, a4 = 0) -
    - -
    returns a KFontAction instance
    In versions less than KDE 3.2.0 only
    - - - - - -
    ArgumentTypeDefault
    a0TQString
    a1TQString
    a2KShortcutKShortcut ()
    a3TQObject0
    a4char0
    -

  • -
  • KFontAction (a0, a1, a2, slot, a5, a6 = 0) -
    - -
    returns a KFontAction instance
    In versions less than KDE 3.2.0 only
    - - - - - - -
    ArgumentTypeDefault
    a0TQString
    a1TQIconSet
    a2KShortcut
    slotSLOT (Python callable)
    a5TQObject
    a6char0
    -

  • -
  • KFontAction (a0, a1, a2, slot, a5, a6 = 0) -
    - -
    returns a KFontAction instance
    In versions less than KDE 3.2.0 only
    - - - - - - -
    ArgumentTypeDefault
    a0TQString
    a1TQString
    a2KShortcut
    slotSLOT (Python callable)
    a5TQObject
    a6char0
    -

  • -
  • KFontAction (a0 = 0, a1 = 0) -
    - -
    returns a KFontAction instance
    In versions less than KDE 3.2.0 only
    - - -
    ArgumentTypeDefault
    a0TQObject0
    a1char0
    -

  • -
  • KFontAction (text, cut = KShortcut (), parent = 0, name = 0) -
    - -
    returns a KFontAction instance
    In versions KDE 3.2.0 and above only
    - - - - -
    ArgumentTypeDefault
    textTQString
    cutKShortcutKShortcut ()
    parentTQObject0
    namechar0
    -

  • -
  • KFontAction (text, cut, slot, parent, name = 0) -
    - -
    returns a KFontAction instance
    In versions KDE 3.2.0 and above only
    - - - - - -
    ArgumentTypeDefault
    textTQString
    cutKShortcut
    slotSLOT (Python callable)
    parentTQObject
    namechar0
    -

  • -
  • KFontAction (text, pix, cut = KShortcut (), parent = 0, name = 0) -
    - -
    returns a KFontAction instance
    In versions KDE 3.2.0 and above only
    - - - - - -
    ArgumentTypeDefault
    textTQString
    pixTQIconSet
    cutKShortcutKShortcut ()
    parentTQObject0
    namechar0
    -

  • -
  • font () -
    - -
    returns (TQString)
    In versions less than KDE 3.2.0 only

  • -
  • font () -
    - -
    returns (TQString)
    In versions KDE 3.2.0 and above only

  • -
  • plug (a0, a1 = -1) -
    - -
    returns (int)
    In versions less than KDE 3.2.0 only
    - - -
    ArgumentTypeDefault
    a0TQWidget
    a1int-1
    -

  • -
  • plug (a0, index = -1) -
    - -
    returns (int)
    In versions KDE 3.2.0 and above only
    - - -
    ArgumentTypeDefault
    a0TQWidget
    indexint-1
    -

  • -
  • setFont (a0) -
    - -
    returns nothing
    In versions less than KDE 3.2.0 only
    - -
    ArgumentTypeDefault
    a0TQString
    -

  • -
  • setFont (family) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    familyTQString
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kdeui/KFontChooser.html b/python/pykde/doc/classref/kdeui/KFontChooser.html deleted file mode 100644 index 076c0603..00000000 --- a/python/pykde/doc/classref/kdeui/KFontChooser.html +++ /dev/null @@ -1,147 +0,0 @@ - - - - - class KFontChooser - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KFontChooser


-
- - - - - -
Table of contents
Modules
kdeui Classes
All Classes
-
- - - - - - - - - - -
Modulekdeui
ClassKFontChooser
InheritsTQWidget
-

enums

    -
  • FontColumn = {FamilyList, StyleList, SizeList -}
  • FontColumn = {FamilyList, StyleList, SizeList, CharsetList -}
  • FontDiff = {FontDiffFamily, FontDiffStyle, FontDiffSize -}
  • FontListCriteria = {FixedWidthFonts, ScalableFonts, SmoothScalableFonts -}
-

methods

    -
  • KFontChooser (parent = 0, name = "", onlyFixed = 0, fontList = TQStringList(), makeFrame = 1, visibleListSize = 8, diff = 0, sizeIsRelativeState = 0) -
    -
    returns ,
    - - - - - - - - -
    ArgumentTypeDefault
    parentTQWidget0
    namestring""
    onlyFixedbool0
    fontListTQStringListTQStringList()
    makeFramebool1
    visibleListSizeint8
    diffbool0
    sizeIsRelativeStateTQButton.ToggleState0
    -

  • -
  • backgroundColor () -
    -
    returns (TQColor)

  • -
  • color () -
    -
    returns (TQColor)

  • -
  • enableColumn (column, state) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    columnint
    statebool
    -

  • -
  • font () -
    -
    returns (TQFont)

  • -
  • fontDiffFlags () -
    -
    returns (int)

  • -
  • fontSelected (font) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    fontTQFont
    -

  • -
  • getFontList (list, fontListCriteria) -
    - -
    returns nothing
    static
    - - -
    ArgumentTypeDefault
    listTQStringList
    fontListCriteriabool
    -

  • -
  • getXLFD (theFont) -
    - -
    returns (TQString)
    static
    - -
    ArgumentTypeDefault
    theFontTQFont
    -

  • -
  • sampleText () -
    -
    returns (TQString)

  • -
  • setBackgroundColor (col) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    colTQColor
    -

  • -
  • setColor (col) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    colTQColor
    -

  • -
  • setFont (font, onlyFixed = 0) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    fontTQFont
    onlyFixedbool0
    -

  • -
  • setSampleBoxVisible (visible) -
    - -
    returns nothing
    In versions KDE 3.5.0 and above only
    - -
    ArgumentTypeDefault
    visiblebool
    -

  • -
  • setSampleText (text) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    textTQString
    -

  • -
  • setSizeIsRelative (relative) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    relativeTQButton.ToggleState
    -

  • -
  • sizeHint () -
    -
    returns (TQSize)

  • -
  • sizeIsRelative () -
    -
    returns (TQButton.ToggleState)

  • -
- - - diff --git a/python/pykde/doc/classref/kdeui/KFontCombo.html b/python/pykde/doc/classref/kdeui/KFontCombo.html deleted file mode 100644 index 6afdb78c..00000000 --- a/python/pykde/doc/classref/kdeui/KFontCombo.html +++ /dev/null @@ -1,136 +0,0 @@ - - - - - class KFontCombo - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KFontCombo


-
- - - - - -
Table of contents
Modules
kdeui Classes
All Classes
-
- - - - - - - - - - -
Modulekdeui
ClassKFontCombo
InheritsKComboBox
-

methods

    -
  • KFontCombo (parent, name = 0) -
    -
    returns a KFontCombo instance
    - - -
    ArgumentTypeDefault
    parentTQWidget
    namechar0
    -

  • -
  • KFontCombo (fonts, parent, name = 0) -
    -
    returns a KFontCombo instance
    - - - -
    ArgumentTypeDefault
    fontsTQStringList
    parentTQWidget
    namechar0
    -

  • -
  • bold () -
    -
    returns (bool)

  • -
  • currentFont () -
    -
    returns (TQString)

  • -
  • displayFonts () -
    - -
    returns (bool)
    static

  • -
  • italic () -
    -
    returns (bool)

  • -
  • setBold (bold) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    boldbool
    -

  • -
  • setCurrentFont (family) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    familyTQString
    -

  • -
  • setCurrentItem (i) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    iint
    -

  • -
  • setFonts (fonts) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    fontsTQStringList
    -

  • -
  • setItalic (italic) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    italicbool
    -

  • -
  • setSize (size) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    sizeint
    -

  • -
  • setStrikeOut (strikeOut) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    strikeOutbool
    -

  • -
  • setUnderline (underline) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    underlinebool
    -

  • -
  • size () -
    -
    returns (int)

  • -
  • slotModified (i) -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only
    - -
    ArgumentTypeDefault
    iint
    -

  • -
  • strikeOut () -
    -
    returns (bool)

  • -
  • underline () -
    -
    returns (bool)

  • -
  • updateFonts () -
    -
    returns nothing

  • -
- - - diff --git a/python/pykde/doc/classref/kdeui/KFontDialog.html b/python/pykde/doc/classref/kdeui/KFontDialog.html deleted file mode 100644 index e5a056ac..00000000 --- a/python/pykde/doc/classref/kdeui/KFontDialog.html +++ /dev/null @@ -1,114 +0,0 @@ - - - - - class KFontDialog - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KFontDialog


-
- - - - - -
Table of contents
Modules
kdeui Classes
All Classes
-
- - - - - - - - - - -
Modulekdeui
ClassKFontDialog
InheritsKDialogBase
-

methods

    -
  • KFontDialog (parent = 0, name = "", onlyFixed = 0, modal = 0, fontlist = TQStringList(), makeFrame = 1, diff = 0, sizeIsRelativeState = 0) -
    -
    returns a KFontDialog instance
    - - - - - - - - -
    ArgumentTypeDefault
    parentTQWidget0
    namestring""
    onlyFixedbool0
    modalbool0
    fontlistTQStringListTQStringList()
    makeFramebool1
    diffbool0
    sizeIsRelativeStateTQButton.ToggleState0
    -

  • -
  • font () -
    -
    returns (TQFont)

  • -
  • fontSelected (font) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    fontTQFont
    -

  • -
  • getFont (theFont, onlyFixed = False, parent = 0, makeFrame = True, sizeIsRelative = TQButton.Off) -
    - -
    returns (int) sizeIsRelative (TQButton.ToggleState),
    static
    - - - - - -
    ArgumentTypeDefault
    theFontTQFont
    onlyFixedboolFalse
    parentTQWidget0
    makeFrameboolTrue
    sizeIsRelativeTQButton.ToggleStateTQButton.Off
    -

  • -
  • getFontAndText (theFont, theString, onlyFixed = False, parent = 0, makeFrame = true, sizeIsRelative = TQButton.Off) -
    - -
    returns (int) sizeIsRelative (TQButton.ToggleState),
    static
    - - - - - - -
    ArgumentTypeDefault
    theFontTQFont
    theStringTQString
    onlyFixedboolFalse
    parentTQWidget0
    makeFramebooltrue
    sizeIsRelativeTQButton.ToggleStateTQButton.Off
    -

  • -
  • getFontDiff (theFont, diffFlags, onlyFixed = False, parent = 0, makeFrame = true, sizeIsRelative = TQButton.Off) -
    - -
    returns (int) sizeIsRelative (TQButton.ToggleState),
    static
    - - - - - - -
    ArgumentTypeDefault
    theFontTQFont
    diffFlagsint
    onlyFixedboolFalse
    parentTQWidget0
    makeFramebooltrue
    sizeIsRelativeTQButton.ToggleStateTQButton.Off
    -

  • -
  • setFont (font, onlyFixed = 0) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    fontTQFont
    onlyFixedbool0
    -

  • -
  • setSizeIsRelative (relative) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    relativeTQButton.ToggleState
    -

  • -
  • sizeIsRelative () -
    -
    returns (TQButton.ToggleState)

  • -
- - - diff --git a/python/pykde/doc/classref/kdeui/KFontRequester.html b/python/pykde/doc/classref/kdeui/KFontRequester.html deleted file mode 100644 index 45f32d32..00000000 --- a/python/pykde/doc/classref/kdeui/KFontRequester.html +++ /dev/null @@ -1,115 +0,0 @@ - - - - - class KFontRequester - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KFontRequester


-
- - - - - -
Table of contents
Modules
kdeui Classes
All Classes
-
- - - - - - - - - - -
Modulekdeui
ClassKFontRequester
InheritsTQWidget
-

methods

    -
  • KFontRequester (parent = 0, name = 0, onlyFixed = 0) -
    - -
    returns a KFontRequester instance
    In versions KDE 3.2.0 and above only
    - - - -
    ArgumentTypeDefault
    parentTQWidget0
    namechar0
    onlyFixedbool0
    -

  • -
  • button () -
    - -
    returns (TQPushButton)
    In versions KDE 3.2.0 and above only

  • -
  • buttonClicked () -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only

  • -
  • displaySampleText () -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only

  • -
  • font () -
    - -
    returns (TQFont)
    In versions KDE 3.2.0 and above only

  • -
  • fontSelected (font) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    fontTQFont
    -

  • -
  • isFixedOnly () -
    - -
    returns (bool)
    In versions KDE 3.2.0 and above only

  • -
  • label () -
    - -
    returns (TQLabel)
    In versions KDE 3.2.0 and above only

  • -
  • sampleText () -
    - -
    returns (TQString)
    In versions KDE 3.2.0 and above only

  • -
  • setFont (font, onlyFixed = 0) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - - -
    ArgumentTypeDefault
    fontTQFont
    onlyFixedbool0
    -

  • -
  • setSampleText (text) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    textTQString
    -

  • -
  • setTitle (title) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    titleTQString
    -

  • -
  • setToolTip () -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only

  • -
  • title () -
    - -
    returns (TQString)
    In versions KDE 3.2.0 and above only

  • -
- - - diff --git a/python/pykde/doc/classref/kdeui/KFontSizeAction.html b/python/pykde/doc/classref/kdeui/KFontSizeAction.html deleted file mode 100644 index b50d0dd1..00000000 --- a/python/pykde/doc/classref/kdeui/KFontSizeAction.html +++ /dev/null @@ -1,263 +0,0 @@ - - - - - class KFontSizeAction - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KFontSizeAction


-
- - - - - -
Table of contents
Modules
kdeui Classes
All Classes
-
- - - - - - - - - - -
Modulekdeui
ClassKFontSizeAction
InheritsKSelectAction
-

methods

    -
  • KFontSizeAction (a0, a1 = KShortcut (), a2 = 0, a3 = 0) -
    - -
    returns a KFontSizeAction instance
    In versions less than KDE 3.2.0 only
    - - - - -
    ArgumentTypeDefault
    a0TQString
    a1KShortcutKShortcut ()
    a2TQObject0
    a3char0
    -

  • -
  • KFontSizeAction (a0, a1, slot, a4, a5 = 0) -
    - -
    returns a KFontSizeAction instance
    In versions less than KDE 3.2.0 only
    - - - - - -
    ArgumentTypeDefault
    a0TQString
    a1KShortcut
    slotSLOT (Python callable)
    a4TQObject
    a5char0
    -

  • -
  • KFontSizeAction (text, pix, cut = KShortcut (), parent = 0, name = 0) -
    - -
    returns a KFontSizeAction instance
    In versions KDE 3.2.0 and above only
    - - - - - -
    ArgumentTypeDefault
    textTQString
    pixTQString
    cutKShortcutKShortcut ()
    parentTQObject0
    namechar0
    -

  • -
  • KFontSizeAction (text, pix, cut, slot, parent, name = 0) -
    - -
    returns a KFontSizeAction instance
    In versions KDE 3.2.0 and above only
    - - - - - - -
    ArgumentTypeDefault
    textTQString
    pixTQIconSet
    cutKShortcut
    slotSLOT (Python callable)
    parentTQObject
    namechar0
    -

  • -
  • KFontSizeAction (text, pix, cut, slot, parent, name = 0) -
    - -
    returns a KFontSizeAction instance
    In versions KDE 3.2.0 and above only
    - - - - - - -
    ArgumentTypeDefault
    textTQString
    pixTQString
    cutKShortcut
    slotSLOT (Python callable)
    parentTQObject
    namechar0
    -

  • -
  • KFontSizeAction (parent = 0, name = 0) -
    - -
    returns a KFontSizeAction instance
    In versions KDE 3.2.0 and above only
    - - -
    ArgumentTypeDefault
    parentTQObject0
    namechar0
    -

  • -
  • KFontSizeAction (a0, a1, a2 = KShortcut (), a3 = 0, a4 = 0) -
    - -
    returns a KFontSizeAction instance
    In versions less than KDE 3.2.0 only
    - - - - - -
    ArgumentTypeDefault
    a0TQString
    a1TQIconSet
    a2KShortcutKShortcut ()
    a3TQObject0
    a4char0
    -

  • -
  • KFontSizeAction (a0, a1, a2 = KShortcut (), a3 = 0, a4 = 0) -
    - -
    returns a KFontSizeAction instance
    In versions less than KDE 3.2.0 only
    - - - - - -
    ArgumentTypeDefault
    a0TQString
    a1TQString
    a2KShortcutKShortcut ()
    a3TQObject0
    a4char0
    -

  • -
  • KFontSizeAction (a0, a1, a2, slot, a5, a6 = 0) -
    - -
    returns a KFontSizeAction instance
    In versions less than KDE 3.2.0 only
    - - - - - - -
    ArgumentTypeDefault
    a0TQString
    a1TQIconSet
    a2KShortcut
    slotSLOT (Python callable)
    a5TQObject
    a6char0
    -

  • -
  • KFontSizeAction (a0, a1, a2, slot, a5, a6 = 0) -
    - -
    returns a KFontSizeAction instance
    In versions less than KDE 3.2.0 only
    - - - - - - -
    ArgumentTypeDefault
    a0TQString
    a1TQString
    a2KShortcut
    slotSLOT (Python callable)
    a5TQObject
    a6char0
    -

  • -
  • KFontSizeAction (a0 = 0, a1 = 0) -
    - -
    returns a KFontSizeAction instance
    In versions less than KDE 3.2.0 only
    - - -
    ArgumentTypeDefault
    a0TQObject0
    a1char0
    -

  • -
  • KFontSizeAction (text, cut = KShortcut (), parent = 0, name = 0) -
    - -
    returns a KFontSizeAction instance
    In versions KDE 3.2.0 and above only
    - - - - -
    ArgumentTypeDefault
    textTQString
    cutKShortcutKShortcut ()
    parentTQObject0
    namechar0
    -

  • -
  • KFontSizeAction (text, cut, slot, parent, name = 0) -
    - -
    returns a KFontSizeAction instance
    In versions KDE 3.2.0 and above only
    - - - - - -
    ArgumentTypeDefault
    textTQString
    cutKShortcut
    slotSLOT (Python callable)
    parentTQObject
    namechar0
    -

  • -
  • KFontSizeAction (text, pix, cut = KShortcut (), parent = 0, name = 0) -
    - -
    returns a KFontSizeAction instance
    In versions KDE 3.2.0 and above only
    - - - - - -
    ArgumentTypeDefault
    textTQString
    pixTQIconSet
    cutKShortcutKShortcut ()
    parentTQObject0
    namechar0
    -

  • -
  • fontSize () -
    - -
    returns (int)
    In versions less than KDE 3.2.0 only

  • -
  • fontSize () -
    - -
    returns (int)
    In versions KDE 3.2.0 and above only

  • -
  • fontSizeChanged (a0) -
    - -
    returns nothing
    In versions less than KDE 3.2.0 only
    - -
    ArgumentTypeDefault
    a0int
    -

  • -
  • fontSizeChanged (a0) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    a0int
    -

  • -
  • setFontSize (a0) -
    - -
    returns nothing
    In versions less than KDE 3.2.0 only
    - -
    ArgumentTypeDefault
    a0int
    -

  • -
  • setFontSize (size) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    sizeint
    -

  • -
  • slotActivated (a0) -
    - -
    returns nothing
    In versions less than KDE 3.2.0 only
    - -
    ArgumentTypeDefault
    a0int
    -

  • -
  • slotActivated (a0) -
    - -
    returns nothing
    In versions less than KDE 3.2.0 only
    - -
    ArgumentTypeDefault
    a0TQString
    -

  • -
  • slotActivated () -
    - -
    returns nothing
    In versions less than KDE 3.2.0 only

  • -
  • slotActivated (a0) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    a0int
    -

  • -
  • slotActivated (a0) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    a0TQString
    -

  • -
  • slotActivated () -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only

  • -
- - - diff --git a/python/pykde/doc/classref/kdeui/KGradientSelector.html b/python/pykde/doc/classref/kdeui/KGradientSelector.html deleted file mode 100644 index 73896159..00000000 --- a/python/pykde/doc/classref/kdeui/KGradientSelector.html +++ /dev/null @@ -1,115 +0,0 @@ - - - - - class KGradientSelector - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KGradientSelector


-
- - - - - -
Table of contents
Modules
kdeui Classes
All Classes
-
- - - - - - - - - - -
Modulekdeui
ClassKGradientSelector
InheritsKSelector
-

methods

    -
  • KGradientSelector (parent = 0, name = 0) -
    -
    returns a KGradientSelector instance
    - - -
    ArgumentTypeDefault
    parentTQWidget0
    namechar0
    -

  • -
  • KGradientSelector (o, parent = 0, name = 0) -
    -
    returns a KGradientSelector instance
    - - - -
    ArgumentTypeDefault
    oOrientation
    parentTQWidget0
    namechar0
    -

  • -
  • drawContents (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0TQPainter
    -

  • -
  • firstColor () -
    -
    returns (TQColor)

  • -
  • firstText () -
    -
    returns (TQString)

  • -
  • minimumSize () -
    -
    returns (TQSize)

  • -
  • secondColor () -
    -
    returns (TQColor)

  • -
  • secondText () -
    -
    returns (TQString)

  • -
  • setColors (col1, col2) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    col1TQColor
    col2TQColor
    -

  • -
  • setFirstColor (col) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    colTQColor
    -

  • -
  • setFirstText (t) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    tTQString
    -

  • -
  • setSecondColor (col) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    colTQColor
    -

  • -
  • setSecondText (t) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    tTQString
    -

  • -
  • setText (t1, t2) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    t1TQString
    t2TQString
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kdeui/KGuiItem.html b/python/pykde/doc/classref/kdeui/KGuiItem.html deleted file mode 100644 index e5c7a8df..00000000 --- a/python/pykde/doc/classref/kdeui/KGuiItem.html +++ /dev/null @@ -1,139 +0,0 @@ - - - - - class KGuiItem - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KGuiItem


-
- - - - - -
Table of contents
Modules
kdeui Classes
All Classes
-
- - - - - - - - - - -
Modulekdeui
ClassKGuiItem
Inherits
-

methods

    -
  • KGuiItem () -
    -
    returns a KGuiItem instance

  • -
  • KGuiItem (text, iconName = TQString .null, toolTip = TQString .null, whatsThis = TQString .null) -
    -
    returns a KGuiItem instance
    - - - - -
    ArgumentTypeDefault
    textTQString
    iconNameTQStringTQString .null
    toolTipTQStringTQString .null
    whatsThisTQStringTQString .null
    -

  • -
  • KGuiItem (text, iconSet, toolTip = TQString .null, whatsThis = TQString .null) -
    -
    returns a KGuiItem instance
    - - - - -
    ArgumentTypeDefault
    textTQString
    iconSetTQIconSet
    toolTipTQStringTQString .null
    whatsThisTQStringTQString .null
    -

  • -
  • KGuiItem (rhs) -
    -
    returns a KGuiItem instance
    - -
    ArgumentTypeDefault
    rhsKGuiItem
    -

  • -
  • hasIcon () -
    -
    returns (bool)

  • -
  • hasIconSet () -
    -
    returns (bool)

  • -
  • iconName () -
    -
    returns (TQString)

  • -
  • iconSet (a0, size = 0, instance = KGlobal .instance ()) -
    -
    returns (TQIconSet)
    - - - -
    ArgumentTypeDefault
    a0KIcon.Group
    sizeint0
    instanceKInstanceKGlobal .instance ()
    -

  • -
  • iconSet () -
    -
    returns (TQIconSet)

  • -
  • isEnabled () -
    -
    returns (bool)

  • -
  • plainText () -
    -
    returns (TQString)

  • -
  • setEnabled (enable) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    enablebool
    -

  • -
  • setIconName (iconName) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    iconNameTQString
    -

  • -
  • setIconSet (iconset) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    iconsetTQIconSet
    -

  • -
  • setText (text) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    textTQString
    -

  • -
  • setToolTip (tooltip) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    tooltipTQString
    -

  • -
  • setWhatsThis (whatsThis) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    whatsThisTQString
    -

  • -
  • text () -
    -
    returns (TQString)

  • -
  • toolTip () -
    -
    returns (TQString)

  • -
  • whatsThis () -
    -
    returns (TQString)

  • -
- - - diff --git a/python/pykde/doc/classref/kdeui/KHSSelector.html b/python/pykde/doc/classref/kdeui/KHSSelector.html deleted file mode 100644 index f0b6e52b..00000000 --- a/python/pykde/doc/classref/kdeui/KHSSelector.html +++ /dev/null @@ -1,66 +0,0 @@ - - - - - class KHSSelector - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KHSSelector


-
- - - - - -
Table of contents
Modules
kdeui Classes
All Classes
-
- - - - - - - - - - -
Modulekdeui
ClassKHSSelector
InheritsKXYSelector
-

methods

    -
  • KHSSelector (parent = 0, name = 0) -
    -
    returns a KHSSelector instance
    - - -
    ArgumentTypeDefault
    parentTQWidget0
    namechar0
    -

  • -
  • drawContents (painter) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    painterTQPainter
    -

  • -
  • drawPalette (pixmap) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    pixmapTQPixmap
    -

  • -
  • resizeEvent (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0TQResizeEvent
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kdeui/KHelpMenu.html b/python/pykde/doc/classref/kdeui/KHelpMenu.html deleted file mode 100644 index 24363fc5..00000000 --- a/python/pykde/doc/classref/kdeui/KHelpMenu.html +++ /dev/null @@ -1,82 +0,0 @@ - - - - - class KHelpMenu - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KHelpMenu


-
- - - - - -
Table of contents
Modules
kdeui Classes
All Classes
-
- - - - - - - - - - -
Modulekdeui
ClassKHelpMenu
InheritsTQObject
-

enums

    -
  • MenuId = {menuHelpContents, menuWhatsThis, menuAboutApp, menuAboutKDE, menuReportBug -}
-

methods

    -
  • KHelpMenu (parent = 0, aboutAppText = TQString .null, showWhatsThis = 1) -
    -
    returns a KHelpMenu instance
    - - - -
    ArgumentTypeDefault
    parentTQWidget0
    aboutAppTextTQStringTQString .null
    showWhatsThisbool1
    -

  • -
  • KHelpMenu (parent, aboutData, showWhatsThis = 1, actions = 0) -
    -
    returns a KHelpMenu instance
    - - - - -
    ArgumentTypeDefault
    parentTQWidget
    aboutDataKAboutData
    showWhatsThisbool1
    actionsKActionCollection0
    -

  • -
  • aboutApplication () -
    -
    returns nothing

  • -
  • aboutKDE () -
    -
    returns nothing

  • -
  • appHelpActivated () -
    -
    returns nothing

  • -
  • contextHelpActivated () -
    -
    returns nothing

  • -
  • menu () -
    -
    returns (KPopupMenu)

  • -
  • reportBug () -
    -
    returns nothing

  • -
  • showAboutApplication () -
    -
    returns nothing

  • -
- - - diff --git a/python/pykde/doc/classref/kdeui/KHistoryCombo.html b/python/pykde/doc/classref/kdeui/KHistoryCombo.html deleted file mode 100644 index a0fa641d..00000000 --- a/python/pykde/doc/classref/kdeui/KHistoryCombo.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - class KHistoryCombo - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KHistoryCombo


-
- - - - - -
Table of contents
Modules
kdeui Classes
All Classes
-
- - - - - - - - - - -
Modulekdeui
ClassKHistoryCombo
InheritsKComboBox
-

methods

    -
  • KHistoryCombo (parent = 0, name = 0) -
    -
    returns a KHistoryCombo instance
    - - -
    ArgumentTypeDefault
    parentTQWidget0
    namechar0
    -

  • -
  • KHistoryCombo (useCompletion, parent = 0, name = 0) -
    -
    returns a KHistoryCombo instance
    - - - -
    ArgumentTypeDefault
    useCompletionbool
    parentTQWidget0
    namechar0
    -

  • -
  • addToHistory (item) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    itemTQString
    -

  • -
  • clearHistory () -
    -
    returns nothing

  • -
  • cleared () -
    -
    returns nothing

  • -
  • historyItems () -
    -
    returns (TQStringList)

  • -
  • insertItems (items) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    itemsTQStringList
    -

  • -
  • keyPressEvent (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0TQKeyEvent
    -

  • -
  • pixmapProvider () -
    -
    returns (KPixmapProvider)

  • -
  • removeFromHistory (item) -
    -
    returns (bool)
    - -
    ArgumentTypeDefault
    itemTQString
    -

  • -
  • reset () -
    -
    returns nothing

  • -
  • setHistoryItems (items) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    itemsTQStringList
    -

  • -
  • setHistoryItems (items, setCompletionList) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    itemsTQStringList
    setCompletionListbool
    -

  • -
  • setPixmapProvider (prov) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    provKPixmapProvider
    -

  • -
  • useCompletion () -
    -
    returns (bool)

  • -
  • wheelEvent (ev) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    evTQWheelEvent
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kdeui/KIconView.html b/python/pykde/doc/classref/kdeui/KIconView.html deleted file mode 100644 index 69b01f68..00000000 --- a/python/pykde/doc/classref/kdeui/KIconView.html +++ /dev/null @@ -1,213 +0,0 @@ - - - - - class KIconView - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KIconView


-
- - - - - -
Table of contents
Modules
kdeui Classes
All Classes
-
- - - - - - - - - - -
Modulekdeui
ClassKIconView
InheritsTQIconView
-

enums

    -
  • Mode = {Execute, Select -}
-

methods

    -
  • KIconView (parent = 0, name = 0, f = 0) -
    -
    returns a KIconView instance
    - - - -
    ArgumentTypeDefault
    parentTQWidget0
    namechar0
    fWFlags0
    -

  • -
  • cancelPendingHeldSignal () -
    - -
    returns nothing
    In versions KDE 3.4.0 and above only

  • -
  • contentsDragEnterEvent (e) -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only
    - -
    ArgumentTypeDefault
    eTQDragEnterEvent
    -

  • -
  • contentsDragLeaveEvent (e) -
    - -
    returns nothing
    In versions KDE 3.5.0 and above only
    - -
    ArgumentTypeDefault
    eTQDragLeaveEvent
    -

  • -
  • contentsDragMoveEvent (e) -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only
    - -
    ArgumentTypeDefault
    eTQDragMoveEvent
    -

  • -
  • contentsDropEvent (e) -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only
    - -
    ArgumentTypeDefault
    eTQDropEvent
    -

  • -
  • contentsMouseDoubleClickEvent (e) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    eTQMouseEvent
    -

  • -
  • contentsMousePressEvent (e) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    eTQMouseEvent
    -

  • -
  • contentsMouseReleaseEvent (e) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    eTQMouseEvent
    -

  • -
  • doubleClicked (item, pos) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    itemTQIconViewItem
    posTQPoint
    -

  • -
  • emitExecute (item, pos) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    itemTQIconViewItem
    posTQPoint
    -

  • -
  • executed (item) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    itemTQIconViewItem
    -

  • -
  • executed (item, pos) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    itemTQIconViewItem
    posTQPoint
    -

  • -
  • focusOutEvent (fe) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    feTQFocusEvent
    -

  • -
  • held (item) -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only
    - -
    ArgumentTypeDefault
    itemTQIconViewItem
    -

  • -
  • iconTextHeight () -
    - -
    returns (int)
    In versions KDE 3.3.0 and above only

  • -
  • leaveEvent (e) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    eTQEvent
    -

  • -
  • mode () -
    -
    returns (Mode)

  • -
  • setFont (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0TQFont
    -

  • -
  • setIconTextHeight (n) -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only
    - -
    ArgumentTypeDefault
    nint
    -

  • -
  • setMode (m) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    mKIconView.Mode
    -

  • -
  • slotAutoSelect () -
    -
    returns nothing

  • -
  • slotOnItem (item) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    itemTQIconViewItem
    -

  • -
  • slotOnViewport () -
    -
    returns nothing

  • -
  • slotSettingsChanged (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0int
    -

  • -
  • takeItem (item) -
    - -
    returns nothing
    In versions KDE 3.4.0 and above only
    - -
    ArgumentTypeDefault
    itemTQIconViewItem
    -

  • -
  • updateDragHoldItem (e) -
    - -
    returns nothing
    In versions KDE 3.5.0 and above only
    - -
    ArgumentTypeDefault
    eTQDropEvent
    -

  • -
  • wheelEvent (e) -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only
    - -
    ArgumentTypeDefault
    eTQWheelEvent
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kdeui/KIconViewItem.html b/python/pykde/doc/classref/kdeui/KIconViewItem.html deleted file mode 100644 index d01e86cd..00000000 --- a/python/pykde/doc/classref/kdeui/KIconViewItem.html +++ /dev/null @@ -1,150 +0,0 @@ - - - - - class KIconViewItem - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KIconViewItem


-
- - - - - -
Table of contents
Modules
kdeui Classes
All Classes
-
- - - - - - - - - - -
Modulekdeui
ClassKIconViewItem
InheritsTQIconViewItem
-

methods

    -
  • KIconViewItem (parent) -
    -
    returns a KIconViewItem instance
    - -
    ArgumentTypeDefault
    parentTQIconView
    -

  • -
  • KIconViewItem (parent, after) -
    -
    returns a KIconViewItem instance
    - - -
    ArgumentTypeDefault
    parentTQIconView
    afterTQIconViewItem
    -

  • -
  • KIconViewItem (parent, text) -
    -
    returns a KIconViewItem instance
    - - -
    ArgumentTypeDefault
    parentTQIconView
    textTQString
    -

  • -
  • KIconViewItem (parent, after, text) -
    -
    returns a KIconViewItem instance
    - - - -
    ArgumentTypeDefault
    parentTQIconView
    afterTQIconViewItem
    textTQString
    -

  • -
  • KIconViewItem (parent, text, icon) -
    -
    returns a KIconViewItem instance
    - - - -
    ArgumentTypeDefault
    parentTQIconView
    textTQString
    iconTQPixmap
    -

  • -
  • KIconViewItem (parent, after, text, icon) -
    -
    returns a KIconViewItem instance
    - - - - -
    ArgumentTypeDefault
    parentTQIconView
    afterTQIconViewItem
    textTQString
    iconTQPixmap
    -

  • -
  • KIconViewItem (parent, text, picture) -
    -
    returns a KIconViewItem instance
    - - - -
    ArgumentTypeDefault
    parentTQIconView
    textTQString
    pictureTQPicture
    -

  • -
  • KIconViewItem (parent, after, text, picture) -
    -
    returns a KIconViewItem instance
    - - - - -
    ArgumentTypeDefault
    parentTQIconView
    afterTQIconViewItem
    textTQString
    pictureTQPicture
    -

  • -
  • calcRect (text_ = TQString .null) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    text_TQStringTQString .null
    -

  • -
  • init () -
    -
    returns nothing

  • -
  • paintItem (p, c) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    pTQPainter
    cTQColorGroup
    -

  • -
  • paintPixmap (p, c) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - - -
    ArgumentTypeDefault
    pTQPainter
    cTQColorGroup
    -

  • -
  • paintText (p, c) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - - -
    ArgumentTypeDefault
    pTQPainter
    cTQColorGroup
    -

  • -
  • pixmapSize () -
    - -
    returns (TQSize)
    In versions KDE 3.3.0 and above only

  • -
  • setPixmapSize (size) -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only
    - -
    ArgumentTypeDefault
    sizeTQSize
    -

  • -
  • wordWrap () -
    - -
    returns (KWordWrap)
    In versions KDE 3.2.0 and above only

  • -
- - - diff --git a/python/pykde/doc/classref/kdeui/KIconViewSearchLine.html b/python/pykde/doc/classref/kdeui/KIconViewSearchLine.html deleted file mode 100644 index 935e475b..00000000 --- a/python/pykde/doc/classref/kdeui/KIconViewSearchLine.html +++ /dev/null @@ -1,131 +0,0 @@ - - - - - class KIconViewSearchLine - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KIconViewSearchLine


-
- - - - - -
Table of contents
Modules
kdeui Classes
All Classes
-
- - - - - - - - - - -
Modulekdeui
ClassKIconViewSearchLine
InheritsKLineEdit
-

methods

    -
  • KIconViewSearchLine (parent = 0, iconView = 0, name = 0) -
    - -
    returns a KIconViewSearchLine instance
    In versions KDE 3.4.0 and above only
    - - - -
    ArgumentTypeDefault
    parentTQWidget0
    iconViewTQIconView0
    namechar0
    -

  • -
  • KIconViewSearchLine (parent, name) -
    - -
    returns a KIconViewSearchLine instance
    In versions KDE 3.4.0 and above only
    - - -
    ArgumentTypeDefault
    parentTQWidget
    namechar
    -

  • -
  • activateSearch () -
    - -
    returns nothing
    In versions KDE 3.4.0 and above only

  • -
  • caseSensitive () -
    - -
    returns (bool)
    In versions KDE 3.4.0 and above only

  • -
  • clear () -
    - -
    returns nothing
    In versions KDE 3.4.0 and above only

  • -
  • hideItem (item) -
    - -
    returns nothing
    In versions KDE 3.4.0 and above only
    - -
    ArgumentTypeDefault
    itemTQIconViewItem
    -

  • -
  • iconView () -
    - -
    returns (TQIconView)
    In versions KDE 3.4.0 and above only

  • -
  • init (iconView = 0) -
    - -
    returns nothing
    In versions KDE 3.4.0 and above only
    - -
    ArgumentTypeDefault
    iconViewTQIconView0
    -

  • -
  • itemMatches (item, s) -
    - -
    returns (bool)
    In versions KDE 3.4.0 and above only
    - - -
    ArgumentTypeDefault
    itemTQIconViewItem
    sTQString
    -

  • -
  • queueSearch (s) -
    - -
    returns nothing
    In versions KDE 3.4.0 and above only
    - -
    ArgumentTypeDefault
    sTQString
    -

  • -
  • setCaseSensitive (cs) -
    - -
    returns nothing
    In versions KDE 3.4.0 and above only
    - -
    ArgumentTypeDefault
    csbool
    -

  • -
  • setIconView (iv) -
    - -
    returns nothing
    In versions KDE 3.4.0 and above only
    - -
    ArgumentTypeDefault
    ivTQIconView
    -

  • -
  • showItem (item) -
    - -
    returns nothing
    In versions KDE 3.4.0 and above only
    - -
    ArgumentTypeDefault
    itemTQIconViewItem
    -

  • -
  • updateSearch (s = TQString .null) -
    - -
    returns nothing
    In versions KDE 3.4.0 and above only
    - -
    ArgumentTypeDefault
    sTQStringTQString .null
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kdeui/KInputDialog.html b/python/pykde/doc/classref/kdeui/KInputDialog.html deleted file mode 100644 index 2a81933c..00000000 --- a/python/pykde/doc/classref/kdeui/KInputDialog.html +++ /dev/null @@ -1,217 +0,0 @@ - - - - - class KInputDialog - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KInputDialog


-
- - - - - -
Table of contents
Modules
kdeui Classes
All Classes
-
- - - - - - - - - - -
Modulekdeui
ClassKInputDialog
InheritsKDialogBase
-

methods

    -
  • KInputDialog (caption, label, value, parent, name, validator, mask) -
    - -
    returns a KInputDialog instance
    In versions KDE 3.2.0 and above only
    - - - - - - - -
    ArgumentTypeDefault
    captionTQString
    labelTQString
    valueTQString
    parentTQWidget
    namechar
    validatorTQValidator
    maskTQString
    -

  • -
  • KInputDialog (caption, label, value, parent, name) -
    - -
    returns a KInputDialog instance
    In versions KDE 3.3.0 and above only
    - - - - - -
    ArgumentTypeDefault
    captionTQString
    labelTQString
    valueTQString
    parentTQWidget
    namechar
    -

  • -
  • KInputDialog (caption, label, value, minValue, maxValue, step, base, parent, name) -
    - -
    returns a KInputDialog instance
    In versions KDE 3.2.0 and above only
    - - - - - - - - - -
    ArgumentTypeDefault
    captionTQString
    labelTQString
    valueint
    minValueint
    maxValueint
    stepint
    baseint
    parentTQWidget
    namechar
    -

  • -
  • KInputDialog (caption, label, list, current, editable, parent, name) -
    - -
    returns a KInputDialog instance
    In versions KDE 3.2.0 and above only
    - - - - - - - -
    ArgumentTypeDefault
    captionTQString
    labelTQString
    listTQStringList
    currentint
    editablebool
    parentTQWidget
    namechar
    -

  • -
  • KInputDialog (caption, label, list, select, editable, parent, name) -
    - -
    returns a KInputDialog instance
    In versions KDE 3.2.0 and above only
    - - - - - - - -
    ArgumentTypeDefault
    captionTQString
    labelTQString
    listTQStringList
    selectTQStringList
    editablebool
    parentTQWidget
    namechar
    -

  • -
  • getDouble (caption, label, value = 0, minValue = -2147483647, maxValue = 2147483647, step = 0.1, decimals = 1, parent = 0, name = 0) -
    - - -
    returns (double) ok (bool)
    In versions KDE 3.2.0 and above only
    static
    - - - - - - - - - -
    ArgumentTypeDefault
    captionTQString
    labelTQString
    valuedouble0
    minValuedouble-2147483647
    maxValuedouble2147483647
    stepdouble0.1
    decimalsint1
    parentTQWidget0
    namechar0
    -

  • -
  • getDouble (caption, label, value = 0, minValue = -2147483647, maxValue = 2147483647, decimals = 1, parent = 0, name = 0) -
    Not Implemented
    -

  • -
  • getInteger (caption, label, value = 0, minValue = -2147483647, maxValue = 2147483647, step = 1, base = 10, parent = 0, name = 0) -
    - - -
    returns (int) ok (bool)
    In versions KDE 3.2.0 and above only
    static
    - - - - - - - - - -
    ArgumentTypeDefault
    captionTQString
    labelTQString
    valueint0
    minValueint-2147483647
    maxValueint2147483647
    stepint1
    baseint10
    parentTQWidget0
    namechar0
    -

  • -
  • getInteger (caption, label, value = 0, minValue = -2147483647, maxValue = 2147483647, step = 1, parent = 0, name = 0) -
    Not Implemented
    -

  • -
  • getItem (caption, label, list, current = 0, editable = 0, parent = 0, name = 0) -
    - - -
    returns (TQString) ok (bool)
    In versions KDE 3.2.0 and above only
    static
    - - - - - - - -
    ArgumentTypeDefault
    captionTQString
    labelTQString
    listTQStringList
    currentint0
    editablebool0
    parentTQWidget0
    namechar0
    -

  • -
  • getItemList (caption, label, list = TQStringList (), select = TQStringList (), multiple = 0, parent = 0, name = 0) -
    - - -
    returns (TQStringList) ok (bool)
    In versions KDE 3.2.0 and above only
    static
    - - - - - - - -
    ArgumentTypeDefault
    captionTQString
    labelTQString
    listTQStringListTQStringList ()
    selectTQStringListTQStringList ()
    multiplebool0
    parentTQWidget0
    namechar0
    -

  • -
  • getMultiLineText (caption, label, value = TQString .null, parent = 0, name = 0) -
    - - -
    returns (TQString) ok (bool)
    In versions KDE 3.3.0 and above only
    static
    - - - - - -
    ArgumentTypeDefault
    captionTQString
    labelTQString
    valueTQStringTQString .null
    parentTQWidget0
    namechar0
    -

  • -
  • getText (caption, label, value = TQString .null, parent = 0, name = 0, validator = 0, mask = TQString .null) -
    - - -
    returns (TQString) ok (bool)
    In versions KDE 3.2.0 and above only
    static
    - - - - - - - -
    ArgumentTypeDefault
    captionTQString
    labelTQString
    valueTQStringTQString .null
    parentTQWidget0
    namechar0
    validatorTQValidator0
    maskTQStringTQString .null
    -

  • -
  • text (caption, label, value = TQString .null, parent = 0, name = 0, validator = 0, mask = TQString .null, whatsThis = TQString .null) -
    - - -
    returns (TQString) ok (bool)
    In versions KDE 3.3.0 and above only
    static
    - - - - - - - - -
    ArgumentTypeDefault
    captionTQString
    labelTQString
    valueTQStringTQString .null
    parentTQWidget0
    namechar0
    validatorTQValidator0
    maskTQStringTQString .null
    whatsThisTQStringTQString .null
    -

  • -
  • ~KInputDialog () -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only

  • -
- - - diff --git a/python/pykde/doc/classref/kdeui/KIntNumInput.html b/python/pykde/doc/classref/kdeui/KIntNumInput.html deleted file mode 100644 index 2f54754e..00000000 --- a/python/pykde/doc/classref/kdeui/KIntNumInput.html +++ /dev/null @@ -1,190 +0,0 @@ - - - - - class KIntNumInput - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KIntNumInput


-
- - - - - -
Table of contents
Modules
kdeui Classes
All Classes
-
- - - - - - - - - - -
Modulekdeui
ClassKIntNumInput
InheritsKNumInput
-

methods

    -
  • KIntNumInput (parent = 0, name = 0) -
    -
    returns a KIntNumInput instance
    - - -
    ArgumentTypeDefault
    parentTQWidget0
    namechar0
    -

  • -
  • KIntNumInput (value, parent = 0, base = 10, name = 0) -
    -
    returns a KIntNumInput instance
    - - - - -
    ArgumentTypeDefault
    valueint
    parentTQWidget0
    baseint10
    namechar0
    -

  • -
  • KIntNumInput (below, value, parent = 0, base = 10, name = 0) -
    -
    returns a KIntNumInput instance
    - - - - - -
    ArgumentTypeDefault
    belowKNumInput
    valueint
    parentTQWidget0
    baseint10
    namechar0
    -

  • -
  • doLayout () -
    -
    returns nothing

  • -
  • maxValue () -
    -
    returns (int)

  • -
  • minValue () -
    -
    returns (int)

  • -
  • minimumSizeHint () -
    -
    returns (TQSize)

  • -
  • prefix () -
    -
    returns (TQString)

  • -
  • referencePoint () -
    - -
    returns (int)
    In versions KDE 3.1.0 and above only

  • -
  • relativeValue () -
    - -
    returns (double)
    In versions KDE 3.1.0 and above only

  • -
  • relativeValueChanged (a0) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    a0double
    -

  • -
  • resizeEvent (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0TQResizeEvent
    -

  • -
  • setEditFocus (mark = 1) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    markbool1
    -

  • -
  • setLabel (label, a = AlignLeft | AlignTop) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    labelTQString
    aintAlignLeft | AlignTop
    -

  • -
  • setMaxValue (max) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    maxint
    -

  • -
  • setMinValue (min) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    minint
    -

  • -
  • setPrefix (prefix) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    prefixTQString
    -

  • -
  • setRange (min, max, step = 1, slider = 1) -
    -
    returns nothing
    - - - - -
    ArgumentTypeDefault
    minint
    maxint
    stepint1
    sliderbool1
    -

  • -
  • setReferencePoint (a0) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    a0int
    -

  • -
  • setRelativeValue (a0) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    a0double
    -

  • -
  • setSpecialValueText (text) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    textTQString
    -

  • -
  • setSuffix (suffix) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    suffixTQString
    -

  • -
  • setValue (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0int
    -

  • -
  • specialValueText () -
    -
    returns (TQString)

  • -
  • suffix () -
    -
    returns (TQString)

  • -
  • value () -
    -
    returns (int)

  • -
  • valueChanged (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0int
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kdeui/KIntSpinBox.html b/python/pykde/doc/classref/kdeui/KIntSpinBox.html deleted file mode 100644 index 0d9f8e56..00000000 --- a/python/pykde/doc/classref/kdeui/KIntSpinBox.html +++ /dev/null @@ -1,84 +0,0 @@ - - - - - class KIntSpinBox - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KIntSpinBox


-
- - - - - -
Table of contents
Modules
kdeui Classes
All Classes
-
- - - - - - - - - - -
Modulekdeui
ClassKIntSpinBox
InheritsTQSpinBox
-

methods

    -
  • KIntSpinBox (parent = 0, name = 0) -
    -
    returns a KIntSpinBox instance
    - - -
    ArgumentTypeDefault
    parentTQWidget0
    namechar0
    -

  • -
  • KIntSpinBox (lower, upper, step, value, base = 10, parent = 0, name = 0) -
    -
    returns a KIntSpinBox instance
    - - - - - - - -
    ArgumentTypeDefault
    lowerint
    upperint
    stepint
    valueint
    baseint10
    parentTQWidget0
    namechar0
    -

  • -
  • base () -
    -
    returns (int)

  • -
  • mapTextToValue () -
    Not Implemented
    -

  • -
  • mapValueToText (a0) -
    -
    returns (TQString)
    - -
    ArgumentTypeDefault
    a0int
    -

  • -
  • setBase (base) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    baseint
    -

  • -
  • setEditFocus (mark) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    markbool
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kdeui/KIntValidator.html b/python/pykde/doc/classref/kdeui/KIntValidator.html deleted file mode 100644 index 350b5d21..00000000 --- a/python/pykde/doc/classref/kdeui/KIntValidator.html +++ /dev/null @@ -1,93 +0,0 @@ - - - - - class KIntValidator - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KIntValidator


-
- - - - - -
Table of contents
Modules
kdeui Classes
All Classes
-
- - - - - - - - - - -
Modulekdeui
ClassKIntValidator
InheritsTQValidator
-

methods

    -
  • KIntValidator (parent, base = 10, name = 0) -
    -
    returns a KIntValidator instance
    - - - -
    ArgumentTypeDefault
    parentTQWidget
    baseint10
    namechar0
    -

  • -
  • KIntValidator (bottom, top, parent, base = 10, name = 0) -
    -
    returns a KIntValidator instance
    - - - - - -
    ArgumentTypeDefault
    bottomint
    topint
    parentTQWidget
    baseint10
    namechar0
    -

  • -
  • base () -
    -
    returns (int)

  • -
  • bottom () -
    -
    returns (int)

  • -
  • fixup (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0TQString
    -

  • -
  • setBase (base) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    baseint
    -

  • -
  • setRange (bottom, top) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    bottomint
    topint
    -

  • -
  • top () -
    -
    returns (int)

  • -
  • validate (a0) -
    -
    returns (State) a1 (int)
    - -
    ArgumentTypeDefault
    a0TQString
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kdeui/KJanusWidget.html b/python/pykde/doc/classref/kdeui/KJanusWidget.html deleted file mode 100644 index bc025d56..00000000 --- a/python/pykde/doc/classref/kdeui/KJanusWidget.html +++ /dev/null @@ -1,288 +0,0 @@ - - - - - class KJanusWidget - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KJanusWidget


-
- - - - - -
Table of contents
Modules
kdeui Classes
All Classes
-
- - - - - - - - - - -
Modulekdeui
ClassKJanusWidget
InheritsTQWidget
-

enums

    -
  • Face = {TreeList, Tabbed, Plain, Swallow, IconList -}
-

methods

    -
  • FindParent () -
    -
    returns (TQWidget)

  • -
  • InsertTreeListItem (items, pixmap, page) -
    -
    returns nothing
    - - - -
    ArgumentTypeDefault
    itemsTQStringList
    pixmapTQPixmap
    pageTQFrame
    -

  • -
  • KJanusWidget (parent = 0, name = 0, face = Plain) -
    -
    returns a KJanusWidget instance
    - - - -
    ArgumentTypeDefault
    parentTQWidget0
    namechar0
    faceintPlain
    -

  • -
  • aboutToShowPage (page) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    pageTQWidget
    -

  • -
  • activePageIndex () -
    -
    returns (int)

  • -
  • addButtonBelowList (text, recv, slot) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - - - -
    ArgumentTypeDefault
    textTQString
    recvTQObject
    slotchar
    -

  • -
  • addButtonBelowList (guiitem, recv, slot) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - - - -
    ArgumentTypeDefault
    guiitemKGuiItem
    recvTQObject
    slotchar
    -

  • -
  • addGridPage (n, dir, itemName, header = TQString .null, pixmap = TQPixmap ()) -
    -
    returns (TQGrid)
    - - - - - -
    ArgumentTypeDefault
    nint
    dirQt.Orientation
    itemNameTQString
    headerTQStringTQString .null
    pixmapTQPixmapTQPixmap ()
    -

  • -
  • addGridPage (n, dir, items, header = TQString .null, pixmap = TQPixmap ()) -
    -
    returns (TQGrid)
    - - - - - -
    ArgumentTypeDefault
    nint
    dirQt.Orientation
    itemsTQStringList
    headerTQStringTQString .null
    pixmapTQPixmapTQPixmap ()
    -

  • -
  • addHBoxPage (itemName, header = TQString .null, pixmap = TQPixmap ()) -
    -
    returns (TQHBox)
    - - - -
    ArgumentTypeDefault
    itemNameTQString
    headerTQStringTQString .null
    pixmapTQPixmapTQPixmap ()
    -

  • -
  • addHBoxPage (items, header = TQString .null, pixmap = TQPixmap ()) -
    -
    returns (TQHBox)
    - - - -
    ArgumentTypeDefault
    itemsTQStringList
    headerTQStringTQString .null
    pixmapTQPixmapTQPixmap ()
    -

  • -
  • addPage (item, header = TQString .null, pixmap = TQPixmap ()) -
    -
    returns (TQFrame)
    - - - -
    ArgumentTypeDefault
    itemTQString
    headerTQStringTQString .null
    pixmapTQPixmapTQPixmap ()
    -

  • -
  • addPage (items, header = TQString .null, pixmap = TQPixmap ()) -
    -
    returns (TQFrame)
    - - - -
    ArgumentTypeDefault
    itemsTQStringList
    headerTQStringTQString .null
    pixmapTQPixmapTQPixmap ()
    -

  • -
  • addPageWidget (page, items, header, pixmap) -
    -
    returns nothing
    - - - - -
    ArgumentTypeDefault
    pageTQFrame
    itemsTQStringList
    headerTQString
    pixmapTQPixmap
    -

  • -
  • addVBoxPage (item, header = TQString .null, pixmap = TQPixmap ()) -
    -
    returns (TQVBox)
    - - - -
    ArgumentTypeDefault
    itemTQString
    headerTQStringTQString .null
    pixmapTQPixmapTQPixmap ()
    -

  • -
  • addVBoxPage (items, header = TQString .null, pixmap = TQPixmap ()) -
    -
    returns (TQVBox)
    - - - -
    ArgumentTypeDefault
    itemsTQStringList
    headerTQStringTQString .null
    pixmapTQPixmapTQPixmap ()
    -

  • -
  • addWidgetBelowList (widget) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    widgetTQWidget
    -

  • -
  • eventFilter (o, e) -
    -
    returns (bool)
    - - -
    ArgumentTypeDefault
    oTQObject
    eTQEvent
    -

  • -
  • face () -
    -
    returns (int)

  • -
  • isValid () -
    -
    returns (bool)

  • -
  • minimumSizeHint () -
    -
    returns (TQSize)

  • -
  • pageIndex (widget) -
    -
    returns (int)
    - -
    ArgumentTypeDefault
    widgetTQWidget
    -

  • -
  • pageTitle (index) -
    - -
    returns (TQString)
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    indexint
    -

  • -
  • pageWidget (index) -
    - -
    returns (TQWidget)
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    indexint
    -

  • -
  • plainPage () -
    -
    returns (TQFrame)

  • -
  • removePage (page) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    pageTQWidget
    -

  • -
  • setFocus () -
    -
    returns nothing

  • -
  • setFolderIcon (path, pixmap) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    pathTQStringList
    pixmapTQPixmap
    -

  • -
  • setIconListAllVisible (state) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    statebool
    -

  • -
  • setRootIsDecorated (state) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    statebool
    -

  • -
  • setShowIconsInTreeList (state) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    statebool
    -

  • -
  • setSwallowedWidget (widget) -
    -
    returns (bool)
    - -
    ArgumentTypeDefault
    widgetTQWidget
    -

  • -
  • setTreeListAutoResize (state) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    statebool
    -

  • -
  • showEvent (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0TQShowEvent
    -

  • -
  • showPage (index) -
    -
    returns (bool)
    - -
    ArgumentTypeDefault
    indexint
    -

  • -
  • showPage (w) -
    -
    returns (bool)
    - -
    ArgumentTypeDefault
    wTQWidget
    -

  • -
  • sizeHint () -
    -
    returns (TQSize)

  • -
  • unfoldTreeList (persist = 0) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    persistbool0
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kdeui/KKeyButton.html b/python/pykde/doc/classref/kdeui/KKeyButton.html deleted file mode 100644 index 860e8eb5..00000000 --- a/python/pykde/doc/classref/kdeui/KKeyButton.html +++ /dev/null @@ -1,86 +0,0 @@ - - - - - class KKeyButton - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KKeyButton


-
- - - - - -
Table of contents
Modules
kdeui Classes
All Classes
-
- - - - - - - - - - -
Modulekdeui
ClassKKeyButton
InheritsTQPushButton
-

methods

    -
  • KKeyButton (parent = 0, name = 0) -
    -
    returns a KKeyButton instance
    - - -
    ArgumentTypeDefault
    parentTQWidget0
    namechar0
    -

  • -
  • captureShortcut () -
    -
    returns nothing

  • -
  • capturedShortcut (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0KShortcut
    -

  • -
  • drawButton (_painter) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    _painterTQPainter
    -

  • -
  • setShortcut (cut) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    cutKShortcut
    -

  • -
  • setShortcut (cut, bQtShortcut) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - - -
    ArgumentTypeDefault
    cutKShortcut
    bQtShortcutbool
    -

  • -
  • setText (text) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    textTQString
    -

  • -
  • shortcut () -
    -
    returns (KShortcut)

  • -
- - - diff --git a/python/pykde/doc/classref/kdeui/KKeyChooser.html b/python/pykde/doc/classref/kdeui/KKeyChooser.html deleted file mode 100644 index bd232b9b..00000000 --- a/python/pykde/doc/classref/kdeui/KKeyChooser.html +++ /dev/null @@ -1,280 +0,0 @@ - - - - - class KKeyChooser - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KKeyChooser


-
- - - - - -
Table of contents
Modules
kdeui Classes
All Classes
-
- - - - - - - - - - -
Modulekdeui
ClassKKeyChooser
InheritsTQWidget
-

enums

    -
  • ActionType = {Application, ApplicationGlobal, Standard, Global -}
-

methods

    -
  • KKeyChooser (parent, type = Application, bAllowLetterShortcuts = 1) -
    -
    returns a KKeyChooser instance
    - - - -
    ArgumentTypeDefault
    parentTQWidget
    typeKKeyChooser.ActionTypeApplication
    bAllowLetterShortcutsbool1
    -

  • -
  • KKeyChooser (coll, parent, bAllowLetterShortcuts = 1) -
    -
    returns a KKeyChooser instance
    - - - -
    ArgumentTypeDefault
    collKActionCollection
    parentTQWidget
    bAllowLetterShortcutsbool1
    -

  • -
  • KKeyChooser (actions, parent, bAllowLetterShortcuts = 1) -
    -
    returns a KKeyChooser instance
    - - - -
    ArgumentTypeDefault
    actionsKAccel
    parentTQWidget
    bAllowLetterShortcutsbool1
    -

  • -
  • KKeyChooser (actions, parent) -
    -
    returns a KKeyChooser instance
    - - -
    ArgumentTypeDefault
    actionsKGlobalAccel
    parentTQWidget
    -

  • -
  • KKeyChooser (a0, parent, type = Application, bAllowLetterShortcuts = 1) -
    -
    returns a KKeyChooser instance
    - - - - -
    ArgumentTypeDefault
    a0KShortcutList
    parentTQWidget
    typeKKeyChooser.ActionTypeApplication
    bAllowLetterShortcutsbool1
    -

  • -
  • KKeyChooser (actions, parent, bCheckAgainstStdKeys, bAllowLetterShortcuts, bAllowWinKey = 0) -
    -
    returns a KKeyChooser instance
    - - - - - -
    ArgumentTypeDefault
    actionsKAccel
    parentTQWidget
    bCheckAgainstStdKeysbool
    bAllowLetterShortcutsbool
    bAllowWinKeybool0
    -

  • -
  • KKeyChooser (actions, parent, bCheckAgainstStdKeys, bAllowLetterShortcuts, bAllowWinKey = 0) -
    -
    returns a KKeyChooser instance
    - - - - - -
    ArgumentTypeDefault
    actionsKGlobalAccel
    parentTQWidget
    bCheckAgainstStdKeysbool
    bAllowLetterShortcutsbool
    bAllowWinKeybool0
    -

  • -
  • _warning (seq, sAction, sTitle) -
    -
    returns nothing
    - - - -
    ArgumentTypeDefault
    seqKKeySequence
    sActionTQString
    sTitleTQString
    -

  • -
  • allDefault () -
    -
    returns nothing

  • -
  • buildListView (iList, title = TQString .null) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - - -
    ArgumentTypeDefault
    iListuint
    titleTQStringTQString .null
    -

  • -
  • buildListView (a0) -
    - -
    returns nothing
    In versions less than KDE 3.1.0 only
    - -
    ArgumentTypeDefault
    a0uint
    -

  • -
  • capturedShortcut (cut) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    cutKShortcut
    -

  • -
  • checkGlobalShortcutsConflict (cut, warnUser, parent) -
    - - -
    returns (bool)
    In versions KDE 3.2.0 and above only
    static
    - - - -
    ArgumentTypeDefault
    cutKShortcut
    warnUserbool
    parentTQWidget
    -

  • -
  • checkStandardShortcutsConflict (cut, warnUser, parent) -
    - - -
    returns (bool)
    In versions KDE 3.2.0 and above only
    static
    - - - -
    ArgumentTypeDefault
    cutKShortcut
    warnUserbool
    parentTQWidget
    -

  • -
  • commitChanges () -
    -
    returns nothing

  • -
  • fontChange (_font) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    _fontTQFont
    -

  • -
  • initGUI (type, bAllowLetterShortcuts) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    typeKKeyChooser.ActionType
    bAllowLetterShortcutsbool
    -

  • -
  • insert (a0) -
    -
    returns (bool)
    - -
    ArgumentTypeDefault
    a0KActionCollection
    -

  • -
  • insert (a0, title) -
    - -
    returns (bool)
    In versions KDE 3.1.0 and above only
    - - -
    ArgumentTypeDefault
    a0KActionCollection
    titleTQString
    -

  • -
  • insert (a0) -
    -
    returns (bool)
    - -
    ArgumentTypeDefault
    a0KAccel
    -

  • -
  • insert (a0) -
    -
    returns (bool)
    - -
    ArgumentTypeDefault
    a0KGlobalAccel
    -

  • -
  • insert (a0) -
    -
    returns (bool)
    - -
    ArgumentTypeDefault
    a0KShortcutList
    -

  • -
  • isKeyPresent (cut, warnuser = 1) -
    -
    returns (bool)
    - - -
    ArgumentTypeDefault
    cutKShortcut
    warnuserbool1
    -

  • -
  • isKeyPresentLocally (cut, ignoreItem, warnText) -
    Not Implemented
    -

  • -
  • keyChange () -
    -
    returns nothing

  • -
  • listSync () -
    -
    returns nothing

  • -
  • readGlobalKeys () -
    -
    returns nothing

  • -
  • save () -
    -
    returns nothing

  • -
  • setPreferFourModifierKeys (preferFourModifierKeys) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    preferFourModifierKeysbool
    -

  • -
  • setShortcut (cut) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    cutKShortcut
    -

  • -
  • slotCustomKey () -
    -
    returns nothing

  • -
  • slotDefaultKey () -
    -
    returns nothing

  • -
  • slotListItemDoubleClicked (ipoQListViewItem, ipoQPoint, c) -
    - -
    returns nothing
    In versions KDE 3.1.2 and above only
    - - - -
    ArgumentTypeDefault
    ipoQListViewItemTQListViewItem
    ipoQPointTQPoint
    cint
    -

  • -
  • slotListItemSelected (item) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    itemTQListViewItem
    -

  • -
  • slotNoKey () -
    -
    returns nothing

  • -
  • slotSettingsChanged (a0) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    a0int
    -

  • -
  • syncToConfig (sConfigGroup, pConfig, bClearUnset) -
    -
    returns nothing
    - - - -
    ArgumentTypeDefault
    sConfigGroupTQString
    pConfigKConfigBase
    bClearUnsetbool
    -

  • -
  • updateButtons () -
    -
    returns nothing

  • -
- - - diff --git a/python/pykde/doc/classref/kdeui/KKeyDialog.html b/python/pykde/doc/classref/kdeui/KKeyDialog.html deleted file mode 100644 index 9e3bb06a..00000000 --- a/python/pykde/doc/classref/kdeui/KKeyDialog.html +++ /dev/null @@ -1,170 +0,0 @@ - - - - - class KKeyDialog - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KKeyDialog


-
- - - - - -
Table of contents
Modules
kdeui Classes
All Classes
-
- - - - - - - - - - -
Modulekdeui
ClassKKeyDialog
InheritsKDialogBase
-

methods

    -
  • KKeyDialog (bAllowLetterShortcuts = 1, parent = 0, name = 0) -
    -
    returns a KKeyDialog instance
    - - - -
    ArgumentTypeDefault
    bAllowLetterShortcutsbool1
    parentTQWidget0
    namechar0
    -

  • -
  • KKeyDialog (a0, bAllowLetterShortcuts = 1, parent = 0, name = 0) -
    - -
    returns a KKeyDialog instance
    In versions KDE 3.1.0 and above only
    - - - - -
    ArgumentTypeDefault
    a0KKeyChooser.ActionType
    bAllowLetterShortcutsbool1
    parentTQWidget0
    namechar0
    -

  • -
  • commitChanges () -
    -
    returns nothing

  • -
  • configure (bSaveSettings = 1) -
    -
    returns (bool)
    - -
    ArgumentTypeDefault
    bSaveSettingsbool1
    -

  • -
  • configure (coll, parent = 0, bSaveSettings = 1) -
    - -
    returns (int)
    static
    - - - -
    ArgumentTypeDefault
    collKActionCollection
    parentTQWidget0
    bSaveSettingsbool1
    -

  • -
  • configure (keys, parent = 0, bSaveSettings = 1) -
    - -
    returns (int)
    static
    - - - -
    ArgumentTypeDefault
    keysKAccel
    parentTQWidget0
    bSaveSettingsbool1
    -

  • -
  • configure (keys, parent = 0, bSaveSettings = 1) -
    - -
    returns (int)
    static
    - - - -
    ArgumentTypeDefault
    keysKGlobalAccel
    parentTQWidget0
    bSaveSettingsbool1
    -

  • -
  • configure (coll, bAllowLetterShortcuts, parent = 0, bSaveSettings = 1) -
    - - -
    returns (int)
    In versions KDE 3.1.0 and above only
    static
    - - - - -
    ArgumentTypeDefault
    collKActionCollection
    bAllowLetterShortcutsbool
    parentTQWidget0
    bSaveSettingsbool1
    -

  • -
  • configure (keys, bAllowLetterShortcuts, parent = 0, bSaveSettings = 1) -
    - - -
    returns (int)
    In versions KDE 3.1.0 and above only
    static
    - - - - -
    ArgumentTypeDefault
    keysKAccel
    bAllowLetterShortcutsbool
    parentTQWidget0
    bSaveSettingsbool1
    -

  • -
  • configure (keys, bAllowLetterShortcuts, parent = 0, bSaveSettings = 1) -
    - - -
    returns (int)
    In versions KDE 3.1.0 and above only
    static
    - - - - -
    ArgumentTypeDefault
    keysKGlobalAccel
    bAllowLetterShortcutsbool
    parentTQWidget0
    bSaveSettingsbool1
    -

  • -
  • configureKeys (keys, save_settings = 1, parent = 0) -
    - -
    returns (int)
    static
    - - - -
    ArgumentTypeDefault
    keysKAccel
    save_settingsbool1
    parentTQWidget0
    -

  • -
  • configureKeys (keys, save_settings = 1, parent = 0) -
    - -
    returns (int)
    static
    - - - -
    ArgumentTypeDefault
    keysKGlobalAccel
    save_settingsbool1
    parentTQWidget0
    -

  • -
  • configureKeys (coll, a0, save_settings = 1, parent = 0) -
    - -
    returns (int)
    static
    - - - - -
    ArgumentTypeDefault
    collKActionCollection
    a0TQString
    save_settingsbool1
    parentTQWidget0
    -

  • -
  • insert (a0) -
    -
    returns (bool)
    - -
    ArgumentTypeDefault
    a0KActionCollection
    -

  • -
  • insert (a0, title) -
    - -
    returns (bool)
    In versions KDE 3.1.0 and above only
    - - -
    ArgumentTypeDefault
    a0KActionCollection
    titleTQString
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kdeui/KLanguageButton.html b/python/pykde/doc/classref/kdeui/KLanguageButton.html deleted file mode 100644 index 1feb0856..00000000 --- a/python/pykde/doc/classref/kdeui/KLanguageButton.html +++ /dev/null @@ -1,173 +0,0 @@ - - - - - class KLanguageButton - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KLanguageButton


-
- - - - - -
Table of contents
Modules
kdeui Classes
All Classes
-
- - - - - - - - - - -
Modulekdeui
ClassKLanguageButton
InheritsTQWidget
-

methods

    -
  • KLanguageButton (parent = 0, name = 0) -
    - -
    returns a KLanguageButton instance
    In versions KDE 3.3.0 and above only
    - - -
    ArgumentTypeDefault
    parentTQWidget0
    namechar0
    -

  • -
  • KLanguageButton (text, parent = 0, name = 0) -
    - -
    returns a KLanguageButton instance
    In versions KDE 3.3.0 and above only
    - - - -
    ArgumentTypeDefault
    textTQString
    parentTQWidget0
    namechar0
    -

  • -
  • activated (id) -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only
    - -
    ArgumentTypeDefault
    idTQString
    -

  • -
  • clear () -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only

  • -
  • contains (id) -
    - -
    returns (bool)
    In versions KDE 3.3.0 and above only
    - -
    ArgumentTypeDefault
    idTQString
    -

  • -
  • count () -
    - -
    returns (int)
    In versions KDE 3.3.0 and above only

  • -
  • current () -
    - -
    returns (TQString)
    In versions KDE 3.3.0 and above only

  • -
  • highlighted (id) -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only
    - -
    ArgumentTypeDefault
    idTQString
    -

  • -
  • id (i) -
    - -
    returns (TQString)
    In versions KDE 3.3.0 and above only
    - -
    ArgumentTypeDefault
    iint
    -

  • -
  • insertItem (icon, text, id, submenu = TQString .null, index = -1) -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only
    - - - - - -
    ArgumentTypeDefault
    iconTQIconSet
    textTQString
    idTQString
    submenuTQStringTQString .null
    indexint-1
    -

  • -
  • insertItem (text, id, submenu = TQString .null, index = -1) -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only
    - - - - -
    ArgumentTypeDefault
    textTQString
    idTQString
    submenuTQStringTQString .null
    indexint-1
    -

  • -
  • insertLanguage (path, name, sub = TQString .null, submenu = TQString .null, index = -1) -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only
    - - - - - -
    ArgumentTypeDefault
    pathTQString
    nameTQString
    subTQStringTQString .null
    submenuTQStringTQString .null
    indexint-1
    -

  • -
  • insertSeparator (submenu = TQString .null, index = -1) -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only
    - - -
    ArgumentTypeDefault
    submenuTQStringTQString .null
    indexint-1
    -

  • -
  • insertSubmenu (icon, text, id, submenu = TQString .null, index = -1) -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only
    - - - - - -
    ArgumentTypeDefault
    iconTQIconSet
    textTQString
    idTQString
    submenuTQStringTQString .null
    indexint-1
    -

  • -
  • insertSubmenu (text, id, submenu = TQString .null, index = -1) -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only
    - - - - -
    ArgumentTypeDefault
    textTQString
    idTQString
    submenuTQStringTQString .null
    indexint-1
    -

  • -
  • setCurrentItem (id) -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only
    - -
    ArgumentTypeDefault
    idTQString
    -

  • -
  • setText (text) -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only
    - -
    ArgumentTypeDefault
    textTQString
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kdeui/KLed.html b/python/pykde/doc/classref/kdeui/KLed.html deleted file mode 100644 index 2cc553ec..00000000 --- a/python/pykde/doc/classref/kdeui/KLed.html +++ /dev/null @@ -1,162 +0,0 @@ - - - - - class KLed - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KLed


-
- - - - - -
Table of contents
Modules
kdeui Classes
All Classes
-
- - - - - - - - - - -
Modulekdeui
ClassKLed
InheritsTQWidget
-

enums

    -
  • Look = {Flat, Raised, Sunken -}
  • Shape = {Rectangular, Circular -}
  • State = {Off, On -}
-

methods

    -
  • KLed (parent = 0, name = 0) -
    -
    returns a KLed instance
    - - -
    ArgumentTypeDefault
    parentTQWidget0
    namechar0
    -

  • -
  • KLed (col, parent = 0, name = 0) -
    Not Implemented
    -

  • -
  • KLed (col, state, look, shape, parent = 0, name = 0) -
    -
    returns a KLed instance
    - - - - - - -
    ArgumentTypeDefault
    colTQColor
    stateKLed.State
    lookKLed.Look
    shapeKLed.Shape
    parentTQWidget0
    namechar0
    -

  • -
  • color () -
    -
    returns (TQColor)

  • -
  • darkFactor () -
    -
    returns (int)

  • -
  • ensureRoundLed () -
    - -
    returns (int)
    In versions KDE 3.3.0 and above only

  • -
  • look () -
    -
    returns (Look)

  • -
  • minimumSizeHint () -
    -
    returns (TQSize)

  • -
  • off () -
    -
    returns nothing

  • -
  • on () -
    -
    returns nothing

  • -
  • paintCachedPixmap () -
    - -
    returns (bool)
    In versions KDE 3.3.0 and above only

  • -
  • paintEvent (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0TQPaintEvent
    -

  • -
  • paintFlat () -
    -
    returns nothing

  • -
  • paintRect () -
    -
    returns nothing

  • -
  • paintRectFrame (raised) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    raisedbool
    -

  • -
  • paintRound () -
    -
    returns nothing

  • -
  • paintSunken () -
    -
    returns nothing

  • -
  • setColor (color) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    colorTQColor
    -

  • -
  • setDarkFactor (darkfactor) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    darkfactorint
    -

  • -
  • setLook (look) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    lookKLed.Look
    -

  • -
  • setShape (s) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    sKLed.Shape
    -

  • -
  • setState (state) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    stateKLed.State
    -

  • -
  • shape () -
    -
    returns (Shape)

  • -
  • sizeHint () -
    -
    returns (TQSize)

  • -
  • state () -
    -
    returns (State)

  • -
  • toggle () -
    -
    returns nothing

  • -
  • toggleState () -
    -
    returns nothing

  • -
- - - diff --git a/python/pykde/doc/classref/kdeui/KLineEdit.html b/python/pykde/doc/classref/kdeui/KLineEdit.html deleted file mode 100644 index 492d6379..00000000 --- a/python/pykde/doc/classref/kdeui/KLineEdit.html +++ /dev/null @@ -1,329 +0,0 @@ - - - - - class KLineEdit - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KLineEdit


-
- - - - - -
Table of contents
Modules
kdeui Classes
All Classes
-
- - - - - - - - - - -
Modulekdeui
ClassKLineEdit
InheritsTQLineEdit, KCompletionBase
-

methods

    -
  • KLineEdit (string, parent, name = 0) -
    -
    returns a KLineEdit instance
    - - - -
    ArgumentTypeDefault
    stringTQString
    parentTQWidget
    namechar0
    -

  • -
  • KLineEdit (parent = 0, name = 0) -
    -
    returns a KLineEdit instance
    - - -
    ArgumentTypeDefault
    parentTQWidget0
    namechar0
    -

  • -
  • aboutToShowContextMenu (p) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    pTQPopupMenu
    -

  • -
  • autoSuggest () -
    - -
    returns (bool)
    In versions KDE 3.4.0 and above only

  • -
  • clear () -
    -
    returns nothing

  • -
  • completion (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0TQString
    -

  • -
  • completionBox (create) -
    -
    returns (KCompletionBox)
    - -
    ArgumentTypeDefault
    createbool
    -

  • -
  • completionBoxActivated (a0) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    a0TQString
    -

  • -
  • completionModeChanged (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0KGlobalSettings.Completion
    -

  • -
  • contextMenuEvent (a0) -
    - -
    returns nothing
    In versions KDE 3.3.1 and above only
    - -
    ArgumentTypeDefault
    a0TQContextMenuEvent
    -

  • -
  • copy () -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only

  • -
  • create (a0 = 0, initializeWindow = 1, destroyOldWindow = 1) -
    -
    returns nothing
    - - - -
    ArgumentTypeDefault
    a0WId0
    initializeWindowbool1
    destroyOldWindowbool1
    -

  • -
  • createPopupMenu () -
    -
    returns (TQPopupMenu)

  • -
  • cursorAtEnd () -
    -
    returns nothing

  • -
  • dropEvent (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0TQDropEvent
    -

  • -
  • eventFilter (a0, a1) -
    -
    returns (bool)
    - - -
    ArgumentTypeDefault
    a0TQObject
    a1TQEvent
    -

  • -
  • focusInEvent (a0) -
    - -
    returns nothing
    In versions KDE 3.4.0 and above only
    - -
    ArgumentTypeDefault
    a0TQFocusEvent
    -

  • -
  • isContextMenuEnabled () -
    -
    returns (bool)

  • -
  • isSqueezedTextEnabled () -
    - -
    returns (bool)
    In versions KDE 3.2.0 and above only

  • -
  • isURLDropsEnabled () -
    -
    returns (bool)

  • -
  • keyPressEvent (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0TQKeyEvent
    -

  • -
  • makeCompletion (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0TQString
    -

  • -
  • mouseDoubleClickEvent (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0TQMouseEvent
    -

  • -
  • mousePressEvent (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0TQMouseEvent
    -

  • -
  • originalText () -
    - -
    returns (TQString)
    In versions KDE 3.2.0 and above only

  • -
  • resizeEvent (a0) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    a0TQResizeEvent
    -

  • -
  • returnPressed (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0TQString
    -

  • -
  • rotateText (type) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    typeKCompletionBase.KeyBindingType
    -

  • -
  • setCompletedItems (items) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    itemsTQStringList
    -

  • -
  • setCompletedItems (items, autoSuggest) -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only
    - - -
    ArgumentTypeDefault
    itemsTQStringList
    autoSuggestbool
    -

  • -
  • setCompletedText (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0TQString
    -

  • -
  • setCompletedText (a0, a1) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    a0TQString
    a1bool
    -

  • -
  • setCompletionBox (box) -
    - -
    returns nothing
    In versions KDE 3.4.0 and above only
    - -
    ArgumentTypeDefault
    boxKCompletionBox
    -

  • -
  • setCompletionMode (mode) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    modeKGlobalSettings.Completion
    -

  • -
  • setCompletionObject (a0, hsig = 1) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    a0KCompletion
    hsigbool1
    -

  • -
  • setContextMenuEnabled (showMenu) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    showMenubool
    -

  • -
  • setEnableSqueezedText (enable) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    enablebool
    -

  • -
  • setReadOnly (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0bool
    -

  • -
  • setSqueezedText (text) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    textTQString
    -

  • -
  • setText (a0) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    a0TQString
    -

  • -
  • setTrapReturnKey (trap) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    trapbool
    -

  • -
  • setURL (url) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    urlKURL
    -

  • -
  • setURLDropsEnabled (enable) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    enablebool
    -

  • -
  • setUserSelection (userSelection) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    userSelectionbool
    -

  • -
  • slotAboutToShow () -
    -
    returns nothing

  • -
  • slotCancelled () -
    -
    returns nothing

  • -
  • substringCompletion (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0TQString
    -

  • -
  • textRotation (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0KCompletionBase.KeyBindingType
    -

  • -
  • trapReturnKey () -
    -
    returns (bool)

  • -
  • userCancelled (cancelText) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    cancelTextTQString
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kdeui/KLineEditDlg.html b/python/pykde/doc/classref/kdeui/KLineEditDlg.html deleted file mode 100644 index 94775298..00000000 --- a/python/pykde/doc/classref/kdeui/KLineEditDlg.html +++ /dev/null @@ -1,85 +0,0 @@ - - - - - class KLineEditDlg - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KLineEditDlg


-
- - - - - -
Table of contents
Modules
kdeui Classes
All Classes
-
- - - - - - - - - - -
Modulekdeui
ClassKLineEditDlg
InheritsKDialogBase
-

methods

    -
  • KLineEditDlg (_text, _value, parent) -
    -
    returns a KLineEditDlg instance
    - - - -
    ArgumentTypeDefault
    _textTQString
    _valueTQString
    parentTQWidget
    -

  • -
  • getText (text, value, parent, validator = 0) -
    - -
    returns (TQString) ok (bool)
    static
    - - - - -
    ArgumentTypeDefault
    textTQString
    valueTQString
    parentTQWidget
    validatorTQValidator0
    -

  • -
  • getText (caption, text, value = TQString .null, parent = 0, validator = 0) -
    - -
    returns (TQString) ok (bool)
    static
    - - - - - -
    ArgumentTypeDefault
    captionTQString
    textTQString
    valueTQStringTQString .null
    parentTQWidget0
    validatorTQValidator0
    -

  • -
  • lineEdit () -
    -
    returns (KLineEdit)

  • -
  • slotClear () -
    -
    returns nothing

  • -
  • slotTextChanged (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0TQString
    -

  • -
  • text () -
    -
    returns (TQString)

  • -
- - - diff --git a/python/pykde/doc/classref/kdeui/KListAction.html b/python/pykde/doc/classref/kdeui/KListAction.html deleted file mode 100644 index 3d8a753a..00000000 --- a/python/pykde/doc/classref/kdeui/KListAction.html +++ /dev/null @@ -1,221 +0,0 @@ - - - - - class KListAction - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KListAction


-
- - - - - -
Table of contents
Modules
kdeui Classes
All Classes
-
- - - - - - - - - - -
Modulekdeui
ClassKListAction
InheritsKSelectAction
-

methods

    -
  • KListAction (a0, a1 = KShortcut (), a2 = 0, a3 = 0) -
    - -
    returns a KListAction instance
    In versions less than KDE 3.2.0 only
    - - - - -
    ArgumentTypeDefault
    a0TQString
    a1KShortcutKShortcut ()
    a2TQObject0
    a3char0
    -

  • -
  • KListAction (a0, a1, slot, a4, a5 = 0) -
    - -
    returns a KListAction instance
    In versions less than KDE 3.2.0 only
    - - - - - -
    ArgumentTypeDefault
    a0TQString
    a1KShortcut
    slotSLOT (Python callable)
    a4TQObject
    a5char0
    -

  • -
  • KListAction (text, pix, cut = KShortcut (), parent = 0, name = 0) -
    - -
    returns a KListAction instance
    In versions KDE 3.2.0 and above only
    - - - - - -
    ArgumentTypeDefault
    textTQString
    pixTQString
    cutKShortcutKShortcut ()
    parentTQObject0
    namechar0
    -

  • -
  • KListAction (text, pix, cut, slot, parent, name = 0) -
    - -
    returns a KListAction instance
    In versions KDE 3.2.0 and above only
    - - - - - - -
    ArgumentTypeDefault
    textTQString
    pixTQIconSet
    cutKShortcut
    slotSLOT (Python callable)
    parentTQObject
    namechar0
    -

  • -
  • KListAction (text, pix, cut, slot, parent, name = 0) -
    - -
    returns a KListAction instance
    In versions KDE 3.2.0 and above only
    - - - - - - -
    ArgumentTypeDefault
    textTQString
    pixTQString
    cutKShortcut
    slotSLOT (Python callable)
    parentTQObject
    namechar0
    -

  • -
  • KListAction (parent = 0, name = 0) -
    - -
    returns a KListAction instance
    In versions KDE 3.2.0 and above only
    - - -
    ArgumentTypeDefault
    parentTQObject0
    namechar0
    -

  • -
  • KListAction (a0, a1, a2 = KShortcut (), a3 = 0, a4 = 0) -
    - -
    returns a KListAction instance
    In versions less than KDE 3.2.0 only
    - - - - - -
    ArgumentTypeDefault
    a0TQString
    a1TQIconSet
    a2KShortcutKShortcut ()
    a3TQObject0
    a4char0
    -

  • -
  • KListAction (a0, a1, a2 = KShortcut (), a3 = 0, a4 = 0) -
    - -
    returns a KListAction instance
    In versions less than KDE 3.2.0 only
    - - - - - -
    ArgumentTypeDefault
    a0TQString
    a1TQString
    a2KShortcutKShortcut ()
    a3TQObject0
    a4char0
    -

  • -
  • KListAction (a0, a1, a2, slot, a5, a6 = 0) -
    - -
    returns a KListAction instance
    In versions less than KDE 3.2.0 only
    - - - - - - -
    ArgumentTypeDefault
    a0TQString
    a1TQIconSet
    a2KShortcut
    slotSLOT (Python callable)
    a5TQObject
    a6char0
    -

  • -
  • KListAction (a0, a1, a2, slot, a5, a6 = 0) -
    - -
    returns a KListAction instance
    In versions less than KDE 3.2.0 only
    - - - - - - -
    ArgumentTypeDefault
    a0TQString
    a1TQString
    a2KShortcut
    slotSLOT (Python callable)
    a5TQObject
    a6char0
    -

  • -
  • KListAction (a0 = 0, a1 = 0) -
    - -
    returns a KListAction instance
    In versions less than KDE 3.2.0 only
    - - -
    ArgumentTypeDefault
    a0TQObject0
    a1char0
    -

  • -
  • KListAction (text, cut = KShortcut (), parent = 0, name = 0) -
    - -
    returns a KListAction instance
    In versions KDE 3.2.0 and above only
    - - - - -
    ArgumentTypeDefault
    textTQString
    cutKShortcutKShortcut ()
    parentTQObject0
    namechar0
    -

  • -
  • KListAction (text, cut, slot, parent, name = 0) -
    - -
    returns a KListAction instance
    In versions KDE 3.2.0 and above only
    - - - - - -
    ArgumentTypeDefault
    textTQString
    cutKShortcut
    slotSLOT (Python callable)
    parentTQObject
    namechar0
    -

  • -
  • KListAction (text, pix, cut = KShortcut (), parent = 0, name = 0) -
    - -
    returns a KListAction instance
    In versions KDE 3.2.0 and above only
    - - - - - -
    ArgumentTypeDefault
    textTQString
    pixTQIconSet
    cutKShortcutKShortcut ()
    parentTQObject0
    namechar0
    -

  • -
  • currentItem () -
    - -
    returns (int)
    In versions less than KDE 3.2.0 only

  • -
  • currentItem () -
    - -
    returns (int)
    In versions KDE 3.2.0 and above only

  • -
  • currentText () -
    - -
    returns (TQString)
    In versions less than KDE 3.2.0 only

  • -
  • currentText () -
    - -
    returns (TQString)
    In versions KDE 3.2.0 and above only

  • -
  • setCurrentItem (a0) -
    - -
    returns nothing
    In versions less than KDE 3.2.0 only
    - -
    ArgumentTypeDefault
    a0int
    -

  • -
  • setCurrentItem (index) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    indexint
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kdeui/KListBox.html b/python/pykde/doc/classref/kdeui/KListBox.html deleted file mode 100644 index edb74607..00000000 --- a/python/pykde/doc/classref/kdeui/KListBox.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - class KListBox - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KListBox


-
- - - - - -
Table of contents
Modules
kdeui Classes
All Classes
-
- - - - - - - - - - -
Modulekdeui
ClassKListBox
InheritsTQListBox
-

methods

    -
  • KListBox (parent = 0, name = 0, f = 0) -
    -
    returns a KListBox instance
    - - - -
    ArgumentTypeDefault
    parentTQWidget0
    namechar0
    fWFlags0
    -

  • -
  • contentsMouseDoubleClickEvent (e) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    eTQMouseEvent
    -

  • -
  • contentsMousePressEvent (e) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    eTQMouseEvent
    -

  • -
  • doubleClicked (item, pos) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    itemTQListBoxItem
    posTQPoint
    -

  • -
  • emitExecute (item, pos) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    itemTQListBoxItem
    posTQPoint
    -

  • -
  • executed (item) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    itemTQListBoxItem
    -

  • -
  • executed (item, pos) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    itemTQListBoxItem
    posTQPoint
    -

  • -
  • focusOutEvent (fe) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    feTQFocusEvent
    -

  • -
  • keyPressEvent (e) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    eTQKeyEvent
    -

  • -
  • leaveEvent (e) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    eTQEvent
    -

  • -
  • slotAutoSelect () -
    -
    returns nothing

  • -
  • slotOnItem (item) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    itemTQListBoxItem
    -

  • -
  • slotOnViewport () -
    -
    returns nothing

  • -
  • slotSettingsChanged (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0int
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kdeui/KListView.html b/python/pykde/doc/classref/kdeui/KListView.html deleted file mode 100644 index a3ad2b80..00000000 --- a/python/pykde/doc/classref/kdeui/KListView.html +++ /dev/null @@ -1,712 +0,0 @@ - - - - - class KListView - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KListView


-
- - - - - -
Table of contents
Modules
kdeui Classes
All Classes
-
- - - - - - - - - - -
Modulekdeui
ClassKListView
InheritsTQListView
-

enums

    -
  • SelectionModeExt = {Single, Multi, Extended, NoSelection, FileManager -}
-

methods

    -
  • KListView (parent = 0, name = 0) -
    -
    returns a KListView instance
    - - -
    ArgumentTypeDefault
    parentTQWidget0
    namechar0
    -

  • -
  • aboutToMove () -
    -
    returns nothing

  • -
  • acceptDrag (event) -
    -
    returns (bool)
    - -
    ArgumentTypeDefault
    eventTQDropEvent
    -

  • -
  • activateAutomaticSelection () -
    -
    returns nothing

  • -
  • addColumn (label, width = -1) -
    - -
    returns (int)
    In versions KDE 3.0.1 and above only
    - - -
    ArgumentTypeDefault
    labelTQString
    widthint-1
    -

  • -
  • addColumn (iconset, label, width = -1) -
    - -
    returns (int)
    In versions KDE 3.0.1 and above only
    - - - -
    ArgumentTypeDefault
    iconsetTQIconSet
    labelTQString
    widthint-1
    -

  • -
  • alternateBackground () -
    -
    returns (TQColor)

  • -
  • ascendingSort () -
    -
    returns (bool)

  • -
  • autoOpen () -
    -
    returns (bool)

  • -
  • automaticSelection () -
    -
    returns (bool)

  • -
  • below (rect, p) -
    -
    returns (bool)
    - - -
    ArgumentTypeDefault
    rectTQRect
    pTQPoint
    -

  • -
  • below (i, p) -
    -
    returns (bool)
    - - -
    ArgumentTypeDefault
    iTQListViewItem
    pTQPoint
    -

  • -
  • cleanDropVisualizer () -
    -
    returns nothing

  • -
  • cleanItemHighlighter () -
    -
    returns nothing

  • -
  • columnSorted () -
    -
    returns (int)

  • -
  • contentsDragEnterEvent (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0TQDragEnterEvent
    -

  • -
  • contentsDragLeaveEvent (event) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    eventTQDragLeaveEvent
    -

  • -
  • contentsDragMoveEvent (event) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    eventTQDragMoveEvent
    -

  • -
  • contentsDropEvent (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0TQDropEvent
    -

  • -
  • contentsMouseDoubleClickEvent (e) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    eTQMouseEvent
    -

  • -
  • contentsMouseMoveEvent (e) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    eTQMouseEvent
    -

  • -
  • contentsMousePressEvent (e) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    eTQMouseEvent
    -

  • -
  • contentsMouseReleaseEvent (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0TQMouseEvent
    -

  • -
  • contextMenu (l, i, p) -
    -
    returns nothing
    - - - -
    ArgumentTypeDefault
    lKListView
    iTQListViewItem
    pTQPoint
    -

  • -
  • createChildren () -
    -
    returns (bool)

  • -
  • deactivateAutomaticSelection () -
    -
    returns nothing

  • -
  • depthToPixels (depth) -
    -
    returns (int)
    - -
    ArgumentTypeDefault
    depthint
    -

  • -
  • disableAutoSelection () -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only

  • -
  • doneEditing (item, row) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    itemTQListViewItem
    rowint
    -

  • -
  • doubleClicked (item, pos, c) -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only
    - - - -
    ArgumentTypeDefault
    itemTQListViewItem
    posTQPoint
    cint
    -

  • -
  • doubleClicked (a0, a1, a2) -
    - -
    returns nothing
    In versions less than KDE 3.3.0 only
    - - - -
    ArgumentTypeDefault
    a0TQListViewItem
    a1TQPoint
    a2int
    -

  • -
  • dragEnabled () -
    -
    returns (bool)

  • -
  • dragObject () -
    Not Implemented
    -

  • -
  • dragObject () -
    -
    returns (TQDragObject)

  • -
  • drawDropVisualizer (p, parent, after) -
    -
    returns (TQRect)
    - - - -
    ArgumentTypeDefault
    pTQPainter
    parentTQListViewItem
    afterTQListViewItem
    -

  • -
  • drawItemHighlighter (painter, item) -
    -
    returns (TQRect)
    - - -
    ArgumentTypeDefault
    painterTQPainter
    itemTQListViewItem
    -

  • -
  • dropHighlighter () -
    -
    returns (bool)

  • -
  • dropVisualizer () -
    -
    returns (bool)

  • -
  • dropVisualizerWidth () -
    -
    returns (int)

  • -
  • dropped (e, after) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    eTQDropEvent
    afterTQListViewItem
    -

  • -
  • dropped (list, e, after) -
    -
    returns nothing
    - - - -
    ArgumentTypeDefault
    listKListView
    eTQDropEvent
    afterTQListViewItem
    -

  • -
  • dropped (list, e, parent, after) -
    -
    returns nothing
    - - - - -
    ArgumentTypeDefault
    listKListView
    eTQDropEvent
    parentTQListViewItem
    afterTQListViewItem
    -

  • -
  • dropped (e, parent, after) -
    -
    returns nothing
    - - - -
    ArgumentTypeDefault
    eTQDropEvent
    parentTQListViewItem
    afterTQListViewItem
    -

  • -
  • emitContextMenu (a0, a1, a2) -
    -
    returns nothing
    - - - -
    ArgumentTypeDefault
    a0TQListViewItem
    a1TQPoint
    a2int
    -

  • -
  • emitContextMenu (a0, a1) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    a0KListView
    a1TQListViewItem
    -

  • -
  • emitExecute (item, pos, c) -
    -
    returns nothing
    - - - -
    ArgumentTypeDefault
    itemTQListViewItem
    posTQPoint
    cint
    -

  • -
  • event (a0) -
    -
    returns (bool)
    - -
    ArgumentTypeDefault
    a0TQEvent
    -

  • -
  • executed (item) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    itemTQListViewItem
    -

  • -
  • executed (item, pos, c) -
    -
    returns nothing
    - - - -
    ArgumentTypeDefault
    itemTQListViewItem
    posTQPoint
    cint
    -

  • -
  • fileManagerKeyPressEvent (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0TQKeyEvent
    -

  • -
  • findDrop (pos, parent, after) -
    -
    returns nothing
    - - - -
    ArgumentTypeDefault
    posTQPoint
    parentTQListViewItem
    afterTQListViewItem
    -

  • -
  • focusInEvent (fe) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    feTQFocusEvent
    -

  • -
  • focusOutEvent (fe) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    feTQFocusEvent
    -

  • -
  • fullWidth () -
    -
    returns (bool)

  • -
  • isExecuteArea (point) -
    -
    returns (bool)
    - -
    ArgumentTypeDefault
    pointTQPoint
    -

  • -
  • isExecuteArea (x) -
    -
    returns (bool)
    - -
    ArgumentTypeDefault
    xint
    -

  • -
  • isRenameable (column) -
    -
    returns (bool)
    - -
    ArgumentTypeDefault
    columnint
    -

  • -
  • itemAdded (item) -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only
    - -
    ArgumentTypeDefault
    itemTQListViewItem
    -

  • -
  • itemAtIndex (index) -
    -
    returns (TQListViewItem)
    - -
    ArgumentTypeDefault
    indexint
    -

  • -
  • itemIndex (item) -
    -
    returns (int)
    - -
    ArgumentTypeDefault
    itemTQListViewItem
    -

  • -
  • itemRemoved (item) -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only
    - -
    ArgumentTypeDefault
    itemTQListViewItem
    -

  • -
  • itemRenamed (item, str, col) -
    -
    returns nothing
    - - - -
    ArgumentTypeDefault
    itemTQListViewItem
    strTQString
    colint
    -

  • -
  • itemRenamed (item) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    itemTQListViewItem
    -

  • -
  • itemsMovable () -
    -
    returns (bool)

  • -
  • itemsRenameable () -
    -
    returns (bool)

  • -
  • keyPressEvent (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0TQKeyEvent
    -

  • -
  • lastChild () -
    -
    returns (TQListViewItem)

  • -
  • lastItem () -
    -
    returns (TQListViewItem)

  • -
  • leaveEvent (e) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    eTQEvent
    -

  • -
  • menuShortCutPressed (list, item) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    listKListView
    itemTQListViewItem
    -

  • -
  • movableDropEvent (parent, afterme) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    parentTQListViewItem
    aftermeTQListViewItem
    -

  • -
  • moveItem (item, parent, after) -
    -
    returns nothing
    - - - -
    ArgumentTypeDefault
    itemTQListViewItem
    parentTQListViewItem
    afterTQListViewItem
    -

  • -
  • moved () -
    -
    returns nothing

  • -
  • moved (item, afterFirst, afterNow) -
    -
    returns nothing
    - - - -
    ArgumentTypeDefault
    itemTQListViewItem
    afterFirstTQListViewItem
    afterNowTQListViewItem
    -

  • -
  • moved (items, afterFirst, afterNow) -
    -
    returns nothing
    - - - -
    ArgumentTypeDefault
    itemsTQPtrList
    afterFirstTQPtrList
    afterNowTQPtrList
    -

  • -
  • removeColumn (index) -
    - -
    returns nothing
    In versions KDE 3.0.1 and above only
    - -
    ArgumentTypeDefault
    indexint
    -

  • -
  • rename (item, c) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    itemTQListViewItem
    cint
    -

  • -
  • renameLineEdit () -
    - -
    returns (KLineEdit)
    In versions KDE 3.1.0 and above only

  • -
  • resetAutoSelection () -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only

  • -
  • restoreLayout (config, group) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    configKConfig
    groupTQString
    -

  • -
  • saveLayout (config, group) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    configKConfig
    groupTQString
    -

  • -
  • selectedItems () -
    -
    returns (TQPtrList)

  • -
  • selectedItems (includeHiddenItems) -
    - -
    returns (TQPtrList)
    In versions KDE 3.4.0 and above only
    - -
    ArgumentTypeDefault
    includeHiddenItemsbool
    -

  • -
  • selectionModeExt () -
    -
    returns (SelectionModeExt)

  • -
  • setAcceptDrops (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0bool
    -

  • -
  • setAlternateBackground (c) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    cTQColor
    -

  • -
  • setAutoOpen (b) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    bbool
    -

  • -
  • setCreateChildren (b) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    bbool
    -

  • -
  • setDragEnabled (b) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    bbool
    -

  • -
  • setDropHighlighter (b) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    bbool
    -

  • -
  • setDropVisualizer (b) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    bbool
    -

  • -
  • setDropVisualizerWidth (w) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    wint
    -

  • -
  • setFullWidth () -
    -
    returns nothing

  • -
  • setFullWidth (fullWidth) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    fullWidthbool
    -

  • -
  • setItemsMovable (b) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    bbool
    -

  • -
  • setItemsRenameable (b) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    bbool
    -

  • -
  • setRenameable (column, yesno = 1) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    columnint
    yesnobool1
    -

  • -
  • setSelectionModeExt (mode) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    modeKListView.SelectionModeExt
    -

  • -
  • setShadeSortColumn (shadeSortColumn) -
    - -
    returns nothing
    In versions KDE 3.4.0 and above only
    - -
    ArgumentTypeDefault
    shadeSortColumnbool
    -

  • -
  • setSorting (column, ascending = 1) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    columnint
    ascendingbool1
    -

  • -
  • setTabOrderedRenaming (b) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    bbool
    -

  • -
  • setTooltipColumn (column) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    columnint
    -

  • -
  • shadeSortColumn () -
    - -
    returns (bool)
    In versions KDE 3.4.0 and above only

  • -
  • showTooltip (item, pos, column) -
    -
    returns (bool)
    - - - -
    ArgumentTypeDefault
    itemTQListViewItem
    posTQPoint
    columnint
    -

  • -
  • slotAutoSelect () -
    -
    returns nothing

  • -
  • slotDragExpand () -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only

  • -
  • slotHeaderChanged () -
    -
    returns nothing

  • -
  • slotMouseButtonClicked (btn, item, pos, c) -
    -
    returns nothing
    - - - - -
    ArgumentTypeDefault
    btnint
    itemTQListViewItem
    posTQPoint
    cint
    -

  • -
  • slotOnItem (item) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    itemTQListViewItem
    -

  • -
  • slotOnViewport () -
    -
    returns nothing

  • -
  • slotSettingsChanged (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0int
    -

  • -
  • startDrag () -
    -
    returns nothing

  • -
  • tabOrderedRenaming () -
    - -
    returns (bool)
    In versions KDE 3.1.0 and above only

  • -
  • takeItem (i) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    iTQListViewItem
    -

  • -
  • tooltip (item, column) -
    -
    returns (TQString)
    - - -
    ArgumentTypeDefault
    itemTQListViewItem
    columnint
    -

  • -
  • tooltipColumn () -
    -
    returns (int)

  • -
  • viewportPaintEvent (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0TQPaintEvent
    -

  • -
  • viewportResizeEvent (e) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    eTQResizeEvent
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kdeui/KListViewItem.html b/python/pykde/doc/classref/kdeui/KListViewItem.html deleted file mode 100644 index eac5ae69..00000000 --- a/python/pykde/doc/classref/kdeui/KListViewItem.html +++ /dev/null @@ -1,162 +0,0 @@ - - - - - class KListViewItem - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KListViewItem


-
- - - - - -
Table of contents
Modules
kdeui Classes
All Classes
-
- - - - - - - - - - -
Modulekdeui
ClassKListViewItem
InheritsTQListViewItem
-

methods

    -
  • KListViewItem (parent) -
    -
    returns a KListViewItem instance
    - -
    ArgumentTypeDefault
    parentTQListView
    -

  • -
  • KListViewItem (parent) -
    -
    returns a KListViewItem instance
    - -
    ArgumentTypeDefault
    parentTQListViewItem
    -

  • -
  • KListViewItem (parent, after) -
    -
    returns a KListViewItem instance
    - - -
    ArgumentTypeDefault
    parentTQListView
    afterTQListViewItem
    -

  • -
  • KListViewItem (parent, after) -
    -
    returns a KListViewItem instance
    - - -
    ArgumentTypeDefault
    parentTQListViewItem
    afterTQListViewItem
    -

  • -
  • KListViewItem (parent, a0, a1 = TQString .null, a2 = TQString .null, a3 = TQString .null, a4 = TQString .null, a5 = TQString .null, a6 = TQString .null, a7 = TQString .null) -
    -
    returns a KListViewItem instance
    - - - - - - - - - -
    ArgumentTypeDefault
    parentTQListView
    a0TQString
    a1TQStringTQString .null
    a2TQStringTQString .null
    a3TQStringTQString .null
    a4TQStringTQString .null
    a5TQStringTQString .null
    a6TQStringTQString .null
    a7TQStringTQString .null
    -

  • -
  • KListViewItem (parent, a0, a1 = TQString .null, a2 = TQString .null, a3 = TQString .null, a4 = TQString .null, a5 = TQString .null, a6 = TQString .null, a7 = TQString .null) -
    -
    returns a KListViewItem instance
    - - - - - - - - - -
    ArgumentTypeDefault
    parentTQListViewItem
    a0TQString
    a1TQStringTQString .null
    a2TQStringTQString .null
    a3TQStringTQString .null
    a4TQStringTQString .null
    a5TQStringTQString .null
    a6TQStringTQString .null
    a7TQStringTQString .null
    -

  • -
  • KListViewItem (parent, after, a0, a1 = TQString .null, a2 = TQString .null, a3 = TQString .null, a4 = TQString .null, a5 = TQString .null, a6 = TQString .null, a7 = TQString .null) -
    -
    returns a KListViewItem instance
    - - - - - - - - - - -
    ArgumentTypeDefault
    parentTQListView
    afterTQListViewItem
    a0TQString
    a1TQStringTQString .null
    a2TQStringTQString .null
    a3TQStringTQString .null
    a4TQStringTQString .null
    a5TQStringTQString .null
    a6TQStringTQString .null
    a7TQStringTQString .null
    -

  • -
  • KListViewItem (parent, after, a0, a1 = TQString .null, a2 = TQString .null, a3 = TQString .null, a4 = TQString .null, a5 = TQString .null, a6 = TQString .null, a7 = TQString .null) -
    -
    returns a KListViewItem instance
    - - - - - - - - - - -
    ArgumentTypeDefault
    parentTQListViewItem
    afterTQListViewItem
    a0TQString
    a1TQStringTQString .null
    a2TQStringTQString .null
    a3TQStringTQString .null
    a4TQStringTQString .null
    a5TQStringTQString .null
    a6TQStringTQString .null
    a7TQStringTQString .null
    -

  • -
  • backgroundColor () -
    -
    returns (TQColor)

  • -
  • backgroundColor (column) -
    - -
    returns (TQColor)
    In versions KDE 3.4.0 and above only
    - -
    ArgumentTypeDefault
    columnint
    -

  • -
  • insertItem (item) -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only
    - -
    ArgumentTypeDefault
    itemTQListViewItem
    -

  • -
  • isAlternate () -
    -
    returns (bool)

  • -
  • paintCell (p, cg, column, width, alignment) -
    -
    returns nothing
    - - - - - -
    ArgumentTypeDefault
    pTQPainter
    cgTQColorGroup
    columnint
    widthint
    alignmentint
    -

  • -
  • takeItem (item) -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only
    - -
    ArgumentTypeDefault
    itemTQListViewItem
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kdeui/KListViewSearchLine.html b/python/pykde/doc/classref/kdeui/KListViewSearchLine.html deleted file mode 100644 index 684dd7af..00000000 --- a/python/pykde/doc/classref/kdeui/KListViewSearchLine.html +++ /dev/null @@ -1,132 +0,0 @@ - - - - - class KListViewSearchLine - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KListViewSearchLine


-
- - - - - -
Table of contents
Modules
kdeui Classes
All Classes
-
- - - - - - - - - - -
Modulekdeui
ClassKListViewSearchLine
InheritsKLineEdit
-

methods

    -
  • KListViewSearchLine (parent = 0, listView = 0, name = 0) -
    - -
    returns a KListViewSearchLine instance
    In versions KDE 3.3.0 and above only
    - - - -
    ArgumentTypeDefault
    parentTQWidget0
    listViewKListView0
    namechar0
    -

  • -
  • KListViewSearchLine (parent, name) -
    - -
    returns a KListViewSearchLine instance
    In versions KDE 3.3.0 and above only
    - - -
    ArgumentTypeDefault
    parentTQWidget
    namechar
    -

  • -
  • activateSearch () -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only

  • -
  • caseSensitive () -
    - -
    returns (bool)
    In versions KDE 3.3.0 and above only

  • -
  • createPopupMenu () -
    - -
    returns (TQPopupMenu)
    In versions KDE 3.3.0 and above only

  • -
  • itemMatches (item, s) -
    - -
    returns (bool)
    In versions KDE 3.3.0 and above only
    - - -
    ArgumentTypeDefault
    itemTQListViewItem
    sTQString
    -

  • -
  • keepParentsVisible () -
    - -
    returns (bool)
    In versions KDE 3.3.0 and above only

  • -
  • listView () -
    - -
    returns (KListView)
    In versions KDE 3.3.0 and above only

  • -
  • queueSearch (search) -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only
    - -
    ArgumentTypeDefault
    searchTQString
    -

  • -
  • searchColumns () -
    - -
    returns (TQValueList)
    In versions KDE 3.3.0 and above only

  • -
  • setCaseSensitive (cs) -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only
    - -
    ArgumentTypeDefault
    csbool
    -

  • -
  • setKeepParentsVisible (v) -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only
    - -
    ArgumentTypeDefault
    vbool
    -

  • -
  • setListView (lv) -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only
    - -
    ArgumentTypeDefault
    lvKListView
    -

  • -
  • setSearchColumns (columns) -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only
    - -
    ArgumentTypeDefault
    columnsTQValueList
    -

  • -
  • updateSearch (s = TQString .null) -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only
    - -
    ArgumentTypeDefault
    sTQStringTQString .null
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kdeui/KListViewSearchLineWidget.html b/python/pykde/doc/classref/kdeui/KListViewSearchLineWidget.html deleted file mode 100644 index c71f43d2..00000000 --- a/python/pykde/doc/classref/kdeui/KListViewSearchLineWidget.html +++ /dev/null @@ -1,65 +0,0 @@ - - - - - class KListViewSearchLineWidget - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KListViewSearchLineWidget


-
- - - - - -
Table of contents
Modules
kdeui Classes
All Classes
-
- - - - - - - - - - -
Modulekdeui
ClassKListViewSearchLineWidget
InheritsTQHBox
-

methods

    -
  • KListViewSearchLineWidget (listView = 0, parent = 0, name = 0) -
    - -
    returns a KListViewSearchLineWidget instance
    In versions KDE 3.4.0 and above only
    - - - -
    ArgumentTypeDefault
    listViewKListView0
    parentTQWidget0
    namechar0
    -

  • -
  • createSearchLine (listView) -
    - -
    returns (KListViewSearchLine)
    In versions KDE 3.4.0 and above only
    - -
    ArgumentTypeDefault
    listViewKListView
    -

  • -
  • createWidgets () -
    - -
    returns nothing
    In versions KDE 3.4.0 and above only

  • -
  • searchLine () -
    - -
    returns (KListViewSearchLine)
    In versions KDE 3.4.0 and above only

  • -
- - - diff --git a/python/pykde/doc/classref/kdeui/KMacroCommand.html b/python/pykde/doc/classref/kdeui/KMacroCommand.html deleted file mode 100644 index 43e7a7a9..00000000 --- a/python/pykde/doc/classref/kdeui/KMacroCommand.html +++ /dev/null @@ -1,59 +0,0 @@ - - - - - class KMacroCommand - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KMacroCommand


-
- - - - - -
Table of contents
Modules
kdeui Classes
All Classes
-
- - - - - - - - - - -
Modulekdeui
ClassKMacroCommand
InheritsKNamedCommand
-

methods

    -
  • KMacroCommand (name) -
    -
    returns a KMacroCommand instance
    - -
    ArgumentTypeDefault
    nameTQString
    -

  • -
  • addCommand (command) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    commandKCommand
    -

  • -
  • execute () -
    -
    returns nothing

  • -
  • unexecute () -
    -
    returns nothing

  • -
- - - diff --git a/python/pykde/doc/classref/kdeui/KMainWindow.html b/python/pykde/doc/classref/kdeui/KMainWindow.html deleted file mode 100644 index e8f7d5da..00000000 --- a/python/pykde/doc/classref/kdeui/KMainWindow.html +++ /dev/null @@ -1,421 +0,0 @@ - - - - - class KMainWindow - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KMainWindow


-
- - - - - -
Table of contents
Modules
kdeui Classes
All Classes
-
- - - - - - - - - - -
Modulekdeui
ClassKMainWindow
InheritsTQMainWindow, KXMLGUIBuilder, KXMLGUIClient
-

enums

    -
  • CreationFlags = {NoDCOPObject -}
  • StandardWindowOptions = {ToolBar, Keys, StatusBar, Save, Create -}
-

methods

    -
  • KMainWindow (parent = 0, name = 0, f = WType_TopLevel | WDestructiveClose) -
    -
    returns a KMainWindow instance
    - - - -
    ArgumentTypeDefault
    parentTQWidget0
    namechar0
    fWFlagsWType_TopLevel | WDestructiveClose
    -

  • -
  • KMainWindow (cflags, parent = 0, name = 0, f = WType_TopLevel | WDestructiveClose) -
    - -
    returns a KMainWindow instance
    In versions KDE 3.2.0 and above only
    - - - - -
    ArgumentTypeDefault
    cflagsint
    parentTQWidget0
    namechar0
    fWFlagsWType_TopLevel | WDestructiveClose
    -

  • -
  • accel () -
    -
    returns (KAccel)

  • -
  • appHelpActivated () -
    -
    returns nothing

  • -
  • applyMainWindowSettings (config, groupName, force) -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only
    - - - -
    ArgumentTypeDefault
    configKConfig
    groupNameTQString
    forcebool
    -

  • -
  • applyMainWindowSettings (config, groupName = TQString .null) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    configKConfig
    groupNameTQStringTQString .null
    -

  • -
  • autoSaveGroup () -
    - -
    returns (TQString)
    In versions KDE 3.1.0 and above only

  • -
  • autoSaveSettings () -
    - -
    returns (bool)
    In versions KDE 3.1.0 and above only

  • -
  • canBeRestored (number) -
    - -
    returns (bool)
    static
    - -
    ArgumentTypeDefault
    numberint
    -

  • -
  • childEvent (e) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    eTQChildEvent
    -

  • -
  • classNameOfToplevel (number) -
    - -
    returns (TQString)
    static
    - -
    ArgumentTypeDefault
    numberint
    -

  • -
  • closeEvent (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0TQCloseEvent
    -

  • -
  • configureToolbars () -
    - -
    returns (int)
    In versions KDE 3.3.0 and above only

  • -
  • createGUI (xmlfile = TQString .null, _conserveMemory = 1) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    xmlfileTQStringTQString .null
    _conserveMemorybool1
    -

  • -
  • createStandardStatusBarAction () -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only

  • -
  • customHelpMenu (showWhatsThis = 1) -
    -
    returns (KPopupMenu)
    - -
    ArgumentTypeDefault
    showWhatsThisbool1
    -

  • -
  • finalizeGUI (client) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    clientKXMLGUIClient
    -

  • -
  • finalizeGUI (force) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    forcebool
    -

  • -
  • getMemberList () -
    - - -
    returns (TQPtrList)
    In versions KDE 3.4.0 and above only
    static

  • -
  • guiFactory () -
    -
    returns (KXMLGUIFactory)

  • -
  • hasMenuBar () -
    - -
    returns (bool)
    In versions KDE 3.1.0 and above only

  • -
  • helpMenu (aboutAppText = TQString .null, showWhatsThis = 1) -
    -
    returns (KPopupMenu)
    - - -
    ArgumentTypeDefault
    aboutAppTextTQStringTQString .null
    showWhatsThisbool1
    -

  • -
  • hide () -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only

  • -
  • ignoreInitialGeometry () -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only

  • -
  • initialGeometrySet () -
    -
    returns (bool)

  • -
  • isHelpMenuEnabled () -
    -
    returns (bool)

  • -
  • isStandardToolBarMenuEnabled () -
    - -
    returns (bool)
    In versions KDE 3.1.0 and above only

  • -
  • menuBar () -
    -
    returns (KMenuBar)

  • -
  • paintEvent (e) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    eTQPaintEvent
    -

  • -
  • parseGeometry (parsewidth) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    parsewidthbool
    -

  • -
  • queryClose () -
    -
    returns (bool)

  • -
  • queryExit () -
    -
    returns (bool)

  • -
  • readGlobalProperties (sessionConfig) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    sessionConfigKConfig
    -

  • -
  • readProperties (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0KConfig
    -

  • -
  • readPropertiesInternal (a0, a1) -
    -
    returns (bool)
    - - -
    ArgumentTypeDefault
    a0KConfig
    a1int
    -

  • -
  • resetAutoSaveSettings () -
    -
    returns nothing

  • -
  • resizeEvent (e) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    eTQResizeEvent
    -

  • -
  • restore (number, show = 1) -
    -
    returns (bool)
    - - -
    ArgumentTypeDefault
    numberint
    showbool1
    -

  • -
  • restoreWindowSize (config) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    configKConfig
    -

  • -
  • saveAutoSaveSettings () -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only

  • -
  • saveGlobalProperties (sessionConfig) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    sessionConfigKConfig
    -

  • -
  • saveMainWindowSettings (config, groupName = TQString .null) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    configKConfig
    groupNameTQStringTQString .null
    -

  • -
  • saveNewToolbarConfig () -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only

  • -
  • saveProperties (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0KConfig
    -

  • -
  • savePropertiesInternal (a0, a1) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    a0KConfig
    a1int
    -

  • -
  • saveWindowSize (config) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    configKConfig
    -

  • -
  • setAutoSaveSettings (groupName = TQString .fromLatin1 ("MainWindow" ), saveWindowSize = 1) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    groupNameTQStringTQString .fromLatin1 ("MainWindow" )
    saveWindowSizebool1
    -

  • -
  • setCaption (caption) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    captionTQString
    -

  • -
  • setCaption (caption, modified) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    captionTQString
    modifiedbool
    -

  • -
  • setFrameBorderWidth (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0int
    -

  • -
  • setHelpMenuEnabled (showHelpMenu = 1) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    showHelpMenubool1
    -

  • -
  • setIcon (a0) -
    - -
    returns nothing
    In versions KDE 3.3.2 and above only
    - -
    ArgumentTypeDefault
    a0TQPixmap
    -

  • -
  • setPlainCaption (caption) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    captionTQString
    -

  • -
  • setSettingsDirty () -
    -
    returns nothing

  • -
  • setStandardToolBarMenuEnabled (enable) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    enablebool
    -

  • -
  • settingsDirty () -
    -
    returns (bool)

  • -
  • settingsGroup () -
    -
    returns (TQString)

  • -
  • setupGUI (options = ToolBar | Keys | StatusBar | Save | Create, xmlfile = TQString .null) -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only
    - - -
    ArgumentTypeDefault
    optionsintToolBar | Keys | StatusBar | Save | Create
    xmlfileTQStringTQString .null
    -

  • -
  • setupGUI (defaultSize, options = ToolBar | Keys | StatusBar | Save | Create, xmlfile = TQString .null) -
    - -
    returns nothing
    In versions KDE 3.5.0 and above only
    - - - -
    ArgumentTypeDefault
    defaultSizeTQSize
    optionsintToolBar | Keys | StatusBar | Save | Create
    xmlfileTQStringTQString .null
    -

  • -
  • setupToolbarMenuActions () -
    - -
    returns nothing
    In versions KDE 3.3.1 and above only

  • -
  • show () -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only

  • -
  • showAboutApplication () -
    -
    returns nothing

  • -
  • sizeForCentralWidgetSize (size) -
    -
    returns (TQSize)
    - -
    ArgumentTypeDefault
    sizeTQSize
    -

  • -
  • slotStateChanged (newstate) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    newstateTQString
    -

  • -
  • slotStateChanged (newstate, a0) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - - -
    ArgumentTypeDefault
    newstateTQString
    a0KXMLGUIClient.ReverseStateChange
    -

  • -
  • statusBar () -
    -
    returns (KStatusBar)

  • -
  • toolBar (name = 0) -
    -
    returns (KToolBar)
    - -
    ArgumentTypeDefault
    namechar0
    -

  • -
  • toolBarIterator () -
    Not Implemented
    -

  • -
  • toolBarMenuAction () -
    - -
    returns (KAction)
    In versions KDE 3.1.0 and above only

  • -
-

variables

  • -variables - -
    VariableType
    memberListTQPtrList*
- - - diff --git a/python/pykde/doc/classref/kdeui/KMainWindowInterface.html b/python/pykde/doc/classref/kdeui/KMainWindowInterface.html deleted file mode 100644 index 58a8ca13..00000000 --- a/python/pykde/doc/classref/kdeui/KMainWindowInterface.html +++ /dev/null @@ -1,171 +0,0 @@ - - - - - class KMainWindowInterface - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KMainWindowInterface


-
- - - - - -
Table of contents
Modules
kdeui Classes
All Classes
-
- - - - - - - - - - -
Modulekdeui
ClassKMainWindowInterface
InheritsDCOPObject
-

methods

    -
  • KMainWindowInterface (mainWindow) -
    -
    returns a KMainWindowInterface instance
    - -
    ArgumentTypeDefault
    mainWindowKMainWindow
    -

  • -
  • action (name) -
    -
    returns (DCOPRef)
    - -
    ArgumentTypeDefault
    nameTQCString
    -

  • -
  • actionIsEnabled (action) -
    -
    returns (bool)
    - -
    ArgumentTypeDefault
    actionTQCString
    -

  • -
  • actionMap () -
    -
    returns (TQMap)

  • -
  • actionToolTip (action) -
    -
    returns (TQCString)
    - -
    ArgumentTypeDefault
    actionTQCString
    -

  • -
  • actions () -
    -
    returns (QCStringList)

  • -
  • activateAction (action) -
    -
    returns (bool)
    - -
    ArgumentTypeDefault
    actionTQCString
    -

  • -
  • disableAction (action) -
    -
    returns (bool)
    - -
    ArgumentTypeDefault
    actionTQCString
    -

  • -
  • enableAction (action) -
    -
    returns (bool)
    - -
    ArgumentTypeDefault
    actionTQCString
    -

  • -
  • functions () -
    - -
    returns (QCStringList)
    In versions KDE 3.1.4 and above only

  • -
  • functionsDynamic () -
    -
    returns (QCStringList)

  • -
  • getWinID () -
    -
    returns (int)

  • -
  • grabWindowToClipBoard () -
    -
    returns nothing

  • -
  • hide () -
    -
    returns nothing

  • -
  • interfaces () -
    - -
    returns (QCStringList)
    In versions KDE 3.1.4 and above only

  • -
  • lower () -
    -
    returns nothing

  • -
  • maximize () -
    -
    returns nothing

  • -
  • minimize () -
    -
    returns nothing

  • -
  • move (newX, newY) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    newXint
    newYint
    -

  • -
  • process (fun, data, replyType, replyData) -
    - -
    returns (bool)
    In versions KDE 3.1.4 and above only
    - - - - -
    ArgumentTypeDefault
    funTQCString
    dataTQByteArray
    replyTypeTQCString
    replyDataTQByteArray
    -

  • -
  • processDynamic (fun, data, replyType, replyData) -
    -
    returns (bool)
    - - - - -
    ArgumentTypeDefault
    funTQCString
    dataTQByteArray
    replyTypeTQCString
    replyDataTQByteArray
    -

  • -
  • raise_ () -
    - -
    returns nothing
    Renamed: was ' raise -' in C++

  • -
  • resize (newWidth, newHeight) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    newWidthint
    newHeightint
    -

  • -
  • restore () -
    -
    returns nothing

  • -
  • setGeometry (newX, newY, newWidth, newHeight) -
    -
    returns nothing
    - - - - -
    ArgumentTypeDefault
    newXint
    newYint
    newWidthint
    newHeightint
    -

  • -
  • show () -
    -
    returns nothing

  • -
- - - diff --git a/python/pykde/doc/classref/kdeui/KMenuBar.html b/python/pykde/doc/classref/kdeui/KMenuBar.html deleted file mode 100644 index 9f110da4..00000000 --- a/python/pykde/doc/classref/kdeui/KMenuBar.html +++ /dev/null @@ -1,158 +0,0 @@ - - - - - class KMenuBar - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KMenuBar


-
- - - - - -
Table of contents
Modules
kdeui Classes
All Classes
-
- - - - - - - - - - -
Modulekdeui
ClassKMenuBar
InheritsTQMenuBar
-

methods

    -
  • KMenuBar (parent = 0, name = 0) -
    -
    returns a KMenuBar instance
    - - -
    ArgumentTypeDefault
    parentTQWidget0
    namechar0
    -

  • -
  • closeEvent (a0) -
    - -
    returns nothing
    In versions KDE 3.2.3 and above only
    - -
    ArgumentTypeDefault
    a0TQCloseEvent
    -

  • -
  • drawContents (a0) -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only
    - -
    ArgumentTypeDefault
    a0TQPainter
    -

  • -
  • eventFilter (a0, a1) -
    - -
    returns (bool)
    In versions KDE 3.1.0 and above only
    - - -
    ArgumentTypeDefault
    a0TQObject
    a1TQEvent
    -

  • -
  • isTopLevelMenu () -
    -
    returns (bool)

  • -
  • resize (w, h) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - - -
    ArgumentTypeDefault
    wint
    hint
    -

  • -
  • resize (s) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    sTQSize
    -

  • -
  • resizeEvent (a0) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    a0TQResizeEvent
    -

  • -
  • setFrameStyle (a0) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    a0int
    -

  • -
  • setGeometry (r) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    rTQRect
    -

  • -
  • setGeometry (x, y, w, h) -
    -
    returns nothing
    - - - - -
    ArgumentTypeDefault
    xint
    yint
    wint
    hint
    -

  • -
  • setLineWidth (a0) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    a0int
    -

  • -
  • setMargin (a0) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    a0int
    -

  • -
  • setTopLevelMenu (top_level = 1) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    top_levelbool1
    -

  • -
  • show () -
    -
    returns nothing

  • -
  • showEvent (a0) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    a0TQShowEvent
    -

  • -
  • sizeHint () -
    - -
    returns (TQSize)
    In versions KDE 3.4.0 and above only

  • -
  • slotReadConfig () -
    -
    returns nothing

  • -
  • x11Event (a0) -
    Not Implemented
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kdeui/KMessageBox.html b/python/pykde/doc/classref/kdeui/KMessageBox.html deleted file mode 100644 index 09cb1a4f..00000000 --- a/python/pykde/doc/classref/kdeui/KMessageBox.html +++ /dev/null @@ -1,677 +0,0 @@ - - - - - class KMessageBox - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KMessageBox


-
- - - - - -
Table of contents
Modules
kdeui Classes
All Classes
-
- - - - - - - - - - -
Modulekdeui
ClassKMessageBox
Inherits
-

enums

    -
  • ButtonCode = {Ok, Cancel, Yes, No, Continue -}
  • DialogType = {QuestionYesNo, WarningYesNo, WarningContinueCancel, WarningYesNoCancel, Information, Sorry, Error, QuestionYesNoCancel -}
  • OptionsType = {Notify, AllowLink, Dangerous, PlainCaption, NoExec -}
  • OptionsType = {Notify, AllowLink, Dangerous -}
  • OptionsType = {Notify, AllowLink -}
-

methods

    -
  • about (parent, text, caption = TQString .null, options = 1) -
    - -
    returns nothing
    static
    - - - - -
    ArgumentTypeDefault
    parentTQWidget
    textTQString
    captionTQStringTQString .null
    optionsbool1
    -

  • -
  • createKMessageBox (dialog, icon, text, strlist, ask, options, details = TQString .null) -
    - - -
    returns (int) checkboxReturn (bool)
    In versions KDE 3.3.0 and above only
    static
    - - - - - - - -
    ArgumentTypeDefault
    dialogKDialogBase
    iconTQMessageBox.Icon
    textTQString
    strlistTQStringList
    askTQString
    optionsint
    detailsTQStringTQString .null
    -

  • -
  • createKMessageBox (dialog, icon, text, strlist, ask, options, details = TQString .null, notifyType = TQMessageBox .Information) -
    - - -
    returns (int) checkboxReturn (bool)
    In versions KDE 3.3.0 and above only
    static
    - - - - - - - - -
    ArgumentTypeDefault
    dialogKDialogBase
    iconTQPixmap
    textTQString
    strlistTQStringList
    askTQString
    optionsint
    detailsTQStringTQString .null
    notifyTypeTQMessageBox.IconTQMessageBox .Information
    -

  • -
  • detailedError (parent, text, details, caption = TQString .null, options = 1) -
    - -
    returns nothing
    static
    - - - - - -
    ArgumentTypeDefault
    parentTQWidget
    textTQString
    detailsTQString
    captionTQStringTQString .null
    optionsbool1
    -

  • -
  • detailedErrorWId (parent_id, text, details, caption = TQString .null, options = Notify) -
    - - -
    returns nothing
    In versions KDE 3.2.0 and above only
    static
    - - - - - -
    ArgumentTypeDefault
    parent_idWId
    textTQString
    detailsTQString
    captionTQStringTQString .null
    optionsintNotify
    -

  • -
  • detailedSorry (parent, text, details, caption = TQString .null, options = 1) -
    - -
    returns nothing
    static
    - - - - - -
    ArgumentTypeDefault
    parentTQWidget
    textTQString
    detailsTQString
    captionTQStringTQString .null
    optionsbool1
    -

  • -
  • detailedSorryWId (parent_id, text, details, caption = TQString .null, options = Notify) -
    - - -
    returns nothing
    In versions KDE 3.2.0 and above only
    static
    - - - - - -
    ArgumentTypeDefault
    parent_idWId
    textTQString
    detailsTQString
    captionTQStringTQString .null
    optionsintNotify
    -

  • -
  • enableAllMessages () -
    - -
    returns nothing
    static

  • -
  • enableMessage (dontShowAgainName) -
    - - -
    returns nothing
    In versions KDE 3.2.0 and above only
    static
    - -
    ArgumentTypeDefault
    dontShowAgainNameTQString
    -

  • -
  • error (parent, text, caption = TQString .null, options = 1) -
    - -
    returns nothing
    static
    - - - - -
    ArgumentTypeDefault
    parentTQWidget
    textTQString
    captionTQStringTQString .null
    optionsbool1
    -

  • -
  • errorList (parent, text, strlist, caption = TQString .null, options = Notify) -
    - - -
    returns nothing
    In versions KDE 3.4.0 and above only
    static
    - - - - - -
    ArgumentTypeDefault
    parentTQWidget
    textTQString
    strlistTQStringList
    captionTQStringTQString .null
    optionsintNotify
    -

  • -
  • errorListWId (parent_id, text, strlist, caption = TQString .null, options = Notify) -
    - - -
    returns nothing
    In versions KDE 3.4.0 and above only
    static
    - - - - - -
    ArgumentTypeDefault
    parent_idWId
    textTQString
    strlistTQStringList
    captionTQStringTQString .null
    optionsintNotify
    -

  • -
  • errorWId (parent_id, text, caption = TQString .null, options = Notify) -
    - - -
    returns nothing
    In versions KDE 3.2.0 and above only
    static
    - - - - -
    ArgumentTypeDefault
    parent_idWId
    textTQString
    captionTQStringTQString .null
    optionsintNotify
    -

  • -
  • information (parent, text, caption = TQString .null, dontShowAgainName = TQString .null, options = 1) -
    - -
    returns nothing
    static
    - - - - - -
    ArgumentTypeDefault
    parentTQWidget
    textTQString
    captionTQStringTQString .null
    dontShowAgainNameTQStringTQString .null
    optionsbool1
    -

  • -
  • informationList (parent, text, strlist, caption = TQString .null, dontShowAgainName = TQString .null, options = Notify) -
    - - -
    returns nothing
    In versions KDE 3.1.0 and above only
    static
    - - - - - - -
    ArgumentTypeDefault
    parentTQWidget
    textTQString
    strlistTQStringList
    captionTQStringTQString .null
    dontShowAgainNameTQStringTQString .null
    optionsintNotify
    -

  • -
  • informationListWId (parent_id, text, strlist, caption = TQString .null, dontShowAgainName = TQString .null, options = Notify) -
    - - -
    returns nothing
    In versions KDE 3.2.0 and above only
    static
    - - - - - - -
    ArgumentTypeDefault
    parent_idWId
    textTQString
    strlistTQStringList
    captionTQStringTQString .null
    dontShowAgainNameTQStringTQString .null
    optionsintNotify
    -

  • -
  • informationWId (parent_id, text, caption = TQString .null, dontShowAgainName = TQString .null, options = Notify) -
    - - -
    returns nothing
    In versions KDE 3.2.0 and above only
    static
    - - - - - -
    ArgumentTypeDefault
    parent_idWId
    textTQString
    captionTQStringTQString .null
    dontShowAgainNameTQStringTQString .null
    optionsintNotify
    -

  • -
  • messageBox (parent, type, text, caption, buttonYes, buttonNo, dontShowAskAgainName, options = Notify) -
    - - -
    returns (int)
    In versions KDE 3.2.0 and above only
    static
    - - - - - - - - -
    ArgumentTypeDefault
    parentTQWidget
    typeKMessageBox.DialogType
    textTQString
    captionTQString
    buttonYesKGuiItem
    buttonNoKGuiItem
    dontShowAskAgainNameTQString
    optionsintNotify
    -

  • -
  • messageBox (parent, type, text, caption = TQString .null, buttonYes = KStdGuiItem .yes (), buttonNo = KStdGuiItem .no (), options = Notify) -
    - -
    returns (int)
    static
    - - - - - - - -
    ArgumentTypeDefault
    parentTQWidget
    typeKMessageBox.DialogType
    textTQString
    captionTQStringTQString .null
    buttonYesKGuiItemKStdGuiItem .yes ()
    buttonNoKGuiItemKStdGuiItem .no ()
    optionsintNotify
    -

  • -
  • messageBoxWId (parent_id, type, text, caption = TQString .null, buttonYes = KStdGuiItem .yes (), buttonNo = KStdGuiItem .no (), dontShowAskAgainName = TQString .null, options = Notify) -
    - - -
    returns (int)
    In versions KDE 3.2.0 and above only
    static
    - - - - - - - - -
    ArgumentTypeDefault
    parent_idWId
    typeKMessageBox.DialogType
    textTQString
    captionTQStringTQString .null
    buttonYesKGuiItemKStdGuiItem .yes ()
    buttonNoKGuiItemKStdGuiItem .no ()
    dontShowAskAgainNameTQStringTQString .null
    optionsintNotify
    -

  • -
  • questionYesNo (parent, text, caption = TQString .null, buttonYes = KStdGuiItem .yes (), buttonNo = KStdGuiItem .no (), dontAskAgainName = TQString .null, options = Notify) -
    - -
    returns (int)
    static
    - - - - - - - -
    ArgumentTypeDefault
    parentTQWidget
    textTQString
    captionTQStringTQString .null
    buttonYesKGuiItemKStdGuiItem .yes ()
    buttonNoKGuiItemKStdGuiItem .no ()
    dontAskAgainNameTQStringTQString .null
    optionsintNotify
    -

  • -
  • questionYesNoCancel (parent, text, caption = TQString .null, buttonYes = KStdGuiItem .yes (), buttonNo = KStdGuiItem .no (), dontAskAgainName = TQString .null, options = Notify) -
    - -
    returns (int)
    static
    - - - - - - - -
    ArgumentTypeDefault
    parentTQWidget
    textTQString
    captionTQStringTQString .null
    buttonYesKGuiItemKStdGuiItem .yes ()
    buttonNoKGuiItemKStdGuiItem .no ()
    dontAskAgainNameTQStringTQString .null
    optionsintNotify
    -

  • -
  • questionYesNoCancelWId (parent_id, text, caption = TQString .null, buttonYes = KStdGuiItem .yes (), buttonNo = KStdGuiItem .no (), dontAskAgainName = TQString .null, options = Notify) -
    - - -
    returns (int)
    In versions KDE 3.2.0 and above only
    static
    - - - - - - - -
    ArgumentTypeDefault
    parent_idWId
    textTQString
    captionTQStringTQString .null
    buttonYesKGuiItemKStdGuiItem .yes ()
    buttonNoKGuiItemKStdGuiItem .no ()
    dontAskAgainNameTQStringTQString .null
    optionsintNotify
    -

  • -
  • questionYesNoList (parent, text, strlist, caption = TQString .null, buttonYes = KStdGuiItem .yes (), buttonNo = KStdGuiItem .no (), dontAskAgainName = TQString .null, options = Notify) -
    - -
    returns (int)
    static
    - - - - - - - - -
    ArgumentTypeDefault
    parentTQWidget
    textTQString
    strlistTQStringList
    captionTQStringTQString .null
    buttonYesKGuiItemKStdGuiItem .yes ()
    buttonNoKGuiItemKStdGuiItem .no ()
    dontAskAgainNameTQStringTQString .null
    optionsintNotify
    -

  • -
  • questionYesNoListWId (parent_id, text, strlist, caption = TQString .null, buttonYes = KStdGuiItem .yes (), buttonNo = KStdGuiItem .no (), dontAskAgainName = TQString .null, options = Notify) -
    - - -
    returns (int)
    In versions KDE 3.2.0 and above only
    static
    - - - - - - - - -
    ArgumentTypeDefault
    parent_idWId
    textTQString
    strlistTQStringList
    captionTQStringTQString .null
    buttonYesKGuiItemKStdGuiItem .yes ()
    buttonNoKGuiItemKStdGuiItem .no ()
    dontAskAgainNameTQStringTQString .null
    optionsintNotify
    -

  • -
  • questionYesNoWId (parent_id, text, caption = TQString .null, buttonYes = KStdGuiItem .yes (), buttonNo = KStdGuiItem .no (), dontAskAgainName = TQString .null, options = Notify) -
    - - -
    returns (int)
    In versions KDE 3.2.0 and above only
    static
    - - - - - - - -
    ArgumentTypeDefault
    parent_idWId
    textTQString
    captionTQStringTQString .null
    buttonYesKGuiItemKStdGuiItem .yes ()
    buttonNoKGuiItemKStdGuiItem .no ()
    dontAskAgainNameTQStringTQString .null
    optionsintNotify
    -

  • -
  • queuedDetailedError (parent, text, details, caption = TQString .null) -
    - -
    returns nothing
    static
    - - - - -
    ArgumentTypeDefault
    parentTQWidget
    textTQString
    detailsTQString
    captionTQStringTQString .null
    -

  • -
  • queuedDetailedErrorWId (parent_id, text, details, caption = TQString .null) -
    - - -
    returns nothing
    In versions KDE 3.2.0 and above only
    static
    - - - - -
    ArgumentTypeDefault
    parent_idWId
    textTQString
    detailsTQString
    captionTQStringTQString .null
    -

  • -
  • queuedMessageBox (parent, type, text, caption, options) -
    - - -
    returns nothing
    In versions KDE 3.1.0 and above only
    static
    - - - - - -
    ArgumentTypeDefault
    parentTQWidget
    typeKMessageBox.DialogType
    textTQString
    captionTQString
    optionsint
    -

  • -
  • queuedMessageBox (parent, type, text, caption = TQString .null) -
    - -
    returns nothing
    static
    - - - - -
    ArgumentTypeDefault
    parentTQWidget
    typeKMessageBox.DialogType
    textTQString
    captionTQStringTQString .null
    -

  • -
  • queuedMessageBoxWId (parent_id, type, text, caption, options) -
    - - -
    returns nothing
    In versions KDE 3.2.0 and above only
    static
    - - - - - -
    ArgumentTypeDefault
    parent_idWId
    typeKMessageBox.DialogType
    textTQString
    captionTQString
    optionsint
    -

  • -
  • queuedMessageBoxWId (parent_id, type, text, caption = TQString .null) -
    - - -
    returns nothing
    In versions KDE 3.2.0 and above only
    static
    - - - - -
    ArgumentTypeDefault
    parent_idWId
    typeKMessageBox.DialogType
    textTQString
    captionTQStringTQString .null
    -

  • -
  • saveDontShowAgainContinue (dontShowAgainName) -
    - - -
    returns nothing
    In versions KDE 3.2.0 and above only
    static
    - -
    ArgumentTypeDefault
    dontShowAgainNameTQString
    -

  • -
  • saveDontShowAgainYesNo (dontShowAgainName, result) -
    - - -
    returns nothing
    In versions KDE 3.2.0 and above only
    static
    - - -
    ArgumentTypeDefault
    dontShowAgainNameTQString
    resultKMessageBox.ButtonCode
    -

  • -
  • setDontShowAskAgainConfig (cfg) -
    - - -
    returns nothing
    In versions KDE 3.2.0 and above only
    static
    - -
    ArgumentTypeDefault
    cfgKConfig
    -

  • -
  • shouldBeShownContinue (dontShowAgainName) -
    - - -
    returns (bool)
    In versions KDE 3.2.0 and above only
    static
    - -
    ArgumentTypeDefault
    dontShowAgainNameTQString
    -

  • -
  • shouldBeShownYesNo (dontShowAgainName) -
    - - -
    returns (bool) result (KMessageBox.ButtonCode)
    In versions KDE 3.2.0 and above only
    static
    - -
    ArgumentTypeDefault
    dontShowAgainNameTQString
    -

  • -
  • sorry (parent, text, caption = TQString .null, options = 1) -
    - -
    returns nothing
    static
    - - - - -
    ArgumentTypeDefault
    parentTQWidget
    textTQString
    captionTQStringTQString .null
    optionsbool1
    -

  • -
  • sorryWId (parent_id, text, caption = TQString .null, options = Notify) -
    - - -
    returns nothing
    In versions KDE 3.2.0 and above only
    static
    - - - - -
    ArgumentTypeDefault
    parent_idWId
    textTQString
    captionTQStringTQString .null
    optionsintNotify
    -

  • -
  • warningContinueCancel (parent, text, caption = TQString .null, buttonContinue = KStdGuiItem .cont (), dontAskAgainName = TQString .null, options = Notify) -
    - -
    returns (int)
    static
    - - - - - - -
    ArgumentTypeDefault
    parentTQWidget
    textTQString
    captionTQStringTQString .null
    buttonContinueKGuiItemKStdGuiItem .cont ()
    dontAskAgainNameTQStringTQString .null
    optionsintNotify
    -

  • -
  • warningContinueCancelList (parent, text, strlist, caption = TQString .null, buttonContinue = KStdGuiItem .cont (), dontAskAgainName = TQString .null, options = Notify) -
    - - -
    returns (int)
    In versions KDE 3.1.0 and above only
    static
    - - - - - - - -
    ArgumentTypeDefault
    parentTQWidget
    textTQString
    strlistTQStringList
    captionTQStringTQString .null
    buttonContinueKGuiItemKStdGuiItem .cont ()
    dontAskAgainNameTQStringTQString .null
    optionsintNotify
    -

  • -
  • warningContinueCancelList (a0, a1, a2, a3 = TQString .null, a4 = TQString .null, a5 = TQString .null, a6 = Notify) -
    Not Implemented
    -

  • -
  • warningContinueCancelList (a0, a1, a2, a3 = TQString .null, a4 = KGuiItem (), a5 = TQString .null, a6 = Notify) -
    - - -
    returns (int)
    In versions KDE 3.0.3 and above, but less than KDE 3.1.0
    static
    - - - - - - - -
    ArgumentTypeDefault
    a0TQWidget
    a1TQString
    a2TQStringList
    a3TQStringTQString .null
    a4KGuiItemKGuiItem ()
    a5TQStringTQString .null
    a6intNotify
    -

  • -
  • warningContinueCancelListWId (parent_id, text, strlist, caption = TQString .null, buttonContinue = KStdGuiItem .cont (), dontAskAgainName = TQString .null, options = Notify) -
    - - -
    returns (int)
    In versions KDE 3.2.0 and above only
    static
    - - - - - - - -
    ArgumentTypeDefault
    parent_idWId
    textTQString
    strlistTQStringList
    captionTQStringTQString .null
    buttonContinueKGuiItemKStdGuiItem .cont ()
    dontAskAgainNameTQStringTQString .null
    optionsintNotify
    -

  • -
  • warningContinueCancelWId (parent_id, text, caption = TQString .null, buttonContinue = KStdGuiItem .cont (), dontAskAgainName = TQString .null, options = Notify) -
    - - -
    returns (int)
    In versions KDE 3.2.0 and above only
    static
    - - - - - - -
    ArgumentTypeDefault
    parent_idWId
    textTQString
    captionTQStringTQString .null
    buttonContinueKGuiItemKStdGuiItem .cont ()
    dontAskAgainNameTQStringTQString .null
    optionsintNotify
    -

  • -
  • warningYesNo (parent, text, caption = TQString .null, buttonYes = KStdGuiItem .yes (), buttonNo = KStdGuiItem .no (), dontAskAgainName = TQString .null, options = Notify) -
    - -
    returns (int)
    static
    - - - - - - - -
    ArgumentTypeDefault
    parentTQWidget
    textTQString
    captionTQStringTQString .null
    buttonYesKGuiItemKStdGuiItem .yes ()
    buttonNoKGuiItemKStdGuiItem .no ()
    dontAskAgainNameTQStringTQString .null
    optionsintNotify
    -

  • -
  • warningYesNoCancel (parent, text, caption = TQString .null, buttonYes = KStdGuiItem .yes (), buttonNo = KStdGuiItem .no (), dontAskAgainName = TQString .null, options = Notify) -
    - -
    returns (int)
    static
    - - - - - - - -
    ArgumentTypeDefault
    parentTQWidget
    textTQString
    captionTQStringTQString .null
    buttonYesKGuiItemKStdGuiItem .yes ()
    buttonNoKGuiItemKStdGuiItem .no ()
    dontAskAgainNameTQStringTQString .null
    optionsintNotify
    -

  • -
  • warningYesNoCancelList (parent, text, strlist, caption = TQString .null, buttonYes = KStdGuiItem .yes (), buttonNo = KStdGuiItem .no (), dontAskAgainName = TQString .null, options = Notify) -
    - - -
    returns (int)
    In versions KDE 3.2.0 and above only
    static
    - - - - - - - - -
    ArgumentTypeDefault
    parentTQWidget
    textTQString
    strlistTQStringList
    captionTQStringTQString .null
    buttonYesKGuiItemKStdGuiItem .yes ()
    buttonNoKGuiItemKStdGuiItem .no ()
    dontAskAgainNameTQStringTQString .null
    optionsintNotify
    -

  • -
  • warningYesNoCancelListWId (parent_id, text, strlist, caption = TQString .null, buttonYes = KStdGuiItem .yes (), buttonNo = KStdGuiItem .no (), dontAskAgainName = TQString .null, options = Notify) -
    - - -
    returns (int)
    In versions KDE 3.2.0 and above only
    static
    - - - - - - - - -
    ArgumentTypeDefault
    parent_idWId
    textTQString
    strlistTQStringList
    captionTQStringTQString .null
    buttonYesKGuiItemKStdGuiItem .yes ()
    buttonNoKGuiItemKStdGuiItem .no ()
    dontAskAgainNameTQStringTQString .null
    optionsintNotify
    -

  • -
  • warningYesNoCancelWId (parent_id, text, caption = TQString .null, buttonYes = KStdGuiItem .yes (), buttonNo = KStdGuiItem .no (), dontAskAgainName = TQString .null, options = Notify) -
    - - -
    returns (int)
    In versions KDE 3.2.0 and above only
    static
    - - - - - - - -
    ArgumentTypeDefault
    parent_idWId
    textTQString
    captionTQStringTQString .null
    buttonYesKGuiItemKStdGuiItem .yes ()
    buttonNoKGuiItemKStdGuiItem .no ()
    dontAskAgainNameTQStringTQString .null
    optionsintNotify
    -

  • -
  • warningYesNoList (parent, text, strlist, caption = TQString .null, buttonYes = KStdGuiItem .yes (), buttonNo = KStdGuiItem .no (), dontAskAgainName = TQString .null, options = Notify | Dangerous) -
    - - -
    returns (int)
    In versions KDE 3.2.0 and above only
    static
    - - - - - - - - -
    ArgumentTypeDefault
    parentTQWidget
    textTQString
    strlistTQStringList
    captionTQStringTQString .null
    buttonYesKGuiItemKStdGuiItem .yes ()
    buttonNoKGuiItemKStdGuiItem .no ()
    dontAskAgainNameTQStringTQString .null
    optionsintNotify | Dangerous
    -

  • -
  • warningYesNoListWId (parent_id, text, strlist, caption = TQString .null, buttonYes = KStdGuiItem .yes (), buttonNo = KStdGuiItem .no (), dontAskAgainName = TQString .null, options = Notify | Dangerous) -
    - - -
    returns (int)
    In versions KDE 3.2.0 and above only
    static
    - - - - - - - - -
    ArgumentTypeDefault
    parent_idWId
    textTQString
    strlistTQStringList
    captionTQStringTQString .null
    buttonYesKGuiItemKStdGuiItem .yes ()
    buttonNoKGuiItemKStdGuiItem .no ()
    dontAskAgainNameTQStringTQString .null
    optionsintNotify | Dangerous
    -

  • -
  • warningYesNoWId (parent_id, text, caption = TQString .null, buttonYes = KStdGuiItem .yes (), buttonNo = KStdGuiItem .no (), dontAskAgainName = TQString .null, options = Notify | Dangerous) -
    - - -
    returns (int)
    In versions KDE 3.2.0 and above only
    static
    - - - - - - - -
    ArgumentTypeDefault
    parent_idWId
    textTQString
    captionTQStringTQString .null
    buttonYesKGuiItemKStdGuiItem .yes ()
    buttonNoKGuiItemKStdGuiItem .no ()
    dontAskAgainNameTQStringTQString .null
    optionsintNotify | Dangerous
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kdeui/KMimeTypeValidator.html b/python/pykde/doc/classref/kdeui/KMimeTypeValidator.html deleted file mode 100644 index 4b2c6b10..00000000 --- a/python/pykde/doc/classref/kdeui/KMimeTypeValidator.html +++ /dev/null @@ -1,60 +0,0 @@ - - - - - class KMimeTypeValidator - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KMimeTypeValidator


-
- - - - - -
Table of contents
Modules
kdeui Classes
All Classes
-
- - - - - - - - - - -
Modulekdeui
ClassKMimeTypeValidator
InheritsTQValidator
-

methods

    -
  • KMimeTypeValidator (parent, name = 0) -
    -
    returns a KMimeTypeValidator instance
    - - -
    ArgumentTypeDefault
    parentTQObject
    namechar0
    -

  • -
  • fixup (input) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    inputTQString
    -

  • -
  • validate (input) -
    -
    returns (State) pos (int)
    - -
    ArgumentTypeDefault
    inputTQString
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kdeui/KNamedCommand.html b/python/pykde/doc/classref/kdeui/KNamedCommand.html deleted file mode 100644 index 360c0a84..00000000 --- a/python/pykde/doc/classref/kdeui/KNamedCommand.html +++ /dev/null @@ -1,56 +0,0 @@ - - - - - class KNamedCommand - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KNamedCommand


-
- - - - - -
Table of contents
Modules
kdeui Classes
All Classes
-
- - - - - - - - - - -
Modulekdeui
ClassKNamedCommand
InheritsKCommand
-

methods

    -
  • KNamedCommand (name) -
    -
    returns a KNamedCommand instance
    - -
    ArgumentTypeDefault
    nameTQString
    -

  • -
  • name () -
    -
    returns (TQString)

  • -
  • setName (name) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    nameTQString
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kdeui/KNumInput.html b/python/pykde/doc/classref/kdeui/KNumInput.html deleted file mode 100644 index 3ee9ff99..00000000 --- a/python/pykde/doc/classref/kdeui/KNumInput.html +++ /dev/null @@ -1,93 +0,0 @@ - - - - - class KNumInput - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KNumInput


-
- - - - - -
Table of contents
Modules
kdeui Classes
All Classes
-
- - - - - - - - - - -
Modulekdeui
ClassKNumInput (abstract)
InheritsTQWidget
-

methods

    -
  • KNumInput (parent = 0, name = 0) -
    -
    returns a KNumInput instance
    - - -
    ArgumentTypeDefault
    parentTQWidget0
    namechar0
    -

  • -
  • KNumInput (below, parent = 0, name = 0) -
    -
    returns a KNumInput instance
    - - - -
    ArgumentTypeDefault
    belowKNumInput
    parentTQWidget0
    namechar0
    -

  • -
  • doLayout () = 0 -
    - -
    returns nothing
    pure virtual

  • -
  • label () -
    -
    returns (TQString)

  • -
  • layout (deep) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    deepbool
    -

  • -
  • setLabel (label, a = AlignLeft | AlignTop) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    labelTQString
    aintAlignLeft | AlignTop
    -

  • -
  • setSteps (minor, major) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    minorint
    majorint
    -

  • -
  • showSlider () -
    - -
    returns (bool)
    In versions KDE 3.1.0 and above only

  • -
  • sizeHint () -
    -
    returns (TQSize)

  • -
  • sizePolicy () -
    -
    returns (TQSizePolicy)

  • -
- - - diff --git a/python/pykde/doc/classref/kdeui/KPaletteTable.html b/python/pykde/doc/classref/kdeui/KPaletteTable.html deleted file mode 100644 index aadb493d..00000000 --- a/python/pykde/doc/classref/kdeui/KPaletteTable.html +++ /dev/null @@ -1,114 +0,0 @@ - - - - - class KPaletteTable - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KPaletteTable


-
- - - - - -
Table of contents
Modules
kdeui Classes
All Classes
-
- - - - - - - - - - -
Modulekdeui
ClassKPaletteTable
InheritsTQWidget
-

methods

    -
  • KPaletteTable (parent, minWidth = 210, cols = 16) -
    -
    returns a KPaletteTable instance
    - - - -
    ArgumentTypeDefault
    parentTQWidget
    minWidthint210
    colsint16
    -

  • -
  • addToCustomColors (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0TQColor
    -

  • -
  • addToRecentColors (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0TQColor
    -

  • -
  • colorDoubleClicked (a0, a1) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    a0TQColor
    a1TQString
    -

  • -
  • colorSelected (a0, a1) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    a0TQColor
    a1TQString
    -

  • -
  • palette () -
    -
    returns (TQString)

  • -
  • readNamedColor () -
    -
    returns nothing

  • -
  • setPalette (paletteName) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    paletteNameTQString
    -

  • -
  • slotColorCellDoubleClicked (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0int
    -

  • -
  • slotColorCellSelected (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0int
    -

  • -
  • slotColorTextSelected (colorText) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    colorTextTQString
    -

  • -
  • slotSetPalette (_paletteName) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    _paletteNameTQString
    -

  • -
  • slotShowNamedColorReadError () -
    -
    returns nothing

  • -
- - - diff --git a/python/pykde/doc/classref/kdeui/KPanelAppMenu.html b/python/pykde/doc/classref/kdeui/KPanelAppMenu.html deleted file mode 100644 index f936cc93..00000000 --- a/python/pykde/doc/classref/kdeui/KPanelAppMenu.html +++ /dev/null @@ -1,113 +0,0 @@ - - - - - class KPanelAppMenu - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KPanelAppMenu


-
- - - - - -
Table of contents
Modules
kdeui Classes
All Classes
-
- - - - - - - - - - -
Modulekdeui
ClassKPanelAppMenu
InheritsTQObject, DCOPObject
-

methods

    -
  • KPanelAppMenu (title, parent = 0, name = 0) -
    -
    returns a KPanelAppMenu instance
    - - - -
    ArgumentTypeDefault
    titleTQString
    parentTQObject0
    namechar0
    -

  • -
  • KPanelAppMenu (icon, title, parent, name) -
    -
    returns a KPanelAppMenu instance
    - - - - -
    ArgumentTypeDefault
    iconTQPixmap
    titleTQString
    parentTQObject
    namechar
    -

  • -
  • KPanelAppMenu (parent, name) -
    -
    returns a KPanelAppMenu instance
    - - -
    ArgumentTypeDefault
    parentTQObject
    namechar
    -

  • -
  • activated (id) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    idint
    -

  • -
  • clear () -
    -
    returns nothing

  • -
  • init (icon, title) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    iconTQPixmap
    titleTQString
    -

  • -
  • insertItem (text, id = -1) -
    -
    returns (int)
    - - -
    ArgumentTypeDefault
    textTQString
    idint-1
    -

  • -
  • insertItem (icon, text, id = -1) -
    -
    returns (int)
    - - - -
    ArgumentTypeDefault
    iconTQPixmap
    textTQString
    idint-1
    -

  • -
  • insertMenu (icon, text, id = -1) -
    -
    returns (KPanelAppMenu)
    - - - -
    ArgumentTypeDefault
    iconTQPixmap
    textTQString
    idint-1
    -

  • -
  • process (fun, data, replyType, reply) -
    -
    returns (bool)
    - - - - -
    ArgumentTypeDefault
    funTQCString
    dataTQByteArray
    replyTypeTQCString
    replyTQByteArray
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kdeui/KPanelApplet.html b/python/pykde/doc/classref/kdeui/KPanelApplet.html deleted file mode 100644 index 198aec31..00000000 --- a/python/pykde/doc/classref/kdeui/KPanelApplet.html +++ /dev/null @@ -1,197 +0,0 @@ - - - - - class KPanelApplet - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KPanelApplet


-
- - - - - -
Table of contents
Modules
kdeui Classes
All Classes
-
- - - - - - - - - - -
Modulekdeui
ClassKPanelApplet
InheritsTQFrame
-

enums

    -
  • Action = {About, Help, Preferences, ReportBug -}
  • Alignment = {LeftTop, Center, RightBottom -}
  • Direction = {Up, Down, Left, Right -}
  • Position = {pLeft, pRight, pTop, pBottom -}
  • Type = {Normal, Stretch -}
-

methods

    -
  • KPanelApplet (configFile, t = Normal, actions = 0, parent = 0, name = 0, f = 0) -
    -
    returns a KPanelApplet instance
    - - - - - - -
    ArgumentTypeDefault
    configFileTQString
    tKPanelApplet.TypeNormal
    actionsint0
    parentTQWidget0
    namechar0
    fWFlags0
    -

  • -
  • about () -
    -
    returns nothing

  • -
  • action (a) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    aKPanelApplet.Action
    -

  • -
  • actions () -
    -
    returns (int)

  • -
  • alignment () -
    -
    returns (KPanelApplet.Alignment)

  • -
  • alignmentChange (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0KPanelApplet.Alignment
    -

  • -
  • config () -
    -
    returns (KConfig)

  • -
  • customMenu () -
    - -
    returns (TQPopupMenu)
    In versions KDE 3.2.0 and above only

  • -
  • eventFilter (a0, a1) -
    - -
    returns (bool)
    In versions KDE 3.4.0 and above only
    - - -
    ArgumentTypeDefault
    a0TQObject
    a1TQEvent
    -

  • -
  • heightForWidth (width) -
    -
    returns (int)
    - -
    ArgumentTypeDefault
    widthint
    -

  • -
  • help () -
    -
    returns nothing

  • -
  • needsFocus (focus) -
    - -
    returns nothing
    In versions KDE 3.4.0 and above only
    - -
    ArgumentTypeDefault
    focusbool
    -

  • -
  • orientation () -
    -
    returns (Orientation)

  • -
  • orientationChange (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0Orientation
    -

  • -
  • popupDirection () -
    -
    returns (Direction)

  • -
  • popupDirectionChange (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0KPanelApplet.Direction
    -

  • -
  • position () -
    -
    returns (KPanelApplet.Position)

  • -
  • positionChange (p) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    pKPanelApplet.Position
    -

  • -
  • preferences () -
    -
    returns nothing

  • -
  • reportBug () -
    -
    returns nothing

  • -
  • requestFocus () -
    -
    returns nothing

  • -
  • requestFocus (focus) -
    - -
    returns nothing
    In versions KDE 3.4.0 and above only
    - -
    ArgumentTypeDefault
    focusbool
    -

  • -
  • setAlignment (a) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    aKPanelApplet.Alignment
    -

  • -
  • setCustomMenu (a0) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    a0TQPopupMenu
    -

  • -
  • setPosition (p) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    pKPanelApplet.Position
    -

  • -
  • sharedConfig () -
    - -
    returns (KSharedConfig.Ptr)
    In versions KDE 3.2.0 and above only

  • -
  • type () -
    -
    returns (Type)

  • -
  • updateLayout () -
    -
    returns nothing

  • -
  • watchForFocus (widget, watch = 1) -
    - -
    returns nothing
    In versions KDE 3.4.0 and above only
    - - -
    ArgumentTypeDefault
    widgetTQWidget
    watchbool1
    -

  • -
  • widthForHeight (height) -
    -
    returns (int)
    - -
    ArgumentTypeDefault
    heightint
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kdeui/KPanelExtension.html b/python/pykde/doc/classref/kdeui/KPanelExtension.html deleted file mode 100644 index 60ba4479..00000000 --- a/python/pykde/doc/classref/kdeui/KPanelExtension.html +++ /dev/null @@ -1,181 +0,0 @@ - - - - - class KPanelExtension - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KPanelExtension


-
- - - - - -
Table of contents
Modules
kdeui Classes
All Classes
-
- - - - - - - - - - -
Modulekdeui
ClassKPanelExtension
InheritsTQFrame
-

enums

    -
  • Action = {About, Help, Preferences, ReportBug -}
  • Alignment = {LeftTop, Center, RightBottom -}
  • Position = {Left, Right, Top, Bottom, Floating -}
  • Position = {Left, Right, Top, Bottom -}
  • Size = {SizeTiny, SizeSmall, SizeNormal, SizeLarge, SizeCustom -}
  • Type = {Normal, Stretch -}
-

methods

    -
  • KPanelExtension (configFile, t = Normal, actions = 0, parent = 0, name = 0) -
    -
    returns a KPanelExtension instance
    - - - - - -
    ArgumentTypeDefault
    configFileTQString
    tKPanelExtension.TypeNormal
    actionsint0
    parentTQWidget0
    namechar0
    -

  • -
  • about () -
    -
    returns nothing

  • -
  • action (a) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    aKPanelExtension.Action
    -

  • -
  • actions () -
    -
    returns (int)

  • -
  • alignment () -
    -
    returns (KPanelExtension.Alignment)

  • -
  • alignmentChange (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0KPanelExtension.Alignment
    -

  • -
  • config () -
    -
    returns (KConfig)

  • -
  • customMenu () -
    - -
    returns (TQPopupMenu)
    In versions KDE 3.4.0 and above only

  • -
  • customSize () -
    - -
    returns (int)
    In versions KDE 3.1.0 and above only

  • -
  • help () -
    -
    returns nothing

  • -
  • maintainFocus (a0) -
    - -
    returns nothing
    In versions KDE 3.4.0 and above only
    - -
    ArgumentTypeDefault
    a0bool
    -

  • -
  • orientation () -
    -
    returns (Orientation)

  • -
  • position () -
    -
    returns (Position)

  • -
  • positionChange (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0KPanelExtension.Position
    -

  • -
  • preferedPosition () -
    -
    returns (Position)

  • -
  • preferences () -
    -
    returns nothing

  • -
  • reportBug () -
    -
    returns nothing

  • -
  • reserveStrut () -
    - -
    returns (bool)
    In versions KDE 3.4.0 and above only

  • -
  • setAlignment (a) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    aKPanelExtension.Alignment
    -

  • -
  • setCustomMenu (a0) -
    - -
    returns nothing
    In versions KDE 3.4.0 and above only
    - -
    ArgumentTypeDefault
    a0TQPopupMenu
    -

  • -
  • setPosition (p) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    pKPanelExtension.Position
    -

  • -
  • setReserveStrut (shouldUseStrut) -
    - -
    returns nothing
    In versions KDE 3.4.0 and above only
    - -
    ArgumentTypeDefault
    shouldUseStrutbool
    -

  • -
  • setSize (size, customSize) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - - -
    ArgumentTypeDefault
    sizeKPanelExtension.Size
    customSizeint
    -

  • -
  • sizeHint (a0, maxsize) -
    -
    returns (TQSize)
    - - -
    ArgumentTypeDefault
    a0KPanelExtension.Position
    maxsizeTQSize
    -

  • -
  • sizeInPixels () -
    - -
    returns (int)
    In versions KDE 3.1.0 and above only

  • -
  • sizeSetting () -
    - -
    returns (KPanelExtension.Size)
    In versions KDE 3.1.0 and above only

  • -
  • type () -
    -
    returns (Type)

  • -
  • updateLayout () -
    -
    returns nothing

  • -
- - - diff --git a/python/pykde/doc/classref/kdeui/KPanelMenu.html b/python/pykde/doc/classref/kdeui/KPanelMenu.html deleted file mode 100644 index cfa2aeed..00000000 --- a/python/pykde/doc/classref/kdeui/KPanelMenu.html +++ /dev/null @@ -1,113 +0,0 @@ - - - - - class KPanelMenu - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KPanelMenu


-
- - - - - -
Table of contents
Modules
kdeui Classes
All Classes
-
- - - - - - - - - - -
Modulekdeui
ClassKPanelMenu (abstract)
InheritsKPopupMenu
-

methods

    -
  • KPanelMenu (parent = 0, name = 0) -
    -
    returns a KPanelMenu instance
    - - -
    ArgumentTypeDefault
    parentTQWidget0
    namechar0
    -

  • -
  • KPanelMenu (startDir, parent = 0, name = 0) -
    -
    returns a KPanelMenu instance
    - - - -
    ArgumentTypeDefault
    startDirTQString
    parentTQWidget0
    namechar0
    -

  • -
  • deinitialize () -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only

  • -
  • disableAutoClear () -
    -
    returns nothing

  • -
  • hideEvent (ev) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    evTQHideEvent
    -

  • -
  • init (path = TQString .null) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    pathTQStringTQString .null
    -

  • -
  • initialize () = 0 -
    - -
    returns nothing
    pure virtual

  • -
  • initialized () -
    -
    returns (bool)

  • -
  • path () -
    -
    returns (TQString)

  • -
  • reinitialize () -
    -
    returns nothing

  • -
  • setInitialized (on) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    onbool
    -

  • -
  • setPath (p) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    pTQString
    -

  • -
  • slotAboutToShow () -
    -
    returns nothing

  • -
  • slotClear () -
    -
    returns nothing

  • -
  • slotExec (id) = 0 -
    - -
    returns nothing
    pure virtual
    - -
    ArgumentTypeDefault
    idint
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kdeui/KPassivePopup.html b/python/pykde/doc/classref/kdeui/KPassivePopup.html deleted file mode 100644 index 40ccddd5..00000000 --- a/python/pykde/doc/classref/kdeui/KPassivePopup.html +++ /dev/null @@ -1,309 +0,0 @@ - - - - - class KPassivePopup - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KPassivePopup


-
- - - - - -
Table of contents
Modules
kdeui Classes
All Classes
-
- - - - - - - - - - -
Modulekdeui
ClassKPassivePopup
InheritsTQFrame
-

enums

    -
  • PopupStyle = {Boxed, Balloon, CustomStyle -}
-

methods

    -
  • KPassivePopup (parent = 0, name = 0, f = 0) -
    - -
    returns a KPassivePopup instance
    In versions KDE 3.1.0 and above only
    - - - -
    ArgumentTypeDefault
    parentTQWidget0
    namechar0
    fWFlags0
    -

  • -
  • KPassivePopup (parent, name = 0, f = 0) -
    - -
    returns a KPassivePopup instance
    In versions KDE 3.1.0 and above only
    - - - -
    ArgumentTypeDefault
    parentWId
    namechar0
    fWFlags0
    -

  • -
  • KPassivePopup (popupStyle, parent = 0, name = 0, f = 0) -
    - -
    returns a KPassivePopup instance
    In versions KDE 3.5.0 and above only
    - - - - -
    ArgumentTypeDefault
    popupStyleint
    parentTQWidget0
    namechar0
    fWFlags0
    -

  • -
  • KPassivePopup (popupStyle, parent, name = 0, f = 0) -
    - -
    returns a KPassivePopup instance
    In versions KDE 3.5.0 and above only
    - - - - -
    ArgumentTypeDefault
    popupStyleint
    parentWId
    namechar0
    fWFlags0
    -

  • -
  • autoDelete () -
    - -
    returns (bool)
    In versions KDE 3.1.0 and above only

  • -
  • clicked () -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only

  • -
  • clicked (pos) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    posTQPoint
    -

  • -
  • defaultArea () -
    - -
    returns (TQRect)
    In versions KDE 3.1.0 and above only

  • -
  • hideEvent (a0) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    a0TQHideEvent
    -

  • -
  • message (text, parent, name = 0) -
    - - -
    returns (KPassivePopup)
    In versions KDE 3.1.0 and above only
    static
    - - - -
    ArgumentTypeDefault
    textTQString
    parentTQWidget
    namechar0
    -

  • -
  • message (caption, text, parent, name = 0) -
    - - -
    returns (KPassivePopup)
    In versions KDE 3.1.0 and above only
    static
    - - - - -
    ArgumentTypeDefault
    captionTQString
    textTQString
    parentTQWidget
    namechar0
    -

  • -
  • message (caption, text, icon, parent, name = 0, timeout = -1) -
    - - -
    returns (KPassivePopup)
    In versions KDE 3.1.0 and above only
    static
    - - - - - - -
    ArgumentTypeDefault
    captionTQString
    textTQString
    iconTQPixmap
    parentTQWidget
    namechar0
    timeoutint-1
    -

  • -
  • message (caption, text, icon, parent, name = 0, timeout = -1) -
    - - -
    returns (KPassivePopup)
    In versions KDE 3.1.0 and above only
    static
    - - - - - - -
    ArgumentTypeDefault
    captionTQString
    textTQString
    iconTQPixmap
    parentWId
    namechar0
    timeoutint-1
    -

  • -
  • message (popupStyle, text, parent, name = 0) -
    - - -
    returns (KPassivePopup)
    In versions KDE 3.5.0 and above only
    static
    - - - - -
    ArgumentTypeDefault
    popupStyleint
    textTQString
    parentTQWidget
    namechar0
    -

  • -
  • message (popupStyle, caption, text, parent, name = 0) -
    - - -
    returns (KPassivePopup)
    In versions KDE 3.5.0 and above only
    static
    - - - - - -
    ArgumentTypeDefault
    popupStyleint
    captionTQString
    textTQString
    parentTQWidget
    namechar0
    -

  • -
  • message (popupStyle, caption, text, icon, parent, name = 0, timeout = -1) -
    - - -
    returns (KPassivePopup)
    In versions KDE 3.5.0 and above only
    static
    - - - - - - - -
    ArgumentTypeDefault
    popupStyleint
    captionTQString
    textTQString
    iconTQPixmap
    parentTQWidget
    namechar0
    timeoutint-1
    -

  • -
  • message (popupStyle, caption, text, icon, parent, name = 0, timeout = -1) -
    - - -
    returns (KPassivePopup)
    In versions KDE 3.5.0 and above only
    static
    - - - - - - - -
    ArgumentTypeDefault
    popupStyleint
    captionTQString
    textTQString
    iconTQPixmap
    parentWId
    namechar0
    timeoutint-1
    -

  • -
  • mouseReleaseEvent (e) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    eTQMouseEvent
    -

  • -
  • moveNear (target) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    targetTQRect
    -

  • -
  • paintEvent (pe) -
    - -
    returns nothing
    In versions KDE 3.5.0 and above only
    - -
    ArgumentTypeDefault
    peTQPaintEvent
    -

  • -
  • positionSelf () -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only

  • -
  • setAnchor (anchor) -
    - -
    returns nothing
    In versions KDE 3.5.0 and above only
    - -
    ArgumentTypeDefault
    anchorTQPoint
    -

  • -
  • setAutoDelete (autoDelete) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    autoDeletebool
    -

  • -
  • setTimeout (delay) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    delayint
    -

  • -
  • setView (child) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    childTQWidget
    -

  • -
  • setView (caption, text = TQString .null) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - - -
    ArgumentTypeDefault
    captionTQString
    textTQStringTQString .null
    -

  • -
  • setView (caption, text, icon) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - - - -
    ArgumentTypeDefault
    captionTQString
    textTQString
    iconTQPixmap
    -

  • -
  • show () -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only

  • -
  • show (p) -
    - -
    returns nothing
    In versions KDE 3.5.0 and above only
    - -
    ArgumentTypeDefault
    pTQPoint
    -

  • -
  • standardView (caption, text, icon, parent = 0) -
    - -
    returns (TQVBox)
    In versions KDE 3.1.0 and above only
    - - - - -
    ArgumentTypeDefault
    captionTQString
    textTQString
    iconTQPixmap
    parentTQWidget0
    -

  • -
  • timeout () -
    - -
    returns (int)
    In versions KDE 3.1.0 and above only

  • -
  • updateMask () -
    - -
    returns nothing
    In versions KDE 3.5.0 and above only

  • -
  • view () -
    - -
    returns (TQWidget)
    In versions KDE 3.1.0 and above only

  • -
- - - diff --git a/python/pykde/doc/classref/kdeui/KPasswordDialog.html b/python/pykde/doc/classref/kdeui/KPasswordDialog.html deleted file mode 100644 index 83c14ab5..00000000 --- a/python/pykde/doc/classref/kdeui/KPasswordDialog.html +++ /dev/null @@ -1,194 +0,0 @@ - - - - - class KPasswordDialog - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KPasswordDialog


-
- - - - - -
Table of contents
Modules
kdeui Classes
All Classes
-
- - - - - - - - - - -
Modulekdeui
ClassKPasswordDialog
InheritsKDialogBase
-

enums

    -
  • Types = {Password, NewPassword -}
-

methods

    -
  • KPasswordDialog (type, enableKeep, extraBttn, parent = 0, name = 0) -
    -
    returns a KPasswordDialog instance
    - - - - - -
    ArgumentTypeDefault
    typeKPasswordDialog.Types
    enableKeepbool
    extraBttnint
    parentTQWidget0
    namechar0
    -

  • -
  • KPasswordDialog (type, prompt, enableKeep = 0, extraBttn = 0) -
    -
    returns a KPasswordDialog instance
    - - - - -
    ArgumentTypeDefault
    typeint
    promptTQString
    enableKeepbool0
    extraBttnint0
    -

  • -
  • KPasswordDialog (type, enableKeep, extraBttn, iconName, parent = 0, name = 0) -
    - -
    returns a KPasswordDialog instance
    In versions KDE 3.3.0 and above only
    - - - - - - -
    ArgumentTypeDefault
    typeKPasswordDialog.Types
    enableKeepbool
    extraBttnint
    iconNameTQString
    parentTQWidget0
    namechar0
    -

  • -
  • addLine (key, value) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    keyTQString
    valueTQString
    -

  • -
  • allowEmptyPasswords () -
    - -
    returns (bool)
    In versions KDE 3.4.0 and above only

  • -
  • checkPassword (a0) -
    -
    returns (bool)
    - -
    ArgumentTypeDefault
    a0char
    -

  • -
  • clearPassword () -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only

  • -
  • disableCoreDumps () -
    - -
    returns nothing
    static

  • -
  • getNewPassword (password, prompt) -
    - -
    returns (int)
    static
    - - -
    ArgumentTypeDefault
    passwordTQCString
    promptTQString
    -

  • -
  • getPassword (password, prompt) -
    - -
    returns (int) keep (int)
    static
    - - -
    ArgumentTypeDefault
    passwordTQCString
    promptTQString
    -

  • -
  • keep () -
    -
    returns (bool)

  • -
  • maximumPasswordLength () -
    - -
    returns (int)
    In versions KDE 3.4.0 and above only

  • -
  • minimumPasswordLength () -
    - -
    returns (int)
    In versions KDE 3.4.0 and above only

  • -
  • password () -
    -
    returns (char)

  • -
  • passwordStrengthWarningLevel () -
    - -
    returns (int)
    In versions KDE 3.4.0 and above only

  • -
  • prompt () -
    -
    returns (TQString)

  • -
  • reasonablePasswordLength () -
    - -
    returns (int)
    In versions KDE 3.4.0 and above only

  • -
  • setAllowEmptyPasswords (allowed) -
    - -
    returns nothing
    In versions KDE 3.4.0 and above only
    - -
    ArgumentTypeDefault
    allowedbool
    -

  • -
  • setMaximumPasswordLength (maxLength) -
    - -
    returns nothing
    In versions KDE 3.4.0 and above only
    - -
    ArgumentTypeDefault
    maxLengthint
    -

  • -
  • setMinimumPasswordLength (minLength) -
    - -
    returns nothing
    In versions KDE 3.4.0 and above only
    - -
    ArgumentTypeDefault
    minLengthint
    -

  • -
  • setPasswordStrengthWarningLevel (warningLevel) -
    - -
    returns nothing
    In versions KDE 3.4.0 and above only
    - -
    ArgumentTypeDefault
    warningLevelint
    -

  • -
  • setPrompt (prompt) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    promptTQString
    -

  • -
  • setReasonablePasswordLength (reasonableLength) -
    - -
    returns nothing
    In versions KDE 3.4.0 and above only
    - -
    ArgumentTypeDefault
    reasonableLengthint
    -

  • -
  • slotCancel () -
    -
    returns nothing

  • -
  • slotKeep (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0bool
    -

  • -
  • slotOk () -
    -
    returns nothing

  • -
- - - diff --git a/python/pykde/doc/classref/kdeui/KPasswordEdit.html b/python/pykde/doc/classref/kdeui/KPasswordEdit.html deleted file mode 100644 index 80427d92..00000000 --- a/python/pykde/doc/classref/kdeui/KPasswordEdit.html +++ /dev/null @@ -1,122 +0,0 @@ - - - - - class KPasswordEdit - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KPasswordEdit


-
- - - - - -
Table of contents
Modules
kdeui Classes
All Classes
-
- - - - - - - - - - -
Modulekdeui
ClassKPasswordEdit
InheritsTQLineEdit
-

enums

    -
  • EchoModes = {OneStar, ThreeStars, NoEcho -}
-

methods

    -
  • KPasswordEdit (parent = 0, name = 0) -
    -
    returns a KPasswordEdit instance
    - - -
    ArgumentTypeDefault
    parentTQWidget0
    namechar0
    -

  • -
  • KPasswordEdit (echoMode, parent, name) -
    -
    returns a KPasswordEdit instance
    - - - -
    ArgumentTypeDefault
    echoModeEchoMode
    parentTQWidget
    namechar
    -

  • -
  • KPasswordEdit (echoMode, parent, name) -
    - -
    returns a KPasswordEdit instance
    In versions KDE 3.2.0 and above only
    - - - -
    ArgumentTypeDefault
    echoModeKPasswordEdit.EchoModes
    parentTQWidget
    namechar
    -

  • -
  • KPasswordEdit (parent, name, echoMode) -
    -
    returns a KPasswordEdit instance
    - - - -
    ArgumentTypeDefault
    parentTQWidget
    namechar
    echoModeint
    -

  • -
  • erase () -
    -
    returns nothing

  • -
  • event (e) -
    -
    returns (bool)
    - -
    ArgumentTypeDefault
    eTQEvent
    -

  • -
  • focusInEvent (e) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    eTQFocusEvent
    -

  • -
  • insert (a0) -
    - -
    returns nothing
    In versions KDE 3.1.2 and above only
    - -
    ArgumentTypeDefault
    a0TQString
    -

  • -
  • keyPressEvent (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0TQKeyEvent
    -

  • -
  • maxPasswordLength () -
    - -
    returns (int)
    In versions KDE 3.4.0 and above only

  • -
  • password () -
    -
    returns (char)

  • -
  • setMaxPasswordLength (newLength) -
    - -
    returns nothing
    In versions KDE 3.4.0 and above only
    - -
    ArgumentTypeDefault
    newLengthint
    -

  • -
-

variables

- - - diff --git a/python/pykde/doc/classref/kdeui/KPasteTextAction.html b/python/pykde/doc/classref/kdeui/KPasteTextAction.html deleted file mode 100644 index 2c58d335..00000000 --- a/python/pykde/doc/classref/kdeui/KPasteTextAction.html +++ /dev/null @@ -1,83 +0,0 @@ - - - - - class KPasteTextAction - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KPasteTextAction


-
- - - - - -
Table of contents
Modules
kdeui Classes
All Classes
-
- - - - - - - - - - -
Modulekdeui
ClassKPasteTextAction
InheritsKAction
-

methods

    -
  • KPasteTextAction (text, icon, cut, slot, parent = 0, name = 0) -
    - -
    returns a KPasteTextAction instance
    In versions KDE 3.2.0 and above only
    - - - - - - -
    ArgumentTypeDefault
    textTQString
    iconTQString
    cutKShortcut
    slotSLOT (Python callable)
    parentTQObject0
    namechar0
    -

  • -
  • menuAboutToShow () -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only

  • -
  • menuItemActivated (id) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    idint
    -

  • -
  • plug (widget, index = -1) -
    - -
    returns (int)
    In versions KDE 3.2.0 and above only
    - - -
    ArgumentTypeDefault
    widgetTQWidget
    indexint-1
    -

  • -
  • setMixedMode (mode) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    modebool
    -

  • -
  • slotActivated () -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only

  • -
- - - diff --git a/python/pykde/doc/classref/kdeui/KPixmapIO.html b/python/pykde/doc/classref/kdeui/KPixmapIO.html deleted file mode 100644 index 1003bc9e..00000000 --- a/python/pykde/doc/classref/kdeui/KPixmapIO.html +++ /dev/null @@ -1,105 +0,0 @@ - - - - - class KPixmapIO - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KPixmapIO


-
- - - - - -
Table of contents
Modules
kdeui Classes
All Classes
-
- - - - - - - - - - -
Modulekdeui
ClassKPixmapIO
Inherits
-

enums

    -
  • ShmPolicies = {ShmDontKeep, ShmKeepAndGrow -}
-

methods

    -
  • KPixmapIO () -
    -
    returns a KPixmapIO instance

  • -
  • convertToImage (pixmap) -
    -
    returns (TQImage)
    - -
    ArgumentTypeDefault
    pixmapTQPixmap
    -

  • -
  • convertToPixmap (image) -
    -
    returns (TQPixmap)
    - -
    ArgumentTypeDefault
    imageTQImage
    -

  • -
  • getImage (src, sx, sy, sw, sh) -
    -
    returns (TQImage)
    - - - - - -
    ArgumentTypeDefault
    srcTQPixmap
    sxint
    syint
    swint
    shint
    -

  • -
  • getImage (src, rect) -
    -
    returns (TQImage)
    - - -
    ArgumentTypeDefault
    srcTQPixmap
    rectTQRect
    -

  • -
  • preAllocShm (size) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    sizeint
    -

  • -
  • putImage (dst, dx, dy, src) -
    -
    returns nothing
    - - - - -
    ArgumentTypeDefault
    dstTQPixmap
    dxint
    dyint
    srcTQImage
    -

  • -
  • putImage (dst, offset, src) -
    -
    returns nothing
    - - - -
    ArgumentTypeDefault
    dstTQPixmap
    offsetTQPoint
    srcTQImage
    -

  • -
  • setShmPolicy (policy) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    policyint
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kdeui/KPixmapRegionSelectorDialog.html b/python/pykde/doc/classref/kdeui/KPixmapRegionSelectorDialog.html deleted file mode 100644 index aeb78119..00000000 --- a/python/pykde/doc/classref/kdeui/KPixmapRegionSelectorDialog.html +++ /dev/null @@ -1,94 +0,0 @@ - - - - - class KPixmapRegionSelectorDialog - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KPixmapRegionSelectorDialog


-
- - - - - -
Table of contents
Modules
kdeui Classes
All Classes
-
- - - - - - - - - - -
Modulekdeui
ClassKPixmapRegionSelectorDialog
InheritsKDialogBase
-

methods

    -
  • KPixmapRegionSelectorDialog (parent = 0, name = 0, modal = 0) -
    - -
    returns a KPixmapRegionSelectorDialog instance
    In versions KDE 3.4.0 and above only
    - - - -
    ArgumentTypeDefault
    parentTQWidget0
    namechar0
    modalbool0
    -

  • -
  • getSelectedImage (pixmap, parent = 0) -
    - - -
    returns (TQImage)
    In versions KDE 3.4.0 and above only
    static
    - - -
    ArgumentTypeDefault
    pixmapTQPixmap
    parentTQWidget0
    -

  • -
  • getSelectedImage (pixmap, aspectRatioWidth, aspectRatioHeight, parent = 0) -
    - - -
    returns (TQImage)
    In versions KDE 3.4.0 and above only
    static
    - - - - -
    ArgumentTypeDefault
    pixmapTQPixmap
    aspectRatioWidthint
    aspectRatioHeightint
    parentTQWidget0
    -

  • -
  • getSelectedRegion (pixmap, parent = 0) -
    - - -
    returns (TQRect)
    In versions KDE 3.4.0 and above only
    static
    - - -
    ArgumentTypeDefault
    pixmapTQPixmap
    parentTQWidget0
    -

  • -
  • getSelectedRegion (pixmap, aspectRatioWidth, aspectRatioHeight, parent = 0) -
    - - -
    returns (TQRect)
    In versions KDE 3.4.0 and above only
    static
    - - - - -
    ArgumentTypeDefault
    pixmapTQPixmap
    aspectRatioWidthint
    aspectRatioHeightint
    parentTQWidget0
    -

  • -
  • pixmapRegionSelectorWidget () -
    - -
    returns (KPixmapRegionSelectorWidget)
    In versions KDE 3.4.0 and above only

  • -
- - - diff --git a/python/pykde/doc/classref/kdeui/KPixmapRegionSelectorWidget.html b/python/pykde/doc/classref/kdeui/KPixmapRegionSelectorWidget.html deleted file mode 100644 index fdc5b4e6..00000000 --- a/python/pykde/doc/classref/kdeui/KPixmapRegionSelectorWidget.html +++ /dev/null @@ -1,122 +0,0 @@ - - - - - class KPixmapRegionSelectorWidget - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KPixmapRegionSelectorWidget


-
- - - - - -
Table of contents
Modules
kdeui Classes
All Classes
-
- - - - - - - - - - -
Modulekdeui
ClassKPixmapRegionSelectorWidget
InheritsTQWidget
-

methods

    -
  • KPixmapRegionSelectorWidget (parent = 0, name = 0) -
    - -
    returns a KPixmapRegionSelectorWidget instance
    In versions KDE 3.4.0 and above only
    - - -
    ArgumentTypeDefault
    parentTQWidget0
    namechar0
    -

  • -
  • createPopupMenu () -
    - -
    returns (KPopupMenu)
    In versions KDE 3.4.0 and above only

  • -
  • pixmap () -
    - -
    returns (TQPixmap)
    In versions KDE 3.4.0 and above only

  • -
  • resetSelection () -
    - -
    returns nothing
    In versions KDE 3.4.0 and above only

  • -
  • rotate (direction) -
    - -
    returns nothing
    In versions KDE 3.4.0 and above only
    - -
    ArgumentTypeDefault
    directionKImageEffect.RotateDirection
    -

  • -
  • rotateClockwise () -
    - -
    returns nothing
    In versions KDE 3.4.0 and above only

  • -
  • rotateCounterclockwise () -
    - -
    returns nothing
    In versions KDE 3.4.0 and above only

  • -
  • selectedImage () -
    - -
    returns (TQImage)
    In versions KDE 3.4.0 and above only

  • -
  • selectedRegion () -
    - -
    returns (TQRect)
    In versions KDE 3.4.0 and above only

  • -
  • setFreeSelectionAspectRatio () -
    - -
    returns nothing
    In versions KDE 3.4.0 and above only

  • -
  • setMaximumWidgetSize (width, height) -
    - -
    returns nothing
    In versions KDE 3.4.0 and above only
    - - -
    ArgumentTypeDefault
    widthint
    heightint
    -

  • -
  • setPixmap (pixmap) -
    - -
    returns nothing
    In versions KDE 3.4.0 and above only
    - -
    ArgumentTypeDefault
    pixmapTQPixmap
    -

  • -
  • setSelectedRegion (rect) -
    - -
    returns nothing
    In versions KDE 3.4.0 and above only
    - -
    ArgumentTypeDefault
    rectTQRect
    -

  • -
  • setSelectionAspectRatio (width, height) -
    - -
    returns nothing
    In versions KDE 3.4.0 and above only
    - - -
    ArgumentTypeDefault
    widthint
    heightint
    -

  • -
  • unzoomedSelectedRegion () -
    - -
    returns (TQRect)
    In versions KDE 3.4.0 and above only

  • -
- - - diff --git a/python/pykde/doc/classref/kdeui/KPopupFrame.html b/python/pykde/doc/classref/kdeui/KPopupFrame.html deleted file mode 100644 index 244e1fa3..00000000 --- a/python/pykde/doc/classref/kdeui/KPopupFrame.html +++ /dev/null @@ -1,115 +0,0 @@ - - - - - class KPopupFrame - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KPopupFrame


-
- - - - - -
Table of contents
Modules
kdeui Classes
All Classes
-
- - - - - - - - - - -
Modulekdeui
ClassKPopupFrame
InheritsTQFrame
-

methods

    -
  • KPopupFrame (parent = 0, name = 0) -
    -
    returns a KPopupFrame instance
    - - -
    ArgumentTypeDefault
    parentTQWidget0
    namechar0
    -

  • -
  • close (r) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    rint
    -

  • -
  • exec_ (p) -
    - -
    returns (int)
    Renamed: was ' exec -' in C++
    - -
    ArgumentTypeDefault
    pTQPoint
    -

  • -
  • exec_ (x, y) -
    - -
    returns (int)
    Renamed: was ' exec -' in C++
    - - -
    ArgumentTypeDefault
    xint
    yint
    -

  • -
  • hide () -
    - -
    returns nothing
    In versions KDE 3.5.0 and above only

  • -
  • keyPressEvent (e) -
    - -
    returns nothing
    In versions KDE 3.0.1 and above only
    - -
    ArgumentTypeDefault
    eTQKeyEvent
    -

  • -
  • keyPressEvent (a0) -
    - -
    returns nothing
    In versions less than KDE 3.0.1 only
    - -
    ArgumentTypeDefault
    a0TQKeyEvent
    -

  • -
  • popup (pos) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    posTQPoint
    -

  • -
  • resizeEvent (a0) -
    - -
    returns nothing
    In versions KDE 3.0.1 and above only
    - -
    ArgumentTypeDefault
    a0TQResizeEvent
    -

  • -
  • resizeEvent (a0) -
    - -
    returns nothing
    In versions less than KDE 3.0.1 only
    - -
    ArgumentTypeDefault
    a0TQResizeEvent
    -

  • -
  • setMainWidget (m) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    mTQWidget
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kdeui/KPopupMenu.html b/python/pykde/doc/classref/kdeui/KPopupMenu.html deleted file mode 100644 index 7dae019a..00000000 --- a/python/pykde/doc/classref/kdeui/KPopupMenu.html +++ /dev/null @@ -1,244 +0,0 @@ - - - - - class KPopupMenu - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KPopupMenu


-
- - - - - -
Table of contents
Modules
kdeui Classes
All Classes
-
- - - - - - - - - - -
Modulekdeui
ClassKPopupMenu
InheritsTQPopupMenu
-

methods

    -
  • KPopupMenu (parent = 0, name = 0) -
    -
    returns a KPopupMenu instance
    - - -
    ArgumentTypeDefault
    parentTQWidget0
    namechar0
    -

  • -
  • KPopupMenu (title, parent = 0, name = 0) -
    -
    returns a KPopupMenu instance
    - - - -
    ArgumentTypeDefault
    titleTQString
    parentTQWidget0
    namechar0
    -

  • -
  • aboutToShowContextMenu (menu, menuItem, ctxMenu) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - - - -
    ArgumentTypeDefault
    menuKPopupMenu
    menuItemint
    ctxMenuTQPopupMenu
    -

  • -
  • activateItemAt (index) -
    - -
    returns nothing
    In versions KDE 3.4.0 and above only
    - -
    ArgumentTypeDefault
    indexint
    -

  • -
  • changeTitle (id, text) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    idint
    textTQString
    -

  • -
  • changeTitle (id, icon, text) -
    -
    returns nothing
    - - - -
    ArgumentTypeDefault
    idint
    iconTQPixmap
    textTQString
    -

  • -
  • closeEvent (a0) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    a0TQCloseEvent
    -

  • -
  • contextMenu () -
    - -
    returns (TQPopupMenu)
    In versions KDE 3.2.0 and above only

  • -
  • contextMenuEvent (e) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    eTQContextMenuEvent
    -

  • -
  • contextMenuFocus () -
    - - -
    returns (KPopupMenu)
    In versions KDE 3.2.0 and above only
    static

  • -
  • contextMenuFocusItem () -
    - - -
    returns (int)
    In versions KDE 3.2.0 and above only
    static

  • -
  • ctxMenuHideShowingMenu () -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only

  • -
  • ctxMenuHiding () -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only

  • -
  • focusNextPrevChild (next) -
    - -
    returns (bool)
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    nextbool
    -

  • -
  • hideContextMenu () -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only

  • -
  • hideEvent (a0) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    a0TQHideEvent
    -

  • -
  • insertTitle (text, id = -1, index = -1) -
    -
    returns (int)
    - - - -
    ArgumentTypeDefault
    textTQString
    idint-1
    indexint-1
    -

  • -
  • insertTitle (icon, text, id = -1, index = -1) -
    -
    returns (int)
    - - - - -
    ArgumentTypeDefault
    iconTQPixmap
    textTQString
    idint-1
    indexint-1
    -

  • -
  • itemHighlighted (whichItem) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    whichItemint
    -

  • -
  • keyPressEvent (e) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    eTQKeyEvent
    -

  • -
  • mousePressEvent (e) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    eTQMouseEvent
    -

  • -
  • mouseReleaseEvent (e) -
    - -
    returns nothing
    In versions KDE 3.4.0 and above only
    - -
    ArgumentTypeDefault
    eTQMouseEvent
    -

  • -
  • resetKeyboardVars (noMatches = 0) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    noMatchesbool0
    -

  • -
  • setKeyboardShortcutsEnabled (enable) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    enablebool
    -

  • -
  • setKeyboardShortcutsExecute (enable) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    enablebool
    -

  • -
  • setTitle (title) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    titleTQString
    -

  • -
  • showCtxMenu (pos) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    posTQPoint
    -

  • -
  • state () -
    - -
    returns (Qt.ButtonState)
    In versions KDE 3.4.0 and above only

  • -
  • title (id = -1) -
    -
    returns (TQString)
    - -
    ArgumentTypeDefault
    idint-1
    -

  • -
  • titlePixmap (id) -
    -
    returns (TQPixmap)
    - -
    ArgumentTypeDefault
    idint
    -

  • -
  • underlineText (text, length) -
    - -
    returns (TQString)
    In versions KDE 3.1.0 and above only
    - - -
    ArgumentTypeDefault
    textTQString
    lengthuint
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kdeui/KPopupTitle.html b/python/pykde/doc/classref/kdeui/KPopupTitle.html deleted file mode 100644 index 12d77a72..00000000 --- a/python/pykde/doc/classref/kdeui/KPopupTitle.html +++ /dev/null @@ -1,108 +0,0 @@ - - - - - class KPopupTitle - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KPopupTitle


-
- - - - - -
Table of contents
Modules
kdeui Classes
All Classes
-
- - - - - - - - - - -
Modulekdeui
ClassKPopupTitle
InheritsTQWidget
-

methods

    -
  • KPopupTitle (parent = 0, name = 0) -
    -
    returns a KPopupTitle instance
    - - -
    ArgumentTypeDefault
    parentTQWidget0
    namechar0
    -

  • -
  • KPopupTitle (gradient, color, textColor, parent = 0, name = 0) -
    -
    returns a KPopupTitle instance
    - - - - - -
    ArgumentTypeDefault
    gradientKPixmapEffect.GradientType
    colorTQColor
    textColorTQColor
    parentTQWidget0
    namechar0
    -

  • -
  • KPopupTitle (background, color, textColor, parent = 0, name = 0) -
    -
    returns a KPopupTitle instance
    - - - - - -
    ArgumentTypeDefault
    backgroundKPixmap
    colorTQColor
    textColorTQColor
    parentTQWidget0
    namechar0
    -

  • -
  • calcSize () -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only

  • -
  • icon () -
    -
    returns (TQPixmap)

  • -
  • paintEvent (ev) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    evTQPaintEvent
    -

  • -
  • setIcon (pix) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    pixTQPixmap
    -

  • -
  • setText (text) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    textTQString
    -

  • -
  • setTitle (text, icon = 0) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    textTQString
    iconTQPixmap0
    -

  • -
  • sizeHint () -
    -
    returns (TQSize)

  • -
  • title () -
    -
    returns (TQString)

  • -
- - - diff --git a/python/pykde/doc/classref/kdeui/KProgress.html b/python/pykde/doc/classref/kdeui/KProgress.html deleted file mode 100644 index 5d467270..00000000 --- a/python/pykde/doc/classref/kdeui/KProgress.html +++ /dev/null @@ -1,127 +0,0 @@ - - - - - class KProgress - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KProgress


-
- - - - - -
Table of contents
Modules
kdeui Classes
All Classes
-
- - - - - - - - - - -
Modulekdeui
ClassKProgress
InheritsTQProgressBar
-

methods

    -
  • KProgress (parent = 0, name = 0, f = 0) -
    -
    returns a KProgress instance
    - - - -
    ArgumentTypeDefault
    parentTQWidget0
    namechar0
    fWFlags0
    -

  • -
  • KProgress (totalSteps, parent = 0, name = 0, f = 0) -
    -
    returns a KProgress instance
    - - - - -
    ArgumentTypeDefault
    totalStepsint
    parentTQWidget0
    namechar0
    fWFlags0
    -

  • -
  • advance (offset) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    offsetint
    -

  • -
  • format () -
    -
    returns (TQString)

  • -
  • maxValue () -
    -
    returns (int)

  • -
  • percentageChanged (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0int
    -

  • -
  • setFormat (format) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    formatTQString
    -

  • -
  • setIndicator (indicator, progress, totalSteps) -
    -
    returns (bool)
    - - - -
    ArgumentTypeDefault
    indicatorTQString
    progressint
    totalStepsint
    -

  • -
  • setProgress (progress) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    progressint
    -

  • -
  • setRange (min, max) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    minint
    maxint
    -

  • -
  • setTextEnabled (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0bool
    -

  • -
  • setTotalSteps (totalSteps) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    totalStepsint
    -

  • -
  • setValue (progress) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    progressint
    -

  • -
  • textEnabled () -
    -
    returns (bool)

  • -
  • value () -
    -
    returns (int)

  • -
- - - diff --git a/python/pykde/doc/classref/kdeui/KProgressDialog.html b/python/pykde/doc/classref/kdeui/KProgressDialog.html deleted file mode 100644 index f40fd6f5..00000000 --- a/python/pykde/doc/classref/kdeui/KProgressDialog.html +++ /dev/null @@ -1,133 +0,0 @@ - - - - - class KProgressDialog - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KProgressDialog


-
- - - - - -
Table of contents
Modules
kdeui Classes
All Classes
-
- - - - - - - - - - -
Modulekdeui
ClassKProgressDialog
InheritsKDialogBase
-

methods

    -
  • KProgressDialog (parent = 0, name = 0, caption = TQString .null, text = TQString .null, modal = 0) -
    -
    returns a KProgressDialog instance
    - - - - - -
    ArgumentTypeDefault
    parentTQWidget0
    namechar0
    captionTQStringTQString .null
    textTQStringTQString .null
    modalbool0
    -

  • -
  • allowCancel () -
    -
    returns (bool)

  • -
  • autoClose () -
    -
    returns (bool)

  • -
  • autoReset () -
    -
    returns (bool)

  • -
  • buttonText () -
    -
    returns (TQString)

  • -
  • labelText () -
    -
    returns (TQString)

  • -
  • minimumDuration () -
    -
    returns (int)

  • -
  • progressBar () -
    -
    returns (KProgress)

  • -
  • setAllowCancel (allowCancel) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    allowCancelbool
    -

  • -
  • setAutoClose (close) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    closebool
    -

  • -
  • setAutoReset (autoReset) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    autoResetbool
    -

  • -
  • setButtonText (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0TQString
    -

  • -
  • setLabel (text) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    textTQString
    -

  • -
  • setMinimumDuration (ms) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    msint
    -

  • -
  • show () -
    - -
    returns nothing
    In versions KDE 3.5.3 and above only

  • -
  • showCancelButton (show) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    showbool
    -

  • -
  • slotAutoActions (percentage) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    percentageint
    -

  • -
  • slotAutoShow () -
    -
    returns nothing

  • -
  • slotCancel () -
    -
    returns nothing

  • -
  • wasCancelled () -
    -
    returns (bool)

  • -
- - - diff --git a/python/pykde/doc/classref/kdeui/KPushButton.html b/python/pykde/doc/classref/kdeui/KPushButton.html deleted file mode 100644 index 126dda09..00000000 --- a/python/pykde/doc/classref/kdeui/KPushButton.html +++ /dev/null @@ -1,142 +0,0 @@ - - - - - class KPushButton - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KPushButton


-
- - - - - -
Table of contents
Modules
kdeui Classes
All Classes
-
- - - - - - - - - - -
Modulekdeui
ClassKPushButton
InheritsTQPushButton
-

methods

    -
  • KPushButton (parent, name = 0) -
    -
    returns a KPushButton instance
    - - -
    ArgumentTypeDefault
    parentTQWidget
    namechar0
    -

  • -
  • KPushButton (text, parent, name = 0) -
    -
    returns a KPushButton instance
    - - - -
    ArgumentTypeDefault
    textTQString
    parentTQWidget
    namechar0
    -

  • -
  • KPushButton (icon, text, parent, name = 0) -
    -
    returns a KPushButton instance
    - - - - -
    ArgumentTypeDefault
    iconTQIconSet
    textTQString
    parentTQWidget
    namechar0
    -

  • -
  • KPushButton (item, parent, name = 0) -
    -
    returns a KPushButton instance
    - - - -
    ArgumentTypeDefault
    itemKGuiItem
    parentTQWidget
    namechar0
    -

  • -
  • dragObject () -
    -
    returns (TQDragObject)

  • -
  • guiItem () -
    - -
    returns (KStdGuiItem.StdItem)
    In versions KDE 3.4.0 and above only

  • -
  • guiItm () -
    - -
    returns (int)
    In versions KDE 3.4.0 and above only

  • -
  • isDragEnabled () -
    -
    returns (bool)

  • -
  • mouseMoveEvent (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0TQMouseEvent
    -

  • -
  • mousePressEvent (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0TQMouseEvent
    -

  • -
  • setDragEnabled (enable) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    enablebool
    -

  • -
  • setGuiItem (item) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    itemKGuiItem
    -

  • -
  • setGuiItem (item) -
    - -
    returns nothing
    In versions KDE 3.4.0 and above only
    - -
    ArgumentTypeDefault
    itemKStdGuiItem.StdItem
    -

  • -
  • setGuiItm (itm) -
    - -
    returns nothing
    In versions KDE 3.4.0 and above only
    - -
    ArgumentTypeDefault
    itmint
    -

  • -
  • setIconSet (iconSet) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    iconSetTQIconSet
    -

  • -
  • setText (text) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    textTQString
    -

  • -
  • startDrag () -
    -
    returns nothing

  • -
- - - diff --git a/python/pykde/doc/classref/kdeui/KRadioAction.html b/python/pykde/doc/classref/kdeui/KRadioAction.html deleted file mode 100644 index 63b2ee3a..00000000 --- a/python/pykde/doc/classref/kdeui/KRadioAction.html +++ /dev/null @@ -1,199 +0,0 @@ - - - - - class KRadioAction - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KRadioAction


-
- - - - - -
Table of contents
Modules
kdeui Classes
All Classes
-
- - - - - - - - - - -
Modulekdeui
ClassKRadioAction
InheritsKToggleAction
-

methods

    -
  • KRadioAction (a0, a1 = KShortcut (), a2 = 0, a3 = 0) -
    - -
    returns a KRadioAction instance
    In versions less than KDE 3.2.0 only
    - - - - -
    ArgumentTypeDefault
    a0TQString
    a1KShortcutKShortcut ()
    a2TQObject0
    a3char0
    -

  • -
  • KRadioAction (a0, a1, slot, a4, a5 = 0) -
    - -
    returns a KRadioAction instance
    In versions less than KDE 3.2.0 only
    - - - - - -
    ArgumentTypeDefault
    a0TQString
    a1KShortcut
    slotSLOT (Python callable)
    a4TQObject
    a5char0
    -

  • -
  • KRadioAction (text, pix, cut = KShortcut (), parent = 0, name = 0) -
    - -
    returns a KRadioAction instance
    In versions KDE 3.2.0 and above only
    - - - - - -
    ArgumentTypeDefault
    textTQString
    pixTQString
    cutKShortcutKShortcut ()
    parentTQObject0
    namechar0
    -

  • -
  • KRadioAction (text, pix, cut, slot, parent, name = 0) -
    - -
    returns a KRadioAction instance
    In versions KDE 3.2.0 and above only
    - - - - - - -
    ArgumentTypeDefault
    textTQString
    pixTQIconSet
    cutKShortcut
    slotSLOT (Python callable)
    parentTQObject
    namechar0
    -

  • -
  • KRadioAction (text, pix, cut, slot, parent, name = 0) -
    - -
    returns a KRadioAction instance
    In versions KDE 3.2.0 and above only
    - - - - - - -
    ArgumentTypeDefault
    textTQString
    pixTQString
    cutKShortcut
    slotSLOT (Python callable)
    parentTQObject
    namechar0
    -

  • -
  • KRadioAction (parent = 0, name = 0) -
    - -
    returns a KRadioAction instance
    In versions KDE 3.2.0 and above only
    - - -
    ArgumentTypeDefault
    parentTQObject0
    namechar0
    -

  • -
  • KRadioAction (a0, a1, a2 = KShortcut (), a3 = 0, a4 = 0) -
    - -
    returns a KRadioAction instance
    In versions less than KDE 3.2.0 only
    - - - - - -
    ArgumentTypeDefault
    a0TQString
    a1TQIconSet
    a2KShortcutKShortcut ()
    a3TQObject0
    a4char0
    -

  • -
  • KRadioAction (a0, a1, a2 = KShortcut (), a3 = 0, a4 = 0) -
    - -
    returns a KRadioAction instance
    In versions less than KDE 3.2.0 only
    - - - - - -
    ArgumentTypeDefault
    a0TQString
    a1TQString
    a2KShortcutKShortcut ()
    a3TQObject0
    a4char0
    -

  • -
  • KRadioAction (a0, a1, a2, slot, a5, a6 = 0) -
    - -
    returns a KRadioAction instance
    In versions less than KDE 3.2.0 only
    - - - - - - -
    ArgumentTypeDefault
    a0TQString
    a1TQIconSet
    a2KShortcut
    slotSLOT (Python callable)
    a5TQObject
    a6char0
    -

  • -
  • KRadioAction (a0, a1, a2, slot, a5, a6 = 0) -
    - -
    returns a KRadioAction instance
    In versions less than KDE 3.2.0 only
    - - - - - - -
    ArgumentTypeDefault
    a0TQString
    a1TQString
    a2KShortcut
    slotSLOT (Python callable)
    a5TQObject
    a6char0
    -

  • -
  • KRadioAction (a0 = 0, a1 = 0) -
    - -
    returns a KRadioAction instance
    In versions less than KDE 3.2.0 only
    - - -
    ArgumentTypeDefault
    a0TQObject0
    a1char0
    -

  • -
  • KRadioAction (text, cut = KShortcut (), parent = 0, name = 0) -
    - -
    returns a KRadioAction instance
    In versions KDE 3.2.0 and above only
    - - - - -
    ArgumentTypeDefault
    textTQString
    cutKShortcutKShortcut ()
    parentTQObject0
    namechar0
    -

  • -
  • KRadioAction (text, cut, slot, parent, name = 0) -
    - -
    returns a KRadioAction instance
    In versions KDE 3.2.0 and above only
    - - - - - -
    ArgumentTypeDefault
    textTQString
    cutKShortcut
    slotSLOT (Python callable)
    parentTQObject
    namechar0
    -

  • -
  • KRadioAction (text, pix, cut = KShortcut (), parent = 0, name = 0) -
    - -
    returns a KRadioAction instance
    In versions KDE 3.2.0 and above only
    - - - - - -
    ArgumentTypeDefault
    textTQString
    pixTQIconSet
    cutKShortcutKShortcut ()
    parentTQObject0
    namechar0
    -

  • -
  • slotActivated () -
    - -
    returns nothing
    In versions less than KDE 3.2.0 only

  • -
  • slotActivated () -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only

  • -
- - - diff --git a/python/pykde/doc/classref/kdeui/KRecentFilesAction.html b/python/pykde/doc/classref/kdeui/KRecentFilesAction.html deleted file mode 100644 index d3c47e44..00000000 --- a/python/pykde/doc/classref/kdeui/KRecentFilesAction.html +++ /dev/null @@ -1,380 +0,0 @@ - - - - - class KRecentFilesAction - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KRecentFilesAction


-
- - - - - -
Table of contents
Modules
kdeui Classes
All Classes
-
- - - - - - - - - - -
Modulekdeui
ClassKRecentFilesAction
InheritsKListAction
-

methods

    -
  • KRecentFilesAction (a0, a1, a2, a3 = 0, a4 = 10) -
    - -
    returns a KRecentFilesAction instance
    In versions less than KDE 3.2.0 only
    - - - - - -
    ArgumentTypeDefault
    a0TQString
    a1KShortcut
    a2TQObject
    a3char0
    a4uint10
    -

  • -
  • KRecentFilesAction (a0, a1, slot, a4, a5 = 0, a6 = 10) -
    - -
    returns a KRecentFilesAction instance
    In versions less than KDE 3.2.0 only
    - - - - - - -
    ArgumentTypeDefault
    a0TQString
    a1KShortcut
    slotSLOT (Python callable)
    a4TQObject
    a5char0
    a6uint10
    -

  • -
  • KRecentFilesAction (text, pix, cut, parent, name = 0, maxItems = 10) -
    - -
    returns a KRecentFilesAction instance
    In versions KDE 3.2.0 and above only
    - - - - - - -
    ArgumentTypeDefault
    textTQString
    pixTQString
    cutKShortcut
    parentTQObject
    namechar0
    maxItemsuint10
    -

  • -
  • KRecentFilesAction (text, pix, cut, slot, parent, name = 0, maxItems = 10) -
    - -
    returns a KRecentFilesAction instance
    In versions KDE 3.2.0 and above only
    - - - - - - - -
    ArgumentTypeDefault
    textTQString
    pixTQIconSet
    cutKShortcut
    slotSLOT (Python callable)
    parentTQObject
    namechar0
    maxItemsuint10
    -

  • -
  • KRecentFilesAction (text, pix, cut, slot, parent, name = 0, maxItems = 10) -
    - -
    returns a KRecentFilesAction instance
    In versions KDE 3.2.0 and above only
    - - - - - - - -
    ArgumentTypeDefault
    textTQString
    pixTQString
    cutKShortcut
    slotSLOT (Python callable)
    parentTQObject
    namechar0
    maxItemsuint10
    -

  • -
  • KRecentFilesAction (parent = 0, name = 0, maxItems = 10) -
    - -
    returns a KRecentFilesAction instance
    In versions KDE 3.2.0 and above only
    - - - -
    ArgumentTypeDefault
    parentTQObject0
    namechar0
    maxItemsuint10
    -

  • -
  • KRecentFilesAction (a0, a1, a2, a3, a4 = 0, a5 = 10) -
    - -
    returns a KRecentFilesAction instance
    In versions less than KDE 3.2.0 only
    - - - - - - -
    ArgumentTypeDefault
    a0TQString
    a1TQIconSet
    a2KShortcut
    a3TQObject
    a4char0
    a5uint10
    -

  • -
  • KRecentFilesAction (a0, a1, a2, a3, a4 = 0, a5 = 10) -
    - -
    returns a KRecentFilesAction instance
    In versions less than KDE 3.2.0 only
    - - - - - - -
    ArgumentTypeDefault
    a0TQString
    a1TQString
    a2KShortcut
    a3TQObject
    a4char0
    a5uint10
    -

  • -
  • KRecentFilesAction (a0, a1, a2, slot, a5, a6 = 0, a7 = 10) -
    - -
    returns a KRecentFilesAction instance
    In versions less than KDE 3.2.0 only
    - - - - - - - -
    ArgumentTypeDefault
    a0TQString
    a1TQIconSet
    a2KShortcut
    slotSLOT (Python callable)
    a5TQObject
    a6char0
    a7uint10
    -

  • -
  • KRecentFilesAction (a0, a1, a2, slot, a5, a6 = 0, a7 = 10) -
    - -
    returns a KRecentFilesAction instance
    In versions less than KDE 3.2.0 only
    - - - - - - - -
    ArgumentTypeDefault
    a0TQString
    a1TQString
    a2KShortcut
    slotSLOT (Python callable)
    a5TQObject
    a6char0
    a7uint10
    -

  • -
  • KRecentFilesAction (a0 = 0, a1 = 0, a2 = 10) -
    - -
    returns a KRecentFilesAction instance
    In versions less than KDE 3.2.0 only
    - - - -
    ArgumentTypeDefault
    a0TQObject0
    a1char0
    a2uint10
    -

  • -
  • KRecentFilesAction (text, cut, parent, name = 0, maxItems = 10) -
    - -
    returns a KRecentFilesAction instance
    In versions KDE 3.2.0 and above only
    - - - - - -
    ArgumentTypeDefault
    textTQString
    cutKShortcut
    parentTQObject
    namechar0
    maxItemsuint10
    -

  • -
  • KRecentFilesAction (text, cut, slot, parent, name = 0, maxItems = 10) -
    - -
    returns a KRecentFilesAction instance
    In versions KDE 3.2.0 and above only
    - - - - - - -
    ArgumentTypeDefault
    textTQString
    cutKShortcut
    slotSLOT (Python callable)
    parentTQObject
    namechar0
    maxItemsuint10
    -

  • -
  • KRecentFilesAction (text, pix, cut, parent, name = 0, maxItems = 10) -
    - -
    returns a KRecentFilesAction instance
    In versions KDE 3.2.0 and above only
    - - - - - - -
    ArgumentTypeDefault
    textTQString
    pixTQIconSet
    cutKShortcut
    parentTQObject
    namechar0
    maxItemsuint10
    -

  • -
  • addURL (a0) -
    - -
    returns nothing
    In versions less than KDE 3.2.0 only
    - -
    ArgumentTypeDefault
    a0KURL
    -

  • -
  • addURL (url) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    urlKURL
    -

  • -
  • addURL (url, name) -
    - -
    returns nothing
    In versions KDE 3.5.0 and above only
    - - -
    ArgumentTypeDefault
    urlKURL
    nameTQString
    -

  • -
  • clearURLList () -
    - -
    returns nothing
    In versions less than KDE 3.2.0 only

  • -
  • clearURLList () -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only

  • -
  • completeItems () -
    - -
    returns (TQStringList)
    In versions KDE 3.5.0 and above only

  • -
  • itemSelected (a0) -
    - -
    returns nothing
    In versions less than KDE 3.2.0 only
    - -
    ArgumentTypeDefault
    a0TQString
    -

  • -
  • itemSelected (string) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    stringTQString
    -

  • -
  • items () -
    - -
    returns (TQStringList)
    In versions KDE 3.5.0 and above only

  • -
  • loadEntries (a0, a1 = TQString .null) -
    - -
    returns nothing
    In versions less than KDE 3.2.0 only
    - - -
    ArgumentTypeDefault
    a0KConfig
    a1TQStringTQString .null
    -

  • -
  • loadEntries (config, groupname = TQString .null) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - - -
    ArgumentTypeDefault
    configKConfig
    groupnameTQStringTQString .null
    -

  • -
  • maxItems () -
    - -
    returns (uint)
    In versions less than KDE 3.2.0 only

  • -
  • maxItems () -
    - -
    returns (uint)
    In versions KDE 3.2.0 and above only

  • -
  • menuAboutToShow () -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only

  • -
  • menuItemActivated (id) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    idint
    -

  • -
  • plug (widget, index = -1) -
    - -
    returns (int)
    In versions KDE 3.2.0 and above only
    - - -
    ArgumentTypeDefault
    widgetTQWidget
    indexint-1
    -

  • -
  • removeURL (a0) -
    - -
    returns nothing
    In versions less than KDE 3.2.0 only
    - -
    ArgumentTypeDefault
    a0KURL
    -

  • -
  • removeURL (url) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    urlKURL
    -

  • -
  • saveEntries (a0, a1 = TQString .null) -
    - -
    returns nothing
    In versions less than KDE 3.2.0 only
    - - -
    ArgumentTypeDefault
    a0KConfig
    a1TQStringTQString .null
    -

  • -
  • saveEntries (config, groupname = TQString .null) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - - -
    ArgumentTypeDefault
    configKConfig
    groupnameTQStringTQString .null
    -

  • -
  • setMaxItems (a0) -
    - -
    returns nothing
    In versions less than KDE 3.2.0 only
    - -
    ArgumentTypeDefault
    a0uint
    -

  • -
  • setMaxItems (maxItems) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    maxItemsuint
    -

  • -
  • slotActivated (a0) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    a0int
    -

  • -
  • slotActivated (a0) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    a0TQString
    -

  • -
  • slotActivated () -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only

  • -
  • slotClicked () -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only

  • -
  • urlSelected (a0) -
    - -
    returns nothing
    In versions less than KDE 3.2.0 only
    - -
    ArgumentTypeDefault
    a0KURL
    -

  • -
  • urlSelected (url) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    urlKURL
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kdeui/KRestrictedLine.html b/python/pykde/doc/classref/kdeui/KRestrictedLine.html deleted file mode 100644 index e2f866da..00000000 --- a/python/pykde/doc/classref/kdeui/KRestrictedLine.html +++ /dev/null @@ -1,70 +0,0 @@ - - - - - class KRestrictedLine - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KRestrictedLine


-
- - - - - -
Table of contents
Modules
kdeui Classes
All Classes
-
- - - - - - - - - - -
Modulekdeui
ClassKRestrictedLine
InheritsKLineEdit
-

methods

    -
  • KRestrictedLine (parent = 0, name = 0, valid = TQString .null) -
    -
    returns a KRestrictedLine instance
    - - - -
    ArgumentTypeDefault
    parentTQWidget0
    namechar0
    validTQStringTQString .null
    -

  • -
  • invalidChar (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0int
    -

  • -
  • keyPressEvent (e) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    eTQKeyEvent
    -

  • -
  • setValidChars (valid) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    validTQString
    -

  • -
  • validChars () -
    -
    returns (TQString)

  • -
- - - diff --git a/python/pykde/doc/classref/kdeui/KRootPermsIcon.html b/python/pykde/doc/classref/kdeui/KRootPermsIcon.html deleted file mode 100644 index bd3551dc..00000000 --- a/python/pykde/doc/classref/kdeui/KRootPermsIcon.html +++ /dev/null @@ -1,54 +0,0 @@ - - - - - class KRootPermsIcon - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KRootPermsIcon


-
- - - - - -
Table of contents
Modules
kdeui Classes
All Classes
-
- - - - - - - - - - -
Modulekdeui
ClassKRootPermsIcon
InheritsKAuthIcon
-

methods

    -
  • KRootPermsIcon (parent = 0, name = 0) -
    -
    returns a KRootPermsIcon instance
    - - -
    ArgumentTypeDefault
    parentTQWidget0
    namechar0
    -

  • -
  • status () -
    -
    returns (bool)

  • -
  • updateStatus () -
    -
    returns nothing

  • -
- - - diff --git a/python/pykde/doc/classref/kdeui/KRootPixmap.html b/python/pykde/doc/classref/kdeui/KRootPixmap.html deleted file mode 100644 index 8cd65837..00000000 --- a/python/pykde/doc/classref/kdeui/KRootPixmap.html +++ /dev/null @@ -1,132 +0,0 @@ - - - - - class KRootPixmap - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KRootPixmap


-
- - - - - -
Table of contents
Modules
kdeui Classes
All Classes
-
- - - - - - - - - - -
Modulekdeui
ClassKRootPixmap
InheritsTQObject
-

methods

    -
  • KRootPixmap (target, name = 0) -
    -
    returns a KRootPixmap instance
    - - -
    ArgumentTypeDefault
    targetTQWidget
    namechar0
    -

  • -
  • KRootPixmap (target, parent, name = 0) -
    -
    returns a KRootPixmap instance
    - - - -
    ArgumentTypeDefault
    targetTQWidget
    parentTQObject
    namechar0
    -

  • -
  • backgroundUpdated (pm) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    pmTQPixmap
    -

  • -
  • checkAvailable (a0) -
    -
    returns (bool)
    - -
    ArgumentTypeDefault
    a0bool
    -

  • -
  • color () -
    - -
    returns (TQColor)
    In versions KDE 3.2.0 and above only

  • -
  • currentDesktop () -
    -
    returns (int)

  • -
  • customPainting () -
    -
    returns (bool)

  • -
  • enableExports () -
    -
    returns nothing

  • -
  • eventFilter (a0, a1) -
    -
    returns (bool)
    - - -
    ArgumentTypeDefault
    a0TQObject
    a1TQEvent
    -

  • -
  • isActive () -
    -
    returns (bool)

  • -
  • isAvailable () -
    -
    returns (bool)

  • -
  • opacity () -
    - -
    returns (double)
    In versions KDE 3.2.0 and above only

  • -
  • pixmapName (desk) -
    Not Implemented
    -

  • -
  • repaint (force) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    forcebool
    -

  • -
  • repaint () -
    -
    returns nothing

  • -
  • setCustomPainting (enable) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    enablebool
    -

  • -
  • setFadeEffect (opacity, color) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    opacitydouble
    colorTQColor
    -

  • -
  • start () -
    -
    returns nothing

  • -
  • stop () -
    -
    returns nothing

  • -
  • updateBackground (a0) -
    Not Implemented
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kdeui/KRuler.html b/python/pykde/doc/classref/kdeui/KRuler.html deleted file mode 100644 index 3c4c6abc..00000000 --- a/python/pykde/doc/classref/kdeui/KRuler.html +++ /dev/null @@ -1,311 +0,0 @@ - - - - - class KRuler - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KRuler


-
- - - - - -
Table of contents
Modules
kdeui Classes
All Classes
-
- - - - - - - - - - -
Modulekdeui
ClassKRuler
InheritsTQFrame
-

enums

    -
  • MetricStyle = {Custom, Pixel, Inch, Millimetres, Centimetres, Metres -}
-

methods

    -
  • KRuler (parent = 0, name = 0) -
    -
    returns a KRuler instance
    - - -
    ArgumentTypeDefault
    parentTQWidget0
    namechar0
    -

  • -
  • KRuler (orient, parent = 0, name = 0, f = 0) -
    -
    returns a KRuler instance
    - - - - -
    ArgumentTypeDefault
    orientOrientation
    parentTQWidget0
    namechar0
    fWFlags0
    -

  • -
  • KRuler (orient, widgetWidth, parent = 0, name = 0, f = 0) -
    -
    returns a KRuler instance
    - - - - - -
    ArgumentTypeDefault
    orientOrientation
    widgetWidthint
    parentTQWidget0
    namechar0
    fWFlags0
    -

  • -
  • bigMarkDistance () -
    -
    returns (int)

  • -
  • drawContents (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0TQPainter
    -

  • -
  • endLabel () -
    -
    returns (TQString)

  • -
  • endOffset () -
    -
    returns (int)

  • -
  • length () -
    -
    returns (int)

  • -
  • lengthFixed () -
    -
    returns (bool)

  • -
  • littleMarkDistance () -
    -
    returns (int)

  • -
  • maxValue () -
    -
    returns (int)

  • -
  • mediumMarkDistance () -
    -
    returns (int)

  • -
  • minValue () -
    -
    returns (int)

  • -
  • offset () -
    -
    returns (int)

  • -
  • pixelPerMark () -
    -
    returns (double)

  • -
  • setBigMarkDistance (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0int
    -

  • -
  • setEndLabel (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0TQString
    -

  • -
  • setLength (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0int
    -

  • -
  • setLengthFixed (fix) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    fixbool
    -

  • -
  • setLittleMarkDistance (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0int
    -

  • -
  • setMaxValue (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0int
    -

  • -
  • setMediumMarkDistance (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0int
    -

  • -
  • setMinValue (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0int
    -

  • -
  • setOffset (offset) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    offsetint
    -

  • -
  • setPixelPerMark (rate) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    ratedouble
    -

  • -
  • setRange (min, max) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    minint
    maxint
    -

  • -
  • setRulerMetricStyle (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0KRuler.MetricStyle
    -

  • -
  • setShowBigMarks (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0bool
    -

  • -
  • setShowEndLabel (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0bool
    -

  • -
  • setShowEndMarks (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0bool
    -

  • -
  • setShowLittleMarks (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0bool
    -

  • -
  • setShowMediumMarks (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0bool
    -

  • -
  • setShowPointer (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0bool
    -

  • -
  • setShowTinyMarks (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0bool
    -

  • -
  • setTinyMarkDistance (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0int
    -

  • -
  • setValue (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0int
    -

  • -
  • setValuePerBigMark (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0int
    -

  • -
  • setValuePerLittleMark (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0int
    -

  • -
  • setValuePerMediumMark (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0int
    -

  • -
  • showBigMarks () -
    -
    returns (bool)

  • -
  • showEndLabel () -
    -
    returns (bool)

  • -
  • showEndMarks () -
    -
    returns (bool)

  • -
  • showLittleMarks () -
    -
    returns (bool)

  • -
  • showMediumMarks () -
    -
    returns (bool)

  • -
  • showPointer () -
    -
    returns (bool)

  • -
  • showTinyMarks () -
    -
    returns (bool)

  • -
  • slideDown (count = 1) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    countint1
    -

  • -
  • slideUp (count = 1) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    countint1
    -

  • -
  • slotEndOffset (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0int
    -

  • -
  • slotNewOffset (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0int
    -

  • -
  • slotNewValue (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0int
    -

  • -
  • tinyMarkDistance () -
    -
    returns (int)

  • -
  • value () -
    -
    returns (int)

  • -
- - - diff --git a/python/pykde/doc/classref/kdeui/KScrollView.html b/python/pykde/doc/classref/kdeui/KScrollView.html deleted file mode 100644 index fba8b9e3..00000000 --- a/python/pykde/doc/classref/kdeui/KScrollView.html +++ /dev/null @@ -1,77 +0,0 @@ - - - - - class KScrollView - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KScrollView


-
- - - - - -
Table of contents
Modules
kdeui Classes
All Classes
-
- - - - - - - - - - -
Modulekdeui
ClassKScrollView
InheritsTQScrollView
-

methods

    -
  • KScrollView (parent = 0, name = 0, f = 0) -
    - -
    returns a KScrollView instance
    In versions KDE 3.5.0 and above only
    - - - -
    ArgumentTypeDefault
    parentTQWidget0
    namechar0
    fQt.WFlags0
    -

  • -
  • scrollBy (dx, dy) -
    - -
    returns nothing
    In versions KDE 3.5.0 and above only
    - - -
    ArgumentTypeDefault
    dxint
    dyint
    -

  • -
  • scrollTick () -
    - -
    returns nothing
    In versions KDE 3.5.0 and above only

  • -
  • startScrolling () -
    - -
    returns nothing
    In versions KDE 3.5.0 and above only

  • -
  • stopScrolling () -
    - -
    returns nothing
    In versions KDE 3.5.0 and above only

  • -
  • wheelEvent (e) -
    - -
    returns nothing
    In versions KDE 3.5.0 and above only
    - -
    ArgumentTypeDefault
    eTQWheelEvent
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kdeui/KSelectAction.html b/python/pykde/doc/classref/kdeui/KSelectAction.html deleted file mode 100644 index b6ddd526..00000000 --- a/python/pykde/doc/classref/kdeui/KSelectAction.html +++ /dev/null @@ -1,536 +0,0 @@ - - - - - class KSelectAction - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KSelectAction


-
- - - - - -
Table of contents
Modules
kdeui Classes
All Classes
-
- - - - - - - - - - -
Modulekdeui
ClassKSelectAction
InheritsKAction
-

methods

    -
  • KSelectAction (a0, a1 = KShortcut (), a2 = 0, a3 = 0) -
    - -
    returns a KSelectAction instance
    In versions less than KDE 3.2.0 only
    - - - - -
    ArgumentTypeDefault
    a0TQString
    a1KShortcutKShortcut ()
    a2TQObject0
    a3char0
    -

  • -
  • KSelectAction (a0, a1, slot, a4, a5 = 0) -
    - -
    returns a KSelectAction instance
    In versions less than KDE 3.2.0 only
    - - - - - -
    ArgumentTypeDefault
    a0TQString
    a1KShortcut
    slotSLOT (Python callable)
    a4TQObject
    a5char0
    -

  • -
  • KSelectAction (text, pix, cut = KShortcut (), parent = 0, name = 0) -
    - -
    returns a KSelectAction instance
    In versions KDE 3.2.0 and above only
    - - - - - -
    ArgumentTypeDefault
    textTQString
    pixTQString
    cutKShortcutKShortcut ()
    parentTQObject0
    namechar0
    -

  • -
  • KSelectAction (text, pix, cut, slot, parent, name = 0) -
    - -
    returns a KSelectAction instance
    In versions KDE 3.2.0 and above only
    - - - - - - -
    ArgumentTypeDefault
    textTQString
    pixTQIconSet
    cutKShortcut
    slotSLOT (Python callable)
    parentTQObject
    namechar0
    -

  • -
  • KSelectAction (text, pix, cut, slot, parent, name = 0) -
    - -
    returns a KSelectAction instance
    In versions KDE 3.2.0 and above only
    - - - - - - -
    ArgumentTypeDefault
    textTQString
    pixTQString
    cutKShortcut
    slotSLOT (Python callable)
    parentTQObject
    namechar0
    -

  • -
  • KSelectAction (parent = 0, name = 0) -
    - -
    returns a KSelectAction instance
    In versions KDE 3.2.0 and above only
    - - -
    ArgumentTypeDefault
    parentTQObject0
    namechar0
    -

  • -
  • KSelectAction (a0, a1, a2 = KShortcut (), a3 = 0, a4 = 0) -
    - -
    returns a KSelectAction instance
    In versions less than KDE 3.2.0 only
    - - - - - -
    ArgumentTypeDefault
    a0TQString
    a1TQIconSet
    a2KShortcutKShortcut ()
    a3TQObject0
    a4char0
    -

  • -
  • KSelectAction (a0, a1, a2 = KShortcut (), a3 = 0, a4 = 0) -
    - -
    returns a KSelectAction instance
    In versions less than KDE 3.2.0 only
    - - - - - -
    ArgumentTypeDefault
    a0TQString
    a1TQString
    a2KShortcutKShortcut ()
    a3TQObject0
    a4char0
    -

  • -
  • KSelectAction (a0, a1, a2, slot, a5, a6 = 0) -
    - -
    returns a KSelectAction instance
    In versions less than KDE 3.2.0 only
    - - - - - - -
    ArgumentTypeDefault
    a0TQString
    a1TQIconSet
    a2KShortcut
    slotSLOT (Python callable)
    a5TQObject
    a6char0
    -

  • -
  • KSelectAction (a0, a1, a2, slot, a5, a6 = 0) -
    - -
    returns a KSelectAction instance
    In versions less than KDE 3.2.0 only
    - - - - - - -
    ArgumentTypeDefault
    a0TQString
    a1TQString
    a2KShortcut
    slotSLOT (Python callable)
    a5TQObject
    a6char0
    -

  • -
  • KSelectAction (a0 = 0, a1 = 0) -
    - -
    returns a KSelectAction instance
    In versions less than KDE 3.2.0 only
    - - -
    ArgumentTypeDefault
    a0TQObject0
    a1char0
    -

  • -
  • KSelectAction (text, cut = KShortcut (), parent = 0, name = 0) -
    - -
    returns a KSelectAction instance
    In versions KDE 3.2.0 and above only
    - - - - -
    ArgumentTypeDefault
    textTQString
    cutKShortcutKShortcut ()
    parentTQObject0
    namechar0
    -

  • -
  • KSelectAction (text, cut, slot, parent, name = 0) -
    - -
    returns a KSelectAction instance
    In versions KDE 3.2.0 and above only
    - - - - - -
    ArgumentTypeDefault
    textTQString
    cutKShortcut
    slotSLOT (Python callable)
    parentTQObject
    namechar0
    -

  • -
  • KSelectAction (text, pix, cut = KShortcut (), parent = 0, name = 0) -
    - -
    returns a KSelectAction instance
    In versions KDE 3.2.0 and above only
    - - - - - -
    ArgumentTypeDefault
    textTQString
    pixTQIconSet
    cutKShortcutKShortcut ()
    parentTQObject0
    namechar0
    -

  • -
  • activated (a0) -
    - -
    returns nothing
    In versions less than KDE 3.2.0 only
    - -
    ArgumentTypeDefault
    a0int
    -

  • -
  • activated (a0) -
    - -
    returns nothing
    In versions less than KDE 3.2.0 only
    - -
    ArgumentTypeDefault
    a0TQString
    -

  • -
  • activated (index) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    indexint
    -

  • -
  • activated (text) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    textTQString
    -

  • -
  • changeItem (a0, a1) -
    - -
    returns nothing
    In versions less than KDE 3.2.0 only
    - - -
    ArgumentTypeDefault
    a0int
    a1TQString
    -

  • -
  • changeItem (a0, a1, a2) -
    - -
    returns nothing
    In versions less than KDE 3.2.0 only
    - - - -
    ArgumentTypeDefault
    a0int
    a1int
    a2TQString
    -

  • -
  • changeItem (index, text) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - - -
    ArgumentTypeDefault
    indexint
    textTQString
    -

  • -
  • changeItem (id, index, text) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - - - -
    ArgumentTypeDefault
    idint
    indexint
    textTQString
    -

  • -
  • clear () -
    - -
    returns nothing
    In versions less than KDE 3.2.0 only

  • -
  • clear () -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only

  • -
  • comboItems () -
    - -
    returns (TQStringList)
    In versions KDE 3.1.0 and above, but less than KDE 3.5.3

  • -
  • comboItems () -
    - -
    returns (TQStringList)
    In versions KDE 3.2.0 and above only

  • -
  • comboWidth () -
    - -
    returns (int)
    In versions less than KDE 3.2.0 only

  • -
  • comboWidth () -
    - -
    returns (int)
    In versions KDE 3.2.0 and above only

  • -
  • currentItem () -
    - -
    returns (int)
    In versions less than KDE 3.2.0 only

  • -
  • currentItem () -
    - -
    returns (int)
    In versions KDE 3.2.0 and above only

  • -
  • currentText () -
    - -
    returns (TQString)
    In versions less than KDE 3.2.0 only

  • -
  • currentText () -
    - -
    returns (TQString)
    In versions KDE 3.2.0 and above only

  • -
  • isEditable () -
    - -
    returns (bool)
    In versions less than KDE 3.2.0 only

  • -
  • isEditable () -
    - -
    returns (bool)
    In versions KDE 3.2.0 and above only

  • -
  • isShortcutConfigurable () -
    - -
    returns (bool)
    In versions KDE 3.5.0 and above only

  • -
  • items () -
    - -
    returns (TQStringList)
    In versions less than KDE 3.2.0 only

  • -
  • items () -
    - -
    returns (TQStringList)
    In versions KDE 3.2.0 and above only

  • -
  • menuAccelsEnabled () -
    - -
    returns (bool)
    In versions KDE 3.1.0 and above, but less than KDE 3.5.3

  • -
  • menuAccelsEnabled () -
    - -
    returns (bool)
    In versions KDE 3.2.0 and above only

  • -
  • plug (a0, a1 = -1) -
    - -
    returns (int)
    In versions less than KDE 3.2.0 only
    - - -
    ArgumentTypeDefault
    a0TQWidget
    a1int-1
    -

  • -
  • plug (widget, index = -1) -
    - -
    returns (int)
    In versions KDE 3.2.0 and above only
    - - -
    ArgumentTypeDefault
    widgetTQWidget
    indexint-1
    -

  • -
  • popupMenu () -
    - -
    returns (TQPopupMenu)
    In versions less than KDE 3.2.0 only

  • -
  • popupMenu () -
    - -
    returns (TQPopupMenu)
    In versions KDE 3.2.0 and above only

  • -
  • removeAmpersandsInCombo () -
    - -
    returns (bool)
    In versions KDE 3.1.0 and above, but less than KDE 3.5.3

  • -
  • removeAmpersandsInCombo () -
    - -
    returns (bool)
    In versions KDE 3.2.0 and above only

  • -
  • setComboWidth (a0) -
    - -
    returns nothing
    In versions less than KDE 3.2.0 only
    - -
    ArgumentTypeDefault
    a0int
    -

  • -
  • setComboWidth (width) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    widthint
    -

  • -
  • setCurrentItem (a0) -
    - -
    returns nothing
    In versions less than KDE 3.2.0 only
    - -
    ArgumentTypeDefault
    a0int
    -

  • -
  • setCurrentItem (index) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    indexint
    -

  • -
  • setEditable (a0) -
    - -
    returns nothing
    In versions less than KDE 3.2.0 only
    - -
    ArgumentTypeDefault
    a0bool
    -

  • -
  • setEditable (a0) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    a0bool
    -

  • -
  • setItems (a0) -
    - -
    returns nothing
    In versions less than KDE 3.2.0 only
    - -
    ArgumentTypeDefault
    a0TQStringList
    -

  • -
  • setItems (lst) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    lstTQStringList
    -

  • -
  • setMaxComboViewCount (n) -
    - -
    returns nothing
    In versions KDE 3.5.0 and above only
    - -
    ArgumentTypeDefault
    nint
    -

  • -
  • setMenuAccelsEnabled (a0) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above, but less than KDE 3.5.3
    - -
    ArgumentTypeDefault
    a0bool
    -

  • -
  • setMenuAccelsEnabled (b) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    bbool
    -

  • -
  • setRemoveAmpersandsInCombo (a0) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above, but less than KDE 3.5.3
    - -
    ArgumentTypeDefault
    a0bool
    -

  • -
  • setRemoveAmpersandsInCombo (b) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    bbool
    -

  • -
  • slotActivated (a0) -
    - -
    returns nothing
    In versions less than KDE 3.2.0 only
    - -
    ArgumentTypeDefault
    a0int
    -

  • -
  • slotActivated (a0) -
    - -
    returns nothing
    In versions less than KDE 3.2.0 only
    - -
    ArgumentTypeDefault
    a0TQString
    -

  • -
  • slotActivated () -
    - -
    returns nothing
    In versions less than KDE 3.2.0 only

  • -
  • slotActivated (id) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    idint
    -

  • -
  • slotActivated (text) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    textTQString
    -

  • -
  • slotActivated () -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only

  • -
  • updateClear (a0) -
    - -
    returns nothing
    In versions less than KDE 3.2.0 only
    - -
    ArgumentTypeDefault
    a0int
    -

  • -
  • updateClear (id) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    idint
    -

  • -
  • updateComboWidth (a0) -
    - -
    returns nothing
    In versions less than KDE 3.2.0 only
    - -
    ArgumentTypeDefault
    a0int
    -

  • -
  • updateComboWidth (id) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    idint
    -

  • -
  • updateCurrentItem (a0) -
    - -
    returns nothing
    In versions less than KDE 3.2.0 only
    - -
    ArgumentTypeDefault
    a0int
    -

  • -
  • updateCurrentItem (id) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    idint
    -

  • -
  • updateItems (a0) -
    - -
    returns nothing
    In versions less than KDE 3.2.0 only
    - -
    ArgumentTypeDefault
    a0int
    -

  • -
  • updateItems (id) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    idint
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kdeui/KSelector.html b/python/pykde/doc/classref/kdeui/KSelector.html deleted file mode 100644 index 4d3f08bd..00000000 --- a/python/pykde/doc/classref/kdeui/KSelector.html +++ /dev/null @@ -1,146 +0,0 @@ - - - - - class KSelector - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KSelector


-
- - - - - -
Table of contents
Modules
kdeui Classes
All Classes
-
- - - - - - - - - - -
Modulekdeui
ClassKSelector
InheritsTQWidget, TQRangeControl
-

methods

    -
  • KSelector (parent = 0, name = 0) -
    -
    returns a KSelector instance
    - - -
    ArgumentTypeDefault
    parentTQWidget0
    namechar0
    -

  • -
  • KSelector (o, parent = 0, name = 0) -
    -
    returns a KSelector instance
    - - - -
    ArgumentTypeDefault
    oOrientation
    parentTQWidget0
    namechar0
    -

  • -
  • contentsRect () -
    -
    returns (TQRect)

  • -
  • drawArrow (painter, show, pos) -
    -
    returns nothing
    - - - -
    ArgumentTypeDefault
    painterTQPainter
    showbool
    posTQPoint
    -

  • -
  • drawContents (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0TQPainter
    -

  • -
  • indent () -
    -
    returns (bool)

  • -
  • maxValue () -
    -
    returns (int)

  • -
  • minValue () -
    -
    returns (int)

  • -
  • mouseMoveEvent (e) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    eTQMouseEvent
    -

  • -
  • mousePressEvent (e) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    eTQMouseEvent
    -

  • -
  • orientation () -
    -
    returns (Orientation)

  • -
  • paintEvent (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0TQPaintEvent
    -

  • -
  • setIndent (i) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    ibool
    -

  • -
  • setMaxValue (value) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    valueint
    -

  • -
  • setMinValue (value) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    valueint
    -

  • -
  • setValue (value) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    valueint
    -

  • -
  • value () -
    -
    returns (int)

  • -
  • valueChange () -
    -
    returns nothing

  • -
  • valueChanged (value) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    valueint
    -

  • -
  • wheelEvent (a0) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    a0TQWheelEvent
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kdeui/KSeparator.html b/python/pykde/doc/classref/kdeui/KSeparator.html deleted file mode 100644 index 4f8ead19..00000000 --- a/python/pykde/doc/classref/kdeui/KSeparator.html +++ /dev/null @@ -1,76 +0,0 @@ - - - - - class KSeparator - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KSeparator


-
- - - - - -
Table of contents
Modules
kdeui Classes
All Classes
-
- - - - - - - - - - -
Modulekdeui
ClassKSeparator
InheritsTQFrame
-

methods

    -
  • KSeparator (parent = 0, name = 0, f = 0) -
    -
    returns a KSeparator instance
    - - - -
    ArgumentTypeDefault
    parentTQWidget0
    namechar0
    fWFlags0
    -

  • -
  • KSeparator (orientation, parent = 0, name = 0, f = 0) -
    -
    returns a KSeparator instance
    - - - - -
    ArgumentTypeDefault
    orientationint
    parentTQWidget0
    namechar0
    fWFlags0
    -

  • -
  • drawFrame (p) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    pTQPainter
    -

  • -
  • orientation () -
    -
    returns (int)

  • -
  • setOrientation (orient) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    orientint
    -

  • -
  • sizeHint () -
    -
    returns (TQSize)

  • -
- - - diff --git a/python/pykde/doc/classref/kdeui/KSharedPixmap.html b/python/pykde/doc/classref/kdeui/KSharedPixmap.html deleted file mode 100644 index a95030c2..00000000 --- a/python/pykde/doc/classref/kdeui/KSharedPixmap.html +++ /dev/null @@ -1,82 +0,0 @@ - - - - - class KSharedPixmap - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KSharedPixmap


-
- - - - -
Table of contents
Modules
kdeui Classes
All Classes
-
- - - - - - - - - - -
Modulekdeui
ClassKSharedPixmap
InheritsTQWidget, KPixmap
-

methods

    -
  • KSharedPixmap () -
    -
    returns a KSharedPixmap instance

  • -
  • done (success) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    successbool
    -

  • -
  • isAvailable (name) -
    - -
    returns (bool)
    In versions KDE 3.1.2 and above only
    - -
    ArgumentTypeDefault
    nameTQString
    -

  • -
  • isAvailable (a0) -
    - -
    returns (bool)
    In versions less than KDE 3.1.2 only
    - -
    ArgumentTypeDefault
    a0TQString
    -

  • -
  • loadFromShared (name, rect = TQRect ()) -
    - -
    returns (bool)
    In versions KDE 3.1.2 and above only
    - - -
    ArgumentTypeDefault
    nameTQString
    rectTQRectTQRect ()
    -

  • -
  • loadFromShared (a0, a1 = TQRect ()) -
    - -
    returns (bool)
    In versions less than KDE 3.1.2 only
    - - -
    ArgumentTypeDefault
    a0TQString
    a1TQRectTQRect ()
    -

  • -
  • x11Event (a0) -
    Not Implemented
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kdeui/KShortcutDialog.html b/python/pykde/doc/classref/kdeui/KShortcutDialog.html deleted file mode 100644 index b51e0307..00000000 --- a/python/pykde/doc/classref/kdeui/KShortcutDialog.html +++ /dev/null @@ -1,93 +0,0 @@ - - - - - class KShortcutDialog - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KShortcutDialog


-
- - - - - -
Table of contents
Modules
kdeui Classes
All Classes
-
- - - - - - - - - - -
Modulekdeui
ClassKShortcutDialog
InheritsKDialogBase
-

methods

    -
  • KShortcutDialog (shortcut, bQtShortcut, parent = 0, name = 0) -
    - -
    returns a KShortcutDialog instance
    In versions KDE 3.4.0 and above only
    - - - - -
    ArgumentTypeDefault
    shortcutKShortcut
    bQtShortcutbool
    parentTQWidget0
    namechar0
    -

  • -
  • setShortcut (shortcut) -
    - -
    returns nothing
    In versions KDE 3.4.0 and above only
    - -
    ArgumentTypeDefault
    shortcutKShortcut
    -

  • -
  • shortcut () -
    - -
    returns (KShortcut)
    In versions KDE 3.4.0 and above only

  • -
  • slotClearAlternate () -
    - -
    returns nothing
    In versions KDE 3.4.0 and above only

  • -
  • slotClearPrimary () -
    - -
    returns nothing
    In versions KDE 3.4.0 and above only

  • -
  • slotClearShortcut () -
    - -
    returns nothing
    In versions KDE 3.4.0 and above only

  • -
  • slotDetails () -
    - -
    returns nothing
    In versions KDE 3.4.0 and above only

  • -
  • slotMultiKeyMode (bOn) -
    - -
    returns nothing
    In versions KDE 3.4.0 and above only
    - -
    ArgumentTypeDefault
    bOnbool
    -

  • -
  • slotSelectAlternate () -
    - -
    returns nothing
    In versions KDE 3.4.0 and above only

  • -
  • slotSelectPrimary () -
    - -
    returns nothing
    In versions KDE 3.4.0 and above only

  • -
- - - diff --git a/python/pykde/doc/classref/kdeui/KSplashScreen.html b/python/pykde/doc/classref/kdeui/KSplashScreen.html deleted file mode 100644 index 621b0ae4..00000000 --- a/python/pykde/doc/classref/kdeui/KSplashScreen.html +++ /dev/null @@ -1,49 +0,0 @@ - - - - - class KSplashScreen - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KSplashScreen


-
- - - - - -
Table of contents
Modules
kdeui Classes
All Classes
-
- - - - - - - - - - -
Modulekdeui
ClassKSplashScreen
InheritsTQSplashScreen
-

methods

    -
  • KSplashScreen (pixmap, f = 0) -
    - -
    returns a KSplashScreen instance
    In versions KDE 3.2.0 and above only
    - - -
    ArgumentTypeDefault
    pixmapTQPixmap
    fWFlags0
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kdeui/KSqueezedTextLabel.html b/python/pykde/doc/classref/kdeui/KSqueezedTextLabel.html deleted file mode 100644 index 692d7ae7..00000000 --- a/python/pykde/doc/classref/kdeui/KSqueezedTextLabel.html +++ /dev/null @@ -1,85 +0,0 @@ - - - - - class KSqueezedTextLabel - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KSqueezedTextLabel


-
- - - - - -
Table of contents
Modules
kdeui Classes
All Classes
-
- - - - - - - - - - -
Modulekdeui
ClassKSqueezedTextLabel
InheritsTQLabel
-

methods

    -
  • KSqueezedTextLabel (parent, name = 0) -
    -
    returns a KSqueezedTextLabel instance
    - - -
    ArgumentTypeDefault
    parentTQWidget
    namechar0
    -

  • -
  • KSqueezedTextLabel (text, parent, name = 0) -
    -
    returns a KSqueezedTextLabel instance
    - - - -
    ArgumentTypeDefault
    textTQString
    parentTQWidget
    namechar0
    -

  • -
  • minimumSizeHint () -
    -
    returns (TQSize)

  • -
  • resizeEvent (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0TQResizeEvent
    -

  • -
  • setAlignment (a0) -
    - -
    returns nothing
    In versions KDE 3.4.0 and above only
    - -
    ArgumentTypeDefault
    a0int
    -

  • -
  • setText (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0TQString
    -

  • -
  • sizeHint () -
    - -
    returns (TQSize)
    In versions KDE 3.3.0 and above only

  • -
  • squeezeTextToLabel () -
    -
    returns nothing

  • -
- - - diff --git a/python/pykde/doc/classref/kdeui/KStatusBar.html b/python/pykde/doc/classref/kdeui/KStatusBar.html deleted file mode 100644 index b31fea9f..00000000 --- a/python/pykde/doc/classref/kdeui/KStatusBar.html +++ /dev/null @@ -1,114 +0,0 @@ - - - - - class KStatusBar - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KStatusBar


-
- - - - - -
Table of contents
Modules
kdeui Classes
All Classes
-
- - - - - - - - - - -
Modulekdeui
ClassKStatusBar
InheritsTQStatusBar
-

enums

    -
  • BarStatus = {Toggle, Show, Hide -}
-

methods

    -
  • KStatusBar (parent = 0, name = 0) -
    -
    returns a KStatusBar instance
    - - -
    ArgumentTypeDefault
    parentTQWidget0
    namechar0
    -

  • -
  • changeItem (text, id) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    textTQString
    idint
    -

  • -
  • hasItem (id) -
    - -
    returns (bool)
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    idint
    -

  • -
  • insertFixedItem (text, id, permanent = 0) -
    -
    returns nothing
    - - - -
    ArgumentTypeDefault
    textTQString
    idint
    permanentbool0
    -

  • -
  • insertItem (text, id, stretch = 0, permanent = 0) -
    -
    returns nothing
    - - - - -
    ArgumentTypeDefault
    textTQString
    idint
    stretchint0
    permanentbool0
    -

  • -
  • pressed (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0int
    -

  • -
  • released (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0int
    -

  • -
  • removeItem (id) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    idint
    -

  • -
  • setItemAlignment (id, align) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    idint
    alignint
    -

  • -
  • setItemFixed (id, width = -1) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    idint
    widthint-1
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kdeui/KStatusBarLabel.html b/python/pykde/doc/classref/kdeui/KStatusBarLabel.html deleted file mode 100644 index 7a61e0bf..00000000 --- a/python/pykde/doc/classref/kdeui/KStatusBarLabel.html +++ /dev/null @@ -1,74 +0,0 @@ - - - - - class KStatusBarLabel - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KStatusBarLabel


-
- - - - - -
Table of contents
Modules
kdeui Classes
All Classes
-
- - - - - - - - - - -
Modulekdeui
ClassKStatusBarLabel
InheritsTQLabel
-

methods

    -
  • KStatusBarLabel (text, _id, parent = 0, name = 0) -
    -
    returns a KStatusBarLabel instance
    - - - - -
    ArgumentTypeDefault
    textTQString
    _idint
    parentKStatusBar0
    namechar0
    -

  • -
  • itemPressed (id) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    idint
    -

  • -
  • itemReleased (id) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    idint
    -

  • -
  • mousePressEvent (_event) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    _eventTQMouseEvent
    -

  • -
  • mouseReleaseEvent (_event) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    _eventTQMouseEvent
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kdeui/KStdAction.html b/python/pykde/doc/classref/kdeui/KStdAction.html deleted file mode 100644 index 948d5c1c..00000000 --- a/python/pykde/doc/classref/kdeui/KStdAction.html +++ /dev/null @@ -1,579 +0,0 @@ - - - - - class KStdAction - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KStdAction


-
- - - - - -
Table of contents
Modules
kdeui Classes
All Classes
-
- - - - - - - - - - -
Modulekdeui
ClassKStdAction
Inherits
-

enums

    -
  • StdAction = {ActionNone, New, Open, OpenRecent, Save, SaveAs, Revert, Close, Print, PrintPreview, Mail, Quit, Undo, Redo, Cut, Copy, Paste, SelectAll, Deselect, Find, FindNext, FindPrev, Replace, ActualSize, FitToPage, FitToWidth, FitToHeight, ZoomIn, ZoomOut, Zoom, Redisplay, Up, Back, Forward, Home, Prior, Next, Goto, GotoPage, GotoLine, FirstPage, LastPage, AddBookmark, EditBookmarks, Spelling, ShowMenubar, ShowToolbar, ShowStatusbar, SaveOptions, KeyBindings, Preferences, ConfigureToolbars, Help, HelpContents, WhatsThis, ReportBug, AboutApp, AboutKDE -}
  • StdAction = {ActionNone, New, Open, OpenRecent, Save, SaveAs, Revert, Close, Print, PrintPreview, Mail, Quit, Undo, Redo, Cut, Copy, Paste, SelectAll, Deselect, Find, FindNext, FindPrev, Replace, ActualSize, FitToPage, FitToWidth, FitToHeight, ZoomIn, ZoomOut, Zoom, Redisplay, Up, Back, Forward, Home, Prior, Next, Goto, GotoPage, GotoLine, FirstPage, LastPage, AddBookmark, EditBookmarks, Spelling, ShowMenubar, ShowToolbar, ShowStatusbar, SaveOptions, KeyBindings, Preferences, ConfigureToolbars, Help, HelpContents, WhatsThis, ReportBug, AboutApp, AboutKDE -}
  • StdAction = {ActionNone, New, Open, OpenRecent, Save, SaveAs, Revert, Close, Print, PrintPreview, Mail, Quit, Undo, Redo, Cut, Copy, Paste, SelectAll, Deselect, Find, FindNext, FindPrev, Replace, ActualSize, FitToPage, FitToWidth, FitToHeight, ZoomIn, ZoomOut, Zoom, Redisplay, Up, Back, Forward, Home, Prior, Next, Goto, GotoPage, GotoLine, FirstPage, LastPage, AddBookmark, EditBookmarks, Spelling, ShowMenubar, ShowToolbar, ShowStatusbar, SaveOptions, KeyBindings, Preferences, ConfigureToolbars, Help, HelpContents, WhatsThis, ReportBug, AboutApp, AboutKDE -}
-

methods

    -
  • aboutApp (slot, parent, name = 0) -
    -
    returns (KAction)
    - - - -
    ArgumentTypeDefault
    slotSLOT (Python callable)
    parentKActionCollection
    namechar0
    -

  • -
  • aboutKDE (slot, parent, name = 0) -
    -
    returns (KAction)
    - - - -
    ArgumentTypeDefault
    slotSLOT (Python callable)
    parentKActionCollection
    namechar0
    -

  • -
  • actualSize (slot, parent, name = 0) -
    -
    returns (KAction)
    - - - -
    ArgumentTypeDefault
    slotSLOT (Python callable)
    parentKActionCollection
    namechar0
    -

  • -
  • addBookmark (slot, parent, name = 0) -
    -
    returns (KAction)
    - - - -
    ArgumentTypeDefault
    slotSLOT (Python callable)
    parentKActionCollection
    namechar0
    -

  • -
  • back (slot, parent, name = 0) -
    -
    returns (KAction)
    - - - -
    ArgumentTypeDefault
    slotSLOT (Python callable)
    parentKActionCollection
    namechar0
    -

  • -
  • clear (slot, parent, name = 0) -
    - -
    returns (KAction)
    In versions KDE 3.2.0 and above only
    - - - -
    ArgumentTypeDefault
    slotSLOT (Python callable)
    parentKActionCollection
    namechar0
    -

  • -
  • close (slot, parent, name = 0) -
    -
    returns (KAction)
    - - - -
    ArgumentTypeDefault
    slotSLOT (Python callable)
    parentKActionCollection
    namechar0
    -

  • -
  • configureNotifications (slot, parent, name = 0) -
    - -
    returns (KAction)
    In versions KDE 3.1.0 and above only
    - - - -
    ArgumentTypeDefault
    slotSLOT (Python callable)
    parentKActionCollection
    namechar0
    -

  • -
  • configureToolbars (slot, parent, name = 0) -
    -
    returns (KAction)
    - - - -
    ArgumentTypeDefault
    slotSLOT (Python callable)
    parentKActionCollection
    namechar0
    -

  • -
  • copy (slot, parent, name = 0) -
    -
    returns (KAction)
    - - - -
    ArgumentTypeDefault
    slotSLOT (Python callable)
    parentKActionCollection
    namechar0
    -

  • -
  • create (id, name, slot, parent) -
    -
    returns (KAction)
    - - - - -
    ArgumentTypeDefault
    idKStdAction.StdAction
    namechar
    slotSLOT (Python callable)
    parentKActionCollection
    -

  • -
  • cut (slot, parent, name = 0) -
    -
    returns (KAction)
    - - - -
    ArgumentTypeDefault
    slotSLOT (Python callable)
    parentKActionCollection
    namechar0
    -

  • -
  • deselect (slot, parent, name = 0) -
    -
    returns (KAction)
    - - - -
    ArgumentTypeDefault
    slotSLOT (Python callable)
    parentKActionCollection
    namechar0
    -

  • -
  • editBookmarks (slot, parent, name = 0) -
    -
    returns (KAction)
    - - - -
    ArgumentTypeDefault
    slotSLOT (Python callable)
    parentKActionCollection
    namechar0
    -

  • -
  • find (slot, parent, name = 0) -
    -
    returns (KAction)
    - - - -
    ArgumentTypeDefault
    slotSLOT (Python callable)
    parentKActionCollection
    namechar0
    -

  • -
  • findNext (slot, parent, name = 0) -
    -
    returns (KAction)
    - - - -
    ArgumentTypeDefault
    slotSLOT (Python callable)
    parentKActionCollection
    namechar0
    -

  • -
  • findPrev (slot, parent, name = 0) -
    -
    returns (KAction)
    - - - -
    ArgumentTypeDefault
    slotSLOT (Python callable)
    parentKActionCollection
    namechar0
    -

  • -
  • firstPage (slot, parent, name = 0) -
    -
    returns (KAction)
    - - - -
    ArgumentTypeDefault
    slotSLOT (Python callable)
    parentKActionCollection
    namechar0
    -

  • -
  • fitToHeight (slot, parent, name = 0) -
    -
    returns (KAction)
    - - - -
    ArgumentTypeDefault
    slotSLOT (Python callable)
    parentKActionCollection
    namechar0
    -

  • -
  • fitToPage (slot, parent, name = 0) -
    -
    returns (KAction)
    - - - -
    ArgumentTypeDefault
    slotSLOT (Python callable)
    parentKActionCollection
    namechar0
    -

  • -
  • fitToWidth (slot, parent, name = 0) -
    -
    returns (KAction)
    - - - -
    ArgumentTypeDefault
    slotSLOT (Python callable)
    parentKActionCollection
    namechar0
    -

  • -
  • forward (slot, parent, name = 0) -
    -
    returns (KAction)
    - - - -
    ArgumentTypeDefault
    slotSLOT (Python callable)
    parentKActionCollection
    namechar0
    -

  • -
  • fullScreen (slot, parent, window, name = 0) -
    - -
    returns (KToggleFullScreenAction)
    In versions KDE 3.2.0 and above only
    - - - - -
    ArgumentTypeDefault
    slotSLOT (Python callable)
    parentKActionCollection
    windowTQWidget
    namechar0
    -

  • -
  • goTo (slot, parent, name = 0) -
    -
    returns (KAction)
    - - - -
    ArgumentTypeDefault
    slotSLOT (Python callable)
    parentKActionCollection
    namechar0
    -

  • -
  • gotoLine (slot, parent, name = 0) -
    -
    returns (KAction)
    - - - -
    ArgumentTypeDefault
    slotSLOT (Python callable)
    parentKActionCollection
    namechar0
    -

  • -
  • gotoPage (slot, parent, name = 0) -
    -
    returns (KAction)
    - - - -
    ArgumentTypeDefault
    slotSLOT (Python callable)
    parentKActionCollection
    namechar0
    -

  • -
  • help (slot, parent, name = 0) -
    -
    returns (KAction)
    - - - -
    ArgumentTypeDefault
    slotSLOT (Python callable)
    parentKActionCollection
    namechar0
    -

  • -
  • helpContents (slot, parent, name = 0) -
    -
    returns (KAction)
    - - - -
    ArgumentTypeDefault
    slotSLOT (Python callable)
    parentKActionCollection
    namechar0
    -

  • -
  • home (slot, parent, name = 0) -
    -
    returns (KAction)
    - - - -
    ArgumentTypeDefault
    slotSLOT (Python callable)
    parentKActionCollection
    namechar0
    -

  • -
  • keyBindings (slot, parent, name = 0) -
    -
    returns (KAction)
    - - - -
    ArgumentTypeDefault
    slotSLOT (Python callable)
    parentKActionCollection
    namechar0
    -

  • -
  • lastPage (slot, parent, name = 0) -
    -
    returns (KAction)
    - - - -
    ArgumentTypeDefault
    slotSLOT (Python callable)
    parentKActionCollection
    namechar0
    -

  • -
  • mail (slot, parent, name = 0) -
    -
    returns (KAction)
    - - - -
    ArgumentTypeDefault
    slotSLOT (Python callable)
    parentKActionCollection
    namechar0
    -

  • -
  • name (id) -
    -
    returns (char)
    - -
    ArgumentTypeDefault
    idKStdAction.StdAction
    -

  • -
  • next (slot, parent, name = 0) -
    -
    returns (KAction)
    - - - -
    ArgumentTypeDefault
    slotSLOT (Python callable)
    parentKActionCollection
    namechar0
    -

  • -
  • open (slot, parent, name = 0) -
    -
    returns (KAction)
    - - - -
    ArgumentTypeDefault
    slotSLOT (Python callable)
    parentKActionCollection
    namechar0
    -

  • -
  • openNew (slot, parent, name = 0) -
    -
    returns (KAction)
    - - - -
    ArgumentTypeDefault
    slotSLOT (Python callable)
    parentKActionCollection
    namechar0
    -

  • -
  • openRecent (slot, parent, name = 0) -
    -
    returns (KRecentFilesAction)
    - - - -
    ArgumentTypeDefault
    slotSLOT (Python callable)
    parentKActionCollection
    namechar0
    -

  • -
  • paste (slot, parent, name = 0) -
    -
    returns (KAction)
    - - - -
    ArgumentTypeDefault
    slotSLOT (Python callable)
    parentKActionCollection
    namechar0
    -

  • -
  • pasteText (slot, parent, name = 0) -
    - -
    returns (KAction)
    In versions KDE 3.2.0 and above only
    - - - -
    ArgumentTypeDefault
    slotSLOT (Python callable)
    parentKActionCollection
    namechar0
    -

  • -
  • preferences (slot, parent, name = 0) -
    -
    returns (KAction)
    - - - -
    ArgumentTypeDefault
    slotSLOT (Python callable)
    parentKActionCollection
    namechar0
    -

  • -
  • printPreview (slot, parent, name = 0) -
    -
    returns (KAction)
    - - - -
    ArgumentTypeDefault
    slotSLOT (Python callable)
    parentKActionCollection
    namechar0
    -

  • -
  • print_ (slot, parent, name = 0) -
    - -
    returns (KAction)
    Renamed: was ' print -' in C++
    - - - -
    ArgumentTypeDefault
    slotSLOT (Python callable)
    parentKActionCollection
    namechar0
    -

  • -
  • prior (slot, parent, name = 0) -
    -
    returns (KAction)
    - - - -
    ArgumentTypeDefault
    slotSLOT (Python callable)
    parentKActionCollection
    namechar0
    -

  • -
  • quit (slot, parent, name = 0) -
    -
    returns (KAction)
    - - - -
    ArgumentTypeDefault
    slotSLOT (Python callable)
    parentKActionCollection
    namechar0
    -

  • -
  • redisplay (slot, parent, name = 0) -
    -
    returns (KAction)
    - - - -
    ArgumentTypeDefault
    slotSLOT (Python callable)
    parentKActionCollection
    namechar0
    -

  • -
  • redo (slot, parent, name = 0) -
    -
    returns (KAction)
    - - - -
    ArgumentTypeDefault
    slotSLOT (Python callable)
    parentKActionCollection
    namechar0
    -

  • -
  • replace (slot, parent, name = 0) -
    -
    returns (KAction)
    - - - -
    ArgumentTypeDefault
    slotSLOT (Python callable)
    parentKActionCollection
    namechar0
    -

  • -
  • reportBug (slot, parent, name = 0) -
    -
    returns (KAction)
    - - - -
    ArgumentTypeDefault
    slotSLOT (Python callable)
    parentKActionCollection
    namechar0
    -

  • -
  • revert (slot, parent, name = 0) -
    -
    returns (KAction)
    - - - -
    ArgumentTypeDefault
    slotSLOT (Python callable)
    parentKActionCollection
    namechar0
    -

  • -
  • save (slot, parent, name = 0) -
    -
    returns (KAction)
    - - - -
    ArgumentTypeDefault
    slotSLOT (Python callable)
    parentKActionCollection
    namechar0
    -

  • -
  • saveAs (slot, parent, name = 0) -
    -
    returns (KAction)
    - - - -
    ArgumentTypeDefault
    slotSLOT (Python callable)
    parentKActionCollection
    namechar0
    -

  • -
  • saveOptions (slot, parent, name = 0) -
    -
    returns (KAction)
    - - - -
    ArgumentTypeDefault
    slotSLOT (Python callable)
    parentKActionCollection
    namechar0
    -

  • -
  • selectAll (slot, parent, name = 0) -
    -
    returns (KAction)
    - - - -
    ArgumentTypeDefault
    slotSLOT (Python callable)
    parentKActionCollection
    namechar0
    -

  • -
  • showMenubar (slot, parent, name = 0) -
    -
    returns (KToggleAction)
    - - - -
    ArgumentTypeDefault
    slotSLOT (Python callable)
    parentKActionCollection
    namechar0
    -

  • -
  • showStatusbar (slot, parent, name = 0) -
    -
    returns (KToggleAction)
    - - - -
    ArgumentTypeDefault
    slotSLOT (Python callable)
    parentKActionCollection
    namechar0
    -

  • -
  • showToolbar (toolBarName, parent, name = 0) -
    - -
    returns (KToggleToolBarAction)
    In versions KDE 3.1.0 and above only
    - - - -
    ArgumentTypeDefault
    toolBarNamechar
    parentKActionCollection
    namechar0
    -

  • -
  • showToolbar (toolBarName, parent, name = 0) -
    - -
    returns (KToggleToolBarAction)
    In versions KDE 3.1.0 and above only
    - - - -
    ArgumentTypeDefault
    toolBarNamechar
    parentKActionCollection
    namechar0
    -

  • -
  • spelling (slot, parent, name = 0) -
    -
    returns (KAction)
    - - - -
    ArgumentTypeDefault
    slotSLOT (Python callable)
    parentKActionCollection
    namechar0
    -

  • -
  • stdNames () -
    - -
    returns (TQStringList)
    In versions KDE 3.1.0 and above only

  • -
  • tipOfDay (slot, parent, name = 0) -
    - -
    returns (KAction)
    In versions KDE 3.1.0 and above only
    - - - -
    ArgumentTypeDefault
    slotSLOT (Python callable)
    parentKActionCollection
    namechar0
    -

  • -
  • undo (slot, parent, name = 0) -
    -
    returns (KAction)
    - - - -
    ArgumentTypeDefault
    slotSLOT (Python callable)
    parentKActionCollection
    namechar0
    -

  • -
  • up (slot, parent, name = 0) -
    -
    returns (KAction)
    - - - -
    ArgumentTypeDefault
    slotSLOT (Python callable)
    parentKActionCollection
    namechar0
    -

  • -
  • whatsThis (slot, parent, name = 0) -
    -
    returns (KAction)
    - - - -
    ArgumentTypeDefault
    slotSLOT (Python callable)
    parentKActionCollection
    namechar0
    -

  • -
  • zoom (slot, parent, name = 0) -
    -
    returns (KAction)
    - - - -
    ArgumentTypeDefault
    slotSLOT (Python callable)
    parentKActionCollection
    namechar0
    -

  • -
  • zoomIn (slot, parent, name = 0) -
    -
    returns (KAction)
    - - - -
    ArgumentTypeDefault
    slotSLOT (Python callable)
    parentKActionCollection
    namechar0
    -

  • -
  • zoomOut (slot, parent, name = 0) -
    -
    returns (KAction)
    - - - -
    ArgumentTypeDefault
    slotSLOT (Python callable)
    parentKActionCollection
    namechar0
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kdeui/KStdGuiItem.html b/python/pykde/doc/classref/kdeui/KStdGuiItem.html deleted file mode 100644 index af7dae3c..00000000 --- a/python/pykde/doc/classref/kdeui/KStdGuiItem.html +++ /dev/null @@ -1,213 +0,0 @@ - - - - - class KStdGuiItem - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KStdGuiItem


-
- - - - - -
Table of contents
Modules
kdeui Classes
All Classes
-
- - - - - - - - - - -
Modulekdeui
ClassKStdGuiItem
Inherits
-

enums

    -
  • BidiMode = {UseRTL, IgnoreRTL -}
  • StdItem = {Ok, Cancel, Yes, No, Discard, Save, DontSave, SaveAs, Apply, Clear, Help, Defaults, Close, Back, Forward, Print, Continue, Open, Quit, AdminMode, Reset, Delete, Insert, Configure, Find, Stop, Add, Remove, Test, Properties, Overwrite -}
  • StdItem = {Ok, Cancel, Yes, No, Discard, Save, DontSave, SaveAs, Apply, Clear, Help, Defaults, Close, Back, Forward, Print, Continue, Open, Quit, AdminMode, Reset, Delete, Insert, Configure, Find, Stop, Add, Remove, Test, Properties -}
  • StdItem = {Ok, Cancel, Yes, No, Discard, Save, DontSave, SaveAs, Apply, Clear, Help, Defaults, Close, Back, Forward, Print, Continue, Open, Quit, AdminMode, Reset, Delete, Insert -}
  • StdItem = {Ok, Cancel, Yes, No, Discard, Save, DontSave, SaveAs, Apply, Clear, Help, Defaults, Close, Back, Forward, Print, Continue, Open, Quit -}
  • StdItem = {Ok, Cancel, Yes, No, Discard, Save, DontSave, SaveAs, Apply, Clear, Help, Defaults, Close, Back, Forward, Print, Continue -}
-

methods

    -
  • add () -
    - - -
    returns (KGuiItem)
    In versions KDE 3.4.0 and above only
    static

  • -
  • adminMode () -
    - - -
    returns (KGuiItem)
    In versions KDE 3.3.0 and above only
    static

  • -
  • apply () -
    - -
    returns (KGuiItem)
    static

  • -
  • back (useBidi = IgnoreRTL) -
    - -
    returns (KGuiItem)
    static
    - -
    ArgumentTypeDefault
    useBidiKStdGuiItem.BidiModeIgnoreRTL
    -

  • -
  • backAndForward () -
    - -
    returns (QPair)
    static

  • -
  • cancel () -
    - -
    returns (KGuiItem)
    static

  • -
  • clear () -
    - -
    returns (KGuiItem)
    static

  • -
  • close () -
    - -
    returns (KGuiItem)
    static

  • -
  • configure () -
    - - -
    returns (KGuiItem)
    In versions KDE 3.4.0 and above only
    static

  • -
  • cont () -
    - -
    returns (KGuiItem)
    static

  • -
  • defaults () -
    - -
    returns (KGuiItem)
    static

  • -
  • del_ () -
    - - - -
    returns (KGuiItem)
    Renamed: was ' del' in C++
    In versions KDE 3.3.0 and above only
    static

  • -
  • discard () -
    - -
    returns (KGuiItem)
    static

  • -
  • dontSave () -
    - -
    returns (KGuiItem)
    static

  • -
  • find () -
    - - -
    returns (KGuiItem)
    In versions KDE 3.4.0 and above only
    static

  • -
  • forward (useBidi = IgnoreRTL) -
    - -
    returns (KGuiItem)
    static
    - -
    ArgumentTypeDefault
    useBidiKStdGuiItem.BidiModeIgnoreRTL
    -

  • -
  • guiItem (ui_enum) -
    - -
    returns (KGuiItem)
    static
    - -
    ArgumentTypeDefault
    ui_enumKStdGuiItem.StdItem
    -

  • -
  • help () -
    - -
    returns (KGuiItem)
    static

  • -
  • insert () -
    - - -
    returns (KGuiItem)
    In versions KDE 3.3.0 and above only
    static

  • -
  • no () -
    - -
    returns (KGuiItem)
    static

  • -
  • ok () -
    - -
    returns (KGuiItem)
    static

  • -
  • open () -
    - - -
    returns (KGuiItem)
    In versions KDE 3.2.0 and above only
    static

  • -
  • overwrite () -
    - - -
    returns (KGuiItem)
    In versions KDE 3.5.0 and above only
    static

  • -
  • print_ () -
    - - -
    returns (KGuiItem)
    Renamed: was ' print' in C++
    static

  • -
  • properties () -
    - - -
    returns (KGuiItem)
    In versions KDE 3.4.0 and above only
    static

  • -
  • quit () -
    - - -
    returns (KGuiItem)
    In versions KDE 3.2.0 and above only
    static

  • -
  • remove () -
    - - -
    returns (KGuiItem)
    In versions KDE 3.4.0 and above only
    static

  • -
  • reset () -
    - - -
    returns (KGuiItem)
    In versions KDE 3.3.0 and above only
    static

  • -
  • save () -
    - -
    returns (KGuiItem)
    static

  • -
  • saveAs () -
    - -
    returns (KGuiItem)
    static

  • -
  • stdItem (ui_enum) -
    - -
    returns (TQString)
    static
    - -
    ArgumentTypeDefault
    ui_enumKStdGuiItem.StdItem
    -

  • -
  • stop () -
    - - -
    returns (KGuiItem)
    In versions KDE 3.4.0 and above only
    static

  • -
  • test () -
    - - -
    returns (KGuiItem)
    In versions KDE 3.4.0 and above only
    static

  • -
  • yes () -
    - -
    returns (KGuiItem)
    static

  • -
- - - diff --git a/python/pykde/doc/classref/kdeui/KStringListValidator.html b/python/pykde/doc/classref/kdeui/KStringListValidator.html deleted file mode 100644 index 94027db2..00000000 --- a/python/pykde/doc/classref/kdeui/KStringListValidator.html +++ /dev/null @@ -1,90 +0,0 @@ - - - - - class KStringListValidator - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KStringListValidator


-
- - - - - -
Table of contents
Modules
kdeui Classes
All Classes
-
- - - - - - - - - - -
Modulekdeui
ClassKStringListValidator
InheritsTQValidator
-

methods

    -
  • KStringListValidator (list = TQStringList (), rejecting = 1, fixupEnabled = 0, parent = 0, name = 0) -
    -
    returns a KStringListValidator instance
    - - - - - -
    ArgumentTypeDefault
    listTQStringListTQStringList ()
    rejectingbool1
    fixupEnabledbool0
    parentTQObject0
    namechar0
    -

  • -
  • fixup (input) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    inputTQString
    -

  • -
  • isFixupEnabled () -
    -
    returns (bool)

  • -
  • isRejecting () -
    -
    returns (bool)

  • -
  • setFixupEnabled (fixupEnabled) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    fixupEnabledbool
    -

  • -
  • setRejecting (rejecting) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    rejectingbool
    -

  • -
  • setStringList (list) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    listTQStringList
    -

  • -
  • stringList () -
    -
    returns (TQStringList)

  • -
  • validate (input) -
    -
    returns (State) pos (int)
    - -
    ArgumentTypeDefault
    inputTQString
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kdeui/KSystemTray.html b/python/pykde/doc/classref/kdeui/KSystemTray.html deleted file mode 100644 index 05e45a61..00000000 --- a/python/pykde/doc/classref/kdeui/KSystemTray.html +++ /dev/null @@ -1,129 +0,0 @@ - - - - - class KSystemTray - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KSystemTray


-
- - - - - -
Table of contents
Modules
kdeui Classes
All Classes
-
- - - - - - - - - - -
Modulekdeui
ClassKSystemTray
InheritsTQLabel
-

methods

    -
  • KSystemTray (parent = 0, name = 0) -
    -
    returns a KSystemTray instance
    - - -
    ArgumentTypeDefault
    parentTQWidget0
    namechar0
    -

  • -
  • actionCollection () -
    - -
    returns (KActionCollection)
    In versions KDE 3.2.0 and above only

  • -
  • contextMenu () -
    - -
    returns (KPopupMenu)
    In versions KDE 3.2.0 and above only

  • -
  • contextMenu () -
    - -
    returns (KPopupMenu)
    In versions less than KDE 3.2.0 only

  • -
  • contextMenuAboutToShow (menu) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    menuKPopupMenu
    -

  • -
  • enterEvent (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0TQEvent
    -

  • -
  • loadIcon (icon, instance = KGlobal .instance ()) -
    - - -
    returns (TQPixmap)
    In versions KDE 3.2.0 and above only
    static
    - - -
    ArgumentTypeDefault
    iconTQString
    instanceKInstanceKGlobal .instance ()
    -

  • -
  • mousePressEvent (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0TQMouseEvent
    -

  • -
  • mouseReleaseEvent (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0TQMouseEvent
    -

  • -
  • quitSelected () -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only

  • -
  • setActive () -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only

  • -
  • setCaption (title) -
    - -
    returns nothing
    In versions KDE 3.4.0 and above only
    - -
    ArgumentTypeDefault
    titleTQString
    -

  • -
  • setInactive () -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only

  • -
  • setPixmap (icon) -
    - -
    returns nothing
    In versions KDE 3.4.0 and above only
    - -
    ArgumentTypeDefault
    iconTQPixmap
    -

  • -
  • showEvent (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0TQShowEvent
    -

  • -
  • toggleActive () -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only

  • -
- - - diff --git a/python/pykde/doc/classref/kdeui/KTabBar.html b/python/pykde/doc/classref/kdeui/KTabBar.html deleted file mode 100644 index a6b13954..00000000 --- a/python/pykde/doc/classref/kdeui/KTabBar.html +++ /dev/null @@ -1,268 +0,0 @@ - - - - - class KTabBar - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KTabBar


-
- - - - - -
Table of contents
Modules
kdeui Classes
All Classes
-
- - - - - - - - - - -
Modulekdeui
ClassKTabBar
InheritsTQTabBar
-

methods

    -
  • KTabBar (parent = 0, name = 0) -
    - -
    returns a KTabBar instance
    In versions KDE 3.2.0 and above only
    - - -
    ArgumentTypeDefault
    parentTQWidget0
    namechar0
    -

  • -
  • activateDragSwitchTab () -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only

  • -
  • closeButtonClicked () -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only

  • -
  • closeRequest (a0) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    a0int
    -

  • -
  • contextMenu (a0, a1) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - - -
    ArgumentTypeDefault
    a0int
    a1TQPoint
    -

  • -
  • dragMoveEvent (e) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    eTQDragMoveEvent
    -

  • -
  • dropEvent (e) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    eTQDropEvent
    -

  • -
  • enableCloseButton () -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only

  • -
  • hoverCloseButton () -
    - -
    returns (bool)
    In versions KDE 3.2.0 and above only

  • -
  • hoverCloseButtonDelayed () -
    - -
    returns (bool)
    In versions KDE 3.2.0 and above only

  • -
  • initiateDrag (a0) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    a0int
    -

  • -
  • insertTab (a0, index = -1) -
    - -
    returns (int)
    In versions KDE 3.3.0 and above only
    - - -
    ArgumentTypeDefault
    a0TQTab
    indexint-1
    -

  • -
  • isTabReorderingEnabled () -
    - -
    returns (bool)
    In versions KDE 3.2.0 and above only

  • -
  • mouseDoubleClick (a0) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    a0int
    -

  • -
  • mouseDoubleClickEvent (e) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    eTQMouseEvent
    -

  • -
  • mouseMiddleClick (a0) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    a0int
    -

  • -
  • mouseMoveEvent (e) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    eTQMouseEvent
    -

  • -
  • mousePressEvent (e) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    eTQMouseEvent
    -

  • -
  • mouseReleaseEvent (e) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    eTQMouseEvent
    -

  • -
  • moveTab (a0, a1) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - - -
    ArgumentTypeDefault
    a0int
    a1int
    -

  • -
  • onLayoutChange () -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only

  • -
  • paintLabel (a0, a1, a2, a3) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - - - - -
    ArgumentTypeDefault
    a0TQPainter
    a1TQRect
    a2TQTab
    a3bool
    -

  • -
  • receivedDropEvent (a0, a1) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - - -
    ArgumentTypeDefault
    a0int
    a1TQDropEvent
    -

  • -
  • removeTab (a0) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    a0TQTab
    -

  • -
  • setHoverCloseButton (a0) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    a0bool
    -

  • -
  • setHoverCloseButtonDelayed (a0) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    a0bool
    -

  • -
  • setTabCloseActivatePrevious (a0) -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only
    - -
    ArgumentTypeDefault
    a0bool
    -

  • -
  • setTabColor (a0, a1) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - - -
    ArgumentTypeDefault
    a0int
    a1TQColor
    -

  • -
  • setTabEnabled (a0, a1) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - - -
    ArgumentTypeDefault
    a0int
    a1bool
    -

  • -
  • setTabReorderingEnabled (enable) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    enablebool
    -

  • -
  • tabCloseActivatePrevious () -
    - -
    returns (bool)
    In versions KDE 3.3.0 and above only

  • -
  • tabColor (a0) -
    - -
    returns (TQColor)
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    a0int
    -

  • -
  • testCanDecode (e) -
    Not Implemented
    -

  • -
  • wheelDelta (a0) -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only
    - -
    ArgumentTypeDefault
    a0int
    -

  • -
  • wheelEvent (e) -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only
    - -
    ArgumentTypeDefault
    eTQWheelEvent
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kdeui/KTabCtl.html b/python/pykde/doc/classref/kdeui/KTabCtl.html deleted file mode 100644 index ca983d5e..00000000 --- a/python/pykde/doc/classref/kdeui/KTabCtl.html +++ /dev/null @@ -1,128 +0,0 @@ - - - - - class KTabCtl - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KTabCtl


-
- - - - - -
Table of contents
Modules
kdeui Classes
All Classes
-
- - - - - - - - - - -
Modulekdeui
ClassKTabCtl
InheritsTQWidget
-

methods

    -
  • KTabCtl (parent = 0, name = 0) -
    -
    returns a KTabCtl instance
    - - -
    ArgumentTypeDefault
    parentTQWidget0
    namechar0
    -

  • -
  • addTab (a0, a1) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    a0TQWidget
    a1TQString
    -

  • -
  • getChildRect () -
    -
    returns (TQRect)

  • -
  • isTabEnabled (a0) -
    -
    returns (bool)
    - -
    ArgumentTypeDefault
    a0TQString
    -

  • -
  • paintEvent (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0TQPaintEvent
    -

  • -
  • resizeEvent (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0TQResizeEvent
    -

  • -
  • setBorder (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0bool
    -

  • -
  • setFont (font) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    fontTQFont
    -

  • -
  • setShape (shape) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    shapeTQTabBar.Shape
    -

  • -
  • setSizes () -
    -
    returns nothing

  • -
  • setTabEnabled (a0, a1) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    a0TQString
    a1bool
    -

  • -
  • setTabFont (font) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    fontTQFont
    -

  • -
  • show () -
    -
    returns nothing

  • -
  • showTab (i) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    iint
    -

  • -
  • sizeHint () -
    -
    returns (TQSize)

  • -
  • tabSelected (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0int
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kdeui/KTabWidget.html b/python/pykde/doc/classref/kdeui/KTabWidget.html deleted file mode 100644 index d8fde767..00000000 --- a/python/pykde/doc/classref/kdeui/KTabWidget.html +++ /dev/null @@ -1,360 +0,0 @@ - - - - - class KTabWidget - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KTabWidget


-
- - - - - -
Table of contents
Modules
kdeui Classes
All Classes
-
- - - - - - - - - - -
Modulekdeui
ClassKTabWidget
InheritsTQTabWidget
-

methods

    -
  • KTabWidget (parent = 0, name = 0, f = 0) -
    - -
    returns a KTabWidget instance
    In versions KDE 3.2.0 and above only
    - - - -
    ArgumentTypeDefault
    parentTQWidget0
    namechar0
    fWFlags0
    -

  • -
  • automaticResizeTabs () -
    - -
    returns (bool)
    In versions KDE 3.4.0 and above only

  • -
  • changeTab (a0, a1) -
    - -
    returns nothing
    In versions KDE 3.4.0 and above only
    - - -
    ArgumentTypeDefault
    a0TQWidget
    a1TQString
    -

  • -
  • changeTab (child, iconset, label) -
    - -
    returns nothing
    In versions KDE 3.4.0 and above only
    - - - -
    ArgumentTypeDefault
    childTQWidget
    iconsetTQIconSet
    labelTQString
    -

  • -
  • closeRequest (a0) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    a0TQWidget
    -

  • -
  • closeRequest (a0) -
    Not Implemented
    -

  • -
  • contextMenu (a0) -
    Not Implemented
    -

  • -
  • contextMenu (a0, a1) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - - -
    ArgumentTypeDefault
    a0TQWidget
    a1TQPoint
    -

  • -
  • contextMenu (a0, a1) -
    Not Implemented
    -

  • -
  • dragMoveEvent (a0) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    a0TQDragMoveEvent
    -

  • -
  • dropEvent (a0) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    a0TQDropEvent
    -

  • -
  • hoverCloseButton () -
    - -
    returns (bool)
    In versions KDE 3.2.0 and above only

  • -
  • hoverCloseButtonDelayed () -
    - -
    returns (bool)
    In versions KDE 3.2.0 and above only

  • -
  • initiateDrag (a0) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    a0TQWidget
    -

  • -
  • initiateDrag (a0) -
    Not Implemented
    -

  • -
  • insertTab (a0, a1, index = -1) -
    - -
    returns nothing
    In versions KDE 3.4.0 and above only
    - - - -
    ArgumentTypeDefault
    a0TQWidget
    a1TQString
    indexint-1
    -

  • -
  • insertTab (child, iconset, label, index = -1) -
    - -
    returns nothing
    In versions KDE 3.4.0 and above only
    - - - - -
    ArgumentTypeDefault
    childTQWidget
    iconsetTQIconSet
    labelTQString
    indexint-1
    -

  • -
  • insertTab (a0, a1, index = -1) -
    - -
    returns nothing
    In versions KDE 3.4.0 and above only
    - - - -
    ArgumentTypeDefault
    a0TQWidget
    a1TQTab
    indexint-1
    -

  • -
  • isTabBarHidden () -
    - -
    returns (bool)
    In versions KDE 3.4.0 and above only

  • -
  • isTabReorderingEnabled () -
    - -
    returns (bool)
    In versions KDE 3.2.0 and above only

  • -
  • label (a0) -
    - -
    returns (TQString)
    In versions KDE 3.4.0 and above only
    - -
    ArgumentTypeDefault
    a0int
    -

  • -
  • mouseDoubleClick () -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only

  • -
  • mouseDoubleClick (a0) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    a0TQWidget
    -

  • -
  • mouseDoubleClick (a0) -
    Not Implemented
    -

  • -
  • mouseDoubleClickEvent (e) -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only
    - -
    ArgumentTypeDefault
    eTQMouseEvent
    -

  • -
  • mouseMiddleClick () -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only

  • -
  • mouseMiddleClick (a0) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    a0TQWidget
    -

  • -
  • mouseMiddleClick (a0) -
    Not Implemented
    -

  • -
  • mousePressEvent (a0) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    a0TQMouseEvent
    -

  • -
  • moveTab (a0, a1) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - - -
    ArgumentTypeDefault
    a0int
    a1int
    -

  • -
  • movedTab (a0, a1) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - - -
    ArgumentTypeDefault
    a0int
    a1int
    -

  • -
  • receivedDropEvent (a0) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    a0TQDropEvent
    -

  • -
  • receivedDropEvent (a0, a1) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - - -
    ArgumentTypeDefault
    a0TQWidget
    a1TQDropEvent
    -

  • -
  • receivedDropEvent (a0, a1) -
    Not Implemented
    -

  • -
  • removePage (w) -
    - -
    returns nothing
    In versions KDE 3.4.0 and above only
    - -
    ArgumentTypeDefault
    wTQWidget
    -

  • -
  • resizeEvent (a0) -
    - -
    returns nothing
    In versions KDE 3.4.0 and above only
    - -
    ArgumentTypeDefault
    a0TQResizeEvent
    -

  • -
  • setAutomaticResizeTabs (enable) -
    - -
    returns nothing
    In versions KDE 3.4.0 and above only
    - -
    ArgumentTypeDefault
    enablebool
    -

  • -
  • setHoverCloseButton (enable) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    enablebool
    -

  • -
  • setHoverCloseButtonDelayed (delayed) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    delayedbool
    -

  • -
  • setTabBarHidden (hide) -
    - -
    returns nothing
    In versions KDE 3.4.0 and above only
    - -
    ArgumentTypeDefault
    hidebool
    -

  • -
  • setTabCloseActivatePrevious (previous) -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only
    - -
    ArgumentTypeDefault
    previousbool
    -

  • -
  • setTabColor (a0, color) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - - -
    ArgumentTypeDefault
    a0TQWidget
    colorTQColor
    -

  • -
  • setTabLabel (a0, a1) -
    - -
    returns nothing
    In versions KDE 3.4.0 and above only
    - - -
    ArgumentTypeDefault
    a0TQWidget
    a1TQString
    -

  • -
  • setTabReorderingEnabled (enable) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    enablebool
    -

  • -
  • tabBarWidthForMaxChars (maxLength) -
    - -
    returns (uint)
    In versions KDE 3.4.0 and above only
    - -
    ArgumentTypeDefault
    maxLengthuint
    -

  • -
  • tabCloseActivatePrevious () -
    - -
    returns (bool)
    In versions KDE 3.3.0 and above only

  • -
  • tabColor (a0) -
    - -
    returns (TQColor)
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    a0TQWidget
    -

  • -
  • tabLabel (a0) -
    - -
    returns (TQString)
    In versions KDE 3.4.0 and above only
    - -
    ArgumentTypeDefault
    a0TQWidget
    -

  • -
  • testCanDecode (e) -
    Not Implemented
    -

  • -
  • wheelDelta (a0) -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only
    - -
    ArgumentTypeDefault
    a0int
    -

  • -
  • wheelEvent (e) -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only
    - -
    ArgumentTypeDefault
    eTQWheelEvent
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kdeui/KTextBrowser.html b/python/pykde/doc/classref/kdeui/KTextBrowser.html deleted file mode 100644 index 0700fa9c..00000000 --- a/python/pykde/doc/classref/kdeui/KTextBrowser.html +++ /dev/null @@ -1,102 +0,0 @@ - - - - - class KTextBrowser - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KTextBrowser


-
- - - - - -
Table of contents
Modules
kdeui Classes
All Classes
-
- - - - - - - - - - -
Modulekdeui
ClassKTextBrowser
InheritsTQTextBrowser
-

methods

    -
  • KTextBrowser (parent = 0, name = 0, notifyClick = 0) -
    -
    returns a KTextBrowser instance
    - - - -
    ArgumentTypeDefault
    parentTQWidget0
    namechar0
    notifyClickbool0
    -

  • -
  • contentsWheelEvent (e) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    eTQWheelEvent
    -

  • -
  • createPopupMenu (pos) -
    - -
    returns (TQPopupMenu)
    In versions KDE 3.3.0 and above only
    - -
    ArgumentTypeDefault
    posTQPoint
    -

  • -
  • isNotifyClick () -
    -
    returns (bool)

  • -
  • keyPressEvent (e) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    eTQKeyEvent
    -

  • -
  • mailClick (name, address) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    nameTQString
    addressTQString
    -

  • -
  • setNotifyClick (notifyClick) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    notifyClickbool
    -

  • -
  • setSource (name) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    nameTQString
    -

  • -
  • urlClick (url) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    urlTQString
    -

  • -
  • viewportMouseMoveEvent (e) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    eTQMouseEvent
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kdeui/KTextEdit.html b/python/pykde/doc/classref/kdeui/KTextEdit.html deleted file mode 100644 index 5662f941..00000000 --- a/python/pykde/doc/classref/kdeui/KTextEdit.html +++ /dev/null @@ -1,139 +0,0 @@ - - - - - class KTextEdit - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KTextEdit


-
- - - - - -
Table of contents
Modules
kdeui Classes
All Classes
-
- - - - - - - - - - -
Modulekdeui
ClassKTextEdit
InheritsTQTextEdit
-

methods

    -
  • KTextEdit (text, context = TQString .null, parent = 0, name = 0) -
    - -
    returns a KTextEdit instance
    In versions KDE 3.1.0 and above only
    - - - - -
    ArgumentTypeDefault
    textTQString
    contextTQStringTQString .null
    parentTQWidget0
    namechar0
    -

  • -
  • KTextEdit (parent = 0, name = 0) -
    - -
    returns a KTextEdit instance
    In versions KDE 3.1.0 and above only
    - - -
    ArgumentTypeDefault
    parentTQWidget0
    namechar0
    -

  • -
  • checkSpelling () -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only

  • -
  • checkSpellingEnabled () -
    - -
    returns (bool)
    In versions KDE 3.2.0 and above only

  • -
  • contentsWheelEvent (a0) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    a0TQWheelEvent
    -

  • -
  • createPopupMenu (pos) -
    - -
    returns (TQPopupMenu)
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    posTQPoint
    -

  • -
  • createPopupMenu () -
    - -
    returns (TQPopupMenu)
    In versions KDE 3.2.0 and above only

  • -
  • deleteWordBack () -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only

  • -
  • deleteWordForward () -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only

  • -
  • focusInEvent (a0) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    a0TQFocusEvent
    -

  • -
  • highLightWord (length, pos) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - - -
    ArgumentTypeDefault
    lengthuint
    posuint
    -

  • -
  • keyPressEvent (a0) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    a0TQKeyEvent
    -

  • -
  • setCheckSpellingEnabled (check) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    checkbool
    -

  • -
  • setPalette (palette) -
    - -
    returns nothing
    In versions KDE 3.1.1 and above only
    - -
    ArgumentTypeDefault
    paletteTQPalette
    -

  • -
  • setReadOnly (readOnly) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    readOnlybool
    -

  • -
  • virtual_hook (id, data) -
    Not Implemented
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kdeui/KTimeWidget.html b/python/pykde/doc/classref/kdeui/KTimeWidget.html deleted file mode 100644 index 3cc0e5ab..00000000 --- a/python/pykde/doc/classref/kdeui/KTimeWidget.html +++ /dev/null @@ -1,76 +0,0 @@ - - - - - class KTimeWidget - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KTimeWidget


-
- - - - - -
Table of contents
Modules
kdeui Classes
All Classes
-
- - - - - - - - - - -
Modulekdeui
ClassKTimeWidget
InheritsTQWidget
-

methods

    -
  • KTimeWidget (parent = 0, name = 0) -
    - -
    returns a KTimeWidget instance
    In versions KDE 3.2.0 and above only
    - - -
    ArgumentTypeDefault
    parentTQWidget0
    namechar0
    -

  • -
  • KTimeWidget (time, parent = 0, name = 0) -
    - -
    returns a KTimeWidget instance
    In versions KDE 3.2.0 and above only
    - - - -
    ArgumentTypeDefault
    timeTQTime
    parentTQWidget0
    namechar0
    -

  • -
  • setTime (time) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    timeTQTime
    -

  • -
  • time () -
    - -
    returns (TQTime)
    In versions KDE 3.2.0 and above only

  • -
  • valueChanged (time) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    timeTQTime
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kdeui/KTimezoneWidget.html b/python/pykde/doc/classref/kdeui/KTimezoneWidget.html deleted file mode 100644 index 05bda3ac..00000000 --- a/python/pykde/doc/classref/kdeui/KTimezoneWidget.html +++ /dev/null @@ -1,70 +0,0 @@ - - - - - class KTimezoneWidget - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KTimezoneWidget


-
- - - - - -
Table of contents
Modules
kdeui Classes
All Classes
-
- - - - - - - - - - -
Modulekdeui
ClassKTimezoneWidget
InheritsKListView
-

methods

    -
  • KTimezoneWidget (parent = 0, name = 0, db = 0) -
    - -
    returns a KTimezoneWidget instance
    In versions KDE 3.5.0 and above only
    - - - -
    ArgumentTypeDefault
    parentTQWidget0
    namechar0
    dbKTimezones0
    -

  • -
  • displayName (zone) -
    - - -
    returns (TQString)
    In versions KDE 3.5.0 and above only
    static
    - -
    ArgumentTypeDefault
    zoneKTimezone
    -

  • -
  • selection () -
    - -
    returns (TQStringList)
    In versions KDE 3.5.0 and above only

  • -
  • setSelected (zone, selected) -
    - -
    returns nothing
    In versions KDE 3.5.0 and above only
    - - -
    ArgumentTypeDefault
    zoneTQString
    selectedbool
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kdeui/KTipDatabase.html b/python/pykde/doc/classref/kdeui/KTipDatabase.html deleted file mode 100644 index a0e56e8e..00000000 --- a/python/pykde/doc/classref/kdeui/KTipDatabase.html +++ /dev/null @@ -1,63 +0,0 @@ - - - - - class KTipDatabase - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KTipDatabase


-
- - - - - -
Table of contents
Modules
kdeui Classes
All Classes
-
- - - - - - - - - - -
Modulekdeui
ClassKTipDatabase
Inherits
-

methods

    -
  • KTipDatabase (tipFile = TQString .null) -
    -
    returns a KTipDatabase instance
    - -
    ArgumentTypeDefault
    tipFileTQStringTQString .null
    -

  • -
  • KTipDatabase (tipFiles) -
    - -
    returns a KTipDatabase instance
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    tipFilesTQStringList
    -

  • -
  • nextTip () -
    -
    returns nothing

  • -
  • prevTip () -
    -
    returns nothing

  • -
  • tip () -
    -
    returns (TQString)

  • -
- - - diff --git a/python/pykde/doc/classref/kdeui/KTipDialog.html b/python/pykde/doc/classref/kdeui/KTipDialog.html deleted file mode 100644 index 86e5d68d..00000000 --- a/python/pykde/doc/classref/kdeui/KTipDialog.html +++ /dev/null @@ -1,100 +0,0 @@ - - - - - class KTipDialog - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KTipDialog


-
- - - - - -
Table of contents
Modules
kdeui Classes
All Classes
-
- - - - - - - - - - -
Modulekdeui
ClassKTipDialog
InheritsKDialog
-

methods

    -
  • KTipDialog (db, parent = 0, name = 0) -
    - -
    returns a KTipDialog instance
    In versions KDE 3.1.0 and above only
    - - - -
    ArgumentTypeDefault
    dbKTipDatabase
    parentTQWidget0
    namechar0
    -

  • -
  • KTipDialog (a0, a1 = 0, a2 = 0) -
    - -
    returns a KTipDialog instance
    In versions less than KDE 3.1.0 only
    - - - -
    ArgumentTypeDefault
    a0KTipDatabase
    a1TQWidget0
    a2char0
    -

  • -
  • eventFilter (a0, a1) -
    -
    returns (bool)
    - - -
    ArgumentTypeDefault
    a0TQObject
    a1TQEvent
    -

  • -
  • setShowOnStart (show) -
    - -
    returns nothing
    static
    - -
    ArgumentTypeDefault
    showbool
    -

  • -
  • showMultiTip (parent, tipFiles, force = 0) -
    - - -
    returns nothing
    In versions KDE 3.2.0 and above only
    static
    - - - -
    ArgumentTypeDefault
    parentTQWidget
    tipFilesTQStringList
    forcebool0
    -

  • -
  • showTip (parent, tipFile = TQString .null, force = 0) -
    - -
    returns nothing
    static
    - - - -
    ArgumentTypeDefault
    parentTQWidget
    tipFileTQStringTQString .null
    forcebool0
    -

  • -
  • showTip (tipFile = TQString .null, force = 0) -
    - -
    returns nothing
    static
    - - -
    ArgumentTypeDefault
    tipFileTQStringTQString .null
    forcebool0
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kdeui/KToggleAction.html b/python/pykde/doc/classref/kdeui/KToggleAction.html deleted file mode 100644 index fbf16301..00000000 --- a/python/pykde/doc/classref/kdeui/KToggleAction.html +++ /dev/null @@ -1,298 +0,0 @@ - - - - - class KToggleAction - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KToggleAction


-
- - - - - -
Table of contents
Modules
kdeui Classes
All Classes
-
- - - - - - - - - - -
Modulekdeui
ClassKToggleAction
InheritsKAction
-

methods

    -
  • KToggleAction (a0, a1 = KShortcut (), a2 = 0, a3 = 0) -
    - -
    returns a KToggleAction instance
    In versions less than KDE 3.2.0 only
    - - - - -
    ArgumentTypeDefault
    a0TQString
    a1KShortcutKShortcut ()
    a2TQObject0
    a3char0
    -

  • -
  • KToggleAction (a0, a1, slot, a4, a5 = 0) -
    - -
    returns a KToggleAction instance
    In versions less than KDE 3.2.0 only
    - - - - - -
    ArgumentTypeDefault
    a0TQString
    a1KShortcut
    slotSLOT (Python callable)
    a4TQObject
    a5char0
    -

  • -
  • KToggleAction (text, pix, cut = KShortcut (), parent = 0, name = 0) -
    - -
    returns a KToggleAction instance
    In versions KDE 3.2.0 and above only
    - - - - - -
    ArgumentTypeDefault
    textTQString
    pixTQString
    cutKShortcutKShortcut ()
    parentTQObject0
    namechar0
    -

  • -
  • KToggleAction (text, pix, cut, slot, parent, name = 0) -
    - -
    returns a KToggleAction instance
    In versions KDE 3.2.0 and above only
    - - - - - - -
    ArgumentTypeDefault
    textTQString
    pixTQIconSet
    cutKShortcut
    slotSLOT (Python callable)
    parentTQObject
    namechar0
    -

  • -
  • KToggleAction (text, pix, cut, slot, parent, name = 0) -
    - -
    returns a KToggleAction instance
    In versions KDE 3.2.0 and above only
    - - - - - - -
    ArgumentTypeDefault
    textTQString
    pixTQString
    cutKShortcut
    slotSLOT (Python callable)
    parentTQObject
    namechar0
    -

  • -
  • KToggleAction (parent = 0, name = 0) -
    - -
    returns a KToggleAction instance
    In versions KDE 3.2.0 and above only
    - - -
    ArgumentTypeDefault
    parentTQObject0
    namechar0
    -

  • -
  • KToggleAction (a0, a1, a2 = KShortcut (), a3 = 0, a4 = 0) -
    - -
    returns a KToggleAction instance
    In versions less than KDE 3.2.0 only
    - - - - - -
    ArgumentTypeDefault
    a0TQString
    a1TQIconSet
    a2KShortcutKShortcut ()
    a3TQObject0
    a4char0
    -

  • -
  • KToggleAction (a0, a1, a2 = KShortcut (), a3 = 0, a4 = 0) -
    - -
    returns a KToggleAction instance
    In versions less than KDE 3.2.0 only
    - - - - - -
    ArgumentTypeDefault
    a0TQString
    a1TQString
    a2KShortcutKShortcut ()
    a3TQObject0
    a4char0
    -

  • -
  • KToggleAction (a0, a1, a2, slot, a5, a6 = 0) -
    - -
    returns a KToggleAction instance
    In versions less than KDE 3.2.0 only
    - - - - - - -
    ArgumentTypeDefault
    a0TQString
    a1TQIconSet
    a2KShortcut
    slotSLOT (Python callable)
    a5TQObject
    a6char0
    -

  • -
  • KToggleAction (a0, a1, a2, slot, a5, a6 = 0) -
    - -
    returns a KToggleAction instance
    In versions less than KDE 3.2.0 only
    - - - - - - -
    ArgumentTypeDefault
    a0TQString
    a1TQString
    a2KShortcut
    slotSLOT (Python callable)
    a5TQObject
    a6char0
    -

  • -
  • KToggleAction (a0 = 0, a1 = 0) -
    - -
    returns a KToggleAction instance
    In versions less than KDE 3.2.0 only
    - - -
    ArgumentTypeDefault
    a0TQObject0
    a1char0
    -

  • -
  • KToggleAction (text, cut = KShortcut (), parent = 0, name = 0) -
    - -
    returns a KToggleAction instance
    In versions KDE 3.2.0 and above only
    - - - - -
    ArgumentTypeDefault
    textTQString
    cutKShortcutKShortcut ()
    parentTQObject0
    namechar0
    -

  • -
  • KToggleAction (text, cut, slot, parent, name = 0) -
    - -
    returns a KToggleAction instance
    In versions KDE 3.2.0 and above only
    - - - - - -
    ArgumentTypeDefault
    textTQString
    cutKShortcut
    slotSLOT (Python callable)
    parentTQObject
    namechar0
    -

  • -
  • KToggleAction (text, pix, cut = KShortcut (), parent = 0, name = 0) -
    - -
    returns a KToggleAction instance
    In versions KDE 3.2.0 and above only
    - - - - - -
    ArgumentTypeDefault
    textTQString
    pixTQIconSet
    cutKShortcutKShortcut ()
    parentTQObject0
    namechar0
    -

  • -
  • exclusiveGroup () -
    - -
    returns (TQString)
    In versions less than KDE 3.2.0 only

  • -
  • exclusiveGroup () -
    - -
    returns (TQString)
    In versions KDE 3.2.0 and above only

  • -
  • isChecked () -
    - -
    returns (bool)
    In versions less than KDE 3.2.0 only

  • -
  • isChecked () -
    - -
    returns (bool)
    In versions KDE 3.2.0 and above only

  • -
  • plug (a0, a1 = -1) -
    - -
    returns (int)
    In versions less than KDE 3.2.0 only
    - - -
    ArgumentTypeDefault
    a0TQWidget
    a1int-1
    -

  • -
  • plug (widget, index = -1) -
    - -
    returns (int)
    In versions KDE 3.2.0 and above only
    - - -
    ArgumentTypeDefault
    widgetTQWidget
    indexint-1
    -

  • -
  • setChecked (a0) -
    - -
    returns nothing
    In versions less than KDE 3.2.0 only
    - -
    ArgumentTypeDefault
    a0bool
    -

  • -
  • setChecked (a0) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    a0bool
    -

  • -
  • setCheckedState (checkedItem) -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only
    - -
    ArgumentTypeDefault
    checkedItemKGuiItem
    -

  • -
  • setExclusiveGroup (a0) -
    - -
    returns nothing
    In versions less than KDE 3.2.0 only
    - -
    ArgumentTypeDefault
    a0TQString
    -

  • -
  • setExclusiveGroup (name) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    nameTQString
    -

  • -
  • slotActivated () -
    - -
    returns nothing
    In versions less than KDE 3.2.0 only

  • -
  • slotActivated () -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only

  • -
  • toggled (a0) -
    - -
    returns nothing
    In versions less than KDE 3.2.0 only
    - -
    ArgumentTypeDefault
    a0bool
    -

  • -
  • toggled (a0) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    a0bool
    -

  • -
  • toolTip () -
    - -
    returns (TQString)
    In versions KDE 3.3.0 and above only

  • -
  • updateChecked (a0) -
    - -
    returns nothing
    In versions less than KDE 3.2.0 only
    - -
    ArgumentTypeDefault
    a0int
    -

  • -
  • updateChecked (id) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    idint
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kdeui/KToggleFullScreenAction.html b/python/pykde/doc/classref/kdeui/KToggleFullScreenAction.html deleted file mode 100644 index 02c62615..00000000 --- a/python/pykde/doc/classref/kdeui/KToggleFullScreenAction.html +++ /dev/null @@ -1,74 +0,0 @@ - - - - - class KToggleFullScreenAction - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KToggleFullScreenAction


-
- - - - - -
Table of contents
Modules
kdeui Classes
All Classes
-
- - - - - - - - - - -
Modulekdeui
ClassKToggleFullScreenAction
InheritsKToggleAction
-

methods

    -
  • KToggleFullScreenAction (cut, slot, parent, window, name) -
    - -
    returns a KToggleFullScreenAction instance
    In versions KDE 3.2.0 and above only
    - - - - - -
    ArgumentTypeDefault
    cutKShortcut
    slotSLOT (Python callable)
    parentTQObject
    windowTQWidget
    namechar
    -

  • -
  • eventFilter (o, e) -
    - -
    returns (bool)
    In versions KDE 3.2.0 and above only
    - - -
    ArgumentTypeDefault
    oTQObject
    eTQEvent
    -

  • -
  • setChecked (a0) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    a0bool
    -

  • -
  • setWindow (window) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    windowTQWidget
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kdeui/KToggleToolBarAction.html b/python/pykde/doc/classref/kdeui/KToggleToolBarAction.html deleted file mode 100644 index f6d8536a..00000000 --- a/python/pykde/doc/classref/kdeui/KToggleToolBarAction.html +++ /dev/null @@ -1,127 +0,0 @@ - - - - - class KToggleToolBarAction - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KToggleToolBarAction


-
- - - - - -
Table of contents
Modules
kdeui Classes
All Classes
-
- - - - - - - - - - -
Modulekdeui
ClassKToggleToolBarAction
InheritsKToggleAction
-

methods

    -
  • KToggleToolBarAction (a0, a1, a2, a3) -
    - -
    returns a KToggleToolBarAction instance
    In versions KDE 3.1.0 and above, but less than KDE 3.2.0
    - - - - -
    ArgumentTypeDefault
    a0char
    a1TQString
    a2KActionCollection
    a3char
    -

  • -
  • KToggleToolBarAction (a0, a1, a2, a3) -
    - -
    returns a KToggleToolBarAction instance
    In versions KDE 3.1.0 and above, but less than KDE 3.2.0
    - - - - -
    ArgumentTypeDefault
    a0KToolBar
    a1TQString
    a2KActionCollection
    a3char
    -

  • -
  • KToggleToolBarAction (toolBarName, text, parent, name) -
    - -
    returns a KToggleToolBarAction instance
    In versions KDE 3.2.0 and above only
    - - - - -
    ArgumentTypeDefault
    toolBarNamechar
    textTQString
    parentKActionCollection
    namechar
    -

  • -
  • KToggleToolBarAction (toolBar, text, parent, name) -
    - -
    returns a KToggleToolBarAction instance
    In versions KDE 3.2.0 and above only
    - - - - -
    ArgumentTypeDefault
    toolBarKToolBar
    textTQString
    parentKActionCollection
    namechar
    -

  • -
  • plug (a0, a1 = -1) -
    - -
    returns (int)
    In versions KDE 3.1.0 and above, but less than KDE 3.2.0
    - - -
    ArgumentTypeDefault
    a0TQWidget
    a1int-1
    -

  • -
  • plug (widget, index = -1) -
    - -
    returns (int)
    In versions KDE 3.2.0 and above only
    - - -
    ArgumentTypeDefault
    widgetTQWidget
    indexint-1
    -

  • -
  • setChecked (a0) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above, but less than KDE 3.2.0
    - -
    ArgumentTypeDefault
    a0bool
    -

  • -
  • setChecked (a0) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    a0bool
    -

  • -
  • toolBar () -
    - -
    returns (KToolBar)
    In versions KDE 3.1.0 and above, but less than KDE 3.2.0

  • -
  • toolBar () -
    - -
    returns (KToolBar)
    In versions KDE 3.2.0 and above only

  • -
  • virtual_hook (a0, a1) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above, but less than KDE 3.2.0
    - - -
    ArgumentTypeDefault
    a0int
    a1void
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kdeui/KToolBar.html b/python/pykde/doc/classref/kdeui/KToolBar.html deleted file mode 100644 index 3808debe..00000000 --- a/python/pykde/doc/classref/kdeui/KToolBar.html +++ /dev/null @@ -1,797 +0,0 @@ - - - - - class KToolBar - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KToolBar


-
- - - - - -
Table of contents
Modules
kdeui Classes
All Classes
-
- - - - - - - - - - -
Modulekdeui
ClassKToolBar
InheritsTQToolBar
-

enums

    -
  • BarPosition = {Unmanaged, Floating, Top, Bottom, Right, Left, Flat -}
  • BarStatus = {Toggle, Show, Hide -}
  • IconText = {IconOnly, IconTextRight, TextOnly, IconTextBottom -}
-

methods

    -
  • KToolBar (parent, name = 0, honorStyle = 0, readConfig = 1) -
    -
    returns a KToolBar instance
    - - - - -
    ArgumentTypeDefault
    parentTQWidget
    namechar0
    honorStylebool0
    readConfigbool1
    -

  • -
  • KToolBar (parentWindow, dock, newLine = 0, name = 0, honorStyle = 0, readConfig = 1) -
    Not Implemented
    -

  • -
  • KToolBar (parentWindow, dock, newLine = 0, name = 0, honorStyle = 0, readConfig = 1) -
    -
    returns a KToolBar instance
    - - - - - - -
    ArgumentTypeDefault
    parentWindowTQMainWindow
    dockTQWidget
    newLinebool0
    namechar0
    honorStylebool0
    readConfigbool1
    -

  • -
  • addConnection (id, signal, slot) -
    -
    returns nothing
    - - - -
    ArgumentTypeDefault
    idint
    signalchar
    slotSLOT (Python callable)
    -

  • -
  • alignItemRight (id, right = 1) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    idint
    rightbool1
    -

  • -
  • animatedWidget (id) -
    -
    returns (KAnimWidget)
    - -
    ArgumentTypeDefault
    idint
    -

  • -
  • applyAppearanceSettings (config, _configGroup, forceGlobal = 0) -
    -
    returns nothing
    - - - -
    ArgumentTypeDefault
    configKConfig
    _configGroupTQString
    forceGlobalbool0
    -

  • -
  • applySettings (config, configGroup, force) -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only
    - - - -
    ArgumentTypeDefault
    configKConfig
    configGroupTQString
    forcebool
    -

  • -
  • applySettings (config, configGroup) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    configKConfig
    configGroupTQString
    -

  • -
  • barPos () -
    -
    returns (BarPosition)

  • -
  • changeComboItem (id, text, index = -1) -
    -
    returns nothing
    - - - -
    ArgumentTypeDefault
    idint
    textTQString
    indexint-1
    -

  • -
  • childEvent (e) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    eTQChildEvent
    -

  • -
  • clear () -
    -
    returns nothing

  • -
  • clearCombo (id) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    idint
    -

  • -
  • clicked (id) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    idint
    -

  • -
  • contextMenuEnabled () -
    -
    returns (bool)

  • -
  • count () -
    -
    returns (int)

  • -
  • doubleClicked (id) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    idint
    -

  • -
  • enable (stat) -
    -
    returns (bool)
    - -
    ArgumentTypeDefault
    statKToolBar.BarStatus
    -

  • -
  • enableFloating (flag) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    flagbool
    -

  • -
  • enableMoving (flag = 1) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    flagbool1
    -

  • -
  • event (e) -
    -
    returns (bool)
    - -
    ArgumentTypeDefault
    eTQEvent
    -

  • -
  • fullSize () -
    -
    returns (bool)

  • -
  • getButton (id) -
    -
    returns (KToolBarButton)
    - -
    ArgumentTypeDefault
    idint
    -

  • -
  • getCombo (id) -
    -
    returns (KComboBox)
    - -
    ArgumentTypeDefault
    idint
    -

  • -
  • getComboItem (id, index = -1) -
    -
    returns (TQString)
    - - -
    ArgumentTypeDefault
    idint
    indexint-1
    -

  • -
  • getLined (id) -
    -
    returns (KLineEdit)
    - -
    ArgumentTypeDefault
    idint
    -

  • -
  • getLinedText (id) -
    -
    returns (TQString)
    - -
    ArgumentTypeDefault
    idint
    -

  • -
  • getWidget (id) -
    -
    returns (TQWidget)
    - -
    ArgumentTypeDefault
    idint
    -

  • -
  • hide () -
    -
    returns nothing

  • -
  • hideItem (id) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    idint
    -

  • -
  • highlight () -
    -
    returns (bool)

  • -
  • highlightSetting () -
    - - -
    returns (bool)
    In versions KDE 3.1.0 and above only
    static

  • -
  • highlightSetting () -
    Not Implemented
    -

  • -
  • highlighted (id, isHighlighted) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    idint
    isHighlightedbool
    -

  • -
  • highlighted (id) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    idint
    -

  • -
  • iconSize () -
    -
    returns (int)

  • -
  • iconSizeDefault () -
    - -
    returns (int)
    In versions KDE 3.4.0 and above only

  • -
  • iconText () -
    -
    returns (IconText)

  • -
  • iconTextSetting () -
    - - -
    returns (KToolBar.IconText)
    In versions KDE 3.1.0 and above only
    static

  • -
  • iconTextSetting () -
    Not Implemented
    -

  • -
  • idAt (index) -
    - -
    returns (int)
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    indexint
    -

  • -
  • insertAnimatedWidget (id, slot, icons, index = -1) -
    -
    returns (int)
    - - - - -
    ArgumentTypeDefault
    idint
    slotSLOT (Python callable)
    iconsTQString
    indexint-1
    -

  • -
  • insertButton (icon, id, enabled = 1, text = TQString .null, index = -1, _instance = KGlobal .instance ()) -
    -
    returns (int)
    - - - - - - -
    ArgumentTypeDefault
    iconTQString
    idint
    enabledbool1
    textTQStringTQString .null
    indexint-1
    _instanceKInstanceKGlobal .instance ()
    -

  • -
  • insertButton (icon, id, signal, slot, enabled = 1, text = TQString .null, index = -1, _instance = KGlobal .instance ()) -
    -
    returns (int)
    - - - - - - - - -
    ArgumentTypeDefault
    iconTQString
    idint
    signalchar
    slotSLOT (Python callable)
    enabledbool1
    textTQStringTQString .null
    indexint-1
    _instanceKInstanceKGlobal .instance ()
    -

  • -
  • insertButton (pixmap, id, enabled = 1, text = TQString .null, index = -1) -
    -
    returns (int)
    - - - - - -
    ArgumentTypeDefault
    pixmapTQPixmap
    idint
    enabledbool1
    textTQStringTQString .null
    indexint-1
    -

  • -
  • insertButton (pixmap, id, signal, slot, enabled = 1, text = TQString .null, index = -1) -
    -
    returns (int)
    - - - - - - - -
    ArgumentTypeDefault
    pixmapTQPixmap
    idint
    signalchar
    slotSLOT (Python callable)
    enabledbool1
    textTQStringTQString .null
    indexint-1
    -

  • -
  • insertButton (icon, id, popup, enabled, _text, index = -1) -
    -
    returns (int)
    - - - - - - -
    ArgumentTypeDefault
    iconTQString
    idint
    popupTQPopupMenu
    enabledbool
    _textTQString
    indexint-1
    -

  • -
  • insertButton (pixmap, id, popup, enabled, _text, index = -1) -
    -
    returns (int)
    - - - - - - -
    ArgumentTypeDefault
    pixmapTQPixmap
    idint
    popupTQPopupMenu
    enabledbool
    _textTQString
    indexint-1
    -

  • -
  • insertCombo (list, id, writable, signal, slot, enabled = 1, tooltiptext = TQString .null, size = 70, index = -1, policy = TQComboBox .AtBottom) -
    -
    returns (int)
    - - - - - - - - - - -
    ArgumentTypeDefault
    listTQStringList
    idint
    writablebool
    signalchar
    slotSLOT (Python callable)
    enabledbool1
    tooltiptextTQStringTQString .null
    sizeint70
    indexint-1
    policyTQComboBox.PolicyTQComboBox .AtBottom
    -

  • -
  • insertCombo (text, id, writable, signal, slot, enabled = 1, tooltiptext = TQString .null, size = 70, index = -1, policy = TQComboBox .AtBottom) -
    - -
    returns (int)
    In versions KDE 3.2.0 and above only
    - - - - - - - - - - -
    ArgumentTypeDefault
    textTQString
    idint
    writablebool
    signalchar
    slotSLOT (Python callable)
    enabledbool1
    tooltiptextTQStringTQString .null
    sizeint70
    indexint-1
    policyTQComboBox.PolicyTQComboBox .AtBottom
    -

  • -
  • insertCombo (a0, a1, a2, a3, a4, a5, a6 = 1, a7 = TQString .null, a8 = 70, a9 = -1, a10 = TQComboBox .AtBottom) -
    - -
    returns (int)
    In versions less than KDE 3.2.0 only
    - - - - - - - - - - - -
    ArgumentTypeDefault
    a0TQString
    a1int
    a2bool
    a3char
    a4TQObject
    a5char
    a6bool1
    a7TQStringTQString .null
    a8int70
    a9int-1
    a10TQComboBox.PolicyTQComboBox .AtBottom
    -

  • -
  • insertComboItem (id, text, index) -
    -
    returns nothing
    - - - -
    ArgumentTypeDefault
    idint
    textTQString
    indexint
    -

  • -
  • insertComboList (id, list, index) -
    -
    returns nothing
    - - - -
    ArgumentTypeDefault
    idint
    listTQStringList
    indexint
    -

  • -
  • insertLineSeparator (index, id) -
    -
    returns (int)
    - - -
    ArgumentTypeDefault
    indexint
    idint
    -

  • -
  • insertLined (text, id, signal, slot, enabled = 1, toolTipText = TQString .null, size = 70, index = -1) -
    -
    returns (int)
    - - - - - - - - -
    ArgumentTypeDefault
    textTQString
    idint
    signalchar
    slotSLOT (Python callable)
    enabledbool1
    toolTipTextTQStringTQString .null
    sizeint70
    indexint-1
    -

  • -
  • insertSeparator (index, id) -
    -
    returns (int)
    - - -
    ArgumentTypeDefault
    indexint
    idint
    -

  • -
  • insertWidget (id, width, _widget, index = -1) -
    -
    returns (int)
    - - - - -
    ArgumentTypeDefault
    idint
    widthint
    _widgetTQWidget
    indexint-1
    -

  • -
  • isButtonOn (id) -
    -
    returns (bool)
    - -
    ArgumentTypeDefault
    idint
    -

  • -
  • itemIndex (id) -
    - -
    returns (int)
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    idint
    -

  • -
  • loadState (e) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    eTQDomElement
    -

  • -
  • maxHeight () -
    -
    returns (int)

  • -
  • maxWidth () -
    -
    returns (int)

  • -
  • minimumSize () -
    -
    returns (TQSize)

  • -
  • minimumSizeHint () -
    -
    returns (TQSize)

  • -
  • modechange () -
    -
    returns nothing

  • -
  • mousePressEvent (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0TQMouseEvent
    -

  • -
  • moved (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0KToolBar.BarPosition
    -

  • -
  • positionYourself (force) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    forcebool
    -

  • -
  • pressed (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0int
    -

  • -
  • released (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0int
    -

  • -
  • removeComboItem (id, index) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    idint
    indexint
    -

  • -
  • removeItem (id) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    idint
    -

  • -
  • removeItemDelayed (id) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    idint
    -

  • -
  • resizeEvent (e) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    eTQResizeEvent
    -

  • -
  • saveSettings (config, configGroup) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    configKConfig
    configGroupTQString
    -

  • -
  • saveState () -
    -
    returns nothing

  • -
  • saveState (e) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    eTQDomElement
    -

  • -
  • setAutoRepeat (id, flag = 1) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    idint
    flagbool1
    -

  • -
  • setBarPos (bpos) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    bposKToolBar.BarPosition
    -

  • -
  • setButton (id, flag) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    idint
    flagbool
    -

  • -
  • setButtonIcon (id, _icon) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    idint
    _iconTQString
    -

  • -
  • setButtonIconSet (id, iconset) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    idint
    iconsetTQIconSet
    -

  • -
  • setButtonPixmap (id, _pixmap) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    idint
    _pixmapTQPixmap
    -

  • -
  • setCurrentComboItem (id, index) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    idint
    indexint
    -

  • -
  • setDelayedPopup (id, _popup, toggle = 0) -
    -
    returns nothing
    - - - -
    ArgumentTypeDefault
    idint
    _popupTQPopupMenu
    togglebool0
    -

  • -
  • setEnableContextMenu (enable = 1) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    enablebool1
    -

  • -
  • setFlat (flag) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    flagbool
    -

  • -
  • setFullSize (flag = 1) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    flagbool1
    -

  • -
  • setIconSize (size) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    sizeint
    -

  • -
  • setIconSize (size, update) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    sizeint
    updatebool
    -

  • -
  • setIconText (it) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    itKToolBar.IconText
    -

  • -
  • setIconText (it, update) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    itKToolBar.IconText
    updatebool
    -

  • -
  • setIconText (txt) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    txtTQString
    -

  • -
  • setItemAutoSized (id, yes = 1) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    idint
    yesbool1
    -

  • -
  • setItemEnabled (id, enabled) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    idint
    enabledbool
    -

  • -
  • setItemNoStyle (id, no_style = 1) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    idint
    no_stylebool1
    -

  • -
  • setLinedText (id, text) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    idint
    textTQString
    -

  • -
  • setMaxHeight (h) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    hint
    -

  • -
  • setMaxWidth (dw) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    dwint
    -

  • -
  • setStretchableWidget (w) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    wTQWidget
    -

  • -
  • setText (txt) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    txtTQString
    -

  • -
  • setTitle (_title) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    _titleTQString
    -

  • -
  • setToggle (id, flag = 1) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    idint
    flagbool1
    -

  • -
  • setXMLGUIClient (client) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    clientKXMLGUIClient
    -

  • -
  • settingsGroup () -
    -
    returns (TQString)

  • -
  • show () -
    -
    returns nothing

  • -
  • showEvent (e) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    eTQShowEvent
    -

  • -
  • showItem (id) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    idint
    -

  • -
  • sizeHint () -
    -
    returns (TQSize)

  • -
  • sizePolicy () -
    -
    returns (TQSizePolicy)

  • -
  • text () -
    -
    returns (TQString)

  • -
  • toggleButton (id) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    idint
    -

  • -
  • toggled (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0int
    -

  • -
  • toolbarDestroyed () -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only

  • -
  • transparentSetting () -
    - - -
    returns (bool)
    In versions KDE 3.1.0 and above only
    static

  • -
  • transparentSetting () -
    Not Implemented
    -

  • -
  • updateRects (a0 = 0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0bool0
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kdeui/KToolBarButton.html b/python/pykde/doc/classref/kdeui/KToolBarButton.html deleted file mode 100644 index 7b898572..00000000 --- a/python/pykde/doc/classref/kdeui/KToolBarButton.html +++ /dev/null @@ -1,325 +0,0 @@ - - - - - class KToolBarButton - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KToolBarButton


-
- - - - - -
Table of contents
Modules
kdeui Classes
All Classes
-
- - - - - - - - - - -
Modulekdeui
ClassKToolBarButton
InheritsTQToolButton
-

methods

    -
  • KToolBarButton (icon, id, parent, name = 0, txt = TQString .null, _instance = KGlobal .instance ()) -
    -
    returns a KToolBarButton instance
    - - - - - - -
    ArgumentTypeDefault
    iconTQString
    idint
    parentTQWidget
    namechar0
    txtTQStringTQString .null
    _instanceKInstanceKGlobal .instance ()
    -

  • -
  • KToolBarButton (pixmap, id, parent, name = 0, txt = TQString .null) -
    -
    returns a KToolBarButton instance
    - - - - - -
    ArgumentTypeDefault
    pixmapTQPixmap
    idint
    parentTQWidget
    namechar0
    txtTQStringTQString .null
    -

  • -
  • KToolBarButton (parent = 0, name = 0) -
    -
    returns a KToolBarButton instance
    - - -
    ArgumentTypeDefault
    parentTQWidget0
    namechar0
    -

  • -
  • buttonClicked (a0, state) -
    - -
    returns nothing
    In versions KDE 3.4.2 and above only
    - - -
    ArgumentTypeDefault
    a0int
    stateQt.ButtonState
    -

  • -
  • clicked (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0int
    -

  • -
  • doubleClicked (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0int
    -

  • -
  • drawButton (p) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    pTQPainter
    -

  • -
  • enterEvent (e) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    eTQEvent
    -

  • -
  • event (e) -
    - -
    returns (bool)
    In versions KDE 3.5.0 and above only
    - -
    ArgumentTypeDefault
    eTQEvent
    -

  • -
  • eventFilter (o, e) -
    -
    returns (bool)
    - - -
    ArgumentTypeDefault
    oTQObject
    eTQEvent
    -

  • -
  • highlighted (a0, a1) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    a0int
    a1bool
    -

  • -
  • iconTextMode () -
    - -
    returns (int)
    In versions KDE 3.0.1 and above only

  • -
  • id () -
    - -
    returns (int)
    In versions KDE 3.2.0 and above only

  • -
  • isActive () -
    - -
    returns (bool)
    In versions KDE 3.0.1 and above only

  • -
  • isRaised () -
    - -
    returns (bool)
    In versions KDE 3.0.1 and above only

  • -
  • leaveEvent (e) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    eTQEvent
    -

  • -
  • minimumSize () -
    -
    returns (TQSize)

  • -
  • minimumSizeHint () -
    -
    returns (TQSize)

  • -
  • modeChange () -
    -
    returns nothing

  • -
  • mousePressEvent (a0) -
    - -
    returns nothing
    In versions KDE 3.4.2 and above only
    - -
    ArgumentTypeDefault
    a0TQMouseEvent
    -

  • -
  • mouseReleaseEvent (a0) -
    - -
    returns nothing
    In versions KDE 3.4.2 and above only
    - -
    ArgumentTypeDefault
    a0TQMouseEvent
    -

  • -
  • on (flag = 1) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    flagbool1
    -

  • -
  • paletteChange (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0TQPalette
    -

  • -
  • popup () -
    -
    returns (TQPopupMenu)

  • -
  • pressed (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0int
    -

  • -
  • released (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0int
    -

  • -
  • setDefaultIcon (icon) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    iconTQString
    -

  • -
  • setDefaultPixmap (pixmap) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    pixmapTQPixmap
    -

  • -
  • setDelayedPopup (p, unused = 0) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    pTQPopupMenu
    unusedbool0
    -

  • -
  • setDisabledIcon (icon) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    iconTQString
    -

  • -
  • setDisabledPixmap (pixmap) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    pixmapTQPixmap
    -

  • -
  • setIcon (icon) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    iconTQString
    -

  • -
  • setIcon (pixmap) -
    - -
    returns nothing
    In versions KDE 3.0.1 and above only
    - -
    ArgumentTypeDefault
    pixmapTQPixmap
    -

  • -
  • setIcon (icon, generate) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    iconTQString
    generatebool
    -

  • -
  • setIconSet (iconset) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    iconsetTQIconSet
    -

  • -
  • setNoStyle (no_style = 1) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    no_stylebool1
    -

  • -
  • setPixmap (pixmap) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    pixmapTQPixmap
    -

  • -
  • setPopup (p, unused) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    pTQPopupMenu
    unusedbool
    -

  • -
  • setRadio (f = 1) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    fbool1
    -

  • -
  • setText (text) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    textTQString
    -

  • -
  • setTextLabel (a0, tipToo) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    a0TQString
    tipToobool
    -

  • -
  • setToggle (toggle = 1) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    togglebool1
    -

  • -
  • showMenu () -
    -
    returns nothing

  • -
  • sizeHint () -
    -
    returns (TQSize)

  • -
  • slotClicked () -
    -
    returns nothing

  • -
  • slotDelayTimeout () -
    -
    returns nothing

  • -
  • slotPressed () -
    -
    returns nothing

  • -
  • slotReleased () -
    -
    returns nothing

  • -
  • slotToggled () -
    -
    returns nothing

  • -
  • toggle () -
    -
    returns nothing

  • -
  • toggled (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0int
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kdeui/KToolBarLabelAction.html b/python/pykde/doc/classref/kdeui/KToolBarLabelAction.html deleted file mode 100644 index 6e2083a4..00000000 --- a/python/pykde/doc/classref/kdeui/KToolBarLabelAction.html +++ /dev/null @@ -1,108 +0,0 @@ - - - - - class KToolBarLabelAction - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KToolBarLabelAction


-
- - - - - -
Table of contents
Modules
kdeui Classes
All Classes
-
- - - - - - - - - - -
Modulekdeui
ClassKToolBarLabelAction
InheritsKWidgetAction
-

methods

    -
  • KToolBarLabelAction (text, cut, receiver, slot, parent, name) -
    - -
    returns a KToolBarLabelAction instance
    In versions KDE 3.4.0 and above only
    - - - - - - -
    ArgumentTypeDefault
    textTQString
    cutKShortcut
    receiverTQObject
    slotchar
    parentKActionCollection
    namechar
    -

  • -
  • KToolBarLabelAction (buddy, text, cut, receiver, slot, parent, name) -
    - -
    returns a KToolBarLabelAction instance
    In versions KDE 3.4.0 and above only
    - - - - - - - -
    ArgumentTypeDefault
    buddyTQWidget
    textTQString
    cutKShortcut
    receiverTQObject
    slotchar
    parentKActionCollection
    namechar
    -

  • -
  • KToolBarLabelAction (label, cut, receiver, slot, parent, name) -
    - -
    returns a KToolBarLabelAction instance
    In versions KDE 3.4.0 and above only
    - - - - - - -
    ArgumentTypeDefault
    labelTQLabel
    cutKShortcut
    receiverTQObject
    slotchar
    parentKActionCollection
    namechar
    -

  • -
  • buddy () -
    - -
    returns (TQWidget)
    In versions KDE 3.4.0 and above only

  • -
  • label () -
    - -
    returns (TQLabel)
    In versions KDE 3.4.0 and above only

  • -
  • setBuddy (buddy) -
    - -
    returns nothing
    In versions KDE 3.4.0 and above only
    - -
    ArgumentTypeDefault
    buddyTQWidget
    -

  • -
  • setText (text) -
    - -
    returns nothing
    In versions KDE 3.4.0 and above only
    - -
    ArgumentTypeDefault
    textTQString
    -

  • -
  • virtual_hook (id, data) -
    - -
    returns nothing
    In versions KDE 3.4.0 and above only
    - - -
    ArgumentTypeDefault
    idint
    datavoid
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kdeui/KToolBarPopupAction.html b/python/pykde/doc/classref/kdeui/KToolBarPopupAction.html deleted file mode 100644 index 51869efd..00000000 --- a/python/pykde/doc/classref/kdeui/KToolBarPopupAction.html +++ /dev/null @@ -1,177 +0,0 @@ - - - - - class KToolBarPopupAction - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KToolBarPopupAction


-
- - - - - -
Table of contents
Modules
kdeui Classes
All Classes
-
- - - - - - - - - - -
Modulekdeui
ClassKToolBarPopupAction
InheritsKAction
-

methods

    -
  • KToolBarPopupAction (a0, a1, a2 = KShortcut (), a3 = 0, a4 = 0) -
    - -
    returns a KToolBarPopupAction instance
    In versions less than KDE 3.2.0 only
    - - - - - -
    ArgumentTypeDefault
    a0TQString
    a1TQString
    a2KShortcutKShortcut ()
    a3TQObject0
    a4char0
    -

  • -
  • KToolBarPopupAction (a0, a1, a2, slot, a5 = 0, a6 = 0) -
    - -
    returns a KToolBarPopupAction instance
    In versions less than KDE 3.2.0 only
    - - - - - - -
    ArgumentTypeDefault
    a0TQString
    a1TQString
    a2KShortcut
    slotSLOT (Python callable)
    a5TQObject0
    a6char0
    -

  • -
  • KToolBarPopupAction (a0, a1, slot, a4, a5) -
    - -
    returns a KToolBarPopupAction instance
    In versions less than KDE 3.2.0 only
    - - - - - -
    ArgumentTypeDefault
    a0KGuiItem
    a1KShortcut
    slotSLOT (Python callable)
    a4KActionCollection
    a5char
    -

  • -
  • KToolBarPopupAction (text, icon, cut = KShortcut (), parent = 0, name = 0) -
    - -
    returns a KToolBarPopupAction instance
    In versions KDE 3.2.0 and above only
    - - - - - -
    ArgumentTypeDefault
    textTQString
    iconTQString
    cutKShortcutKShortcut ()
    parentTQObject0
    namechar0
    -

  • -
  • KToolBarPopupAction (text, icon, cut, slot, parent = 0, name = 0) -
    - -
    returns a KToolBarPopupAction instance
    In versions KDE 3.2.0 and above only
    - - - - - - -
    ArgumentTypeDefault
    textTQString
    iconTQString
    cutKShortcut
    slotSLOT (Python callable)
    parentTQObject0
    namechar0
    -

  • -
  • KToolBarPopupAction (item, cut, slot, parent, name) -
    - -
    returns a KToolBarPopupAction instance
    In versions KDE 3.2.0 and above only
    - - - - - -
    ArgumentTypeDefault
    itemKGuiItem
    cutKShortcut
    slotSLOT (Python callable)
    parentKActionCollection
    namechar
    -

  • -
  • delayed () -
    - -
    returns (bool)
    In versions less than KDE 3.2.0 only

  • -
  • delayed () -
    - -
    returns (bool)
    In versions KDE 3.2.0 and above only

  • -
  • plug (a0, a1 = -1) -
    - -
    returns (int)
    In versions less than KDE 3.2.0 only
    - - -
    ArgumentTypeDefault
    a0TQWidget
    a1int-1
    -

  • -
  • plug (widget, index = -1) -
    - -
    returns (int)
    In versions KDE 3.2.0 and above only
    - - -
    ArgumentTypeDefault
    widgetTQWidget
    indexint-1
    -

  • -
  • popupMenu () -
    - -
    returns (KPopupMenu)
    In versions less than KDE 3.2.0 only

  • -
  • popupMenu () -
    - -
    returns (KPopupMenu)
    In versions KDE 3.2.0 and above only

  • -
  • setDelayed (a0) -
    - -
    returns nothing
    In versions less than KDE 3.2.0 only
    - -
    ArgumentTypeDefault
    a0bool
    -

  • -
  • setDelayed (delayed) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    delayedbool
    -

  • -
  • setStickyMenu (a0) -
    - -
    returns nothing
    In versions less than KDE 3.2.0 only
    - -
    ArgumentTypeDefault
    a0bool
    -

  • -
  • setStickyMenu (sticky) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    stickybool
    -

  • -
  • stickyMenu () -
    - -
    returns (bool)
    In versions less than KDE 3.2.0 only

  • -
  • stickyMenu () -
    - -
    returns (bool)
    In versions KDE 3.2.0 and above only

  • -
- - - diff --git a/python/pykde/doc/classref/kdeui/KToolBarRadioGroup.html b/python/pykde/doc/classref/kdeui/KToolBarRadioGroup.html deleted file mode 100644 index abdce057..00000000 --- a/python/pykde/doc/classref/kdeui/KToolBarRadioGroup.html +++ /dev/null @@ -1,66 +0,0 @@ - - - - - class KToolBarRadioGroup - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KToolBarRadioGroup


-
- - - - - -
Table of contents
Modules
kdeui Classes
All Classes
-
- - - - - - - - - - -
Modulekdeui
ClassKToolBarRadioGroup
InheritsTQObject
-

methods

    -
  • KToolBarRadioGroup (_parent, _name = 0) -
    -
    returns a KToolBarRadioGroup instance
    - - -
    ArgumentTypeDefault
    _parentKToolBar
    _namechar0
    -

  • -
  • addButton (id) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    idint
    -

  • -
  • removeButton (id) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    idint
    -

  • -
  • slotToggled (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0int
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kdeui/KToolBarSeparator.html b/python/pykde/doc/classref/kdeui/KToolBarSeparator.html deleted file mode 100644 index 9ba79121..00000000 --- a/python/pykde/doc/classref/kdeui/KToolBarSeparator.html +++ /dev/null @@ -1,81 +0,0 @@ - - - - - class KToolBarSeparator - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KToolBarSeparator


-
- - - - - -
Table of contents
Modules
kdeui Classes
All Classes
-
- - - - - - - - - - -
Modulekdeui
ClassKToolBarSeparator
InheritsTQFrame
-

methods

    -
  • KToolBarSeparator (a0, l, parent, name = 0) -
    -
    returns a KToolBarSeparator instance
    - - - - -
    ArgumentTypeDefault
    a0Orientation
    lbool
    parentTQToolBar
    namechar0
    -

  • -
  • drawContents (a0) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    a0TQPainter
    -

  • -
  • orientation () -
    -
    returns (Orientation)

  • -
  • setOrientation (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0Orientation
    -

  • -
  • showLine () -
    -
    returns (bool)

  • -
  • sizeHint () -
    -
    returns (TQSize)

  • -
  • sizePolicy () -
    -
    returns (TQSizePolicy)

  • -
  • styleChange (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0TQStyle
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kdeui/KURLLabel.html b/python/pykde/doc/classref/kdeui/KURLLabel.html deleted file mode 100644 index d0d665b3..00000000 --- a/python/pykde/doc/classref/kdeui/KURLLabel.html +++ /dev/null @@ -1,263 +0,0 @@ - - - - - class KURLLabel - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KURLLabel


-
- - - - - -
Table of contents
Modules
kdeui Classes
All Classes
-
- - - - - - - - - - -
Modulekdeui
ClassKURLLabel
InheritsTQLabel
-

methods

    -
  • KURLLabel (parent = 0, name = 0) -
    -
    returns a KURLLabel instance
    - - -
    ArgumentTypeDefault
    parentTQWidget0
    namechar0
    -

  • -
  • KURLLabel (url, text = TQString .null, parent = 0, name = 0) -
    -
    returns a KURLLabel instance
    - - - - -
    ArgumentTypeDefault
    urlTQString
    textTQStringTQString .null
    parentTQWidget0
    namechar0
    -

  • -
  • activeRect () -
    - -
    returns (TQRect)
    In versions KDE 3.5.1 and above only

  • -
  • altPixmap () -
    -
    returns (TQPixmap)

  • -
  • enterEvent (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0TQEvent
    -

  • -
  • enteredURL (url) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    urlTQString
    -

  • -
  • enteredURL () -
    -
    returns nothing

  • -
  • event (e) -
    - -
    returns (bool)
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    eTQEvent
    -

  • -
  • isFloatEnabled () -
    -
    returns (bool)

  • -
  • isGlowEnabled () -
    -
    returns (bool)

  • -
  • leaveEvent (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0TQEvent
    -

  • -
  • leftClickedURL (url) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    urlTQString
    -

  • -
  • leftClickedURL () -
    -
    returns nothing

  • -
  • leftURL (url) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    urlTQString
    -

  • -
  • leftURL () -
    -
    returns nothing

  • -
  • middleClickedURL (url) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    urlTQString
    -

  • -
  • middleClickedURL () -
    -
    returns nothing

  • -
  • mouseReleaseEvent (e) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    eTQMouseEvent
    -

  • -
  • rightClickedURL (url) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    urlTQString
    -

  • -
  • rightClickedURL () -
    -
    returns nothing

  • -
  • setAltPixmap (altPix) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    altPixTQPixmap
    -

  • -
  • setCursor (cursor) -
    - -
    returns nothing
    In versions KDE 3.5.1 and above only
    - -
    ArgumentTypeDefault
    cursorTQCursor
    -

  • -
  • setFloat (do_float = 1) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    do_floatbool1
    -

  • -
  • setFocusPolicy (policy) -
    - -
    returns nothing
    In versions KDE 3.5.1 and above only
    - -
    ArgumentTypeDefault
    policyFocusPolicy
    -

  • -
  • setFont (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0TQFont
    -

  • -
  • setGlow (glow = 1) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    glowbool1
    -

  • -
  • setHighlightedColor (highcolor) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    highcolorTQColor
    -

  • -
  • setHighlightedColor (highcolor) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    highcolorTQString
    -

  • -
  • setMargin (margin) -
    - -
    returns nothing
    In versions KDE 3.5.1 and above only
    - -
    ArgumentTypeDefault
    marginint
    -

  • -
  • setSelectedColor (selcolor) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    selcolorTQColor
    -

  • -
  • setSelectedColor (selcolor) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    selcolorTQString
    -

  • -
  • setSizePolicy (a0) -
    - -
    returns nothing
    In versions KDE 3.5.2 and above only
    - -
    ArgumentTypeDefault
    a0TQSizePolicy
    -

  • -
  • setTipText (tip) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    tipTQString
    -

  • -
  • setURL (url) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    urlTQString
    -

  • -
  • setUnderline (on = 1) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    onbool1
    -

  • -
  • setUseCursor (on, cursor = 0) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    onbool
    cursorTQCursor0
    -

  • -
  • setUseTips (on = 1) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    onbool1
    -

  • -
  • tipText () -
    -
    returns (TQString)

  • -
  • unsetCursor () -
    - -
    returns nothing
    In versions KDE 3.5.1 and above only

  • -
  • url () -
    -
    returns (TQString)

  • -
  • useCursor () -
    -
    returns (bool)

  • -
  • useTips () -
    -
    returns (bool)

  • -
- - - diff --git a/python/pykde/doc/classref/kdeui/KValueSelector.html b/python/pykde/doc/classref/kdeui/KValueSelector.html deleted file mode 100644 index 59c0ad36..00000000 --- a/python/pykde/doc/classref/kdeui/KValueSelector.html +++ /dev/null @@ -1,95 +0,0 @@ - - - - - class KValueSelector - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KValueSelector


-
- - - - - -
Table of contents
Modules
kdeui Classes
All Classes
-
- - - - - - - - - - -
Modulekdeui
ClassKValueSelector
InheritsKSelector
-

methods

    -
  • KValueSelector (parent = 0, name = 0) -
    -
    returns a KValueSelector instance
    - - -
    ArgumentTypeDefault
    parentTQWidget0
    namechar0
    -

  • -
  • KValueSelector (o, parent = 0, name = 0) -
    -
    returns a KValueSelector instance
    - - - -
    ArgumentTypeDefault
    oOrientation
    parentTQWidget0
    namechar0
    -

  • -
  • drawContents (painter) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    painterTQPainter
    -

  • -
  • drawPalette (pixmap) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    pixmapTQPixmap
    -

  • -
  • hue () -
    -
    returns (int)

  • -
  • resizeEvent (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0TQResizeEvent
    -

  • -
  • saturation () -
    -
    returns (int)

  • -
  • setHue (h) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    hint
    -

  • -
  • setSaturation (s) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    sint
    -

  • -
  • updateContents () -
    -
    returns nothing

  • -
- - - diff --git a/python/pykde/doc/classref/kdeui/KWidgetAction.html b/python/pykde/doc/classref/kdeui/KWidgetAction.html deleted file mode 100644 index 1986bcdb..00000000 --- a/python/pykde/doc/classref/kdeui/KWidgetAction.html +++ /dev/null @@ -1,133 +0,0 @@ - - - - - class KWidgetAction - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KWidgetAction


-
- - - - - -
Table of contents
Modules
kdeui Classes
All Classes
-
- - - - - - - - - - -
Modulekdeui
ClassKWidgetAction
InheritsKAction
-

methods

    -
  • KWidgetAction (a0, a1, a2, slot, a5, a6) -
    - -
    returns a KWidgetAction instance
    In versions KDE 3.1.0 and above, but less than KDE 3.2.0
    - - - - - - -
    ArgumentTypeDefault
    a0TQWidget
    a1TQString
    a2KShortcut
    slotSLOT (Python callable)
    a5KActionCollection
    a6char
    -

  • -
  • KWidgetAction (widget, text, cut, slot, parent, name) -
    - -
    returns a KWidgetAction instance
    In versions KDE 3.2.0 and above only
    - - - - - - -
    ArgumentTypeDefault
    widgetTQWidget
    textTQString
    cutKShortcut
    slotSLOT (Python callable)
    parentKActionCollection
    namechar
    -

  • -
  • plug (a0, a1 = -1) -
    - -
    returns (int)
    In versions KDE 3.1.0 and above, but less than KDE 3.2.0
    - - -
    ArgumentTypeDefault
    a0TQWidget
    a1int-1
    -

  • -
  • plug (widget, index = -1) -
    - -
    returns (int)
    In versions KDE 3.2.0 and above only
    - - -
    ArgumentTypeDefault
    widgetTQWidget
    indexint-1
    -

  • -
  • setAutoSized (a0) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above, but less than KDE 3.2.0
    - -
    ArgumentTypeDefault
    a0bool
    -

  • -
  • setAutoSized (a0) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    a0bool
    -

  • -
  • slotToolbarDestroyed () -
    - -
    returns nothing
    In versions KDE 3.1.0 and above, but less than KDE 3.2.0

  • -
  • slotToolbarDestroyed () -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only

  • -
  • unplug (a0) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above, but less than KDE 3.2.0
    - -
    ArgumentTypeDefault
    a0TQWidget
    -

  • -
  • unplug (w) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    wTQWidget
    -

  • -
  • virtual_hook (a0, a1) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above, but less than KDE 3.2.0
    - - -
    ArgumentTypeDefault
    a0int
    a1void
    -

  • -
  • widget () -
    - -
    returns (TQWidget)
    In versions KDE 3.1.0 and above, but less than KDE 3.2.0

  • -
  • widget () -
    - -
    returns (TQWidget)
    In versions KDE 3.2.0 and above only

  • -
- - - diff --git a/python/pykde/doc/classref/kdeui/KWindowInfo.html b/python/pykde/doc/classref/kdeui/KWindowInfo.html deleted file mode 100644 index 4f35e757..00000000 --- a/python/pykde/doc/classref/kdeui/KWindowInfo.html +++ /dev/null @@ -1,144 +0,0 @@ - - - - - class KWindowInfo - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KWindowInfo


-
- - - - - -
Table of contents
Modules
kdeui Classes
All Classes
-
- - - - - - - - - - -
Modulekdeui
ClassKWindowInfo
InheritsTQObject
-

methods

    -
  • KWindowInfo (parent, name = 0) -
    - -
    returns a KWindowInfo instance
    In versions KDE 3.1.0 and above only
    - - -
    ArgumentTypeDefault
    parentTQWidget
    namechar0
    -

  • -
  • autoDelete () -
    - -
    returns (bool)
    In versions KDE 3.1.0 and above only

  • -
  • display (text, pix) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - - -
    ArgumentTypeDefault
    textTQString
    pixTQPixmap
    -

  • -
  • message (text) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    textTQString
    -

  • -
  • message (text, pix) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - - -
    ArgumentTypeDefault
    textTQString
    pixTQPixmap
    -

  • -
  • message (text, timeout) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - - -
    ArgumentTypeDefault
    textTQString
    timeoutint
    -

  • -
  • message (text, pix, timeout) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - - - -
    ArgumentTypeDefault
    textTQString
    pixTQPixmap
    timeoutint
    -

  • -
  • permanent (text) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    textTQString
    -

  • -
  • permanent (text, pix) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - - -
    ArgumentTypeDefault
    textTQString
    pixTQPixmap
    -

  • -
  • restore () -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only

  • -
  • save () -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only

  • -
  • setAutoDelete (enable) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    enablebool
    -

  • -
  • showMessage (window, text, timeout = -1) -
    - - -
    returns nothing
    In versions KDE 3.1.0 and above only
    static
    - - - -
    ArgumentTypeDefault
    windowTQWidget
    textTQString
    timeoutint-1
    -

  • -
  • showMessage (window, text, pix, timeout = -1) -
    - - -
    returns nothing
    In versions KDE 3.1.0 and above only
    static
    - - - - -
    ArgumentTypeDefault
    windowTQWidget
    textTQString
    pixTQPixmap
    timeoutint-1
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kdeui/KWindowListMenu.html b/python/pykde/doc/classref/kdeui/KWindowListMenu.html deleted file mode 100644 index 5d1b6bef..00000000 --- a/python/pykde/doc/classref/kdeui/KWindowListMenu.html +++ /dev/null @@ -1,67 +0,0 @@ - - - - - class KWindowListMenu - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KWindowListMenu


-
- - - - - -
Table of contents
Modules
kdeui Classes
All Classes
-
- - - - - - - - - - -
Modulekdeui
ClassKWindowListMenu
InheritsKPopupMenu
-

methods

    -
  • KWindowListMenu (parent = 0, name = 0) -
    -
    returns a KWindowListMenu instance
    - - -
    ArgumentTypeDefault
    parentTQWidget0
    namechar0
    -

  • -
  • init () -
    -
    returns nothing

  • -
  • selectActiveWindow () -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only

  • -
  • slotCascadeWindows () -
    -
    returns nothing

  • -
  • slotExec (id) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    idint
    -

  • -
  • slotUnclutterWindows () -
    -
    returns nothing

  • -
- - - diff --git a/python/pykde/doc/classref/kdeui/KWizard.html b/python/pykde/doc/classref/kdeui/KWizard.html deleted file mode 100644 index 09040381..00000000 --- a/python/pykde/doc/classref/kdeui/KWizard.html +++ /dev/null @@ -1,50 +0,0 @@ - - - - - class KWizard - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KWizard


-
- - - - - -
Table of contents
Modules
kdeui Classes
All Classes
-
- - - - - - - - - - -
Modulekdeui
ClassKWizard
InheritsTQWizard
-

methods

    -
  • KWizard (parent = 0, name = 0, modal = 0, f = 0) -
    -
    returns a KWizard instance
    - - - - -
    ArgumentTypeDefault
    parentTQWidget0
    namechar0
    modalbool0
    fWFlags0
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kdeui/KWordWrap.html b/python/pykde/doc/classref/kdeui/KWordWrap.html deleted file mode 100644 index 3ebf03ea..00000000 --- a/python/pykde/doc/classref/kdeui/KWordWrap.html +++ /dev/null @@ -1,108 +0,0 @@ - - - - - class KWordWrap - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KWordWrap


-
- - - - - -
Table of contents
Modules
kdeui Classes
All Classes
-
- - - - - - - - - - -
Modulekdeui
ClassKWordWrap
Inherits
-

enums

    -
  • (anonymous) = {FadeOut, Truncate -}
  • (anonymous) = {FadeOut -}
-

methods

    -
  • KWordWrap (r) -
    - -
    returns a KWordWrap instance
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    rTQRect
    -

  • -
  • boundingRect () -
    -
    returns (TQRect)

  • -
  • drawFadeoutText (p, x, y, maxW, t) -
    - - -
    returns nothing
    In versions KDE 3.2.0 and above only
    static
    - - - - - -
    ArgumentTypeDefault
    pTQPainter
    xint
    yint
    maxWint
    tTQString
    -

  • -
  • drawText (painter, x, y, flags = Qt .AlignAuto) -
    -
    returns nothing
    - - - - -
    ArgumentTypeDefault
    painterTQPainter
    xint
    yint
    flagsintQt .AlignAuto
    -

  • -
  • drawTruncateText (p, x, y, maxW, t) -
    - - -
    returns nothing
    In versions KDE 3.3.0 and above only
    static
    - - - - - -
    ArgumentTypeDefault
    pTQPainter
    xint
    yint
    maxWint
    tTQString
    -

  • -
  • formatText (fm, r, flags, str, len = -1) -
    - -
    returns (KWordWrap)
    static
    - - - - - -
    ArgumentTypeDefault
    fmTQFontMetrics
    rTQRect
    flagsint
    strTQString
    lenint-1
    -

  • -
  • truncatedString (dots = 1) -
    -
    returns (TQString)
    - -
    ArgumentTypeDefault
    dotsbool1
    -

  • -
  • wrappedString () -
    -
    returns (TQString)

  • -
- - - diff --git a/python/pykde/doc/classref/kdeui/KWritePermsIcon.html b/python/pykde/doc/classref/kdeui/KWritePermsIcon.html deleted file mode 100644 index 5975bb44..00000000 --- a/python/pykde/doc/classref/kdeui/KWritePermsIcon.html +++ /dev/null @@ -1,65 +0,0 @@ - - - - - class KWritePermsIcon - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KWritePermsIcon


-
- - - - - -
Table of contents
Modules
kdeui Classes
All Classes
-
- - - - - - - - - - -
Modulekdeui
ClassKWritePermsIcon
InheritsKAuthIcon
-

methods

    -
  • KWritePermsIcon (fileName, parent = 0, name = 0) -
    -
    returns a KWritePermsIcon instance
    - - - -
    ArgumentTypeDefault
    fileNameTQString
    parentTQWidget0
    namechar0
    -

  • -
  • fileName () -
    - -
    returns (TQString)
    In versions KDE 3.4.0 and above only

  • -
  • setFileName (fileName) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    fileNameTQString
    -

  • -
  • status () -
    -
    returns (bool)

  • -
  • updateStatus () -
    -
    returns nothing

  • -
- - - diff --git a/python/pykde/doc/classref/kdeui/KXMLGUIBuilder.html b/python/pykde/doc/classref/kdeui/KXMLGUIBuilder.html deleted file mode 100644 index 87e0ef67..00000000 --- a/python/pykde/doc/classref/kdeui/KXMLGUIBuilder.html +++ /dev/null @@ -1,107 +0,0 @@ - - - - - class KXMLGUIBuilder - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KXMLGUIBuilder


-
- - - - - -
Table of contents
Modules
kdeui Classes
All Classes
-
- - - - - - - - - - -
Modulekdeui
ClassKXMLGUIBuilder
Inherits
-

methods

    -
  • KXMLGUIBuilder (widget) -
    -
    returns a KXMLGUIBuilder instance
    - -
    ArgumentTypeDefault
    widgetTQWidget
    -

  • -
  • builderClient () -
    -
    returns (KXMLGUIClient)

  • -
  • builderInstance () -
    -
    returns (KInstance)

  • -
  • containerTags () -
    -
    returns (TQStringList)

  • -
  • createContainer (parent, index, element) -
    Not Implemented
    -

  • -
  • createCustomElement (parent, index, element) -
    -
    returns (int)
    - - - -
    ArgumentTypeDefault
    parentTQWidget
    indexint
    elementTQDomElement
    -

  • -
  • customTags () -
    -
    returns (TQStringList)

  • -
  • finalizeGUI (client) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    clientKXMLGUIClient
    -

  • -
  • removeContainer (container, parent, element, id) -
    -
    returns nothing
    - - - - -
    ArgumentTypeDefault
    containerTQWidget
    parentTQWidget
    elementTQDomElement
    idint
    -

  • -
  • removeCustomElement (parent, id) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    parentTQWidget
    idint
    -

  • -
  • setBuilderClient (client) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    clientKXMLGUIClient
    -

  • -
  • setBuilderInstance (instance) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    instanceKInstance
    -

  • -
  • widget () -
    -
    returns (TQWidget)

  • -
- - - diff --git a/python/pykde/doc/classref/kdeui/KXMLGUIClient.StateChange.html b/python/pykde/doc/classref/kdeui/KXMLGUIClient.StateChange.html deleted file mode 100644 index f1f16538..00000000 --- a/python/pykde/doc/classref/kdeui/KXMLGUIClient.StateChange.html +++ /dev/null @@ -1,44 +0,0 @@ - - - - - class KXMLGUIClient.StateChange - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KXMLGUIClient.StateChange


-
- - - - - -
Table of contents
Modules
kdeui Classes
All Classes
-
- - - - - - - - - - -
Modulekdeui
ClassKXMLGUIClient.StateChange
Inherits
-

variables

  • -variables - - -
    VariableType
    actionsToDisableTQStringList
    actionsToEnableTQStringList
- - - diff --git a/python/pykde/doc/classref/kdeui/KXMLGUIClient.html b/python/pykde/doc/classref/kdeui/KXMLGUIClient.html deleted file mode 100644 index 02995916..00000000 --- a/python/pykde/doc/classref/kdeui/KXMLGUIClient.html +++ /dev/null @@ -1,231 +0,0 @@ - - - - - class KXMLGUIClient - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KXMLGUIClient


-
- - - - - -
Table of contents
Modules
kdeui Classes
All Classes
-
- - - - - - - - - - -
Modulekdeui
ClassKXMLGUIClient
Inherits
-

enums

    -
  • ReverseStateChange = {StateNoReverse, StateReverse -}
-

methods

    -
  • KXMLGUIClient () -
    -
    returns a KXMLGUIClient instance

  • -
  • KXMLGUIClient (parent) -
    -
    returns a KXMLGUIClient instance
    - -
    ArgumentTypeDefault
    parentKXMLGUIClient
    -

  • -
  • action (name) -
    -
    returns (KAction)
    - -
    ArgumentTypeDefault
    namechar
    -

  • -
  • action (element) -
    -
    returns (KAction)
    - -
    ArgumentTypeDefault
    elementTQDomElement
    -

  • -
  • actionCollection () -
    -
    returns (KActionCollection)

  • -
  • addStateActionDisabled (state, action) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    stateTQString
    actionTQString
    -

  • -
  • addStateActionEnabled (state, action) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    stateTQString
    actionTQString
    -

  • -
  • beginXMLPlug (a0) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    a0TQWidget
    -

  • -
  • childClients () -
    -
    returns (TQPtrList)

  • -
  • clientBuilder () -
    -
    returns (KXMLGUIBuilder)

  • -
  • conserveMemory () -
    -
    returns nothing

  • -
  • domDocument () -
    -
    returns (TQDomDocument)

  • -
  • endXMLPlug () -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only

  • -
  • factory () -
    -
    returns (KXMLGUIFactory)

  • -
  • findMostRecentXMLFile (files, doc) -
    - -
    returns (TQString)
    static
    - - -
    ArgumentTypeDefault
    filesTQStringList
    docTQString
    -

  • -
  • getActionsToChangeForState (state) -
    -
    returns (KXMLGUIClient.StateChange)
    - -
    ArgumentTypeDefault
    stateTQString
    -

  • -
  • insertChildClient (child) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    childKXMLGUIClient
    -

  • -
  • instance () -
    -
    returns (KInstance)

  • -
  • localXMLFile () -
    -
    returns (TQString)

  • -
  • parentClient () -
    -
    returns (KXMLGUIClient)

  • -
  • plugActionList (name, actionList) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    nameTQString
    actionListTQPtrList
    -

  • -
  • prepareXMLUnplug (a0) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    a0TQWidget
    -

  • -
  • reloadXML () -
    -
    returns nothing

  • -
  • removeChildClient (child) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    childKXMLGUIClient
    -

  • -
  • setClientBuilder (builder) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    builderKXMLGUIBuilder
    -

  • -
  • setDOMDocument (document, merge = 0) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    documentTQDomDocument
    mergebool0
    -

  • -
  • setFactory (factory) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    factoryKXMLGUIFactory
    -

  • -
  • setInstance (instance) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    instanceKInstance
    -

  • -
  • setLocalXMLFile (file) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    fileTQString
    -

  • -
  • setXML (document, merge = 0) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    documentTQString
    mergebool0
    -

  • -
  • setXMLFile (file, merge = 0, setXMLDoc = 1) -
    -
    returns nothing
    - - - -
    ArgumentTypeDefault
    fileTQString
    mergebool0
    setXMLDocbool1
    -

  • -
  • setXMLGUIBuildDocument (doc) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    docTQDomDocument
    -

  • -
  • stateChanged (newstate, reverse = StateNoReverse) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    newstateTQString
    reverseKXMLGUIClient.ReverseStateChangeStateNoReverse
    -

  • -
  • unplugActionList (name) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    nameTQString
    -

  • -
  • xmlFile () -
    -
    returns (TQString)

  • -
  • xmlguiBuildDocument () -
    -
    returns (TQDomDocument)

  • -
- - - diff --git a/python/pykde/doc/classref/kdeui/KXMLGUIFactory.html b/python/pykde/doc/classref/kdeui/KXMLGUIFactory.html deleted file mode 100644 index ac1965f0..00000000 --- a/python/pykde/doc/classref/kdeui/KXMLGUIFactory.html +++ /dev/null @@ -1,188 +0,0 @@ - - - - - class KXMLGUIFactory - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KXMLGUIFactory


-
- - - - - -
Table of contents
Modules
kdeui Classes
All Classes
-
- - - - - - - - - - -
Modulekdeui
ClassKXMLGUIFactory
InheritsTQObject
-

methods

    -
  • KXMLGUIFactory (builder, parent = 0, name = 0) -
    -
    returns a KXMLGUIFactory instance
    - - - -
    ArgumentTypeDefault
    builderKXMLGUIBuilder
    parentTQObject0
    namechar0
    -

  • -
  • actionPropertiesElement (doc) -
    - - -
    returns (TQDomElement)
    In versions KDE 3.3.0 and above only
    static
    - -
    ArgumentTypeDefault
    docTQDomDocument
    -

  • -
  • addClient (client) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    clientKXMLGUIClient
    -

  • -
  • clientAdded (client) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    clientKXMLGUIClient
    -

  • -
  • clientRemoved (client) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    clientKXMLGUIClient
    -

  • -
  • clients () -
    -
    returns (TQPtrList)

  • -
  • configureShortcuts (bAllowLetterShortcuts = 1, bSaveSettings = 1) -
    - -
    returns (int)
    In versions KDE 3.3.0 and above only
    - - -
    ArgumentTypeDefault
    bAllowLetterShortcutsbool1
    bSaveSettingsbool1
    -

  • -
  • container (containerName, client, useTagName = 0) -
    -
    returns (TQWidget)
    - - - -
    ArgumentTypeDefault
    containerNameTQString
    clientKXMLGUIClient
    useTagNamebool0
    -

  • -
  • containers (tagName) -
    -
    returns (TQPtrList)
    - -
    ArgumentTypeDefault
    tagNameTQString
    -

  • -
  • documentToXML (doc) -
    - -
    returns (TQString)
    static
    - -
    ArgumentTypeDefault
    docTQDomDocument
    -

  • -
  • elementToXML (elem) -
    - -
    returns (TQString)
    static
    - -
    ArgumentTypeDefault
    elemTQDomElement
    -

  • -
  • findActionByName (elem, sName, create) -
    - - -
    returns (TQDomElement)
    In versions KDE 3.3.0 and above only
    static
    - - - -
    ArgumentTypeDefault
    elemTQDomElement
    sNameTQString
    createbool
    -

  • -
  • plugActionList (client, name, actionList) -
    -
    returns nothing
    - - - -
    ArgumentTypeDefault
    clientKXMLGUIClient
    nameTQString
    actionListTQPtrList
    -

  • -
  • readConfigFile (filename, never_null, instance = 0) -
    - -
    returns (TQString)
    static
    - - - -
    ArgumentTypeDefault
    filenameTQString
    never_nullbool
    instanceKInstance0
    -

  • -
  • readConfigFile (filename, instance = 0) -
    - -
    returns (TQString)
    static
    - - -
    ArgumentTypeDefault
    filenameTQString
    instanceKInstance0
    -

  • -
  • removeClient (client) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    clientKXMLGUIClient
    -

  • -
  • removeDOMComments (node) -
    - -
    returns nothing
    static
    - -
    ArgumentTypeDefault
    nodeTQDomNode
    -

  • -
  • reset () -
    -
    returns nothing

  • -
  • resetContainer (containerName, useTagName = 0) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    containerNameTQString
    useTagNamebool0
    -

  • -
  • saveConfigFile (doc, filename, instance = 0) -
    - -
    returns (bool)
    static
    - - - -
    ArgumentTypeDefault
    docTQDomDocument
    filenameTQString
    instanceKInstance0
    -

  • -
  • unplugActionList (client, name) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    clientKXMLGUIClient
    nameTQString
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kdeui/KXYSelector.html b/python/pykde/doc/classref/kdeui/KXYSelector.html deleted file mode 100644 index e2f8e7f1..00000000 --- a/python/pykde/doc/classref/kdeui/KXYSelector.html +++ /dev/null @@ -1,141 +0,0 @@ - - - - - class KXYSelector - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KXYSelector


-
- - - - - -
Table of contents
Modules
kdeui Classes
All Classes
-
- - - - - - - - - - -
Modulekdeui
ClassKXYSelector
InheritsTQWidget
-

methods

    -
  • KXYSelector (parent = 0, name = 0) -
    -
    returns a KXYSelector instance
    - - -
    ArgumentTypeDefault
    parentTQWidget0
    namechar0
    -

  • -
  • contentsRect () -
    -
    returns (TQRect)

  • -
  • drawContents (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0TQPainter
    -

  • -
  • drawCursor (p, xp, yp) -
    -
    returns nothing
    - - - -
    ArgumentTypeDefault
    pTQPainter
    xpint
    ypint
    -

  • -
  • mouseMoveEvent (e) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    eTQMouseEvent
    -

  • -
  • mousePressEvent (e) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    eTQMouseEvent
    -

  • -
  • paintEvent (e) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    eTQPaintEvent
    -

  • -
  • setRange (minX, minY, maxX, maxY) -
    -
    returns nothing
    - - - - -
    ArgumentTypeDefault
    minXint
    minYint
    maxXint
    maxYint
    -

  • -
  • setValues (xPos, yPos) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    xPosint
    yPosint
    -

  • -
  • setXValue (xPos) -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only
    - -
    ArgumentTypeDefault
    xPosint
    -

  • -
  • setYValue (yPos) -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only
    - -
    ArgumentTypeDefault
    yPosint
    -

  • -
  • valueChanged (x, y) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    xint
    yint
    -

  • -
  • valuesFromPosition (x, y) -
    - -
    returns xVal (int) yVal (int)
    In versions KDE 3.2.0 and above only
    - - -
    ArgumentTypeDefault
    xint
    yint
    -

  • -
  • wheelEvent (a0) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    a0TQWheelEvent
    -

  • -
  • xValue () -
    -
    returns (int)

  • -
  • yValue () -
    -
    returns (int)

  • -
- - - diff --git a/python/pykde/doc/classref/kdeui/QXEmbed.html b/python/pykde/doc/classref/kdeui/QXEmbed.html deleted file mode 100644 index cd3bbdca..00000000 --- a/python/pykde/doc/classref/kdeui/QXEmbed.html +++ /dev/null @@ -1,196 +0,0 @@ - - - - - class QXEmbed - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class QXEmbed


-
- - - - - -
Table of contents
Modules
kdeui Classes
All Classes
-
- - - - - - - - - - -
Modulekdeui
ClassQXEmbed
InheritsTQWidget
-

enums

    -
  • Protocol = {XEMBED, XPLAIN -}
-

methods

    -
  • QXEmbed (parent = 0, name = 0, f = 0) -
    -
    returns a QXEmbed instance
    - - - -
    ArgumentTypeDefault
    parentTQWidget0
    namechar0
    fWFlags0
    -

  • -
  • autoDelete () -
    -
    returns (bool)

  • -
  • customWhatsThis () -
    -
    returns (bool)

  • -
  • embed (w) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    wWId
    -

  • -
  • embedClientIntoWindow (client, window) -
    - -
    returns nothing
    static
    - - -
    ArgumentTypeDefault
    clientTQWidget
    windowWId
    -

  • -
  • embeddedWinId () -
    -
    returns (WId)

  • -
  • embeddedWindowDestroyed () -
    -
    returns nothing

  • -
  • enterWhatsThisMode () -
    -
    returns nothing

  • -
  • event (a0) -
    -
    returns (bool)
    - -
    ArgumentTypeDefault
    a0TQEvent
    -

  • -
  • eventFilter (a0, a1) -
    -
    returns (bool)
    - - -
    ArgumentTypeDefault
    a0TQObject
    a1TQEvent
    -

  • -
  • focusInEvent (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0TQFocusEvent
    -

  • -
  • focusNextPrevChild (next) -
    -
    returns (bool)
    - -
    ArgumentTypeDefault
    nextbool
    -

  • -
  • focusOutEvent (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0TQFocusEvent
    -

  • -
  • initialize () -
    - -
    returns nothing
    static

  • -
  • keyPressEvent (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0TQKeyEvent
    -

  • -
  • keyReleaseEvent (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0TQKeyEvent
    -

  • -
  • minimumSizeHint () -
    -
    returns (TQSize)

  • -
  • processClientCmdline (list (a Python list of strings)) -
    - -
    returns ,
    static
    - -
    ArgumentTypeDefault
    list (a Python list of strings)ndex (int
    -

  • -
  • protocol () -
    - -
    returns (QXEmbed.Protocol)
    In versions KDE 3.1.1 and above only

  • -
  • reparent (parent, f, p, showIt = 0) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - - - - -
    ArgumentTypeDefault
    parentTQWidget
    fWFlags
    pTQPoint
    showItbool0
    -

  • -
  • resizeEvent (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0TQResizeEvent
    -

  • -
  • sendDelete () -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only

  • -
  • setAutoDelete (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0bool
    -

  • -
  • setProtocol (proto) -
    - -
    returns nothing
    In versions KDE 3.1.1 and above only
    - -
    ArgumentTypeDefault
    protoQXEmbed.Protocol
    -

  • -
  • showEvent (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0TQShowEvent
    -

  • -
  • sizeHint () -
    -
    returns (TQSize)

  • -
  • sizePolicy () -
    -
    returns (TQSizePolicy)

  • -
  • windowChanged (w) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    wWId
    -

  • -
  • x11Event (a0) -
    Not Implemented
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kdeui/index.html b/python/pykde/doc/classref/kdeui/index.html deleted file mode 100644 index 73b5c5a7..00000000 --- a/python/pykde/doc/classref/kdeui/index.html +++ /dev/null @@ -1,213 +0,0 @@ - - - - - module kdeui - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

kdeui Class Index


-
- - - - -
Table of contents
Modules
All Classes
-
- kdeui Global and Namespace members

- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
KAboutApplication - KDualColorButton
KAboutApplication
KAboutContainer
KAboutContributor
KAboutDialog
KAboutKDE
KAboutWidget
KAction
KActionCollection
KActionMenu
KActionPtrShortcutList
KActionSelector
KActionSeparator
KActionShortcutList
KActiveLabel
KAnimWidget
KArrowButton
KAuthIcon
KBugReport
KButtonBox
KCModule
KCharSelect
KCharSelectTable
KColor
KColorCells
KColorCombo
KColorDialog
KColorDrag
KColorPatch
KComboBox
KCommand
KCommandHistory
KCompletionBox
KConfigDialog
KContextMenuManager
KCursor
KDCOPActionProxy
KDateInternalMonthPicker
KDateInternalWeekSelector
KDateInternalYearSelector
KDatePicker
KDateTable
KDateTimeWidget
KDateValidator
KDateWidget
KDialog
KDialogBase
KDialogQueue
KDockArea
KDockMainWindow
KDockManager
KDockTabGroup
KDockWidget
KDockWidgetAbstractHeader
KDockWidgetAbstractHeaderDrag
KDockWidgetHeader
KDockWidgetHeaderDrag
KDoubleNumInput
KDoubleSpinBox
KDoubleValidator
KDualColorButton
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
KEdFind - KPixmapIO
KEdFind
KEdGotoLine
KEdReplace
KEdit
KEditListBox
KEditListBox.CustomEditor
KEditToolbar
KEditToolbarWidget
KFloatValidator
KFontAction
KFontChooser
KFontCombo
KFontDialog
KFontRequester
KFontSizeAction
KGradientSelector
KGuiItem
KHSSelector
KHelpMenu
KHistoryCombo
KIconView
KIconViewItem
KIconViewSearchLine
KInputDialog
KIntNumInput
KIntSpinBox
KIntValidator
KJanusWidget
KKeyButton
KKeyChooser
KKeyDialog
KLanguageButton
KLed
KLineEdit
KLineEditDlg
KListAction
KListBox
KListView
KListViewItem
KListViewSearchLine
KListViewSearchLineWidget
KMacroCommand
KMainWindow
KMainWindowInterface
KMenuBar
KMessageBox
KMimeTypeValidator
KNamedCommand
KNumInput
KPaletteTable
KPanelAppMenu
KPanelApplet
KPanelExtension
KPanelMenu
KPassivePopup
KPasswordDialog
KPasswordEdit
KPasteTextAction
KPixmapIO
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
KPixmapRegionSelectorDialog - QXEmbed
KPixmapRegionSelectorDialog
KPixmapRegionSelectorWidget
KPopupFrame
KPopupMenu
KPopupTitle
KProgress
KProgressDialog
KPushButton
KRadioAction
KRecentFilesAction
KRestrictedLine
KRootPermsIcon
KRootPixmap
KRuler
KScrollView
KSelectAction
KSelector
KSeparator
KShortcutDialog
KSplashScreen
KSqueezedTextLabel
KStatusBar
KStatusBarLabel
KStdAction
KStdGuiItem
KStringListValidator
KSystemTray
KTabBar
KTabCtl
KTabWidget
KTextBrowser
KTextEdit
KTimeWidget
KTimezoneWidget
KTipDatabase
KTipDialog
KToggleAction
KToggleFullScreenAction
KToggleToolBarAction
KToolBar
KToolBarButton
KToolBarLabelAction
KToolBarPopupAction
KToolBarRadioGroup
KToolBarSeparator
KURLLabel
KValueSelector
KWidgetAction
KWindowInfo
KWindowListMenu
KWizard
KWordWrap
KWritePermsIcon
KXMLGUIBuilder
KXMLGUIClient
KXMLGUIClient.StateChange
KXMLGUIFactory
KXYSelector
QXEmbed
- - diff --git a/python/pykde/doc/classref/kdeui/kdeui-globals.html b/python/pykde/doc/classref/kdeui/kdeui-globals.html deleted file mode 100644 index 50eecb42..00000000 --- a/python/pykde/doc/classref/kdeui/kdeui-globals.html +++ /dev/null @@ -1,36 +0,0 @@ - - - - - kdeui globals - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

kdeui Globals


-
- - - - - -
Table of contents
Modules
kdeui Classes
All Classes
-
-

global methods

    -
  • testKActionList (list) -
    -
    returns (TQPtrList),
    - -
    ArgumentTypeDefault
    listTQPtrList
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kfile/KAppTreeListItem.html b/python/pykde/doc/classref/kfile/KAppTreeListItem.html deleted file mode 100644 index 82ac583a..00000000 --- a/python/pykde/doc/classref/kfile/KAppTreeListItem.html +++ /dev/null @@ -1,101 +0,0 @@ - - - - - class KAppTreeListItem - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KAppTreeListItem


-
- - - - - -
Table of contents
Modules
kfile Classes
All Classes
-
- - - - - - - - - - -
Modulekfile
ClassKAppTreeListItem
InheritsTQListViewItem
-

methods

    -
  • KAppTreeListItem (a0, a1, a2, a3, a4, a5, a6) -
    - -
    returns a KAppTreeListItem instance
    In versions less than KDE 3.1.0 only
    - - - - - - - -
    ArgumentTypeDefault
    a0KListView
    a1TQString
    a2TQPixmap
    a3bool
    a4bool
    a5TQString
    a6TQString
    -

  • -
  • KAppTreeListItem (a0, a1, a2, a3, a4, a5, a6) -
    - -
    returns a KAppTreeListItem instance
    In versions less than KDE 3.1.0 only
    - - - - - - - -
    ArgumentTypeDefault
    a0TQListViewItem
    a1TQString
    a2TQPixmap
    a3bool
    a4bool
    a5TQString
    a6TQString
    -

  • -
  • activate () -
    - -
    returns nothing
    In versions less than KDE 3.1.0 only

  • -
  • init (a0, a1, a2, a3, a4) -
    - -
    returns nothing
    In versions less than KDE 3.1.0 only
    - - - - - -
    ArgumentTypeDefault
    a0TQPixmap
    a1bool
    a2bool
    a3TQString
    a4TQString
    -

  • -
  • isDirectory () -
    - -
    returns (bool)
    In versions less than KDE 3.1.0 only

  • -
  • key (a0, a1) -
    - -
    returns (TQString)
    In versions less than KDE 3.1.0 only
    - - -
    ArgumentTypeDefault
    a0int
    a1bool
    -

  • -
  • setOpen (a0) -
    - -
    returns nothing
    In versions less than KDE 3.1.0 only
    - -
    ArgumentTypeDefault
    a0bool
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kfile/KApplicationPropsPlugin.html b/python/pykde/doc/classref/kfile/KApplicationPropsPlugin.html deleted file mode 100644 index 5005f80f..00000000 --- a/python/pykde/doc/classref/kfile/KApplicationPropsPlugin.html +++ /dev/null @@ -1,63 +0,0 @@ - - - - - class KApplicationPropsPlugin - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KApplicationPropsPlugin


-
- - - - - -
Table of contents
Modules
kfile Classes
All Classes
-
- - - - - - - - - - -
Modulekfile
ClassKApplicationPropsPlugin
InheritsKPropsDlgPlugin
-

methods

    -
  • KApplicationPropsPlugin (_props) -
    -
    returns a KApplicationPropsPlugin instance
    - -
    ArgumentTypeDefault
    _propsKPropertiesDialog
    -

  • -
  • applyChanges () -
    -
    returns nothing

  • -
  • slotAddExtension () -
    -
    returns nothing

  • -
  • slotDelExtension () -
    -
    returns nothing

  • -
  • supports (_items) -
    - -
    returns (bool)
    static
    - -
    ArgumentTypeDefault
    _itemsKFileItemList
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kfile/KApplicationTree.html b/python/pykde/doc/classref/kfile/KApplicationTree.html deleted file mode 100644 index 984be259..00000000 --- a/python/pykde/doc/classref/kfile/KApplicationTree.html +++ /dev/null @@ -1,101 +0,0 @@ - - - - - class KApplicationTree - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KApplicationTree


-
- - - - - -
Table of contents
Modules
kfile Classes
All Classes
-
- - - - - - - - - - -
Modulekfile
ClassKApplicationTree
InheritsKListView
-

methods

    -
  • KApplicationTree (a0) -
    - -
    returns a KApplicationTree instance
    In versions less than KDE 3.1.0 only
    - -
    ArgumentTypeDefault
    a0TQWidget
    -

  • -
  • addDesktopGroup (a0, a1 = 0) -
    - -
    returns nothing
    In versions less than KDE 3.1.0 only
    - - -
    ArgumentTypeDefault
    a0TQString
    a1KAppTreeListItem0
    -

  • -
  • highlighted (a0, a1) -
    - -
    returns nothing
    In versions less than KDE 3.1.0 only
    - - -
    ArgumentTypeDefault
    a0TQString
    a1TQString
    -

  • -
  • isDirSel () -
    - -
    returns (bool)
    In versions less than KDE 3.1.0 only

  • -
  • resizeEvent (a0) -
    - -
    returns nothing
    In versions less than KDE 3.1.0 only
    - -
    ArgumentTypeDefault
    a0TQResizeEvent
    -

  • -
  • selected (a0, a1) -
    - -
    returns nothing
    In versions less than KDE 3.1.0 only
    - - -
    ArgumentTypeDefault
    a0TQString
    a1TQString
    -

  • -
  • slotItemHighlighted (a0) -
    - -
    returns nothing
    In versions less than KDE 3.1.0 only
    - -
    ArgumentTypeDefault
    a0TQListViewItem
    -

  • -
  • slotSelectionChanged (a0) -
    - -
    returns nothing
    In versions less than KDE 3.1.0 only
    - -
    ArgumentTypeDefault
    a0TQListViewItem
    -

  • -
-

variables

  • -variables - -
    VariableType
    itKAppTreeListItem*
- - - diff --git a/python/pykde/doc/classref/kfile/KBindingPropsPlugin.html b/python/pykde/doc/classref/kfile/KBindingPropsPlugin.html deleted file mode 100644 index 21208629..00000000 --- a/python/pykde/doc/classref/kfile/KBindingPropsPlugin.html +++ /dev/null @@ -1,57 +0,0 @@ - - - - - class KBindingPropsPlugin - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KBindingPropsPlugin


-
- - - - - -
Table of contents
Modules
kfile Classes
All Classes
-
- - - - - - - - - - -
Modulekfile
ClassKBindingPropsPlugin
InheritsKPropsDlgPlugin
-

methods

    -
  • KBindingPropsPlugin (_props) -
    -
    returns a KBindingPropsPlugin instance
    - -
    ArgumentTypeDefault
    _propsKPropertiesDialog
    -

  • -
  • applyChanges () -
    -
    returns nothing

  • -
  • supports (_items) -
    - -
    returns (bool)
    static
    - -
    ArgumentTypeDefault
    _itemsKFileItemList
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kfile/KCombiView.html b/python/pykde/doc/classref/kfile/KCombiView.html deleted file mode 100644 index ecefca74..00000000 --- a/python/pykde/doc/classref/kfile/KCombiView.html +++ /dev/null @@ -1,202 +0,0 @@ - - - - - class KCombiView - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KCombiView


-
- - - - - -
Table of contents
Modules
kfile Classes
All Classes
-
- - - - - - - - - - -
Modulekfile
ClassKCombiView
InheritsTQSplitter, KFileView
-

methods

    -
  • KCombiView (parent, name) -
    -
    returns a KCombiView instance
    - - -
    ArgumentTypeDefault
    parentTQWidget
    namechar
    -

  • -
  • actionCollection () -
    - -
    returns (KActionCollection)
    In versions KDE 3.1.0 and above only

  • -
  • clear () -
    -
    returns nothing

  • -
  • clearSelection () -
    -
    returns nothing

  • -
  • clearView () -
    -
    returns nothing

  • -
  • currentFileItem () -
    -
    returns (KFileItem)

  • -
  • ensureItemVisible (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0KFileItem
    -

  • -
  • eventFilter (o, e) -
    - -
    returns (bool)
    In versions KDE 3.2.0 and above only
    - - -
    ArgumentTypeDefault
    oTQObject
    eTQEvent
    -

  • -
  • firstFileItem () -
    -
    returns (KFileItem)

  • -
  • insertItem (i) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    iKFileItem
    -

  • -
  • invertSelection () -
    -
    returns nothing

  • -
  • isSelected (a0) -
    -
    returns (bool)
    - -
    ArgumentTypeDefault
    a0KFileItem
    -

  • -
  • listingCompleted () -
    -
    returns nothing

  • -
  • nextItem (a0) -
    -
    returns (KFileItem)
    - -
    ArgumentTypeDefault
    a0KFileItem
    -

  • -
  • prevItem (a0) -
    -
    returns (KFileItem)
    - -
    ArgumentTypeDefault
    a0KFileItem
    -

  • -
  • readConfig (a0, group = TQString .null) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - - -
    ArgumentTypeDefault
    a0KConfig
    groupTQStringTQString .null
    -

  • -
  • removeItem (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0KFileItem
    -

  • -
  • selectAll () -
    -
    returns nothing

  • -
  • setAcceptDrops (b) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    bbool
    -

  • -
  • setCurrentItem (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0KFileItem
    -

  • -
  • setDropOptions_impl (options) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    optionsint
    -

  • -
  • setRight (view) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    viewKFileView
    -

  • -
  • setSelected (a0, a1) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    a0KFileItem
    a1bool
    -

  • -
  • setSelectionMode (sm) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    smKFile.SelectionMode
    -

  • -
  • setSorting (sort) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    sortTQDir.SortSpec
    -

  • -
  • slotSortingChanged (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0TQDir.SortSpec
    -

  • -
  • updateView (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0bool
    -

  • -
  • updateView (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0KFileItem
    -

  • -
  • widget () -
    -
    returns (TQWidget)

  • -
  • writeConfig (a0, group = TQString .null) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - - -
    ArgumentTypeDefault
    a0KConfig
    groupTQStringTQString .null
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kfile/KCustomMenuEditor.html b/python/pykde/doc/classref/kfile/KCustomMenuEditor.html deleted file mode 100644 index c513f2cf..00000000 --- a/python/pykde/doc/classref/kfile/KCustomMenuEditor.html +++ /dev/null @@ -1,82 +0,0 @@ - - - - - class KCustomMenuEditor - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KCustomMenuEditor


-
- - - - - -
Table of contents
Modules
kfile Classes
All Classes
-
- - - - - - - - - - -
Modulekfile
ClassKCustomMenuEditor
InheritsKDialogBase
-

methods

    -
  • KCustomMenuEditor (parent) -
    - -
    returns a KCustomMenuEditor instance
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    parentTQWidget
    -

  • -
  • load (a0) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    a0KConfigBase
    -

  • -
  • refreshButton () -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only

  • -
  • save (a0) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    a0KConfigBase
    -

  • -
  • slotMoveDown () -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only

  • -
  • slotMoveUp () -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only

  • -
  • slotNewItem () -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only

  • -
  • slotRemoveItem () -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only

  • -
- - - diff --git a/python/pykde/doc/classref/kfile/KDesktopPropsPlugin.html b/python/pykde/doc/classref/kfile/KDesktopPropsPlugin.html deleted file mode 100644 index 4179cc12..00000000 --- a/python/pykde/doc/classref/kfile/KDesktopPropsPlugin.html +++ /dev/null @@ -1,80 +0,0 @@ - - - - - class KDesktopPropsPlugin - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KDesktopPropsPlugin


-
- - - - - -
Table of contents
Modules
kfile Classes
All Classes
-
- - - - - - - - - - -
Modulekfile
ClassKDesktopPropsPlugin
InheritsKPropsDlgPlugin
-

methods

    -
  • KDesktopPropsPlugin (_props) -
    - -
    returns a KDesktopPropsPlugin instance
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    _propsKPropertiesDialog
    -

  • -
  • applyChanges () -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only

  • -
  • slotAddFiletype () -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only

  • -
  • slotAdvanced () -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only

  • -
  • slotBrowseExec () -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only

  • -
  • slotDelFiletype () -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only

  • -
  • slotSelectMimetype () -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only

  • -
  • supports (_items) -
    - - -
    returns (bool)
    In versions KDE 3.2.0 and above only
    static
    - -
    ArgumentTypeDefault
    _itemsKFileItemList
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kfile/KDevicePropsPlugin.html b/python/pykde/doc/classref/kfile/KDevicePropsPlugin.html deleted file mode 100644 index d4c44408..00000000 --- a/python/pykde/doc/classref/kfile/KDevicePropsPlugin.html +++ /dev/null @@ -1,57 +0,0 @@ - - - - - class KDevicePropsPlugin - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KDevicePropsPlugin


-
- - - - - -
Table of contents
Modules
kfile Classes
All Classes
-
- - - - - - - - - - -
Modulekfile
ClassKDevicePropsPlugin
InheritsKPropsDlgPlugin
-

methods

    -
  • KDevicePropsPlugin (_props) -
    -
    returns a KDevicePropsPlugin instance
    - -
    ArgumentTypeDefault
    _propsKPropertiesDialog
    -

  • -
  • applyChanges () -
    -
    returns nothing

  • -
  • supports (_items) -
    - -
    returns (bool)
    static
    - -
    ArgumentTypeDefault
    _itemsKFileItemList
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kfile/KDirOperator.html b/python/pykde/doc/classref/kfile/KDirOperator.html deleted file mode 100644 index 6be53823..00000000 --- a/python/pykde/doc/classref/kfile/KDirOperator.html +++ /dev/null @@ -1,520 +0,0 @@ - - - - - class KDirOperator - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KDirOperator


-
- - - - - -
Table of contents
Modules
kfile Classes
All Classes
-
- - - - - - - - - - -
Modulekfile
ClassKDirOperator
InheritsTQWidget
-

enums

    -
  • ActionTypes = {SortActions, ViewActions, NavActions, FileActions, AllActions -}
-

methods

    -
  • KDirOperator (urlName = KURL (), parent = 0, name = 0) -
    -
    returns a KDirOperator instance
    - - - -
    ArgumentTypeDefault
    urlNameKURLKURL ()
    parentTQWidget0
    namechar0
    -

  • -
  • actionCollection () -
    -
    returns (KActionCollection)

  • -
  • activatedMenu (a0, pos) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    a0KFileItem
    posTQPoint
    -

  • -
  • back () -
    -
    returns nothing

  • -
  • cdUp () -
    -
    returns nothing

  • -
  • checkPreviewSupport () -
    -
    returns (bool)

  • -
  • clearFilter () -
    - -
    returns nothing
    In versions KDE 3.1.2 and above only

  • -
  • clearHistory () -
    -
    returns nothing

  • -
  • close () -
    -
    returns nothing

  • -
  • close (alsoDelete) -
    - -
    returns (bool)
    In versions KDE 3.4.0 and above only
    - -
    ArgumentTypeDefault
    alsoDeletebool
    -

  • -
  • completion (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0TQString
    -

  • -
  • completionObject () -
    -
    returns (KCompletion)

  • -
  • createView (parent, view) -
    -
    returns (KFileView)
    - - -
    ArgumentTypeDefault
    parentTQWidget
    viewKFile.FileView
    -

  • -
  • del_ (items, ask = 1, showProgress = 1) -
    - -
    returns (KIO.DeleteJob)
    Renamed: was ' del -' in C++
    - - - -
    ArgumentTypeDefault
    itemsKFileItemList
    askbool1
    showProgressbool1
    -

  • -
  • del_ (items, parent, ask = 1, showProgress = 1) -
    - - -
    returns (KIO.DeleteJob)
    Renamed: was ' del' in C++
    In versions KDE 3.0.3 and above only
    - - - - -
    ArgumentTypeDefault
    itemsKFileItemList
    parentTQWidget
    askbool1
    showProgressbool1
    -

  • -
  • deleteSelected () -
    -
    returns nothing

  • -
  • dirActivated (item) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    itemKFileItem
    -

  • -
  • dirCompletionObject () -
    -
    returns (KCompletion)

  • -
  • dirHighlighting () -
    -
    returns (bool)

  • -
  • dirLister () -
    -
    returns (KDirLister)

  • -
  • dirOnlyMode () -
    -
    returns (bool)

  • -
  • dirOnlyMode (mode) -
    - -
    returns (bool)
    static
    - -
    ArgumentTypeDefault
    modeuint
    -

  • -
  • dropped (item, event, urls) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - - - -
    ArgumentTypeDefault
    itemKFileItem
    eventTQDropEvent
    urlsKURL.List
    -

  • -
  • fileHighlighted (item) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    itemKFileItem
    -

  • -
  • fileSelected (item) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    itemKFileItem
    -

  • -
  • finishedLoading () -
    -
    returns nothing

  • -
  • forward () -
    -
    returns nothing

  • -
  • highlightFile (i) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    iKFileItem
    -

  • -
  • home () -
    -
    returns nothing

  • -
  • insertNewFiles (newone) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    newoneKFileItemList
    -

  • -
  • isRoot () -
    -
    returns (bool)

  • -
  • isSelected (item) -
    -
    returns (bool)
    - -
    ArgumentTypeDefault
    itemKFileItem
    -

  • -
  • itemDeleted (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0KFileItem
    -

  • -
  • makeCompletion (a0) -
    -
    returns (TQString)
    - -
    ArgumentTypeDefault
    a0TQString
    -

  • -
  • makeDirCompletion (a0) -
    -
    returns (TQString)
    - -
    ArgumentTypeDefault
    a0TQString
    -

  • -
  • mimeFilter () -
    - -
    returns (TQStringList)
    In versions KDE 3.1.2 and above only

  • -
  • mkdir (directory, enterDirectory = 1) -
    -
    returns (bool)
    - - -
    ArgumentTypeDefault
    directoryTQString
    enterDirectorybool1
    -

  • -
  • mkdir () -
    -
    returns nothing

  • -
  • mode () -
    -
    returns (KFile.Mode)

  • -
  • nameFilter () -
    -
    returns (TQString)

  • -
  • numDirs () -
    -
    returns (int)

  • -
  • numFiles () -
    -
    returns (int)

  • -
  • onlyDoubleClickSelectsFiles () -
    -
    returns (bool)

  • -
  • pathChanged () -
    -
    returns nothing

  • -
  • prepareCompletionObjects () -
    -
    returns nothing

  • -
  • progressBar () -
    -
    returns (KProgress)

  • -
  • readConfig (a0, group = TQString .null) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    a0KConfig
    groupTQStringTQString .null
    -

  • -
  • rereadDir () -
    -
    returns nothing

  • -
  • resetCursor () -
    -
    returns nothing

  • -
  • resizeEvent (a0) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    a0TQResizeEvent
    -

  • -
  • resizeEvent (a0) -
    - -
    returns nothing
    In versions less than KDE 3.2.0 only
    - -
    ArgumentTypeDefault
    a0TQResizeEvent
    -

  • -
  • selectDir (item) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    itemKFileItem
    -

  • -
  • selectFile (item) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    itemKFileItem
    -

  • -
  • selectedItems () -
    -
    returns (KFileItemList)

  • -
  • setAcceptDrops (b) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    bbool
    -

  • -
  • setCurrentItem (filename) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    filenameTQString
    -

  • -
  • setDirLister (lister) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    listerKDirLister
    -

  • -
  • setDropOptions (options) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    optionsint
    -

  • -
  • setEnableDirHighlighting (enable) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    enablebool
    -

  • -
  • setMimeFilter (mimetypes) -
    - -
    returns nothing
    In versions KDE 3.1.2 and above only
    - -
    ArgumentTypeDefault
    mimetypesTQStringList
    -

  • -
  • setMode (m) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    mKFile.Mode
    -

  • -
  • setNameFilter (filter) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    filterTQString
    -

  • -
  • setOnlyDoubleClickSelectsFiles (enable) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    enablebool
    -

  • -
  • setPreviewWidget (w) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    wTQWidget
    -

  • -
  • setShowHiddenFiles (s) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    sbool
    -

  • -
  • setSorting (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0TQDir.SortSpec
    -

  • -
  • setURL (url, clearforward) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    urlKURL
    clearforwardbool
    -

  • -
  • setView (view) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    viewKFileView
    -

  • -
  • setView (view) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    viewKFile.FileView
    -

  • -
  • setViewConfig (config, group) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - - -
    ArgumentTypeDefault
    configKConfig
    groupTQString
    -

  • -
  • setupActions () -
    -
    returns nothing

  • -
  • setupMenu (whichActions) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    whichActionsint
    -

  • -
  • setupMenu () -
    -
    returns nothing

  • -
  • showHiddenFiles () -
    -
    returns (bool)

  • -
  • slotCompletionMatch (match) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    matchTQString
    -

  • -
  • sortByDate () -
    -
    returns nothing

  • -
  • sortByName () -
    -
    returns nothing

  • -
  • sortBySize () -
    -
    returns nothing

  • -
  • sortReversed () -
    -
    returns nothing

  • -
  • sorting () -
    -
    returns (TQDir.SortSpec)

  • -
  • toggleDirsFirst () -
    -
    returns nothing

  • -
  • toggleIgnoreCase () -
    -
    returns nothing

  • -
  • trash (items, parent, ask = 1, showProgress = 1) -
    - -
    returns (KIO.CopyJob)
    In versions KDE 3.4.0 and above only
    - - - - -
    ArgumentTypeDefault
    itemsKFileItemList
    parentTQWidget
    askbool1
    showProgressbool1
    -

  • -
  • trashSelected (a0, a1) -
    - -
    returns nothing
    In versions KDE 3.4.0 and above only
    - - -
    ArgumentTypeDefault
    a0KAction.ActivationReason
    a1Qt.ButtonState
    -

  • -
  • updateDir () -
    -
    returns nothing

  • -
  • updateInformation (files, dirs) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    filesint
    dirsint
    -

  • -
  • updateSelectionDependentActions () -
    -
    returns nothing

  • -
  • updateSortActions () -
    -
    returns nothing

  • -
  • updateViewActions () -
    -
    returns nothing

  • -
  • url () -
    -
    returns (KURL)

  • -
  • urlEntered (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0KURL
    -

  • -
  • view () -
    -
    returns (KFileView)

  • -
  • viewChanged (newView) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    newViewKFileView
    -

  • -
  • viewConfig () -
    - -
    returns (KConfig)
    In versions KDE 3.1.0 and above only

  • -
  • viewConfigGroup () -
    - -
    returns (TQString)
    In versions KDE 3.1.0 and above only

  • -
  • viewWidget () -
    -
    returns (TQWidget)

  • -
  • writeConfig (a0, group = TQString .null) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    a0KConfig
    groupTQStringTQString .null
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kfile/KDirSelectDialog.html b/python/pykde/doc/classref/kfile/KDirSelectDialog.html deleted file mode 100644 index d9f06827..00000000 --- a/python/pykde/doc/classref/kfile/KDirSelectDialog.html +++ /dev/null @@ -1,89 +0,0 @@ - - - - - class KDirSelectDialog - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KDirSelectDialog


-
- - - - - -
Table of contents
Modules
kfile Classes
All Classes
-
- - - - - - - - - - -
Modulekfile
ClassKDirSelectDialog
InheritsKDialogBase
-

methods

    -
  • KDirSelectDialog (startDir = TQString .null, localOnly = 0, parent = 0, name = 0, modal = 0) -
    -
    returns a KDirSelectDialog instance
    - - - - - -
    ArgumentTypeDefault
    startDirTQStringTQString .null
    localOnlybool0
    parentTQWidget0
    namechar0
    modalbool0
    -

  • -
  • accept () -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only

  • -
  • localOnly () -
    -
    returns (bool)

  • -
  • selectDirectory (startDir = TQString .null, localOnly = 0, parent = 0, caption = TQString .null) -
    - -
    returns (KURL)
    static
    - - - - -
    ArgumentTypeDefault
    startDirTQStringTQString .null
    localOnlybool0
    parentTQWidget0
    captionTQStringTQString .null
    -

  • -
  • setCurrentURL (url) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    urlKURL
    -

  • -
  • slotUser1 () -
    - -
    returns nothing
    In versions KDE 3.5.0 and above only

  • -
  • startDir () -
    - -
    returns (TQString)
    In versions KDE 3.1.0 and above only

  • -
  • url () -
    -
    returns (KURL)

  • -
  • view () -
    -
    returns (KFileTreeView)

  • -
- - - diff --git a/python/pykde/doc/classref/kfile/KDirSize.html b/python/pykde/doc/classref/kfile/KDirSize.html deleted file mode 100644 index 186a1808..00000000 --- a/python/pykde/doc/classref/kfile/KDirSize.html +++ /dev/null @@ -1,128 +0,0 @@ - - - - - class KDirSize - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KDirSize


-
- - - - - -
Table of contents
Modules
kfile Classes
All Classes
-
- - - - - - - - - - -
Modulekfile
ClassKDirSize
InheritsKIO.Job
-

methods

    -
  • KDirSize (directory) -
    -
    returns a KDirSize instance
    - -
    ArgumentTypeDefault
    directoryKURL
    -

  • -
  • KDirSize (lstItems) -
    -
    returns a KDirSize instance
    - -
    ArgumentTypeDefault
    lstItemsKFileItemList
    -

  • -
  • dirSize (directory) -
    - - -
    returns (KIO.filesize_t)
    In versions KDE 3.1.2 and above only
    static
    - -
    ArgumentTypeDefault
    directoryKURL
    -

  • -
  • dirSize (a0) -
    - - -
    returns (ulong)
    In versions less than KDE 3.1.2 only
    static
    - -
    ArgumentTypeDefault
    a0KURL
    -

  • -
  • dirSize64 (a0) -
    Not Implemented
    -

  • -
  • dirSizeJob (directory) -
    - -
    returns (KDirSize)
    static
    - -
    ArgumentTypeDefault
    directoryKURL
    -

  • -
  • dirSizeJob (lstItems) -
    - -
    returns (KDirSize)
    static
    - -
    ArgumentTypeDefault
    lstItemsKFileItemList
    -

  • -
  • processList () -
    -
    returns nothing

  • -
  • setSync () -
    -
    returns nothing

  • -
  • slotEntries (a0, a1) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    a0KIO.Job
    a1KIO.UDSEntryList
    -

  • -
  • slotResult (job) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    jobKIO.Job
    -

  • -
  • startNextJob (url) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    urlKURL
    -

  • -
  • totalFiles () -
    - -
    returns (KIO.filesize_t)
    In versions KDE 3.3.0 and above only

  • -
  • totalSize () -
    -
    returns (KIO.filesize_t)

  • -
  • totalSize64 () -
    Not Implemented
    -

  • -
  • totalSubdirs () -
    - -
    returns (KIO.filesize_t)
    In versions KDE 3.3.0 and above only

  • -
  • ~KDirSize () -
    -
    returns nothing

  • -
- - - diff --git a/python/pykde/doc/classref/kfile/KDiskFreeSp.html b/python/pykde/doc/classref/kfile/KDiskFreeSp.html deleted file mode 100644 index ff9815dd..00000000 --- a/python/pykde/doc/classref/kfile/KDiskFreeSp.html +++ /dev/null @@ -1,81 +0,0 @@ - - - - - class KDiskFreeSp - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KDiskFreeSp


-
- - - - - -
Table of contents
Modules
kfile Classes
All Classes
-
- - - - - - - - - - -
Modulekfile
ClassKDiskFreeSp
InheritsTQObject
-

methods

    -
  • KDiskFreeSp (parent = 0, name = 0) -
    - -
    returns a KDiskFreeSp instance
    In versions KDE 3.1.0 and above only
    - - -
    ArgumentTypeDefault
    parentTQObject0
    namechar0
    -

  • -
  • done () -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only

  • -
  • findUsageInfo (path) -
    - - -
    returns (KDiskFreeSp)
    In versions KDE 3.1.0 and above only
    static
    - -
    ArgumentTypeDefault
    pathTQString
    -

  • -
  • foundMountPoint (mountPoint, kBSize, kBUsed, kBAvail) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - - - - -
    ArgumentTypeDefault
    mountPointTQString
    kBSizeulong
    kBUsedulong
    kBAvailulong
    -

  • -
  • foundMountPoint (a3) -
    Not Implemented
    -

  • -
  • readDF (mountPoint) -
    - -
    returns (int)
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    mountPointTQString
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kfile/KEncodingFileDialog.Result.html b/python/pykde/doc/classref/kfile/KEncodingFileDialog.Result.html deleted file mode 100644 index 2b65d45e..00000000 --- a/python/pykde/doc/classref/kfile/KEncodingFileDialog.Result.html +++ /dev/null @@ -1,45 +0,0 @@ - - - - - class KEncodingFileDialog.Result - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KEncodingFileDialog.Result


-
- - - - - -
Table of contents
Modules
kfile Classes
All Classes
-
- - - - - - - - - - -
Modulekfile
ClassKEncodingFileDialog.Result
Inherits
-

variables

  • -variables - - - -
    VariableType
    URLsKURL::List
    encodingTQString
    fileNamesTQStringList
- - - diff --git a/python/pykde/doc/classref/kfile/KEncodingFileDialog.html b/python/pykde/doc/classref/kfile/KEncodingFileDialog.html deleted file mode 100644 index 07dc7a59..00000000 --- a/python/pykde/doc/classref/kfile/KEncodingFileDialog.html +++ /dev/null @@ -1,139 +0,0 @@ - - - - - class KEncodingFileDialog - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KEncodingFileDialog


-
- - - - - -
Table of contents
Modules
kfile Classes
All Classes
-
- - - - - - - - - - -
Modulekfile
ClassKEncodingFileDialog
InheritsKFileDialog
-

methods

    -
  • KEncodingFileDialog (startDir = TQString .null, encoding = TQString .null, filter = TQString .null, caption = TQString .null, type = KFileDialog .Opening, parent = 0, name = "", modal = 1) -
    - -
    returns a KEncodingFileDialog instance
    In versions KDE 3.2.0 and above only
    - - - - - - - - -
    ArgumentTypeDefault
    startDirTQStringTQString .null
    encodingTQStringTQString .null
    filterTQStringTQString .null
    captionTQStringTQString .null
    typeKFileDialog.OperationModeKFileDialog .Opening
    parentTQWidget0
    namechar""
    modalbool1
    -

  • -
  • getOpenFileNameAndEncoding (encoding = TQString .null, startDir = TQString .null, filter = TQString .null, parent = 0, caption = TQString .null) -
    - - -
    returns (KEncodingFileDialog.Result)
    In versions KDE 3.2.0 and above only
    static
    - - - - - -
    ArgumentTypeDefault
    encodingTQStringTQString .null
    startDirTQStringTQString .null
    filterTQStringTQString .null
    parentTQWidget0
    captionTQStringTQString .null
    -

  • -
  • getOpenFileNamesAndEncoding (encoding = TQString .null, startDir = TQString .null, filter = TQString .null, parent = 0, caption = TQString .null) -
    - - -
    returns (KEncodingFileDialog.Result)
    In versions KDE 3.2.0 and above only
    static
    - - - - - -
    ArgumentTypeDefault
    encodingTQStringTQString .null
    startDirTQStringTQString .null
    filterTQStringTQString .null
    parentTQWidget0
    captionTQStringTQString .null
    -

  • -
  • getOpenURLAndEncoding (encoding = TQString .null, startDir = TQString .null, filter = TQString .null, parent = 0, caption = TQString .null) -
    - - -
    returns (KEncodingFileDialog.Result)
    In versions KDE 3.2.0 and above only
    static
    - - - - - -
    ArgumentTypeDefault
    encodingTQStringTQString .null
    startDirTQStringTQString .null
    filterTQStringTQString .null
    parentTQWidget0
    captionTQStringTQString .null
    -

  • -
  • getOpenURLsAndEncoding (encoding = TQString .null, startDir = TQString .null, filter = TQString .null, parent = 0, caption = TQString .null) -
    - - -
    returns (KEncodingFileDialog.Result)
    In versions KDE 3.2.0 and above only
    static
    - - - - - -
    ArgumentTypeDefault
    encodingTQStringTQString .null
    startDirTQStringTQString .null
    filterTQStringTQString .null
    parentTQWidget0
    captionTQStringTQString .null
    -

  • -
  • getSaveFileNameAndEncoding (encoding = TQString .null, startDir = TQString .null, filter = TQString .null, parent = 0, caption = TQString .null) -
    - - -
    returns (KEncodingFileDialog.Result)
    In versions KDE 3.2.0 and above only
    static
    - - - - - -
    ArgumentTypeDefault
    encodingTQStringTQString .null
    startDirTQStringTQString .null
    filterTQStringTQString .null
    parentTQWidget0
    captionTQStringTQString .null
    -

  • -
  • getSaveURLAndEncoding (encoding = TQString .null, startDir = TQString .null, filter = TQString .null, parent = 0, caption = TQString .null) -
    - - -
    returns (KEncodingFileDialog.Result)
    In versions KDE 3.2.0 and above only
    static
    - - - - - -
    ArgumentTypeDefault
    encodingTQStringTQString .null
    startDirTQStringTQString .null
    filterTQStringTQString .null
    parentTQWidget0
    captionTQStringTQString .null
    -

  • -
  • selectedEncoding () -
    - -
    returns (TQString)
    In versions KDE 3.2.0 and above only

  • -
  • virtual_hook (id, data) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - - -
    ArgumentTypeDefault
    idint
    datavoid
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kfile/KExecPropsPlugin.html b/python/pykde/doc/classref/kfile/KExecPropsPlugin.html deleted file mode 100644 index 2e5f55a4..00000000 --- a/python/pykde/doc/classref/kfile/KExecPropsPlugin.html +++ /dev/null @@ -1,60 +0,0 @@ - - - - - class KExecPropsPlugin - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KExecPropsPlugin


-
- - - - - -
Table of contents
Modules
kfile Classes
All Classes
-
- - - - - - - - - - -
Modulekfile
ClassKExecPropsPlugin
InheritsKPropsDlgPlugin
-

methods

    -
  • KExecPropsPlugin (_props) -
    -
    returns a KExecPropsPlugin instance
    - -
    ArgumentTypeDefault
    _propsKPropertiesDialog
    -

  • -
  • applyChanges () -
    -
    returns nothing

  • -
  • slotBrowseExec () -
    -
    returns nothing

  • -
  • supports (_items) -
    - -
    returns (bool)
    static
    - -
    ArgumentTypeDefault
    _itemsKFileItemList
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kfile/KFile.html b/python/pykde/doc/classref/kfile/KFile.html deleted file mode 100644 index eb764757..00000000 --- a/python/pykde/doc/classref/kfile/KFile.html +++ /dev/null @@ -1,108 +0,0 @@ - - - - - class KFile - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KFile


-
- - - - - -
Table of contents
Modules
kfile Classes
All Classes
-
- - - - - - - - - - -
Modulekfile
ClassKFile
Inherits
-

enums

    -
  • FileView = {Default, Simple, Detail, SeparateDirs, PreviewContents, PreviewInfo, FileViewMax -}
  • FileView = {Default, Simple, Detail, SeparateDirs, PreviewContents, PreviewInfo -}
  • Mode = {File, Directory, Files, ExistingOnly, LocalOnly, ModeMax -}
  • Mode = {File, Directory, Files, ExistingOnly, LocalOnly -}
  • SelectionMode = {Single, Multi, Extended, NoSelection -}
-

methods

    -
  • isDefaultView () -
    - -
    returns (bool) view (KFile.FileView)
    static

  • -
  • isDetailView () -
    - -
    returns (bool) view (KFile.FileView)
    static

  • -
  • isPreviewContents () -
    - -
    returns (bool) view (KFile.FileView)
    static

  • -
  • isPreviewInfo () -
    - - -
    returns (bool) view (KFile.FileView)
    In versions KDE 3.1.0 and above only
    static

  • -
  • isSeparateDirs () -
    - -
    returns (bool) view (KFile.FileView)
    static

  • -
  • isSimpleView () -
    - -
    returns (bool) view (KFile.FileView)
    static

  • -
  • isSortByDate (sort) -
    - -
    returns (bool)
    static
    - -
    ArgumentTypeDefault
    sortTQDir.SortSpec
    -

  • -
  • isSortByName (sort) -
    - -
    returns (bool)
    static
    - -
    ArgumentTypeDefault
    sortTQDir.SortSpec
    -

  • -
  • isSortBySize (sort) -
    - -
    returns (bool)
    static
    - -
    ArgumentTypeDefault
    sortTQDir.SortSpec
    -

  • -
  • isSortCaseInsensitive (sort) -
    - -
    returns (bool)
    static
    - -
    ArgumentTypeDefault
    sortTQDir.SortSpec
    -

  • -
  • isSortDirsFirst (sort) -
    - -
    returns (bool)
    static
    - -
    ArgumentTypeDefault
    sortTQDir.SortSpec
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kfile/KFileDetailView.html b/python/pykde/doc/classref/kfile/KFileDetailView.html deleted file mode 100644 index 21b1c043..00000000 --- a/python/pykde/doc/classref/kfile/KFileDetailView.html +++ /dev/null @@ -1,274 +0,0 @@ - - - - - class KFileDetailView - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KFileDetailView


-
- - - - - -
Table of contents
Modules
kfile Classes
All Classes
-
- - - - - - - - - - -
Modulekfile
ClassKFileDetailView
InheritsKListView, KFileView
-

methods

    -
  • KFileDetailView (parent, name) -
    -
    returns a KFileDetailView instance
    - - -
    ArgumentTypeDefault
    parentTQWidget
    namechar
    -

  • -
  • acceptDrag (e) -
    - -
    returns (bool)
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    eTQDropEvent
    -

  • -
  • clearSelection () -
    -
    returns nothing

  • -
  • clearView () -
    -
    returns nothing

  • -
  • contentsDragEnterEvent (e) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    eTQDragEnterEvent
    -

  • -
  • contentsDragLeaveEvent (e) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    eTQDragLeaveEvent
    -

  • -
  • contentsDragMoveEvent (e) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    eTQDragMoveEvent
    -

  • -
  • contentsDropEvent (ev) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    evTQDropEvent
    -

  • -
  • currentFileItem () -
    -
    returns (KFileItem)

  • -
  • determineIcon (item) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    itemKFileListViewItem
    -

  • -
  • dragObject () -
    - -
    returns (TQDragObject)
    In versions KDE 3.2.0 and above only

  • -
  • dropped (event, fileItem) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - - -
    ArgumentTypeDefault
    eventTQDropEvent
    fileItemKFileItem
    -

  • -
  • dropped (event, urls, url) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - - - -
    ArgumentTypeDefault
    eventTQDropEvent
    urlsKURL.List
    urlKURL
    -

  • -
  • ensureItemVisible (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0KFileItem
    -

  • -
  • firstFileItem () -
    -
    returns (KFileItem)

  • -
  • highlighted (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0TQListViewItem
    -

  • -
  • insertItem (i) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    iKFileItem
    -

  • -
  • invertSelection () -
    -
    returns nothing

  • -
  • isSelected (i) -
    -
    returns (bool)
    - -
    ArgumentTypeDefault
    iKFileItem
    -

  • -
  • keyPressEvent (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0TQKeyEvent
    -

  • -
  • listingCompleted () -
    -
    returns nothing

  • -
  • mimeTypeDeterminationFinished () -
    -
    returns nothing

  • -
  • nextItem (a0) -
    -
    returns (KFileItem)
    - -
    ArgumentTypeDefault
    a0KFileItem
    -

  • -
  • prevItem (a0) -
    -
    returns (KFileItem)
    - -
    ArgumentTypeDefault
    a0KFileItem
    -

  • -
  • readConfig (a0, group = TQString .null) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - - -
    ArgumentTypeDefault
    a0KConfig
    groupTQStringTQString .null
    -

  • -
  • removeItem (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0KFileItem
    -

  • -
  • rightButtonPressed (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0TQListViewItem
    -

  • -
  • scrollWidget () -
    -
    returns (TQScrollView)

  • -
  • selectAll () -
    -
    returns nothing

  • -
  • selected (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0TQListViewItem
    -

  • -
  • setAutoUpdate (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0bool
    -

  • -
  • setCurrentItem (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0KFileItem
    -

  • -
  • setSelected (a0, a1) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    a0KFileItem
    a1bool
    -

  • -
  • setSelectionMode (sm) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    smKFile.SelectionMode
    -

  • -
  • setSorting (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0TQDir.SortSpec
    -

  • -
  • slotDoubleClicked (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0TQListViewItem
    -

  • -
  • slotSelectionChanged () -
    -
    returns nothing

  • -
  • slotSortingChanged (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0int
    -

  • -
  • updateView (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0bool
    -

  • -
  • updateView (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0KFileItem
    -

  • -
  • widget () -
    -
    returns (TQWidget)

  • -
  • writeConfig (a0, group = TQString .null) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - - -
    ArgumentTypeDefault
    a0KConfig
    groupTQStringTQString .null
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kfile/KFileDialog.html b/python/pykde/doc/classref/kfile/KFileDialog.html deleted file mode 100644 index 89cc0a6d..00000000 --- a/python/pykde/doc/classref/kfile/KFileDialog.html +++ /dev/null @@ -1,543 +0,0 @@ - - - - - class KFileDialog - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KFileDialog


-
- - - - - -
Table of contents
Modules
kfile Classes
All Classes
-
- - - - - - - - - - -
Modulekfile
ClassKFileDialog
InheritsKDialogBase
-

enums

    -
  • OperationMode = {Other, Opening, Saving -}
-

methods

    -
  • KFileDialog (startDir, filter, parent, name, modal) -
    -
    returns a KFileDialog instance
    - - - - - -
    ArgumentTypeDefault
    startDirTQString
    filterTQString
    parentTQWidget
    namechar
    modalbool
    -

  • -
  • KFileDialog (startDir, filter, parent, name, modal, widget) -
    - -
    returns a KFileDialog instance
    In versions KDE 3.1.0 and above only
    - - - - - - -
    ArgumentTypeDefault
    startDirTQString
    filterTQString
    parentTQWidget
    namechar
    modalbool
    widgetTQWidget
    -

  • -
  • KFileDialog (a0) -
    -
    returns a KFileDialog instance
    - -
    ArgumentTypeDefault
    a0KFileDialog
    -

  • -
  • accept () -
    -
    returns nothing

  • -
  • actionCollection () -
    -
    returns (KActionCollection)

  • -
  • addDirEntry (a0, a1) -
    Not Implemented
    -

  • -
  • addToRecentDocuments () -
    -
    returns nothing

  • -
  • baseURL () -
    -
    returns (KURL)

  • -
  • cancelButton () -
    -
    returns (KPushButton)

  • -
  • clearFilter () -
    -
    returns nothing

  • -
  • currentFilter () -
    -
    returns (TQString)

  • -
  • currentFilterExtension () -
    - -
    returns (TQString)
    In versions KDE 3.2.0 and above only

  • -
  • currentFilterMimeType () -
    -
    returns (KMimeType.Ptr)

  • -
  • currentMimeFilter () -
    -
    returns (TQString)

  • -
  • dirCompletion (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0TQString
    -

  • -
  • enterURL (url) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    urlKURL
    -

  • -
  • enterURL (url) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    urlTQString
    -

  • -
  • fileCompletion (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0TQString
    -

  • -
  • fileHighlighted (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0TQString
    -

  • -
  • fileHighlighted (i) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    iKFileItem
    -

  • -
  • fileSelected (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0TQString
    -

  • -
  • fileSelected (i) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    iKFileItem
    -

  • -
  • filterChanged (filter) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    filterTQString
    -

  • -
  • getCompleteURL (a0) -
    - -
    returns (KURL)
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    a0TQString
    -

  • -
  • getExistingDirectory (startDir = TQString .null, parent = 0, caption = TQString .null) -
    - -
    returns (TQString)
    static
    - - - -
    ArgumentTypeDefault
    startDirTQStringTQString .null
    parentTQWidget0
    captionTQStringTQString .null
    -

  • -
  • getExistingURL (startDir = TQString .null, parent = 0, caption = TQString .null) -
    - - -
    returns (KURL)
    In versions KDE 3.1.0 and above only
    static
    - - - -
    ArgumentTypeDefault
    startDirTQStringTQString .null
    parentTQWidget0
    captionTQStringTQString .null
    -

  • -
  • getImageOpenURL (startDir = TQString .null, parent = 0, caption = TQString .null) -
    - -
    returns (KURL)
    static
    - - - -
    ArgumentTypeDefault
    startDirTQStringTQString .null
    parentTQWidget0
    captionTQStringTQString .null
    -

  • -
  • getOpenFileName (startDir = TQString .null, filter = TQString .null, parent = 0, caption = TQString .null) -
    - -
    returns (TQString)
    static
    - - - - -
    ArgumentTypeDefault
    startDirTQStringTQString .null
    filterTQStringTQString .null
    parentTQWidget0
    captionTQStringTQString .null
    -

  • -
  • getOpenFileNameWId (startDir, filter, parent_id, caption) -
    - - -
    returns (TQString)
    In versions KDE 3.4.0 and above only
    static
    - - - - -
    ArgumentTypeDefault
    startDirTQString
    filterTQString
    parent_idWId
    captionTQString
    -

  • -
  • getOpenFileNames (startDir = TQString .null, filter = TQString .null, parent = 0, caption = TQString .null) -
    - -
    returns (TQStringList)
    static
    - - - - -
    ArgumentTypeDefault
    startDirTQStringTQString .null
    filterTQStringTQString .null
    parentTQWidget0
    captionTQStringTQString .null
    -

  • -
  • getOpenURL (startDir = TQString .null, filter = TQString .null, parent = 0, caption = TQString .null) -
    - -
    returns (KURL)
    static
    - - - - -
    ArgumentTypeDefault
    startDirTQStringTQString .null
    filterTQStringTQString .null
    parentTQWidget0
    captionTQStringTQString .null
    -

  • -
  • getOpenURLs (startDir = TQString .null, filter = TQString .null, parent = 0, caption = TQString .null) -
    - -
    returns (KURL.List)
    static
    - - - - -
    ArgumentTypeDefault
    startDirTQStringTQString .null
    filterTQStringTQString .null
    parentTQWidget0
    captionTQStringTQString .null
    -

  • -
  • getSaveFileName (startDir = TQString .null, filter = TQString .null, parent = 0, caption = TQString .null) -
    - -
    returns (TQString)
    static
    - - - - -
    ArgumentTypeDefault
    startDirTQStringTQString .null
    filterTQStringTQString .null
    parentTQWidget0
    captionTQStringTQString .null
    -

  • -
  • getSaveFileNameWId (dir, filter, parent_id, caption) -
    - - -
    returns (TQString)
    In versions KDE 3.4.0 and above only
    static
    - - - - -
    ArgumentTypeDefault
    dirTQString
    filterTQString
    parent_idWId
    captionTQString
    -

  • -
  • getSaveURL (startDir = TQString .null, filter = TQString .null, parent = 0, caption = TQString .null) -
    - -
    returns (KURL)
    static
    - - - - -
    ArgumentTypeDefault
    startDirTQStringTQString .null
    filterTQStringTQString .null
    parentTQWidget0
    captionTQStringTQString .null
    -

  • -
  • getStartURL (startDir, recentDirClass) -
    - - -
    returns (KURL)
    In versions KDE 3.1.0 and above only
    static
    - - -
    ArgumentTypeDefault
    startDirTQString
    recentDirClassTQString
    -

  • -
  • init (startDir, filter, widget) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - - - -
    ArgumentTypeDefault
    startDirTQString
    filterTQString
    widgetTQWidget
    -

  • -
  • initGUI () -
    -
    returns nothing

  • -
  • initSpeedbar () -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only

  • -
  • keepsLocation () -
    -
    returns (bool)

  • -
  • keyPressEvent (e) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    eTQKeyEvent
    -

  • -
  • locationActivated (url) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    urlTQString
    -

  • -
  • mode () -
    -
    returns (KFile.Mode)

  • -
  • multiSelectionChanged () -
    -
    returns nothing

  • -
  • okButton () -
    -
    returns (KPushButton)

  • -
  • operationMode () -
    -
    returns (KFileDialog.OperationMode)

  • -
  • parseSelectedURLs () -
    -
    returns (KURL.List)

  • -
  • pathComboChanged (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0TQString
    -

  • -
  • pathComboIndex () -
    - -
    returns (int)
    In versions KDE 3.1.0 and above only

  • -
  • readConfig (a0, group = TQString .null) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    a0KConfig
    groupTQStringTQString .null
    -

  • -
  • readRecentFiles (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0KConfig
    -

  • -
  • saveRecentFiles (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0KConfig
    -

  • -
  • selectedFile () -
    -
    returns (TQString)

  • -
  • selectedFiles () -
    -
    returns (TQStringList)

  • -
  • selectedURL () -
    -
    returns (KURL)

  • -
  • selectedURLs () -
    -
    returns (KURL.List)

  • -
  • selectionChanged () -
    -
    returns nothing

  • -
  • setFilter (filter) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    filterTQString
    -

  • -
  • setFilterMimeType (label, types, defaultType) -
    -
    returns nothing
    - - - -
    ArgumentTypeDefault
    labelTQString
    typesKMimeType.List
    defaultTypeKMimeType.Ptr
    -

  • -
  • setKeepLocation (keep) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    keepbool
    -

  • -
  • setLocationLabel (text) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    textTQString
    -

  • -
  • setMimeFilter (types, defaultType = TQString .null) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    typesTQStringList
    defaultTypeTQStringTQString .null
    -

  • -
  • setMode (m) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    mKFile.Mode
    -

  • -
  • setMode (m) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    muint
    -

  • -
  • setOperationMode (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0KFileDialog.OperationMode
    -

  • -
  • setPreviewWidget (w) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    wTQWidget
    -

  • -
  • setPreviewWidget (w) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    wKPreviewWidgetBase
    -

  • -
  • setSelection (name) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    nameTQString
    -

  • -
  • setStartDir (directory) -
    - - -
    returns nothing
    In versions KDE 3.2.0 and above only
    static
    - -
    ArgumentTypeDefault
    directoryKURL
    -

  • -
  • setURL (url, clearforward = 1) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    urlKURL
    clearforwardbool1
    -

  • -
  • show () -
    -
    returns nothing

  • -
  • slotAutoSelectExtClicked () -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only

  • -
  • slotCancel () -
    -
    returns nothing

  • -
  • slotFilterChanged () -
    -
    returns nothing

  • -
  • slotLoadingFinished () -
    -
    returns nothing

  • -
  • slotOk () -
    -
    returns nothing

  • -
  • slotStatResult (job) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    jobKIO.Job
    -

  • -
  • speedBar () -
    - -
    returns (KURLBar)
    In versions KDE 3.2.0 and above only

  • -
  • toggleBookmarks (show) -
    - -
    returns nothing
    In versions KDE 3.4.0 and above only
    - -
    ArgumentTypeDefault
    showbool
    -

  • -
  • toggleSpeedbar (a0) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    a0bool
    -

  • -
  • tokenize (line) -
    -
    returns (KURL.List)
    - -
    ArgumentTypeDefault
    lineTQString
    -

  • -
  • toolBar () -
    -
    returns (KToolBar)

  • -
  • toolbarCallback (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0int
    -

  • -
  • updateAutoSelectExtension () -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only

  • -
  • updateStatusLine (dirs, files) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    dirsint
    filesint
    -

  • -
  • urlEntered (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0KURL
    -

  • -
  • writeConfig (a0, group = TQString .null) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    a0KConfig
    groupTQStringTQString .null
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kfile/KFileFilterCombo.html b/python/pykde/doc/classref/kfile/KFileFilterCombo.html deleted file mode 100644 index be9d62c2..00000000 --- a/python/pykde/doc/classref/kfile/KFileFilterCombo.html +++ /dev/null @@ -1,93 +0,0 @@ - - - - - class KFileFilterCombo - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KFileFilterCombo


-
- - - - - -
Table of contents
Modules
kfile Classes
All Classes
-
- - - - - - - - - - -
Modulekfile
ClassKFileFilterCombo
InheritsKComboBox
-

methods

    -
  • KFileFilterCombo (parent = 0, name = 0) -
    -
    returns a KFileFilterCombo instance
    - - -
    ArgumentTypeDefault
    parentTQWidget0
    namechar0
    -

  • -
  • currentFilter () -
    -
    returns (TQString)

  • -
  • defaultFilter () -
    -
    returns (TQString)

  • -
  • eventFilter (o, e) -
    -
    returns (bool)
    - - -
    ArgumentTypeDefault
    oTQObject
    eTQEvent
    -

  • -
  • filterChanged () -
    -
    returns nothing

  • -
  • setCurrentFilter (filter) -
    - -
    returns nothing
    In versions KDE 3.4.0 and above only
    - -
    ArgumentTypeDefault
    filterTQString
    -

  • -
  • setDefaultFilter (filter) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    filterTQString
    -

  • -
  • setFilter (filter) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    filterTQString
    -

  • -
  • setMimeFilter (types, defaultType) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    typesTQStringList
    defaultTypeTQString
    -

  • -
  • showsAllTypes () -
    -
    returns (bool)

  • -
- - - diff --git a/python/pykde/doc/classref/kfile/KFileIconView.html b/python/pykde/doc/classref/kfile/KFileIconView.html deleted file mode 100644 index 64435421..00000000 --- a/python/pykde/doc/classref/kfile/KFileIconView.html +++ /dev/null @@ -1,306 +0,0 @@ - - - - - class KFileIconView - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KFileIconView


-
- - - - - -
Table of contents
Modules
kfile Classes
All Classes
-
- - - - - - - - - - -
Modulekfile
ClassKFileIconView
InheritsKIconView, KFileView
-

methods

    -
  • KFileIconView (parent, name) -
    -
    returns a KFileIconView instance
    - - -
    ArgumentTypeDefault
    parentTQWidget
    namechar
    -

  • -
  • acceptDrag (e) -
    - -
    returns (bool)
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    eTQDropEvent
    -

  • -
  • arrangeItemsInGrid (updated = 1) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    updatedbool1
    -

  • -
  • clearSelection () -
    -
    returns nothing

  • -
  • clearView () -
    -
    returns nothing

  • -
  • contentsDragEnterEvent (e) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    eTQDragEnterEvent
    -

  • -
  • contentsDragLeaveEvent (e) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    eTQDragLeaveEvent
    -

  • -
  • contentsDragMoveEvent (e) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    eTQDragMoveEvent
    -

  • -
  • contentsDropEvent (ev) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    evTQDropEvent
    -

  • -
  • currentFileItem () -
    -
    returns (KFileItem)

  • -
  • determineIcon (item) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    itemKFileIconViewItem
    -

  • -
  • dragObject () -
    - -
    returns (TQDragObject)
    In versions KDE 3.2.0 and above only

  • -
  • dropped (event, fileItem) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - - -
    ArgumentTypeDefault
    eventTQDropEvent
    fileItemKFileItem
    -

  • -
  • dropped (event, urls, url) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - - - -
    ArgumentTypeDefault
    eventTQDropEvent
    urlsKURL.List
    urlKURL
    -

  • -
  • ensureItemVisible (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0KFileItem
    -

  • -
  • eventFilter (o, e) -
    - -
    returns (bool)
    In versions KDE 3.0.1 and above only
    - - -
    ArgumentTypeDefault
    oTQObject
    eTQEvent
    -

  • -
  • firstFileItem () -
    -
    returns (KFileItem)

  • -
  • hideEvent (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0TQHideEvent
    -

  • -
  • iconSize () -
    -
    returns (int)

  • -
  • insertItem (i) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    iKFileItem
    -

  • -
  • invertSelection () -
    -
    returns nothing

  • -
  • isSelected (i) -
    -
    returns (bool)
    - -
    ArgumentTypeDefault
    iKFileItem
    -

  • -
  • keyPressEvent (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0TQKeyEvent
    -

  • -
  • listingCompleted () -
    -
    returns nothing

  • -
  • mimeTypeDeterminationFinished () -
    -
    returns nothing

  • -
  • nextItem (a0) -
    -
    returns (KFileItem)
    - -
    ArgumentTypeDefault
    a0KFileItem
    -

  • -
  • prevItem (a0) -
    -
    returns (KFileItem)
    - -
    ArgumentTypeDefault
    a0KFileItem
    -

  • -
  • readConfig (a0, group = TQString .null) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    a0KConfig
    groupTQStringTQString .null
    -

  • -
  • removeItem (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0KFileItem
    -

  • -
  • scrollWidget () -
    -
    returns (TQScrollView)

  • -
  • selectAll () -
    -
    returns nothing

  • -
  • setAcceptDrops (b) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    bbool
    -

  • -
  • setAutoUpdate (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0bool
    -

  • -
  • setCurrentItem (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0KFileItem
    -

  • -
  • setIconSize (size) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    sizeint
    -

  • -
  • setIgnoreMaximumSize (ignoreSize = 1) -
    - -
    returns nothing
    In versions KDE 3.4.0 and above only
    - -
    ArgumentTypeDefault
    ignoreSizebool1
    -

  • -
  • setPreviewSize (size) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    sizeint
    -

  • -
  • setSelected (a0, a1) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    a0KFileItem
    a1bool
    -

  • -
  • setSelectionMode (sm) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    smKFile.SelectionMode
    -

  • -
  • setSorting (sort) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    sortTQDir.SortSpec
    -

  • -
  • showEvent (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0TQShowEvent
    -

  • -
  • showPreviews () -
    -
    returns nothing

  • -
  • updateView (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0bool
    -

  • -
  • updateView (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0KFileItem
    -

  • -
  • widget () -
    -
    returns (TQWidget)

  • -
  • writeConfig (a0, group = TQString .null) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    a0KConfig
    groupTQStringTQString .null
    -

  • -
  • zoomIn () -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only

  • -
  • zoomOut () -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only

  • -
- - - diff --git a/python/pykde/doc/classref/kfile/KFileIconViewItem.html b/python/pykde/doc/classref/kfile/KFileIconViewItem.html deleted file mode 100644 index ca5f22a6..00000000 --- a/python/pykde/doc/classref/kfile/KFileIconViewItem.html +++ /dev/null @@ -1,61 +0,0 @@ - - - - - class KFileIconViewItem - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KFileIconViewItem


-
- - - - - -
Table of contents
Modules
kfile Classes
All Classes
-
- - - - - - - - - - -
Modulekfile
ClassKFileIconViewItem
InheritsKIconViewItem
-

methods

    -
  • KFileIconViewItem (parent, text, pixmap, fi) -
    -
    returns a KFileIconViewItem instance
    - - - - -
    ArgumentTypeDefault
    parentTQIconView
    textTQString
    pixmapTQPixmap
    fiKFileItem
    -

  • -
  • KFileIconViewItem (parent, fi) -
    - -
    returns a KFileIconViewItem instance
    In versions KDE 3.0.1 and above only
    - - -
    ArgumentTypeDefault
    parentTQIconView
    fiKFileItem
    -

  • -
  • fileInfo () -
    -
    returns (KFileItem)

  • -
- - - diff --git a/python/pykde/doc/classref/kfile/KFileListViewItem.html b/python/pykde/doc/classref/kfile/KFileListViewItem.html deleted file mode 100644 index 0b417b44..00000000 --- a/python/pykde/doc/classref/kfile/KFileListViewItem.html +++ /dev/null @@ -1,91 +0,0 @@ - - - - - class KFileListViewItem - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KFileListViewItem


-
- - - - - -
Table of contents
Modules
kfile Classes
All Classes
-
- - - - - - - - - - -
Modulekfile
ClassKFileListViewItem
InheritsKListViewItem
-

methods

    -
  • KFileListViewItem (parent, text, icon, fi) -
    -
    returns a KFileListViewItem instance
    - - - - -
    ArgumentTypeDefault
    parentTQListView
    textTQString
    iconTQPixmap
    fiKFileItem
    -

  • -
  • KFileListViewItem (parent, fi) -
    - -
    returns a KFileListViewItem instance
    In versions KDE 3.0.1 and above only
    - - -
    ArgumentTypeDefault
    parentTQListView
    fiKFileItem
    -

  • -
  • KFileListViewItem (parent, text, icon, fi, after) -
    -
    returns a KFileListViewItem instance
    - - - - - -
    ArgumentTypeDefault
    parentTQListView
    textTQString
    iconTQPixmap
    fiKFileItem
    afterTQListViewItem
    -

  • -
  • fileInfo () -
    -
    returns (KFileItem)

  • -
  • init () -
    - -
    returns nothing
    In versions KDE 3.0.1 and above only

  • -
  • key (a0, a1) -
    -
    returns (TQString)
    - - -
    ArgumentTypeDefault
    a0int
    a1bool
    -

  • -
  • rect () -
    -
    returns (TQRect)

  • -
  • setKey (key) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    keyTQString
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kfile/KFileOpenWithHandler.html b/python/pykde/doc/classref/kfile/KFileOpenWithHandler.html deleted file mode 100644 index ef4b6f5f..00000000 --- a/python/pykde/doc/classref/kfile/KFileOpenWithHandler.html +++ /dev/null @@ -1,50 +0,0 @@ - - - - - class KFileOpenWithHandler - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KFileOpenWithHandler


-
- - - - - -
Table of contents
Modules
kfile Classes
All Classes
-
- - - - - - - - - - -
Modulekfile
ClassKFileOpenWithHandler
InheritsKOpenWithHandler
-

methods

    -
  • KFileOpenWithHandler () -
    -
    returns a KFileOpenWithHandler instance

  • -
  • displayOpenWithDialog (urls) -
    -
    returns (bool)
    - -
    ArgumentTypeDefault
    urlsKURL.List
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kfile/KFilePermissionsPropsPlugin.html b/python/pykde/doc/classref/kfile/KFilePermissionsPropsPlugin.html deleted file mode 100644 index 75115f3b..00000000 --- a/python/pykde/doc/classref/kfile/KFilePermissionsPropsPlugin.html +++ /dev/null @@ -1,61 +0,0 @@ - - - - - class KFilePermissionsPropsPlugin - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KFilePermissionsPropsPlugin


-
- - - - - -
Table of contents
Modules
kfile Classes
All Classes
-
- - - - - - - - - - -
Modulekfile
ClassKFilePermissionsPropsPlugin
InheritsKPropsDlgPlugin
-

enums

    -
  • PermissionsMode = {PermissionsOnlyFiles, PermissionsOnlyDirs, PermissionsOnlyLinks, PermissionsMixed -}
  • PermissionsTarget = {PermissionsOwner, PermissionsGroup, PermissionsOthers -}
-

methods

    -
  • KFilePermissionsPropsPlugin (_props) -
    -
    returns a KFilePermissionsPropsPlugin instance
    - -
    ArgumentTypeDefault
    _propsKPropertiesDialog
    -

  • -
  • applyChanges () -
    -
    returns nothing

  • -
  • supports (_items) -
    - -
    returns (bool)
    static
    - -
    ArgumentTypeDefault
    _itemsKFileItemList
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kfile/KFilePreview.html b/python/pykde/doc/classref/kfile/KFilePreview.html deleted file mode 100644 index 62610dc0..00000000 --- a/python/pykde/doc/classref/kfile/KFilePreview.html +++ /dev/null @@ -1,206 +0,0 @@ - - - - - class KFilePreview - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KFilePreview


-
- - - - - -
Table of contents
Modules
kfile Classes
All Classes
-
- - - - - - - - - - -
Modulekfile
ClassKFilePreview
InheritsTQSplitter, KFileView
-

methods

    -
  • KFilePreview (parent, name) -
    -
    returns a KFilePreview instance
    - - -
    ArgumentTypeDefault
    parentTQWidget
    namechar
    -

  • -
  • KFilePreview (view, parent, name) -
    -
    returns a KFilePreview instance
    - - - -
    ArgumentTypeDefault
    viewKFileView
    parentTQWidget
    namechar
    -

  • -
  • actionCollection () -
    -
    returns (KActionCollection)

  • -
  • clear () -
    -
    returns nothing

  • -
  • clearPreview () -
    -
    returns nothing

  • -
  • clearSelection () -
    -
    returns nothing

  • -
  • clearView () -
    -
    returns nothing

  • -
  • currentFileItem () -
    -
    returns (KFileItem)

  • -
  • ensureItemVisible (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0KFileItem
    -

  • -
  • fileView () -
    -
    returns (KFileView)

  • -
  • firstFileItem () -
    -
    returns (KFileItem)

  • -
  • insertItem (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0KFileItem
    -

  • -
  • invertSelection () -
    -
    returns nothing

  • -
  • isSelected (a0) -
    -
    returns (bool)
    - -
    ArgumentTypeDefault
    a0KFileItem
    -

  • -
  • listingCompleted () -
    -
    returns nothing

  • -
  • nextItem (a0) -
    -
    returns (KFileItem)
    - -
    ArgumentTypeDefault
    a0KFileItem
    -

  • -
  • prevItem (a0) -
    -
    returns (KFileItem)
    - -
    ArgumentTypeDefault
    a0KFileItem
    -

  • -
  • readConfig (a0, group = TQString .null) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - - -
    ArgumentTypeDefault
    a0KConfig
    groupTQStringTQString .null
    -

  • -
  • removeItem (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0KFileItem
    -

  • -
  • selectAll () -
    -
    returns nothing

  • -
  • setCurrentItem (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0KFileItem
    -

  • -
  • setFileView (view) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    viewKFileView
    -

  • -
  • setPreviewWidget (w, u) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    wTQWidget
    uKURL
    -

  • -
  • setSelected (a0, a1) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    a0KFileItem
    a1bool
    -

  • -
  • setSelectionMode (sm) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    smKFile.SelectionMode
    -

  • -
  • setSorting (sort) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    sortTQDir.SortSpec
    -

  • -
  • showPreview (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0KURL
    -

  • -
  • slotHighlighted (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0KFileItem
    -

  • -
  • updateView (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0bool
    -

  • -
  • updateView (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0KFileItem
    -

  • -
  • widget () -
    -
    returns (TQWidget)

  • -
  • writeConfig (a0, group = TQString .null) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - - -
    ArgumentTypeDefault
    a0KConfig
    groupTQStringTQString .null
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kfile/KFilePropsPlugin.html b/python/pykde/doc/classref/kfile/KFilePropsPlugin.html deleted file mode 100644 index 6648553e..00000000 --- a/python/pykde/doc/classref/kfile/KFilePropsPlugin.html +++ /dev/null @@ -1,110 +0,0 @@ - - - - - class KFilePropsPlugin - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KFilePropsPlugin


-
- - - - - -
Table of contents
Modules
kfile Classes
All Classes
-
- - - - - - - - - - -
Modulekfile
ClassKFilePropsPlugin
InheritsKPropsDlgPlugin
-

methods

    -
  • KFilePropsPlugin (_props) -
    -
    returns a KFilePropsPlugin instance
    - -
    ArgumentTypeDefault
    _propsKPropertiesDialog
    -

  • -
  • applyChanges () -
    -
    returns nothing

  • -
  • postApplyChanges () -
    -
    returns nothing

  • -
  • setFileNameReadOnly (ro) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    robool
    -

  • -
  • slotCopyFinished (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0KIO.Job
    -

  • -
  • slotDirSizeFinished (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0KIO.Job
    -

  • -
  • slotDirSizeUpdate () -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only

  • -
  • slotEditFileType () -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only

  • -
  • slotFileRenamed (a0, a1, a2) -
    -
    returns nothing
    - - - -
    ArgumentTypeDefault
    a0KIO.Job
    a1KURL
    a2KURL
    -

  • -
  • slotFoundMountPoint (mp, kBSize, kBUsed, kBAvail) -
    -
    returns nothing
    - - - - -
    ArgumentTypeDefault
    mpTQString
    kBSizeulong
    kBUsedulong
    kBAvailulong
    -

  • -
  • slotSizeDetermine () -
    -
    returns nothing

  • -
  • slotSizeStop () -
    -
    returns nothing

  • -
  • supports (_items) -
    - -
    returns (bool)
    static
    - -
    ArgumentTypeDefault
    _itemsKFileItemList
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kfile/KFileSharePropsPlugin.html b/python/pykde/doc/classref/kfile/KFileSharePropsPlugin.html deleted file mode 100644 index 27812233..00000000 --- a/python/pykde/doc/classref/kfile/KFileSharePropsPlugin.html +++ /dev/null @@ -1,72 +0,0 @@ - - - - - class KFileSharePropsPlugin - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KFileSharePropsPlugin


-
- - - - - -
Table of contents
Modules
kfile Classes
All Classes
-
- - - - - - - - - - -
Modulekfile
ClassKFileSharePropsPlugin
InheritsKPropsDlgPlugin
-

methods

    -
  • KFileSharePropsPlugin (_props) -
    - -
    returns a KFileSharePropsPlugin instance
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    _propsKPropertiesDialog
    -

  • -
  • applyChanges () -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only

  • -
  • page () -
    - -
    returns (TQWidget)
    In versions KDE 3.1.0 and above only

  • -
  • slotConfigureFileSharing () -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only

  • -
  • slotConfigureFileSharingDone () -
    - -
    returns nothing
    In versions KDE 3.4.0 and above only

  • -
  • supports (items) -
    - - -
    returns (bool)
    In versions KDE 3.1.0 and above only
    static
    - -
    ArgumentTypeDefault
    itemsKFileItemList
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kfile/KFileTreeBranch.html b/python/pykde/doc/classref/kfile/KFileTreeBranch.html deleted file mode 100644 index eaccd00b..00000000 --- a/python/pykde/doc/classref/kfile/KFileTreeBranch.html +++ /dev/null @@ -1,157 +0,0 @@ - - - - - class KFileTreeBranch - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KFileTreeBranch


-
- - - - - -
Table of contents
Modules
kfile Classes
All Classes
-
- - - - - - - - - - -
Modulekfile
ClassKFileTreeBranch
InheritsKDirLister
-

methods

    -
  • KFileTreeBranch (a0, url, name, pix, showHidden = 0, branchRoot = 0) -
    -
    returns a KFileTreeBranch instance
    - - - - - - -
    ArgumentTypeDefault
    a0KFileTreeView
    urlKURL
    nameTQString
    pixTQPixmap
    showHiddenbool0
    branchRootKFileTreeViewItem0
    -

  • -
  • childRecurse () -
    -
    returns (bool)

  • -
  • createTreeViewItem (parent, fileItem) -
    -
    returns (KFileTreeViewItem)
    - - -
    ArgumentTypeDefault
    parentKFileTreeViewItem
    fileItemKFileItem
    -

  • -
  • directoryChildCount (item, count) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    itemKFileTreeViewItem
    countint
    -

  • -
  • findTVIByURL (a0) -
    - -
    returns (KFileTreeViewItem)
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    a0KURL
    -

  • -
  • findTVIByURL (a0) -
    - -
    returns (KFileTreeViewItem)
    In versions less than KDE 3.1.0 only
    - -
    ArgumentTypeDefault
    a0KURL
    -

  • -
  • name () -
    -
    returns (TQString)

  • -
  • newTreeViewItems (a0, a1) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    a0KFileTreeBranch
    a1KFileTreeViewItemList
    -

  • -
  • openPixmap () -
    -
    returns (TQPixmap)

  • -
  • pixmap () -
    -
    returns (TQPixmap)

  • -
  • populate (url, currItem) -
    -
    returns (bool)
    - - -
    ArgumentTypeDefault
    urlKURL
    currItemKFileTreeViewItem
    -

  • -
  • populateFinished (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0KFileTreeViewItem
    -

  • -
  • root () -
    -
    returns (KFileTreeViewItem)

  • -
  • rootUrl () -
    -
    returns (KURL)

  • -
  • setChildRecurse (t = 1) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    tbool1
    -

  • -
  • setName (n) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    nTQString
    -

  • -
  • setOpen (setopen = 1) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    setopenbool1
    -

  • -
  • setOpenPixmap (pix) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    pixTQPixmap
    -

  • -
  • setRoot (r) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    rKFileTreeViewItem
    -

  • -
  • setShowExtensions (visible = 1) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    visiblebool1
    -

  • -
  • showExtensions () -
    -
    returns (bool)

  • -
- - - diff --git a/python/pykde/doc/classref/kfile/KFileTreeView.html b/python/pykde/doc/classref/kfile/KFileTreeView.html deleted file mode 100644 index 5cb4afa4..00000000 --- a/python/pykde/doc/classref/kfile/KFileTreeView.html +++ /dev/null @@ -1,265 +0,0 @@ - - - - - class KFileTreeView - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KFileTreeView


-
- - - - - -
Table of contents
Modules
kfile Classes
All Classes
-
- - - - - - - - - - -
Modulekfile
ClassKFileTreeView
InheritsKListView
-

methods

    -
  • KFileTreeView (parent, name = 0) -
    -
    returns a KFileTreeView instance
    - - -
    ArgumentTypeDefault
    parentTQWidget
    namechar0
    -

  • -
  • acceptDrag (event) -
    -
    returns (bool)
    - -
    ArgumentTypeDefault
    eventTQDropEvent
    -

  • -
  • addBranch (path, name, showHidden = 0) -
    -
    returns (KFileTreeBranch)
    - - - -
    ArgumentTypeDefault
    pathKURL
    nameTQString
    showHiddenbool0
    -

  • -
  • addBranch (path, name, pix, showHidden = 0) -
    -
    returns (KFileTreeBranch)
    - - - - -
    ArgumentTypeDefault
    pathKURL
    nameTQString
    pixTQPixmap
    showHiddenbool0
    -

  • -
  • addBranch (a0) -
    -
    returns (KFileTreeBranch)
    - -
    ArgumentTypeDefault
    a0KFileTreeBranch
    -

  • -
  • branch (searchName) -
    -
    returns (KFileTreeBranch)
    - -
    ArgumentTypeDefault
    searchNameTQString
    -

  • -
  • branches () -
    -
    returns (KFileTreeBranchList)

  • -
  • contentsDragEnterEvent (e) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    eTQDragEnterEvent
    -

  • -
  • contentsDragLeaveEvent (e) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    eTQDragLeaveEvent
    -

  • -
  • contentsDragMoveEvent (e) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    eTQDragMoveEvent
    -

  • -
  • contentsDropEvent (ev) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    evTQDropEvent
    -

  • -
  • currentKFileTreeViewItem () -
    -
    returns (KFileTreeViewItem)

  • -
  • currentURL () -
    -
    returns (KURL)

  • -
  • dragObject () -
    -
    returns (TQDragObject)

  • -
  • dropped (a0, a1) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    a0TQWidget
    a1TQDropEvent
    -

  • -
  • dropped (a0, a1, a2) -
    -
    returns nothing
    - - - -
    ArgumentTypeDefault
    a0TQWidget
    a1TQDropEvent
    a2KURL.List
    -

  • -
  • dropped (a0, a1) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    a0KURL.List
    a1KURL
    -

  • -
  • dropped (a0, a1, a2, a3) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - - - - -
    ArgumentTypeDefault
    a0TQWidget
    a1TQDropEvent
    a2KURL.List
    a3KURL
    -

  • -
  • dropped (a0, a1) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    a0TQDropEvent
    a1TQListViewItem
    -

  • -
  • dropped (a0, a1, a2) -
    -
    returns nothing
    - - - -
    ArgumentTypeDefault
    a0KFileTreeView
    a1TQDropEvent
    a2TQListViewItem
    -

  • -
  • dropped (a0, a1, a2) -
    -
    returns nothing
    - - - -
    ArgumentTypeDefault
    a0TQDropEvent
    a1TQListViewItem
    a2TQListViewItem
    -

  • -
  • dropped (a0, a1, a2, a3) -
    -
    returns nothing
    - - - - -
    ArgumentTypeDefault
    a0KFileTreeView
    a1TQDropEvent
    a2TQListViewItem
    a3TQListViewItem
    -

  • -
  • findItem (brnch, relUrl) -
    -
    returns (KFileTreeViewItem)
    - - -
    ArgumentTypeDefault
    brnchKFileTreeBranch
    relUrlTQString
    -

  • -
  • findItem (branchName, relUrl) -
    -
    returns (KFileTreeViewItem)
    - - -
    ArgumentTypeDefault
    branchNameTQString
    relUrlTQString
    -

  • -
  • itemIcon (a0, gap = 0) -
    -
    returns (TQPixmap)
    - - -
    ArgumentTypeDefault
    a0KFileTreeViewItem
    gapint0
    -

  • -
  • onItem (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0TQString
    -

  • -
  • removeBranch (branch) -
    -
    returns (bool)
    - -
    ArgumentTypeDefault
    branchKFileTreeBranch
    -

  • -
  • setDirOnlyMode (branch, a0) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    branchKFileTreeBranch
    a0bool
    -

  • -
  • setShowFolderOpenPixmap (showIt = 1) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    showItbool1
    -

  • -
  • showFolderOpenPixmap () -
    -
    returns (bool)

  • -
  • slotNewTreeViewItems (a0, a1) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    a0KFileTreeBranch
    a1KFileTreeViewItemList
    -

  • -
  • slotOnItem (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0TQListViewItem
    -

  • -
  • slotSetNextUrlToSelect (url) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    urlKURL
    -

  • -
  • startAnimation (item, iconBaseName = "kde", iconCount = 6) -
    -
    returns nothing
    - - - -
    ArgumentTypeDefault
    itemKFileTreeViewItem
    iconBaseNamechar"kde"
    iconCountuint6
    -

  • -
  • stopAnimation (item) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    itemKFileTreeViewItem
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kfile/KFileTreeViewItem.html b/python/pykde/doc/classref/kfile/KFileTreeViewItem.html deleted file mode 100644 index 021e7ba9..00000000 --- a/python/pykde/doc/classref/kfile/KFileTreeViewItem.html +++ /dev/null @@ -1,81 +0,0 @@ - - - - - class KFileTreeViewItem - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KFileTreeViewItem


-
- - - - - -
Table of contents
Modules
kfile Classes
All Classes
-
- - - - - - - - - - -
Modulekfile
ClassKFileTreeViewItem
InheritsKListViewItem
-

methods

    -
  • KFileTreeViewItem (a0, a1, a2) -
    -
    returns a KFileTreeViewItem instance
    - - - -
    ArgumentTypeDefault
    a0KFileTreeViewItem
    a1KFileItem
    a2KFileTreeBranch
    -

  • -
  • KFileTreeViewItem (a0, a1, a2) -
    -
    returns a KFileTreeViewItem instance
    - - - -
    ArgumentTypeDefault
    a0KFileTreeView
    a1KFileItem
    a2KFileTreeBranch
    -

  • -
  • alreadyListed () -
    -
    returns (bool)

  • -
  • branch () -
    -
    returns (KFileTreeBranch)

  • -
  • fileItem () -
    -
    returns (KFileItem)

  • -
  • isDir () -
    -
    returns (bool)

  • -
  • path () -
    -
    returns (TQString)

  • -
  • setListed (wasListed) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    wasListedbool
    -

  • -
  • url () -
    -
    returns (KURL)

  • -
- - - diff --git a/python/pykde/doc/classref/kfile/KFileTreeViewToolTip.html b/python/pykde/doc/classref/kfile/KFileTreeViewToolTip.html deleted file mode 100644 index 94957de9..00000000 --- a/python/pykde/doc/classref/kfile/KFileTreeViewToolTip.html +++ /dev/null @@ -1,53 +0,0 @@ - - - - - class KFileTreeViewToolTip - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KFileTreeViewToolTip


-
- - - - - -
Table of contents
Modules
kfile Classes
All Classes
-
- - - - - - - - - - -
Modulekfile
ClassKFileTreeViewToolTip
InheritsTQToolTip
-

methods

    -
  • KFileTreeViewToolTip (view) -
    -
    returns a KFileTreeViewToolTip instance
    - -
    ArgumentTypeDefault
    viewTQListView
    -

  • -
  • maybeTip (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0TQPoint
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kfile/KFileView.html b/python/pykde/doc/classref/kfile/KFileView.html deleted file mode 100644 index 28708d7f..00000000 --- a/python/pykde/doc/classref/kfile/KFileView.html +++ /dev/null @@ -1,301 +0,0 @@ - - - - - class KFileView - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KFileView


-
- - - - - -
Table of contents
Modules
kfile Classes
All Classes
-
- - - - - - - - - - -
Modulekfile
ClassKFileView (abstract)
Inherits
-

enums

    -
  • DropOptions = {AutoOpenDirs -}
  • ViewMode = {Files, Directories, All -}
-

methods

    -
  • KFileView () -
    -
    returns a KFileView instance

  • -
  • actionCollection () -
    -
    returns (KActionCollection)

  • -
  • addItemList (list) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    listKFileItemList
    -

  • -
  • autoOpenDelay () -
    - - -
    returns (int)
    In versions KDE 3.2.0 and above only
    static

  • -
  • clear () -
    -
    returns nothing

  • -
  • clearSelection () = 0 -
    - -
    returns nothing
    pure virtual

  • -
  • clearView () = 0 -
    - -
    returns nothing
    pure virtual

  • -
  • count () -
    -
    returns (uint)

  • -
  • currentFileItem () = 0 -
    - -
    returns (KFileItem)
    pure virtual

  • -
  • dropOptions () -
    - -
    returns (int)
    In versions KDE 3.2.0 and above only

  • -
  • ensureItemVisible (i) = 0 -
    - -
    returns nothing
    pure virtual
    - -
    ArgumentTypeDefault
    iKFileItem
    -

  • -
  • firstFileItem () = 0 -
    - -
    returns (KFileItem)
    pure virtual

  • -
  • insertItem (i) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    iKFileItem
    -

  • -
  • invertSelection () -
    -
    returns nothing

  • -
  • isReversed () -
    -
    returns (bool)

  • -
  • isSelected (a0) = 0 -
    - -
    returns (bool)
    pure virtual
    - -
    ArgumentTypeDefault
    a0KFileItem
    -

  • -
  • items () -
    -
    returns (KFileItemList)

  • -
  • listingCompleted () -
    -
    returns nothing

  • -
  • nextItem (a0) = 0 -
    - -
    returns (KFileItem)
    pure virtual
    - -
    ArgumentTypeDefault
    a0KFileItem
    -

  • -
  • numDirs () -
    -
    returns (uint)

  • -
  • numFiles () -
    -
    returns (uint)

  • -
  • onlyDoubleClickSelectsFiles () -
    -
    returns (bool)

  • -
  • prevItem (a0) = 0 -
    - -
    returns (KFileItem)
    pure virtual
    - -
    ArgumentTypeDefault
    a0KFileItem
    -

  • -
  • readConfig (a0, group = TQString .null) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    a0KConfig
    groupTQStringTQString .null
    -

  • -
  • removeItem (item) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    itemKFileItem
    -

  • -
  • selectAll () -
    -
    returns nothing

  • -
  • selectedItems () -
    -
    returns (KFileItemList)

  • -
  • selectionMode () -
    -
    returns (KFile.SelectionMode)

  • -
  • setCurrentItem (filename) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    filenameTQString
    -

  • -
  • setCurrentItem (item) = 0 -
    - -
    returns nothing
    pure virtual
    - -
    ArgumentTypeDefault
    itemKFileItem
    -

  • -
  • setDropOptions (options) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    optionsint
    -

  • -
  • setDropOptions_impl (options) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    optionsint
    -

  • -
  • setOnlyDoubleClickSelectsFiles (enable) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    enablebool
    -

  • -
  • setParentView (parent) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    parentKFileView
    -

  • -
  • setSelected (a0, enable) = 0 -
    - -
    returns nothing
    pure virtual
    - - -
    ArgumentTypeDefault
    a0KFileItem
    enablebool
    -

  • -
  • setSelectionMode (sm) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    smKFile.SelectionMode
    -

  • -
  • setSorting (sort) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    sortTQDir.SortSpec
    -

  • -
  • setViewMode (vm) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    vmKFileView.ViewMode
    -

  • -
  • setViewName (name) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    nameTQString
    -

  • -
  • signaler () -
    -
    returns (KFileViewSignaler)

  • -
  • sortReversed () -
    -
    returns nothing

  • -
  • sorting () -
    -
    returns (TQDir.SortSpec)

  • -
  • sortingKey (value, isDir, sortSpec) -
    - -
    returns (TQString)
    static
    - - - -
    ArgumentTypeDefault
    valueTQString
    isDirbool
    sortSpecint
    -

  • -
  • sortingKey (value, isDir, sortSpec) -
    - -
    returns (TQString)
    static
    - - - -
    ArgumentTypeDefault
    valueKIO.filesize_t
    isDirbool
    sortSpecint
    -

  • -
  • updateNumbers (i) -
    -
    returns (bool)
    - -
    ArgumentTypeDefault
    iKFileItem
    -

  • -
  • updateView (f = 1) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    fbool1
    -

  • -
  • updateView (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0KFileItem
    -

  • -
  • viewMode () -
    -
    returns (ViewMode)

  • -
  • viewName () -
    -
    returns (TQString)

  • -
  • widget () = 0 -
    - -
    returns (TQWidget)
    pure virtual

  • -
  • widget () -
    Not Implemented
    -

  • -
  • writeConfig (a0, group = TQString .null) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    a0KConfig
    groupTQStringTQString .null
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kfile/KFileViewSignaler.html b/python/pykde/doc/classref/kfile/KFileViewSignaler.html deleted file mode 100644 index e1188f47..00000000 --- a/python/pykde/doc/classref/kfile/KFileViewSignaler.html +++ /dev/null @@ -1,115 +0,0 @@ - - - - - class KFileViewSignaler - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KFileViewSignaler


-
- - - - - -
Table of contents
Modules
kfile Classes
All Classes
-
- - - - - - - - - - -
Modulekfile
ClassKFileViewSignaler
InheritsTQObject
-

methods

    -
  • activate (item) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    itemKFileItem
    -

  • -
  • activateMenu (i, pos) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    iKFileItem
    posTQPoint
    -

  • -
  • activatedMenu (i, a0) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    iKFileItem
    a0TQPoint
    -

  • -
  • changeSorting (sorting) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    sortingTQDir.SortSpec
    -

  • -
  • dirActivated (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0KFileItem
    -

  • -
  • dropURLs (i, e, urls) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - - - -
    ArgumentTypeDefault
    iKFileItem
    eTQDropEvent
    urlsKURL.List
    -

  • -
  • dropped (a0, a1, a2) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - - - -
    ArgumentTypeDefault
    a0KFileItem
    a1TQDropEvent
    a2KURL.List
    -

  • -
  • fileHighlighted (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0KFileItem
    -

  • -
  • fileSelected (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0KFileItem
    -

  • -
  • highlightFile (i) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    iKFileItem
    -

  • -
  • sortingChanged (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0TQDir.SortSpec
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kfile/KIconButton.html b/python/pykde/doc/classref/kfile/KIconButton.html deleted file mode 100644 index 79cca198..00000000 --- a/python/pykde/doc/classref/kfile/KIconButton.html +++ /dev/null @@ -1,97 +0,0 @@ - - - - - class KIconButton - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KIconButton


-
- - - - - -
Table of contents
Modules
kfile Classes
All Classes
-
- - - - - - - - - - -
Modulekfile
ClassKIconButton
InheritsTQPushButton
-

methods

    -
  • KIconButton (parent = 0, name = 0) -
    -
    returns a KIconButton instance
    - - -
    ArgumentTypeDefault
    parentTQWidget0
    namechar0
    -

  • -
  • KIconButton (loader, parent, name = 0) -
    -
    returns a KIconButton instance
    - - - -
    ArgumentTypeDefault
    loaderKIconLoader
    parentTQWidget
    namechar0
    -

  • -
  • icon () -
    -
    returns (TQString)

  • -
  • iconChanged (icon) -
    Not Implemented
    -

  • -
  • iconSize () -
    -
    returns (int)

  • -
  • resetIcon () -
    -
    returns nothing

  • -
  • setIcon (icon) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    iconTQString
    -

  • -
  • setIconSize (size) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    sizeint
    -

  • -
  • setIconType (group, context, user = 0) -
    -
    returns nothing
    - - - -
    ArgumentTypeDefault
    groupKIcon.Group
    contextKIcon.Context
    userbool0
    -

  • -
  • setStrictIconSize (b) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    bbool
    -

  • -
  • strictIconSize () -
    -
    returns (bool)

  • -
- - - diff --git a/python/pykde/doc/classref/kfile/KIconCanvas.html b/python/pykde/doc/classref/kfile/KIconCanvas.html deleted file mode 100644 index 9113e026..00000000 --- a/python/pykde/doc/classref/kfile/KIconCanvas.html +++ /dev/null @@ -1,78 +0,0 @@ - - - - - class KIconCanvas - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KIconCanvas


-
- - - - - -
Table of contents
Modules
kfile Classes
All Classes
-
- - - - - - - - - - -
Modulekfile
ClassKIconCanvas
InheritsKIconView
-

methods

    -
  • KIconCanvas (parent = 0, name = 0) -
    -
    returns a KIconCanvas instance
    - - -
    ArgumentTypeDefault
    parentTQWidget0
    namechar0
    -

  • -
  • finished () -
    -
    returns nothing

  • -
  • getCurrent () -
    -
    returns (TQString)

  • -
  • loadFiles (files) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    filesTQStringList
    -

  • -
  • nameChanged (a0) -
    Not Implemented
    -

  • -
  • progress (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0int
    -

  • -
  • startLoading (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0int
    -

  • -
  • stopLoading () -
    -
    returns nothing

  • -
- - - diff --git a/python/pykde/doc/classref/kfile/KIconDialog.html b/python/pykde/doc/classref/kfile/KIconDialog.html deleted file mode 100644 index 6efece43..00000000 --- a/python/pykde/doc/classref/kfile/KIconDialog.html +++ /dev/null @@ -1,143 +0,0 @@ - - - - - class KIconDialog - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KIconDialog


-
- - - - - -
Table of contents
Modules
kfile Classes
All Classes
-
- - - - - - - - - - -
Modulekfile
ClassKIconDialog
InheritsKDialogBase
-

methods

    -
  • KIconDialog (parent = 0, name = 0) -
    -
    returns a KIconDialog instance
    - - -
    ArgumentTypeDefault
    parentTQWidget0
    namechar0
    -

  • -
  • KIconDialog (loader, parent = 0, name = 0) -
    -
    returns a KIconDialog instance
    - - - -
    ArgumentTypeDefault
    loaderKIconLoader
    parentTQWidget0
    namechar0
    -

  • -
  • getIcon (group = KIcon .Desktop, context = KIcon .Application, strictIconSize = 0, iconSize = 0, user = 0, parent = 0, caption = TQString .null) -
    - -
    returns (TQString)
    static
    - - - - - - - -
    ArgumentTypeDefault
    groupKIcon.GroupKIcon .Desktop
    contextKIcon.ContextKIcon .Application
    strictIconSizebool0
    iconSizeint0
    userbool0
    parentTQWidget0
    captionTQStringTQString .null
    -

  • -
  • iconSize () -
    -
    returns (int)

  • -
  • newIconName (a0) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    a0TQString
    -

  • -
  • openDialog () -
    -
    returns (TQString)

  • -
  • selectIcon (group = KIcon .Desktop, context = KIcon .Application, user = 0) -
    -
    returns (TQString)
    - - - -
    ArgumentTypeDefault
    groupKIcon.GroupKIcon .Desktop
    contextKIcon.ContextKIcon .Application
    userbool0
    -

  • -
  • setCustomLocation (location) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    locationTQString
    -

  • -
  • setIconSize (size) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    sizeint
    -

  • -
  • setStrictIconSize (b) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    bbool
    -

  • -
  • setup (group, context = KIcon .Application, strictIconSize = 0, iconSize = 0, user = 0) -
    -
    returns nothing
    - - - - - -
    ArgumentTypeDefault
    groupKIcon.Group
    contextKIcon.ContextKIcon .Application
    strictIconSizebool0
    iconSizeint0
    userbool0
    -

  • -
  • setup (group, context, strictIconSize, iconSize, user, lockUser, lockCustomDir) -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only
    - - - - - - - -
    ArgumentTypeDefault
    groupKIcon.Group
    contextKIcon.Context
    strictIconSizebool
    iconSizeint
    userbool
    lockUserbool
    lockCustomDirbool
    -

  • -
  • showDialog () -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only

  • -
  • slotOk () -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only

  • -
  • strictIconSize () -
    -
    returns (bool)

  • -
- - - diff --git a/python/pykde/doc/classref/kfile/KImageFilePreview.html b/python/pykde/doc/classref/kfile/KImageFilePreview.html deleted file mode 100644 index 3a768d98..00000000 --- a/python/pykde/doc/classref/kfile/KImageFilePreview.html +++ /dev/null @@ -1,96 +0,0 @@ - - - - - class KImageFilePreview - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KImageFilePreview


-
- - - - - -
Table of contents
Modules
kfile Classes
All Classes
-
- - - - - - - - - - -
Modulekfile
ClassKImageFilePreview
InheritsKPreviewWidgetBase
-

methods

    -
  • KImageFilePreview (parent) -
    -
    returns a KImageFilePreview instance
    - -
    ArgumentTypeDefault
    parentTQWidget
    -

  • -
  • clearPreview () -
    -
    returns nothing

  • -
  • createJob (url, w, h) -
    -
    returns (KIO.PreviewJob)
    - - - -
    ArgumentTypeDefault
    urlKURL
    wint
    hint
    -

  • -
  • gotPreview (a0, a1) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    a0KFileItem
    a1TQPixmap
    -

  • -
  • resizeEvent (e) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    eTQResizeEvent
    -

  • -
  • showPreview (url) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    urlKURL
    -

  • -
  • showPreview () -
    -
    returns nothing

  • -
  • showPreview (url, force) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    urlKURL
    forcebool
    -

  • -
  • sizeHint () -
    -
    returns (TQSize)

  • -
  • toggleAuto (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0bool
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kfile/KNotify.Application.html b/python/pykde/doc/classref/kfile/KNotify.Application.html deleted file mode 100644 index bcc2774a..00000000 --- a/python/pykde/doc/classref/kfile/KNotify.Application.html +++ /dev/null @@ -1,75 +0,0 @@ - - - - - class KNotify.Application - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KNotify.Application


-
- - - - - -
Table of contents
Modules
kfile Classes
All Classes
-
- - - - - - - - - - -
Modulekfile
ClassKNotify.Application
Inherits
-

methods

    -
  • Application (path) -
    - -
    returns a Application instance
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    pathTQString
    -

  • -
  • appName () -
    - -
    returns (TQString)
    In versions KDE 3.1.0 and above only

  • -
  • eventList () -
    - -
    returns (KNotify.EventList)
    In versions KDE 3.1.0 and above only

  • -
  • icon () -
    - -
    returns (TQString)
    In versions KDE 3.1.0 and above only

  • -
  • reloadEvents (revertToDefaults = 0) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    revertToDefaultsbool0
    -

  • -
  • save () -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only

  • -
  • text () -
    - -
    returns (TQString)
    In versions KDE 3.1.0 and above only

  • -
- - - diff --git a/python/pykde/doc/classref/kfile/KNotify.ApplicationList.html b/python/pykde/doc/classref/kfile/KNotify.ApplicationList.html deleted file mode 100644 index 6d635093..00000000 --- a/python/pykde/doc/classref/kfile/KNotify.ApplicationList.html +++ /dev/null @@ -1,39 +0,0 @@ - - - - - class KNotify.ApplicationList - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KNotify.ApplicationList


-
- - - - - -
Table of contents
Modules
kfile Classes
All Classes
-
- - - - - - - - - - -
Modulekfile
ClassKNotify.ApplicationList
Inherits
- - - diff --git a/python/pykde/doc/classref/kfile/KNotify.Event.html b/python/pykde/doc/classref/kfile/KNotify.Event.html deleted file mode 100644 index 785ba6f6..00000000 --- a/python/pykde/doc/classref/kfile/KNotify.Event.html +++ /dev/null @@ -1,64 +0,0 @@ - - - - - class KNotify.Event - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KNotify.Event


-
- - - - - -
Table of contents
Modules
kfile Classes
All Classes
-
- - - - - - - - - - -
Modulekfile
ClassKNotify.Event
Inherits
-

methods

    -
  • Event (app) -
    - -
    returns a Event instance
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    appKNotify.Application
    -

  • -
  • application () -
    - -
    returns (KNotify.Application)
    In versions KDE 3.1.0 and above only

  • -
  • text () -
    - -
    returns (TQString)
    In versions KDE 3.1.0 and above only

  • -
-

variables

  • -variables - - - - - -
    VariableType
    commandlineTQString
    dontShowint
    logfileTQString
    presentationint
    soundfileTQString
- - - diff --git a/python/pykde/doc/classref/kfile/KNotify.KNotifyWidget.html b/python/pykde/doc/classref/kfile/KNotify.KNotifyWidget.html deleted file mode 100644 index 8f41f252..00000000 --- a/python/pykde/doc/classref/kfile/KNotify.KNotifyWidget.html +++ /dev/null @@ -1,150 +0,0 @@ - - - - - class KNotify.KNotifyWidget - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KNotify.KNotifyWidget


-
- - - - - -
Table of contents
Modules
kfile Classes
All Classes
-
- - - - - - - - - - -
Modulekfile
ClassKNotify.KNotifyWidget
InheritsKNotifyWidgetBase
-

methods

    -
  • KNotifyWidget (a0 = 0, a1 = 0, a2 = 0) -
    - -
    returns a KNotifyWidget instance
    In versions less than KDE 3.2.0 only
    - - - -
    ArgumentTypeDefault
    a0TQWidget0
    a1char0
    a2bool0
    -

  • -
  • addApplicationEvents (a0) -
    - -
    returns (KNotify.Application)
    In versions less than KDE 3.2.0 only
    - -
    ArgumentTypeDefault
    a0TQString
    -

  • -
  • addVisibleApp (a0) -
    - -
    returns nothing
    In versions less than KDE 3.2.0 only
    - -
    ArgumentTypeDefault
    a0KNotify.Application
    -

  • -
  • allApps () -
    - -
    returns (a Python list of KNotify.Application),
    In versions less than KDE 3.2.0 only

  • -
  • changed (a0) -
    - -
    returns nothing
    In versions less than KDE 3.2.0 only
    - -
    ArgumentTypeDefault
    a0bool
    -

  • -
  • clear () -
    - -
    returns nothing
    In versions less than KDE 3.2.0 only

  • -
  • clearVisible () -
    - -
    returns nothing
    In versions less than KDE 3.2.0 only

  • -
  • currentEvent () -
    - -
    returns (KNotify.Event)
    In versions less than KDE 3.2.0 only

  • -
  • enableAll (a0, a1) -
    - -
    returns nothing
    In versions less than KDE 3.2.0 only
    - - -
    ArgumentTypeDefault
    a0int
    a1bool
    -

  • -
  • eventsView () -
    - -
    returns (KListView)
    In versions less than KDE 3.2.0 only

  • -
  • playSound () -
    - -
    returns nothing
    In versions less than KDE 3.2.0 only

  • -
  • reload (a0 = 0) -
    - -
    returns nothing
    In versions less than KDE 3.2.0 only
    - -
    ArgumentTypeDefault
    a0bool0
    -

  • -
  • resetDefaults (a0) -
    - -
    returns nothing
    In versions less than KDE 3.2.0 only
    - -
    ArgumentTypeDefault
    a0bool
    -

  • -
  • save () -
    - -
    returns nothing
    In versions less than KDE 3.2.0 only

  • -
  • showAdvanced (a0) -
    - -
    returns nothing
    In versions less than KDE 3.2.0 only
    - -
    ArgumentTypeDefault
    a0bool
    -

  • -
  • showEvent (a0) -
    - -
    returns nothing
    In versions less than KDE 3.2.0 only
    - -
    ArgumentTypeDefault
    a0TQShowEvent
    -

  • -
  • sort (a0 = 1) -
    - -
    returns nothing
    In versions less than KDE 3.2.0 only
    - -
    ArgumentTypeDefault
    a0bool1
    -

  • -
  • toggleAdvanced () -
    - -
    returns nothing
    In versions less than KDE 3.2.0 only

  • -
  • visibleApps () -
    - -
    returns (a Python list of KNotify.Application),
    In versions less than KDE 3.2.0 only

  • -
- - - diff --git a/python/pykde/doc/classref/kfile/KNotify.ListViewItem.html b/python/pykde/doc/classref/kfile/KNotify.ListViewItem.html deleted file mode 100644 index 65fd8c80..00000000 --- a/python/pykde/doc/classref/kfile/KNotify.ListViewItem.html +++ /dev/null @@ -1,62 +0,0 @@ - - - - - class KNotify.ListViewItem - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KNotify.ListViewItem


-
- - - - - -
Table of contents
Modules
kfile Classes
All Classes
-
- - - - - - - - - - -
Modulekfile
ClassKNotify.ListViewItem
InheritsTQListViewItem
-

methods

    -
  • ListViewItem (view, event) -
    - -
    returns a ListViewItem instance
    In versions KDE 3.1.0 and above only
    - - -
    ArgumentTypeDefault
    viewTQListView
    eventKNotify.Event
    -

  • -
  • compare (i, col, ascending) -
    - -
    returns (int)
    In versions KDE 3.1.0 and above only
    - - - -
    ArgumentTypeDefault
    iTQListViewItem
    colint
    ascendingbool
    -

  • -
  • event () -
    - -
    returns (KNotify.Event)
    In versions KDE 3.1.0 and above only

  • -
- - - diff --git a/python/pykde/doc/classref/kfile/KNotify.html b/python/pykde/doc/classref/kfile/KNotify.html deleted file mode 100644 index c43b05a2..00000000 --- a/python/pykde/doc/classref/kfile/KNotify.html +++ /dev/null @@ -1,41 +0,0 @@ - - - - - class KNotify - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KNotify


-
- - - - - -
Table of contents
Modules
kfile Classes
All Classes
-
- - - - - - - - - - -
Modulekfile
ClassKNotify
Inherits
-

classes

- - - diff --git a/python/pykde/doc/classref/kfile/KNotifyDialog.html b/python/pykde/doc/classref/kfile/KNotifyDialog.html deleted file mode 100644 index a8c92de9..00000000 --- a/python/pykde/doc/classref/kfile/KNotifyDialog.html +++ /dev/null @@ -1,89 +0,0 @@ - - - - - class KNotifyDialog - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KNotifyDialog


-
- - - - - -
Table of contents
Modules
kfile Classes
All Classes
-
- - - - - - - - - - -
Modulekfile
ClassKNotifyDialog
InheritsKDialogBase
-

methods

    -
  • KNotifyDialog (parent = 0, name = 0, modal = 1, aboutData = see note) -
    - -
    returns a KNotifyDialog instance
    In versions KDE 3.1.0 and above only
    - - - - -
    ArgumentTypeDefault
    parentTQWidget0
    namechar0
    modalbool1
    aboutDataKAboutDatasee note
    -
    The default value for aboutData in C++ is KGlobal::instance()->aboutData() -which sip is unable to parse. Since it's the last arg in the list, it has -to have a default value, and since the C++ code will fail if the default -value really is zero, the sip code silently substitutes the real default -value for a default value of 0 supplied from Python. -

  • -
  • addApplicationEvents (appName) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    appNamechar
    -

  • -
  • addApplicationEvents (path) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    pathTQString
    -

  • -
  • clearApplicationEvents () -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only

  • -
  • configure (parent = 0, name = "", aboutData = see note) -
    - - -
    returns (int),
    In versions KDE 3.1.0 and above only
    static
    - - - -
    ArgumentTypeDefault
    parentTQWidget0
    namea Python string""
    aboutDataKAboutDatasee note
    -
    The default value for aboutData in C++ is KGlobal::instance()->aboutData() -which sip is unable to parse. Since it's the last arg in the list, it has -to have a default value, and since the C++ code will fail if the default -value really is zero, the sip code silently substitutes the real default -value for a default value of 0 supplied from Python. -

  • -
- - - diff --git a/python/pykde/doc/classref/kfile/KOpenWithDlg.html b/python/pykde/doc/classref/kfile/KOpenWithDlg.html deleted file mode 100644 index e3499cb6..00000000 --- a/python/pykde/doc/classref/kfile/KOpenWithDlg.html +++ /dev/null @@ -1,141 +0,0 @@ - - - - - class KOpenWithDlg - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KOpenWithDlg


-
- - - - - -
Table of contents
Modules
kfile Classes
All Classes
-
- - - - - - - - - - -
Modulekfile
ClassKOpenWithDlg
InheritsTQDialog
-

methods

    -
  • KOpenWithDlg (urls, parent = 0) -
    -
    returns a KOpenWithDlg instance
    - - -
    ArgumentTypeDefault
    urlsKURL.List
    parentTQWidget0
    -

  • -
  • KOpenWithDlg (urls, text, value, parent = 0) -
    -
    returns a KOpenWithDlg instance
    - - - - -
    ArgumentTypeDefault
    urlsKURL.List
    textTQString
    valueTQString
    parentTQWidget0
    -

  • -
  • KOpenWithDlg (serviceType, value, parent = 0) -
    -
    returns a KOpenWithDlg instance
    - - - -
    ArgumentTypeDefault
    serviceTypeTQString
    valueTQString
    parentTQWidget0
    -

  • -
  • KOpenWithDlg (parent = 0) -
    - -
    returns a KOpenWithDlg instance
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    parentTQWidget0
    -

  • -
  • accept () -
    -
    returns nothing

  • -
  • hideNoCloseOnExit () -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only

  • -
  • hideRunInTerminal () -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only

  • -
  • init (text, value) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    textTQString
    valueTQString
    -

  • -
  • service () -
    -
    returns (KService.Ptr)

  • -
  • setSaveNewApplications (b) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    bbool
    -

  • -
  • setServiceType (_urls) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    _urlsKURL.List
    -

  • -
  • slotClear () -
    -
    returns nothing

  • -
  • slotDbClick () -
    -
    returns nothing

  • -
  • slotHighlighted (_name, _exec) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    _nameTQString
    _execTQString
    -

  • -
  • slotOK () -
    -
    returns nothing

  • -
  • slotSelected (_name, _exec) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    _nameTQString
    _execTQString
    -

  • -
  • slotTerminalToggled (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0bool
    -

  • -
  • slotTextChanged () -
    -
    returns nothing

  • -
  • text () -
    -
    returns (TQString)

  • -
- - - diff --git a/python/pykde/doc/classref/kfile/KPreviewWidgetBase.html b/python/pykde/doc/classref/kfile/KPreviewWidgetBase.html deleted file mode 100644 index f913d168..00000000 --- a/python/pykde/doc/classref/kfile/KPreviewWidgetBase.html +++ /dev/null @@ -1,70 +0,0 @@ - - - - - class KPreviewWidgetBase - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KPreviewWidgetBase


-
- - - - - -
Table of contents
Modules
kfile Classes
All Classes
-
- - - - - - - - - - -
Modulekfile
ClassKPreviewWidgetBase (abstract)
InheritsTQWidget
-

methods

    -
  • KPreviewWidgetBase (parent, name = 0) -
    -
    returns a KPreviewWidgetBase instance
    - - -
    ArgumentTypeDefault
    parentTQWidget
    namechar0
    -

  • -
  • clearPreview () = 0 -
    - -
    returns nothing
    pure virtual

  • -
  • setSupportedMimeTypes (mimeTypes) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    mimeTypesTQStringList
    -

  • -
  • showPreview (url) = 0 -
    - -
    returns nothing
    pure virtual
    - -
    ArgumentTypeDefault
    urlKURL
    -

  • -
  • supportedMimeTypes () -
    - -
    returns (TQStringList)
    In versions KDE 3.2.0 and above only

  • -
- - - diff --git a/python/pykde/doc/classref/kfile/KPropertiesDialog.html b/python/pykde/doc/classref/kfile/KPropertiesDialog.html deleted file mode 100644 index f1614ab1..00000000 --- a/python/pykde/doc/classref/kfile/KPropertiesDialog.html +++ /dev/null @@ -1,223 +0,0 @@ - - - - - class KPropertiesDialog - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KPropertiesDialog


-
- - - - - -
Table of contents
Modules
kfile Classes
All Classes
-
- - - - - - - - - - -
Modulekfile
ClassKPropertiesDialog
InheritsKDialogBase
-

methods

    -
  • KPropertiesDialog (item, parent = 0, name = 0, modal = 0, autoShow = 1) -
    -
    returns a KPropertiesDialog instance
    - - - - - -
    ArgumentTypeDefault
    itemKFileItem
    parentTQWidget0
    namechar0
    modalbool0
    autoShowbool1
    -

  • -
  • KPropertiesDialog (_items, parent = 0, name = 0, modal = 0, autoShow = 1) -
    -
    returns a KPropertiesDialog instance
    - - - - - -
    ArgumentTypeDefault
    _itemsKFileItemList
    parentTQWidget0
    namechar0
    modalbool0
    autoShowbool1
    -

  • -
  • KPropertiesDialog (_url, _mode, parent = 0, name = 0, modal = 0, autoShow = 1) -
    -
    returns a KPropertiesDialog instance
    - - - - - - -
    ArgumentTypeDefault
    _urlKURL
    _modemode_t
    parentTQWidget0
    namechar0
    modalbool0
    autoShowbool1
    -

  • -
  • KPropertiesDialog (_url, parent = 0, name = 0, modal = 0, autoShow = 1) -
    -
    returns a KPropertiesDialog instance
    - - - - - -
    ArgumentTypeDefault
    _urlKURL
    parentTQWidget0
    namechar0
    modalbool0
    autoShowbool1
    -

  • -
  • KPropertiesDialog (_tempUrl, _currentDir, _defaultName, parent = 0, name = 0, modal = 0, autoShow = 1) -
    -
    returns a KPropertiesDialog instance
    - - - - - - - -
    ArgumentTypeDefault
    _tempUrlKURL
    _currentDirKURL
    _defaultNameTQString
    parentTQWidget0
    namechar0
    modalbool0
    autoShowbool1
    -

  • -
  • KPropertiesDialog (title, parent = 0, name = 0, modal = 0) -
    -
    returns a KPropertiesDialog instance
    - - - - -
    ArgumentTypeDefault
    titleTQString
    parentTQWidget0
    namechar0
    modalbool0
    -

  • -
  • abortApplying () -
    -
    returns nothing

  • -
  • applied () -
    -
    returns nothing

  • -
  • canDisplay (_items) -
    - -
    returns (bool)
    static
    - -
    ArgumentTypeDefault
    _itemsKFileItemList
    -

  • -
  • canceled () -
    -
    returns nothing

  • -
  • currentDir () -
    -
    returns (KURL)

  • -
  • defaultName () -
    -
    returns (TQString)

  • -
  • dialog () -
    -
    returns (KDialogBase)

  • -
  • insertPlugin (plugin) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    pluginKPropsDlgPlugin
    -

  • -
  • item () -
    -
    returns (KFileItem)

  • -
  • items () -
    -
    returns (KFileItemList)

  • -
  • kurl () -
    -
    returns (KURL)

  • -
  • propertiesClosed () -
    -
    returns nothing

  • -
  • rename (_name) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    _nameTQString
    -

  • -
  • saveAs (oldUrl, newUrl) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - - -
    ArgumentTypeDefault
    oldUrlKURL
    newUrlKURL
    -

  • -
  • setFileNameReadOnly (ro) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    robool
    -

  • -
  • setFileSharingPage (page) -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only
    - -
    ArgumentTypeDefault
    pageTQWidget
    -

  • -
  • showDialog (item, parent = 0, name = 0, modal = 0) -
    - - -
    returns (bool)
    In versions KDE 3.4.0 and above only
    static
    - - - - -
    ArgumentTypeDefault
    itemKFileItem
    parentTQWidget0
    namechar0
    modalbool0
    -

  • -
  • showDialog (_url, parent = 0, name = 0, modal = 0) -
    - - -
    returns (bool)
    In versions KDE 3.4.0 and above only
    static
    - - - - -
    ArgumentTypeDefault
    _urlKURL
    parentTQWidget0
    namechar0
    modalbool0
    -

  • -
  • showDialog (_items, parent = 0, name = 0, modal = 0) -
    - - -
    returns (bool)
    In versions KDE 3.4.0 and above only
    static
    - - - - -
    ArgumentTypeDefault
    _itemsKFileItemList
    parentTQWidget0
    namechar0
    modalbool0
    -

  • -
  • showFileSharingPage () -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only

  • -
  • slotCancel () -
    -
    returns nothing

  • -
  • slotOk () -
    -
    returns nothing

  • -
  • updateUrl (_newUrl) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    _newUrlKURL
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kfile/KPropsDlgPlugin.html b/python/pykde/doc/classref/kfile/KPropsDlgPlugin.html deleted file mode 100644 index af586e08..00000000 --- a/python/pykde/doc/classref/kfile/KPropsDlgPlugin.html +++ /dev/null @@ -1,72 +0,0 @@ - - - - - class KPropsDlgPlugin - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KPropsDlgPlugin


-
- - - - - -
Table of contents
Modules
kfile Classes
All Classes
-
- - - - - - - - - - -
Modulekfile
ClassKPropsDlgPlugin
InheritsTQObject
-

methods

    -
  • KPropsDlgPlugin (_props) -
    -
    returns a KPropsDlgPlugin instance
    - -
    ArgumentTypeDefault
    _propsKPropertiesDialog
    -

  • -
  • applyChanges () -
    -
    returns nothing

  • -
  • changed () -
    -
    returns nothing

  • -
  • isDesktopFile (_item) -
    - -
    returns (bool)
    static
    - -
    ArgumentTypeDefault
    _itemKFileItem
    -

  • -
  • isDirty () -
    -
    returns (bool)

  • -
  • setDirty (b) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    bbool
    -

  • -
  • setDirty () -
    -
    returns nothing

  • -
- - - diff --git a/python/pykde/doc/classref/kfile/KRecentDirs.html b/python/pykde/doc/classref/kfile/KRecentDirs.html deleted file mode 100644 index c5c14092..00000000 --- a/python/pykde/doc/classref/kfile/KRecentDirs.html +++ /dev/null @@ -1,62 +0,0 @@ - - - - - class KRecentDirs - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KRecentDirs


-
- - - - -
Table of contents
Modules
kfile Classes
All Classes
-
- - - - - - - - - - -
Modulekfile
ClassKRecentDirs
Inherits
-

methods

    -
  • add (fileClass, directory) -
    - -
    returns nothing
    static
    - - -
    ArgumentTypeDefault
    fileClassTQString
    directoryTQString
    -

  • -
  • dir (fileClass) -
    - -
    returns (TQString)
    static
    - -
    ArgumentTypeDefault
    fileClassTQString
    -

  • -
  • list (fileClass) -
    - -
    returns (TQStringList)
    static
    - -
    ArgumentTypeDefault
    fileClassTQString
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kfile/KRecentDocument.html b/python/pykde/doc/classref/kfile/KRecentDocument.html deleted file mode 100644 index 9f9f6a9b..00000000 --- a/python/pykde/doc/classref/kfile/KRecentDocument.html +++ /dev/null @@ -1,80 +0,0 @@ - - - - - class KRecentDocument - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KRecentDocument


-
- - - - - -
Table of contents
Modules
kfile Classes
All Classes
-
- - - - - - - - - - -
Modulekfile
ClassKRecentDocument
Inherits
-

methods

    -
  • add (url) -
    - -
    returns nothing
    static
    - -
    ArgumentTypeDefault
    urlKURL
    -

  • -
  • add (url, desktopEntryName) -
    - -
    returns nothing
    static
    - - -
    ArgumentTypeDefault
    urlKURL
    desktopEntryNameTQString
    -

  • -
  • add (documentStr, isURL = 0) -
    - -
    returns nothing
    static
    - - -
    ArgumentTypeDefault
    documentStrTQString
    isURLbool0
    -

  • -
  • clear () -
    - -
    returns nothing
    static

  • -
  • maximumItems () -
    - -
    returns (int)
    static

  • -
  • recentDocumentDirectory () -
    - -
    returns (TQString)
    static

  • -
  • recentDocuments () -
    - -
    returns (TQStringList)
    static

  • -
- - - diff --git a/python/pykde/doc/classref/kfile/KURLBar.html b/python/pykde/doc/classref/kfile/KURLBar.html deleted file mode 100644 index d76c2ede..00000000 --- a/python/pykde/doc/classref/kfile/KURLBar.html +++ /dev/null @@ -1,211 +0,0 @@ - - - - - class KURLBar - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KURLBar


-
- - - - - -
Table of contents
Modules
kfile Classes
All Classes
-
- - - - - - - - - - -
Modulekfile
ClassKURLBar
InheritsTQFrame
-

methods

    -
  • KURLBar (useGlobalItems, parent = 0, name = 0, f = 0) -
    -
    returns a KURLBar instance
    - - - - -
    ArgumentTypeDefault
    useGlobalItemsbool
    parentTQWidget0
    namechar0
    fWFlags0
    -

  • -
  • activated (url) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    urlKURL
    -

  • -
  • addNewItem () -
    -
    returns (bool)

  • -
  • clear () -
    -
    returns nothing

  • -
  • currentItem () -
    -
    returns (KURLBarItem)

  • -
  • currentURL () -
    -
    returns (KURL)

  • -
  • editItem (item) -
    -
    returns (bool)
    - -
    ArgumentTypeDefault
    itemKURLBarItem
    -

  • -
  • iconSize () -
    -
    returns (int)

  • -
  • insertDynamicItem (url, description, icon = TQString .null, group = KIcon .Panel) -
    - -
    returns (KURLBarItem)
    In versions KDE 3.2.0 and above only
    - - - - -
    ArgumentTypeDefault
    urlKURL
    descriptionTQString
    iconTQStringTQString .null
    groupKIcon.GroupKIcon .Panel
    -

  • -
  • insertItem (url, description, applicationLocal = 1, icon = TQString .null, group = KIcon .Panel) -
    -
    returns (KURLBarItem)
    - - - - - -
    ArgumentTypeDefault
    urlKURL
    descriptionTQString
    applicationLocalbool1
    iconTQStringTQString .null
    groupKIcon.GroupKIcon .Panel
    -

  • -
  • isImmutable () -
    - -
    returns (bool)
    In versions KDE 3.1.1 and above only

  • -
  • isModified () -
    -
    returns (bool)

  • -
  • isVertical () -
    - -
    returns (bool)
    In versions KDE 3.0.1 and above only

  • -
  • isVertical () -
    - -
    returns (bool)
    In versions less than KDE 3.0.1 only

  • -
  • listBox () -
    -
    returns (KURLBarListBox)

  • -
  • minimumSizeHint () -
    -
    returns (TQSize)

  • -
  • orientation () -
    -
    returns (Qt.Orientation)

  • -
  • paletteChange (a0) -
    - -
    returns nothing
    In versions KDE 3.4.0 and above only
    - -
    ArgumentTypeDefault
    a0TQPalette
    -

  • -
  • readConfig (config, itemGroup) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    configKConfig
    itemGroupTQString
    -

  • -
  • readItem (i, config, applicationLocal) -
    -
    returns nothing
    - - - -
    ArgumentTypeDefault
    iint
    configKConfig
    applicationLocalbool
    -

  • -
  • resizeEvent (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0TQResizeEvent
    -

  • -
  • setCurrentItem (url) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    urlKURL
    -

  • -
  • setIconSize (size) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    sizeint
    -

  • -
  • setListBox (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0KURLBarListBox
    -

  • -
  • setOrientation (orient) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    orientQt.Orientation
    -

  • -
  • sizeHint () -
    -
    returns (TQSize)

  • -
  • slotContextMenuRequested (a0, pos) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    a0TQListBoxItem
    posTQPoint
    -

  • -
  • slotDropped (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0TQDropEvent
    -

  • -
  • slotSelected (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0TQListBoxItem
    -

  • -
  • writeConfig (config, itemGroup) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    configKConfig
    itemGroupTQString
    -

  • -
  • writeItem (item, i, a0, global) -
    -
    returns nothing
    - - - - -
    ArgumentTypeDefault
    itemKURLBarItem
    iint
    a0KConfig
    globalbool
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kfile/KURLBarItem.html b/python/pykde/doc/classref/kfile/KURLBarItem.html deleted file mode 100644 index ede3c47d..00000000 --- a/python/pykde/doc/classref/kfile/KURLBarItem.html +++ /dev/null @@ -1,141 +0,0 @@ - - - - - class KURLBarItem - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KURLBarItem


-
- - - - - -
Table of contents
Modules
kfile Classes
All Classes
-
- - - - - - - - - - -
Modulekfile
ClassKURLBarItem
InheritsTQListBoxPixmap
-

methods

    -
  • KURLBarItem (parent, url, persistent, description = TQString .null, icon = TQString .null, group = KIcon .Panel) -
    - -
    returns a KURLBarItem instance
    In versions KDE 3.2.0 and above only
    - - - - - - -
    ArgumentTypeDefault
    parentKURLBar
    urlKURL
    persistentbool
    descriptionTQStringTQString .null
    iconTQStringTQString .null
    groupKIcon.GroupKIcon .Panel
    -

  • -
  • KURLBarItem (parent, url, description = TQString .null, icon = TQString .null, group = KIcon .Panel) -
    -
    returns a KURLBarItem instance
    - - - - - -
    ArgumentTypeDefault
    parentKURLBar
    urlKURL
    descriptionTQStringTQString .null
    iconTQStringTQString .null
    groupKIcon.GroupKIcon .Panel
    -

  • -
  • applicationLocal () -
    -
    returns (bool)

  • -
  • description () -
    -
    returns (TQString)

  • -
  • height (a0) -
    -
    returns (int)
    - -
    ArgumentTypeDefault
    a0TQListBox
    -

  • -
  • icon () -
    -
    returns (TQString)

  • -
  • iconGroup () -
    -
    returns (KIcon.Group)

  • -
  • isPersistent () -
    - -
    returns (bool)
    In versions KDE 3.2.0 and above only

  • -
  • paint (p) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    pTQPainter
    -

  • -
  • pixmap () -
    -
    returns (TQPixmap)

  • -
  • setApplicationLocal (local) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    localbool
    -

  • -
  • setDescription (desc) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    descTQString
    -

  • -
  • setIcon (icon, group = KIcon .Panel) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    iconTQString
    groupKIcon.GroupKIcon .Panel
    -

  • -
  • setToolTip (tip) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    tipTQString
    -

  • -
  • setURL (url) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    urlKURL
    -

  • -
  • sizeHint () -
    - -
    returns (TQSize)
    In versions KDE 3.0.1 and above only

  • -
  • toolTip () -
    -
    returns (TQString)

  • -
  • url () -
    -
    returns (KURL)

  • -
  • width (a0) -
    -
    returns (int)
    - -
    ArgumentTypeDefault
    a0TQListBox
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kfile/KURLBarItemDialog.html b/python/pykde/doc/classref/kfile/KURLBarItemDialog.html deleted file mode 100644 index 7344e51f..00000000 --- a/python/pykde/doc/classref/kfile/KURLBarItemDialog.html +++ /dev/null @@ -1,84 +0,0 @@ - - - - - class KURLBarItemDialog - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KURLBarItemDialog


-
- - - - - -
Table of contents
Modules
kfile Classes
All Classes
-
- - - - - - - - - - -
Modulekfile
ClassKURLBarItemDialog
InheritsKDialogBase
-

methods

    -
  • KURLBarItemDialog (allowGlobal, url, description, icon, appLocal = 1, iconSize = KIcon .SizeMedium, parent = 0, name = 0) -
    -
    returns a KURLBarItemDialog instance
    - - - - - - - - -
    ArgumentTypeDefault
    allowGlobalbool
    urlKURL
    descriptionTQString
    iconTQString
    appLocalbool1
    iconSizeintKIcon .SizeMedium
    parentTQWidget0
    namechar0
    -

  • -
  • applicationLocal () -
    -
    returns (bool)

  • -
  • description () -
    -
    returns (TQString)

  • -
  • getInformation (allowGlobal, url, description, icon, iconSize, parent = 0) -
    - -
    returns (bool) appLocal (bool)
    static
    - - - - - - -
    ArgumentTypeDefault
    allowGlobalbool
    urlKURL
    descriptionTQString
    iconTQString
    iconSizeint
    parentTQWidget0
    -

  • -
  • icon () -
    -
    returns (TQString)

  • -
  • url () -
    -
    returns (KURL)

  • -
  • urlChanged (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0TQString
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kfile/KURLBarListBox.html b/python/pykde/doc/classref/kfile/KURLBarListBox.html deleted file mode 100644 index af027d63..00000000 --- a/python/pykde/doc/classref/kfile/KURLBarListBox.html +++ /dev/null @@ -1,96 +0,0 @@ - - - - - class KURLBarListBox - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KURLBarListBox


-
- - - - - -
Table of contents
Modules
kfile Classes
All Classes
-
- - - - - - - - - - -
Modulekfile
ClassKURLBarListBox
InheritsKListBox
-

methods

    -
  • KURLBarListBox (parent = 0, name = 0) -
    -
    returns a KURLBarListBox instance
    - - -
    ArgumentTypeDefault
    parentTQWidget0
    namechar0
    -

  • -
  • contentsDragEnterEvent (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0TQDragEnterEvent
    -

  • -
  • contentsDropEvent (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0TQDropEvent
    -

  • -
  • contextMenuEvent (a0) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    a0TQContextMenuEvent
    -

  • -
  • dragObject () -
    -
    returns (TQDragObject)

  • -
  • dropped (e) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    eTQDropEvent
    -

  • -
  • isVertical () -
    - -
    returns (bool)
    In versions KDE 3.0.1 and above only

  • -
  • orientation () -
    -
    returns (Qt.Orientation)

  • -
  • paintEvent (a0) -
    - -
    returns nothing
    In versions KDE 3.4.0 and above only
    - -
    ArgumentTypeDefault
    a0TQPaintEvent
    -

  • -
  • setOrientation (orient) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    orientQt.Orientation
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kfile/KURLComboBox.html b/python/pykde/doc/classref/kfile/KURLComboBox.html deleted file mode 100644 index 35e1ddc6..00000000 --- a/python/pykde/doc/classref/kfile/KURLComboBox.html +++ /dev/null @@ -1,148 +0,0 @@ - - - - - class KURLComboBox - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KURLComboBox


-
- - - - - -
Table of contents
Modules
kfile Classes
All Classes
-
- - - - - - - - - - -
Modulekfile
ClassKURLComboBox
InheritsKComboBox
-

enums

    -
  • Mode = {Files, Directories, Both -}
  • OverLoadResolving = {RemoveTop, RemoveBottom -}
-

methods

    -
  • KURLComboBox (mode, parent = 0, name = 0) -
    -
    returns a KURLComboBox instance
    - - - -
    ArgumentTypeDefault
    modeKURLComboBox.Mode
    parentTQWidget0
    namechar0
    -

  • -
  • KURLComboBox (mode, rw, parent = 0, name = 0) -
    -
    returns a KURLComboBox instance
    - - - - -
    ArgumentTypeDefault
    modeKURLComboBox.Mode
    rwbool
    parentTQWidget0
    namechar0
    -

  • -
  • addDefaultURL (url, text = TQString .null) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    urlKURL
    textTQStringTQString .null
    -

  • -
  • addDefaultURL (url, pix, text = TQString .null) -
    -
    returns nothing
    - - - -
    ArgumentTypeDefault
    urlKURL
    pixTQPixmap
    textTQStringTQString .null
    -

  • -
  • getPixmap (url) -
    -
    returns (TQPixmap)
    - -
    ArgumentTypeDefault
    urlKURL
    -

  • -
  • init (mode) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    modeKURLComboBox.Mode
    -

  • -
  • insertURLItem (a0) -
    Not Implemented
    -

  • -
  • maxItems () -
    -
    returns (int)

  • -
  • removeURL (url, checkDefaultURLs = 1) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    urlKURL
    checkDefaultURLsbool1
    -

  • -
  • setDefaults () -
    -
    returns nothing

  • -
  • setMaxItems (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0int
    -

  • -
  • setURL (url) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    urlKURL
    -

  • -
  • setURLs (urls) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    urlsTQStringList
    -

  • -
  • setURLs (urls, remove) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    urlsTQStringList
    removeKURLComboBox.OverLoadResolving
    -

  • -
  • slotActivated (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0int
    -

  • -
  • updateItem (item, index, pix) -
    Not Implemented
    -

  • -
  • urlActivated (url) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    urlKURL
    -

  • -
  • urls () -
    -
    returns (TQStringList)

  • -
- - - diff --git a/python/pykde/doc/classref/kfile/KURLComboRequester.html b/python/pykde/doc/classref/kfile/KURLComboRequester.html deleted file mode 100644 index 71655612..00000000 --- a/python/pykde/doc/classref/kfile/KURLComboRequester.html +++ /dev/null @@ -1,49 +0,0 @@ - - - - - class KURLComboRequester - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KURLComboRequester


-
- - - - - -
Table of contents
Modules
kfile Classes
All Classes
-
- - - - - - - - - - -
Modulekfile
ClassKURLComboRequester
InheritsKURLRequester
-

methods

    -
  • KURLComboRequester (parent = 0, name = 0) -
    - -
    returns a KURLComboRequester instance
    In versions KDE 3.2.0 and above only
    - - -
    ArgumentTypeDefault
    parentTQWidget0
    namechar0
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kfile/KURLPropsPlugin.html b/python/pykde/doc/classref/kfile/KURLPropsPlugin.html deleted file mode 100644 index 60e8cedc..00000000 --- a/python/pykde/doc/classref/kfile/KURLPropsPlugin.html +++ /dev/null @@ -1,57 +0,0 @@ - - - - - class KURLPropsPlugin - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KURLPropsPlugin


-
- - - - - -
Table of contents
Modules
kfile Classes
All Classes
-
- - - - - - - - - - -
Modulekfile
ClassKURLPropsPlugin
InheritsKPropsDlgPlugin
-

methods

    -
  • KURLPropsPlugin (_props) -
    -
    returns a KURLPropsPlugin instance
    - -
    ArgumentTypeDefault
    _propsKPropertiesDialog
    -

  • -
  • applyChanges () -
    -
    returns nothing

  • -
  • supports (_items) -
    - -
    returns (bool)
    static
    - -
    ArgumentTypeDefault
    _itemsKFileItemList
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kfile/KURLRequester.html b/python/pykde/doc/classref/kfile/KURLRequester.html deleted file mode 100644 index 57758e81..00000000 --- a/python/pykde/doc/classref/kfile/KURLRequester.html +++ /dev/null @@ -1,171 +0,0 @@ - - - - - class KURLRequester - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KURLRequester


-
- - - - - -
Table of contents
Modules
kfile Classes
All Classes
-
- - - - - - - - - - -
Modulekfile
ClassKURLRequester
InheritsTQHBox
-

methods

    -
  • KURLRequester (parent = 0, name = 0) -
    -
    returns a KURLRequester instance
    - - -
    ArgumentTypeDefault
    parentTQWidget0
    namechar0
    -

  • -
  • KURLRequester (url, parent = 0, name = 0) -
    -
    returns a KURLRequester instance
    - - - -
    ArgumentTypeDefault
    urlTQString
    parentTQWidget0
    namechar0
    -

  • -
  • KURLRequester (editWidget, parent, name = 0) -
    -
    returns a KURLRequester instance
    - - - -
    ArgumentTypeDefault
    editWidgetTQWidget
    parentTQWidget
    namechar0
    -

  • -
  • button () -
    -
    returns (KPushButton)

  • -
  • clear () -
    -
    returns nothing

  • -
  • comboBox () -
    -
    returns (KComboBox)

  • -
  • completionObject () -
    -
    returns (KURLCompletion)

  • -
  • customEditor () -
    - -
    returns (KEditListBox.CustomEditor)
    In versions KDE 3.1.0 and above only

  • -
  • fileDialog () -
    -
    returns (KFileDialog)

  • -
  • filter () -
    - -
    returns (TQString)
    In versions KDE 3.3.0 and above only

  • -
  • init () -
    -
    returns nothing

  • -
  • lineEdit () -
    -
    returns (KLineEdit)

  • -
  • mode () -
    - -
    returns (uint)
    In versions KDE 3.3.0 and above only

  • -
  • openFileDialog (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0KURLRequester
    -

  • -
  • returnPressed () -
    -
    returns nothing

  • -
  • returnPressed (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0TQString
    -

  • -
  • setCaption (caption) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    captionTQString
    -

  • -
  • setFilter (filter) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    filterTQString
    -

  • -
  • setKURL (url) -
    - -
    returns nothing
    In versions KDE 3.4.0 and above only
    - -
    ArgumentTypeDefault
    urlKURL
    -

  • -
  • setMode (m) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    muint
    -

  • -
  • setShowLocalProtocol (b) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    bbool
    -

  • -
  • setURL (url) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    urlTQString
    -

  • -
  • showLocalProtocol () -
    -
    returns (bool)

  • -
  • slotOpenDialog () -
    -
    returns nothing

  • -
  • textChanged (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0TQString
    -

  • -
  • url () -
    -
    returns (TQString)

  • -
  • urlSelected (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0TQString
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kfile/KURLRequesterDlg.html b/python/pykde/doc/classref/kfile/KURLRequesterDlg.html deleted file mode 100644 index af094d4c..00000000 --- a/python/pykde/doc/classref/kfile/KURLRequesterDlg.html +++ /dev/null @@ -1,78 +0,0 @@ - - - - - class KURLRequesterDlg - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KURLRequesterDlg


-
- - - - - -
Table of contents
Modules
kfile Classes
All Classes
-
- - - - - - - - - - -
Modulekfile
ClassKURLRequesterDlg
InheritsKDialogBase
-

methods

    -
  • KURLRequesterDlg (url, parent, name, modal = 1) -
    -
    returns a KURLRequesterDlg instance
    - - - - -
    ArgumentTypeDefault
    urlTQString
    parentTQWidget
    namechar
    modalbool1
    -

  • -
  • KURLRequesterDlg (url, text, parent, name, modal = 1) -
    -
    returns a KURLRequesterDlg instance
    - - - - - -
    ArgumentTypeDefault
    urlTQString
    textTQString
    parentTQWidget
    namechar
    modalbool1
    -

  • -
  • fileDialog () -
    -
    returns (KFileDialog)

  • -
  • getURL (url = TQString .null, parent = 0, caption = TQString .null) -
    - -
    returns (KURL)
    static
    - - - -
    ArgumentTypeDefault
    urlTQStringTQString .null
    parentTQWidget0
    captionTQStringTQString .null
    -

  • -
  • selectedURL () -
    -
    returns (KURL)

  • -
  • urlRequester () -
    -
    returns (KURLRequester)

  • -
- - - diff --git a/python/pykde/doc/classref/kfile/index.html b/python/pykde/doc/classref/kfile/index.html deleted file mode 100644 index 1c3ac8d2..00000000 --- a/python/pykde/doc/classref/kfile/index.html +++ /dev/null @@ -1,91 +0,0 @@ - - - - - module kfile - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

kfile Class Index


-
- - - - -
Table of contents
Modules
All Classes
-
- -
- - - - - - - - - - - - - - - - - - - - -
KAppTreeListItem - KFileFilterCombo
KAppTreeListItem
KApplicationPropsPlugin
KApplicationTree
KBindingPropsPlugin
KCombiView
KCustomMenuEditor
KDesktopPropsPlugin
KDevicePropsPlugin
KDirOperator
KDirSelectDialog
KDirSize
KDiskFreeSp
KEncodingFileDialog
KEncodingFileDialog.Result
KExecPropsPlugin
KFile
KFileDetailView
KFileDialog
KFileFilterCombo
- - - - - - - - - - - - - - - - - - - - -
KFileIconView - KNotify
KFileIconView
KFileIconViewItem
KFileListViewItem
KFileOpenWithHandler
KFilePermissionsPropsPlugin
KFilePreview
KFilePropsPlugin
KFileSharePropsPlugin
KFileTreeBranch
KFileTreeView
KFileTreeViewItem
KFileTreeViewToolTip
KFileView
KFileViewSignaler
KIconButton
KIconCanvas
KIconDialog
KImageFilePreview
KNotify
- - - - - - - - - - - - - - - - - - - - -
KNotify.Application - KURLRequesterDlg
KNotify.Application
KNotify.ApplicationList
KNotify.Event
KNotify.KNotifyWidget
KNotifyDialog
KOpenWithDlg
KPreviewWidgetBase
KPropertiesDialog
KPropsDlgPlugin
KRecentDocument
KURLBar
KURLBarItem
KURLBarItemDialog
KURLBarListBox
KURLComboBox
KURLComboRequester
KURLPropsPlugin
KURLRequester
KURLRequesterDlg
- - diff --git a/python/pykde/doc/classref/khtml/DOM.AbstractView.html b/python/pykde/doc/classref/khtml/DOM.AbstractView.html deleted file mode 100644 index 72349b83..00000000 --- a/python/pykde/doc/classref/khtml/DOM.AbstractView.html +++ /dev/null @@ -1,69 +0,0 @@ - - - - - class DOM.AbstractView - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class DOM.AbstractView


-
- - - - - -
Table of contents
Modules
khtml Classes
All Classes
-
- - - - - - - - - - -
Modulekhtml
ClassDOM.AbstractView
Inherits
-

methods

    -
  • AbstractView () -
    -
    returns a AbstractView instance

  • -
  • AbstractView (other) -
    -
    returns a AbstractView instance
    - -
    ArgumentTypeDefault
    otherDOM.AbstractView
    -

  • -
  • AbstractView (i) -
    Not Implemented
    -

  • -
  • document () -
    -
    returns (DOM.Document)

  • -
  • getComputedStyle (elt, pseudoElt) -
    -
    returns (DOM.CSSStyleDeclaration)
    - - -
    ArgumentTypeDefault
    eltDOM.Element
    pseudoEltDOM.DOMString
    -

  • -
  • handle () -
    Not Implemented
    -

  • -
  • isNull () -
    -
    returns (bool)

  • -
- - - diff --git a/python/pykde/doc/classref/khtml/DOM.Attr.html b/python/pykde/doc/classref/khtml/DOM.Attr.html deleted file mode 100644 index 631082de..00000000 --- a/python/pykde/doc/classref/khtml/DOM.Attr.html +++ /dev/null @@ -1,77 +0,0 @@ - - - - - class DOM.Attr - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class DOM.Attr


-
- - - - - -
Table of contents
Modules
khtml Classes
All Classes
-
- - - - - - - - - - -
Modulekhtml
ClassDOM.Attr
InheritsDOM.Node
-

methods

    -
  • Attr () -
    -
    returns a Attr instance

  • -
  • Attr (other) -
    -
    returns a Attr instance
    - -
    ArgumentTypeDefault
    otherDOM.Node
    -

  • -
  • Attr (other) -
    -
    returns a Attr instance
    - -
    ArgumentTypeDefault
    otherDOM.Attr
    -

  • -
  • Attr (_impl) -
    Not Implemented
    -

  • -
  • name () -
    -
    returns (DOM.DOMString)

  • -
  • ownerElement () -
    -
    returns (DOM.Element)

  • -
  • setValue (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0DOM.DOMString
    -

  • -
  • specified () -
    -
    returns (bool)

  • -
  • value () -
    -
    returns (DOM.DOMString)

  • -
- - - diff --git a/python/pykde/doc/classref/khtml/DOM.CDATASection.html b/python/pykde/doc/classref/khtml/DOM.CDATASection.html deleted file mode 100644 index d2519cae..00000000 --- a/python/pykde/doc/classref/khtml/DOM.CDATASection.html +++ /dev/null @@ -1,59 +0,0 @@ - - - - - class DOM.CDATASection - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class DOM.CDATASection


-
- - - - - -
Table of contents
Modules
khtml Classes
All Classes
-
- - - - - - - - - - -
Modulekhtml
ClassDOM.CDATASection
InheritsDOM.Text
-

methods

    -
  • CDATASection () -
    -
    returns a CDATASection instance

  • -
  • CDATASection (other) -
    -
    returns a CDATASection instance
    - -
    ArgumentTypeDefault
    otherDOM.CDATASection
    -

  • -
  • CDATASection (other) -
    -
    returns a CDATASection instance
    - -
    ArgumentTypeDefault
    otherDOM.Node
    -

  • -
  • CDATASection (i) -
    Not Implemented
    -

  • -
- - - diff --git a/python/pykde/doc/classref/khtml/DOM.CSSCharsetRule.html b/python/pykde/doc/classref/khtml/DOM.CSSCharsetRule.html deleted file mode 100644 index 34e716a2..00000000 --- a/python/pykde/doc/classref/khtml/DOM.CSSCharsetRule.html +++ /dev/null @@ -1,68 +0,0 @@ - - - - - class DOM.CSSCharsetRule - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class DOM.CSSCharsetRule


-
- - - - - -
Table of contents
Modules
khtml Classes
All Classes
-
- - - - - - - - - - -
Modulekhtml
ClassDOM.CSSCharsetRule
InheritsDOM.CSSRule
-

methods

    -
  • CSSCharsetRule () -
    -
    returns a CSSCharsetRule instance

  • -
  • CSSCharsetRule (other) -
    -
    returns a CSSCharsetRule instance
    - -
    ArgumentTypeDefault
    otherDOM.CSSCharsetRule
    -

  • -
  • CSSCharsetRule (other) -
    -
    returns a CSSCharsetRule instance
    - -
    ArgumentTypeDefault
    otherDOM.CSSRule
    -

  • -
  • CSSCharsetRule (impl) -
    Not Implemented
    -

  • -
  • encoding () -
    -
    returns (DOM.DOMString)

  • -
  • setEncoding (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0DOM.DOMString
    -

  • -
- - - diff --git a/python/pykde/doc/classref/khtml/DOM.CSSException.html b/python/pykde/doc/classref/khtml/DOM.CSSException.html deleted file mode 100644 index dac4e991..00000000 --- a/python/pykde/doc/classref/khtml/DOM.CSSException.html +++ /dev/null @@ -1,60 +0,0 @@ - - - - - class DOM.CSSException - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class DOM.CSSException


-
- - - - - -
Table of contents
Modules
khtml Classes
All Classes
-
- - - - - - - - - - -
Modulekhtml
ClassDOM.CSSException
Inherits
-

enums

    -
  • ExceptionCode = {SYNTAX_ERR, INVALID_MODIFICATION_ERR, _EXCEPTION_OFFSET -}
-

methods

    -
  • CSSException (_code) -
    -
    returns a CSSException instance
    - -
    ArgumentTypeDefault
    _codeushort
    -

  • -
  • CSSException (other) -
    -
    returns a CSSException instance
    - -
    ArgumentTypeDefault
    otherDOM.CSSException
    -

  • -
-

variables

- - - diff --git a/python/pykde/doc/classref/khtml/DOM.CSSFontFaceRule.html b/python/pykde/doc/classref/khtml/DOM.CSSFontFaceRule.html deleted file mode 100644 index 3059e87a..00000000 --- a/python/pykde/doc/classref/khtml/DOM.CSSFontFaceRule.html +++ /dev/null @@ -1,62 +0,0 @@ - - - - - class DOM.CSSFontFaceRule - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class DOM.CSSFontFaceRule


-
- - - - - -
Table of contents
Modules
khtml Classes
All Classes
-
- - - - - - - - - - -
Modulekhtml
ClassDOM.CSSFontFaceRule
InheritsDOM.CSSRule
-

methods

    -
  • CSSFontFaceRule () -
    -
    returns a CSSFontFaceRule instance

  • -
  • CSSFontFaceRule (other) -
    -
    returns a CSSFontFaceRule instance
    - -
    ArgumentTypeDefault
    otherDOM.CSSFontFaceRule
    -

  • -
  • CSSFontFaceRule (other) -
    -
    returns a CSSFontFaceRule instance
    - -
    ArgumentTypeDefault
    otherDOM.CSSRule
    -

  • -
  • CSSFontFaceRule (impl) -
    Not Implemented
    -

  • -
  • style () -
    -
    returns (DOM.CSSStyleDeclaration)

  • -
- - - diff --git a/python/pykde/doc/classref/khtml/DOM.CSSImportRule.html b/python/pykde/doc/classref/khtml/DOM.CSSImportRule.html deleted file mode 100644 index 15245c4d..00000000 --- a/python/pykde/doc/classref/khtml/DOM.CSSImportRule.html +++ /dev/null @@ -1,68 +0,0 @@ - - - - - class DOM.CSSImportRule - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class DOM.CSSImportRule


-
- - - - - -
Table of contents
Modules
khtml Classes
All Classes
-
- - - - - - - - - - -
Modulekhtml
ClassDOM.CSSImportRule
InheritsDOM.CSSRule
-

methods

    -
  • CSSImportRule () -
    -
    returns a CSSImportRule instance

  • -
  • CSSImportRule (other) -
    -
    returns a CSSImportRule instance
    - -
    ArgumentTypeDefault
    otherDOM.CSSImportRule
    -

  • -
  • CSSImportRule (other) -
    -
    returns a CSSImportRule instance
    - -
    ArgumentTypeDefault
    otherDOM.CSSRule
    -

  • -
  • CSSImportRule (impl) -
    Not Implemented
    -

  • -
  • href () -
    -
    returns (DOM.DOMString)

  • -
  • media () -
    -
    returns (DOM.MediaList)

  • -
  • styleSheet () -
    -
    returns (DOM.CSSStyleSheet)

  • -
- - - diff --git a/python/pykde/doc/classref/khtml/DOM.CSSMediaRule.html b/python/pykde/doc/classref/khtml/DOM.CSSMediaRule.html deleted file mode 100644 index f7733aa6..00000000 --- a/python/pykde/doc/classref/khtml/DOM.CSSMediaRule.html +++ /dev/null @@ -1,78 +0,0 @@ - - - - - class DOM.CSSMediaRule - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class DOM.CSSMediaRule


-
- - - - - -
Table of contents
Modules
khtml Classes
All Classes
-
- - - - - - - - - - -
Modulekhtml
ClassDOM.CSSMediaRule
InheritsDOM.CSSRule
-

methods

    -
  • CSSMediaRule () -
    -
    returns a CSSMediaRule instance

  • -
  • CSSMediaRule (other) -
    -
    returns a CSSMediaRule instance
    - -
    ArgumentTypeDefault
    otherDOM.CSSMediaRule
    -

  • -
  • CSSMediaRule (other) -
    -
    returns a CSSMediaRule instance
    - -
    ArgumentTypeDefault
    otherDOM.CSSRule
    -

  • -
  • CSSMediaRule (impl) -
    Not Implemented
    -

  • -
  • cssRules () -
    -
    returns (DOM.CSSRuleList)

  • -
  • deleteRule (index) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    indexulong
    -

  • -
  • insertRule (rule, index) -
    -
    returns (ulong)
    - - -
    ArgumentTypeDefault
    ruleDOM.DOMString
    indexulong
    -

  • -
  • media () -
    -
    returns (DOM.MediaList)

  • -
- - - diff --git a/python/pykde/doc/classref/khtml/DOM.CSSPageRule.html b/python/pykde/doc/classref/khtml/DOM.CSSPageRule.html deleted file mode 100644 index 5634a75c..00000000 --- a/python/pykde/doc/classref/khtml/DOM.CSSPageRule.html +++ /dev/null @@ -1,71 +0,0 @@ - - - - - class DOM.CSSPageRule - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class DOM.CSSPageRule


-
- - - - - -
Table of contents
Modules
khtml Classes
All Classes
-
- - - - - - - - - - -
Modulekhtml
ClassDOM.CSSPageRule
InheritsDOM.CSSRule
-

methods

    -
  • CSSPageRule () -
    -
    returns a CSSPageRule instance

  • -
  • CSSPageRule (other) -
    -
    returns a CSSPageRule instance
    - -
    ArgumentTypeDefault
    otherDOM.CSSPageRule
    -

  • -
  • CSSPageRule (other) -
    -
    returns a CSSPageRule instance
    - -
    ArgumentTypeDefault
    otherDOM.CSSRule
    -

  • -
  • CSSPageRule (impl) -
    Not Implemented
    -

  • -
  • selectorText () -
    -
    returns (DOM.DOMString)

  • -
  • setSelectorText (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0DOM.DOMString
    -

  • -
  • style () -
    -
    returns (DOM.CSSStyleDeclaration)

  • -
- - - diff --git a/python/pykde/doc/classref/khtml/DOM.CSSPrimitiveValue.html b/python/pykde/doc/classref/khtml/DOM.CSSPrimitiveValue.html deleted file mode 100644 index 78a4f703..00000000 --- a/python/pykde/doc/classref/khtml/DOM.CSSPrimitiveValue.html +++ /dev/null @@ -1,98 +0,0 @@ - - - - - class DOM.CSSPrimitiveValue - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class DOM.CSSPrimitiveValue


-
- - - - - -
Table of contents
Modules
khtml Classes
All Classes
-
- - - - - - - - - - -
Modulekhtml
ClassDOM.CSSPrimitiveValue
InheritsDOM.CSSValue
-

enums

    -
  • UnitTypes = {CSS_UNKNOWN, CSS_NUMBER, CSS_PERCENTAGE, CSS_EMS, CSS_EXS, CSS_PX, CSS_CM, CSS_MM, CSS_IN, CSS_PT, CSS_PC, CSS_DEG, CSS_RAD, CSS_GRAD, CSS_MS, CSS_S, CSS_HZ, CSS_KHZ, CSS_DIMENSION, CSS_STRING, CSS_URI, CSS_IDENT, CSS_ATTR, CSS_COUNTER, CSS_RECT, CSS_RGBCOLOR, CSS_HTML_RELATIVE -}
  • UnitTypes = {CSS_UNKNOWN, CSS_NUMBER, CSS_PERCENTAGE, CSS_EMS, CSS_EXS, CSS_PX, CSS_CM, CSS_MM, CSS_IN, CSS_PT, CSS_PC, CSS_DEG, CSS_RAD, CSS_GRAD, CSS_MS, CSS_S, CSS_HZ, CSS_KHZ, CSS_DIMENSION, CSS_STRING, CSS_URI, CSS_IDENT, CSS_ATTR, CSS_COUNTER, CSS_RECT, CSS_RGBCOLOR -}
-

methods

    -
  • CSSPrimitiveValue () -
    -
    returns a CSSPrimitiveValue instance

  • -
  • CSSPrimitiveValue (other) -
    -
    returns a CSSPrimitiveValue instance
    - -
    ArgumentTypeDefault
    otherDOM.CSSPrimitiveValue
    -

  • -
  • CSSPrimitiveValue (other) -
    -
    returns a CSSPrimitiveValue instance
    - -
    ArgumentTypeDefault
    otherDOM.CSSValue
    -

  • -
  • CSSPrimitiveValue (impl) -
    Not Implemented
    -

  • -
  • getCounterValue () -
    -
    returns (DOM.Counter)

  • -
  • getFloatValue (unitType) -
    -
    returns (float)
    - -
    ArgumentTypeDefault
    unitTypeushort
    -

  • -
  • getRGBColorValue () -
    -
    returns (DOM.RGBColor)

  • -
  • getRectValue () -
    -
    returns (DOM.Rect)

  • -
  • getStringValue () -
    -
    returns (DOM.DOMString)

  • -
  • primitiveType () -
    -
    returns (ushort)

  • -
  • setFloatValue (unitType, floatValue) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    unitTypeushort
    floatValuefloat
    -

  • -
  • setStringValue (stringType, stringValue) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    stringTypeushort
    stringValueDOM.DOMString
    -

  • -
- - - diff --git a/python/pykde/doc/classref/khtml/DOM.CSSRule.html b/python/pykde/doc/classref/khtml/DOM.CSSRule.html deleted file mode 100644 index 4e891264..00000000 --- a/python/pykde/doc/classref/khtml/DOM.CSSRule.html +++ /dev/null @@ -1,89 +0,0 @@ - - - - - class DOM.CSSRule - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class DOM.CSSRule


-
- - - - - -
Table of contents
Modules
khtml Classes
All Classes
-
- - - - - - - - - - -
Modulekhtml
ClassDOM.CSSRule
Inherits
-

enums

    -
  • RuleType = {UNKNOWN_RULE, STYLE_RULE, CHARSET_RULE, IMPORT_RULE, MEDIA_RULE, FONT_FACE_RULE, PAGE_RULE, QUIRKS_RULE -}
  • RuleType = {UNKNOWN_RULE, STYLE_RULE, CHARSET_RULE, IMPORT_RULE, MEDIA_RULE, FONT_FACE_RULE, PAGE_RULE -}
-

methods

    -
  • CSSRule () -
    -
    returns a CSSRule instance

  • -
  • CSSRule (other) -
    -
    returns a CSSRule instance
    - -
    ArgumentTypeDefault
    otherDOM.CSSRule
    -

  • -
  • CSSRule (impl) -
    Not Implemented
    -

  • -
  • assignOther (other, thisType) -
    - -
    returns nothing
    In versions KDE 3.0.1 and above only
    - - -
    ArgumentTypeDefault
    otherDOM.CSSRule
    thisTypeDOM.CSSRule.RuleType
    -

  • -
  • cssText () -
    -
    returns (DOM.DOMString)

  • -
  • handle () -
    Not Implemented
    -

  • -
  • isNull () -
    -
    returns (bool)

  • -
  • parentRule () -
    -
    returns (DOM.CSSRule)

  • -
  • parentStyleSheet () -
    -
    returns (DOM.CSSStyleSheet)

  • -
  • setCssText (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0DOM.DOMString
    -

  • -
  • type () -
    -
    returns (ushort)

  • -
- - - diff --git a/python/pykde/doc/classref/khtml/DOM.CSSRuleList.html b/python/pykde/doc/classref/khtml/DOM.CSSRuleList.html deleted file mode 100644 index 1a0f8529..00000000 --- a/python/pykde/doc/classref/khtml/DOM.CSSRuleList.html +++ /dev/null @@ -1,71 +0,0 @@ - - - - - class DOM.CSSRuleList - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class DOM.CSSRuleList


-
- - - - - -
Table of contents
Modules
khtml Classes
All Classes
-
- - - - - - - - - - -
Modulekhtml
ClassDOM.CSSRuleList
Inherits
-

methods

    -
  • CSSRuleList () -
    -
    returns a CSSRuleList instance

  • -
  • CSSRuleList (other) -
    -
    returns a CSSRuleList instance
    - -
    ArgumentTypeDefault
    otherDOM.CSSRuleList
    -

  • -
  • CSSRuleList (i) -
    Not Implemented
    -

  • -
  • CSSRuleList (i) -
    Not Implemented
    -

  • -
  • handle () -
    Not Implemented
    -

  • -
  • isNull () -
    -
    returns (bool)

  • -
  • item (index) -
    -
    returns (DOM.CSSRule)
    - -
    ArgumentTypeDefault
    indexulong
    -

  • -
  • length () -
    -
    returns (ulong)

  • -
- - - diff --git a/python/pykde/doc/classref/khtml/DOM.CSSStyleDeclaration.html b/python/pykde/doc/classref/khtml/DOM.CSSStyleDeclaration.html deleted file mode 100644 index 763ec61e..00000000 --- a/python/pykde/doc/classref/khtml/DOM.CSSStyleDeclaration.html +++ /dev/null @@ -1,112 +0,0 @@ - - - - - class DOM.CSSStyleDeclaration - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class DOM.CSSStyleDeclaration


-
- - - - - -
Table of contents
Modules
khtml Classes
All Classes
-
- - - - - - - - - - -
Modulekhtml
ClassDOM.CSSStyleDeclaration
Inherits
-

methods

    -
  • CSSStyleDeclaration () -
    -
    returns a CSSStyleDeclaration instance

  • -
  • CSSStyleDeclaration (other) -
    -
    returns a CSSStyleDeclaration instance
    - -
    ArgumentTypeDefault
    otherDOM.CSSStyleDeclaration
    -

  • -
  • CSSStyleDeclaration (impl) -
    Not Implemented
    -

  • -
  • cssText () -
    -
    returns (DOM.DOMString)

  • -
  • getPropertyCSSValue (propertyName) -
    -
    returns (DOM.CSSValue)
    - -
    ArgumentTypeDefault
    propertyNameDOM.DOMString
    -

  • -
  • getPropertyPriority (propertyName) -
    -
    returns (DOM.DOMString)
    - -
    ArgumentTypeDefault
    propertyNameDOM.DOMString
    -

  • -
  • getPropertyValue (propertyName) -
    -
    returns (DOM.DOMString)
    - -
    ArgumentTypeDefault
    propertyNameDOM.DOMString
    -

  • -
  • handle () -
    Not Implemented
    -

  • -
  • isNull () -
    -
    returns (bool)

  • -
  • item (index) -
    -
    returns (DOM.DOMString)
    - -
    ArgumentTypeDefault
    indexulong
    -

  • -
  • length () -
    -
    returns (ulong)

  • -
  • parentRule () -
    -
    returns (DOM.CSSRule)

  • -
  • removeProperty (propertyName) -
    -
    returns (DOM.DOMString)
    - -
    ArgumentTypeDefault
    propertyNameDOM.DOMString
    -

  • -
  • setCssText (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0DOM.DOMString
    -

  • -
  • setProperty (propertyName, value, priority) -
    -
    returns nothing
    - - - -
    ArgumentTypeDefault
    propertyNameDOM.DOMString
    valueDOM.DOMString
    priorityDOM.DOMString
    -

  • -
- - - diff --git a/python/pykde/doc/classref/khtml/DOM.CSSStyleRule.html b/python/pykde/doc/classref/khtml/DOM.CSSStyleRule.html deleted file mode 100644 index 823498d2..00000000 --- a/python/pykde/doc/classref/khtml/DOM.CSSStyleRule.html +++ /dev/null @@ -1,71 +0,0 @@ - - - - - class DOM.CSSStyleRule - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class DOM.CSSStyleRule


-
- - - - - -
Table of contents
Modules
khtml Classes
All Classes
-
- - - - - - - - - - -
Modulekhtml
ClassDOM.CSSStyleRule
InheritsDOM.CSSRule
-

methods

    -
  • CSSStyleRule () -
    -
    returns a CSSStyleRule instance

  • -
  • CSSStyleRule (other) -
    -
    returns a CSSStyleRule instance
    - -
    ArgumentTypeDefault
    otherDOM.CSSStyleRule
    -

  • -
  • CSSStyleRule (other) -
    -
    returns a CSSStyleRule instance
    - -
    ArgumentTypeDefault
    otherDOM.CSSRule
    -

  • -
  • CSSStyleRule (impl) -
    Not Implemented
    -

  • -
  • selectorText () -
    -
    returns (DOM.DOMString)

  • -
  • setSelectorText (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0DOM.DOMString
    -

  • -
  • style () -
    -
    returns (DOM.CSSStyleDeclaration)

  • -
- - - diff --git a/python/pykde/doc/classref/khtml/DOM.CSSStyleSheet.html b/python/pykde/doc/classref/khtml/DOM.CSSStyleSheet.html deleted file mode 100644 index 83b4b8ba..00000000 --- a/python/pykde/doc/classref/khtml/DOM.CSSStyleSheet.html +++ /dev/null @@ -1,78 +0,0 @@ - - - - - class DOM.CSSStyleSheet - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class DOM.CSSStyleSheet


-
- - - - - -
Table of contents
Modules
khtml Classes
All Classes
-
- - - - - - - - - - -
Modulekhtml
ClassDOM.CSSStyleSheet
InheritsDOM.StyleSheet
-

methods

    -
  • CSSStyleSheet () -
    -
    returns a CSSStyleSheet instance

  • -
  • CSSStyleSheet (other) -
    -
    returns a CSSStyleSheet instance
    - -
    ArgumentTypeDefault
    otherDOM.CSSStyleSheet
    -

  • -
  • CSSStyleSheet (other) -
    -
    returns a CSSStyleSheet instance
    - -
    ArgumentTypeDefault
    otherDOM.StyleSheet
    -

  • -
  • CSSStyleSheet (impl) -
    Not Implemented
    -

  • -
  • cssRules () -
    -
    returns (DOM.CSSRuleList)

  • -
  • deleteRule (index) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    indexulong
    -

  • -
  • insertRule (rule, index) -
    -
    returns (ulong)
    - - -
    ArgumentTypeDefault
    ruleDOM.DOMString
    indexulong
    -

  • -
  • ownerRule () -
    -
    returns (DOM.CSSRule)

  • -
- - - diff --git a/python/pykde/doc/classref/khtml/DOM.CSSUnknownRule.html b/python/pykde/doc/classref/khtml/DOM.CSSUnknownRule.html deleted file mode 100644 index 963db0e1..00000000 --- a/python/pykde/doc/classref/khtml/DOM.CSSUnknownRule.html +++ /dev/null @@ -1,59 +0,0 @@ - - - - - class DOM.CSSUnknownRule - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class DOM.CSSUnknownRule


-
- - - - - -
Table of contents
Modules
khtml Classes
All Classes
-
- - - - - - - - - - -
Modulekhtml
ClassDOM.CSSUnknownRule
InheritsDOM.CSSRule
-

methods

    -
  • CSSUnknownRule () -
    -
    returns a CSSUnknownRule instance

  • -
  • CSSUnknownRule (other) -
    -
    returns a CSSUnknownRule instance
    - -
    ArgumentTypeDefault
    otherDOM.CSSUnknownRule
    -

  • -
  • CSSUnknownRule (other) -
    -
    returns a CSSUnknownRule instance
    - -
    ArgumentTypeDefault
    otherDOM.CSSRule
    -

  • -
  • CSSUnknownRule (impl) -
    Not Implemented
    -

  • -
- - - diff --git a/python/pykde/doc/classref/khtml/DOM.CSSValue.html b/python/pykde/doc/classref/khtml/DOM.CSSValue.html deleted file mode 100644 index b8bbec47..00000000 --- a/python/pykde/doc/classref/khtml/DOM.CSSValue.html +++ /dev/null @@ -1,81 +0,0 @@ - - - - - class DOM.CSSValue - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class DOM.CSSValue


-
- - - - - -
Table of contents
Modules
khtml Classes
All Classes
-
- - - - - - - - - - -
Modulekhtml
ClassDOM.CSSValue
Inherits
-

enums

    -
  • UnitTypes = {CSS_INHERIT, CSS_PRIMITIVE_VALUE, CSS_VALUE_LIST, CSS_CUSTOM, CSS_INITIAL -}
  • UnitTypes = {CSS_INHERIT, CSS_PRIMITIVE_VALUE, CSS_VALUE_LIST, CSS_CUSTOM -}
-

methods

    -
  • CSSValue () -
    -
    returns a CSSValue instance

  • -
  • CSSValue (other) -
    -
    returns a CSSValue instance
    - -
    ArgumentTypeDefault
    otherDOM.CSSValue
    -

  • -
  • CSSValue (impl) -
    Not Implemented
    -

  • -
  • cssText () -
    -
    returns (DOM.DOMString)

  • -
  • cssValueType () -
    -
    returns (ushort)

  • -
  • handle () -
    Not Implemented
    -

  • -
  • isCSSPrimitiveValue () -
    -
    returns (bool)

  • -
  • isCSSValueList () -
    -
    returns (bool)

  • -
  • isNull () -
    -
    returns (bool)

  • -
  • setCssText (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0DOM.DOMString
    -

  • -
- - - diff --git a/python/pykde/doc/classref/khtml/DOM.CSSValueList.html b/python/pykde/doc/classref/khtml/DOM.CSSValueList.html deleted file mode 100644 index 0b3e2266..00000000 --- a/python/pykde/doc/classref/khtml/DOM.CSSValueList.html +++ /dev/null @@ -1,68 +0,0 @@ - - - - - class DOM.CSSValueList - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class DOM.CSSValueList


-
- - - - - -
Table of contents
Modules
khtml Classes
All Classes
-
- - - - - - - - - - -
Modulekhtml
ClassDOM.CSSValueList
InheritsDOM.CSSValue
-

methods

    -
  • CSSValueList () -
    -
    returns a CSSValueList instance

  • -
  • CSSValueList (other) -
    -
    returns a CSSValueList instance
    - -
    ArgumentTypeDefault
    otherDOM.CSSValueList
    -

  • -
  • CSSValueList (other) -
    -
    returns a CSSValueList instance
    - -
    ArgumentTypeDefault
    otherDOM.CSSValue
    -

  • -
  • CSSValueList (impl) -
    Not Implemented
    -

  • -
  • item (index) -
    -
    returns (DOM.CSSValue)
    - -
    ArgumentTypeDefault
    indexulong
    -

  • -
  • length () -
    -
    returns (ulong)

  • -
- - - diff --git a/python/pykde/doc/classref/khtml/DOM.CharacterData.html b/python/pykde/doc/classref/khtml/DOM.CharacterData.html deleted file mode 100644 index 26e79518..00000000 --- a/python/pykde/doc/classref/khtml/DOM.CharacterData.html +++ /dev/null @@ -1,106 +0,0 @@ - - - - - class DOM.CharacterData - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class DOM.CharacterData


-
- - - - - -
Table of contents
Modules
khtml Classes
All Classes
-
- - - - - - - - - - -
Modulekhtml
ClassDOM.CharacterData
InheritsDOM.Node
-

methods

    -
  • CharacterData () -
    -
    returns a CharacterData instance

  • -
  • CharacterData (other) -
    -
    returns a CharacterData instance
    - -
    ArgumentTypeDefault
    otherDOM.CharacterData
    -

  • -
  • CharacterData (other) -
    -
    returns a CharacterData instance
    - -
    ArgumentTypeDefault
    otherDOM.Node
    -

  • -
  • CharacterData (i) -
    Not Implemented
    -

  • -
  • appendData (arg) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    argDOM.DOMString
    -

  • -
  • data () -
    -
    returns (DOM.DOMString)

  • -
  • deleteData (offset, count) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    offsetulong
    countulong
    -

  • -
  • insertData (offset, arg) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    offsetulong
    argDOM.DOMString
    -

  • -
  • length () -
    -
    returns (ulong)

  • -
  • replaceData (offset, count, arg) -
    -
    returns nothing
    - - - -
    ArgumentTypeDefault
    offsetulong
    countulong
    argDOM.DOMString
    -

  • -
  • setData (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0DOM.DOMString
    -

  • -
  • substringData (offset, count) -
    -
    returns (DOM.DOMString)
    - - -
    ArgumentTypeDefault
    offsetulong
    countulong
    -

  • -
- - - diff --git a/python/pykde/doc/classref/khtml/DOM.Comment.html b/python/pykde/doc/classref/khtml/DOM.Comment.html deleted file mode 100644 index 526f868c..00000000 --- a/python/pykde/doc/classref/khtml/DOM.Comment.html +++ /dev/null @@ -1,59 +0,0 @@ - - - - - class DOM.Comment - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class DOM.Comment


-
- - - - - -
Table of contents
Modules
khtml Classes
All Classes
-
- - - - - - - - - - -
Modulekhtml
ClassDOM.Comment
InheritsDOM.CharacterData
-

methods

    -
  • Comment () -
    -
    returns a Comment instance

  • -
  • Comment (other) -
    -
    returns a Comment instance
    - -
    ArgumentTypeDefault
    otherDOM.Comment
    -

  • -
  • Comment (other) -
    -
    returns a Comment instance
    - -
    ArgumentTypeDefault
    otherDOM.Node
    -

  • -
  • Comment (i) -
    Not Implemented
    -

  • -
- - - diff --git a/python/pykde/doc/classref/khtml/DOM.Counter.html b/python/pykde/doc/classref/khtml/DOM.Counter.html deleted file mode 100644 index 1bc741c3..00000000 --- a/python/pykde/doc/classref/khtml/DOM.Counter.html +++ /dev/null @@ -1,68 +0,0 @@ - - - - - class DOM.Counter - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class DOM.Counter


-
- - - - - -
Table of contents
Modules
khtml Classes
All Classes
-
- - - - - - - - - - -
Modulekhtml
ClassDOM.Counter
Inherits
-

methods

    -
  • Counter () -
    -
    returns a Counter instance

  • -
  • Counter (other) -
    -
    returns a Counter instance
    - -
    ArgumentTypeDefault
    otherDOM.Counter
    -

  • -
  • Counter (i) -
    Not Implemented
    -

  • -
  • handle () -
    Not Implemented
    -

  • -
  • identifier () -
    -
    returns (DOM.DOMString)

  • -
  • isNull () -
    -
    returns (bool)

  • -
  • listStyle () -
    -
    returns (DOM.DOMString)

  • -
  • separator () -
    -
    returns (DOM.DOMString)

  • -
- - - diff --git a/python/pykde/doc/classref/khtml/DOM.CustomNodeFilter.html b/python/pykde/doc/classref/khtml/DOM.CustomNodeFilter.html deleted file mode 100644 index e48c6172..00000000 --- a/python/pykde/doc/classref/khtml/DOM.CustomNodeFilter.html +++ /dev/null @@ -1,56 +0,0 @@ - - - - - class DOM.CustomNodeFilter - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class DOM.CustomNodeFilter


-
- - - - - -
Table of contents
Modules
khtml Classes
All Classes
-
- - - - - - - - - - -
Modulekhtml
ClassDOM.CustomNodeFilter
InheritsDOM.DomShared
-

methods

    -
  • CustomNodeFilter () -
    -
    returns a CustomNodeFilter instance

  • -
  • acceptNode (n) -
    -
    returns (short)
    - -
    ArgumentTypeDefault
    nDOM.Node
    -

  • -
  • customNodeFilterType () -
    -
    returns (DOM.DOMString)

  • -
  • isNull () -
    -
    returns (bool)

  • -
- - - diff --git a/python/pykde/doc/classref/khtml/DOM.DOMException.html b/python/pykde/doc/classref/khtml/DOM.DOMException.html deleted file mode 100644 index cb254cbd..00000000 --- a/python/pykde/doc/classref/khtml/DOM.DOMException.html +++ /dev/null @@ -1,60 +0,0 @@ - - - - - class DOM.DOMException - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class DOM.DOMException


-
- - - - - -
Table of contents
Modules
khtml Classes
All Classes
-
- - - - - - - - - - -
Modulekhtml
ClassDOM.DOMException
Inherits
-

enums

    -
  • ExceptionCode = {INDEX_SIZE_ERR, DOMSTRING_SIZE_ERR, HIERARCHY_REQUEST_ERR, WRONG_DOCUMENT_ERR, INVALID_CHARACTER_ERR, NO_DATA_ALLOWED_ERR, NO_MODIFICATION_ALLOWED_ERR, NOT_FOUND_ERR, NOT_SUPPORTED_ERR, INUSE_ATTRIBUTE_ERR, INVALID_STATE_ERR, SYNTAX_ERR, INVALID_MODIFICATION_ERR, NAMESPACE_ERR, INVALID_ACCESS_ERR -}
-

methods

    -
  • DOMException (_code) -
    -
    returns a DOMException instance
    - -
    ArgumentTypeDefault
    _codeushort
    -

  • -
  • DOMException (other) -
    -
    returns a DOMException instance
    - -
    ArgumentTypeDefault
    otherDOM.DOMException
    -

  • -
-

variables

- - - diff --git a/python/pykde/doc/classref/khtml/DOM.DOMImplementation.html b/python/pykde/doc/classref/khtml/DOM.DOMImplementation.html deleted file mode 100644 index 1ddd5033..00000000 --- a/python/pykde/doc/classref/khtml/DOM.DOMImplementation.html +++ /dev/null @@ -1,101 +0,0 @@ - - - - - class DOM.DOMImplementation - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class DOM.DOMImplementation


-
- - - - - -
Table of contents
Modules
khtml Classes
All Classes
-
- - - - - - - - - - -
Modulekhtml
ClassDOM.DOMImplementation
Inherits
-

methods

    -
  • DOMImplementation () -
    -
    returns a DOMImplementation instance

  • -
  • DOMImplementation (other) -
    -
    returns a DOMImplementation instance
    - -
    ArgumentTypeDefault
    otherDOM.DOMImplementation
    -

  • -
  • DOMImplementation (i) -
    Not Implemented
    -

  • -
  • createCSSStyleSheet (title, media) -
    -
    returns (DOM.CSSStyleSheet)
    - - -
    ArgumentTypeDefault
    titleDOM.DOMString
    mediaDOM.DOMString
    -

  • -
  • createDocument (namespaceURI, qualifiedName, doctype) -
    -
    returns (DOM.Document)
    - - - -
    ArgumentTypeDefault
    namespaceURIDOM.DOMString
    qualifiedNameDOM.DOMString
    doctypeDOM.DocumentType
    -

  • -
  • createDocumentType (qualifiedName, publicId, systemId) -
    -
    returns (DOM.DocumentType)
    - - - -
    ArgumentTypeDefault
    qualifiedNameDOM.DOMString
    publicIdDOM.DOMString
    systemIdDOM.DOMString
    -

  • -
  • createHTMLDocument (title) -
    -
    returns (DOM.HTMLDocument)
    - -
    ArgumentTypeDefault
    titleDOM.DOMString
    -

  • -
  • getInterface (feature) -
    -
    returns (DOM.DOMImplementation)
    - -
    ArgumentTypeDefault
    featureDOM.DOMString
    -

  • -
  • handle () -
    Not Implemented
    -

  • -
  • hasFeature (feature, version) -
    -
    returns (bool)
    - - -
    ArgumentTypeDefault
    featureDOM.DOMString
    versionDOM.DOMString
    -

  • -
  • isNull () -
    -
    returns (bool)

  • -
- - - diff --git a/python/pykde/doc/classref/khtml/DOM.DOMString.html b/python/pykde/doc/classref/khtml/DOM.DOMString.html deleted file mode 100644 index d2522121..00000000 --- a/python/pykde/doc/classref/khtml/DOM.DOMString.html +++ /dev/null @@ -1,158 +0,0 @@ - - - - - class DOM.DOMString - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class DOM.DOMString


-
- - - - - -
Table of contents
Modules
khtml Classes
All Classes
-
- - - - - - - - - - -
Modulekhtml
ClassDOM.DOMString
Inherits
-

methods

    -
  • DOMString () -
    -
    returns a DOMString instance

  • -
  • DOMString (str, len) -
    -
    returns a DOMString instance
    - - -
    ArgumentTypeDefault
    strTQChar
    lenuint
    -

  • -
  • DOMString (a0) -
    -
    returns a DOMString instance
    - -
    ArgumentTypeDefault
    a0TQString
    -

  • -
  • DOMString (str) -
    -
    returns a DOMString instance
    - -
    ArgumentTypeDefault
    strchar
    -

  • -
  • DOMString (i) -
    Not Implemented
    -

  • -
  • DOMString (str) -
    -
    returns a DOMString instance
    - -
    ArgumentTypeDefault
    strDOM.DOMString
    -

  • -
  • copy () -
    -
    returns (DOM.DOMString)

  • -
  • find (c, start = 0) -
    -
    returns (int)
    - - -
    ArgumentTypeDefault
    cTQChar
    startint0
    -

  • -
  • implementation () -
    Not Implemented
    -

  • -
  • insert (str, pos) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    strDOM.DOMString
    posuint
    -

  • -
  • isEmpty () -
    -
    returns (bool)

  • -
  • isNull () -
    -
    returns (bool)

  • -
  • length () -
    -
    returns (uint)

  • -
  • lower () -
    -
    returns (DOM.DOMString)

  • -
  • percentage () -
    -
    returns (bool) _percentage (int)

  • -
  • remove (pos, len = 1) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    posuint
    lenint1
    -

  • -
  • split (pos) -
    -
    returns (DOM.DOMString)
    - -
    ArgumentTypeDefault
    posuint
    -

  • -
  • string () -
    -
    returns (TQString)

  • -
  • toInt () -
    -
    returns (int)

  • -
  • truncate (len) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    lenuint
    -

  • -
  • unicode () -
    -
    returns (TQChar)

  • -
  • upper () -
    -
    returns (DOM.DOMString)

  • -
-

operators

    -
  • operator + (a0) -
    -
    returns (DOM.DOMString)
    - -
    ArgumentTypeDefault
    a0DOM.DOMString
    -

  • -
  • operator += (a0) -
    -
    returns (DOM.DOMString)
    - -
    ArgumentTypeDefault
    a0DOM.DOMString
    -

  • -
  • operator [] (index) -
    -
    returns (TQChar),
    - -
    ArgumentTypeDefault
    indexin
    -

  • -
- - - diff --git a/python/pykde/doc/classref/khtml/DOM.Document.html b/python/pykde/doc/classref/khtml/DOM.Document.html deleted file mode 100644 index dd12a983..00000000 --- a/python/pykde/doc/classref/khtml/DOM.Document.html +++ /dev/null @@ -1,292 +0,0 @@ - - - - - class DOM.Document - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class DOM.Document


-
- - - - - -
Table of contents
Modules
khtml Classes
All Classes
-
- - - - - - - - - - -
Modulekhtml
ClassDOM.Document
InheritsDOM.Node
-

methods

    -
  • Document () -
    -
    returns a Document instance

  • -
  • Document (a0) -
    -
    returns a Document instance
    - -
    ArgumentTypeDefault
    a0bool
    -

  • -
  • Document (other) -
    -
    returns a Document instance
    - -
    ArgumentTypeDefault
    otherDOM.Document
    -

  • -
  • Document (other) -
    -
    returns a Document instance
    - -
    ArgumentTypeDefault
    otherDOM.Node
    -

  • -
  • Document (i) -
    Not Implemented
    -

  • -
  • Document (a0) -
    Not Implemented
    -

  • -
  • abort () -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only

  • -
  • addStyleSheet (sheet) -
    - -
    returns nothing
    In versions KDE 3.4.0 and above only
    - -
    ArgumentTypeDefault
    sheetDOM.StyleSheet
    -

  • -
  • async () -
    - -
    returns (bool)
    In versions KDE 3.2.0 and above only

  • -
  • completeURL (url) -
    -
    returns (DOM.DOMString)
    - -
    ArgumentTypeDefault
    urlDOM.DOMString
    -

  • -
  • createAttribute (name) -
    -
    returns (DOM.Attr)
    - -
    ArgumentTypeDefault
    nameDOM.DOMString
    -

  • -
  • createAttributeNS (namespaceURI, qualifiedName) -
    -
    returns (DOM.Attr)
    - - -
    ArgumentTypeDefault
    namespaceURIDOM.DOMString
    qualifiedNameDOM.DOMString
    -

  • -
  • createCDATASection (data) -
    -
    returns (DOM.CDATASection)
    - -
    ArgumentTypeDefault
    dataDOM.DOMString
    -

  • -
  • createComment (data) -
    -
    returns (DOM.Comment)
    - -
    ArgumentTypeDefault
    dataDOM.DOMString
    -

  • -
  • createDocumentFragment () -
    -
    returns (DOM.DocumentFragment)

  • -
  • createElement (tagName) -
    -
    returns (DOM.Element)
    - -
    ArgumentTypeDefault
    tagNameDOM.DOMString
    -

  • -
  • createElementNS (namespaceURI, qualifiedName) -
    -
    returns (DOM.Element)
    - - -
    ArgumentTypeDefault
    namespaceURIDOM.DOMString
    qualifiedNameDOM.DOMString
    -

  • -
  • createEntityReference (name) -
    -
    returns (DOM.EntityReference)
    - -
    ArgumentTypeDefault
    nameDOM.DOMString
    -

  • -
  • createEvent (eventType) -
    -
    returns (DOM.Event)
    - -
    ArgumentTypeDefault
    eventTypeDOM.DOMString
    -

  • -
  • createNodeIterator (root, whatToShow, filter, entityReferenceExpansion) -
    -
    returns (DOM.NodeIterator)
    - - - - -
    ArgumentTypeDefault
    rootDOM.Node
    whatToShowulong
    filterDOM.NodeFilter
    entityReferenceExpansionbool
    -

  • -
  • createProcessingInstruction (target, data) -
    -
    returns (DOM.ProcessingInstruction)
    - - -
    ArgumentTypeDefault
    targetDOM.DOMString
    dataDOM.DOMString
    -

  • -
  • createRange () -
    -
    returns (DOM.Range)

  • -
  • createTextNode (data) -
    -
    returns (DOM.Text)
    - -
    ArgumentTypeDefault
    dataDOM.DOMString
    -

  • -
  • createTreeWalker (root, whatToShow, filter, entityReferenceExpansion) -
    -
    returns (DOM.TreeWalker)
    - - - - -
    ArgumentTypeDefault
    rootDOM.Node
    whatToShowulong
    filterDOM.NodeFilter
    entityReferenceExpansionbool
    -

  • -
  • defaultView () -
    -
    returns (DOM.AbstractView)

  • -
  • designMode () -
    - -
    returns (bool)
    In versions KDE 3.2.0 and above only

  • -
  • doctype () -
    -
    returns (DOM.DocumentType)

  • -
  • documentElement () -
    -
    returns (DOM.Element)

  • -
  • getElementById (elementId) -
    -
    returns (DOM.Element)
    - -
    ArgumentTypeDefault
    elementIdDOM.DOMString
    -

  • -
  • getElementsByTagName (tagname) -
    -
    returns (DOM.NodeList)
    - -
    ArgumentTypeDefault
    tagnameDOM.DOMString
    -

  • -
  • getElementsByTagNameNS (namespaceURI, localName) -
    -
    returns (DOM.NodeList)
    - - -
    ArgumentTypeDefault
    namespaceURIDOM.DOMString
    localNameDOM.DOMString
    -

  • -
  • getOverrideStyle (elt, pseudoElt) -
    -
    returns (DOM.CSSStyleDeclaration)
    - - -
    ArgumentTypeDefault
    eltDOM.Element
    pseudoEltDOM.DOMString
    -

  • -
  • implementation () -
    -
    returns (DOM.DOMImplementation)

  • -
  • importNode (importedNode, deep) -
    -
    returns (DOM.Node)
    - - -
    ArgumentTypeDefault
    importedNodeDOM.Node
    deepbool
    -

  • -
  • isHTMLDocument () -
    -
    returns (bool)

  • -
  • load (uri) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    uriDOM.DOMString
    -

  • -
  • loadXML (source) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    sourceDOM.DOMString
    -

  • -
  • preferredStylesheetSet () -
    - -
    returns (DOM.DOMString)
    In versions KDE 3.2.0 and above only

  • -
  • removeStyleSheet (sheet) -
    - -
    returns nothing
    In versions KDE 3.4.0 and above only
    - -
    ArgumentTypeDefault
    sheetDOM.StyleSheet
    -

  • -
  • selectedStylesheetSet () -
    - -
    returns (DOM.DOMString)
    In versions KDE 3.2.0 and above only

  • -
  • setAsync (a0) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    a0bool
    -

  • -
  • setDesignMode (enable) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    enablebool
    -

  • -
  • setSelectedStylesheetSet (aString) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    aStringDOM.DOMString
    -

  • -
  • styleSheets () -
    -
    returns (DOM.StyleSheetList)

  • -
  • toString () -
    - -
    returns (DOM.DOMString)
    In versions KDE 3.3.0 and above only

  • -
  • updateRendering () -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only

  • -
  • view () -
    -
    returns (KHTMLView)

  • -
- - - diff --git a/python/pykde/doc/classref/khtml/DOM.DocumentFragment.html b/python/pykde/doc/classref/khtml/DOM.DocumentFragment.html deleted file mode 100644 index d35a07a8..00000000 --- a/python/pykde/doc/classref/khtml/DOM.DocumentFragment.html +++ /dev/null @@ -1,59 +0,0 @@ - - - - - class DOM.DocumentFragment - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class DOM.DocumentFragment


-
- - - - - -
Table of contents
Modules
khtml Classes
All Classes
-
- - - - - - - - - - -
Modulekhtml
ClassDOM.DocumentFragment
InheritsDOM.Node
-

methods

    -
  • DocumentFragment () -
    -
    returns a DocumentFragment instance

  • -
  • DocumentFragment (other) -
    -
    returns a DocumentFragment instance
    - -
    ArgumentTypeDefault
    otherDOM.DocumentFragment
    -

  • -
  • DocumentFragment (other) -
    -
    returns a DocumentFragment instance
    - -
    ArgumentTypeDefault
    otherDOM.Node
    -

  • -
  • DocumentFragment (i) -
    Not Implemented
    -

  • -
- - - diff --git a/python/pykde/doc/classref/khtml/DOM.DocumentStyle.html b/python/pykde/doc/classref/khtml/DOM.DocumentStyle.html deleted file mode 100644 index 1b2df6eb..00000000 --- a/python/pykde/doc/classref/khtml/DOM.DocumentStyle.html +++ /dev/null @@ -1,71 +0,0 @@ - - - - - class DOM.DocumentStyle - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class DOM.DocumentStyle


-
- - - - - -
Table of contents
Modules
khtml Classes
All Classes
-
- - - - - - - - - - -
Modulekhtml
ClassDOM.DocumentStyle
Inherits
-

methods

    -
  • DocumentStyle () -
    -
    returns a DocumentStyle instance

  • -
  • DocumentStyle (other) -
    -
    returns a DocumentStyle instance
    - -
    ArgumentTypeDefault
    otherDOM.DocumentStyle
    -

  • -
  • isNull () -
    -
    returns (bool)

  • -
  • preferredStylesheetSet () -
    - -
    returns (DOM.DOMString)
    In versions KDE 3.2.0 and above only

  • -
  • selectedStylesheetSet () -
    - -
    returns (DOM.DOMString)
    In versions KDE 3.2.0 and above only

  • -
  • setSelectedStylesheetSet (aString) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    aStringDOM.DOMString
    -

  • -
  • styleSheets () -
    -
    returns (DOM.StyleSheetList)

  • -
- - - diff --git a/python/pykde/doc/classref/khtml/DOM.DocumentType.html b/python/pykde/doc/classref/khtml/DOM.DocumentType.html deleted file mode 100644 index 3c7911ed..00000000 --- a/python/pykde/doc/classref/khtml/DOM.DocumentType.html +++ /dev/null @@ -1,77 +0,0 @@ - - - - - class DOM.DocumentType - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class DOM.DocumentType


-
- - - - - -
Table of contents
Modules
khtml Classes
All Classes
-
- - - - - - - - - - -
Modulekhtml
ClassDOM.DocumentType
InheritsDOM.Node
-

methods

    -
  • DocumentType () -
    -
    returns a DocumentType instance

  • -
  • DocumentType (other) -
    -
    returns a DocumentType instance
    - -
    ArgumentTypeDefault
    otherDOM.DocumentType
    -

  • -
  • DocumentType (other) -
    -
    returns a DocumentType instance
    - -
    ArgumentTypeDefault
    otherDOM.Node
    -

  • -
  • DocumentType (impl) -
    Not Implemented
    -

  • -
  • entities () -
    -
    returns (DOM.NamedNodeMap)

  • -
  • internalSubset () -
    -
    returns (DOM.DOMString)

  • -
  • name () -
    -
    returns (DOM.DOMString)

  • -
  • notations () -
    -
    returns (DOM.NamedNodeMap)

  • -
  • publicId () -
    -
    returns (DOM.DOMString)

  • -
  • systemId () -
    -
    returns (DOM.DOMString)

  • -
- - - diff --git a/python/pykde/doc/classref/khtml/DOM.DomShared.html b/python/pykde/doc/classref/khtml/DOM.DomShared.html deleted file mode 100644 index 885a8ac1..00000000 --- a/python/pykde/doc/classref/khtml/DOM.DomShared.html +++ /dev/null @@ -1,59 +0,0 @@ - - - - - class DOM.DomShared - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class DOM.DomShared


-
- - - - - -
Table of contents
Modules
khtml Classes
All Classes
-
- - - - - - - - - - -
Modulekhtml
ClassDOM.DomShared
Inherits
-

methods

    -
  • DomShared () -
    -
    returns a DomShared instance

  • -
  • deleteMe () -
    -
    returns (bool)

  • -
  • deref () -
    -
    returns nothing

  • -
  • hasOneRef () -
    -
    returns (bool)

  • -
  • ref () -
    -
    returns nothing

  • -
  • refCount () -
    -
    returns (uint)

  • -
- - - diff --git a/python/pykde/doc/classref/khtml/DOM.Element.html b/python/pykde/doc/classref/khtml/DOM.Element.html deleted file mode 100644 index c7fd5bed..00000000 --- a/python/pykde/doc/classref/khtml/DOM.Element.html +++ /dev/null @@ -1,220 +0,0 @@ - - - - - class DOM.Element - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class DOM.Element


-
- - - - - -
Table of contents
Modules
khtml Classes
All Classes
-
- - - - - - - - - - -
Modulekhtml
ClassDOM.Element
InheritsDOM.Node
-

methods

    -
  • Element () -
    -
    returns a Element instance

  • -
  • Element (other) -
    -
    returns a Element instance
    - -
    ArgumentTypeDefault
    otherDOM.Node
    -

  • -
  • Element (other) -
    -
    returns a Element instance
    - -
    ArgumentTypeDefault
    otherDOM.Element
    -

  • -
  • Element (_impl) -
    Not Implemented
    -

  • -
  • contentEditable () -
    - -
    returns (bool)
    In versions KDE 3.2.0 and above only

  • -
  • form () -
    - -
    returns (DOM.Element)
    In versions KDE 3.1.0 and above only

  • -
  • getAttribute (name) -
    -
    returns (DOM.DOMString)
    - -
    ArgumentTypeDefault
    nameDOM.DOMString
    -

  • -
  • getAttributeNS (namespaceURI, localName) -
    -
    returns (DOM.DOMString)
    - - -
    ArgumentTypeDefault
    namespaceURIDOM.DOMString
    localNameDOM.DOMString
    -

  • -
  • getAttributeNode (name) -
    -
    returns (DOM.Attr)
    - -
    ArgumentTypeDefault
    nameDOM.DOMString
    -

  • -
  • getAttributeNodeNS (namespaceURI, localName) -
    -
    returns (DOM.Attr)
    - - -
    ArgumentTypeDefault
    namespaceURIDOM.DOMString
    localNameDOM.DOMString
    -

  • -
  • getElementsByTagName (name) -
    -
    returns (DOM.NodeList)
    - -
    ArgumentTypeDefault
    nameDOM.DOMString
    -

  • -
  • getElementsByTagNameNS (namespaceURI, localName) -
    -
    returns (DOM.NodeList)
    - - -
    ArgumentTypeDefault
    namespaceURIDOM.DOMString
    localNameDOM.DOMString
    -

  • -
  • hasAttribute (name) -
    -
    returns (bool)
    - -
    ArgumentTypeDefault
    nameDOM.DOMString
    -

  • -
  • hasAttributeNS (namespaceURI, localName) -
    -
    returns (bool)
    - - -
    ArgumentTypeDefault
    namespaceURIDOM.DOMString
    localNameDOM.DOMString
    -

  • -
  • isHTMLElement () -
    -
    returns (bool)

  • -
  • khtmlMalformedPrefix (name) -
    - -
    returns (bool)
    static
    - -
    ArgumentTypeDefault
    nameDOM.DOMString
    -

  • -
  • khtmlMalformedQualifiedName (name) -
    - -
    returns (bool)
    static
    - -
    ArgumentTypeDefault
    nameDOM.DOMString
    -

  • -
  • khtmlValidAttrName (name) -
    - -
    returns (bool)
    static
    - -
    ArgumentTypeDefault
    nameDOM.DOMString
    -

  • -
  • khtmlValidPrefix (name) -
    - -
    returns (bool)
    static
    - -
    ArgumentTypeDefault
    nameDOM.DOMString
    -

  • -
  • khtmlValidQualifiedName (name) -
    - -
    returns (bool)
    static
    - -
    ArgumentTypeDefault
    nameDOM.DOMString
    -

  • -
  • normalize () -
    - -
    returns nothing
    In versions less than KDE 3.1.2 only

  • -
  • removeAttribute (name) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    nameDOM.DOMString
    -

  • -
  • removeAttributeNS (namespaceURI, localName) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    namespaceURIDOM.DOMString
    localNameDOM.DOMString
    -

  • -
  • removeAttributeNode (oldAttr) -
    -
    returns (DOM.Attr)
    - -
    ArgumentTypeDefault
    oldAttrDOM.Attr
    -

  • -
  • setAttribute (name, value) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    nameDOM.DOMString
    valueDOM.DOMString
    -

  • -
  • setAttributeNS (namespaceURI, qualifiedName, value) -
    -
    returns nothing
    - - - -
    ArgumentTypeDefault
    namespaceURIDOM.DOMString
    qualifiedNameDOM.DOMString
    valueDOM.DOMString
    -

  • -
  • setAttributeNode (newAttr) -
    -
    returns (DOM.Attr)
    - -
    ArgumentTypeDefault
    newAttrDOM.Attr
    -

  • -
  • setAttributeNodeNS (newAttr) -
    -
    returns (DOM.Attr)
    - -
    ArgumentTypeDefault
    newAttrDOM.Attr
    -

  • -
  • setContentEditable (enabled) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    enabledbool
    -

  • -
  • style () -
    -
    returns (DOM.CSSStyleDeclaration)

  • -
  • tagName () -
    -
    returns (DOM.DOMString)

  • -
- - - diff --git a/python/pykde/doc/classref/khtml/DOM.Entity.html b/python/pykde/doc/classref/khtml/DOM.Entity.html deleted file mode 100644 index c264e3c6..00000000 --- a/python/pykde/doc/classref/khtml/DOM.Entity.html +++ /dev/null @@ -1,68 +0,0 @@ - - - - - class DOM.Entity - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class DOM.Entity


-
- - - - - -
Table of contents
Modules
khtml Classes
All Classes
-
- - - - - - - - - - -
Modulekhtml
ClassDOM.Entity
InheritsDOM.Node
-

methods

    -
  • Entity () -
    -
    returns a Entity instance

  • -
  • Entity (other) -
    -
    returns a Entity instance
    - -
    ArgumentTypeDefault
    otherDOM.Entity
    -

  • -
  • Entity (other) -
    -
    returns a Entity instance
    - -
    ArgumentTypeDefault
    otherDOM.Node
    -

  • -
  • Entity (i) -
    Not Implemented
    -

  • -
  • notationName () -
    -
    returns (DOM.DOMString)

  • -
  • publicId () -
    -
    returns (DOM.DOMString)

  • -
  • systemId () -
    -
    returns (DOM.DOMString)

  • -
- - - diff --git a/python/pykde/doc/classref/khtml/DOM.EntityReference.html b/python/pykde/doc/classref/khtml/DOM.EntityReference.html deleted file mode 100644 index de2a1d73..00000000 --- a/python/pykde/doc/classref/khtml/DOM.EntityReference.html +++ /dev/null @@ -1,59 +0,0 @@ - - - - - class DOM.EntityReference - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class DOM.EntityReference


-
- - - - - -
Table of contents
Modules
khtml Classes
All Classes
-
- - - - - - - - - - -
Modulekhtml
ClassDOM.EntityReference
InheritsDOM.Node
-

methods

    -
  • EntityReference () -
    -
    returns a EntityReference instance

  • -
  • EntityReference (other) -
    -
    returns a EntityReference instance
    - -
    ArgumentTypeDefault
    otherDOM.EntityReference
    -

  • -
  • EntityReference (other) -
    -
    returns a EntityReference instance
    - -
    ArgumentTypeDefault
    otherDOM.Node
    -

  • -
  • EntityReference (i) -
    Not Implemented
    -

  • -
- - - diff --git a/python/pykde/doc/classref/khtml/DOM.Event.html b/python/pykde/doc/classref/khtml/DOM.Event.html deleted file mode 100644 index 1dd15f6e..00000000 --- a/python/pykde/doc/classref/khtml/DOM.Event.html +++ /dev/null @@ -1,101 +0,0 @@ - - - - - class DOM.Event - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class DOM.Event


-
- - - - - -
Table of contents
Modules
khtml Classes
All Classes
-
- - - - - - - - - - -
Modulekhtml
ClassDOM.Event
Inherits
-

enums

    -
  • PhaseType = {CAPTURING_PHASE, AT_TARGET, BUBBLING_PHASE -}
-

methods

    -
  • Event () -
    -
    returns a Event instance

  • -
  • Event (other) -
    -
    returns a Event instance
    - -
    ArgumentTypeDefault
    otherDOM.Event
    -

  • -
  • Event (i) -
    Not Implemented
    -

  • -
  • bubbles () -
    -
    returns (bool)

  • -
  • cancelable () -
    -
    returns (bool)

  • -
  • currentTarget () -
    -
    returns (DOM.Node)

  • -
  • eventModuleName () -
    - -
    returns (DOM.DOMString)
    In versions less than KDE 3.2.0 only

  • -
  • eventPhase () -
    -
    returns (ushort)

  • -
  • handle () -
    Not Implemented
    -

  • -
  • initEvent (eventTypeArg, canBubbleArg, cancelableArg) -
    -
    returns nothing
    - - - -
    ArgumentTypeDefault
    eventTypeArgDOM.DOMString
    canBubbleArgbool
    cancelableArgbool
    -

  • -
  • isNull () -
    -
    returns (bool)

  • -
  • preventDefault () -
    -
    returns nothing

  • -
  • stopPropagation () -
    -
    returns nothing

  • -
  • target () -
    -
    returns (DOM.Node)

  • -
  • timeStamp () -
    -
    returns (DOMTimeStamp)

  • -
  • type () -
    -
    returns (DOM.DOMString)

  • -
- - - diff --git a/python/pykde/doc/classref/khtml/DOM.EventException.html b/python/pykde/doc/classref/khtml/DOM.EventException.html deleted file mode 100644 index de6744ae..00000000 --- a/python/pykde/doc/classref/khtml/DOM.EventException.html +++ /dev/null @@ -1,60 +0,0 @@ - - - - - class DOM.EventException - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class DOM.EventException


-
- - - - - -
Table of contents
Modules
khtml Classes
All Classes
-
- - - - - - - - - - -
Modulekhtml
ClassDOM.EventException
Inherits
-

enums

    -
  • EventExceptionCode = {UNSPECIFIED_EVENT_TYPE_ERR -}
-

methods

    -
  • EventException (_code) -
    -
    returns a EventException instance
    - -
    ArgumentTypeDefault
    _codeushort
    -

  • -
  • EventException (other) -
    -
    returns a EventException instance
    - -
    ArgumentTypeDefault
    otherDOM.EventException
    -

  • -
-

variables

- - - diff --git a/python/pykde/doc/classref/khtml/DOM.EventListener.html b/python/pykde/doc/classref/khtml/DOM.EventListener.html deleted file mode 100644 index 54257ce3..00000000 --- a/python/pykde/doc/classref/khtml/DOM.EventListener.html +++ /dev/null @@ -1,53 +0,0 @@ - - - - - class DOM.EventListener - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class DOM.EventListener


-
- - - - - -
Table of contents
Modules
khtml Classes
All Classes
-
- - - - - - - - - - -
Modulekhtml
ClassDOM.EventListener
InheritsDOM.DomShared
-

methods

    -
  • EventListener () -
    -
    returns a EventListener instance

  • -
  • eventListenerType () -
    -
    returns (DOM.DOMString)

  • -
  • handleEvent (evt) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    evtDOM.Event
    -

  • -
- - - diff --git a/python/pykde/doc/classref/khtml/DOM.HTMLAnchorElement.html b/python/pykde/doc/classref/khtml/DOM.HTMLAnchorElement.html deleted file mode 100644 index 7ecfb866..00000000 --- a/python/pykde/doc/classref/khtml/DOM.HTMLAnchorElement.html +++ /dev/null @@ -1,173 +0,0 @@ - - - - - class DOM.HTMLAnchorElement - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class DOM.HTMLAnchorElement


-
- - - - - -
Table of contents
Modules
khtml Classes
All Classes
-
- - - - - - - - - - -
Modulekhtml
ClassDOM.HTMLAnchorElement
InheritsDOM.HTMLElement
-

methods

    -
  • HTMLAnchorElement () -
    -
    returns a HTMLAnchorElement instance

  • -
  • HTMLAnchorElement (other) -
    -
    returns a HTMLAnchorElement instance
    - -
    ArgumentTypeDefault
    otherDOM.HTMLAnchorElement
    -

  • -
  • HTMLAnchorElement (other) -
    -
    returns a HTMLAnchorElement instance
    - -
    ArgumentTypeDefault
    otherDOM.Node
    -

  • -
  • HTMLAnchorElement (impl) -
    Not Implemented
    -

  • -
  • accessKey () -
    -
    returns (DOM.DOMString)

  • -
  • blur () -
    -
    returns nothing

  • -
  • charset () -
    -
    returns (DOM.DOMString)

  • -
  • coords () -
    -
    returns (DOM.DOMString)

  • -
  • focus () -
    -
    returns nothing

  • -
  • href () -
    -
    returns (DOM.DOMString)

  • -
  • hreflang () -
    -
    returns (DOM.DOMString)

  • -
  • name () -
    -
    returns (DOM.DOMString)

  • -
  • rel () -
    -
    returns (DOM.DOMString)

  • -
  • rev () -
    -
    returns (DOM.DOMString)

  • -
  • setAccessKey (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0DOM.DOMString
    -

  • -
  • setCharset (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0DOM.DOMString
    -

  • -
  • setCoords (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0DOM.DOMString
    -

  • -
  • setHref (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0DOM.DOMString
    -

  • -
  • setHreflang (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0DOM.DOMString
    -

  • -
  • setName (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0DOM.DOMString
    -

  • -
  • setRel (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0DOM.DOMString
    -

  • -
  • setRev (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0DOM.DOMString
    -

  • -
  • setShape (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0DOM.DOMString
    -

  • -
  • setTabIndex (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0long
    -

  • -
  • setTarget (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0DOM.DOMString
    -

  • -
  • setType (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0DOM.DOMString
    -

  • -
  • shape () -
    -
    returns (DOM.DOMString)

  • -
  • tabIndex () -
    -
    returns (long)

  • -
  • target () -
    -
    returns (DOM.DOMString)

  • -
  • type () -
    -
    returns (DOM.DOMString)

  • -
- - - diff --git a/python/pykde/doc/classref/khtml/DOM.HTMLAppletElement.html b/python/pykde/doc/classref/khtml/DOM.HTMLAppletElement.html deleted file mode 100644 index b217715e..00000000 --- a/python/pykde/doc/classref/khtml/DOM.HTMLAppletElement.html +++ /dev/null @@ -1,180 +0,0 @@ - - - - - class DOM.HTMLAppletElement - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class DOM.HTMLAppletElement


-
- - - - - -
Table of contents
Modules
khtml Classes
All Classes
-
- - - - - - - - - - -
Modulekhtml
ClassDOM.HTMLAppletElement
InheritsDOM.HTMLElement
-

methods

    -
  • HTMLAppletElement () -
    -
    returns a HTMLAppletElement instance

  • -
  • HTMLAppletElement (other) -
    -
    returns a HTMLAppletElement instance
    - -
    ArgumentTypeDefault
    otherDOM.HTMLAppletElement
    -

  • -
  • HTMLAppletElement (other) -
    -
    returns a HTMLAppletElement instance
    - -
    ArgumentTypeDefault
    otherDOM.Node
    -

  • -
  • HTMLAppletElement (impl) -
    Not Implemented
    -

  • -
  • align () -
    -
    returns (DOM.DOMString)

  • -
  • alt () -
    -
    returns (DOM.DOMString)

  • -
  • archive () -
    -
    returns (DOM.DOMString)

  • -
  • code () -
    -
    returns (DOM.DOMString)

  • -
  • codeBase () -
    -
    returns (DOM.DOMString)

  • -
  • getHspace () -
    - -
    returns (long)
    In versions KDE 3.1.0 and above only

  • -
  • getVspace () -
    - -
    returns (long)
    In versions KDE 3.1.0 and above only

  • -
  • height () -
    -
    returns (DOM.DOMString)

  • -
  • hspace () -
    -
    returns (DOM.DOMString)

  • -
  • name () -
    -
    returns (DOM.DOMString)

  • -
  • object () -
    -
    returns (DOM.DOMString)

  • -
  • setAlign (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0DOM.DOMString
    -

  • -
  • setAlt (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0DOM.DOMString
    -

  • -
  • setArchive (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0DOM.DOMString
    -

  • -
  • setCode (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0DOM.DOMString
    -

  • -
  • setCodeBase (value) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    valueDOM.DOMString
    -

  • -
  • setHeight (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0DOM.DOMString
    -

  • -
  • setHspace (a0) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    a0long
    -

  • -
  • setHspace (value) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    valueDOM.DOMString
    -

  • -
  • setName (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0DOM.DOMString
    -

  • -
  • setObject (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0DOM.DOMString
    -

  • -
  • setVspace (a0) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    a0long
    -

  • -
  • setVspace (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0DOM.DOMString
    -

  • -
  • setWidth (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0DOM.DOMString
    -

  • -
  • vspace () -
    -
    returns (DOM.DOMString)

  • -
  • width () -
    -
    returns (DOM.DOMString)

  • -
- - - diff --git a/python/pykde/doc/classref/khtml/DOM.HTMLAreaElement.html b/python/pykde/doc/classref/khtml/DOM.HTMLAreaElement.html deleted file mode 100644 index 9f7b5db7..00000000 --- a/python/pykde/doc/classref/khtml/DOM.HTMLAreaElement.html +++ /dev/null @@ -1,131 +0,0 @@ - - - - - class DOM.HTMLAreaElement - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class DOM.HTMLAreaElement


-
- - - - - -
Table of contents
Modules
khtml Classes
All Classes
-
- - - - - - - - - - -
Modulekhtml
ClassDOM.HTMLAreaElement
InheritsDOM.HTMLElement
-

methods

    -
  • HTMLAreaElement () -
    -
    returns a HTMLAreaElement instance

  • -
  • HTMLAreaElement (other) -
    -
    returns a HTMLAreaElement instance
    - -
    ArgumentTypeDefault
    otherDOM.HTMLAreaElement
    -

  • -
  • HTMLAreaElement (other) -
    -
    returns a HTMLAreaElement instance
    - -
    ArgumentTypeDefault
    otherDOM.Node
    -

  • -
  • HTMLAreaElement (impl) -
    Not Implemented
    -

  • -
  • accessKey () -
    -
    returns (DOM.DOMString)

  • -
  • alt () -
    -
    returns (DOM.DOMString)

  • -
  • coords () -
    -
    returns (DOM.DOMString)

  • -
  • href () -
    -
    returns (DOM.DOMString)

  • -
  • noHref () -
    -
    returns (bool)

  • -
  • setAccessKey (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0DOM.DOMString
    -

  • -
  • setAlt (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0DOM.DOMString
    -

  • -
  • setCoords (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0DOM.DOMString
    -

  • -
  • setHref (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0DOM.DOMString
    -

  • -
  • setNoHref (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0bool
    -

  • -
  • setShape (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0DOM.DOMString
    -

  • -
  • setTabIndex (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0long
    -

  • -
  • setTarget (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0DOM.DOMString
    -

  • -
  • shape () -
    -
    returns (DOM.DOMString)

  • -
  • tabIndex () -
    -
    returns (long)

  • -
  • target () -
    -
    returns (DOM.DOMString)

  • -
- - - diff --git a/python/pykde/doc/classref/khtml/DOM.HTMLBRElement.html b/python/pykde/doc/classref/khtml/DOM.HTMLBRElement.html deleted file mode 100644 index 18b9b13c..00000000 --- a/python/pykde/doc/classref/khtml/DOM.HTMLBRElement.html +++ /dev/null @@ -1,68 +0,0 @@ - - - - - class DOM.HTMLBRElement - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class DOM.HTMLBRElement


-
- - - - - -
Table of contents
Modules
khtml Classes
All Classes
-
- - - - - - - - - - -
Modulekhtml
ClassDOM.HTMLBRElement
InheritsDOM.HTMLElement
-

methods

    -
  • HTMLBRElement () -
    -
    returns a HTMLBRElement instance

  • -
  • HTMLBRElement (other) -
    -
    returns a HTMLBRElement instance
    - -
    ArgumentTypeDefault
    otherDOM.HTMLBRElement
    -

  • -
  • HTMLBRElement (other) -
    -
    returns a HTMLBRElement instance
    - -
    ArgumentTypeDefault
    otherDOM.Node
    -

  • -
  • HTMLBRElement (impl) -
    Not Implemented
    -

  • -
  • clear () -
    -
    returns (DOM.DOMString)

  • -
  • setClear (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0DOM.DOMString
    -

  • -
- - - diff --git a/python/pykde/doc/classref/khtml/DOM.HTMLBaseElement.html b/python/pykde/doc/classref/khtml/DOM.HTMLBaseElement.html deleted file mode 100644 index 60ca3e9a..00000000 --- a/python/pykde/doc/classref/khtml/DOM.HTMLBaseElement.html +++ /dev/null @@ -1,77 +0,0 @@ - - - - - class DOM.HTMLBaseElement - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class DOM.HTMLBaseElement


-
- - - - - -
Table of contents
Modules
khtml Classes
All Classes
-
- - - - - - - - - - -
Modulekhtml
ClassDOM.HTMLBaseElement
InheritsDOM.HTMLElement
-

methods

    -
  • HTMLBaseElement () -
    -
    returns a HTMLBaseElement instance

  • -
  • HTMLBaseElement (other) -
    -
    returns a HTMLBaseElement instance
    - -
    ArgumentTypeDefault
    otherDOM.HTMLBaseElement
    -

  • -
  • HTMLBaseElement (other) -
    -
    returns a HTMLBaseElement instance
    - -
    ArgumentTypeDefault
    otherDOM.Node
    -

  • -
  • HTMLBaseElement (impl) -
    Not Implemented
    -

  • -
  • href () -
    -
    returns (DOM.DOMString)

  • -
  • setHref (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0DOM.DOMString
    -

  • -
  • setTarget (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0DOM.DOMString
    -

  • -
  • target () -
    -
    returns (DOM.DOMString)

  • -
- - - diff --git a/python/pykde/doc/classref/khtml/DOM.HTMLBaseFontElement.html b/python/pykde/doc/classref/khtml/DOM.HTMLBaseFontElement.html deleted file mode 100644 index 3218d92b..00000000 --- a/python/pykde/doc/classref/khtml/DOM.HTMLBaseFontElement.html +++ /dev/null @@ -1,97 +0,0 @@ - - - - - class DOM.HTMLBaseFontElement - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class DOM.HTMLBaseFontElement


-
- - - - - -
Table of contents
Modules
khtml Classes
All Classes
-
- - - - - - - - - - -
Modulekhtml
ClassDOM.HTMLBaseFontElement
InheritsDOM.HTMLElement
-

methods

    -
  • HTMLBaseFontElement () -
    -
    returns a HTMLBaseFontElement instance

  • -
  • HTMLBaseFontElement (other) -
    -
    returns a HTMLBaseFontElement instance
    - -
    ArgumentTypeDefault
    otherDOM.HTMLBaseFontElement
    -

  • -
  • HTMLBaseFontElement (other) -
    -
    returns a HTMLBaseFontElement instance
    - -
    ArgumentTypeDefault
    otherDOM.Node
    -

  • -
  • HTMLBaseFontElement (impl) -
    Not Implemented
    -

  • -
  • color () -
    -
    returns (DOM.DOMString)

  • -
  • face () -
    -
    returns (DOM.DOMString)

  • -
  • getSize () -
    - -
    returns (long)
    In versions KDE 3.1.0 and above only

  • -
  • setColor (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0DOM.DOMString
    -

  • -
  • setFace (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0DOM.DOMString
    -

  • -
  • setSize (a0) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    a0long
    -

  • -
  • setSize (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0DOM.DOMString
    -

  • -
  • size () -
    -
    returns (DOM.DOMString)

  • -
- - - diff --git a/python/pykde/doc/classref/khtml/DOM.HTMLBlockquoteElement.html b/python/pykde/doc/classref/khtml/DOM.HTMLBlockquoteElement.html deleted file mode 100644 index a34399d2..00000000 --- a/python/pykde/doc/classref/khtml/DOM.HTMLBlockquoteElement.html +++ /dev/null @@ -1,71 +0,0 @@ - - - - - class DOM.HTMLBlockquoteElement - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class DOM.HTMLBlockquoteElement


-
- - - - - -
Table of contents
Modules
khtml Classes
All Classes
-
- - - - - - - - - - -
Modulekhtml
ClassDOM.HTMLBlockquoteElement
InheritsDOM.HTMLElement
-

methods

    -
  • HTMLBlockquoteElement () -
    -
    returns a HTMLBlockquoteElement instance

  • -
  • HTMLBlockquoteElement (other) -
    -
    returns a HTMLBlockquoteElement instance
    - -
    ArgumentTypeDefault
    otherDOM.HTMLBlockquoteElement
    -

  • -
  • HTMLBlockquoteElement (other) -
    -
    returns a HTMLBlockquoteElement instance
    - -
    ArgumentTypeDefault
    otherDOM.Node
    -

  • -
  • HTMLBlockquoteElement (impl) -
    Not Implemented
    -

  • -
  • HTMLBlockquoteElement (a0) -
    Not Implemented
    -

  • -
  • cite () -
    -
    returns (DOM.DOMString)

  • -
  • setCite (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0DOM.DOMString
    -

  • -
- - - diff --git a/python/pykde/doc/classref/khtml/DOM.HTMLBodyElement.html b/python/pykde/doc/classref/khtml/DOM.HTMLBodyElement.html deleted file mode 100644 index 30686b4a..00000000 --- a/python/pykde/doc/classref/khtml/DOM.HTMLBodyElement.html +++ /dev/null @@ -1,113 +0,0 @@ - - - - - class DOM.HTMLBodyElement - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class DOM.HTMLBodyElement


-
- - - - - -
Table of contents
Modules
khtml Classes
All Classes
-
- - - - - - - - - - -
Modulekhtml
ClassDOM.HTMLBodyElement
InheritsDOM.HTMLElement
-

methods

    -
  • HTMLBodyElement () -
    -
    returns a HTMLBodyElement instance

  • -
  • HTMLBodyElement (other) -
    -
    returns a HTMLBodyElement instance
    - -
    ArgumentTypeDefault
    otherDOM.HTMLBodyElement
    -

  • -
  • HTMLBodyElement (other) -
    -
    returns a HTMLBodyElement instance
    - -
    ArgumentTypeDefault
    otherDOM.Node
    -

  • -
  • HTMLBodyElement (impl) -
    Not Implemented
    -

  • -
  • aLink () -
    -
    returns (DOM.DOMString)

  • -
  • background () -
    -
    returns (DOM.DOMString)

  • -
  • bgColor () -
    -
    returns (DOM.DOMString)

  • -
  • link () -
    -
    returns (DOM.DOMString)

  • -
  • setALink (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0DOM.DOMString
    -

  • -
  • setBackground (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0DOM.DOMString
    -

  • -
  • setBgColor (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0DOM.DOMString
    -

  • -
  • setLink (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0DOM.DOMString
    -

  • -
  • setText (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0DOM.DOMString
    -

  • -
  • setVLink (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0DOM.DOMString
    -

  • -
  • text () -
    -
    returns (DOM.DOMString)

  • -
  • vLink () -
    -
    returns (DOM.DOMString)

  • -
- - - diff --git a/python/pykde/doc/classref/khtml/DOM.HTMLButtonElement.html b/python/pykde/doc/classref/khtml/DOM.HTMLButtonElement.html deleted file mode 100644 index 5b3d3726..00000000 --- a/python/pykde/doc/classref/khtml/DOM.HTMLButtonElement.html +++ /dev/null @@ -1,118 +0,0 @@ - - - - - class DOM.HTMLButtonElement - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class DOM.HTMLButtonElement


-
- - - - - -
Table of contents
Modules
khtml Classes
All Classes
-
- - - - - - - - - - -
Modulekhtml
ClassDOM.HTMLButtonElement
InheritsDOM.HTMLElement
-

methods

    -
  • HTMLButtonElement () -
    -
    returns a HTMLButtonElement instance

  • -
  • HTMLButtonElement (other) -
    -
    returns a HTMLButtonElement instance
    - -
    ArgumentTypeDefault
    otherDOM.HTMLButtonElement
    -

  • -
  • HTMLButtonElement (other) -
    -
    returns a HTMLButtonElement instance
    - -
    ArgumentTypeDefault
    otherDOM.Node
    -

  • -
  • HTMLButtonElement (impl) -
    Not Implemented
    -

  • -
  • accessKey () -
    -
    returns (DOM.DOMString)

  • -
  • blur () -
    - -
    returns nothing
    In versions KDE 3.5.0 and above only

  • -
  • disabled () -
    -
    returns (bool)

  • -
  • focus () -
    - -
    returns nothing
    In versions KDE 3.5.0 and above only

  • -
  • form () -
    -
    returns (DOM.HTMLFormElement)

  • -
  • name () -
    -
    returns (DOM.DOMString)

  • -
  • setAccessKey (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0DOM.DOMString
    -

  • -
  • setDisabled (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0bool
    -

  • -
  • setName (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0DOM.DOMString
    -

  • -
  • setTabIndex (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0long
    -

  • -
  • setValue (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0DOM.DOMString
    -

  • -
  • tabIndex () -
    -
    returns (long)

  • -
  • type () -
    -
    returns (DOM.DOMString)

  • -
  • value () -
    -
    returns (DOM.DOMString)

  • -
- - - diff --git a/python/pykde/doc/classref/khtml/DOM.HTMLCollection.html b/python/pykde/doc/classref/khtml/DOM.HTMLCollection.html deleted file mode 100644 index 475cb693..00000000 --- a/python/pykde/doc/classref/khtml/DOM.HTMLCollection.html +++ /dev/null @@ -1,89 +0,0 @@ - - - - - class DOM.HTMLCollection - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class DOM.HTMLCollection


-
- - - - - -
Table of contents
Modules
khtml Classes
All Classes
-
- - - - - - - - - - -
Modulekhtml
ClassDOM.HTMLCollection
Inherits
-

methods

    -
  • HTMLCollection () -
    -
    returns a HTMLCollection instance

  • -
  • HTMLCollection (other) -
    -
    returns a HTMLCollection instance
    - -
    ArgumentTypeDefault
    otherDOM.HTMLCollection
    -

  • -
  • HTMLCollection (base, type) -
    Not Implemented
    -

  • -
  • base () -
    -
    returns (DOM.Node)

  • -
  • firstItem () -
    -
    returns (DOM.Node)

  • -
  • handle () -
    Not Implemented
    -

  • -
  • isNull () -
    -
    returns (bool)

  • -
  • item (index) -
    -
    returns (DOM.Node)
    - -
    ArgumentTypeDefault
    indexulong
    -

  • -
  • length () -
    -
    returns (ulong)

  • -
  • namedItem (name) -
    -
    returns (DOM.Node)
    - -
    ArgumentTypeDefault
    nameDOM.DOMString
    -

  • -
  • nextItem () -
    -
    returns (DOM.Node)

  • -
  • nextNamedItem (name) -
    -
    returns (DOM.Node)
    - -
    ArgumentTypeDefault
    nameDOM.DOMString
    -

  • -
- - - diff --git a/python/pykde/doc/classref/khtml/DOM.HTMLDListElement.html b/python/pykde/doc/classref/khtml/DOM.HTMLDListElement.html deleted file mode 100644 index ab14426e..00000000 --- a/python/pykde/doc/classref/khtml/DOM.HTMLDListElement.html +++ /dev/null @@ -1,68 +0,0 @@ - - - - - class DOM.HTMLDListElement - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class DOM.HTMLDListElement


-
- - - - - -
Table of contents
Modules
khtml Classes
All Classes
-
- - - - - - - - - - -
Modulekhtml
ClassDOM.HTMLDListElement
InheritsDOM.HTMLElement
-

methods

    -
  • HTMLDListElement () -
    -
    returns a HTMLDListElement instance

  • -
  • HTMLDListElement (other) -
    -
    returns a HTMLDListElement instance
    - -
    ArgumentTypeDefault
    otherDOM.HTMLDListElement
    -

  • -
  • HTMLDListElement (other) -
    -
    returns a HTMLDListElement instance
    - -
    ArgumentTypeDefault
    otherDOM.Node
    -

  • -
  • HTMLDListElement (impl) -
    Not Implemented
    -

  • -
  • compact () -
    -
    returns (bool)

  • -
  • setCompact (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0bool
    -

  • -
- - - diff --git a/python/pykde/doc/classref/khtml/DOM.HTMLDirectoryElement.html b/python/pykde/doc/classref/khtml/DOM.HTMLDirectoryElement.html deleted file mode 100644 index 1e5825fc..00000000 --- a/python/pykde/doc/classref/khtml/DOM.HTMLDirectoryElement.html +++ /dev/null @@ -1,68 +0,0 @@ - - - - - class DOM.HTMLDirectoryElement - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class DOM.HTMLDirectoryElement


-
- - - - - -
Table of contents
Modules
khtml Classes
All Classes
-
- - - - - - - - - - -
Modulekhtml
ClassDOM.HTMLDirectoryElement
InheritsDOM.HTMLElement
-

methods

    -
  • HTMLDirectoryElement () -
    -
    returns a HTMLDirectoryElement instance

  • -
  • HTMLDirectoryElement (other) -
    -
    returns a HTMLDirectoryElement instance
    - -
    ArgumentTypeDefault
    otherDOM.HTMLDirectoryElement
    -

  • -
  • HTMLDirectoryElement (other) -
    -
    returns a HTMLDirectoryElement instance
    - -
    ArgumentTypeDefault
    otherDOM.Node
    -

  • -
  • HTMLDirectoryElement (impl) -
    Not Implemented
    -

  • -
  • compact () -
    -
    returns (bool)

  • -
  • setCompact (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0bool
    -

  • -
- - - diff --git a/python/pykde/doc/classref/khtml/DOM.HTMLDivElement.html b/python/pykde/doc/classref/khtml/DOM.HTMLDivElement.html deleted file mode 100644 index 7b2cdcc7..00000000 --- a/python/pykde/doc/classref/khtml/DOM.HTMLDivElement.html +++ /dev/null @@ -1,68 +0,0 @@ - - - - - class DOM.HTMLDivElement - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class DOM.HTMLDivElement


-
- - - - - -
Table of contents
Modules
khtml Classes
All Classes
-
- - - - - - - - - - -
Modulekhtml
ClassDOM.HTMLDivElement
InheritsDOM.HTMLElement
-

methods

    -
  • HTMLDivElement () -
    -
    returns a HTMLDivElement instance

  • -
  • HTMLDivElement (other) -
    -
    returns a HTMLDivElement instance
    - -
    ArgumentTypeDefault
    otherDOM.HTMLDivElement
    -

  • -
  • HTMLDivElement (other) -
    -
    returns a HTMLDivElement instance
    - -
    ArgumentTypeDefault
    otherDOM.Node
    -

  • -
  • HTMLDivElement (impl) -
    Not Implemented
    -

  • -
  • align () -
    -
    returns (DOM.DOMString)

  • -
  • setAlign (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0DOM.DOMString
    -

  • -
- - - diff --git a/python/pykde/doc/classref/khtml/DOM.HTMLDocument.html b/python/pykde/doc/classref/khtml/DOM.HTMLDocument.html deleted file mode 100644 index ae8d21b1..00000000 --- a/python/pykde/doc/classref/khtml/DOM.HTMLDocument.html +++ /dev/null @@ -1,156 +0,0 @@ - - - - - class DOM.HTMLDocument - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class DOM.HTMLDocument


-
- - - - - -
Table of contents
Modules
khtml Classes
All Classes
-
- - - - - - - - - - -
Modulekhtml
ClassDOM.HTMLDocument
InheritsDOM.Document
-

methods

    -
  • HTMLDocument () -
    -
    returns a HTMLDocument instance

  • -
  • HTMLDocument (parent) -
    -
    returns a HTMLDocument instance
    - -
    ArgumentTypeDefault
    parentKHTMLView
    -

  • -
  • HTMLDocument (other) -
    -
    returns a HTMLDocument instance
    - -
    ArgumentTypeDefault
    otherDOM.HTMLDocument
    -

  • -
  • HTMLDocument (other) -
    -
    returns a HTMLDocument instance
    - -
    ArgumentTypeDefault
    otherDOM.Node
    -

  • -
  • HTMLDocument (impl) -
    Not Implemented
    -

  • -
  • URL () -
    -
    returns (DOM.DOMString)

  • -
  • all () -
    -
    returns (DOM.HTMLCollection)

  • -
  • anchors () -
    -
    returns (DOM.HTMLCollection)

  • -
  • applets () -
    -
    returns (DOM.HTMLCollection)

  • -
  • body () -
    -
    returns (DOM.HTMLElement)

  • -
  • close () -
    -
    returns nothing

  • -
  • completeURL (url) -
    -
    returns (DOM.DOMString)
    - -
    ArgumentTypeDefault
    urlDOM.DOMString
    -

  • -
  • cookie () -
    -
    returns (DOM.DOMString)

  • -
  • domain () -
    -
    returns (DOM.DOMString)

  • -
  • forms () -
    -
    returns (DOM.HTMLCollection)

  • -
  • getElementsByName (elementName) -
    -
    returns (DOM.NodeList)
    - -
    ArgumentTypeDefault
    elementNameDOM.DOMString
    -

  • -
  • images () -
    -
    returns (DOM.HTMLCollection)

  • -
  • lastModified () -
    -
    returns (DOM.DOMString)

  • -
  • layers () -
    - -
    returns (DOM.HTMLCollection)
    In versions KDE 3.3.2 and above only

  • -
  • links () -
    -
    returns (DOM.HTMLCollection)

  • -
  • open () -
    -
    returns nothing

  • -
  • referrer () -
    -
    returns (DOM.DOMString)

  • -
  • setBody (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0DOM.HTMLElement
    -

  • -
  • setCookie (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0DOM.DOMString
    -

  • -
  • setTitle (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0DOM.DOMString
    -

  • -
  • title () -
    -
    returns (DOM.DOMString)

  • -
  • write (text) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    textDOM.DOMString
    -

  • -
  • writeln (text) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    textDOM.DOMString
    -

  • -
- - - diff --git a/python/pykde/doc/classref/khtml/DOM.HTMLElement.html b/python/pykde/doc/classref/khtml/DOM.HTMLElement.html deleted file mode 100644 index 07cf8547..00000000 --- a/python/pykde/doc/classref/khtml/DOM.HTMLElement.html +++ /dev/null @@ -1,150 +0,0 @@ - - - - - class DOM.HTMLElement - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class DOM.HTMLElement


-
- - - - - -
Table of contents
Modules
khtml Classes
All Classes
-
- - - - - - - - - - -
Modulekhtml
ClassDOM.HTMLElement
InheritsDOM.Element
-

methods

    -
  • HTMLElement () -
    -
    returns a HTMLElement instance

  • -
  • HTMLElement (other) -
    -
    returns a HTMLElement instance
    - -
    ArgumentTypeDefault
    otherDOM.HTMLElement
    -

  • -
  • HTMLElement (other) -
    -
    returns a HTMLElement instance
    - -
    ArgumentTypeDefault
    otherDOM.Node
    -

  • -
  • HTMLElement (impl) -
    Not Implemented
    -

  • -
  • addCSSProperty (property, value) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    propertyDOM.DOMString
    valueDOM.DOMString
    -

  • -
  • all () -
    - -
    returns (DOM.HTMLCollection)
    In versions KDE 3.1.0 and above only

  • -
  • assignOther (other, elementId) -
    - -
    returns nothing
    In versions KDE 3.0.1 and above only
    - - -
    ArgumentTypeDefault
    otherDOM.Node
    elementIdint
    -

  • -
  • children () -
    -
    returns (DOM.HTMLCollection)

  • -
  • className () -
    -
    returns (DOM.DOMString)

  • -
  • dir () -
    -
    returns (DOM.DOMString)

  • -
  • id () -
    -
    returns (DOM.DOMString)

  • -
  • innerHTML () -
    -
    returns (DOM.DOMString)

  • -
  • innerText () -
    -
    returns (DOM.DOMString)

  • -
  • lang () -
    -
    returns (DOM.DOMString)

  • -
  • removeCSSProperty (property) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    propertyDOM.DOMString
    -

  • -
  • setClassName (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0DOM.DOMString
    -

  • -
  • setDir (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0DOM.DOMString
    -

  • -
  • setId (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0DOM.DOMString
    -

  • -
  • setInnerHTML (html) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    htmlDOM.DOMString
    -

  • -
  • setInnerText (text) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    textDOM.DOMString
    -

  • -
  • setLang (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0DOM.DOMString
    -

  • -
  • setTitle (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0DOM.DOMString
    -

  • -
  • title () -
    -
    returns (DOM.DOMString)

  • -
- - - diff --git a/python/pykde/doc/classref/khtml/DOM.HTMLFieldSetElement.html b/python/pykde/doc/classref/khtml/DOM.HTMLFieldSetElement.html deleted file mode 100644 index 86d49c49..00000000 --- a/python/pykde/doc/classref/khtml/DOM.HTMLFieldSetElement.html +++ /dev/null @@ -1,62 +0,0 @@ - - - - - class DOM.HTMLFieldSetElement - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class DOM.HTMLFieldSetElement


-
- - - - - -
Table of contents
Modules
khtml Classes
All Classes
-
- - - - - - - - - - -
Modulekhtml
ClassDOM.HTMLFieldSetElement
InheritsDOM.HTMLElement
-

methods

    -
  • HTMLFieldSetElement () -
    -
    returns a HTMLFieldSetElement instance

  • -
  • HTMLFieldSetElement (other) -
    -
    returns a HTMLFieldSetElement instance
    - -
    ArgumentTypeDefault
    otherDOM.HTMLFieldSetElement
    -

  • -
  • HTMLFieldSetElement (other) -
    -
    returns a HTMLFieldSetElement instance
    - -
    ArgumentTypeDefault
    otherDOM.Node
    -

  • -
  • HTMLFieldSetElement (impl) -
    Not Implemented
    -

  • -
  • form () -
    -
    returns (DOM.HTMLFormElement)

  • -
- - - diff --git a/python/pykde/doc/classref/khtml/DOM.HTMLFontElement.html b/python/pykde/doc/classref/khtml/DOM.HTMLFontElement.html deleted file mode 100644 index 8b793e71..00000000 --- a/python/pykde/doc/classref/khtml/DOM.HTMLFontElement.html +++ /dev/null @@ -1,86 +0,0 @@ - - - - - class DOM.HTMLFontElement - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class DOM.HTMLFontElement


-
- - - - - -
Table of contents
Modules
khtml Classes
All Classes
-
- - - - - - - - - - -
Modulekhtml
ClassDOM.HTMLFontElement
InheritsDOM.HTMLElement
-

methods

    -
  • HTMLFontElement () -
    -
    returns a HTMLFontElement instance

  • -
  • HTMLFontElement (other) -
    -
    returns a HTMLFontElement instance
    - -
    ArgumentTypeDefault
    otherDOM.HTMLFontElement
    -

  • -
  • HTMLFontElement (other) -
    -
    returns a HTMLFontElement instance
    - -
    ArgumentTypeDefault
    otherDOM.Node
    -

  • -
  • HTMLFontElement (impl) -
    Not Implemented
    -

  • -
  • color () -
    -
    returns (DOM.DOMString)

  • -
  • face () -
    -
    returns (DOM.DOMString)

  • -
  • setColor (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0DOM.DOMString
    -

  • -
  • setFace (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0DOM.DOMString
    -

  • -
  • setSize (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0DOM.DOMString
    -

  • -
  • size () -
    -
    returns (DOM.DOMString)

  • -
- - - diff --git a/python/pykde/doc/classref/khtml/DOM.HTMLFormElement.html b/python/pykde/doc/classref/khtml/DOM.HTMLFormElement.html deleted file mode 100644 index 04215c4c..00000000 --- a/python/pykde/doc/classref/khtml/DOM.HTMLFormElement.html +++ /dev/null @@ -1,125 +0,0 @@ - - - - - class DOM.HTMLFormElement - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class DOM.HTMLFormElement


-
- - - - - -
Table of contents
Modules
khtml Classes
All Classes
-
- - - - - - - - - - -
Modulekhtml
ClassDOM.HTMLFormElement
InheritsDOM.HTMLElement
-

methods

    -
  • HTMLFormElement () -
    -
    returns a HTMLFormElement instance

  • -
  • HTMLFormElement (other) -
    -
    returns a HTMLFormElement instance
    - -
    ArgumentTypeDefault
    otherDOM.HTMLFormElement
    -

  • -
  • HTMLFormElement (other) -
    -
    returns a HTMLFormElement instance
    - -
    ArgumentTypeDefault
    otherDOM.Node
    -

  • -
  • HTMLFormElement (impl) -
    Not Implemented
    -

  • -
  • acceptCharset () -
    -
    returns (DOM.DOMString)

  • -
  • action () -
    -
    returns (DOM.DOMString)

  • -
  • elements () -
    -
    returns (DOM.HTMLCollection)

  • -
  • enctype () -
    -
    returns (DOM.DOMString)

  • -
  • length () -
    -
    returns (long)

  • -
  • method () -
    -
    returns (DOM.DOMString)

  • -
  • name () -
    -
    returns (DOM.DOMString)

  • -
  • reset () -
    -
    returns nothing

  • -
  • setAcceptCharset (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0DOM.DOMString
    -

  • -
  • setAction (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0DOM.DOMString
    -

  • -
  • setEnctype (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0DOM.DOMString
    -

  • -
  • setMethod (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0DOM.DOMString
    -

  • -
  • setName (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0DOM.DOMString
    -

  • -
  • setTarget (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0DOM.DOMString
    -

  • -
  • submit () -
    -
    returns nothing

  • -
  • target () -
    -
    returns (DOM.DOMString)

  • -
- - - diff --git a/python/pykde/doc/classref/khtml/DOM.HTMLFrameElement.html b/python/pykde/doc/classref/khtml/DOM.HTMLFrameElement.html deleted file mode 100644 index 2e53b4f6..00000000 --- a/python/pykde/doc/classref/khtml/DOM.HTMLFrameElement.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - class DOM.HTMLFrameElement - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class DOM.HTMLFrameElement


-
- - - - - -
Table of contents
Modules
khtml Classes
All Classes
-
- - - - - - - - - - -
Modulekhtml
ClassDOM.HTMLFrameElement
InheritsDOM.HTMLElement
-

methods

    -
  • HTMLFrameElement () -
    -
    returns a HTMLFrameElement instance

  • -
  • HTMLFrameElement (other) -
    -
    returns a HTMLFrameElement instance
    - -
    ArgumentTypeDefault
    otherDOM.HTMLFrameElement
    -

  • -
  • HTMLFrameElement (other) -
    -
    returns a HTMLFrameElement instance
    - -
    ArgumentTypeDefault
    otherDOM.Node
    -

  • -
  • HTMLFrameElement (impl) -
    Not Implemented
    -

  • -
  • contentDocument () -
    -
    returns (DOM.Document)

  • -
  • frameBorder () -
    -
    returns (DOM.DOMString)

  • -
  • longDesc () -
    -
    returns (DOM.DOMString)

  • -
  • marginHeight () -
    -
    returns (DOM.DOMString)

  • -
  • marginWidth () -
    -
    returns (DOM.DOMString)

  • -
  • name () -
    -
    returns (DOM.DOMString)

  • -
  • noResize () -
    -
    returns (bool)

  • -
  • scrolling () -
    -
    returns (DOM.DOMString)

  • -
  • setFrameBorder (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0DOM.DOMString
    -

  • -
  • setLongDesc (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0DOM.DOMString
    -

  • -
  • setMarginHeight (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0DOM.DOMString
    -

  • -
  • setMarginWidth (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0DOM.DOMString
    -

  • -
  • setName (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0DOM.DOMString
    -

  • -
  • setNoResize (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0bool
    -

  • -
  • setScrolling (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0DOM.DOMString
    -

  • -
  • setSrc (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0DOM.DOMString
    -

  • -
  • src () -
    -
    returns (DOM.DOMString)

  • -
- - - diff --git a/python/pykde/doc/classref/khtml/DOM.HTMLFrameSetElement.html b/python/pykde/doc/classref/khtml/DOM.HTMLFrameSetElement.html deleted file mode 100644 index e88fb21d..00000000 --- a/python/pykde/doc/classref/khtml/DOM.HTMLFrameSetElement.html +++ /dev/null @@ -1,77 +0,0 @@ - - - - - class DOM.HTMLFrameSetElement - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class DOM.HTMLFrameSetElement


-
- - - - - -
Table of contents
Modules
khtml Classes
All Classes
-
- - - - - - - - - - -
Modulekhtml
ClassDOM.HTMLFrameSetElement
InheritsDOM.HTMLElement
-

methods

    -
  • HTMLFrameSetElement () -
    -
    returns a HTMLFrameSetElement instance

  • -
  • HTMLFrameSetElement (other) -
    -
    returns a HTMLFrameSetElement instance
    - -
    ArgumentTypeDefault
    otherDOM.HTMLFrameSetElement
    -

  • -
  • HTMLFrameSetElement (other) -
    -
    returns a HTMLFrameSetElement instance
    - -
    ArgumentTypeDefault
    otherDOM.Node
    -

  • -
  • HTMLFrameSetElement (impl) -
    Not Implemented
    -

  • -
  • cols () -
    -
    returns (DOM.DOMString)

  • -
  • rows () -
    -
    returns (DOM.DOMString)

  • -
  • setCols (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0DOM.DOMString
    -

  • -
  • setRows (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0DOM.DOMString
    -

  • -
- - - diff --git a/python/pykde/doc/classref/khtml/DOM.HTMLHRElement.html b/python/pykde/doc/classref/khtml/DOM.HTMLHRElement.html deleted file mode 100644 index abef8ca2..00000000 --- a/python/pykde/doc/classref/khtml/DOM.HTMLHRElement.html +++ /dev/null @@ -1,95 +0,0 @@ - - - - - class DOM.HTMLHRElement - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class DOM.HTMLHRElement


-
- - - - - -
Table of contents
Modules
khtml Classes
All Classes
-
- - - - - - - - - - -
Modulekhtml
ClassDOM.HTMLHRElement
InheritsDOM.HTMLElement
-

methods

    -
  • HTMLHRElement () -
    -
    returns a HTMLHRElement instance

  • -
  • HTMLHRElement (other) -
    -
    returns a HTMLHRElement instance
    - -
    ArgumentTypeDefault
    otherDOM.HTMLHRElement
    -

  • -
  • HTMLHRElement (other) -
    -
    returns a HTMLHRElement instance
    - -
    ArgumentTypeDefault
    otherDOM.Node
    -

  • -
  • HTMLHRElement (impl) -
    Not Implemented
    -

  • -
  • align () -
    -
    returns (DOM.DOMString)

  • -
  • noShade () -
    -
    returns (bool)

  • -
  • setAlign (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0DOM.DOMString
    -

  • -
  • setNoShade (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0bool
    -

  • -
  • setSize (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0DOM.DOMString
    -

  • -
  • setWidth (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0DOM.DOMString
    -

  • -
  • size () -
    -
    returns (DOM.DOMString)

  • -
  • width () -
    -
    returns (DOM.DOMString)

  • -
- - - diff --git a/python/pykde/doc/classref/khtml/DOM.HTMLHeadElement.html b/python/pykde/doc/classref/khtml/DOM.HTMLHeadElement.html deleted file mode 100644 index fe329273..00000000 --- a/python/pykde/doc/classref/khtml/DOM.HTMLHeadElement.html +++ /dev/null @@ -1,68 +0,0 @@ - - - - - class DOM.HTMLHeadElement - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class DOM.HTMLHeadElement


-
- - - - - -
Table of contents
Modules
khtml Classes
All Classes
-
- - - - - - - - - - -
Modulekhtml
ClassDOM.HTMLHeadElement
InheritsDOM.HTMLElement
-

methods

    -
  • HTMLHeadElement () -
    -
    returns a HTMLHeadElement instance

  • -
  • HTMLHeadElement (other) -
    -
    returns a HTMLHeadElement instance
    - -
    ArgumentTypeDefault
    otherDOM.HTMLHeadElement
    -

  • -
  • HTMLHeadElement (other) -
    -
    returns a HTMLHeadElement instance
    - -
    ArgumentTypeDefault
    otherDOM.Node
    -

  • -
  • HTMLHeadElement (impl) -
    Not Implemented
    -

  • -
  • profile () -
    -
    returns (DOM.DOMString)

  • -
  • setProfile (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0DOM.DOMString
    -

  • -
- - - diff --git a/python/pykde/doc/classref/khtml/DOM.HTMLHeadingElement.html b/python/pykde/doc/classref/khtml/DOM.HTMLHeadingElement.html deleted file mode 100644 index 0d4f8241..00000000 --- a/python/pykde/doc/classref/khtml/DOM.HTMLHeadingElement.html +++ /dev/null @@ -1,71 +0,0 @@ - - - - - class DOM.HTMLHeadingElement - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class DOM.HTMLHeadingElement


-
- - - - - -
Table of contents
Modules
khtml Classes
All Classes
-
- - - - - - - - - - -
Modulekhtml
ClassDOM.HTMLHeadingElement
InheritsDOM.HTMLElement
-

methods

    -
  • HTMLHeadingElement () -
    -
    returns a HTMLHeadingElement instance

  • -
  • HTMLHeadingElement (other) -
    -
    returns a HTMLHeadingElement instance
    - -
    ArgumentTypeDefault
    otherDOM.HTMLHeadingElement
    -

  • -
  • HTMLHeadingElement (other) -
    -
    returns a HTMLHeadingElement instance
    - -
    ArgumentTypeDefault
    otherDOM.Node
    -

  • -
  • HTMLHeadingElement (impl) -
    Not Implemented
    -

  • -
  • HTMLHeadingElement (a0) -
    Not Implemented
    -

  • -
  • align () -
    -
    returns (DOM.DOMString)

  • -
  • setAlign (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0DOM.DOMString
    -

  • -
- - - diff --git a/python/pykde/doc/classref/khtml/DOM.HTMLHtmlElement.html b/python/pykde/doc/classref/khtml/DOM.HTMLHtmlElement.html deleted file mode 100644 index 66ff63e5..00000000 --- a/python/pykde/doc/classref/khtml/DOM.HTMLHtmlElement.html +++ /dev/null @@ -1,68 +0,0 @@ - - - - - class DOM.HTMLHtmlElement - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class DOM.HTMLHtmlElement


-
- - - - - -
Table of contents
Modules
khtml Classes
All Classes
-
- - - - - - - - - - -
Modulekhtml
ClassDOM.HTMLHtmlElement
InheritsDOM.HTMLElement
-

methods

    -
  • HTMLHtmlElement () -
    -
    returns a HTMLHtmlElement instance

  • -
  • HTMLHtmlElement (other) -
    -
    returns a HTMLHtmlElement instance
    - -
    ArgumentTypeDefault
    otherDOM.HTMLHtmlElement
    -

  • -
  • HTMLHtmlElement (other) -
    -
    returns a HTMLHtmlElement instance
    - -
    ArgumentTypeDefault
    otherDOM.Node
    -

  • -
  • HTMLHtmlElement (impl) -
    Not Implemented
    -

  • -
  • setVersion (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0DOM.DOMString
    -

  • -
  • version () -
    -
    returns (DOM.DOMString)

  • -
- - - diff --git a/python/pykde/doc/classref/khtml/DOM.HTMLIFrameElement.html b/python/pykde/doc/classref/khtml/DOM.HTMLIFrameElement.html deleted file mode 100644 index 3d22a8ae..00000000 --- a/python/pykde/doc/classref/khtml/DOM.HTMLIFrameElement.html +++ /dev/null @@ -1,152 +0,0 @@ - - - - - class DOM.HTMLIFrameElement - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class DOM.HTMLIFrameElement


-
- - - - - -
Table of contents
Modules
khtml Classes
All Classes
-
- - - - - - - - - - -
Modulekhtml
ClassDOM.HTMLIFrameElement
InheritsDOM.HTMLElement
-

methods

    -
  • HTMLIFrameElement () -
    -
    returns a HTMLIFrameElement instance

  • -
  • HTMLIFrameElement (other) -
    -
    returns a HTMLIFrameElement instance
    - -
    ArgumentTypeDefault
    otherDOM.HTMLIFrameElement
    -

  • -
  • HTMLIFrameElement (other) -
    -
    returns a HTMLIFrameElement instance
    - -
    ArgumentTypeDefault
    otherDOM.Node
    -

  • -
  • HTMLIFrameElement (impl) -
    Not Implemented
    -

  • -
  • align () -
    -
    returns (DOM.DOMString)

  • -
  • contentDocument () -
    -
    returns (DOM.Document)

  • -
  • frameBorder () -
    -
    returns (DOM.DOMString)

  • -
  • height () -
    -
    returns (DOM.DOMString)

  • -
  • longDesc () -
    -
    returns (DOM.DOMString)

  • -
  • marginHeight () -
    -
    returns (DOM.DOMString)

  • -
  • marginWidth () -
    -
    returns (DOM.DOMString)

  • -
  • name () -
    -
    returns (DOM.DOMString)

  • -
  • scrolling () -
    -
    returns (DOM.DOMString)

  • -
  • setAlign (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0DOM.DOMString
    -

  • -
  • setFrameBorder (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0DOM.DOMString
    -

  • -
  • setHeight (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0DOM.DOMString
    -

  • -
  • setLongDesc (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0DOM.DOMString
    -

  • -
  • setMarginHeight (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0DOM.DOMString
    -

  • -
  • setMarginWidth (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0DOM.DOMString
    -

  • -
  • setName (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0DOM.DOMString
    -

  • -
  • setScrolling (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0DOM.DOMString
    -

  • -
  • setSrc (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0DOM.DOMString
    -

  • -
  • setWidth (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0DOM.DOMString
    -

  • -
  • src () -
    -
    returns (DOM.DOMString)

  • -
  • width () -
    -
    returns (DOM.DOMString)

  • -
- - - diff --git a/python/pykde/doc/classref/khtml/DOM.HTMLImageElement.html b/python/pykde/doc/classref/khtml/DOM.HTMLImageElement.html deleted file mode 100644 index ed00f02a..00000000 --- a/python/pykde/doc/classref/khtml/DOM.HTMLImageElement.html +++ /dev/null @@ -1,186 +0,0 @@ - - - - - class DOM.HTMLImageElement - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class DOM.HTMLImageElement


-
- - - - - -
Table of contents
Modules
khtml Classes
All Classes
-
- - - - - - - - - - -
Modulekhtml
ClassDOM.HTMLImageElement
InheritsDOM.HTMLElement
-

methods

    -
  • HTMLImageElement () -
    -
    returns a HTMLImageElement instance

  • -
  • HTMLImageElement (other) -
    -
    returns a HTMLImageElement instance
    - -
    ArgumentTypeDefault
    otherDOM.HTMLImageElement
    -

  • -
  • HTMLImageElement (other) -
    -
    returns a HTMLImageElement instance
    - -
    ArgumentTypeDefault
    otherDOM.Node
    -

  • -
  • HTMLImageElement (impl) -
    Not Implemented
    -

  • -
  • align () -
    -
    returns (DOM.DOMString)

  • -
  • alt () -
    -
    returns (DOM.DOMString)

  • -
  • border () -
    -
    returns (long)

  • -
  • getBorder () -
    - -
    returns (DOM.DOMString)
    In versions KDE 3.1.0 and above only

  • -
  • height () -
    -
    returns (long)

  • -
  • hspace () -
    -
    returns (long)

  • -
  • isMap () -
    -
    returns (bool)

  • -
  • longDesc () -
    -
    returns (DOM.DOMString)

  • -
  • name () -
    -
    returns (DOM.DOMString)

  • -
  • setAlign (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0DOM.DOMString
    -

  • -
  • setAlt (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0DOM.DOMString
    -

  • -
  • setBorder (a0) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    a0DOM.DOMString
    -

  • -
  • setBorder (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0long
    -

  • -
  • setHeight (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0long
    -

  • -
  • setHspace (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0long
    -

  • -
  • setIsMap (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0bool
    -

  • -
  • setLongDesc (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0DOM.DOMString
    -

  • -
  • setName (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0DOM.DOMString
    -

  • -
  • setSrc (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0DOM.DOMString
    -

  • -
  • setUseMap (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0DOM.DOMString
    -

  • -
  • setVspace (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0long
    -

  • -
  • setWidth (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0long
    -

  • -
  • src () -
    -
    returns (DOM.DOMString)

  • -
  • useMap () -
    -
    returns (DOM.DOMString)

  • -
  • vspace () -
    -
    returns (long)

  • -
  • width () -
    -
    returns (long)

  • -
  • x () -
    - -
    returns (long)
    In versions KDE 3.2.0 and above only

  • -
  • y () -
    - -
    returns (long)
    In versions KDE 3.2.0 and above only

  • -
- - - diff --git a/python/pykde/doc/classref/khtml/DOM.HTMLInputElement.html b/python/pykde/doc/classref/khtml/DOM.HTMLInputElement.html deleted file mode 100644 index 5dfa038b..00000000 --- a/python/pykde/doc/classref/khtml/DOM.HTMLInputElement.html +++ /dev/null @@ -1,279 +0,0 @@ - - - - - class DOM.HTMLInputElement - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class DOM.HTMLInputElement


-
- - - - - -
Table of contents
Modules
khtml Classes
All Classes
-
- - - - - - - - - - -
Modulekhtml
ClassDOM.HTMLInputElement
InheritsDOM.HTMLElement
-

methods

    -
  • HTMLInputElement () -
    -
    returns a HTMLInputElement instance

  • -
  • HTMLInputElement (other) -
    -
    returns a HTMLInputElement instance
    - -
    ArgumentTypeDefault
    otherDOM.HTMLInputElement
    -

  • -
  • HTMLInputElement (other) -
    -
    returns a HTMLInputElement instance
    - -
    ArgumentTypeDefault
    otherDOM.Node
    -

  • -
  • HTMLInputElement (impl) -
    Not Implemented
    -

  • -
  • accept () -
    -
    returns (DOM.DOMString)

  • -
  • accessKey () -
    -
    returns (DOM.DOMString)

  • -
  • align () -
    -
    returns (DOM.DOMString)

  • -
  • alt () -
    -
    returns (DOM.DOMString)

  • -
  • blur () -
    -
    returns nothing

  • -
  • checked () -
    -
    returns (bool)

  • -
  • click () -
    -
    returns nothing

  • -
  • defaultChecked () -
    -
    returns (bool)

  • -
  • defaultValue () -
    -
    returns (DOM.DOMString)

  • -
  • disabled () -
    -
    returns (bool)

  • -
  • focus () -
    -
    returns nothing

  • -
  • form () -
    -
    returns (DOM.HTMLFormElement)

  • -
  • getSize () -
    - -
    returns (long)
    In versions KDE 3.1.0 and above only

  • -
  • indeterminate () -
    - -
    returns (bool)
    In versions KDE 3.5.3 and above only

  • -
  • maxLength () -
    -
    returns (long)

  • -
  • name () -
    -
    returns (DOM.DOMString)

  • -
  • readOnly () -
    -
    returns (bool)

  • -
  • select () -
    -
    returns nothing

  • -
  • selectionEnd () -
    - -
    returns (long)
    In versions KDE 3.5.2 and above only

  • -
  • selectionStart () -
    - -
    returns (long)
    In versions KDE 3.5.2 and above only

  • -
  • setAccept (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0DOM.DOMString
    -

  • -
  • setAccessKey (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0DOM.DOMString
    -

  • -
  • setAlign (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0DOM.DOMString
    -

  • -
  • setAlt (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0DOM.DOMString
    -

  • -
  • setChecked (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0bool
    -

  • -
  • setDefaultChecked (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0bool
    -

  • -
  • setDefaultValue (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0DOM.DOMString
    -

  • -
  • setDisabled (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0bool
    -

  • -
  • setIndeterminate (a0) -
    - -
    returns nothing
    In versions KDE 3.5.3 and above only
    - -
    ArgumentTypeDefault
    a0bool
    -

  • -
  • setMaxLength (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0long
    -

  • -
  • setName (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0DOM.DOMString
    -

  • -
  • setReadOnly (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0bool
    -

  • -
  • setSelectionEnd (offset) -
    - -
    returns nothing
    In versions KDE 3.5.2 and above only
    - -
    ArgumentTypeDefault
    offsetlong
    -

  • -
  • setSelectionRange (start, end) -
    - -
    returns nothing
    In versions KDE 3.5.2 and above only
    - - -
    ArgumentTypeDefault
    startlong
    endlong
    -

  • -
  • setSelectionStart (offset) -
    - -
    returns nothing
    In versions KDE 3.5.2 and above only
    - -
    ArgumentTypeDefault
    offsetlong
    -

  • -
  • setSize (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0DOM.DOMString
    -

  • -
  • setSize (a0) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    a0long
    -

  • -
  • setSrc (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0DOM.DOMString
    -

  • -
  • setTabIndex (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0long
    -

  • -
  • setType (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0DOM.DOMString
    -

  • -
  • setUseMap (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0DOM.DOMString
    -

  • -
  • setValue (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0DOM.DOMString
    -

  • -
  • size () -
    -
    returns (DOM.DOMString)

  • -
  • src () -
    -
    returns (DOM.DOMString)

  • -
  • tabIndex () -
    -
    returns (long)

  • -
  • type () -
    -
    returns (DOM.DOMString)

  • -
  • useMap () -
    -
    returns (DOM.DOMString)

  • -
  • value () -
    -
    returns (DOM.DOMString)

  • -
- - - diff --git a/python/pykde/doc/classref/khtml/DOM.HTMLIsIndexElement.html b/python/pykde/doc/classref/khtml/DOM.HTMLIsIndexElement.html deleted file mode 100644 index 24ba7a61..00000000 --- a/python/pykde/doc/classref/khtml/DOM.HTMLIsIndexElement.html +++ /dev/null @@ -1,71 +0,0 @@ - - - - - class DOM.HTMLIsIndexElement - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class DOM.HTMLIsIndexElement


-
- - - - - -
Table of contents
Modules
khtml Classes
All Classes
-
- - - - - - - - - - -
Modulekhtml
ClassDOM.HTMLIsIndexElement
InheritsDOM.HTMLElement
-

methods

    -
  • HTMLIsIndexElement () -
    -
    returns a HTMLIsIndexElement instance

  • -
  • HTMLIsIndexElement (other) -
    -
    returns a HTMLIsIndexElement instance
    - -
    ArgumentTypeDefault
    otherDOM.HTMLIsIndexElement
    -

  • -
  • HTMLIsIndexElement (other) -
    -
    returns a HTMLIsIndexElement instance
    - -
    ArgumentTypeDefault
    otherDOM.Node
    -

  • -
  • HTMLIsIndexElement (impl) -
    Not Implemented
    -

  • -
  • form () -
    -
    returns (DOM.HTMLFormElement)

  • -
  • prompt () -
    -
    returns (DOM.DOMString)

  • -
  • setPrompt (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0DOM.DOMString
    -

  • -
- - - diff --git a/python/pykde/doc/classref/khtml/DOM.HTMLLIElement.html b/python/pykde/doc/classref/khtml/DOM.HTMLLIElement.html deleted file mode 100644 index aa868ad8..00000000 --- a/python/pykde/doc/classref/khtml/DOM.HTMLLIElement.html +++ /dev/null @@ -1,77 +0,0 @@ - - - - - class DOM.HTMLLIElement - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class DOM.HTMLLIElement


-
- - - - - -
Table of contents
Modules
khtml Classes
All Classes
-
- - - - - - - - - - -
Modulekhtml
ClassDOM.HTMLLIElement
InheritsDOM.HTMLElement
-

methods

    -
  • HTMLLIElement () -
    -
    returns a HTMLLIElement instance

  • -
  • HTMLLIElement (other) -
    -
    returns a HTMLLIElement instance
    - -
    ArgumentTypeDefault
    otherDOM.HTMLLIElement
    -

  • -
  • HTMLLIElement (other) -
    -
    returns a HTMLLIElement instance
    - -
    ArgumentTypeDefault
    otherDOM.Node
    -

  • -
  • HTMLLIElement (impl) -
    Not Implemented
    -

  • -
  • setType (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0DOM.DOMString
    -

  • -
  • setValue (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0long
    -

  • -
  • type () -
    -
    returns (DOM.DOMString)

  • -
  • value () -
    -
    returns (long)

  • -
- - - diff --git a/python/pykde/doc/classref/khtml/DOM.HTMLLabelElement.html b/python/pykde/doc/classref/khtml/DOM.HTMLLabelElement.html deleted file mode 100644 index 9e89da44..00000000 --- a/python/pykde/doc/classref/khtml/DOM.HTMLLabelElement.html +++ /dev/null @@ -1,81 +0,0 @@ - - - - - class DOM.HTMLLabelElement - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class DOM.HTMLLabelElement


-
- - - - - -
Table of contents
Modules
khtml Classes
All Classes
-
- - - - - - - - - - -
Modulekhtml
ClassDOM.HTMLLabelElement
InheritsDOM.HTMLElement
-

methods

    -
  • HTMLLabelElement () -
    -
    returns a HTMLLabelElement instance

  • -
  • HTMLLabelElement (other) -
    -
    returns a HTMLLabelElement instance
    - -
    ArgumentTypeDefault
    otherDOM.HTMLLabelElement
    -

  • -
  • HTMLLabelElement (other) -
    -
    returns a HTMLLabelElement instance
    - -
    ArgumentTypeDefault
    otherDOM.Node
    -

  • -
  • HTMLLabelElement (impl) -
    Not Implemented
    -

  • -
  • accessKey () -
    -
    returns (DOM.DOMString)

  • -
  • form () -
    - -
    returns (DOM.HTMLFormElement)
    In versions less than KDE 3.1.0 only

  • -
  • htmlFor () -
    -
    returns (DOM.DOMString)

  • -
  • setAccessKey (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0DOM.DOMString
    -

  • -
  • setHtmlFor (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0DOM.DOMString
    -

  • -
- - - diff --git a/python/pykde/doc/classref/khtml/DOM.HTMLLayerElement.html b/python/pykde/doc/classref/khtml/DOM.HTMLLayerElement.html deleted file mode 100644 index 71c0a9fe..00000000 --- a/python/pykde/doc/classref/khtml/DOM.HTMLLayerElement.html +++ /dev/null @@ -1,107 +0,0 @@ - - - - - class DOM.HTMLLayerElement - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class DOM.HTMLLayerElement


-
- - - - - -
Table of contents
Modules
khtml Classes
All Classes
-
- - - - - - - - - - -
Modulekhtml
ClassDOM.HTMLLayerElement
InheritsDOM.HTMLElement
-

methods

    -
  • HTMLLayerElement () -
    - -
    returns a HTMLLayerElement instance
    In versions KDE 3.3.2 and above only

  • -
  • HTMLLayerElement (other) -
    - -
    returns a HTMLLayerElement instance
    In versions KDE 3.3.2 and above only
    - -
    ArgumentTypeDefault
    otherDOM.HTMLLayerElement
    -

  • -
  • HTMLLayerElement (other) -
    - -
    returns a HTMLLayerElement instance
    In versions KDE 3.3.2 and above only
    - -
    ArgumentTypeDefault
    otherDOM.Node
    -

  • -
  • bgColor () -
    - -
    returns (DOM.DOMString)
    In versions KDE 3.3.2 and above only

  • -
  • layers () -
    - -
    returns (DOM.HTMLCollection)
    In versions KDE 3.3.2 and above only

  • -
  • left () -
    - -
    returns (long)
    In versions KDE 3.3.2 and above only

  • -
  • setBgColor (a0) -
    - -
    returns nothing
    In versions KDE 3.3.2 and above only
    - -
    ArgumentTypeDefault
    a0DOM.DOMString
    -

  • -
  • setLeft (a0) -
    - -
    returns nothing
    In versions KDE 3.3.2 and above only
    - -
    ArgumentTypeDefault
    a0long
    -

  • -
  • setTop (a0) -
    - -
    returns nothing
    In versions KDE 3.3.2 and above only
    - -
    ArgumentTypeDefault
    a0long
    -

  • -
  • setVisibility (a0) -
    - -
    returns nothing
    In versions KDE 3.3.2 and above only
    - -
    ArgumentTypeDefault
    a0DOM.DOMString
    -

  • -
  • top () -
    - -
    returns (long)
    In versions KDE 3.3.2 and above only

  • -
  • visibility () -
    - -
    returns (DOM.DOMString)
    In versions KDE 3.3.2 and above only

  • -
- - - diff --git a/python/pykde/doc/classref/khtml/DOM.HTMLLegendElement.html b/python/pykde/doc/classref/khtml/DOM.HTMLLegendElement.html deleted file mode 100644 index d1fc7496..00000000 --- a/python/pykde/doc/classref/khtml/DOM.HTMLLegendElement.html +++ /dev/null @@ -1,80 +0,0 @@ - - - - - class DOM.HTMLLegendElement - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class DOM.HTMLLegendElement


-
- - - - - -
Table of contents
Modules
khtml Classes
All Classes
-
- - - - - - - - - - -
Modulekhtml
ClassDOM.HTMLLegendElement
InheritsDOM.HTMLElement
-

methods

    -
  • HTMLLegendElement () -
    -
    returns a HTMLLegendElement instance

  • -
  • HTMLLegendElement (other) -
    -
    returns a HTMLLegendElement instance
    - -
    ArgumentTypeDefault
    otherDOM.HTMLLegendElement
    -

  • -
  • HTMLLegendElement (other) -
    -
    returns a HTMLLegendElement instance
    - -
    ArgumentTypeDefault
    otherDOM.Node
    -

  • -
  • HTMLLegendElement (impl) -
    Not Implemented
    -

  • -
  • accessKey () -
    -
    returns (DOM.DOMString)

  • -
  • align () -
    -
    returns (DOM.DOMString)

  • -
  • form () -
    -
    returns (DOM.HTMLFormElement)

  • -
  • setAccessKey (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0DOM.DOMString
    -

  • -
  • setAlign (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0DOM.DOMString
    -

  • -
- - - diff --git a/python/pykde/doc/classref/khtml/DOM.HTMLLinkElement.html b/python/pykde/doc/classref/khtml/DOM.HTMLLinkElement.html deleted file mode 100644 index 9facd146..00000000 --- a/python/pykde/doc/classref/khtml/DOM.HTMLLinkElement.html +++ /dev/null @@ -1,143 +0,0 @@ - - - - - class DOM.HTMLLinkElement - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class DOM.HTMLLinkElement


-
- - - - - -
Table of contents
Modules
khtml Classes
All Classes
-
- - - - - - - - - - -
Modulekhtml
ClassDOM.HTMLLinkElement
InheritsDOM.HTMLElement
-

methods

    -
  • HTMLLinkElement () -
    -
    returns a HTMLLinkElement instance

  • -
  • HTMLLinkElement (other) -
    -
    returns a HTMLLinkElement instance
    - -
    ArgumentTypeDefault
    otherDOM.HTMLLinkElement
    -

  • -
  • HTMLLinkElement (other) -
    -
    returns a HTMLLinkElement instance
    - -
    ArgumentTypeDefault
    otherDOM.Node
    -

  • -
  • HTMLLinkElement (impl) -
    Not Implemented
    -

  • -
  • charset () -
    -
    returns (DOM.DOMString)

  • -
  • disabled () -
    -
    returns (bool)

  • -
  • href () -
    -
    returns (DOM.DOMString)

  • -
  • hreflang () -
    -
    returns (DOM.DOMString)

  • -
  • media () -
    -
    returns (DOM.DOMString)

  • -
  • rel () -
    -
    returns (DOM.DOMString)

  • -
  • rev () -
    -
    returns (DOM.DOMString)

  • -
  • setCharset (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0DOM.DOMString
    -

  • -
  • setDisabled (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0bool
    -

  • -
  • setHref (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0DOM.DOMString
    -

  • -
  • setHreflang (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0DOM.DOMString
    -

  • -
  • setMedia (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0DOM.DOMString
    -

  • -
  • setRel (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0DOM.DOMString
    -

  • -
  • setRev (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0DOM.DOMString
    -

  • -
  • setTarget (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0DOM.DOMString
    -

  • -
  • setType (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0DOM.DOMString
    -

  • -
  • sheet () -
    -
    returns (DOM.StyleSheet)

  • -
  • target () -
    -
    returns (DOM.DOMString)

  • -
  • type () -
    -
    returns (DOM.DOMString)

  • -
- - - diff --git a/python/pykde/doc/classref/khtml/DOM.HTMLMapElement.html b/python/pykde/doc/classref/khtml/DOM.HTMLMapElement.html deleted file mode 100644 index 4abbb147..00000000 --- a/python/pykde/doc/classref/khtml/DOM.HTMLMapElement.html +++ /dev/null @@ -1,71 +0,0 @@ - - - - - class DOM.HTMLMapElement - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class DOM.HTMLMapElement


-
- - - - - -
Table of contents
Modules
khtml Classes
All Classes
-
- - - - - - - - - - -
Modulekhtml
ClassDOM.HTMLMapElement
InheritsDOM.HTMLElement
-

methods

    -
  • HTMLMapElement () -
    -
    returns a HTMLMapElement instance

  • -
  • HTMLMapElement (other) -
    -
    returns a HTMLMapElement instance
    - -
    ArgumentTypeDefault
    otherDOM.HTMLMapElement
    -

  • -
  • HTMLMapElement (other) -
    -
    returns a HTMLMapElement instance
    - -
    ArgumentTypeDefault
    otherDOM.Node
    -

  • -
  • HTMLMapElement (impl) -
    Not Implemented
    -

  • -
  • areas () -
    -
    returns (DOM.HTMLCollection)

  • -
  • name () -
    -
    returns (DOM.DOMString)

  • -
  • setName (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0DOM.DOMString
    -

  • -
- - - diff --git a/python/pykde/doc/classref/khtml/DOM.HTMLMenuElement.html b/python/pykde/doc/classref/khtml/DOM.HTMLMenuElement.html deleted file mode 100644 index 5df63036..00000000 --- a/python/pykde/doc/classref/khtml/DOM.HTMLMenuElement.html +++ /dev/null @@ -1,68 +0,0 @@ - - - - - class DOM.HTMLMenuElement - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class DOM.HTMLMenuElement


-
- - - - - -
Table of contents
Modules
khtml Classes
All Classes
-
- - - - - - - - - - -
Modulekhtml
ClassDOM.HTMLMenuElement
InheritsDOM.HTMLElement
-

methods

    -
  • HTMLMenuElement () -
    -
    returns a HTMLMenuElement instance

  • -
  • HTMLMenuElement (other) -
    -
    returns a HTMLMenuElement instance
    - -
    ArgumentTypeDefault
    otherDOM.HTMLMenuElement
    -

  • -
  • HTMLMenuElement (other) -
    -
    returns a HTMLMenuElement instance
    - -
    ArgumentTypeDefault
    otherDOM.Node
    -

  • -
  • HTMLMenuElement (impl) -
    Not Implemented
    -

  • -
  • compact () -
    -
    returns (bool)

  • -
  • setCompact (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0bool
    -

  • -
- - - diff --git a/python/pykde/doc/classref/khtml/DOM.HTMLMetaElement.html b/python/pykde/doc/classref/khtml/DOM.HTMLMetaElement.html deleted file mode 100644 index e20d07ff..00000000 --- a/python/pykde/doc/classref/khtml/DOM.HTMLMetaElement.html +++ /dev/null @@ -1,95 +0,0 @@ - - - - - class DOM.HTMLMetaElement - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class DOM.HTMLMetaElement


-
- - - - - -
Table of contents
Modules
khtml Classes
All Classes
-
- - - - - - - - - - -
Modulekhtml
ClassDOM.HTMLMetaElement
InheritsDOM.HTMLElement
-

methods

    -
  • HTMLMetaElement () -
    -
    returns a HTMLMetaElement instance

  • -
  • HTMLMetaElement (other) -
    -
    returns a HTMLMetaElement instance
    - -
    ArgumentTypeDefault
    otherDOM.HTMLMetaElement
    -

  • -
  • HTMLMetaElement (other) -
    -
    returns a HTMLMetaElement instance
    - -
    ArgumentTypeDefault
    otherDOM.Node
    -

  • -
  • HTMLMetaElement (impl) -
    Not Implemented
    -

  • -
  • content () -
    -
    returns (DOM.DOMString)

  • -
  • httpEquiv () -
    -
    returns (DOM.DOMString)

  • -
  • name () -
    -
    returns (DOM.DOMString)

  • -
  • scheme () -
    -
    returns (DOM.DOMString)

  • -
  • setContent (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0DOM.DOMString
    -

  • -
  • setHttpEquiv (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0DOM.DOMString
    -

  • -
  • setName (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0DOM.DOMString
    -

  • -
  • setScheme (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0DOM.DOMString
    -

  • -
- - - diff --git a/python/pykde/doc/classref/khtml/DOM.HTMLModElement.html b/python/pykde/doc/classref/khtml/DOM.HTMLModElement.html deleted file mode 100644 index 5240472b..00000000 --- a/python/pykde/doc/classref/khtml/DOM.HTMLModElement.html +++ /dev/null @@ -1,77 +0,0 @@ - - - - - class DOM.HTMLModElement - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class DOM.HTMLModElement


-
- - - - - -
Table of contents
Modules
khtml Classes
All Classes
-
- - - - - - - - - - -
Modulekhtml
ClassDOM.HTMLModElement
InheritsDOM.HTMLElement
-

methods

    -
  • HTMLModElement () -
    -
    returns a HTMLModElement instance

  • -
  • HTMLModElement (other) -
    -
    returns a HTMLModElement instance
    - -
    ArgumentTypeDefault
    otherDOM.HTMLModElement
    -

  • -
  • HTMLModElement (other) -
    -
    returns a HTMLModElement instance
    - -
    ArgumentTypeDefault
    otherDOM.Node
    -

  • -
  • HTMLModElement (impl) -
    Not Implemented
    -

  • -
  • cite () -
    -
    returns (DOM.DOMString)

  • -
  • dateTime () -
    -
    returns (DOM.DOMString)

  • -
  • setCite (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0DOM.DOMString
    -

  • -
  • setDateTime (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0DOM.DOMString
    -

  • -
- - - diff --git a/python/pykde/doc/classref/khtml/DOM.HTMLOListElement.html b/python/pykde/doc/classref/khtml/DOM.HTMLOListElement.html deleted file mode 100644 index b71ed54b..00000000 --- a/python/pykde/doc/classref/khtml/DOM.HTMLOListElement.html +++ /dev/null @@ -1,86 +0,0 @@ - - - - - class DOM.HTMLOListElement - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class DOM.HTMLOListElement


-
- - - - - -
Table of contents
Modules
khtml Classes
All Classes
-
- - - - - - - - - - -
Modulekhtml
ClassDOM.HTMLOListElement
InheritsDOM.HTMLElement
-

methods

    -
  • HTMLOListElement () -
    -
    returns a HTMLOListElement instance

  • -
  • HTMLOListElement (other) -
    -
    returns a HTMLOListElement instance
    - -
    ArgumentTypeDefault
    otherDOM.HTMLOListElement
    -

  • -
  • HTMLOListElement (other) -
    -
    returns a HTMLOListElement instance
    - -
    ArgumentTypeDefault
    otherDOM.Node
    -

  • -
  • HTMLOListElement (impl) -
    Not Implemented
    -

  • -
  • compact () -
    -
    returns (bool)

  • -
  • setCompact (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0bool
    -

  • -
  • setStart (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0long
    -

  • -
  • setType (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0DOM.DOMString
    -

  • -
  • start () -
    -
    returns (long)

  • -
  • type () -
    -
    returns (DOM.DOMString)

  • -
- - - diff --git a/python/pykde/doc/classref/khtml/DOM.HTMLObjectElement.html b/python/pykde/doc/classref/khtml/DOM.HTMLObjectElement.html deleted file mode 100644 index 8c868c20..00000000 --- a/python/pykde/doc/classref/khtml/DOM.HTMLObjectElement.html +++ /dev/null @@ -1,240 +0,0 @@ - - - - - class DOM.HTMLObjectElement - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class DOM.HTMLObjectElement


-
- - - - - -
Table of contents
Modules
khtml Classes
All Classes
-
- - - - - - - - - - -
Modulekhtml
ClassDOM.HTMLObjectElement
InheritsDOM.HTMLElement
-

methods

    -
  • HTMLObjectElement () -
    -
    returns a HTMLObjectElement instance

  • -
  • HTMLObjectElement (other) -
    -
    returns a HTMLObjectElement instance
    - -
    ArgumentTypeDefault
    otherDOM.HTMLObjectElement
    -

  • -
  • HTMLObjectElement (other) -
    -
    returns a HTMLObjectElement instance
    - -
    ArgumentTypeDefault
    otherDOM.Node
    -

  • -
  • HTMLObjectElement (impl) -
    Not Implemented
    -

  • -
  • align () -
    -
    returns (DOM.DOMString)

  • -
  • archive () -
    -
    returns (DOM.DOMString)

  • -
  • border () -
    -
    returns (DOM.DOMString)

  • -
  • code () -
    -
    returns (DOM.DOMString)

  • -
  • codeBase () -
    -
    returns (DOM.DOMString)

  • -
  • codeType () -
    -
    returns (DOM.DOMString)

  • -
  • contentDocument () -
    -
    returns (DOM.Document)

  • -
  • data () -
    -
    returns (DOM.DOMString)

  • -
  • declare () -
    -
    returns (bool)

  • -
  • form () -
    -
    returns (DOM.HTMLFormElement)

  • -
  • getHspace () -
    - -
    returns (long)
    In versions KDE 3.1.0 and above only

  • -
  • getVspace () -
    - -
    returns (long)
    In versions KDE 3.1.0 and above only

  • -
  • height () -
    -
    returns (DOM.DOMString)

  • -
  • hspace () -
    -
    returns (DOM.DOMString)

  • -
  • name () -
    -
    returns (DOM.DOMString)

  • -
  • setAlign (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0DOM.DOMString
    -

  • -
  • setArchive (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0DOM.DOMString
    -

  • -
  • setBorder (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0DOM.DOMString
    -

  • -
  • setCode (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0DOM.DOMString
    -

  • -
  • setCodeBase (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0DOM.DOMString
    -

  • -
  • setCodeType (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0DOM.DOMString
    -

  • -
  • setData (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0DOM.DOMString
    -

  • -
  • setDeclare (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0bool
    -

  • -
  • setHeight (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0DOM.DOMString
    -

  • -
  • setHspace (a0) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    a0long
    -

  • -
  • setHspace (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0DOM.DOMString
    -

  • -
  • setName (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0DOM.DOMString
    -

  • -
  • setStandby (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0DOM.DOMString
    -

  • -
  • setTabIndex (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0long
    -

  • -
  • setType (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0DOM.DOMString
    -

  • -
  • setUseMap (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0DOM.DOMString
    -

  • -
  • setVspace (a0) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    a0long
    -

  • -
  • setVspace (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0DOM.DOMString
    -

  • -
  • setWidth (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0DOM.DOMString
    -

  • -
  • standby () -
    -
    returns (DOM.DOMString)

  • -
  • tabIndex () -
    -
    returns (long)

  • -
  • type () -
    -
    returns (DOM.DOMString)

  • -
  • useMap () -
    -
    returns (DOM.DOMString)

  • -
  • vspace () -
    -
    returns (DOM.DOMString)

  • -
  • width () -
    -
    returns (DOM.DOMString)

  • -
- - - diff --git a/python/pykde/doc/classref/khtml/DOM.HTMLOptGroupElement.html b/python/pykde/doc/classref/khtml/DOM.HTMLOptGroupElement.html deleted file mode 100644 index 82de37f4..00000000 --- a/python/pykde/doc/classref/khtml/DOM.HTMLOptGroupElement.html +++ /dev/null @@ -1,77 +0,0 @@ - - - - - class DOM.HTMLOptGroupElement - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class DOM.HTMLOptGroupElement


-
- - - - - -
Table of contents
Modules
khtml Classes
All Classes
-
- - - - - - - - - - -
Modulekhtml
ClassDOM.HTMLOptGroupElement
InheritsDOM.HTMLElement
-

methods

    -
  • HTMLOptGroupElement () -
    -
    returns a HTMLOptGroupElement instance

  • -
  • HTMLOptGroupElement (other) -
    -
    returns a HTMLOptGroupElement instance
    - -
    ArgumentTypeDefault
    otherDOM.HTMLOptGroupElement
    -

  • -
  • HTMLOptGroupElement (other) -
    -
    returns a HTMLOptGroupElement instance
    - -
    ArgumentTypeDefault
    otherDOM.Node
    -

  • -
  • HTMLOptGroupElement (impl) -
    Not Implemented
    -

  • -
  • disabled () -
    -
    returns (bool)

  • -
  • label () -
    -
    returns (DOM.DOMString)

  • -
  • setDisabled (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0bool
    -

  • -
  • setLabel (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0DOM.DOMString
    -

  • -
- - - diff --git a/python/pykde/doc/classref/khtml/DOM.HTMLOptionElement.html b/python/pykde/doc/classref/khtml/DOM.HTMLOptionElement.html deleted file mode 100644 index 4da1c41c..00000000 --- a/python/pykde/doc/classref/khtml/DOM.HTMLOptionElement.html +++ /dev/null @@ -1,119 +0,0 @@ - - - - - class DOM.HTMLOptionElement - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class DOM.HTMLOptionElement


-
- - - - - -
Table of contents
Modules
khtml Classes
All Classes
-
- - - - - - - - - - -
Modulekhtml
ClassDOM.HTMLOptionElement
InheritsDOM.HTMLElement
-

methods

    -
  • HTMLOptionElement () -
    -
    returns a HTMLOptionElement instance

  • -
  • HTMLOptionElement (other) -
    -
    returns a HTMLOptionElement instance
    - -
    ArgumentTypeDefault
    otherDOM.HTMLOptionElement
    -

  • -
  • HTMLOptionElement (other) -
    -
    returns a HTMLOptionElement instance
    - -
    ArgumentTypeDefault
    otherDOM.Node
    -

  • -
  • HTMLOptionElement (impl) -
    Not Implemented
    -

  • -
  • defaultSelected () -
    -
    returns (bool)

  • -
  • disabled () -
    -
    returns (bool)

  • -
  • form () -
    -
    returns (DOM.HTMLFormElement)

  • -
  • index () -
    -
    returns (long)

  • -
  • label () -
    -
    returns (DOM.DOMString)

  • -
  • selected () -
    -
    returns (bool)

  • -
  • setDefaultSelected (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0bool
    -

  • -
  • setDisabled (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0bool
    -

  • -
  • setIndex (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0long
    -

  • -
  • setLabel (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0DOM.DOMString
    -

  • -
  • setSelected (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0bool
    -

  • -
  • setValue (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0DOM.DOMString
    -

  • -
  • text () -
    -
    returns (DOM.DOMString)

  • -
  • value () -
    -
    returns (DOM.DOMString)

  • -
- - - diff --git a/python/pykde/doc/classref/khtml/DOM.HTMLParagraphElement.html b/python/pykde/doc/classref/khtml/DOM.HTMLParagraphElement.html deleted file mode 100644 index 8cd2b7f5..00000000 --- a/python/pykde/doc/classref/khtml/DOM.HTMLParagraphElement.html +++ /dev/null @@ -1,71 +0,0 @@ - - - - - class DOM.HTMLParagraphElement - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class DOM.HTMLParagraphElement


-
- - - - - -
Table of contents
Modules
khtml Classes
All Classes
-
- - - - - - - - - - -
Modulekhtml
ClassDOM.HTMLParagraphElement
InheritsDOM.HTMLElement
-

methods

    -
  • HTMLParagraphElement () -
    -
    returns a HTMLParagraphElement instance

  • -
  • HTMLParagraphElement (other) -
    -
    returns a HTMLParagraphElement instance
    - -
    ArgumentTypeDefault
    otherDOM.HTMLParagraphElement
    -

  • -
  • HTMLParagraphElement (other) -
    -
    returns a HTMLParagraphElement instance
    - -
    ArgumentTypeDefault
    otherDOM.Node
    -

  • -
  • HTMLParagraphElement (impl) -
    Not Implemented
    -

  • -
  • HTMLParagraphElement (a0) -
    Not Implemented
    -

  • -
  • align () -
    -
    returns (DOM.DOMString)

  • -
  • setAlign (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0DOM.DOMString
    -

  • -
- - - diff --git a/python/pykde/doc/classref/khtml/DOM.HTMLParamElement.html b/python/pykde/doc/classref/khtml/DOM.HTMLParamElement.html deleted file mode 100644 index 1b06ca07..00000000 --- a/python/pykde/doc/classref/khtml/DOM.HTMLParamElement.html +++ /dev/null @@ -1,95 +0,0 @@ - - - - - class DOM.HTMLParamElement - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class DOM.HTMLParamElement


-
- - - - - -
Table of contents
Modules
khtml Classes
All Classes
-
- - - - - - - - - - -
Modulekhtml
ClassDOM.HTMLParamElement
InheritsDOM.HTMLElement
-

methods

    -
  • HTMLParamElement () -
    -
    returns a HTMLParamElement instance

  • -
  • HTMLParamElement (other) -
    -
    returns a HTMLParamElement instance
    - -
    ArgumentTypeDefault
    otherDOM.HTMLParamElement
    -

  • -
  • HTMLParamElement (other) -
    -
    returns a HTMLParamElement instance
    - -
    ArgumentTypeDefault
    otherDOM.Node
    -

  • -
  • HTMLParamElement (impl) -
    Not Implemented
    -

  • -
  • name () -
    -
    returns (DOM.DOMString)

  • -
  • setName (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0DOM.DOMString
    -

  • -
  • setType (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0DOM.DOMString
    -

  • -
  • setValue (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0DOM.DOMString
    -

  • -
  • setValueType (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0DOM.DOMString
    -

  • -
  • type () -
    -
    returns (DOM.DOMString)

  • -
  • value () -
    -
    returns (DOM.DOMString)

  • -
  • valueType () -
    -
    returns (DOM.DOMString)

  • -
- - - diff --git a/python/pykde/doc/classref/khtml/DOM.HTMLPreElement.html b/python/pykde/doc/classref/khtml/DOM.HTMLPreElement.html deleted file mode 100644 index 0bd3a4f8..00000000 --- a/python/pykde/doc/classref/khtml/DOM.HTMLPreElement.html +++ /dev/null @@ -1,68 +0,0 @@ - - - - - class DOM.HTMLPreElement - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class DOM.HTMLPreElement


-
- - - - - -
Table of contents
Modules
khtml Classes
All Classes
-
- - - - - - - - - - -
Modulekhtml
ClassDOM.HTMLPreElement
InheritsDOM.HTMLElement
-

methods

    -
  • HTMLPreElement () -
    -
    returns a HTMLPreElement instance

  • -
  • HTMLPreElement (other) -
    -
    returns a HTMLPreElement instance
    - -
    ArgumentTypeDefault
    otherDOM.HTMLPreElement
    -

  • -
  • HTMLPreElement (other) -
    -
    returns a HTMLPreElement instance
    - -
    ArgumentTypeDefault
    otherDOM.Node
    -

  • -
  • HTMLPreElement (impl) -
    Not Implemented
    -

  • -
  • setWidth (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0long
    -

  • -
  • width () -
    -
    returns (long)

  • -
- - - diff --git a/python/pykde/doc/classref/khtml/DOM.HTMLQuoteElement.html b/python/pykde/doc/classref/khtml/DOM.HTMLQuoteElement.html deleted file mode 100644 index 478c13de..00000000 --- a/python/pykde/doc/classref/khtml/DOM.HTMLQuoteElement.html +++ /dev/null @@ -1,68 +0,0 @@ - - - - - class DOM.HTMLQuoteElement - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class DOM.HTMLQuoteElement


-
- - - - - -
Table of contents
Modules
khtml Classes
All Classes
-
- - - - - - - - - - -
Modulekhtml
ClassDOM.HTMLQuoteElement
InheritsDOM.HTMLElement
-

methods

    -
  • HTMLQuoteElement () -
    -
    returns a HTMLQuoteElement instance

  • -
  • HTMLQuoteElement (other) -
    -
    returns a HTMLQuoteElement instance
    - -
    ArgumentTypeDefault
    otherDOM.HTMLQuoteElement
    -

  • -
  • HTMLQuoteElement (other) -
    -
    returns a HTMLQuoteElement instance
    - -
    ArgumentTypeDefault
    otherDOM.Node
    -

  • -
  • HTMLQuoteElement (impl) -
    Not Implemented
    -

  • -
  • cite () -
    -
    returns (DOM.DOMString)

  • -
  • setCite (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0DOM.DOMString
    -

  • -
- - - diff --git a/python/pykde/doc/classref/khtml/DOM.HTMLScriptElement.html b/python/pykde/doc/classref/khtml/DOM.HTMLScriptElement.html deleted file mode 100644 index 82b2e08d..00000000 --- a/python/pykde/doc/classref/khtml/DOM.HTMLScriptElement.html +++ /dev/null @@ -1,122 +0,0 @@ - - - - - class DOM.HTMLScriptElement - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class DOM.HTMLScriptElement


-
- - - - - -
Table of contents
Modules
khtml Classes
All Classes
-
- - - - - - - - - - -
Modulekhtml
ClassDOM.HTMLScriptElement
InheritsDOM.HTMLElement
-

methods

    -
  • HTMLScriptElement () -
    -
    returns a HTMLScriptElement instance

  • -
  • HTMLScriptElement (other) -
    -
    returns a HTMLScriptElement instance
    - -
    ArgumentTypeDefault
    otherDOM.HTMLScriptElement
    -

  • -
  • HTMLScriptElement (other) -
    -
    returns a HTMLScriptElement instance
    - -
    ArgumentTypeDefault
    otherDOM.Node
    -

  • -
  • HTMLScriptElement (impl) -
    Not Implemented
    -

  • -
  • charset () -
    -
    returns (DOM.DOMString)

  • -
  • defer () -
    -
    returns (bool)

  • -
  • event () -
    -
    returns (DOM.DOMString)

  • -
  • htmlFor () -
    -
    returns (DOM.DOMString)

  • -
  • setCharset (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0DOM.DOMString
    -

  • -
  • setDefer (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0bool
    -

  • -
  • setEvent (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0DOM.DOMString
    -

  • -
  • setHtmlFor (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0DOM.DOMString
    -

  • -
  • setSrc (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0DOM.DOMString
    -

  • -
  • setText (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0DOM.DOMString
    -

  • -
  • setType (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0DOM.DOMString
    -

  • -
  • src () -
    -
    returns (DOM.DOMString)

  • -
  • text () -
    -
    returns (DOM.DOMString)

  • -
  • type () -
    -
    returns (DOM.DOMString)

  • -
- - - diff --git a/python/pykde/doc/classref/khtml/DOM.HTMLSelectElement.html b/python/pykde/doc/classref/khtml/DOM.HTMLSelectElement.html deleted file mode 100644 index e6492bfa..00000000 --- a/python/pykde/doc/classref/khtml/DOM.HTMLSelectElement.html +++ /dev/null @@ -1,153 +0,0 @@ - - - - - class DOM.HTMLSelectElement - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class DOM.HTMLSelectElement


-
- - - - - -
Table of contents
Modules
khtml Classes
All Classes
-
- - - - - - - - - - -
Modulekhtml
ClassDOM.HTMLSelectElement
InheritsDOM.HTMLElement
-

methods

    -
  • HTMLSelectElement () -
    -
    returns a HTMLSelectElement instance

  • -
  • HTMLSelectElement (other) -
    -
    returns a HTMLSelectElement instance
    - -
    ArgumentTypeDefault
    otherDOM.HTMLSelectElement
    -

  • -
  • HTMLSelectElement (other) -
    -
    returns a HTMLSelectElement instance
    - -
    ArgumentTypeDefault
    otherDOM.Node
    -

  • -
  • HTMLSelectElement (impl) -
    Not Implemented
    -

  • -
  • add (element, before) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    elementDOM.HTMLElement
    beforeDOM.HTMLElement
    -

  • -
  • blur () -
    -
    returns nothing

  • -
  • disabled () -
    -
    returns (bool)

  • -
  • focus () -
    -
    returns nothing

  • -
  • form () -
    -
    returns (DOM.HTMLFormElement)

  • -
  • length () -
    -
    returns (long)

  • -
  • multiple () -
    -
    returns (bool)

  • -
  • name () -
    -
    returns (DOM.DOMString)

  • -
  • options () -
    -
    returns (DOM.HTMLCollection)

  • -
  • remove (index) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    indexlong
    -

  • -
  • selectedIndex () -
    -
    returns (long)

  • -
  • setDisabled (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0bool
    -

  • -
  • setMultiple (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0bool
    -

  • -
  • setName (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0DOM.DOMString
    -

  • -
  • setSelectedIndex (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0long
    -

  • -
  • setSize (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0long
    -

  • -
  • setTabIndex (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0long
    -

  • -
  • setValue (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0DOM.DOMString
    -

  • -
  • size () -
    -
    returns (long)

  • -
  • tabIndex () -
    -
    returns (long)

  • -
  • type () -
    -
    returns (DOM.DOMString)

  • -
  • value () -
    -
    returns (DOM.DOMString)

  • -
- - - diff --git a/python/pykde/doc/classref/khtml/DOM.HTMLStyleElement.html b/python/pykde/doc/classref/khtml/DOM.HTMLStyleElement.html deleted file mode 100644 index 778ded7c..00000000 --- a/python/pykde/doc/classref/khtml/DOM.HTMLStyleElement.html +++ /dev/null @@ -1,89 +0,0 @@ - - - - - class DOM.HTMLStyleElement - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class DOM.HTMLStyleElement


-
- - - - - -
Table of contents
Modules
khtml Classes
All Classes
-
- - - - - - - - - - -
Modulekhtml
ClassDOM.HTMLStyleElement
InheritsDOM.HTMLElement
-

methods

    -
  • HTMLStyleElement () -
    -
    returns a HTMLStyleElement instance

  • -
  • HTMLStyleElement (other) -
    -
    returns a HTMLStyleElement instance
    - -
    ArgumentTypeDefault
    otherDOM.HTMLStyleElement
    -

  • -
  • HTMLStyleElement (other) -
    -
    returns a HTMLStyleElement instance
    - -
    ArgumentTypeDefault
    otherDOM.Node
    -

  • -
  • HTMLStyleElement (impl) -
    Not Implemented
    -

  • -
  • disabled () -
    -
    returns (bool)

  • -
  • media () -
    -
    returns (DOM.DOMString)

  • -
  • setDisabled (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0bool
    -

  • -
  • setMedia (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0DOM.DOMString
    -

  • -
  • setType (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0DOM.DOMString
    -

  • -
  • sheet () -
    -
    returns (DOM.StyleSheet)

  • -
  • type () -
    -
    returns (DOM.DOMString)

  • -
- - - diff --git a/python/pykde/doc/classref/khtml/DOM.HTMLTableCaptionElement.html b/python/pykde/doc/classref/khtml/DOM.HTMLTableCaptionElement.html deleted file mode 100644 index 66c0cf2a..00000000 --- a/python/pykde/doc/classref/khtml/DOM.HTMLTableCaptionElement.html +++ /dev/null @@ -1,68 +0,0 @@ - - - - - class DOM.HTMLTableCaptionElement - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class DOM.HTMLTableCaptionElement


-
- - - - - -
Table of contents
Modules
khtml Classes
All Classes
-
- - - - - - - - - - -
Modulekhtml
ClassDOM.HTMLTableCaptionElement
InheritsDOM.HTMLElement
-

methods

    -
  • HTMLTableCaptionElement () -
    -
    returns a HTMLTableCaptionElement instance

  • -
  • HTMLTableCaptionElement (other) -
    -
    returns a HTMLTableCaptionElement instance
    - -
    ArgumentTypeDefault
    otherDOM.HTMLTableCaptionElement
    -

  • -
  • HTMLTableCaptionElement (other) -
    -
    returns a HTMLTableCaptionElement instance
    - -
    ArgumentTypeDefault
    otherDOM.Node
    -

  • -
  • HTMLTableCaptionElement (impl) -
    Not Implemented
    -

  • -
  • align () -
    -
    returns (DOM.DOMString)

  • -
  • setAlign (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0DOM.DOMString
    -

  • -
- - - diff --git a/python/pykde/doc/classref/khtml/DOM.HTMLTableCellElement.html b/python/pykde/doc/classref/khtml/DOM.HTMLTableCellElement.html deleted file mode 100644 index 0a67afe7..00000000 --- a/python/pykde/doc/classref/khtml/DOM.HTMLTableCellElement.html +++ /dev/null @@ -1,194 +0,0 @@ - - - - - class DOM.HTMLTableCellElement - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class DOM.HTMLTableCellElement


-
- - - - - -
Table of contents
Modules
khtml Classes
All Classes
-
- - - - - - - - - - -
Modulekhtml
ClassDOM.HTMLTableCellElement
InheritsDOM.HTMLElement
-

methods

    -
  • HTMLTableCellElement () -
    -
    returns a HTMLTableCellElement instance

  • -
  • HTMLTableCellElement (other) -
    -
    returns a HTMLTableCellElement instance
    - -
    ArgumentTypeDefault
    otherDOM.HTMLTableCellElement
    -

  • -
  • HTMLTableCellElement (other) -
    -
    returns a HTMLTableCellElement instance
    - -
    ArgumentTypeDefault
    otherDOM.Node
    -

  • -
  • HTMLTableCellElement (impl) -
    Not Implemented
    -

  • -
  • abbr () -
    -
    returns (DOM.DOMString)

  • -
  • align () -
    -
    returns (DOM.DOMString)

  • -
  • axis () -
    -
    returns (DOM.DOMString)

  • -
  • bgColor () -
    -
    returns (DOM.DOMString)

  • -
  • cellIndex () -
    -
    returns (long)

  • -
  • ch () -
    -
    returns (DOM.DOMString)

  • -
  • chOff () -
    -
    returns (DOM.DOMString)

  • -
  • colSpan () -
    -
    returns (long)

  • -
  • headers () -
    -
    returns (DOM.DOMString)

  • -
  • height () -
    -
    returns (DOM.DOMString)

  • -
  • noWrap () -
    -
    returns (bool)

  • -
  • rowSpan () -
    -
    returns (long)

  • -
  • scope () -
    -
    returns (DOM.DOMString)

  • -
  • setAbbr (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0DOM.DOMString
    -

  • -
  • setAlign (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0DOM.DOMString
    -

  • -
  • setAxis (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0DOM.DOMString
    -

  • -
  • setBgColor (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0DOM.DOMString
    -

  • -
  • setCellIndex (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0long
    -

  • -
  • setCh (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0DOM.DOMString
    -

  • -
  • setChOff (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0DOM.DOMString
    -

  • -
  • setColSpan (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0long
    -

  • -
  • setHeaders (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0DOM.DOMString
    -

  • -
  • setHeight (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0DOM.DOMString
    -

  • -
  • setNoWrap (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0bool
    -

  • -
  • setRowSpan (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0long
    -

  • -
  • setScope (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0DOM.DOMString
    -

  • -
  • setVAlign (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0DOM.DOMString
    -

  • -
  • setWidth (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0DOM.DOMString
    -

  • -
  • vAlign () -
    -
    returns (DOM.DOMString)

  • -
  • width () -
    -
    returns (DOM.DOMString)

  • -
- - - diff --git a/python/pykde/doc/classref/khtml/DOM.HTMLTableColElement.html b/python/pykde/doc/classref/khtml/DOM.HTMLTableColElement.html deleted file mode 100644 index e8476ff8..00000000 --- a/python/pykde/doc/classref/khtml/DOM.HTMLTableColElement.html +++ /dev/null @@ -1,113 +0,0 @@ - - - - - class DOM.HTMLTableColElement - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class DOM.HTMLTableColElement


-
- - - - - -
Table of contents
Modules
khtml Classes
All Classes
-
- - - - - - - - - - -
Modulekhtml
ClassDOM.HTMLTableColElement
InheritsDOM.HTMLElement
-

methods

    -
  • HTMLTableColElement () -
    -
    returns a HTMLTableColElement instance

  • -
  • HTMLTableColElement (other) -
    -
    returns a HTMLTableColElement instance
    - -
    ArgumentTypeDefault
    otherDOM.HTMLTableColElement
    -

  • -
  • HTMLTableColElement (other) -
    -
    returns a HTMLTableColElement instance
    - -
    ArgumentTypeDefault
    otherDOM.Node
    -

  • -
  • HTMLTableColElement (impl) -
    Not Implemented
    -

  • -
  • align () -
    -
    returns (DOM.DOMString)

  • -
  • ch () -
    -
    returns (DOM.DOMString)

  • -
  • chOff () -
    -
    returns (DOM.DOMString)

  • -
  • setAlign (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0DOM.DOMString
    -

  • -
  • setCh (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0DOM.DOMString
    -

  • -
  • setChOff (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0DOM.DOMString
    -

  • -
  • setSpan (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0long
    -

  • -
  • setVAlign (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0DOM.DOMString
    -

  • -
  • setWidth (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0DOM.DOMString
    -

  • -
  • span () -
    -
    returns (long)

  • -
  • vAlign () -
    -
    returns (DOM.DOMString)

  • -
  • width () -
    -
    returns (DOM.DOMString)

  • -
- - - diff --git a/python/pykde/doc/classref/khtml/DOM.HTMLTableElement.html b/python/pykde/doc/classref/khtml/DOM.HTMLTableElement.html deleted file mode 100644 index aab07f02..00000000 --- a/python/pykde/doc/classref/khtml/DOM.HTMLTableElement.html +++ /dev/null @@ -1,203 +0,0 @@ - - - - - class DOM.HTMLTableElement - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class DOM.HTMLTableElement


-
- - - - - -
Table of contents
Modules
khtml Classes
All Classes
-
- - - - - - - - - - -
Modulekhtml
ClassDOM.HTMLTableElement
InheritsDOM.HTMLElement
-

methods

    -
  • HTMLTableElement () -
    -
    returns a HTMLTableElement instance

  • -
  • HTMLTableElement (other) -
    -
    returns a HTMLTableElement instance
    - -
    ArgumentTypeDefault
    otherDOM.HTMLTableElement
    -

  • -
  • HTMLTableElement (other) -
    -
    returns a HTMLTableElement instance
    - -
    ArgumentTypeDefault
    otherDOM.Node
    -

  • -
  • HTMLTableElement (impl) -
    Not Implemented
    -

  • -
  • align () -
    -
    returns (DOM.DOMString)

  • -
  • bgColor () -
    -
    returns (DOM.DOMString)

  • -
  • border () -
    -
    returns (DOM.DOMString)

  • -
  • caption () -
    -
    returns (DOM.HTMLTableCaptionElement)

  • -
  • cellPadding () -
    -
    returns (DOM.DOMString)

  • -
  • cellSpacing () -
    -
    returns (DOM.DOMString)

  • -
  • createCaption () -
    -
    returns (DOM.HTMLElement)

  • -
  • createTFoot () -
    -
    returns (DOM.HTMLElement)

  • -
  • createTHead () -
    -
    returns (DOM.HTMLElement)

  • -
  • deleteCaption () -
    -
    returns nothing

  • -
  • deleteRow (index) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    indexlong
    -

  • -
  • deleteTFoot () -
    -
    returns nothing

  • -
  • deleteTHead () -
    -
    returns nothing

  • -
  • frame () -
    -
    returns (DOM.DOMString)

  • -
  • insertRow (index) -
    -
    returns (DOM.HTMLElement)
    - -
    ArgumentTypeDefault
    indexlong
    -

  • -
  • rows () -
    -
    returns (DOM.HTMLCollection)

  • -
  • rules () -
    -
    returns (DOM.DOMString)

  • -
  • setAlign (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0DOM.DOMString
    -

  • -
  • setBgColor (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0DOM.DOMString
    -

  • -
  • setBorder (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0DOM.DOMString
    -

  • -
  • setCaption (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0DOM.HTMLTableCaptionElement
    -

  • -
  • setCellPadding (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0DOM.DOMString
    -

  • -
  • setCellSpacing (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0DOM.DOMString
    -

  • -
  • setFrame (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0DOM.DOMString
    -

  • -
  • setRules (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0DOM.DOMString
    -

  • -
  • setSummary (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0DOM.DOMString
    -

  • -
  • setTFoot (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0DOM.HTMLTableSectionElement
    -

  • -
  • setTHead (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0DOM.HTMLTableSectionElement
    -

  • -
  • setWidth (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0DOM.DOMString
    -

  • -
  • summary () -
    -
    returns (DOM.DOMString)

  • -
  • tBodies () -
    -
    returns (DOM.HTMLCollection)

  • -
  • tFoot () -
    -
    returns (DOM.HTMLTableSectionElement)

  • -
  • tHead () -
    -
    returns (DOM.HTMLTableSectionElement)

  • -
  • width () -
    -
    returns (DOM.DOMString)

  • -
- - - diff --git a/python/pykde/doc/classref/khtml/DOM.HTMLTableRowElement.html b/python/pykde/doc/classref/khtml/DOM.HTMLTableRowElement.html deleted file mode 100644 index 2383f766..00000000 --- a/python/pykde/doc/classref/khtml/DOM.HTMLTableRowElement.html +++ /dev/null @@ -1,143 +0,0 @@ - - - - - class DOM.HTMLTableRowElement - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class DOM.HTMLTableRowElement


-
- - - - - -
Table of contents
Modules
khtml Classes
All Classes
-
- - - - - - - - - - -
Modulekhtml
ClassDOM.HTMLTableRowElement
InheritsDOM.HTMLElement
-

methods

    -
  • HTMLTableRowElement () -
    -
    returns a HTMLTableRowElement instance

  • -
  • HTMLTableRowElement (other) -
    -
    returns a HTMLTableRowElement instance
    - -
    ArgumentTypeDefault
    otherDOM.HTMLTableRowElement
    -

  • -
  • HTMLTableRowElement (other) -
    -
    returns a HTMLTableRowElement instance
    - -
    ArgumentTypeDefault
    otherDOM.Node
    -

  • -
  • HTMLTableRowElement (impl) -
    Not Implemented
    -

  • -
  • align () -
    -
    returns (DOM.DOMString)

  • -
  • bgColor () -
    -
    returns (DOM.DOMString)

  • -
  • cells () -
    -
    returns (DOM.HTMLCollection)

  • -
  • ch () -
    -
    returns (DOM.DOMString)

  • -
  • chOff () -
    -
    returns (DOM.DOMString)

  • -
  • deleteCell (index) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    indexlong
    -

  • -
  • insertCell (index) -
    -
    returns (DOM.HTMLElement)
    - -
    ArgumentTypeDefault
    indexlong
    -

  • -
  • rowIndex () -
    -
    returns (long)

  • -
  • sectionRowIndex () -
    -
    returns (long)

  • -
  • setAlign (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0DOM.DOMString
    -

  • -
  • setBgColor (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0DOM.DOMString
    -

  • -
  • setCells (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0DOM.HTMLCollection
    -

  • -
  • setCh (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0DOM.DOMString
    -

  • -
  • setChOff (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0DOM.DOMString
    -

  • -
  • setRowIndex (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0long
    -

  • -
  • setSectionRowIndex (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0long
    -

  • -
  • setVAlign (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0DOM.DOMString
    -

  • -
  • vAlign () -
    -
    returns (DOM.DOMString)

  • -
- - - diff --git a/python/pykde/doc/classref/khtml/DOM.HTMLTableSectionElement.html b/python/pykde/doc/classref/khtml/DOM.HTMLTableSectionElement.html deleted file mode 100644 index d21647a3..00000000 --- a/python/pykde/doc/classref/khtml/DOM.HTMLTableSectionElement.html +++ /dev/null @@ -1,110 +0,0 @@ - - - - - class DOM.HTMLTableSectionElement - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class DOM.HTMLTableSectionElement


-
- - - - - -
Table of contents
Modules
khtml Classes
All Classes
-
- - - - - - - - - - -
Modulekhtml
ClassDOM.HTMLTableSectionElement
InheritsDOM.HTMLElement
-

methods

    -
  • HTMLTableSectionElement () -
    -
    returns a HTMLTableSectionElement instance

  • -
  • HTMLTableSectionElement (other) -
    -
    returns a HTMLTableSectionElement instance
    - -
    ArgumentTypeDefault
    otherDOM.HTMLTableSectionElement
    -

  • -
  • HTMLTableSectionElement (other) -
    -
    returns a HTMLTableSectionElement instance
    - -
    ArgumentTypeDefault
    otherDOM.Node
    -

  • -
  • HTMLTableSectionElement (impl) -
    Not Implemented
    -

  • -
  • align () -
    -
    returns (DOM.DOMString)

  • -
  • ch () -
    -
    returns (DOM.DOMString)

  • -
  • chOff () -
    -
    returns (DOM.DOMString)

  • -
  • deleteRow (index) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    indexlong
    -

  • -
  • insertRow (index) -
    -
    returns (DOM.HTMLElement)
    - -
    ArgumentTypeDefault
    indexlong
    -

  • -
  • rows () -
    -
    returns (DOM.HTMLCollection)

  • -
  • setAlign (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0DOM.DOMString
    -

  • -
  • setCh (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0DOM.DOMString
    -

  • -
  • setChOff (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0DOM.DOMString
    -

  • -
  • setVAlign (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0DOM.DOMString
    -

  • -
  • vAlign () -
    -
    returns (DOM.DOMString)

  • -
- - - diff --git a/python/pykde/doc/classref/khtml/DOM.HTMLTextAreaElement.html b/python/pykde/doc/classref/khtml/DOM.HTMLTextAreaElement.html deleted file mode 100644 index ba158ad0..00000000 --- a/python/pykde/doc/classref/khtml/DOM.HTMLTextAreaElement.html +++ /dev/null @@ -1,189 +0,0 @@ - - - - - class DOM.HTMLTextAreaElement - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class DOM.HTMLTextAreaElement


-
- - - - - -
Table of contents
Modules
khtml Classes
All Classes
-
- - - - - - - - - - -
Modulekhtml
ClassDOM.HTMLTextAreaElement
InheritsDOM.HTMLElement
-

methods

    -
  • HTMLTextAreaElement () -
    -
    returns a HTMLTextAreaElement instance

  • -
  • HTMLTextAreaElement (other) -
    -
    returns a HTMLTextAreaElement instance
    - -
    ArgumentTypeDefault
    otherDOM.HTMLTextAreaElement
    -

  • -
  • HTMLTextAreaElement (other) -
    -
    returns a HTMLTextAreaElement instance
    - -
    ArgumentTypeDefault
    otherDOM.Node
    -

  • -
  • HTMLTextAreaElement (impl) -
    Not Implemented
    -

  • -
  • accessKey () -
    -
    returns (DOM.DOMString)

  • -
  • blur () -
    -
    returns nothing

  • -
  • cols () -
    -
    returns (long)

  • -
  • defaultValue () -
    -
    returns (DOM.DOMString)

  • -
  • disabled () -
    -
    returns (bool)

  • -
  • focus () -
    -
    returns nothing

  • -
  • form () -
    -
    returns (DOM.HTMLFormElement)

  • -
  • name () -
    -
    returns (DOM.DOMString)

  • -
  • readOnly () -
    -
    returns (bool)

  • -
  • rows () -
    -
    returns (long)

  • -
  • select () -
    -
    returns nothing

  • -
  • selectionEnd () -
    - -
    returns (long)
    In versions KDE 3.5.2 and above only

  • -
  • selectionStart () -
    - -
    returns (long)
    In versions KDE 3.5.2 and above only

  • -
  • setAccessKey (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0DOM.DOMString
    -

  • -
  • setCols (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0long
    -

  • -
  • setDefaultValue (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0DOM.DOMString
    -

  • -
  • setDisabled (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0bool
    -

  • -
  • setName (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0DOM.DOMString
    -

  • -
  • setReadOnly (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0bool
    -

  • -
  • setRows (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0long
    -

  • -
  • setSelectionEnd (offset) -
    - -
    returns nothing
    In versions KDE 3.5.2 and above only
    - -
    ArgumentTypeDefault
    offsetlong
    -

  • -
  • setSelectionRange (start, end) -
    - -
    returns nothing
    In versions KDE 3.5.2 and above only
    - - -
    ArgumentTypeDefault
    startlong
    endlong
    -

  • -
  • setSelectionStart (offset) -
    - -
    returns nothing
    In versions KDE 3.5.2 and above only
    - -
    ArgumentTypeDefault
    offsetlong
    -

  • -
  • setTabIndex (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0long
    -

  • -
  • setValue (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0DOM.DOMString
    -

  • -
  • tabIndex () -
    -
    returns (long)

  • -
  • textLength () -
    - -
    returns (long)
    In versions KDE 3.5.2 and above only

  • -
  • type () -
    -
    returns (DOM.DOMString)

  • -
  • value () -
    -
    returns (DOM.DOMString)

  • -
- - - diff --git a/python/pykde/doc/classref/khtml/DOM.HTMLTitleElement.html b/python/pykde/doc/classref/khtml/DOM.HTMLTitleElement.html deleted file mode 100644 index 1a08e650..00000000 --- a/python/pykde/doc/classref/khtml/DOM.HTMLTitleElement.html +++ /dev/null @@ -1,68 +0,0 @@ - - - - - class DOM.HTMLTitleElement - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class DOM.HTMLTitleElement


-
- - - - - -
Table of contents
Modules
khtml Classes
All Classes
-
- - - - - - - - - - -
Modulekhtml
ClassDOM.HTMLTitleElement
InheritsDOM.HTMLElement
-

methods

    -
  • HTMLTitleElement () -
    -
    returns a HTMLTitleElement instance

  • -
  • HTMLTitleElement (other) -
    -
    returns a HTMLTitleElement instance
    - -
    ArgumentTypeDefault
    otherDOM.HTMLTitleElement
    -

  • -
  • HTMLTitleElement (other) -
    -
    returns a HTMLTitleElement instance
    - -
    ArgumentTypeDefault
    otherDOM.Node
    -

  • -
  • HTMLTitleElement (impl) -
    Not Implemented
    -

  • -
  • setText (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0DOM.DOMString
    -

  • -
  • text () -
    -
    returns (DOM.DOMString)

  • -
- - - diff --git a/python/pykde/doc/classref/khtml/DOM.HTMLUListElement.html b/python/pykde/doc/classref/khtml/DOM.HTMLUListElement.html deleted file mode 100644 index 21e71d42..00000000 --- a/python/pykde/doc/classref/khtml/DOM.HTMLUListElement.html +++ /dev/null @@ -1,77 +0,0 @@ - - - - - class DOM.HTMLUListElement - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class DOM.HTMLUListElement


-
- - - - - -
Table of contents
Modules
khtml Classes
All Classes
-
- - - - - - - - - - -
Modulekhtml
ClassDOM.HTMLUListElement
InheritsDOM.HTMLElement
-

methods

    -
  • HTMLUListElement () -
    -
    returns a HTMLUListElement instance

  • -
  • HTMLUListElement (other) -
    -
    returns a HTMLUListElement instance
    - -
    ArgumentTypeDefault
    otherDOM.HTMLUListElement
    -

  • -
  • HTMLUListElement (other) -
    -
    returns a HTMLUListElement instance
    - -
    ArgumentTypeDefault
    otherDOM.Node
    -

  • -
  • HTMLUListElement (impl) -
    Not Implemented
    -

  • -
  • compact () -
    -
    returns (bool)

  • -
  • setCompact (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0bool
    -

  • -
  • setType (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0DOM.DOMString
    -

  • -
  • type () -
    -
    returns (DOM.DOMString)

  • -
- - - diff --git a/python/pykde/doc/classref/khtml/DOM.LinkStyle.html b/python/pykde/doc/classref/khtml/DOM.LinkStyle.html deleted file mode 100644 index db3004ef..00000000 --- a/python/pykde/doc/classref/khtml/DOM.LinkStyle.html +++ /dev/null @@ -1,56 +0,0 @@ - - - - - class DOM.LinkStyle - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class DOM.LinkStyle


-
- - - - - -
Table of contents
Modules
khtml Classes
All Classes
-
- - - - - - - - - - -
Modulekhtml
ClassDOM.LinkStyle
Inherits
-

methods

    -
  • LinkStyle () -
    -
    returns a LinkStyle instance

  • -
  • LinkStyle (other) -
    -
    returns a LinkStyle instance
    - -
    ArgumentTypeDefault
    otherDOM.LinkStyle
    -

  • -
  • isNull () -
    -
    returns (bool)

  • -
  • sheet () -
    -
    returns (DOM.StyleSheet)

  • -
- - - diff --git a/python/pykde/doc/classref/khtml/DOM.MediaList.html b/python/pykde/doc/classref/khtml/DOM.MediaList.html deleted file mode 100644 index 4fe4224e..00000000 --- a/python/pykde/doc/classref/khtml/DOM.MediaList.html +++ /dev/null @@ -1,89 +0,0 @@ - - - - - class DOM.MediaList - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class DOM.MediaList


-
- - - - - -
Table of contents
Modules
khtml Classes
All Classes
-
- - - - - - - - - - -
Modulekhtml
ClassDOM.MediaList
Inherits
-

methods

    -
  • MediaList () -
    -
    returns a MediaList instance

  • -
  • MediaList (other) -
    -
    returns a MediaList instance
    - -
    ArgumentTypeDefault
    otherDOM.MediaList
    -

  • -
  • MediaList (impl) -
    Not Implemented
    -

  • -
  • appendMedium (newMedium) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    newMediumDOM.DOMString
    -

  • -
  • deleteMedium (oldMedium) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    oldMediumDOM.DOMString
    -

  • -
  • handle () -
    Not Implemented
    -

  • -
  • isNull () -
    -
    returns (bool)

  • -
  • item (index) -
    -
    returns (DOM.DOMString)
    - -
    ArgumentTypeDefault
    indexulong
    -

  • -
  • length () -
    -
    returns (ulong)

  • -
  • mediaText () -
    -
    returns (DOM.DOMString)

  • -
  • setMediaText (value) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    valueDOM.DOMString
    -

  • -
- - - diff --git a/python/pykde/doc/classref/khtml/DOM.MouseEvent.html b/python/pykde/doc/classref/khtml/DOM.MouseEvent.html deleted file mode 100644 index 53414887..00000000 --- a/python/pykde/doc/classref/khtml/DOM.MouseEvent.html +++ /dev/null @@ -1,109 +0,0 @@ - - - - - class DOM.MouseEvent - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class DOM.MouseEvent


-
- - - - - -
Table of contents
Modules
khtml Classes
All Classes
-
- - - - - - - - - - -
Modulekhtml
ClassDOM.MouseEvent
InheritsDOM.UIEvent
-

methods

    -
  • MouseEvent () -
    -
    returns a MouseEvent instance

  • -
  • MouseEvent (other) -
    -
    returns a MouseEvent instance
    - -
    ArgumentTypeDefault
    otherDOM.MouseEvent
    -

  • -
  • MouseEvent (other) -
    -
    returns a MouseEvent instance
    - -
    ArgumentTypeDefault
    otherDOM.Event
    -

  • -
  • MouseEvent (impl) -
    Not Implemented
    -

  • -
  • altKey () -
    -
    returns (bool)

  • -
  • button () -
    -
    returns (ushort)

  • -
  • clientX () -
    -
    returns (long)

  • -
  • clientY () -
    -
    returns (long)

  • -
  • ctrlKey () -
    -
    returns (bool)

  • -
  • initMouseEvent (typeArg, canBubbleArg, cancelableArg, viewArg, detailArg, screenXArg, screenYArg, clientXArg, clientYArg, ctrlKeyArg, altKeyArg, shiftKeyArg, metaKeyArg, buttonArg, relatedTargetArg) -
    -
    returns nothing
    - - - - - - - - - - - - - - - -
    ArgumentTypeDefault
    typeArgDOM.DOMString
    canBubbleArgbool
    cancelableArgbool
    viewArgDOM.AbstractView
    detailArglong
    screenXArglong
    screenYArglong
    clientXArglong
    clientYArglong
    ctrlKeyArgbool
    altKeyArgbool
    shiftKeyArgbool
    metaKeyArgbool
    buttonArgushort
    relatedTargetArgDOM.Node
    -

  • -
  • metaKey () -
    -
    returns (bool)

  • -
  • relatedTarget () -
    -
    returns (DOM.Node)

  • -
  • screenX () -
    -
    returns (long)

  • -
  • screenY () -
    -
    returns (long)

  • -
  • shiftKey () -
    -
    returns (bool)

  • -
- - - diff --git a/python/pykde/doc/classref/khtml/DOM.MutationEvent.html b/python/pykde/doc/classref/khtml/DOM.MutationEvent.html deleted file mode 100644 index 9d5b60dc..00000000 --- a/python/pykde/doc/classref/khtml/DOM.MutationEvent.html +++ /dev/null @@ -1,99 +0,0 @@ - - - - - class DOM.MutationEvent - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class DOM.MutationEvent


-
- - - - - -
Table of contents
Modules
khtml Classes
All Classes
-
- - - - - - - - - - -
Modulekhtml
ClassDOM.MutationEvent
InheritsDOM.Event
-

enums

    -
  • attrChangeType = {MODIFICATION, ADDITION, REMOVAL -}
-

methods

    -
  • MutationEvent () -
    - -
    returns a MutationEvent instance
    In versions KDE 3.1.0 and above only

  • -
  • MutationEvent (other) -
    - -
    returns a MutationEvent instance
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    otherDOM.MutationEvent
    -

  • -
  • MutationEvent (other) -
    - -
    returns a MutationEvent instance
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    otherDOM.Event
    -

  • -
  • MutationEvent (impl) -
    Not Implemented
    -

  • -
  • attrChange () -
    - -
    returns (ushort)
    In versions KDE 3.1.0 and above only

  • -
  • attrName () -
    - -
    returns (DOM.DOMString)
    In versions KDE 3.1.0 and above only

  • -
  • initMutationEvent (typeArg, canBubbleArg, cancelableArg, relatedNodeArg, prevValueArg, newValueArg, attrNameArg, attrChangeArg) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - - - - - - - - -
    ArgumentTypeDefault
    typeArgDOM.DOMString
    canBubbleArgbool
    cancelableArgbool
    relatedNodeArgDOM.Node
    prevValueArgDOM.DOMString
    newValueArgDOM.DOMString
    attrNameArgDOM.DOMString
    attrChangeArgushort
    -

  • -
  • newValue () -
    - -
    returns (DOM.DOMString)
    In versions KDE 3.1.0 and above only

  • -
  • prevValue () -
    - -
    returns (DOM.DOMString)
    In versions KDE 3.1.0 and above only

  • -
  • relatedNode () -
    - -
    returns (DOM.Node)
    In versions KDE 3.1.0 and above only

  • -
- - - diff --git a/python/pykde/doc/classref/khtml/DOM.NamedNodeMap.html b/python/pykde/doc/classref/khtml/DOM.NamedNodeMap.html deleted file mode 100644 index 6f377c90..00000000 --- a/python/pykde/doc/classref/khtml/DOM.NamedNodeMap.html +++ /dev/null @@ -1,106 +0,0 @@ - - - - - class DOM.NamedNodeMap - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class DOM.NamedNodeMap


-
- - - - - -
Table of contents
Modules
khtml Classes
All Classes
-
- - - - - - - - - - -
Modulekhtml
ClassDOM.NamedNodeMap
Inherits
-

methods

    -
  • NamedNodeMap () -
    -
    returns a NamedNodeMap instance

  • -
  • NamedNodeMap (other) -
    -
    returns a NamedNodeMap instance
    - -
    ArgumentTypeDefault
    otherDOM.NamedNodeMap
    -

  • -
  • NamedNodeMap (i) -
    Not Implemented
    -

  • -
  • getNamedItem (name) -
    -
    returns (DOM.Node)
    - -
    ArgumentTypeDefault
    nameDOM.DOMString
    -

  • -
  • getNamedItemNS (namespaceURI, localName) -
    -
    returns (DOM.Node)
    - - -
    ArgumentTypeDefault
    namespaceURIDOM.DOMString
    localNameDOM.DOMString
    -

  • -
  • handle () -
    Not Implemented
    -

  • -
  • isNull () -
    -
    returns (bool)

  • -
  • item (index) -
    -
    returns (DOM.Node)
    - -
    ArgumentTypeDefault
    indexulong
    -

  • -
  • length () -
    -
    returns (ulong)

  • -
  • removeNamedItem (name) -
    -
    returns (DOM.Node)
    - -
    ArgumentTypeDefault
    nameDOM.DOMString
    -

  • -
  • removeNamedItemNS (namespaceURI, localName) -
    -
    returns (DOM.Node)
    - - -
    ArgumentTypeDefault
    namespaceURIDOM.DOMString
    localNameDOM.DOMString
    -

  • -
  • setNamedItem (arg) -
    -
    returns (DOM.Node)
    - -
    ArgumentTypeDefault
    argDOM.Node
    -

  • -
  • setNamedItemNS (arg) -
    -
    returns (DOM.Node)
    - -
    ArgumentTypeDefault
    argDOM.Node
    -

  • -
- - - diff --git a/python/pykde/doc/classref/khtml/DOM.Node.html b/python/pykde/doc/classref/khtml/DOM.Node.html deleted file mode 100644 index fcca5835..00000000 --- a/python/pykde/doc/classref/khtml/DOM.Node.html +++ /dev/null @@ -1,221 +0,0 @@ - - - - - class DOM.Node - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class DOM.Node


-
- - - - - -
Table of contents
Modules
khtml Classes
All Classes
-
- - - - - - - - - - -
Modulekhtml
ClassDOM.Node
Inherits
-

enums

    -
  • NodeType = {ELEMENT_NODE, ATTRIBUTE_NODE, TEXT_NODE, CDATA_SECTION_NODE, ENTITY_REFERENCE_NODE, ENTITY_NODE, PROCESSING_INSTRUCTION_NODE, COMMENT_NODE, DOCUMENT_NODE, DOCUMENT_TYPE_NODE, DOCUMENT_FRAGMENT_NODE, NOTATION_NODE -}
-

methods

    -
  • Node () -
    -
    returns a Node instance

  • -
  • Node (other) -
    -
    returns a Node instance
    - -
    ArgumentTypeDefault
    otherDOM.Node
    -

  • -
  • Node (_impl) -
    Not Implemented
    -

  • -
  • addEventListener (type, listener, useCapture) -
    -
    returns nothing
    - - - -
    ArgumentTypeDefault
    typeDOM.DOMString
    listenerDOM.EventListener
    useCapturebool
    -

  • -
  • appendChild (newChild) -
    -
    returns (DOM.Node)
    - -
    ArgumentTypeDefault
    newChildDOM.Node
    -

  • -
  • applyChanges () -
    -
    returns nothing

  • -
  • attributes () -
    -
    returns (DOM.NamedNodeMap)

  • -
  • childNodes () -
    -
    returns (DOM.NodeList)

  • -
  • cloneNode (deep) -
    -
    returns (DOM.Node)
    - -
    ArgumentTypeDefault
    deepbool
    -

  • -
  • dispatchEvent (evt) -
    -
    returns (bool)
    - -
    ArgumentTypeDefault
    evtDOM.Event
    -

  • -
  • elementId () -
    -
    returns (ulong)

  • -
  • firstChild () -
    -
    returns (DOM.Node)

  • -
  • getCursor (offset) -
    -
    returns _x (int) _y (int) height (int)
    - -
    ArgumentTypeDefault
    offsetint
    -

  • -
  • getRect () -
    -
    returns (TQRect)

  • -
  • handle () -
    Not Implemented
    -

  • -
  • hasAttributes () -
    -
    returns (bool)

  • -
  • hasChildNodes () -
    -
    returns (bool)

  • -
  • index () -
    -
    returns (ulong)

  • -
  • insertBefore (newChild, refChild) -
    -
    returns (DOM.Node)
    - - -
    ArgumentTypeDefault
    newChildDOM.Node
    refChildDOM.Node
    -

  • -
  • isNull () -
    -
    returns (bool)

  • -
  • isSupported (feature, version) -
    -
    returns (bool)
    - - -
    ArgumentTypeDefault
    featureDOM.DOMString
    versionDOM.DOMString
    -

  • -
  • lastChild () -
    -
    returns (DOM.Node)

  • -
  • localName () -
    -
    returns (DOM.DOMString)

  • -
  • namespaceURI () -
    -
    returns (DOM.DOMString)

  • -
  • nextSibling () -
    -
    returns (DOM.Node)

  • -
  • nodeName () -
    -
    returns (DOM.DOMString)

  • -
  • nodeType () -
    -
    returns (ushort)

  • -
  • nodeValue () -
    -
    returns (DOM.DOMString)

  • -
  • normalize () -
    -
    returns nothing

  • -
  • ownerDocument () -
    -
    returns (DOM.Document)

  • -
  • parentNode () -
    -
    returns (DOM.Node)

  • -
  • prefix () -
    -
    returns (DOM.DOMString)

  • -
  • previousSibling () -
    -
    returns (DOM.Node)

  • -
  • removeChild (oldChild) -
    -
    returns (DOM.Node)
    - -
    ArgumentTypeDefault
    oldChildDOM.Node
    -

  • -
  • removeEventListener (type, listener, useCapture) -
    -
    returns nothing
    - - - -
    ArgumentTypeDefault
    typeDOM.DOMString
    listenerDOM.EventListener
    useCapturebool
    -

  • -
  • replaceChild (newChild, oldChild) -
    -
    returns (DOM.Node)
    - - -
    ArgumentTypeDefault
    newChildDOM.Node
    oldChildDOM.Node
    -

  • -
  • setNodeValue (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0DOM.DOMString
    -

  • -
  • setPrefix (prefix) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    prefixDOM.DOMString
    -

  • -
  • toHTML () -
    -
    returns (TQString)

  • -
-

operators

    -
  • operator != (a0) -
    -
    returns (bool)
    - -
    ArgumentTypeDefault
    a0DOM.Node
    -

  • -
  • operator == (a0) -
    -
    returns (bool)
    - -
    ArgumentTypeDefault
    a0DOM.Node
    -

  • -
- - - diff --git a/python/pykde/doc/classref/khtml/DOM.NodeFilter.html b/python/pykde/doc/classref/khtml/DOM.NodeFilter.html deleted file mode 100644 index 8eed4a11..00000000 --- a/python/pykde/doc/classref/khtml/DOM.NodeFilter.html +++ /dev/null @@ -1,88 +0,0 @@ - - - - - class DOM.NodeFilter - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class DOM.NodeFilter


-
- - - - - -
Table of contents
Modules
khtml Classes
All Classes
-
- - - - - - - - - - -
Modulekhtml
ClassDOM.NodeFilter
Inherits
-

enums

    -
  • AcceptCode = {FILTER_ACCEPT, FILTER_REJECT, FILTER_SKIP -}
  • ShowCode = {SHOW_ALL, SHOW_ELEMENT, SHOW_ATTRIBUTE, SHOW_TEXT, SHOW_CDATA_SECTION, SHOW_ENTITY_REFERENCE, SHOW_ENTITY, SHOW_PROCESSING_INSTRUCTION, SHOW_COMMENT, SHOW_DOCUMENT, SHOW_DOCUMENT_TYPE, SHOW_DOCUMENT_FRAGMENT, SHOW_NOTATION -}
-

methods

    -
  • NodeFilter () -
    -
    returns a NodeFilter instance

  • -
  • NodeFilter (other) -
    -
    returns a NodeFilter instance
    - -
    ArgumentTypeDefault
    otherDOM.NodeFilter
    -

  • -
  • NodeFilter (i) -
    Not Implemented
    -

  • -
  • NodeFilter (a0) -
    Not Implemented
    -

  • -
  • acceptNode (n) -
    -
    returns (short)
    - -
    ArgumentTypeDefault
    nDOM.Node
    -

  • -
  • createCustom (custom) -
    - -
    returns (DOM.NodeFilter)
    static
    - -
    ArgumentTypeDefault
    customDOM.CustomNodeFilter
    -

  • -
  • customNodeFilter () -
    -
    returns (DOM.CustomNodeFilter)

  • -
  • handle () -
    Not Implemented
    -

  • -
  • isNull () -
    -
    returns (bool)

  • -
  • setCustomNodeFilter (custom) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    customDOM.CustomNodeFilter
    -

  • -
- - - diff --git a/python/pykde/doc/classref/khtml/DOM.NodeIterator.html b/python/pykde/doc/classref/khtml/DOM.NodeIterator.html deleted file mode 100644 index 10c7c515..00000000 --- a/python/pykde/doc/classref/khtml/DOM.NodeIterator.html +++ /dev/null @@ -1,80 +0,0 @@ - - - - - class DOM.NodeIterator - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class DOM.NodeIterator


-
- - - - - -
Table of contents
Modules
khtml Classes
All Classes
-
- - - - - - - - - - -
Modulekhtml
ClassDOM.NodeIterator
Inherits
-

methods

    -
  • NodeIterator () -
    -
    returns a NodeIterator instance

  • -
  • NodeIterator (other) -
    -
    returns a NodeIterator instance
    - -
    ArgumentTypeDefault
    otherDOM.NodeIterator
    -

  • -
  • NodeIterator (i) -
    Not Implemented
    -

  • -
  • detach () -
    -
    returns nothing

  • -
  • expandEntityReferences () -
    -
    returns (bool)

  • -
  • filter () -
    -
    returns (DOM.NodeFilter)

  • -
  • handle () -
    Not Implemented
    -

  • -
  • isNull () -
    -
    returns (bool)

  • -
  • nextNode () -
    -
    returns (DOM.Node)

  • -
  • previousNode () -
    -
    returns (DOM.Node)

  • -
  • root () -
    -
    returns (DOM.Node)

  • -
  • whatToShow () -
    -
    returns (ulong)

  • -
- - - diff --git a/python/pykde/doc/classref/khtml/DOM.NodeList.html b/python/pykde/doc/classref/khtml/DOM.NodeList.html deleted file mode 100644 index 3b089c81..00000000 --- a/python/pykde/doc/classref/khtml/DOM.NodeList.html +++ /dev/null @@ -1,68 +0,0 @@ - - - - - class DOM.NodeList - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class DOM.NodeList


-
- - - - - -
Table of contents
Modules
khtml Classes
All Classes
-
- - - - - - - - - - -
Modulekhtml
ClassDOM.NodeList
Inherits
-

methods

    -
  • NodeList () -
    -
    returns a NodeList instance

  • -
  • NodeList (other) -
    -
    returns a NodeList instance
    - -
    ArgumentTypeDefault
    otherDOM.NodeList
    -

  • -
  • NodeList (i) -
    Not Implemented
    -

  • -
  • handle () -
    Not Implemented
    -

  • -
  • isNull () -
    -
    returns (bool)

  • -
  • item (index) -
    -
    returns (DOM.Node)
    - -
    ArgumentTypeDefault
    indexulong
    -

  • -
  • length () -
    -
    returns (ulong)

  • -
- - - diff --git a/python/pykde/doc/classref/khtml/DOM.Notation.html b/python/pykde/doc/classref/khtml/DOM.Notation.html deleted file mode 100644 index 6e333afc..00000000 --- a/python/pykde/doc/classref/khtml/DOM.Notation.html +++ /dev/null @@ -1,65 +0,0 @@ - - - - - class DOM.Notation - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class DOM.Notation


-
- - - - - -
Table of contents
Modules
khtml Classes
All Classes
-
- - - - - - - - - - -
Modulekhtml
ClassDOM.Notation
InheritsDOM.Node
-

methods

    -
  • Notation () -
    -
    returns a Notation instance

  • -
  • Notation (other) -
    -
    returns a Notation instance
    - -
    ArgumentTypeDefault
    otherDOM.Notation
    -

  • -
  • Notation (other) -
    -
    returns a Notation instance
    - -
    ArgumentTypeDefault
    otherDOM.Node
    -

  • -
  • Notation (i) -
    Not Implemented
    -

  • -
  • publicId () -
    -
    returns (DOM.DOMString)

  • -
  • systemId () -
    -
    returns (DOM.DOMString)

  • -
- - - diff --git a/python/pykde/doc/classref/khtml/DOM.ProcessingInstruction.html b/python/pykde/doc/classref/khtml/DOM.ProcessingInstruction.html deleted file mode 100644 index 1ae2ff79..00000000 --- a/python/pykde/doc/classref/khtml/DOM.ProcessingInstruction.html +++ /dev/null @@ -1,74 +0,0 @@ - - - - - class DOM.ProcessingInstruction - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class DOM.ProcessingInstruction


-
- - - - - -
Table of contents
Modules
khtml Classes
All Classes
-
- - - - - - - - - - -
Modulekhtml
ClassDOM.ProcessingInstruction
InheritsDOM.Node
-

methods

    -
  • ProcessingInstruction () -
    -
    returns a ProcessingInstruction instance

  • -
  • ProcessingInstruction (other) -
    -
    returns a ProcessingInstruction instance
    - -
    ArgumentTypeDefault
    otherDOM.ProcessingInstruction
    -

  • -
  • ProcessingInstruction (other) -
    -
    returns a ProcessingInstruction instance
    - -
    ArgumentTypeDefault
    otherDOM.Node
    -

  • -
  • ProcessingInstruction (i) -
    Not Implemented
    -

  • -
  • data () -
    -
    returns (DOM.DOMString)

  • -
  • setData (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0DOM.DOMString
    -

  • -
  • sheet () -
    -
    returns (DOM.StyleSheet)

  • -
  • target () -
    -
    returns (DOM.DOMString)

  • -
- - - diff --git a/python/pykde/doc/classref/khtml/DOM.RGBColor.html b/python/pykde/doc/classref/khtml/DOM.RGBColor.html deleted file mode 100644 index 3e374cf5..00000000 --- a/python/pykde/doc/classref/khtml/DOM.RGBColor.html +++ /dev/null @@ -1,80 +0,0 @@ - - - - - class DOM.RGBColor - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class DOM.RGBColor


-
- - - - - -
Table of contents
Modules
khtml Classes
All Classes
-
- - - - - - - - - - -
Modulekhtml
ClassDOM.RGBColor
Inherits
-

methods

    -
  • RGBColor () -
    -
    returns a RGBColor instance

  • -
  • RGBColor (c) -
    -
    returns a RGBColor instance
    - -
    ArgumentTypeDefault
    cTQColor
    -

  • -
  • RGBColor (color) -
    - -
    returns a RGBColor instance
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    colorQRgb
    -

  • -
  • RGBColor (other) -
    -
    returns a RGBColor instance
    - -
    ArgumentTypeDefault
    otherDOM.RGBColor
    -

  • -
  • blue () -
    -
    returns (DOM.CSSPrimitiveValue)

  • -
  • color () -
    - -
    returns (QRgb)
    In versions KDE 3.1.0 and above only

  • -
  • color () -
    - -
    returns (TQColor)
    In versions less than KDE 3.1.0 only

  • -
  • green () -
    -
    returns (DOM.CSSPrimitiveValue)

  • -
  • red () -
    -
    returns (DOM.CSSPrimitiveValue)

  • -
- - - diff --git a/python/pykde/doc/classref/khtml/DOM.Range.html b/python/pykde/doc/classref/khtml/DOM.Range.html deleted file mode 100644 index 56d53f40..00000000 --- a/python/pykde/doc/classref/khtml/DOM.Range.html +++ /dev/null @@ -1,204 +0,0 @@ - - - - - class DOM.Range - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class DOM.Range


-
- - - - - -
Table of contents
Modules
khtml Classes
All Classes
-
- - - - - - - - - - -
Modulekhtml
ClassDOM.Range
Inherits
-

enums

    -
  • CompareHow = {START_TO_START, START_TO_END, END_TO_END, END_TO_START -}
-

methods

    -
  • Range () -
    -
    returns a Range instance

  • -
  • Range (rootContainer) -
    -
    returns a Range instance
    - -
    ArgumentTypeDefault
    rootContainerDOM.Document
    -

  • -
  • Range (other) -
    -
    returns a Range instance
    - -
    ArgumentTypeDefault
    otherDOM.Range
    -

  • -
  • Range (startContainer, startOffset, endContainer, endOffset) -
    -
    returns a Range instance
    - - - - -
    ArgumentTypeDefault
    startContainerDOM.Node
    startOffsetlong
    endContainerDOM.Node
    endOffsetlong
    -

  • -
  • Range (i) -
    Not Implemented
    -

  • -
  • boundaryPointsValid () -
    -
    returns (bool)

  • -
  • cloneContents () -
    -
    returns (DOM.DocumentFragment)

  • -
  • cloneRange () -
    -
    returns (DOM.Range)

  • -
  • collapse (toStart) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    toStartbool
    -

  • -
  • collapsed () -
    -
    returns (bool)

  • -
  • commonAncestorContainer () -
    -
    returns (DOM.Node)

  • -
  • compareBoundaryPoints (how, sourceRange) -
    -
    returns (short)
    - - -
    ArgumentTypeDefault
    howDOM.Range.CompareHow
    sourceRangeDOM.Range
    -

  • -
  • createContextualFragment (html) -
    - -
    returns (DOM.DocumentFragment)
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    htmlDOM.DOMString
    -

  • -
  • deleteContents () -
    -
    returns nothing

  • -
  • detach () -
    -
    returns nothing

  • -
  • endContainer () -
    -
    returns (DOM.Node)

  • -
  • endOffset () -
    -
    returns (long)

  • -
  • extractContents () -
    -
    returns (DOM.DocumentFragment)

  • -
  • handle () -
    Not Implemented
    -

  • -
  • insertNode (newNode) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    newNodeDOM.Node
    -

  • -
  • isDetached () -
    -
    returns (bool)

  • -
  • isNull () -
    -
    returns (bool)

  • -
  • selectNode (refNode) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    refNodeDOM.Node
    -

  • -
  • selectNodeContents (refNode) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    refNodeDOM.Node
    -

  • -
  • setEnd (refNode, offset) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    refNodeDOM.Node
    offsetlong
    -

  • -
  • setEndAfter (refNode) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    refNodeDOM.Node
    -

  • -
  • setEndBefore (refNode) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    refNodeDOM.Node
    -

  • -
  • setStart (refNode, offset) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    refNodeDOM.Node
    offsetlong
    -

  • -
  • setStartAfter (refNode) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    refNodeDOM.Node
    -

  • -
  • setStartBefore (refNode) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    refNodeDOM.Node
    -

  • -
  • startContainer () -
    -
    returns (DOM.Node)

  • -
  • startOffset () -
    -
    returns (long)

  • -
  • surroundContents (newParent) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    newParentDOM.Node
    -

  • -
  • toHTML () -
    -
    returns (DOM.DOMString)

  • -
  • toString () -
    -
    returns (DOM.DOMString)

  • -
- - - diff --git a/python/pykde/doc/classref/khtml/DOM.RangeException.html b/python/pykde/doc/classref/khtml/DOM.RangeException.html deleted file mode 100644 index a660b957..00000000 --- a/python/pykde/doc/classref/khtml/DOM.RangeException.html +++ /dev/null @@ -1,60 +0,0 @@ - - - - - class DOM.RangeException - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class DOM.RangeException


-
- - - - - -
Table of contents
Modules
khtml Classes
All Classes
-
- - - - - - - - - - -
Modulekhtml
ClassDOM.RangeException
Inherits
-

enums

    -
  • RangeExceptionCode = {BAD_BOUNDARYPOINTS_ERR, INVALID_NODE_TYPE_ERR, _EXCEPTION_OFFSET, _EXCEPTION_MAX -}
-

methods

    -
  • RangeException (_code) -
    -
    returns a RangeException instance
    - -
    ArgumentTypeDefault
    _codeushort
    -

  • -
  • RangeException (other) -
    -
    returns a RangeException instance
    - -
    ArgumentTypeDefault
    otherDOM.RangeException
    -

  • -
-

variables

- - - diff --git a/python/pykde/doc/classref/khtml/DOM.Rect.html b/python/pykde/doc/classref/khtml/DOM.Rect.html deleted file mode 100644 index b9149c7f..00000000 --- a/python/pykde/doc/classref/khtml/DOM.Rect.html +++ /dev/null @@ -1,71 +0,0 @@ - - - - - class DOM.Rect - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class DOM.Rect


-
- - - - - -
Table of contents
Modules
khtml Classes
All Classes
-
- - - - - - - - - - -
Modulekhtml
ClassDOM.Rect
Inherits
-

methods

    -
  • Rect () -
    -
    returns a Rect instance

  • -
  • Rect (other) -
    -
    returns a Rect instance
    - -
    ArgumentTypeDefault
    otherDOM.Rect
    -

  • -
  • Rect (i) -
    Not Implemented
    -

  • -
  • bottom () -
    -
    returns (DOM.CSSPrimitiveValue)

  • -
  • handle () -
    Not Implemented
    -

  • -
  • isNull () -
    -
    returns (bool)

  • -
  • left () -
    -
    returns (DOM.CSSPrimitiveValue)

  • -
  • right () -
    -
    returns (DOM.CSSPrimitiveValue)

  • -
  • top () -
    -
    returns (DOM.CSSPrimitiveValue)

  • -
- - - diff --git a/python/pykde/doc/classref/khtml/DOM.StyleSheet.html b/python/pykde/doc/classref/khtml/DOM.StyleSheet.html deleted file mode 100644 index 8a2317f0..00000000 --- a/python/pykde/doc/classref/khtml/DOM.StyleSheet.html +++ /dev/null @@ -1,89 +0,0 @@ - - - - - class DOM.StyleSheet - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class DOM.StyleSheet


-
- - - - - -
Table of contents
Modules
khtml Classes
All Classes
-
- - - - - - - - - - -
Modulekhtml
ClassDOM.StyleSheet
Inherits
-

methods

    -
  • StyleSheet () -
    -
    returns a StyleSheet instance

  • -
  • StyleSheet (other) -
    -
    returns a StyleSheet instance
    - -
    ArgumentTypeDefault
    otherDOM.StyleSheet
    -

  • -
  • StyleSheet (impl) -
    Not Implemented
    -

  • -
  • disabled () -
    -
    returns (bool)

  • -
  • handle () -
    Not Implemented
    -

  • -
  • href () -
    -
    returns (DOM.DOMString)

  • -
  • isCSSStyleSheet () -
    -
    returns (bool)

  • -
  • isNull () -
    -
    returns (bool)

  • -
  • media () -
    -
    returns (DOM.MediaList)

  • -
  • ownerNode () -
    -
    returns (DOM.Node)

  • -
  • parentStyleSheet () -
    -
    returns (DOM.StyleSheet)

  • -
  • setDisabled (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0bool
    -

  • -
  • title () -
    -
    returns (DOM.DOMString)

  • -
  • type () -
    -
    returns (DOM.DOMString)

  • -
- - - diff --git a/python/pykde/doc/classref/khtml/DOM.StyleSheetList.html b/python/pykde/doc/classref/khtml/DOM.StyleSheetList.html deleted file mode 100644 index 4872d733..00000000 --- a/python/pykde/doc/classref/khtml/DOM.StyleSheetList.html +++ /dev/null @@ -1,68 +0,0 @@ - - - - - class DOM.StyleSheetList - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class DOM.StyleSheetList


-
- - - - - -
Table of contents
Modules
khtml Classes
All Classes
-
- - - - - - - - - - -
Modulekhtml
ClassDOM.StyleSheetList
Inherits
-

methods

    -
  • StyleSheetList () -
    -
    returns a StyleSheetList instance

  • -
  • StyleSheetList (other) -
    -
    returns a StyleSheetList instance
    - -
    ArgumentTypeDefault
    otherDOM.StyleSheetList
    -

  • -
  • StyleSheetList (impl) -
    Not Implemented
    -

  • -
  • handle () -
    Not Implemented
    -

  • -
  • isNull () -
    -
    returns (bool)

  • -
  • item (index) -
    -
    returns (DOM.StyleSheet)
    - -
    ArgumentTypeDefault
    indexulong
    -

  • -
  • length () -
    -
    returns (ulong)

  • -
- - - diff --git a/python/pykde/doc/classref/khtml/DOM.Text.html b/python/pykde/doc/classref/khtml/DOM.Text.html deleted file mode 100644 index 6e741659..00000000 --- a/python/pykde/doc/classref/khtml/DOM.Text.html +++ /dev/null @@ -1,65 +0,0 @@ - - - - - class DOM.Text - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class DOM.Text


-
- - - - - -
Table of contents
Modules
khtml Classes
All Classes
-
- - - - - - - - - - -
Modulekhtml
ClassDOM.Text
InheritsDOM.CharacterData
-

methods

    -
  • Text () -
    -
    returns a Text instance

  • -
  • Text (other) -
    -
    returns a Text instance
    - -
    ArgumentTypeDefault
    otherDOM.Text
    -

  • -
  • Text (other) -
    -
    returns a Text instance
    - -
    ArgumentTypeDefault
    otherDOM.Node
    -

  • -
  • Text (i) -
    Not Implemented
    -

  • -
  • splitText (offset) -
    -
    returns (DOM.Text)
    - -
    ArgumentTypeDefault
    offsetulong
    -

  • -
- - - diff --git a/python/pykde/doc/classref/khtml/DOM.TextEvent.html b/python/pykde/doc/classref/khtml/DOM.TextEvent.html deleted file mode 100644 index 6c161284..00000000 --- a/python/pykde/doc/classref/khtml/DOM.TextEvent.html +++ /dev/null @@ -1,113 +0,0 @@ - - - - - class DOM.TextEvent - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class DOM.TextEvent


-
- - - - - -
Table of contents
Modules
khtml Classes
All Classes
-
- - - - - - - - - - -
Modulekhtml
ClassDOM.TextEvent
InheritsDOM.UIEvent
-

methods

    -
  • TextEvent () -
    - -
    returns a TextEvent instance
    In versions KDE 3.1.0 and above only

  • -
  • TextEvent (other) -
    - -
    returns a TextEvent instance
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    otherDOM.TextEvent
    -

  • -
  • TextEvent (other) -
    - -
    returns a TextEvent instance
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    otherDOM.Event
    -

  • -
  • TextEvent (impl) -
    Not Implemented
    -

  • -
  • checkModifier (modifierArg) -
    - -
    returns (bool)
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    modifierArgulong
    -

  • -
  • initModifier (modifierArg, valueArg) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - - -
    ArgumentTypeDefault
    modifierArgulong
    valueArgbool
    -

  • -
  • initTextEvent (typeArg, canBubbleArg, cancelableArg, viewArg, detailArg, outputStringArg, keyValArg, virtKeyValArg, inputGeneratedArg, numPadArg) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - - - - - - - - - - -
    ArgumentTypeDefault
    typeArgDOM.DOMString
    canBubbleArgbool
    cancelableArgbool
    viewArgDOM.AbstractView
    detailArglong
    outputStringArgDOM.DOMString
    keyValArgulong
    virtKeyValArgulong
    inputGeneratedArgbool
    numPadArgbool
    -

  • -
  • inputGenerated () -
    - -
    returns (bool)
    In versions KDE 3.1.0 and above only

  • -
  • keyVal () -
    - -
    returns (ulong)
    In versions KDE 3.1.0 and above only

  • -
  • numPad () -
    - -
    returns (bool)
    In versions KDE 3.1.0 and above only

  • -
  • outputString () -
    - -
    returns (DOM.DOMString)
    In versions KDE 3.1.0 and above only

  • -
  • virtKeyVal () -
    - -
    returns (ulong)
    In versions KDE 3.1.0 and above only

  • -
- - - diff --git a/python/pykde/doc/classref/khtml/DOM.TreeWalker.html b/python/pykde/doc/classref/khtml/DOM.TreeWalker.html deleted file mode 100644 index a1d6a96b..00000000 --- a/python/pykde/doc/classref/khtml/DOM.TreeWalker.html +++ /dev/null @@ -1,109 +0,0 @@ - - - - - class DOM.TreeWalker - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class DOM.TreeWalker


-
- - - - - -
Table of contents
Modules
khtml Classes
All Classes
-
- - - - - - - - - - -
Modulekhtml
ClassDOM.TreeWalker
Inherits
-

methods

    -
  • TreeWalker () -
    -
    returns a TreeWalker instance

  • -
  • TreeWalker (other) -
    -
    returns a TreeWalker instance
    - -
    ArgumentTypeDefault
    otherDOM.TreeWalker
    -

  • -
  • TreeWalker (i) -
    Not Implemented
    -

  • -
  • currentNode () -
    -
    returns (DOM.Node)

  • -
  • expandEntityReferences () -
    -
    returns (bool)

  • -
  • filter () -
    -
    returns (DOM.NodeFilter)

  • -
  • firstChild () -
    -
    returns (DOM.Node)

  • -
  • handle () -
    Not Implemented
    -

  • -
  • isNull () -
    -
    returns (bool)

  • -
  • lastChild () -
    -
    returns (DOM.Node)

  • -
  • nextNode () -
    -
    returns (DOM.Node)

  • -
  • nextSibling () -
    -
    returns (DOM.Node)

  • -
  • parentNode () -
    -
    returns (DOM.Node)

  • -
  • previousNode () -
    -
    returns (DOM.Node)

  • -
  • previousSibling () -
    -
    returns (DOM.Node)

  • -
  • root () -
    -
    returns (DOM.Node)

  • -
  • setCurrentNode (_currentNode) -
    - -
    returns nothing
    In versions KDE 3.2.1 and above only
    - -
    ArgumentTypeDefault
    _currentNodeDOM.Node
    -

  • -
  • setCurrentNode (a0) -
    - -
    returns nothing
    In versions less than KDE 3.2.1 only
    - -
    ArgumentTypeDefault
    a0DOM.Node
    -

  • -
  • whatToShow () -
    -
    returns (ulong)

  • -
- - - diff --git a/python/pykde/doc/classref/khtml/DOM.UIEvent.html b/python/pykde/doc/classref/khtml/DOM.UIEvent.html deleted file mode 100644 index 1605f5cf..00000000 --- a/python/pykde/doc/classref/khtml/DOM.UIEvent.html +++ /dev/null @@ -1,103 +0,0 @@ - - - - - class DOM.UIEvent - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class DOM.UIEvent


-
- - - - - -
Table of contents
Modules
khtml Classes
All Classes
-
- - - - - - - - - - -
Modulekhtml
ClassDOM.UIEvent
InheritsDOM.Event
-

methods

    -
  • UIEvent () -
    -
    returns a UIEvent instance

  • -
  • UIEvent (other) -
    -
    returns a UIEvent instance
    - -
    ArgumentTypeDefault
    otherDOM.UIEvent
    -

  • -
  • UIEvent (other) -
    -
    returns a UIEvent instance
    - -
    ArgumentTypeDefault
    otherDOM.Event
    -

  • -
  • UIEvent (impl) -
    Not Implemented
    -

  • -
  • charCode () -
    - -
    returns (int)
    In versions KDE 3.4.0 and above only

  • -
  • detail () -
    -
    returns (long)

  • -
  • initUIEvent (typeArg, canBubbleArg, cancelableArg, viewArg, detailArg) -
    -
    returns nothing
    - - - - - -
    ArgumentTypeDefault
    typeArgDOM.DOMString
    canBubbleArgbool
    cancelableArgbool
    viewArgDOM.AbstractView
    detailArglong
    -

  • -
  • keyCode () -
    - -
    returns (int)
    In versions KDE 3.2.0 and above only

  • -
  • layerX () -
    - -
    returns (int)
    In versions KDE 3.2.0 and above only

  • -
  • layerY () -
    - -
    returns (int)
    In versions KDE 3.2.0 and above only

  • -
  • pageX () -
    - -
    returns (int)
    In versions KDE 3.2.1 and above only

  • -
  • pageY () -
    - -
    returns (int)
    In versions KDE 3.2.1 and above only

  • -
  • view () -
    -
    returns (DOM.AbstractView)

  • -
  • which () -
    - -
    returns (int)
    In versions KDE 3.2.0 and above only

  • -
- - - diff --git a/python/pykde/doc/classref/khtml/DOM.html b/python/pykde/doc/classref/khtml/DOM.html deleted file mode 100644 index 89a13c92..00000000 --- a/python/pykde/doc/classref/khtml/DOM.html +++ /dev/null @@ -1,57 +0,0 @@ - - - - - class DOM - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class DOM


-
- - - - - -
Table of contents
Modules
khtml Classes
All Classes
-
- - - - - - - - - - -
Modulekhtml
ClassDOM
Inherits
-

classes

-

methods

    -
  • strcasecmp (a, b) -
    -
    returns (bool)
    - - -
    ArgumentTypeDefault
    aDOM.DOMString
    bchar
    -

  • -
  • strcasecmp (a, b) -
    -
    returns (bool)
    - - -
    ArgumentTypeDefault
    aDOM.DOMString
    bchar
    -

  • -
- - - diff --git a/python/pykde/doc/classref/khtml/KHTMLPart.html b/python/pykde/doc/classref/khtml/KHTMLPart.html deleted file mode 100644 index 9edb9489..00000000 --- a/python/pykde/doc/classref/khtml/KHTMLPart.html +++ /dev/null @@ -1,807 +0,0 @@ - - - - - class KHTMLPart - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KHTMLPart


-
- - - - - -
Table of contents
Modules
khtml Classes
All Classes
-
- - - - - - - - - - -
Modulekhtml
ClassKHTMLPart
InheritsKParts.ReadOnlyPart
-

enums

    -
  • CaretDisplayPolicy = {CaretVisible, CaretInvisible, CaretBlink -}
  • FindOptions = {FindLinksOnly, FindNoPopups -}
  • FormNotification = {NoNotification = 0, Before, Only, Unused = 255 -}
  • GUIProfile = {DefaultGUI, BrowserViewGUI -}
-

methods

    -
  • KHTMLPart (parentWidget = 0, widgetname = 0, parent = 0, name = 0, prof = DefaultGUI) -
    -
    returns a KHTMLPart instance
    - - - - - -
    ArgumentTypeDefault
    parentWidgetTQWidget0
    widgetnamechar0
    parentTQObject0
    namechar0
    profKHTMLPart.GUIProfileDefaultGUI
    -

  • -
  • KHTMLPart (view, parent = 0, name = 0, prof = DefaultGUI) -
    -
    returns a KHTMLPart instance
    - - - - -
    ArgumentTypeDefault
    viewKHTMLView
    parentTQObject0
    namechar0
    profKHTMLPart.GUIProfileDefaultGUI
    -

  • -
  • activeNode () -
    -
    returns (DOM.Node)

  • -
  • autoloadImages () -
    -
    returns (bool)

  • -
  • autoloadImages (e) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    ebool
    -

  • -
  • backgroundURL () -
    -
    returns (KURL)

  • -
  • baseTarget () -
    -
    returns (TQString)

  • -
  • baseURL () -
    -
    returns (KURL)

  • -
  • begin (url = KURL (), xOffset = 0, yOffset = 0) -
    -
    returns nothing
    - - - -
    ArgumentTypeDefault
    urlKURLKURL ()
    xOffsetint0
    yOffsetint0
    -

  • -
  • browserExtension () -
    -
    returns (KParts.BrowserExtension)

  • -
  • browserHostExtension () -
    -
    returns (KParts.BrowserHostExtension)

  • -
  • caretDisplayPolicyNonFocused () -
    - -
    returns (KHTMLPart.CaretDisplayPolicy)
    In versions KDE 3.2.0 and above only

  • -
  • caretPositionChanged (node, offset) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - - -
    ArgumentTypeDefault
    nodeDOM.Node
    offsetlong
    -

  • -
  • closeURL () -
    -
    returns (bool)

  • -
  • completeURL (url) -
    -
    returns (KURL)
    - -
    ArgumentTypeDefault
    urlTQString
    -

  • -
  • createJavaContext () -
    Not Implemented
    -

  • -
  • createPart (parentWidget, widgetName, parent, name, mimetype, serviceName, serviceTypes, params) -
    -
    returns (KParts.ReadOnlyPart)
    - - - - - - - - -
    ArgumentTypeDefault
    parentWidgetTQWidget
    widgetNamechar
    parentTQObject
    namechar
    mimetypeTQString
    serviceNameTQString
    serviceTypesTQStringList
    paramsTQStringList
    -

  • -
  • currentFrame () -
    -
    returns (KParts.ReadOnlyPart)

  • -
  • customEvent (event) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    eventTQCustomEvent
    -

  • -
  • dcopObjectId () -
    -
    returns (TQCString)

  • -
  • dndEnabled () -
    -
    returns (bool)

  • -
  • doCloseStream () -
    - -
    returns (bool)
    In versions KDE 3.2.0 and above only

  • -
  • doOpenStream (mimeType) -
    - -
    returns (bool)
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    mimeTypeTQString
    -

  • -
  • doWriteStream (data) -
    - -
    returns (bool)
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    dataTQByteArray
    -

  • -
  • docCreated () -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only

  • -
  • document () -
    -
    returns (DOM.Document)

  • -
  • documentSource () -
    -
    returns (TQString)

  • -
  • enableJScript (e) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    ebool
    -

  • -
  • enableJava (e) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    ebool
    -

  • -
  • enableMetaRefresh (e) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    ebool
    -

  • -
  • enablePlugins (e) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    ebool
    -

  • -
  • encoding () -
    -
    returns (TQString)

  • -
  • end () -
    -
    returns nothing

  • -
  • executeScript (n, script) -
    -
    returns (TQVariant)
    - - -
    ArgumentTypeDefault
    nDOM.Node
    scriptTQString
    -

  • -
  • executeScript (script) -
    - -
    returns (TQVariant)
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    scriptTQString
    -

  • -
  • executeScript (a0) -
    - -
    returns (TQVariant)
    In versions less than KDE 3.2.0 only
    - -
    ArgumentTypeDefault
    a0TQString
    -

  • -
  • findFrame (f) -
    -
    returns (KHTMLPart)
    - -
    ArgumentTypeDefault
    fTQString
    -

  • -
  • findFrameParent (callingPart, f) -
    -
    returns (KHTMLPart) childFrame (khtml.ChildFrame)
    - - -
    ArgumentTypeDefault
    callingPartKParts.ReadOnlyPart
    fTQString
    -

  • -
  • findFramePart (f) -
    -
    returns (KParts.ReadOnlyPart)
    - -
    ArgumentTypeDefault
    fTQString
    -

  • -
  • findText () -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only

  • -
  • findText (str, options, parent = 0, findDialog = 0) -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only
    - - - - -
    ArgumentTypeDefault
    strTQString
    optionslong
    parentTQWidget0
    findDialogKFindDialog0
    -

  • -
  • findTextBegin () -
    -
    returns nothing

  • -
  • findTextNext (str, forward, caseSensitive, isRegExp) -
    -
    returns (bool)
    - - - - -
    ArgumentTypeDefault
    strTQString
    forwardbool
    caseSensitivebool
    isRegExpbool
    -

  • -
  • findTextNext () -
    - -
    returns (bool)
    In versions KDE 3.3.0 and above only

  • -
  • findTextNext (reverse) -
    -
    returns (bool)
    - -
    ArgumentTypeDefault
    reversebool
    -

  • -
  • formNotification () -
    - -
    returns (KHTMLPart.FormNotification)
    In versions KDE 3.2.0 and above only

  • -
  • formSubmitNotification (action, url, formData, target, contentType, boundary) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - - - - - - -
    ArgumentTypeDefault
    actionchar
    urlTQString
    formDataTQByteArray
    targetTQString
    contentTypeTQString
    boundaryTQString
    -

  • -
  • frameExists (frameName) -
    -
    returns (bool)
    - -
    ArgumentTypeDefault
    frameNameTQString
    -

  • -
  • frameNames () -
    -
    returns (TQStringList)

  • -
  • framejScript (framePart) -
    -
    returns (KJSProxy)
    - -
    ArgumentTypeDefault
    framePartKParts.ReadOnlyPart
    -

  • -
  • frames () -
    -
    returns (TQPtrList)

  • -
  • gotoAnchor (name) -
    -
    returns (bool)
    - -
    ArgumentTypeDefault
    nameTQString
    -

  • -
  • guiActivateEvent (event) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    eventKParts.GUIActivateEvent
    -

  • -
  • hasSelection () -
    -
    returns (bool)

  • -
  • hide () -
    -
    returns nothing

  • -
  • htmlDocument () -
    -
    returns (DOM.HTMLDocument)

  • -
  • htmlError (errorCode, text, reqUrl) -
    -
    returns nothing
    - - - -
    ArgumentTypeDefault
    errorCodeint
    textTQString
    reqUrlKURL
    -

  • -
  • inProgress () -
    -
    returns (bool)

  • -
  • isCaretMode () -
    - -
    returns (bool)
    In versions KDE 3.2.0 and above only

  • -
  • isEditable () -
    - -
    returns (bool)
    In versions KDE 3.2.0 and above only

  • -
  • isModified () -
    - -
    returns (bool)
    In versions KDE 3.3.0 and above only

  • -
  • jScriptEnabled () -
    -
    returns (bool)

  • -
  • jScriptInterpreter () -
    Not Implemented
    -

  • -
  • javaContext () -
    Not Implemented
    -

  • -
  • javaEnabled () -
    -
    returns (bool)

  • -
  • jsDefaultStatusBarText () -
    -
    returns (TQString)

  • -
  • jsStatusBarText () -
    -
    returns (TQString)

  • -
  • khtmlDrawContentsEvent (a0) -
    Not Implemented
    -

  • -
  • khtmlMouseDoubleClickEvent (a0) -
    Not Implemented
    -

  • -
  • khtmlMouseMoveEvent (event) -
    Not Implemented
    -

  • -
  • khtmlMousePressEvent (event) -
    Not Implemented
    -

  • -
  • khtmlMouseReleaseEvent (event) -
    Not Implemented
    -

  • -
  • lastModified () -
    -
    returns (TQString)

  • -
  • liveConnectExtension (a0) -
    Not Implemented
    -

  • -
  • metaRefreshEnabled () -
    -
    returns (bool)

  • -
  • nextAnchor () -
    - -
    returns (bool)
    In versions KDE 3.2.0 and above only

  • -
  • nodeActivated (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0DOM.Node
    -

  • -
  • nodeUnderMouse () -
    -
    returns (DOM.Node)

  • -
  • nonSharedNodeUnderMouse () -
    -
    returns (DOM.Node)

  • -
  • onURL (url) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    urlTQString
    -

  • -
  • onlyLocalReferences () -
    -
    returns (bool)

  • -
  • openFile () -
    -
    returns (bool)

  • -
  • openURL (url) -
    -
    returns (bool)
    - -
    ArgumentTypeDefault
    urlKURL
    -

  • -
  • pageReferrer () -
    - -
    returns (TQString)
    In versions KDE 3.1.3 and above only

  • -
  • paint (a0, a1, a2 = 0) -
    -
    returns a3 (bool)
    - - - -
    ArgumentTypeDefault
    a0TQPainter
    a1TQRect
    a2int0
    -

  • -
  • parentPart () -
    -
    returns (KHTMLPart)

  • -
  • partManager () -
    -
    returns (KParts.PartManager)

  • -
  • pluginPageQuestionAsked (mimetype) -
    - -
    returns (bool)
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    mimetypeTQString
    -

  • -
  • pluginsEnabled () -
    -
    returns (bool)

  • -
  • popupMenu (url, point) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    urlTQString
    pointTQPoint
    -

  • -
  • preloadScript (url, script) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    urlTQString
    scriptTQString
    -

  • -
  • preloadStyleSheet (url, stylesheet) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    urlTQString
    stylesheetTQString
    -

  • -
  • prevAnchor () -
    - -
    returns (bool)
    In versions KDE 3.2.0 and above only

  • -
  • referrer () -
    -
    returns (TQString)

  • -
  • restoreState (stream) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    streamTQDataStream
    -

  • -
  • restored () -
    -
    returns (bool)

  • -
  • saveState (stream) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    streamTQDataStream
    -

  • -
  • scheduleRedirection (delay, url, lockHistory = 1) -
    -
    returns nothing
    - - - -
    ArgumentTypeDefault
    delayint
    urlTQString
    lockHistorybool1
    -

  • -
  • selectAll () -
    -
    returns nothing

  • -
  • selectedText () -
    -
    returns (TQString)

  • -
  • selectedTextAsHTML () -
    -
    returns (TQString)

  • -
  • selection () -
    -
    returns (DOM.Range)

  • -
  • selection (startNode, endNode) -
    - -
    returns startOffset (long) endOffset (long)
    In versions KDE 3.2.0 and above only
    - - -
    ArgumentTypeDefault
    startNodeDOM.Node
    endNodeDOM.Node
    -

  • -
  • selectionChanged () -
    -
    returns nothing

  • -
  • setActiveNode (node) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    nodeDOM.Node
    -

  • -
  • setAutoloadImages (enable) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    enablebool
    -

  • -
  • setCaretDisplayPolicyNonFocused (policy) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    policyKHTMLPart.CaretDisplayPolicy
    -

  • -
  • setCaretMode (enable) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    enablebool
    -

  • -
  • setCaretPosition (node, offset, extendSelection = 0) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - - - -
    ArgumentTypeDefault
    nodeDOM.Node
    offsetlong
    extendSelectionbool0
    -

  • -
  • setCaretVisible (show) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    showbool
    -

  • -
  • setCharset (a0, a1 = 0) -
    -
    returns (bool)
    - - -
    ArgumentTypeDefault
    a0TQString
    a1bool0
    -

  • -
  • setDNDEnabled (b) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    bbool
    -

  • -
  • setEditable (enable) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    enablebool
    -

  • -
  • setEncoding (name, override = 0) -
    -
    returns (bool)
    - - -
    ArgumentTypeDefault
    nameTQString
    overridebool0
    -

  • -
  • setFixedFont (name) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    nameTQString
    -

  • -
  • setFormNotification (fn) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    fnKHTMLPart.FormNotification
    -

  • -
  • setJSDefaultStatusBarText (text) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    textTQString
    -

  • -
  • setJSStatusBarText (text) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    textTQString
    -

  • -
  • setJScriptEnabled (enable) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    enablebool
    -

  • -
  • setJavaEnabled (enable) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    enablebool
    -

  • -
  • setMetaRefreshEnabled (enable) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    enablebool
    -

  • -
  • setOnlyLocalReferences (enable) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    enablebool
    -

  • -
  • setPageSecurity (sec) -
    Not Implemented
    -

  • -
  • setPluginPageQuestionAsked (mimetype) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    mimetypeTQString
    -

  • -
  • setPluginsEnabled (enable) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    enablebool
    -

  • -
  • setSelection (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0DOM.Range
    -

  • -
  • setStandardFont (name) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    nameTQString
    -

  • -
  • setStatusBarText (a0, a1) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    a0TQString
    a1int
    -

  • -
  • setStatusMessagesEnabled (enable) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    enablebool
    -

  • -
  • setSuppressedPopupIndicator (enable) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    enablebool
    -

  • -
  • setSuppressedPopupIndicator (enable, originPart) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    enablebool
    originPartKHTMLPart
    -

  • -
  • setURLCursor (c) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    cTQCursor
    -

  • -
  • setUserStyleSheet (url) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    urlKURL
    -

  • -
  • setUserStyleSheet (styleSheet) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    styleSheetTQString
    -

  • -
  • setZoomFactor (percent) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    percentint
    -

  • -
  • settings () -
    -
    returns (KHTMLSettings)

  • -
  • show () -
    -
    returns nothing

  • -
  • showError (job) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    jobKIO.Job
    -

  • -
  • statusMessagesEnabled () -
    - -
    returns (bool)
    In versions KDE 3.2.0 and above only

  • -
  • stopAnimations () -
    -
    returns nothing

  • -
  • submitFormProxy (action, url, formData, target, contentType = TQString .null, boundary = TQString .null) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - - - - - - -
    ArgumentTypeDefault
    actionchar
    urlTQString
    formDataTQByteArray
    targetTQString
    contentTypeTQStringTQString .null
    boundaryTQStringTQString .null
    -

  • -
  • toplevelURL () -
    - -
    returns (KURL)
    In versions KDE 3.2.0 and above only

  • -
  • urlCursor () -
    -
    returns (TQCursor)

  • -
  • urlSelected (url, button, state, _target, args = KParts .URLArgs ()) -
    -
    returns nothing
    - - - - - -
    ArgumentTypeDefault
    urlTQString
    buttonint
    stateint
    _targetTQString
    argsKParts.URLArgsKParts .URLArgs ()
    -

  • -
  • view () -
    -
    returns (KHTMLView)

  • -
  • write (str, len = -1) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    strchar
    lenint-1
    -

  • -
  • write (str) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    strTQString
    -

  • -
  • zoomFactor () -
    -
    returns (int)

  • -
- - - diff --git a/python/pykde/doc/classref/khtml/KHTMLSettings.html b/python/pykde/doc/classref/khtml/KHTMLSettings.html deleted file mode 100644 index 9a8839f7..00000000 --- a/python/pykde/doc/classref/khtml/KHTMLSettings.html +++ /dev/null @@ -1,318 +0,0 @@ - - - - - class KHTMLSettings - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KHTMLSettings


-
- - - - - -
Table of contents
Modules
khtml Classes
All Classes
-
- - - - - - - - - - -
Modulekhtml
ClassKHTMLSettings
Inherits
-

enums

    -
  • KAnimationAdvice = {KAnimationDisabled, KAnimationLoopOnce, KAnimationEnabled -}
  • KJSWindowFocusPolicy = {KJSWindowFocusAllow, KJSWindowFocusIgnore -}
  • KJSWindowMovePolicy = {KJSWindowMoveAllow, KJSWindowMoveIgnore -}
  • KJSWindowOpenPolicy = {KJSWindowOpenAllow, KJSWindowOpenAsk, KJSWindowOpenDeny, KJSWindowOpenSmart -}
  • KJSWindowResizePolicy = {KJSWindowResizeAllow, KJSWindowResizeIgnore -}
  • KJSWindowStatusPolicy = {KJSWindowStatusAllow, KJSWindowStatusIgnore -}
  • KJavaScriptAdvice = {KJavaScriptDunno, KJavaScriptAccept, KJavaScriptReject -}
-

methods

    -
  • KHTMLSettings () -
    -
    returns a KHTMLSettings instance

  • -
  • KHTMLSettings (other) -
    -
    returns a KHTMLSettings instance
    - -
    ArgumentTypeDefault
    otherKHTMLSettings
    -

  • -
  • accessKeysEnabled () -
    - -
    returns (bool)
    In versions KDE 3.5.0 and above only

  • -
  • addAdFilter (url) -
    - -
    returns nothing
    In versions KDE 3.5.0 and above only
    - -
    ArgumentTypeDefault
    urlTQString
    -

  • -
  • adviceToStr (_advice) -
    - -
    returns (char)
    static
    - -
    ArgumentTypeDefault
    _adviceKHTMLSettings.KJavaScriptAdvice
    -

  • -
  • allowTabulation () -
    - -
    returns (bool)
    In versions KDE 3.4.0 and above only

  • -
  • autoLoadImages () -
    -
    returns (bool)

  • -
  • autoSpellCheck () -
    - -
    returns (bool)
    In versions KDE 3.4.0 and above only

  • -
  • availableFamilies () -
    - -
    returns (TQString)
    static

  • -
  • baseColor () -
    - -
    returns (TQColor)
    In versions KDE 3.4.0 and above only

  • -
  • changeCursor () -
    -
    returns (bool)

  • -
  • cursiveFontName () -
    -
    returns (TQString)

  • -
  • encoding () -
    -
    returns (TQString)

  • -
  • fallbackAccessKeysAssignments () -
    - -
    returns (TQValueList>)
    In versions KDE 3.5.0 and above only

  • -
  • fantasyFontName () -
    -
    returns (TQString)

  • -
  • fixedFontName () -
    -
    returns (TQString)

  • -
  • followSystemColors () -
    - -
    returns (bool)
    In versions KDE 3.4.0 and above only

  • -
  • hoverLink () -
    -
    returns (bool)

  • -
  • init () -
    -
    returns nothing

  • -
  • init (config, reset = 1) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    configKConfig
    resetbool1
    -

  • -
  • isAdFilterEnabled () -
    - -
    returns (bool)
    In versions KDE 3.5.0 and above only

  • -
  • isAdFiltered (url) -
    - -
    returns (bool)
    In versions KDE 3.5.0 and above only
    - -
    ArgumentTypeDefault
    urlTQString
    -

  • -
  • isAutoDelayedActionsEnabled () -
    - -
    returns (bool)
    In versions KDE 3.1.1 and above only

  • -
  • isBackRightClickEnabled () -
    - -
    returns (bool)
    In versions KDE 3.1.0 and above only

  • -
  • isFormCompletionEnabled () -
    -
    returns (bool)

  • -
  • isHideAdsEnabled () -
    - -
    returns (bool)
    In versions KDE 3.5.0 and above only

  • -
  • isJavaEnabled (hostname = TQString .null) -
    -
    returns (bool)
    - -
    ArgumentTypeDefault
    hostnameTQStringTQString .null
    -

  • -
  • isJavaScriptDebugEnabled (hostname = TQString .null) -
    -
    returns (bool)
    - -
    ArgumentTypeDefault
    hostnameTQStringTQString .null
    -

  • -
  • isJavaScriptEnabled (hostname = TQString .null) -
    -
    returns (bool)
    - -
    ArgumentTypeDefault
    hostnameTQStringTQString .null
    -

  • -
  • isJavaScriptErrorReportingEnabled (hostname = TQString .null) -
    - -
    returns (bool)
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    hostnameTQStringTQString .null
    -

  • -
  • isOpenMiddleClickEnabled () -
    - -
    returns (bool)
    In versions KDE 3.3.0 and above only

  • -
  • isPluginsEnabled (hostname = TQString .null) -
    -
    returns (bool)
    - -
    ArgumentTypeDefault
    hostnameTQStringTQString .null
    -

  • -
  • jsErrorsEnabled () -
    - -
    returns (bool)
    In versions KDE 3.2.0 and above only

  • -
  • jsPopupBlockerPassivePopup () -
    - -
    returns (bool)
    In versions KDE 3.5.0 and above only

  • -
  • linkColor () -
    -
    returns (TQColor)

  • -
  • maxFormCompletionItems () -
    -
    returns (int)

  • -
  • mediumFontSize () -
    -
    returns (int)

  • -
  • minFontSize () -
    -
    returns (int)

  • -
  • readDomainSettings (config, reset, global, pd_settings) -
    Not Implemented
    -

  • -
  • sansSerifFontName () -
    -
    returns (TQString)

  • -
  • serifFontName () -
    -
    returns (TQString)

  • -
  • setFixedFontName (n) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    nTQString
    -

  • -
  • setJSErrorsEnabled (enabled) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    enabledbool
    -

  • -
  • setJSPopupBlockerPassivePopup (enabled) -
    - -
    returns nothing
    In versions KDE 3.5.0 and above only
    - -
    ArgumentTypeDefault
    enabledbool
    -

  • -
  • setStdFontName (n) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    nTQString
    -

  • -
  • settingsToCSS () -
    -
    returns (TQString)

  • -
  • showAnimations () -
    -
    returns (KHTMLSettings.KAnimationAdvice)

  • -
  • splitDomainAdvice (configStr, domain) -
    Not Implemented
    -

  • -
  • stdFontName () -
    -
    returns (TQString)

  • -
  • strToAdvice (_str) -
    - -
    returns (KJavaScriptAdvice)
    static
    - -
    ArgumentTypeDefault
    _strTQString
    -

  • -
  • textColor () -
    -
    returns (TQColor)

  • -
  • underlineLink () -
    -
    returns (bool)

  • -
  • unfinishedImageFrame () -
    - -
    returns (bool)
    In versions KDE 3.4.0 and above only

  • -
  • userStyleSheet () -
    -
    returns (TQString)

  • -
  • vLinkColor () -
    -
    returns (TQColor)

  • -
  • windowFocusPolicy (hostname = TQString .null) -
    - -
    returns (KHTMLSettings.KJSWindowFocusPolicy)
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    hostnameTQStringTQString .null
    -

  • -
  • windowMovePolicy (hostname = TQString .null) -
    - -
    returns (KHTMLSettings.KJSWindowMovePolicy)
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    hostnameTQStringTQString .null
    -

  • -
  • windowOpenPolicy (hostname = TQString .null) -
    - -
    returns (KHTMLSettings.KJSWindowOpenPolicy)
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    hostnameTQStringTQString .null
    -

  • -
  • windowResizePolicy (hostname = TQString .null) -
    - -
    returns (KHTMLSettings.KJSWindowResizePolicy)
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    hostnameTQStringTQString .null
    -

  • -
  • windowStatusPolicy (hostname = TQString .null) -
    - -
    returns (KHTMLSettings.KJSWindowStatusPolicy)
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    hostnameTQStringTQString .null
    -

  • -
- - - diff --git a/python/pykde/doc/classref/khtml/KHTMLView.html b/python/pykde/doc/classref/khtml/KHTMLView.html deleted file mode 100644 index b50b5e6d..00000000 --- a/python/pykde/doc/classref/khtml/KHTMLView.html +++ /dev/null @@ -1,287 +0,0 @@ - - - - - class KHTMLView - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KHTMLView


-
- - - - - -
Table of contents
Modules
khtml Classes
All Classes
-
- - - - - - - - - - -
Modulekhtml
ClassKHTMLView
InheritsTQScrollView
-

methods

    -
  • KHTMLView (part, parent, name = 0) -
    -
    returns a KHTMLView instance
    - - - -
    ArgumentTypeDefault
    partKHTMLPart
    parentTQWidget
    namechar0
    -

  • -
  • clear () -
    -
    returns nothing

  • -
  • cleared () -
    -
    returns nothing

  • -
  • closeEvent (a0) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    a0TQCloseEvent
    -

  • -
  • contentsContextMenuEvent (_ce) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    _ceTQContextMenuEvent
    -

  • -
  • displayAccessKeys () -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only

  • -
  • doAutoScroll () -
    -
    returns nothing

  • -
  • dragEnterEvent (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0TQDragEnterEvent
    -

  • -
  • drawContents (p, clipx, clipy, clipw, cliph) -
    -
    returns nothing
    - - - - - -
    ArgumentTypeDefault
    pTQPainter
    clipxint
    clipyint
    clipwint
    cliphint
    -

  • -
  • drawContents (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0TQPainter
    -

  • -
  • dropEvent (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0TQDropEvent
    -

  • -
  • eventFilter (a0, a1) -
    - -
    returns (bool)
    In versions KDE 3.2.0 and above only
    - - -
    ArgumentTypeDefault
    a0TQObject
    a1TQEvent
    -

  • -
  • findAheadActive (a0) -
    - -
    returns nothing
    In versions KDE 3.5.0 and above only
    - -
    ArgumentTypeDefault
    a0bool
    -

  • -
  • finishedLayout () -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only

  • -
  • focusInEvent (a0) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    a0TQFocusEvent
    -

  • -
  • focusNextPrevChild (next) -
    -
    returns (bool)
    - -
    ArgumentTypeDefault
    nextbool
    -

  • -
  • focusOutEvent (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0TQFocusEvent
    -

  • -
  • frameWidth () -
    -
    returns (int)

  • -
  • hideAccessKeys () -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only

  • -
  • hideEvent (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0TQHideEvent
    -

  • -
  • keyPressEvent (_ke) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    _keTQKeyEvent
    -

  • -
  • keyReleaseEvent (_ke) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    _keTQKeyEvent
    -

  • -
  • layout () -
    -
    returns nothing

  • -
  • marginHeight () -
    -
    returns (int)

  • -
  • marginWidth () -
    -
    returns (int)

  • -
  • part () -
    -
    returns (KHTMLPart)

  • -
  • print_ () -
    - -
    returns nothing
    Renamed: was ' print -' in C++

  • -
  • print_ (quick) -
    - - -
    returns nothing
    Renamed: was ' print' in C++
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    quickbool
    -

  • -
  • repaintAccessKeys () -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only

  • -
  • resizeEvent (event) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    eventTQResizeEvent
    -

  • -
  • setHScrollBarMode (mode) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    modeScrollBarMode
    -

  • -
  • setMarginHeight (y) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    yint
    -

  • -
  • setMarginWidth (x) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    xint
    -

  • -
  • setVScrollBarMode (mode) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    modeScrollBarMode
    -

  • -
  • showEvent (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0TQShowEvent
    -

  • -
  • slotPaletteChanged () -
    -
    returns nothing

  • -
  • slotScrollBarMoved () -
    -
    returns nothing

  • -
  • timerEvent (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0TQTimerEvent
    -

  • -
  • viewportMouseDoubleClickEvent (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0TQMouseEvent
    -

  • -
  • viewportMouseMoveEvent (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0TQMouseEvent
    -

  • -
  • viewportMousePressEvent (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0TQMouseEvent
    -

  • -
  • viewportMouseReleaseEvent (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0TQMouseEvent
    -

  • -
  • viewportResizeEvent (a0) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    a0TQResizeEvent
    -

  • -
  • viewportWheelEvent (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0TQWheelEvent
    -

  • -
  • zoomView (a0) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    a0int
    -

  • -
- - - diff --git a/python/pykde/doc/classref/khtml/index.html b/python/pykde/doc/classref/khtml/index.html deleted file mode 100644 index 601c9c1d..00000000 --- a/python/pykde/doc/classref/khtml/index.html +++ /dev/null @@ -1,153 +0,0 @@ - - - - - module khtml - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

khtml Class Index


-
- - - - -
Table of contents
Modules
All Classes
-
- khtml Global and Namespace members

- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
DOM - DOM.HTMLAreaElement
DOM
DOM.AbstractView
DOM.Attr
DOM.CDATASection
DOM.CSSCharsetRule
DOM.CSSException
DOM.CSSFontFaceRule
DOM.CSSImportRule
DOM.CSSMediaRule
DOM.CSSPageRule
DOM.CSSPrimitiveValue
DOM.CSSRule
DOM.CSSRuleList
DOM.CSSStyleDeclaration
DOM.CSSStyleRule
DOM.CSSStyleSheet
DOM.CSSUnknownRule
DOM.CSSValue
DOM.CSSValueList
DOM.CharacterData
DOM.Comment
DOM.Counter
DOM.CustomNodeFilter
DOM.DOMException
DOM.DOMImplementation
DOM.DOMString
DOM.Document
DOM.DocumentFragment
DOM.DocumentStyle
DOM.DocumentType
DOM.DomShared
DOM.Element
DOM.Entity
DOM.EntityReference
DOM.Event
DOM.EventException
DOM.EventListener
DOM.HTMLAnchorElement
DOM.HTMLAppletElement
DOM.HTMLAreaElement
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
DOM.HTMLBRElement - DOM.HTMLParagraphElement
DOM.HTMLBRElement
DOM.HTMLBaseElement
DOM.HTMLBaseFontElement
DOM.HTMLBlockquoteElement
DOM.HTMLBodyElement
DOM.HTMLButtonElement
DOM.HTMLCollection
DOM.HTMLDListElement
DOM.HTMLDirectoryElement
DOM.HTMLDivElement
DOM.HTMLDocument
DOM.HTMLElement
DOM.HTMLFieldSetElement
DOM.HTMLFontElement
DOM.HTMLFormElement
DOM.HTMLFrameElement
DOM.HTMLFrameSetElement
DOM.HTMLHRElement
DOM.HTMLHeadElement
DOM.HTMLHeadingElement
DOM.HTMLHtmlElement
DOM.HTMLIFrameElement
DOM.HTMLImageElement
DOM.HTMLInputElement
DOM.HTMLIsIndexElement
DOM.HTMLLIElement
DOM.HTMLLabelElement
DOM.HTMLLayerElement
DOM.HTMLLegendElement
DOM.HTMLLinkElement
DOM.HTMLMapElement
DOM.HTMLMenuElement
DOM.HTMLMetaElement
DOM.HTMLModElement
DOM.HTMLOListElement
DOM.HTMLObjectElement
DOM.HTMLOptGroupElement
DOM.HTMLOptionElement
DOM.HTMLParagraphElement
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
DOM.HTMLParamElement - KHTMLView
DOM.HTMLParamElement
DOM.HTMLPreElement
DOM.HTMLQuoteElement
DOM.HTMLScriptElement
DOM.HTMLSelectElement
DOM.HTMLStyleElement
DOM.HTMLTableCaptionElement
DOM.HTMLTableCellElement
DOM.HTMLTableColElement
DOM.HTMLTableElement
DOM.HTMLTableRowElement
DOM.HTMLTableSectionElement
DOM.HTMLTextAreaElement
DOM.HTMLTitleElement
DOM.HTMLUListElement
DOM.LinkStyle
DOM.MediaList
DOM.MouseEvent
DOM.MutationEvent
DOM.NamedNodeMap
DOM.Node
DOM.NodeFilter
DOM.NodeIterator
DOM.NodeList
DOM.Notation
DOM.ProcessingInstruction
DOM.RGBColor
DOM.Range
DOM.RangeException
DOM.Rect
DOM.StyleSheet
DOM.StyleSheetList
DOM.Text
DOM.TextEvent
DOM.TreeWalker
DOM.UIEvent
KHTMLPart
KHTMLSettings
KHTMLView
- - diff --git a/python/pykde/doc/classref/khtml/khtml-globals.html b/python/pykde/doc/classref/khtml/khtml-globals.html deleted file mode 100644 index 817eb1ea..00000000 --- a/python/pykde/doc/classref/khtml/khtml-globals.html +++ /dev/null @@ -1,28 +0,0 @@ - - - - - khtml globals - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

khtml Globals


-
- - - - - -
Table of contents
Modules
khtml Classes
All Classes
-
- - - diff --git a/python/pykde/doc/classref/kio/KACL.html b/python/pykde/doc/classref/kio/KACL.html deleted file mode 100644 index 37de9ac3..00000000 --- a/python/pykde/doc/classref/kio/KACL.html +++ /dev/null @@ -1,209 +0,0 @@ - - - - - class KACL - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KACL


-
- - - - - -
Table of contents
Modules
kio Classes
All Classes
-
- - - - - - - - - - -
Modulekio
ClassKACL
Inherits
-

methods

    -
  • KACL (aclString) -
    - -
    returns a KACL instance
    In versions KDE 3.5.0 and above only
    - -
    ArgumentTypeDefault
    aclStringTQString
    -

  • -
  • KACL (rhs) -
    - -
    returns a KACL instance
    In versions KDE 3.5.0 and above only
    - -
    ArgumentTypeDefault
    rhsKACL
    -

  • -
  • KACL (basicPermissions) -
    - -
    returns a KACL instance
    In versions KDE 3.5.0 and above only
    - -
    ArgumentTypeDefault
    basicPermissionsmode_t
    -

  • -
  • KACL () -
    - -
    returns a KACL instance
    In versions KDE 3.5.0 and above only

  • -
  • allGroupPermissions () -
    - -
    returns (ACLGroupPermissionsList)
    In versions KDE 3.5.0 and above only

  • -
  • allUserPermissions () -
    - -
    returns (ACLUserPermissionsList)
    In versions KDE 3.5.0 and above only

  • -
  • asString () -
    - -
    returns (TQString)
    In versions KDE 3.5.0 and above only

  • -
  • basePermissions () -
    - -
    returns (mode_t)
    In versions KDE 3.5.0 and above only

  • -
  • isExtended () -
    - -
    returns (bool)
    In versions KDE 3.5.0 and above only

  • -
  • isValid () -
    - -
    returns (bool)
    In versions KDE 3.5.0 and above only

  • -
  • maskPermissions () -
    - -
    returns (ushort) exists (bool)
    In versions KDE 3.5.0 and above only

  • -
  • namedGroupPermissions (name) -
    - -
    returns (ushort) exists (bool)
    In versions KDE 3.5.0 and above only
    - -
    ArgumentTypeDefault
    nameTQString
    -

  • -
  • namedUserPermissions (name) -
    - -
    returns (ushort) exists (bool)
    In versions KDE 3.5.0 and above only
    - -
    ArgumentTypeDefault
    nameTQString
    -

  • -
  • othersPermissions () -
    - -
    returns (ushort)
    In versions KDE 3.5.0 and above only

  • -
  • ownerPermissions () -
    - -
    returns (ushort)
    In versions KDE 3.5.0 and above only

  • -
  • owningGroupPermissions () -
    - -
    returns (ushort)
    In versions KDE 3.5.0 and above only

  • -
  • setACL (aclStr) -
    - -
    returns (bool)
    In versions KDE 3.5.0 and above only
    - -
    ArgumentTypeDefault
    aclStrTQString
    -

  • -
  • setAllGroupPermissions (a0) -
    - -
    returns (bool)
    In versions KDE 3.5.0 and above only
    - -
    ArgumentTypeDefault
    a0ACLGroupPermissionsList
    -

  • -
  • setAllUserPermissions (list) -
    - -
    returns (bool)
    In versions KDE 3.5.0 and above only
    - -
    ArgumentTypeDefault
    listACLUserPermissionsList
    -

  • -
  • setMaskPermissions (a0) -
    - -
    returns (bool)
    In versions KDE 3.5.0 and above only
    - -
    ArgumentTypeDefault
    a0ushort
    -

  • -
  • setNamedGroupPermissions (name, a0) -
    - -
    returns (bool)
    In versions KDE 3.5.0 and above only
    - - -
    ArgumentTypeDefault
    nameTQString
    a0ushort
    -

  • -
  • setNamedUserPermissions (name, a0) -
    - -
    returns (bool)
    In versions KDE 3.5.0 and above only
    - - -
    ArgumentTypeDefault
    nameTQString
    a0ushort
    -

  • -
  • setOthersPermissions (a0) -
    - -
    returns (bool)
    In versions KDE 3.5.0 and above only
    - -
    ArgumentTypeDefault
    a0ushort
    -

  • -
  • setOwnerPermissions (a0) -
    - -
    returns (bool)
    In versions KDE 3.5.0 and above only
    - -
    ArgumentTypeDefault
    a0ushort
    -

  • -
  • setOwningGroupPermissions (a0) -
    - -
    returns (bool)
    In versions KDE 3.5.0 and above only
    - -
    ArgumentTypeDefault
    a0ushort
    -

  • -
  • virtual_hook (id, data) -
    - -
    returns nothing
    In versions KDE 3.5.0 and above only
    - - -
    ArgumentTypeDefault
    idint
    datavoid
    -

  • -
-

operators

    -
  • operator != (a0) -
    - -
    returns (bool)
    In versions KDE 3.5.0 and above only
    - -
    ArgumentTypeDefault
    a0KACL
    -

  • -
  • operator == (a0) -
    - -
    returns (bool)
    In versions KDE 3.5.0 and above only
    - -
    ArgumentTypeDefault
    a0KACL
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kio/KAr.html b/python/pykde/doc/classref/kio/KAr.html deleted file mode 100644 index 7206a485..00000000 --- a/python/pykde/doc/classref/kio/KAr.html +++ /dev/null @@ -1,104 +0,0 @@ - - - - - class KAr - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KAr


-
- - - - - -
Table of contents
Modules
kio Classes
All Classes
-
- - - - - - - - - - -
Modulekio
ClassKAr
InheritsKArchive
-

methods

    -
  • KAr (filename) -
    - -
    returns a KAr instance
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    filenameTQString
    -

  • -
  • KAr (dev) -
    - -
    returns a KAr instance
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    devTQIODevice
    -

  • -
  • closeArchive () -
    - -
    returns (bool)
    In versions KDE 3.1.0 and above only

  • -
  • doneWriting (size) -
    - -
    returns (bool)
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    sizeuint
    -

  • -
  • fileName () -
    - -
    returns (TQString)
    In versions KDE 3.1.0 and above only

  • -
  • openArchive (mode) -
    - -
    returns (bool)
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    modeint
    -

  • -
  • prepareWriting (name, user, group, size) -
    - -
    returns (bool)
    In versions KDE 3.1.0 and above only
    - - - - -
    ArgumentTypeDefault
    nameTQString
    userTQString
    groupTQString
    sizeuint
    -

  • -
  • virtual_hook (id, data) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - - -
    ArgumentTypeDefault
    idint
    datavoid
    -

  • -
  • writeDir (name, user, group) -
    - -
    returns (bool)
    In versions KDE 3.1.0 and above only
    - - - -
    ArgumentTypeDefault
    nameTQString
    userTQString
    groupTQString
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kio/KArchive.html b/python/pykde/doc/classref/kio/KArchive.html deleted file mode 100644 index e71890d8..00000000 --- a/python/pykde/doc/classref/kio/KArchive.html +++ /dev/null @@ -1,288 +0,0 @@ - - - - - class KArchive - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KArchive


-
- - - - - -
Table of contents
Modules
kio Classes
All Classes
-
- - - - - - - - - - -
Modulekio
ClassKArchive (abstract)
Inherits
-

methods

    -
  • KArchive (dev) -
    -
    returns a KArchive instance
    - -
    ArgumentTypeDefault
    devTQIODevice
    -

  • -
  • addLocalDirectory (path, destName) -
    - -
    returns (bool)
    In versions KDE 3.2.0 and above only
    - - -
    ArgumentTypeDefault
    pathTQString
    destNameTQString
    -

  • -
  • addLocalFile (fileName, destName) -
    - -
    returns (bool)
    In versions KDE 3.2.0 and above only
    - - -
    ArgumentTypeDefault
    fileNameTQString
    destNameTQString
    -

  • -
  • close () -
    -
    returns nothing

  • -
  • closeArchive () = 0 -
    - -
    returns (bool)
    pure virtual

  • -
  • closeSucceeded () -
    - -
    returns (bool)
    In versions KDE 3.5.0 and above only

  • -
  • device () -
    -
    returns (TQIODevice)

  • -
  • directory () -
    -
    returns (KArchiveDirectory)

  • -
  • doneWriting (size) = 0 -
    - -
    returns (bool)
    pure virtual
    - -
    ArgumentTypeDefault
    sizeuint
    -

  • -
  • findOrCreate (path) -
    -
    returns (KArchiveDirectory)
    - -
    ArgumentTypeDefault
    pathTQString
    -

  • -
  • isOpened () -
    -
    returns (bool)

  • -
  • mode () -
    -
    returns (int)

  • -
  • open (mode) -
    -
    returns (bool)
    - -
    ArgumentTypeDefault
    modeint
    -

  • -
  • openArchive (mode) = 0 -
    - -
    returns (bool)
    pure virtual
    - -
    ArgumentTypeDefault
    modeint
    -

  • -
  • prepareWriting (name, user, group, size) = 0 -
    - -
    returns (bool)
    pure virtual
    - - - - -
    ArgumentTypeDefault
    nameTQString
    userTQString
    groupTQString
    sizeuint
    -

  • -
  • prepareWriting (name, user, group, size, perm, atime, mtime, ctime) -
    - -
    returns (bool)
    In versions KDE 3.2.0 and above only
    - - - - - - - - -
    ArgumentTypeDefault
    nameTQString
    userTQString
    groupTQString
    sizeuint
    permmode_t
    atimetime_t
    mtimetime_t
    ctimetime_t
    -

  • -
  • prepareWriting_impl (name, user, group, size, perm, atime, mtime, ctime) -
    - -
    returns (bool)
    In versions KDE 3.2.0 and above only
    - - - - - - - - -
    ArgumentTypeDefault
    nameTQString
    userTQString
    groupTQString
    sizeuint
    permmode_t
    atimetime_t
    mtimetime_t
    ctimetime_t
    -

  • -
  • rootDir () -
    -
    returns (KArchiveDirectory)

  • -
  • setDevice (dev) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    devTQIODevice
    -

  • -
  • setRootDir (rootDir) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    rootDirKArchiveDirectory
    -

  • -
  • writeData (data, size) -
    - -
    returns (bool)
    In versions KDE 3.2.0 and above only
    - - -
    ArgumentTypeDefault
    datachar
    sizeuint
    -

  • -
  • writeData_impl (data, size) -
    - -
    returns (bool)
    In versions KDE 3.2.0 and above only
    - - -
    ArgumentTypeDefault
    datachar
    sizeuint
    -

  • -
  • writeDir (name, user, group) = 0 -
    - -
    returns (bool)
    pure virtual
    - - - -
    ArgumentTypeDefault
    nameTQString
    userTQString
    groupTQString
    -

  • -
  • writeDir (name, user, group, perm, atime, mtime, ctime) -
    - -
    returns (bool)
    In versions KDE 3.2.0 and above only
    - - - - - - - -
    ArgumentTypeDefault
    nameTQString
    userTQString
    groupTQString
    permmode_t
    atimetime_t
    mtimetime_t
    ctimetime_t
    -

  • -
  • writeDir_impl (name, user, group, perm, atime, mtime, ctime) -
    - -
    returns (bool)
    In versions KDE 3.2.0 and above only
    - - - - - - - -
    ArgumentTypeDefault
    nameTQString
    userTQString
    groupTQString
    permmode_t
    atimetime_t
    mtimetime_t
    ctimetime_t
    -

  • -
  • writeFile (name, user, group, size, data) -
    -
    returns (bool)
    - - - - - -
    ArgumentTypeDefault
    nameTQString
    userTQString
    groupTQString
    sizeuint
    datachar
    -

  • -
  • writeFile (name, user, group, size, perm, atime, mtime, ctime, data) -
    - -
    returns (bool)
    In versions KDE 3.2.0 and above only
    - - - - - - - - - -
    ArgumentTypeDefault
    nameTQString
    userTQString
    groupTQString
    sizeuint
    permmode_t
    atimetime_t
    mtimetime_t
    ctimetime_t
    datachar
    -

  • -
  • writeFile_impl (name, user, group, size, perm, atime, mtime, ctime, data) -
    - -
    returns (bool)
    In versions KDE 3.2.0 and above only
    - - - - - - - - - -
    ArgumentTypeDefault
    nameTQString
    userTQString
    groupTQString
    sizeuint
    permmode_t
    atimetime_t
    mtimetime_t
    ctimetime_t
    datachar
    -

  • -
  • writeSymLink (name, target, user, group, perm, atime, mtime, ctime) -
    - -
    returns (bool)
    In versions KDE 3.2.0 and above only
    - - - - - - - - -
    ArgumentTypeDefault
    nameTQString
    targetTQString
    userTQString
    groupTQString
    permmode_t
    atimetime_t
    mtimetime_t
    ctimetime_t
    -

  • -
  • writeSymLink_impl (name, target, user, group, perm, atime, mtime, ctime) -
    - -
    returns (bool)
    In versions KDE 3.2.0 and above only
    - - - - - - - - -
    ArgumentTypeDefault
    nameTQString
    targetTQString
    userTQString
    groupTQString
    permmode_t
    atimetime_t
    mtimetime_t
    ctimetime_t
    -

  • -
  • ~KArchive () -
    - -
    returns nothing
    In versions less than KDE 3.1.0 only

  • -
- - - diff --git a/python/pykde/doc/classref/kio/KArchiveDirectory.html b/python/pykde/doc/classref/kio/KArchiveDirectory.html deleted file mode 100644 index 17fae5ed..00000000 --- a/python/pykde/doc/classref/kio/KArchiveDirectory.html +++ /dev/null @@ -1,79 +0,0 @@ - - - - - class KArchiveDirectory - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KArchiveDirectory


-
- - - - - -
Table of contents
Modules
kio Classes
All Classes
-
- - - - - - - - - - -
Modulekio
ClassKArchiveDirectory
InheritsKArchiveEntry
-

methods

    -
  • KArchiveDirectory (archive, name, access, date, user, group, symlink) -
    -
    returns a KArchiveDirectory instance
    - - - - - - - -
    ArgumentTypeDefault
    archiveKArchive
    nameTQString
    accessint
    dateint
    userTQString
    groupTQString
    symlinkTQString
    -

  • -
  • addEntry (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0KArchiveEntry
    -

  • -
  • copyTo (dest, recursive = 1) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - - -
    ArgumentTypeDefault
    destTQString
    recursivebool1
    -

  • -
  • entries () -
    -
    returns (TQStringList)

  • -
  • entry (name) -
    -
    returns (KArchiveEntry)
    - -
    ArgumentTypeDefault
    nameTQString
    -

  • -
  • isDirectory () -
    -
    returns (bool)

  • -
- - - diff --git a/python/pykde/doc/classref/kio/KArchiveEntry.html b/python/pykde/doc/classref/kio/KArchiveEntry.html deleted file mode 100644 index 590dda1f..00000000 --- a/python/pykde/doc/classref/kio/KArchiveEntry.html +++ /dev/null @@ -1,83 +0,0 @@ - - - - - class KArchiveEntry - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KArchiveEntry


-
- - - - - -
Table of contents
Modules
kio Classes
All Classes
-
- - - - - - - - - - -
Modulekio
ClassKArchiveEntry
Inherits
-

methods

    -
  • KArchiveEntry (archive, name, access, date, user, group, symlink) -
    -
    returns a KArchiveEntry instance
    - - - - - - - -
    ArgumentTypeDefault
    archiveKArchive
    nameTQString
    accessint
    dateint
    userTQString
    groupTQString
    symlinkTQString
    -

  • -
  • archive () -
    -
    returns (KArchive)

  • -
  • date () -
    -
    returns (int)

  • -
  • datetime () -
    -
    returns (TQDateTime)

  • -
  • group () -
    -
    returns (TQString)

  • -
  • isDirectory () -
    -
    returns (bool)

  • -
  • isFile () -
    -
    returns (bool)

  • -
  • name () -
    -
    returns (TQString)

  • -
  • permissions () -
    -
    returns (mode_t)

  • -
  • symlink () -
    -
    returns (TQString)

  • -
  • user () -
    -
    returns (TQString)

  • -
- - - diff --git a/python/pykde/doc/classref/kio/KArchiveFile.html b/python/pykde/doc/classref/kio/KArchiveFile.html deleted file mode 100644 index ca070fd7..00000000 --- a/python/pykde/doc/classref/kio/KArchiveFile.html +++ /dev/null @@ -1,84 +0,0 @@ - - - - - class KArchiveFile - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KArchiveFile


-
- - - - - -
Table of contents
Modules
kio Classes
All Classes
-
- - - - - - - - - - -
Modulekio
ClassKArchiveFile
InheritsKArchiveEntry
-

methods

    -
  • KArchiveFile (archive, name, access, date, user, group, symlink, pos, size) -
    -
    returns a KArchiveFile instance
    - - - - - - - - - -
    ArgumentTypeDefault
    archiveKArchive
    nameTQString
    accessint
    dateint
    userTQString
    groupTQString
    symlinkTQString
    posint
    sizeint
    -

  • -
  • copyTo (dest) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    destTQString
    -

  • -
  • data () -
    -
    returns (TQByteArray)

  • -
  • device () -
    -
    returns (TQIODevice)

  • -
  • isFile () -
    -
    returns (bool)

  • -
  • position () -
    -
    returns (int)

  • -
  • setSize (s) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    sint
    -

  • -
  • size () -
    -
    returns (int)

  • -
- - - diff --git a/python/pykde/doc/classref/kio/KAutoMount.html b/python/pykde/doc/classref/kio/KAutoMount.html deleted file mode 100644 index 3ffdd9a3..00000000 --- a/python/pykde/doc/classref/kio/KAutoMount.html +++ /dev/null @@ -1,67 +0,0 @@ - - - - - class KAutoMount - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KAutoMount


-
- - - - - -
Table of contents
Modules
kio Classes
All Classes
-
- - - - - - - - - - -
Modulekio
ClassKAutoMount
InheritsTQObject
-

methods

    -
  • KAutoMount (readonly, format, device, mountpoint, desktopFile, show_filemanager_window = 1) -
    -
    returns a KAutoMount instance
    - - - - - - -
    ArgumentTypeDefault
    readonlybool
    formatTQString
    deviceTQString
    mountpointTQString
    desktopFileTQString
    show_filemanager_windowbool1
    -

  • -
  • error () -
    -
    returns nothing

  • -
  • finished () -
    -
    returns nothing

  • -
  • slotResult (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0KIO.Job
    -

  • -
  • ~KAutoMount () -
    -
    returns nothing

  • -
- - - diff --git a/python/pykde/doc/classref/kio/KAutoUnmount.html b/python/pykde/doc/classref/kio/KAutoUnmount.html deleted file mode 100644 index 5fd61285..00000000 --- a/python/pykde/doc/classref/kio/KAutoUnmount.html +++ /dev/null @@ -1,63 +0,0 @@ - - - - - class KAutoUnmount - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KAutoUnmount


-
- - - - - -
Table of contents
Modules
kio Classes
All Classes
-
- - - - - - - - - - -
Modulekio
ClassKAutoUnmount
InheritsTQObject
-

methods

    -
  • KAutoUnmount (mountpoint, desktopFile) -
    -
    returns a KAutoUnmount instance
    - - -
    ArgumentTypeDefault
    mountpointTQString
    desktopFileTQString
    -

  • -
  • error () -
    -
    returns nothing

  • -
  • finished () -
    -
    returns nothing

  • -
  • slotResult (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0KIO.Job
    -

  • -
  • ~KAutoUnmount () -
    -
    returns nothing

  • -
- - - diff --git a/python/pykde/doc/classref/kio/KDCOPServiceStarter.html b/python/pykde/doc/classref/kio/KDCOPServiceStarter.html deleted file mode 100644 index 8192d27e..00000000 --- a/python/pykde/doc/classref/kio/KDCOPServiceStarter.html +++ /dev/null @@ -1,78 +0,0 @@ - - - - - class KDCOPServiceStarter - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KDCOPServiceStarter


-
- - - - - -
Table of contents
Modules
kio Classes
All Classes
-
- - - - - - - - - - -
Modulekio
ClassKDCOPServiceStarter
Inherits
-

methods

    -
  • KDCOPServiceStarter () -
    - -
    returns a KDCOPServiceStarter instance
    In versions KDE 3.2.0 and above only

  • -
  • findServiceFor (serviceType, constraint = TQString .null, preferences = TQString .null, error = 0, dcopService = 0, flags = 0) -
    - -
    returns (int)
    In versions KDE 3.2.0 and above only
    - - - - - - -
    ArgumentTypeDefault
    serviceTypeTQString
    constraintTQStringTQString .null
    preferencesTQStringTQString .null
    errorTQString0
    dcopServiceTQCString0
    flagsint0
    -

  • -
  • self () -
    - - -
    returns (KDCOPServiceStarter)
    In versions KDE 3.2.0 and above only
    static

  • -
  • startServiceFor (serviceType, constraint = TQString .null, preferences = TQString .null, error = 0, dcopService = 0, flags = 0) -
    - -
    returns (int)
    In versions KDE 3.2.0 and above only
    - - - - - - -
    ArgumentTypeDefault
    serviceTypeTQString
    constraintTQStringTQString .null
    preferencesTQStringTQString .null
    errorTQString0
    dcopServiceTQCString0
    flagsint0
    -

  • -
  • ~KDCOPServiceStarter () -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only

  • -
- - - diff --git a/python/pykde/doc/classref/kio/KDEDesktopMimeType.Service.html b/python/pykde/doc/classref/kio/KDEDesktopMimeType.Service.html deleted file mode 100644 index 35f2241d..00000000 --- a/python/pykde/doc/classref/kio/KDEDesktopMimeType.Service.html +++ /dev/null @@ -1,56 +0,0 @@ - - - - - class KDEDesktopMimeType.Service - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KDEDesktopMimeType.Service


-
- - - - - -
Table of contents
Modules
kio Classes
All Classes
-
- - - - - - - - - - -
Modulekio
ClassKDEDesktopMimeType.Service
Inherits
-

methods

    -
  • Service () -
    -
    returns a Service instance

  • -
  • isEmpty () -
    - -
    returns (bool)
    In versions KDE 3.2.0 and above only

  • -
-

variables

  • -variables - - - - - -
    VariableType
    m_displaybool
    m_strExecTQString
    m_strIconTQString
    m_strNameTQString
    m_typeKDEDesktopMimeType::ServiceType
- - - diff --git a/python/pykde/doc/classref/kio/KDEDesktopMimeType.html b/python/pykde/doc/classref/kio/KDEDesktopMimeType.html deleted file mode 100644 index bb7c0ef3..00000000 --- a/python/pykde/doc/classref/kio/KDEDesktopMimeType.html +++ /dev/null @@ -1,196 +0,0 @@ - - - - - class KDEDesktopMimeType - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KDEDesktopMimeType


-
- - - - - -
Table of contents
Modules
kio Classes
All Classes
-
- - - - - - - - - - -
Modulekio
ClassKDEDesktopMimeType
InheritsKMimeType
-

enums

    -
  • ServiceType = {ST_MOUNT, ST_UNMOUNT, ST_USER_DEFINED -}
-

methods

    -
  • KDEDesktopMimeType (config) -
    -
    returns a KDEDesktopMimeType instance
    - -
    ArgumentTypeDefault
    configKDesktopFile
    -

  • -
  • KDEDesktopMimeType (_str, offset) -
    -
    returns a KDEDesktopMimeType instance
    - - -
    ArgumentTypeDefault
    _strTQDataStream
    offsetint
    -

  • -
  • builtinServices (_url) -
    - -
    returns (TQValueList)
    static
    - -
    ArgumentTypeDefault
    _urlKURL
    -

  • -
  • comment (_url, _is_local) -
    -
    returns (TQString)
    - - -
    ArgumentTypeDefault
    _urlTQString
    _is_localbool
    -

  • -
  • comment (_url, _is_local) -
    -
    returns (TQString)
    - - -
    ArgumentTypeDefault
    _urlKURL
    _is_localbool
    -

  • -
  • executeService (path, service) -
    - -
    returns nothing
    static
    - - -
    ArgumentTypeDefault
    pathTQString
    serviceKDEDesktopMimeType.Service
    -

  • -
  • executeService (urls, service) -
    - -
    returns nothing
    static
    - - -
    ArgumentTypeDefault
    urlsKURL.List
    serviceKDEDesktopMimeType.Service
    -

  • -
  • icon (_url, _is_local) -
    -
    returns (TQString)
    - - -
    ArgumentTypeDefault
    _urlTQString
    _is_localbool
    -

  • -
  • icon (_url, _is_local) -
    -
    returns (TQString)
    - - -
    ArgumentTypeDefault
    _urlKURL
    _is_localbool
    -

  • -
  • pixmap (_url, _group, _force_size = 0, _state = 0, _path = 0) -
    -
    returns (TQPixmap)
    - - - - - -
    ArgumentTypeDefault
    _urlKURL
    _groupKIcon.Group
    _force_sizeint0
    _stateint0
    _pathTQString0
    -

  • -
  • pixmap (group, force_size, state, path) -
    -
    returns (TQPixmap)
    - - - - -
    ArgumentTypeDefault
    groupKIcon.Group
    force_sizeint
    stateint
    pathTQString
    -

  • -
  • run (_url, _is_local) -
    - -
    returns (pid_t)
    static
    - - -
    ArgumentTypeDefault
    _urlKURL
    _is_localbool
    -

  • -
  • runApplication (_url, _serviceFile) -
    - -
    returns (pid_t)
    static
    - - -
    ArgumentTypeDefault
    _urlKURL
    _serviceFileTQString
    -

  • -
  • runFSDevice (_url, cfg) -
    - -
    returns (pid_t)
    static
    - - -
    ArgumentTypeDefault
    _urlKURL
    cfgKSimpleConfig
    -

  • -
  • runLink (_url, cfg) -
    - -
    returns (pid_t)
    static
    - - -
    ArgumentTypeDefault
    _urlKURL
    cfgKSimpleConfig
    -

  • -
  • runMimeType (_url, cfg) -
    - -
    returns (pid_t)
    static
    - - -
    ArgumentTypeDefault
    _urlKURL
    cfgKSimpleConfig
    -

  • -
  • userDefinedServices (path, bLocalFiles) -
    - -
    returns (TQValueList)
    static
    - - -
    ArgumentTypeDefault
    pathTQString
    bLocalFilesbool
    -

  • -
  • userDefinedServices (path, config, bLocalFiles) -
    - - -
    returns (TQValueList)
    In versions KDE 3.4.0 and above only
    static
    - - - -
    ArgumentTypeDefault
    pathTQString
    configKConfig
    bLocalFilesbool
    -

  • -
  • userDefinedServices (path, config, bLocalFiles, file_list) -
    - - -
    returns (TQValueList)
    In versions KDE 3.5.0 and above only
    static
    - - - - -
    ArgumentTypeDefault
    pathTQString
    configKConfig
    bLocalFilesbool
    file_listKURL.List
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kio/KDataTool.html b/python/pykde/doc/classref/kio/KDataTool.html deleted file mode 100644 index c9720bd5..00000000 --- a/python/pykde/doc/classref/kio/KDataTool.html +++ /dev/null @@ -1,67 +0,0 @@ - - - - - class KDataTool - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KDataTool


-
- - - - - -
Table of contents
Modules
kio Classes
All Classes
-
- - - - - - - - - - -
Modulekio
ClassKDataTool (abstract)
InheritsTQObject
-

methods

    -
  • KDataTool (parent = 0, name = 0) -
    -
    returns a KDataTool instance
    - - -
    ArgumentTypeDefault
    parentTQObject0
    namechar0
    -

  • -
  • instance () -
    -
    returns (KInstance)

  • -
  • run (command, data, datatype, mimetype) = 0 -
    - -
    returns (bool)
    pure virtual
    - - - - -
    ArgumentTypeDefault
    commandTQString
    datavoid
    datatypeTQString
    mimetypeTQString
    -

  • -
  • setInstance (instance) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    instanceKInstance
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kio/KDataToolAction.html b/python/pykde/doc/classref/kio/KDataToolAction.html deleted file mode 100644 index 8051be87..00000000 --- a/python/pykde/doc/classref/kio/KDataToolAction.html +++ /dev/null @@ -1,70 +0,0 @@ - - - - - class KDataToolAction - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KDataToolAction


-
- - - - - -
Table of contents
Modules
kio Classes
All Classes
-
- - - - - - - - - - -
Modulekio
ClassKDataToolAction
InheritsKAction
-

methods

    -
  • KDataToolAction (text, info, command, parent = 0, name = 0) -
    -
    returns a KDataToolAction instance
    - - - - - -
    ArgumentTypeDefault
    textTQString
    infoKDataToolInfo
    commandTQString
    parentTQObject0
    namechar0
    -

  • -
  • dataToolActionList (tools, receiver, slot) -
    - -
    returns (TQPtrList)
    static
    - - - -
    ArgumentTypeDefault
    toolsTQValueList
    receiverTQObject
    slotchar
    -

  • -
  • slotActivated () -
    -
    returns nothing

  • -
  • toolActivated (info, command) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    infoKDataToolInfo
    commandTQString
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kio/KDataToolInfo.html b/python/pykde/doc/classref/kio/KDataToolInfo.html deleted file mode 100644 index 2968c4f9..00000000 --- a/python/pykde/doc/classref/kio/KDataToolInfo.html +++ /dev/null @@ -1,106 +0,0 @@ - - - - - class KDataToolInfo - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KDataToolInfo


-
- - - - - -
Table of contents
Modules
kio Classes
All Classes
-
- - - - - - - - - - -
Modulekio
ClassKDataToolInfo
Inherits
-

methods

    -
  • KDataToolInfo () -
    -
    returns a KDataToolInfo instance

  • -
  • KDataToolInfo (service, instance) -
    -
    returns a KDataToolInfo instance
    - - -
    ArgumentTypeDefault
    serviceKService.Ptr
    instanceKInstance
    -

  • -
  • KDataToolInfo (info) -
    -
    returns a KDataToolInfo instance
    - -
    ArgumentTypeDefault
    infoKDataToolInfo
    -

  • -
  • commands () -
    -
    returns (TQStringList)

  • -
  • createTool (parent = 0, name = 0) -
    -
    returns (KDataTool)
    - - -
    ArgumentTypeDefault
    parentTQObject0
    namechar0
    -

  • -
  • dataType () -
    -
    returns (TQString)

  • -
  • icon () -
    -
    returns (TQPixmap)

  • -
  • iconName () -
    -
    returns (TQString)

  • -
  • instance () -
    -
    returns (KInstance)

  • -
  • isReadOnly () -
    -
    returns (bool)

  • -
  • isValid () -
    -
    returns (bool)

  • -
  • mimeTypes () -
    -
    returns (TQStringList)

  • -
  • miniIcon () -
    -
    returns (TQPixmap)

  • -
  • query (datatype, mimetype, instance) -
    - -
    returns (TQValueList)
    static
    - - - -
    ArgumentTypeDefault
    datatypeTQString
    mimetypeTQString
    instanceKInstance
    -

  • -
  • service () -
    -
    returns (KService.Ptr)

  • -
  • userCommands () -
    -
    returns (TQStringList)

  • -
- - - diff --git a/python/pykde/doc/classref/kio/KDirLister.html b/python/pykde/doc/classref/kio/KDirLister.html deleted file mode 100644 index cda02a91..00000000 --- a/python/pykde/doc/classref/kio/KDirLister.html +++ /dev/null @@ -1,356 +0,0 @@ - - - - - class KDirLister - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KDirLister


-
- - - - - -
Table of contents
Modules
kio Classes
All Classes
-
- - - - - - - - - - -
Modulekio
ClassKDirLister
InheritsTQObject
-

enums

    -
  • WhichItems = {AllItems, FilteredItems -}
-

methods

    -
  • KDirLister (_delayedMimeTypes = 0) -
    -
    returns a KDirLister instance
    - -
    ArgumentTypeDefault
    _delayedMimeTypesbool0
    -

  • -
  • autoErrorHandlingEnabled () -
    -
    returns (bool)

  • -
  • autoUpdate () -
    -
    returns (bool)

  • -
  • canceled () -
    -
    returns nothing

  • -
  • canceled (_url) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    _urlKURL
    -

  • -
  • clear () -
    -
    returns nothing

  • -
  • clear (_url) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    _urlKURL
    -

  • -
  • clearMimeFilter () -
    -
    returns nothing

  • -
  • completed () -
    -
    returns nothing

  • -
  • completed (_url) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    _urlKURL
    -

  • -
  • deleteItem (_fileItem) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    _fileItemKFileItem
    -

  • -
  • dirOnlyMode () -
    -
    returns (bool)

  • -
  • directories () -
    - -
    returns (KURL.List)
    In versions KDE 3.4.0 and above only

  • -
  • doMimeExcludeFilter (mimeExclude, filters) -
    - -
    returns (bool)
    In versions KDE 3.1.0 and above only
    - - -
    ArgumentTypeDefault
    mimeExcludeTQString
    filtersTQStringList
    -

  • -
  • doMimeFilter (mime, filters) -
    -
    returns (bool)
    - - -
    ArgumentTypeDefault
    mimeTQString
    filtersTQStringList
    -

  • -
  • doNameFilter (name, filters) -
    -
    returns (bool)
    - - -
    ArgumentTypeDefault
    nameTQString
    filtersTQPtrList
    -

  • -
  • emitChanges () -
    -
    returns nothing

  • -
  • find (_url) -
    -
    returns (KFileItem)
    - -
    ArgumentTypeDefault
    _urlKURL
    -

  • -
  • findByName (name) -
    -
    returns (KFileItem)
    - -
    ArgumentTypeDefault
    nameTQString
    -

  • -
  • findByURL (_url) -
    -
    returns (KFileItem)
    - -
    ArgumentTypeDefault
    _urlKURL
    -

  • -
  • handleError (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0KIO.Job
    -

  • -
  • infoMessage (msg) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    msgTQString
    -

  • -
  • isFinished () -
    -
    returns (bool)

  • -
  • items (which = FilteredItems) -
    - -
    returns (KFileItemList)
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    whichKDirLister.WhichItemsFilteredItems
    -

  • -
  • itemsFilteredByMime (items) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    itemsKFileItemList
    -

  • -
  • itemsForDir (dir, which = FilteredItems) -
    - -
    returns (KFileItemList)
    In versions KDE 3.1.0 and above only
    - - -
    ArgumentTypeDefault
    dirKURL
    whichKDirLister.WhichItemsFilteredItems
    -

  • -
  • mainWindow () -
    - -
    returns (TQWidget)
    In versions KDE 3.1.0 and above only

  • -
  • matchesFilter (name) -
    -
    returns (bool)
    - -
    ArgumentTypeDefault
    nameTQString
    -

  • -
  • matchesFilter (a0) -
    -
    returns (bool)
    - -
    ArgumentTypeDefault
    a0KFileItem
    -

  • -
  • matchesMimeFilter (mime) -
    -
    returns (bool)
    - -
    ArgumentTypeDefault
    mimeTQString
    -

  • -
  • matchesMimeFilter (a0) -
    -
    returns (bool)
    - -
    ArgumentTypeDefault
    a0KFileItem
    -

  • -
  • mimeFilters () -
    -
    returns (TQStringList)

  • -
  • nameFilter () -
    -
    returns (TQString)

  • -
  • newItems (items) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    itemsKFileItemList
    -

  • -
  • openURL (_url, _keep = 0, _reload = 0) -
    -
    returns (bool)
    - - - -
    ArgumentTypeDefault
    _urlKURL
    _keepbool0
    _reloadbool0
    -

  • -
  • percent (percent) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    percentint
    -

  • -
  • processedSize (size) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    sizeKIO.filesize_t
    -

  • -
  • redirection (_url) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    _urlKURL
    -

  • -
  • redirection (oldUrl, newUrl) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    oldUrlKURL
    newUrlKURL
    -

  • -
  • refreshItems (items) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    itemsKFileItemList
    -

  • -
  • rootItem () -
    -
    returns (KFileItem)

  • -
  • setAutoErrorHandlingEnabled (enable, parent) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    enablebool
    parentTQWidget
    -

  • -
  • setAutoUpdate (enable) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    enablebool
    -

  • -
  • setDirOnlyMode (dirsOnly) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    dirsOnlybool
    -

  • -
  • setMainWindow (window) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    windowTQWidget
    -

  • -
  • setMimeExcludeFilter (mimeList) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    mimeListTQStringList
    -

  • -
  • setMimeFilter (mimeList) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    mimeListTQStringList
    -

  • -
  • setNameFilter (filter) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    filterTQString
    -

  • -
  • setShowingDotFiles (_showDotFiles) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    _showDotFilesbool
    -

  • -
  • showingDotFiles () -
    -
    returns (bool)

  • -
  • speed (bytes_per_second) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    bytes_per_secondint
    -

  • -
  • started (_url) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    _urlKURL
    -

  • -
  • stop () -
    -
    returns nothing

  • -
  • stop (_url) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    _urlKURL
    -

  • -
  • totalSize (size) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    sizeKIO.filesize_t
    -

  • -
  • updateDirectory (_dir) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    _dirKURL
    -

  • -
  • url () -
    -
    returns (KURL)

  • -
  • validURL (a0) -
    -
    returns (bool)
    - -
    ArgumentTypeDefault
    a0KURL
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kio/KDirNotify.html b/python/pykde/doc/classref/kio/KDirNotify.html deleted file mode 100644 index 8c3d58ca..00000000 --- a/python/pykde/doc/classref/kio/KDirNotify.html +++ /dev/null @@ -1,93 +0,0 @@ - - - - - class KDirNotify - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KDirNotify


-
- - - - - -
Table of contents
Modules
kio Classes
All Classes
-
- - - - - - - - - - -
Modulekio
ClassKDirNotify (abstract)
InheritsDCOPObject
-

methods

    -
  • FileRenamed (src, dst) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    srcKURL
    dstKURL
    -

  • -
  • FilesAdded (directory) = 0 -
    - -
    returns nothing
    pure virtual
    - -
    ArgumentTypeDefault
    directoryKURL
    -

  • -
  • FilesChanged (fileList) = 0 -
    - -
    returns nothing
    pure virtual
    - -
    ArgumentTypeDefault
    fileListKURL.List
    -

  • -
  • FilesRemoved (fileList) = 0 -
    - -
    returns nothing
    pure virtual
    - -
    ArgumentTypeDefault
    fileListKURL.List
    -

  • -
  • KDirNotify () -
    -
    returns a KDirNotify instance

  • -
  • functions () -
    - -
    returns (QCStringList)
    In versions KDE 3.1.4 and above only

  • -
  • interfaces () -
    - -
    returns (QCStringList)
    In versions KDE 3.1.4 and above only

  • -
  • process (fun, data, replyType, replyData) -
    - -
    returns (bool)
    In versions KDE 3.1.4 and above only
    - - - - -
    ArgumentTypeDefault
    funTQCString
    dataTQByteArray
    replyTypeTQCString
    replyDataTQByteArray
    -

  • -
  • ~KDirNotify () -
    -
    returns nothing

  • -
- - - diff --git a/python/pykde/doc/classref/kio/KDirWatch.html b/python/pykde/doc/classref/kio/KDirWatch.html deleted file mode 100644 index 40a5a689..00000000 --- a/python/pykde/doc/classref/kio/KDirWatch.html +++ /dev/null @@ -1,168 +0,0 @@ - - - - - class KDirWatch - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KDirWatch


-
- - - - - -
Table of contents
Modules
kio Classes
All Classes
-
- - - - - - - - - - -
Modulekio
ClassKDirWatch
InheritsTQObject
-

enums

    -
  • Method = {FAM, DNotify, Stat, INotify -}
  • Method = {FAM, DNotify, Stat -}
-

methods

    -
  • KDirWatch (parent = 0, name = 0) -
    -
    returns a KDirWatch instance
    - - -
    ArgumentTypeDefault
    parentTQObject0
    namechar0
    -

  • -
  • addDir (path, watchFiles = 0, recursive = 0) -
    -
    returns nothing
    - - - -
    ArgumentTypeDefault
    pathTQString
    watchFilesbool0
    recursivebool0
    -

  • -
  • addFile (file) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    fileTQString
    -

  • -
  • contains (path) -
    -
    returns (bool)
    - -
    ArgumentTypeDefault
    pathTQString
    -

  • -
  • created (path) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    pathTQString
    -

  • -
  • ctime (path) -
    -
    returns (TQDateTime)
    - -
    ArgumentTypeDefault
    pathTQString
    -

  • -
  • deleted (path) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    pathTQString
    -

  • -
  • dirty (path) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    pathTQString
    -

  • -
  • exists () -
    - - -
    returns (bool)
    In versions KDE 3.1.0 and above only
    static

  • -
  • internalMethod () -
    - -
    returns (KDirWatch.Method)
    In versions KDE 3.2.0 and above only

  • -
  • isStopped () -
    -
    returns (bool)

  • -
  • removeDir (path) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    pathTQString
    -

  • -
  • removeFile (file) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    fileTQString
    -

  • -
  • restartDirScan (path) -
    -
    returns (bool)
    - -
    ArgumentTypeDefault
    pathTQString
    -

  • -
  • self () -
    - -
    returns (KDirWatch)
    static

  • -
  • setCreated (path) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    pathTQString
    -

  • -
  • setDeleted (path) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    pathTQString
    -

  • -
  • setDirty (path) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    pathTQString
    -

  • -
  • startScan (notify = 0, skippedToo = 0) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    notifybool0
    skippedToobool0
    -

  • -
  • statistics () -
    - -
    returns nothing
    static

  • -
  • stopDirScan (path) -
    -
    returns (bool)
    - -
    ArgumentTypeDefault
    pathTQString
    -

  • -
  • stopScan () -
    -
    returns nothing

  • -
- - - diff --git a/python/pykde/doc/classref/kio/KEMailSettings.html b/python/pykde/doc/classref/kio/KEMailSettings.html deleted file mode 100644 index d8450cc1..00000000 --- a/python/pykde/doc/classref/kio/KEMailSettings.html +++ /dev/null @@ -1,88 +0,0 @@ - - - - - class KEMailSettings - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KEMailSettings


-
- - - - - -
Table of contents
Modules
kio Classes
All Classes
-
- - - - - - - - - - -
Modulekio
ClassKEMailSettings
Inherits
-

enums

    -
  • Extension = {POP3, SMTP, OTHER -}
  • Setting = {ClientProgram, ClientTerminal, RealName, EmailAddress, ReplyToAddress, Organization, OutServer, OutServerLogin, OutServerPass, OutServerType, OutServerCommand, OutServerTLS, InServer, InServerLogin, InServerPass, InServerType, InServerMBXType, InServerTLS -}
-

methods

    -
  • KEMailSettings () -
    -
    returns a KEMailSettings instance

  • -
  • currentProfileName () -
    -
    returns (TQString)

  • -
  • defaultProfileName () -
    -
    returns (TQString)

  • -
  • getExtendedSetting (a0, a1) -
    Not Implemented
    -

  • -
  • getSetting (s) -
    -
    returns (TQString)
    - -
    ArgumentTypeDefault
    sKEMailSettings.Setting
    -

  • -
  • profiles () -
    -
    returns (TQStringList)

  • -
  • setDefault (def) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    defTQString
    -

  • -
  • setExtendedSetting (a0, a1, a2) -
    Not Implemented
    -

  • -
  • setProfile (s) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    sTQString
    -

  • -
  • setSetting (s, v) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    sKEMailSettings.Setting
    vTQString
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kio/KExecMimeType.html b/python/pykde/doc/classref/kio/KExecMimeType.html deleted file mode 100644 index a2ac7d93..00000000 --- a/python/pykde/doc/classref/kio/KExecMimeType.html +++ /dev/null @@ -1,54 +0,0 @@ - - - - - class KExecMimeType - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KExecMimeType


-
- - - - - -
Table of contents
Modules
kio Classes
All Classes
-
- - - - - - - - - - -
Modulekio
ClassKExecMimeType
InheritsKMimeType
-

methods

    -
  • KExecMimeType (config) -
    -
    returns a KExecMimeType instance
    - -
    ArgumentTypeDefault
    configKDesktopFile
    -

  • -
  • KExecMimeType (_str, offset) -
    -
    returns a KExecMimeType instance
    - - -
    ArgumentTypeDefault
    _strTQDataStream
    offsetint
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kio/KFileFilter.html b/python/pykde/doc/classref/kio/KFileFilter.html deleted file mode 100644 index df1e7ebb..00000000 --- a/python/pykde/doc/classref/kio/KFileFilter.html +++ /dev/null @@ -1,48 +0,0 @@ - - - - - class KFileFilter - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KFileFilter


-
- - - - - -
Table of contents
Modules
kio Classes
All Classes
-
- - - - - - - - - - -
Modulekio
ClassKFileFilter (abstract)
Inherits
-

methods

    -
  • passesFilter (item) = 0 -
    - -
    returns (bool)
    pure virtual
    - -
    ArgumentTypeDefault
    itemKFileItem
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kio/KFileItem.html b/python/pykde/doc/classref/kio/KFileItem.html deleted file mode 100644 index 89c29603..00000000 --- a/python/pykde/doc/classref/kio/KFileItem.html +++ /dev/null @@ -1,326 +0,0 @@ - - - - - class KFileItem - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KFileItem


-
- - - - - -
Table of contents
Modules
kio Classes
All Classes
-
- - - - - - - - - - -
Modulekio
ClassKFileItem
Inherits
-

enums

    -
  • (anonymous) = {Unknown -}
-

methods

    -
  • ACL () -
    - -
    returns (KACL)
    In versions KDE 3.5.0 and above only

  • -
  • KFileItem (_entry, _url, _determineMimeTypeOnDemand = 0, _urlIsDirectory = 0) -
    -
    returns a KFileItem instance
    - - - - -
    ArgumentTypeDefault
    _entryKIO.UDSEntry
    _urlKURL
    _determineMimeTypeOnDemandbool0
    _urlIsDirectorybool0
    -

  • -
  • KFileItem (_mode, _permissions, _url, _determineMimeTypeOnDemand = 0) -
    -
    returns a KFileItem instance
    - - - - -
    ArgumentTypeDefault
    _modemode_t
    _permissionsmode_t
    _urlKURL
    _determineMimeTypeOnDemandbool0
    -

  • -
  • KFileItem (url, mimeType, mode) -
    -
    returns a KFileItem instance
    - - - -
    ArgumentTypeDefault
    urlKURL
    mimeTypeTQString
    modemode_t
    -

  • -
  • KFileItem (item) -
    -
    returns a KFileItem instance
    - -
    ArgumentTypeDefault
    itemKFileItem
    -

  • -
  • acceptsDrops () -
    -
    returns (bool)

  • -
  • assign (item) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    itemKFileItem
    -

  • -
  • cmp (item) -
    -
    returns (bool)
    - -
    ArgumentTypeDefault
    itemKFileItem
    -

  • -
  • defaultACL () -
    - -
    returns (KACL)
    In versions KDE 3.5.0 and above only

  • -
  • determineMimeType () -
    -
    returns (KMimeType.Ptr)

  • -
  • entry () -
    -
    returns (KIO.UDSEntry)

  • -
  • extraData (key) -
    Not Implemented
    -

  • -
  • getStatusBarInfo () -
    -
    returns (TQString)

  • -
  • getToolTipText (maxcount = 6) -
    -
    returns (TQString)
    - -
    ArgumentTypeDefault
    maxcountint6
    -

  • -
  • group () -
    -
    returns (TQString)

  • -
  • hasExtendedACL () -
    - -
    returns (bool)
    In versions KDE 3.5.0 and above only

  • -
  • iconName () -
    -
    returns (TQString)

  • -
  • init (_determineMimeTypeOnDemand) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    _determineMimeTypeOnDemandbool
    -

  • -
  • isDir () -
    -
    returns (bool)

  • -
  • isFile () -
    -
    returns (bool)

  • -
  • isHidden () -
    - -
    returns (bool)
    In versions KDE 3.3.0 and above only

  • -
  • isLink () -
    -
    returns (bool)

  • -
  • isLocalFile () -
    -
    returns (bool)

  • -
  • isMarked () -
    -
    returns (bool)

  • -
  • isMimeTypeKnown () -
    -
    returns (bool)

  • -
  • isReadable () -
    -
    returns (bool)

  • -
  • isWritable () -
    - -
    returns (bool)
    In versions KDE 3.4.0 and above only

  • -
  • linkDest () -
    -
    returns (TQString)

  • -
  • localPath () -
    - -
    returns (TQString)
    In versions KDE 3.4.0 and above only

  • -
  • mark () -
    -
    returns nothing

  • -
  • metaInfo (autoget = 1, what = KFileMetaInfo .Fastest) -
    -
    returns (KFileMetaInfo)
    - - -
    ArgumentTypeDefault
    autogetbool1
    whatintKFileMetaInfo .Fastest
    -

  • -
  • mimeComment () -
    -
    returns (TQString)

  • -
  • mimeTypePtr () -
    -
    returns (KMimeType.Ptr)

  • -
  • mimetype () -
    -
    returns (TQString)

  • -
  • mode () -
    -
    returns (mode_t)

  • -
  • mostLocalURL () -
    - -
    returns (KURL) local (bool)
    In versions KDE 3.4.0 and above only

  • -
  • name (lowerCase = 0) -
    -
    returns (TQString)
    - -
    ArgumentTypeDefault
    lowerCasebool0
    -

  • -
  • overlays () -
    -
    returns (int)

  • -
  • parsePermissions (perm) -
    -
    returns (TQString)
    - -
    ArgumentTypeDefault
    permmode_t
    -

  • -
  • permissions () -
    -
    returns (mode_t)

  • -
  • permissionsString () -
    -
    returns (TQString)

  • -
  • pixmap (_size, _state = 0) -
    -
    returns (TQPixmap)
    - - -
    ArgumentTypeDefault
    _sizeint
    _stateint0
    -

  • -
  • readUDSEntry (_urlIsDirectory) -
    - -
    returns nothing
    In versions KDE 3.4.3 and above only
    - -
    ArgumentTypeDefault
    _urlIsDirectorybool
    -

  • -
  • refresh () -
    -
    returns nothing

  • -
  • refreshMimeType () -
    -
    returns nothing

  • -
  • removeExtraData (key) -
    Not Implemented
    -

  • -
  • run () -
    -
    returns nothing

  • -
  • setExtraData (key, value) -
    Not Implemented
    -

  • -
  • setFileMode (m) -
    - -
    returns nothing
    In versions KDE 3.5.0 and above only
    - -
    ArgumentTypeDefault
    mmode_t
    -

  • -
  • setMetaInfo (info) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    infoKFileMetaInfo
    -

  • -
  • setMimeType (mimetype) -
    - -
    returns nothing
    In versions KDE 3.5.0 and above only
    - -
    ArgumentTypeDefault
    mimetypeTQString
    -

  • -
  • setName (name) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    nameTQString
    -

  • -
  • setUDSEntry (entry, url, determineMimeTypeOnDemand = 0, urlIsDirectory = 0) -
    - -
    returns nothing
    In versions KDE 3.4.3 and above only
    - - - - -
    ArgumentTypeDefault
    entryKIO.UDSEntry
    urlKURL
    determineMimeTypeOnDemandbool0
    urlIsDirectorybool0
    -

  • -
  • setURL (url) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    urlKURL
    -

  • -
  • size () -
    -
    returns (KIO.filesize_t)

  • -
  • size () -
    - -
    returns (KIO.filesize_t) hasSize (bool)
    In versions KDE 3.5.0 and above only

  • -
  • text () -
    -
    returns (TQString)

  • -
  • time (which) -
    -
    returns (time_t)
    - -
    ArgumentTypeDefault
    whichuint
    -

  • -
  • time (which) -
    - -
    returns (time_t) hasTime (bool)
    In versions KDE 3.5.0 and above only
    - -
    ArgumentTypeDefault
    whichuint
    -

  • -
  • timeString (which = KIO .UDS_MODIFICATION_TIME) -
    -
    returns (TQString)
    - -
    ArgumentTypeDefault
    whichuintKIO .UDS_MODIFICATION_TIME
    -

  • -
  • unmark () -
    -
    returns nothing

  • -
  • url () -
    -
    returns (KURL)

  • -
  • user () -
    -
    returns (TQString)

  • -
- - - diff --git a/python/pykde/doc/classref/kio/KFileMetaInfo.html b/python/pykde/doc/classref/kio/KFileMetaInfo.html deleted file mode 100644 index 59c1e470..00000000 --- a/python/pykde/doc/classref/kio/KFileMetaInfo.html +++ /dev/null @@ -1,197 +0,0 @@ - - - - - class KFileMetaInfo - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KFileMetaInfo


-
- - - - - -
Table of contents
Modules
kio Classes
All Classes
-
- - - - - - - - - - -
Modulekio
ClassKFileMetaInfo
Inherits
-

enums

    -
  • What = {Fastest, DontCare, TechnicalInfo, ContentInfo, ExtenedAttr, Thumbnail, Preferred, Everything -}
-

methods

    -
  • KFileMetaInfo (path, mimeType = TQString .null, what = Fastest) -
    -
    returns a KFileMetaInfo instance
    - - - -
    ArgumentTypeDefault
    pathTQString
    mimeTypeTQStringTQString .null
    whatuintFastest
    -

  • -
  • KFileMetaInfo (url, mimeType = TQString .null, what = Fastest) -
    - -
    returns a KFileMetaInfo instance
    In versions KDE 3.2.0 and above only
    - - - -
    ArgumentTypeDefault
    urlKURL
    mimeTypeTQStringTQString .null
    whatuintFastest
    -

  • -
  • KFileMetaInfo () -
    -
    returns a KFileMetaInfo instance

  • -
  • KFileMetaInfo (original) -
    -
    returns a KFileMetaInfo instance
    - -
    ArgumentTypeDefault
    originalKFileMetaInfo
    -

  • -
  • addGroup (name) -
    -
    returns (bool)
    - -
    ArgumentTypeDefault
    nameTQString
    -

  • -
  • appendGroup (name) -
    -
    returns (KFileMetaInfoGroup)
    - -
    ArgumentTypeDefault
    nameTQString
    -

  • -
  • applyChanges () -
    -
    returns (bool)

  • -
  • applyChanges (path) -
    - -
    returns (bool)
    In versions KDE 3.5.3 and above only
    - -
    ArgumentTypeDefault
    pathTQString
    -

  • -
  • contains (key) -
    -
    returns (bool)
    - -
    ArgumentTypeDefault
    keyTQString
    -

  • -
  • containsGroup (key) -
    -
    returns (bool)
    - -
    ArgumentTypeDefault
    keyTQString
    -

  • -
  • deref () -
    -
    returns nothing

  • -
  • editableGroups () -
    -
    returns (TQStringList)

  • -
  • group (key) -
    -
    returns (KFileMetaInfoGroup)
    - -
    ArgumentTypeDefault
    keyTQString
    -

  • -
  • groups () -
    -
    returns (TQStringList)

  • -
  • isEmpty () -
    -
    returns (bool)

  • -
  • isValid () -
    -
    returns (bool)

  • -
  • item (key) -
    -
    returns (KFileMetaInfoItem)
    - -
    ArgumentTypeDefault
    keyTQString
    -

  • -
  • item (hint) -
    -
    returns (KFileMetaInfoItem)
    - -
    ArgumentTypeDefault
    hintHint
    -

  • -
  • mimeType () -
    -
    returns (TQString)

  • -
  • path () -
    -
    returns (TQString)

  • -
  • plugin () -
    -
    returns (KFilePlugin)

  • -
  • preferredGroups () -
    -
    returns (TQStringList)

  • -
  • preferredKeys () -
    -
    returns (TQStringList)

  • -
  • ref () -
    -
    returns nothing

  • -
  • removeGroup (name) -
    -
    returns (bool)
    - -
    ArgumentTypeDefault
    nameTQString
    -

  • -
  • removedGroups () -
    -
    returns (TQStringList)

  • -
  • saveItem (key, preferredGroup = TQString .null, createGroup = 1) -
    -
    returns (KFileMetaInfoItem)
    - - - -
    ArgumentTypeDefault
    keyTQString
    preferredGroupTQStringTQString .null
    createGroupbool1
    -

  • -
  • supportedGroups () -
    -
    returns (TQStringList)

  • -
  • supportedKeys () -
    -
    returns (TQStringList)

  • -
  • url () -
    - -
    returns (KURL)
    In versions KDE 3.2.0 and above only

  • -
  • value (key) -
    -
    returns (TQVariant)
    - -
    ArgumentTypeDefault
    keyTQString
    -

  • -
-

operators

    -
  • operator [] (key) -
    - -
    returns (KFileMetaInfoGroup),
    In versions KDE 3.1.4 and above only
    - -
    ArgumentTypeDefault
    keyTQString
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kio/KFileMetaInfoGroup.html b/python/pykde/doc/classref/kio/KFileMetaInfoGroup.html deleted file mode 100644 index 38865e14..00000000 --- a/python/pykde/doc/classref/kio/KFileMetaInfoGroup.html +++ /dev/null @@ -1,153 +0,0 @@ - - - - - class KFileMetaInfoGroup - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KFileMetaInfoGroup


-
- - - - - -
Table of contents
Modules
kio Classes
All Classes
-
- - - - - - - - - - -
Modulekio
ClassKFileMetaInfoGroup
Inherits
-

methods

    -
  • KFileMetaInfoGroup (name, info) -
    -
    returns a KFileMetaInfoGroup instance
    - - -
    ArgumentTypeDefault
    nameTQString
    infoKFileMimeTypeInfo
    -

  • -
  • KFileMetaInfoGroup (original) -
    -
    returns a KFileMetaInfoGroup instance
    - -
    ArgumentTypeDefault
    originalKFileMetaInfoGroup
    -

  • -
  • KFileMetaInfoGroup () -
    -
    returns a KFileMetaInfoGroup instance

  • -
  • addItem (key) -
    -
    returns (KFileMetaInfoItem)
    - -
    ArgumentTypeDefault
    keyTQString
    -

  • -
  • appendItem (key, value) -
    -
    returns (KFileMetaInfoItem)
    - - -
    ArgumentTypeDefault
    keyTQString
    valueTQVariant
    -

  • -
  • attributes () -
    -
    returns (uint)

  • -
  • contains (key) -
    -
    returns (bool)
    - -
    ArgumentTypeDefault
    keyTQString
    -

  • -
  • deref () -
    -
    returns nothing

  • -
  • isEmpty () -
    -
    returns (bool)

  • -
  • isModified () -
    - -
    returns (bool)
    In versions KDE 3.1.0 and above only

  • -
  • isValid () -
    -
    returns (bool)

  • -
  • item (key) -
    -
    returns (KFileMetaInfoItem)
    - -
    ArgumentTypeDefault
    keyTQString
    -

  • -
  • item (hint) -
    -
    returns (KFileMetaInfoItem)
    - -
    ArgumentTypeDefault
    hintuint
    -

  • -
  • keys () -
    -
    returns (TQStringList)

  • -
  • name () -
    -
    returns (TQString)

  • -
  • preferredKeys () -
    -
    returns (TQStringList)

  • -
  • ref () -
    -
    returns nothing

  • -
  • removeItem (key) -
    -
    returns (bool)
    - -
    ArgumentTypeDefault
    keyTQString
    -

  • -
  • removedItems () -
    -
    returns (TQStringList)

  • -
  • setAdded () -
    -
    returns nothing

  • -
  • supportedKeys () -
    -
    returns (TQStringList)

  • -
  • supportsVariableKeys () -
    -
    returns (bool)

  • -
  • translatedName () -
    - -
    returns (TQString)
    In versions KDE 3.2.0 and above only

  • -
  • value (key) -
    -
    returns (TQVariant)
    - -
    ArgumentTypeDefault
    keyTQString
    -

  • -
-

operators

    -
  • operator [] (key) -
    - -
    returns (KFileMetaInfoItem),
    In versions KDE 3.1.4 and above only
    - -
    ArgumentTypeDefault
    keyTQString
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kio/KFileMetaInfoItem.html b/python/pykde/doc/classref/kio/KFileMetaInfoItem.html deleted file mode 100644 index cec827a0..00000000 --- a/python/pykde/doc/classref/kio/KFileMetaInfoItem.html +++ /dev/null @@ -1,122 +0,0 @@ - - - - - class KFileMetaInfoItem - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KFileMetaInfoItem


-
- - - - - -
Table of contents
Modules
kio Classes
All Classes
-
- - - - - - - - - - -
Modulekio
ClassKFileMetaInfoItem
Inherits
-

methods

    -
  • KFileMetaInfoItem (mti, key, value) -
    -
    returns a KFileMetaInfoItem instance
    - - - -
    ArgumentTypeDefault
    mtiKFileMimeTypeInfo.ItemInfo
    keyTQString
    valueTQVariant
    -

  • -
  • KFileMetaInfoItem (item) -
    -
    returns a KFileMetaInfoItem instance
    - -
    ArgumentTypeDefault
    itemKFileMetaInfoItem
    -

  • -
  • KFileMetaInfoItem () -
    -
    returns a KFileMetaInfoItem instance

  • -
  • attributes () -
    -
    returns (uint)

  • -
  • deref () -
    -
    returns nothing

  • -
  • hint () -
    -
    returns (uint)

  • -
  • isEditable () -
    -
    returns (bool)

  • -
  • isModified () -
    -
    returns (bool)

  • -
  • isRemoved () -
    -
    returns (bool)

  • -
  • isValid () -
    -
    returns (bool)

  • -
  • key () -
    -
    returns (TQString)

  • -
  • prefix () -
    -
    returns (TQString)

  • -
  • ref () -
    -
    returns nothing

  • -
  • setAdded () -
    -
    returns nothing

  • -
  • setRemoved () -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only

  • -
  • setValue (value) -
    -
    returns (bool)
    - -
    ArgumentTypeDefault
    valueTQVariant
    -

  • -
  • string (mangle = 1) -
    -
    returns (TQString)
    - -
    ArgumentTypeDefault
    manglebool1
    -

  • -
  • suffix () -
    -
    returns (TQString)

  • -
  • translatedKey () -
    -
    returns (TQString)

  • -
  • type () -
    -
    returns (TQVariant.Type)

  • -
  • unit () -
    Not Implemented
    -

  • -
  • value () -
    -
    returns (TQVariant)

  • -
- - - diff --git a/python/pykde/doc/classref/kio/KFileMetaInfoProvider.html b/python/pykde/doc/classref/kio/KFileMetaInfoProvider.html deleted file mode 100644 index 791724a0..00000000 --- a/python/pykde/doc/classref/kio/KFileMetaInfoProvider.html +++ /dev/null @@ -1,95 +0,0 @@ - - - - - class KFileMetaInfoProvider - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KFileMetaInfoProvider


-
- - - - - -
Table of contents
Modules
kio Classes
All Classes
-
- - - - - - - - - - -
Modulekio
ClassKFileMetaInfoProvider
InheritsTQObject
-

methods

    -
  • KFileMetaInfoProvider () -
    Not Implemented
    -

  • -
  • KFileMetaInfoProvider () -
    -
    returns a KFileMetaInfoProvider instance

  • -
  • mimeTypeInfo (mimeType) -
    -
    returns (KFileMimeTypeInfo)
    - -
    ArgumentTypeDefault
    mimeTypeTQString
    -

  • -
  • mimeTypeInfo (mimeType, protocol) -
    - -
    returns (KFileMimeTypeInfo)
    In versions KDE 3.4.0 and above only
    - - -
    ArgumentTypeDefault
    mimeTypeTQString
    protocolTQString
    -

  • -
  • plugin (mimeType) -
    -
    returns (KFilePlugin)
    - -
    ArgumentTypeDefault
    mimeTypeTQString
    -

  • -
  • plugin (mimeType, protocol) -
    - -
    returns (KFilePlugin)
    In versions KDE 3.4.0 and above only
    - - -
    ArgumentTypeDefault
    mimeTypeTQString
    protocolTQString
    -

  • -
  • preferredGroups (mimeType) -
    -
    returns (TQStringList)
    - -
    ArgumentTypeDefault
    mimeTypeTQString
    -

  • -
  • preferredKeys (mimeType) -
    -
    returns (TQStringList)
    - -
    ArgumentTypeDefault
    mimeTypeTQString
    -

  • -
  • self () -
    - -
    returns (KFileMetaInfoProvider)
    static

  • -
  • supportedMimeTypes () -
    - -
    returns (TQStringList)
    In versions KDE 3.1.0 and above only

  • -
- - - diff --git a/python/pykde/doc/classref/kio/KFileMimeTypeInfo.GroupInfo.html b/python/pykde/doc/classref/kio/KFileMimeTypeInfo.GroupInfo.html deleted file mode 100644 index d4b0beb3..00000000 --- a/python/pykde/doc/classref/kio/KFileMimeTypeInfo.GroupInfo.html +++ /dev/null @@ -1,72 +0,0 @@ - - - - - class KFileMimeTypeInfo.GroupInfo - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KFileMimeTypeInfo.GroupInfo


-
- - - - - -
Table of contents
Modules
kio Classes
All Classes
-
- - - - - - - - - - -
Modulekio
ClassKFileMimeTypeInfo.GroupInfo
Inherits
-

methods

    -
  • GroupInfo (name, translatedName) -
    -
    returns a GroupInfo instance
    - - -
    ArgumentTypeDefault
    nameTQString
    translatedNameTQString
    -

  • -
  • attributes () -
    -
    returns (uint)

  • -
  • itemInfo (key) -
    -
    returns (KFileMimeTypeInfo.ItemInfo)
    - -
    ArgumentTypeDefault
    keyTQString
    -

  • -
  • name () -
    -
    returns (TQString)

  • -
  • supportedKeys () -
    -
    returns (TQStringList)

  • -
  • supportsVariableKeys () -
    -
    returns (bool)

  • -
  • translatedName () -
    -
    returns (TQString)

  • -
  • variableItemInfo () -
    -
    returns (KFileMimeTypeInfo.ItemInfo)

  • -
- - - diff --git a/python/pykde/doc/classref/kio/KFileMimeTypeInfo.ItemInfo.html b/python/pykde/doc/classref/kio/KFileMimeTypeInfo.ItemInfo.html deleted file mode 100644 index ec4b0cdc..00000000 --- a/python/pykde/doc/classref/kio/KFileMimeTypeInfo.ItemInfo.html +++ /dev/null @@ -1,87 +0,0 @@ - - - - - class KFileMimeTypeInfo.ItemInfo - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KFileMimeTypeInfo.ItemInfo


-
- - - - - -
Table of contents
Modules
kio Classes
All Classes
-
- - - - - - - - - - -
Modulekio
ClassKFileMimeTypeInfo.ItemInfo
Inherits
-

methods

    -
  • ItemInfo () -
    -
    returns a ItemInfo instance

  • -
  • ItemInfo (key, translatedKey, type) -
    -
    returns a ItemInfo instance
    - - - -
    ArgumentTypeDefault
    keyTQString
    translatedKeyTQString
    typeTQVariant.Type
    -

  • -
  • attributes () -
    -
    returns (uint)

  • -
  • hint () -
    -
    returns (uint)

  • -
  • isVariableItem () -
    -
    returns (bool)

  • -
  • key () -
    -
    returns (TQString)

  • -
  • prefix () -
    -
    returns (TQString)

  • -
  • string (value, mangle = 1) -
    - -
    returns (TQString)
    In versions KDE 3.1.0 and above only
    - - -
    ArgumentTypeDefault
    valueTQVariant
    manglebool1
    -

  • -
  • suffix () -
    -
    returns (TQString)

  • -
  • translatedKey () -
    -
    returns (TQString)

  • -
  • type () -
    -
    returns (TQVariant.Type)

  • -
  • unit () -
    -
    returns (uint)

  • -
- - - diff --git a/python/pykde/doc/classref/kio/KFileMimeTypeInfo.html b/python/pykde/doc/classref/kio/KFileMimeTypeInfo.html deleted file mode 100644 index 2fb98a0a..00000000 --- a/python/pykde/doc/classref/kio/KFileMimeTypeInfo.html +++ /dev/null @@ -1,104 +0,0 @@ - - - - - class KFileMimeTypeInfo - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KFileMimeTypeInfo


-
- - - - - -
Table of contents
Modules
kio Classes
All Classes
-
- - - - - - - - - - -
Modulekio
ClassKFileMimeTypeInfo
Inherits
-

enums

    -
  • Attributes = {Addable, Removable, Modifiable, Cumulative, Cummulative, Averaged, MultiLine, SqueezeText -}
  • Attributes = {Addable, Removable, Modifiable, Cummulative, Averaged, MultiLine, SqueezeText -}
  • Attributes = {Addable, Removable, Modifiable, Cummulative, Averaged -}
  • Hint = {NoHint, Name, Author, Description, Width, Height, Size, Bitrate, Length, Hidden, Thumbnail -}
  • Unit = {NoUnit, Seconds, MilliSeconds, BitsPerSecond, Pixels, Inches, Centimeters, Bytes, FramesPerSecond, DotsPerInch, BitsPerPixel, Hertz, KiloBytes, Millimeters -}
-

methods

    -
  • KFileMimeTypeInfo () -
    -
    returns a KFileMimeTypeInfo instance

  • -
  • KFileMimeTypeInfo (mimeType) -
    -
    returns a KFileMimeTypeInfo instance
    - -
    ArgumentTypeDefault
    mimeTypeTQString
    -

  • -
  • addGroupInfo (name, translatedName) -
    -
    returns (KFileMimeTypeInfo.GroupInfo)
    - - -
    ArgumentTypeDefault
    nameTQString
    translatedNameTQString
    -

  • -
  • createValidator (group, key, parent = 0, name = 0) -
    -
    returns (TQValidator)
    - - - - -
    ArgumentTypeDefault
    groupTQString
    keyTQString
    parentTQObject0
    namechar0
    -

  • -
  • groupInfo (group) -
    -
    returns (KFileMimeTypeInfo.GroupInfo)
    - -
    ArgumentTypeDefault
    groupTQString
    -

  • -
  • mimeType () -
    -
    returns (TQString)

  • -
  • preferredGroups () -
    -
    returns (TQStringList)

  • -
  • preferredKeys () -
    -
    returns (TQStringList)

  • -
  • supportedGroups () -
    -
    returns (TQStringList)

  • -
  • supportedKeys () -
    -
    returns (TQStringList)

  • -
  • translatedGroups () -
    -
    returns (TQStringList)

  • -
-

variables

  • -variables - - - - -
    VariableType
    m_attruint
    m_itemDictTQDict
    m_supportedKeysTQStringList
    m_translatedNameTQString
- - - diff --git a/python/pykde/doc/classref/kio/KFilePlugin.html b/python/pykde/doc/classref/kio/KFilePlugin.html deleted file mode 100644 index 61b06c3e..00000000 --- a/python/pykde/doc/classref/kio/KFilePlugin.html +++ /dev/null @@ -1,161 +0,0 @@ - - - - - class KFilePlugin - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KFilePlugin


-
- - - - - -
Table of contents
Modules
kio Classes
All Classes
-
- - - - - - - - - - -
Modulekio
ClassKFilePlugin (abstract)
InheritsTQObject
-

methods

    -
  • KFilePlugin (parent, name, args) -
    -
    returns a KFilePlugin instance
    - - - -
    ArgumentTypeDefault
    parentTQObject
    namechar
    argsTQStringList
    -

  • -
  • addGroupInfo (info, key, translatedKey) -
    -
    returns (KFileMimeTypeInfo.GroupInfo)
    - - - -
    ArgumentTypeDefault
    infoKFileMimeTypeInfo
    keyTQString
    translatedKeyTQString
    -

  • -
  • addItemInfo (gi, key, translatedKey, type) -
    -
    returns (KFileMimeTypeInfo.ItemInfo)
    - - - - -
    ArgumentTypeDefault
    giKFileMimeTypeInfo.GroupInfo
    keyTQString
    translatedKeyTQString
    typeTQVariant.Type
    -

  • -
  • addMimeTypeInfo (mimeType) -
    -
    returns (KFileMimeTypeInfo)
    - -
    ArgumentTypeDefault
    mimeTypeTQString
    -

  • -
  • addVariableInfo (gi, type, attr) -
    -
    returns nothing
    - - - -
    ArgumentTypeDefault
    giKFileMimeTypeInfo.GroupInfo
    typeTQVariant.Type
    attruint
    -

  • -
  • appendGroup (info, key) -
    -
    returns (KFileMetaInfoGroup)
    - - -
    ArgumentTypeDefault
    infoKFileMetaInfo
    keyTQString
    -

  • -
  • appendItem (group, key, value) -
    -
    returns nothing
    - - - -
    ArgumentTypeDefault
    groupKFileMetaInfoGroup
    keyTQString
    valueTQVariant
    -

  • -
  • createValidator (mimeType, group, key, parent, name) -
    -
    returns (TQValidator)
    - - - - - -
    ArgumentTypeDefault
    mimeTypeTQString
    groupTQString
    keyTQString
    parentTQObject
    namechar
    -

  • -
  • readInfo (info, what = KFileMetaInfo .Fastest) = 0 -
    - -
    returns (bool)
    pure virtual
    - - -
    ArgumentTypeDefault
    infoKFileMetaInfo
    whatuintKFileMetaInfo .Fastest
    -

  • -
  • setAttributes (gi, attr) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    giKFileMimeTypeInfo.GroupInfo
    attruint
    -

  • -
  • setAttributes (item, attr) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    itemKFileMimeTypeInfo.ItemInfo
    attruint
    -

  • -
  • setHint (item, hint) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    itemKFileMimeTypeInfo.ItemInfo
    hintuint
    -

  • -
  • setPrefix (item, prefix) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    itemKFileMimeTypeInfo.ItemInfo
    prefixTQString
    -

  • -
  • setSuffix (item, suffix) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    itemKFileMimeTypeInfo.ItemInfo
    suffixTQString
    -

  • -
  • setUnit (item, unit) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    itemKFileMimeTypeInfo.ItemInfo
    unituint
    -

  • -
  • writeInfo (info) -
    -
    returns (bool)
    - -
    ArgumentTypeDefault
    infoKFileMetaInfo
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kio/KFileShare.html b/python/pykde/doc/classref/kio/KFileShare.html deleted file mode 100644 index 36ed1a2a..00000000 --- a/python/pykde/doc/classref/kio/KFileShare.html +++ /dev/null @@ -1,118 +0,0 @@ - - - - - class KFileShare - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KFileShare


-
- - - - - -
Table of contents
Modules
kio Classes
All Classes
-
- - - - - - - - - - -
Modulekio
ClassKFileShare
Inherits
-

enums

    -
  • Authorization = {NotInitialized, ErrorNotFound, Authorized, UserNotAllowed -}
  • ShareMode = {Simple, Advanced -}
-

methods

    -
  • authorization () -
    - - -
    returns (KFileShare.Authorization)
    In versions KDE 3.1.0 and above only
    static

  • -
  • fileShareGroup () -
    - - -
    returns (TQString)
    In versions KDE 3.3.0 and above only
    static

  • -
  • findExe (exeName) -
    - - -
    returns (TQString)
    In versions KDE 3.1.0 and above only
    static
    - -
    ArgumentTypeDefault
    exeNamechar
    -

  • -
  • isDirectoryShared (path) -
    - - -
    returns (bool)
    In versions KDE 3.1.0 and above only
    static
    - -
    ArgumentTypeDefault
    pathTQString
    -

  • -
  • isRestricted () -
    - - -
    returns (bool)
    In versions KDE 3.3.0 and above only
    static

  • -
  • nfsEnabled () -
    - - -
    returns (bool)
    In versions KDE 3.3.0 and above only
    static

  • -
  • readConfig () -
    - - -
    returns nothing
    In versions KDE 3.1.0 and above only
    static

  • -
  • readShareList () -
    - - -
    returns nothing
    In versions KDE 3.3.0 and above only
    static

  • -
  • sambaEnabled () -
    - - -
    returns (bool)
    In versions KDE 3.3.0 and above only
    static

  • -
  • setShared (path, shared) -
    - - -
    returns (bool)
    In versions KDE 3.1.0 and above only
    static
    - - -
    ArgumentTypeDefault
    pathTQString
    sharedbool
    -

  • -
  • setShared (a0, a1, a2) -
    Not Implemented
    -

  • -
  • shareMode () -
    - - -
    returns (KFileShare.ShareMode)
    In versions KDE 3.3.0 and above only
    static

  • -
  • sharingEnabled () -
    - - -
    returns (bool)
    In versions KDE 3.3.0 and above only
    static

  • -
- - - diff --git a/python/pykde/doc/classref/kio/KFileSharePrivate.html b/python/pykde/doc/classref/kio/KFileSharePrivate.html deleted file mode 100644 index 4096bdba..00000000 --- a/python/pykde/doc/classref/kio/KFileSharePrivate.html +++ /dev/null @@ -1,62 +0,0 @@ - - - - - class KFileSharePrivate - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KFileSharePrivate


-
- - - - - -
Table of contents
Modules
kio Classes
All Classes
-
- - - - - - - - - - -
Modulekio
ClassKFileSharePrivate
InheritsTQObject
-

methods

    -
  • KFileSharePrivate () -
    - -
    returns a KFileSharePrivate instance
    In versions KDE 3.1.0 and above only

  • -
  • self () -
    - - -
    returns (KFileSharePrivate)
    In versions KDE 3.1.0 and above only
    static

  • -
  • slotFileChange (a0) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    a0TQString
    -

  • -
-

variables

  • -variables - - -
    VariableType
    _selfKFileSharePrivate*
    m_watchFileKDirWatch*
- - - diff --git a/python/pykde/doc/classref/kio/KFilterBase.html b/python/pykde/doc/classref/kio/KFilterBase.html deleted file mode 100644 index 3a591a3e..00000000 --- a/python/pykde/doc/classref/kio/KFilterBase.html +++ /dev/null @@ -1,141 +0,0 @@ - - - - - class KFilterBase - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KFilterBase


-
- - - - - -
Table of contents
Modules
kio Classes
All Classes
-
- - - - - - - - - - -
Modulekio
ClassKFilterBase (abstract)
InheritsTQObject
-

enums

    -
  • Result = {OK, END, ERROR -}
-

methods

    -
  • KFilterBase () -
    -
    returns a KFilterBase instance

  • -
  • compress (finish) = 0 -
    - -
    returns (KFilterBase.Result)
    pure virtual
    - -
    ArgumentTypeDefault
    finishbool
    -

  • -
  • device () -
    -
    returns (TQIODevice)

  • -
  • findFilterByFileName (fileName) -
    - -
    returns (KFilterBase)
    static
    - -
    ArgumentTypeDefault
    fileNameTQString
    -

  • -
  • findFilterByMimeType (mimeType) -
    - -
    returns (KFilterBase)
    static
    - -
    ArgumentTypeDefault
    mimeTypeTQString
    -

  • -
  • inBufferAvailable () = 0 -
    - -
    returns (int)
    pure virtual

  • -
  • inBufferEmpty () -
    -
    returns (bool)

  • -
  • init (mode) = 0 -
    - -
    returns nothing
    pure virtual
    - -
    ArgumentTypeDefault
    modeint
    -

  • -
  • mode () = 0 -
    - -
    returns (int)
    pure virtual

  • -
  • outBufferAvailable () = 0 -
    - -
    returns (int)
    pure virtual

  • -
  • outBufferFull () -
    -
    returns (bool)

  • -
  • readHeader () = 0 -
    - -
    returns (bool)
    pure virtual

  • -
  • reset () -
    -
    returns nothing

  • -
  • setDevice (dev, autodelete = 0) -
    - -
    returns nothing
    In versions KDE 3.1.2 and above only
    - - -
    ArgumentTypeDefault
    devTQIODevice
    autodeletebool0
    -

  • -
  • setInBuffer (data, size) = 0 -
    - -
    returns nothing
    pure virtual
    - - -
    ArgumentTypeDefault
    datachar
    sizeuint
    -

  • -
  • setOutBuffer (data, maxlen) = 0 -
    - -
    returns nothing
    pure virtual
    - - -
    ArgumentTypeDefault
    datachar
    maxlenuint
    -

  • -
  • terminate () -
    -
    returns nothing

  • -
  • uncompress () = 0 -
    - -
    returns (Result)
    pure virtual

  • -
  • writeHeader (filename) = 0 -
    - -
    returns (bool)
    pure virtual
    - -
    ArgumentTypeDefault
    filenameTQCString
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kio/KFilterDev.html b/python/pykde/doc/classref/kio/KFilterDev.html deleted file mode 100644 index a4abab0f..00000000 --- a/python/pykde/doc/classref/kio/KFilterDev.html +++ /dev/null @@ -1,149 +0,0 @@ - - - - - class KFilterDev - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KFilterDev


-
- - - - - -
Table of contents
Modules
kio Classes
All Classes
-
- - - - - - - - - - -
Modulekio
ClassKFilterDev
InheritsTQIODevice
-

methods

    -
  • KFilterDev (filter, autoDeleteFilterBase) -
    -
    returns a KFilterDev instance
    - - -
    ArgumentTypeDefault
    filterKFilterBase
    autoDeleteFilterBasebool
    -

  • -
  • at () -
    -
    returns (TQIODevice.Offset)

  • -
  • at (a0) -
    -
    returns (bool)
    - -
    ArgumentTypeDefault
    a0TQIODevice.Offset
    -

  • -
  • atEnd () -
    -
    returns (bool)

  • -
  • close () -
    -
    returns nothing

  • -
  • createFilterDevice (base, file) -
    - -
    returns (TQIODevice)
    static
    - - -
    ArgumentTypeDefault
    baseKFilterBase
    fileTQFile
    -

  • -
  • device (inDevice, mimetype) -
    - -
    returns (TQIODevice)
    static
    - - -
    ArgumentTypeDefault
    inDeviceTQIODevice
    mimetypeTQString
    -

  • -
  • device (inDevice, mimetype, autoDeleteInDevice) -
    - - -
    returns (TQIODevice)
    In versions KDE 3.1.0 and above only
    static
    - - - -
    ArgumentTypeDefault
    inDeviceTQIODevice
    mimetypeTQString
    autoDeleteInDevicebool
    -

  • -
  • deviceForFile (fileName, mimetype = TQString .null, forceFilter = 0) -
    - -
    returns (TQIODevice)
    static
    - - - -
    ArgumentTypeDefault
    fileNameTQString
    mimetypeTQStringTQString .null
    forceFilterbool0
    -

  • -
  • flush () -
    -
    returns nothing

  • -
  • getch () -
    -
    returns (int)

  • -
  • open (mode) -
    -
    returns (bool)
    - -
    ArgumentTypeDefault
    modeint
    -

  • -
  • putch (a0) -
    -
    returns (int)
    - -
    ArgumentTypeDefault
    a0int
    -

  • -
  • readBlock (data, maxlen) -
    Not Implemented
    -

  • -
  • setOrigFileName (fileName) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    fileNameTQCString
    -

  • -
  • setSkipHeaders () -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only

  • -
  • size () -
    -
    returns (TQIODevice.Offset)

  • -
  • ungetch (a0) -
    -
    returns (int)
    - -
    ArgumentTypeDefault
    a0int
    -

  • -
  • writeBlock (data, len) -
    Not Implemented
    -

  • -
  • writeBlock (a0, a1) -
    - -
    returns (long)
    In versions less than KDE 3.2.2 only
    - - -
    ArgumentTypeDefault
    a0char
    a1ulong
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kio/KFolderType.html b/python/pykde/doc/classref/kio/KFolderType.html deleted file mode 100644 index 2d1ad244..00000000 --- a/python/pykde/doc/classref/kio/KFolderType.html +++ /dev/null @@ -1,82 +0,0 @@ - - - - - class KFolderType - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KFolderType


-
- - - - - -
Table of contents
Modules
kio Classes
All Classes
-
- - - - - - - - - - -
Modulekio
ClassKFolderType
InheritsKMimeType
-

methods

    -
  • KFolderType (config) -
    -
    returns a KFolderType instance
    - -
    ArgumentTypeDefault
    configKDesktopFile
    -

  • -
  • KFolderType (_str, offset) -
    -
    returns a KFolderType instance
    - - -
    ArgumentTypeDefault
    _strTQDataStream
    offsetint
    -

  • -
  • comment (_url, _is_local) -
    -
    returns (TQString)
    - - -
    ArgumentTypeDefault
    _urlTQString
    _is_localbool
    -

  • -
  • comment (_url, _is_local) -
    -
    returns (TQString)
    - - -
    ArgumentTypeDefault
    _urlKURL
    _is_localbool
    -

  • -
  • icon (_url, _is_local) -
    -
    returns (TQString)
    - - -
    ArgumentTypeDefault
    _urlTQString
    _is_localbool
    -

  • -
  • icon (_url, _is_local) -
    -
    returns (TQString)
    - - -
    ArgumentTypeDefault
    _urlKURL
    _is_localbool
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kio/KIO.AuthInfo.html b/python/pykde/doc/classref/kio/KIO.AuthInfo.html deleted file mode 100644 index 2a4c0662..00000000 --- a/python/pykde/doc/classref/kio/KIO.AuthInfo.html +++ /dev/null @@ -1,74 +0,0 @@ - - - - - class KIO.AuthInfo - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KIO.AuthInfo


-
- - - - - -
Table of contents
Modules
kio Classes
All Classes
-
- - - - - - - - - - -
Modulekio
ClassKIO.AuthInfo
Inherits
-

methods

    -
  • AuthInfo () -
    -
    returns a AuthInfo instance

  • -
  • AuthInfo (info) -
    -
    returns a AuthInfo instance
    - -
    ArgumentTypeDefault
    infoKIO.AuthInfo
    -

  • -
  • isModified () -
    -
    returns (bool)

  • -
  • setModified (flag) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    flagbool
    -

  • -
-

variables

  • -variables - - - - - - - - - - - - -
    VariableType
    captionTQString
    commentTQString
    commentLabelTQString
    digestInfoTQString
    keepPasswordbool
    passwordTQString
    promptTQString
    readOnlybool
    realmValueTQString
    urlKURL
    usernameTQString
    verifyPathbool
- - - diff --git a/python/pykde/doc/classref/kio/KIO.ChmodJob.html b/python/pykde/doc/classref/kio/KIO.ChmodJob.html deleted file mode 100644 index bfb8c067..00000000 --- a/python/pykde/doc/classref/kio/KIO.ChmodJob.html +++ /dev/null @@ -1,72 +0,0 @@ - - - - - class KIO.ChmodJob - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KIO.ChmodJob


-
- - - - - -
Table of contents
Modules
kio Classes
All Classes
-
- - - - - - - - - - -
Modulekio
ClassKIO.ChmodJob
InheritsKIO.Job
-

methods

    -
  • ChmodJob (lstItems, permissions, mask, newOwner, newGroup, recursive, showProgressInfo) -
    -
    returns a ChmodJob instance
    - - - - - - - -
    ArgumentTypeDefault
    lstItemsKFileItemList
    permissionsint
    maskint
    newOwnerint
    newGroupint
    recursivebool
    showProgressInfobool
    -

  • -
  • chmodNextFile () -
    -
    returns nothing

  • -
  • processList () -
    -
    returns nothing

  • -
  • slotEntries (a0, a1) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    a0KIO.Job
    a1KIO.UDSEntryList
    -

  • -
  • slotResult (job) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    jobKIO.Job
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kio/KIO.Connection.html b/python/pykde/doc/classref/kio/KIO.Connection.html deleted file mode 100644 index 11488dcd..00000000 --- a/python/pykde/doc/classref/kio/KIO.Connection.html +++ /dev/null @@ -1,105 +0,0 @@ - - - - - class KIO.Connection - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KIO.Connection


-
- - - - - -
Table of contents
Modules
kio Classes
All Classes
-
- - - - - - - - - - -
Modulekio
ClassKIO.Connection
InheritsTQObject
-

methods

    -
  • Connection () -
    -
    returns a Connection instance

  • -
  • close () -
    -
    returns nothing

  • -
  • connect (receiver = 0, member = 0) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    receiverTQObject0
    memberchar0
    -

  • -
  • dequeue () -
    -
    returns nothing

  • -
  • fd_from () -
    -
    returns (int)

  • -
  • fd_to () -
    -
    returns (int)

  • -
  • init (sock) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    sockKSocket
    -

  • -
  • init (fd_in, fd_out) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    fd_inint
    fd_outint
    -

  • -
  • inited () -
    -
    returns (bool)

  • -
  • read (data) -
    Not Implemented
    -

  • -
  • resume () -
    -
    returns nothing

  • -
  • send (cmd, arr = TQByteArray ()) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    cmdint
    arrTQByteArrayTQByteArray ()
    -

  • -
  • sendnow (_cmd, data) -
    -
    returns (bool)
    - - -
    ArgumentTypeDefault
    _cmdint
    dataTQByteArray
    -

  • -
  • suspend () -
    -
    returns nothing

  • -
  • suspended () -
    -
    returns (bool)

  • -
- - - diff --git a/python/pykde/doc/classref/kio/KIO.CopyInfo.html b/python/pykde/doc/classref/kio/KIO.CopyInfo.html deleted file mode 100644 index 986cbe54..00000000 --- a/python/pykde/doc/classref/kio/KIO.CopyInfo.html +++ /dev/null @@ -1,49 +0,0 @@ - - - - - class KIO.CopyInfo - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KIO.CopyInfo


-
- - - - - -
Table of contents
Modules
kio Classes
All Classes
-
- - - - - - - - - - -
Modulekio
ClassKIO.CopyInfo
Inherits
-

variables

  • -variables - - - - - - - -
    VariableType
    ctimetime_t
    linkDestTQString
    mtimetime_t
    permissionsmode_t
    sizeoff_t
    uDestKURL
    uSourceKURL
- - - diff --git a/python/pykde/doc/classref/kio/KIO.CopyJob.html b/python/pykde/doc/classref/kio/KIO.CopyJob.html deleted file mode 100644 index f2835156..00000000 --- a/python/pykde/doc/classref/kio/KIO.CopyJob.html +++ /dev/null @@ -1,276 +0,0 @@ - - - - - class KIO.CopyJob - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KIO.CopyJob


-
- - - - - -
Table of contents
Modules
kio Classes
All Classes
-
- - - - - - - - - - -
Modulekio
ClassKIO.CopyJob
InheritsKIO.Job
-

enums

    -
  • CopyMode = {Copy, Move, Link -}
-

methods

    -
  • CopyJob (src, dest, mode, asMethod, showProgressInfo) -
    -
    returns a CopyJob instance
    - - - - - -
    ArgumentTypeDefault
    srcKURL.List
    destKURL
    modeKIO.CopyJob.CopyMode
    asMethodbool
    showProgressInfobool
    -

  • -
  • aboutToCreate (job, files) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - - -
    ArgumentTypeDefault
    jobKIO.Job
    filesTQValueList
    -

  • -
  • copyNextFile () -
    -
    returns nothing

  • -
  • copying (job, from, to) -
    -
    returns nothing
    - - - -
    ArgumentTypeDefault
    jobKIO.Job
    fromKURL
    toKURL
    -

  • -
  • copyingDone (job, from, to, directory, renamed) -
    -
    returns nothing
    - - - - - -
    ArgumentTypeDefault
    jobKIO.Job
    fromKURL
    toKURL
    directorybool
    renamedbool
    -

  • -
  • copyingLinkDone (job, from, target, to) -
    -
    returns nothing
    - - - - -
    ArgumentTypeDefault
    jobKIO.Job
    fromKURL
    targetTQString
    toKURL
    -

  • -
  • createNextDir () -
    -
    returns nothing

  • -
  • creatingDir (job, dir) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    jobKIO.Job
    dirKURL
    -

  • -
  • deleteNextDir () -
    -
    returns nothing

  • -
  • destURL () -
    -
    returns (KURL)

  • -
  • linking (job, target, to) -
    -
    returns nothing
    - - - -
    ArgumentTypeDefault
    jobKIO.Job
    targetTQString
    toKURL
    -

  • -
  • moving (job, from, to) -
    -
    returns nothing
    - - - -
    ArgumentTypeDefault
    jobKIO.Job
    fromKURL
    toKURL
    -

  • -
  • processedDirs (job, dirs) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    jobKIO.Job
    dirsulong
    -

  • -
  • processedFiles (job, files) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    jobKIO.Job
    filesulong
    -

  • -
  • renamed (job, from, to) -
    -
    returns nothing
    - - - -
    ArgumentTypeDefault
    jobKIO.Job
    fromKURL
    toKURL
    -

  • -
  • setDefaultPermissions (b) -
    - -
    returns nothing
    In versions KDE 3.2.3 and above only
    - -
    ArgumentTypeDefault
    bbool
    -

  • -
  • setInteractive (b) -
    - -
    returns nothing
    In versions KDE 3.4.0 and above only
    - -
    ArgumentTypeDefault
    bbool
    -

  • -
  • setNextDirAttribute () -
    - -
    returns nothing
    In versions KDE 3.5.2 and above only

  • -
  • skip (sourceURL) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    sourceURLKURL
    -

  • -
  • slotEntries (a0, list) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    a0KIO.Job
    listKIO.UDSEntryList
    -

  • -
  • slotProcessedSize (a0, data_size) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    a0KIO.Job
    data_sizeKIO.filesize_t
    -

  • -
  • slotReport () -
    -
    returns nothing

  • -
  • slotResult (job) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    jobKIO.Job
    -

  • -
  • slotResultConflictCopyingFiles (job) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    jobKIO.Job
    -

  • -
  • slotResultConflictCreatingDirs (job) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    jobKIO.Job
    -

  • -
  • slotResultCopyingFiles (job) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    jobKIO.Job
    -

  • -
  • slotResultCreatingDirs (job) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    jobKIO.Job
    -

  • -
  • slotResultDeletingDirs (job) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    jobKIO.Job
    -

  • -
  • slotResultRenaming (job) -
    - -
    returns nothing
    In versions KDE 3.3.2 and above only
    - -
    ArgumentTypeDefault
    jobKIO.Job
    -

  • -
  • slotResultStating (job) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    jobKIO.Job
    -

  • -
  • slotStart () -
    -
    returns nothing

  • -
  • slotTotalSize (a0, size) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    a0KIO.Job
    sizeKIO.filesize_t
    -

  • -
  • srcURLs () -
    -
    returns (KURL.List)

  • -
  • startListing (src) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    srcKURL
    -

  • -
  • statCurrentSrc () -
    - -
    returns nothing
    In versions KDE 3.2.3 and above only

  • -
  • statNextSrc () -
    -
    returns nothing

  • -
  • totalDirs (job, dirs) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    jobKIO.Job
    dirsulong
    -

  • -
  • totalFiles (job, files) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    jobKIO.Job
    filesulong
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kio/KIO.DavJob.html b/python/pykde/doc/classref/kio/KIO.DavJob.html deleted file mode 100644 index 5a6ce6dc..00000000 --- a/python/pykde/doc/classref/kio/KIO.DavJob.html +++ /dev/null @@ -1,66 +0,0 @@ - - - - - class KIO.DavJob - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KIO.DavJob


-
- - - - - -
Table of contents
Modules
kio Classes
All Classes
-
- - - - - - - - - - -
Modulekio
ClassKIO.DavJob
InheritsKIO.TransferJob
-

methods

    -
  • DavJob (url, method, request, showProgressInfo) -
    - -
    returns a DavJob instance
    In versions KDE 3.1.0 and above only
    - - - - -
    ArgumentTypeDefault
    urlKURL
    methodint
    requestTQString
    showProgressInfobool
    -

  • -
  • response () -
    - -
    returns (TQDomDocument)
    In versions KDE 3.1.0 and above only

  • -
  • slotData (data) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    dataTQByteArray
    -

  • -
  • slotFinished () -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only

  • -
- - - diff --git a/python/pykde/doc/classref/kio/KIO.DefaultProgress.html b/python/pykde/doc/classref/kio/KIO.DefaultProgress.html deleted file mode 100644 index 8904388a..00000000 --- a/python/pykde/doc/classref/kio/KIO.DefaultProgress.html +++ /dev/null @@ -1,223 +0,0 @@ - - - - - class KIO.DefaultProgress - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KIO.DefaultProgress


-
- - - - - -
Table of contents
Modules
kio Classes
All Classes
-
- - - - - - - - - - -
Modulekio
ClassKIO.DefaultProgress
InheritsKIO.ProgressBase
-

methods

    -
  • DefaultProgress (showNow = 1) -
    -
    returns a DefaultProgress instance
    - -
    ArgumentTypeDefault
    showNowbool1
    -

  • -
  • DefaultProgress (parent, name = 0) -
    - -
    returns a DefaultProgress instance
    In versions KDE 3.1.0 and above only
    - - -
    ArgumentTypeDefault
    parentTQWidget
    namechar0
    -

  • -
  • checkDestination (dest) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    destKURL
    -

  • -
  • init () -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only

  • -
  • keepOpen () -
    - -
    returns (bool)
    In versions KDE 3.2.1 and above only

  • -
  • makePercentString (percent, totalSize, totalFiles) -
    - - -
    returns (TQString)
    In versions KDE 3.4.0 and above only
    static
    - - - -
    ArgumentTypeDefault
    percentulong
    totalSizeKIO.filesize_t
    totalFilesulong
    -

  • -
  • setDestVisible (visible) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    visiblebool
    -

  • -
  • showTotals () -
    -
    returns nothing

  • -
  • slotCanResume (a0, a1) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    a0KIO.Job
    a1KIO.filesize_t
    -

  • -
  • slotClean () -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only

  • -
  • slotCopying (a0, src, dest) -
    -
    returns nothing
    - - - -
    ArgumentTypeDefault
    a0KIO.Job
    srcKURL
    destKURL
    -

  • -
  • slotCreatingDir (a0, dir) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    a0KIO.Job
    dirKURL
    -

  • -
  • slotDeleting (a0, url) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    a0KIO.Job
    urlKURL
    -

  • -
  • slotInfoMessage (job, msg) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    jobKIO.Job
    msgTQString
    -

  • -
  • slotMounting (a0, dev, point) -
    -
    returns nothing
    - - - -
    ArgumentTypeDefault
    a0KIO.Job
    devTQString
    pointTQString
    -

  • -
  • slotMoving (a0, src, dest) -
    -
    returns nothing
    - - - -
    ArgumentTypeDefault
    a0KIO.Job
    srcKURL
    destKURL
    -

  • -
  • slotPercent (a0, percent) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    a0KIO.Job
    percentulong
    -

  • -
  • slotProcessedDirs (a0, dirs) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    a0KIO.Job
    dirsulong
    -

  • -
  • slotProcessedFiles (a0, files) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    a0KIO.Job
    filesulong
    -

  • -
  • slotProcessedSize (a0, bytes) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    a0KIO.Job
    bytesKIO.filesize_t
    -

  • -
  • slotSpeed (a0, speed) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    a0KIO.Job
    speedulong
    -

  • -
  • slotStating (a0, dir) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    a0KIO.Job
    dirKURL
    -

  • -
  • slotTotalDirs (a0, dirs) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    a0KIO.Job
    dirsulong
    -

  • -
  • slotTotalFiles (a0, files) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    a0KIO.Job
    filesulong
    -

  • -
  • slotTotalSize (a0, size) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    a0KIO.Job
    sizeKIO.filesize_t
    -

  • -
  • slotTransferring (a0, url) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - - -
    ArgumentTypeDefault
    a0KIO.Job
    urlKURL
    -

  • -
  • slotUnmounting (a0, point) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    a0KIO.Job
    pointTQString
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kio/KIO.DeleteJob.html b/python/pykde/doc/classref/kio/KIO.DeleteJob.html deleted file mode 100644 index 6682f91c..00000000 --- a/python/pykde/doc/classref/kio/KIO.DeleteJob.html +++ /dev/null @@ -1,125 +0,0 @@ - - - - - class KIO.DeleteJob - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KIO.DeleteJob


-
- - - - - -
Table of contents
Modules
kio Classes
All Classes
-
- - - - - - - - - - -
Modulekio
ClassKIO.DeleteJob
InheritsKIO.Job
-

methods

    -
  • DeleteJob (src, shred, showProgressInfo) -
    -
    returns a DeleteJob instance
    - - - -
    ArgumentTypeDefault
    srcKURL.List
    shredbool
    showProgressInfobool
    -

  • -
  • deleteNextDir () -
    - -
    returns nothing
    In versions less than KDE 3.1.0 only

  • -
  • deleteNextFile () -
    - -
    returns nothing
    In versions less than KDE 3.1.0 only

  • -
  • deleting (job, file) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    jobKIO.Job
    fileKURL
    -

  • -
  • processedDirs (job, dirs) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    jobKIO.Job
    dirsulong
    -

  • -
  • processedFiles (job, files) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    jobKIO.Job
    filesulong
    -

  • -
  • slotEntries (a0, list) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    a0KIO.Job
    listKIO.UDSEntryList
    -

  • -
  • slotProcessedSize (a0, data_size) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    a0KIO.Job
    data_sizeKIO.filesize_t
    -

  • -
  • slotReport () -
    -
    returns nothing

  • -
  • slotResult (job) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    jobKIO.Job
    -

  • -
  • slotStart () -
    -
    returns nothing

  • -
  • startNextJob () -
    - -
    returns nothing
    In versions less than KDE 3.1.0 only

  • -
  • totalDirs (job, dirs) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    jobKIO.Job
    dirsulong
    -

  • -
  • totalFiles (job, files) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    jobKIO.Job
    filesulong
    -

  • -
  • urls () -
    -
    returns (KURL.List)

  • -
- - - diff --git a/python/pykde/doc/classref/kio/KIO.DirectCopyJob.html b/python/pykde/doc/classref/kio/KIO.DirectCopyJob.html deleted file mode 100644 index b102081c..00000000 --- a/python/pykde/doc/classref/kio/KIO.DirectCopyJob.html +++ /dev/null @@ -1,66 +0,0 @@ - - - - - class KIO.DirectCopyJob - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KIO.DirectCopyJob


-
- - - - - -
Table of contents
Modules
kio Classes
All Classes
-
- - - - - - - - - - -
Modulekio
ClassKIO.DirectCopyJob
InheritsKIO.SimpleJob
-

methods

    -
  • DirectCopyJob (url, command, packedArgs, showProgressInfo) -
    - -
    returns a DirectCopyJob instance
    In versions KDE 3.3.0 and above only
    - - - - -
    ArgumentTypeDefault
    urlKURL
    commandint
    packedArgsTQByteArray
    showProgressInfobool
    -

  • -
  • canResume (job, offset) -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only
    - - -
    ArgumentTypeDefault
    jobKIO.Job
    offsetKIO.filesize_t
    -

  • -
  • start (slave) -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only
    - -
    ArgumentTypeDefault
    slaveKIO.Slave
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kio/KIO.FileCopyJob.html b/python/pykde/doc/classref/kio/KIO.FileCopyJob.html deleted file mode 100644 index 3b7614b3..00000000 --- a/python/pykde/doc/classref/kio/KIO.FileCopyJob.html +++ /dev/null @@ -1,152 +0,0 @@ - - - - - class KIO.FileCopyJob - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KIO.FileCopyJob


-
- - - - - -
Table of contents
Modules
kio Classes
All Classes
-
- - - - - - - - - - -
Modulekio
ClassKIO.FileCopyJob
InheritsKIO.Job
-

methods

    -
  • FileCopyJob (src, dest, permissions, move, overwrite, resume, showProgressInfo) -
    -
    returns a FileCopyJob instance
    - - - - - - - -
    ArgumentTypeDefault
    srcKURL
    destKURL
    permissionsint
    movebool
    overwritebool
    resumebool
    showProgressInfobool
    -

  • -
  • connectSubjob (job) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    jobKIO.SimpleJob
    -

  • -
  • destURL () -
    -
    returns (KURL)

  • -
  • setModificationTime (mtime) -
    - -
    returns nothing
    In versions KDE 3.5.2 and above only
    - -
    ArgumentTypeDefault
    mtimetime_t
    -

  • -
  • setSourceSize (size) -
    Not Implemented
    -

  • -
  • setSourceSize64 (size) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    sizeKIO.filesize_t
    -

  • -
  • slotCanResume (job, offset) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    jobKIO.Job
    offsetKIO.filesize_t
    -

  • -
  • slotData (a0, data) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    a0KIO.Job
    dataTQByteArray
    -

  • -
  • slotDataReq (a0, data) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    a0KIO.Job
    dataTQByteArray
    -

  • -
  • slotPercent (job, pct) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    jobKIO.Job
    pctulong
    -

  • -
  • slotProcessedSize (job, size) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    jobKIO.Job
    sizeKIO.filesize_t
    -

  • -
  • slotResult (job) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    jobKIO.Job
    -

  • -
  • slotStart () -
    -
    returns nothing

  • -
  • slotTotalSize (job, size) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    jobKIO.Job
    sizeKIO.filesize_t
    -

  • -
  • srcURL () -
    -
    returns (KURL)

  • -
  • startCopyJob () -
    -
    returns nothing

  • -
  • startCopyJob (slave_url) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    slave_urlKURL
    -

  • -
  • startDataPump () -
    -
    returns nothing

  • -
  • startRenameJob (slave_url) -
    - -
    returns nothing
    In versions KDE 3.4.0 and above only
    - -
    ArgumentTypeDefault
    slave_urlKURL
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kio/KIO.ForwardingSlaveBase.html b/python/pykde/doc/classref/kio/KIO.ForwardingSlaveBase.html deleted file mode 100644 index f142eadd..00000000 --- a/python/pykde/doc/classref/kio/KIO.ForwardingSlaveBase.html +++ /dev/null @@ -1,166 +0,0 @@ - - - - - class KIO.ForwardingSlaveBase - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KIO.ForwardingSlaveBase


-
- - - - - -
Table of contents
Modules
kio Classes
All Classes
-
- - - - - - - - - - -
Modulekio
ClassKIO.ForwardingSlaveBase (abstract)
InheritsTQObject, KIO.SlaveBase
-

methods

    -
  • ForwardingSlaveBase (protocol, poolSocket, appSocket) -
    - -
    returns a ForwardingSlaveBase instance
    In versions KDE 3.4.0 and above only
    - - - -
    ArgumentTypeDefault
    protocolTQCString
    poolSocketTQCString
    appSocketTQCString
    -

  • -
  • chmod (url, permissions) -
    - -
    returns nothing
    In versions KDE 3.4.0 and above only
    - - -
    ArgumentTypeDefault
    urlKURL
    permissionsint
    -

  • -
  • copy (src, dest, permissions, overwrite) -
    - -
    returns nothing
    In versions KDE 3.4.0 and above only
    - - - - -
    ArgumentTypeDefault
    srcKURL
    destKURL
    permissionsint
    overwritebool
    -

  • -
  • del_ (url, isfile) -
    - - -
    returns nothing
    Renamed: was ' del' in C++
    In versions KDE 3.4.0 and above only
    - - -
    ArgumentTypeDefault
    urlKURL
    isfilebool
    -

  • -
  • get (url) -
    - -
    returns nothing
    In versions KDE 3.4.0 and above only
    - -
    ArgumentTypeDefault
    urlKURL
    -

  • -
  • listDir (url) -
    - -
    returns nothing
    In versions KDE 3.4.0 and above only
    - -
    ArgumentTypeDefault
    urlKURL
    -

  • -
  • mimetype (url) -
    - -
    returns nothing
    In versions KDE 3.4.0 and above only
    - -
    ArgumentTypeDefault
    urlKURL
    -

  • -
  • mkdir (url, permissions) -
    - -
    returns nothing
    In versions KDE 3.4.0 and above only
    - - -
    ArgumentTypeDefault
    urlKURL
    permissionsint
    -

  • -
  • prepareUDSEntry (entry, listing = 0) -
    - -
    returns nothing
    In versions KDE 3.4.0 and above only
    - - -
    ArgumentTypeDefault
    entryKIO.UDSEntry
    listingbool0
    -

  • -
  • processedURL () -
    - -
    returns (KURL)
    In versions KDE 3.4.0 and above only

  • -
  • put (url, permissions, overwrite, resume) -
    - -
    returns nothing
    In versions KDE 3.4.0 and above only
    - - - - -
    ArgumentTypeDefault
    urlKURL
    permissionsint
    overwritebool
    resumebool
    -

  • -
  • rename (src, dest, overwrite) -
    - -
    returns nothing
    In versions KDE 3.4.0 and above only
    - - - -
    ArgumentTypeDefault
    srcKURL
    destKURL
    overwritebool
    -

  • -
  • requestedURL () -
    - -
    returns (KURL)
    In versions KDE 3.4.0 and above only

  • -
  • rewriteURL (url, newURL) = 0 -
    - - -
    returns (bool)
    In versions KDE 3.4.0 and above only
    pure virtual
    - - -
    ArgumentTypeDefault
    urlKURL
    newURLKURL
    -

  • -
  • stat (url) -
    - -
    returns nothing
    In versions KDE 3.4.0 and above only
    - -
    ArgumentTypeDefault
    urlKURL
    -

  • -
  • symlink (target, dest, overwrite) -
    - -
    returns nothing
    In versions KDE 3.4.0 and above only
    - - - -
    ArgumentTypeDefault
    targetTQString
    destKURL
    overwritebool
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kio/KIO.Job.html b/python/pykde/doc/classref/kio/KIO.Job.html deleted file mode 100644 index c67dbfde..00000000 --- a/python/pykde/doc/classref/kio/KIO.Job.html +++ /dev/null @@ -1,307 +0,0 @@ - - - - - class KIO.Job - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KIO.Job


-
- - - - - -
Table of contents
Modules
kio Classes
All Classes
-
- - - - - - - - - - -
Modulekio
ClassKIO.Job
InheritsTQObject
-

methods

    -
  • Job (showProgressInfo) -
    -
    returns a Job instance
    - -
    ArgumentTypeDefault
    showProgressInfobool
    -

  • -
  • addMetaData (key, value) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    keyTQString
    valueTQString
    -

  • -
  • addMetaData (values) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    valuesTQMap
    -

  • -
  • addSubjob (job, inheritMetaData = 1) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    jobKIO.Job
    inheritMetaDatabool1
    -

  • -
  • canceled (job) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    jobKIO.Job
    -

  • -
  • connected (job) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    jobKIO.Job
    -

  • -
  • detailedErrorStrings (reqUrl = 0, method = -1) -
    -
    returns (TQStringList)
    - - -
    ArgumentTypeDefault
    reqUrlKURL0
    methodint-1
    -

  • -
  • emitPercent (processedSize, totalSize) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    processedSizeKIO.filesize_t
    totalSizeKIO.filesize_t
    -

  • -
  • emitResult () -
    -
    returns nothing

  • -
  • emitSpeed (speed) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    speedulong
    -

  • -
  • error () -
    -
    returns (int)

  • -
  • errorString () -
    -
    returns (TQString)

  • -
  • errorText () -
    -
    returns (TQString)

  • -
  • extraFlags () -
    Not Implemented
    -

  • -
  • extraFlags () -
    - -
    returns (int),
    In versions KDE 3.2.0 and above, but less than KDE 3.2.2

  • -
  • getProcessedSize () -
    - -
    returns (KIO.filesize_t)
    In versions KDE 3.2.0 and above only

  • -
  • infoMessage (job, msg) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    jobKIO.Job
    msgTQString
    -

  • -
  • isAutoErrorHandlingEnabled () -
    -
    returns (bool)

  • -
  • isAutoWarningHandlingEnabled () -
    - -
    returns (bool)
    In versions KDE 3.5.0 and above only

  • -
  • isInteractive () -
    - -
    returns (bool)
    In versions KDE 3.4.3 and above only

  • -
  • kill (quietly = 1) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    quietlybool1
    -

  • -
  • mergeMetaData (values) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    valuesTQMap
    -

  • -
  • metaData () -
    -
    returns (KIO.MetaData)

  • -
  • outgoingMetaData () -
    -
    returns (KIO.MetaData)

  • -
  • parentJob () -
    - -
    returns (KIO.Job)
    In versions KDE 3.1.0 and above only

  • -
  • percent (job, percent) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    jobKIO.Job
    percentulong
    -

  • -
  • processedSize (job, size) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    jobKIO.Job
    sizeKIO.filesize_t
    -

  • -
  • progressId () -
    -
    returns (int)

  • -
  • queryMetaData (key) -
    -
    returns (TQString)
    - -
    ArgumentTypeDefault
    keyTQString
    -

  • -
  • removeSubjob (job) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    jobKIO.Job
    -

  • -
  • removeSubjob (job, mergeMetaData, emitResultIfLast) -
    - -
    returns nothing
    In versions KDE 3.4.0 and above only
    - - - -
    ArgumentTypeDefault
    jobKIO.Job
    mergeMetaDatabool
    emitResultIfLastbool
    -

  • -
  • result (job) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    jobKIO.Job
    -

  • -
  • setAutoErrorHandlingEnabled (enable, parentWidget = 0) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    enablebool
    parentWidgetTQWidget0
    -

  • -
  • setAutoWarningHandlingEnabled (enable) -
    - -
    returns nothing
    In versions KDE 3.5.0 and above only
    - -
    ArgumentTypeDefault
    enablebool
    -

  • -
  • setInteractive (enable) -
    - -
    returns nothing
    In versions KDE 3.4.3 and above only
    - -
    ArgumentTypeDefault
    enablebool
    -

  • -
  • setMetaData (metaData) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    metaDataKIO.MetaData
    -

  • -
  • setParentJob (parentJob) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    parentJobKIO.Job
    -

  • -
  • setProcessedSize (size) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    sizeKIO.filesize_t
    -

  • -
  • setWindow (window) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    windowTQWidget
    -

  • -
  • showErrorDialog (parent = 0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    parentTQWidget0
    -

  • -
  • slotInfoMessage (job, msg) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    jobKIO.Job
    msgTQString
    -

  • -
  • slotResult (job) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    jobKIO.Job
    -

  • -
  • slotSpeed (job, speed) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    jobKIO.Job
    speedulong
    -

  • -
  • slotSpeedTimeout () -
    -
    returns nothing

  • -
  • speed (job, speed) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    jobKIO.Job
    speedulong
    -

  • -
  • totalSize (job, size) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    jobKIO.Job
    sizeKIO.filesize_t
    -

  • -
  • warning (job, msg) -
    - -
    returns nothing
    In versions KDE 3.5.0 and above only
    - - -
    ArgumentTypeDefault
    jobKIO.Job
    msgTQString
    -

  • -
  • window () -
    -
    returns (TQWidget)

  • -
- - - diff --git a/python/pykde/doc/classref/kio/KIO.ListJob.html b/python/pykde/doc/classref/kio/KIO.ListJob.html deleted file mode 100644 index 34e43475..00000000 --- a/python/pykde/doc/classref/kio/KIO.ListJob.html +++ /dev/null @@ -1,126 +0,0 @@ - - - - - class KIO.ListJob - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KIO.ListJob


-
- - - - - -
Table of contents
Modules
kio Classes
All Classes
-
- - - - - - - - - - -
Modulekio
ClassKIO.ListJob
InheritsKIO.SimpleJob
-

methods

    -
  • ListJob (url, showProgressInfo, recursive = 0, prefix = TQString .null, includeHidden = 1) -
    -
    returns a ListJob instance
    - - - - - -
    ArgumentTypeDefault
    urlKURL
    showProgressInfobool
    recursivebool0
    prefixTQStringTQString .null
    includeHiddenbool1
    -

  • -
  • entries (job, list) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    jobKIO.Job
    listKIO.UDSEntryList
    -

  • -
  • gotEntries (subjob, list) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    subjobKIO.Job
    listKIO.UDSEntryList
    -

  • -
  • permanentRedirection (job, fromUrl, toUrl) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - - - -
    ArgumentTypeDefault
    jobKIO.Job
    fromUrlKURL
    toUrlKURL
    -

  • -
  • redirection (job, url) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    jobKIO.Job
    urlKURL
    -

  • -
  • redirectionURL () -
    - -
    returns (KURL)
    In versions KDE 3.4.3 and above only

  • -
  • setUnrestricted (unrestricted) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    unrestrictedbool
    -

  • -
  • slotFinished () -
    -
    returns nothing

  • -
  • slotListEntries (list) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    listKIO.UDSEntryList
    -

  • -
  • slotMetaData (_metaData) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    _metaDataKIO.MetaData
    -

  • -
  • slotRedirection (url) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    urlKURL
    -

  • -
  • slotResult (job) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    jobKIO.Job
    -

  • -
  • start (slave) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    slaveKIO.Slave
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kio/KIO.MetaInfoJob.html b/python/pykde/doc/classref/kio/KIO.MetaInfoJob.html deleted file mode 100644 index 23610358..00000000 --- a/python/pykde/doc/classref/kio/KIO.MetaInfoJob.html +++ /dev/null @@ -1,91 +0,0 @@ - - - - - class KIO.MetaInfoJob - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KIO.MetaInfoJob


-
- - - - - -
Table of contents
Modules
kio Classes
All Classes
-
- - - - - - - - - - -
Modulekio
ClassKIO.MetaInfoJob
InheritsKIO.Job
-

methods

    -
  • MetaInfoJob (items, deleteItems = 0) -
    - -
    returns a MetaInfoJob instance
    In versions KDE 3.1.0 and above only
    - - -
    ArgumentTypeDefault
    itemsKFileItemList
    deleteItemsbool0
    -

  • -
  • availablePlugins () -
    - - -
    returns (TQStringList)
    In versions KDE 3.1.0 and above only
    static

  • -
  • failed (item) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    itemKFileItem
    -

  • -
  • getMetaInfo () -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only

  • -
  • gotMetaInfo (item) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    itemKFileItem
    -

  • -
  • removeItem (item) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    itemKFileItem
    -

  • -
  • slotResult (job) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    jobKIO.Job
    -

  • -
  • supportedMimeTypes () -
    - - -
    returns (TQStringList)
    In versions KDE 3.1.0 and above only
    static

  • -
- - - diff --git a/python/pykde/doc/classref/kio/KIO.MimetypeJob.html b/python/pykde/doc/classref/kio/KIO.MimetypeJob.html deleted file mode 100644 index fcf6eddf..00000000 --- a/python/pykde/doc/classref/kio/KIO.MimetypeJob.html +++ /dev/null @@ -1,62 +0,0 @@ - - - - - class KIO.MimetypeJob - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KIO.MimetypeJob


-
- - - - - -
Table of contents
Modules
kio Classes
All Classes
-
- - - - - - - - - - -
Modulekio
ClassKIO.MimetypeJob
InheritsKIO.TransferJob
-

methods

    -
  • MimetypeJob (url, command, packedArgs, showProgressInfo) -
    -
    returns a MimetypeJob instance
    - - - - -
    ArgumentTypeDefault
    urlKURL
    commandint
    packedArgsTQByteArray
    showProgressInfobool
    -

  • -
  • mimetype () -
    -
    returns (TQString)

  • -
  • slotFinished () -
    -
    returns nothing

  • -
  • start (slave) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    slaveKIO.Slave
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kio/KIO.MkdirJob.html b/python/pykde/doc/classref/kio/KIO.MkdirJob.html deleted file mode 100644 index 3f9efc47..00000000 --- a/python/pykde/doc/classref/kio/KIO.MkdirJob.html +++ /dev/null @@ -1,94 +0,0 @@ - - - - - class KIO.MkdirJob - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KIO.MkdirJob


-
- - - - - -
Table of contents
Modules
kio Classes
All Classes
-
- - - - - - - - - - -
Modulekio
ClassKIO.MkdirJob
InheritsKIO.SimpleJob
-

methods

    -
  • MkdirJob (url, command, packedArgs, showProgressInfo) -
    - -
    returns a MkdirJob instance
    In versions KDE 3.3.0 and above only
    - - - - -
    ArgumentTypeDefault
    urlKURL
    commandint
    packedArgsTQByteArray
    showProgressInfobool
    -

  • -
  • permanentRedirection (job, fromUrl, toUrl) -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only
    - - - -
    ArgumentTypeDefault
    jobKIO.Job
    fromUrlKURL
    toUrlKURL
    -

  • -
  • redirection (job, url) -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only
    - - -
    ArgumentTypeDefault
    jobKIO.Job
    urlKURL
    -

  • -
  • slotFinished () -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only

  • -
  • slotRedirection (url) -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only
    - -
    ArgumentTypeDefault
    urlKURL
    -

  • -
  • start (slave) -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only
    - -
    ArgumentTypeDefault
    slaveKIO.Slave
    -

  • -
  • virtual_hook (id, data) -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only
    - - -
    ArgumentTypeDefault
    idint
    datavoid
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kio/KIO.MultiGetJob.html b/python/pykde/doc/classref/kio/KIO.MultiGetJob.html deleted file mode 100644 index 3c2b9c85..00000000 --- a/python/pykde/doc/classref/kio/KIO.MultiGetJob.html +++ /dev/null @@ -1,103 +0,0 @@ - - - - - class KIO.MultiGetJob - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KIO.MultiGetJob


-
- - - - - -
Table of contents
Modules
kio Classes
All Classes
-
- - - - - - - - - - -
Modulekio
ClassKIO.MultiGetJob
InheritsKIO.TransferJob
-

methods

    -
  • MultiGetJob (url, showProgressInfo) -
    -
    returns a MultiGetJob instance
    - - -
    ArgumentTypeDefault
    urlKURL
    showProgressInfobool
    -

  • -
  • data (id, data) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    idlong
    dataTQByteArray
    -

  • -
  • get (id, url, metaData) -
    -
    returns nothing
    - - - -
    ArgumentTypeDefault
    idlong
    urlKURL
    metaDataKIO.MetaData
    -

  • -
  • mimetype (id, type) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    idlong
    typeTQString
    -

  • -
  • result (id) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    idlong
    -

  • -
  • slotData (data) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    dataTQByteArray
    -

  • -
  • slotFinished () -
    -
    returns nothing

  • -
  • slotMimetype (mimetype) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    mimetypeTQString
    -

  • -
  • slotRedirection (url) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    urlKURL
    -

  • -
  • start (slave) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    slaveKIO.Slave
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kio/KIO.NetAccess.html b/python/pykde/doc/classref/kio/KIO.NetAccess.html deleted file mode 100644 index 20490bbc..00000000 --- a/python/pykde/doc/classref/kio/KIO.NetAccess.html +++ /dev/null @@ -1,323 +0,0 @@ - - - - - class KIO.NetAccess - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KIO.NetAccess


-
- - - - - -
Table of contents
Modules
kio Classes
All Classes
-
- - - - - - - - - - -
Modulekio
ClassKIO.NetAccess
InheritsTQObject
-

methods

    -
  • NetAccess () -
    -
    returns a NetAccess instance

  • -
  • copy (src, target, window) -
    - - -
    returns (bool)
    In versions KDE 3.2.0 and above only
    static
    - - - -
    ArgumentTypeDefault
    srcKURL
    targetKURL
    windowTQWidget
    -

  • -
  • copy (src, target) -
    - -
    returns (bool)
    static
    - - -
    ArgumentTypeDefault
    srcKURL
    targetKURL
    -

  • -
  • del_ (url, window) -
    - - - -
    returns (bool)
    Renamed: was ' del' in C++
    In versions KDE 3.2.0 and above only
    static
    - - -
    ArgumentTypeDefault
    urlKURL
    windowTQWidget
    -

  • -
  • del_ (url) -
    - - -
    returns (bool)
    Renamed: was ' del' in C++
    static
    - -
    ArgumentTypeDefault
    urlKURL
    -

  • -
  • dircopy (src, target, window) -
    - - -
    returns (bool)
    In versions KDE 3.2.0 and above only
    static
    - - - -
    ArgumentTypeDefault
    srcKURL
    targetKURL
    windowTQWidget
    -

  • -
  • dircopy (src, target) -
    - -
    returns (bool)
    static
    - - -
    ArgumentTypeDefault
    srcKURL
    targetKURL
    -

  • -
  • dircopy (src, target, window = 0) -
    - - -
    returns (bool)
    In versions KDE 3.2.0 and above only
    static
    - - - -
    ArgumentTypeDefault
    srcKURL.List
    targetKURL
    windowTQWidget0
    -

  • -
  • download (src, target, window) -
    - - -
    returns (bool)
    In versions KDE 3.2.0 and above only
    static
    - - - -
    ArgumentTypeDefault
    srcKURL
    targetTQString
    windowTQWidget
    -

  • -
  • download (src, target) -
    - -
    returns (bool)
    static
    - - -
    ArgumentTypeDefault
    srcKURL
    targetTQString
    -

  • -
  • exists (url, source, window) -
    - - -
    returns (bool)
    In versions KDE 3.2.0 and above only
    static
    - - - -
    ArgumentTypeDefault
    urlKURL
    sourcebool
    windowTQWidget
    -

  • -
  • exists (url, window) -
    - - -
    returns (bool)
    In versions KDE 3.2.0 and above only
    static
    - - -
    ArgumentTypeDefault
    urlKURL
    windowTQWidget
    -

  • -
  • exists (url) -
    - -
    returns (bool)
    static
    - -
    ArgumentTypeDefault
    urlKURL
    -

  • -
  • exists (url, source) -
    - - -
    returns (bool)
    In versions KDE 3.1.0 and above only
    static
    - - -
    ArgumentTypeDefault
    urlKURL
    sourcebool
    -

  • -
  • file_copy (src, dest, permissions = -1, overwrite = 0, resume = 0, window = 0) -
    - - -
    returns (bool)
    In versions KDE 3.2.0 and above only
    static
    - - - - - - -
    ArgumentTypeDefault
    srcKURL
    destKURL
    permissionsint-1
    overwritebool0
    resumebool0
    windowTQWidget0
    -

  • -
  • file_move (src, target, permissions = -1, overwrite = 0, resume = 0, window = 0) -
    - - -
    returns (bool)
    In versions KDE 3.2.0 and above only
    static
    - - - - - - -
    ArgumentTypeDefault
    srcKURL
    targetKURL
    permissionsint-1
    overwritebool0
    resumebool0
    windowTQWidget0
    -

  • -
  • fish_execute (url, command, window) -
    - - -
    returns (TQString)
    In versions KDE 3.2.0 and above only
    static
    - - - -
    ArgumentTypeDefault
    urlKURL
    commandTQString
    windowTQWidget
    -

  • -
  • lastError () -
    - - -
    returns (int)
    In versions KDE 3.3.0 and above only
    static

  • -
  • lastErrorString () -
    - -
    returns (TQString)
    static

  • -
  • mimetype (url, window) -
    - - -
    returns (TQString)
    In versions KDE 3.2.0 and above only
    static
    - - -
    ArgumentTypeDefault
    urlKURL
    windowTQWidget
    -

  • -
  • mimetype (url) -
    Not Implemented
    -

  • -
  • mkdir (url, window, permissions = -1) -
    - - -
    returns (bool)
    In versions KDE 3.2.0 and above only
    static
    - - - -
    ArgumentTypeDefault
    urlKURL
    windowTQWidget
    permissionsint-1
    -

  • -
  • mkdir (url, permissions = -1) -
    - -
    returns (bool)
    static
    - - -
    ArgumentTypeDefault
    urlKURL
    permissionsint-1
    -

  • -
  • mostLocalURL (url, window) -
    - - -
    returns (KURL)
    In versions KDE 3.5.0 and above only
    static
    - - -
    ArgumentTypeDefault
    urlKURL
    windowTQWidget
    -

  • -
  • move (src, target, window = 0) -
    - - -
    returns (bool)
    In versions KDE 3.2.0 and above only
    static
    - - - -
    ArgumentTypeDefault
    srcKURL
    targetKURL
    windowTQWidget0
    -

  • -
  • move (src, target, window = 0) -
    - - -
    returns (bool)
    In versions KDE 3.2.0 and above only
    static
    - - - -
    ArgumentTypeDefault
    srcKURL.List
    targetKURL
    windowTQWidget0
    -

  • -
  • removeTempFile (name) -
    - -
    returns nothing
    static
    - -
    ArgumentTypeDefault
    nameTQString
    -

  • -
  • stat (url, entry, window) -
    - - -
    returns (bool)
    In versions KDE 3.2.0 and above only
    static
    - - - -
    ArgumentTypeDefault
    urlKURL
    entryKIO.UDSEntry
    windowTQWidget
    -

  • -
  • stat (url, entry) -
    - -
    returns (bool)
    static
    - - -
    ArgumentTypeDefault
    urlKURL
    entryKIO.UDSEntry
    -

  • -
  • synchronousRun (job, window, data = 0, finalURL = 0, metaData = 0) -
    - - -
    returns (bool)
    In versions KDE 3.3.1 and above only
    static
    - - - - - -
    ArgumentTypeDefault
    jobKIO.Job
    windowTQWidget
    dataTQByteArray0
    finalURLKURL0
    metaDataTQMap0
    -

  • -
  • upload (src, target, window) -
    - - -
    returns (bool)
    In versions KDE 3.2.0 and above only
    static
    - - - -
    ArgumentTypeDefault
    srcTQString
    targetKURL
    windowTQWidget
    -

  • -
  • upload (src, target) -
    - -
    returns (bool)
    static
    - - -
    ArgumentTypeDefault
    srcTQString
    targetKURL
    -

  • -
  • ~NetAccess () -
    -
    returns nothing

  • -
- - - diff --git a/python/pykde/doc/classref/kio/KIO.NetRC.AutoLogin.html b/python/pykde/doc/classref/kio/KIO.NetRC.AutoLogin.html deleted file mode 100644 index 05ec72d6..00000000 --- a/python/pykde/doc/classref/kio/KIO.NetRC.AutoLogin.html +++ /dev/null @@ -1,47 +0,0 @@ - - - - - class KIO.NetRC.AutoLogin - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KIO.NetRC.AutoLogin


-
- - - - - -
Table of contents
Modules
kio Classes
All Classes
-
- - - - - - - - - - -
Modulekio
ClassKIO.NetRC.AutoLogin
Inherits
-

variables

  • -variables - - - - - -
    VariableType
    loginTQString
    macdefKStringListMap
    machineTQString
    passwordTQString
    typeTQString
- - - diff --git a/python/pykde/doc/classref/kio/KIO.NetRC.html b/python/pykde/doc/classref/kio/KIO.NetRC.html deleted file mode 100644 index 9ebae369..00000000 --- a/python/pykde/doc/classref/kio/KIO.NetRC.html +++ /dev/null @@ -1,90 +0,0 @@ - - - - - class KIO.NetRC - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KIO.NetRC


-
- - - - - -
Table of contents
Modules
kio Classes
All Classes
-
- - - - - - - - - - -
Modulekio
ClassKIO.NetRC
Inherits
-

enums

    -
  • LookUpMode = {exactOnly, defaultOnly, presetOnly -}
-

methods

    -
  • NetRC () -
    -
    returns a NetRC instance

  • -
  • extract (a0, a1) -
    Not Implemented
    -

  • -
  • lookup (url, login, userealnetrc = 0, type = TQString .null, mode = 6) -
    -
    returns (bool)
    - - - - - -
    ArgumentTypeDefault
    urlKURL
    loginKIO.NetRC.AutoLogin
    userealnetrcbool0
    typeTQStringTQString .null
    modeint6
    -

  • -
  • openf (a0) -
    -
    returns (int)
    - -
    ArgumentTypeDefault
    a0TQString
    -

  • -
  • parse (a0) -
    - -
    returns (bool)
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    a0int
    -

  • -
  • parse (a0) -
    - -
    returns nothing
    In versions less than KDE 3.2.0 only
    - -
    ArgumentTypeDefault
    a0int
    -

  • -
  • reload () -
    -
    returns nothing

  • -
  • self () -
    - -
    returns (KIO.NetRC)
    static

  • -
  • ~NetRC () -
    -
    returns nothing

  • -
- - - diff --git a/python/pykde/doc/classref/kio/KIO.PasswordDialog.html b/python/pykde/doc/classref/kio/KIO.PasswordDialog.html deleted file mode 100644 index 6160b2e9..00000000 --- a/python/pykde/doc/classref/kio/KIO.PasswordDialog.html +++ /dev/null @@ -1,120 +0,0 @@ - - - - - class KIO.PasswordDialog - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KIO.PasswordDialog


-
- - - - - -
Table of contents
Modules
kio Classes
All Classes
-
- - - - - - - - - - -
Modulekio
ClassKIO.PasswordDialog
InheritsKDialogBase
-

methods

    -
  • PasswordDialog (prompt, user, enableKeep = 0, modal = 1, parent = 0, name = 0) -
    -
    returns a PasswordDialog instance
    - - - - - - -
    ArgumentTypeDefault
    promptTQString
    userTQString
    enableKeepbool0
    modalbool1
    parentTQWidget0
    namechar0
    -

  • -
  • addCommentLine (label, comment) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    labelTQString
    commentTQString
    -

  • -
  • getNameAndPassword (keep, prompt = TQString .null, readOnly = 0, caption = TQString .null, comment = TQString .null, label = TQString .null) -
    - -
    returns (int) user (TQString) pass (TQString) keep (bool)
    static
    - - - - - - -
    ArgumentTypeDefault
    keepbool
    promptTQStringTQString .null
    readOnlybool0
    captionTQStringTQString .null
    commentTQStringTQString .null
    labelTQStringTQString .null
    -

  • -
  • keepPassword () -
    -
    returns (bool)

  • -
  • password () -
    -
    returns (TQString)

  • -
  • setEnableUserField (enable, a0 = 0) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    enablebool
    a0bool0
    -

  • -
  • setKeepPassword (b) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    bbool
    -

  • -
  • setKnownLogins (knownLogins) -
    - -
    returns nothing
    In versions KDE 3.4.0 and above only
    - -
    ArgumentTypeDefault
    knownLoginsTQMap
    -

  • -
  • setPassword (password) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    passwordTQString
    -

  • -
  • setPrompt (prompt) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    promptTQString
    -

  • -
  • setUserReadOnly (readOnly) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    readOnlybool
    -

  • -
  • username () -
    -
    returns (TQString)

  • -
- - - diff --git a/python/pykde/doc/classref/kio/KIO.PreviewJob.html b/python/pykde/doc/classref/kio/KIO.PreviewJob.html deleted file mode 100644 index d1dc2440..00000000 --- a/python/pykde/doc/classref/kio/KIO.PreviewJob.html +++ /dev/null @@ -1,114 +0,0 @@ - - - - - class KIO.PreviewJob - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KIO.PreviewJob


-
- - - - - -
Table of contents
Modules
kio Classes
All Classes
-
- - - - - - - - - - -
Modulekio
ClassKIO.PreviewJob
InheritsKIO.Job
-

methods

    -
  • PreviewJob (items, width, height, iconSize, iconAlpha, scale, save, enabledPlugins, deleteItems = 0) -
    -
    returns a PreviewJob instance
    - - - - - - - - - -
    ArgumentTypeDefault
    itemsKFileItemList
    widthint
    heightint
    iconSizeint
    iconAlphaint
    scalebool
    savebool
    enabledPluginsTQStringList
    deleteItemsbool0
    -

  • -
  • availablePlugins () -
    - -
    returns (TQStringList)
    static

  • -
  • createThumbnail (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0TQString
    -

  • -
  • failed (item) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    itemKFileItem
    -

  • -
  • getOrCreateThumbnail () -
    -
    returns nothing

  • -
  • gotPreview (item, preview) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    itemKFileItem
    previewTQPixmap
    -

  • -
  • kill (quietly = 1) -
    - -
    returns nothing
    In versions KDE 3.5.1 and above only
    - -
    ArgumentTypeDefault
    quietlybool1
    -

  • -
  • removeItem (item) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    itemKFileItem
    -

  • -
  • setIgnoreMaximumSize (ignoreSize = 1) -
    - -
    returns nothing
    In versions KDE 3.4.0 and above only
    - -
    ArgumentTypeDefault
    ignoreSizebool1
    -

  • -
  • slotResult (job) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    jobKIO.Job
    -

  • -
  • statResultThumbnail () -
    -
    returns (bool)

  • -
  • supportedMimeTypes () -
    - -
    returns (TQStringList)
    static

  • -
- - - diff --git a/python/pykde/doc/classref/kio/KIO.ProgressBase.html b/python/pykde/doc/classref/kio/KIO.ProgressBase.html deleted file mode 100644 index f3b615e6..00000000 --- a/python/pykde/doc/classref/kio/KIO.ProgressBase.html +++ /dev/null @@ -1,201 +0,0 @@ - - - - - class KIO.ProgressBase - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KIO.ProgressBase


-
- - - - - -
Table of contents
Modules
kio Classes
All Classes
-
- - - - - - - - - - -
Modulekio
ClassKIO.ProgressBase
InheritsTQWidget
-

methods

    -
  • ProgressBase (parent) -
    -
    returns a ProgressBase instance
    - -
    ArgumentTypeDefault
    parentTQWidget
    -

  • -
  • closeEvent (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0TQCloseEvent
    -

  • -
  • finished () -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only

  • -
  • onlyClean () -
    -
    returns (bool)

  • -
  • setJob (job) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    jobKIO.Job
    -

  • -
  • setJob (job) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    jobKIO.CopyJob
    -

  • -
  • setJob (job) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    jobKIO.DeleteJob
    -

  • -
  • setOnlyClean (onlyClean) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    onlyCleanbool
    -

  • -
  • setStopOnClose (stopOnClose) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    stopOnClosebool
    -

  • -
  • slotCanResume (job, from) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    jobKIO.Job
    fromKIO.filesize_t
    -

  • -
  • slotClean () -
    -
    returns nothing

  • -
  • slotCopying (job, src, dest) -
    -
    returns nothing
    - - - -
    ArgumentTypeDefault
    jobKIO.Job
    srcKURL
    destKURL
    -

  • -
  • slotCreatingDir (job, dir) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    jobKIO.Job
    dirKURL
    -

  • -
  • slotDeleting (job, url) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    jobKIO.Job
    urlKURL
    -

  • -
  • slotFinished (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0KIO.Job
    -

  • -
  • slotMoving (job, src, dest) -
    -
    returns nothing
    - - - -
    ArgumentTypeDefault
    jobKIO.Job
    srcKURL
    destKURL
    -

  • -
  • slotPercent (job, percent) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    jobKIO.Job
    percentulong
    -

  • -
  • slotProcessedDirs (job, dirs) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    jobKIO.Job
    dirsulong
    -

  • -
  • slotProcessedFiles (job, files) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    jobKIO.Job
    filesulong
    -

  • -
  • slotProcessedSize (job, bytes) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    jobKIO.Job
    bytesKIO.filesize_t
    -

  • -
  • slotSpeed (job, speed) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    jobKIO.Job
    speedulong
    -

  • -
  • slotStop () -
    -
    returns nothing

  • -
  • slotTotalDirs (job, dirs) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    jobKIO.Job
    dirsulong
    -

  • -
  • slotTotalFiles (job, files) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    jobKIO.Job
    filesulong
    -

  • -
  • slotTotalSize (job, size) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    jobKIO.Job
    sizeKIO.filesize_t
    -

  • -
  • stopOnClose () -
    -
    returns (bool)

  • -
  • stopped () -
    -
    returns nothing

  • -
- - - diff --git a/python/pykde/doc/classref/kio/KIO.Scheduler.html b/python/pykde/doc/classref/kio/KIO.Scheduler.html deleted file mode 100644 index 3e0f53c3..00000000 --- a/python/pykde/doc/classref/kio/KIO.Scheduler.html +++ /dev/null @@ -1,267 +0,0 @@ - - - - - class KIO.Scheduler - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KIO.Scheduler


-
- - - - - -
Table of contents
Modules
kio Classes
All Classes
-
- - - - - - - - - - -
Modulekio
ClassKIO.Scheduler
InheritsTQObject, DCOPObject
-

methods

    -
  • Scheduler () -
    -
    returns a Scheduler instance

  • -
  • Scheduler (a0) -
    -
    returns a Scheduler instance
    - -
    ArgumentTypeDefault
    a0KIO.Scheduler
    -

  • -
  • assignJobToSlave (slave, job) -
    - -
    returns (bool)
    static
    - - -
    ArgumentTypeDefault
    slaveKIO.Slave
    jobKIO.SimpleJob
    -

  • -
  • cancelJob (job) -
    - -
    returns nothing
    static
    - -
    ArgumentTypeDefault
    jobKIO.SimpleJob
    -

  • -
  • checkSlaveOnHold (b) -
    - -
    returns nothing
    static
    - -
    ArgumentTypeDefault
    bbool
    -

  • -
  • connect (signal, receiver, member) -
    - -
    returns (bool)
    static
    - - - -
    ArgumentTypeDefault
    signalchar
    receiverTQObject
    memberchar
    -

  • -
  • connect (sender, signal, receiver, member) -
    - -
    returns (bool)
    static
    - - - - -
    ArgumentTypeDefault
    senderTQObject
    signalchar
    receiverTQObject
    memberchar
    -

  • -
  • connect (sender, signal, member) -
    -
    returns (bool)
    - - - -
    ArgumentTypeDefault
    senderTQObject
    signalchar
    memberchar
    -

  • -
  • debug_info () -
    -
    returns nothing

  • -
  • disconnect (sender, signal, receiver, member) -
    - -
    returns (bool)
    static
    - - - - -
    ArgumentTypeDefault
    senderTQObject
    signalchar
    receiverTQObject
    memberchar
    -

  • -
  • disconnectSlave (slave) -
    - -
    returns (bool)
    static
    - -
    ArgumentTypeDefault
    slaveKIO.Slave
    -

  • -
  • doJob (job) -
    - -
    returns nothing
    static
    - -
    ArgumentTypeDefault
    jobKIO.SimpleJob
    -

  • -
  • functions () -
    -
    returns (QCStringList)

  • -
  • getConnectedSlave (url, config) -
    - -
    returns (KIO.Slave)
    static
    - - -
    ArgumentTypeDefault
    urlKURL
    configKIO.MetaData
    -
    There is no default value for config (KIO.MetaData) - pass an -empty Python dict if you need the default value -

  • -
  • jobFinished (job, slave) -
    - -
    returns nothing
    static
    - - -
    ArgumentTypeDefault
    jobKIO.SimpleJob
    slaveKIO.Slave
    -

  • -
  • process (fun, data, replyType, replyData) -
    -
    returns (bool)
    - - - - -
    ArgumentTypeDefault
    funTQCString
    dataTQByteArray
    replyTypeTQCString
    replyDataTQByteArray
    -

  • -
  • publishSlaveOnHold () -
    - -
    returns nothing
    static

  • -
  • putSlaveOnHold (job, url) -
    - -
    returns nothing
    static
    - - -
    ArgumentTypeDefault
    jobKIO.SimpleJob
    urlKURL
    -

  • -
  • registerWindow (wid) -
    - - -
    returns nothing
    In versions KDE 3.1.0 and above only
    static
    - -
    ArgumentTypeDefault
    widTQWidget
    -

  • -
  • removeSlaveOnHold () -
    - -
    returns nothing
    static

  • -
  • scheduleJob (job) -
    - -
    returns nothing
    static
    - -
    ArgumentTypeDefault
    jobKIO.SimpleJob
    -

  • -
  • setupSlave (slave, url, protocol, proxy, newSlave, config = 0) -
    -
    returns nothing
    - - - - - - -
    ArgumentTypeDefault
    slaveKIO.Slave
    urlKURL
    protocolTQString
    proxyTQString
    newSlavebool
    configKIO.MetaData0
    -

  • -
  • slaveConnected (slave) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    slaveKIO.Slave
    -

  • -
  • slaveError (slave, error, errorMsg) -
    -
    returns nothing
    - - - -
    ArgumentTypeDefault
    slaveKIO.Slave
    errorint
    errorMsgTQString
    -

  • -
  • slotCleanIdleSlaves () -
    -
    returns nothing

  • -
  • slotScheduleCoSlave () -
    -
    returns nothing

  • -
  • slotSlaveConnected () -
    -
    returns nothing

  • -
  • slotSlaveDied (slave) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    slaveKIO.Slave
    -

  • -
  • slotSlaveError (error, errorMsg) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    errorint
    errorMsgTQString
    -

  • -
  • slotSlaveStatus (pid, protocol, host, connected) -
    -
    returns nothing
    - - - - -
    ArgumentTypeDefault
    pidpid_t
    protocolTQCString
    hostTQString
    connectedbool
    -

  • -
  • slotUnregisterWindow (a0) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    a0TQObject
    -

  • -
  • startJobDirect () -
    -
    returns (bool)

  • -
  • startJobScheduled (protInfo) -
    Not Implemented
    -

  • -
  • startStep () -
    -
    returns nothing

  • -
  • unregisterWindow (wid) -
    - - -
    returns nothing
    In versions KDE 3.2.0 and above only
    static
    - -
    ArgumentTypeDefault
    widTQObject
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kio/KIO.SessionData.html b/python/pykde/doc/classref/kio/KIO.SessionData.html deleted file mode 100644 index f86738fe..00000000 --- a/python/pykde/doc/classref/kio/KIO.SessionData.html +++ /dev/null @@ -1,69 +0,0 @@ - - - - - class KIO.SessionData - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KIO.SessionData


-
- - - - - -
Table of contents
Modules
kio Classes
All Classes
-
- - - - - - - - - - -
Modulekio
ClassKIO.SessionData
InheritsTQObject
-

methods

    -
  • SessionData () -
    -
    returns a SessionData instance

  • -
  • configDataFor (configData, proto, host) -
    -
    returns nothing
    - - - -
    ArgumentTypeDefault
    configDataKIO.MetaData
    protoTQString
    hostTQString
    -

  • -
  • reset () -
    -
    returns nothing

  • -
  • slotAuthData (a0, a1, a2) -
    -
    returns nothing
    - - - -
    ArgumentTypeDefault
    a0TQCString
    a1TQCString
    a2bool
    -

  • -
  • slotDelAuthData (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0TQCString
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kio/KIO.SimpleJob.html b/python/pykde/doc/classref/kio/KIO.SimpleJob.html deleted file mode 100644 index 372517a7..00000000 --- a/python/pykde/doc/classref/kio/KIO.SimpleJob.html +++ /dev/null @@ -1,148 +0,0 @@ - - - - - class KIO.SimpleJob - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KIO.SimpleJob


-
- - - - - -
Table of contents
Modules
kio Classes
All Classes
-
- - - - - - - - - - -
Modulekio
ClassKIO.SimpleJob
InheritsKIO.Job
-

methods

    -
  • SimpleJob (url, command, packedArgs, showProgressInfo) -
    -
    returns a SimpleJob instance
    - - - - -
    ArgumentTypeDefault
    urlKURL
    commandint
    packedArgsTQByteArray
    showProgressInfobool
    -

  • -
  • command () -
    -
    returns (int)

  • -
  • kill (quietly = 1) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    quietlybool1
    -

  • -
  • putOnHold () -
    -
    returns nothing

  • -
  • removeOnHold () -
    - -
    returns nothing
    static

  • -
  • slave () -
    -
    returns (KIO.Slave)

  • -
  • slaveDone () -
    -
    returns nothing

  • -
  • slotConnected () -
    -
    returns nothing

  • -
  • slotError (a0, a1) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    a0int
    a1TQString
    -

  • -
  • slotFinished () -
    -
    returns nothing

  • -
  • slotInfoMessage (s) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    sTQString
    -

  • -
  • slotMetaData (_metaData) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    _metaDataKIO.MetaData
    -

  • -
  • slotNeedProgressId () -
    -
    returns nothing

  • -
  • slotProcessedSize (data_size) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    data_sizeKIO.filesize_t
    -

  • -
  • slotSpeed (speed) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    speedulong
    -

  • -
  • slotTotalSize (data_size) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    data_sizeKIO.filesize_t
    -

  • -
  • slotTotalSize (a0) -
    - -
    returns nothing
    In versions less than KDE 3.1.0 only
    - -
    ArgumentTypeDefault
    a0KIO.filesize_t
    -

  • -
  • slotWarning (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0TQString
    -

  • -
  • start (slave) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    slaveKIO.Slave
    -

  • -
  • storeSSLSessionFromJob (m_redirectionURL) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    m_redirectionURLKURL
    -

  • -
  • url () -
    -
    returns (KURL)

  • -
- - - diff --git a/python/pykde/doc/classref/kio/KIO.Slave.html b/python/pykde/doc/classref/kio/KIO.Slave.html deleted file mode 100644 index 3d76a9d8..00000000 --- a/python/pykde/doc/classref/kio/KIO.Slave.html +++ /dev/null @@ -1,200 +0,0 @@ - - - - - class KIO.Slave - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KIO.Slave


-
- - - - - -
Table of contents
Modules
kio Classes
All Classes
-
- - - - - - - - - - -
Modulekio
ClassKIO.Slave
InheritsKIO.SlaveInterface
-

methods

    -
  • Slave (derived, unixdomain, protocol, socketname) -
    - -
    returns a Slave instance
    In versions KDE 3.2.0 and above only
    - - - - -
    ArgumentTypeDefault
    derivedbool
    unixdomainKServerSocket
    protocolTQString
    socketnameTQString
    -

  • -
  • Slave (unixdomain, protocol, socketname) -
    -
    returns a Slave instance
    - - - -
    ArgumentTypeDefault
    unixdomainKServerSocket
    protocolTQString
    socketnameTQString
    -

  • -
  • accept (socket) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    socketKSocket
    -

  • -
  • connection () -
    -
    returns (KIO.Connection)

  • -
  • createSlave (protocol, url) -
    - -
    returns (KIO.Slave) error (int) error_text (TQString)
    static
    - - -
    ArgumentTypeDefault
    protocolTQString
    urlKURL
    -

  • -
  • deref () -
    -
    returns nothing

  • -
  • gotInput () -
    -
    returns nothing

  • -
  • hold (url) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    urlKURL
    -

  • -
  • holdSlave (protocol, url) -
    - -
    returns (KIO.Slave)
    static
    - - -
    ArgumentTypeDefault
    protocolTQString
    urlKURL
    -

  • -
  • host () -
    -
    returns (TQString)

  • -
  • idleTime () -
    -
    returns (time_t)

  • -
  • isAlive () -
    -
    returns (bool)

  • -
  • isConnected () -
    -
    returns (bool)

  • -
  • kill () -
    -
    returns nothing

  • -
  • passwd () -
    -
    returns (TQString)

  • -
  • port () -
    -
    returns (int)

  • -
  • protocol () -
    -
    returns (TQString)

  • -
  • ref () -
    -
    returns nothing

  • -
  • resetHost () -
    -
    returns nothing

  • -
  • resume () -
    -
    returns nothing

  • -
  • send (cmd, data = TQByteArray ()) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - - -
    ArgumentTypeDefault
    cmdint
    dataTQByteArrayTQByteArray ()
    -

  • -
  • setConfig (config) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    configKIO.MetaData
    -

  • -
  • setConnected (c) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    cbool
    -

  • -
  • setHost (host, port, user, passwd) -
    -
    returns nothing
    - - - - -
    ArgumentTypeDefault
    hostTQString
    portint
    userTQString
    passwdTQString
    -

  • -
  • setIdle () -
    -
    returns nothing

  • -
  • setPID (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0pid_t
    -

  • -
  • setProtocol (protocol) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    protocolTQString
    -

  • -
  • slaveDied (slave) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    slaveKIO.Slave
    -

  • -
  • slaveProtocol () -
    -
    returns (TQString)

  • -
  • slave_pid () -
    -
    returns (int)

  • -
  • suspend () -
    -
    returns nothing

  • -
  • suspended () -
    -
    returns (bool)

  • -
  • timeout () -
    -
    returns nothing

  • -
  • unlinkSocket () -
    -
    returns nothing

  • -
  • user () -
    -
    returns (TQString)

  • -
- - - diff --git a/python/pykde/doc/classref/kio/KIO.SlaveBase.html b/python/pykde/doc/classref/kio/KIO.SlaveBase.html deleted file mode 100644 index 518cecbb..00000000 --- a/python/pykde/doc/classref/kio/KIO.SlaveBase.html +++ /dev/null @@ -1,631 +0,0 @@ - - - - - class KIO.SlaveBase - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KIO.SlaveBase


-
- - - - - -
Table of contents
Modules
kio Classes
All Classes
-
- - - - - - - - - - -
Modulekio
ClassKIO.SlaveBase
Inherits
-

enums

    -
  • MessageBoxType = {QuestionYesNo, WarningYesNo, WarningContinueCancel, WarningYesNoCancel, Information, SSLMessageBox -}
-

methods

    -
  • SlaveBase (protocol, pool_socket, app_socket) -
    -
    returns a SlaveBase instance
    - - - -
    ArgumentTypeDefault
    protocolTQCString
    pool_socketTQCString
    app_socketTQCString
    -

  • -
  • allMetaData () -
    - -
    returns (KIO.MetaData)
    In versions KDE 3.5.2 and above only

  • -
  • cacheAuthentication (info) -
    - -
    returns (bool)
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    infoKIO.AuthInfo
    -

  • -
  • cacheAuthentication (a0) -
    - -
    returns (bool)
    In versions less than KDE 3.1.0 only
    - -
    ArgumentTypeDefault
    a0KIO.AuthInfo
    -

  • -
  • canResume (offset) -
    -
    returns (bool)
    - -
    ArgumentTypeDefault
    offsetKIO.filesize_t
    -

  • -
  • canResume () -
    -
    returns nothing

  • -
  • checkCachedAuthentication (info) -
    - -
    returns (bool)
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    infoKIO.AuthInfo
    -

  • -
  • checkCachedAuthentication (a0) -
    - -
    returns (bool)
    In versions less than KDE 3.1.0 only
    - -
    ArgumentTypeDefault
    a0KIO.AuthInfo
    -

  • -
  • chmod (url, permissions) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    urlKURL
    permissionsint
    -

  • -
  • closeConnection () -
    -
    returns nothing

  • -
  • config () -
    -
    returns (KConfigBase)

  • -
  • connectSlave (path) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    pathTQString
    -

  • -
  • connectSlave (a0) -
    - -
    returns nothing
    In versions less than KDE 3.1.0 only
    - -
    ArgumentTypeDefault
    a0TQString
    -

  • -
  • connectTimeout () -
    -
    returns (int)

  • -
  • connected () -
    -
    returns nothing

  • -
  • connection () -
    -
    returns (KIO.Connection)

  • -
  • copy (src, dest, permissions, overwrite) -
    -
    returns nothing
    - - - - -
    ArgumentTypeDefault
    srcKURL
    destKURL
    permissionsint
    overwritebool
    -

  • -
  • createAuthCacheKey (url) -
    - -
    returns (TQString)
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    urlKURL
    -

  • -
  • createAuthCacheKey (a0) -
    - -
    returns (TQString)
    In versions less than KDE 3.1.0 only
    - -
    ArgumentTypeDefault
    a0KURL
    -

  • -
  • data (data) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    dataTQByteArray
    -

  • -
  • dataReq () -
    -
    returns nothing

  • -
  • dcopClient () -
    - -
    returns (DCOPClient)
    In versions KDE 3.1.0 and above only

  • -
  • delCachedAuthentication (key) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    keyTQString
    -

  • -
  • delCachedAuthentication (a0) -
    - -
    returns nothing
    In versions less than KDE 3.1.0 only
    - -
    ArgumentTypeDefault
    a0TQString
    -

  • -
  • del_ (url, isfile) -
    - -
    returns nothing
    Renamed: was ' del -' in C++
    - - -
    ArgumentTypeDefault
    urlKURL
    isfilebool
    -

  • -
  • disconnectSlave () -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only

  • -
  • disconnectSlave () -
    - -
    returns nothing
    In versions less than KDE 3.1.0 only

  • -
  • dispatch () -
    -
    returns (bool)

  • -
  • dispatch (command, data) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    commandint
    dataTQByteArray
    -

  • -
  • dispatchLoop () -
    -
    returns nothing

  • -
  • dropNetwork (host = TQString .null) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    hostTQStringTQString .null
    -

  • -
  • dropNetwork (a0 = TQString .null) -
    - -
    returns nothing
    In versions less than KDE 3.1.0 only
    - -
    ArgumentTypeDefault
    a0TQStringTQString .null
    -

  • -
  • error (_errid, _text) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    _erridint
    _textTQString
    -

  • -
  • errorPage () -
    -
    returns nothing

  • -
  • exit () -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only

  • -
  • finished () -
    -
    returns nothing

  • -
  • get (url) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    urlKURL
    -

  • -
  • hasMetaData (key) -
    -
    returns (bool)
    - -
    ArgumentTypeDefault
    keyTQString
    -

  • -
  • infoMessage (msg) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    msgTQString
    -

  • -
  • listDir (url) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    urlKURL
    -

  • -
  • listEntries (_entry) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    _entryKIO.UDSEntryList
    -

  • -
  • listEntry (_entry, ready) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - - -
    ArgumentTypeDefault
    _entryKIO.UDSEntry
    readybool
    -

  • -
  • listEntry (a0, a1) -
    - -
    returns nothing
    In versions less than KDE 3.1.0 only
    - - -
    ArgumentTypeDefault
    a0KIO.UDSEntry
    a1bool
    -

  • -
  • messageBox (type, text, caption = TQString .null, buttonYes = TQString .null, buttonNo = TQString .null) -
    -
    returns (int)
    - - - - - -
    ArgumentTypeDefault
    typeKIO.SlaveBase.MessageBoxType
    textTQString
    captionTQStringTQString .null
    buttonYesTQStringTQString .null
    buttonNoTQStringTQString .null
    -

  • -
  • messageBox (text, type, caption = TQString .null, buttonYes = TQString .null, buttonNo = TQString .null, dontAskAgainName = TQString .null) -
    - -
    returns (int)
    In versions KDE 3.3.0 and above only
    - - - - - - -
    ArgumentTypeDefault
    textTQString
    typeKIO.SlaveBase.MessageBoxType
    captionTQStringTQString .null
    buttonYesTQStringTQString .null
    buttonNoTQStringTQString .null
    dontAskAgainNameTQStringTQString .null
    -

  • -
  • metaData (key) -
    -
    returns (TQString)
    - -
    ArgumentTypeDefault
    keyTQString
    -

  • -
  • mimeType (_type) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    _typeTQString
    -

  • -
  • mimetype (url) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    urlKURL
    -

  • -
  • mkdir (url, permissions) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    urlKURL
    permissionsint
    -

  • -
  • multiGet (data) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    dataTQByteArray
    -

  • -
  • multipleAuthCaching () -
    - -
    returns (bool)
    In versions KDE 3.1.0 and above only

  • -
  • multipleAuthCaching () -
    - -
    returns (bool)
    In versions less than KDE 3.1.0 only

  • -
  • needSubURLData () -
    -
    returns nothing

  • -
  • openConnection () -
    -
    returns nothing

  • -
  • openPassDlg (info, errorMsg) -
    - -
    returns (bool)
    In versions KDE 3.1.0 and above only
    - - -
    ArgumentTypeDefault
    infoKIO.AuthInfo
    errorMsgTQString
    -

  • -
  • openPassDlg (info) -
    - -
    returns (bool)
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    infoKIO.AuthInfo
    -

  • -
  • openPassDlg (a0) -
    - -
    returns (bool)
    In versions less than KDE 3.1.0 only
    - -
    ArgumentTypeDefault
    a0KIO.AuthInfo
    -

  • -
  • pingCacheDaemon () -
    - -
    returns (bool)
    In versions KDE 3.1.0 and above only

  • -
  • pingCacheDaemon () -
    - -
    returns (bool)
    In versions less than KDE 3.1.0 only

  • -
  • processedPercent (percent) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    percentfloat
    -

  • -
  • processedSize (_bytes) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    _bytesKIO.filesize_t
    -

  • -
  • proxyConnectTimeout () -
    -
    returns (int)

  • -
  • put (url, permissions, overwrite, a0) -
    -
    returns nothing
    - - - - -
    ArgumentTypeDefault
    urlKURL
    permissionsint
    overwritebool
    a0bool
    -

  • -
  • readData (buffer) -
    -
    returns (int)
    - -
    ArgumentTypeDefault
    bufferTQByteArray
    -

  • -
  • readTimeout () -
    -
    returns (int)

  • -
  • redirection (_url) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    _urlKURL
    -

  • -
  • remoteEncoding () -
    - -
    returns (KRemoteEncoding)
    In versions KDE 3.3.0 and above only

  • -
  • rename (src, dest, overwrite) -
    -
    returns nothing
    - - - -
    ArgumentTypeDefault
    srcKURL
    destKURL
    overwritebool
    -

  • -
  • reparseConfiguration () -
    -
    returns nothing

  • -
  • requestNetwork (host = TQString .null) -
    - -
    returns (bool)
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    hostTQStringTQString .null
    -

  • -
  • requestNetwork (a0 = TQString .null) -
    - -
    returns (bool)
    In versions less than KDE 3.1.0 only
    - -
    ArgumentTypeDefault
    a0TQStringTQString .null
    -

  • -
  • responseTimeout () -
    -
    returns (int)

  • -
  • sendAuthenticationKey (gKey, key, keep) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - - - -
    ArgumentTypeDefault
    gKeyTQCString
    keyTQCString
    keepbool
    -

  • -
  • sendAuthenticationKey (a0, a1, a2) -
    - -
    returns nothing
    In versions less than KDE 3.1.0 only
    - - - -
    ArgumentTypeDefault
    a0TQCString
    a1TQCString
    a2bool
    -

  • -
  • sendMetaData () -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only

  • -
  • sendMetaData () -
    - -
    returns nothing
    In versions less than KDE 3.1.0 only

  • -
  • setConnection (connection) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    connectionKIO.Connection
    -

  • -
  • setHost (host, port, user, pass) -
    -
    returns nothing
    - - - - -
    ArgumentTypeDefault
    hostTQString
    portint
    userTQString
    passTQString
    -

  • -
  • setKillFlag () -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only

  • -
  • setMetaData (key, value) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    keyTQString
    valueTQString
    -

  • -
  • setMultipleAuthCaching (a0) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    a0bool
    -

  • -
  • setMultipleAuthCaching (a0) -
    - -
    returns nothing
    In versions less than KDE 3.1.0 only
    - -
    ArgumentTypeDefault
    a0bool
    -

  • -
  • setSubURL (url) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    urlKURL
    -

  • -
  • setTimeoutSpecialCommand (timeout, data = TQByteArray ()) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - - -
    ArgumentTypeDefault
    timeoutint
    dataTQByteArrayTQByteArray ()
    -

  • -
  • sigpipe_handler (a0) -
    - -
    returns nothing
    static
    - -
    ArgumentTypeDefault
    a0int
    -

  • -
  • sigsegv_handler (a0) -
    - -
    returns nothing
    static
    - -
    ArgumentTypeDefault
    a0int
    -

  • -
  • slaveStatus (host, connected) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    hostTQString
    connectedbool
    -

  • -
  • slave_status () -
    -
    returns nothing

  • -
  • special (data) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    dataTQByteArray
    -

  • -
  • speed (_bytes_per_second) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    _bytes_per_secondulong
    -

  • -
  • stat (url) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    urlKURL
    -

  • -
  • statEntry (_entry) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    _entryKIO.UDSEntry
    -

  • -
  • symlink (target, dest, overwrite) -
    -
    returns nothing
    - - - -
    ArgumentTypeDefault
    targetTQString
    destKURL
    overwritebool
    -

  • -
  • totalSize (_bytes) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    _bytesKIO.filesize_t
    -

  • -
  • waitForAnswer (expected1, expected2, data) -
    - -
    returns (int) pCmd (int)
    In versions KDE 3.1.0 and above only
    - - - -
    ArgumentTypeDefault
    expected1int
    expected2int
    dataTQByteArray
    -

  • -
  • waitForAnswer (a0, a1, a2) -
    - -
    returns (int) a3 (int)
    In versions less than KDE 3.1.0 only
    - - - -
    ArgumentTypeDefault
    a0int
    a1int
    a2TQByteArray
    -

  • -
  • warning (msg) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    msgTQString
    -

  • -
  • wasKilled () -
    - -
    returns (bool)
    In versions KDE 3.1.0 and above only

  • -
-

variables

  • -variables - - - - -
    VariableType
    mIncomingMetaDataKIO::MetaData
    mOutgoingMetaDataKIO::MetaData
    mProtocolTQCString
    m_pConnectionKIO::Connection*
- - - diff --git a/python/pykde/doc/classref/kio/KIO.SlaveConfig.html b/python/pykde/doc/classref/kio/KIO.SlaveConfig.html deleted file mode 100644 index 16a59e82..00000000 --- a/python/pykde/doc/classref/kio/KIO.SlaveConfig.html +++ /dev/null @@ -1,90 +0,0 @@ - - - - - class KIO.SlaveConfig - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KIO.SlaveConfig


-
- - - - - -
Table of contents
Modules
kio Classes
All Classes
-
- - - - - - - - - - -
Modulekio
ClassKIO.SlaveConfig
InheritsTQObject
-

methods

    -
  • SlaveConfig () -
    -
    returns a SlaveConfig instance

  • -
  • configData (protocol, host) -
    -
    returns (KIO.MetaData)
    - - -
    ArgumentTypeDefault
    protocolTQString
    hostTQString
    -

  • -
  • configData (protocol, host, key) -
    -
    returns (TQString)
    - - - -
    ArgumentTypeDefault
    protocolTQString
    hostTQString
    keyTQString
    -

  • -
  • configNeeded (protocol, host) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    protocolTQString
    hostTQString
    -

  • -
  • reset () -
    -
    returns nothing

  • -
  • self () -
    - -
    returns (KIO.SlaveConfig)
    static

  • -
  • setConfigData (protocol, host, key, value) -
    -
    returns nothing
    - - - - -
    ArgumentTypeDefault
    protocolTQString
    hostTQString
    keyTQString
    valueTQString
    -

  • -
  • setConfigData (protocol, host, config) -
    -
    returns nothing
    - - - -
    ArgumentTypeDefault
    protocolTQString
    hostTQString
    configKIO.MetaData
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kio/KIO.SlaveInterface.html b/python/pykde/doc/classref/kio/KIO.SlaveInterface.html deleted file mode 100644 index e962fe7f..00000000 --- a/python/pykde/doc/classref/kio/KIO.SlaveInterface.html +++ /dev/null @@ -1,284 +0,0 @@ - - - - - class KIO.SlaveInterface - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KIO.SlaveInterface


-
- - - - - -
Table of contents
Modules
kio Classes
All Classes
-
- - - - - - - - - - -
Modulekio
ClassKIO.SlaveInterface
InheritsTQObject
-

methods

    -
  • SlaveInterface (connection) -
    -
    returns a SlaveInterface instance
    - -
    ArgumentTypeDefault
    connectionKIO.Connection
    -

  • -
  • authorizationKey (a0, a1, a2) -
    -
    returns nothing
    - - - -
    ArgumentTypeDefault
    a0TQCString
    a1TQCString
    a2bool
    -

  • -
  • calcSpeed () -
    -
    returns nothing

  • -
  • canResume (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0KIO.filesize_t
    -

  • -
  • connectFinished () -
    -
    returns nothing

  • -
  • connected () -
    -
    returns nothing

  • -
  • connection () -
    -
    returns (KIO.Connection)

  • -
  • data (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0TQByteArray
    -

  • -
  • dataReq () -
    -
    returns nothing

  • -
  • delAuthorization (grpkey) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    grpkeyTQCString
    -

  • -
  • dispatch () -
    -
    returns (bool)

  • -
  • dispatch (_cmd, data) -
    -
    returns (bool)
    - - -
    ArgumentTypeDefault
    _cmdint
    dataTQByteArray
    -

  • -
  • dropNetwork (a0, a1) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    a0TQString
    a1TQString
    -

  • -
  • error (a0, a1) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    a0int
    a1TQString
    -

  • -
  • errorPage () -
    -
    returns nothing

  • -
  • finished () -
    -
    returns nothing

  • -
  • infoMessage (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0TQString
    -

  • -
  • listEntries (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0KIO.UDSEntryList
    -

  • -
  • messageBox (type, text, caption, buttonYes, buttonNo) -
    -
    returns nothing
    - - - - - -
    ArgumentTypeDefault
    typeint
    textTQString
    captionTQString
    buttonYesTQString
    buttonNoTQString
    -

  • -
  • messageBox (type, text, caption, buttonYes, buttonNo, dontAskAgainName) -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only
    - - - - - - -
    ArgumentTypeDefault
    typeint
    textTQString
    captionTQString
    buttonYesTQString
    buttonNoTQString
    dontAskAgainNameTQString
    -

  • -
  • metaData (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0KIO.MetaData
    -

  • -
  • mimeType (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0TQString
    -

  • -
  • needProgressId () -
    -
    returns nothing

  • -
  • needSubURLData () -
    -
    returns nothing

  • -
  • offset () -
    -
    returns (KIO.filesize_t)

  • -
  • openPassDlg (info) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    infoKIO.AuthInfo
    -

  • -
  • openPassDlg (prompt, user, caption, comment, label, readOnly) -
    -
    returns nothing
    - - - - - - -
    ArgumentTypeDefault
    promptTQString
    userTQString
    captionTQString
    commentTQString
    labelTQString
    readOnlybool
    -

  • -
  • openPassDlg (prompt, user, readOnly) -
    -
    returns nothing
    - - - -
    ArgumentTypeDefault
    promptTQString
    userTQString
    readOnlybool
    -

  • -
  • processedSize (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0KIO.filesize_t
    -

  • -
  • progressId () -
    -
    returns (int)

  • -
  • redirection (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0KURL
    -

  • -
  • requestNetwork (a0, a1) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    a0TQString
    a1TQString
    -

  • -
  • sendResumeAnswer (resume) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    resumebool
    -

  • -
  • setConnection (connection) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    connectionKIO.Connection
    -

  • -
  • setOffset (offset) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    offsetKIO.filesize_t
    -

  • -
  • setProgressId (id) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    idint
    -

  • -
  • sigpipe_handler (a0) -
    - -
    returns nothing
    static
    - -
    ArgumentTypeDefault
    a0int
    -

  • -
  • slaveStatus (a0, a1, a2, a3) -
    -
    returns nothing
    - - - - -
    ArgumentTypeDefault
    a0pid_t
    a1TQCString
    a2TQString
    a3bool
    -

  • -
  • speed (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0ulong
    -

  • -
  • statEntry (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0KIO.UDSEntry
    -

  • -
  • totalSize (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0KIO.filesize_t
    -

  • -
  • warning (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0TQString
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kio/KIO.StatJob.html b/python/pykde/doc/classref/kio/KIO.StatJob.html deleted file mode 100644 index ac1ef454..00000000 --- a/python/pykde/doc/classref/kio/KIO.StatJob.html +++ /dev/null @@ -1,109 +0,0 @@ - - - - - class KIO.StatJob - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KIO.StatJob


-
- - - - - -
Table of contents
Modules
kio Classes
All Classes
-
- - - - - - - - - - -
Modulekio
ClassKIO.StatJob
InheritsKIO.SimpleJob
-

methods

    -
  • StatJob (url, command, packedArgs, showProgressInfo) -
    -
    returns a StatJob instance
    - - - - -
    ArgumentTypeDefault
    urlKURL
    commandint
    packedArgsTQByteArray
    showProgressInfobool
    -

  • -
  • permanentRedirection (job, fromUrl, toUrl) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - - - -
    ArgumentTypeDefault
    jobKIO.Job
    fromUrlKURL
    toUrlKURL
    -

  • -
  • redirection (job, url) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    jobKIO.Job
    urlKURL
    -

  • -
  • setDetails (details) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    detailsshort
    -

  • -
  • setSide (source) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    sourcebool
    -

  • -
  • slotFinished () -
    -
    returns nothing

  • -
  • slotMetaData (_metaData) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    _metaDataKIO.MetaData
    -

  • -
  • slotRedirection (url) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    urlKURL
    -

  • -
  • slotStatEntry (entry) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    entryKIO.UDSEntry
    -

  • -
  • start (slave) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    slaveKIO.Slave
    -

  • -
  • statResult () -
    -
    returns (KIO.UDSEntry)

  • -
- - - diff --git a/python/pykde/doc/classref/kio/KIO.StatusbarProgress.html b/python/pykde/doc/classref/kio/KIO.StatusbarProgress.html deleted file mode 100644 index 011302d7..00000000 --- a/python/pykde/doc/classref/kio/KIO.StatusbarProgress.html +++ /dev/null @@ -1,88 +0,0 @@ - - - - - class KIO.StatusbarProgress - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KIO.StatusbarProgress


-
- - - - - -
Table of contents
Modules
kio Classes
All Classes
-
- - - - - - - - - - -
Modulekio
ClassKIO.StatusbarProgress
InheritsKIO.ProgressBase
-

methods

    -
  • StatusbarProgress (parent, button = 1) -
    -
    returns a StatusbarProgress instance
    - - -
    ArgumentTypeDefault
    parentTQWidget
    buttonbool1
    -

  • -
  • eventFilter (a0, a1) -
    -
    returns (bool)
    - - -
    ArgumentTypeDefault
    a0TQObject
    a1TQEvent
    -

  • -
  • setJob (job) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    jobKIO.Job
    -

  • -
  • setMode () -
    -
    returns nothing

  • -
  • slotClean () -
    -
    returns nothing

  • -
  • slotPercent (job, percent) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    jobKIO.Job
    percentulong
    -

  • -
  • slotSpeed (job, speed) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    jobKIO.Job
    speedulong
    -

  • -
  • slotTotalSize (job, size) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    jobKIO.Job
    sizeKIO.filesize_t
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kio/KIO.StoredTransferJob.html b/python/pykde/doc/classref/kio/KIO.StoredTransferJob.html deleted file mode 100644 index e95d2fc2..00000000 --- a/python/pykde/doc/classref/kio/KIO.StoredTransferJob.html +++ /dev/null @@ -1,63 +0,0 @@ - - - - - class KIO.StoredTransferJob - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KIO.StoredTransferJob


-
- - - - - -
Table of contents
Modules
kio Classes
All Classes
-
- - - - - - - - - - -
Modulekio
ClassKIO.StoredTransferJob
InheritsKIO.TransferJob
-

methods

    -
  • StoredTransferJob (url, command, packedArgs, _staticData, showProgressInfo) -
    - -
    returns a StoredTransferJob instance
    In versions KDE 3.3.0 and above only
    - - - - - -
    ArgumentTypeDefault
    urlKURL
    commandint
    packedArgsTQByteArray
    _staticDataTQByteArray
    showProgressInfobool
    -

  • -
  • data () -
    - -
    returns (TQByteArray)
    In versions KDE 3.3.0 and above only

  • -
  • setData (arr) -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only
    - -
    ArgumentTypeDefault
    arrTQByteArray
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kio/KIO.TCPSlaveBase.html b/python/pykde/doc/classref/kio/KIO.TCPSlaveBase.html deleted file mode 100644 index f13b3111..00000000 --- a/python/pykde/doc/classref/kio/KIO.TCPSlaveBase.html +++ /dev/null @@ -1,230 +0,0 @@ - - - - - class KIO.TCPSlaveBase - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KIO.TCPSlaveBase


-
- - - - - -
Table of contents
Modules
kio Classes
All Classes
-
- - - - - - - - - - -
Modulekio
ClassKIO.TCPSlaveBase
InheritsKIO.SlaveBase
-

methods

    -
  • AtEOF () -
    -
    returns (bool)

  • -
  • CleanSSL () -
    -
    returns nothing

  • -
  • CloseDescriptor () -
    -
    returns nothing

  • -
  • ConnectToHost (host, port, sendError) -
    -
    returns (bool)
    - - - -
    ArgumentTypeDefault
    hostTQString
    portuint
    sendErrorbool
    -

  • -
  • GetPort (p) -
    -
    returns (ushort)
    - -
    ArgumentTypeDefault
    pushort
    -

  • -
  • InitializeSSL () -
    -
    returns (bool)

  • -
  • Read (data, len) -
    -
    returns (ssize_t)
    - - -
    ArgumentTypeDefault
    datavoid
    lenssize_t
    -

  • -
  • ReadLine (data, len) -
    -
    returns (ssize_t)
    - - -
    ArgumentTypeDefault
    datachar
    lenssize_t
    -

  • -
  • TCPSlaveBase (defaultPort, protocol, poolSocket, appSocket) -
    -
    returns a TCPSlaveBase instance
    - - - - -
    ArgumentTypeDefault
    defaultPortushort
    protocolTQCString
    poolSocketTQCString
    appSocketTQCString
    -

  • -
  • TCPSlaveBase (defaultPort, protocol, poolSocket, appSocket, useSSL) -
    -
    returns a TCPSlaveBase instance
    - - - - - -
    ArgumentTypeDefault
    defaultPortushort
    protocolTQCString
    poolSocketTQCString
    appSocketTQCString
    useSSLbool
    -

  • -
  • Write (data, len) -
    -
    returns (ssize_t)
    - - -
    ArgumentTypeDefault
    datavoid
    lenssize_t
    -

  • -
  • atEnd () -
    -
    returns (bool)

  • -
  • canUseTLS () -
    -
    returns (bool)

  • -
  • certificatePrompt () -
    -
    returns nothing

  • -
  • cleanSSL () -
    -
    returns nothing

  • -
  • closeDescriptor () -
    -
    returns nothing

  • -
  • connectResult () -
    -
    returns (int)

  • -
  • connectToHost (host, port, sendError = 1) -
    -
    returns (bool)
    - - - -
    ArgumentTypeDefault
    hostTQString
    portuint
    sendErrorbool1
    -

  • -
  • doConstructorStuff () -
    -
    returns nothing

  • -
  • initializeSSL () -
    -
    returns (bool)

  • -
  • isConnectionValid () -
    -
    returns (bool)

  • -
  • isSSLTunnelEnabled () -
    -
    returns (bool)

  • -
  • port (_port) -
    -
    returns (ushort)
    - -
    ArgumentTypeDefault
    _portushort
    -

  • -
  • read (data, len) -
    -
    returns (ssize_t)
    - - -
    ArgumentTypeDefault
    datavoid
    lenssize_t
    -

  • -
  • readLine (data, len) -
    -
    returns (ssize_t)
    - - -
    ArgumentTypeDefault
    datachar
    lenssize_t
    -

  • -
  • setBlockConnection (b) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    bbool
    -

  • -
  • setBlockSize (sz) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    szint
    -

  • -
  • setConnectTimeout (t) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    tint
    -

  • -
  • setEnableSSLTunnel (enable) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    enablebool
    -

  • -
  • setRealHost (realHost) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    realHostTQString
    -

  • -
  • setSSLMetaData () -
    -
    returns nothing

  • -
  • startTLS () -
    -
    returns (int)

  • -
  • stopTLS () -
    -
    returns nothing

  • -
  • userAborted () -
    -
    returns (bool)

  • -
  • usingSSL () -
    - -
    returns (bool)
    In versions KDE 3.2.0 and above only

  • -
  • usingTLS () -
    -
    returns (bool)

  • -
  • verifyCertificate () -
    -
    returns (int)

  • -
  • waitForResponse (t) -
    -
    returns (bool)
    - -
    ArgumentTypeDefault
    tint
    -

  • -
  • write (data, len) -
    -
    returns (ssize_t)
    - - -
    ArgumentTypeDefault
    datavoid
    lenssize_t
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kio/KIO.Task.html b/python/pykde/doc/classref/kio/KIO.Task.html deleted file mode 100644 index fcb38dd7..00000000 --- a/python/pykde/doc/classref/kio/KIO.Task.html +++ /dev/null @@ -1,44 +0,0 @@ - - - - - class KIO.Task - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KIO.Task


-
- - - - - -
Table of contents
Modules
kio Classes
All Classes
-
- - - - - - - - - - -
Modulekio
ClassKIO.Task
Inherits
-

variables

  • -variables - - -
    VariableType
    cmdint
    dataTQByteArray
- - - diff --git a/python/pykde/doc/classref/kio/KIO.TransferJob.html b/python/pykde/doc/classref/kio/KIO.TransferJob.html deleted file mode 100644 index 71b1b9c1..00000000 --- a/python/pykde/doc/classref/kio/KIO.TransferJob.html +++ /dev/null @@ -1,198 +0,0 @@ - - - - - class KIO.TransferJob - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KIO.TransferJob


-
- - - - - -
Table of contents
Modules
kio Classes
All Classes
-
- - - - - - - - - - -
Modulekio
ClassKIO.TransferJob
InheritsKIO.SimpleJob
-

methods

    -
  • TransferJob (url, command, packedArgs, _staticData, showProgressInfo) -
    -
    returns a TransferJob instance
    - - - - - -
    ArgumentTypeDefault
    urlKURL
    commandint
    packedArgsTQByteArray
    _staticDataTQByteArray
    showProgressInfobool
    -

  • -
  • canResume (job, offset) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    jobKIO.Job
    offsetKIO.filesize_t
    -

  • -
  • data (job, data) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    jobKIO.Job
    dataTQByteArray
    -

  • -
  • dataReq (job, data) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    jobKIO.Job
    dataTQByteArray
    -

  • -
  • isErrorPage () -
    -
    returns (bool)

  • -
  • isSuspended () -
    -
    returns (bool)

  • -
  • mimetype (job, type) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    jobKIO.Job
    typeTQString
    -

  • -
  • permanentRedirection (job, fromUrl, toUrl) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - - - -
    ArgumentTypeDefault
    jobKIO.Job
    fromUrlKURL
    toUrlKURL
    -

  • -
  • redirection (job, url) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    jobKIO.Job
    urlKURL
    -

  • -
  • reportDataSent () -
    - -
    returns (bool)
    In versions KDE 3.2.0 and above only

  • -
  • resume () -
    -
    returns nothing

  • -
  • sendAsyncData (data) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    dataTQByteArray
    -

  • -
  • setAsyncDataEnabled (enabled) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    enabledbool
    -

  • -
  • setReportDataSent (enabled) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    enabledbool
    -

  • -
  • slotCanResume (offset) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    offsetKIO.filesize_t
    -

  • -
  • slotData (data) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    dataTQByteArray
    -

  • -
  • slotDataReq () -
    -
    returns nothing

  • -
  • slotErrorPage () -
    -
    returns nothing

  • -
  • slotFinished () -
    -
    returns nothing

  • -
  • slotMetaData (_metaData) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    _metaDataKIO.MetaData
    -

  • -
  • slotMimetype (mimetype) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    mimetypeTQString
    -

  • -
  • slotNeedSubURLData () -
    -
    returns nothing

  • -
  • slotPostRedirection () -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only

  • -
  • slotRedirection (url) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    urlKURL
    -

  • -
  • slotResult (job) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    jobKIO.Job
    -

  • -
  • slotSubURLData (a0, a1) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    a0KIO.Job
    a1TQByteArray
    -

  • -
  • start (slave) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    slaveKIO.Slave
    -

  • -
  • suspend () -
    -
    returns nothing

  • -
- - - diff --git a/python/pykde/doc/classref/kio/KIO.UDSAtom.html b/python/pykde/doc/classref/kio/KIO.UDSAtom.html deleted file mode 100644 index 74497e54..00000000 --- a/python/pykde/doc/classref/kio/KIO.UDSAtom.html +++ /dev/null @@ -1,45 +0,0 @@ - - - - - class KIO.UDSAtom - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KIO.UDSAtom


-
- - - - - -
Table of contents
Modules
kio Classes
All Classes
-
- - - - - - - - - - -
Modulekio
ClassKIO.UDSAtom
Inherits
-

variables

  • -variables - - - -
    VariableType
    m_longlong
    m_strTQString
    m_udsuint
- - - diff --git a/python/pykde/doc/classref/kio/KIO.html b/python/pykde/doc/classref/kio/KIO.html deleted file mode 100644 index df3ae6a6..00000000 --- a/python/pykde/doc/classref/kio/KIO.html +++ /dev/null @@ -1,645 +0,0 @@ - - - - - class KIO - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KIO


-
- - - - - -
Table of contents
Modules
kio Classes
All Classes
-
- - - - - - - - - - -
Modulekio
ClassKIO
Inherits
-

classes

-

enums

    -
  • CacheControl = {CC_CacheOnly, CC_Cache, CC_Verify, CC_Reload -}
  • CacheControl = {CC_CacheOnly, CC_Cache, CC_Verify, CC_Reload -}
  • Command = {CMD_HOST, CMD_CONNECT, CMD_DISCONNECT, CMD_SLAVE_STATUS, CMD_SLAVE_CONNECT, CMD_SLAVE_HOLD, CMD_NONE, CMD_TESTDIR, CMD_GET, CMD_PUT, CMD_STAT, CMD_MIMETYPE, CMD_LISTDIR, CMD_MKDIR, CMD_RENAME, CMD_COPY, CMD_DEL, CMD_CHMOD, CMD_SPECIAL, CMD_USERPASS, CMD_REPARSECONFIGURATION, CMD_META_DATA, CMD_SYMLINK, CMD_SUBURL, CMD_MESSAGEBOXANSWER, CMD_RESUMEANSWER, CMD_CONFIG, CMD_MULTI_GET -}
  • Command = {CMD_HOST, CMD_CONNECT, CMD_DISCONNECT, CMD_SLAVE_STATUS, CMD_SLAVE_CONNECT, CMD_SLAVE_HOLD, CMD_NONE, CMD_TESTDIR, CMD_GET, CMD_PUT, CMD_STAT, CMD_MIMETYPE, CMD_LISTDIR, CMD_MKDIR, CMD_RENAME, CMD_COPY, CMD_DEL, CMD_CHMOD, CMD_SPECIAL, CMD_USERPASS, CMD_REPARSECONFIGURATION, CMD_META_DATA, CMD_SYMLINK, CMD_SUBURL, CMD_MESSAGEBOXANSWER, CMD_RESUMEANSWER, CMD_CONFIG, CMD_MULTI_GET -}
  • Error = {ERR_CANNOT_OPEN_FOR_READING, ERR_CANNOT_OPEN_FOR_WRITING, ERR_CANNOT_LAUNCH_PROCESS, ERR_INTERNAL, ERR_MALFORMED_URL, ERR_UNSUPPORTED_PROTOCOL, ERR_NO_SOURCE_PROTOCOL, ERR_UNSUPPORTED_ACTION, ERR_IS_DIRECTORY, ERR_IS_FILE, ERR_DOES_NOT_EXIST, ERR_FILE_ALREADY_EXIST, ERR_DIR_ALREADY_EXIST, ERR_UNKNOWN_HOST, ERR_ACCESS_DENIED, ERR_WRITE_ACCESS_DENIED, ERR_CANNOT_ENTER_DIRECTORY, ERR_PROTOCOL_IS_NOT_A_FILESYSTEM, ERR_CYCLIC_LINK, ERR_USER_CANCELED, ERR_CYCLIC_COPY, ERR_COULD_NOT_CREATE_SOCKET, ERR_COULD_NOT_CONNECT, ERR_CONNECTION_BROKEN, ERR_NOT_FILTER_PROTOCOL, ERR_COULD_NOT_MOUNT, ERR_COULD_NOT_UNMOUNT, ERR_COULD_NOT_READ, ERR_COULD_NOT_WRITE, ERR_COULD_NOT_BIND, ERR_COULD_NOT_LISTEN, ERR_COULD_NOT_ACCEPT, ERR_COULD_NOT_LOGIN, ERR_COULD_NOT_STAT, ERR_COULD_NOT_CLOSEDIR, ERR_COULD_NOT_MKDIR, ERR_COULD_NOT_RMDIR, ERR_CANNOT_RESUME, ERR_CANNOT_RENAME, ERR_CANNOT_CHMOD, ERR_CANNOT_DELETE, ERR_SLAVE_DIED, ERR_OUT_OF_MEMORY, ERR_UNKNOWN_PROXY_HOST, ERR_COULD_NOT_AUTHENTICATE, ERR_ABORTED, ERR_INTERNAL_SERVER, ERR_SERVER_TIMEOUT, ERR_SERVICE_NOT_AVAILABLE, ERR_UNKNOWN, ERR_UNKNOWN_INTERRUPT, ERR_CANNOT_DELETE_ORIGINAL, ERR_CANNOT_DELETE_PARTIAL, ERR_CANNOT_RENAME_ORIGINAL, ERR_CANNOT_RENAME_PARTIAL, ERR_NEED_PASSWD, ERR_CANNOT_SYMLINK, ERR_NO_CONTENT, ERR_DISK_FULL, ERR_IDENTICAL_FILES, ERR_SLAVE_DEFINED -}
  • Error = {ERR_CANNOT_OPEN_FOR_READING, ERR_CANNOT_OPEN_FOR_WRITING, ERR_CANNOT_LAUNCH_PROCESS, ERR_INTERNAL, ERR_MALFORMED_URL, ERR_UNSUPPORTED_PROTOCOL, ERR_NO_SOURCE_PROTOCOL, ERR_UNSUPPORTED_ACTION, ERR_IS_DIRECTORY, ERR_IS_FILE, ERR_DOES_NOT_EXIST, ERR_FILE_ALREADY_EXIST, ERR_DIR_ALREADY_EXIST, ERR_UNKNOWN_HOST, ERR_ACCESS_DENIED, ERR_WRITE_ACCESS_DENIED, ERR_CANNOT_ENTER_DIRECTORY, ERR_PROTOCOL_IS_NOT_A_FILESYSTEM, ERR_CYCLIC_LINK, ERR_USER_CANCELED, ERR_CYCLIC_COPY, ERR_COULD_NOT_CREATE_SOCKET, ERR_COULD_NOT_CONNECT, ERR_CONNECTION_BROKEN, ERR_NOT_FILTER_PROTOCOL, ERR_COULD_NOT_MOUNT, ERR_COULD_NOT_UNMOUNT, ERR_COULD_NOT_READ, ERR_COULD_NOT_WRITE, ERR_COULD_NOT_BIND, ERR_COULD_NOT_LISTEN, ERR_COULD_NOT_ACCEPT, ERR_COULD_NOT_LOGIN, ERR_COULD_NOT_STAT, ERR_COULD_NOT_CLOSEDIR, ERR_COULD_NOT_MKDIR, ERR_COULD_NOT_RMDIR, ERR_CANNOT_RESUME, ERR_CANNOT_RENAME, ERR_CANNOT_CHMOD, ERR_CANNOT_DELETE, ERR_SLAVE_DIED, ERR_OUT_OF_MEMORY, ERR_UNKNOWN_PROXY_HOST, ERR_COULD_NOT_AUTHENTICATE, ERR_ABORTED, ERR_INTERNAL_SERVER, ERR_SERVER_TIMEOUT, ERR_SERVICE_NOT_AVAILABLE, ERR_UNKNOWN, ERR_UNKNOWN_INTERRUPT, ERR_CANNOT_DELETE_ORIGINAL, ERR_CANNOT_DELETE_PARTIAL, ERR_CANNOT_RENAME_ORIGINAL, ERR_CANNOT_RENAME_PARTIAL, ERR_NEED_PASSWD, ERR_CANNOT_SYMLINK, ERR_NO_CONTENT, ERR_DISK_FULL, ERR_IDENTICAL_FILES, ERR_SLAVE_DEFINED -}
  • FileSystemFlag = {SupportsChmod, SupportsChown, SupportsUTime, SupportsSymlinks, CaseInsensitive -}
  • Info = {INF_TOTAL_SIZE, INF_PROCESSED_SIZE, INF_SPEED, INF_REDIRECTION, INF_MIME_TYPE, INF_ERROR_PAGE, INF_WARNING, INF_GETTING_FILE, INF_NEED_PASSWD, INF_INFOMESSAGE, INF_META_DATA, INF_NETWORK_STATUS, INF_MESSAGEBOX -}
  • Message = {MSG_DATA, MSG_DATA_REQ, MSG_ERROR, MSG_CONNECTED, MSG_FINISHED, MSG_STAT_ENTRY, MSG_LIST_ENTRIES, MSG_RENAMED, MSG_RESUME, MSG_SLAVE_STATUS, MSG_SLAVE_ACK, MSG_NET_REQUEST, MSG_NET_DROP, MSG_NEED_SUBURL_DATA, MSG_CANRESUME, MSG_AUTH_KEY, MSG_DEL_AUTH_KEY -}
  • Progress = {DEFAULT, STATUSBAR, LIST -}
  • RenameDlg_Mode = {M_OVERWRITE, M_OVERWRITE_ITSELF, M_SKIP, M_SINGLE, M_MULTI, M_RESUME, M_NORENAME -}
  • RenameDlg_Result = {R_RESUME, R_RESUME_ALL, R_OVERWRITE, R_OVERWRITE_ALL, R_SKIP, R_AUTO_SKIP, R_RENAME, R_CANCEL -}
  • SkipDlg_Result = {S_SKIP, S_AUTO_SKIP, S_CANCEL -}
  • UDSAtomTypes = {UDS_STRING, UDS_LONG, UDS_TIME, UDS_SIZE, UDS_SIZE_LARGE, UDS_USER, UDS_GROUP, UDS_NAME, UDS_ACCESS, UDS_MODIFICATION_TIME, UDS_ACCESS_TIME, UDS_CREATION_TIME, UDS_FILE_TYPE, UDS_LINK_DEST, UDS_URL, UDS_MIME_TYPE, UDS_GUESSED_MIME_TYPE -}
  • UDSAtomTypes = {UDS_STRING, UDS_LONG, UDS_TIME, UDS_SIZE, UDS_SIZE_LARGE, UDS_USER, UDS_GROUP, UDS_NAME, UDS_ACCESS, UDS_MODIFICATION_TIME, UDS_ACCESS_TIME, UDS_CREATION_TIME, UDS_FILE_TYPE, UDS_LINK_DEST, UDS_URL, UDS_MIME_TYPE, UDS_GUESSED_MIME_TYPE -}
  • UDSAtomTypes = {UDS_STRING, UDS_LONG, UDS_TIME, UDS_SIZE, UDS_SIZE_LARGE, UDS_USER, UDS_GROUP, UDS_NAME, UDS_ACCESS, UDS_MODIFICATION_TIME, UDS_ACCESS_TIME, UDS_CREATION_TIME, UDS_FILE_TYPE, UDS_LINK_DEST, UDS_URL, UDS_MIME_TYPE, UDS_GUESSED_MIME_TYPE -}
  • UDSAtomTypes = {UDS_STRING, UDS_LONG, UDS_TIME, UDS_SIZE, UDS_SIZE_LARGE, UDS_USER, UDS_GROUP, UDS_NAME, UDS_ACCESS, UDS_MODIFICATION_TIME, UDS_ACCESS_TIME, UDS_CREATION_TIME, UDS_FILE_TYPE, UDS_LINK_DEST, UDS_URL, UDS_MIME_TYPE, UDS_GUESSED_MIME_TYPE -}
  • UDSAtomTypes = {UDS_STRING, UDS_LONG, UDS_TIME, UDS_SIZE, UDS_SIZE_LARGE, UDS_USER, UDS_GROUP, UDS_NAME, UDS_ACCESS, UDS_MODIFICATION_TIME, UDS_ACCESS_TIME, UDS_CREATION_TIME, UDS_FILE_TYPE, UDS_LINK_DEST, UDS_URL, UDS_MIME_TYPE, UDS_GUESSED_MIME_TYPE -}
-

methods

    -
  • buildErrorString (errorCode, errorText) -
    -
    returns (TQString)
    - - -
    ArgumentTypeDefault
    errorCodeint
    errorTextTQString
    -

  • -
  • buildHTMLErrorString (errorCode, errorText, reqUrl = 0, method = -1) -
    Not Implemented
    -

  • -
  • calculateRemaining (totalSize, processedSize, speed) -
    -
    returns (TQTime)
    - - - -
    ArgumentTypeDefault
    totalSizeKIO.filesize_t
    processedSizeKIO.filesize_t
    speedKIO.filesize_t
    -

  • -
  • calculateRemainingSeconds (totalSize, processedSize, speed) -
    - -
    returns (uint)
    In versions KDE 3.4.0 and above only
    - - - -
    ArgumentTypeDefault
    totalSizeKIO.filesize_t
    processedSizeKIO.filesize_t
    speedKIO.filesize_t
    -

  • -
  • chmod (url, permissions) -
    -
    returns (KIO.SimpleJob)
    - - -
    ArgumentTypeDefault
    urlKURL
    permissionsint
    -

  • -
  • chmod (url, permissions) -
    -
    returns (KIO.SimpleJob)
    - - -
    ArgumentTypeDefault
    urlKURL
    permissionsint
    -

  • -
  • convertSeconds (seconds) -
    - -
    returns (TQString)
    In versions KDE 3.4.0 and above only
    - -
    ArgumentTypeDefault
    secondsuint
    -

  • -
  • convertSize (size) -
    -
    returns (TQString)
    - -
    ArgumentTypeDefault
    sizeKIO.filesize_t
    -

  • -
  • convertSizeFromKB (kbSize) -
    -
    returns (TQString)
    - -
    ArgumentTypeDefault
    kbSizeKIO.filesize_t
    -

  • -
  • convertSizeWithBytes (size) -
    - -
    returns (TQString)
    In versions KDE 3.5.0 and above only
    - -
    ArgumentTypeDefault
    sizeKIO.filesize_t
    -

  • -
  • copy (src, dest, showProgressInfo = 1) -
    -
    returns (KIO.CopyJob)
    - - - -
    ArgumentTypeDefault
    srcKURL.List
    destKURL
    showProgressInfobool1
    -

  • -
  • copy (src, dest, showProgressInfo = 1) -
    -
    returns (KIO.CopyJob)
    - - - -
    ArgumentTypeDefault
    srcKURL.List
    destKURL
    showProgressInfobool1
    -

  • -
  • copyAs (src, dest, showProgressInfo = 1) -
    -
    returns (KIO.CopyJob)
    - - - -
    ArgumentTypeDefault
    srcKURL
    destKURL
    showProgressInfobool1
    -

  • -
  • davPropFind (url, properties, depth, showProgressInfo = 1) -
    - -
    returns (KIO.DavJob)
    In versions KDE 3.1.0 and above only
    - - - - -
    ArgumentTypeDefault
    urlKURL
    propertiesTQDomDocument
    depthTQString
    showProgressInfobool1
    -

  • -
  • davPropPatch (url, properties, showProgressInfo = 1) -
    - -
    returns (KIO.DavJob)
    In versions KDE 3.1.0 and above only
    - - - -
    ArgumentTypeDefault
    urlKURL
    propertiesTQDomDocument
    showProgressInfobool1
    -

  • -
  • davSearch (url, nsURI, qName, query, showProgressInfo = 1) -
    - -
    returns (KIO.DavJob)
    In versions KDE 3.1.0 and above only
    - - - - - -
    ArgumentTypeDefault
    urlKURL
    nsURITQString
    qNameTQString
    queryTQString
    showProgressInfobool1
    -

  • -
  • decodeFileName (str) -
    -
    returns (TQString)
    - -
    ArgumentTypeDefault
    strTQString
    -

  • -
  • del_ (src, shred = 0, showProgressInfo = 1) -
    - -
    returns (KIO.DeleteJob)
    Renamed: was ' del -' in C++
    - - - -
    ArgumentTypeDefault
    srcKURL.List
    shredbool0
    showProgressInfobool1
    -

  • -
  • del_ (src, shred = 0, showProgressInfo = 1) -
    - -
    returns (KIO.DeleteJob)
    Renamed: was ' del -' in C++
    - - - -
    ArgumentTypeDefault
    srcKURL.List
    shredbool0
    showProgressInfobool1
    -

  • -
  • encodeFileName (str) -
    -
    returns (TQString)
    - -
    ArgumentTypeDefault
    strTQString
    -

  • -
  • fileMetaInfo (items) -
    - -
    returns (KIO.MetaInfoJob)
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    itemsKURL.List
    -

  • -
  • fileMetaInfo (items) -
    - -
    returns (KIO.MetaInfoJob)
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    itemsKURL.List
    -

  • -
  • filePreview (items, width, height = 0, iconSize = 0, iconAlpha = 70, scale = 1, save = 1, enabledPlugins = 0) -
    -
    returns (KIO.PreviewJob)
    - - - - - - - - -
    ArgumentTypeDefault
    itemsKURL.List
    widthint
    heightint0
    iconSizeint0
    iconAlphaint70
    scalebool1
    savebool1
    enabledPluginsTQStringList0
    -

  • -
  • filePreview (items, width, height = 0, iconSize = 0, iconAlpha = 70, scale = 1, save = 1, enabledPlugins = 0) -
    -
    returns (KIO.PreviewJob)
    - - - - - - - - -
    ArgumentTypeDefault
    itemsKURL.List
    widthint
    heightint0
    iconSizeint0
    iconAlphaint70
    scalebool1
    savebool1
    enabledPluginsTQStringList0
    -

  • -
  • file_copy (src, dest, permissions = -1, overwrite = 0, resume = 0, showProgressInfo = 1) -
    -
    returns (KIO.FileCopyJob)
    - - - - - - -
    ArgumentTypeDefault
    srcKURL
    destKURL
    permissionsint-1
    overwritebool0
    resumebool0
    showProgressInfobool1
    -

  • -
  • file_delete (src, showProgressInfo = 1) -
    -
    returns (KIO.SimpleJob)
    - - -
    ArgumentTypeDefault
    srcKURL
    showProgressInfobool1
    -

  • -
  • file_move (src, dest, permissions = -1, overwrite = 0, resume = 0, showProgressInfo = 1) -
    -
    returns (KIO.FileCopyJob)
    - - - - - - -
    ArgumentTypeDefault
    srcKURL
    destKURL
    permissionsint-1
    overwritebool0
    resumebool0
    showProgressInfobool1
    -

  • -
  • findDeviceMountPoint (device) -
    -
    returns (TQString)
    - -
    ArgumentTypeDefault
    deviceTQString
    -

  • -
  • findPathMountPoint (filename) -
    -
    returns (TQString)
    - -
    ArgumentTypeDefault
    filenameTQString
    -

  • -
  • get (url, reload = 0, showProgressInfo = 1) -
    -
    returns (KIO.TransferJob)
    - - - -
    ArgumentTypeDefault
    urlKURL
    reloadbool0
    showProgressInfobool1
    -

  • -
  • getCacheControlString (cacheControl) -
    -
    returns (TQString)
    - -
    ArgumentTypeDefault
    cacheControlKIO.CacheControl
    -

  • -
  • http_post (url, postData, showProgressInfo = 1) -
    -
    returns (KIO.TransferJob)
    - - - -
    ArgumentTypeDefault
    urlKURL
    postDataTQByteArray
    showProgressInfobool1
    -

  • -
  • http_update_cache (url, no_cache, expireDate) -
    -
    returns (KIO.SimpleJob)
    - - - -
    ArgumentTypeDefault
    urlKURL
    no_cachebool
    expireDatetime_t
    -

  • -
  • isClipboardEmpty () -
    -
    returns (bool)

  • -
  • itemsSummaryString (items, files, dirs, size, showSize) -
    -
    returns (TQString)
    - - - - - -
    ArgumentTypeDefault
    itemsuint
    filesuint
    dirsuint
    sizeKIO.filesize_t
    showSizebool
    -

  • -
  • link (src, destDir, showProgressInfo = 1) -
    -
    returns (KIO.CopyJob)
    - - - -
    ArgumentTypeDefault
    srcKURL.List
    destDirKURL
    showProgressInfobool1
    -

  • -
  • link (src, destDir, showProgressInfo = 1) -
    -
    returns (KIO.CopyJob)
    - - - -
    ArgumentTypeDefault
    srcKURL.List
    destDirKURL
    showProgressInfobool1
    -

  • -
  • linkAs (src, dest, showProgressInfo = 1) -
    -
    returns (KIO.CopyJob)
    - - - -
    ArgumentTypeDefault
    srcKURL
    destKURL
    showProgressInfobool1
    -

  • -
  • listDir (url, showProgressInfo = 1, includeHidden = 1) -
    -
    returns (KIO.ListJob)
    - - - -
    ArgumentTypeDefault
    urlKURL
    showProgressInfobool1
    includeHiddenbool1
    -

  • -
  • listRecursive (url, showProgressInfo = 1, includeHidden = 1) -
    -
    returns (KIO.ListJob)
    - - - -
    ArgumentTypeDefault
    urlKURL
    showProgressInfobool1
    includeHiddenbool1
    -

  • -
  • manually_mounted (filename) -
    - -
    returns (bool)
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    filenameTQString
    -

  • -
  • mimetype (url, showProgressInfo = 1) -
    -
    returns (KIO.MimetypeJob)
    - - -
    ArgumentTypeDefault
    urlKURL
    showProgressInfobool1
    -

  • -
  • mkdir (url, permissions = -1) -
    -
    returns (KIO.SimpleJob)
    - - -
    ArgumentTypeDefault
    urlKURL
    permissionsint-1
    -

  • -
  • mount (ro, fstype, dev, point, showProgressInfo = 1) -
    -
    returns (KIO.SimpleJob)
    - - - - - -
    ArgumentTypeDefault
    robool
    fstypechar
    devTQString
    pointTQString
    showProgressInfobool1
    -

  • -
  • move (src, dest, showProgressInfo = 1) -
    -
    returns (KIO.CopyJob)
    - - - -
    ArgumentTypeDefault
    srcKURL.List
    destKURL
    showProgressInfobool1
    -

  • -
  • move (src, dest, showProgressInfo = 1) -
    -
    returns (KIO.CopyJob)
    - - - -
    ArgumentTypeDefault
    srcKURL.List
    destKURL
    showProgressInfobool1
    -

  • -
  • moveAs (src, dest, showProgressInfo = 1) -
    -
    returns (KIO.CopyJob)
    - - - -
    ArgumentTypeDefault
    srcKURL
    destKURL
    showProgressInfobool1
    -

  • -
  • multi_get (id, url, metaData) -
    -
    returns (KIO.MultiGetJob)
    - - - -
    ArgumentTypeDefault
    idlong
    urlKURL
    metaDataKIO.MetaData
    -

  • -
  • number (size) -
    -
    returns (TQString)
    - -
    ArgumentTypeDefault
    sizeKIO.filesize_t
    -

  • -
  • open_RenameDlg (a0, a1, a2, a3, a4, a5 = -1, a6 = -1, a7 = -1, a8 = -1, a9 = -1, a10 = -1) -
    Not Implemented
    -

  • -
  • open_RenameDlg (a0, a1, a2, a3, a4, a5 = -1, a6 = -1, a7 = -1, a8 = -1, a9 = -1, a10 = -1) -
    Not Implemented
    -

  • -
  • open_SkipDlg (_multi, _error_text = TQString .null) -
    Not Implemented
    -

  • -
  • parseCacheControl (cacheControl) -
    -
    returns (KIO.CacheControl)
    - -
    ArgumentTypeDefault
    cacheControlTQString
    -

  • -
  • pasteActionText () -
    - -
    returns (TQString)
    In versions KDE 3.5.0 and above only

  • -
  • pasteClipboard (destURL, move = 0) -
    -
    returns (KIO.Job)
    - - -
    ArgumentTypeDefault
    destURLKURL
    movebool0
    -

  • -
  • pasteData (destURL, data) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    destURLKURL
    dataTQByteArray
    -

  • -
  • pasteDataAsync (destURL, data, dialogText) -
    - -
    returns (KIO.CopyJob)
    In versions KDE 3.3.0 and above only
    - - - -
    ArgumentTypeDefault
    destURLKURL
    dataTQByteArray
    dialogTextTQString
    -

  • -
  • pasteDataAsync (destURL, data, dialogText) -
    - -
    returns (KIO.CopyJob)
    In versions KDE 3.3.0 and above only
    - - - -
    ArgumentTypeDefault
    destURLKURL
    dataTQByteArray
    dialogTextTQString
    -

  • -
  • pasteMimeSource (data, destURL, dialogText, widget, clipboard = 0) -
    - -
    returns (KIO.CopyJob)
    In versions KDE 3.5.0 and above only
    - - - - - -
    ArgumentTypeDefault
    dataTQMimeSource
    destURLKURL
    dialogTextTQString
    widgetTQWidget
    clipboardbool0
    -

  • -
  • probably_slow_mounted (filename) -
    -
    returns (bool)
    - -
    ArgumentTypeDefault
    filenameTQString
    -

  • -
  • put (url, permissions, overwrite, resume, showProgressInfo = 1) -
    -
    returns (KIO.TransferJob)
    - - - - - -
    ArgumentTypeDefault
    urlKURL
    permissionsint
    overwritebool
    resumebool
    showProgressInfobool1
    -

  • -
  • rawErrorDetail (errorCode, errorText, reqUrl = 0, method = -1) -
    -
    returns (TQByteArray)
    - - - - -
    ArgumentTypeDefault
    errorCodeint
    errorTextTQString
    reqUrlKURL0
    methodint-1
    -

  • -
  • rename (src, dest, overwrite) -
    -
    returns (KIO.SimpleJob)
    - - - -
    ArgumentTypeDefault
    srcKURL
    destKURL
    overwritebool
    -

  • -
  • rmdir (url) -
    -
    returns (KIO.SimpleJob)
    - -
    ArgumentTypeDefault
    urlKURL
    -

  • -
  • special (url, data, showProgressInfo = 1) -
    -
    returns (KIO.SimpleJob)
    - - - -
    ArgumentTypeDefault
    urlKURL
    dataTQByteArray
    showProgressInfobool1
    -

  • -
  • stat (url, sideIsSource, details, showProgressInfo = 1) -
    -
    returns (KIO.StatJob)
    - - - - -
    ArgumentTypeDefault
    urlKURL
    sideIsSourcebool
    detailsshort
    showProgressInfobool1
    -

  • -
  • stat (url, sideIsSource, details, showProgressInfo = 1) -
    -
    returns (KIO.StatJob)
    - - - - -
    ArgumentTypeDefault
    urlKURL
    sideIsSourcebool
    detailsshort
    showProgressInfobool1
    -

  • -
  • storedGet (url, reload = 0, showProgressInfo = 1) -
    - -
    returns (KIO.StoredTransferJob)
    In versions KDE 3.3.0 and above only
    - - - -
    ArgumentTypeDefault
    urlKURL
    reloadbool0
    showProgressInfobool1
    -

  • -
  • storedPut (arr, url, permissions, overwrite, resume, showProgressInfo = 1) -
    - -
    returns (KIO.StoredTransferJob)
    In versions KDE 3.3.0 and above only
    - - - - - - -
    ArgumentTypeDefault
    arrTQByteArray
    urlKURL
    permissionsint
    overwritebool
    resumebool
    showProgressInfobool1
    -

  • -
  • symlink (target, dest, overwrite, showProgressInfo = 1) -
    -
    returns (KIO.SimpleJob)
    - - - - -
    ArgumentTypeDefault
    targetTQString
    destKURL
    overwritebool
    showProgressInfobool1
    -

  • -
  • testFileSystemFlag (filename, flag) -
    - -
    returns (bool)
    In versions KDE 3.2.0 and above only
    - - -
    ArgumentTypeDefault
    filenameTQString
    flagKIO.FileSystemFlag
    -

  • -
  • trash (src, showProgressInfo = 1) -
    - -
    returns (KIO.CopyJob)
    In versions KDE 3.4.0 and above only
    - - -
    ArgumentTypeDefault
    srcKURL.List
    showProgressInfobool1
    -

  • -
  • trash (src, showProgressInfo = 1) -
    - -
    returns (KIO.CopyJob)
    In versions KDE 3.4.0 and above only
    - - -
    ArgumentTypeDefault
    srcKURL.List
    showProgressInfobool1
    -

  • -
  • unmount (point, showProgressInfo = 1) -
    -
    returns (KIO.SimpleJob)
    - - -
    ArgumentTypeDefault
    pointTQString
    showProgressInfobool1
    -

  • -
  • unsupportedActionErrorString (protocol, cmd) -
    - -
    returns (TQString)
    In versions KDE 3.2.0 and above only
    - - -
    ArgumentTypeDefault
    protocolTQString
    cmdint
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kio/KImageIO.html b/python/pykde/doc/classref/kio/KImageIO.html deleted file mode 100644 index 73101473..00000000 --- a/python/pykde/doc/classref/kio/KImageIO.html +++ /dev/null @@ -1,120 +0,0 @@ - - - - - class KImageIO - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KImageIO


-
- - - - - -
Table of contents
Modules
kio Classes
All Classes
-
- - - - - - - - - - -
Modulekio
ClassKImageIO
Inherits
-

enums

    -
  • Mode = {Reading, Writing -}
-

methods

    -
  • canRead (type) -
    - -
    returns (bool)
    static
    - -
    ArgumentTypeDefault
    typeTQString
    -

  • -
  • canWrite (type) -
    - -
    returns (bool)
    static
    - -
    ArgumentTypeDefault
    typeTQString
    -

  • -
  • isSupported (_mimeType, _mode = Writing) -
    - -
    returns (bool)
    static
    - - -
    ArgumentTypeDefault
    _mimeTypeTQString
    _modeKImageIO.ModeWriting
    -

  • -
  • mimeType (_filename) -
    - -
    returns (TQString)
    static
    - -
    ArgumentTypeDefault
    _filenameTQString
    -

  • -
  • mimeTypes (mode = Writing) -
    - -
    returns (TQStringList)
    static
    - -
    ArgumentTypeDefault
    modeKImageIO.ModeWriting
    -

  • -
  • pattern (mode = Reading) -
    - -
    returns (TQString)
    static
    - -
    ArgumentTypeDefault
    modeKImageIO.ModeReading
    -

  • -
  • registerFormats () -
    - -
    returns nothing
    static

  • -
  • suffix (type) -
    - -
    returns (TQString)
    static
    - -
    ArgumentTypeDefault
    typeTQString
    -

  • -
  • type (filename) -
    - -
    returns (TQString)
    static
    - -
    ArgumentTypeDefault
    filenameTQString
    -

  • -
  • typeForMime (mimeType) -
    - - -
    returns (TQString)
    In versions KDE 3.1.0 and above only
    static
    - -
    ArgumentTypeDefault
    mimeTypeTQString
    -

  • -
  • types (mode = Writing) -
    - -
    returns (TQStringList)
    static
    - -
    ArgumentTypeDefault
    modeKImageIO.ModeWriting
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kio/KMimeMagic.html b/python/pykde/doc/classref/kio/KMimeMagic.html deleted file mode 100644 index 9502443c..00000000 --- a/python/pykde/doc/classref/kio/KMimeMagic.html +++ /dev/null @@ -1,96 +0,0 @@ - - - - - class KMimeMagic - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KMimeMagic


-
- - - - - -
Table of contents
Modules
kio Classes
All Classes
-
- - - - - - - - - - -
Modulekio
ClassKMimeMagic
Inherits
-

methods

    -
  • KMimeMagic () -
    - -
    returns a KMimeMagic instance
    In versions KDE 3.1.0 and above only

  • -
  • KMimeMagic (configFile) -
    -
    returns a KMimeMagic instance
    - -
    ArgumentTypeDefault
    configFileTQString
    -

  • -
  • findBufferFileType (a0, filename) -
    -
    returns (KMimeMagicResult)
    - - -
    ArgumentTypeDefault
    a0TQByteArray
    filenameTQString
    -

  • -
  • findBufferType (p) -
    -
    returns (KMimeMagicResult)
    - -
    ArgumentTypeDefault
    pTQByteArray
    -

  • -
  • findFileType (_filename) -
    -
    returns (KMimeMagicResult)
    - -
    ArgumentTypeDefault
    _filenameTQString
    -

  • -
  • initStatic () -
    - -
    returns nothing
    static

  • -
  • mergeBufConfig (a0) -
    -
    returns (bool)
    - -
    ArgumentTypeDefault
    a0char
    -

  • -
  • mergeConfig (configFile) -
    -
    returns (bool)
    - -
    ArgumentTypeDefault
    configFileTQString
    -

  • -
  • self () -
    - -
    returns (KMimeMagic)
    static

  • -
  • setFollowLinks (_enable) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    _enablebool
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kio/KMimeMagicResult.html b/python/pykde/doc/classref/kio/KMimeMagicResult.html deleted file mode 100644 index 7a86ff54..00000000 --- a/python/pykde/doc/classref/kio/KMimeMagicResult.html +++ /dev/null @@ -1,68 +0,0 @@ - - - - - class KMimeMagicResult - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KMimeMagicResult


-
- - - - - -
Table of contents
Modules
kio Classes
All Classes
-
- - - - - - - - - - -
Modulekio
ClassKMimeMagicResult
Inherits
-

methods

    -
  • KMimeMagicResult () -
    -
    returns a KMimeMagicResult instance

  • -
  • accuracy () -
    -
    returns (int)

  • -
  • isValid () -
    -
    returns (bool)

  • -
  • mimeType () -
    -
    returns (TQString)

  • -
  • setAccuracy (_accuracy) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    _accuracyint
    -

  • -
  • setInvalid () -
    -
    returns nothing

  • -
  • setMimeType (_mime) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    _mimeTQString
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kio/KMimeType.Format.html b/python/pykde/doc/classref/kio/KMimeType.Format.html deleted file mode 100644 index 738029d4..00000000 --- a/python/pykde/doc/classref/kio/KMimeType.Format.html +++ /dev/null @@ -1,48 +0,0 @@ - - - - - class KMimeType.Format - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KMimeType.Format


-
- - - - - -
Table of contents
Modules
kio Classes
All Classes
-
- - - - - - - - - - -
Modulekio
ClassKMimeType.Format
Inherits
-

enums

    -
  • (anonymous) = {NoCompression, GZipCompression -}
-

variables

  • -variables - - - -
    VariableType
    compressionint
    dummyint
    textbool
- - - diff --git a/python/pykde/doc/classref/kio/KMimeType.html b/python/pykde/doc/classref/kio/KMimeType.html deleted file mode 100644 index daf8b857..00000000 --- a/python/pykde/doc/classref/kio/KMimeType.html +++ /dev/null @@ -1,290 +0,0 @@ - - - - - class KMimeType - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KMimeType


-
- - - - - -
Table of contents
Modules
kio Classes
All Classes
-
- - - - - - - - - - -
Modulekio
ClassKMimeType
InheritsKServiceType
-

methods

    -
  • KMimeType (_fullpath, _type, _icon, _comment, _patterns) -
    -
    returns a KMimeType instance
    - - - - - -
    ArgumentTypeDefault
    _fullpathTQString
    _typeTQString
    _iconTQString
    _commentTQString
    _patternsTQStringList
    -

  • -
  • KMimeType (_fullpath) -
    -
    returns a KMimeType instance
    - -
    ArgumentTypeDefault
    _fullpathTQString
    -

  • -
  • KMimeType (config) -
    -
    returns a KMimeType instance
    - -
    ArgumentTypeDefault
    configKDesktopFile
    -

  • -
  • KMimeType (_str, offset) -
    -
    returns a KMimeType instance
    - - -
    ArgumentTypeDefault
    _strTQDataStream
    offsetint
    -

  • -
  • allMimeTypes () -
    - -
    returns (KMimeType.List)
    static

  • -
  • buildDefaultType () -
    - -
    returns nothing
    static

  • -
  • checkEssentialMimeTypes () -
    - -
    returns nothing
    static

  • -
  • comment () -
    -
    returns (TQString)

  • -
  • comment (a0, a1) -
    -
    returns (TQString)
    - - -
    ArgumentTypeDefault
    a0TQString
    a1bool
    -

  • -
  • comment (a0, a1) -
    -
    returns (TQString)
    - - -
    ArgumentTypeDefault
    a0KURL
    a1bool
    -

  • -
  • defaultMimeType () -
    - -
    returns (TQString)
    static

  • -
  • defaultMimeTypePtr () -
    - - -
    returns (KMimeType.Ptr)
    In versions KDE 3.2.0 and above only
    static

  • -
  • diagnoseFileName (file, pattern) -
    - - -
    returns (KMimeType.Ptr)
    In versions KDE 3.2.0 and above only
    static
    - - -
    ArgumentTypeDefault
    fileTQString
    patternTQString
    -

  • -
  • errorMissingMimeType (_type) -
    - -
    returns nothing
    static
    - -
    ArgumentTypeDefault
    _typeTQString
    -

  • -
  • favIconForURL (url) -
    - -
    returns (TQString)
    static
    - -
    ArgumentTypeDefault
    urlKURL
    -

  • -
  • findByContent (data) -
    - -
    returns (KMimeType.Ptr) accuracy (int)
    static
    - -
    ArgumentTypeDefault
    dataTQByteArray
    -

  • -
  • findByFileContent (fileName) -
    - -
    returns (KMimeType.Ptr) accuracy (int)
    static
    - -
    ArgumentTypeDefault
    fileNameTQString
    -

  • -
  • findByPath (path, mode = 0, fast_mode = 0) -
    - -
    returns (KMimeType.Ptr)
    static
    - - - -
    ArgumentTypeDefault
    pathTQString
    modemode_t0
    fast_modebool0
    -

  • -
  • findByURL (_url, _mode = 0, _is_local_file = 0, _fast_mode = 0) -
    - -
    returns (KMimeType.Ptr)
    static
    - - - - -
    ArgumentTypeDefault
    _urlKURL
    _modemode_t0
    _is_local_filebool0
    _fast_modebool0
    -

  • -
  • findByURL (_url, _mode, _is_local_file, _fast_mode) -
    - - -
    returns (KMimeType.Ptr) accurate (bool)
    In versions KDE 3.2.0 and above only
    static
    - - - - -
    ArgumentTypeDefault
    _urlKURL
    _modemode_t
    _is_local_filebool
    _fast_modebool
    -

  • -
  • findFormatByFileContent (fileName) -
    Not Implemented
    -

  • -
  • icon (a0, a1) -
    -
    returns (TQString)
    - - -
    ArgumentTypeDefault
    a0TQString
    a1bool
    -

  • -
  • icon (a0, a1) -
    -
    returns (TQString)
    - - -
    ArgumentTypeDefault
    a0KURL
    a1bool
    -

  • -
  • iconForURL (_url, _mode = 0) -
    - -
    returns (TQString)
    static
    - - -
    ArgumentTypeDefault
    _urlKURL
    _modemode_t0
    -

  • -
  • init (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0KDesktopFile
    -

  • -
  • is_ (mimeTypeName) -
    - - -
    returns (bool)
    Renamed: was ' is' in C++
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    mimeTypeNameTQString
    -

  • -
  • load (qs) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    qsTQDataStream
    -

  • -
  • loadInternal (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0TQDataStream
    -

  • -
  • mimeType (_name) -
    - -
    returns (KMimeType.Ptr)
    static
    - -
    ArgumentTypeDefault
    _nameTQString
    -

  • -
  • parentMimeType () -
    - -
    returns (TQString)
    In versions KDE 3.2.0 and above only

  • -
  • patterns () -
    -
    returns (TQStringList)

  • -
  • patternsAccuracy () -
    - -
    returns (int)
    In versions KDE 3.2.0 and above only

  • -
  • pixmap (group, force_size = 0, state = 0, path = 0) -
    -
    returns (TQPixmap)
    - - - - -
    ArgumentTypeDefault
    groupKIcon.Group
    force_sizeint0
    stateint0
    pathTQString0
    -

  • -
  • pixmap (_url, _group, _force_size = 0, _state = 0, _path = 0) -
    -
    returns (TQPixmap)
    - - - - - -
    ArgumentTypeDefault
    _urlKURL
    _groupKIcon.Group
    _force_sizeint0
    _stateint0
    _pathTQString0
    -

  • -
  • pixmapForURL (_url, _mode = 0, _group = KIcon .Desktop, _force_size = 0, _state = 0, _path = 0) -
    - -
    returns (TQPixmap)
    static
    - - - - - - -
    ArgumentTypeDefault
    _urlKURL
    _modemode_t0
    _groupKIcon.GroupKIcon .Desktop
    _force_sizeint0
    _stateint0
    _pathTQString0
    -

  • -
  • property (_name) -
    -
    returns (TQVariant)
    - -
    ArgumentTypeDefault
    _nameTQString
    -

  • -
  • propertyNames () -
    -
    returns (TQStringList)

  • -
  • save (qs) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    qsTQDataStream
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kio/KMimeTypeChooser.html b/python/pykde/doc/classref/kio/KMimeTypeChooser.html deleted file mode 100644 index 751d3abc..00000000 --- a/python/pykde/doc/classref/kio/KMimeTypeChooser.html +++ /dev/null @@ -1,69 +0,0 @@ - - - - - class KMimeTypeChooser - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KMimeTypeChooser


-
- - - - - -
Table of contents
Modules
kio Classes
All Classes
-
- - - - - - - - - - -
Modulekio
ClassKMimeTypeChooser
InheritsTQVBox
-

enums

    -
  • Visuals = {Comments, Patterns, EditButton -}
-

methods

    -
  • KMimeTypeChooser (text = TQString .null, selectedMimeTypes = 0, defaultGroup = TQString .null, groupsToShow = TQStringList (), visuals = Comments | Patterns | EditButton, parent = 0, name = 0) -
    - -
    returns a KMimeTypeChooser instance
    In versions KDE 3.3.0 and above only
    - - - - - - - -
    ArgumentTypeDefault
    textTQStringTQString .null
    selectedMimeTypesTQStringList0
    defaultGroupTQStringTQString .null
    groupsToShowTQStringListTQStringList ()
    visualsintComments | Patterns | EditButton
    parentTQWidget0
    namechar0
    -

  • -
  • editMimeType () -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only

  • -
  • mimeTypes () -
    - -
    returns (TQStringList)
    In versions KDE 3.3.0 and above only

  • -
  • patterns () -
    - -
    returns (TQStringList)
    In versions KDE 3.3.0 and above only

  • -
- - - diff --git a/python/pykde/doc/classref/kio/KMimeTypeChooserDialog.html b/python/pykde/doc/classref/kio/KMimeTypeChooserDialog.html deleted file mode 100644 index 5ce292fe..00000000 --- a/python/pykde/doc/classref/kio/KMimeTypeChooserDialog.html +++ /dev/null @@ -1,71 +0,0 @@ - - - - - class KMimeTypeChooserDialog - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KMimeTypeChooserDialog


-
- - - - - -
Table of contents
Modules
kio Classes
All Classes
-
- - - - - - - - - - -
Modulekio
ClassKMimeTypeChooserDialog
InheritsKDialogBase
-

methods

    -
  • KMimeTypeChooserDialog (caption = TQString .null, text = TQString .null, selectedMimeTypes = TQStringList (), defaultGroup = TQString .null, groupsToShow = TQStringList (), visuals = KMimeTypeChooser .Comments | KMimeTypeChooser .Patterns | KMimeTypeChooser .EditButton, parent = 0, name = 0) -
    - -
    returns a KMimeTypeChooserDialog instance
    In versions KDE 3.3.0 and above only
    - - - - - - - - -
    ArgumentTypeDefault
    captionTQStringTQString .null
    textTQStringTQString .null
    selectedMimeTypesTQStringListTQStringList ()
    defaultGroupTQStringTQString .null
    groupsToShowTQStringListTQStringList ()
    visualsintKMimeTypeChooser .Comments | KMimeTypeChooser .Patterns | KMimeTypeChooser .EditButton
    parentTQWidget0
    namechar0
    -

  • -
  • KMimeTypeChooserDialog (caption, text, selectedMimeTypes, defaultGroup, parent = 0, name = 0) -
    - -
    returns a KMimeTypeChooserDialog instance
    In versions KDE 3.3.0 and above only
    - - - - - - -
    ArgumentTypeDefault
    captionTQString
    textTQString
    selectedMimeTypesTQStringList
    defaultGroupTQString
    parentTQWidget0
    namechar0
    -

  • -
  • chooser () -
    - -
    returns (KMimeTypeChooser)
    In versions KDE 3.3.0 and above only

  • -
- - - diff --git a/python/pykde/doc/classref/kio/KNFSShare.html b/python/pykde/doc/classref/kio/KNFSShare.html deleted file mode 100644 index 14d0fa7c..00000000 --- a/python/pykde/doc/classref/kio/KNFSShare.html +++ /dev/null @@ -1,69 +0,0 @@ - - - - - class KNFSShare - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KNFSShare


-
- - - - - -
Table of contents
Modules
kio Classes
All Classes
-
- - - - - - - - - - -
Modulekio
ClassKNFSShare
InheritsTQObject
-

methods

    -
  • KNFSShare () -
    - -
    returns a KNFSShare instance
    In versions KDE 3.3.0 and above only

  • -
  • changed () -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only

  • -
  • exportsPath () -
    - -
    returns (TQString)
    In versions KDE 3.3.0 and above only

  • -
  • instance () -
    - - -
    returns (KNFSShare)
    In versions KDE 3.3.0 and above only
    static

  • -
  • isDirectoryShared (path) -
    - -
    returns (bool)
    In versions KDE 3.3.0 and above only
    - -
    ArgumentTypeDefault
    pathTQString
    -

  • -
  • sharedDirectories () -
    - -
    returns (TQStringList)
    In versions KDE 3.3.0 and above only

  • -
- - - diff --git a/python/pykde/doc/classref/kio/KOCRDialog.html b/python/pykde/doc/classref/kio/KOCRDialog.html deleted file mode 100644 index 9cce02bb..00000000 --- a/python/pykde/doc/classref/kio/KOCRDialog.html +++ /dev/null @@ -1,73 +0,0 @@ - - - - - class KOCRDialog - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KOCRDialog


-
- - - - - -
Table of contents
Modules
kio Classes
All Classes
-
- - - - - - - - - - -
Modulekio
ClassKOCRDialog
InheritsKDialogBase
-

methods

    -
  • KOCRDialog (dialogFace = Tabbed, buttonMask = Close | Help, parent = 0, name = 0, modal = 0) -
    -
    returns a KOCRDialog instance
    - - - - - -
    ArgumentTypeDefault
    dialogFaceintTabbed
    buttonMaskintClose | Help
    parentTQWidget0
    namechar0
    modalbool0
    -

  • -
  • getOCRDialog (parent = 0, name = 0, modal = 0) -
    - -
    returns (KOCRDialog)
    static
    - - - -
    ArgumentTypeDefault
    parentTQWidget0
    namechar0
    modalbool0
    -

  • -
  • id () -
    -
    returns (int)

  • -
  • nextId () -
    -
    returns (int)

  • -
  • textRecognized (text, id) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    textTQString
    idint
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kio/KOCRDialogFactory.html b/python/pykde/doc/classref/kio/KOCRDialogFactory.html deleted file mode 100644 index 1d97d203..00000000 --- a/python/pykde/doc/classref/kio/KOCRDialogFactory.html +++ /dev/null @@ -1,75 +0,0 @@ - - - - - class KOCRDialogFactory - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KOCRDialogFactory


-
- - - - - -
Table of contents
Modules
kio Classes
All Classes
-
- - - - - - - - - - -
Modulekio
ClassKOCRDialogFactory (abstract)
InheritsKLibFactory
-

methods

    -
  • KOCRDialogFactory (parent = 0, name = 0) -
    -
    returns a KOCRDialogFactory instance
    - - -
    ArgumentTypeDefault
    parentTQObject0
    namechar0
    -

  • -
  • createDialog (parent = 0, name = 0, modal = 0) = 0 -
    - -
    returns (KOCRDialog)
    pure virtual
    - - - -
    ArgumentTypeDefault
    parentTQWidget0
    namechar0
    modalbool0
    -

  • -
  • createObject (parent = 0, name = 0, classname = "TQObject", args = TQStringList ()) -
    -
    returns (TQObject)
    - - - - -
    ArgumentTypeDefault
    parentTQObject0
    namechar0
    classnamechar"TQObject"
    argsTQStringListTQStringList ()
    -

  • -
  • instance () -
    -
    returns (KInstance)

  • -
  • setName (instanceName) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    instanceNameTQCString
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kio/KOpenWithHandler.html b/python/pykde/doc/classref/kio/KOpenWithHandler.html deleted file mode 100644 index 33db6f57..00000000 --- a/python/pykde/doc/classref/kio/KOpenWithHandler.html +++ /dev/null @@ -1,48 +0,0 @@ - - - - - class KOpenWithHandler - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KOpenWithHandler


-
- - - - - -
Table of contents
Modules
kio Classes
All Classes
-
- - - - - - - - - - -
Modulekio
ClassKOpenWithHandler
Inherits
-

methods

    -
  • KOpenWithHandler () -
    -
    returns a KOpenWithHandler instance

  • -
  • exists () -
    - -
    returns (bool)
    static

  • -
- - - diff --git a/python/pykde/doc/classref/kio/KProcessRunner.html b/python/pykde/doc/classref/kio/KProcessRunner.html deleted file mode 100644 index 7c18d7ea..00000000 --- a/python/pykde/doc/classref/kio/KProcessRunner.html +++ /dev/null @@ -1,87 +0,0 @@ - - - - - class KProcessRunner - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KProcessRunner


-
- - - - - -
Table of contents
Modules
kio Classes
All Classes
-
- - - - - - - - - - -
Modulekio
ClassKProcessRunner
InheritsTQObject
-

methods

    -
  • KProcessRunner (a0, binName) -
    -
    returns a KProcessRunner instance
    - - -
    ArgumentTypeDefault
    a0KProcess
    binNameTQString
    -

  • -
  • KProcessRunner (a0, binName, id) -
    - -
    returns a KProcessRunner instance
    In versions KDE 3.1.4 and above only
    - - - -
    ArgumentTypeDefault
    a0KProcess
    binNameTQString
    idKStartupInfoId
    -

  • -
  • KProcessRunner () -
    -
    returns a KProcessRunner instance

  • -
  • pid () -
    -
    returns (pid_t)

  • -
  • run (a0, binName) -
    - -
    returns (pid_t)
    static
    - - -
    ArgumentTypeDefault
    a0KProcess
    binNameTQString
    -

  • -
  • run (a0, binName, id) -
    - - -
    returns (pid_t)
    In versions KDE 3.1.4 and above only
    static
    - - - -
    ArgumentTypeDefault
    a0KProcess
    binNameTQString
    idKStartupInfoId
    -

  • -
  • slotProcessExited (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0KProcess
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kio/KProtocolInfo.ExtraField.html b/python/pykde/doc/classref/kio/KProtocolInfo.ExtraField.html deleted file mode 100644 index eba66ecf..00000000 --- a/python/pykde/doc/classref/kio/KProtocolInfo.ExtraField.html +++ /dev/null @@ -1,58 +0,0 @@ - - - - - class KProtocolInfo.ExtraField - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KProtocolInfo.ExtraField


-
- - - - - -
Table of contents
Modules
kio Classes
All Classes
-
- - - - - - - - - - -
Modulekio
ClassKProtocolInfo.ExtraField
Inherits
-

methods

    -
  • ExtraField () -
    - -
    returns a ExtraField instance
    In versions KDE 3.2.0 and above only

  • -
  • ExtraField (_name, _type) -
    - -
    returns a ExtraField instance
    In versions KDE 3.2.0 and above only
    - - -
    ArgumentTypeDefault
    _nameTQString
    _typeTQString
    -

  • -
-

variables

  • -variables - - -
    VariableType
    nameTQString
    typeTQString
- - - diff --git a/python/pykde/doc/classref/kio/KProtocolInfo.html b/python/pykde/doc/classref/kio/KProtocolInfo.html deleted file mode 100644 index af72d251..00000000 --- a/python/pykde/doc/classref/kio/KProtocolInfo.html +++ /dev/null @@ -1,466 +0,0 @@ - - - - - class KProtocolInfo - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KProtocolInfo


-
- - - - - -
Table of contents
Modules
kio Classes
All Classes
-
- - - - - - - - - - -
Modulekio
ClassKProtocolInfo
InheritsKSycocaEntry
-

enums

    -
  • FileNameUsedForCopying = {Name, FromURL -}
  • Type = {T_STREAM, T_FILESYSTEM, T_NONE, T_ERROR -}
-

methods

    -
  • KProtocolInfo (path) -
    -
    returns a KProtocolInfo instance
    - -
    ArgumentTypeDefault
    pathTQString
    -

  • -
  • KProtocolInfo (_str, offset) -
    -
    returns a KProtocolInfo instance
    - - -
    ArgumentTypeDefault
    _strTQDataStream
    offsetint
    -

  • -
  • canCopyFromFile (url) -
    - -
    returns (bool)
    static
    - -
    ArgumentTypeDefault
    urlKURL
    -

  • -
  • canCopyFromFile (protocol) -
    - -
    returns (bool)
    static
    - -
    ArgumentTypeDefault
    protocolTQString
    -

  • -
  • canCopyToFile (url) -
    - -
    returns (bool)
    static
    - -
    ArgumentTypeDefault
    urlKURL
    -

  • -
  • canCopyToFile (protocol) -
    - -
    returns (bool)
    static
    - -
    ArgumentTypeDefault
    protocolTQString
    -

  • -
  • canDeleteRecursive (url) -
    - - -
    returns (bool)
    In versions KDE 3.4.0 and above only
    static
    - -
    ArgumentTypeDefault
    urlKURL
    -

  • -
  • canDeleteRecursive () -
    - -
    returns (bool)
    In versions KDE 3.5.1 and above only

  • -
  • canRenameFromFile (url) -
    - - -
    returns (bool)
    In versions KDE 3.4.0 and above only
    static
    - -
    ArgumentTypeDefault
    urlKURL
    -

  • -
  • canRenameFromFile () -
    - -
    returns (bool)
    In versions KDE 3.5.1 and above only

  • -
  • canRenameToFile (url) -
    - - -
    returns (bool)
    In versions KDE 3.4.0 and above only
    static
    - -
    ArgumentTypeDefault
    urlKURL
    -

  • -
  • canRenameToFile () -
    - -
    returns (bool)
    In versions KDE 3.5.1 and above only

  • -
  • capabilities (protocol) -
    - - -
    returns (TQStringList)
    In versions KDE 3.3.0 and above only
    static
    - -
    ArgumentTypeDefault
    protocolTQString
    -

  • -
  • config (protocol) -
    - -
    returns (TQString)
    static
    - -
    ArgumentTypeDefault
    protocolTQString
    -

  • -
  • defaultMimetype (url) -
    - -
    returns (TQString)
    static
    - -
    ArgumentTypeDefault
    urlKURL
    -

  • -
  • defaultMimetype (protocol) -
    - -
    returns (TQString)
    static
    - -
    ArgumentTypeDefault
    protocolTQString
    -

  • -
  • determineMimetypeFromExtension (protocol) -
    - -
    returns (bool)
    static
    - -
    ArgumentTypeDefault
    protocolTQString
    -

  • -
  • docPath (protocol) -
    - - -
    returns (TQString)
    In versions KDE 3.2.0 and above only
    static
    - -
    ArgumentTypeDefault
    protocolTQString
    -

  • -
  • exec_ (protocol) -
    - - -
    returns (TQString)
    Renamed: was ' exec' in C++
    static
    - -
    ArgumentTypeDefault
    protocolTQString
    -

  • -
  • extraFields (url) -
    - - -
    returns (KProtocolInfo.ExtraFieldList)
    In versions KDE 3.2.0 and above only
    static
    - -
    ArgumentTypeDefault
    urlKURL
    -

  • -
  • fileNameUsedForCopying (url) -
    - - -
    returns (KProtocolInfo.FileNameUsedForCopying)
    In versions KDE 3.4.0 and above only
    static
    - -
    ArgumentTypeDefault
    urlKURL
    -

  • -
  • fileNameUsedForCopying () -
    - -
    returns (KProtocolInfo.FileNameUsedForCopying)
    In versions KDE 3.5.1 and above only

  • -
  • findProtocol (url) -
    - - -
    returns (KProtocolInfo)
    In versions KDE 3.4.0 and above only
    static
    - -
    ArgumentTypeDefault
    urlKURL
    -

  • -
  • icon (protocol) -
    - -
    returns (TQString)
    static
    - -
    ArgumentTypeDefault
    protocolTQString
    -

  • -
  • inputType (url) -
    - -
    returns (KProtocolInfo.Type)
    static
    - -
    ArgumentTypeDefault
    urlKURL
    -

  • -
  • inputType (protocol) -
    - -
    returns (Type)
    static
    - -
    ArgumentTypeDefault
    protocolTQString
    -

  • -
  • isFilterProtocol (url) -
    - -
    returns (bool)
    static
    - -
    ArgumentTypeDefault
    urlKURL
    -

  • -
  • isFilterProtocol (protocol) -
    - -
    returns (bool)
    static
    - -
    ArgumentTypeDefault
    protocolTQString
    -

  • -
  • isHelperProtocol (url) -
    - -
    returns (bool)
    static
    - -
    ArgumentTypeDefault
    urlKURL
    -

  • -
  • isHelperProtocol (protocol) -
    - -
    returns (bool)
    static
    - -
    ArgumentTypeDefault
    protocolTQString
    -

  • -
  • isKnownProtocol (url) -
    - -
    returns (bool)
    static
    - -
    ArgumentTypeDefault
    urlKURL
    -

  • -
  • isKnownProtocol (protocol) -
    - -
    returns (bool)
    static
    - -
    ArgumentTypeDefault
    protocolTQString
    -

  • -
  • isSourceProtocol (url) -
    - -
    returns (bool)
    static
    - -
    ArgumentTypeDefault
    urlKURL
    -

  • -
  • isSourceProtocol (protocol) -
    - -
    returns (bool)
    static
    - -
    ArgumentTypeDefault
    protocolTQString
    -

  • -
  • isValid () -
    -
    returns (bool)

  • -
  • listing (url) -
    - -
    returns (TQStringList)
    static
    - -
    ArgumentTypeDefault
    urlKURL
    -

  • -
  • listing (protocol) -
    - -
    returns (TQStringList)
    static
    - -
    ArgumentTypeDefault
    protocolTQString
    -

  • -
  • load (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0TQDataStream
    -

  • -
  • maxSlaves (protocol) -
    - -
    returns (int)
    static
    - -
    ArgumentTypeDefault
    protocolTQString
    -

  • -
  • name () -
    -
    returns (TQString)

  • -
  • outputType (url) -
    - -
    returns (KProtocolInfo.Type)
    static
    - -
    ArgumentTypeDefault
    urlKURL
    -

  • -
  • outputType (protocol) -
    - -
    returns (Type)
    static
    - -
    ArgumentTypeDefault
    protocolTQString
    -

  • -
  • protocolClass (protocol) -
    - - -
    returns (TQString)
    In versions KDE 3.2.0 and above only
    static
    - -
    ArgumentTypeDefault
    protocolTQString
    -

  • -
  • protocols () -
    - -
    returns (TQStringList)
    static

  • -
  • proxiedBy (protocol) -
    - - -
    returns (TQString)
    In versions KDE 3.3.0 and above only
    static
    - -
    ArgumentTypeDefault
    protocolTQString
    -

  • -
  • save (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0TQDataStream
    -

  • -
  • showFilePreview (protocol) -
    - - -
    returns (bool)
    In versions KDE 3.2.0 and above only
    static
    - -
    ArgumentTypeDefault
    protocolTQString
    -

  • -
  • supportsDeleting (url) -
    - -
    returns (bool)
    static
    - -
    ArgumentTypeDefault
    urlKURL
    -

  • -
  • supportsDeleting (protocol) -
    - -
    returns (bool)
    static
    - -
    ArgumentTypeDefault
    protocolTQString
    -

  • -
  • supportsLinking (url) -
    - -
    returns (bool)
    static
    - -
    ArgumentTypeDefault
    urlKURL
    -

  • -
  • supportsLinking (protocol) -
    - -
    returns (bool)
    static
    - -
    ArgumentTypeDefault
    protocolTQString
    -

  • -
  • supportsListing (url) -
    - -
    returns (bool)
    static
    - -
    ArgumentTypeDefault
    urlKURL
    -

  • -
  • supportsListing (protocol) -
    - -
    returns (bool)
    static
    - -
    ArgumentTypeDefault
    protocolTQString
    -

  • -
  • supportsMakeDir (url) -
    - -
    returns (bool)
    static
    - -
    ArgumentTypeDefault
    urlKURL
    -

  • -
  • supportsMakeDir (protocol) -
    - -
    returns (bool)
    static
    - -
    ArgumentTypeDefault
    protocolTQString
    -

  • -
  • supportsMoving (url) -
    - -
    returns (bool)
    static
    - -
    ArgumentTypeDefault
    urlKURL
    -

  • -
  • supportsMoving (protocol) -
    - -
    returns (bool)
    static
    - -
    ArgumentTypeDefault
    protocolTQString
    -

  • -
  • supportsReading (url) -
    - -
    returns (bool)
    static
    - -
    ArgumentTypeDefault
    urlKURL
    -

  • -
  • supportsReading (protocol) -
    - -
    returns (bool)
    static
    - -
    ArgumentTypeDefault
    protocolTQString
    -

  • -
  • supportsWriting (url) -
    - -
    returns (bool)
    static
    - -
    ArgumentTypeDefault
    urlKURL
    -

  • -
  • supportsWriting (protocol) -
    - -
    returns (bool)
    static
    - -
    ArgumentTypeDefault
    protocolTQString
    -

  • -
  • uriParseMode (protocol) -
    - - -
    returns (KURL.URIMode)
    In versions KDE 3.2.0 and above only
    static
    - -
    ArgumentTypeDefault
    protocolTQString
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kio/KProtocolManager.html b/python/pykde/doc/classref/kio/KProtocolManager.html deleted file mode 100644 index b25fc7c9..00000000 --- a/python/pykde/doc/classref/kio/KProtocolManager.html +++ /dev/null @@ -1,189 +0,0 @@ - - - - - class KProtocolManager - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KProtocolManager


-
- - - - - -
Table of contents
Modules
kio Classes
All Classes
-
- - - - - - - - - - -
Modulekio
ClassKProtocolManager
Inherits
-

enums

    -
  • ProxyAuthMode = {Prompt, Automatic -}
  • ProxyType = {NoProxy, ManualProxy, PACProxy, WPADProxy, EnvVarProxy -}
-

methods

    -
  • autoResume () -
    - -
    returns (bool)
    static

  • -
  • badProxy (proxy) -
    - -
    returns nothing
    static
    - -
    ArgumentTypeDefault
    proxyTQString
    -

  • -
  • cacheControl () -
    - -
    returns (KIO.CacheControl)
    static

  • -
  • cacheDir () -
    - -
    returns (TQString)
    static

  • -
  • config () -
    - -
    returns (KConfig)
    static

  • -
  • connectTimeout () -
    - -
    returns (int)
    static

  • -
  • defaultConnectTimeout () -
    Not Implemented
    -

  • -
  • defaultUserAgent () -
    - -
    returns (TQString)
    static

  • -
  • defaultUserAgent (keys) -
    - -
    returns (TQString)
    static
    - -
    ArgumentTypeDefault
    keysTQString
    -

  • -
  • markPartial () -
    - -
    returns (bool)
    static

  • -
  • maxCacheAge () -
    - -
    returns (int)
    static

  • -
  • maxCacheSize () -
    - -
    returns (int)
    static

  • -
  • minimumKeepSize () -
    - -
    returns (int)
    static

  • -
  • noProxyFor () -
    - -
    returns (TQString)
    static

  • -
  • noProxyForRaw () -
    - - -
    returns (TQString)
    In versions KDE 3.5.1 and above only
    static

  • -
  • persistentConnections () -
    - -
    returns (bool)
    static

  • -
  • persistentProxyConnection () -
    - - -
    returns (bool)
    In versions KDE 3.1.0 and above only
    static

  • -
  • proxyAuthMode () -
    - -
    returns (KProtocolManager.ProxyAuthMode)
    static

  • -
  • proxyConfigScript () -
    - -
    returns (TQString)
    static

  • -
  • proxyConnectTimeout () -
    - -
    returns (int)
    static

  • -
  • proxyFor (protocol) -
    - -
    returns (TQString)
    static
    - -
    ArgumentTypeDefault
    protocolTQString
    -

  • -
  • proxyForURL (url) -
    - -
    returns (TQString)
    static
    - -
    ArgumentTypeDefault
    urlKURL
    -

  • -
  • proxyType () -
    - -
    returns (KProtocolManager.ProxyType)
    static

  • -
  • readTimeout () -
    - -
    returns (int)
    static

  • -
  • reparseConfiguration () -
    - -
    returns nothing
    static

  • -
  • responseTimeout () -
    - -
    returns (int)
    static

  • -
  • slaveProtocol (url, proxy) -
    - -
    returns (TQString)
    static
    - - -
    ArgumentTypeDefault
    urlKURL
    proxyTQString
    -

  • -
  • useCache () -
    - -
    returns (bool)
    static

  • -
  • useProxy () -
    - -
    returns (bool)
    static

  • -
  • useReverseProxy () -
    - -
    returns (bool)
    static

  • -
  • userAgentForHost (hostname) -
    - -
    returns (TQString)
    static
    - -
    ArgumentTypeDefault
    hostnameTQString
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kio/KRemoteEncoding.html b/python/pykde/doc/classref/kio/KRemoteEncoding.html deleted file mode 100644 index 41f55254..00000000 --- a/python/pykde/doc/classref/kio/KRemoteEncoding.html +++ /dev/null @@ -1,114 +0,0 @@ - - - - - class KRemoteEncoding - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KRemoteEncoding


-
- - - - - -
Table of contents
Modules
kio Classes
All Classes
-
- - - - - - - - - - -
Modulekio
ClassKRemoteEncoding
Inherits
-

methods

    -
  • KRemoteEncoding (name = 0) -
    - -
    returns a KRemoteEncoding instance
    In versions KDE 3.3.0 and above only
    - -
    ArgumentTypeDefault
    namechar0
    -

  • -
  • KRemoteEncoding (a0) -
    - -
    returns a KRemoteEncoding instance
    In versions KDE 3.3.0 and above only
    - -
    ArgumentTypeDefault
    a0KRemoteEncoding
    -

  • -
  • decode (name) -
    - -
    returns (TQString)
    In versions KDE 3.3.0 and above only
    - -
    ArgumentTypeDefault
    nameTQCString
    -

  • -
  • directory (url, ignore_trailing_slash = 1) -
    - -
    returns (TQCString)
    In versions KDE 3.3.0 and above only
    - - -
    ArgumentTypeDefault
    urlKURL
    ignore_trailing_slashbool1
    -

  • -
  • encode (name) -
    - -
    returns (TQCString)
    In versions KDE 3.3.0 and above only
    - -
    ArgumentTypeDefault
    nameTQString
    -

  • -
  • encode (url) -
    - -
    returns (TQCString)
    In versions KDE 3.3.0 and above only
    - -
    ArgumentTypeDefault
    urlKURL
    -

  • -
  • encoding () -
    - -
    returns (char)
    In versions KDE 3.3.0 and above only

  • -
  • encodingMib () -
    - -
    returns (int)
    In versions KDE 3.5.0 and above only

  • -
  • fileName (url) -
    - -
    returns (TQCString)
    In versions KDE 3.3.0 and above only
    - -
    ArgumentTypeDefault
    urlKURL
    -

  • -
  • setEncoding (name) -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only
    - -
    ArgumentTypeDefault
    namechar
    -

  • -
  • virtual_hook (id, data) -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only
    - - -
    ArgumentTypeDefault
    idint
    datavoid
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kio/KRun.html b/python/pykde/doc/classref/kio/KRun.html deleted file mode 100644 index d39b3b00..00000000 --- a/python/pykde/doc/classref/kio/KRun.html +++ /dev/null @@ -1,360 +0,0 @@ - - - - - class KRun - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KRun


-
- - - - - -
Table of contents
Modules
kio Classes
All Classes
-
- - - - - - - - - - -
Modulekio
ClassKRun
InheritsTQObject
-

methods

    -
  • KRun (url, mode = 0, isLocalFile = 0, showProgressInfo = 1) -
    -
    returns a KRun instance
    - - - - -
    ArgumentTypeDefault
    urlKURL
    modemode_t0
    isLocalFilebool0
    showProgressInfobool1
    -

  • -
  • KRun (url, window, mode = 0, isLocalFile = 0, showProgressInfo = 1) -
    - -
    returns a KRun instance
    In versions KDE 3.2.0 and above only
    - - - - - -
    ArgumentTypeDefault
    urlKURL
    windowTQWidget
    modemode_t0
    isLocalFilebool0
    showProgressInfobool1
    -

  • -
  • abort () -
    -
    returns nothing

  • -
  • autoDelete () -
    -
    returns (bool)

  • -
  • binaryName (execLine, removePath) -
    - - -
    returns (TQString)
    In versions KDE 3.1.0 and above only
    static
    - - -
    ArgumentTypeDefault
    execLineTQString
    removePathbool
    -

  • -
  • checkStartupNotify (binName, service, wmclass_arg) -
    - - -
    returns (bool) silent_arg (bool)
    In versions KDE 3.4.0 and above only
    static
    - - - -
    ArgumentTypeDefault
    binNameTQString
    serviceKService
    wmclass_argTQCString
    -

  • -
  • displayOpenWithDialog (lst, tempFiles) -
    - - -
    returns (bool)
    In versions KDE 3.1.0 and above only
    static
    - - -
    ArgumentTypeDefault
    lstKURL.List
    tempFilesbool
    -

  • -
  • displayOpenWithDialog (lst) -
    - -
    returns (bool)
    static
    - -
    ArgumentTypeDefault
    lstKURL.List
    -

  • -
  • displayOpenWithDialog (lst, tempFiles, suggestedFileName) -
    - - -
    returns (bool)
    In versions KDE 3.5.3 and above only
    static
    - - - -
    ArgumentTypeDefault
    lstKURL.List
    tempFilesbool
    suggestedFileNameTQString
    -

  • -
  • error () -
    -
    returns nothing

  • -
  • finished () -
    -
    returns nothing

  • -
  • foundMimeType (_type) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    _typeTQString
    -

  • -
  • hasError () -
    -
    returns (bool)

  • -
  • hasFinished () -
    -
    returns (bool)

  • -
  • init () -
    -
    returns nothing

  • -
  • isExecutable (serviceType) -
    - - -
    returns (bool)
    In versions KDE 3.2.0 and above only
    static
    - -
    ArgumentTypeDefault
    serviceTypeTQString
    -

  • -
  • isExecutableFile (url, mimetype) -
    - - -
    returns (bool)
    In versions KDE 3.3.0 and above only
    static
    - - -
    ArgumentTypeDefault
    urlKURL
    mimetypeTQString
    -

  • -
  • killJob () -
    -
    returns nothing

  • -
  • processDesktopExec (_service, _urls, has_shell, tempFiles) -
    - - -
    returns (TQStringList)
    In versions KDE 3.1.0 and above only
    static
    - - - - -
    ArgumentTypeDefault
    _serviceKService
    _urlsKURL.List
    has_shellbool
    tempFilesbool
    -

  • -
  • processDesktopExec (_service, _urls, has_shell) -
    - -
    returns (TQStringList)
    static
    - - - -
    ArgumentTypeDefault
    _serviceKService
    _urlsKURL.List
    has_shellbool
    -

  • -
  • processDesktopExec (_service, _urls, has_shell, tempFiles, suggestedFileName) -
    - - -
    returns (TQStringList)
    In versions KDE 3.5.3 and above only
    static
    - - - - - -
    ArgumentTypeDefault
    _serviceKService
    _urlsKURL.List
    has_shellbool
    tempFilesbool
    suggestedFileNameTQString
    -

  • -
  • run (_service, _urls, window, tempFiles = 0) -
    - - -
    returns (pid_t)
    In versions KDE 3.5.2 and above only
    static
    - - - - -
    ArgumentTypeDefault
    _serviceKService
    _urlsKURL.List
    windowTQWidget
    tempFilesbool0
    -

  • -
  • run (_service, _urls, tempFiles) -
    - - -
    returns (pid_t)
    In versions KDE 3.1.0 and above only
    static
    - - - -
    ArgumentTypeDefault
    _serviceKService
    _urlsKURL.List
    tempFilesbool
    -

  • -
  • run (_service, _urls) -
    - -
    returns (pid_t)
    static
    - - -
    ArgumentTypeDefault
    _serviceKService
    _urlsKURL.List
    -

  • -
  • run (_service, _urls, window, tempFiles, suggestedFileName) -
    - - -
    returns (pid_t)
    In versions KDE 3.5.3 and above only
    static
    - - - - - -
    ArgumentTypeDefault
    _serviceKService
    _urlsKURL.List
    windowTQWidget
    tempFilesbool
    suggestedFileNameTQString
    -

  • -
  • run (_exec, _urls, _name = TQString .null, _icon = TQString .null, _obsolete1 = TQString .null, _obsolete2 = TQString .null) -
    - -
    returns (pid_t)
    static
    - - - - - - -
    ArgumentTypeDefault
    _execTQString
    _urlsKURL.List
    _nameTQStringTQString .null
    _iconTQStringTQString .null
    _obsolete1TQStringTQString .null
    _obsolete2TQStringTQString .null
    -

  • -
  • runCommand (cmd) -
    - -
    returns (pid_t)
    static
    - -
    ArgumentTypeDefault
    cmdTQString
    -

  • -
  • runCommand (cmd, execName, icon) -
    - -
    returns (pid_t)
    static
    - - - -
    ArgumentTypeDefault
    cmdTQString
    execNameTQString
    iconTQString
    -

  • -
  • runURL (_url, _mimetype, tempFile, runExecutables) -
    - - -
    returns (pid_t)
    In versions KDE 3.2.0 and above only
    static
    - - - - -
    ArgumentTypeDefault
    _urlKURL
    _mimetypeTQString
    tempFilebool
    runExecutablesbool
    -

  • -
  • runURL (_url, _mimetype, tempFile) -
    - - -
    returns (pid_t)
    In versions KDE 3.1.0 and above only
    static
    - - - -
    ArgumentTypeDefault
    _urlKURL
    _mimetypeTQString
    tempFilebool
    -

  • -
  • runURL (_url, _mimetype) -
    - -
    returns (pid_t)
    static
    - - -
    ArgumentTypeDefault
    _urlKURL
    _mimetypeTQString
    -

  • -
  • runURL (_url, _mimetype, tempFile, runExecutables, suggestedFileName) -
    - - -
    returns (pid_t)
    In versions KDE 3.5.3 and above only
    static
    - - - - - -
    ArgumentTypeDefault
    _urlKURL
    _mimetypeTQString
    tempFilebool
    runExecutablesbool
    suggestedFileNameTQString
    -

  • -
  • scanFile () -
    -
    returns nothing

  • -
  • setAutoDelete (b) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    bbool
    -

  • -
  • setEnableExternalBrowser (b) -
    - -
    returns nothing
    In versions KDE 3.4.0 and above only
    - -
    ArgumentTypeDefault
    bbool
    -

  • -
  • setPreferredService (desktopEntryName) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    desktopEntryNameTQString
    -

  • -
  • setRunExecutables (b) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    bbool
    -

  • -
  • setSuggestedFileName (fileName) -
    - -
    returns nothing
    In versions KDE 3.5.3 and above only
    - -
    ArgumentTypeDefault
    fileNameTQString
    -

  • -
  • shellQuote (_str) -
    - -
    returns nothing
    static
    - -
    ArgumentTypeDefault
    _strTQString
    -

  • -
  • slotScanFinished (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0KIO.Job
    -

  • -
  • slotScanMimeType (a0, type) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    a0KIO.Job
    typeTQString
    -

  • -
  • slotStatResult (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0KIO.Job
    -

  • -
  • slotTimeout () -
    -
    returns nothing

  • -
- - - diff --git a/python/pykde/doc/classref/kio/KSambaShare.html b/python/pykde/doc/classref/kio/KSambaShare.html deleted file mode 100644 index db550778..00000000 --- a/python/pykde/doc/classref/kio/KSambaShare.html +++ /dev/null @@ -1,69 +0,0 @@ - - - - - class KSambaShare - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KSambaShare


-
- - - - - -
Table of contents
Modules
kio Classes
All Classes
-
- - - - - - - - - - -
Modulekio
ClassKSambaShare
InheritsTQObject
-

methods

    -
  • KSambaShare () -
    - -
    returns a KSambaShare instance
    In versions KDE 3.3.0 and above only

  • -
  • changed () -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only

  • -
  • instance () -
    - - -
    returns (KSambaShare)
    In versions KDE 3.3.0 and above only
    static

  • -
  • isDirectoryShared (path) -
    - -
    returns (bool)
    In versions KDE 3.3.0 and above only
    - -
    ArgumentTypeDefault
    pathTQString
    -

  • -
  • sharedDirectories () -
    - -
    returns (TQStringList)
    In versions KDE 3.3.0 and above only

  • -
  • smbConfPath () -
    - -
    returns (TQString)
    In versions KDE 3.3.0 and above only

  • -
- - - diff --git a/python/pykde/doc/classref/kio/KScanDialog.html b/python/pykde/doc/classref/kio/KScanDialog.html deleted file mode 100644 index 5fa0715c..00000000 --- a/python/pykde/doc/classref/kio/KScanDialog.html +++ /dev/null @@ -1,90 +0,0 @@ - - - - - class KScanDialog - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KScanDialog


-
- - - - - -
Table of contents
Modules
kio Classes
All Classes
-
- - - - - - - - - - -
Modulekio
ClassKScanDialog
InheritsKDialogBase
-

methods

    -
  • KScanDialog (dialogFace = Tabbed, buttonMask = Close | Help, parent = 0, name = 0, modal = 0) -
    -
    returns a KScanDialog instance
    - - - - - -
    ArgumentTypeDefault
    dialogFaceintTabbed
    buttonMaskintClose | Help
    parentTQWidget0
    namechar0
    modalbool0
    -

  • -
  • finalImage (img, id) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    imgTQImage
    idint
    -

  • -
  • getScanDialog (parent = 0, name = 0, modal = 0) -
    - -
    returns (KScanDialog)
    static
    - - - -
    ArgumentTypeDefault
    parentTQWidget0
    namechar0
    modalbool0
    -

  • -
  • id () -
    -
    returns (int)

  • -
  • nextId () -
    -
    returns (int)

  • -
  • preview (img, id) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    imgTQImage
    idint
    -

  • -
  • setup () -
    -
    returns (bool)

  • -
  • textRecognized (text, id) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    textTQString
    idint
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kio/KScanDialogFactory.html b/python/pykde/doc/classref/kio/KScanDialogFactory.html deleted file mode 100644 index 36490167..00000000 --- a/python/pykde/doc/classref/kio/KScanDialogFactory.html +++ /dev/null @@ -1,75 +0,0 @@ - - - - - class KScanDialogFactory - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KScanDialogFactory


-
- - - - - -
Table of contents
Modules
kio Classes
All Classes
-
- - - - - - - - - - -
Modulekio
ClassKScanDialogFactory (abstract)
InheritsKLibFactory
-

methods

    -
  • KScanDialogFactory (parent = 0, name = 0) -
    -
    returns a KScanDialogFactory instance
    - - -
    ArgumentTypeDefault
    parentTQObject0
    namechar0
    -

  • -
  • createDialog (parent = 0, name = 0, modal = 0) = 0 -
    - -
    returns (KScanDialog)
    pure virtual
    - - - -
    ArgumentTypeDefault
    parentTQWidget0
    namechar0
    modalbool0
    -

  • -
  • createObject (parent = 0, name = 0, classname = "TQObject", args = TQStringList ()) -
    -
    returns (TQObject)
    - - - - -
    ArgumentTypeDefault
    parentTQObject0
    namechar0
    classnamechar"TQObject"
    argsTQStringListTQStringList ()
    -

  • -
  • instance () -
    -
    returns (KInstance)

  • -
  • setName (instanceName) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    instanceNameTQCString
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kio/KService.html b/python/pykde/doc/classref/kio/KService.html deleted file mode 100644 index 0dc65301..00000000 --- a/python/pykde/doc/classref/kio/KService.html +++ /dev/null @@ -1,324 +0,0 @@ - - - - - class KService - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KService


-
- - - - - -
Table of contents
Modules
kio Classes
All Classes
-
- - - - - - - - - - -
Modulekio
ClassKService
InheritsKSycocaEntry
-

enums

    -
  • DCOPServiceType_t = {DCOP_None, DCOP_Unique, DCOP_Multi, DCOP_Wait -}
-

methods

    -
  • DCOPServiceType () -
    -
    returns (DCOPServiceType_t)

  • -
  • KService (_name, _exec, _icon) -
    -
    returns a KService instance
    - - - -
    ArgumentTypeDefault
    _nameTQString
    _execTQString
    _iconTQString
    -

  • -
  • KService (_fullpath) -
    -
    returns a KService instance
    - -
    ArgumentTypeDefault
    _fullpathTQString
    -

  • -
  • KService (config) -
    -
    returns a KService instance
    - -
    ArgumentTypeDefault
    configKDesktopFile
    -

  • -
  • KService (_str, offset) -
    -
    returns a KService instance
    - - -
    ArgumentTypeDefault
    _strTQDataStream
    offsetint
    -

  • -
  • KService (a0) -
    - -
    returns a KService instance
    In versions KDE 3.1.1 and above only
    - -
    ArgumentTypeDefault
    a0KService
    -

  • -
  • accessServiceTypes () -
    -
    returns (TQStringList)

  • -
  • allInitServices () -
    - -
    returns (KService.List)
    static

  • -
  • allServices () -
    - -
    returns (KService.List)
    static

  • -
  • allowAsDefault () -
    -
    returns (bool)

  • -
  • allowMultipleFiles () -
    -
    returns (bool)

  • -
  • categories () -
    - -
    returns (TQStringList)
    In versions KDE 3.1.0 and above only

  • -
  • comment () -
    -
    returns (TQString)

  • -
  • desktopEntryName () -
    -
    returns (TQString)

  • -
  • desktopEntryPath () -
    -
    returns (TQString)

  • -
  • exec_ () -
    - -
    returns (TQString)
    Renamed: was ' exec -' in C++

  • -
  • genericName () -
    -
    returns (TQString)

  • -
  • hasServiceType (_service) -
    -
    returns (bool)
    - -
    ArgumentTypeDefault
    _serviceTQString
    -

  • -
  • icon () -
    -
    returns (TQString)

  • -
  • init () -
    -
    returns (TQString)

  • -
  • init (config) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    configKDesktopFile
    -

  • -
  • initialPreference () -
    -
    returns (int)

  • -
  • initialPreferenceForMimeType (mimeType) -
    - -
    returns (int)
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    mimeTypeTQString
    -

  • -
  • isValid () -
    -
    returns (bool)

  • -
  • keywords () -
    -
    returns (TQStringList)

  • -
  • library () -
    -
    returns (TQString)

  • -
  • load (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0TQDataStream
    -

  • -
  • locateLocal () -
    - -
    returns (TQString)
    In versions KDE 3.2.0 and above only

  • -
  • menuId () -
    - -
    returns (TQString)
    In versions KDE 3.2.0 and above only

  • -
  • name () -
    -
    returns (TQString)

  • -
  • newServicePath (showInMenu, suggestedName, menuId = 0, reservedMenuIds = 0) -
    - - -
    returns (TQString)
    In versions KDE 3.2.0 and above only
    static
    - - - - -
    ArgumentTypeDefault
    showInMenubool
    suggestedNameTQString
    menuIdTQString0
    reservedMenuIdsTQStringList0
    -

  • -
  • noDisplay () -
    -
    returns (bool)

  • -
  • parentApp () -
    - -
    returns (TQString)
    In versions KDE 3.1.0 and above only

  • -
  • path () -
    -
    returns (TQString)

  • -
  • pixmap (_group, _force_size = 0, _state = 0, _path = 0) -
    -
    returns (TQPixmap)
    - - - - -
    ArgumentTypeDefault
    _groupKIcon.Group
    _force_sizeint0
    _stateint0
    _pathTQString0
    -

  • -
  • property (_name) -
    -
    returns (TQVariant)
    - -
    ArgumentTypeDefault
    _nameTQString
    -

  • -
  • property (_name, t) -
    - -
    returns (TQVariant)
    In versions KDE 3.2.0 and above only
    - - -
    ArgumentTypeDefault
    _nameTQString
    tTQVariant.Type
    -

  • -
  • propertyNames () -
    -
    returns (TQStringList)

  • -
  • rebuildKSycoca (parent) -
    - - -
    returns nothing
    In versions KDE 3.2.0 and above only
    static
    - -
    ArgumentTypeDefault
    parentTQWidget
    -

  • -
  • save (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0TQDataStream
    -

  • -
  • serviceByDesktopName (_name) -
    - -
    returns (KService.Ptr)
    static
    - -
    ArgumentTypeDefault
    _nameTQString
    -

  • -
  • serviceByDesktopPath (_path) -
    - -
    returns (KService.Ptr)
    static
    - -
    ArgumentTypeDefault
    _pathTQString
    -

  • -
  • serviceByMenuId (_menuId) -
    - - -
    returns (KService.Ptr)
    In versions KDE 3.2.0 and above only
    static
    - -
    ArgumentTypeDefault
    _menuIdTQString
    -

  • -
  • serviceByName (_name) -
    - -
    returns (KService.Ptr)
    static
    - -
    ArgumentTypeDefault
    _nameTQString
    -

  • -
  • serviceByStorageId (_storageId) -
    - - -
    returns (KService.Ptr)
    In versions KDE 3.2.0 and above only
    static
    - -
    ArgumentTypeDefault
    _storageIdTQString
    -

  • -
  • serviceTypes () -
    -
    returns (TQStringList)

  • -
  • setInitialPreference (i) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    iint
    -

  • -
  • setMenuId (menuId) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    menuIdTQString
    -

  • -
  • setTerminal (b) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    bbool
    -

  • -
  • setTerminalOptions (options) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    optionsTQString
    -

  • -
  • storageId () -
    - -
    returns (TQString)
    In versions KDE 3.2.0 and above only

  • -
  • substituteUid () -
    -
    returns (bool)

  • -
  • terminal () -
    -
    returns (bool)

  • -
  • terminalOptions () -
    -
    returns (TQString)

  • -
  • type () -
    -
    returns (TQString)

  • -
  • untranslatedGenericName () -
    - -
    returns (TQString)
    In versions KDE 3.2.0 and above only

  • -
  • username () -
    -
    returns (TQString)

  • -
- - - diff --git a/python/pykde/doc/classref/kio/KServiceGroup.html b/python/pykde/doc/classref/kio/KServiceGroup.html deleted file mode 100644 index 9a0e6606..00000000 --- a/python/pykde/doc/classref/kio/KServiceGroup.html +++ /dev/null @@ -1,240 +0,0 @@ - - - - - class KServiceGroup - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KServiceGroup


-
- - - - - -
Table of contents
Modules
kio Classes
All Classes
-
- - - - - - - - - - -
Modulekio
ClassKServiceGroup
InheritsKSycocaEntry
-

methods

    -
  • KServiceGroup (name) -
    - -
    returns a KServiceGroup instance
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    nameTQString
    -

  • -
  • KServiceGroup (_fullpath, _relpath) -
    -
    returns a KServiceGroup instance
    - - -
    ArgumentTypeDefault
    _fullpathTQString
    _relpathTQString
    -

  • -
  • KServiceGroup (_str, offset, deep) -
    -
    returns a KServiceGroup instance
    - - - -
    ArgumentTypeDefault
    _strTQDataStream
    offsetint
    deepbool
    -

  • -
  • addEntry (entry) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    entryKSycocaEntry
    -

  • -
  • allowInline () -
    - -
    returns (bool)
    In versions KDE 3.5.0 and above only

  • -
  • baseGroup (baseGroupName) -
    - -
    returns (KServiceGroup.Ptr)
    static
    - -
    ArgumentTypeDefault
    baseGroupNameTQString
    -

  • -
  • baseGroupName () -
    -
    returns (TQString)

  • -
  • caption () -
    -
    returns (TQString)

  • -
  • childCount () -
    -
    returns (int)

  • -
  • childGroup (parent) -
    - - -
    returns (KServiceGroup.Ptr)
    In versions KDE 3.1.0 and above only
    static
    - -
    ArgumentTypeDefault
    parentTQString
    -

  • -
  • comment () -
    -
    returns (TQString)

  • -
  • directoryEntryPath () -
    - -
    returns (TQString)
    In versions KDE 3.2.0 and above only

  • -
  • entries (sorted, excludeNoDisplay, allowSeparators, sortByGenericName = 0) -
    - -
    returns (KServiceGroup.List)
    In versions KDE 3.2.0 and above only
    - - - - -
    ArgumentTypeDefault
    sortedbool
    excludeNoDisplaybool
    allowSeparatorsbool
    sortByGenericNamebool0
    -

  • -
  • entries (sorted, excludeNoDisplay) -
    -
    returns (KSycocaEntry.List)
    - - -
    ArgumentTypeDefault
    sortedbool
    excludeNoDisplaybool
    -

  • -
  • entries (sorted = 0) -
    - -
    returns (KServiceGroup.List)
    In versions KDE 3.1.2 and above only
    - -
    ArgumentTypeDefault
    sortedbool0
    -

  • -
  • group (relPath) -
    - -
    returns (KServiceGroup.Ptr)
    static
    - -
    ArgumentTypeDefault
    relPathTQString
    -

  • -
  • icon () -
    -
    returns (TQString)

  • -
  • inlineAlias () -
    - -
    returns (bool)
    In versions KDE 3.5.0 and above only

  • -
  • inlineValue () -
    - -
    returns (int)
    In versions KDE 3.5.0 and above only

  • -
  • isValid () -
    -
    returns (bool)

  • -
  • layoutInfo () -
    - -
    returns (TQStringList)
    In versions KDE 3.3.0 and above only

  • -
  • load (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0TQDataStream
    -

  • -
  • name () -
    -
    returns (TQString)

  • -
  • noDisplay () -
    - -
    returns (bool)
    In versions KDE 3.1.0 and above only

  • -
  • parseAttribute (item) -
    - -
    returns showEmptyMenu (bool) showInline (bool) showInlineHeader (bool) showInlineAlias (bool) inlineValue (int)
    In versions KDE 3.5.0 and above only
    - -
    ArgumentTypeDefault
    itemTQString
    -

  • -
  • relPath () -
    -
    returns (TQString)

  • -
  • root () -
    - -
    returns (KServiceGroup.Ptr)
    static

  • -
  • save (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0TQDataStream
    -

  • -
  • setAllowInline (_b) -
    - -
    returns nothing
    In versions KDE 3.5.0 and above only
    - -
    ArgumentTypeDefault
    _bbool
    -

  • -
  • setInlineAlias (_b) -
    - -
    returns nothing
    In versions KDE 3.5.0 and above only
    - -
    ArgumentTypeDefault
    _bbool
    -

  • -
  • setInlineValue (_val) -
    - -
    returns nothing
    In versions KDE 3.5.0 and above only
    - -
    ArgumentTypeDefault
    _valint
    -

  • -
  • setLayoutInfo (layout) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    layoutTQStringList
    -

  • -
  • setShowEmptyMenu (b) -
    - -
    returns nothing
    In versions KDE 3.5.0 and above only
    - -
    ArgumentTypeDefault
    bbool
    -

  • -
  • setShowInlineHeader (_b) -
    - -
    returns nothing
    In versions KDE 3.5.0 and above only
    - -
    ArgumentTypeDefault
    _bbool
    -

  • -
  • showEmptyMenu () -
    - -
    returns (bool)
    In versions KDE 3.5.0 and above only

  • -
  • showInlineHeader () -
    - -
    returns (bool)
    In versions KDE 3.5.0 and above only

  • -
  • suppressGenericNames () -
    - -
    returns (TQStringList)
    In versions KDE 3.2.0 and above only

  • -
- - - diff --git a/python/pykde/doc/classref/kio/KServiceOffer.html b/python/pykde/doc/classref/kio/KServiceOffer.html deleted file mode 100644 index 630baa15..00000000 --- a/python/pykde/doc/classref/kio/KServiceOffer.html +++ /dev/null @@ -1,79 +0,0 @@ - - - - - class KServiceOffer - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KServiceOffer


-
- - - - - -
Table of contents
Modules
kio Classes
All Classes
-
- - - - - - - - - - -
Modulekio
ClassKServiceOffer
Inherits
-

methods

    -
  • KServiceOffer () -
    -
    returns a KServiceOffer instance

  • -
  • KServiceOffer (a0) -
    -
    returns a KServiceOffer instance
    - -
    ArgumentTypeDefault
    a0KServiceOffer
    -

  • -
  • KServiceOffer (_service, _pref, _default) -
    -
    returns a KServiceOffer instance
    - - - -
    ArgumentTypeDefault
    _serviceKService.Ptr
    _prefint
    _defaultbool
    -

  • -
  • allowAsDefault () -
    -
    returns (bool)

  • -
  • isValid () -
    -
    returns (bool)

  • -
  • preference () -
    -
    returns (int)

  • -
  • service () -
    -
    returns (KService.Ptr)

  • -
-

operators

    -
  • operator < (a0) -
    - -
    returns (bool)
    In versions KDE 3.1.4 and above only
    - -
    ArgumentTypeDefault
    a0KServiceOffer
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kio/KServiceSeparator.html b/python/pykde/doc/classref/kio/KServiceSeparator.html deleted file mode 100644 index 02d8d22e..00000000 --- a/python/pykde/doc/classref/kio/KServiceSeparator.html +++ /dev/null @@ -1,67 +0,0 @@ - - - - - class KServiceSeparator - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KServiceSeparator


-
- - - - - -
Table of contents
Modules
kio Classes
All Classes
-
- - - - - - - - - - -
Modulekio
ClassKServiceSeparator
InheritsKSycocaEntry
-

methods

    -
  • KServiceSeparator () -
    - -
    returns a KServiceSeparator instance
    In versions KDE 3.2.0 and above only

  • -
  • isValid () -
    - -
    returns (bool)
    In versions KDE 3.2.0 and above only

  • -
  • load (a0) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    a0TQDataStream
    -

  • -
  • name () -
    - -
    returns (TQString)
    In versions KDE 3.2.0 and above only

  • -
  • save (a0) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    a0TQDataStream
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kio/KServiceType.html b/python/pykde/doc/classref/kio/KServiceType.html deleted file mode 100644 index 873e24e6..00000000 --- a/python/pykde/doc/classref/kio/KServiceType.html +++ /dev/null @@ -1,169 +0,0 @@ - - - - - class KServiceType - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KServiceType


-
- - - - - -
Table of contents
Modules
kio Classes
All Classes
-
- - - - - - - - - - -
Modulekio
ClassKServiceType
InheritsKSycocaEntry
-

methods

    -
  • KServiceType (_fullpath, _name, _icon, _comment) -
    -
    returns a KServiceType instance
    - - - - -
    ArgumentTypeDefault
    _fullpathTQString
    _nameTQString
    _iconTQString
    _commentTQString
    -

  • -
  • KServiceType (_fullpath) -
    -
    returns a KServiceType instance
    - -
    ArgumentTypeDefault
    _fullpathTQString
    -

  • -
  • KServiceType (config) -
    -
    returns a KServiceType instance
    - -
    ArgumentTypeDefault
    configKDesktopFile
    -

  • -
  • KServiceType (_str, offset) -
    -
    returns a KServiceType instance
    - - -
    ArgumentTypeDefault
    _strTQDataStream
    offsetint
    -

  • -
  • addService (service) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    serviceKService.Ptr
    -

  • -
  • allServiceTypes () -
    - -
    returns (KServiceType.List)
    static

  • -
  • comment () -
    -
    returns (TQString)

  • -
  • desktopEntryPath () -
    -
    returns (TQString)

  • -
  • icon () -
    -
    returns (TQString)

  • -
  • inherits (servTypeName) -
    - -
    returns (bool)
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    servTypeNameTQString
    -

  • -
  • init (config) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    configKDesktopFile
    -

  • -
  • isDerived () -
    -
    returns (bool)

  • -
  • isValid () -
    -
    returns (bool)

  • -
  • load (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0TQDataStream
    -

  • -
  • name () -
    -
    returns (TQString)

  • -
  • offers (_servicetype) -
    - -
    returns (KService.List)
    static
    - -
    ArgumentTypeDefault
    _servicetypeTQString
    -

  • -
  • parentServiceType () -
    -
    returns (TQString)

  • -
  • parentType () -
    - -
    returns (KServiceType.Ptr)
    In versions KDE 3.2.0 and above only

  • -
  • property (_name) -
    -
    returns (TQVariant)
    - -
    ArgumentTypeDefault
    _nameTQString
    -

  • -
  • propertyDef (_name) -
    -
    returns (TQVariant.Type)
    - -
    ArgumentTypeDefault
    _nameTQString
    -

  • -
  • propertyDefNames () -
    -
    returns (TQStringList)

  • -
  • propertyDefs () -
    -
    returns (TQMap)

  • -
  • propertyNames () -
    -
    returns (TQStringList)

  • -
  • save (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0TQDataStream
    -

  • -
  • serviceType (_name) -
    - -
    returns (KServiceType.Ptr)
    static
    - -
    ArgumentTypeDefault
    _nameTQString
    -

  • -
  • services () -
    - -
    returns (KService.List)
    In versions KDE 3.2.0 and above only

  • -
- - - diff --git a/python/pykde/doc/classref/kio/KServiceTypeProfile.html b/python/pykde/doc/classref/kio/KServiceTypeProfile.html deleted file mode 100644 index 326f066a..00000000 --- a/python/pykde/doc/classref/kio/KServiceTypeProfile.html +++ /dev/null @@ -1,111 +0,0 @@ - - - - - class KServiceTypeProfile - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KServiceTypeProfile


-
- - - - - -
Table of contents
Modules
kio Classes
All Classes
-
- - - - - - - - - - -
Modulekio
ClassKServiceTypeProfile
Inherits
-

methods

    -
  • KServiceTypeProfile (serviceType, genericServiceType = TQString .null) -
    -
    returns a KServiceTypeProfile instance
    - - -
    ArgumentTypeDefault
    serviceTypeTQString
    genericServiceTypeTQStringTQString .null
    -

  • -
  • addService (_service, _preference = 1, _allow_as_default = 1) -
    -
    returns nothing
    - - - -
    ArgumentTypeDefault
    _serviceTQString
    _preferenceint1
    _allow_as_defaultbool1
    -

  • -
  • allowAsDefault (_service) -
    -
    returns (bool)
    - -
    ArgumentTypeDefault
    _serviceTQString
    -

  • -
  • clear () -
    - -
    returns nothing
    static

  • -
  • configurationMode () -
    - -
    returns (bool)
    static

  • -
  • offers () -
    -
    returns (KServiceTypeProfile.OfferList)

  • -
  • offers (servicetype, genericServiceType) -
    - -
    returns (KServiceTypeProfile.OfferList)
    static
    - - -
    ArgumentTypeDefault
    servicetypeTQString
    genericServiceTypeTQString
    -

  • -
  • preference (_service) -
    -
    returns (int)
    - -
    ArgumentTypeDefault
    _serviceTQString
    -

  • -
  • preferredService (serviceType, genericServiceType) -
    - -
    returns (KService.Ptr)
    static
    - - -
    ArgumentTypeDefault
    serviceTypeTQString
    genericServiceTypeTQString
    -

  • -
  • serviceTypeProfile (servicetype, genericServiceType) -
    - -
    returns (KServiceTypeProfile)
    static
    - - -
    ArgumentTypeDefault
    servicetypeTQString
    genericServiceTypeTQString
    -

  • -
  • serviceTypeProfiles () -
    - -
    returns (TQPtrList)
    static

  • -
  • setConfigurationMode () -
    - -
    returns nothing
    static

  • -
- - - diff --git a/python/pykde/doc/classref/kio/KShellCompletion.html b/python/pykde/doc/classref/kio/KShellCompletion.html deleted file mode 100644 index 7942c431..00000000 --- a/python/pykde/doc/classref/kio/KShellCompletion.html +++ /dev/null @@ -1,65 +0,0 @@ - - - - - class KShellCompletion - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KShellCompletion


-
- - - - - -
Table of contents
Modules
kio Classes
All Classes
-
- - - - - - - - - - -
Modulekio
ClassKShellCompletion
InheritsKURLCompletion
-

methods

    -
  • KShellCompletion () -
    -
    returns a KShellCompletion instance

  • -
  • makeCompletion (text) -
    -
    returns (TQString)
    - -
    ArgumentTypeDefault
    textTQString
    -

  • -
  • postProcessMatch (match) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    matchTQString
    -

  • -
  • postProcessMatches (matches) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    matchesTQStringList
    -

  • -
  • postProcessMatches (matches) -
    Not Implemented
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kio/KShred.html b/python/pykde/doc/classref/kio/KShred.html deleted file mode 100644 index 89ec86f0..00000000 --- a/python/pykde/doc/classref/kio/KShred.html +++ /dev/null @@ -1,91 +0,0 @@ - - - - - class KShred - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KShred


-
- - - - - -
Table of contents
Modules
kio Classes
All Classes
-
- - - - - - - - - - -
Modulekio
ClassKShred
InheritsTQObject
-

methods

    -
  • KShred (fileName) -
    -
    returns a KShred instance
    - -
    ArgumentTypeDefault
    fileNameTQString
    -

  • -
  • fill0s () -
    -
    returns (bool)

  • -
  • fill1s () -
    -
    returns (bool)

  • -
  • fillbyte (byte) -
    -
    returns (bool)
    - -
    ArgumentTypeDefault
    byteuint
    -

  • -
  • fillpattern (pattern, size) -
    -
    returns (bool)
    - - -
    ArgumentTypeDefault
    patternuchar
    sizeuint
    -

  • -
  • fillrandom () -
    -
    returns (bool)

  • -
  • infoMessage (message) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    messageTQString
    -

  • -
  • processedSize (bytes) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    bytesKIO.filesize_t
    -

  • -
  • shred () -
    -
    returns (bool)

  • -
  • shred (fileName) -
    - -
    returns (bool)
    static
    - -
    ArgumentTypeDefault
    fileNameTQString
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kio/KSimpleFileFilter.html b/python/pykde/doc/classref/kio/KSimpleFileFilter.html deleted file mode 100644 index 9069fa65..00000000 --- a/python/pykde/doc/classref/kio/KSimpleFileFilter.html +++ /dev/null @@ -1,104 +0,0 @@ - - - - - class KSimpleFileFilter - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KSimpleFileFilter


-
- - - - - -
Table of contents
Modules
kio Classes
All Classes
-
- - - - - - - - - - -
Modulekio
ClassKSimpleFileFilter
InheritsKFileFilter
-

methods

    -
  • KSimpleFileFilter () -
    -
    returns a KSimpleFileFilter instance

  • -
  • filterDotFiles () -
    -
    returns (bool)

  • -
  • filterSpecials () -
    -
    returns (bool)

  • -
  • mimeFilters () -
    -
    returns (TQStringList)

  • -
  • modeFilter () -
    -
    returns (mode_t)

  • -
  • nameFilters () -
    Not Implemented
    -

  • -
  • passesFilter (item) -
    -
    returns (bool)
    - -
    ArgumentTypeDefault
    itemKFileItem
    -

  • -
  • setFilterDotFiles (filter) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    filterbool
    -

  • -
  • setFilterSpecials (filter) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    filterbool
    -

  • -
  • setMimeFilters (mimeFilters) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    mimeFiltersTQStringList
    -

  • -
  • setModeFilter (mode) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    modemode_t
    -

  • -
  • setNameFilters (nameFilters, caseSensitive, separator = ' ') -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - - - -
    ArgumentTypeDefault
    nameFiltersTQString
    caseSensitivebool
    separatorTQChar' '
    -

  • -
  • setNameFilters (nameFilters) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    nameFiltersTQString
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kio/KSycoca.html b/python/pykde/doc/classref/kio/KSycoca.html deleted file mode 100644 index 3fb5806d..00000000 --- a/python/pykde/doc/classref/kio/KSycoca.html +++ /dev/null @@ -1,172 +0,0 @@ - - - - - class KSycoca - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KSycoca


-
- - - - - -
Table of contents
Modules
kio Classes
All Classes
-
- - - - - - - - - - -
Modulekio
ClassKSycoca
InheritsTQObject, DCOPObject
-

methods

    -
  • KSycoca (a0) -
    -
    returns a KSycoca instance
    - -
    ArgumentTypeDefault
    a0bool
    -

  • -
  • KSycoca () -
    -
    returns a KSycoca instance

  • -
  • addFactory (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0KSycocaFactory
    -

  • -
  • allResourceDirs () -
    - -
    returns (TQStringList)
    In versions KDE 3.2.0 and above only

  • -
  • checkVersion (abortOnError = 1) -
    -
    returns (bool)
    - -
    ArgumentTypeDefault
    abortOnErrorbool1
    -

  • -
  • closeDatabase () -
    -
    returns nothing

  • -
  • databaseChanged () -
    -
    returns nothing

  • -
  • determineRelativePath (_fullpath, _resource) -
    - -
    returns (TQString)
    static
    - - -
    ArgumentTypeDefault
    _fullpathTQString
    _resourcechar
    -

  • -
  • disableAutoRebuild () -
    - -
    returns nothing
    In versions KDE 3.1.2 and above only

  • -
  • findEntry (offset) -
    -
    returns (TQDataStream) type (KSycocaType)
    - -
    ArgumentTypeDefault
    offsetint
    -

  • -
  • findFactory (id) -
    -
    returns (TQDataStream)
    - -
    ArgumentTypeDefault
    idKSycocaFactoryId
    -

  • -
  • flagError () -
    - - -
    returns nothing
    In versions KDE 3.1.0 and above only
    static

  • -
  • functions () -
    - -
    returns (QCStringList)
    In versions KDE 3.1.4 and above only

  • -
  • interfaces () -
    - -
    returns (QCStringList)
    In versions KDE 3.1.4 and above only

  • -
  • isBuilding () -
    -
    returns (bool)

  • -
  • isChanged (type) -
    - -
    returns (bool)
    static
    - -
    ArgumentTypeDefault
    typechar
    -

  • -
  • kfsstnd_prefixes () -
    -
    returns (TQString)

  • -
  • language () -
    -
    returns (TQString)

  • -
  • notifyDatabaseChanged (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0TQStringList
    -

  • -
  • openDatabase (openDummyIfNotFound = 1) -
    -
    returns (bool)
    - -
    ArgumentTypeDefault
    openDummyIfNotFoundbool1
    -

  • -
  • process (fun, data, replyType, replyData) -
    - -
    returns (bool)
    In versions KDE 3.1.4 and above only
    - - - - -
    ArgumentTypeDefault
    funTQCString
    dataTQByteArray
    replyTypeTQCString
    replyDataTQByteArray
    -

  • -
  • readError () -
    - - -
    returns (bool)
    In versions KDE 3.1.0 and above only
    static

  • -
  • self () -
    - -
    returns (KSycoca)
    static

  • -
  • timeStamp () -
    -
    returns (ulong)

  • -
  • updateSignature () -
    - -
    returns (ulong)
    In versions KDE 3.1.0 and above only

  • -
  • version () -
    - - -
    returns (int)
    In versions KDE 3.2.0 and above only
    static

  • -
-

variables

- - - diff --git a/python/pykde/doc/classref/kio/KSycocaDict.html b/python/pykde/doc/classref/kio/KSycocaDict.html deleted file mode 100644 index a310177e..00000000 --- a/python/pykde/doc/classref/kio/KSycocaDict.html +++ /dev/null @@ -1,96 +0,0 @@ - - - - - class KSycocaDict - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KSycocaDict


-
- - - - -
Table of contents
Modules
kio Classes
All Classes
-
- - - - - - - - - - -
Modulekio
ClassKSycocaDict
Inherits
-

methods

    -
  • KSycocaDict () -
    - -
    returns a KSycocaDict instance
    In versions KDE 3.3.0 and above only

  • -
  • KSycocaDict (str, offset) -
    - -
    returns a KSycocaDict instance
    In versions KDE 3.3.0 and above only
    - - -
    ArgumentTypeDefault
    strTQDataStream
    offsetint
    -

  • -
  • add (key, payload) -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only
    - - -
    ArgumentTypeDefault
    keyTQString
    payloadKSycocaEntry
    -

  • -
  • clear () -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only

  • -
  • count () -
    - -
    returns (uint)
    In versions KDE 3.3.0 and above only

  • -
  • find_string (key) -
    - -
    returns (int)
    In versions KDE 3.3.0 and above only
    - -
    ArgumentTypeDefault
    keyTQString
    -

  • -
  • hashKey (a0) -
    - -
    returns (Q_UINT32)
    In versions KDE 3.3.0 and above only
    - -
    ArgumentTypeDefault
    a0TQString
    -

  • -
  • remove (key) -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only
    - -
    ArgumentTypeDefault
    keyTQString
    -

  • -
  • save (str) -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only
    - -
    ArgumentTypeDefault
    strTQDataStream
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kio/KSycocaEntry.html b/python/pykde/doc/classref/kio/KSycocaEntry.html deleted file mode 100644 index e454cea7..00000000 --- a/python/pykde/doc/classref/kio/KSycocaEntry.html +++ /dev/null @@ -1,111 +0,0 @@ - - - - - class KSycocaEntry - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KSycocaEntry


-
- - - - - -
Table of contents
Modules
kio Classes
All Classes
-
- - - - - - - - - - -
Modulekio
ClassKSycocaEntry (abstract)
InheritsKShared
-

methods

    -
  • KSycocaEntry (path) -
    -
    returns a KSycocaEntry instance
    - -
    ArgumentTypeDefault
    pathTQString
    -

  • -
  • KSycocaEntry (_str, offset) -
    -
    returns a KSycocaEntry instance
    - - -
    ArgumentTypeDefault
    _strTQDataStream
    offsetint
    -

  • -
  • entryPath () -
    -
    returns (TQString)

  • -
  • isDeleted () -
    -
    returns (bool)

  • -
  • isType (t) -
    -
    returns (bool)
    - -
    ArgumentTypeDefault
    tKSycocaType
    -

  • -
  • isValid () = 0 -
    - -
    returns (bool)
    pure virtual

  • -
  • load (a0) = 0 -
    - -
    returns nothing
    pure virtual
    - -
    ArgumentTypeDefault
    a0TQDataStream
    -

  • -
  • name () = 0 -
    - -
    returns (TQString)
    pure virtual

  • -
  • offset () -
    -
    returns (int)

  • -
  • read (s, str) -
    - - -
    returns nothing
    In versions KDE 3.1.0 and above only
    static
    - - -
    ArgumentTypeDefault
    sTQDataStream
    strTQString
    -

  • -
  • read (s, list) -
    - - -
    returns nothing
    In versions KDE 3.1.0 and above only
    static
    - - -
    ArgumentTypeDefault
    sTQDataStream
    listTQStringList
    -

  • -
  • save (s) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    sTQDataStream
    -

  • -
  • sycocaType () -
    -
    returns (KSycocaType)

  • -
- - - diff --git a/python/pykde/doc/classref/kio/KSycocaFactory.html b/python/pykde/doc/classref/kio/KSycocaFactory.html deleted file mode 100644 index e1dc5a0c..00000000 --- a/python/pykde/doc/classref/kio/KSycocaFactory.html +++ /dev/null @@ -1,104 +0,0 @@ - - - - - class KSycocaFactory - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KSycocaFactory


-
- - - - - -
Table of contents
Modules
kio Classes
All Classes
-
- - - - - - - - - - -
Modulekio
ClassKSycocaFactory (abstract)
Inherits
-

methods

    -
  • KSycocaFactory (factory_id) -
    -
    returns a KSycocaFactory instance
    - -
    ArgumentTypeDefault
    factory_idKSycocaFactoryId
    -

  • -
  • addEntry (newEntry, resource) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    newEntryKSycocaEntry
    resourcechar
    -

  • -
  • allEntries () -
    -
    returns (KSycocaEntry.List)

  • -
  • createEntry (file, resource) = 0 -
    - -
    returns (KSycocaEntry)
    pure virtual
    - - -
    ArgumentTypeDefault
    fileTQString
    resourcechar
    -

  • -
  • createEntry (offset) = 0 -
    - -
    returns (KSycocaEntry)
    pure virtual
    - -
    ArgumentTypeDefault
    offsetint
    -

  • -
  • entryDict () -
    Not Implemented
    -

  • -
  • factoryId () = 0 -
    - -
    returns (KSycocaFactoryId)
    pure virtual

  • -
  • offset () -
    -
    returns (int)

  • -
  • removeEntry (newEntry) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    newEntryKSycocaEntry
    -

  • -
  • resourceList () -
    Not Implemented
    -

  • -
  • save (str) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    strTQDataStream
    -

  • -
  • saveHeader (str) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    strTQDataStream
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kio/KTar.html b/python/pykde/doc/classref/kio/KTar.html deleted file mode 100644 index 682d7c8b..00000000 --- a/python/pykde/doc/classref/kio/KTar.html +++ /dev/null @@ -1,177 +0,0 @@ - - - - - class KTar - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KTar


-
- - - - - -
Table of contents
Modules
kio Classes
All Classes
-
- - - - - - - - - - -
Modulekio
ClassKTar
InheritsKArchive
-

methods

    -
  • KTar (filename, mimetype = TQString .null) -
    -
    returns a KTar instance
    - - -
    ArgumentTypeDefault
    filenameTQString
    mimetypeTQStringTQString .null
    -

  • -
  • KTar (dev) -
    -
    returns a KTar instance
    - -
    ArgumentTypeDefault
    devTQIODevice
    -

  • -
  • closeArchive () -
    -
    returns (bool)

  • -
  • doneWriting (size) -
    -
    returns (bool)
    - -
    ArgumentTypeDefault
    sizeuint
    -

  • -
  • fileName () -
    -
    returns (TQString)

  • -
  • openArchive (mode) -
    -
    returns (bool)
    - -
    ArgumentTypeDefault
    modeint
    -

  • -
  • prepareWriting (name, user, group, size) -
    -
    returns (bool)
    - - - - -
    ArgumentTypeDefault
    nameTQString
    userTQString
    groupTQString
    sizeuint
    -

  • -
  • prepareWriting (name, user, group, size, perm, atime, mtime, ctime) -
    - -
    returns (bool)
    In versions KDE 3.2.0 and above only
    - - - - - - - - -
    ArgumentTypeDefault
    nameTQString
    userTQString
    groupTQString
    sizeuint
    permmode_t
    atimetime_t
    mtimetime_t
    ctimetime_t
    -

  • -
  • prepareWriting_impl (name, user, group, size, perm, atime, mtime, ctime) -
    - -
    returns (bool)
    In versions KDE 3.2.0 and above only
    - - - - - - - - -
    ArgumentTypeDefault
    nameTQString
    userTQString
    groupTQString
    sizeuint
    permmode_t
    atimetime_t
    mtimetime_t
    ctimetime_t
    -

  • -
  • setOrigFileName (fileName) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    fileNameTQCString
    -

  • -
  • writeDir (name, user, group) -
    -
    returns (bool)
    - - - -
    ArgumentTypeDefault
    nameTQString
    userTQString
    groupTQString
    -

  • -
  • writeDir (name, user, group, perm, atime, mtime, ctime) -
    - -
    returns (bool)
    In versions KDE 3.2.0 and above only
    - - - - - - - -
    ArgumentTypeDefault
    nameTQString
    userTQString
    groupTQString
    permmode_t
    atimetime_t
    mtimetime_t
    ctimetime_t
    -

  • -
  • writeDir_impl (name, user, group, perm, atime, mtime, ctime) -
    - -
    returns (bool)
    In versions KDE 3.2.0 and above only
    - - - - - - - -
    ArgumentTypeDefault
    nameTQString
    userTQString
    groupTQString
    permmode_t
    atimetime_t
    mtimetime_t
    ctimetime_t
    -

  • -
  • writeSymLink (name, target, user, group, perm, atime, mtime, ctime) -
    - -
    returns (bool)
    In versions KDE 3.2.0 and above only
    - - - - - - - - -
    ArgumentTypeDefault
    nameTQString
    targetTQString
    userTQString
    groupTQString
    permmode_t
    atimetime_t
    mtimetime_t
    ctimetime_t
    -

  • -
  • writeSymLink_impl (name, target, user, group, perm, atime, mtime, ctime) -
    - -
    returns (bool)
    In versions KDE 3.2.0 and above only
    - - - - - - - - -
    ArgumentTypeDefault
    nameTQString
    targetTQString
    userTQString
    groupTQString
    permmode_t
    atimetime_t
    mtimetime_t
    ctimetime_t
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kio/KTrader.html b/python/pykde/doc/classref/kio/KTrader.html deleted file mode 100644 index e6e73571..00000000 --- a/python/pykde/doc/classref/kio/KTrader.html +++ /dev/null @@ -1,65 +0,0 @@ - - - - - class KTrader - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KTrader


-
- - - - - -
Table of contents
Modules
kio Classes
All Classes
-
- - - - - - - - - - -
Modulekio
ClassKTrader
InheritsTQObject
-

methods

    -
  • KTrader () -
    -
    returns a KTrader instance

  • -
  • query (servicetype, constraint = TQString .null, preferences = TQString .null) -
    -
    returns (KTrader.OfferList)
    - - - -
    ArgumentTypeDefault
    servicetypeTQString
    constraintTQStringTQString .null
    preferencesTQStringTQString .null
    -

  • -
  • query (servicetype, genericServiceType, constraint, preferences) -
    -
    returns (KTrader.OfferList)
    - - - - -
    ArgumentTypeDefault
    servicetypeTQString
    genericServiceTypeTQString
    constraintTQString
    preferencesTQString
    -

  • -
  • self () -
    - -
    returns (KTrader)
    static

  • -
- - - diff --git a/python/pykde/doc/classref/kio/KURIFilter.html b/python/pykde/doc/classref/kio/KURIFilter.html deleted file mode 100644 index fbfbc180..00000000 --- a/python/pykde/doc/classref/kio/KURIFilter.html +++ /dev/null @@ -1,93 +0,0 @@ - - - - - class KURIFilter - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KURIFilter


-
- - - - - -
Table of contents
Modules
kio Classes
All Classes
-
- - - - - - - - - - -
Modulekio
ClassKURIFilter
Inherits
-

methods

    -
  • KURIFilter () -
    -
    returns a KURIFilter instance

  • -
  • filterURI (data, filters = TQStringList ()) -
    -
    returns (bool)
    - - -
    ArgumentTypeDefault
    dataKURIFilterData
    filtersTQStringListTQStringList ()
    -

  • -
  • filterURI (uri, filters = TQStringList ()) -
    -
    returns (bool)
    - - -
    ArgumentTypeDefault
    uriKURL
    filtersTQStringListTQStringList ()
    -

  • -
  • filterURI (uri, filters = TQStringList ()) -
    -
    returns (bool)
    - - -
    ArgumentTypeDefault
    uriTQString
    filtersTQStringListTQStringList ()
    -

  • -
  • filteredURI (uri, filters = TQStringList ()) -
    -
    returns (KURL)
    - - -
    ArgumentTypeDefault
    uriKURL
    filtersTQStringListTQStringList ()
    -

  • -
  • filteredURI (uri, filters = TQStringList ()) -
    -
    returns (TQString)
    - - -
    ArgumentTypeDefault
    uriTQString
    filtersTQStringListTQStringList ()
    -

  • -
  • loadPlugins () -
    -
    returns nothing

  • -
  • pluginNames () -
    - -
    returns (TQStringList)
    In versions KDE 3.1.0 and above only

  • -
  • pluginsIterator () -
    Not Implemented
    -

  • -
  • self () -
    - -
    returns (KURIFilter)
    static

  • -
- - - diff --git a/python/pykde/doc/classref/kio/KURIFilterData.html b/python/pykde/doc/classref/kio/KURIFilterData.html deleted file mode 100644 index b17ec83b..00000000 --- a/python/pykde/doc/classref/kio/KURIFilterData.html +++ /dev/null @@ -1,137 +0,0 @@ - - - - - class KURIFilterData - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KURIFilterData


-
- - - - - -
Table of contents
Modules
kio Classes
All Classes
-
- - - - - - - - - - -
Modulekio
ClassKURIFilterData
Inherits
-

enums

    -
  • URITypes = {NET_PROTOCOL, LOCAL_FILE, LOCAL_DIR, EXECUTABLE, HELP, SHELL, BLOCKED, ERROR, UNKNOWN -}
-

methods

    -
  • KURIFilterData () -
    -
    returns a KURIFilterData instance

  • -
  • KURIFilterData (url) -
    -
    returns a KURIFilterData instance
    - -
    ArgumentTypeDefault
    urlKURL
    -

  • -
  • KURIFilterData (url) -
    -
    returns a KURIFilterData instance
    - -
    ArgumentTypeDefault
    urlTQString
    -

  • -
  • KURIFilterData (data) -
    -
    returns a KURIFilterData instance
    - -
    ArgumentTypeDefault
    dataKURIFilterData
    -

  • -
  • absolutePath () -
    -
    returns (TQString)

  • -
  • argsAndOptions () -
    -
    returns (TQString)

  • -
  • checkForExecutables () -
    - -
    returns (bool)
    In versions KDE 3.2.0 and above only

  • -
  • errorMsg () -
    -
    returns (TQString)

  • -
  • hasAbsolutePath () -
    -
    returns (bool)

  • -
  • hasArgsAndOptions () -
    -
    returns (bool)

  • -
  • hasBeenFiltered () -
    -
    returns (bool)

  • -
  • iconName () -
    -
    returns (TQString)

  • -
  • init (url) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    urlKURL
    -

  • -
  • init (url = KURL(TQString.null)) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    urlKURLKURL(TQString.null)
    -

  • -
  • setAbsolutePath (abs_path) -
    -
    returns (bool)
    - -
    ArgumentTypeDefault
    abs_pathTQString
    -

  • -
  • setCheckForExecutables (check) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    checkbool
    -

  • -
  • setData (url) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    urlTQString
    -

  • -
  • setData (url) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    urlKURL
    -

  • -
  • typedString () -
    - -
    returns (TQString)
    In versions KDE 3.2.0 and above only

  • -
  • uri () -
    -
    returns (KURL)

  • -
  • uriType () -
    -
    returns (URITypes)

  • -
- - - diff --git a/python/pykde/doc/classref/kio/KURIFilterPlugin.html b/python/pykde/doc/classref/kio/KURIFilterPlugin.html deleted file mode 100644 index d8516ad3..00000000 --- a/python/pykde/doc/classref/kio/KURIFilterPlugin.html +++ /dev/null @@ -1,100 +0,0 @@ - - - - - class KURIFilterPlugin - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KURIFilterPlugin


-
- - - - - -
Table of contents
Modules
kio Classes
All Classes
-
- - - - - - - - - - -
Modulekio
ClassKURIFilterPlugin (abstract)
InheritsTQObject
-

methods

    -
  • KURIFilterPlugin (parent = 0, name = 0, pri = 1.0) -
    -
    returns a KURIFilterPlugin instance
    - - - -
    ArgumentTypeDefault
    parentTQObject0
    namechar0
    pridouble1.0
    -

  • -
  • configModule (a0, a1) -
    -
    returns (KCModule)
    - - -
    ArgumentTypeDefault
    a0TQWidget
    a1char
    -

  • -
  • configName () -
    -
    returns (TQString)

  • -
  • filterURI (data) = 0 -
    - -
    returns (bool)
    pure virtual
    - -
    ArgumentTypeDefault
    dataKURIFilterData
    -

  • -
  • name () -
    -
    returns (TQString)

  • -
  • priority () -
    -
    returns (double)

  • -
  • setArguments (data, args) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    dataKURIFilterData
    argsTQString
    -

  • -
  • setErrorMsg (data, errmsg) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    dataKURIFilterData
    errmsgTQString
    -

  • -
  • setFilteredURI (data, uri) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    dataKURIFilterData
    uriKURL
    -

  • -
  • setURIType (data, type) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    dataKURIFilterData
    typeKURIFilterData.URITypes
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kio/KURLCompletion.html b/python/pykde/doc/classref/kio/KURLCompletion.html deleted file mode 100644 index 948d33af..00000000 --- a/python/pykde/doc/classref/kio/KURLCompletion.html +++ /dev/null @@ -1,152 +0,0 @@ - - - - - class KURLCompletion - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KURLCompletion


-
- - - - - -
Table of contents
Modules
kio Classes
All Classes
-
- - - - - - - - - - -
Modulekio
ClassKURLCompletion
InheritsKCompletion
-

enums

    -
  • Mode = {ExeCompletion, FileCompletion, DirCompletion -}
-

methods

    -
  • KURLCompletion () -
    -
    returns a KURLCompletion instance

  • -
  • KURLCompletion (a0) -
    -
    returns a KURLCompletion instance
    - -
    ArgumentTypeDefault
    a0KURLCompletion.Mode
    -

  • -
  • customEvent (e) -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only
    - -
    ArgumentTypeDefault
    eTQCustomEvent
    -

  • -
  • dir () -
    -
    returns (TQString)

  • -
  • isRunning () -
    -
    returns (bool)

  • -
  • makeCompletion (text) -
    -
    returns (TQString)
    - -
    ArgumentTypeDefault
    textTQString
    -

  • -
  • mode () -
    -
    returns (Mode)

  • -
  • postProcessMatch (match) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    matchTQString
    -

  • -
  • postProcessMatches (matches) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    matchesTQStringList
    -

  • -
  • postProcessMatches (matches) -
    Not Implemented
    -

  • -
  • replaceEnv () -
    -
    returns (bool)

  • -
  • replaceHome () -
    -
    returns (bool)

  • -
  • replacedPath (text) -
    -
    returns (TQString)
    - -
    ArgumentTypeDefault
    textTQString
    -

  • -
  • replacedPath (text, replaceHome, replaceEnv = 1) -
    - - -
    returns (TQString)
    In versions KDE 3.2.0 and above only
    static
    - - - -
    ArgumentTypeDefault
    textTQString
    replaceHomebool
    replaceEnvbool1
    -

  • -
  • setDir (dir) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    dirTQString
    -

  • -
  • setMode (mode) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    modeKURLCompletion.Mode
    -

  • -
  • setReplaceEnv (replace) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    replacebool
    -

  • -
  • setReplaceHome (replace) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    replacebool
    -

  • -
  • slotEntries (a0, a1) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    a0KIO.Job
    a1KIO.UDSEntryList
    -

  • -
  • slotIOFinished (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0KIO.Job
    -

  • -
  • stop () -
    -
    returns nothing

  • -
- - - diff --git a/python/pykde/doc/classref/kio/KURLPixmapProvider.html b/python/pykde/doc/classref/kio/KURLPixmapProvider.html deleted file mode 100644 index 85443910..00000000 --- a/python/pykde/doc/classref/kio/KURLPixmapProvider.html +++ /dev/null @@ -1,48 +0,0 @@ - - - - - class KURLPixmapProvider - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KURLPixmapProvider


-
- - - - - -
Table of contents
Modules
kio Classes
All Classes
-
- - - - - - - - - - -
Modulekio
ClassKURLPixmapProvider
InheritsKPixmapProvider
-

methods

    -
  • pixmapFor (url, size = 0) -
    -
    returns (TQPixmap)
    - - -
    ArgumentTypeDefault
    urlTQString
    sizeint0
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kio/KZip.html b/python/pykde/doc/classref/kio/KZip.html deleted file mode 100644 index 5105abbf..00000000 --- a/python/pykde/doc/classref/kio/KZip.html +++ /dev/null @@ -1,228 +0,0 @@ - - - - - class KZip - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KZip


-
- - - - - -
Table of contents
Modules
kio Classes
All Classes
-
- - - - - - - - - - -
Modulekio
ClassKZip
InheritsKArchive
-

enums

    -
  • Compression = {NoCompression, DeflateCompression -}
  • ExtraField = {NoExtraField, ModificationTime, DefaultExtraField -}
-

methods

    -
  • KZip (filename) -
    - -
    returns a KZip instance
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    filenameTQString
    -

  • -
  • KZip (dev) -
    - -
    returns a KZip instance
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    devTQIODevice
    -

  • -
  • closeArchive () -
    - -
    returns (bool)
    In versions KDE 3.1.0 and above only

  • -
  • compression () -
    - -
    returns (KZip.Compression)
    In versions KDE 3.1.0 and above only

  • -
  • doneWriting (size) -
    - -
    returns (bool)
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    sizeuint
    -

  • -
  • extraField () -
    - -
    returns (KZip.ExtraField)
    In versions KDE 3.2.0 and above only

  • -
  • fileName () -
    - -
    returns (TQString)
    In versions KDE 3.1.0 and above only

  • -
  • openArchive (mode) -
    - -
    returns (bool)
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    modeint
    -

  • -
  • prepareWriting (name, user, group, size) -
    - -
    returns (bool)
    In versions KDE 3.1.0 and above only
    - - - - -
    ArgumentTypeDefault
    nameTQString
    userTQString
    groupTQString
    sizeuint
    -

  • -
  • prepareWriting (name, user, group, size, perm, atime, mtime, ctime) -
    - -
    returns (bool)
    In versions KDE 3.2.0 and above only
    - - - - - - - - -
    ArgumentTypeDefault
    nameTQString
    userTQString
    groupTQString
    sizeuint
    permmode_t
    atimetime_t
    mtimetime_t
    ctimetime_t
    -

  • -
  • prepareWriting_impl (name, user, group, size, perm, atime, mtime, ctime) -
    - -
    returns (bool)
    In versions KDE 3.2.0 and above only
    - - - - - - - - -
    ArgumentTypeDefault
    nameTQString
    userTQString
    groupTQString
    sizeuint
    permmode_t
    atimetime_t
    mtimetime_t
    ctimetime_t
    -

  • -
  • setCompression (c) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    cKZip.Compression
    -

  • -
  • setExtraField (ef) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    efKZip.ExtraField
    -

  • -
  • virtual_hook (id, data) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - - -
    ArgumentTypeDefault
    idint
    datavoid
    -

  • -
  • writeData (data, size) -
    - -
    returns (bool)
    In versions KDE 3.1.0 and above only
    - - -
    ArgumentTypeDefault
    datachar
    sizeuint
    -

  • -
  • writeData_impl (data, size) -
    - -
    returns (bool)
    In versions KDE 3.2.0 and above only
    - - -
    ArgumentTypeDefault
    datachar
    sizeuint
    -

  • -
  • writeDir (name, user, group) -
    - -
    returns (bool)
    In versions KDE 3.1.0 and above only
    - - - -
    ArgumentTypeDefault
    nameTQString
    userTQString
    groupTQString
    -

  • -
  • writeFile (name, user, group, size, data) -
    - -
    returns (bool)
    In versions KDE 3.1.0 and above only
    - - - - - -
    ArgumentTypeDefault
    nameTQString
    userTQString
    groupTQString
    sizeuint
    datachar
    -

  • -
  • writeFile (name, user, group, size, perm, atime, mtime, ctime, data) -
    - -
    returns (bool)
    In versions KDE 3.2.0 and above only
    - - - - - - - - - -
    ArgumentTypeDefault
    nameTQString
    userTQString
    groupTQString
    sizeuint
    permmode_t
    atimetime_t
    mtimetime_t
    ctimetime_t
    datachar
    -

  • -
  • writeSymLink (name, target, user, group, perm, atime, mtime, ctime) -
    - -
    returns (bool)
    In versions KDE 3.2.0 and above only
    - - - - - - - - -
    ArgumentTypeDefault
    nameTQString
    targetTQString
    userTQString
    groupTQString
    permmode_t
    atimetime_t
    mtimetime_t
    ctimetime_t
    -

  • -
  • writeSymLink_impl (name, target, user, group, perm, atime, mtime, ctime) -
    - -
    returns (bool)
    In versions KDE 3.2.0 and above only
    - - - - - - - - -
    ArgumentTypeDefault
    nameTQString
    targetTQString
    userTQString
    groupTQString
    permmode_t
    atimetime_t
    mtimetime_t
    ctimetime_t
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kio/KZipFileEntry.html b/python/pykde/doc/classref/kio/KZipFileEntry.html deleted file mode 100644 index 642e9c2f..00000000 --- a/python/pykde/doc/classref/kio/KZipFileEntry.html +++ /dev/null @@ -1,108 +0,0 @@ - - - - - class KZipFileEntry - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KZipFileEntry


-
- - - - - -
Table of contents
Modules
kio Classes
All Classes
-
- - - - - - - - - - -
Modulekio
ClassKZipFileEntry
InheritsKArchiveFile
-

methods

    -
  • KZipFileEntry (zip, name, access, date, user, group, symlink, path, start, uncompressedSize, encoding, compressedSize) -
    - -
    returns a KZipFileEntry instance
    In versions KDE 3.1.0 and above only
    - - - - - - - - - - - - -
    ArgumentTypeDefault
    zipKZip
    nameTQString
    accessint
    dateint
    userTQString
    groupTQString
    symlinkTQString
    pathTQString
    startQ_LONG
    uncompressedSizeQ_LONG
    encodingint
    compressedSizeQ_LONG
    -

  • -
  • compressedSize () -
    - -
    returns (Q_LONG)
    In versions KDE 3.1.0 and above only

  • -
  • crc32 () -
    - -
    returns (ulong)
    In versions KDE 3.1.0 and above only

  • -
  • data () -
    - -
    returns (TQByteArray)
    In versions KDE 3.1.0 and above only

  • -
  • device () -
    - -
    returns (TQIODevice)
    In versions KDE 3.1.0 and above only

  • -
  • encoding () -
    - -
    returns (int)
    In versions KDE 3.1.0 and above only

  • -
  • headerStart () -
    - -
    returns (Q_LONG)
    In versions KDE 3.1.0 and above only

  • -
  • path () -
    - -
    returns (TQString)
    In versions KDE 3.1.0 and above only

  • -
  • setCRC32 (crc32) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    crc32ulong
    -

  • -
  • setCompressedSize (compressedSize) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    compressedSizeQ_LONG
    -

  • -
  • setHeaderStart (headerstart) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    headerstartQ_LONG
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kio/Observer.html b/python/pykde/doc/classref/kio/Observer.html deleted file mode 100644 index 534aa137..00000000 --- a/python/pykde/doc/classref/kio/Observer.html +++ /dev/null @@ -1,289 +0,0 @@ - - - - - class Observer - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class Observer


-
- - - - - -
Table of contents
Modules
kio Classes
All Classes
-
- - - - - - - - - - -
Modulekio
ClassObserver
InheritsTQObject, DCOPObject
-

methods

    -
  • Observer () -
    -
    returns a Observer instance

  • -
  • functions () -
    - -
    returns (QCStringList)
    In versions KDE 3.1.4 and above only

  • -
  • interfaces () -
    - -
    returns (QCStringList)
    In versions KDE 3.1.4 and above only

  • -
  • jobFinished (progressId) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    progressIdint
    -

  • -
  • killJob (progressId) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    progressIdint
    -

  • -
  • messageBox (progressId, type, text, caption, buttonYes, buttonNo) -
    -
    returns (int)
    - - - - - - -
    ArgumentTypeDefault
    progressIdint
    typeint
    textTQString
    captionTQString
    buttonYesTQString
    buttonNoTQString
    -

  • -
  • messageBox (progressId, type, text, caption, buttonYes, buttonNo, dontAskAgainName) -
    - - -
    returns (int)
    In versions KDE 3.3.0 and above only
    static
    - - - - - - - -
    ArgumentTypeDefault
    progressIdint
    typeint
    textTQString
    captionTQString
    buttonYesTQString
    buttonNoTQString
    dontAskAgainNameTQString
    -

  • -
  • metadata (progressId) -
    -
    returns (KIO.MetaData)
    - -
    ArgumentTypeDefault
    progressIdint
    -

  • -
  • mounting (a0, dev, point) -
    -
    returns nothing
    - - - -
    ArgumentTypeDefault
    a0KIO.Job
    devTQString
    pointTQString
    -

  • -
  • newJob (job, showProgress) -
    -
    returns (int)
    - - -
    ArgumentTypeDefault
    jobKIO.Job
    showProgressbool
    -

  • -
  • openPassDlg (prompt, user, pass, readOnly) -
    -
    returns (bool)
    - - - - -
    ArgumentTypeDefault
    promptTQString
    userTQString
    passTQString
    readOnlybool
    -

  • -
  • openPassDlg (info) -
    -
    returns (bool)
    - -
    ArgumentTypeDefault
    infoKIO.AuthInfo
    -

  • -
  • open_RenameDlg (job, caption, src, dest, mode, newDest, sizeSrc = -1, sizeDest = -1, ctimeSrc = -1, ctimeDest = -1, mtimeSrc = -1, mtimeDest = -1) -
    -
    returns (KIO.RenameDlg_Result)
    - - - - - - - - - - - - -
    ArgumentTypeDefault
    jobKIO.Job
    captionTQString
    srcTQString
    destTQString
    modeKIO.RenameDlg_Mode
    newDestTQString
    sizeSrcKIO.filesize_t-1
    sizeDestKIO.filesize_t-1
    ctimeSrctime_t-1
    ctimeDesttime_t-1
    mtimeSrctime_t-1
    mtimeDesttime_t-1
    -

  • -
  • open_SkipDlg (job, multi, error_text) -
    -
    returns (KIO.SkipDlg_Result)
    - - - -
    ArgumentTypeDefault
    jobKIO.Job
    multibool
    error_textTQString
    -

  • -
  • process (fun, data, replyType, replyData) -
    - -
    returns (bool)
    In versions KDE 3.1.4 and above only
    - - - - -
    ArgumentTypeDefault
    funTQCString
    dataTQByteArray
    replyTypeTQCString
    replyDataTQByteArray
    -

  • -
  • self () -
    - -
    returns (Observer)
    static

  • -
  • slotCanResume (a0, offset) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    a0KIO.Job
    offsetKIO.filesize_t
    -

  • -
  • slotCopying (a0, from, to) -
    -
    returns nothing
    - - - -
    ArgumentTypeDefault
    a0KIO.Job
    fromKURL
    toKURL
    -

  • -
  • slotCreatingDir (a0, dir) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    a0KIO.Job
    dirKURL
    -

  • -
  • slotDeleting (a0, url) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    a0KIO.Job
    urlKURL
    -

  • -
  • slotInfoMessage (a0, msg) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    a0KIO.Job
    msgTQString
    -

  • -
  • slotMoving (a0, from, to) -
    -
    returns nothing
    - - - -
    ArgumentTypeDefault
    a0KIO.Job
    fromKURL
    toKURL
    -

  • -
  • slotPercent (a0, percent) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    a0KIO.Job
    percentulong
    -

  • -
  • slotProcessedDirs (a0, dirs) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    a0KIO.Job
    dirsulong
    -

  • -
  • slotProcessedFiles (a0, files) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    a0KIO.Job
    filesulong
    -

  • -
  • slotProcessedSize (a0, size) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    a0KIO.Job
    sizeKIO.filesize_t
    -

  • -
  • slotSpeed (a0, speed) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    a0KIO.Job
    speedulong
    -

  • -
  • slotTotalDirs (a0, dirs) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    a0KIO.Job
    dirsulong
    -

  • -
  • slotTotalFiles (a0, files) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    a0KIO.Job
    filesulong
    -

  • -
  • slotTotalSize (a0, size) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    a0KIO.Job
    sizeKIO.filesize_t
    -

  • -
  • slotTransferring (a0, url) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - - -
    ArgumentTypeDefault
    a0KIO.Job
    urlKURL
    -

  • -
  • stating (a0, url) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    a0KIO.Job
    urlKURL
    -

  • -
  • unmounting (a0, point) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    a0KIO.Job
    pointTQString
    -

  • -
  • ~Observer () -
    -
    returns nothing

  • -
- - - diff --git a/python/pykde/doc/classref/kio/RenameDlgPlugin.html b/python/pykde/doc/classref/kio/RenameDlgPlugin.html deleted file mode 100644 index 53857d9b..00000000 --- a/python/pykde/doc/classref/kio/RenameDlgPlugin.html +++ /dev/null @@ -1,65 +0,0 @@ - - - - - class RenameDlgPlugin - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class RenameDlgPlugin


-
- - - - - -
Table of contents
Modules
kio Classes
All Classes
-
- - - - - - - - - - -
Modulekio
ClassRenameDlgPlugin
InheritsTQWidget
-

methods

    -
  • RenameDlgPlugin (dialog, name, a0 = TQStringList ()) -
    -
    returns a RenameDlgPlugin instance
    - - - -
    ArgumentTypeDefault
    dialogTQDialog
    namechar
    a0TQStringListTQStringList ()
    -

  • -
  • initialize (a0, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10) -
    -
    returns (bool)
    - - - - - - - - - - - -
    ArgumentTypeDefault
    a0KIO.RenameDlg_Mode
    a1TQString
    a2TQString
    a3TQString
    a4TQString
    a5KIO.filesize_t
    a6KIO.filesize_t
    a7time_t
    a8time_t
    a9time_t
    a10time_t
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kio/ThumbCreator.html b/python/pykde/doc/classref/kio/ThumbCreator.html deleted file mode 100644 index 21481c51..00000000 --- a/python/pykde/doc/classref/kio/ThumbCreator.html +++ /dev/null @@ -1,57 +0,0 @@ - - - - - class ThumbCreator - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class ThumbCreator


-
- - - - - -
Table of contents
Modules
kio Classes
All Classes
-
- - - - - - - - - - -
Modulekio
ClassThumbCreator (abstract)
Inherits
-

enums

    -
  • Flags = {None, DrawFrame, BlendIcon -}
-

methods

    -
  • create (path, width, height, img) = 0 -
    - -
    returns (bool)
    pure virtual
    - - - - -
    ArgumentTypeDefault
    pathTQString
    widthint
    heightint
    imgTQImage
    -

  • -
  • flags () -
    -
    returns (ThumbCreator.Flags)

  • -
- - - diff --git a/python/pykde/doc/classref/kio/index.html b/python/pykde/doc/classref/kio/index.html deleted file mode 100644 index e573f530..00000000 --- a/python/pykde/doc/classref/kio/index.html +++ /dev/null @@ -1,148 +0,0 @@ - - - - - module kio - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

kio Class Index


-
- - - - -
Table of contents
Modules
All Classes
-
- kio Global and Namespace members

- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
KACL - KIO.DavJob
KACL
KAr
KArchive
KArchiveDirectory
KArchiveEntry
KArchiveFile
KDCOPServiceStarter
KDEDesktopMimeType
KDEDesktopMimeType.Service
KDataTool
KDataToolAction
KDataToolInfo
KDirLister
KDirNotify
KDirWatch
KEMailSettings
KExecMimeType
KFileFilter
KFileItem
KFileMetaInfo
KFileMetaInfoGroup
KFileMetaInfoItem
KFileMetaInfoProvider
KFileMimeTypeInfo
KFileMimeTypeInfo.GroupInfo
KFileMimeTypeInfo.ItemInfo
KFilePlugin
KFileShare
KFilterBase
KFilterDev
KFolderType
KIO
KIO.AuthInfo
KIO.ChmodJob
KIO.Connection
KIO.CopyInfo
KIO.CopyJob
KIO.DavJob
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
KIO.DefaultProgress - KMimeTypeChooserDialog
KIO.DefaultProgress
KIO.DeleteJob
KIO.DirectCopyJob
KIO.FileCopyJob
KIO.ForwardingSlaveBase
KIO.Job
KIO.ListJob
KIO.MetaInfoJob
KIO.MimetypeJob
KIO.MkdirJob
KIO.MultiGetJob
KIO.NetAccess
KIO.NetRC
KIO.NetRC.AutoLogin
KIO.PasswordDialog
KIO.PreviewJob
KIO.ProgressBase
KIO.Scheduler
KIO.SessionData
KIO.SimpleJob
KIO.Slave
KIO.SlaveBase
KIO.SlaveConfig
KIO.SlaveInterface
KIO.StatJob
KIO.StatusbarProgress
KIO.StoredTransferJob
KIO.TCPSlaveBase
KIO.Task
KIO.TransferJob
KIO.UDSAtom
KImageIO
KMimeMagic
KMimeMagicResult
KMimeType
KMimeType.Format
KMimeTypeChooser
KMimeTypeChooserDialog
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
KNFSShare - ThumbCreator
KNFSShare
KOCRDialog
KOCRDialogFactory
KOpenWithHandler
KProcessRunner
KProtocolInfo
KProtocolInfo.ExtraField
KProtocolManager
KRemoteEncoding
KRun
KSambaShare
KScanDialog
KScanDialogFactory
KService
KServiceGroup
KServiceOffer
KServiceSeparator
KServiceType
KServiceTypeProfile
KShellCompletion
KShred
KSimpleFileFilter
KSycoca
KSycocaEntry
KSycocaFactory
KTar
KTrader
KURIFilter
KURIFilterData
KURIFilterPlugin
KURLCompletion
KURLPixmapProvider
KZip
KZipFileEntry
Observer
RenameDlgPlugin
ThumbCreator
- - diff --git a/python/pykde/doc/classref/kio/kio-globals.html b/python/pykde/doc/classref/kio/kio-globals.html deleted file mode 100644 index 3c245a51..00000000 --- a/python/pykde/doc/classref/kio/kio-globals.html +++ /dev/null @@ -1,53 +0,0 @@ - - - - - kio globals - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

kio Globals


-
- - - - - -
Table of contents
Modules
kio Classes
All Classes
-
-

enums

    -
  • KSycocaFactoryId = {KST_KServiceFactory, KST_KServiceTypeFactory, KST_KServiceGroupFactory, KST_KImageIO, KST_KProtocolInfoFactory, KST_CTimeInfo -}
  • KSycocaType = {KST_KSycocaEntry, KST_KService, KST_KServiceType, KST_KMimeType, KST_KFolderType, KST_KDEDesktopMimeType, KST_KExecMimeType, KST_KServiceGroup, KST_KImageIOFormat, KST_KProtocolInfo, KST_KServiceSeparator, KST_KCustom -}
  • KSycocaType = {KST_KSycocaEntry, KST_KService, KST_KServiceType, KST_KMimeType, KST_KFolderType, KST_KDEDesktopMimeType, KST_KExecMimeType, KST_KServiceGroup, KST_KImageIOFormat, KST_KProtocolInfo, KST_KCustom -}
-

global methods

    -
  • testKIOMetaData (dict) -
    -
    returns (KIO.MetaData),
    - -
    ArgumentTypeDefault
    dictKIO.MetaData
    -

  • -
  • testKIOUDSEntry (list) -
    -
    returns (KIO.UDSEntry),
    - -
    ArgumentTypeDefault
    listKIO.UDSEntry
    -

  • -
  • testKIOUDSEntryList (list) -
    -
    returns (KIO.UDSEntryList),
    - -
    ArgumentTypeDefault
    listKIO.UDSEntryList
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kmdi/KMdi.html b/python/pykde/doc/classref/kmdi/KMdi.html deleted file mode 100644 index 45f32a12..00000000 --- a/python/pykde/doc/classref/kmdi/KMdi.html +++ /dev/null @@ -1,47 +0,0 @@ - - - - - class KMdi - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KMdi


-
- - - - - -
Table of contents
Modules
kmdi Classes
All Classes
-
- - - - - - - - - - -
Modulekmdi
ClassKMdi
Inherits
-

enums

    -
  • AddWindowFlags = {StandardAdd, Maximize, Minimize, Hide, Detach, ToolWindow, UseKMdiSizeHint -}
  • AddWindowFlags = {StandardAdd, Maximize, Minimize, Hide, Detach, ToolWindow, UseKMdiSizeHint -}
  • EventType = {EV_Move, EV_DragBegin, EV_DragEnd, EV_ResizeBegin, EV_ResizeEnd -}
  • MdiMode = {UndefinedMode, ToplevelMode, ChildframeMode, TabPageMode, IDEAlMode -}
  • TabWidgetVisibility = {AlwaysShowTabs, ShowWhenMoreThanOneTab, NeverShowTabs -}
  • ToolviewStyle = {IconOnly, TextOnly, TextAndIcon -}
- - - diff --git a/python/pykde/doc/classref/kmdi/KMdiChildArea.html b/python/pykde/doc/classref/kmdi/KMdiChildArea.html deleted file mode 100644 index 793a911f..00000000 --- a/python/pykde/doc/classref/kmdi/KMdiChildArea.html +++ /dev/null @@ -1,214 +0,0 @@ - - - - - class KMdiChildArea - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KMdiChildArea


-
- - - - - -
Table of contents
Modules
kmdi Classes
All Classes
-
- - - - - - - - - - -
Modulekmdi
ClassKMdiChildArea
InheritsTQFrame
-

methods

    -
  • KMdiChildArea (parent) -
    -
    returns a KMdiChildArea instance
    - -
    ArgumentTypeDefault
    parentTQWidget
    -

  • -
  • cascadeMaximized () -
    -
    returns nothing

  • -
  • cascadeWindows () -
    -
    returns nothing

  • -
  • childMinimized (lpC, bWasMaximized) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    lpCKMdiChildFrm
    bWasMaximizedbool
    -

  • -
  • destroyChild (child, focusTopChild = 1) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    childKMdiChildFrm
    focusTopChildbool1
    -

  • -
  • destroyChildButNotItsView (lpC, bFocusTopChild = 1) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    lpCKMdiChildFrm
    bFocusTopChildbool1
    -

  • -
  • expandHorizontal () -
    -
    returns nothing

  • -
  • expandVertical () -
    -
    returns nothing

  • -
  • focusTopChild () -
    -
    returns nothing

  • -
  • getCaptionColors (pal, activeBG, activeFG, inactiveBG, inactiveFG) -
    - -
    returns nothing
    static
    - - - - - -
    ArgumentTypeDefault
    palTQPalette
    activeBGTQColor
    activeFGTQColor
    inactiveBGTQColor
    inactiveFGTQColor
    -

  • -
  • getCascadePoint (indexOfWindow = -1) -
    -
    returns (TQPoint)
    - -
    ArgumentTypeDefault
    indexOfWindowint-1
    -

  • -
  • getVisibleChildCount () -
    -
    returns (int)

  • -
  • lastChildFrmClosed () -
    -
    returns nothing

  • -
  • layoutMinimizedChildren () -
    -
    returns nothing

  • -
  • manageChild (lpC, bShow = 1, bCascade = 1) -
    -
    returns nothing
    - - - -
    ArgumentTypeDefault
    lpCKMdiChildFrm
    bShowbool1
    bCascadebool1
    -

  • -
  • mousePressEvent (e) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    eTQMouseEvent
    -

  • -
  • noMaximizedChildFrmLeft (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0KMdiChildFrm
    -

  • -
  • nowMaximized (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0bool
    -

  • -
  • popupWindowMenu (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0TQPoint
    -

  • -
  • resizeEvent (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0TQResizeEvent
    -

  • -
  • setMdiCaptionActiveBackColor (clr) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    clrTQColor
    -

  • -
  • setMdiCaptionActiveForeColor (clr) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    clrTQColor
    -

  • -
  • setMdiCaptionFont (fnt) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    fntTQFont
    -

  • -
  • setMdiCaptionInactiveBackColor (clr) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    clrTQColor
    -

  • -
  • setMdiCaptionInactiveForeColor (clr) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    clrTQColor
    -

  • -
  • setTopChild (child, setFocus = 0) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    childKMdiChildFrm
    setFocusbool0
    -

  • -
  • sysButtonConnectionsMustChange (a0, a1) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    a0KMdiChildFrm
    a1KMdiChildFrm
    -

  • -
  • tileAllInternal (maxWnds) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    maxWndsint
    -

  • -
  • tileAnodine () -
    -
    returns nothing

  • -
  • tilePragma () -
    -
    returns nothing

  • -
  • tileVertically () -
    -
    returns nothing

  • -
  • topChild () -
    -
    returns (KMdiChildFrm)

  • -
-

variables

  • -variables - - -
    VariableType
    m_defaultChildFrmSizeTQSize
    m_pZTQPtrList*
- - - diff --git a/python/pykde/doc/classref/kmdi/KMdiChildFrm.html b/python/pykde/doc/classref/kmdi/KMdiChildFrm.html deleted file mode 100644 index bbfb7d57..00000000 --- a/python/pykde/doc/classref/kmdi/KMdiChildFrm.html +++ /dev/null @@ -1,254 +0,0 @@ - - - - - class KMdiChildFrm - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KMdiChildFrm


-
- - - - - -
Table of contents
Modules
kmdi Classes
All Classes
-
- - - - - - - - - - -
Modulekmdi
ClassKMdiChildFrm
InheritsTQFrame
-

enums

    -
  • MdiWindowState = {Normal, Maximized, Minimized -}
-

methods

    -
  • KMdiChildFrm (parent) -
    -
    returns a KMdiChildFrm instance
    - -
    ArgumentTypeDefault
    parentKMdiChildArea
    -

  • -
  • caption () -
    -
    returns (TQString)

  • -
  • captionHeight () -
    -
    returns (int)

  • -
  • closePressed () -
    -
    returns nothing

  • -
  • doResize () -
    -
    returns nothing

  • -
  • doResize (captionOnly) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    captionOnlybool
    -

  • -
  • enableClose (bEnable) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    bEnablebool
    -

  • -
  • eventFilter (a0, a1) -
    -
    returns (bool)
    - - -
    ArgumentTypeDefault
    a0TQObject
    a1TQEvent
    -

  • -
  • getResizeCorner (ax, ay) -
    -
    returns (int)
    - - -
    ArgumentTypeDefault
    axint
    ayint
    -

  • -
  • icon () -
    -
    returns (TQPixmap)

  • -
  • isInDrag () -
    -
    returns (bool)

  • -
  • isInResize () -
    -
    returns (bool)

  • -
  • leaveEvent (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0TQEvent
    -

  • -
  • linkChildren (pFocPolDict) -
    Not Implemented
    -

  • -
  • linkChildren (a0) -
    - -
    returns nothing
    In versions less than KDE 3.2.2 only
    - -
    ArgumentTypeDefault
    a0TQDict
    -

  • -
  • maximizePressed () -
    -
    returns nothing

  • -
  • mdiAreaContentsRect () -
    -
    returns (TQRect)

  • -
  • minimizePressed () -
    -
    returns nothing

  • -
  • mouseMoveEvent (e) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    eTQMouseEvent
    -

  • -
  • mousePressEvent (e) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    eTQMouseEvent
    -

  • -
  • mouseReleaseEvent (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0TQMouseEvent
    -

  • -
  • moveEvent (me) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    meTQMoveEvent
    -

  • -
  • raiseAndActivate () -
    -
    returns nothing

  • -
  • redecorateButtons () -
    -
    returns nothing

  • -
  • resizeEvent (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0TQResizeEvent
    -

  • -
  • resizeWindow (resizeCorner, x, y) -
    -
    returns nothing
    - - - -
    ArgumentTypeDefault
    resizeCornerint
    xint
    yint
    -

  • -
  • restoreGeometry () -
    -
    returns (TQRect)

  • -
  • restorePressed () -
    -
    returns nothing

  • -
  • setCaption (text) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    textTQString
    -

  • -
  • setClient (w, bAutomaticResize = 0) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    wKMdiChildView
    bAutomaticResizebool0
    -

  • -
  • setIcon (pxm) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    pxmTQPixmap
    -

  • -
  • setMinimumSize (minw, minh) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    minwint
    minhint
    -

  • -
  • setResizeCursor (resizeCorner) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    resizeCornerint
    -

  • -
  • setRestoreGeometry (newRestGeo) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    newRestGeoTQRect
    -

  • -
  • setState (state, bAnimate = 1) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    stateKMdiChildFrm.MdiWindowState
    bAnimatebool1
    -

  • -
  • showSystemMenu () -
    -
    returns nothing

  • -
  • slot_resizeViaSystemMenu () -
    -
    returns nothing

  • -
  • state () -
    -
    returns (KMdiChildFrm.MdiWindowState)

  • -
  • switchToMinimizeLayout () -
    -
    returns nothing

  • -
  • systemMenu () -
    -
    returns (TQPopupMenu)

  • -
  • undockPressed () -
    -
    returns nothing

  • -
  • unlinkChildren () -
    -
    returns (TQDict)

  • -
  • unsetClient (positionOffset = TQPoint (0 ,0 )) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    positionOffsetTQPointTQPoint (0 ,0 )
    -

  • -
  • unsetResizeCursor () -
    -
    returns nothing

  • -
  • updateRects () -
    -
    returns nothing

  • -
-

variables

  • -variables - -
    VariableType
    m_pClientKMdiChildView*
- - - diff --git a/python/pykde/doc/classref/kmdi/KMdiChildFrmCaption.html b/python/pykde/doc/classref/kmdi/KMdiChildFrmCaption.html deleted file mode 100644 index 84a055e6..00000000 --- a/python/pykde/doc/classref/kmdi/KMdiChildFrmCaption.html +++ /dev/null @@ -1,106 +0,0 @@ - - - - - class KMdiChildFrmCaption - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KMdiChildFrmCaption


-
- - - - - -
Table of contents
Modules
kmdi Classes
All Classes
-
- - - - - - - - - - -
Modulekmdi
ClassKMdiChildFrmCaption
InheritsTQWidget
-

methods

    -
  • KMdiChildFrmCaption (parent) -
    -
    returns a KMdiChildFrmCaption instance
    - -
    ArgumentTypeDefault
    parentKMdiChildFrm
    -

  • -
  • abbreviateText (origStr, maxWidth) -
    -
    returns (TQString)
    - - -
    ArgumentTypeDefault
    origStrTQString
    maxWidthint
    -

  • -
  • heightHint () -
    -
    returns (int)

  • -
  • mouseDoubleClickEvent (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0TQMouseEvent
    -

  • -
  • mouseMoveEvent (e) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    eTQMouseEvent
    -

  • -
  • mousePressEvent (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0TQMouseEvent
    -

  • -
  • mouseReleaseEvent (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0TQMouseEvent
    -

  • -
  • paintEvent (e) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    eTQPaintEvent
    -

  • -
  • setActive (bActive) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    bActivebool
    -

  • -
  • setCaption (text) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    textTQString
    -

  • -
  • slot_moveViaSystemMenu () -
    -
    returns nothing

  • -
-

variables

  • -variables - -
    VariableType
    m_szCaptionTQString
- - - diff --git a/python/pykde/doc/classref/kmdi/KMdiChildFrmDragBeginEvent.html b/python/pykde/doc/classref/kmdi/KMdiChildFrmDragBeginEvent.html deleted file mode 100644 index c70524b0..00000000 --- a/python/pykde/doc/classref/kmdi/KMdiChildFrmDragBeginEvent.html +++ /dev/null @@ -1,47 +0,0 @@ - - - - - class KMdiChildFrmDragBeginEvent - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KMdiChildFrmDragBeginEvent


-
- - - - - -
Table of contents
Modules
kmdi Classes
All Classes
-
- - - - - - - - - - -
Modulekmdi
ClassKMdiChildFrmDragBeginEvent
InheritsTQCustomEvent
-

methods

    -
  • KMdiChildFrmDragBeginEvent (e) -
    -
    returns a KMdiChildFrmDragBeginEvent instance
    - -
    ArgumentTypeDefault
    eTQMouseEvent
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kmdi/KMdiChildFrmDragEndEvent.html b/python/pykde/doc/classref/kmdi/KMdiChildFrmDragEndEvent.html deleted file mode 100644 index d3129952..00000000 --- a/python/pykde/doc/classref/kmdi/KMdiChildFrmDragEndEvent.html +++ /dev/null @@ -1,47 +0,0 @@ - - - - - class KMdiChildFrmDragEndEvent - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KMdiChildFrmDragEndEvent


-
- - - - - -
Table of contents
Modules
kmdi Classes
All Classes
-
- - - - - - - - - - -
Modulekmdi
ClassKMdiChildFrmDragEndEvent
InheritsTQCustomEvent
-

methods

    -
  • KMdiChildFrmDragEndEvent (e) -
    -
    returns a KMdiChildFrmDragEndEvent instance
    - -
    ArgumentTypeDefault
    eTQMouseEvent
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kmdi/KMdiChildFrmMoveEvent.html b/python/pykde/doc/classref/kmdi/KMdiChildFrmMoveEvent.html deleted file mode 100644 index b3ef9327..00000000 --- a/python/pykde/doc/classref/kmdi/KMdiChildFrmMoveEvent.html +++ /dev/null @@ -1,47 +0,0 @@ - - - - - class KMdiChildFrmMoveEvent - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KMdiChildFrmMoveEvent


-
- - - - - -
Table of contents
Modules
kmdi Classes
All Classes
-
- - - - - - - - - - -
Modulekmdi
ClassKMdiChildFrmMoveEvent
InheritsTQCustomEvent
-

methods

    -
  • KMdiChildFrmMoveEvent (e) -
    -
    returns a KMdiChildFrmMoveEvent instance
    - -
    ArgumentTypeDefault
    eTQMoveEvent
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kmdi/KMdiChildFrmResizeBeginEvent.html b/python/pykde/doc/classref/kmdi/KMdiChildFrmResizeBeginEvent.html deleted file mode 100644 index f2bcc381..00000000 --- a/python/pykde/doc/classref/kmdi/KMdiChildFrmResizeBeginEvent.html +++ /dev/null @@ -1,47 +0,0 @@ - - - - - class KMdiChildFrmResizeBeginEvent - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KMdiChildFrmResizeBeginEvent


-
- - - - - -
Table of contents
Modules
kmdi Classes
All Classes
-
- - - - - - - - - - -
Modulekmdi
ClassKMdiChildFrmResizeBeginEvent
InheritsTQCustomEvent
-

methods

    -
  • KMdiChildFrmResizeBeginEvent (e) -
    -
    returns a KMdiChildFrmResizeBeginEvent instance
    - -
    ArgumentTypeDefault
    eTQMouseEvent
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kmdi/KMdiChildFrmResizeEndEvent.html b/python/pykde/doc/classref/kmdi/KMdiChildFrmResizeEndEvent.html deleted file mode 100644 index 78e2e030..00000000 --- a/python/pykde/doc/classref/kmdi/KMdiChildFrmResizeEndEvent.html +++ /dev/null @@ -1,47 +0,0 @@ - - - - - class KMdiChildFrmResizeEndEvent - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KMdiChildFrmResizeEndEvent


-
- - - - - -
Table of contents
Modules
kmdi Classes
All Classes
-
- - - - - - - - - - -
Modulekmdi
ClassKMdiChildFrmResizeEndEvent
InheritsTQCustomEvent
-

methods

    -
  • KMdiChildFrmResizeEndEvent (e) -
    -
    returns a KMdiChildFrmResizeEndEvent instance
    - -
    ArgumentTypeDefault
    eTQMouseEvent
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kmdi/KMdiChildView.html b/python/pykde/doc/classref/kmdi/KMdiChildView.html deleted file mode 100644 index 8671787d..00000000 --- a/python/pykde/doc/classref/kmdi/KMdiChildView.html +++ /dev/null @@ -1,385 +0,0 @@ - - - - - class KMdiChildView - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KMdiChildView


-
- - - - - -
Table of contents
Modules
kmdi Classes
All Classes
-
- - - - - - - - - - -
Modulekmdi
ClassKMdiChildView
InheritsTQWidget
-

methods

    -
  • KMdiChildView (caption, parentWidget = 0, name = 0, f = 0) -
    -
    returns a KMdiChildView instance
    - - - - -
    ArgumentTypeDefault
    captionTQString
    parentWidgetTQWidget0
    namechar0
    fWFlags0
    -

  • -
  • KMdiChildView (parentWidget = 0, name = 0, f = 0) -
    -
    returns a KMdiChildView instance
    - - - -
    ArgumentTypeDefault
    parentWidgetTQWidget0
    namechar0
    fWFlags0
    -

  • -
  • activate () -
    -
    returns nothing

  • -
  • activated (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0KMdiChildView
    -

  • -
  • attach () -
    -
    returns nothing

  • -
  • attachWindow (a0, a1) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    a0KMdiChildView
    a1bool
    -

  • -
  • caption () -
    -
    returns (TQString)

  • -
  • captionUpdated (a0, a1) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    a0TQWidget
    a1TQString
    -

  • -
  • childWindowCloseRequest (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0KMdiChildView
    -

  • -
  • clickedInDockMenu (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0int
    -

  • -
  • clickedInWindowMenu (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0int
    -

  • -
  • closeEvent (e) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    eTQCloseEvent
    -

  • -
  • deactivated (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0KMdiChildView
    -

  • -
  • detach () -
    -
    returns nothing

  • -
  • detachWindow (a0, a1) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    a0KMdiChildView
    a1bool
    -

  • -
  • eventFilter (obj, e) -
    -
    returns (bool)
    - - -
    ArgumentTypeDefault
    objTQObject
    eTQEvent
    -

  • -
  • externalGeometry () -
    -
    returns (TQRect)

  • -
  • focusInEvent (e) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    eTQFocusEvent
    -

  • -
  • focusInEventOccurs (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0KMdiChildView
    -

  • -
  • focusOutEvent (e) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    eTQFocusEvent
    -

  • -
  • focusedChildWidget () -
    -
    returns (TQWidget)

  • -
  • getTimeStamp () -
    -
    returns (TQDateTime)

  • -
  • gotFocus (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0KMdiChildView
    -

  • -
  • hide () -
    -
    returns nothing

  • -
  • iconUpdated (a0, a1) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    a0TQWidget
    a1TQPixmap
    -

  • -
  • internalGeometry () -
    -
    returns (TQRect)

  • -
  • isAttached () -
    -
    returns (bool)

  • -
  • isAttachedNow () -
    -
    returns nothing

  • -
  • isDetachedNow () -
    -
    returns nothing

  • -
  • isMaximized () -
    -
    returns (bool)

  • -
  • isMaximizedNow () -
    -
    returns nothing

  • -
  • isMinimized () -
    -
    returns (bool)

  • -
  • isMinimizedNow () -
    -
    returns nothing

  • -
  • isRestoredNow () -
    -
    returns nothing

  • -
  • isToolView () -
    -
    returns (bool)

  • -
  • lostFocus (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0KMdiChildView
    -

  • -
  • maximize (bAnimate) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    bAnimatebool
    -

  • -
  • maximize () -
    -
    returns nothing

  • -
  • mdiParent () -
    -
    returns (KMdiChildFrm)

  • -
  • mdiParentNowMaximized (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0bool
    -

  • -
  • minimize (bAnimate) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    bAnimatebool
    -

  • -
  • minimize () -
    -
    returns nothing

  • -
  • myIconPtr () -
    -
    returns (TQPixmap)

  • -
  • raise_ () -
    - -
    returns nothing
    Renamed: was ' raise -' in C++

  • -
  • removeEventFilterForAllChildren () -
    -
    returns nothing

  • -
  • resizeEvent (e) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    eTQResizeEvent
    -

  • -
  • restore () -
    -
    returns nothing

  • -
  • restoreGeometry () -
    -
    returns (TQRect)

  • -
  • setCaption (szCaption) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    szCaptionTQString
    -

  • -
  • setExternalGeometry (newGeomety) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    newGeometyTQRect
    -

  • -
  • setFirstFocusableChildWidget (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0TQWidget
    -

  • -
  • setInternalGeometry (newGeomety) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    newGeometyTQRect
    -

  • -
  • setLastFocusableChildWidget (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0TQWidget
    -

  • -
  • setMDICaption (caption) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    captionTQString
    -

  • -
  • setMaximumSize (maxw, maxh) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    maxwint
    maxhint
    -

  • -
  • setMinimumSize (minw, minh) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    minwint
    minhint
    -

  • -
  • setRestoreGeometry (newRestGeo) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    newRestGeoTQRect
    -

  • -
  • setTabCaption (caption) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    captionTQString
    -

  • -
  • setWindowMenuID (id) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    idint
    -

  • -
  • show () -
    -
    returns nothing

  • -
  • showMaximized () -
    -
    returns nothing

  • -
  • showMinimized () -
    -
    returns nothing

  • -
  • showNormal () -
    -
    returns nothing

  • -
  • slot_childDestroyed () -
    -
    returns nothing

  • -
  • slot_clickedInDockMenu () -
    -
    returns nothing

  • -
  • slot_clickedInWindowMenu () -
    -
    returns nothing

  • -
  • tabCaption () -
    -
    returns (TQString)

  • -
  • tabCaptionChanged (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0TQString
    -

  • -
  • trackIconAndCaptionChanges (view) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    viewTQWidget
    -

  • -
  • updateTimeStamp () -
    -
    returns nothing

  • -
  • windowCaptionChanged (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0TQString
    -

  • -
  • youAreAttached (lpC) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    lpCKMdiChildFrm
    -

  • -
  • youAreDetached () -
    -
    returns nothing

  • -
- - - diff --git a/python/pykde/doc/classref/kmdi/KMdiMainFrm.html b/python/pykde/doc/classref/kmdi/KMdiMainFrm.html deleted file mode 100644 index cf2b3f25..00000000 --- a/python/pykde/doc/classref/kmdi/KMdiMainFrm.html +++ /dev/null @@ -1,580 +0,0 @@ - - - - - class KMdiMainFrm - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KMdiMainFrm


-
- - - - - -
Table of contents
Modules
kmdi Classes
All Classes
-
- - - - - - - - - - -
Modulekmdi
ClassKMdiMainFrm
InheritsKParts.DockMainWindow
-

enums

    -
  • ExistsAs = {DocumentView, ToolView, AnyView -}
-

methods

    -
  • KMdiMainFrm (parentWidget, name = "", mdiMode = KMdi .ChildframeMode, flags = WType_TopLevel | WDestructiveClose) -
    -
    returns a KMdiMainFrm instance
    - - - - -
    ArgumentTypeDefault
    parentWidgetTQWidget
    namechar""
    mdiModeKMdi.MdiModeKMdi .ChildframeMode
    flagsWFlagsWType_TopLevel | WDestructiveClose
    -

  • -
  • activateFirstWin () -
    -
    returns nothing

  • -
  • activateLastWin () -
    -
    returns nothing

  • -
  • activateNextWin () -
    -
    returns nothing

  • -
  • activatePrevWin () -
    -
    returns nothing

  • -
  • activateView (index) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    indexint
    -

  • -
  • activateView (pWnd) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    pWndKMdiChildView
    -

  • -
  • activeWindow () -
    -
    returns (KMdiChildView)

  • -
  • addToolWindow (pWnd, pos = KDockWidget .DockNone, pTargetWnd = 0, percent = 50, tabToolTip = 0, tabCaption = 0) -
    -
    returns (KMdiToolViewAccessor)
    - - - - - - -
    ArgumentTypeDefault
    pWndTQWidget
    posKDockWidget.DockPositionKDockWidget .DockNone
    pTargetWndTQWidget0
    percentint50
    tabToolTipTQString0
    tabCaptionTQString0
    -

  • -
  • addWindow (pWnd, flags = KMdi .StandardAdd) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    pWndKMdiChildView
    flagsintKMdi .StandardAdd
    -

  • -
  • addWindow (pWnd, flags, index) -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only
    - - - -
    ArgumentTypeDefault
    pWndKMdiChildView
    flagsint
    indexint
    -

  • -
  • addWindow (pWnd, pos, flags = KMdi .StandardAdd) -
    -
    returns nothing
    - - - -
    ArgumentTypeDefault
    pWndKMdiChildView
    posTQPoint
    flagsintKMdi .StandardAdd
    -

  • -
  • addWindow (pWnd, rectNormal, flags = KMdi .StandardAdd) -
    -
    returns nothing
    - - - -
    ArgumentTypeDefault
    pWndKMdiChildView
    rectNormalTQRect
    flagsintKMdi .StandardAdd
    -

  • -
  • applyOptions () -
    -
    returns nothing

  • -
  • attachWindow (pWnd, bShow = 1, bAutomaticResize = 0) -
    -
    returns nothing
    - - - -
    ArgumentTypeDefault
    pWndKMdiChildView
    bShowbool1
    bAutomaticResizebool0
    -

  • -
  • blockClearingOfWindowMenu (bBlocked) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    bBlockedbool
    -

  • -
  • cascadeMaximized () -
    -
    returns nothing

  • -
  • cascadeWindows () -
    -
    returns nothing

  • -
  • childFrameModeHeight () -
    -
    returns (int)

  • -
  • childViewIsDetachedNow (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0TQWidget
    -

  • -
  • childWindowCloseRequest (pWnd) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    pWndKMdiChildView
    -

  • -
  • closeActiveView () -
    -
    returns nothing

  • -
  • closeAllViews () -
    -
    returns nothing

  • -
  • closeViewButtonPressed () -
    -
    returns nothing

  • -
  • closeWindow (pWnd, layoutTaskBar = 1) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    pWndKMdiChildView
    layoutTaskBarbool1
    -

  • -
  • collapseOverlapContainers () -
    -
    returns nothing

  • -
  • createIterator () -
    Not Implemented
    -

  • -
  • createMdiManager () -
    -
    returns nothing

  • -
  • createTaskBar () -
    -
    returns nothing

  • -
  • createToolWindow () -
    -
    returns (KMdiToolViewAccessor)

  • -
  • createWrapper (view, name, shortName) -
    -
    returns (KMdiChildView)
    - - - -
    ArgumentTypeDefault
    viewTQWidget
    nameTQString
    shortNameTQString
    -

  • -
  • defaultChildFrmSize () -
    -
    returns (TQSize)

  • -
  • deleteIterator (pIt) -
    Not Implemented
    -

  • -
  • deleteToolWindow (pWnd) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    pWndTQWidget
    -

  • -
  • deleteToolWindow (accessor) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    accessorKMdiToolViewAccessor
    -

  • -
  • detachWindow (pWnd, bShow = 1) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    pWndKMdiChildView
    bShowbool1
    -

  • -
  • dockMenuItemActivated (id) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    idint
    -

  • -
  • dockToolViewsIntoContainers (widgetsToReparent, container) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    widgetsToReparentTQPtrList
    containerKDockWidget
    -

  • -
  • dragEndTimeOut () -
    -
    returns nothing

  • -
  • event (e) -
    -
    returns (bool)
    - -
    ArgumentTypeDefault
    eTQEvent
    -

  • -
  • eventFilter (obj, e) -
    -
    returns (bool)
    - - -
    ArgumentTypeDefault
    objTQObject
    eTQEvent
    -

  • -
  • expandHorizontal () -
    -
    returns nothing

  • -
  • expandVertical () -
    -
    returns nothing

  • -
  • fakeSDIApplication () -
    -
    returns nothing

  • -
  • fillWindowMenu () -
    -
    returns nothing

  • -
  • findRootDockWidgets (pRootDockWidgetList, pPositionList) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    pRootDockWidgetListTQPtrList
    pPositionListTQValueList
    -

  • -
  • findToolViewsDockedToMain (list, dprtmw) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    listTQPtrList
    dprtmwKDockWidget.DockPosition
    -

  • -
  • findWindow (caption) -
    -
    returns (KMdiChildView)
    - -
    ArgumentTypeDefault
    captionTQString
    -

  • -
  • finishChildframeMode () -
    -
    returns nothing

  • -
  • finishIDEAlMode (full = 1) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    fullbool1
    -

  • -
  • finishTabPageMode () -
    -
    returns nothing

  • -
  • finishToplevelMode () -
    -
    returns nothing

  • -
  • frameDecorOfAttachedViews () -
    - -
    returns (int)
    static

  • -
  • hideViewTaskBar () -
    -
    returns nothing

  • -
  • iconifyAllViews () -
    -
    returns nothing

  • -
  • idealToolViewsToStandardTabs (widgetNames, pos, sizee) -
    -
    returns nothing
    - - - -
    ArgumentTypeDefault
    widgetNamesTQStringList
    posKDockWidget.DockPosition
    sizeeint
    -

  • -
  • isFakingSDIApplication () -
    -
    returns (bool)

  • -
  • isInMaximizedChildFrmMode () -
    -
    returns (bool)

  • -
  • isViewTaskBarOn () -
    -
    returns (bool)

  • -
  • lastChildFrmClosed () -
    -
    returns nothing

  • -
  • lastChildViewClosed () -
    -
    returns nothing

  • -
  • leftTopLevelMode () -
    -
    returns nothing

  • -
  • mdiMode () -
    -
    returns (KMdi.MdiMode)

  • -
  • mdiModeHasBeenChangedTo (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0KMdi.MdiMode
    -

  • -
  • nextToolViewInDock () -
    -
    returns nothing

  • -
  • popupWindowMenu (p) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    pTQPoint
    -

  • -
  • prepareIdealToTabs (container) -
    -
    returns (TQStringList)
    - -
    ArgumentTypeDefault
    containerKDockWidget
    -

  • -
  • prevToolViewInDock () -
    -
    returns nothing

  • -
  • removeWindowFromMdi (pWnd) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    pWndKMdiChildView
    -

  • -
  • resizeEvent (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0TQResizeEvent
    -

  • -
  • setBackgroundColor (c) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    cTQColor
    -

  • -
  • setBackgroundPixmap (pm) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    pmTQPixmap
    -

  • -
  • setDefaultChildFrmSize (sz) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    szTQSize
    -

  • -
  • setEnableMaximizedChildFrmMode (bEnable) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    bEnablebool
    -

  • -
  • setFrameDecorOfAttachedViews (frameDecor) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    frameDecorint
    -

  • -
  • setIDEAlModeStyle (flags) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    flagsint
    -

  • -
  • setManagedDockPositionModeEnabled (enabled) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    enabledbool
    -

  • -
  • setMenuForSDIModeSysButtons (menuBar = 0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    menuBarKMenuBar0
    -

  • -
  • setMinimumSize (minw, minh) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    minwint
    minhint
    -

  • -
  • setStandardMDIMenuEnabled (showModeMenu = 1) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    showModeMenubool1
    -

  • -
  • setSwitching (switching) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    switchingbool
    -

  • -
  • setSysButtonsAtMenuPosition () -
    -
    returns nothing

  • -
  • setTabWidgetVisibility (a0) -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only
    - -
    ArgumentTypeDefault
    a0KMdi.TabWidgetVisibility
    -

  • -
  • setToolviewStyle (flags) -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only
    - -
    ArgumentTypeDefault
    flagsint
    -

  • -
  • setUndockPositioningOffset (offset) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    offsetTQPoint
    -

  • -
  • showViewTaskBar () -
    -
    returns nothing

  • -
  • slot_toggleTaskBar () -
    -
    returns nothing

  • -
  • switchOffMaximizeModeForMenu (oldChild) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    oldChildKMdiChildFrm
    -

  • -
  • switchToChildframeMode () -
    -
    returns nothing

  • -
  • switchToIDEAlMode () -
    -
    returns nothing

  • -
  • switchToTabPageMode () -
    -
    returns nothing

  • -
  • switchToToplevelMode () -
    -
    returns nothing

  • -
  • switching () -
    -
    returns (bool)

  • -
  • tabWidget () -
    - -
    returns (KTabWidget)
    In versions KDE 3.4.0 and above only

  • -
  • tabWidgetVisibility () -
    - -
    returns (KMdi.TabWidgetVisibility)
    In versions KDE 3.3.0 and above only

  • -
  • taskBarHeight () -
    -
    returns (int)

  • -
  • taskBarPopup (pWnd, bIncludeWindowPopup = 0) -
    -
    returns (TQPopupMenu)
    - - -
    ArgumentTypeDefault
    pWndKMdiChildView
    bIncludeWindowPopupbool0
    -

  • -
  • taskbarButtonRightClicked (pWnd) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    pWndKMdiChildView
    -

  • -
  • tileAnodine () -
    -
    returns nothing

  • -
  • tilePragma () -
    -
    returns nothing

  • -
  • tileVertically () -
    -
    returns nothing

  • -
  • toggleBottom () -
    -
    returns nothing

  • -
  • toggleLeft () -
    -
    returns nothing

  • -
  • toggleRight () -
    -
    returns nothing

  • -
  • toggleTop () -
    -
    returns nothing

  • -
  • updateSysButtonConnections (oldChild, newChild) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    oldChildKMdiChildFrm
    newChildKMdiChildFrm
    -

  • -
  • viewActivated (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0KMdiChildView
    -

  • -
  • viewDeactivated (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0KMdiChildView
    -

  • -
  • windowExists (pWnd, as) -
    -
    returns (bool)
    - - -
    ArgumentTypeDefault
    pWndKMdiChildView
    asKMdiMainFrm.ExistsAs
    -

  • -
  • windowMenu () -
    -
    returns (TQPopupMenu)

  • -
  • windowMenuItemActivated (id) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    idint
    -

  • -
  • windowPopup (pWnd, bIncludeTaskbarPopup = 1) -
    -
    returns (TQPopupMenu)
    - - -
    ArgumentTypeDefault
    pWndKMdiChildView
    bIncludeTaskbarPopupbool1
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kmdi/KMdiTaskBar.html b/python/pykde/doc/classref/kmdi/KMdiTaskBar.html deleted file mode 100644 index 72681200..00000000 --- a/python/pykde/doc/classref/kmdi/KMdiTaskBar.html +++ /dev/null @@ -1,101 +0,0 @@ - - - - - class KMdiTaskBar - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KMdiTaskBar


-
- - - - - -
Table of contents
Modules
kmdi Classes
All Classes
-
- - - - - - - - - - -
Modulekmdi
ClassKMdiTaskBar
InheritsKToolBar
-

methods

    -
  • KMdiTaskBar (parent, dock) -
    -
    returns a KMdiTaskBar instance
    - - -
    ArgumentTypeDefault
    parentKMdiMainFrm
    dockQt.Dock
    -

  • -
  • addWinButton (win_ptr) -
    -
    returns (KMdiTaskBarButton)
    - -
    ArgumentTypeDefault
    win_ptrKMdiChildView
    -

  • -
  • getButton (win_ptr) -
    -
    returns (KMdiTaskBarButton)
    - -
    ArgumentTypeDefault
    win_ptrKMdiChildView
    -

  • -
  • getNextWindowButton (bRight, win_ptr) -
    -
    returns (KMdiTaskBarButton)
    - - -
    ArgumentTypeDefault
    bRightbool
    win_ptrKMdiChildView
    -

  • -
  • isSwitchedOn () -
    -
    returns (bool)

  • -
  • layoutTaskBar (taskBarWidth = 0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    taskBarWidthint0
    -

  • -
  • removeWinButton (win_ptr, haveToLayoutTaskBar = 1) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    win_ptrKMdiChildView
    haveToLayoutTaskBarbool1
    -

  • -
  • resizeEvent (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0TQResizeEvent
    -

  • -
  • setActiveButton (win_ptr) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    win_ptrKMdiChildView
    -

  • -
  • switchOn (bOn) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    bOnbool
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kmdi/KMdiTaskBarButton.html b/python/pykde/doc/classref/kmdi/KMdiTaskBarButton.html deleted file mode 100644 index ccf5d8d3..00000000 --- a/python/pykde/doc/classref/kmdi/KMdiTaskBarButton.html +++ /dev/null @@ -1,104 +0,0 @@ - - - - - class KMdiTaskBarButton - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KMdiTaskBarButton


-
- - - - - -
Table of contents
Modules
kmdi Classes
All Classes
-
- - - - - - - - - - -
Modulekmdi
ClassKMdiTaskBarButton
InheritsTQPushButton
-

methods

    -
  • KMdiTaskBarButton (pTaskBar, win_ptr) -
    -
    returns a KMdiTaskBarButton instance
    - - -
    ArgumentTypeDefault
    pTaskBarKMdiTaskBar
    win_ptrKMdiChildView
    -

  • -
  • actualText () -
    -
    returns (TQString)

  • -
  • buttonTextChanged (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0int
    -

  • -
  • clicked (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0KMdiChildView
    -

  • -
  • fitText (a0, newWidth) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    a0TQString
    newWidthint
    -

  • -
  • leftMouseButtonClicked (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0KMdiChildView
    -

  • -
  • mousePressEvent (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0TQMouseEvent
    -

  • -
  • rightMouseButtonClicked (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0KMdiChildView
    -

  • -
  • setNewText (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0TQString
    -

  • -
  • setText (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0TQString
    -

  • -
-

variables

  • -variables - -
    VariableType
    m_pWindowKMdiChildView*
- - - diff --git a/python/pykde/doc/classref/kmdi/KMdiToolViewAccessor.html b/python/pykde/doc/classref/kmdi/KMdiToolViewAccessor.html deleted file mode 100644 index e65d7361..00000000 --- a/python/pykde/doc/classref/kmdi/KMdiToolViewAccessor.html +++ /dev/null @@ -1,99 +0,0 @@ - - - - - class KMdiToolViewAccessor - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KMdiToolViewAccessor


-
- - - - - -
Table of contents
Modules
kmdi Classes
All Classes
-
- - - - - - - - - - -
Modulekmdi
ClassKMdiToolViewAccessor
InheritsTQObject
-

methods

    -
  • KMdiToolViewAccessor (parent, widgetToWrap, tabToolTip = 0, tabCaption = 0) -
    -
    returns a KMdiToolViewAccessor instance
    - - - - -
    ArgumentTypeDefault
    parentKMdiMainFrm
    widgetToWrapTQWidget
    tabToolTipTQString0
    tabCaptionTQString0
    -

  • -
  • KMdiToolViewAccessor (parent) -
    -
    returns a KMdiToolViewAccessor instance
    - -
    ArgumentTypeDefault
    parentKMdiMainFrm
    -

  • -
  • eventFilter (o, e) -
    -
    returns (bool)
    - - -
    ArgumentTypeDefault
    oTQObject
    eTQEvent
    -

  • -
  • hide () -
    -
    returns nothing

  • -
  • place (pos = KDockWidget .DockNone, pTargetWnd = 0, percent = 50) -
    -
    returns nothing
    - - - -
    ArgumentTypeDefault
    posKDockWidget.DockPositionKDockWidget .DockNone
    pTargetWndTQWidget0
    percentint50
    -

  • -
  • placeAndShow (pos = KDockWidget .DockNone, pTargetWnd = 0, percent = 50) -
    -
    returns nothing
    - - - -
    ArgumentTypeDefault
    posKDockWidget.DockPositionKDockWidget .DockNone
    pTargetWndTQWidget0
    percentint50
    -

  • -
  • setWidgetToWrap (widgetToWrap, tabToolTip = 0, tabCaption = 0) -
    -
    returns nothing
    - - - -
    ArgumentTypeDefault
    widgetToWrapTQWidget
    tabToolTipTQString0
    tabCaptionTQString0
    -

  • -
  • show () -
    -
    returns nothing

  • -
  • wrappedWidget () -
    -
    returns (TQWidget)

  • -
  • wrapperWidget () -
    -
    returns (TQWidget)

  • -
- - - diff --git a/python/pykde/doc/classref/kmdi/KMdiViewCloseEvent.html b/python/pykde/doc/classref/kmdi/KMdiViewCloseEvent.html deleted file mode 100644 index 2b8e6c31..00000000 --- a/python/pykde/doc/classref/kmdi/KMdiViewCloseEvent.html +++ /dev/null @@ -1,47 +0,0 @@ - - - - - class KMdiViewCloseEvent - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KMdiViewCloseEvent


-
- - - - - -
Table of contents
Modules
kmdi Classes
All Classes
-
- - - - - - - - - - -
Modulekmdi
ClassKMdiViewCloseEvent
InheritsTQCustomEvent
-

methods

    -
  • KMdiViewCloseEvent (pWnd) -
    -
    returns a KMdiViewCloseEvent instance
    - -
    ArgumentTypeDefault
    pWndKMdiChildView
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kmdi/KMdiWin32IconButton.html b/python/pykde/doc/classref/kmdi/KMdiWin32IconButton.html deleted file mode 100644 index 1882941a..00000000 --- a/python/pykde/doc/classref/kmdi/KMdiWin32IconButton.html +++ /dev/null @@ -1,57 +0,0 @@ - - - - - class KMdiWin32IconButton - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KMdiWin32IconButton


-
- - - - - -
Table of contents
Modules
kmdi Classes
All Classes
-
- - - - - - - - - - -
Modulekmdi
ClassKMdiWin32IconButton
InheritsTQLabel
-

methods

    -
  • KMdiWin32IconButton (parent, name = 0) -
    -
    returns a KMdiWin32IconButton instance
    - - -
    ArgumentTypeDefault
    parentTQWidget
    namechar0
    -

  • -
  • mousePressEvent (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0TQMouseEvent
    -

  • -
  • pressed () -
    -
    returns nothing

  • -
- - - diff --git a/python/pykde/doc/classref/kmdi/index.html b/python/pykde/doc/classref/kmdi/index.html deleted file mode 100644 index 6e69f64b..00000000 --- a/python/pykde/doc/classref/kmdi/index.html +++ /dev/null @@ -1,51 +0,0 @@ - - - - - module kmdi - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

kmdi Class Index


-
- - - - -
Table of contents
Modules
All Classes
-
- kmdi Global and Namespace members

- -
- - - - - - - -
KMdi - KMdiChildFrmDragEndEvent
KMdi
KMdiChildArea
KMdiChildFrm
KMdiChildFrmCaption
KMdiChildFrmDragBeginEvent
KMdiChildFrmDragEndEvent
- - - - - - -
KMdiChildFrmMoveEvent - KMdiMainFrm
KMdiChildFrmMoveEvent
KMdiChildFrmResizeBeginEvent
KMdiChildFrmResizeEndEvent
KMdiChildView
KMdiMainFrm
- - - - - - -
KMdiTaskBar - KMdiWin32IconButton
KMdiTaskBar
KMdiTaskBarButton
KMdiToolViewAccessor
KMdiViewCloseEvent
KMdiWin32IconButton
- - diff --git a/python/pykde/doc/classref/kmdi/kmdi-globals.html b/python/pykde/doc/classref/kmdi/kmdi-globals.html deleted file mode 100644 index 111b4e76..00000000 --- a/python/pykde/doc/classref/kmdi/kmdi-globals.html +++ /dev/null @@ -1,28 +0,0 @@ - - - - - kmdi globals - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

kmdi Globals


-
- - - - - -
Table of contents
Modules
kmdi Classes
All Classes
-
- - - diff --git a/python/pykde/doc/classref/kparts/ExtTerminalInterface.html b/python/pykde/doc/classref/kparts/ExtTerminalInterface.html deleted file mode 100644 index 769cb809..00000000 --- a/python/pykde/doc/classref/kparts/ExtTerminalInterface.html +++ /dev/null @@ -1,82 +0,0 @@ - - - - - class ExtTerminalInterface - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class ExtTerminalInterface


-
- - - - - -
Table of contents
Modules
kparts Classes
All Classes
-
- - - - - - - - - - -
Modulekparts
ClassExtTerminalInterface (abstract)
Inherits
-

methods

    -
  • sendInput (a0) = 0 -
    - - -
    returns nothing
    In versions KDE 3.5.0 and above only
    pure virtual
    - -
    ArgumentTypeDefault
    a0TQString
    -

  • -
  • setAutoDestroy (a0) = 0 -
    - - -
    returns nothing
    In versions KDE 3.5.0 and above only
    pure virtual
    - -
    ArgumentTypeDefault
    a0bool
    -

  • -
  • setAutoStartShell (a0) = 0 -
    - - -
    returns nothing
    In versions KDE 3.5.0 and above only
    pure virtual
    - -
    ArgumentTypeDefault
    a0bool
    -

  • -
  • showShellInDir (a0) = 0 -
    - - -
    returns nothing
    In versions KDE 3.5.0 and above only
    pure virtual
    - -
    ArgumentTypeDefault
    a0TQString
    -

  • -
  • startProgram (a0, a1) = 0 -
    - - -
    returns nothing
    In versions KDE 3.5.0 and above only
    pure virtual
    - - -
    ArgumentTypeDefault
    a0TQString
    a1TQStrList
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kparts/KParts.BrowserExtension.html b/python/pykde/doc/classref/kparts/KParts.BrowserExtension.html deleted file mode 100644 index 9dfbdc21..00000000 --- a/python/pykde/doc/classref/kparts/KParts.BrowserExtension.html +++ /dev/null @@ -1,322 +0,0 @@ - - - - - class KParts.BrowserExtension - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KParts.BrowserExtension


-
- - - - - -
Table of contents
Modules
kparts Classes
All Classes
-
- - - - - - - - - - -
Modulekparts
ClassKParts.BrowserExtension
InheritsTQObject
-

enums

    -
  • (anonymous) = {DefaultPopupItems, ShowNavigationItems, ShowUp, ShowReload, ShowBookmark, ShowCreateDirectory, ShowTextSelectionItems, NoDeletion -}
  • (anonymous) = {DefaultPopupItems, ShowNavigationItems, ShowUp, ShowReload, ShowBookmark, ShowCreateDirectory, ShowTextSelectionItems -}
  • (anonymous) = {DefaultPopupItems, ShowNavigationItems, ShowUp, ShowReload, ShowBookmark, ShowCreateDirectory -}
-

methods

    -
  • BrowserExtension (parent, name = 0) -
    -
    returns a BrowserExtension instance
    - - -
    ArgumentTypeDefault
    parentKParts.ReadOnlyPart
    namechar0
    -

  • -
  • actionSlotMap () -
    - -
    returns (KParts.BrowserExtension.ActionSlotMap)
    static

  • -
  • actionSlotMapPtr () -
    - -
    returns (KParts.BrowserExtension.ActionSlotMap)
    static

  • -
  • actionText (name) -
    - -
    returns (TQString)
    In versions KDE 3.5.0 and above only
    - -
    ArgumentTypeDefault
    namechar
    -

  • -
  • addWebSideBar (url, name) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - - -
    ArgumentTypeDefault
    urlKURL
    nameTQString
    -

  • -
  • browserInterface () -
    -
    returns (KParts.BrowserInterface)

  • -
  • childObject (obj) -
    - -
    returns (KParts.BrowserExtension)
    static
    - -
    ArgumentTypeDefault
    objTQObject
    -

  • -
  • createNewWindow (url, args = KParts .URLArgs ()) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    urlKURL
    argsKParts.URLArgsKParts .URLArgs ()
    -

  • -
  • createNewWindow (url, args, windowArgs, part) -
    Not Implemented
    -

  • -
  • enableAction (name, enabled) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    namechar
    enabledbool
    -

  • -
  • infoMessage (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0TQString
    -

  • -
  • isActionEnabled (name) -
    -
    returns (bool)
    - -
    ArgumentTypeDefault
    namechar
    -

  • -
  • isURLDropHandlingEnabled () -
    -
    returns (bool)

  • -
  • loadingProgress (percent) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    percentint
    -

  • -
  • mouseOverInfo (item) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    itemKFileItem
    -

  • -
  • moveTopLevelWidget (x, y) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - - -
    ArgumentTypeDefault
    xint
    yint
    -

  • -
  • openURLNotify () -
    -
    returns nothing

  • -
  • openURLRequest (url, args = KParts .URLArgs ()) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    urlKURL
    argsKParts.URLArgsKParts .URLArgs ()
    -

  • -
  • openURLRequestDelayed (url, args = KParts .URLArgs ()) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    urlKURL
    argsKParts.URLArgsKParts .URLArgs ()
    -

  • -
  • pasteRequest () -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only

  • -
  • popupMenu (global, items) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    globalTQPoint
    itemsKFileItemList
    -

  • -
  • popupMenu (client, global, items) -
    -
    returns nothing
    - - - -
    ArgumentTypeDefault
    clientKXMLGUIClient
    globalTQPoint
    itemsKFileItemList
    -

  • -
  • popupMenu (client, global, items, args, i) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - - - - - -
    ArgumentTypeDefault
    clientKXMLGUIClient
    globalTQPoint
    itemsKFileItemList
    argsKParts.URLArgs
    iKParts.BrowserExtension.PopupFlags
    -

  • -
  • popupMenu (global, url, mimeType, mode = -1) -
    -
    returns nothing
    - - - - -
    ArgumentTypeDefault
    globalTQPoint
    urlKURL
    mimeTypeTQString
    modemode_t-1
    -

  • -
  • popupMenu (client, global, url, mimeType, mode = -1) -
    -
    returns nothing
    - - - - - -
    ArgumentTypeDefault
    clientKXMLGUIClient
    globalTQPoint
    urlKURL
    mimeTypeTQString
    modemode_t-1
    -

  • -
  • popupMenu (client, global, url, args, i, mode = -1) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - - - - - - -
    ArgumentTypeDefault
    clientKXMLGUIClient
    globalTQPoint
    urlKURL
    argsKParts.URLArgs
    iKParts.BrowserExtension.PopupFlags
    modemode_t-1
    -

  • -
  • requestFocus (part) -
    - -
    returns nothing
    In versions KDE 3.3.1 and above only
    - -
    ArgumentTypeDefault
    partKParts.ReadOnlyPart
    -

  • -
  • resizeTopLevelWidget (w, h) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - - -
    ArgumentTypeDefault
    wint
    hint
    -

  • -
  • restoreState (stream) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    streamTQDataStream
    -

  • -
  • saveState (stream) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    streamTQDataStream
    -

  • -
  • selectionInfo (items) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    itemsKFileItemList
    -

  • -
  • selectionInfo (text) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    textTQString
    -

  • -
  • selectionInfo (urls) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    urlsKURL.List
    -

  • -
  • setActionText (name, text) -
    - -
    returns nothing
    In versions KDE 3.5.0 and above only
    - - -
    ArgumentTypeDefault
    namechar
    textTQString
    -

  • -
  • setBrowserInterface (impl) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    implKParts.BrowserInterface
    -

  • -
  • setIconURL (url) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    urlKURL
    -

  • -
  • setLocationBarURL (url) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    urlTQString
    -

  • -
  • setPageSecurity (a0) -
    - -
    returns nothing
    In versions KDE 3.4.0 and above only
    - -
    ArgumentTypeDefault
    a0int
    -

  • -
  • setURLArgs (args) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    argsKParts.URLArgs
    -

  • -
  • setURLDropHandlingEnabled (enable) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    enablebool
    -

  • -
  • speedProgress (bytesPerSecond) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    bytesPerSecondint
    -

  • -
  • urlArgs () -
    -
    returns (KParts.URLArgs)

  • -
  • xOffset () -
    -
    returns (int)

  • -
  • yOffset () -
    -
    returns (int)

  • -
- - - diff --git a/python/pykde/doc/classref/kparts/KParts.BrowserHostExtension.html b/python/pykde/doc/classref/kparts/KParts.BrowserHostExtension.html deleted file mode 100644 index 9f8c3370..00000000 --- a/python/pykde/doc/classref/kparts/KParts.BrowserHostExtension.html +++ /dev/null @@ -1,76 +0,0 @@ - - - - - class KParts.BrowserHostExtension - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KParts.BrowserHostExtension


-
- - - - - -
Table of contents
Modules
kparts Classes
All Classes
-
- - - - - - - - - - -
Modulekparts
ClassKParts.BrowserHostExtension
InheritsTQObject
-

methods

    -
  • BrowserHostExtension (parent, name = 0) -
    -
    returns a BrowserHostExtension instance
    - - -
    ArgumentTypeDefault
    parentKParts.ReadOnlyPart
    namechar0
    -

  • -
  • childObject (obj) -
    - -
    returns (KParts.BrowserHostExtension)
    static
    - -
    ArgumentTypeDefault
    objTQObject
    -

  • -
  • findFrameParent (callingPart, frame) -
    - -
    returns (KParts.BrowserHostExtension)
    In versions KDE 3.3.0 and above only
    - - -
    ArgumentTypeDefault
    callingPartKParts.ReadOnlyPart
    frameTQString
    -

  • -
  • frameNames () -
    -
    returns (TQStringList)

  • -
  • frames () -
    -
    returns (TQPtrList)

  • -
  • openURLInFrame (url, urlArgs) -
    -
    returns (bool)
    - - -
    ArgumentTypeDefault
    urlKURL
    urlArgsKParts.URLArgs
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kparts/KParts.BrowserInterface.html b/python/pykde/doc/classref/kparts/KParts.BrowserInterface.html deleted file mode 100644 index ca285d6a..00000000 --- a/python/pykde/doc/classref/kparts/KParts.BrowserInterface.html +++ /dev/null @@ -1,55 +0,0 @@ - - - - - class KParts.BrowserInterface - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KParts.BrowserInterface


-
- - - - - -
Table of contents
Modules
kparts Classes
All Classes
-
- - - - - - - - - - -
Modulekparts
ClassKParts.BrowserInterface
InheritsTQObject
-

methods

    -
  • BrowserInterface (parent, name = 0) -
    -
    returns a BrowserInterface instance
    - - -
    ArgumentTypeDefault
    parentTQObject
    namechar0
    -

  • -
  • callMethod (name, argument) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    namechar
    argumentTQVariant
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kparts/KParts.BrowserRun.html b/python/pykde/doc/classref/kparts/KParts.BrowserRun.html deleted file mode 100644 index 9cde0c80..00000000 --- a/python/pykde/doc/classref/kparts/KParts.BrowserRun.html +++ /dev/null @@ -1,197 +0,0 @@ - - - - - class KParts.BrowserRun - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KParts.BrowserRun


-
- - - - - -
Table of contents
Modules
kparts Classes
All Classes
-
- - - - - - - - - - -
Modulekparts
ClassKParts.BrowserRun
InheritsKRun
-

enums

    -
  • AskEmbedOrSaveFlags = {InlineDisposition, AttachmentDisposition -}
  • AskSaveResult = {Save, Open, Cancel -}
-

methods

    -
  • BrowserRun (url, args, part, window, removeReferrer, trustedSource) -
    -
    returns a BrowserRun instance
    - - - - - - -
    ArgumentTypeDefault
    urlKURL
    argsKParts.URLArgs
    partKParts.ReadOnlyPart
    windowTQWidget
    removeReferrerbool
    trustedSourcebool
    -

  • -
  • BrowserRun (url, args, part, window, removeReferrer, trustedSource, hideErrorDialog) -
    - -
    returns a BrowserRun instance
    In versions KDE 3.1.0 and above only
    - - - - - - - -
    ArgumentTypeDefault
    urlKURL
    argsKParts.URLArgs
    partKParts.ReadOnlyPart
    windowTQWidget
    removeReferrerbool
    trustedSourcebool
    hideErrorDialogbool
    -

  • -
  • allowExecution (serviceType, url) -
    - -
    returns (bool)
    static
    - - -
    ArgumentTypeDefault
    serviceTypeTQString
    urlKURL
    -

  • -
  • askEmbedOrSave (url, mimeType, suggestedFilename = TQString .null, flags = 0) -
    - - -
    returns (KParts.BrowserRun.AskSaveResult)
    In versions KDE 3.2.0 and above only
    static
    - - - - -
    ArgumentTypeDefault
    urlKURL
    mimeTypeTQString
    suggestedFilenameTQStringTQString .null
    flagsint0
    -

  • -
  • askSave (url, offer, mimeType, suggestedFilename = TQString .null) -
    - -
    returns (KParts.BrowserRun.AskSaveResult)
    static
    - - - - -
    ArgumentTypeDefault
    urlKURL
    offerKService.Ptr
    mimeTypeTQString
    suggestedFilenameTQStringTQString .null
    -

  • -
  • contentDisposition () -
    - -
    returns (TQString)
    In versions KDE 3.5.2 and above only

  • -
  • handleError (job) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    jobKIO.Job
    -

  • -
  • handleNonEmbeddable (mimeType) -
    Not Implemented
    -

  • -
  • hideErrorDialog () -
    - -
    returns (bool)
    In versions KDE 3.1.0 and above only

  • -
  • init () -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only

  • -
  • isExecutable (serviceType) -
    - -
    returns (bool)
    static
    - -
    ArgumentTypeDefault
    serviceTypeTQString
    -

  • -
  • isTextExecutable (serviceType) -
    - -
    returns (bool)
    static
    - -
    ArgumentTypeDefault
    serviceTypeTQString
    -

  • -
  • save (url, suggestedFilename) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    urlKURL
    suggestedFilenameTQString
    -

  • -
  • scanFile () -
    -
    returns nothing

  • -
  • serverSuggestsSave () -
    - -
    returns (bool)
    In versions KDE 3.5.2 and above only

  • -
  • simpleSave (url, suggestedFilename, window) -
    - - -
    returns nothing
    In versions KDE 3.2.0 and above only
    static
    - - - -
    ArgumentTypeDefault
    urlKURL
    suggestedFilenameTQString
    windowTQWidget
    -

  • -
  • simpleSave (url, suggestedFilename) -
    - -
    returns nothing
    static
    - - -
    ArgumentTypeDefault
    urlKURL
    suggestedFilenameTQString
    -

  • -
  • slotBrowserMimetype (job, type) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    jobKIO.Job
    typeTQString
    -

  • -
  • slotBrowserScanFinished (job) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    jobKIO.Job
    -

  • -
  • slotCopyToTempFileResult (job) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    jobKIO.Job
    -

  • -
  • slotStatResult (job) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    jobKIO.Job
    -

  • -
  • suggestedFilename () -
    - -
    returns (TQString)
    In versions KDE 3.2.0 and above only

  • -
  • url () -
    -
    returns (KURL)

  • -
- - - diff --git a/python/pykde/doc/classref/kparts/KParts.DockMainWindow.html b/python/pykde/doc/classref/kparts/KParts.DockMainWindow.html deleted file mode 100644 index 7976d613..00000000 --- a/python/pykde/doc/classref/kparts/KParts.DockMainWindow.html +++ /dev/null @@ -1,67 +0,0 @@ - - - - - class KParts.DockMainWindow - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KParts.DockMainWindow


-
- - - - - -
Table of contents
Modules
kparts Classes
All Classes
-
- - - - - - - - - - -
Modulekparts
ClassKParts.DockMainWindow
InheritsKDockMainWindow, KParts.PartBase
-

methods

    -
  • DockMainWindow (parent = 0, name = 0, f = WDestructiveClose) -
    -
    returns a DockMainWindow instance
    - - - -
    ArgumentTypeDefault
    parentTQWidget0
    namechar0
    fWFlagsWDestructiveClose
    -

  • -
  • createGUI (part) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    partKParts.Part
    -

  • -
  • createShellGUI (create = 1) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    createbool1
    -

  • -
  • slotSetStatusBarText (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0TQString
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kparts/KParts.Event.html b/python/pykde/doc/classref/kparts/KParts.Event.html deleted file mode 100644 index 1f1aa3bd..00000000 --- a/python/pykde/doc/classref/kparts/KParts.Event.html +++ /dev/null @@ -1,65 +0,0 @@ - - - - - class KParts.Event - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KParts.Event


-
- - - - - -
Table of contents
Modules
kparts Classes
All Classes
-
- - - - - - - - - - -
Modulekparts
ClassKParts.Event
InheritsTQCustomEvent
-

methods

    -
  • Event (eventName) -
    -
    returns a Event instance
    - -
    ArgumentTypeDefault
    eventNamechar
    -

  • -
  • eventName () -
    -
    returns (char)

  • -
  • test (event) -
    - -
    returns (bool)
    static
    - -
    ArgumentTypeDefault
    eventTQEvent
    -

  • -
  • test (event, name) -
    - -
    returns (bool)
    static
    - - -
    ArgumentTypeDefault
    eventTQEvent
    namechar
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kparts/KParts.Factory.html b/python/pykde/doc/classref/kparts/KParts.Factory.html deleted file mode 100644 index 43c9974a..00000000 --- a/python/pykde/doc/classref/kparts/KParts.Factory.html +++ /dev/null @@ -1,91 +0,0 @@ - - - - - class KParts.Factory - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KParts.Factory


-
- - - - - -
Table of contents
Modules
kparts Classes
All Classes
-
- - - - - - - - - - -
Modulekparts
ClassKParts.Factory
InheritsKLibFactory
-

methods

    -
  • Factory (parent = 0, name = 0) -
    -
    returns a Factory instance
    - - -
    ArgumentTypeDefault
    parentTQObject0
    namechar0
    -

  • -
  • createObject (parent = 0, name = 0, classname = "TQObject", args = TQStringList ()) -
    -
    returns (TQObject)
    - - - - -
    ArgumentTypeDefault
    parentTQObject0
    namechar0
    classnamechar"TQObject"
    argsTQStringListTQStringList ()
    -

  • -
  • createPart (parentWidget = 0, widgetName = 0, parent = 0, name = 0, classname = "KParts.Part", args = TQStringList ()) -
    -
    returns (KParts.Part)
    - - - - - - -
    ArgumentTypeDefault
    parentWidgetTQWidget0
    widgetNamechar0
    parentTQObject0
    namechar0
    classnamechar"KParts.Part"
    argsTQStringListTQStringList ()
    -

  • -
  • createPartObject (parentWidget = 0, widgetName = 0, parent = 0, name = 0, classname = "KParts.Part", args = TQStringList ()) -
    -
    returns (KParts.Part)
    - - - - - - -
    ArgumentTypeDefault
    parentWidgetTQWidget0
    widgetNamechar0
    parentTQObject0
    namechar0
    classnamechar"KParts.Part"
    argsTQStringListTQStringList ()
    -

  • -
  • partInstance () -
    - -
    returns (KInstance)
    In versions KDE 3.2.0 and above only

  • -
  • partInstanceFromLibrary (libraryName) -
    - - -
    returns (KInstance)
    In versions KDE 3.2.0 and above only
    static
    - -
    ArgumentTypeDefault
    libraryNameTQCString
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kparts/KParts.GUIActivateEvent.html b/python/pykde/doc/classref/kparts/KParts.GUIActivateEvent.html deleted file mode 100644 index 23165e68..00000000 --- a/python/pykde/doc/classref/kparts/KParts.GUIActivateEvent.html +++ /dev/null @@ -1,57 +0,0 @@ - - - - - class KParts.GUIActivateEvent - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KParts.GUIActivateEvent


-
- - - - - -
Table of contents
Modules
kparts Classes
All Classes
-
- - - - - - - - - - -
Modulekparts
ClassKParts.GUIActivateEvent
InheritsKParts.Event
-

methods

    -
  • GUIActivateEvent (activated) -
    -
    returns a GUIActivateEvent instance
    - -
    ArgumentTypeDefault
    activatedbool
    -

  • -
  • activated () -
    -
    returns (bool)

  • -
  • test (event) -
    - -
    returns (bool)
    static
    - -
    ArgumentTypeDefault
    eventTQEvent
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kparts/KParts.HistoryProvider.html b/python/pykde/doc/classref/kparts/KParts.HistoryProvider.html deleted file mode 100644 index 9361b847..00000000 --- a/python/pykde/doc/classref/kparts/KParts.HistoryProvider.html +++ /dev/null @@ -1,82 +0,0 @@ - - - - - class KParts.HistoryProvider - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KParts.HistoryProvider


-
- - - - - -
Table of contents
Modules
kparts Classes
All Classes
-
- - - - - - - - - - -
Modulekparts
ClassKParts.HistoryProvider
InheritsTQObject
-

methods

    -
  • HistoryProvider (parent = 0, name = 0) -
    -
    returns a HistoryProvider instance
    - - -
    ArgumentTypeDefault
    parentTQObject0
    namechar0
    -

  • -
  • clear () -
    -
    returns nothing

  • -
  • cleared () -
    -
    returns nothing

  • -
  • contains (item) -
    -
    returns (bool)
    - -
    ArgumentTypeDefault
    itemTQString
    -

  • -
  • insert (item) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    itemTQString
    -

  • -
  • remove (item) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    itemTQString
    -

  • -
  • self () -
    - -
    returns (KParts.HistoryProvider)
    static

  • -
  • updated (items) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    itemsTQStringList
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kparts/KParts.LiveConnectExtension.html b/python/pykde/doc/classref/kparts/KParts.LiveConnectExtension.html deleted file mode 100644 index 32877682..00000000 --- a/python/pykde/doc/classref/kparts/KParts.LiveConnectExtension.html +++ /dev/null @@ -1,98 +0,0 @@ - - - - - class KParts.LiveConnectExtension - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KParts.LiveConnectExtension


-
- - - - - -
Table of contents
Modules
kparts Classes
All Classes
-
- - - - - - - - - - -
Modulekparts
ClassKParts.LiveConnectExtension
InheritsTQObject
-

enums

    -
  • Type = {TypeVoid, TypeBool, TypeFunction, TypeNumber, TypeObject, TypeString -}
-

methods

    -
  • LiveConnectExtension (parent, name = 0) -
    - -
    returns a LiveConnectExtension instance
    In versions KDE 3.1.0 and above only
    - - -
    ArgumentTypeDefault
    parentKParts.ReadOnlyPart
    namechar0
    -

  • -
  • call (objid, func, args, value) -
    - -
    returns (bool) type (KParts.LiveConnectExtension.Type) retobjid (ulong)
    In versions KDE 3.1.0 and above only
    - - - - -
    ArgumentTypeDefault
    objidulong
    funcTQString
    argsTQStringList
    valueTQString
    -

  • -
  • childObject (obj) -
    - - -
    returns (KParts.LiveConnectExtension)
    In versions KDE 3.1.0 and above only
    static
    - -
    ArgumentTypeDefault
    objTQObject
    -

  • -
  • get (objid, field, value) -
    - -
    returns (bool) type (KParts.LiveConnectExtension.Type) retobjid (ulong)
    In versions KDE 3.1.0 and above only
    - - - -
    ArgumentTypeDefault
    objidulong
    fieldTQString
    valueTQString
    -

  • -
  • partEvent (objid, event, args) -
    Not Implemented
    -

  • -
  • put (objid, field, value) -
    - -
    returns (bool)
    In versions KDE 3.1.0 and above only
    - - - -
    ArgumentTypeDefault
    objidulong
    fieldTQString
    valueTQString
    -

  • -
  • unregister (objid) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    objidulong
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kparts/KParts.MainWindow.html b/python/pykde/doc/classref/kparts/KParts.MainWindow.html deleted file mode 100644 index 7015ed5d..00000000 --- a/python/pykde/doc/classref/kparts/KParts.MainWindow.html +++ /dev/null @@ -1,88 +0,0 @@ - - - - - class KParts.MainWindow - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KParts.MainWindow


-
- - - - - -
Table of contents
Modules
kparts Classes
All Classes
-
- - - - - - - - - - -
Modulekparts
ClassKParts.MainWindow
InheritsKMainWindow, KParts.PartBase
-

methods

    -
  • MainWindow (parent, name = 0, f = WType_TopLevel | WDestructiveClose) -
    -
    returns a MainWindow instance
    - - - -
    ArgumentTypeDefault
    parentTQWidget
    namechar0
    fWFlagsWType_TopLevel | WDestructiveClose
    -

  • -
  • MainWindow (name = 0, f = WDestructiveClose) -
    -
    returns a MainWindow instance
    - - -
    ArgumentTypeDefault
    namechar0
    fWFlagsWDestructiveClose
    -

  • -
  • MainWindow (cflags, parent, name = 0, f = WType_TopLevel | WDestructiveClose) -
    - -
    returns a MainWindow instance
    In versions KDE 3.2.0 and above only
    - - - - -
    ArgumentTypeDefault
    cflagsint
    parentTQWidget
    namechar0
    fWFlagsWType_TopLevel | WDestructiveClose
    -

  • -
  • createGUI (part) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    partKParts.Part
    -

  • -
  • createShellGUI (create = 1) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    createbool1
    -

  • -
  • saveNewToolbarConfig () -
    - -
    returns nothing
    In versions KDE 3.4.0 and above only

  • -
  • slotSetStatusBarText (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0TQString
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kparts/KParts.OpenURLEvent.html b/python/pykde/doc/classref/kparts/KParts.OpenURLEvent.html deleted file mode 100644 index be65ab44..00000000 --- a/python/pykde/doc/classref/kparts/KParts.OpenURLEvent.html +++ /dev/null @@ -1,65 +0,0 @@ - - - - - class KParts.OpenURLEvent - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KParts.OpenURLEvent


-
- - - - - -
Table of contents
Modules
kparts Classes
All Classes
-
- - - - - - - - - - -
Modulekparts
ClassKParts.OpenURLEvent
InheritsKParts.Event
-

methods

    -
  • OpenURLEvent (part, url, args = KParts .URLArgs ()) -
    -
    returns a OpenURLEvent instance
    - - - -
    ArgumentTypeDefault
    partKParts.ReadOnlyPart
    urlKURL
    argsKParts.URLArgsKParts .URLArgs ()
    -

  • -
  • args () -
    -
    returns (KParts.URLArgs)

  • -
  • part () -
    -
    returns (KParts.ReadOnlyPart)

  • -
  • test (event) -
    - -
    returns (bool)
    static
    - -
    ArgumentTypeDefault
    eventTQEvent
    -

  • -
  • url () -
    -
    returns (KURL)

  • -
- - - diff --git a/python/pykde/doc/classref/kparts/KParts.Part.html b/python/pykde/doc/classref/kparts/KParts.Part.html deleted file mode 100644 index 0f8223d9..00000000 --- a/python/pykde/doc/classref/kparts/KParts.Part.html +++ /dev/null @@ -1,130 +0,0 @@ - - - - - class KParts.Part - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KParts.Part


-
- - - - - -
Table of contents
Modules
kparts Classes
All Classes
-
- - - - - - - - - - -
Modulekparts
ClassKParts.Part
InheritsTQObject, KParts.PartBase
-

methods

    -
  • Part (parent = 0, name = 0) -
    -
    returns a Part instance
    - - -
    ArgumentTypeDefault
    parentTQObject0
    namechar0
    -

  • -
  • customEvent (event) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    eventTQCustomEvent
    -

  • -
  • embed (parentWidget) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    parentWidgetTQWidget
    -

  • -
  • guiActivateEvent (event) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    eventKParts.GUIActivateEvent
    -

  • -
  • hitTest (widget, globalPos) -
    -
    returns (KParts.Part)
    - - -
    ArgumentTypeDefault
    widgetTQWidget
    globalPosTQPoint
    -

  • -
  • hostContainer (containerName) -
    -
    returns (TQWidget)
    - -
    ArgumentTypeDefault
    containerNameTQString
    -

  • -
  • isSelectable () -
    -
    returns (bool)

  • -
  • manager () -
    -
    returns (KParts.PartManager)

  • -
  • partActivateEvent (event) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    eventKParts.PartActivateEvent
    -

  • -
  • partSelectEvent (event) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    eventKParts.PartSelectEvent
    -

  • -
  • setManager (manager) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    managerKParts.PartManager
    -

  • -
  • setSelectable (selectable) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    selectablebool
    -

  • -
  • setStatusBarText (text) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    textTQString
    -

  • -
  • setWidget (widget) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    widgetTQWidget
    -

  • -
  • setWindowCaption (caption) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    captionTQString
    -

  • -
  • widget () -
    -
    returns (TQWidget)

  • -
- - - diff --git a/python/pykde/doc/classref/kparts/KParts.PartActivateEvent.html b/python/pykde/doc/classref/kparts/KParts.PartActivateEvent.html deleted file mode 100644 index e2a9b5e4..00000000 --- a/python/pykde/doc/classref/kparts/KParts.PartActivateEvent.html +++ /dev/null @@ -1,65 +0,0 @@ - - - - - class KParts.PartActivateEvent - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KParts.PartActivateEvent


-
- - - - - -
Table of contents
Modules
kparts Classes
All Classes
-
- - - - - - - - - - -
Modulekparts
ClassKParts.PartActivateEvent
InheritsKParts.Event
-

methods

    -
  • PartActivateEvent (activated, part, widget) -
    -
    returns a PartActivateEvent instance
    - - - -
    ArgumentTypeDefault
    activatedbool
    partKParts.Part
    widgetTQWidget
    -

  • -
  • activated () -
    -
    returns (bool)

  • -
  • part () -
    -
    returns (KParts.Part)

  • -
  • test (event) -
    - -
    returns (bool)
    static
    - -
    ArgumentTypeDefault
    eventTQEvent
    -

  • -
  • widget () -
    -
    returns (TQWidget)

  • -
- - - diff --git a/python/pykde/doc/classref/kparts/KParts.PartBase.html b/python/pykde/doc/classref/kparts/KParts.PartBase.html deleted file mode 100644 index 89c60984..00000000 --- a/python/pykde/doc/classref/kparts/KParts.PartBase.html +++ /dev/null @@ -1,78 +0,0 @@ - - - - - class KParts.PartBase - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KParts.PartBase


-
- - - - - -
Table of contents
Modules
kparts Classes
All Classes
-
- - - - - - - - - - -
Modulekparts
ClassKParts.PartBase
InheritsKXMLGUIClient
-

methods

    -
  • PartBase () -
    -
    returns a PartBase instance

  • -
  • loadPlugins (parent, parentGUIClient, instance) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - - - -
    ArgumentTypeDefault
    parentTQObject
    parentGUIClientKXMLGUIClient
    instanceKInstance
    -

  • -
  • partObject () -
    -
    returns (TQObject)

  • -
  • setInstance (instance) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    instanceKInstance
    -

  • -
  • setInstance (instance, loadPlugins) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    instanceKInstance
    loadPluginsbool
    -

  • -
  • setPartObject (object) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    objectTQObject
    -

  • -
  • setPluginLoadingMode (loadingMode) -
    Not Implemented
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kparts/KParts.PartManager.html b/python/pykde/doc/classref/kparts/KParts.PartManager.html deleted file mode 100644 index d86fe04f..00000000 --- a/python/pykde/doc/classref/kparts/KParts.PartManager.html +++ /dev/null @@ -1,204 +0,0 @@ - - - - - class KParts.PartManager - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KParts.PartManager


-
- - - - - -
Table of contents
Modules
kparts Classes
All Classes
-
- - - - - - - - - - -
Modulekparts
ClassKParts.PartManager
InheritsTQObject
-

enums

    -
  • Reason = {ReasonLeftClick, ReasonMidClick, ReasonRightClick, NoReason -}
  • SelectionPolicy = {Direct, TriState -}
-

methods

    -
  • PartManager (parent, name = 0) -
    -
    returns a PartManager instance
    - - -
    ArgumentTypeDefault
    parentTQWidget
    namechar0
    -

  • -
  • PartManager (topLevel, parent, name = 0) -
    -
    returns a PartManager instance
    - - - -
    ArgumentTypeDefault
    topLevelTQWidget
    parentTQObject
    namechar0
    -

  • -
  • activationButtonMask () -
    - -
    returns (short)
    In versions KDE 3.1.0 and above only

  • -
  • activePart () -
    -
    returns (KParts.Part)

  • -
  • activePartChanged (newPart) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    newPartKParts.Part
    -

  • -
  • activeWidget () -
    -
    returns (TQWidget)

  • -
  • addManagedTopLevelWidget (topLevel) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    topLevelTQWidget
    -

  • -
  • addPart (part, setActive = 1) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    partKParts.Part
    setActivebool1
    -

  • -
  • allowNestedParts () -
    -
    returns (bool)

  • -
  • eventFilter (obj, ev) -
    -
    returns (bool)
    - - -
    ArgumentTypeDefault
    objTQObject
    evTQEvent
    -

  • -
  • ignoreScrollBars () -
    -
    returns (bool)

  • -
  • partAdded (part) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    partKParts.Part
    -

  • -
  • partRemoved (part) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    partKParts.Part
    -

  • -
  • parts () -
    -
    returns (TQPtrList)

  • -
  • reason () -
    - -
    returns (int)
    In versions KDE 3.3.0 and above only

  • -
  • removeManagedTopLevelWidget (topLevel) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    topLevelTQWidget
    -

  • -
  • removePart (part) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    partKParts.Part
    -

  • -
  • replacePart (oldPart, newPart, setActive = 1) -
    -
    returns nothing
    - - - -
    ArgumentTypeDefault
    oldPartKParts.Part
    newPartKParts.Part
    setActivebool1
    -

  • -
  • selectedPart () -
    -
    returns (KParts.Part)

  • -
  • selectedWidget () -
    -
    returns (TQWidget)

  • -
  • selectionPolicy () -
    -
    returns (KParts.PartManager.SelectionPolicy)

  • -
  • setActivationButtonMask (buttonMask) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    buttonMaskshort
    -

  • -
  • setActiveInstance (instance) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    instanceKInstance
    -

  • -
  • setActivePart (part, widget = 0) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    partKParts.Part
    widgetTQWidget0
    -

  • -
  • setAllowNestedParts (allow) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    allowbool
    -

  • -
  • setIgnoreScrollBars (ignore) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    ignorebool
    -

  • -
  • setSelectedPart (part, widget = 0) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    partKParts.Part
    widgetTQWidget0
    -

  • -
  • setSelectionPolicy (policy) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    policyKParts.PartManager.SelectionPolicy
    -

  • -
  • slotManagedTopLevelWidgetDestroyed () -
    -
    returns nothing

  • -
  • slotObjectDestroyed () -
    -
    returns nothing

  • -
  • slotWidgetDestroyed () -
    -
    returns nothing

  • -
- - - diff --git a/python/pykde/doc/classref/kparts/KParts.PartSelectEvent.html b/python/pykde/doc/classref/kparts/KParts.PartSelectEvent.html deleted file mode 100644 index 607c9090..00000000 --- a/python/pykde/doc/classref/kparts/KParts.PartSelectEvent.html +++ /dev/null @@ -1,65 +0,0 @@ - - - - - class KParts.PartSelectEvent - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KParts.PartSelectEvent


-
- - - - - -
Table of contents
Modules
kparts Classes
All Classes
-
- - - - - - - - - - -
Modulekparts
ClassKParts.PartSelectEvent
InheritsKParts.Event
-

methods

    -
  • PartSelectEvent (selected, part, widget) -
    -
    returns a PartSelectEvent instance
    - - - -
    ArgumentTypeDefault
    selectedbool
    partKParts.Part
    widgetTQWidget
    -

  • -
  • part () -
    -
    returns (KParts.Part)

  • -
  • selected () -
    -
    returns (bool)

  • -
  • test (event) -
    - -
    returns (bool)
    static
    - -
    ArgumentTypeDefault
    eventTQEvent
    -

  • -
  • widget () -
    -
    returns (TQWidget)

  • -
- - - diff --git a/python/pykde/doc/classref/kparts/KParts.Plugin.PluginInfo.html b/python/pykde/doc/classref/kparts/KParts.Plugin.PluginInfo.html deleted file mode 100644 index 9070e4e0..00000000 --- a/python/pykde/doc/classref/kparts/KParts.Plugin.PluginInfo.html +++ /dev/null @@ -1,45 +0,0 @@ - - - - - class KParts.Plugin.PluginInfo - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KParts.Plugin.PluginInfo


-
- - - - - -
Table of contents
Modules
kparts Classes
All Classes
-
- - - - - - - - - - -
Modulekparts
ClassKParts.Plugin.PluginInfo
Inherits
-

variables

  • -variables - - - -
    VariableType
    m_absXMLFileNameTQString
    m_documentTQDomDocument
    m_relXMLFileNameTQString
- - - diff --git a/python/pykde/doc/classref/kparts/KParts.Plugin.html b/python/pykde/doc/classref/kparts/KParts.Plugin.html deleted file mode 100644 index 4a19ec62..00000000 --- a/python/pykde/doc/classref/kparts/KParts.Plugin.html +++ /dev/null @@ -1,118 +0,0 @@ - - - - - class KParts.Plugin - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KParts.Plugin


-
- - - - - -
Table of contents
Modules
kparts Classes
All Classes
-
- - - - - - - - - - -
Modulekparts
ClassKParts.Plugin
InheritsTQObject, KXMLGUIClient
-

methods

    -
  • Plugin (parent = 0, name = 0) -
    -
    returns a Plugin instance
    - - -
    ArgumentTypeDefault
    parentTQObject0
    namechar0
    -

  • -
  • loadPlugin (parent, libname) -
    - -
    returns (KParts.Plugin)
    static
    - - -
    ArgumentTypeDefault
    parentTQObject
    libnamechar
    -

  • -
  • loadPlugins (parent, instance) -
    - -
    returns nothing
    static
    - - -
    ArgumentTypeDefault
    parentTQObject
    instanceKInstance
    -

  • -
  • loadPlugins (parent, pluginInfos) -
    - -
    returns nothing
    static
    - - -
    ArgumentTypeDefault
    parentTQObject
    pluginInfosTQValueList
    -

  • -
  • loadPlugins (parent, pluginInfos, instance) -
    - -
    returns nothing
    static
    - - - -
    ArgumentTypeDefault
    parentTQObject
    pluginInfosTQValueList
    instanceKInstance
    -

  • -
  • loadPlugins (parent, parentGUIClient, instance, enableNewPluginsByDefault = 1) -
    - - -
    returns nothing
    In versions KDE 3.1.0 and above only
    static
    - - - - -
    ArgumentTypeDefault
    parentTQObject
    parentGUIClientKXMLGUIClient
    instanceKInstance
    enableNewPluginsByDefaultbool1
    -

  • -
  • localXMLFile () -
    -
    returns (TQString)

  • -
  • pluginInfos (instance) -
    - -
    returns (TQValueList)
    static
    - -
    ArgumentTypeDefault
    instanceKInstance
    -

  • -
  • pluginObjects (parent) -
    - -
    returns (TQPtrList)
    static
    - -
    ArgumentTypeDefault
    parentTQObject
    -

  • -
  • setInstance (instance) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    instanceKInstance
    -

  • -
  • xmlFile () -
    -
    returns (TQString)

  • -
- - - diff --git a/python/pykde/doc/classref/kparts/KParts.ReadOnlyPart.html b/python/pykde/doc/classref/kparts/KParts.ReadOnlyPart.html deleted file mode 100644 index f25d6f0d..00000000 --- a/python/pykde/doc/classref/kparts/KParts.ReadOnlyPart.html +++ /dev/null @@ -1,131 +0,0 @@ - - - - - class KParts.ReadOnlyPart - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KParts.ReadOnlyPart


-
- - - - - -
Table of contents
Modules
kparts Classes
All Classes
-
- - - - - - - - - - -
Modulekparts
ClassKParts.ReadOnlyPart (abstract)
InheritsKParts.Part
-

methods

    -
  • ReadOnlyPart (parent = 0, name = 0) -
    -
    returns a ReadOnlyPart instance
    - - -
    ArgumentTypeDefault
    parentTQObject0
    namechar0
    -

  • -
  • abortLoad () -
    -
    returns nothing

  • -
  • canceled (errMsg) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    errMsgTQString
    -

  • -
  • closeStream () -
    -
    returns (bool)

  • -
  • closeURL () -
    -
    returns (bool)

  • -
  • completed () -
    -
    returns nothing

  • -
  • completed (pendingAction) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    pendingActionbool
    -

  • -
  • guiActivateEvent (event) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    eventKParts.GUIActivateEvent
    -

  • -
  • isProgressInfoEnabled () -
    -
    returns (bool)

  • -
  • openFile () = 0 -
    - -
    returns (bool)
    pure virtual

  • -
  • openStream (mimeType, url) -
    -
    returns (bool)
    - - -
    ArgumentTypeDefault
    mimeTypeTQString
    urlKURL
    -

  • -
  • openURL (url) -
    -
    returns (bool)
    - -
    ArgumentTypeDefault
    urlKURL
    -

  • -
  • setProgressInfoEnabled (show) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    showbool
    -

  • -
  • showProgressInfo (show) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    showbool
    -

  • -
  • slotJobFinished (job) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    jobKIO.Job
    -

  • -
  • started (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0KIO.Job
    -

  • -
  • url () -
    -
    returns (KURL)

  • -
  • writeStream (data) -
    -
    returns (bool)
    - -
    ArgumentTypeDefault
    dataTQByteArray
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kparts/KParts.ReadWritePart.html b/python/pykde/doc/classref/kparts/KParts.ReadWritePart.html deleted file mode 100644 index 9d3c30e4..00000000 --- a/python/pykde/doc/classref/kparts/KParts.ReadWritePart.html +++ /dev/null @@ -1,112 +0,0 @@ - - - - - class KParts.ReadWritePart - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KParts.ReadWritePart


-
- - - - - -
Table of contents
Modules
kparts Classes
All Classes
-
- - - - - - - - - - -
Modulekparts
ClassKParts.ReadWritePart (abstract)
InheritsKParts.ReadOnlyPart
-

methods

    -
  • ReadWritePart (parent = 0, name = 0) -
    -
    returns a ReadWritePart instance
    - - -
    ArgumentTypeDefault
    parentTQObject0
    namechar0
    -

  • -
  • closeURL () -
    -
    returns (bool)

  • -
  • closeURL (promptToSave) -
    - -
    returns (bool)
    In versions KDE 3.1.3 and above only
    - -
    ArgumentTypeDefault
    promptToSavebool
    -

  • -
  • isModified () -
    -
    returns (bool)

  • -
  • isReadWrite () -
    -
    returns (bool)

  • -
  • queryClose () -
    - -
    returns (bool)
    In versions KDE 3.1.3 and above only

  • -
  • save () -
    -
    returns (bool)

  • -
  • saveAs (url) -
    -
    returns (bool)
    - -
    ArgumentTypeDefault
    urlKURL
    -

  • -
  • saveFile () = 0 -
    - -
    returns (bool)
    pure virtual

  • -
  • saveToURL () -
    -
    returns (bool)

  • -
  • setModified (modified) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    modifiedbool
    -

  • -
  • setModified () -
    -
    returns nothing

  • -
  • setReadWrite (readwrite = 1) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    readwritebool1
    -

  • -
  • sigQueryClose () -
    Not Implemented
    -

  • -
  • slotUploadFinished (job) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    jobKIO.Job
    -

  • -
  • waitSaveComplete () -
    - -
    returns (bool)
    In versions KDE 3.2.0 and above only

  • -
- - - diff --git a/python/pykde/doc/classref/kparts/KParts.StatusBarExtension.html b/python/pykde/doc/classref/kparts/KParts.StatusBarExtension.html deleted file mode 100644 index fecc505e..00000000 --- a/python/pykde/doc/classref/kparts/KParts.StatusBarExtension.html +++ /dev/null @@ -1,92 +0,0 @@ - - - - - class KParts.StatusBarExtension - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KParts.StatusBarExtension


-
- - - - - -
Table of contents
Modules
kparts Classes
All Classes
-
- - - - - - - - - - -
Modulekparts
ClassKParts.StatusBarExtension
InheritsTQObject
-

methods

    -
  • StatusBarExtension (parent, name = 0) -
    - -
    returns a StatusBarExtension instance
    In versions KDE 3.2.0 and above only
    - - -
    ArgumentTypeDefault
    parentKParts.ReadOnlyPart
    namechar0
    -

  • -
  • addStatusBarItem (widget, stretch, permanent) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - - - -
    ArgumentTypeDefault
    widgetTQWidget
    stretchint
    permanentbool
    -

  • -
  • childObject (obj) -
    - - -
    returns (KParts.StatusBarExtension)
    In versions KDE 3.2.0 and above only
    static
    - -
    ArgumentTypeDefault
    objTQObject
    -

  • -
  • eventFilter (watched, ev) -
    - -
    returns (bool)
    In versions KDE 3.2.0 and above only
    - - -
    ArgumentTypeDefault
    watchedTQObject
    evTQEvent
    -

  • -
  • removeStatusBarItem (widget) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    widgetTQWidget
    -

  • -
  • setStatusBar (status) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    statusKStatusBar
    -

  • -
  • statusBar () -
    - -
    returns (KStatusBar)
    In versions KDE 3.2.0 and above only

  • -
- - - diff --git a/python/pykde/doc/classref/kparts/KParts.URLArgs.html b/python/pykde/doc/classref/kparts/KParts.URLArgs.html deleted file mode 100644 index 63e91a1b..00000000 --- a/python/pykde/doc/classref/kparts/KParts.URLArgs.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - class KParts.URLArgs - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KParts.URLArgs


-
- - - - - -
Table of contents
Modules
kparts Classes
All Classes
-
- - - - - - - - - - -
Modulekparts
ClassKParts.URLArgs
Inherits
-

methods

    -
  • URLArgs () -
    -
    returns a URLArgs instance

  • -
  • URLArgs (args) -
    -
    returns a URLArgs instance
    - -
    ArgumentTypeDefault
    argsKParts.URLArgs
    -

  • -
  • URLArgs (reload, xOffset, yOffset, serviceType = TQString .null) -
    -
    returns a URLArgs instance
    - - - - -
    ArgumentTypeDefault
    reloadbool
    xOffsetint
    yOffsetint
    serviceTypeTQStringTQString .null
    -

  • -
  • contentType () -
    -
    returns (TQString)

  • -
  • doPost () -
    -
    returns (bool)

  • -
  • forcesNewWindow () -
    - -
    returns (bool)
    In versions KDE 3.4.0 and above only

  • -
  • lockHistory () -
    -
    returns (bool)

  • -
  • metaData () -
    -
    returns (TQMap)

  • -
  • newTab () -
    - -
    returns (bool)
    In versions KDE 3.1.0 and above only

  • -
  • redirectedRequest () -
    - -
    returns (bool)
    In versions KDE 3.1.3 and above only

  • -
  • setContentType (contentType) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    contentTypeTQString
    -

  • -
  • setDoPost (enable) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    enablebool
    -

  • -
  • setForcesNewWindow (forcesNewWindow) -
    - -
    returns nothing
    In versions KDE 3.4.0 and above only
    - -
    ArgumentTypeDefault
    forcesNewWindowbool
    -

  • -
  • setLockHistory (lock) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    lockbool
    -

  • -
  • setNewTab (newTab) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    newTabbool
    -

  • -
  • setRedirectedRequest (redirected) -
    - -
    returns nothing
    In versions KDE 3.1.3 and above only
    - -
    ArgumentTypeDefault
    redirectedbool
    -

  • -
-

variables

  • -variables - - - - - - - - - -
    VariableType
    dURLArgsPrivate*
    docStateTQStringList
    frameNameTQString
    postDataTQByteArray
    reloadbool
    serviceTypeTQString
    trustedSourcebool
    xOffsetint
    yOffsetint
- - - diff --git a/python/pykde/doc/classref/kparts/KParts.WindowArgs.html b/python/pykde/doc/classref/kparts/KParts.WindowArgs.html deleted file mode 100644 index d3ef46e5..00000000 --- a/python/pykde/doc/classref/kparts/KParts.WindowArgs.html +++ /dev/null @@ -1,90 +0,0 @@ - - - - - class KParts.WindowArgs - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KParts.WindowArgs


-
- - - - - -
Table of contents
Modules
kparts Classes
All Classes
-
- - - - - - - - - - -
Modulekparts
ClassKParts.WindowArgs
Inherits
-

methods

    -
  • WindowArgs () -
    -
    returns a WindowArgs instance

  • -
  • WindowArgs (args) -
    -
    returns a WindowArgs instance
    - -
    ArgumentTypeDefault
    argsKParts.WindowArgs
    -

  • -
  • WindowArgs (_geometry, _fullscreen, _menuBarVisible, _toolBarsVisible, _statusBarVisible, _resizable) -
    -
    returns a WindowArgs instance
    - - - - - - -
    ArgumentTypeDefault
    _geometryTQRect
    _fullscreenbool
    _menuBarVisiblebool
    _toolBarsVisiblebool
    _statusBarVisiblebool
    _resizablebool
    -

  • -
  • WindowArgs (_x, _y, _width, _height, _fullscreen, _menuBarVisible, _toolBarsVisible, _statusBarVisible, _resizable) -
    -
    returns a WindowArgs instance
    - - - - - - - - - -
    ArgumentTypeDefault
    _xint
    _yint
    _widthint
    _heightint
    _fullscreenbool
    _menuBarVisiblebool
    _toolBarsVisiblebool
    _statusBarVisiblebool
    _resizablebool
    -

  • -
-

variables

  • -variables - - - - - - - - - - - - -
    VariableType
    dWindowArgsPrivate*
    fullscreenbool
    heightint
    lowerWindowbool
    menuBarVisiblebool
    resizablebool
    scrollBarsVisiblebool
    statusBarVisiblebool
    toolBarsVisiblebool
    widthint
    xint
    yint
- - - diff --git a/python/pykde/doc/classref/kparts/KParts.html b/python/pykde/doc/classref/kparts/KParts.html deleted file mode 100644 index 4256d83b..00000000 --- a/python/pykde/doc/classref/kparts/KParts.html +++ /dev/null @@ -1,41 +0,0 @@ - - - - - class KParts - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KParts


-
- - - - - -
Table of contents
Modules
kparts Classes
All Classes
-
- - - - - - - - - - -
Modulekparts
ClassKParts
Inherits
-

classes

- - - diff --git a/python/pykde/doc/classref/kparts/TerminalInterface.html b/python/pykde/doc/classref/kparts/TerminalInterface.html deleted file mode 100644 index 51b0a7bb..00000000 --- a/python/pykde/doc/classref/kparts/TerminalInterface.html +++ /dev/null @@ -1,63 +0,0 @@ - - - - - class TerminalInterface - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class TerminalInterface


-
- - - - - -
Table of contents
Modules
kparts Classes
All Classes
-
- - - - - - - - - - -
Modulekparts
ClassTerminalInterface (abstract)
Inherits
-

methods

    -
  • sendInput (a0) = 0 -
    - -
    returns nothing
    pure virtual
    - -
    ArgumentTypeDefault
    a0TQString
    -

  • -
  • showShellInDir (a0) = 0 -
    - -
    returns nothing
    pure virtual
    - -
    ArgumentTypeDefault
    a0TQString
    -

  • -
  • startProgram (a0, a1) = 0 -
    - -
    returns nothing
    pure virtual
    - - -
    ArgumentTypeDefault
    a0TQString
    a1TQStrList
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kparts/index.html b/python/pykde/doc/classref/kparts/index.html deleted file mode 100644 index 2ad94c29..00000000 --- a/python/pykde/doc/classref/kparts/index.html +++ /dev/null @@ -1,65 +0,0 @@ - - - - - module kparts - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

kparts Class Index


-
- - - - -
Table of contents
Modules
All Classes
-
- kparts Global and Namespace members

- -
- - - - - - - - - - - -
ExtTerminalInterface - KParts.GUIActivateEvent
ExtTerminalInterface
KParts
KParts.BrowserExtension
KParts.BrowserHostExtension
KParts.BrowserInterface
KParts.BrowserRun
KParts.DockMainWindow
KParts.Event
KParts.Factory
KParts.GUIActivateEvent
- - - - - - - - - - - -
KParts.HistoryProvider - KParts.Plugin
KParts.HistoryProvider
KParts.LiveConnectExtension
KParts.MainWindow
KParts.OpenURLEvent
KParts.Part
KParts.PartActivateEvent
KParts.PartBase
KParts.PartManager
KParts.PartSelectEvent
KParts.Plugin
- - - - - - - - - - - -
KParts.Plugin.PluginInfo - konsolePart
KParts.Plugin.PluginInfo
KParts.ReadOnlyPart
KParts.ReadWritePart
KParts.StatusBarExtension
KParts.URLArgs
KParts.WindowArgs
TerminalInterface
konsoleBrowserExtension
konsoleFactory
konsolePart
- - diff --git a/python/pykde/doc/classref/kparts/konsoleBrowserExtension.html b/python/pykde/doc/classref/kparts/konsoleBrowserExtension.html deleted file mode 100644 index 41229e38..00000000 --- a/python/pykde/doc/classref/kparts/konsoleBrowserExtension.html +++ /dev/null @@ -1,53 +0,0 @@ - - - - - class konsoleBrowserExtension - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class konsoleBrowserExtension


-
- - - - - -
Table of contents
Modules
kparts Classes
All Classes
-
- - - - - - - - - - -
Modulekparts
ClasskonsoleBrowserExtension
InheritsKParts.BrowserExtension
-

methods

    -
  • emitOpenURLRequest (url) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    urlKURL
    -

  • -
  • konsoleBrowserExtension (parent) -
    -
    returns a konsoleBrowserExtension instance
    - -
    ArgumentTypeDefault
    parentkonsolePart
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kparts/konsoleFactory.html b/python/pykde/doc/classref/kparts/konsoleFactory.html deleted file mode 100644 index 97e8ccc7..00000000 --- a/python/pykde/doc/classref/kparts/konsoleFactory.html +++ /dev/null @@ -1,59 +0,0 @@ - - - - - class konsoleFactory - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class konsoleFactory


-
- - - - - -
Table of contents
Modules
kparts Classes
All Classes
-
- - - - - - - - - - -
Modulekparts
ClasskonsoleFactory
InheritsKParts.Factory
-

methods

    -
  • createPartObject (parentWidget = 0, widgetName = 0, parent = 0, name = 0, classname = "KParts.Part", args = TQStringList ()) -
    -
    returns (KParts.Part)
    - - - - - - -
    ArgumentTypeDefault
    parentWidgetTQWidget0
    widgetNamechar0
    parentTQObject0
    namechar0
    classnamechar"KParts.Part"
    argsTQStringListTQStringList ()
    -

  • -
  • instance () -
    - -
    returns (KInstance)
    static

  • -
  • konsoleFactory () -
    -
    returns a konsoleFactory instance

  • -
- - - diff --git a/python/pykde/doc/classref/kparts/konsolePart.html b/python/pykde/doc/classref/kparts/konsolePart.html deleted file mode 100644 index e5c99f73..00000000 --- a/python/pykde/doc/classref/kparts/konsolePart.html +++ /dev/null @@ -1,237 +0,0 @@ - - - - - class konsolePart - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class konsolePart


-
- - - - - -
Table of contents
Modules
kparts Classes
All Classes
-
- - - - - - - - - - -
Modulekparts
ClasskonsolePart
InheritsKParts.ReadOnlyPart, TerminalInterface
-

methods

    -
  • closeURL () -
    - -
    returns (bool)
    In versions KDE 3.5.0 and above only

  • -
  • closeURL () -
    - -
    returns (bool)
    In versions less than KDE 3.5.0 only

  • -
  • enableMasterModeConnections () -
    - -
    returns nothing
    In versions KDE 3.5.0 and above only

  • -
  • enableMasterModeConnections () -
    - -
    returns nothing
    In versions less than KDE 3.5.0 only

  • -
  • forkedChild () -
    - -
    returns nothing
    In versions KDE 3.5.0 and above only

  • -
  • guiActivateEvent (event) -
    - -
    returns nothing
    In versions KDE 3.5.0 and above only
    - -
    ArgumentTypeDefault
    eventKParts.GUIActivateEvent
    -

  • -
  • guiActivateEvent (a0) -
    - -
    returns nothing
    In versions less than KDE 3.5.0 only
    - -
    ArgumentTypeDefault
    a0KParts.GUIActivateEvent
    -

  • -
  • konsolePart (parentWidget, widgetName, parent, name, classname = 0) -
    - -
    returns a konsolePart instance
    In versions KDE 3.5.0 and above only
    - - - - - -
    ArgumentTypeDefault
    parentWidgetTQWidget
    widgetNamechar
    parentTQObject
    namechar
    classnamechar0
    -

  • -
  • konsolePart (a0, a1, a2, a3, a4 = 0) -
    - -
    returns a konsolePart instance
    In versions less than KDE 3.5.0 only
    - - - - - -
    ArgumentTypeDefault
    a0TQWidget
    a1char
    a2TQObject
    a3char
    a4char0
    -

  • -
  • newSession () -
    - -
    returns nothing
    In versions KDE 3.5.0 and above only

  • -
  • openFile () -
    - -
    returns (bool)
    In versions KDE 3.5.0 and above only

  • -
  • openFile () -
    - -
    returns (bool)
    In versions less than KDE 3.5.0 only

  • -
  • openURL (url) -
    - -
    returns (bool)
    In versions KDE 3.5.0 and above only
    - -
    ArgumentTypeDefault
    urlKURL
    -

  • -
  • openURL (a0) -
    - -
    returns (bool)
    In versions less than KDE 3.5.0 only
    - -
    ArgumentTypeDefault
    a0KURL
    -

  • -
  • processExited (a0) -
    - -
    returns nothing
    In versions KDE 3.5.0 and above only
    - -
    ArgumentTypeDefault
    a0KProcess
    -

  • -
  • processExited () -
    - -
    returns nothing
    In versions less than KDE 3.5.0 only

  • -
  • receivedData (s) -
    - -
    returns nothing
    In versions KDE 3.5.0 and above only
    - -
    ArgumentTypeDefault
    sTQString
    -

  • -
  • receivedData (a0) -
    - -
    returns nothing
    In versions less than KDE 3.5.0 only
    - -
    ArgumentTypeDefault
    a0TQString
    -

  • -
  • sendInput (text) -
    - -
    returns nothing
    In versions KDE 3.5.0 and above only
    - -
    ArgumentTypeDefault
    textTQString
    -

  • -
  • sendInput (a0) -
    - -
    returns nothing
    In versions less than KDE 3.5.0 only
    - -
    ArgumentTypeDefault
    a0TQString
    -

  • -
  • sessionDestroyed () -
    - -
    returns nothing
    In versions KDE 3.5.0 and above only

  • -
  • sessionDestroyed () -
    - -
    returns nothing
    In versions less than KDE 3.5.0 only

  • -
  • setAutoDestroy (a0) -
    - -
    returns nothing
    In versions KDE 3.5.0 and above only
    - -
    ArgumentTypeDefault
    a0bool
    -

  • -
  • setAutoStartShell (a0) -
    - -
    returns nothing
    In versions KDE 3.5.0 and above only
    - -
    ArgumentTypeDefault
    a0bool
    -

  • -
  • showShell () -
    - -
    returns nothing
    In versions KDE 3.5.0 and above only

  • -
  • showShell () -
    - -
    returns nothing
    In versions less than KDE 3.5.0 only

  • -
  • showShellInDir (dir) -
    - -
    returns nothing
    In versions KDE 3.5.0 and above only
    - -
    ArgumentTypeDefault
    dirTQString
    -

  • -
  • showShellInDir (a0) -
    - -
    returns nothing
    In versions less than KDE 3.5.0 only
    - -
    ArgumentTypeDefault
    a0TQString
    -

  • -
  • slotProcessExited () -
    - -
    returns nothing
    In versions less than KDE 3.5.0 only

  • -
  • slotReceivedData (a0) -
    - -
    returns nothing
    In versions less than KDE 3.5.0 only
    - -
    ArgumentTypeDefault
    a0TQString
    -

  • -
  • startProgram (program, args) -
    - -
    returns nothing
    In versions KDE 3.5.0 and above only
    - - -
    ArgumentTypeDefault
    programTQString
    argsTQStrList
    -

  • -
  • startProgram (a0, a1) -
    - -
    returns nothing
    In versions less than KDE 3.5.0 only
    - - -
    ArgumentTypeDefault
    a0TQString
    a1TQStrList
    -

  • -
  • updateTitle () -
    - -
    returns nothing
    In versions less than KDE 3.5.0 only

  • -
- - - diff --git a/python/pykde/doc/classref/kparts/kparts-globals.html b/python/pykde/doc/classref/kparts/kparts-globals.html deleted file mode 100644 index 54f5f7ee..00000000 --- a/python/pykde/doc/classref/kparts/kparts-globals.html +++ /dev/null @@ -1,110 +0,0 @@ - - - - - kparts globals - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

kparts Globals


-
- - - - - -
Table of contents
Modules
kparts Classes
All Classes
-
-

global methods

    -
  • createReadOnlyPart (a0, a1 = 0, a2 = TQString .null, a3 = "KParts.ReadOnlyPart", a4 = TQStringList ()) -
    -
    returns (KParts.ReadOnlyPart)
    - - - - - -
    ArgumentTypeDefault
    a0TQString
    a1TQObject0
    a2TQStringTQString .null
    a3char"KParts.ReadOnlyPart"
    a4TQStringListTQStringList ()
    -
    -This is a PyKDE-only function that handles the machinery necessary -to create a KParts::ReadOnlyPart. It executes the following C++ code: - -
    -KParts::ReadOnlyPart *createReadOnlyPart (const TQString& lib, TQObject *parent,
    -                                          const TQString& name, const char *className,
    -                                          const TQStringList &args)
    -{
    -   KLibFactory *factory = KLibLoader::self ()->factory ((const char *)lib);
    -   if (factory)
    -           return static_cast<KParts::ReadOnlyPart*> (factory->create (parent,
    -                                              (const char *)name, className, args));
    -       else
    -               return NULL;
    -
    - -Notice that it takes care of creating the KLibFactory for you, and -returns the part cast to type KParts::ReadOnlyPart. The actual -part has a different class (derived from KParts::ReadOnlyPart), -and calls to openURL or openFile will use the part's overloaded -methods. Currently it isn't possible to call KParts::ReadOnlyPart::openURL -if it has been overloaded. - - -Usage: KParts.createReadOnlyPart (lib, parent, name, className, args) - -

  • -
  • createReadWritePart (a0, a1 = 0, a2 = TQString .null, a3 = "KParts.ReadWritePart", a4 = TQStringList ()) -
    -
    returns (KParts.ReadWritePart)
    - - - - - -
    ArgumentTypeDefault
    a0TQString
    a1TQObject0
    a2TQStringTQString .null
    a3char"KParts.ReadWritePart"
    a4TQStringListTQStringList ()
    -
    -This is a PyKDE-only function that handles the machinery necessary -to create a KParts::ReadWritePart. It executes the following C++ code: - -
    -KParts::ReadWritePart *createReadWritePart (const TQString& lib, TQObject *parent,
    -                                          const TQString& name, const char *className,
    -                                          const TQStringList &args)
    -{
    -    KLibFactory *factory = KLibLoader::self ()->factory ((const char *)lib);
    -    if (factory)
    -            return static_cast<KParts::ReadWritePart*> (factory->create (parent,
    -                                               (const char *)name, className, args));
    -        else
    -                return NULL;
    -
    - -Notice that it takes care of creating the KLibFactory for you, and -returns the part cast to type KParts::ReadWritePart. The actual -part has a different class (derived from KParts::ReadWritePart), -and calls to openURL or openFile will use the part's overloaded -methods. Currently it isn't possible to call KParts::ReadWritePart::openURL -if it has been overloaded. - - -Usage: KParts.createReadWritePart (lib, parent, name, className, args) - -

  • -
  • testQMapQCStringInt (dict) -
    -
    returns (TQMap),
    - -
    ArgumentTypeDefault
    dictTQMap
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kresources/KRES.ConfigDialog.html b/python/pykde/doc/classref/kresources/KRES.ConfigDialog.html deleted file mode 100644 index eaa806d0..00000000 --- a/python/pykde/doc/classref/kresources/KRES.ConfigDialog.html +++ /dev/null @@ -1,76 +0,0 @@ - - - - - class KRES.ConfigDialog - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KRES.ConfigDialog


-
- - - - - -
Table of contents
Modules
kresources Classes
All Classes
-
- - - - - - - - - - -
Modulekresources
ClassKRES.ConfigDialog
InheritsKDialogBase
-

methods

    -
  • ConfigDialog (parent, resourceFamily, resource, name = 0) -
    - -
    returns a ConfigDialog instance
    In versions KDE 3.2.0 and above only
    - - - - -
    ArgumentTypeDefault
    parentTQWidget
    resourceFamilyTQString
    resourceKRES.Resource
    namechar0
    -

  • -
  • accept () -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only

  • -
  • setInEditMode (value) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    valuebool
    -

  • -
  • setReadOnly (value) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    valuebool
    -

  • -
  • slotNameChanged (text) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    textTQString
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kresources/KRES.ConfigWidget.html b/python/pykde/doc/classref/kresources/KRES.ConfigWidget.html deleted file mode 100644 index 0ee8a934..00000000 --- a/python/pykde/doc/classref/kresources/KRES.ConfigWidget.html +++ /dev/null @@ -1,79 +0,0 @@ - - - - - class KRES.ConfigWidget - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KRES.ConfigWidget


-
- - - - - -
Table of contents
Modules
kresources Classes
All Classes
-
- - - - - - - - - - -
Modulekresources
ClassKRES.ConfigWidget (abstract)
InheritsTQWidget
-

methods

    -
  • ConfigWidget (parent = 0, name = 0) -
    - -
    returns a ConfigWidget instance
    In versions KDE 3.2.0 and above only
    - - -
    ArgumentTypeDefault
    parentTQWidget0
    namechar0
    -

  • -
  • loadSettings (resource) = 0 -
    - - -
    returns nothing
    In versions KDE 3.2.0 and above only
    pure virtual
    - -
    ArgumentTypeDefault
    resourceKRES.Resource
    -

  • -
  • saveSettings (resource) = 0 -
    - - -
    returns nothing
    In versions KDE 3.2.0 and above only
    pure virtual
    - -
    ArgumentTypeDefault
    resourceKRES.Resource
    -

  • -
  • setInEditMode (value) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    valuebool
    -

  • -
  • setReadOnly (value) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    valuebool
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kresources/KRES.Factory.html b/python/pykde/doc/classref/kresources/KRES.Factory.html deleted file mode 100644 index 97d33ba0..00000000 --- a/python/pykde/doc/classref/kresources/KRES.Factory.html +++ /dev/null @@ -1,90 +0,0 @@ - - - - - class KRES.Factory - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KRES.Factory


-
- - - - - -
Table of contents
Modules
kresources Classes
All Classes
-
- - - - - - - - - - -
Modulekresources
ClassKRES.Factory
Inherits
-

methods

    -
  • Factory (resourceFamily) -
    - -
    returns a Factory instance
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    resourceFamilyTQString
    -

  • -
  • configWidget (type, parent = 0) -
    - -
    returns (KRES.ConfigWidget)
    In versions KDE 3.2.0 and above only
    - - -
    ArgumentTypeDefault
    typeTQString
    parentTQWidget0
    -

  • -
  • resource (type, config) -
    - -
    returns (KRES.Resource)
    In versions KDE 3.2.0 and above only
    - - -
    ArgumentTypeDefault
    typeTQString
    configKConfig
    -

  • -
  • self (resourceFamily) -
    - - -
    returns (KRES.Factory)
    In versions KDE 3.2.0 and above only
    static
    - -
    ArgumentTypeDefault
    resourceFamilyTQString
    -

  • -
  • typeDescription (type) -
    - -
    returns (TQString)
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    typeTQString
    -

  • -
  • typeName (type) -
    - -
    returns (TQString)
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    typeTQString
    -

  • -
  • typeNames () -
    - -
    returns (TQStringList)
    In versions KDE 3.2.0 and above only

  • -
- - - diff --git a/python/pykde/doc/classref/kresources/KRES.PluginFactoryBase.html b/python/pykde/doc/classref/kresources/KRES.PluginFactoryBase.html deleted file mode 100644 index f8997d05..00000000 --- a/python/pykde/doc/classref/kresources/KRES.PluginFactoryBase.html +++ /dev/null @@ -1,67 +0,0 @@ - - - - - class KRES.PluginFactoryBase - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KRES.PluginFactoryBase


-
- - - - - -
Table of contents
Modules
kresources Classes
All Classes
-
- - - - - - - - - - -
Modulekresources
ClassKRES.PluginFactoryBase (abstract)
InheritsKLibFactory
-

methods

    -
  • configWidget (parent) = 0 -
    - - -
    returns (KRES.ConfigWidget)
    In versions KDE 3.2.0 and above only
    pure virtual
    - -
    ArgumentTypeDefault
    parentTQWidget
    -

  • -
  • createObject (a0, a1, a2, a3) -
    - -
    returns (TQObject)
    In versions KDE 3.2.0 and above only
    - - - - -
    ArgumentTypeDefault
    a0TQObject
    a1char
    a2char
    a3TQStringList
    -

  • -
  • resource (config) = 0 -
    - - -
    returns (KRES.Resource)
    In versions KDE 3.2.0 and above only
    pure virtual
    - -
    ArgumentTypeDefault
    configKConfig
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kresources/KRES.Resource.html b/python/pykde/doc/classref/kresources/KRES.Resource.html deleted file mode 100644 index fbe3f4cd..00000000 --- a/python/pykde/doc/classref/kresources/KRES.Resource.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - class KRES.Resource - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KRES.Resource


-
- - - - - -
Table of contents
Modules
kresources Classes
All Classes
-
- - - - - - - - - - -
Modulekresources
ClassKRES.Resource
InheritsTQObject
-

methods

    -
  • Resource (config) -
    - -
    returns a Resource instance
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    configKConfig
    -

  • -
  • close () -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only

  • -
  • doClose () -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only

  • -
  • doOpen () -
    - -
    returns (bool)
    In versions KDE 3.2.0 and above only

  • -
  • dump () -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only

  • -
  • identifier () -
    - -
    returns (TQString)
    In versions KDE 3.2.0 and above only

  • -
  • isActive () -
    - -
    returns (bool)
    In versions KDE 3.2.0 and above only

  • -
  • isOpen () -
    - -
    returns (bool)
    In versions KDE 3.2.0 and above only

  • -
  • open () -
    - -
    returns (bool)
    In versions KDE 3.2.0 and above only

  • -
  • readOnly () -
    - -
    returns (bool)
    In versions KDE 3.2.0 and above only

  • -
  • resourceName () -
    - -
    returns (TQString)
    In versions KDE 3.2.0 and above only

  • -
  • setActive (active) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    activebool
    -

  • -
  • setIdentifier (identifier) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    identifierTQString
    -

  • -
  • setReadOnly (value) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    valuebool
    -

  • -
  • setResourceName (name) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    nameTQString
    -

  • -
  • setType (type) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    typeTQString
    -

  • -
  • type () -
    - -
    returns (TQString)
    In versions KDE 3.2.0 and above only

  • -
  • writeConfig (config) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    configKConfig
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kresources/KRES.ResourcePageInfo.html b/python/pykde/doc/classref/kresources/KRES.ResourcePageInfo.html deleted file mode 100644 index f7578e21..00000000 --- a/python/pykde/doc/classref/kresources/KRES.ResourcePageInfo.html +++ /dev/null @@ -1,50 +0,0 @@ - - - - - class KRES.ResourcePageInfo - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KRES.ResourcePageInfo


-
- - - - - -
Table of contents
Modules
kresources Classes
All Classes
-
- - - - - - - - - - -
Modulekresources
ClassKRES.ResourcePageInfo
InheritsKShared
-

methods

    -
  • ResourcePageInfo () -
    - -
    returns a ResourcePageInfo instance
    In versions KDE 3.2.0 and above only

  • -
-

variables

  • -variables - - -
    VariableType
    mConfigKConfig*
    mManagerManager*
- - - diff --git a/python/pykde/doc/classref/kresources/KRES.SelectDialog.html b/python/pykde/doc/classref/kresources/KRES.SelectDialog.html deleted file mode 100644 index 62dbb7d4..00000000 --- a/python/pykde/doc/classref/kresources/KRES.SelectDialog.html +++ /dev/null @@ -1,70 +0,0 @@ - - - - - class KRES.SelectDialog - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KRES.SelectDialog


-
- - - - - -
Table of contents
Modules
kresources Classes
All Classes
-
- - - - - - - - - - -
Modulekresources
ClassKRES.SelectDialog
Inherits
-

methods

    -
  • SelectDialog (list, parent = 0, name = 0) -
    - -
    returns a SelectDialog instance
    In versions KDE 3.2.0 and above only
    - - - -
    ArgumentTypeDefault
    listTQPtrList
    parentTQWidget0
    namechar0
    -

  • -
  • SelectDialog (a0) -
    - -
    returns a SelectDialog instance
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    a0KRES.SelectDialog
    -

  • -
  • getResource (list, parent = 0) -
    - - -
    returns (KRES.Resource)
    In versions KDE 3.2.0 and above only
    static
    - - -
    ArgumentTypeDefault
    listTQPtrList
    parentTQWidget0
    -

  • -
  • resource () -
    - -
    returns (KRES.Resource)
    In versions KDE 3.2.0 and above only

  • -
- - - diff --git a/python/pykde/doc/classref/kresources/KRES.html b/python/pykde/doc/classref/kresources/KRES.html deleted file mode 100644 index ade3154f..00000000 --- a/python/pykde/doc/classref/kresources/KRES.html +++ /dev/null @@ -1,41 +0,0 @@ - - - - - class KRES - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KRES


-
- - - - - -
Table of contents
Modules
kresources Classes
All Classes
-
- - - - - - - - - - -
Modulekresources
ClassKRES
Inherits
-

classes

- - - diff --git a/python/pykde/doc/classref/kresources/index.html b/python/pykde/doc/classref/kresources/index.html deleted file mode 100644 index 9896b148..00000000 --- a/python/pykde/doc/classref/kresources/index.html +++ /dev/null @@ -1,42 +0,0 @@ - - - - - module kresources - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

kresources Class Index


-
- - - - -
Table of contents
Modules
All Classes
-
- -
- - - - -
KRES - KRES.ConfigWidget
KRES
KRES.ConfigDialog
KRES.ConfigWidget
- - - - -
KRES.Factory - KRES.Resource
KRES.Factory
KRES.PluginFactoryBase
KRES.Resource
- - - -
KRES.ResourcePageInfo - KRES.SelectDialog
KRES.ResourcePageInfo
KRES.SelectDialog
- - diff --git a/python/pykde/doc/classref/kspell/KDictSpellingHighlighter.html b/python/pykde/doc/classref/kspell/KDictSpellingHighlighter.html deleted file mode 100644 index e00047fe..00000000 --- a/python/pykde/doc/classref/kspell/KDictSpellingHighlighter.html +++ /dev/null @@ -1,168 +0,0 @@ - - - - - class KDictSpellingHighlighter - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KDictSpellingHighlighter


-
- - - - - -
Table of contents
Modules
kspell Classes
All Classes
-
- - - - - - - - - - -
Modulekspell
ClassKDictSpellingHighlighter
InheritsTQObject, KSpellingHighlighter
-

methods

    -
  • KDictSpellingHighlighter (textEdit, spellCheckingActive = 1, autoEnable = 1, spellColor = Qt .red, colorQuoting = 0, QuoteColor0 = Qt .black, QuoteColor1 = TQColor (0x00 ,0x80 ,0x00 ), QuoteColor2 = TQColor (0x00 ,0x70 ,0x00 ), QuoteColor3 = TQColor (0x00 ,0x60 ,0x00 ), spellConfig = 0) -
    - -
    returns a KDictSpellingHighlighter instance
    In versions KDE 3.2.0 and above only
    - - - - - - - - - - -
    ArgumentTypeDefault
    textEditTQTextEdit
    spellCheckingActivebool1
    autoEnablebool1
    spellColorTQColorQt .red
    colorQuotingbool0
    QuoteColor0TQColorQt .black
    QuoteColor1TQColorTQColor (0x00 ,0x80 ,0x00 )
    QuoteColor2TQColorTQColor (0x00 ,0x70 ,0x00 )
    QuoteColor3TQColorTQColor (0x00 ,0x60 ,0x00 )
    spellConfigKSpellConfig0
    -

  • -
  • activeChanged (a0) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    a0TQString
    -

  • -
  • automatic () -
    - -
    returns (bool)
    In versions KDE 3.2.0 and above only

  • -
  • dictionaryChanged () -
    - - -
    returns nothing
    In versions KDE 3.2.0 and above only
    static

  • -
  • eventFilter (o, e) -
    - -
    returns (bool)
    In versions KDE 3.2.0 and above only
    - - -
    ArgumentTypeDefault
    oTQObject
    eTQEvent
    -

  • -
  • isActive () -
    - -
    returns (bool)
    In versions KDE 3.2.0 and above only

  • -
  • isMisspelled (word) -
    - -
    returns (bool)
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    wordTQString
    -

  • -
  • newSuggestions (originalword, suggestions, pos) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - - - -
    ArgumentTypeDefault
    originalwordTQString
    suggestionsTQStringList
    posuint
    -

  • -
  • restartBackgroundSpellCheck () -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only

  • -
  • setActive (active) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    activebool
    -

  • -
  • setAutomatic (automatic) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    automaticbool
    -

  • -
  • slotAutoDetection () -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only

  • -
  • slotCorrected (originalWord, a0, a1) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - - - -
    ArgumentTypeDefault
    originalWordTQString
    a0TQString
    a1uint
    -

  • -
  • slotDictionaryChanged () -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only

  • -
  • slotKSpellNotResponding () -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only

  • -
  • slotLocalSpellConfigChanged () -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only

  • -
  • slotMisspelling (originalWord, suggestions, pos) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - - - -
    ArgumentTypeDefault
    originalWordTQString
    suggestionsTQStringList
    posuint
    -

  • -
  • slotRehighlight () -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only

  • -
  • slotSpellReady (spell) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    spellKSpell
    -

  • -
  • spellKey () -
    - -
    returns (TQString)
    In versions KDE 3.2.0 and above only

  • -
- - - diff --git a/python/pykde/doc/classref/kspell/KSpell.html b/python/pykde/doc/classref/kspell/KSpell.html deleted file mode 100644 index 7c7c361e..00000000 --- a/python/pykde/doc/classref/kspell/KSpell.html +++ /dev/null @@ -1,408 +0,0 @@ - - - - - class KSpell - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KSpell


-
- - - - - -
Table of contents
Modules
kspell Classes
All Classes
-
- - - - - - - - - - -
Modulekspell
ClassKSpell
InheritsTQObject
-

enums

    -
  • SpellerType = {Text, HTML, TeX, Nroff -}
  • spellStatus = {Starting, Running, Cleaning, Finished, Error, Crashed, FinishedNoMisspellingsEncountered -}
  • spellStatus = {Starting, Running, Cleaning, Finished, Error, Crashed -}
-

methods

    -
  • KSpell (parent, caption, receiver, slot, kcs = 0, progressbar = 1, modal = 0) -
    -
    returns a KSpell instance
    - - - - - - - -
    ArgumentTypeDefault
    parentTQWidget
    captionTQString
    receiverTQObject
    slotchar
    kcsKSpellConfig0
    progressbarbool1
    modalbool0
    -

  • -
  • KSpell (parent, caption, receiver, slot, kcs, progressbar, modal, type) -
    - -
    returns a KSpell instance
    In versions KDE 3.2.0 and above only
    - - - - - - - - -
    ArgumentTypeDefault
    parentTQWidget
    captionTQString
    receiverTQObject
    slotchar
    kcsKSpellConfig
    progressbarbool
    modalbool
    typeKSpell.SpellerType
    -

  • -
  • KSpell2 (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0KProcIO
    -

  • -
  • addPersonal (word) -
    -
    returns (bool)
    - -
    ArgumentTypeDefault
    wordTQString
    -

  • -
  • addword (originalword) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    originalwordTQString
    -

  • -
  • check (_buffer, usedialog = 1) -
    -
    returns (bool)
    - - -
    ArgumentTypeDefault
    _bufferTQString
    usedialogbool1
    -

  • -
  • check2 (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0KProcIO
    -

  • -
  • check3 () -
    -
    returns nothing

  • -
  • checkList (_wordlist, usedialog = 1) -
    -
    returns (bool)
    - - -
    ArgumentTypeDefault
    _wordlistTQStringList
    usedialogbool1
    -

  • -
  • checkList2 () -
    -
    returns nothing

  • -
  • checkList3a (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0KProcIO
    -

  • -
  • checkList4 () -
    -
    returns nothing

  • -
  • checkListReplaceCurrent () -
    -
    returns nothing

  • -
  • checkNext () -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only

  • -
  • checkWord (_buffer, usedialog = 0) -
    -
    returns (bool)
    - - -
    ArgumentTypeDefault
    _bufferTQString
    usedialogbool0
    -

  • -
  • checkWord (buffer, _usedialog, suggest) -
    - -
    returns (bool)
    In versions KDE 3.2.0 and above only
    - - - -
    ArgumentTypeDefault
    bufferTQString
    _usedialogbool
    suggestbool
    -

  • -
  • checkWord2 (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0KProcIO
    -

  • -
  • checkWord3 () -
    -
    returns nothing

  • -
  • cleanFputs (s, appendCR = 1) -
    -
    returns (bool)
    - - -
    ArgumentTypeDefault
    sTQString
    appendCRbool1
    -

  • -
  • cleanFputsWord (s, appendCR = 1) -
    -
    returns (bool)
    - - -
    ArgumentTypeDefault
    sTQString
    appendCRbool1
    -

  • -
  • cleanUp () -
    -
    returns nothing

  • -
  • corrected (originalword, newword, pos) -
    -
    returns nothing
    - - - -
    ArgumentTypeDefault
    originalwordTQString
    newwordTQString
    posuint
    -

  • -
  • death () -
    -
    returns nothing

  • -
  • dialog (word, sugg, _slot) -
    -
    returns nothing
    - - - -
    ArgumentTypeDefault
    wordTQString
    suggTQStringList
    _slotchar
    -

  • -
  • dialog2 (dlgresult) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    dlgresultint
    -

  • -
  • dialog3 () -
    -
    returns nothing

  • -
  • dlgResult () -
    -
    returns (int)

  • -
  • done (buffer) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    bufferTQString
    -

  • -
  • done (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0bool
    -

  • -
  • emitDeath () -
    -
    returns nothing

  • -
  • emitProgress () -
    -
    returns nothing

  • -
  • funnyWord (word) -
    -
    returns (TQString)
    - -
    ArgumentTypeDefault
    wordTQString
    -

  • -
  • heightDlg () -
    -
    returns (int)

  • -
  • hide () -
    -
    returns nothing

  • -
  • ignore (word) -
    -
    returns (bool)
    - -
    ArgumentTypeDefault
    wordTQString
    -

  • -
  • ignoreall (originalword) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    originalwordTQString
    -

  • -
  • ignoreword (originalword) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    originalwordTQString
    -

  • -
  • initialize (_parent, _caption, slot, _ksc, _progressbar, _modal, type) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - - - - - - - -
    ArgumentTypeDefault
    _parentTQWidget
    _captionTQString
    slotSLOT (Python callable)
    _kscKSpellConfig
    _progressbarbool
    _modalbool
    typeKSpell.SpellerType
    -

  • -
  • intermediateBuffer () -
    -
    returns (TQString)

  • -
  • ispellErrors (a0, a1, a2) -
    -
    returns nothing
    - - - -
    ArgumentTypeDefault
    a0KProcess
    a1char
    a2int
    -

  • -
  • ispellExit (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0KProcess
    -

  • -
  • ksConfig () -
    -
    returns (KSpellConfig)

  • -
  • lastPosition () -
    -
    returns (int)

  • -
  • misspelling (originalword, suggestions, pos) -
    -
    returns nothing
    - - - -
    ArgumentTypeDefault
    originalwordTQString
    suggestionsTQStringList
    posuint
    -

  • -
  • modalCheck (text) -
    - -
    returns (int)
    static
    - -
    ArgumentTypeDefault
    textTQString
    -

  • -
  • modalCheck (text, kcs) -
    - -
    returns (int)
    static
    - - -
    ArgumentTypeDefault
    textTQString
    kcsKSpellConfig
    -

  • -
  • moveDlg (x, y) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    xint
    yint
    -

  • -
  • parseOneResponse (_buffer, word, sugg) -
    -
    returns (int)
    - - - -
    ArgumentTypeDefault
    _bufferTQString
    wordTQString
    suggTQStringList
    -

  • -
  • progress (i) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    iuint
    -

  • -
  • ready (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0KSpell
    -

  • -
  • replaceall (origword, replacement) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - - -
    ArgumentTypeDefault
    origwordTQString
    replacementTQString
    -

  • -
  • replacement () -
    -
    returns (TQString)

  • -
  • setAutoDelete (_autoDelete) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    _autoDeletebool
    -

  • -
  • setIgnoreTitleCase (b) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    bbool
    -

  • -
  • setIgnoreUpperWords (b) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    bbool
    -

  • -
  • setProgressResolution (res) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    resuint
    -

  • -
  • setUpDialog (reallyusedialogbox = 1) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    reallyusedialogboxbool1
    -

  • -
  • slotStopCancel (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0int
    -

  • -
  • startIspell () -
    -
    returns nothing

  • -
  • status () -
    -
    returns (spellStatus)

  • -
  • suggestWord (a0) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    a0KProcIO
    -

  • -
  • suggestions () -
    -
    returns (TQStringList)

  • -
  • widthDlg () -
    -
    returns (int)

  • -
  • writePersonalDictionary () -
    -
    returns (bool)

  • -
- - - diff --git a/python/pykde/doc/classref/kspell/KSpellConfig.html b/python/pykde/doc/classref/kspell/KSpellConfig.html deleted file mode 100644 index 7684d73a..00000000 --- a/python/pykde/doc/classref/kspell/KSpellConfig.html +++ /dev/null @@ -1,211 +0,0 @@ - - - - - class KSpellConfig - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KSpellConfig


-
- - - - - -
Table of contents
Modules
kspell Classes
All Classes
-
- - - - - - - - - - -
Modulekspell
ClassKSpellConfig
InheritsTQWidget
-

methods

    -
  • KSpellConfig (parent = 0, name = 0, spellConfig = 0, addHelpButton = 1) -
    -
    returns a KSpellConfig instance
    - - - - -
    ArgumentTypeDefault
    parentTQWidget0
    namechar0
    spellConfigKSpellConfig0
    addHelpButtonbool1
    -

  • -
  • KSpellConfig (a0) -
    -
    returns a KSpellConfig instance
    - -
    ArgumentTypeDefault
    a0KSpellConfig
    -

  • -
  • activateHelp () -
    -
    returns nothing

  • -
  • client () -
    -
    returns (int)

  • -
  • configChanged () -
    -
    returns nothing

  • -
  • dictFromList () -
    -
    returns (bool)

  • -
  • dictionary () -
    -
    returns (TQString)

  • -
  • encoding () -
    -
    returns (int)

  • -
  • fillDicts (box, dictionaries = 0) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - - -
    ArgumentTypeDefault
    boxTQComboBox
    dictionariesTQStringList0
    -

  • -
  • fillInDialog () -
    -
    returns nothing

  • -
  • ignoreList () -
    -
    returns (TQStringList)

  • -
  • interpret (fname, lname, hname) -
    -
    returns (bool)
    - - - -
    ArgumentTypeDefault
    fnameTQString
    lnameTQString
    hnameTQString
    -

  • -
  • noRootAffix () -
    -
    returns (bool)

  • -
  • readGlobalSettings () -
    - -
    returns (bool)
    In versions KDE 3.2.0 and above only

  • -
  • readGlobalSettings () -
    - -
    returns (bool)
    In versions less than KDE 3.2.0 only

  • -
  • replaceAllList () -
    - -
    returns (TQStringList)
    In versions KDE 3.1.0 and above only

  • -
  • runTogether () -
    -
    returns (bool)

  • -
  • sChangeClient (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0int
    -

  • -
  • sChangeEncoding (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0int
    -

  • -
  • sDictionary (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0bool
    -

  • -
  • sHelp () -
    -
    returns nothing

  • -
  • sNoAff (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0bool
    -

  • -
  • sPathDictionary (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0bool
    -

  • -
  • sRunTogether (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0bool
    -

  • -
  • sSetDictionary (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0int
    -

  • -
  • setClient (client) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    clientint
    -

  • -
  • setDictFromList (dfl) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    dflbool
    -

  • -
  • setDictionary (qs) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    qsTQString
    -

  • -
  • setEncoding (enctype) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    enctypeint
    -

  • -
  • setIgnoreList (_ignorelist) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    _ignorelistTQStringList
    -

  • -
  • setNoRootAffix (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0bool
    -

  • -
  • setReplaceAllList (_replaceAllList) -
    - -
    returns nothing
    In versions KDE 3.1.0 and above only
    - -
    ArgumentTypeDefault
    _replaceAllListTQStringList
    -

  • -
  • setRunTogether (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0bool
    -

  • -
  • writeGlobalSettings () -
    -
    returns (bool)

  • -
- - - diff --git a/python/pykde/doc/classref/kspell/KSpellDlg.html b/python/pykde/doc/classref/kspell/KSpellDlg.html deleted file mode 100644 index 507e16a8..00000000 --- a/python/pykde/doc/classref/kspell/KSpellDlg.html +++ /dev/null @@ -1,158 +0,0 @@ - - - - - class KSpellDlg - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KSpellDlg


-
- - - - - -
Table of contents
Modules
kspell Classes
All Classes
-
- - - - - - - - - - -
Modulekspell
ClassKSpellDlg
InheritsKDialogBase
-

methods

    -
  • KSpellDlg (parent, name, _progressbar = 0, _modal = 0) -
    -
    returns a KSpellDlg instance
    - - - - -
    ArgumentTypeDefault
    parentTQWidget
    namechar
    _progressbarbool0
    _modalbool0
    -

  • -
  • add () -
    -
    returns nothing

  • -
  • cancel () -
    -
    returns nothing

  • -
  • closeEvent (e) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    eTQCloseEvent
    -

  • -
  • command (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0int
    -

  • -
  • done (i) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    iint
    -

  • -
  • highlighted (a0) -
    - -
    returns nothing
    In versions less than KDE 3.2.0 only
    - -
    ArgumentTypeDefault
    a0int
    -

  • -
  • ignore () -
    -
    returns nothing

  • -
  • ignoreAll () -
    -
    returns nothing

  • -
  • init (_word, _sugg) -
    -
    returns nothing
    - - -
    ArgumentTypeDefault
    _wordTQString
    _suggTQStringList
    -

  • -
  • init (_word, _sugg, context) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - - - -
    ArgumentTypeDefault
    _wordTQString
    _suggTQStringList
    contextTQString
    -

  • -
  • ready (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0bool
    -

  • -
  • replace () -
    -
    returns nothing

  • -
  • replaceAll () -
    -
    returns nothing

  • -
  • replacement () -
    -
    returns (TQString)

  • -
  • selected (a0) -
    - -
    returns nothing
    In versions less than KDE 3.2.0 only
    - -
    ArgumentTypeDefault
    a0int
    -

  • -
  • slotConfigChanged () -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only

  • -
  • slotProgress (p) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    puint
    -

  • -
  • slotSelectionChanged (item) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    itemTQListViewItem
    -

  • -
  • standby () -
    -
    returns nothing

  • -
  • stop () -
    -
    returns nothing

  • -
  • suggest () -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only

  • -
  • textChanged (a0) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    a0TQString
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kspell/KSpellingHighlighter.html b/python/pykde/doc/classref/kspell/KSpellingHighlighter.html deleted file mode 100644 index 90946f13..00000000 --- a/python/pykde/doc/classref/kspell/KSpellingHighlighter.html +++ /dev/null @@ -1,86 +0,0 @@ - - - - - class KSpellingHighlighter - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KSpellingHighlighter


-
- - - - - -
Table of contents
Modules
kspell Classes
All Classes
-
- - - - - - - - - - -
Modulekspell
ClassKSpellingHighlighter (abstract)
InheritsKSyntaxHighlighter
-

methods

    -
  • KSpellingHighlighter (textEdit, spellColor = Qt .red, colorQuoting = 0, QuoteColor0 = Qt .black, QuoteColor1 = TQColor (0x00 ,0x80 ,0x00 ), QuoteColor2 = TQColor (0x00 ,0x80 ,0x00 ), QuoteColor3 = TQColor (0x00 ,0x80 ,0x00 )) -
    - -
    returns a KSpellingHighlighter instance
    In versions KDE 3.2.0 and above only
    - - - - - - - -
    ArgumentTypeDefault
    textEditTQTextEdit
    spellColorTQColorQt .red
    colorQuotingbool0
    QuoteColor0TQColorQt .black
    QuoteColor1TQColorTQColor (0x00 ,0x80 ,0x00 )
    QuoteColor2TQColorTQColor (0x00 ,0x80 ,0x00 )
    QuoteColor3TQColorTQColor (0x00 ,0x80 ,0x00 )
    -

  • -
  • highlightParagraph (text, endStateOfLastPara) -
    - -
    returns (int)
    In versions KDE 3.2.0 and above only
    - - -
    ArgumentTypeDefault
    textTQString
    endStateOfLastParaint
    -

  • -
  • intraWordEditing () -
    - -
    returns (bool)
    In versions KDE 3.2.0 and above only

  • -
  • isMisspelled (word) = 0 -
    - - -
    returns (bool)
    In versions KDE 3.2.0 and above only
    pure virtual
    - -
    ArgumentTypeDefault
    wordTQString
    -

  • -
  • personalWords () -
    - - -
    returns (TQStringList)
    In versions KDE 3.2.0 and above only
    static

  • -
  • setIntraWordEditing (editing) -
    - -
    returns nothing
    In versions KDE 3.2.0 and above only
    - -
    ArgumentTypeDefault
    editingbool
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kspell/KSyntaxHighlighter.html b/python/pykde/doc/classref/kspell/KSyntaxHighlighter.html deleted file mode 100644 index 9c4483f4..00000000 --- a/python/pykde/doc/classref/kspell/KSyntaxHighlighter.html +++ /dev/null @@ -1,65 +0,0 @@ - - - - - class KSyntaxHighlighter - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KSyntaxHighlighter


-
- - - - - -
Table of contents
Modules
kspell Classes
All Classes
-
- - - - - - - - - - -
Modulekspell
ClassKSyntaxHighlighter
InheritsTQSyntaxHighlighter
-

enums

    -
  • SyntaxMode = {PlainTextMode, RichTextMode -}
-

methods

    -
  • KSyntaxHighlighter (textEdit, colorQuoting = 0, QuoteColor0 = Qt .black, QuoteColor1 = TQColor (0x00 ,0x80 ,0x00 ), QuoteColor2 = TQColor (0x00 ,0x80 ,0x00 ), QuoteColor3 = TQColor (0x00 ,0x80 ,0x00 ), mode = PlainTextMode) -
    - -
    returns a KSyntaxHighlighter instance
    In versions KDE 3.2.0 and above only
    - - - - - - - -
    ArgumentTypeDefault
    textEditTQTextEdit
    colorQuotingbool0
    QuoteColor0TQColorQt .black
    QuoteColor1TQColorTQColor (0x00 ,0x80 ,0x00 )
    QuoteColor2TQColorTQColor (0x00 ,0x80 ,0x00 )
    QuoteColor3TQColorTQColor (0x00 ,0x80 ,0x00 )
    modeKSyntaxHighlighter.SyntaxModePlainTextMode
    -

  • -
  • highlightParagraph (text, endStateOfLastPara) -
    - -
    returns (int)
    In versions KDE 3.2.0 and above only
    - - -
    ArgumentTypeDefault
    textTQString
    endStateOfLastParaint
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kspell/index.html b/python/pykde/doc/classref/kspell/index.html deleted file mode 100644 index e9487c54..00000000 --- a/python/pykde/doc/classref/kspell/index.html +++ /dev/null @@ -1,41 +0,0 @@ - - - - - module kspell - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

kspell Class Index


-
- - - - -
Table of contents
Modules
All Classes
-
- kspell Global and Namespace members

- -
- - - -
KDictSpellingHighlighter - KSpell
KDictSpellingHighlighter
KSpell
- - - -
KSpellConfig - KSpellDlg
KSpellConfig
KSpellDlg
- - - -
KSpellingHighlighter - KSyntaxHighlighter
KSpellingHighlighter
KSyntaxHighlighter
- - diff --git a/python/pykde/doc/classref/kspell/kspell-globals.html b/python/pykde/doc/classref/kspell/kspell-globals.html deleted file mode 100644 index 906321ca..00000000 --- a/python/pykde/doc/classref/kspell/kspell-globals.html +++ /dev/null @@ -1,38 +0,0 @@ - - - - - kspell globals - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

kspell Globals


-
- - - - - -
Table of contents
Modules
kspell Classes
All Classes
-
-

enums

    -
  • Encoding = {KS_E_ASCII, KS_E_LATIN1, KS_E_LATIN2, KS_E_LATIN3, KS_E_LATIN4, KS_E_LATIN5, KS_E_LATIN7, KS_E_LATIN8, KS_E_LATIN9, KS_E_LATIN13, KS_E_LATIN15, KS_E_UTF8, KS_E_KOI8R, KS_E_KOI8U, KS_E_CP1251, KS_E_CP1255 -}
  • Encoding = {KS_E_ASCII, KS_E_LATIN1, KS_E_LATIN2, KS_E_LATIN3, KS_E_LATIN4, KS_E_LATIN5, KS_E_LATIN7, KS_E_LATIN8, KS_E_LATIN9, KS_E_LATIN13, KS_E_LATIN15, KS_E_UTF8, KS_E_KOI8R, KS_E_KOI8U, KS_E_CP1251 -}
  • Encoding = {KS_E_ASCII, KS_E_LATIN1, KS_E_LATIN2, KS_E_LATIN3, KS_E_LATIN4, KS_E_LATIN5, KS_E_LATIN7, KS_E_LATIN8, KS_E_LATIN9, KS_E_LATIN15, KS_E_UTF8, KS_E_KOI8R, KS_E_KOI8U, KS_E_CP1251, KS_E_LATIN13 -}
  • KS_RESULT = {KS_CANCEL, KS_REPLACE, KS_REPLACEALL, KS_IGNORE, KS_IGNOREALL, KS_ADD, KS_STOP, KS_SUGGEST, KS_CONFIG -}
  • KS_RESULT = {KS_CANCEL, KS_REPLACE, KS_REPLACEALL, KS_IGNORE, KS_IGNOREALL, KS_ADD, KS_STOP -}
  • KSpellClients = {KS_CLIENT_ISPELL, KS_CLIENT_ASPELL, KS_CLIENT_HSPELL, KS_CLIENT_ZEMBEREK -}
  • KSpellClients = {KS_CLIENT_ISPELL, KS_CLIENT_ASPELL, KS_CLIENT_HSPELL -}
  • KSpellClients = {KS_CLIENT_ISPELL, KS_CLIENT_ASPELL -}
- - - diff --git a/python/pykde/doc/classref/kutils/KCModuleContainer.html b/python/pykde/doc/classref/kutils/KCModuleContainer.html deleted file mode 100644 index ac552704..00000000 --- a/python/pykde/doc/classref/kutils/KCModuleContainer.html +++ /dev/null @@ -1,74 +0,0 @@ - - - - - class KCModuleContainer - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KCModuleContainer


-
- - - - -
Table of contents
Modules
kutils Classes
All Classes
-
- - - - - - - - - - -
Modulekutils
ClassKCModuleContainer
InheritsKCModule
-

methods

    -
  • KCModuleContainer (parent, name, mods) -
    -
    returns a KCModuleContainer instance
    - - - -
    ArgumentTypeDefault
    parentTQWidget
    namechar
    modsTQStringList
    -

  • -
  • KCModuleContainer (parent, name, mods = TQString ()) -
    -
    returns a KCModuleContainer instance
    - - - -
    ArgumentTypeDefault
    parentTQWidget
    namechar
    modsTQStringTQString ()
    -

  • -
  • addModule (module) -
    -
    returns nothing
    - -
    ArgumentTypeDefault
    moduleTQString
    -

  • -
  • defaults () -
    -
    returns nothing

  • -
  • finalize () -
    -
    returns nothing

  • -
  • load () -
    -
    returns nothing

  • -
  • save () -
    -
    returns nothing

  • -
- - - diff --git a/python/pykde/doc/classref/kutils/KCModuleInfo.html b/python/pykde/doc/classref/kutils/KCModuleInfo.html deleted file mode 100644 index dd418f23..00000000 --- a/python/pykde/doc/classref/kutils/KCModuleInfo.html +++ /dev/null @@ -1,219 +0,0 @@ - - - - - class KCModuleInfo - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KCModuleInfo


-
- - - - - -
Table of contents
Modules
kutils Classes
All Classes
-
- - - - - - - - - - -
Modulekutils
ClassKCModuleInfo
Inherits
-

methods

    -
  • KCModuleInfo (desktopFile) -
    - -
    returns a KCModuleInfo instance
    In versions KDE 3.3.0 and above only
    - -
    ArgumentTypeDefault
    desktopFileTQString
    -

  • -
  • KCModuleInfo (moduleInfo) -
    - -
    returns a KCModuleInfo instance
    In versions KDE 3.3.0 and above only
    - -
    ArgumentTypeDefault
    moduleInfoKService.Ptr
    -

  • -
  • KCModuleInfo (rhs) -
    - -
    returns a KCModuleInfo instance
    In versions KDE 3.3.0 and above only
    - -
    ArgumentTypeDefault
    rhsKCModuleInfo
    -

  • -
  • KCModuleInfo () -
    - -
    returns a KCModuleInfo instance
    In versions KDE 3.4.0 and above only

  • -
  • comment () -
    - -
    returns (TQString)
    In versions KDE 3.3.0 and above only

  • -
  • docPath () -
    - -
    returns (TQString)
    In versions KDE 3.3.0 and above only

  • -
  • factoryName () -
    - -
    returns (TQString)
    In versions KDE 3.4.0 and above only

  • -
  • fileName () -
    - -
    returns (TQString)
    In versions KDE 3.3.0 and above only

  • -
  • handle () -
    - -
    returns (TQString)
    In versions KDE 3.3.0 and above only

  • -
  • icon () -
    - -
    returns (TQString)
    In versions KDE 3.3.0 and above only

  • -
  • isHiddenByDefault () -
    - -
    returns (bool)
    In versions KDE 3.3.0 and above only

  • -
  • keywords () -
    - -
    returns (TQStringList)
    In versions KDE 3.3.0 and above only

  • -
  • library () -
    - -
    returns (TQString)
    In versions KDE 3.3.0 and above only

  • -
  • loadAll () -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only

  • -
  • moduleName () -
    - -
    returns (TQString)
    In versions KDE 3.3.0 and above only

  • -
  • needsRootPrivileges () -
    - -
    returns (bool)
    In versions KDE 3.3.0 and above only

  • -
  • needsTest () -
    - -
    returns (bool)
    In versions KDE 3.4.0 and above only

  • -
  • service () -
    - -
    returns (KService.Ptr)
    In versions KDE 3.3.0 and above only

  • -
  • setComment (comment) -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only
    - -
    ArgumentTypeDefault
    commentTQString
    -

  • -
  • setDocPath (p) -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only
    - -
    ArgumentTypeDefault
    pTQString
    -

  • -
  • setHandle (handle) -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only
    - -
    ArgumentTypeDefault
    handleTQString
    -

  • -
  • setIcon (icon) -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only
    - -
    ArgumentTypeDefault
    iconTQString
    -

  • -
  • setIsHiddenByDefault (isHiddenByDefault) -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only
    - -
    ArgumentTypeDefault
    isHiddenByDefaultbool
    -

  • -
  • setKeywords (keyword) -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only
    - -
    ArgumentTypeDefault
    keywordTQStringList
    -

  • -
  • setLibrary (lib) -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only
    - -
    ArgumentTypeDefault
    libTQString
    -

  • -
  • setName (name) -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only
    - -
    ArgumentTypeDefault
    nameTQString
    -

  • -
  • setNeedsRootPrivileges (needsRootPrivileges) -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only
    - -
    ArgumentTypeDefault
    needsRootPrivilegesbool
    -

  • -
  • setNeedsTest (val) -
    - -
    returns nothing
    In versions KDE 3.4.0 and above only
    - -
    ArgumentTypeDefault
    valbool
    -

  • -
  • setWeight (weight) -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only
    - -
    ArgumentTypeDefault
    weightint
    -

  • -
  • weight () -
    - -
    returns (int)
    In versions KDE 3.3.0 and above only

  • -
-

operators

    -
  • operator != (a0) -
    - -
    returns (bool)
    In versions KDE 3.3.0 and above only
    - -
    ArgumentTypeDefault
    a0KCModuleInfo
    -

  • -
  • operator == (a0) -
    - -
    returns (bool)
    In versions KDE 3.3.0 and above only
    - -
    ArgumentTypeDefault
    a0KCModuleInfo
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kutils/KCModuleLoader.html b/python/pykde/doc/classref/kutils/KCModuleLoader.html deleted file mode 100644 index 718800a3..00000000 --- a/python/pykde/doc/classref/kutils/KCModuleLoader.html +++ /dev/null @@ -1,135 +0,0 @@ - - - - - class KCModuleLoader - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KCModuleLoader


-
- - - - - -
Table of contents
Modules
kutils Classes
All Classes
-
- - - - - - - - - - -
Modulekutils
ClassKCModuleLoader
Inherits
-

enums

    -
  • ErrorReporting = {None, Inline, Dialog, Both -}
-

methods

    -
  • loadModule (module, withFallback = 1, parent = 0, name = 0, args = TQStringList ()) -
    - - -
    returns (KCModule)
    In versions KDE 3.3.0 and above only
    static
    - - - - - -
    ArgumentTypeDefault
    moduleKCModuleInfo
    withFallbackbool1
    parentTQWidget0
    namechar0
    argsTQStringListTQStringList ()
    -

  • -
  • loadModule (module, parent = 0, name = 0, args = TQStringList ()) -
    - - -
    returns (KCModule)
    In versions KDE 3.3.0 and above only
    static
    - - - - -
    ArgumentTypeDefault
    moduleTQString
    parentTQWidget0
    namechar0
    argsTQStringListTQStringList ()
    -

  • -
  • loadModule (module, report, withFallback = 1, parent = 0, name = 0, args = TQStringList ()) -
    - - -
    returns (KCModule)
    In versions KDE 3.4.0 and above only
    static
    - - - - - - -
    ArgumentTypeDefault
    moduleKCModuleInfo
    reportKCModuleLoader.ErrorReporting
    withFallbackbool1
    parentTQWidget0
    namechar0
    argsTQStringListTQStringList ()
    -

  • -
  • loadModule (module, report, parent = 0, name = 0, args = TQStringList ()) -
    - - -
    returns (KCModule)
    In versions KDE 3.4.0 and above only
    static
    - - - - - -
    ArgumentTypeDefault
    moduleTQString
    reportKCModuleLoader.ErrorReporting
    parentTQWidget0
    namechar0
    argsTQStringListTQStringList ()
    -

  • -
  • reportError (report, text, details, parent) -
    - - -
    returns (KCModule)
    In versions KDE 3.4.0 and above only
    static
    - - - - -
    ArgumentTypeDefault
    reportKCModuleLoader.ErrorReporting
    textTQString
    detailsTQString
    parentTQWidget
    -

  • -
  • showLastLoaderError (parent) -
    - - -
    returns nothing
    In versions KDE 3.3.0 and above only
    static
    - -
    ArgumentTypeDefault
    parentTQWidget
    -

  • -
  • testModule (module) -
    - - -
    returns (bool)
    In versions KDE 3.4.0 and above only
    static
    - -
    ArgumentTypeDefault
    moduleTQString
    -

  • -
  • testModule (module) -
    - - -
    returns (bool)
    In versions KDE 3.4.0 and above only
    static
    - -
    ArgumentTypeDefault
    moduleKCModuleInfo
    -

  • -
  • unloadModule (mod) -
    - - -
    returns nothing
    In versions KDE 3.3.0 and above only
    static
    - -
    ArgumentTypeDefault
    modKCModuleInfo
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kutils/KCModuleProxy.html b/python/pykde/doc/classref/kutils/KCModuleProxy.html deleted file mode 100644 index ad17109a..00000000 --- a/python/pykde/doc/classref/kutils/KCModuleProxy.html +++ /dev/null @@ -1,182 +0,0 @@ - - - - - class KCModuleProxy - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KCModuleProxy


-
- - - - - -
Table of contents
Modules
kutils Classes
All Classes
-
- - - - - - - - - - -
Modulekutils
ClassKCModuleProxy
InheritsTQWidget
-

methods

    -
  • KCModuleProxy (info, withFallback = 0, parent = 0, name = 0, args = TQStringList ()) -
    - -
    returns a KCModuleProxy instance
    In versions KDE 3.3.0 and above only
    - - - - - -
    ArgumentTypeDefault
    infoKCModuleInfo
    withFallbackbool0
    parentTQWidget0
    namechar0
    argsTQStringListTQStringList ()
    -

  • -
  • KCModuleProxy (serviceName, withFallback = 1, parent = 0, name = 0, args = TQStringList ()) -
    - -
    returns a KCModuleProxy instance
    In versions KDE 3.4.0 and above only
    - - - - - -
    ArgumentTypeDefault
    serviceNameTQString
    withFallbackbool1
    parentTQWidget0
    namechar0
    argsTQStringListTQStringList ()
    -

  • -
  • KCModuleProxy (service, withFallback = 1, parent = 0, name = 0, args = TQStringList ()) -
    - -
    returns a KCModuleProxy instance
    In versions KDE 3.4.0 and above only
    - - - - - -
    ArgumentTypeDefault
    serviceKService.Ptr
    withFallbackbool1
    parentTQWidget0
    namechar0
    argsTQStringListTQStringList ()
    -

  • -
  • aboutData () -
    - -
    returns (KAboutData)
    In versions KDE 3.3.0 and above only

  • -
  • buttons () -
    - -
    returns (int)
    In versions KDE 3.3.0 and above only

  • -
  • changed () -
    - -
    returns (bool)
    In versions KDE 3.3.0 and above only

  • -
  • changed (state) -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only
    - -
    ArgumentTypeDefault
    statebool
    -

  • -
  • changed (mod) -
    - -
    returns nothing
    In versions KDE 3.4.0 and above only
    - -
    ArgumentTypeDefault
    modKCModuleProxy
    -

  • -
  • childClosed () -
    - -
    returns nothing
    In versions KDE 3.4.0 and above only

  • -
  • dcopName () -
    - -
    returns (TQCString)
    In versions KDE 3.4.0 and above only

  • -
  • defaults () -
    - -
    returns nothing
    In versions KDE 3.4.0 and above only

  • -
  • defaults () -
    - -
    returns nothing
    In versions less than KDE 3.4.0 only

  • -
  • deleteClient () -
    - -
    returns nothing
    In versions KDE 3.4.0 and above only

  • -
  • emitQuickHelpChanged () -
    - -
    returns nothing
    In versions KDE 3.4.0 and above only

  • -
  • init (info) -
    - -
    returns nothing
    In versions KDE 3.4.0 and above only
    - -
    ArgumentTypeDefault
    infoKCModuleInfo
    -

  • -
  • instance () -
    - -
    returns (KInstance)
    In versions KDE 3.3.0 and above only

  • -
  • load () -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only

  • -
  • moduleInfo () -
    - -
    returns (KCModuleInfo)
    In versions KDE 3.3.0 and above only

  • -
  • quickHelp () -
    - -
    returns (TQString)
    In versions KDE 3.3.0 and above only

  • -
  • quickHelpChanged () -
    - -
    returns nothing
    In versions KDE 3.4.0 and above only

  • -
  • realModule () -
    - -
    returns (KCModule)
    In versions KDE 3.3.0 and above only

  • -
  • rootMode () -
    - -
    returns (bool)
    In versions KDE 3.4.0 and above only

  • -
  • rootOnlyMsg () -
    - -
    returns (TQString)
    In versions KDE 3.3.0 and above only

  • -
  • runAsRoot () -
    - -
    returns nothing
    In versions KDE 3.4.0 and above only

  • -
  • save () -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only

  • -
  • showEvent (a0) -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only
    - -
    ArgumentTypeDefault
    a0TQShowEvent
    -

  • -
  • useRootOnlyMsg () -
    - -
    returns (bool)
    In versions KDE 3.3.0 and above only

  • -
- - - diff --git a/python/pykde/doc/classref/kutils/KCMultiDialog.html b/python/pykde/doc/classref/kutils/KCMultiDialog.html deleted file mode 100644 index 1b94e860..00000000 --- a/python/pykde/doc/classref/kutils/KCMultiDialog.html +++ /dev/null @@ -1,135 +0,0 @@ - - - - - class KCMultiDialog - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KCMultiDialog


-
- - - - - -
Table of contents
Modules
kutils Classes
All Classes
-
- - - - - - - - - - -
Modulekutils
ClassKCMultiDialog
InheritsKDialogBase
-

methods

    -
  • KCMultiDialog (parent = 0, name = 0, modal = 0) -
    - -
    returns a KCMultiDialog instance
    In versions KDE 3.3.0 and above only
    - - - -
    ArgumentTypeDefault
    parentTQWidget0
    namechar0
    modalbool0
    -

  • -
  • KCMultiDialog (dialogFace, caption, parent = 0, name = 0, modal = 0) -
    - -
    returns a KCMultiDialog instance
    In versions KDE 3.3.0 and above only
    - - - - - -
    ArgumentTypeDefault
    dialogFaceint
    captionTQString
    parentTQWidget0
    namechar0
    modalbool0
    -

  • -
  • KCMultiDialog (dialogFace, user2, user3 = KGuiItem (), buttonMask = User2, caption = i18n ("Configure" ), parent = 0, name = 0, modal = 0) -
    - -
    returns a KCMultiDialog instance
    In versions KDE 3.3.0 and above only
    - - - - - - - - -
    ArgumentTypeDefault
    dialogFaceint
    user2KGuiItem
    user3KGuiItemKGuiItem ()
    buttonMaskintUser2
    captionTQStringi18n ("Configure" )
    parentTQWidget0
    namechar0
    modalbool0
    -

  • -
  • addModule (module, withfallback = 1) -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only
    - - -
    ArgumentTypeDefault
    moduleTQString
    withfallbackbool1
    -

  • -
  • addModule (moduleinfo, parentmodulenames = TQStringList (), withfallback = 0) -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only
    - - - -
    ArgumentTypeDefault
    moduleinfoKCModuleInfo
    parentmodulenamesTQStringListTQStringList ()
    withfallbackbool0
    -

  • -
  • apply () -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only

  • -
  • configCommitted () -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only

  • -
  • configCommitted (instanceName) -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only
    - -
    ArgumentTypeDefault
    instanceNameTQCString
    -

  • -
  • removeAllModules () -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only

  • -
  • show () -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only

  • -
  • slotApply () -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only

  • -
  • slotDefault () -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only

  • -
  • slotHelp () -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only

  • -
  • slotOk () -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only

  • -
  • slotUser1 () -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only

  • -
- - - diff --git a/python/pykde/doc/classref/kutils/KFind.html b/python/pykde/doc/classref/kutils/KFind.html deleted file mode 100644 index bea730ae..00000000 --- a/python/pykde/doc/classref/kutils/KFind.html +++ /dev/null @@ -1,222 +0,0 @@ - - - - - class KFind - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KFind


-
- - - - - -
Table of contents
Modules
kutils Classes
All Classes
-
- - - - - - - - - - -
Modulekutils
ClassKFind
InheritsTQObject
-

enums

    -
  • Result = {NoMatch, Match -}
-

methods

    -
  • KFind (pattern, options, parent) -
    - -
    returns a KFind instance
    In versions KDE 3.3.0 and above only
    - - - -
    ArgumentTypeDefault
    patternTQString
    optionslong
    parentTQWidget
    -

  • -
  • KFind (pattern, options, parent, findDialog) -
    - -
    returns a KFind instance
    In versions KDE 3.3.0 and above only
    - - - - -
    ArgumentTypeDefault
    patternTQString
    optionslong
    parentTQWidget
    findDialogTQWidget
    -

  • -
  • closeFindNextDialog () -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only

  • -
  • dialogClosed () -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only

  • -
  • dialogsParent () -
    - -
    returns (TQWidget)
    In versions KDE 3.3.0 and above only

  • -
  • displayFinalDialog () -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only

  • -
  • find () -
    - -
    returns (KFind.Result)
    In versions KDE 3.3.0 and above only

  • -
  • find (text, pattern, index, options) -
    - - -
    returns (int) matchedlength (int)
    In versions KDE 3.3.0 and above only
    static
    - - - - -
    ArgumentTypeDefault
    textTQString
    patternTQString
    indexint
    optionslong
    -

  • -
  • find (text, pattern, index, options) -
    - - -
    returns (int) matchedlength (int)
    In versions KDE 3.3.0 and above only
    static
    - - - - -
    ArgumentTypeDefault
    textTQString
    patternTQRegExp
    indexint
    optionslong
    -

  • -
  • findNext () -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only

  • -
  • findNextDialog (create = 0) -
    - -
    returns (KDialogBase)
    In versions KDE 3.3.0 and above only
    - -
    ArgumentTypeDefault
    createbool0
    -

  • -
  • highlight (text, matchingIndex, matchedLength) -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only
    - - - -
    ArgumentTypeDefault
    textTQString
    matchingIndexint
    matchedLengthint
    -

  • -
  • highlight (id, matchingIndex, matchedLength) -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only
    - - - -
    ArgumentTypeDefault
    idint
    matchingIndexint
    matchedLengthint
    -

  • -
  • index () -
    - -
    returns (int)
    In versions KDE 3.3.0 and above only

  • -
  • needData () -
    - -
    returns (bool)
    In versions KDE 3.3.0 and above only

  • -
  • numMatches () -
    - -
    returns (int)
    In versions KDE 3.3.0 and above only

  • -
  • options () -
    - -
    returns (long)
    In versions KDE 3.3.0 and above only

  • -
  • optionsChanged () -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only

  • -
  • parentWidget () -
    - -
    returns (TQWidget)
    In versions KDE 3.3.0 and above only

  • -
  • pattern () -
    - -
    returns (TQString)
    In versions KDE 3.3.0 and above only

  • -
  • resetCounts () -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only

  • -
  • setData (data, startPos = -1) -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only
    - - -
    ArgumentTypeDefault
    dataTQString
    startPosint-1
    -

  • -
  • setData (id, data, startPos = -1) -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only
    - - - -
    ArgumentTypeDefault
    idint
    dataTQString
    startPosint-1
    -

  • -
  • setOptions (options) -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only
    - -
    ArgumentTypeDefault
    optionslong
    -

  • -
  • setPattern (pattern) -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only
    - -
    ArgumentTypeDefault
    patternTQString
    -

  • -
  • shouldRestart (forceAsking = 0, showNumMatches = 1) -
    - -
    returns (bool)
    In versions KDE 3.3.0 and above only
    - - -
    ArgumentTypeDefault
    forceAskingbool0
    showNumMatchesbool1
    -

  • -
  • slotDialogClosed () -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only

  • -
  • slotFindNext () -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only

  • -
  • validateMatch (text, index, matchedlength) -
    - -
    returns (bool)
    In versions KDE 3.3.0 and above only
    - - - -
    ArgumentTypeDefault
    textTQString
    indexint
    matchedlengthint
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kutils/KFindDialog.html b/python/pykde/doc/classref/kutils/KFindDialog.html deleted file mode 100644 index 2eb6170c..00000000 --- a/python/pykde/doc/classref/kutils/KFindDialog.html +++ /dev/null @@ -1,188 +0,0 @@ - - - - - class KFindDialog - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KFindDialog


-
- - - - - -
Table of contents
Modules
kutils Classes
All Classes
-
- - - - - - - - - - -
Modulekutils
ClassKFindDialog
InheritsKDialogBase
-

enums

    -
  • Options = {WholeWordsOnly, FromCursor, SelectedText, CaseSensitive, FindBackwards, RegularExpression, FindIncremental, MinimumUserOption -}
-

methods

    -
  • KFindDialog (parent = 0, name = 0, options = 0, findStrings = TQStringList (), hasSelection = 0) -
    - -
    returns a KFindDialog instance
    In versions KDE 3.3.0 and above only
    - - - - - -
    ArgumentTypeDefault
    parentTQWidget0
    namechar0
    optionslong0
    findStringsTQStringListTQStringList ()
    hasSelectionbool0
    -

  • -
  • KFindDialog (modal, parent = 0, name = 0, options = 0, findStrings = TQStringList (), hasSelection = 0) -
    - -
    returns a KFindDialog instance
    In versions KDE 3.3.0 and above only
    - - - - - - -
    ArgumentTypeDefault
    modalbool
    parentTQWidget0
    namechar0
    optionslong0
    findStringsTQStringListTQStringList ()
    hasSelectionbool0
    -

  • -
  • KFindDialog (parent, name, forReplace) -
    - -
    returns a KFindDialog instance
    In versions KDE 3.3.0 and above only
    - - - -
    ArgumentTypeDefault
    parentTQWidget
    namechar
    forReplacebool
    -

  • -
  • findExtension () -
    - -
    returns (TQWidget)
    In versions KDE 3.3.0 and above only

  • -
  • findHistory () -
    - -
    returns (TQStringList)
    In versions KDE 3.3.0 and above only

  • -
  • options () -
    - -
    returns (long)
    In versions KDE 3.3.0 and above only

  • -
  • pattern () -
    - -
    returns (TQString)
    In versions KDE 3.3.0 and above only

  • -
  • setFindHistory (history) -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only
    - -
    ArgumentTypeDefault
    historyTQStringList
    -

  • -
  • setHasCursor (hasCursor) -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only
    - -
    ArgumentTypeDefault
    hasCursorbool
    -

  • -
  • setHasSelection (hasSelection) -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only
    - -
    ArgumentTypeDefault
    hasSelectionbool
    -

  • -
  • setOptions (options) -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only
    - -
    ArgumentTypeDefault
    optionslong
    -

  • -
  • setPattern (pattern) -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only
    - -
    ArgumentTypeDefault
    patternTQString
    -

  • -
  • setSupportsBackwardsFind (supports) -
    - -
    returns nothing
    In versions KDE 3.4.0 and above only
    - -
    ArgumentTypeDefault
    supportsbool
    -

  • -
  • setSupportsCaseSensitiveFind (supports) -
    - -
    returns nothing
    In versions KDE 3.4.0 and above only
    - -
    ArgumentTypeDefault
    supportsbool
    -

  • -
  • setSupportsRegularExpressionFind (supports) -
    - -
    returns nothing
    In versions KDE 3.4.0 and above only
    - -
    ArgumentTypeDefault
    supportsbool
    -

  • -
  • setSupportsWholeWordsFind (supports) -
    - -
    returns nothing
    In versions KDE 3.4.0 and above only
    - -
    ArgumentTypeDefault
    supportsbool
    -

  • -
  • showEvent (a0) -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only
    - -
    ArgumentTypeDefault
    a0TQShowEvent
    -

  • -
  • showPatterns () -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only

  • -
  • showPlaceholders () -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only

  • -
  • slotOk () -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only

  • -
  • slotSelectedTextToggled (a0) -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only
    - -
    ArgumentTypeDefault
    a0bool
    -

  • -
  • textSearchChanged (a0) -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only
    - -
    ArgumentTypeDefault
    a0TQString
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kutils/KMultiTabBar.html b/python/pykde/doc/classref/kutils/KMultiTabBar.html deleted file mode 100644 index 7d9091cc..00000000 --- a/python/pykde/doc/classref/kutils/KMultiTabBar.html +++ /dev/null @@ -1,163 +0,0 @@ - - - - - class KMultiTabBar - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KMultiTabBar


-
- - - - - -
Table of contents
Modules
kutils Classes
All Classes
-
- - - - - - - - - - -
Modulekutils
ClassKMultiTabBar
InheritsTQWidget
-

enums

    -
  • KMultiTabBarMode = {Horizontal, Vertical -}
  • KMultiTabBarPosition = {Left, Right, Top, Bottom -}
  • KMultiTabBarStyle = {VSNET, KDEV3, KONQSBC, KDEV3ICON, STYLELAST -}
-

methods

    -
  • KMultiTabBar (bm, parent = 0, name = 0) -
    - -
    returns a KMultiTabBar instance
    In versions KDE 3.3.0 and above only
    - - - -
    ArgumentTypeDefault
    bmKMultiTabBar.KMultiTabBarMode
    parentTQWidget0
    namechar0
    -

  • -
  • appendButton (pic, id = -1, popup = 0, not_used_yet = TQString .null) -
    - -
    returns (int)
    In versions KDE 3.3.0 and above only
    - - - - -
    ArgumentTypeDefault
    picTQPixmap
    idint-1
    popupTQPopupMenu0
    not_used_yetTQStringTQString .null
    -

  • -
  • appendTab (pic, id = -1, text = TQString .null) -
    - -
    returns (int)
    In versions KDE 3.3.0 and above only
    - - - -
    ArgumentTypeDefault
    picTQPixmap
    idint-1
    textTQStringTQString .null
    -

  • -
  • button (id) -
    - -
    returns (KMultiTabBarButton)
    In versions KDE 3.3.0 and above only
    - -
    ArgumentTypeDefault
    idint
    -

  • -
  • buttons () -
    Not Implemented
    -

  • -
  • fontChange (a0) -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only
    - -
    ArgumentTypeDefault
    a0TQFont
    -

  • -
  • isTabRaised (id) -
    - -
    returns (bool)
    In versions KDE 3.3.0 and above only
    - -
    ArgumentTypeDefault
    idint
    -

  • -
  • position () -
    - -
    returns (KMultiTabBar.KMultiTabBarPosition)
    In versions KDE 3.5.0 and above only

  • -
  • removeButton (id) -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only
    - -
    ArgumentTypeDefault
    idint
    -

  • -
  • removeTab (id) -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only
    - -
    ArgumentTypeDefault
    idint
    -

  • -
  • setPosition (pos) -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only
    - -
    ArgumentTypeDefault
    posKMultiTabBar.KMultiTabBarPosition
    -

  • -
  • setStyle (style) -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only
    - -
    ArgumentTypeDefault
    styleKMultiTabBar.KMultiTabBarStyle
    -

  • -
  • setTab (id, state) -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only
    - - -
    ArgumentTypeDefault
    idint
    statebool
    -

  • -
  • showActiveTabTexts (show = 1) -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only
    - -
    ArgumentTypeDefault
    showbool1
    -

  • -
  • tab (id) -
    - -
    returns (KMultiTabBarTab)
    In versions KDE 3.3.0 and above only
    - -
    ArgumentTypeDefault
    idint
    -

  • -
  • tabStyle () -
    - -
    returns (KMultiTabBar.KMultiTabBarStyle)
    In versions KDE 3.5.0 and above only

  • -
  • tabs () -
    Not Implemented
    -

  • -
  • updateSeparator () -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only

  • -
- - - diff --git a/python/pykde/doc/classref/kutils/KMultiTabBarButton.html b/python/pykde/doc/classref/kutils/KMultiTabBarButton.html deleted file mode 100644 index 18003b31..00000000 --- a/python/pykde/doc/classref/kutils/KMultiTabBarButton.html +++ /dev/null @@ -1,120 +0,0 @@ - - - - - class KMultiTabBarButton - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KMultiTabBarButton


-
- - - - - -
Table of contents
Modules
kutils Classes
All Classes
-
- - - - - - - - - - -
Modulekutils
ClassKMultiTabBarButton
InheritsTQPushButton
-

methods

    -
  • KMultiTabBarButton (pic, a0, popup, id, parent, pos, style) -
    - -
    returns a KMultiTabBarButton instance
    In versions KDE 3.3.0 and above only
    - - - - - - - -
    ArgumentTypeDefault
    picTQPixmap
    a0TQString
    popupTQPopupMenu
    idint
    parentTQWidget
    posKMultiTabBar.KMultiTabBarPosition
    styleKMultiTabBar.KMultiTabBarStyle
    -

  • -
  • KMultiTabBarButton (a0, popup, id, parent, pos, style) -
    - -
    returns a KMultiTabBarButton instance
    In versions KDE 3.3.0 and above only
    - - - - - - -
    ArgumentTypeDefault
    a0TQString
    popupTQPopupMenu
    idint
    parentTQWidget
    posKMultiTabBar.KMultiTabBarPosition
    styleKMultiTabBar.KMultiTabBarStyle
    -

  • -
  • clicked (id) -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only
    - -
    ArgumentTypeDefault
    idint
    -

  • -
  • hideEvent (a0) -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only
    - -
    ArgumentTypeDefault
    a0TQHideEvent
    -

  • -
  • id () -
    - -
    returns (int)
    In versions KDE 3.3.0 and above only

  • -
  • setPosition (a0) -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only
    - -
    ArgumentTypeDefault
    a0KMultiTabBar.KMultiTabBarPosition
    -

  • -
  • setStyle (a0) -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only
    - -
    ArgumentTypeDefault
    a0KMultiTabBar.KMultiTabBarStyle
    -

  • -
  • setText (a0) -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only
    - -
    ArgumentTypeDefault
    a0TQString
    -

  • -
  • showEvent (a0) -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only
    - -
    ArgumentTypeDefault
    a0TQShowEvent
    -

  • -
  • sizeHint () -
    - -
    returns (TQSize)
    In versions KDE 3.3.0 and above only

  • -
  • slotClicked () -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only

  • -
- - - diff --git a/python/pykde/doc/classref/kutils/KMultiTabBarTab.html b/python/pykde/doc/classref/kutils/KMultiTabBarTab.html deleted file mode 100644 index a76c4a6d..00000000 --- a/python/pykde/doc/classref/kutils/KMultiTabBarTab.html +++ /dev/null @@ -1,139 +0,0 @@ - - - - - class KMultiTabBarTab - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KMultiTabBarTab


-
- - - - - -
Table of contents
Modules
kutils Classes
All Classes
-
- - - - - - - - - - -
Modulekutils
ClassKMultiTabBarTab
InheritsKMultiTabBarButton
-

methods

    -
  • KMultiTabBarTab (pic, a0, id, parent, pos, style) -
    - -
    returns a KMultiTabBarTab instance
    In versions KDE 3.3.0 and above only
    - - - - - - -
    ArgumentTypeDefault
    picTQPixmap
    a0TQString
    idint
    parentTQWidget
    posKMultiTabBar.KMultiTabBarPosition
    styleKMultiTabBar.KMultiTabBarStyle
    -

  • -
  • drawButton (a0) -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only
    - -
    ArgumentTypeDefault
    a0TQPainter
    -

  • -
  • drawButtonClassic (a0) -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only
    - -
    ArgumentTypeDefault
    a0TQPainter
    -

  • -
  • drawButtonLabel (a0) -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only
    - -
    ArgumentTypeDefault
    a0TQPainter
    -

  • -
  • drawButtonStyled (a0) -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only
    - -
    ArgumentTypeDefault
    a0TQPainter
    -

  • -
  • neededSize () -
    - -
    returns (int)
    In versions KDE 3.3.0 and above only

  • -
  • resize () -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only

  • -
  • setIcon (a0) -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only
    - -
    ArgumentTypeDefault
    a0TQString
    -

  • -
  • setIcon (a0) -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only
    - -
    ArgumentTypeDefault
    a0TQPixmap
    -

  • -
  • setSize (a0) -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only
    - -
    ArgumentTypeDefault
    a0int
    -

  • -
  • setState (state) -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only
    - -
    ArgumentTypeDefault
    statebool
    -

  • -
  • setTabsPosition (a0) -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only
    - -
    ArgumentTypeDefault
    a0KMultiTabBar.KMultiTabBarPosition
    -

  • -
  • showActiveTabText (show) -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only
    - -
    ArgumentTypeDefault
    showbool
    -

  • -
  • slotClicked () -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only

  • -
  • updateState () -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only

  • -
- - - diff --git a/python/pykde/doc/classref/kutils/KPluginInfo.html b/python/pykde/doc/classref/kutils/KPluginInfo.html deleted file mode 100644 index 6bf733eb..00000000 --- a/python/pykde/doc/classref/kutils/KPluginInfo.html +++ /dev/null @@ -1,213 +0,0 @@ - - - - - class KPluginInfo - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KPluginInfo


-
- - - - - -
Table of contents
Modules
kutils Classes
All Classes
-
- - - - - - - - - - -
Modulekutils
ClassKPluginInfo
Inherits
-

methods

    -
  • KPluginInfo (filename, resource = 0) -
    - -
    returns a KPluginInfo instance
    In versions KDE 3.3.0 and above only
    - - -
    ArgumentTypeDefault
    filenameTQString
    resourcechar0
    -

  • -
  • KPluginInfo (service) -
    - -
    returns a KPluginInfo instance
    In versions KDE 3.3.0 and above only
    - -
    ArgumentTypeDefault
    serviceKService.Ptr
    -

  • -
  • KPluginInfo (a0) -
    - -
    returns a KPluginInfo instance
    In versions KDE 3.3.0 and above only
    - -
    ArgumentTypeDefault
    a0KPluginInfo
    -

  • -
  • author () -
    - -
    returns (TQString)
    In versions KDE 3.3.0 and above only

  • -
  • category () -
    - -
    returns (TQString)
    In versions KDE 3.3.0 and above only

  • -
  • comment () -
    - -
    returns (TQString)
    In versions KDE 3.3.0 and above only

  • -
  • config () -
    - -
    returns (KConfig)
    In versions KDE 3.3.0 and above only

  • -
  • configgroup () -
    - -
    returns (TQString)
    In versions KDE 3.3.0 and above only

  • -
  • defaults () -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only

  • -
  • dependencies () -
    - -
    returns (TQStringList)
    In versions KDE 3.3.0 and above only

  • -
  • email () -
    - -
    returns (TQString)
    In versions KDE 3.3.0 and above only

  • -
  • fromFiles (files, config = 0, group = TQString .null) -
    - - -
    returns (KPluginInfo.List)
    In versions KDE 3.3.0 and above only
    static
    - - - -
    ArgumentTypeDefault
    filesTQStringList
    configKConfig0
    groupTQStringTQString .null
    -

  • -
  • fromKPartsInstanceName (a0, config = 0, group = TQString .null) -
    - - -
    returns (KPluginInfo.List)
    In versions KDE 3.3.0 and above only
    static
    - - - -
    ArgumentTypeDefault
    a0TQString
    configKConfig0
    groupTQStringTQString .null
    -

  • -
  • fromServices (services, config = 0, group = TQString .null) -
    - - -
    returns (KPluginInfo.List)
    In versions KDE 3.3.0 and above only
    static
    - - - -
    ArgumentTypeDefault
    servicesKService.List
    configKConfig0
    groupTQStringTQString .null
    -

  • -
  • icon () -
    - -
    returns (TQString)
    In versions KDE 3.3.0 and above only

  • -
  • isHidden () -
    - -
    returns (bool)
    In versions KDE 3.3.0 and above only

  • -
  • isPluginEnabled () -
    - -
    returns (bool)
    In versions KDE 3.3.0 and above only

  • -
  • isPluginEnabledByDefault () -
    - -
    returns (bool)
    In versions KDE 3.3.0 and above only

  • -
  • kcmServices () -
    Not Implemented
    -

  • -
  • license () -
    - -
    returns (TQString)
    In versions KDE 3.3.0 and above only

  • -
  • load (config = 0) -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only
    - -
    ArgumentTypeDefault
    configKConfigGroup0
    -

  • -
  • name () -
    - -
    returns (TQString)
    In versions KDE 3.3.0 and above only

  • -
  • pluginName () -
    - -
    returns (TQString)
    In versions KDE 3.3.0 and above only

  • -
  • property (key) -
    - -
    returns (TQVariant)
    In versions KDE 3.3.0 and above only
    - -
    ArgumentTypeDefault
    keyTQString
    -

  • -
  • save (config = 0) -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only
    - -
    ArgumentTypeDefault
    configKConfigGroup0
    -

  • -
  • service () -
    - -
    returns (KService.Ptr)
    In versions KDE 3.3.0 and above only

  • -
  • setConfig (config, group) -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only
    - - -
    ArgumentTypeDefault
    configKConfig
    groupTQString
    -

  • -
  • setPluginEnabled (enabled) -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only
    - -
    ArgumentTypeDefault
    enabledbool
    -

  • -
  • specfile () -
    - -
    returns (TQString)
    In versions KDE 3.3.0 and above only

  • -
  • version () -
    - -
    returns (TQString)
    In versions KDE 3.3.0 and above only

  • -
  • website () -
    - -
    returns (TQString)
    In versions KDE 3.3.0 and above only

  • -
-

operators

    -
  • operator [] (a0) -
    Not Implemented
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kutils/KPluginSelector.html b/python/pykde/doc/classref/kutils/KPluginSelector.html deleted file mode 100644 index 9bf0dc35..00000000 --- a/python/pykde/doc/classref/kutils/KPluginSelector.html +++ /dev/null @@ -1,105 +0,0 @@ - - - - - class KPluginSelector - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KPluginSelector


-
- - - - - -
Table of contents
Modules
kutils Classes
All Classes
-
- - - - - - - - - - -
Modulekutils
ClassKPluginSelector
InheritsTQWidget
-

methods

    -
  • KPluginSelector (parent, name = 0) -
    - -
    returns a KPluginSelector instance
    In versions KDE 3.3.0 and above only
    - - -
    ArgumentTypeDefault
    parentTQWidget
    namechar0
    -

  • -
  • addPlugins (instanceName, catname = TQString .null, category = TQString .null, config = 0) -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only
    - - - - -
    ArgumentTypeDefault
    instanceNameTQString
    catnameTQStringTQString .null
    categoryTQStringTQString .null
    configKConfig0
    -

  • -
  • addPlugins (instance, catname = TQString .null, category = TQString .null, config = 0) -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only
    - - - - -
    ArgumentTypeDefault
    instanceKInstance
    catnameTQStringTQString .null
    categoryTQStringTQString .null
    configKConfig0
    -

  • -
  • addPlugins (plugininfos, catname = TQString .null, category = TQString .null, config = 0) -
    Not Implemented
    -

  • -
  • changed (a0) -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only
    - -
    ArgumentTypeDefault
    a0bool
    -

  • -
  • configCommitted (instanceName) -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only
    - -
    ArgumentTypeDefault
    instanceNameTQCString
    -

  • -
  • defaults () -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only

  • -
  • load () -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only

  • -
  • save () -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only

  • -
  • setShowEmptyConfigPage (a0) -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only
    - -
    ArgumentTypeDefault
    a0bool
    -

  • -
- - - diff --git a/python/pykde/doc/classref/kutils/KReplace.html b/python/pykde/doc/classref/kutils/KReplace.html deleted file mode 100644 index c34b69cf..00000000 --- a/python/pykde/doc/classref/kutils/KReplace.html +++ /dev/null @@ -1,143 +0,0 @@ - - - - - class KReplace - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KReplace


-
- - - - - -
Table of contents
Modules
kutils Classes
All Classes
-
- - - - - - - - - - -
Modulekutils
ClassKReplace
InheritsKFind
-

methods

    -
  • KReplace (pattern, replacement, options, parent = 0) -
    - -
    returns a KReplace instance
    In versions KDE 3.3.0 and above only
    - - - - -
    ArgumentTypeDefault
    patternTQString
    replacementTQString
    optionslong
    parentTQWidget0
    -

  • -
  • KReplace (pattern, replacement, options, parent, replaceDialog) -
    - -
    returns a KReplace instance
    In versions KDE 3.3.0 and above only
    - - - - - -
    ArgumentTypeDefault
    patternTQString
    replacementTQString
    optionslong
    parentTQWidget
    replaceDialogTQWidget
    -

  • -
  • closeReplaceNextDialog () -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only

  • -
  • displayFinalDialog () -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only

  • -
  • numReplacements () -
    - -
    returns (int)
    In versions KDE 3.3.0 and above only

  • -
  • replace () -
    - -
    returns (Result)
    In versions KDE 3.3.0 and above only

  • -
  • replace (text, pattern, replacement, index, options) -
    - - -
    returns (int) replacedLength (int)
    In versions KDE 3.3.0 and above only
    static
    - - - - - -
    ArgumentTypeDefault
    textTQString
    patternTQString
    replacementTQString
    indexint
    optionslong
    -

  • -
  • replace (text, pattern, replacement, index, options) -
    - - -
    returns (int) replacedLength (int)
    In versions KDE 3.3.0 and above only
    static
    - - - - - -
    ArgumentTypeDefault
    textTQString
    patternTQRegExp
    replacementTQString
    indexint
    optionslong
    -

  • -
  • replace (text, replacementIndex, replacedLength, matchedLength) -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only
    - - - - -
    ArgumentTypeDefault
    textTQString
    replacementIndexint
    replacedLengthint
    matchedLengthint
    -

  • -
  • replaceNextDialog (create = 0) -
    - -
    returns (KDialogBase)
    In versions KDE 3.3.0 and above only
    - -
    ArgumentTypeDefault
    createbool0
    -

  • -
  • resetCounts () -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only

  • -
  • shouldRestart (forceAsking = 0, showNumMatches = 1) -
    - -
    returns (bool)
    In versions KDE 3.3.0 and above only
    - - -
    ArgumentTypeDefault
    forceAskingbool0
    showNumMatchesbool1
    -

  • -
  • slotReplace () -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only

  • -
  • slotReplaceAll () -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only

  • -
  • slotSkip () -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only

  • -
- - - diff --git a/python/pykde/doc/classref/kutils/KReplaceDialog.html b/python/pykde/doc/classref/kutils/KReplaceDialog.html deleted file mode 100644 index 66abb85b..00000000 --- a/python/pykde/doc/classref/kutils/KReplaceDialog.html +++ /dev/null @@ -1,97 +0,0 @@ - - - - - class KReplaceDialog - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

class KReplaceDialog


-
- - - - - -
Table of contents
Modules
kutils Classes
All Classes
-
- - - - - - - - - - -
Modulekutils
ClassKReplaceDialog
InheritsKFindDialog
-

enums

    -
  • Options = {PromptOnReplace, BackReference -}
-

methods

    -
  • KReplaceDialog (parent = 0, name = 0, options = 0, findStrings = TQStringList (), replaceStrings = TQStringList (), hasSelection = 1) -
    - -
    returns a KReplaceDialog instance
    In versions KDE 3.3.0 and above only
    - - - - - - -
    ArgumentTypeDefault
    parentTQWidget0
    namechar0
    optionslong0
    findStringsTQStringListTQStringList ()
    replaceStringsTQStringListTQStringList ()
    hasSelectionbool1
    -

  • -
  • options () -
    - -
    returns (long)
    In versions KDE 3.3.0 and above only

  • -
  • replaceExtension () -
    - -
    returns (TQWidget)
    In versions KDE 3.3.0 and above only

  • -
  • replacement () -
    - -
    returns (TQString)
    In versions KDE 3.3.0 and above only

  • -
  • replacementHistory () -
    - -
    returns (TQStringList)
    In versions KDE 3.3.0 and above only

  • -
  • setOptions (options) -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only
    - -
    ArgumentTypeDefault
    optionslong
    -

  • -
  • setReplacementHistory (history) -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only
    - -
    ArgumentTypeDefault
    historyTQStringList
    -

  • -
  • showEvent (a0) -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only
    - -
    ArgumentTypeDefault
    a0TQShowEvent
    -

  • -
  • slotOk () -
    - -
    returns nothing
    In versions KDE 3.3.0 and above only

  • -
- - - diff --git a/python/pykde/doc/classref/kutils/index.html b/python/pykde/doc/classref/kutils/index.html deleted file mode 100644 index 020f293d..00000000 --- a/python/pykde/doc/classref/kutils/index.html +++ /dev/null @@ -1,47 +0,0 @@ - - - - - module kutils - - - - -

PyKDE - Python Bindings for KDE

-
- - - -
-

kutils Class Index


-
- - - - -
Table of contents
Modules
All Classes
-
- -
- - - - - - -
KCModuleInfo - KFind
KCModuleInfo
KCModuleLoader
KCModuleProxy
KCMultiDialog
KFind
- - - - - -
KFindDialog - KMultiTabBarTab
KFindDialog
KMultiTabBar
KMultiTabBarButton
KMultiTabBarTab
- - - - - -
KPluginInfo - KReplaceDialog
KPluginInfo
KPluginSelector
KReplace
KReplaceDialog
- - diff --git a/python/pykde/doc/dcopext.html b/python/pykde/doc/dcopext.html deleted file mode 100644 index 2045a2eb..00000000 --- a/python/pykde/doc/dcopext.html +++ /dev/null @@ -1,378 +0,0 @@ - -p - - Examples - - - -

-

- - - - - -
Python Bindings for KDE (PyKDE-3.16.0)
PrevNext

- -

DCOP and Extensions

-

-DCOP is KDE's acronym for it's "Desktop Communications-Oriented Protocol" - basically a -lightweight and simple mechanism for inter-process communications (IPC). DCOP allows two -running applications to exchange messages or other information or exercise control over -each other. -

-

-While the DCOP implementation is convenient for C++ programmers, it presents some difficulties -for Python programmers. The DCOP extensions that have been added to PyKDE should make most -DCOP applications (either DCOP-client or DCOP-enabled applications) simple to write and -reliable to run -

-

What Extensions?

-There are three basic extensions added to PyKDE that are not part of KDE itself: -
-
Packing/Unpacking QByteArrays
-
-DCOP passes data between applications using QByteArrays. QByteArrays can be difficult to -pack or unpack using PyQt or PyKDE, so PyKDE has additional methods (dcop_add and dcop_next) -to make these operations simpler in Python -
-
Client Extensions
-
-PyKDE's DCOP client extensions make it easy and natural to call DCOP methods in other -DCOP-enabled applications - the application or DCOP object being referenced look like -Python classes, and the method being called looks to the programmer like a Python method. -
-
DCOP Enabling (Export) Extensions
-
-Another set of extensions makes it trivial to expose an application's methods via DCOP to -other applications. All that is required is to subclass a pre-written Python class and -provide a list of the methods to expose, along with a method signature listing the name -of the method, it's return type, and the the types of its arguments. -
-
-

-The methods for packing/unpacking QByteArrays are available to the programmer, but are -primarily used transparently by the other PyKDE DCOP extensions. The client and export extensions -are two Python modules that are included and installed as part of PyKDE. -

- -

Calling DCOP Methods

-

-Accessing a DCOP method in another application requires 3 pieces of information: the name of -the application to be accessed, the name of the DCOP object which holds the method to be -called, and the name of the method itself. -

- -

Collection the Information

-

-The easiest way to collect the required information is to use the kdcop application that -comes with PyKDE. kdcop is graphical application that looks like the image shown. -

- -

Application/Object/Method Information

-

-Look at the entry for kicker, which has been expanded in the image. Underneath kicker (the -application name - kicker is the panel on the standard KDE screen) is a list of DCOP objects, -for example, Panel. Under each object is a list of methods the application/object exposes, for -example, "int panelPosition ()". This indicates the method panelPosition takes no arguments -and returns an integer. -

-

Writing the Code

-

-There are two ways to use the DCOP extensions to call the panelPosition method. The first is -from the application level, the second is from the object level. We can use the "application -level" in this case, because the object name "Panel" can be valid Python identifier (not all -object names have this property). -

- -
-import dcopext
-# ! other imports not shown !
-
-app  = KApplication ()
-dcop = app.dcopClient ()
-
-d = dcopext.DCOPApp ("kicker", dcop)
-ok, panelPos = d.Panel.panelPosition ()
-
-
-

-That's all there's to it in this case. We import dcopext, which contains the client extension -classes; from the KApplication instance, we "borrow" the DCOPClient instance (dcop); we create a -DCOPApp instance, passing it the name of the app ("kicker") and the DCOPClient instance; we -call kicker's Panel object's panelPosition method (d.Panel.panelPosition); lastly, the integer -value is returned to our application (panelPos) as the second item in a tuple - the first element -of the tuple (ok) is a boolean value indicating whether the call succeeded (True) or failed (False). -

-

-Many of the DCOP object names can't be used as Python identifiers (for example,"0x8239ae0" or -KIO::Scheduler in kicker, or EditInterface#1, which kwrite exports). In that case, it's -necessary to write the code at the object level, constructing a DCOPObj instead of a -DCOPApp (DCOPApp actually constructs a DCOPObj behind the scenese in the example above). -

- -
-import dcopext
-# ! other imports not shown !
-
-o = dcopext.DCOPObj ("kicker", dcop, "Panel")
-ok, panelPos = o.panelPosition ()
-
-
-

-In this example, 'o' is a DCOPObj. In constructing 'o', we add a string representation of -the name of the object ("Panel") to the application name and DCOPClient object. We then -use the DCOPObj 'o' to call the the method (panelPosition) that the object supports. -

-

More on Application Names

-

-In the example above, kicker was the name of the application and the id we used to reference -the application as well. kicker is an example of a unique application - only one instance of -kicker can be running at any time. -

-

-Many applications (konqueror, for example) can have several instances running at the same -time. kdcop would display multiple instances like this: -

- -

-kdcop shows 3 instances of konqueror running in the example above. To perform a DCOP call in -this case, we'd need to know which instance of konqueror we want to send the call to. The -suffix on each instance of konqueror is the PID of the instance running. We simply pass the -full id (app name + pid - eg konqueror-14409) when constructing DCOPApp or DCOPObj. -

-

-If you instantiate the application you want to communicate with from your own application (that -will be making the DCOP calls), methods like KApplication.startServiceByDesktopName will -let you start the app and also return both the PID of the started app and the complete -identifier string needed to initiate DCOP communications. The identifier's name portion may or -may not be the same as the name of the application (see the example_dcopexport.py example program, -whose ID is "petshop-####" (#### is the PID of the application instance). -

-

Data Types

-The DCOP extensions will support any of the following C++ data types: - - - - - - - - - - - - - - - - -
charshortint
longunsigned charunsigned short
unsigned intunsigned longuchar
ushsortuintulong
Q_INT32pid_tfloat
doubleTQStringTQStringList
TQCStringKURLKURL::List
TQSizeTQRectTQRegion
TQFontTQCursorTQPixmap
TQColorTQColorGroupTQPalette
TQBrushTQWidget::FocusPolicyDCOPRef
TQVariantTQDateTQTime
TQDateTimeTQImageTQKeySequence
TQPenTQPictureTQPointArray
TQValueList<DCOPRef>TQValueList<TQCString>TQMap<TQCString,DCOPRef>
TQMap<TQCString,DCOPRef>
-

-Data conversion between C++ and Python types is done transparently. The integer types -map to Python int or Python long, the decimal types to Python double. A Python string -can be used for any argument that requires a TQString or TQCString (return types will -always be the Qt object type). The TQValueList types take or return a Python list of the -indicated object. The TQMap types take or return a Python dict with the first type as -the key and the second type as data. All other types use the same object type in -Python and Qt (for instance, TQPoint or TQStringList). -

-

-It's possible to add support for more types in the future. To be added, a type requires -a pair of overloaded TQDataStream operators ("<<" and ">>"). Types must also -exist in the libs that PyQt and PyKDE support - types specific to applications (like -konqueror) cannot be supported at this time. -

-

Other Extension Features

-

-The dcopext module consists of 3 classes (DCOPApp, DCOPObj and DCOPMeth) corresponding to -applications, objects and methods respectively. These classes have additional variables and methods: -

    -
  • DCOPApp.objects - returns a list of the applications DCOP objects. example: d.objects
  • -
  • DCOPApp.object(objname) - returns a DCOPObj for the DCOPObject. example: d.object ("Panel")
  • -
  • DCOPObj.methods - returns a list of the methods and object has. example: o.methods
  • -
  • DCOPObj.method (methname) - returns an DCOPMeth instance corresponding to the method, which -can be called. example: o.method("panelPosition")
  • -
  • DCOPMeth.valid - returns whether the method is valid or not (True/False). example: -d.Panel.panelPosition.valid
  • -
  • DCOPMeth.rtype - a method's return type. example d.Panel.panelPosition.rtype
  • -
  • DCOPMeth.argtypes - a list of the method's argument types. example d.Panel.panelPosition.argtypes
  • -
  • DCOPMeth.argnames - a list of the method's argument names. example d.Panel.panelPosition.argnames
  • -
-

-If a method isn't valid, it's rtype, argtypes and argnames values will all be None. -

-

-

DCOP Enabling a Python Application

-

-Enabling a Python application to handle DCOP calls is even simpler than making calls as a -DCOP client. Suppose a Python application has two methods we want to appear as int getValue() -and void setValue(int). The corresponding Python methods are get_value() set_value(i). - We want to export these methods under the object "Value". Here's the code: -

- -
-from dcopexport import DCOPExObj
-# ! other imports not shown !
-
-class ValueObject (DCOPExObj):
-    def __init__ (self, id="Value"):
-        DCOPExObj.__init__ (self, id)
-        self.value = 0
-
-        self.addMethod ("int getValue()", self.get_value)
-        self.addMethod ("void setValue(int)", self.set_value)
-
-    def get_value(self):
-        return self.value
-
-    def set_value (self, i):
-        self.value = i
-
-
-

-Note that the module for the DCOPExObj class is "dcopexport". The Python methods may be -part of the DCOPExObj subclass, part of another class, or global Python functions. They -must be callable from the DCOPExObj subclass being created. The dcopexport extension takes -care of everything else, including the "functions()" method which applications (yours or -kdcop, for example) can call to find out which methods are available and their return -and argument types. You can have multiple instances of DCOPExObj in a program. All of -the data types listed above are supported transparently - you don't have to pack or -unpack QByteArrays. -

-

Packing and Unpacking QByteArrays

-

-NOTE: It isn't necessary to use the dcop_add and dcop_next functions or worry about -QByteArrays at all when using dcopext or dcopexport as shown above. Those modules -handle the packing and unpacking details automatically behind the scenes. -

-

-The dcop_add and dcop_next functions are available in the PyKDE kdecore module (they -may be relocated to a different module in the future). They use a TQDataStream to operate -on a TQByteArray. The TQByteArray can be thought of as a stack (a FIFO stack though) - -dcop_add pushes objects onto the stack, dcop_next pops objects off the stack. The first -object popped off will be the first object pushed on, etc. -

-

-The dcop_add function is actually a group of overloaded functions, some of which take -different argument counts. Here are some examples: -

- -
-from kdecore import dcop_add, dcop_next
-from qt import TQByteArray, TQDataStream, IO_ReadOnly, IO_WriteOnly, TQString,\
-    TQCString, TQValueList<TQCString>
-from dcopext import numericTypes, stringTypes    
-    
-b = TQByteArray ()
-s = TQDataStream (b, IO_WriteOnly)
-
-i = 6
-d = 3.14
-t = TQString ("Hello, World")
-x = TQCString ("One")
-y = TQCString ("Two")
-z = TQCString ("Three")
-l = [x, y, z]
-
-dcop_add (s, i, "long")
-dcop_add (s, d, "double")
-dcop_add (s, t)
-dcop_add (s, x)
-dcop_add (s, l, "TQValueList<TQCString>")
-
-
-

-Notice that for numeric types (integer or decimal) an additional string is needed to -specify the C++ type of the object - that's because Python has only 3 basic numeric -types, while C++ has at least 10 basic numeric types plus variations via typedefs. -

-

-Also, the TQValueList (and TQMap - not shown) type needs a qualifier - a Python list -type doesn't know (or care) what the type of its elements is. -

-

-Other types (TQString, TQCString) are uniquely typed, so no modifier is needed. -

-

-While it may change in the future, dcop_add right now retains the variable argument lists. -You can handle this in your own code easily if you import "numericTypes" and -"stringTypes" from dcopext as shown above. The following code will sort things out: -

- - -
-# atype is the type of the argument being processed (as a string)
-# value is the object being packed into the QByteArray
-
-if atype in numericTypes:
-	dcop_add (s, value, atype)
-elif atype in stringTypes and isinstance (value, str):
-	dcop_add (s, eval ("%s('%s')" % (atype, value)))
-elif atype.startswith ("TQMap") or atype.startswith ("TQValueList"):
-	dcop_add (params, value, atype)
-else:            
-	dcop_add (s, value)
-	
-
-

-At least in DCOP related applications, all of the necessary type information is always -easily available. The first if clause above processes numeric types; the second if -clause allows you to use Python strings in place of Qt's TQString or TQCString types; the -third if clause handles TQValueList and TQMap based types; the else clause handles -everything else. -

-

-Unpacking a TQByteArray is simpler - dcop_next always takes a TQDataStream instance and -a type name string. The code below assumes the same set of imports as above: -

- -
-
-# b is a TQByteArray to be unpacked
-s = TQDataStream (b, IO_ReadOnly)
-
-i1 = dcop_next (s, "long")
-d1 = dcop_next (s, "double")
-t1 = dcop_next (s, "TQString")
-x1 = dcop_next (s, "TQCString")
-l1 = dcop_next (s, "TQValueList<TQCString>")
-
-
-

-Of course the type specified in dcop_next to unpack the object must match the type of -the object originally packed, and must happen in the same order (you can't use this to cast or convert types). i1, d1, etc -should contain the same values as i, d, etc above. -

-

-The types that dcop_add/dcop_next can handle are the same types listed in the dcopext -section above. -

-

Thanks

-

-The code for dcopext and dcopexport is based on pydcop.py and pcop.cpp written by Torben Weis -and Julian Rockey. It's available in the dcoppython/ section of the kde-bindings source code, -and can be used to implement DCOP communication without using PyQt or PyKDE. -

- - - - - diff --git a/python/pykde/doc/examples.html b/python/pykde/doc/examples.html deleted file mode 100644 index 33d3b3cf..00000000 --- a/python/pykde/doc/examples.html +++ /dev/null @@ -1,125 +0,0 @@ - - - - Examples - - - - -
- - - - - -
Python Bindings for KDE (PyKDE-3.16.0)
PrevNext

-

Templates and Example programs

-

Templates

-

-PyKDE includes a number of examples or "templates" that you can use as frameworks for -building your own apps or experimenting with PyKDE. The templates are executable -programs which usually construct an application with a main window, and in some cases -with menus, toolbar and status bar, but have no other functionality. You can use these -to get a quick start on creating a program, for exploring PyKDE, or for testing various -ideas using PyKDE. -

-

-There are a number of template examples in the templates/ subdirectory. The same -files a duplicated in templates/annotated/ and templates/basic/. The files in -annotated/ have extensive comments, the files in basic/ have the comments stripped -to make the templates easier to use in constructing your own programs. -

-

-The current set of templates provide basic applications using different UI construction -strategies, an panel applet template, and a systray program template. -

- -

Examples

-

-Example programs are located in the examples/ directory (contributions are always welcome). -All examples are run as "python <example name>.py", eg "python uisampler.py". -

-

uisampler.py

-

-uisampler.py demonstrates a number of widgets and UI features of PyKDE. -

- -

-For widgets, the panel on the right displays sample widgets. The widgets or other items for -display are selected from the tree view on the left. A number of the examples are UI related -items like KAction, KXMLGUI releated things, etc.These use either menudemo.py or xmlmenudemo.py -to display examples of usage. -

-

menudemo.py

-

-menudemo.py is a simple menu based example "application" that does nothing, but displays -a UI (toolbar, status bar, menus) constructed using KAction and related classes. It runs -as part of uisampler.py or will run stand-alone. -

-

xmlmenudemo.py

-

-xmlmenudemo.py is a simple menu based example "application" that does nothing, but displays -a UI (toolbar, status bar, menus) constructed using an XML 'desktop' file. It runs -as part of uisampler.py or will run stand-alone. -

- -

kurldemo.py

-

-kurldemo.py displays the results of a number of KURL and KURL.List operations in a window. -It's probably more instructive to look at the code for this example then to actually run -it, but it is working code. -

- -

mimetype.py

-

-mimetype.py displays several tabs of KMimeType/KService/KTrader related data -

- -

-The output will vary with KDE version running or from machine to machine. -

- - -

pyKHTMLPart.py

-

-pyKHTMLPart.py demonstrates importing KHTMLPart as a KPart. -

- -

-The program is hard-coded to display the KDE website's main page, and requires -an active internet connection to do the display (it will be blank if no internet -connection is active). -

-

-The program is not designed as a complete browser example, and none of the links -are "clickable" (it wouldn't be hard to extend it to do this however - see the -KHTMLPart docs). -

- -

systray.py

-

-systray.py is a simple example of a system tray based application. -

- - - - - - diff --git a/python/pykde/doc/images/kdcop1.png b/python/pykde/doc/images/kdcop1.png deleted file mode 100644 index b0e6e5e5..00000000 Binary files a/python/pykde/doc/images/kdcop1.png and /dev/null differ diff --git a/python/pykde/doc/images/kdcop2.png b/python/pykde/doc/images/kdcop2.png deleted file mode 100644 index 2920f385..00000000 Binary files a/python/pykde/doc/images/kdcop2.png and /dev/null differ diff --git a/python/pykde/doc/images/khtmlpart.png b/python/pykde/doc/images/khtmlpart.png deleted file mode 100644 index a1bb08bc..00000000 Binary files a/python/pykde/doc/images/khtmlpart.png and /dev/null differ diff --git a/python/pykde/doc/images/mimetype.png b/python/pykde/doc/images/mimetype.png deleted file mode 100644 index b0b88d39..00000000 Binary files a/python/pykde/doc/images/mimetype.png and /dev/null differ diff --git a/python/pykde/doc/images/uisampler.png b/python/pykde/doc/images/uisampler.png deleted file mode 100644 index 5eec69c6..00000000 Binary files a/python/pykde/doc/images/uisampler.png and /dev/null differ diff --git a/python/pykde/doc/index.html b/python/pykde/doc/index.html deleted file mode 100644 index 113aaee4..00000000 --- a/python/pykde/doc/index.html +++ /dev/null @@ -1,139 +0,0 @@ -Python Bindings for KDE (PyKDE-3.15)

Python Bindings for KDE (PyKDE-3.16.0)

Jim Bublitz

-This document describes a set of Python bindings for the KDE core libraries.. -Contact the author at the PyKDE mailing list at - PyKDE@mats.imk.fraunhofer.de -or subscribe to the list or view the archives at the - PyKDE Mailing List -web site. -


Table of Contents

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Introduction
Installation
Troubleshooting
configure.py Options
Templates and Example Programs
DCOP and Extensions
General Limitations
Signal and Slot Support
Types and Related Topics
Class Reference Docs

  Next
  General Limitations
diff --git a/python/pykde/doc/index1.html b/python/pykde/doc/index1.html deleted file mode 100644 index f960ac58..00000000 --- a/python/pykde/doc/index1.html +++ /dev/null @@ -1,82 +0,0 @@ - - -Python Bindings for KDE (PyKDE-3.16.0) - - - -

Python Bindings for KDE (PyKDE-3.16.0)

-

Jim Bublitz

-

Introduction

-

-PyKDE is a set of Python bindings for the KDE toolkit. PyKDE makes nearly 700 KDE classes -and over 10,000 associated methods available to Python programmers. -

-

-The Python bindings for the Qt toolkit (PyQt) must also be installed. The sip library -must also be installed. This version of PyKDE will support sip 4.2.x. or later. Earlier -sip 4 versions may work, but are untested. -

-

-The current bindings support KDE versions 3.0.0 through 3.5.3, -and Python 2.2, 2.3 or 2.4. This fileset will work for any supported KDE version. -This version will not work with Qt1/KDE1 or Qt2/KDE2. -

-

-The bindings are implemented as a number of Python modules corresponding to -the names of the separate KDE libraries, i.e. -dcop, -kdecore, -kdefx, -kdeui, -kio, -kresources, -kabc, -kfile, -kparts, -khtml, -kspell, -kdeprint, -kmdi. -

-

Changes

-

-

-Troy Melhase's "pykde_sampler" example application has been added to the examples/ directory. If -you're interested in making a contribution to PyKDE, expanding pykde_sample to support additional -widgets and PyKDE features would be a good place to start. -

-

-This release also replaces the original dcopext.py module with an improved version authored by -Matthias Panzenbock. The original version is available in extensions/dcopext.py.old, but is not -installed. -

-

-konsolepart support has been restored, but only for KDE >= 3.5.0. configure.py now detects lib64 -automatically. Also included are Matthias Panzenbock's DCOP extensions patch and Michael Franz -Aigner's KConfigSkeleton patch, both of which have been in previous snapshots. - -

- - - diff --git a/python/pykde/doc/install.html b/python/pykde/doc/install.html deleted file mode 100644 index d75bbbe7..00000000 --- a/python/pykde/doc/install.html +++ /dev/null @@ -1,181 +0,0 @@ - - - - Installation - - - - -
- - - - - -
Python Bindings for KDE (PyKDE-3.16.0)
PrevNext

-

Installation

-These docs only cover installing PyKDE from source (ie building and compiling PyKDE). You -should read the "Testing" section at the end of this page even if installing from RPMs. RPM -installs also have the same System Requirements as noted in the next section. -

-Before reporting bugs, please read the Troubleshooting and -build.py Options pages. -

-

System Requirements

-

PyKDE only runs on Linux or other Unix-based systems. The usual tools (compiler, -linker, make, etc) are required. In addition you need: -

-
-
sip
-
-sip must be installed. sip is the bindings code generator and run-time lib for PyKDE. You can get it -here -
-
PyQt
-
-PyQt must be installed Just as KDE depends on Qt, PyKDE depends on PyQt. If you don't already have -PyQt installed, you can get it here
-
-

-NOTE: sip, PyQt, and PyKDE must be compatible versions (the PyKDE build script will test -for this). That means if you are installing PyKDE-3.16.0, you must have installed: -

-
    -
  • sip-x11-gpl-4.2.0 or later (earlier sip 4 versions may work, but are untested)
  • -
  • PyQt-x11-gpl-@PyQt Version@ or later
  • -
-

-Of course you must also have Python (version 2.2 or later), KDE (any KDE 3.0 - 3.5.3 version) -and Qt (any version from 3.0 through 3.3.x) installed. PyKDE no longer supports KDE1 or KDE2. -These files only work with KDE and Qt 3.x.x - they don't work with Qt4 or the upcoming KDE 4. -

-

If PyQt was installed from an RPM ---

-

-If you have installed sip and PyQt from binaries, to build PyKDE you must have -the sipconfig.py and pyqtconfig.py files (suitable for your environment) installed. These -are in the same location as the PyQt files (usually python/site-packages). These config -files are generated automatically if you build/compile sip and PyQt from source. -

-

-PyKDE also requires the PyQt sip files to build and compile. If you installed PyQt from an -RPM, you also need to have installed the corresponding "PyQt-devel" RPM, which contains the -PyQt sip files. -

-

Installing from source code

-

-Unpack the PyKDE tarball to a directory you have write access to. /usr/local is a good choice -if you have write access or can obtain it. Some place in your home directory is also a good -choice. I'll assume /usr/local for these instructions. -

-

-Change to the PyKDE directory (eg "cd /usr/local/PyKDE-3.16.0" or whatever the complete -version of the downloaded PyKDE package was). -

-

-At a command line prompt (as a user, not as root), enter: -

- - - - -
-
-    python configure.py
-
-
-

-configure.py will check your system to locate Python and releated files, Qt, KDE, sip and PyQt. It -will also run several tests, and then begin generating the C++ code and make files for PyKDE. The entire -process should take about 2 to 10 minutes depending on your computer's speed and available memory. -configure.py will report its progress throughout its run. If errors occur, see the sections on -troubleshooting below. -

-

-After configure.py has run to completion successfully, you next need to compile PyKDE. Simply -type: -

- - - - -
-
-    make
-
-
-

-PyKDE takes anywhere from 15 minutes to over an hour to compile, depending on the speed of your -computer, available memory, and other tasks running. Once PyKDE has compiled, do: -

- - - - -
-
-    su -c"make install"
-
-
-

-Your system will ask for your root password, and if entered correctly will proceed to install -PyKDE. -

-

File concatention

-

-If your computer has 256MB or more of memory, you will probably benefit from "file concatenation". -When generating C++ files, sip can generate either a single file for each class in a module, or a -single huge file that contains all classes in the module. The latter is the "concatenated" version. -

-

-As long as swapping doesn't occur and memory isn't exhausted, the concatenated files will compile -up to 80% faster than individual files. However, some hardware and some gcc versions are not -compatible with the large concatenated files. You can control whether sip concatenates files -by passing either the -i switch (concatenation off) or -c switch (concatenation on) to configure.py. -

-

-configure.py is currently programmed to detect the gcc version being used, and will turn on -concatenation for gcc earlier than 4.0 and turn off concatentation for gcc 4.0 or later. You -can override this automatic choice with -i or -c as needed. -

-

Testing the installation

-

-There are a number of things you can do to test your installation. The simplest test that also -covers the most common errors is (still in the top level PyKDE directory): -

- - - - -
-
-    python importTest.py
-
-
-

-If you get errors running this test, see the troubleshooting section below. -

-

-There are also sample programs you can run (which also test some of PyKDE's features) in the -examples/ and templates/ subdirectories. -

- - - - diff --git a/python/pykde/doc/kde.css b/python/pykde/doc/kde.css deleted file mode 100644 index 6206aac7..00000000 --- a/python/pykde/doc/kde.css +++ /dev/null @@ -1,8 +0,0 @@ -SPAN.ARTICLE, SPAN.EMPHASIS, SPAN.PROGRAMLISTING, SPAN.SECT1, SPAN.SECT2, SPAN.LITERAL, SPAN.EMAIL, SPAN.PARA, SPAN.ABSTRACT, SPAN.SURNAME, SPAN.FIRSTNAME, SPAN.TITLE { - font-family: Times New Roman,serif; - font-weight: 500; - font-style: normal; - font-size: 10pt; - color: #000000; -} -DIV { margin-top: 0pt; margin-bottom: 0pt; margin-left: 0pt; margin-right: 0pt } diff --git a/python/pykde/doc/libpythonize.html b/python/pykde/doc/libpythonize.html deleted file mode 100644 index 58a3d124..00000000 --- a/python/pykde/doc/libpythonize.html +++ /dev/null @@ -1,224 +0,0 @@ - - - -Pythonize class and libpythonize - - - -
-

Pythonize Class and libpythonize

-

-libPythonize and the Pythonize class simplify embedding, loading and communicating with the Python -interpreter. Pythonize is a class with methods for handling the interpreter and is included in libpythonize. -Also in libpythonize is a C wrapper for the C++ Pythonize class. There is also a standalone C library -libpythonizec, written completely in C. All 3 versions (C++, C and C wrapper) use the same methods/functions -and the same args - the only major difference is in initialization and finalization. -

-

-The method descriptions here apply to both C and C++ versions unless noted. -

-

-Although libpythonize is used with (and installed with) PyKDE, it has no dependencies itself on -PyKDE/KDE, PyQt/Qt or sip. It does require qmake from TrollTech (part of Qt) to build. -

- -

Initialization and Finalization

-In C++, the interpreter is loaded and initialized using the Pythonize () constructor, which takes -no arguments. In C, the initialize() function call accomplishes the same thing. - -The interpreter is finalized in C++ using the destructor ~Pythonize (). In C, the finalize() function -accomplishes the same thing. - -

Threading and Locking

-

-Pythonize obtains the Python global interpreter lock when it initializes Python. It is currently the -programmer's responsibility to release the lock when C++ accesses to the interpreter are complete. If -the lock is not released, access will be denied to Python code relying on the interpreter (for example -bindings like PyQt or PyKDE). -

-

-If a second instance of Pythonize is created (within the same parent process), that instance will acquire -the lock automatically. In order to allow a second (and third or more) instance of Pythonize to be -created and obtain the lock, it's necessary to have a related thread state (PyThreadState). This thread -state is created by a call to PyThreadState_Get when the first instance of Pythonize is created. The -thread state is stored in a global variable (declared in the cpp file) that is used by all subsequent -instances of Pythonize. This means that applications using libpythonize are mormally single-threaded, -at least in relation to the libpythonize interpreter instance. This is important for utilization with -sip-based bindings like PyKDE and PyQt. -

-

-The global thread state is accessible via the getThreadState/setThreadState methods. -

-

Methods/Functions

-

-Methods are either called directly in C or as class members in C++. In C, int variables/values are -used instead of bool. -

- - - - -
-
 
-C++:
-	Pythonize *pyize = Pythonize ();
-	...
-	bool result = pyize->appendToSysPath ("/usr/local/foo");
-
-C:
-	initialize ();
-	...
-	int result = appendToSysPath ("/usr/local/foo");
-
-
-
-

Pythonize () [C++] or initialize () [C]

-

-Constructor/initializer - loads and initializaes the interpreter and acquires the global interpreter lock. -Sets the value of pythonInit to true on success or false if construction/initialization fails -Initializes the global thread state (first instance) or restores the global thread state (second and later -instances). It is the programmer's resposibility to release the global interpreter lock to enable other -code to access the interpreter. The lock and thread state are automatically acquired when any Pythonize -instance is created.. -

-
-

bool getPythonInit ()

-

-Returns the result of initializing/constructing the interpreter object. If the -return value is true, the interpreter should be usable. -If it returns false, an error occurred and the interpreter -will not be useful. Most methods/functions check the value of pythonInit -and won't run if it's false -

-
-

~Pythonize () [C++] or finalize () [C]

-

-Destructor/finalizer - shuts down the interpreter and destroys the class Sets pythonInit to false. -

-
-

bool appendToSysPath (const char* newPath);

-

-Appends newPath to sys.path -

-
-

PyObject *importModule (char *moduleName);

-

-Imports a module into the interpreter. Same as "import " in Python. moduleName -must exist somewhere on sys.path. Returns a reference to the module imported. Returns NULL on failure. -

-
-

PyObject *getNewObjectRef (PyObject *module, char *object)

-

-Returns a reference to an object in an already loaded module (use importModule to load -the module or get a reference to it) Returns NULL on failure. -

-
-

PyObject *getSysModule ()

-

-Returns a reference to the Python sys module. Returns NULL on failure. -

-
-

PyObject *getMainModule ()

-

-Returns a reference to the Python main module. Returns NULL on failure. -

-
-

[internal] void *setMainModule ()

-

-Sets internal value of main module -

-
-

void decref (PyObject *object)

-

-Uses Py_XDECREF to decrement the reference count of an object -

-
-

bool runScript (char *scriptPath);

-

-Runs an arbitrary script in the interpreter and returns Python's result. -

-
-

bool runString (char *str);

-

-Runs an arbitrary string in the interpreter (indentation required for mulit-line -strings) and returns Python's result. -

-
-

PyObject *runFunction (PyObject *object, PyObject *args);

-

-If object is callable, runs object with args and -returns the results of the function call as a PyObject. Returns NULL on failure. -

-
-

void releaseLock ()

-

-Releases the global interpreter lock using PyEval_SaveThread. Saves the global thread state. -

-
-

void acquireLock ()

-

-Acquires the global interpreter lock using PyEval_RestoreThread. Restores the global thread state. -

-
-

PyThreadState *getThreadState ()

-

-Retrieves the current value of the global thread state. Does not affect the global interpreter lock. -

-
-

PyThreadState *setThreadState (PyThreadState *tstate)

-

-Sets the global thread state to tstate and returns the previous global thread state. Does -not affect the global interpreter lock. -

-
-

Using libpythonize in an application

-

-Include the pythonize.h header file (requires Python.h) and link to libpythonize.so - that's pretty much it. There are unit tests -in both C and C++ in the pythonize/tests/ subdirectory. An example of libpythonize usage is in pykpanelapplet.cpp in the -PyKDE distribution (pykpanelapplet/ directory). -

-

Obtaining and building libpythonize

-

-At present only the C++/C wrapper versions are available, and they're distributed with PyKDE. -

-

-The build process for libpythonize uses TrollTech's qmake (available as part of Qt), but is simple enough -to be included in most make files. See the pythonize.pro file for more information - most of the additional -libs required are required by libpython, and may vary by platform. -

-

-You can contact me at this address: Jim Bublitz <jbublitz@nwinternet.com> -

- - - - - - - - - - - -
-Prev - -Home -
Applet Installer 
-
- - - diff --git a/python/pykde/doc/limits.html b/python/pykde/doc/limits.html deleted file mode 100644 index d94cabcb..00000000 --- a/python/pykde/doc/limits.html +++ /dev/null @@ -1,427 +0,0 @@ -General Limitations
Python Bindings for KDE (PyKDE-3.3.16.0)
PrevNext

General Limitations

Python Strings, Qt Strings and Unicode

Unicode support was added to Qt in v2.0 and to Python in v1.6. In Qt, Unicode -support is implemented using the TQString class. It is -important to understand that TQStrings, Python string objects -and Python Unicode objects are all different but conversions between them are -automatic in many cases and easy to achieve manually when needed.

Whenever PyKDE expects a TQString as a function argument, a -Python string object or a Python Unicode object can be provided instead, and -PyKDE will do the necessary conversion automatically.

You may also manually convert Python string and Unicode objects to -TQStrings by using the TQString constructor -as demonstrated in the following code fragment.

qs1 = TQString('Converted Python string object')
-qs2 = TQString(u'Converted Python Unicode object')

In order to convert a TQString to a Python string object use -the Python str() function. Applying -str() to a null TQString and an empty -TQString both result in an empty Python string object.

In order to convert a TQString to a Python Unicode object use -the Python unicode() function. Applying -unicode() to a null TQString and an empty -TQString both result in an empty Python Unicode object.

Access to Protected Member Functions

When an instance of a C++ class is not created from Python it is not possible -to access the protected member functions, or emit the signals, of that -instance. Attempts to do so will raise a Python exception. Also, any Python -methods corresponding to the instance's virtual member functions will never be -called.

Garbage Collection

C++ does not garbage collect unreferenced class instances, whereas Python does. -In the following C++ fragment both colours exist even though the first can no -longer be referenced from within the program:

c = TQColor();
-c = TQColor();

In the corresponding Python fragment, the first colour is destroyed when -the second is assigned to c:

c = TQColor()
-c = TQColor()

In Python, each colour must be assigned to different names. Typically this -is done within class definitions, so the code fragment would be something like:

self.c1 = TQColor()
-self.c2 = TQColor()

Sometimes a Qt class instance will maintain a pointer to another instance and -will eventually call the destructor of that second instance. The most common -example is that a TQObject (and any of its sub-classes) keeps -pointers to its children and will automatically call their destructors. In -these cases, the corresponding Python object will also keep a reference to the -corresponding child objects.

So, in the following Python fragment, the first TQLabel is -not destroyed when the second is assigned to l because the -parent TQWidget still has a reference to it.

p = TQWidget()
-l = TQLabel('First label',p)
-l = TQLabel('Second label',p)

C++ Variables

Access to C++ variables is supported. They are accessed as Python instance -variables. For example:

tab = TQTab()
-tab.label = "First Tab"
-tab.r = TQRect(10,10,75,30)

Global variables and static class variables are effectively read-only. They -can be assigned to, but the underlying C++ variable will not be changed. This -may change in the future.

Access to protected C++ class variables is not supported. This may change in -the future.

Multiple Inheritance

It is not possible to define a new Python class that sub-classes from more than -one Qt class.

- -

tr() methods

-

-In a normal Qt installation, every descendant of TQObject inherits two methods -(tr (const char *) and tr (const char *, const char *) from TQObject explicitly -and also overloads these methods via the moc mechanism (by defining Q_OBJECT -in the class declaration). KDE however is compiled with -DQT_NO_TRANSLATION, -which prevents moc from creating the overloading tr() methods, and also produces -side-effects with a normal Qt installation which was compiled without the --DQT_NO_TRANSLATION switch. -

-

-PyKDE handles this situation by NOT providing tr() methods (either the inherited -methods from TQObject or the moc generated methods) for any KDE based QObject -descendant. The tr() methods are static, so TQObject::tr () methods are available -via PyQt, as are tr() methods for any PyQt TQObject descendant. PyKDE's handling -of these methods has no effect on PyQt. -

-

Instead of the tr() methods, KDE uses corresponding i18n() methods for translating. -These methods are available in the kdecore module of PyKDE. For compatibility with -KDE, you should use the i18n methods. -

-

Socket classes

-

-The following classes (introduced in KDE2.2.0) are NOT yet implemented: -

- - - - -
-
-KAddressInfo
-KExtendedSocket
-KInetSocketAddress
-KSocketAddress
-KUnixSocketAddress
-KSocks
-
-
-

-Most of their functionality already exists in the Python socket class or in the -KSocket class (kdecore module). These classes may be implemented at a future date -(they require support for C socket structures and careful handling to avoid buffer -overflow problems/exploits) -

- -

PrevHomeNext
DCOP and Extensions Signal and Slot Support
diff --git a/python/pykde/doc/signal.html b/python/pykde/doc/signal.html deleted file mode 100644 index b95ed7f6..00000000 --- a/python/pykde/doc/signal.html +++ /dev/null @@ -1,290 +0,0 @@ -Signal and Slot Support
Python Bindings for KDE (PyKDE-3.16.0)
PrevNext

Signal and Slot Support

General Signals and Slots

A signal may be either a Qt signal (specified using -TQT_SIGNAL()) or a Python signal (specified using -PYQT_SIGNAL()).

A slot can be either a Python callable object, a Qt signal (specified using -TQT_SIGNAL()), a Python signal (specified using -PYQT_SIGNAL()), or a Qt slot (specified using -TQT_SLOT()).

You connect signals to slots (and other signals) as you would from C++. For -example:

TQObject.connect(a,TQT_SIGNAL("QtSig()"),pyFunction)
-TQObject.connect(a,TQT_SIGNAL("QtSig()"),pyClass.pyMethod)
-TQObject.connect(a,TQT_SIGNAL("QtSig()"),PYQT_SIGNAL("PySig"))
-TQObject.connect(a,TQT_SIGNAL("QtSig()"),TQT_SLOT("QtSlot()"))
-TQObject.connect(a,PYQT_SIGNAL("PySig"),pyFunction)
-TQObject.connect(a,PYQT_SIGNAL("PySig"),pyClass.pyMethod)
-TQObject.connect(a,PYQT_SIGNAL("PySig"),TQT_SIGNAL("QtSig()"))
-TQObject.connect(a,PYQT_SIGNAL("PySig"),TQT_SLOT("QtSlot()"))

When a slot is a Python method that corresponds to a Qt slot then a signal can -be connected to either the Python method or the Qt slot. The following -connections achieve the same effect.

sbar = TQScrollBar()
-lcd = TQLCDNumber()
-
-TQObject.connect(sbar,TQT_SIGNAL("valueChanged(int)"),lcd.display)
-TQObject.connect(sbar,TQT_SIGNAL("valueChanged(int)"),lcd,TQT_SLOT("display(int)"))

The difference is that the second connection is made at the C++ level and is -more efficient.

Disconnecting signals works in exactly the same way.

Any instance of a class that is derived from the TQObject -class can emit a signal using the emit method. This takes -two arguments. The first is the Python or Qt signal, the second is a Python -tuple which are the arguments to the signal. For example:

a.emit(TQT_SIGNAL("clicked()"),())
-a.emit(PYQT_SIGNAL("pySig"),("Hello","World"))

Qt allows a signal to be connected to a slot that requires fewer arguments than -the signal passes. The extra arguments are quietly discarded. Python slots -can be used in the same way.

Slots in Menus, Toolbars and Actions

The C++ declarations for menu items or KActions are similar to these examples:

int TQMenuData::insertItem (const TQString & text,
-     const TQObject * receiver, const char * member,
-     int accel = 0, int id = -1, int index = -1 )
-
-KAction ( const TQString& text, int accel,
-     const TQObject* receiver, const char* slot,
-     TQObject* parent, const char* name = 0 )

Notice the "const TQObject* receiver, const char* slot" parameters for each declaration.

In PyKDE, these two parameters are replaced with a SINGLE parameter that specifies the -slot to be connected to the menu item, toolbar button or KAction:

p = insertItem ("Open", self.slotOpen, 0, -1, -1)
-
-action = KAction ("Open", 0, self.slotOpen, None, 0)

This substitution applies to appropriate methods in KStdAction, KAction and related -subclasses, KAccelMenu and KToolBar


PrevHomeNext
General Limitations Static Member Functions
\ No newline at end of file diff --git a/python/pykde/doc/static.html b/python/pykde/doc/static.html deleted file mode 100644 index 0ee4ef76..00000000 --- a/python/pykde/doc/static.html +++ /dev/null @@ -1,183 +0,0 @@ - - -Types and Related Topics - - - -

Types and Related Topics

-

Static Member Functions

-

-Static member functions are implemented as Python class functions. -For example the C++ static member function -TQObject::connect() -is called from Python as -TQObject.connect() or -self.connect() -if called from a sub-class of -TQObject. -

-

None and NULL

-

Throughout the bindings, the -None -value can be specified wherever -NULL -is acceptable to the underlying C++ code.

-

Equally, -NULL -is converted to -None -whenever it is returned by the underlying C++ code -

- -

Enumerated Types

-

-Enumerated types are implemented as a set of simple variables corresponding to -the separate enumerated values. -

-

-When using an enumerated value the name of the class (or a sub-class) in which -the enumerated type was defined in must be included. For example: -

- - - - -
-
-Qt.SolidPattern
-TQWidget.TabFocus
-TQFrame.TabFocus
-
-
- -

Namespaces

-

-The C++ code in KDE makes extensive use of namespaces (especially in the kio, kjs, -khtml, kfile, and kparts modules). In PyKDE, namespaces are treated as a "superclass". -For example, "from kparts import KParts" will import the KParts namespace and all -its members. To reference a class in the namespace, use <namespace name>..<classname>, -for example, KParts.ReadOnlyPart. It isn't necessary to import the <classname> (ReadOnlyPart -in the example). -

-

Return and Argument Types

-

-Some return types or argument types may be different than those in the C++ KDE libs. This is -done for convenience (eg returning/taking Python lists or dicts), because arguments are -scalar (non-object) types passed by reference (eg int*, bool&), or because there is no -way to express the C++ type in Python (eg template types) -

-

-Please check the Class Reference Docs which list all classes -and methods in Python format. -

-

Version Information

New in PyKDE-3.11

-

-PyKDE provides methods for determining both the KDE version being run and the PyKDE -version being run. The version methods are: -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
return typeKDEExamplePyKDEExample
intKDE.versionMajor ()3PyKDE.versionMajor ()3
intKDE.versionMinor ()1PyKDE.versionMinor ()8
intKDE.versionRelease ()4PyKDE.versionRelease ()0
stringKDE.versionString ()"3.1.4"PyKDE.versionString ()"3.11.0"
- -

Abstract Classes and Pure Virtual Methods

-

-C++ allows the use of abstract classes. Abstract classes cannot be used in programs -(instantiated) directly; their only purpose is to serve as a base class from which -programmers can derive other classes that can be used. -

-

-An abstract class in C++ is defined as a class that has one or more 'pure virtual' -methods. These can be identified in the C++ header files or C++ docs as methods set -equal to 0, for example: -

- - - - -
-
-virtual int somePureVirtualMethod (int a) = 0;
-
-
-

-To derive a useful class from the abstract class, the programmer has to write methods -to overload each of the pure virtual methods. Following a suggestion on the mailing -list, the docs attempt to flag all abstract classes and identify the pure virtual -methods which must be overloaded in the derived class. Derived classes can be created -in Python by writing Python methods to overload the pure virtual methods - no C++ code -is required. -

- - - - - diff --git a/python/pykde/doc/switches.html b/python/pykde/doc/switches.html deleted file mode 100644 index c589c7d9..00000000 --- a/python/pykde/doc/switches.html +++ /dev/null @@ -1,253 +0,0 @@ - - - - Switches - - - - -
- - - - - -
Python Bindings for KDE (PyKDE-3.16.0)
PrevNext

-

configure.py Options

-

-PyKDE builds and installs in a lot of different environments and it isn't always possible to -foresee where users or distributions will locate components that PyKDE depends on. There are -a number of command line switches used to force configure.py to look in the correct locations for -directories or files. -

- - - - -
-
-python configure.py -h
-
-Usage:
-    python configure.py [-h] [-c] [-d dir] [-g] [-j #] [-k] [-n dir] [-o dir] [-r] [-u] [-v dir] [-z file]
-where:
-    -h      displays this help message
-    -c      concatenates each module's C/C++ source files [default]
-    -d dir  where the PyKDE modules will be installed [default /usr/lib/python2.3/site-packages]
-    -g      always release the GIL (SIP v3.x behaviour)
-    -i      no concatenation of each module's C/C++ source files
-    -j #    splits the concatenated C++ source files into # pieces [default 1]
-    -k dir  the KDE base directory
-    -n dir  the directory containing the KDE lib files
-    -o dir  the directory containing the KDE header files
-    -r      generates code with tracing enabled [default disabled]
-    -u      build with debugging symbols
-    -v dir  where the PyKDE .sip files will be installed [default /usr/share/sip]
-    -w      turn on KDE deprecated object warnings when compiling [default off]
-    -z file the name of a file containing command line flags
-
-If reporting errors, paste all of the output above into your
-message and post to the PyKDE mailing list at:
-
-     mailto:    PyKDE@mats.imk.fraunhofer.de
-     subscribe: http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
-
-You can redirect the output into a file (> output.txt) if needed
-
-
-
-

-NOTE: In the descriptions below "Default" is a "typical" value for common distributions and -may not be the complete path needed. You should always specify the complete path. -configure.py searches a number of locations in looking for the appropriate directories, -which may depend on the distribution used, where the version of Python used to run -configure.py is located, and other factors. For example, a default value of "python/site-packages" -could be "/usr/lib/python/site-packages", "/usr/local/python2.3/site-packages" or other values -depending on how and where Python is installed or which of several installed versions of Python -is used to run configure.py. configure.py will not try to complete the path for switch specified paths - -you must specifiy the complete path (eg /usr/lib/python/site-packages or ../kdecore) -

-

-For "normal" installations, configure.py will automatically discover all of the information covered by -the options below -- it is only necessary to use the options switches when configure.py can't discover -a location by itself. -

-
-
-
-c Concatenation
-
-Building PyKDE involves loading a large number of cpp and h files. The compile process can be speeded up -considerably (by as much as 80%) by concatenating all of the cpp files into a one (or several - see -j) large -cpp file. The price for this speed up is a large increase in memory usage. By default, the feature is -'on' in configure.py. To turn this feature off, use '-i'. You may wish to turn this off if the system doing -the compile has 128MB or less RAM. -
-
-
-d Installation directory
-
- - - - - -
Value: directory path configure.py Default: python/site-packages/
-Normally, the PyKDE modules are installed in python/site-packages. Writing to this directory requires -root access. RPM builders sometimes need to build the modules to a different directory, or you may want -to install the modules in a different location (for example, in a subdirectory of site-packages/). For this -option to be useful, you need to ensure that Python can still locate and import the PyKDE modules from -the specified destination. -
-
-
-g Always release GIL (sip 3.0 behaviour)
-
-This is a code generation option that only affects sip 4.0. It causes sip to generate C++ -whose threading behavior is more like sip 3.0. -
-
-
-i NO Concatenation
-
-This option causes configure.py to generate C++ code and makefiles that compile many small file -one at a time (rather than one huge file for each module). This increase compile time by about -80%, but reduces memory consumption. See -c above. -
-
-
-j # of splits of concatenated files
-
- - - - - -
Value: number of splits configure.py Default: 1
-Intended for use on multi-CPU systems. Splits the concatenated cpp file into the specified number -of segments, each of which can be compiled concurrently in separate threads. On single processor -systems, each "split" will compile in sequence. The kdeui module is (with concatenation active) -is split into two pieces by default to reduce memory consumption. Values for 'j' greater than -2 will be honored correctly. -
-
-
-k KDE base directory
-
- - - - - -
Value: directory path configure.py Default: kde3/
-The top level directory under which kde3/libs and kde3/include are located (these paths can also -be specified independently see -n and -o) On SuSE distributions, this is typically /opt/kde3. On -Red Hat and Mandrake, this is typically /usr. configure.py will find the typical locations automatically. -configure .py will use the KDEDIR environment variable value if it is defined and the -k switch is NOT used. -
-
-
-n KDE library files
-
- - - - - -
Value: directory path configure.py Default: kde3/libs
-The path to KDE's library files (libkdecore.so, etc). -
-
-
-o KDE h files
-
- - - - - -
Value: directory path configure.py Default: kde3/include
-The path to KDE's h files. (May require installation of kdelibs3-devel rpm package) -configure.py. PyKDE will locate h files in subdirectories of this path automatically (eg kde3/include/kio/*.h) -
-
-
-r generate code with tracing enabled
-
-For debugging -
-
-
-u debugging symbols
-
-For debugging -
-
-
-v PyKDE sip files
-
- - - - - -
Value: directory path configure.py Default: /usr/share/sip/
-The path where the PyKDE sip files will be copied (for use by programs that use sip binding -dependent on PyKDE) -
-
-
-w KDE deprecation warnings
-
-KDE marks a number of methods as 'deprecated'. The methods marked will generate warnings -at compile time. By default, PyKDE's configure.py turns these warnings off. -w will turn -them on. -
-
-
-z Path to configure.py options file
-
- - - - - -
Value: filename or path configure.py Default: none
-If your site requires the use of more than one or two option switches, you can place all of the options -in a text file and then reference only the text file's path and name on the command line. The options -are placed in the text file just as they would be on the command line, with one option per line. -For example, the options file for the command "python configure.py -c- -v /usr/local/PyQt/sip" would look -like: -

options.txt

- - - - -
-
--c
--v /usr/local/PyQt/sip
-
-
-

-and would be run as "python configure.py -z options.txt" (assuming options.txt is in the current directory). -
-
-
-l (lower case L) code gen control -- not displayed with -h
-
-If for some reason you need to rebuild a PyKDE module but not all of PyKDE, you can use -l. --l <modulename> (eg -l kdecore) will rebuild only the module specified; -l <modulename>: -(eg -l kdecore:) will rebuild the module specified and all successive modules. If changes are -made that affect linking (especially deleting methods or other symbols), you must use the -":" form, since later modules depend on earlier modules. -
-
- - - - - diff --git a/python/pykde/doc/trouble.html b/python/pykde/doc/trouble.html deleted file mode 100644 index e93592f7..00000000 --- a/python/pykde/doc/trouble.html +++ /dev/null @@ -1,337 +0,0 @@ - - - - Troubleshooting - - - - -
- - - - - -
Python Bindings for KDE (PyKDE-3.16.0)
PrevNext

-

Troubleshooting

-

Introduction

-

-(There are distribution-specific notes at the end of this page) -

-

-Before each release, PyKDE is test built against SuSE, Red Hat and Mandrake Linux distributions, -and various versions of Python, Qt and KDE. Even after performing test builds, errors still can -occur with your installation. The most common sources of errors are (roughly in order of occurance): -

-
    -
  • Differences in user environments
  • -
  • Differences between distributions (or even between different builds of same version of the same distribution
  • -
  • Bugs - in PyKDE or any of the software it's based on (KDE, Qt, PyQt, sip, or even Python)
  • -
-

Reporting errors -- PLEASE READ!

-

-The people on the PyKDE mailing list are knowledgeable about Python, PyQt,and PyKDE and are -genuinely helpful. You shouldn't hesitate to post a question or problem there (you may hear -"RTFM" occasionally, but not often). Chances are that someone using your distribution is already -posting to the list. -

-

-The most important thing you can do when reporting an installation error is to include the -configure.py output with your question, including the error message at the point of failure. -All configure.py messages write to stdout, so if you can't cut and paste the output, you can do: -

- - - - -
-
-    python configure.py > output.txt
-
-
-

-to capture the output and attach the file to your post. In many cases, if you don't include -this info, the first response to your question will be to ask for the configure.py output. Including -it with your original post will save several hours or days in the process of obtaining an answer. -

-

-Bug reports are a vital part of any software development process. We generally try to provide -an immediate fix or work-around for problems reported, and then incorporate the fix into -future releases. Bug reports are always welcome (and always embarrassing). -

-

-If you are reporting PyKDE run-time errors (not install errors), there's no need to include -the configure.py output, but at a minimum you should indicate what PyKDE version the error -occurred with and provide a small code sample that reproduces the error. -

-

If you perform repairs ...

-

-If you edit any of the sip files to repair bugs or modify PyKDE, you must re-run -configure.py. configure.py includes code that generates the actual C++ code that compiles to PyKDE. -If you don't re-run configure.py, changes to the sip files will have no effect. -

-

configure.py and make errors

-
-
"Can't find a file or directory"
-
-configure.py first checks to make sure that it can locate and access all of the components PyKDE -depends on. If the directories or files aren't where configure.py thinks they should be, an error -will result and configure.py will exit. Usually these kinds of problems can be solved by adding -command line switches when running configure.py - see the next page for -the available command line options -
-
"Can't write ..." or "Can't create ..."
-
-build.py creates a number of directories and generates Makefiles and a lot of C++ code -(customized for your system). If the user running build.py doesn't have write access to -the directories where PyKDE sources were installed, the build will fail. You need to either -obtain write access, relocate PyKDE someplace where you have write access or (worst choice) -build PyKDE as root. -
-
"Can't remove or create directory"
-
-This happens rarely, but is a quirk of the PyKDE build process. PyKDE will build and make -as an unprivileged user BUT if you did a build of PyKDE previously as root and then attempt -to build PyKDE again as a user, the build will fail. The reason is that configure.py creates a -number of directories and a lot of files. The next time configure.py runs, it will try to delete -these directories and files before re-creating them. If the original directories and files -were owned by root, a user will be unable to delete them and configure.py will fail if run as -a user in that case. -
-
"Can't find PyQt sip files"
-
-You did install them, right? If you build PyQt from sources, the sip files will be there -somewhere (by default, PyQt installs the PyQt sip files in /usr/share/PyQt if built from -source). When you find them, you can tell configure.py where they are with a switch (see -next page). If you installed PyQt from RPMs (either downloaded or -from your distribution), the sip files are usually in a "devel" RPM for PyQt, which also needs -to be installed if you want to build PyKDE from sources. -
-
Code generation errors
-
-The PyKDE sources are mostly "sip" files which describe the interface to KDE's C++ libraries -to the sip code generator. These files should be error free. If a sip or code generation error occurs, -please report it to the PyKDE mailing list at -PyKDE@mats.imk.fraunhofer.de Subscribe to the list -here -
-
Compile errors
-
-PyKDE should not experience any compile errors. Currently sip 4.0 based compiles will -generate a number of warnings - these can be safely ignored. If errors occur, please report them -to the PyKDE mailing list at PyKDE@mats.imk.fraunhofer.de . -Subscribe to the list here -
-
-

Compile-time errors

-

-PyKDE takes a long time to compile on some hardware, however no single module should take more than 25-30 -minutes on any but the slowest hardware. Some gcc versions (for example gcc 4.0.1 on SuSE 10) will hang -if PyKDE C++ files have been generated in "concatenated" mode (see Installation and Switches pages for -more info). If you are using concatenated mode (each module consists of a single large file, instead of -many small files) and PyKDE's compilation hangs, re-run configure.py with the -i switch, then re-run make. -

-

-PyKDE attempts to identify gcc versions that have problems and select the correct mode automatically. -

-

Run-time errors

-
-
importTest.py errors
-
-

-All that importTest.py does is try to import each of the PyKDE modules. The most common error that -occurs when running importTest.py is that an unresolved symbol in one of the modules prevents the -module from loading. This can occur because not all KDE library versions contain all of the "official" KDE -classes and members. Although it doesn't occur often, 1 missing method (out of over 10,000) will -prevent a module from loading, and also prevent other modules that depend on the failing module -from loading. The error message will normally print a "mangled" version of the missing method's name: -

- - - - -
-
-    > ImportError: /usr/lib/python2.2/site-packages/libkdecorecmodule.so:
-    > undefined symbol: _ZNK10KAboutData18copyrightStatementEv
-
-
-

-You can decipher the mangled name to a class and method (in the example above, -KAboutData::copyrightStatement) by running: -

- - - - -
-
-    c++filt <symbolname>
-    
-    for example:
-    
-    c++filt _ZNK10KAboutData18copyrightStatementEv
-
-
-

-If you can locate the sip file for the class, you can comment out ("//") the missing method, and recompile -(including re-running configure.py. If you can't solve the problem (and even if you do) you should -report it on the PyKDE mailing list at -PyKDE@mats.imk.fraunhofer.de . Subscribe to the list -

-here -
-
Other run-time errors
-
-At present only the most likely failure modes of PyKDE are tested (contributions of tests/test code -are greatly appreciated). Nearly all of PyKDE is completely machine generated from the KDE h files, -so coding errors are rare but they do happen. PyKDE also uses some classes and methods differently -because it's running from Python and not C++. If you suspect an error, please double-check your -code and review the PyKDE docs to be sure the argument lists and expected return types are what you -thought they were. If the problem persists, report it to the PyKDE mailing list at - PyKDE@mats.imk.fraunhofer.de . Subscribe to the list -here. When reporting errors to the -list, it's always helpful if you provide: -
    -
  • -the version of PyKDE you're using -
  • -
  • - a small sample of code that produces the problem. -
  • -
-It's not particularly important whether the error is a PyKDE error or a user error (although -I prefer seeing user errors rather than my own). -
-
-

Distribution-specific Notes

-

SuSE 8.0/8.1

-

-During testing of PyKDE for KDE 3.x.x on SuSE 8.0 and 8.1 I -ran into problems with the kjs module insisting on linking to -the KDE2 version of libkjs.so instead of the KDE3. The lib -name/version is the same in both cases, but the libs aren't -compatible. The only solution I found was to: -

-

-1.Edit (as root) /etc/ld.so.conf from this: -

- - - - -
-
-    /opt/kde
-    /opt/kde2
-    /opt/kde3
-
-
-

- to this: -

- - - - -
-
-    /opt/kde3
-    /opt/kde
-    /opt/kde2
-
-
-

-2. Run (as root) ldconfig -

-

-3. Re-link. You can save having to rebuild PyKDE and recompile -by simply going into the PyKDE-3.x.x/kjs directory and deleteing -kjshuge.o (or any *.o in the directory) and then rerunning make -and make install (this forces a recompile/relink of the kjs module -only, which is very fast) Don't run configure.py before trying this, -or everything will recompile. -

-

-Alternatively, if you don't plan on using kjs, you can simply -ignore the fact that it's mis-linked - it won't affect any -other module. -

-

SuSE 8.2/9.0

-

-Some (but by no means all) versions of the KDE rpms for recent SuSE distributions appear -to have been built with a different version of kfileshare.h than what they ship with. This -version is also in disagreement with the "official" KDE version (as found in the kdelib -source files on kde.org, for example). The "incorrect" versions use a setShared(...) method -with a different argument list that doesn't match the h files. -

-

-To fix this problem, all versions of the setShared method should be commented out in -kfileshare.sip. -

-

Mandrake 9.1

(rpm install - PyKDE-3.8, not 3.11 so far)

-

-Some people have had trouble with the Mandrake 9.1 rpms/KDE libs. All -distributions modify KDE in some way and where feasible, PyKDE is -set up to build with the least common denominator. -

-

-The following exchange is from the PyKDE mailing list. The reply is -from Simon Edwards: -

- - - - -
-
-    > I'm trying to setup PyKDE on my Mandrake 9.1/python 2.2 box but so far I
-
-    > ImportError: /usr/lib/python2.2/site-packages/libkdecorecmodule.so:
-    > undefined symbol: _ZNK10KAboutData18copyrightStatementEv
-
-    Let me guess. You are using the original KDE version that came with Mandrake
-    9.1. :) yeah, there is a problem and the PyKDE rpms for mandrake don't work
-    with that version.
-
-    What you can do is update your KDE to 3.1.4. That should work. I'm using 3.1.2
-    here. You can go here:
-
-        http://plf.zarb.org/~nanardon/urpmiweb.php
-
-    and follow the directions and remember to select 'Texstar'. Now you will be
-    able to upgrade KDE using the Mandrake Install tool. Open up the Mandrake
-    Control Center and go to Install Software, do a search on "kde" and you
-    should get a big long list of KDE packages. Select the 3.1.4-tex2 ones and
-    when you are ready hit 'install'. and wait, and wait. :-)
-
-
-

-

-

Mandrake 10.x

-

-Some people have had trouble compiling with Mandrake 10.x. Mandrake provides a few "non-standard" -h files. This only affects 3 or 4 methods, but is enough to prevent PyKDE from building. PyKDE 4.0 -includes patches that should eliminate this problem. -

- - - - diff --git a/python/pykde/examples/README b/python/pykde/examples/README deleted file mode 100644 index 24a7ac3f..00000000 --- a/python/pykde/examples/README +++ /dev/null @@ -1,17 +0,0 @@ -This subdirectory contains a few executable Python -programs that demonstrate or test some features of -PyKDE: - -uisampler.py - demos of most of the kdeui widgets, - including dialogs, menus (KAction, KStdAction, etc) - widgets, and xml ui definition - -mimetest.py - tests KSharedPtr related classes/methods - such as KMimetype, KService, etc - -menudemo.py -xmlmenudemo.py - demostrate the construction of a - menu based app (also run as part of uisampler.py) - -More demo programs are planned - contributions are -welcome. diff --git a/python/pykde/examples/aboutkde.png b/python/pykde/examples/aboutkde.png deleted file mode 100644 index 2b4681c7..00000000 Binary files a/python/pykde/examples/aboutkde.png and /dev/null differ diff --git a/python/pykde/examples/astron.png b/python/pykde/examples/astron.png deleted file mode 100644 index d2797ec3..00000000 Binary files a/python/pykde/examples/astron.png and /dev/null differ diff --git a/python/pykde/examples/example_dcopexport.py b/python/pykde/examples/example_dcopexport.py deleted file mode 100644 index 66aff6a0..00000000 --- a/python/pykde/examples/example_dcopexport.py +++ /dev/null @@ -1,136 +0,0 @@ -#!/usr/bin/env python - -""" -Copyright 2004 Jim Bublitz - -Terms and Conditions - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to -deal in the Software without restriction, including without limitation the -rights to use, copy, modify, merge, publish, distribute, sublicense, and/or -sell copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, -WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR -IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - -Except as contained in this notice, the name of the copyright holder shall -not be used in advertising or otherwise to promote the sale, use or other -dealings in this Software without prior written authorization from the -copyright holder. -""" - -# This is an example of a DCOP enabled application written in Python, using -# PyKDE and the dcopexport module. Taken from server.py example in kde-bindings -# which was written by Torben Weis and Julian Rockey - -import sys -from kdecore import KApplication, KCmdLineArgs, KAboutData -from dcopexport import DCOPExObj -from qt import QString, QStringList - -""" -DCOPExObj provides all of the necessary machinery to DCOP-enable -an application: the 'process' method, marshalling/demarshalling, -and the 'features' method - -To DCOP-enable an app, - - 1. Add a class which subclasses DCOPExObj (ParrotObject in - this case). Call the DCOPExObj.__init__ method with 'id'. - If 'id' isn't specified, DCOP will assing a numerical id. - 'id' is the name of the object (eg, how it will be listed - in kdcop, or returned with a dcopClient.remoteObjects call) - - 2. Identify the methods/functions that will be exposed via - DCOP - they don't have to be methods of the DCOPExObj - class, as long as the DCOPExObj class can call them. Make - sure they take/return types that DCOPExObj supports. - - 3. For each method, call self.addMethod with the complete - method signature (return type, name, list of argument - types, but no argument names) as a string and the - Python method/function that corresponds. - - 4. That's it. -""" - -# the class which will expose methods to DCOP - the methods do NOT -# need to be a member of this class. -class DeadParrotObject (DCOPExObj): - def __init__ (self, id = 'dead parrot'): - DCOPExObj.__init__ (self, id) - - # the methods available from this app via DCOP - # addMethod (, ) - self.addMethod ('QString getParrotType()', self.get_type) - self.addMethod ('void setParrotType (QString)', self.set_type) - self.addMethod ('QString squawk()', self.squawk) - self.addMethod ('QStringList adjectives()', self.adjectives) - - # set up object variables - self.parrot_type = QString ("Norwegian Blue") - - def get_type (self): - return self.parrot_type - - def set_type (self, parrot_type): - self.parrot_type = parrot_type - - def squawk (self): - return "This parrot, a %s, is pining for the fjords" % (self.parrot_type) - - def adjectives (self): - adjList = ["passed on", "is no more", "ceased to be", "expired", "gone to meet his maker", - "a stiff", "bereft of life", "rests in peace", "metabolic processes are now history", - "off the twig", "kicked the bucket", "shuffled off his mortal coil", - "run down his curtain", "joined the bleedin' choir invisible", "THIS IS AN EX-PARROT"] - qadjList = QStringList () - for adj in adjList: - qadjList.append (adj) - - return qadjList - -description = "A basic application template" -version = "1.0" -aboutData = KAboutData ("testdcopexport", "petshop",\ - version, description, KAboutData.License_GPL,\ - "(C) 2003 whoever the author is") - -aboutData.addAuthor ("author1", "whatever they did", "email@somedomain") -aboutData.addAuthor ("author2", "they did something else", "another@email.address") - -KCmdLineArgs.init (sys.argv, aboutData) - -KCmdLineArgs.addCmdLineOptions ([("+files", "File to open")]) - -app = KApplication () -dcop = app.dcopClient () -appid = dcop.registerAs('petshop') -print "DCOP Application: %s starting" % appid - -parrot = DeadParrotObject() -another_parrot = DeadParrotObject('polly') - -print """ -Run kdcop and look for the 'petshop' application instance. - -This program exports the 'deadParrot' and 'polly' objects. -Double-clicking those object's methods will allow you to get or set data. - -To end the application, in kdcop choose the MainApplication-Interface -object and double-click the quit() method. -""" - -app.exec_loop() - - diff --git a/python/pykde/examples/example_dcopext.py b/python/pykde/examples/example_dcopext.py deleted file mode 100644 index 8f3801a8..00000000 --- a/python/pykde/examples/example_dcopext.py +++ /dev/null @@ -1,135 +0,0 @@ -""" -Copyright 2003 Jim Bublitz - -Terms and Conditions - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to -deal in the Software without restriction, including without limitation the -rights to use, copy, modify, merge, publish, distribute, sublicense, and/or -sell copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, -WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR -IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - -Except as contained in this notice, the name of the copyright holder shall -not be used in advertising or otherwise to promote the sale, use or other -dealings in this Software without prior written authorization from the -copyright holder. -""" - -import sys, time -import dcop -import dcopext -from kdecore import KApplication, KCmdLineArgs, KAboutData -from qt import QString, QCString - - - -def getAnyApplication (client, appName): - for qcstring_app in client.registeredApplications (): - app = str (qcstring_app) - if app == appName or app.startswith (appName + "-"): - print app - print - objList, ok = client.remoteObjects (app) - for obj in objList: - print " ", obj - funcs, ok = client.remoteFunctions (app, obj) - for f in funcs: - print " ", " ", f - break - - -#-------------------- main ------------------------------------------------ - -description = "A basic application template" -version = "1.0" -aboutData = KAboutData ("testdcopext", "testdcopext",\ - version, description, KAboutData.License_GPL,\ - "(C) 2003 whoever the author is") - -aboutData.addAuthor ("author1", "whatever they did", "email@somedomain") -aboutData.addAuthor ("author2", "they did something else", "another@email.address") - -KCmdLineArgs.init (sys.argv, aboutData) - -KCmdLineArgs.addCmdLineOptions ([("+files", "File to open")]) - -app = KApplication () -dcop = app.dcopClient () - -#getAnyApplication (dcop, "konqueror") -print "--------------------------" -print "The DCOPObjects for kicker:" -d = dcopext.DCOPApp ("kicker", dcop) -objs = d.objects -if objs: - for obj in objs: - print obj -o = d.object ("Panel") -methods = o.methods -for method in methods: - print method -m = o.method ("addNonKDEAppButton") - -print "--------------------------" -print "The method" -print o.method -print "--------------------------" -print "Find the method:" -print m.findMethod () -print "--------------------------" -print "The return type:" -print m.rtype -print "--------------------------" -print "The argument types:" -print m.argtypes -print "--------------------------" -print "The argument names:" -print m.argnames -print "--------------------------" - -print -print "get kicker panel size via DCOP" -res = d.Panel.panelSize() -print res, d.Panel.panelSize.valid -print "--------------------------" - -print "Call a method that doesn't exist" -res = d.Panel.junk () -print res -print "--------------------------" - -print "See if a non-existent method is valid" -print d.Panel.junk.valid -print -print "--------------------------" - -print -print -print "Start a kwrite instance" -errcode, error, dcopService, pid = KApplication.startServiceByDesktopName ("kwrite", "") -dcopService = "kwrite-" + str (pid) -print "errcode: %i error: %s dcopService: %s pid: %i" % (errcode, error, dcopService, pid) -print "--------------------------" -time.sleep (2) - -o1 = dcopext.DCOPObj (dcopService, dcop, "EditInterface#1") -print "Check if insertLine is a valid function" -print "valid", o1.insertLine.valid -print "--------------------------" -print "insertLine's arg types and names" -print o1.insertLine.argtypes, o1.insertLine.argnames -print "--------------------------" -print "Insert a line into the kwrite instance we launched" -print "call returns:", o1.insertLine (0, "Now is the time for all good men to come to the aid of their party") diff --git a/python/pykde/examples/kdeform1.ui b/python/pykde/examples/kdeform1.ui deleted file mode 100644 index 3d7a36e3..00000000 --- a/python/pykde/examples/kdeform1.ui +++ /dev/null @@ -1,335 +0,0 @@ - -Form1 -Python:#import all necessary widgets -Python:from kfile import KURLRequester - - - Form1 - - - - 0 - 0 - 497 - 485 - - - - Form1 - - - - unnamed - - - 6 - - - 6 - - - - KLed1 - - - - - KLed2 - - - - 255 - 255 - 0 - - - - - - KLed3 - - - - 255 - 0 - 0 - - - - - - KSqueezedTextLabel1 - - - KSqueezedTextLa...h a lot of text - - - - - Spacer1 - - - Horizontal - - - Expanding - - - - 231 - 0 - - - - - - Frame3 - - - StyledPanel - - - Raised - - - - unnamed - - - 11 - - - 6 - - - - KURLLabel1 - - - http://KURLLabel.org - - - - - KURLRequester1 - - - - - KLineEdit1 - - - KLineEdit1 - - - - - Spacer2 - - - Horizontal - - - Expanding - - - - 80 - 0 - - - - - - KProgress1 - - - - 7 - 0 - 2 - 0 - - - - - - Spacer3 - - - Horizontal - - - Expanding - - - - 80 - 0 - - - - - - - - GroupBox1 - - - GroupBox1 - - - - unnamed - - - 11 - - - 6 - - - - KHistoryCombo1 - - - - first, second, last - - - - - - KDatePicker1 - - - - 2003 - 4 - 22 - - - - - - - - GroupBox3 - - - GroupBox3 - - - - unnamed - - - 11 - - - 6 - - - - KComboBox1 - - - false - - - false - - - - - KIntSpinBox1 - - - 7 - - - - - KFontCombo2 - - - - - - - GroupBox4 - - - GroupBox4 - - - - unnamed - - - 11 - - - 6 - - - - KListView1 - - - - - - - PushButton1 - - - - 5 - 0 - 0 - 0 - - - - Close - - - false - - - - - Spacer5 - - - Horizontal - - - Expanding - - - - 372 - 0 - - - - - - - - PushButton1 - clicked() - Form1 - PushButton1_clicked() - - - - kdeform1.ui.h - - - PushButton1_clicked() - - - diff --git a/python/pykde/examples/kdeform1.ui.h b/python/pykde/examples/kdeform1.ui.h deleted file mode 100644 index 96bc3266..00000000 --- a/python/pykde/examples/kdeform1.ui.h +++ /dev/null @@ -1,13 +0,0 @@ -/**************************************************************************** -** ui.h extension file, included from the uic-generated form implementation. -** -** If you wish to add, delete or rename slots use Qt Designer which will -** update this file, preserving your code. Create an init() slot in place of -** a constructor, and a destroy() slot in place of a destructor. -*****************************************************************************/ - - -void Form1::PushButton1_clicked() -{ -qApp.exit(0) -} diff --git a/python/pykde/examples/kpartgui.dtd b/python/pykde/examples/kpartgui.dtd deleted file mode 100644 index b3389641..00000000 --- a/python/pykde/examples/kpartgui.dtd +++ /dev/null @@ -1,122 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/python/pykde/examples/kurldemo.py b/python/pykde/examples/kurldemo.py deleted file mode 100644 index d224b344..00000000 --- a/python/pykde/examples/kurldemo.py +++ /dev/null @@ -1,98 +0,0 @@ -""" -Copyright 2003 Jim Bublitz - -Terms and Conditions - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to -deal in the Software without restriction, including without limitation the -rights to use, copy, modify, merge, publish, distribute, sublicense, and/or -sell copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, -WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR -IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - -Except as contained in this notice, the name of the copyright holder shall -not be used in advertising or otherwise to promote the sale, use or other -dealings in this Software without prior written authorization from the -copyright holder. -""" - -urls = ["http://slashdot.org", "http://www.kde.org", "http://www.riverbankcomputing.co.uk", "http://yahoo.com"] - -import sys - -from kdecore import KApplication, KCmdLineArgs, KAboutData, KURL -from kdeui import KMainWindow, KEdit - -class MainWin (KMainWindow): - def __init__ (self, *args): - apply (KMainWindow.__init__, (self,) + args) - - self.setGeometry (0, 0, 400, 600) - - self.edit = KEdit (self) - self.setCentralWidget (self.edit) - - self.edit.insertLine ("KURL Demo\n") - self.edit.insertLine ("Adding these urls:\n") - for url in urls: - self.edit.insertLine (" %s" % url) - - self.edit.insertLine ("\nCreating KURLs (iterating to print):\n") - urlList = KURL.List () - for url in urls: - urlList.append (KURL (url)) - - for url in urlList: - self.edit.insertLine (" %s" % url.url ()) - - self.edit.insertLine ("\nFirst url -- urlList [0]:\n") - self.edit.insertLine (" " + str (urlList [0])) - self.edit.insertLine (" " + str (urlList [0].url ())) - - self.edit.insertLine ("\nLast url -- urlList [-1]:\n") - self.edit.insertLine (" " + str (urlList [-1])) - self.edit.insertLine (" " + str (urlList [-1].url ())) - - self.edit.insertLine ("\nMiddle urls -- urlList [2:4]:\n") - ulist = urlList [2:4] - for url in ulist: - self.edit.insertLine (" " + str (url)) - self.edit.insertLine (" " + str (url.url ())) - - self.edit.insertLine ("\nLength of urlList -- len (urlList):\n") - self.edit.insertLine (" Length = %i" % len (urlList)) - - self.edit.insertLine ('\nurl in urlList? -- KURL ("http://yahoo.com") in urlList\n') - self.edit.insertLine (' KURL ("http://yahoo.com") in urlList = %i' % (KURL ("http://yahoo.com") in urlList)) - - -#-------------------- main ------------------------------------------------ - -description = "A basic application template" -version = "1.0" -aboutData = KAboutData ("", "",\ - version, description, KAboutData.License_GPL,\ - "(C) 2003 whoever the author is") - -aboutData.addAuthor ("author1", "whatever they did", "email@somedomain") -aboutData.addAuthor ("author2", "they did something else", "another@email.address") - -KCmdLineArgs.init (sys.argv, aboutData) - -KCmdLineArgs.addCmdLineOptions ([("+files", "File to open")]) - -app = KApplication () -mainWindow = MainWin (None, "main window") -mainWindow.show() -app.exec_loop() diff --git a/python/pykde/examples/menudemo.py b/python/pykde/examples/menudemo.py deleted file mode 100644 index 61a591a8..00000000 --- a/python/pykde/examples/menudemo.py +++ /dev/null @@ -1,291 +0,0 @@ -""" -This template constructs an application with menus, toolbar and statusbar. -It uses KDE classes and methods that simplify the task of building and -operating a GUI. It is recommended that this approach be used, rather -than the primitive approach in menuapp1.py -""" - -""" -Copyright 2003 Jim Bublitz - -Terms and Conditions - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to -deal in the Software without restriction, including without limitation the -rights to use, copy, modify, merge, publish, distribute, sublicense, and/or -sell copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, -WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR -IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - -Except as contained in this notice, the name of the copyright holder shall -not be used in advertising or otherwise to promote the sale, use or other -dealings in this Software without prior written authorization from the -copyright holder. -""" - - -False = 0 -True = not False - - -import sys - -from qt import QPopupMenu, SIGNAL, QLabel, QIconSet - -from kdecore import KApplication, KCmdLineArgs, KAboutData, i18n, KIcon, KIconLoader, KShortcut -from kdeui import KMainWindow, KMessageBox, KStdAction, KAction, KToggleAction, KFontSizeAction, KFontAction, KRadioAction,\ - KActionSeparator, KActionMenu, KWindowListMenu - -STATUSBAR_LEFT = 1 -STATUSBAR_MIDDLE = 2 -STATUSBAR_RIGHT = 3 - -class MainWin (KMainWindow): - def __init__ (self, *args): - apply (KMainWindow.__init__, (self,) + args) - - self.initActions () - self.initMenus () - self.initToolBar () - self.initStatusBar () - - self.saveAction.setEnabled (False) - self.saveAsAction.setEnabled (False) - - def initActions (self): - # "File" menu items - self.newAction = KStdAction.openNew (self.slotNew, self.actionCollection ()) - self.openAction = KStdAction.open (self.slotOpen, self.actionCollection ()) - self.saveAction = KStdAction.save (self.slotSave, self.actionCollection ()) - self.saveAsAction = KStdAction.saveAs (self.slotSaveAs, self.actionCollection ()) - self.printAction = KStdAction.print_ (self.slotPrint, self.actionCollection ()) - self.quitAction = KStdAction.quit (self.slotQuit, self.actionCollection ()) - - # "Edit" menu items - self.undoAction = KStdAction.undo (self.slotUndo, self.actionCollection ()) - self.redoAction = KStdAction.redo (self.slotRedo, self.actionCollection ()) - self.cutAction = KStdAction.cut (self.slotCut, self.actionCollection ()) - self.copyAction = KStdAction.copy (self.slotCopy, self.actionCollection ()) - self.pasteAction = KStdAction.paste (self.slotPaste, self.actionCollection ()) - self.findAction = KStdAction.find (self.slotFind, self.actionCollection ()) - self.findNextAction = KStdAction.findNext (self.slotFindNext, self.actionCollection ()) - self.replaceAction = KStdAction.replace (self.slotReplace, self.actionCollection ()) - self.specialAction = KAction (i18n ("Special"), KShortcut.null (), self.slotSpecial, self.actionCollection (), "special") - - # Demo menu items - - # KToggleAction has an isChecked member and emits the "toggle" signal - self.toggle1Action = KToggleAction ("Toggle 1") - self.toggle2Action = KToggleAction ("Toggle 2", KShortcut.null (), self.slotToggle2, None) - - # A separator - create once/use everywhere - self.separateAction = KActionSeparator () - - # Font stuff in menus or toolbar - self.fontAction = KFontAction ("Font") - self.fontSizeAction = KFontSizeAction ("Font Size") - - # Need to assign an icon to actionMenu below - icons = KIconLoader () - iconSet = QIconSet (icons.loadIcon ("viewmag", KIcon.Toolbar)) - - # Nested menus using KActions (also nested on toolbar) - self.actionMenu = KActionMenu ("Action Menu") - self.actionMenu.setIconSet (iconSet) - self.actionMenu.insert (KStdAction.zoomIn (self.slotZoomIn, self.actionCollection ())) - self.actionMenu.insert (KStdAction.zoomOut (self.slotZoomOut, self.actionCollection ())) - - # Doesn't work in KDE 2.1.1 -# self.radio1Action = KRadioAction ("Radio 1") -# self.radio1Action.setExclusiveGroup ("Radio") -# self.radio2Action = KRadioAction ("Radio 2") -# self.radio2Action.setExclusiveGroup ("Radio") -# self.radio3Action = KRadioAction ("Radio 3") -# self.radio3Action.setExclusiveGroup ("Radio") - - def initMenus (self): - fileMenu = QPopupMenu (self) - self.newAction.plug (fileMenu) - self.openAction.plug (fileMenu) - fileMenu.insertSeparator () - self.saveAction.plug (fileMenu) - self.saveAsAction.plug (fileMenu) - fileMenu.insertSeparator () - self.printAction.plug (fileMenu) - fileMenu.insertSeparator () - self.quitAction.plug (fileMenu) - self.menuBar ().insertItem (i18n ("&File"), fileMenu) - - editMenu = QPopupMenu (self) - self.undoAction.plug (editMenu) - self.redoAction.plug (editMenu) - editMenu.insertSeparator () - self.cutAction.plug (editMenu) - self.copyAction.plug (editMenu) - self.pasteAction.plug (editMenu) - editMenu.insertSeparator () - self.findAction.plug (editMenu) - self.findNextAction.plug (editMenu) - self.replaceAction.plug (editMenu) - editMenu.insertSeparator () - self.specialAction.plug (editMenu) - self.menuBar ().insertItem (i18n ("&Edit"), editMenu) - - demoMenu = QPopupMenu (self) - self.toggle1Action.plug (demoMenu) - self.toggle2Action.plug (demoMenu) - self.separateAction.plug (demoMenu) - self.fontAction.plug (demoMenu) - self.fontSizeAction.plug (demoMenu) - self.actionMenu.plug (demoMenu) -# self.radio1Action.plug (demoMenu) -# self.radio2Action.plug (demoMenu) -# self.radio3Action.plug (demoMenu) - self.menuBar ().insertItem (i18n ("&Demo"), demoMenu) - - # This really belongs in Kicker, not here, - # but it actually works - wlMenu = KWindowListMenu (self) - wlMenu.init () - self.menuBar ().insertItem (i18n ("&WindowListMenu"), wlMenu) - - - - helpMenu = self.helpMenu ("") - self.menuBar ().insertItem (i18n ("&Help"), helpMenu) - - def initToolBar (self): - self.newAction.plug (self.toolBar ()) - self.openAction.plug (self.toolBar ()) - self.saveAction.plug (self.toolBar ()) - self.cutAction.plug (self.toolBar ()) - self.copyAction.plug (self.toolBar ()) - self.pasteAction.plug (self.toolBar ()) - - self.separateAction.plug (self.toolBar ()) - self.separateAction.plug (self.toolBar ()) - self.separateAction.plug (self.toolBar ()) - - self.fontAction.plug (self.toolBar ()) - self.separateAction.plug (self.toolBar ()) - self.fontAction.setComboWidth (150) - - self.fontSizeAction.plug (self.toolBar ()) - self.fontSizeAction.setComboWidth (75) - - self.separateAction.plug (self.toolBar ()) - - # This works, but you have to hold down the - # button in the toolbar and wait a bit - self.actionMenu.plug (self.toolBar ()) - # This appears to do nothing - self.actionMenu.setDelayed (False) - - # Need this to keep the font comboboxes from stretching - # to the full width of the toolbar when the window is - # maximized (comment out the next two lines to see - # what happens) - stretchlbl = QLabel ("", self.toolBar ()) - self.toolBar ().setStretchableWidget (stretchlbl) - - -# self.toolBar ().setHorizontalStretchable (False) - - - def initStatusBar (self): - self.statusBar ().insertItem ("", STATUSBAR_LEFT, 1000, True) - self.statusBar ().insertItem ("", STATUSBAR_MIDDLE, 1000, True) - self.statusBar ().insertItem ("", STATUSBAR_RIGHT, 1000, True) - -#-------------------- slots ----------------------------------------------- - - def slotNew (self, id = -1): - self.notImpl ("New") - - def slotOpen(self, id = -1): - self.notImpl ("Open") - - def slotSave (self, id = -1): - self.notImpl ("Save") - - def slotSaveAs (self): - self.notImpl ("Save As") - - def slotPrint (self): - self.notImpl ("Print") - - def slotQuit (self): - self.notImpl ("Quit") - - def slotUndo (self): - self.notImpl ("Undo") - - def slotRedo (self): - self.notImpl ("Redo") - - def slotCut (self, id = -1): - self.notImpl ("Cut") - - def slotCopy (self, id = -1): - self.notImpl ("Copy") - - def slotPaste (self, id = -1): - self.notImpl ("Paste") - - def slotFind (self): - self.notImpl ("Find") - - def slotFindNext (self): - self.notImpl ("Find Next") - - def slotReplace (self): - self.notImpl ("Replace") - - def slotSpecial (self): - self.notImpl ("Special") - - def slotToggle2 (self): - self.notImpl ("Toggle") - - def slotZoomIn (self): - self.notImpl ("Zoom In") - - def slotZoomOut (self): - self.notImpl ("Zoom Out") - - def notImpl (self, item): - self.statusBar ().changeItem ("%s not implemented" % item, STATUSBAR_LEFT) - KMessageBox.error (self, "%s not implemented" % item, "Not Implemented") - self.statusBar ().changeItem ("", STATUSBAR_LEFT) - - -#-------------------- main ------------------------------------------------ - -description = "A basic application template" -version = "1.0" -aboutData = KAboutData ("", "",\ - version, description, KAboutData.License_GPL,\ - "(C) 2003 whoever the author is") - -aboutData.addAuthor ("author1", "whatever they did", "email@somedomain") -aboutData.addAuthor ("author2", "they did something else", "another@email.address") - -KCmdLineArgs.init (sys.argv, aboutData) - -KCmdLineArgs.addCmdLineOptions ([("+files", "File to open")]) - -app = KApplication () -mainWindow = MainWin (None, "main window") -mainWindow.show() -app.exec_loop() diff --git a/python/pykde/examples/mimetype.py b/python/pykde/examples/mimetype.py deleted file mode 100644 index d1926b0b..00000000 --- a/python/pykde/examples/mimetype.py +++ /dev/null @@ -1,269 +0,0 @@ -""" -This program tests/demos some of the KSharedPtr related classes and -methods (KMimeType, KService, etc). It generally tests the *::List -methods for these classes (eg KService::List) since that also tests -the *::Ptr mapped type code (eg KService::Ptr) at the same time. - -This version is suitable for KDE >= 3.0.0 (some methods not available -in earlier versions) -""" - -""" -Copyright 2003 Jim Bublitz - -Terms and Conditions - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to -deal in the Software without restriction, including without limitation the -rights to use, copy, modify, merge, publish, distribute, sublicense, and/or -sell copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, -WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR -IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - -Except as contained in this notice, the name of the copyright holder shall -not be used in advertising or otherwise to promote the sale, use or other -dealings in this Software without prior written authorization from the -copyright holder. -""" - -import sys - -from qt import QWidget, QButtonGroup, Qt, QLabel, QListView, QListViewItem - -from kdecore import KApplication, KCmdLineArgs, KAboutData, KURL -from kdeui import KMainWindow, KTabCtl, KListBox -from kio import KMimeType, KService, KServiceGroup, KServiceType, KTrader, KServiceTypeProfile, KServiceGroup - -class MainWin (KMainWindow): - def __init__ (self, *args): - apply (KMainWindow.__init__, (self,) + args) - - tabctl = KTabCtl (self) - self.setGeometry (0, 0, 600, 400) - tabctl.setGeometry (10, 10, 550, 380) - - tabctl.addTab (KMimeTypeTab (tabctl), "KMimeType") - tabctl.addTab (KServiceTab (tabctl), "KService") - tabctl.addTab (KSycocaEntryTab (tabctl), "KSycocaEntry") - tabctl.addTab (KServiceTypeTab (tabctl), "KServiceType") - tabctl.addTab (OfferListTab (tabctl), "OfferList") - - tabctl.show () - - -class OfferListTab (QWidget): - def __init__ (self, parent, name = ""): - QWidget.__init__ (self, parent, name) - - self.setGeometry (0, 0, 500, 370) - lvLbl = QLabel ("Offers - text/html", self) - lvLbl.setGeometry (10, 10, 150, 20) - - lv = QListView (self) - lv.setSorting (-1) - lv.addColumn ("type_", 75) - lv.addColumn ("name", 100) - lv.addColumn ("exec_", 200) - lv.addColumn ("library", 100) - lv.setGeometry (10, 30, 500, 300) - lv.setAllColumnsShowFocus (1) - - # insert list items in reverse order - - pref = KServiceTypeProfile.preferredService ("Application", "image/jpeg") - QListViewItem (lv, pref.type_ (), pref.name (), pref.exec_ (), pref.library ()) - QListViewItem (lv, "Preferred", "--------", "", "") - QListViewItem (lv, "", "", "", "") - - trader = KTrader.self () - slist = trader.query ("image/jpeg", "Type == 'Application'") - print "KTrader returned:", slist - for s in slist: - lvi = QListViewItem (lv, s.type_ (), s.name (), s.exec_ (), s.library ()) - - - lv.show () - -class KServiceTypeTab (QWidget): - def __init__ (self, parent, name = ""): - QWidget.__init__ (self, parent, name) - - self.setGeometry (0, 0, 500, 370) - lvLbl = QLabel ("All Service Types", self) - lvLbl.setGeometry (10, 10, 250, 20) - - lv = QListView (self) - lv.addColumn ("name", 150) - lv.addColumn ("desktopEntryPath", 300) - lv.setGeometry (10, 30, 500, 300) - lv.setAllColumnsShowFocus (1) - - slist = KServiceType.allServiceTypes () - - for s in slist: - lvi = QListViewItem (lv, s.name (), s.desktopEntryPath ()) - - lv.show () - -class KSycocaEntryTab (QWidget): - def __init__ (self, parent, name = ""): - QWidget.__init__ (self, parent, name) - - grp = KServiceGroup.baseGroup ("screensavers") - self.setGeometry (0, 0, 500, 370) - lvLbl = QLabel ("Entries - 'screensavers': " + grp.name ().latin1 (), self) - lvLbl.setGeometry (10, 10, 250, 20) - - lv = QListView (self) - lv.addColumn ("name", 150) - lv.addColumn ("entryPath", 300) - lv.setGeometry (10, 30, 500, 300) - lv.setAllColumnsShowFocus (1) - - slist = grp.entries (0, 0) - - for s in slist: - lvi = QListViewItem (lv, s.name (), s.entryPath ()) - - lv.show () - -class KServiceTab (QWidget): - def __init__ (self, parent, name = ""): - QWidget.__init__ (self, parent, name) - - self.setGeometry (0, 0, 500, 370) - lvLbl = QLabel ("All Services", self) - lvLbl.setGeometry (10, 10, 150, 20) - - lv = QListView (self) - lv.addColumn ("type_", 75) - lv.addColumn ("name", 100) - lv.addColumn ("exec_", 200) - lv.addColumn ("library", 100) - lv.setGeometry (10, 30, 500, 300) - lv.setAllColumnsShowFocus (1) - - slist = KService.allServices () - for s in slist: - lvi = QListViewItem (lv, s.type_ (), s.name (), s.exec_ (), s.library ()) - - lv.show () - - -# svc = KService.serviceByDesktopName ("kcookiejar") -# print svc -# print svc.type_ () -# print svc.name ().latin1 () -# print svc.exec_ ().latin1 () -# print svc.library () - - -class KMimeTypeTab (QWidget): - def __init__ (self, parent, name = ""): - QWidget.__init__ (self, parent, name) - - self.setGeometry (0, 0, 500, 370) - lbLbl = QLabel ("All Mimetypes", self) - lbLbl.setGeometry (10, 10, 150, 20) - lb = KListBox (self) - lb.setGeometry (10, 30, 200, 300) - mlist = KMimeType.allMimeTypes () - lblist = [] - for mt in mlist: - lblist.append (mt.name ().latin1 ()) - - lblist.sort () - lb.insertStrList (lblist) - - lb.show () - - x = 250 - y = 10 - - mt = KMimeType.mimeType ("text/plain") - mtlbl = QLabel ("KMimeType.mimeType ('text/plain')", self) - mtlbl.setGeometry (x, y, 250, 20) - mtnamelbl = QLabel ("name", self) - mtnamelbl.setGeometry (x + 15, y + 20, 100, 20) - mtname = QLabel (mt.name (), self) - mtname.setGeometry (x + 120, y + 20, 100, 20) - mtdesklbl = QLabel ("desktopEntryPath", self) - mtdesklbl.setGeometry (x + 15, y + 40, 100, 20) - mtdesk = QLabel (mt.desktopEntryPath (), self) - mtdesk.setGeometry (x + 120, y + 40, 150, 20) - - y = y + 80 - - fp = KMimeType.findByPath ("mimetype.py") - fplbl = QLabel ("KMimeType.findByPath ('mimetype.py')", self) - fplbl.setGeometry (x, y, 250, 20) - fpnamelbl = QLabel ("name", self) - fpnamelbl.setGeometry (x + 15, y + 20, 100, 20) - fpname = QLabel (fp.name (), self) - fpname.setGeometry (x + 120, y + 20, 100, 20) - fpdesklbl = QLabel ("desktopEntryPath", self) - fpdesklbl.setGeometry (x + 15, y + 40, 100, 20) - fpdesk = QLabel (fp.desktopEntryPath (), self) - fpdesk.setGeometry (x + 120, y + 40, 150, 20) - - y = y + 80 - - fu = KMimeType.findByURL (KURL ("file://mimetype.py")) - fulbl = QLabel ("KMimeType.findByURL ('file://mimetype.py')", self) - fulbl.setGeometry (x, y, 250, 20) - funamelbl = QLabel ("name", self) - funamelbl.setGeometry (x + 15, y + 20, 100, 20) - funame = QLabel (fu.name (), self) - funame.setGeometry (x + 120, y + 20, 100, 20) - fudesklbl = QLabel ("desktopEntryPath", self) - fudesklbl.setGeometry (x + 15, y + 40, 100, 20) - fudesk = QLabel (fu.desktopEntryPath (), self) - fudesk.setGeometry (x + 120, y + 40, 150, 20) - - y = y + 80 - - fc, acc = KMimeType.findByFileContent ("mimetype.py") - fclbl = QLabel ("KMimeType.findByFileContent ('mimetype.py')", self) - fclbl.setGeometry (x, y, 250, 20) - fcnamelbl = QLabel ("name", self) - fcnamelbl.setGeometry (x + 15, y + 20, 100, 20) - fcname = QLabel (fc.name (), self) - fcname.setGeometry (x + 120, y + 20, 100, 20) - fcdesklbl = QLabel ("desktopEntryPath", self) - fcdesklbl.setGeometry (x + 15, y + 40, 100, 20) - fcdesk = QLabel (fc.desktopEntryPath (), self) - fcdesk.setGeometry (x + 120, y + 40, 100, 20) - fcacclbl = QLabel ("accuracy", self) - fcacclbl.setGeometry (x + 15, y + 60, 100, 20) - fcacc = QLabel (str (acc), self) - fcacc.setGeometry (x + 120, y + 60, 150, 20) - - - -#-------------------- main ------------------------------------------------ - -description = "Test/demo KSharedPtr related methods/classes" -version = "1.0" -aboutData = KAboutData ("", "",\ - version, description, KAboutData.License_GPL,\ - "(C) 2003 Jim Bublitz") - -KCmdLineArgs.init (sys.argv, aboutData) - -KCmdLineArgs.addCmdLineOptions ([("+files", "File to open")]) - -app = KApplication () -mainWindow = MainWin (None, "main window") -mainWindow.show() -app.exec_loop() diff --git a/python/pykde/examples/pyKHTMLPart.py b/python/pykde/examples/pyKHTMLPart.py deleted file mode 100644 index 7629c115..00000000 --- a/python/pykde/examples/pyKHTMLPart.py +++ /dev/null @@ -1,214 +0,0 @@ -# -# pyParts.py (C) 2002 Jim Bublitz -# - -""" - -This is an extemely simple and crude example of using -a KHTMLPart - I put it together mostly to make sure -the openURL method worked correctly after some modifications -done in KParts::ReadOnlyPart. It took exactly four lines -added to a basic PyKDE app framework to display a URL -via the 'net: - - self.w = KHTMLPart (self, "HTMLPart", self); - self.w.openURL (KURL ("http://www.kde.org")); - self.w.view ().setGeometry (30, 55, 500, 400); - self.w.show (); - -(Actually 5 lines if you count the 'import' line) - -You can play around with the commented out lines or add -additional code to make this do something useful. The -.rc for khtnmlpart (sorry, I never looked it up), doesn't -seem to provide much help. Also, to follow links, you -probably need to connect some signals to slots. I -haven't tried it, but this should work with a plain -KMainWindow or other widget too. - -The KDE website also incorporates gifs, jpegs, and -I believe CSS too. Playing around with some other -sites, it appears the font defaults could use some -improvement. - -NOTE!!! For this to work, you (obviously) need to have -a route to the internet established or specify a local -URL - PyKDE/KDE will take care of everything else. - -Perceptive users will notice the KHTMLPart code is -lifted from the KDE classref. - -""" - -# If you import more classes, don't forget to add them here (some of these -# are extras/not used) - -from kdecore import KCmdLineArgs, KURL, KApplication, i18n, KAboutData, BarIcon, KLibLoader - -from kdeui import KMainWindow, KMessageBox, KAction, KStdAction, KKeyDialog, KEditToolbar - -from qt import QString, QStringList - -from kio import KTrader - -from khtml import KHTMLPart, KHTMLView - -# Importing the KParts namespace gets us all of the KParts:: classes -from kparts import KParts, createReadOnlyPart, createReadWritePart - -import sys, os - -FALSE = 0 -TRUE = not FALSE - -TOOLBAR_EXIT = 0 -TOOLBAR_OPEN = 1 - -# Note that we use KParts.MainWindow, not KMainWindow as the superclass -# (KParts.MainWindow subclasses KMainWindow). Also, be sure the 'apply' -# clause references KParts.MainWindow - it's a hard bug to track down -# if it doesn't. - -class pyPartsMW (KParts.MainWindow): - def __init__ (self, *args): - apply (KParts.MainWindow.__init__, (self,) + args) - - # Create the actions for our menu/toolbar to use - # Keep in mind that the part loaded will provide its - # own menu/toolbar entries - - # check out KParts.MainWindow's ancestry to see where - # some of this and later stuff (like self.actionCollection () ) - # comes from - - quitAction = KStdAction.quit (self.close, self.actionCollection ()) - - self.m_toolbarAction = KStdAction.showToolbar(self.optionsShowToolbar, self.actionCollection()); - self.m_statusbarAction = KStdAction.showStatusbar(self.optionsShowStatusbar, self.actionCollection()); - - KStdAction.keyBindings(self.optionsConfigureKeys, self.actionCollection()); - KStdAction.configureToolbars(self.optionsConfigureToolbars, self.actionCollection()); - - self.path = os.getcwd () + '/' - self.setGeometry (0, 0, 600, 500) - - # point to our XML file - self.setXMLFile (self.path + "pyParts.rc", FALSE) - - # The next few lines are all that's necessary to - # create a web browser (of course you have to edit - # this file to change url's) - - self.w = KHTMLPart (self, "HTMLPart", self); - self.w.openURL (KURL ("http://www.kde.org")); - - self.w.view ().setGeometry (30, 55, 500, 400); - - -# self.v = KHTMLView (self.w, self) - -# self.setCentralWidget (self.v) - -# self.createGUI (self.w) - - self.w.show (); - - - - - # slots for our actions - def optionsShowToolbar (self): - if self.m_toolbarAction.isChecked(): - self.toolBar().show() - else: - self.toolBar().hide() - - def optionsShowStatusbar (self): - if self.m_statusbarAction.isChecked (): - self.statusBar().show() - else: - self.statusBar().hide() - - - def optionsConfigureKeys (self): - KKeyDialog.configureActionKeys (self.actionCollection(), self.xmlFile ()) - - - def optionsConfigureToolbars (self): - dlg = KEditToolbar (self.actionCollection(), self.xmlFile ()) - if dlg.exec_loop (): - self.createGUI(self); - - - # some boilerplate left over from pyKLess/KLess - def queryClose(self): - res = KMessageBox.warningYesNoCancel(self,\ - i18n("Save changes to Document?
(Does not make sense, we know, but it is just a programming example :-)")) - if res == KMessageBox.Yes: - #// save document here. If saving fails, return FALSE - return TRUE - - elif res == KMessageBox.No: - return TRUE - - else: #// cancel - return FALSE - - def queryExit(self): - #// this slot is invoked in addition when the *last* window is going - #// to be closed. We could do some final cleanup here. - return TRUE #// accept - - # I'm not sure the session mgmt stuff here works - - # Session management: save data - def saveProperties(self, config): - # This is provided just as an example. - # It is generally not so good to save the raw contents of an application - # in its configuration file (as this example does). - # It is preferable to save the contents in a file on the application's - # data zone and save an URL to it in the configuration resource. - config.writeEntry("text", self.edit.text()) - - - # Session management: read data again - def readProperties(self, config): - # See above - self.edit.setText(config.readEntry("text")) - - - -#------------- main ---------------------------- - -# A Human readable description of your program -description = "KHTMLPart - simple example" -# The version -version = "0.1" - -# stuff for the "About" menu -aboutData = KAboutData ("pyKHTMLPart", "pyHTMLPart",\ - version, description, KAboutData.License_GPL,\ - "(c) 2002, Jim Bublitz") - -aboutData.addAuthor ("Jim Bublitz", "Example for PyKDE", "jbublitz@nwinternet.com") - -# This MUST go here (before KApplication () is called) -KCmdLineArgs.init (sys.argv, aboutData) - -app = KApplication () - -if (app.isRestored()): - RESTORE(KLess) -else: - # no session management: just create one window - # this is our KParts::MainWindow derived class - parts = pyPartsMW (None, "pyParts") - if len(sys.argv) > 1: - # read kcmdlineargs.h for the full unabridged instructions - # on using KCmdLineArgs, it's pretty confusing at first, but it works - # This is pretty useless in this program - you might want to - # expand this in your app (to load a file, etc) - args = KCmdLineArgs.parsedArgs() - -parts.show() -app.exec_loop() diff --git a/python/pykde/examples/pykde-sampler/HOWTO.samples b/python/pykde/examples/pykde-sampler/HOWTO.samples deleted file mode 100644 index 74180541..00000000 --- a/python/pykde/examples/pykde-sampler/HOWTO.samples +++ /dev/null @@ -1,60 +0,0 @@ -How to Write Samples for the PyKDE Sampler -========================================== - - -Create or locate a directory within the sampler application root directory. - -Add a module. - -In side the module, add the following: - -- iconName - string (optional) - default: 'filenew' - example: 'colorize' - - When supplied, this should be the short name of a KDE icon, such as - 'stop', 'editclear', etc. If available, This icon will be used as - the list item's icon in the sampler. Not all icons are available in - all themes, so try to use the icons that are available in the - default KDE installation. - - -- labelText - string (optional) - default: module name - example: 'KMessageBox' - - When supplied, this value is used as the list item text for the - sample. If it's not supplied, the application will use the name of - the module instead. - - -- docParts - two-tuple (optional) - default: None - example: ('kdeui', 'KAboutDialog') - - If specified, this sequence should contain two items, first item - name of pykde module, second item name of class within the module. - These two values are used to form the URL to the documentation for - the sample. - - -- one of buildWidget, buildDialog, buildApp, MainFrame - callable (required) - default: None - example: MainFrame(QFrame): ... - - The sample module must contain a callable with one of these names. - The callable must accept a single positional parameter, the parent - widget. - - In most cases, it is sufficient to define a subclass of QFrame named - 'MainFrame'. To construct a more complex sample, define a function - with one of the other names. - - The callable should return (or instatiate) a widget for display in - the main sampler widget. The created frame is responsible for - displaying it's help text and for any providing any widgets - necessary to - - - - diff --git a/python/pykde/examples/pykde-sampler/TODO b/python/pykde/examples/pykde-sampler/TODO deleted file mode 100644 index 730cc02c..00000000 --- a/python/pykde/examples/pykde-sampler/TODO +++ /dev/null @@ -1,12 +0,0 @@ -Sampler App -=========== - -- Turn off word wrap in the source viewer -- Add application icon -- Enable hyperlink signal and slot in doc viewer - - -Samples -======= - -- More samples diff --git a/python/pykde/examples/pykde-sampler/__init__.py b/python/pykde/examples/pykde-sampler/__init__.py deleted file mode 100644 index 4265cc3e..00000000 --- a/python/pykde/examples/pykde-sampler/__init__.py +++ /dev/null @@ -1 +0,0 @@ -#!/usr/bin/env python diff --git a/python/pykde/examples/pykde-sampler/about.py b/python/pykde/examples/pykde-sampler/about.py deleted file mode 100644 index 61fdd8a3..00000000 --- a/python/pykde/examples/pykde-sampler/about.py +++ /dev/null @@ -1,57 +0,0 @@ -#!/usr/bin/env python -""" About the PyKDE Sampler - -Defines the 'about' function to create a KAboutData instance for the -sampler application. -""" -from os.path import dirname, join -from kdecore import KAboutData - - -appName = 'pykdesampler' -progName = 'PyKDE Sampler' -authorName = 'Troy Melhase' -authorEmail = bugsEmailAddress = 'troy@gci.net' -version = '0.1' -shortDescription = 'The PyKDE Sampler' -licenseType = KAboutData.License_GPL_V2 -copyrightStatement = '(c) 2006, %s' % (authorName, ) -homePageAddress = 'http://www.riverbankcomputing.co.uk/pykde/' -aboutText = ("The application sampler for PyKDE.") -contributors = [] # module-level global for keeping the strings around; intentional - - -def about(): - """ creates KAboutData instance for the app - - """ - about = KAboutData( - appName, - progName, - version, - shortDescription, - licenseType, - copyrightStatement, - aboutText, - homePageAddress, - bugsEmailAddress) - about.addAuthor(authorName, '', authorEmail) - - try: - contrib = open(join(dirname(__file__), 'contributors.txt')) - contrib = [line.strip() for line in contrib] - contrib = [line for line in contrib if not line.startswith('#')] - for line in contrib: - try: - name, task, addr = [s.strip() for s in line.split(',')] - contributors.append((name, task, addr)) - except: - pass - except: - pass - - contributors.sort(lambda a, b:cmp(a[0], b[0])) - for name, task, addr in contributors: - about.addCredit(name, task, addr) - - return about diff --git a/python/pykde/examples/pykde-sampler/basic_widgets/__init__.py b/python/pykde/examples/pykde-sampler/basic_widgets/__init__.py deleted file mode 100644 index 2442375d..00000000 --- a/python/pykde/examples/pykde-sampler/basic_widgets/__init__.py +++ /dev/null @@ -1,17 +0,0 @@ -labelText = 'Widgets' -iconName = 'about_kde' - -helpText = """KDE provides a large set of basic widgets for application use. -Select the children of this item to see for yourself.""" - -from qt import QFrame, QVBoxLayout -from kdeui import KTextEdit - - -class MainFrame(QFrame): - def __init__(self, parent=None): - QFrame.__init__(self, parent) - layout = QVBoxLayout(self) - self.text = KTextEdit(helpText, '', self) - layout.addWidget(self.text, 1) - layout.addStretch(1) diff --git a/python/pykde/examples/pykde-sampler/basic_widgets/datepicker.py b/python/pykde/examples/pykde-sampler/basic_widgets/datepicker.py deleted file mode 100644 index aa36de52..00000000 --- a/python/pykde/examples/pykde-sampler/basic_widgets/datepicker.py +++ /dev/null @@ -1,42 +0,0 @@ -from qt import QFrame, QStringList, QVBoxLayout, SIGNAL, QLabel, QSizePolicy, Qt -from qttable import QTable -from kdeui import KTextEdit, KDatePicker, KDateWidget - - -labelText = 'KDatePicker' -iconName = 'date' -helpText = """A date selection widget. - -Provides a widget for calendar date input. - -Different from the previous versions, it now emits two types of -signals, either dateSelected() or dateEntered() (see documentation for -both signals). - -A line edit has been added in the newer versions to allow the user to -select a date directly by entering numbers like 19990101 or 990101. -""" - -class MainFrame(QFrame): - def __init__(self, parent=None): - QFrame.__init__(self, parent) - self.help = KTextEdit(helpText, '', self) - self.dateDisplay = KDateWidget(self) - - self.dateDisplay.setSizePolicy(QSizePolicy(QSizePolicy.Maximum, - QSizePolicy.Maximum)) - - self.datePicker = KDatePicker(self) - - layout = QVBoxLayout(self) - layout.addWidget(self.help, 1) - layout.addWidget(self.datePicker, 0, Qt.AlignHCenter) - layout.addStretch(1) - - self.other = QLabel('Selected Date:', self) - layout.addWidget(self.other, 0) - layout.addWidget(self.dateDisplay, 2) - - self.connect(self.datePicker, SIGNAL('dateChanged(QDate)'), - self.dateDisplay.setDate) - diff --git a/python/pykde/examples/pykde-sampler/basic_widgets/historycombo.py b/python/pykde/examples/pykde-sampler/basic_widgets/historycombo.py deleted file mode 100644 index aa35b53f..00000000 --- a/python/pykde/examples/pykde-sampler/basic_widgets/historycombo.py +++ /dev/null @@ -1,53 +0,0 @@ -from qt import Qt, QFrame, QHBoxLayout, QVBoxLayout, QStringList, QLabel, \ - SIGNAL, SLOT -from kdeui import KHistoryCombo, KTextEdit - - -iconName = 'history' -labelText = 'KHistoryCombo' -docParts = ('kdeui', 'KHistoryCombo') -helpText = ('An example of the KHistoryCombo widget.' - '\n\n' - 'Completion is enabled via the setHistoryItems call; when the second ' - 'parameter is True, matching items from the list appear as you type.' - '\n\n' - 'The activated signal is connected to the addToHistory ' - 'slot to automatically add new items.') - - -historyText = 'a quick brown fox jumps over the lazy dog' - - -class MainFrame(QFrame): - def __init__(self, parent=None): - QFrame.__init__(self, parent) - self.help = KTextEdit(helpText, '', self) - self.historyCombo = KHistoryCombo(self) - - self.historySelectionLabel = QLabel('Selected value: ', self) - self.historySelection = QLabel('(none)', self) - - items = QStringList() - for item in historyText.split(): - items.append(item) - self.historyCombo.setHistoryItems(items, True) - - layout = QVBoxLayout(self, 4) - layout.addWidget(self.help, 3) - layout.addStretch(1) - selectionLayout = QHBoxLayout(layout, 4) - selectionLayout.addWidget(self.historySelectionLabel, 1) - selectionLayout.addWidget(self.historySelection, 10, Qt.AlignLeft) - layout.addWidget(self.historyCombo, 0) - layout.addStretch(10) - - self.connect(self.historyCombo, SIGNAL('activated(const QString& )'), - self.historyCombo, SLOT('addToHistory(const QString&)')) - self.connect(self.historyCombo, SIGNAL('cleared()'), - self.historyCleared) - self.connect(self.historyCombo, SIGNAL('activated(const QString &)'), - self.historySelection.setText) - - def historyCleared(self): - print 'History combo cleared.' - diff --git a/python/pykde/examples/pykde-sampler/contributors.txt b/python/pykde/examples/pykde-sampler/contributors.txt deleted file mode 100644 index 18b9a81f..00000000 --- a/python/pykde/examples/pykde-sampler/contributors.txt +++ /dev/null @@ -1,4 +0,0 @@ -# author, contributions, email -Phil Thompson, For PyQt and SIP, phil@riverbankcomputing.co.uk -Jim Bublitz, For PyKDE, jbublitz@nwinternet.com - diff --git a/python/pykde/examples/pykde-sampler/dialogs/__init__.py b/python/pykde/examples/pykde-sampler/dialogs/__init__.py deleted file mode 100644 index c6f70f9c..00000000 --- a/python/pykde/examples/pykde-sampler/dialogs/__init__.py +++ /dev/null @@ -1,18 +0,0 @@ -labelText = 'Dialog Boxes' -iconName = 'launch' - - -helpText = ("KDE provides a convenient set of dialog boxes for application use. " - "Select the children of this item to see for yourself.") - - -from qt import QFrame, QVBoxLayout -from kdeui import KTextEdit - - -class MainFrame(QFrame): - def __init__(self, parent=None): - QFrame.__init__(self, parent) - layout = QVBoxLayout(self) - self.text = KTextEdit(helpText, '', self) - layout.addWidget(self.text, 1) diff --git a/python/pykde/examples/pykde-sampler/dialogs/about/__init__.py b/python/pykde/examples/pykde-sampler/dialogs/about/__init__.py deleted file mode 100644 index 4c40da7b..00000000 --- a/python/pykde/examples/pykde-sampler/dialogs/about/__init__.py +++ /dev/null @@ -1,16 +0,0 @@ -labelText = 'About Dialogs' -iconName = 'info' - -helpText = ("KDE has multiple dialog types to display information about your " -"applicaiton and environment. They provide a tremendous amount of functionality " -"and consistency. They're easy to use, and they're good for the environment!") - -from qt import QFrame, QVBoxLayout -from kdeui import KTextEdit - -class MainFrame(QFrame): - def __init__(self, parent=None): - QFrame.__init__(self, parent) - layout = QVBoxLayout(self) - self.text = KTextEdit(helpText, '', self) - layout.addWidget(self.text, 1) diff --git a/python/pykde/examples/pykde-sampler/dialogs/about/aboutapp.py b/python/pykde/examples/pykde-sampler/dialogs/about/aboutapp.py deleted file mode 100644 index afdd71a9..00000000 --- a/python/pykde/examples/pykde-sampler/dialogs/about/aboutapp.py +++ /dev/null @@ -1,29 +0,0 @@ -iconName = 'about_kde' -labelText = 'KAboutApplication' - -from qt import QFrame, QHBoxLayout, QVBoxLayout, SIGNAL -from kdecore import i18n -from kdeui import KAboutApplication, KPushButton, KTextEdit - - -helpText = ("Typically available via the applications 'Help' menu, this " - "dialog presents the user with the applications About widget.") - -docParts = ('kdeui', 'KAboutDialog') - -class MainFrame(QFrame): - def __init__(self, parent=None): - QFrame.__init__(self, parent) - self.button = KPushButton(i18n('About Application'), self) - self.help = KTextEdit(helpText, '', self) - layout = QVBoxLayout(self, 4) - layout.addWidget(self.help) - buttonlayout = QHBoxLayout(layout, 4) - buttonlayout.addWidget(self.button) - buttonlayout.addStretch(1) - layout.addStretch(1) - self.connect(self.button, SIGNAL('clicked()'), self.showAboutDialog) - - def showAboutDialog(self): - dlg = KAboutApplication(self) - dlg.show() diff --git a/python/pykde/examples/pykde-sampler/dialogs/about/aboutkde.py b/python/pykde/examples/pykde-sampler/dialogs/about/aboutkde.py deleted file mode 100644 index 9c73f9d4..00000000 --- a/python/pykde/examples/pykde-sampler/dialogs/about/aboutkde.py +++ /dev/null @@ -1,28 +0,0 @@ -iconName = 'about_kde' -labelText = 'KAboutKDE' - -from qt import QFrame, QHBoxLayout, QVBoxLayout, SIGNAL -from kdecore import i18n -from kdeui import KAboutKDE, KPushButton, KTextEdit - - -helpText = ("Typically available via the applications 'Help' menu, this " - "dialog presents the user with the standard KDE About dialog.") - - -class MainFrame(QFrame): - def __init__(self, parent=None): - QFrame.__init__(self, parent) - self.button = KPushButton(i18n('About KDE'), self) - self.help = KTextEdit(helpText, '', self) - layout = QVBoxLayout(self, 4) - layout.addWidget(self.help) - buttonlayout = QHBoxLayout(layout, 4) - buttonlayout.addWidget(self.button) - buttonlayout.addStretch(1) - layout.addStretch(1) - self.connect(self.button, SIGNAL('clicked()'), self.showAboutDialog) - - def showAboutDialog(self): - dlg = KAboutKDE(self) - dlg.show() diff --git a/python/pykde/examples/pykde-sampler/dialogs/bugreport.py b/python/pykde/examples/pykde-sampler/dialogs/bugreport.py deleted file mode 100644 index 6c411650..00000000 --- a/python/pykde/examples/pykde-sampler/dialogs/bugreport.py +++ /dev/null @@ -1,34 +0,0 @@ -iconName = 'core' -labelText = 'KBugReport' - -##~ if we wanted to, we could define the name of a KDE class used for lookup of -##~ the documentation url. The 'labelText' string above already -##~ specifies what we want. -##~ docItemName = 'KBugReport' - -from qt import QFrame, QHBoxLayout, QVBoxLayout, SIGNAL -from kdecore import i18n -from kdeui import KAboutDialog, KPushButton, KBugReport, KTextEdit - - -helpText = ("KDE provides a way to report bugs from applications. This dialog" - "is typically available from the application 'Help' menu.") - - -class MainFrame(QFrame): - def __init__(self, parent=None): - QFrame.__init__(self, parent) - self.button = KPushButton(i18n('Show Bug Report Dialog'), self) - self.help = KTextEdit(helpText, '', self) - layout = QVBoxLayout(self, 4) - layout.addWidget(self.help) - buttonlayout = QHBoxLayout(layout, 4) - buttonlayout.addWidget(self.button) - buttonlayout.addStretch(1) - layout.addStretch(1) - self.connect(self.button, SIGNAL('clicked()'), self.showBugDialog) - - - def showBugDialog(self): - dlg = KBugReport(self) - dlg.exec_loop() diff --git a/python/pykde/examples/pykde-sampler/dialogs/color.py b/python/pykde/examples/pykde-sampler/dialogs/color.py deleted file mode 100644 index b749cce4..00000000 --- a/python/pykde/examples/pykde-sampler/dialogs/color.py +++ /dev/null @@ -1,42 +0,0 @@ -iconName = 'colorize' -labelText = 'KColorDialog' - - -from qt import QFrame, QHBoxLayout, QVBoxLayout, SIGNAL -from kdecore import i18n -from kdeui import KPushButton, KColorDialog, KColorPatch, KTextEdit - - -helpText = ("KDE provides a nifty common color selection dialog." - "The color selection in the dialog is tracked via a SIGNAL " - "connected to the KColorPatch area below.") - - -class MainFrame(QFrame): - def __init__(self, parent=None): - QFrame.__init__(self, parent) - self.button = KPushButton(i18n('Show Color Dialog'), self) - self.help = KTextEdit(helpText, '', self) - self.patch = KColorPatch(self) - layout = QVBoxLayout(self, 4) - layout.addWidget(self.help) - buttonlayout = QHBoxLayout(layout, 4) - buttonlayout.addWidget(self.button) - buttonlayout.addStretch(1) - layout.addWidget(self.patch, 10) - layout.addStretch(1) - self.connect(self.button, SIGNAL('clicked()'), self.showColorDialog) - - def showColorDialog(self): - dlg = KColorDialog(self) - - ## this connection is made so that there's a default color - self.connect(dlg, SIGNAL('colorSelected(const QColor &)'), - self.patch.setPaletteBackgroundColor) - dlg.setColor(self.patch.paletteBackgroundColor()) - - ## this connection is the one that changes the patch color to match - ## the color selected in the dialog - self.connect(dlg, SIGNAL('colorSelected(const QColor &)'), - self.patch.setColor) - dlg.exec_loop() diff --git a/python/pykde/examples/pykde-sampler/dialogs/config.py b/python/pykde/examples/pykde-sampler/dialogs/config.py deleted file mode 100644 index 74454ab0..00000000 --- a/python/pykde/examples/pykde-sampler/dialogs/config.py +++ /dev/null @@ -1,59 +0,0 @@ - -from qt import QFrame, QHBoxLayout, QVBoxLayout, QTimer, SIGNAL, QString -from kdecore import i18n, KConfigSkeleton -from kdeui import KPushButton, KConfigDialog, KTextEdit - -iconName = 'configure' -labelText = 'KConfigDialog' -docParts = ('kdeui', 'KConfigDialog') -helpText = ("") - - -class SampleSettings(KConfigSkeleton): - def __init__(self): - KConfigSkeleton.__init__(self) - self.anyString = QString() - - self.setCurrentGroup("Strings") - self.addItemString("Test", self.anyString, "Default Value") - - self.setCurrentGroup("Booleans") - self.addItemBool("Any Bool", False) - - -class MainFrame(QFrame): - def __init__(self, parent=None): - QFrame.__init__(self, parent) - self.button = KPushButton(i18n('Show Config Dialog'), self) - self.help = KTextEdit(helpText, '', self) - - layout = QVBoxLayout(self, 4) - layout.addWidget(self.help) - buttonlayout = QHBoxLayout(layout, 4) - buttonlayout.addWidget(self.button) - buttonlayout.addStretch(1) - layout.addStretch(1) - self.connect(self.button, SIGNAL('clicked()'), self.showConfigDialog) - - - def showConfigDialog(self): - config = SampleSettings() - dlg = KConfigDialog(self, 'Sampler Config', config) - self.strings = StringsSettings(self) - self.bools = BoolSettings(self) - dlg.addPage(self.strings, 'Strings', 'Strings') - dlg.addPage(self.bools, 'Bools', 'Bools') - dlg.exec_loop() - - -class StringsSettings(QFrame): - def __init__(self, parent=None): - QFrame.__init__(self, parent) - self.text = KTextEdit('A String', '', self) - - -class BoolSettings(QFrame): - def __init__(self, parent=None): - QFrame.__init__(self, parent) - self.text = KTextEdit('A Bool', '', self) - diff --git a/python/pykde/examples/pykde-sampler/dialogs/edfind.py b/python/pykde/examples/pykde-sampler/dialogs/edfind.py deleted file mode 100644 index 685902e0..00000000 --- a/python/pykde/examples/pykde-sampler/dialogs/edfind.py +++ /dev/null @@ -1,52 +0,0 @@ - -from qt import QFrame, QHBoxLayout, QVBoxLayout, QTimer, SIGNAL, QFont, QString -from kdecore import i18n -from kdeui import KPushButton, KEdFind, KTextEdit - -iconName = 'find' -labelText = 'KEdFind' -docParts = ('kdeui', 'KEdFind') -helpText = ("An example of the KEdFind dialog.") - - -class MainFrame(QFrame): - def __init__(self, parent=None): - QFrame.__init__(self, parent) - self.button = KPushButton(i18n('Show Edit Find Dialog'), self) - self.help = KTextEdit(helpText, '', self) - - layout = QVBoxLayout(self, 4) - layout.addWidget(self.help) - buttonlayout = QHBoxLayout(layout, 4) - buttonlayout.addWidget(self.button) - buttonlayout.addStretch(1) - layout.addStretch(1) - self.connect(self.button, SIGNAL('clicked()'), self.showEdFind) - - - def showEdFind(self): - dlg = self.dlg = KEdFind(self) - self.connect(dlg, SIGNAL('done()'), - self.doneClicked) - self.connect(dlg, SIGNAL('search()'), - self.searchClicked) - dlg.exec_loop() - - - def doneClicked(self): - print 'done searching' - - def searchClicked(self): - print 'searching: ', self.dlg.getText(), - if self.dlg.get_direction(): - print '(backwards) ', - else: - print '(forwards) ', - if self.dlg.case_sensitive(): - print '(case-sensitive)' - else: - print '(case-insensitive)' - - - - diff --git a/python/pykde/examples/pykde-sampler/dialogs/edreplace.py b/python/pykde/examples/pykde-sampler/dialogs/edreplace.py deleted file mode 100644 index df956141..00000000 --- a/python/pykde/examples/pykde-sampler/dialogs/edreplace.py +++ /dev/null @@ -1,52 +0,0 @@ -from qt import QFrame, QHBoxLayout, QVBoxLayout, QTimer, SIGNAL, QFont, QString -from kdecore import i18n -from kdeui import KPushButton, KEdReplace, KTextEdit - -iconName = 'findreplace' -labelText = 'KEdReplace' -docParts = ('kdeui', 'KEdReplace') -helpText = ("An example of the KEdReplace dialog.") - - -class MainFrame(QFrame): - def __init__(self, parent=None): - QFrame.__init__(self, parent) - self.button = KPushButton(i18n('Show Edit Find Dialog'), self) - self.help = KTextEdit(helpText, '', self) - - layout = QVBoxLayout(self, 4) - layout.addWidget(self.help) - buttonlayout = QHBoxLayout(layout, 4) - buttonlayout.addWidget(self.button) - buttonlayout.addStretch(1) - layout.addStretch(1) - self.connect(self.button, SIGNAL('clicked()'), self.showEdReplace) - - - def showEdReplace(self): - dlg = self.dlg = KEdReplace(self) - self.connect(dlg, SIGNAL('done()'), - self.doneClicked) - self.connect(dlg, SIGNAL('replace()'), - self.replaceClicked) - dlg.exec_loop() - - - def doneClicked(self): - print 'done replacing' - - def replaceClicked(self): - print 'replacing: ', self.dlg.getText() - return - if self.dlg.get_direction(): - print '(backwards) ', - else: - print '(forwards) ', - if self.dlg.case_sensitive(): - print '(case-sensitive)' - else: - print '(case-insensitive)' - - - - diff --git a/python/pykde/examples/pykde-sampler/dialogs/font.py b/python/pykde/examples/pykde-sampler/dialogs/font.py deleted file mode 100644 index ae2189e5..00000000 --- a/python/pykde/examples/pykde-sampler/dialogs/font.py +++ /dev/null @@ -1,53 +0,0 @@ - -from qt import QFrame, QHBoxLayout, QVBoxLayout, QTimer, SIGNAL, QFont, QString -from kdecore import i18n -from kdeui import KPushButton, KFontDialog, KTextEdit - -iconName = 'fonts' -labelText = 'KFontDialog' -docParts = ('kdeui', 'KFontDialog') -helpText = ("KDE provides a font dialog box for users to select (can you " - "guess??) fonts. The button below displays a font dialog box. " - "The font of this widget (the text widget you're reading) is used " - "as the default. If the dialog is accepted, the font of this " - "widget is change to match the selection.") - - -fontText = """Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Etiam -ante. Nam in mauris. Vestibulum ante velit, condimentum vel, congue -sit amet, lobortis a, dui. Fusce auctor, quam non pretium nonummy, leo -ante imperdiet libero, id lobortis erat erat quis eros. Pellentesque -habitant morbi tristique senectus et netus et malesuada fames ac -turpis egestas. Cras ut metus. Vivamus suscipit, sapien id tempor -elementum, nunc quam malesuada dolor, sit amet luctus sapien odio vel -ligula. Integer scelerisque, risus a interdum vestibulum, felis ipsum -pharetra eros, nec nonummy libero justo quis risus. Vestibulum -tincidunt, augue vitae suscipit congue, sem dui adipiscing nulla, ut -nonummy arcu quam ac sem. Nulla in metus. Phasellus neque. -""" - - -class MainFrame(QFrame): - def __init__(self, parent=None): - QFrame.__init__(self, parent) - self.button = KPushButton(i18n('Show Font Dialog'), self) - self.help = KTextEdit(helpText, '', self) - self.example = KTextEdit(fontText, '', self) - - layout = QVBoxLayout(self, 4) - layout.addWidget(self.help) - buttonlayout = QHBoxLayout(layout, 4) - buttonlayout.addWidget(self.button) - buttonlayout.addStretch(1) - layout.addWidget(self.example, 10) - layout.addStretch(1) - self.connect(self.button, SIGNAL('clicked()'), self.showFontDialog) - - - def showFontDialog(self): - font = QFont(self.example.font()) - string = QString() - accepted, other = KFontDialog.getFontAndText(font, string, False, self) - if accepted: - self.example.setFont(font) - self.example.setText(string) diff --git a/python/pykde/examples/pykde-sampler/dialogs/input.py b/python/pykde/examples/pykde-sampler/dialogs/input.py deleted file mode 100644 index 30edc6fb..00000000 --- a/python/pykde/examples/pykde-sampler/dialogs/input.py +++ /dev/null @@ -1,87 +0,0 @@ -iconName = 'editclear' -labelText = 'KInputDialog' - -from qt import QFrame, QGridLayout, QLabel, QStringList, SIGNAL -from kdecore import i18n -from kdeui import KPushButton, KInputDialog, KTextEdit - - -helpText = ("KInputDialog allows the programmer to display a simple dialog to " - "request a bit of text, an integer value, a double value, or a " - "list item from the user.") - - -class MainFrame(QFrame): - items = ['Apples', 'Bananas', 'Mangos', 'Oranges', 'Pears', ] - - def __init__(self, parent=None): - QFrame.__init__(self, parent) - self.help = KTextEdit(helpText, '', self) - - layout = QGridLayout(self, 5, 2, 4) # five rows, two cols, four px spacing - layout.setRowStretch(0, 10) - layout.setColStretch(1, 10) - layout.addMultiCellWidget(self.help, 0, 1, 0, 1) - - button = KPushButton(i18n('Get Text'), self) - self.connect(button, SIGNAL('clicked()'), self.getText) - self.getTextLabel = QLabel('text value', self) - layout.addWidget(button, 2, 0) - layout.addWidget(self.getTextLabel, 2, 1) - layout.setRowStretch(2, 0) - - button = KPushButton(i18n('Get Integer'), self) - self.connect(button, SIGNAL('clicked()'), self.getInt) - self.getIntLabel = QLabel('0', self) - layout.addWidget(self.getIntLabel, 3, 1) - layout.addWidget(button, 3, 0) - layout.setRowStretch(3, 0) - - button = KPushButton(i18n('Get Double'), self) - self.connect(button, SIGNAL('clicked()'), self.getDouble) - self.getDoubleLabel = QLabel('0.0', self) - layout.addWidget(self.getDoubleLabel, 4, 1) - layout.addWidget(button, 4, 0) - layout.setRowStretch(4, 0) - - button = KPushButton(i18n('Get Item'), self) - self.connect(button, SIGNAL('clicked()'), self.getItem) - self.getItemLabel = QLabel(self.items[0], self) - layout.addWidget(button, 5, 0) - layout.addWidget(self.getItemLabel, 5, 1) - layout.setRowStretch(5, 0) - - def getText(self): - title = 'KInputDialog.getText Dialog' - label = 'Enter some text:' - default = self.getTextLabel.text() - value, accepted = KInputDialog.getText(title, label, default) - if accepted: - self.getTextLabel.setText(value) - - def getInt(self): - title = 'KInputDialog.getInteger Dialog' - label = 'Enter an integer:' - default = int('%s' % self.getIntLabel.text()) - value, accepted = KInputDialog.getInteger(title, label, default) - if accepted: - self.getIntLabel.setText('%s' % value) - - def getDouble(self): - title = 'KInputDialog.getDouble Dialog' - label = 'Enter a double:' - default = float('%s' % self.getDoubleLabel.text()) - value, accepted = KInputDialog.getDouble(title, label, default, -10.0, 10.0) - if accepted: - self.getDoubleLabel.setText('%s' % value) - - def getItem(self): - title = 'KInputDialog.getItem Dialog' - label = 'Select an item:' - current = self.items.index('%s' % self.getItemLabel.text()) - selections = QStringList() - for item in self.items: - selections.append(item) - value, accepted = KInputDialog.getItem(title, label, selections, current) - if accepted: - self.getItemLabel.setText('%s' % value) diff --git a/python/pykde/examples/pykde-sampler/dialogs/key.py b/python/pykde/examples/pykde-sampler/dialogs/key.py deleted file mode 100644 index 4c437da2..00000000 --- a/python/pykde/examples/pykde-sampler/dialogs/key.py +++ /dev/null @@ -1,29 +0,0 @@ -iconName = 'configure_shortcuts' -labelText = 'KKeyDialog' - -from qt import QFrame, QHBoxLayout, QVBoxLayout, SIGNAL -from kdecore import i18n -from kdeui import KPushButton, KKeyDialog, KTextEdit - - -helpText = ("Configuring keystroke shortcuts is simple with KActions and the " - "KKeyDialog type. This sample starts the KKeyDialog for the " - "sampler application.") - - -class MainFrame(QFrame): - def __init__(self, parent=None): - QFrame.__init__(self, parent) - self.button = KPushButton(i18n('Show Key Configuration Dialog'), self) - self.help = KTextEdit(helpText, '', self) - layout = QVBoxLayout(self, 4) - layout.addWidget(self.help) - buttonlayout = QHBoxLayout(layout, 4) - buttonlayout.addWidget(self.button) - buttonlayout.addStretch(1) - layout.addStretch(1) - self.connect(self.button, SIGNAL('clicked()'), self.showKeysDialog) - - def showKeysDialog(self): - top = self.topLevelWidget() - KKeyDialog.configure(top.actionCollection(), self) diff --git a/python/pykde/examples/pykde-sampler/dialogs/msgbox.py b/python/pykde/examples/pykde-sampler/dialogs/msgbox.py deleted file mode 100644 index a0b3c9a3..00000000 --- a/python/pykde/examples/pykde-sampler/dialogs/msgbox.py +++ /dev/null @@ -1,141 +0,0 @@ -iconName = 'stop' -labelText = 'KMessageBox' - -from random import random -from traceback import print_exc -from StringIO import StringIO - -from qt import QFrame, QGridLayout, QLabel, QStringList, SIGNAL -from kdecore import i18n -from kdeui import KGuiItem, KPushButton, KMessageBox, KTextEdit - - -helpText = ("The KMessageBox Python class wraps the static methods of its C++ " - "counterpart. Some of these methods are used below. Refer to the " - "docs for KMessageBox for a full list.") - - -class MainFrame(QFrame): - msg = 'Do you like food?' - caption = 'Simple Question' - err = 'Some kind of error happened, but it could be worse!' - info = 'Always wash your hands after eating.' - items = ['Apples', 'Bananas', 'Cantaloupe', 'Mangos', 'Oranges', 'Pears', ] - - def __init__(self, parent=None): - QFrame.__init__(self, parent) - items = QStringList() - for item in self.items: - items.append(item) - self.items = items - - responses = 'Ok Cancel Yes No Continue'.split() - responses = [(getattr(KMessageBox, res), res) for res in responses] - self.responses = dict(responses) - - self.help = KTextEdit(helpText, '', self) - - layout = QGridLayout(self, 5, 2, 4) - layout.setRowStretch(0, 10) - layout.setColStretch(1, 10) - layout.addMultiCellWidget(self.help, 0, 1, 0, 1) - - button = KPushButton(i18n('Question Yes-No'), self) - self.connect(button, SIGNAL('clicked()'), self.questionYesNo) - layout.addWidget(button, 2, 0) - layout.setRowStretch(2, 0) - - button = KPushButton(i18n('Warning Yes-No-Cancel'), self) - self.connect(button, SIGNAL('clicked()'), self.warningYesNoCancel) - layout.addWidget(button, 3, 0) - layout.setRowStretch(3, 0) - - button = KPushButton(i18n('Warning Continue-Cancel-List'), self) - self.connect(button, SIGNAL('clicked()'), self.warningContinueCancelList) - layout.addWidget(button, 4, 0) - layout.setRowStretch(4, 0) - - button = KPushButton(i18n('Error'), self) - self.connect(button, SIGNAL('clicked()'), self.error) - layout.addWidget(button, 5, 0) - layout.setRowStretch(5, 0) - - button = KPushButton(i18n('Detailed Error'), self) - self.connect(button, SIGNAL('clicked()'), self.detailedError) - layout.addWidget(button, 6, 0) - layout.setRowStretch(6, 0) - - button = KPushButton(i18n('Sorry'), self) - self.connect(button, SIGNAL('clicked()'), self.sorry) - layout.addWidget(button, 7, 0) - layout.setRowStretch(7, 0) - - button = KPushButton(i18n('Detailed Sorry'), self) - self.connect(button, SIGNAL('clicked()'), self.detailedSorry) - layout.addWidget(button, 8, 0) - layout.setRowStretch(8, 0) - - button = KPushButton(i18n('Information'), self) - self.connect(button, SIGNAL('clicked()'), self.information) - layout.addWidget(button, 9, 0) - layout.setRowStretch(9, 0) - - button = KPushButton(i18n('Information List'), self) - self.connect(button, SIGNAL('clicked()'), self.informationList) - layout.addWidget(button, 10, 0) - layout.setRowStretch(10, 0) - - def questionYesNo(self): - dlg = KMessageBox.questionYesNo(self, self.msg, self.caption) - print 'You pressed "%s"' % (self.responses.get(dlg, dlg), ) - - def warningYesNoCancel(self): - dlg = KMessageBox.warningYesNoCancel(self, self.msg, self.caption) - print 'You pressed "%s"' % (self.responses.get(dlg, dlg), ) - - def warningContinueCancelList(self): - uiitem = KGuiItem('Time to Eat', 'favorites') - ctor = KMessageBox.warningContinueCancelList - dlgid = '%s' % random() - args = self, self.msg, self.items, self.caption, uiitem, dlgid - dlg = ctor(*args) - print 'You pressed "%s"' % (self.responses.get(dlg, dlg), ) - - def error(self): - dlg = KMessageBox.error(self, self.err) - print 'You pressed "%s"' % (self.responses.get(dlg, dlg), ) - - def detailedError(self): - try: - x = self.thisAttributeDoesNotExist - except (AttributeError, ), ex: - handle = StringIO() - print_exc(0, handle) - details = handle.getvalue() - dlg = KMessageBox.detailedError(self, self.err, details) - print 'You pressed "%s"' % (self.responses.get(dlg, dlg), ) - - def sorry(self): - dlg = KMessageBox.sorry(self, self.err) - print 'You pressed "%s"' % (self.responses.get(dlg, dlg), ) - - def detailedSorry(self): - try: - x = self.thisAttributeDoesNotExist - except (AttributeError, ), ex: - handle = StringIO() - print_exc(0, handle) - details = handle.getvalue() - dlg = KMessageBox.detailedSorry(self, self.err, details) - print 'You pressed "%s"' % (self.responses.get(dlg, dlg), ) - - def information(self): - dlgid = '%s' % random() - dlg = KMessageBox.information(self, self.info, '', dlgid) - print 'You pressed "%s"' % (self.responses.get(dlg, dlg), ) - - def informationList(self): - dlgid = '%s' % random() - ctor = KMessageBox.informationList - dlg = ctor(self, self.info, self.items, '', dlgid) - print 'You pressed "%s"' % (self.responses.get(dlg, dlg), ) diff --git a/python/pykde/examples/pykde-sampler/dialogs/passwd.py b/python/pykde/examples/pykde-sampler/dialogs/passwd.py deleted file mode 100644 index 554093b9..00000000 --- a/python/pykde/examples/pykde-sampler/dialogs/passwd.py +++ /dev/null @@ -1,34 +0,0 @@ -from qt import QFrame, QHBoxLayout, QVBoxLayout, SIGNAL -from kdecore import i18n -from kdeui import KPushButton, KPasswordDialog, KTextEdit - -iconName = 'password' -labelText = 'KPasswordDialog' -docParts = ('kdeui', 'KPasswordDialog') -helpText = ("KDE provides two variations on the password dialog. The simple " - "one shown here prompts for a password. The other type allows the " - "user to enter a new password, and provides a second field to " - "confirm the first entry.") - - -class MainFrame(QFrame): - def __init__(self, parent=None): - QFrame.__init__(self, parent) - self.button = KPushButton(i18n('Show Password Dialog'), self) - self.help = KTextEdit(helpText, '', self) - layout = QVBoxLayout(self, 4) - layout.addWidget(self.help) - buttonlayout = QHBoxLayout(layout, 4) - buttonlayout.addWidget(self.button) - buttonlayout.addStretch(1) - layout.addStretch(1) - self.connect(self.button, SIGNAL('clicked()'), self.showPasswordDialog) - - - def showPasswordDialog(self): - old = 'foo bar baz' - prompt = "Enter your super-secret password (enter anything, it's just an example):" - result = KPasswordDialog.getPassword(old, prompt) - if result == KPasswordDialog.Accepted: - pass - diff --git a/python/pykde/examples/pykde-sampler/dialogs/progress.py b/python/pykde/examples/pykde-sampler/dialogs/progress.py deleted file mode 100644 index ba85b8eb..00000000 --- a/python/pykde/examples/pykde-sampler/dialogs/progress.py +++ /dev/null @@ -1,39 +0,0 @@ -iconName = 'go' -labelText = 'KProgressDialog' - - -from qt import QFrame, QHBoxLayout, QVBoxLayout, QTimer, SIGNAL -from kdecore import i18n -from kdeui import KPushButton, KProgressDialog, KTextEdit - - -helpText = """KDE provides a ready-built dialog to display a bit of text and a -progress bar.""" - - -class MainFrame(QFrame): - def __init__(self, parent=None): - QFrame.__init__(self, parent) - self.button = KPushButton(i18n('Show Progress Dialog'), self) - self.help = KTextEdit(helpText, '', self) - layout = QVBoxLayout(self, 4) - layout.addWidget(self.help) - buttonlayout = QHBoxLayout(layout, 4) - buttonlayout.addWidget(self.button) - buttonlayout.addStretch(1) - layout.addStretch(1) - self.connect(self.button, SIGNAL('clicked()'), self.showProgressDialog) - - def showProgressDialog(self): - self.dlg = dlg = KProgressDialog(self, None, 'Sample Progress Dialog', - helpText) - dlg.progressBar().setTotalSteps(20) - dlg.progressBar().setFormat('% complete: %p - value: %v - maximum: %m') - timer = QTimer(self) - self.connect(timer, SIGNAL('timeout()'), self.updateProgress) - timer.start(250, False) - dlg.exec_loop() - timer.stop() - - def updateProgress(self): - self.dlg.progressBar().advance(1) diff --git a/python/pykde/examples/pykde-sampler/dialogs/tip.py b/python/pykde/examples/pykde-sampler/dialogs/tip.py deleted file mode 100644 index 29ac66b7..00000000 --- a/python/pykde/examples/pykde-sampler/dialogs/tip.py +++ /dev/null @@ -1,31 +0,0 @@ -iconName = 'idea' -labelText = 'KTipDialog' - -import os - -from qt import QFrame, QHBoxLayout, QVBoxLayout, SIGNAL -from kdecore import i18n -from kdeui import KPushButton, KTipDatabase, KTipDialog, KTextEdit - - -helpText = ("The KDE standard Tip-of-the-Day dialog.") - - -class MainFrame(QFrame): - def __init__(self, parent=None): - QFrame.__init__(self, parent) - self.button = KPushButton(i18n('Show Tip-of-the-Day Dialog'), self) - self.help = KTextEdit(helpText, '', self) - layout = QVBoxLayout(self, 4) - layout.addWidget(self.help) - buttonlayout = QHBoxLayout(layout, 4) - buttonlayout.addWidget(self.button) - buttonlayout.addStretch(1) - layout.addStretch(1) - self.connect(self.button, SIGNAL('clicked()'), self.showTipDialog) - - def showTipDialog(self): - filename = os.path.abspath(os.path.join(os.path.dirname(__file__), 'tips')) - tips = KTipDatabase(filename) - dlg = KTipDialog(tips, self) - dlg.exec_loop() diff --git a/python/pykde/examples/pykde-sampler/dialogs/tips b/python/pykde/examples/pykde-sampler/dialogs/tips deleted file mode 100644 index 9f24457a..00000000 --- a/python/pykde/examples/pykde-sampler/dialogs/tips +++ /dev/null @@ -1,24 +0,0 @@ - - - -

Don't tug on Superman's cape.

- -
- - - -

Don't spit into the wind.

- -
- - - -

Don't pull the mask off the Lone Ranger.

- -
- - - -

And don't mess around with Jim!

- -
diff --git a/python/pykde/examples/pykde-sampler/gen_todo.py b/python/pykde/examples/pykde-sampler/gen_todo.py deleted file mode 100644 index 02d73dec..00000000 --- a/python/pykde/examples/pykde-sampler/gen_todo.py +++ /dev/null @@ -1,19 +0,0 @@ -mods = ['dcop', 'kdecore', 'kdefx', 'kdeprint', 'kdesu', 'kdeui', 'kfile', 'khtml', 'kio', 'kmdi', 'kparts', 'kspell', ] -all = [] - - -print 'Module,Item,Path,Contributor' -for mod in mods: - module = __import__(mod) - items = dir(module) - items.sort() - items = [item for item in items if not item.startswith('_')] - items = [item for item in items if not item in all] - - for item in items: - all.append(item) - print '%s,%s,,,' % (mod, item, ) - - - - diff --git a/python/pykde/examples/pykde-sampler/icon_handling/__init__.py b/python/pykde/examples/pykde-sampler/icon_handling/__init__.py deleted file mode 100644 index f25a8f09..00000000 --- a/python/pykde/examples/pykde-sampler/icon_handling/__init__.py +++ /dev/null @@ -1,18 +0,0 @@ -labelText = 'Icons' -iconName = 'icons' - - -helpText = ("KDE icons are nice. " - "Select the children of this item to see for yourself.") - - -from qt import QFrame, QVBoxLayout -from kdeui import KTextEdit - - -class MainFrame(QFrame): - def __init__(self, parent=None): - QFrame.__init__(self, parent) - layout = QVBoxLayout(self) - self.text = KTextEdit(helpText, '', self) - layout.addWidget(self.text, 1) diff --git a/python/pykde/examples/pykde-sampler/icon_handling/misc.py b/python/pykde/examples/pykde-sampler/icon_handling/misc.py deleted file mode 100644 index 4c7f4259..00000000 --- a/python/pykde/examples/pykde-sampler/icon_handling/misc.py +++ /dev/null @@ -1,31 +0,0 @@ - -iconName = 'icons' -labelText = 'Misc.' - - -from qt import QFrame, QHBoxLayout, QVBoxLayout, SIGNAL, QPoint -from kdecore import i18n -from kdeui import KAboutDialog, KPushButton, KBugReport, KTextEdit -from kdeui import KRootPermsIcon, KWritePermsIcon - - -helpText = ("Samples for the KRootPermsIcon and KWritePermsIcon classes." - "These icons don't do anything.") - - -class MainFrame(QFrame): - def __init__(self, parent=None): - QFrame.__init__(self, parent) - - layout = QVBoxLayout(self, 4) - layout.setAutoAdd(True) - - self.help = KTextEdit(helpText, '', self) - self.root = KRootPermsIcon(None) - self.root.reparent(self, 0, QPoint(0,0), True) - - import os - fn = os.path.abspath('.') - print fn - self.write = KWritePermsIcon(fn) - self.write.reparent(self, 0, QPoint(0,0), True) diff --git a/python/pykde/examples/pykde-sampler/icon_handling/sizes.py b/python/pykde/examples/pykde-sampler/icon_handling/sizes.py deleted file mode 100644 index b3f5e1c2..00000000 --- a/python/pykde/examples/pykde-sampler/icon_handling/sizes.py +++ /dev/null @@ -1,30 +0,0 @@ - -iconName = 'icons' -labelText = 'Icon Sizing' - - -from qt import QFrame, QHBoxLayout, QVBoxLayout, SIGNAL -from kdecore import i18n -from kdeui import KAboutDialog, KPushButton, KBugReport, KTextEdit - - -helpText = ("") - - -class MainFrame(QFrame): - def __init__(self, parent=None): - QFrame.__init__(self, parent) - self.button = KPushButton(i18n('Show Bug Report Dialog'), self) - self.help = KTextEdit(helpText, '', self) - layout = QVBoxLayout(self, 4) - layout.addWidget(self.help) - buttonlayout = QHBoxLayout(layout, 4) - buttonlayout.addWidget(self.button) - buttonlayout.addStretch(1) - layout.addStretch(1) - self.connect(self.button, SIGNAL('clicked()'), self.showBugDialog) - - - def showBugDialog(self): - dlg = KBugReport(self) - dlg.exec_loop() diff --git a/python/pykde/examples/pykde-sampler/lib.py b/python/pykde/examples/pykde-sampler/lib.py deleted file mode 100644 index 875ae1ab..00000000 --- a/python/pykde/examples/pykde-sampler/lib.py +++ /dev/null @@ -1,105 +0,0 @@ -#!/usr/bin/env python -""" - -""" -import os -import sys - -from os import listdir, walk -from os.path import dirname, isdir, abspath, split, join, exists - - -samplerpath = dirname(abspath(__file__)) -packagepath, packagename = split(samplerpath) - -samplerpath += os.path.sep -packagepath += os.path.sep - - -def namedimport(name): - """ import a module given a dotted package name - - Taken directly from the Python library docs for __import __ - """ - mod = __import__(name) - components = name.split('.') - for comp in components[1:]: - mod = getattr(mod, comp) - return mod - - -def ispackage(path): - return isdir(path) and exists(join(path, '__init__.py')) - - -def ismodule(path): - head, tail = os.path.split(path) - if tail in ('__init__.py', '__init__.pyc', '__init__.pyo'): - return False - head, tail = os.path.splitext(path) - return tail in ('.py', ) # don't use these, which filters them out dupes ( '.pyc', '.pyo') - - -def listimports(top): - top = abspath(top) - yield top - for path in listdir(top): - path = join(top, path) - if ispackage(path): - yield path - for subpath in listimports(path): - yield subpath - elif ismodule(path): - yield path - - -def listmodules(): - if samplerpath not in sys.path: - sys.path.append(samplerpath) - - dirs = [join(samplerpath, d) for d in listdir(samplerpath)] - dirs = [d for d in dirs if exists(join(d, '__init__.py'))] - - modules = [] - for dirname in dirs: - dirpath = join(samplerpath, dirname) - for path in listimports(dirpath): - path = path.replace('.py', '') - path = path.replace(samplerpath, '').replace(os.path.sep, '.') - try: - module = namedimport(path) - except (ValueError, ImportError, ), exc: - print 'Exception %s importing %s' % (exc, path, ) - else: - modules.append((path, module)) - modules.sort() - return [(path, SamplerModule(module)) for path, module in modules] - - -class SamplerModule(object): - defaultIcon = 'filenew' - - - def __init__(self, module): - self.module = module - - - def name(self): - return self.module.__name__.split('.')[-1] - - - def labelText(self): - return getattr(self.module, 'labelText', self.name()) - - - def icon(self): - return getattr(self.module, 'iconName', self.defaultIcon) - - - def builder(self): - for name in ('buildWidget', 'buildDialog', 'buildApp', 'MainFrame'): - try: - return getattr(self.module, name) - except (AttributeError, ): - pass - raise AttributeError('No builder found') diff --git a/python/pykde/examples/pykde-sampler/misc/__init__.py b/python/pykde/examples/pykde-sampler/misc/__init__.py deleted file mode 100644 index b0c92086..00000000 --- a/python/pykde/examples/pykde-sampler/misc/__init__.py +++ /dev/null @@ -1,16 +0,0 @@ -labelText = 'Misc' -iconName = 'misc' - - -helpText = ("") - -from qt import QFrame, QVBoxLayout -from kdeui import KTextEdit - - -class MainFrame(QFrame): - def __init__(self, parent=None): - QFrame.__init__(self, parent) - layout = QVBoxLayout(self) - self.text = KTextEdit(helpText, '', self) - layout.addWidget(self.text, 1) diff --git a/python/pykde/examples/pykde-sampler/misc/gradientselect.py b/python/pykde/examples/pykde-sampler/misc/gradientselect.py deleted file mode 100644 index 724dd52f..00000000 --- a/python/pykde/examples/pykde-sampler/misc/gradientselect.py +++ /dev/null @@ -1,51 +0,0 @@ -from qt import QFrame, QHBoxLayout, QVBoxLayout, SIGNAL, QColor, QSizePolicy, QLabel -from kdecore import i18n -from kdeui import KPushButton, KGradientSelector, KTextEdit, KDualColorButton, KColorPatch - -iconName = 'colors' -labelText = 'KGradientSelector' -docParts = ('kdeui', 'KGradientSelector') -helpText = ("An example of the KGradientSelector widget." - "\n" - "Change the start and finish colors with the dual color button." - ) - - -class MainFrame(QFrame): - def __init__(self, parent=None): - QFrame.__init__(self, parent) - self.help = KTextEdit(helpText, '', self) - self.selector = KGradientSelector(self) - self.dualLabel = QLabel('Select Colors:', self) - - self.startColor = QColor('red') - self.finishColor = QColor('blue') - - self.selector.setColors(self.startColor, self.finishColor) - self.selector.setText('Start', 'Finish') - - self.dualButton = KDualColorButton(self.startColor, self.finishColor, self) - self.dualButton.setSizePolicy(QSizePolicy(QSizePolicy.Maximum, - QSizePolicy.Maximum)) - - layout = QVBoxLayout(self, 4) - layout.addWidget(self.help, 20) - - buttonLayout = QHBoxLayout(layout, 4) - buttonLayout.addWidget(self.dualLabel, 0) - buttonLayout.addWidget(self.dualButton, 1) - - layout.addWidget(self.selector, 10) - - - self.connect(self.dualButton, SIGNAL('fgChanged(const QColor &)'), - self.selector.setFirstColor) - self.connect(self.dualButton, SIGNAL('bgChanged(const QColor &)'), - self.selector.setSecondColor) - self.connect(self.selector, SIGNAL('valueChanged(int)'), - self.updateValue) - - - def updateValue(self, value): - ## this should be extended to update a color swatch - pass diff --git a/python/pykde/examples/pykde-sampler/misc/passivepop.py b/python/pykde/examples/pykde-sampler/misc/passivepop.py deleted file mode 100644 index 81d383af..00000000 --- a/python/pykde/examples/pykde-sampler/misc/passivepop.py +++ /dev/null @@ -1,43 +0,0 @@ -from qt import Qt, QFrame, QHBoxLayout, QVBoxLayout, QLabel, SIGNAL -from kdeui import KPassivePopup, KTextEdit, KPushButton -from kdecore import KGlobal, KIcon - -iconName = 'popup' -labelText = 'KPassivePopup' -docParts = ('kdeui', 'KPassivePopup') -helpText = ('Examples of the KPassivePopup widget.') - - -class MainFrame(QFrame): - def __init__(self, parent=None): - QFrame.__init__(self, parent) - self.help = KTextEdit(helpText, '', self) - self.button = KPushButton('Show Passive Popups', self) - - layout = QVBoxLayout(self, 4) - layout.addWidget(self.help, 10) - buttonLayout = QHBoxLayout(layout, 4) - buttonLayout.addWidget(self.button, 1) - buttonLayout.addStretch(10) - layout.addStretch(10) - - - self.connect(self.button, SIGNAL('clicked()'), self.showPopups) - - - def showPopups(self): - ## no support for all of the 3.5 calls - pop = KPassivePopup.message('Hello, KPassivePopup', self) - pop.setTimeout(3000) - pop.show() - - - pos = pop.pos() - pos.setY(pos.y() + pop.height() + 10) - - ico = KGlobal.instance().iconLoader().loadIcon('help', KIcon.NoGroup, - KIcon.SizeSmall) - pop = KPassivePopup.message('Hello', 'With Icons', ico, self) - pop.setTimeout(3000) - pop.show() - pop.move(pos) diff --git a/python/pykde/examples/pykde-sampler/misc/window_info.py b/python/pykde/examples/pykde-sampler/misc/window_info.py deleted file mode 100644 index 08bff224..00000000 --- a/python/pykde/examples/pykde-sampler/misc/window_info.py +++ /dev/null @@ -1,35 +0,0 @@ - - - -from qt import QFrame, QHBoxLayout, QVBoxLayout, SIGNAL -from kdeui import KWindowInfo, KPushButton, KTextEdit -from kdecore import i18n, KApplication - -iconName = 'misc' -labelText = 'KWindowInfo' -helpText = '' - - -class MainFrame(QFrame): - def __init__(self, parent): - QFrame.__init__(self, parent) - self.button = KPushButton(i18n('Show Message'), self) - self.help = KTextEdit(helpText, '', self) - layout = QVBoxLayout(self, 4) - layout.addWidget(self.help) - buttonlayout = QHBoxLayout(layout, 4) - buttonlayout.addWidget(self.button) - buttonlayout.addStretch(1) - layout.addStretch(1) - self.connect(self.button, SIGNAL('clicked()'), self.showWindowInfo) - - - def showWindowInfo(self): - main = KApplication.kApplication() - print main - print main.mainWidget() - - info = KWindowInfo(main) - info.message('Updated Window Info', 3) - - diff --git a/python/pykde/examples/pykde-sampler/qt_widgets/CONTRIB b/python/pykde/examples/pykde-sampler/qt_widgets/CONTRIB deleted file mode 100644 index e814d1ec..00000000 --- a/python/pykde/examples/pykde-sampler/qt_widgets/CONTRIB +++ /dev/null @@ -1,537 +0,0 @@ -Module,Item,Path,Contributor -dcop,DCOPClient,,, -dcop,DCOPClientTransaction,,, -dcop,DCOPObject,,, -dcop,DCOPObjectProxy,,, -dcop,DCOPRef,,, -dcop,DCOPReply,,, -dcop,DCOPStub,,, -kdecore,BarIcon,,, -kdecore,BarIconSet,,, -kdecore,DesktopIcon,,, -kdecore,DesktopIconSet,,, -kdecore,IconSize,,, -kdecore,KAboutData,,, -kdecore,KAboutPerson,,, -kdecore,KAboutTranslator,,, -kdecore,KAccel,,, -kdecore,KAccelAction,,, -kdecore,KAccelActions,,, -kdecore,KAccelBase,,, -kdecore,KAccelShortcutList,,, -kdecore,KApplication,,, -kdecore,KAsyncIO,,, -kdecore,KAudioPlayer,,, -kdecore,KBufferedIO,,, -kdecore,KCalendarSystem,,, -kdecore,KCalendarSystemFactory,,, -kdecore,KCatalogue,,, -kdecore,KCharsets,,, -kdecore,KClipboardSynchronizer,,, -kdecore,KCmdLineArgs,,, -kdecore,KCmdLineOptions,,, -kdecore,KCodecs,,, -kdecore,KCompletion,,, -kdecore,KCompletionBase,,, -kdecore,KConfig,,, -kdecore,KConfigBackEnd,,, -kdecore,KConfigBase,,, -kdecore,KConfigDialogManager,,, -kdecore,KConfigGroup,,, -kdecore,KConfigGroupSaver,,, -kdecore,KConfigINIBackEnd,,, -kdecore,KConfigSkeleton,,, -kdecore,KConfigSkeletonItem,,, -kdecore,KCrash,,, -kdecore,KDCOPPropertyProxy,,, -kdecore,KDE,,, -kdecore,KDesktopFile,,, -kdecore,KEntry,,, -kdecore,KEntryKey,,, -kdecore,KGlobal,,, -kdecore,KGlobalAccel,,, -kdecore,KGlobalSettings,,, -kdecore,KIDNA,,, -kdecore,KIPC,,, -kdecore,KIcon,,, -kdecore,KIconEffect,,, -kdecore,KIconLoader,,, -kdecore,KIconTheme,,, -kdecore,KInstance,,, -kdecore,KKey,,, -kdecore,KKeyNative,,, -kdecore,KKeySequence,,, -kdecore,KKeyServer,,, -kdecore,KLibFactory,,, -kdecore,KLibLoader,,, -kdecore,KLibrary,,, -kdecore,KLocale,,, -kdecore,KMD5,,, -kdecore,KMacroExpander,,, -kdecore,KMacroExpanderBase,,, -kdecore,KMimeSourceFactory,,, -kdecore,KMountPoint,,, -kdecore,KMultipleDrag,,, -kdecore,KNotifyClient,,, -kdecore,KPalette,,, -kdecore,KPixmapProvider,,, -kdecore,KProcIO,,, -kdecore,KProcess,,, -kdecore,KProcessController,,, -kdecore,KPty,,, -kdecore,KRFCDate,,, -kdecore,KRandomSequence,,, -kdecore,KRegExp,,, -kdecore,KRootProp,,, -kdecore,KSaveFile,,, -kdecore,KSelectionOwner,,, -kdecore,KSelectionWatcher,,, -kdecore,KServerSocket,,, -kdecore,KSessionManaged,,, -kdecore,KShared,,, -kdecore,KSharedConfig,,, -kdecore,KShell,,, -kdecore,KShellProcess,,, -kdecore,KShortcut,,, -kdecore,KShortcutList,,, -kdecore,KSimpleConfig,,, -kdecore,KSocket,,, -kdecore,KStandardDirs,,, -kdecore,KStartupInfo,,, -kdecore,KStartupInfoData,,, -kdecore,KStartupInfoId,,, -kdecore,KStaticDeleterBase,,, -kdecore,KStdAccel,,, -kdecore,KStringHandler,,, -kdecore,KTempDir,,, -kdecore,KTempFile,,, -kdecore,KURL,,, -kdecore,KURLDrag,,, -kdecore,KUniqueApplication,,, -kdecore,KWin,,, -kdecore,KWinModule,,, -kdecore,KZoneAllocator,,, -kdecore,MainBarIcon,,, -kdecore,MainBarIconSet,,, -kdecore,NET,,, -kdecore,NETIcon,,, -kdecore,NETPoint,,, -kdecore,NETRect,,, -kdecore,NETRootInfo,,, -kdecore,NETRootInfo2,,, -kdecore,NETSize,,, -kdecore,NETStrut,,, -kdecore,NETWinInfo,,, -kdecore,SmallIcon,,, -kdecore,SmallIconSet,,, -kdecore,UserIcon,,, -kdecore,UserIconSet,,, -kdecore,i18n,,, -kdecore,locate,,, -kdecore,locateLocal,,, -kdecore,testKEntryMap,,, -kdecore,urlcmp,,, -kdefx,KCPUInfo,,, -kdefx,KImageEffect,,, -kdefx,KPixmap,,, -kdefx,KPixmapEffect,,, -kdefx,KPixmapSplitter,,, -kdefx,KStyle,,, -kdefx,kColorBitmaps,,, -kdefx,kDrawBeButton,,, -kdefx,kDrawNextButton,,, -kdefx,kDrawRoundButton,,, -kdefx,kDrawRoundMask,,, -kdefx,kRoundMaskRegion,,, -kdeprint,DrBase,,, -kdeprint,DrBooleanOption,,, -kdeprint,DrChoiceGroup,,, -kdeprint,DrConstraint,,, -kdeprint,DrFloatOption,,, -kdeprint,DrGroup,,, -kdeprint,DrIntegerOption,,, -kdeprint,DrListOption,,, -kdeprint,DrMain,,, -kdeprint,DrPageSize,,, -kdeprint,DrStringOption,,, -kdeprint,KMJob,,, -kdeprint,KMJobManager,,, -kdeprint,KMManager,,, -kdeprint,KMObject,,, -kdeprint,KMPrinter,,, -kdeprint,KPReloadObject,,, -kdeprint,KPrintAction,,, -kdeprint,KPrintDialog,,, -kdeprint,KPrintDialogPage,,, -kdeprint,KPrinter,,, -kdeprint,pageNameToPageSize,,, -kdeprint,pageSizeToPageName,,, -kdeprint,rangeToSize,,, -kdesu,KCookie,,, -kdesu,KDEsuClient,,, -kdesu,PTY,,, -kdesu,PtyProcess,,, -kdesu,SshProcess,,, -kdesu,StubProcess,,, -kdesu,SuProcess,,, -kdeui,KAboutApplication,,, -kdeui,KAboutContainer,,, -kdeui,KAboutContributor,,, -kdeui,KAboutDialog,,, -kdeui,KAboutKDE,,, -kdeui,KAboutWidget,,, -kdeui,KAction,,, -kdeui,KActionCollection,,, -kdeui,KActionMenu,,, -kdeui,KActionPtrShortcutList,,, -kdeui,KActionSeparator,,, -kdeui,KActionShortcutList,,, -kdeui,KActiveLabel,,, -kdeui,KAnimWidget,,, -kdeui,KArrowButton,,, -kdeui,KAuthIcon,,, -kdeui,KBugReport,,, -kdeui,KButtonBox,,, -kdeui,KCModule,,, -kdeui,KCharSelect,,, -kdeui,KCharSelectTable,,, -kdeui,KColor,,, -kdeui,KColorButton,,, -kdeui,KColorCells,,, -kdeui,KColorCombo,,, -kdeui,KColorDialog,,, -kdeui,KColorDrag,,, -kdeui,KColorPatch,,, -kdeui,KComboBox,,, -kdeui,KCommand,,, -kdeui,KCommandHistory,,, -kdeui,KCompletionBox,,, -kdeui,KConfigDialog,,, -kdeui,KContextMenuManager,,, -kdeui,KCursor,,, -kdeui,KDCOPActionProxy,,, -kdeui,KDateInternalMonthPicker,,, -kdeui,KDateInternalWeekSelector,,, -kdeui,KDateInternalYearSelector,,, -kdeui,KDatePicker,,, -kdeui,KDateTable,,, -kdeui,KDateTimeWidget,,, -kdeui,KDateValidator,,, -kdeui,KDateWidget,,, -kdeui,KDialog,,, -kdeui,KDialogBase,,, -kdeui,KDialogQueue,,, -kdeui,KDockArea,,, -kdeui,KDockMainWindow,,, -kdeui,KDockManager,,, -kdeui,KDockTabGroup,,, -kdeui,KDockWidget,,, -kdeui,KDockWidgetAbstractHeader,,, -kdeui,KDockWidgetAbstractHeaderDrag,,, -kdeui,KDockWidgetHeader,,, -kdeui,KDockWidgetHeaderDrag,,, -kdeui,KDockWindow,,, -kdeui,KDoubleNumInput,,, -kdeui,KDoubleSpinBox,,, -kdeui,KDoubleValidator,,, -kdeui,KDualColorButton,,, -kdeui,KEdFind,,, -kdeui,KEdGotoLine,,, -kdeui,KEdReplace,,, -kdeui,KEdit,,, -kdeui,KEditListBox,,, -kdeui,KEditToolbar,,, -kdeui,KEditToolbarWidget,,, -kdeui,KFloatValidator,,, -kdeui,KFontAction,,, -kdeui,KFontChooser,,, -kdeui,KFontCombo,,, -kdeui,KFontDialog,,, -kdeui,KFontRequester,,, -kdeui,KFontSizeAction,,, -kdeui,KGradientSelector,,, -kdeui,KGuiItem,,, -kdeui,KHSSelector,,, -kdeui,KHelpMenu,,, -kdeui,KHistoryCombo,,, -kdeui,KIconView,,, -kdeui,KIconViewItem,,, -kdeui,KInputDialog,,, -kdeui,KIntNumInput,,, -kdeui,KIntSpinBox,,, -kdeui,KIntValidator,,, -kdeui,KJanusWidget,,, -kdeui,KKeyButton,,, -kdeui,KKeyChooser,,, -kdeui,KKeyDialog,,, -kdeui,KLed,,, -kdeui,KLineEdit,,, -kdeui,KLineEditDlg,,, -kdeui,KListAction,,, -kdeui,KListBox,,, -kdeui,KListView,,, -kdeui,KListViewItem,,, -kdeui,KMacroCommand,,, -kdeui,KMainWindow,,, -kdeui,KMainWindowInterface,,, -kdeui,KMenuBar,,, -kdeui,KMessageBox,,, -kdeui,KMimeTypeValidator,,, -kdeui,KNamedCommand,,, -kdeui,KNumInput,,, -kdeui,KPaletteTable,,, -kdeui,KPanelAppMenu,,, -kdeui,KPanelApplet,,, -kdeui,KPanelExtension,,, -kdeui,KPanelMenu,,, -kdeui,KPassivePopup,,, -kdeui,KPasswordDialog,,, -kdeui,KPasswordEdit,,, -kdeui,KPasteTextAction,,, -kdeui,KPixmapIO,,, -kdeui,KPopupFrame,,, -kdeui,KPopupMenu,,, -kdeui,KPopupTitle,,, -kdeui,KProgress,,, -kdeui,KProgressDialog,,, -kdeui,KPushButton,,, -kdeui,KRadioAction,,, -kdeui,KRecentFilesAction,,, -kdeui,KRestrictedLine,,, -kdeui,KRootPermsIcon,,, -kdeui,KRootPixmap,,, -kdeui,KRuler,,, -kdeui,KSelectAction,,, -kdeui,KSelector,,, -kdeui,KSeparator,,, -kdeui,KSplashScreen,,, -kdeui,KSqueezedTextLabel,,, -kdeui,KStatusBar,,, -kdeui,KStatusBarLabel,,, -kdeui,KStdAction,,, -kdeui,KStdGuiItem,,, -kdeui,KStringListValidator,,, -kdeui,KSystemTray,,, -kdeui,KTabBar,,, -kdeui,KTabCtl,,, -kdeui,KTabWidget,,, -kdeui,KTextBrowser,,, -kdeui,KTextEdit,,, -kdeui,KTimeWidget,,, -kdeui,KTipDatabase,,, -kdeui,KTipDialog,,, -kdeui,KToggleAction,,, -kdeui,KToggleFullScreenAction,,, -kdeui,KToggleToolBarAction,,, -kdeui,KToolBar,,, -kdeui,KToolBarButton,,, -kdeui,KToolBarPopupAction,,, -kdeui,KToolBarRadioGroup,,, -kdeui,KToolBarSeparator,,, -kdeui,KURLLabel,,, -kdeui,KValueSelector,,, -kdeui,KWidgetAction,,, -kdeui,KWindowInfo,,, -kdeui,KWindowListMenu,,, -kdeui,KWizard,,, -kdeui,KWordWrap,,, -kdeui,KWritePermsIcon,,, -kdeui,KXMLGUIBuilder,,, -kdeui,KXMLGUIClient,,, -kdeui,KXMLGUIFactory,,, -kdeui,KXYSelector,,, -kdeui,QXEmbed,,, -kdeui,testKActionList,,, -kfile,KApplicationPropsPlugin,,, -kfile,KBindingPropsPlugin,,, -kfile,KCombiView,,, -kfile,KCustomMenuEditor,,, -kfile,KDesktopPropsPlugin,,, -kfile,KDevicePropsPlugin,,, -kfile,KDirOperator,,, -kfile,KDirSelectDialog,,, -kfile,KDirSize,,, -kfile,KDiskFreeSp,,, -kfile,KEncodingFileDialog,,, -kfile,KExecPropsPlugin,,, -kfile,KFile,,, -kfile,KFileDetailView,,, -kfile,KFileDialog,,, -kfile,KFileFilterCombo,,, -kfile,KFileIconView,,, -kfile,KFileIconViewItem,,, -kfile,KFileListViewItem,,, -kfile,KFileOpenWithHandler,,, -kfile,KFilePermissionsPropsPlugin,,, -kfile,KFilePreview,,, -kfile,KFilePropsPlugin,,, -kfile,KFileSharePropsPlugin,,, -kfile,KFileTreeBranch,,, -kfile,KFileTreeView,,, -kfile,KFileTreeViewItem,,, -kfile,KFileTreeViewToolTip,,, -kfile,KFileView,,, -kfile,KFileViewSignaler,,, -kfile,KIconButton,,, -kfile,KIconCanvas,,, -kfile,KIconDialog,,, -kfile,KImageFilePreview,,, -kfile,KNotify,,, -kfile,KNotifyDialog,,, -kfile,KOpenWithDlg,,, -kfile,KPreviewWidgetBase,,, -kfile,KPropertiesDialog,,, -kfile,KPropsDlgPlugin,,, -kfile,KRecentDocument,,, -kfile,KURLBar,,, -kfile,KURLBarItem,,, -kfile,KURLBarItemDialog,,, -kfile,KURLBarListBox,,, -kfile,KURLComboBox,,, -kfile,KURLComboRequester,,, -kfile,KURLPropsPlugin,,, -kfile,KURLRequester,,, -kfile,KURLRequesterDlg,,, -khtml,DOM,,, -khtml,KHTMLPart,,, -khtml,KHTMLSettings,,, -khtml,KHTMLView,,, -kio,KAr,,, -kio,KArchive,,, -kio,KArchiveDirectory,,, -kio,KArchiveEntry,,, -kio,KArchiveFile,,, -kio,KAutoMount,,, -kio,KAutoUnmount,,, -kio,KDCOPServiceStarter,,, -kio,KDEDesktopMimeType,,, -kio,KDataTool,,, -kio,KDataToolAction,,, -kio,KDataToolInfo,,, -kio,KDirLister,,, -kio,KDirNotify,,, -kio,KDirWatch,,, -kio,KEMailSettings,,, -kio,KExecMimeType,,, -kio,KFileFilter,,, -kio,KFileItem,,, -kio,KFileMetaInfo,,, -kio,KFileMetaInfoGroup,,, -kio,KFileMetaInfoItem,,, -kio,KFileMetaInfoProvider,,, -kio,KFileMimeTypeInfo,,, -kio,KFilePlugin,,, -kio,KFileShare,,, -kio,KFileSharePrivate,,, -kio,KFilterBase,,, -kio,KFilterDev,,, -kio,KFolderType,,, -kio,KIO,,, -kio,KImageIO,,, -kio,KMimeMagic,,, -kio,KMimeMagicResult,,, -kio,KMimeType,,, -kio,KOCRDialog,,, -kio,KOCRDialogFactory,,, -kio,KOpenWithHandler,,, -kio,KProcessRunner,,, -kio,KProtocolInfo,,, -kio,KProtocolManager,,, -kio,KRun,,, -kio,KST_CTimeInfo,,, -kio,KST_KCustom,,, -kio,KST_KDEDesktopMimeType,,, -kio,KST_KExecMimeType,,, -kio,KST_KFolderType,,, -kio,KST_KImageIO,,, -kio,KST_KImageIOFormat,,, -kio,KST_KMimeType,,, -kio,KST_KProtocolInfo,,, -kio,KST_KProtocolInfoFactory,,, -kio,KST_KService,,, -kio,KST_KServiceFactory,,, -kio,KST_KServiceGroup,,, -kio,KST_KServiceGroupFactory,,, -kio,KST_KServiceType,,, -kio,KST_KServiceTypeFactory,,, -kio,KST_KSycocaEntry,,, -kio,KScanDialog,,, -kio,KScanDialogFactory,,, -kio,KService,,, -kio,KServiceGroup,,, -kio,KServiceOffer,,, -kio,KServiceSeparator,,, -kio,KServiceType,,, -kio,KServiceTypeProfile,,, -kio,KShellCompletion,,, -kio,KShred,,, -kio,KSimpleFileFilter,,, -kio,KSycoca,,, -kio,KSycocaEntry,,, -kio,KSycocaFactory,,, -kio,KTar,,, -kio,KTrader,,, -kio,KURIFilter,,, -kio,KURIFilterData,,, -kio,KURIFilterPlugin,,, -kio,KURLCompletion,,, -kio,KURLPixmapProvider,,, -kio,KZip,,, -kio,KZipFileEntry,,, -kio,Observer,,, -kio,RenameDlgPlugin,,, -kio,ThumbCreator,,, -kio,testKIOMetaData,,, -kio,testKIOUDSEntry,,, -kio,testKIOUDSEntryList,,, -kmdi,KMdi,,, -kmdi,KMdiChildArea,,, -kmdi,KMdiChildFrm,,, -kmdi,KMdiChildFrmCaption,,, -kmdi,KMdiChildFrmDragBeginEvent,,, -kmdi,KMdiChildFrmDragEndEvent,,, -kmdi,KMdiChildFrmMoveEvent,,, -kmdi,KMdiChildFrmResizeBeginEvent,,, -kmdi,KMdiChildFrmResizeEndEvent,,, -kmdi,KMdiChildView,,, -kmdi,KMdiMainFrm,,, -kmdi,KMdiTaskBar,,, -kmdi,KMdiTaskBarButton,,, -kmdi,KMdiToolViewAccessor,,, -kmdi,KMdiViewCloseEvent,,, -kmdi,KMdiWin32IconButton,,, -kparts,KParts,,, -kparts,createReadOnlyPart,,, -kparts,createReadWritePart,,, -kparts,testQMapQCStringInt,,, -kspell,KS_ADD,,, -kspell,KS_CANCEL,,, -kspell,KS_CLIENT_ASPELL,,, -kspell,KS_CLIENT_HSPELL,,, -kspell,KS_CLIENT_ISPELL,,, -kspell,KS_CONFIG,,, -kspell,KS_E_ASCII,,, -kspell,KS_E_CP1251,,, -kspell,KS_E_CP1255,,, -kspell,KS_E_KOI8R,,, -kspell,KS_E_KOI8U,,, -kspell,KS_E_LATIN1,,, -kspell,KS_E_LATIN13,,, -kspell,KS_E_LATIN15,,, -kspell,KS_E_LATIN2,,, -kspell,KS_E_LATIN3,,, -kspell,KS_E_LATIN4,,, -kspell,KS_E_LATIN5,,, -kspell,KS_E_LATIN7,,, -kspell,KS_E_LATIN8,,, -kspell,KS_E_LATIN9,,, -kspell,KS_E_UTF8,,, -kspell,KS_IGNORE,,, -kspell,KS_IGNOREALL,,, -kspell,KS_REPLACE,,, -kspell,KS_REPLACEALL,,, -kspell,KS_STOP,,, -kspell,KS_SUGGEST,,, -kspell,KSpell,,, -kspell,KSpellConfig,,, -kspell,KSpellDlg,,, diff --git a/python/pykde/examples/pykde-sampler/qt_widgets/__init__.py b/python/pykde/examples/pykde-sampler/qt_widgets/__init__.py deleted file mode 100644 index ffe7bed6..00000000 --- a/python/pykde/examples/pykde-sampler/qt_widgets/__init__.py +++ /dev/null @@ -1,17 +0,0 @@ -labelText = 'Qt Widgets' -iconName = 'designer' - -helpText = """Qt provides a rich set of widgets for application use. -Select the children of this item to see for yourself.""" - -from qt import QFrame, QVBoxLayout, SIGNAL -from kdeui import KTextEdit - - -class MainFrame(QFrame): - def __init__(self, parent=None): - QFrame.__init__(self, parent) - self.help = KTextEdit(helpText, '', self) - layout = QVBoxLayout(self, 4) - layout.addWidget(self.help) - layout.addStretch(1) diff --git a/python/pykde/examples/pykde-sampler/qt_widgets/table.py b/python/pykde/examples/pykde-sampler/qt_widgets/table.py deleted file mode 100644 index d6b6e3ed..00000000 --- a/python/pykde/examples/pykde-sampler/qt_widgets/table.py +++ /dev/null @@ -1,42 +0,0 @@ -labelText = 'QTable' -iconName = 'inline_table' - -helpText = """From the docs: 'The QTable class provides a flexible -editable table widget.' -""" - -import csv -import os - -from qt import QFrame, QStringList, QVBoxLayout, SIGNAL -from qttable import QTable - -from kdeui import KTextEdit - -contrib = os.path.join(os.path.split(__file__)[0], 'CONTRIB') - - -class MainFrame(QFrame): - def __init__(self, parent=None): - QFrame.__init__(self, parent) - self.help = KTextEdit(helpText, '', self) - - data = csv.reader(open(contrib)) - header = data.next() - items = [item for item in data] - - self.table = table = QTable(len(items), len(header), self) - headers = QStringList() - for headertext in header: - headers.append(headertext) - table.setColumnLabels(headers) - - cols = range(len(header)) - for row, record in enumerate(items): - for col in cols: - table.setText(row, col, record[col]) - - layout = QVBoxLayout(self, 4) - layout.addWidget(self.help) - layout.addWidget(self.table) - layout.addStretch(1) diff --git a/python/pykde/examples/pykde-sampler/runner.py b/python/pykde/examples/pykde-sampler/runner.py deleted file mode 100644 index 8b1ad2c5..00000000 --- a/python/pykde/examples/pykde-sampler/runner.py +++ /dev/null @@ -1,58 +0,0 @@ -#!/usr/bin/env python -""" - -""" -import sys -from kdecore import KApplication, KCmdLineArgs -from kdeui import KMainWindow -from qt import QVBoxLayout - -## relative import -- cry me a river! -import about - - -class SamplerRunnerWindow(KMainWindow): - def __init__(self, ctor): - KMainWindow.__init__(self) - layout = QVBoxLayout(self) - layout.setAutoAdd(True) - self.widget = ctor(self) - - -def importItem(name): - """ importItem(name) -> import an item from a module by dotted name - - """ - def importName(name): - """ importName(name) -> import and return a module by name in dotted form - - Copied from the Python lib docs. - """ - mod = __import__(name) - for comp in name.split('.')[1:]: - mod = getattr(mod, comp) - return mod - - names = name.split('.') - modname, itemname = names[0:-1], names[-1] - mod = importName(str.join('.', modname)) - return getattr(mod, itemname) - - - -if __name__ == '__main__': - options = [('+item', 'An item in the sys.path')] - KCmdLineArgs.init(sys.argv, about.about) - KCmdLineArgs.addCmdLineOptions(options) - - args = KCmdLineArgs.parsedArgs() - if not args.count(): - args.usage() - else: - pathitem = args.arg(0) - widget = importItem(pathitem) - - app = KApplication() - mainWindow = SamplerRunnerWindow(widget) - mainWindow.show() - app.exec_loop() diff --git a/python/pykde/examples/pykde-sampler/sampler.py b/python/pykde/examples/pykde-sampler/sampler.py deleted file mode 100644 index bacf6346..00000000 --- a/python/pykde/examples/pykde-sampler/sampler.py +++ /dev/null @@ -1,423 +0,0 @@ -#!/usr/bin/env python -""" The PyKDE application sampler - -This module defines the top-level widgets for displaying the sampler -application. - - -""" -import inspect -import os -import sys - -from qt import SIGNAL, SLOT, PYSIGNAL, Qt -from qt import QVBoxLayout, QLabel, QPixmap, QSplitter, QFrame, QDialog -from qt import QSizePolicy, QHBoxLayout, QSpacerItem, QPushButton - -from kdecore import i18n, KAboutData, KApplication, KCmdLineArgs, KGlobal -from kdecore import KGlobalSettings, KWin, KWinModule, KURL, KIcon - -from kdeui import KComboBox, KListView, KListViewItem, KTabWidget, KTextEdit -from kdeui import KMainWindow, KPushButton, KSplashScreen, KStdAction -from kdeui import KKeyDialog, KEditToolbar - -from kio import KTrader -from kparts import createReadOnlyPart, createReadWritePart -from khtml import KHTMLPart - -import about -import lib - - -try: - __file__ -except (NameError, ): - __file__ = sys.argv[0] - - -sigDoubleClicked = SIGNAL('doubleClicked(QListViewItem *)') -sigViewItemSelected = SIGNAL('selectionChanged(QListViewItem *)') -sigSampleSelected = PYSIGNAL('sample selected') - -blank = KURL('about:blank') - - -def appConfig(group=None): - """ appConfig(group=None) -> returns the application KConfig - - """ - config = KGlobal.instance().config() - if group is not None: - config.setGroup(group) - return config - - -def getIcon(name, group=KIcon.NoGroup, size=KIcon.SizeSmall): - """ returns a kde icon by name - - """ - return KGlobal.instance().iconLoader().loadIcon(name, group, size) - - -def getIconSet(name, group=KIcon.NoGroup, size=KIcon.SizeSmall): - """ returns a kde icon set by name - - """ - return KGlobal.instance().iconLoader().loadIconSet(name, group, size) - - -def buildPart(parent, query, constraint, writable=False): - """ builds the first available offered part on the parent - - """ - offers = KTrader.self().query(query, constraint) - for ptr in offers: - if writable: - builder = createReadWritePart - else: - builder = createReadOnlyPart - part = builder(ptr.library(), parent, ptr.name()) - if part: - break - return part - - - -class CommonFrame(QFrame): - """ provides a modicum of reuse - - """ - def __init__(self, parent): - QFrame.__init__(self, parent) - layout = QVBoxLayout(self) - layout.setAutoAdd(True) - layout.setAlignment(Qt.AlignCenter | Qt.AlignVCenter) - - -class SamplerFrame(CommonFrame): - """ frame type that swaps out old widgets for new when told to do so - - """ - def __init__(self, parent): - CommonFrame.__init__(self, parent) - self.widget = None - - def setWidget(self, widget): - self.layout().deleteAllItems() - previous = self.widget - if previous: - previous.close() - delattr(self, 'widget') - self.widget = widget - - def showSample(self, item, module): - try: - frameType = module.builder() - except (AttributeError, ): - print 'No sample callable defined in %s' % (module.name(), ) - else: - frame = frameType(self) - self.setWidget(frame) - frame.show() - - -class SourceFrame(CommonFrame): - """ frame with part for displaying python source - - """ - def __init__(self, parent): - CommonFrame.__init__(self, parent) - query = '' - self.part = buildPart(self, 'application/x-python', query, False) - - def showModuleSource(self, item, module): - if not self.part: - print 'No part available for displaying python source.' - return - try: - modulefile = inspect.getabsfile(module.module) - except: - return - self.part.openURL(blank) - if os.path.splitext(modulefile)[-1] == '.py': - self.part.openURL(KURL('file://%s' % modulefile)) - - -class WebFrame(CommonFrame): - """ frame with part for viewing web pages - - """ - docBase = 'http://www.riverbankcomputing.com/Docs/PyKDE3/classref/' - - def __init__(self, parent): - CommonFrame.__init__(self, parent) - self.part = part = buildPart(self, 'text/html', "Type == 'Service'") - #part.connect(part, SIGNAL('khtmlMousePressEvent(a)'), self.onURL) - - def onURL(self, a): - print '****', a - - def showDocs(self, item, module): - try: - mod, cls = module.module.docParts - except (AttributeError, ): - url = blank - else: - url = KURL(self.docUrl(mod, cls)) - self.part.openURL(url) - - - def docUrl(self, module, klass): - """ docUrl(name) -> return a doc url given a name from the kde libs - - """ - return '%s/%s/%s.html' % (self.docBase, module, klass, ) - - -class OutputFrame(KTextEdit): - """ text widget that acts (just enough) like a file - - """ - def __init__(self, parent, filehandle): - KTextEdit.__init__(self, parent) - self.filehandle = filehandle - self.setReadOnly(True) - self.setFont(KGlobalSettings.fixedFont()) - - - def write(self, text): - self.insert(text) - - - def clear(self): - self.setText('') - - - def __getattr__(self, name): - return getattr(self.filehandle, name) - - -class SamplerListView(KListView): - """ the main list view of samples - - """ - def __init__(self, parent): - KListView.__init__(self, parent) - self.addColumn(i18n('Sample')) - self.setRootIsDecorated(True) - - modules = lib.listmodules() - modules.sort(lambda a, b: cmp(a[0], b[0])) - - modmap = dict(modules) - modules = [(name.split('.'), name, mod) for name, mod in modules] - roots, cache = {}, {} - - for names, modname, module in modules: - topname, subnames = names[0], names[1:] - item = roots.get(topname, None) - if item is None: - roots[topname] = item = KListViewItem(self, module.labelText()) - item.module = module - item.setPixmap(0, getIcon(module.icon())) - - bname = '' - subitem = item - for subname in subnames: - bname = '%s.%s' % (bname, subname, ) - item = cache.get(bname, None) - if item is None: - subitem = cache[bname] = \ - KListViewItem(subitem, module.labelText()) - subitem.module = module - subitem.setPixmap(0, getIcon(module.icon())) - subitem = item - - for root in roots.values(): - self.setOpen(root, True) - - -class SamplerMainWindow(KMainWindow): - """ the main window - - """ - def __init__(self, *args): - KMainWindow.__init__(self, *args) - self.hSplitter = hSplit = QSplitter(Qt.Horizontal, self) - self.samplesList = samplesList = SamplerListView(hSplit) - self.vSplitter = vSplit = QSplitter(Qt.Vertical, hSplit) - self.setCentralWidget(hSplit) - self.setIcon(getIcon('kmail')) - - hSplit.setOpaqueResize(True) - vSplit.setOpaqueResize(True) - - self.contentTabs = cTabs = KTabWidget(vSplit) - self.outputTabs = oTabs = KTabWidget(vSplit) - - self.sampleFrame = SamplerFrame(cTabs) - self.sourceFrame = SourceFrame(cTabs) - self.webFrame = WebFrame(cTabs) - - cTabs.insertTab(self.sampleFrame, getIconSet('exec'), i18n('Sample')) - cTabs.insertTab(self.sourceFrame, getIconSet('source'), i18n('Source')) - cTabs.insertTab(self.webFrame, getIconSet('help'), i18n('Docs')) - - sys.stdout = self.stdoutFrame = OutputFrame(oTabs, sys.stdout) - sys.stderr = self.stderrFrame = OutputFrame(oTabs, sys.stderr) - - termIcons = getIconSet('terminal') - oTabs.insertTab(self.stdoutFrame, termIcons, i18n('stdout')) - oTabs.insertTab(self.stderrFrame, termIcons, i18n('stderr')) - - self.resize(640, 480) - height, width = self.height(), self.width() - hSplit.setSizes([width * 0.35, width * 0.65]) - vSplit.setSizes([height * 0.80, height * 0.20]) - - self.xmlRcFileName = os.path.abspath(os.path.join(os.path.dirname(__file__), 'sampler.rc')) - self.setXMLFile(self.xmlRcFileName) - config = appConfig() - actions = self.actionCollection() - actions.readShortcutSettings("", config) - self.quitAction = KStdAction.quit(self.close, actions) - - self.toggleMenubarAction = \ - KStdAction.showMenubar(self.showMenubar, actions) - self.toggleToolbarAction = \ - KStdAction.showToolbar(self.showToolbar, actions) - self.toggleStatusbarAction = \ - KStdAction.showStatusbar(self.showStatusbar, actions) - self.configureKeysAction = \ - KStdAction.keyBindings(self.showConfigureKeys, actions) - self.configureToolbarAction = \ - KStdAction.configureToolbars(self.showConfigureToolbars, actions) - self.configureAppAction = \ - KStdAction.preferences(self.showConfiguration, actions) - - connect = self.connect - connect(samplesList, sigViewItemSelected, self.sampleSelected) - connect(self, sigSampleSelected, self.reloadModule) - connect(self, sigSampleSelected, self.sourceFrame.showModuleSource) - connect(self, sigSampleSelected, self.sampleFrame.showSample) - connect(self, sigSampleSelected, self.webFrame.showDocs) - - self.restoreWindowSize(config) - self.createGUI(self.xmlRcFileName, 0) - self.sourceFrame.part.openURL(KURL('file://%s' % os.path.abspath(__file__))) - - - def showConfiguration(self): - """ showConfiguration() -> display the config dialog - - """ - return - ## not yet implemented - dlg = configdialog.ConfigurationDialog(self) - for obj in (self.stderrFrame, self.stdoutFrame, self.pythonShell): - call = getattr(obj, 'configChanged', None) - if call: - self.connect(dlg, util.sigConfigChanged, call) - dlg.show() - - - def senderCheckShow(self, widget): - """ senderCheckShow(widget) -> show or hide widget if sender is checked - - """ - if self.sender().isChecked(): - widget.show() - else: - widget.hide() - - - def showMenubar(self): - """ showMenuBar() -> toggle the menu bar - - """ - self.senderCheckShow(self.menuBar()) - - - def showToolbar(self): - """ showToolbar() -> toggle the tool bar - - """ - self.senderCheckShow(self.toolBar()) - - - def showStatusbar(self): - """ showStatusbar() -> toggle the status bar - - """ - self.senderCheckShow(self.statusBar()) - - - def showConfigureKeys(self): - """ showConfigureKeys() -> show the shortcut keys dialog - - """ - ret = KKeyDialog.configure(self.actionCollection(), self) - print ret - if ret == QDialog.Accepted: - actions = self.actionCollection() - actions.writeShortcutSettings(None, appConfig()) - - - def showConfigureToolbars(self): - """ showConfigureToolbars() -> broken - - """ - dlg = KEditToolbar(self.actionCollection(), self.xmlRcFileName) - self.connect(dlg, SIGNAL('newToolbarConfig()'), self.rebuildGui) - #connect(self, sigSampleSelected, self.sourceFrame.showModuleSource) - - dlg.exec_loop() - - - def rebuildGui(self): - """ rebuildGui() -> recreate the gui and refresh the palette - - """ - self.createGUI(self.xmlRcFileName, 0) - for widget in (self.toolBar(), self.menuBar(), ): - widget.setPalette(self.palette()) - - - def sampleSelected(self): - """ sampleSelected() -> emit the current item and its module - - """ - self.stdoutFrame.clear() - self.stderrFrame.clear() - item = self.sender().currentItem() - self.emit(sigSampleSelected, (item, item.module)) - - - def setSplashPixmap(self, pixmap): - """ setSplashPixmap(pixmap) -> assimilate the splash screen pixmap - - """ - target = self.sampleFrame - label = QLabel(target) - label.setPixmap(pixmap) - target.setWidget(label) - - - def reloadModule(self, item, module): - print >> sys.__stdout__, 'reload: ', reload(module.module) - - -if __name__ == '__main__': - aboutdata = about.about() - KCmdLineArgs.init(sys.argv, aboutdata) - app = KApplication() - - splashpix = QPixmap(os.path.join(lib.samplerpath, 'aboutkde.png')) - splash = KSplashScreen(splashpix) - splash.resize(splashpix.size()) - splash.show() - mainWindow = SamplerMainWindow() - mainWindow.setSplashPixmap(splashpix) - mainWindow.show() - splash.finish(mainWindow) - app.exec_loop() diff --git a/python/pykde/examples/pykde-sampler/sampler.rc b/python/pykde/examples/pykde-sampler/sampler.rc deleted file mode 100644 index fc068caf..00000000 --- a/python/pykde/examples/pykde-sampler/sampler.rc +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - diff --git a/python/pykde/examples/pykde-sampler/wizards/__init__.py b/python/pykde/examples/pykde-sampler/wizards/__init__.py deleted file mode 100644 index 63472b4e..00000000 --- a/python/pykde/examples/pykde-sampler/wizards/__init__.py +++ /dev/null @@ -1,2 +0,0 @@ -iconName = 'wizard' -labelText = 'Wizards' diff --git a/python/pykde/examples/pykde-sampler/wizards/wiz.py b/python/pykde/examples/pykde-sampler/wizards/wiz.py deleted file mode 100644 index 1cb5544e..00000000 --- a/python/pykde/examples/pykde-sampler/wizards/wiz.py +++ /dev/null @@ -1,2 +0,0 @@ -iconName = 'wizard' -labelText = 'Wizard' diff --git a/python/pykde/examples/pykde-sampler/xwin/__init__.py b/python/pykde/examples/pykde-sampler/xwin/__init__.py deleted file mode 100644 index f9ff0b10..00000000 --- a/python/pykde/examples/pykde-sampler/xwin/__init__.py +++ /dev/null @@ -1,18 +0,0 @@ -labelText = 'X Windows Features' -iconName = 'kcmx' - -helpText = """KDE and PyKDE allow interaction with the X Window system. Check -out the nifty samples below.""" - -from qt import QFrame, QLabel, QVBoxLayout - -class MainFrame(QFrame): - def __init__(self, parent=None): - QFrame.__init__(self, parent) - layout = QVBoxLayout(self) - self.text = QLabel(helpText, self) - layout.addWidget(self.text, 1) - - - - diff --git a/python/pykde/examples/pytestimage.png b/python/pykde/examples/pytestimage.png deleted file mode 100644 index 3bb4e688..00000000 Binary files a/python/pykde/examples/pytestimage.png and /dev/null differ diff --git a/python/pykde/examples/qxembed_example.png b/python/pykde/examples/qxembed_example.png deleted file mode 100644 index 55eb7295..00000000 Binary files a/python/pykde/examples/qxembed_example.png and /dev/null differ diff --git a/python/pykde/examples/qxembedexample.py b/python/pykde/examples/qxembedexample.py deleted file mode 100644 index 0e216315..00000000 --- a/python/pykde/examples/qxembedexample.py +++ /dev/null @@ -1,79 +0,0 @@ -# -*- coding: utf-8 -*- - -# Form implementation generated from reading ui file 'qxembedexample.ui' -# -# Created: Thu Apr 29 02:17:37 2004 -# by: The PyQt User Interface Compiler (pyuic) 3.11 -# -# WARNING! All changes made in this file will be lost! - - -from qt import * - - -class QXEmbedExample(QWidget): - def __init__(self,parent = None,name = None,fl = 0): - QWidget.__init__(self,parent,name,fl) - - if not name: - self.setName("QXEmbedExample") - - - QXEmbedExampleLayout = QVBoxLayout(self,11,6,"QXEmbedExampleLayout") - - layout2 = QHBoxLayout(None,0,6,"layout2") - - self.appNameCombo = KComboBox(0,self,"appNameCombo") - self.appNameCombo.setSizePolicy(QSizePolicy(QSizePolicy.Minimum,QSizePolicy.Fixed,0,0,self.appNameCombo.sizePolicy().hasHeightForWidth())) - layout2.addWidget(self.appNameCombo) - - self.launchButton = KPushButton(self,"launchButton") - self.launchButton.setSizePolicy(QSizePolicy(QSizePolicy.Minimum,QSizePolicy.Fixed,0,0,self.launchButton.sizePolicy().hasHeightForWidth())) - layout2.addWidget(self.launchButton) - spacer1 = QSpacerItem(209,31,QSizePolicy.Expanding,QSizePolicy.Minimum) - layout2.addItem(spacer1) - QXEmbedExampleLayout.addLayout(layout2) - - self.line1 = QFrame(self,"line1") - self.line1.setFrameShape(QFrame.HLine) - self.line1.setFrameShadow(QFrame.Sunken) - self.line1.setFrameShape(QFrame.HLine) - QXEmbedExampleLayout.addWidget(self.line1) - - self.mainTabs = QTabWidget(self,"mainTabs") - - self.tab = QWidget(self.mainTabs,"tab") - tabLayout = QHBoxLayout(self.tab,11,6,"tabLayout") - - self.textLabel1 = QLabel(self.tab,"textLabel1") - tabLayout.addWidget(self.textLabel1) - self.mainTabs.insertTab(self.tab,QString("")) - QXEmbedExampleLayout.addWidget(self.mainTabs) - - self.languageChange() - - self.resize(QSize(471,499).expandedTo(self.minimumSizeHint())) - self.clearWState(Qt.WState_Polished) - - self.connect(self.launchButton,SIGNAL("clicked()"),self.launchApp) - - - def languageChange(self): - self.setCaption(self.__tr("QXEmbed Example")) - self.appNameCombo.clear() - self.appNameCombo.insertItem(self.__tr("kcalc")) - self.appNameCombo.insertItem(self.__tr("konqueror")) - self.appNameCombo.insertItem(self.__tr("kedit")) - self.launchButton.setText(self.__tr("Launch and Embed")) - self.textLabel1.setText(self.__tr("QXEmbed Example\n" -"

\n" -"\n" -"Select one of the app names from the combo list, then launch it with the button. Two seconds after launch, the window for the new process will get added as a new tab.")) - self.mainTabs.changeTab(self.tab,self.__tr("Help")) - - - def launchApp(self): - print "QXEmbedExample.launchApp(): Not implemented yet" - - def __tr(self,s,c = None): - return qApp.translate("QXEmbedExample",s,c) diff --git a/python/pykde/examples/qxembedexample.ui b/python/pykde/examples/qxembedexample.ui deleted file mode 100644 index d3465162..00000000 --- a/python/pykde/examples/qxembedexample.ui +++ /dev/null @@ -1,150 +0,0 @@ - -QXEmbedExample - - - QXEmbedExample - - - - 0 - 0 - 471 - 499 - - - - QXEmbed Example - - - - unnamed - - - - layout2 - - - - unnamed - - - - - kcalc - - - - - konqueror - - - - - kedit - - - - appNameCombo - - - - 1 - 0 - 0 - 0 - - - - - - launchButton - - - - 1 - 0 - 0 - 0 - - - - Launch and Embed - - - - - spacer1 - - - Horizontal - - - Expanding - - - - 209 - 31 - - - - - - - - line1 - - - HLine - - - Sunken - - - Horizontal - - - - - mainTabs - - - - tab - - - Help - - - - unnamed - - - - textLabel1 - - - <b>QXEmbed Example</b> -<br><br> - -Select one of the app names from the combo list, then launch it with the button. Two seconds after launch, the window for the new process will get added as a new tab. - - - - - - - - - - launchButton - clicked() - QXEmbedExample - launchApp() - - - - launchApp() - - - diff --git a/python/pykde/examples/systray.py b/python/pykde/examples/systray.py deleted file mode 100644 index 7391c9ba..00000000 --- a/python/pykde/examples/systray.py +++ /dev/null @@ -1,54 +0,0 @@ -""" -Copyright 2003 Jim Bublitz - -Terms and Conditions - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to -deal in the Software without restriction, including without limitation the -rights to use, copy, modify, merge, publish, distribute, sublicense, and/or -sell copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, -WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR -IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - -Except as contained in this notice, the name of the copyright holder shall -not be used in advertising or otherwise to promote the sale, use or other -dealings in this Software without prior written authorization from the -copyright holder. -""" - -import sys - -from qt import QLabel -from kdecore import KApplication, KIcon, KIconLoader -from kdeui import KMainWindow, KSystemTray - -class MainWin (KMainWindow): - def __init__ (self, *args): - apply (KMainWindow.__init__, (self,) + args) - -#-------------------- main ------------------------------------------------ - -appName = "template" -app = KApplication (sys.argv, appName) -mainWindow = MainWin (None, "main window") -icons = KIconLoader () - -systray = KSystemTray (mainWindow) -systray.setPixmap (icons.loadIcon("stop", KIcon.Desktop)) -systray.show () - -#mainWindow.show() -app.exec_loop() - - diff --git a/python/pykde/examples/uikmdi.py b/python/pykde/examples/uikmdi.py deleted file mode 100644 index 3a213bc8..00000000 --- a/python/pykde/examples/uikmdi.py +++ /dev/null @@ -1,203 +0,0 @@ -#!/usr/bin/env python -""" -This is a rough Python translation of the ideas presented in this KMDI tutorial: - - http://web.tiscali.it/andreabergia/kmditutorial.html - -What does work: - - IDEAlMode - yay! - - Adding and closing child views - - Two-way syncing between a tool widget and a matching child view - -All is not rosy, however: - - Instances of the KmdiExample maintain a dictionary of child views. Values - cannot be deleted from this dictionary during a window close (causes an - immediate segfault). - - Child views created after initialization aren't numbered correctly; given - the first problem, it's harder to do this than it's really worth. - - The example segfaults at shutdown if the tool (on the left) is is open but - is not in overlap-mode. - -""" -import os -import sys - -from qt import SIGNAL, QVBoxLayout, QLabel -from kdecore import i18n, KAboutData, KApplication, KGlobal, KIcon, KCmdLineArgs -from kdeui import KDockWidget, KListBox, KStdAction - -try: - from kmdi import KMdi, KMdiMainFrm, KMdiChildView -except (ImportError, ): - print 'Exception importing KMDI; check your PyKDE installation' - sys.exit(1) - - -sigChildCloseRequest = SIGNAL('childWindowCloseRequest(KMdiChildView *)') -sigChildViewActivated = SIGNAL('viewActivated(KMdiChildView *)') -sigBoxSelectionChanged = SIGNAL('selectionChanged(QListBoxItem *)') - - -def getIcon(name, group=KIcon.NoGroup, size=KIcon.SizeSmall): - """ returns a kde icon by name - - """ - return KGlobal.instance().iconLoader().loadIcon(name, group, size) - - -class KmdiExample(KMdiMainFrm): - """ KmdiExample(parent=None) -> an example KMdiMainFrm window - - """ - uifilebase = 'uikmdi.rc' - viewIcons = ('network', 'email', 'stop', 'back', 'forward', ) - toolIcons = ('view_icon', 'configure') - - def __init__(self, parent=None): - KMdiMainFrm.__init__(self, parent, 'KmdiExample', KMdi.IDEAlMode) - - xmlfile = os.path.join('.', self.uifilebase) - self.setXMLFile(os.path.abspath(xmlfile)) - actions = self.actionCollection() - self.openNewAction = KStdAction.openNew(self.newView, actions) - self.quitAction = KStdAction.quit(self.close, actions) - self.closeAction = KStdAction.close(self.closeActiveChild, actions) - self.createGUI(None) - self.statusBar() - self.resize(400, 300) - - self.tools = {} - for idx, ico in enumerate(self.toolIcons): - wid = KListBox(self, 'list%s' % idx) - self.makeTool(wid, 'Tool %s' % idx, ico) - ## smells - self.mainToolWidget = maintool = self.tools['Tool 0'][0] - - self.childs = {} - for idx, ico in enumerate(self.viewIcons): - self.makeView('View %s' % idx, ico, ico) - - - self.connect(self, sigChildViewActivated, self.activatedMessage) - self.connect(self, sigChildViewActivated, self.syncFromChildView) - self.connect(maintool, sigBoxSelectionChanged, self.syncFromMainTool) - self.syncFromChildView(self.activeWindow()) - - - def syncFromMainTool(self, item): - """ activate the view that matches the item text - - """ - try: - self.activateView(self.findWindow(item.text())) - except (RuntimeError, ): - pass - - def syncFromChildView(self, child): - """ sync the main tool to the indicated child - - """ - maintool = self.mainToolWidget - item = maintool.findItem(child.tabCaption()) - if item: - maintool.setSelected(item, True) - - def makeTool(self, widget, caption, icon, percent=50): - """ makes a tool from the widget - - """ - tip = i18n('%s Tool Tip' % caption) - dock = KDockWidget.DockLeft - maindock = self.getMainDockWidget() - widget.setIcon(getIcon(icon)) - tool = self.addToolWindow(widget, dock, maindock, percent, tip, caption) - self.tools[caption] = (widget, tool) - - def makeView(self, label, icon, text): - """ makes a child view with a text label and a pixmap label - - """ - view = KMdiChildView(label, self) - self.childs[label] = view - view.setIcon(getIcon(icon)) - layout = QVBoxLayout(view) - layout.setAutoAdd(True) - - lbl = i18n('Label for a view with an icon named %s' % text) - lbl = QLabel(lbl, view) - pxm = QLabel('', view) - pxm.setPixmap(getIcon(icon, size=KIcon.SizeLarge)) - - self.addWindow(view) - self.mainToolWidget.insertItem(label) - self.connect(view, sigChildCloseRequest, self.closeChild) - - def removeMainToolItem(self, view): - """ remove item from the main list tool that corresponds to the view - - """ - maintool = self.mainToolWidget - maintool.takeItem(maintool.findItem(view.tabCaption(), 0)) - - def newView(self): - """ make a view when the user invokes the new action - - """ - self.makeView('View %s' % len(self.childs), 'network', 'A Fresh View') - self.syncFromChildView(self.activeWindow()) - - def closeActiveChild(self): - """ close the current view - - """ - self.removeMainToolItem(self.activeWindow()) - self.closeActiveView() - self.syncFromChildView(self.activeWindow()) - - def closeChild(self, which): - """ called to close a view from its tab close button - - """ - try: - caption = which.tabCaption() - except (AttributeError, ): - ## probably None; bug in kmdi? - return - self.removeMainToolItem(which) - which.close() - self.statusBar().message(i18n('%s closed' % caption)) - self.syncFromChildView(self.activeWindow()) - - def activatedMessage(self, view): - """ updates the status bar with the caption of the current view - - """ - try: - self.statusBar().message(i18n('%s activated' % view.tabCaption())) - except (RuntimeError, ): - ## sometimes the status bar or the current object is already gone... - pass - - -if __name__ == '__main__': - aname = 'PyKDE KMDI Sample' - desc = 'A Simple PyKDE KMDI Sample' - ver = '1.0' - lic = KAboutData.License_GPL - author = 'Troy Melhase' - authormail = 'troy@gci.net' - - about = KAboutData(aname, aname, ver, desc, lic, '%s (c) 2004' % authormail) - about.addAuthor(author, 'hi, mom!', authormail) - about.addAuthor ('Jim Bublitz', 'For PyKDE', 'jbublitz@nwinternet.com') - KCmdLineArgs.init(sys.argv, about) - app = KApplication() - mainWindow = KmdiExample() - mainWindow.show() - app.exec_loop() diff --git a/python/pykde/examples/uikmdi.rc b/python/pykde/examples/uikmdi.rc deleted file mode 100644 index a7e21969..00000000 --- a/python/pykde/examples/uikmdi.rc +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - - - diff --git a/python/pykde/examples/uimodules/uidialogs.py b/python/pykde/examples/uimodules/uidialogs.py deleted file mode 100644 index 0f860728..00000000 --- a/python/pykde/examples/uimodules/uidialogs.py +++ /dev/null @@ -1,232 +0,0 @@ -from qt import QVBox, QLabel, QLineEdit, QString, QPixmap, QPushButton, QColor, SIGNAL, QButtonGroup,\ - QRadioButton, Qt, QWidget - -from kdecore import KAccel, i18n - -from kdeui import KAboutDialog, KAboutKDE, KBugReport, KColorDialog, KDialog, KDialogBase, KFontDialog,\ - KPasswordDialog, KMessageBox, KLineEditDlg, KKeyDialog, KWizard - -# despite what the docs say, there is no enum (in 2.1.1 anyway) -# that contains these values -QuestionYesNo = 0 -WarningYesNo = 1 -WarningContinueCancel = 2 -WarningYesNoCancel = 3 -Information = 4 -Sorry = 5 -Error = 6 - -# Python 2.2.2 supplies these, but they're duplicated here -# for backward compatibility -False = 0 -True = 1 - -class CustomDlg (KDialog): - def __init__ (self, parent, name = "custom dlg", modal = False): - KDialog.__init__ (self, parent, name, modal) - - x = 20 - y = 10 - - rLbl = QLabel ("r", self) - gLbl = QLabel ("g", self) - bLbl = QLabel ("b", self) - self.rEd = QLineEdit ("64", self) - self.gEd = QLineEdit ("64", self) - self.bEd = QLineEdit ("64", self) - self.dlgBtn = QPushButton ("Set/Get Color", self) - self.okBtn = QPushButton ("OK", self) - self.canBtn = QPushButton ("Cancel", self) - - rLbl.setGeometry (x, y, 25, 20) - gLbl.setGeometry (x + 30, y, 25, 20) - bLbl.setGeometry (x + 60, y, 25, 20) - y = y + 20 - self.rEd.setGeometry (x, y, 25, 20) - self.gEd.setGeometry (x + 30, y, 25, 20) - self.bEd.setGeometry (x + 60, y, 25, 20) - y = y + 30 - self.dlgBtn.setGeometry (x, y, 90, 22) - y = y + 30 - self.okBtn.setGeometry (x, y, 40, 22) - self.canBtn.setGeometry (x + 50, y, 40, 22) - - self.connect (self.dlgBtn, SIGNAL ("clicked()"), self.dlgClicked) - self.connect (self.okBtn, SIGNAL ("clicked ()"), self.okClicked) - self.connect (self.canBtn, SIGNAL ("clicked ()"), self.cancelClicked) - - def dlgClicked (self): - # get some (numerical) color values from the original dialog - red = int (self.rEd.text ().latin1 ()) - green = int (self.gEd.text ().latin1 ()) - blue = int (self.bEd.text ().latin1 ()) - - # convert the numbers to a QColor - color = QColor (red, green, blue) - - # invoke the dialog (getColor is a 'static' call) - # initialize with the colors from above (in color) - # color will also hold the new value chosen in the - # KColorDialog - result = KColorDialog.getColor (color, self) - - # get the numerical color values back - red, green, blue = color.rgb () - - # update the QLineEdits in the original dialog - self.rEd.setText (str (red)) - self.gEd.setText (str (green)) - self.bEd.setText (str (blue)) - - def okClicked (self): - self.done (1) - - def cancelClicked (self): - self.done (0) - -class MessageDlg (KDialog): - def __init__ (self, parent, name = "message dlg", modal = False): - KDialog.__init__ (self, parent, name, modal) - - buttons = ["QuestionYesNo", "WarningYesNo", "WarningContiueCancel", "WarningYesNoCancel",\ - "Information", "Sorry", "Error"] - - n = len (buttons) - - grp = QButtonGroup (n, Qt.Vertical, "MessageBoxes", self, "button grp") - grp.setGeometry (10, 10, 200, 30*n) - for i in range (n): - QRadioButton (buttons [i], grp) - - self.connect (grp, SIGNAL ("clicked (int)"), self.launch) - - def launch (self, which): - if which == QuestionYesNo: - KMessageBox.questionYesNo (self, "This is a questionYesNo message box\nThere is also a list version of this dialog",\ - "questionYesNo") - - elif which == WarningYesNo: - KMessageBox.warningYesNo (self, "This is a warningYesNo message box", "warningYesNo") - - elif which == WarningContinueCancel: - KMessageBox.warningContinueCancel (self, "This is a warningContinueCancel message box", "warningContinueCancel"); - - elif which == WarningYesNoCancel: - KMessageBox.warningYesNoCancel (self, "This is a warningYesNoCancel message box", "warningYesNoCancel") - - elif which == Information: - KMessageBox.information (self, "This is an information message box", "Information") - - elif which == Sorry: - KMessageBox.sorry (self, "This is a 'sorry' message box", "Sorry") - - elif which == Error: - KMessageBox.error (self, "No - this isn't really an error\nIt's an error message box\n", "Error") - - -def dlgKAboutDialog (parent): - dlg = KAboutDialog (parent, 'about dialog', False) - dlg.setLogo (QPixmap ("pytestimage.png")) - dlg.setTitle ("UISampler for PyKDE") - dlg.setAuthor ("Jim Bublitz", "jbublitz@nwinternet.com", "http://www.riverbankcomputing.co.uk",\ - "\n\nPyKDE -- Python bindings\n\tfor KDE") - dlg.addContributor ("PyKDE list", "pykde@mats.gmd.de", QString.null, QString.null) - - dlg.show () - - -def dlgKBugReport (parent): - dlg = KBugReport (parent) - dlg.exec_loop () - -def dlgKAboutKDE (parent): - dlg = KAboutKDE (parent, "about kde", False) - dlg.show () - -def dlgKColorDialog (parent): - dlg = KColorDialog (parent, "color dlg", False) - dlg.show () - -def dlgKDialog (parent): - dlg = CustomDlg (parent) - dlg.show () - -def dlgKDialogBase (parent): - caption = "KDialogBase sample" - text_ = "This is a KDialogBase example" - dlg = KDialogBase (parent, "sample_dialog", False, caption,\ - KDialogBase.Ok | KDialogBase.Cancel, KDialogBase.Ok, True ) - - page = dlg.makeVBoxMainWidget(); - - # making 'page' the parent inserts the widgets in - # the VBox created above - label = QLabel( caption, page, "caption" ); - - lineedit = QLineEdit(text_, page, "lineedit" ); - lineedit.setMinimumWidth(dlg.fontMetrics().maxWidth()*20); - - # This tests some handwritten code in KDialogBase - label0 = QLabel ("Border widths", page) - a, b, c, d = dlg.getBorderWidths () - labelA = QLabel ("Upper Left X: " + str (a), page) - labelB = QLabel ("Upper Left Y: " + str (b), page) - labelC = QLabel ("Lower Right X: " + str (c), page) - labelD = QLabel ("Lower Right Y: " + str (d), page) - - dlg.show () - -def dlgKFontDialog (parent): - dlg = KFontDialog (parent, "font dlg", False, False) - dlg.show () - -def dlgKKeyDialog (parent): - # This really doesn't do anything except pop up the dlg - keys = KAccel (parent) - keys.insertItem( i18n( "Zoom in" ), "Zoom in", "+" ); - keys.readSettings(); - KKeyDialog.configureKeys (keys) - -def dlgKLineEditDlg (parent): - result, ok = KLineEditDlg.getText ("Enter text", "", parent) - print "result", result - print "ok", ok - - # pop up another dlg to show what happened in the KLineEditDlg - if ok: - result = result.latin1 () - KMessageBox.information (parent, "OK was pressed\nText: " + result, "KLineEditDlg result") - else: - result = "" - KMessageBox.information (parent, "Cancel pressed\nText: " + result, "KLineEditDlg result") - -def dlgKMessageBox (parent): - dlg = MessageDlg (parent) - dlg.show () - -def dlgKPasswordDialog (parent): - dlg = KPasswordDialog (KPasswordDialog.Password, "Enter password (just a test)") - dlg.exec_loop () - -def dlgKWizard (parent): - wiz = KWizard (parent) - - page1 = QWidget (wiz) - p1Lbl = QLabel ("This is page 1", page1) - p1Lbl.setGeometry (20, 20, 100, 20) - page2 = QWidget (wiz) - p2Lbl = QLabel ("This is page 2", page2) - p2Lbl.setGeometry (50, 20, 100, 20) - page3 = QWidget (wiz) - p3Lbl = QLabel ("This is page 3", page3) - p3Lbl.setGeometry (80, 20, 100, 20) - - wiz.addPage (page1, "Page 1") - wiz.addPage (page2, "Page 2") - wiz.addPage (page3, "Page 3") - wiz.show () - -if __name__ == "__main__": - print - print "Please run uisampler.py" - print \ No newline at end of file diff --git a/python/pykde/examples/uimodules/uimenus.py b/python/pykde/examples/uimodules/uimenus.py deleted file mode 100644 index 19173b3c..00000000 --- a/python/pykde/examples/uimodules/uimenus.py +++ /dev/null @@ -1,108 +0,0 @@ -import os - -from qt import QLabel - -from kdecore import KApplication - -class PageLaunch: - def __init__ (self, parent): - self.page = parent.addPage () - - x = 10 - y = 10 - - launchLbl = QLabel ("Launching application ... please wait\n\nClose launched application to continue", self.page) - launchLbl.setGeometry (x, y, 300, 80) - launchLbl.show () - - self.page.show () - - KApplication.kApplication ().processEvents () - - -class PageNotImpl: - def __init__ (self, parent): - self.page = parent.addPage () - - x = 10 - y = 10 - - niLbl = QLabel ("Nothing is currently implemented for this widget", self.page) - niLbl.setGeometry (x, y, 300, 20) - niLbl.show () - - -def menuKAccelGen (parent): - parent.currentPageObj = PageNotImpl (parent) - -def menuKAccelMenu (parent): - parent.currentPageObj = PageNotImpl (parent) - -def menuKAction (parent): - parent.currentPageObj = PageLaunch (parent) - os.system ("python menudemo.py") - -def menuKActionMenu (parent): - parent.currentPageObj = PageLaunch (parent) - os.system ("python menudemo.py") - -def menuKActionSeparator (parent): - parent.currentPageObj = PageLaunch (parent) - os.system ("python menudemo.py") - -def menuKContextMenuManager (parent): - pass - -def menuKDCOPActionProxy (parent): - pass - -def menuKHelpMenu (parent): - parent.currentPageObj = PageLaunch (parent) - os.system ("python menudemo.py") - -def menuKMenuBar (parent): - parent.currentPageObj = PageLaunch (parent) - os.system ("python menudemo.py") - -def menuKPanelApplet (parent): - parent.currentPageObj = PageNotImpl (parent) - -def menuKPanelExtension (parent): - parent.currentPageObj = PageNotImpl (parent) - -def menuKPanelMenu (parent): - parent.currentPageObj = PageNotImpl (parent) - -def menuKPopupFrame (parent): - pass - -def menuKPopupMenu (parent): - pass - -def menuKPopupTitle (parent): - pass - -def menuKStatusBar (parent): - parent.currentPageObj = PageLaunch (parent) - os.system ("python menudemo.py") - -def menuKStatusBarLabel (parent): - parent.currentPageObj = PageLaunch (parent) - os.system ("python menudemo.py") - -def menuKStdAction (parent): - parent.currentPageObj = PageLaunch (parent) - os.system ("python menudemo.py") - -def menuKToolBar (parent): - parent.currentPageObj = PageLaunch (parent) - os.system ("python menudemo.py") - -def menuKWindowListMenu (parent): - pass - - -if __name__ == "__main__": - print - print "Please run uisampler.py" - print \ No newline at end of file diff --git a/python/pykde/examples/uimodules/uimisc.py b/python/pykde/examples/uimodules/uimisc.py deleted file mode 100644 index 31f7c181..00000000 --- a/python/pykde/examples/uimodules/uimisc.py +++ /dev/null @@ -1,239 +0,0 @@ -import os, time - -from qt import QImage, QLabel, QPixmap, QPushButton, SIGNAL, QColor, QValidator - -from kdeui import KMessageBox, KDateValidator, KFloatValidator, KIntValidator, KLineEdit, KLed - - - -class Page3: - def __init__ (self, parent): - self.page = parent.addPage () - - x = 10 - y = 15 - - green = QColor (0, 255, 0) - yellow = QColor (255, 255, 0) - red = QColor (255, 0, 0) - - ivLbl = QLabel ("KIntValidator", self.page) - ivLbl.setGeometry (x, y, 100, 20) - ivLbl.show () - - self.iv = KLineEdit (self.page) - self.iv.setGeometry (x, y + 20, 100, 20) - self.iv.show () - self.page.connect (self.iv, SIGNAL("textChanged (const QString &)"), self.ivChanged) - - self.ivVal = KIntValidator (self.page) - self.ivVal.setRange (20, 50) - - ivRngLbl = QLabel ("Range is 20 - 50", self.page) - ivRngLbl.setGeometry (x, y + 45, 100, 20) - ivRngLbl.show () - - ivAccLbl = QLabel ("Acceptable", self.page) - ivAccLbl.setGeometry (x + 125, y + 45, 85, 20) - ivAccLbl.show () - ivInterLbl = QLabel ("Intermediate", self.page) - ivInterLbl.setGeometry (x + 125, y + 20, 85, 20) - ivInterLbl.show () - ivInvalLbl = QLabel ("Invalid", self.page) - ivInvalLbl.setGeometry (x + 125, y - 5, 85, 20) - ivInvalLbl.show () - self.ivInvalLed = KLed (red, KLed.Off, KLed.Sunken, KLed.Circular,self.page) - self.ivInvalLed.setGeometry (x + 215, y - 5, 18, 18) - self.ivInvalLed.show () - self.ivInterLed = KLed (yellow, KLed.Off, KLed.Sunken, KLed.Circular,self.page) - self.ivInterLed.setGeometry (x + 215, y + 20, 18, 18) - self.ivInterLed.show () - self.ivAccLed = KLed (green, KLed.On, KLed.Sunken, KLed.Circular,self.page) - self.ivAccLed.setGeometry (x + 215, y + 45, 18, 18) - self.ivAccLed.show () - - y = y + 100 - - fvLbl = QLabel ("KFloatValidator", self.page) - fvLbl.setGeometry (x, y, 100, 20) - fvLbl.show () - - self.fv = KLineEdit (self.page) - self.fv.setGeometry (x, y + 20, 100, 20) - self.fv.show () - self.page.connect (self.fv, SIGNAL("textChanged (const QString &)"), self.fvChanged) - - self.fvVal = KFloatValidator (self.page) - self.fvVal.setRange (10.0, 40.0) - - fvRngLbl = QLabel ("Range is 10.0 - 40.0", self.page) - fvRngLbl.setGeometry (x, y + 45, 100, 20) - fvRngLbl.show () - - fvAccLbl = QLabel ("Acceptable", self.page) - fvAccLbl.setGeometry (x + 125, y + 45, 85, 20) - fvAccLbl.show () - fvInterLbl = QLabel ("Intermediate", self.page) - fvInterLbl.setGeometry (x + 125, y + 20, 95, 20) - fvInterLbl.show () - fvInvalLbl = QLabel ("Invalid", self.page) - fvInvalLbl.setGeometry (x + 125, y - 5, 85, 20) - fvInvalLbl.show () - self.fvInvalLed = KLed (red, KLed.Off, KLed.Sunken, KLed.Circular,self.page) - self.fvInvalLed.setGeometry (x + 215, y - 5, 18, 18) - self.fvInvalLed.show () - self.fvInterLed = KLed (yellow, KLed.Off, KLed.Sunken, KLed.Circular,self.page) - self.fvInterLed.setGeometry (x + 215, y + 20, 18, 18) - self.fvInterLed.show () - self.fvAccLed = KLed (green, KLed.On, KLed.Sunken, KLed.Circular,self.page) - self.fvAccLed.setGeometry (x + 215, y + 45, 18, 18) - self.fvAccLed.show () - - y = y + 100 - - dvLbl = QLabel ("KDateValidator", self.page) - dvLbl.setGeometry (x, y, 100, 20) - dvLbl.show () - - self.dv = KLineEdit (self.page) - self.dv.setGeometry (x, y + 20, 100, 20) - self.dv.show () -# self.page.connect (self.dv, SIGNAL("textChanged (const QString &)"), self.dvChanged) - - self.dvVal = KDateValidator (self.page) -# self.dvVal.setRange (10.0, 40.0) - -# dvRngLbl = QLabel ("Range is 10.0 - 40.0", self.page) -# dvRngLbl.setGeometry (x, y + 45, 100, 20) -# dvRngLbl.show () - - dvBtn = QPushButton ("Validate", self.page) - dvBtn.setGeometry (x, y + 45, 60, 22) - dvBtn.show () - self.page.connect (dvBtn, SIGNAL ("clicked ()"), self.dvChanged) - - dvNoteLbl = QLabel ("Format is locale dependent\nShort date only\nTry DD-MM-YY", self.page) - dvNoteLbl.setGeometry (x, y + 70, 150, 60) - dvNoteLbl.show () - - dvAccLbl = QLabel ("Acceptable", self.page) - dvAccLbl.setGeometry (x + 125, y + 45, 85, 20) - dvAccLbl.show () - dvInterLbl = QLabel ("Intermediate", self.page) - dvInterLbl.setGeometry (x + 125, y + 20, 85, 20) - dvInterLbl.show () - dvInvalLbl = QLabel ("Invalid", self.page) - dvInvalLbl.setGeometry (x + 125, y - 5, 85, 20) - dvInvalLbl.show () - self.dvInvalLed = KLed (red, KLed.Off, KLed.Sunken, KLed.Circular,self.page) - self.dvInvalLed.setGeometry (x + 215, y - 5, 18, 18) - self.dvInvalLed.show () - self.dvInterLed = KLed (yellow, KLed.Off, KLed.Sunken, KLed.Circular,self.page) - self.dvInterLed.setGeometry (x + 215, y + 20, 18, 18) - self.dvInterLed.show () - self.dvAccLed = KLed (green, KLed.On, KLed.Sunken, KLed.Circular,self.page) - self.dvAccLed.setGeometry (x + 215, y + 45, 18, 18) - self.dvAccLed.show () - - def ivChanged (self): - self.ivInvalLed.off () - self.ivInterLed.off () - self.ivAccLed.off () - - state, i = self.ivVal.validate (self.iv.text ()) - - if state == QValidator.Acceptable: - self.ivAccLed.on () - elif state == QValidator.Intermediate: - self.ivInterLed.on () - else: - self.ivInvalLed.on () - - def fvChanged (self): - self.fvInvalLed.off () - self.fvInterLed.off () - self.fvAccLed.off () - - state, i = self.fvVal.validate (self.fv.text ()) - - if state == QValidator.Acceptable: - self.fvAccLed.on () - elif state == QValidator.Intermediate: - self.fvInterLed.on () - else: - self.fvInvalLed.on () - - def dvChanged (self): - self.dvInvalLed.off () - self.dvInterLed.off () - self.dvAccLed.off () - - state, i = self.dvVal.validate (self.dv.text ()) - - if state == QValidator.Acceptable: - self.dvAccLed.on () - elif state == QValidator.Intermediate: - self.dvInterLed.on () - else: - self.dvInvalLed.on () - -class PageNotImpl: - def __init__ (self, parent): - self.page = parent.addPage () - - x = 10 - y = 10 - - niLbl = QLabel ("Nothing is currently implemented for this widget", self.page) - niLbl.setGeometry (x, y, 300, 20) - niLbl.show () - -def miscKAlphaPainter (parent): - parent.currentPageObj = PageNotImpl (parent) - -def miscKCModule (parent): - parent.currentPageObj = PageNotImpl (parent) - -def miscKColor (parent): - parent.currentPageObj = PageNotImpl (parent) - -def miscKColorDrag (parent): - parent.currentPageObj = PageNotImpl (parent) - -def miscKCommand (parent): - parent.currentPageObj = PageNotImpl (parent) - -def miscKCommandHistory (parent): - parent.currentPageObj = PageNotImpl (parent) - -def miscKDockWindow (parent): - parent.currentPageObj = PageNotImpl (parent) - -def miscKFloatValidator (parent): - parent.currentPageObj = Page3 (parent) - -def miscKDateValidator (parent): - parent.currentPageObj = Page3 (parent) - -def miscKIntValidator (parent): - parent.currentPageObj = Page3 (parent) - -def miscKPixmapIO (parent): - parent.currentPageObj = PageNotImpl (parent) - -def miscKSharedPixmap (parent): - parent.currentPageObj = PageNotImpl (parent) - -def miscKSystemTray (parent): - KMessageBox.information (parent, "See the systray.py example in the templates/ subdirectories") - -def miscKThemeBase (parent): - parent.currentPageObj = PageNotImpl (parent) - -def miscQXEmbed (parent): - parent.currentPageObj = PageNotImpl (parent) - -if __name__ == "__main__": - print - print "Please run uisampler.py" - print \ No newline at end of file diff --git a/python/pykde/examples/uimodules/uiwidgets.py b/python/pykde/examples/uimodules/uiwidgets.py deleted file mode 100644 index b12df103..00000000 --- a/python/pykde/examples/uimodules/uiwidgets.py +++ /dev/null @@ -1,754 +0,0 @@ -import time, sys - -from qt import QLabel, QFrame, QColor, QPushButton, SIGNAL, QButtonGroup, QRadioButton, Qt, QString, QChar,\ - QWidget, QTimer - -from kdecore import KApplication -from kdeui import KEdit, KComboBox, KColorCombo, KEditListBox, KListBox, KLineEdit, KRestrictedLine,\ - KSqueezedTextLabel, KFontChooser, KButtonBox, KColorButton, KColorCells,\ - KColorPatch, KDualColorButton,\ - KRootPermsIcon, KWritePermsIcon, KCharSelect, KDialog, KLed, KRootPixmap,\ - KTabCtl, KProgress, KDatePicker, KDateTable, KGradientSelector, KHSSelector,\ - KIntNumInput, KDoubleNumInput, KPasswordEdit, KURLLabel, KPaletteTable,\ - KSeparator - -if sys.version [:6] < "2.2.2": - False = 0 - True = 1 - -class Page1: - def __init__ (self, parent): - self.page = parent.addPage () - - x = 10 - y = 10 - - editLbl = QLabel ("KEdit", self.page) - editLbl.setGeometry (x, y, 50, 20) - editLbl.show () - - textList = ["Now is the winter of our discontent",\ - "made glorious summer by this sun of York;",\ - "and all the clouds that lour'd upon our house",\ - "in the deep bosom of the ocean buried."] - - parent.edit = KEdit (self.page) - parent.edit.setGeometry (x, y + 20, 300, 100) - for line in textList: - parent.edit.insertLine (line) - parent.edit.show () - - y = y + 125 - searchBtn = QPushButton ("Search", self.page) - replaceBtn = QPushButton ("Replace", self.page) - gotoBtn = QPushButton ("GoTo Line", self.page) - - searchBtn.setGeometry (x, y, 60, 22) - replaceBtn.setGeometry (x + 90, y, 60, 22) - gotoBtn.setGeometry (x + 180, y, 60, 22) - - self.page.connect (searchBtn, SIGNAL ("clicked ()"), parent.edit.search) - self.page.connect (replaceBtn, SIGNAL ("clicked ()"), parent.edit.replace) - self.page.connect (gotoBtn, SIGNAL ("clicked ()"), parent.edit.doGotoLine) - - searchBtn.show () - replaceBtn.show () - gotoBtn.show () - - y = y + 35 - - lineeditLbl = QLabel ("KLineEdit", self.page) - lineeditLbl.setGeometry (x, y, 70, 20) - lineeditLbl.show () - - lineedit = KLineEdit (self.page) - lineedit.setGeometry (x, y + 20, 100, 20) - lineedit.show () - - intLbl = QLabel ("KIntNumInput", self.page) - intLbl.setGeometry (x + 195, y + 35, 95, 20) - intLbl.show () - - intNum = KIntNumInput (5, self.page) - intNum.setGeometry (x + 195, y + 55, 175, 50) -# intNum.setSuffix (" GB") -# intNum.setPrefix ("hdc ") - intNum.setLabel ("Capacity") - intNum.setRange (0, 10, 1, True) - intNum.show () - - y = y + 50 - - dblLbl = QLabel ("KDoubleNumInput", self.page) - dblLbl.setGeometry (x + 195, y + 80, 115, 20) - dblLbl.show () - - dblNum = KDoubleNumInput (2.5, self.page) - dblNum.setGeometry (x + 195, y + 100, 175, 50) - dblNum.setLabel ("Variable") - dblNum.setRange (0.0, 10.0, 0.5, True) - dblNum.show () - - restricteditLbl = QLabel ("KRestrictedLine", self.page) - restricteditLbl.setGeometry (x, y, 95, 20) - restricteditLbl.show () - - self.restrictlineedit = KRestrictedLine (self.page) - self.restrictlineedit.setGeometry (x, y + 20, 100, 20) - self.restrictlineedit.show () - - buttons = ["Numbers Only", "Upper Case Only", "Lower Case Only"] - - n = len (buttons) - - self.validLbl = QLabel ("", self.page) - self.validLbl.setGeometry (x, y + 50, 250, 20) - self.validLbl.show () - - grp = QButtonGroup (n, Qt.Vertical, "Select valid chars", self.page, "button grp") - grp.setGeometry (x, y + 75, 150, 5+30*n) - for i in range (n): - QRadioButton (buttons [i], grp) - - grp.connect (grp, SIGNAL ("clicked (int)"), self.restrict) - - grp.find (0).setChecked (True) - self.restrict (0) - - grp.show () - - self.page.show () - kapp = KApplication.kApplication () - kapp.processEvents () - - y = y + 195 - sqzLbl = QLabel ("This text is too long to fit in the label below", self.page) - sqzLbl.setGeometry (x, y, 350, 20) - sqzLbl.show () - - sqzLbl1 = QLabel ("KSqueezedTxtLabel:", self.page) - sqzLbl1.setGeometry (x, y + 20, 120, 20) - sqzLbl1.show () - - squeeze = KSqueezedTextLabel ("This text is too long to fit in the label below", self.page) - squeeze.setGeometry (x + 125, y + 20, 125, 20) - squeeze.setBackgroundMode (QWidget.PaletteBase) - squeeze.show () - - def restrict (self, which): - r = {0: "0123456789", 1: "ABCDEFGHIJKLMNOPQRSTUVWXYZ", 2: "abcdefghijklmnopqrstuvwxyz"} - self.restrictlineedit.setValidChars (r [which]) - self.validLbl.setText ("Valid: " + self.restrictlineedit.validChars ().latin1 ()) - - -class Page2: - def __init__ (self, parent): - self.page = parent.addPage () - - x1 = 10 - y1 = 10 - x2 = 240 - y2 = 100 - - - - cbLbl = QLabel ("KComboBox", self.page) - cbLbl.setGeometry (x1, y1, 75, 20) - cbLbl.show () - - combo = KComboBox (self.page) - combo.insertStrList (["One", "Two", "Three"]) - combo.setGeometry (x1, y1 + 20, 100, 25) - combo.show () - - ccbLbl = QLabel ("KColorCombo", self.page) - ccbLbl.setGeometry (x2, y1, 100, 20) - ccbLbl.show () - - colorCombo = KColorCombo (self.page) - colorCombo.setGeometry (x2, y1 + 20, 100, 25) - colorCombo.show () - - editListBox = KEditListBox ("KEditListBox", self.page) - editListBox.setGeometry (x1, y2, 220, 175) - editListBox.insertStrList (["One", "Two", "Three"]) - editListBox.show () - - lbLbl = QLabel ("KListBox", self.page) - lbLbl.setGeometry (x2, y2, 100, 20) - lbLbl.show () - - listBox = KListBox (self.page) - listBox.setGeometry (x2, y2 + 20, 100, 100) - listBox.insertStrList (["One", "Two", "Three"]) - listBox.show () - -class Page3: - def __init__ (self, parent): - self.page = parent.addPage () - - x = 10 - y = 10 - - fontLbl = QLabel ("KFontChooser", self.page) - fontLbl.setGeometry (x, y, 95, 20) - fontLbl.show () - - fontChoose = KFontChooser (self.page) - fontChoose.setGeometry (x, y + 20, 375, 300) - fontChoose.show () - - y = y + 330 - -class Page4: - def __init__ (self, parent): - self.page = parent.addPage () - - x = 10 - y = 10 - - cbLbl = QLabel ("KColorButton", self.page) - cbLbl.setGeometry (x, y, 75, 20) - cbLbl.show () - - cb = KColorButton (self.page) - cb.setColor (QColor (255, 0, 0)) - cb.setGeometry (x, y + 20, 30, 30) - cb.show () - - ccbLbl = QLabel ("KColorCombo", self.page) - ccbLbl.setGeometry (x + 150, y, 100, 20) - ccbLbl.show () - - colorCombo = KColorCombo (self.page) - colorCombo.setGeometry (x + 150, y + 20, 100, 25) - colorCombo.show () - - y = y + 60 - - cpLbl = QLabel ("KColorPatch", self.page) - cpLbl.setGeometry (x, y, 75, 20) - cpLbl.show () - - cp = KColorPatch (self.page) - cp.setColor (QColor (255, 0, 0)) - cp.setGeometry (x, y + 20, 20, 20) - cp.show () - - x = x + 150 - - ccLbl = QLabel ("KColorCells", self.page) - ccLbl.setGeometry (x, y, 75, 20) - ccLbl.show () - - cc = KColorCells (self.page, 1, 5) - cc.setColor (0, QColor (0, 0, 0)) - cc.setColor (1, QColor (255, 0, 0)) - cc.setColor (2, QColor (0, 255, 0)) - cc.setColor (3, QColor (0, 0, 255)) - cc.setColor (4, QColor (255, 255, 255)) - cc.setGeometry (x, y + 20, 100, 20) - cc.show () - - x = 10 - y = y + 50 - - dcLbl = QLabel ("KDualColorButton", self.page) - dcLbl.setGeometry (x, y, 105, 20) - dcLbl.show () - - dc = KDualColorButton (QColor (255, 0, 0), QColor (0, 0, 0), self.page) - dc.setGeometry (x, y + 20, 40, 40) - dc.show () - - gsLbl = QLabel ("KGradientSelector", self.page) - gsLbl.setGeometry (x + 80, y + 30, 110, 20) - gsLbl.show () - - gs = KGradientSelector (self.page) - gs.setGeometry (x + 80, y + 50, 250, 20) - gs.setColors (QColor (255, 0, 0), QColor (255, 255, 0)) - gs.show () - - y = y + 80 - - hsLbl = QLabel ("KHSSelector", self.page) - hsLbl.setGeometry (x, y, 95, 20) - hsLbl.show () - - hs = KHSSelector (self.page) - hs.setGeometry (x, y + 20, 350, 80) - hs.show () - - y = y + 110 - - ptLbl = QLabel ("KPaletteTable", self.page) - ptLbl.setGeometry (x, y, 95, 20) - ptLbl.show () - - pt = KPaletteTable (self.page, 340, 24) - pt.setPalette ("Royal") - pt.setGeometry (x, y + 20, 340, 40) - pt.show () - -class Page5: - def __init__ (self, parent): - self.page = parent.addPage () - - x = 10 - y = 10 - - rpLbl = QLabel ("KRootPermsIcon", self.page) - rpLbl.setGeometry (x, y, 95, 20) - rpLbl.show () - - rp = KRootPermsIcon (self.page) - rp.setGeometry (x, y + 20, 32, 32) - rp.show () - - wpLbl = QLabel ("KWritePermsIcon", self.page) - wpLbl.setGeometry (x + 125, y, 95, 20) - wpLbl.show () - - wp = KWritePermsIcon ("/usr/bin/gcc", self.page) - wp.setGeometry (x + 125, y + 20, 32, 32) - wp.show () - - y = y + 75 - - pw1Lbl = QLabel ("KPasswordEdit - echo *", self.page) - pw1Lbl.setGeometry (x, y, 150, 20) - pw1Lbl.show () - - pw1 = KPasswordEdit (self.page, "", KPasswordEdit.OneStar) - pw1.setGeometry (x, y + 20, 100, 20) - pw1.show () - - y = y + 50 - - pw2Lbl = QLabel ("KPasswordEdit - echo ***", self.page) - pw2Lbl.setGeometry (x, y, 150, 20) - pw2Lbl.show () - - pw2 = KPasswordEdit (self.page, "", KPasswordEdit.ThreeStars) - pw2.setGeometry (x, y + 20, 100, 20) - pw2.show () - - y = y + 50 - - pw3Lbl = QLabel ("KPasswordEdit - no echo", self.page) - pw3Lbl.setGeometry (x, y, 150, 20) - pw3Lbl.show () - - pw3 = KPasswordEdit (self.page, "", KPasswordEdit.NoEcho) - pw3.setGeometry (x, y + 20, 100, 20) - pw3.show () - - y = y + 50 - - urlLbl = QLabel ("KURLLabel", self.page) - urlLbl.setGeometry (x, y, 100, 20) - urlLbl.show () - - url = KURLLabel ("http://riverbankcomputing.co.uk", "PyKDE", self.page) - url.setGeometry (x, y + 20, 100, 20) - url.setUseTips (True) - url.setTipText ("http://riverbankcomputing.co.uk") - url.show () - - x = 70 - y = y + 50 - - bbLbl = QLabel ("KButtonBox", self.page) - bbLbl.setGeometry (x, y, 75, 20) - bbLbl.show () - - bbox = KButtonBox (self.page, Qt.Horizontal) - bbox.setGeometry (x, y + 20, 300, 22) - bbox.addButton ("Button 1") - bbox.addButton ("Button 2") - bbox.addButton ("Button 3") - bbox.show () - - y = y + 50 - -# dbLbl = QLabel ("KDirectionButton", self.page) -# dbLbl.setGeometry (x, y, 95, 20) -# dbLbl.show () - -# dbUp = KDirectionButton (Qt.UpArrow, self.page) -# dbDown = KDirectionButton (Qt.DownArrow, self.page) -# dbRight = KDirectionButton (Qt.RightArrow, self.page) -# dbLeft = KDirectionButton (Qt.LeftArrow, self.page) - -# dbUp.setGeometry (x, y + 20, 22, 22) -# dbDown.setGeometry (x + 30, y + 20, 22, 22) -# dbRight.setGeometry (x + 60, y + 20, 22, 22) -# dbLeft.setGeometry (x + 90, y + 20, 22, 22) - -# dbUp.show () -# dbDown.show () -# dbRight.show () -# dbLeft.show () - - x = x + 150 - -# kbLbl = QLabel ("KKeyButton", self.page) -# kbLbl.setGeometry (x, y, 95, 20) -# kbLbl.show () - -# kb = KKeyButton (self.page) -# kb.setText ("Enter") -# kb.setGeometry (x, y + 20, 50, 32) -# kb.show () - - x = 70 - y = y + 50 - -# tbLbl = QLabel ("KTabButton", self.page) -# tbLbl.setGeometry (x, y, 95, 20) -# tbLbl.show () - -# tbUp = KTabButton (Qt.UpArrow, self.page) -# tbDown = KTabButton (Qt.DownArrow, self.page) -# tbRight = KTabButton (Qt.RightArrow, self.page) -# tbLeft = KTabButton (Qt.LeftArrow, self.page) - -# tbUp.setGeometry (x, y + 20, 22, 25) -# tbDown.setGeometry (x + 30, y + 20, 22, 25) -# tbRight.setGeometry (x + 60, y + 20, 22, 25) -# tbLeft.setGeometry (x + 90, y + 20, 22, 25) - -# tbUp.show () -# tbDown.show () -# tbRight.show () -# tbLeft.show () - -class Page6: - def __init__ (self, parent): - self.page = parent.addPage () - - x = 20 - y = 10 - - red = QColor (255, 0, 0) - green = QColor (0, 255, 0) - yellow = QColor (255, 255, 0) - blue = QColor (0, 0, 255) - - ledcolor = [red, green, yellow, blue] - ledshape = [KLed.Rectangular, KLed.Circular] - ledlook = [KLed.Flat, KLed.Raised, KLed.Sunken] - ledsize = [10, 18, 25] - self.ledlist = [] - - for look in ledlook: - for color in ledcolor: - for shape in ledshape: - for size in ledsize: - led = KLed(color, KLed.On, look, shape,self.page) - led.setGeometry (x, y, size, size) - self.ledlist.append (led) - led.show () - x = x + 50 - x = x + 50 - x = 20 - y = y + 30 - y = y + 10 - - toggle = QPushButton ("Toggle", self.page) - toggle.setGeometry (150, 400, 60, 22) - toggle.show () - - self.page.connect (toggle, SIGNAL ("clicked ()"), self.toggleClicked) - - self.page.show () - - - def toggleClicked (self): - for led in self.ledlist: - led.toggle () - -class Page7: - def __init__ (self, parent): - self.page = parent.addPage () - - x = 10 - y = 10 - - tabLbl = QLabel ("KTabCtl", self.page) - tabLbl.setGeometry (x, y, 95, 20) - tabLbl.show () - - tab = KTabCtl (self.page) - tab.setGeometry (x, y + 20, 300, 100) - - page1 = QWidget (tab) - p1Lbl = QLabel ("This is page 1", page1) - p1Lbl.setGeometry (20, 20, 100, 20) - page2 = QWidget (tab) - p2Lbl = QLabel ("This is page 2", page2) - p2Lbl.setGeometry (50, 20, 100, 20) - page3 = QWidget (tab) - p3Lbl = QLabel ("This is page 3", page3) - p3Lbl.setGeometry (20, 50, 100, 20) - - tab.addTab (page1, "Tab 1") - tab.addTab (page2, "Tab 2") - tab.addTab (page3, "Tab 3") - tab.show () - - x = 10 - y = 150 - - progLbl = QLabel ("KProgress", self.page) - progLbl.setGeometry (x, y + 50, 95, 20) - progLbl.show () - - self.p1 = KProgress (self.page) - self.p2 = KProgress (15, self.page) - self.p1.setRange (0, 25) - self.p2.setRange (0, 25) - - self.p1.setGeometry (x, y + 80, 125, 20) - self.p2.setGeometry (x, y + 120, 125, 20) - - self.p2.setPercentageVisible (0) - - self.p1.show () - self.p2.show () - - self.total = 0 - - y = y + 150 - sepLbl = QLabel ("KSeparator", self.page) - sepLbl.setGeometry (x, y, 95, 20) - sepLbl.show () - - sep = KSeparator (QFrame.HLine, self.page) - sep.setGeometry (x, y + 20, 75, 10) - sep.show () - - - self.page.show () - - self.add1 (self) - - def add1 (self, junk = 0): - self.total = self.total + 1 - self.p1.advance (1) - self.p2.advance (1) - - if self.total < 26: - QTimer.singleShot (100, self.add1) - - - -class Page8: - def __init__ (self, parent): - self.page = parent.addPage () - - x = 40 - y = 10 - - dpLbl = QLabel ("KDatePicker", self.page) - dpLbl.setGeometry (x, y, 95, 20) - dpLbl.show () - - dp = KDatePicker (self.page) - dp.setGeometry (x, y + 20, 300, 170) - dp.show () - - y = y + 210 - - dtLbl = QLabel ("KDateTable", self.page) - dtLbl.setGeometry (x, y, 95, 20) - dtLbl.show () - - dt = KDateTable (self.page) - dt.setGeometry (x, y + 20, 300, 130) - dt.show () - -class PageThisApp: - def __init__ (self, parent): - self.page = parent.addPage () - - x = 10 - y = 10 - - taLbl = QLabel ("This application uses KMainWindow as its top level widget\n and KListView in the"\ - " left-hand panel", self.page) - taLbl.setGeometry (x, y, 300, 60) - taLbl.show () - -class PageNotImpl: - def __init__ (self, parent): - self.page = parent.addPage () - - x = 10 - y = 10 - - niLbl = QLabel ("Nothing is currently implemented for this widget", self.page) - niLbl.setGeometry (x, y, 300, 20) - niLbl.show () - -class CSDlg (KDialog): - def __init__ (self, parent, name = "char select dlg", modal = False): - KDialog.__init__ (self, parent, name, modal) - - self.setGeometry (150, 50, 700, 320) - x = 10 - y = 10 - - csLbl = QLabel ("KCharSelect", self) - csLbl.setGeometry (x, y, 95, 20) - csLbl.show () - - cs = KCharSelect (self, "chselect", QString.null, QChar (' '), 0) - cs.setGeometry (x, y + 20, 680, 250) - cs.show () - - closeBtn = QPushButton ("Close", self) - closeBtn.setGeometry ( 610, 280, 60, 22) - closeBtn.show () - - self.connect (closeBtn, SIGNAL ("clicked ()"), self.closeClicked) - - def closeClicked (self): - self.done (1) - -def widKAnimWidget (parent): - parent.currentPageObj = PageNotImpl (parent) - -def widKAuthIcon (parent): - parent.currentPageObj = Page5 (parent) - -def widKButtonBox (parent): - parent.currentPageObj = Page5 (parent) - -def widKCharSelect (parent): - dlg = CSDlg (parent) - dlg.show () - -def widKColorButton (parent): - parent.currentPageObj = Page4 (parent) - -def widKColorCells (parent): - parent.currentPageObj = Page4 (parent) - -def widKColorCombo (parent): - parent.currentPageObj = Page2 (parent) - -def widKColorPatch (parent): - parent.currentPageObj = Page4 (parent) - -def widKComboBox (parent): - parent.currentPageObj = Page2 (parent) - -def widKCompletionBox (parent): - parent.currentPageObj = PageNotImpl (parent) - -def widKContainerLayout (parent): - parent.currentPageObj = PageNotImpl (parent) - -def widKCursor (parent): - parent.currentPageObj = PageNotImpl (parent) - -def widKDatePicker (parent): - parent.currentPageObj = Page8 (parent) - -def widKDateTable (parent): - parent.currentPageObj = Page8 (parent) - -def widKDirectionButton (parent): - parent.currentPageObj = Page5 (parent) - -def widKDualColorButton (parent): - parent.currentPageObj = Page4 (parent) - -def widKEdit (parent): - parent.currentPageObj = Page1 (parent) - -def widKEditListBox (parent): - parent.currentPageObj = Page2 (parent) - -def widKFontChooser (parent): - parent.currentPageObj = Page3 (parent) - -def widKHSSelector (parent): - parent.currentPageObj = Page4 (parent) - -def widKIconView (parent): - parent.currentPageObj = PageNotImpl (parent) - -def widKJanusWidget (parent): - parent.currentPageObj = PageNotImpl (parent) - -#def widKKeyButton (parent): -# parent.currentPageObj = Page5 (parent) - -def widKKeyChooser (parent): - parent.currentPageObj = PageNotImpl (parent) - -def widKLed (parent): - parent.currentPageObj = Page6 (parent) - -def widKLineEdit (parent): - parent.currentPageObj = Page1 (parent) - -def widKListBox (parent): - parent.currentPageObj = Page2 (parent) - -def widKListView (parent): - parent.currentPageObj = PageThisApp (parent) - -def widKNumInput (parent): - parent.currentPageObj = Page1 (parent) - -def widKPaletteTable (parent): - parent.currentPageObj = Page4 (parent) - -def widKPasswordEdit (parent): - parent.currentPageObj = Page5 (parent) - -def widKProgress (parent): - parent.currentPageObj = Page7 (parent) - -def widKRootPixmap (parent): - parent.currentPageObj = PageNotImpl (parent) - -def widKMainWindow (parent): - parent.currentPageObj = PageThisApp (parent) - -def widKRestrictedLine (parent): - parent.currentPageObj = Page1 (parent) - -def widKRuler (parent): - parent.currentPageObj = PageNotImpl (parent) - -def widKSelector (parent): - parent.currentPageObj = Page4 (parent) - -def widKSeparator (parent): - parent.currentPageObj = Page7 (parent) - -def widKSqueezedTextLabel (parent): - parent.currentPageObj = Page1 (parent) - -def widKTabButton (parent): - parent.currentPageObj = Page5 (parent) - -def widKTabCtl (parent): - parent.currentPageObj = Page7 (parent) - -def widKTextBrowser (parent): - parent.currentPageObj = PageNotImpl (parent) - -def widKURLLabel (parent): - parent.currentPageObj = Page5 (parent) - - -if __name__ == "__main__": - print - print "Please run uisampler.py" - print \ No newline at end of file diff --git a/python/pykde/examples/uimodules/uixml.py b/python/pykde/examples/uimodules/uixml.py deleted file mode 100644 index baa6c866..00000000 --- a/python/pykde/examples/uimodules/uixml.py +++ /dev/null @@ -1,45 +0,0 @@ -import os - -from qt import QLabel - -from kdecore import KApplication - -class PageLaunch: - def __init__ (self, parent): - self.page = parent.addPage () - - x = 10 - y = 10 - - launchLbl = QLabel ("Launching application ... please wait\n\nClose launched application to continue", self.page) - launchLbl.setGeometry (x, y, 300, 80) - launchLbl.show () - - self.page.show () - - KApplication.kApplication ().processEvents () - -def xmlKActionCollection (parent): - parent.currentPageObj = PageLaunch (parent) - os.system ("python xmlmenudemo.py") - -def xmlKEditToolbar (parent): - parent.currentPageObj = PageLaunch (parent) - os.system ("python xmlmenudemo.py") - -def xmlKEditToolbarWidget (parent): - parent.currentPageObj = PageLaunch (parent) - os.system ("python xmlmenudemo.py") - -def xmlKXMLGUIBuilder (parent): - parent.currentPageObj = PageLaunch (parent) - os.system ("python xmlmenudemo.py") - -def xmlKXMLGUIClient (parent): - parent.currentPageObj = PageLaunch (parent) - os.system ("python xmlmenudemo.py") - -def xmlKXMLGUIFactory (parent): - parent.currentPageObj = PageLaunch (parent) - os.system ("python xmlmenudemo.py") - diff --git a/python/pykde/examples/uiqxembed.py b/python/pykde/examples/uiqxembed.py deleted file mode 100644 index 4f223b70..00000000 --- a/python/pykde/examples/uiqxembed.py +++ /dev/null @@ -1,119 +0,0 @@ -#!/usr/bin/env python -""" - -""" -import sys - -from qt import QIconSet, QProcess, QTimer, SIGNAL, SLOT - -from kdecore import KAboutData, KApplication, KCmdLineArgs, KGlobal, KIcon -from kdecore import KWin, KWinModule -from kdeui import KComboBox, KMainWindow, KPushButton, QXEmbed - - -## add the missing items to the pyuic-generated module -import qxembedexample -qxembedexample.KComboBox = KComboBox -qxembedexample.KPushButton = KPushButton - -from qxembedexample import QXEmbedExample - - -def getIcon(name, group=KIcon.NoGroup, size=KIcon.SizeSmall): - """ returns a kde icon by name - - """ - return KGlobal.instance().iconLoader().loadIcon(name, group, size) - -def getIconSet(name, group=KIcon.NoGroup, size=KIcon.SizeSmall): - """ returns a kde icon set by name - - """ - return KGlobal.instance().iconLoader().loadIconSet(name, group, size) - - -def getWindow(pid): - """ return a window info object for the process id (or None) - - """ - for winid in KWinModule().windows(): - info = KWin.info(winid) - if pid == info.pid: - return info - - -class ExampleForm(QXEmbedExample): - """ wraps the pyuic generated form class with our behavior - - """ - def __init__(self, parent): - QXEmbedExample.__init__(self, parent) - combo = self.appNameCombo - items = [(idx, '%s' % combo.text(idx)) for idx in range(combo.count())] - for idx, name in items: - combo.changeItem(getIcon(name), name, idx) - self.mainTabs.setTabIconSet(self.tab, getIconSet('help')) - self.launchButton.setIconSet(getIconSet('exec')) - self.launchButton.setText('Launch and Embed') - - def launchApp(self): - """ launch the process selected in the combo - - """ - name = self.appNameCombo.currentText() - self.proc = proc = QProcess() - proc.addArgument(name) - code = proc.start() - if code: - pid = proc.processIdentifier() - self.launchPid = pid ## cheap - QTimer.singleShot(2000, self.embedLaunchedWindow) - else: - print 'failed to start %s' % name - return - - def embedLaunchedWindow(self): - """ embed the window of the last launched pid - - """ - pid = self.launchPid - winobj = getWindow(pid) - if winobj: - tabs = self.mainTabs - embedded = QXEmbed(self) - caption = '%s (%s)' % (winobj.name, pid, ) - tabs.insertTab(embedded, caption) - embedded.embed(winobj.win) - tabs.showPage(embedded) - pxm = KWin.icon(winobj.win) - tabs.setTabIconSet(embedded, QIconSet(pxm)) - - -class ExampleMain(KMainWindow): - """ an example main window - - """ - def __init__ (self, *args): - KMainWindow.__init__(self, *args) - self.setGeometry(0, 0, 400, 400) - self.embed = embed = ExampleForm(self) - self.setCentralWidget(embed) - - -if __name__ == '__main__': - aname = 'PyKDE QXEmbed Sample' - desc = 'A Simple PyKDE QXEmbed Sample' - ver = '1.0' - lic = KAboutData.License_GPL - author = 'Troy Melhase' - authormail = 'troy@gci.net' - - about = KAboutData(aname, aname, ver, desc, lic, '%s (c) 2004' % authormail) - about.addAuthor(author, 'hi, mom!', authormail) - about.addAuthor ('Jim Bublitz', 'For PyKDE', 'jbublitz@nwinternet.com') - KCmdLineArgs.init(sys.argv, about) - app = KApplication() - mainWindow = ExampleMain() - mainWindow.show() - app.connect(app, SIGNAL('lastWindowClosed()'), app, SLOT('quit()')) - app.exec_loop() diff --git a/python/pykde/examples/uisampler.py b/python/pykde/examples/uisampler.py deleted file mode 100644 index 00dd006e..00000000 --- a/python/pykde/examples/uisampler.py +++ /dev/null @@ -1,227 +0,0 @@ -import sys -sys.path.append ("./uimodules") - -from qt import QSplitter, QWidgetStack, QWidget, QListViewItem, SIGNAL, QCString , QScrollView, QRect, Qt - -from kdecore import KApplication, KCmdLineArgs, KAboutData -from kdeui import KMainWindow, KListView - -from uidialogs import * -from uiwidgets import * -from uimenus import * -from uixml import * -from uimisc import * - -False = 0 -True = not False - -listItems = {"Dialogs": - {"KAboutDialog": ["KAboutApplication", "KAboutContainer", "KImageTrackLabel",\ - "KAboutContainerBase", "KAboutContributor", "KAboutWidget"],\ - "KAboutKDE": [],\ - "KBugReport": [],\ - "KColorDialog": [],\ - "KDialog": [],\ - "KDialogBase": ["KDialogBaseButton", "KDialogBase::SButton", "KDialogBaseTile"],\ - "KFontDialog": [],\ - "KKeyDialog": [],\ - "KLineEditDlg": [],\ - "KMessageBox": [],\ - "KPasswordDialog": [],\ - "KWizard": []},\ - "Widgets": - {"KAnimWidget": [],\ - "KAuthIcon": ["KRootPermsIcon", "KWritePermsIcon"],\ - "KButtonBox": [],\ - "KCharSelect": ["KCharSelectTable"],\ - "KColorButton": [],\ - "KColorCells": [],\ - "KColorCombo": [],\ - "KColorPatch": [],\ - "KComboBox": [],\ - "KCompletionBox": [],\ - "KContainerLayout": ["KContainerLayout::KContainerLayoutItem"],\ - "KCursor": [],\ - "KDatePicker": ["KDateInternalMonthPicker", "KDateInternalYearSelector"],\ - "KDateTable": [],\ - "KDualColorButton": [],\ - "KEdit": ["KEdFind", "KEdGotoLine", "KEdReplace"],\ - "KEditListBox": [],\ - "KFontChooser": [],\ - "KHSSelector": [],\ - "KIconView": [],\ - "KJanusWidget": ["KJanusWidget::IconListBox"],\ - "KKeyChooser": [],\ - "KLed": [],\ - "KLineEdit": [],\ - "KListBox": [],\ - "KListView": [],\ - "KNumInput": ["KDoubleNumInput", "KIntNumInput"],\ - "KPaletteTable": [],\ - "KPasswordEdit": [],\ - "KProgress": [],\ - "KRootPixmap": [],\ - "KMainWindow": [],\ - "KRestrictedLine": [],\ - "KRuler": [],\ - "KSelector": ["KGradientSelector", "KValueSelector", "KHSSelector", "KXYSelector"],\ - "KSeparator": [],\ - "KSqueezedTextLabel": [],\ - "KTabCtl": [],\ - "KTextBrowser": [],\ - "KURLLabel": []},\ - "XML": - {"KActionCollection": [],\ - "KEditToolbar": [],\ - "KEditToolbarWidget": [],\ - "KXMLGUIBuilder": [],\ - "KXMLGUIClient": ["KXMLGUIClient::DocStruct"],\ - "KXMLGUIFactory": []},\ - "Menus/Toolbars": - {"KAccelMenu": [],\ - "KAction": ["KFontAction", "KFontSizeAction", "KListAction", "KRecentFilesAction", "KRadioAction",\ - "KSelectAction", "KToggleAction"],\ - "KActionMenu": [],\ - "KActionSeparator": [],\ - "KContextMenuManager": [],\ - "KDCOPActionProxy": [],\ - "KHelpMenu": [],\ - "KMenuBar": [],\ - "KPanelApplet": [],\ - "KPanelExtension": [],\ - "KPanelMenu": [],\ - "KPopupFrame": [],\ - "KPopupMenu": [],\ - "KPopupTitle": [],\ - "KStatusBar": [],\ - "KStatusBarLabel": [],\ - "KStdAction": [],\ - "KToolBar": ["KToolBarButton", "KToolBarButtonList", "KToolBarPopupAction",\ - "KToolBarRadioGroup", "KToolBarSeparator"],\ - "KWindowListMenu": []},\ - "Other": - {"KAlphaPainter": [],\ - "KCModule": [],\ - "KColor": [],\ - "KColorDrag": [],\ - "KCommand": ["KMacroCommand"],\ - "KCommandHistory": [],\ - "KDateValidator": [],\ - "KDockWindow": ["KDockButton_Private - KPanelMenu", "KDockButton_Private",\ - "KDockSplitter", "KDockTabCtl_PrivateStruct", "KDockWidgetAbstractHeader",\ - "KDockWidgetAbstractHeaderDrag", "KDockWidgetHeader",\ - "KDockWidgetHeaderDrag", "KDockWidgetPrivate"],\ - "KFloatValidator": [],\ - "KIntValidator": [],\ - "KPixmapIO": [],\ - "KSharedPixmap": [],\ - "KSystemTray": [],\ - "KThemeBase": ["KThemeCache", "KThemePixmap", "KThemeStyle"],\ - "QXEmbed": []}} - -prefix = {"Dialogs": "dlg", "Widgets": "wid", "XML": "xml", "Menus/Toolbars": "menu", "Other": "misc"} - -# The following leave about 375 x 390 for the rt hand panel -mainGeom = QRect (0, 0, 640, 500) -treeWidth = 220 - -blankMsg = """ UISampler - provides examples of PyKDE widgets - -Select a dialog/widget/menu/etc example from the tree at left -""" - - -class MainWin (KMainWindow): - def __init__ (self, *args): - apply (KMainWindow.__init__, (self,) + args) - - self.setCaption ("Samples of PyKDE widget usage") - self.setGeometry (mainGeom) - - # create the main view - list view on the left and an - # area to display frames on the right - self.mainView = QSplitter (self, "main view") - self.tree = KListView (self.mainView, "tree") - self.page = QWidgetStack (self.mainView, "page") - self.blankPage = QWidget (self.page, "blank") - self.blankPage.setGeometry (0, 0, 375, 390) - self.blankPage.setBackgroundMode (QWidget.PaletteBase) - - blankLbl = QLabel (blankMsg, self.blankPage) - blankLbl.setGeometry (40, 10, 380, 150) - blankLbl.setBackgroundMode (QWidget.PaletteBase) - - blankPM = QPixmap ("pytestimage.png") - pmLbl = QLabel ("", self.blankPage) - pmLbl.setPixmap (blankPM) - pmLbl.setGeometry (40, 160, 300, 200) - pmLbl.setBackgroundMode (QWidget.PaletteBase) - - self.page.addWidget (self.blankPage, 1) - self.page.raiseWidget (1) - - self.setCentralWidget (self.mainView) - - self.initListView () - self.connect (self.tree, SIGNAL ("clicked (QListViewItem *)"), self.lvClicked) - - self.edit = None - self.currentPageObj = None - - def initListView (self): - self.tree.addColumn ("Category", treeWidth - 21) -# self.tree.setMaximumWidth (treeWidth) - self.mainView.setSizes ([treeWidth, 375]) - self.tree.setRootIsDecorated (True) - self.tree.setVScrollBarMode (QScrollView.AlwaysOn) - topLevel = listItems.keys () - for item_1 in topLevel: - parent = QListViewItem (self.tree, item_1) - secondLevel = listItems [item_1].keys () - for item_2 in secondLevel: - child = QListViewItem (parent, item_2) - for item_3 in listItems [item_1][item_2]: - QListViewItem (child, item_3) - - def lvClicked (self, lvItem): - if not lvItem: - return - - if lvItem.text (0).latin1 () in listItems.keys (): - return - - p = lvItem.parent () - if p.text (0).latin1 () in listItems.keys (): - pfx = prefix [p.text (0).latin1 ()] - funcCall = pfx + lvItem.text (0).latin1 () + "(self)" - else: - pfx = prefix [p.parent ().text (0).latin1 ()] - funcCall = pfx + lvItem.parent ().text (0).latin1 () + "(self)" - - eval (funcCall) - - def addPage (self): - self.edit = None - self.currentPageObj = None - current = self.page.widget (2) - if current: - self.page.removeWidget (current) - del current - - newPage = QWidget (self.page) - newPage.setGeometry (0, 0, 375, 390) -# newPage.setBackgroundMode (QWidget.PaletteBase) - self.page.addWidget (newPage, 2) - self.page.raiseWidget (2) - - return newPage - - -#-------------------- main ------------------------------------------------ - -appName = "UISampler" -app = KApplication (sys.argv, appName) -mainWindow = MainWin (None, "main window") -mainWindow.show() -app.exec_loop() - diff --git a/python/pykde/examples/xmlmenudemo.py b/python/pykde/examples/xmlmenudemo.py deleted file mode 100644 index ab91dd56..00000000 --- a/python/pykde/examples/xmlmenudemo.py +++ /dev/null @@ -1,291 +0,0 @@ -""" -This template constructs an application with menus, toolbar and statusbar. -It uses KDE classes and methods that simplify the task of building and -operating a GUI. It is recommended that this approach be used, rather -than the primitive approach in menuapp1.py -""" - -""" -Copyright 2003 Jim Bublitz - -Terms and Conditions - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to -deal in the Software without restriction, including without limitation the -rights to use, copy, modify, merge, publish, distribute, sublicense, and/or -sell copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, -WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR -IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - -Except as contained in this notice, the name of the copyright holder shall -not be used in advertising or otherwise to promote the sale, use or other -dealings in this Software without prior written authorization from the -copyright holder. -""" - - -False = 0 -True = not False - - -import sys, os - -from qt import QPopupMenu, SIGNAL, QLabel, QIconSet - -from kdecore import KApplication, KCmdLineArgs, KAboutData, i18n, KIcon, KIconLoader, KShortcut, KGlobal -from kdeui import KMainWindow, KMessageBox, KStdAction, KAction, KToggleAction, KFontSizeAction, KFontAction, KRadioAction,\ - KActionSeparator, KActionMenu, KWindowListMenu, KXMLGUIClient, KActionCollection - -STATUSBAR_LEFT = 1 -STATUSBAR_MIDDLE = 2 -STATUSBAR_RIGHT = 3 - -class MainWin (KMainWindow): - def __init__ (self, *args): - apply (KMainWindow.__init__, (self,) + args) - - self.initActions () - self.setGeometry (0, 0, 350, 200) - - # The second arg of createGUI needs to be 0 (or False) - # to enable XMLGUI features like ActionList (in 'dynamicActions') - # If the default is used (True), the dynamic actions will not - # appear in the menus - self.createGUI (os.path.join (mainpath, "xmlmenudemoui.rc"), 0) - - self.dynamicActions() - - # Can't do this until the toolBar has been created in createGUI - stretchlbl = QLabel ("", self.toolBar ()) - self.toolBar ().setStretchableWidget (stretchlbl) - - self.initStatusBar () - - self.saveAction.setEnabled (False) - self.saveAsAction.setEnabled (False) - - def initActions (self): - # This is used in all of the KAction/KStdAction constructors -- - # Seems more efficient to only do the call once - acts = self.actionCollection () - - # This is used often enough, we just define it here - scNull = KShortcut.null () - - # "File" menu items - self.newAction = KStdAction.openNew (self.slotNew, acts) - self.openAction = KStdAction.open (self.slotOpen, acts) - self.saveAction = KStdAction.save (self.slotSave, acts) - self.saveAsAction = KStdAction.saveAs (self.slotSaveAs, acts) - self.printAction = KStdAction.print_ (self.slotPrint, acts) - self.quitAction = KStdAction.quit (self.slotQuit, acts) - - # "Edit" menu items - self.undoAction = KStdAction.undo (self.slotUndo, acts) - self.redoAction = KStdAction.redo (self.slotRedo, acts) - self.cutAction = KStdAction.cut (self.slotCut, acts) - self.copyAction = KStdAction.copy (self.slotCopy, acts) - self.pasteAction = KStdAction.paste (self.slotPaste, acts) - self.findAction = KStdAction.find (self.slotFind, acts) - self.findNextAction = KStdAction.findNext (self.slotFindNext, acts) - self.replaceAction = KStdAction.replace (self.slotReplace, acts) - - # NOTE!!!! You must specify a parent and name for the action object in its constructor - # Normally in a constructor like - # - # someObject (QWidget *parent = 0, const char *name = 0) - # - # the parent may or may not be assigned, but widgets usually ignore the - # name argument. For an action of *any* type (other than KStdAction), - # the 'name' argument is what is used to load the action into the menus - # and toolBar (in the line below, "specialActionName"). The XMLGUI mechanism - # has no way to find out about the action objects except through their - # object names - the variable the object is assigned to ('self.specialAction') - # has no meaning in XNLGUI terms except through the objects 'name' member value - - self.specialAction = KAction (i18n ("Special"), scNull, self.slotSpecial, acts, "specialActionName") - - # Demo menu items - - # KToggleAction has an isChecked member and emits the "toggle" signal - self.toggle1Action = KToggleAction ("Toggle 1", scNull, acts, "toggle1Action") - self.toggle2Action = KToggleAction ("Toggle 2", scNull, self.slotToggle2, acts, "toggle2Action") - - # A separator - create once/use everywhere - self.separateAction = KActionSeparator (acts, "separateAction") - - # Font stuff in menus or toolbar - self.fontAction = KFontAction ("Font", scNull, acts, "fontAction") - self.fontSizeAction = KFontSizeAction ("Font Size", scNull, acts, "fontSizeAction") - - self.fontAction.setComboWidth (150) - self.fontSizeAction.setComboWidth (75) - - # Need to assign an icon to actionMenu below - icons = KIconLoader () - iconSet = QIconSet (icons.loadIcon ("viewmag", KIcon.Toolbar)) - - # Nested menus using KActions (also nested on toolbar) - self.actionMenu = KActionMenu ("Action Menu", acts, "actionMenu") - self.actionMenu.setIconSet (iconSet) - - # By using KStdAction here, the XMLGUI mechanism will automatically - # create a 'View' menu and insert "Zoom In" and "Zoom Out" objects - # in it. This happens because before parsing our *ui.rc file, - # the standard KDE file config/ui/ui_standards.rc is parsed, and - # then our *ui.rc file is merged with the result - this gives KDE - # menus and toolBars a standard "look" and item placement (including - # separators). Creating the KStdActions alone is sufficient - you - # could delete their references from the *ui.rc file and the menu - # items would still be created via ui_standards.rc - self.actionMenu.insert (KStdAction.zoomIn (self.slotZoomIn, acts)) - self.actionMenu.insert (KStdAction.zoomOut (self.slotZoomOut, acts)) - - self.radio1Action = KRadioAction ("Radio 1", scNull, self.slotRadio, acts, "radio1") - self.radio1Action.setExclusiveGroup ("Radio") - self.radio1Action.setChecked (1) - self.radio2Action = KRadioAction ("Radio 2", scNull, self.slotRadio, acts, "radio2") - self.radio2Action.setExclusiveGroup ("Radio") - self.radio3Action = KRadioAction ("Radio 3", scNull, self.slotRadio, acts, "radio3") - self.radio3Action.setExclusiveGroup ("Radio") - - - def initStatusBar (self): - self.statusBar ().insertItem ("", STATUSBAR_LEFT, 1000, True) - self.statusBar ().insertItem ("", STATUSBAR_MIDDLE, 1000, True) - self.statusBar ().insertItem ("", STATUSBAR_RIGHT, 1000, True) - - def dynamicActions (self): - # This creates something like a 'recent files list' in the 'File' menu - # (There is a KRecentFilesAction that probably should be used instead, - # but this demos the use of action lists) - # The code here corresponds to the entry - # in the rc file - - # Just fake some filenames for now - fakeFiles = ["kaction.sip", "kxmlguiclient.sip"] - - # Clear the old entries, so we don't end up accumulating entries in the menu - self.unplugActionList("recent"); - self.dynamicActionsList = [] - - # Create a KAction for each entry and store the KActions in a list - # Use 'None' for the KActionCollection argument in the KAction constructor - # in this case only - for i in range (len (fakeFiles)): - act = KAction (i18n (" ".join (["&" + str (i), fakeFiles [i]])), KShortcut.null (),\ - self.slotFake, None, fakeFiles [i][:-4] + "open") - self.dynamicActionsList.append(act) - - # Update the menu with the most recent KActions - self.plugActionList("recent", self.dynamicActionsList) - - -#-------------------- slots ----------------------------------------------- - - def slotFake (self): - # sender () should be called before anything else - # (including "notImpl") so the correct sender - # value is returned - sender = self.sender ().name () - self.notImpl ("Recent files (%s)" % sender) - - # 'id' is for toolbar button signals - ignored for menu signals - def slotNew (self, id = -1): - self.notImpl ("New") - - def slotOpen(self, id = -1): - self.notImpl ("Open") - - def slotSave (self, id = -1): - self.notImpl ("Save") - - def slotSaveAs (self): - self.notImpl ("Save As") - - def slotPrint (self): - self.notImpl ("Print") - - def slotQuit (self): - self.notImpl ("Quit") - - def slotUndo (self): - self.notImpl ("Undo") - - def slotRedo (self): - self.notImpl ("Redo") - - def slotCut (self, id = -1): - self.notImpl ("Cut") - - def slotCopy (self, id = -1): - self.notImpl ("Copy") - - def slotPaste (self, id = -1): - self.notImpl ("Paste") - - def slotFind (self): - self.notImpl ("Find") - - def slotFindNext (self): - self.notImpl ("Find Next") - - def slotReplace (self): - self.notImpl ("Replace") - - def slotSpecial (self): - self.notImpl ("Special") - - def slotToggle2 (self): - self.notImpl ("Toggle") - - def slotZoomIn (self): - self.notImpl ("Zoom In") - - def slotZoomOut (self): - self.notImpl ("Zoom Out") - - def slotRadio (self): - sender = self.sender ().name () - self.notImpl ("Radio %s" % sender [-1]) - - def notImpl (self, item = "Feature"): - self.statusBar ().changeItem ("%s not implemented" % item, STATUSBAR_LEFT) - KMessageBox.error (self, "%s not implemented" % item, "Not Implemented") - self.statusBar ().changeItem ("", STATUSBAR_LEFT) - - -#-------------------- main ------------------------------------------------ - -description = "A basic application template" -version = "1.0" - -# The appName (xmlmenudemo - first argument) is required -# if the program is to automatically locate it *ui.rc file -aboutData = KAboutData ("xmlmenudemo", "xmlmenudemo",\ - version, description, KAboutData.License_GPL,\ - "(C) 2003 whoever the author is") - -aboutData.addAuthor ("author1", "whatever they did", "email@somedomain") -aboutData.addAuthor ("author2", "they did something else", "another@email.address") - -mainpath = os.path.dirname (os.path.abspath (sys.argv[0])) -KCmdLineArgs.init (sys.argv, aboutData) - -KCmdLineArgs.addCmdLineOptions ([("+files", "File to open")]) - -app = KApplication () -mainWindow = MainWin (None, "main window") -mainWindow.show() -app.exec_loop() diff --git a/python/pykde/examples/xmlmenudemoui.rc b/python/pykde/examples/xmlmenudemoui.rc deleted file mode 100644 index 58f07cf6..00000000 --- a/python/pykde/examples/xmlmenudemoui.rc +++ /dev/null @@ -1,49 +0,0 @@ - - - &File - - - - - - - - - &Edit - - - - - - - - - - - &Demo - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/python/pykde/extensions/dcopexport.py b/python/pykde/extensions/dcopexport.py deleted file mode 100644 index d724adef..00000000 --- a/python/pykde/extensions/dcopexport.py +++ /dev/null @@ -1,196 +0,0 @@ -""" -Copyright 2004 Jim Bublitz - -Terms and Conditions - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to -deal in the Software without restriction, including without limitation the -rights to use, copy, modify, merge, publish, distribute, sublicense, and/or -sell copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, -WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR -IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - -Except as contained in this notice, the name of the copyright holder shall -not be used in advertising or otherwise to promote the sale, use or other -dealings in this Software without prior written authorization from the -copyright holder. -""" - -""" -This is a re-implementation in Python of pcop.cpp written by Torben Weis -and Julian Rockey, modified for Python and PyKDE. - -To "DCOP-enable" an application, subclass DCOPExObj (be sure to call the -base class' __init__ method) and use 'addMethod' to identify the methods -which will be exposed via DCOP along with names of the Python methods that -implement the exposed methods. - -A DCOP client application when doing DCOPCLient.call (...) will end up -running the 'process' method which demarshalls the arguments, calls the -specified Python method with the arg values passed in, and marshalls the -return value to be returned to the caller. - -DCOPExMeth is basically a data structure to hold the parsed method info -(name, arg list, return type, signature) - -This module requires the dcopext module, but only for the numericTypes and -stringTypes lists -""" - - -from dcop import DCOPObject, DCOPClient -from kdecore import dcop_add, dcop_next -from qt import QString, QCString, QDataStream, IO_ReadOnly, IO_WriteOnly - -numericTypes = ["char", "bool", "short", "int", "long", "uchar", "ushort", "uint", "ulong", - "unsigned char", "unsigned short", "unsigned int", "unsigned long", - "Q_INT32", "pid_t", "float", "double"] -stringTypes = ["QString", "QCString"] - -class DCOPExObj (DCOPObject): - def __init__ (self, objid = None): - if isinstance (objid, str): - DCOPObject.__init__ (self, objid) - else: - DCOPObject.__init__ (self) - - self.methods = {} - - def process (self, meth, data, replyType, replyData): - # normalize the method signature received - meth = str (DCOPClient.normalizeFunctionSignature (meth)).replace (">", "> ") - - # see if this method is available from us via DCOP - # if we don't have it, maybe DCOPObject already provides it (eg - qt object) - if not self.matchMethod (meth): - return DCOPObject.process(self, meth, data, replyType, replyData); - - # demarshall the arg list for the actual method call and call the method - s = QDataStream (data, IO_ReadOnly) - arglist = [] - count = len (self.method.argtypes) - if count == 0: - result = self.method.pymethod () - else: - for i in range (len (self.method.argtypes)): - arglist.append (dcop_next (s, QCString (self.method.argtypes [i]))) - - result = self.method.pymethod (*arglist) - - # marshall the result as 'replyData' - if self.method.rtype != "void": - s = QDataStream (replyData, IO_WriteOnly) - if self.method.rtype in numericTypes: - dcop_add (s, result, self.method.rtype) - elif self.method.rtype in stringTypes and isinstance (result, str): - dcop_add (s, eval ("%s('''%s''')" % (self.method.rtype, result))) - elif self.method.rtype.startswith ("QMap") or self.method.rtype.startswith ("QValueList"): - dcop_add (params, args [i], self.argtypes [i]) - else: - dcop_add (s, result) - - # use append because we want to return the replyType reference, - # not a new QCString - replyType.append (self.method.rtype) - - # success - return True - - def addMethod (self, signature, pymethod): - """ - add a method to the dict - makes it available to DCOP - signature - a string representing the C++ form of the method declaration - with arg names removed (eg - pymethod - the Python method corresponding to the method in signature - - example: - def someMethod (a, b): - return str (a + b) - - signature = "QString someMethod (int, int)" - pymethod = someMethod - self.addMethod (signature, pymethod) - - note that in this case you could add a second entry: - - self.addMethod ("QString someMethod (float, float)", someMethod) - - pymethod can also be a class method, for example - self.someMethod or - someClass.someMethod. In the second case, someClass has to be an instance - of a class (perhaps SomeClass), not the class itself. - - self.methods is a dict holding all of the methods exposed, indexed by - method signature. In the example above, the signature would be: - - someMethod(QString,QString) - - or everything but the return type, which is stored in the dict entry. - The dict entry is a DCOPExMeth instance. - """ - method = DCOPExMeth (signature, pymethod) - if method.sig: - self.methods [method.sig] = method - return method.sig != None - - def matchMethod (self, meth): - # find the method in the dict if it's there - self.method = None - if meth in self.methods: - self.method = self.methods [meth] - return self.method != None - - def functions (self): - # build the list of methods exposed for 'remoteFunctions' calls - # from the entries in the self.methods dict - funcs = DCOPObject.functions (self) - for func in self.methods.keys (): - funcs.append (" ".join ([self.methods [func].rtype, func])) - return funcs; - -class DCOPExMeth: - """ - Encapsulates all of the method data - signature, arg list, return type - and corresponding Python method to be called - """ - def __init__ (self, method, pymethod): - self.pymethod = pymethod - if not self.parseMethod (method): - self.fcnname = self.sig = self.rtype = self.argtypes = None - - def parseMethod (self, method): - # strip whitespace - method = str (DCOPClient.normalizeFunctionSignature (method)).replace (">", "> ") - - # the return type (rtype) and signature (sig) - self.rtype, tail = method.split (" ", 1) - self.sig = tail - if not tail: - return False - self.rtype = self.rtype.strip () - - i = tail.find ("(") - if i < 1: - return False - - # the name of the method - self.fcnname = tail [:i].strip () + "(" - - # the list of arg types - self.argtypes = [] - args = tail [i + 1 : -1].split (",") - if args and args != [""]: - for arg in args: - self.argtypes.append (arg.strip ()) - - return True diff --git a/python/pykde/extensions/dcopext.py b/python/pykde/extensions/dcopext.py deleted file mode 100644 index 539c4d6c..00000000 --- a/python/pykde/extensions/dcopext.py +++ /dev/null @@ -1,721 +0,0 @@ -#!/usr/bin/env python -# -*- coding: ISO-8859-1 -*- - -""" -Copyright 2004 Jim Bublitz (original author) - 2006 Mathias Panzenböck (panzi) - -Terms and Conditions - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to -deal in the Software without restriction, including without limitation the -rights to use, copy, modify, merge, publish, distribute, sublicense, and/or -sell copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, -WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR -IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - -Except as contained in this notice, the name of the copyright holder shall -not be used in advertising or otherwise to promote the sale, use or other -dealings in this Software without prior written authorization from the -copyright holder. -""" - -import re -from dcop import DCOPClient -from qt import QString, QCString, QByteArray, QDataStream, IO_ReadOnly, IO_WriteOnly -from kdecore import dcop_add, dcop_next - -# XXX: 64 bit integers might be handeld wrong! pythons int is AFAIK 32 bit, -# but pythons long is a arbitrary-precision integer. how to handle that? -# -# I think 64 bit types would be: -# long long, unsigned long long, long long int, unsigned long long int, -# Q_LLONG, Q_ULLONG, Q_INT64, Q_UINT64 -# -# and on some (most?) systems: -# QtOffset - -# add complex? complex is c99, not c++ -# but python has a complex type -POD = set(['char','short','int','long','float','double']) -typedefIntTypes = set(["uchar", "ushort", "uint", "ulong", - "Q_INT8", "Q_INT16", "Q_INT32", "Q_LONG", - "Q_UINT8", "Q_UINT16", "Q_UINT32", "Q_ULONG", - "sitze_t", "ssize_t", "int8_t", "int16_t", "int32_t", - "uint8_t", "uint16_t", "uint32_t", "pid_t", "uid_t", - "off_t"]) -# XXX string and std::string too? -stringTypes = set(["QString", "QCString"]) -pythonStringTypes = set([QString, QCString, str]) -stringTypesDict = {"QString":QString,"QCString":QCString,"str":str,"unicode":unicode} - -VOID = 0 -BOOLEAN = 1 # XXX bool is not supported by dcop_add, but maybe some time... -INTEGER = 2 -FLOAT = 3 -STRING = 4 -CLASS = 5 - -""" -(Most of this code is adapted from pydcop in kde-bindings, written by -Torben Weis and Julian Rockey) - -The three classes below (DCOPApp, DCOPObj and DCOPMeth) -allow transparent Python calls to DCOP methods. For example: - - d = DCOPApp ("kicker", dcop) - -(where "kicker" is the complete name of an application and 'dcop' is -the dcopClient instance owned by the KApplication creating the DCOPApp -instance) creates a DCOPApp instance. All of the classes in this -file "borrow" a DCOPClient instance from the calling application. - - d.objects - -will return a list of the DCOP objects the application supplies. - - o = d.object ("Panel") - -will return a DCOPObj corresponding to applications "Panel" DCOP object. - -Similarly: - - o.methods - -will return a list of the methods the object supplies and - - m = o.method ("panelSize") - -will return a DCOPMeth corresponding to Panel's panelSize() method. -The m instance also holds the methods return type, list of argument types -(argtypes) and argument names (argnames). - - m.valid - -is a boolean which indicates if the method encapsulated by m is a valid -method for the application/object specified. - -However it isn't necessary to explicitly create the DCOPObj and DCOPMeth. - - d.Panel.panelSize.valid - -for example, will also indicate if the method is valid without creating the -intermediate 'o' and 'm' instances explicitly. - - d = DCOPApp ("kicker", dcop) - ok, res = d.Panel.panelSize () - -is all the code necessary to perform the indicated DCOP call and return the -value the call returns. In this case, panelSize takes no arguments and -returns an int. 'ok' returns the status of the DCOP call (success = True, -failure = False). - - ok = d.Panel.addURLButton (QString ("http://www.kde.org")) - -would call addURLButton with the required argument, and return nothing but the DCOP call -status(since its return type is 'void'). - -Note that to instantiate a DCOPObj directly, you need to have a valid DCOPApp -to pass to DCOPObj's __init__ method. Similarly, DCOPMeth requires a valid DCOPOBject. -For example: - - d = DCOPApp ("kicker", dcop) - o = DCOPObj (d, "Panel") - m = DCOPMeth (o, "panelSize") - -or - - m = DCOPMeth (DCOPObj (DCOPApp ("kicker", dcop), "Panel"), "panelSize") - -""" - -# support stuff: -def _xiter(*seqences): - iters = [iter(seq) for seq in seqences] - - try: - while True: - yield [it.next() for it in iters] - - except StopIteration: - pass - -def isStringType(s): - for stringType in pythonStringTypes: - if isinstance(s,stringType): - return True - return False - -# method syntax: -# -------------- -# method ::= rtype identifier( args ) -# rtype ::= "void" | type -# identifier ::= [_a-zA-Z][_a-zA-Z0-9]* -# args ::= ( arg ("," arg)* )? -# arg ::= type identifier? -# type ::= namespace typespec | POD -# POD ::= ( "unsigned" | "signed" )? identifier -# namespace ::= (identifier "::")* | "::" -# typespec ::= identifier ( "<" tpyelist ">" )? -# typelist ::= (type | int) ("," (type | int) )* -# int ::= "0x" [0-9a-fA-F]+ | [0-9]+ - -class MethodParser(object): - ident_r = re.compile("[_a-zA-Z][_a-zA-Z0-9]*") - num_r = re.compile("0x[0-0a-fA-F]+|[0-9]+") - - def __init__(self,method): - self.method = str(method) - self.rtype = None - self.name = None - self.args = [] - - self.parseMethod() - - def __repr__(self): - return "%s(%s)" % (self.__class__.__name__, repr(self.method)) - - def getDecl(self): - return ''.join([self.name, '(', ','.join(argtp for (argtp, kind), argname in self.args), ')']) - - def parseMethod(self): - i = self.parseRtype(self.method,0) - i, self.name = self.parseIdentifier(self.method,i) - i = self.parseArgs(self.method,i) - - if i != len(self.method): - raise SyntaxError, "invalid function definition: %s" % self.method - - @staticmethod - def skipws(s,i): - while s[i:i+1].isspace(): - i += 1 - return i - - def parseArg(self,s,i): - i, tp = self.parseType(s,i) - name = self.parseIdentifier(s,i) - - if name: - i, name = name - else: - name = None - - return i, (tp, name) - - def parseIdentifier(self,s,i): - i = MethodParser.skipws(s,i) - m = MethodParser.ident_r.match(s,i) - - if m: - return m.end(), s[i:m.end()] - else: - return False - - def parseInteger(self,s,i): - i = MethodParser.skipws(s,i) - m = MethodParser.num_r.match(s,i) - - if m: - return m.end(), s[i:m.end()] - else: - return False - - def parseArgs(self,s,i): - i = MethodParser.skipws(s,i) - - if s[i:i+1] == '(': - i += 1 - i = MethodParser.skipws(s,i) - - while i < len(s) and s[i:i+1] != ')': - i, arg = self.parseArg(s,i) - i = MethodParser.skipws(s,i) - - self.args.append(arg) - - if s[i:i+1] == ',': - i += 1 - - else: - break - - if s[i:i+1] == ')': - i += 1 - else: - raise SyntaxError, "missing ')'." - else: - raise SyntaxError, "missing '('." - - return i - - def parseType(self,s,i): - num = self.parseNumberType(s,i) - - if num: - return num - - i, ns = self.parseNamespace(s,i) - i, tp = self.parseTypespec(s,i) - - tp = ns + tp - - if tp in stringTypes: - return i, (tp, STRING) - - else: - return i, (tp, CLASS) - - def parseTypespec(self,s,i): - i, tp = self.parseIdentifier(s,i) - i, tplst = self.parseTypelist(s,i) - - return i, tp + tplst - - def parseTypelist(self,s,i): - L = [] - newi = MethodParser.skipws(s,i) - - if s[newi:newi+1] == '<': - i = newi + 1 - i = MethodParser.skipws(s,i) - - L.append('<') - - while i < len(s) and s[i:i+1] != '>': - # template-parameter can be integers!! - - num = self.parseInteger(s,i) - - if num: - i, tp = num - - else: - i, (tp, kind) = self.parseType(s,i) - - i = MethodParser.skipws(s,i) - - L.append(tp) - - if s[i:i+1] == ',': - i += 1 - L.append(',') - - else: - break - - - if s[i:i+1] == '>': - i += 1 - L.append('>') - - else: - raise SyntaxError, "missing '>'." - - return i, ''.join(L) - - def parseNumberType(self,s,i): - i, tp = self.parseIdentifier(s,i) - L = [] - - if tp == 'bool': - return i, (tp, BOOLEAN) - - elif tp in typedefIntTypes: - return i, (tp, INTEGER) - - elif tp in ('signed','unsigned'): - L.append(tp) - next = self.parseIdentifier(s,i) - - if next and next[1] in POD: - i, tp = next - - else: - # type can be fully quallyfied here! - return i, (tp, INTEGER) - - if tp in POD: - L.append(tp) - - else: - # else no number-type at all! - - return False - - # long - # long int - # long long - # long long int - # long double - # short - # short int - - if tp == 'short': - # short - - next = self.parseIdentifier(s,i) - - if next and next[1] == 'int': - # short int - - i, tp = next - L.append(tp) - - elif tp == 'long': - # long - - next = self.parseIdentifier(s,i) - - if next: - if next[1] in ('int', 'double'): - # long int - # long double - - i, tp = next - L.append(tp) - - elif next[1] == 'long': - # long long - # XXX: this is 64bit! how should I handle this? - - i, tp = next - L.append(tp) - - next = self.parseIdentifier(s,i) - - if next and next[1] == 'int': - # long long int - - i, tp = next - L.append(tp) - - if tp in ('float', 'double'): - return i, (' '.join(L), FLOAT) - - else: - return i, (' '.join(L), INTEGER) - - # - # :: - # foo:: - # ::foo:: - # foo::bar:: - # ::foo::bar:: - # ... - def parseNamespace(self,s,i): - L = [] - i = MethodParser.skipws(s,i) - - if s[i:i+2] == "::": - i += 2 - L.append("::") - - while i < len(s): - ns = self.parseIdentifier(s,i) - - if not ns: - break - - newi, ns = ns - newi = MethodParser.skipws(s,newi) - - if s[newi:newi+2] != "::": - break - - i = newi + 2 - - L.append( ns ) - L.append( "::" ) - - return i, ''.join(L) - - - def parseRtype(self,s,i): - tp = self.parseIdentifier(s,i) - - if tp and tp[1] == 'void': - i, tp = tp - self.rtype = (tp,VOID) - - else: - i, self.rtype = self.parseType(s,i) - - return i - -def DCOPAppsIter(client): - for app in client.registeredApplications(): - yield str(app) - -class DCOPApp(object): - """ - An object corresponding to an application with a DCOP interface - - Can return a list of the DCOP objects the application exposes, - or create and return an instance of a specific DCOP object. - """ - def __init__ (self, name, client): - self.appname = name - self.appclient = client - - def __getattr__ (self, item ): - if item == "objects": - objs, ok = self.appclient.remoteObjects(self.appname) - - if ok: - return objs - else: - return None - - return DCOPObj(self, item) - - def __iter__(self): - objs, ok = self.appclient.remoteObjects(self.appname) - - if ok: - for obj in objs: - yield str(obj) - - # sometimes a object-name is not a valid python identifier. - # in that case you can use dcopapp['non-valid::object/name'] - def __getitem__(self,name): - return DCOPObj(self, name) - - def object (self, object): - return DCOPObj (self, object) - - def __repr__(self): - return '%s(%s,%s)' % (self.__class__.__name__,repr(self.appname),repr(self.appclient)) - - def __str__(self): - return repr(self) - -class DCOPObj(object): - """ - An object corresponding to a specific DCOP object owned by a - specific application with a DCOP interface - - Can return a list of the DCOP methods the object exposes, - or create and return an instance of a specific DCOP method. - """ - - def __init__ (self, *args): - if isStringType(args[0]): - self.appname = args [0] - self.objclient = args [1] - self.objname = args [2] - else: - self.appname = args [0].appname - self.objname = args [1] - self.objclient = args [0].appclient - - self.objmethods = self.getMethods() - - def __repr__( self ): - return "%s(%s,%s)" % (self.__class__.__name__,repr(self.appname), repr(self.objname)) - - def __str__( self ): - return repr(self) - - def __getattr__( self, item ): - if item == "methods": - return self.objmethods - - return DCOPMeth(self, item) - - def __getitem__(self,name): - return DCOPMeth(self, name) - - def getMethods(self): - flist, ok = self.objclient.remoteFunctions(self.appname, self.objname) - - if ok: - return flist - else: - return None - - def __iter__(self): - flist, ok = self.objclient.remoteFunctions(self.appname, self.objname) - - if ok: - for meth in flist: - yield str(meth) - - def getMethodNames(self): - return [MethodParser(meth).name for meth in self.objmethods] - - def getParsedMethods(self): - return [MethodParser(meth) for meth in self.objmethods] - - def method(self, method): - return DCOPMeth(self, method) - -class DCOPMeth(object): - """ - An object corresponding to a specific DCOP method owned by a - specific DCOP object. - """ - def __init__(self, dcopObj, name): - self.argtypes = [] - self.argnames = [] - self.fcnname = [] - self.rtype = [] - self.appname = dcopObj.appname - self.objname = dcopObj.objname - self.methname = name - self.client = dcopObj.objclient - self.methods = [str(meth) for meth in dcopObj.objmethods] - self.valid = self.findMethod() -# -# if not self.valid: -# self.fcnname = self.rtype = self.argtypes = self.argnames = None - - def __repr__( self ): - return "%s(%s,%s,%s)" % (self.__class__.__name__,repr(self.appname),repr(self.objname),repr(self.methname)) - - def __str__(self): - return repr(self) - - def __call__(self, *args): - return self.dcop_call(args) - - def __iter__(self): - return iter(self.fcnname) - - def dcop_call(self, args): - # method valid? - if not self.valid: - return False, None - - found = self.getMatchingMethod(args) - - if found is None: - return False, None - - meth, argtypes = found - - ok, replyType, replyData = self.client.call(self.appname, self.objname, meth, self.__marshall(args,argtypes)) - - if ok: - return ok, self.__unmarshall(replyData, replyType) - else: - return ok, None - - def getMatchingMethod(self,args): - count = len(args) - - for funct, argtypes in _xiter(self.fcnname, self.argtypes): - if len(argtypes) == count: - match = True - - for (wanttp, wantkind), have in _xiter(argtypes,args): - if wantkind == BOOLEAN: - if not isinstance(have, bool): - match = False - break - - elif wantkind == INTEGER: - if not isinstance(have, int): - match = False - break - - elif wantkind == FLOAT: - if not isinstance(have, float): - match = False - break - - elif wantkind == STRING: - if not isStringType(have): - match = False - break - - elif wanttp != have.__class__.__name__: - match = False - break - - if match: - return funct, argtypes - return None - - def findMethod(self): - has = False - - for meth in self.methods: - fun = MethodParser(meth) - - if fun.name == self.methname: - self.argtypes.append([argtp for argtp, argname in fun.args]) - self.argnames.append([argname for argtp, argname in fun.args]) - self.rtype.append(fun.rtype) - self.fcnname.append(fun.getDecl()) - - has = True - - return has - - def __marshall(self, args, argtypes): - data = QByteArray() - if argtypes == []: - return data - - params = QDataStream (data, IO_WriteOnly) - - for arg, (argtype, argkind) in _xiter(args, argtypes): - if argkind == BOOLEAN: - # XXX for now, let bools be handelt like int - dcop_add(params, int(arg), 'int') - - elif argkind in (INTEGER, FLOAT): - dcop_add(params, arg, argtype) - - elif argkind == STRING: - # convert it to the right string type: - if argtype != arg.__class__.__name__: - arg = stringTypesDict[argtype](arg) - - dcop_add(params, arg) - - elif argtype.startswith("QMap") or argtype.startswith("QValueList"): - dcop_add(params, arg, argtype) - - # XXX: - # Is 'isinstance(arg, eval(argtype))' really good? - # What if 'argtype' is located in some modul? Like 'qt.QString'. - # Then this will fail (but it should not!). - # And the worst thing: the eval() will raise a NameError! - # - # On the other hand 'arg.__class__.__name__ == argtype' has the - # disadvantage that it can't be a derived class! - # - # Would no check at all be better?? - # - # But I doubt a derived class would be ok anyway. I have to check - # this in the DCOP-docu, but I think a derived class would not be - # correctly unmarshalled, because a derived class could be marshalled - # in a total different way to it's super-class. - elif arg.__class__.__name__ == argtype: - dcop_add(params, arg) - - else: - raise TypeError, "expected type %s, got type %s." % (argtype, arg.__class__.__name__) - - return data - - def __unmarshall(self, data, type_): - s = QDataStream(data, IO_ReadOnly) - - if str(type_) in stringTypes: - return str(dcop_next(s, type_)) - else: - return dcop_next(s, type_) diff --git a/python/pykde/extra/kde300/kaccelaction.h b/python/pykde/extra/kde300/kaccelaction.h deleted file mode 100644 index c1e53f5a..00000000 --- a/python/pykde/extra/kde300/kaccelaction.h +++ /dev/null @@ -1,202 +0,0 @@ -/* This file is part of the KDE libraries - Copyright (C) 2001,2002 Ellis Whitehead - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. -*/ - -#ifndef _KACCELACTION_H -#define _KACCELACTION_H - -#include -#include -#include -#include - -#include - -class KAccelBase; - -class TQObject; -class KConfig; -class KConfigBase; - -/* - KAccelAction holds information an a given action, such as "Execute Command" - - 1) KAccelAction = "Execute Command" - Default3 = "Alt+F2" - Default4 = "Meta+Enter;Alt+F2" - 1) KShortcut = "Meta+Enter" - 1) KKeySequence = "Meta+Enter" - 1) KKey = "Meta+Enter" - 1) Meta+Enter - 2) Meta+Keypad_Enter - 2) KShortcut = "Alt+F2" - 1) KKeySequence = "Alt+F2" - 1) Alt+F2 - 2) KAccelAction = "Something" - Default3 = "" - Default4 = "" - 1) KShortcut = "Meta+X,Asterisk" - 1) KKeySequence = "Meta+X,Asterisk" - 1) KKey = "Meta+X" - 1) Meta+X - 2) KKey = "Asterisk" - 1) Shift+8 (English layout) - 2) Keypad_Asterisk -*/ - -//--------------------------------------------------------------------- -// KAccelAction -//--------------------------------------------------------------------- - -class KAccelAction -{ - public: - KAccelAction(); - KAccelAction( const KAccelAction& ); - KAccelAction( const TQString& sName, const TQString& sLabel, const TQString& sWhatsThis, - const KShortcut& cutDef3, const KShortcut& cutDef4, - const TQObject* pObjSlot, const char* psMethodSlot, - bool bConfigurable, bool bEnabled ); - ~KAccelAction(); - - void clear(); - bool init( const TQString& sName, const TQString& sLabel, const TQString& sWhatsThis, - const KShortcut& cutDef3, const KShortcut& cutDef4, - const TQObject* pObjSlot, const char* psMethodSlot, - bool bConfigurable, bool bEnabled ); - - KAccelAction& operator=( const KAccelAction& ); - - const TQString& name() const { return m_sName; } - const TQString& label() const { return m_sLabel; } - const TQString& whatsThis() const { return m_sWhatsThis; } - const KShortcut& shortcut() const { return m_cut; } - const KShortcut& shortcutDefault() const; - const KShortcut& shortcutDefault3() const { return m_cutDefault3; } - const KShortcut& shortcutDefault4() const { return m_cutDefault4; } - const TQObject* objSlotPtr() const { return m_pObjSlot; } - const char* methodSlotPtr() const { return m_psMethodSlot; } - bool isConfigurable() const { return m_bConfigurable; } - bool isEnabled() const { return m_bEnabled; } - - void setName( const TQString& ); - void setLabel( const TQString& ); - void setWhatsThis( const TQString& ); - bool setShortcut( const KShortcut& rgCuts ); - void setSlot( const TQObject* pObjSlot, const char* psMethodSlot ); - void setConfigurable( bool ); - void setEnabled( bool ); - - int getID() const { return m_nIDAccel; } - void setID( int n ) { m_nIDAccel = n; } - bool isConnected() const; - - bool setKeySequence( uint i, const KKeySequence& ); - void clearShortcut(); - bool contains( const KKeySequence& ); - - TQString toString() const; - TQString toStringInternal() const; - - static bool useFourModifierKeys(); - static void useFourModifierKeys( bool ); - - protected: - TQString m_sName, - m_sLabel, - m_sWhatsThis; - KShortcut m_cut; - KShortcut m_cutDefault3, m_cutDefault4; - const TQObject* m_pObjSlot; - const char* m_psMethodSlot; - bool m_bConfigurable, - m_bEnabled; - int m_nIDAccel; - uint m_nConnections; - - void incConnections(); - void decConnections(); - - private: - static int g_bUseFourModifierKeys; - class KAccelActionPrivate* d; - - friend class KAccelActions; - friend class KAccelBase; -}; - -//--------------------------------------------------------------------- -// KAccelActions -//--------------------------------------------------------------------- - -class KAccelActions -{ - public: - KAccelActions(); - KAccelActions( const KAccelActions& ); - virtual ~KAccelActions(); - - void clear(); - bool init( const KAccelActions& ); - bool init( KConfigBase& config, const TQString& sGroup ); - - void updateShortcuts( KAccelActions& ); - - int actionIndex( const TQString& sAction ) const; - KAccelAction* actionPtr( uint ); - const KAccelAction* actionPtr( uint ) const; - KAccelAction* actionPtr( const TQString& sAction ); - const KAccelAction* actionPtr( const TQString& sAction ) const; - KAccelAction* actionPtr( KKeySequence cut ); - KAccelAction& operator []( uint ); - const KAccelAction& operator []( uint ) const; - - KAccelAction* insert( const TQString& sAction, const TQString& sLabel, const TQString& sWhatsThis, - const KShortcut& rgCutDefaults3, const KShortcut& rgCutDefaults4, - const TQObject* pObjSlot = 0, const char* psMethodSlot = 0, - bool bConfigurable = true, bool bEnabled = true ); - KAccelAction* insert( const TQString& sName, const TQString& sLabel ); - bool remove( const TQString& sAction ); - - bool readActions( const TQString& sConfigGroup = "Shortcuts", KConfigBase* pConfig = 0 ); - bool writeActions( const TQString& sConfigGroup = "Shortcuts", KConfigBase* pConfig = 0, - bool bWriteAll = false, bool bGlobal = false ) const; - - void emitKeycodeChanged(); - - uint count() const; - - protected: - KAccelBase* m_pKAccelBase; - KAccelAction** m_prgActions; - uint m_nSizeAllocated, m_nSize; - - void resize( uint ); - void insertPtr( KAccelAction* ); - - private: - class KAccelActionsPrivate* d; - - KAccelActions( KAccelBase* ); - void initPrivate( KAccelBase* ); - KAccelActions& operator =( KAccelActions& ); - - friend class KAccelBase; -}; - -#endif // _KACCELACTION_H diff --git a/python/pykde/extra/kde300/kaccelbase.h b/python/pykde/extra/kde300/kaccelbase.h deleted file mode 100644 index cd764bc3..00000000 --- a/python/pykde/extra/kde300/kaccelbase.h +++ /dev/null @@ -1,233 +0,0 @@ -/* This file is part of the KDE libraries - Copyright (C) 2001 Ellis Whitehead - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. -*/ - -#ifndef _KACCELBASE_H -#define _KACCELBASE_H - -#include -#include -#include -#include -#include - -#include "kaccelaction.h" -#include "kkeyserver_x11.h" - -class TQPopupMenu; -class TQWidget; - -//---------------------------------------------------- - -class KAccelBasePrivate; -/** - * Handle keyboard accelerators. - * - * Allow an user to configure - * key bindings through application configuration files or through the - * @ref KKeyChooser GUI. - * - * A @ref KAccel contains a list of accelerator items. Each accelerator item - * consists of an action name and a keyboard code combined with modifiers - * (Shift, Ctrl and Alt.) - * - * For example, "Ctrl+P" could be a shortcut for printing a document. The key - * codes are listed in ckey.h. "Print" could be the action name for printing. - * The action name identifies the key binding in configuration files and the - * @ref KKeyChooser GUI. - * - * When pressed, an accelerator key calls the slot to which it has been - * connected. Accelerator items can be connected so that a key will activate - * two different slots. - * - * A KAccel object handles key events sent to its parent widget and to all - * children of this parent widget. - * - * Key binding reconfiguration during run time can be prevented by specifying - * that an accelerator item is not configurable when it is inserted. A special - * group of non-configurable key bindings are known as the - * standard accelerators. - * - * The standard accelerators appear repeatedly in applications for - * standard document actions such as printing and saving. Convenience methods are - * available to insert and connect these accelerators which are configurable on - * a desktop-wide basis. - * - * It is possible for a user to choose to have no key associated with - * an action. - * - * The translated first argument for @ref insertItem() is used only - * in the configuration dialog. - *
- * KAccel *a = new KAccel( myWindow );
- * // Insert an action "Scroll Up" which is associated with the "Up" key:
- * a->insertItem( i18n("Scroll up"), "Scroll Up", "Up" );
- * // Insert an action "Scroll Down" which is not associated with any key:
- * a->insertItem( i18n("Scroll down"), "Scroll Down", 0);
- * a->connectItem( "Scroll up", myWindow, TQT_SLOT( scrollUp() ) );
- * // a->insertStdItem( KStdAccel::Print ); //not necessary, since it
- *	// is done automatially with the
- *	// connect below!
- * a->connectItem(KStdAccel::Print, myWindow, TQT_SLOT( printDoc() ) );
- *
- * a->readSettings();
- *
- * - * If a shortcut has a menu entry as well, you could insert them like - * this. The example is again the @ref KStdAccel::Print from above. - * - *
- * int id;
- * id = popup->insertItem("&Print",this, TQT_SLOT(printDoc()));
- * a->changeMenuAccel(popup, id, KStdAccel::Print );
- * 
- * - * If you want a somewhat "exotic" name for your standard print action, like - * id = popup->insertItem(i18n("Print &Document"),this, TQT_SLOT(printDoc())); - * it might be a good idea to insert the standard action before as - * a->insertStdItem( KStdAccel::Print, i18n("Print Document") ) - * as well, so that the user can easily find the corresponding function. - * - * This technique works for other actions as well. Your "scroll up" function - * in a menu could be done with - * - *
- *    id = popup->insertItem(i18n"Scroll &up",this, TQT_SLOT(scrollUp()));
- *    a->changeMenuAccel(popup, id, "Scroll Up" );
- * 
- * - * Please keep the order right: First insert all functions in the - * acceleratior, then call a -> @ref readSettings() and @em then build your - * menu structure. - * - * @short Configurable key binding support. - * @version $Id: kaccelbase.h,v 1.20 2002/03/03 21:20:25 lunakl Exp $ - */ - -class KAccelBase -{ - public: - enum Init { QT_KEYS = 0x00, NATIVE_KEYS = 0x01 }; - enum Signal { KEYCODE_CHANGED }; - - KAccelBase( int fInitCode ); - virtual ~KAccelBase(); - - uint actionCount() const; - KAccelActions& actions(); - bool isEnabled() const; - - KAccelAction* actionPtr( const TQString& sAction ); - const KAccelAction* actionPtr( const TQString& sAction ) const; - KAccelAction* actionPtr( const KKey& key ); - KAccelAction* actionPtr( const KKeyServer::Key& key ); - - const TQString& configGroup() const { return m_sConfigGroup; } - void setConfigGroup( const TQString& group ); - void setConfigGlobal( bool global ); - virtual void setEnabled( bool bEnabled ) = 0; - bool getAutoUpdate() { return m_bAutoUpdate; } - // return value of AutoUpdate flag before this call. - bool setAutoUpdate( bool bAuto ); - -// Procedures for manipulating Actions. - //void clearActions(); - - KAccelAction* insert( const TQString& sName, const TQString& sDesc ); - KAccelAction* insert( - const TQString& sAction, const TQString& sDesc, const TQString& sHelp, - const KShortcut& rgCutDefaults3, const KShortcut& rgCutDefaults4, - const TQObject* pObjSlot, const char* psMethodSlot, - bool bConfigurable = true, bool bEnabled = true ); - bool remove( const TQString& sAction ); - bool setActionSlot( const TQString& sAction, const TQObject* pObjSlot, const char* psMethodSlot ); - - bool updateConnections(); - - bool setShortcut( const TQString& sAction, const KShortcut& cut ); - -// Modify individual Action sub-items - bool setActionEnabled( const TQString& sAction, bool bEnable ); - - /** - * Read all key associations from @p config, or (if @p config - * is zero) from the application's configuration file - * @ref KGlobal::config(). - * - * The group in which the configuration is stored can be - * set with @ref setConfigGroup(). - */ - void readSettings( KConfigBase* pConfig = 0 ); - - /** - * Write the current configurable associations to @p config, - * or (if @p config is zero) to the application's - * configuration file. - */ - void writeSettings( KConfigBase* pConfig = 0 ) const; - - TQPopupMenu* createPopupMenu( TQWidget* pParent, const KKeySequence& ); - - // Protected methods - protected: - void slotRemoveAction( KAccelAction* ); - - void createKeyList( TQValueVector& rgKeys ); - bool insertConnection( KAccelAction* ); - bool removeConnection( KAccelAction* ); - - virtual bool emitSignal( Signal ) = 0; - virtual bool connectKey( KAccelAction&, const KKeyServer::Key& ) = 0; - virtual bool connectKey( const KKeyServer::Key& ) = 0; - virtual bool disconnectKey( KAccelAction&, const KKeyServer::Key& ) = 0; - virtual bool disconnectKey( const KKeyServer::Key& ) = 0; - - protected: - struct ActionInfo - { - KAccelAction* pAction; - uint iSeq, iVariation; - //ActionInfo* pInfoNext; // nil if only one action uses this key. - - ActionInfo() { pAction = 0; iSeq = 0xffff; iVariation = 0xffff; } - ActionInfo( KAccelAction* _pAction, uint _iSeq, uint _iVariation ) - { pAction = _pAction; iSeq = _iSeq; iVariation = _iVariation; } - }; - typedef TQMap KKeyToActionMap; - - KAccelActions m_rgActions; - KKeyToActionMap m_mapKeyToAction; - TQValueList m_rgActionsNonUnique; - bool m_bNativeKeys; // Use native key codes instead of Qt codes - bool m_bEnabled; - bool m_bConfigIsGlobal; - TQString m_sConfigGroup; - bool m_bAutoUpdate; - KAccelAction* mtemp_pActionRemoving; - - private: - KAccelBase& operator =( const KAccelBase& ); - - friend class KAccelActions; - protected: - virtual void virtual_hook( int id, void* data ); - private: - KAccelBasePrivate* d; -}; - -#endif // _KACCELBASE_H diff --git a/python/pykde/extra/kde300/kicontheme.h b/python/pykde/extra/kde300/kicontheme.h deleted file mode 100644 index 29666371..00000000 --- a/python/pykde/extra/kde300/kicontheme.h +++ /dev/null @@ -1,217 +0,0 @@ -/* vi: ts=8 sts=4 sw=4 - * - * $Id: kicontheme.h,v 1.19 2002/03/05 23:13:26 rich Exp $ - * - * This file is part of the KDE project, module kdecore. - * Copyright (C) 2000 Geert Jansen - * Antonio Larrosa - * - * This is free software; it comes under the GNU Library General - * Public License, version 2. See the file "COPYING.LIB" for the - * exact licensing terms. - * - */ - -#ifndef __KIconTheme_h_Included__ -#define __KIconTheme_h_Included__ - -#include -#include -#include - -class KConfig; -//class KIconThemeDir; - -class KIconThemePrivate; - -class KIconPrivate; - -/** - * One icon as found by KIconTheme. Also serves as a namespace containing - * icon related constants. - */ -class KIcon -{ -public: - KIcon() { size = 0; } - - /** - * Return true if this icon is valid, false otherwise. - */ - bool isValid() const { return size != 0; } - - enum Context { Any, Action, Application, Device, FileSystem, MimeType }; - enum Type { Fixed, Scalable, Threshold }; - enum MatchType { MatchExact, MatchBest }; - // if you add a group here, make sure to change the config reading in - // KIconLoader too - enum Group { NoGroup=-1, Desktop=0, FirstGroup=Desktop, Toolbar, - MainToolbar, Small, Panel, LastGroup, User }; - enum StdSizes { SizeSmall=16, SizeMedium=32, SizeLarge=48 }; - enum States { DefaultState, ActiveState, DisabledState, LastState }; - enum Overlays { LockOverlay=0x100, ZipOverlay=0x200, LinkOverlay=0x400, - HiddenOverlay=0x800, OverlayMask = ~0xff }; - - /** - * The size in pixels of the icon. - */ - int size; - - /** - * The context of the icon. - */ - Context context; - - /** - * The type of the icon: Fixed, Scalable or Threshold. - **/ - Type type; - - /** - * The threshold in case type == Threshold - */ - int threshold; - - /** - * The full path of the icon. - */ - TQString path; - -private: - KIconPrivate *d; -}; - -inline KIcon::Group& operator++(KIcon::Group& group) { group = static_cast(group+1); return group; } -inline KIcon::Group operator++(KIcon::Group& group,int) { KIcon::Group ret = group; ++group; return ret; } - -/** - * Class to use/access icon themes in KDE. This class is used by the - * iconloader but can be used by others too. - */ -class KIconTheme -{ -public: - /** - * Load an icon theme by name. - */ - KIconTheme(const TQString& name, const TQString& appName=TQString::null); - ~KIconTheme(); - - /** - * The stylized name of the icon theme. - */ - TQString name() const { return mName; } - - /** - * A description for the icon theme. - */ - TQString description() const { return mDesc; } - - /** - * Return the name of the "example" icon. - */ - TQString example() const; - - /** - * Return the name of the screenshot. - */ - TQString screenshot() const; - - /** - * Returns the name of this theme's link overlay. - */ - TQString linkOverlay() const; - - /** - * Returns the name of this theme's zip overlay. - */ - TQString zipOverlay() const; - - /** - * Returns the name of this theme's lock overlay. - */ - TQString lockOverlay() const; - - /** - * Returns the toplevel theme directory. - */ - TQString dir() const { return mDir; } - - /** - * The themes this icon theme falls back on. - */ - TQStringList inherits() const { return mInherits; } - - /** - * The icon theme exists? - */ - bool isValid() const; - - /** - * The minimum display depth required for this theme. This can either - * be 8 or 32. - */ - int depth() const { return mDepth; } - - /** - * The default size of this theme for a certain icon group. - * @param group The icon group. See @ref #KIcon::Group. - * @return The default size in pixels for the given icon group. - */ - int defaultSize(KIcon::Group group) const; - - /** - * Query available sizes for a group. - */ - TQValueList querySizes(KIcon::Group group) const; - - /** - * Query available icons for a size and context. - */ - TQStringList queryIcons(int size, KIcon::Context context = KIcon::Any) const; - - /** - * Query available icons for a context and preferred size. - */ - TQStringList queryIconsByContext(int size, KIcon::Context context = KIcon::Any) const; - - - /** - * Lookup an icon in the theme. - * @param name The name of the icon, without extension. - * @param size The desired size of the icon. - * @param match The matching mode. KIcon::MatchExact returns an icon - * only if matches exactly. KIcon::MatchBest returns the best matching - * icon. - * @return A KIcon class that describes the icon. If an icon is found, - * @ref #KIcon::isValid will return true, and false otherwise. - */ - KIcon iconPath(const TQString& name, int size, KIcon::MatchType match) const; - - /** - * List all icon themes installed on the system, global and local. - */ - static TQStringList list(); - - /** - * Returns the current icon theme. - */ - static TQString current(); - - static void reconfigure(); - -private: - int mDefSize[8]; - TQValueList mSizes[8]; - - int mDepth; - TQString mDir, mName, mDesc; - TQStringList mInherits; -// TQPtrList mDirs; - KIconThemePrivate *d; - - static TQString *_theme; - static TQStringList *_theme_list; -}; - -#endif diff --git a/python/pykde/extra/kde300/kkeyserver_x11.h b/python/pykde/extra/kde300/kkeyserver_x11.h deleted file mode 100644 index 279dbd7d..00000000 --- a/python/pykde/extra/kde300/kkeyserver_x11.h +++ /dev/null @@ -1,131 +0,0 @@ -#ifndef _KKEYSERVER_X11_H -#define _KKEYSERVER_X11_H - -#include "kshortcut.h" -#include "kkeynative.h" - -namespace KKeyServer -{ - struct CodeMod { int code, mod; }; - - struct Sym - { - public: - uint m_sym; - - Sym() - { m_sym = 0; } - Sym( uint sym ) - { m_sym = sym; } - Sym( const TQString& s ) - { init( s ); } - - bool initQt( int keyQt ); - bool init( const TQString& ); - - int qt() const; - TQString toStringInternal() const; - TQString toString() const; - - uint getModsRequired() const; - uint getSymVariation() const; - - operator uint() const { return m_sym; } - Sym& operator =( uint sym ) { m_sym = sym; return *this; } - - private: - TQString toString( bool bUserSpace ) const; - - static void capitalizeKeyname( TQString& ); - }; - - struct Key - { - enum { CODE_FOR_QT = 256 }; - - uint m_code; - uint m_mod; - uint m_sym; - - bool init( const KKey& key, bool bQt ); - - bool isNative() const { return m_code != CODE_FOR_QT; } - - uint code() const { return m_code; } - uint mod() const { return m_mod; } - uint sym() const { return m_sym; } - int keyCodeQt() const { return (int) m_sym; } - - void setKeycodeQt( int keyQt ) - { m_code = CODE_FOR_QT; m_sym = keyQt; } - - Key& operator =( const KKeyNative& key ); - int compare( const Key& ) const; - - bool operator ==( const Key& b ) const - { return compare( b ) == 0; } - bool operator <( const Key& b ) const - { return compare( b ) < 0; } - - KKey key() const; - }; - - struct Variations - { - enum { MAX_VARIATIONS = 4 }; - - Key m_rgkey[MAX_VARIATIONS]; - uint m_nVariations; - - Variations() { m_nVariations = 0; } - - void init( const KKey&, bool bQt ); - - uint count() const { return m_nVariations; } - const Key& key( uint i ) const { return m_rgkey[i]; } - }; - - bool initializeMods(); - - /** - * Returns the equivalent X modifier mask of the given modifier flag. - */ - uint modX( KKey::ModFlag ); - /** - * Returns true if the current keyboard layout supports the Win key. - * Specifically, whether the Super or Meta keys are assigned to an X modifier. - */ - bool keyboardHasWinKey(); - uint modXShift(); - uint modXLock(); - uint modXCtrl(); - uint modXAlt(); - uint modXNumLock(); - uint modXWin(); - uint modXScrollLock(); - /** - * Returns bitwise OR'ed mask containing Shift, Ctrl, Alt, and - * Win (if available). - */ - uint accelModMaskX(); - - bool keyQtToSym( int keyQt, uint& sym ); - bool keyQtToMod( int keyQt, uint& mod ); - bool symToKeyQt( uint sym, int& keyQt ); - - bool modToModQt( uint mod, int& modQt ); - bool modToModX( uint mod, uint& modX ); - bool modXToModQt( uint modX, int& modQt ); - bool modXToMod( uint modX, uint& mod ); - - bool codeXToSym( uchar codeX, uint modX, uint& symX ); - - TQString modToStringInternal( uint mod ); - TQString modToStringUser( uint mod ); - - bool stringToSymMod( const TQString&, uint& sym, uint& mod ); - - void keyQtToKeyX( uint keyCombQt, unsigned char *pKeyCodeX, uint *pKeySymX, uint *pKeyModX ); -}; - -#endif // !_KKEYSERVER_X11_H diff --git a/python/pykde/extra/kde300/konsole_part.h b/python/pykde/extra/kde300/konsole_part.h deleted file mode 100644 index 6aba7064..00000000 --- a/python/pykde/extra/kde300/konsole_part.h +++ /dev/null @@ -1,223 +0,0 @@ -/* - This file is part of the KDE system - Copyright (C) 1999,2000 Boloni Laszlo - - This program is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. - */ - -#ifndef __KONSOLE_PART_H__ -#define __KONSOLE_PART_H__ - -#include -#include - - -#include - -#include - -//#include "schema.h" -//#include "session.h" - -class KInstance; -class konsoleBrowserExtension; -class TQPushButton; -class TQSpinBox; -class KPopupMenu; -class TQCheckBox; -class KRootPixmap; -class KToggleAction; -class KSelectAction; - -namespace KParts { class GUIActivateEvent; } - -class konsoleFactory : public KParts::Factory -{ - Q_OBJECT -public: - konsoleFactory(); - virtual ~konsoleFactory(); - - virtual KParts::Part* createPartObject(TQWidget *parentWidget = 0, const char *widgetName = 0, - TQObject* parent = 0, const char* name = 0, - const char* classname = "KParts::Part", - const TQStringList &args = TQStringList()); - - static KInstance *instance(); - - private: - static KInstance *s_instance; - static KAboutData *s_aboutData; -}; - -////////////////////////////////////////////////////////////////////// - -class konsolePart: public KParts::ReadOnlyPart, public TerminalInterface -{ - Q_OBJECT - public: - konsolePart(TQWidget *parentWidget, const char *widgetName, TQObject * parent, const char *name, const char *classname = 0); - virtual ~konsolePart(); - -signals: - void processExited(); - void receivedData( const TQString& s ); - protected: - virtual bool openURL( const KURL & url ); - virtual bool openFile() {return false;} // never used - virtual bool closeURL() {return true;} - virtual void guiActivateEvent( KParts::GUIActivateEvent * event ); - - protected slots: - void showShell(); - void slotProcessExited(); - void slotReceivedData( const TQString& s ); - -// void doneSession(TESession*); - void sessionDestroyed(); -// void configureRequest(TEWidget*,int,int x,int y); - void updateTitle(); - void enableMasterModeConnections(); - - private slots: - void emitOpenURLRequest(const TQString &url); - - void readProperties(); - void saveProperties(); - - void sendSignal(int n); - void closeCurrentSession(); - - void notifySize(int,int); - - void slotToggleFrame(); - void slotSelectScrollbar(); - void slotSelectFont(); - void schema_menu_check(); - void keytab_menu_activated(int item); - void updateSchemaMenu(); - void setSchema(int n); - void pixmap_menu_activated(int item); - void schema_menu_activated(int item); - void slotHistoryType(); - void slotSelectBell(); - void slotSelectLineSpacing(); - void slotBlinkingCursor(); - void slotWordSeps(); - void fontNotFound(); - - private: - konsoleBrowserExtension *m_extension; - KURL currentURL; - - void makeGUI(); - void applySettingsToGUI(); - - void setFont(int fontno); -// void setSchema(ColorSchema* s); - void updateKeytabMenu(); - - bool doOpenStream( const TQString& ); - bool doWriteStream( const TQByteArray& ); - bool doCloseStream(); - - TQWidget* parentWidget; -// TEWidget* te; -// TESession* se; -// ColorSchemaList* colors; - KRootPixmap* rootxpm; - - KToggleAction* blinkingCursor; - KToggleAction* showFrame; - - KSelectAction* selectBell; - KSelectAction* selectFont; - KSelectAction* selectLineSpacing; - KSelectAction* selectScrollbar; - - KPopupMenu* m_keytab; - KPopupMenu* m_schema; - KPopupMenu* m_signals; - KPopupMenu* m_options; - KPopupMenu* m_popupMenu; - - TQFont defaultFont; - - TQString pmPath; // pixmap path - TQString s_schema; - TQString s_kconfigSchema; - TQString s_word_seps; // characters that are considered part of a word - TQString fontNotFound_par; - - bool b_framevis:1; - bool b_histEnabled:1; - - int curr_schema; // current schema no - int n_bell; - int n_font; - int n_keytab; - int n_render; - int n_scroll; - unsigned m_histSize; - bool m_runningShell; - bool m_streamEnabled; -public: - // these are the implementations for the TermEmuInterface - // functions... - void startProgram( const TQString& program, - const TQStrList& args ); - void showShellInDir( const TQString& dir ); - void sendInput( const TQString& text ); -}; - -////////////////////////////////////////////////////////////////////// - -/*class HistoryTypeDialog : public KDialogBase -{ - Q_OBJECT -public: - HistoryTypeDialog(const HistoryType& histType, - unsigned int histSize, - TQWidget *parent); - -public slots: - void slotDefault(); - void slotSetUnlimited(); - void slotHistEnable(bool); - - unsigned int nbLines() const; - bool isOn() const; - -protected: - TQCheckBox* m_btnEnable; - TQSpinBox* m_size; - TQPushButton* m_setUnlimited; -};*/ - -////////////////////////////////////////////////////////////////////// - -class konsoleBrowserExtension : public KParts::BrowserExtension -{ - Q_OBJECT - friend class konsolePart; - public: - konsoleBrowserExtension(konsolePart *parent); - virtual ~konsoleBrowserExtension(); - - void emitOpenURLRequest(const KURL &url); -}; - -#endif diff --git a/python/pykde/extra/kde300/krecentdirs.h b/python/pykde/extra/kde300/krecentdirs.h deleted file mode 100644 index 61a50706..00000000 --- a/python/pykde/extra/kde300/krecentdirs.h +++ /dev/null @@ -1,68 +0,0 @@ -/* -*- c++ -*- - * Copyright (C)2000 Waldo Bastian - * - * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * - * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND - * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE - * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS - * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) - * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT - * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY - * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF - * SUCH DAMAGE. - * - */ -#ifndef __KRECENTDIRS_H -#define __KRECENTDIRS_H - -#include - -/** - * The goal of this class is to make sure that, when the user needs to - * specify a file via the file selection dialog, this dialog will start - * in the directory most likely to contain the desired files. - * - * This works as follows: Each time the file selection dialog is - * shown, the programmer can specify a "file-class". The file-dialog will - * then start with the directory associated with this file-class. When - * the dialog closes, the directory currently shown in the file-dialog - * will be associated with the file-class. - * - * A file-class can either start with ':' or with '::'. If it starts with - * a single ':' the file-class is specific to the current application. - * If the file-class starts with '::' it is global to all applications. - */ -class KRecentDirs -{ -public: - /** - * Returns a list of directories associated with this file-class. - * The most recently used directory is at the front of the list. - */ - static TQStringList list(const TQString &fileClass); - - /** - * Returns the most recently used directory accociated with this file-class. - */ - static TQString dir(const TQString &fileClass); - - /** - * Associates @p directory with @p fileClass - */ - static void add(const TQString &fileClass, const TQString &directory); -}; - -#endif diff --git a/python/pykde/extra/kde300/ksycocafactory.h b/python/pykde/extra/kde300/ksycocafactory.h deleted file mode 100644 index ff1d43cb..00000000 --- a/python/pykde/extra/kde300/ksycocafactory.h +++ /dev/null @@ -1,135 +0,0 @@ -/* This file is part of the KDE libraries - * Copyright (C) 1999 Waldo Bastian - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License version 2 as published by the Free Software Foundation; - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public License - * along with this library; see the file COPYING.LIB. If not, write to - * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - * Boston, MA 02110-1301, USA. - **/ - -#ifndef __ksycocafactory_h__ -#define __ksycocafactory_h__ "$Id: ksycocafactory.h,v 1.12 2002/03/03 21:20:26 lunakl Exp $" - -#include "ksycocatype.h" -#include "ksycocaentry.h" - -#include -#include -class KSycoca; -class TQStringList; -class TQString; -class KSycocaDict; -class KSycocaResourceList; - -typedef TQDict KSycocaEntryDict; - -/** - * @internal - * Base class for sycoca factories - */ -class KSycocaFactory -{ -public: - virtual KSycocaFactoryId factoryId() const = 0; - -protected: // virtual class - /** - * Create a factory which can be used to lookup from/create a database - * (depending on KSycoca::isBuilding()) - */ - KSycocaFactory( KSycocaFactoryId factory_id ); - -public: - virtual ~KSycocaFactory(); - - /** - * @return the position of the factory in the sycoca file - */ - int offset() { return mOffset; } - - /** - * @return the dict, for special use by KBuildSycoca - */ - KSycocaEntryDict * entryDict() { return m_entryDict; } - - /** - * Construct an entry from a config file. - * To be implemented in the real factories. - */ - virtual KSycocaEntry *createEntry(const TQString &file, const char *resource) = 0; - - /** - * Add an entry - */ - virtual void addEntry(KSycocaEntry *newEntry, const char *resource); - - /** - * Read an entry from the database - */ - virtual KSycocaEntry *createEntry(int offset)=0; - - /** - * Get a list of all entries from the database. - */ - KSycocaEntry::List allEntries(); - - /** - * Saves all entries it maintains as well as index files - * for these entries to the stream 'str'. - * - * Also sets mOffset to the starting position. - * - * The stream is positioned at the end of the last index. - * - * Don't forget to call the parent first when you override - * this function. - */ - virtual void save(TQDataStream &str); - - /** - * Writes out a header to the stream 'str'. - * The baseclass positions the stream correctly. - * - * Don't forget to call the parent first when you override - * this function. - */ - virtual void saveHeader(TQDataStream &str); - - /** - * @return the resources for which this factory is responsible. - */ - virtual const KSycocaResourceList * resourceList() const { return m_resourceList; } - -private: - int mOffset; - -protected: - int m_sycocaDictOffset; - int m_beginEntryOffset; - int m_endEntryOffset; - TQDataStream *m_str; - - KSycocaResourceList *m_resourceList; - KSycocaEntryDict *m_entryDict; - KSycocaDict *m_sycocaDict; -protected: - virtual void virtual_hook( int id, void* data ); -}; - -// This, instead of a typedef, allows to declare "class ..." in header files -class KSycocaFactoryList : public TQPtrList -{ -public: - KSycocaFactoryList() { } -}; - -#endif diff --git a/python/pykde/extra/kde300/ktoolbarbutton.h b/python/pykde/extra/kde300/ktoolbarbutton.h deleted file mode 100644 index 9b35b179..00000000 --- a/python/pykde/extra/kde300/ktoolbarbutton.h +++ /dev/null @@ -1,306 +0,0 @@ -/* This file is part of the KDE libraries - Copyright (C) 1997, 1998 Stephan Kulow (coolo@kde.org) - (C) 1997, 1998 Sven Radej (radej@kde.org) - (C) 1997, 1998 Mark Donohoe (donohoe@kde.org) - (C) 1997, 1998 Matthias Ettrich (ettrich@kde.org) - (C) 2000 Kurt Granroth (granroth@kde.org) - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License version 2 as published by the Free Software Foundation. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. -*/ - -// $Id: ktoolbarbutton.h,v 1.21 2002/03/04 00:51:52 lunakl Exp $ -#ifndef _KTOOLBARBUTTON_H -#define _KTOOLBARBUTTON_H - -#include -#include -#include -#include -#include - -class KToolBar; -class KToolBarButtonPrivate; -class KInstance; -class TQEvent; -class TQPopupMenu; -class TQPainter; - -/** - * A toolbar button. This is used internally by @ref KToolBar, use the - * KToolBar methods instead. - * @internal - */ -class KToolBarButton : public QToolButton -{ - Q_OBJECT - -public: - /** - * Construct a button with an icon loaded by the button itself. - * This will trust the button to load the correct icon with the - * correct size. - * - * @param icon Name of icon to load (may be absolute or relative) - * @param id Id of this button - * @param parent This button's parent - * @param name This button's internal name - * @param txt This button's text (in a tooltip or otherwise) - */ - KToolBarButton(const TQString& icon, int id, TQWidget *parent, - const char *name=0L, const TQString &txt=TQString::null, - KInstance *_instance = KGlobal::instance()); - - /** - * Construct a button with an existing pixmap. It is not - * recommended that you use this as the internal icon loading code - * will almost always get it "right". - * - * @param icon Name of icon to load (may be absolute or relative) - * @param id Id of this button - * @param parent This button's parent - * @param name This button's internal name - * @param txt This button's text (in a tooltip or otherwise) - */ - KToolBarButton(const TQPixmap& pixmap, int id, TQWidget *parent, - const char *name=0L, const TQString &txt=TQString::null); - - /** - * Construct a separator button - * - * @param parent This button's parent - * @param name This button's internal name - */ - KToolBarButton(TQWidget *parent=0L, const char *name=0L); - - /** - * Standard destructor - */ - ~KToolBarButton(); - -#ifndef KDE_NO_COMPAT - /** - * @deprecated - * Set the pixmap directly for this button. This pixmap should be - * the active one... the dimmed and disabled pixmaps are constructed - * based on this one. However, don't use this function unless you - * are positive that you don't want to use @ref setIcon. - * - * @param pixmap The active pixmap - */ - // this one is from TQButton, so #ifdef-ing it out doesn't break BC - virtual void setPixmap(const TQPixmap &pixmap); - - /** - * @deprecated - * Force the button to use this pixmap as the default one rather - * then generating it using effects. - * - * @param pixmap The pixmap to use as the default (normal) one - */ - void setDefaultPixmap(const TQPixmap& pixmap); - - /** - * @deprecated - * Force the button to use this pixmap when disabled one rather then - * generating it using effects. - * - * @param pixmap The pixmap to use when disabled - */ - void setDisabledPixmap(const TQPixmap& pixmap); -#endif - - /** - * Set the text for this button. The text will be either used as a - * tooltip (IconOnly) or will be along side the icon - * - * @param text The button (or tooltip) text - */ - virtual void setText(const TQString &text); - - /** - * Set the icon for this button. The icon will be loaded internally - * with the correct size. This function is preferred over @ref setIconSet - * - * @param icon The name of the icon - */ - virtual void setIcon(const TQString &icon); - - /** - * Set the pixmaps for this toolbar button from a TQIconSet. - * If you call this you don't need to call any of the other methods - * that set icons or pixmaps. - * @param iconset The iconset to use - */ - virtual void setIconSet( const TQIconSet &iconset ); - -#ifndef KDE_NO_COMPAT - /** - * @deprecated - * Set the active icon for this button. The pixmap itself is loaded - * internally based on the icon size... .. the disabled and default - * pixmaps, however will only be constructed if @ref #generate is - * true. This function is preferred over @ref setPixmap - * - * @param icon The name of the active icon - * @param generate If true, then the other icons are automagically - * generated from this one - */ - void setIcon(const TQString &icon, bool /*generate*/ ) { setIcon( icon ); } - - /** - * @deprecated - * Force the button to use this icon as the default one rather - * then generating it using effects. - * - * @param icon The icon to use as the default (normal) one - */ - void setDefaultIcon(const TQString& icon); - - /** - * @deprecated - * Force the button to use this icon when disabled one rather then - * generating it using effects. - * - * @param icon The icon to use when disabled - */ - void setDisabledIcon(const TQString& icon); -#endif - - /** - * Turn this button on or off - * - * @param flag true or false - */ - void on(bool flag = true); - - /** - * Toggle this button - */ - void toggle(); - - /** - * Turn this button into a toggle button or disable the toggle - * aspects of it. This does not toggle the button itself. Use @ref - * toggle for that. - * - * @param toggle true or false - */ - void setToggle(bool toggle = true); - - /** - * Return a pointer to this button's popup menu (if it exists) - */ - TQPopupMenu *popup(); - - /** - * Give this button a popup menu. There will not be a delay when - * you press the button. Use @ref setDelayedPopup if you want that - * behavior. You can also make the popup-menu - * "sticky", i.e. visible until a selection is made or the mouse is - * clikced elsewhere, by simply setting the second argument to true. - * This "sticky" button feature allows you to make a selection without - * having to press and hold down the mouse while making a selection. - * - * @param p The new popup menu - * @param toggle if true, makes the button "sticky" (toggled) - */ - void setPopup (TQPopupMenu *p, bool toggle = false); - - /** - * Gives this button a delayed popup menu. - * - * This function allows you to add a delayed popup menu to the button. - * The popup menu is then only displayed when the button is pressed and - * held down for about half a second. You can also make the popup-menu - * "sticky", i.e. visible until a selection is made or the mouse is - * clikced elsewhere, by simply setting the second argument to true. - * This "sticky" button feature allows you to make a selection without - * having to press and hold down the mouse while making a selection. - * - * @param p the new popup menu - * @param toggle if true, makes the button "sticky" (toggled) - */ - void setDelayedPopup(TQPopupMenu *p, bool toggle = false); - - /** - * Turn this button into a radio button - * - * @param f true or false - */ - void setRadio(bool f = true); - - /** - * Toolbar buttons naturally will assume the global styles - * concerning icons, icons sizes, etc. You can use this function to - * explicitely turn this off, if you like. - * - * @param no_style Will disable styles if true - */ - void setNoStyle(bool no_style = true); - -signals: - void clicked(int); - void doubleClicked(int); - void pressed(int); - void released(int); - void toggled(int); - void highlighted(int, bool); - -public slots: - /** - * This slot should be called whenever the toolbar mode has - * potentially changed. This includes such events as text changing, - * orientation changing, etc. - */ - void modeChange(); - virtual void setTextLabel(const TQString&, bool tipToo); - -protected: - void paletteChange(const TQPalette &); - void leaveEvent(TQEvent *e); - void enterEvent(TQEvent *e); - void drawButton(TQPainter *p); - bool eventFilter (TQObject *o, TQEvent *e); - void showMenu(); - TQSize sizeHint() const; - TQSize minimumSizeHint() const; - TQSize minimumSize() const; - -protected slots: - void slotClicked(); - void slotPressed(); - void slotReleased(); - void slotToggled(); - void slotDelayTimeout(); - -protected: - virtual void virtual_hook( int id, void* data ); -private: - KToolBarButtonPrivate *d; -}; - -/** -* List of @ref KToolBarButton objects. -* @internal -* @version $Id: ktoolbarbutton.h,v 1.21 2002/03/04 00:51:52 lunakl Exp $ -*/ -class KToolBarButtonList : public TQIntDict -{ -public: - KToolBarButtonList(); - ~KToolBarButtonList() {} -}; - -#endif diff --git a/python/pykde/extra/kde300/kurifilter.h b/python/pykde/extra/kde300/kurifilter.h deleted file mode 100644 index 24e09985..00000000 --- a/python/pykde/extra/kde300/kurifilter.h +++ /dev/null @@ -1,593 +0,0 @@ -/* - * This file is part of the KDE libraries - * Copyright (C) 2000 Yves Arrouye - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public License - * along with this library; see the file COPYING.LIB. If not, write to - * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - * Boston, MA 02110-1301, USA. - **/ - -#ifndef __kurifilter_h__ -#define __kurifilter_h__ "$Id: kurifilter.h,v 1.23 2002/03/04 04:17:37 lunakl Exp $" - -#include -#include - -#include - -class KURIFilterPrivate; -class KURIFilterDataPrivate; - -class TQStringList; -class KCModule; - -/** -* This is a basic message object used for exchanging filtering -* information between the filter plugins and the application -* whenever the application requires more information about the -* URI than just a filtered version of it. Any application can -* create an instance of this class and send it to @ref KURIFilter -* to have the filter plugins fill the necessary information. -* -* @sect Example -*
-*   TQString text = "kde.org";
-*   KURIFilterData d = text;
-*   bool filtered = KURIFilter::self()->filter( d );
-*   if( filtered )
-*     print ( "URI: %s\n"Filtered URI: %s\n URI Type: %i\n"Was Filtered: %i"
-*             text.latin1(), d.uri().url().latin1(), d.uriType(), filtered );
-* 
-* -* The above code should yield the following output: -*
-*   URI: kde.org
-*   Filtered URI: http://kde.org
-*   URI Type: 0            <== means NET_PROTOCOL
-*   Was Filtered: 1        <== means the URL was successfully filtered
-* 
-* -* @short A message object for exchanging filtering URI info. -*/ - -class KURIFilterData -{ -friend class KURIFilterPlugin; - -public: - /** - * Describes the type of URI to be filtered. - * - * This enumerator prvoides the return value for - * @ref uriType. A breif description for each value: - * - * @li NET_PROTOCOL - Any network protocol: http, ftp, nttp, pop3, etc... - * @li LOCAL_FILE - A local file whose executable flag is not set - * @li LOCAL_DIR - A local directory - * @li EXECUTABLE - A local file whose executable flag is set - * @li HELP - A man or info page - * @li SHELL - A shell executable (ex: echo "Test..." >> ~/testfile) - * @li BLOCKED - A URI that should be blocked/filtered (ex: ad filtering) - * @li ERROR - An incorrect URI (ex: "~johndoe" when user johndoe - * does not exist in that system ) - * @li UNKNOWN - A URI that is not identified. Default value when - * a KURIFilterData is first created. - */ - enum URITypes { NET_PROTOCOL=0, LOCAL_FILE, LOCAL_DIR, EXECUTABLE, HELP, SHELL, BLOCKED, ERROR, UNKNOWN }; - - /** - * Default constructor. - * - * Creates a URIFilterData object. - */ - KURIFilterData() { init(); } - - /** - * Creates a URIFilterData object from the given URL. - * - * @param url is the URL to be filtered. - */ - KURIFilterData( const KURL& url ) { init( url); } - - /** - * Creates a URIFilterData object from the given string. - * - * @param url is the string to be filtered. - */ - KURIFilterData( const TQString& url ) { init( url ); } - - /** - * Copy constructor. - * - * Creates a URIFilterData object from another - * URI filter data object. - * - * @param data the uri filter data to be copied. - */ - KURIFilterData( const KURIFilterData& /*data*/); - - /** - * Destructor. - */ - ~KURIFilterData(); - - /** - * This method has been deprecated and will always return - * TRUE. You should instead use the result from the - * @ref KURIFilter::filterURI() calls. - * - * @deprecated - */ - bool hasBeenFiltered() const { return m_bFiltered; } - - /** - * Returns the filtered or the original URL. - * - * This function returns the filtered url if one - * of the plugins sucessfully filtered the original - * URL. Otherwise, it returns the original URL. - * See @ref #hasBeenFiltered() and - * - * @return the filtered or original url. - */ - KURL uri() const { return m_pURI; } - - /** - * Returns an error message. - * - * This functions returns the error message set - * by the plugin whenever the uri type is set to - * KURIFilterData::ERROR. Otherwise, it returns - * a TQString::null. - * - * @return the error message or a NULL when there is none. - */ - TQString errorMsg() const { return m_strErrMsg; } - - /** - * Returns the URI type. - * - * This method always returns KURIFilterData::UNKNOWN - * if the given URL was not filtered. - */ - URITypes uriType() const { return m_iType; } - - /** - * Sets the URL to be filtered. - * - * Use this function to set the string to be - * filtered when you construct an empty filter - * object. - * - * @param url the string to be filtered. - */ - void setData( const TQString& url ) { init( url ); } - - /** - * Same as above except the argument is a URL. - * - * Use this function to set the string to be - * filtered when you construct an empty filter - * object. - * - * @param url the URL to be filtered. - */ - void setData( const KURL& url ) { init( url ); } - - /** - * Sets the absolute path to be used whenever the supplied - * data is a relative local URL. - * - * NOTE: This function works only for a local resource and - * expects the absolute path to the relative URL set in this - * meta object. If you are extracting the absolute path from - * a KURL object, make sure you always set the argument below - * using KURL::path() instead of KURL::url() so that "file:/" - * would not be appended! Otherwise, the filter might not be - * able to make correct determination whether the relative URL - * locally exists! - * - * @param abs_path the abolute path to the local resource. - * @return true if absolute path is successfully set. Otherwise, false. - */ - bool setAbsolutePath( const TQString& /* abs_path */ ); - - /** - * Returns the absolute path if one has already been set. - */ - TQString absolutePath() const; - - /** - * Returns true if the supplied data has an absolute path. - */ - bool hasAbsolutePath() const; - - /** - * Returns the command line options and arguments for a - * local resource when present. - * - * @return options and arguments when present, otherwise TQString::null - */ - TQString argsAndOptions() const; - - /** - * Returns true if the current data is a local resource with - * command line options and arguments. - */ - bool hasArgsAndOptions() const; - - /** - * Returns the name of the icon that matches - * the current filtered URL. - * - * NOTE that this function will return a NULL - * string by default and when no associated icon - * is found. - * - * @return the name of the icon associated with the resource - */ - TQString iconName(); - - /** - * Overloaded assigenment operator. - * - * This function allows you to easily assign a KURL - * to a KURIFilterData object. - * - * @return an instance of a KURIFilterData object. - */ - KURIFilterData& operator=( const KURL& url ) { init( url ); return *this; } - - /** - * Overloaded assigenment operator. - * - * This function allows you to easily assign a QString - * to a KURIFilterData object. - * - * @return an instance of a KURIFilterData object. - */ - KURIFilterData& operator=( const TQString& url ) { init( url ); return *this; } - -protected: - - /** - * Initializes the KURIFilterData on construction. - */ - void init( const KURL& url = TQString::null ); - -private: - bool m_bFiltered; - bool m_bChanged; - - TQString m_strErrMsg; - TQString m_strIconName; - - KURL m_pURI; - URITypes m_iType; - KURIFilterDataPrivate *d; -}; - - -/** - * Base class for URI filter plugins. - * - * This class applies a single filter to a URI. All - * plugins designed to provide URI filtering functionalities - * should inherit from this abstract class and provide a - * specific filtering implementation. - * - * All inheriting classes need to implement the pure - * virtual function @ref filterURI. Otherwise, they - * would also become abstract. - * - * @short Abstract class for URI filter plugins. - */ -class KURIFilterPlugin : public QObject -{ - Q_OBJECT - -public: - - /** - * Constructs a filter plugin with a given name and - * priority. - * - * @param parent the parent object. - * @param name the name of the plugin. - * @param pri the priority of the plugin. - */ - KURIFilterPlugin( TQObject *parent = 0, const char *name = 0, double pri = 1.0 ); - - /** - * Returns the filter's name. - * - * @return A string naming the filter. - */ - virtual TQString name() const { return m_strName; } - - /** - * Returns the filter's priority. - * - * Each filter has an assigned priority, a float from 0 to 1. Filters - * with the lowest priority are first given a chance to filter a URI. - * - * @return The priority of the filter. - */ - virtual double priority() const { return m_dblPriority; } - - /** - * Filters a URI. - * - * @param data the URI data to be filtered. - * @return A boolean indicating whether the URI has been changed. - */ - virtual bool filterURI( KURIFilterData& data ) const = 0; - - /** - * Creates a configuration module for the filter. - * - * It is the responsability of the caller to delete the module - * once it is not needed anymore. - * - * @return A configuration module, @p null if the filter isn't configurable. - */ - virtual KCModule *configModule( TQWidget*, const char* ) const { return 0; } - - /** - * Returns the name of the configuration module for the filter. - * - * @return the name of a configuration module or @p null if none. - */ - virtual TQString configName() const { return name(); } - -protected: - - /** - * Sets the the URL in @p data to @p uri. - */ - void setFilteredURI ( KURIFilterData& data, const KURL& uri ) const; - - /** - * Sets the error message in @p data to @p errormsg. - */ - void setErrorMsg ( KURIFilterData& data, const TQString& errmsg ) const { - data.m_strErrMsg = errmsg; - } - - /** - * Sets the URI type in @p data to @p type. - */ - void setURIType ( KURIFilterData& data, KURIFilterData::URITypes type) const { - data.m_iType = type; - data.m_bChanged = true; - } - - /** - * Sets the arguments and options string in @p data - * to @p args if any were found during filterting. - */ - void setArguments( KURIFilterData& data, const TQString& args ) const; - - TQString m_strName; - double m_dblPriority; - -protected: - virtual void virtual_hook( int id, void* data ); -private: - class KURIFilterPluginPrivate *d; -}; - - -class KURIFilterPluginList : public TQPtrList -{ -public: - virtual int compareItems(Item a, Item b) - { - double diff = ((KURIFilterPlugin *) a)->priority() - ((KURIFilterPlugin *) b)->priority(); - return diff < 0 ? -1 : (diff > 0 ? 1 : 0); - } - -private: - KURIFilterPrivate *d; - -}; - -/** - * Manages the filtering of a URI. - * - * The intention of this plugin class is to allow people to extend - * the functionality of KURL without modifying it directly. This - * way KURL will remain a generic parser capable of parsing any - * generic URL that adheres to specifications. - * - * The KURIFilter class applies a number of filters to a URI, - * and returns the filtered version whenever possible. The filters - * are implemented using plugins to provide easy extensibility - * of the filtering mechanism. That is, new filters can be added in - * the future by simply inheriting from @ref KURIFilterPlugin and - * implementing the @ref KURIFilterPlugin::filterURI method. - * - * Use of this plugin-manager class is straight forward. Since - * it is a singleton object, all you have to do is obtain an instance - * by doing @p KURIFilter::self() and use any of the public member - * functions to preform the filtering. - * - * @sect Example - * - * To simply filter a given string: - *
- * bool filtered = KURIFilter::self()->filterURI( "kde.org" );
- * 
- * - * You can alternatively use a KURL: - *
- * KURL url = "kde.org";
- * bool filtered = KURIFilter::self()->filterURI( url );
- * 
- * - * If you have a constant string or a constant URL, - * simply invoke the corresponding function to obtain - * the filtered string or URL instead of a boolean flag: - *
- * TQString u = KURIFilter::self()->filteredURI( "kde.org" );
- * 
- * - * You can also specify only specific filter(s) to be applied - * by supplying the name(s) of the filter(s). By defualt all - * filters that are found are loaded when the KURIFilter object - * is created will be used. These names are taken from the - * enteries in the \".desktop\" files. Here are a couple of - * examples: - *
- * TQString text = "kde.org";
- * bool filtered = KURIFilter::self()->filterURI( text, "KShortURIFilter" );
- *
- * TQStringList list;
- * list << "KShortURIFilter" << "MyFilter";
- * bool filtered = KURIFilter::self()->filterURI( text, list );
- * 
- * - * KURIFilter also allows richer data exchange through a simple - * meta-object called @p KURIFilterData. Using this meta-object - * you can find out more information about the URL you want to - * filter. See @ref KURIFilterData for examples and details. - * - * @short Filters a given URL into its proper format whenever possible. - */ - -class KURIFilter -{ -public: - /** - * Destructor - */ - ~KURIFilter (); - - /** - * Return a static instance of KURIFilter. - */ - static KURIFilter* self(); - - /** - * Filters the URI given by the object URIFilterData. - * - * This filters the given data based on the specified - * filter list. If the list is empty all avaliable - * filter plugins would be used. If not, only those - * given in the list are used. - * - * @param data object that contains the URI to be filtered. - * @param filters specify the list filters to be used - * - * @return a boolean indicating whether the URI has been changed - */ - bool filterURI( KURIFilterData& data, const TQStringList& filters = TQStringList() ); - - /** - * Filters the URI given by the URL. - * - * This filters the given URL based on the specified - * filter list. If the list is empty all avaliable - * filter plugins would be used. If not, only those - * given in the list are used. - * - * @param uri the URI to filter. - * @param filters specify the list of filters to be used - * - * @return a boolean indicating whether the URI has been changed - */ - bool filterURI( KURL &uri, const TQStringList& filters = TQStringList() ); - - /** - * Filters a string representing a URI. - * - * This filters the given string based on the specified - * filter list. If the list is empty all avaliable - * filter plugins would be used. If not, only those - * given in the list are used. - * - * @param uri The URI to filter. - * @param filters specify the list filters to be used - * - * @return a boolean indicating whether the URI has been changed - */ - bool filterURI( TQString &uri, const TQStringList& filters = TQStringList() ); - - /** - * Returns the filtered URI. - * - * This filters the given URL based on the specified - * filter list. If the list is empty all avaliable - * filter plugins would be used. If not, only those - * given in the list are used. - * - * @param uri The URI to filter. - * @param filters specify the list filters to be used - * - * @return the filtered URI or null if it cannot be filtered - */ - KURL filteredURI( const KURL &uri, const TQStringList& filters = TQStringList() ); - - /** - * Return a filtered string representation of a URI. - * - * This filters the given URL based on the specified - * filter list. If the list is empty all avaliable - * filter plugins would be used. If not, only those - * given in the list are used. - * - * @param uri the URI to filter. - * @param filters specify the list filters to be used - * - * @return the filtered URI or null if it cannot be filtered - */ - TQString filteredURI( const TQString &uri, const TQStringList& filters = TQStringList() ); - - /** - * Return an iterator to iterate over all loaded - * plugins. - * - * @return a plugin iterator. - */ - TQPtrListIterator pluginsIterator() const; - -protected: - - /** - * A protected constructor. - * - * This constructor creates a KURIFilter and - * initializes all plugins it can find by invoking - * @ref loadPlugins. - */ - KURIFilter(); - - /** - * Loads all allowed plugins. - * - * This function loads all filters that have not - * been dis - */ - void loadPlugins(); - -private: - - static KURIFilter *m_self; - KURIFilterPluginList m_lstPlugins; - KURIFilterPrivate *d; - -}; - -#endif - diff --git a/python/pykde/extra/kde301/kaccelaction.h b/python/pykde/extra/kde301/kaccelaction.h deleted file mode 100644 index c1e53f5a..00000000 --- a/python/pykde/extra/kde301/kaccelaction.h +++ /dev/null @@ -1,202 +0,0 @@ -/* This file is part of the KDE libraries - Copyright (C) 2001,2002 Ellis Whitehead - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. -*/ - -#ifndef _KACCELACTION_H -#define _KACCELACTION_H - -#include -#include -#include -#include - -#include - -class KAccelBase; - -class TQObject; -class KConfig; -class KConfigBase; - -/* - KAccelAction holds information an a given action, such as "Execute Command" - - 1) KAccelAction = "Execute Command" - Default3 = "Alt+F2" - Default4 = "Meta+Enter;Alt+F2" - 1) KShortcut = "Meta+Enter" - 1) KKeySequence = "Meta+Enter" - 1) KKey = "Meta+Enter" - 1) Meta+Enter - 2) Meta+Keypad_Enter - 2) KShortcut = "Alt+F2" - 1) KKeySequence = "Alt+F2" - 1) Alt+F2 - 2) KAccelAction = "Something" - Default3 = "" - Default4 = "" - 1) KShortcut = "Meta+X,Asterisk" - 1) KKeySequence = "Meta+X,Asterisk" - 1) KKey = "Meta+X" - 1) Meta+X - 2) KKey = "Asterisk" - 1) Shift+8 (English layout) - 2) Keypad_Asterisk -*/ - -//--------------------------------------------------------------------- -// KAccelAction -//--------------------------------------------------------------------- - -class KAccelAction -{ - public: - KAccelAction(); - KAccelAction( const KAccelAction& ); - KAccelAction( const TQString& sName, const TQString& sLabel, const TQString& sWhatsThis, - const KShortcut& cutDef3, const KShortcut& cutDef4, - const TQObject* pObjSlot, const char* psMethodSlot, - bool bConfigurable, bool bEnabled ); - ~KAccelAction(); - - void clear(); - bool init( const TQString& sName, const TQString& sLabel, const TQString& sWhatsThis, - const KShortcut& cutDef3, const KShortcut& cutDef4, - const TQObject* pObjSlot, const char* psMethodSlot, - bool bConfigurable, bool bEnabled ); - - KAccelAction& operator=( const KAccelAction& ); - - const TQString& name() const { return m_sName; } - const TQString& label() const { return m_sLabel; } - const TQString& whatsThis() const { return m_sWhatsThis; } - const KShortcut& shortcut() const { return m_cut; } - const KShortcut& shortcutDefault() const; - const KShortcut& shortcutDefault3() const { return m_cutDefault3; } - const KShortcut& shortcutDefault4() const { return m_cutDefault4; } - const TQObject* objSlotPtr() const { return m_pObjSlot; } - const char* methodSlotPtr() const { return m_psMethodSlot; } - bool isConfigurable() const { return m_bConfigurable; } - bool isEnabled() const { return m_bEnabled; } - - void setName( const TQString& ); - void setLabel( const TQString& ); - void setWhatsThis( const TQString& ); - bool setShortcut( const KShortcut& rgCuts ); - void setSlot( const TQObject* pObjSlot, const char* psMethodSlot ); - void setConfigurable( bool ); - void setEnabled( bool ); - - int getID() const { return m_nIDAccel; } - void setID( int n ) { m_nIDAccel = n; } - bool isConnected() const; - - bool setKeySequence( uint i, const KKeySequence& ); - void clearShortcut(); - bool contains( const KKeySequence& ); - - TQString toString() const; - TQString toStringInternal() const; - - static bool useFourModifierKeys(); - static void useFourModifierKeys( bool ); - - protected: - TQString m_sName, - m_sLabel, - m_sWhatsThis; - KShortcut m_cut; - KShortcut m_cutDefault3, m_cutDefault4; - const TQObject* m_pObjSlot; - const char* m_psMethodSlot; - bool m_bConfigurable, - m_bEnabled; - int m_nIDAccel; - uint m_nConnections; - - void incConnections(); - void decConnections(); - - private: - static int g_bUseFourModifierKeys; - class KAccelActionPrivate* d; - - friend class KAccelActions; - friend class KAccelBase; -}; - -//--------------------------------------------------------------------- -// KAccelActions -//--------------------------------------------------------------------- - -class KAccelActions -{ - public: - KAccelActions(); - KAccelActions( const KAccelActions& ); - virtual ~KAccelActions(); - - void clear(); - bool init( const KAccelActions& ); - bool init( KConfigBase& config, const TQString& sGroup ); - - void updateShortcuts( KAccelActions& ); - - int actionIndex( const TQString& sAction ) const; - KAccelAction* actionPtr( uint ); - const KAccelAction* actionPtr( uint ) const; - KAccelAction* actionPtr( const TQString& sAction ); - const KAccelAction* actionPtr( const TQString& sAction ) const; - KAccelAction* actionPtr( KKeySequence cut ); - KAccelAction& operator []( uint ); - const KAccelAction& operator []( uint ) const; - - KAccelAction* insert( const TQString& sAction, const TQString& sLabel, const TQString& sWhatsThis, - const KShortcut& rgCutDefaults3, const KShortcut& rgCutDefaults4, - const TQObject* pObjSlot = 0, const char* psMethodSlot = 0, - bool bConfigurable = true, bool bEnabled = true ); - KAccelAction* insert( const TQString& sName, const TQString& sLabel ); - bool remove( const TQString& sAction ); - - bool readActions( const TQString& sConfigGroup = "Shortcuts", KConfigBase* pConfig = 0 ); - bool writeActions( const TQString& sConfigGroup = "Shortcuts", KConfigBase* pConfig = 0, - bool bWriteAll = false, bool bGlobal = false ) const; - - void emitKeycodeChanged(); - - uint count() const; - - protected: - KAccelBase* m_pKAccelBase; - KAccelAction** m_prgActions; - uint m_nSizeAllocated, m_nSize; - - void resize( uint ); - void insertPtr( KAccelAction* ); - - private: - class KAccelActionsPrivate* d; - - KAccelActions( KAccelBase* ); - void initPrivate( KAccelBase* ); - KAccelActions& operator =( KAccelActions& ); - - friend class KAccelBase; -}; - -#endif // _KACCELACTION_H diff --git a/python/pykde/extra/kde301/kaccelbase.h b/python/pykde/extra/kde301/kaccelbase.h deleted file mode 100644 index cd764bc3..00000000 --- a/python/pykde/extra/kde301/kaccelbase.h +++ /dev/null @@ -1,233 +0,0 @@ -/* This file is part of the KDE libraries - Copyright (C) 2001 Ellis Whitehead - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. -*/ - -#ifndef _KACCELBASE_H -#define _KACCELBASE_H - -#include -#include -#include -#include -#include - -#include "kaccelaction.h" -#include "kkeyserver_x11.h" - -class TQPopupMenu; -class TQWidget; - -//---------------------------------------------------- - -class KAccelBasePrivate; -/** - * Handle keyboard accelerators. - * - * Allow an user to configure - * key bindings through application configuration files or through the - * @ref KKeyChooser GUI. - * - * A @ref KAccel contains a list of accelerator items. Each accelerator item - * consists of an action name and a keyboard code combined with modifiers - * (Shift, Ctrl and Alt.) - * - * For example, "Ctrl+P" could be a shortcut for printing a document. The key - * codes are listed in ckey.h. "Print" could be the action name for printing. - * The action name identifies the key binding in configuration files and the - * @ref KKeyChooser GUI. - * - * When pressed, an accelerator key calls the slot to which it has been - * connected. Accelerator items can be connected so that a key will activate - * two different slots. - * - * A KAccel object handles key events sent to its parent widget and to all - * children of this parent widget. - * - * Key binding reconfiguration during run time can be prevented by specifying - * that an accelerator item is not configurable when it is inserted. A special - * group of non-configurable key bindings are known as the - * standard accelerators. - * - * The standard accelerators appear repeatedly in applications for - * standard document actions such as printing and saving. Convenience methods are - * available to insert and connect these accelerators which are configurable on - * a desktop-wide basis. - * - * It is possible for a user to choose to have no key associated with - * an action. - * - * The translated first argument for @ref insertItem() is used only - * in the configuration dialog. - *
- * KAccel *a = new KAccel( myWindow );
- * // Insert an action "Scroll Up" which is associated with the "Up" key:
- * a->insertItem( i18n("Scroll up"), "Scroll Up", "Up" );
- * // Insert an action "Scroll Down" which is not associated with any key:
- * a->insertItem( i18n("Scroll down"), "Scroll Down", 0);
- * a->connectItem( "Scroll up", myWindow, TQT_SLOT( scrollUp() ) );
- * // a->insertStdItem( KStdAccel::Print ); //not necessary, since it
- *	// is done automatially with the
- *	// connect below!
- * a->connectItem(KStdAccel::Print, myWindow, TQT_SLOT( printDoc() ) );
- *
- * a->readSettings();
- *
- * - * If a shortcut has a menu entry as well, you could insert them like - * this. The example is again the @ref KStdAccel::Print from above. - * - *
- * int id;
- * id = popup->insertItem("&Print",this, TQT_SLOT(printDoc()));
- * a->changeMenuAccel(popup, id, KStdAccel::Print );
- * 
- * - * If you want a somewhat "exotic" name for your standard print action, like - * id = popup->insertItem(i18n("Print &Document"),this, TQT_SLOT(printDoc())); - * it might be a good idea to insert the standard action before as - * a->insertStdItem( KStdAccel::Print, i18n("Print Document") ) - * as well, so that the user can easily find the corresponding function. - * - * This technique works for other actions as well. Your "scroll up" function - * in a menu could be done with - * - *
- *    id = popup->insertItem(i18n"Scroll &up",this, TQT_SLOT(scrollUp()));
- *    a->changeMenuAccel(popup, id, "Scroll Up" );
- * 
- * - * Please keep the order right: First insert all functions in the - * acceleratior, then call a -> @ref readSettings() and @em then build your - * menu structure. - * - * @short Configurable key binding support. - * @version $Id: kaccelbase.h,v 1.20 2002/03/03 21:20:25 lunakl Exp $ - */ - -class KAccelBase -{ - public: - enum Init { QT_KEYS = 0x00, NATIVE_KEYS = 0x01 }; - enum Signal { KEYCODE_CHANGED }; - - KAccelBase( int fInitCode ); - virtual ~KAccelBase(); - - uint actionCount() const; - KAccelActions& actions(); - bool isEnabled() const; - - KAccelAction* actionPtr( const TQString& sAction ); - const KAccelAction* actionPtr( const TQString& sAction ) const; - KAccelAction* actionPtr( const KKey& key ); - KAccelAction* actionPtr( const KKeyServer::Key& key ); - - const TQString& configGroup() const { return m_sConfigGroup; } - void setConfigGroup( const TQString& group ); - void setConfigGlobal( bool global ); - virtual void setEnabled( bool bEnabled ) = 0; - bool getAutoUpdate() { return m_bAutoUpdate; } - // return value of AutoUpdate flag before this call. - bool setAutoUpdate( bool bAuto ); - -// Procedures for manipulating Actions. - //void clearActions(); - - KAccelAction* insert( const TQString& sName, const TQString& sDesc ); - KAccelAction* insert( - const TQString& sAction, const TQString& sDesc, const TQString& sHelp, - const KShortcut& rgCutDefaults3, const KShortcut& rgCutDefaults4, - const TQObject* pObjSlot, const char* psMethodSlot, - bool bConfigurable = true, bool bEnabled = true ); - bool remove( const TQString& sAction ); - bool setActionSlot( const TQString& sAction, const TQObject* pObjSlot, const char* psMethodSlot ); - - bool updateConnections(); - - bool setShortcut( const TQString& sAction, const KShortcut& cut ); - -// Modify individual Action sub-items - bool setActionEnabled( const TQString& sAction, bool bEnable ); - - /** - * Read all key associations from @p config, or (if @p config - * is zero) from the application's configuration file - * @ref KGlobal::config(). - * - * The group in which the configuration is stored can be - * set with @ref setConfigGroup(). - */ - void readSettings( KConfigBase* pConfig = 0 ); - - /** - * Write the current configurable associations to @p config, - * or (if @p config is zero) to the application's - * configuration file. - */ - void writeSettings( KConfigBase* pConfig = 0 ) const; - - TQPopupMenu* createPopupMenu( TQWidget* pParent, const KKeySequence& ); - - // Protected methods - protected: - void slotRemoveAction( KAccelAction* ); - - void createKeyList( TQValueVector& rgKeys ); - bool insertConnection( KAccelAction* ); - bool removeConnection( KAccelAction* ); - - virtual bool emitSignal( Signal ) = 0; - virtual bool connectKey( KAccelAction&, const KKeyServer::Key& ) = 0; - virtual bool connectKey( const KKeyServer::Key& ) = 0; - virtual bool disconnectKey( KAccelAction&, const KKeyServer::Key& ) = 0; - virtual bool disconnectKey( const KKeyServer::Key& ) = 0; - - protected: - struct ActionInfo - { - KAccelAction* pAction; - uint iSeq, iVariation; - //ActionInfo* pInfoNext; // nil if only one action uses this key. - - ActionInfo() { pAction = 0; iSeq = 0xffff; iVariation = 0xffff; } - ActionInfo( KAccelAction* _pAction, uint _iSeq, uint _iVariation ) - { pAction = _pAction; iSeq = _iSeq; iVariation = _iVariation; } - }; - typedef TQMap KKeyToActionMap; - - KAccelActions m_rgActions; - KKeyToActionMap m_mapKeyToAction; - TQValueList m_rgActionsNonUnique; - bool m_bNativeKeys; // Use native key codes instead of Qt codes - bool m_bEnabled; - bool m_bConfigIsGlobal; - TQString m_sConfigGroup; - bool m_bAutoUpdate; - KAccelAction* mtemp_pActionRemoving; - - private: - KAccelBase& operator =( const KAccelBase& ); - - friend class KAccelActions; - protected: - virtual void virtual_hook( int id, void* data ); - private: - KAccelBasePrivate* d; -}; - -#endif // _KACCELBASE_H diff --git a/python/pykde/extra/kde301/kicontheme.h b/python/pykde/extra/kde301/kicontheme.h deleted file mode 100644 index 29666371..00000000 --- a/python/pykde/extra/kde301/kicontheme.h +++ /dev/null @@ -1,217 +0,0 @@ -/* vi: ts=8 sts=4 sw=4 - * - * $Id: kicontheme.h,v 1.19 2002/03/05 23:13:26 rich Exp $ - * - * This file is part of the KDE project, module kdecore. - * Copyright (C) 2000 Geert Jansen - * Antonio Larrosa - * - * This is free software; it comes under the GNU Library General - * Public License, version 2. See the file "COPYING.LIB" for the - * exact licensing terms. - * - */ - -#ifndef __KIconTheme_h_Included__ -#define __KIconTheme_h_Included__ - -#include -#include -#include - -class KConfig; -//class KIconThemeDir; - -class KIconThemePrivate; - -class KIconPrivate; - -/** - * One icon as found by KIconTheme. Also serves as a namespace containing - * icon related constants. - */ -class KIcon -{ -public: - KIcon() { size = 0; } - - /** - * Return true if this icon is valid, false otherwise. - */ - bool isValid() const { return size != 0; } - - enum Context { Any, Action, Application, Device, FileSystem, MimeType }; - enum Type { Fixed, Scalable, Threshold }; - enum MatchType { MatchExact, MatchBest }; - // if you add a group here, make sure to change the config reading in - // KIconLoader too - enum Group { NoGroup=-1, Desktop=0, FirstGroup=Desktop, Toolbar, - MainToolbar, Small, Panel, LastGroup, User }; - enum StdSizes { SizeSmall=16, SizeMedium=32, SizeLarge=48 }; - enum States { DefaultState, ActiveState, DisabledState, LastState }; - enum Overlays { LockOverlay=0x100, ZipOverlay=0x200, LinkOverlay=0x400, - HiddenOverlay=0x800, OverlayMask = ~0xff }; - - /** - * The size in pixels of the icon. - */ - int size; - - /** - * The context of the icon. - */ - Context context; - - /** - * The type of the icon: Fixed, Scalable or Threshold. - **/ - Type type; - - /** - * The threshold in case type == Threshold - */ - int threshold; - - /** - * The full path of the icon. - */ - TQString path; - -private: - KIconPrivate *d; -}; - -inline KIcon::Group& operator++(KIcon::Group& group) { group = static_cast(group+1); return group; } -inline KIcon::Group operator++(KIcon::Group& group,int) { KIcon::Group ret = group; ++group; return ret; } - -/** - * Class to use/access icon themes in KDE. This class is used by the - * iconloader but can be used by others too. - */ -class KIconTheme -{ -public: - /** - * Load an icon theme by name. - */ - KIconTheme(const TQString& name, const TQString& appName=TQString::null); - ~KIconTheme(); - - /** - * The stylized name of the icon theme. - */ - TQString name() const { return mName; } - - /** - * A description for the icon theme. - */ - TQString description() const { return mDesc; } - - /** - * Return the name of the "example" icon. - */ - TQString example() const; - - /** - * Return the name of the screenshot. - */ - TQString screenshot() const; - - /** - * Returns the name of this theme's link overlay. - */ - TQString linkOverlay() const; - - /** - * Returns the name of this theme's zip overlay. - */ - TQString zipOverlay() const; - - /** - * Returns the name of this theme's lock overlay. - */ - TQString lockOverlay() const; - - /** - * Returns the toplevel theme directory. - */ - TQString dir() const { return mDir; } - - /** - * The themes this icon theme falls back on. - */ - TQStringList inherits() const { return mInherits; } - - /** - * The icon theme exists? - */ - bool isValid() const; - - /** - * The minimum display depth required for this theme. This can either - * be 8 or 32. - */ - int depth() const { return mDepth; } - - /** - * The default size of this theme for a certain icon group. - * @param group The icon group. See @ref #KIcon::Group. - * @return The default size in pixels for the given icon group. - */ - int defaultSize(KIcon::Group group) const; - - /** - * Query available sizes for a group. - */ - TQValueList querySizes(KIcon::Group group) const; - - /** - * Query available icons for a size and context. - */ - TQStringList queryIcons(int size, KIcon::Context context = KIcon::Any) const; - - /** - * Query available icons for a context and preferred size. - */ - TQStringList queryIconsByContext(int size, KIcon::Context context = KIcon::Any) const; - - - /** - * Lookup an icon in the theme. - * @param name The name of the icon, without extension. - * @param size The desired size of the icon. - * @param match The matching mode. KIcon::MatchExact returns an icon - * only if matches exactly. KIcon::MatchBest returns the best matching - * icon. - * @return A KIcon class that describes the icon. If an icon is found, - * @ref #KIcon::isValid will return true, and false otherwise. - */ - KIcon iconPath(const TQString& name, int size, KIcon::MatchType match) const; - - /** - * List all icon themes installed on the system, global and local. - */ - static TQStringList list(); - - /** - * Returns the current icon theme. - */ - static TQString current(); - - static void reconfigure(); - -private: - int mDefSize[8]; - TQValueList mSizes[8]; - - int mDepth; - TQString mDir, mName, mDesc; - TQStringList mInherits; -// TQPtrList mDirs; - KIconThemePrivate *d; - - static TQString *_theme; - static TQStringList *_theme_list; -}; - -#endif diff --git a/python/pykde/extra/kde301/kkeyserver_x11.h b/python/pykde/extra/kde301/kkeyserver_x11.h deleted file mode 100644 index 279dbd7d..00000000 --- a/python/pykde/extra/kde301/kkeyserver_x11.h +++ /dev/null @@ -1,131 +0,0 @@ -#ifndef _KKEYSERVER_X11_H -#define _KKEYSERVER_X11_H - -#include "kshortcut.h" -#include "kkeynative.h" - -namespace KKeyServer -{ - struct CodeMod { int code, mod; }; - - struct Sym - { - public: - uint m_sym; - - Sym() - { m_sym = 0; } - Sym( uint sym ) - { m_sym = sym; } - Sym( const TQString& s ) - { init( s ); } - - bool initQt( int keyQt ); - bool init( const TQString& ); - - int qt() const; - TQString toStringInternal() const; - TQString toString() const; - - uint getModsRequired() const; - uint getSymVariation() const; - - operator uint() const { return m_sym; } - Sym& operator =( uint sym ) { m_sym = sym; return *this; } - - private: - TQString toString( bool bUserSpace ) const; - - static void capitalizeKeyname( TQString& ); - }; - - struct Key - { - enum { CODE_FOR_QT = 256 }; - - uint m_code; - uint m_mod; - uint m_sym; - - bool init( const KKey& key, bool bQt ); - - bool isNative() const { return m_code != CODE_FOR_QT; } - - uint code() const { return m_code; } - uint mod() const { return m_mod; } - uint sym() const { return m_sym; } - int keyCodeQt() const { return (int) m_sym; } - - void setKeycodeQt( int keyQt ) - { m_code = CODE_FOR_QT; m_sym = keyQt; } - - Key& operator =( const KKeyNative& key ); - int compare( const Key& ) const; - - bool operator ==( const Key& b ) const - { return compare( b ) == 0; } - bool operator <( const Key& b ) const - { return compare( b ) < 0; } - - KKey key() const; - }; - - struct Variations - { - enum { MAX_VARIATIONS = 4 }; - - Key m_rgkey[MAX_VARIATIONS]; - uint m_nVariations; - - Variations() { m_nVariations = 0; } - - void init( const KKey&, bool bQt ); - - uint count() const { return m_nVariations; } - const Key& key( uint i ) const { return m_rgkey[i]; } - }; - - bool initializeMods(); - - /** - * Returns the equivalent X modifier mask of the given modifier flag. - */ - uint modX( KKey::ModFlag ); - /** - * Returns true if the current keyboard layout supports the Win key. - * Specifically, whether the Super or Meta keys are assigned to an X modifier. - */ - bool keyboardHasWinKey(); - uint modXShift(); - uint modXLock(); - uint modXCtrl(); - uint modXAlt(); - uint modXNumLock(); - uint modXWin(); - uint modXScrollLock(); - /** - * Returns bitwise OR'ed mask containing Shift, Ctrl, Alt, and - * Win (if available). - */ - uint accelModMaskX(); - - bool keyQtToSym( int keyQt, uint& sym ); - bool keyQtToMod( int keyQt, uint& mod ); - bool symToKeyQt( uint sym, int& keyQt ); - - bool modToModQt( uint mod, int& modQt ); - bool modToModX( uint mod, uint& modX ); - bool modXToModQt( uint modX, int& modQt ); - bool modXToMod( uint modX, uint& mod ); - - bool codeXToSym( uchar codeX, uint modX, uint& symX ); - - TQString modToStringInternal( uint mod ); - TQString modToStringUser( uint mod ); - - bool stringToSymMod( const TQString&, uint& sym, uint& mod ); - - void keyQtToKeyX( uint keyCombQt, unsigned char *pKeyCodeX, uint *pKeySymX, uint *pKeyModX ); -}; - -#endif // !_KKEYSERVER_X11_H diff --git a/python/pykde/extra/kde301/konsole_part.h b/python/pykde/extra/kde301/konsole_part.h deleted file mode 100644 index 6aba7064..00000000 --- a/python/pykde/extra/kde301/konsole_part.h +++ /dev/null @@ -1,223 +0,0 @@ -/* - This file is part of the KDE system - Copyright (C) 1999,2000 Boloni Laszlo - - This program is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. - */ - -#ifndef __KONSOLE_PART_H__ -#define __KONSOLE_PART_H__ - -#include -#include - - -#include - -#include - -//#include "schema.h" -//#include "session.h" - -class KInstance; -class konsoleBrowserExtension; -class TQPushButton; -class TQSpinBox; -class KPopupMenu; -class TQCheckBox; -class KRootPixmap; -class KToggleAction; -class KSelectAction; - -namespace KParts { class GUIActivateEvent; } - -class konsoleFactory : public KParts::Factory -{ - Q_OBJECT -public: - konsoleFactory(); - virtual ~konsoleFactory(); - - virtual KParts::Part* createPartObject(TQWidget *parentWidget = 0, const char *widgetName = 0, - TQObject* parent = 0, const char* name = 0, - const char* classname = "KParts::Part", - const TQStringList &args = TQStringList()); - - static KInstance *instance(); - - private: - static KInstance *s_instance; - static KAboutData *s_aboutData; -}; - -////////////////////////////////////////////////////////////////////// - -class konsolePart: public KParts::ReadOnlyPart, public TerminalInterface -{ - Q_OBJECT - public: - konsolePart(TQWidget *parentWidget, const char *widgetName, TQObject * parent, const char *name, const char *classname = 0); - virtual ~konsolePart(); - -signals: - void processExited(); - void receivedData( const TQString& s ); - protected: - virtual bool openURL( const KURL & url ); - virtual bool openFile() {return false;} // never used - virtual bool closeURL() {return true;} - virtual void guiActivateEvent( KParts::GUIActivateEvent * event ); - - protected slots: - void showShell(); - void slotProcessExited(); - void slotReceivedData( const TQString& s ); - -// void doneSession(TESession*); - void sessionDestroyed(); -// void configureRequest(TEWidget*,int,int x,int y); - void updateTitle(); - void enableMasterModeConnections(); - - private slots: - void emitOpenURLRequest(const TQString &url); - - void readProperties(); - void saveProperties(); - - void sendSignal(int n); - void closeCurrentSession(); - - void notifySize(int,int); - - void slotToggleFrame(); - void slotSelectScrollbar(); - void slotSelectFont(); - void schema_menu_check(); - void keytab_menu_activated(int item); - void updateSchemaMenu(); - void setSchema(int n); - void pixmap_menu_activated(int item); - void schema_menu_activated(int item); - void slotHistoryType(); - void slotSelectBell(); - void slotSelectLineSpacing(); - void slotBlinkingCursor(); - void slotWordSeps(); - void fontNotFound(); - - private: - konsoleBrowserExtension *m_extension; - KURL currentURL; - - void makeGUI(); - void applySettingsToGUI(); - - void setFont(int fontno); -// void setSchema(ColorSchema* s); - void updateKeytabMenu(); - - bool doOpenStream( const TQString& ); - bool doWriteStream( const TQByteArray& ); - bool doCloseStream(); - - TQWidget* parentWidget; -// TEWidget* te; -// TESession* se; -// ColorSchemaList* colors; - KRootPixmap* rootxpm; - - KToggleAction* blinkingCursor; - KToggleAction* showFrame; - - KSelectAction* selectBell; - KSelectAction* selectFont; - KSelectAction* selectLineSpacing; - KSelectAction* selectScrollbar; - - KPopupMenu* m_keytab; - KPopupMenu* m_schema; - KPopupMenu* m_signals; - KPopupMenu* m_options; - KPopupMenu* m_popupMenu; - - TQFont defaultFont; - - TQString pmPath; // pixmap path - TQString s_schema; - TQString s_kconfigSchema; - TQString s_word_seps; // characters that are considered part of a word - TQString fontNotFound_par; - - bool b_framevis:1; - bool b_histEnabled:1; - - int curr_schema; // current schema no - int n_bell; - int n_font; - int n_keytab; - int n_render; - int n_scroll; - unsigned m_histSize; - bool m_runningShell; - bool m_streamEnabled; -public: - // these are the implementations for the TermEmuInterface - // functions... - void startProgram( const TQString& program, - const TQStrList& args ); - void showShellInDir( const TQString& dir ); - void sendInput( const TQString& text ); -}; - -////////////////////////////////////////////////////////////////////// - -/*class HistoryTypeDialog : public KDialogBase -{ - Q_OBJECT -public: - HistoryTypeDialog(const HistoryType& histType, - unsigned int histSize, - TQWidget *parent); - -public slots: - void slotDefault(); - void slotSetUnlimited(); - void slotHistEnable(bool); - - unsigned int nbLines() const; - bool isOn() const; - -protected: - TQCheckBox* m_btnEnable; - TQSpinBox* m_size; - TQPushButton* m_setUnlimited; -};*/ - -////////////////////////////////////////////////////////////////////// - -class konsoleBrowserExtension : public KParts::BrowserExtension -{ - Q_OBJECT - friend class konsolePart; - public: - konsoleBrowserExtension(konsolePart *parent); - virtual ~konsoleBrowserExtension(); - - void emitOpenURLRequest(const KURL &url); -}; - -#endif diff --git a/python/pykde/extra/kde301/krecentdirs.h b/python/pykde/extra/kde301/krecentdirs.h deleted file mode 100644 index 61a50706..00000000 --- a/python/pykde/extra/kde301/krecentdirs.h +++ /dev/null @@ -1,68 +0,0 @@ -/* -*- c++ -*- - * Copyright (C)2000 Waldo Bastian - * - * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * - * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND - * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE - * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS - * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) - * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT - * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY - * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF - * SUCH DAMAGE. - * - */ -#ifndef __KRECENTDIRS_H -#define __KRECENTDIRS_H - -#include - -/** - * The goal of this class is to make sure that, when the user needs to - * specify a file via the file selection dialog, this dialog will start - * in the directory most likely to contain the desired files. - * - * This works as follows: Each time the file selection dialog is - * shown, the programmer can specify a "file-class". The file-dialog will - * then start with the directory associated with this file-class. When - * the dialog closes, the directory currently shown in the file-dialog - * will be associated with the file-class. - * - * A file-class can either start with ':' or with '::'. If it starts with - * a single ':' the file-class is specific to the current application. - * If the file-class starts with '::' it is global to all applications. - */ -class KRecentDirs -{ -public: - /** - * Returns a list of directories associated with this file-class. - * The most recently used directory is at the front of the list. - */ - static TQStringList list(const TQString &fileClass); - - /** - * Returns the most recently used directory accociated with this file-class. - */ - static TQString dir(const TQString &fileClass); - - /** - * Associates @p directory with @p fileClass - */ - static void add(const TQString &fileClass, const TQString &directory); -}; - -#endif diff --git a/python/pykde/extra/kde301/ksycocafactory.h b/python/pykde/extra/kde301/ksycocafactory.h deleted file mode 100644 index ff1d43cb..00000000 --- a/python/pykde/extra/kde301/ksycocafactory.h +++ /dev/null @@ -1,135 +0,0 @@ -/* This file is part of the KDE libraries - * Copyright (C) 1999 Waldo Bastian - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License version 2 as published by the Free Software Foundation; - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public License - * along with this library; see the file COPYING.LIB. If not, write to - * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - * Boston, MA 02110-1301, USA. - **/ - -#ifndef __ksycocafactory_h__ -#define __ksycocafactory_h__ "$Id: ksycocafactory.h,v 1.12 2002/03/03 21:20:26 lunakl Exp $" - -#include "ksycocatype.h" -#include "ksycocaentry.h" - -#include -#include -class KSycoca; -class TQStringList; -class TQString; -class KSycocaDict; -class KSycocaResourceList; - -typedef TQDict KSycocaEntryDict; - -/** - * @internal - * Base class for sycoca factories - */ -class KSycocaFactory -{ -public: - virtual KSycocaFactoryId factoryId() const = 0; - -protected: // virtual class - /** - * Create a factory which can be used to lookup from/create a database - * (depending on KSycoca::isBuilding()) - */ - KSycocaFactory( KSycocaFactoryId factory_id ); - -public: - virtual ~KSycocaFactory(); - - /** - * @return the position of the factory in the sycoca file - */ - int offset() { return mOffset; } - - /** - * @return the dict, for special use by KBuildSycoca - */ - KSycocaEntryDict * entryDict() { return m_entryDict; } - - /** - * Construct an entry from a config file. - * To be implemented in the real factories. - */ - virtual KSycocaEntry *createEntry(const TQString &file, const char *resource) = 0; - - /** - * Add an entry - */ - virtual void addEntry(KSycocaEntry *newEntry, const char *resource); - - /** - * Read an entry from the database - */ - virtual KSycocaEntry *createEntry(int offset)=0; - - /** - * Get a list of all entries from the database. - */ - KSycocaEntry::List allEntries(); - - /** - * Saves all entries it maintains as well as index files - * for these entries to the stream 'str'. - * - * Also sets mOffset to the starting position. - * - * The stream is positioned at the end of the last index. - * - * Don't forget to call the parent first when you override - * this function. - */ - virtual void save(TQDataStream &str); - - /** - * Writes out a header to the stream 'str'. - * The baseclass positions the stream correctly. - * - * Don't forget to call the parent first when you override - * this function. - */ - virtual void saveHeader(TQDataStream &str); - - /** - * @return the resources for which this factory is responsible. - */ - virtual const KSycocaResourceList * resourceList() const { return m_resourceList; } - -private: - int mOffset; - -protected: - int m_sycocaDictOffset; - int m_beginEntryOffset; - int m_endEntryOffset; - TQDataStream *m_str; - - KSycocaResourceList *m_resourceList; - KSycocaEntryDict *m_entryDict; - KSycocaDict *m_sycocaDict; -protected: - virtual void virtual_hook( int id, void* data ); -}; - -// This, instead of a typedef, allows to declare "class ..." in header files -class KSycocaFactoryList : public TQPtrList -{ -public: - KSycocaFactoryList() { } -}; - -#endif diff --git a/python/pykde/extra/kde301/ktoolbarbutton.h b/python/pykde/extra/kde301/ktoolbarbutton.h deleted file mode 100644 index 112be544..00000000 --- a/python/pykde/extra/kde301/ktoolbarbutton.h +++ /dev/null @@ -1,313 +0,0 @@ -/* This file is part of the KDE libraries - Copyright (C) 1997, 1998 Stephan Kulow (coolo@kde.org) - (C) 1997, 1998 Sven Radej (radej@kde.org) - (C) 1997, 1998 Mark Donohoe (donohoe@kde.org) - (C) 1997, 1998 Matthias Ettrich (ettrich@kde.org) - (C) 2000 Kurt Granroth (granroth@kde.org) - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License version 2 as published by the Free Software Foundation. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. -*/ - -// $Id: ktoolbarbutton.h,v 1.21.2.1 2002/04/28 20:59:16 wtrobin Exp $ -#ifndef _KTOOLBARBUTTON_H -#define _KTOOLBARBUTTON_H - -#include -#include -#include -#include -#include - -class KToolBar; -class KToolBarButtonPrivate; -class KInstance; -class TQEvent; -class TQPopupMenu; -class TQPainter; - -/** - * A toolbar button. This is used internally by @ref KToolBar, use the - * KToolBar methods instead. - * @internal - */ -class KToolBarButton : public QToolButton -{ - Q_OBJECT - -public: - /** - * Construct a button with an icon loaded by the button itself. - * This will trust the button to load the correct icon with the - * correct size. - * - * @param icon Name of icon to load (may be absolute or relative) - * @param id Id of this button - * @param parent This button's parent - * @param name This button's internal name - * @param txt This button's text (in a tooltip or otherwise) - */ - KToolBarButton(const TQString& icon, int id, TQWidget *parent, - const char *name=0L, const TQString &txt=TQString::null, - KInstance *_instance = KGlobal::instance()); - - /** - * Construct a button with an existing pixmap. It is not - * recommended that you use this as the internal icon loading code - * will almost always get it "right". - * - * @param icon Name of icon to load (may be absolute or relative) - * @param id Id of this button - * @param parent This button's parent - * @param name This button's internal name - * @param txt This button's text (in a tooltip or otherwise) - */ - KToolBarButton(const TQPixmap& pixmap, int id, TQWidget *parent, - const char *name=0L, const TQString &txt=TQString::null); - - /** - * Construct a separator button - * - * @param parent This button's parent - * @param name This button's internal name - */ - KToolBarButton(TQWidget *parent=0L, const char *name=0L); - - /** - * Standard destructor - */ - ~KToolBarButton(); - -#ifndef KDE_NO_COMPAT - /** - * @deprecated - * Set the pixmap directly for this button. This pixmap should be - * the active one... the dimmed and disabled pixmaps are constructed - * based on this one. However, don't use this function unless you - * are positive that you don't want to use @ref setIcon. - * - * @param pixmap The active pixmap - */ - // this one is from TQButton, so #ifdef-ing it out doesn't break BC - virtual void setPixmap(const TQPixmap &pixmap); - - /** - * @deprecated - * Force the button to use this pixmap as the default one rather - * then generating it using effects. - * - * @param pixmap The pixmap to use as the default (normal) one - */ - void setDefaultPixmap(const TQPixmap& pixmap); - - /** - * @deprecated - * Force the button to use this pixmap when disabled one rather then - * generating it using effects. - * - * @param pixmap The pixmap to use when disabled - */ - void setDisabledPixmap(const TQPixmap& pixmap); -#endif - - /** - * Set the text for this button. The text will be either used as a - * tooltip (IconOnly) or will be along side the icon - * - * @param text The button (or tooltip) text - */ - virtual void setText(const TQString &text); - - /** - * Set the icon for this button. The icon will be loaded internally - * with the correct size. This function is preferred over @ref setIconSet - * - * @param icon The name of the icon - */ - virtual void setIcon(const TQString &icon); - - virtual void setIcon( const TQPixmap &pixmap ) - { return TQToolButton::setIcon( pixmap ); } - - /** - * Set the pixmaps for this toolbar button from a TQIconSet. - * If you call this you don't need to call any of the other methods - * that set icons or pixmaps. - * @param iconset The iconset to use - */ - virtual void setIconSet( const TQIconSet &iconset ); - -#ifndef KDE_NO_COMPAT - /** - * @deprecated - * Set the active icon for this button. The pixmap itself is loaded - * internally based on the icon size... .. the disabled and default - * pixmaps, however will only be constructed if @ref #generate is - * true. This function is preferred over @ref setPixmap - * - * @param icon The name of the active icon - * @param generate If true, then the other icons are automagically - * generated from this one - */ - void setIcon(const TQString &icon, bool /*generate*/ ) { setIcon( icon ); } - - /** - * @deprecated - * Force the button to use this icon as the default one rather - * then generating it using effects. - * - * @param icon The icon to use as the default (normal) one - */ - void setDefaultIcon(const TQString& icon); - - /** - * @deprecated - * Force the button to use this icon when disabled one rather then - * generating it using effects. - * - * @param icon The icon to use when disabled - */ - void setDisabledIcon(const TQString& icon); -#endif - - /** - * Turn this button on or off - * - * @param flag true or false - */ - void on(bool flag = true); - - /** - * Toggle this button - */ - void toggle(); - - /** - * Turn this button into a toggle button or disable the toggle - * aspects of it. This does not toggle the button itself. Use @ref - * toggle for that. - * - * @param toggle true or false - */ - void setToggle(bool toggle = true); - - /** - * Return a pointer to this button's popup menu (if it exists) - */ - TQPopupMenu *popup(); - - /** - * Give this button a popup menu. There will not be a delay when - * you press the button. Use @ref setDelayedPopup if you want that - * behavior. You can also make the popup-menu - * "sticky", i.e. visible until a selection is made or the mouse is - * clikced elsewhere, by simply setting the second argument to true. - * This "sticky" button feature allows you to make a selection without - * having to press and hold down the mouse while making a selection. - * - * @param p The new popup menu - * @param toggle if true, makes the button "sticky" (toggled) - */ - void setPopup (TQPopupMenu *p, bool toggle = false); - - /** - * Gives this button a delayed popup menu. - * - * This function allows you to add a delayed popup menu to the button. - * The popup menu is then only displayed when the button is pressed and - * held down for about half a second. You can also make the popup-menu - * "sticky", i.e. visible until a selection is made or the mouse is - * clikced elsewhere, by simply setting the second argument to true. - * This "sticky" button feature allows you to make a selection without - * having to press and hold down the mouse while making a selection. - * - * @param p the new popup menu - * @param toggle if true, makes the button "sticky" (toggled) - */ - void setDelayedPopup(TQPopupMenu *p, bool toggle = false); - - /** - * Turn this button into a radio button - * - * @param f true or false - */ - void setRadio(bool f = true); - - /** - * Toolbar buttons naturally will assume the global styles - * concerning icons, icons sizes, etc. You can use this function to - * explicitely turn this off, if you like. - * - * @param no_style Will disable styles if true - */ - void setNoStyle(bool no_style = true); - -signals: - void clicked(int); - void doubleClicked(int); - void pressed(int); - void released(int); - void toggled(int); - void highlighted(int, bool); - -public slots: - /** - * This slot should be called whenever the toolbar mode has - * potentially changed. This includes such events as text changing, - * orientation changing, etc. - */ - void modeChange(); - virtual void setTextLabel(const TQString&, bool tipToo); - -protected: - void paletteChange(const TQPalette &); - void leaveEvent(TQEvent *e); - void enterEvent(TQEvent *e); - void drawButton(TQPainter *p); - bool eventFilter (TQObject *o, TQEvent *e); - void showMenu(); - TQSize sizeHint() const; - TQSize minimumSizeHint() const; - TQSize minimumSize() const; - - bool isRaised() const; - bool isActive() const; - int iconTextMode() const; - -protected slots: - void slotClicked(); - void slotPressed(); - void slotReleased(); - void slotToggled(); - void slotDelayTimeout(); - -protected: - virtual void virtual_hook( int id, void* data ); -private: - KToolBarButtonPrivate *d; -}; - -/** -* List of @ref KToolBarButton objects. -* @internal -* @version $Id: ktoolbarbutton.h,v 1.21.2.1 2002/04/28 20:59:16 wtrobin Exp $ -*/ -class KToolBarButtonList : public TQIntDict -{ -public: - KToolBarButtonList(); - ~KToolBarButtonList() {} -}; - -#endif diff --git a/python/pykde/extra/kde301/kurifilter.h b/python/pykde/extra/kde301/kurifilter.h deleted file mode 100644 index 24e09985..00000000 --- a/python/pykde/extra/kde301/kurifilter.h +++ /dev/null @@ -1,593 +0,0 @@ -/* - * This file is part of the KDE libraries - * Copyright (C) 2000 Yves Arrouye - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public License - * along with this library; see the file COPYING.LIB. If not, write to - * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - * Boston, MA 02110-1301, USA. - **/ - -#ifndef __kurifilter_h__ -#define __kurifilter_h__ "$Id: kurifilter.h,v 1.23 2002/03/04 04:17:37 lunakl Exp $" - -#include -#include - -#include - -class KURIFilterPrivate; -class KURIFilterDataPrivate; - -class TQStringList; -class KCModule; - -/** -* This is a basic message object used for exchanging filtering -* information between the filter plugins and the application -* whenever the application requires more information about the -* URI than just a filtered version of it. Any application can -* create an instance of this class and send it to @ref KURIFilter -* to have the filter plugins fill the necessary information. -* -* @sect Example -*
-*   TQString text = "kde.org";
-*   KURIFilterData d = text;
-*   bool filtered = KURIFilter::self()->filter( d );
-*   if( filtered )
-*     print ( "URI: %s\n"Filtered URI: %s\n URI Type: %i\n"Was Filtered: %i"
-*             text.latin1(), d.uri().url().latin1(), d.uriType(), filtered );
-* 
-* -* The above code should yield the following output: -*
-*   URI: kde.org
-*   Filtered URI: http://kde.org
-*   URI Type: 0            <== means NET_PROTOCOL
-*   Was Filtered: 1        <== means the URL was successfully filtered
-* 
-* -* @short A message object for exchanging filtering URI info. -*/ - -class KURIFilterData -{ -friend class KURIFilterPlugin; - -public: - /** - * Describes the type of URI to be filtered. - * - * This enumerator prvoides the return value for - * @ref uriType. A breif description for each value: - * - * @li NET_PROTOCOL - Any network protocol: http, ftp, nttp, pop3, etc... - * @li LOCAL_FILE - A local file whose executable flag is not set - * @li LOCAL_DIR - A local directory - * @li EXECUTABLE - A local file whose executable flag is set - * @li HELP - A man or info page - * @li SHELL - A shell executable (ex: echo "Test..." >> ~/testfile) - * @li BLOCKED - A URI that should be blocked/filtered (ex: ad filtering) - * @li ERROR - An incorrect URI (ex: "~johndoe" when user johndoe - * does not exist in that system ) - * @li UNKNOWN - A URI that is not identified. Default value when - * a KURIFilterData is first created. - */ - enum URITypes { NET_PROTOCOL=0, LOCAL_FILE, LOCAL_DIR, EXECUTABLE, HELP, SHELL, BLOCKED, ERROR, UNKNOWN }; - - /** - * Default constructor. - * - * Creates a URIFilterData object. - */ - KURIFilterData() { init(); } - - /** - * Creates a URIFilterData object from the given URL. - * - * @param url is the URL to be filtered. - */ - KURIFilterData( const KURL& url ) { init( url); } - - /** - * Creates a URIFilterData object from the given string. - * - * @param url is the string to be filtered. - */ - KURIFilterData( const TQString& url ) { init( url ); } - - /** - * Copy constructor. - * - * Creates a URIFilterData object from another - * URI filter data object. - * - * @param data the uri filter data to be copied. - */ - KURIFilterData( const KURIFilterData& /*data*/); - - /** - * Destructor. - */ - ~KURIFilterData(); - - /** - * This method has been deprecated and will always return - * TRUE. You should instead use the result from the - * @ref KURIFilter::filterURI() calls. - * - * @deprecated - */ - bool hasBeenFiltered() const { return m_bFiltered; } - - /** - * Returns the filtered or the original URL. - * - * This function returns the filtered url if one - * of the plugins sucessfully filtered the original - * URL. Otherwise, it returns the original URL. - * See @ref #hasBeenFiltered() and - * - * @return the filtered or original url. - */ - KURL uri() const { return m_pURI; } - - /** - * Returns an error message. - * - * This functions returns the error message set - * by the plugin whenever the uri type is set to - * KURIFilterData::ERROR. Otherwise, it returns - * a TQString::null. - * - * @return the error message or a NULL when there is none. - */ - TQString errorMsg() const { return m_strErrMsg; } - - /** - * Returns the URI type. - * - * This method always returns KURIFilterData::UNKNOWN - * if the given URL was not filtered. - */ - URITypes uriType() const { return m_iType; } - - /** - * Sets the URL to be filtered. - * - * Use this function to set the string to be - * filtered when you construct an empty filter - * object. - * - * @param url the string to be filtered. - */ - void setData( const TQString& url ) { init( url ); } - - /** - * Same as above except the argument is a URL. - * - * Use this function to set the string to be - * filtered when you construct an empty filter - * object. - * - * @param url the URL to be filtered. - */ - void setData( const KURL& url ) { init( url ); } - - /** - * Sets the absolute path to be used whenever the supplied - * data is a relative local URL. - * - * NOTE: This function works only for a local resource and - * expects the absolute path to the relative URL set in this - * meta object. If you are extracting the absolute path from - * a KURL object, make sure you always set the argument below - * using KURL::path() instead of KURL::url() so that "file:/" - * would not be appended! Otherwise, the filter might not be - * able to make correct determination whether the relative URL - * locally exists! - * - * @param abs_path the abolute path to the local resource. - * @return true if absolute path is successfully set. Otherwise, false. - */ - bool setAbsolutePath( const TQString& /* abs_path */ ); - - /** - * Returns the absolute path if one has already been set. - */ - TQString absolutePath() const; - - /** - * Returns true if the supplied data has an absolute path. - */ - bool hasAbsolutePath() const; - - /** - * Returns the command line options and arguments for a - * local resource when present. - * - * @return options and arguments when present, otherwise TQString::null - */ - TQString argsAndOptions() const; - - /** - * Returns true if the current data is a local resource with - * command line options and arguments. - */ - bool hasArgsAndOptions() const; - - /** - * Returns the name of the icon that matches - * the current filtered URL. - * - * NOTE that this function will return a NULL - * string by default and when no associated icon - * is found. - * - * @return the name of the icon associated with the resource - */ - TQString iconName(); - - /** - * Overloaded assigenment operator. - * - * This function allows you to easily assign a KURL - * to a KURIFilterData object. - * - * @return an instance of a KURIFilterData object. - */ - KURIFilterData& operator=( const KURL& url ) { init( url ); return *this; } - - /** - * Overloaded assigenment operator. - * - * This function allows you to easily assign a QString - * to a KURIFilterData object. - * - * @return an instance of a KURIFilterData object. - */ - KURIFilterData& operator=( const TQString& url ) { init( url ); return *this; } - -protected: - - /** - * Initializes the KURIFilterData on construction. - */ - void init( const KURL& url = TQString::null ); - -private: - bool m_bFiltered; - bool m_bChanged; - - TQString m_strErrMsg; - TQString m_strIconName; - - KURL m_pURI; - URITypes m_iType; - KURIFilterDataPrivate *d; -}; - - -/** - * Base class for URI filter plugins. - * - * This class applies a single filter to a URI. All - * plugins designed to provide URI filtering functionalities - * should inherit from this abstract class and provide a - * specific filtering implementation. - * - * All inheriting classes need to implement the pure - * virtual function @ref filterURI. Otherwise, they - * would also become abstract. - * - * @short Abstract class for URI filter plugins. - */ -class KURIFilterPlugin : public QObject -{ - Q_OBJECT - -public: - - /** - * Constructs a filter plugin with a given name and - * priority. - * - * @param parent the parent object. - * @param name the name of the plugin. - * @param pri the priority of the plugin. - */ - KURIFilterPlugin( TQObject *parent = 0, const char *name = 0, double pri = 1.0 ); - - /** - * Returns the filter's name. - * - * @return A string naming the filter. - */ - virtual TQString name() const { return m_strName; } - - /** - * Returns the filter's priority. - * - * Each filter has an assigned priority, a float from 0 to 1. Filters - * with the lowest priority are first given a chance to filter a URI. - * - * @return The priority of the filter. - */ - virtual double priority() const { return m_dblPriority; } - - /** - * Filters a URI. - * - * @param data the URI data to be filtered. - * @return A boolean indicating whether the URI has been changed. - */ - virtual bool filterURI( KURIFilterData& data ) const = 0; - - /** - * Creates a configuration module for the filter. - * - * It is the responsability of the caller to delete the module - * once it is not needed anymore. - * - * @return A configuration module, @p null if the filter isn't configurable. - */ - virtual KCModule *configModule( TQWidget*, const char* ) const { return 0; } - - /** - * Returns the name of the configuration module for the filter. - * - * @return the name of a configuration module or @p null if none. - */ - virtual TQString configName() const { return name(); } - -protected: - - /** - * Sets the the URL in @p data to @p uri. - */ - void setFilteredURI ( KURIFilterData& data, const KURL& uri ) const; - - /** - * Sets the error message in @p data to @p errormsg. - */ - void setErrorMsg ( KURIFilterData& data, const TQString& errmsg ) const { - data.m_strErrMsg = errmsg; - } - - /** - * Sets the URI type in @p data to @p type. - */ - void setURIType ( KURIFilterData& data, KURIFilterData::URITypes type) const { - data.m_iType = type; - data.m_bChanged = true; - } - - /** - * Sets the arguments and options string in @p data - * to @p args if any were found during filterting. - */ - void setArguments( KURIFilterData& data, const TQString& args ) const; - - TQString m_strName; - double m_dblPriority; - -protected: - virtual void virtual_hook( int id, void* data ); -private: - class KURIFilterPluginPrivate *d; -}; - - -class KURIFilterPluginList : public TQPtrList -{ -public: - virtual int compareItems(Item a, Item b) - { - double diff = ((KURIFilterPlugin *) a)->priority() - ((KURIFilterPlugin *) b)->priority(); - return diff < 0 ? -1 : (diff > 0 ? 1 : 0); - } - -private: - KURIFilterPrivate *d; - -}; - -/** - * Manages the filtering of a URI. - * - * The intention of this plugin class is to allow people to extend - * the functionality of KURL without modifying it directly. This - * way KURL will remain a generic parser capable of parsing any - * generic URL that adheres to specifications. - * - * The KURIFilter class applies a number of filters to a URI, - * and returns the filtered version whenever possible. The filters - * are implemented using plugins to provide easy extensibility - * of the filtering mechanism. That is, new filters can be added in - * the future by simply inheriting from @ref KURIFilterPlugin and - * implementing the @ref KURIFilterPlugin::filterURI method. - * - * Use of this plugin-manager class is straight forward. Since - * it is a singleton object, all you have to do is obtain an instance - * by doing @p KURIFilter::self() and use any of the public member - * functions to preform the filtering. - * - * @sect Example - * - * To simply filter a given string: - *
- * bool filtered = KURIFilter::self()->filterURI( "kde.org" );
- * 
- * - * You can alternatively use a KURL: - *
- * KURL url = "kde.org";
- * bool filtered = KURIFilter::self()->filterURI( url );
- * 
- * - * If you have a constant string or a constant URL, - * simply invoke the corresponding function to obtain - * the filtered string or URL instead of a boolean flag: - *
- * TQString u = KURIFilter::self()->filteredURI( "kde.org" );
- * 
- * - * You can also specify only specific filter(s) to be applied - * by supplying the name(s) of the filter(s). By defualt all - * filters that are found are loaded when the KURIFilter object - * is created will be used. These names are taken from the - * enteries in the \".desktop\" files. Here are a couple of - * examples: - *
- * TQString text = "kde.org";
- * bool filtered = KURIFilter::self()->filterURI( text, "KShortURIFilter" );
- *
- * TQStringList list;
- * list << "KShortURIFilter" << "MyFilter";
- * bool filtered = KURIFilter::self()->filterURI( text, list );
- * 
- * - * KURIFilter also allows richer data exchange through a simple - * meta-object called @p KURIFilterData. Using this meta-object - * you can find out more information about the URL you want to - * filter. See @ref KURIFilterData for examples and details. - * - * @short Filters a given URL into its proper format whenever possible. - */ - -class KURIFilter -{ -public: - /** - * Destructor - */ - ~KURIFilter (); - - /** - * Return a static instance of KURIFilter. - */ - static KURIFilter* self(); - - /** - * Filters the URI given by the object URIFilterData. - * - * This filters the given data based on the specified - * filter list. If the list is empty all avaliable - * filter plugins would be used. If not, only those - * given in the list are used. - * - * @param data object that contains the URI to be filtered. - * @param filters specify the list filters to be used - * - * @return a boolean indicating whether the URI has been changed - */ - bool filterURI( KURIFilterData& data, const TQStringList& filters = TQStringList() ); - - /** - * Filters the URI given by the URL. - * - * This filters the given URL based on the specified - * filter list. If the list is empty all avaliable - * filter plugins would be used. If not, only those - * given in the list are used. - * - * @param uri the URI to filter. - * @param filters specify the list of filters to be used - * - * @return a boolean indicating whether the URI has been changed - */ - bool filterURI( KURL &uri, const TQStringList& filters = TQStringList() ); - - /** - * Filters a string representing a URI. - * - * This filters the given string based on the specified - * filter list. If the list is empty all avaliable - * filter plugins would be used. If not, only those - * given in the list are used. - * - * @param uri The URI to filter. - * @param filters specify the list filters to be used - * - * @return a boolean indicating whether the URI has been changed - */ - bool filterURI( TQString &uri, const TQStringList& filters = TQStringList() ); - - /** - * Returns the filtered URI. - * - * This filters the given URL based on the specified - * filter list. If the list is empty all avaliable - * filter plugins would be used. If not, only those - * given in the list are used. - * - * @param uri The URI to filter. - * @param filters specify the list filters to be used - * - * @return the filtered URI or null if it cannot be filtered - */ - KURL filteredURI( const KURL &uri, const TQStringList& filters = TQStringList() ); - - /** - * Return a filtered string representation of a URI. - * - * This filters the given URL based on the specified - * filter list. If the list is empty all avaliable - * filter plugins would be used. If not, only those - * given in the list are used. - * - * @param uri the URI to filter. - * @param filters specify the list filters to be used - * - * @return the filtered URI or null if it cannot be filtered - */ - TQString filteredURI( const TQString &uri, const TQStringList& filters = TQStringList() ); - - /** - * Return an iterator to iterate over all loaded - * plugins. - * - * @return a plugin iterator. - */ - TQPtrListIterator pluginsIterator() const; - -protected: - - /** - * A protected constructor. - * - * This constructor creates a KURIFilter and - * initializes all plugins it can find by invoking - * @ref loadPlugins. - */ - KURIFilter(); - - /** - * Loads all allowed plugins. - * - * This function loads all filters that have not - * been dis - */ - void loadPlugins(); - -private: - - static KURIFilter *m_self; - KURIFilterPluginList m_lstPlugins; - KURIFilterPrivate *d; - -}; - -#endif - diff --git a/python/pykde/extra/kde303/kaccelaction.h b/python/pykde/extra/kde303/kaccelaction.h deleted file mode 100644 index c1e53f5a..00000000 --- a/python/pykde/extra/kde303/kaccelaction.h +++ /dev/null @@ -1,202 +0,0 @@ -/* This file is part of the KDE libraries - Copyright (C) 2001,2002 Ellis Whitehead - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. -*/ - -#ifndef _KACCELACTION_H -#define _KACCELACTION_H - -#include -#include -#include -#include - -#include - -class KAccelBase; - -class TQObject; -class KConfig; -class KConfigBase; - -/* - KAccelAction holds information an a given action, such as "Execute Command" - - 1) KAccelAction = "Execute Command" - Default3 = "Alt+F2" - Default4 = "Meta+Enter;Alt+F2" - 1) KShortcut = "Meta+Enter" - 1) KKeySequence = "Meta+Enter" - 1) KKey = "Meta+Enter" - 1) Meta+Enter - 2) Meta+Keypad_Enter - 2) KShortcut = "Alt+F2" - 1) KKeySequence = "Alt+F2" - 1) Alt+F2 - 2) KAccelAction = "Something" - Default3 = "" - Default4 = "" - 1) KShortcut = "Meta+X,Asterisk" - 1) KKeySequence = "Meta+X,Asterisk" - 1) KKey = "Meta+X" - 1) Meta+X - 2) KKey = "Asterisk" - 1) Shift+8 (English layout) - 2) Keypad_Asterisk -*/ - -//--------------------------------------------------------------------- -// KAccelAction -//--------------------------------------------------------------------- - -class KAccelAction -{ - public: - KAccelAction(); - KAccelAction( const KAccelAction& ); - KAccelAction( const TQString& sName, const TQString& sLabel, const TQString& sWhatsThis, - const KShortcut& cutDef3, const KShortcut& cutDef4, - const TQObject* pObjSlot, const char* psMethodSlot, - bool bConfigurable, bool bEnabled ); - ~KAccelAction(); - - void clear(); - bool init( const TQString& sName, const TQString& sLabel, const TQString& sWhatsThis, - const KShortcut& cutDef3, const KShortcut& cutDef4, - const TQObject* pObjSlot, const char* psMethodSlot, - bool bConfigurable, bool bEnabled ); - - KAccelAction& operator=( const KAccelAction& ); - - const TQString& name() const { return m_sName; } - const TQString& label() const { return m_sLabel; } - const TQString& whatsThis() const { return m_sWhatsThis; } - const KShortcut& shortcut() const { return m_cut; } - const KShortcut& shortcutDefault() const; - const KShortcut& shortcutDefault3() const { return m_cutDefault3; } - const KShortcut& shortcutDefault4() const { return m_cutDefault4; } - const TQObject* objSlotPtr() const { return m_pObjSlot; } - const char* methodSlotPtr() const { return m_psMethodSlot; } - bool isConfigurable() const { return m_bConfigurable; } - bool isEnabled() const { return m_bEnabled; } - - void setName( const TQString& ); - void setLabel( const TQString& ); - void setWhatsThis( const TQString& ); - bool setShortcut( const KShortcut& rgCuts ); - void setSlot( const TQObject* pObjSlot, const char* psMethodSlot ); - void setConfigurable( bool ); - void setEnabled( bool ); - - int getID() const { return m_nIDAccel; } - void setID( int n ) { m_nIDAccel = n; } - bool isConnected() const; - - bool setKeySequence( uint i, const KKeySequence& ); - void clearShortcut(); - bool contains( const KKeySequence& ); - - TQString toString() const; - TQString toStringInternal() const; - - static bool useFourModifierKeys(); - static void useFourModifierKeys( bool ); - - protected: - TQString m_sName, - m_sLabel, - m_sWhatsThis; - KShortcut m_cut; - KShortcut m_cutDefault3, m_cutDefault4; - const TQObject* m_pObjSlot; - const char* m_psMethodSlot; - bool m_bConfigurable, - m_bEnabled; - int m_nIDAccel; - uint m_nConnections; - - void incConnections(); - void decConnections(); - - private: - static int g_bUseFourModifierKeys; - class KAccelActionPrivate* d; - - friend class KAccelActions; - friend class KAccelBase; -}; - -//--------------------------------------------------------------------- -// KAccelActions -//--------------------------------------------------------------------- - -class KAccelActions -{ - public: - KAccelActions(); - KAccelActions( const KAccelActions& ); - virtual ~KAccelActions(); - - void clear(); - bool init( const KAccelActions& ); - bool init( KConfigBase& config, const TQString& sGroup ); - - void updateShortcuts( KAccelActions& ); - - int actionIndex( const TQString& sAction ) const; - KAccelAction* actionPtr( uint ); - const KAccelAction* actionPtr( uint ) const; - KAccelAction* actionPtr( const TQString& sAction ); - const KAccelAction* actionPtr( const TQString& sAction ) const; - KAccelAction* actionPtr( KKeySequence cut ); - KAccelAction& operator []( uint ); - const KAccelAction& operator []( uint ) const; - - KAccelAction* insert( const TQString& sAction, const TQString& sLabel, const TQString& sWhatsThis, - const KShortcut& rgCutDefaults3, const KShortcut& rgCutDefaults4, - const TQObject* pObjSlot = 0, const char* psMethodSlot = 0, - bool bConfigurable = true, bool bEnabled = true ); - KAccelAction* insert( const TQString& sName, const TQString& sLabel ); - bool remove( const TQString& sAction ); - - bool readActions( const TQString& sConfigGroup = "Shortcuts", KConfigBase* pConfig = 0 ); - bool writeActions( const TQString& sConfigGroup = "Shortcuts", KConfigBase* pConfig = 0, - bool bWriteAll = false, bool bGlobal = false ) const; - - void emitKeycodeChanged(); - - uint count() const; - - protected: - KAccelBase* m_pKAccelBase; - KAccelAction** m_prgActions; - uint m_nSizeAllocated, m_nSize; - - void resize( uint ); - void insertPtr( KAccelAction* ); - - private: - class KAccelActionsPrivate* d; - - KAccelActions( KAccelBase* ); - void initPrivate( KAccelBase* ); - KAccelActions& operator =( KAccelActions& ); - - friend class KAccelBase; -}; - -#endif // _KACCELACTION_H diff --git a/python/pykde/extra/kde303/kaccelbase.h b/python/pykde/extra/kde303/kaccelbase.h deleted file mode 100644 index cd764bc3..00000000 --- a/python/pykde/extra/kde303/kaccelbase.h +++ /dev/null @@ -1,233 +0,0 @@ -/* This file is part of the KDE libraries - Copyright (C) 2001 Ellis Whitehead - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. -*/ - -#ifndef _KACCELBASE_H -#define _KACCELBASE_H - -#include -#include -#include -#include -#include - -#include "kaccelaction.h" -#include "kkeyserver_x11.h" - -class TQPopupMenu; -class TQWidget; - -//---------------------------------------------------- - -class KAccelBasePrivate; -/** - * Handle keyboard accelerators. - * - * Allow an user to configure - * key bindings through application configuration files or through the - * @ref KKeyChooser GUI. - * - * A @ref KAccel contains a list of accelerator items. Each accelerator item - * consists of an action name and a keyboard code combined with modifiers - * (Shift, Ctrl and Alt.) - * - * For example, "Ctrl+P" could be a shortcut for printing a document. The key - * codes are listed in ckey.h. "Print" could be the action name for printing. - * The action name identifies the key binding in configuration files and the - * @ref KKeyChooser GUI. - * - * When pressed, an accelerator key calls the slot to which it has been - * connected. Accelerator items can be connected so that a key will activate - * two different slots. - * - * A KAccel object handles key events sent to its parent widget and to all - * children of this parent widget. - * - * Key binding reconfiguration during run time can be prevented by specifying - * that an accelerator item is not configurable when it is inserted. A special - * group of non-configurable key bindings are known as the - * standard accelerators. - * - * The standard accelerators appear repeatedly in applications for - * standard document actions such as printing and saving. Convenience methods are - * available to insert and connect these accelerators which are configurable on - * a desktop-wide basis. - * - * It is possible for a user to choose to have no key associated with - * an action. - * - * The translated first argument for @ref insertItem() is used only - * in the configuration dialog. - *
- * KAccel *a = new KAccel( myWindow );
- * // Insert an action "Scroll Up" which is associated with the "Up" key:
- * a->insertItem( i18n("Scroll up"), "Scroll Up", "Up" );
- * // Insert an action "Scroll Down" which is not associated with any key:
- * a->insertItem( i18n("Scroll down"), "Scroll Down", 0);
- * a->connectItem( "Scroll up", myWindow, TQT_SLOT( scrollUp() ) );
- * // a->insertStdItem( KStdAccel::Print ); //not necessary, since it
- *	// is done automatially with the
- *	// connect below!
- * a->connectItem(KStdAccel::Print, myWindow, TQT_SLOT( printDoc() ) );
- *
- * a->readSettings();
- *
- * - * If a shortcut has a menu entry as well, you could insert them like - * this. The example is again the @ref KStdAccel::Print from above. - * - *
- * int id;
- * id = popup->insertItem("&Print",this, TQT_SLOT(printDoc()));
- * a->changeMenuAccel(popup, id, KStdAccel::Print );
- * 
- * - * If you want a somewhat "exotic" name for your standard print action, like - * id = popup->insertItem(i18n("Print &Document"),this, TQT_SLOT(printDoc())); - * it might be a good idea to insert the standard action before as - * a->insertStdItem( KStdAccel::Print, i18n("Print Document") ) - * as well, so that the user can easily find the corresponding function. - * - * This technique works for other actions as well. Your "scroll up" function - * in a menu could be done with - * - *
- *    id = popup->insertItem(i18n"Scroll &up",this, TQT_SLOT(scrollUp()));
- *    a->changeMenuAccel(popup, id, "Scroll Up" );
- * 
- * - * Please keep the order right: First insert all functions in the - * acceleratior, then call a -> @ref readSettings() and @em then build your - * menu structure. - * - * @short Configurable key binding support. - * @version $Id: kaccelbase.h,v 1.20 2002/03/03 21:20:25 lunakl Exp $ - */ - -class KAccelBase -{ - public: - enum Init { QT_KEYS = 0x00, NATIVE_KEYS = 0x01 }; - enum Signal { KEYCODE_CHANGED }; - - KAccelBase( int fInitCode ); - virtual ~KAccelBase(); - - uint actionCount() const; - KAccelActions& actions(); - bool isEnabled() const; - - KAccelAction* actionPtr( const TQString& sAction ); - const KAccelAction* actionPtr( const TQString& sAction ) const; - KAccelAction* actionPtr( const KKey& key ); - KAccelAction* actionPtr( const KKeyServer::Key& key ); - - const TQString& configGroup() const { return m_sConfigGroup; } - void setConfigGroup( const TQString& group ); - void setConfigGlobal( bool global ); - virtual void setEnabled( bool bEnabled ) = 0; - bool getAutoUpdate() { return m_bAutoUpdate; } - // return value of AutoUpdate flag before this call. - bool setAutoUpdate( bool bAuto ); - -// Procedures for manipulating Actions. - //void clearActions(); - - KAccelAction* insert( const TQString& sName, const TQString& sDesc ); - KAccelAction* insert( - const TQString& sAction, const TQString& sDesc, const TQString& sHelp, - const KShortcut& rgCutDefaults3, const KShortcut& rgCutDefaults4, - const TQObject* pObjSlot, const char* psMethodSlot, - bool bConfigurable = true, bool bEnabled = true ); - bool remove( const TQString& sAction ); - bool setActionSlot( const TQString& sAction, const TQObject* pObjSlot, const char* psMethodSlot ); - - bool updateConnections(); - - bool setShortcut( const TQString& sAction, const KShortcut& cut ); - -// Modify individual Action sub-items - bool setActionEnabled( const TQString& sAction, bool bEnable ); - - /** - * Read all key associations from @p config, or (if @p config - * is zero) from the application's configuration file - * @ref KGlobal::config(). - * - * The group in which the configuration is stored can be - * set with @ref setConfigGroup(). - */ - void readSettings( KConfigBase* pConfig = 0 ); - - /** - * Write the current configurable associations to @p config, - * or (if @p config is zero) to the application's - * configuration file. - */ - void writeSettings( KConfigBase* pConfig = 0 ) const; - - TQPopupMenu* createPopupMenu( TQWidget* pParent, const KKeySequence& ); - - // Protected methods - protected: - void slotRemoveAction( KAccelAction* ); - - void createKeyList( TQValueVector& rgKeys ); - bool insertConnection( KAccelAction* ); - bool removeConnection( KAccelAction* ); - - virtual bool emitSignal( Signal ) = 0; - virtual bool connectKey( KAccelAction&, const KKeyServer::Key& ) = 0; - virtual bool connectKey( const KKeyServer::Key& ) = 0; - virtual bool disconnectKey( KAccelAction&, const KKeyServer::Key& ) = 0; - virtual bool disconnectKey( const KKeyServer::Key& ) = 0; - - protected: - struct ActionInfo - { - KAccelAction* pAction; - uint iSeq, iVariation; - //ActionInfo* pInfoNext; // nil if only one action uses this key. - - ActionInfo() { pAction = 0; iSeq = 0xffff; iVariation = 0xffff; } - ActionInfo( KAccelAction* _pAction, uint _iSeq, uint _iVariation ) - { pAction = _pAction; iSeq = _iSeq; iVariation = _iVariation; } - }; - typedef TQMap KKeyToActionMap; - - KAccelActions m_rgActions; - KKeyToActionMap m_mapKeyToAction; - TQValueList m_rgActionsNonUnique; - bool m_bNativeKeys; // Use native key codes instead of Qt codes - bool m_bEnabled; - bool m_bConfigIsGlobal; - TQString m_sConfigGroup; - bool m_bAutoUpdate; - KAccelAction* mtemp_pActionRemoving; - - private: - KAccelBase& operator =( const KAccelBase& ); - - friend class KAccelActions; - protected: - virtual void virtual_hook( int id, void* data ); - private: - KAccelBasePrivate* d; -}; - -#endif // _KACCELBASE_H diff --git a/python/pykde/extra/kde303/kicontheme.h b/python/pykde/extra/kde303/kicontheme.h deleted file mode 100644 index 29666371..00000000 --- a/python/pykde/extra/kde303/kicontheme.h +++ /dev/null @@ -1,217 +0,0 @@ -/* vi: ts=8 sts=4 sw=4 - * - * $Id: kicontheme.h,v 1.19 2002/03/05 23:13:26 rich Exp $ - * - * This file is part of the KDE project, module kdecore. - * Copyright (C) 2000 Geert Jansen - * Antonio Larrosa - * - * This is free software; it comes under the GNU Library General - * Public License, version 2. See the file "COPYING.LIB" for the - * exact licensing terms. - * - */ - -#ifndef __KIconTheme_h_Included__ -#define __KIconTheme_h_Included__ - -#include -#include -#include - -class KConfig; -//class KIconThemeDir; - -class KIconThemePrivate; - -class KIconPrivate; - -/** - * One icon as found by KIconTheme. Also serves as a namespace containing - * icon related constants. - */ -class KIcon -{ -public: - KIcon() { size = 0; } - - /** - * Return true if this icon is valid, false otherwise. - */ - bool isValid() const { return size != 0; } - - enum Context { Any, Action, Application, Device, FileSystem, MimeType }; - enum Type { Fixed, Scalable, Threshold }; - enum MatchType { MatchExact, MatchBest }; - // if you add a group here, make sure to change the config reading in - // KIconLoader too - enum Group { NoGroup=-1, Desktop=0, FirstGroup=Desktop, Toolbar, - MainToolbar, Small, Panel, LastGroup, User }; - enum StdSizes { SizeSmall=16, SizeMedium=32, SizeLarge=48 }; - enum States { DefaultState, ActiveState, DisabledState, LastState }; - enum Overlays { LockOverlay=0x100, ZipOverlay=0x200, LinkOverlay=0x400, - HiddenOverlay=0x800, OverlayMask = ~0xff }; - - /** - * The size in pixels of the icon. - */ - int size; - - /** - * The context of the icon. - */ - Context context; - - /** - * The type of the icon: Fixed, Scalable or Threshold. - **/ - Type type; - - /** - * The threshold in case type == Threshold - */ - int threshold; - - /** - * The full path of the icon. - */ - TQString path; - -private: - KIconPrivate *d; -}; - -inline KIcon::Group& operator++(KIcon::Group& group) { group = static_cast(group+1); return group; } -inline KIcon::Group operator++(KIcon::Group& group,int) { KIcon::Group ret = group; ++group; return ret; } - -/** - * Class to use/access icon themes in KDE. This class is used by the - * iconloader but can be used by others too. - */ -class KIconTheme -{ -public: - /** - * Load an icon theme by name. - */ - KIconTheme(const TQString& name, const TQString& appName=TQString::null); - ~KIconTheme(); - - /** - * The stylized name of the icon theme. - */ - TQString name() const { return mName; } - - /** - * A description for the icon theme. - */ - TQString description() const { return mDesc; } - - /** - * Return the name of the "example" icon. - */ - TQString example() const; - - /** - * Return the name of the screenshot. - */ - TQString screenshot() const; - - /** - * Returns the name of this theme's link overlay. - */ - TQString linkOverlay() const; - - /** - * Returns the name of this theme's zip overlay. - */ - TQString zipOverlay() const; - - /** - * Returns the name of this theme's lock overlay. - */ - TQString lockOverlay() const; - - /** - * Returns the toplevel theme directory. - */ - TQString dir() const { return mDir; } - - /** - * The themes this icon theme falls back on. - */ - TQStringList inherits() const { return mInherits; } - - /** - * The icon theme exists? - */ - bool isValid() const; - - /** - * The minimum display depth required for this theme. This can either - * be 8 or 32. - */ - int depth() const { return mDepth; } - - /** - * The default size of this theme for a certain icon group. - * @param group The icon group. See @ref #KIcon::Group. - * @return The default size in pixels for the given icon group. - */ - int defaultSize(KIcon::Group group) const; - - /** - * Query available sizes for a group. - */ - TQValueList querySizes(KIcon::Group group) const; - - /** - * Query available icons for a size and context. - */ - TQStringList queryIcons(int size, KIcon::Context context = KIcon::Any) const; - - /** - * Query available icons for a context and preferred size. - */ - TQStringList queryIconsByContext(int size, KIcon::Context context = KIcon::Any) const; - - - /** - * Lookup an icon in the theme. - * @param name The name of the icon, without extension. - * @param size The desired size of the icon. - * @param match The matching mode. KIcon::MatchExact returns an icon - * only if matches exactly. KIcon::MatchBest returns the best matching - * icon. - * @return A KIcon class that describes the icon. If an icon is found, - * @ref #KIcon::isValid will return true, and false otherwise. - */ - KIcon iconPath(const TQString& name, int size, KIcon::MatchType match) const; - - /** - * List all icon themes installed on the system, global and local. - */ - static TQStringList list(); - - /** - * Returns the current icon theme. - */ - static TQString current(); - - static void reconfigure(); - -private: - int mDefSize[8]; - TQValueList mSizes[8]; - - int mDepth; - TQString mDir, mName, mDesc; - TQStringList mInherits; -// TQPtrList mDirs; - KIconThemePrivate *d; - - static TQString *_theme; - static TQStringList *_theme_list; -}; - -#endif diff --git a/python/pykde/extra/kde303/kkeyserver_x11.h b/python/pykde/extra/kde303/kkeyserver_x11.h deleted file mode 100644 index 279dbd7d..00000000 --- a/python/pykde/extra/kde303/kkeyserver_x11.h +++ /dev/null @@ -1,131 +0,0 @@ -#ifndef _KKEYSERVER_X11_H -#define _KKEYSERVER_X11_H - -#include "kshortcut.h" -#include "kkeynative.h" - -namespace KKeyServer -{ - struct CodeMod { int code, mod; }; - - struct Sym - { - public: - uint m_sym; - - Sym() - { m_sym = 0; } - Sym( uint sym ) - { m_sym = sym; } - Sym( const TQString& s ) - { init( s ); } - - bool initQt( int keyQt ); - bool init( const TQString& ); - - int qt() const; - TQString toStringInternal() const; - TQString toString() const; - - uint getModsRequired() const; - uint getSymVariation() const; - - operator uint() const { return m_sym; } - Sym& operator =( uint sym ) { m_sym = sym; return *this; } - - private: - TQString toString( bool bUserSpace ) const; - - static void capitalizeKeyname( TQString& ); - }; - - struct Key - { - enum { CODE_FOR_QT = 256 }; - - uint m_code; - uint m_mod; - uint m_sym; - - bool init( const KKey& key, bool bQt ); - - bool isNative() const { return m_code != CODE_FOR_QT; } - - uint code() const { return m_code; } - uint mod() const { return m_mod; } - uint sym() const { return m_sym; } - int keyCodeQt() const { return (int) m_sym; } - - void setKeycodeQt( int keyQt ) - { m_code = CODE_FOR_QT; m_sym = keyQt; } - - Key& operator =( const KKeyNative& key ); - int compare( const Key& ) const; - - bool operator ==( const Key& b ) const - { return compare( b ) == 0; } - bool operator <( const Key& b ) const - { return compare( b ) < 0; } - - KKey key() const; - }; - - struct Variations - { - enum { MAX_VARIATIONS = 4 }; - - Key m_rgkey[MAX_VARIATIONS]; - uint m_nVariations; - - Variations() { m_nVariations = 0; } - - void init( const KKey&, bool bQt ); - - uint count() const { return m_nVariations; } - const Key& key( uint i ) const { return m_rgkey[i]; } - }; - - bool initializeMods(); - - /** - * Returns the equivalent X modifier mask of the given modifier flag. - */ - uint modX( KKey::ModFlag ); - /** - * Returns true if the current keyboard layout supports the Win key. - * Specifically, whether the Super or Meta keys are assigned to an X modifier. - */ - bool keyboardHasWinKey(); - uint modXShift(); - uint modXLock(); - uint modXCtrl(); - uint modXAlt(); - uint modXNumLock(); - uint modXWin(); - uint modXScrollLock(); - /** - * Returns bitwise OR'ed mask containing Shift, Ctrl, Alt, and - * Win (if available). - */ - uint accelModMaskX(); - - bool keyQtToSym( int keyQt, uint& sym ); - bool keyQtToMod( int keyQt, uint& mod ); - bool symToKeyQt( uint sym, int& keyQt ); - - bool modToModQt( uint mod, int& modQt ); - bool modToModX( uint mod, uint& modX ); - bool modXToModQt( uint modX, int& modQt ); - bool modXToMod( uint modX, uint& mod ); - - bool codeXToSym( uchar codeX, uint modX, uint& symX ); - - TQString modToStringInternal( uint mod ); - TQString modToStringUser( uint mod ); - - bool stringToSymMod( const TQString&, uint& sym, uint& mod ); - - void keyQtToKeyX( uint keyCombQt, unsigned char *pKeyCodeX, uint *pKeySymX, uint *pKeyModX ); -}; - -#endif // !_KKEYSERVER_X11_H diff --git a/python/pykde/extra/kde303/konsole_part.h b/python/pykde/extra/kde303/konsole_part.h deleted file mode 100644 index 6aba7064..00000000 --- a/python/pykde/extra/kde303/konsole_part.h +++ /dev/null @@ -1,223 +0,0 @@ -/* - This file is part of the KDE system - Copyright (C) 1999,2000 Boloni Laszlo - - This program is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. - */ - -#ifndef __KONSOLE_PART_H__ -#define __KONSOLE_PART_H__ - -#include -#include - - -#include - -#include - -//#include "schema.h" -//#include "session.h" - -class KInstance; -class konsoleBrowserExtension; -class TQPushButton; -class TQSpinBox; -class KPopupMenu; -class TQCheckBox; -class KRootPixmap; -class KToggleAction; -class KSelectAction; - -namespace KParts { class GUIActivateEvent; } - -class konsoleFactory : public KParts::Factory -{ - Q_OBJECT -public: - konsoleFactory(); - virtual ~konsoleFactory(); - - virtual KParts::Part* createPartObject(TQWidget *parentWidget = 0, const char *widgetName = 0, - TQObject* parent = 0, const char* name = 0, - const char* classname = "KParts::Part", - const TQStringList &args = TQStringList()); - - static KInstance *instance(); - - private: - static KInstance *s_instance; - static KAboutData *s_aboutData; -}; - -////////////////////////////////////////////////////////////////////// - -class konsolePart: public KParts::ReadOnlyPart, public TerminalInterface -{ - Q_OBJECT - public: - konsolePart(TQWidget *parentWidget, const char *widgetName, TQObject * parent, const char *name, const char *classname = 0); - virtual ~konsolePart(); - -signals: - void processExited(); - void receivedData( const TQString& s ); - protected: - virtual bool openURL( const KURL & url ); - virtual bool openFile() {return false;} // never used - virtual bool closeURL() {return true;} - virtual void guiActivateEvent( KParts::GUIActivateEvent * event ); - - protected slots: - void showShell(); - void slotProcessExited(); - void slotReceivedData( const TQString& s ); - -// void doneSession(TESession*); - void sessionDestroyed(); -// void configureRequest(TEWidget*,int,int x,int y); - void updateTitle(); - void enableMasterModeConnections(); - - private slots: - void emitOpenURLRequest(const TQString &url); - - void readProperties(); - void saveProperties(); - - void sendSignal(int n); - void closeCurrentSession(); - - void notifySize(int,int); - - void slotToggleFrame(); - void slotSelectScrollbar(); - void slotSelectFont(); - void schema_menu_check(); - void keytab_menu_activated(int item); - void updateSchemaMenu(); - void setSchema(int n); - void pixmap_menu_activated(int item); - void schema_menu_activated(int item); - void slotHistoryType(); - void slotSelectBell(); - void slotSelectLineSpacing(); - void slotBlinkingCursor(); - void slotWordSeps(); - void fontNotFound(); - - private: - konsoleBrowserExtension *m_extension; - KURL currentURL; - - void makeGUI(); - void applySettingsToGUI(); - - void setFont(int fontno); -// void setSchema(ColorSchema* s); - void updateKeytabMenu(); - - bool doOpenStream( const TQString& ); - bool doWriteStream( const TQByteArray& ); - bool doCloseStream(); - - TQWidget* parentWidget; -// TEWidget* te; -// TESession* se; -// ColorSchemaList* colors; - KRootPixmap* rootxpm; - - KToggleAction* blinkingCursor; - KToggleAction* showFrame; - - KSelectAction* selectBell; - KSelectAction* selectFont; - KSelectAction* selectLineSpacing; - KSelectAction* selectScrollbar; - - KPopupMenu* m_keytab; - KPopupMenu* m_schema; - KPopupMenu* m_signals; - KPopupMenu* m_options; - KPopupMenu* m_popupMenu; - - TQFont defaultFont; - - TQString pmPath; // pixmap path - TQString s_schema; - TQString s_kconfigSchema; - TQString s_word_seps; // characters that are considered part of a word - TQString fontNotFound_par; - - bool b_framevis:1; - bool b_histEnabled:1; - - int curr_schema; // current schema no - int n_bell; - int n_font; - int n_keytab; - int n_render; - int n_scroll; - unsigned m_histSize; - bool m_runningShell; - bool m_streamEnabled; -public: - // these are the implementations for the TermEmuInterface - // functions... - void startProgram( const TQString& program, - const TQStrList& args ); - void showShellInDir( const TQString& dir ); - void sendInput( const TQString& text ); -}; - -////////////////////////////////////////////////////////////////////// - -/*class HistoryTypeDialog : public KDialogBase -{ - Q_OBJECT -public: - HistoryTypeDialog(const HistoryType& histType, - unsigned int histSize, - TQWidget *parent); - -public slots: - void slotDefault(); - void slotSetUnlimited(); - void slotHistEnable(bool); - - unsigned int nbLines() const; - bool isOn() const; - -protected: - TQCheckBox* m_btnEnable; - TQSpinBox* m_size; - TQPushButton* m_setUnlimited; -};*/ - -////////////////////////////////////////////////////////////////////// - -class konsoleBrowserExtension : public KParts::BrowserExtension -{ - Q_OBJECT - friend class konsolePart; - public: - konsoleBrowserExtension(konsolePart *parent); - virtual ~konsoleBrowserExtension(); - - void emitOpenURLRequest(const KURL &url); -}; - -#endif diff --git a/python/pykde/extra/kde303/krecentdirs.h b/python/pykde/extra/kde303/krecentdirs.h deleted file mode 100644 index 61a50706..00000000 --- a/python/pykde/extra/kde303/krecentdirs.h +++ /dev/null @@ -1,68 +0,0 @@ -/* -*- c++ -*- - * Copyright (C)2000 Waldo Bastian - * - * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * - * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND - * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE - * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS - * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) - * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT - * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY - * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF - * SUCH DAMAGE. - * - */ -#ifndef __KRECENTDIRS_H -#define __KRECENTDIRS_H - -#include - -/** - * The goal of this class is to make sure that, when the user needs to - * specify a file via the file selection dialog, this dialog will start - * in the directory most likely to contain the desired files. - * - * This works as follows: Each time the file selection dialog is - * shown, the programmer can specify a "file-class". The file-dialog will - * then start with the directory associated with this file-class. When - * the dialog closes, the directory currently shown in the file-dialog - * will be associated with the file-class. - * - * A file-class can either start with ':' or with '::'. If it starts with - * a single ':' the file-class is specific to the current application. - * If the file-class starts with '::' it is global to all applications. - */ -class KRecentDirs -{ -public: - /** - * Returns a list of directories associated with this file-class. - * The most recently used directory is at the front of the list. - */ - static TQStringList list(const TQString &fileClass); - - /** - * Returns the most recently used directory accociated with this file-class. - */ - static TQString dir(const TQString &fileClass); - - /** - * Associates @p directory with @p fileClass - */ - static void add(const TQString &fileClass, const TQString &directory); -}; - -#endif diff --git a/python/pykde/extra/kde303/ksycocafactory.h b/python/pykde/extra/kde303/ksycocafactory.h deleted file mode 100644 index ff1d43cb..00000000 --- a/python/pykde/extra/kde303/ksycocafactory.h +++ /dev/null @@ -1,135 +0,0 @@ -/* This file is part of the KDE libraries - * Copyright (C) 1999 Waldo Bastian - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License version 2 as published by the Free Software Foundation; - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public License - * along with this library; see the file COPYING.LIB. If not, write to - * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - * Boston, MA 02110-1301, USA. - **/ - -#ifndef __ksycocafactory_h__ -#define __ksycocafactory_h__ "$Id: ksycocafactory.h,v 1.12 2002/03/03 21:20:26 lunakl Exp $" - -#include "ksycocatype.h" -#include "ksycocaentry.h" - -#include -#include -class KSycoca; -class TQStringList; -class TQString; -class KSycocaDict; -class KSycocaResourceList; - -typedef TQDict KSycocaEntryDict; - -/** - * @internal - * Base class for sycoca factories - */ -class KSycocaFactory -{ -public: - virtual KSycocaFactoryId factoryId() const = 0; - -protected: // virtual class - /** - * Create a factory which can be used to lookup from/create a database - * (depending on KSycoca::isBuilding()) - */ - KSycocaFactory( KSycocaFactoryId factory_id ); - -public: - virtual ~KSycocaFactory(); - - /** - * @return the position of the factory in the sycoca file - */ - int offset() { return mOffset; } - - /** - * @return the dict, for special use by KBuildSycoca - */ - KSycocaEntryDict * entryDict() { return m_entryDict; } - - /** - * Construct an entry from a config file. - * To be implemented in the real factories. - */ - virtual KSycocaEntry *createEntry(const TQString &file, const char *resource) = 0; - - /** - * Add an entry - */ - virtual void addEntry(KSycocaEntry *newEntry, const char *resource); - - /** - * Read an entry from the database - */ - virtual KSycocaEntry *createEntry(int offset)=0; - - /** - * Get a list of all entries from the database. - */ - KSycocaEntry::List allEntries(); - - /** - * Saves all entries it maintains as well as index files - * for these entries to the stream 'str'. - * - * Also sets mOffset to the starting position. - * - * The stream is positioned at the end of the last index. - * - * Don't forget to call the parent first when you override - * this function. - */ - virtual void save(TQDataStream &str); - - /** - * Writes out a header to the stream 'str'. - * The baseclass positions the stream correctly. - * - * Don't forget to call the parent first when you override - * this function. - */ - virtual void saveHeader(TQDataStream &str); - - /** - * @return the resources for which this factory is responsible. - */ - virtual const KSycocaResourceList * resourceList() const { return m_resourceList; } - -private: - int mOffset; - -protected: - int m_sycocaDictOffset; - int m_beginEntryOffset; - int m_endEntryOffset; - TQDataStream *m_str; - - KSycocaResourceList *m_resourceList; - KSycocaEntryDict *m_entryDict; - KSycocaDict *m_sycocaDict; -protected: - virtual void virtual_hook( int id, void* data ); -}; - -// This, instead of a typedef, allows to declare "class ..." in header files -class KSycocaFactoryList : public TQPtrList -{ -public: - KSycocaFactoryList() { } -}; - -#endif diff --git a/python/pykde/extra/kde303/ktoolbarbutton.h b/python/pykde/extra/kde303/ktoolbarbutton.h deleted file mode 100644 index c551a4a0..00000000 --- a/python/pykde/extra/kde303/ktoolbarbutton.h +++ /dev/null @@ -1,313 +0,0 @@ -/* This file is part of the KDE libraries - Copyright (C) 1997, 1998 Stephan Kulow (coolo@kde.org) - (C) 1997, 1998 Sven Radej (radej@kde.org) - (C) 1997, 1998 Mark Donohoe (donohoe@kde.org) - (C) 1997, 1998 Matthias Ettrich (ettrich@kde.org) - (C) 2000 Kurt Granroth (granroth@kde.org) - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License version 2 as published by the Free Software Foundation. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. -*/ - -// $Id: ktoolbarbutton.h,v 1.21.2.2 2002/05/26 13:09:06 carewolf Exp $ -#ifndef _KTOOLBARBUTTON_H -#define _KTOOLBARBUTTON_H - -#include -#include -#include -#include -#include - -class KToolBar; -class KToolBarButtonPrivate; -class KInstance; -class TQEvent; -class TQPopupMenu; -class TQPainter; - -/** - * A toolbar button. This is used internally by @ref KToolBar, use the - * KToolBar methods instead. - * @internal - */ -class KToolBarButton : public QToolButton -{ - Q_OBJECT - -public: - /** - * Construct a button with an icon loaded by the button itself. - * This will trust the button to load the correct icon with the - * correct size. - * - * @param icon Name of icon to load (may be absolute or relative) - * @param id Id of this button - * @param parent This button's parent - * @param name This button's internal name - * @param txt This button's text (in a tooltip or otherwise) - */ - KToolBarButton(const TQString& icon, int id, TQWidget *parent, - const char *name=0L, const TQString &txt=TQString::null, - KInstance *_instance = KGlobal::instance()); - - /** - * Construct a button with an existing pixmap. It is not - * recommended that you use this as the internal icon loading code - * will almost always get it "right". - * - * @param icon Name of icon to load (may be absolute or relative) - * @param id Id of this button - * @param parent This button's parent - * @param name This button's internal name - * @param txt This button's text (in a tooltip or otherwise) - */ - KToolBarButton(const TQPixmap& pixmap, int id, TQWidget *parent, - const char *name=0L, const TQString &txt=TQString::null); - - /** - * Construct a separator button - * - * @param parent This button's parent - * @param name This button's internal name - */ - KToolBarButton(TQWidget *parent=0L, const char *name=0L); - - /** - * Standard destructor - */ - ~KToolBarButton(); - -#ifndef KDE_NO_COMPAT - /** - * @deprecated - * Set the pixmap directly for this button. This pixmap should be - * the active one... the dimmed and disabled pixmaps are constructed - * based on this one. However, don't use this function unless you - * are positive that you don't want to use @ref setIcon. - * - * @param pixmap The active pixmap - */ - // this one is from TQButton, so #ifdef-ing it out doesn't break BC - virtual void setPixmap(const TQPixmap &pixmap); - - /** - * @deprecated - * Force the button to use this pixmap as the default one rather - * then generating it using effects. - * - * @param pixmap The pixmap to use as the default (normal) one - */ - void setDefaultPixmap(const TQPixmap& pixmap); - - /** - * @deprecated - * Force the button to use this pixmap when disabled one rather then - * generating it using effects. - * - * @param pixmap The pixmap to use when disabled - */ - void setDisabledPixmap(const TQPixmap& pixmap); -#endif - - /** - * Set the text for this button. The text will be either used as a - * tooltip (IconOnly) or will be along side the icon - * - * @param text The button (or tooltip) text - */ - virtual void setText(const TQString &text); - - /** - * Set the icon for this button. The icon will be loaded internally - * with the correct size. This function is preferred over @ref setIconSet - * - * @param icon The name of the icon - */ - virtual void setIcon(const TQString &icon); - - virtual void setIcon( const TQPixmap &pixmap ) - { TQToolButton::setIcon( pixmap ); } - - /** - * Set the pixmaps for this toolbar button from a TQIconSet. - * If you call this you don't need to call any of the other methods - * that set icons or pixmaps. - * @param iconset The iconset to use - */ - virtual void setIconSet( const TQIconSet &iconset ); - -#ifndef KDE_NO_COMPAT - /** - * @deprecated - * Set the active icon for this button. The pixmap itself is loaded - * internally based on the icon size... .. the disabled and default - * pixmaps, however will only be constructed if @ref #generate is - * true. This function is preferred over @ref setPixmap - * - * @param icon The name of the active icon - * @param generate If true, then the other icons are automagically - * generated from this one - */ - void setIcon(const TQString &icon, bool /*generate*/ ) { setIcon( icon ); } - - /** - * @deprecated - * Force the button to use this icon as the default one rather - * then generating it using effects. - * - * @param icon The icon to use as the default (normal) one - */ - void setDefaultIcon(const TQString& icon); - - /** - * @deprecated - * Force the button to use this icon when disabled one rather then - * generating it using effects. - * - * @param icon The icon to use when disabled - */ - void setDisabledIcon(const TQString& icon); -#endif - - /** - * Turn this button on or off - * - * @param flag true or false - */ - void on(bool flag = true); - - /** - * Toggle this button - */ - void toggle(); - - /** - * Turn this button into a toggle button or disable the toggle - * aspects of it. This does not toggle the button itself. Use @ref - * toggle for that. - * - * @param toggle true or false - */ - void setToggle(bool toggle = true); - - /** - * Return a pointer to this button's popup menu (if it exists) - */ - TQPopupMenu *popup(); - - /** - * Give this button a popup menu. There will not be a delay when - * you press the button. Use @ref setDelayedPopup if you want that - * behavior. You can also make the popup-menu - * "sticky", i.e. visible until a selection is made or the mouse is - * clikced elsewhere, by simply setting the second argument to true. - * This "sticky" button feature allows you to make a selection without - * having to press and hold down the mouse while making a selection. - * - * @param p The new popup menu - * @param toggle if true, makes the button "sticky" (toggled) - */ - void setPopup (TQPopupMenu *p, bool toggle = false); - - /** - * Gives this button a delayed popup menu. - * - * This function allows you to add a delayed popup menu to the button. - * The popup menu is then only displayed when the button is pressed and - * held down for about half a second. You can also make the popup-menu - * "sticky", i.e. visible until a selection is made or the mouse is - * clikced elsewhere, by simply setting the second argument to true. - * This "sticky" button feature allows you to make a selection without - * having to press and hold down the mouse while making a selection. - * - * @param p the new popup menu - * @param toggle if true, makes the button "sticky" (toggled) - */ - void setDelayedPopup(TQPopupMenu *p, bool toggle = false); - - /** - * Turn this button into a radio button - * - * @param f true or false - */ - void setRadio(bool f = true); - - /** - * Toolbar buttons naturally will assume the global styles - * concerning icons, icons sizes, etc. You can use this function to - * explicitely turn this off, if you like. - * - * @param no_style Will disable styles if true - */ - void setNoStyle(bool no_style = true); - -signals: - void clicked(int); - void doubleClicked(int); - void pressed(int); - void released(int); - void toggled(int); - void highlighted(int, bool); - -public slots: - /** - * This slot should be called whenever the toolbar mode has - * potentially changed. This includes such events as text changing, - * orientation changing, etc. - */ - void modeChange(); - virtual void setTextLabel(const TQString&, bool tipToo); - -protected: - void paletteChange(const TQPalette &); - void leaveEvent(TQEvent *e); - void enterEvent(TQEvent *e); - void drawButton(TQPainter *p); - bool eventFilter (TQObject *o, TQEvent *e); - void showMenu(); - TQSize sizeHint() const; - TQSize minimumSizeHint() const; - TQSize minimumSize() const; - - bool isRaised() const; - bool isActive() const; - int iconTextMode() const; - -protected slots: - void slotClicked(); - void slotPressed(); - void slotReleased(); - void slotToggled(); - void slotDelayTimeout(); - -protected: - virtual void virtual_hook( int id, void* data ); -private: - KToolBarButtonPrivate *d; -}; - -/** -* List of @ref KToolBarButton objects. -* @internal -* @version $Id: ktoolbarbutton.h,v 1.21.2.2 2002/05/26 13:09:06 carewolf Exp $ -*/ -class KToolBarButtonList : public TQIntDict -{ -public: - KToolBarButtonList(); - ~KToolBarButtonList() {} -}; - -#endif diff --git a/python/pykde/extra/kde303/kurifilter.h b/python/pykde/extra/kde303/kurifilter.h deleted file mode 100644 index 24e09985..00000000 --- a/python/pykde/extra/kde303/kurifilter.h +++ /dev/null @@ -1,593 +0,0 @@ -/* - * This file is part of the KDE libraries - * Copyright (C) 2000 Yves Arrouye - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public License - * along with this library; see the file COPYING.LIB. If not, write to - * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - * Boston, MA 02110-1301, USA. - **/ - -#ifndef __kurifilter_h__ -#define __kurifilter_h__ "$Id: kurifilter.h,v 1.23 2002/03/04 04:17:37 lunakl Exp $" - -#include -#include - -#include - -class KURIFilterPrivate; -class KURIFilterDataPrivate; - -class TQStringList; -class KCModule; - -/** -* This is a basic message object used for exchanging filtering -* information between the filter plugins and the application -* whenever the application requires more information about the -* URI than just a filtered version of it. Any application can -* create an instance of this class and send it to @ref KURIFilter -* to have the filter plugins fill the necessary information. -* -* @sect Example -*
-*   TQString text = "kde.org";
-*   KURIFilterData d = text;
-*   bool filtered = KURIFilter::self()->filter( d );
-*   if( filtered )
-*     print ( "URI: %s\n"Filtered URI: %s\n URI Type: %i\n"Was Filtered: %i"
-*             text.latin1(), d.uri().url().latin1(), d.uriType(), filtered );
-* 
-* -* The above code should yield the following output: -*
-*   URI: kde.org
-*   Filtered URI: http://kde.org
-*   URI Type: 0            <== means NET_PROTOCOL
-*   Was Filtered: 1        <== means the URL was successfully filtered
-* 
-* -* @short A message object for exchanging filtering URI info. -*/ - -class KURIFilterData -{ -friend class KURIFilterPlugin; - -public: - /** - * Describes the type of URI to be filtered. - * - * This enumerator prvoides the return value for - * @ref uriType. A breif description for each value: - * - * @li NET_PROTOCOL - Any network protocol: http, ftp, nttp, pop3, etc... - * @li LOCAL_FILE - A local file whose executable flag is not set - * @li LOCAL_DIR - A local directory - * @li EXECUTABLE - A local file whose executable flag is set - * @li HELP - A man or info page - * @li SHELL - A shell executable (ex: echo "Test..." >> ~/testfile) - * @li BLOCKED - A URI that should be blocked/filtered (ex: ad filtering) - * @li ERROR - An incorrect URI (ex: "~johndoe" when user johndoe - * does not exist in that system ) - * @li UNKNOWN - A URI that is not identified. Default value when - * a KURIFilterData is first created. - */ - enum URITypes { NET_PROTOCOL=0, LOCAL_FILE, LOCAL_DIR, EXECUTABLE, HELP, SHELL, BLOCKED, ERROR, UNKNOWN }; - - /** - * Default constructor. - * - * Creates a URIFilterData object. - */ - KURIFilterData() { init(); } - - /** - * Creates a URIFilterData object from the given URL. - * - * @param url is the URL to be filtered. - */ - KURIFilterData( const KURL& url ) { init( url); } - - /** - * Creates a URIFilterData object from the given string. - * - * @param url is the string to be filtered. - */ - KURIFilterData( const TQString& url ) { init( url ); } - - /** - * Copy constructor. - * - * Creates a URIFilterData object from another - * URI filter data object. - * - * @param data the uri filter data to be copied. - */ - KURIFilterData( const KURIFilterData& /*data*/); - - /** - * Destructor. - */ - ~KURIFilterData(); - - /** - * This method has been deprecated and will always return - * TRUE. You should instead use the result from the - * @ref KURIFilter::filterURI() calls. - * - * @deprecated - */ - bool hasBeenFiltered() const { return m_bFiltered; } - - /** - * Returns the filtered or the original URL. - * - * This function returns the filtered url if one - * of the plugins sucessfully filtered the original - * URL. Otherwise, it returns the original URL. - * See @ref #hasBeenFiltered() and - * - * @return the filtered or original url. - */ - KURL uri() const { return m_pURI; } - - /** - * Returns an error message. - * - * This functions returns the error message set - * by the plugin whenever the uri type is set to - * KURIFilterData::ERROR. Otherwise, it returns - * a TQString::null. - * - * @return the error message or a NULL when there is none. - */ - TQString errorMsg() const { return m_strErrMsg; } - - /** - * Returns the URI type. - * - * This method always returns KURIFilterData::UNKNOWN - * if the given URL was not filtered. - */ - URITypes uriType() const { return m_iType; } - - /** - * Sets the URL to be filtered. - * - * Use this function to set the string to be - * filtered when you construct an empty filter - * object. - * - * @param url the string to be filtered. - */ - void setData( const TQString& url ) { init( url ); } - - /** - * Same as above except the argument is a URL. - * - * Use this function to set the string to be - * filtered when you construct an empty filter - * object. - * - * @param url the URL to be filtered. - */ - void setData( const KURL& url ) { init( url ); } - - /** - * Sets the absolute path to be used whenever the supplied - * data is a relative local URL. - * - * NOTE: This function works only for a local resource and - * expects the absolute path to the relative URL set in this - * meta object. If you are extracting the absolute path from - * a KURL object, make sure you always set the argument below - * using KURL::path() instead of KURL::url() so that "file:/" - * would not be appended! Otherwise, the filter might not be - * able to make correct determination whether the relative URL - * locally exists! - * - * @param abs_path the abolute path to the local resource. - * @return true if absolute path is successfully set. Otherwise, false. - */ - bool setAbsolutePath( const TQString& /* abs_path */ ); - - /** - * Returns the absolute path if one has already been set. - */ - TQString absolutePath() const; - - /** - * Returns true if the supplied data has an absolute path. - */ - bool hasAbsolutePath() const; - - /** - * Returns the command line options and arguments for a - * local resource when present. - * - * @return options and arguments when present, otherwise TQString::null - */ - TQString argsAndOptions() const; - - /** - * Returns true if the current data is a local resource with - * command line options and arguments. - */ - bool hasArgsAndOptions() const; - - /** - * Returns the name of the icon that matches - * the current filtered URL. - * - * NOTE that this function will return a NULL - * string by default and when no associated icon - * is found. - * - * @return the name of the icon associated with the resource - */ - TQString iconName(); - - /** - * Overloaded assigenment operator. - * - * This function allows you to easily assign a KURL - * to a KURIFilterData object. - * - * @return an instance of a KURIFilterData object. - */ - KURIFilterData& operator=( const KURL& url ) { init( url ); return *this; } - - /** - * Overloaded assigenment operator. - * - * This function allows you to easily assign a QString - * to a KURIFilterData object. - * - * @return an instance of a KURIFilterData object. - */ - KURIFilterData& operator=( const TQString& url ) { init( url ); return *this; } - -protected: - - /** - * Initializes the KURIFilterData on construction. - */ - void init( const KURL& url = TQString::null ); - -private: - bool m_bFiltered; - bool m_bChanged; - - TQString m_strErrMsg; - TQString m_strIconName; - - KURL m_pURI; - URITypes m_iType; - KURIFilterDataPrivate *d; -}; - - -/** - * Base class for URI filter plugins. - * - * This class applies a single filter to a URI. All - * plugins designed to provide URI filtering functionalities - * should inherit from this abstract class and provide a - * specific filtering implementation. - * - * All inheriting classes need to implement the pure - * virtual function @ref filterURI. Otherwise, they - * would also become abstract. - * - * @short Abstract class for URI filter plugins. - */ -class KURIFilterPlugin : public QObject -{ - Q_OBJECT - -public: - - /** - * Constructs a filter plugin with a given name and - * priority. - * - * @param parent the parent object. - * @param name the name of the plugin. - * @param pri the priority of the plugin. - */ - KURIFilterPlugin( TQObject *parent = 0, const char *name = 0, double pri = 1.0 ); - - /** - * Returns the filter's name. - * - * @return A string naming the filter. - */ - virtual TQString name() const { return m_strName; } - - /** - * Returns the filter's priority. - * - * Each filter has an assigned priority, a float from 0 to 1. Filters - * with the lowest priority are first given a chance to filter a URI. - * - * @return The priority of the filter. - */ - virtual double priority() const { return m_dblPriority; } - - /** - * Filters a URI. - * - * @param data the URI data to be filtered. - * @return A boolean indicating whether the URI has been changed. - */ - virtual bool filterURI( KURIFilterData& data ) const = 0; - - /** - * Creates a configuration module for the filter. - * - * It is the responsability of the caller to delete the module - * once it is not needed anymore. - * - * @return A configuration module, @p null if the filter isn't configurable. - */ - virtual KCModule *configModule( TQWidget*, const char* ) const { return 0; } - - /** - * Returns the name of the configuration module for the filter. - * - * @return the name of a configuration module or @p null if none. - */ - virtual TQString configName() const { return name(); } - -protected: - - /** - * Sets the the URL in @p data to @p uri. - */ - void setFilteredURI ( KURIFilterData& data, const KURL& uri ) const; - - /** - * Sets the error message in @p data to @p errormsg. - */ - void setErrorMsg ( KURIFilterData& data, const TQString& errmsg ) const { - data.m_strErrMsg = errmsg; - } - - /** - * Sets the URI type in @p data to @p type. - */ - void setURIType ( KURIFilterData& data, KURIFilterData::URITypes type) const { - data.m_iType = type; - data.m_bChanged = true; - } - - /** - * Sets the arguments and options string in @p data - * to @p args if any were found during filterting. - */ - void setArguments( KURIFilterData& data, const TQString& args ) const; - - TQString m_strName; - double m_dblPriority; - -protected: - virtual void virtual_hook( int id, void* data ); -private: - class KURIFilterPluginPrivate *d; -}; - - -class KURIFilterPluginList : public TQPtrList -{ -public: - virtual int compareItems(Item a, Item b) - { - double diff = ((KURIFilterPlugin *) a)->priority() - ((KURIFilterPlugin *) b)->priority(); - return diff < 0 ? -1 : (diff > 0 ? 1 : 0); - } - -private: - KURIFilterPrivate *d; - -}; - -/** - * Manages the filtering of a URI. - * - * The intention of this plugin class is to allow people to extend - * the functionality of KURL without modifying it directly. This - * way KURL will remain a generic parser capable of parsing any - * generic URL that adheres to specifications. - * - * The KURIFilter class applies a number of filters to a URI, - * and returns the filtered version whenever possible. The filters - * are implemented using plugins to provide easy extensibility - * of the filtering mechanism. That is, new filters can be added in - * the future by simply inheriting from @ref KURIFilterPlugin and - * implementing the @ref KURIFilterPlugin::filterURI method. - * - * Use of this plugin-manager class is straight forward. Since - * it is a singleton object, all you have to do is obtain an instance - * by doing @p KURIFilter::self() and use any of the public member - * functions to preform the filtering. - * - * @sect Example - * - * To simply filter a given string: - *
- * bool filtered = KURIFilter::self()->filterURI( "kde.org" );
- * 
- * - * You can alternatively use a KURL: - *
- * KURL url = "kde.org";
- * bool filtered = KURIFilter::self()->filterURI( url );
- * 
- * - * If you have a constant string or a constant URL, - * simply invoke the corresponding function to obtain - * the filtered string or URL instead of a boolean flag: - *
- * TQString u = KURIFilter::self()->filteredURI( "kde.org" );
- * 
- * - * You can also specify only specific filter(s) to be applied - * by supplying the name(s) of the filter(s). By defualt all - * filters that are found are loaded when the KURIFilter object - * is created will be used. These names are taken from the - * enteries in the \".desktop\" files. Here are a couple of - * examples: - *
- * TQString text = "kde.org";
- * bool filtered = KURIFilter::self()->filterURI( text, "KShortURIFilter" );
- *
- * TQStringList list;
- * list << "KShortURIFilter" << "MyFilter";
- * bool filtered = KURIFilter::self()->filterURI( text, list );
- * 
- * - * KURIFilter also allows richer data exchange through a simple - * meta-object called @p KURIFilterData. Using this meta-object - * you can find out more information about the URL you want to - * filter. See @ref KURIFilterData for examples and details. - * - * @short Filters a given URL into its proper format whenever possible. - */ - -class KURIFilter -{ -public: - /** - * Destructor - */ - ~KURIFilter (); - - /** - * Return a static instance of KURIFilter. - */ - static KURIFilter* self(); - - /** - * Filters the URI given by the object URIFilterData. - * - * This filters the given data based on the specified - * filter list. If the list is empty all avaliable - * filter plugins would be used. If not, only those - * given in the list are used. - * - * @param data object that contains the URI to be filtered. - * @param filters specify the list filters to be used - * - * @return a boolean indicating whether the URI has been changed - */ - bool filterURI( KURIFilterData& data, const TQStringList& filters = TQStringList() ); - - /** - * Filters the URI given by the URL. - * - * This filters the given URL based on the specified - * filter list. If the list is empty all avaliable - * filter plugins would be used. If not, only those - * given in the list are used. - * - * @param uri the URI to filter. - * @param filters specify the list of filters to be used - * - * @return a boolean indicating whether the URI has been changed - */ - bool filterURI( KURL &uri, const TQStringList& filters = TQStringList() ); - - /** - * Filters a string representing a URI. - * - * This filters the given string based on the specified - * filter list. If the list is empty all avaliable - * filter plugins would be used. If not, only those - * given in the list are used. - * - * @param uri The URI to filter. - * @param filters specify the list filters to be used - * - * @return a boolean indicating whether the URI has been changed - */ - bool filterURI( TQString &uri, const TQStringList& filters = TQStringList() ); - - /** - * Returns the filtered URI. - * - * This filters the given URL based on the specified - * filter list. If the list is empty all avaliable - * filter plugins would be used. If not, only those - * given in the list are used. - * - * @param uri The URI to filter. - * @param filters specify the list filters to be used - * - * @return the filtered URI or null if it cannot be filtered - */ - KURL filteredURI( const KURL &uri, const TQStringList& filters = TQStringList() ); - - /** - * Return a filtered string representation of a URI. - * - * This filters the given URL based on the specified - * filter list. If the list is empty all avaliable - * filter plugins would be used. If not, only those - * given in the list are used. - * - * @param uri the URI to filter. - * @param filters specify the list filters to be used - * - * @return the filtered URI or null if it cannot be filtered - */ - TQString filteredURI( const TQString &uri, const TQStringList& filters = TQStringList() ); - - /** - * Return an iterator to iterate over all loaded - * plugins. - * - * @return a plugin iterator. - */ - TQPtrListIterator pluginsIterator() const; - -protected: - - /** - * A protected constructor. - * - * This constructor creates a KURIFilter and - * initializes all plugins it can find by invoking - * @ref loadPlugins. - */ - KURIFilter(); - - /** - * Loads all allowed plugins. - * - * This function loads all filters that have not - * been dis - */ - void loadPlugins(); - -private: - - static KURIFilter *m_self; - KURIFilterPluginList m_lstPlugins; - KURIFilterPrivate *d; - -}; - -#endif - diff --git a/python/pykde/extra/kde310/kaccelaction.h b/python/pykde/extra/kde310/kaccelaction.h deleted file mode 100644 index 8e422505..00000000 --- a/python/pykde/extra/kde310/kaccelaction.h +++ /dev/null @@ -1,564 +0,0 @@ -/* This file is part of the KDE libraries - Copyright (C) 2001,2002 Ellis Whitehead - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. -*/ - -#ifndef _KACCELACTION_H -#define _KACCELACTION_H - -#include -#include -#include -#include - -#include - -class KAccelBase; - -class TQObject; -class KConfig; -class KConfigBase; - -/** - * @internal - * A KAccelAction prepresents an action that can be executed using - * an accelerator key. Each KAccelAction has a name, a label, a - * "What's this" string and a @ref KShortcut. The user can configure and - * enable/disable them using @ref KKeyDialog. - * - *
- *	1) KAccelAction = "Run Command"
- *		Default3 = "Alt+F2"
- *		Default4 = "Meta+Enter;Alt+F2"
- *		1) KShortcut = "Meta+Enter"
- *			1) KKeySequence = "Meta+Enter"
- *				1) KKey = "Meta+Enter"
- *					1) Meta+Enter
- *					2) Meta+Keypad_Enter
- *		2) KShortcut = "Alt+F2"
- *			1) KKeySequence = "Alt+F2"
- *				1) Alt+F2
- *	2) KAccelAction = "Something"
- *		Default3 = ""
- *		Default4 = ""
- *		1) KShortcut = "Meta+X,Asterisk"
- *			1) KKeySequence = "Meta+X,Asterisk"
- *				1) KKey = "Meta+X"
- *					1) Meta+X
- *				2) KKey = "Asterisk"
- *					1) Shift+8 (English layout)
- *					2) Keypad_Asterisk
- * 
- * @short An accelerator action - * @see KAccel - * @see KGlobalAccel - * @see KKeyChooser - * @see KKeyDialog - */ -class KAccelAction -{ - public: - /** - * Creates an empty KAccelAction. - * @see clear() - */ - KAccelAction(); - - /** - * Copy constructor. - */ - KAccelAction( const KAccelAction& ); - - /** - * Creates a new KAccelAction. - * @param sName the name of the accelerator - * @param sLabel the label of the accelerator (i18n!) - * @param sWhatsThis the What's This text (18n!) - * @param cutDef3 the default shortcut for 3 modifier systems - * @param cutDef4 the default shortcut for 4 modifier systems - * @param pObjSlot the receiver of a signal when the key has been - * pressed - * @param psMethodSlot the slot to connect for key presses. Receives - * an int, as set by @ref setID(), as only argument - * @param bConfigurable if true the user can configure the shortcut - * @param bEnabled true if the accelerator should be enabled - */ - KAccelAction( const TQString& sName, const TQString& sLabel, const TQString& sWhatsThis, - const KShortcut& cutDef3, const KShortcut& cutDef4, - const TQObject* pObjSlot, const char* psMethodSlot, - bool bConfigurable, bool bEnabled ); - ~KAccelAction(); - - /** - * Clears the accelerator. - */ - void clear(); - - /** - * Re-initialized the KAccelAction. - * @param sName the name of the accelerator - * @param sLabel the label of the accelerator (i18n!) - * @param sWhatsThis the What's This text (18n!) - * @param cutDef3 the default shortcut for 3 modifier systems - * @param cutDef4 the default shortcut for 4 modifier systems - * @param pObjSlot the receiver of a signal when the key has been - * pressed - * @param psMethodSlot the slot to connect for key presses. Receives - * an int, as set by @ref setID(), as only argument - * @param bConfigurable if true the user can configure the shortcut - * @param bEnabled true if the accelerator should be enabled - * @return true if successful, false otherwise - */ - bool init( const TQString& sName, const TQString& sLabel, const TQString& sWhatsThis, - const KShortcut& cutDef3, const KShortcut& cutDef4, - const TQObject* pObjSlot, const char* psMethodSlot, - bool bConfigurable, bool bEnabled ); - - /** - * Copies this KAccelAction. - */ - KAccelAction& operator=( const KAccelAction& ); - - /** - * Returns the name of the accelerator action. - * @return the name of the accelerator action, can be null if not - * set - */ - const TQString& name() const { return m_sName; } - - /** - * Returns the label of the accelerator action. - * @return the label of the accelerator action, can be null if - * not set - */ - const TQString& label() const { return m_sLabel; } - - /** - * Returns the What's This text of the accelerator action. - * @return the What's This text of the accelerator action, can be - * null if not set - */ - const TQString& whatsThis() const { return m_sWhatsThis; } - - /** - * The shortcut that is actually used (may be used configured). - * @return the shortcut of the KAccelAction, can be null if not set - * @see shortcutDefault() - */ - const KShortcut& shortcut() const { return m_cut; } - - /** - * The default shortcut for this system. - * @return the default shortcut on this system, can be null if not set - * @see shortcut() - * @see shortcutDefault3() - * @see shortcutDefault4() - */ - const KShortcut& shortcutDefault() const; - - /** - * The default shortcut for 3 modifier systems. - * @return the default shortcut for 3 modifier systems, can be null - * if not set - * @see shortcutDefault() - * @see shortcutDefault4() - * @see useFourModifierKeys() - */ - const KShortcut& shortcutDefault3() const { return m_cutDefault3; } - - /** - * The default shortcut for 4 modifier systems. - * @return the default shortcut for 4 modifier systems, can be null - * if not set - * @see shortcutDefault() - * @see shortcutDefault3() - * @see useFourModifierKeys() - */ - const KShortcut& shortcutDefault4() const { return m_cutDefault4; } - - /** - * Returns the receiver of signals. - * @return the receiver of signals (can be 0 if not set) - */ - const TQObject* objSlotPtr() const { return m_pObjSlot; } - - /** - * Returns the slot for the signal. - * @return the slot for the signal - */ - const char* methodSlotPtr() const { return m_psMethodSlot; } - - /** - * Checks whether the user can configure the action. - * @return true if configurable, false otherwise - */ - bool isConfigurable() const { return m_bConfigurable; } - - /** - * Checks whether the action is enabled. - * @return true if enabled, false otherwise - */ - bool isEnabled() const { return m_bEnabled; } - - /** - * Sets the name of the accelerator action. - * @param name the new name - */ - void setName( const TQString& name ); - - /** - * Sets the user-readable label of the accelerator action. - * @param label the new label (i18n!) - */ - void setLabel( const TQString& label ); - - /** - * Sets the What's This text for the accelerator action. - * @param whatsThis the new What's This text (i18n!) - */ - void setWhatsThis( const TQString& whatsThis ); - - /** - * Sets the new shortcut of the accelerator action. - * @param rgCuts the shortcut to set - * @return true if successful, false otherwise - */ - bool setShortcut( const KShortcut& rgCuts ); - - /** - * Sets the slot of the accelerator action. - * @param pObjSlot the receiver object of the signal - * @param psMethodSlot the slot for the signal - */ - void setSlot( const TQObject* pObjSlot, const char* psMethodSlot ); - - /** - * Enables or disabled configuring the action. - * @param configurable true to enable configurability, false to disable - */ - void setConfigurable( bool configurable ); - - /** - * Enables or disabled the action. - * @param configurable true to enable the action, false to disable - */ - void setEnabled( bool enable ); - - /** - * Retrieves the id set using @ref setID. - * @return the id of the accelerator action - */ - int getID() const { return m_nIDAccel; } - - /** - * Allows you to set an id that will be used as the action - * signal's argument. - * - * @param n the new id - * @see @ref getID() - */ - void setID( int n ) { m_nIDAccel = n; } - - /** - * Checkes whether the action is connected (emits signals). - * @return true if connected, false otherwise - */ - bool isConnected() const; - - /** - * Sets a key sequence of the action's shortcut. - * @param i the position of the sequence - * @param keySeq the new new sequence - * @return true if successful, false otherwise - * @see KShortcut::setSeq() - */ - bool setKeySequence( uint i, const KKeySequence &keySeq ); - - /** - * Clears the action's shortcut. It will not contain any sequences after - * calling this method. - * @see KShortcut::clear() - */ - void clearShortcut(); - - /** - * Checks whether the action's shortcut contains the given key sequence. - * @param keySeq the key sequence to check - * @return true if the shortcut contains the given sequence - * @see KShortcut::contains() - */ - bool contains( const KKeySequence &keySeq ); - - /** - * Returns the string representation of the action's shortcut. - * @return the string representation of the action's shortcut. - * @see KShortcut::toString() - */ - TQString toString() const; - - /** - * @internal - */ - TQString toStringInternal() const; - - /** - * Returns true if four modifier keys will be used. - * @return true if four modifier keys will be used. - */ - static bool useFourModifierKeys(); - - /** - * Selects 3 or 4 modifier default shortcuts. - * @param use true to use 4 modifier shortcuts, false to use - * 3 modifier shortcuts - */ - static void useFourModifierKeys( bool use ); - - protected: - TQString m_sName, - m_sLabel, - m_sWhatsThis; - KShortcut m_cut; - KShortcut m_cutDefault3, m_cutDefault4; - const TQObject* m_pObjSlot; - const char* m_psMethodSlot; - bool m_bConfigurable, - m_bEnabled; - int m_nIDAccel; - uint m_nConnections; - - void incConnections(); - void decConnections(); - - private: - static int g_bUseFourModifierKeys; - class KAccelActionPrivate* d; - - friend class KAccelActions; - friend class KAccelBase; -}; - -//--------------------------------------------------------------------- -// KAccelActions -//--------------------------------------------------------------------- - -/** - * @internal - * This class represents a collection of @ref KAccelAction objects. - * - * @short A collection of accelerator actions - * @see KAccelAction - */ -class KAccelActions -{ - public: - /** - * Creates a new, empty KAccelActions object. - */ - KAccelActions(); - - /** - * Copy constructor (deep copy). - */ - KAccelActions( const KAccelActions& ); - virtual ~KAccelActions(); - - /** - * Removes all items from this collection. - */ - void clear(); - - /** - * Initializes this object with the given actions. - * It will make a deep copy of all actions. - * @param actions the actions to copy - * @return true if successful, false otherwise - */ - bool init( const KAccelActions &actions ); - - /** - * Loads the actions from the given configuration file. - * - * @param config the configuration file to load from - * @param sGroup the group in the configuration file - * @return true if successful, false otherwise - */ - bool init( KConfigBase& config, const TQString& sGroup ); - - /** - * Updates the shortcuts of all actions in this object - * with the shortcuts from the given object. - * @param shortcuts the collection that contains the new - * shortcuts - */ - void updateShortcuts( KAccelActions &shortcuts ); - - /** - * Retrieves the index of the action with the given name. - * @param sAction the action to search - * @return the index of the action, or -1 if not found - */ - int actionIndex( const TQString& sAction ) const; - - /** - * Returns the action with the given @p index. - * @param index the index of an action. You must not - * use an index that is too high. - * @return the KAccelAction with the given index - * @see count() - */ - KAccelAction* actionPtr( uint index ); - - /** - * Returns the action with the given @p index. - * @param index the index of an action. You must not - * use an index that is too high. - * @return the KAccelAction with the given index - * @see count() - */ - const KAccelAction* actionPtr( uint index ) const; - - /** - * Returns the action with the given name. - * @param aAction the name of the action to search - * @return the KAccelAction with the given name, or 0 - * if not found - */ - KAccelAction* actionPtr( const TQString& sAction ); - - /** - * Returns the action with the given name. - * @param aAction the name of the action to search - * @return the KAccelAction with the given name, or 0 - * if not found - */ - const KAccelAction* actionPtr( const TQString& sAction ) const; - - /** - * Returns the action with the given key sequence. - * @param cut the sequence to search for - * @return the KAccelAction with the given sequence, or 0 - * if not found - */ - KAccelAction* actionPtr( KKeySequence cut ); - - /** - * Returns the action with the given @p index. - * @param index the index of an action. You must not - * use an index that is too high. - * @return the KAccelAction with the given index - * @see actionPtr() - * @see count() - */ - KAccelAction& operator []( uint index ); - - /** - * Returns the action with the given @p index. - * @param index the index of an action. You must not - * use an index that is too high. - * @return the KAccelAction with the given index - * @see actionPtr() - * @see count() - */ - const KAccelAction& operator []( uint index ) const; - - /** - * Inserts an action into the collection. - * @param sName the name of the accelerator - * @param sLabel the label of the accelerator (i18n!) - * @param sWhatsThis the What's This text (18n!) - * @param cutDef3 the default shortcut for 3 modifier systems - * @param cutDef4 the default shortcut for 4 modifier systems - * @param pObjSlot the receiver of a signal when the key has been - * pressed - * @param psMethodSlot the slot to connect for key presses. Receives - * an int, as set by @ref setID(), as only argument - * @param bConfigurable if true the user can configure the shortcut - * @param bEnabled true if the accelerator should be enabled - * @return the new action - */ - KAccelAction* insert( const TQString& sAction, const TQString& sLabel, const TQString& sWhatsThis, - const KShortcut& rgCutDefaults3, const KShortcut& rgCutDefaults4, - const TQObject* pObjSlot = 0, const char* psMethodSlot = 0, - bool bConfigurable = true, bool bEnabled = true ); - - /** - * Inserts an action into the collection. - * @param sName the name of the accelerator - * @param sLabel the label of the accelerator (i18n!) - * @return the new action - */ - KAccelAction* insert( const TQString& sName, const TQString& sLabel ); - - /** - * Removes the given action. - * @param sAction the name of the action. - * @return true if successful, false otherwise - */ - bool remove( const TQString& sAction ); - - /** - * Loads the actions from the given configuration file. - * - * @param sConfigGroup the group in the configuration file - * @param pConfig the configuration file to load from - * @return true if successful, false otherwise - */ - bool readActions( const TQString& sConfigGroup = "Shortcuts", KConfigBase* pConfig = 0 ); - - /** - * Writes the actions to the given configuration file. - * - * @param sConfigGroup the group in the configuration file - * @param pConfig the configuration file to save to - * @param bWriteAll true to write all actions - * @param bGlobal true to write to the global configuration file - * @return true if successful, false otherwise - */ - bool writeActions( const TQString& sConfigGroup = "Shortcuts", KConfigBase* pConfig = 0, - bool bWriteAll = false, bool bGlobal = false ) const; - - /** - * Emit a keycodeChanged signal. - */ - void emitKeycodeChanged(); - - /** - * Returns the number of actions in the collection. - * @return the number of actions - */ - uint count() const; - - protected: - KAccelBase* m_pKAccelBase; - KAccelAction** m_prgActions; - uint m_nSizeAllocated, m_nSize; - - void resize( uint ); - void insertPtr( KAccelAction* ); - - private: - class KAccelActionsPrivate* d; - - KAccelActions( KAccelBase* ); - void initPrivate( KAccelBase* ); - KAccelActions& operator =( KAccelActions& ); - - friend class KAccelBase; -}; - -#endif // _KACCELACTION_H diff --git a/python/pykde/extra/kde310/kaccelbase.h b/python/pykde/extra/kde310/kaccelbase.h deleted file mode 100644 index 03fa9c87..00000000 --- a/python/pykde/extra/kde310/kaccelbase.h +++ /dev/null @@ -1,229 +0,0 @@ -/* This file is part of the KDE libraries - Copyright (C) 2001 Ellis Whitehead - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. -*/ - -#ifndef _KACCELBASE_H -#define _KACCELBASE_H - -#include -#include -#include -#include -#include - -#include "kaccelaction.h" -#include "kkeyserver_x11.h" - -class TQPopupMenu; -class TQWidget; - -//---------------------------------------------------- - -/** - * @internal - * Handle keyboard accelerators. - * - * Allow an user to configure - * key bindings through application configuration files or through the - * @ref KKeyChooser GUI. - * - * A @ref KAccel contains a list of accelerator items. Each accelerator item - * consists of an action name and a keyboard code combined with modifiers - * (Shift, Ctrl and Alt.) - * - * For example, "Ctrl+P" could be a shortcut for printing a document. The key - * codes are listed in ckey.h. "Print" could be the action name for printing. - * The action name identifies the key binding in configuration files and the - * @ref KKeyChooser GUI. - * - * When pressed, an accelerator key calls the slot to which it has been - * connected. Accelerator items can be connected so that a key will activate - * two different slots. - * - * A KAccel object handles key events sent to its parent widget and to all - * children of this parent widget. - * - * Key binding reconfiguration during run time can be prevented by specifying - * that an accelerator item is not configurable when it is inserted. A special - * group of non-configurable key bindings are known as the - * standard accelerators. - * - * The standard accelerators appear repeatedly in applications for - * standard document actions such as printing and saving. Convenience methods are - * available to insert and connect these accelerators which are configurable on - * a desktop-wide basis. - * - * It is possible for a user to choose to have no key associated with - * an action. - * - * The translated first argument for @ref insertItem() is used only - * in the configuration dialog. - *
- * KAccel *a = new KAccel( myWindow );
- * // Insert an action "Scroll Up" which is associated with the "Up" key:
- * a->insertItem( i18n("Scroll up"), "Scroll Up", "Up" );
- * // Insert an action "Scroll Down" which is not associated with any key:
- * a->insertItem( i18n("Scroll down"), "Scroll Down", 0);
- * a->connectItem( "Scroll up", myWindow, TQT_SLOT( scrollUp() ) );
- * // a->insertStdItem( KStdAccel::Print ); //not necessary, since it
- *	// is done automatially with the
- *	// connect below!
- * a->connectItem(KStdAccel::Print, myWindow, TQT_SLOT( printDoc() ) );
- *
- * a->readSettings();
- *
- * - * If a shortcut has a menu entry as well, you could insert them like - * this. The example is again the @ref KStdAccel::Print from above. - * - *
- * int id;
- * id = popup->insertItem("&Print",this, TQT_SLOT(printDoc()));
- * a->changeMenuAccel(popup, id, KStdAccel::Print );
- * 
- * - * If you want a somewhat "exotic" name for your standard print action, like - * id = popup->insertItem(i18n("Print &Document"),this, TQT_SLOT(printDoc())); - * it might be a good idea to insert the standard action before as - * a->insertStdItem( KStdAccel::Print, i18n("Print Document") ) - * as well, so that the user can easily find the corresponding function. - * - * This technique works for other actions as well. Your "scroll up" function - * in a menu could be done with - * - *
- *    id = popup->insertItem(i18n"Scroll &up",this, TQT_SLOT(scrollUp()));
- *    a->changeMenuAccel(popup, id, "Scroll Up" );
- * 
- * - * Please keep the order right: First insert all functions in the - * acceleratior, then call a -> @ref readSettings() and @em then build your - * menu structure. - * - * @short Configurable key binding support. - * @version $Id: kaccelbase.h,v 1.22 2002/10/06 18:19:39 ellis Exp $ - */ - -class KAccelBase -{ - public: - enum Init { QT_KEYS = 0x00, NATIVE_KEYS = 0x01 }; - enum Signal { KEYCODE_CHANGED }; - - KAccelBase( int fInitCode ); - virtual ~KAccelBase(); - - uint actionCount() const; - KAccelActions& actions(); - bool isEnabled() const; - - KAccelAction* actionPtr( const TQString& sAction ); - const KAccelAction* actionPtr( const TQString& sAction ) const; - KAccelAction* actionPtr( const KKey& key ); - KAccelAction* actionPtr( const KKeyServer::Key& key ); - - const TQString& configGroup() const { return m_sConfigGroup; } - void setConfigGroup( const TQString& group ); - void setConfigGlobal( bool global ); - virtual void setEnabled( bool bEnabled ) = 0; - bool getAutoUpdate() { return m_bAutoUpdate; } - // return value of AutoUpdate flag before this call. - bool setAutoUpdate( bool bAuto ); - -// Procedures for manipulating Actions. - //void clearActions(); - - KAccelAction* insert( const TQString& sName, const TQString& sDesc ); - KAccelAction* insert( - const TQString& sAction, const TQString& sDesc, const TQString& sHelp, - const KShortcut& rgCutDefaults3, const KShortcut& rgCutDefaults4, - const TQObject* pObjSlot, const char* psMethodSlot, - bool bConfigurable = true, bool bEnabled = true ); - bool remove( const TQString& sAction ); - bool setActionSlot( const TQString& sAction, const TQObject* pObjSlot, const char* psMethodSlot ); - - bool updateConnections(); - - bool setShortcut( const TQString& sAction, const KShortcut& cut ); - -// Modify individual Action sub-items - bool setActionEnabled( const TQString& sAction, bool bEnable ); - - /** - * Read all key associations from @p config, or (if @p config - * is zero) from the application's configuration file - * @ref KGlobal::config(). - * - * The group in which the configuration is stored can be - * set with @ref setConfigGroup(). - */ - void readSettings( KConfigBase* pConfig = 0 ); - - /** - * Write the current configurable associations to @p config, - * or (if @p config is zero) to the application's - * configuration file. - */ - void writeSettings( KConfigBase* pConfig = 0 ) const; - - TQPopupMenu* createPopupMenu( TQWidget* pParent, const KKeySequence& ); - - // Protected methods - protected: - void slotRemoveAction( KAccelAction* ); - - void createKeyList( TQValueVector& rgKeys ); - bool insertConnection( KAccelAction* ); - bool removeConnection( KAccelAction* ); - - virtual bool emitSignal( Signal ) = 0; - virtual bool connectKey( KAccelAction&, const KKeyServer::Key& ) = 0; - virtual bool connectKey( const KKeyServer::Key& ) = 0; - virtual bool disconnectKey( KAccelAction&, const KKeyServer::Key& ) = 0; - virtual bool disconnectKey( const KKeyServer::Key& ) = 0; - - protected: - struct ActionInfo - { - KAccelAction* pAction; - uint iSeq, iVariation; - //ActionInfo* pInfoNext; // nil if only one action uses this key. - - ActionInfo() { pAction = 0; iSeq = 0xffff; iVariation = 0xffff; } - ActionInfo( KAccelAction* _pAction, uint _iSeq, uint _iVariation ) - { pAction = _pAction; iSeq = _iSeq; iVariation = _iVariation; } - }; - typedef TQMap KKeyToActionMap; - - KAccelActions m_rgActions; - KKeyToActionMap m_mapKeyToAction; - TQValueList m_rgActionsNonUnique; - bool m_bNativeKeys; // Use native key codes instead of Qt codes - bool m_bEnabled; - bool m_bConfigIsGlobal; - TQString m_sConfigGroup; - bool m_bAutoUpdate; - KAccelAction* mtemp_pActionRemoving; - - private: - KAccelBase& operator =( const KAccelBase& ); - - friend class KAccelActions; -}; - -#endif // _KACCELBASE_H diff --git a/python/pykde/extra/kde310/kicontheme.h b/python/pykde/extra/kde310/kicontheme.h deleted file mode 100644 index bfee160b..00000000 --- a/python/pykde/extra/kde310/kicontheme.h +++ /dev/null @@ -1,331 +0,0 @@ -/* vi: ts=8 sts=4 sw=4 - * - * $Id: kicontheme.h,v 1.26 2002/10/26 22:08:38 tjansen Exp $ - * - * This file is part of the KDE project, module kdecore. - * Copyright (C) 2000 Geert Jansen - * Antonio Larrosa - * - * This is free software; it comes under the GNU Library General - * Public License, version 2. See the file "COPYING.LIB" for the - * exact licensing terms. - * - */ - -#ifndef __KIconTheme_h_Included__ -#define __KIconTheme_h_Included__ - -#include -#include -#include - -class KConfig; -//class KIconThemeDir; - -class KIconThemePrivate; - -class KIconPrivate; - -/** - * One icon as found by KIconTheme. Also serves as a namespace containing - * icon related constants. - * @see KIconEffect - * @see KIconTheme - * @see KIconLoader - */ -class KIcon -{ -public: - KIcon() { size = 0; } - - /** - * Return true if this icon is valid, false otherwise. - */ - bool isValid() const { return size != 0; } - - /** - * Defines the context of the icon. - */ - enum Context { - Any, ///< Some icon with unknown purpose. - Action, ///< An action icon (e.g. 'save', 'print'). - Application, ///< An icon that represents an application. - Device, ///< An icon that represents a device. - FileSystem, ///< An icon that represents a file system. - MimeType ///< An icon that represents a mime type (or file type). - }; - - /** - * The type of the icon. - */ - enum Type { - Fixed, ///< Fixed-size icon. - Scalable, ///< Scalable-size icon. - Threshold ///< A threshold icon. - }; - - /** - * The type of a match. - */ - enum MatchType { - MatchExact, ///< Only try to find an exact match. - MatchBest ///< Take the best match if there is no exact match. - - }; - - // if you add a group here, make sure to change the config reading in - // KIconLoader too - /** - * The group an an icon. - */ - enum Group { NoGroup=-1, Desktop=0, FirstGroup=Desktop, Toolbar, - MainToolbar, Small, Panel, LastGroup, User }; - - /** - * These are the standard sizes for icons. - */ - enum StdSizes { - /// small icons for menu entries - SizeSmall=16, - /// medium sized icons for the desktop - SizeMedium=32, - /// large sized icons for the panel - SizeLarge=48 }; - - /** - * Defines the possible states of an icon. - */ - enum States { DefaultState, ///< The default state. - ActiveState, ///< Icon is active. - DisabledState, ///< Icon is disabled. - LastState ///< Last state (last constant) - }; - - /** - * This defines an overlay, a semi-transparent image that is - * projected onto the icon. They are used to show that the file - * represented by the icon is, for example, locked, zipped or hidden. - */ - enum Overlays { - LockOverlay=0x100, ///< a file is locked - ZipOverlay=0x200, ///< a file is zipped - LinkOverlay=0x400, ///< a fileis a link - HiddenOverlay=0x800, ///< a file is hidden - ShareOverlay=0x1000, ///< a file is shared - OverlayMask = ~0xff - }; - - /** - * The size in pixels of the icon. - */ - int size; - - /** - * The context of the icon. - */ - Context context; - - /** - * The type of the icon: Fixed, Scalable or Threshold. - **/ - Type type; - - /** - * The threshold in case type == Threshold - */ - int threshold; - - /** - * The full path of the icon. - */ - TQString path; - -private: - KIconPrivate *d; -}; - -inline KIcon::Group& operator++(KIcon::Group& group) { group = static_cast(group+1); return group; } -inline KIcon::Group operator++(KIcon::Group& group,int) { KIcon::Group ret = group; ++group; return ret; } - -/** - * Class to use/access icon themes in KDE. This class is used by the - * iconloader but can be used by others too. - * @see KIconLoader - */ -class KIconTheme -{ -public: - /** - * Load an icon theme by name. - * @param name the name of the theme (e.g. "hicolor" or "keramik") - * @param appName the name of the application. Can be null. This argument - * allows applications to have themed application icons. - */ - KIconTheme(const TQString& name, const TQString& appName=TQString::null); - ~KIconTheme(); - - /** - * The stylized name of the icon theme. - * @return the (human-readable) name of the theme - */ - TQString name() const { return mName; } - - /** - * A description for the icon theme. - * @return a human-readable description of the theme, TQString::null - * if there is none - */ - TQString description() const { return mDesc; } - - /** - * Return the name of the "example" icon. This can be used to - * present the theme to the user. - * @return the name of the example icon, TQString::null if there is none - */ - TQString example() const; - - /** - * Return the name of the screenshot. - * @return the name of the screenshot, TQString::null if there is none - */ - TQString screenshot() const; - - /** - * Returns the name of this theme's link overlay. - * @return the name of the link overlay - */ - TQString linkOverlay() const; - - /** - * Returns the name of this theme's zip overlay. - * @return the name of the zip overlay - */ - TQString zipOverlay() const; - - /** - * Returns the name of this theme's lock overlay. - * @return the name of the lock overlay - */ - TQString lockOverlay() const; - - /** - * Returns the name of this theme's share overlay. - * @return the name of the share overlay - * @since 3.1 - */ - TQString shareOverlay () const; - - /** - * Returns the toplevel theme directory. - * @return the directory of the theme - */ - TQString dir() const { return mDir; } - - /** - * The themes this icon theme falls back on. - * @return a list of icon themes that are used as fall-backs - */ - TQStringList inherits() const { return mInherits; } - - /** - * The icon theme exists? - * @return true if the icon theme is valid - */ - bool isValid() const; - - /** - * The icon theme should be hidden to the user? - * @return true if the icon theme is hidden - * @since 3.1 - */ - bool isHidden() const; - - /** - * The minimum display depth required for this theme. This can either - * be 8 or 32. - * @return the minimum bpp (8 or 32) - */ - int depth() const { return mDepth; } - - /** - * The default size of this theme for a certain icon group. - * @param group The icon group. See @ref #KIcon::Group. - * @return The default size in pixels for the given icon group. - */ - int defaultSize(KIcon::Group group) const; - - /** - * Query available sizes for a group. - * @param group The icon group. See @ref #KIcon::Group. - * @return a list of available sized for the given group - */ - TQValueList querySizes(KIcon::Group group) const; - - /** - * Query available icons for a size and context. - * @param size the size of the icons - * @param context the context of the icons - * @return the list of icon names - */ - TQStringList queryIcons(int size, KIcon::Context context = KIcon::Any) const; - - /** - * Query available icons for a context and preferred size. - * @param size the size of the icons - * @param context the context of the icons - * @return the list of icon names - */ - TQStringList queryIconsByContext(int size, KIcon::Context context = KIcon::Any) const; - - - /** - * Lookup an icon in the theme. - * @param name The name of the icon, without extension. - * @param size The desired size of the icon. - * @param match The matching mode. KIcon::MatchExact returns an icon - * only if matches exactly. KIcon::MatchBest returns the best matching - * icon. - * @return A KIcon class that describes the icon. If an icon is found, - * @see KIcon::isValid will return true, and false otherwise. - */ - KIcon iconPath(const TQString& name, int size, KIcon::MatchType match) const; - - /** - * List all icon themes installed on the system, global and local. - * @return the list of all icon themes - */ - static TQStringList list(); - - /** - * Returns the current icon theme. - * @return the name of the current theme - */ - static TQString current(); - - /** - * Reconfigure the theme. - */ - static void reconfigure(); - - /** - * Returns the default icon theme. - * @return the name of the default theme name - * @since 3.1 - */ - static TQString defaultThemeName(); - -private: - int mDefSize[8]; - TQValueList mSizes[8]; - - int mDepth; - TQString mDir, mName, mDesc; - TQStringList mInherits; -// TQPtrList mDirs; - KIconThemePrivate *d; - - static TQString *_theme; - static TQStringList *_theme_list; -}; - -#endif diff --git a/python/pykde/extra/kde310/kkeyserver_x11.h b/python/pykde/extra/kde310/kkeyserver_x11.h deleted file mode 100644 index 568de854..00000000 --- a/python/pykde/extra/kde310/kkeyserver_x11.h +++ /dev/null @@ -1,435 +0,0 @@ -#ifndef _KKEYSERVER_X11_H -#define _KKEYSERVER_X11_H - -#include "kshortcut.h" -#include "kkeynative.h" - -/** - * A collection of functions for the conversion of key presses and - * their modifiers from the window system (X11) specific format - * to the generic format and vice-versa. - */ -namespace KKeyServer -{ - /** - * Supplement enum KKey::ModFlag - * @since 3.1 - */ - enum ExtraModFlag { MODE_SWITCH = 0x2000 }; - - struct CodeMod { int code, mod; }; - - /** - * Represents a key symbol. - * @see KKey - * @see KKeyServer - */ - struct Sym - { - public: - /// the actual value of the symbol - uint m_sym; - - /// Creates a null symbol. - Sym() - { m_sym = 0; } - /** - * Creates asymbol with the given value. - * @param sym the value - */ - Sym( uint sym ) - { m_sym = sym; } - /** - * Creates a symbol from the given string description. - * @param s the description of the symbol - * @see toString() - */ - Sym( const TQString& s ) - { init( s ); } - - /** - * Initializes the symbol with the given Qt key code. - * @param keyQt the qt key code - * @return true if succesful, false otherwise - * @see Qt::Key - */ - bool initQt( int keyQt ); - - /** - * Initializes the key with the given string description. - * @param s the string description - * @return true if succesful, false otherwise - * @see toString() - */ - bool init( const TQString &s ); - - /** - * Returns the qt key code of the symbol. - * @return the qt key code - */ - int qt() const; - - /** - * @internal - */ - TQString toStringInternal() const; - - /** - * Returns the string representation of the symbol. - * @return the string representation of the symbol - */ - TQString toString() const; - - /** - * Returns the mods that are required for this symbol as - * ORed @ref KKey::ModFlag's. For example, Break requires a - * Ctrl to be valid. - * @return the required @ref KKey::ModFlag's - * @see KKey::ModFlag - */ - uint getModsRequired() const; - - /** - * TODO: please find out what this method does and document it - */ - uint getSymVariation() const; - - /** - * Casts the symbol to its integer representation. - */ - operator uint() const { return m_sym; } - - /** - * Overloaded operator to convert ints to Sym. - */ - Sym& operator =( uint sym ) { m_sym = sym; return *this; } - - private: - TQString toString( bool bUserSpace ) const; - - static void capitalizeKeyname( TQString& ); - }; - - /** - * Represents a key press. - * @see KKey - */ - struct Key - { - /// Code for native Keys in Qt - enum { CODE_FOR_QT = 256 }; - - /// The code of the key - uint m_code; - - /// The modifiers of the key - uint m_mod; - - /// The symbol of the key - uint m_sym; - - /** - * Initializes the key with a @ref KKey. - * @param key the key to get the data from - * @param bQt true to take the Qt keycode, false - * for the native key code - * @see Qt::Key - * @see KKeyNative - */ - bool init( const KKey& key, bool bQt ); - - /** - * Checks whether the key code is a native code. - * @return true if native code of the window system, - * false if it is a Qt keycode - * @see Qt::Key - * @see KKeyNative - */ - bool isNative() const { return m_code != CODE_FOR_QT; } - - /** - * Returns the code of the key. - * @return the code of the key - */ - uint code() const { return m_code; } - - /** - * Returns the modifiers of the key. - * @return the modifiers of the key - */ - uint mod() const { return m_mod; } - - /** - * Returns the symbol of the key. - * @return the symbol of the key - */ - uint sym() const { return m_sym; } - - /** - * Returns the qt key code. - * @return the qt key code - */ - int keyCodeQt() const { return (int) m_sym; } - - /** - * Sets the qt key code. - * @param keyQt the qt key code - */ - void setKeycodeQt( int keyQt ) - { m_code = CODE_FOR_QT; m_sym = keyQt; } - - /** - * Initializes this key with a @ref KKeyNative. - * @return this key - */ - Key& operator =( const KKeyNative& key ); - - /** - * Compares this key with the given Key object. Returns a - * negative number if the given Key is larger, 0 if they - * are equal and a positive number this Key is larger. The - * returned value is the difference between the symbol, modifier - * or code, whatever is non-zero first. - * - * @param key the key to compare with this key - * @return a negative number if the given Key is larger, 0 if - * they are equal and a positive number this Key is larger - */ - int compare( const Key& key ) const; - - /** - * Compares the symbol, modifiers and code of both keys. - * @see compare() - */ - bool operator ==( const Key& b ) const - { return compare( b ) == 0; } - - /** - * Compares the symbol, modifiers and code of both keys. - * @see compare() - */ - bool operator <( const Key& b ) const - { return compare( b ) < 0; } - - /** - * Converts this Key to a KKey. - * @return the KKey - */ - KKey key() const; - }; - - /** - * TODO: please document this class - */ - struct Variations - { - enum { MAX_VARIATIONS = 4 }; - - Key m_rgkey[MAX_VARIATIONS]; - uint m_nVariations; - - Variations() { m_nVariations = 0; } - - void init( const KKey&, bool bQt ); - - uint count() const { return m_nVariations; } - const Key& key( uint i ) const { return m_rgkey[i]; } - }; - - /// TODO: please document - bool initializeMods(); - - /** - * Returns the equivalent X modifier mask of the given modifier flag. - * @param modFlag the generic flags to check - * @return the window system specific flags - */ - uint modX( KKey::ModFlag modFlag ); - - /** - * Returns true if the current keyboard layout supports the Win key. - * Specifically, whether the Super or Meta keys are assigned to an X modifier. - * @return true if the keyboard has a Win key - * @see modXWin() - */ - bool keyboardHasWinKey(); - - /** - * Returns the X11 Shift modifier mask/flag. - * @return the X11 Shift modifier mask/flag. - * @see accelModMaskX() - */ - uint modXShift(); - - /** - * Returns the X11 Lock modifier mask/flag. - * @return the X11 Lock modifier mask/flag. - * @see accelModMaskX() - */ - uint modXLock(); - - /** - * Returns the X11 Ctrl modifier mask/flag. - * @return the X11 Ctrl modifier mask/flag. - * @see accelModMaskX() - */ - uint modXCtrl(); - - /** - * Returns the X11 Alt (Mod1) modifier mask/flag. - * @return the X11 Alt (Mod1) modifier mask/flag. - * @see accelModMaskX() - */ - uint modXAlt(); - - /** - * Returns the X11 NumLock modifier mask/flag. - * @return the X11 NumLock modifier mask/flag. - * @see accelModMaskX() - */ - uint modXNumLock(); - - /** - * Returns the X11 Win (Mod3) modifier mask/flag. - * @return the X11 Win (Mod3) modifier mask/flag. - * @see keyboardHasWinKey() - * @see accelModMaskX() - */ - uint modXWin(); - - /** - * Returns the X11 ScrollLock modifier mask/flag. - * @return the X11 ScrollLock modifier mask/flag. - * @see accelModMaskX() - */ - uint modXScrollLock(); - - /** - * Returns bitwise OR'ed mask containing Shift, Ctrl, Alt, and - * Win (if available). - * @see modXShift() - * @see modXLock() - * @see modXCtrl() - * @see modXAlt() - * @see modXNumLock() - * @see modXWin() - * @see modXScrollLock() - */ - uint accelModMaskX(); - - /** - * Extracts the symbol from the given Qt key and - * converts it to a symbol. - * @param keyQt the qt key code - * @param sym if successful, the symbol will be written here - * @return true if successful, false otherwise - * @see Qt::Key - * @see Sym - */ - bool keyQtToSym( int keyQt, uint& sym ); - - /** - * Extracts the modifiers from the given Qt key and - * converts them in a mask of ORed @ref KKey::ModFlag modifiers. - * @param keyQt the qt key code - * @param mod if successful, the modifiers will be written here - * @return true if successful, false otherwise - * @see Qt::Key - */ - bool keyQtToMod( int keyQt, uint& mod ); - - /** - * Converts the given symbol to a Qt key code. - * @param sym the symbol - * @param keyQt if successful, the qt key code will be written here - * @return true if successful, false otherwise - * @see Qt::Key - * @see Sym - */ - bool symToKeyQt( uint sym, int& keyQt ); - - /** - * Converts the mask of ORed @ref KKey::ModFlag modifiers to - * a mask of ORed Qt key code modifiers. - * @param the mask of @ref KKey::ModFlag modifiers - * @param the mask of Qt key code modifiers will be written here, - * if successful - * @return true if successful, false otherwise - * @see Qt::Key - * @see KKey - */ - bool modToModQt( uint mod, int& modQt ); - - /** - * Converts the mask of ORed @ref KKey::ModFlag modifiers to - * a mask of ORed X11 modifiers. - * @param the mask of @ref KKey::ModFlag modifiers - * @param the mask of X11 modifiers will be written here, - * if successful - * @return true if successful, false otherwise - * @see KKey - */ - bool modToModX( uint mod, uint& modX ); - - /** - * Converts the mask of ORed X11 modifiers to - * a mask of ORed Qt key code modifiers. - * @param the mask of X11 modifiers - * @param the mask of Qt key code modifiers will be written here - * if successful - * @return true if successful, false otherwise - * @see Qt::Key - */ - bool modXToModQt( uint modX, int& modQt ); - - /** - * Converts the mask of ORed X11 modifiers to - * a mask of ORed @ref KKey::ModFlag modifiers. - * @param the mask of X11 modifiers - * @param the mask of @ref KKey::ModFlag modifiers will be written here, - * if successful - * @return true if successful, false otherwise - * @see KKey - */ - bool modXToMod( uint modX, uint& mod ); - - /** - * Converts a X11 key code and a mask of ORed X11 modifiers - * into a X11 symbol. - * converts it to a symbol. - * @param codeX the X11 key code - * @param modX the mask of ORed X11 modifiers - * @param sym if successful, the X11 symbol will be written here - * @return true if successful, false otherwise - * @see Qt::Key - * @see Sym - */ - bool codeXToSym( uchar codeX, uint modX, uint& symX ); - - /** - * @internal - */ - TQString modToStringInternal( uint mod ); - - /** - * Converts the mask of ORed @ref KKey::ModFlag modifiers to a - * user-readable string. - * @param mod the mask of ORed @ref KKey::ModFlag modifiers - * @return the user-readable string - */ - TQString modToStringUser( uint mod ); - - /** - * @internal - * Unimplemented? - */ - bool stringToSymMod( const TQString&, uint& sym, uint& mod ); - - /** - * @internal - * Unimplemented? - */ - void keyQtToKeyX( uint keyCombQt, unsigned char *pKeyCodeX, uint *pKeySymX, uint *pKeyModX ); -}; - -#endif // !_KKEYSERVER_X11_H diff --git a/python/pykde/extra/kde310/konsole_part.h b/python/pykde/extra/kde310/konsole_part.h deleted file mode 100644 index 6aba7064..00000000 --- a/python/pykde/extra/kde310/konsole_part.h +++ /dev/null @@ -1,223 +0,0 @@ -/* - This file is part of the KDE system - Copyright (C) 1999,2000 Boloni Laszlo - - This program is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. - */ - -#ifndef __KONSOLE_PART_H__ -#define __KONSOLE_PART_H__ - -#include -#include - - -#include - -#include - -//#include "schema.h" -//#include "session.h" - -class KInstance; -class konsoleBrowserExtension; -class TQPushButton; -class TQSpinBox; -class KPopupMenu; -class TQCheckBox; -class KRootPixmap; -class KToggleAction; -class KSelectAction; - -namespace KParts { class GUIActivateEvent; } - -class konsoleFactory : public KParts::Factory -{ - Q_OBJECT -public: - konsoleFactory(); - virtual ~konsoleFactory(); - - virtual KParts::Part* createPartObject(TQWidget *parentWidget = 0, const char *widgetName = 0, - TQObject* parent = 0, const char* name = 0, - const char* classname = "KParts::Part", - const TQStringList &args = TQStringList()); - - static KInstance *instance(); - - private: - static KInstance *s_instance; - static KAboutData *s_aboutData; -}; - -////////////////////////////////////////////////////////////////////// - -class konsolePart: public KParts::ReadOnlyPart, public TerminalInterface -{ - Q_OBJECT - public: - konsolePart(TQWidget *parentWidget, const char *widgetName, TQObject * parent, const char *name, const char *classname = 0); - virtual ~konsolePart(); - -signals: - void processExited(); - void receivedData( const TQString& s ); - protected: - virtual bool openURL( const KURL & url ); - virtual bool openFile() {return false;} // never used - virtual bool closeURL() {return true;} - virtual void guiActivateEvent( KParts::GUIActivateEvent * event ); - - protected slots: - void showShell(); - void slotProcessExited(); - void slotReceivedData( const TQString& s ); - -// void doneSession(TESession*); - void sessionDestroyed(); -// void configureRequest(TEWidget*,int,int x,int y); - void updateTitle(); - void enableMasterModeConnections(); - - private slots: - void emitOpenURLRequest(const TQString &url); - - void readProperties(); - void saveProperties(); - - void sendSignal(int n); - void closeCurrentSession(); - - void notifySize(int,int); - - void slotToggleFrame(); - void slotSelectScrollbar(); - void slotSelectFont(); - void schema_menu_check(); - void keytab_menu_activated(int item); - void updateSchemaMenu(); - void setSchema(int n); - void pixmap_menu_activated(int item); - void schema_menu_activated(int item); - void slotHistoryType(); - void slotSelectBell(); - void slotSelectLineSpacing(); - void slotBlinkingCursor(); - void slotWordSeps(); - void fontNotFound(); - - private: - konsoleBrowserExtension *m_extension; - KURL currentURL; - - void makeGUI(); - void applySettingsToGUI(); - - void setFont(int fontno); -// void setSchema(ColorSchema* s); - void updateKeytabMenu(); - - bool doOpenStream( const TQString& ); - bool doWriteStream( const TQByteArray& ); - bool doCloseStream(); - - TQWidget* parentWidget; -// TEWidget* te; -// TESession* se; -// ColorSchemaList* colors; - KRootPixmap* rootxpm; - - KToggleAction* blinkingCursor; - KToggleAction* showFrame; - - KSelectAction* selectBell; - KSelectAction* selectFont; - KSelectAction* selectLineSpacing; - KSelectAction* selectScrollbar; - - KPopupMenu* m_keytab; - KPopupMenu* m_schema; - KPopupMenu* m_signals; - KPopupMenu* m_options; - KPopupMenu* m_popupMenu; - - TQFont defaultFont; - - TQString pmPath; // pixmap path - TQString s_schema; - TQString s_kconfigSchema; - TQString s_word_seps; // characters that are considered part of a word - TQString fontNotFound_par; - - bool b_framevis:1; - bool b_histEnabled:1; - - int curr_schema; // current schema no - int n_bell; - int n_font; - int n_keytab; - int n_render; - int n_scroll; - unsigned m_histSize; - bool m_runningShell; - bool m_streamEnabled; -public: - // these are the implementations for the TermEmuInterface - // functions... - void startProgram( const TQString& program, - const TQStrList& args ); - void showShellInDir( const TQString& dir ); - void sendInput( const TQString& text ); -}; - -////////////////////////////////////////////////////////////////////// - -/*class HistoryTypeDialog : public KDialogBase -{ - Q_OBJECT -public: - HistoryTypeDialog(const HistoryType& histType, - unsigned int histSize, - TQWidget *parent); - -public slots: - void slotDefault(); - void slotSetUnlimited(); - void slotHistEnable(bool); - - unsigned int nbLines() const; - bool isOn() const; - -protected: - TQCheckBox* m_btnEnable; - TQSpinBox* m_size; - TQPushButton* m_setUnlimited; -};*/ - -////////////////////////////////////////////////////////////////////// - -class konsoleBrowserExtension : public KParts::BrowserExtension -{ - Q_OBJECT - friend class konsolePart; - public: - konsoleBrowserExtension(konsolePart *parent); - virtual ~konsoleBrowserExtension(); - - void emitOpenURLRequest(const KURL &url); -}; - -#endif diff --git a/python/pykde/extra/kde310/kpanelmenu.h b/python/pykde/extra/kde310/kpanelmenu.h deleted file mode 100644 index 734c5051..00000000 --- a/python/pykde/extra/kde310/kpanelmenu.h +++ /dev/null @@ -1,181 +0,0 @@ -/***************************************************************** - -Copyright (c) 1996-2000 the kicker authors. See file AUTHORS. - (c) 2001 Michael Goffioul - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN -AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - -******************************************************************/ - -#ifndef __KPANELMENU_H__ -#define __KPANELMENU_H__ - -#include -#include -#include - -class KPanelMenuPrivate; - -/** - * Base class to build dynamically loaded menu entries for the K-menu, or the panel. - * - * This class allows to build menu entries that will be dynamically added either to - * the K-menu, or to the panel as a normal button. These dynamic menus are located - * in shared libraries that will be loaded at runtime by Kicker (the KDE panel). - * - * To build such a menu, you have to inherit this class and implement the pure virtual - * functions #initialize() and @ref slotExec(). You also have to provide a factory - * object in your library, see @ref KLibFactory. This factory is only used to construct - * the menu object. - * - * Finally, you also have to provide a desktop file describing your dynamic menu. The - * relevant entries are: Name, Comment, Icon and X-KDE-Library (which contains the - * library name without any extension). This desktop file has to be installed in - * $KDEDIR/share/apps/kicker/menuext/. - * - * @short Base class to build dynamically loaded menu entries for the K-menu, or the panel. - * @author The kicker maintainer, Michael Goffioul - */ -class KPanelMenu : public KPopupMenu -{ - Q_OBJECT - -public: - /** - * Construct a KPanelMenu object. This is the normal constructor to use when - * building extrernal menu entries. - */ - KPanelMenu(TQWidget *parent=0, const char *name=0); - /** - * Constructor used internally by Kicker. You don't really want to use it. - * @param startDir a directory to associate with this menu - * @see path(), setPath() - */ - KPanelMenu(const TQString &startDir, TQWidget *parent=0, const char *name=0); - /** - * Destructor. - */ - virtual ~KPanelMenu(); - - /** - * Get the directory path associated with this menu, or TQString::null if - * there's no such associated path. - * @return the associated directory path - * @see setPath() - */ - const TQString& path() const; - /** - * Set a directory path to be associated with this menu. - * @param p the directory path - * @see path() - */ - void setPath(const TQString &p); - /** - * Tell if the menu has been initialized, that is it already contains items. - * This is useful when you need to know if you have to clear the menu, or to - * fill it. - * @return the initial state - * @see setInitialized(), initialize() - */ - bool initialized() const; - /** - * Set the initial state. Set it to true when you menu is filled with the items - * you want. - * @param on the initial state - * @see initialized(), initialize() - */ - void setInitialized(bool on); - - /** - * Disable the automatic clearing of the menu. Kicker uses a cache system for - * its menus. After a specific configurable delay, the menu will be cleared. - * Use this function if you want to disable kicker's cache system, and avoid - * the clearing of your menu. - */ - void disableAutoClear(); - -public slots: - /** - * Reinitialize the menu: the menu is first cleared, the initial state is set - * to false, and finally #initialize() is called. Use this if you want to - * refill your menu immediately. - */ - void reinitialize(); - /** - * Deinitialize the menu: the menu is cleared and the initialized state is set to - * false. #initialize() is NOT called. It will be called before the menu is - * next shown, however. Use this slot if you want a delayed reinitialization. - * @since 3.1 - */ - void deinitialize(); - -protected slots: - /** - * This slot is called just before the menu is shown. This allows your menu - * to update itself if needed. However you should instead re-implement - * #initialize to provide this feature. This function is responsible for - * the cache system handling, so if you re-implement it, you should call - * the base function also. Calls #initialize(). - * @see disableAutoClear() - */ - virtual void slotAboutToShow(); - /** - * This is slot is called when an item from the menu has been selected. Your - * applet is then supposed to perform some action. You must re-implement this - * function. - * @param id the ID associated with the selected item - */ - virtual void slotExec(int id) = 0; - /** - * This slots is called to initialize the menu. It is called automatically by - * @ref slotAboutToShow(). By re-implementing this functions, you can reconstruct - * the menu before it is being shown. At the end of this function, you should - * call @ref setInitialize() with true to tell the system that the menu is OK. - * You applet must re-implement this function. - * @see slotAboutToShow(), initialized(), setInitialized() - */ - virtual void initialize() = 0; - /** - * Clears the menu, and update the initial state accordingly. - * @see initialized() - */ - void slotClear(); - -protected: - /** - * Re-implemented for internal reasons. - */ - virtual void hideEvent(TQHideEvent *ev); - /** - * For internal use only. Used by constructors. - */ - void init(const TQString& path = TQString::null); - -protected: - virtual void virtual_hook( int id, void* data ); -private: - void internalInitialize(); - KPanelMenuPrivate *d; -}; - -//#define K_EXPORT_KICKER_MENUEXT( libname, classname ) \ -// K_EXPORT_COMPONENT_FACTORY( \ -// kickermenu_##libname, \ -// KGenericFactory("libkickermenu_" #libname) ) - -#endif diff --git a/python/pykde/extra/kde310/krecentdirs.h b/python/pykde/extra/kde310/krecentdirs.h deleted file mode 100644 index 61a50706..00000000 --- a/python/pykde/extra/kde310/krecentdirs.h +++ /dev/null @@ -1,68 +0,0 @@ -/* -*- c++ -*- - * Copyright (C)2000 Waldo Bastian - * - * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * - * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND - * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE - * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS - * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) - * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT - * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY - * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF - * SUCH DAMAGE. - * - */ -#ifndef __KRECENTDIRS_H -#define __KRECENTDIRS_H - -#include - -/** - * The goal of this class is to make sure that, when the user needs to - * specify a file via the file selection dialog, this dialog will start - * in the directory most likely to contain the desired files. - * - * This works as follows: Each time the file selection dialog is - * shown, the programmer can specify a "file-class". The file-dialog will - * then start with the directory associated with this file-class. When - * the dialog closes, the directory currently shown in the file-dialog - * will be associated with the file-class. - * - * A file-class can either start with ':' or with '::'. If it starts with - * a single ':' the file-class is specific to the current application. - * If the file-class starts with '::' it is global to all applications. - */ -class KRecentDirs -{ -public: - /** - * Returns a list of directories associated with this file-class. - * The most recently used directory is at the front of the list. - */ - static TQStringList list(const TQString &fileClass); - - /** - * Returns the most recently used directory accociated with this file-class. - */ - static TQString dir(const TQString &fileClass); - - /** - * Associates @p directory with @p fileClass - */ - static void add(const TQString &fileClass, const TQString &directory); -}; - -#endif diff --git a/python/pykde/extra/kde310/ksycocafactory.h b/python/pykde/extra/kde310/ksycocafactory.h deleted file mode 100644 index 1959edda..00000000 --- a/python/pykde/extra/kde310/ksycocafactory.h +++ /dev/null @@ -1,137 +0,0 @@ -/* This file is part of the KDE libraries - * Copyright (C) 1999 Waldo Bastian - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License version 2 as published by the Free Software Foundation; - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public License - * along with this library; see the file COPYING.LIB. If not, write to - * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - * Boston, MA 02110-1301, USA. - **/ - -#ifndef __ksycocafactory_h__ -#define __ksycocafactory_h__ "$Id: ksycocafactory.h,v 1.13 2002/09/21 15:07:27 tjansen Exp $" - -#include "ksycocatype.h" -#include "ksycocaentry.h" - -#include -#include -class KSycoca; -class TQStringList; -class TQString; -class KSycocaDict; -class KSycocaResourceList; - -typedef TQDict KSycocaEntryDict; - -/** - * @internal - * Base class for sycoca factories - */ -class KSycocaFactory -{ -public: - virtual KSycocaFactoryId factoryId() const = 0; - -protected: // virtual class - /** - * Create a factory which can be used to lookup from/create a database - * (depending on KSycoca::isBuilding()) - */ - KSycocaFactory( KSycocaFactoryId factory_id ); - -public: - virtual ~KSycocaFactory(); - - /** - * @return the position of the factory in the sycoca file - */ - int offset() { return mOffset; } - - /** - * @return the dict, for special use by KBuildSycoca - */ - KSycocaEntryDict * entryDict() { return m_entryDict; } - - /** - * Construct an entry from a config file. - * To be implemented in the real factories. - */ - virtual KSycocaEntry *createEntry(const TQString &file, const char *resource) = 0; - - /** - * Add an entry - */ - virtual void addEntry(KSycocaEntry *newEntry, const char *resource); - - /** - * Read an entry from the database - */ - virtual KSycocaEntry *createEntry(int offset)=0; - - /** - * Get a list of all entries from the database. - */ - KSycocaEntry::List allEntries(); - - /** - * Saves all entries it maintains as well as index files - * for these entries to the stream 'str'. - * - * Also sets mOffset to the starting position. - * - * The stream is positioned at the end of the last index. - * - * Don't forget to call the parent first when you override - * this function. - */ - virtual void save(TQDataStream &str); - - /** - * Writes out a header to the stream 'str'. - * The baseclass positions the stream correctly. - * - * Don't forget to call the parent first when you override - * this function. - */ - virtual void saveHeader(TQDataStream &str); - - /** - * @return the resources for which this factory is responsible. - */ - virtual const KSycocaResourceList * resourceList() const { return m_resourceList; } - -private: - int mOffset; - -protected: - int m_sycocaDictOffset; - int m_beginEntryOffset; - int m_endEntryOffset; - TQDataStream *m_str; - - KSycocaResourceList *m_resourceList; - KSycocaEntryDict *m_entryDict; - KSycocaDict *m_sycocaDict; -protected: - virtual void virtual_hook( int id, void* data ); -}; - -/** This, instead of a typedef, allows to declare "class ..." in header files - * @internal - */ -class KSycocaFactoryList : public TQPtrList -{ -public: - KSycocaFactoryList() { } -}; - -#endif diff --git a/python/pykde/extra/kde310/ktoolbarbutton.h b/python/pykde/extra/kde310/ktoolbarbutton.h deleted file mode 100644 index 6fafb1ed..00000000 --- a/python/pykde/extra/kde310/ktoolbarbutton.h +++ /dev/null @@ -1,317 +0,0 @@ -/* This file is part of the KDE libraries - Copyright (C) 1997, 1998 Stephan Kulow (coolo@kde.org) - (C) 1997, 1998 Sven Radej (radej@kde.org) - (C) 1997, 1998 Mark Donohoe (donohoe@kde.org) - (C) 1997, 1998 Matthias Ettrich (ettrich@kde.org) - (C) 2000 Kurt Granroth (granroth@kde.org) - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License version 2 as published by the Free Software Foundation. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. -*/ - -// $Id: ktoolbarbutton.h,v 1.26 2002/09/28 15:16:22 tjansen Exp $ -#ifndef _KTOOLBARBUTTON_H -#define _KTOOLBARBUTTON_H - -#include -#include -#include -#include -#include - -class KToolBar; -class KToolBarButtonPrivate; -class KInstance; -class TQEvent; -class TQPopupMenu; -class TQPainter; - -/** - * A toolbar button. This is used internally by @ref KToolBar, use the - * KToolBar methods instead. - * @internal - */ -class KToolBarButton : public QToolButton -{ - Q_OBJECT - -public: - /** - * Construct a button with an icon loaded by the button itself. - * This will trust the button to load the correct icon with the - * correct size. - * - * @param icon Name of icon to load (may be absolute or relative) - * @param id Id of this button - * @param parent This button's parent - * @param name This button's internal name - * @param txt This button's text (in a tooltip or otherwise) - */ - KToolBarButton(const TQString& icon, int id, TQWidget *parent, - const char *name=0L, const TQString &txt=TQString::null, - KInstance *_instance = KGlobal::instance()); - - /** - * Construct a button with an existing pixmap. It is not - * recommended that you use this as the internal icon loading code - * will almost always get it "right". - * - * @param icon Name of icon to load (may be absolute or relative) - * @param id Id of this button - * @param parent This button's parent - * @param name This button's internal name - * @param txt This button's text (in a tooltip or otherwise) - */ - KToolBarButton(const TQPixmap& pixmap, int id, TQWidget *parent, - const char *name=0L, const TQString &txt=TQString::null); - - /** - * Construct a separator button - * - * @param parent This button's parent - * @param name This button's internal name - */ - KToolBarButton(TQWidget *parent=0L, const char *name=0L); - - /** - * Standard destructor - */ - ~KToolBarButton(); - -#ifndef KDE_NO_COMPAT - /** - * @deprecated - * Set the pixmap directly for this button. This pixmap should be - * the active one... the dimmed and disabled pixmaps are constructed - * based on this one. However, don't use this function unless you - * are positive that you don't want to use @ref setIcon. - * - * @param pixmap The active pixmap - */ - // this one is from TQButton, so #ifdef-ing it out doesn't break BC - virtual void setPixmap(const TQPixmap &pixmap); - - /** - * @deprecated - * Force the button to use this pixmap as the default one rather - * then generating it using effects. - * - * @param pixmap The pixmap to use as the default (normal) one - */ - void setDefaultPixmap(const TQPixmap& pixmap); - - /** - * @deprecated - * Force the button to use this pixmap when disabled one rather then - * generating it using effects. - * - * @param pixmap The pixmap to use when disabled - */ - void setDisabledPixmap(const TQPixmap& pixmap); -#endif - - /** - * Set the text for this button. The text will be either used as a - * tooltip (IconOnly) or will be along side the icon - * - * @param text The button (or tooltip) text - */ - virtual void setText(const TQString &text); - - /** - * Set the icon for this button. The icon will be loaded internally - * with the correct size. This function is preferred over @ref setIconSet - * - * @param icon The name of the icon - */ - virtual void setIcon(const TQString &icon); - - /// @since 3.1 - virtual void setIcon( const TQPixmap &pixmap ) - { TQToolButton::setIcon( pixmap ); } - - /** - * Set the pixmaps for this toolbar button from a TQIconSet. - * If you call this you don't need to call any of the other methods - * that set icons or pixmaps. - * @param iconset The iconset to use - */ - virtual void setIconSet( const TQIconSet &iconset ); - -#ifndef KDE_NO_COMPAT - /** - * @deprecated - * Set the active icon for this button. The pixmap itself is loaded - * internally based on the icon size... .. the disabled and default - * pixmaps, however will only be constructed if @ref #generate is - * true. This function is preferred over @ref setPixmap - * - * @param icon The name of the active icon - * @param generate If true, then the other icons are automagically - * generated from this one - */ - void setIcon(const TQString &icon, bool /*generate*/ ) { setIcon( icon ); } - - /** - * @deprecated - * Force the button to use this icon as the default one rather - * then generating it using effects. - * - * @param icon The icon to use as the default (normal) one - */ - void setDefaultIcon(const TQString& icon); - - /** - * @deprecated - * Force the button to use this icon when disabled one rather then - * generating it using effects. - * - * @param icon The icon to use when disabled - */ - void setDisabledIcon(const TQString& icon); -#endif - - /** - * Turn this button on or off - * - * @param flag true or false - */ - void on(bool flag = true); - - /** - * Toggle this button - */ - void toggle(); - - /** - * Turn this button into a toggle button or disable the toggle - * aspects of it. This does not toggle the button itself. - * Use @ref toggle() for that. - * - * @param toggle true or false - */ - void setToggle(bool toggle = true); - - /** - * Return a pointer to this button's popup menu (if it exists) - */ - TQPopupMenu *popup(); - - /** - * Give this button a popup menu. There will not be a delay when - * you press the button. Use @ref setDelayedPopup if you want that - * behavior. You can also make the popup-menu - * "sticky", i.e. visible until a selection is made or the mouse is - * clikced elsewhere, by simply setting the second argument to true. - * This "sticky" button feature allows you to make a selection without - * having to press and hold down the mouse while making a selection. - * - * @param p The new popup menu - * @param toggle if true, makes the button "sticky" (toggled) - */ - void setPopup (TQPopupMenu *p, bool toggle = false); - - /** - * Gives this button a delayed popup menu. - * - * This function allows you to add a delayed popup menu to the button. - * The popup menu is then only displayed when the button is pressed and - * held down for about half a second. You can also make the popup-menu - * "sticky", i.e. visible until a selection is made or the mouse is - * clikced elsewhere, by simply setting the second argument to true. - * This "sticky" button feature allows you to make a selection without - * having to press and hold down the mouse while making a selection. - * - * @param p the new popup menu - * @param toggle if true, makes the button "sticky" (toggled) - */ - void setDelayedPopup(TQPopupMenu *p, bool toggle = false); - - /** - * Turn this button into a radio button - * - * @param f true or false - */ - void setRadio(bool f = true); - - /** - * Toolbar buttons naturally will assume the global styles - * concerning icons, icons sizes, etc. You can use this function to - * explicitely turn this off, if you like. - * - * @param no_style Will disable styles if true - */ - void setNoStyle(bool no_style = true); - -signals: - void clicked(int); - void doubleClicked(int); - void pressed(int); - void released(int); - void toggled(int); - void highlighted(int, bool); - -public slots: - /** - * This slot should be called whenever the toolbar mode has - * potentially changed. This includes such events as text changing, - * orientation changing, etc. - */ - void modeChange(); - virtual void setTextLabel(const TQString&, bool tipToo); - -protected: - void paletteChange(const TQPalette &); - void leaveEvent(TQEvent *e); - void enterEvent(TQEvent *e); - void drawButton(TQPainter *p); - bool eventFilter (TQObject *o, TQEvent *e); - void showMenu(); - TQSize sizeHint() const; - TQSize minimumSizeHint() const; - TQSize minimumSize() const; - - /// @since 3.1 - bool isRaised() const; - /// @since 3.1 - bool isActive() const; - /// @since 3.1 - int iconTextMode() const; - -protected slots: - void slotClicked(); - void slotPressed(); - void slotReleased(); - void slotToggled(); - void slotDelayTimeout(); - -protected: - virtual void virtual_hook( int id, void* data ); -private: - KToolBarButtonPrivate *d; -}; - -/** -* List of @ref KToolBarButton objects. -* @internal -* @version $Id: ktoolbarbutton.h,v 1.26 2002/09/28 15:16:22 tjansen Exp $ -*/ -class KToolBarButtonList : public TQIntDict -{ -public: - KToolBarButtonList(); - ~KToolBarButtonList() {} -}; - -#endif diff --git a/python/pykde/extra/kde310/kurifilter.h b/python/pykde/extra/kde310/kurifilter.h deleted file mode 100644 index 6daf7769..00000000 --- a/python/pykde/extra/kde310/kurifilter.h +++ /dev/null @@ -1,602 +0,0 @@ -/* - * This file is part of the KDE libraries - * Copyright (C) 2000 Yves Arrouye - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public License - * along with this library; see the file COPYING.LIB. If not, write to - * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - * Boston, MA 02110-1301, USA. - **/ - -#ifndef __kurifilter_h__ -#define __kurifilter_h__ "$Id: kurifilter.h,v 1.27 2002/10/30 09:37:39 neil Exp $" - -#include -#include - -#include - -class KURIFilterPrivate; -class KURIFilterDataPrivate; - -class TQStringList; -class KCModule; - -/** -* This is a basic message object used for exchanging filtering -* information between the filter plugins and the application -* whenever the application requires more information about the -* URI than just a filtered version of it. Any application can -* create an instance of this class and send it to @ref KURIFilter -* to have the filter plugins fill the necessary information. -* -* @sect Example -*
-*   TQString text = "kde.org";
-*   KURIFilterData d = text;
-*   bool filtered = KURIFilter::self()->filter( d );
-*   if( filtered )
-*     print ( "URI: %s\n"Filtered URI: %s\n URI Type: %i\n"Was Filtered: %i"
-*             text.latin1(), d.uri().url().latin1(), d.uriType(), filtered );
-* 
-* -* The above code should yield the following output: -*
-*   URI: kde.org
-*   Filtered URI: http://kde.org
-*   URI Type: 0            <== means NET_PROTOCOL
-*   Was Filtered: 1        <== means the URL was successfully filtered
-* 
-* -* @short A message object for exchanging filtering URI info. -*/ - -class KURIFilterData -{ -friend class KURIFilterPlugin; - -public: - /** - * Describes the type of URI to be filtered. - * - * This enumerator prvoides the return value for - * @ref uriType. A brief description for each value: - * - * @li NET_PROTOCOL - Any network protocol: http, ftp, nttp, pop3, etc... - * @li LOCAL_FILE - A local file whose executable flag is not set - * @li LOCAL_DIR - A local directory - * @li EXECUTABLE - A local file whose executable flag is set - * @li HELP - A man or info page - * @li SHELL - A shell executable (ex: echo "Test..." >> ~/testfile) - * @li BLOCKED - A URI that should be blocked/filtered (ex: ad filtering) - * @li ERROR - An incorrect URI (ex: "~johndoe" when user johndoe - * does not exist in that system ) - * @li UNKNOWN - A URI that is not identified. Default value when - * a KURIFilterData is first created. - */ - enum URITypes { NET_PROTOCOL=0, LOCAL_FILE, LOCAL_DIR, EXECUTABLE, HELP, SHELL, BLOCKED, ERROR, UNKNOWN }; - - /** - * Default constructor. - * - * Creates a URIFilterData object. - */ - KURIFilterData() { init(); } - - /** - * Creates a URIFilterData object from the given URL. - * - * @param url is the URL to be filtered. - */ - KURIFilterData( const KURL& url ) { init( url); } - - /** - * Creates a URIFilterData object from the given string. - * - * @param url is the string to be filtered. - */ - KURIFilterData( const TQString& url ) { init( url ); } - - /** - * Copy constructor. - * - * Creates a URIFilterData object from another - * URI filter data object. - * - * @param data the uri filter data to be copied. - */ - KURIFilterData( const KURIFilterData& /*data*/); - - /** - * Destructor. - */ - ~KURIFilterData(); - - /** - * This method has been deprecated and will always return - * TRUE. You should instead use the result from the - * @ref KURIFilter::filterURI() calls. - * - * @deprecated - */ - bool hasBeenFiltered() const { return m_bFiltered; } - - /** - * Returns the filtered or the original URL. - * - * This function returns the filtered url if one - * of the plugins sucessfully filtered the original - * URL. Otherwise, it returns the original URL. - * See @ref #hasBeenFiltered() and - * - * @return the filtered or original url. - */ - KURL uri() const { return m_pURI; } - - /** - * Returns an error message. - * - * This functions returns the error message set - * by the plugin whenever the uri type is set to - * KURIFilterData::ERROR. Otherwise, it returns - * a TQString::null. - * - * @return the error message or a NULL when there is none. - */ - TQString errorMsg() const { return m_strErrMsg; } - - /** - * Returns the URI type. - * - * This method always returns KURIFilterData::UNKNOWN - * if the given URL was not filtered. - */ - URITypes uriType() const { return m_iType; } - - /** - * Sets the URL to be filtered. - * - * Use this function to set the string to be - * filtered when you construct an empty filter - * object. - * - * @param url the string to be filtered. - */ - void setData( const TQString& url ) { init( url ); } - - /** - * Same as above except the argument is a URL. - * - * Use this function to set the string to be - * filtered when you construct an empty filter - * object. - * - * @param url the URL to be filtered. - */ - void setData( const KURL& url ) { init( url ); } - - /** - * Sets the absolute path to be used whenever the supplied - * data is a relative local URL. - * - * NOTE: This function works only for a local resource and - * expects the absolute path to the relative URL set in this - * meta object. If you are extracting the absolute path from - * a KURL object, make sure you always set the argument below - * using KURL::path() instead of KURL::url() so that "file:/" - * would not be appended! Otherwise, the filter might not be - * able to make correct determination whether the relative URL - * locally exists! - * - * @param abs_path the abolute path to the local resource. - * @return true if absolute path is successfully set. Otherwise, false. - */ - bool setAbsolutePath( const TQString& /* abs_path */ ); - - /** - * Returns the absolute path if one has already been set. - */ - TQString absolutePath() const; - - /** - * Returns true if the supplied data has an absolute path. - */ - bool hasAbsolutePath() const; - - /** - * Returns the command line options and arguments for a - * local resource when present. - * - * @return options and arguments when present, otherwise TQString::null - */ - TQString argsAndOptions() const; - - /** - * Returns true if the current data is a local resource with - * command line options and arguments. - */ - bool hasArgsAndOptions() const; - - /** - * Returns the name of the icon that matches - * the current filtered URL. - * - * NOTE that this function will return a NULL - * string by default and when no associated icon - * is found. - * - * @return the name of the icon associated with the resource - */ - TQString iconName(); - - /** - * Overloaded assigenment operator. - * - * This function allows you to easily assign a KURL - * to a KURIFilterData object. - * - * @return an instance of a KURIFilterData object. - */ - KURIFilterData& operator=( const KURL& url ) { init( url ); return *this; } - - /** - * Overloaded assigenment operator. - * - * This function allows you to easily assign a QString - * to a KURIFilterData object. - * - * @return an instance of a KURIFilterData object. - */ - KURIFilterData& operator=( const TQString& url ) { init( url ); return *this; } - -protected: - - /** - * Initializes the KURIFilterData on construction. - */ - void init( const KURL& url = TQString::null ); - -private: - bool m_bFiltered; - bool m_bChanged; - - TQString m_strErrMsg; - TQString m_strIconName; - - KURL m_pURI; - URITypes m_iType; - KURIFilterDataPrivate *d; -}; - - -/** - * Base class for URI filter plugins. - * - * This class applies a single filter to a URI. All - * plugins designed to provide URI filtering functionalities - * should inherit from this abstract class and provide a - * specific filtering implementation. - * - * All inheriting classes need to implement the pure - * virtual function @ref filterURI. Otherwise, they - * would also become abstract. - * - * @short Abstract class for URI filter plugins. - */ -class KURIFilterPlugin : public QObject -{ - Q_OBJECT - -public: - - /** - * Constructs a filter plugin with a given name and - * priority. - * - * @param parent the parent object. - * @param name the name of the plugin. - * @param pri the priority of the plugin. - */ - KURIFilterPlugin( TQObject *parent = 0, const char *name = 0, double pri = 1.0 ); - - /** - * Returns the filter's name. - * - * @return A string naming the filter. - */ - virtual TQString name() const { return m_strName; } - - /** - * Returns the filter's priority. - * - * Each filter has an assigned priority, a float from 0 to 1. Filters - * with the lowest priority are first given a chance to filter a URI. - * - * @return The priority of the filter. - */ - virtual double priority() const { return m_dblPriority; } - - /** - * Filters a URI. - * - * @param data the URI data to be filtered. - * @return A boolean indicating whether the URI has been changed. - */ - virtual bool filterURI( KURIFilterData& data ) const = 0; - - /** - * Creates a configuration module for the filter. - * - * It is the responsability of the caller to delete the module - * once it is not needed anymore. - * - * @return A configuration module, @p null if the filter isn't configurable. - */ - virtual KCModule *configModule( TQWidget*, const char* ) const { return 0; } - - /** - * Returns the name of the configuration module for the filter. - * - * @return the name of a configuration module or @p null if none. - */ - virtual TQString configName() const { return name(); } - -protected: - - /** - * Sets the the URL in @p data to @p uri. - */ - void setFilteredURI ( KURIFilterData& data, const KURL& uri ) const; - - /** - * Sets the error message in @p data to @p errormsg. - */ - void setErrorMsg ( KURIFilterData& data, const TQString& errmsg ) const { - data.m_strErrMsg = errmsg; - } - - /** - * Sets the URI type in @p data to @p type. - */ - void setURIType ( KURIFilterData& data, KURIFilterData::URITypes type) const { - data.m_iType = type; - data.m_bChanged = true; - } - - /** - * Sets the arguments and options string in @p data - * to @p args if any were found during filterting. - */ - void setArguments( KURIFilterData& data, const TQString& args ) const; - - TQString m_strName; - double m_dblPriority; - -protected: - virtual void virtual_hook( int id, void* data ); -private: - class KURIFilterPluginPrivate *d; -}; - - -class KURIFilterPluginList : public TQPtrList -{ -public: - virtual int compareItems(Item a, Item b) - { - double diff = ((KURIFilterPlugin *) a)->priority() - ((KURIFilterPlugin *) b)->priority(); - return diff < 0 ? -1 : (diff > 0 ? 1 : 0); - } - -private: - KURIFilterPrivate *d; - -}; - -/** - * Manages the filtering of a URI. - * - * The intention of this plugin class is to allow people to extend - * the functionality of KURL without modifying it directly. This - * way KURL will remain a generic parser capable of parsing any - * generic URL that adheres to specifications. - * - * The KURIFilter class applies a number of filters to a URI, - * and returns the filtered version whenever possible. The filters - * are implemented using plugins to provide easy extensibility - * of the filtering mechanism. That is, new filters can be added in - * the future by simply inheriting from @ref KURIFilterPlugin and - * implementing the @ref KURIFilterPlugin::filterURI method. - * - * Use of this plugin-manager class is straight forward. Since - * it is a singleton object, all you have to do is obtain an instance - * by doing @p KURIFilter::self() and use any of the public member - * functions to preform the filtering. - * - * @sect Example - * - * To simply filter a given string: - *
- * bool filtered = KURIFilter::self()->filterURI( "kde.org" );
- * 
- * - * You can alternatively use a KURL: - *
- * KURL url = "kde.org";
- * bool filtered = KURIFilter::self()->filterURI( url );
- * 
- * - * If you have a constant string or a constant URL, - * simply invoke the corresponding function to obtain - * the filtered string or URL instead of a boolean flag: - *
- * TQString u = KURIFilter::self()->filteredURI( "kde.org" );
- * 
- * - * You can also specify only specific filter(s) to be applied - * by supplying the name(s) of the filter(s). By defualt all - * filters that are found are loaded when the KURIFilter object - * is created will be used. These names are taken from the - * enteries in the \".desktop\" files. Here are a couple of - * examples: - *
- * TQString text = "kde.org";
- * bool filtered = KURIFilter::self()->filterURI( text, "KShortURIFilter" );
- *
- * TQStringList list;
- * list << "KShortURIFilter" << "MyFilter";
- * bool filtered = KURIFilter::self()->filterURI( text, list );
- * 
- * - * KURIFilter also allows richer data exchange through a simple - * meta-object called @p KURIFilterData. Using this meta-object - * you can find out more information about the URL you want to - * filter. See @ref KURIFilterData for examples and details. - * - * @short Filters a given URL into its proper format whenever possible. - */ - -class KURIFilter -{ -public: - /** - * Destructor - */ - ~KURIFilter (); - - /** - * Return a static instance of KURIFilter. - */ - static KURIFilter* self(); - - /** - * Filters the URI given by the object URIFilterData. - * - * This filters the given data based on the specified - * filter list. If the list is empty all avaliable - * filter plugins would be used. If not, only those - * given in the list are used. - * - * @param data object that contains the URI to be filtered. - * @param filters specify the list filters to be used - * - * @return a boolean indicating whether the URI has been changed - */ - bool filterURI( KURIFilterData& data, const TQStringList& filters = TQStringList() ); - - /** - * Filters the URI given by the URL. - * - * This filters the given URL based on the specified - * filter list. If the list is empty all avaliable - * filter plugins would be used. If not, only those - * given in the list are used. - * - * @param uri the URI to filter. - * @param filters specify the list of filters to be used - * - * @return a boolean indicating whether the URI has been changed - */ - bool filterURI( KURL &uri, const TQStringList& filters = TQStringList() ); - - /** - * Filters a string representing a URI. - * - * This filters the given string based on the specified - * filter list. If the list is empty all avaliable - * filter plugins would be used. If not, only those - * given in the list are used. - * - * @param uri The URI to filter. - * @param filters specify the list filters to be used - * - * @return a boolean indicating whether the URI has been changed - */ - bool filterURI( TQString &uri, const TQStringList& filters = TQStringList() ); - - /** - * Returns the filtered URI. - * - * This filters the given URL based on the specified - * filter list. If the list is empty all avaliable - * filter plugins would be used. If not, only those - * given in the list are used. - * - * @param uri The URI to filter. - * @param filters specify the list filters to be used - * - * @return the filtered URI or null if it cannot be filtered - */ - KURL filteredURI( const KURL &uri, const TQStringList& filters = TQStringList() ); - - /** - * Return a filtered string representation of a URI. - * - * This filters the given URL based on the specified - * filter list. If the list is empty all avaliable - * filter plugins would be used. If not, only those - * given in the list are used. - * - * @param uri the URI to filter. - * @param filters specify the list filters to be used - * - * @return the filtered URI or null if it cannot be filtered - */ - TQString filteredURI( const TQString &uri, const TQStringList& filters = TQStringList() ); - - /** - * Return an iterator to iterate over all loaded - * plugins. - * - * @return a plugin iterator. - */ - TQPtrListIterator pluginsIterator() const; - - /** - * Return a list of the names of all loaded plugins - * - * @since 3.1 - * - * @return a TQStringList of plugin names - */ - TQStringList pluginNames() const; - -protected: - - /** - * A protected constructor. - * - * This constructor creates a KURIFilter and - * initializes all plugins it can find by invoking - * @ref loadPlugins. - */ - KURIFilter(); - - /** - * Loads all allowed plugins. - * - * This function loads all filters that have not - * been dis - */ - void loadPlugins(); - -private: - - static KURIFilter *m_self; - KURIFilterPluginList m_lstPlugins; - KURIFilterPrivate *d; - -}; - -#endif - diff --git a/python/pykde/extra/kde311/kaccelaction.h b/python/pykde/extra/kde311/kaccelaction.h deleted file mode 100644 index 8e422505..00000000 --- a/python/pykde/extra/kde311/kaccelaction.h +++ /dev/null @@ -1,564 +0,0 @@ -/* This file is part of the KDE libraries - Copyright (C) 2001,2002 Ellis Whitehead - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. -*/ - -#ifndef _KACCELACTION_H -#define _KACCELACTION_H - -#include -#include -#include -#include - -#include - -class KAccelBase; - -class TQObject; -class KConfig; -class KConfigBase; - -/** - * @internal - * A KAccelAction prepresents an action that can be executed using - * an accelerator key. Each KAccelAction has a name, a label, a - * "What's this" string and a @ref KShortcut. The user can configure and - * enable/disable them using @ref KKeyDialog. - * - *
- *	1) KAccelAction = "Run Command"
- *		Default3 = "Alt+F2"
- *		Default4 = "Meta+Enter;Alt+F2"
- *		1) KShortcut = "Meta+Enter"
- *			1) KKeySequence = "Meta+Enter"
- *				1) KKey = "Meta+Enter"
- *					1) Meta+Enter
- *					2) Meta+Keypad_Enter
- *		2) KShortcut = "Alt+F2"
- *			1) KKeySequence = "Alt+F2"
- *				1) Alt+F2
- *	2) KAccelAction = "Something"
- *		Default3 = ""
- *		Default4 = ""
- *		1) KShortcut = "Meta+X,Asterisk"
- *			1) KKeySequence = "Meta+X,Asterisk"
- *				1) KKey = "Meta+X"
- *					1) Meta+X
- *				2) KKey = "Asterisk"
- *					1) Shift+8 (English layout)
- *					2) Keypad_Asterisk
- * 
- * @short An accelerator action - * @see KAccel - * @see KGlobalAccel - * @see KKeyChooser - * @see KKeyDialog - */ -class KAccelAction -{ - public: - /** - * Creates an empty KAccelAction. - * @see clear() - */ - KAccelAction(); - - /** - * Copy constructor. - */ - KAccelAction( const KAccelAction& ); - - /** - * Creates a new KAccelAction. - * @param sName the name of the accelerator - * @param sLabel the label of the accelerator (i18n!) - * @param sWhatsThis the What's This text (18n!) - * @param cutDef3 the default shortcut for 3 modifier systems - * @param cutDef4 the default shortcut for 4 modifier systems - * @param pObjSlot the receiver of a signal when the key has been - * pressed - * @param psMethodSlot the slot to connect for key presses. Receives - * an int, as set by @ref setID(), as only argument - * @param bConfigurable if true the user can configure the shortcut - * @param bEnabled true if the accelerator should be enabled - */ - KAccelAction( const TQString& sName, const TQString& sLabel, const TQString& sWhatsThis, - const KShortcut& cutDef3, const KShortcut& cutDef4, - const TQObject* pObjSlot, const char* psMethodSlot, - bool bConfigurable, bool bEnabled ); - ~KAccelAction(); - - /** - * Clears the accelerator. - */ - void clear(); - - /** - * Re-initialized the KAccelAction. - * @param sName the name of the accelerator - * @param sLabel the label of the accelerator (i18n!) - * @param sWhatsThis the What's This text (18n!) - * @param cutDef3 the default shortcut for 3 modifier systems - * @param cutDef4 the default shortcut for 4 modifier systems - * @param pObjSlot the receiver of a signal when the key has been - * pressed - * @param psMethodSlot the slot to connect for key presses. Receives - * an int, as set by @ref setID(), as only argument - * @param bConfigurable if true the user can configure the shortcut - * @param bEnabled true if the accelerator should be enabled - * @return true if successful, false otherwise - */ - bool init( const TQString& sName, const TQString& sLabel, const TQString& sWhatsThis, - const KShortcut& cutDef3, const KShortcut& cutDef4, - const TQObject* pObjSlot, const char* psMethodSlot, - bool bConfigurable, bool bEnabled ); - - /** - * Copies this KAccelAction. - */ - KAccelAction& operator=( const KAccelAction& ); - - /** - * Returns the name of the accelerator action. - * @return the name of the accelerator action, can be null if not - * set - */ - const TQString& name() const { return m_sName; } - - /** - * Returns the label of the accelerator action. - * @return the label of the accelerator action, can be null if - * not set - */ - const TQString& label() const { return m_sLabel; } - - /** - * Returns the What's This text of the accelerator action. - * @return the What's This text of the accelerator action, can be - * null if not set - */ - const TQString& whatsThis() const { return m_sWhatsThis; } - - /** - * The shortcut that is actually used (may be used configured). - * @return the shortcut of the KAccelAction, can be null if not set - * @see shortcutDefault() - */ - const KShortcut& shortcut() const { return m_cut; } - - /** - * The default shortcut for this system. - * @return the default shortcut on this system, can be null if not set - * @see shortcut() - * @see shortcutDefault3() - * @see shortcutDefault4() - */ - const KShortcut& shortcutDefault() const; - - /** - * The default shortcut for 3 modifier systems. - * @return the default shortcut for 3 modifier systems, can be null - * if not set - * @see shortcutDefault() - * @see shortcutDefault4() - * @see useFourModifierKeys() - */ - const KShortcut& shortcutDefault3() const { return m_cutDefault3; } - - /** - * The default shortcut for 4 modifier systems. - * @return the default shortcut for 4 modifier systems, can be null - * if not set - * @see shortcutDefault() - * @see shortcutDefault3() - * @see useFourModifierKeys() - */ - const KShortcut& shortcutDefault4() const { return m_cutDefault4; } - - /** - * Returns the receiver of signals. - * @return the receiver of signals (can be 0 if not set) - */ - const TQObject* objSlotPtr() const { return m_pObjSlot; } - - /** - * Returns the slot for the signal. - * @return the slot for the signal - */ - const char* methodSlotPtr() const { return m_psMethodSlot; } - - /** - * Checks whether the user can configure the action. - * @return true if configurable, false otherwise - */ - bool isConfigurable() const { return m_bConfigurable; } - - /** - * Checks whether the action is enabled. - * @return true if enabled, false otherwise - */ - bool isEnabled() const { return m_bEnabled; } - - /** - * Sets the name of the accelerator action. - * @param name the new name - */ - void setName( const TQString& name ); - - /** - * Sets the user-readable label of the accelerator action. - * @param label the new label (i18n!) - */ - void setLabel( const TQString& label ); - - /** - * Sets the What's This text for the accelerator action. - * @param whatsThis the new What's This text (i18n!) - */ - void setWhatsThis( const TQString& whatsThis ); - - /** - * Sets the new shortcut of the accelerator action. - * @param rgCuts the shortcut to set - * @return true if successful, false otherwise - */ - bool setShortcut( const KShortcut& rgCuts ); - - /** - * Sets the slot of the accelerator action. - * @param pObjSlot the receiver object of the signal - * @param psMethodSlot the slot for the signal - */ - void setSlot( const TQObject* pObjSlot, const char* psMethodSlot ); - - /** - * Enables or disabled configuring the action. - * @param configurable true to enable configurability, false to disable - */ - void setConfigurable( bool configurable ); - - /** - * Enables or disabled the action. - * @param configurable true to enable the action, false to disable - */ - void setEnabled( bool enable ); - - /** - * Retrieves the id set using @ref setID. - * @return the id of the accelerator action - */ - int getID() const { return m_nIDAccel; } - - /** - * Allows you to set an id that will be used as the action - * signal's argument. - * - * @param n the new id - * @see @ref getID() - */ - void setID( int n ) { m_nIDAccel = n; } - - /** - * Checkes whether the action is connected (emits signals). - * @return true if connected, false otherwise - */ - bool isConnected() const; - - /** - * Sets a key sequence of the action's shortcut. - * @param i the position of the sequence - * @param keySeq the new new sequence - * @return true if successful, false otherwise - * @see KShortcut::setSeq() - */ - bool setKeySequence( uint i, const KKeySequence &keySeq ); - - /** - * Clears the action's shortcut. It will not contain any sequences after - * calling this method. - * @see KShortcut::clear() - */ - void clearShortcut(); - - /** - * Checks whether the action's shortcut contains the given key sequence. - * @param keySeq the key sequence to check - * @return true if the shortcut contains the given sequence - * @see KShortcut::contains() - */ - bool contains( const KKeySequence &keySeq ); - - /** - * Returns the string representation of the action's shortcut. - * @return the string representation of the action's shortcut. - * @see KShortcut::toString() - */ - TQString toString() const; - - /** - * @internal - */ - TQString toStringInternal() const; - - /** - * Returns true if four modifier keys will be used. - * @return true if four modifier keys will be used. - */ - static bool useFourModifierKeys(); - - /** - * Selects 3 or 4 modifier default shortcuts. - * @param use true to use 4 modifier shortcuts, false to use - * 3 modifier shortcuts - */ - static void useFourModifierKeys( bool use ); - - protected: - TQString m_sName, - m_sLabel, - m_sWhatsThis; - KShortcut m_cut; - KShortcut m_cutDefault3, m_cutDefault4; - const TQObject* m_pObjSlot; - const char* m_psMethodSlot; - bool m_bConfigurable, - m_bEnabled; - int m_nIDAccel; - uint m_nConnections; - - void incConnections(); - void decConnections(); - - private: - static int g_bUseFourModifierKeys; - class KAccelActionPrivate* d; - - friend class KAccelActions; - friend class KAccelBase; -}; - -//--------------------------------------------------------------------- -// KAccelActions -//--------------------------------------------------------------------- - -/** - * @internal - * This class represents a collection of @ref KAccelAction objects. - * - * @short A collection of accelerator actions - * @see KAccelAction - */ -class KAccelActions -{ - public: - /** - * Creates a new, empty KAccelActions object. - */ - KAccelActions(); - - /** - * Copy constructor (deep copy). - */ - KAccelActions( const KAccelActions& ); - virtual ~KAccelActions(); - - /** - * Removes all items from this collection. - */ - void clear(); - - /** - * Initializes this object with the given actions. - * It will make a deep copy of all actions. - * @param actions the actions to copy - * @return true if successful, false otherwise - */ - bool init( const KAccelActions &actions ); - - /** - * Loads the actions from the given configuration file. - * - * @param config the configuration file to load from - * @param sGroup the group in the configuration file - * @return true if successful, false otherwise - */ - bool init( KConfigBase& config, const TQString& sGroup ); - - /** - * Updates the shortcuts of all actions in this object - * with the shortcuts from the given object. - * @param shortcuts the collection that contains the new - * shortcuts - */ - void updateShortcuts( KAccelActions &shortcuts ); - - /** - * Retrieves the index of the action with the given name. - * @param sAction the action to search - * @return the index of the action, or -1 if not found - */ - int actionIndex( const TQString& sAction ) const; - - /** - * Returns the action with the given @p index. - * @param index the index of an action. You must not - * use an index that is too high. - * @return the KAccelAction with the given index - * @see count() - */ - KAccelAction* actionPtr( uint index ); - - /** - * Returns the action with the given @p index. - * @param index the index of an action. You must not - * use an index that is too high. - * @return the KAccelAction with the given index - * @see count() - */ - const KAccelAction* actionPtr( uint index ) const; - - /** - * Returns the action with the given name. - * @param aAction the name of the action to search - * @return the KAccelAction with the given name, or 0 - * if not found - */ - KAccelAction* actionPtr( const TQString& sAction ); - - /** - * Returns the action with the given name. - * @param aAction the name of the action to search - * @return the KAccelAction with the given name, or 0 - * if not found - */ - const KAccelAction* actionPtr( const TQString& sAction ) const; - - /** - * Returns the action with the given key sequence. - * @param cut the sequence to search for - * @return the KAccelAction with the given sequence, or 0 - * if not found - */ - KAccelAction* actionPtr( KKeySequence cut ); - - /** - * Returns the action with the given @p index. - * @param index the index of an action. You must not - * use an index that is too high. - * @return the KAccelAction with the given index - * @see actionPtr() - * @see count() - */ - KAccelAction& operator []( uint index ); - - /** - * Returns the action with the given @p index. - * @param index the index of an action. You must not - * use an index that is too high. - * @return the KAccelAction with the given index - * @see actionPtr() - * @see count() - */ - const KAccelAction& operator []( uint index ) const; - - /** - * Inserts an action into the collection. - * @param sName the name of the accelerator - * @param sLabel the label of the accelerator (i18n!) - * @param sWhatsThis the What's This text (18n!) - * @param cutDef3 the default shortcut for 3 modifier systems - * @param cutDef4 the default shortcut for 4 modifier systems - * @param pObjSlot the receiver of a signal when the key has been - * pressed - * @param psMethodSlot the slot to connect for key presses. Receives - * an int, as set by @ref setID(), as only argument - * @param bConfigurable if true the user can configure the shortcut - * @param bEnabled true if the accelerator should be enabled - * @return the new action - */ - KAccelAction* insert( const TQString& sAction, const TQString& sLabel, const TQString& sWhatsThis, - const KShortcut& rgCutDefaults3, const KShortcut& rgCutDefaults4, - const TQObject* pObjSlot = 0, const char* psMethodSlot = 0, - bool bConfigurable = true, bool bEnabled = true ); - - /** - * Inserts an action into the collection. - * @param sName the name of the accelerator - * @param sLabel the label of the accelerator (i18n!) - * @return the new action - */ - KAccelAction* insert( const TQString& sName, const TQString& sLabel ); - - /** - * Removes the given action. - * @param sAction the name of the action. - * @return true if successful, false otherwise - */ - bool remove( const TQString& sAction ); - - /** - * Loads the actions from the given configuration file. - * - * @param sConfigGroup the group in the configuration file - * @param pConfig the configuration file to load from - * @return true if successful, false otherwise - */ - bool readActions( const TQString& sConfigGroup = "Shortcuts", KConfigBase* pConfig = 0 ); - - /** - * Writes the actions to the given configuration file. - * - * @param sConfigGroup the group in the configuration file - * @param pConfig the configuration file to save to - * @param bWriteAll true to write all actions - * @param bGlobal true to write to the global configuration file - * @return true if successful, false otherwise - */ - bool writeActions( const TQString& sConfigGroup = "Shortcuts", KConfigBase* pConfig = 0, - bool bWriteAll = false, bool bGlobal = false ) const; - - /** - * Emit a keycodeChanged signal. - */ - void emitKeycodeChanged(); - - /** - * Returns the number of actions in the collection. - * @return the number of actions - */ - uint count() const; - - protected: - KAccelBase* m_pKAccelBase; - KAccelAction** m_prgActions; - uint m_nSizeAllocated, m_nSize; - - void resize( uint ); - void insertPtr( KAccelAction* ); - - private: - class KAccelActionsPrivate* d; - - KAccelActions( KAccelBase* ); - void initPrivate( KAccelBase* ); - KAccelActions& operator =( KAccelActions& ); - - friend class KAccelBase; -}; - -#endif // _KACCELACTION_H diff --git a/python/pykde/extra/kde311/kaccelbase.h b/python/pykde/extra/kde311/kaccelbase.h deleted file mode 100644 index 03fa9c87..00000000 --- a/python/pykde/extra/kde311/kaccelbase.h +++ /dev/null @@ -1,229 +0,0 @@ -/* This file is part of the KDE libraries - Copyright (C) 2001 Ellis Whitehead - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. -*/ - -#ifndef _KACCELBASE_H -#define _KACCELBASE_H - -#include -#include -#include -#include -#include - -#include "kaccelaction.h" -#include "kkeyserver_x11.h" - -class TQPopupMenu; -class TQWidget; - -//---------------------------------------------------- - -/** - * @internal - * Handle keyboard accelerators. - * - * Allow an user to configure - * key bindings through application configuration files or through the - * @ref KKeyChooser GUI. - * - * A @ref KAccel contains a list of accelerator items. Each accelerator item - * consists of an action name and a keyboard code combined with modifiers - * (Shift, Ctrl and Alt.) - * - * For example, "Ctrl+P" could be a shortcut for printing a document. The key - * codes are listed in ckey.h. "Print" could be the action name for printing. - * The action name identifies the key binding in configuration files and the - * @ref KKeyChooser GUI. - * - * When pressed, an accelerator key calls the slot to which it has been - * connected. Accelerator items can be connected so that a key will activate - * two different slots. - * - * A KAccel object handles key events sent to its parent widget and to all - * children of this parent widget. - * - * Key binding reconfiguration during run time can be prevented by specifying - * that an accelerator item is not configurable when it is inserted. A special - * group of non-configurable key bindings are known as the - * standard accelerators. - * - * The standard accelerators appear repeatedly in applications for - * standard document actions such as printing and saving. Convenience methods are - * available to insert and connect these accelerators which are configurable on - * a desktop-wide basis. - * - * It is possible for a user to choose to have no key associated with - * an action. - * - * The translated first argument for @ref insertItem() is used only - * in the configuration dialog. - *
- * KAccel *a = new KAccel( myWindow );
- * // Insert an action "Scroll Up" which is associated with the "Up" key:
- * a->insertItem( i18n("Scroll up"), "Scroll Up", "Up" );
- * // Insert an action "Scroll Down" which is not associated with any key:
- * a->insertItem( i18n("Scroll down"), "Scroll Down", 0);
- * a->connectItem( "Scroll up", myWindow, TQT_SLOT( scrollUp() ) );
- * // a->insertStdItem( KStdAccel::Print ); //not necessary, since it
- *	// is done automatially with the
- *	// connect below!
- * a->connectItem(KStdAccel::Print, myWindow, TQT_SLOT( printDoc() ) );
- *
- * a->readSettings();
- *
- * - * If a shortcut has a menu entry as well, you could insert them like - * this. The example is again the @ref KStdAccel::Print from above. - * - *
- * int id;
- * id = popup->insertItem("&Print",this, TQT_SLOT(printDoc()));
- * a->changeMenuAccel(popup, id, KStdAccel::Print );
- * 
- * - * If you want a somewhat "exotic" name for your standard print action, like - * id = popup->insertItem(i18n("Print &Document"),this, TQT_SLOT(printDoc())); - * it might be a good idea to insert the standard action before as - * a->insertStdItem( KStdAccel::Print, i18n("Print Document") ) - * as well, so that the user can easily find the corresponding function. - * - * This technique works for other actions as well. Your "scroll up" function - * in a menu could be done with - * - *
- *    id = popup->insertItem(i18n"Scroll &up",this, TQT_SLOT(scrollUp()));
- *    a->changeMenuAccel(popup, id, "Scroll Up" );
- * 
- * - * Please keep the order right: First insert all functions in the - * acceleratior, then call a -> @ref readSettings() and @em then build your - * menu structure. - * - * @short Configurable key binding support. - * @version $Id: kaccelbase.h,v 1.22 2002/10/06 18:19:39 ellis Exp $ - */ - -class KAccelBase -{ - public: - enum Init { QT_KEYS = 0x00, NATIVE_KEYS = 0x01 }; - enum Signal { KEYCODE_CHANGED }; - - KAccelBase( int fInitCode ); - virtual ~KAccelBase(); - - uint actionCount() const; - KAccelActions& actions(); - bool isEnabled() const; - - KAccelAction* actionPtr( const TQString& sAction ); - const KAccelAction* actionPtr( const TQString& sAction ) const; - KAccelAction* actionPtr( const KKey& key ); - KAccelAction* actionPtr( const KKeyServer::Key& key ); - - const TQString& configGroup() const { return m_sConfigGroup; } - void setConfigGroup( const TQString& group ); - void setConfigGlobal( bool global ); - virtual void setEnabled( bool bEnabled ) = 0; - bool getAutoUpdate() { return m_bAutoUpdate; } - // return value of AutoUpdate flag before this call. - bool setAutoUpdate( bool bAuto ); - -// Procedures for manipulating Actions. - //void clearActions(); - - KAccelAction* insert( const TQString& sName, const TQString& sDesc ); - KAccelAction* insert( - const TQString& sAction, const TQString& sDesc, const TQString& sHelp, - const KShortcut& rgCutDefaults3, const KShortcut& rgCutDefaults4, - const TQObject* pObjSlot, const char* psMethodSlot, - bool bConfigurable = true, bool bEnabled = true ); - bool remove( const TQString& sAction ); - bool setActionSlot( const TQString& sAction, const TQObject* pObjSlot, const char* psMethodSlot ); - - bool updateConnections(); - - bool setShortcut( const TQString& sAction, const KShortcut& cut ); - -// Modify individual Action sub-items - bool setActionEnabled( const TQString& sAction, bool bEnable ); - - /** - * Read all key associations from @p config, or (if @p config - * is zero) from the application's configuration file - * @ref KGlobal::config(). - * - * The group in which the configuration is stored can be - * set with @ref setConfigGroup(). - */ - void readSettings( KConfigBase* pConfig = 0 ); - - /** - * Write the current configurable associations to @p config, - * or (if @p config is zero) to the application's - * configuration file. - */ - void writeSettings( KConfigBase* pConfig = 0 ) const; - - TQPopupMenu* createPopupMenu( TQWidget* pParent, const KKeySequence& ); - - // Protected methods - protected: - void slotRemoveAction( KAccelAction* ); - - void createKeyList( TQValueVector& rgKeys ); - bool insertConnection( KAccelAction* ); - bool removeConnection( KAccelAction* ); - - virtual bool emitSignal( Signal ) = 0; - virtual bool connectKey( KAccelAction&, const KKeyServer::Key& ) = 0; - virtual bool connectKey( const KKeyServer::Key& ) = 0; - virtual bool disconnectKey( KAccelAction&, const KKeyServer::Key& ) = 0; - virtual bool disconnectKey( const KKeyServer::Key& ) = 0; - - protected: - struct ActionInfo - { - KAccelAction* pAction; - uint iSeq, iVariation; - //ActionInfo* pInfoNext; // nil if only one action uses this key. - - ActionInfo() { pAction = 0; iSeq = 0xffff; iVariation = 0xffff; } - ActionInfo( KAccelAction* _pAction, uint _iSeq, uint _iVariation ) - { pAction = _pAction; iSeq = _iSeq; iVariation = _iVariation; } - }; - typedef TQMap KKeyToActionMap; - - KAccelActions m_rgActions; - KKeyToActionMap m_mapKeyToAction; - TQValueList m_rgActionsNonUnique; - bool m_bNativeKeys; // Use native key codes instead of Qt codes - bool m_bEnabled; - bool m_bConfigIsGlobal; - TQString m_sConfigGroup; - bool m_bAutoUpdate; - KAccelAction* mtemp_pActionRemoving; - - private: - KAccelBase& operator =( const KAccelBase& ); - - friend class KAccelActions; -}; - -#endif // _KACCELBASE_H diff --git a/python/pykde/extra/kde311/kicontheme.h b/python/pykde/extra/kde311/kicontheme.h deleted file mode 100644 index bfee160b..00000000 --- a/python/pykde/extra/kde311/kicontheme.h +++ /dev/null @@ -1,331 +0,0 @@ -/* vi: ts=8 sts=4 sw=4 - * - * $Id: kicontheme.h,v 1.26 2002/10/26 22:08:38 tjansen Exp $ - * - * This file is part of the KDE project, module kdecore. - * Copyright (C) 2000 Geert Jansen - * Antonio Larrosa - * - * This is free software; it comes under the GNU Library General - * Public License, version 2. See the file "COPYING.LIB" for the - * exact licensing terms. - * - */ - -#ifndef __KIconTheme_h_Included__ -#define __KIconTheme_h_Included__ - -#include -#include -#include - -class KConfig; -//class KIconThemeDir; - -class KIconThemePrivate; - -class KIconPrivate; - -/** - * One icon as found by KIconTheme. Also serves as a namespace containing - * icon related constants. - * @see KIconEffect - * @see KIconTheme - * @see KIconLoader - */ -class KIcon -{ -public: - KIcon() { size = 0; } - - /** - * Return true if this icon is valid, false otherwise. - */ - bool isValid() const { return size != 0; } - - /** - * Defines the context of the icon. - */ - enum Context { - Any, ///< Some icon with unknown purpose. - Action, ///< An action icon (e.g. 'save', 'print'). - Application, ///< An icon that represents an application. - Device, ///< An icon that represents a device. - FileSystem, ///< An icon that represents a file system. - MimeType ///< An icon that represents a mime type (or file type). - }; - - /** - * The type of the icon. - */ - enum Type { - Fixed, ///< Fixed-size icon. - Scalable, ///< Scalable-size icon. - Threshold ///< A threshold icon. - }; - - /** - * The type of a match. - */ - enum MatchType { - MatchExact, ///< Only try to find an exact match. - MatchBest ///< Take the best match if there is no exact match. - - }; - - // if you add a group here, make sure to change the config reading in - // KIconLoader too - /** - * The group an an icon. - */ - enum Group { NoGroup=-1, Desktop=0, FirstGroup=Desktop, Toolbar, - MainToolbar, Small, Panel, LastGroup, User }; - - /** - * These are the standard sizes for icons. - */ - enum StdSizes { - /// small icons for menu entries - SizeSmall=16, - /// medium sized icons for the desktop - SizeMedium=32, - /// large sized icons for the panel - SizeLarge=48 }; - - /** - * Defines the possible states of an icon. - */ - enum States { DefaultState, ///< The default state. - ActiveState, ///< Icon is active. - DisabledState, ///< Icon is disabled. - LastState ///< Last state (last constant) - }; - - /** - * This defines an overlay, a semi-transparent image that is - * projected onto the icon. They are used to show that the file - * represented by the icon is, for example, locked, zipped or hidden. - */ - enum Overlays { - LockOverlay=0x100, ///< a file is locked - ZipOverlay=0x200, ///< a file is zipped - LinkOverlay=0x400, ///< a fileis a link - HiddenOverlay=0x800, ///< a file is hidden - ShareOverlay=0x1000, ///< a file is shared - OverlayMask = ~0xff - }; - - /** - * The size in pixels of the icon. - */ - int size; - - /** - * The context of the icon. - */ - Context context; - - /** - * The type of the icon: Fixed, Scalable or Threshold. - **/ - Type type; - - /** - * The threshold in case type == Threshold - */ - int threshold; - - /** - * The full path of the icon. - */ - TQString path; - -private: - KIconPrivate *d; -}; - -inline KIcon::Group& operator++(KIcon::Group& group) { group = static_cast(group+1); return group; } -inline KIcon::Group operator++(KIcon::Group& group,int) { KIcon::Group ret = group; ++group; return ret; } - -/** - * Class to use/access icon themes in KDE. This class is used by the - * iconloader but can be used by others too. - * @see KIconLoader - */ -class KIconTheme -{ -public: - /** - * Load an icon theme by name. - * @param name the name of the theme (e.g. "hicolor" or "keramik") - * @param appName the name of the application. Can be null. This argument - * allows applications to have themed application icons. - */ - KIconTheme(const TQString& name, const TQString& appName=TQString::null); - ~KIconTheme(); - - /** - * The stylized name of the icon theme. - * @return the (human-readable) name of the theme - */ - TQString name() const { return mName; } - - /** - * A description for the icon theme. - * @return a human-readable description of the theme, TQString::null - * if there is none - */ - TQString description() const { return mDesc; } - - /** - * Return the name of the "example" icon. This can be used to - * present the theme to the user. - * @return the name of the example icon, TQString::null if there is none - */ - TQString example() const; - - /** - * Return the name of the screenshot. - * @return the name of the screenshot, TQString::null if there is none - */ - TQString screenshot() const; - - /** - * Returns the name of this theme's link overlay. - * @return the name of the link overlay - */ - TQString linkOverlay() const; - - /** - * Returns the name of this theme's zip overlay. - * @return the name of the zip overlay - */ - TQString zipOverlay() const; - - /** - * Returns the name of this theme's lock overlay. - * @return the name of the lock overlay - */ - TQString lockOverlay() const; - - /** - * Returns the name of this theme's share overlay. - * @return the name of the share overlay - * @since 3.1 - */ - TQString shareOverlay () const; - - /** - * Returns the toplevel theme directory. - * @return the directory of the theme - */ - TQString dir() const { return mDir; } - - /** - * The themes this icon theme falls back on. - * @return a list of icon themes that are used as fall-backs - */ - TQStringList inherits() const { return mInherits; } - - /** - * The icon theme exists? - * @return true if the icon theme is valid - */ - bool isValid() const; - - /** - * The icon theme should be hidden to the user? - * @return true if the icon theme is hidden - * @since 3.1 - */ - bool isHidden() const; - - /** - * The minimum display depth required for this theme. This can either - * be 8 or 32. - * @return the minimum bpp (8 or 32) - */ - int depth() const { return mDepth; } - - /** - * The default size of this theme for a certain icon group. - * @param group The icon group. See @ref #KIcon::Group. - * @return The default size in pixels for the given icon group. - */ - int defaultSize(KIcon::Group group) const; - - /** - * Query available sizes for a group. - * @param group The icon group. See @ref #KIcon::Group. - * @return a list of available sized for the given group - */ - TQValueList querySizes(KIcon::Group group) const; - - /** - * Query available icons for a size and context. - * @param size the size of the icons - * @param context the context of the icons - * @return the list of icon names - */ - TQStringList queryIcons(int size, KIcon::Context context = KIcon::Any) const; - - /** - * Query available icons for a context and preferred size. - * @param size the size of the icons - * @param context the context of the icons - * @return the list of icon names - */ - TQStringList queryIconsByContext(int size, KIcon::Context context = KIcon::Any) const; - - - /** - * Lookup an icon in the theme. - * @param name The name of the icon, without extension. - * @param size The desired size of the icon. - * @param match The matching mode. KIcon::MatchExact returns an icon - * only if matches exactly. KIcon::MatchBest returns the best matching - * icon. - * @return A KIcon class that describes the icon. If an icon is found, - * @see KIcon::isValid will return true, and false otherwise. - */ - KIcon iconPath(const TQString& name, int size, KIcon::MatchType match) const; - - /** - * List all icon themes installed on the system, global and local. - * @return the list of all icon themes - */ - static TQStringList list(); - - /** - * Returns the current icon theme. - * @return the name of the current theme - */ - static TQString current(); - - /** - * Reconfigure the theme. - */ - static void reconfigure(); - - /** - * Returns the default icon theme. - * @return the name of the default theme name - * @since 3.1 - */ - static TQString defaultThemeName(); - -private: - int mDefSize[8]; - TQValueList mSizes[8]; - - int mDepth; - TQString mDir, mName, mDesc; - TQStringList mInherits; -// TQPtrList mDirs; - KIconThemePrivate *d; - - static TQString *_theme; - static TQStringList *_theme_list; -}; - -#endif diff --git a/python/pykde/extra/kde311/kkeyserver_x11.h b/python/pykde/extra/kde311/kkeyserver_x11.h deleted file mode 100644 index 568de854..00000000 --- a/python/pykde/extra/kde311/kkeyserver_x11.h +++ /dev/null @@ -1,435 +0,0 @@ -#ifndef _KKEYSERVER_X11_H -#define _KKEYSERVER_X11_H - -#include "kshortcut.h" -#include "kkeynative.h" - -/** - * A collection of functions for the conversion of key presses and - * their modifiers from the window system (X11) specific format - * to the generic format and vice-versa. - */ -namespace KKeyServer -{ - /** - * Supplement enum KKey::ModFlag - * @since 3.1 - */ - enum ExtraModFlag { MODE_SWITCH = 0x2000 }; - - struct CodeMod { int code, mod; }; - - /** - * Represents a key symbol. - * @see KKey - * @see KKeyServer - */ - struct Sym - { - public: - /// the actual value of the symbol - uint m_sym; - - /// Creates a null symbol. - Sym() - { m_sym = 0; } - /** - * Creates asymbol with the given value. - * @param sym the value - */ - Sym( uint sym ) - { m_sym = sym; } - /** - * Creates a symbol from the given string description. - * @param s the description of the symbol - * @see toString() - */ - Sym( const TQString& s ) - { init( s ); } - - /** - * Initializes the symbol with the given Qt key code. - * @param keyQt the qt key code - * @return true if succesful, false otherwise - * @see Qt::Key - */ - bool initQt( int keyQt ); - - /** - * Initializes the key with the given string description. - * @param s the string description - * @return true if succesful, false otherwise - * @see toString() - */ - bool init( const TQString &s ); - - /** - * Returns the qt key code of the symbol. - * @return the qt key code - */ - int qt() const; - - /** - * @internal - */ - TQString toStringInternal() const; - - /** - * Returns the string representation of the symbol. - * @return the string representation of the symbol - */ - TQString toString() const; - - /** - * Returns the mods that are required for this symbol as - * ORed @ref KKey::ModFlag's. For example, Break requires a - * Ctrl to be valid. - * @return the required @ref KKey::ModFlag's - * @see KKey::ModFlag - */ - uint getModsRequired() const; - - /** - * TODO: please find out what this method does and document it - */ - uint getSymVariation() const; - - /** - * Casts the symbol to its integer representation. - */ - operator uint() const { return m_sym; } - - /** - * Overloaded operator to convert ints to Sym. - */ - Sym& operator =( uint sym ) { m_sym = sym; return *this; } - - private: - TQString toString( bool bUserSpace ) const; - - static void capitalizeKeyname( TQString& ); - }; - - /** - * Represents a key press. - * @see KKey - */ - struct Key - { - /// Code for native Keys in Qt - enum { CODE_FOR_QT = 256 }; - - /// The code of the key - uint m_code; - - /// The modifiers of the key - uint m_mod; - - /// The symbol of the key - uint m_sym; - - /** - * Initializes the key with a @ref KKey. - * @param key the key to get the data from - * @param bQt true to take the Qt keycode, false - * for the native key code - * @see Qt::Key - * @see KKeyNative - */ - bool init( const KKey& key, bool bQt ); - - /** - * Checks whether the key code is a native code. - * @return true if native code of the window system, - * false if it is a Qt keycode - * @see Qt::Key - * @see KKeyNative - */ - bool isNative() const { return m_code != CODE_FOR_QT; } - - /** - * Returns the code of the key. - * @return the code of the key - */ - uint code() const { return m_code; } - - /** - * Returns the modifiers of the key. - * @return the modifiers of the key - */ - uint mod() const { return m_mod; } - - /** - * Returns the symbol of the key. - * @return the symbol of the key - */ - uint sym() const { return m_sym; } - - /** - * Returns the qt key code. - * @return the qt key code - */ - int keyCodeQt() const { return (int) m_sym; } - - /** - * Sets the qt key code. - * @param keyQt the qt key code - */ - void setKeycodeQt( int keyQt ) - { m_code = CODE_FOR_QT; m_sym = keyQt; } - - /** - * Initializes this key with a @ref KKeyNative. - * @return this key - */ - Key& operator =( const KKeyNative& key ); - - /** - * Compares this key with the given Key object. Returns a - * negative number if the given Key is larger, 0 if they - * are equal and a positive number this Key is larger. The - * returned value is the difference between the symbol, modifier - * or code, whatever is non-zero first. - * - * @param key the key to compare with this key - * @return a negative number if the given Key is larger, 0 if - * they are equal and a positive number this Key is larger - */ - int compare( const Key& key ) const; - - /** - * Compares the symbol, modifiers and code of both keys. - * @see compare() - */ - bool operator ==( const Key& b ) const - { return compare( b ) == 0; } - - /** - * Compares the symbol, modifiers and code of both keys. - * @see compare() - */ - bool operator <( const Key& b ) const - { return compare( b ) < 0; } - - /** - * Converts this Key to a KKey. - * @return the KKey - */ - KKey key() const; - }; - - /** - * TODO: please document this class - */ - struct Variations - { - enum { MAX_VARIATIONS = 4 }; - - Key m_rgkey[MAX_VARIATIONS]; - uint m_nVariations; - - Variations() { m_nVariations = 0; } - - void init( const KKey&, bool bQt ); - - uint count() const { return m_nVariations; } - const Key& key( uint i ) const { return m_rgkey[i]; } - }; - - /// TODO: please document - bool initializeMods(); - - /** - * Returns the equivalent X modifier mask of the given modifier flag. - * @param modFlag the generic flags to check - * @return the window system specific flags - */ - uint modX( KKey::ModFlag modFlag ); - - /** - * Returns true if the current keyboard layout supports the Win key. - * Specifically, whether the Super or Meta keys are assigned to an X modifier. - * @return true if the keyboard has a Win key - * @see modXWin() - */ - bool keyboardHasWinKey(); - - /** - * Returns the X11 Shift modifier mask/flag. - * @return the X11 Shift modifier mask/flag. - * @see accelModMaskX() - */ - uint modXShift(); - - /** - * Returns the X11 Lock modifier mask/flag. - * @return the X11 Lock modifier mask/flag. - * @see accelModMaskX() - */ - uint modXLock(); - - /** - * Returns the X11 Ctrl modifier mask/flag. - * @return the X11 Ctrl modifier mask/flag. - * @see accelModMaskX() - */ - uint modXCtrl(); - - /** - * Returns the X11 Alt (Mod1) modifier mask/flag. - * @return the X11 Alt (Mod1) modifier mask/flag. - * @see accelModMaskX() - */ - uint modXAlt(); - - /** - * Returns the X11 NumLock modifier mask/flag. - * @return the X11 NumLock modifier mask/flag. - * @see accelModMaskX() - */ - uint modXNumLock(); - - /** - * Returns the X11 Win (Mod3) modifier mask/flag. - * @return the X11 Win (Mod3) modifier mask/flag. - * @see keyboardHasWinKey() - * @see accelModMaskX() - */ - uint modXWin(); - - /** - * Returns the X11 ScrollLock modifier mask/flag. - * @return the X11 ScrollLock modifier mask/flag. - * @see accelModMaskX() - */ - uint modXScrollLock(); - - /** - * Returns bitwise OR'ed mask containing Shift, Ctrl, Alt, and - * Win (if available). - * @see modXShift() - * @see modXLock() - * @see modXCtrl() - * @see modXAlt() - * @see modXNumLock() - * @see modXWin() - * @see modXScrollLock() - */ - uint accelModMaskX(); - - /** - * Extracts the symbol from the given Qt key and - * converts it to a symbol. - * @param keyQt the qt key code - * @param sym if successful, the symbol will be written here - * @return true if successful, false otherwise - * @see Qt::Key - * @see Sym - */ - bool keyQtToSym( int keyQt, uint& sym ); - - /** - * Extracts the modifiers from the given Qt key and - * converts them in a mask of ORed @ref KKey::ModFlag modifiers. - * @param keyQt the qt key code - * @param mod if successful, the modifiers will be written here - * @return true if successful, false otherwise - * @see Qt::Key - */ - bool keyQtToMod( int keyQt, uint& mod ); - - /** - * Converts the given symbol to a Qt key code. - * @param sym the symbol - * @param keyQt if successful, the qt key code will be written here - * @return true if successful, false otherwise - * @see Qt::Key - * @see Sym - */ - bool symToKeyQt( uint sym, int& keyQt ); - - /** - * Converts the mask of ORed @ref KKey::ModFlag modifiers to - * a mask of ORed Qt key code modifiers. - * @param the mask of @ref KKey::ModFlag modifiers - * @param the mask of Qt key code modifiers will be written here, - * if successful - * @return true if successful, false otherwise - * @see Qt::Key - * @see KKey - */ - bool modToModQt( uint mod, int& modQt ); - - /** - * Converts the mask of ORed @ref KKey::ModFlag modifiers to - * a mask of ORed X11 modifiers. - * @param the mask of @ref KKey::ModFlag modifiers - * @param the mask of X11 modifiers will be written here, - * if successful - * @return true if successful, false otherwise - * @see KKey - */ - bool modToModX( uint mod, uint& modX ); - - /** - * Converts the mask of ORed X11 modifiers to - * a mask of ORed Qt key code modifiers. - * @param the mask of X11 modifiers - * @param the mask of Qt key code modifiers will be written here - * if successful - * @return true if successful, false otherwise - * @see Qt::Key - */ - bool modXToModQt( uint modX, int& modQt ); - - /** - * Converts the mask of ORed X11 modifiers to - * a mask of ORed @ref KKey::ModFlag modifiers. - * @param the mask of X11 modifiers - * @param the mask of @ref KKey::ModFlag modifiers will be written here, - * if successful - * @return true if successful, false otherwise - * @see KKey - */ - bool modXToMod( uint modX, uint& mod ); - - /** - * Converts a X11 key code and a mask of ORed X11 modifiers - * into a X11 symbol. - * converts it to a symbol. - * @param codeX the X11 key code - * @param modX the mask of ORed X11 modifiers - * @param sym if successful, the X11 symbol will be written here - * @return true if successful, false otherwise - * @see Qt::Key - * @see Sym - */ - bool codeXToSym( uchar codeX, uint modX, uint& symX ); - - /** - * @internal - */ - TQString modToStringInternal( uint mod ); - - /** - * Converts the mask of ORed @ref KKey::ModFlag modifiers to a - * user-readable string. - * @param mod the mask of ORed @ref KKey::ModFlag modifiers - * @return the user-readable string - */ - TQString modToStringUser( uint mod ); - - /** - * @internal - * Unimplemented? - */ - bool stringToSymMod( const TQString&, uint& sym, uint& mod ); - - /** - * @internal - * Unimplemented? - */ - void keyQtToKeyX( uint keyCombQt, unsigned char *pKeyCodeX, uint *pKeySymX, uint *pKeyModX ); -}; - -#endif // !_KKEYSERVER_X11_H diff --git a/python/pykde/extra/kde311/konsole_part.h b/python/pykde/extra/kde311/konsole_part.h deleted file mode 100644 index 6aba7064..00000000 --- a/python/pykde/extra/kde311/konsole_part.h +++ /dev/null @@ -1,223 +0,0 @@ -/* - This file is part of the KDE system - Copyright (C) 1999,2000 Boloni Laszlo - - This program is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. - */ - -#ifndef __KONSOLE_PART_H__ -#define __KONSOLE_PART_H__ - -#include -#include - - -#include - -#include - -//#include "schema.h" -//#include "session.h" - -class KInstance; -class konsoleBrowserExtension; -class TQPushButton; -class TQSpinBox; -class KPopupMenu; -class TQCheckBox; -class KRootPixmap; -class KToggleAction; -class KSelectAction; - -namespace KParts { class GUIActivateEvent; } - -class konsoleFactory : public KParts::Factory -{ - Q_OBJECT -public: - konsoleFactory(); - virtual ~konsoleFactory(); - - virtual KParts::Part* createPartObject(TQWidget *parentWidget = 0, const char *widgetName = 0, - TQObject* parent = 0, const char* name = 0, - const char* classname = "KParts::Part", - const TQStringList &args = TQStringList()); - - static KInstance *instance(); - - private: - static KInstance *s_instance; - static KAboutData *s_aboutData; -}; - -////////////////////////////////////////////////////////////////////// - -class konsolePart: public KParts::ReadOnlyPart, public TerminalInterface -{ - Q_OBJECT - public: - konsolePart(TQWidget *parentWidget, const char *widgetName, TQObject * parent, const char *name, const char *classname = 0); - virtual ~konsolePart(); - -signals: - void processExited(); - void receivedData( const TQString& s ); - protected: - virtual bool openURL( const KURL & url ); - virtual bool openFile() {return false;} // never used - virtual bool closeURL() {return true;} - virtual void guiActivateEvent( KParts::GUIActivateEvent * event ); - - protected slots: - void showShell(); - void slotProcessExited(); - void slotReceivedData( const TQString& s ); - -// void doneSession(TESession*); - void sessionDestroyed(); -// void configureRequest(TEWidget*,int,int x,int y); - void updateTitle(); - void enableMasterModeConnections(); - - private slots: - void emitOpenURLRequest(const TQString &url); - - void readProperties(); - void saveProperties(); - - void sendSignal(int n); - void closeCurrentSession(); - - void notifySize(int,int); - - void slotToggleFrame(); - void slotSelectScrollbar(); - void slotSelectFont(); - void schema_menu_check(); - void keytab_menu_activated(int item); - void updateSchemaMenu(); - void setSchema(int n); - void pixmap_menu_activated(int item); - void schema_menu_activated(int item); - void slotHistoryType(); - void slotSelectBell(); - void slotSelectLineSpacing(); - void slotBlinkingCursor(); - void slotWordSeps(); - void fontNotFound(); - - private: - konsoleBrowserExtension *m_extension; - KURL currentURL; - - void makeGUI(); - void applySettingsToGUI(); - - void setFont(int fontno); -// void setSchema(ColorSchema* s); - void updateKeytabMenu(); - - bool doOpenStream( const TQString& ); - bool doWriteStream( const TQByteArray& ); - bool doCloseStream(); - - TQWidget* parentWidget; -// TEWidget* te; -// TESession* se; -// ColorSchemaList* colors; - KRootPixmap* rootxpm; - - KToggleAction* blinkingCursor; - KToggleAction* showFrame; - - KSelectAction* selectBell; - KSelectAction* selectFont; - KSelectAction* selectLineSpacing; - KSelectAction* selectScrollbar; - - KPopupMenu* m_keytab; - KPopupMenu* m_schema; - KPopupMenu* m_signals; - KPopupMenu* m_options; - KPopupMenu* m_popupMenu; - - TQFont defaultFont; - - TQString pmPath; // pixmap path - TQString s_schema; - TQString s_kconfigSchema; - TQString s_word_seps; // characters that are considered part of a word - TQString fontNotFound_par; - - bool b_framevis:1; - bool b_histEnabled:1; - - int curr_schema; // current schema no - int n_bell; - int n_font; - int n_keytab; - int n_render; - int n_scroll; - unsigned m_histSize; - bool m_runningShell; - bool m_streamEnabled; -public: - // these are the implementations for the TermEmuInterface - // functions... - void startProgram( const TQString& program, - const TQStrList& args ); - void showShellInDir( const TQString& dir ); - void sendInput( const TQString& text ); -}; - -////////////////////////////////////////////////////////////////////// - -/*class HistoryTypeDialog : public KDialogBase -{ - Q_OBJECT -public: - HistoryTypeDialog(const HistoryType& histType, - unsigned int histSize, - TQWidget *parent); - -public slots: - void slotDefault(); - void slotSetUnlimited(); - void slotHistEnable(bool); - - unsigned int nbLines() const; - bool isOn() const; - -protected: - TQCheckBox* m_btnEnable; - TQSpinBox* m_size; - TQPushButton* m_setUnlimited; -};*/ - -////////////////////////////////////////////////////////////////////// - -class konsoleBrowserExtension : public KParts::BrowserExtension -{ - Q_OBJECT - friend class konsolePart; - public: - konsoleBrowserExtension(konsolePart *parent); - virtual ~konsoleBrowserExtension(); - - void emitOpenURLRequest(const KURL &url); -}; - -#endif diff --git a/python/pykde/extra/kde311/kpanelmenu.h b/python/pykde/extra/kde311/kpanelmenu.h deleted file mode 100644 index c4ac76e4..00000000 --- a/python/pykde/extra/kde311/kpanelmenu.h +++ /dev/null @@ -1,177 +0,0 @@ -/***************************************************************** - -Copyright (c) 1996-2000 the kicker authors. See file AUTHORS. - (c) 2001 Michael Goffioul - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN -AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - -******************************************************************/ - -#ifndef __KPANELMENU_H__ -#define __KPANELMENU_H__ - -#include -#include -#include - -class KPanelMenuPrivate; - -/** - * Base class to build dynamically loaded menu entries for the K-menu, or the panel. - * - * This class allows to build menu entries that will be dynamically added either to - * the K-menu, or to the panel as a normal button. These dynamic menus are located - * in shared libraries that will be loaded at runtime by Kicker (the KDE panel). - * - * To build such a menu, you have to inherit this class and implement the pure virtual - * functions #initialize() and @ref slotExec(). You also have to provide a factory - * object in your library, see @ref KLibFactory. This factory is only used to construct - * the menu object. - * - * Finally, you also have to provide a desktop file describing your dynamic menu. The - * relevant entries are: Name, Comment, Icon and X-KDE-Library (which contains the - * library name without any extension). This desktop file has to be installed in - * $KDEDIR/share/apps/kicker/menuext/. - * - * @short Base class to build dynamically loaded menu entries for the K-menu, or the panel. - * @author The kicker maintainer, Michael Goffioul - */ -class KPanelMenu : public KPopupMenu -{ - Q_OBJECT - -public: - /** - * Construct a KPanelMenu object. This is the normal constructor to use when - * building extrernal menu entries. - */ - KPanelMenu(TQWidget *parent=0, const char *name=0); - /** - * Constructor used internally by Kicker. You don't really want to use it. - * @param startDir a directory to associate with this menu - * @see path(), setPath() - */ - KPanelMenu(const TQString &startDir, TQWidget *parent=0, const char *name=0); - /** - * Destructor. - */ - virtual ~KPanelMenu(); - - /** - * Get the directory path associated with this menu, or TQString::null if - * there's no such associated path. - * @return the associated directory path - * @see setPath() - */ - const TQString& path() const; - /** - * Set a directory path to be associated with this menu. - * @param p the directory path - * @see path() - */ - void setPath(const TQString &p); - /** - * Tell if the menu has been initialized, that is it already contains items. - * This is useful when you need to know if you have to clear the menu, or to - * fill it. - * @return the initial state - * @see setInitialized(), initialize() - */ - bool initialized() const; - /** - * Set the initial state. Set it to true when you menu is filled with the items - * you want. - * @param on the initial state - * @see initialized(), initialize() - */ - void setInitialized(bool on); - - /** - * Disable the automatic clearing of the menu. Kicker uses a cache system for - * its menus. After a specific configurable delay, the menu will be cleared. - * Use this function if you want to disable kicker's cache system, and avoid - * the clearing of your menu. - */ - void disableAutoClear(); - -public slots: - /** - * Reinitialize the menu: the menu is first cleared, the initial state is set - * to false, and finally #initialize() is called. Use this if you want to - * refill your menu immediately. - */ - void reinitialize(); - /** - * Deinitialize the menu: the menu is cleared and the initialized state is set to - * false. #initialize() is NOT called. It will be called before the menu is - * next shown, however. Use this slot if you want a delayed reinitialization. - * @since 3.1 - */ - void deinitialize(); - -protected slots: - /** - * This slot is called just before the menu is shown. This allows your menu - * to update itself if needed. However you should instead re-implement - * #initialize to provide this feature. This function is responsible for - * the cache system handling, so if you re-implement it, you should call - * the base function also. Calls #initialize(). - * @see disableAutoClear() - */ - virtual void slotAboutToShow(); - /** - * This is slot is called when an item from the menu has been selected. Your - * applet is then supposed to perform some action. You must re-implement this - * function. - * @param id the ID associated with the selected item - */ - virtual void slotExec(int id) = 0; - /** - * This slots is called to initialize the menu. It is called automatically by - * @ref slotAboutToShow(). By re-implementing this functions, you can reconstruct - * the menu before it is being shown. At the end of this function, you should - * call @ref setInitialize() with true to tell the system that the menu is OK. - * You applet must re-implement this function. - * @see slotAboutToShow(), initialized(), setInitialized() - */ - virtual void initialize() = 0; - /** - * Clears the menu, and update the initial state accordingly. - * @see initialized() - */ - void slotClear(); - -protected: - /** - * Re-implemented for internal reasons. - */ - virtual void hideEvent(TQHideEvent *ev); - /** - * For internal use only. Used by constructors. - */ - void init(const TQString& path = TQString::null); - -protected: - virtual void virtual_hook( int id, void* data ); -private: - void internalInitialize(); - KPanelMenuPrivate *d; -}; - - -#endif diff --git a/python/pykde/extra/kde311/krecentdirs.h b/python/pykde/extra/kde311/krecentdirs.h deleted file mode 100644 index 61a50706..00000000 --- a/python/pykde/extra/kde311/krecentdirs.h +++ /dev/null @@ -1,68 +0,0 @@ -/* -*- c++ -*- - * Copyright (C)2000 Waldo Bastian - * - * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * - * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND - * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE - * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS - * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) - * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT - * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY - * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF - * SUCH DAMAGE. - * - */ -#ifndef __KRECENTDIRS_H -#define __KRECENTDIRS_H - -#include - -/** - * The goal of this class is to make sure that, when the user needs to - * specify a file via the file selection dialog, this dialog will start - * in the directory most likely to contain the desired files. - * - * This works as follows: Each time the file selection dialog is - * shown, the programmer can specify a "file-class". The file-dialog will - * then start with the directory associated with this file-class. When - * the dialog closes, the directory currently shown in the file-dialog - * will be associated with the file-class. - * - * A file-class can either start with ':' or with '::'. If it starts with - * a single ':' the file-class is specific to the current application. - * If the file-class starts with '::' it is global to all applications. - */ -class KRecentDirs -{ -public: - /** - * Returns a list of directories associated with this file-class. - * The most recently used directory is at the front of the list. - */ - static TQStringList list(const TQString &fileClass); - - /** - * Returns the most recently used directory accociated with this file-class. - */ - static TQString dir(const TQString &fileClass); - - /** - * Associates @p directory with @p fileClass - */ - static void add(const TQString &fileClass, const TQString &directory); -}; - -#endif diff --git a/python/pykde/extra/kde311/ksycocafactory.h b/python/pykde/extra/kde311/ksycocafactory.h deleted file mode 100644 index 1959edda..00000000 --- a/python/pykde/extra/kde311/ksycocafactory.h +++ /dev/null @@ -1,137 +0,0 @@ -/* This file is part of the KDE libraries - * Copyright (C) 1999 Waldo Bastian - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License version 2 as published by the Free Software Foundation; - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public License - * along with this library; see the file COPYING.LIB. If not, write to - * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - * Boston, MA 02110-1301, USA. - **/ - -#ifndef __ksycocafactory_h__ -#define __ksycocafactory_h__ "$Id: ksycocafactory.h,v 1.13 2002/09/21 15:07:27 tjansen Exp $" - -#include "ksycocatype.h" -#include "ksycocaentry.h" - -#include -#include -class KSycoca; -class TQStringList; -class TQString; -class KSycocaDict; -class KSycocaResourceList; - -typedef TQDict KSycocaEntryDict; - -/** - * @internal - * Base class for sycoca factories - */ -class KSycocaFactory -{ -public: - virtual KSycocaFactoryId factoryId() const = 0; - -protected: // virtual class - /** - * Create a factory which can be used to lookup from/create a database - * (depending on KSycoca::isBuilding()) - */ - KSycocaFactory( KSycocaFactoryId factory_id ); - -public: - virtual ~KSycocaFactory(); - - /** - * @return the position of the factory in the sycoca file - */ - int offset() { return mOffset; } - - /** - * @return the dict, for special use by KBuildSycoca - */ - KSycocaEntryDict * entryDict() { return m_entryDict; } - - /** - * Construct an entry from a config file. - * To be implemented in the real factories. - */ - virtual KSycocaEntry *createEntry(const TQString &file, const char *resource) = 0; - - /** - * Add an entry - */ - virtual void addEntry(KSycocaEntry *newEntry, const char *resource); - - /** - * Read an entry from the database - */ - virtual KSycocaEntry *createEntry(int offset)=0; - - /** - * Get a list of all entries from the database. - */ - KSycocaEntry::List allEntries(); - - /** - * Saves all entries it maintains as well as index files - * for these entries to the stream 'str'. - * - * Also sets mOffset to the starting position. - * - * The stream is positioned at the end of the last index. - * - * Don't forget to call the parent first when you override - * this function. - */ - virtual void save(TQDataStream &str); - - /** - * Writes out a header to the stream 'str'. - * The baseclass positions the stream correctly. - * - * Don't forget to call the parent first when you override - * this function. - */ - virtual void saveHeader(TQDataStream &str); - - /** - * @return the resources for which this factory is responsible. - */ - virtual const KSycocaResourceList * resourceList() const { return m_resourceList; } - -private: - int mOffset; - -protected: - int m_sycocaDictOffset; - int m_beginEntryOffset; - int m_endEntryOffset; - TQDataStream *m_str; - - KSycocaResourceList *m_resourceList; - KSycocaEntryDict *m_entryDict; - KSycocaDict *m_sycocaDict; -protected: - virtual void virtual_hook( int id, void* data ); -}; - -/** This, instead of a typedef, allows to declare "class ..." in header files - * @internal - */ -class KSycocaFactoryList : public TQPtrList -{ -public: - KSycocaFactoryList() { } -}; - -#endif diff --git a/python/pykde/extra/kde311/ktoolbarbutton.h b/python/pykde/extra/kde311/ktoolbarbutton.h deleted file mode 100644 index 6fafb1ed..00000000 --- a/python/pykde/extra/kde311/ktoolbarbutton.h +++ /dev/null @@ -1,317 +0,0 @@ -/* This file is part of the KDE libraries - Copyright (C) 1997, 1998 Stephan Kulow (coolo@kde.org) - (C) 1997, 1998 Sven Radej (radej@kde.org) - (C) 1997, 1998 Mark Donohoe (donohoe@kde.org) - (C) 1997, 1998 Matthias Ettrich (ettrich@kde.org) - (C) 2000 Kurt Granroth (granroth@kde.org) - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License version 2 as published by the Free Software Foundation. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. -*/ - -// $Id: ktoolbarbutton.h,v 1.26 2002/09/28 15:16:22 tjansen Exp $ -#ifndef _KTOOLBARBUTTON_H -#define _KTOOLBARBUTTON_H - -#include -#include -#include -#include -#include - -class KToolBar; -class KToolBarButtonPrivate; -class KInstance; -class TQEvent; -class TQPopupMenu; -class TQPainter; - -/** - * A toolbar button. This is used internally by @ref KToolBar, use the - * KToolBar methods instead. - * @internal - */ -class KToolBarButton : public QToolButton -{ - Q_OBJECT - -public: - /** - * Construct a button with an icon loaded by the button itself. - * This will trust the button to load the correct icon with the - * correct size. - * - * @param icon Name of icon to load (may be absolute or relative) - * @param id Id of this button - * @param parent This button's parent - * @param name This button's internal name - * @param txt This button's text (in a tooltip or otherwise) - */ - KToolBarButton(const TQString& icon, int id, TQWidget *parent, - const char *name=0L, const TQString &txt=TQString::null, - KInstance *_instance = KGlobal::instance()); - - /** - * Construct a button with an existing pixmap. It is not - * recommended that you use this as the internal icon loading code - * will almost always get it "right". - * - * @param icon Name of icon to load (may be absolute or relative) - * @param id Id of this button - * @param parent This button's parent - * @param name This button's internal name - * @param txt This button's text (in a tooltip or otherwise) - */ - KToolBarButton(const TQPixmap& pixmap, int id, TQWidget *parent, - const char *name=0L, const TQString &txt=TQString::null); - - /** - * Construct a separator button - * - * @param parent This button's parent - * @param name This button's internal name - */ - KToolBarButton(TQWidget *parent=0L, const char *name=0L); - - /** - * Standard destructor - */ - ~KToolBarButton(); - -#ifndef KDE_NO_COMPAT - /** - * @deprecated - * Set the pixmap directly for this button. This pixmap should be - * the active one... the dimmed and disabled pixmaps are constructed - * based on this one. However, don't use this function unless you - * are positive that you don't want to use @ref setIcon. - * - * @param pixmap The active pixmap - */ - // this one is from TQButton, so #ifdef-ing it out doesn't break BC - virtual void setPixmap(const TQPixmap &pixmap); - - /** - * @deprecated - * Force the button to use this pixmap as the default one rather - * then generating it using effects. - * - * @param pixmap The pixmap to use as the default (normal) one - */ - void setDefaultPixmap(const TQPixmap& pixmap); - - /** - * @deprecated - * Force the button to use this pixmap when disabled one rather then - * generating it using effects. - * - * @param pixmap The pixmap to use when disabled - */ - void setDisabledPixmap(const TQPixmap& pixmap); -#endif - - /** - * Set the text for this button. The text will be either used as a - * tooltip (IconOnly) or will be along side the icon - * - * @param text The button (or tooltip) text - */ - virtual void setText(const TQString &text); - - /** - * Set the icon for this button. The icon will be loaded internally - * with the correct size. This function is preferred over @ref setIconSet - * - * @param icon The name of the icon - */ - virtual void setIcon(const TQString &icon); - - /// @since 3.1 - virtual void setIcon( const TQPixmap &pixmap ) - { TQToolButton::setIcon( pixmap ); } - - /** - * Set the pixmaps for this toolbar button from a TQIconSet. - * If you call this you don't need to call any of the other methods - * that set icons or pixmaps. - * @param iconset The iconset to use - */ - virtual void setIconSet( const TQIconSet &iconset ); - -#ifndef KDE_NO_COMPAT - /** - * @deprecated - * Set the active icon for this button. The pixmap itself is loaded - * internally based on the icon size... .. the disabled and default - * pixmaps, however will only be constructed if @ref #generate is - * true. This function is preferred over @ref setPixmap - * - * @param icon The name of the active icon - * @param generate If true, then the other icons are automagically - * generated from this one - */ - void setIcon(const TQString &icon, bool /*generate*/ ) { setIcon( icon ); } - - /** - * @deprecated - * Force the button to use this icon as the default one rather - * then generating it using effects. - * - * @param icon The icon to use as the default (normal) one - */ - void setDefaultIcon(const TQString& icon); - - /** - * @deprecated - * Force the button to use this icon when disabled one rather then - * generating it using effects. - * - * @param icon The icon to use when disabled - */ - void setDisabledIcon(const TQString& icon); -#endif - - /** - * Turn this button on or off - * - * @param flag true or false - */ - void on(bool flag = true); - - /** - * Toggle this button - */ - void toggle(); - - /** - * Turn this button into a toggle button or disable the toggle - * aspects of it. This does not toggle the button itself. - * Use @ref toggle() for that. - * - * @param toggle true or false - */ - void setToggle(bool toggle = true); - - /** - * Return a pointer to this button's popup menu (if it exists) - */ - TQPopupMenu *popup(); - - /** - * Give this button a popup menu. There will not be a delay when - * you press the button. Use @ref setDelayedPopup if you want that - * behavior. You can also make the popup-menu - * "sticky", i.e. visible until a selection is made or the mouse is - * clikced elsewhere, by simply setting the second argument to true. - * This "sticky" button feature allows you to make a selection without - * having to press and hold down the mouse while making a selection. - * - * @param p The new popup menu - * @param toggle if true, makes the button "sticky" (toggled) - */ - void setPopup (TQPopupMenu *p, bool toggle = false); - - /** - * Gives this button a delayed popup menu. - * - * This function allows you to add a delayed popup menu to the button. - * The popup menu is then only displayed when the button is pressed and - * held down for about half a second. You can also make the popup-menu - * "sticky", i.e. visible until a selection is made or the mouse is - * clikced elsewhere, by simply setting the second argument to true. - * This "sticky" button feature allows you to make a selection without - * having to press and hold down the mouse while making a selection. - * - * @param p the new popup menu - * @param toggle if true, makes the button "sticky" (toggled) - */ - void setDelayedPopup(TQPopupMenu *p, bool toggle = false); - - /** - * Turn this button into a radio button - * - * @param f true or false - */ - void setRadio(bool f = true); - - /** - * Toolbar buttons naturally will assume the global styles - * concerning icons, icons sizes, etc. You can use this function to - * explicitely turn this off, if you like. - * - * @param no_style Will disable styles if true - */ - void setNoStyle(bool no_style = true); - -signals: - void clicked(int); - void doubleClicked(int); - void pressed(int); - void released(int); - void toggled(int); - void highlighted(int, bool); - -public slots: - /** - * This slot should be called whenever the toolbar mode has - * potentially changed. This includes such events as text changing, - * orientation changing, etc. - */ - void modeChange(); - virtual void setTextLabel(const TQString&, bool tipToo); - -protected: - void paletteChange(const TQPalette &); - void leaveEvent(TQEvent *e); - void enterEvent(TQEvent *e); - void drawButton(TQPainter *p); - bool eventFilter (TQObject *o, TQEvent *e); - void showMenu(); - TQSize sizeHint() const; - TQSize minimumSizeHint() const; - TQSize minimumSize() const; - - /// @since 3.1 - bool isRaised() const; - /// @since 3.1 - bool isActive() const; - /// @since 3.1 - int iconTextMode() const; - -protected slots: - void slotClicked(); - void slotPressed(); - void slotReleased(); - void slotToggled(); - void slotDelayTimeout(); - -protected: - virtual void virtual_hook( int id, void* data ); -private: - KToolBarButtonPrivate *d; -}; - -/** -* List of @ref KToolBarButton objects. -* @internal -* @version $Id: ktoolbarbutton.h,v 1.26 2002/09/28 15:16:22 tjansen Exp $ -*/ -class KToolBarButtonList : public TQIntDict -{ -public: - KToolBarButtonList(); - ~KToolBarButtonList() {} -}; - -#endif diff --git a/python/pykde/extra/kde311/kurifilter.h b/python/pykde/extra/kde311/kurifilter.h deleted file mode 100644 index 6daf7769..00000000 --- a/python/pykde/extra/kde311/kurifilter.h +++ /dev/null @@ -1,602 +0,0 @@ -/* - * This file is part of the KDE libraries - * Copyright (C) 2000 Yves Arrouye - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public License - * along with this library; see the file COPYING.LIB. If not, write to - * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - * Boston, MA 02110-1301, USA. - **/ - -#ifndef __kurifilter_h__ -#define __kurifilter_h__ "$Id: kurifilter.h,v 1.27 2002/10/30 09:37:39 neil Exp $" - -#include -#include - -#include - -class KURIFilterPrivate; -class KURIFilterDataPrivate; - -class TQStringList; -class KCModule; - -/** -* This is a basic message object used for exchanging filtering -* information between the filter plugins and the application -* whenever the application requires more information about the -* URI than just a filtered version of it. Any application can -* create an instance of this class and send it to @ref KURIFilter -* to have the filter plugins fill the necessary information. -* -* @sect Example -*
-*   TQString text = "kde.org";
-*   KURIFilterData d = text;
-*   bool filtered = KURIFilter::self()->filter( d );
-*   if( filtered )
-*     print ( "URI: %s\n"Filtered URI: %s\n URI Type: %i\n"Was Filtered: %i"
-*             text.latin1(), d.uri().url().latin1(), d.uriType(), filtered );
-* 
-* -* The above code should yield the following output: -*
-*   URI: kde.org
-*   Filtered URI: http://kde.org
-*   URI Type: 0            <== means NET_PROTOCOL
-*   Was Filtered: 1        <== means the URL was successfully filtered
-* 
-* -* @short A message object for exchanging filtering URI info. -*/ - -class KURIFilterData -{ -friend class KURIFilterPlugin; - -public: - /** - * Describes the type of URI to be filtered. - * - * This enumerator prvoides the return value for - * @ref uriType. A brief description for each value: - * - * @li NET_PROTOCOL - Any network protocol: http, ftp, nttp, pop3, etc... - * @li LOCAL_FILE - A local file whose executable flag is not set - * @li LOCAL_DIR - A local directory - * @li EXECUTABLE - A local file whose executable flag is set - * @li HELP - A man or info page - * @li SHELL - A shell executable (ex: echo "Test..." >> ~/testfile) - * @li BLOCKED - A URI that should be blocked/filtered (ex: ad filtering) - * @li ERROR - An incorrect URI (ex: "~johndoe" when user johndoe - * does not exist in that system ) - * @li UNKNOWN - A URI that is not identified. Default value when - * a KURIFilterData is first created. - */ - enum URITypes { NET_PROTOCOL=0, LOCAL_FILE, LOCAL_DIR, EXECUTABLE, HELP, SHELL, BLOCKED, ERROR, UNKNOWN }; - - /** - * Default constructor. - * - * Creates a URIFilterData object. - */ - KURIFilterData() { init(); } - - /** - * Creates a URIFilterData object from the given URL. - * - * @param url is the URL to be filtered. - */ - KURIFilterData( const KURL& url ) { init( url); } - - /** - * Creates a URIFilterData object from the given string. - * - * @param url is the string to be filtered. - */ - KURIFilterData( const TQString& url ) { init( url ); } - - /** - * Copy constructor. - * - * Creates a URIFilterData object from another - * URI filter data object. - * - * @param data the uri filter data to be copied. - */ - KURIFilterData( const KURIFilterData& /*data*/); - - /** - * Destructor. - */ - ~KURIFilterData(); - - /** - * This method has been deprecated and will always return - * TRUE. You should instead use the result from the - * @ref KURIFilter::filterURI() calls. - * - * @deprecated - */ - bool hasBeenFiltered() const { return m_bFiltered; } - - /** - * Returns the filtered or the original URL. - * - * This function returns the filtered url if one - * of the plugins sucessfully filtered the original - * URL. Otherwise, it returns the original URL. - * See @ref #hasBeenFiltered() and - * - * @return the filtered or original url. - */ - KURL uri() const { return m_pURI; } - - /** - * Returns an error message. - * - * This functions returns the error message set - * by the plugin whenever the uri type is set to - * KURIFilterData::ERROR. Otherwise, it returns - * a TQString::null. - * - * @return the error message or a NULL when there is none. - */ - TQString errorMsg() const { return m_strErrMsg; } - - /** - * Returns the URI type. - * - * This method always returns KURIFilterData::UNKNOWN - * if the given URL was not filtered. - */ - URITypes uriType() const { return m_iType; } - - /** - * Sets the URL to be filtered. - * - * Use this function to set the string to be - * filtered when you construct an empty filter - * object. - * - * @param url the string to be filtered. - */ - void setData( const TQString& url ) { init( url ); } - - /** - * Same as above except the argument is a URL. - * - * Use this function to set the string to be - * filtered when you construct an empty filter - * object. - * - * @param url the URL to be filtered. - */ - void setData( const KURL& url ) { init( url ); } - - /** - * Sets the absolute path to be used whenever the supplied - * data is a relative local URL. - * - * NOTE: This function works only for a local resource and - * expects the absolute path to the relative URL set in this - * meta object. If you are extracting the absolute path from - * a KURL object, make sure you always set the argument below - * using KURL::path() instead of KURL::url() so that "file:/" - * would not be appended! Otherwise, the filter might not be - * able to make correct determination whether the relative URL - * locally exists! - * - * @param abs_path the abolute path to the local resource. - * @return true if absolute path is successfully set. Otherwise, false. - */ - bool setAbsolutePath( const TQString& /* abs_path */ ); - - /** - * Returns the absolute path if one has already been set. - */ - TQString absolutePath() const; - - /** - * Returns true if the supplied data has an absolute path. - */ - bool hasAbsolutePath() const; - - /** - * Returns the command line options and arguments for a - * local resource when present. - * - * @return options and arguments when present, otherwise TQString::null - */ - TQString argsAndOptions() const; - - /** - * Returns true if the current data is a local resource with - * command line options and arguments. - */ - bool hasArgsAndOptions() const; - - /** - * Returns the name of the icon that matches - * the current filtered URL. - * - * NOTE that this function will return a NULL - * string by default and when no associated icon - * is found. - * - * @return the name of the icon associated with the resource - */ - TQString iconName(); - - /** - * Overloaded assigenment operator. - * - * This function allows you to easily assign a KURL - * to a KURIFilterData object. - * - * @return an instance of a KURIFilterData object. - */ - KURIFilterData& operator=( const KURL& url ) { init( url ); return *this; } - - /** - * Overloaded assigenment operator. - * - * This function allows you to easily assign a QString - * to a KURIFilterData object. - * - * @return an instance of a KURIFilterData object. - */ - KURIFilterData& operator=( const TQString& url ) { init( url ); return *this; } - -protected: - - /** - * Initializes the KURIFilterData on construction. - */ - void init( const KURL& url = TQString::null ); - -private: - bool m_bFiltered; - bool m_bChanged; - - TQString m_strErrMsg; - TQString m_strIconName; - - KURL m_pURI; - URITypes m_iType; - KURIFilterDataPrivate *d; -}; - - -/** - * Base class for URI filter plugins. - * - * This class applies a single filter to a URI. All - * plugins designed to provide URI filtering functionalities - * should inherit from this abstract class and provide a - * specific filtering implementation. - * - * All inheriting classes need to implement the pure - * virtual function @ref filterURI. Otherwise, they - * would also become abstract. - * - * @short Abstract class for URI filter plugins. - */ -class KURIFilterPlugin : public QObject -{ - Q_OBJECT - -public: - - /** - * Constructs a filter plugin with a given name and - * priority. - * - * @param parent the parent object. - * @param name the name of the plugin. - * @param pri the priority of the plugin. - */ - KURIFilterPlugin( TQObject *parent = 0, const char *name = 0, double pri = 1.0 ); - - /** - * Returns the filter's name. - * - * @return A string naming the filter. - */ - virtual TQString name() const { return m_strName; } - - /** - * Returns the filter's priority. - * - * Each filter has an assigned priority, a float from 0 to 1. Filters - * with the lowest priority are first given a chance to filter a URI. - * - * @return The priority of the filter. - */ - virtual double priority() const { return m_dblPriority; } - - /** - * Filters a URI. - * - * @param data the URI data to be filtered. - * @return A boolean indicating whether the URI has been changed. - */ - virtual bool filterURI( KURIFilterData& data ) const = 0; - - /** - * Creates a configuration module for the filter. - * - * It is the responsability of the caller to delete the module - * once it is not needed anymore. - * - * @return A configuration module, @p null if the filter isn't configurable. - */ - virtual KCModule *configModule( TQWidget*, const char* ) const { return 0; } - - /** - * Returns the name of the configuration module for the filter. - * - * @return the name of a configuration module or @p null if none. - */ - virtual TQString configName() const { return name(); } - -protected: - - /** - * Sets the the URL in @p data to @p uri. - */ - void setFilteredURI ( KURIFilterData& data, const KURL& uri ) const; - - /** - * Sets the error message in @p data to @p errormsg. - */ - void setErrorMsg ( KURIFilterData& data, const TQString& errmsg ) const { - data.m_strErrMsg = errmsg; - } - - /** - * Sets the URI type in @p data to @p type. - */ - void setURIType ( KURIFilterData& data, KURIFilterData::URITypes type) const { - data.m_iType = type; - data.m_bChanged = true; - } - - /** - * Sets the arguments and options string in @p data - * to @p args if any were found during filterting. - */ - void setArguments( KURIFilterData& data, const TQString& args ) const; - - TQString m_strName; - double m_dblPriority; - -protected: - virtual void virtual_hook( int id, void* data ); -private: - class KURIFilterPluginPrivate *d; -}; - - -class KURIFilterPluginList : public TQPtrList -{ -public: - virtual int compareItems(Item a, Item b) - { - double diff = ((KURIFilterPlugin *) a)->priority() - ((KURIFilterPlugin *) b)->priority(); - return diff < 0 ? -1 : (diff > 0 ? 1 : 0); - } - -private: - KURIFilterPrivate *d; - -}; - -/** - * Manages the filtering of a URI. - * - * The intention of this plugin class is to allow people to extend - * the functionality of KURL without modifying it directly. This - * way KURL will remain a generic parser capable of parsing any - * generic URL that adheres to specifications. - * - * The KURIFilter class applies a number of filters to a URI, - * and returns the filtered version whenever possible. The filters - * are implemented using plugins to provide easy extensibility - * of the filtering mechanism. That is, new filters can be added in - * the future by simply inheriting from @ref KURIFilterPlugin and - * implementing the @ref KURIFilterPlugin::filterURI method. - * - * Use of this plugin-manager class is straight forward. Since - * it is a singleton object, all you have to do is obtain an instance - * by doing @p KURIFilter::self() and use any of the public member - * functions to preform the filtering. - * - * @sect Example - * - * To simply filter a given string: - *
- * bool filtered = KURIFilter::self()->filterURI( "kde.org" );
- * 
- * - * You can alternatively use a KURL: - *
- * KURL url = "kde.org";
- * bool filtered = KURIFilter::self()->filterURI( url );
- * 
- * - * If you have a constant string or a constant URL, - * simply invoke the corresponding function to obtain - * the filtered string or URL instead of a boolean flag: - *
- * TQString u = KURIFilter::self()->filteredURI( "kde.org" );
- * 
- * - * You can also specify only specific filter(s) to be applied - * by supplying the name(s) of the filter(s). By defualt all - * filters that are found are loaded when the KURIFilter object - * is created will be used. These names are taken from the - * enteries in the \".desktop\" files. Here are a couple of - * examples: - *
- * TQString text = "kde.org";
- * bool filtered = KURIFilter::self()->filterURI( text, "KShortURIFilter" );
- *
- * TQStringList list;
- * list << "KShortURIFilter" << "MyFilter";
- * bool filtered = KURIFilter::self()->filterURI( text, list );
- * 
- * - * KURIFilter also allows richer data exchange through a simple - * meta-object called @p KURIFilterData. Using this meta-object - * you can find out more information about the URL you want to - * filter. See @ref KURIFilterData for examples and details. - * - * @short Filters a given URL into its proper format whenever possible. - */ - -class KURIFilter -{ -public: - /** - * Destructor - */ - ~KURIFilter (); - - /** - * Return a static instance of KURIFilter. - */ - static KURIFilter* self(); - - /** - * Filters the URI given by the object URIFilterData. - * - * This filters the given data based on the specified - * filter list. If the list is empty all avaliable - * filter plugins would be used. If not, only those - * given in the list are used. - * - * @param data object that contains the URI to be filtered. - * @param filters specify the list filters to be used - * - * @return a boolean indicating whether the URI has been changed - */ - bool filterURI( KURIFilterData& data, const TQStringList& filters = TQStringList() ); - - /** - * Filters the URI given by the URL. - * - * This filters the given URL based on the specified - * filter list. If the list is empty all avaliable - * filter plugins would be used. If not, only those - * given in the list are used. - * - * @param uri the URI to filter. - * @param filters specify the list of filters to be used - * - * @return a boolean indicating whether the URI has been changed - */ - bool filterURI( KURL &uri, const TQStringList& filters = TQStringList() ); - - /** - * Filters a string representing a URI. - * - * This filters the given string based on the specified - * filter list. If the list is empty all avaliable - * filter plugins would be used. If not, only those - * given in the list are used. - * - * @param uri The URI to filter. - * @param filters specify the list filters to be used - * - * @return a boolean indicating whether the URI has been changed - */ - bool filterURI( TQString &uri, const TQStringList& filters = TQStringList() ); - - /** - * Returns the filtered URI. - * - * This filters the given URL based on the specified - * filter list. If the list is empty all avaliable - * filter plugins would be used. If not, only those - * given in the list are used. - * - * @param uri The URI to filter. - * @param filters specify the list filters to be used - * - * @return the filtered URI or null if it cannot be filtered - */ - KURL filteredURI( const KURL &uri, const TQStringList& filters = TQStringList() ); - - /** - * Return a filtered string representation of a URI. - * - * This filters the given URL based on the specified - * filter list. If the list is empty all avaliable - * filter plugins would be used. If not, only those - * given in the list are used. - * - * @param uri the URI to filter. - * @param filters specify the list filters to be used - * - * @return the filtered URI or null if it cannot be filtered - */ - TQString filteredURI( const TQString &uri, const TQStringList& filters = TQStringList() ); - - /** - * Return an iterator to iterate over all loaded - * plugins. - * - * @return a plugin iterator. - */ - TQPtrListIterator pluginsIterator() const; - - /** - * Return a list of the names of all loaded plugins - * - * @since 3.1 - * - * @return a TQStringList of plugin names - */ - TQStringList pluginNames() const; - -protected: - - /** - * A protected constructor. - * - * This constructor creates a KURIFilter and - * initializes all plugins it can find by invoking - * @ref loadPlugins. - */ - KURIFilter(); - - /** - * Loads all allowed plugins. - * - * This function loads all filters that have not - * been dis - */ - void loadPlugins(); - -private: - - static KURIFilter *m_self; - KURIFilterPluginList m_lstPlugins; - KURIFilterPrivate *d; - -}; - -#endif - diff --git a/python/pykde/extra/kde312/kaccelaction.h b/python/pykde/extra/kde312/kaccelaction.h deleted file mode 100644 index 8e422505..00000000 --- a/python/pykde/extra/kde312/kaccelaction.h +++ /dev/null @@ -1,564 +0,0 @@ -/* This file is part of the KDE libraries - Copyright (C) 2001,2002 Ellis Whitehead - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. -*/ - -#ifndef _KACCELACTION_H -#define _KACCELACTION_H - -#include -#include -#include -#include - -#include - -class KAccelBase; - -class TQObject; -class KConfig; -class KConfigBase; - -/** - * @internal - * A KAccelAction prepresents an action that can be executed using - * an accelerator key. Each KAccelAction has a name, a label, a - * "What's this" string and a @ref KShortcut. The user can configure and - * enable/disable them using @ref KKeyDialog. - * - *
- *	1) KAccelAction = "Run Command"
- *		Default3 = "Alt+F2"
- *		Default4 = "Meta+Enter;Alt+F2"
- *		1) KShortcut = "Meta+Enter"
- *			1) KKeySequence = "Meta+Enter"
- *				1) KKey = "Meta+Enter"
- *					1) Meta+Enter
- *					2) Meta+Keypad_Enter
- *		2) KShortcut = "Alt+F2"
- *			1) KKeySequence = "Alt+F2"
- *				1) Alt+F2
- *	2) KAccelAction = "Something"
- *		Default3 = ""
- *		Default4 = ""
- *		1) KShortcut = "Meta+X,Asterisk"
- *			1) KKeySequence = "Meta+X,Asterisk"
- *				1) KKey = "Meta+X"
- *					1) Meta+X
- *				2) KKey = "Asterisk"
- *					1) Shift+8 (English layout)
- *					2) Keypad_Asterisk
- * 
- * @short An accelerator action - * @see KAccel - * @see KGlobalAccel - * @see KKeyChooser - * @see KKeyDialog - */ -class KAccelAction -{ - public: - /** - * Creates an empty KAccelAction. - * @see clear() - */ - KAccelAction(); - - /** - * Copy constructor. - */ - KAccelAction( const KAccelAction& ); - - /** - * Creates a new KAccelAction. - * @param sName the name of the accelerator - * @param sLabel the label of the accelerator (i18n!) - * @param sWhatsThis the What's This text (18n!) - * @param cutDef3 the default shortcut for 3 modifier systems - * @param cutDef4 the default shortcut for 4 modifier systems - * @param pObjSlot the receiver of a signal when the key has been - * pressed - * @param psMethodSlot the slot to connect for key presses. Receives - * an int, as set by @ref setID(), as only argument - * @param bConfigurable if true the user can configure the shortcut - * @param bEnabled true if the accelerator should be enabled - */ - KAccelAction( const TQString& sName, const TQString& sLabel, const TQString& sWhatsThis, - const KShortcut& cutDef3, const KShortcut& cutDef4, - const TQObject* pObjSlot, const char* psMethodSlot, - bool bConfigurable, bool bEnabled ); - ~KAccelAction(); - - /** - * Clears the accelerator. - */ - void clear(); - - /** - * Re-initialized the KAccelAction. - * @param sName the name of the accelerator - * @param sLabel the label of the accelerator (i18n!) - * @param sWhatsThis the What's This text (18n!) - * @param cutDef3 the default shortcut for 3 modifier systems - * @param cutDef4 the default shortcut for 4 modifier systems - * @param pObjSlot the receiver of a signal when the key has been - * pressed - * @param psMethodSlot the slot to connect for key presses. Receives - * an int, as set by @ref setID(), as only argument - * @param bConfigurable if true the user can configure the shortcut - * @param bEnabled true if the accelerator should be enabled - * @return true if successful, false otherwise - */ - bool init( const TQString& sName, const TQString& sLabel, const TQString& sWhatsThis, - const KShortcut& cutDef3, const KShortcut& cutDef4, - const TQObject* pObjSlot, const char* psMethodSlot, - bool bConfigurable, bool bEnabled ); - - /** - * Copies this KAccelAction. - */ - KAccelAction& operator=( const KAccelAction& ); - - /** - * Returns the name of the accelerator action. - * @return the name of the accelerator action, can be null if not - * set - */ - const TQString& name() const { return m_sName; } - - /** - * Returns the label of the accelerator action. - * @return the label of the accelerator action, can be null if - * not set - */ - const TQString& label() const { return m_sLabel; } - - /** - * Returns the What's This text of the accelerator action. - * @return the What's This text of the accelerator action, can be - * null if not set - */ - const TQString& whatsThis() const { return m_sWhatsThis; } - - /** - * The shortcut that is actually used (may be used configured). - * @return the shortcut of the KAccelAction, can be null if not set - * @see shortcutDefault() - */ - const KShortcut& shortcut() const { return m_cut; } - - /** - * The default shortcut for this system. - * @return the default shortcut on this system, can be null if not set - * @see shortcut() - * @see shortcutDefault3() - * @see shortcutDefault4() - */ - const KShortcut& shortcutDefault() const; - - /** - * The default shortcut for 3 modifier systems. - * @return the default shortcut for 3 modifier systems, can be null - * if not set - * @see shortcutDefault() - * @see shortcutDefault4() - * @see useFourModifierKeys() - */ - const KShortcut& shortcutDefault3() const { return m_cutDefault3; } - - /** - * The default shortcut for 4 modifier systems. - * @return the default shortcut for 4 modifier systems, can be null - * if not set - * @see shortcutDefault() - * @see shortcutDefault3() - * @see useFourModifierKeys() - */ - const KShortcut& shortcutDefault4() const { return m_cutDefault4; } - - /** - * Returns the receiver of signals. - * @return the receiver of signals (can be 0 if not set) - */ - const TQObject* objSlotPtr() const { return m_pObjSlot; } - - /** - * Returns the slot for the signal. - * @return the slot for the signal - */ - const char* methodSlotPtr() const { return m_psMethodSlot; } - - /** - * Checks whether the user can configure the action. - * @return true if configurable, false otherwise - */ - bool isConfigurable() const { return m_bConfigurable; } - - /** - * Checks whether the action is enabled. - * @return true if enabled, false otherwise - */ - bool isEnabled() const { return m_bEnabled; } - - /** - * Sets the name of the accelerator action. - * @param name the new name - */ - void setName( const TQString& name ); - - /** - * Sets the user-readable label of the accelerator action. - * @param label the new label (i18n!) - */ - void setLabel( const TQString& label ); - - /** - * Sets the What's This text for the accelerator action. - * @param whatsThis the new What's This text (i18n!) - */ - void setWhatsThis( const TQString& whatsThis ); - - /** - * Sets the new shortcut of the accelerator action. - * @param rgCuts the shortcut to set - * @return true if successful, false otherwise - */ - bool setShortcut( const KShortcut& rgCuts ); - - /** - * Sets the slot of the accelerator action. - * @param pObjSlot the receiver object of the signal - * @param psMethodSlot the slot for the signal - */ - void setSlot( const TQObject* pObjSlot, const char* psMethodSlot ); - - /** - * Enables or disabled configuring the action. - * @param configurable true to enable configurability, false to disable - */ - void setConfigurable( bool configurable ); - - /** - * Enables or disabled the action. - * @param configurable true to enable the action, false to disable - */ - void setEnabled( bool enable ); - - /** - * Retrieves the id set using @ref setID. - * @return the id of the accelerator action - */ - int getID() const { return m_nIDAccel; } - - /** - * Allows you to set an id that will be used as the action - * signal's argument. - * - * @param n the new id - * @see @ref getID() - */ - void setID( int n ) { m_nIDAccel = n; } - - /** - * Checkes whether the action is connected (emits signals). - * @return true if connected, false otherwise - */ - bool isConnected() const; - - /** - * Sets a key sequence of the action's shortcut. - * @param i the position of the sequence - * @param keySeq the new new sequence - * @return true if successful, false otherwise - * @see KShortcut::setSeq() - */ - bool setKeySequence( uint i, const KKeySequence &keySeq ); - - /** - * Clears the action's shortcut. It will not contain any sequences after - * calling this method. - * @see KShortcut::clear() - */ - void clearShortcut(); - - /** - * Checks whether the action's shortcut contains the given key sequence. - * @param keySeq the key sequence to check - * @return true if the shortcut contains the given sequence - * @see KShortcut::contains() - */ - bool contains( const KKeySequence &keySeq ); - - /** - * Returns the string representation of the action's shortcut. - * @return the string representation of the action's shortcut. - * @see KShortcut::toString() - */ - TQString toString() const; - - /** - * @internal - */ - TQString toStringInternal() const; - - /** - * Returns true if four modifier keys will be used. - * @return true if four modifier keys will be used. - */ - static bool useFourModifierKeys(); - - /** - * Selects 3 or 4 modifier default shortcuts. - * @param use true to use 4 modifier shortcuts, false to use - * 3 modifier shortcuts - */ - static void useFourModifierKeys( bool use ); - - protected: - TQString m_sName, - m_sLabel, - m_sWhatsThis; - KShortcut m_cut; - KShortcut m_cutDefault3, m_cutDefault4; - const TQObject* m_pObjSlot; - const char* m_psMethodSlot; - bool m_bConfigurable, - m_bEnabled; - int m_nIDAccel; - uint m_nConnections; - - void incConnections(); - void decConnections(); - - private: - static int g_bUseFourModifierKeys; - class KAccelActionPrivate* d; - - friend class KAccelActions; - friend class KAccelBase; -}; - -//--------------------------------------------------------------------- -// KAccelActions -//--------------------------------------------------------------------- - -/** - * @internal - * This class represents a collection of @ref KAccelAction objects. - * - * @short A collection of accelerator actions - * @see KAccelAction - */ -class KAccelActions -{ - public: - /** - * Creates a new, empty KAccelActions object. - */ - KAccelActions(); - - /** - * Copy constructor (deep copy). - */ - KAccelActions( const KAccelActions& ); - virtual ~KAccelActions(); - - /** - * Removes all items from this collection. - */ - void clear(); - - /** - * Initializes this object with the given actions. - * It will make a deep copy of all actions. - * @param actions the actions to copy - * @return true if successful, false otherwise - */ - bool init( const KAccelActions &actions ); - - /** - * Loads the actions from the given configuration file. - * - * @param config the configuration file to load from - * @param sGroup the group in the configuration file - * @return true if successful, false otherwise - */ - bool init( KConfigBase& config, const TQString& sGroup ); - - /** - * Updates the shortcuts of all actions in this object - * with the shortcuts from the given object. - * @param shortcuts the collection that contains the new - * shortcuts - */ - void updateShortcuts( KAccelActions &shortcuts ); - - /** - * Retrieves the index of the action with the given name. - * @param sAction the action to search - * @return the index of the action, or -1 if not found - */ - int actionIndex( const TQString& sAction ) const; - - /** - * Returns the action with the given @p index. - * @param index the index of an action. You must not - * use an index that is too high. - * @return the KAccelAction with the given index - * @see count() - */ - KAccelAction* actionPtr( uint index ); - - /** - * Returns the action with the given @p index. - * @param index the index of an action. You must not - * use an index that is too high. - * @return the KAccelAction with the given index - * @see count() - */ - const KAccelAction* actionPtr( uint index ) const; - - /** - * Returns the action with the given name. - * @param aAction the name of the action to search - * @return the KAccelAction with the given name, or 0 - * if not found - */ - KAccelAction* actionPtr( const TQString& sAction ); - - /** - * Returns the action with the given name. - * @param aAction the name of the action to search - * @return the KAccelAction with the given name, or 0 - * if not found - */ - const KAccelAction* actionPtr( const TQString& sAction ) const; - - /** - * Returns the action with the given key sequence. - * @param cut the sequence to search for - * @return the KAccelAction with the given sequence, or 0 - * if not found - */ - KAccelAction* actionPtr( KKeySequence cut ); - - /** - * Returns the action with the given @p index. - * @param index the index of an action. You must not - * use an index that is too high. - * @return the KAccelAction with the given index - * @see actionPtr() - * @see count() - */ - KAccelAction& operator []( uint index ); - - /** - * Returns the action with the given @p index. - * @param index the index of an action. You must not - * use an index that is too high. - * @return the KAccelAction with the given index - * @see actionPtr() - * @see count() - */ - const KAccelAction& operator []( uint index ) const; - - /** - * Inserts an action into the collection. - * @param sName the name of the accelerator - * @param sLabel the label of the accelerator (i18n!) - * @param sWhatsThis the What's This text (18n!) - * @param cutDef3 the default shortcut for 3 modifier systems - * @param cutDef4 the default shortcut for 4 modifier systems - * @param pObjSlot the receiver of a signal when the key has been - * pressed - * @param psMethodSlot the slot to connect for key presses. Receives - * an int, as set by @ref setID(), as only argument - * @param bConfigurable if true the user can configure the shortcut - * @param bEnabled true if the accelerator should be enabled - * @return the new action - */ - KAccelAction* insert( const TQString& sAction, const TQString& sLabel, const TQString& sWhatsThis, - const KShortcut& rgCutDefaults3, const KShortcut& rgCutDefaults4, - const TQObject* pObjSlot = 0, const char* psMethodSlot = 0, - bool bConfigurable = true, bool bEnabled = true ); - - /** - * Inserts an action into the collection. - * @param sName the name of the accelerator - * @param sLabel the label of the accelerator (i18n!) - * @return the new action - */ - KAccelAction* insert( const TQString& sName, const TQString& sLabel ); - - /** - * Removes the given action. - * @param sAction the name of the action. - * @return true if successful, false otherwise - */ - bool remove( const TQString& sAction ); - - /** - * Loads the actions from the given configuration file. - * - * @param sConfigGroup the group in the configuration file - * @param pConfig the configuration file to load from - * @return true if successful, false otherwise - */ - bool readActions( const TQString& sConfigGroup = "Shortcuts", KConfigBase* pConfig = 0 ); - - /** - * Writes the actions to the given configuration file. - * - * @param sConfigGroup the group in the configuration file - * @param pConfig the configuration file to save to - * @param bWriteAll true to write all actions - * @param bGlobal true to write to the global configuration file - * @return true if successful, false otherwise - */ - bool writeActions( const TQString& sConfigGroup = "Shortcuts", KConfigBase* pConfig = 0, - bool bWriteAll = false, bool bGlobal = false ) const; - - /** - * Emit a keycodeChanged signal. - */ - void emitKeycodeChanged(); - - /** - * Returns the number of actions in the collection. - * @return the number of actions - */ - uint count() const; - - protected: - KAccelBase* m_pKAccelBase; - KAccelAction** m_prgActions; - uint m_nSizeAllocated, m_nSize; - - void resize( uint ); - void insertPtr( KAccelAction* ); - - private: - class KAccelActionsPrivate* d; - - KAccelActions( KAccelBase* ); - void initPrivate( KAccelBase* ); - KAccelActions& operator =( KAccelActions& ); - - friend class KAccelBase; -}; - -#endif // _KACCELACTION_H diff --git a/python/pykde/extra/kde312/kaccelbase.h b/python/pykde/extra/kde312/kaccelbase.h deleted file mode 100644 index 03fa9c87..00000000 --- a/python/pykde/extra/kde312/kaccelbase.h +++ /dev/null @@ -1,229 +0,0 @@ -/* This file is part of the KDE libraries - Copyright (C) 2001 Ellis Whitehead - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. -*/ - -#ifndef _KACCELBASE_H -#define _KACCELBASE_H - -#include -#include -#include -#include -#include - -#include "kaccelaction.h" -#include "kkeyserver_x11.h" - -class TQPopupMenu; -class TQWidget; - -//---------------------------------------------------- - -/** - * @internal - * Handle keyboard accelerators. - * - * Allow an user to configure - * key bindings through application configuration files or through the - * @ref KKeyChooser GUI. - * - * A @ref KAccel contains a list of accelerator items. Each accelerator item - * consists of an action name and a keyboard code combined with modifiers - * (Shift, Ctrl and Alt.) - * - * For example, "Ctrl+P" could be a shortcut for printing a document. The key - * codes are listed in ckey.h. "Print" could be the action name for printing. - * The action name identifies the key binding in configuration files and the - * @ref KKeyChooser GUI. - * - * When pressed, an accelerator key calls the slot to which it has been - * connected. Accelerator items can be connected so that a key will activate - * two different slots. - * - * A KAccel object handles key events sent to its parent widget and to all - * children of this parent widget. - * - * Key binding reconfiguration during run time can be prevented by specifying - * that an accelerator item is not configurable when it is inserted. A special - * group of non-configurable key bindings are known as the - * standard accelerators. - * - * The standard accelerators appear repeatedly in applications for - * standard document actions such as printing and saving. Convenience methods are - * available to insert and connect these accelerators which are configurable on - * a desktop-wide basis. - * - * It is possible for a user to choose to have no key associated with - * an action. - * - * The translated first argument for @ref insertItem() is used only - * in the configuration dialog. - *
- * KAccel *a = new KAccel( myWindow );
- * // Insert an action "Scroll Up" which is associated with the "Up" key:
- * a->insertItem( i18n("Scroll up"), "Scroll Up", "Up" );
- * // Insert an action "Scroll Down" which is not associated with any key:
- * a->insertItem( i18n("Scroll down"), "Scroll Down", 0);
- * a->connectItem( "Scroll up", myWindow, TQT_SLOT( scrollUp() ) );
- * // a->insertStdItem( KStdAccel::Print ); //not necessary, since it
- *	// is done automatially with the
- *	// connect below!
- * a->connectItem(KStdAccel::Print, myWindow, TQT_SLOT( printDoc() ) );
- *
- * a->readSettings();
- *
- * - * If a shortcut has a menu entry as well, you could insert them like - * this. The example is again the @ref KStdAccel::Print from above. - * - *
- * int id;
- * id = popup->insertItem("&Print",this, TQT_SLOT(printDoc()));
- * a->changeMenuAccel(popup, id, KStdAccel::Print );
- * 
- * - * If you want a somewhat "exotic" name for your standard print action, like - * id = popup->insertItem(i18n("Print &Document"),this, TQT_SLOT(printDoc())); - * it might be a good idea to insert the standard action before as - * a->insertStdItem( KStdAccel::Print, i18n("Print Document") ) - * as well, so that the user can easily find the corresponding function. - * - * This technique works for other actions as well. Your "scroll up" function - * in a menu could be done with - * - *
- *    id = popup->insertItem(i18n"Scroll &up",this, TQT_SLOT(scrollUp()));
- *    a->changeMenuAccel(popup, id, "Scroll Up" );
- * 
- * - * Please keep the order right: First insert all functions in the - * acceleratior, then call a -> @ref readSettings() and @em then build your - * menu structure. - * - * @short Configurable key binding support. - * @version $Id: kaccelbase.h,v 1.22 2002/10/06 18:19:39 ellis Exp $ - */ - -class KAccelBase -{ - public: - enum Init { QT_KEYS = 0x00, NATIVE_KEYS = 0x01 }; - enum Signal { KEYCODE_CHANGED }; - - KAccelBase( int fInitCode ); - virtual ~KAccelBase(); - - uint actionCount() const; - KAccelActions& actions(); - bool isEnabled() const; - - KAccelAction* actionPtr( const TQString& sAction ); - const KAccelAction* actionPtr( const TQString& sAction ) const; - KAccelAction* actionPtr( const KKey& key ); - KAccelAction* actionPtr( const KKeyServer::Key& key ); - - const TQString& configGroup() const { return m_sConfigGroup; } - void setConfigGroup( const TQString& group ); - void setConfigGlobal( bool global ); - virtual void setEnabled( bool bEnabled ) = 0; - bool getAutoUpdate() { return m_bAutoUpdate; } - // return value of AutoUpdate flag before this call. - bool setAutoUpdate( bool bAuto ); - -// Procedures for manipulating Actions. - //void clearActions(); - - KAccelAction* insert( const TQString& sName, const TQString& sDesc ); - KAccelAction* insert( - const TQString& sAction, const TQString& sDesc, const TQString& sHelp, - const KShortcut& rgCutDefaults3, const KShortcut& rgCutDefaults4, - const TQObject* pObjSlot, const char* psMethodSlot, - bool bConfigurable = true, bool bEnabled = true ); - bool remove( const TQString& sAction ); - bool setActionSlot( const TQString& sAction, const TQObject* pObjSlot, const char* psMethodSlot ); - - bool updateConnections(); - - bool setShortcut( const TQString& sAction, const KShortcut& cut ); - -// Modify individual Action sub-items - bool setActionEnabled( const TQString& sAction, bool bEnable ); - - /** - * Read all key associations from @p config, or (if @p config - * is zero) from the application's configuration file - * @ref KGlobal::config(). - * - * The group in which the configuration is stored can be - * set with @ref setConfigGroup(). - */ - void readSettings( KConfigBase* pConfig = 0 ); - - /** - * Write the current configurable associations to @p config, - * or (if @p config is zero) to the application's - * configuration file. - */ - void writeSettings( KConfigBase* pConfig = 0 ) const; - - TQPopupMenu* createPopupMenu( TQWidget* pParent, const KKeySequence& ); - - // Protected methods - protected: - void slotRemoveAction( KAccelAction* ); - - void createKeyList( TQValueVector& rgKeys ); - bool insertConnection( KAccelAction* ); - bool removeConnection( KAccelAction* ); - - virtual bool emitSignal( Signal ) = 0; - virtual bool connectKey( KAccelAction&, const KKeyServer::Key& ) = 0; - virtual bool connectKey( const KKeyServer::Key& ) = 0; - virtual bool disconnectKey( KAccelAction&, const KKeyServer::Key& ) = 0; - virtual bool disconnectKey( const KKeyServer::Key& ) = 0; - - protected: - struct ActionInfo - { - KAccelAction* pAction; - uint iSeq, iVariation; - //ActionInfo* pInfoNext; // nil if only one action uses this key. - - ActionInfo() { pAction = 0; iSeq = 0xffff; iVariation = 0xffff; } - ActionInfo( KAccelAction* _pAction, uint _iSeq, uint _iVariation ) - { pAction = _pAction; iSeq = _iSeq; iVariation = _iVariation; } - }; - typedef TQMap KKeyToActionMap; - - KAccelActions m_rgActions; - KKeyToActionMap m_mapKeyToAction; - TQValueList m_rgActionsNonUnique; - bool m_bNativeKeys; // Use native key codes instead of Qt codes - bool m_bEnabled; - bool m_bConfigIsGlobal; - TQString m_sConfigGroup; - bool m_bAutoUpdate; - KAccelAction* mtemp_pActionRemoving; - - private: - KAccelBase& operator =( const KAccelBase& ); - - friend class KAccelActions; -}; - -#endif // _KACCELBASE_H diff --git a/python/pykde/extra/kde312/kicontheme.h b/python/pykde/extra/kde312/kicontheme.h deleted file mode 100644 index bfee160b..00000000 --- a/python/pykde/extra/kde312/kicontheme.h +++ /dev/null @@ -1,331 +0,0 @@ -/* vi: ts=8 sts=4 sw=4 - * - * $Id: kicontheme.h,v 1.26 2002/10/26 22:08:38 tjansen Exp $ - * - * This file is part of the KDE project, module kdecore. - * Copyright (C) 2000 Geert Jansen - * Antonio Larrosa - * - * This is free software; it comes under the GNU Library General - * Public License, version 2. See the file "COPYING.LIB" for the - * exact licensing terms. - * - */ - -#ifndef __KIconTheme_h_Included__ -#define __KIconTheme_h_Included__ - -#include -#include -#include - -class KConfig; -//class KIconThemeDir; - -class KIconThemePrivate; - -class KIconPrivate; - -/** - * One icon as found by KIconTheme. Also serves as a namespace containing - * icon related constants. - * @see KIconEffect - * @see KIconTheme - * @see KIconLoader - */ -class KIcon -{ -public: - KIcon() { size = 0; } - - /** - * Return true if this icon is valid, false otherwise. - */ - bool isValid() const { return size != 0; } - - /** - * Defines the context of the icon. - */ - enum Context { - Any, ///< Some icon with unknown purpose. - Action, ///< An action icon (e.g. 'save', 'print'). - Application, ///< An icon that represents an application. - Device, ///< An icon that represents a device. - FileSystem, ///< An icon that represents a file system. - MimeType ///< An icon that represents a mime type (or file type). - }; - - /** - * The type of the icon. - */ - enum Type { - Fixed, ///< Fixed-size icon. - Scalable, ///< Scalable-size icon. - Threshold ///< A threshold icon. - }; - - /** - * The type of a match. - */ - enum MatchType { - MatchExact, ///< Only try to find an exact match. - MatchBest ///< Take the best match if there is no exact match. - - }; - - // if you add a group here, make sure to change the config reading in - // KIconLoader too - /** - * The group an an icon. - */ - enum Group { NoGroup=-1, Desktop=0, FirstGroup=Desktop, Toolbar, - MainToolbar, Small, Panel, LastGroup, User }; - - /** - * These are the standard sizes for icons. - */ - enum StdSizes { - /// small icons for menu entries - SizeSmall=16, - /// medium sized icons for the desktop - SizeMedium=32, - /// large sized icons for the panel - SizeLarge=48 }; - - /** - * Defines the possible states of an icon. - */ - enum States { DefaultState, ///< The default state. - ActiveState, ///< Icon is active. - DisabledState, ///< Icon is disabled. - LastState ///< Last state (last constant) - }; - - /** - * This defines an overlay, a semi-transparent image that is - * projected onto the icon. They are used to show that the file - * represented by the icon is, for example, locked, zipped or hidden. - */ - enum Overlays { - LockOverlay=0x100, ///< a file is locked - ZipOverlay=0x200, ///< a file is zipped - LinkOverlay=0x400, ///< a fileis a link - HiddenOverlay=0x800, ///< a file is hidden - ShareOverlay=0x1000, ///< a file is shared - OverlayMask = ~0xff - }; - - /** - * The size in pixels of the icon. - */ - int size; - - /** - * The context of the icon. - */ - Context context; - - /** - * The type of the icon: Fixed, Scalable or Threshold. - **/ - Type type; - - /** - * The threshold in case type == Threshold - */ - int threshold; - - /** - * The full path of the icon. - */ - TQString path; - -private: - KIconPrivate *d; -}; - -inline KIcon::Group& operator++(KIcon::Group& group) { group = static_cast(group+1); return group; } -inline KIcon::Group operator++(KIcon::Group& group,int) { KIcon::Group ret = group; ++group; return ret; } - -/** - * Class to use/access icon themes in KDE. This class is used by the - * iconloader but can be used by others too. - * @see KIconLoader - */ -class KIconTheme -{ -public: - /** - * Load an icon theme by name. - * @param name the name of the theme (e.g. "hicolor" or "keramik") - * @param appName the name of the application. Can be null. This argument - * allows applications to have themed application icons. - */ - KIconTheme(const TQString& name, const TQString& appName=TQString::null); - ~KIconTheme(); - - /** - * The stylized name of the icon theme. - * @return the (human-readable) name of the theme - */ - TQString name() const { return mName; } - - /** - * A description for the icon theme. - * @return a human-readable description of the theme, TQString::null - * if there is none - */ - TQString description() const { return mDesc; } - - /** - * Return the name of the "example" icon. This can be used to - * present the theme to the user. - * @return the name of the example icon, TQString::null if there is none - */ - TQString example() const; - - /** - * Return the name of the screenshot. - * @return the name of the screenshot, TQString::null if there is none - */ - TQString screenshot() const; - - /** - * Returns the name of this theme's link overlay. - * @return the name of the link overlay - */ - TQString linkOverlay() const; - - /** - * Returns the name of this theme's zip overlay. - * @return the name of the zip overlay - */ - TQString zipOverlay() const; - - /** - * Returns the name of this theme's lock overlay. - * @return the name of the lock overlay - */ - TQString lockOverlay() const; - - /** - * Returns the name of this theme's share overlay. - * @return the name of the share overlay - * @since 3.1 - */ - TQString shareOverlay () const; - - /** - * Returns the toplevel theme directory. - * @return the directory of the theme - */ - TQString dir() const { return mDir; } - - /** - * The themes this icon theme falls back on. - * @return a list of icon themes that are used as fall-backs - */ - TQStringList inherits() const { return mInherits; } - - /** - * The icon theme exists? - * @return true if the icon theme is valid - */ - bool isValid() const; - - /** - * The icon theme should be hidden to the user? - * @return true if the icon theme is hidden - * @since 3.1 - */ - bool isHidden() const; - - /** - * The minimum display depth required for this theme. This can either - * be 8 or 32. - * @return the minimum bpp (8 or 32) - */ - int depth() const { return mDepth; } - - /** - * The default size of this theme for a certain icon group. - * @param group The icon group. See @ref #KIcon::Group. - * @return The default size in pixels for the given icon group. - */ - int defaultSize(KIcon::Group group) const; - - /** - * Query available sizes for a group. - * @param group The icon group. See @ref #KIcon::Group. - * @return a list of available sized for the given group - */ - TQValueList querySizes(KIcon::Group group) const; - - /** - * Query available icons for a size and context. - * @param size the size of the icons - * @param context the context of the icons - * @return the list of icon names - */ - TQStringList queryIcons(int size, KIcon::Context context = KIcon::Any) const; - - /** - * Query available icons for a context and preferred size. - * @param size the size of the icons - * @param context the context of the icons - * @return the list of icon names - */ - TQStringList queryIconsByContext(int size, KIcon::Context context = KIcon::Any) const; - - - /** - * Lookup an icon in the theme. - * @param name The name of the icon, without extension. - * @param size The desired size of the icon. - * @param match The matching mode. KIcon::MatchExact returns an icon - * only if matches exactly. KIcon::MatchBest returns the best matching - * icon. - * @return A KIcon class that describes the icon. If an icon is found, - * @see KIcon::isValid will return true, and false otherwise. - */ - KIcon iconPath(const TQString& name, int size, KIcon::MatchType match) const; - - /** - * List all icon themes installed on the system, global and local. - * @return the list of all icon themes - */ - static TQStringList list(); - - /** - * Returns the current icon theme. - * @return the name of the current theme - */ - static TQString current(); - - /** - * Reconfigure the theme. - */ - static void reconfigure(); - - /** - * Returns the default icon theme. - * @return the name of the default theme name - * @since 3.1 - */ - static TQString defaultThemeName(); - -private: - int mDefSize[8]; - TQValueList mSizes[8]; - - int mDepth; - TQString mDir, mName, mDesc; - TQStringList mInherits; -// TQPtrList mDirs; - KIconThemePrivate *d; - - static TQString *_theme; - static TQStringList *_theme_list; -}; - -#endif diff --git a/python/pykde/extra/kde312/kkeyserver_x11.h b/python/pykde/extra/kde312/kkeyserver_x11.h deleted file mode 100644 index 568de854..00000000 --- a/python/pykde/extra/kde312/kkeyserver_x11.h +++ /dev/null @@ -1,435 +0,0 @@ -#ifndef _KKEYSERVER_X11_H -#define _KKEYSERVER_X11_H - -#include "kshortcut.h" -#include "kkeynative.h" - -/** - * A collection of functions for the conversion of key presses and - * their modifiers from the window system (X11) specific format - * to the generic format and vice-versa. - */ -namespace KKeyServer -{ - /** - * Supplement enum KKey::ModFlag - * @since 3.1 - */ - enum ExtraModFlag { MODE_SWITCH = 0x2000 }; - - struct CodeMod { int code, mod; }; - - /** - * Represents a key symbol. - * @see KKey - * @see KKeyServer - */ - struct Sym - { - public: - /// the actual value of the symbol - uint m_sym; - - /// Creates a null symbol. - Sym() - { m_sym = 0; } - /** - * Creates asymbol with the given value. - * @param sym the value - */ - Sym( uint sym ) - { m_sym = sym; } - /** - * Creates a symbol from the given string description. - * @param s the description of the symbol - * @see toString() - */ - Sym( const TQString& s ) - { init( s ); } - - /** - * Initializes the symbol with the given Qt key code. - * @param keyQt the qt key code - * @return true if succesful, false otherwise - * @see Qt::Key - */ - bool initQt( int keyQt ); - - /** - * Initializes the key with the given string description. - * @param s the string description - * @return true if succesful, false otherwise - * @see toString() - */ - bool init( const TQString &s ); - - /** - * Returns the qt key code of the symbol. - * @return the qt key code - */ - int qt() const; - - /** - * @internal - */ - TQString toStringInternal() const; - - /** - * Returns the string representation of the symbol. - * @return the string representation of the symbol - */ - TQString toString() const; - - /** - * Returns the mods that are required for this symbol as - * ORed @ref KKey::ModFlag's. For example, Break requires a - * Ctrl to be valid. - * @return the required @ref KKey::ModFlag's - * @see KKey::ModFlag - */ - uint getModsRequired() const; - - /** - * TODO: please find out what this method does and document it - */ - uint getSymVariation() const; - - /** - * Casts the symbol to its integer representation. - */ - operator uint() const { return m_sym; } - - /** - * Overloaded operator to convert ints to Sym. - */ - Sym& operator =( uint sym ) { m_sym = sym; return *this; } - - private: - TQString toString( bool bUserSpace ) const; - - static void capitalizeKeyname( TQString& ); - }; - - /** - * Represents a key press. - * @see KKey - */ - struct Key - { - /// Code for native Keys in Qt - enum { CODE_FOR_QT = 256 }; - - /// The code of the key - uint m_code; - - /// The modifiers of the key - uint m_mod; - - /// The symbol of the key - uint m_sym; - - /** - * Initializes the key with a @ref KKey. - * @param key the key to get the data from - * @param bQt true to take the Qt keycode, false - * for the native key code - * @see Qt::Key - * @see KKeyNative - */ - bool init( const KKey& key, bool bQt ); - - /** - * Checks whether the key code is a native code. - * @return true if native code of the window system, - * false if it is a Qt keycode - * @see Qt::Key - * @see KKeyNative - */ - bool isNative() const { return m_code != CODE_FOR_QT; } - - /** - * Returns the code of the key. - * @return the code of the key - */ - uint code() const { return m_code; } - - /** - * Returns the modifiers of the key. - * @return the modifiers of the key - */ - uint mod() const { return m_mod; } - - /** - * Returns the symbol of the key. - * @return the symbol of the key - */ - uint sym() const { return m_sym; } - - /** - * Returns the qt key code. - * @return the qt key code - */ - int keyCodeQt() const { return (int) m_sym; } - - /** - * Sets the qt key code. - * @param keyQt the qt key code - */ - void setKeycodeQt( int keyQt ) - { m_code = CODE_FOR_QT; m_sym = keyQt; } - - /** - * Initializes this key with a @ref KKeyNative. - * @return this key - */ - Key& operator =( const KKeyNative& key ); - - /** - * Compares this key with the given Key object. Returns a - * negative number if the given Key is larger, 0 if they - * are equal and a positive number this Key is larger. The - * returned value is the difference between the symbol, modifier - * or code, whatever is non-zero first. - * - * @param key the key to compare with this key - * @return a negative number if the given Key is larger, 0 if - * they are equal and a positive number this Key is larger - */ - int compare( const Key& key ) const; - - /** - * Compares the symbol, modifiers and code of both keys. - * @see compare() - */ - bool operator ==( const Key& b ) const - { return compare( b ) == 0; } - - /** - * Compares the symbol, modifiers and code of both keys. - * @see compare() - */ - bool operator <( const Key& b ) const - { return compare( b ) < 0; } - - /** - * Converts this Key to a KKey. - * @return the KKey - */ - KKey key() const; - }; - - /** - * TODO: please document this class - */ - struct Variations - { - enum { MAX_VARIATIONS = 4 }; - - Key m_rgkey[MAX_VARIATIONS]; - uint m_nVariations; - - Variations() { m_nVariations = 0; } - - void init( const KKey&, bool bQt ); - - uint count() const { return m_nVariations; } - const Key& key( uint i ) const { return m_rgkey[i]; } - }; - - /// TODO: please document - bool initializeMods(); - - /** - * Returns the equivalent X modifier mask of the given modifier flag. - * @param modFlag the generic flags to check - * @return the window system specific flags - */ - uint modX( KKey::ModFlag modFlag ); - - /** - * Returns true if the current keyboard layout supports the Win key. - * Specifically, whether the Super or Meta keys are assigned to an X modifier. - * @return true if the keyboard has a Win key - * @see modXWin() - */ - bool keyboardHasWinKey(); - - /** - * Returns the X11 Shift modifier mask/flag. - * @return the X11 Shift modifier mask/flag. - * @see accelModMaskX() - */ - uint modXShift(); - - /** - * Returns the X11 Lock modifier mask/flag. - * @return the X11 Lock modifier mask/flag. - * @see accelModMaskX() - */ - uint modXLock(); - - /** - * Returns the X11 Ctrl modifier mask/flag. - * @return the X11 Ctrl modifier mask/flag. - * @see accelModMaskX() - */ - uint modXCtrl(); - - /** - * Returns the X11 Alt (Mod1) modifier mask/flag. - * @return the X11 Alt (Mod1) modifier mask/flag. - * @see accelModMaskX() - */ - uint modXAlt(); - - /** - * Returns the X11 NumLock modifier mask/flag. - * @return the X11 NumLock modifier mask/flag. - * @see accelModMaskX() - */ - uint modXNumLock(); - - /** - * Returns the X11 Win (Mod3) modifier mask/flag. - * @return the X11 Win (Mod3) modifier mask/flag. - * @see keyboardHasWinKey() - * @see accelModMaskX() - */ - uint modXWin(); - - /** - * Returns the X11 ScrollLock modifier mask/flag. - * @return the X11 ScrollLock modifier mask/flag. - * @see accelModMaskX() - */ - uint modXScrollLock(); - - /** - * Returns bitwise OR'ed mask containing Shift, Ctrl, Alt, and - * Win (if available). - * @see modXShift() - * @see modXLock() - * @see modXCtrl() - * @see modXAlt() - * @see modXNumLock() - * @see modXWin() - * @see modXScrollLock() - */ - uint accelModMaskX(); - - /** - * Extracts the symbol from the given Qt key and - * converts it to a symbol. - * @param keyQt the qt key code - * @param sym if successful, the symbol will be written here - * @return true if successful, false otherwise - * @see Qt::Key - * @see Sym - */ - bool keyQtToSym( int keyQt, uint& sym ); - - /** - * Extracts the modifiers from the given Qt key and - * converts them in a mask of ORed @ref KKey::ModFlag modifiers. - * @param keyQt the qt key code - * @param mod if successful, the modifiers will be written here - * @return true if successful, false otherwise - * @see Qt::Key - */ - bool keyQtToMod( int keyQt, uint& mod ); - - /** - * Converts the given symbol to a Qt key code. - * @param sym the symbol - * @param keyQt if successful, the qt key code will be written here - * @return true if successful, false otherwise - * @see Qt::Key - * @see Sym - */ - bool symToKeyQt( uint sym, int& keyQt ); - - /** - * Converts the mask of ORed @ref KKey::ModFlag modifiers to - * a mask of ORed Qt key code modifiers. - * @param the mask of @ref KKey::ModFlag modifiers - * @param the mask of Qt key code modifiers will be written here, - * if successful - * @return true if successful, false otherwise - * @see Qt::Key - * @see KKey - */ - bool modToModQt( uint mod, int& modQt ); - - /** - * Converts the mask of ORed @ref KKey::ModFlag modifiers to - * a mask of ORed X11 modifiers. - * @param the mask of @ref KKey::ModFlag modifiers - * @param the mask of X11 modifiers will be written here, - * if successful - * @return true if successful, false otherwise - * @see KKey - */ - bool modToModX( uint mod, uint& modX ); - - /** - * Converts the mask of ORed X11 modifiers to - * a mask of ORed Qt key code modifiers. - * @param the mask of X11 modifiers - * @param the mask of Qt key code modifiers will be written here - * if successful - * @return true if successful, false otherwise - * @see Qt::Key - */ - bool modXToModQt( uint modX, int& modQt ); - - /** - * Converts the mask of ORed X11 modifiers to - * a mask of ORed @ref KKey::ModFlag modifiers. - * @param the mask of X11 modifiers - * @param the mask of @ref KKey::ModFlag modifiers will be written here, - * if successful - * @return true if successful, false otherwise - * @see KKey - */ - bool modXToMod( uint modX, uint& mod ); - - /** - * Converts a X11 key code and a mask of ORed X11 modifiers - * into a X11 symbol. - * converts it to a symbol. - * @param codeX the X11 key code - * @param modX the mask of ORed X11 modifiers - * @param sym if successful, the X11 symbol will be written here - * @return true if successful, false otherwise - * @see Qt::Key - * @see Sym - */ - bool codeXToSym( uchar codeX, uint modX, uint& symX ); - - /** - * @internal - */ - TQString modToStringInternal( uint mod ); - - /** - * Converts the mask of ORed @ref KKey::ModFlag modifiers to a - * user-readable string. - * @param mod the mask of ORed @ref KKey::ModFlag modifiers - * @return the user-readable string - */ - TQString modToStringUser( uint mod ); - - /** - * @internal - * Unimplemented? - */ - bool stringToSymMod( const TQString&, uint& sym, uint& mod ); - - /** - * @internal - * Unimplemented? - */ - void keyQtToKeyX( uint keyCombQt, unsigned char *pKeyCodeX, uint *pKeySymX, uint *pKeyModX ); -}; - -#endif // !_KKEYSERVER_X11_H diff --git a/python/pykde/extra/kde312/konsole_part.h b/python/pykde/extra/kde312/konsole_part.h deleted file mode 100644 index 6aba7064..00000000 --- a/python/pykde/extra/kde312/konsole_part.h +++ /dev/null @@ -1,223 +0,0 @@ -/* - This file is part of the KDE system - Copyright (C) 1999,2000 Boloni Laszlo - - This program is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. - */ - -#ifndef __KONSOLE_PART_H__ -#define __KONSOLE_PART_H__ - -#include -#include - - -#include - -#include - -//#include "schema.h" -//#include "session.h" - -class KInstance; -class konsoleBrowserExtension; -class TQPushButton; -class TQSpinBox; -class KPopupMenu; -class TQCheckBox; -class KRootPixmap; -class KToggleAction; -class KSelectAction; - -namespace KParts { class GUIActivateEvent; } - -class konsoleFactory : public KParts::Factory -{ - Q_OBJECT -public: - konsoleFactory(); - virtual ~konsoleFactory(); - - virtual KParts::Part* createPartObject(TQWidget *parentWidget = 0, const char *widgetName = 0, - TQObject* parent = 0, const char* name = 0, - const char* classname = "KParts::Part", - const TQStringList &args = TQStringList()); - - static KInstance *instance(); - - private: - static KInstance *s_instance; - static KAboutData *s_aboutData; -}; - -////////////////////////////////////////////////////////////////////// - -class konsolePart: public KParts::ReadOnlyPart, public TerminalInterface -{ - Q_OBJECT - public: - konsolePart(TQWidget *parentWidget, const char *widgetName, TQObject * parent, const char *name, const char *classname = 0); - virtual ~konsolePart(); - -signals: - void processExited(); - void receivedData( const TQString& s ); - protected: - virtual bool openURL( const KURL & url ); - virtual bool openFile() {return false;} // never used - virtual bool closeURL() {return true;} - virtual void guiActivateEvent( KParts::GUIActivateEvent * event ); - - protected slots: - void showShell(); - void slotProcessExited(); - void slotReceivedData( const TQString& s ); - -// void doneSession(TESession*); - void sessionDestroyed(); -// void configureRequest(TEWidget*,int,int x,int y); - void updateTitle(); - void enableMasterModeConnections(); - - private slots: - void emitOpenURLRequest(const TQString &url); - - void readProperties(); - void saveProperties(); - - void sendSignal(int n); - void closeCurrentSession(); - - void notifySize(int,int); - - void slotToggleFrame(); - void slotSelectScrollbar(); - void slotSelectFont(); - void schema_menu_check(); - void keytab_menu_activated(int item); - void updateSchemaMenu(); - void setSchema(int n); - void pixmap_menu_activated(int item); - void schema_menu_activated(int item); - void slotHistoryType(); - void slotSelectBell(); - void slotSelectLineSpacing(); - void slotBlinkingCursor(); - void slotWordSeps(); - void fontNotFound(); - - private: - konsoleBrowserExtension *m_extension; - KURL currentURL; - - void makeGUI(); - void applySettingsToGUI(); - - void setFont(int fontno); -// void setSchema(ColorSchema* s); - void updateKeytabMenu(); - - bool doOpenStream( const TQString& ); - bool doWriteStream( const TQByteArray& ); - bool doCloseStream(); - - TQWidget* parentWidget; -// TEWidget* te; -// TESession* se; -// ColorSchemaList* colors; - KRootPixmap* rootxpm; - - KToggleAction* blinkingCursor; - KToggleAction* showFrame; - - KSelectAction* selectBell; - KSelectAction* selectFont; - KSelectAction* selectLineSpacing; - KSelectAction* selectScrollbar; - - KPopupMenu* m_keytab; - KPopupMenu* m_schema; - KPopupMenu* m_signals; - KPopupMenu* m_options; - KPopupMenu* m_popupMenu; - - TQFont defaultFont; - - TQString pmPath; // pixmap path - TQString s_schema; - TQString s_kconfigSchema; - TQString s_word_seps; // characters that are considered part of a word - TQString fontNotFound_par; - - bool b_framevis:1; - bool b_histEnabled:1; - - int curr_schema; // current schema no - int n_bell; - int n_font; - int n_keytab; - int n_render; - int n_scroll; - unsigned m_histSize; - bool m_runningShell; - bool m_streamEnabled; -public: - // these are the implementations for the TermEmuInterface - // functions... - void startProgram( const TQString& program, - const TQStrList& args ); - void showShellInDir( const TQString& dir ); - void sendInput( const TQString& text ); -}; - -////////////////////////////////////////////////////////////////////// - -/*class HistoryTypeDialog : public KDialogBase -{ - Q_OBJECT -public: - HistoryTypeDialog(const HistoryType& histType, - unsigned int histSize, - TQWidget *parent); - -public slots: - void slotDefault(); - void slotSetUnlimited(); - void slotHistEnable(bool); - - unsigned int nbLines() const; - bool isOn() const; - -protected: - TQCheckBox* m_btnEnable; - TQSpinBox* m_size; - TQPushButton* m_setUnlimited; -};*/ - -////////////////////////////////////////////////////////////////////// - -class konsoleBrowserExtension : public KParts::BrowserExtension -{ - Q_OBJECT - friend class konsolePart; - public: - konsoleBrowserExtension(konsolePart *parent); - virtual ~konsoleBrowserExtension(); - - void emitOpenURLRequest(const KURL &url); -}; - -#endif diff --git a/python/pykde/extra/kde312/kpanelmenu.h b/python/pykde/extra/kde312/kpanelmenu.h deleted file mode 100644 index 734c5051..00000000 --- a/python/pykde/extra/kde312/kpanelmenu.h +++ /dev/null @@ -1,181 +0,0 @@ -/***************************************************************** - -Copyright (c) 1996-2000 the kicker authors. See file AUTHORS. - (c) 2001 Michael Goffioul - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN -AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - -******************************************************************/ - -#ifndef __KPANELMENU_H__ -#define __KPANELMENU_H__ - -#include -#include -#include - -class KPanelMenuPrivate; - -/** - * Base class to build dynamically loaded menu entries for the K-menu, or the panel. - * - * This class allows to build menu entries that will be dynamically added either to - * the K-menu, or to the panel as a normal button. These dynamic menus are located - * in shared libraries that will be loaded at runtime by Kicker (the KDE panel). - * - * To build such a menu, you have to inherit this class and implement the pure virtual - * functions #initialize() and @ref slotExec(). You also have to provide a factory - * object in your library, see @ref KLibFactory. This factory is only used to construct - * the menu object. - * - * Finally, you also have to provide a desktop file describing your dynamic menu. The - * relevant entries are: Name, Comment, Icon and X-KDE-Library (which contains the - * library name without any extension). This desktop file has to be installed in - * $KDEDIR/share/apps/kicker/menuext/. - * - * @short Base class to build dynamically loaded menu entries for the K-menu, or the panel. - * @author The kicker maintainer, Michael Goffioul - */ -class KPanelMenu : public KPopupMenu -{ - Q_OBJECT - -public: - /** - * Construct a KPanelMenu object. This is the normal constructor to use when - * building extrernal menu entries. - */ - KPanelMenu(TQWidget *parent=0, const char *name=0); - /** - * Constructor used internally by Kicker. You don't really want to use it. - * @param startDir a directory to associate with this menu - * @see path(), setPath() - */ - KPanelMenu(const TQString &startDir, TQWidget *parent=0, const char *name=0); - /** - * Destructor. - */ - virtual ~KPanelMenu(); - - /** - * Get the directory path associated with this menu, or TQString::null if - * there's no such associated path. - * @return the associated directory path - * @see setPath() - */ - const TQString& path() const; - /** - * Set a directory path to be associated with this menu. - * @param p the directory path - * @see path() - */ - void setPath(const TQString &p); - /** - * Tell if the menu has been initialized, that is it already contains items. - * This is useful when you need to know if you have to clear the menu, or to - * fill it. - * @return the initial state - * @see setInitialized(), initialize() - */ - bool initialized() const; - /** - * Set the initial state. Set it to true when you menu is filled with the items - * you want. - * @param on the initial state - * @see initialized(), initialize() - */ - void setInitialized(bool on); - - /** - * Disable the automatic clearing of the menu. Kicker uses a cache system for - * its menus. After a specific configurable delay, the menu will be cleared. - * Use this function if you want to disable kicker's cache system, and avoid - * the clearing of your menu. - */ - void disableAutoClear(); - -public slots: - /** - * Reinitialize the menu: the menu is first cleared, the initial state is set - * to false, and finally #initialize() is called. Use this if you want to - * refill your menu immediately. - */ - void reinitialize(); - /** - * Deinitialize the menu: the menu is cleared and the initialized state is set to - * false. #initialize() is NOT called. It will be called before the menu is - * next shown, however. Use this slot if you want a delayed reinitialization. - * @since 3.1 - */ - void deinitialize(); - -protected slots: - /** - * This slot is called just before the menu is shown. This allows your menu - * to update itself if needed. However you should instead re-implement - * #initialize to provide this feature. This function is responsible for - * the cache system handling, so if you re-implement it, you should call - * the base function also. Calls #initialize(). - * @see disableAutoClear() - */ - virtual void slotAboutToShow(); - /** - * This is slot is called when an item from the menu has been selected. Your - * applet is then supposed to perform some action. You must re-implement this - * function. - * @param id the ID associated with the selected item - */ - virtual void slotExec(int id) = 0; - /** - * This slots is called to initialize the menu. It is called automatically by - * @ref slotAboutToShow(). By re-implementing this functions, you can reconstruct - * the menu before it is being shown. At the end of this function, you should - * call @ref setInitialize() with true to tell the system that the menu is OK. - * You applet must re-implement this function. - * @see slotAboutToShow(), initialized(), setInitialized() - */ - virtual void initialize() = 0; - /** - * Clears the menu, and update the initial state accordingly. - * @see initialized() - */ - void slotClear(); - -protected: - /** - * Re-implemented for internal reasons. - */ - virtual void hideEvent(TQHideEvent *ev); - /** - * For internal use only. Used by constructors. - */ - void init(const TQString& path = TQString::null); - -protected: - virtual void virtual_hook( int id, void* data ); -private: - void internalInitialize(); - KPanelMenuPrivate *d; -}; - -//#define K_EXPORT_KICKER_MENUEXT( libname, classname ) \ -// K_EXPORT_COMPONENT_FACTORY( \ -// kickermenu_##libname, \ -// KGenericFactory("libkickermenu_" #libname) ) - -#endif diff --git a/python/pykde/extra/kde312/krecentdirs.h b/python/pykde/extra/kde312/krecentdirs.h deleted file mode 100644 index 61a50706..00000000 --- a/python/pykde/extra/kde312/krecentdirs.h +++ /dev/null @@ -1,68 +0,0 @@ -/* -*- c++ -*- - * Copyright (C)2000 Waldo Bastian - * - * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * - * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND - * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE - * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS - * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) - * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT - * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY - * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF - * SUCH DAMAGE. - * - */ -#ifndef __KRECENTDIRS_H -#define __KRECENTDIRS_H - -#include - -/** - * The goal of this class is to make sure that, when the user needs to - * specify a file via the file selection dialog, this dialog will start - * in the directory most likely to contain the desired files. - * - * This works as follows: Each time the file selection dialog is - * shown, the programmer can specify a "file-class". The file-dialog will - * then start with the directory associated with this file-class. When - * the dialog closes, the directory currently shown in the file-dialog - * will be associated with the file-class. - * - * A file-class can either start with ':' or with '::'. If it starts with - * a single ':' the file-class is specific to the current application. - * If the file-class starts with '::' it is global to all applications. - */ -class KRecentDirs -{ -public: - /** - * Returns a list of directories associated with this file-class. - * The most recently used directory is at the front of the list. - */ - static TQStringList list(const TQString &fileClass); - - /** - * Returns the most recently used directory accociated with this file-class. - */ - static TQString dir(const TQString &fileClass); - - /** - * Associates @p directory with @p fileClass - */ - static void add(const TQString &fileClass, const TQString &directory); -}; - -#endif diff --git a/python/pykde/extra/kde312/ksycocafactory.h b/python/pykde/extra/kde312/ksycocafactory.h deleted file mode 100644 index 1959edda..00000000 --- a/python/pykde/extra/kde312/ksycocafactory.h +++ /dev/null @@ -1,137 +0,0 @@ -/* This file is part of the KDE libraries - * Copyright (C) 1999 Waldo Bastian - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License version 2 as published by the Free Software Foundation; - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public License - * along with this library; see the file COPYING.LIB. If not, write to - * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - * Boston, MA 02110-1301, USA. - **/ - -#ifndef __ksycocafactory_h__ -#define __ksycocafactory_h__ "$Id: ksycocafactory.h,v 1.13 2002/09/21 15:07:27 tjansen Exp $" - -#include "ksycocatype.h" -#include "ksycocaentry.h" - -#include -#include -class KSycoca; -class TQStringList; -class TQString; -class KSycocaDict; -class KSycocaResourceList; - -typedef TQDict KSycocaEntryDict; - -/** - * @internal - * Base class for sycoca factories - */ -class KSycocaFactory -{ -public: - virtual KSycocaFactoryId factoryId() const = 0; - -protected: // virtual class - /** - * Create a factory which can be used to lookup from/create a database - * (depending on KSycoca::isBuilding()) - */ - KSycocaFactory( KSycocaFactoryId factory_id ); - -public: - virtual ~KSycocaFactory(); - - /** - * @return the position of the factory in the sycoca file - */ - int offset() { return mOffset; } - - /** - * @return the dict, for special use by KBuildSycoca - */ - KSycocaEntryDict * entryDict() { return m_entryDict; } - - /** - * Construct an entry from a config file. - * To be implemented in the real factories. - */ - virtual KSycocaEntry *createEntry(const TQString &file, const char *resource) = 0; - - /** - * Add an entry - */ - virtual void addEntry(KSycocaEntry *newEntry, const char *resource); - - /** - * Read an entry from the database - */ - virtual KSycocaEntry *createEntry(int offset)=0; - - /** - * Get a list of all entries from the database. - */ - KSycocaEntry::List allEntries(); - - /** - * Saves all entries it maintains as well as index files - * for these entries to the stream 'str'. - * - * Also sets mOffset to the starting position. - * - * The stream is positioned at the end of the last index. - * - * Don't forget to call the parent first when you override - * this function. - */ - virtual void save(TQDataStream &str); - - /** - * Writes out a header to the stream 'str'. - * The baseclass positions the stream correctly. - * - * Don't forget to call the parent first when you override - * this function. - */ - virtual void saveHeader(TQDataStream &str); - - /** - * @return the resources for which this factory is responsible. - */ - virtual const KSycocaResourceList * resourceList() const { return m_resourceList; } - -private: - int mOffset; - -protected: - int m_sycocaDictOffset; - int m_beginEntryOffset; - int m_endEntryOffset; - TQDataStream *m_str; - - KSycocaResourceList *m_resourceList; - KSycocaEntryDict *m_entryDict; - KSycocaDict *m_sycocaDict; -protected: - virtual void virtual_hook( int id, void* data ); -}; - -/** This, instead of a typedef, allows to declare "class ..." in header files - * @internal - */ -class KSycocaFactoryList : public TQPtrList -{ -public: - KSycocaFactoryList() { } -}; - -#endif diff --git a/python/pykde/extra/kde312/ktoolbarbutton.h b/python/pykde/extra/kde312/ktoolbarbutton.h deleted file mode 100644 index 6fafb1ed..00000000 --- a/python/pykde/extra/kde312/ktoolbarbutton.h +++ /dev/null @@ -1,317 +0,0 @@ -/* This file is part of the KDE libraries - Copyright (C) 1997, 1998 Stephan Kulow (coolo@kde.org) - (C) 1997, 1998 Sven Radej (radej@kde.org) - (C) 1997, 1998 Mark Donohoe (donohoe@kde.org) - (C) 1997, 1998 Matthias Ettrich (ettrich@kde.org) - (C) 2000 Kurt Granroth (granroth@kde.org) - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License version 2 as published by the Free Software Foundation. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. -*/ - -// $Id: ktoolbarbutton.h,v 1.26 2002/09/28 15:16:22 tjansen Exp $ -#ifndef _KTOOLBARBUTTON_H -#define _KTOOLBARBUTTON_H - -#include -#include -#include -#include -#include - -class KToolBar; -class KToolBarButtonPrivate; -class KInstance; -class TQEvent; -class TQPopupMenu; -class TQPainter; - -/** - * A toolbar button. This is used internally by @ref KToolBar, use the - * KToolBar methods instead. - * @internal - */ -class KToolBarButton : public QToolButton -{ - Q_OBJECT - -public: - /** - * Construct a button with an icon loaded by the button itself. - * This will trust the button to load the correct icon with the - * correct size. - * - * @param icon Name of icon to load (may be absolute or relative) - * @param id Id of this button - * @param parent This button's parent - * @param name This button's internal name - * @param txt This button's text (in a tooltip or otherwise) - */ - KToolBarButton(const TQString& icon, int id, TQWidget *parent, - const char *name=0L, const TQString &txt=TQString::null, - KInstance *_instance = KGlobal::instance()); - - /** - * Construct a button with an existing pixmap. It is not - * recommended that you use this as the internal icon loading code - * will almost always get it "right". - * - * @param icon Name of icon to load (may be absolute or relative) - * @param id Id of this button - * @param parent This button's parent - * @param name This button's internal name - * @param txt This button's text (in a tooltip or otherwise) - */ - KToolBarButton(const TQPixmap& pixmap, int id, TQWidget *parent, - const char *name=0L, const TQString &txt=TQString::null); - - /** - * Construct a separator button - * - * @param parent This button's parent - * @param name This button's internal name - */ - KToolBarButton(TQWidget *parent=0L, const char *name=0L); - - /** - * Standard destructor - */ - ~KToolBarButton(); - -#ifndef KDE_NO_COMPAT - /** - * @deprecated - * Set the pixmap directly for this button. This pixmap should be - * the active one... the dimmed and disabled pixmaps are constructed - * based on this one. However, don't use this function unless you - * are positive that you don't want to use @ref setIcon. - * - * @param pixmap The active pixmap - */ - // this one is from TQButton, so #ifdef-ing it out doesn't break BC - virtual void setPixmap(const TQPixmap &pixmap); - - /** - * @deprecated - * Force the button to use this pixmap as the default one rather - * then generating it using effects. - * - * @param pixmap The pixmap to use as the default (normal) one - */ - void setDefaultPixmap(const TQPixmap& pixmap); - - /** - * @deprecated - * Force the button to use this pixmap when disabled one rather then - * generating it using effects. - * - * @param pixmap The pixmap to use when disabled - */ - void setDisabledPixmap(const TQPixmap& pixmap); -#endif - - /** - * Set the text for this button. The text will be either used as a - * tooltip (IconOnly) or will be along side the icon - * - * @param text The button (or tooltip) text - */ - virtual void setText(const TQString &text); - - /** - * Set the icon for this button. The icon will be loaded internally - * with the correct size. This function is preferred over @ref setIconSet - * - * @param icon The name of the icon - */ - virtual void setIcon(const TQString &icon); - - /// @since 3.1 - virtual void setIcon( const TQPixmap &pixmap ) - { TQToolButton::setIcon( pixmap ); } - - /** - * Set the pixmaps for this toolbar button from a TQIconSet. - * If you call this you don't need to call any of the other methods - * that set icons or pixmaps. - * @param iconset The iconset to use - */ - virtual void setIconSet( const TQIconSet &iconset ); - -#ifndef KDE_NO_COMPAT - /** - * @deprecated - * Set the active icon for this button. The pixmap itself is loaded - * internally based on the icon size... .. the disabled and default - * pixmaps, however will only be constructed if @ref #generate is - * true. This function is preferred over @ref setPixmap - * - * @param icon The name of the active icon - * @param generate If true, then the other icons are automagically - * generated from this one - */ - void setIcon(const TQString &icon, bool /*generate*/ ) { setIcon( icon ); } - - /** - * @deprecated - * Force the button to use this icon as the default one rather - * then generating it using effects. - * - * @param icon The icon to use as the default (normal) one - */ - void setDefaultIcon(const TQString& icon); - - /** - * @deprecated - * Force the button to use this icon when disabled one rather then - * generating it using effects. - * - * @param icon The icon to use when disabled - */ - void setDisabledIcon(const TQString& icon); -#endif - - /** - * Turn this button on or off - * - * @param flag true or false - */ - void on(bool flag = true); - - /** - * Toggle this button - */ - void toggle(); - - /** - * Turn this button into a toggle button or disable the toggle - * aspects of it. This does not toggle the button itself. - * Use @ref toggle() for that. - * - * @param toggle true or false - */ - void setToggle(bool toggle = true); - - /** - * Return a pointer to this button's popup menu (if it exists) - */ - TQPopupMenu *popup(); - - /** - * Give this button a popup menu. There will not be a delay when - * you press the button. Use @ref setDelayedPopup if you want that - * behavior. You can also make the popup-menu - * "sticky", i.e. visible until a selection is made or the mouse is - * clikced elsewhere, by simply setting the second argument to true. - * This "sticky" button feature allows you to make a selection without - * having to press and hold down the mouse while making a selection. - * - * @param p The new popup menu - * @param toggle if true, makes the button "sticky" (toggled) - */ - void setPopup (TQPopupMenu *p, bool toggle = false); - - /** - * Gives this button a delayed popup menu. - * - * This function allows you to add a delayed popup menu to the button. - * The popup menu is then only displayed when the button is pressed and - * held down for about half a second. You can also make the popup-menu - * "sticky", i.e. visible until a selection is made or the mouse is - * clikced elsewhere, by simply setting the second argument to true. - * This "sticky" button feature allows you to make a selection without - * having to press and hold down the mouse while making a selection. - * - * @param p the new popup menu - * @param toggle if true, makes the button "sticky" (toggled) - */ - void setDelayedPopup(TQPopupMenu *p, bool toggle = false); - - /** - * Turn this button into a radio button - * - * @param f true or false - */ - void setRadio(bool f = true); - - /** - * Toolbar buttons naturally will assume the global styles - * concerning icons, icons sizes, etc. You can use this function to - * explicitely turn this off, if you like. - * - * @param no_style Will disable styles if true - */ - void setNoStyle(bool no_style = true); - -signals: - void clicked(int); - void doubleClicked(int); - void pressed(int); - void released(int); - void toggled(int); - void highlighted(int, bool); - -public slots: - /** - * This slot should be called whenever the toolbar mode has - * potentially changed. This includes such events as text changing, - * orientation changing, etc. - */ - void modeChange(); - virtual void setTextLabel(const TQString&, bool tipToo); - -protected: - void paletteChange(const TQPalette &); - void leaveEvent(TQEvent *e); - void enterEvent(TQEvent *e); - void drawButton(TQPainter *p); - bool eventFilter (TQObject *o, TQEvent *e); - void showMenu(); - TQSize sizeHint() const; - TQSize minimumSizeHint() const; - TQSize minimumSize() const; - - /// @since 3.1 - bool isRaised() const; - /// @since 3.1 - bool isActive() const; - /// @since 3.1 - int iconTextMode() const; - -protected slots: - void slotClicked(); - void slotPressed(); - void slotReleased(); - void slotToggled(); - void slotDelayTimeout(); - -protected: - virtual void virtual_hook( int id, void* data ); -private: - KToolBarButtonPrivate *d; -}; - -/** -* List of @ref KToolBarButton objects. -* @internal -* @version $Id: ktoolbarbutton.h,v 1.26 2002/09/28 15:16:22 tjansen Exp $ -*/ -class KToolBarButtonList : public TQIntDict -{ -public: - KToolBarButtonList(); - ~KToolBarButtonList() {} -}; - -#endif diff --git a/python/pykde/extra/kde312/kurifilter.h b/python/pykde/extra/kde312/kurifilter.h deleted file mode 100644 index 6daf7769..00000000 --- a/python/pykde/extra/kde312/kurifilter.h +++ /dev/null @@ -1,602 +0,0 @@ -/* - * This file is part of the KDE libraries - * Copyright (C) 2000 Yves Arrouye - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public License - * along with this library; see the file COPYING.LIB. If not, write to - * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - * Boston, MA 02110-1301, USA. - **/ - -#ifndef __kurifilter_h__ -#define __kurifilter_h__ "$Id: kurifilter.h,v 1.27 2002/10/30 09:37:39 neil Exp $" - -#include -#include - -#include - -class KURIFilterPrivate; -class KURIFilterDataPrivate; - -class TQStringList; -class KCModule; - -/** -* This is a basic message object used for exchanging filtering -* information between the filter plugins and the application -* whenever the application requires more information about the -* URI than just a filtered version of it. Any application can -* create an instance of this class and send it to @ref KURIFilter -* to have the filter plugins fill the necessary information. -* -* @sect Example -*
-*   TQString text = "kde.org";
-*   KURIFilterData d = text;
-*   bool filtered = KURIFilter::self()->filter( d );
-*   if( filtered )
-*     print ( "URI: %s\n"Filtered URI: %s\n URI Type: %i\n"Was Filtered: %i"
-*             text.latin1(), d.uri().url().latin1(), d.uriType(), filtered );
-* 
-* -* The above code should yield the following output: -*
-*   URI: kde.org
-*   Filtered URI: http://kde.org
-*   URI Type: 0            <== means NET_PROTOCOL
-*   Was Filtered: 1        <== means the URL was successfully filtered
-* 
-* -* @short A message object for exchanging filtering URI info. -*/ - -class KURIFilterData -{ -friend class KURIFilterPlugin; - -public: - /** - * Describes the type of URI to be filtered. - * - * This enumerator prvoides the return value for - * @ref uriType. A brief description for each value: - * - * @li NET_PROTOCOL - Any network protocol: http, ftp, nttp, pop3, etc... - * @li LOCAL_FILE - A local file whose executable flag is not set - * @li LOCAL_DIR - A local directory - * @li EXECUTABLE - A local file whose executable flag is set - * @li HELP - A man or info page - * @li SHELL - A shell executable (ex: echo "Test..." >> ~/testfile) - * @li BLOCKED - A URI that should be blocked/filtered (ex: ad filtering) - * @li ERROR - An incorrect URI (ex: "~johndoe" when user johndoe - * does not exist in that system ) - * @li UNKNOWN - A URI that is not identified. Default value when - * a KURIFilterData is first created. - */ - enum URITypes { NET_PROTOCOL=0, LOCAL_FILE, LOCAL_DIR, EXECUTABLE, HELP, SHELL, BLOCKED, ERROR, UNKNOWN }; - - /** - * Default constructor. - * - * Creates a URIFilterData object. - */ - KURIFilterData() { init(); } - - /** - * Creates a URIFilterData object from the given URL. - * - * @param url is the URL to be filtered. - */ - KURIFilterData( const KURL& url ) { init( url); } - - /** - * Creates a URIFilterData object from the given string. - * - * @param url is the string to be filtered. - */ - KURIFilterData( const TQString& url ) { init( url ); } - - /** - * Copy constructor. - * - * Creates a URIFilterData object from another - * URI filter data object. - * - * @param data the uri filter data to be copied. - */ - KURIFilterData( const KURIFilterData& /*data*/); - - /** - * Destructor. - */ - ~KURIFilterData(); - - /** - * This method has been deprecated and will always return - * TRUE. You should instead use the result from the - * @ref KURIFilter::filterURI() calls. - * - * @deprecated - */ - bool hasBeenFiltered() const { return m_bFiltered; } - - /** - * Returns the filtered or the original URL. - * - * This function returns the filtered url if one - * of the plugins sucessfully filtered the original - * URL. Otherwise, it returns the original URL. - * See @ref #hasBeenFiltered() and - * - * @return the filtered or original url. - */ - KURL uri() const { return m_pURI; } - - /** - * Returns an error message. - * - * This functions returns the error message set - * by the plugin whenever the uri type is set to - * KURIFilterData::ERROR. Otherwise, it returns - * a TQString::null. - * - * @return the error message or a NULL when there is none. - */ - TQString errorMsg() const { return m_strErrMsg; } - - /** - * Returns the URI type. - * - * This method always returns KURIFilterData::UNKNOWN - * if the given URL was not filtered. - */ - URITypes uriType() const { return m_iType; } - - /** - * Sets the URL to be filtered. - * - * Use this function to set the string to be - * filtered when you construct an empty filter - * object. - * - * @param url the string to be filtered. - */ - void setData( const TQString& url ) { init( url ); } - - /** - * Same as above except the argument is a URL. - * - * Use this function to set the string to be - * filtered when you construct an empty filter - * object. - * - * @param url the URL to be filtered. - */ - void setData( const KURL& url ) { init( url ); } - - /** - * Sets the absolute path to be used whenever the supplied - * data is a relative local URL. - * - * NOTE: This function works only for a local resource and - * expects the absolute path to the relative URL set in this - * meta object. If you are extracting the absolute path from - * a KURL object, make sure you always set the argument below - * using KURL::path() instead of KURL::url() so that "file:/" - * would not be appended! Otherwise, the filter might not be - * able to make correct determination whether the relative URL - * locally exists! - * - * @param abs_path the abolute path to the local resource. - * @return true if absolute path is successfully set. Otherwise, false. - */ - bool setAbsolutePath( const TQString& /* abs_path */ ); - - /** - * Returns the absolute path if one has already been set. - */ - TQString absolutePath() const; - - /** - * Returns true if the supplied data has an absolute path. - */ - bool hasAbsolutePath() const; - - /** - * Returns the command line options and arguments for a - * local resource when present. - * - * @return options and arguments when present, otherwise TQString::null - */ - TQString argsAndOptions() const; - - /** - * Returns true if the current data is a local resource with - * command line options and arguments. - */ - bool hasArgsAndOptions() const; - - /** - * Returns the name of the icon that matches - * the current filtered URL. - * - * NOTE that this function will return a NULL - * string by default and when no associated icon - * is found. - * - * @return the name of the icon associated with the resource - */ - TQString iconName(); - - /** - * Overloaded assigenment operator. - * - * This function allows you to easily assign a KURL - * to a KURIFilterData object. - * - * @return an instance of a KURIFilterData object. - */ - KURIFilterData& operator=( const KURL& url ) { init( url ); return *this; } - - /** - * Overloaded assigenment operator. - * - * This function allows you to easily assign a QString - * to a KURIFilterData object. - * - * @return an instance of a KURIFilterData object. - */ - KURIFilterData& operator=( const TQString& url ) { init( url ); return *this; } - -protected: - - /** - * Initializes the KURIFilterData on construction. - */ - void init( const KURL& url = TQString::null ); - -private: - bool m_bFiltered; - bool m_bChanged; - - TQString m_strErrMsg; - TQString m_strIconName; - - KURL m_pURI; - URITypes m_iType; - KURIFilterDataPrivate *d; -}; - - -/** - * Base class for URI filter plugins. - * - * This class applies a single filter to a URI. All - * plugins designed to provide URI filtering functionalities - * should inherit from this abstract class and provide a - * specific filtering implementation. - * - * All inheriting classes need to implement the pure - * virtual function @ref filterURI. Otherwise, they - * would also become abstract. - * - * @short Abstract class for URI filter plugins. - */ -class KURIFilterPlugin : public QObject -{ - Q_OBJECT - -public: - - /** - * Constructs a filter plugin with a given name and - * priority. - * - * @param parent the parent object. - * @param name the name of the plugin. - * @param pri the priority of the plugin. - */ - KURIFilterPlugin( TQObject *parent = 0, const char *name = 0, double pri = 1.0 ); - - /** - * Returns the filter's name. - * - * @return A string naming the filter. - */ - virtual TQString name() const { return m_strName; } - - /** - * Returns the filter's priority. - * - * Each filter has an assigned priority, a float from 0 to 1. Filters - * with the lowest priority are first given a chance to filter a URI. - * - * @return The priority of the filter. - */ - virtual double priority() const { return m_dblPriority; } - - /** - * Filters a URI. - * - * @param data the URI data to be filtered. - * @return A boolean indicating whether the URI has been changed. - */ - virtual bool filterURI( KURIFilterData& data ) const = 0; - - /** - * Creates a configuration module for the filter. - * - * It is the responsability of the caller to delete the module - * once it is not needed anymore. - * - * @return A configuration module, @p null if the filter isn't configurable. - */ - virtual KCModule *configModule( TQWidget*, const char* ) const { return 0; } - - /** - * Returns the name of the configuration module for the filter. - * - * @return the name of a configuration module or @p null if none. - */ - virtual TQString configName() const { return name(); } - -protected: - - /** - * Sets the the URL in @p data to @p uri. - */ - void setFilteredURI ( KURIFilterData& data, const KURL& uri ) const; - - /** - * Sets the error message in @p data to @p errormsg. - */ - void setErrorMsg ( KURIFilterData& data, const TQString& errmsg ) const { - data.m_strErrMsg = errmsg; - } - - /** - * Sets the URI type in @p data to @p type. - */ - void setURIType ( KURIFilterData& data, KURIFilterData::URITypes type) const { - data.m_iType = type; - data.m_bChanged = true; - } - - /** - * Sets the arguments and options string in @p data - * to @p args if any were found during filterting. - */ - void setArguments( KURIFilterData& data, const TQString& args ) const; - - TQString m_strName; - double m_dblPriority; - -protected: - virtual void virtual_hook( int id, void* data ); -private: - class KURIFilterPluginPrivate *d; -}; - - -class KURIFilterPluginList : public TQPtrList -{ -public: - virtual int compareItems(Item a, Item b) - { - double diff = ((KURIFilterPlugin *) a)->priority() - ((KURIFilterPlugin *) b)->priority(); - return diff < 0 ? -1 : (diff > 0 ? 1 : 0); - } - -private: - KURIFilterPrivate *d; - -}; - -/** - * Manages the filtering of a URI. - * - * The intention of this plugin class is to allow people to extend - * the functionality of KURL without modifying it directly. This - * way KURL will remain a generic parser capable of parsing any - * generic URL that adheres to specifications. - * - * The KURIFilter class applies a number of filters to a URI, - * and returns the filtered version whenever possible. The filters - * are implemented using plugins to provide easy extensibility - * of the filtering mechanism. That is, new filters can be added in - * the future by simply inheriting from @ref KURIFilterPlugin and - * implementing the @ref KURIFilterPlugin::filterURI method. - * - * Use of this plugin-manager class is straight forward. Since - * it is a singleton object, all you have to do is obtain an instance - * by doing @p KURIFilter::self() and use any of the public member - * functions to preform the filtering. - * - * @sect Example - * - * To simply filter a given string: - *
- * bool filtered = KURIFilter::self()->filterURI( "kde.org" );
- * 
- * - * You can alternatively use a KURL: - *
- * KURL url = "kde.org";
- * bool filtered = KURIFilter::self()->filterURI( url );
- * 
- * - * If you have a constant string or a constant URL, - * simply invoke the corresponding function to obtain - * the filtered string or URL instead of a boolean flag: - *
- * TQString u = KURIFilter::self()->filteredURI( "kde.org" );
- * 
- * - * You can also specify only specific filter(s) to be applied - * by supplying the name(s) of the filter(s). By defualt all - * filters that are found are loaded when the KURIFilter object - * is created will be used. These names are taken from the - * enteries in the \".desktop\" files. Here are a couple of - * examples: - *
- * TQString text = "kde.org";
- * bool filtered = KURIFilter::self()->filterURI( text, "KShortURIFilter" );
- *
- * TQStringList list;
- * list << "KShortURIFilter" << "MyFilter";
- * bool filtered = KURIFilter::self()->filterURI( text, list );
- * 
- * - * KURIFilter also allows richer data exchange through a simple - * meta-object called @p KURIFilterData. Using this meta-object - * you can find out more information about the URL you want to - * filter. See @ref KURIFilterData for examples and details. - * - * @short Filters a given URL into its proper format whenever possible. - */ - -class KURIFilter -{ -public: - /** - * Destructor - */ - ~KURIFilter (); - - /** - * Return a static instance of KURIFilter. - */ - static KURIFilter* self(); - - /** - * Filters the URI given by the object URIFilterData. - * - * This filters the given data based on the specified - * filter list. If the list is empty all avaliable - * filter plugins would be used. If not, only those - * given in the list are used. - * - * @param data object that contains the URI to be filtered. - * @param filters specify the list filters to be used - * - * @return a boolean indicating whether the URI has been changed - */ - bool filterURI( KURIFilterData& data, const TQStringList& filters = TQStringList() ); - - /** - * Filters the URI given by the URL. - * - * This filters the given URL based on the specified - * filter list. If the list is empty all avaliable - * filter plugins would be used. If not, only those - * given in the list are used. - * - * @param uri the URI to filter. - * @param filters specify the list of filters to be used - * - * @return a boolean indicating whether the URI has been changed - */ - bool filterURI( KURL &uri, const TQStringList& filters = TQStringList() ); - - /** - * Filters a string representing a URI. - * - * This filters the given string based on the specified - * filter list. If the list is empty all avaliable - * filter plugins would be used. If not, only those - * given in the list are used. - * - * @param uri The URI to filter. - * @param filters specify the list filters to be used - * - * @return a boolean indicating whether the URI has been changed - */ - bool filterURI( TQString &uri, const TQStringList& filters = TQStringList() ); - - /** - * Returns the filtered URI. - * - * This filters the given URL based on the specified - * filter list. If the list is empty all avaliable - * filter plugins would be used. If not, only those - * given in the list are used. - * - * @param uri The URI to filter. - * @param filters specify the list filters to be used - * - * @return the filtered URI or null if it cannot be filtered - */ - KURL filteredURI( const KURL &uri, const TQStringList& filters = TQStringList() ); - - /** - * Return a filtered string representation of a URI. - * - * This filters the given URL based on the specified - * filter list. If the list is empty all avaliable - * filter plugins would be used. If not, only those - * given in the list are used. - * - * @param uri the URI to filter. - * @param filters specify the list filters to be used - * - * @return the filtered URI or null if it cannot be filtered - */ - TQString filteredURI( const TQString &uri, const TQStringList& filters = TQStringList() ); - - /** - * Return an iterator to iterate over all loaded - * plugins. - * - * @return a plugin iterator. - */ - TQPtrListIterator pluginsIterator() const; - - /** - * Return a list of the names of all loaded plugins - * - * @since 3.1 - * - * @return a TQStringList of plugin names - */ - TQStringList pluginNames() const; - -protected: - - /** - * A protected constructor. - * - * This constructor creates a KURIFilter and - * initializes all plugins it can find by invoking - * @ref loadPlugins. - */ - KURIFilter(); - - /** - * Loads all allowed plugins. - * - * This function loads all filters that have not - * been dis - */ - void loadPlugins(); - -private: - - static KURIFilter *m_self; - KURIFilterPluginList m_lstPlugins; - KURIFilterPrivate *d; - -}; - -#endif - diff --git a/python/pykde/extra/kde313/kaccelaction.h b/python/pykde/extra/kde313/kaccelaction.h deleted file mode 100644 index 8e422505..00000000 --- a/python/pykde/extra/kde313/kaccelaction.h +++ /dev/null @@ -1,564 +0,0 @@ -/* This file is part of the KDE libraries - Copyright (C) 2001,2002 Ellis Whitehead - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. -*/ - -#ifndef _KACCELACTION_H -#define _KACCELACTION_H - -#include -#include -#include -#include - -#include - -class KAccelBase; - -class TQObject; -class KConfig; -class KConfigBase; - -/** - * @internal - * A KAccelAction prepresents an action that can be executed using - * an accelerator key. Each KAccelAction has a name, a label, a - * "What's this" string and a @ref KShortcut. The user can configure and - * enable/disable them using @ref KKeyDialog. - * - *
- *	1) KAccelAction = "Run Command"
- *		Default3 = "Alt+F2"
- *		Default4 = "Meta+Enter;Alt+F2"
- *		1) KShortcut = "Meta+Enter"
- *			1) KKeySequence = "Meta+Enter"
- *				1) KKey = "Meta+Enter"
- *					1) Meta+Enter
- *					2) Meta+Keypad_Enter
- *		2) KShortcut = "Alt+F2"
- *			1) KKeySequence = "Alt+F2"
- *				1) Alt+F2
- *	2) KAccelAction = "Something"
- *		Default3 = ""
- *		Default4 = ""
- *		1) KShortcut = "Meta+X,Asterisk"
- *			1) KKeySequence = "Meta+X,Asterisk"
- *				1) KKey = "Meta+X"
- *					1) Meta+X
- *				2) KKey = "Asterisk"
- *					1) Shift+8 (English layout)
- *					2) Keypad_Asterisk
- * 
- * @short An accelerator action - * @see KAccel - * @see KGlobalAccel - * @see KKeyChooser - * @see KKeyDialog - */ -class KAccelAction -{ - public: - /** - * Creates an empty KAccelAction. - * @see clear() - */ - KAccelAction(); - - /** - * Copy constructor. - */ - KAccelAction( const KAccelAction& ); - - /** - * Creates a new KAccelAction. - * @param sName the name of the accelerator - * @param sLabel the label of the accelerator (i18n!) - * @param sWhatsThis the What's This text (18n!) - * @param cutDef3 the default shortcut for 3 modifier systems - * @param cutDef4 the default shortcut for 4 modifier systems - * @param pObjSlot the receiver of a signal when the key has been - * pressed - * @param psMethodSlot the slot to connect for key presses. Receives - * an int, as set by @ref setID(), as only argument - * @param bConfigurable if true the user can configure the shortcut - * @param bEnabled true if the accelerator should be enabled - */ - KAccelAction( const TQString& sName, const TQString& sLabel, const TQString& sWhatsThis, - const KShortcut& cutDef3, const KShortcut& cutDef4, - const TQObject* pObjSlot, const char* psMethodSlot, - bool bConfigurable, bool bEnabled ); - ~KAccelAction(); - - /** - * Clears the accelerator. - */ - void clear(); - - /** - * Re-initialized the KAccelAction. - * @param sName the name of the accelerator - * @param sLabel the label of the accelerator (i18n!) - * @param sWhatsThis the What's This text (18n!) - * @param cutDef3 the default shortcut for 3 modifier systems - * @param cutDef4 the default shortcut for 4 modifier systems - * @param pObjSlot the receiver of a signal when the key has been - * pressed - * @param psMethodSlot the slot to connect for key presses. Receives - * an int, as set by @ref setID(), as only argument - * @param bConfigurable if true the user can configure the shortcut - * @param bEnabled true if the accelerator should be enabled - * @return true if successful, false otherwise - */ - bool init( const TQString& sName, const TQString& sLabel, const TQString& sWhatsThis, - const KShortcut& cutDef3, const KShortcut& cutDef4, - const TQObject* pObjSlot, const char* psMethodSlot, - bool bConfigurable, bool bEnabled ); - - /** - * Copies this KAccelAction. - */ - KAccelAction& operator=( const KAccelAction& ); - - /** - * Returns the name of the accelerator action. - * @return the name of the accelerator action, can be null if not - * set - */ - const TQString& name() const { return m_sName; } - - /** - * Returns the label of the accelerator action. - * @return the label of the accelerator action, can be null if - * not set - */ - const TQString& label() const { return m_sLabel; } - - /** - * Returns the What's This text of the accelerator action. - * @return the What's This text of the accelerator action, can be - * null if not set - */ - const TQString& whatsThis() const { return m_sWhatsThis; } - - /** - * The shortcut that is actually used (may be used configured). - * @return the shortcut of the KAccelAction, can be null if not set - * @see shortcutDefault() - */ - const KShortcut& shortcut() const { return m_cut; } - - /** - * The default shortcut for this system. - * @return the default shortcut on this system, can be null if not set - * @see shortcut() - * @see shortcutDefault3() - * @see shortcutDefault4() - */ - const KShortcut& shortcutDefault() const; - - /** - * The default shortcut for 3 modifier systems. - * @return the default shortcut for 3 modifier systems, can be null - * if not set - * @see shortcutDefault() - * @see shortcutDefault4() - * @see useFourModifierKeys() - */ - const KShortcut& shortcutDefault3() const { return m_cutDefault3; } - - /** - * The default shortcut for 4 modifier systems. - * @return the default shortcut for 4 modifier systems, can be null - * if not set - * @see shortcutDefault() - * @see shortcutDefault3() - * @see useFourModifierKeys() - */ - const KShortcut& shortcutDefault4() const { return m_cutDefault4; } - - /** - * Returns the receiver of signals. - * @return the receiver of signals (can be 0 if not set) - */ - const TQObject* objSlotPtr() const { return m_pObjSlot; } - - /** - * Returns the slot for the signal. - * @return the slot for the signal - */ - const char* methodSlotPtr() const { return m_psMethodSlot; } - - /** - * Checks whether the user can configure the action. - * @return true if configurable, false otherwise - */ - bool isConfigurable() const { return m_bConfigurable; } - - /** - * Checks whether the action is enabled. - * @return true if enabled, false otherwise - */ - bool isEnabled() const { return m_bEnabled; } - - /** - * Sets the name of the accelerator action. - * @param name the new name - */ - void setName( const TQString& name ); - - /** - * Sets the user-readable label of the accelerator action. - * @param label the new label (i18n!) - */ - void setLabel( const TQString& label ); - - /** - * Sets the What's This text for the accelerator action. - * @param whatsThis the new What's This text (i18n!) - */ - void setWhatsThis( const TQString& whatsThis ); - - /** - * Sets the new shortcut of the accelerator action. - * @param rgCuts the shortcut to set - * @return true if successful, false otherwise - */ - bool setShortcut( const KShortcut& rgCuts ); - - /** - * Sets the slot of the accelerator action. - * @param pObjSlot the receiver object of the signal - * @param psMethodSlot the slot for the signal - */ - void setSlot( const TQObject* pObjSlot, const char* psMethodSlot ); - - /** - * Enables or disabled configuring the action. - * @param configurable true to enable configurability, false to disable - */ - void setConfigurable( bool configurable ); - - /** - * Enables or disabled the action. - * @param configurable true to enable the action, false to disable - */ - void setEnabled( bool enable ); - - /** - * Retrieves the id set using @ref setID. - * @return the id of the accelerator action - */ - int getID() const { return m_nIDAccel; } - - /** - * Allows you to set an id that will be used as the action - * signal's argument. - * - * @param n the new id - * @see @ref getID() - */ - void setID( int n ) { m_nIDAccel = n; } - - /** - * Checkes whether the action is connected (emits signals). - * @return true if connected, false otherwise - */ - bool isConnected() const; - - /** - * Sets a key sequence of the action's shortcut. - * @param i the position of the sequence - * @param keySeq the new new sequence - * @return true if successful, false otherwise - * @see KShortcut::setSeq() - */ - bool setKeySequence( uint i, const KKeySequence &keySeq ); - - /** - * Clears the action's shortcut. It will not contain any sequences after - * calling this method. - * @see KShortcut::clear() - */ - void clearShortcut(); - - /** - * Checks whether the action's shortcut contains the given key sequence. - * @param keySeq the key sequence to check - * @return true if the shortcut contains the given sequence - * @see KShortcut::contains() - */ - bool contains( const KKeySequence &keySeq ); - - /** - * Returns the string representation of the action's shortcut. - * @return the string representation of the action's shortcut. - * @see KShortcut::toString() - */ - TQString toString() const; - - /** - * @internal - */ - TQString toStringInternal() const; - - /** - * Returns true if four modifier keys will be used. - * @return true if four modifier keys will be used. - */ - static bool useFourModifierKeys(); - - /** - * Selects 3 or 4 modifier default shortcuts. - * @param use true to use 4 modifier shortcuts, false to use - * 3 modifier shortcuts - */ - static void useFourModifierKeys( bool use ); - - protected: - TQString m_sName, - m_sLabel, - m_sWhatsThis; - KShortcut m_cut; - KShortcut m_cutDefault3, m_cutDefault4; - const TQObject* m_pObjSlot; - const char* m_psMethodSlot; - bool m_bConfigurable, - m_bEnabled; - int m_nIDAccel; - uint m_nConnections; - - void incConnections(); - void decConnections(); - - private: - static int g_bUseFourModifierKeys; - class KAccelActionPrivate* d; - - friend class KAccelActions; - friend class KAccelBase; -}; - -//--------------------------------------------------------------------- -// KAccelActions -//--------------------------------------------------------------------- - -/** - * @internal - * This class represents a collection of @ref KAccelAction objects. - * - * @short A collection of accelerator actions - * @see KAccelAction - */ -class KAccelActions -{ - public: - /** - * Creates a new, empty KAccelActions object. - */ - KAccelActions(); - - /** - * Copy constructor (deep copy). - */ - KAccelActions( const KAccelActions& ); - virtual ~KAccelActions(); - - /** - * Removes all items from this collection. - */ - void clear(); - - /** - * Initializes this object with the given actions. - * It will make a deep copy of all actions. - * @param actions the actions to copy - * @return true if successful, false otherwise - */ - bool init( const KAccelActions &actions ); - - /** - * Loads the actions from the given configuration file. - * - * @param config the configuration file to load from - * @param sGroup the group in the configuration file - * @return true if successful, false otherwise - */ - bool init( KConfigBase& config, const TQString& sGroup ); - - /** - * Updates the shortcuts of all actions in this object - * with the shortcuts from the given object. - * @param shortcuts the collection that contains the new - * shortcuts - */ - void updateShortcuts( KAccelActions &shortcuts ); - - /** - * Retrieves the index of the action with the given name. - * @param sAction the action to search - * @return the index of the action, or -1 if not found - */ - int actionIndex( const TQString& sAction ) const; - - /** - * Returns the action with the given @p index. - * @param index the index of an action. You must not - * use an index that is too high. - * @return the KAccelAction with the given index - * @see count() - */ - KAccelAction* actionPtr( uint index ); - - /** - * Returns the action with the given @p index. - * @param index the index of an action. You must not - * use an index that is too high. - * @return the KAccelAction with the given index - * @see count() - */ - const KAccelAction* actionPtr( uint index ) const; - - /** - * Returns the action with the given name. - * @param aAction the name of the action to search - * @return the KAccelAction with the given name, or 0 - * if not found - */ - KAccelAction* actionPtr( const TQString& sAction ); - - /** - * Returns the action with the given name. - * @param aAction the name of the action to search - * @return the KAccelAction with the given name, or 0 - * if not found - */ - const KAccelAction* actionPtr( const TQString& sAction ) const; - - /** - * Returns the action with the given key sequence. - * @param cut the sequence to search for - * @return the KAccelAction with the given sequence, or 0 - * if not found - */ - KAccelAction* actionPtr( KKeySequence cut ); - - /** - * Returns the action with the given @p index. - * @param index the index of an action. You must not - * use an index that is too high. - * @return the KAccelAction with the given index - * @see actionPtr() - * @see count() - */ - KAccelAction& operator []( uint index ); - - /** - * Returns the action with the given @p index. - * @param index the index of an action. You must not - * use an index that is too high. - * @return the KAccelAction with the given index - * @see actionPtr() - * @see count() - */ - const KAccelAction& operator []( uint index ) const; - - /** - * Inserts an action into the collection. - * @param sName the name of the accelerator - * @param sLabel the label of the accelerator (i18n!) - * @param sWhatsThis the What's This text (18n!) - * @param cutDef3 the default shortcut for 3 modifier systems - * @param cutDef4 the default shortcut for 4 modifier systems - * @param pObjSlot the receiver of a signal when the key has been - * pressed - * @param psMethodSlot the slot to connect for key presses. Receives - * an int, as set by @ref setID(), as only argument - * @param bConfigurable if true the user can configure the shortcut - * @param bEnabled true if the accelerator should be enabled - * @return the new action - */ - KAccelAction* insert( const TQString& sAction, const TQString& sLabel, const TQString& sWhatsThis, - const KShortcut& rgCutDefaults3, const KShortcut& rgCutDefaults4, - const TQObject* pObjSlot = 0, const char* psMethodSlot = 0, - bool bConfigurable = true, bool bEnabled = true ); - - /** - * Inserts an action into the collection. - * @param sName the name of the accelerator - * @param sLabel the label of the accelerator (i18n!) - * @return the new action - */ - KAccelAction* insert( const TQString& sName, const TQString& sLabel ); - - /** - * Removes the given action. - * @param sAction the name of the action. - * @return true if successful, false otherwise - */ - bool remove( const TQString& sAction ); - - /** - * Loads the actions from the given configuration file. - * - * @param sConfigGroup the group in the configuration file - * @param pConfig the configuration file to load from - * @return true if successful, false otherwise - */ - bool readActions( const TQString& sConfigGroup = "Shortcuts", KConfigBase* pConfig = 0 ); - - /** - * Writes the actions to the given configuration file. - * - * @param sConfigGroup the group in the configuration file - * @param pConfig the configuration file to save to - * @param bWriteAll true to write all actions - * @param bGlobal true to write to the global configuration file - * @return true if successful, false otherwise - */ - bool writeActions( const TQString& sConfigGroup = "Shortcuts", KConfigBase* pConfig = 0, - bool bWriteAll = false, bool bGlobal = false ) const; - - /** - * Emit a keycodeChanged signal. - */ - void emitKeycodeChanged(); - - /** - * Returns the number of actions in the collection. - * @return the number of actions - */ - uint count() const; - - protected: - KAccelBase* m_pKAccelBase; - KAccelAction** m_prgActions; - uint m_nSizeAllocated, m_nSize; - - void resize( uint ); - void insertPtr( KAccelAction* ); - - private: - class KAccelActionsPrivate* d; - - KAccelActions( KAccelBase* ); - void initPrivate( KAccelBase* ); - KAccelActions& operator =( KAccelActions& ); - - friend class KAccelBase; -}; - -#endif // _KACCELACTION_H diff --git a/python/pykde/extra/kde313/kaccelbase.h b/python/pykde/extra/kde313/kaccelbase.h deleted file mode 100644 index 03fa9c87..00000000 --- a/python/pykde/extra/kde313/kaccelbase.h +++ /dev/null @@ -1,229 +0,0 @@ -/* This file is part of the KDE libraries - Copyright (C) 2001 Ellis Whitehead - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. -*/ - -#ifndef _KACCELBASE_H -#define _KACCELBASE_H - -#include -#include -#include -#include -#include - -#include "kaccelaction.h" -#include "kkeyserver_x11.h" - -class TQPopupMenu; -class TQWidget; - -//---------------------------------------------------- - -/** - * @internal - * Handle keyboard accelerators. - * - * Allow an user to configure - * key bindings through application configuration files or through the - * @ref KKeyChooser GUI. - * - * A @ref KAccel contains a list of accelerator items. Each accelerator item - * consists of an action name and a keyboard code combined with modifiers - * (Shift, Ctrl and Alt.) - * - * For example, "Ctrl+P" could be a shortcut for printing a document. The key - * codes are listed in ckey.h. "Print" could be the action name for printing. - * The action name identifies the key binding in configuration files and the - * @ref KKeyChooser GUI. - * - * When pressed, an accelerator key calls the slot to which it has been - * connected. Accelerator items can be connected so that a key will activate - * two different slots. - * - * A KAccel object handles key events sent to its parent widget and to all - * children of this parent widget. - * - * Key binding reconfiguration during run time can be prevented by specifying - * that an accelerator item is not configurable when it is inserted. A special - * group of non-configurable key bindings are known as the - * standard accelerators. - * - * The standard accelerators appear repeatedly in applications for - * standard document actions such as printing and saving. Convenience methods are - * available to insert and connect these accelerators which are configurable on - * a desktop-wide basis. - * - * It is possible for a user to choose to have no key associated with - * an action. - * - * The translated first argument for @ref insertItem() is used only - * in the configuration dialog. - *
- * KAccel *a = new KAccel( myWindow );
- * // Insert an action "Scroll Up" which is associated with the "Up" key:
- * a->insertItem( i18n("Scroll up"), "Scroll Up", "Up" );
- * // Insert an action "Scroll Down" which is not associated with any key:
- * a->insertItem( i18n("Scroll down"), "Scroll Down", 0);
- * a->connectItem( "Scroll up", myWindow, TQT_SLOT( scrollUp() ) );
- * // a->insertStdItem( KStdAccel::Print ); //not necessary, since it
- *	// is done automatially with the
- *	// connect below!
- * a->connectItem(KStdAccel::Print, myWindow, TQT_SLOT( printDoc() ) );
- *
- * a->readSettings();
- *
- * - * If a shortcut has a menu entry as well, you could insert them like - * this. The example is again the @ref KStdAccel::Print from above. - * - *
- * int id;
- * id = popup->insertItem("&Print",this, TQT_SLOT(printDoc()));
- * a->changeMenuAccel(popup, id, KStdAccel::Print );
- * 
- * - * If you want a somewhat "exotic" name for your standard print action, like - * id = popup->insertItem(i18n("Print &Document"),this, TQT_SLOT(printDoc())); - * it might be a good idea to insert the standard action before as - * a->insertStdItem( KStdAccel::Print, i18n("Print Document") ) - * as well, so that the user can easily find the corresponding function. - * - * This technique works for other actions as well. Your "scroll up" function - * in a menu could be done with - * - *
- *    id = popup->insertItem(i18n"Scroll &up",this, TQT_SLOT(scrollUp()));
- *    a->changeMenuAccel(popup, id, "Scroll Up" );
- * 
- * - * Please keep the order right: First insert all functions in the - * acceleratior, then call a -> @ref readSettings() and @em then build your - * menu structure. - * - * @short Configurable key binding support. - * @version $Id: kaccelbase.h,v 1.22 2002/10/06 18:19:39 ellis Exp $ - */ - -class KAccelBase -{ - public: - enum Init { QT_KEYS = 0x00, NATIVE_KEYS = 0x01 }; - enum Signal { KEYCODE_CHANGED }; - - KAccelBase( int fInitCode ); - virtual ~KAccelBase(); - - uint actionCount() const; - KAccelActions& actions(); - bool isEnabled() const; - - KAccelAction* actionPtr( const TQString& sAction ); - const KAccelAction* actionPtr( const TQString& sAction ) const; - KAccelAction* actionPtr( const KKey& key ); - KAccelAction* actionPtr( const KKeyServer::Key& key ); - - const TQString& configGroup() const { return m_sConfigGroup; } - void setConfigGroup( const TQString& group ); - void setConfigGlobal( bool global ); - virtual void setEnabled( bool bEnabled ) = 0; - bool getAutoUpdate() { return m_bAutoUpdate; } - // return value of AutoUpdate flag before this call. - bool setAutoUpdate( bool bAuto ); - -// Procedures for manipulating Actions. - //void clearActions(); - - KAccelAction* insert( const TQString& sName, const TQString& sDesc ); - KAccelAction* insert( - const TQString& sAction, const TQString& sDesc, const TQString& sHelp, - const KShortcut& rgCutDefaults3, const KShortcut& rgCutDefaults4, - const TQObject* pObjSlot, const char* psMethodSlot, - bool bConfigurable = true, bool bEnabled = true ); - bool remove( const TQString& sAction ); - bool setActionSlot( const TQString& sAction, const TQObject* pObjSlot, const char* psMethodSlot ); - - bool updateConnections(); - - bool setShortcut( const TQString& sAction, const KShortcut& cut ); - -// Modify individual Action sub-items - bool setActionEnabled( const TQString& sAction, bool bEnable ); - - /** - * Read all key associations from @p config, or (if @p config - * is zero) from the application's configuration file - * @ref KGlobal::config(). - * - * The group in which the configuration is stored can be - * set with @ref setConfigGroup(). - */ - void readSettings( KConfigBase* pConfig = 0 ); - - /** - * Write the current configurable associations to @p config, - * or (if @p config is zero) to the application's - * configuration file. - */ - void writeSettings( KConfigBase* pConfig = 0 ) const; - - TQPopupMenu* createPopupMenu( TQWidget* pParent, const KKeySequence& ); - - // Protected methods - protected: - void slotRemoveAction( KAccelAction* ); - - void createKeyList( TQValueVector& rgKeys ); - bool insertConnection( KAccelAction* ); - bool removeConnection( KAccelAction* ); - - virtual bool emitSignal( Signal ) = 0; - virtual bool connectKey( KAccelAction&, const KKeyServer::Key& ) = 0; - virtual bool connectKey( const KKeyServer::Key& ) = 0; - virtual bool disconnectKey( KAccelAction&, const KKeyServer::Key& ) = 0; - virtual bool disconnectKey( const KKeyServer::Key& ) = 0; - - protected: - struct ActionInfo - { - KAccelAction* pAction; - uint iSeq, iVariation; - //ActionInfo* pInfoNext; // nil if only one action uses this key. - - ActionInfo() { pAction = 0; iSeq = 0xffff; iVariation = 0xffff; } - ActionInfo( KAccelAction* _pAction, uint _iSeq, uint _iVariation ) - { pAction = _pAction; iSeq = _iSeq; iVariation = _iVariation; } - }; - typedef TQMap KKeyToActionMap; - - KAccelActions m_rgActions; - KKeyToActionMap m_mapKeyToAction; - TQValueList m_rgActionsNonUnique; - bool m_bNativeKeys; // Use native key codes instead of Qt codes - bool m_bEnabled; - bool m_bConfigIsGlobal; - TQString m_sConfigGroup; - bool m_bAutoUpdate; - KAccelAction* mtemp_pActionRemoving; - - private: - KAccelBase& operator =( const KAccelBase& ); - - friend class KAccelActions; -}; - -#endif // _KACCELBASE_H diff --git a/python/pykde/extra/kde313/kicontheme.h b/python/pykde/extra/kde313/kicontheme.h deleted file mode 100644 index bfee160b..00000000 --- a/python/pykde/extra/kde313/kicontheme.h +++ /dev/null @@ -1,331 +0,0 @@ -/* vi: ts=8 sts=4 sw=4 - * - * $Id: kicontheme.h,v 1.26 2002/10/26 22:08:38 tjansen Exp $ - * - * This file is part of the KDE project, module kdecore. - * Copyright (C) 2000 Geert Jansen - * Antonio Larrosa - * - * This is free software; it comes under the GNU Library General - * Public License, version 2. See the file "COPYING.LIB" for the - * exact licensing terms. - * - */ - -#ifndef __KIconTheme_h_Included__ -#define __KIconTheme_h_Included__ - -#include -#include -#include - -class KConfig; -//class KIconThemeDir; - -class KIconThemePrivate; - -class KIconPrivate; - -/** - * One icon as found by KIconTheme. Also serves as a namespace containing - * icon related constants. - * @see KIconEffect - * @see KIconTheme - * @see KIconLoader - */ -class KIcon -{ -public: - KIcon() { size = 0; } - - /** - * Return true if this icon is valid, false otherwise. - */ - bool isValid() const { return size != 0; } - - /** - * Defines the context of the icon. - */ - enum Context { - Any, ///< Some icon with unknown purpose. - Action, ///< An action icon (e.g. 'save', 'print'). - Application, ///< An icon that represents an application. - Device, ///< An icon that represents a device. - FileSystem, ///< An icon that represents a file system. - MimeType ///< An icon that represents a mime type (or file type). - }; - - /** - * The type of the icon. - */ - enum Type { - Fixed, ///< Fixed-size icon. - Scalable, ///< Scalable-size icon. - Threshold ///< A threshold icon. - }; - - /** - * The type of a match. - */ - enum MatchType { - MatchExact, ///< Only try to find an exact match. - MatchBest ///< Take the best match if there is no exact match. - - }; - - // if you add a group here, make sure to change the config reading in - // KIconLoader too - /** - * The group an an icon. - */ - enum Group { NoGroup=-1, Desktop=0, FirstGroup=Desktop, Toolbar, - MainToolbar, Small, Panel, LastGroup, User }; - - /** - * These are the standard sizes for icons. - */ - enum StdSizes { - /// small icons for menu entries - SizeSmall=16, - /// medium sized icons for the desktop - SizeMedium=32, - /// large sized icons for the panel - SizeLarge=48 }; - - /** - * Defines the possible states of an icon. - */ - enum States { DefaultState, ///< The default state. - ActiveState, ///< Icon is active. - DisabledState, ///< Icon is disabled. - LastState ///< Last state (last constant) - }; - - /** - * This defines an overlay, a semi-transparent image that is - * projected onto the icon. They are used to show that the file - * represented by the icon is, for example, locked, zipped or hidden. - */ - enum Overlays { - LockOverlay=0x100, ///< a file is locked - ZipOverlay=0x200, ///< a file is zipped - LinkOverlay=0x400, ///< a fileis a link - HiddenOverlay=0x800, ///< a file is hidden - ShareOverlay=0x1000, ///< a file is shared - OverlayMask = ~0xff - }; - - /** - * The size in pixels of the icon. - */ - int size; - - /** - * The context of the icon. - */ - Context context; - - /** - * The type of the icon: Fixed, Scalable or Threshold. - **/ - Type type; - - /** - * The threshold in case type == Threshold - */ - int threshold; - - /** - * The full path of the icon. - */ - TQString path; - -private: - KIconPrivate *d; -}; - -inline KIcon::Group& operator++(KIcon::Group& group) { group = static_cast(group+1); return group; } -inline KIcon::Group operator++(KIcon::Group& group,int) { KIcon::Group ret = group; ++group; return ret; } - -/** - * Class to use/access icon themes in KDE. This class is used by the - * iconloader but can be used by others too. - * @see KIconLoader - */ -class KIconTheme -{ -public: - /** - * Load an icon theme by name. - * @param name the name of the theme (e.g. "hicolor" or "keramik") - * @param appName the name of the application. Can be null. This argument - * allows applications to have themed application icons. - */ - KIconTheme(const TQString& name, const TQString& appName=TQString::null); - ~KIconTheme(); - - /** - * The stylized name of the icon theme. - * @return the (human-readable) name of the theme - */ - TQString name() const { return mName; } - - /** - * A description for the icon theme. - * @return a human-readable description of the theme, TQString::null - * if there is none - */ - TQString description() const { return mDesc; } - - /** - * Return the name of the "example" icon. This can be used to - * present the theme to the user. - * @return the name of the example icon, TQString::null if there is none - */ - TQString example() const; - - /** - * Return the name of the screenshot. - * @return the name of the screenshot, TQString::null if there is none - */ - TQString screenshot() const; - - /** - * Returns the name of this theme's link overlay. - * @return the name of the link overlay - */ - TQString linkOverlay() const; - - /** - * Returns the name of this theme's zip overlay. - * @return the name of the zip overlay - */ - TQString zipOverlay() const; - - /** - * Returns the name of this theme's lock overlay. - * @return the name of the lock overlay - */ - TQString lockOverlay() const; - - /** - * Returns the name of this theme's share overlay. - * @return the name of the share overlay - * @since 3.1 - */ - TQString shareOverlay () const; - - /** - * Returns the toplevel theme directory. - * @return the directory of the theme - */ - TQString dir() const { return mDir; } - - /** - * The themes this icon theme falls back on. - * @return a list of icon themes that are used as fall-backs - */ - TQStringList inherits() const { return mInherits; } - - /** - * The icon theme exists? - * @return true if the icon theme is valid - */ - bool isValid() const; - - /** - * The icon theme should be hidden to the user? - * @return true if the icon theme is hidden - * @since 3.1 - */ - bool isHidden() const; - - /** - * The minimum display depth required for this theme. This can either - * be 8 or 32. - * @return the minimum bpp (8 or 32) - */ - int depth() const { return mDepth; } - - /** - * The default size of this theme for a certain icon group. - * @param group The icon group. See @ref #KIcon::Group. - * @return The default size in pixels for the given icon group. - */ - int defaultSize(KIcon::Group group) const; - - /** - * Query available sizes for a group. - * @param group The icon group. See @ref #KIcon::Group. - * @return a list of available sized for the given group - */ - TQValueList querySizes(KIcon::Group group) const; - - /** - * Query available icons for a size and context. - * @param size the size of the icons - * @param context the context of the icons - * @return the list of icon names - */ - TQStringList queryIcons(int size, KIcon::Context context = KIcon::Any) const; - - /** - * Query available icons for a context and preferred size. - * @param size the size of the icons - * @param context the context of the icons - * @return the list of icon names - */ - TQStringList queryIconsByContext(int size, KIcon::Context context = KIcon::Any) const; - - - /** - * Lookup an icon in the theme. - * @param name The name of the icon, without extension. - * @param size The desired size of the icon. - * @param match The matching mode. KIcon::MatchExact returns an icon - * only if matches exactly. KIcon::MatchBest returns the best matching - * icon. - * @return A KIcon class that describes the icon. If an icon is found, - * @see KIcon::isValid will return true, and false otherwise. - */ - KIcon iconPath(const TQString& name, int size, KIcon::MatchType match) const; - - /** - * List all icon themes installed on the system, global and local. - * @return the list of all icon themes - */ - static TQStringList list(); - - /** - * Returns the current icon theme. - * @return the name of the current theme - */ - static TQString current(); - - /** - * Reconfigure the theme. - */ - static void reconfigure(); - - /** - * Returns the default icon theme. - * @return the name of the default theme name - * @since 3.1 - */ - static TQString defaultThemeName(); - -private: - int mDefSize[8]; - TQValueList mSizes[8]; - - int mDepth; - TQString mDir, mName, mDesc; - TQStringList mInherits; -// TQPtrList mDirs; - KIconThemePrivate *d; - - static TQString *_theme; - static TQStringList *_theme_list; -}; - -#endif diff --git a/python/pykde/extra/kde313/kkeyserver_x11.h b/python/pykde/extra/kde313/kkeyserver_x11.h deleted file mode 100644 index 568de854..00000000 --- a/python/pykde/extra/kde313/kkeyserver_x11.h +++ /dev/null @@ -1,435 +0,0 @@ -#ifndef _KKEYSERVER_X11_H -#define _KKEYSERVER_X11_H - -#include "kshortcut.h" -#include "kkeynative.h" - -/** - * A collection of functions for the conversion of key presses and - * their modifiers from the window system (X11) specific format - * to the generic format and vice-versa. - */ -namespace KKeyServer -{ - /** - * Supplement enum KKey::ModFlag - * @since 3.1 - */ - enum ExtraModFlag { MODE_SWITCH = 0x2000 }; - - struct CodeMod { int code, mod; }; - - /** - * Represents a key symbol. - * @see KKey - * @see KKeyServer - */ - struct Sym - { - public: - /// the actual value of the symbol - uint m_sym; - - /// Creates a null symbol. - Sym() - { m_sym = 0; } - /** - * Creates asymbol with the given value. - * @param sym the value - */ - Sym( uint sym ) - { m_sym = sym; } - /** - * Creates a symbol from the given string description. - * @param s the description of the symbol - * @see toString() - */ - Sym( const TQString& s ) - { init( s ); } - - /** - * Initializes the symbol with the given Qt key code. - * @param keyQt the qt key code - * @return true if succesful, false otherwise - * @see Qt::Key - */ - bool initQt( int keyQt ); - - /** - * Initializes the key with the given string description. - * @param s the string description - * @return true if succesful, false otherwise - * @see toString() - */ - bool init( const TQString &s ); - - /** - * Returns the qt key code of the symbol. - * @return the qt key code - */ - int qt() const; - - /** - * @internal - */ - TQString toStringInternal() const; - - /** - * Returns the string representation of the symbol. - * @return the string representation of the symbol - */ - TQString toString() const; - - /** - * Returns the mods that are required for this symbol as - * ORed @ref KKey::ModFlag's. For example, Break requires a - * Ctrl to be valid. - * @return the required @ref KKey::ModFlag's - * @see KKey::ModFlag - */ - uint getModsRequired() const; - - /** - * TODO: please find out what this method does and document it - */ - uint getSymVariation() const; - - /** - * Casts the symbol to its integer representation. - */ - operator uint() const { return m_sym; } - - /** - * Overloaded operator to convert ints to Sym. - */ - Sym& operator =( uint sym ) { m_sym = sym; return *this; } - - private: - TQString toString( bool bUserSpace ) const; - - static void capitalizeKeyname( TQString& ); - }; - - /** - * Represents a key press. - * @see KKey - */ - struct Key - { - /// Code for native Keys in Qt - enum { CODE_FOR_QT = 256 }; - - /// The code of the key - uint m_code; - - /// The modifiers of the key - uint m_mod; - - /// The symbol of the key - uint m_sym; - - /** - * Initializes the key with a @ref KKey. - * @param key the key to get the data from - * @param bQt true to take the Qt keycode, false - * for the native key code - * @see Qt::Key - * @see KKeyNative - */ - bool init( const KKey& key, bool bQt ); - - /** - * Checks whether the key code is a native code. - * @return true if native code of the window system, - * false if it is a Qt keycode - * @see Qt::Key - * @see KKeyNative - */ - bool isNative() const { return m_code != CODE_FOR_QT; } - - /** - * Returns the code of the key. - * @return the code of the key - */ - uint code() const { return m_code; } - - /** - * Returns the modifiers of the key. - * @return the modifiers of the key - */ - uint mod() const { return m_mod; } - - /** - * Returns the symbol of the key. - * @return the symbol of the key - */ - uint sym() const { return m_sym; } - - /** - * Returns the qt key code. - * @return the qt key code - */ - int keyCodeQt() const { return (int) m_sym; } - - /** - * Sets the qt key code. - * @param keyQt the qt key code - */ - void setKeycodeQt( int keyQt ) - { m_code = CODE_FOR_QT; m_sym = keyQt; } - - /** - * Initializes this key with a @ref KKeyNative. - * @return this key - */ - Key& operator =( const KKeyNative& key ); - - /** - * Compares this key with the given Key object. Returns a - * negative number if the given Key is larger, 0 if they - * are equal and a positive number this Key is larger. The - * returned value is the difference between the symbol, modifier - * or code, whatever is non-zero first. - * - * @param key the key to compare with this key - * @return a negative number if the given Key is larger, 0 if - * they are equal and a positive number this Key is larger - */ - int compare( const Key& key ) const; - - /** - * Compares the symbol, modifiers and code of both keys. - * @see compare() - */ - bool operator ==( const Key& b ) const - { return compare( b ) == 0; } - - /** - * Compares the symbol, modifiers and code of both keys. - * @see compare() - */ - bool operator <( const Key& b ) const - { return compare( b ) < 0; } - - /** - * Converts this Key to a KKey. - * @return the KKey - */ - KKey key() const; - }; - - /** - * TODO: please document this class - */ - struct Variations - { - enum { MAX_VARIATIONS = 4 }; - - Key m_rgkey[MAX_VARIATIONS]; - uint m_nVariations; - - Variations() { m_nVariations = 0; } - - void init( const KKey&, bool bQt ); - - uint count() const { return m_nVariations; } - const Key& key( uint i ) const { return m_rgkey[i]; } - }; - - /// TODO: please document - bool initializeMods(); - - /** - * Returns the equivalent X modifier mask of the given modifier flag. - * @param modFlag the generic flags to check - * @return the window system specific flags - */ - uint modX( KKey::ModFlag modFlag ); - - /** - * Returns true if the current keyboard layout supports the Win key. - * Specifically, whether the Super or Meta keys are assigned to an X modifier. - * @return true if the keyboard has a Win key - * @see modXWin() - */ - bool keyboardHasWinKey(); - - /** - * Returns the X11 Shift modifier mask/flag. - * @return the X11 Shift modifier mask/flag. - * @see accelModMaskX() - */ - uint modXShift(); - - /** - * Returns the X11 Lock modifier mask/flag. - * @return the X11 Lock modifier mask/flag. - * @see accelModMaskX() - */ - uint modXLock(); - - /** - * Returns the X11 Ctrl modifier mask/flag. - * @return the X11 Ctrl modifier mask/flag. - * @see accelModMaskX() - */ - uint modXCtrl(); - - /** - * Returns the X11 Alt (Mod1) modifier mask/flag. - * @return the X11 Alt (Mod1) modifier mask/flag. - * @see accelModMaskX() - */ - uint modXAlt(); - - /** - * Returns the X11 NumLock modifier mask/flag. - * @return the X11 NumLock modifier mask/flag. - * @see accelModMaskX() - */ - uint modXNumLock(); - - /** - * Returns the X11 Win (Mod3) modifier mask/flag. - * @return the X11 Win (Mod3) modifier mask/flag. - * @see keyboardHasWinKey() - * @see accelModMaskX() - */ - uint modXWin(); - - /** - * Returns the X11 ScrollLock modifier mask/flag. - * @return the X11 ScrollLock modifier mask/flag. - * @see accelModMaskX() - */ - uint modXScrollLock(); - - /** - * Returns bitwise OR'ed mask containing Shift, Ctrl, Alt, and - * Win (if available). - * @see modXShift() - * @see modXLock() - * @see modXCtrl() - * @see modXAlt() - * @see modXNumLock() - * @see modXWin() - * @see modXScrollLock() - */ - uint accelModMaskX(); - - /** - * Extracts the symbol from the given Qt key and - * converts it to a symbol. - * @param keyQt the qt key code - * @param sym if successful, the symbol will be written here - * @return true if successful, false otherwise - * @see Qt::Key - * @see Sym - */ - bool keyQtToSym( int keyQt, uint& sym ); - - /** - * Extracts the modifiers from the given Qt key and - * converts them in a mask of ORed @ref KKey::ModFlag modifiers. - * @param keyQt the qt key code - * @param mod if successful, the modifiers will be written here - * @return true if successful, false otherwise - * @see Qt::Key - */ - bool keyQtToMod( int keyQt, uint& mod ); - - /** - * Converts the given symbol to a Qt key code. - * @param sym the symbol - * @param keyQt if successful, the qt key code will be written here - * @return true if successful, false otherwise - * @see Qt::Key - * @see Sym - */ - bool symToKeyQt( uint sym, int& keyQt ); - - /** - * Converts the mask of ORed @ref KKey::ModFlag modifiers to - * a mask of ORed Qt key code modifiers. - * @param the mask of @ref KKey::ModFlag modifiers - * @param the mask of Qt key code modifiers will be written here, - * if successful - * @return true if successful, false otherwise - * @see Qt::Key - * @see KKey - */ - bool modToModQt( uint mod, int& modQt ); - - /** - * Converts the mask of ORed @ref KKey::ModFlag modifiers to - * a mask of ORed X11 modifiers. - * @param the mask of @ref KKey::ModFlag modifiers - * @param the mask of X11 modifiers will be written here, - * if successful - * @return true if successful, false otherwise - * @see KKey - */ - bool modToModX( uint mod, uint& modX ); - - /** - * Converts the mask of ORed X11 modifiers to - * a mask of ORed Qt key code modifiers. - * @param the mask of X11 modifiers - * @param the mask of Qt key code modifiers will be written here - * if successful - * @return true if successful, false otherwise - * @see Qt::Key - */ - bool modXToModQt( uint modX, int& modQt ); - - /** - * Converts the mask of ORed X11 modifiers to - * a mask of ORed @ref KKey::ModFlag modifiers. - * @param the mask of X11 modifiers - * @param the mask of @ref KKey::ModFlag modifiers will be written here, - * if successful - * @return true if successful, false otherwise - * @see KKey - */ - bool modXToMod( uint modX, uint& mod ); - - /** - * Converts a X11 key code and a mask of ORed X11 modifiers - * into a X11 symbol. - * converts it to a symbol. - * @param codeX the X11 key code - * @param modX the mask of ORed X11 modifiers - * @param sym if successful, the X11 symbol will be written here - * @return true if successful, false otherwise - * @see Qt::Key - * @see Sym - */ - bool codeXToSym( uchar codeX, uint modX, uint& symX ); - - /** - * @internal - */ - TQString modToStringInternal( uint mod ); - - /** - * Converts the mask of ORed @ref KKey::ModFlag modifiers to a - * user-readable string. - * @param mod the mask of ORed @ref KKey::ModFlag modifiers - * @return the user-readable string - */ - TQString modToStringUser( uint mod ); - - /** - * @internal - * Unimplemented? - */ - bool stringToSymMod( const TQString&, uint& sym, uint& mod ); - - /** - * @internal - * Unimplemented? - */ - void keyQtToKeyX( uint keyCombQt, unsigned char *pKeyCodeX, uint *pKeySymX, uint *pKeyModX ); -}; - -#endif // !_KKEYSERVER_X11_H diff --git a/python/pykde/extra/kde313/konsole_part.h b/python/pykde/extra/kde313/konsole_part.h deleted file mode 100644 index 6aba7064..00000000 --- a/python/pykde/extra/kde313/konsole_part.h +++ /dev/null @@ -1,223 +0,0 @@ -/* - This file is part of the KDE system - Copyright (C) 1999,2000 Boloni Laszlo - - This program is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. - */ - -#ifndef __KONSOLE_PART_H__ -#define __KONSOLE_PART_H__ - -#include -#include - - -#include - -#include - -//#include "schema.h" -//#include "session.h" - -class KInstance; -class konsoleBrowserExtension; -class TQPushButton; -class TQSpinBox; -class KPopupMenu; -class TQCheckBox; -class KRootPixmap; -class KToggleAction; -class KSelectAction; - -namespace KParts { class GUIActivateEvent; } - -class konsoleFactory : public KParts::Factory -{ - Q_OBJECT -public: - konsoleFactory(); - virtual ~konsoleFactory(); - - virtual KParts::Part* createPartObject(TQWidget *parentWidget = 0, const char *widgetName = 0, - TQObject* parent = 0, const char* name = 0, - const char* classname = "KParts::Part", - const TQStringList &args = TQStringList()); - - static KInstance *instance(); - - private: - static KInstance *s_instance; - static KAboutData *s_aboutData; -}; - -////////////////////////////////////////////////////////////////////// - -class konsolePart: public KParts::ReadOnlyPart, public TerminalInterface -{ - Q_OBJECT - public: - konsolePart(TQWidget *parentWidget, const char *widgetName, TQObject * parent, const char *name, const char *classname = 0); - virtual ~konsolePart(); - -signals: - void processExited(); - void receivedData( const TQString& s ); - protected: - virtual bool openURL( const KURL & url ); - virtual bool openFile() {return false;} // never used - virtual bool closeURL() {return true;} - virtual void guiActivateEvent( KParts::GUIActivateEvent * event ); - - protected slots: - void showShell(); - void slotProcessExited(); - void slotReceivedData( const TQString& s ); - -// void doneSession(TESession*); - void sessionDestroyed(); -// void configureRequest(TEWidget*,int,int x,int y); - void updateTitle(); - void enableMasterModeConnections(); - - private slots: - void emitOpenURLRequest(const TQString &url); - - void readProperties(); - void saveProperties(); - - void sendSignal(int n); - void closeCurrentSession(); - - void notifySize(int,int); - - void slotToggleFrame(); - void slotSelectScrollbar(); - void slotSelectFont(); - void schema_menu_check(); - void keytab_menu_activated(int item); - void updateSchemaMenu(); - void setSchema(int n); - void pixmap_menu_activated(int item); - void schema_menu_activated(int item); - void slotHistoryType(); - void slotSelectBell(); - void slotSelectLineSpacing(); - void slotBlinkingCursor(); - void slotWordSeps(); - void fontNotFound(); - - private: - konsoleBrowserExtension *m_extension; - KURL currentURL; - - void makeGUI(); - void applySettingsToGUI(); - - void setFont(int fontno); -// void setSchema(ColorSchema* s); - void updateKeytabMenu(); - - bool doOpenStream( const TQString& ); - bool doWriteStream( const TQByteArray& ); - bool doCloseStream(); - - TQWidget* parentWidget; -// TEWidget* te; -// TESession* se; -// ColorSchemaList* colors; - KRootPixmap* rootxpm; - - KToggleAction* blinkingCursor; - KToggleAction* showFrame; - - KSelectAction* selectBell; - KSelectAction* selectFont; - KSelectAction* selectLineSpacing; - KSelectAction* selectScrollbar; - - KPopupMenu* m_keytab; - KPopupMenu* m_schema; - KPopupMenu* m_signals; - KPopupMenu* m_options; - KPopupMenu* m_popupMenu; - - TQFont defaultFont; - - TQString pmPath; // pixmap path - TQString s_schema; - TQString s_kconfigSchema; - TQString s_word_seps; // characters that are considered part of a word - TQString fontNotFound_par; - - bool b_framevis:1; - bool b_histEnabled:1; - - int curr_schema; // current schema no - int n_bell; - int n_font; - int n_keytab; - int n_render; - int n_scroll; - unsigned m_histSize; - bool m_runningShell; - bool m_streamEnabled; -public: - // these are the implementations for the TermEmuInterface - // functions... - void startProgram( const TQString& program, - const TQStrList& args ); - void showShellInDir( const TQString& dir ); - void sendInput( const TQString& text ); -}; - -////////////////////////////////////////////////////////////////////// - -/*class HistoryTypeDialog : public KDialogBase -{ - Q_OBJECT -public: - HistoryTypeDialog(const HistoryType& histType, - unsigned int histSize, - TQWidget *parent); - -public slots: - void slotDefault(); - void slotSetUnlimited(); - void slotHistEnable(bool); - - unsigned int nbLines() const; - bool isOn() const; - -protected: - TQCheckBox* m_btnEnable; - TQSpinBox* m_size; - TQPushButton* m_setUnlimited; -};*/ - -////////////////////////////////////////////////////////////////////// - -class konsoleBrowserExtension : public KParts::BrowserExtension -{ - Q_OBJECT - friend class konsolePart; - public: - konsoleBrowserExtension(konsolePart *parent); - virtual ~konsoleBrowserExtension(); - - void emitOpenURLRequest(const KURL &url); -}; - -#endif diff --git a/python/pykde/extra/kde313/kpanelmenu.h b/python/pykde/extra/kde313/kpanelmenu.h deleted file mode 100644 index 734c5051..00000000 --- a/python/pykde/extra/kde313/kpanelmenu.h +++ /dev/null @@ -1,181 +0,0 @@ -/***************************************************************** - -Copyright (c) 1996-2000 the kicker authors. See file AUTHORS. - (c) 2001 Michael Goffioul - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN -AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - -******************************************************************/ - -#ifndef __KPANELMENU_H__ -#define __KPANELMENU_H__ - -#include -#include -#include - -class KPanelMenuPrivate; - -/** - * Base class to build dynamically loaded menu entries for the K-menu, or the panel. - * - * This class allows to build menu entries that will be dynamically added either to - * the K-menu, or to the panel as a normal button. These dynamic menus are located - * in shared libraries that will be loaded at runtime by Kicker (the KDE panel). - * - * To build such a menu, you have to inherit this class and implement the pure virtual - * functions #initialize() and @ref slotExec(). You also have to provide a factory - * object in your library, see @ref KLibFactory. This factory is only used to construct - * the menu object. - * - * Finally, you also have to provide a desktop file describing your dynamic menu. The - * relevant entries are: Name, Comment, Icon and X-KDE-Library (which contains the - * library name without any extension). This desktop file has to be installed in - * $KDEDIR/share/apps/kicker/menuext/. - * - * @short Base class to build dynamically loaded menu entries for the K-menu, or the panel. - * @author The kicker maintainer, Michael Goffioul - */ -class KPanelMenu : public KPopupMenu -{ - Q_OBJECT - -public: - /** - * Construct a KPanelMenu object. This is the normal constructor to use when - * building extrernal menu entries. - */ - KPanelMenu(TQWidget *parent=0, const char *name=0); - /** - * Constructor used internally by Kicker. You don't really want to use it. - * @param startDir a directory to associate with this menu - * @see path(), setPath() - */ - KPanelMenu(const TQString &startDir, TQWidget *parent=0, const char *name=0); - /** - * Destructor. - */ - virtual ~KPanelMenu(); - - /** - * Get the directory path associated with this menu, or TQString::null if - * there's no such associated path. - * @return the associated directory path - * @see setPath() - */ - const TQString& path() const; - /** - * Set a directory path to be associated with this menu. - * @param p the directory path - * @see path() - */ - void setPath(const TQString &p); - /** - * Tell if the menu has been initialized, that is it already contains items. - * This is useful when you need to know if you have to clear the menu, or to - * fill it. - * @return the initial state - * @see setInitialized(), initialize() - */ - bool initialized() const; - /** - * Set the initial state. Set it to true when you menu is filled with the items - * you want. - * @param on the initial state - * @see initialized(), initialize() - */ - void setInitialized(bool on); - - /** - * Disable the automatic clearing of the menu. Kicker uses a cache system for - * its menus. After a specific configurable delay, the menu will be cleared. - * Use this function if you want to disable kicker's cache system, and avoid - * the clearing of your menu. - */ - void disableAutoClear(); - -public slots: - /** - * Reinitialize the menu: the menu is first cleared, the initial state is set - * to false, and finally #initialize() is called. Use this if you want to - * refill your menu immediately. - */ - void reinitialize(); - /** - * Deinitialize the menu: the menu is cleared and the initialized state is set to - * false. #initialize() is NOT called. It will be called before the menu is - * next shown, however. Use this slot if you want a delayed reinitialization. - * @since 3.1 - */ - void deinitialize(); - -protected slots: - /** - * This slot is called just before the menu is shown. This allows your menu - * to update itself if needed. However you should instead re-implement - * #initialize to provide this feature. This function is responsible for - * the cache system handling, so if you re-implement it, you should call - * the base function also. Calls #initialize(). - * @see disableAutoClear() - */ - virtual void slotAboutToShow(); - /** - * This is slot is called when an item from the menu has been selected. Your - * applet is then supposed to perform some action. You must re-implement this - * function. - * @param id the ID associated with the selected item - */ - virtual void slotExec(int id) = 0; - /** - * This slots is called to initialize the menu. It is called automatically by - * @ref slotAboutToShow(). By re-implementing this functions, you can reconstruct - * the menu before it is being shown. At the end of this function, you should - * call @ref setInitialize() with true to tell the system that the menu is OK. - * You applet must re-implement this function. - * @see slotAboutToShow(), initialized(), setInitialized() - */ - virtual void initialize() = 0; - /** - * Clears the menu, and update the initial state accordingly. - * @see initialized() - */ - void slotClear(); - -protected: - /** - * Re-implemented for internal reasons. - */ - virtual void hideEvent(TQHideEvent *ev); - /** - * For internal use only. Used by constructors. - */ - void init(const TQString& path = TQString::null); - -protected: - virtual void virtual_hook( int id, void* data ); -private: - void internalInitialize(); - KPanelMenuPrivate *d; -}; - -//#define K_EXPORT_KICKER_MENUEXT( libname, classname ) \ -// K_EXPORT_COMPONENT_FACTORY( \ -// kickermenu_##libname, \ -// KGenericFactory("libkickermenu_" #libname) ) - -#endif diff --git a/python/pykde/extra/kde313/krecentdirs.h b/python/pykde/extra/kde313/krecentdirs.h deleted file mode 100644 index 61a50706..00000000 --- a/python/pykde/extra/kde313/krecentdirs.h +++ /dev/null @@ -1,68 +0,0 @@ -/* -*- c++ -*- - * Copyright (C)2000 Waldo Bastian - * - * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * - * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND - * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE - * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS - * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) - * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT - * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY - * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF - * SUCH DAMAGE. - * - */ -#ifndef __KRECENTDIRS_H -#define __KRECENTDIRS_H - -#include - -/** - * The goal of this class is to make sure that, when the user needs to - * specify a file via the file selection dialog, this dialog will start - * in the directory most likely to contain the desired files. - * - * This works as follows: Each time the file selection dialog is - * shown, the programmer can specify a "file-class". The file-dialog will - * then start with the directory associated with this file-class. When - * the dialog closes, the directory currently shown in the file-dialog - * will be associated with the file-class. - * - * A file-class can either start with ':' or with '::'. If it starts with - * a single ':' the file-class is specific to the current application. - * If the file-class starts with '::' it is global to all applications. - */ -class KRecentDirs -{ -public: - /** - * Returns a list of directories associated with this file-class. - * The most recently used directory is at the front of the list. - */ - static TQStringList list(const TQString &fileClass); - - /** - * Returns the most recently used directory accociated with this file-class. - */ - static TQString dir(const TQString &fileClass); - - /** - * Associates @p directory with @p fileClass - */ - static void add(const TQString &fileClass, const TQString &directory); -}; - -#endif diff --git a/python/pykde/extra/kde313/ksycocafactory.h b/python/pykde/extra/kde313/ksycocafactory.h deleted file mode 100644 index 1959edda..00000000 --- a/python/pykde/extra/kde313/ksycocafactory.h +++ /dev/null @@ -1,137 +0,0 @@ -/* This file is part of the KDE libraries - * Copyright (C) 1999 Waldo Bastian - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License version 2 as published by the Free Software Foundation; - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public License - * along with this library; see the file COPYING.LIB. If not, write to - * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - * Boston, MA 02110-1301, USA. - **/ - -#ifndef __ksycocafactory_h__ -#define __ksycocafactory_h__ "$Id: ksycocafactory.h,v 1.13 2002/09/21 15:07:27 tjansen Exp $" - -#include "ksycocatype.h" -#include "ksycocaentry.h" - -#include -#include -class KSycoca; -class TQStringList; -class TQString; -class KSycocaDict; -class KSycocaResourceList; - -typedef TQDict KSycocaEntryDict; - -/** - * @internal - * Base class for sycoca factories - */ -class KSycocaFactory -{ -public: - virtual KSycocaFactoryId factoryId() const = 0; - -protected: // virtual class - /** - * Create a factory which can be used to lookup from/create a database - * (depending on KSycoca::isBuilding()) - */ - KSycocaFactory( KSycocaFactoryId factory_id ); - -public: - virtual ~KSycocaFactory(); - - /** - * @return the position of the factory in the sycoca file - */ - int offset() { return mOffset; } - - /** - * @return the dict, for special use by KBuildSycoca - */ - KSycocaEntryDict * entryDict() { return m_entryDict; } - - /** - * Construct an entry from a config file. - * To be implemented in the real factories. - */ - virtual KSycocaEntry *createEntry(const TQString &file, const char *resource) = 0; - - /** - * Add an entry - */ - virtual void addEntry(KSycocaEntry *newEntry, const char *resource); - - /** - * Read an entry from the database - */ - virtual KSycocaEntry *createEntry(int offset)=0; - - /** - * Get a list of all entries from the database. - */ - KSycocaEntry::List allEntries(); - - /** - * Saves all entries it maintains as well as index files - * for these entries to the stream 'str'. - * - * Also sets mOffset to the starting position. - * - * The stream is positioned at the end of the last index. - * - * Don't forget to call the parent first when you override - * this function. - */ - virtual void save(TQDataStream &str); - - /** - * Writes out a header to the stream 'str'. - * The baseclass positions the stream correctly. - * - * Don't forget to call the parent first when you override - * this function. - */ - virtual void saveHeader(TQDataStream &str); - - /** - * @return the resources for which this factory is responsible. - */ - virtual const KSycocaResourceList * resourceList() const { return m_resourceList; } - -private: - int mOffset; - -protected: - int m_sycocaDictOffset; - int m_beginEntryOffset; - int m_endEntryOffset; - TQDataStream *m_str; - - KSycocaResourceList *m_resourceList; - KSycocaEntryDict *m_entryDict; - KSycocaDict *m_sycocaDict; -protected: - virtual void virtual_hook( int id, void* data ); -}; - -/** This, instead of a typedef, allows to declare "class ..." in header files - * @internal - */ -class KSycocaFactoryList : public TQPtrList -{ -public: - KSycocaFactoryList() { } -}; - -#endif diff --git a/python/pykde/extra/kde313/ktoolbarbutton.h b/python/pykde/extra/kde313/ktoolbarbutton.h deleted file mode 100644 index 6fafb1ed..00000000 --- a/python/pykde/extra/kde313/ktoolbarbutton.h +++ /dev/null @@ -1,317 +0,0 @@ -/* This file is part of the KDE libraries - Copyright (C) 1997, 1998 Stephan Kulow (coolo@kde.org) - (C) 1997, 1998 Sven Radej (radej@kde.org) - (C) 1997, 1998 Mark Donohoe (donohoe@kde.org) - (C) 1997, 1998 Matthias Ettrich (ettrich@kde.org) - (C) 2000 Kurt Granroth (granroth@kde.org) - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License version 2 as published by the Free Software Foundation. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. -*/ - -// $Id: ktoolbarbutton.h,v 1.26 2002/09/28 15:16:22 tjansen Exp $ -#ifndef _KTOOLBARBUTTON_H -#define _KTOOLBARBUTTON_H - -#include -#include -#include -#include -#include - -class KToolBar; -class KToolBarButtonPrivate; -class KInstance; -class TQEvent; -class TQPopupMenu; -class TQPainter; - -/** - * A toolbar button. This is used internally by @ref KToolBar, use the - * KToolBar methods instead. - * @internal - */ -class KToolBarButton : public QToolButton -{ - Q_OBJECT - -public: - /** - * Construct a button with an icon loaded by the button itself. - * This will trust the button to load the correct icon with the - * correct size. - * - * @param icon Name of icon to load (may be absolute or relative) - * @param id Id of this button - * @param parent This button's parent - * @param name This button's internal name - * @param txt This button's text (in a tooltip or otherwise) - */ - KToolBarButton(const TQString& icon, int id, TQWidget *parent, - const char *name=0L, const TQString &txt=TQString::null, - KInstance *_instance = KGlobal::instance()); - - /** - * Construct a button with an existing pixmap. It is not - * recommended that you use this as the internal icon loading code - * will almost always get it "right". - * - * @param icon Name of icon to load (may be absolute or relative) - * @param id Id of this button - * @param parent This button's parent - * @param name This button's internal name - * @param txt This button's text (in a tooltip or otherwise) - */ - KToolBarButton(const TQPixmap& pixmap, int id, TQWidget *parent, - const char *name=0L, const TQString &txt=TQString::null); - - /** - * Construct a separator button - * - * @param parent This button's parent - * @param name This button's internal name - */ - KToolBarButton(TQWidget *parent=0L, const char *name=0L); - - /** - * Standard destructor - */ - ~KToolBarButton(); - -#ifndef KDE_NO_COMPAT - /** - * @deprecated - * Set the pixmap directly for this button. This pixmap should be - * the active one... the dimmed and disabled pixmaps are constructed - * based on this one. However, don't use this function unless you - * are positive that you don't want to use @ref setIcon. - * - * @param pixmap The active pixmap - */ - // this one is from TQButton, so #ifdef-ing it out doesn't break BC - virtual void setPixmap(const TQPixmap &pixmap); - - /** - * @deprecated - * Force the button to use this pixmap as the default one rather - * then generating it using effects. - * - * @param pixmap The pixmap to use as the default (normal) one - */ - void setDefaultPixmap(const TQPixmap& pixmap); - - /** - * @deprecated - * Force the button to use this pixmap when disabled one rather then - * generating it using effects. - * - * @param pixmap The pixmap to use when disabled - */ - void setDisabledPixmap(const TQPixmap& pixmap); -#endif - - /** - * Set the text for this button. The text will be either used as a - * tooltip (IconOnly) or will be along side the icon - * - * @param text The button (or tooltip) text - */ - virtual void setText(const TQString &text); - - /** - * Set the icon for this button. The icon will be loaded internally - * with the correct size. This function is preferred over @ref setIconSet - * - * @param icon The name of the icon - */ - virtual void setIcon(const TQString &icon); - - /// @since 3.1 - virtual void setIcon( const TQPixmap &pixmap ) - { TQToolButton::setIcon( pixmap ); } - - /** - * Set the pixmaps for this toolbar button from a TQIconSet. - * If you call this you don't need to call any of the other methods - * that set icons or pixmaps. - * @param iconset The iconset to use - */ - virtual void setIconSet( const TQIconSet &iconset ); - -#ifndef KDE_NO_COMPAT - /** - * @deprecated - * Set the active icon for this button. The pixmap itself is loaded - * internally based on the icon size... .. the disabled and default - * pixmaps, however will only be constructed if @ref #generate is - * true. This function is preferred over @ref setPixmap - * - * @param icon The name of the active icon - * @param generate If true, then the other icons are automagically - * generated from this one - */ - void setIcon(const TQString &icon, bool /*generate*/ ) { setIcon( icon ); } - - /** - * @deprecated - * Force the button to use this icon as the default one rather - * then generating it using effects. - * - * @param icon The icon to use as the default (normal) one - */ - void setDefaultIcon(const TQString& icon); - - /** - * @deprecated - * Force the button to use this icon when disabled one rather then - * generating it using effects. - * - * @param icon The icon to use when disabled - */ - void setDisabledIcon(const TQString& icon); -#endif - - /** - * Turn this button on or off - * - * @param flag true or false - */ - void on(bool flag = true); - - /** - * Toggle this button - */ - void toggle(); - - /** - * Turn this button into a toggle button or disable the toggle - * aspects of it. This does not toggle the button itself. - * Use @ref toggle() for that. - * - * @param toggle true or false - */ - void setToggle(bool toggle = true); - - /** - * Return a pointer to this button's popup menu (if it exists) - */ - TQPopupMenu *popup(); - - /** - * Give this button a popup menu. There will not be a delay when - * you press the button. Use @ref setDelayedPopup if you want that - * behavior. You can also make the popup-menu - * "sticky", i.e. visible until a selection is made or the mouse is - * clikced elsewhere, by simply setting the second argument to true. - * This "sticky" button feature allows you to make a selection without - * having to press and hold down the mouse while making a selection. - * - * @param p The new popup menu - * @param toggle if true, makes the button "sticky" (toggled) - */ - void setPopup (TQPopupMenu *p, bool toggle = false); - - /** - * Gives this button a delayed popup menu. - * - * This function allows you to add a delayed popup menu to the button. - * The popup menu is then only displayed when the button is pressed and - * held down for about half a second. You can also make the popup-menu - * "sticky", i.e. visible until a selection is made or the mouse is - * clikced elsewhere, by simply setting the second argument to true. - * This "sticky" button feature allows you to make a selection without - * having to press and hold down the mouse while making a selection. - * - * @param p the new popup menu - * @param toggle if true, makes the button "sticky" (toggled) - */ - void setDelayedPopup(TQPopupMenu *p, bool toggle = false); - - /** - * Turn this button into a radio button - * - * @param f true or false - */ - void setRadio(bool f = true); - - /** - * Toolbar buttons naturally will assume the global styles - * concerning icons, icons sizes, etc. You can use this function to - * explicitely turn this off, if you like. - * - * @param no_style Will disable styles if true - */ - void setNoStyle(bool no_style = true); - -signals: - void clicked(int); - void doubleClicked(int); - void pressed(int); - void released(int); - void toggled(int); - void highlighted(int, bool); - -public slots: - /** - * This slot should be called whenever the toolbar mode has - * potentially changed. This includes such events as text changing, - * orientation changing, etc. - */ - void modeChange(); - virtual void setTextLabel(const TQString&, bool tipToo); - -protected: - void paletteChange(const TQPalette &); - void leaveEvent(TQEvent *e); - void enterEvent(TQEvent *e); - void drawButton(TQPainter *p); - bool eventFilter (TQObject *o, TQEvent *e); - void showMenu(); - TQSize sizeHint() const; - TQSize minimumSizeHint() const; - TQSize minimumSize() const; - - /// @since 3.1 - bool isRaised() const; - /// @since 3.1 - bool isActive() const; - /// @since 3.1 - int iconTextMode() const; - -protected slots: - void slotClicked(); - void slotPressed(); - void slotReleased(); - void slotToggled(); - void slotDelayTimeout(); - -protected: - virtual void virtual_hook( int id, void* data ); -private: - KToolBarButtonPrivate *d; -}; - -/** -* List of @ref KToolBarButton objects. -* @internal -* @version $Id: ktoolbarbutton.h,v 1.26 2002/09/28 15:16:22 tjansen Exp $ -*/ -class KToolBarButtonList : public TQIntDict -{ -public: - KToolBarButtonList(); - ~KToolBarButtonList() {} -}; - -#endif diff --git a/python/pykde/extra/kde313/kurifilter.h b/python/pykde/extra/kde313/kurifilter.h deleted file mode 100644 index 6daf7769..00000000 --- a/python/pykde/extra/kde313/kurifilter.h +++ /dev/null @@ -1,602 +0,0 @@ -/* - * This file is part of the KDE libraries - * Copyright (C) 2000 Yves Arrouye - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public License - * along with this library; see the file COPYING.LIB. If not, write to - * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - * Boston, MA 02110-1301, USA. - **/ - -#ifndef __kurifilter_h__ -#define __kurifilter_h__ "$Id: kurifilter.h,v 1.27 2002/10/30 09:37:39 neil Exp $" - -#include -#include - -#include - -class KURIFilterPrivate; -class KURIFilterDataPrivate; - -class TQStringList; -class KCModule; - -/** -* This is a basic message object used for exchanging filtering -* information between the filter plugins and the application -* whenever the application requires more information about the -* URI than just a filtered version of it. Any application can -* create an instance of this class and send it to @ref KURIFilter -* to have the filter plugins fill the necessary information. -* -* @sect Example -*
-*   TQString text = "kde.org";
-*   KURIFilterData d = text;
-*   bool filtered = KURIFilter::self()->filter( d );
-*   if( filtered )
-*     print ( "URI: %s\n"Filtered URI: %s\n URI Type: %i\n"Was Filtered: %i"
-*             text.latin1(), d.uri().url().latin1(), d.uriType(), filtered );
-* 
-* -* The above code should yield the following output: -*
-*   URI: kde.org
-*   Filtered URI: http://kde.org
-*   URI Type: 0            <== means NET_PROTOCOL
-*   Was Filtered: 1        <== means the URL was successfully filtered
-* 
-* -* @short A message object for exchanging filtering URI info. -*/ - -class KURIFilterData -{ -friend class KURIFilterPlugin; - -public: - /** - * Describes the type of URI to be filtered. - * - * This enumerator prvoides the return value for - * @ref uriType. A brief description for each value: - * - * @li NET_PROTOCOL - Any network protocol: http, ftp, nttp, pop3, etc... - * @li LOCAL_FILE - A local file whose executable flag is not set - * @li LOCAL_DIR - A local directory - * @li EXECUTABLE - A local file whose executable flag is set - * @li HELP - A man or info page - * @li SHELL - A shell executable (ex: echo "Test..." >> ~/testfile) - * @li BLOCKED - A URI that should be blocked/filtered (ex: ad filtering) - * @li ERROR - An incorrect URI (ex: "~johndoe" when user johndoe - * does not exist in that system ) - * @li UNKNOWN - A URI that is not identified. Default value when - * a KURIFilterData is first created. - */ - enum URITypes { NET_PROTOCOL=0, LOCAL_FILE, LOCAL_DIR, EXECUTABLE, HELP, SHELL, BLOCKED, ERROR, UNKNOWN }; - - /** - * Default constructor. - * - * Creates a URIFilterData object. - */ - KURIFilterData() { init(); } - - /** - * Creates a URIFilterData object from the given URL. - * - * @param url is the URL to be filtered. - */ - KURIFilterData( const KURL& url ) { init( url); } - - /** - * Creates a URIFilterData object from the given string. - * - * @param url is the string to be filtered. - */ - KURIFilterData( const TQString& url ) { init( url ); } - - /** - * Copy constructor. - * - * Creates a URIFilterData object from another - * URI filter data object. - * - * @param data the uri filter data to be copied. - */ - KURIFilterData( const KURIFilterData& /*data*/); - - /** - * Destructor. - */ - ~KURIFilterData(); - - /** - * This method has been deprecated and will always return - * TRUE. You should instead use the result from the - * @ref KURIFilter::filterURI() calls. - * - * @deprecated - */ - bool hasBeenFiltered() const { return m_bFiltered; } - - /** - * Returns the filtered or the original URL. - * - * This function returns the filtered url if one - * of the plugins sucessfully filtered the original - * URL. Otherwise, it returns the original URL. - * See @ref #hasBeenFiltered() and - * - * @return the filtered or original url. - */ - KURL uri() const { return m_pURI; } - - /** - * Returns an error message. - * - * This functions returns the error message set - * by the plugin whenever the uri type is set to - * KURIFilterData::ERROR. Otherwise, it returns - * a TQString::null. - * - * @return the error message or a NULL when there is none. - */ - TQString errorMsg() const { return m_strErrMsg; } - - /** - * Returns the URI type. - * - * This method always returns KURIFilterData::UNKNOWN - * if the given URL was not filtered. - */ - URITypes uriType() const { return m_iType; } - - /** - * Sets the URL to be filtered. - * - * Use this function to set the string to be - * filtered when you construct an empty filter - * object. - * - * @param url the string to be filtered. - */ - void setData( const TQString& url ) { init( url ); } - - /** - * Same as above except the argument is a URL. - * - * Use this function to set the string to be - * filtered when you construct an empty filter - * object. - * - * @param url the URL to be filtered. - */ - void setData( const KURL& url ) { init( url ); } - - /** - * Sets the absolute path to be used whenever the supplied - * data is a relative local URL. - * - * NOTE: This function works only for a local resource and - * expects the absolute path to the relative URL set in this - * meta object. If you are extracting the absolute path from - * a KURL object, make sure you always set the argument below - * using KURL::path() instead of KURL::url() so that "file:/" - * would not be appended! Otherwise, the filter might not be - * able to make correct determination whether the relative URL - * locally exists! - * - * @param abs_path the abolute path to the local resource. - * @return true if absolute path is successfully set. Otherwise, false. - */ - bool setAbsolutePath( const TQString& /* abs_path */ ); - - /** - * Returns the absolute path if one has already been set. - */ - TQString absolutePath() const; - - /** - * Returns true if the supplied data has an absolute path. - */ - bool hasAbsolutePath() const; - - /** - * Returns the command line options and arguments for a - * local resource when present. - * - * @return options and arguments when present, otherwise TQString::null - */ - TQString argsAndOptions() const; - - /** - * Returns true if the current data is a local resource with - * command line options and arguments. - */ - bool hasArgsAndOptions() const; - - /** - * Returns the name of the icon that matches - * the current filtered URL. - * - * NOTE that this function will return a NULL - * string by default and when no associated icon - * is found. - * - * @return the name of the icon associated with the resource - */ - TQString iconName(); - - /** - * Overloaded assigenment operator. - * - * This function allows you to easily assign a KURL - * to a KURIFilterData object. - * - * @return an instance of a KURIFilterData object. - */ - KURIFilterData& operator=( const KURL& url ) { init( url ); return *this; } - - /** - * Overloaded assigenment operator. - * - * This function allows you to easily assign a QString - * to a KURIFilterData object. - * - * @return an instance of a KURIFilterData object. - */ - KURIFilterData& operator=( const TQString& url ) { init( url ); return *this; } - -protected: - - /** - * Initializes the KURIFilterData on construction. - */ - void init( const KURL& url = TQString::null ); - -private: - bool m_bFiltered; - bool m_bChanged; - - TQString m_strErrMsg; - TQString m_strIconName; - - KURL m_pURI; - URITypes m_iType; - KURIFilterDataPrivate *d; -}; - - -/** - * Base class for URI filter plugins. - * - * This class applies a single filter to a URI. All - * plugins designed to provide URI filtering functionalities - * should inherit from this abstract class and provide a - * specific filtering implementation. - * - * All inheriting classes need to implement the pure - * virtual function @ref filterURI. Otherwise, they - * would also become abstract. - * - * @short Abstract class for URI filter plugins. - */ -class KURIFilterPlugin : public QObject -{ - Q_OBJECT - -public: - - /** - * Constructs a filter plugin with a given name and - * priority. - * - * @param parent the parent object. - * @param name the name of the plugin. - * @param pri the priority of the plugin. - */ - KURIFilterPlugin( TQObject *parent = 0, const char *name = 0, double pri = 1.0 ); - - /** - * Returns the filter's name. - * - * @return A string naming the filter. - */ - virtual TQString name() const { return m_strName; } - - /** - * Returns the filter's priority. - * - * Each filter has an assigned priority, a float from 0 to 1. Filters - * with the lowest priority are first given a chance to filter a URI. - * - * @return The priority of the filter. - */ - virtual double priority() const { return m_dblPriority; } - - /** - * Filters a URI. - * - * @param data the URI data to be filtered. - * @return A boolean indicating whether the URI has been changed. - */ - virtual bool filterURI( KURIFilterData& data ) const = 0; - - /** - * Creates a configuration module for the filter. - * - * It is the responsability of the caller to delete the module - * once it is not needed anymore. - * - * @return A configuration module, @p null if the filter isn't configurable. - */ - virtual KCModule *configModule( TQWidget*, const char* ) const { return 0; } - - /** - * Returns the name of the configuration module for the filter. - * - * @return the name of a configuration module or @p null if none. - */ - virtual TQString configName() const { return name(); } - -protected: - - /** - * Sets the the URL in @p data to @p uri. - */ - void setFilteredURI ( KURIFilterData& data, const KURL& uri ) const; - - /** - * Sets the error message in @p data to @p errormsg. - */ - void setErrorMsg ( KURIFilterData& data, const TQString& errmsg ) const { - data.m_strErrMsg = errmsg; - } - - /** - * Sets the URI type in @p data to @p type. - */ - void setURIType ( KURIFilterData& data, KURIFilterData::URITypes type) const { - data.m_iType = type; - data.m_bChanged = true; - } - - /** - * Sets the arguments and options string in @p data - * to @p args if any were found during filterting. - */ - void setArguments( KURIFilterData& data, const TQString& args ) const; - - TQString m_strName; - double m_dblPriority; - -protected: - virtual void virtual_hook( int id, void* data ); -private: - class KURIFilterPluginPrivate *d; -}; - - -class KURIFilterPluginList : public TQPtrList -{ -public: - virtual int compareItems(Item a, Item b) - { - double diff = ((KURIFilterPlugin *) a)->priority() - ((KURIFilterPlugin *) b)->priority(); - return diff < 0 ? -1 : (diff > 0 ? 1 : 0); - } - -private: - KURIFilterPrivate *d; - -}; - -/** - * Manages the filtering of a URI. - * - * The intention of this plugin class is to allow people to extend - * the functionality of KURL without modifying it directly. This - * way KURL will remain a generic parser capable of parsing any - * generic URL that adheres to specifications. - * - * The KURIFilter class applies a number of filters to a URI, - * and returns the filtered version whenever possible. The filters - * are implemented using plugins to provide easy extensibility - * of the filtering mechanism. That is, new filters can be added in - * the future by simply inheriting from @ref KURIFilterPlugin and - * implementing the @ref KURIFilterPlugin::filterURI method. - * - * Use of this plugin-manager class is straight forward. Since - * it is a singleton object, all you have to do is obtain an instance - * by doing @p KURIFilter::self() and use any of the public member - * functions to preform the filtering. - * - * @sect Example - * - * To simply filter a given string: - *
- * bool filtered = KURIFilter::self()->filterURI( "kde.org" );
- * 
- * - * You can alternatively use a KURL: - *
- * KURL url = "kde.org";
- * bool filtered = KURIFilter::self()->filterURI( url );
- * 
- * - * If you have a constant string or a constant URL, - * simply invoke the corresponding function to obtain - * the filtered string or URL instead of a boolean flag: - *
- * TQString u = KURIFilter::self()->filteredURI( "kde.org" );
- * 
- * - * You can also specify only specific filter(s) to be applied - * by supplying the name(s) of the filter(s). By defualt all - * filters that are found are loaded when the KURIFilter object - * is created will be used. These names are taken from the - * enteries in the \".desktop\" files. Here are a couple of - * examples: - *
- * TQString text = "kde.org";
- * bool filtered = KURIFilter::self()->filterURI( text, "KShortURIFilter" );
- *
- * TQStringList list;
- * list << "KShortURIFilter" << "MyFilter";
- * bool filtered = KURIFilter::self()->filterURI( text, list );
- * 
- * - * KURIFilter also allows richer data exchange through a simple - * meta-object called @p KURIFilterData. Using this meta-object - * you can find out more information about the URL you want to - * filter. See @ref KURIFilterData for examples and details. - * - * @short Filters a given URL into its proper format whenever possible. - */ - -class KURIFilter -{ -public: - /** - * Destructor - */ - ~KURIFilter (); - - /** - * Return a static instance of KURIFilter. - */ - static KURIFilter* self(); - - /** - * Filters the URI given by the object URIFilterData. - * - * This filters the given data based on the specified - * filter list. If the list is empty all avaliable - * filter plugins would be used. If not, only those - * given in the list are used. - * - * @param data object that contains the URI to be filtered. - * @param filters specify the list filters to be used - * - * @return a boolean indicating whether the URI has been changed - */ - bool filterURI( KURIFilterData& data, const TQStringList& filters = TQStringList() ); - - /** - * Filters the URI given by the URL. - * - * This filters the given URL based on the specified - * filter list. If the list is empty all avaliable - * filter plugins would be used. If not, only those - * given in the list are used. - * - * @param uri the URI to filter. - * @param filters specify the list of filters to be used - * - * @return a boolean indicating whether the URI has been changed - */ - bool filterURI( KURL &uri, const TQStringList& filters = TQStringList() ); - - /** - * Filters a string representing a URI. - * - * This filters the given string based on the specified - * filter list. If the list is empty all avaliable - * filter plugins would be used. If not, only those - * given in the list are used. - * - * @param uri The URI to filter. - * @param filters specify the list filters to be used - * - * @return a boolean indicating whether the URI has been changed - */ - bool filterURI( TQString &uri, const TQStringList& filters = TQStringList() ); - - /** - * Returns the filtered URI. - * - * This filters the given URL based on the specified - * filter list. If the list is empty all avaliable - * filter plugins would be used. If not, only those - * given in the list are used. - * - * @param uri The URI to filter. - * @param filters specify the list filters to be used - * - * @return the filtered URI or null if it cannot be filtered - */ - KURL filteredURI( const KURL &uri, const TQStringList& filters = TQStringList() ); - - /** - * Return a filtered string representation of a URI. - * - * This filters the given URL based on the specified - * filter list. If the list is empty all avaliable - * filter plugins would be used. If not, only those - * given in the list are used. - * - * @param uri the URI to filter. - * @param filters specify the list filters to be used - * - * @return the filtered URI or null if it cannot be filtered - */ - TQString filteredURI( const TQString &uri, const TQStringList& filters = TQStringList() ); - - /** - * Return an iterator to iterate over all loaded - * plugins. - * - * @return a plugin iterator. - */ - TQPtrListIterator pluginsIterator() const; - - /** - * Return a list of the names of all loaded plugins - * - * @since 3.1 - * - * @return a TQStringList of plugin names - */ - TQStringList pluginNames() const; - -protected: - - /** - * A protected constructor. - * - * This constructor creates a KURIFilter and - * initializes all plugins it can find by invoking - * @ref loadPlugins. - */ - KURIFilter(); - - /** - * Loads all allowed plugins. - * - * This function loads all filters that have not - * been dis - */ - void loadPlugins(); - -private: - - static KURIFilter *m_self; - KURIFilterPluginList m_lstPlugins; - KURIFilterPrivate *d; - -}; - -#endif - diff --git a/python/pykde/extra/kde314/kaccelaction.h b/python/pykde/extra/kde314/kaccelaction.h deleted file mode 100644 index 8e422505..00000000 --- a/python/pykde/extra/kde314/kaccelaction.h +++ /dev/null @@ -1,564 +0,0 @@ -/* This file is part of the KDE libraries - Copyright (C) 2001,2002 Ellis Whitehead - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. -*/ - -#ifndef _KACCELACTION_H -#define _KACCELACTION_H - -#include -#include -#include -#include - -#include - -class KAccelBase; - -class TQObject; -class KConfig; -class KConfigBase; - -/** - * @internal - * A KAccelAction prepresents an action that can be executed using - * an accelerator key. Each KAccelAction has a name, a label, a - * "What's this" string and a @ref KShortcut. The user can configure and - * enable/disable them using @ref KKeyDialog. - * - *
- *	1) KAccelAction = "Run Command"
- *		Default3 = "Alt+F2"
- *		Default4 = "Meta+Enter;Alt+F2"
- *		1) KShortcut = "Meta+Enter"
- *			1) KKeySequence = "Meta+Enter"
- *				1) KKey = "Meta+Enter"
- *					1) Meta+Enter
- *					2) Meta+Keypad_Enter
- *		2) KShortcut = "Alt+F2"
- *			1) KKeySequence = "Alt+F2"
- *				1) Alt+F2
- *	2) KAccelAction = "Something"
- *		Default3 = ""
- *		Default4 = ""
- *		1) KShortcut = "Meta+X,Asterisk"
- *			1) KKeySequence = "Meta+X,Asterisk"
- *				1) KKey = "Meta+X"
- *					1) Meta+X
- *				2) KKey = "Asterisk"
- *					1) Shift+8 (English layout)
- *					2) Keypad_Asterisk
- * 
- * @short An accelerator action - * @see KAccel - * @see KGlobalAccel - * @see KKeyChooser - * @see KKeyDialog - */ -class KAccelAction -{ - public: - /** - * Creates an empty KAccelAction. - * @see clear() - */ - KAccelAction(); - - /** - * Copy constructor. - */ - KAccelAction( const KAccelAction& ); - - /** - * Creates a new KAccelAction. - * @param sName the name of the accelerator - * @param sLabel the label of the accelerator (i18n!) - * @param sWhatsThis the What's This text (18n!) - * @param cutDef3 the default shortcut for 3 modifier systems - * @param cutDef4 the default shortcut for 4 modifier systems - * @param pObjSlot the receiver of a signal when the key has been - * pressed - * @param psMethodSlot the slot to connect for key presses. Receives - * an int, as set by @ref setID(), as only argument - * @param bConfigurable if true the user can configure the shortcut - * @param bEnabled true if the accelerator should be enabled - */ - KAccelAction( const TQString& sName, const TQString& sLabel, const TQString& sWhatsThis, - const KShortcut& cutDef3, const KShortcut& cutDef4, - const TQObject* pObjSlot, const char* psMethodSlot, - bool bConfigurable, bool bEnabled ); - ~KAccelAction(); - - /** - * Clears the accelerator. - */ - void clear(); - - /** - * Re-initialized the KAccelAction. - * @param sName the name of the accelerator - * @param sLabel the label of the accelerator (i18n!) - * @param sWhatsThis the What's This text (18n!) - * @param cutDef3 the default shortcut for 3 modifier systems - * @param cutDef4 the default shortcut for 4 modifier systems - * @param pObjSlot the receiver of a signal when the key has been - * pressed - * @param psMethodSlot the slot to connect for key presses. Receives - * an int, as set by @ref setID(), as only argument - * @param bConfigurable if true the user can configure the shortcut - * @param bEnabled true if the accelerator should be enabled - * @return true if successful, false otherwise - */ - bool init( const TQString& sName, const TQString& sLabel, const TQString& sWhatsThis, - const KShortcut& cutDef3, const KShortcut& cutDef4, - const TQObject* pObjSlot, const char* psMethodSlot, - bool bConfigurable, bool bEnabled ); - - /** - * Copies this KAccelAction. - */ - KAccelAction& operator=( const KAccelAction& ); - - /** - * Returns the name of the accelerator action. - * @return the name of the accelerator action, can be null if not - * set - */ - const TQString& name() const { return m_sName; } - - /** - * Returns the label of the accelerator action. - * @return the label of the accelerator action, can be null if - * not set - */ - const TQString& label() const { return m_sLabel; } - - /** - * Returns the What's This text of the accelerator action. - * @return the What's This text of the accelerator action, can be - * null if not set - */ - const TQString& whatsThis() const { return m_sWhatsThis; } - - /** - * The shortcut that is actually used (may be used configured). - * @return the shortcut of the KAccelAction, can be null if not set - * @see shortcutDefault() - */ - const KShortcut& shortcut() const { return m_cut; } - - /** - * The default shortcut for this system. - * @return the default shortcut on this system, can be null if not set - * @see shortcut() - * @see shortcutDefault3() - * @see shortcutDefault4() - */ - const KShortcut& shortcutDefault() const; - - /** - * The default shortcut for 3 modifier systems. - * @return the default shortcut for 3 modifier systems, can be null - * if not set - * @see shortcutDefault() - * @see shortcutDefault4() - * @see useFourModifierKeys() - */ - const KShortcut& shortcutDefault3() const { return m_cutDefault3; } - - /** - * The default shortcut for 4 modifier systems. - * @return the default shortcut for 4 modifier systems, can be null - * if not set - * @see shortcutDefault() - * @see shortcutDefault3() - * @see useFourModifierKeys() - */ - const KShortcut& shortcutDefault4() const { return m_cutDefault4; } - - /** - * Returns the receiver of signals. - * @return the receiver of signals (can be 0 if not set) - */ - const TQObject* objSlotPtr() const { return m_pObjSlot; } - - /** - * Returns the slot for the signal. - * @return the slot for the signal - */ - const char* methodSlotPtr() const { return m_psMethodSlot; } - - /** - * Checks whether the user can configure the action. - * @return true if configurable, false otherwise - */ - bool isConfigurable() const { return m_bConfigurable; } - - /** - * Checks whether the action is enabled. - * @return true if enabled, false otherwise - */ - bool isEnabled() const { return m_bEnabled; } - - /** - * Sets the name of the accelerator action. - * @param name the new name - */ - void setName( const TQString& name ); - - /** - * Sets the user-readable label of the accelerator action. - * @param label the new label (i18n!) - */ - void setLabel( const TQString& label ); - - /** - * Sets the What's This text for the accelerator action. - * @param whatsThis the new What's This text (i18n!) - */ - void setWhatsThis( const TQString& whatsThis ); - - /** - * Sets the new shortcut of the accelerator action. - * @param rgCuts the shortcut to set - * @return true if successful, false otherwise - */ - bool setShortcut( const KShortcut& rgCuts ); - - /** - * Sets the slot of the accelerator action. - * @param pObjSlot the receiver object of the signal - * @param psMethodSlot the slot for the signal - */ - void setSlot( const TQObject* pObjSlot, const char* psMethodSlot ); - - /** - * Enables or disabled configuring the action. - * @param configurable true to enable configurability, false to disable - */ - void setConfigurable( bool configurable ); - - /** - * Enables or disabled the action. - * @param configurable true to enable the action, false to disable - */ - void setEnabled( bool enable ); - - /** - * Retrieves the id set using @ref setID. - * @return the id of the accelerator action - */ - int getID() const { return m_nIDAccel; } - - /** - * Allows you to set an id that will be used as the action - * signal's argument. - * - * @param n the new id - * @see @ref getID() - */ - void setID( int n ) { m_nIDAccel = n; } - - /** - * Checkes whether the action is connected (emits signals). - * @return true if connected, false otherwise - */ - bool isConnected() const; - - /** - * Sets a key sequence of the action's shortcut. - * @param i the position of the sequence - * @param keySeq the new new sequence - * @return true if successful, false otherwise - * @see KShortcut::setSeq() - */ - bool setKeySequence( uint i, const KKeySequence &keySeq ); - - /** - * Clears the action's shortcut. It will not contain any sequences after - * calling this method. - * @see KShortcut::clear() - */ - void clearShortcut(); - - /** - * Checks whether the action's shortcut contains the given key sequence. - * @param keySeq the key sequence to check - * @return true if the shortcut contains the given sequence - * @see KShortcut::contains() - */ - bool contains( const KKeySequence &keySeq ); - - /** - * Returns the string representation of the action's shortcut. - * @return the string representation of the action's shortcut. - * @see KShortcut::toString() - */ - TQString toString() const; - - /** - * @internal - */ - TQString toStringInternal() const; - - /** - * Returns true if four modifier keys will be used. - * @return true if four modifier keys will be used. - */ - static bool useFourModifierKeys(); - - /** - * Selects 3 or 4 modifier default shortcuts. - * @param use true to use 4 modifier shortcuts, false to use - * 3 modifier shortcuts - */ - static void useFourModifierKeys( bool use ); - - protected: - TQString m_sName, - m_sLabel, - m_sWhatsThis; - KShortcut m_cut; - KShortcut m_cutDefault3, m_cutDefault4; - const TQObject* m_pObjSlot; - const char* m_psMethodSlot; - bool m_bConfigurable, - m_bEnabled; - int m_nIDAccel; - uint m_nConnections; - - void incConnections(); - void decConnections(); - - private: - static int g_bUseFourModifierKeys; - class KAccelActionPrivate* d; - - friend class KAccelActions; - friend class KAccelBase; -}; - -//--------------------------------------------------------------------- -// KAccelActions -//--------------------------------------------------------------------- - -/** - * @internal - * This class represents a collection of @ref KAccelAction objects. - * - * @short A collection of accelerator actions - * @see KAccelAction - */ -class KAccelActions -{ - public: - /** - * Creates a new, empty KAccelActions object. - */ - KAccelActions(); - - /** - * Copy constructor (deep copy). - */ - KAccelActions( const KAccelActions& ); - virtual ~KAccelActions(); - - /** - * Removes all items from this collection. - */ - void clear(); - - /** - * Initializes this object with the given actions. - * It will make a deep copy of all actions. - * @param actions the actions to copy - * @return true if successful, false otherwise - */ - bool init( const KAccelActions &actions ); - - /** - * Loads the actions from the given configuration file. - * - * @param config the configuration file to load from - * @param sGroup the group in the configuration file - * @return true if successful, false otherwise - */ - bool init( KConfigBase& config, const TQString& sGroup ); - - /** - * Updates the shortcuts of all actions in this object - * with the shortcuts from the given object. - * @param shortcuts the collection that contains the new - * shortcuts - */ - void updateShortcuts( KAccelActions &shortcuts ); - - /** - * Retrieves the index of the action with the given name. - * @param sAction the action to search - * @return the index of the action, or -1 if not found - */ - int actionIndex( const TQString& sAction ) const; - - /** - * Returns the action with the given @p index. - * @param index the index of an action. You must not - * use an index that is too high. - * @return the KAccelAction with the given index - * @see count() - */ - KAccelAction* actionPtr( uint index ); - - /** - * Returns the action with the given @p index. - * @param index the index of an action. You must not - * use an index that is too high. - * @return the KAccelAction with the given index - * @see count() - */ - const KAccelAction* actionPtr( uint index ) const; - - /** - * Returns the action with the given name. - * @param aAction the name of the action to search - * @return the KAccelAction with the given name, or 0 - * if not found - */ - KAccelAction* actionPtr( const TQString& sAction ); - - /** - * Returns the action with the given name. - * @param aAction the name of the action to search - * @return the KAccelAction with the given name, or 0 - * if not found - */ - const KAccelAction* actionPtr( const TQString& sAction ) const; - - /** - * Returns the action with the given key sequence. - * @param cut the sequence to search for - * @return the KAccelAction with the given sequence, or 0 - * if not found - */ - KAccelAction* actionPtr( KKeySequence cut ); - - /** - * Returns the action with the given @p index. - * @param index the index of an action. You must not - * use an index that is too high. - * @return the KAccelAction with the given index - * @see actionPtr() - * @see count() - */ - KAccelAction& operator []( uint index ); - - /** - * Returns the action with the given @p index. - * @param index the index of an action. You must not - * use an index that is too high. - * @return the KAccelAction with the given index - * @see actionPtr() - * @see count() - */ - const KAccelAction& operator []( uint index ) const; - - /** - * Inserts an action into the collection. - * @param sName the name of the accelerator - * @param sLabel the label of the accelerator (i18n!) - * @param sWhatsThis the What's This text (18n!) - * @param cutDef3 the default shortcut for 3 modifier systems - * @param cutDef4 the default shortcut for 4 modifier systems - * @param pObjSlot the receiver of a signal when the key has been - * pressed - * @param psMethodSlot the slot to connect for key presses. Receives - * an int, as set by @ref setID(), as only argument - * @param bConfigurable if true the user can configure the shortcut - * @param bEnabled true if the accelerator should be enabled - * @return the new action - */ - KAccelAction* insert( const TQString& sAction, const TQString& sLabel, const TQString& sWhatsThis, - const KShortcut& rgCutDefaults3, const KShortcut& rgCutDefaults4, - const TQObject* pObjSlot = 0, const char* psMethodSlot = 0, - bool bConfigurable = true, bool bEnabled = true ); - - /** - * Inserts an action into the collection. - * @param sName the name of the accelerator - * @param sLabel the label of the accelerator (i18n!) - * @return the new action - */ - KAccelAction* insert( const TQString& sName, const TQString& sLabel ); - - /** - * Removes the given action. - * @param sAction the name of the action. - * @return true if successful, false otherwise - */ - bool remove( const TQString& sAction ); - - /** - * Loads the actions from the given configuration file. - * - * @param sConfigGroup the group in the configuration file - * @param pConfig the configuration file to load from - * @return true if successful, false otherwise - */ - bool readActions( const TQString& sConfigGroup = "Shortcuts", KConfigBase* pConfig = 0 ); - - /** - * Writes the actions to the given configuration file. - * - * @param sConfigGroup the group in the configuration file - * @param pConfig the configuration file to save to - * @param bWriteAll true to write all actions - * @param bGlobal true to write to the global configuration file - * @return true if successful, false otherwise - */ - bool writeActions( const TQString& sConfigGroup = "Shortcuts", KConfigBase* pConfig = 0, - bool bWriteAll = false, bool bGlobal = false ) const; - - /** - * Emit a keycodeChanged signal. - */ - void emitKeycodeChanged(); - - /** - * Returns the number of actions in the collection. - * @return the number of actions - */ - uint count() const; - - protected: - KAccelBase* m_pKAccelBase; - KAccelAction** m_prgActions; - uint m_nSizeAllocated, m_nSize; - - void resize( uint ); - void insertPtr( KAccelAction* ); - - private: - class KAccelActionsPrivate* d; - - KAccelActions( KAccelBase* ); - void initPrivate( KAccelBase* ); - KAccelActions& operator =( KAccelActions& ); - - friend class KAccelBase; -}; - -#endif // _KACCELACTION_H diff --git a/python/pykde/extra/kde314/kaccelbase.h b/python/pykde/extra/kde314/kaccelbase.h deleted file mode 100644 index 03fa9c87..00000000 --- a/python/pykde/extra/kde314/kaccelbase.h +++ /dev/null @@ -1,229 +0,0 @@ -/* This file is part of the KDE libraries - Copyright (C) 2001 Ellis Whitehead - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. -*/ - -#ifndef _KACCELBASE_H -#define _KACCELBASE_H - -#include -#include -#include -#include -#include - -#include "kaccelaction.h" -#include "kkeyserver_x11.h" - -class TQPopupMenu; -class TQWidget; - -//---------------------------------------------------- - -/** - * @internal - * Handle keyboard accelerators. - * - * Allow an user to configure - * key bindings through application configuration files or through the - * @ref KKeyChooser GUI. - * - * A @ref KAccel contains a list of accelerator items. Each accelerator item - * consists of an action name and a keyboard code combined with modifiers - * (Shift, Ctrl and Alt.) - * - * For example, "Ctrl+P" could be a shortcut for printing a document. The key - * codes are listed in ckey.h. "Print" could be the action name for printing. - * The action name identifies the key binding in configuration files and the - * @ref KKeyChooser GUI. - * - * When pressed, an accelerator key calls the slot to which it has been - * connected. Accelerator items can be connected so that a key will activate - * two different slots. - * - * A KAccel object handles key events sent to its parent widget and to all - * children of this parent widget. - * - * Key binding reconfiguration during run time can be prevented by specifying - * that an accelerator item is not configurable when it is inserted. A special - * group of non-configurable key bindings are known as the - * standard accelerators. - * - * The standard accelerators appear repeatedly in applications for - * standard document actions such as printing and saving. Convenience methods are - * available to insert and connect these accelerators which are configurable on - * a desktop-wide basis. - * - * It is possible for a user to choose to have no key associated with - * an action. - * - * The translated first argument for @ref insertItem() is used only - * in the configuration dialog. - *
- * KAccel *a = new KAccel( myWindow );
- * // Insert an action "Scroll Up" which is associated with the "Up" key:
- * a->insertItem( i18n("Scroll up"), "Scroll Up", "Up" );
- * // Insert an action "Scroll Down" which is not associated with any key:
- * a->insertItem( i18n("Scroll down"), "Scroll Down", 0);
- * a->connectItem( "Scroll up", myWindow, TQT_SLOT( scrollUp() ) );
- * // a->insertStdItem( KStdAccel::Print ); //not necessary, since it
- *	// is done automatially with the
- *	// connect below!
- * a->connectItem(KStdAccel::Print, myWindow, TQT_SLOT( printDoc() ) );
- *
- * a->readSettings();
- *
- * - * If a shortcut has a menu entry as well, you could insert them like - * this. The example is again the @ref KStdAccel::Print from above. - * - *
- * int id;
- * id = popup->insertItem("&Print",this, TQT_SLOT(printDoc()));
- * a->changeMenuAccel(popup, id, KStdAccel::Print );
- * 
- * - * If you want a somewhat "exotic" name for your standard print action, like - * id = popup->insertItem(i18n("Print &Document"),this, TQT_SLOT(printDoc())); - * it might be a good idea to insert the standard action before as - * a->insertStdItem( KStdAccel::Print, i18n("Print Document") ) - * as well, so that the user can easily find the corresponding function. - * - * This technique works for other actions as well. Your "scroll up" function - * in a menu could be done with - * - *
- *    id = popup->insertItem(i18n"Scroll &up",this, TQT_SLOT(scrollUp()));
- *    a->changeMenuAccel(popup, id, "Scroll Up" );
- * 
- * - * Please keep the order right: First insert all functions in the - * acceleratior, then call a -> @ref readSettings() and @em then build your - * menu structure. - * - * @short Configurable key binding support. - * @version $Id: kaccelbase.h,v 1.22 2002/10/06 18:19:39 ellis Exp $ - */ - -class KAccelBase -{ - public: - enum Init { QT_KEYS = 0x00, NATIVE_KEYS = 0x01 }; - enum Signal { KEYCODE_CHANGED }; - - KAccelBase( int fInitCode ); - virtual ~KAccelBase(); - - uint actionCount() const; - KAccelActions& actions(); - bool isEnabled() const; - - KAccelAction* actionPtr( const TQString& sAction ); - const KAccelAction* actionPtr( const TQString& sAction ) const; - KAccelAction* actionPtr( const KKey& key ); - KAccelAction* actionPtr( const KKeyServer::Key& key ); - - const TQString& configGroup() const { return m_sConfigGroup; } - void setConfigGroup( const TQString& group ); - void setConfigGlobal( bool global ); - virtual void setEnabled( bool bEnabled ) = 0; - bool getAutoUpdate() { return m_bAutoUpdate; } - // return value of AutoUpdate flag before this call. - bool setAutoUpdate( bool bAuto ); - -// Procedures for manipulating Actions. - //void clearActions(); - - KAccelAction* insert( const TQString& sName, const TQString& sDesc ); - KAccelAction* insert( - const TQString& sAction, const TQString& sDesc, const TQString& sHelp, - const KShortcut& rgCutDefaults3, const KShortcut& rgCutDefaults4, - const TQObject* pObjSlot, const char* psMethodSlot, - bool bConfigurable = true, bool bEnabled = true ); - bool remove( const TQString& sAction ); - bool setActionSlot( const TQString& sAction, const TQObject* pObjSlot, const char* psMethodSlot ); - - bool updateConnections(); - - bool setShortcut( const TQString& sAction, const KShortcut& cut ); - -// Modify individual Action sub-items - bool setActionEnabled( const TQString& sAction, bool bEnable ); - - /** - * Read all key associations from @p config, or (if @p config - * is zero) from the application's configuration file - * @ref KGlobal::config(). - * - * The group in which the configuration is stored can be - * set with @ref setConfigGroup(). - */ - void readSettings( KConfigBase* pConfig = 0 ); - - /** - * Write the current configurable associations to @p config, - * or (if @p config is zero) to the application's - * configuration file. - */ - void writeSettings( KConfigBase* pConfig = 0 ) const; - - TQPopupMenu* createPopupMenu( TQWidget* pParent, const KKeySequence& ); - - // Protected methods - protected: - void slotRemoveAction( KAccelAction* ); - - void createKeyList( TQValueVector& rgKeys ); - bool insertConnection( KAccelAction* ); - bool removeConnection( KAccelAction* ); - - virtual bool emitSignal( Signal ) = 0; - virtual bool connectKey( KAccelAction&, const KKeyServer::Key& ) = 0; - virtual bool connectKey( const KKeyServer::Key& ) = 0; - virtual bool disconnectKey( KAccelAction&, const KKeyServer::Key& ) = 0; - virtual bool disconnectKey( const KKeyServer::Key& ) = 0; - - protected: - struct ActionInfo - { - KAccelAction* pAction; - uint iSeq, iVariation; - //ActionInfo* pInfoNext; // nil if only one action uses this key. - - ActionInfo() { pAction = 0; iSeq = 0xffff; iVariation = 0xffff; } - ActionInfo( KAccelAction* _pAction, uint _iSeq, uint _iVariation ) - { pAction = _pAction; iSeq = _iSeq; iVariation = _iVariation; } - }; - typedef TQMap KKeyToActionMap; - - KAccelActions m_rgActions; - KKeyToActionMap m_mapKeyToAction; - TQValueList m_rgActionsNonUnique; - bool m_bNativeKeys; // Use native key codes instead of Qt codes - bool m_bEnabled; - bool m_bConfigIsGlobal; - TQString m_sConfigGroup; - bool m_bAutoUpdate; - KAccelAction* mtemp_pActionRemoving; - - private: - KAccelBase& operator =( const KAccelBase& ); - - friend class KAccelActions; -}; - -#endif // _KACCELBASE_H diff --git a/python/pykde/extra/kde314/kicontheme.h b/python/pykde/extra/kde314/kicontheme.h deleted file mode 100644 index bfee160b..00000000 --- a/python/pykde/extra/kde314/kicontheme.h +++ /dev/null @@ -1,331 +0,0 @@ -/* vi: ts=8 sts=4 sw=4 - * - * $Id: kicontheme.h,v 1.26 2002/10/26 22:08:38 tjansen Exp $ - * - * This file is part of the KDE project, module kdecore. - * Copyright (C) 2000 Geert Jansen - * Antonio Larrosa - * - * This is free software; it comes under the GNU Library General - * Public License, version 2. See the file "COPYING.LIB" for the - * exact licensing terms. - * - */ - -#ifndef __KIconTheme_h_Included__ -#define __KIconTheme_h_Included__ - -#include -#include -#include - -class KConfig; -//class KIconThemeDir; - -class KIconThemePrivate; - -class KIconPrivate; - -/** - * One icon as found by KIconTheme. Also serves as a namespace containing - * icon related constants. - * @see KIconEffect - * @see KIconTheme - * @see KIconLoader - */ -class KIcon -{ -public: - KIcon() { size = 0; } - - /** - * Return true if this icon is valid, false otherwise. - */ - bool isValid() const { return size != 0; } - - /** - * Defines the context of the icon. - */ - enum Context { - Any, ///< Some icon with unknown purpose. - Action, ///< An action icon (e.g. 'save', 'print'). - Application, ///< An icon that represents an application. - Device, ///< An icon that represents a device. - FileSystem, ///< An icon that represents a file system. - MimeType ///< An icon that represents a mime type (or file type). - }; - - /** - * The type of the icon. - */ - enum Type { - Fixed, ///< Fixed-size icon. - Scalable, ///< Scalable-size icon. - Threshold ///< A threshold icon. - }; - - /** - * The type of a match. - */ - enum MatchType { - MatchExact, ///< Only try to find an exact match. - MatchBest ///< Take the best match if there is no exact match. - - }; - - // if you add a group here, make sure to change the config reading in - // KIconLoader too - /** - * The group an an icon. - */ - enum Group { NoGroup=-1, Desktop=0, FirstGroup=Desktop, Toolbar, - MainToolbar, Small, Panel, LastGroup, User }; - - /** - * These are the standard sizes for icons. - */ - enum StdSizes { - /// small icons for menu entries - SizeSmall=16, - /// medium sized icons for the desktop - SizeMedium=32, - /// large sized icons for the panel - SizeLarge=48 }; - - /** - * Defines the possible states of an icon. - */ - enum States { DefaultState, ///< The default state. - ActiveState, ///< Icon is active. - DisabledState, ///< Icon is disabled. - LastState ///< Last state (last constant) - }; - - /** - * This defines an overlay, a semi-transparent image that is - * projected onto the icon. They are used to show that the file - * represented by the icon is, for example, locked, zipped or hidden. - */ - enum Overlays { - LockOverlay=0x100, ///< a file is locked - ZipOverlay=0x200, ///< a file is zipped - LinkOverlay=0x400, ///< a fileis a link - HiddenOverlay=0x800, ///< a file is hidden - ShareOverlay=0x1000, ///< a file is shared - OverlayMask = ~0xff - }; - - /** - * The size in pixels of the icon. - */ - int size; - - /** - * The context of the icon. - */ - Context context; - - /** - * The type of the icon: Fixed, Scalable or Threshold. - **/ - Type type; - - /** - * The threshold in case type == Threshold - */ - int threshold; - - /** - * The full path of the icon. - */ - TQString path; - -private: - KIconPrivate *d; -}; - -inline KIcon::Group& operator++(KIcon::Group& group) { group = static_cast(group+1); return group; } -inline KIcon::Group operator++(KIcon::Group& group,int) { KIcon::Group ret = group; ++group; return ret; } - -/** - * Class to use/access icon themes in KDE. This class is used by the - * iconloader but can be used by others too. - * @see KIconLoader - */ -class KIconTheme -{ -public: - /** - * Load an icon theme by name. - * @param name the name of the theme (e.g. "hicolor" or "keramik") - * @param appName the name of the application. Can be null. This argument - * allows applications to have themed application icons. - */ - KIconTheme(const TQString& name, const TQString& appName=TQString::null); - ~KIconTheme(); - - /** - * The stylized name of the icon theme. - * @return the (human-readable) name of the theme - */ - TQString name() const { return mName; } - - /** - * A description for the icon theme. - * @return a human-readable description of the theme, TQString::null - * if there is none - */ - TQString description() const { return mDesc; } - - /** - * Return the name of the "example" icon. This can be used to - * present the theme to the user. - * @return the name of the example icon, TQString::null if there is none - */ - TQString example() const; - - /** - * Return the name of the screenshot. - * @return the name of the screenshot, TQString::null if there is none - */ - TQString screenshot() const; - - /** - * Returns the name of this theme's link overlay. - * @return the name of the link overlay - */ - TQString linkOverlay() const; - - /** - * Returns the name of this theme's zip overlay. - * @return the name of the zip overlay - */ - TQString zipOverlay() const; - - /** - * Returns the name of this theme's lock overlay. - * @return the name of the lock overlay - */ - TQString lockOverlay() const; - - /** - * Returns the name of this theme's share overlay. - * @return the name of the share overlay - * @since 3.1 - */ - TQString shareOverlay () const; - - /** - * Returns the toplevel theme directory. - * @return the directory of the theme - */ - TQString dir() const { return mDir; } - - /** - * The themes this icon theme falls back on. - * @return a list of icon themes that are used as fall-backs - */ - TQStringList inherits() const { return mInherits; } - - /** - * The icon theme exists? - * @return true if the icon theme is valid - */ - bool isValid() const; - - /** - * The icon theme should be hidden to the user? - * @return true if the icon theme is hidden - * @since 3.1 - */ - bool isHidden() const; - - /** - * The minimum display depth required for this theme. This can either - * be 8 or 32. - * @return the minimum bpp (8 or 32) - */ - int depth() const { return mDepth; } - - /** - * The default size of this theme for a certain icon group. - * @param group The icon group. See @ref #KIcon::Group. - * @return The default size in pixels for the given icon group. - */ - int defaultSize(KIcon::Group group) const; - - /** - * Query available sizes for a group. - * @param group The icon group. See @ref #KIcon::Group. - * @return a list of available sized for the given group - */ - TQValueList querySizes(KIcon::Group group) const; - - /** - * Query available icons for a size and context. - * @param size the size of the icons - * @param context the context of the icons - * @return the list of icon names - */ - TQStringList queryIcons(int size, KIcon::Context context = KIcon::Any) const; - - /** - * Query available icons for a context and preferred size. - * @param size the size of the icons - * @param context the context of the icons - * @return the list of icon names - */ - TQStringList queryIconsByContext(int size, KIcon::Context context = KIcon::Any) const; - - - /** - * Lookup an icon in the theme. - * @param name The name of the icon, without extension. - * @param size The desired size of the icon. - * @param match The matching mode. KIcon::MatchExact returns an icon - * only if matches exactly. KIcon::MatchBest returns the best matching - * icon. - * @return A KIcon class that describes the icon. If an icon is found, - * @see KIcon::isValid will return true, and false otherwise. - */ - KIcon iconPath(const TQString& name, int size, KIcon::MatchType match) const; - - /** - * List all icon themes installed on the system, global and local. - * @return the list of all icon themes - */ - static TQStringList list(); - - /** - * Returns the current icon theme. - * @return the name of the current theme - */ - static TQString current(); - - /** - * Reconfigure the theme. - */ - static void reconfigure(); - - /** - * Returns the default icon theme. - * @return the name of the default theme name - * @since 3.1 - */ - static TQString defaultThemeName(); - -private: - int mDefSize[8]; - TQValueList mSizes[8]; - - int mDepth; - TQString mDir, mName, mDesc; - TQStringList mInherits; -// TQPtrList mDirs; - KIconThemePrivate *d; - - static TQString *_theme; - static TQStringList *_theme_list; -}; - -#endif diff --git a/python/pykde/extra/kde314/kkeyserver_x11.h b/python/pykde/extra/kde314/kkeyserver_x11.h deleted file mode 100644 index 48d6c334..00000000 --- a/python/pykde/extra/kde314/kkeyserver_x11.h +++ /dev/null @@ -1,435 +0,0 @@ -#ifndef _KKEYSERVER_X11_H -#define _KKEYSERVER_X11_H - -#include "kshortcut.h" -#include "kkeynative.h" - -/** - * A collection of functions for the conversion of key presses and - * their modifiers from the window system (X11) specific format - * to the generic format and vice-versa. - */ -namespace KKeyServer -{ - /** - * Supplement enum KKey::ModFlag - * @since 3.1 - */ - enum ExtraModFlag { MODE_SWITCH = 0x2000 }; - - struct CodeMod { int code, mod; }; - - /** - * Represents a key symbol. - * @see KKey - * @see KKeyServer - */ - struct Sym - { - public: - /// the actual value of the symbol - uint m_sym; - - /// Creates a null symbol. - Sym() - { m_sym = 0; } - /** - * Creates asymbol with the given value. - * @param sym the value - */ - Sym( uint sym ) - { m_sym = sym; } - /** - * Creates a symbol from the given string description. - * @param s the description of the symbol - * @see toString() - */ - Sym( const TQString& s ) - { init( s ); } - - /** - * Initializes the symbol with the given Qt key code. - * @param keyQt the qt key code - * @return true if succesful, false otherwise - * @see Qt::Key - */ - bool initQt( int keyQt ); - - /** - * Initializes the key with the given string description. - * @param s the string description - * @return true if succesful, false otherwise - * @see toString() - */ - bool init( const TQString &s ); - - /** - * Returns the qt key code of the symbol. - * @return the qt key code - */ - int qt() const; - - /** - * @internal - */ - TQString toStringInternal() const; - - /** - * Returns the string representation of the symbol. - * @return the string representation of the symbol - */ - TQString toString() const; - - /** - * Returns the mods that are required for this symbol as - * ORed @ref KKey::ModFlag's. For example, Break requires a - * Ctrl to be valid. - * @return the required @ref KKey::ModFlag's - * @see KKey::ModFlag - */ - uint getModsRequired() const; - - /** - * TODO: please find out what this method does and document it - */ - uint getSymVariation() const; - - /** - * Casts the symbol to its integer representation. - */ - operator uint() const { return m_sym; } - - /** - * Overloaded operator to convert ints to Sym. - */ - Sym& operator =( uint sym ) { m_sym = sym; return *this; } - - private: - TQString toString( bool bUserSpace ) const; - - static void capitalizeKeyname( TQString& ); - }; - - /** - * Represents a key press. - * @see KKey - */ - struct Key - { - /// Code for native Keys in Qt - enum { CODE_FOR_QT = 256 }; - - /// The code of the key - uint m_code; - - /// The modifiers of the key - uint m_mod; - - /// The symbol of the key - uint m_sym; - - /** - * Initializes the key with a @ref KKey. - * @param key the key to get the data from - * @param bQt true to take the Qt keycode, false - * for the native key code - * @see Qt::Key - * @see KKeyNative - */ - bool init( const KKey& key, bool bQt ); - - /** - * Checks whether the key code is a native code. - * @return true if native code of the window system, - * false if it is a Qt keycode - * @see Qt::Key - * @see KKeyNative - */ - bool isNative() const { return m_code != CODE_FOR_QT; } - - /** - * Returns the code of the key. - * @return the code of the key - */ - uint code() const { return m_code; } - - /** - * Returns the modifiers of the key. - * @return the modifiers of the key - */ - uint mod() const { return m_mod; } - - /** - * Returns the symbol of the key. - * @return the symbol of the key - */ - uint sym() const { return m_sym; } - - /** - * Returns the qt key code. - * @return the qt key code - */ - int keyCodeQt() const { return (int) m_sym; } - - /** - * Sets the qt key code. - * @param keyQt the qt key code - */ - void setKeycodeQt( int keyQt ) - { m_code = CODE_FOR_QT; m_sym = keyQt; } - - /** - * Initializes this key with a @ref KKeyNative. - * @return this key - */ - Key& operator =( const KKeyNative& key ); - - /** - * Compares this key with the given Key object. Returns a - * negative number if the given Key is larger, 0 if they - * are equal and a positive number this Key is larger. The - * returned value is the difference between the symbol, modifier - * or code, whatever is non-zero first. - * - * @param key the key to compare with this key - * @return a negative number if the given Key is larger, 0 if - * they are equal and a positive number this Key is larger - */ - int compare( const Key& key ) const; - - /** - * Compares the symbol, modifiers and code of both keys. - * @see compare() - */ - bool operator ==( const Key& b ) const - { return compare( b ) == 0; } - - /** - * Compares the symbol, modifiers and code of both keys. - * @see compare() - */ - bool operator <( const Key& b ) const - { return compare( b ) < 0; } - - /** - * Converts this Key to a KKey. - * @return the KKey - */ - KKey key() const; - }; - - /** - * TODO: please document this class - */ - struct Variations - { - enum { MAX_VARIATIONS = 4 }; - - Key m_rgkey[MAX_VARIATIONS]; - uint m_nVariations; - - Variations() { m_nVariations = 0; } - - void init( const KKey&, bool bQt ); - - uint count() const { return m_nVariations; } - const Key& key( uint i ) const { return m_rgkey[i]; } - }; - - /// TODO: please document - bool initializeMods(); - - /** - * Returns the equivalent X modifier mask of the given modifier flag. - * @param modFlag the generic flags to check - * @return the window system specific flags - */ - uint modX( KKey::ModFlag modFlag ); - - /** - * Returns true if the current keyboard layout supports the Win key. - * Specifically, whether the Super or Meta keys are assigned to an X modifier. - * @return true if the keyboard has a Win key - * @see modXWin() - */ - bool keyboardHasWinKey(); - - /** - * Returns the X11 Shift modifier mask/flag. - * @return the X11 Shift modifier mask/flag. - * @see accelModMaskX() - */ - uint modXShift(); - - /** - * Returns the X11 Lock modifier mask/flag. - * @return the X11 Lock modifier mask/flag. - * @see accelModMaskX() - */ - uint modXLock(); - - /** - * Returns the X11 Ctrl modifier mask/flag. - * @return the X11 Ctrl modifier mask/flag. - * @see accelModMaskX() - */ - uint modXCtrl(); - - /** - * Returns the X11 Alt (Mod1) modifier mask/flag. - * @return the X11 Alt (Mod1) modifier mask/flag. - * @see accelModMaskX() - */ - uint modXAlt(); - - /** - * Returns the X11 NumLock modifier mask/flag. - * @return the X11 NumLock modifier mask/flag. - * @see accelModMaskX() - */ - uint modXNumLock(); - - /** - * Returns the X11 Win (Mod3) modifier mask/flag. - * @return the X11 Win (Mod3) modifier mask/flag. - * @see keyboardHasWinKey() - * @see accelModMaskX() - */ - uint modXWin(); - - /** - * Returns the X11 ScrollLock modifier mask/flag. - * @return the X11 ScrollLock modifier mask/flag. - * @see accelModMaskX() - */ - uint modXScrollLock(); - - /** - * Returns bitwise OR'ed mask containing Shift, Ctrl, Alt, and - * Win (if available). - * @see modXShift() - * @see modXLock() - * @see modXCtrl() - * @see modXAlt() - * @see modXNumLock() - * @see modXWin() - * @see modXScrollLock() - */ - uint accelModMaskX(); - - /** - * Extracts the symbol from the given Qt key and - * converts it to a symbol. - * @param keyQt the qt key code - * @param sym if successful, the symbol will be written here - * @return true if successful, false otherwise - * @see Qt::Key - * @see Sym - */ - bool keyQtToSym( int keyQt, uint& sym ); - - /** - * Extracts the modifiers from the given Qt key and - * converts them in a mask of ORed @ref KKey::ModFlag modifiers. - * @param keyQt the qt key code - * @param mod if successful, the modifiers will be written here - * @return true if successful, false otherwise - * @see Qt::Key - */ - bool keyQtToMod( int keyQt, uint& mod ); - - /** - * Converts the given symbol to a Qt key code. - * @param sym the symbol - * @param keyQt if successful, the qt key code will be written here - * @return true if successful, false otherwise - * @see Qt::Key - * @see Sym - */ - bool symToKeyQt( uint sym, int& keyQt ); - - /** - * Converts the mask of ORed @ref KKey::ModFlag modifiers to - * a mask of ORed Qt key code modifiers. - * @param the mask of @ref KKey::ModFlag modifiers - * @param the mask of Qt key code modifiers will be written here, - * if successful - * @return true if successful, false otherwise - * @see Qt::Key - * @see KKey - */ - bool modToModQt( uint mod, int& modQt ); - - /** - * Converts the mask of ORed @ref KKey::ModFlag modifiers to - * a mask of ORed X11 modifiers. - * @param the mask of @ref KKey::ModFlag modifiers - * @param the mask of X11 modifiers will be written here, - * if successful - * @return true if successful, false otherwise - * @see KKey - */ - bool modToModX( uint mod, uint& modX ); - - /** - * Converts the mask of ORed X11 modifiers to - * a mask of ORed Qt key code modifiers. - * @param the mask of X11 modifiers - * @param the mask of Qt key code modifiers will be written here - * if successful - * @return true if successful, false otherwise - * @see Qt::Key - */ - bool modXToModQt( uint modX, int& modQt ); - - /** - * Converts the mask of ORed X11 modifiers to - * a mask of ORed @ref KKey::ModFlag modifiers. - * @param the mask of X11 modifiers - * @param the mask of @ref KKey::ModFlag modifiers will be written here, - * if successful - * @return true if successful, false otherwise - * @see KKey - */ - bool modXToMod( uint modX, uint& mod ); - - /** - * Converts a X11 key code and a mask of ORed X11 modifiers - * into a X11 symbol. - * converts it to a symbol. - * @param codeX the X11 key code - * @param modX the mask of ORed X11 modifiers - * @param sym if successful, the X11 symbol will be written here - * @return true if successful, false otherwise - * @see Qt::Key - * @see Sym - */ - bool codeXToSym( uchar codeX, uint modX, uint& symX ); - - /** - * @internal - */ - TQString modToStringInternal( uint mod ); - - /** - * Converts the mask of ORed @ref KKey::ModFlag modifiers to a - * user-readable string. - * @param mod the mask of ORed @ref KKey::ModFlag modifiers - * @return the user-readable string - */ - TQString modToStringUser( uint mod ); - - /** - * @internal - * Unimplemented? - */ - bool stringToSymMod( const TQString&, uint& sym, uint& mod ); - - /** - * @internal - * Unimplemented? - */ - void keyQtToKeyX( uint keyCombQt, unsigned char *pKeyCodeX, uint *pKeySymX, uint *pKeyModX ); -} - -#endif // !_KKEYSERVER_X11_H diff --git a/python/pykde/extra/kde314/konsole_part.h b/python/pykde/extra/kde314/konsole_part.h deleted file mode 100644 index 6aba7064..00000000 --- a/python/pykde/extra/kde314/konsole_part.h +++ /dev/null @@ -1,223 +0,0 @@ -/* - This file is part of the KDE system - Copyright (C) 1999,2000 Boloni Laszlo - - This program is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. - */ - -#ifndef __KONSOLE_PART_H__ -#define __KONSOLE_PART_H__ - -#include -#include - - -#include - -#include - -//#include "schema.h" -//#include "session.h" - -class KInstance; -class konsoleBrowserExtension; -class TQPushButton; -class TQSpinBox; -class KPopupMenu; -class TQCheckBox; -class KRootPixmap; -class KToggleAction; -class KSelectAction; - -namespace KParts { class GUIActivateEvent; } - -class konsoleFactory : public KParts::Factory -{ - Q_OBJECT -public: - konsoleFactory(); - virtual ~konsoleFactory(); - - virtual KParts::Part* createPartObject(TQWidget *parentWidget = 0, const char *widgetName = 0, - TQObject* parent = 0, const char* name = 0, - const char* classname = "KParts::Part", - const TQStringList &args = TQStringList()); - - static KInstance *instance(); - - private: - static KInstance *s_instance; - static KAboutData *s_aboutData; -}; - -////////////////////////////////////////////////////////////////////// - -class konsolePart: public KParts::ReadOnlyPart, public TerminalInterface -{ - Q_OBJECT - public: - konsolePart(TQWidget *parentWidget, const char *widgetName, TQObject * parent, const char *name, const char *classname = 0); - virtual ~konsolePart(); - -signals: - void processExited(); - void receivedData( const TQString& s ); - protected: - virtual bool openURL( const KURL & url ); - virtual bool openFile() {return false;} // never used - virtual bool closeURL() {return true;} - virtual void guiActivateEvent( KParts::GUIActivateEvent * event ); - - protected slots: - void showShell(); - void slotProcessExited(); - void slotReceivedData( const TQString& s ); - -// void doneSession(TESession*); - void sessionDestroyed(); -// void configureRequest(TEWidget*,int,int x,int y); - void updateTitle(); - void enableMasterModeConnections(); - - private slots: - void emitOpenURLRequest(const TQString &url); - - void readProperties(); - void saveProperties(); - - void sendSignal(int n); - void closeCurrentSession(); - - void notifySize(int,int); - - void slotToggleFrame(); - void slotSelectScrollbar(); - void slotSelectFont(); - void schema_menu_check(); - void keytab_menu_activated(int item); - void updateSchemaMenu(); - void setSchema(int n); - void pixmap_menu_activated(int item); - void schema_menu_activated(int item); - void slotHistoryType(); - void slotSelectBell(); - void slotSelectLineSpacing(); - void slotBlinkingCursor(); - void slotWordSeps(); - void fontNotFound(); - - private: - konsoleBrowserExtension *m_extension; - KURL currentURL; - - void makeGUI(); - void applySettingsToGUI(); - - void setFont(int fontno); -// void setSchema(ColorSchema* s); - void updateKeytabMenu(); - - bool doOpenStream( const TQString& ); - bool doWriteStream( const TQByteArray& ); - bool doCloseStream(); - - TQWidget* parentWidget; -// TEWidget* te; -// TESession* se; -// ColorSchemaList* colors; - KRootPixmap* rootxpm; - - KToggleAction* blinkingCursor; - KToggleAction* showFrame; - - KSelectAction* selectBell; - KSelectAction* selectFont; - KSelectAction* selectLineSpacing; - KSelectAction* selectScrollbar; - - KPopupMenu* m_keytab; - KPopupMenu* m_schema; - KPopupMenu* m_signals; - KPopupMenu* m_options; - KPopupMenu* m_popupMenu; - - TQFont defaultFont; - - TQString pmPath; // pixmap path - TQString s_schema; - TQString s_kconfigSchema; - TQString s_word_seps; // characters that are considered part of a word - TQString fontNotFound_par; - - bool b_framevis:1; - bool b_histEnabled:1; - - int curr_schema; // current schema no - int n_bell; - int n_font; - int n_keytab; - int n_render; - int n_scroll; - unsigned m_histSize; - bool m_runningShell; - bool m_streamEnabled; -public: - // these are the implementations for the TermEmuInterface - // functions... - void startProgram( const TQString& program, - const TQStrList& args ); - void showShellInDir( const TQString& dir ); - void sendInput( const TQString& text ); -}; - -////////////////////////////////////////////////////////////////////// - -/*class HistoryTypeDialog : public KDialogBase -{ - Q_OBJECT -public: - HistoryTypeDialog(const HistoryType& histType, - unsigned int histSize, - TQWidget *parent); - -public slots: - void slotDefault(); - void slotSetUnlimited(); - void slotHistEnable(bool); - - unsigned int nbLines() const; - bool isOn() const; - -protected: - TQCheckBox* m_btnEnable; - TQSpinBox* m_size; - TQPushButton* m_setUnlimited; -};*/ - -////////////////////////////////////////////////////////////////////// - -class konsoleBrowserExtension : public KParts::BrowserExtension -{ - Q_OBJECT - friend class konsolePart; - public: - konsoleBrowserExtension(konsolePart *parent); - virtual ~konsoleBrowserExtension(); - - void emitOpenURLRequest(const KURL &url); -}; - -#endif diff --git a/python/pykde/extra/kde314/kpanelmenu.h b/python/pykde/extra/kde314/kpanelmenu.h deleted file mode 100644 index 032350ad..00000000 --- a/python/pykde/extra/kde314/kpanelmenu.h +++ /dev/null @@ -1,181 +0,0 @@ -/***************************************************************** - -Copyright (c) 1996-2000 the kicker authors. See file AUTHORS. - (c) 2001 Michael Goffioul - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN -AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - -******************************************************************/ - -#ifndef __KPANELMENU_H__ -#define __KPANELMENU_H__ - -#include -#include -#include - -class KPanelMenuPrivate; - -/** - * Base class to build dynamically loaded menu entries for the K-menu, or the panel. - * - * This class allows to build menu entries that will be dynamically added either to - * the K-menu, or to the panel as a normal button. These dynamic menus are located - * in shared libraries that will be loaded at runtime by Kicker (the KDE panel). - * - * To build such a menu, you have to inherit this class and implement the pure virtual - * functions #initialize() and @ref slotExec(). You also have to provide a factory - * object in your library, see @ref KLibFactory. This factory is only used to construct - * the menu object. - * - * Finally, you also have to provide a desktop file describing your dynamic menu. The - * relevant entries are: Name, Comment, Icon and X-KDE-Library (which contains the - * library name without any extension). This desktop file has to be installed in - * $KDEDIR/share/apps/kicker/menuext/. - * - * @short Base class to build dynamically loaded menu entries for the K-menu, or the panel. - * @author The kicker maintainer, Michael Goffioul - */ -class KPanelMenu : public KPopupMenu -{ - Q_OBJECT - -public: - /** - * Construct a KPanelMenu object. This is the normal constructor to use when - * building extrernal menu entries. - */ - KPanelMenu(TQWidget *parent=0, const char *name=0); - /** - * Constructor used internally by Kicker. You don't really want to use it. - * @param startDir a directory to associate with this menu - * @see path(), setPath() - */ - KPanelMenu(const TQString &startDir, TQWidget *parent=0, const char *name=0); - /** - * Destructor. - */ - virtual ~KPanelMenu(); - - /** - * Get the directory path associated with this menu, or TQString::null if - * there's no such associated path. - * @return the associated directory path - * @see setPath() - */ - const TQString& path() const; - /** - * Set a directory path to be associated with this menu. - * @param p the directory path - * @see path() - */ - void setPath(const TQString &p); - /** - * Tell if the menu has been initialized, that is it already contains items. - * This is useful when you need to know if you have to clear the menu, or to - * fill it. - * @return the initial state - * @see setInitialized(), initialize() - */ - bool initialized() const; - /** - * Set the initial state. Set it to true when you menu is filled with the items - * you want. - * @param on the initial state - * @see initialized(), initialize() - */ - void setInitialized(bool on); - - /** - * Disable the automatic clearing of the menu. Kicker uses a cache system for - * its menus. After a specific configurable delay, the menu will be cleared. - * Use this function if you want to disable kicker's cache system, and avoid - * the clearing of your menu. - */ - void disableAutoClear(); - -public slots: - /** - * Reinitialize the menu: the menu is first cleared, the initial state is set - * to false, and finally #initialize() is called. Use this if you want to - * refill your menu immediately. - */ - void reinitialize(); - /** - * Deinitialize the menu: the menu is cleared and the initialized state is set to - * false. #initialize() is NOT called. It will be called before the menu is - * next shown, however. Use this slot if you want a delayed reinitialization. - * @since 3.1 - */ - void deinitialize(); - -protected slots: - /** - * This slot is called just before the menu is shown. This allows your menu - * to update itself if needed. However you should instead re-implement - * #initialize to provide this feature. This function is responsible for - * the cache system handling, so if you re-implement it, you should call - * the base function also. Calls #initialize(). - * @see disableAutoClear() - */ - virtual void slotAboutToShow(); - /** - * This is slot is called when an item from the menu has been selected. Your - * applet is then supposed to perform some action. You must re-implement this - * function. - * @param id the ID associated with the selected item - */ - virtual void slotExec(int id) = 0; - /** - * This slots is called to initialize the menu. It is called automatically by - * @ref slotAboutToShow(). By re-implementing this functions, you can reconstruct - * the menu before it is being shown. At the end of this function, you should - * call @ref setInitialize() with true to tell the system that the menu is OK. - * You applet must re-implement this function. - * @see slotAboutToShow(), initialized(), setInitialized() - */ - virtual void initialize() = 0; - /** - * Clears the menu, and update the initial state accordingly. - * @see initialized() - */ - void slotClear(); - -protected: - /** - * Re-implemented for internal reasons. - */ - virtual void hideEvent(TQHideEvent *ev); - /** - * For internal use only. Used by constructors. - */ - void init(const TQString& path = TQString::null); - -protected: - virtual void virtual_hook( int id, void* data ); -private: - void internalInitialize(); - KPanelMenuPrivate *d; -}; - -#define K_EXPORT_KICKER_MENUEXT( libname, classname ) \ - K_EXPORT_COMPONENT_FACTORY( \ - kickermenu_##libname, \ - KGenericFactory("libkickermenu_" #libname) ) - -#endif diff --git a/python/pykde/extra/kde314/krecentdirs.h b/python/pykde/extra/kde314/krecentdirs.h deleted file mode 100644 index 61a50706..00000000 --- a/python/pykde/extra/kde314/krecentdirs.h +++ /dev/null @@ -1,68 +0,0 @@ -/* -*- c++ -*- - * Copyright (C)2000 Waldo Bastian - * - * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * - * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND - * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE - * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS - * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) - * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT - * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY - * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF - * SUCH DAMAGE. - * - */ -#ifndef __KRECENTDIRS_H -#define __KRECENTDIRS_H - -#include - -/** - * The goal of this class is to make sure that, when the user needs to - * specify a file via the file selection dialog, this dialog will start - * in the directory most likely to contain the desired files. - * - * This works as follows: Each time the file selection dialog is - * shown, the programmer can specify a "file-class". The file-dialog will - * then start with the directory associated with this file-class. When - * the dialog closes, the directory currently shown in the file-dialog - * will be associated with the file-class. - * - * A file-class can either start with ':' or with '::'. If it starts with - * a single ':' the file-class is specific to the current application. - * If the file-class starts with '::' it is global to all applications. - */ -class KRecentDirs -{ -public: - /** - * Returns a list of directories associated with this file-class. - * The most recently used directory is at the front of the list. - */ - static TQStringList list(const TQString &fileClass); - - /** - * Returns the most recently used directory accociated with this file-class. - */ - static TQString dir(const TQString &fileClass); - - /** - * Associates @p directory with @p fileClass - */ - static void add(const TQString &fileClass, const TQString &directory); -}; - -#endif diff --git a/python/pykde/extra/kde314/ksycocafactory.h b/python/pykde/extra/kde314/ksycocafactory.h deleted file mode 100644 index 1959edda..00000000 --- a/python/pykde/extra/kde314/ksycocafactory.h +++ /dev/null @@ -1,137 +0,0 @@ -/* This file is part of the KDE libraries - * Copyright (C) 1999 Waldo Bastian - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License version 2 as published by the Free Software Foundation; - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public License - * along with this library; see the file COPYING.LIB. If not, write to - * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - * Boston, MA 02110-1301, USA. - **/ - -#ifndef __ksycocafactory_h__ -#define __ksycocafactory_h__ "$Id: ksycocafactory.h,v 1.13 2002/09/21 15:07:27 tjansen Exp $" - -#include "ksycocatype.h" -#include "ksycocaentry.h" - -#include -#include -class KSycoca; -class TQStringList; -class TQString; -class KSycocaDict; -class KSycocaResourceList; - -typedef TQDict KSycocaEntryDict; - -/** - * @internal - * Base class for sycoca factories - */ -class KSycocaFactory -{ -public: - virtual KSycocaFactoryId factoryId() const = 0; - -protected: // virtual class - /** - * Create a factory which can be used to lookup from/create a database - * (depending on KSycoca::isBuilding()) - */ - KSycocaFactory( KSycocaFactoryId factory_id ); - -public: - virtual ~KSycocaFactory(); - - /** - * @return the position of the factory in the sycoca file - */ - int offset() { return mOffset; } - - /** - * @return the dict, for special use by KBuildSycoca - */ - KSycocaEntryDict * entryDict() { return m_entryDict; } - - /** - * Construct an entry from a config file. - * To be implemented in the real factories. - */ - virtual KSycocaEntry *createEntry(const TQString &file, const char *resource) = 0; - - /** - * Add an entry - */ - virtual void addEntry(KSycocaEntry *newEntry, const char *resource); - - /** - * Read an entry from the database - */ - virtual KSycocaEntry *createEntry(int offset)=0; - - /** - * Get a list of all entries from the database. - */ - KSycocaEntry::List allEntries(); - - /** - * Saves all entries it maintains as well as index files - * for these entries to the stream 'str'. - * - * Also sets mOffset to the starting position. - * - * The stream is positioned at the end of the last index. - * - * Don't forget to call the parent first when you override - * this function. - */ - virtual void save(TQDataStream &str); - - /** - * Writes out a header to the stream 'str'. - * The baseclass positions the stream correctly. - * - * Don't forget to call the parent first when you override - * this function. - */ - virtual void saveHeader(TQDataStream &str); - - /** - * @return the resources for which this factory is responsible. - */ - virtual const KSycocaResourceList * resourceList() const { return m_resourceList; } - -private: - int mOffset; - -protected: - int m_sycocaDictOffset; - int m_beginEntryOffset; - int m_endEntryOffset; - TQDataStream *m_str; - - KSycocaResourceList *m_resourceList; - KSycocaEntryDict *m_entryDict; - KSycocaDict *m_sycocaDict; -protected: - virtual void virtual_hook( int id, void* data ); -}; - -/** This, instead of a typedef, allows to declare "class ..." in header files - * @internal - */ -class KSycocaFactoryList : public TQPtrList -{ -public: - KSycocaFactoryList() { } -}; - -#endif diff --git a/python/pykde/extra/kde314/ktoolbarbutton.h b/python/pykde/extra/kde314/ktoolbarbutton.h deleted file mode 100644 index 6fafb1ed..00000000 --- a/python/pykde/extra/kde314/ktoolbarbutton.h +++ /dev/null @@ -1,317 +0,0 @@ -/* This file is part of the KDE libraries - Copyright (C) 1997, 1998 Stephan Kulow (coolo@kde.org) - (C) 1997, 1998 Sven Radej (radej@kde.org) - (C) 1997, 1998 Mark Donohoe (donohoe@kde.org) - (C) 1997, 1998 Matthias Ettrich (ettrich@kde.org) - (C) 2000 Kurt Granroth (granroth@kde.org) - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License version 2 as published by the Free Software Foundation. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. -*/ - -// $Id: ktoolbarbutton.h,v 1.26 2002/09/28 15:16:22 tjansen Exp $ -#ifndef _KTOOLBARBUTTON_H -#define _KTOOLBARBUTTON_H - -#include -#include -#include -#include -#include - -class KToolBar; -class KToolBarButtonPrivate; -class KInstance; -class TQEvent; -class TQPopupMenu; -class TQPainter; - -/** - * A toolbar button. This is used internally by @ref KToolBar, use the - * KToolBar methods instead. - * @internal - */ -class KToolBarButton : public QToolButton -{ - Q_OBJECT - -public: - /** - * Construct a button with an icon loaded by the button itself. - * This will trust the button to load the correct icon with the - * correct size. - * - * @param icon Name of icon to load (may be absolute or relative) - * @param id Id of this button - * @param parent This button's parent - * @param name This button's internal name - * @param txt This button's text (in a tooltip or otherwise) - */ - KToolBarButton(const TQString& icon, int id, TQWidget *parent, - const char *name=0L, const TQString &txt=TQString::null, - KInstance *_instance = KGlobal::instance()); - - /** - * Construct a button with an existing pixmap. It is not - * recommended that you use this as the internal icon loading code - * will almost always get it "right". - * - * @param icon Name of icon to load (may be absolute or relative) - * @param id Id of this button - * @param parent This button's parent - * @param name This button's internal name - * @param txt This button's text (in a tooltip or otherwise) - */ - KToolBarButton(const TQPixmap& pixmap, int id, TQWidget *parent, - const char *name=0L, const TQString &txt=TQString::null); - - /** - * Construct a separator button - * - * @param parent This button's parent - * @param name This button's internal name - */ - KToolBarButton(TQWidget *parent=0L, const char *name=0L); - - /** - * Standard destructor - */ - ~KToolBarButton(); - -#ifndef KDE_NO_COMPAT - /** - * @deprecated - * Set the pixmap directly for this button. This pixmap should be - * the active one... the dimmed and disabled pixmaps are constructed - * based on this one. However, don't use this function unless you - * are positive that you don't want to use @ref setIcon. - * - * @param pixmap The active pixmap - */ - // this one is from TQButton, so #ifdef-ing it out doesn't break BC - virtual void setPixmap(const TQPixmap &pixmap); - - /** - * @deprecated - * Force the button to use this pixmap as the default one rather - * then generating it using effects. - * - * @param pixmap The pixmap to use as the default (normal) one - */ - void setDefaultPixmap(const TQPixmap& pixmap); - - /** - * @deprecated - * Force the button to use this pixmap when disabled one rather then - * generating it using effects. - * - * @param pixmap The pixmap to use when disabled - */ - void setDisabledPixmap(const TQPixmap& pixmap); -#endif - - /** - * Set the text for this button. The text will be either used as a - * tooltip (IconOnly) or will be along side the icon - * - * @param text The button (or tooltip) text - */ - virtual void setText(const TQString &text); - - /** - * Set the icon for this button. The icon will be loaded internally - * with the correct size. This function is preferred over @ref setIconSet - * - * @param icon The name of the icon - */ - virtual void setIcon(const TQString &icon); - - /// @since 3.1 - virtual void setIcon( const TQPixmap &pixmap ) - { TQToolButton::setIcon( pixmap ); } - - /** - * Set the pixmaps for this toolbar button from a TQIconSet. - * If you call this you don't need to call any of the other methods - * that set icons or pixmaps. - * @param iconset The iconset to use - */ - virtual void setIconSet( const TQIconSet &iconset ); - -#ifndef KDE_NO_COMPAT - /** - * @deprecated - * Set the active icon for this button. The pixmap itself is loaded - * internally based on the icon size... .. the disabled and default - * pixmaps, however will only be constructed if @ref #generate is - * true. This function is preferred over @ref setPixmap - * - * @param icon The name of the active icon - * @param generate If true, then the other icons are automagically - * generated from this one - */ - void setIcon(const TQString &icon, bool /*generate*/ ) { setIcon( icon ); } - - /** - * @deprecated - * Force the button to use this icon as the default one rather - * then generating it using effects. - * - * @param icon The icon to use as the default (normal) one - */ - void setDefaultIcon(const TQString& icon); - - /** - * @deprecated - * Force the button to use this icon when disabled one rather then - * generating it using effects. - * - * @param icon The icon to use when disabled - */ - void setDisabledIcon(const TQString& icon); -#endif - - /** - * Turn this button on or off - * - * @param flag true or false - */ - void on(bool flag = true); - - /** - * Toggle this button - */ - void toggle(); - - /** - * Turn this button into a toggle button or disable the toggle - * aspects of it. This does not toggle the button itself. - * Use @ref toggle() for that. - * - * @param toggle true or false - */ - void setToggle(bool toggle = true); - - /** - * Return a pointer to this button's popup menu (if it exists) - */ - TQPopupMenu *popup(); - - /** - * Give this button a popup menu. There will not be a delay when - * you press the button. Use @ref setDelayedPopup if you want that - * behavior. You can also make the popup-menu - * "sticky", i.e. visible until a selection is made or the mouse is - * clikced elsewhere, by simply setting the second argument to true. - * This "sticky" button feature allows you to make a selection without - * having to press and hold down the mouse while making a selection. - * - * @param p The new popup menu - * @param toggle if true, makes the button "sticky" (toggled) - */ - void setPopup (TQPopupMenu *p, bool toggle = false); - - /** - * Gives this button a delayed popup menu. - * - * This function allows you to add a delayed popup menu to the button. - * The popup menu is then only displayed when the button is pressed and - * held down for about half a second. You can also make the popup-menu - * "sticky", i.e. visible until a selection is made or the mouse is - * clikced elsewhere, by simply setting the second argument to true. - * This "sticky" button feature allows you to make a selection without - * having to press and hold down the mouse while making a selection. - * - * @param p the new popup menu - * @param toggle if true, makes the button "sticky" (toggled) - */ - void setDelayedPopup(TQPopupMenu *p, bool toggle = false); - - /** - * Turn this button into a radio button - * - * @param f true or false - */ - void setRadio(bool f = true); - - /** - * Toolbar buttons naturally will assume the global styles - * concerning icons, icons sizes, etc. You can use this function to - * explicitely turn this off, if you like. - * - * @param no_style Will disable styles if true - */ - void setNoStyle(bool no_style = true); - -signals: - void clicked(int); - void doubleClicked(int); - void pressed(int); - void released(int); - void toggled(int); - void highlighted(int, bool); - -public slots: - /** - * This slot should be called whenever the toolbar mode has - * potentially changed. This includes such events as text changing, - * orientation changing, etc. - */ - void modeChange(); - virtual void setTextLabel(const TQString&, bool tipToo); - -protected: - void paletteChange(const TQPalette &); - void leaveEvent(TQEvent *e); - void enterEvent(TQEvent *e); - void drawButton(TQPainter *p); - bool eventFilter (TQObject *o, TQEvent *e); - void showMenu(); - TQSize sizeHint() const; - TQSize minimumSizeHint() const; - TQSize minimumSize() const; - - /// @since 3.1 - bool isRaised() const; - /// @since 3.1 - bool isActive() const; - /// @since 3.1 - int iconTextMode() const; - -protected slots: - void slotClicked(); - void slotPressed(); - void slotReleased(); - void slotToggled(); - void slotDelayTimeout(); - -protected: - virtual void virtual_hook( int id, void* data ); -private: - KToolBarButtonPrivate *d; -}; - -/** -* List of @ref KToolBarButton objects. -* @internal -* @version $Id: ktoolbarbutton.h,v 1.26 2002/09/28 15:16:22 tjansen Exp $ -*/ -class KToolBarButtonList : public TQIntDict -{ -public: - KToolBarButtonList(); - ~KToolBarButtonList() {} -}; - -#endif diff --git a/python/pykde/extra/kde314/kurifilter.h b/python/pykde/extra/kde314/kurifilter.h deleted file mode 100644 index 4e7ad792..00000000 --- a/python/pykde/extra/kde314/kurifilter.h +++ /dev/null @@ -1,602 +0,0 @@ -/* - * This file is part of the KDE libraries - * Copyright (C) 2000 Yves Arrouye - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public License - * along with this library; see the file COPYING.LIB. If not, write to - * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - * Boston, MA 02110-1301, USA. - **/ - -#ifndef __kurifilter_h__ -#define __kurifilter_h__ "$Id: kurifilter.h,v 1.27.2.1 2003/06/06 09:12:16 mueller Exp $" - -#include -#include - -#include - -class KURIFilterPrivate; -class KURIFilterDataPrivate; - -class TQStringList; -class KCModule; - -/** -* This is a basic message object used for exchanging filtering -* information between the filter plugins and the application -* whenever the application requires more information about the -* URI than just a filtered version of it. Any application can -* create an instance of this class and send it to @ref KURIFilter -* to have the filter plugins fill the necessary information. -* -* @sect Example -*
-*   TQString text = "kde.org";
-*   KURIFilterData d = text;
-*   bool filtered = KURIFilter::self()->filter( d );
-*   if( filtered )
-*     print ( "URI: %s\n"Filtered URI: %s\n URI Type: %i\n"Was Filtered: %i"
-*             text.latin1(), d.uri().url().latin1(), d.uriType(), filtered );
-* 
-* -* The above code should yield the following output: -*
-*   URI: kde.org
-*   Filtered URI: http://kde.org
-*   URI Type: 0            <== means NET_PROTOCOL
-*   Was Filtered: 1        <== means the URL was successfully filtered
-* 
-* -* @short A message object for exchanging filtering URI info. -*/ - -class KURIFilterData -{ -friend class KURIFilterPlugin; - -public: - /** - * Describes the type of URI to be filtered. - * - * This enumerator prvoides the return value for - * @ref uriType. A brief description for each value: - * - * @li NET_PROTOCOL - Any network protocol: http, ftp, nttp, pop3, etc... - * @li LOCAL_FILE - A local file whose executable flag is not set - * @li LOCAL_DIR - A local directory - * @li EXECUTABLE - A local file whose executable flag is set - * @li HELP - A man or info page - * @li SHELL - A shell executable (ex: echo "Test..." >> ~/testfile) - * @li BLOCKED - A URI that should be blocked/filtered (ex: ad filtering) - * @li ERROR - An incorrect URI (ex: "~johndoe" when user johndoe - * does not exist in that system ) - * @li UNKNOWN - A URI that is not identified. Default value when - * a KURIFilterData is first created. - */ - enum URITypes { NET_PROTOCOL=0, LOCAL_FILE, LOCAL_DIR, EXECUTABLE, HELP, SHELL, BLOCKED, ERROR, UNKNOWN }; - - /** - * Default constructor. - * - * Creates a URIFilterData object. - */ - KURIFilterData() { init(); } - - /** - * Creates a URIFilterData object from the given URL. - * - * @param url is the URL to be filtered. - */ - KURIFilterData( const KURL& url ) { init( url); } - - /** - * Creates a URIFilterData object from the given string. - * - * @param url is the string to be filtered. - */ - KURIFilterData( const TQString& url ) { init( url ); } - - /** - * Copy constructor. - * - * Creates a URIFilterData object from another - * URI filter data object. - * - * @param data the uri filter data to be copied. - */ - KURIFilterData( const KURIFilterData& /*data*/); - - /** - * Destructor. - */ - ~KURIFilterData(); - - /** - * This method has been deprecated and will always return - * TRUE. You should instead use the result from the - * @ref KURIFilter::filterURI() calls. - * - * @deprecated - */ - bool hasBeenFiltered() const { return m_bFiltered; } - - /** - * Returns the filtered or the original URL. - * - * This function returns the filtered url if one - * of the plugins sucessfully filtered the original - * URL. Otherwise, it returns the original URL. - * See @ref #hasBeenFiltered() and - * - * @return the filtered or original url. - */ - KURL uri() const { return m_pURI; } - - /** - * Returns an error message. - * - * This functions returns the error message set - * by the plugin whenever the uri type is set to - * KURIFilterData::ERROR. Otherwise, it returns - * a TQString::null. - * - * @return the error message or a NULL when there is none. - */ - TQString errorMsg() const { return m_strErrMsg; } - - /** - * Returns the URI type. - * - * This method always returns KURIFilterData::UNKNOWN - * if the given URL was not filtered. - */ - URITypes uriType() const { return m_iType; } - - /** - * Sets the URL to be filtered. - * - * Use this function to set the string to be - * filtered when you construct an empty filter - * object. - * - * @param url the string to be filtered. - */ - void setData( const TQString& url ) { init( url ); } - - /** - * Same as above except the argument is a URL. - * - * Use this function to set the string to be - * filtered when you construct an empty filter - * object. - * - * @param url the URL to be filtered. - */ - void setData( const KURL& url ) { init( url ); } - - /** - * Sets the absolute path to be used whenever the supplied - * data is a relative local URL. - * - * NOTE: This function works only for a local resource and - * expects the absolute path to the relative URL set in this - * meta object. If you are extracting the absolute path from - * a KURL object, make sure you always set the argument below - * using KURL::path() instead of KURL::url() so that "file:/" - * would not be appended! Otherwise, the filter might not be - * able to make correct determination whether the relative URL - * locally exists! - * - * @param abs_path the abolute path to the local resource. - * @return true if absolute path is successfully set. Otherwise, false. - */ - bool setAbsolutePath( const TQString& /* abs_path */ ); - - /** - * Returns the absolute path if one has already been set. - */ - TQString absolutePath() const; - - /** - * Returns true if the supplied data has an absolute path. - */ - bool hasAbsolutePath() const; - - /** - * Returns the command line options and arguments for a - * local resource when present. - * - * @return options and arguments when present, otherwise TQString::null - */ - TQString argsAndOptions() const; - - /** - * Returns true if the current data is a local resource with - * command line options and arguments. - */ - bool hasArgsAndOptions() const; - - /** - * Returns the name of the icon that matches - * the current filtered URL. - * - * NOTE that this function will return a NULL - * string by default and when no associated icon - * is found. - * - * @return the name of the icon associated with the resource - */ - TQString iconName(); - - /** - * Overloaded assigenment operator. - * - * This function allows you to easily assign a KURL - * to a KURIFilterData object. - * - * @return an instance of a KURIFilterData object. - */ - KURIFilterData& operator=( const KURL& url ) { init( url ); return *this; } - - /** - * Overloaded assigenment operator. - * - * This function allows you to easily assign a QString - * to a KURIFilterData object. - * - * @return an instance of a KURIFilterData object. - */ - KURIFilterData& operator=( const TQString& url ) { init( url ); return *this; } - -protected: - - /** - * Initializes the KURIFilterData on construction. - */ - void init( const KURL& url = TQString::null ); - -private: - bool m_bFiltered; - bool m_bChanged; - - TQString m_strErrMsg; - TQString m_strIconName; - - KURL m_pURI; - URITypes m_iType; - KURIFilterDataPrivate *d; -}; - - -/** - * Base class for URI filter plugins. - * - * This class applies a single filter to a URI. All - * plugins designed to provide URI filtering functionalities - * should inherit from this abstract class and provide a - * specific filtering implementation. - * - * All inheriting classes need to implement the pure - * virtual function @ref filterURI. Otherwise, they - * would also become abstract. - * - * @short Abstract class for URI filter plugins. - */ -class KURIFilterPlugin : public QObject -{ - Q_OBJECT - -public: - - /** - * Constructs a filter plugin with a given name and - * priority. - * - * @param parent the parent object. - * @param name the name of the plugin. - * @param pri the priority of the plugin. - */ - KURIFilterPlugin( TQObject *parent = 0, const char *name = 0, double pri = 1.0 ); - - /** - * Returns the filter's name. - * - * @return A string naming the filter. - */ - virtual TQString name() const { return m_strName; } - - /** - * Returns the filter's priority. - * - * Each filter has an assigned priority, a float from 0 to 1. Filters - * with the lowest priority are first given a chance to filter a URI. - * - * @return The priority of the filter. - */ - virtual double priority() const { return m_dblPriority; } - - /** - * Filters a URI. - * - * @param data the URI data to be filtered. - * @return A boolean indicating whether the URI has been changed. - */ - virtual bool filterURI( KURIFilterData& data ) const = 0; - - /** - * Creates a configuration module for the filter. - * - * It is the responsability of the caller to delete the module - * once it is not needed anymore. - * - * @return A configuration module, @p null if the filter isn't configurable. - */ - virtual KCModule *configModule( TQWidget*, const char* ) const { return 0; } - - /** - * Returns the name of the configuration module for the filter. - * - * @return the name of a configuration module or @p null if none. - */ - virtual TQString configName() const { return name(); } - -protected: - - /** - * Sets the the URL in @p data to @p uri. - */ - void setFilteredURI ( KURIFilterData& data, const KURL& uri ) const; - - /** - * Sets the error message in @p data to @p errormsg. - */ - void setErrorMsg ( KURIFilterData& data, const TQString& errmsg ) const { - data.m_strErrMsg = errmsg; - } - - /** - * Sets the URI type in @p data to @p type. - */ - void setURIType ( KURIFilterData& data, KURIFilterData::URITypes type) const { - data.m_iType = type; - data.m_bChanged = true; - } - - /** - * Sets the arguments and options string in @p data - * to @p args if any were found during filterting. - */ - void setArguments( KURIFilterData& data, const TQString& args ) const; - - TQString m_strName; - double m_dblPriority; - -protected: - virtual void virtual_hook( int id, void* data ); -private: - class KURIFilterPluginPrivate *d; -}; - - -class KURIFilterPluginList : public TQPtrList -{ -public: - virtual int compareItems(Item a, Item b) - { - double diff = ((KURIFilterPlugin *) a)->priority() - ((KURIFilterPlugin *) b)->priority(); - return diff < 0 ? -1 : (diff > 0 ? 1 : 0); - } - -private: - KURIFilterPrivate *d; - -}; - -/** - * Manages the filtering of a URI. - * - * The intention of this plugin class is to allow people to extend - * the functionality of KURL without modifying it directly. This - * way KURL will remain a generic parser capable of parsing any - * generic URL that adheres to specifications. - * - * The KURIFilter class applies a number of filters to a URI, - * and returns the filtered version whenever possible. The filters - * are implemented using plugins to provide easy extensibility - * of the filtering mechanism. That is, new filters can be added in - * the future by simply inheriting from @ref KURIFilterPlugin and - * implementing the @ref KURIFilterPlugin::filterURI method. - * - * Use of this plugin-manager class is straight forward. Since - * it is a singleton object, all you have to do is obtain an instance - * by doing @p KURIFilter::self() and use any of the public member - * functions to preform the filtering. - * - * @sect Example - * - * To simply filter a given string: - *
- * bool filtered = KURIFilter::self()->filterURI( "kde.org" );
- * 
- * - * You can alternatively use a KURL: - *
- * KURL url = "kde.org";
- * bool filtered = KURIFilter::self()->filterURI( url );
- * 
- * - * If you have a constant string or a constant URL, - * simply invoke the corresponding function to obtain - * the filtered string or URL instead of a boolean flag: - *
- * TQString u = KURIFilter::self()->filteredURI( "kde.org" );
- * 
- * - * You can also specify only specific filter(s) to be applied - * by supplying the name(s) of the filter(s). By defualt all - * filters that are found are loaded when the KURIFilter object - * is created will be used. These names are taken from the - * enteries in the \".desktop\" files. Here are a couple of - * examples: - *
- * TQString text = "kde.org";
- * bool filtered = KURIFilter::self()->filterURI( text, "KShortURIFilter" );
- *
- * TQStringList list;
- * list << "KShortURIFilter" << "MyFilter";
- * bool filtered = KURIFilter::self()->filterURI( text, list );
- * 
- * - * KURIFilter also allows richer data exchange through a simple - * meta-object called @p KURIFilterData. Using this meta-object - * you can find out more information about the URL you want to - * filter. See @ref KURIFilterData for examples and details. - * - * @short Filters a given URL into its proper format whenever possible. - */ - -class KURIFilter -{ -public: - /** - * Destructor - */ - ~KURIFilter (); - - /** - * Return a static instance of KURIFilter. - */ - static KURIFilter* self(); - - /** - * Filters the URI given by the object URIFilterData. - * - * This filters the given data based on the specified - * filter list. If the list is empty all avaliable - * filter plugins would be used. If not, only those - * given in the list are used. - * - * @param data object that contains the URI to be filtered. - * @param filters specify the list filters to be used - * - * @return a boolean indicating whether the URI has been changed - */ - bool filterURI( KURIFilterData& data, const TQStringList& filters = TQStringList() ); - - /** - * Filters the URI given by the URL. - * - * This filters the given URL based on the specified - * filter list. If the list is empty all avaliable - * filter plugins would be used. If not, only those - * given in the list are used. - * - * @param uri the URI to filter. - * @param filters specify the list of filters to be used - * - * @return a boolean indicating whether the URI has been changed - */ - bool filterURI( KURL &uri, const TQStringList& filters = TQStringList() ); - - /** - * Filters a string representing a URI. - * - * This filters the given string based on the specified - * filter list. If the list is empty all avaliable - * filter plugins would be used. If not, only those - * given in the list are used. - * - * @param uri The URI to filter. - * @param filters specify the list filters to be used - * - * @return a boolean indicating whether the URI has been changed - */ - bool filterURI( TQString &uri, const TQStringList& filters = TQStringList() ); - - /** - * Returns the filtered URI. - * - * This filters the given URL based on the specified - * filter list. If the list is empty all avaliable - * filter plugins would be used. If not, only those - * given in the list are used. - * - * @param uri The URI to filter. - * @param filters specify the list filters to be used - * - * @return the filtered URI or null if it cannot be filtered - */ - KURL filteredURI( const KURL &uri, const TQStringList& filters = TQStringList() ); - - /** - * Return a filtered string representation of a URI. - * - * This filters the given URL based on the specified - * filter list. If the list is empty all avaliable - * filter plugins would be used. If not, only those - * given in the list are used. - * - * @param uri the URI to filter. - * @param filters specify the list filters to be used - * - * @return the filtered URI or null if it cannot be filtered - */ - TQString filteredURI( const TQString &uri, const TQStringList& filters = TQStringList() ); - - /** - * Return an iterator to iterate over all loaded - * plugins. - * - * @return a plugin iterator. - */ - TQPtrListIterator pluginsIterator() const; - - /** - * Return a list of the names of all loaded plugins - * - * @since 3.1 - * - * @return a TQStringList of plugin names - */ - TQStringList pluginNames() const; - -protected: - - /** - * A protected constructor. - * - * This constructor creates a KURIFilter and - * initializes all plugins it can find by invoking - * @ref loadPlugins. - */ - KURIFilter(); - - /** - * Loads all allowed plugins. - * - * This function loads all filters that have not - * been dis - */ - void loadPlugins(); - -private: - - static KURIFilter *m_self; - KURIFilterPluginList m_lstPlugins; - KURIFilterPrivate *d; - -}; - -#endif - diff --git a/python/pykde/extra/kde315/kaccelaction.h b/python/pykde/extra/kde315/kaccelaction.h deleted file mode 100644 index 8e422505..00000000 --- a/python/pykde/extra/kde315/kaccelaction.h +++ /dev/null @@ -1,564 +0,0 @@ -/* This file is part of the KDE libraries - Copyright (C) 2001,2002 Ellis Whitehead - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. -*/ - -#ifndef _KACCELACTION_H -#define _KACCELACTION_H - -#include -#include -#include -#include - -#include - -class KAccelBase; - -class TQObject; -class KConfig; -class KConfigBase; - -/** - * @internal - * A KAccelAction prepresents an action that can be executed using - * an accelerator key. Each KAccelAction has a name, a label, a - * "What's this" string and a @ref KShortcut. The user can configure and - * enable/disable them using @ref KKeyDialog. - * - *
- *	1) KAccelAction = "Run Command"
- *		Default3 = "Alt+F2"
- *		Default4 = "Meta+Enter;Alt+F2"
- *		1) KShortcut = "Meta+Enter"
- *			1) KKeySequence = "Meta+Enter"
- *				1) KKey = "Meta+Enter"
- *					1) Meta+Enter
- *					2) Meta+Keypad_Enter
- *		2) KShortcut = "Alt+F2"
- *			1) KKeySequence = "Alt+F2"
- *				1) Alt+F2
- *	2) KAccelAction = "Something"
- *		Default3 = ""
- *		Default4 = ""
- *		1) KShortcut = "Meta+X,Asterisk"
- *			1) KKeySequence = "Meta+X,Asterisk"
- *				1) KKey = "Meta+X"
- *					1) Meta+X
- *				2) KKey = "Asterisk"
- *					1) Shift+8 (English layout)
- *					2) Keypad_Asterisk
- * 
- * @short An accelerator action - * @see KAccel - * @see KGlobalAccel - * @see KKeyChooser - * @see KKeyDialog - */ -class KAccelAction -{ - public: - /** - * Creates an empty KAccelAction. - * @see clear() - */ - KAccelAction(); - - /** - * Copy constructor. - */ - KAccelAction( const KAccelAction& ); - - /** - * Creates a new KAccelAction. - * @param sName the name of the accelerator - * @param sLabel the label of the accelerator (i18n!) - * @param sWhatsThis the What's This text (18n!) - * @param cutDef3 the default shortcut for 3 modifier systems - * @param cutDef4 the default shortcut for 4 modifier systems - * @param pObjSlot the receiver of a signal when the key has been - * pressed - * @param psMethodSlot the slot to connect for key presses. Receives - * an int, as set by @ref setID(), as only argument - * @param bConfigurable if true the user can configure the shortcut - * @param bEnabled true if the accelerator should be enabled - */ - KAccelAction( const TQString& sName, const TQString& sLabel, const TQString& sWhatsThis, - const KShortcut& cutDef3, const KShortcut& cutDef4, - const TQObject* pObjSlot, const char* psMethodSlot, - bool bConfigurable, bool bEnabled ); - ~KAccelAction(); - - /** - * Clears the accelerator. - */ - void clear(); - - /** - * Re-initialized the KAccelAction. - * @param sName the name of the accelerator - * @param sLabel the label of the accelerator (i18n!) - * @param sWhatsThis the What's This text (18n!) - * @param cutDef3 the default shortcut for 3 modifier systems - * @param cutDef4 the default shortcut for 4 modifier systems - * @param pObjSlot the receiver of a signal when the key has been - * pressed - * @param psMethodSlot the slot to connect for key presses. Receives - * an int, as set by @ref setID(), as only argument - * @param bConfigurable if true the user can configure the shortcut - * @param bEnabled true if the accelerator should be enabled - * @return true if successful, false otherwise - */ - bool init( const TQString& sName, const TQString& sLabel, const TQString& sWhatsThis, - const KShortcut& cutDef3, const KShortcut& cutDef4, - const TQObject* pObjSlot, const char* psMethodSlot, - bool bConfigurable, bool bEnabled ); - - /** - * Copies this KAccelAction. - */ - KAccelAction& operator=( const KAccelAction& ); - - /** - * Returns the name of the accelerator action. - * @return the name of the accelerator action, can be null if not - * set - */ - const TQString& name() const { return m_sName; } - - /** - * Returns the label of the accelerator action. - * @return the label of the accelerator action, can be null if - * not set - */ - const TQString& label() const { return m_sLabel; } - - /** - * Returns the What's This text of the accelerator action. - * @return the What's This text of the accelerator action, can be - * null if not set - */ - const TQString& whatsThis() const { return m_sWhatsThis; } - - /** - * The shortcut that is actually used (may be used configured). - * @return the shortcut of the KAccelAction, can be null if not set - * @see shortcutDefault() - */ - const KShortcut& shortcut() const { return m_cut; } - - /** - * The default shortcut for this system. - * @return the default shortcut on this system, can be null if not set - * @see shortcut() - * @see shortcutDefault3() - * @see shortcutDefault4() - */ - const KShortcut& shortcutDefault() const; - - /** - * The default shortcut for 3 modifier systems. - * @return the default shortcut for 3 modifier systems, can be null - * if not set - * @see shortcutDefault() - * @see shortcutDefault4() - * @see useFourModifierKeys() - */ - const KShortcut& shortcutDefault3() const { return m_cutDefault3; } - - /** - * The default shortcut for 4 modifier systems. - * @return the default shortcut for 4 modifier systems, can be null - * if not set - * @see shortcutDefault() - * @see shortcutDefault3() - * @see useFourModifierKeys() - */ - const KShortcut& shortcutDefault4() const { return m_cutDefault4; } - - /** - * Returns the receiver of signals. - * @return the receiver of signals (can be 0 if not set) - */ - const TQObject* objSlotPtr() const { return m_pObjSlot; } - - /** - * Returns the slot for the signal. - * @return the slot for the signal - */ - const char* methodSlotPtr() const { return m_psMethodSlot; } - - /** - * Checks whether the user can configure the action. - * @return true if configurable, false otherwise - */ - bool isConfigurable() const { return m_bConfigurable; } - - /** - * Checks whether the action is enabled. - * @return true if enabled, false otherwise - */ - bool isEnabled() const { return m_bEnabled; } - - /** - * Sets the name of the accelerator action. - * @param name the new name - */ - void setName( const TQString& name ); - - /** - * Sets the user-readable label of the accelerator action. - * @param label the new label (i18n!) - */ - void setLabel( const TQString& label ); - - /** - * Sets the What's This text for the accelerator action. - * @param whatsThis the new What's This text (i18n!) - */ - void setWhatsThis( const TQString& whatsThis ); - - /** - * Sets the new shortcut of the accelerator action. - * @param rgCuts the shortcut to set - * @return true if successful, false otherwise - */ - bool setShortcut( const KShortcut& rgCuts ); - - /** - * Sets the slot of the accelerator action. - * @param pObjSlot the receiver object of the signal - * @param psMethodSlot the slot for the signal - */ - void setSlot( const TQObject* pObjSlot, const char* psMethodSlot ); - - /** - * Enables or disabled configuring the action. - * @param configurable true to enable configurability, false to disable - */ - void setConfigurable( bool configurable ); - - /** - * Enables or disabled the action. - * @param configurable true to enable the action, false to disable - */ - void setEnabled( bool enable ); - - /** - * Retrieves the id set using @ref setID. - * @return the id of the accelerator action - */ - int getID() const { return m_nIDAccel; } - - /** - * Allows you to set an id that will be used as the action - * signal's argument. - * - * @param n the new id - * @see @ref getID() - */ - void setID( int n ) { m_nIDAccel = n; } - - /** - * Checkes whether the action is connected (emits signals). - * @return true if connected, false otherwise - */ - bool isConnected() const; - - /** - * Sets a key sequence of the action's shortcut. - * @param i the position of the sequence - * @param keySeq the new new sequence - * @return true if successful, false otherwise - * @see KShortcut::setSeq() - */ - bool setKeySequence( uint i, const KKeySequence &keySeq ); - - /** - * Clears the action's shortcut. It will not contain any sequences after - * calling this method. - * @see KShortcut::clear() - */ - void clearShortcut(); - - /** - * Checks whether the action's shortcut contains the given key sequence. - * @param keySeq the key sequence to check - * @return true if the shortcut contains the given sequence - * @see KShortcut::contains() - */ - bool contains( const KKeySequence &keySeq ); - - /** - * Returns the string representation of the action's shortcut. - * @return the string representation of the action's shortcut. - * @see KShortcut::toString() - */ - TQString toString() const; - - /** - * @internal - */ - TQString toStringInternal() const; - - /** - * Returns true if four modifier keys will be used. - * @return true if four modifier keys will be used. - */ - static bool useFourModifierKeys(); - - /** - * Selects 3 or 4 modifier default shortcuts. - * @param use true to use 4 modifier shortcuts, false to use - * 3 modifier shortcuts - */ - static void useFourModifierKeys( bool use ); - - protected: - TQString m_sName, - m_sLabel, - m_sWhatsThis; - KShortcut m_cut; - KShortcut m_cutDefault3, m_cutDefault4; - const TQObject* m_pObjSlot; - const char* m_psMethodSlot; - bool m_bConfigurable, - m_bEnabled; - int m_nIDAccel; - uint m_nConnections; - - void incConnections(); - void decConnections(); - - private: - static int g_bUseFourModifierKeys; - class KAccelActionPrivate* d; - - friend class KAccelActions; - friend class KAccelBase; -}; - -//--------------------------------------------------------------------- -// KAccelActions -//--------------------------------------------------------------------- - -/** - * @internal - * This class represents a collection of @ref KAccelAction objects. - * - * @short A collection of accelerator actions - * @see KAccelAction - */ -class KAccelActions -{ - public: - /** - * Creates a new, empty KAccelActions object. - */ - KAccelActions(); - - /** - * Copy constructor (deep copy). - */ - KAccelActions( const KAccelActions& ); - virtual ~KAccelActions(); - - /** - * Removes all items from this collection. - */ - void clear(); - - /** - * Initializes this object with the given actions. - * It will make a deep copy of all actions. - * @param actions the actions to copy - * @return true if successful, false otherwise - */ - bool init( const KAccelActions &actions ); - - /** - * Loads the actions from the given configuration file. - * - * @param config the configuration file to load from - * @param sGroup the group in the configuration file - * @return true if successful, false otherwise - */ - bool init( KConfigBase& config, const TQString& sGroup ); - - /** - * Updates the shortcuts of all actions in this object - * with the shortcuts from the given object. - * @param shortcuts the collection that contains the new - * shortcuts - */ - void updateShortcuts( KAccelActions &shortcuts ); - - /** - * Retrieves the index of the action with the given name. - * @param sAction the action to search - * @return the index of the action, or -1 if not found - */ - int actionIndex( const TQString& sAction ) const; - - /** - * Returns the action with the given @p index. - * @param index the index of an action. You must not - * use an index that is too high. - * @return the KAccelAction with the given index - * @see count() - */ - KAccelAction* actionPtr( uint index ); - - /** - * Returns the action with the given @p index. - * @param index the index of an action. You must not - * use an index that is too high. - * @return the KAccelAction with the given index - * @see count() - */ - const KAccelAction* actionPtr( uint index ) const; - - /** - * Returns the action with the given name. - * @param aAction the name of the action to search - * @return the KAccelAction with the given name, or 0 - * if not found - */ - KAccelAction* actionPtr( const TQString& sAction ); - - /** - * Returns the action with the given name. - * @param aAction the name of the action to search - * @return the KAccelAction with the given name, or 0 - * if not found - */ - const KAccelAction* actionPtr( const TQString& sAction ) const; - - /** - * Returns the action with the given key sequence. - * @param cut the sequence to search for - * @return the KAccelAction with the given sequence, or 0 - * if not found - */ - KAccelAction* actionPtr( KKeySequence cut ); - - /** - * Returns the action with the given @p index. - * @param index the index of an action. You must not - * use an index that is too high. - * @return the KAccelAction with the given index - * @see actionPtr() - * @see count() - */ - KAccelAction& operator []( uint index ); - - /** - * Returns the action with the given @p index. - * @param index the index of an action. You must not - * use an index that is too high. - * @return the KAccelAction with the given index - * @see actionPtr() - * @see count() - */ - const KAccelAction& operator []( uint index ) const; - - /** - * Inserts an action into the collection. - * @param sName the name of the accelerator - * @param sLabel the label of the accelerator (i18n!) - * @param sWhatsThis the What's This text (18n!) - * @param cutDef3 the default shortcut for 3 modifier systems - * @param cutDef4 the default shortcut for 4 modifier systems - * @param pObjSlot the receiver of a signal when the key has been - * pressed - * @param psMethodSlot the slot to connect for key presses. Receives - * an int, as set by @ref setID(), as only argument - * @param bConfigurable if true the user can configure the shortcut - * @param bEnabled true if the accelerator should be enabled - * @return the new action - */ - KAccelAction* insert( const TQString& sAction, const TQString& sLabel, const TQString& sWhatsThis, - const KShortcut& rgCutDefaults3, const KShortcut& rgCutDefaults4, - const TQObject* pObjSlot = 0, const char* psMethodSlot = 0, - bool bConfigurable = true, bool bEnabled = true ); - - /** - * Inserts an action into the collection. - * @param sName the name of the accelerator - * @param sLabel the label of the accelerator (i18n!) - * @return the new action - */ - KAccelAction* insert( const TQString& sName, const TQString& sLabel ); - - /** - * Removes the given action. - * @param sAction the name of the action. - * @return true if successful, false otherwise - */ - bool remove( const TQString& sAction ); - - /** - * Loads the actions from the given configuration file. - * - * @param sConfigGroup the group in the configuration file - * @param pConfig the configuration file to load from - * @return true if successful, false otherwise - */ - bool readActions( const TQString& sConfigGroup = "Shortcuts", KConfigBase* pConfig = 0 ); - - /** - * Writes the actions to the given configuration file. - * - * @param sConfigGroup the group in the configuration file - * @param pConfig the configuration file to save to - * @param bWriteAll true to write all actions - * @param bGlobal true to write to the global configuration file - * @return true if successful, false otherwise - */ - bool writeActions( const TQString& sConfigGroup = "Shortcuts", KConfigBase* pConfig = 0, - bool bWriteAll = false, bool bGlobal = false ) const; - - /** - * Emit a keycodeChanged signal. - */ - void emitKeycodeChanged(); - - /** - * Returns the number of actions in the collection. - * @return the number of actions - */ - uint count() const; - - protected: - KAccelBase* m_pKAccelBase; - KAccelAction** m_prgActions; - uint m_nSizeAllocated, m_nSize; - - void resize( uint ); - void insertPtr( KAccelAction* ); - - private: - class KAccelActionsPrivate* d; - - KAccelActions( KAccelBase* ); - void initPrivate( KAccelBase* ); - KAccelActions& operator =( KAccelActions& ); - - friend class KAccelBase; -}; - -#endif // _KACCELACTION_H diff --git a/python/pykde/extra/kde315/kaccelbase.h b/python/pykde/extra/kde315/kaccelbase.h deleted file mode 100644 index 03fa9c87..00000000 --- a/python/pykde/extra/kde315/kaccelbase.h +++ /dev/null @@ -1,229 +0,0 @@ -/* This file is part of the KDE libraries - Copyright (C) 2001 Ellis Whitehead - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. -*/ - -#ifndef _KACCELBASE_H -#define _KACCELBASE_H - -#include -#include -#include -#include -#include - -#include "kaccelaction.h" -#include "kkeyserver_x11.h" - -class TQPopupMenu; -class TQWidget; - -//---------------------------------------------------- - -/** - * @internal - * Handle keyboard accelerators. - * - * Allow an user to configure - * key bindings through application configuration files or through the - * @ref KKeyChooser GUI. - * - * A @ref KAccel contains a list of accelerator items. Each accelerator item - * consists of an action name and a keyboard code combined with modifiers - * (Shift, Ctrl and Alt.) - * - * For example, "Ctrl+P" could be a shortcut for printing a document. The key - * codes are listed in ckey.h. "Print" could be the action name for printing. - * The action name identifies the key binding in configuration files and the - * @ref KKeyChooser GUI. - * - * When pressed, an accelerator key calls the slot to which it has been - * connected. Accelerator items can be connected so that a key will activate - * two different slots. - * - * A KAccel object handles key events sent to its parent widget and to all - * children of this parent widget. - * - * Key binding reconfiguration during run time can be prevented by specifying - * that an accelerator item is not configurable when it is inserted. A special - * group of non-configurable key bindings are known as the - * standard accelerators. - * - * The standard accelerators appear repeatedly in applications for - * standard document actions such as printing and saving. Convenience methods are - * available to insert and connect these accelerators which are configurable on - * a desktop-wide basis. - * - * It is possible for a user to choose to have no key associated with - * an action. - * - * The translated first argument for @ref insertItem() is used only - * in the configuration dialog. - *
- * KAccel *a = new KAccel( myWindow );
- * // Insert an action "Scroll Up" which is associated with the "Up" key:
- * a->insertItem( i18n("Scroll up"), "Scroll Up", "Up" );
- * // Insert an action "Scroll Down" which is not associated with any key:
- * a->insertItem( i18n("Scroll down"), "Scroll Down", 0);
- * a->connectItem( "Scroll up", myWindow, TQT_SLOT( scrollUp() ) );
- * // a->insertStdItem( KStdAccel::Print ); //not necessary, since it
- *	// is done automatially with the
- *	// connect below!
- * a->connectItem(KStdAccel::Print, myWindow, TQT_SLOT( printDoc() ) );
- *
- * a->readSettings();
- *
- * - * If a shortcut has a menu entry as well, you could insert them like - * this. The example is again the @ref KStdAccel::Print from above. - * - *
- * int id;
- * id = popup->insertItem("&Print",this, TQT_SLOT(printDoc()));
- * a->changeMenuAccel(popup, id, KStdAccel::Print );
- * 
- * - * If you want a somewhat "exotic" name for your standard print action, like - * id = popup->insertItem(i18n("Print &Document"),this, TQT_SLOT(printDoc())); - * it might be a good idea to insert the standard action before as - * a->insertStdItem( KStdAccel::Print, i18n("Print Document") ) - * as well, so that the user can easily find the corresponding function. - * - * This technique works for other actions as well. Your "scroll up" function - * in a menu could be done with - * - *
- *    id = popup->insertItem(i18n"Scroll &up",this, TQT_SLOT(scrollUp()));
- *    a->changeMenuAccel(popup, id, "Scroll Up" );
- * 
- * - * Please keep the order right: First insert all functions in the - * acceleratior, then call a -> @ref readSettings() and @em then build your - * menu structure. - * - * @short Configurable key binding support. - * @version $Id: kaccelbase.h,v 1.22 2002/10/06 18:19:39 ellis Exp $ - */ - -class KAccelBase -{ - public: - enum Init { QT_KEYS = 0x00, NATIVE_KEYS = 0x01 }; - enum Signal { KEYCODE_CHANGED }; - - KAccelBase( int fInitCode ); - virtual ~KAccelBase(); - - uint actionCount() const; - KAccelActions& actions(); - bool isEnabled() const; - - KAccelAction* actionPtr( const TQString& sAction ); - const KAccelAction* actionPtr( const TQString& sAction ) const; - KAccelAction* actionPtr( const KKey& key ); - KAccelAction* actionPtr( const KKeyServer::Key& key ); - - const TQString& configGroup() const { return m_sConfigGroup; } - void setConfigGroup( const TQString& group ); - void setConfigGlobal( bool global ); - virtual void setEnabled( bool bEnabled ) = 0; - bool getAutoUpdate() { return m_bAutoUpdate; } - // return value of AutoUpdate flag before this call. - bool setAutoUpdate( bool bAuto ); - -// Procedures for manipulating Actions. - //void clearActions(); - - KAccelAction* insert( const TQString& sName, const TQString& sDesc ); - KAccelAction* insert( - const TQString& sAction, const TQString& sDesc, const TQString& sHelp, - const KShortcut& rgCutDefaults3, const KShortcut& rgCutDefaults4, - const TQObject* pObjSlot, const char* psMethodSlot, - bool bConfigurable = true, bool bEnabled = true ); - bool remove( const TQString& sAction ); - bool setActionSlot( const TQString& sAction, const TQObject* pObjSlot, const char* psMethodSlot ); - - bool updateConnections(); - - bool setShortcut( const TQString& sAction, const KShortcut& cut ); - -// Modify individual Action sub-items - bool setActionEnabled( const TQString& sAction, bool bEnable ); - - /** - * Read all key associations from @p config, or (if @p config - * is zero) from the application's configuration file - * @ref KGlobal::config(). - * - * The group in which the configuration is stored can be - * set with @ref setConfigGroup(). - */ - void readSettings( KConfigBase* pConfig = 0 ); - - /** - * Write the current configurable associations to @p config, - * or (if @p config is zero) to the application's - * configuration file. - */ - void writeSettings( KConfigBase* pConfig = 0 ) const; - - TQPopupMenu* createPopupMenu( TQWidget* pParent, const KKeySequence& ); - - // Protected methods - protected: - void slotRemoveAction( KAccelAction* ); - - void createKeyList( TQValueVector& rgKeys ); - bool insertConnection( KAccelAction* ); - bool removeConnection( KAccelAction* ); - - virtual bool emitSignal( Signal ) = 0; - virtual bool connectKey( KAccelAction&, const KKeyServer::Key& ) = 0; - virtual bool connectKey( const KKeyServer::Key& ) = 0; - virtual bool disconnectKey( KAccelAction&, const KKeyServer::Key& ) = 0; - virtual bool disconnectKey( const KKeyServer::Key& ) = 0; - - protected: - struct ActionInfo - { - KAccelAction* pAction; - uint iSeq, iVariation; - //ActionInfo* pInfoNext; // nil if only one action uses this key. - - ActionInfo() { pAction = 0; iSeq = 0xffff; iVariation = 0xffff; } - ActionInfo( KAccelAction* _pAction, uint _iSeq, uint _iVariation ) - { pAction = _pAction; iSeq = _iSeq; iVariation = _iVariation; } - }; - typedef TQMap KKeyToActionMap; - - KAccelActions m_rgActions; - KKeyToActionMap m_mapKeyToAction; - TQValueList m_rgActionsNonUnique; - bool m_bNativeKeys; // Use native key codes instead of Qt codes - bool m_bEnabled; - bool m_bConfigIsGlobal; - TQString m_sConfigGroup; - bool m_bAutoUpdate; - KAccelAction* mtemp_pActionRemoving; - - private: - KAccelBase& operator =( const KAccelBase& ); - - friend class KAccelActions; -}; - -#endif // _KACCELBASE_H diff --git a/python/pykde/extra/kde315/kicontheme.h b/python/pykde/extra/kde315/kicontheme.h deleted file mode 100644 index 97cd9eac..00000000 --- a/python/pykde/extra/kde315/kicontheme.h +++ /dev/null @@ -1,331 +0,0 @@ -/* vi: ts=8 sts=4 sw=4 - * - * $Id: kicontheme.h,v 1.26.2.1 2003/09/21 20:10:28 mcamen Exp $ - * - * This file is part of the KDE project, module kdecore. - * Copyright (C) 2000 Geert Jansen - * Antonio Larrosa - * - * This is free software; it comes under the GNU Library General - * Public License, version 2. See the file "COPYING.LIB" for the - * exact licensing terms. - * - */ - -#ifndef __KIconTheme_h_Included__ -#define __KIconTheme_h_Included__ - -#include -#include -#include - -class KConfig; -//class KIconThemeDir; - -class KIconThemePrivate; - -class KIconPrivate; - -/** - * One icon as found by KIconTheme. Also serves as a namespace containing - * icon related constants. - * @see KIconEffect - * @see KIconTheme - * @see KIconLoader - */ -class KIcon -{ -public: - KIcon() { size = 0; } - - /** - * Return true if this icon is valid, false otherwise. - */ - bool isValid() const { return size != 0; } - - /** - * Defines the context of the icon. - */ - enum Context { - Any, ///< Some icon with unknown purpose. - Action, ///< An action icon (e.g. 'save', 'print'). - Application, ///< An icon that represents an application. - Device, ///< An icon that represents a device. - FileSystem, ///< An icon that represents a file system. - MimeType ///< An icon that represents a mime type (or file type). - }; - - /** - * The type of the icon. - */ - enum Type { - Fixed, ///< Fixed-size icon. - Scalable, ///< Scalable-size icon. - Threshold ///< A threshold icon. - }; - - /** - * The type of a match. - */ - enum MatchType { - MatchExact, ///< Only try to find an exact match. - MatchBest ///< Take the best match if there is no exact match. - - }; - - // if you add a group here, make sure to change the config reading in - // KIconLoader too - /** - * The group an an icon. - */ - enum Group { NoGroup=-1, Desktop=0, FirstGroup=0, Toolbar, - MainToolbar, Small, Panel, LastGroup, User }; - - /** - * These are the standard sizes for icons. - */ - enum StdSizes { - /// small icons for menu entries - SizeSmall=16, - /// medium sized icons for the desktop - SizeMedium=32, - /// large sized icons for the panel - SizeLarge=48 }; - - /** - * Defines the possible states of an icon. - */ - enum States { DefaultState, ///< The default state. - ActiveState, ///< Icon is active. - DisabledState, ///< Icon is disabled. - LastState ///< Last state (last constant) - }; - - /** - * This defines an overlay, a semi-transparent image that is - * projected onto the icon. They are used to show that the file - * represented by the icon is, for example, locked, zipped or hidden. - */ - enum Overlays { - LockOverlay=0x100, ///< a file is locked - ZipOverlay=0x200, ///< a file is zipped - LinkOverlay=0x400, ///< a fileis a link - HiddenOverlay=0x800, ///< a file is hidden - ShareOverlay=0x1000, ///< a file is shared - OverlayMask = ~0xff - }; - - /** - * The size in pixels of the icon. - */ - int size; - - /** - * The context of the icon. - */ - Context context; - - /** - * The type of the icon: Fixed, Scalable or Threshold. - **/ - Type type; - - /** - * The threshold in case type == Threshold - */ - int threshold; - - /** - * The full path of the icon. - */ - TQString path; - -private: - KIconPrivate *d; -}; - -inline KIcon::Group& operator++(KIcon::Group& group) { group = static_cast(group+1); return group; } -inline KIcon::Group operator++(KIcon::Group& group,int) { KIcon::Group ret = group; ++group; return ret; } - -/** - * Class to use/access icon themes in KDE. This class is used by the - * iconloader but can be used by others too. - * @see KIconLoader - */ -class KIconTheme -{ -public: - /** - * Load an icon theme by name. - * @param name the name of the theme (e.g. "hicolor" or "keramik") - * @param appName the name of the application. Can be null. This argument - * allows applications to have themed application icons. - */ - KIconTheme(const TQString& name, const TQString& appName=TQString::null); - ~KIconTheme(); - - /** - * The stylized name of the icon theme. - * @return the (human-readable) name of the theme - */ - TQString name() const { return mName; } - - /** - * A description for the icon theme. - * @return a human-readable description of the theme, TQString::null - * if there is none - */ - TQString description() const { return mDesc; } - - /** - * Return the name of the "example" icon. This can be used to - * present the theme to the user. - * @return the name of the example icon, TQString::null if there is none - */ - TQString example() const; - - /** - * Return the name of the screenshot. - * @return the name of the screenshot, TQString::null if there is none - */ - TQString screenshot() const; - - /** - * Returns the name of this theme's link overlay. - * @return the name of the link overlay - */ - TQString linkOverlay() const; - - /** - * Returns the name of this theme's zip overlay. - * @return the name of the zip overlay - */ - TQString zipOverlay() const; - - /** - * Returns the name of this theme's lock overlay. - * @return the name of the lock overlay - */ - TQString lockOverlay() const; - - /** - * Returns the name of this theme's share overlay. - * @return the name of the share overlay - * @since 3.1 - */ - TQString shareOverlay () const; - - /** - * Returns the toplevel theme directory. - * @return the directory of the theme - */ - TQString dir() const { return mDir; } - - /** - * The themes this icon theme falls back on. - * @return a list of icon themes that are used as fall-backs - */ - TQStringList inherits() const { return mInherits; } - - /** - * The icon theme exists? - * @return true if the icon theme is valid - */ - bool isValid() const; - - /** - * The icon theme should be hidden to the user? - * @return true if the icon theme is hidden - * @since 3.1 - */ - bool isHidden() const; - - /** - * The minimum display depth required for this theme. This can either - * be 8 or 32. - * @return the minimum bpp (8 or 32) - */ - int depth() const { return mDepth; } - - /** - * The default size of this theme for a certain icon group. - * @param group The icon group. See @ref #KIcon::Group. - * @return The default size in pixels for the given icon group. - */ - int defaultSize(KIcon::Group group) const; - - /** - * Query available sizes for a group. - * @param group The icon group. See @ref #KIcon::Group. - * @return a list of available sized for the given group - */ - TQValueList querySizes(KIcon::Group group) const; - - /** - * Query available icons for a size and context. - * @param size the size of the icons - * @param context the context of the icons - * @return the list of icon names - */ - TQStringList queryIcons(int size, KIcon::Context context = KIcon::Any) const; - - /** - * Query available icons for a context and preferred size. - * @param size the size of the icons - * @param context the context of the icons - * @return the list of icon names - */ - TQStringList queryIconsByContext(int size, KIcon::Context context = KIcon::Any) const; - - - /** - * Lookup an icon in the theme. - * @param name The name of the icon, without extension. - * @param size The desired size of the icon. - * @param match The matching mode. KIcon::MatchExact returns an icon - * only if matches exactly. KIcon::MatchBest returns the best matching - * icon. - * @return A KIcon class that describes the icon. If an icon is found, - * @see KIcon::isValid will return true, and false otherwise. - */ - KIcon iconPath(const TQString& name, int size, KIcon::MatchType match) const; - - /** - * List all icon themes installed on the system, global and local. - * @return the list of all icon themes - */ - static TQStringList list(); - - /** - * Returns the current icon theme. - * @return the name of the current theme - */ - static TQString current(); - - /** - * Reconfigure the theme. - */ - static void reconfigure(); - - /** - * Returns the default icon theme. - * @return the name of the default theme name - * @since 3.1 - */ - static TQString defaultThemeName(); - -private: - int mDefSize[8]; - TQValueList mSizes[8]; - - int mDepth; - TQString mDir, mName, mDesc; - TQStringList mInherits; -// TQPtrList mDirs; - KIconThemePrivate *d; - - static TQString *_theme; - static TQStringList *_theme_list; -}; - -#endif diff --git a/python/pykde/extra/kde315/kkeyserver_x11.h b/python/pykde/extra/kde315/kkeyserver_x11.h deleted file mode 100644 index 48d6c334..00000000 --- a/python/pykde/extra/kde315/kkeyserver_x11.h +++ /dev/null @@ -1,435 +0,0 @@ -#ifndef _KKEYSERVER_X11_H -#define _KKEYSERVER_X11_H - -#include "kshortcut.h" -#include "kkeynative.h" - -/** - * A collection of functions for the conversion of key presses and - * their modifiers from the window system (X11) specific format - * to the generic format and vice-versa. - */ -namespace KKeyServer -{ - /** - * Supplement enum KKey::ModFlag - * @since 3.1 - */ - enum ExtraModFlag { MODE_SWITCH = 0x2000 }; - - struct CodeMod { int code, mod; }; - - /** - * Represents a key symbol. - * @see KKey - * @see KKeyServer - */ - struct Sym - { - public: - /// the actual value of the symbol - uint m_sym; - - /// Creates a null symbol. - Sym() - { m_sym = 0; } - /** - * Creates asymbol with the given value. - * @param sym the value - */ - Sym( uint sym ) - { m_sym = sym; } - /** - * Creates a symbol from the given string description. - * @param s the description of the symbol - * @see toString() - */ - Sym( const TQString& s ) - { init( s ); } - - /** - * Initializes the symbol with the given Qt key code. - * @param keyQt the qt key code - * @return true if succesful, false otherwise - * @see Qt::Key - */ - bool initQt( int keyQt ); - - /** - * Initializes the key with the given string description. - * @param s the string description - * @return true if succesful, false otherwise - * @see toString() - */ - bool init( const TQString &s ); - - /** - * Returns the qt key code of the symbol. - * @return the qt key code - */ - int qt() const; - - /** - * @internal - */ - TQString toStringInternal() const; - - /** - * Returns the string representation of the symbol. - * @return the string representation of the symbol - */ - TQString toString() const; - - /** - * Returns the mods that are required for this symbol as - * ORed @ref KKey::ModFlag's. For example, Break requires a - * Ctrl to be valid. - * @return the required @ref KKey::ModFlag's - * @see KKey::ModFlag - */ - uint getModsRequired() const; - - /** - * TODO: please find out what this method does and document it - */ - uint getSymVariation() const; - - /** - * Casts the symbol to its integer representation. - */ - operator uint() const { return m_sym; } - - /** - * Overloaded operator to convert ints to Sym. - */ - Sym& operator =( uint sym ) { m_sym = sym; return *this; } - - private: - TQString toString( bool bUserSpace ) const; - - static void capitalizeKeyname( TQString& ); - }; - - /** - * Represents a key press. - * @see KKey - */ - struct Key - { - /// Code for native Keys in Qt - enum { CODE_FOR_QT = 256 }; - - /// The code of the key - uint m_code; - - /// The modifiers of the key - uint m_mod; - - /// The symbol of the key - uint m_sym; - - /** - * Initializes the key with a @ref KKey. - * @param key the key to get the data from - * @param bQt true to take the Qt keycode, false - * for the native key code - * @see Qt::Key - * @see KKeyNative - */ - bool init( const KKey& key, bool bQt ); - - /** - * Checks whether the key code is a native code. - * @return true if native code of the window system, - * false if it is a Qt keycode - * @see Qt::Key - * @see KKeyNative - */ - bool isNative() const { return m_code != CODE_FOR_QT; } - - /** - * Returns the code of the key. - * @return the code of the key - */ - uint code() const { return m_code; } - - /** - * Returns the modifiers of the key. - * @return the modifiers of the key - */ - uint mod() const { return m_mod; } - - /** - * Returns the symbol of the key. - * @return the symbol of the key - */ - uint sym() const { return m_sym; } - - /** - * Returns the qt key code. - * @return the qt key code - */ - int keyCodeQt() const { return (int) m_sym; } - - /** - * Sets the qt key code. - * @param keyQt the qt key code - */ - void setKeycodeQt( int keyQt ) - { m_code = CODE_FOR_QT; m_sym = keyQt; } - - /** - * Initializes this key with a @ref KKeyNative. - * @return this key - */ - Key& operator =( const KKeyNative& key ); - - /** - * Compares this key with the given Key object. Returns a - * negative number if the given Key is larger, 0 if they - * are equal and a positive number this Key is larger. The - * returned value is the difference between the symbol, modifier - * or code, whatever is non-zero first. - * - * @param key the key to compare with this key - * @return a negative number if the given Key is larger, 0 if - * they are equal and a positive number this Key is larger - */ - int compare( const Key& key ) const; - - /** - * Compares the symbol, modifiers and code of both keys. - * @see compare() - */ - bool operator ==( const Key& b ) const - { return compare( b ) == 0; } - - /** - * Compares the symbol, modifiers and code of both keys. - * @see compare() - */ - bool operator <( const Key& b ) const - { return compare( b ) < 0; } - - /** - * Converts this Key to a KKey. - * @return the KKey - */ - KKey key() const; - }; - - /** - * TODO: please document this class - */ - struct Variations - { - enum { MAX_VARIATIONS = 4 }; - - Key m_rgkey[MAX_VARIATIONS]; - uint m_nVariations; - - Variations() { m_nVariations = 0; } - - void init( const KKey&, bool bQt ); - - uint count() const { return m_nVariations; } - const Key& key( uint i ) const { return m_rgkey[i]; } - }; - - /// TODO: please document - bool initializeMods(); - - /** - * Returns the equivalent X modifier mask of the given modifier flag. - * @param modFlag the generic flags to check - * @return the window system specific flags - */ - uint modX( KKey::ModFlag modFlag ); - - /** - * Returns true if the current keyboard layout supports the Win key. - * Specifically, whether the Super or Meta keys are assigned to an X modifier. - * @return true if the keyboard has a Win key - * @see modXWin() - */ - bool keyboardHasWinKey(); - - /** - * Returns the X11 Shift modifier mask/flag. - * @return the X11 Shift modifier mask/flag. - * @see accelModMaskX() - */ - uint modXShift(); - - /** - * Returns the X11 Lock modifier mask/flag. - * @return the X11 Lock modifier mask/flag. - * @see accelModMaskX() - */ - uint modXLock(); - - /** - * Returns the X11 Ctrl modifier mask/flag. - * @return the X11 Ctrl modifier mask/flag. - * @see accelModMaskX() - */ - uint modXCtrl(); - - /** - * Returns the X11 Alt (Mod1) modifier mask/flag. - * @return the X11 Alt (Mod1) modifier mask/flag. - * @see accelModMaskX() - */ - uint modXAlt(); - - /** - * Returns the X11 NumLock modifier mask/flag. - * @return the X11 NumLock modifier mask/flag. - * @see accelModMaskX() - */ - uint modXNumLock(); - - /** - * Returns the X11 Win (Mod3) modifier mask/flag. - * @return the X11 Win (Mod3) modifier mask/flag. - * @see keyboardHasWinKey() - * @see accelModMaskX() - */ - uint modXWin(); - - /** - * Returns the X11 ScrollLock modifier mask/flag. - * @return the X11 ScrollLock modifier mask/flag. - * @see accelModMaskX() - */ - uint modXScrollLock(); - - /** - * Returns bitwise OR'ed mask containing Shift, Ctrl, Alt, and - * Win (if available). - * @see modXShift() - * @see modXLock() - * @see modXCtrl() - * @see modXAlt() - * @see modXNumLock() - * @see modXWin() - * @see modXScrollLock() - */ - uint accelModMaskX(); - - /** - * Extracts the symbol from the given Qt key and - * converts it to a symbol. - * @param keyQt the qt key code - * @param sym if successful, the symbol will be written here - * @return true if successful, false otherwise - * @see Qt::Key - * @see Sym - */ - bool keyQtToSym( int keyQt, uint& sym ); - - /** - * Extracts the modifiers from the given Qt key and - * converts them in a mask of ORed @ref KKey::ModFlag modifiers. - * @param keyQt the qt key code - * @param mod if successful, the modifiers will be written here - * @return true if successful, false otherwise - * @see Qt::Key - */ - bool keyQtToMod( int keyQt, uint& mod ); - - /** - * Converts the given symbol to a Qt key code. - * @param sym the symbol - * @param keyQt if successful, the qt key code will be written here - * @return true if successful, false otherwise - * @see Qt::Key - * @see Sym - */ - bool symToKeyQt( uint sym, int& keyQt ); - - /** - * Converts the mask of ORed @ref KKey::ModFlag modifiers to - * a mask of ORed Qt key code modifiers. - * @param the mask of @ref KKey::ModFlag modifiers - * @param the mask of Qt key code modifiers will be written here, - * if successful - * @return true if successful, false otherwise - * @see Qt::Key - * @see KKey - */ - bool modToModQt( uint mod, int& modQt ); - - /** - * Converts the mask of ORed @ref KKey::ModFlag modifiers to - * a mask of ORed X11 modifiers. - * @param the mask of @ref KKey::ModFlag modifiers - * @param the mask of X11 modifiers will be written here, - * if successful - * @return true if successful, false otherwise - * @see KKey - */ - bool modToModX( uint mod, uint& modX ); - - /** - * Converts the mask of ORed X11 modifiers to - * a mask of ORed Qt key code modifiers. - * @param the mask of X11 modifiers - * @param the mask of Qt key code modifiers will be written here - * if successful - * @return true if successful, false otherwise - * @see Qt::Key - */ - bool modXToModQt( uint modX, int& modQt ); - - /** - * Converts the mask of ORed X11 modifiers to - * a mask of ORed @ref KKey::ModFlag modifiers. - * @param the mask of X11 modifiers - * @param the mask of @ref KKey::ModFlag modifiers will be written here, - * if successful - * @return true if successful, false otherwise - * @see KKey - */ - bool modXToMod( uint modX, uint& mod ); - - /** - * Converts a X11 key code and a mask of ORed X11 modifiers - * into a X11 symbol. - * converts it to a symbol. - * @param codeX the X11 key code - * @param modX the mask of ORed X11 modifiers - * @param sym if successful, the X11 symbol will be written here - * @return true if successful, false otherwise - * @see Qt::Key - * @see Sym - */ - bool codeXToSym( uchar codeX, uint modX, uint& symX ); - - /** - * @internal - */ - TQString modToStringInternal( uint mod ); - - /** - * Converts the mask of ORed @ref KKey::ModFlag modifiers to a - * user-readable string. - * @param mod the mask of ORed @ref KKey::ModFlag modifiers - * @return the user-readable string - */ - TQString modToStringUser( uint mod ); - - /** - * @internal - * Unimplemented? - */ - bool stringToSymMod( const TQString&, uint& sym, uint& mod ); - - /** - * @internal - * Unimplemented? - */ - void keyQtToKeyX( uint keyCombQt, unsigned char *pKeyCodeX, uint *pKeySymX, uint *pKeyModX ); -} - -#endif // !_KKEYSERVER_X11_H diff --git a/python/pykde/extra/kde315/konsole_part.h b/python/pykde/extra/kde315/konsole_part.h deleted file mode 100644 index 6aba7064..00000000 --- a/python/pykde/extra/kde315/konsole_part.h +++ /dev/null @@ -1,223 +0,0 @@ -/* - This file is part of the KDE system - Copyright (C) 1999,2000 Boloni Laszlo - - This program is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. - */ - -#ifndef __KONSOLE_PART_H__ -#define __KONSOLE_PART_H__ - -#include -#include - - -#include - -#include - -//#include "schema.h" -//#include "session.h" - -class KInstance; -class konsoleBrowserExtension; -class TQPushButton; -class TQSpinBox; -class KPopupMenu; -class TQCheckBox; -class KRootPixmap; -class KToggleAction; -class KSelectAction; - -namespace KParts { class GUIActivateEvent; } - -class konsoleFactory : public KParts::Factory -{ - Q_OBJECT -public: - konsoleFactory(); - virtual ~konsoleFactory(); - - virtual KParts::Part* createPartObject(TQWidget *parentWidget = 0, const char *widgetName = 0, - TQObject* parent = 0, const char* name = 0, - const char* classname = "KParts::Part", - const TQStringList &args = TQStringList()); - - static KInstance *instance(); - - private: - static KInstance *s_instance; - static KAboutData *s_aboutData; -}; - -////////////////////////////////////////////////////////////////////// - -class konsolePart: public KParts::ReadOnlyPart, public TerminalInterface -{ - Q_OBJECT - public: - konsolePart(TQWidget *parentWidget, const char *widgetName, TQObject * parent, const char *name, const char *classname = 0); - virtual ~konsolePart(); - -signals: - void processExited(); - void receivedData( const TQString& s ); - protected: - virtual bool openURL( const KURL & url ); - virtual bool openFile() {return false;} // never used - virtual bool closeURL() {return true;} - virtual void guiActivateEvent( KParts::GUIActivateEvent * event ); - - protected slots: - void showShell(); - void slotProcessExited(); - void slotReceivedData( const TQString& s ); - -// void doneSession(TESession*); - void sessionDestroyed(); -// void configureRequest(TEWidget*,int,int x,int y); - void updateTitle(); - void enableMasterModeConnections(); - - private slots: - void emitOpenURLRequest(const TQString &url); - - void readProperties(); - void saveProperties(); - - void sendSignal(int n); - void closeCurrentSession(); - - void notifySize(int,int); - - void slotToggleFrame(); - void slotSelectScrollbar(); - void slotSelectFont(); - void schema_menu_check(); - void keytab_menu_activated(int item); - void updateSchemaMenu(); - void setSchema(int n); - void pixmap_menu_activated(int item); - void schema_menu_activated(int item); - void slotHistoryType(); - void slotSelectBell(); - void slotSelectLineSpacing(); - void slotBlinkingCursor(); - void slotWordSeps(); - void fontNotFound(); - - private: - konsoleBrowserExtension *m_extension; - KURL currentURL; - - void makeGUI(); - void applySettingsToGUI(); - - void setFont(int fontno); -// void setSchema(ColorSchema* s); - void updateKeytabMenu(); - - bool doOpenStream( const TQString& ); - bool doWriteStream( const TQByteArray& ); - bool doCloseStream(); - - TQWidget* parentWidget; -// TEWidget* te; -// TESession* se; -// ColorSchemaList* colors; - KRootPixmap* rootxpm; - - KToggleAction* blinkingCursor; - KToggleAction* showFrame; - - KSelectAction* selectBell; - KSelectAction* selectFont; - KSelectAction* selectLineSpacing; - KSelectAction* selectScrollbar; - - KPopupMenu* m_keytab; - KPopupMenu* m_schema; - KPopupMenu* m_signals; - KPopupMenu* m_options; - KPopupMenu* m_popupMenu; - - TQFont defaultFont; - - TQString pmPath; // pixmap path - TQString s_schema; - TQString s_kconfigSchema; - TQString s_word_seps; // characters that are considered part of a word - TQString fontNotFound_par; - - bool b_framevis:1; - bool b_histEnabled:1; - - int curr_schema; // current schema no - int n_bell; - int n_font; - int n_keytab; - int n_render; - int n_scroll; - unsigned m_histSize; - bool m_runningShell; - bool m_streamEnabled; -public: - // these are the implementations for the TermEmuInterface - // functions... - void startProgram( const TQString& program, - const TQStrList& args ); - void showShellInDir( const TQString& dir ); - void sendInput( const TQString& text ); -}; - -////////////////////////////////////////////////////////////////////// - -/*class HistoryTypeDialog : public KDialogBase -{ - Q_OBJECT -public: - HistoryTypeDialog(const HistoryType& histType, - unsigned int histSize, - TQWidget *parent); - -public slots: - void slotDefault(); - void slotSetUnlimited(); - void slotHistEnable(bool); - - unsigned int nbLines() const; - bool isOn() const; - -protected: - TQCheckBox* m_btnEnable; - TQSpinBox* m_size; - TQPushButton* m_setUnlimited; -};*/ - -////////////////////////////////////////////////////////////////////// - -class konsoleBrowserExtension : public KParts::BrowserExtension -{ - Q_OBJECT - friend class konsolePart; - public: - konsoleBrowserExtension(konsolePart *parent); - virtual ~konsoleBrowserExtension(); - - void emitOpenURLRequest(const KURL &url); -}; - -#endif diff --git a/python/pykde/extra/kde315/kpanelmenu.h b/python/pykde/extra/kde315/kpanelmenu.h deleted file mode 100644 index 032350ad..00000000 --- a/python/pykde/extra/kde315/kpanelmenu.h +++ /dev/null @@ -1,181 +0,0 @@ -/***************************************************************** - -Copyright (c) 1996-2000 the kicker authors. See file AUTHORS. - (c) 2001 Michael Goffioul - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN -AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - -******************************************************************/ - -#ifndef __KPANELMENU_H__ -#define __KPANELMENU_H__ - -#include -#include -#include - -class KPanelMenuPrivate; - -/** - * Base class to build dynamically loaded menu entries for the K-menu, or the panel. - * - * This class allows to build menu entries that will be dynamically added either to - * the K-menu, or to the panel as a normal button. These dynamic menus are located - * in shared libraries that will be loaded at runtime by Kicker (the KDE panel). - * - * To build such a menu, you have to inherit this class and implement the pure virtual - * functions #initialize() and @ref slotExec(). You also have to provide a factory - * object in your library, see @ref KLibFactory. This factory is only used to construct - * the menu object. - * - * Finally, you also have to provide a desktop file describing your dynamic menu. The - * relevant entries are: Name, Comment, Icon and X-KDE-Library (which contains the - * library name without any extension). This desktop file has to be installed in - * $KDEDIR/share/apps/kicker/menuext/. - * - * @short Base class to build dynamically loaded menu entries for the K-menu, or the panel. - * @author The kicker maintainer, Michael Goffioul - */ -class KPanelMenu : public KPopupMenu -{ - Q_OBJECT - -public: - /** - * Construct a KPanelMenu object. This is the normal constructor to use when - * building extrernal menu entries. - */ - KPanelMenu(TQWidget *parent=0, const char *name=0); - /** - * Constructor used internally by Kicker. You don't really want to use it. - * @param startDir a directory to associate with this menu - * @see path(), setPath() - */ - KPanelMenu(const TQString &startDir, TQWidget *parent=0, const char *name=0); - /** - * Destructor. - */ - virtual ~KPanelMenu(); - - /** - * Get the directory path associated with this menu, or TQString::null if - * there's no such associated path. - * @return the associated directory path - * @see setPath() - */ - const TQString& path() const; - /** - * Set a directory path to be associated with this menu. - * @param p the directory path - * @see path() - */ - void setPath(const TQString &p); - /** - * Tell if the menu has been initialized, that is it already contains items. - * This is useful when you need to know if you have to clear the menu, or to - * fill it. - * @return the initial state - * @see setInitialized(), initialize() - */ - bool initialized() const; - /** - * Set the initial state. Set it to true when you menu is filled with the items - * you want. - * @param on the initial state - * @see initialized(), initialize() - */ - void setInitialized(bool on); - - /** - * Disable the automatic clearing of the menu. Kicker uses a cache system for - * its menus. After a specific configurable delay, the menu will be cleared. - * Use this function if you want to disable kicker's cache system, and avoid - * the clearing of your menu. - */ - void disableAutoClear(); - -public slots: - /** - * Reinitialize the menu: the menu is first cleared, the initial state is set - * to false, and finally #initialize() is called. Use this if you want to - * refill your menu immediately. - */ - void reinitialize(); - /** - * Deinitialize the menu: the menu is cleared and the initialized state is set to - * false. #initialize() is NOT called. It will be called before the menu is - * next shown, however. Use this slot if you want a delayed reinitialization. - * @since 3.1 - */ - void deinitialize(); - -protected slots: - /** - * This slot is called just before the menu is shown. This allows your menu - * to update itself if needed. However you should instead re-implement - * #initialize to provide this feature. This function is responsible for - * the cache system handling, so if you re-implement it, you should call - * the base function also. Calls #initialize(). - * @see disableAutoClear() - */ - virtual void slotAboutToShow(); - /** - * This is slot is called when an item from the menu has been selected. Your - * applet is then supposed to perform some action. You must re-implement this - * function. - * @param id the ID associated with the selected item - */ - virtual void slotExec(int id) = 0; - /** - * This slots is called to initialize the menu. It is called automatically by - * @ref slotAboutToShow(). By re-implementing this functions, you can reconstruct - * the menu before it is being shown. At the end of this function, you should - * call @ref setInitialize() with true to tell the system that the menu is OK. - * You applet must re-implement this function. - * @see slotAboutToShow(), initialized(), setInitialized() - */ - virtual void initialize() = 0; - /** - * Clears the menu, and update the initial state accordingly. - * @see initialized() - */ - void slotClear(); - -protected: - /** - * Re-implemented for internal reasons. - */ - virtual void hideEvent(TQHideEvent *ev); - /** - * For internal use only. Used by constructors. - */ - void init(const TQString& path = TQString::null); - -protected: - virtual void virtual_hook( int id, void* data ); -private: - void internalInitialize(); - KPanelMenuPrivate *d; -}; - -#define K_EXPORT_KICKER_MENUEXT( libname, classname ) \ - K_EXPORT_COMPONENT_FACTORY( \ - kickermenu_##libname, \ - KGenericFactory("libkickermenu_" #libname) ) - -#endif diff --git a/python/pykde/extra/kde315/krecentdirs.h b/python/pykde/extra/kde315/krecentdirs.h deleted file mode 100644 index 61a50706..00000000 --- a/python/pykde/extra/kde315/krecentdirs.h +++ /dev/null @@ -1,68 +0,0 @@ -/* -*- c++ -*- - * Copyright (C)2000 Waldo Bastian - * - * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * - * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND - * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE - * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS - * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) - * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT - * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY - * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF - * SUCH DAMAGE. - * - */ -#ifndef __KRECENTDIRS_H -#define __KRECENTDIRS_H - -#include - -/** - * The goal of this class is to make sure that, when the user needs to - * specify a file via the file selection dialog, this dialog will start - * in the directory most likely to contain the desired files. - * - * This works as follows: Each time the file selection dialog is - * shown, the programmer can specify a "file-class". The file-dialog will - * then start with the directory associated with this file-class. When - * the dialog closes, the directory currently shown in the file-dialog - * will be associated with the file-class. - * - * A file-class can either start with ':' or with '::'. If it starts with - * a single ':' the file-class is specific to the current application. - * If the file-class starts with '::' it is global to all applications. - */ -class KRecentDirs -{ -public: - /** - * Returns a list of directories associated with this file-class. - * The most recently used directory is at the front of the list. - */ - static TQStringList list(const TQString &fileClass); - - /** - * Returns the most recently used directory accociated with this file-class. - */ - static TQString dir(const TQString &fileClass); - - /** - * Associates @p directory with @p fileClass - */ - static void add(const TQString &fileClass, const TQString &directory); -}; - -#endif diff --git a/python/pykde/extra/kde315/ksycocafactory.h b/python/pykde/extra/kde315/ksycocafactory.h deleted file mode 100644 index 1959edda..00000000 --- a/python/pykde/extra/kde315/ksycocafactory.h +++ /dev/null @@ -1,137 +0,0 @@ -/* This file is part of the KDE libraries - * Copyright (C) 1999 Waldo Bastian - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License version 2 as published by the Free Software Foundation; - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public License - * along with this library; see the file COPYING.LIB. If not, write to - * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - * Boston, MA 02110-1301, USA. - **/ - -#ifndef __ksycocafactory_h__ -#define __ksycocafactory_h__ "$Id: ksycocafactory.h,v 1.13 2002/09/21 15:07:27 tjansen Exp $" - -#include "ksycocatype.h" -#include "ksycocaentry.h" - -#include -#include -class KSycoca; -class TQStringList; -class TQString; -class KSycocaDict; -class KSycocaResourceList; - -typedef TQDict KSycocaEntryDict; - -/** - * @internal - * Base class for sycoca factories - */ -class KSycocaFactory -{ -public: - virtual KSycocaFactoryId factoryId() const = 0; - -protected: // virtual class - /** - * Create a factory which can be used to lookup from/create a database - * (depending on KSycoca::isBuilding()) - */ - KSycocaFactory( KSycocaFactoryId factory_id ); - -public: - virtual ~KSycocaFactory(); - - /** - * @return the position of the factory in the sycoca file - */ - int offset() { return mOffset; } - - /** - * @return the dict, for special use by KBuildSycoca - */ - KSycocaEntryDict * entryDict() { return m_entryDict; } - - /** - * Construct an entry from a config file. - * To be implemented in the real factories. - */ - virtual KSycocaEntry *createEntry(const TQString &file, const char *resource) = 0; - - /** - * Add an entry - */ - virtual void addEntry(KSycocaEntry *newEntry, const char *resource); - - /** - * Read an entry from the database - */ - virtual KSycocaEntry *createEntry(int offset)=0; - - /** - * Get a list of all entries from the database. - */ - KSycocaEntry::List allEntries(); - - /** - * Saves all entries it maintains as well as index files - * for these entries to the stream 'str'. - * - * Also sets mOffset to the starting position. - * - * The stream is positioned at the end of the last index. - * - * Don't forget to call the parent first when you override - * this function. - */ - virtual void save(TQDataStream &str); - - /** - * Writes out a header to the stream 'str'. - * The baseclass positions the stream correctly. - * - * Don't forget to call the parent first when you override - * this function. - */ - virtual void saveHeader(TQDataStream &str); - - /** - * @return the resources for which this factory is responsible. - */ - virtual const KSycocaResourceList * resourceList() const { return m_resourceList; } - -private: - int mOffset; - -protected: - int m_sycocaDictOffset; - int m_beginEntryOffset; - int m_endEntryOffset; - TQDataStream *m_str; - - KSycocaResourceList *m_resourceList; - KSycocaEntryDict *m_entryDict; - KSycocaDict *m_sycocaDict; -protected: - virtual void virtual_hook( int id, void* data ); -}; - -/** This, instead of a typedef, allows to declare "class ..." in header files - * @internal - */ -class KSycocaFactoryList : public TQPtrList -{ -public: - KSycocaFactoryList() { } -}; - -#endif diff --git a/python/pykde/extra/kde315/ktoolbarbutton.h b/python/pykde/extra/kde315/ktoolbarbutton.h deleted file mode 100644 index 6fafb1ed..00000000 --- a/python/pykde/extra/kde315/ktoolbarbutton.h +++ /dev/null @@ -1,317 +0,0 @@ -/* This file is part of the KDE libraries - Copyright (C) 1997, 1998 Stephan Kulow (coolo@kde.org) - (C) 1997, 1998 Sven Radej (radej@kde.org) - (C) 1997, 1998 Mark Donohoe (donohoe@kde.org) - (C) 1997, 1998 Matthias Ettrich (ettrich@kde.org) - (C) 2000 Kurt Granroth (granroth@kde.org) - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License version 2 as published by the Free Software Foundation. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. -*/ - -// $Id: ktoolbarbutton.h,v 1.26 2002/09/28 15:16:22 tjansen Exp $ -#ifndef _KTOOLBARBUTTON_H -#define _KTOOLBARBUTTON_H - -#include -#include -#include -#include -#include - -class KToolBar; -class KToolBarButtonPrivate; -class KInstance; -class TQEvent; -class TQPopupMenu; -class TQPainter; - -/** - * A toolbar button. This is used internally by @ref KToolBar, use the - * KToolBar methods instead. - * @internal - */ -class KToolBarButton : public QToolButton -{ - Q_OBJECT - -public: - /** - * Construct a button with an icon loaded by the button itself. - * This will trust the button to load the correct icon with the - * correct size. - * - * @param icon Name of icon to load (may be absolute or relative) - * @param id Id of this button - * @param parent This button's parent - * @param name This button's internal name - * @param txt This button's text (in a tooltip or otherwise) - */ - KToolBarButton(const TQString& icon, int id, TQWidget *parent, - const char *name=0L, const TQString &txt=TQString::null, - KInstance *_instance = KGlobal::instance()); - - /** - * Construct a button with an existing pixmap. It is not - * recommended that you use this as the internal icon loading code - * will almost always get it "right". - * - * @param icon Name of icon to load (may be absolute or relative) - * @param id Id of this button - * @param parent This button's parent - * @param name This button's internal name - * @param txt This button's text (in a tooltip or otherwise) - */ - KToolBarButton(const TQPixmap& pixmap, int id, TQWidget *parent, - const char *name=0L, const TQString &txt=TQString::null); - - /** - * Construct a separator button - * - * @param parent This button's parent - * @param name This button's internal name - */ - KToolBarButton(TQWidget *parent=0L, const char *name=0L); - - /** - * Standard destructor - */ - ~KToolBarButton(); - -#ifndef KDE_NO_COMPAT - /** - * @deprecated - * Set the pixmap directly for this button. This pixmap should be - * the active one... the dimmed and disabled pixmaps are constructed - * based on this one. However, don't use this function unless you - * are positive that you don't want to use @ref setIcon. - * - * @param pixmap The active pixmap - */ - // this one is from TQButton, so #ifdef-ing it out doesn't break BC - virtual void setPixmap(const TQPixmap &pixmap); - - /** - * @deprecated - * Force the button to use this pixmap as the default one rather - * then generating it using effects. - * - * @param pixmap The pixmap to use as the default (normal) one - */ - void setDefaultPixmap(const TQPixmap& pixmap); - - /** - * @deprecated - * Force the button to use this pixmap when disabled one rather then - * generating it using effects. - * - * @param pixmap The pixmap to use when disabled - */ - void setDisabledPixmap(const TQPixmap& pixmap); -#endif - - /** - * Set the text for this button. The text will be either used as a - * tooltip (IconOnly) or will be along side the icon - * - * @param text The button (or tooltip) text - */ - virtual void setText(const TQString &text); - - /** - * Set the icon for this button. The icon will be loaded internally - * with the correct size. This function is preferred over @ref setIconSet - * - * @param icon The name of the icon - */ - virtual void setIcon(const TQString &icon); - - /// @since 3.1 - virtual void setIcon( const TQPixmap &pixmap ) - { TQToolButton::setIcon( pixmap ); } - - /** - * Set the pixmaps for this toolbar button from a TQIconSet. - * If you call this you don't need to call any of the other methods - * that set icons or pixmaps. - * @param iconset The iconset to use - */ - virtual void setIconSet( const TQIconSet &iconset ); - -#ifndef KDE_NO_COMPAT - /** - * @deprecated - * Set the active icon for this button. The pixmap itself is loaded - * internally based on the icon size... .. the disabled and default - * pixmaps, however will only be constructed if @ref #generate is - * true. This function is preferred over @ref setPixmap - * - * @param icon The name of the active icon - * @param generate If true, then the other icons are automagically - * generated from this one - */ - void setIcon(const TQString &icon, bool /*generate*/ ) { setIcon( icon ); } - - /** - * @deprecated - * Force the button to use this icon as the default one rather - * then generating it using effects. - * - * @param icon The icon to use as the default (normal) one - */ - void setDefaultIcon(const TQString& icon); - - /** - * @deprecated - * Force the button to use this icon when disabled one rather then - * generating it using effects. - * - * @param icon The icon to use when disabled - */ - void setDisabledIcon(const TQString& icon); -#endif - - /** - * Turn this button on or off - * - * @param flag true or false - */ - void on(bool flag = true); - - /** - * Toggle this button - */ - void toggle(); - - /** - * Turn this button into a toggle button or disable the toggle - * aspects of it. This does not toggle the button itself. - * Use @ref toggle() for that. - * - * @param toggle true or false - */ - void setToggle(bool toggle = true); - - /** - * Return a pointer to this button's popup menu (if it exists) - */ - TQPopupMenu *popup(); - - /** - * Give this button a popup menu. There will not be a delay when - * you press the button. Use @ref setDelayedPopup if you want that - * behavior. You can also make the popup-menu - * "sticky", i.e. visible until a selection is made or the mouse is - * clikced elsewhere, by simply setting the second argument to true. - * This "sticky" button feature allows you to make a selection without - * having to press and hold down the mouse while making a selection. - * - * @param p The new popup menu - * @param toggle if true, makes the button "sticky" (toggled) - */ - void setPopup (TQPopupMenu *p, bool toggle = false); - - /** - * Gives this button a delayed popup menu. - * - * This function allows you to add a delayed popup menu to the button. - * The popup menu is then only displayed when the button is pressed and - * held down for about half a second. You can also make the popup-menu - * "sticky", i.e. visible until a selection is made or the mouse is - * clikced elsewhere, by simply setting the second argument to true. - * This "sticky" button feature allows you to make a selection without - * having to press and hold down the mouse while making a selection. - * - * @param p the new popup menu - * @param toggle if true, makes the button "sticky" (toggled) - */ - void setDelayedPopup(TQPopupMenu *p, bool toggle = false); - - /** - * Turn this button into a radio button - * - * @param f true or false - */ - void setRadio(bool f = true); - - /** - * Toolbar buttons naturally will assume the global styles - * concerning icons, icons sizes, etc. You can use this function to - * explicitely turn this off, if you like. - * - * @param no_style Will disable styles if true - */ - void setNoStyle(bool no_style = true); - -signals: - void clicked(int); - void doubleClicked(int); - void pressed(int); - void released(int); - void toggled(int); - void highlighted(int, bool); - -public slots: - /** - * This slot should be called whenever the toolbar mode has - * potentially changed. This includes such events as text changing, - * orientation changing, etc. - */ - void modeChange(); - virtual void setTextLabel(const TQString&, bool tipToo); - -protected: - void paletteChange(const TQPalette &); - void leaveEvent(TQEvent *e); - void enterEvent(TQEvent *e); - void drawButton(TQPainter *p); - bool eventFilter (TQObject *o, TQEvent *e); - void showMenu(); - TQSize sizeHint() const; - TQSize minimumSizeHint() const; - TQSize minimumSize() const; - - /// @since 3.1 - bool isRaised() const; - /// @since 3.1 - bool isActive() const; - /// @since 3.1 - int iconTextMode() const; - -protected slots: - void slotClicked(); - void slotPressed(); - void slotReleased(); - void slotToggled(); - void slotDelayTimeout(); - -protected: - virtual void virtual_hook( int id, void* data ); -private: - KToolBarButtonPrivate *d; -}; - -/** -* List of @ref KToolBarButton objects. -* @internal -* @version $Id: ktoolbarbutton.h,v 1.26 2002/09/28 15:16:22 tjansen Exp $ -*/ -class KToolBarButtonList : public TQIntDict -{ -public: - KToolBarButtonList(); - ~KToolBarButtonList() {} -}; - -#endif diff --git a/python/pykde/extra/kde315/kurifilter.h b/python/pykde/extra/kde315/kurifilter.h deleted file mode 100644 index 4e7ad792..00000000 --- a/python/pykde/extra/kde315/kurifilter.h +++ /dev/null @@ -1,602 +0,0 @@ -/* - * This file is part of the KDE libraries - * Copyright (C) 2000 Yves Arrouye - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public License - * along with this library; see the file COPYING.LIB. If not, write to - * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - * Boston, MA 02110-1301, USA. - **/ - -#ifndef __kurifilter_h__ -#define __kurifilter_h__ "$Id: kurifilter.h,v 1.27.2.1 2003/06/06 09:12:16 mueller Exp $" - -#include -#include - -#include - -class KURIFilterPrivate; -class KURIFilterDataPrivate; - -class TQStringList; -class KCModule; - -/** -* This is a basic message object used for exchanging filtering -* information between the filter plugins and the application -* whenever the application requires more information about the -* URI than just a filtered version of it. Any application can -* create an instance of this class and send it to @ref KURIFilter -* to have the filter plugins fill the necessary information. -* -* @sect Example -*
-*   TQString text = "kde.org";
-*   KURIFilterData d = text;
-*   bool filtered = KURIFilter::self()->filter( d );
-*   if( filtered )
-*     print ( "URI: %s\n"Filtered URI: %s\n URI Type: %i\n"Was Filtered: %i"
-*             text.latin1(), d.uri().url().latin1(), d.uriType(), filtered );
-* 
-* -* The above code should yield the following output: -*
-*   URI: kde.org
-*   Filtered URI: http://kde.org
-*   URI Type: 0            <== means NET_PROTOCOL
-*   Was Filtered: 1        <== means the URL was successfully filtered
-* 
-* -* @short A message object for exchanging filtering URI info. -*/ - -class KURIFilterData -{ -friend class KURIFilterPlugin; - -public: - /** - * Describes the type of URI to be filtered. - * - * This enumerator prvoides the return value for - * @ref uriType. A brief description for each value: - * - * @li NET_PROTOCOL - Any network protocol: http, ftp, nttp, pop3, etc... - * @li LOCAL_FILE - A local file whose executable flag is not set - * @li LOCAL_DIR - A local directory - * @li EXECUTABLE - A local file whose executable flag is set - * @li HELP - A man or info page - * @li SHELL - A shell executable (ex: echo "Test..." >> ~/testfile) - * @li BLOCKED - A URI that should be blocked/filtered (ex: ad filtering) - * @li ERROR - An incorrect URI (ex: "~johndoe" when user johndoe - * does not exist in that system ) - * @li UNKNOWN - A URI that is not identified. Default value when - * a KURIFilterData is first created. - */ - enum URITypes { NET_PROTOCOL=0, LOCAL_FILE, LOCAL_DIR, EXECUTABLE, HELP, SHELL, BLOCKED, ERROR, UNKNOWN }; - - /** - * Default constructor. - * - * Creates a URIFilterData object. - */ - KURIFilterData() { init(); } - - /** - * Creates a URIFilterData object from the given URL. - * - * @param url is the URL to be filtered. - */ - KURIFilterData( const KURL& url ) { init( url); } - - /** - * Creates a URIFilterData object from the given string. - * - * @param url is the string to be filtered. - */ - KURIFilterData( const TQString& url ) { init( url ); } - - /** - * Copy constructor. - * - * Creates a URIFilterData object from another - * URI filter data object. - * - * @param data the uri filter data to be copied. - */ - KURIFilterData( const KURIFilterData& /*data*/); - - /** - * Destructor. - */ - ~KURIFilterData(); - - /** - * This method has been deprecated and will always return - * TRUE. You should instead use the result from the - * @ref KURIFilter::filterURI() calls. - * - * @deprecated - */ - bool hasBeenFiltered() const { return m_bFiltered; } - - /** - * Returns the filtered or the original URL. - * - * This function returns the filtered url if one - * of the plugins sucessfully filtered the original - * URL. Otherwise, it returns the original URL. - * See @ref #hasBeenFiltered() and - * - * @return the filtered or original url. - */ - KURL uri() const { return m_pURI; } - - /** - * Returns an error message. - * - * This functions returns the error message set - * by the plugin whenever the uri type is set to - * KURIFilterData::ERROR. Otherwise, it returns - * a TQString::null. - * - * @return the error message or a NULL when there is none. - */ - TQString errorMsg() const { return m_strErrMsg; } - - /** - * Returns the URI type. - * - * This method always returns KURIFilterData::UNKNOWN - * if the given URL was not filtered. - */ - URITypes uriType() const { return m_iType; } - - /** - * Sets the URL to be filtered. - * - * Use this function to set the string to be - * filtered when you construct an empty filter - * object. - * - * @param url the string to be filtered. - */ - void setData( const TQString& url ) { init( url ); } - - /** - * Same as above except the argument is a URL. - * - * Use this function to set the string to be - * filtered when you construct an empty filter - * object. - * - * @param url the URL to be filtered. - */ - void setData( const KURL& url ) { init( url ); } - - /** - * Sets the absolute path to be used whenever the supplied - * data is a relative local URL. - * - * NOTE: This function works only for a local resource and - * expects the absolute path to the relative URL set in this - * meta object. If you are extracting the absolute path from - * a KURL object, make sure you always set the argument below - * using KURL::path() instead of KURL::url() so that "file:/" - * would not be appended! Otherwise, the filter might not be - * able to make correct determination whether the relative URL - * locally exists! - * - * @param abs_path the abolute path to the local resource. - * @return true if absolute path is successfully set. Otherwise, false. - */ - bool setAbsolutePath( const TQString& /* abs_path */ ); - - /** - * Returns the absolute path if one has already been set. - */ - TQString absolutePath() const; - - /** - * Returns true if the supplied data has an absolute path. - */ - bool hasAbsolutePath() const; - - /** - * Returns the command line options and arguments for a - * local resource when present. - * - * @return options and arguments when present, otherwise TQString::null - */ - TQString argsAndOptions() const; - - /** - * Returns true if the current data is a local resource with - * command line options and arguments. - */ - bool hasArgsAndOptions() const; - - /** - * Returns the name of the icon that matches - * the current filtered URL. - * - * NOTE that this function will return a NULL - * string by default and when no associated icon - * is found. - * - * @return the name of the icon associated with the resource - */ - TQString iconName(); - - /** - * Overloaded assigenment operator. - * - * This function allows you to easily assign a KURL - * to a KURIFilterData object. - * - * @return an instance of a KURIFilterData object. - */ - KURIFilterData& operator=( const KURL& url ) { init( url ); return *this; } - - /** - * Overloaded assigenment operator. - * - * This function allows you to easily assign a QString - * to a KURIFilterData object. - * - * @return an instance of a KURIFilterData object. - */ - KURIFilterData& operator=( const TQString& url ) { init( url ); return *this; } - -protected: - - /** - * Initializes the KURIFilterData on construction. - */ - void init( const KURL& url = TQString::null ); - -private: - bool m_bFiltered; - bool m_bChanged; - - TQString m_strErrMsg; - TQString m_strIconName; - - KURL m_pURI; - URITypes m_iType; - KURIFilterDataPrivate *d; -}; - - -/** - * Base class for URI filter plugins. - * - * This class applies a single filter to a URI. All - * plugins designed to provide URI filtering functionalities - * should inherit from this abstract class and provide a - * specific filtering implementation. - * - * All inheriting classes need to implement the pure - * virtual function @ref filterURI. Otherwise, they - * would also become abstract. - * - * @short Abstract class for URI filter plugins. - */ -class KURIFilterPlugin : public QObject -{ - Q_OBJECT - -public: - - /** - * Constructs a filter plugin with a given name and - * priority. - * - * @param parent the parent object. - * @param name the name of the plugin. - * @param pri the priority of the plugin. - */ - KURIFilterPlugin( TQObject *parent = 0, const char *name = 0, double pri = 1.0 ); - - /** - * Returns the filter's name. - * - * @return A string naming the filter. - */ - virtual TQString name() const { return m_strName; } - - /** - * Returns the filter's priority. - * - * Each filter has an assigned priority, a float from 0 to 1. Filters - * with the lowest priority are first given a chance to filter a URI. - * - * @return The priority of the filter. - */ - virtual double priority() const { return m_dblPriority; } - - /** - * Filters a URI. - * - * @param data the URI data to be filtered. - * @return A boolean indicating whether the URI has been changed. - */ - virtual bool filterURI( KURIFilterData& data ) const = 0; - - /** - * Creates a configuration module for the filter. - * - * It is the responsability of the caller to delete the module - * once it is not needed anymore. - * - * @return A configuration module, @p null if the filter isn't configurable. - */ - virtual KCModule *configModule( TQWidget*, const char* ) const { return 0; } - - /** - * Returns the name of the configuration module for the filter. - * - * @return the name of a configuration module or @p null if none. - */ - virtual TQString configName() const { return name(); } - -protected: - - /** - * Sets the the URL in @p data to @p uri. - */ - void setFilteredURI ( KURIFilterData& data, const KURL& uri ) const; - - /** - * Sets the error message in @p data to @p errormsg. - */ - void setErrorMsg ( KURIFilterData& data, const TQString& errmsg ) const { - data.m_strErrMsg = errmsg; - } - - /** - * Sets the URI type in @p data to @p type. - */ - void setURIType ( KURIFilterData& data, KURIFilterData::URITypes type) const { - data.m_iType = type; - data.m_bChanged = true; - } - - /** - * Sets the arguments and options string in @p data - * to @p args if any were found during filterting. - */ - void setArguments( KURIFilterData& data, const TQString& args ) const; - - TQString m_strName; - double m_dblPriority; - -protected: - virtual void virtual_hook( int id, void* data ); -private: - class KURIFilterPluginPrivate *d; -}; - - -class KURIFilterPluginList : public TQPtrList -{ -public: - virtual int compareItems(Item a, Item b) - { - double diff = ((KURIFilterPlugin *) a)->priority() - ((KURIFilterPlugin *) b)->priority(); - return diff < 0 ? -1 : (diff > 0 ? 1 : 0); - } - -private: - KURIFilterPrivate *d; - -}; - -/** - * Manages the filtering of a URI. - * - * The intention of this plugin class is to allow people to extend - * the functionality of KURL without modifying it directly. This - * way KURL will remain a generic parser capable of parsing any - * generic URL that adheres to specifications. - * - * The KURIFilter class applies a number of filters to a URI, - * and returns the filtered version whenever possible. The filters - * are implemented using plugins to provide easy extensibility - * of the filtering mechanism. That is, new filters can be added in - * the future by simply inheriting from @ref KURIFilterPlugin and - * implementing the @ref KURIFilterPlugin::filterURI method. - * - * Use of this plugin-manager class is straight forward. Since - * it is a singleton object, all you have to do is obtain an instance - * by doing @p KURIFilter::self() and use any of the public member - * functions to preform the filtering. - * - * @sect Example - * - * To simply filter a given string: - *
- * bool filtered = KURIFilter::self()->filterURI( "kde.org" );
- * 
- * - * You can alternatively use a KURL: - *
- * KURL url = "kde.org";
- * bool filtered = KURIFilter::self()->filterURI( url );
- * 
- * - * If you have a constant string or a constant URL, - * simply invoke the corresponding function to obtain - * the filtered string or URL instead of a boolean flag: - *
- * TQString u = KURIFilter::self()->filteredURI( "kde.org" );
- * 
- * - * You can also specify only specific filter(s) to be applied - * by supplying the name(s) of the filter(s). By defualt all - * filters that are found are loaded when the KURIFilter object - * is created will be used. These names are taken from the - * enteries in the \".desktop\" files. Here are a couple of - * examples: - *
- * TQString text = "kde.org";
- * bool filtered = KURIFilter::self()->filterURI( text, "KShortURIFilter" );
- *
- * TQStringList list;
- * list << "KShortURIFilter" << "MyFilter";
- * bool filtered = KURIFilter::self()->filterURI( text, list );
- * 
- * - * KURIFilter also allows richer data exchange through a simple - * meta-object called @p KURIFilterData. Using this meta-object - * you can find out more information about the URL you want to - * filter. See @ref KURIFilterData for examples and details. - * - * @short Filters a given URL into its proper format whenever possible. - */ - -class KURIFilter -{ -public: - /** - * Destructor - */ - ~KURIFilter (); - - /** - * Return a static instance of KURIFilter. - */ - static KURIFilter* self(); - - /** - * Filters the URI given by the object URIFilterData. - * - * This filters the given data based on the specified - * filter list. If the list is empty all avaliable - * filter plugins would be used. If not, only those - * given in the list are used. - * - * @param data object that contains the URI to be filtered. - * @param filters specify the list filters to be used - * - * @return a boolean indicating whether the URI has been changed - */ - bool filterURI( KURIFilterData& data, const TQStringList& filters = TQStringList() ); - - /** - * Filters the URI given by the URL. - * - * This filters the given URL based on the specified - * filter list. If the list is empty all avaliable - * filter plugins would be used. If not, only those - * given in the list are used. - * - * @param uri the URI to filter. - * @param filters specify the list of filters to be used - * - * @return a boolean indicating whether the URI has been changed - */ - bool filterURI( KURL &uri, const TQStringList& filters = TQStringList() ); - - /** - * Filters a string representing a URI. - * - * This filters the given string based on the specified - * filter list. If the list is empty all avaliable - * filter plugins would be used. If not, only those - * given in the list are used. - * - * @param uri The URI to filter. - * @param filters specify the list filters to be used - * - * @return a boolean indicating whether the URI has been changed - */ - bool filterURI( TQString &uri, const TQStringList& filters = TQStringList() ); - - /** - * Returns the filtered URI. - * - * This filters the given URL based on the specified - * filter list. If the list is empty all avaliable - * filter plugins would be used. If not, only those - * given in the list are used. - * - * @param uri The URI to filter. - * @param filters specify the list filters to be used - * - * @return the filtered URI or null if it cannot be filtered - */ - KURL filteredURI( const KURL &uri, const TQStringList& filters = TQStringList() ); - - /** - * Return a filtered string representation of a URI. - * - * This filters the given URL based on the specified - * filter list. If the list is empty all avaliable - * filter plugins would be used. If not, only those - * given in the list are used. - * - * @param uri the URI to filter. - * @param filters specify the list filters to be used - * - * @return the filtered URI or null if it cannot be filtered - */ - TQString filteredURI( const TQString &uri, const TQStringList& filters = TQStringList() ); - - /** - * Return an iterator to iterate over all loaded - * plugins. - * - * @return a plugin iterator. - */ - TQPtrListIterator pluginsIterator() const; - - /** - * Return a list of the names of all loaded plugins - * - * @since 3.1 - * - * @return a TQStringList of plugin names - */ - TQStringList pluginNames() const; - -protected: - - /** - * A protected constructor. - * - * This constructor creates a KURIFilter and - * initializes all plugins it can find by invoking - * @ref loadPlugins. - */ - KURIFilter(); - - /** - * Loads all allowed plugins. - * - * This function loads all filters that have not - * been dis - */ - void loadPlugins(); - -private: - - static KURIFilter *m_self; - KURIFilterPluginList m_lstPlugins; - KURIFilterPrivate *d; - -}; - -#endif - diff --git a/python/pykde/extra/kde320/configwidget.h b/python/pykde/extra/kde320/configwidget.h deleted file mode 100644 index e289743a..00000000 --- a/python/pykde/extra/kde320/configwidget.h +++ /dev/null @@ -1,58 +0,0 @@ -/* - This file is part of libkresources. - Copyright (c) 2002 Tobias Koenig - Copyright (c) 2002 Jan-Pascal van Best - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. -*/ - -#ifndef KRESOURCES_CONFIGWIDGET_H -#define KRESOURCES_CONFIGWIDGET_H - -#include "resource.h" - -#include - -#include - -namespace KRES { - -class ConfigWidget : public QWidget -{ - Q_OBJECT - public: - ConfigWidget( TQWidget *parent = 0, const char *name = 0 ); - - /** - Sets the widget to 'edit' mode. Reimplement this method if you are - interested in the mode change (to disable some GUI element for - example). By default the widget is in 'create new' mode. - */ - virtual void setInEditMode( bool value ); - - public slots: - virtual void loadSettings( Resource *resource ) = 0; - virtual void saveSettings( Resource *resource ) = 0; - - signals: - void setReadOnly( bool value ); - - protected: - Resource *mResource; -}; - -} -#endif diff --git a/python/pykde/extra/kde320/kaccelaction.h b/python/pykde/extra/kde320/kaccelaction.h deleted file mode 100644 index 0418297c..00000000 --- a/python/pykde/extra/kde320/kaccelaction.h +++ /dev/null @@ -1,564 +0,0 @@ -/* This file is part of the KDE libraries - Copyright (C) 2001,2002 Ellis Whitehead - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. -*/ - -#ifndef _KACCELACTION_H -#define _KACCELACTION_H - -#include -#include -#include -#include - -#include - -class KAccelBase; - -class TQObject; -class KConfig; -class KConfigBase; - -/** - * @internal - * A KAccelAction prepresents an action that can be executed using - * an accelerator key. Each KAccelAction has a name, a label, a - * "What's this" string and a KShortcut. The user can configure and - * enable/disable them using KKeyDialog. - * - * \code - * 1) KAccelAction = "Run Command" - * Default3 = "Alt+F2" - * Default4 = "Meta+Enter;Alt+F2" - * 1) KShortcut = "Meta+Enter" - * 1) KKeySequence = "Meta+Enter" - * 1) KKey = "Meta+Enter" - * 1) Meta+Enter - * 2) Meta+Keypad_Enter - * 2) KShortcut = "Alt+F2" - * 1) KKeySequence = "Alt+F2" - * 1) Alt+F2 - * 2) KAccelAction = "Something" - * Default3 = "" - * Default4 = "" - * 1) KShortcut = "Meta+X,Asterisk" - * 1) KKeySequence = "Meta+X,Asterisk" - * 1) KKey = "Meta+X" - * 1) Meta+X - * 2) KKey = "Asterisk" - * 1) Shift+8 (English layout) - * 2) Keypad_Asterisk - * \endcode - * @short An accelerator action - * @see KAccel - * @see KGlobalAccel - * @see KKeyChooser - * @see KKeyDialog - */ -class KAccelAction -{ - public: - /** - * Creates an empty KAccelAction. - * @see clear() - */ - KAccelAction(); - - /** - * Copy constructor. - */ - KAccelAction( const KAccelAction& ); - - /** - * Creates a new KAccelAction. - * @param sName the name of the accelerator - * @param sLabel the label of the accelerator (i18n!) - * @param sWhatsThis the What's This text (18n!) - * @param cutDef3 the default shortcut for 3 modifier systems - * @param cutDef4 the default shortcut for 4 modifier systems - * @param pObjSlot the receiver of a signal when the key has been - * pressed - * @param psMethodSlot the slot to connect for key presses. Receives - * an int, as set by setID(), as only argument - * @param bConfigurable if true the user can configure the shortcut - * @param bEnabled true if the accelerator should be enabled - */ - KAccelAction( const TQString& sName, const TQString& sLabel, const TQString& sWhatsThis, - const KShortcut& cutDef3, const KShortcut& cutDef4, - const TQObject* pObjSlot, const char* psMethodSlot, - bool bConfigurable, bool bEnabled ); - ~KAccelAction(); - - /** - * Clears the accelerator. - */ - void clear(); - - /** - * Re-initialized the KAccelAction. - * @param sName the name of the accelerator - * @param sLabel the label of the accelerator (i18n!) - * @param sWhatsThis the What's This text (18n!) - * @param cutDef3 the default shortcut for 3 modifier systems - * @param cutDef4 the default shortcut for 4 modifier systems - * @param pObjSlot the receiver of a signal when the key has been - * pressed - * @param psMethodSlot the slot to connect for key presses. Receives - * an int, as set by setID(), as only argument - * @param bConfigurable if true the user can configure the shortcut - * @param bEnabled true if the accelerator should be enabled - * @return true if successful, false otherwise - */ - bool init( const TQString& sName, const TQString& sLabel, const TQString& sWhatsThis, - const KShortcut& cutDef3, const KShortcut& cutDef4, - const TQObject* pObjSlot, const char* psMethodSlot, - bool bConfigurable, bool bEnabled ); - - /** - * Copies this KAccelAction. - */ - KAccelAction& operator=( const KAccelAction& ); - - /** - * Returns the name of the accelerator action. - * @return the name of the accelerator action, can be null if not - * set - */ - const TQString& name() const { return m_sName; } - - /** - * Returns the label of the accelerator action. - * @return the label of the accelerator action, can be null if - * not set - */ - const TQString& label() const { return m_sLabel; } - - /** - * Returns the What's This text of the accelerator action. - * @return the What's This text of the accelerator action, can be - * null if not set - */ - const TQString& whatsThis() const { return m_sWhatsThis; } - - /** - * The shortcut that is actually used (may be used configured). - * @return the shortcut of the KAccelAction, can be null if not set - * @see shortcutDefault() - */ - const KShortcut& shortcut() const { return m_cut; } - - /** - * The default shortcut for this system. - * @return the default shortcut on this system, can be null if not set - * @see shortcut() - * @see shortcutDefault3() - * @see shortcutDefault4() - */ - const KShortcut& shortcutDefault() const; - - /** - * The default shortcut for 3 modifier systems. - * @return the default shortcut for 3 modifier systems, can be null - * if not set - * @see shortcutDefault() - * @see shortcutDefault4() - * @see useFourModifierKeys() - */ - const KShortcut& shortcutDefault3() const { return m_cutDefault3; } - - /** - * The default shortcut for 4 modifier systems. - * @return the default shortcut for 4 modifier systems, can be null - * if not set - * @see shortcutDefault() - * @see shortcutDefault3() - * @see useFourModifierKeys() - */ - const KShortcut& shortcutDefault4() const { return m_cutDefault4; } - - /** - * Returns the receiver of signals. - * @return the receiver of signals (can be 0 if not set) - */ - const TQObject* objSlotPtr() const { return m_pObjSlot; } - - /** - * Returns the slot for the signal. - * @return the slot for the signal - */ - const char* methodSlotPtr() const { return m_psMethodSlot; } - - /** - * Checks whether the user can configure the action. - * @return true if configurable, false otherwise - */ - bool isConfigurable() const { return m_bConfigurable; } - - /** - * Checks whether the action is enabled. - * @return true if enabled, false otherwise - */ - bool isEnabled() const { return m_bEnabled; } - - /** - * Sets the name of the accelerator action. - * @param name the new name - */ - void setName( const TQString& name ); - - /** - * Sets the user-readable label of the accelerator action. - * @param label the new label (i18n!) - */ - void setLabel( const TQString& label ); - - /** - * Sets the What's This text for the accelerator action. - * @param whatsThis the new What's This text (i18n!) - */ - void setWhatsThis( const TQString& whatsThis ); - - /** - * Sets the new shortcut of the accelerator action. - * @param rgCuts the shortcut to set - * @return true if successful, false otherwise - */ - bool setShortcut( const KShortcut& rgCuts ); - - /** - * Sets the slot of the accelerator action. - * @param pObjSlot the receiver object of the signal - * @param psMethodSlot the slot for the signal - */ - void setSlot( const TQObject* pObjSlot, const char* psMethodSlot ); - - /** - * Enables or disabled configuring the action. - * @param configurable true to enable configurability, false to disable - */ - void setConfigurable( bool configurable ); - - /** - * Enables or disabled the action. - * @param configurable true to enable the action, false to disable - */ - void setEnabled( bool enable ); - - /** - * Retrieves the id set using setID. - * @return the id of the accelerator action - */ - int getID() const { return m_nIDAccel; } - - /** - * Allows you to set an id that will be used as the action - * signal's argument. - * - * @param n the new id - * @see getID() - */ - void setID( int n ) { m_nIDAccel = n; } - - /** - * Checkes whether the action is connected (emits signals). - * @return true if connected, false otherwise - */ - bool isConnected() const; - - /** - * Sets a key sequence of the action's shortcut. - * @param i the position of the sequence - * @param keySeq the new new sequence - * @return true if successful, false otherwise - * @see KShortcut::setSeq() - */ - bool setKeySequence( uint i, const KKeySequence &keySeq ); - - /** - * Clears the action's shortcut. It will not contain any sequences after - * calling this method. - * @see KShortcut::clear() - */ - void clearShortcut(); - - /** - * Checks whether the action's shortcut contains the given key sequence. - * @param keySeq the key sequence to check - * @return true if the shortcut contains the given sequence - * @see KShortcut::contains() - */ - bool contains( const KKeySequence &keySeq ); - - /** - * Returns the string representation of the action's shortcut. - * @return the string representation of the action's shortcut. - * @see KShortcut::toString() - */ - TQString toString() const; - - /** - * @internal - */ - TQString toStringInternal() const; - - /** - * Returns true if four modifier keys will be used. - * @return true if four modifier keys will be used. - */ - static bool useFourModifierKeys(); - - /** - * Selects 3 or 4 modifier default shortcuts. - * @param use true to use 4 modifier shortcuts, false to use - * 3 modifier shortcuts - */ - static void useFourModifierKeys( bool use ); - - protected: - TQString m_sName, - m_sLabel, - m_sWhatsThis; - KShortcut m_cut; - KShortcut m_cutDefault3, m_cutDefault4; - const TQObject* m_pObjSlot; - const char* m_psMethodSlot; - bool m_bConfigurable, - m_bEnabled; - int m_nIDAccel; - uint m_nConnections; - - void incConnections(); - void decConnections(); - - private: - static int g_bUseFourModifierKeys; - class KAccelActionPrivate* d; - - friend class KAccelActions; - friend class KAccelBase; -}; - -//--------------------------------------------------------------------- -// KAccelActions -//--------------------------------------------------------------------- - -/** - * @internal - * This class represents a collection of KAccelAction objects. - * - * @short A collection of accelerator actions - * @see KAccelAction - */ -class KAccelActions -{ - public: - /** - * Creates a new, empty KAccelActions object. - */ - KAccelActions(); - - /** - * Copy constructor (deep copy). - */ - KAccelActions( const KAccelActions& ); - virtual ~KAccelActions(); - - /** - * Removes all items from this collection. - */ - void clear(); - - /** - * Initializes this object with the given actions. - * It will make a deep copy of all actions. - * @param actions the actions to copy - * @return true if successful, false otherwise - */ - bool init( const KAccelActions &actions ); - - /** - * Loads the actions from the given configuration file. - * - * @param config the configuration file to load from - * @param sGroup the group in the configuration file - * @return true if successful, false otherwise - */ - bool init( KConfigBase& config, const TQString& sGroup ); - - /** - * Updates the shortcuts of all actions in this object - * with the shortcuts from the given object. - * @param shortcuts the collection that contains the new - * shortcuts - */ - void updateShortcuts( KAccelActions &shortcuts ); - - /** - * Retrieves the index of the action with the given name. - * @param sAction the action to search - * @return the index of the action, or -1 if not found - */ - int actionIndex( const TQString& sAction ) const; - - /** - * Returns the action with the given @p index. - * @param index the index of an action. You must not - * use an index that is too high. - * @return the KAccelAction with the given index - * @see count() - */ - KAccelAction* actionPtr( uint index ); - - /** - * Returns the action with the given @p index. - * @param index the index of an action. You must not - * use an index that is too high. - * @return the KAccelAction with the given index - * @see count() - */ - const KAccelAction* actionPtr( uint index ) const; - - /** - * Returns the action with the given name. - * @param aAction the name of the action to search - * @return the KAccelAction with the given name, or 0 - * if not found - */ - KAccelAction* actionPtr( const TQString& sAction ); - - /** - * Returns the action with the given name. - * @param aAction the name of the action to search - * @return the KAccelAction with the given name, or 0 - * if not found - */ - const KAccelAction* actionPtr( const TQString& sAction ) const; - - /** - * Returns the action with the given key sequence. - * @param cut the sequence to search for - * @return the KAccelAction with the given sequence, or 0 - * if not found - */ - KAccelAction* actionPtr( KKeySequence cut ); - - /** - * Returns the action with the given @p index. - * @param index the index of an action. You must not - * use an index that is too high. - * @return the KAccelAction with the given index - * @see actionPtr() - * @see count() - */ - KAccelAction& operator []( uint index ); - - /** - * Returns the action with the given @p index. - * @param index the index of an action. You must not - * use an index that is too high. - * @return the KAccelAction with the given index - * @see actionPtr() - * @see count() - */ - const KAccelAction& operator []( uint index ) const; - - /** - * Inserts an action into the collection. - * @param sName the name of the accelerator - * @param sLabel the label of the accelerator (i18n!) - * @param sWhatsThis the What's This text (18n!) - * @param cutDef3 the default shortcut for 3 modifier systems - * @param cutDef4 the default shortcut for 4 modifier systems - * @param pObjSlot the receiver of a signal when the key has been - * pressed - * @param psMethodSlot the slot to connect for key presses. Receives - * an int, as set by setID(), as only argument - * @param bConfigurable if true the user can configure the shortcut - * @param bEnabled true if the accelerator should be enabled - * @return the new action - */ - KAccelAction* insert( const TQString& sAction, const TQString& sLabel, const TQString& sWhatsThis, - const KShortcut& rgCutDefaults3, const KShortcut& rgCutDefaults4, - const TQObject* pObjSlot = 0, const char* psMethodSlot = 0, - bool bConfigurable = true, bool bEnabled = true ); - - /** - * Inserts an action into the collection. - * @param sName the name of the accelerator - * @param sLabel the label of the accelerator (i18n!) - * @return the new action - */ - KAccelAction* insert( const TQString& sName, const TQString& sLabel ); - - /** - * Removes the given action. - * @param sAction the name of the action. - * @return true if successful, false otherwise - */ - bool remove( const TQString& sAction ); - - /** - * Loads the actions from the given configuration file. - * - * @param sConfigGroup the group in the configuration file - * @param pConfig the configuration file to load from - * @return true if successful, false otherwise - */ - bool readActions( const TQString& sConfigGroup = "Shortcuts", KConfigBase* pConfig = 0 ); - - /** - * Writes the actions to the given configuration file. - * - * @param sConfigGroup the group in the configuration file - * @param pConfig the configuration file to save to - * @param bWriteAll true to write all actions - * @param bGlobal true to write to the global configuration file - * @return true if successful, false otherwise - */ - bool writeActions( const TQString& sConfigGroup = "Shortcuts", KConfigBase* pConfig = 0, - bool bWriteAll = false, bool bGlobal = false ) const; - - /** - * Emit a keycodeChanged signal. - */ - void emitKeycodeChanged(); - - /** - * Returns the number of actions in the collection. - * @return the number of actions - */ - uint count() const; - - protected: - KAccelBase* m_pKAccelBase; - KAccelAction** m_prgActions; - uint m_nSizeAllocated, m_nSize; - - void resize( uint ); - void insertPtr( KAccelAction* ); - - private: - class KAccelActionsPrivate* d; - - KAccelActions( KAccelBase* ); - void initPrivate( KAccelBase* ); - KAccelActions& operator =( KAccelActions& ); - - friend class KAccelBase; -}; - -#endif // _KACCELACTION_H diff --git a/python/pykde/extra/kde320/kaccelbase.h b/python/pykde/extra/kde320/kaccelbase.h deleted file mode 100644 index e2ec66e9..00000000 --- a/python/pykde/extra/kde320/kaccelbase.h +++ /dev/null @@ -1,230 +0,0 @@ -/* This file is part of the KDE libraries - Copyright (C) 2001 Ellis Whitehead - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. -*/ - -#ifndef _KACCELBASE_H -#define _KACCELBASE_H - -#include -#include -#include -#include -#include - -#include "kaccelaction.h" -#include "kkeyserver_x11.h" - -class TQPopupMenu; -class TQWidget; - -//---------------------------------------------------- - -/** - * @internal - * Handle keyboard accelerators. - * - * Allow an user to configure - * key bindings through application configuration files or through the - * KKeyChooser GUI. - * - * A KAccel contains a list of accelerator items. Each accelerator item - * consists of an action name and a keyboard code combined with modifiers - * (Shift, Ctrl and Alt.) - * - * For example, "Ctrl+P" could be a shortcut for printing a document. The key - * codes are listed in ckey.h. "Print" could be the action name for printing. - * The action name identifies the key binding in configuration files and the - * KKeyChooser GUI. - * - * When pressed, an accelerator key calls the slot to which it has been - * connected. Accelerator items can be connected so that a key will activate - * two different slots. - * - * A KAccel object handles key events sent to its parent widget and to all - * children of this parent widget. - * - * Key binding reconfiguration during run time can be prevented by specifying - * that an accelerator item is not configurable when it is inserted. A special - * group of non-configurable key bindings are known as the - * standard accelerators. - * - * The standard accelerators appear repeatedly in applications for - * standard document actions such as printing and saving. Convenience methods are - * available to insert and connect these accelerators which are configurable on - * a desktop-wide basis. - * - * It is possible for a user to choose to have no key associated with - * an action. - * - * The translated first argument for insertItem() is used only - * in the configuration dialog. - *\code - * KAccel *a = new KAccel( myWindow ); - * // Insert an action "Scroll Up" which is associated with the "Up" key: - * a->insertItem( i18n("Scroll Up"), "Scroll Up", "Up" ); - * // Insert an action "Scroll Down" which is not associated with any key: - * a->insertItem( i18n("Scroll Down"), "Scroll Down", 0); - * a->connectItem( "Scroll up", myWindow, TQT_SLOT( scrollUp() ) ); - * // a->insertStdItem( KStdAccel::Print ); //not necessary, since it - * // is done automatially with the - * // connect below! - * a->connectItem(KStdAccel::Print, myWindow, TQT_SLOT( printDoc() ) ); - * - * a->readSettings(); - *\endcode - * - * If a shortcut has a menu entry as well, you could insert them like - * this. The example is again the KStdAccel::Print from above. - * - * \code - * int id; - * id = popup->insertItem("&Print",this, TQT_SLOT(printDoc())); - * a->changeMenuAccel(popup, id, KStdAccel::Print ); - * \endcode - * - * If you want a somewhat "exotic" name for your standard print action, like - * id = popup->insertItem(i18n("Print &Document"),this, TQT_SLOT(printDoc())); - * it might be a good idea to insert the standard action before as - * a->insertStdItem( KStdAccel::Print, i18n("Print Document") ) - * as well, so that the user can easily find the corresponding function. - * - * This technique works for other actions as well. Your "scroll up" function - * in a menu could be done with - * - * \code - * id = popup->insertItem(i18n"Scroll &up",this, TQT_SLOT(scrollUp())); - * a->changeMenuAccel(popup, id, "Scroll Up" ); - * \endcode - * - * Please keep the order right: First insert all functions in the - * acceleratior, then call a -> readSettings() and @em then build your - * menu structure. - * - * @short Configurable key binding support. - * @version $Id: kaccelbase.h,v 1.26 2003/08/16 19:44:57 coolo Exp $ - */ - -class KAccelBase -{ - public: - enum Init { QT_KEYS = 0x00, NATIVE_KEYS = 0x01 }; - enum Signal { KEYCODE_CHANGED }; - - KAccelBase( int fInitCode ); - virtual ~KAccelBase(); - - uint actionCount() const; - KAccelActions& actions(); - bool isEnabled() const; - - KAccelAction* actionPtr( const TQString& sAction ); - const KAccelAction* actionPtr( const TQString& sAction ) const; - KAccelAction* actionPtr( const KKey& key ); - KAccelAction* actionPtr( const KKeyServer::Key& key ); - - const TQString& configGroup() const { return m_sConfigGroup; } - void setConfigGroup( const TQString& group ); - void setConfigGlobal( bool global ); - virtual void setEnabled( bool bEnabled ) = 0; - bool getAutoUpdate() { return m_bAutoUpdate; } - // return value of AutoUpdate flag before this call. - bool setAutoUpdate( bool bAuto ); - -// Procedures for manipulating Actions. - //void clearActions(); - - KAccelAction* insert( const TQString& sName, const TQString& sDesc ); - KAccelAction* insert( - const TQString& sAction, const TQString& sDesc, const TQString& sHelp, - const KShortcut& rgCutDefaults3, const KShortcut& rgCutDefaults4, - const TQObject* pObjSlot, const char* psMethodSlot, - bool bConfigurable = true, bool bEnabled = true ); - bool remove( const TQString& sAction ); - bool setActionSlot( const TQString& sAction, const TQObject* pObjSlot, const char* psMethodSlot ); - - bool updateConnections(); - - bool setShortcut( const TQString& sAction, const KShortcut& cut ); - -// Modify individual Action sub-items - bool setActionEnabled( const TQString& sAction, bool bEnable ); - - /** - * Read all key associations from @p config, or (if @p config - * is zero) from the application's configuration file - * KGlobal::config(). - * - * The group in which the configuration is stored can be - * set with setConfigGroup(). - */ - void readSettings( KConfigBase* pConfig = 0 ); - - /** - * Write the current configurable associations to @p config, - * or (if @p config is zero) to the application's - * configuration file. - */ - void writeSettings( KConfigBase* pConfig = 0 ) const; - - TQPopupMenu* createPopupMenu( TQWidget* pParent, const KKeySequence& ); - - // Protected methods - protected: - void slotRemoveAction( KAccelAction* ); - - struct X; - void createKeyList( TQValueVector& rgKeys ); - bool insertConnection( KAccelAction* ); - bool removeConnection( KAccelAction* ); - - virtual bool emitSignal( Signal ) = 0; - virtual bool connectKey( KAccelAction&, const KKeyServer::Key& ) = 0; - virtual bool connectKey( const KKeyServer::Key& ) = 0; - virtual bool disconnectKey( KAccelAction&, const KKeyServer::Key& ) = 0; - virtual bool disconnectKey( const KKeyServer::Key& ) = 0; - - protected: - struct ActionInfo - { - KAccelAction* pAction; - uint iSeq, iVariation; - //ActionInfo* pInfoNext; // nil if only one action uses this key. - - ActionInfo() { pAction = 0; iSeq = 0xffff; iVariation = 0xffff; } - ActionInfo( KAccelAction* _pAction, uint _iSeq, uint _iVariation ) - { pAction = _pAction; iSeq = _iSeq; iVariation = _iVariation; } - }; - typedef TQMap KKeyToActionMap; - - KAccelActions m_rgActions; - KKeyToActionMap m_mapKeyToAction; - TQValueList m_rgActionsNonUnique; - bool m_bNativeKeys; // Use native key codes instead of Qt codes - bool m_bEnabled; - bool m_bConfigIsGlobal; - TQString m_sConfigGroup; - bool m_bAutoUpdate; - KAccelAction* mtemp_pActionRemoving; - - private: - KAccelBase& operator =( const KAccelBase& ); - - friend class KAccelActions; -}; - -#endif // _KACCELBASE_H diff --git a/python/pykde/extra/kde320/kicontheme.h b/python/pykde/extra/kde320/kicontheme.h deleted file mode 100644 index 4c15c2d9..00000000 --- a/python/pykde/extra/kde320/kicontheme.h +++ /dev/null @@ -1,334 +0,0 @@ -/* vi: ts=8 sts=4 sw=4 - * - * $Id: kicontheme.h,v 1.29 2003/11/02 14:50:34 carewolf Exp $ - * - * This file is part of the KDE project, module kdecore. - * Copyright (C) 2000 Geert Jansen - * Antonio Larrosa - * - * This is free software; it comes under the GNU Library General - * Public License, version 2. See the file "COPYING.LIB" for the - * exact licensing terms. - * - */ - -#ifndef __KIconTheme_h_Included__ -#define __KIconTheme_h_Included__ - -#include -#include -#include - -class KConfig; -//class KIconThemeDir; - -class KIconThemePrivate; - -class KIconPrivate; - -/** - * One icon as found by KIconTheme. Also serves as a namespace containing - * icon related constants. - * @see KIconEffect - * @see KIconTheme - * @see KIconLoader - */ -class KIcon -{ -public: - KIcon() { size = 0; } - - /** - * Return true if this icon is valid, false otherwise. - */ - bool isValid() const { return size != 0; } - - /** - * Defines the context of the icon. - */ - enum Context { - Any, ///< Some icon with unknown purpose. - Action, ///< An action icon (e.g. 'save', 'print'). - Application, ///< An icon that represents an application. - Device, ///< An icon that represents a device. - FileSystem, ///< An icon that represents a file system. - MimeType ///< An icon that represents a mime type (or file type). - }; - - /** - * The type of the icon. - */ - enum Type { - Fixed, ///< Fixed-size icon. - Scalable, ///< Scalable-size icon. - Threshold ///< A threshold icon. - }; - - /** - * The type of a match. - */ - enum MatchType { - MatchExact, ///< Only try to find an exact match. - MatchBest ///< Take the best match if there is no exact match. - - }; - - // if you add a group here, make sure to change the config reading in - // KIconLoader too - /** - * The group an an icon. - */ - enum Group { NoGroup=-1, Desktop=0, FirstGroup=0, Toolbar, - MainToolbar, Small, Panel, LastGroup, User }; - - /** - * These are the standard sizes for icons. - */ - enum StdSizes { - /// small icons for menu entries - SizeSmall=16, - /// medium sized icons for the desktop - SizeMedium=32, - /// large sized icons for the panel - SizeLarge=48, - /// huge sized icons for iconviews - SizeHuge=64 - }; - - /** - * Defines the possible states of an icon. - */ - enum States { DefaultState, ///< The default state. - ActiveState, ///< Icon is active. - DisabledState, ///< Icon is disabled. - LastState ///< Last state (last constant) - }; - - /** - * This defines an overlay, a semi-transparent image that is - * projected onto the icon. They are used to show that the file - * represented by the icon is, for example, locked, zipped or hidden. - */ - enum Overlays { - LockOverlay=0x100, ///< a file is locked - ZipOverlay=0x200, ///< a file is zipped - LinkOverlay=0x400, ///< a fileis a link - HiddenOverlay=0x800, ///< a file is hidden - ShareOverlay=0x1000, ///< a file is shared - OverlayMask = ~0xff - }; - - /** - * The size in pixels of the icon. - */ - int size; - - /** - * The context of the icon. - */ - Context context; - - /** - * The type of the icon: Fixed, Scalable or Threshold. - **/ - Type type; - - /** - * The threshold in case type == Threshold - */ - int threshold; - - /** - * The full path of the icon. - */ - TQString path; - -private: - KIconPrivate *d; -}; - -inline KIcon::Group& operator++(KIcon::Group& group) { group = static_cast(group+1); return group; } -inline KIcon::Group operator++(KIcon::Group& group,int) { KIcon::Group ret = group; ++group; return ret; } - -/** - * Class to use/access icon themes in KDE. This class is used by the - * iconloader but can be used by others too. - * @see KIconLoader - */ -class KIconTheme -{ -public: - /** - * Load an icon theme by name. - * @param name the name of the theme (e.g. "hicolor" or "keramik") - * @param appName the name of the application. Can be null. This argument - * allows applications to have themed application icons. - */ - KIconTheme(const TQString& name, const TQString& appName=TQString::null); - ~KIconTheme(); - - /** - * The stylized name of the icon theme. - * @return the (human-readable) name of the theme - */ - TQString name() const { return mName; } - - /** - * A description for the icon theme. - * @return a human-readable description of the theme, TQString::null - * if there is none - */ - TQString description() const { return mDesc; } - - /** - * Return the name of the "example" icon. This can be used to - * present the theme to the user. - * @return the name of the example icon, TQString::null if there is none - */ - TQString example() const; - - /** - * Return the name of the screenshot. - * @return the name of the screenshot, TQString::null if there is none - */ - TQString screenshot() const; - - /** - * Returns the name of this theme's link overlay. - * @return the name of the link overlay - */ - TQString linkOverlay() const; - - /** - * Returns the name of this theme's zip overlay. - * @return the name of the zip overlay - */ - TQString zipOverlay() const; - - /** - * Returns the name of this theme's lock overlay. - * @return the name of the lock overlay - */ - TQString lockOverlay() const; - - /** - * Returns the name of this theme's share overlay. - * @return the name of the share overlay - * @since 3.1 - */ - TQString shareOverlay () const; - - /** - * Returns the toplevel theme directory. - * @return the directory of the theme - */ - TQString dir() const { return mDir; } - - /** - * The themes this icon theme falls back on. - * @return a list of icon themes that are used as fall-backs - */ - TQStringList inherits() const { return mInherits; } - - /** - * The icon theme exists? - * @return true if the icon theme is valid - */ - bool isValid() const; - - /** - * The icon theme should be hidden to the user? - * @return true if the icon theme is hidden - * @since 3.1 - */ - bool isHidden() const; - - /** - * The minimum display depth required for this theme. This can either - * be 8 or 32. - * @return the minimum bpp (8 or 32) - */ - int depth() const { return mDepth; } - - /** - * The default size of this theme for a certain icon group. - * @param group The icon group. See KIcon::Group. - * @return The default size in pixels for the given icon group. - */ - int defaultSize(KIcon::Group group) const; - - /** - * Query available sizes for a group. - * @param group The icon group. See KIcon::Group. - * @return a list of available sized for the given group - */ - TQValueList querySizes(KIcon::Group group) const; - - /** - * Query available icons for a size and context. - * @param size the size of the icons - * @param context the context of the icons - * @return the list of icon names - */ - TQStringList queryIcons(int size, KIcon::Context context = KIcon::Any) const; - - /** - * Query available icons for a context and preferred size. - * @param size the size of the icons - * @param context the context of the icons - * @return the list of icon names - */ - TQStringList queryIconsByContext(int size, KIcon::Context context = KIcon::Any) const; - - - /** - * Lookup an icon in the theme. - * @param name The name of the icon, without extension. - * @param size The desired size of the icon. - * @param match The matching mode. KIcon::MatchExact returns an icon - * only if matches exactly. KIcon::MatchBest returns the best matching - * icon. - * @return A KIcon class that describes the icon. If an icon is found, - * @see KIcon::isValid will return true, and false otherwise. - */ - KIcon iconPath(const TQString& name, int size, KIcon::MatchType match) const; - - /** - * List all icon themes installed on the system, global and local. - * @return the list of all icon themes - */ - static TQStringList list(); - - /** - * Returns the current icon theme. - * @return the name of the current theme - */ - static TQString current(); - - /** - * Reconfigure the theme. - */ - static void reconfigure(); - - /** - * Returns the default icon theme. - * @return the name of the default theme name - * @since 3.1 - */ - static TQString defaultThemeName(); - -private: - int mDefSize[8]; - TQValueList mSizes[8]; - - int mDepth; - TQString mDir, mName, mDesc; - TQStringList mInherits; -// TQPtrList mDirs; - KIconThemePrivate *d; - - static TQString *_theme; - static TQStringList *_theme_list; -}; - -#endif diff --git a/python/pykde/extra/kde320/kkeyserver_x11.h b/python/pykde/extra/kde320/kkeyserver_x11.h deleted file mode 100644 index 1271f506..00000000 --- a/python/pykde/extra/kde320/kkeyserver_x11.h +++ /dev/null @@ -1,433 +0,0 @@ -#ifndef _KKEYSERVER_X11_H -#define _KKEYSERVER_X11_H - -#include "kshortcut.h" -#include "kkeynative.h" - -/** - * A collection of functions for the conversion of key presses and - * their modifiers from the window system (X11) specific format - * to the generic format and vice-versa. - */ -namespace KKeyServer -{ - /** - * Supplement enum KKey::ModFlag - * @since 3.1 - */ - enum ExtraModFlag { MODE_SWITCH = 0x2000 }; - - /** - * Represents a key symbol. - * @see KKey - * @see KKeyServer - */ - struct Sym - { - public: - /// the actual value of the symbol - uint m_sym; - - /// Creates a null symbol. - Sym() - { m_sym = 0; } - /** - * Creates asymbol with the given value. - * @param sym the value - */ - Sym( uint sym ) - { m_sym = sym; } - /** - * Creates a symbol from the given string description. - * @param s the description of the symbol - * @see toString() - */ - Sym( const TQString& s ) - { init( s ); } - - /** - * Initializes the symbol with the given Qt key code. - * @param keyQt the qt key code - * @return true if successful, false otherwise - * @see Qt::Key - */ - bool initQt( int keyQt ); - - /** - * Initializes the key with the given string description. - * @param s the string description - * @return true if successful, false otherwise - * @see toString() - */ - bool init( const TQString &s ); - - /** - * Returns the qt key code of the symbol. - * @return the qt key code - */ - int qt() const; - - /** - * @internal - */ - TQString toStringInternal() const; - - /** - * Returns the string representation of the symbol. - * @return the string representation of the symbol - */ - TQString toString() const; - - /** - * Returns the mods that are required for this symbol as - * ORed KKey::ModFlag's. For example, Break requires a - * Ctrl to be valid. - * @return the required KKey::ModFlag's - * @see KKey::ModFlag - */ - uint getModsRequired() const; - - /** - * TODO: please find out what this method does and document it - */ - uint getSymVariation() const; - - /** - * Casts the symbol to its integer representation. - */ - operator uint() const { return m_sym; } - - /** - * Overloaded operator to convert ints to Sym. - */ - Sym& operator =( uint sym ) { m_sym = sym; return *this; } - - private: - TQString toString( bool bUserSpace ) const; - - static void capitalizeKeyname( TQString& ); - }; - - /** - * Represents a key press. - * @see KKey - */ - struct Key - { - /// Code for native Keys in Qt - enum { CODE_FOR_QT = 256 }; - - /// The code of the key - uint m_code; - - /// The modifiers of the key - uint m_mod; - - /// The symbol of the key - uint m_sym; - - /** - * Initializes the key with a KKey. - * @param key the key to get the data from - * @param bQt true to take the Qt keycode, false - * for the native key code - * @see Qt::Key - * @see KKeyNative - */ - bool init( const KKey& key, bool bQt ); - - /** - * Checks whether the key code is a native code. - * @return true if native code of the window system, - * false if it is a Qt keycode - * @see Qt::Key - * @see KKeyNative - */ - bool isNative() const { return m_code != CODE_FOR_QT; } - - /** - * Returns the code of the key. - * @return the code of the key - */ - uint code() const { return m_code; } - - /** - * Returns the modifiers of the key. - * @return the modifiers of the key - */ - uint mod() const { return m_mod; } - - /** - * Returns the symbol of the key. - * @return the symbol of the key - */ - uint sym() const { return m_sym; } - - /** - * Returns the qt key code. - * @return the qt key code - */ - int keyCodeQt() const { return (int) m_sym; } - - /** - * Sets the qt key code. - * @param keyQt the qt key code - */ - void setKeycodeQt( int keyQt ) - { m_code = CODE_FOR_QT; m_sym = keyQt; } - - /** - * Initializes this key with a KKeyNative. - * @return this key - */ - Key& operator =( const KKeyNative& key ); - - /** - * Compares this key with the given Key object. Returns a - * negative number if the given Key is larger, 0 if they - * are equal and a positive number this Key is larger. The - * returned value is the difference between the symbol, modifier - * or code, whatever is non-zero first. - * - * @param key the key to compare with this key - * @return a negative number if the given Key is larger, 0 if - * they are equal and a positive number this Key is larger - */ - int compare( const Key& key ) const; - - /** - * Compares the symbol, modifiers and code of both keys. - * @see compare() - */ - bool operator ==( const Key& b ) const - { return compare( b ) == 0; } - - /** - * Compares the symbol, modifiers and code of both keys. - * @see compare() - */ - bool operator <( const Key& b ) const - { return compare( b ) < 0; } - - /** - * Converts this Key to a KKey. - * @return the KKey - */ - KKey key() const; - }; - - /** - * TODO: please document this class - */ - struct Variations - { - enum { MAX_VARIATIONS = 4 }; - - Key m_rgkey[MAX_VARIATIONS]; - uint m_nVariations; - - Variations() { m_nVariations = 0; } - - void init( const KKey&, bool bQt ); - - uint count() const { return m_nVariations; } - const Key& key( uint i ) const { return m_rgkey[i]; } - }; - - /// TODO: please document - bool initializeMods(); - - /** - * Returns the equivalent X modifier mask of the given modifier flag. - * @param modFlag the generic flags to check - * @return the window system specific flags - */ - uint modX( KKey::ModFlag modFlag ); - - /** - * Returns true if the current keyboard layout supports the Win key. - * Specifically, whether the Super or Meta keys are assigned to an X modifier. - * @return true if the keyboard has a Win key - * @see modXWin() - */ - bool keyboardHasWinKey(); - - /** - * Returns the X11 Shift modifier mask/flag. - * @return the X11 Shift modifier mask/flag. - * @see accelModMaskX() - */ - uint modXShift(); - - /** - * Returns the X11 Lock modifier mask/flag. - * @return the X11 Lock modifier mask/flag. - * @see accelModMaskX() - */ - uint modXLock(); - - /** - * Returns the X11 Ctrl modifier mask/flag. - * @return the X11 Ctrl modifier mask/flag. - * @see accelModMaskX() - */ - uint modXCtrl(); - - /** - * Returns the X11 Alt (Mod1) modifier mask/flag. - * @return the X11 Alt (Mod1) modifier mask/flag. - * @see accelModMaskX() - */ - uint modXAlt(); - - /** - * Returns the X11 NumLock modifier mask/flag. - * @return the X11 NumLock modifier mask/flag. - * @see accelModMaskX() - */ - uint modXNumLock(); - - /** - * Returns the X11 Win (Mod3) modifier mask/flag. - * @return the X11 Win (Mod3) modifier mask/flag. - * @see keyboardHasWinKey() - * @see accelModMaskX() - */ - uint modXWin(); - - /** - * Returns the X11 ScrollLock modifier mask/flag. - * @return the X11 ScrollLock modifier mask/flag. - * @see accelModMaskX() - */ - uint modXScrollLock(); - - /** - * Returns bitwise OR'ed mask containing Shift, Ctrl, Alt, and - * Win (if available). - * @see modXShift() - * @see modXLock() - * @see modXCtrl() - * @see modXAlt() - * @see modXNumLock() - * @see modXWin() - * @see modXScrollLock() - */ - uint accelModMaskX(); - - /** - * Extracts the symbol from the given Qt key and - * converts it to a symbol. - * @param keyQt the qt key code - * @param sym if successful, the symbol will be written here - * @return true if successful, false otherwise - * @see Qt::Key - * @see Sym - */ - bool keyQtToSym( int keyQt, uint& sym ); - - /** - * Extracts the modifiers from the given Qt key and - * converts them in a mask of ORed KKey::ModFlag modifiers. - * @param keyQt the qt key code - * @param mod if successful, the modifiers will be written here - * @return true if successful, false otherwise - * @see Qt::Key - */ - bool keyQtToMod( int keyQt, uint& mod ); - - /** - * Converts the given symbol to a Qt key code. - * @param sym the symbol - * @param keyQt if successful, the qt key code will be written here - * @return true if successful, false otherwise - * @see Qt::Key - * @see Sym - */ - bool symToKeyQt( uint sym, int& keyQt ); - - /** - * Converts the mask of ORed KKey::ModFlag modifiers to - * a mask of ORed Qt key code modifiers. - * @param mod the mask of KKey::ModFlag modifiers - * @param modQt the mask of Qt key code modifiers will be written here, - * if successful - * @return true if successful, false otherwise - * @see Qt::Key - * @see KKey - */ - bool modToModQt( uint mod, int& modQt ); - - /** - * Converts the mask of ORed KKey::ModFlag modifiers to - * a mask of ORed X11 modifiers. - * @param mod the mask of KKey::ModFlag modifiers - * @param modX the mask of X11 modifiers will be written here, - * if successful - * @return true if successful, false otherwise - * @see KKey - */ - bool modToModX( uint mod, uint& modX ); - - /** - * Converts the mask of ORed X11 modifiers to - * a mask of ORed Qt key code modifiers. - * @param modX the mask of X11 modifiers - * @param modQt the mask of Qt key code modifiers will be written here - * if successful - * @return true if successful, false otherwise - * @see Qt::Key - */ - bool modXToModQt( uint modX, int& modQt ); - - /** - * Converts the mask of ORed X11 modifiers to - * a mask of ORed KKey::ModFlag modifiers. - * @param modX the mask of X11 modifiers - * @param mod the mask of KKey::ModFlag modifiers will be written here, - * if successful - * @return true if successful, false otherwise - * @see KKey - */ - bool modXToMod( uint modX, uint& mod ); - - /** - * Converts a X11 key code and a mask of ORed X11 modifiers - * into a X11 symbol. - * converts it to a symbol. - * @param codeX the X11 key code - * @param modX the mask of ORed X11 modifiers - * @param symX if successful, the X11 symbol will be written here - * @return true if successful, false otherwise - * @see Qt::Key - * @see Sym - */ - bool codeXToSym( uchar codeX, uint modX, uint& symX ); - - /** - * @internal - */ - TQString modToStringInternal( uint mod ); - - /** - * Converts the mask of ORed KKey::ModFlag modifiers to a - * user-readable string. - * @param mod the mask of ORed KKey::ModFlag modifiers - * @return the user-readable string - */ - TQString modToStringUser( uint mod ); - - /** - * @internal - * Unimplemented? - */ - bool stringToSymMod( const TQString&, uint& sym, uint& mod ); - - /** - * @internal - * Unimplemented? - */ - void keyQtToKeyX( uint keyCombQt, unsigned char *pKeyCodeX, uint *pKeySymX, uint *pKeyModX ); -} - -#endif // !_KKEYSERVER_X11_H diff --git a/python/pykde/extra/kde320/konsole_part.h b/python/pykde/extra/kde320/konsole_part.h deleted file mode 100644 index 6aba7064..00000000 --- a/python/pykde/extra/kde320/konsole_part.h +++ /dev/null @@ -1,223 +0,0 @@ -/* - This file is part of the KDE system - Copyright (C) 1999,2000 Boloni Laszlo - - This program is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. - */ - -#ifndef __KONSOLE_PART_H__ -#define __KONSOLE_PART_H__ - -#include -#include - - -#include - -#include - -//#include "schema.h" -//#include "session.h" - -class KInstance; -class konsoleBrowserExtension; -class TQPushButton; -class TQSpinBox; -class KPopupMenu; -class TQCheckBox; -class KRootPixmap; -class KToggleAction; -class KSelectAction; - -namespace KParts { class GUIActivateEvent; } - -class konsoleFactory : public KParts::Factory -{ - Q_OBJECT -public: - konsoleFactory(); - virtual ~konsoleFactory(); - - virtual KParts::Part* createPartObject(TQWidget *parentWidget = 0, const char *widgetName = 0, - TQObject* parent = 0, const char* name = 0, - const char* classname = "KParts::Part", - const TQStringList &args = TQStringList()); - - static KInstance *instance(); - - private: - static KInstance *s_instance; - static KAboutData *s_aboutData; -}; - -////////////////////////////////////////////////////////////////////// - -class konsolePart: public KParts::ReadOnlyPart, public TerminalInterface -{ - Q_OBJECT - public: - konsolePart(TQWidget *parentWidget, const char *widgetName, TQObject * parent, const char *name, const char *classname = 0); - virtual ~konsolePart(); - -signals: - void processExited(); - void receivedData( const TQString& s ); - protected: - virtual bool openURL( const KURL & url ); - virtual bool openFile() {return false;} // never used - virtual bool closeURL() {return true;} - virtual void guiActivateEvent( KParts::GUIActivateEvent * event ); - - protected slots: - void showShell(); - void slotProcessExited(); - void slotReceivedData( const TQString& s ); - -// void doneSession(TESession*); - void sessionDestroyed(); -// void configureRequest(TEWidget*,int,int x,int y); - void updateTitle(); - void enableMasterModeConnections(); - - private slots: - void emitOpenURLRequest(const TQString &url); - - void readProperties(); - void saveProperties(); - - void sendSignal(int n); - void closeCurrentSession(); - - void notifySize(int,int); - - void slotToggleFrame(); - void slotSelectScrollbar(); - void slotSelectFont(); - void schema_menu_check(); - void keytab_menu_activated(int item); - void updateSchemaMenu(); - void setSchema(int n); - void pixmap_menu_activated(int item); - void schema_menu_activated(int item); - void slotHistoryType(); - void slotSelectBell(); - void slotSelectLineSpacing(); - void slotBlinkingCursor(); - void slotWordSeps(); - void fontNotFound(); - - private: - konsoleBrowserExtension *m_extension; - KURL currentURL; - - void makeGUI(); - void applySettingsToGUI(); - - void setFont(int fontno); -// void setSchema(ColorSchema* s); - void updateKeytabMenu(); - - bool doOpenStream( const TQString& ); - bool doWriteStream( const TQByteArray& ); - bool doCloseStream(); - - TQWidget* parentWidget; -// TEWidget* te; -// TESession* se; -// ColorSchemaList* colors; - KRootPixmap* rootxpm; - - KToggleAction* blinkingCursor; - KToggleAction* showFrame; - - KSelectAction* selectBell; - KSelectAction* selectFont; - KSelectAction* selectLineSpacing; - KSelectAction* selectScrollbar; - - KPopupMenu* m_keytab; - KPopupMenu* m_schema; - KPopupMenu* m_signals; - KPopupMenu* m_options; - KPopupMenu* m_popupMenu; - - TQFont defaultFont; - - TQString pmPath; // pixmap path - TQString s_schema; - TQString s_kconfigSchema; - TQString s_word_seps; // characters that are considered part of a word - TQString fontNotFound_par; - - bool b_framevis:1; - bool b_histEnabled:1; - - int curr_schema; // current schema no - int n_bell; - int n_font; - int n_keytab; - int n_render; - int n_scroll; - unsigned m_histSize; - bool m_runningShell; - bool m_streamEnabled; -public: - // these are the implementations for the TermEmuInterface - // functions... - void startProgram( const TQString& program, - const TQStrList& args ); - void showShellInDir( const TQString& dir ); - void sendInput( const TQString& text ); -}; - -////////////////////////////////////////////////////////////////////// - -/*class HistoryTypeDialog : public KDialogBase -{ - Q_OBJECT -public: - HistoryTypeDialog(const HistoryType& histType, - unsigned int histSize, - TQWidget *parent); - -public slots: - void slotDefault(); - void slotSetUnlimited(); - void slotHistEnable(bool); - - unsigned int nbLines() const; - bool isOn() const; - -protected: - TQCheckBox* m_btnEnable; - TQSpinBox* m_size; - TQPushButton* m_setUnlimited; -};*/ - -////////////////////////////////////////////////////////////////////// - -class konsoleBrowserExtension : public KParts::BrowserExtension -{ - Q_OBJECT - friend class konsolePart; - public: - konsoleBrowserExtension(konsolePart *parent); - virtual ~konsoleBrowserExtension(); - - void emitOpenURLRequest(const KURL &url); -}; - -#endif diff --git a/python/pykde/extra/kde320/kpanelmenu.h b/python/pykde/extra/kde320/kpanelmenu.h deleted file mode 100644 index 1803e808..00000000 --- a/python/pykde/extra/kde320/kpanelmenu.h +++ /dev/null @@ -1,181 +0,0 @@ -/***************************************************************** - -Copyright (c) 1996-2000 the kicker authors. See file AUTHORS. - (c) 2001 Michael Goffioul - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN -AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - -******************************************************************/ - -#ifndef __KPANELMENU_H__ -#define __KPANELMENU_H__ - -#include -#include -#include - -class KPanelMenuPrivate; - -/** - * Base class to build dynamically loaded menu entries for the K-menu, or the panel. - * - * This class allows to build menu entries that will be dynamically added either to - * the K-menu, or to the panel as a normal button. These dynamic menus are located - * in shared libraries that will be loaded at runtime by Kicker (the KDE panel). - * - * To build such a menu, you have to inherit this class and implement the pure virtual - * functions #initialize() and slotExec(). You also have to provide a factory - * object in your library, see KLibFactory. This factory is only used to construct - * the menu object. - * - * Finally, you also have to provide a desktop file describing your dynamic menu. The - * relevant entries are: Name, Comment, Icon and X-KDE-Library (which contains the - * library name without any extension). This desktop file has to be installed in - * $KDEDIR/share/apps/kicker/menuext/. - * - * @short Base class to build dynamically loaded menu entries for the K-menu, or the panel. - * @author The kicker maintainer, Michael Goffioul - */ -class KPanelMenu : public KPopupMenu -{ - Q_OBJECT - -public: - /** - * Construct a KPanelMenu object. This is the normal constructor to use when - * building extrernal menu entries. - */ - KPanelMenu(TQWidget *parent=0, const char *name=0); - /** - * Constructor used internally by Kicker. You don't really want to use it. - * @param startDir a directory to associate with this menu - * @see path(), setPath() - */ - KPanelMenu(const TQString &startDir, TQWidget *parent=0, const char *name=0); - /** - * Destructor. - */ - virtual ~KPanelMenu(); - - /** - * Get the directory path associated with this menu, or TQString::null if - * there's no such associated path. - * @return the associated directory path - * @see setPath() - */ - const TQString& path() const; - /** - * Set a directory path to be associated with this menu. - * @param p the directory path - * @see path() - */ - void setPath(const TQString &p); - /** - * Tell if the menu has been initialized, that is it already contains items. - * This is useful when you need to know if you have to clear the menu, or to - * fill it. - * @return the initial state - * @see setInitialized(), initialize() - */ - bool initialized() const; - /** - * Set the initial state. Set it to true when you menu is filled with the items - * you want. - * @param on the initial state - * @see initialized(), initialize() - */ - void setInitialized(bool on); - - /** - * Disable the automatic clearing of the menu. Kicker uses a cache system for - * its menus. After a specific configurable delay, the menu will be cleared. - * Use this function if you want to disable kicker's cache system, and avoid - * the clearing of your menu. - */ - void disableAutoClear(); - -public slots: - /** - * Reinitialize the menu: the menu is first cleared, the initial state is set - * to false, and finally #initialize() is called. Use this if you want to - * refill your menu immediately. - */ - void reinitialize(); - /** - * Deinitialize the menu: the menu is cleared and the initialized state is set to - * false. #initialize() is NOT called. It will be called before the menu is - * next shown, however. Use this slot if you want a delayed reinitialization. - * @since 3.1 - */ - void deinitialize(); - -protected slots: - /** - * This slot is called just before the menu is shown. This allows your menu - * to update itself if needed. However you should instead re-implement - * #initialize to provide this feature. This function is responsible for - * the cache system handling, so if you re-implement it, you should call - * the base function also. Calls #initialize(). - * @see disableAutoClear() - */ - virtual void slotAboutToShow(); - /** - * This is slot is called when an item from the menu has been selected. Your - * applet is then supposed to perform some action. You must re-implement this - * function. - * @param id the ID associated with the selected item - */ - virtual void slotExec(int id) = 0; - /** - * This slots is called to initialize the menu. It is called automatically by - * slotAboutToShow(). By re-implementing this functions, you can reconstruct - * the menu before it is being shown. At the end of this function, you should - * call setInitialize() with true to tell the system that the menu is OK. - * You applet must re-implement this function. - * @see slotAboutToShow(), initialized(), setInitialized() - */ - virtual void initialize() = 0; - /** - * Clears the menu, and update the initial state accordingly. - * @see initialized() - */ - void slotClear(); - -protected: - /** - * Re-implemented for internal reasons. - */ - virtual void hideEvent(TQHideEvent *ev); - /** - * For internal use only. Used by constructors. - */ - void init(const TQString& path = TQString::null); - -protected: - virtual void virtual_hook( int id, void* data ); -private: - void internalInitialize(); - KPanelMenuPrivate *d; -}; - -#define K_EXPORT_KICKER_MENUEXT( libname, classname ) \ - K_EXPORT_COMPONENT_FACTORY( \ - kickermenu_##libname, \ - KGenericFactory("libkickermenu_" #libname) ) - -#endif diff --git a/python/pykde/extra/kde320/krecentdirs.h b/python/pykde/extra/kde320/krecentdirs.h deleted file mode 100644 index 61a50706..00000000 --- a/python/pykde/extra/kde320/krecentdirs.h +++ /dev/null @@ -1,68 +0,0 @@ -/* -*- c++ -*- - * Copyright (C)2000 Waldo Bastian - * - * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * - * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND - * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE - * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS - * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) - * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT - * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY - * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF - * SUCH DAMAGE. - * - */ -#ifndef __KRECENTDIRS_H -#define __KRECENTDIRS_H - -#include - -/** - * The goal of this class is to make sure that, when the user needs to - * specify a file via the file selection dialog, this dialog will start - * in the directory most likely to contain the desired files. - * - * This works as follows: Each time the file selection dialog is - * shown, the programmer can specify a "file-class". The file-dialog will - * then start with the directory associated with this file-class. When - * the dialog closes, the directory currently shown in the file-dialog - * will be associated with the file-class. - * - * A file-class can either start with ':' or with '::'. If it starts with - * a single ':' the file-class is specific to the current application. - * If the file-class starts with '::' it is global to all applications. - */ -class KRecentDirs -{ -public: - /** - * Returns a list of directories associated with this file-class. - * The most recently used directory is at the front of the list. - */ - static TQStringList list(const TQString &fileClass); - - /** - * Returns the most recently used directory accociated with this file-class. - */ - static TQString dir(const TQString &fileClass); - - /** - * Associates @p directory with @p fileClass - */ - static void add(const TQString &fileClass, const TQString &directory); -}; - -#endif diff --git a/python/pykde/extra/kde320/ksharedptr.h b/python/pykde/extra/kde320/ksharedptr.h deleted file mode 100644 index 8189276a..00000000 --- a/python/pykde/extra/kde320/ksharedptr.h +++ /dev/null @@ -1,171 +0,0 @@ -/* This file is part of the KDE libraries - Copyright (c) 1999 Waldo Bastian - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License version 2 as published by the Free Software Foundation. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. -*/ -#ifndef KSharedPTR_H -#define KSharedPTR_H - -/** - * Reference counting for shared objects. If you derive your object - * from this class, then you may use it in conjunction with - * KSharedPtr to control the lifetime of your object. - * - * Specifically, all classes that derive from KShared have an internal - * counter keeping track of how many other objects have a reference to - * their object. If used with KSharedPtr, then your object will - * not be deleted until all references to the object have been - * released. - * - * You should probably not ever use any of the methods in this class - * directly -- let the KSharedPtr take care of that. Just derive - * your class from KShared and forget about it. - * - * @author Waldo Bastian - * @version $Id: ksharedptr.h,v 1.22 2003/08/20 08:01:42 coolo Exp $ - */ -class KShared { -public: - /** - * Standard constructor. This will initialize the reference count - * on this object to 0. - */ - KShared() : count(0) { } - - /** - * Copy constructor. This will @em not actually copy the objects - * but it will initialize the reference count on this object to 0. - */ - KShared( const KShared & ) : count(0) { } - - /** - * Overloaded assignment operator. - */ - KShared &operator=(const KShared & ) { return *this; } - - /** - * Increases the reference count by one. - */ - void _KShared_ref() const { count++; } - - /** - * Releases a reference (decreases the reference count by one). If - * the count goes to 0, this object will delete itself. - */ - void _KShared_unref() const { if (!--count) delete this; } - - /** - * Return the current number of references held. - * - * @return Number of references - */ - int _KShared_count() const { return count; } - -protected: - virtual ~KShared() { } -private: - mutable int count; -}; - -/** - * Can be used to control the lifetime of an object that has derived - * KShared. As long a someone holds a KSharedPtr on some KShared - * object it won't become deleted but is deleted once its reference - * count is 0. This struct emulates C++ pointers perfectly. So just - * use it like a simple C++ pointer. - * - * KShared and KSharedPtr are preferred over QShared / QSharedPtr - * since they are more safe. - * - * @author Waldo Bastian - * @version $Id: ksharedptr.h,v 1.22 2003/08/20 08:01:42 coolo Exp $ - */ -template< class T > -struct KSharedPtr -{ -public: -/** - * Creates a null pointer. - */ - KSharedPtr() - : ptr(0) { } - /** - * Creates a new pointer. - * @param t the pointer - */ - KSharedPtr( T* t ) - : ptr(t) { if ( ptr ) ptr->KShared::_KShared_ref(); } - - /** - * Copies a pointer. - * @param p the pointer to copy - */ - KSharedPtr( const KSharedPtr& p ) - : ptr(p.ptr) { if ( ptr ) ptr->KShared::_KShared_ref(); } - - /** - * Unreferences the object that this pointer points to. If it was - * the last reference, the object will be deleted. - */ - ~KSharedPtr() { if ( ptr ) ptr->KShared::_KShared_unref(); } - - KSharedPtr& operator= ( const KSharedPtr& p ) { - if ( ptr == p.ptr ) return *this; - if ( ptr ) ptr->KShared::_KShared_unref(); - ptr = p.ptr; - if ( ptr ) ptr->KShared::_KShared_ref(); - return *this; - } - KSharedPtr& operator= ( T* p ) { - if ( ptr == p ) return *this; - if ( ptr ) ptr->KShared::_KShared_unref(); - ptr = p; - if ( ptr ) ptr->KShared::_KShared_ref(); - return *this; - } - bool operator== ( const KSharedPtr& p ) const { return ( ptr == p.ptr ); } - bool operator!= ( const KSharedPtr& p ) const { return ( ptr != p.ptr ); } - bool operator== ( const T* p ) const { return ( ptr == p ); } - bool operator!= ( const T* p ) const { return ( ptr != p ); } - bool operator!() const { return ( ptr == 0 ); } - operator T*() const { return ptr; } - - /** - * Returns the pointer. - * @return the pointer - */ - T* data() { return ptr; } - - /** - * Returns the pointer. - * @return the pointer - */ - const T* data() const { return ptr; } - - const T& operator*() const { return *ptr; } - T& operator*() { return *ptr; } - const T* operator->() const { return ptr; } - T* operator->() { return ptr; } - - /** - * Returns the number of references. - * @return the number of references - */ - int count() const { return ptr->KShared::_KShared_count(); } // for debugging purposes -private: - T* ptr; -}; - -#endif diff --git a/python/pykde/extra/kde320/ksycocafactory.h b/python/pykde/extra/kde320/ksycocafactory.h deleted file mode 100644 index 2a114ee0..00000000 --- a/python/pykde/extra/kde320/ksycocafactory.h +++ /dev/null @@ -1,143 +0,0 @@ -/* This file is part of the KDE libraries - * Copyright (C) 1999 Waldo Bastian - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License version 2 as published by the Free Software Foundation; - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public License - * along with this library; see the file COPYING.LIB. If not, write to - * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - * Boston, MA 02110-1301, USA. - **/ - -#ifndef __ksycocafactory_h__ -#define __ksycocafactory_h__ "$Id: ksycocafactory.h,v 1.14 2003/10/29 17:59:18 waba Exp $" - -#include "ksycocatype.h" -#include "ksycocaentry.h" - -#include -#include -class KSycoca; -class TQStringList; -class TQString; -class KSycocaDict; -class KSycocaResourceList; - -typedef TQDict KSycocaEntryDict; - -/** - * @internal - * Base class for sycoca factories - */ -class KSycocaFactory -{ -public: - virtual KSycocaFactoryId factoryId() const = 0; - -protected: // virtual class - /** - * Create a factory which can be used to lookup from/create a database - * (depending on KSycoca::isBuilding()) - */ - KSycocaFactory( KSycocaFactoryId factory_id ); - -public: - virtual ~KSycocaFactory(); - - /** - * @return the position of the factory in the sycoca file - */ - int offset() { return mOffset; } - - /** - * @return the dict, for special use by KBuildSycoca - */ - KSycocaEntryDict * entryDict() { return m_entryDict; } - - /** - * Construct an entry from a config file. - * To be implemented in the real factories. - */ - virtual KSycocaEntry *createEntry(const TQString &file, const char *resource) = 0; - - /** - * Add an entry - */ - virtual void addEntry(KSycocaEntry *newEntry, const char *resource); - - /** - * Remove an entry - * Not very fast, use with care. O(N) - */ - void removeEntry(KSycocaEntry *newEntry); - - /** - * Read an entry from the database - */ - virtual KSycocaEntry *createEntry(int offset)=0; - - /** - * Get a list of all entries from the database. - */ - KSycocaEntry::List allEntries(); - - /** - * Saves all entries it maintains as well as index files - * for these entries to the stream 'str'. - * - * Also sets mOffset to the starting position. - * - * The stream is positioned at the end of the last index. - * - * Don't forget to call the parent first when you override - * this function. - */ - virtual void save(TQDataStream &str); - - /** - * Writes out a header to the stream 'str'. - * The baseclass positions the stream correctly. - * - * Don't forget to call the parent first when you override - * this function. - */ - virtual void saveHeader(TQDataStream &str); - - /** - * @return the resources for which this factory is responsible. - */ - virtual const KSycocaResourceList * resourceList() const { return m_resourceList; } - -private: - int mOffset; - -protected: - int m_sycocaDictOffset; - int m_beginEntryOffset; - int m_endEntryOffset; - TQDataStream *m_str; - - KSycocaResourceList *m_resourceList; - KSycocaEntryDict *m_entryDict; - KSycocaDict *m_sycocaDict; -protected: - virtual void virtual_hook( int id, void* data ); -}; - -/** This, instead of a typedef, allows to declare "class ..." in header files - * @internal - */ -class KSycocaFactoryList : public TQPtrList -{ -public: - KSycocaFactoryList() { } -}; - -#endif diff --git a/python/pykde/extra/kde320/ktoolbarbutton.h b/python/pykde/extra/kde320/ktoolbarbutton.h deleted file mode 100644 index 5b7a85f9..00000000 --- a/python/pykde/extra/kde320/ktoolbarbutton.h +++ /dev/null @@ -1,315 +0,0 @@ -/* This file is part of the KDE libraries - Copyright (C) 1997, 1998 Stephan Kulow (coolo@kde.org) - (C) 1997, 1998 Sven Radej (radej@kde.org) - (C) 1997, 1998 Mark Donohoe (donohoe@kde.org) - (C) 1997, 1998 Matthias Ettrich (ettrich@kde.org) - (C) 2000 Kurt Granroth (granroth@kde.org) - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License version 2 as published by the Free Software Foundation. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. -*/ - -// $Id: ktoolbarbutton.h,v 1.34 2003/09/09 12:40:58 bhards Exp $ -#ifndef _KTOOLBARBUTTON_H -#define _KTOOLBARBUTTON_H - -#include -#include -#include -#include -#include - -class KToolBar; -class KToolBarButtonPrivate; -class KInstance; -class TQEvent; -class TQPopupMenu; -class TQPainter; - -/** - * A toolbar button. This is used internally by KToolBar, use the - * KToolBar methods instead. - * @internal - */ -class KToolBarButton : public QToolButton -{ - Q_OBJECT - -public: - /** - * Construct a button with an icon loaded by the button itself. - * This will trust the button to load the correct icon with the - * correct size. - * - * @param icon Name of icon to load (may be absolute or relative) - * @param id Id of this button - * @param parent This button's parent - * @param name This button's internal name - * @param txt This button's text (in a tooltip or otherwise) - */ - KToolBarButton(const TQString& icon, int id, TQWidget *parent, - const char *name=0L, const TQString &txt=TQString::null, - KInstance *_instance = KGlobal::instance()); - - /** - * Construct a button with an existing pixmap. It is not - * recommended that you use this as the internal icon loading code - * will almost always get it "right". - * - * @param pixmap Name of icon to load (may be absolute or relative) - * @param id Id of this button - * @param parent This button's parent - * @param name This button's internal name - * @param txt This button's text (in a tooltip or otherwise) - */ - KToolBarButton(const TQPixmap& pixmap, int id, TQWidget *parent, - const char *name=0L, const TQString &txt=TQString::null); - - /** - * Construct a separator button - * - * @param parent This button's parent - * @param name This button's internal name - */ - KToolBarButton(TQWidget *parent=0L, const char *name=0L); - - /** - * Standard destructor - */ - ~KToolBarButton(); - -#ifndef KDE_NO_COMPAT - /** - * @deprecated - * Set the pixmap directly for this button. This pixmap should be - * the active one... the dimmed and disabled pixmaps are constructed - * based on this one. However, don't use this function unless you - * are positive that you don't want to use setIcon. - * - * @param pixmap The active pixmap - */ - // this one is from TQButton, so #ifdef-ing it out doesn't break BC - virtual void setPixmap(const TQPixmap &pixmap) KDE_DEPRECATED; - - /** - * @deprecated - * Force the button to use this pixmap as the default one rather - * then generating it using effects. - * - * @param pixmap The pixmap to use as the default (normal) one - */ - void setDefaultPixmap(const TQPixmap& pixmap) KDE_DEPRECATED; - - /** - * @deprecated - * Force the button to use this pixmap when disabled one rather then - * generating it using effects. - * - * @param pixmap The pixmap to use when disabled - */ - void setDisabledPixmap(const TQPixmap& pixmap) KDE_DEPRECATED; -#endif - - /** - * Set the text for this button. The text will be either used as a - * tooltip (IconOnly) or will be along side the icon - * - * @param text The button (or tooltip) text - */ - virtual void setText(const TQString &text); - - /** - * Set the icon for this button. The icon will be loaded internally - * with the correct size. This function is preferred over setIconSet - * - * @param icon The name of the icon - */ - virtual void setIcon(const TQString &icon); - - /// @since 3.1 - virtual void setIcon( const TQPixmap &pixmap ) - { TQToolButton::setIcon( pixmap ); } - - /** - * Set the pixmaps for this toolbar button from a TQIconSet. - * If you call this you don't need to call any of the other methods - * that set icons or pixmaps. - * @param iconset The iconset to use - */ - virtual void setIconSet( const TQIconSet &iconset ); - -#ifndef KDE_NO_COMPAT - /** - * @deprecated - * Set the active icon for this button. The pixmap itself is loaded - * internally based on the icon size... .. the disabled and default - * pixmaps, however will only be constructed if generate is - * true. This function is preferred over setPixmap - * - * @param icon The name of the active icon - * @param generate If true, then the other icons are automagically - * generated from this one - */ - KDE_DEPRECATED void setIcon(const TQString &icon, bool generate ) { Q_UNUSED(generate); setIcon( icon ); } - - /** - * @deprecated - * Force the button to use this icon as the default one rather - * then generating it using effects. - * - * @param icon The icon to use as the default (normal) one - */ - void setDefaultIcon(const TQString& icon) KDE_DEPRECATED; - - /** - * @deprecated - * Force the button to use this icon when disabled one rather then - * generating it using effects. - * - * @param icon The icon to use when disabled - */ - void setDisabledIcon(const TQString& icon) KDE_DEPRECATED; -#endif - - /** - * Turn this button on or off - * - * @param flag true or false - */ - void on(bool flag = true); - - /** - * Toggle this button - */ - void toggle(); - - /** - * Turn this button into a toggle button or disable the toggle - * aspects of it. This does not toggle the button itself. - * Use toggle() for that. - * - * @param toggle true or false - */ - void setToggle(bool toggle = true); - - /** - * Return a pointer to this button's popup menu (if it exists) - */ - TQPopupMenu *popup(); - - /** - * Returns the button's id. - * @since 3.2 - */ - int id() const; - - /** - * Give this button a popup menu. There will not be a delay when - * you press the button. Use setDelayedPopup if you want that - * behavior. - * - * @param p The new popup menu - * @param unused Has no effect - ignore it. - */ - void setPopup (TQPopupMenu *p, bool unused = false); - - /** - * Gives this button a delayed popup menu. - * - * This function allows you to add a delayed popup menu to the button. - * The popup menu is then only displayed when the button is pressed and - * held down for about half a second. - * - * @param p the new popup menu - * @param unused Has no effect - ignore it. - */ - void setDelayedPopup(TQPopupMenu *p, bool unused = false); - - /** - * Turn this button into a radio button - * - * @param f true or false - */ - void setRadio(bool f = true); - - /** - * Toolbar buttons naturally will assume the global styles - * concerning icons, icons sizes, etc. You can use this function to - * explicitly turn this off, if you like. - * - * @param no_style Will disable styles if true - */ - void setNoStyle(bool no_style = true); - -signals: - void clicked(int); - void doubleClicked(int); - void pressed(int); - void released(int); - void toggled(int); - void highlighted(int, bool); - -public slots: - /** - * This slot should be called whenever the toolbar mode has - * potentially changed. This includes such events as text changing, - * orientation changing, etc. - */ - void modeChange(); - virtual void setTextLabel(const TQString&, bool tipToo); - -protected: - void paletteChange(const TQPalette &); - void leaveEvent(TQEvent *e); - void enterEvent(TQEvent *e); - void drawButton(TQPainter *p); - bool eventFilter (TQObject *o, TQEvent *e); - void showMenu(); - TQSize sizeHint() const; - TQSize minimumSizeHint() const; - TQSize minimumSize() const; - - /// @since 3.1 - bool isRaised() const; - /// @since 3.1 - bool isActive() const; - /// @since 3.1 - int iconTextMode() const; - -protected slots: - void slotClicked(); - void slotPressed(); - void slotReleased(); - void slotToggled(); - void slotDelayTimeout(); - -protected: - virtual void virtual_hook( int id, void* data ); -private: - KToolBarButtonPrivate *d; -}; - -/** -* List of KToolBarButton objects. -* @internal -* @version $Id: ktoolbarbutton.h,v 1.34 2003/09/09 12:40:58 bhards Exp $ -*/ -class KToolBarButtonList : public TQIntDict -{ -public: - KToolBarButtonList(); - ~KToolBarButtonList() {} -}; - -#endif diff --git a/python/pykde/extra/kde320/kurifilter.h b/python/pykde/extra/kde320/kurifilter.h deleted file mode 100644 index 834bff8a..00000000 --- a/python/pykde/extra/kde320/kurifilter.h +++ /dev/null @@ -1,644 +0,0 @@ -/* - * This file is part of the KDE libraries - * Copyright (C) 2000-2001,2003 Dawit Alemayehu - * - * Original author - * Copyright (C) 2000 Yves Arrouye - * - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public License - * along with this library; see the file COPYING.LIB. If not, write to - * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - * Boston, MA 02110-1301, USA. - **/ - -#ifndef __kurifilter_h__ -#define __kurifilter_h__ "$Id: kurifilter.h,v 1.41 2003/08/30 08:56:21 raabe Exp $" - -#include -#include -#include - -#include -#include - -class KURIFilterPrivate; -class KURIFilterDataPrivate; - -class KCModule; - -/** -* A basic message object used for exchanging filtering -* information between the filter plugins and the application -* requesting the filtering service. -* -* Use this object if you require a more detailed information -* about the URI you want to filter. Any application can create -* an instance of this class and send it to KURIFilter to -* have the plugins fill out all possible information about the -* URI. -* -* \b Example -* -* \code -* TQString text = "kde.org"; -* KURIFilterData d = text; -* bool filtered = KURIFilter::self()->filter( d ); -* cout << "URL: " << text.latin1() << endl -* << "Filtered URL: " << d.uri().url().latin1() << endl -* << "URI Type: " << d.uriType() << endl -* << "Was Filtered: " << filtered << endl; -* \endcode -* -* The above code should yield the following output: -* \code -* URI: kde.org -* Filtered URI: http://kde.org -* URI Type: 0 <== means NET_PROTOCOL -* Was Filtered: 1 <== means the URL was successfully filtered -* \endcode -* -* @short A message object for exchanging filtering URI info. -* @author Dawit Alemayehu -*/ - -class KURIFilterData -{ -friend class KURIFilterPlugin; - -public: - /** - * Describes the type of the URI that was filtered. - * Here is a brief description of the types: - * - * @li NET_PROTOCOL - Any network protocol: http, ftp, nttp, pop3, etc... - * @li LOCAL_FILE - A local file whose executable flag is not set - * @li LOCAL_DIR - A local directory - * @li EXECUTABLE - A local file whose executable flag is set - * @li HELP - A man or info page - * @li SHELL - A shell executable (ex: echo "Test..." >> ~/testfile) - * @li BLOCKED - A URI that should be blocked/filtered (ex: ad filtering) - * @li ERROR - An incorrect URI (ex: "~johndoe" when user johndoe - * does not exist in that system ) - * @li UNKNOWN - A URI that is not identified. Default value when - * a KURIFilterData is first created. - */ - enum URITypes { NET_PROTOCOL=0, LOCAL_FILE, LOCAL_DIR, EXECUTABLE, HELP, SHELL, BLOCKED, ERROR, UNKNOWN }; - - /** - * Default constructor. - * - * Creates a URIFilterData object. - */ - KURIFilterData() { init(); } - - /** - * Creates a URIFilterData object from the given URL. - * - * @param url is the URL to be filtered. - */ - KURIFilterData( const KURL& url ) { init( url); } - - /** - * Creates a URIFilterData object from the given string. - * - * @param url is the string to be filtered. - */ - KURIFilterData( const TQString& url ) { init( url ); } - - /** - * Copy constructor. - * - * Creates a URIFilterData object from another - * URI filter data object. - * - * @param data the uri filter data to be copied. - */ - KURIFilterData( const KURIFilterData& data); - - /** - * Destructor. - */ - ~KURIFilterData(); - - /** - * This method has been deprecated and will always return - * true. You should instead use the result from the - * KURIFilter::filterURI() calls. - * - * @deprecated - */ - KDE_DEPRECATED bool hasBeenFiltered() const { return true; } - - /** - * Returns the filtered or the original URL. - * - * This function returns the filtered url if one - * of the plugins successfully filtered the original - * URL. Otherwise, it returns the original URL. - * See hasBeenFiltered() and - * - * @return the filtered or original url. - */ - KURL uri() const { return m_pURI; } - - /** - * Returns an error message. - * - * This functions returns the error message set - * by the plugin whenever the uri type is set to - * KURIFilterData::ERROR. Otherwise, it returns - * a TQString::null. - * - * @return the error message or a NULL when there is none. - */ - TQString errorMsg() const { return m_strErrMsg; } - - /** - * Returns the URI type. - * - * This method always returns KURIFilterData::UNKNOWN - * if the given URL was not filtered. - * @return the type of the URI - */ - URITypes uriType() const { return m_iType; } - - /** - * Sets the URL to be filtered. - * - * Use this function to set the string to be - * filtered when you construct an empty filter - * object. - * - * @param url the string to be filtered. - */ - void setData( const TQString& url ) { init( url ); } - - /** - * Same as above except the argument is a URL. - * - * Use this function to set the string to be - * filtered when you construct an empty filter - * object. - * - * @param url the URL to be filtered. - */ - void setData( const KURL& url ) { init( url ); } - - /** - * Sets the absolute path to be used whenever the supplied - * data is a relative local URL. - * - * NOTE: This function should only be used for local resources, - * i.e. the "file:/" protocol. It is useful for specifying the - * absolute path in cases where the actual URL might be relative. - * meta object. If deriving the path from a KURL, make sure you - * set the argument for this function to the result of calling - * path () instead of url (). - * - * @param abs_path the abolute path to the local resource. - * @return true if absolute path is successfully set. Otherwise, false. - */ - bool setAbsolutePath( const TQString& abs_path ); - - /** - * Returns the absolute path if one has already been set. - * @return the absolute path, or TQString::null - * @see hasAbsolutePath() - */ - TQString absolutePath() const; - - /** - * Checks whether the supplied data had an absolute path. - * @return true if the supplied data has an absolute path - * @see absolutePath() - */ - bool hasAbsolutePath() const; - - /** - * Returns the command line options and arguments for a - * local resource when present. - * - * @return options and arguments when present, otherwise TQString::null - */ - TQString argsAndOptions() const; - - /** - * Checks whether the current data is a local resource with - * command line options and arguments. - * @return true if the current data has command line options and arguments - */ - bool hasArgsAndOptions() const; - - /** - * Returns the name of the icon that matches - * the current filtered URL. - * - * NOTE that this function will return a NULL - * string by default and when no associated icon - * is found. - * - * @return the name of the icon associated with the resource, - * or TQString::null if not found - */ - TQString iconName(); - - /** - * Check whether the provided uri is executable or not. - * - * Setting this to false ensures that typing the name of - * an executable does not start that application. This is - * useful in the location bar of a browser. The default - * value is true. - * - * @since 3.2 - */ - void setCheckForExecutables (bool check); - - /** - * @return true if the filters should attempt to check whether the - * supplied uri is an executable. False otherwise. - * - * @since 3.2 - */ - bool checkForExecutables() const { return m_bCheckForExecutables; } - - /** - * @return the string as typed by the user, before any URL processing is done - * @since 3.2 - */ - TQString typedString() const; - - /** - * Overloaded assigenment operator. - * - * This function allows you to easily assign a KURL - * to a KURIFilterData object. - * - * @return an instance of a KURIFilterData object. - */ - KURIFilterData& operator=( const KURL& url ) { init( url ); return *this; } - - /** - * Overloaded assigenment operator. - * - * This function allows you to easily assign a QString - * to a KURIFilterData object. - * - * @return an instance of a KURIFilterData object. - */ - KURIFilterData& operator=( const TQString& url ) { init( url ); return *this; } - -protected: - - /** - * Initializes the KURIFilterData on construction. - * @param url the URL to initialize the object with - */ - void init( const KURL& url); - - /** - * Initializes the KURIFilterData on construction. - * @param url the URL to initialize the object with - */ - void init( const TQString& url = TQString::null ); - -private: - bool m_bCheckForExecutables; - bool m_bChanged; - - TQString m_strErrMsg; - TQString m_strIconName; - - KURL m_pURI; - URITypes m_iType; - KURIFilterDataPrivate *d; -}; - - -/** - * Base class for URI filter plugins. - * - * This class applies a single filter to a URI. All plugins designed - * to provide URI filtering service should inherit from this abstract - * class and provide a concrete implementation. - * - * All inheriting classes need to implement the pure virtual function - * filterURI. - * - * @short Abstract class for URI filter plugins. - */ -class KURIFilterPlugin : public QObject -{ - Q_OBJECT - -public: - - /** - * Constructs a filter plugin with a given name and - * priority. - * - * @param parent the parent object, or 0 for no parent - * @param name the name of the plugin, or 0 for no name - * @param pri the priority of the plugin. - */ - KURIFilterPlugin( TQObject *parent = 0, const char *name = 0, double pri = 1.0 ); - - /** - * Returns the filter's name. - * - * @return A string naming the filter. - */ - virtual TQString name() const { return m_strName; } - - /** - * Returns the filter's priority. - * - * Each filter has an assigned priority, a float from 0 to 1. Filters - * with the lowest priority are first given a chance to filter a URI. - * - * @return The priority of the filter. - */ - virtual double priority() const { return m_dblPriority; } - - /** - * Filters a URI. - * - * @param data the URI data to be filtered. - * @return A boolean indicating whether the URI has been changed. - */ - virtual bool filterURI( KURIFilterData& data ) const = 0; - - /** - * Creates a configuration module for the filter. - * - * It is the responsibility of the caller to delete the module - * once it is not needed anymore. - * - * @return A configuration module, 0 if the filter isn't configurable. - */ - virtual KCModule *configModule( TQWidget*, const char* ) const { return 0; } - - /** - * Returns the name of the configuration module for the filter. - * - * @return the name of a configuration module or TQString::null if none. - */ - virtual TQString configName() const { return name(); } - -protected: - - /** - * Sets the the URL in @p data to @p uri. - */ - void setFilteredURI ( KURIFilterData& data, const KURL& uri ) const; - - /** - * Sets the error message in @p data to @p errormsg. - */ - void setErrorMsg ( KURIFilterData& data, const TQString& errmsg ) const { - data.m_strErrMsg = errmsg; - } - - /** - * Sets the URI type in @p data to @p type. - */ - void setURIType ( KURIFilterData& data, KURIFilterData::URITypes type) const { - data.m_iType = type; - data.m_bChanged = true; - } - - /** - * Sets the arguments and options string in @p data - * to @p args if any were found during filterting. - */ - void setArguments( KURIFilterData& data, const TQString& args ) const; - - TQString m_strName; - double m_dblPriority; - -protected: - virtual void virtual_hook( int id, void* data ); -private: - class KURIFilterPluginPrivate *d; -}; - - -/** - * A list of filter plugins. - */ -class KURIFilterPluginList : public TQPtrList -{ -public: - virtual int compareItems(Item a, Item b) - { - double diff = ((KURIFilterPlugin *) a)->priority() - ((KURIFilterPlugin *) b)->priority(); - return diff < 0 ? -1 : (diff > 0 ? 1 : 0); - } - -private: - KURIFilterPrivate *d; - -}; - -/** - * Manages the filtering of URIs. - * - * The intention of this plugin class is to allow people to extend the - * functionality of KURL without modifying it directly. This way KURL will - * remain a generic parser capable of parsing any generic URL that adheres - * to specifications. - * - * The KURIFilter class applies a number of filters to a URI and returns the - * filtered version whenever possible. The filters are implemented using - * plugins to provide easy extensibility of the filtering mechanism. New - * filters can be added in the future by simply inheriting from - * KURIFilterPlugin and implementing the KURIFilterPlugin::filterURI - * method. - * - * Use of this plugin-manager class is straight forward. Since it is a - * singleton object, all you have to do is obtain an instance by doing - * @p KURIFilter::self() and use any of the public member functions to - * preform the filtering. - * - * \b Example - * - * To simply filter a given string: - * - * \code - * bool filtered = KURIFilter::self()->filterURI( "kde.org" ); - * \endcode - * - * You can alternatively use a KURL: - * - * \code - * KURL url = "kde.org"; - * bool filtered = KURIFilter::self()->filterURI( url ); - * \endcode - * - * If you have a constant string or a constant URL, simply invoke the - * corresponding function to obtain the filtered string or URL instead - * of a boolean flag: - * - * \code - * TQString u = KURIFilter::self()->filteredURI( "kde.org" ); - * \endcode - * - * You can also restrict the filter(s) to be used by supplying - * the name of the filter(s) to use. By defualt all available - * filters will be used. To use specific filters, add the names - * of the filters you want to use to a TQStringList and invoke - * the appropriate filtering function. The examples below show - * the use of specific filters. The first one uses a single - * filter called kshorturifilter while the second example uses - * multiple filters: - * - * \code - * TQString text = "kde.org"; - * bool filtered = KURIFilter::self()->filterURI( text, "kshorturifilter" ); - * \endcode - * - * \code - * TQStringList list; - * list << "kshorturifilter" << "localdomainfilter"; - * bool filtered = KURIFilter::self()->filterURI( text, list ); - * \endcode - * - * KURIFilter also allows richer data exchange through a simple - * meta-object called @p KURIFilterData. Using this meta-object - * you can find out more information about the URL you want to - * filter. See KURIFilterData for examples and details. - * - * @short Filters a given URL into its proper format whenever possible. - */ - -class KURIFilter -{ -public: - /** - * Destructor - */ - ~KURIFilter (); - - /** - * Returns an instance of KURIFilter. - */ - static KURIFilter* self(); - - /** - * Filters the URI given by the object URIFilterData. - * - * The given URL is filtered based on the specified list of filters. - * If the list is empty all available filters would be used. - * - * @param data object that contains the URI to be filtered. - * @param filters specify the list of filters to be used. - * - * @return a boolean indicating whether the URI has been changed - */ - bool filterURI( KURIFilterData& data, const TQStringList& filters = TQStringList() ); - - /** - * Filters the URI given by the URL. - * - * The given URL is filtered based on the specified list of filters. - * If the list is empty all available filters would be used. - * - * @param uri the URI to filter. - * @param filters specify the list of filters to be used. - * - * @return a boolean indicating whether the URI has been changed - */ - bool filterURI( KURL &uri, const TQStringList& filters = TQStringList() ); - - /** - * Filters a string representing a URI. - * - * The given URL is filtered based on the specified list of filters. - * If the list is empty all available filters would be used. - * - * @param uri The URI to filter. - * @param filters specify the list of filters to be used. - * - * @return a boolean indicating whether the URI has been changed - */ - bool filterURI( TQString &uri, const TQStringList& filters = TQStringList() ); - - /** - * Returns the filtered URI. - * - * The given URL is filtered based on the specified list of filters. - * If the list is empty all available filters would be used. - * - * @param uri The URI to filter. - * @param filters specify the list of filters to be used. - * - * @return the filtered URI or null if it cannot be filtered - */ - KURL filteredURI( const KURL &uri, const TQStringList& filters = TQStringList() ); - - /** - * Return a filtered string representation of a URI. - * - * The given URL is filtered based on the specified list of filters. - * If the list is empty all available filters would be used. - * - * @param uri the URI to filter. - * @param filters specify the list of filters to be used. - * - * @return the filtered URI or null if it cannot be filtered - */ - TQString filteredURI( const TQString &uri, const TQStringList& filters = TQStringList() ); - - /** - * Return an iterator to iterate over all loaded - * plugins. - * - * @return a plugin iterator. - */ - TQPtrListIterator pluginsIterator() const; - - /** - * Return a list of the names of all loaded plugins. - * - * @return a TQStringList of plugin names - * @since 3.1 - */ - TQStringList pluginNames() const; - -protected: - - /** - * A protected constructor. - * - * This constructor creates a KURIFilter and - * initializes all plugins it can find by invoking - * loadPlugins. - */ - KURIFilter(); - - /** - * Loads all allowed plugins. - * - * This function loads all filters that have not - * been disbled. - */ - void loadPlugins(); - -private: - static KURIFilter *m_self; - KURIFilterPluginList m_lstPlugins; - KURIFilterPrivate *d; -}; - -#endif diff --git a/python/pykde/extra/kde320/selectdialog.h b/python/pykde/extra/kde320/selectdialog.h deleted file mode 100644 index 680d48ef..00000000 --- a/python/pykde/extra/kde320/selectdialog.h +++ /dev/null @@ -1,87 +0,0 @@ -/* - This file is part of libkresources. - - Copyright (c) 2002 Tobias Koenig - Copyright (c) 2002 Jan-Pascal van Best - Copyright (c) 2003 Cornelius Schumacher - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. -*/ - -#ifndef KRESOURCES_SELECTDIALOG_H -#define KRESOURCES_SELECTDIALOG_H - -#include -#include -#include - -#include - -class KListBox; - -namespace KRES { - -class Resource; - -/** - * Dialog for selecting a resource. - * - * Example: - * - * \code - * - * TQPtrList list = ... // can be retrived from KRES::Manager (e.g. KABC::AddressBook) - * - * KABC::Resource *res = KABC::SelectDialog::getResource( list, parentWdg ); - * if ( !res ) { - * // no resource selected - * } else { - * // do something with resource - * } - * \endcode - */ -class SelectDialog -{ - public: - /** - * Constructor. - * @param list The list of available resources - * @param parent The parent widget - * @param name The name of the dialog - */ - SelectDialog( TQPtrList list, TQWidget *parent = 0, - const char *name = 0); - - /** - * Returns selected resource. - */ - Resource *resource(); - - /** - * Opens a dialog showing the available resources and returns the resource the - * user has selected. Returns 0, if the dialog was canceled. - */ - static Resource *getResource( TQPtrList list, TQWidget *parent = 0 ); - - private: - KListBox *mResourceId; - - TQMap mResourceMap; -}; - -} - -#endif diff --git a/python/pykde/extra/kde321/configwidget.h b/python/pykde/extra/kde321/configwidget.h deleted file mode 100644 index e289743a..00000000 --- a/python/pykde/extra/kde321/configwidget.h +++ /dev/null @@ -1,58 +0,0 @@ -/* - This file is part of libkresources. - Copyright (c) 2002 Tobias Koenig - Copyright (c) 2002 Jan-Pascal van Best - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. -*/ - -#ifndef KRESOURCES_CONFIGWIDGET_H -#define KRESOURCES_CONFIGWIDGET_H - -#include "resource.h" - -#include - -#include - -namespace KRES { - -class ConfigWidget : public QWidget -{ - Q_OBJECT - public: - ConfigWidget( TQWidget *parent = 0, const char *name = 0 ); - - /** - Sets the widget to 'edit' mode. Reimplement this method if you are - interested in the mode change (to disable some GUI element for - example). By default the widget is in 'create new' mode. - */ - virtual void setInEditMode( bool value ); - - public slots: - virtual void loadSettings( Resource *resource ) = 0; - virtual void saveSettings( Resource *resource ) = 0; - - signals: - void setReadOnly( bool value ); - - protected: - Resource *mResource; -}; - -} -#endif diff --git a/python/pykde/extra/kde321/kaccelaction.h b/python/pykde/extra/kde321/kaccelaction.h deleted file mode 100644 index 0418297c..00000000 --- a/python/pykde/extra/kde321/kaccelaction.h +++ /dev/null @@ -1,564 +0,0 @@ -/* This file is part of the KDE libraries - Copyright (C) 2001,2002 Ellis Whitehead - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. -*/ - -#ifndef _KACCELACTION_H -#define _KACCELACTION_H - -#include -#include -#include -#include - -#include - -class KAccelBase; - -class TQObject; -class KConfig; -class KConfigBase; - -/** - * @internal - * A KAccelAction prepresents an action that can be executed using - * an accelerator key. Each KAccelAction has a name, a label, a - * "What's this" string and a KShortcut. The user can configure and - * enable/disable them using KKeyDialog. - * - * \code - * 1) KAccelAction = "Run Command" - * Default3 = "Alt+F2" - * Default4 = "Meta+Enter;Alt+F2" - * 1) KShortcut = "Meta+Enter" - * 1) KKeySequence = "Meta+Enter" - * 1) KKey = "Meta+Enter" - * 1) Meta+Enter - * 2) Meta+Keypad_Enter - * 2) KShortcut = "Alt+F2" - * 1) KKeySequence = "Alt+F2" - * 1) Alt+F2 - * 2) KAccelAction = "Something" - * Default3 = "" - * Default4 = "" - * 1) KShortcut = "Meta+X,Asterisk" - * 1) KKeySequence = "Meta+X,Asterisk" - * 1) KKey = "Meta+X" - * 1) Meta+X - * 2) KKey = "Asterisk" - * 1) Shift+8 (English layout) - * 2) Keypad_Asterisk - * \endcode - * @short An accelerator action - * @see KAccel - * @see KGlobalAccel - * @see KKeyChooser - * @see KKeyDialog - */ -class KAccelAction -{ - public: - /** - * Creates an empty KAccelAction. - * @see clear() - */ - KAccelAction(); - - /** - * Copy constructor. - */ - KAccelAction( const KAccelAction& ); - - /** - * Creates a new KAccelAction. - * @param sName the name of the accelerator - * @param sLabel the label of the accelerator (i18n!) - * @param sWhatsThis the What's This text (18n!) - * @param cutDef3 the default shortcut for 3 modifier systems - * @param cutDef4 the default shortcut for 4 modifier systems - * @param pObjSlot the receiver of a signal when the key has been - * pressed - * @param psMethodSlot the slot to connect for key presses. Receives - * an int, as set by setID(), as only argument - * @param bConfigurable if true the user can configure the shortcut - * @param bEnabled true if the accelerator should be enabled - */ - KAccelAction( const TQString& sName, const TQString& sLabel, const TQString& sWhatsThis, - const KShortcut& cutDef3, const KShortcut& cutDef4, - const TQObject* pObjSlot, const char* psMethodSlot, - bool bConfigurable, bool bEnabled ); - ~KAccelAction(); - - /** - * Clears the accelerator. - */ - void clear(); - - /** - * Re-initialized the KAccelAction. - * @param sName the name of the accelerator - * @param sLabel the label of the accelerator (i18n!) - * @param sWhatsThis the What's This text (18n!) - * @param cutDef3 the default shortcut for 3 modifier systems - * @param cutDef4 the default shortcut for 4 modifier systems - * @param pObjSlot the receiver of a signal when the key has been - * pressed - * @param psMethodSlot the slot to connect for key presses. Receives - * an int, as set by setID(), as only argument - * @param bConfigurable if true the user can configure the shortcut - * @param bEnabled true if the accelerator should be enabled - * @return true if successful, false otherwise - */ - bool init( const TQString& sName, const TQString& sLabel, const TQString& sWhatsThis, - const KShortcut& cutDef3, const KShortcut& cutDef4, - const TQObject* pObjSlot, const char* psMethodSlot, - bool bConfigurable, bool bEnabled ); - - /** - * Copies this KAccelAction. - */ - KAccelAction& operator=( const KAccelAction& ); - - /** - * Returns the name of the accelerator action. - * @return the name of the accelerator action, can be null if not - * set - */ - const TQString& name() const { return m_sName; } - - /** - * Returns the label of the accelerator action. - * @return the label of the accelerator action, can be null if - * not set - */ - const TQString& label() const { return m_sLabel; } - - /** - * Returns the What's This text of the accelerator action. - * @return the What's This text of the accelerator action, can be - * null if not set - */ - const TQString& whatsThis() const { return m_sWhatsThis; } - - /** - * The shortcut that is actually used (may be used configured). - * @return the shortcut of the KAccelAction, can be null if not set - * @see shortcutDefault() - */ - const KShortcut& shortcut() const { return m_cut; } - - /** - * The default shortcut for this system. - * @return the default shortcut on this system, can be null if not set - * @see shortcut() - * @see shortcutDefault3() - * @see shortcutDefault4() - */ - const KShortcut& shortcutDefault() const; - - /** - * The default shortcut for 3 modifier systems. - * @return the default shortcut for 3 modifier systems, can be null - * if not set - * @see shortcutDefault() - * @see shortcutDefault4() - * @see useFourModifierKeys() - */ - const KShortcut& shortcutDefault3() const { return m_cutDefault3; } - - /** - * The default shortcut for 4 modifier systems. - * @return the default shortcut for 4 modifier systems, can be null - * if not set - * @see shortcutDefault() - * @see shortcutDefault3() - * @see useFourModifierKeys() - */ - const KShortcut& shortcutDefault4() const { return m_cutDefault4; } - - /** - * Returns the receiver of signals. - * @return the receiver of signals (can be 0 if not set) - */ - const TQObject* objSlotPtr() const { return m_pObjSlot; } - - /** - * Returns the slot for the signal. - * @return the slot for the signal - */ - const char* methodSlotPtr() const { return m_psMethodSlot; } - - /** - * Checks whether the user can configure the action. - * @return true if configurable, false otherwise - */ - bool isConfigurable() const { return m_bConfigurable; } - - /** - * Checks whether the action is enabled. - * @return true if enabled, false otherwise - */ - bool isEnabled() const { return m_bEnabled; } - - /** - * Sets the name of the accelerator action. - * @param name the new name - */ - void setName( const TQString& name ); - - /** - * Sets the user-readable label of the accelerator action. - * @param label the new label (i18n!) - */ - void setLabel( const TQString& label ); - - /** - * Sets the What's This text for the accelerator action. - * @param whatsThis the new What's This text (i18n!) - */ - void setWhatsThis( const TQString& whatsThis ); - - /** - * Sets the new shortcut of the accelerator action. - * @param rgCuts the shortcut to set - * @return true if successful, false otherwise - */ - bool setShortcut( const KShortcut& rgCuts ); - - /** - * Sets the slot of the accelerator action. - * @param pObjSlot the receiver object of the signal - * @param psMethodSlot the slot for the signal - */ - void setSlot( const TQObject* pObjSlot, const char* psMethodSlot ); - - /** - * Enables or disabled configuring the action. - * @param configurable true to enable configurability, false to disable - */ - void setConfigurable( bool configurable ); - - /** - * Enables or disabled the action. - * @param configurable true to enable the action, false to disable - */ - void setEnabled( bool enable ); - - /** - * Retrieves the id set using setID. - * @return the id of the accelerator action - */ - int getID() const { return m_nIDAccel; } - - /** - * Allows you to set an id that will be used as the action - * signal's argument. - * - * @param n the new id - * @see getID() - */ - void setID( int n ) { m_nIDAccel = n; } - - /** - * Checkes whether the action is connected (emits signals). - * @return true if connected, false otherwise - */ - bool isConnected() const; - - /** - * Sets a key sequence of the action's shortcut. - * @param i the position of the sequence - * @param keySeq the new new sequence - * @return true if successful, false otherwise - * @see KShortcut::setSeq() - */ - bool setKeySequence( uint i, const KKeySequence &keySeq ); - - /** - * Clears the action's shortcut. It will not contain any sequences after - * calling this method. - * @see KShortcut::clear() - */ - void clearShortcut(); - - /** - * Checks whether the action's shortcut contains the given key sequence. - * @param keySeq the key sequence to check - * @return true if the shortcut contains the given sequence - * @see KShortcut::contains() - */ - bool contains( const KKeySequence &keySeq ); - - /** - * Returns the string representation of the action's shortcut. - * @return the string representation of the action's shortcut. - * @see KShortcut::toString() - */ - TQString toString() const; - - /** - * @internal - */ - TQString toStringInternal() const; - - /** - * Returns true if four modifier keys will be used. - * @return true if four modifier keys will be used. - */ - static bool useFourModifierKeys(); - - /** - * Selects 3 or 4 modifier default shortcuts. - * @param use true to use 4 modifier shortcuts, false to use - * 3 modifier shortcuts - */ - static void useFourModifierKeys( bool use ); - - protected: - TQString m_sName, - m_sLabel, - m_sWhatsThis; - KShortcut m_cut; - KShortcut m_cutDefault3, m_cutDefault4; - const TQObject* m_pObjSlot; - const char* m_psMethodSlot; - bool m_bConfigurable, - m_bEnabled; - int m_nIDAccel; - uint m_nConnections; - - void incConnections(); - void decConnections(); - - private: - static int g_bUseFourModifierKeys; - class KAccelActionPrivate* d; - - friend class KAccelActions; - friend class KAccelBase; -}; - -//--------------------------------------------------------------------- -// KAccelActions -//--------------------------------------------------------------------- - -/** - * @internal - * This class represents a collection of KAccelAction objects. - * - * @short A collection of accelerator actions - * @see KAccelAction - */ -class KAccelActions -{ - public: - /** - * Creates a new, empty KAccelActions object. - */ - KAccelActions(); - - /** - * Copy constructor (deep copy). - */ - KAccelActions( const KAccelActions& ); - virtual ~KAccelActions(); - - /** - * Removes all items from this collection. - */ - void clear(); - - /** - * Initializes this object with the given actions. - * It will make a deep copy of all actions. - * @param actions the actions to copy - * @return true if successful, false otherwise - */ - bool init( const KAccelActions &actions ); - - /** - * Loads the actions from the given configuration file. - * - * @param config the configuration file to load from - * @param sGroup the group in the configuration file - * @return true if successful, false otherwise - */ - bool init( KConfigBase& config, const TQString& sGroup ); - - /** - * Updates the shortcuts of all actions in this object - * with the shortcuts from the given object. - * @param shortcuts the collection that contains the new - * shortcuts - */ - void updateShortcuts( KAccelActions &shortcuts ); - - /** - * Retrieves the index of the action with the given name. - * @param sAction the action to search - * @return the index of the action, or -1 if not found - */ - int actionIndex( const TQString& sAction ) const; - - /** - * Returns the action with the given @p index. - * @param index the index of an action. You must not - * use an index that is too high. - * @return the KAccelAction with the given index - * @see count() - */ - KAccelAction* actionPtr( uint index ); - - /** - * Returns the action with the given @p index. - * @param index the index of an action. You must not - * use an index that is too high. - * @return the KAccelAction with the given index - * @see count() - */ - const KAccelAction* actionPtr( uint index ) const; - - /** - * Returns the action with the given name. - * @param aAction the name of the action to search - * @return the KAccelAction with the given name, or 0 - * if not found - */ - KAccelAction* actionPtr( const TQString& sAction ); - - /** - * Returns the action with the given name. - * @param aAction the name of the action to search - * @return the KAccelAction with the given name, or 0 - * if not found - */ - const KAccelAction* actionPtr( const TQString& sAction ) const; - - /** - * Returns the action with the given key sequence. - * @param cut the sequence to search for - * @return the KAccelAction with the given sequence, or 0 - * if not found - */ - KAccelAction* actionPtr( KKeySequence cut ); - - /** - * Returns the action with the given @p index. - * @param index the index of an action. You must not - * use an index that is too high. - * @return the KAccelAction with the given index - * @see actionPtr() - * @see count() - */ - KAccelAction& operator []( uint index ); - - /** - * Returns the action with the given @p index. - * @param index the index of an action. You must not - * use an index that is too high. - * @return the KAccelAction with the given index - * @see actionPtr() - * @see count() - */ - const KAccelAction& operator []( uint index ) const; - - /** - * Inserts an action into the collection. - * @param sName the name of the accelerator - * @param sLabel the label of the accelerator (i18n!) - * @param sWhatsThis the What's This text (18n!) - * @param cutDef3 the default shortcut for 3 modifier systems - * @param cutDef4 the default shortcut for 4 modifier systems - * @param pObjSlot the receiver of a signal when the key has been - * pressed - * @param psMethodSlot the slot to connect for key presses. Receives - * an int, as set by setID(), as only argument - * @param bConfigurable if true the user can configure the shortcut - * @param bEnabled true if the accelerator should be enabled - * @return the new action - */ - KAccelAction* insert( const TQString& sAction, const TQString& sLabel, const TQString& sWhatsThis, - const KShortcut& rgCutDefaults3, const KShortcut& rgCutDefaults4, - const TQObject* pObjSlot = 0, const char* psMethodSlot = 0, - bool bConfigurable = true, bool bEnabled = true ); - - /** - * Inserts an action into the collection. - * @param sName the name of the accelerator - * @param sLabel the label of the accelerator (i18n!) - * @return the new action - */ - KAccelAction* insert( const TQString& sName, const TQString& sLabel ); - - /** - * Removes the given action. - * @param sAction the name of the action. - * @return true if successful, false otherwise - */ - bool remove( const TQString& sAction ); - - /** - * Loads the actions from the given configuration file. - * - * @param sConfigGroup the group in the configuration file - * @param pConfig the configuration file to load from - * @return true if successful, false otherwise - */ - bool readActions( const TQString& sConfigGroup = "Shortcuts", KConfigBase* pConfig = 0 ); - - /** - * Writes the actions to the given configuration file. - * - * @param sConfigGroup the group in the configuration file - * @param pConfig the configuration file to save to - * @param bWriteAll true to write all actions - * @param bGlobal true to write to the global configuration file - * @return true if successful, false otherwise - */ - bool writeActions( const TQString& sConfigGroup = "Shortcuts", KConfigBase* pConfig = 0, - bool bWriteAll = false, bool bGlobal = false ) const; - - /** - * Emit a keycodeChanged signal. - */ - void emitKeycodeChanged(); - - /** - * Returns the number of actions in the collection. - * @return the number of actions - */ - uint count() const; - - protected: - KAccelBase* m_pKAccelBase; - KAccelAction** m_prgActions; - uint m_nSizeAllocated, m_nSize; - - void resize( uint ); - void insertPtr( KAccelAction* ); - - private: - class KAccelActionsPrivate* d; - - KAccelActions( KAccelBase* ); - void initPrivate( KAccelBase* ); - KAccelActions& operator =( KAccelActions& ); - - friend class KAccelBase; -}; - -#endif // _KACCELACTION_H diff --git a/python/pykde/extra/kde321/kaccelbase.h b/python/pykde/extra/kde321/kaccelbase.h deleted file mode 100644 index e2ec66e9..00000000 --- a/python/pykde/extra/kde321/kaccelbase.h +++ /dev/null @@ -1,230 +0,0 @@ -/* This file is part of the KDE libraries - Copyright (C) 2001 Ellis Whitehead - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. -*/ - -#ifndef _KACCELBASE_H -#define _KACCELBASE_H - -#include -#include -#include -#include -#include - -#include "kaccelaction.h" -#include "kkeyserver_x11.h" - -class TQPopupMenu; -class TQWidget; - -//---------------------------------------------------- - -/** - * @internal - * Handle keyboard accelerators. - * - * Allow an user to configure - * key bindings through application configuration files or through the - * KKeyChooser GUI. - * - * A KAccel contains a list of accelerator items. Each accelerator item - * consists of an action name and a keyboard code combined with modifiers - * (Shift, Ctrl and Alt.) - * - * For example, "Ctrl+P" could be a shortcut for printing a document. The key - * codes are listed in ckey.h. "Print" could be the action name for printing. - * The action name identifies the key binding in configuration files and the - * KKeyChooser GUI. - * - * When pressed, an accelerator key calls the slot to which it has been - * connected. Accelerator items can be connected so that a key will activate - * two different slots. - * - * A KAccel object handles key events sent to its parent widget and to all - * children of this parent widget. - * - * Key binding reconfiguration during run time can be prevented by specifying - * that an accelerator item is not configurable when it is inserted. A special - * group of non-configurable key bindings are known as the - * standard accelerators. - * - * The standard accelerators appear repeatedly in applications for - * standard document actions such as printing and saving. Convenience methods are - * available to insert and connect these accelerators which are configurable on - * a desktop-wide basis. - * - * It is possible for a user to choose to have no key associated with - * an action. - * - * The translated first argument for insertItem() is used only - * in the configuration dialog. - *\code - * KAccel *a = new KAccel( myWindow ); - * // Insert an action "Scroll Up" which is associated with the "Up" key: - * a->insertItem( i18n("Scroll Up"), "Scroll Up", "Up" ); - * // Insert an action "Scroll Down" which is not associated with any key: - * a->insertItem( i18n("Scroll Down"), "Scroll Down", 0); - * a->connectItem( "Scroll up", myWindow, TQT_SLOT( scrollUp() ) ); - * // a->insertStdItem( KStdAccel::Print ); //not necessary, since it - * // is done automatially with the - * // connect below! - * a->connectItem(KStdAccel::Print, myWindow, TQT_SLOT( printDoc() ) ); - * - * a->readSettings(); - *\endcode - * - * If a shortcut has a menu entry as well, you could insert them like - * this. The example is again the KStdAccel::Print from above. - * - * \code - * int id; - * id = popup->insertItem("&Print",this, TQT_SLOT(printDoc())); - * a->changeMenuAccel(popup, id, KStdAccel::Print ); - * \endcode - * - * If you want a somewhat "exotic" name for your standard print action, like - * id = popup->insertItem(i18n("Print &Document"),this, TQT_SLOT(printDoc())); - * it might be a good idea to insert the standard action before as - * a->insertStdItem( KStdAccel::Print, i18n("Print Document") ) - * as well, so that the user can easily find the corresponding function. - * - * This technique works for other actions as well. Your "scroll up" function - * in a menu could be done with - * - * \code - * id = popup->insertItem(i18n"Scroll &up",this, TQT_SLOT(scrollUp())); - * a->changeMenuAccel(popup, id, "Scroll Up" ); - * \endcode - * - * Please keep the order right: First insert all functions in the - * acceleratior, then call a -> readSettings() and @em then build your - * menu structure. - * - * @short Configurable key binding support. - * @version $Id: kaccelbase.h,v 1.26 2003/08/16 19:44:57 coolo Exp $ - */ - -class KAccelBase -{ - public: - enum Init { QT_KEYS = 0x00, NATIVE_KEYS = 0x01 }; - enum Signal { KEYCODE_CHANGED }; - - KAccelBase( int fInitCode ); - virtual ~KAccelBase(); - - uint actionCount() const; - KAccelActions& actions(); - bool isEnabled() const; - - KAccelAction* actionPtr( const TQString& sAction ); - const KAccelAction* actionPtr( const TQString& sAction ) const; - KAccelAction* actionPtr( const KKey& key ); - KAccelAction* actionPtr( const KKeyServer::Key& key ); - - const TQString& configGroup() const { return m_sConfigGroup; } - void setConfigGroup( const TQString& group ); - void setConfigGlobal( bool global ); - virtual void setEnabled( bool bEnabled ) = 0; - bool getAutoUpdate() { return m_bAutoUpdate; } - // return value of AutoUpdate flag before this call. - bool setAutoUpdate( bool bAuto ); - -// Procedures for manipulating Actions. - //void clearActions(); - - KAccelAction* insert( const TQString& sName, const TQString& sDesc ); - KAccelAction* insert( - const TQString& sAction, const TQString& sDesc, const TQString& sHelp, - const KShortcut& rgCutDefaults3, const KShortcut& rgCutDefaults4, - const TQObject* pObjSlot, const char* psMethodSlot, - bool bConfigurable = true, bool bEnabled = true ); - bool remove( const TQString& sAction ); - bool setActionSlot( const TQString& sAction, const TQObject* pObjSlot, const char* psMethodSlot ); - - bool updateConnections(); - - bool setShortcut( const TQString& sAction, const KShortcut& cut ); - -// Modify individual Action sub-items - bool setActionEnabled( const TQString& sAction, bool bEnable ); - - /** - * Read all key associations from @p config, or (if @p config - * is zero) from the application's configuration file - * KGlobal::config(). - * - * The group in which the configuration is stored can be - * set with setConfigGroup(). - */ - void readSettings( KConfigBase* pConfig = 0 ); - - /** - * Write the current configurable associations to @p config, - * or (if @p config is zero) to the application's - * configuration file. - */ - void writeSettings( KConfigBase* pConfig = 0 ) const; - - TQPopupMenu* createPopupMenu( TQWidget* pParent, const KKeySequence& ); - - // Protected methods - protected: - void slotRemoveAction( KAccelAction* ); - - struct X; - void createKeyList( TQValueVector& rgKeys ); - bool insertConnection( KAccelAction* ); - bool removeConnection( KAccelAction* ); - - virtual bool emitSignal( Signal ) = 0; - virtual bool connectKey( KAccelAction&, const KKeyServer::Key& ) = 0; - virtual bool connectKey( const KKeyServer::Key& ) = 0; - virtual bool disconnectKey( KAccelAction&, const KKeyServer::Key& ) = 0; - virtual bool disconnectKey( const KKeyServer::Key& ) = 0; - - protected: - struct ActionInfo - { - KAccelAction* pAction; - uint iSeq, iVariation; - //ActionInfo* pInfoNext; // nil if only one action uses this key. - - ActionInfo() { pAction = 0; iSeq = 0xffff; iVariation = 0xffff; } - ActionInfo( KAccelAction* _pAction, uint _iSeq, uint _iVariation ) - { pAction = _pAction; iSeq = _iSeq; iVariation = _iVariation; } - }; - typedef TQMap KKeyToActionMap; - - KAccelActions m_rgActions; - KKeyToActionMap m_mapKeyToAction; - TQValueList m_rgActionsNonUnique; - bool m_bNativeKeys; // Use native key codes instead of Qt codes - bool m_bEnabled; - bool m_bConfigIsGlobal; - TQString m_sConfigGroup; - bool m_bAutoUpdate; - KAccelAction* mtemp_pActionRemoving; - - private: - KAccelBase& operator =( const KAccelBase& ); - - friend class KAccelActions; -}; - -#endif // _KACCELBASE_H diff --git a/python/pykde/extra/kde321/kicontheme.h b/python/pykde/extra/kde321/kicontheme.h deleted file mode 100644 index 4c15c2d9..00000000 --- a/python/pykde/extra/kde321/kicontheme.h +++ /dev/null @@ -1,334 +0,0 @@ -/* vi: ts=8 sts=4 sw=4 - * - * $Id: kicontheme.h,v 1.29 2003/11/02 14:50:34 carewolf Exp $ - * - * This file is part of the KDE project, module kdecore. - * Copyright (C) 2000 Geert Jansen - * Antonio Larrosa - * - * This is free software; it comes under the GNU Library General - * Public License, version 2. See the file "COPYING.LIB" for the - * exact licensing terms. - * - */ - -#ifndef __KIconTheme_h_Included__ -#define __KIconTheme_h_Included__ - -#include -#include -#include - -class KConfig; -//class KIconThemeDir; - -class KIconThemePrivate; - -class KIconPrivate; - -/** - * One icon as found by KIconTheme. Also serves as a namespace containing - * icon related constants. - * @see KIconEffect - * @see KIconTheme - * @see KIconLoader - */ -class KIcon -{ -public: - KIcon() { size = 0; } - - /** - * Return true if this icon is valid, false otherwise. - */ - bool isValid() const { return size != 0; } - - /** - * Defines the context of the icon. - */ - enum Context { - Any, ///< Some icon with unknown purpose. - Action, ///< An action icon (e.g. 'save', 'print'). - Application, ///< An icon that represents an application. - Device, ///< An icon that represents a device. - FileSystem, ///< An icon that represents a file system. - MimeType ///< An icon that represents a mime type (or file type). - }; - - /** - * The type of the icon. - */ - enum Type { - Fixed, ///< Fixed-size icon. - Scalable, ///< Scalable-size icon. - Threshold ///< A threshold icon. - }; - - /** - * The type of a match. - */ - enum MatchType { - MatchExact, ///< Only try to find an exact match. - MatchBest ///< Take the best match if there is no exact match. - - }; - - // if you add a group here, make sure to change the config reading in - // KIconLoader too - /** - * The group an an icon. - */ - enum Group { NoGroup=-1, Desktop=0, FirstGroup=0, Toolbar, - MainToolbar, Small, Panel, LastGroup, User }; - - /** - * These are the standard sizes for icons. - */ - enum StdSizes { - /// small icons for menu entries - SizeSmall=16, - /// medium sized icons for the desktop - SizeMedium=32, - /// large sized icons for the panel - SizeLarge=48, - /// huge sized icons for iconviews - SizeHuge=64 - }; - - /** - * Defines the possible states of an icon. - */ - enum States { DefaultState, ///< The default state. - ActiveState, ///< Icon is active. - DisabledState, ///< Icon is disabled. - LastState ///< Last state (last constant) - }; - - /** - * This defines an overlay, a semi-transparent image that is - * projected onto the icon. They are used to show that the file - * represented by the icon is, for example, locked, zipped or hidden. - */ - enum Overlays { - LockOverlay=0x100, ///< a file is locked - ZipOverlay=0x200, ///< a file is zipped - LinkOverlay=0x400, ///< a fileis a link - HiddenOverlay=0x800, ///< a file is hidden - ShareOverlay=0x1000, ///< a file is shared - OverlayMask = ~0xff - }; - - /** - * The size in pixels of the icon. - */ - int size; - - /** - * The context of the icon. - */ - Context context; - - /** - * The type of the icon: Fixed, Scalable or Threshold. - **/ - Type type; - - /** - * The threshold in case type == Threshold - */ - int threshold; - - /** - * The full path of the icon. - */ - TQString path; - -private: - KIconPrivate *d; -}; - -inline KIcon::Group& operator++(KIcon::Group& group) { group = static_cast(group+1); return group; } -inline KIcon::Group operator++(KIcon::Group& group,int) { KIcon::Group ret = group; ++group; return ret; } - -/** - * Class to use/access icon themes in KDE. This class is used by the - * iconloader but can be used by others too. - * @see KIconLoader - */ -class KIconTheme -{ -public: - /** - * Load an icon theme by name. - * @param name the name of the theme (e.g. "hicolor" or "keramik") - * @param appName the name of the application. Can be null. This argument - * allows applications to have themed application icons. - */ - KIconTheme(const TQString& name, const TQString& appName=TQString::null); - ~KIconTheme(); - - /** - * The stylized name of the icon theme. - * @return the (human-readable) name of the theme - */ - TQString name() const { return mName; } - - /** - * A description for the icon theme. - * @return a human-readable description of the theme, TQString::null - * if there is none - */ - TQString description() const { return mDesc; } - - /** - * Return the name of the "example" icon. This can be used to - * present the theme to the user. - * @return the name of the example icon, TQString::null if there is none - */ - TQString example() const; - - /** - * Return the name of the screenshot. - * @return the name of the screenshot, TQString::null if there is none - */ - TQString screenshot() const; - - /** - * Returns the name of this theme's link overlay. - * @return the name of the link overlay - */ - TQString linkOverlay() const; - - /** - * Returns the name of this theme's zip overlay. - * @return the name of the zip overlay - */ - TQString zipOverlay() const; - - /** - * Returns the name of this theme's lock overlay. - * @return the name of the lock overlay - */ - TQString lockOverlay() const; - - /** - * Returns the name of this theme's share overlay. - * @return the name of the share overlay - * @since 3.1 - */ - TQString shareOverlay () const; - - /** - * Returns the toplevel theme directory. - * @return the directory of the theme - */ - TQString dir() const { return mDir; } - - /** - * The themes this icon theme falls back on. - * @return a list of icon themes that are used as fall-backs - */ - TQStringList inherits() const { return mInherits; } - - /** - * The icon theme exists? - * @return true if the icon theme is valid - */ - bool isValid() const; - - /** - * The icon theme should be hidden to the user? - * @return true if the icon theme is hidden - * @since 3.1 - */ - bool isHidden() const; - - /** - * The minimum display depth required for this theme. This can either - * be 8 or 32. - * @return the minimum bpp (8 or 32) - */ - int depth() const { return mDepth; } - - /** - * The default size of this theme for a certain icon group. - * @param group The icon group. See KIcon::Group. - * @return The default size in pixels for the given icon group. - */ - int defaultSize(KIcon::Group group) const; - - /** - * Query available sizes for a group. - * @param group The icon group. See KIcon::Group. - * @return a list of available sized for the given group - */ - TQValueList querySizes(KIcon::Group group) const; - - /** - * Query available icons for a size and context. - * @param size the size of the icons - * @param context the context of the icons - * @return the list of icon names - */ - TQStringList queryIcons(int size, KIcon::Context context = KIcon::Any) const; - - /** - * Query available icons for a context and preferred size. - * @param size the size of the icons - * @param context the context of the icons - * @return the list of icon names - */ - TQStringList queryIconsByContext(int size, KIcon::Context context = KIcon::Any) const; - - - /** - * Lookup an icon in the theme. - * @param name The name of the icon, without extension. - * @param size The desired size of the icon. - * @param match The matching mode. KIcon::MatchExact returns an icon - * only if matches exactly. KIcon::MatchBest returns the best matching - * icon. - * @return A KIcon class that describes the icon. If an icon is found, - * @see KIcon::isValid will return true, and false otherwise. - */ - KIcon iconPath(const TQString& name, int size, KIcon::MatchType match) const; - - /** - * List all icon themes installed on the system, global and local. - * @return the list of all icon themes - */ - static TQStringList list(); - - /** - * Returns the current icon theme. - * @return the name of the current theme - */ - static TQString current(); - - /** - * Reconfigure the theme. - */ - static void reconfigure(); - - /** - * Returns the default icon theme. - * @return the name of the default theme name - * @since 3.1 - */ - static TQString defaultThemeName(); - -private: - int mDefSize[8]; - TQValueList mSizes[8]; - - int mDepth; - TQString mDir, mName, mDesc; - TQStringList mInherits; -// TQPtrList mDirs; - KIconThemePrivate *d; - - static TQString *_theme; - static TQStringList *_theme_list; -}; - -#endif diff --git a/python/pykde/extra/kde321/kkeyserver_x11.h b/python/pykde/extra/kde321/kkeyserver_x11.h deleted file mode 100644 index 1271f506..00000000 --- a/python/pykde/extra/kde321/kkeyserver_x11.h +++ /dev/null @@ -1,433 +0,0 @@ -#ifndef _KKEYSERVER_X11_H -#define _KKEYSERVER_X11_H - -#include "kshortcut.h" -#include "kkeynative.h" - -/** - * A collection of functions for the conversion of key presses and - * their modifiers from the window system (X11) specific format - * to the generic format and vice-versa. - */ -namespace KKeyServer -{ - /** - * Supplement enum KKey::ModFlag - * @since 3.1 - */ - enum ExtraModFlag { MODE_SWITCH = 0x2000 }; - - /** - * Represents a key symbol. - * @see KKey - * @see KKeyServer - */ - struct Sym - { - public: - /// the actual value of the symbol - uint m_sym; - - /// Creates a null symbol. - Sym() - { m_sym = 0; } - /** - * Creates asymbol with the given value. - * @param sym the value - */ - Sym( uint sym ) - { m_sym = sym; } - /** - * Creates a symbol from the given string description. - * @param s the description of the symbol - * @see toString() - */ - Sym( const TQString& s ) - { init( s ); } - - /** - * Initializes the symbol with the given Qt key code. - * @param keyQt the qt key code - * @return true if successful, false otherwise - * @see Qt::Key - */ - bool initQt( int keyQt ); - - /** - * Initializes the key with the given string description. - * @param s the string description - * @return true if successful, false otherwise - * @see toString() - */ - bool init( const TQString &s ); - - /** - * Returns the qt key code of the symbol. - * @return the qt key code - */ - int qt() const; - - /** - * @internal - */ - TQString toStringInternal() const; - - /** - * Returns the string representation of the symbol. - * @return the string representation of the symbol - */ - TQString toString() const; - - /** - * Returns the mods that are required for this symbol as - * ORed KKey::ModFlag's. For example, Break requires a - * Ctrl to be valid. - * @return the required KKey::ModFlag's - * @see KKey::ModFlag - */ - uint getModsRequired() const; - - /** - * TODO: please find out what this method does and document it - */ - uint getSymVariation() const; - - /** - * Casts the symbol to its integer representation. - */ - operator uint() const { return m_sym; } - - /** - * Overloaded operator to convert ints to Sym. - */ - Sym& operator =( uint sym ) { m_sym = sym; return *this; } - - private: - TQString toString( bool bUserSpace ) const; - - static void capitalizeKeyname( TQString& ); - }; - - /** - * Represents a key press. - * @see KKey - */ - struct Key - { - /// Code for native Keys in Qt - enum { CODE_FOR_QT = 256 }; - - /// The code of the key - uint m_code; - - /// The modifiers of the key - uint m_mod; - - /// The symbol of the key - uint m_sym; - - /** - * Initializes the key with a KKey. - * @param key the key to get the data from - * @param bQt true to take the Qt keycode, false - * for the native key code - * @see Qt::Key - * @see KKeyNative - */ - bool init( const KKey& key, bool bQt ); - - /** - * Checks whether the key code is a native code. - * @return true if native code of the window system, - * false if it is a Qt keycode - * @see Qt::Key - * @see KKeyNative - */ - bool isNative() const { return m_code != CODE_FOR_QT; } - - /** - * Returns the code of the key. - * @return the code of the key - */ - uint code() const { return m_code; } - - /** - * Returns the modifiers of the key. - * @return the modifiers of the key - */ - uint mod() const { return m_mod; } - - /** - * Returns the symbol of the key. - * @return the symbol of the key - */ - uint sym() const { return m_sym; } - - /** - * Returns the qt key code. - * @return the qt key code - */ - int keyCodeQt() const { return (int) m_sym; } - - /** - * Sets the qt key code. - * @param keyQt the qt key code - */ - void setKeycodeQt( int keyQt ) - { m_code = CODE_FOR_QT; m_sym = keyQt; } - - /** - * Initializes this key with a KKeyNative. - * @return this key - */ - Key& operator =( const KKeyNative& key ); - - /** - * Compares this key with the given Key object. Returns a - * negative number if the given Key is larger, 0 if they - * are equal and a positive number this Key is larger. The - * returned value is the difference between the symbol, modifier - * or code, whatever is non-zero first. - * - * @param key the key to compare with this key - * @return a negative number if the given Key is larger, 0 if - * they are equal and a positive number this Key is larger - */ - int compare( const Key& key ) const; - - /** - * Compares the symbol, modifiers and code of both keys. - * @see compare() - */ - bool operator ==( const Key& b ) const - { return compare( b ) == 0; } - - /** - * Compares the symbol, modifiers and code of both keys. - * @see compare() - */ - bool operator <( const Key& b ) const - { return compare( b ) < 0; } - - /** - * Converts this Key to a KKey. - * @return the KKey - */ - KKey key() const; - }; - - /** - * TODO: please document this class - */ - struct Variations - { - enum { MAX_VARIATIONS = 4 }; - - Key m_rgkey[MAX_VARIATIONS]; - uint m_nVariations; - - Variations() { m_nVariations = 0; } - - void init( const KKey&, bool bQt ); - - uint count() const { return m_nVariations; } - const Key& key( uint i ) const { return m_rgkey[i]; } - }; - - /// TODO: please document - bool initializeMods(); - - /** - * Returns the equivalent X modifier mask of the given modifier flag. - * @param modFlag the generic flags to check - * @return the window system specific flags - */ - uint modX( KKey::ModFlag modFlag ); - - /** - * Returns true if the current keyboard layout supports the Win key. - * Specifically, whether the Super or Meta keys are assigned to an X modifier. - * @return true if the keyboard has a Win key - * @see modXWin() - */ - bool keyboardHasWinKey(); - - /** - * Returns the X11 Shift modifier mask/flag. - * @return the X11 Shift modifier mask/flag. - * @see accelModMaskX() - */ - uint modXShift(); - - /** - * Returns the X11 Lock modifier mask/flag. - * @return the X11 Lock modifier mask/flag. - * @see accelModMaskX() - */ - uint modXLock(); - - /** - * Returns the X11 Ctrl modifier mask/flag. - * @return the X11 Ctrl modifier mask/flag. - * @see accelModMaskX() - */ - uint modXCtrl(); - - /** - * Returns the X11 Alt (Mod1) modifier mask/flag. - * @return the X11 Alt (Mod1) modifier mask/flag. - * @see accelModMaskX() - */ - uint modXAlt(); - - /** - * Returns the X11 NumLock modifier mask/flag. - * @return the X11 NumLock modifier mask/flag. - * @see accelModMaskX() - */ - uint modXNumLock(); - - /** - * Returns the X11 Win (Mod3) modifier mask/flag. - * @return the X11 Win (Mod3) modifier mask/flag. - * @see keyboardHasWinKey() - * @see accelModMaskX() - */ - uint modXWin(); - - /** - * Returns the X11 ScrollLock modifier mask/flag. - * @return the X11 ScrollLock modifier mask/flag. - * @see accelModMaskX() - */ - uint modXScrollLock(); - - /** - * Returns bitwise OR'ed mask containing Shift, Ctrl, Alt, and - * Win (if available). - * @see modXShift() - * @see modXLock() - * @see modXCtrl() - * @see modXAlt() - * @see modXNumLock() - * @see modXWin() - * @see modXScrollLock() - */ - uint accelModMaskX(); - - /** - * Extracts the symbol from the given Qt key and - * converts it to a symbol. - * @param keyQt the qt key code - * @param sym if successful, the symbol will be written here - * @return true if successful, false otherwise - * @see Qt::Key - * @see Sym - */ - bool keyQtToSym( int keyQt, uint& sym ); - - /** - * Extracts the modifiers from the given Qt key and - * converts them in a mask of ORed KKey::ModFlag modifiers. - * @param keyQt the qt key code - * @param mod if successful, the modifiers will be written here - * @return true if successful, false otherwise - * @see Qt::Key - */ - bool keyQtToMod( int keyQt, uint& mod ); - - /** - * Converts the given symbol to a Qt key code. - * @param sym the symbol - * @param keyQt if successful, the qt key code will be written here - * @return true if successful, false otherwise - * @see Qt::Key - * @see Sym - */ - bool symToKeyQt( uint sym, int& keyQt ); - - /** - * Converts the mask of ORed KKey::ModFlag modifiers to - * a mask of ORed Qt key code modifiers. - * @param mod the mask of KKey::ModFlag modifiers - * @param modQt the mask of Qt key code modifiers will be written here, - * if successful - * @return true if successful, false otherwise - * @see Qt::Key - * @see KKey - */ - bool modToModQt( uint mod, int& modQt ); - - /** - * Converts the mask of ORed KKey::ModFlag modifiers to - * a mask of ORed X11 modifiers. - * @param mod the mask of KKey::ModFlag modifiers - * @param modX the mask of X11 modifiers will be written here, - * if successful - * @return true if successful, false otherwise - * @see KKey - */ - bool modToModX( uint mod, uint& modX ); - - /** - * Converts the mask of ORed X11 modifiers to - * a mask of ORed Qt key code modifiers. - * @param modX the mask of X11 modifiers - * @param modQt the mask of Qt key code modifiers will be written here - * if successful - * @return true if successful, false otherwise - * @see Qt::Key - */ - bool modXToModQt( uint modX, int& modQt ); - - /** - * Converts the mask of ORed X11 modifiers to - * a mask of ORed KKey::ModFlag modifiers. - * @param modX the mask of X11 modifiers - * @param mod the mask of KKey::ModFlag modifiers will be written here, - * if successful - * @return true if successful, false otherwise - * @see KKey - */ - bool modXToMod( uint modX, uint& mod ); - - /** - * Converts a X11 key code and a mask of ORed X11 modifiers - * into a X11 symbol. - * converts it to a symbol. - * @param codeX the X11 key code - * @param modX the mask of ORed X11 modifiers - * @param symX if successful, the X11 symbol will be written here - * @return true if successful, false otherwise - * @see Qt::Key - * @see Sym - */ - bool codeXToSym( uchar codeX, uint modX, uint& symX ); - - /** - * @internal - */ - TQString modToStringInternal( uint mod ); - - /** - * Converts the mask of ORed KKey::ModFlag modifiers to a - * user-readable string. - * @param mod the mask of ORed KKey::ModFlag modifiers - * @return the user-readable string - */ - TQString modToStringUser( uint mod ); - - /** - * @internal - * Unimplemented? - */ - bool stringToSymMod( const TQString&, uint& sym, uint& mod ); - - /** - * @internal - * Unimplemented? - */ - void keyQtToKeyX( uint keyCombQt, unsigned char *pKeyCodeX, uint *pKeySymX, uint *pKeyModX ); -} - -#endif // !_KKEYSERVER_X11_H diff --git a/python/pykde/extra/kde321/konsole_part.h b/python/pykde/extra/kde321/konsole_part.h deleted file mode 100644 index 6aba7064..00000000 --- a/python/pykde/extra/kde321/konsole_part.h +++ /dev/null @@ -1,223 +0,0 @@ -/* - This file is part of the KDE system - Copyright (C) 1999,2000 Boloni Laszlo - - This program is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. - */ - -#ifndef __KONSOLE_PART_H__ -#define __KONSOLE_PART_H__ - -#include -#include - - -#include - -#include - -//#include "schema.h" -//#include "session.h" - -class KInstance; -class konsoleBrowserExtension; -class TQPushButton; -class TQSpinBox; -class KPopupMenu; -class TQCheckBox; -class KRootPixmap; -class KToggleAction; -class KSelectAction; - -namespace KParts { class GUIActivateEvent; } - -class konsoleFactory : public KParts::Factory -{ - Q_OBJECT -public: - konsoleFactory(); - virtual ~konsoleFactory(); - - virtual KParts::Part* createPartObject(TQWidget *parentWidget = 0, const char *widgetName = 0, - TQObject* parent = 0, const char* name = 0, - const char* classname = "KParts::Part", - const TQStringList &args = TQStringList()); - - static KInstance *instance(); - - private: - static KInstance *s_instance; - static KAboutData *s_aboutData; -}; - -////////////////////////////////////////////////////////////////////// - -class konsolePart: public KParts::ReadOnlyPart, public TerminalInterface -{ - Q_OBJECT - public: - konsolePart(TQWidget *parentWidget, const char *widgetName, TQObject * parent, const char *name, const char *classname = 0); - virtual ~konsolePart(); - -signals: - void processExited(); - void receivedData( const TQString& s ); - protected: - virtual bool openURL( const KURL & url ); - virtual bool openFile() {return false;} // never used - virtual bool closeURL() {return true;} - virtual void guiActivateEvent( KParts::GUIActivateEvent * event ); - - protected slots: - void showShell(); - void slotProcessExited(); - void slotReceivedData( const TQString& s ); - -// void doneSession(TESession*); - void sessionDestroyed(); -// void configureRequest(TEWidget*,int,int x,int y); - void updateTitle(); - void enableMasterModeConnections(); - - private slots: - void emitOpenURLRequest(const TQString &url); - - void readProperties(); - void saveProperties(); - - void sendSignal(int n); - void closeCurrentSession(); - - void notifySize(int,int); - - void slotToggleFrame(); - void slotSelectScrollbar(); - void slotSelectFont(); - void schema_menu_check(); - void keytab_menu_activated(int item); - void updateSchemaMenu(); - void setSchema(int n); - void pixmap_menu_activated(int item); - void schema_menu_activated(int item); - void slotHistoryType(); - void slotSelectBell(); - void slotSelectLineSpacing(); - void slotBlinkingCursor(); - void slotWordSeps(); - void fontNotFound(); - - private: - konsoleBrowserExtension *m_extension; - KURL currentURL; - - void makeGUI(); - void applySettingsToGUI(); - - void setFont(int fontno); -// void setSchema(ColorSchema* s); - void updateKeytabMenu(); - - bool doOpenStream( const TQString& ); - bool doWriteStream( const TQByteArray& ); - bool doCloseStream(); - - TQWidget* parentWidget; -// TEWidget* te; -// TESession* se; -// ColorSchemaList* colors; - KRootPixmap* rootxpm; - - KToggleAction* blinkingCursor; - KToggleAction* showFrame; - - KSelectAction* selectBell; - KSelectAction* selectFont; - KSelectAction* selectLineSpacing; - KSelectAction* selectScrollbar; - - KPopupMenu* m_keytab; - KPopupMenu* m_schema; - KPopupMenu* m_signals; - KPopupMenu* m_options; - KPopupMenu* m_popupMenu; - - TQFont defaultFont; - - TQString pmPath; // pixmap path - TQString s_schema; - TQString s_kconfigSchema; - TQString s_word_seps; // characters that are considered part of a word - TQString fontNotFound_par; - - bool b_framevis:1; - bool b_histEnabled:1; - - int curr_schema; // current schema no - int n_bell; - int n_font; - int n_keytab; - int n_render; - int n_scroll; - unsigned m_histSize; - bool m_runningShell; - bool m_streamEnabled; -public: - // these are the implementations for the TermEmuInterface - // functions... - void startProgram( const TQString& program, - const TQStrList& args ); - void showShellInDir( const TQString& dir ); - void sendInput( const TQString& text ); -}; - -////////////////////////////////////////////////////////////////////// - -/*class HistoryTypeDialog : public KDialogBase -{ - Q_OBJECT -public: - HistoryTypeDialog(const HistoryType& histType, - unsigned int histSize, - TQWidget *parent); - -public slots: - void slotDefault(); - void slotSetUnlimited(); - void slotHistEnable(bool); - - unsigned int nbLines() const; - bool isOn() const; - -protected: - TQCheckBox* m_btnEnable; - TQSpinBox* m_size; - TQPushButton* m_setUnlimited; -};*/ - -////////////////////////////////////////////////////////////////////// - -class konsoleBrowserExtension : public KParts::BrowserExtension -{ - Q_OBJECT - friend class konsolePart; - public: - konsoleBrowserExtension(konsolePart *parent); - virtual ~konsoleBrowserExtension(); - - void emitOpenURLRequest(const KURL &url); -}; - -#endif diff --git a/python/pykde/extra/kde321/kpanelmenu.h b/python/pykde/extra/kde321/kpanelmenu.h deleted file mode 100644 index 1803e808..00000000 --- a/python/pykde/extra/kde321/kpanelmenu.h +++ /dev/null @@ -1,181 +0,0 @@ -/***************************************************************** - -Copyright (c) 1996-2000 the kicker authors. See file AUTHORS. - (c) 2001 Michael Goffioul - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN -AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - -******************************************************************/ - -#ifndef __KPANELMENU_H__ -#define __KPANELMENU_H__ - -#include -#include -#include - -class KPanelMenuPrivate; - -/** - * Base class to build dynamically loaded menu entries for the K-menu, or the panel. - * - * This class allows to build menu entries that will be dynamically added either to - * the K-menu, or to the panel as a normal button. These dynamic menus are located - * in shared libraries that will be loaded at runtime by Kicker (the KDE panel). - * - * To build such a menu, you have to inherit this class and implement the pure virtual - * functions #initialize() and slotExec(). You also have to provide a factory - * object in your library, see KLibFactory. This factory is only used to construct - * the menu object. - * - * Finally, you also have to provide a desktop file describing your dynamic menu. The - * relevant entries are: Name, Comment, Icon and X-KDE-Library (which contains the - * library name without any extension). This desktop file has to be installed in - * $KDEDIR/share/apps/kicker/menuext/. - * - * @short Base class to build dynamically loaded menu entries for the K-menu, or the panel. - * @author The kicker maintainer, Michael Goffioul - */ -class KPanelMenu : public KPopupMenu -{ - Q_OBJECT - -public: - /** - * Construct a KPanelMenu object. This is the normal constructor to use when - * building extrernal menu entries. - */ - KPanelMenu(TQWidget *parent=0, const char *name=0); - /** - * Constructor used internally by Kicker. You don't really want to use it. - * @param startDir a directory to associate with this menu - * @see path(), setPath() - */ - KPanelMenu(const TQString &startDir, TQWidget *parent=0, const char *name=0); - /** - * Destructor. - */ - virtual ~KPanelMenu(); - - /** - * Get the directory path associated with this menu, or TQString::null if - * there's no such associated path. - * @return the associated directory path - * @see setPath() - */ - const TQString& path() const; - /** - * Set a directory path to be associated with this menu. - * @param p the directory path - * @see path() - */ - void setPath(const TQString &p); - /** - * Tell if the menu has been initialized, that is it already contains items. - * This is useful when you need to know if you have to clear the menu, or to - * fill it. - * @return the initial state - * @see setInitialized(), initialize() - */ - bool initialized() const; - /** - * Set the initial state. Set it to true when you menu is filled with the items - * you want. - * @param on the initial state - * @see initialized(), initialize() - */ - void setInitialized(bool on); - - /** - * Disable the automatic clearing of the menu. Kicker uses a cache system for - * its menus. After a specific configurable delay, the menu will be cleared. - * Use this function if you want to disable kicker's cache system, and avoid - * the clearing of your menu. - */ - void disableAutoClear(); - -public slots: - /** - * Reinitialize the menu: the menu is first cleared, the initial state is set - * to false, and finally #initialize() is called. Use this if you want to - * refill your menu immediately. - */ - void reinitialize(); - /** - * Deinitialize the menu: the menu is cleared and the initialized state is set to - * false. #initialize() is NOT called. It will be called before the menu is - * next shown, however. Use this slot if you want a delayed reinitialization. - * @since 3.1 - */ - void deinitialize(); - -protected slots: - /** - * This slot is called just before the menu is shown. This allows your menu - * to update itself if needed. However you should instead re-implement - * #initialize to provide this feature. This function is responsible for - * the cache system handling, so if you re-implement it, you should call - * the base function also. Calls #initialize(). - * @see disableAutoClear() - */ - virtual void slotAboutToShow(); - /** - * This is slot is called when an item from the menu has been selected. Your - * applet is then supposed to perform some action. You must re-implement this - * function. - * @param id the ID associated with the selected item - */ - virtual void slotExec(int id) = 0; - /** - * This slots is called to initialize the menu. It is called automatically by - * slotAboutToShow(). By re-implementing this functions, you can reconstruct - * the menu before it is being shown. At the end of this function, you should - * call setInitialize() with true to tell the system that the menu is OK. - * You applet must re-implement this function. - * @see slotAboutToShow(), initialized(), setInitialized() - */ - virtual void initialize() = 0; - /** - * Clears the menu, and update the initial state accordingly. - * @see initialized() - */ - void slotClear(); - -protected: - /** - * Re-implemented for internal reasons. - */ - virtual void hideEvent(TQHideEvent *ev); - /** - * For internal use only. Used by constructors. - */ - void init(const TQString& path = TQString::null); - -protected: - virtual void virtual_hook( int id, void* data ); -private: - void internalInitialize(); - KPanelMenuPrivate *d; -}; - -#define K_EXPORT_KICKER_MENUEXT( libname, classname ) \ - K_EXPORT_COMPONENT_FACTORY( \ - kickermenu_##libname, \ - KGenericFactory("libkickermenu_" #libname) ) - -#endif diff --git a/python/pykde/extra/kde321/krecentdirs.h b/python/pykde/extra/kde321/krecentdirs.h deleted file mode 100644 index 61a50706..00000000 --- a/python/pykde/extra/kde321/krecentdirs.h +++ /dev/null @@ -1,68 +0,0 @@ -/* -*- c++ -*- - * Copyright (C)2000 Waldo Bastian - * - * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * - * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND - * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE - * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS - * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) - * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT - * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY - * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF - * SUCH DAMAGE. - * - */ -#ifndef __KRECENTDIRS_H -#define __KRECENTDIRS_H - -#include - -/** - * The goal of this class is to make sure that, when the user needs to - * specify a file via the file selection dialog, this dialog will start - * in the directory most likely to contain the desired files. - * - * This works as follows: Each time the file selection dialog is - * shown, the programmer can specify a "file-class". The file-dialog will - * then start with the directory associated with this file-class. When - * the dialog closes, the directory currently shown in the file-dialog - * will be associated with the file-class. - * - * A file-class can either start with ':' or with '::'. If it starts with - * a single ':' the file-class is specific to the current application. - * If the file-class starts with '::' it is global to all applications. - */ -class KRecentDirs -{ -public: - /** - * Returns a list of directories associated with this file-class. - * The most recently used directory is at the front of the list. - */ - static TQStringList list(const TQString &fileClass); - - /** - * Returns the most recently used directory accociated with this file-class. - */ - static TQString dir(const TQString &fileClass); - - /** - * Associates @p directory with @p fileClass - */ - static void add(const TQString &fileClass, const TQString &directory); -}; - -#endif diff --git a/python/pykde/extra/kde321/ksharedptr.h b/python/pykde/extra/kde321/ksharedptr.h deleted file mode 100644 index e8dc8774..00000000 --- a/python/pykde/extra/kde321/ksharedptr.h +++ /dev/null @@ -1,171 +0,0 @@ -/* This file is part of the KDE libraries - Copyright (c) 1999 Waldo Bastian - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License version 2 as published by the Free Software Foundation. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. -*/ -#ifndef KSharedPTR_H -#define KSharedPTR_H - -/** - * Reference counting for shared objects. If you derive your object - * from this class, then you may use it in conjunction with - * KSharedPtr to control the lifetime of your object. - * - * Specifically, all classes that derive from KShared have an internal - * counter keeping track of how many other objects have a reference to - * their object. If used with KSharedPtr, then your object will - * not be deleted until all references to the object have been - * released. - * - * You should probably not ever use any of the methods in this class - * directly -- let the KSharedPtr take care of that. Just derive - * your class from KShared and forget about it. - * - * @author Waldo Bastian - * @version $Id: ksharedptr.h,v 1.22 2003/08/20 08:01:42 coolo Exp $ - */ -class KShared { -public: - /** - * Standard constructor. This will initialize the reference count - * on this object to 0. - */ - KShared() : count(0) { } - - /** - * Copy constructor. This will @em not actually copy the objects - * but it will initialize the reference count on this object to 0. - */ - KShared( const KShared & ) : count(0) { } - - /** - * Overloaded assignment operator. - */ - KShared &operator=(const KShared & ) { return *this; } - - /** - * Increases the reference count by one. - */ - void _KShared_ref() const { count++; } - - /** - * Releases a reference (decreases the reference count by one). If - * the count goes to 0, this object will delete itself. - */ - void _KShared_unref() const { if (!--count) delete this; } - - /** - * Return the current number of references held. - * - * @return Number of references - */ - int _KShared_count() const { return count; } - -protected: - virtual ~KShared() { } -private: - mutable int count; -}; - -/** - * Can be used to control the lifetime of an object that has derived - * KShared. As long a someone holds a KSharedPtr on some KShared - * object it won't become deleted but is deleted once its reference - * count is 0. This struct emulates C++ pointers perfectly. So just - * use it like a simple C++ pointer. - * - * KShared and KSharedPtr are preferred over QShared / QSharedPtr - * since they are more safe. - * - * @author Waldo Bastian - * @version $Id: ksharedptr.h,v 1.22 2003/08/20 08:01:42 coolo Exp $ - */ -template< class T > -struct KSharedPtr -{ -public: -/** - * Creates a null pointer. - */ - KSharedPtr() - : ptr(0) { } - /** - * Creates a new pointer. - * @param t the pointer - */ - KSharedPtr( T* t ) - : ptr(t) { if ( ptr ) ptr->_KShared_ref(); } - - /** - * Copies a pointer. - * @param p the pointer to copy - */ - KSharedPtr( const KSharedPtr& p ) - : ptr(p.ptr) { if ( ptr ) ptr->_KShared_ref(); } - - /** - * Unreferences the object that this pointer points to. If it was - * the last reference, the object will be deleted. - */ - ~KSharedPtr() { if ( ptr ) ptr->_KShared_unref(); } - - KSharedPtr& operator= ( const KSharedPtr& p ) { - if ( ptr == p.ptr ) return *this; - if ( ptr ) ptr->_KShared_unref(); - ptr = p.ptr; - if ( ptr ) ptr->_KShared_ref(); - return *this; - } - KSharedPtr& operator= ( T* p ) { - if ( ptr == p ) return *this; - if ( ptr ) ptr->_KShared_unref(); - ptr = p; - if ( ptr ) ptr->_KShared_ref(); - return *this; - } - bool operator== ( const KSharedPtr& p ) const { return ( ptr == p.ptr ); } - bool operator!= ( const KSharedPtr& p ) const { return ( ptr != p.ptr ); } - bool operator== ( const T* p ) const { return ( ptr == p ); } - bool operator!= ( const T* p ) const { return ( ptr != p ); } - bool operator!() const { return ( ptr == 0 ); } - operator T*() const { return ptr; } - - /** - * Returns the pointer. - * @return the pointer - */ - T* data() { return ptr; } - - /** - * Returns the pointer. - * @return the pointer - */ - const T* data() const { return ptr; } - - const T& operator*() const { return *ptr; } - T& operator*() { return *ptr; } - const T* operator->() const { return ptr; } - T* operator->() { return ptr; } - - /** - * Returns the number of references. - * @return the number of references - */ - int count() const { return ptr->_KShared_count(); } // for debugging purposes -private: - T* ptr; -}; - -#endif diff --git a/python/pykde/extra/kde321/ksycocafactory.h b/python/pykde/extra/kde321/ksycocafactory.h deleted file mode 100644 index 2a114ee0..00000000 --- a/python/pykde/extra/kde321/ksycocafactory.h +++ /dev/null @@ -1,143 +0,0 @@ -/* This file is part of the KDE libraries - * Copyright (C) 1999 Waldo Bastian - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License version 2 as published by the Free Software Foundation; - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public License - * along with this library; see the file COPYING.LIB. If not, write to - * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - * Boston, MA 02110-1301, USA. - **/ - -#ifndef __ksycocafactory_h__ -#define __ksycocafactory_h__ "$Id: ksycocafactory.h,v 1.14 2003/10/29 17:59:18 waba Exp $" - -#include "ksycocatype.h" -#include "ksycocaentry.h" - -#include -#include -class KSycoca; -class TQStringList; -class TQString; -class KSycocaDict; -class KSycocaResourceList; - -typedef TQDict KSycocaEntryDict; - -/** - * @internal - * Base class for sycoca factories - */ -class KSycocaFactory -{ -public: - virtual KSycocaFactoryId factoryId() const = 0; - -protected: // virtual class - /** - * Create a factory which can be used to lookup from/create a database - * (depending on KSycoca::isBuilding()) - */ - KSycocaFactory( KSycocaFactoryId factory_id ); - -public: - virtual ~KSycocaFactory(); - - /** - * @return the position of the factory in the sycoca file - */ - int offset() { return mOffset; } - - /** - * @return the dict, for special use by KBuildSycoca - */ - KSycocaEntryDict * entryDict() { return m_entryDict; } - - /** - * Construct an entry from a config file. - * To be implemented in the real factories. - */ - virtual KSycocaEntry *createEntry(const TQString &file, const char *resource) = 0; - - /** - * Add an entry - */ - virtual void addEntry(KSycocaEntry *newEntry, const char *resource); - - /** - * Remove an entry - * Not very fast, use with care. O(N) - */ - void removeEntry(KSycocaEntry *newEntry); - - /** - * Read an entry from the database - */ - virtual KSycocaEntry *createEntry(int offset)=0; - - /** - * Get a list of all entries from the database. - */ - KSycocaEntry::List allEntries(); - - /** - * Saves all entries it maintains as well as index files - * for these entries to the stream 'str'. - * - * Also sets mOffset to the starting position. - * - * The stream is positioned at the end of the last index. - * - * Don't forget to call the parent first when you override - * this function. - */ - virtual void save(TQDataStream &str); - - /** - * Writes out a header to the stream 'str'. - * The baseclass positions the stream correctly. - * - * Don't forget to call the parent first when you override - * this function. - */ - virtual void saveHeader(TQDataStream &str); - - /** - * @return the resources for which this factory is responsible. - */ - virtual const KSycocaResourceList * resourceList() const { return m_resourceList; } - -private: - int mOffset; - -protected: - int m_sycocaDictOffset; - int m_beginEntryOffset; - int m_endEntryOffset; - TQDataStream *m_str; - - KSycocaResourceList *m_resourceList; - KSycocaEntryDict *m_entryDict; - KSycocaDict *m_sycocaDict; -protected: - virtual void virtual_hook( int id, void* data ); -}; - -/** This, instead of a typedef, allows to declare "class ..." in header files - * @internal - */ -class KSycocaFactoryList : public TQPtrList -{ -public: - KSycocaFactoryList() { } -}; - -#endif diff --git a/python/pykde/extra/kde321/ktoolbarbutton.h b/python/pykde/extra/kde321/ktoolbarbutton.h deleted file mode 100644 index 5b7a85f9..00000000 --- a/python/pykde/extra/kde321/ktoolbarbutton.h +++ /dev/null @@ -1,315 +0,0 @@ -/* This file is part of the KDE libraries - Copyright (C) 1997, 1998 Stephan Kulow (coolo@kde.org) - (C) 1997, 1998 Sven Radej (radej@kde.org) - (C) 1997, 1998 Mark Donohoe (donohoe@kde.org) - (C) 1997, 1998 Matthias Ettrich (ettrich@kde.org) - (C) 2000 Kurt Granroth (granroth@kde.org) - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License version 2 as published by the Free Software Foundation. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. -*/ - -// $Id: ktoolbarbutton.h,v 1.34 2003/09/09 12:40:58 bhards Exp $ -#ifndef _KTOOLBARBUTTON_H -#define _KTOOLBARBUTTON_H - -#include -#include -#include -#include -#include - -class KToolBar; -class KToolBarButtonPrivate; -class KInstance; -class TQEvent; -class TQPopupMenu; -class TQPainter; - -/** - * A toolbar button. This is used internally by KToolBar, use the - * KToolBar methods instead. - * @internal - */ -class KToolBarButton : public QToolButton -{ - Q_OBJECT - -public: - /** - * Construct a button with an icon loaded by the button itself. - * This will trust the button to load the correct icon with the - * correct size. - * - * @param icon Name of icon to load (may be absolute or relative) - * @param id Id of this button - * @param parent This button's parent - * @param name This button's internal name - * @param txt This button's text (in a tooltip or otherwise) - */ - KToolBarButton(const TQString& icon, int id, TQWidget *parent, - const char *name=0L, const TQString &txt=TQString::null, - KInstance *_instance = KGlobal::instance()); - - /** - * Construct a button with an existing pixmap. It is not - * recommended that you use this as the internal icon loading code - * will almost always get it "right". - * - * @param pixmap Name of icon to load (may be absolute or relative) - * @param id Id of this button - * @param parent This button's parent - * @param name This button's internal name - * @param txt This button's text (in a tooltip or otherwise) - */ - KToolBarButton(const TQPixmap& pixmap, int id, TQWidget *parent, - const char *name=0L, const TQString &txt=TQString::null); - - /** - * Construct a separator button - * - * @param parent This button's parent - * @param name This button's internal name - */ - KToolBarButton(TQWidget *parent=0L, const char *name=0L); - - /** - * Standard destructor - */ - ~KToolBarButton(); - -#ifndef KDE_NO_COMPAT - /** - * @deprecated - * Set the pixmap directly for this button. This pixmap should be - * the active one... the dimmed and disabled pixmaps are constructed - * based on this one. However, don't use this function unless you - * are positive that you don't want to use setIcon. - * - * @param pixmap The active pixmap - */ - // this one is from TQButton, so #ifdef-ing it out doesn't break BC - virtual void setPixmap(const TQPixmap &pixmap) KDE_DEPRECATED; - - /** - * @deprecated - * Force the button to use this pixmap as the default one rather - * then generating it using effects. - * - * @param pixmap The pixmap to use as the default (normal) one - */ - void setDefaultPixmap(const TQPixmap& pixmap) KDE_DEPRECATED; - - /** - * @deprecated - * Force the button to use this pixmap when disabled one rather then - * generating it using effects. - * - * @param pixmap The pixmap to use when disabled - */ - void setDisabledPixmap(const TQPixmap& pixmap) KDE_DEPRECATED; -#endif - - /** - * Set the text for this button. The text will be either used as a - * tooltip (IconOnly) or will be along side the icon - * - * @param text The button (or tooltip) text - */ - virtual void setText(const TQString &text); - - /** - * Set the icon for this button. The icon will be loaded internally - * with the correct size. This function is preferred over setIconSet - * - * @param icon The name of the icon - */ - virtual void setIcon(const TQString &icon); - - /// @since 3.1 - virtual void setIcon( const TQPixmap &pixmap ) - { TQToolButton::setIcon( pixmap ); } - - /** - * Set the pixmaps for this toolbar button from a TQIconSet. - * If you call this you don't need to call any of the other methods - * that set icons or pixmaps. - * @param iconset The iconset to use - */ - virtual void setIconSet( const TQIconSet &iconset ); - -#ifndef KDE_NO_COMPAT - /** - * @deprecated - * Set the active icon for this button. The pixmap itself is loaded - * internally based on the icon size... .. the disabled and default - * pixmaps, however will only be constructed if generate is - * true. This function is preferred over setPixmap - * - * @param icon The name of the active icon - * @param generate If true, then the other icons are automagically - * generated from this one - */ - KDE_DEPRECATED void setIcon(const TQString &icon, bool generate ) { Q_UNUSED(generate); setIcon( icon ); } - - /** - * @deprecated - * Force the button to use this icon as the default one rather - * then generating it using effects. - * - * @param icon The icon to use as the default (normal) one - */ - void setDefaultIcon(const TQString& icon) KDE_DEPRECATED; - - /** - * @deprecated - * Force the button to use this icon when disabled one rather then - * generating it using effects. - * - * @param icon The icon to use when disabled - */ - void setDisabledIcon(const TQString& icon) KDE_DEPRECATED; -#endif - - /** - * Turn this button on or off - * - * @param flag true or false - */ - void on(bool flag = true); - - /** - * Toggle this button - */ - void toggle(); - - /** - * Turn this button into a toggle button or disable the toggle - * aspects of it. This does not toggle the button itself. - * Use toggle() for that. - * - * @param toggle true or false - */ - void setToggle(bool toggle = true); - - /** - * Return a pointer to this button's popup menu (if it exists) - */ - TQPopupMenu *popup(); - - /** - * Returns the button's id. - * @since 3.2 - */ - int id() const; - - /** - * Give this button a popup menu. There will not be a delay when - * you press the button. Use setDelayedPopup if you want that - * behavior. - * - * @param p The new popup menu - * @param unused Has no effect - ignore it. - */ - void setPopup (TQPopupMenu *p, bool unused = false); - - /** - * Gives this button a delayed popup menu. - * - * This function allows you to add a delayed popup menu to the button. - * The popup menu is then only displayed when the button is pressed and - * held down for about half a second. - * - * @param p the new popup menu - * @param unused Has no effect - ignore it. - */ - void setDelayedPopup(TQPopupMenu *p, bool unused = false); - - /** - * Turn this button into a radio button - * - * @param f true or false - */ - void setRadio(bool f = true); - - /** - * Toolbar buttons naturally will assume the global styles - * concerning icons, icons sizes, etc. You can use this function to - * explicitly turn this off, if you like. - * - * @param no_style Will disable styles if true - */ - void setNoStyle(bool no_style = true); - -signals: - void clicked(int); - void doubleClicked(int); - void pressed(int); - void released(int); - void toggled(int); - void highlighted(int, bool); - -public slots: - /** - * This slot should be called whenever the toolbar mode has - * potentially changed. This includes such events as text changing, - * orientation changing, etc. - */ - void modeChange(); - virtual void setTextLabel(const TQString&, bool tipToo); - -protected: - void paletteChange(const TQPalette &); - void leaveEvent(TQEvent *e); - void enterEvent(TQEvent *e); - void drawButton(TQPainter *p); - bool eventFilter (TQObject *o, TQEvent *e); - void showMenu(); - TQSize sizeHint() const; - TQSize minimumSizeHint() const; - TQSize minimumSize() const; - - /// @since 3.1 - bool isRaised() const; - /// @since 3.1 - bool isActive() const; - /// @since 3.1 - int iconTextMode() const; - -protected slots: - void slotClicked(); - void slotPressed(); - void slotReleased(); - void slotToggled(); - void slotDelayTimeout(); - -protected: - virtual void virtual_hook( int id, void* data ); -private: - KToolBarButtonPrivate *d; -}; - -/** -* List of KToolBarButton objects. -* @internal -* @version $Id: ktoolbarbutton.h,v 1.34 2003/09/09 12:40:58 bhards Exp $ -*/ -class KToolBarButtonList : public TQIntDict -{ -public: - KToolBarButtonList(); - ~KToolBarButtonList() {} -}; - -#endif diff --git a/python/pykde/extra/kde321/kurifilter.h b/python/pykde/extra/kde321/kurifilter.h deleted file mode 100644 index 834bff8a..00000000 --- a/python/pykde/extra/kde321/kurifilter.h +++ /dev/null @@ -1,644 +0,0 @@ -/* - * This file is part of the KDE libraries - * Copyright (C) 2000-2001,2003 Dawit Alemayehu - * - * Original author - * Copyright (C) 2000 Yves Arrouye - * - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public License - * along with this library; see the file COPYING.LIB. If not, write to - * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - * Boston, MA 02110-1301, USA. - **/ - -#ifndef __kurifilter_h__ -#define __kurifilter_h__ "$Id: kurifilter.h,v 1.41 2003/08/30 08:56:21 raabe Exp $" - -#include -#include -#include - -#include -#include - -class KURIFilterPrivate; -class KURIFilterDataPrivate; - -class KCModule; - -/** -* A basic message object used for exchanging filtering -* information between the filter plugins and the application -* requesting the filtering service. -* -* Use this object if you require a more detailed information -* about the URI you want to filter. Any application can create -* an instance of this class and send it to KURIFilter to -* have the plugins fill out all possible information about the -* URI. -* -* \b Example -* -* \code -* TQString text = "kde.org"; -* KURIFilterData d = text; -* bool filtered = KURIFilter::self()->filter( d ); -* cout << "URL: " << text.latin1() << endl -* << "Filtered URL: " << d.uri().url().latin1() << endl -* << "URI Type: " << d.uriType() << endl -* << "Was Filtered: " << filtered << endl; -* \endcode -* -* The above code should yield the following output: -* \code -* URI: kde.org -* Filtered URI: http://kde.org -* URI Type: 0 <== means NET_PROTOCOL -* Was Filtered: 1 <== means the URL was successfully filtered -* \endcode -* -* @short A message object for exchanging filtering URI info. -* @author Dawit Alemayehu -*/ - -class KURIFilterData -{ -friend class KURIFilterPlugin; - -public: - /** - * Describes the type of the URI that was filtered. - * Here is a brief description of the types: - * - * @li NET_PROTOCOL - Any network protocol: http, ftp, nttp, pop3, etc... - * @li LOCAL_FILE - A local file whose executable flag is not set - * @li LOCAL_DIR - A local directory - * @li EXECUTABLE - A local file whose executable flag is set - * @li HELP - A man or info page - * @li SHELL - A shell executable (ex: echo "Test..." >> ~/testfile) - * @li BLOCKED - A URI that should be blocked/filtered (ex: ad filtering) - * @li ERROR - An incorrect URI (ex: "~johndoe" when user johndoe - * does not exist in that system ) - * @li UNKNOWN - A URI that is not identified. Default value when - * a KURIFilterData is first created. - */ - enum URITypes { NET_PROTOCOL=0, LOCAL_FILE, LOCAL_DIR, EXECUTABLE, HELP, SHELL, BLOCKED, ERROR, UNKNOWN }; - - /** - * Default constructor. - * - * Creates a URIFilterData object. - */ - KURIFilterData() { init(); } - - /** - * Creates a URIFilterData object from the given URL. - * - * @param url is the URL to be filtered. - */ - KURIFilterData( const KURL& url ) { init( url); } - - /** - * Creates a URIFilterData object from the given string. - * - * @param url is the string to be filtered. - */ - KURIFilterData( const TQString& url ) { init( url ); } - - /** - * Copy constructor. - * - * Creates a URIFilterData object from another - * URI filter data object. - * - * @param data the uri filter data to be copied. - */ - KURIFilterData( const KURIFilterData& data); - - /** - * Destructor. - */ - ~KURIFilterData(); - - /** - * This method has been deprecated and will always return - * true. You should instead use the result from the - * KURIFilter::filterURI() calls. - * - * @deprecated - */ - KDE_DEPRECATED bool hasBeenFiltered() const { return true; } - - /** - * Returns the filtered or the original URL. - * - * This function returns the filtered url if one - * of the plugins successfully filtered the original - * URL. Otherwise, it returns the original URL. - * See hasBeenFiltered() and - * - * @return the filtered or original url. - */ - KURL uri() const { return m_pURI; } - - /** - * Returns an error message. - * - * This functions returns the error message set - * by the plugin whenever the uri type is set to - * KURIFilterData::ERROR. Otherwise, it returns - * a TQString::null. - * - * @return the error message or a NULL when there is none. - */ - TQString errorMsg() const { return m_strErrMsg; } - - /** - * Returns the URI type. - * - * This method always returns KURIFilterData::UNKNOWN - * if the given URL was not filtered. - * @return the type of the URI - */ - URITypes uriType() const { return m_iType; } - - /** - * Sets the URL to be filtered. - * - * Use this function to set the string to be - * filtered when you construct an empty filter - * object. - * - * @param url the string to be filtered. - */ - void setData( const TQString& url ) { init( url ); } - - /** - * Same as above except the argument is a URL. - * - * Use this function to set the string to be - * filtered when you construct an empty filter - * object. - * - * @param url the URL to be filtered. - */ - void setData( const KURL& url ) { init( url ); } - - /** - * Sets the absolute path to be used whenever the supplied - * data is a relative local URL. - * - * NOTE: This function should only be used for local resources, - * i.e. the "file:/" protocol. It is useful for specifying the - * absolute path in cases where the actual URL might be relative. - * meta object. If deriving the path from a KURL, make sure you - * set the argument for this function to the result of calling - * path () instead of url (). - * - * @param abs_path the abolute path to the local resource. - * @return true if absolute path is successfully set. Otherwise, false. - */ - bool setAbsolutePath( const TQString& abs_path ); - - /** - * Returns the absolute path if one has already been set. - * @return the absolute path, or TQString::null - * @see hasAbsolutePath() - */ - TQString absolutePath() const; - - /** - * Checks whether the supplied data had an absolute path. - * @return true if the supplied data has an absolute path - * @see absolutePath() - */ - bool hasAbsolutePath() const; - - /** - * Returns the command line options and arguments for a - * local resource when present. - * - * @return options and arguments when present, otherwise TQString::null - */ - TQString argsAndOptions() const; - - /** - * Checks whether the current data is a local resource with - * command line options and arguments. - * @return true if the current data has command line options and arguments - */ - bool hasArgsAndOptions() const; - - /** - * Returns the name of the icon that matches - * the current filtered URL. - * - * NOTE that this function will return a NULL - * string by default and when no associated icon - * is found. - * - * @return the name of the icon associated with the resource, - * or TQString::null if not found - */ - TQString iconName(); - - /** - * Check whether the provided uri is executable or not. - * - * Setting this to false ensures that typing the name of - * an executable does not start that application. This is - * useful in the location bar of a browser. The default - * value is true. - * - * @since 3.2 - */ - void setCheckForExecutables (bool check); - - /** - * @return true if the filters should attempt to check whether the - * supplied uri is an executable. False otherwise. - * - * @since 3.2 - */ - bool checkForExecutables() const { return m_bCheckForExecutables; } - - /** - * @return the string as typed by the user, before any URL processing is done - * @since 3.2 - */ - TQString typedString() const; - - /** - * Overloaded assigenment operator. - * - * This function allows you to easily assign a KURL - * to a KURIFilterData object. - * - * @return an instance of a KURIFilterData object. - */ - KURIFilterData& operator=( const KURL& url ) { init( url ); return *this; } - - /** - * Overloaded assigenment operator. - * - * This function allows you to easily assign a QString - * to a KURIFilterData object. - * - * @return an instance of a KURIFilterData object. - */ - KURIFilterData& operator=( const TQString& url ) { init( url ); return *this; } - -protected: - - /** - * Initializes the KURIFilterData on construction. - * @param url the URL to initialize the object with - */ - void init( const KURL& url); - - /** - * Initializes the KURIFilterData on construction. - * @param url the URL to initialize the object with - */ - void init( const TQString& url = TQString::null ); - -private: - bool m_bCheckForExecutables; - bool m_bChanged; - - TQString m_strErrMsg; - TQString m_strIconName; - - KURL m_pURI; - URITypes m_iType; - KURIFilterDataPrivate *d; -}; - - -/** - * Base class for URI filter plugins. - * - * This class applies a single filter to a URI. All plugins designed - * to provide URI filtering service should inherit from this abstract - * class and provide a concrete implementation. - * - * All inheriting classes need to implement the pure virtual function - * filterURI. - * - * @short Abstract class for URI filter plugins. - */ -class KURIFilterPlugin : public QObject -{ - Q_OBJECT - -public: - - /** - * Constructs a filter plugin with a given name and - * priority. - * - * @param parent the parent object, or 0 for no parent - * @param name the name of the plugin, or 0 for no name - * @param pri the priority of the plugin. - */ - KURIFilterPlugin( TQObject *parent = 0, const char *name = 0, double pri = 1.0 ); - - /** - * Returns the filter's name. - * - * @return A string naming the filter. - */ - virtual TQString name() const { return m_strName; } - - /** - * Returns the filter's priority. - * - * Each filter has an assigned priority, a float from 0 to 1. Filters - * with the lowest priority are first given a chance to filter a URI. - * - * @return The priority of the filter. - */ - virtual double priority() const { return m_dblPriority; } - - /** - * Filters a URI. - * - * @param data the URI data to be filtered. - * @return A boolean indicating whether the URI has been changed. - */ - virtual bool filterURI( KURIFilterData& data ) const = 0; - - /** - * Creates a configuration module for the filter. - * - * It is the responsibility of the caller to delete the module - * once it is not needed anymore. - * - * @return A configuration module, 0 if the filter isn't configurable. - */ - virtual KCModule *configModule( TQWidget*, const char* ) const { return 0; } - - /** - * Returns the name of the configuration module for the filter. - * - * @return the name of a configuration module or TQString::null if none. - */ - virtual TQString configName() const { return name(); } - -protected: - - /** - * Sets the the URL in @p data to @p uri. - */ - void setFilteredURI ( KURIFilterData& data, const KURL& uri ) const; - - /** - * Sets the error message in @p data to @p errormsg. - */ - void setErrorMsg ( KURIFilterData& data, const TQString& errmsg ) const { - data.m_strErrMsg = errmsg; - } - - /** - * Sets the URI type in @p data to @p type. - */ - void setURIType ( KURIFilterData& data, KURIFilterData::URITypes type) const { - data.m_iType = type; - data.m_bChanged = true; - } - - /** - * Sets the arguments and options string in @p data - * to @p args if any were found during filterting. - */ - void setArguments( KURIFilterData& data, const TQString& args ) const; - - TQString m_strName; - double m_dblPriority; - -protected: - virtual void virtual_hook( int id, void* data ); -private: - class KURIFilterPluginPrivate *d; -}; - - -/** - * A list of filter plugins. - */ -class KURIFilterPluginList : public TQPtrList -{ -public: - virtual int compareItems(Item a, Item b) - { - double diff = ((KURIFilterPlugin *) a)->priority() - ((KURIFilterPlugin *) b)->priority(); - return diff < 0 ? -1 : (diff > 0 ? 1 : 0); - } - -private: - KURIFilterPrivate *d; - -}; - -/** - * Manages the filtering of URIs. - * - * The intention of this plugin class is to allow people to extend the - * functionality of KURL without modifying it directly. This way KURL will - * remain a generic parser capable of parsing any generic URL that adheres - * to specifications. - * - * The KURIFilter class applies a number of filters to a URI and returns the - * filtered version whenever possible. The filters are implemented using - * plugins to provide easy extensibility of the filtering mechanism. New - * filters can be added in the future by simply inheriting from - * KURIFilterPlugin and implementing the KURIFilterPlugin::filterURI - * method. - * - * Use of this plugin-manager class is straight forward. Since it is a - * singleton object, all you have to do is obtain an instance by doing - * @p KURIFilter::self() and use any of the public member functions to - * preform the filtering. - * - * \b Example - * - * To simply filter a given string: - * - * \code - * bool filtered = KURIFilter::self()->filterURI( "kde.org" ); - * \endcode - * - * You can alternatively use a KURL: - * - * \code - * KURL url = "kde.org"; - * bool filtered = KURIFilter::self()->filterURI( url ); - * \endcode - * - * If you have a constant string or a constant URL, simply invoke the - * corresponding function to obtain the filtered string or URL instead - * of a boolean flag: - * - * \code - * TQString u = KURIFilter::self()->filteredURI( "kde.org" ); - * \endcode - * - * You can also restrict the filter(s) to be used by supplying - * the name of the filter(s) to use. By defualt all available - * filters will be used. To use specific filters, add the names - * of the filters you want to use to a TQStringList and invoke - * the appropriate filtering function. The examples below show - * the use of specific filters. The first one uses a single - * filter called kshorturifilter while the second example uses - * multiple filters: - * - * \code - * TQString text = "kde.org"; - * bool filtered = KURIFilter::self()->filterURI( text, "kshorturifilter" ); - * \endcode - * - * \code - * TQStringList list; - * list << "kshorturifilter" << "localdomainfilter"; - * bool filtered = KURIFilter::self()->filterURI( text, list ); - * \endcode - * - * KURIFilter also allows richer data exchange through a simple - * meta-object called @p KURIFilterData. Using this meta-object - * you can find out more information about the URL you want to - * filter. See KURIFilterData for examples and details. - * - * @short Filters a given URL into its proper format whenever possible. - */ - -class KURIFilter -{ -public: - /** - * Destructor - */ - ~KURIFilter (); - - /** - * Returns an instance of KURIFilter. - */ - static KURIFilter* self(); - - /** - * Filters the URI given by the object URIFilterData. - * - * The given URL is filtered based on the specified list of filters. - * If the list is empty all available filters would be used. - * - * @param data object that contains the URI to be filtered. - * @param filters specify the list of filters to be used. - * - * @return a boolean indicating whether the URI has been changed - */ - bool filterURI( KURIFilterData& data, const TQStringList& filters = TQStringList() ); - - /** - * Filters the URI given by the URL. - * - * The given URL is filtered based on the specified list of filters. - * If the list is empty all available filters would be used. - * - * @param uri the URI to filter. - * @param filters specify the list of filters to be used. - * - * @return a boolean indicating whether the URI has been changed - */ - bool filterURI( KURL &uri, const TQStringList& filters = TQStringList() ); - - /** - * Filters a string representing a URI. - * - * The given URL is filtered based on the specified list of filters. - * If the list is empty all available filters would be used. - * - * @param uri The URI to filter. - * @param filters specify the list of filters to be used. - * - * @return a boolean indicating whether the URI has been changed - */ - bool filterURI( TQString &uri, const TQStringList& filters = TQStringList() ); - - /** - * Returns the filtered URI. - * - * The given URL is filtered based on the specified list of filters. - * If the list is empty all available filters would be used. - * - * @param uri The URI to filter. - * @param filters specify the list of filters to be used. - * - * @return the filtered URI or null if it cannot be filtered - */ - KURL filteredURI( const KURL &uri, const TQStringList& filters = TQStringList() ); - - /** - * Return a filtered string representation of a URI. - * - * The given URL is filtered based on the specified list of filters. - * If the list is empty all available filters would be used. - * - * @param uri the URI to filter. - * @param filters specify the list of filters to be used. - * - * @return the filtered URI or null if it cannot be filtered - */ - TQString filteredURI( const TQString &uri, const TQStringList& filters = TQStringList() ); - - /** - * Return an iterator to iterate over all loaded - * plugins. - * - * @return a plugin iterator. - */ - TQPtrListIterator pluginsIterator() const; - - /** - * Return a list of the names of all loaded plugins. - * - * @return a TQStringList of plugin names - * @since 3.1 - */ - TQStringList pluginNames() const; - -protected: - - /** - * A protected constructor. - * - * This constructor creates a KURIFilter and - * initializes all plugins it can find by invoking - * loadPlugins. - */ - KURIFilter(); - - /** - * Loads all allowed plugins. - * - * This function loads all filters that have not - * been disbled. - */ - void loadPlugins(); - -private: - static KURIFilter *m_self; - KURIFilterPluginList m_lstPlugins; - KURIFilterPrivate *d; -}; - -#endif diff --git a/python/pykde/extra/kde321/selectdialog.h b/python/pykde/extra/kde321/selectdialog.h deleted file mode 100644 index 680d48ef..00000000 --- a/python/pykde/extra/kde321/selectdialog.h +++ /dev/null @@ -1,87 +0,0 @@ -/* - This file is part of libkresources. - - Copyright (c) 2002 Tobias Koenig - Copyright (c) 2002 Jan-Pascal van Best - Copyright (c) 2003 Cornelius Schumacher - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. -*/ - -#ifndef KRESOURCES_SELECTDIALOG_H -#define KRESOURCES_SELECTDIALOG_H - -#include -#include -#include - -#include - -class KListBox; - -namespace KRES { - -class Resource; - -/** - * Dialog for selecting a resource. - * - * Example: - * - * \code - * - * TQPtrList list = ... // can be retrived from KRES::Manager (e.g. KABC::AddressBook) - * - * KABC::Resource *res = KABC::SelectDialog::getResource( list, parentWdg ); - * if ( !res ) { - * // no resource selected - * } else { - * // do something with resource - * } - * \endcode - */ -class SelectDialog -{ - public: - /** - * Constructor. - * @param list The list of available resources - * @param parent The parent widget - * @param name The name of the dialog - */ - SelectDialog( TQPtrList list, TQWidget *parent = 0, - const char *name = 0); - - /** - * Returns selected resource. - */ - Resource *resource(); - - /** - * Opens a dialog showing the available resources and returns the resource the - * user has selected. Returns 0, if the dialog was canceled. - */ - static Resource *getResource( TQPtrList list, TQWidget *parent = 0 ); - - private: - KListBox *mResourceId; - - TQMap mResourceMap; -}; - -} - -#endif diff --git a/python/pykde/extra/kde322/configwidget.h b/python/pykde/extra/kde322/configwidget.h deleted file mode 100644 index e289743a..00000000 --- a/python/pykde/extra/kde322/configwidget.h +++ /dev/null @@ -1,58 +0,0 @@ -/* - This file is part of libkresources. - Copyright (c) 2002 Tobias Koenig - Copyright (c) 2002 Jan-Pascal van Best - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. -*/ - -#ifndef KRESOURCES_CONFIGWIDGET_H -#define KRESOURCES_CONFIGWIDGET_H - -#include "resource.h" - -#include - -#include - -namespace KRES { - -class ConfigWidget : public QWidget -{ - Q_OBJECT - public: - ConfigWidget( TQWidget *parent = 0, const char *name = 0 ); - - /** - Sets the widget to 'edit' mode. Reimplement this method if you are - interested in the mode change (to disable some GUI element for - example). By default the widget is in 'create new' mode. - */ - virtual void setInEditMode( bool value ); - - public slots: - virtual void loadSettings( Resource *resource ) = 0; - virtual void saveSettings( Resource *resource ) = 0; - - signals: - void setReadOnly( bool value ); - - protected: - Resource *mResource; -}; - -} -#endif diff --git a/python/pykde/extra/kde322/kaccelaction.h b/python/pykde/extra/kde322/kaccelaction.h deleted file mode 100644 index 0418297c..00000000 --- a/python/pykde/extra/kde322/kaccelaction.h +++ /dev/null @@ -1,564 +0,0 @@ -/* This file is part of the KDE libraries - Copyright (C) 2001,2002 Ellis Whitehead - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. -*/ - -#ifndef _KACCELACTION_H -#define _KACCELACTION_H - -#include -#include -#include -#include - -#include - -class KAccelBase; - -class TQObject; -class KConfig; -class KConfigBase; - -/** - * @internal - * A KAccelAction prepresents an action that can be executed using - * an accelerator key. Each KAccelAction has a name, a label, a - * "What's this" string and a KShortcut. The user can configure and - * enable/disable them using KKeyDialog. - * - * \code - * 1) KAccelAction = "Run Command" - * Default3 = "Alt+F2" - * Default4 = "Meta+Enter;Alt+F2" - * 1) KShortcut = "Meta+Enter" - * 1) KKeySequence = "Meta+Enter" - * 1) KKey = "Meta+Enter" - * 1) Meta+Enter - * 2) Meta+Keypad_Enter - * 2) KShortcut = "Alt+F2" - * 1) KKeySequence = "Alt+F2" - * 1) Alt+F2 - * 2) KAccelAction = "Something" - * Default3 = "" - * Default4 = "" - * 1) KShortcut = "Meta+X,Asterisk" - * 1) KKeySequence = "Meta+X,Asterisk" - * 1) KKey = "Meta+X" - * 1) Meta+X - * 2) KKey = "Asterisk" - * 1) Shift+8 (English layout) - * 2) Keypad_Asterisk - * \endcode - * @short An accelerator action - * @see KAccel - * @see KGlobalAccel - * @see KKeyChooser - * @see KKeyDialog - */ -class KAccelAction -{ - public: - /** - * Creates an empty KAccelAction. - * @see clear() - */ - KAccelAction(); - - /** - * Copy constructor. - */ - KAccelAction( const KAccelAction& ); - - /** - * Creates a new KAccelAction. - * @param sName the name of the accelerator - * @param sLabel the label of the accelerator (i18n!) - * @param sWhatsThis the What's This text (18n!) - * @param cutDef3 the default shortcut for 3 modifier systems - * @param cutDef4 the default shortcut for 4 modifier systems - * @param pObjSlot the receiver of a signal when the key has been - * pressed - * @param psMethodSlot the slot to connect for key presses. Receives - * an int, as set by setID(), as only argument - * @param bConfigurable if true the user can configure the shortcut - * @param bEnabled true if the accelerator should be enabled - */ - KAccelAction( const TQString& sName, const TQString& sLabel, const TQString& sWhatsThis, - const KShortcut& cutDef3, const KShortcut& cutDef4, - const TQObject* pObjSlot, const char* psMethodSlot, - bool bConfigurable, bool bEnabled ); - ~KAccelAction(); - - /** - * Clears the accelerator. - */ - void clear(); - - /** - * Re-initialized the KAccelAction. - * @param sName the name of the accelerator - * @param sLabel the label of the accelerator (i18n!) - * @param sWhatsThis the What's This text (18n!) - * @param cutDef3 the default shortcut for 3 modifier systems - * @param cutDef4 the default shortcut for 4 modifier systems - * @param pObjSlot the receiver of a signal when the key has been - * pressed - * @param psMethodSlot the slot to connect for key presses. Receives - * an int, as set by setID(), as only argument - * @param bConfigurable if true the user can configure the shortcut - * @param bEnabled true if the accelerator should be enabled - * @return true if successful, false otherwise - */ - bool init( const TQString& sName, const TQString& sLabel, const TQString& sWhatsThis, - const KShortcut& cutDef3, const KShortcut& cutDef4, - const TQObject* pObjSlot, const char* psMethodSlot, - bool bConfigurable, bool bEnabled ); - - /** - * Copies this KAccelAction. - */ - KAccelAction& operator=( const KAccelAction& ); - - /** - * Returns the name of the accelerator action. - * @return the name of the accelerator action, can be null if not - * set - */ - const TQString& name() const { return m_sName; } - - /** - * Returns the label of the accelerator action. - * @return the label of the accelerator action, can be null if - * not set - */ - const TQString& label() const { return m_sLabel; } - - /** - * Returns the What's This text of the accelerator action. - * @return the What's This text of the accelerator action, can be - * null if not set - */ - const TQString& whatsThis() const { return m_sWhatsThis; } - - /** - * The shortcut that is actually used (may be used configured). - * @return the shortcut of the KAccelAction, can be null if not set - * @see shortcutDefault() - */ - const KShortcut& shortcut() const { return m_cut; } - - /** - * The default shortcut for this system. - * @return the default shortcut on this system, can be null if not set - * @see shortcut() - * @see shortcutDefault3() - * @see shortcutDefault4() - */ - const KShortcut& shortcutDefault() const; - - /** - * The default shortcut for 3 modifier systems. - * @return the default shortcut for 3 modifier systems, can be null - * if not set - * @see shortcutDefault() - * @see shortcutDefault4() - * @see useFourModifierKeys() - */ - const KShortcut& shortcutDefault3() const { return m_cutDefault3; } - - /** - * The default shortcut for 4 modifier systems. - * @return the default shortcut for 4 modifier systems, can be null - * if not set - * @see shortcutDefault() - * @see shortcutDefault3() - * @see useFourModifierKeys() - */ - const KShortcut& shortcutDefault4() const { return m_cutDefault4; } - - /** - * Returns the receiver of signals. - * @return the receiver of signals (can be 0 if not set) - */ - const TQObject* objSlotPtr() const { return m_pObjSlot; } - - /** - * Returns the slot for the signal. - * @return the slot for the signal - */ - const char* methodSlotPtr() const { return m_psMethodSlot; } - - /** - * Checks whether the user can configure the action. - * @return true if configurable, false otherwise - */ - bool isConfigurable() const { return m_bConfigurable; } - - /** - * Checks whether the action is enabled. - * @return true if enabled, false otherwise - */ - bool isEnabled() const { return m_bEnabled; } - - /** - * Sets the name of the accelerator action. - * @param name the new name - */ - void setName( const TQString& name ); - - /** - * Sets the user-readable label of the accelerator action. - * @param label the new label (i18n!) - */ - void setLabel( const TQString& label ); - - /** - * Sets the What's This text for the accelerator action. - * @param whatsThis the new What's This text (i18n!) - */ - void setWhatsThis( const TQString& whatsThis ); - - /** - * Sets the new shortcut of the accelerator action. - * @param rgCuts the shortcut to set - * @return true if successful, false otherwise - */ - bool setShortcut( const KShortcut& rgCuts ); - - /** - * Sets the slot of the accelerator action. - * @param pObjSlot the receiver object of the signal - * @param psMethodSlot the slot for the signal - */ - void setSlot( const TQObject* pObjSlot, const char* psMethodSlot ); - - /** - * Enables or disabled configuring the action. - * @param configurable true to enable configurability, false to disable - */ - void setConfigurable( bool configurable ); - - /** - * Enables or disabled the action. - * @param configurable true to enable the action, false to disable - */ - void setEnabled( bool enable ); - - /** - * Retrieves the id set using setID. - * @return the id of the accelerator action - */ - int getID() const { return m_nIDAccel; } - - /** - * Allows you to set an id that will be used as the action - * signal's argument. - * - * @param n the new id - * @see getID() - */ - void setID( int n ) { m_nIDAccel = n; } - - /** - * Checkes whether the action is connected (emits signals). - * @return true if connected, false otherwise - */ - bool isConnected() const; - - /** - * Sets a key sequence of the action's shortcut. - * @param i the position of the sequence - * @param keySeq the new new sequence - * @return true if successful, false otherwise - * @see KShortcut::setSeq() - */ - bool setKeySequence( uint i, const KKeySequence &keySeq ); - - /** - * Clears the action's shortcut. It will not contain any sequences after - * calling this method. - * @see KShortcut::clear() - */ - void clearShortcut(); - - /** - * Checks whether the action's shortcut contains the given key sequence. - * @param keySeq the key sequence to check - * @return true if the shortcut contains the given sequence - * @see KShortcut::contains() - */ - bool contains( const KKeySequence &keySeq ); - - /** - * Returns the string representation of the action's shortcut. - * @return the string representation of the action's shortcut. - * @see KShortcut::toString() - */ - TQString toString() const; - - /** - * @internal - */ - TQString toStringInternal() const; - - /** - * Returns true if four modifier keys will be used. - * @return true if four modifier keys will be used. - */ - static bool useFourModifierKeys(); - - /** - * Selects 3 or 4 modifier default shortcuts. - * @param use true to use 4 modifier shortcuts, false to use - * 3 modifier shortcuts - */ - static void useFourModifierKeys( bool use ); - - protected: - TQString m_sName, - m_sLabel, - m_sWhatsThis; - KShortcut m_cut; - KShortcut m_cutDefault3, m_cutDefault4; - const TQObject* m_pObjSlot; - const char* m_psMethodSlot; - bool m_bConfigurable, - m_bEnabled; - int m_nIDAccel; - uint m_nConnections; - - void incConnections(); - void decConnections(); - - private: - static int g_bUseFourModifierKeys; - class KAccelActionPrivate* d; - - friend class KAccelActions; - friend class KAccelBase; -}; - -//--------------------------------------------------------------------- -// KAccelActions -//--------------------------------------------------------------------- - -/** - * @internal - * This class represents a collection of KAccelAction objects. - * - * @short A collection of accelerator actions - * @see KAccelAction - */ -class KAccelActions -{ - public: - /** - * Creates a new, empty KAccelActions object. - */ - KAccelActions(); - - /** - * Copy constructor (deep copy). - */ - KAccelActions( const KAccelActions& ); - virtual ~KAccelActions(); - - /** - * Removes all items from this collection. - */ - void clear(); - - /** - * Initializes this object with the given actions. - * It will make a deep copy of all actions. - * @param actions the actions to copy - * @return true if successful, false otherwise - */ - bool init( const KAccelActions &actions ); - - /** - * Loads the actions from the given configuration file. - * - * @param config the configuration file to load from - * @param sGroup the group in the configuration file - * @return true if successful, false otherwise - */ - bool init( KConfigBase& config, const TQString& sGroup ); - - /** - * Updates the shortcuts of all actions in this object - * with the shortcuts from the given object. - * @param shortcuts the collection that contains the new - * shortcuts - */ - void updateShortcuts( KAccelActions &shortcuts ); - - /** - * Retrieves the index of the action with the given name. - * @param sAction the action to search - * @return the index of the action, or -1 if not found - */ - int actionIndex( const TQString& sAction ) const; - - /** - * Returns the action with the given @p index. - * @param index the index of an action. You must not - * use an index that is too high. - * @return the KAccelAction with the given index - * @see count() - */ - KAccelAction* actionPtr( uint index ); - - /** - * Returns the action with the given @p index. - * @param index the index of an action. You must not - * use an index that is too high. - * @return the KAccelAction with the given index - * @see count() - */ - const KAccelAction* actionPtr( uint index ) const; - - /** - * Returns the action with the given name. - * @param aAction the name of the action to search - * @return the KAccelAction with the given name, or 0 - * if not found - */ - KAccelAction* actionPtr( const TQString& sAction ); - - /** - * Returns the action with the given name. - * @param aAction the name of the action to search - * @return the KAccelAction with the given name, or 0 - * if not found - */ - const KAccelAction* actionPtr( const TQString& sAction ) const; - - /** - * Returns the action with the given key sequence. - * @param cut the sequence to search for - * @return the KAccelAction with the given sequence, or 0 - * if not found - */ - KAccelAction* actionPtr( KKeySequence cut ); - - /** - * Returns the action with the given @p index. - * @param index the index of an action. You must not - * use an index that is too high. - * @return the KAccelAction with the given index - * @see actionPtr() - * @see count() - */ - KAccelAction& operator []( uint index ); - - /** - * Returns the action with the given @p index. - * @param index the index of an action. You must not - * use an index that is too high. - * @return the KAccelAction with the given index - * @see actionPtr() - * @see count() - */ - const KAccelAction& operator []( uint index ) const; - - /** - * Inserts an action into the collection. - * @param sName the name of the accelerator - * @param sLabel the label of the accelerator (i18n!) - * @param sWhatsThis the What's This text (18n!) - * @param cutDef3 the default shortcut for 3 modifier systems - * @param cutDef4 the default shortcut for 4 modifier systems - * @param pObjSlot the receiver of a signal when the key has been - * pressed - * @param psMethodSlot the slot to connect for key presses. Receives - * an int, as set by setID(), as only argument - * @param bConfigurable if true the user can configure the shortcut - * @param bEnabled true if the accelerator should be enabled - * @return the new action - */ - KAccelAction* insert( const TQString& sAction, const TQString& sLabel, const TQString& sWhatsThis, - const KShortcut& rgCutDefaults3, const KShortcut& rgCutDefaults4, - const TQObject* pObjSlot = 0, const char* psMethodSlot = 0, - bool bConfigurable = true, bool bEnabled = true ); - - /** - * Inserts an action into the collection. - * @param sName the name of the accelerator - * @param sLabel the label of the accelerator (i18n!) - * @return the new action - */ - KAccelAction* insert( const TQString& sName, const TQString& sLabel ); - - /** - * Removes the given action. - * @param sAction the name of the action. - * @return true if successful, false otherwise - */ - bool remove( const TQString& sAction ); - - /** - * Loads the actions from the given configuration file. - * - * @param sConfigGroup the group in the configuration file - * @param pConfig the configuration file to load from - * @return true if successful, false otherwise - */ - bool readActions( const TQString& sConfigGroup = "Shortcuts", KConfigBase* pConfig = 0 ); - - /** - * Writes the actions to the given configuration file. - * - * @param sConfigGroup the group in the configuration file - * @param pConfig the configuration file to save to - * @param bWriteAll true to write all actions - * @param bGlobal true to write to the global configuration file - * @return true if successful, false otherwise - */ - bool writeActions( const TQString& sConfigGroup = "Shortcuts", KConfigBase* pConfig = 0, - bool bWriteAll = false, bool bGlobal = false ) const; - - /** - * Emit a keycodeChanged signal. - */ - void emitKeycodeChanged(); - - /** - * Returns the number of actions in the collection. - * @return the number of actions - */ - uint count() const; - - protected: - KAccelBase* m_pKAccelBase; - KAccelAction** m_prgActions; - uint m_nSizeAllocated, m_nSize; - - void resize( uint ); - void insertPtr( KAccelAction* ); - - private: - class KAccelActionsPrivate* d; - - KAccelActions( KAccelBase* ); - void initPrivate( KAccelBase* ); - KAccelActions& operator =( KAccelActions& ); - - friend class KAccelBase; -}; - -#endif // _KACCELACTION_H diff --git a/python/pykde/extra/kde322/kaccelbase.h b/python/pykde/extra/kde322/kaccelbase.h deleted file mode 100644 index e2ec66e9..00000000 --- a/python/pykde/extra/kde322/kaccelbase.h +++ /dev/null @@ -1,230 +0,0 @@ -/* This file is part of the KDE libraries - Copyright (C) 2001 Ellis Whitehead - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. -*/ - -#ifndef _KACCELBASE_H -#define _KACCELBASE_H - -#include -#include -#include -#include -#include - -#include "kaccelaction.h" -#include "kkeyserver_x11.h" - -class TQPopupMenu; -class TQWidget; - -//---------------------------------------------------- - -/** - * @internal - * Handle keyboard accelerators. - * - * Allow an user to configure - * key bindings through application configuration files or through the - * KKeyChooser GUI. - * - * A KAccel contains a list of accelerator items. Each accelerator item - * consists of an action name and a keyboard code combined with modifiers - * (Shift, Ctrl and Alt.) - * - * For example, "Ctrl+P" could be a shortcut for printing a document. The key - * codes are listed in ckey.h. "Print" could be the action name for printing. - * The action name identifies the key binding in configuration files and the - * KKeyChooser GUI. - * - * When pressed, an accelerator key calls the slot to which it has been - * connected. Accelerator items can be connected so that a key will activate - * two different slots. - * - * A KAccel object handles key events sent to its parent widget and to all - * children of this parent widget. - * - * Key binding reconfiguration during run time can be prevented by specifying - * that an accelerator item is not configurable when it is inserted. A special - * group of non-configurable key bindings are known as the - * standard accelerators. - * - * The standard accelerators appear repeatedly in applications for - * standard document actions such as printing and saving. Convenience methods are - * available to insert and connect these accelerators which are configurable on - * a desktop-wide basis. - * - * It is possible for a user to choose to have no key associated with - * an action. - * - * The translated first argument for insertItem() is used only - * in the configuration dialog. - *\code - * KAccel *a = new KAccel( myWindow ); - * // Insert an action "Scroll Up" which is associated with the "Up" key: - * a->insertItem( i18n("Scroll Up"), "Scroll Up", "Up" ); - * // Insert an action "Scroll Down" which is not associated with any key: - * a->insertItem( i18n("Scroll Down"), "Scroll Down", 0); - * a->connectItem( "Scroll up", myWindow, TQT_SLOT( scrollUp() ) ); - * // a->insertStdItem( KStdAccel::Print ); //not necessary, since it - * // is done automatially with the - * // connect below! - * a->connectItem(KStdAccel::Print, myWindow, TQT_SLOT( printDoc() ) ); - * - * a->readSettings(); - *\endcode - * - * If a shortcut has a menu entry as well, you could insert them like - * this. The example is again the KStdAccel::Print from above. - * - * \code - * int id; - * id = popup->insertItem("&Print",this, TQT_SLOT(printDoc())); - * a->changeMenuAccel(popup, id, KStdAccel::Print ); - * \endcode - * - * If you want a somewhat "exotic" name for your standard print action, like - * id = popup->insertItem(i18n("Print &Document"),this, TQT_SLOT(printDoc())); - * it might be a good idea to insert the standard action before as - * a->insertStdItem( KStdAccel::Print, i18n("Print Document") ) - * as well, so that the user can easily find the corresponding function. - * - * This technique works for other actions as well. Your "scroll up" function - * in a menu could be done with - * - * \code - * id = popup->insertItem(i18n"Scroll &up",this, TQT_SLOT(scrollUp())); - * a->changeMenuAccel(popup, id, "Scroll Up" ); - * \endcode - * - * Please keep the order right: First insert all functions in the - * acceleratior, then call a -> readSettings() and @em then build your - * menu structure. - * - * @short Configurable key binding support. - * @version $Id: kaccelbase.h,v 1.26 2003/08/16 19:44:57 coolo Exp $ - */ - -class KAccelBase -{ - public: - enum Init { QT_KEYS = 0x00, NATIVE_KEYS = 0x01 }; - enum Signal { KEYCODE_CHANGED }; - - KAccelBase( int fInitCode ); - virtual ~KAccelBase(); - - uint actionCount() const; - KAccelActions& actions(); - bool isEnabled() const; - - KAccelAction* actionPtr( const TQString& sAction ); - const KAccelAction* actionPtr( const TQString& sAction ) const; - KAccelAction* actionPtr( const KKey& key ); - KAccelAction* actionPtr( const KKeyServer::Key& key ); - - const TQString& configGroup() const { return m_sConfigGroup; } - void setConfigGroup( const TQString& group ); - void setConfigGlobal( bool global ); - virtual void setEnabled( bool bEnabled ) = 0; - bool getAutoUpdate() { return m_bAutoUpdate; } - // return value of AutoUpdate flag before this call. - bool setAutoUpdate( bool bAuto ); - -// Procedures for manipulating Actions. - //void clearActions(); - - KAccelAction* insert( const TQString& sName, const TQString& sDesc ); - KAccelAction* insert( - const TQString& sAction, const TQString& sDesc, const TQString& sHelp, - const KShortcut& rgCutDefaults3, const KShortcut& rgCutDefaults4, - const TQObject* pObjSlot, const char* psMethodSlot, - bool bConfigurable = true, bool bEnabled = true ); - bool remove( const TQString& sAction ); - bool setActionSlot( const TQString& sAction, const TQObject* pObjSlot, const char* psMethodSlot ); - - bool updateConnections(); - - bool setShortcut( const TQString& sAction, const KShortcut& cut ); - -// Modify individual Action sub-items - bool setActionEnabled( const TQString& sAction, bool bEnable ); - - /** - * Read all key associations from @p config, or (if @p config - * is zero) from the application's configuration file - * KGlobal::config(). - * - * The group in which the configuration is stored can be - * set with setConfigGroup(). - */ - void readSettings( KConfigBase* pConfig = 0 ); - - /** - * Write the current configurable associations to @p config, - * or (if @p config is zero) to the application's - * configuration file. - */ - void writeSettings( KConfigBase* pConfig = 0 ) const; - - TQPopupMenu* createPopupMenu( TQWidget* pParent, const KKeySequence& ); - - // Protected methods - protected: - void slotRemoveAction( KAccelAction* ); - - struct X; - void createKeyList( TQValueVector& rgKeys ); - bool insertConnection( KAccelAction* ); - bool removeConnection( KAccelAction* ); - - virtual bool emitSignal( Signal ) = 0; - virtual bool connectKey( KAccelAction&, const KKeyServer::Key& ) = 0; - virtual bool connectKey( const KKeyServer::Key& ) = 0; - virtual bool disconnectKey( KAccelAction&, const KKeyServer::Key& ) = 0; - virtual bool disconnectKey( const KKeyServer::Key& ) = 0; - - protected: - struct ActionInfo - { - KAccelAction* pAction; - uint iSeq, iVariation; - //ActionInfo* pInfoNext; // nil if only one action uses this key. - - ActionInfo() { pAction = 0; iSeq = 0xffff; iVariation = 0xffff; } - ActionInfo( KAccelAction* _pAction, uint _iSeq, uint _iVariation ) - { pAction = _pAction; iSeq = _iSeq; iVariation = _iVariation; } - }; - typedef TQMap KKeyToActionMap; - - KAccelActions m_rgActions; - KKeyToActionMap m_mapKeyToAction; - TQValueList m_rgActionsNonUnique; - bool m_bNativeKeys; // Use native key codes instead of Qt codes - bool m_bEnabled; - bool m_bConfigIsGlobal; - TQString m_sConfigGroup; - bool m_bAutoUpdate; - KAccelAction* mtemp_pActionRemoving; - - private: - KAccelBase& operator =( const KAccelBase& ); - - friend class KAccelActions; -}; - -#endif // _KACCELBASE_H diff --git a/python/pykde/extra/kde322/kicontheme.h b/python/pykde/extra/kde322/kicontheme.h deleted file mode 100644 index 4c15c2d9..00000000 --- a/python/pykde/extra/kde322/kicontheme.h +++ /dev/null @@ -1,334 +0,0 @@ -/* vi: ts=8 sts=4 sw=4 - * - * $Id: kicontheme.h,v 1.29 2003/11/02 14:50:34 carewolf Exp $ - * - * This file is part of the KDE project, module kdecore. - * Copyright (C) 2000 Geert Jansen - * Antonio Larrosa - * - * This is free software; it comes under the GNU Library General - * Public License, version 2. See the file "COPYING.LIB" for the - * exact licensing terms. - * - */ - -#ifndef __KIconTheme_h_Included__ -#define __KIconTheme_h_Included__ - -#include -#include -#include - -class KConfig; -//class KIconThemeDir; - -class KIconThemePrivate; - -class KIconPrivate; - -/** - * One icon as found by KIconTheme. Also serves as a namespace containing - * icon related constants. - * @see KIconEffect - * @see KIconTheme - * @see KIconLoader - */ -class KIcon -{ -public: - KIcon() { size = 0; } - - /** - * Return true if this icon is valid, false otherwise. - */ - bool isValid() const { return size != 0; } - - /** - * Defines the context of the icon. - */ - enum Context { - Any, ///< Some icon with unknown purpose. - Action, ///< An action icon (e.g. 'save', 'print'). - Application, ///< An icon that represents an application. - Device, ///< An icon that represents a device. - FileSystem, ///< An icon that represents a file system. - MimeType ///< An icon that represents a mime type (or file type). - }; - - /** - * The type of the icon. - */ - enum Type { - Fixed, ///< Fixed-size icon. - Scalable, ///< Scalable-size icon. - Threshold ///< A threshold icon. - }; - - /** - * The type of a match. - */ - enum MatchType { - MatchExact, ///< Only try to find an exact match. - MatchBest ///< Take the best match if there is no exact match. - - }; - - // if you add a group here, make sure to change the config reading in - // KIconLoader too - /** - * The group an an icon. - */ - enum Group { NoGroup=-1, Desktop=0, FirstGroup=0, Toolbar, - MainToolbar, Small, Panel, LastGroup, User }; - - /** - * These are the standard sizes for icons. - */ - enum StdSizes { - /// small icons for menu entries - SizeSmall=16, - /// medium sized icons for the desktop - SizeMedium=32, - /// large sized icons for the panel - SizeLarge=48, - /// huge sized icons for iconviews - SizeHuge=64 - }; - - /** - * Defines the possible states of an icon. - */ - enum States { DefaultState, ///< The default state. - ActiveState, ///< Icon is active. - DisabledState, ///< Icon is disabled. - LastState ///< Last state (last constant) - }; - - /** - * This defines an overlay, a semi-transparent image that is - * projected onto the icon. They are used to show that the file - * represented by the icon is, for example, locked, zipped or hidden. - */ - enum Overlays { - LockOverlay=0x100, ///< a file is locked - ZipOverlay=0x200, ///< a file is zipped - LinkOverlay=0x400, ///< a fileis a link - HiddenOverlay=0x800, ///< a file is hidden - ShareOverlay=0x1000, ///< a file is shared - OverlayMask = ~0xff - }; - - /** - * The size in pixels of the icon. - */ - int size; - - /** - * The context of the icon. - */ - Context context; - - /** - * The type of the icon: Fixed, Scalable or Threshold. - **/ - Type type; - - /** - * The threshold in case type == Threshold - */ - int threshold; - - /** - * The full path of the icon. - */ - TQString path; - -private: - KIconPrivate *d; -}; - -inline KIcon::Group& operator++(KIcon::Group& group) { group = static_cast(group+1); return group; } -inline KIcon::Group operator++(KIcon::Group& group,int) { KIcon::Group ret = group; ++group; return ret; } - -/** - * Class to use/access icon themes in KDE. This class is used by the - * iconloader but can be used by others too. - * @see KIconLoader - */ -class KIconTheme -{ -public: - /** - * Load an icon theme by name. - * @param name the name of the theme (e.g. "hicolor" or "keramik") - * @param appName the name of the application. Can be null. This argument - * allows applications to have themed application icons. - */ - KIconTheme(const TQString& name, const TQString& appName=TQString::null); - ~KIconTheme(); - - /** - * The stylized name of the icon theme. - * @return the (human-readable) name of the theme - */ - TQString name() const { return mName; } - - /** - * A description for the icon theme. - * @return a human-readable description of the theme, TQString::null - * if there is none - */ - TQString description() const { return mDesc; } - - /** - * Return the name of the "example" icon. This can be used to - * present the theme to the user. - * @return the name of the example icon, TQString::null if there is none - */ - TQString example() const; - - /** - * Return the name of the screenshot. - * @return the name of the screenshot, TQString::null if there is none - */ - TQString screenshot() const; - - /** - * Returns the name of this theme's link overlay. - * @return the name of the link overlay - */ - TQString linkOverlay() const; - - /** - * Returns the name of this theme's zip overlay. - * @return the name of the zip overlay - */ - TQString zipOverlay() const; - - /** - * Returns the name of this theme's lock overlay. - * @return the name of the lock overlay - */ - TQString lockOverlay() const; - - /** - * Returns the name of this theme's share overlay. - * @return the name of the share overlay - * @since 3.1 - */ - TQString shareOverlay () const; - - /** - * Returns the toplevel theme directory. - * @return the directory of the theme - */ - TQString dir() const { return mDir; } - - /** - * The themes this icon theme falls back on. - * @return a list of icon themes that are used as fall-backs - */ - TQStringList inherits() const { return mInherits; } - - /** - * The icon theme exists? - * @return true if the icon theme is valid - */ - bool isValid() const; - - /** - * The icon theme should be hidden to the user? - * @return true if the icon theme is hidden - * @since 3.1 - */ - bool isHidden() const; - - /** - * The minimum display depth required for this theme. This can either - * be 8 or 32. - * @return the minimum bpp (8 or 32) - */ - int depth() const { return mDepth; } - - /** - * The default size of this theme for a certain icon group. - * @param group The icon group. See KIcon::Group. - * @return The default size in pixels for the given icon group. - */ - int defaultSize(KIcon::Group group) const; - - /** - * Query available sizes for a group. - * @param group The icon group. See KIcon::Group. - * @return a list of available sized for the given group - */ - TQValueList querySizes(KIcon::Group group) const; - - /** - * Query available icons for a size and context. - * @param size the size of the icons - * @param context the context of the icons - * @return the list of icon names - */ - TQStringList queryIcons(int size, KIcon::Context context = KIcon::Any) const; - - /** - * Query available icons for a context and preferred size. - * @param size the size of the icons - * @param context the context of the icons - * @return the list of icon names - */ - TQStringList queryIconsByContext(int size, KIcon::Context context = KIcon::Any) const; - - - /** - * Lookup an icon in the theme. - * @param name The name of the icon, without extension. - * @param size The desired size of the icon. - * @param match The matching mode. KIcon::MatchExact returns an icon - * only if matches exactly. KIcon::MatchBest returns the best matching - * icon. - * @return A KIcon class that describes the icon. If an icon is found, - * @see KIcon::isValid will return true, and false otherwise. - */ - KIcon iconPath(const TQString& name, int size, KIcon::MatchType match) const; - - /** - * List all icon themes installed on the system, global and local. - * @return the list of all icon themes - */ - static TQStringList list(); - - /** - * Returns the current icon theme. - * @return the name of the current theme - */ - static TQString current(); - - /** - * Reconfigure the theme. - */ - static void reconfigure(); - - /** - * Returns the default icon theme. - * @return the name of the default theme name - * @since 3.1 - */ - static TQString defaultThemeName(); - -private: - int mDefSize[8]; - TQValueList mSizes[8]; - - int mDepth; - TQString mDir, mName, mDesc; - TQStringList mInherits; -// TQPtrList mDirs; - KIconThemePrivate *d; - - static TQString *_theme; - static TQStringList *_theme_list; -}; - -#endif diff --git a/python/pykde/extra/kde322/kkeyserver_x11.h b/python/pykde/extra/kde322/kkeyserver_x11.h deleted file mode 100644 index 1271f506..00000000 --- a/python/pykde/extra/kde322/kkeyserver_x11.h +++ /dev/null @@ -1,433 +0,0 @@ -#ifndef _KKEYSERVER_X11_H -#define _KKEYSERVER_X11_H - -#include "kshortcut.h" -#include "kkeynative.h" - -/** - * A collection of functions for the conversion of key presses and - * their modifiers from the window system (X11) specific format - * to the generic format and vice-versa. - */ -namespace KKeyServer -{ - /** - * Supplement enum KKey::ModFlag - * @since 3.1 - */ - enum ExtraModFlag { MODE_SWITCH = 0x2000 }; - - /** - * Represents a key symbol. - * @see KKey - * @see KKeyServer - */ - struct Sym - { - public: - /// the actual value of the symbol - uint m_sym; - - /// Creates a null symbol. - Sym() - { m_sym = 0; } - /** - * Creates asymbol with the given value. - * @param sym the value - */ - Sym( uint sym ) - { m_sym = sym; } - /** - * Creates a symbol from the given string description. - * @param s the description of the symbol - * @see toString() - */ - Sym( const TQString& s ) - { init( s ); } - - /** - * Initializes the symbol with the given Qt key code. - * @param keyQt the qt key code - * @return true if successful, false otherwise - * @see Qt::Key - */ - bool initQt( int keyQt ); - - /** - * Initializes the key with the given string description. - * @param s the string description - * @return true if successful, false otherwise - * @see toString() - */ - bool init( const TQString &s ); - - /** - * Returns the qt key code of the symbol. - * @return the qt key code - */ - int qt() const; - - /** - * @internal - */ - TQString toStringInternal() const; - - /** - * Returns the string representation of the symbol. - * @return the string representation of the symbol - */ - TQString toString() const; - - /** - * Returns the mods that are required for this symbol as - * ORed KKey::ModFlag's. For example, Break requires a - * Ctrl to be valid. - * @return the required KKey::ModFlag's - * @see KKey::ModFlag - */ - uint getModsRequired() const; - - /** - * TODO: please find out what this method does and document it - */ - uint getSymVariation() const; - - /** - * Casts the symbol to its integer representation. - */ - operator uint() const { return m_sym; } - - /** - * Overloaded operator to convert ints to Sym. - */ - Sym& operator =( uint sym ) { m_sym = sym; return *this; } - - private: - TQString toString( bool bUserSpace ) const; - - static void capitalizeKeyname( TQString& ); - }; - - /** - * Represents a key press. - * @see KKey - */ - struct Key - { - /// Code for native Keys in Qt - enum { CODE_FOR_QT = 256 }; - - /// The code of the key - uint m_code; - - /// The modifiers of the key - uint m_mod; - - /// The symbol of the key - uint m_sym; - - /** - * Initializes the key with a KKey. - * @param key the key to get the data from - * @param bQt true to take the Qt keycode, false - * for the native key code - * @see Qt::Key - * @see KKeyNative - */ - bool init( const KKey& key, bool bQt ); - - /** - * Checks whether the key code is a native code. - * @return true if native code of the window system, - * false if it is a Qt keycode - * @see Qt::Key - * @see KKeyNative - */ - bool isNative() const { return m_code != CODE_FOR_QT; } - - /** - * Returns the code of the key. - * @return the code of the key - */ - uint code() const { return m_code; } - - /** - * Returns the modifiers of the key. - * @return the modifiers of the key - */ - uint mod() const { return m_mod; } - - /** - * Returns the symbol of the key. - * @return the symbol of the key - */ - uint sym() const { return m_sym; } - - /** - * Returns the qt key code. - * @return the qt key code - */ - int keyCodeQt() const { return (int) m_sym; } - - /** - * Sets the qt key code. - * @param keyQt the qt key code - */ - void setKeycodeQt( int keyQt ) - { m_code = CODE_FOR_QT; m_sym = keyQt; } - - /** - * Initializes this key with a KKeyNative. - * @return this key - */ - Key& operator =( const KKeyNative& key ); - - /** - * Compares this key with the given Key object. Returns a - * negative number if the given Key is larger, 0 if they - * are equal and a positive number this Key is larger. The - * returned value is the difference between the symbol, modifier - * or code, whatever is non-zero first. - * - * @param key the key to compare with this key - * @return a negative number if the given Key is larger, 0 if - * they are equal and a positive number this Key is larger - */ - int compare( const Key& key ) const; - - /** - * Compares the symbol, modifiers and code of both keys. - * @see compare() - */ - bool operator ==( const Key& b ) const - { return compare( b ) == 0; } - - /** - * Compares the symbol, modifiers and code of both keys. - * @see compare() - */ - bool operator <( const Key& b ) const - { return compare( b ) < 0; } - - /** - * Converts this Key to a KKey. - * @return the KKey - */ - KKey key() const; - }; - - /** - * TODO: please document this class - */ - struct Variations - { - enum { MAX_VARIATIONS = 4 }; - - Key m_rgkey[MAX_VARIATIONS]; - uint m_nVariations; - - Variations() { m_nVariations = 0; } - - void init( const KKey&, bool bQt ); - - uint count() const { return m_nVariations; } - const Key& key( uint i ) const { return m_rgkey[i]; } - }; - - /// TODO: please document - bool initializeMods(); - - /** - * Returns the equivalent X modifier mask of the given modifier flag. - * @param modFlag the generic flags to check - * @return the window system specific flags - */ - uint modX( KKey::ModFlag modFlag ); - - /** - * Returns true if the current keyboard layout supports the Win key. - * Specifically, whether the Super or Meta keys are assigned to an X modifier. - * @return true if the keyboard has a Win key - * @see modXWin() - */ - bool keyboardHasWinKey(); - - /** - * Returns the X11 Shift modifier mask/flag. - * @return the X11 Shift modifier mask/flag. - * @see accelModMaskX() - */ - uint modXShift(); - - /** - * Returns the X11 Lock modifier mask/flag. - * @return the X11 Lock modifier mask/flag. - * @see accelModMaskX() - */ - uint modXLock(); - - /** - * Returns the X11 Ctrl modifier mask/flag. - * @return the X11 Ctrl modifier mask/flag. - * @see accelModMaskX() - */ - uint modXCtrl(); - - /** - * Returns the X11 Alt (Mod1) modifier mask/flag. - * @return the X11 Alt (Mod1) modifier mask/flag. - * @see accelModMaskX() - */ - uint modXAlt(); - - /** - * Returns the X11 NumLock modifier mask/flag. - * @return the X11 NumLock modifier mask/flag. - * @see accelModMaskX() - */ - uint modXNumLock(); - - /** - * Returns the X11 Win (Mod3) modifier mask/flag. - * @return the X11 Win (Mod3) modifier mask/flag. - * @see keyboardHasWinKey() - * @see accelModMaskX() - */ - uint modXWin(); - - /** - * Returns the X11 ScrollLock modifier mask/flag. - * @return the X11 ScrollLock modifier mask/flag. - * @see accelModMaskX() - */ - uint modXScrollLock(); - - /** - * Returns bitwise OR'ed mask containing Shift, Ctrl, Alt, and - * Win (if available). - * @see modXShift() - * @see modXLock() - * @see modXCtrl() - * @see modXAlt() - * @see modXNumLock() - * @see modXWin() - * @see modXScrollLock() - */ - uint accelModMaskX(); - - /** - * Extracts the symbol from the given Qt key and - * converts it to a symbol. - * @param keyQt the qt key code - * @param sym if successful, the symbol will be written here - * @return true if successful, false otherwise - * @see Qt::Key - * @see Sym - */ - bool keyQtToSym( int keyQt, uint& sym ); - - /** - * Extracts the modifiers from the given Qt key and - * converts them in a mask of ORed KKey::ModFlag modifiers. - * @param keyQt the qt key code - * @param mod if successful, the modifiers will be written here - * @return true if successful, false otherwise - * @see Qt::Key - */ - bool keyQtToMod( int keyQt, uint& mod ); - - /** - * Converts the given symbol to a Qt key code. - * @param sym the symbol - * @param keyQt if successful, the qt key code will be written here - * @return true if successful, false otherwise - * @see Qt::Key - * @see Sym - */ - bool symToKeyQt( uint sym, int& keyQt ); - - /** - * Converts the mask of ORed KKey::ModFlag modifiers to - * a mask of ORed Qt key code modifiers. - * @param mod the mask of KKey::ModFlag modifiers - * @param modQt the mask of Qt key code modifiers will be written here, - * if successful - * @return true if successful, false otherwise - * @see Qt::Key - * @see KKey - */ - bool modToModQt( uint mod, int& modQt ); - - /** - * Converts the mask of ORed KKey::ModFlag modifiers to - * a mask of ORed X11 modifiers. - * @param mod the mask of KKey::ModFlag modifiers - * @param modX the mask of X11 modifiers will be written here, - * if successful - * @return true if successful, false otherwise - * @see KKey - */ - bool modToModX( uint mod, uint& modX ); - - /** - * Converts the mask of ORed X11 modifiers to - * a mask of ORed Qt key code modifiers. - * @param modX the mask of X11 modifiers - * @param modQt the mask of Qt key code modifiers will be written here - * if successful - * @return true if successful, false otherwise - * @see Qt::Key - */ - bool modXToModQt( uint modX, int& modQt ); - - /** - * Converts the mask of ORed X11 modifiers to - * a mask of ORed KKey::ModFlag modifiers. - * @param modX the mask of X11 modifiers - * @param mod the mask of KKey::ModFlag modifiers will be written here, - * if successful - * @return true if successful, false otherwise - * @see KKey - */ - bool modXToMod( uint modX, uint& mod ); - - /** - * Converts a X11 key code and a mask of ORed X11 modifiers - * into a X11 symbol. - * converts it to a symbol. - * @param codeX the X11 key code - * @param modX the mask of ORed X11 modifiers - * @param symX if successful, the X11 symbol will be written here - * @return true if successful, false otherwise - * @see Qt::Key - * @see Sym - */ - bool codeXToSym( uchar codeX, uint modX, uint& symX ); - - /** - * @internal - */ - TQString modToStringInternal( uint mod ); - - /** - * Converts the mask of ORed KKey::ModFlag modifiers to a - * user-readable string. - * @param mod the mask of ORed KKey::ModFlag modifiers - * @return the user-readable string - */ - TQString modToStringUser( uint mod ); - - /** - * @internal - * Unimplemented? - */ - bool stringToSymMod( const TQString&, uint& sym, uint& mod ); - - /** - * @internal - * Unimplemented? - */ - void keyQtToKeyX( uint keyCombQt, unsigned char *pKeyCodeX, uint *pKeySymX, uint *pKeyModX ); -} - -#endif // !_KKEYSERVER_X11_H diff --git a/python/pykde/extra/kde322/konsole_part.h b/python/pykde/extra/kde322/konsole_part.h deleted file mode 100644 index 6aba7064..00000000 --- a/python/pykde/extra/kde322/konsole_part.h +++ /dev/null @@ -1,223 +0,0 @@ -/* - This file is part of the KDE system - Copyright (C) 1999,2000 Boloni Laszlo - - This program is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. - */ - -#ifndef __KONSOLE_PART_H__ -#define __KONSOLE_PART_H__ - -#include -#include - - -#include - -#include - -//#include "schema.h" -//#include "session.h" - -class KInstance; -class konsoleBrowserExtension; -class TQPushButton; -class TQSpinBox; -class KPopupMenu; -class TQCheckBox; -class KRootPixmap; -class KToggleAction; -class KSelectAction; - -namespace KParts { class GUIActivateEvent; } - -class konsoleFactory : public KParts::Factory -{ - Q_OBJECT -public: - konsoleFactory(); - virtual ~konsoleFactory(); - - virtual KParts::Part* createPartObject(TQWidget *parentWidget = 0, const char *widgetName = 0, - TQObject* parent = 0, const char* name = 0, - const char* classname = "KParts::Part", - const TQStringList &args = TQStringList()); - - static KInstance *instance(); - - private: - static KInstance *s_instance; - static KAboutData *s_aboutData; -}; - -////////////////////////////////////////////////////////////////////// - -class konsolePart: public KParts::ReadOnlyPart, public TerminalInterface -{ - Q_OBJECT - public: - konsolePart(TQWidget *parentWidget, const char *widgetName, TQObject * parent, const char *name, const char *classname = 0); - virtual ~konsolePart(); - -signals: - void processExited(); - void receivedData( const TQString& s ); - protected: - virtual bool openURL( const KURL & url ); - virtual bool openFile() {return false;} // never used - virtual bool closeURL() {return true;} - virtual void guiActivateEvent( KParts::GUIActivateEvent * event ); - - protected slots: - void showShell(); - void slotProcessExited(); - void slotReceivedData( const TQString& s ); - -// void doneSession(TESession*); - void sessionDestroyed(); -// void configureRequest(TEWidget*,int,int x,int y); - void updateTitle(); - void enableMasterModeConnections(); - - private slots: - void emitOpenURLRequest(const TQString &url); - - void readProperties(); - void saveProperties(); - - void sendSignal(int n); - void closeCurrentSession(); - - void notifySize(int,int); - - void slotToggleFrame(); - void slotSelectScrollbar(); - void slotSelectFont(); - void schema_menu_check(); - void keytab_menu_activated(int item); - void updateSchemaMenu(); - void setSchema(int n); - void pixmap_menu_activated(int item); - void schema_menu_activated(int item); - void slotHistoryType(); - void slotSelectBell(); - void slotSelectLineSpacing(); - void slotBlinkingCursor(); - void slotWordSeps(); - void fontNotFound(); - - private: - konsoleBrowserExtension *m_extension; - KURL currentURL; - - void makeGUI(); - void applySettingsToGUI(); - - void setFont(int fontno); -// void setSchema(ColorSchema* s); - void updateKeytabMenu(); - - bool doOpenStream( const TQString& ); - bool doWriteStream( const TQByteArray& ); - bool doCloseStream(); - - TQWidget* parentWidget; -// TEWidget* te; -// TESession* se; -// ColorSchemaList* colors; - KRootPixmap* rootxpm; - - KToggleAction* blinkingCursor; - KToggleAction* showFrame; - - KSelectAction* selectBell; - KSelectAction* selectFont; - KSelectAction* selectLineSpacing; - KSelectAction* selectScrollbar; - - KPopupMenu* m_keytab; - KPopupMenu* m_schema; - KPopupMenu* m_signals; - KPopupMenu* m_options; - KPopupMenu* m_popupMenu; - - TQFont defaultFont; - - TQString pmPath; // pixmap path - TQString s_schema; - TQString s_kconfigSchema; - TQString s_word_seps; // characters that are considered part of a word - TQString fontNotFound_par; - - bool b_framevis:1; - bool b_histEnabled:1; - - int curr_schema; // current schema no - int n_bell; - int n_font; - int n_keytab; - int n_render; - int n_scroll; - unsigned m_histSize; - bool m_runningShell; - bool m_streamEnabled; -public: - // these are the implementations for the TermEmuInterface - // functions... - void startProgram( const TQString& program, - const TQStrList& args ); - void showShellInDir( const TQString& dir ); - void sendInput( const TQString& text ); -}; - -////////////////////////////////////////////////////////////////////// - -/*class HistoryTypeDialog : public KDialogBase -{ - Q_OBJECT -public: - HistoryTypeDialog(const HistoryType& histType, - unsigned int histSize, - TQWidget *parent); - -public slots: - void slotDefault(); - void slotSetUnlimited(); - void slotHistEnable(bool); - - unsigned int nbLines() const; - bool isOn() const; - -protected: - TQCheckBox* m_btnEnable; - TQSpinBox* m_size; - TQPushButton* m_setUnlimited; -};*/ - -////////////////////////////////////////////////////////////////////// - -class konsoleBrowserExtension : public KParts::BrowserExtension -{ - Q_OBJECT - friend class konsolePart; - public: - konsoleBrowserExtension(konsolePart *parent); - virtual ~konsoleBrowserExtension(); - - void emitOpenURLRequest(const KURL &url); -}; - -#endif diff --git a/python/pykde/extra/kde322/kpanelmenu.h b/python/pykde/extra/kde322/kpanelmenu.h deleted file mode 100644 index 1803e808..00000000 --- a/python/pykde/extra/kde322/kpanelmenu.h +++ /dev/null @@ -1,181 +0,0 @@ -/***************************************************************** - -Copyright (c) 1996-2000 the kicker authors. See file AUTHORS. - (c) 2001 Michael Goffioul - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN -AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - -******************************************************************/ - -#ifndef __KPANELMENU_H__ -#define __KPANELMENU_H__ - -#include -#include -#include - -class KPanelMenuPrivate; - -/** - * Base class to build dynamically loaded menu entries for the K-menu, or the panel. - * - * This class allows to build menu entries that will be dynamically added either to - * the K-menu, or to the panel as a normal button. These dynamic menus are located - * in shared libraries that will be loaded at runtime by Kicker (the KDE panel). - * - * To build such a menu, you have to inherit this class and implement the pure virtual - * functions #initialize() and slotExec(). You also have to provide a factory - * object in your library, see KLibFactory. This factory is only used to construct - * the menu object. - * - * Finally, you also have to provide a desktop file describing your dynamic menu. The - * relevant entries are: Name, Comment, Icon and X-KDE-Library (which contains the - * library name without any extension). This desktop file has to be installed in - * $KDEDIR/share/apps/kicker/menuext/. - * - * @short Base class to build dynamically loaded menu entries for the K-menu, or the panel. - * @author The kicker maintainer, Michael Goffioul - */ -class KPanelMenu : public KPopupMenu -{ - Q_OBJECT - -public: - /** - * Construct a KPanelMenu object. This is the normal constructor to use when - * building extrernal menu entries. - */ - KPanelMenu(TQWidget *parent=0, const char *name=0); - /** - * Constructor used internally by Kicker. You don't really want to use it. - * @param startDir a directory to associate with this menu - * @see path(), setPath() - */ - KPanelMenu(const TQString &startDir, TQWidget *parent=0, const char *name=0); - /** - * Destructor. - */ - virtual ~KPanelMenu(); - - /** - * Get the directory path associated with this menu, or TQString::null if - * there's no such associated path. - * @return the associated directory path - * @see setPath() - */ - const TQString& path() const; - /** - * Set a directory path to be associated with this menu. - * @param p the directory path - * @see path() - */ - void setPath(const TQString &p); - /** - * Tell if the menu has been initialized, that is it already contains items. - * This is useful when you need to know if you have to clear the menu, or to - * fill it. - * @return the initial state - * @see setInitialized(), initialize() - */ - bool initialized() const; - /** - * Set the initial state. Set it to true when you menu is filled with the items - * you want. - * @param on the initial state - * @see initialized(), initialize() - */ - void setInitialized(bool on); - - /** - * Disable the automatic clearing of the menu. Kicker uses a cache system for - * its menus. After a specific configurable delay, the menu will be cleared. - * Use this function if you want to disable kicker's cache system, and avoid - * the clearing of your menu. - */ - void disableAutoClear(); - -public slots: - /** - * Reinitialize the menu: the menu is first cleared, the initial state is set - * to false, and finally #initialize() is called. Use this if you want to - * refill your menu immediately. - */ - void reinitialize(); - /** - * Deinitialize the menu: the menu is cleared and the initialized state is set to - * false. #initialize() is NOT called. It will be called before the menu is - * next shown, however. Use this slot if you want a delayed reinitialization. - * @since 3.1 - */ - void deinitialize(); - -protected slots: - /** - * This slot is called just before the menu is shown. This allows your menu - * to update itself if needed. However you should instead re-implement - * #initialize to provide this feature. This function is responsible for - * the cache system handling, so if you re-implement it, you should call - * the base function also. Calls #initialize(). - * @see disableAutoClear() - */ - virtual void slotAboutToShow(); - /** - * This is slot is called when an item from the menu has been selected. Your - * applet is then supposed to perform some action. You must re-implement this - * function. - * @param id the ID associated with the selected item - */ - virtual void slotExec(int id) = 0; - /** - * This slots is called to initialize the menu. It is called automatically by - * slotAboutToShow(). By re-implementing this functions, you can reconstruct - * the menu before it is being shown. At the end of this function, you should - * call setInitialize() with true to tell the system that the menu is OK. - * You applet must re-implement this function. - * @see slotAboutToShow(), initialized(), setInitialized() - */ - virtual void initialize() = 0; - /** - * Clears the menu, and update the initial state accordingly. - * @see initialized() - */ - void slotClear(); - -protected: - /** - * Re-implemented for internal reasons. - */ - virtual void hideEvent(TQHideEvent *ev); - /** - * For internal use only. Used by constructors. - */ - void init(const TQString& path = TQString::null); - -protected: - virtual void virtual_hook( int id, void* data ); -private: - void internalInitialize(); - KPanelMenuPrivate *d; -}; - -#define K_EXPORT_KICKER_MENUEXT( libname, classname ) \ - K_EXPORT_COMPONENT_FACTORY( \ - kickermenu_##libname, \ - KGenericFactory("libkickermenu_" #libname) ) - -#endif diff --git a/python/pykde/extra/kde322/krecentdirs.h b/python/pykde/extra/kde322/krecentdirs.h deleted file mode 100644 index 61a50706..00000000 --- a/python/pykde/extra/kde322/krecentdirs.h +++ /dev/null @@ -1,68 +0,0 @@ -/* -*- c++ -*- - * Copyright (C)2000 Waldo Bastian - * - * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * - * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND - * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE - * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS - * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) - * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT - * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY - * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF - * SUCH DAMAGE. - * - */ -#ifndef __KRECENTDIRS_H -#define __KRECENTDIRS_H - -#include - -/** - * The goal of this class is to make sure that, when the user needs to - * specify a file via the file selection dialog, this dialog will start - * in the directory most likely to contain the desired files. - * - * This works as follows: Each time the file selection dialog is - * shown, the programmer can specify a "file-class". The file-dialog will - * then start with the directory associated with this file-class. When - * the dialog closes, the directory currently shown in the file-dialog - * will be associated with the file-class. - * - * A file-class can either start with ':' or with '::'. If it starts with - * a single ':' the file-class is specific to the current application. - * If the file-class starts with '::' it is global to all applications. - */ -class KRecentDirs -{ -public: - /** - * Returns a list of directories associated with this file-class. - * The most recently used directory is at the front of the list. - */ - static TQStringList list(const TQString &fileClass); - - /** - * Returns the most recently used directory accociated with this file-class. - */ - static TQString dir(const TQString &fileClass); - - /** - * Associates @p directory with @p fileClass - */ - static void add(const TQString &fileClass, const TQString &directory); -}; - -#endif diff --git a/python/pykde/extra/kde322/ksharedptr.h b/python/pykde/extra/kde322/ksharedptr.h deleted file mode 100644 index e8dc8774..00000000 --- a/python/pykde/extra/kde322/ksharedptr.h +++ /dev/null @@ -1,171 +0,0 @@ -/* This file is part of the KDE libraries - Copyright (c) 1999 Waldo Bastian - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License version 2 as published by the Free Software Foundation. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. -*/ -#ifndef KSharedPTR_H -#define KSharedPTR_H - -/** - * Reference counting for shared objects. If you derive your object - * from this class, then you may use it in conjunction with - * KSharedPtr to control the lifetime of your object. - * - * Specifically, all classes that derive from KShared have an internal - * counter keeping track of how many other objects have a reference to - * their object. If used with KSharedPtr, then your object will - * not be deleted until all references to the object have been - * released. - * - * You should probably not ever use any of the methods in this class - * directly -- let the KSharedPtr take care of that. Just derive - * your class from KShared and forget about it. - * - * @author Waldo Bastian - * @version $Id: ksharedptr.h,v 1.22 2003/08/20 08:01:42 coolo Exp $ - */ -class KShared { -public: - /** - * Standard constructor. This will initialize the reference count - * on this object to 0. - */ - KShared() : count(0) { } - - /** - * Copy constructor. This will @em not actually copy the objects - * but it will initialize the reference count on this object to 0. - */ - KShared( const KShared & ) : count(0) { } - - /** - * Overloaded assignment operator. - */ - KShared &operator=(const KShared & ) { return *this; } - - /** - * Increases the reference count by one. - */ - void _KShared_ref() const { count++; } - - /** - * Releases a reference (decreases the reference count by one). If - * the count goes to 0, this object will delete itself. - */ - void _KShared_unref() const { if (!--count) delete this; } - - /** - * Return the current number of references held. - * - * @return Number of references - */ - int _KShared_count() const { return count; } - -protected: - virtual ~KShared() { } -private: - mutable int count; -}; - -/** - * Can be used to control the lifetime of an object that has derived - * KShared. As long a someone holds a KSharedPtr on some KShared - * object it won't become deleted but is deleted once its reference - * count is 0. This struct emulates C++ pointers perfectly. So just - * use it like a simple C++ pointer. - * - * KShared and KSharedPtr are preferred over QShared / QSharedPtr - * since they are more safe. - * - * @author Waldo Bastian - * @version $Id: ksharedptr.h,v 1.22 2003/08/20 08:01:42 coolo Exp $ - */ -template< class T > -struct KSharedPtr -{ -public: -/** - * Creates a null pointer. - */ - KSharedPtr() - : ptr(0) { } - /** - * Creates a new pointer. - * @param t the pointer - */ - KSharedPtr( T* t ) - : ptr(t) { if ( ptr ) ptr->_KShared_ref(); } - - /** - * Copies a pointer. - * @param p the pointer to copy - */ - KSharedPtr( const KSharedPtr& p ) - : ptr(p.ptr) { if ( ptr ) ptr->_KShared_ref(); } - - /** - * Unreferences the object that this pointer points to. If it was - * the last reference, the object will be deleted. - */ - ~KSharedPtr() { if ( ptr ) ptr->_KShared_unref(); } - - KSharedPtr& operator= ( const KSharedPtr& p ) { - if ( ptr == p.ptr ) return *this; - if ( ptr ) ptr->_KShared_unref(); - ptr = p.ptr; - if ( ptr ) ptr->_KShared_ref(); - return *this; - } - KSharedPtr& operator= ( T* p ) { - if ( ptr == p ) return *this; - if ( ptr ) ptr->_KShared_unref(); - ptr = p; - if ( ptr ) ptr->_KShared_ref(); - return *this; - } - bool operator== ( const KSharedPtr& p ) const { return ( ptr == p.ptr ); } - bool operator!= ( const KSharedPtr& p ) const { return ( ptr != p.ptr ); } - bool operator== ( const T* p ) const { return ( ptr == p ); } - bool operator!= ( const T* p ) const { return ( ptr != p ); } - bool operator!() const { return ( ptr == 0 ); } - operator T*() const { return ptr; } - - /** - * Returns the pointer. - * @return the pointer - */ - T* data() { return ptr; } - - /** - * Returns the pointer. - * @return the pointer - */ - const T* data() const { return ptr; } - - const T& operator*() const { return *ptr; } - T& operator*() { return *ptr; } - const T* operator->() const { return ptr; } - T* operator->() { return ptr; } - - /** - * Returns the number of references. - * @return the number of references - */ - int count() const { return ptr->_KShared_count(); } // for debugging purposes -private: - T* ptr; -}; - -#endif diff --git a/python/pykde/extra/kde322/ksycocafactory.h b/python/pykde/extra/kde322/ksycocafactory.h deleted file mode 100644 index 2a114ee0..00000000 --- a/python/pykde/extra/kde322/ksycocafactory.h +++ /dev/null @@ -1,143 +0,0 @@ -/* This file is part of the KDE libraries - * Copyright (C) 1999 Waldo Bastian - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License version 2 as published by the Free Software Foundation; - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public License - * along with this library; see the file COPYING.LIB. If not, write to - * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - * Boston, MA 02110-1301, USA. - **/ - -#ifndef __ksycocafactory_h__ -#define __ksycocafactory_h__ "$Id: ksycocafactory.h,v 1.14 2003/10/29 17:59:18 waba Exp $" - -#include "ksycocatype.h" -#include "ksycocaentry.h" - -#include -#include -class KSycoca; -class TQStringList; -class TQString; -class KSycocaDict; -class KSycocaResourceList; - -typedef TQDict KSycocaEntryDict; - -/** - * @internal - * Base class for sycoca factories - */ -class KSycocaFactory -{ -public: - virtual KSycocaFactoryId factoryId() const = 0; - -protected: // virtual class - /** - * Create a factory which can be used to lookup from/create a database - * (depending on KSycoca::isBuilding()) - */ - KSycocaFactory( KSycocaFactoryId factory_id ); - -public: - virtual ~KSycocaFactory(); - - /** - * @return the position of the factory in the sycoca file - */ - int offset() { return mOffset; } - - /** - * @return the dict, for special use by KBuildSycoca - */ - KSycocaEntryDict * entryDict() { return m_entryDict; } - - /** - * Construct an entry from a config file. - * To be implemented in the real factories. - */ - virtual KSycocaEntry *createEntry(const TQString &file, const char *resource) = 0; - - /** - * Add an entry - */ - virtual void addEntry(KSycocaEntry *newEntry, const char *resource); - - /** - * Remove an entry - * Not very fast, use with care. O(N) - */ - void removeEntry(KSycocaEntry *newEntry); - - /** - * Read an entry from the database - */ - virtual KSycocaEntry *createEntry(int offset)=0; - - /** - * Get a list of all entries from the database. - */ - KSycocaEntry::List allEntries(); - - /** - * Saves all entries it maintains as well as index files - * for these entries to the stream 'str'. - * - * Also sets mOffset to the starting position. - * - * The stream is positioned at the end of the last index. - * - * Don't forget to call the parent first when you override - * this function. - */ - virtual void save(TQDataStream &str); - - /** - * Writes out a header to the stream 'str'. - * The baseclass positions the stream correctly. - * - * Don't forget to call the parent first when you override - * this function. - */ - virtual void saveHeader(TQDataStream &str); - - /** - * @return the resources for which this factory is responsible. - */ - virtual const KSycocaResourceList * resourceList() const { return m_resourceList; } - -private: - int mOffset; - -protected: - int m_sycocaDictOffset; - int m_beginEntryOffset; - int m_endEntryOffset; - TQDataStream *m_str; - - KSycocaResourceList *m_resourceList; - KSycocaEntryDict *m_entryDict; - KSycocaDict *m_sycocaDict; -protected: - virtual void virtual_hook( int id, void* data ); -}; - -/** This, instead of a typedef, allows to declare "class ..." in header files - * @internal - */ -class KSycocaFactoryList : public TQPtrList -{ -public: - KSycocaFactoryList() { } -}; - -#endif diff --git a/python/pykde/extra/kde322/ktoolbarbutton.h b/python/pykde/extra/kde322/ktoolbarbutton.h deleted file mode 100644 index 5b7a85f9..00000000 --- a/python/pykde/extra/kde322/ktoolbarbutton.h +++ /dev/null @@ -1,315 +0,0 @@ -/* This file is part of the KDE libraries - Copyright (C) 1997, 1998 Stephan Kulow (coolo@kde.org) - (C) 1997, 1998 Sven Radej (radej@kde.org) - (C) 1997, 1998 Mark Donohoe (donohoe@kde.org) - (C) 1997, 1998 Matthias Ettrich (ettrich@kde.org) - (C) 2000 Kurt Granroth (granroth@kde.org) - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License version 2 as published by the Free Software Foundation. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. -*/ - -// $Id: ktoolbarbutton.h,v 1.34 2003/09/09 12:40:58 bhards Exp $ -#ifndef _KTOOLBARBUTTON_H -#define _KTOOLBARBUTTON_H - -#include -#include -#include -#include -#include - -class KToolBar; -class KToolBarButtonPrivate; -class KInstance; -class TQEvent; -class TQPopupMenu; -class TQPainter; - -/** - * A toolbar button. This is used internally by KToolBar, use the - * KToolBar methods instead. - * @internal - */ -class KToolBarButton : public QToolButton -{ - Q_OBJECT - -public: - /** - * Construct a button with an icon loaded by the button itself. - * This will trust the button to load the correct icon with the - * correct size. - * - * @param icon Name of icon to load (may be absolute or relative) - * @param id Id of this button - * @param parent This button's parent - * @param name This button's internal name - * @param txt This button's text (in a tooltip or otherwise) - */ - KToolBarButton(const TQString& icon, int id, TQWidget *parent, - const char *name=0L, const TQString &txt=TQString::null, - KInstance *_instance = KGlobal::instance()); - - /** - * Construct a button with an existing pixmap. It is not - * recommended that you use this as the internal icon loading code - * will almost always get it "right". - * - * @param pixmap Name of icon to load (may be absolute or relative) - * @param id Id of this button - * @param parent This button's parent - * @param name This button's internal name - * @param txt This button's text (in a tooltip or otherwise) - */ - KToolBarButton(const TQPixmap& pixmap, int id, TQWidget *parent, - const char *name=0L, const TQString &txt=TQString::null); - - /** - * Construct a separator button - * - * @param parent This button's parent - * @param name This button's internal name - */ - KToolBarButton(TQWidget *parent=0L, const char *name=0L); - - /** - * Standard destructor - */ - ~KToolBarButton(); - -#ifndef KDE_NO_COMPAT - /** - * @deprecated - * Set the pixmap directly for this button. This pixmap should be - * the active one... the dimmed and disabled pixmaps are constructed - * based on this one. However, don't use this function unless you - * are positive that you don't want to use setIcon. - * - * @param pixmap The active pixmap - */ - // this one is from TQButton, so #ifdef-ing it out doesn't break BC - virtual void setPixmap(const TQPixmap &pixmap) KDE_DEPRECATED; - - /** - * @deprecated - * Force the button to use this pixmap as the default one rather - * then generating it using effects. - * - * @param pixmap The pixmap to use as the default (normal) one - */ - void setDefaultPixmap(const TQPixmap& pixmap) KDE_DEPRECATED; - - /** - * @deprecated - * Force the button to use this pixmap when disabled one rather then - * generating it using effects. - * - * @param pixmap The pixmap to use when disabled - */ - void setDisabledPixmap(const TQPixmap& pixmap) KDE_DEPRECATED; -#endif - - /** - * Set the text for this button. The text will be either used as a - * tooltip (IconOnly) or will be along side the icon - * - * @param text The button (or tooltip) text - */ - virtual void setText(const TQString &text); - - /** - * Set the icon for this button. The icon will be loaded internally - * with the correct size. This function is preferred over setIconSet - * - * @param icon The name of the icon - */ - virtual void setIcon(const TQString &icon); - - /// @since 3.1 - virtual void setIcon( const TQPixmap &pixmap ) - { TQToolButton::setIcon( pixmap ); } - - /** - * Set the pixmaps for this toolbar button from a TQIconSet. - * If you call this you don't need to call any of the other methods - * that set icons or pixmaps. - * @param iconset The iconset to use - */ - virtual void setIconSet( const TQIconSet &iconset ); - -#ifndef KDE_NO_COMPAT - /** - * @deprecated - * Set the active icon for this button. The pixmap itself is loaded - * internally based on the icon size... .. the disabled and default - * pixmaps, however will only be constructed if generate is - * true. This function is preferred over setPixmap - * - * @param icon The name of the active icon - * @param generate If true, then the other icons are automagically - * generated from this one - */ - KDE_DEPRECATED void setIcon(const TQString &icon, bool generate ) { Q_UNUSED(generate); setIcon( icon ); } - - /** - * @deprecated - * Force the button to use this icon as the default one rather - * then generating it using effects. - * - * @param icon The icon to use as the default (normal) one - */ - void setDefaultIcon(const TQString& icon) KDE_DEPRECATED; - - /** - * @deprecated - * Force the button to use this icon when disabled one rather then - * generating it using effects. - * - * @param icon The icon to use when disabled - */ - void setDisabledIcon(const TQString& icon) KDE_DEPRECATED; -#endif - - /** - * Turn this button on or off - * - * @param flag true or false - */ - void on(bool flag = true); - - /** - * Toggle this button - */ - void toggle(); - - /** - * Turn this button into a toggle button or disable the toggle - * aspects of it. This does not toggle the button itself. - * Use toggle() for that. - * - * @param toggle true or false - */ - void setToggle(bool toggle = true); - - /** - * Return a pointer to this button's popup menu (if it exists) - */ - TQPopupMenu *popup(); - - /** - * Returns the button's id. - * @since 3.2 - */ - int id() const; - - /** - * Give this button a popup menu. There will not be a delay when - * you press the button. Use setDelayedPopup if you want that - * behavior. - * - * @param p The new popup menu - * @param unused Has no effect - ignore it. - */ - void setPopup (TQPopupMenu *p, bool unused = false); - - /** - * Gives this button a delayed popup menu. - * - * This function allows you to add a delayed popup menu to the button. - * The popup menu is then only displayed when the button is pressed and - * held down for about half a second. - * - * @param p the new popup menu - * @param unused Has no effect - ignore it. - */ - void setDelayedPopup(TQPopupMenu *p, bool unused = false); - - /** - * Turn this button into a radio button - * - * @param f true or false - */ - void setRadio(bool f = true); - - /** - * Toolbar buttons naturally will assume the global styles - * concerning icons, icons sizes, etc. You can use this function to - * explicitly turn this off, if you like. - * - * @param no_style Will disable styles if true - */ - void setNoStyle(bool no_style = true); - -signals: - void clicked(int); - void doubleClicked(int); - void pressed(int); - void released(int); - void toggled(int); - void highlighted(int, bool); - -public slots: - /** - * This slot should be called whenever the toolbar mode has - * potentially changed. This includes such events as text changing, - * orientation changing, etc. - */ - void modeChange(); - virtual void setTextLabel(const TQString&, bool tipToo); - -protected: - void paletteChange(const TQPalette &); - void leaveEvent(TQEvent *e); - void enterEvent(TQEvent *e); - void drawButton(TQPainter *p); - bool eventFilter (TQObject *o, TQEvent *e); - void showMenu(); - TQSize sizeHint() const; - TQSize minimumSizeHint() const; - TQSize minimumSize() const; - - /// @since 3.1 - bool isRaised() const; - /// @since 3.1 - bool isActive() const; - /// @since 3.1 - int iconTextMode() const; - -protected slots: - void slotClicked(); - void slotPressed(); - void slotReleased(); - void slotToggled(); - void slotDelayTimeout(); - -protected: - virtual void virtual_hook( int id, void* data ); -private: - KToolBarButtonPrivate *d; -}; - -/** -* List of KToolBarButton objects. -* @internal -* @version $Id: ktoolbarbutton.h,v 1.34 2003/09/09 12:40:58 bhards Exp $ -*/ -class KToolBarButtonList : public TQIntDict -{ -public: - KToolBarButtonList(); - ~KToolBarButtonList() {} -}; - -#endif diff --git a/python/pykde/extra/kde322/kurifilter.h b/python/pykde/extra/kde322/kurifilter.h deleted file mode 100644 index 834bff8a..00000000 --- a/python/pykde/extra/kde322/kurifilter.h +++ /dev/null @@ -1,644 +0,0 @@ -/* - * This file is part of the KDE libraries - * Copyright (C) 2000-2001,2003 Dawit Alemayehu - * - * Original author - * Copyright (C) 2000 Yves Arrouye - * - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public License - * along with this library; see the file COPYING.LIB. If not, write to - * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - * Boston, MA 02110-1301, USA. - **/ - -#ifndef __kurifilter_h__ -#define __kurifilter_h__ "$Id: kurifilter.h,v 1.41 2003/08/30 08:56:21 raabe Exp $" - -#include -#include -#include - -#include -#include - -class KURIFilterPrivate; -class KURIFilterDataPrivate; - -class KCModule; - -/** -* A basic message object used for exchanging filtering -* information between the filter plugins and the application -* requesting the filtering service. -* -* Use this object if you require a more detailed information -* about the URI you want to filter. Any application can create -* an instance of this class and send it to KURIFilter to -* have the plugins fill out all possible information about the -* URI. -* -* \b Example -* -* \code -* TQString text = "kde.org"; -* KURIFilterData d = text; -* bool filtered = KURIFilter::self()->filter( d ); -* cout << "URL: " << text.latin1() << endl -* << "Filtered URL: " << d.uri().url().latin1() << endl -* << "URI Type: " << d.uriType() << endl -* << "Was Filtered: " << filtered << endl; -* \endcode -* -* The above code should yield the following output: -* \code -* URI: kde.org -* Filtered URI: http://kde.org -* URI Type: 0 <== means NET_PROTOCOL -* Was Filtered: 1 <== means the URL was successfully filtered -* \endcode -* -* @short A message object for exchanging filtering URI info. -* @author Dawit Alemayehu -*/ - -class KURIFilterData -{ -friend class KURIFilterPlugin; - -public: - /** - * Describes the type of the URI that was filtered. - * Here is a brief description of the types: - * - * @li NET_PROTOCOL - Any network protocol: http, ftp, nttp, pop3, etc... - * @li LOCAL_FILE - A local file whose executable flag is not set - * @li LOCAL_DIR - A local directory - * @li EXECUTABLE - A local file whose executable flag is set - * @li HELP - A man or info page - * @li SHELL - A shell executable (ex: echo "Test..." >> ~/testfile) - * @li BLOCKED - A URI that should be blocked/filtered (ex: ad filtering) - * @li ERROR - An incorrect URI (ex: "~johndoe" when user johndoe - * does not exist in that system ) - * @li UNKNOWN - A URI that is not identified. Default value when - * a KURIFilterData is first created. - */ - enum URITypes { NET_PROTOCOL=0, LOCAL_FILE, LOCAL_DIR, EXECUTABLE, HELP, SHELL, BLOCKED, ERROR, UNKNOWN }; - - /** - * Default constructor. - * - * Creates a URIFilterData object. - */ - KURIFilterData() { init(); } - - /** - * Creates a URIFilterData object from the given URL. - * - * @param url is the URL to be filtered. - */ - KURIFilterData( const KURL& url ) { init( url); } - - /** - * Creates a URIFilterData object from the given string. - * - * @param url is the string to be filtered. - */ - KURIFilterData( const TQString& url ) { init( url ); } - - /** - * Copy constructor. - * - * Creates a URIFilterData object from another - * URI filter data object. - * - * @param data the uri filter data to be copied. - */ - KURIFilterData( const KURIFilterData& data); - - /** - * Destructor. - */ - ~KURIFilterData(); - - /** - * This method has been deprecated and will always return - * true. You should instead use the result from the - * KURIFilter::filterURI() calls. - * - * @deprecated - */ - KDE_DEPRECATED bool hasBeenFiltered() const { return true; } - - /** - * Returns the filtered or the original URL. - * - * This function returns the filtered url if one - * of the plugins successfully filtered the original - * URL. Otherwise, it returns the original URL. - * See hasBeenFiltered() and - * - * @return the filtered or original url. - */ - KURL uri() const { return m_pURI; } - - /** - * Returns an error message. - * - * This functions returns the error message set - * by the plugin whenever the uri type is set to - * KURIFilterData::ERROR. Otherwise, it returns - * a TQString::null. - * - * @return the error message or a NULL when there is none. - */ - TQString errorMsg() const { return m_strErrMsg; } - - /** - * Returns the URI type. - * - * This method always returns KURIFilterData::UNKNOWN - * if the given URL was not filtered. - * @return the type of the URI - */ - URITypes uriType() const { return m_iType; } - - /** - * Sets the URL to be filtered. - * - * Use this function to set the string to be - * filtered when you construct an empty filter - * object. - * - * @param url the string to be filtered. - */ - void setData( const TQString& url ) { init( url ); } - - /** - * Same as above except the argument is a URL. - * - * Use this function to set the string to be - * filtered when you construct an empty filter - * object. - * - * @param url the URL to be filtered. - */ - void setData( const KURL& url ) { init( url ); } - - /** - * Sets the absolute path to be used whenever the supplied - * data is a relative local URL. - * - * NOTE: This function should only be used for local resources, - * i.e. the "file:/" protocol. It is useful for specifying the - * absolute path in cases where the actual URL might be relative. - * meta object. If deriving the path from a KURL, make sure you - * set the argument for this function to the result of calling - * path () instead of url (). - * - * @param abs_path the abolute path to the local resource. - * @return true if absolute path is successfully set. Otherwise, false. - */ - bool setAbsolutePath( const TQString& abs_path ); - - /** - * Returns the absolute path if one has already been set. - * @return the absolute path, or TQString::null - * @see hasAbsolutePath() - */ - TQString absolutePath() const; - - /** - * Checks whether the supplied data had an absolute path. - * @return true if the supplied data has an absolute path - * @see absolutePath() - */ - bool hasAbsolutePath() const; - - /** - * Returns the command line options and arguments for a - * local resource when present. - * - * @return options and arguments when present, otherwise TQString::null - */ - TQString argsAndOptions() const; - - /** - * Checks whether the current data is a local resource with - * command line options and arguments. - * @return true if the current data has command line options and arguments - */ - bool hasArgsAndOptions() const; - - /** - * Returns the name of the icon that matches - * the current filtered URL. - * - * NOTE that this function will return a NULL - * string by default and when no associated icon - * is found. - * - * @return the name of the icon associated with the resource, - * or TQString::null if not found - */ - TQString iconName(); - - /** - * Check whether the provided uri is executable or not. - * - * Setting this to false ensures that typing the name of - * an executable does not start that application. This is - * useful in the location bar of a browser. The default - * value is true. - * - * @since 3.2 - */ - void setCheckForExecutables (bool check); - - /** - * @return true if the filters should attempt to check whether the - * supplied uri is an executable. False otherwise. - * - * @since 3.2 - */ - bool checkForExecutables() const { return m_bCheckForExecutables; } - - /** - * @return the string as typed by the user, before any URL processing is done - * @since 3.2 - */ - TQString typedString() const; - - /** - * Overloaded assigenment operator. - * - * This function allows you to easily assign a KURL - * to a KURIFilterData object. - * - * @return an instance of a KURIFilterData object. - */ - KURIFilterData& operator=( const KURL& url ) { init( url ); return *this; } - - /** - * Overloaded assigenment operator. - * - * This function allows you to easily assign a QString - * to a KURIFilterData object. - * - * @return an instance of a KURIFilterData object. - */ - KURIFilterData& operator=( const TQString& url ) { init( url ); return *this; } - -protected: - - /** - * Initializes the KURIFilterData on construction. - * @param url the URL to initialize the object with - */ - void init( const KURL& url); - - /** - * Initializes the KURIFilterData on construction. - * @param url the URL to initialize the object with - */ - void init( const TQString& url = TQString::null ); - -private: - bool m_bCheckForExecutables; - bool m_bChanged; - - TQString m_strErrMsg; - TQString m_strIconName; - - KURL m_pURI; - URITypes m_iType; - KURIFilterDataPrivate *d; -}; - - -/** - * Base class for URI filter plugins. - * - * This class applies a single filter to a URI. All plugins designed - * to provide URI filtering service should inherit from this abstract - * class and provide a concrete implementation. - * - * All inheriting classes need to implement the pure virtual function - * filterURI. - * - * @short Abstract class for URI filter plugins. - */ -class KURIFilterPlugin : public QObject -{ - Q_OBJECT - -public: - - /** - * Constructs a filter plugin with a given name and - * priority. - * - * @param parent the parent object, or 0 for no parent - * @param name the name of the plugin, or 0 for no name - * @param pri the priority of the plugin. - */ - KURIFilterPlugin( TQObject *parent = 0, const char *name = 0, double pri = 1.0 ); - - /** - * Returns the filter's name. - * - * @return A string naming the filter. - */ - virtual TQString name() const { return m_strName; } - - /** - * Returns the filter's priority. - * - * Each filter has an assigned priority, a float from 0 to 1. Filters - * with the lowest priority are first given a chance to filter a URI. - * - * @return The priority of the filter. - */ - virtual double priority() const { return m_dblPriority; } - - /** - * Filters a URI. - * - * @param data the URI data to be filtered. - * @return A boolean indicating whether the URI has been changed. - */ - virtual bool filterURI( KURIFilterData& data ) const = 0; - - /** - * Creates a configuration module for the filter. - * - * It is the responsibility of the caller to delete the module - * once it is not needed anymore. - * - * @return A configuration module, 0 if the filter isn't configurable. - */ - virtual KCModule *configModule( TQWidget*, const char* ) const { return 0; } - - /** - * Returns the name of the configuration module for the filter. - * - * @return the name of a configuration module or TQString::null if none. - */ - virtual TQString configName() const { return name(); } - -protected: - - /** - * Sets the the URL in @p data to @p uri. - */ - void setFilteredURI ( KURIFilterData& data, const KURL& uri ) const; - - /** - * Sets the error message in @p data to @p errormsg. - */ - void setErrorMsg ( KURIFilterData& data, const TQString& errmsg ) const { - data.m_strErrMsg = errmsg; - } - - /** - * Sets the URI type in @p data to @p type. - */ - void setURIType ( KURIFilterData& data, KURIFilterData::URITypes type) const { - data.m_iType = type; - data.m_bChanged = true; - } - - /** - * Sets the arguments and options string in @p data - * to @p args if any were found during filterting. - */ - void setArguments( KURIFilterData& data, const TQString& args ) const; - - TQString m_strName; - double m_dblPriority; - -protected: - virtual void virtual_hook( int id, void* data ); -private: - class KURIFilterPluginPrivate *d; -}; - - -/** - * A list of filter plugins. - */ -class KURIFilterPluginList : public TQPtrList -{ -public: - virtual int compareItems(Item a, Item b) - { - double diff = ((KURIFilterPlugin *) a)->priority() - ((KURIFilterPlugin *) b)->priority(); - return diff < 0 ? -1 : (diff > 0 ? 1 : 0); - } - -private: - KURIFilterPrivate *d; - -}; - -/** - * Manages the filtering of URIs. - * - * The intention of this plugin class is to allow people to extend the - * functionality of KURL without modifying it directly. This way KURL will - * remain a generic parser capable of parsing any generic URL that adheres - * to specifications. - * - * The KURIFilter class applies a number of filters to a URI and returns the - * filtered version whenever possible. The filters are implemented using - * plugins to provide easy extensibility of the filtering mechanism. New - * filters can be added in the future by simply inheriting from - * KURIFilterPlugin and implementing the KURIFilterPlugin::filterURI - * method. - * - * Use of this plugin-manager class is straight forward. Since it is a - * singleton object, all you have to do is obtain an instance by doing - * @p KURIFilter::self() and use any of the public member functions to - * preform the filtering. - * - * \b Example - * - * To simply filter a given string: - * - * \code - * bool filtered = KURIFilter::self()->filterURI( "kde.org" ); - * \endcode - * - * You can alternatively use a KURL: - * - * \code - * KURL url = "kde.org"; - * bool filtered = KURIFilter::self()->filterURI( url ); - * \endcode - * - * If you have a constant string or a constant URL, simply invoke the - * corresponding function to obtain the filtered string or URL instead - * of a boolean flag: - * - * \code - * TQString u = KURIFilter::self()->filteredURI( "kde.org" ); - * \endcode - * - * You can also restrict the filter(s) to be used by supplying - * the name of the filter(s) to use. By defualt all available - * filters will be used. To use specific filters, add the names - * of the filters you want to use to a TQStringList and invoke - * the appropriate filtering function. The examples below show - * the use of specific filters. The first one uses a single - * filter called kshorturifilter while the second example uses - * multiple filters: - * - * \code - * TQString text = "kde.org"; - * bool filtered = KURIFilter::self()->filterURI( text, "kshorturifilter" ); - * \endcode - * - * \code - * TQStringList list; - * list << "kshorturifilter" << "localdomainfilter"; - * bool filtered = KURIFilter::self()->filterURI( text, list ); - * \endcode - * - * KURIFilter also allows richer data exchange through a simple - * meta-object called @p KURIFilterData. Using this meta-object - * you can find out more information about the URL you want to - * filter. See KURIFilterData for examples and details. - * - * @short Filters a given URL into its proper format whenever possible. - */ - -class KURIFilter -{ -public: - /** - * Destructor - */ - ~KURIFilter (); - - /** - * Returns an instance of KURIFilter. - */ - static KURIFilter* self(); - - /** - * Filters the URI given by the object URIFilterData. - * - * The given URL is filtered based on the specified list of filters. - * If the list is empty all available filters would be used. - * - * @param data object that contains the URI to be filtered. - * @param filters specify the list of filters to be used. - * - * @return a boolean indicating whether the URI has been changed - */ - bool filterURI( KURIFilterData& data, const TQStringList& filters = TQStringList() ); - - /** - * Filters the URI given by the URL. - * - * The given URL is filtered based on the specified list of filters. - * If the list is empty all available filters would be used. - * - * @param uri the URI to filter. - * @param filters specify the list of filters to be used. - * - * @return a boolean indicating whether the URI has been changed - */ - bool filterURI( KURL &uri, const TQStringList& filters = TQStringList() ); - - /** - * Filters a string representing a URI. - * - * The given URL is filtered based on the specified list of filters. - * If the list is empty all available filters would be used. - * - * @param uri The URI to filter. - * @param filters specify the list of filters to be used. - * - * @return a boolean indicating whether the URI has been changed - */ - bool filterURI( TQString &uri, const TQStringList& filters = TQStringList() ); - - /** - * Returns the filtered URI. - * - * The given URL is filtered based on the specified list of filters. - * If the list is empty all available filters would be used. - * - * @param uri The URI to filter. - * @param filters specify the list of filters to be used. - * - * @return the filtered URI or null if it cannot be filtered - */ - KURL filteredURI( const KURL &uri, const TQStringList& filters = TQStringList() ); - - /** - * Return a filtered string representation of a URI. - * - * The given URL is filtered based on the specified list of filters. - * If the list is empty all available filters would be used. - * - * @param uri the URI to filter. - * @param filters specify the list of filters to be used. - * - * @return the filtered URI or null if it cannot be filtered - */ - TQString filteredURI( const TQString &uri, const TQStringList& filters = TQStringList() ); - - /** - * Return an iterator to iterate over all loaded - * plugins. - * - * @return a plugin iterator. - */ - TQPtrListIterator pluginsIterator() const; - - /** - * Return a list of the names of all loaded plugins. - * - * @return a TQStringList of plugin names - * @since 3.1 - */ - TQStringList pluginNames() const; - -protected: - - /** - * A protected constructor. - * - * This constructor creates a KURIFilter and - * initializes all plugins it can find by invoking - * loadPlugins. - */ - KURIFilter(); - - /** - * Loads all allowed plugins. - * - * This function loads all filters that have not - * been disbled. - */ - void loadPlugins(); - -private: - static KURIFilter *m_self; - KURIFilterPluginList m_lstPlugins; - KURIFilterPrivate *d; -}; - -#endif diff --git a/python/pykde/extra/kde322/selectdialog.h b/python/pykde/extra/kde322/selectdialog.h deleted file mode 100644 index 680d48ef..00000000 --- a/python/pykde/extra/kde322/selectdialog.h +++ /dev/null @@ -1,87 +0,0 @@ -/* - This file is part of libkresources. - - Copyright (c) 2002 Tobias Koenig - Copyright (c) 2002 Jan-Pascal van Best - Copyright (c) 2003 Cornelius Schumacher - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. -*/ - -#ifndef KRESOURCES_SELECTDIALOG_H -#define KRESOURCES_SELECTDIALOG_H - -#include -#include -#include - -#include - -class KListBox; - -namespace KRES { - -class Resource; - -/** - * Dialog for selecting a resource. - * - * Example: - * - * \code - * - * TQPtrList list = ... // can be retrived from KRES::Manager (e.g. KABC::AddressBook) - * - * KABC::Resource *res = KABC::SelectDialog::getResource( list, parentWdg ); - * if ( !res ) { - * // no resource selected - * } else { - * // do something with resource - * } - * \endcode - */ -class SelectDialog -{ - public: - /** - * Constructor. - * @param list The list of available resources - * @param parent The parent widget - * @param name The name of the dialog - */ - SelectDialog( TQPtrList list, TQWidget *parent = 0, - const char *name = 0); - - /** - * Returns selected resource. - */ - Resource *resource(); - - /** - * Opens a dialog showing the available resources and returns the resource the - * user has selected. Returns 0, if the dialog was canceled. - */ - static Resource *getResource( TQPtrList list, TQWidget *parent = 0 ); - - private: - KListBox *mResourceId; - - TQMap mResourceMap; -}; - -} - -#endif diff --git a/python/pykde/extra/kde323/configwidget.h b/python/pykde/extra/kde323/configwidget.h deleted file mode 100644 index e289743a..00000000 --- a/python/pykde/extra/kde323/configwidget.h +++ /dev/null @@ -1,58 +0,0 @@ -/* - This file is part of libkresources. - Copyright (c) 2002 Tobias Koenig - Copyright (c) 2002 Jan-Pascal van Best - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. -*/ - -#ifndef KRESOURCES_CONFIGWIDGET_H -#define KRESOURCES_CONFIGWIDGET_H - -#include "resource.h" - -#include - -#include - -namespace KRES { - -class ConfigWidget : public QWidget -{ - Q_OBJECT - public: - ConfigWidget( TQWidget *parent = 0, const char *name = 0 ); - - /** - Sets the widget to 'edit' mode. Reimplement this method if you are - interested in the mode change (to disable some GUI element for - example). By default the widget is in 'create new' mode. - */ - virtual void setInEditMode( bool value ); - - public slots: - virtual void loadSettings( Resource *resource ) = 0; - virtual void saveSettings( Resource *resource ) = 0; - - signals: - void setReadOnly( bool value ); - - protected: - Resource *mResource; -}; - -} -#endif diff --git a/python/pykde/extra/kde323/kaccelaction.h b/python/pykde/extra/kde323/kaccelaction.h deleted file mode 100644 index 0418297c..00000000 --- a/python/pykde/extra/kde323/kaccelaction.h +++ /dev/null @@ -1,564 +0,0 @@ -/* This file is part of the KDE libraries - Copyright (C) 2001,2002 Ellis Whitehead - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. -*/ - -#ifndef _KACCELACTION_H -#define _KACCELACTION_H - -#include -#include -#include -#include - -#include - -class KAccelBase; - -class TQObject; -class KConfig; -class KConfigBase; - -/** - * @internal - * A KAccelAction prepresents an action that can be executed using - * an accelerator key. Each KAccelAction has a name, a label, a - * "What's this" string and a KShortcut. The user can configure and - * enable/disable them using KKeyDialog. - * - * \code - * 1) KAccelAction = "Run Command" - * Default3 = "Alt+F2" - * Default4 = "Meta+Enter;Alt+F2" - * 1) KShortcut = "Meta+Enter" - * 1) KKeySequence = "Meta+Enter" - * 1) KKey = "Meta+Enter" - * 1) Meta+Enter - * 2) Meta+Keypad_Enter - * 2) KShortcut = "Alt+F2" - * 1) KKeySequence = "Alt+F2" - * 1) Alt+F2 - * 2) KAccelAction = "Something" - * Default3 = "" - * Default4 = "" - * 1) KShortcut = "Meta+X,Asterisk" - * 1) KKeySequence = "Meta+X,Asterisk" - * 1) KKey = "Meta+X" - * 1) Meta+X - * 2) KKey = "Asterisk" - * 1) Shift+8 (English layout) - * 2) Keypad_Asterisk - * \endcode - * @short An accelerator action - * @see KAccel - * @see KGlobalAccel - * @see KKeyChooser - * @see KKeyDialog - */ -class KAccelAction -{ - public: - /** - * Creates an empty KAccelAction. - * @see clear() - */ - KAccelAction(); - - /** - * Copy constructor. - */ - KAccelAction( const KAccelAction& ); - - /** - * Creates a new KAccelAction. - * @param sName the name of the accelerator - * @param sLabel the label of the accelerator (i18n!) - * @param sWhatsThis the What's This text (18n!) - * @param cutDef3 the default shortcut for 3 modifier systems - * @param cutDef4 the default shortcut for 4 modifier systems - * @param pObjSlot the receiver of a signal when the key has been - * pressed - * @param psMethodSlot the slot to connect for key presses. Receives - * an int, as set by setID(), as only argument - * @param bConfigurable if true the user can configure the shortcut - * @param bEnabled true if the accelerator should be enabled - */ - KAccelAction( const TQString& sName, const TQString& sLabel, const TQString& sWhatsThis, - const KShortcut& cutDef3, const KShortcut& cutDef4, - const TQObject* pObjSlot, const char* psMethodSlot, - bool bConfigurable, bool bEnabled ); - ~KAccelAction(); - - /** - * Clears the accelerator. - */ - void clear(); - - /** - * Re-initialized the KAccelAction. - * @param sName the name of the accelerator - * @param sLabel the label of the accelerator (i18n!) - * @param sWhatsThis the What's This text (18n!) - * @param cutDef3 the default shortcut for 3 modifier systems - * @param cutDef4 the default shortcut for 4 modifier systems - * @param pObjSlot the receiver of a signal when the key has been - * pressed - * @param psMethodSlot the slot to connect for key presses. Receives - * an int, as set by setID(), as only argument - * @param bConfigurable if true the user can configure the shortcut - * @param bEnabled true if the accelerator should be enabled - * @return true if successful, false otherwise - */ - bool init( const TQString& sName, const TQString& sLabel, const TQString& sWhatsThis, - const KShortcut& cutDef3, const KShortcut& cutDef4, - const TQObject* pObjSlot, const char* psMethodSlot, - bool bConfigurable, bool bEnabled ); - - /** - * Copies this KAccelAction. - */ - KAccelAction& operator=( const KAccelAction& ); - - /** - * Returns the name of the accelerator action. - * @return the name of the accelerator action, can be null if not - * set - */ - const TQString& name() const { return m_sName; } - - /** - * Returns the label of the accelerator action. - * @return the label of the accelerator action, can be null if - * not set - */ - const TQString& label() const { return m_sLabel; } - - /** - * Returns the What's This text of the accelerator action. - * @return the What's This text of the accelerator action, can be - * null if not set - */ - const TQString& whatsThis() const { return m_sWhatsThis; } - - /** - * The shortcut that is actually used (may be used configured). - * @return the shortcut of the KAccelAction, can be null if not set - * @see shortcutDefault() - */ - const KShortcut& shortcut() const { return m_cut; } - - /** - * The default shortcut for this system. - * @return the default shortcut on this system, can be null if not set - * @see shortcut() - * @see shortcutDefault3() - * @see shortcutDefault4() - */ - const KShortcut& shortcutDefault() const; - - /** - * The default shortcut for 3 modifier systems. - * @return the default shortcut for 3 modifier systems, can be null - * if not set - * @see shortcutDefault() - * @see shortcutDefault4() - * @see useFourModifierKeys() - */ - const KShortcut& shortcutDefault3() const { return m_cutDefault3; } - - /** - * The default shortcut for 4 modifier systems. - * @return the default shortcut for 4 modifier systems, can be null - * if not set - * @see shortcutDefault() - * @see shortcutDefault3() - * @see useFourModifierKeys() - */ - const KShortcut& shortcutDefault4() const { return m_cutDefault4; } - - /** - * Returns the receiver of signals. - * @return the receiver of signals (can be 0 if not set) - */ - const TQObject* objSlotPtr() const { return m_pObjSlot; } - - /** - * Returns the slot for the signal. - * @return the slot for the signal - */ - const char* methodSlotPtr() const { return m_psMethodSlot; } - - /** - * Checks whether the user can configure the action. - * @return true if configurable, false otherwise - */ - bool isConfigurable() const { return m_bConfigurable; } - - /** - * Checks whether the action is enabled. - * @return true if enabled, false otherwise - */ - bool isEnabled() const { return m_bEnabled; } - - /** - * Sets the name of the accelerator action. - * @param name the new name - */ - void setName( const TQString& name ); - - /** - * Sets the user-readable label of the accelerator action. - * @param label the new label (i18n!) - */ - void setLabel( const TQString& label ); - - /** - * Sets the What's This text for the accelerator action. - * @param whatsThis the new What's This text (i18n!) - */ - void setWhatsThis( const TQString& whatsThis ); - - /** - * Sets the new shortcut of the accelerator action. - * @param rgCuts the shortcut to set - * @return true if successful, false otherwise - */ - bool setShortcut( const KShortcut& rgCuts ); - - /** - * Sets the slot of the accelerator action. - * @param pObjSlot the receiver object of the signal - * @param psMethodSlot the slot for the signal - */ - void setSlot( const TQObject* pObjSlot, const char* psMethodSlot ); - - /** - * Enables or disabled configuring the action. - * @param configurable true to enable configurability, false to disable - */ - void setConfigurable( bool configurable ); - - /** - * Enables or disabled the action. - * @param configurable true to enable the action, false to disable - */ - void setEnabled( bool enable ); - - /** - * Retrieves the id set using setID. - * @return the id of the accelerator action - */ - int getID() const { return m_nIDAccel; } - - /** - * Allows you to set an id that will be used as the action - * signal's argument. - * - * @param n the new id - * @see getID() - */ - void setID( int n ) { m_nIDAccel = n; } - - /** - * Checkes whether the action is connected (emits signals). - * @return true if connected, false otherwise - */ - bool isConnected() const; - - /** - * Sets a key sequence of the action's shortcut. - * @param i the position of the sequence - * @param keySeq the new new sequence - * @return true if successful, false otherwise - * @see KShortcut::setSeq() - */ - bool setKeySequence( uint i, const KKeySequence &keySeq ); - - /** - * Clears the action's shortcut. It will not contain any sequences after - * calling this method. - * @see KShortcut::clear() - */ - void clearShortcut(); - - /** - * Checks whether the action's shortcut contains the given key sequence. - * @param keySeq the key sequence to check - * @return true if the shortcut contains the given sequence - * @see KShortcut::contains() - */ - bool contains( const KKeySequence &keySeq ); - - /** - * Returns the string representation of the action's shortcut. - * @return the string representation of the action's shortcut. - * @see KShortcut::toString() - */ - TQString toString() const; - - /** - * @internal - */ - TQString toStringInternal() const; - - /** - * Returns true if four modifier keys will be used. - * @return true if four modifier keys will be used. - */ - static bool useFourModifierKeys(); - - /** - * Selects 3 or 4 modifier default shortcuts. - * @param use true to use 4 modifier shortcuts, false to use - * 3 modifier shortcuts - */ - static void useFourModifierKeys( bool use ); - - protected: - TQString m_sName, - m_sLabel, - m_sWhatsThis; - KShortcut m_cut; - KShortcut m_cutDefault3, m_cutDefault4; - const TQObject* m_pObjSlot; - const char* m_psMethodSlot; - bool m_bConfigurable, - m_bEnabled; - int m_nIDAccel; - uint m_nConnections; - - void incConnections(); - void decConnections(); - - private: - static int g_bUseFourModifierKeys; - class KAccelActionPrivate* d; - - friend class KAccelActions; - friend class KAccelBase; -}; - -//--------------------------------------------------------------------- -// KAccelActions -//--------------------------------------------------------------------- - -/** - * @internal - * This class represents a collection of KAccelAction objects. - * - * @short A collection of accelerator actions - * @see KAccelAction - */ -class KAccelActions -{ - public: - /** - * Creates a new, empty KAccelActions object. - */ - KAccelActions(); - - /** - * Copy constructor (deep copy). - */ - KAccelActions( const KAccelActions& ); - virtual ~KAccelActions(); - - /** - * Removes all items from this collection. - */ - void clear(); - - /** - * Initializes this object with the given actions. - * It will make a deep copy of all actions. - * @param actions the actions to copy - * @return true if successful, false otherwise - */ - bool init( const KAccelActions &actions ); - - /** - * Loads the actions from the given configuration file. - * - * @param config the configuration file to load from - * @param sGroup the group in the configuration file - * @return true if successful, false otherwise - */ - bool init( KConfigBase& config, const TQString& sGroup ); - - /** - * Updates the shortcuts of all actions in this object - * with the shortcuts from the given object. - * @param shortcuts the collection that contains the new - * shortcuts - */ - void updateShortcuts( KAccelActions &shortcuts ); - - /** - * Retrieves the index of the action with the given name. - * @param sAction the action to search - * @return the index of the action, or -1 if not found - */ - int actionIndex( const TQString& sAction ) const; - - /** - * Returns the action with the given @p index. - * @param index the index of an action. You must not - * use an index that is too high. - * @return the KAccelAction with the given index - * @see count() - */ - KAccelAction* actionPtr( uint index ); - - /** - * Returns the action with the given @p index. - * @param index the index of an action. You must not - * use an index that is too high. - * @return the KAccelAction with the given index - * @see count() - */ - const KAccelAction* actionPtr( uint index ) const; - - /** - * Returns the action with the given name. - * @param aAction the name of the action to search - * @return the KAccelAction with the given name, or 0 - * if not found - */ - KAccelAction* actionPtr( const TQString& sAction ); - - /** - * Returns the action with the given name. - * @param aAction the name of the action to search - * @return the KAccelAction with the given name, or 0 - * if not found - */ - const KAccelAction* actionPtr( const TQString& sAction ) const; - - /** - * Returns the action with the given key sequence. - * @param cut the sequence to search for - * @return the KAccelAction with the given sequence, or 0 - * if not found - */ - KAccelAction* actionPtr( KKeySequence cut ); - - /** - * Returns the action with the given @p index. - * @param index the index of an action. You must not - * use an index that is too high. - * @return the KAccelAction with the given index - * @see actionPtr() - * @see count() - */ - KAccelAction& operator []( uint index ); - - /** - * Returns the action with the given @p index. - * @param index the index of an action. You must not - * use an index that is too high. - * @return the KAccelAction with the given index - * @see actionPtr() - * @see count() - */ - const KAccelAction& operator []( uint index ) const; - - /** - * Inserts an action into the collection. - * @param sName the name of the accelerator - * @param sLabel the label of the accelerator (i18n!) - * @param sWhatsThis the What's This text (18n!) - * @param cutDef3 the default shortcut for 3 modifier systems - * @param cutDef4 the default shortcut for 4 modifier systems - * @param pObjSlot the receiver of a signal when the key has been - * pressed - * @param psMethodSlot the slot to connect for key presses. Receives - * an int, as set by setID(), as only argument - * @param bConfigurable if true the user can configure the shortcut - * @param bEnabled true if the accelerator should be enabled - * @return the new action - */ - KAccelAction* insert( const TQString& sAction, const TQString& sLabel, const TQString& sWhatsThis, - const KShortcut& rgCutDefaults3, const KShortcut& rgCutDefaults4, - const TQObject* pObjSlot = 0, const char* psMethodSlot = 0, - bool bConfigurable = true, bool bEnabled = true ); - - /** - * Inserts an action into the collection. - * @param sName the name of the accelerator - * @param sLabel the label of the accelerator (i18n!) - * @return the new action - */ - KAccelAction* insert( const TQString& sName, const TQString& sLabel ); - - /** - * Removes the given action. - * @param sAction the name of the action. - * @return true if successful, false otherwise - */ - bool remove( const TQString& sAction ); - - /** - * Loads the actions from the given configuration file. - * - * @param sConfigGroup the group in the configuration file - * @param pConfig the configuration file to load from - * @return true if successful, false otherwise - */ - bool readActions( const TQString& sConfigGroup = "Shortcuts", KConfigBase* pConfig = 0 ); - - /** - * Writes the actions to the given configuration file. - * - * @param sConfigGroup the group in the configuration file - * @param pConfig the configuration file to save to - * @param bWriteAll true to write all actions - * @param bGlobal true to write to the global configuration file - * @return true if successful, false otherwise - */ - bool writeActions( const TQString& sConfigGroup = "Shortcuts", KConfigBase* pConfig = 0, - bool bWriteAll = false, bool bGlobal = false ) const; - - /** - * Emit a keycodeChanged signal. - */ - void emitKeycodeChanged(); - - /** - * Returns the number of actions in the collection. - * @return the number of actions - */ - uint count() const; - - protected: - KAccelBase* m_pKAccelBase; - KAccelAction** m_prgActions; - uint m_nSizeAllocated, m_nSize; - - void resize( uint ); - void insertPtr( KAccelAction* ); - - private: - class KAccelActionsPrivate* d; - - KAccelActions( KAccelBase* ); - void initPrivate( KAccelBase* ); - KAccelActions& operator =( KAccelActions& ); - - friend class KAccelBase; -}; - -#endif // _KACCELACTION_H diff --git a/python/pykde/extra/kde323/kaccelbase.h b/python/pykde/extra/kde323/kaccelbase.h deleted file mode 100644 index e2ec66e9..00000000 --- a/python/pykde/extra/kde323/kaccelbase.h +++ /dev/null @@ -1,230 +0,0 @@ -/* This file is part of the KDE libraries - Copyright (C) 2001 Ellis Whitehead - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. -*/ - -#ifndef _KACCELBASE_H -#define _KACCELBASE_H - -#include -#include -#include -#include -#include - -#include "kaccelaction.h" -#include "kkeyserver_x11.h" - -class TQPopupMenu; -class TQWidget; - -//---------------------------------------------------- - -/** - * @internal - * Handle keyboard accelerators. - * - * Allow an user to configure - * key bindings through application configuration files or through the - * KKeyChooser GUI. - * - * A KAccel contains a list of accelerator items. Each accelerator item - * consists of an action name and a keyboard code combined with modifiers - * (Shift, Ctrl and Alt.) - * - * For example, "Ctrl+P" could be a shortcut for printing a document. The key - * codes are listed in ckey.h. "Print" could be the action name for printing. - * The action name identifies the key binding in configuration files and the - * KKeyChooser GUI. - * - * When pressed, an accelerator key calls the slot to which it has been - * connected. Accelerator items can be connected so that a key will activate - * two different slots. - * - * A KAccel object handles key events sent to its parent widget and to all - * children of this parent widget. - * - * Key binding reconfiguration during run time can be prevented by specifying - * that an accelerator item is not configurable when it is inserted. A special - * group of non-configurable key bindings are known as the - * standard accelerators. - * - * The standard accelerators appear repeatedly in applications for - * standard document actions such as printing and saving. Convenience methods are - * available to insert and connect these accelerators which are configurable on - * a desktop-wide basis. - * - * It is possible for a user to choose to have no key associated with - * an action. - * - * The translated first argument for insertItem() is used only - * in the configuration dialog. - *\code - * KAccel *a = new KAccel( myWindow ); - * // Insert an action "Scroll Up" which is associated with the "Up" key: - * a->insertItem( i18n("Scroll Up"), "Scroll Up", "Up" ); - * // Insert an action "Scroll Down" which is not associated with any key: - * a->insertItem( i18n("Scroll Down"), "Scroll Down", 0); - * a->connectItem( "Scroll up", myWindow, TQT_SLOT( scrollUp() ) ); - * // a->insertStdItem( KStdAccel::Print ); //not necessary, since it - * // is done automatially with the - * // connect below! - * a->connectItem(KStdAccel::Print, myWindow, TQT_SLOT( printDoc() ) ); - * - * a->readSettings(); - *\endcode - * - * If a shortcut has a menu entry as well, you could insert them like - * this. The example is again the KStdAccel::Print from above. - * - * \code - * int id; - * id = popup->insertItem("&Print",this, TQT_SLOT(printDoc())); - * a->changeMenuAccel(popup, id, KStdAccel::Print ); - * \endcode - * - * If you want a somewhat "exotic" name for your standard print action, like - * id = popup->insertItem(i18n("Print &Document"),this, TQT_SLOT(printDoc())); - * it might be a good idea to insert the standard action before as - * a->insertStdItem( KStdAccel::Print, i18n("Print Document") ) - * as well, so that the user can easily find the corresponding function. - * - * This technique works for other actions as well. Your "scroll up" function - * in a menu could be done with - * - * \code - * id = popup->insertItem(i18n"Scroll &up",this, TQT_SLOT(scrollUp())); - * a->changeMenuAccel(popup, id, "Scroll Up" ); - * \endcode - * - * Please keep the order right: First insert all functions in the - * acceleratior, then call a -> readSettings() and @em then build your - * menu structure. - * - * @short Configurable key binding support. - * @version $Id: kaccelbase.h,v 1.26 2003/08/16 19:44:57 coolo Exp $ - */ - -class KAccelBase -{ - public: - enum Init { QT_KEYS = 0x00, NATIVE_KEYS = 0x01 }; - enum Signal { KEYCODE_CHANGED }; - - KAccelBase( int fInitCode ); - virtual ~KAccelBase(); - - uint actionCount() const; - KAccelActions& actions(); - bool isEnabled() const; - - KAccelAction* actionPtr( const TQString& sAction ); - const KAccelAction* actionPtr( const TQString& sAction ) const; - KAccelAction* actionPtr( const KKey& key ); - KAccelAction* actionPtr( const KKeyServer::Key& key ); - - const TQString& configGroup() const { return m_sConfigGroup; } - void setConfigGroup( const TQString& group ); - void setConfigGlobal( bool global ); - virtual void setEnabled( bool bEnabled ) = 0; - bool getAutoUpdate() { return m_bAutoUpdate; } - // return value of AutoUpdate flag before this call. - bool setAutoUpdate( bool bAuto ); - -// Procedures for manipulating Actions. - //void clearActions(); - - KAccelAction* insert( const TQString& sName, const TQString& sDesc ); - KAccelAction* insert( - const TQString& sAction, const TQString& sDesc, const TQString& sHelp, - const KShortcut& rgCutDefaults3, const KShortcut& rgCutDefaults4, - const TQObject* pObjSlot, const char* psMethodSlot, - bool bConfigurable = true, bool bEnabled = true ); - bool remove( const TQString& sAction ); - bool setActionSlot( const TQString& sAction, const TQObject* pObjSlot, const char* psMethodSlot ); - - bool updateConnections(); - - bool setShortcut( const TQString& sAction, const KShortcut& cut ); - -// Modify individual Action sub-items - bool setActionEnabled( const TQString& sAction, bool bEnable ); - - /** - * Read all key associations from @p config, or (if @p config - * is zero) from the application's configuration file - * KGlobal::config(). - * - * The group in which the configuration is stored can be - * set with setConfigGroup(). - */ - void readSettings( KConfigBase* pConfig = 0 ); - - /** - * Write the current configurable associations to @p config, - * or (if @p config is zero) to the application's - * configuration file. - */ - void writeSettings( KConfigBase* pConfig = 0 ) const; - - TQPopupMenu* createPopupMenu( TQWidget* pParent, const KKeySequence& ); - - // Protected methods - protected: - void slotRemoveAction( KAccelAction* ); - - struct X; - void createKeyList( TQValueVector& rgKeys ); - bool insertConnection( KAccelAction* ); - bool removeConnection( KAccelAction* ); - - virtual bool emitSignal( Signal ) = 0; - virtual bool connectKey( KAccelAction&, const KKeyServer::Key& ) = 0; - virtual bool connectKey( const KKeyServer::Key& ) = 0; - virtual bool disconnectKey( KAccelAction&, const KKeyServer::Key& ) = 0; - virtual bool disconnectKey( const KKeyServer::Key& ) = 0; - - protected: - struct ActionInfo - { - KAccelAction* pAction; - uint iSeq, iVariation; - //ActionInfo* pInfoNext; // nil if only one action uses this key. - - ActionInfo() { pAction = 0; iSeq = 0xffff; iVariation = 0xffff; } - ActionInfo( KAccelAction* _pAction, uint _iSeq, uint _iVariation ) - { pAction = _pAction; iSeq = _iSeq; iVariation = _iVariation; } - }; - typedef TQMap KKeyToActionMap; - - KAccelActions m_rgActions; - KKeyToActionMap m_mapKeyToAction; - TQValueList m_rgActionsNonUnique; - bool m_bNativeKeys; // Use native key codes instead of Qt codes - bool m_bEnabled; - bool m_bConfigIsGlobal; - TQString m_sConfigGroup; - bool m_bAutoUpdate; - KAccelAction* mtemp_pActionRemoving; - - private: - KAccelBase& operator =( const KAccelBase& ); - - friend class KAccelActions; -}; - -#endif // _KACCELBASE_H diff --git a/python/pykde/extra/kde323/kicontheme.h b/python/pykde/extra/kde323/kicontheme.h deleted file mode 100644 index 4c15c2d9..00000000 --- a/python/pykde/extra/kde323/kicontheme.h +++ /dev/null @@ -1,334 +0,0 @@ -/* vi: ts=8 sts=4 sw=4 - * - * $Id: kicontheme.h,v 1.29 2003/11/02 14:50:34 carewolf Exp $ - * - * This file is part of the KDE project, module kdecore. - * Copyright (C) 2000 Geert Jansen - * Antonio Larrosa - * - * This is free software; it comes under the GNU Library General - * Public License, version 2. See the file "COPYING.LIB" for the - * exact licensing terms. - * - */ - -#ifndef __KIconTheme_h_Included__ -#define __KIconTheme_h_Included__ - -#include -#include -#include - -class KConfig; -//class KIconThemeDir; - -class KIconThemePrivate; - -class KIconPrivate; - -/** - * One icon as found by KIconTheme. Also serves as a namespace containing - * icon related constants. - * @see KIconEffect - * @see KIconTheme - * @see KIconLoader - */ -class KIcon -{ -public: - KIcon() { size = 0; } - - /** - * Return true if this icon is valid, false otherwise. - */ - bool isValid() const { return size != 0; } - - /** - * Defines the context of the icon. - */ - enum Context { - Any, ///< Some icon with unknown purpose. - Action, ///< An action icon (e.g. 'save', 'print'). - Application, ///< An icon that represents an application. - Device, ///< An icon that represents a device. - FileSystem, ///< An icon that represents a file system. - MimeType ///< An icon that represents a mime type (or file type). - }; - - /** - * The type of the icon. - */ - enum Type { - Fixed, ///< Fixed-size icon. - Scalable, ///< Scalable-size icon. - Threshold ///< A threshold icon. - }; - - /** - * The type of a match. - */ - enum MatchType { - MatchExact, ///< Only try to find an exact match. - MatchBest ///< Take the best match if there is no exact match. - - }; - - // if you add a group here, make sure to change the config reading in - // KIconLoader too - /** - * The group an an icon. - */ - enum Group { NoGroup=-1, Desktop=0, FirstGroup=0, Toolbar, - MainToolbar, Small, Panel, LastGroup, User }; - - /** - * These are the standard sizes for icons. - */ - enum StdSizes { - /// small icons for menu entries - SizeSmall=16, - /// medium sized icons for the desktop - SizeMedium=32, - /// large sized icons for the panel - SizeLarge=48, - /// huge sized icons for iconviews - SizeHuge=64 - }; - - /** - * Defines the possible states of an icon. - */ - enum States { DefaultState, ///< The default state. - ActiveState, ///< Icon is active. - DisabledState, ///< Icon is disabled. - LastState ///< Last state (last constant) - }; - - /** - * This defines an overlay, a semi-transparent image that is - * projected onto the icon. They are used to show that the file - * represented by the icon is, for example, locked, zipped or hidden. - */ - enum Overlays { - LockOverlay=0x100, ///< a file is locked - ZipOverlay=0x200, ///< a file is zipped - LinkOverlay=0x400, ///< a fileis a link - HiddenOverlay=0x800, ///< a file is hidden - ShareOverlay=0x1000, ///< a file is shared - OverlayMask = ~0xff - }; - - /** - * The size in pixels of the icon. - */ - int size; - - /** - * The context of the icon. - */ - Context context; - - /** - * The type of the icon: Fixed, Scalable or Threshold. - **/ - Type type; - - /** - * The threshold in case type == Threshold - */ - int threshold; - - /** - * The full path of the icon. - */ - TQString path; - -private: - KIconPrivate *d; -}; - -inline KIcon::Group& operator++(KIcon::Group& group) { group = static_cast(group+1); return group; } -inline KIcon::Group operator++(KIcon::Group& group,int) { KIcon::Group ret = group; ++group; return ret; } - -/** - * Class to use/access icon themes in KDE. This class is used by the - * iconloader but can be used by others too. - * @see KIconLoader - */ -class KIconTheme -{ -public: - /** - * Load an icon theme by name. - * @param name the name of the theme (e.g. "hicolor" or "keramik") - * @param appName the name of the application. Can be null. This argument - * allows applications to have themed application icons. - */ - KIconTheme(const TQString& name, const TQString& appName=TQString::null); - ~KIconTheme(); - - /** - * The stylized name of the icon theme. - * @return the (human-readable) name of the theme - */ - TQString name() const { return mName; } - - /** - * A description for the icon theme. - * @return a human-readable description of the theme, TQString::null - * if there is none - */ - TQString description() const { return mDesc; } - - /** - * Return the name of the "example" icon. This can be used to - * present the theme to the user. - * @return the name of the example icon, TQString::null if there is none - */ - TQString example() const; - - /** - * Return the name of the screenshot. - * @return the name of the screenshot, TQString::null if there is none - */ - TQString screenshot() const; - - /** - * Returns the name of this theme's link overlay. - * @return the name of the link overlay - */ - TQString linkOverlay() const; - - /** - * Returns the name of this theme's zip overlay. - * @return the name of the zip overlay - */ - TQString zipOverlay() const; - - /** - * Returns the name of this theme's lock overlay. - * @return the name of the lock overlay - */ - TQString lockOverlay() const; - - /** - * Returns the name of this theme's share overlay. - * @return the name of the share overlay - * @since 3.1 - */ - TQString shareOverlay () const; - - /** - * Returns the toplevel theme directory. - * @return the directory of the theme - */ - TQString dir() const { return mDir; } - - /** - * The themes this icon theme falls back on. - * @return a list of icon themes that are used as fall-backs - */ - TQStringList inherits() const { return mInherits; } - - /** - * The icon theme exists? - * @return true if the icon theme is valid - */ - bool isValid() const; - - /** - * The icon theme should be hidden to the user? - * @return true if the icon theme is hidden - * @since 3.1 - */ - bool isHidden() const; - - /** - * The minimum display depth required for this theme. This can either - * be 8 or 32. - * @return the minimum bpp (8 or 32) - */ - int depth() const { return mDepth; } - - /** - * The default size of this theme for a certain icon group. - * @param group The icon group. See KIcon::Group. - * @return The default size in pixels for the given icon group. - */ - int defaultSize(KIcon::Group group) const; - - /** - * Query available sizes for a group. - * @param group The icon group. See KIcon::Group. - * @return a list of available sized for the given group - */ - TQValueList querySizes(KIcon::Group group) const; - - /** - * Query available icons for a size and context. - * @param size the size of the icons - * @param context the context of the icons - * @return the list of icon names - */ - TQStringList queryIcons(int size, KIcon::Context context = KIcon::Any) const; - - /** - * Query available icons for a context and preferred size. - * @param size the size of the icons - * @param context the context of the icons - * @return the list of icon names - */ - TQStringList queryIconsByContext(int size, KIcon::Context context = KIcon::Any) const; - - - /** - * Lookup an icon in the theme. - * @param name The name of the icon, without extension. - * @param size The desired size of the icon. - * @param match The matching mode. KIcon::MatchExact returns an icon - * only if matches exactly. KIcon::MatchBest returns the best matching - * icon. - * @return A KIcon class that describes the icon. If an icon is found, - * @see KIcon::isValid will return true, and false otherwise. - */ - KIcon iconPath(const TQString& name, int size, KIcon::MatchType match) const; - - /** - * List all icon themes installed on the system, global and local. - * @return the list of all icon themes - */ - static TQStringList list(); - - /** - * Returns the current icon theme. - * @return the name of the current theme - */ - static TQString current(); - - /** - * Reconfigure the theme. - */ - static void reconfigure(); - - /** - * Returns the default icon theme. - * @return the name of the default theme name - * @since 3.1 - */ - static TQString defaultThemeName(); - -private: - int mDefSize[8]; - TQValueList mSizes[8]; - - int mDepth; - TQString mDir, mName, mDesc; - TQStringList mInherits; -// TQPtrList mDirs; - KIconThemePrivate *d; - - static TQString *_theme; - static TQStringList *_theme_list; -}; - -#endif diff --git a/python/pykde/extra/kde323/kkeyserver_x11.h b/python/pykde/extra/kde323/kkeyserver_x11.h deleted file mode 100644 index 1271f506..00000000 --- a/python/pykde/extra/kde323/kkeyserver_x11.h +++ /dev/null @@ -1,433 +0,0 @@ -#ifndef _KKEYSERVER_X11_H -#define _KKEYSERVER_X11_H - -#include "kshortcut.h" -#include "kkeynative.h" - -/** - * A collection of functions for the conversion of key presses and - * their modifiers from the window system (X11) specific format - * to the generic format and vice-versa. - */ -namespace KKeyServer -{ - /** - * Supplement enum KKey::ModFlag - * @since 3.1 - */ - enum ExtraModFlag { MODE_SWITCH = 0x2000 }; - - /** - * Represents a key symbol. - * @see KKey - * @see KKeyServer - */ - struct Sym - { - public: - /// the actual value of the symbol - uint m_sym; - - /// Creates a null symbol. - Sym() - { m_sym = 0; } - /** - * Creates asymbol with the given value. - * @param sym the value - */ - Sym( uint sym ) - { m_sym = sym; } - /** - * Creates a symbol from the given string description. - * @param s the description of the symbol - * @see toString() - */ - Sym( const TQString& s ) - { init( s ); } - - /** - * Initializes the symbol with the given Qt key code. - * @param keyQt the qt key code - * @return true if successful, false otherwise - * @see Qt::Key - */ - bool initQt( int keyQt ); - - /** - * Initializes the key with the given string description. - * @param s the string description - * @return true if successful, false otherwise - * @see toString() - */ - bool init( const TQString &s ); - - /** - * Returns the qt key code of the symbol. - * @return the qt key code - */ - int qt() const; - - /** - * @internal - */ - TQString toStringInternal() const; - - /** - * Returns the string representation of the symbol. - * @return the string representation of the symbol - */ - TQString toString() const; - - /** - * Returns the mods that are required for this symbol as - * ORed KKey::ModFlag's. For example, Break requires a - * Ctrl to be valid. - * @return the required KKey::ModFlag's - * @see KKey::ModFlag - */ - uint getModsRequired() const; - - /** - * TODO: please find out what this method does and document it - */ - uint getSymVariation() const; - - /** - * Casts the symbol to its integer representation. - */ - operator uint() const { return m_sym; } - - /** - * Overloaded operator to convert ints to Sym. - */ - Sym& operator =( uint sym ) { m_sym = sym; return *this; } - - private: - TQString toString( bool bUserSpace ) const; - - static void capitalizeKeyname( TQString& ); - }; - - /** - * Represents a key press. - * @see KKey - */ - struct Key - { - /// Code for native Keys in Qt - enum { CODE_FOR_QT = 256 }; - - /// The code of the key - uint m_code; - - /// The modifiers of the key - uint m_mod; - - /// The symbol of the key - uint m_sym; - - /** - * Initializes the key with a KKey. - * @param key the key to get the data from - * @param bQt true to take the Qt keycode, false - * for the native key code - * @see Qt::Key - * @see KKeyNative - */ - bool init( const KKey& key, bool bQt ); - - /** - * Checks whether the key code is a native code. - * @return true if native code of the window system, - * false if it is a Qt keycode - * @see Qt::Key - * @see KKeyNative - */ - bool isNative() const { return m_code != CODE_FOR_QT; } - - /** - * Returns the code of the key. - * @return the code of the key - */ - uint code() const { return m_code; } - - /** - * Returns the modifiers of the key. - * @return the modifiers of the key - */ - uint mod() const { return m_mod; } - - /** - * Returns the symbol of the key. - * @return the symbol of the key - */ - uint sym() const { return m_sym; } - - /** - * Returns the qt key code. - * @return the qt key code - */ - int keyCodeQt() const { return (int) m_sym; } - - /** - * Sets the qt key code. - * @param keyQt the qt key code - */ - void setKeycodeQt( int keyQt ) - { m_code = CODE_FOR_QT; m_sym = keyQt; } - - /** - * Initializes this key with a KKeyNative. - * @return this key - */ - Key& operator =( const KKeyNative& key ); - - /** - * Compares this key with the given Key object. Returns a - * negative number if the given Key is larger, 0 if they - * are equal and a positive number this Key is larger. The - * returned value is the difference between the symbol, modifier - * or code, whatever is non-zero first. - * - * @param key the key to compare with this key - * @return a negative number if the given Key is larger, 0 if - * they are equal and a positive number this Key is larger - */ - int compare( const Key& key ) const; - - /** - * Compares the symbol, modifiers and code of both keys. - * @see compare() - */ - bool operator ==( const Key& b ) const - { return compare( b ) == 0; } - - /** - * Compares the symbol, modifiers and code of both keys. - * @see compare() - */ - bool operator <( const Key& b ) const - { return compare( b ) < 0; } - - /** - * Converts this Key to a KKey. - * @return the KKey - */ - KKey key() const; - }; - - /** - * TODO: please document this class - */ - struct Variations - { - enum { MAX_VARIATIONS = 4 }; - - Key m_rgkey[MAX_VARIATIONS]; - uint m_nVariations; - - Variations() { m_nVariations = 0; } - - void init( const KKey&, bool bQt ); - - uint count() const { return m_nVariations; } - const Key& key( uint i ) const { return m_rgkey[i]; } - }; - - /// TODO: please document - bool initializeMods(); - - /** - * Returns the equivalent X modifier mask of the given modifier flag. - * @param modFlag the generic flags to check - * @return the window system specific flags - */ - uint modX( KKey::ModFlag modFlag ); - - /** - * Returns true if the current keyboard layout supports the Win key. - * Specifically, whether the Super or Meta keys are assigned to an X modifier. - * @return true if the keyboard has a Win key - * @see modXWin() - */ - bool keyboardHasWinKey(); - - /** - * Returns the X11 Shift modifier mask/flag. - * @return the X11 Shift modifier mask/flag. - * @see accelModMaskX() - */ - uint modXShift(); - - /** - * Returns the X11 Lock modifier mask/flag. - * @return the X11 Lock modifier mask/flag. - * @see accelModMaskX() - */ - uint modXLock(); - - /** - * Returns the X11 Ctrl modifier mask/flag. - * @return the X11 Ctrl modifier mask/flag. - * @see accelModMaskX() - */ - uint modXCtrl(); - - /** - * Returns the X11 Alt (Mod1) modifier mask/flag. - * @return the X11 Alt (Mod1) modifier mask/flag. - * @see accelModMaskX() - */ - uint modXAlt(); - - /** - * Returns the X11 NumLock modifier mask/flag. - * @return the X11 NumLock modifier mask/flag. - * @see accelModMaskX() - */ - uint modXNumLock(); - - /** - * Returns the X11 Win (Mod3) modifier mask/flag. - * @return the X11 Win (Mod3) modifier mask/flag. - * @see keyboardHasWinKey() - * @see accelModMaskX() - */ - uint modXWin(); - - /** - * Returns the X11 ScrollLock modifier mask/flag. - * @return the X11 ScrollLock modifier mask/flag. - * @see accelModMaskX() - */ - uint modXScrollLock(); - - /** - * Returns bitwise OR'ed mask containing Shift, Ctrl, Alt, and - * Win (if available). - * @see modXShift() - * @see modXLock() - * @see modXCtrl() - * @see modXAlt() - * @see modXNumLock() - * @see modXWin() - * @see modXScrollLock() - */ - uint accelModMaskX(); - - /** - * Extracts the symbol from the given Qt key and - * converts it to a symbol. - * @param keyQt the qt key code - * @param sym if successful, the symbol will be written here - * @return true if successful, false otherwise - * @see Qt::Key - * @see Sym - */ - bool keyQtToSym( int keyQt, uint& sym ); - - /** - * Extracts the modifiers from the given Qt key and - * converts them in a mask of ORed KKey::ModFlag modifiers. - * @param keyQt the qt key code - * @param mod if successful, the modifiers will be written here - * @return true if successful, false otherwise - * @see Qt::Key - */ - bool keyQtToMod( int keyQt, uint& mod ); - - /** - * Converts the given symbol to a Qt key code. - * @param sym the symbol - * @param keyQt if successful, the qt key code will be written here - * @return true if successful, false otherwise - * @see Qt::Key - * @see Sym - */ - bool symToKeyQt( uint sym, int& keyQt ); - - /** - * Converts the mask of ORed KKey::ModFlag modifiers to - * a mask of ORed Qt key code modifiers. - * @param mod the mask of KKey::ModFlag modifiers - * @param modQt the mask of Qt key code modifiers will be written here, - * if successful - * @return true if successful, false otherwise - * @see Qt::Key - * @see KKey - */ - bool modToModQt( uint mod, int& modQt ); - - /** - * Converts the mask of ORed KKey::ModFlag modifiers to - * a mask of ORed X11 modifiers. - * @param mod the mask of KKey::ModFlag modifiers - * @param modX the mask of X11 modifiers will be written here, - * if successful - * @return true if successful, false otherwise - * @see KKey - */ - bool modToModX( uint mod, uint& modX ); - - /** - * Converts the mask of ORed X11 modifiers to - * a mask of ORed Qt key code modifiers. - * @param modX the mask of X11 modifiers - * @param modQt the mask of Qt key code modifiers will be written here - * if successful - * @return true if successful, false otherwise - * @see Qt::Key - */ - bool modXToModQt( uint modX, int& modQt ); - - /** - * Converts the mask of ORed X11 modifiers to - * a mask of ORed KKey::ModFlag modifiers. - * @param modX the mask of X11 modifiers - * @param mod the mask of KKey::ModFlag modifiers will be written here, - * if successful - * @return true if successful, false otherwise - * @see KKey - */ - bool modXToMod( uint modX, uint& mod ); - - /** - * Converts a X11 key code and a mask of ORed X11 modifiers - * into a X11 symbol. - * converts it to a symbol. - * @param codeX the X11 key code - * @param modX the mask of ORed X11 modifiers - * @param symX if successful, the X11 symbol will be written here - * @return true if successful, false otherwise - * @see Qt::Key - * @see Sym - */ - bool codeXToSym( uchar codeX, uint modX, uint& symX ); - - /** - * @internal - */ - TQString modToStringInternal( uint mod ); - - /** - * Converts the mask of ORed KKey::ModFlag modifiers to a - * user-readable string. - * @param mod the mask of ORed KKey::ModFlag modifiers - * @return the user-readable string - */ - TQString modToStringUser( uint mod ); - - /** - * @internal - * Unimplemented? - */ - bool stringToSymMod( const TQString&, uint& sym, uint& mod ); - - /** - * @internal - * Unimplemented? - */ - void keyQtToKeyX( uint keyCombQt, unsigned char *pKeyCodeX, uint *pKeySymX, uint *pKeyModX ); -} - -#endif // !_KKEYSERVER_X11_H diff --git a/python/pykde/extra/kde323/konsole_part.h b/python/pykde/extra/kde323/konsole_part.h deleted file mode 100644 index 6aba7064..00000000 --- a/python/pykde/extra/kde323/konsole_part.h +++ /dev/null @@ -1,223 +0,0 @@ -/* - This file is part of the KDE system - Copyright (C) 1999,2000 Boloni Laszlo - - This program is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. - */ - -#ifndef __KONSOLE_PART_H__ -#define __KONSOLE_PART_H__ - -#include -#include - - -#include - -#include - -//#include "schema.h" -//#include "session.h" - -class KInstance; -class konsoleBrowserExtension; -class TQPushButton; -class TQSpinBox; -class KPopupMenu; -class TQCheckBox; -class KRootPixmap; -class KToggleAction; -class KSelectAction; - -namespace KParts { class GUIActivateEvent; } - -class konsoleFactory : public KParts::Factory -{ - Q_OBJECT -public: - konsoleFactory(); - virtual ~konsoleFactory(); - - virtual KParts::Part* createPartObject(TQWidget *parentWidget = 0, const char *widgetName = 0, - TQObject* parent = 0, const char* name = 0, - const char* classname = "KParts::Part", - const TQStringList &args = TQStringList()); - - static KInstance *instance(); - - private: - static KInstance *s_instance; - static KAboutData *s_aboutData; -}; - -////////////////////////////////////////////////////////////////////// - -class konsolePart: public KParts::ReadOnlyPart, public TerminalInterface -{ - Q_OBJECT - public: - konsolePart(TQWidget *parentWidget, const char *widgetName, TQObject * parent, const char *name, const char *classname = 0); - virtual ~konsolePart(); - -signals: - void processExited(); - void receivedData( const TQString& s ); - protected: - virtual bool openURL( const KURL & url ); - virtual bool openFile() {return false;} // never used - virtual bool closeURL() {return true;} - virtual void guiActivateEvent( KParts::GUIActivateEvent * event ); - - protected slots: - void showShell(); - void slotProcessExited(); - void slotReceivedData( const TQString& s ); - -// void doneSession(TESession*); - void sessionDestroyed(); -// void configureRequest(TEWidget*,int,int x,int y); - void updateTitle(); - void enableMasterModeConnections(); - - private slots: - void emitOpenURLRequest(const TQString &url); - - void readProperties(); - void saveProperties(); - - void sendSignal(int n); - void closeCurrentSession(); - - void notifySize(int,int); - - void slotToggleFrame(); - void slotSelectScrollbar(); - void slotSelectFont(); - void schema_menu_check(); - void keytab_menu_activated(int item); - void updateSchemaMenu(); - void setSchema(int n); - void pixmap_menu_activated(int item); - void schema_menu_activated(int item); - void slotHistoryType(); - void slotSelectBell(); - void slotSelectLineSpacing(); - void slotBlinkingCursor(); - void slotWordSeps(); - void fontNotFound(); - - private: - konsoleBrowserExtension *m_extension; - KURL currentURL; - - void makeGUI(); - void applySettingsToGUI(); - - void setFont(int fontno); -// void setSchema(ColorSchema* s); - void updateKeytabMenu(); - - bool doOpenStream( const TQString& ); - bool doWriteStream( const TQByteArray& ); - bool doCloseStream(); - - TQWidget* parentWidget; -// TEWidget* te; -// TESession* se; -// ColorSchemaList* colors; - KRootPixmap* rootxpm; - - KToggleAction* blinkingCursor; - KToggleAction* showFrame; - - KSelectAction* selectBell; - KSelectAction* selectFont; - KSelectAction* selectLineSpacing; - KSelectAction* selectScrollbar; - - KPopupMenu* m_keytab; - KPopupMenu* m_schema; - KPopupMenu* m_signals; - KPopupMenu* m_options; - KPopupMenu* m_popupMenu; - - TQFont defaultFont; - - TQString pmPath; // pixmap path - TQString s_schema; - TQString s_kconfigSchema; - TQString s_word_seps; // characters that are considered part of a word - TQString fontNotFound_par; - - bool b_framevis:1; - bool b_histEnabled:1; - - int curr_schema; // current schema no - int n_bell; - int n_font; - int n_keytab; - int n_render; - int n_scroll; - unsigned m_histSize; - bool m_runningShell; - bool m_streamEnabled; -public: - // these are the implementations for the TermEmuInterface - // functions... - void startProgram( const TQString& program, - const TQStrList& args ); - void showShellInDir( const TQString& dir ); - void sendInput( const TQString& text ); -}; - -////////////////////////////////////////////////////////////////////// - -/*class HistoryTypeDialog : public KDialogBase -{ - Q_OBJECT -public: - HistoryTypeDialog(const HistoryType& histType, - unsigned int histSize, - TQWidget *parent); - -public slots: - void slotDefault(); - void slotSetUnlimited(); - void slotHistEnable(bool); - - unsigned int nbLines() const; - bool isOn() const; - -protected: - TQCheckBox* m_btnEnable; - TQSpinBox* m_size; - TQPushButton* m_setUnlimited; -};*/ - -////////////////////////////////////////////////////////////////////// - -class konsoleBrowserExtension : public KParts::BrowserExtension -{ - Q_OBJECT - friend class konsolePart; - public: - konsoleBrowserExtension(konsolePart *parent); - virtual ~konsoleBrowserExtension(); - - void emitOpenURLRequest(const KURL &url); -}; - -#endif diff --git a/python/pykde/extra/kde323/kpanelmenu.h b/python/pykde/extra/kde323/kpanelmenu.h deleted file mode 100644 index 1803e808..00000000 --- a/python/pykde/extra/kde323/kpanelmenu.h +++ /dev/null @@ -1,181 +0,0 @@ -/***************************************************************** - -Copyright (c) 1996-2000 the kicker authors. See file AUTHORS. - (c) 2001 Michael Goffioul - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN -AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - -******************************************************************/ - -#ifndef __KPANELMENU_H__ -#define __KPANELMENU_H__ - -#include -#include -#include - -class KPanelMenuPrivate; - -/** - * Base class to build dynamically loaded menu entries for the K-menu, or the panel. - * - * This class allows to build menu entries that will be dynamically added either to - * the K-menu, or to the panel as a normal button. These dynamic menus are located - * in shared libraries that will be loaded at runtime by Kicker (the KDE panel). - * - * To build such a menu, you have to inherit this class and implement the pure virtual - * functions #initialize() and slotExec(). You also have to provide a factory - * object in your library, see KLibFactory. This factory is only used to construct - * the menu object. - * - * Finally, you also have to provide a desktop file describing your dynamic menu. The - * relevant entries are: Name, Comment, Icon and X-KDE-Library (which contains the - * library name without any extension). This desktop file has to be installed in - * $KDEDIR/share/apps/kicker/menuext/. - * - * @short Base class to build dynamically loaded menu entries for the K-menu, or the panel. - * @author The kicker maintainer, Michael Goffioul - */ -class KPanelMenu : public KPopupMenu -{ - Q_OBJECT - -public: - /** - * Construct a KPanelMenu object. This is the normal constructor to use when - * building extrernal menu entries. - */ - KPanelMenu(TQWidget *parent=0, const char *name=0); - /** - * Constructor used internally by Kicker. You don't really want to use it. - * @param startDir a directory to associate with this menu - * @see path(), setPath() - */ - KPanelMenu(const TQString &startDir, TQWidget *parent=0, const char *name=0); - /** - * Destructor. - */ - virtual ~KPanelMenu(); - - /** - * Get the directory path associated with this menu, or TQString::null if - * there's no such associated path. - * @return the associated directory path - * @see setPath() - */ - const TQString& path() const; - /** - * Set a directory path to be associated with this menu. - * @param p the directory path - * @see path() - */ - void setPath(const TQString &p); - /** - * Tell if the menu has been initialized, that is it already contains items. - * This is useful when you need to know if you have to clear the menu, or to - * fill it. - * @return the initial state - * @see setInitialized(), initialize() - */ - bool initialized() const; - /** - * Set the initial state. Set it to true when you menu is filled with the items - * you want. - * @param on the initial state - * @see initialized(), initialize() - */ - void setInitialized(bool on); - - /** - * Disable the automatic clearing of the menu. Kicker uses a cache system for - * its menus. After a specific configurable delay, the menu will be cleared. - * Use this function if you want to disable kicker's cache system, and avoid - * the clearing of your menu. - */ - void disableAutoClear(); - -public slots: - /** - * Reinitialize the menu: the menu is first cleared, the initial state is set - * to false, and finally #initialize() is called. Use this if you want to - * refill your menu immediately. - */ - void reinitialize(); - /** - * Deinitialize the menu: the menu is cleared and the initialized state is set to - * false. #initialize() is NOT called. It will be called before the menu is - * next shown, however. Use this slot if you want a delayed reinitialization. - * @since 3.1 - */ - void deinitialize(); - -protected slots: - /** - * This slot is called just before the menu is shown. This allows your menu - * to update itself if needed. However you should instead re-implement - * #initialize to provide this feature. This function is responsible for - * the cache system handling, so if you re-implement it, you should call - * the base function also. Calls #initialize(). - * @see disableAutoClear() - */ - virtual void slotAboutToShow(); - /** - * This is slot is called when an item from the menu has been selected. Your - * applet is then supposed to perform some action. You must re-implement this - * function. - * @param id the ID associated with the selected item - */ - virtual void slotExec(int id) = 0; - /** - * This slots is called to initialize the menu. It is called automatically by - * slotAboutToShow(). By re-implementing this functions, you can reconstruct - * the menu before it is being shown. At the end of this function, you should - * call setInitialize() with true to tell the system that the menu is OK. - * You applet must re-implement this function. - * @see slotAboutToShow(), initialized(), setInitialized() - */ - virtual void initialize() = 0; - /** - * Clears the menu, and update the initial state accordingly. - * @see initialized() - */ - void slotClear(); - -protected: - /** - * Re-implemented for internal reasons. - */ - virtual void hideEvent(TQHideEvent *ev); - /** - * For internal use only. Used by constructors. - */ - void init(const TQString& path = TQString::null); - -protected: - virtual void virtual_hook( int id, void* data ); -private: - void internalInitialize(); - KPanelMenuPrivate *d; -}; - -#define K_EXPORT_KICKER_MENUEXT( libname, classname ) \ - K_EXPORT_COMPONENT_FACTORY( \ - kickermenu_##libname, \ - KGenericFactory("libkickermenu_" #libname) ) - -#endif diff --git a/python/pykde/extra/kde323/krecentdirs.h b/python/pykde/extra/kde323/krecentdirs.h deleted file mode 100644 index 61a50706..00000000 --- a/python/pykde/extra/kde323/krecentdirs.h +++ /dev/null @@ -1,68 +0,0 @@ -/* -*- c++ -*- - * Copyright (C)2000 Waldo Bastian - * - * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * - * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND - * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE - * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS - * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) - * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT - * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY - * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF - * SUCH DAMAGE. - * - */ -#ifndef __KRECENTDIRS_H -#define __KRECENTDIRS_H - -#include - -/** - * The goal of this class is to make sure that, when the user needs to - * specify a file via the file selection dialog, this dialog will start - * in the directory most likely to contain the desired files. - * - * This works as follows: Each time the file selection dialog is - * shown, the programmer can specify a "file-class". The file-dialog will - * then start with the directory associated with this file-class. When - * the dialog closes, the directory currently shown in the file-dialog - * will be associated with the file-class. - * - * A file-class can either start with ':' or with '::'. If it starts with - * a single ':' the file-class is specific to the current application. - * If the file-class starts with '::' it is global to all applications. - */ -class KRecentDirs -{ -public: - /** - * Returns a list of directories associated with this file-class. - * The most recently used directory is at the front of the list. - */ - static TQStringList list(const TQString &fileClass); - - /** - * Returns the most recently used directory accociated with this file-class. - */ - static TQString dir(const TQString &fileClass); - - /** - * Associates @p directory with @p fileClass - */ - static void add(const TQString &fileClass, const TQString &directory); -}; - -#endif diff --git a/python/pykde/extra/kde323/ksharedptr.h b/python/pykde/extra/kde323/ksharedptr.h deleted file mode 100644 index e8dc8774..00000000 --- a/python/pykde/extra/kde323/ksharedptr.h +++ /dev/null @@ -1,171 +0,0 @@ -/* This file is part of the KDE libraries - Copyright (c) 1999 Waldo Bastian - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License version 2 as published by the Free Software Foundation. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. -*/ -#ifndef KSharedPTR_H -#define KSharedPTR_H - -/** - * Reference counting for shared objects. If you derive your object - * from this class, then you may use it in conjunction with - * KSharedPtr to control the lifetime of your object. - * - * Specifically, all classes that derive from KShared have an internal - * counter keeping track of how many other objects have a reference to - * their object. If used with KSharedPtr, then your object will - * not be deleted until all references to the object have been - * released. - * - * You should probably not ever use any of the methods in this class - * directly -- let the KSharedPtr take care of that. Just derive - * your class from KShared and forget about it. - * - * @author Waldo Bastian - * @version $Id: ksharedptr.h,v 1.22 2003/08/20 08:01:42 coolo Exp $ - */ -class KShared { -public: - /** - * Standard constructor. This will initialize the reference count - * on this object to 0. - */ - KShared() : count(0) { } - - /** - * Copy constructor. This will @em not actually copy the objects - * but it will initialize the reference count on this object to 0. - */ - KShared( const KShared & ) : count(0) { } - - /** - * Overloaded assignment operator. - */ - KShared &operator=(const KShared & ) { return *this; } - - /** - * Increases the reference count by one. - */ - void _KShared_ref() const { count++; } - - /** - * Releases a reference (decreases the reference count by one). If - * the count goes to 0, this object will delete itself. - */ - void _KShared_unref() const { if (!--count) delete this; } - - /** - * Return the current number of references held. - * - * @return Number of references - */ - int _KShared_count() const { return count; } - -protected: - virtual ~KShared() { } -private: - mutable int count; -}; - -/** - * Can be used to control the lifetime of an object that has derived - * KShared. As long a someone holds a KSharedPtr on some KShared - * object it won't become deleted but is deleted once its reference - * count is 0. This struct emulates C++ pointers perfectly. So just - * use it like a simple C++ pointer. - * - * KShared and KSharedPtr are preferred over QShared / QSharedPtr - * since they are more safe. - * - * @author Waldo Bastian - * @version $Id: ksharedptr.h,v 1.22 2003/08/20 08:01:42 coolo Exp $ - */ -template< class T > -struct KSharedPtr -{ -public: -/** - * Creates a null pointer. - */ - KSharedPtr() - : ptr(0) { } - /** - * Creates a new pointer. - * @param t the pointer - */ - KSharedPtr( T* t ) - : ptr(t) { if ( ptr ) ptr->_KShared_ref(); } - - /** - * Copies a pointer. - * @param p the pointer to copy - */ - KSharedPtr( const KSharedPtr& p ) - : ptr(p.ptr) { if ( ptr ) ptr->_KShared_ref(); } - - /** - * Unreferences the object that this pointer points to. If it was - * the last reference, the object will be deleted. - */ - ~KSharedPtr() { if ( ptr ) ptr->_KShared_unref(); } - - KSharedPtr& operator= ( const KSharedPtr& p ) { - if ( ptr == p.ptr ) return *this; - if ( ptr ) ptr->_KShared_unref(); - ptr = p.ptr; - if ( ptr ) ptr->_KShared_ref(); - return *this; - } - KSharedPtr& operator= ( T* p ) { - if ( ptr == p ) return *this; - if ( ptr ) ptr->_KShared_unref(); - ptr = p; - if ( ptr ) ptr->_KShared_ref(); - return *this; - } - bool operator== ( const KSharedPtr& p ) const { return ( ptr == p.ptr ); } - bool operator!= ( const KSharedPtr& p ) const { return ( ptr != p.ptr ); } - bool operator== ( const T* p ) const { return ( ptr == p ); } - bool operator!= ( const T* p ) const { return ( ptr != p ); } - bool operator!() const { return ( ptr == 0 ); } - operator T*() const { return ptr; } - - /** - * Returns the pointer. - * @return the pointer - */ - T* data() { return ptr; } - - /** - * Returns the pointer. - * @return the pointer - */ - const T* data() const { return ptr; } - - const T& operator*() const { return *ptr; } - T& operator*() { return *ptr; } - const T* operator->() const { return ptr; } - T* operator->() { return ptr; } - - /** - * Returns the number of references. - * @return the number of references - */ - int count() const { return ptr->_KShared_count(); } // for debugging purposes -private: - T* ptr; -}; - -#endif diff --git a/python/pykde/extra/kde323/ksycocafactory.h b/python/pykde/extra/kde323/ksycocafactory.h deleted file mode 100644 index 2a114ee0..00000000 --- a/python/pykde/extra/kde323/ksycocafactory.h +++ /dev/null @@ -1,143 +0,0 @@ -/* This file is part of the KDE libraries - * Copyright (C) 1999 Waldo Bastian - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License version 2 as published by the Free Software Foundation; - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public License - * along with this library; see the file COPYING.LIB. If not, write to - * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - * Boston, MA 02110-1301, USA. - **/ - -#ifndef __ksycocafactory_h__ -#define __ksycocafactory_h__ "$Id: ksycocafactory.h,v 1.14 2003/10/29 17:59:18 waba Exp $" - -#include "ksycocatype.h" -#include "ksycocaentry.h" - -#include -#include -class KSycoca; -class TQStringList; -class TQString; -class KSycocaDict; -class KSycocaResourceList; - -typedef TQDict KSycocaEntryDict; - -/** - * @internal - * Base class for sycoca factories - */ -class KSycocaFactory -{ -public: - virtual KSycocaFactoryId factoryId() const = 0; - -protected: // virtual class - /** - * Create a factory which can be used to lookup from/create a database - * (depending on KSycoca::isBuilding()) - */ - KSycocaFactory( KSycocaFactoryId factory_id ); - -public: - virtual ~KSycocaFactory(); - - /** - * @return the position of the factory in the sycoca file - */ - int offset() { return mOffset; } - - /** - * @return the dict, for special use by KBuildSycoca - */ - KSycocaEntryDict * entryDict() { return m_entryDict; } - - /** - * Construct an entry from a config file. - * To be implemented in the real factories. - */ - virtual KSycocaEntry *createEntry(const TQString &file, const char *resource) = 0; - - /** - * Add an entry - */ - virtual void addEntry(KSycocaEntry *newEntry, const char *resource); - - /** - * Remove an entry - * Not very fast, use with care. O(N) - */ - void removeEntry(KSycocaEntry *newEntry); - - /** - * Read an entry from the database - */ - virtual KSycocaEntry *createEntry(int offset)=0; - - /** - * Get a list of all entries from the database. - */ - KSycocaEntry::List allEntries(); - - /** - * Saves all entries it maintains as well as index files - * for these entries to the stream 'str'. - * - * Also sets mOffset to the starting position. - * - * The stream is positioned at the end of the last index. - * - * Don't forget to call the parent first when you override - * this function. - */ - virtual void save(TQDataStream &str); - - /** - * Writes out a header to the stream 'str'. - * The baseclass positions the stream correctly. - * - * Don't forget to call the parent first when you override - * this function. - */ - virtual void saveHeader(TQDataStream &str); - - /** - * @return the resources for which this factory is responsible. - */ - virtual const KSycocaResourceList * resourceList() const { return m_resourceList; } - -private: - int mOffset; - -protected: - int m_sycocaDictOffset; - int m_beginEntryOffset; - int m_endEntryOffset; - TQDataStream *m_str; - - KSycocaResourceList *m_resourceList; - KSycocaEntryDict *m_entryDict; - KSycocaDict *m_sycocaDict; -protected: - virtual void virtual_hook( int id, void* data ); -}; - -/** This, instead of a typedef, allows to declare "class ..." in header files - * @internal - */ -class KSycocaFactoryList : public TQPtrList -{ -public: - KSycocaFactoryList() { } -}; - -#endif diff --git a/python/pykde/extra/kde323/ktoolbarbutton.h b/python/pykde/extra/kde323/ktoolbarbutton.h deleted file mode 100644 index 5b7a85f9..00000000 --- a/python/pykde/extra/kde323/ktoolbarbutton.h +++ /dev/null @@ -1,315 +0,0 @@ -/* This file is part of the KDE libraries - Copyright (C) 1997, 1998 Stephan Kulow (coolo@kde.org) - (C) 1997, 1998 Sven Radej (radej@kde.org) - (C) 1997, 1998 Mark Donohoe (donohoe@kde.org) - (C) 1997, 1998 Matthias Ettrich (ettrich@kde.org) - (C) 2000 Kurt Granroth (granroth@kde.org) - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License version 2 as published by the Free Software Foundation. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. -*/ - -// $Id: ktoolbarbutton.h,v 1.34 2003/09/09 12:40:58 bhards Exp $ -#ifndef _KTOOLBARBUTTON_H -#define _KTOOLBARBUTTON_H - -#include -#include -#include -#include -#include - -class KToolBar; -class KToolBarButtonPrivate; -class KInstance; -class TQEvent; -class TQPopupMenu; -class TQPainter; - -/** - * A toolbar button. This is used internally by KToolBar, use the - * KToolBar methods instead. - * @internal - */ -class KToolBarButton : public QToolButton -{ - Q_OBJECT - -public: - /** - * Construct a button with an icon loaded by the button itself. - * This will trust the button to load the correct icon with the - * correct size. - * - * @param icon Name of icon to load (may be absolute or relative) - * @param id Id of this button - * @param parent This button's parent - * @param name This button's internal name - * @param txt This button's text (in a tooltip or otherwise) - */ - KToolBarButton(const TQString& icon, int id, TQWidget *parent, - const char *name=0L, const TQString &txt=TQString::null, - KInstance *_instance = KGlobal::instance()); - - /** - * Construct a button with an existing pixmap. It is not - * recommended that you use this as the internal icon loading code - * will almost always get it "right". - * - * @param pixmap Name of icon to load (may be absolute or relative) - * @param id Id of this button - * @param parent This button's parent - * @param name This button's internal name - * @param txt This button's text (in a tooltip or otherwise) - */ - KToolBarButton(const TQPixmap& pixmap, int id, TQWidget *parent, - const char *name=0L, const TQString &txt=TQString::null); - - /** - * Construct a separator button - * - * @param parent This button's parent - * @param name This button's internal name - */ - KToolBarButton(TQWidget *parent=0L, const char *name=0L); - - /** - * Standard destructor - */ - ~KToolBarButton(); - -#ifndef KDE_NO_COMPAT - /** - * @deprecated - * Set the pixmap directly for this button. This pixmap should be - * the active one... the dimmed and disabled pixmaps are constructed - * based on this one. However, don't use this function unless you - * are positive that you don't want to use setIcon. - * - * @param pixmap The active pixmap - */ - // this one is from TQButton, so #ifdef-ing it out doesn't break BC - virtual void setPixmap(const TQPixmap &pixmap) KDE_DEPRECATED; - - /** - * @deprecated - * Force the button to use this pixmap as the default one rather - * then generating it using effects. - * - * @param pixmap The pixmap to use as the default (normal) one - */ - void setDefaultPixmap(const TQPixmap& pixmap) KDE_DEPRECATED; - - /** - * @deprecated - * Force the button to use this pixmap when disabled one rather then - * generating it using effects. - * - * @param pixmap The pixmap to use when disabled - */ - void setDisabledPixmap(const TQPixmap& pixmap) KDE_DEPRECATED; -#endif - - /** - * Set the text for this button. The text will be either used as a - * tooltip (IconOnly) or will be along side the icon - * - * @param text The button (or tooltip) text - */ - virtual void setText(const TQString &text); - - /** - * Set the icon for this button. The icon will be loaded internally - * with the correct size. This function is preferred over setIconSet - * - * @param icon The name of the icon - */ - virtual void setIcon(const TQString &icon); - - /// @since 3.1 - virtual void setIcon( const TQPixmap &pixmap ) - { TQToolButton::setIcon( pixmap ); } - - /** - * Set the pixmaps for this toolbar button from a TQIconSet. - * If you call this you don't need to call any of the other methods - * that set icons or pixmaps. - * @param iconset The iconset to use - */ - virtual void setIconSet( const TQIconSet &iconset ); - -#ifndef KDE_NO_COMPAT - /** - * @deprecated - * Set the active icon for this button. The pixmap itself is loaded - * internally based on the icon size... .. the disabled and default - * pixmaps, however will only be constructed if generate is - * true. This function is preferred over setPixmap - * - * @param icon The name of the active icon - * @param generate If true, then the other icons are automagically - * generated from this one - */ - KDE_DEPRECATED void setIcon(const TQString &icon, bool generate ) { Q_UNUSED(generate); setIcon( icon ); } - - /** - * @deprecated - * Force the button to use this icon as the default one rather - * then generating it using effects. - * - * @param icon The icon to use as the default (normal) one - */ - void setDefaultIcon(const TQString& icon) KDE_DEPRECATED; - - /** - * @deprecated - * Force the button to use this icon when disabled one rather then - * generating it using effects. - * - * @param icon The icon to use when disabled - */ - void setDisabledIcon(const TQString& icon) KDE_DEPRECATED; -#endif - - /** - * Turn this button on or off - * - * @param flag true or false - */ - void on(bool flag = true); - - /** - * Toggle this button - */ - void toggle(); - - /** - * Turn this button into a toggle button or disable the toggle - * aspects of it. This does not toggle the button itself. - * Use toggle() for that. - * - * @param toggle true or false - */ - void setToggle(bool toggle = true); - - /** - * Return a pointer to this button's popup menu (if it exists) - */ - TQPopupMenu *popup(); - - /** - * Returns the button's id. - * @since 3.2 - */ - int id() const; - - /** - * Give this button a popup menu. There will not be a delay when - * you press the button. Use setDelayedPopup if you want that - * behavior. - * - * @param p The new popup menu - * @param unused Has no effect - ignore it. - */ - void setPopup (TQPopupMenu *p, bool unused = false); - - /** - * Gives this button a delayed popup menu. - * - * This function allows you to add a delayed popup menu to the button. - * The popup menu is then only displayed when the button is pressed and - * held down for about half a second. - * - * @param p the new popup menu - * @param unused Has no effect - ignore it. - */ - void setDelayedPopup(TQPopupMenu *p, bool unused = false); - - /** - * Turn this button into a radio button - * - * @param f true or false - */ - void setRadio(bool f = true); - - /** - * Toolbar buttons naturally will assume the global styles - * concerning icons, icons sizes, etc. You can use this function to - * explicitly turn this off, if you like. - * - * @param no_style Will disable styles if true - */ - void setNoStyle(bool no_style = true); - -signals: - void clicked(int); - void doubleClicked(int); - void pressed(int); - void released(int); - void toggled(int); - void highlighted(int, bool); - -public slots: - /** - * This slot should be called whenever the toolbar mode has - * potentially changed. This includes such events as text changing, - * orientation changing, etc. - */ - void modeChange(); - virtual void setTextLabel(const TQString&, bool tipToo); - -protected: - void paletteChange(const TQPalette &); - void leaveEvent(TQEvent *e); - void enterEvent(TQEvent *e); - void drawButton(TQPainter *p); - bool eventFilter (TQObject *o, TQEvent *e); - void showMenu(); - TQSize sizeHint() const; - TQSize minimumSizeHint() const; - TQSize minimumSize() const; - - /// @since 3.1 - bool isRaised() const; - /// @since 3.1 - bool isActive() const; - /// @since 3.1 - int iconTextMode() const; - -protected slots: - void slotClicked(); - void slotPressed(); - void slotReleased(); - void slotToggled(); - void slotDelayTimeout(); - -protected: - virtual void virtual_hook( int id, void* data ); -private: - KToolBarButtonPrivate *d; -}; - -/** -* List of KToolBarButton objects. -* @internal -* @version $Id: ktoolbarbutton.h,v 1.34 2003/09/09 12:40:58 bhards Exp $ -*/ -class KToolBarButtonList : public TQIntDict -{ -public: - KToolBarButtonList(); - ~KToolBarButtonList() {} -}; - -#endif diff --git a/python/pykde/extra/kde323/kurifilter.h b/python/pykde/extra/kde323/kurifilter.h deleted file mode 100644 index 834bff8a..00000000 --- a/python/pykde/extra/kde323/kurifilter.h +++ /dev/null @@ -1,644 +0,0 @@ -/* - * This file is part of the KDE libraries - * Copyright (C) 2000-2001,2003 Dawit Alemayehu - * - * Original author - * Copyright (C) 2000 Yves Arrouye - * - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public License - * along with this library; see the file COPYING.LIB. If not, write to - * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - * Boston, MA 02110-1301, USA. - **/ - -#ifndef __kurifilter_h__ -#define __kurifilter_h__ "$Id: kurifilter.h,v 1.41 2003/08/30 08:56:21 raabe Exp $" - -#include -#include -#include - -#include -#include - -class KURIFilterPrivate; -class KURIFilterDataPrivate; - -class KCModule; - -/** -* A basic message object used for exchanging filtering -* information between the filter plugins and the application -* requesting the filtering service. -* -* Use this object if you require a more detailed information -* about the URI you want to filter. Any application can create -* an instance of this class and send it to KURIFilter to -* have the plugins fill out all possible information about the -* URI. -* -* \b Example -* -* \code -* TQString text = "kde.org"; -* KURIFilterData d = text; -* bool filtered = KURIFilter::self()->filter( d ); -* cout << "URL: " << text.latin1() << endl -* << "Filtered URL: " << d.uri().url().latin1() << endl -* << "URI Type: " << d.uriType() << endl -* << "Was Filtered: " << filtered << endl; -* \endcode -* -* The above code should yield the following output: -* \code -* URI: kde.org -* Filtered URI: http://kde.org -* URI Type: 0 <== means NET_PROTOCOL -* Was Filtered: 1 <== means the URL was successfully filtered -* \endcode -* -* @short A message object for exchanging filtering URI info. -* @author Dawit Alemayehu -*/ - -class KURIFilterData -{ -friend class KURIFilterPlugin; - -public: - /** - * Describes the type of the URI that was filtered. - * Here is a brief description of the types: - * - * @li NET_PROTOCOL - Any network protocol: http, ftp, nttp, pop3, etc... - * @li LOCAL_FILE - A local file whose executable flag is not set - * @li LOCAL_DIR - A local directory - * @li EXECUTABLE - A local file whose executable flag is set - * @li HELP - A man or info page - * @li SHELL - A shell executable (ex: echo "Test..." >> ~/testfile) - * @li BLOCKED - A URI that should be blocked/filtered (ex: ad filtering) - * @li ERROR - An incorrect URI (ex: "~johndoe" when user johndoe - * does not exist in that system ) - * @li UNKNOWN - A URI that is not identified. Default value when - * a KURIFilterData is first created. - */ - enum URITypes { NET_PROTOCOL=0, LOCAL_FILE, LOCAL_DIR, EXECUTABLE, HELP, SHELL, BLOCKED, ERROR, UNKNOWN }; - - /** - * Default constructor. - * - * Creates a URIFilterData object. - */ - KURIFilterData() { init(); } - - /** - * Creates a URIFilterData object from the given URL. - * - * @param url is the URL to be filtered. - */ - KURIFilterData( const KURL& url ) { init( url); } - - /** - * Creates a URIFilterData object from the given string. - * - * @param url is the string to be filtered. - */ - KURIFilterData( const TQString& url ) { init( url ); } - - /** - * Copy constructor. - * - * Creates a URIFilterData object from another - * URI filter data object. - * - * @param data the uri filter data to be copied. - */ - KURIFilterData( const KURIFilterData& data); - - /** - * Destructor. - */ - ~KURIFilterData(); - - /** - * This method has been deprecated and will always return - * true. You should instead use the result from the - * KURIFilter::filterURI() calls. - * - * @deprecated - */ - KDE_DEPRECATED bool hasBeenFiltered() const { return true; } - - /** - * Returns the filtered or the original URL. - * - * This function returns the filtered url if one - * of the plugins successfully filtered the original - * URL. Otherwise, it returns the original URL. - * See hasBeenFiltered() and - * - * @return the filtered or original url. - */ - KURL uri() const { return m_pURI; } - - /** - * Returns an error message. - * - * This functions returns the error message set - * by the plugin whenever the uri type is set to - * KURIFilterData::ERROR. Otherwise, it returns - * a TQString::null. - * - * @return the error message or a NULL when there is none. - */ - TQString errorMsg() const { return m_strErrMsg; } - - /** - * Returns the URI type. - * - * This method always returns KURIFilterData::UNKNOWN - * if the given URL was not filtered. - * @return the type of the URI - */ - URITypes uriType() const { return m_iType; } - - /** - * Sets the URL to be filtered. - * - * Use this function to set the string to be - * filtered when you construct an empty filter - * object. - * - * @param url the string to be filtered. - */ - void setData( const TQString& url ) { init( url ); } - - /** - * Same as above except the argument is a URL. - * - * Use this function to set the string to be - * filtered when you construct an empty filter - * object. - * - * @param url the URL to be filtered. - */ - void setData( const KURL& url ) { init( url ); } - - /** - * Sets the absolute path to be used whenever the supplied - * data is a relative local URL. - * - * NOTE: This function should only be used for local resources, - * i.e. the "file:/" protocol. It is useful for specifying the - * absolute path in cases where the actual URL might be relative. - * meta object. If deriving the path from a KURL, make sure you - * set the argument for this function to the result of calling - * path () instead of url (). - * - * @param abs_path the abolute path to the local resource. - * @return true if absolute path is successfully set. Otherwise, false. - */ - bool setAbsolutePath( const TQString& abs_path ); - - /** - * Returns the absolute path if one has already been set. - * @return the absolute path, or TQString::null - * @see hasAbsolutePath() - */ - TQString absolutePath() const; - - /** - * Checks whether the supplied data had an absolute path. - * @return true if the supplied data has an absolute path - * @see absolutePath() - */ - bool hasAbsolutePath() const; - - /** - * Returns the command line options and arguments for a - * local resource when present. - * - * @return options and arguments when present, otherwise TQString::null - */ - TQString argsAndOptions() const; - - /** - * Checks whether the current data is a local resource with - * command line options and arguments. - * @return true if the current data has command line options and arguments - */ - bool hasArgsAndOptions() const; - - /** - * Returns the name of the icon that matches - * the current filtered URL. - * - * NOTE that this function will return a NULL - * string by default and when no associated icon - * is found. - * - * @return the name of the icon associated with the resource, - * or TQString::null if not found - */ - TQString iconName(); - - /** - * Check whether the provided uri is executable or not. - * - * Setting this to false ensures that typing the name of - * an executable does not start that application. This is - * useful in the location bar of a browser. The default - * value is true. - * - * @since 3.2 - */ - void setCheckForExecutables (bool check); - - /** - * @return true if the filters should attempt to check whether the - * supplied uri is an executable. False otherwise. - * - * @since 3.2 - */ - bool checkForExecutables() const { return m_bCheckForExecutables; } - - /** - * @return the string as typed by the user, before any URL processing is done - * @since 3.2 - */ - TQString typedString() const; - - /** - * Overloaded assigenment operator. - * - * This function allows you to easily assign a KURL - * to a KURIFilterData object. - * - * @return an instance of a KURIFilterData object. - */ - KURIFilterData& operator=( const KURL& url ) { init( url ); return *this; } - - /** - * Overloaded assigenment operator. - * - * This function allows you to easily assign a QString - * to a KURIFilterData object. - * - * @return an instance of a KURIFilterData object. - */ - KURIFilterData& operator=( const TQString& url ) { init( url ); return *this; } - -protected: - - /** - * Initializes the KURIFilterData on construction. - * @param url the URL to initialize the object with - */ - void init( const KURL& url); - - /** - * Initializes the KURIFilterData on construction. - * @param url the URL to initialize the object with - */ - void init( const TQString& url = TQString::null ); - -private: - bool m_bCheckForExecutables; - bool m_bChanged; - - TQString m_strErrMsg; - TQString m_strIconName; - - KURL m_pURI; - URITypes m_iType; - KURIFilterDataPrivate *d; -}; - - -/** - * Base class for URI filter plugins. - * - * This class applies a single filter to a URI. All plugins designed - * to provide URI filtering service should inherit from this abstract - * class and provide a concrete implementation. - * - * All inheriting classes need to implement the pure virtual function - * filterURI. - * - * @short Abstract class for URI filter plugins. - */ -class KURIFilterPlugin : public QObject -{ - Q_OBJECT - -public: - - /** - * Constructs a filter plugin with a given name and - * priority. - * - * @param parent the parent object, or 0 for no parent - * @param name the name of the plugin, or 0 for no name - * @param pri the priority of the plugin. - */ - KURIFilterPlugin( TQObject *parent = 0, const char *name = 0, double pri = 1.0 ); - - /** - * Returns the filter's name. - * - * @return A string naming the filter. - */ - virtual TQString name() const { return m_strName; } - - /** - * Returns the filter's priority. - * - * Each filter has an assigned priority, a float from 0 to 1. Filters - * with the lowest priority are first given a chance to filter a URI. - * - * @return The priority of the filter. - */ - virtual double priority() const { return m_dblPriority; } - - /** - * Filters a URI. - * - * @param data the URI data to be filtered. - * @return A boolean indicating whether the URI has been changed. - */ - virtual bool filterURI( KURIFilterData& data ) const = 0; - - /** - * Creates a configuration module for the filter. - * - * It is the responsibility of the caller to delete the module - * once it is not needed anymore. - * - * @return A configuration module, 0 if the filter isn't configurable. - */ - virtual KCModule *configModule( TQWidget*, const char* ) const { return 0; } - - /** - * Returns the name of the configuration module for the filter. - * - * @return the name of a configuration module or TQString::null if none. - */ - virtual TQString configName() const { return name(); } - -protected: - - /** - * Sets the the URL in @p data to @p uri. - */ - void setFilteredURI ( KURIFilterData& data, const KURL& uri ) const; - - /** - * Sets the error message in @p data to @p errormsg. - */ - void setErrorMsg ( KURIFilterData& data, const TQString& errmsg ) const { - data.m_strErrMsg = errmsg; - } - - /** - * Sets the URI type in @p data to @p type. - */ - void setURIType ( KURIFilterData& data, KURIFilterData::URITypes type) const { - data.m_iType = type; - data.m_bChanged = true; - } - - /** - * Sets the arguments and options string in @p data - * to @p args if any were found during filterting. - */ - void setArguments( KURIFilterData& data, const TQString& args ) const; - - TQString m_strName; - double m_dblPriority; - -protected: - virtual void virtual_hook( int id, void* data ); -private: - class KURIFilterPluginPrivate *d; -}; - - -/** - * A list of filter plugins. - */ -class KURIFilterPluginList : public TQPtrList -{ -public: - virtual int compareItems(Item a, Item b) - { - double diff = ((KURIFilterPlugin *) a)->priority() - ((KURIFilterPlugin *) b)->priority(); - return diff < 0 ? -1 : (diff > 0 ? 1 : 0); - } - -private: - KURIFilterPrivate *d; - -}; - -/** - * Manages the filtering of URIs. - * - * The intention of this plugin class is to allow people to extend the - * functionality of KURL without modifying it directly. This way KURL will - * remain a generic parser capable of parsing any generic URL that adheres - * to specifications. - * - * The KURIFilter class applies a number of filters to a URI and returns the - * filtered version whenever possible. The filters are implemented using - * plugins to provide easy extensibility of the filtering mechanism. New - * filters can be added in the future by simply inheriting from - * KURIFilterPlugin and implementing the KURIFilterPlugin::filterURI - * method. - * - * Use of this plugin-manager class is straight forward. Since it is a - * singleton object, all you have to do is obtain an instance by doing - * @p KURIFilter::self() and use any of the public member functions to - * preform the filtering. - * - * \b Example - * - * To simply filter a given string: - * - * \code - * bool filtered = KURIFilter::self()->filterURI( "kde.org" ); - * \endcode - * - * You can alternatively use a KURL: - * - * \code - * KURL url = "kde.org"; - * bool filtered = KURIFilter::self()->filterURI( url ); - * \endcode - * - * If you have a constant string or a constant URL, simply invoke the - * corresponding function to obtain the filtered string or URL instead - * of a boolean flag: - * - * \code - * TQString u = KURIFilter::self()->filteredURI( "kde.org" ); - * \endcode - * - * You can also restrict the filter(s) to be used by supplying - * the name of the filter(s) to use. By defualt all available - * filters will be used. To use specific filters, add the names - * of the filters you want to use to a TQStringList and invoke - * the appropriate filtering function. The examples below show - * the use of specific filters. The first one uses a single - * filter called kshorturifilter while the second example uses - * multiple filters: - * - * \code - * TQString text = "kde.org"; - * bool filtered = KURIFilter::self()->filterURI( text, "kshorturifilter" ); - * \endcode - * - * \code - * TQStringList list; - * list << "kshorturifilter" << "localdomainfilter"; - * bool filtered = KURIFilter::self()->filterURI( text, list ); - * \endcode - * - * KURIFilter also allows richer data exchange through a simple - * meta-object called @p KURIFilterData. Using this meta-object - * you can find out more information about the URL you want to - * filter. See KURIFilterData for examples and details. - * - * @short Filters a given URL into its proper format whenever possible. - */ - -class KURIFilter -{ -public: - /** - * Destructor - */ - ~KURIFilter (); - - /** - * Returns an instance of KURIFilter. - */ - static KURIFilter* self(); - - /** - * Filters the URI given by the object URIFilterData. - * - * The given URL is filtered based on the specified list of filters. - * If the list is empty all available filters would be used. - * - * @param data object that contains the URI to be filtered. - * @param filters specify the list of filters to be used. - * - * @return a boolean indicating whether the URI has been changed - */ - bool filterURI( KURIFilterData& data, const TQStringList& filters = TQStringList() ); - - /** - * Filters the URI given by the URL. - * - * The given URL is filtered based on the specified list of filters. - * If the list is empty all available filters would be used. - * - * @param uri the URI to filter. - * @param filters specify the list of filters to be used. - * - * @return a boolean indicating whether the URI has been changed - */ - bool filterURI( KURL &uri, const TQStringList& filters = TQStringList() ); - - /** - * Filters a string representing a URI. - * - * The given URL is filtered based on the specified list of filters. - * If the list is empty all available filters would be used. - * - * @param uri The URI to filter. - * @param filters specify the list of filters to be used. - * - * @return a boolean indicating whether the URI has been changed - */ - bool filterURI( TQString &uri, const TQStringList& filters = TQStringList() ); - - /** - * Returns the filtered URI. - * - * The given URL is filtered based on the specified list of filters. - * If the list is empty all available filters would be used. - * - * @param uri The URI to filter. - * @param filters specify the list of filters to be used. - * - * @return the filtered URI or null if it cannot be filtered - */ - KURL filteredURI( const KURL &uri, const TQStringList& filters = TQStringList() ); - - /** - * Return a filtered string representation of a URI. - * - * The given URL is filtered based on the specified list of filters. - * If the list is empty all available filters would be used. - * - * @param uri the URI to filter. - * @param filters specify the list of filters to be used. - * - * @return the filtered URI or null if it cannot be filtered - */ - TQString filteredURI( const TQString &uri, const TQStringList& filters = TQStringList() ); - - /** - * Return an iterator to iterate over all loaded - * plugins. - * - * @return a plugin iterator. - */ - TQPtrListIterator pluginsIterator() const; - - /** - * Return a list of the names of all loaded plugins. - * - * @return a TQStringList of plugin names - * @since 3.1 - */ - TQStringList pluginNames() const; - -protected: - - /** - * A protected constructor. - * - * This constructor creates a KURIFilter and - * initializes all plugins it can find by invoking - * loadPlugins. - */ - KURIFilter(); - - /** - * Loads all allowed plugins. - * - * This function loads all filters that have not - * been disbled. - */ - void loadPlugins(); - -private: - static KURIFilter *m_self; - KURIFilterPluginList m_lstPlugins; - KURIFilterPrivate *d; -}; - -#endif diff --git a/python/pykde/extra/kde323/selectdialog.h b/python/pykde/extra/kde323/selectdialog.h deleted file mode 100644 index 680d48ef..00000000 --- a/python/pykde/extra/kde323/selectdialog.h +++ /dev/null @@ -1,87 +0,0 @@ -/* - This file is part of libkresources. - - Copyright (c) 2002 Tobias Koenig - Copyright (c) 2002 Jan-Pascal van Best - Copyright (c) 2003 Cornelius Schumacher - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. -*/ - -#ifndef KRESOURCES_SELECTDIALOG_H -#define KRESOURCES_SELECTDIALOG_H - -#include -#include -#include - -#include - -class KListBox; - -namespace KRES { - -class Resource; - -/** - * Dialog for selecting a resource. - * - * Example: - * - * \code - * - * TQPtrList list = ... // can be retrived from KRES::Manager (e.g. KABC::AddressBook) - * - * KABC::Resource *res = KABC::SelectDialog::getResource( list, parentWdg ); - * if ( !res ) { - * // no resource selected - * } else { - * // do something with resource - * } - * \endcode - */ -class SelectDialog -{ - public: - /** - * Constructor. - * @param list The list of available resources - * @param parent The parent widget - * @param name The name of the dialog - */ - SelectDialog( TQPtrList list, TQWidget *parent = 0, - const char *name = 0); - - /** - * Returns selected resource. - */ - Resource *resource(); - - /** - * Opens a dialog showing the available resources and returns the resource the - * user has selected. Returns 0, if the dialog was canceled. - */ - static Resource *getResource( TQPtrList list, TQWidget *parent = 0 ); - - private: - KListBox *mResourceId; - - TQMap mResourceMap; -}; - -} - -#endif diff --git a/python/pykde/extra/kde330/configwidget.h b/python/pykde/extra/kde330/configwidget.h deleted file mode 100644 index e289743a..00000000 --- a/python/pykde/extra/kde330/configwidget.h +++ /dev/null @@ -1,58 +0,0 @@ -/* - This file is part of libkresources. - Copyright (c) 2002 Tobias Koenig - Copyright (c) 2002 Jan-Pascal van Best - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. -*/ - -#ifndef KRESOURCES_CONFIGWIDGET_H -#define KRESOURCES_CONFIGWIDGET_H - -#include "resource.h" - -#include - -#include - -namespace KRES { - -class ConfigWidget : public QWidget -{ - Q_OBJECT - public: - ConfigWidget( TQWidget *parent = 0, const char *name = 0 ); - - /** - Sets the widget to 'edit' mode. Reimplement this method if you are - interested in the mode change (to disable some GUI element for - example). By default the widget is in 'create new' mode. - */ - virtual void setInEditMode( bool value ); - - public slots: - virtual void loadSettings( Resource *resource ) = 0; - virtual void saveSettings( Resource *resource ) = 0; - - signals: - void setReadOnly( bool value ); - - protected: - Resource *mResource; -}; - -} -#endif diff --git a/python/pykde/extra/kde330/kaccelaction.h b/python/pykde/extra/kde330/kaccelaction.h deleted file mode 100644 index 0418297c..00000000 --- a/python/pykde/extra/kde330/kaccelaction.h +++ /dev/null @@ -1,564 +0,0 @@ -/* This file is part of the KDE libraries - Copyright (C) 2001,2002 Ellis Whitehead - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. -*/ - -#ifndef _KACCELACTION_H -#define _KACCELACTION_H - -#include -#include -#include -#include - -#include - -class KAccelBase; - -class TQObject; -class KConfig; -class KConfigBase; - -/** - * @internal - * A KAccelAction prepresents an action that can be executed using - * an accelerator key. Each KAccelAction has a name, a label, a - * "What's this" string and a KShortcut. The user can configure and - * enable/disable them using KKeyDialog. - * - * \code - * 1) KAccelAction = "Run Command" - * Default3 = "Alt+F2" - * Default4 = "Meta+Enter;Alt+F2" - * 1) KShortcut = "Meta+Enter" - * 1) KKeySequence = "Meta+Enter" - * 1) KKey = "Meta+Enter" - * 1) Meta+Enter - * 2) Meta+Keypad_Enter - * 2) KShortcut = "Alt+F2" - * 1) KKeySequence = "Alt+F2" - * 1) Alt+F2 - * 2) KAccelAction = "Something" - * Default3 = "" - * Default4 = "" - * 1) KShortcut = "Meta+X,Asterisk" - * 1) KKeySequence = "Meta+X,Asterisk" - * 1) KKey = "Meta+X" - * 1) Meta+X - * 2) KKey = "Asterisk" - * 1) Shift+8 (English layout) - * 2) Keypad_Asterisk - * \endcode - * @short An accelerator action - * @see KAccel - * @see KGlobalAccel - * @see KKeyChooser - * @see KKeyDialog - */ -class KAccelAction -{ - public: - /** - * Creates an empty KAccelAction. - * @see clear() - */ - KAccelAction(); - - /** - * Copy constructor. - */ - KAccelAction( const KAccelAction& ); - - /** - * Creates a new KAccelAction. - * @param sName the name of the accelerator - * @param sLabel the label of the accelerator (i18n!) - * @param sWhatsThis the What's This text (18n!) - * @param cutDef3 the default shortcut for 3 modifier systems - * @param cutDef4 the default shortcut for 4 modifier systems - * @param pObjSlot the receiver of a signal when the key has been - * pressed - * @param psMethodSlot the slot to connect for key presses. Receives - * an int, as set by setID(), as only argument - * @param bConfigurable if true the user can configure the shortcut - * @param bEnabled true if the accelerator should be enabled - */ - KAccelAction( const TQString& sName, const TQString& sLabel, const TQString& sWhatsThis, - const KShortcut& cutDef3, const KShortcut& cutDef4, - const TQObject* pObjSlot, const char* psMethodSlot, - bool bConfigurable, bool bEnabled ); - ~KAccelAction(); - - /** - * Clears the accelerator. - */ - void clear(); - - /** - * Re-initialized the KAccelAction. - * @param sName the name of the accelerator - * @param sLabel the label of the accelerator (i18n!) - * @param sWhatsThis the What's This text (18n!) - * @param cutDef3 the default shortcut for 3 modifier systems - * @param cutDef4 the default shortcut for 4 modifier systems - * @param pObjSlot the receiver of a signal when the key has been - * pressed - * @param psMethodSlot the slot to connect for key presses. Receives - * an int, as set by setID(), as only argument - * @param bConfigurable if true the user can configure the shortcut - * @param bEnabled true if the accelerator should be enabled - * @return true if successful, false otherwise - */ - bool init( const TQString& sName, const TQString& sLabel, const TQString& sWhatsThis, - const KShortcut& cutDef3, const KShortcut& cutDef4, - const TQObject* pObjSlot, const char* psMethodSlot, - bool bConfigurable, bool bEnabled ); - - /** - * Copies this KAccelAction. - */ - KAccelAction& operator=( const KAccelAction& ); - - /** - * Returns the name of the accelerator action. - * @return the name of the accelerator action, can be null if not - * set - */ - const TQString& name() const { return m_sName; } - - /** - * Returns the label of the accelerator action. - * @return the label of the accelerator action, can be null if - * not set - */ - const TQString& label() const { return m_sLabel; } - - /** - * Returns the What's This text of the accelerator action. - * @return the What's This text of the accelerator action, can be - * null if not set - */ - const TQString& whatsThis() const { return m_sWhatsThis; } - - /** - * The shortcut that is actually used (may be used configured). - * @return the shortcut of the KAccelAction, can be null if not set - * @see shortcutDefault() - */ - const KShortcut& shortcut() const { return m_cut; } - - /** - * The default shortcut for this system. - * @return the default shortcut on this system, can be null if not set - * @see shortcut() - * @see shortcutDefault3() - * @see shortcutDefault4() - */ - const KShortcut& shortcutDefault() const; - - /** - * The default shortcut for 3 modifier systems. - * @return the default shortcut for 3 modifier systems, can be null - * if not set - * @see shortcutDefault() - * @see shortcutDefault4() - * @see useFourModifierKeys() - */ - const KShortcut& shortcutDefault3() const { return m_cutDefault3; } - - /** - * The default shortcut for 4 modifier systems. - * @return the default shortcut for 4 modifier systems, can be null - * if not set - * @see shortcutDefault() - * @see shortcutDefault3() - * @see useFourModifierKeys() - */ - const KShortcut& shortcutDefault4() const { return m_cutDefault4; } - - /** - * Returns the receiver of signals. - * @return the receiver of signals (can be 0 if not set) - */ - const TQObject* objSlotPtr() const { return m_pObjSlot; } - - /** - * Returns the slot for the signal. - * @return the slot for the signal - */ - const char* methodSlotPtr() const { return m_psMethodSlot; } - - /** - * Checks whether the user can configure the action. - * @return true if configurable, false otherwise - */ - bool isConfigurable() const { return m_bConfigurable; } - - /** - * Checks whether the action is enabled. - * @return true if enabled, false otherwise - */ - bool isEnabled() const { return m_bEnabled; } - - /** - * Sets the name of the accelerator action. - * @param name the new name - */ - void setName( const TQString& name ); - - /** - * Sets the user-readable label of the accelerator action. - * @param label the new label (i18n!) - */ - void setLabel( const TQString& label ); - - /** - * Sets the What's This text for the accelerator action. - * @param whatsThis the new What's This text (i18n!) - */ - void setWhatsThis( const TQString& whatsThis ); - - /** - * Sets the new shortcut of the accelerator action. - * @param rgCuts the shortcut to set - * @return true if successful, false otherwise - */ - bool setShortcut( const KShortcut& rgCuts ); - - /** - * Sets the slot of the accelerator action. - * @param pObjSlot the receiver object of the signal - * @param psMethodSlot the slot for the signal - */ - void setSlot( const TQObject* pObjSlot, const char* psMethodSlot ); - - /** - * Enables or disabled configuring the action. - * @param configurable true to enable configurability, false to disable - */ - void setConfigurable( bool configurable ); - - /** - * Enables or disabled the action. - * @param configurable true to enable the action, false to disable - */ - void setEnabled( bool enable ); - - /** - * Retrieves the id set using setID. - * @return the id of the accelerator action - */ - int getID() const { return m_nIDAccel; } - - /** - * Allows you to set an id that will be used as the action - * signal's argument. - * - * @param n the new id - * @see getID() - */ - void setID( int n ) { m_nIDAccel = n; } - - /** - * Checkes whether the action is connected (emits signals). - * @return true if connected, false otherwise - */ - bool isConnected() const; - - /** - * Sets a key sequence of the action's shortcut. - * @param i the position of the sequence - * @param keySeq the new new sequence - * @return true if successful, false otherwise - * @see KShortcut::setSeq() - */ - bool setKeySequence( uint i, const KKeySequence &keySeq ); - - /** - * Clears the action's shortcut. It will not contain any sequences after - * calling this method. - * @see KShortcut::clear() - */ - void clearShortcut(); - - /** - * Checks whether the action's shortcut contains the given key sequence. - * @param keySeq the key sequence to check - * @return true if the shortcut contains the given sequence - * @see KShortcut::contains() - */ - bool contains( const KKeySequence &keySeq ); - - /** - * Returns the string representation of the action's shortcut. - * @return the string representation of the action's shortcut. - * @see KShortcut::toString() - */ - TQString toString() const; - - /** - * @internal - */ - TQString toStringInternal() const; - - /** - * Returns true if four modifier keys will be used. - * @return true if four modifier keys will be used. - */ - static bool useFourModifierKeys(); - - /** - * Selects 3 or 4 modifier default shortcuts. - * @param use true to use 4 modifier shortcuts, false to use - * 3 modifier shortcuts - */ - static void useFourModifierKeys( bool use ); - - protected: - TQString m_sName, - m_sLabel, - m_sWhatsThis; - KShortcut m_cut; - KShortcut m_cutDefault3, m_cutDefault4; - const TQObject* m_pObjSlot; - const char* m_psMethodSlot; - bool m_bConfigurable, - m_bEnabled; - int m_nIDAccel; - uint m_nConnections; - - void incConnections(); - void decConnections(); - - private: - static int g_bUseFourModifierKeys; - class KAccelActionPrivate* d; - - friend class KAccelActions; - friend class KAccelBase; -}; - -//--------------------------------------------------------------------- -// KAccelActions -//--------------------------------------------------------------------- - -/** - * @internal - * This class represents a collection of KAccelAction objects. - * - * @short A collection of accelerator actions - * @see KAccelAction - */ -class KAccelActions -{ - public: - /** - * Creates a new, empty KAccelActions object. - */ - KAccelActions(); - - /** - * Copy constructor (deep copy). - */ - KAccelActions( const KAccelActions& ); - virtual ~KAccelActions(); - - /** - * Removes all items from this collection. - */ - void clear(); - - /** - * Initializes this object with the given actions. - * It will make a deep copy of all actions. - * @param actions the actions to copy - * @return true if successful, false otherwise - */ - bool init( const KAccelActions &actions ); - - /** - * Loads the actions from the given configuration file. - * - * @param config the configuration file to load from - * @param sGroup the group in the configuration file - * @return true if successful, false otherwise - */ - bool init( KConfigBase& config, const TQString& sGroup ); - - /** - * Updates the shortcuts of all actions in this object - * with the shortcuts from the given object. - * @param shortcuts the collection that contains the new - * shortcuts - */ - void updateShortcuts( KAccelActions &shortcuts ); - - /** - * Retrieves the index of the action with the given name. - * @param sAction the action to search - * @return the index of the action, or -1 if not found - */ - int actionIndex( const TQString& sAction ) const; - - /** - * Returns the action with the given @p index. - * @param index the index of an action. You must not - * use an index that is too high. - * @return the KAccelAction with the given index - * @see count() - */ - KAccelAction* actionPtr( uint index ); - - /** - * Returns the action with the given @p index. - * @param index the index of an action. You must not - * use an index that is too high. - * @return the KAccelAction with the given index - * @see count() - */ - const KAccelAction* actionPtr( uint index ) const; - - /** - * Returns the action with the given name. - * @param aAction the name of the action to search - * @return the KAccelAction with the given name, or 0 - * if not found - */ - KAccelAction* actionPtr( const TQString& sAction ); - - /** - * Returns the action with the given name. - * @param aAction the name of the action to search - * @return the KAccelAction with the given name, or 0 - * if not found - */ - const KAccelAction* actionPtr( const TQString& sAction ) const; - - /** - * Returns the action with the given key sequence. - * @param cut the sequence to search for - * @return the KAccelAction with the given sequence, or 0 - * if not found - */ - KAccelAction* actionPtr( KKeySequence cut ); - - /** - * Returns the action with the given @p index. - * @param index the index of an action. You must not - * use an index that is too high. - * @return the KAccelAction with the given index - * @see actionPtr() - * @see count() - */ - KAccelAction& operator []( uint index ); - - /** - * Returns the action with the given @p index. - * @param index the index of an action. You must not - * use an index that is too high. - * @return the KAccelAction with the given index - * @see actionPtr() - * @see count() - */ - const KAccelAction& operator []( uint index ) const; - - /** - * Inserts an action into the collection. - * @param sName the name of the accelerator - * @param sLabel the label of the accelerator (i18n!) - * @param sWhatsThis the What's This text (18n!) - * @param cutDef3 the default shortcut for 3 modifier systems - * @param cutDef4 the default shortcut for 4 modifier systems - * @param pObjSlot the receiver of a signal when the key has been - * pressed - * @param psMethodSlot the slot to connect for key presses. Receives - * an int, as set by setID(), as only argument - * @param bConfigurable if true the user can configure the shortcut - * @param bEnabled true if the accelerator should be enabled - * @return the new action - */ - KAccelAction* insert( const TQString& sAction, const TQString& sLabel, const TQString& sWhatsThis, - const KShortcut& rgCutDefaults3, const KShortcut& rgCutDefaults4, - const TQObject* pObjSlot = 0, const char* psMethodSlot = 0, - bool bConfigurable = true, bool bEnabled = true ); - - /** - * Inserts an action into the collection. - * @param sName the name of the accelerator - * @param sLabel the label of the accelerator (i18n!) - * @return the new action - */ - KAccelAction* insert( const TQString& sName, const TQString& sLabel ); - - /** - * Removes the given action. - * @param sAction the name of the action. - * @return true if successful, false otherwise - */ - bool remove( const TQString& sAction ); - - /** - * Loads the actions from the given configuration file. - * - * @param sConfigGroup the group in the configuration file - * @param pConfig the configuration file to load from - * @return true if successful, false otherwise - */ - bool readActions( const TQString& sConfigGroup = "Shortcuts", KConfigBase* pConfig = 0 ); - - /** - * Writes the actions to the given configuration file. - * - * @param sConfigGroup the group in the configuration file - * @param pConfig the configuration file to save to - * @param bWriteAll true to write all actions - * @param bGlobal true to write to the global configuration file - * @return true if successful, false otherwise - */ - bool writeActions( const TQString& sConfigGroup = "Shortcuts", KConfigBase* pConfig = 0, - bool bWriteAll = false, bool bGlobal = false ) const; - - /** - * Emit a keycodeChanged signal. - */ - void emitKeycodeChanged(); - - /** - * Returns the number of actions in the collection. - * @return the number of actions - */ - uint count() const; - - protected: - KAccelBase* m_pKAccelBase; - KAccelAction** m_prgActions; - uint m_nSizeAllocated, m_nSize; - - void resize( uint ); - void insertPtr( KAccelAction* ); - - private: - class KAccelActionsPrivate* d; - - KAccelActions( KAccelBase* ); - void initPrivate( KAccelBase* ); - KAccelActions& operator =( KAccelActions& ); - - friend class KAccelBase; -}; - -#endif // _KACCELACTION_H diff --git a/python/pykde/extra/kde330/kaccelbase.h b/python/pykde/extra/kde330/kaccelbase.h deleted file mode 100644 index e2ec66e9..00000000 --- a/python/pykde/extra/kde330/kaccelbase.h +++ /dev/null @@ -1,230 +0,0 @@ -/* This file is part of the KDE libraries - Copyright (C) 2001 Ellis Whitehead - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. -*/ - -#ifndef _KACCELBASE_H -#define _KACCELBASE_H - -#include -#include -#include -#include -#include - -#include "kaccelaction.h" -#include "kkeyserver_x11.h" - -class TQPopupMenu; -class TQWidget; - -//---------------------------------------------------- - -/** - * @internal - * Handle keyboard accelerators. - * - * Allow an user to configure - * key bindings through application configuration files or through the - * KKeyChooser GUI. - * - * A KAccel contains a list of accelerator items. Each accelerator item - * consists of an action name and a keyboard code combined with modifiers - * (Shift, Ctrl and Alt.) - * - * For example, "Ctrl+P" could be a shortcut for printing a document. The key - * codes are listed in ckey.h. "Print" could be the action name for printing. - * The action name identifies the key binding in configuration files and the - * KKeyChooser GUI. - * - * When pressed, an accelerator key calls the slot to which it has been - * connected. Accelerator items can be connected so that a key will activate - * two different slots. - * - * A KAccel object handles key events sent to its parent widget and to all - * children of this parent widget. - * - * Key binding reconfiguration during run time can be prevented by specifying - * that an accelerator item is not configurable when it is inserted. A special - * group of non-configurable key bindings are known as the - * standard accelerators. - * - * The standard accelerators appear repeatedly in applications for - * standard document actions such as printing and saving. Convenience methods are - * available to insert and connect these accelerators which are configurable on - * a desktop-wide basis. - * - * It is possible for a user to choose to have no key associated with - * an action. - * - * The translated first argument for insertItem() is used only - * in the configuration dialog. - *\code - * KAccel *a = new KAccel( myWindow ); - * // Insert an action "Scroll Up" which is associated with the "Up" key: - * a->insertItem( i18n("Scroll Up"), "Scroll Up", "Up" ); - * // Insert an action "Scroll Down" which is not associated with any key: - * a->insertItem( i18n("Scroll Down"), "Scroll Down", 0); - * a->connectItem( "Scroll up", myWindow, TQT_SLOT( scrollUp() ) ); - * // a->insertStdItem( KStdAccel::Print ); //not necessary, since it - * // is done automatially with the - * // connect below! - * a->connectItem(KStdAccel::Print, myWindow, TQT_SLOT( printDoc() ) ); - * - * a->readSettings(); - *\endcode - * - * If a shortcut has a menu entry as well, you could insert them like - * this. The example is again the KStdAccel::Print from above. - * - * \code - * int id; - * id = popup->insertItem("&Print",this, TQT_SLOT(printDoc())); - * a->changeMenuAccel(popup, id, KStdAccel::Print ); - * \endcode - * - * If you want a somewhat "exotic" name for your standard print action, like - * id = popup->insertItem(i18n("Print &Document"),this, TQT_SLOT(printDoc())); - * it might be a good idea to insert the standard action before as - * a->insertStdItem( KStdAccel::Print, i18n("Print Document") ) - * as well, so that the user can easily find the corresponding function. - * - * This technique works for other actions as well. Your "scroll up" function - * in a menu could be done with - * - * \code - * id = popup->insertItem(i18n"Scroll &up",this, TQT_SLOT(scrollUp())); - * a->changeMenuAccel(popup, id, "Scroll Up" ); - * \endcode - * - * Please keep the order right: First insert all functions in the - * acceleratior, then call a -> readSettings() and @em then build your - * menu structure. - * - * @short Configurable key binding support. - * @version $Id: kaccelbase.h,v 1.26 2003/08/16 19:44:57 coolo Exp $ - */ - -class KAccelBase -{ - public: - enum Init { QT_KEYS = 0x00, NATIVE_KEYS = 0x01 }; - enum Signal { KEYCODE_CHANGED }; - - KAccelBase( int fInitCode ); - virtual ~KAccelBase(); - - uint actionCount() const; - KAccelActions& actions(); - bool isEnabled() const; - - KAccelAction* actionPtr( const TQString& sAction ); - const KAccelAction* actionPtr( const TQString& sAction ) const; - KAccelAction* actionPtr( const KKey& key ); - KAccelAction* actionPtr( const KKeyServer::Key& key ); - - const TQString& configGroup() const { return m_sConfigGroup; } - void setConfigGroup( const TQString& group ); - void setConfigGlobal( bool global ); - virtual void setEnabled( bool bEnabled ) = 0; - bool getAutoUpdate() { return m_bAutoUpdate; } - // return value of AutoUpdate flag before this call. - bool setAutoUpdate( bool bAuto ); - -// Procedures for manipulating Actions. - //void clearActions(); - - KAccelAction* insert( const TQString& sName, const TQString& sDesc ); - KAccelAction* insert( - const TQString& sAction, const TQString& sDesc, const TQString& sHelp, - const KShortcut& rgCutDefaults3, const KShortcut& rgCutDefaults4, - const TQObject* pObjSlot, const char* psMethodSlot, - bool bConfigurable = true, bool bEnabled = true ); - bool remove( const TQString& sAction ); - bool setActionSlot( const TQString& sAction, const TQObject* pObjSlot, const char* psMethodSlot ); - - bool updateConnections(); - - bool setShortcut( const TQString& sAction, const KShortcut& cut ); - -// Modify individual Action sub-items - bool setActionEnabled( const TQString& sAction, bool bEnable ); - - /** - * Read all key associations from @p config, or (if @p config - * is zero) from the application's configuration file - * KGlobal::config(). - * - * The group in which the configuration is stored can be - * set with setConfigGroup(). - */ - void readSettings( KConfigBase* pConfig = 0 ); - - /** - * Write the current configurable associations to @p config, - * or (if @p config is zero) to the application's - * configuration file. - */ - void writeSettings( KConfigBase* pConfig = 0 ) const; - - TQPopupMenu* createPopupMenu( TQWidget* pParent, const KKeySequence& ); - - // Protected methods - protected: - void slotRemoveAction( KAccelAction* ); - - struct X; - void createKeyList( TQValueVector& rgKeys ); - bool insertConnection( KAccelAction* ); - bool removeConnection( KAccelAction* ); - - virtual bool emitSignal( Signal ) = 0; - virtual bool connectKey( KAccelAction&, const KKeyServer::Key& ) = 0; - virtual bool connectKey( const KKeyServer::Key& ) = 0; - virtual bool disconnectKey( KAccelAction&, const KKeyServer::Key& ) = 0; - virtual bool disconnectKey( const KKeyServer::Key& ) = 0; - - protected: - struct ActionInfo - { - KAccelAction* pAction; - uint iSeq, iVariation; - //ActionInfo* pInfoNext; // nil if only one action uses this key. - - ActionInfo() { pAction = 0; iSeq = 0xffff; iVariation = 0xffff; } - ActionInfo( KAccelAction* _pAction, uint _iSeq, uint _iVariation ) - { pAction = _pAction; iSeq = _iSeq; iVariation = _iVariation; } - }; - typedef TQMap KKeyToActionMap; - - KAccelActions m_rgActions; - KKeyToActionMap m_mapKeyToAction; - TQValueList m_rgActionsNonUnique; - bool m_bNativeKeys; // Use native key codes instead of Qt codes - bool m_bEnabled; - bool m_bConfigIsGlobal; - TQString m_sConfigGroup; - bool m_bAutoUpdate; - KAccelAction* mtemp_pActionRemoving; - - private: - KAccelBase& operator =( const KAccelBase& ); - - friend class KAccelActions; -}; - -#endif // _KACCELBASE_H diff --git a/python/pykde/extra/kde330/kicontheme.h b/python/pykde/extra/kde330/kicontheme.h deleted file mode 100644 index 82cd82bc..00000000 --- a/python/pykde/extra/kde330/kicontheme.h +++ /dev/null @@ -1,336 +0,0 @@ -/* vi: ts=8 sts=4 sw=4 - * - * $Id: kicontheme.h,v 1.30 2004/01/25 21:50:41 aseigo Exp $ - * - * This file is part of the KDE project, module kdecore. - * Copyright (C) 2000 Geert Jansen - * Antonio Larrosa - * - * This is free software; it comes under the GNU Library General - * Public License, version 2. See the file "COPYING.LIB" for the - * exact licensing terms. - * - */ - -#ifndef __KIconTheme_h_Included__ -#define __KIconTheme_h_Included__ - -#include -#include -#include - -class KConfig; -//class KIconThemeDir; - -class KIconThemePrivate; - -class KIconPrivate; - -/** - * One icon as found by KIconTheme. Also serves as a namespace containing - * icon related constants. - * @see KIconEffect - * @see KIconTheme - * @see KIconLoader - */ -class KIcon -{ -public: - KIcon() { size = 0; } - - /** - * Return true if this icon is valid, false otherwise. - */ - bool isValid() const { return size != 0; } - - /** - * Defines the context of the icon. - */ - enum Context { - Any, ///< Some icon with unknown purpose. - Action, ///< An action icon (e.g. 'save', 'print'). - Application, ///< An icon that represents an application. - Device, ///< An icon that represents a device. - FileSystem, ///< An icon that represents a file system. - MimeType ///< An icon that represents a mime type (or file type). - }; - - /** - * The type of the icon. - */ - enum Type { - Fixed, ///< Fixed-size icon. - Scalable, ///< Scalable-size icon. - Threshold ///< A threshold icon. - }; - - /** - * The type of a match. - */ - enum MatchType { - MatchExact, ///< Only try to find an exact match. - MatchBest ///< Take the best match if there is no exact match. - - }; - - // if you add a group here, make sure to change the config reading in - // KIconLoader too - /** - * The group an an icon. - */ - enum Group { NoGroup=-1, Desktop=0, FirstGroup=0, Toolbar, - MainToolbar, Small, Panel, LastGroup, User }; - - /** - * These are the standard sizes for icons. - */ - enum StdSizes { - /// small icons for menu entries - SizeSmall=16, - /// slightly larger small icons for toolbars, panels, etc - SizeSmallMedium=22, - /// medium sized icons for the desktop - SizeMedium=32, - /// large sized icons for the panel - SizeLarge=48, - /// huge sized icons for iconviews - SizeHuge=64 - }; - - /** - * Defines the possible states of an icon. - */ - enum States { DefaultState, ///< The default state. - ActiveState, ///< Icon is active. - DisabledState, ///< Icon is disabled. - LastState ///< Last state (last constant) - }; - - /** - * This defines an overlay, a semi-transparent image that is - * projected onto the icon. They are used to show that the file - * represented by the icon is, for example, locked, zipped or hidden. - */ - enum Overlays { - LockOverlay=0x100, ///< a file is locked - ZipOverlay=0x200, ///< a file is zipped - LinkOverlay=0x400, ///< a fileis a link - HiddenOverlay=0x800, ///< a file is hidden - ShareOverlay=0x1000, ///< a file is shared - OverlayMask = ~0xff - }; - - /** - * The size in pixels of the icon. - */ - int size; - - /** - * The context of the icon. - */ - Context context; - - /** - * The type of the icon: Fixed, Scalable or Threshold. - **/ - Type type; - - /** - * The threshold in case type == Threshold - */ - int threshold; - - /** - * The full path of the icon. - */ - TQString path; - -private: - KIconPrivate *d; -}; - -inline KIcon::Group& operator++(KIcon::Group& group) { group = static_cast(group+1); return group; } -inline KIcon::Group operator++(KIcon::Group& group,int) { KIcon::Group ret = group; ++group; return ret; } - -/** - * Class to use/access icon themes in KDE. This class is used by the - * iconloader but can be used by others too. - * @see KIconLoader - */ -class KIconTheme -{ -public: - /** - * Load an icon theme by name. - * @param name the name of the theme (e.g. "hicolor" or "keramik") - * @param appName the name of the application. Can be null. This argument - * allows applications to have themed application icons. - */ - KIconTheme(const TQString& name, const TQString& appName=TQString::null); - ~KIconTheme(); - - /** - * The stylized name of the icon theme. - * @return the (human-readable) name of the theme - */ - TQString name() const { return mName; } - - /** - * A description for the icon theme. - * @return a human-readable description of the theme, TQString::null - * if there is none - */ - TQString description() const { return mDesc; } - - /** - * Return the name of the "example" icon. This can be used to - * present the theme to the user. - * @return the name of the example icon, TQString::null if there is none - */ - TQString example() const; - - /** - * Return the name of the screenshot. - * @return the name of the screenshot, TQString::null if there is none - */ - TQString screenshot() const; - - /** - * Returns the name of this theme's link overlay. - * @return the name of the link overlay - */ - TQString linkOverlay() const; - - /** - * Returns the name of this theme's zip overlay. - * @return the name of the zip overlay - */ - TQString zipOverlay() const; - - /** - * Returns the name of this theme's lock overlay. - * @return the name of the lock overlay - */ - TQString lockOverlay() const; - - /** - * Returns the name of this theme's share overlay. - * @return the name of the share overlay - * @since 3.1 - */ - TQString shareOverlay () const; - - /** - * Returns the toplevel theme directory. - * @return the directory of the theme - */ - TQString dir() const { return mDir; } - - /** - * The themes this icon theme falls back on. - * @return a list of icon themes that are used as fall-backs - */ - TQStringList inherits() const { return mInherits; } - - /** - * The icon theme exists? - * @return true if the icon theme is valid - */ - bool isValid() const; - - /** - * The icon theme should be hidden to the user? - * @return true if the icon theme is hidden - * @since 3.1 - */ - bool isHidden() const; - - /** - * The minimum display depth required for this theme. This can either - * be 8 or 32. - * @return the minimum bpp (8 or 32) - */ - int depth() const { return mDepth; } - - /** - * The default size of this theme for a certain icon group. - * @param group The icon group. See KIcon::Group. - * @return The default size in pixels for the given icon group. - */ - int defaultSize(KIcon::Group group) const; - - /** - * Query available sizes for a group. - * @param group The icon group. See KIcon::Group. - * @return a list of available sized for the given group - */ - TQValueList querySizes(KIcon::Group group) const; - - /** - * Query available icons for a size and context. - * @param size the size of the icons - * @param context the context of the icons - * @return the list of icon names - */ - TQStringList queryIcons(int size, KIcon::Context context = KIcon::Any) const; - - /** - * Query available icons for a context and preferred size. - * @param size the size of the icons - * @param context the context of the icons - * @return the list of icon names - */ - TQStringList queryIconsByContext(int size, KIcon::Context context = KIcon::Any) const; - - - /** - * Lookup an icon in the theme. - * @param name The name of the icon, without extension. - * @param size The desired size of the icon. - * @param match The matching mode. KIcon::MatchExact returns an icon - * only if matches exactly. KIcon::MatchBest returns the best matching - * icon. - * @return A KIcon class that describes the icon. If an icon is found, - * @see KIcon::isValid will return true, and false otherwise. - */ - KIcon iconPath(const TQString& name, int size, KIcon::MatchType match) const; - - /** - * List all icon themes installed on the system, global and local. - * @return the list of all icon themes - */ - static TQStringList list(); - - /** - * Returns the current icon theme. - * @return the name of the current theme - */ - static TQString current(); - - /** - * Reconfigure the theme. - */ - static void reconfigure(); - - /** - * Returns the default icon theme. - * @return the name of the default theme name - * @since 3.1 - */ - static TQString defaultThemeName(); - -private: - int mDefSize[8]; - TQValueList mSizes[8]; - - int mDepth; - TQString mDir, mName, mDesc; - TQStringList mInherits; -// TQPtrList mDirs; - KIconThemePrivate *d; - - static TQString *_theme; - static TQStringList *_theme_list; -}; - -#endif diff --git a/python/pykde/extra/kde330/kkeyserver_x11.h b/python/pykde/extra/kde330/kkeyserver_x11.h deleted file mode 100644 index 1271f506..00000000 --- a/python/pykde/extra/kde330/kkeyserver_x11.h +++ /dev/null @@ -1,433 +0,0 @@ -#ifndef _KKEYSERVER_X11_H -#define _KKEYSERVER_X11_H - -#include "kshortcut.h" -#include "kkeynative.h" - -/** - * A collection of functions for the conversion of key presses and - * their modifiers from the window system (X11) specific format - * to the generic format and vice-versa. - */ -namespace KKeyServer -{ - /** - * Supplement enum KKey::ModFlag - * @since 3.1 - */ - enum ExtraModFlag { MODE_SWITCH = 0x2000 }; - - /** - * Represents a key symbol. - * @see KKey - * @see KKeyServer - */ - struct Sym - { - public: - /// the actual value of the symbol - uint m_sym; - - /// Creates a null symbol. - Sym() - { m_sym = 0; } - /** - * Creates asymbol with the given value. - * @param sym the value - */ - Sym( uint sym ) - { m_sym = sym; } - /** - * Creates a symbol from the given string description. - * @param s the description of the symbol - * @see toString() - */ - Sym( const TQString& s ) - { init( s ); } - - /** - * Initializes the symbol with the given Qt key code. - * @param keyQt the qt key code - * @return true if successful, false otherwise - * @see Qt::Key - */ - bool initQt( int keyQt ); - - /** - * Initializes the key with the given string description. - * @param s the string description - * @return true if successful, false otherwise - * @see toString() - */ - bool init( const TQString &s ); - - /** - * Returns the qt key code of the symbol. - * @return the qt key code - */ - int qt() const; - - /** - * @internal - */ - TQString toStringInternal() const; - - /** - * Returns the string representation of the symbol. - * @return the string representation of the symbol - */ - TQString toString() const; - - /** - * Returns the mods that are required for this symbol as - * ORed KKey::ModFlag's. For example, Break requires a - * Ctrl to be valid. - * @return the required KKey::ModFlag's - * @see KKey::ModFlag - */ - uint getModsRequired() const; - - /** - * TODO: please find out what this method does and document it - */ - uint getSymVariation() const; - - /** - * Casts the symbol to its integer representation. - */ - operator uint() const { return m_sym; } - - /** - * Overloaded operator to convert ints to Sym. - */ - Sym& operator =( uint sym ) { m_sym = sym; return *this; } - - private: - TQString toString( bool bUserSpace ) const; - - static void capitalizeKeyname( TQString& ); - }; - - /** - * Represents a key press. - * @see KKey - */ - struct Key - { - /// Code for native Keys in Qt - enum { CODE_FOR_QT = 256 }; - - /// The code of the key - uint m_code; - - /// The modifiers of the key - uint m_mod; - - /// The symbol of the key - uint m_sym; - - /** - * Initializes the key with a KKey. - * @param key the key to get the data from - * @param bQt true to take the Qt keycode, false - * for the native key code - * @see Qt::Key - * @see KKeyNative - */ - bool init( const KKey& key, bool bQt ); - - /** - * Checks whether the key code is a native code. - * @return true if native code of the window system, - * false if it is a Qt keycode - * @see Qt::Key - * @see KKeyNative - */ - bool isNative() const { return m_code != CODE_FOR_QT; } - - /** - * Returns the code of the key. - * @return the code of the key - */ - uint code() const { return m_code; } - - /** - * Returns the modifiers of the key. - * @return the modifiers of the key - */ - uint mod() const { return m_mod; } - - /** - * Returns the symbol of the key. - * @return the symbol of the key - */ - uint sym() const { return m_sym; } - - /** - * Returns the qt key code. - * @return the qt key code - */ - int keyCodeQt() const { return (int) m_sym; } - - /** - * Sets the qt key code. - * @param keyQt the qt key code - */ - void setKeycodeQt( int keyQt ) - { m_code = CODE_FOR_QT; m_sym = keyQt; } - - /** - * Initializes this key with a KKeyNative. - * @return this key - */ - Key& operator =( const KKeyNative& key ); - - /** - * Compares this key with the given Key object. Returns a - * negative number if the given Key is larger, 0 if they - * are equal and a positive number this Key is larger. The - * returned value is the difference between the symbol, modifier - * or code, whatever is non-zero first. - * - * @param key the key to compare with this key - * @return a negative number if the given Key is larger, 0 if - * they are equal and a positive number this Key is larger - */ - int compare( const Key& key ) const; - - /** - * Compares the symbol, modifiers and code of both keys. - * @see compare() - */ - bool operator ==( const Key& b ) const - { return compare( b ) == 0; } - - /** - * Compares the symbol, modifiers and code of both keys. - * @see compare() - */ - bool operator <( const Key& b ) const - { return compare( b ) < 0; } - - /** - * Converts this Key to a KKey. - * @return the KKey - */ - KKey key() const; - }; - - /** - * TODO: please document this class - */ - struct Variations - { - enum { MAX_VARIATIONS = 4 }; - - Key m_rgkey[MAX_VARIATIONS]; - uint m_nVariations; - - Variations() { m_nVariations = 0; } - - void init( const KKey&, bool bQt ); - - uint count() const { return m_nVariations; } - const Key& key( uint i ) const { return m_rgkey[i]; } - }; - - /// TODO: please document - bool initializeMods(); - - /** - * Returns the equivalent X modifier mask of the given modifier flag. - * @param modFlag the generic flags to check - * @return the window system specific flags - */ - uint modX( KKey::ModFlag modFlag ); - - /** - * Returns true if the current keyboard layout supports the Win key. - * Specifically, whether the Super or Meta keys are assigned to an X modifier. - * @return true if the keyboard has a Win key - * @see modXWin() - */ - bool keyboardHasWinKey(); - - /** - * Returns the X11 Shift modifier mask/flag. - * @return the X11 Shift modifier mask/flag. - * @see accelModMaskX() - */ - uint modXShift(); - - /** - * Returns the X11 Lock modifier mask/flag. - * @return the X11 Lock modifier mask/flag. - * @see accelModMaskX() - */ - uint modXLock(); - - /** - * Returns the X11 Ctrl modifier mask/flag. - * @return the X11 Ctrl modifier mask/flag. - * @see accelModMaskX() - */ - uint modXCtrl(); - - /** - * Returns the X11 Alt (Mod1) modifier mask/flag. - * @return the X11 Alt (Mod1) modifier mask/flag. - * @see accelModMaskX() - */ - uint modXAlt(); - - /** - * Returns the X11 NumLock modifier mask/flag. - * @return the X11 NumLock modifier mask/flag. - * @see accelModMaskX() - */ - uint modXNumLock(); - - /** - * Returns the X11 Win (Mod3) modifier mask/flag. - * @return the X11 Win (Mod3) modifier mask/flag. - * @see keyboardHasWinKey() - * @see accelModMaskX() - */ - uint modXWin(); - - /** - * Returns the X11 ScrollLock modifier mask/flag. - * @return the X11 ScrollLock modifier mask/flag. - * @see accelModMaskX() - */ - uint modXScrollLock(); - - /** - * Returns bitwise OR'ed mask containing Shift, Ctrl, Alt, and - * Win (if available). - * @see modXShift() - * @see modXLock() - * @see modXCtrl() - * @see modXAlt() - * @see modXNumLock() - * @see modXWin() - * @see modXScrollLock() - */ - uint accelModMaskX(); - - /** - * Extracts the symbol from the given Qt key and - * converts it to a symbol. - * @param keyQt the qt key code - * @param sym if successful, the symbol will be written here - * @return true if successful, false otherwise - * @see Qt::Key - * @see Sym - */ - bool keyQtToSym( int keyQt, uint& sym ); - - /** - * Extracts the modifiers from the given Qt key and - * converts them in a mask of ORed KKey::ModFlag modifiers. - * @param keyQt the qt key code - * @param mod if successful, the modifiers will be written here - * @return true if successful, false otherwise - * @see Qt::Key - */ - bool keyQtToMod( int keyQt, uint& mod ); - - /** - * Converts the given symbol to a Qt key code. - * @param sym the symbol - * @param keyQt if successful, the qt key code will be written here - * @return true if successful, false otherwise - * @see Qt::Key - * @see Sym - */ - bool symToKeyQt( uint sym, int& keyQt ); - - /** - * Converts the mask of ORed KKey::ModFlag modifiers to - * a mask of ORed Qt key code modifiers. - * @param mod the mask of KKey::ModFlag modifiers - * @param modQt the mask of Qt key code modifiers will be written here, - * if successful - * @return true if successful, false otherwise - * @see Qt::Key - * @see KKey - */ - bool modToModQt( uint mod, int& modQt ); - - /** - * Converts the mask of ORed KKey::ModFlag modifiers to - * a mask of ORed X11 modifiers. - * @param mod the mask of KKey::ModFlag modifiers - * @param modX the mask of X11 modifiers will be written here, - * if successful - * @return true if successful, false otherwise - * @see KKey - */ - bool modToModX( uint mod, uint& modX ); - - /** - * Converts the mask of ORed X11 modifiers to - * a mask of ORed Qt key code modifiers. - * @param modX the mask of X11 modifiers - * @param modQt the mask of Qt key code modifiers will be written here - * if successful - * @return true if successful, false otherwise - * @see Qt::Key - */ - bool modXToModQt( uint modX, int& modQt ); - - /** - * Converts the mask of ORed X11 modifiers to - * a mask of ORed KKey::ModFlag modifiers. - * @param modX the mask of X11 modifiers - * @param mod the mask of KKey::ModFlag modifiers will be written here, - * if successful - * @return true if successful, false otherwise - * @see KKey - */ - bool modXToMod( uint modX, uint& mod ); - - /** - * Converts a X11 key code and a mask of ORed X11 modifiers - * into a X11 symbol. - * converts it to a symbol. - * @param codeX the X11 key code - * @param modX the mask of ORed X11 modifiers - * @param symX if successful, the X11 symbol will be written here - * @return true if successful, false otherwise - * @see Qt::Key - * @see Sym - */ - bool codeXToSym( uchar codeX, uint modX, uint& symX ); - - /** - * @internal - */ - TQString modToStringInternal( uint mod ); - - /** - * Converts the mask of ORed KKey::ModFlag modifiers to a - * user-readable string. - * @param mod the mask of ORed KKey::ModFlag modifiers - * @return the user-readable string - */ - TQString modToStringUser( uint mod ); - - /** - * @internal - * Unimplemented? - */ - bool stringToSymMod( const TQString&, uint& sym, uint& mod ); - - /** - * @internal - * Unimplemented? - */ - void keyQtToKeyX( uint keyCombQt, unsigned char *pKeyCodeX, uint *pKeySymX, uint *pKeyModX ); -} - -#endif // !_KKEYSERVER_X11_H diff --git a/python/pykde/extra/kde330/konsole_part.h b/python/pykde/extra/kde330/konsole_part.h deleted file mode 100644 index e264732c..00000000 --- a/python/pykde/extra/kde330/konsole_part.h +++ /dev/null @@ -1,229 +0,0 @@ -/* - This file is part of the KDE system - Copyright (C) 1999,2000 Boloni Laszlo - - This program is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. - */ - -#ifndef __KONSOLE_PART_H__ -#define __KONSOLE_PART_H__ - -#include -#include - - -#include - -#include - -//#include "schema.h" -//#include "session.h" - -class KInstance; -class konsoleBrowserExtension; -class TQPushButton; -class TQSpinBox; -class KPopupMenu; -class TQCheckBox; -class KRootPixmap; -class KToggleAction; -class KSelectAction; - -namespace KParts { class GUIActivateEvent; } - -class konsoleFactory : public KParts::Factory -{ - Q_OBJECT -public: - konsoleFactory(); - virtual ~konsoleFactory(); - - virtual KParts::Part* createPartObject(TQWidget *parentWidget = 0, const char *widgetName = 0, - TQObject* parent = 0, const char* name = 0, - const char* classname = "KParts::Part", - const TQStringList &args = TQStringList()); - - static KInstance *instance(); - - private: - static KInstance *s_instance; - static KAboutData *s_aboutData; -}; - -////////////////////////////////////////////////////////////////////// - -class konsolePart: public KParts::ReadOnlyPart, public TerminalInterface -{ - Q_OBJECT - public: - konsolePart(TQWidget *parentWidget, const char *widgetName, TQObject * parent, const char *name, const char *classname = 0); - virtual ~konsolePart(); - -signals: - void processExited(); - void receivedData( const TQString& s ); - protected: - virtual bool openURL( const KURL & url ); - virtual bool openFile() {return false;} // never used - virtual bool closeURL() {return true;} - virtual void guiActivateEvent( KParts::GUIActivateEvent * event ); - - protected slots: - void showShell(); - void slotProcessExited(); - void slotReceivedData( const TQString& s ); - -// void doneSession(TESession*); - void sessionDestroyed(); -// void configureRequest(TEWidget*,int,int x,int y); - void updateTitle(); - void enableMasterModeConnections(); - - private slots: - void emitOpenURLRequest(const TQString &url); - - void readProperties(); - void saveProperties(); - - void sendSignal(int n); - void closeCurrentSession(); - - void notifySize(int,int); - - void slotToggleFrame(); - void slotSelectScrollbar(); - void slotSelectFont(); - void schema_menu_check(); - void keytab_menu_activated(int item); - void updateSchemaMenu(); - void setSchema(int n); - void pixmap_menu_activated(int item); - void schema_menu_activated(int item); - void slotHistoryType(); - void slotSelectBell(); - void slotSelectLineSpacing(); - void slotBlinkingCursor(); - void slotWordSeps(); - void fontNotFound(); - void slotSetEncoding(); - void slotFontChanged(); - - private: - konsoleBrowserExtension *m_extension; - KURL currentURL; - - void makeGUI(); - void applySettingsToGUI(); - - void setFont(int fontno); -// void setSchema(ColorSchema* s); - void updateKeytabMenu(); - - bool doOpenStream( const TQString& ); - bool doWriteStream( const TQByteArray& ); - bool doCloseStream(); - - TQWidget* parentWidget; -// TEWidget* te; -// TESession* se; -// ColorSchemaList* colors; - KRootPixmap* rootxpm; - - KToggleAction* blinkingCursor; - KToggleAction* showFrame; - - KSelectAction* selectBell; - KSelectAction* selectFont; - KSelectAction* selectLineSpacing; - KSelectAction* selectScrollbar; - KSelectAction* selectSetEncoding; - - KPopupMenu* m_keytab; - KPopupMenu* m_schema; - KPopupMenu* m_signals; - KPopupMenu* m_options; - KPopupMenu* m_popupMenu; - - TQFont defaultFont; - - TQString pmPath; // pixmap path - TQString s_schema; - TQString s_kconfigSchema; - TQString s_word_seps; // characters that are considered part of a word - TQString fontNotFound_par; - - bool b_framevis:1; - bool b_histEnabled:1; - - int curr_schema; // current schema no - int n_bell; - int n_font; - int n_keytab; - int n_render; - int n_scroll; - unsigned m_histSize; - bool m_runningShell; - bool m_streamEnabled; - int n_encoding; - -public: - // these are the implementations for the TermEmuInterface - // functions... - void startProgram( const TQString& program, - const TQStrList& args ); - void showShellInDir( const TQString& dir ); - void sendInput( const TQString& text ); -}; - -////////////////////////////////////////////////////////////////////// - -/*class HistoryTypeDialog : public KDialogBase -{ - Q_OBJECT -public: - HistoryTypeDialog(const HistoryType& histType, - unsigned int histSize, - TQWidget *parent); - -public slots: - void slotDefault(); - void slotSetUnlimited(); - void slotHistEnable(bool); - - unsigned int nbLines() const; - bool isOn() const; - -protected: - TQCheckBox* m_btnEnable; - TQSpinBox* m_size; - TQPushButton* m_setUnlimited; -}; - -////////////////////////////////////////////////////////////////////// -*/ - -class konsoleBrowserExtension : public KParts::BrowserExtension -{ - Q_OBJECT - friend class konsolePart; - public: - konsoleBrowserExtension(konsolePart *parent); - virtual ~konsoleBrowserExtension(); - - void emitOpenURLRequest(const KURL &url); -}; - -#endif diff --git a/python/pykde/extra/kde330/kpanelmenu.h b/python/pykde/extra/kde330/kpanelmenu.h deleted file mode 100644 index 4186156b..00000000 --- a/python/pykde/extra/kde330/kpanelmenu.h +++ /dev/null @@ -1,181 +0,0 @@ -/***************************************************************** - -Copyright (c) 1996-2000 the kicker authors. See file AUTHORS. - (c) 2001 Michael Goffioul - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN -AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - -******************************************************************/ - -#ifndef __KPANELMENU_H__ -#define __KPANELMENU_H__ - -#include -#include -#include - -class KPanelMenuPrivate; - -/** - * This class allows to build menu entries that will be dynamically added either to - * the K-menu, or to the panel as a normal button. These dynamic menus are located - * in shared libraries that will be loaded at runtime by Kicker (the KDE panel). - * - * To build such a menu, you have to inherit this class and implement the pure virtual - * functions #initialize() and slotExec(). You also have to provide a factory - * object in your library, see KLibFactory. This factory is only used to construct - * the menu object. - * - * Finally, you also have to provide a desktop file describing your dynamic menu. The - * relevant entries are: Name, Comment, Icon and X-KDE-Library (which contains the - * library name without any extension). This desktop file has to be installed in - * $KDEDIR/share/apps/kicker/menuext/. - * - * @short Base class to build dynamically loaded menu entries for the K-menu, or the panel. - * @author The kicker maintainer, Michael Goffioul - */ -class KPanelMenu : public KPopupMenu -{ - Q_OBJECT - -public: - /** - * Construct a KPanelMenu object. This is the normal constructor to use when - * building extrernal menu entries. - */ - KPanelMenu(TQWidget *parent=0, const char *name=0); - /** - * Constructor used internally by Kicker. You don't really want to use it. - * @param startDir a directory to associate with this menu - * @param parent parent object - * @param name name of the object - * @see path(), setPath() - */ - KPanelMenu(const TQString &startDir, TQWidget *parent=0, const char *name=0); - /** - * Destructor. - */ - virtual ~KPanelMenu(); - - /** - * Get the directory path associated with this menu, or TQString::null if - * there's no such associated path. - * @return the associated directory path - * @see setPath() - */ - const TQString& path() const; - /** - * Set a directory path to be associated with this menu. - * @param p the directory path - * @see path() - */ - void setPath(const TQString &p); - /** - * Tell if the menu has been initialized, that is it already contains items. - * This is useful when you need to know if you have to clear the menu, or to - * fill it. - * @return the initial state - * @see setInitialized(), initialize() - */ - bool initialized() const; - /** - * Set the initial state. Set it to true when you menu is filled with the items - * you want. - * @param on the initial state - * @see initialized(), initialize() - */ - void setInitialized(bool on); - - /** - * Disable the automatic clearing of the menu. Kicker uses a cache system for - * its menus. After a specific configurable delay, the menu will be cleared. - * Use this function if you want to disable kicker's cache system, and avoid - * the clearing of your menu. - */ - void disableAutoClear(); - -public slots: - /** - * Reinitialize the menu: the menu is first cleared, the initial state is set - * to false, and finally #initialize() is called. Use this if you want to - * refill your menu immediately. - */ - void reinitialize(); - /** - * Deinitialize the menu: the menu is cleared and the initialized state is set to - * false. #initialize() is NOT called. It will be called before the menu is - * next shown, however. Use this slot if you want a delayed reinitialization. - * @since 3.1 - */ - void deinitialize(); - -protected slots: - /** - * This slot is called just before the menu is shown. This allows your menu - * to update itself if needed. However you should instead re-implement - * #initialize to provide this feature. This function is responsible for - * the cache system handling, so if you re-implement it, you should call - * the base function also. Calls #initialize(). - * @see disableAutoClear() - */ - virtual void slotAboutToShow(); - /** - * This is slot is called when an item from the menu has been selected. Your - * applet is then supposed to perform some action. You must re-implement this - * function. - * @param id the ID associated with the selected item - */ - virtual void slotExec(int id) = 0; - /** - * This slots is called to initialize the menu. It is called automatically by - * slotAboutToShow(). By re-implementing this functions, you can reconstruct - * the menu before it is being shown. At the end of this function, you should - * call setInitialize() with true to tell the system that the menu is OK. - * You applet must re-implement this function. - * @see slotAboutToShow(), initialized(), setInitialized() - */ - virtual void initialize() = 0; - /** - * Clears the menu, and update the initial state accordingly. - * @see initialized() - */ - void slotClear(); - -protected: - /** - * Re-implemented for internal reasons. - */ - virtual void hideEvent(TQHideEvent *ev); - /** - * For internal use only. Used by constructors. - */ - void init(const TQString& path = TQString::null); - -protected: - virtual void virtual_hook( int id, void* data ); -private: - void internalInitialize(); - KPanelMenuPrivate *d; -}; - -#define K_EXPORT_KICKER_MENUEXT( libname, classname ) \ - K_EXPORT_COMPONENT_FACTORY( \ - kickermenu_##libname, \ - KGenericFactory("libkickermenu_" #libname) ) - -#endif diff --git a/python/pykde/extra/kde330/krecentdirs.h b/python/pykde/extra/kde330/krecentdirs.h deleted file mode 100644 index 61a50706..00000000 --- a/python/pykde/extra/kde330/krecentdirs.h +++ /dev/null @@ -1,68 +0,0 @@ -/* -*- c++ -*- - * Copyright (C)2000 Waldo Bastian - * - * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * - * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND - * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE - * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS - * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) - * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT - * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY - * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF - * SUCH DAMAGE. - * - */ -#ifndef __KRECENTDIRS_H -#define __KRECENTDIRS_H - -#include - -/** - * The goal of this class is to make sure that, when the user needs to - * specify a file via the file selection dialog, this dialog will start - * in the directory most likely to contain the desired files. - * - * This works as follows: Each time the file selection dialog is - * shown, the programmer can specify a "file-class". The file-dialog will - * then start with the directory associated with this file-class. When - * the dialog closes, the directory currently shown in the file-dialog - * will be associated with the file-class. - * - * A file-class can either start with ':' or with '::'. If it starts with - * a single ':' the file-class is specific to the current application. - * If the file-class starts with '::' it is global to all applications. - */ -class KRecentDirs -{ -public: - /** - * Returns a list of directories associated with this file-class. - * The most recently used directory is at the front of the list. - */ - static TQStringList list(const TQString &fileClass); - - /** - * Returns the most recently used directory accociated with this file-class. - */ - static TQString dir(const TQString &fileClass); - - /** - * Associates @p directory with @p fileClass - */ - static void add(const TQString &fileClass, const TQString &directory); -}; - -#endif diff --git a/python/pykde/extra/kde330/ksharedptr.h b/python/pykde/extra/kde330/ksharedptr.h deleted file mode 100644 index da710a32..00000000 --- a/python/pykde/extra/kde330/ksharedptr.h +++ /dev/null @@ -1,175 +0,0 @@ -/* This file is part of the KDE libraries - Copyright (c) 1999 Waldo Bastian - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License version 2 as published by the Free Software Foundation. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. -*/ -#ifndef KSharedPTR_H -#define KSharedPTR_H - -/** - * Reference counting for shared objects. If you derive your object - * from this class, then you may use it in conjunction with - * KSharedPtr to control the lifetime of your object. - * - * Specifically, all classes that derive from KShared have an internal - * counter keeping track of how many other objects have a reference to - * their object. If used with KSharedPtr, then your object will - * not be deleted until all references to the object have been - * released. - * - * You should probably not ever use any of the methods in this class - * directly -- let the KSharedPtr take care of that. Just derive - * your class from KShared and forget about it. - * - * @author Waldo Bastian - * @version $Id: ksharedptr.h,v 1.23 2004/02/04 12:16:03 raabe Exp $ - */ -class KShared { -public: - /** - * Standard constructor. This will initialize the reference count - * on this object to 0. - */ - KShared() : count(0) { } - - /** - * Copy constructor. This will @em not actually copy the objects - * but it will initialize the reference count on this object to 0. - */ - KShared( const KShared & ) : count(0) { } - - /** - * Overloaded assignment operator. - */ - KShared &operator=(const KShared & ) { return *this; } - - /** - * Increases the reference count by one. - */ - void _KShared_ref() const { count++; } - - /** - * Releases a reference (decreases the reference count by one). If - * the count goes to 0, this object will delete itself. - */ - void _KShared_unref() const { if (!--count) delete this; } - - /** - * Return the current number of references held. - * - * @return Number of references - */ - int _KShared_count() const { return count; } - -protected: - virtual ~KShared() { } -private: - mutable int count; -}; - -/** - * Can be used to control the lifetime of an object that has derived - * KShared. As long a someone holds a KSharedPtr on some KShared - * object it won't become deleted but is deleted once its reference - * count is 0. This struct emulates C++ pointers virtually perfectly. - * So just use it like a simple C++ pointer. - * - * KShared and KSharedPtr are preferred over QShared / QSharedPtr - * since they are more safe. - * - * WARNING: Please note that this class template provides an implicit - * conversion to T*. Do *not* change this pointer or the pointee (don't - * call delete on it, for instance) behind KSharedPtr's back. - * - * @author Waldo Bastian - * @version $Id: ksharedptr.h,v 1.23 2004/02/04 12:16:03 raabe Exp $ - */ -template< class T > -struct KSharedPtr -{ -public: -/** - * Creates a null pointer. - */ - KSharedPtr() - : ptr(0) { } - /** - * Creates a new pointer. - * @param t the pointer - */ - KSharedPtr( T* t ) - : ptr(t) { if ( ptr ) ptr->_KShared_ref(); } - - /** - * Copies a pointer. - * @param p the pointer to copy - */ - KSharedPtr( const KSharedPtr& p ) - : ptr(p.ptr) { if ( ptr ) ptr->_KShared_ref(); } - - /** - * Unreferences the object that this pointer points to. If it was - * the last reference, the object will be deleted. - */ - ~KSharedPtr() { if ( ptr ) ptr->_KShared_unref(); } - - KSharedPtr& operator= ( const KSharedPtr& p ) { - if ( ptr == p.ptr ) return *this; - if ( ptr ) ptr->_KShared_unref(); - ptr = p.ptr; - if ( ptr ) ptr->_KShared_ref(); - return *this; - } - KSharedPtr& operator= ( T* p ) { - if ( ptr == p ) return *this; - if ( ptr ) ptr->_KShared_unref(); - ptr = p; - if ( ptr ) ptr->_KShared_ref(); - return *this; - } - bool operator== ( const KSharedPtr& p ) const { return ( ptr == p.ptr ); } - bool operator!= ( const KSharedPtr& p ) const { return ( ptr != p.ptr ); } - bool operator== ( const T* p ) const { return ( ptr == p ); } - bool operator!= ( const T* p ) const { return ( ptr != p ); } - bool operator!() const { return ( ptr == 0 ); } - operator T*() const { return ptr; } - - /** - * Returns the pointer. - * @return the pointer - */ - T* data() { return ptr; } - - /** - * Returns the pointer. - * @return the pointer - */ - const T* data() const { return ptr; } - - const T& operator*() const { return *ptr; } - T& operator*() { return *ptr; } - const T* operator->() const { return ptr; } - T* operator->() { return ptr; } - - /** - * Returns the number of references. - * @return the number of references - */ - int count() const { return ptr->_KShared_count(); } // for debugging purposes -private: - T* ptr; -}; - -#endif diff --git a/python/pykde/extra/kde330/ksycocafactory.h b/python/pykde/extra/kde330/ksycocafactory.h deleted file mode 100644 index 2a114ee0..00000000 --- a/python/pykde/extra/kde330/ksycocafactory.h +++ /dev/null @@ -1,143 +0,0 @@ -/* This file is part of the KDE libraries - * Copyright (C) 1999 Waldo Bastian - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License version 2 as published by the Free Software Foundation; - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public License - * along with this library; see the file COPYING.LIB. If not, write to - * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - * Boston, MA 02110-1301, USA. - **/ - -#ifndef __ksycocafactory_h__ -#define __ksycocafactory_h__ "$Id: ksycocafactory.h,v 1.14 2003/10/29 17:59:18 waba Exp $" - -#include "ksycocatype.h" -#include "ksycocaentry.h" - -#include -#include -class KSycoca; -class TQStringList; -class TQString; -class KSycocaDict; -class KSycocaResourceList; - -typedef TQDict KSycocaEntryDict; - -/** - * @internal - * Base class for sycoca factories - */ -class KSycocaFactory -{ -public: - virtual KSycocaFactoryId factoryId() const = 0; - -protected: // virtual class - /** - * Create a factory which can be used to lookup from/create a database - * (depending on KSycoca::isBuilding()) - */ - KSycocaFactory( KSycocaFactoryId factory_id ); - -public: - virtual ~KSycocaFactory(); - - /** - * @return the position of the factory in the sycoca file - */ - int offset() { return mOffset; } - - /** - * @return the dict, for special use by KBuildSycoca - */ - KSycocaEntryDict * entryDict() { return m_entryDict; } - - /** - * Construct an entry from a config file. - * To be implemented in the real factories. - */ - virtual KSycocaEntry *createEntry(const TQString &file, const char *resource) = 0; - - /** - * Add an entry - */ - virtual void addEntry(KSycocaEntry *newEntry, const char *resource); - - /** - * Remove an entry - * Not very fast, use with care. O(N) - */ - void removeEntry(KSycocaEntry *newEntry); - - /** - * Read an entry from the database - */ - virtual KSycocaEntry *createEntry(int offset)=0; - - /** - * Get a list of all entries from the database. - */ - KSycocaEntry::List allEntries(); - - /** - * Saves all entries it maintains as well as index files - * for these entries to the stream 'str'. - * - * Also sets mOffset to the starting position. - * - * The stream is positioned at the end of the last index. - * - * Don't forget to call the parent first when you override - * this function. - */ - virtual void save(TQDataStream &str); - - /** - * Writes out a header to the stream 'str'. - * The baseclass positions the stream correctly. - * - * Don't forget to call the parent first when you override - * this function. - */ - virtual void saveHeader(TQDataStream &str); - - /** - * @return the resources for which this factory is responsible. - */ - virtual const KSycocaResourceList * resourceList() const { return m_resourceList; } - -private: - int mOffset; - -protected: - int m_sycocaDictOffset; - int m_beginEntryOffset; - int m_endEntryOffset; - TQDataStream *m_str; - - KSycocaResourceList *m_resourceList; - KSycocaEntryDict *m_entryDict; - KSycocaDict *m_sycocaDict; -protected: - virtual void virtual_hook( int id, void* data ); -}; - -/** This, instead of a typedef, allows to declare "class ..." in header files - * @internal - */ -class KSycocaFactoryList : public TQPtrList -{ -public: - KSycocaFactoryList() { } -}; - -#endif diff --git a/python/pykde/extra/kde330/ktoolbarbutton.h b/python/pykde/extra/kde330/ktoolbarbutton.h deleted file mode 100644 index f6b899fb..00000000 --- a/python/pykde/extra/kde330/ktoolbarbutton.h +++ /dev/null @@ -1,315 +0,0 @@ -/* This file is part of the KDE libraries - Copyright (C) 1997, 1998 Stephan Kulow (coolo@kde.org) - (C) 1997, 1998 Sven Radej (radej@kde.org) - (C) 1997, 1998 Mark Donohoe (donohoe@kde.org) - (C) 1997, 1998 Matthias Ettrich (ettrich@kde.org) - (C) 2000 Kurt Granroth (granroth@kde.org) - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License version 2 as published by the Free Software Foundation. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. -*/ - -#ifndef _KTOOLBARBUTTON_H -#define _KTOOLBARBUTTON_H - -#include -#include -#include -#include -#include - -class KToolBar; -class KToolBarButtonPrivate; -class KInstance; -class TQEvent; -class TQPopupMenu; -class TQPainter; - -/** - * A toolbar button. This is used internally by KToolBar, use the - * KToolBar methods instead. - * @internal - */ -class KToolBarButton : public QToolButton -{ - Q_OBJECT - -public: - /** - * Construct a button with an icon loaded by the button itself. - * This will trust the button to load the correct icon with the - * correct size. - * - * @param icon Name of icon to load (may be absolute or relative) - * @param id Id of this button - * @param parent This button's parent - * @param name This button's internal name - * @param txt This button's text (in a tooltip or otherwise) - * @param _instance the instance to use for this button - */ - KToolBarButton(const TQString& icon, int id, TQWidget *parent, - const char *name=0L, const TQString &txt=TQString::null, - KInstance *_instance = KGlobal::instance()); - - /** - * Construct a button with an existing pixmap. It is not - * recommended that you use this as the internal icon loading code - * will almost always get it "right". - * - * @param pixmap Name of icon to load (may be absolute or relative) - * @param id Id of this button - * @param parent This button's parent - * @param name This button's internal name - * @param txt This button's text (in a tooltip or otherwise) - */ - KToolBarButton(const TQPixmap& pixmap, int id, TQWidget *parent, - const char *name=0L, const TQString &txt=TQString::null); - - /** - * Construct a separator button - * - * @param parent This button's parent - * @param name This button's internal name - */ - KToolBarButton(TQWidget *parent=0L, const char *name=0L); - - /** - * Standard destructor - */ - ~KToolBarButton(); - -#ifndef KDE_NO_COMPAT - /** - * @deprecated - * Set the pixmap directly for this button. This pixmap should be - * the active one... the dimmed and disabled pixmaps are constructed - * based on this one. However, don't use this function unless you - * are positive that you don't want to use setIcon. - * - * @param pixmap The active pixmap - */ - // this one is from TQButton, so #ifdef-ing it out doesn't break BC - virtual void setPixmap(const TQPixmap &pixmap) KDE_DEPRECATED; - - /** - * @deprecated - * Force the button to use this pixmap as the default one rather - * then generating it using effects. - * - * @param pixmap The pixmap to use as the default (normal) one - */ - void setDefaultPixmap(const TQPixmap& pixmap) KDE_DEPRECATED; - - /** - * @deprecated - * Force the button to use this pixmap when disabled one rather then - * generating it using effects. - * - * @param pixmap The pixmap to use when disabled - */ - void setDisabledPixmap(const TQPixmap& pixmap) KDE_DEPRECATED; -#endif - - /** - * Set the text for this button. The text will be either used as a - * tooltip (IconOnly) or will be along side the icon - * - * @param text The button (or tooltip) text - */ - virtual void setText(const TQString &text); - - /** - * Set the icon for this button. The icon will be loaded internally - * with the correct size. This function is preferred over setIconSet - * - * @param icon The name of the icon - */ - virtual void setIcon(const TQString &icon); - - /// @since 3.1 - virtual void setIcon( const TQPixmap &pixmap ) - { TQToolButton::setIcon( pixmap ); } - - /** - * Set the pixmaps for this toolbar button from a TQIconSet. - * If you call this you don't need to call any of the other methods - * that set icons or pixmaps. - * @param iconset The iconset to use - */ - virtual void setIconSet( const TQIconSet &iconset ); - -#ifndef KDE_NO_COMPAT - /** - * @deprecated - * Set the active icon for this button. The pixmap itself is loaded - * internally based on the icon size... .. the disabled and default - * pixmaps, however will only be constructed if generate is - * true. This function is preferred over setPixmap - * - * @param icon The name of the active icon - * @param generate If true, then the other icons are automagically - * generated from this one - */ - KDE_DEPRECATED void setIcon(const TQString &icon, bool generate ) { Q_UNUSED(generate); setIcon( icon ); } - - /** - * @deprecated - * Force the button to use this icon as the default one rather - * then generating it using effects. - * - * @param icon The icon to use as the default (normal) one - */ - void setDefaultIcon(const TQString& icon) KDE_DEPRECATED; - - /** - * @deprecated - * Force the button to use this icon when disabled one rather then - * generating it using effects. - * - * @param icon The icon to use when disabled - */ - void setDisabledIcon(const TQString& icon) KDE_DEPRECATED; -#endif - - /** - * Turn this button on or off - * - * @param flag true or false - */ - void on(bool flag = true); - - /** - * Toggle this button - */ - void toggle(); - - /** - * Turn this button into a toggle button or disable the toggle - * aspects of it. This does not toggle the button itself. - * Use toggle() for that. - * - * @param toggle true or false - */ - void setToggle(bool toggle = true); - - /** - * Return a pointer to this button's popup menu (if it exists) - */ - TQPopupMenu *popup(); - - /** - * Returns the button's id. - * @since 3.2 - */ - int id() const; - - /** - * Give this button a popup menu. There will not be a delay when - * you press the button. Use setDelayedPopup if you want that - * behavior. - * - * @param p The new popup menu - * @param unused Has no effect - ignore it. - */ - void setPopup (TQPopupMenu *p, bool unused = false); - - /** - * Gives this button a delayed popup menu. - * - * This function allows you to add a delayed popup menu to the button. - * The popup menu is then only displayed when the button is pressed and - * held down for about half a second. - * - * @param p the new popup menu - * @param unused Has no effect - ignore it. - */ - void setDelayedPopup(TQPopupMenu *p, bool unused = false); - - /** - * Turn this button into a radio button - * - * @param f true or false - */ - void setRadio(bool f = true); - - /** - * Toolbar buttons naturally will assume the global styles - * concerning icons, icons sizes, etc. You can use this function to - * explicitly turn this off, if you like. - * - * @param no_style Will disable styles if true - */ - void setNoStyle(bool no_style = true); - -signals: - void clicked(int); - void doubleClicked(int); - void pressed(int); - void released(int); - void toggled(int); - void highlighted(int, bool); - -public slots: - /** - * This slot should be called whenever the toolbar mode has - * potentially changed. This includes such events as text changing, - * orientation changing, etc. - */ - void modeChange(); - virtual void setTextLabel(const TQString&, bool tipToo); - -protected: - void paletteChange(const TQPalette &); - void leaveEvent(TQEvent *e); - void enterEvent(TQEvent *e); - void drawButton(TQPainter *p); - bool eventFilter (TQObject *o, TQEvent *e); - void showMenu(); - TQSize sizeHint() const; - TQSize minimumSizeHint() const; - TQSize minimumSize() const; - - /// @since 3.1 - bool isRaised() const; - /// @since 3.1 - bool isActive() const; - /// @since 3.1 - int iconTextMode() const; - -protected slots: - void slotClicked(); - void slotPressed(); - void slotReleased(); - void slotToggled(); - void slotDelayTimeout(); - -protected: - virtual void virtual_hook( int id, void* data ); -private: - KToolBarButtonPrivate *d; -}; - -/** -* List of KToolBarButton objects. -* @internal -* @version $Id: ktoolbarbutton.h,v 1.36 2004/03/18 02:50:16 bmeyer Exp $ -*/ -class KToolBarButtonList : public TQIntDict -{ -public: - KToolBarButtonList(); - ~KToolBarButtonList() {} -}; - -#endif diff --git a/python/pykde/extra/kde330/kurifilter.h b/python/pykde/extra/kde330/kurifilter.h deleted file mode 100644 index 834bff8a..00000000 --- a/python/pykde/extra/kde330/kurifilter.h +++ /dev/null @@ -1,644 +0,0 @@ -/* - * This file is part of the KDE libraries - * Copyright (C) 2000-2001,2003 Dawit Alemayehu - * - * Original author - * Copyright (C) 2000 Yves Arrouye - * - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public License - * along with this library; see the file COPYING.LIB. If not, write to - * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - * Boston, MA 02110-1301, USA. - **/ - -#ifndef __kurifilter_h__ -#define __kurifilter_h__ "$Id: kurifilter.h,v 1.41 2003/08/30 08:56:21 raabe Exp $" - -#include -#include -#include - -#include -#include - -class KURIFilterPrivate; -class KURIFilterDataPrivate; - -class KCModule; - -/** -* A basic message object used for exchanging filtering -* information between the filter plugins and the application -* requesting the filtering service. -* -* Use this object if you require a more detailed information -* about the URI you want to filter. Any application can create -* an instance of this class and send it to KURIFilter to -* have the plugins fill out all possible information about the -* URI. -* -* \b Example -* -* \code -* TQString text = "kde.org"; -* KURIFilterData d = text; -* bool filtered = KURIFilter::self()->filter( d ); -* cout << "URL: " << text.latin1() << endl -* << "Filtered URL: " << d.uri().url().latin1() << endl -* << "URI Type: " << d.uriType() << endl -* << "Was Filtered: " << filtered << endl; -* \endcode -* -* The above code should yield the following output: -* \code -* URI: kde.org -* Filtered URI: http://kde.org -* URI Type: 0 <== means NET_PROTOCOL -* Was Filtered: 1 <== means the URL was successfully filtered -* \endcode -* -* @short A message object for exchanging filtering URI info. -* @author Dawit Alemayehu -*/ - -class KURIFilterData -{ -friend class KURIFilterPlugin; - -public: - /** - * Describes the type of the URI that was filtered. - * Here is a brief description of the types: - * - * @li NET_PROTOCOL - Any network protocol: http, ftp, nttp, pop3, etc... - * @li LOCAL_FILE - A local file whose executable flag is not set - * @li LOCAL_DIR - A local directory - * @li EXECUTABLE - A local file whose executable flag is set - * @li HELP - A man or info page - * @li SHELL - A shell executable (ex: echo "Test..." >> ~/testfile) - * @li BLOCKED - A URI that should be blocked/filtered (ex: ad filtering) - * @li ERROR - An incorrect URI (ex: "~johndoe" when user johndoe - * does not exist in that system ) - * @li UNKNOWN - A URI that is not identified. Default value when - * a KURIFilterData is first created. - */ - enum URITypes { NET_PROTOCOL=0, LOCAL_FILE, LOCAL_DIR, EXECUTABLE, HELP, SHELL, BLOCKED, ERROR, UNKNOWN }; - - /** - * Default constructor. - * - * Creates a URIFilterData object. - */ - KURIFilterData() { init(); } - - /** - * Creates a URIFilterData object from the given URL. - * - * @param url is the URL to be filtered. - */ - KURIFilterData( const KURL& url ) { init( url); } - - /** - * Creates a URIFilterData object from the given string. - * - * @param url is the string to be filtered. - */ - KURIFilterData( const TQString& url ) { init( url ); } - - /** - * Copy constructor. - * - * Creates a URIFilterData object from another - * URI filter data object. - * - * @param data the uri filter data to be copied. - */ - KURIFilterData( const KURIFilterData& data); - - /** - * Destructor. - */ - ~KURIFilterData(); - - /** - * This method has been deprecated and will always return - * true. You should instead use the result from the - * KURIFilter::filterURI() calls. - * - * @deprecated - */ - KDE_DEPRECATED bool hasBeenFiltered() const { return true; } - - /** - * Returns the filtered or the original URL. - * - * This function returns the filtered url if one - * of the plugins successfully filtered the original - * URL. Otherwise, it returns the original URL. - * See hasBeenFiltered() and - * - * @return the filtered or original url. - */ - KURL uri() const { return m_pURI; } - - /** - * Returns an error message. - * - * This functions returns the error message set - * by the plugin whenever the uri type is set to - * KURIFilterData::ERROR. Otherwise, it returns - * a TQString::null. - * - * @return the error message or a NULL when there is none. - */ - TQString errorMsg() const { return m_strErrMsg; } - - /** - * Returns the URI type. - * - * This method always returns KURIFilterData::UNKNOWN - * if the given URL was not filtered. - * @return the type of the URI - */ - URITypes uriType() const { return m_iType; } - - /** - * Sets the URL to be filtered. - * - * Use this function to set the string to be - * filtered when you construct an empty filter - * object. - * - * @param url the string to be filtered. - */ - void setData( const TQString& url ) { init( url ); } - - /** - * Same as above except the argument is a URL. - * - * Use this function to set the string to be - * filtered when you construct an empty filter - * object. - * - * @param url the URL to be filtered. - */ - void setData( const KURL& url ) { init( url ); } - - /** - * Sets the absolute path to be used whenever the supplied - * data is a relative local URL. - * - * NOTE: This function should only be used for local resources, - * i.e. the "file:/" protocol. It is useful for specifying the - * absolute path in cases where the actual URL might be relative. - * meta object. If deriving the path from a KURL, make sure you - * set the argument for this function to the result of calling - * path () instead of url (). - * - * @param abs_path the abolute path to the local resource. - * @return true if absolute path is successfully set. Otherwise, false. - */ - bool setAbsolutePath( const TQString& abs_path ); - - /** - * Returns the absolute path if one has already been set. - * @return the absolute path, or TQString::null - * @see hasAbsolutePath() - */ - TQString absolutePath() const; - - /** - * Checks whether the supplied data had an absolute path. - * @return true if the supplied data has an absolute path - * @see absolutePath() - */ - bool hasAbsolutePath() const; - - /** - * Returns the command line options and arguments for a - * local resource when present. - * - * @return options and arguments when present, otherwise TQString::null - */ - TQString argsAndOptions() const; - - /** - * Checks whether the current data is a local resource with - * command line options and arguments. - * @return true if the current data has command line options and arguments - */ - bool hasArgsAndOptions() const; - - /** - * Returns the name of the icon that matches - * the current filtered URL. - * - * NOTE that this function will return a NULL - * string by default and when no associated icon - * is found. - * - * @return the name of the icon associated with the resource, - * or TQString::null if not found - */ - TQString iconName(); - - /** - * Check whether the provided uri is executable or not. - * - * Setting this to false ensures that typing the name of - * an executable does not start that application. This is - * useful in the location bar of a browser. The default - * value is true. - * - * @since 3.2 - */ - void setCheckForExecutables (bool check); - - /** - * @return true if the filters should attempt to check whether the - * supplied uri is an executable. False otherwise. - * - * @since 3.2 - */ - bool checkForExecutables() const { return m_bCheckForExecutables; } - - /** - * @return the string as typed by the user, before any URL processing is done - * @since 3.2 - */ - TQString typedString() const; - - /** - * Overloaded assigenment operator. - * - * This function allows you to easily assign a KURL - * to a KURIFilterData object. - * - * @return an instance of a KURIFilterData object. - */ - KURIFilterData& operator=( const KURL& url ) { init( url ); return *this; } - - /** - * Overloaded assigenment operator. - * - * This function allows you to easily assign a QString - * to a KURIFilterData object. - * - * @return an instance of a KURIFilterData object. - */ - KURIFilterData& operator=( const TQString& url ) { init( url ); return *this; } - -protected: - - /** - * Initializes the KURIFilterData on construction. - * @param url the URL to initialize the object with - */ - void init( const KURL& url); - - /** - * Initializes the KURIFilterData on construction. - * @param url the URL to initialize the object with - */ - void init( const TQString& url = TQString::null ); - -private: - bool m_bCheckForExecutables; - bool m_bChanged; - - TQString m_strErrMsg; - TQString m_strIconName; - - KURL m_pURI; - URITypes m_iType; - KURIFilterDataPrivate *d; -}; - - -/** - * Base class for URI filter plugins. - * - * This class applies a single filter to a URI. All plugins designed - * to provide URI filtering service should inherit from this abstract - * class and provide a concrete implementation. - * - * All inheriting classes need to implement the pure virtual function - * filterURI. - * - * @short Abstract class for URI filter plugins. - */ -class KURIFilterPlugin : public QObject -{ - Q_OBJECT - -public: - - /** - * Constructs a filter plugin with a given name and - * priority. - * - * @param parent the parent object, or 0 for no parent - * @param name the name of the plugin, or 0 for no name - * @param pri the priority of the plugin. - */ - KURIFilterPlugin( TQObject *parent = 0, const char *name = 0, double pri = 1.0 ); - - /** - * Returns the filter's name. - * - * @return A string naming the filter. - */ - virtual TQString name() const { return m_strName; } - - /** - * Returns the filter's priority. - * - * Each filter has an assigned priority, a float from 0 to 1. Filters - * with the lowest priority are first given a chance to filter a URI. - * - * @return The priority of the filter. - */ - virtual double priority() const { return m_dblPriority; } - - /** - * Filters a URI. - * - * @param data the URI data to be filtered. - * @return A boolean indicating whether the URI has been changed. - */ - virtual bool filterURI( KURIFilterData& data ) const = 0; - - /** - * Creates a configuration module for the filter. - * - * It is the responsibility of the caller to delete the module - * once it is not needed anymore. - * - * @return A configuration module, 0 if the filter isn't configurable. - */ - virtual KCModule *configModule( TQWidget*, const char* ) const { return 0; } - - /** - * Returns the name of the configuration module for the filter. - * - * @return the name of a configuration module or TQString::null if none. - */ - virtual TQString configName() const { return name(); } - -protected: - - /** - * Sets the the URL in @p data to @p uri. - */ - void setFilteredURI ( KURIFilterData& data, const KURL& uri ) const; - - /** - * Sets the error message in @p data to @p errormsg. - */ - void setErrorMsg ( KURIFilterData& data, const TQString& errmsg ) const { - data.m_strErrMsg = errmsg; - } - - /** - * Sets the URI type in @p data to @p type. - */ - void setURIType ( KURIFilterData& data, KURIFilterData::URITypes type) const { - data.m_iType = type; - data.m_bChanged = true; - } - - /** - * Sets the arguments and options string in @p data - * to @p args if any were found during filterting. - */ - void setArguments( KURIFilterData& data, const TQString& args ) const; - - TQString m_strName; - double m_dblPriority; - -protected: - virtual void virtual_hook( int id, void* data ); -private: - class KURIFilterPluginPrivate *d; -}; - - -/** - * A list of filter plugins. - */ -class KURIFilterPluginList : public TQPtrList -{ -public: - virtual int compareItems(Item a, Item b) - { - double diff = ((KURIFilterPlugin *) a)->priority() - ((KURIFilterPlugin *) b)->priority(); - return diff < 0 ? -1 : (diff > 0 ? 1 : 0); - } - -private: - KURIFilterPrivate *d; - -}; - -/** - * Manages the filtering of URIs. - * - * The intention of this plugin class is to allow people to extend the - * functionality of KURL without modifying it directly. This way KURL will - * remain a generic parser capable of parsing any generic URL that adheres - * to specifications. - * - * The KURIFilter class applies a number of filters to a URI and returns the - * filtered version whenever possible. The filters are implemented using - * plugins to provide easy extensibility of the filtering mechanism. New - * filters can be added in the future by simply inheriting from - * KURIFilterPlugin and implementing the KURIFilterPlugin::filterURI - * method. - * - * Use of this plugin-manager class is straight forward. Since it is a - * singleton object, all you have to do is obtain an instance by doing - * @p KURIFilter::self() and use any of the public member functions to - * preform the filtering. - * - * \b Example - * - * To simply filter a given string: - * - * \code - * bool filtered = KURIFilter::self()->filterURI( "kde.org" ); - * \endcode - * - * You can alternatively use a KURL: - * - * \code - * KURL url = "kde.org"; - * bool filtered = KURIFilter::self()->filterURI( url ); - * \endcode - * - * If you have a constant string or a constant URL, simply invoke the - * corresponding function to obtain the filtered string or URL instead - * of a boolean flag: - * - * \code - * TQString u = KURIFilter::self()->filteredURI( "kde.org" ); - * \endcode - * - * You can also restrict the filter(s) to be used by supplying - * the name of the filter(s) to use. By defualt all available - * filters will be used. To use specific filters, add the names - * of the filters you want to use to a TQStringList and invoke - * the appropriate filtering function. The examples below show - * the use of specific filters. The first one uses a single - * filter called kshorturifilter while the second example uses - * multiple filters: - * - * \code - * TQString text = "kde.org"; - * bool filtered = KURIFilter::self()->filterURI( text, "kshorturifilter" ); - * \endcode - * - * \code - * TQStringList list; - * list << "kshorturifilter" << "localdomainfilter"; - * bool filtered = KURIFilter::self()->filterURI( text, list ); - * \endcode - * - * KURIFilter also allows richer data exchange through a simple - * meta-object called @p KURIFilterData. Using this meta-object - * you can find out more information about the URL you want to - * filter. See KURIFilterData for examples and details. - * - * @short Filters a given URL into its proper format whenever possible. - */ - -class KURIFilter -{ -public: - /** - * Destructor - */ - ~KURIFilter (); - - /** - * Returns an instance of KURIFilter. - */ - static KURIFilter* self(); - - /** - * Filters the URI given by the object URIFilterData. - * - * The given URL is filtered based on the specified list of filters. - * If the list is empty all available filters would be used. - * - * @param data object that contains the URI to be filtered. - * @param filters specify the list of filters to be used. - * - * @return a boolean indicating whether the URI has been changed - */ - bool filterURI( KURIFilterData& data, const TQStringList& filters = TQStringList() ); - - /** - * Filters the URI given by the URL. - * - * The given URL is filtered based on the specified list of filters. - * If the list is empty all available filters would be used. - * - * @param uri the URI to filter. - * @param filters specify the list of filters to be used. - * - * @return a boolean indicating whether the URI has been changed - */ - bool filterURI( KURL &uri, const TQStringList& filters = TQStringList() ); - - /** - * Filters a string representing a URI. - * - * The given URL is filtered based on the specified list of filters. - * If the list is empty all available filters would be used. - * - * @param uri The URI to filter. - * @param filters specify the list of filters to be used. - * - * @return a boolean indicating whether the URI has been changed - */ - bool filterURI( TQString &uri, const TQStringList& filters = TQStringList() ); - - /** - * Returns the filtered URI. - * - * The given URL is filtered based on the specified list of filters. - * If the list is empty all available filters would be used. - * - * @param uri The URI to filter. - * @param filters specify the list of filters to be used. - * - * @return the filtered URI or null if it cannot be filtered - */ - KURL filteredURI( const KURL &uri, const TQStringList& filters = TQStringList() ); - - /** - * Return a filtered string representation of a URI. - * - * The given URL is filtered based on the specified list of filters. - * If the list is empty all available filters would be used. - * - * @param uri the URI to filter. - * @param filters specify the list of filters to be used. - * - * @return the filtered URI or null if it cannot be filtered - */ - TQString filteredURI( const TQString &uri, const TQStringList& filters = TQStringList() ); - - /** - * Return an iterator to iterate over all loaded - * plugins. - * - * @return a plugin iterator. - */ - TQPtrListIterator pluginsIterator() const; - - /** - * Return a list of the names of all loaded plugins. - * - * @return a TQStringList of plugin names - * @since 3.1 - */ - TQStringList pluginNames() const; - -protected: - - /** - * A protected constructor. - * - * This constructor creates a KURIFilter and - * initializes all plugins it can find by invoking - * loadPlugins. - */ - KURIFilter(); - - /** - * Loads all allowed plugins. - * - * This function loads all filters that have not - * been disbled. - */ - void loadPlugins(); - -private: - static KURIFilter *m_self; - KURIFilterPluginList m_lstPlugins; - KURIFilterPrivate *d; -}; - -#endif diff --git a/python/pykde/extra/kde330/selectdialog.h b/python/pykde/extra/kde330/selectdialog.h deleted file mode 100644 index 680d48ef..00000000 --- a/python/pykde/extra/kde330/selectdialog.h +++ /dev/null @@ -1,87 +0,0 @@ -/* - This file is part of libkresources. - - Copyright (c) 2002 Tobias Koenig - Copyright (c) 2002 Jan-Pascal van Best - Copyright (c) 2003 Cornelius Schumacher - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. -*/ - -#ifndef KRESOURCES_SELECTDIALOG_H -#define KRESOURCES_SELECTDIALOG_H - -#include -#include -#include - -#include - -class KListBox; - -namespace KRES { - -class Resource; - -/** - * Dialog for selecting a resource. - * - * Example: - * - * \code - * - * TQPtrList list = ... // can be retrived from KRES::Manager (e.g. KABC::AddressBook) - * - * KABC::Resource *res = KABC::SelectDialog::getResource( list, parentWdg ); - * if ( !res ) { - * // no resource selected - * } else { - * // do something with resource - * } - * \endcode - */ -class SelectDialog -{ - public: - /** - * Constructor. - * @param list The list of available resources - * @param parent The parent widget - * @param name The name of the dialog - */ - SelectDialog( TQPtrList list, TQWidget *parent = 0, - const char *name = 0); - - /** - * Returns selected resource. - */ - Resource *resource(); - - /** - * Opens a dialog showing the available resources and returns the resource the - * user has selected. Returns 0, if the dialog was canceled. - */ - static Resource *getResource( TQPtrList list, TQWidget *parent = 0 ); - - private: - KListBox *mResourceId; - - TQMap mResourceMap; -}; - -} - -#endif diff --git a/python/pykde/extra/kde331/configwidget.h b/python/pykde/extra/kde331/configwidget.h deleted file mode 100644 index e289743a..00000000 --- a/python/pykde/extra/kde331/configwidget.h +++ /dev/null @@ -1,58 +0,0 @@ -/* - This file is part of libkresources. - Copyright (c) 2002 Tobias Koenig - Copyright (c) 2002 Jan-Pascal van Best - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. -*/ - -#ifndef KRESOURCES_CONFIGWIDGET_H -#define KRESOURCES_CONFIGWIDGET_H - -#include "resource.h" - -#include - -#include - -namespace KRES { - -class ConfigWidget : public QWidget -{ - Q_OBJECT - public: - ConfigWidget( TQWidget *parent = 0, const char *name = 0 ); - - /** - Sets the widget to 'edit' mode. Reimplement this method if you are - interested in the mode change (to disable some GUI element for - example). By default the widget is in 'create new' mode. - */ - virtual void setInEditMode( bool value ); - - public slots: - virtual void loadSettings( Resource *resource ) = 0; - virtual void saveSettings( Resource *resource ) = 0; - - signals: - void setReadOnly( bool value ); - - protected: - Resource *mResource; -}; - -} -#endif diff --git a/python/pykde/extra/kde331/kaccelaction.h b/python/pykde/extra/kde331/kaccelaction.h deleted file mode 100644 index 0418297c..00000000 --- a/python/pykde/extra/kde331/kaccelaction.h +++ /dev/null @@ -1,564 +0,0 @@ -/* This file is part of the KDE libraries - Copyright (C) 2001,2002 Ellis Whitehead - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. -*/ - -#ifndef _KACCELACTION_H -#define _KACCELACTION_H - -#include -#include -#include -#include - -#include - -class KAccelBase; - -class TQObject; -class KConfig; -class KConfigBase; - -/** - * @internal - * A KAccelAction prepresents an action that can be executed using - * an accelerator key. Each KAccelAction has a name, a label, a - * "What's this" string and a KShortcut. The user can configure and - * enable/disable them using KKeyDialog. - * - * \code - * 1) KAccelAction = "Run Command" - * Default3 = "Alt+F2" - * Default4 = "Meta+Enter;Alt+F2" - * 1) KShortcut = "Meta+Enter" - * 1) KKeySequence = "Meta+Enter" - * 1) KKey = "Meta+Enter" - * 1) Meta+Enter - * 2) Meta+Keypad_Enter - * 2) KShortcut = "Alt+F2" - * 1) KKeySequence = "Alt+F2" - * 1) Alt+F2 - * 2) KAccelAction = "Something" - * Default3 = "" - * Default4 = "" - * 1) KShortcut = "Meta+X,Asterisk" - * 1) KKeySequence = "Meta+X,Asterisk" - * 1) KKey = "Meta+X" - * 1) Meta+X - * 2) KKey = "Asterisk" - * 1) Shift+8 (English layout) - * 2) Keypad_Asterisk - * \endcode - * @short An accelerator action - * @see KAccel - * @see KGlobalAccel - * @see KKeyChooser - * @see KKeyDialog - */ -class KAccelAction -{ - public: - /** - * Creates an empty KAccelAction. - * @see clear() - */ - KAccelAction(); - - /** - * Copy constructor. - */ - KAccelAction( const KAccelAction& ); - - /** - * Creates a new KAccelAction. - * @param sName the name of the accelerator - * @param sLabel the label of the accelerator (i18n!) - * @param sWhatsThis the What's This text (18n!) - * @param cutDef3 the default shortcut for 3 modifier systems - * @param cutDef4 the default shortcut for 4 modifier systems - * @param pObjSlot the receiver of a signal when the key has been - * pressed - * @param psMethodSlot the slot to connect for key presses. Receives - * an int, as set by setID(), as only argument - * @param bConfigurable if true the user can configure the shortcut - * @param bEnabled true if the accelerator should be enabled - */ - KAccelAction( const TQString& sName, const TQString& sLabel, const TQString& sWhatsThis, - const KShortcut& cutDef3, const KShortcut& cutDef4, - const TQObject* pObjSlot, const char* psMethodSlot, - bool bConfigurable, bool bEnabled ); - ~KAccelAction(); - - /** - * Clears the accelerator. - */ - void clear(); - - /** - * Re-initialized the KAccelAction. - * @param sName the name of the accelerator - * @param sLabel the label of the accelerator (i18n!) - * @param sWhatsThis the What's This text (18n!) - * @param cutDef3 the default shortcut for 3 modifier systems - * @param cutDef4 the default shortcut for 4 modifier systems - * @param pObjSlot the receiver of a signal when the key has been - * pressed - * @param psMethodSlot the slot to connect for key presses. Receives - * an int, as set by setID(), as only argument - * @param bConfigurable if true the user can configure the shortcut - * @param bEnabled true if the accelerator should be enabled - * @return true if successful, false otherwise - */ - bool init( const TQString& sName, const TQString& sLabel, const TQString& sWhatsThis, - const KShortcut& cutDef3, const KShortcut& cutDef4, - const TQObject* pObjSlot, const char* psMethodSlot, - bool bConfigurable, bool bEnabled ); - - /** - * Copies this KAccelAction. - */ - KAccelAction& operator=( const KAccelAction& ); - - /** - * Returns the name of the accelerator action. - * @return the name of the accelerator action, can be null if not - * set - */ - const TQString& name() const { return m_sName; } - - /** - * Returns the label of the accelerator action. - * @return the label of the accelerator action, can be null if - * not set - */ - const TQString& label() const { return m_sLabel; } - - /** - * Returns the What's This text of the accelerator action. - * @return the What's This text of the accelerator action, can be - * null if not set - */ - const TQString& whatsThis() const { return m_sWhatsThis; } - - /** - * The shortcut that is actually used (may be used configured). - * @return the shortcut of the KAccelAction, can be null if not set - * @see shortcutDefault() - */ - const KShortcut& shortcut() const { return m_cut; } - - /** - * The default shortcut for this system. - * @return the default shortcut on this system, can be null if not set - * @see shortcut() - * @see shortcutDefault3() - * @see shortcutDefault4() - */ - const KShortcut& shortcutDefault() const; - - /** - * The default shortcut for 3 modifier systems. - * @return the default shortcut for 3 modifier systems, can be null - * if not set - * @see shortcutDefault() - * @see shortcutDefault4() - * @see useFourModifierKeys() - */ - const KShortcut& shortcutDefault3() const { return m_cutDefault3; } - - /** - * The default shortcut for 4 modifier systems. - * @return the default shortcut for 4 modifier systems, can be null - * if not set - * @see shortcutDefault() - * @see shortcutDefault3() - * @see useFourModifierKeys() - */ - const KShortcut& shortcutDefault4() const { return m_cutDefault4; } - - /** - * Returns the receiver of signals. - * @return the receiver of signals (can be 0 if not set) - */ - const TQObject* objSlotPtr() const { return m_pObjSlot; } - - /** - * Returns the slot for the signal. - * @return the slot for the signal - */ - const char* methodSlotPtr() const { return m_psMethodSlot; } - - /** - * Checks whether the user can configure the action. - * @return true if configurable, false otherwise - */ - bool isConfigurable() const { return m_bConfigurable; } - - /** - * Checks whether the action is enabled. - * @return true if enabled, false otherwise - */ - bool isEnabled() const { return m_bEnabled; } - - /** - * Sets the name of the accelerator action. - * @param name the new name - */ - void setName( const TQString& name ); - - /** - * Sets the user-readable label of the accelerator action. - * @param label the new label (i18n!) - */ - void setLabel( const TQString& label ); - - /** - * Sets the What's This text for the accelerator action. - * @param whatsThis the new What's This text (i18n!) - */ - void setWhatsThis( const TQString& whatsThis ); - - /** - * Sets the new shortcut of the accelerator action. - * @param rgCuts the shortcut to set - * @return true if successful, false otherwise - */ - bool setShortcut( const KShortcut& rgCuts ); - - /** - * Sets the slot of the accelerator action. - * @param pObjSlot the receiver object of the signal - * @param psMethodSlot the slot for the signal - */ - void setSlot( const TQObject* pObjSlot, const char* psMethodSlot ); - - /** - * Enables or disabled configuring the action. - * @param configurable true to enable configurability, false to disable - */ - void setConfigurable( bool configurable ); - - /** - * Enables or disabled the action. - * @param configurable true to enable the action, false to disable - */ - void setEnabled( bool enable ); - - /** - * Retrieves the id set using setID. - * @return the id of the accelerator action - */ - int getID() const { return m_nIDAccel; } - - /** - * Allows you to set an id that will be used as the action - * signal's argument. - * - * @param n the new id - * @see getID() - */ - void setID( int n ) { m_nIDAccel = n; } - - /** - * Checkes whether the action is connected (emits signals). - * @return true if connected, false otherwise - */ - bool isConnected() const; - - /** - * Sets a key sequence of the action's shortcut. - * @param i the position of the sequence - * @param keySeq the new new sequence - * @return true if successful, false otherwise - * @see KShortcut::setSeq() - */ - bool setKeySequence( uint i, const KKeySequence &keySeq ); - - /** - * Clears the action's shortcut. It will not contain any sequences after - * calling this method. - * @see KShortcut::clear() - */ - void clearShortcut(); - - /** - * Checks whether the action's shortcut contains the given key sequence. - * @param keySeq the key sequence to check - * @return true if the shortcut contains the given sequence - * @see KShortcut::contains() - */ - bool contains( const KKeySequence &keySeq ); - - /** - * Returns the string representation of the action's shortcut. - * @return the string representation of the action's shortcut. - * @see KShortcut::toString() - */ - TQString toString() const; - - /** - * @internal - */ - TQString toStringInternal() const; - - /** - * Returns true if four modifier keys will be used. - * @return true if four modifier keys will be used. - */ - static bool useFourModifierKeys(); - - /** - * Selects 3 or 4 modifier default shortcuts. - * @param use true to use 4 modifier shortcuts, false to use - * 3 modifier shortcuts - */ - static void useFourModifierKeys( bool use ); - - protected: - TQString m_sName, - m_sLabel, - m_sWhatsThis; - KShortcut m_cut; - KShortcut m_cutDefault3, m_cutDefault4; - const TQObject* m_pObjSlot; - const char* m_psMethodSlot; - bool m_bConfigurable, - m_bEnabled; - int m_nIDAccel; - uint m_nConnections; - - void incConnections(); - void decConnections(); - - private: - static int g_bUseFourModifierKeys; - class KAccelActionPrivate* d; - - friend class KAccelActions; - friend class KAccelBase; -}; - -//--------------------------------------------------------------------- -// KAccelActions -//--------------------------------------------------------------------- - -/** - * @internal - * This class represents a collection of KAccelAction objects. - * - * @short A collection of accelerator actions - * @see KAccelAction - */ -class KAccelActions -{ - public: - /** - * Creates a new, empty KAccelActions object. - */ - KAccelActions(); - - /** - * Copy constructor (deep copy). - */ - KAccelActions( const KAccelActions& ); - virtual ~KAccelActions(); - - /** - * Removes all items from this collection. - */ - void clear(); - - /** - * Initializes this object with the given actions. - * It will make a deep copy of all actions. - * @param actions the actions to copy - * @return true if successful, false otherwise - */ - bool init( const KAccelActions &actions ); - - /** - * Loads the actions from the given configuration file. - * - * @param config the configuration file to load from - * @param sGroup the group in the configuration file - * @return true if successful, false otherwise - */ - bool init( KConfigBase& config, const TQString& sGroup ); - - /** - * Updates the shortcuts of all actions in this object - * with the shortcuts from the given object. - * @param shortcuts the collection that contains the new - * shortcuts - */ - void updateShortcuts( KAccelActions &shortcuts ); - - /** - * Retrieves the index of the action with the given name. - * @param sAction the action to search - * @return the index of the action, or -1 if not found - */ - int actionIndex( const TQString& sAction ) const; - - /** - * Returns the action with the given @p index. - * @param index the index of an action. You must not - * use an index that is too high. - * @return the KAccelAction with the given index - * @see count() - */ - KAccelAction* actionPtr( uint index ); - - /** - * Returns the action with the given @p index. - * @param index the index of an action. You must not - * use an index that is too high. - * @return the KAccelAction with the given index - * @see count() - */ - const KAccelAction* actionPtr( uint index ) const; - - /** - * Returns the action with the given name. - * @param aAction the name of the action to search - * @return the KAccelAction with the given name, or 0 - * if not found - */ - KAccelAction* actionPtr( const TQString& sAction ); - - /** - * Returns the action with the given name. - * @param aAction the name of the action to search - * @return the KAccelAction with the given name, or 0 - * if not found - */ - const KAccelAction* actionPtr( const TQString& sAction ) const; - - /** - * Returns the action with the given key sequence. - * @param cut the sequence to search for - * @return the KAccelAction with the given sequence, or 0 - * if not found - */ - KAccelAction* actionPtr( KKeySequence cut ); - - /** - * Returns the action with the given @p index. - * @param index the index of an action. You must not - * use an index that is too high. - * @return the KAccelAction with the given index - * @see actionPtr() - * @see count() - */ - KAccelAction& operator []( uint index ); - - /** - * Returns the action with the given @p index. - * @param index the index of an action. You must not - * use an index that is too high. - * @return the KAccelAction with the given index - * @see actionPtr() - * @see count() - */ - const KAccelAction& operator []( uint index ) const; - - /** - * Inserts an action into the collection. - * @param sName the name of the accelerator - * @param sLabel the label of the accelerator (i18n!) - * @param sWhatsThis the What's This text (18n!) - * @param cutDef3 the default shortcut for 3 modifier systems - * @param cutDef4 the default shortcut for 4 modifier systems - * @param pObjSlot the receiver of a signal when the key has been - * pressed - * @param psMethodSlot the slot to connect for key presses. Receives - * an int, as set by setID(), as only argument - * @param bConfigurable if true the user can configure the shortcut - * @param bEnabled true if the accelerator should be enabled - * @return the new action - */ - KAccelAction* insert( const TQString& sAction, const TQString& sLabel, const TQString& sWhatsThis, - const KShortcut& rgCutDefaults3, const KShortcut& rgCutDefaults4, - const TQObject* pObjSlot = 0, const char* psMethodSlot = 0, - bool bConfigurable = true, bool bEnabled = true ); - - /** - * Inserts an action into the collection. - * @param sName the name of the accelerator - * @param sLabel the label of the accelerator (i18n!) - * @return the new action - */ - KAccelAction* insert( const TQString& sName, const TQString& sLabel ); - - /** - * Removes the given action. - * @param sAction the name of the action. - * @return true if successful, false otherwise - */ - bool remove( const TQString& sAction ); - - /** - * Loads the actions from the given configuration file. - * - * @param sConfigGroup the group in the configuration file - * @param pConfig the configuration file to load from - * @return true if successful, false otherwise - */ - bool readActions( const TQString& sConfigGroup = "Shortcuts", KConfigBase* pConfig = 0 ); - - /** - * Writes the actions to the given configuration file. - * - * @param sConfigGroup the group in the configuration file - * @param pConfig the configuration file to save to - * @param bWriteAll true to write all actions - * @param bGlobal true to write to the global configuration file - * @return true if successful, false otherwise - */ - bool writeActions( const TQString& sConfigGroup = "Shortcuts", KConfigBase* pConfig = 0, - bool bWriteAll = false, bool bGlobal = false ) const; - - /** - * Emit a keycodeChanged signal. - */ - void emitKeycodeChanged(); - - /** - * Returns the number of actions in the collection. - * @return the number of actions - */ - uint count() const; - - protected: - KAccelBase* m_pKAccelBase; - KAccelAction** m_prgActions; - uint m_nSizeAllocated, m_nSize; - - void resize( uint ); - void insertPtr( KAccelAction* ); - - private: - class KAccelActionsPrivate* d; - - KAccelActions( KAccelBase* ); - void initPrivate( KAccelBase* ); - KAccelActions& operator =( KAccelActions& ); - - friend class KAccelBase; -}; - -#endif // _KACCELACTION_H diff --git a/python/pykde/extra/kde331/kaccelbase.h b/python/pykde/extra/kde331/kaccelbase.h deleted file mode 100644 index e2ec66e9..00000000 --- a/python/pykde/extra/kde331/kaccelbase.h +++ /dev/null @@ -1,230 +0,0 @@ -/* This file is part of the KDE libraries - Copyright (C) 2001 Ellis Whitehead - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. -*/ - -#ifndef _KACCELBASE_H -#define _KACCELBASE_H - -#include -#include -#include -#include -#include - -#include "kaccelaction.h" -#include "kkeyserver_x11.h" - -class TQPopupMenu; -class TQWidget; - -//---------------------------------------------------- - -/** - * @internal - * Handle keyboard accelerators. - * - * Allow an user to configure - * key bindings through application configuration files or through the - * KKeyChooser GUI. - * - * A KAccel contains a list of accelerator items. Each accelerator item - * consists of an action name and a keyboard code combined with modifiers - * (Shift, Ctrl and Alt.) - * - * For example, "Ctrl+P" could be a shortcut for printing a document. The key - * codes are listed in ckey.h. "Print" could be the action name for printing. - * The action name identifies the key binding in configuration files and the - * KKeyChooser GUI. - * - * When pressed, an accelerator key calls the slot to which it has been - * connected. Accelerator items can be connected so that a key will activate - * two different slots. - * - * A KAccel object handles key events sent to its parent widget and to all - * children of this parent widget. - * - * Key binding reconfiguration during run time can be prevented by specifying - * that an accelerator item is not configurable when it is inserted. A special - * group of non-configurable key bindings are known as the - * standard accelerators. - * - * The standard accelerators appear repeatedly in applications for - * standard document actions such as printing and saving. Convenience methods are - * available to insert and connect these accelerators which are configurable on - * a desktop-wide basis. - * - * It is possible for a user to choose to have no key associated with - * an action. - * - * The translated first argument for insertItem() is used only - * in the configuration dialog. - *\code - * KAccel *a = new KAccel( myWindow ); - * // Insert an action "Scroll Up" which is associated with the "Up" key: - * a->insertItem( i18n("Scroll Up"), "Scroll Up", "Up" ); - * // Insert an action "Scroll Down" which is not associated with any key: - * a->insertItem( i18n("Scroll Down"), "Scroll Down", 0); - * a->connectItem( "Scroll up", myWindow, TQT_SLOT( scrollUp() ) ); - * // a->insertStdItem( KStdAccel::Print ); //not necessary, since it - * // is done automatially with the - * // connect below! - * a->connectItem(KStdAccel::Print, myWindow, TQT_SLOT( printDoc() ) ); - * - * a->readSettings(); - *\endcode - * - * If a shortcut has a menu entry as well, you could insert them like - * this. The example is again the KStdAccel::Print from above. - * - * \code - * int id; - * id = popup->insertItem("&Print",this, TQT_SLOT(printDoc())); - * a->changeMenuAccel(popup, id, KStdAccel::Print ); - * \endcode - * - * If you want a somewhat "exotic" name for your standard print action, like - * id = popup->insertItem(i18n("Print &Document"),this, TQT_SLOT(printDoc())); - * it might be a good idea to insert the standard action before as - * a->insertStdItem( KStdAccel::Print, i18n("Print Document") ) - * as well, so that the user can easily find the corresponding function. - * - * This technique works for other actions as well. Your "scroll up" function - * in a menu could be done with - * - * \code - * id = popup->insertItem(i18n"Scroll &up",this, TQT_SLOT(scrollUp())); - * a->changeMenuAccel(popup, id, "Scroll Up" ); - * \endcode - * - * Please keep the order right: First insert all functions in the - * acceleratior, then call a -> readSettings() and @em then build your - * menu structure. - * - * @short Configurable key binding support. - * @version $Id: kaccelbase.h,v 1.26 2003/08/16 19:44:57 coolo Exp $ - */ - -class KAccelBase -{ - public: - enum Init { QT_KEYS = 0x00, NATIVE_KEYS = 0x01 }; - enum Signal { KEYCODE_CHANGED }; - - KAccelBase( int fInitCode ); - virtual ~KAccelBase(); - - uint actionCount() const; - KAccelActions& actions(); - bool isEnabled() const; - - KAccelAction* actionPtr( const TQString& sAction ); - const KAccelAction* actionPtr( const TQString& sAction ) const; - KAccelAction* actionPtr( const KKey& key ); - KAccelAction* actionPtr( const KKeyServer::Key& key ); - - const TQString& configGroup() const { return m_sConfigGroup; } - void setConfigGroup( const TQString& group ); - void setConfigGlobal( bool global ); - virtual void setEnabled( bool bEnabled ) = 0; - bool getAutoUpdate() { return m_bAutoUpdate; } - // return value of AutoUpdate flag before this call. - bool setAutoUpdate( bool bAuto ); - -// Procedures for manipulating Actions. - //void clearActions(); - - KAccelAction* insert( const TQString& sName, const TQString& sDesc ); - KAccelAction* insert( - const TQString& sAction, const TQString& sDesc, const TQString& sHelp, - const KShortcut& rgCutDefaults3, const KShortcut& rgCutDefaults4, - const TQObject* pObjSlot, const char* psMethodSlot, - bool bConfigurable = true, bool bEnabled = true ); - bool remove( const TQString& sAction ); - bool setActionSlot( const TQString& sAction, const TQObject* pObjSlot, const char* psMethodSlot ); - - bool updateConnections(); - - bool setShortcut( const TQString& sAction, const KShortcut& cut ); - -// Modify individual Action sub-items - bool setActionEnabled( const TQString& sAction, bool bEnable ); - - /** - * Read all key associations from @p config, or (if @p config - * is zero) from the application's configuration file - * KGlobal::config(). - * - * The group in which the configuration is stored can be - * set with setConfigGroup(). - */ - void readSettings( KConfigBase* pConfig = 0 ); - - /** - * Write the current configurable associations to @p config, - * or (if @p config is zero) to the application's - * configuration file. - */ - void writeSettings( KConfigBase* pConfig = 0 ) const; - - TQPopupMenu* createPopupMenu( TQWidget* pParent, const KKeySequence& ); - - // Protected methods - protected: - void slotRemoveAction( KAccelAction* ); - - struct X; - void createKeyList( TQValueVector& rgKeys ); - bool insertConnection( KAccelAction* ); - bool removeConnection( KAccelAction* ); - - virtual bool emitSignal( Signal ) = 0; - virtual bool connectKey( KAccelAction&, const KKeyServer::Key& ) = 0; - virtual bool connectKey( const KKeyServer::Key& ) = 0; - virtual bool disconnectKey( KAccelAction&, const KKeyServer::Key& ) = 0; - virtual bool disconnectKey( const KKeyServer::Key& ) = 0; - - protected: - struct ActionInfo - { - KAccelAction* pAction; - uint iSeq, iVariation; - //ActionInfo* pInfoNext; // nil if only one action uses this key. - - ActionInfo() { pAction = 0; iSeq = 0xffff; iVariation = 0xffff; } - ActionInfo( KAccelAction* _pAction, uint _iSeq, uint _iVariation ) - { pAction = _pAction; iSeq = _iSeq; iVariation = _iVariation; } - }; - typedef TQMap KKeyToActionMap; - - KAccelActions m_rgActions; - KKeyToActionMap m_mapKeyToAction; - TQValueList m_rgActionsNonUnique; - bool m_bNativeKeys; // Use native key codes instead of Qt codes - bool m_bEnabled; - bool m_bConfigIsGlobal; - TQString m_sConfigGroup; - bool m_bAutoUpdate; - KAccelAction* mtemp_pActionRemoving; - - private: - KAccelBase& operator =( const KAccelBase& ); - - friend class KAccelActions; -}; - -#endif // _KACCELBASE_H diff --git a/python/pykde/extra/kde331/kicontheme.h b/python/pykde/extra/kde331/kicontheme.h deleted file mode 100644 index 591a5e5e..00000000 --- a/python/pykde/extra/kde331/kicontheme.h +++ /dev/null @@ -1,338 +0,0 @@ -/* vi: ts=8 sts=4 sw=4 - * - * $Id: kicontheme.h,v 1.31 2004/05/31 17:18:02 montanaro Exp $ - * - * This file is part of the KDE project, module kdecore. - * Copyright (C) 2000 Geert Jansen - * Antonio Larrosa - * - * This is free software; it comes under the GNU Library General - * Public License, version 2. See the file "COPYING.LIB" for the - * exact licensing terms. - * - */ - -#ifndef __KIconTheme_h_Included__ -#define __KIconTheme_h_Included__ - -#include -#include -#include - -class KConfig; -//class KIconThemeDir; - -class KIconThemePrivate; - -class KIconPrivate; - -/** - * One icon as found by KIconTheme. Also serves as a namespace containing - * icon related constants. - * @see KIconEffect - * @see KIconTheme - * @see KIconLoader - */ -class KIcon -{ -public: - KIcon() { size = 0; } - - /** - * Return true if this icon is valid, false otherwise. - */ - bool isValid() const { return size != 0; } - - /** - * Defines the context of the icon. - */ - enum Context { - Any, ///< Some icon with unknown purpose. - Action, ///< An action icon (e.g. 'save', 'print'). - Application, ///< An icon that represents an application. - Device, ///< An icon that represents a device. - FileSystem, ///< An icon that represents a file system. - MimeType ///< An icon that represents a mime type (or file type). - }; - - /** - * The type of the icon. - */ - enum Type { - Fixed, ///< Fixed-size icon. - Scalable, ///< Scalable-size icon. - Threshold ///< A threshold icon. - }; - - /** - * The type of a match. - */ - enum MatchType { - MatchExact, ///< Only try to find an exact match. - MatchBest ///< Take the best match if there is no exact match. - - }; - - // if you add a group here, make sure to change the config reading in - // KIconLoader too - /** - * The group an an icon. - */ - enum Group { NoGroup=-1, Desktop=0, FirstGroup=0, Toolbar, - MainToolbar, Small, Panel, LastGroup, User }; - - /** - * These are the standard sizes for icons. - */ - enum StdSizes { - /// small icons for menu entries - SizeSmall=16, - /// slightly larger small icons for toolbars, panels, etc - SizeSmallMedium=22, - /// medium sized icons for the desktop - SizeMedium=32, - /// large sized icons for the panel - SizeLarge=48, - /// huge sized icons for iconviews - SizeHuge=64, - /// enormous (ugh!) sized icons for iconviews - SizeEnormous=128 - }; - - /** - * Defines the possible states of an icon. - */ - enum States { DefaultState, ///< The default state. - ActiveState, ///< Icon is active. - DisabledState, ///< Icon is disabled. - LastState ///< Last state (last constant) - }; - - /** - * This defines an overlay, a semi-transparent image that is - * projected onto the icon. They are used to show that the file - * represented by the icon is, for example, locked, zipped or hidden. - */ - enum Overlays { - LockOverlay=0x100, ///< a file is locked - ZipOverlay=0x200, ///< a file is zipped - LinkOverlay=0x400, ///< a fileis a link - HiddenOverlay=0x800, ///< a file is hidden - ShareOverlay=0x1000, ///< a file is shared - OverlayMask = ~0xff - }; - - /** - * The size in pixels of the icon. - */ - int size; - - /** - * The context of the icon. - */ - Context context; - - /** - * The type of the icon: Fixed, Scalable or Threshold. - **/ - Type type; - - /** - * The threshold in case type == Threshold - */ - int threshold; - - /** - * The full path of the icon. - */ - TQString path; - -private: - KIconPrivate *d; -}; - -inline KIcon::Group& operator++(KIcon::Group& group) { group = static_cast(group+1); return group; } -inline KIcon::Group operator++(KIcon::Group& group,int) { KIcon::Group ret = group; ++group; return ret; } - -/** - * Class to use/access icon themes in KDE. This class is used by the - * iconloader but can be used by others too. - * @see KIconLoader - */ -class KIconTheme -{ -public: - /** - * Load an icon theme by name. - * @param name the name of the theme (e.g. "hicolor" or "keramik") - * @param appName the name of the application. Can be null. This argument - * allows applications to have themed application icons. - */ - KIconTheme(const TQString& name, const TQString& appName=TQString::null); - ~KIconTheme(); - - /** - * The stylized name of the icon theme. - * @return the (human-readable) name of the theme - */ - TQString name() const { return mName; } - - /** - * A description for the icon theme. - * @return a human-readable description of the theme, TQString::null - * if there is none - */ - TQString description() const { return mDesc; } - - /** - * Return the name of the "example" icon. This can be used to - * present the theme to the user. - * @return the name of the example icon, TQString::null if there is none - */ - TQString example() const; - - /** - * Return the name of the screenshot. - * @return the name of the screenshot, TQString::null if there is none - */ - TQString screenshot() const; - - /** - * Returns the name of this theme's link overlay. - * @return the name of the link overlay - */ - TQString linkOverlay() const; - - /** - * Returns the name of this theme's zip overlay. - * @return the name of the zip overlay - */ - TQString zipOverlay() const; - - /** - * Returns the name of this theme's lock overlay. - * @return the name of the lock overlay - */ - TQString lockOverlay() const; - - /** - * Returns the name of this theme's share overlay. - * @return the name of the share overlay - * @since 3.1 - */ - TQString shareOverlay () const; - - /** - * Returns the toplevel theme directory. - * @return the directory of the theme - */ - TQString dir() const { return mDir; } - - /** - * The themes this icon theme falls back on. - * @return a list of icon themes that are used as fall-backs - */ - TQStringList inherits() const { return mInherits; } - - /** - * The icon theme exists? - * @return true if the icon theme is valid - */ - bool isValid() const; - - /** - * The icon theme should be hidden to the user? - * @return true if the icon theme is hidden - * @since 3.1 - */ - bool isHidden() const; - - /** - * The minimum display depth required for this theme. This can either - * be 8 or 32. - * @return the minimum bpp (8 or 32) - */ - int depth() const { return mDepth; } - - /** - * The default size of this theme for a certain icon group. - * @param group The icon group. See KIcon::Group. - * @return The default size in pixels for the given icon group. - */ - int defaultSize(KIcon::Group group) const; - - /** - * Query available sizes for a group. - * @param group The icon group. See KIcon::Group. - * @return a list of available sized for the given group - */ - TQValueList querySizes(KIcon::Group group) const; - - /** - * Query available icons for a size and context. - * @param size the size of the icons - * @param context the context of the icons - * @return the list of icon names - */ - TQStringList queryIcons(int size, KIcon::Context context = KIcon::Any) const; - - /** - * Query available icons for a context and preferred size. - * @param size the size of the icons - * @param context the context of the icons - * @return the list of icon names - */ - TQStringList queryIconsByContext(int size, KIcon::Context context = KIcon::Any) const; - - - /** - * Lookup an icon in the theme. - * @param name The name of the icon, without extension. - * @param size The desired size of the icon. - * @param match The matching mode. KIcon::MatchExact returns an icon - * only if matches exactly. KIcon::MatchBest returns the best matching - * icon. - * @return A KIcon class that describes the icon. If an icon is found, - * @see KIcon::isValid will return true, and false otherwise. - */ - KIcon iconPath(const TQString& name, int size, KIcon::MatchType match) const; - - /** - * List all icon themes installed on the system, global and local. - * @return the list of all icon themes - */ - static TQStringList list(); - - /** - * Returns the current icon theme. - * @return the name of the current theme - */ - static TQString current(); - - /** - * Reconfigure the theme. - */ - static void reconfigure(); - - /** - * Returns the default icon theme. - * @return the name of the default theme name - * @since 3.1 - */ - static TQString defaultThemeName(); - -private: - int mDefSize[8]; - TQValueList mSizes[8]; - - int mDepth; - TQString mDir, mName, mDesc; - TQStringList mInherits; -// TQPtrList mDirs; - KIconThemePrivate *d; - - static TQString *_theme; - static TQStringList *_theme_list; -}; - -#endif diff --git a/python/pykde/extra/kde331/kkeyserver_x11.h b/python/pykde/extra/kde331/kkeyserver_x11.h deleted file mode 100644 index 1271f506..00000000 --- a/python/pykde/extra/kde331/kkeyserver_x11.h +++ /dev/null @@ -1,433 +0,0 @@ -#ifndef _KKEYSERVER_X11_H -#define _KKEYSERVER_X11_H - -#include "kshortcut.h" -#include "kkeynative.h" - -/** - * A collection of functions for the conversion of key presses and - * their modifiers from the window system (X11) specific format - * to the generic format and vice-versa. - */ -namespace KKeyServer -{ - /** - * Supplement enum KKey::ModFlag - * @since 3.1 - */ - enum ExtraModFlag { MODE_SWITCH = 0x2000 }; - - /** - * Represents a key symbol. - * @see KKey - * @see KKeyServer - */ - struct Sym - { - public: - /// the actual value of the symbol - uint m_sym; - - /// Creates a null symbol. - Sym() - { m_sym = 0; } - /** - * Creates asymbol with the given value. - * @param sym the value - */ - Sym( uint sym ) - { m_sym = sym; } - /** - * Creates a symbol from the given string description. - * @param s the description of the symbol - * @see toString() - */ - Sym( const TQString& s ) - { init( s ); } - - /** - * Initializes the symbol with the given Qt key code. - * @param keyQt the qt key code - * @return true if successful, false otherwise - * @see Qt::Key - */ - bool initQt( int keyQt ); - - /** - * Initializes the key with the given string description. - * @param s the string description - * @return true if successful, false otherwise - * @see toString() - */ - bool init( const TQString &s ); - - /** - * Returns the qt key code of the symbol. - * @return the qt key code - */ - int qt() const; - - /** - * @internal - */ - TQString toStringInternal() const; - - /** - * Returns the string representation of the symbol. - * @return the string representation of the symbol - */ - TQString toString() const; - - /** - * Returns the mods that are required for this symbol as - * ORed KKey::ModFlag's. For example, Break requires a - * Ctrl to be valid. - * @return the required KKey::ModFlag's - * @see KKey::ModFlag - */ - uint getModsRequired() const; - - /** - * TODO: please find out what this method does and document it - */ - uint getSymVariation() const; - - /** - * Casts the symbol to its integer representation. - */ - operator uint() const { return m_sym; } - - /** - * Overloaded operator to convert ints to Sym. - */ - Sym& operator =( uint sym ) { m_sym = sym; return *this; } - - private: - TQString toString( bool bUserSpace ) const; - - static void capitalizeKeyname( TQString& ); - }; - - /** - * Represents a key press. - * @see KKey - */ - struct Key - { - /// Code for native Keys in Qt - enum { CODE_FOR_QT = 256 }; - - /// The code of the key - uint m_code; - - /// The modifiers of the key - uint m_mod; - - /// The symbol of the key - uint m_sym; - - /** - * Initializes the key with a KKey. - * @param key the key to get the data from - * @param bQt true to take the Qt keycode, false - * for the native key code - * @see Qt::Key - * @see KKeyNative - */ - bool init( const KKey& key, bool bQt ); - - /** - * Checks whether the key code is a native code. - * @return true if native code of the window system, - * false if it is a Qt keycode - * @see Qt::Key - * @see KKeyNative - */ - bool isNative() const { return m_code != CODE_FOR_QT; } - - /** - * Returns the code of the key. - * @return the code of the key - */ - uint code() const { return m_code; } - - /** - * Returns the modifiers of the key. - * @return the modifiers of the key - */ - uint mod() const { return m_mod; } - - /** - * Returns the symbol of the key. - * @return the symbol of the key - */ - uint sym() const { return m_sym; } - - /** - * Returns the qt key code. - * @return the qt key code - */ - int keyCodeQt() const { return (int) m_sym; } - - /** - * Sets the qt key code. - * @param keyQt the qt key code - */ - void setKeycodeQt( int keyQt ) - { m_code = CODE_FOR_QT; m_sym = keyQt; } - - /** - * Initializes this key with a KKeyNative. - * @return this key - */ - Key& operator =( const KKeyNative& key ); - - /** - * Compares this key with the given Key object. Returns a - * negative number if the given Key is larger, 0 if they - * are equal and a positive number this Key is larger. The - * returned value is the difference between the symbol, modifier - * or code, whatever is non-zero first. - * - * @param key the key to compare with this key - * @return a negative number if the given Key is larger, 0 if - * they are equal and a positive number this Key is larger - */ - int compare( const Key& key ) const; - - /** - * Compares the symbol, modifiers and code of both keys. - * @see compare() - */ - bool operator ==( const Key& b ) const - { return compare( b ) == 0; } - - /** - * Compares the symbol, modifiers and code of both keys. - * @see compare() - */ - bool operator <( const Key& b ) const - { return compare( b ) < 0; } - - /** - * Converts this Key to a KKey. - * @return the KKey - */ - KKey key() const; - }; - - /** - * TODO: please document this class - */ - struct Variations - { - enum { MAX_VARIATIONS = 4 }; - - Key m_rgkey[MAX_VARIATIONS]; - uint m_nVariations; - - Variations() { m_nVariations = 0; } - - void init( const KKey&, bool bQt ); - - uint count() const { return m_nVariations; } - const Key& key( uint i ) const { return m_rgkey[i]; } - }; - - /// TODO: please document - bool initializeMods(); - - /** - * Returns the equivalent X modifier mask of the given modifier flag. - * @param modFlag the generic flags to check - * @return the window system specific flags - */ - uint modX( KKey::ModFlag modFlag ); - - /** - * Returns true if the current keyboard layout supports the Win key. - * Specifically, whether the Super or Meta keys are assigned to an X modifier. - * @return true if the keyboard has a Win key - * @see modXWin() - */ - bool keyboardHasWinKey(); - - /** - * Returns the X11 Shift modifier mask/flag. - * @return the X11 Shift modifier mask/flag. - * @see accelModMaskX() - */ - uint modXShift(); - - /** - * Returns the X11 Lock modifier mask/flag. - * @return the X11 Lock modifier mask/flag. - * @see accelModMaskX() - */ - uint modXLock(); - - /** - * Returns the X11 Ctrl modifier mask/flag. - * @return the X11 Ctrl modifier mask/flag. - * @see accelModMaskX() - */ - uint modXCtrl(); - - /** - * Returns the X11 Alt (Mod1) modifier mask/flag. - * @return the X11 Alt (Mod1) modifier mask/flag. - * @see accelModMaskX() - */ - uint modXAlt(); - - /** - * Returns the X11 NumLock modifier mask/flag. - * @return the X11 NumLock modifier mask/flag. - * @see accelModMaskX() - */ - uint modXNumLock(); - - /** - * Returns the X11 Win (Mod3) modifier mask/flag. - * @return the X11 Win (Mod3) modifier mask/flag. - * @see keyboardHasWinKey() - * @see accelModMaskX() - */ - uint modXWin(); - - /** - * Returns the X11 ScrollLock modifier mask/flag. - * @return the X11 ScrollLock modifier mask/flag. - * @see accelModMaskX() - */ - uint modXScrollLock(); - - /** - * Returns bitwise OR'ed mask containing Shift, Ctrl, Alt, and - * Win (if available). - * @see modXShift() - * @see modXLock() - * @see modXCtrl() - * @see modXAlt() - * @see modXNumLock() - * @see modXWin() - * @see modXScrollLock() - */ - uint accelModMaskX(); - - /** - * Extracts the symbol from the given Qt key and - * converts it to a symbol. - * @param keyQt the qt key code - * @param sym if successful, the symbol will be written here - * @return true if successful, false otherwise - * @see Qt::Key - * @see Sym - */ - bool keyQtToSym( int keyQt, uint& sym ); - - /** - * Extracts the modifiers from the given Qt key and - * converts them in a mask of ORed KKey::ModFlag modifiers. - * @param keyQt the qt key code - * @param mod if successful, the modifiers will be written here - * @return true if successful, false otherwise - * @see Qt::Key - */ - bool keyQtToMod( int keyQt, uint& mod ); - - /** - * Converts the given symbol to a Qt key code. - * @param sym the symbol - * @param keyQt if successful, the qt key code will be written here - * @return true if successful, false otherwise - * @see Qt::Key - * @see Sym - */ - bool symToKeyQt( uint sym, int& keyQt ); - - /** - * Converts the mask of ORed KKey::ModFlag modifiers to - * a mask of ORed Qt key code modifiers. - * @param mod the mask of KKey::ModFlag modifiers - * @param modQt the mask of Qt key code modifiers will be written here, - * if successful - * @return true if successful, false otherwise - * @see Qt::Key - * @see KKey - */ - bool modToModQt( uint mod, int& modQt ); - - /** - * Converts the mask of ORed KKey::ModFlag modifiers to - * a mask of ORed X11 modifiers. - * @param mod the mask of KKey::ModFlag modifiers - * @param modX the mask of X11 modifiers will be written here, - * if successful - * @return true if successful, false otherwise - * @see KKey - */ - bool modToModX( uint mod, uint& modX ); - - /** - * Converts the mask of ORed X11 modifiers to - * a mask of ORed Qt key code modifiers. - * @param modX the mask of X11 modifiers - * @param modQt the mask of Qt key code modifiers will be written here - * if successful - * @return true if successful, false otherwise - * @see Qt::Key - */ - bool modXToModQt( uint modX, int& modQt ); - - /** - * Converts the mask of ORed X11 modifiers to - * a mask of ORed KKey::ModFlag modifiers. - * @param modX the mask of X11 modifiers - * @param mod the mask of KKey::ModFlag modifiers will be written here, - * if successful - * @return true if successful, false otherwise - * @see KKey - */ - bool modXToMod( uint modX, uint& mod ); - - /** - * Converts a X11 key code and a mask of ORed X11 modifiers - * into a X11 symbol. - * converts it to a symbol. - * @param codeX the X11 key code - * @param modX the mask of ORed X11 modifiers - * @param symX if successful, the X11 symbol will be written here - * @return true if successful, false otherwise - * @see Qt::Key - * @see Sym - */ - bool codeXToSym( uchar codeX, uint modX, uint& symX ); - - /** - * @internal - */ - TQString modToStringInternal( uint mod ); - - /** - * Converts the mask of ORed KKey::ModFlag modifiers to a - * user-readable string. - * @param mod the mask of ORed KKey::ModFlag modifiers - * @return the user-readable string - */ - TQString modToStringUser( uint mod ); - - /** - * @internal - * Unimplemented? - */ - bool stringToSymMod( const TQString&, uint& sym, uint& mod ); - - /** - * @internal - * Unimplemented? - */ - void keyQtToKeyX( uint keyCombQt, unsigned char *pKeyCodeX, uint *pKeySymX, uint *pKeyModX ); -} - -#endif // !_KKEYSERVER_X11_H diff --git a/python/pykde/extra/kde331/konsole_part.h b/python/pykde/extra/kde331/konsole_part.h deleted file mode 100644 index e264732c..00000000 --- a/python/pykde/extra/kde331/konsole_part.h +++ /dev/null @@ -1,229 +0,0 @@ -/* - This file is part of the KDE system - Copyright (C) 1999,2000 Boloni Laszlo - - This program is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. - */ - -#ifndef __KONSOLE_PART_H__ -#define __KONSOLE_PART_H__ - -#include -#include - - -#include - -#include - -//#include "schema.h" -//#include "session.h" - -class KInstance; -class konsoleBrowserExtension; -class TQPushButton; -class TQSpinBox; -class KPopupMenu; -class TQCheckBox; -class KRootPixmap; -class KToggleAction; -class KSelectAction; - -namespace KParts { class GUIActivateEvent; } - -class konsoleFactory : public KParts::Factory -{ - Q_OBJECT -public: - konsoleFactory(); - virtual ~konsoleFactory(); - - virtual KParts::Part* createPartObject(TQWidget *parentWidget = 0, const char *widgetName = 0, - TQObject* parent = 0, const char* name = 0, - const char* classname = "KParts::Part", - const TQStringList &args = TQStringList()); - - static KInstance *instance(); - - private: - static KInstance *s_instance; - static KAboutData *s_aboutData; -}; - -////////////////////////////////////////////////////////////////////// - -class konsolePart: public KParts::ReadOnlyPart, public TerminalInterface -{ - Q_OBJECT - public: - konsolePart(TQWidget *parentWidget, const char *widgetName, TQObject * parent, const char *name, const char *classname = 0); - virtual ~konsolePart(); - -signals: - void processExited(); - void receivedData( const TQString& s ); - protected: - virtual bool openURL( const KURL & url ); - virtual bool openFile() {return false;} // never used - virtual bool closeURL() {return true;} - virtual void guiActivateEvent( KParts::GUIActivateEvent * event ); - - protected slots: - void showShell(); - void slotProcessExited(); - void slotReceivedData( const TQString& s ); - -// void doneSession(TESession*); - void sessionDestroyed(); -// void configureRequest(TEWidget*,int,int x,int y); - void updateTitle(); - void enableMasterModeConnections(); - - private slots: - void emitOpenURLRequest(const TQString &url); - - void readProperties(); - void saveProperties(); - - void sendSignal(int n); - void closeCurrentSession(); - - void notifySize(int,int); - - void slotToggleFrame(); - void slotSelectScrollbar(); - void slotSelectFont(); - void schema_menu_check(); - void keytab_menu_activated(int item); - void updateSchemaMenu(); - void setSchema(int n); - void pixmap_menu_activated(int item); - void schema_menu_activated(int item); - void slotHistoryType(); - void slotSelectBell(); - void slotSelectLineSpacing(); - void slotBlinkingCursor(); - void slotWordSeps(); - void fontNotFound(); - void slotSetEncoding(); - void slotFontChanged(); - - private: - konsoleBrowserExtension *m_extension; - KURL currentURL; - - void makeGUI(); - void applySettingsToGUI(); - - void setFont(int fontno); -// void setSchema(ColorSchema* s); - void updateKeytabMenu(); - - bool doOpenStream( const TQString& ); - bool doWriteStream( const TQByteArray& ); - bool doCloseStream(); - - TQWidget* parentWidget; -// TEWidget* te; -// TESession* se; -// ColorSchemaList* colors; - KRootPixmap* rootxpm; - - KToggleAction* blinkingCursor; - KToggleAction* showFrame; - - KSelectAction* selectBell; - KSelectAction* selectFont; - KSelectAction* selectLineSpacing; - KSelectAction* selectScrollbar; - KSelectAction* selectSetEncoding; - - KPopupMenu* m_keytab; - KPopupMenu* m_schema; - KPopupMenu* m_signals; - KPopupMenu* m_options; - KPopupMenu* m_popupMenu; - - TQFont defaultFont; - - TQString pmPath; // pixmap path - TQString s_schema; - TQString s_kconfigSchema; - TQString s_word_seps; // characters that are considered part of a word - TQString fontNotFound_par; - - bool b_framevis:1; - bool b_histEnabled:1; - - int curr_schema; // current schema no - int n_bell; - int n_font; - int n_keytab; - int n_render; - int n_scroll; - unsigned m_histSize; - bool m_runningShell; - bool m_streamEnabled; - int n_encoding; - -public: - // these are the implementations for the TermEmuInterface - // functions... - void startProgram( const TQString& program, - const TQStrList& args ); - void showShellInDir( const TQString& dir ); - void sendInput( const TQString& text ); -}; - -////////////////////////////////////////////////////////////////////// - -/*class HistoryTypeDialog : public KDialogBase -{ - Q_OBJECT -public: - HistoryTypeDialog(const HistoryType& histType, - unsigned int histSize, - TQWidget *parent); - -public slots: - void slotDefault(); - void slotSetUnlimited(); - void slotHistEnable(bool); - - unsigned int nbLines() const; - bool isOn() const; - -protected: - TQCheckBox* m_btnEnable; - TQSpinBox* m_size; - TQPushButton* m_setUnlimited; -}; - -////////////////////////////////////////////////////////////////////// -*/ - -class konsoleBrowserExtension : public KParts::BrowserExtension -{ - Q_OBJECT - friend class konsolePart; - public: - konsoleBrowserExtension(konsolePart *parent); - virtual ~konsoleBrowserExtension(); - - void emitOpenURLRequest(const KURL &url); -}; - -#endif diff --git a/python/pykde/extra/kde331/kpanelmenu.h b/python/pykde/extra/kde331/kpanelmenu.h deleted file mode 100644 index 4186156b..00000000 --- a/python/pykde/extra/kde331/kpanelmenu.h +++ /dev/null @@ -1,181 +0,0 @@ -/***************************************************************** - -Copyright (c) 1996-2000 the kicker authors. See file AUTHORS. - (c) 2001 Michael Goffioul - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN -AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - -******************************************************************/ - -#ifndef __KPANELMENU_H__ -#define __KPANELMENU_H__ - -#include -#include -#include - -class KPanelMenuPrivate; - -/** - * This class allows to build menu entries that will be dynamically added either to - * the K-menu, or to the panel as a normal button. These dynamic menus are located - * in shared libraries that will be loaded at runtime by Kicker (the KDE panel). - * - * To build such a menu, you have to inherit this class and implement the pure virtual - * functions #initialize() and slotExec(). You also have to provide a factory - * object in your library, see KLibFactory. This factory is only used to construct - * the menu object. - * - * Finally, you also have to provide a desktop file describing your dynamic menu. The - * relevant entries are: Name, Comment, Icon and X-KDE-Library (which contains the - * library name without any extension). This desktop file has to be installed in - * $KDEDIR/share/apps/kicker/menuext/. - * - * @short Base class to build dynamically loaded menu entries for the K-menu, or the panel. - * @author The kicker maintainer, Michael Goffioul - */ -class KPanelMenu : public KPopupMenu -{ - Q_OBJECT - -public: - /** - * Construct a KPanelMenu object. This is the normal constructor to use when - * building extrernal menu entries. - */ - KPanelMenu(TQWidget *parent=0, const char *name=0); - /** - * Constructor used internally by Kicker. You don't really want to use it. - * @param startDir a directory to associate with this menu - * @param parent parent object - * @param name name of the object - * @see path(), setPath() - */ - KPanelMenu(const TQString &startDir, TQWidget *parent=0, const char *name=0); - /** - * Destructor. - */ - virtual ~KPanelMenu(); - - /** - * Get the directory path associated with this menu, or TQString::null if - * there's no such associated path. - * @return the associated directory path - * @see setPath() - */ - const TQString& path() const; - /** - * Set a directory path to be associated with this menu. - * @param p the directory path - * @see path() - */ - void setPath(const TQString &p); - /** - * Tell if the menu has been initialized, that is it already contains items. - * This is useful when you need to know if you have to clear the menu, or to - * fill it. - * @return the initial state - * @see setInitialized(), initialize() - */ - bool initialized() const; - /** - * Set the initial state. Set it to true when you menu is filled with the items - * you want. - * @param on the initial state - * @see initialized(), initialize() - */ - void setInitialized(bool on); - - /** - * Disable the automatic clearing of the menu. Kicker uses a cache system for - * its menus. After a specific configurable delay, the menu will be cleared. - * Use this function if you want to disable kicker's cache system, and avoid - * the clearing of your menu. - */ - void disableAutoClear(); - -public slots: - /** - * Reinitialize the menu: the menu is first cleared, the initial state is set - * to false, and finally #initialize() is called. Use this if you want to - * refill your menu immediately. - */ - void reinitialize(); - /** - * Deinitialize the menu: the menu is cleared and the initialized state is set to - * false. #initialize() is NOT called. It will be called before the menu is - * next shown, however. Use this slot if you want a delayed reinitialization. - * @since 3.1 - */ - void deinitialize(); - -protected slots: - /** - * This slot is called just before the menu is shown. This allows your menu - * to update itself if needed. However you should instead re-implement - * #initialize to provide this feature. This function is responsible for - * the cache system handling, so if you re-implement it, you should call - * the base function also. Calls #initialize(). - * @see disableAutoClear() - */ - virtual void slotAboutToShow(); - /** - * This is slot is called when an item from the menu has been selected. Your - * applet is then supposed to perform some action. You must re-implement this - * function. - * @param id the ID associated with the selected item - */ - virtual void slotExec(int id) = 0; - /** - * This slots is called to initialize the menu. It is called automatically by - * slotAboutToShow(). By re-implementing this functions, you can reconstruct - * the menu before it is being shown. At the end of this function, you should - * call setInitialize() with true to tell the system that the menu is OK. - * You applet must re-implement this function. - * @see slotAboutToShow(), initialized(), setInitialized() - */ - virtual void initialize() = 0; - /** - * Clears the menu, and update the initial state accordingly. - * @see initialized() - */ - void slotClear(); - -protected: - /** - * Re-implemented for internal reasons. - */ - virtual void hideEvent(TQHideEvent *ev); - /** - * For internal use only. Used by constructors. - */ - void init(const TQString& path = TQString::null); - -protected: - virtual void virtual_hook( int id, void* data ); -private: - void internalInitialize(); - KPanelMenuPrivate *d; -}; - -#define K_EXPORT_KICKER_MENUEXT( libname, classname ) \ - K_EXPORT_COMPONENT_FACTORY( \ - kickermenu_##libname, \ - KGenericFactory("libkickermenu_" #libname) ) - -#endif diff --git a/python/pykde/extra/kde331/krecentdirs.h b/python/pykde/extra/kde331/krecentdirs.h deleted file mode 100644 index 61a50706..00000000 --- a/python/pykde/extra/kde331/krecentdirs.h +++ /dev/null @@ -1,68 +0,0 @@ -/* -*- c++ -*- - * Copyright (C)2000 Waldo Bastian - * - * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * - * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND - * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE - * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS - * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) - * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT - * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY - * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF - * SUCH DAMAGE. - * - */ -#ifndef __KRECENTDIRS_H -#define __KRECENTDIRS_H - -#include - -/** - * The goal of this class is to make sure that, when the user needs to - * specify a file via the file selection dialog, this dialog will start - * in the directory most likely to contain the desired files. - * - * This works as follows: Each time the file selection dialog is - * shown, the programmer can specify a "file-class". The file-dialog will - * then start with the directory associated with this file-class. When - * the dialog closes, the directory currently shown in the file-dialog - * will be associated with the file-class. - * - * A file-class can either start with ':' or with '::'. If it starts with - * a single ':' the file-class is specific to the current application. - * If the file-class starts with '::' it is global to all applications. - */ -class KRecentDirs -{ -public: - /** - * Returns a list of directories associated with this file-class. - * The most recently used directory is at the front of the list. - */ - static TQStringList list(const TQString &fileClass); - - /** - * Returns the most recently used directory accociated with this file-class. - */ - static TQString dir(const TQString &fileClass); - - /** - * Associates @p directory with @p fileClass - */ - static void add(const TQString &fileClass, const TQString &directory); -}; - -#endif diff --git a/python/pykde/extra/kde331/ksharedptr.h b/python/pykde/extra/kde331/ksharedptr.h deleted file mode 100644 index da710a32..00000000 --- a/python/pykde/extra/kde331/ksharedptr.h +++ /dev/null @@ -1,175 +0,0 @@ -/* This file is part of the KDE libraries - Copyright (c) 1999 Waldo Bastian - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License version 2 as published by the Free Software Foundation. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. -*/ -#ifndef KSharedPTR_H -#define KSharedPTR_H - -/** - * Reference counting for shared objects. If you derive your object - * from this class, then you may use it in conjunction with - * KSharedPtr to control the lifetime of your object. - * - * Specifically, all classes that derive from KShared have an internal - * counter keeping track of how many other objects have a reference to - * their object. If used with KSharedPtr, then your object will - * not be deleted until all references to the object have been - * released. - * - * You should probably not ever use any of the methods in this class - * directly -- let the KSharedPtr take care of that. Just derive - * your class from KShared and forget about it. - * - * @author Waldo Bastian - * @version $Id: ksharedptr.h,v 1.23 2004/02/04 12:16:03 raabe Exp $ - */ -class KShared { -public: - /** - * Standard constructor. This will initialize the reference count - * on this object to 0. - */ - KShared() : count(0) { } - - /** - * Copy constructor. This will @em not actually copy the objects - * but it will initialize the reference count on this object to 0. - */ - KShared( const KShared & ) : count(0) { } - - /** - * Overloaded assignment operator. - */ - KShared &operator=(const KShared & ) { return *this; } - - /** - * Increases the reference count by one. - */ - void _KShared_ref() const { count++; } - - /** - * Releases a reference (decreases the reference count by one). If - * the count goes to 0, this object will delete itself. - */ - void _KShared_unref() const { if (!--count) delete this; } - - /** - * Return the current number of references held. - * - * @return Number of references - */ - int _KShared_count() const { return count; } - -protected: - virtual ~KShared() { } -private: - mutable int count; -}; - -/** - * Can be used to control the lifetime of an object that has derived - * KShared. As long a someone holds a KSharedPtr on some KShared - * object it won't become deleted but is deleted once its reference - * count is 0. This struct emulates C++ pointers virtually perfectly. - * So just use it like a simple C++ pointer. - * - * KShared and KSharedPtr are preferred over QShared / QSharedPtr - * since they are more safe. - * - * WARNING: Please note that this class template provides an implicit - * conversion to T*. Do *not* change this pointer or the pointee (don't - * call delete on it, for instance) behind KSharedPtr's back. - * - * @author Waldo Bastian - * @version $Id: ksharedptr.h,v 1.23 2004/02/04 12:16:03 raabe Exp $ - */ -template< class T > -struct KSharedPtr -{ -public: -/** - * Creates a null pointer. - */ - KSharedPtr() - : ptr(0) { } - /** - * Creates a new pointer. - * @param t the pointer - */ - KSharedPtr( T* t ) - : ptr(t) { if ( ptr ) ptr->_KShared_ref(); } - - /** - * Copies a pointer. - * @param p the pointer to copy - */ - KSharedPtr( const KSharedPtr& p ) - : ptr(p.ptr) { if ( ptr ) ptr->_KShared_ref(); } - - /** - * Unreferences the object that this pointer points to. If it was - * the last reference, the object will be deleted. - */ - ~KSharedPtr() { if ( ptr ) ptr->_KShared_unref(); } - - KSharedPtr& operator= ( const KSharedPtr& p ) { - if ( ptr == p.ptr ) return *this; - if ( ptr ) ptr->_KShared_unref(); - ptr = p.ptr; - if ( ptr ) ptr->_KShared_ref(); - return *this; - } - KSharedPtr& operator= ( T* p ) { - if ( ptr == p ) return *this; - if ( ptr ) ptr->_KShared_unref(); - ptr = p; - if ( ptr ) ptr->_KShared_ref(); - return *this; - } - bool operator== ( const KSharedPtr& p ) const { return ( ptr == p.ptr ); } - bool operator!= ( const KSharedPtr& p ) const { return ( ptr != p.ptr ); } - bool operator== ( const T* p ) const { return ( ptr == p ); } - bool operator!= ( const T* p ) const { return ( ptr != p ); } - bool operator!() const { return ( ptr == 0 ); } - operator T*() const { return ptr; } - - /** - * Returns the pointer. - * @return the pointer - */ - T* data() { return ptr; } - - /** - * Returns the pointer. - * @return the pointer - */ - const T* data() const { return ptr; } - - const T& operator*() const { return *ptr; } - T& operator*() { return *ptr; } - const T* operator->() const { return ptr; } - T* operator->() { return ptr; } - - /** - * Returns the number of references. - * @return the number of references - */ - int count() const { return ptr->_KShared_count(); } // for debugging purposes -private: - T* ptr; -}; - -#endif diff --git a/python/pykde/extra/kde331/ksycocafactory.h b/python/pykde/extra/kde331/ksycocafactory.h deleted file mode 100644 index 2a114ee0..00000000 --- a/python/pykde/extra/kde331/ksycocafactory.h +++ /dev/null @@ -1,143 +0,0 @@ -/* This file is part of the KDE libraries - * Copyright (C) 1999 Waldo Bastian - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License version 2 as published by the Free Software Foundation; - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public License - * along with this library; see the file COPYING.LIB. If not, write to - * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - * Boston, MA 02110-1301, USA. - **/ - -#ifndef __ksycocafactory_h__ -#define __ksycocafactory_h__ "$Id: ksycocafactory.h,v 1.14 2003/10/29 17:59:18 waba Exp $" - -#include "ksycocatype.h" -#include "ksycocaentry.h" - -#include -#include -class KSycoca; -class TQStringList; -class TQString; -class KSycocaDict; -class KSycocaResourceList; - -typedef TQDict KSycocaEntryDict; - -/** - * @internal - * Base class for sycoca factories - */ -class KSycocaFactory -{ -public: - virtual KSycocaFactoryId factoryId() const = 0; - -protected: // virtual class - /** - * Create a factory which can be used to lookup from/create a database - * (depending on KSycoca::isBuilding()) - */ - KSycocaFactory( KSycocaFactoryId factory_id ); - -public: - virtual ~KSycocaFactory(); - - /** - * @return the position of the factory in the sycoca file - */ - int offset() { return mOffset; } - - /** - * @return the dict, for special use by KBuildSycoca - */ - KSycocaEntryDict * entryDict() { return m_entryDict; } - - /** - * Construct an entry from a config file. - * To be implemented in the real factories. - */ - virtual KSycocaEntry *createEntry(const TQString &file, const char *resource) = 0; - - /** - * Add an entry - */ - virtual void addEntry(KSycocaEntry *newEntry, const char *resource); - - /** - * Remove an entry - * Not very fast, use with care. O(N) - */ - void removeEntry(KSycocaEntry *newEntry); - - /** - * Read an entry from the database - */ - virtual KSycocaEntry *createEntry(int offset)=0; - - /** - * Get a list of all entries from the database. - */ - KSycocaEntry::List allEntries(); - - /** - * Saves all entries it maintains as well as index files - * for these entries to the stream 'str'. - * - * Also sets mOffset to the starting position. - * - * The stream is positioned at the end of the last index. - * - * Don't forget to call the parent first when you override - * this function. - */ - virtual void save(TQDataStream &str); - - /** - * Writes out a header to the stream 'str'. - * The baseclass positions the stream correctly. - * - * Don't forget to call the parent first when you override - * this function. - */ - virtual void saveHeader(TQDataStream &str); - - /** - * @return the resources for which this factory is responsible. - */ - virtual const KSycocaResourceList * resourceList() const { return m_resourceList; } - -private: - int mOffset; - -protected: - int m_sycocaDictOffset; - int m_beginEntryOffset; - int m_endEntryOffset; - TQDataStream *m_str; - - KSycocaResourceList *m_resourceList; - KSycocaEntryDict *m_entryDict; - KSycocaDict *m_sycocaDict; -protected: - virtual void virtual_hook( int id, void* data ); -}; - -/** This, instead of a typedef, allows to declare "class ..." in header files - * @internal - */ -class KSycocaFactoryList : public TQPtrList -{ -public: - KSycocaFactoryList() { } -}; - -#endif diff --git a/python/pykde/extra/kde331/ktoolbarbutton.h b/python/pykde/extra/kde331/ktoolbarbutton.h deleted file mode 100644 index f6b899fb..00000000 --- a/python/pykde/extra/kde331/ktoolbarbutton.h +++ /dev/null @@ -1,315 +0,0 @@ -/* This file is part of the KDE libraries - Copyright (C) 1997, 1998 Stephan Kulow (coolo@kde.org) - (C) 1997, 1998 Sven Radej (radej@kde.org) - (C) 1997, 1998 Mark Donohoe (donohoe@kde.org) - (C) 1997, 1998 Matthias Ettrich (ettrich@kde.org) - (C) 2000 Kurt Granroth (granroth@kde.org) - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License version 2 as published by the Free Software Foundation. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. -*/ - -#ifndef _KTOOLBARBUTTON_H -#define _KTOOLBARBUTTON_H - -#include -#include -#include -#include -#include - -class KToolBar; -class KToolBarButtonPrivate; -class KInstance; -class TQEvent; -class TQPopupMenu; -class TQPainter; - -/** - * A toolbar button. This is used internally by KToolBar, use the - * KToolBar methods instead. - * @internal - */ -class KToolBarButton : public QToolButton -{ - Q_OBJECT - -public: - /** - * Construct a button with an icon loaded by the button itself. - * This will trust the button to load the correct icon with the - * correct size. - * - * @param icon Name of icon to load (may be absolute or relative) - * @param id Id of this button - * @param parent This button's parent - * @param name This button's internal name - * @param txt This button's text (in a tooltip or otherwise) - * @param _instance the instance to use for this button - */ - KToolBarButton(const TQString& icon, int id, TQWidget *parent, - const char *name=0L, const TQString &txt=TQString::null, - KInstance *_instance = KGlobal::instance()); - - /** - * Construct a button with an existing pixmap. It is not - * recommended that you use this as the internal icon loading code - * will almost always get it "right". - * - * @param pixmap Name of icon to load (may be absolute or relative) - * @param id Id of this button - * @param parent This button's parent - * @param name This button's internal name - * @param txt This button's text (in a tooltip or otherwise) - */ - KToolBarButton(const TQPixmap& pixmap, int id, TQWidget *parent, - const char *name=0L, const TQString &txt=TQString::null); - - /** - * Construct a separator button - * - * @param parent This button's parent - * @param name This button's internal name - */ - KToolBarButton(TQWidget *parent=0L, const char *name=0L); - - /** - * Standard destructor - */ - ~KToolBarButton(); - -#ifndef KDE_NO_COMPAT - /** - * @deprecated - * Set the pixmap directly for this button. This pixmap should be - * the active one... the dimmed and disabled pixmaps are constructed - * based on this one. However, don't use this function unless you - * are positive that you don't want to use setIcon. - * - * @param pixmap The active pixmap - */ - // this one is from TQButton, so #ifdef-ing it out doesn't break BC - virtual void setPixmap(const TQPixmap &pixmap) KDE_DEPRECATED; - - /** - * @deprecated - * Force the button to use this pixmap as the default one rather - * then generating it using effects. - * - * @param pixmap The pixmap to use as the default (normal) one - */ - void setDefaultPixmap(const TQPixmap& pixmap) KDE_DEPRECATED; - - /** - * @deprecated - * Force the button to use this pixmap when disabled one rather then - * generating it using effects. - * - * @param pixmap The pixmap to use when disabled - */ - void setDisabledPixmap(const TQPixmap& pixmap) KDE_DEPRECATED; -#endif - - /** - * Set the text for this button. The text will be either used as a - * tooltip (IconOnly) or will be along side the icon - * - * @param text The button (or tooltip) text - */ - virtual void setText(const TQString &text); - - /** - * Set the icon for this button. The icon will be loaded internally - * with the correct size. This function is preferred over setIconSet - * - * @param icon The name of the icon - */ - virtual void setIcon(const TQString &icon); - - /// @since 3.1 - virtual void setIcon( const TQPixmap &pixmap ) - { TQToolButton::setIcon( pixmap ); } - - /** - * Set the pixmaps for this toolbar button from a TQIconSet. - * If you call this you don't need to call any of the other methods - * that set icons or pixmaps. - * @param iconset The iconset to use - */ - virtual void setIconSet( const TQIconSet &iconset ); - -#ifndef KDE_NO_COMPAT - /** - * @deprecated - * Set the active icon for this button. The pixmap itself is loaded - * internally based on the icon size... .. the disabled and default - * pixmaps, however will only be constructed if generate is - * true. This function is preferred over setPixmap - * - * @param icon The name of the active icon - * @param generate If true, then the other icons are automagically - * generated from this one - */ - KDE_DEPRECATED void setIcon(const TQString &icon, bool generate ) { Q_UNUSED(generate); setIcon( icon ); } - - /** - * @deprecated - * Force the button to use this icon as the default one rather - * then generating it using effects. - * - * @param icon The icon to use as the default (normal) one - */ - void setDefaultIcon(const TQString& icon) KDE_DEPRECATED; - - /** - * @deprecated - * Force the button to use this icon when disabled one rather then - * generating it using effects. - * - * @param icon The icon to use when disabled - */ - void setDisabledIcon(const TQString& icon) KDE_DEPRECATED; -#endif - - /** - * Turn this button on or off - * - * @param flag true or false - */ - void on(bool flag = true); - - /** - * Toggle this button - */ - void toggle(); - - /** - * Turn this button into a toggle button or disable the toggle - * aspects of it. This does not toggle the button itself. - * Use toggle() for that. - * - * @param toggle true or false - */ - void setToggle(bool toggle = true); - - /** - * Return a pointer to this button's popup menu (if it exists) - */ - TQPopupMenu *popup(); - - /** - * Returns the button's id. - * @since 3.2 - */ - int id() const; - - /** - * Give this button a popup menu. There will not be a delay when - * you press the button. Use setDelayedPopup if you want that - * behavior. - * - * @param p The new popup menu - * @param unused Has no effect - ignore it. - */ - void setPopup (TQPopupMenu *p, bool unused = false); - - /** - * Gives this button a delayed popup menu. - * - * This function allows you to add a delayed popup menu to the button. - * The popup menu is then only displayed when the button is pressed and - * held down for about half a second. - * - * @param p the new popup menu - * @param unused Has no effect - ignore it. - */ - void setDelayedPopup(TQPopupMenu *p, bool unused = false); - - /** - * Turn this button into a radio button - * - * @param f true or false - */ - void setRadio(bool f = true); - - /** - * Toolbar buttons naturally will assume the global styles - * concerning icons, icons sizes, etc. You can use this function to - * explicitly turn this off, if you like. - * - * @param no_style Will disable styles if true - */ - void setNoStyle(bool no_style = true); - -signals: - void clicked(int); - void doubleClicked(int); - void pressed(int); - void released(int); - void toggled(int); - void highlighted(int, bool); - -public slots: - /** - * This slot should be called whenever the toolbar mode has - * potentially changed. This includes such events as text changing, - * orientation changing, etc. - */ - void modeChange(); - virtual void setTextLabel(const TQString&, bool tipToo); - -protected: - void paletteChange(const TQPalette &); - void leaveEvent(TQEvent *e); - void enterEvent(TQEvent *e); - void drawButton(TQPainter *p); - bool eventFilter (TQObject *o, TQEvent *e); - void showMenu(); - TQSize sizeHint() const; - TQSize minimumSizeHint() const; - TQSize minimumSize() const; - - /// @since 3.1 - bool isRaised() const; - /// @since 3.1 - bool isActive() const; - /// @since 3.1 - int iconTextMode() const; - -protected slots: - void slotClicked(); - void slotPressed(); - void slotReleased(); - void slotToggled(); - void slotDelayTimeout(); - -protected: - virtual void virtual_hook( int id, void* data ); -private: - KToolBarButtonPrivate *d; -}; - -/** -* List of KToolBarButton objects. -* @internal -* @version $Id: ktoolbarbutton.h,v 1.36 2004/03/18 02:50:16 bmeyer Exp $ -*/ -class KToolBarButtonList : public TQIntDict -{ -public: - KToolBarButtonList(); - ~KToolBarButtonList() {} -}; - -#endif diff --git a/python/pykde/extra/kde331/kurifilter.h b/python/pykde/extra/kde331/kurifilter.h deleted file mode 100644 index 834bff8a..00000000 --- a/python/pykde/extra/kde331/kurifilter.h +++ /dev/null @@ -1,644 +0,0 @@ -/* - * This file is part of the KDE libraries - * Copyright (C) 2000-2001,2003 Dawit Alemayehu - * - * Original author - * Copyright (C) 2000 Yves Arrouye - * - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public License - * along with this library; see the file COPYING.LIB. If not, write to - * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - * Boston, MA 02110-1301, USA. - **/ - -#ifndef __kurifilter_h__ -#define __kurifilter_h__ "$Id: kurifilter.h,v 1.41 2003/08/30 08:56:21 raabe Exp $" - -#include -#include -#include - -#include -#include - -class KURIFilterPrivate; -class KURIFilterDataPrivate; - -class KCModule; - -/** -* A basic message object used for exchanging filtering -* information between the filter plugins and the application -* requesting the filtering service. -* -* Use this object if you require a more detailed information -* about the URI you want to filter. Any application can create -* an instance of this class and send it to KURIFilter to -* have the plugins fill out all possible information about the -* URI. -* -* \b Example -* -* \code -* TQString text = "kde.org"; -* KURIFilterData d = text; -* bool filtered = KURIFilter::self()->filter( d ); -* cout << "URL: " << text.latin1() << endl -* << "Filtered URL: " << d.uri().url().latin1() << endl -* << "URI Type: " << d.uriType() << endl -* << "Was Filtered: " << filtered << endl; -* \endcode -* -* The above code should yield the following output: -* \code -* URI: kde.org -* Filtered URI: http://kde.org -* URI Type: 0 <== means NET_PROTOCOL -* Was Filtered: 1 <== means the URL was successfully filtered -* \endcode -* -* @short A message object for exchanging filtering URI info. -* @author Dawit Alemayehu -*/ - -class KURIFilterData -{ -friend class KURIFilterPlugin; - -public: - /** - * Describes the type of the URI that was filtered. - * Here is a brief description of the types: - * - * @li NET_PROTOCOL - Any network protocol: http, ftp, nttp, pop3, etc... - * @li LOCAL_FILE - A local file whose executable flag is not set - * @li LOCAL_DIR - A local directory - * @li EXECUTABLE - A local file whose executable flag is set - * @li HELP - A man or info page - * @li SHELL - A shell executable (ex: echo "Test..." >> ~/testfile) - * @li BLOCKED - A URI that should be blocked/filtered (ex: ad filtering) - * @li ERROR - An incorrect URI (ex: "~johndoe" when user johndoe - * does not exist in that system ) - * @li UNKNOWN - A URI that is not identified. Default value when - * a KURIFilterData is first created. - */ - enum URITypes { NET_PROTOCOL=0, LOCAL_FILE, LOCAL_DIR, EXECUTABLE, HELP, SHELL, BLOCKED, ERROR, UNKNOWN }; - - /** - * Default constructor. - * - * Creates a URIFilterData object. - */ - KURIFilterData() { init(); } - - /** - * Creates a URIFilterData object from the given URL. - * - * @param url is the URL to be filtered. - */ - KURIFilterData( const KURL& url ) { init( url); } - - /** - * Creates a URIFilterData object from the given string. - * - * @param url is the string to be filtered. - */ - KURIFilterData( const TQString& url ) { init( url ); } - - /** - * Copy constructor. - * - * Creates a URIFilterData object from another - * URI filter data object. - * - * @param data the uri filter data to be copied. - */ - KURIFilterData( const KURIFilterData& data); - - /** - * Destructor. - */ - ~KURIFilterData(); - - /** - * This method has been deprecated and will always return - * true. You should instead use the result from the - * KURIFilter::filterURI() calls. - * - * @deprecated - */ - KDE_DEPRECATED bool hasBeenFiltered() const { return true; } - - /** - * Returns the filtered or the original URL. - * - * This function returns the filtered url if one - * of the plugins successfully filtered the original - * URL. Otherwise, it returns the original URL. - * See hasBeenFiltered() and - * - * @return the filtered or original url. - */ - KURL uri() const { return m_pURI; } - - /** - * Returns an error message. - * - * This functions returns the error message set - * by the plugin whenever the uri type is set to - * KURIFilterData::ERROR. Otherwise, it returns - * a TQString::null. - * - * @return the error message or a NULL when there is none. - */ - TQString errorMsg() const { return m_strErrMsg; } - - /** - * Returns the URI type. - * - * This method always returns KURIFilterData::UNKNOWN - * if the given URL was not filtered. - * @return the type of the URI - */ - URITypes uriType() const { return m_iType; } - - /** - * Sets the URL to be filtered. - * - * Use this function to set the string to be - * filtered when you construct an empty filter - * object. - * - * @param url the string to be filtered. - */ - void setData( const TQString& url ) { init( url ); } - - /** - * Same as above except the argument is a URL. - * - * Use this function to set the string to be - * filtered when you construct an empty filter - * object. - * - * @param url the URL to be filtered. - */ - void setData( const KURL& url ) { init( url ); } - - /** - * Sets the absolute path to be used whenever the supplied - * data is a relative local URL. - * - * NOTE: This function should only be used for local resources, - * i.e. the "file:/" protocol. It is useful for specifying the - * absolute path in cases where the actual URL might be relative. - * meta object. If deriving the path from a KURL, make sure you - * set the argument for this function to the result of calling - * path () instead of url (). - * - * @param abs_path the abolute path to the local resource. - * @return true if absolute path is successfully set. Otherwise, false. - */ - bool setAbsolutePath( const TQString& abs_path ); - - /** - * Returns the absolute path if one has already been set. - * @return the absolute path, or TQString::null - * @see hasAbsolutePath() - */ - TQString absolutePath() const; - - /** - * Checks whether the supplied data had an absolute path. - * @return true if the supplied data has an absolute path - * @see absolutePath() - */ - bool hasAbsolutePath() const; - - /** - * Returns the command line options and arguments for a - * local resource when present. - * - * @return options and arguments when present, otherwise TQString::null - */ - TQString argsAndOptions() const; - - /** - * Checks whether the current data is a local resource with - * command line options and arguments. - * @return true if the current data has command line options and arguments - */ - bool hasArgsAndOptions() const; - - /** - * Returns the name of the icon that matches - * the current filtered URL. - * - * NOTE that this function will return a NULL - * string by default and when no associated icon - * is found. - * - * @return the name of the icon associated with the resource, - * or TQString::null if not found - */ - TQString iconName(); - - /** - * Check whether the provided uri is executable or not. - * - * Setting this to false ensures that typing the name of - * an executable does not start that application. This is - * useful in the location bar of a browser. The default - * value is true. - * - * @since 3.2 - */ - void setCheckForExecutables (bool check); - - /** - * @return true if the filters should attempt to check whether the - * supplied uri is an executable. False otherwise. - * - * @since 3.2 - */ - bool checkForExecutables() const { return m_bCheckForExecutables; } - - /** - * @return the string as typed by the user, before any URL processing is done - * @since 3.2 - */ - TQString typedString() const; - - /** - * Overloaded assigenment operator. - * - * This function allows you to easily assign a KURL - * to a KURIFilterData object. - * - * @return an instance of a KURIFilterData object. - */ - KURIFilterData& operator=( const KURL& url ) { init( url ); return *this; } - - /** - * Overloaded assigenment operator. - * - * This function allows you to easily assign a QString - * to a KURIFilterData object. - * - * @return an instance of a KURIFilterData object. - */ - KURIFilterData& operator=( const TQString& url ) { init( url ); return *this; } - -protected: - - /** - * Initializes the KURIFilterData on construction. - * @param url the URL to initialize the object with - */ - void init( const KURL& url); - - /** - * Initializes the KURIFilterData on construction. - * @param url the URL to initialize the object with - */ - void init( const TQString& url = TQString::null ); - -private: - bool m_bCheckForExecutables; - bool m_bChanged; - - TQString m_strErrMsg; - TQString m_strIconName; - - KURL m_pURI; - URITypes m_iType; - KURIFilterDataPrivate *d; -}; - - -/** - * Base class for URI filter plugins. - * - * This class applies a single filter to a URI. All plugins designed - * to provide URI filtering service should inherit from this abstract - * class and provide a concrete implementation. - * - * All inheriting classes need to implement the pure virtual function - * filterURI. - * - * @short Abstract class for URI filter plugins. - */ -class KURIFilterPlugin : public QObject -{ - Q_OBJECT - -public: - - /** - * Constructs a filter plugin with a given name and - * priority. - * - * @param parent the parent object, or 0 for no parent - * @param name the name of the plugin, or 0 for no name - * @param pri the priority of the plugin. - */ - KURIFilterPlugin( TQObject *parent = 0, const char *name = 0, double pri = 1.0 ); - - /** - * Returns the filter's name. - * - * @return A string naming the filter. - */ - virtual TQString name() const { return m_strName; } - - /** - * Returns the filter's priority. - * - * Each filter has an assigned priority, a float from 0 to 1. Filters - * with the lowest priority are first given a chance to filter a URI. - * - * @return The priority of the filter. - */ - virtual double priority() const { return m_dblPriority; } - - /** - * Filters a URI. - * - * @param data the URI data to be filtered. - * @return A boolean indicating whether the URI has been changed. - */ - virtual bool filterURI( KURIFilterData& data ) const = 0; - - /** - * Creates a configuration module for the filter. - * - * It is the responsibility of the caller to delete the module - * once it is not needed anymore. - * - * @return A configuration module, 0 if the filter isn't configurable. - */ - virtual KCModule *configModule( TQWidget*, const char* ) const { return 0; } - - /** - * Returns the name of the configuration module for the filter. - * - * @return the name of a configuration module or TQString::null if none. - */ - virtual TQString configName() const { return name(); } - -protected: - - /** - * Sets the the URL in @p data to @p uri. - */ - void setFilteredURI ( KURIFilterData& data, const KURL& uri ) const; - - /** - * Sets the error message in @p data to @p errormsg. - */ - void setErrorMsg ( KURIFilterData& data, const TQString& errmsg ) const { - data.m_strErrMsg = errmsg; - } - - /** - * Sets the URI type in @p data to @p type. - */ - void setURIType ( KURIFilterData& data, KURIFilterData::URITypes type) const { - data.m_iType = type; - data.m_bChanged = true; - } - - /** - * Sets the arguments and options string in @p data - * to @p args if any were found during filterting. - */ - void setArguments( KURIFilterData& data, const TQString& args ) const; - - TQString m_strName; - double m_dblPriority; - -protected: - virtual void virtual_hook( int id, void* data ); -private: - class KURIFilterPluginPrivate *d; -}; - - -/** - * A list of filter plugins. - */ -class KURIFilterPluginList : public TQPtrList -{ -public: - virtual int compareItems(Item a, Item b) - { - double diff = ((KURIFilterPlugin *) a)->priority() - ((KURIFilterPlugin *) b)->priority(); - return diff < 0 ? -1 : (diff > 0 ? 1 : 0); - } - -private: - KURIFilterPrivate *d; - -}; - -/** - * Manages the filtering of URIs. - * - * The intention of this plugin class is to allow people to extend the - * functionality of KURL without modifying it directly. This way KURL will - * remain a generic parser capable of parsing any generic URL that adheres - * to specifications. - * - * The KURIFilter class applies a number of filters to a URI and returns the - * filtered version whenever possible. The filters are implemented using - * plugins to provide easy extensibility of the filtering mechanism. New - * filters can be added in the future by simply inheriting from - * KURIFilterPlugin and implementing the KURIFilterPlugin::filterURI - * method. - * - * Use of this plugin-manager class is straight forward. Since it is a - * singleton object, all you have to do is obtain an instance by doing - * @p KURIFilter::self() and use any of the public member functions to - * preform the filtering. - * - * \b Example - * - * To simply filter a given string: - * - * \code - * bool filtered = KURIFilter::self()->filterURI( "kde.org" ); - * \endcode - * - * You can alternatively use a KURL: - * - * \code - * KURL url = "kde.org"; - * bool filtered = KURIFilter::self()->filterURI( url ); - * \endcode - * - * If you have a constant string or a constant URL, simply invoke the - * corresponding function to obtain the filtered string or URL instead - * of a boolean flag: - * - * \code - * TQString u = KURIFilter::self()->filteredURI( "kde.org" ); - * \endcode - * - * You can also restrict the filter(s) to be used by supplying - * the name of the filter(s) to use. By defualt all available - * filters will be used. To use specific filters, add the names - * of the filters you want to use to a TQStringList and invoke - * the appropriate filtering function. The examples below show - * the use of specific filters. The first one uses a single - * filter called kshorturifilter while the second example uses - * multiple filters: - * - * \code - * TQString text = "kde.org"; - * bool filtered = KURIFilter::self()->filterURI( text, "kshorturifilter" ); - * \endcode - * - * \code - * TQStringList list; - * list << "kshorturifilter" << "localdomainfilter"; - * bool filtered = KURIFilter::self()->filterURI( text, list ); - * \endcode - * - * KURIFilter also allows richer data exchange through a simple - * meta-object called @p KURIFilterData. Using this meta-object - * you can find out more information about the URL you want to - * filter. See KURIFilterData for examples and details. - * - * @short Filters a given URL into its proper format whenever possible. - */ - -class KURIFilter -{ -public: - /** - * Destructor - */ - ~KURIFilter (); - - /** - * Returns an instance of KURIFilter. - */ - static KURIFilter* self(); - - /** - * Filters the URI given by the object URIFilterData. - * - * The given URL is filtered based on the specified list of filters. - * If the list is empty all available filters would be used. - * - * @param data object that contains the URI to be filtered. - * @param filters specify the list of filters to be used. - * - * @return a boolean indicating whether the URI has been changed - */ - bool filterURI( KURIFilterData& data, const TQStringList& filters = TQStringList() ); - - /** - * Filters the URI given by the URL. - * - * The given URL is filtered based on the specified list of filters. - * If the list is empty all available filters would be used. - * - * @param uri the URI to filter. - * @param filters specify the list of filters to be used. - * - * @return a boolean indicating whether the URI has been changed - */ - bool filterURI( KURL &uri, const TQStringList& filters = TQStringList() ); - - /** - * Filters a string representing a URI. - * - * The given URL is filtered based on the specified list of filters. - * If the list is empty all available filters would be used. - * - * @param uri The URI to filter. - * @param filters specify the list of filters to be used. - * - * @return a boolean indicating whether the URI has been changed - */ - bool filterURI( TQString &uri, const TQStringList& filters = TQStringList() ); - - /** - * Returns the filtered URI. - * - * The given URL is filtered based on the specified list of filters. - * If the list is empty all available filters would be used. - * - * @param uri The URI to filter. - * @param filters specify the list of filters to be used. - * - * @return the filtered URI or null if it cannot be filtered - */ - KURL filteredURI( const KURL &uri, const TQStringList& filters = TQStringList() ); - - /** - * Return a filtered string representation of a URI. - * - * The given URL is filtered based on the specified list of filters. - * If the list is empty all available filters would be used. - * - * @param uri the URI to filter. - * @param filters specify the list of filters to be used. - * - * @return the filtered URI or null if it cannot be filtered - */ - TQString filteredURI( const TQString &uri, const TQStringList& filters = TQStringList() ); - - /** - * Return an iterator to iterate over all loaded - * plugins. - * - * @return a plugin iterator. - */ - TQPtrListIterator pluginsIterator() const; - - /** - * Return a list of the names of all loaded plugins. - * - * @return a TQStringList of plugin names - * @since 3.1 - */ - TQStringList pluginNames() const; - -protected: - - /** - * A protected constructor. - * - * This constructor creates a KURIFilter and - * initializes all plugins it can find by invoking - * loadPlugins. - */ - KURIFilter(); - - /** - * Loads all allowed plugins. - * - * This function loads all filters that have not - * been disbled. - */ - void loadPlugins(); - -private: - static KURIFilter *m_self; - KURIFilterPluginList m_lstPlugins; - KURIFilterPrivate *d; -}; - -#endif diff --git a/python/pykde/extra/kde331/selectdialog.h b/python/pykde/extra/kde331/selectdialog.h deleted file mode 100644 index 680d48ef..00000000 --- a/python/pykde/extra/kde331/selectdialog.h +++ /dev/null @@ -1,87 +0,0 @@ -/* - This file is part of libkresources. - - Copyright (c) 2002 Tobias Koenig - Copyright (c) 2002 Jan-Pascal van Best - Copyright (c) 2003 Cornelius Schumacher - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. -*/ - -#ifndef KRESOURCES_SELECTDIALOG_H -#define KRESOURCES_SELECTDIALOG_H - -#include -#include -#include - -#include - -class KListBox; - -namespace KRES { - -class Resource; - -/** - * Dialog for selecting a resource. - * - * Example: - * - * \code - * - * TQPtrList list = ... // can be retrived from KRES::Manager (e.g. KABC::AddressBook) - * - * KABC::Resource *res = KABC::SelectDialog::getResource( list, parentWdg ); - * if ( !res ) { - * // no resource selected - * } else { - * // do something with resource - * } - * \endcode - */ -class SelectDialog -{ - public: - /** - * Constructor. - * @param list The list of available resources - * @param parent The parent widget - * @param name The name of the dialog - */ - SelectDialog( TQPtrList list, TQWidget *parent = 0, - const char *name = 0); - - /** - * Returns selected resource. - */ - Resource *resource(); - - /** - * Opens a dialog showing the available resources and returns the resource the - * user has selected. Returns 0, if the dialog was canceled. - */ - static Resource *getResource( TQPtrList list, TQWidget *parent = 0 ); - - private: - KListBox *mResourceId; - - TQMap mResourceMap; -}; - -} - -#endif diff --git a/python/pykde/extra/kde332/configwidget.h b/python/pykde/extra/kde332/configwidget.h deleted file mode 100644 index e289743a..00000000 --- a/python/pykde/extra/kde332/configwidget.h +++ /dev/null @@ -1,58 +0,0 @@ -/* - This file is part of libkresources. - Copyright (c) 2002 Tobias Koenig - Copyright (c) 2002 Jan-Pascal van Best - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. -*/ - -#ifndef KRESOURCES_CONFIGWIDGET_H -#define KRESOURCES_CONFIGWIDGET_H - -#include "resource.h" - -#include - -#include - -namespace KRES { - -class ConfigWidget : public QWidget -{ - Q_OBJECT - public: - ConfigWidget( TQWidget *parent = 0, const char *name = 0 ); - - /** - Sets the widget to 'edit' mode. Reimplement this method if you are - interested in the mode change (to disable some GUI element for - example). By default the widget is in 'create new' mode. - */ - virtual void setInEditMode( bool value ); - - public slots: - virtual void loadSettings( Resource *resource ) = 0; - virtual void saveSettings( Resource *resource ) = 0; - - signals: - void setReadOnly( bool value ); - - protected: - Resource *mResource; -}; - -} -#endif diff --git a/python/pykde/extra/kde332/kaccelaction.h b/python/pykde/extra/kde332/kaccelaction.h deleted file mode 100644 index 0418297c..00000000 --- a/python/pykde/extra/kde332/kaccelaction.h +++ /dev/null @@ -1,564 +0,0 @@ -/* This file is part of the KDE libraries - Copyright (C) 2001,2002 Ellis Whitehead - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. -*/ - -#ifndef _KACCELACTION_H -#define _KACCELACTION_H - -#include -#include -#include -#include - -#include - -class KAccelBase; - -class TQObject; -class KConfig; -class KConfigBase; - -/** - * @internal - * A KAccelAction prepresents an action that can be executed using - * an accelerator key. Each KAccelAction has a name, a label, a - * "What's this" string and a KShortcut. The user can configure and - * enable/disable them using KKeyDialog. - * - * \code - * 1) KAccelAction = "Run Command" - * Default3 = "Alt+F2" - * Default4 = "Meta+Enter;Alt+F2" - * 1) KShortcut = "Meta+Enter" - * 1) KKeySequence = "Meta+Enter" - * 1) KKey = "Meta+Enter" - * 1) Meta+Enter - * 2) Meta+Keypad_Enter - * 2) KShortcut = "Alt+F2" - * 1) KKeySequence = "Alt+F2" - * 1) Alt+F2 - * 2) KAccelAction = "Something" - * Default3 = "" - * Default4 = "" - * 1) KShortcut = "Meta+X,Asterisk" - * 1) KKeySequence = "Meta+X,Asterisk" - * 1) KKey = "Meta+X" - * 1) Meta+X - * 2) KKey = "Asterisk" - * 1) Shift+8 (English layout) - * 2) Keypad_Asterisk - * \endcode - * @short An accelerator action - * @see KAccel - * @see KGlobalAccel - * @see KKeyChooser - * @see KKeyDialog - */ -class KAccelAction -{ - public: - /** - * Creates an empty KAccelAction. - * @see clear() - */ - KAccelAction(); - - /** - * Copy constructor. - */ - KAccelAction( const KAccelAction& ); - - /** - * Creates a new KAccelAction. - * @param sName the name of the accelerator - * @param sLabel the label of the accelerator (i18n!) - * @param sWhatsThis the What's This text (18n!) - * @param cutDef3 the default shortcut for 3 modifier systems - * @param cutDef4 the default shortcut for 4 modifier systems - * @param pObjSlot the receiver of a signal when the key has been - * pressed - * @param psMethodSlot the slot to connect for key presses. Receives - * an int, as set by setID(), as only argument - * @param bConfigurable if true the user can configure the shortcut - * @param bEnabled true if the accelerator should be enabled - */ - KAccelAction( const TQString& sName, const TQString& sLabel, const TQString& sWhatsThis, - const KShortcut& cutDef3, const KShortcut& cutDef4, - const TQObject* pObjSlot, const char* psMethodSlot, - bool bConfigurable, bool bEnabled ); - ~KAccelAction(); - - /** - * Clears the accelerator. - */ - void clear(); - - /** - * Re-initialized the KAccelAction. - * @param sName the name of the accelerator - * @param sLabel the label of the accelerator (i18n!) - * @param sWhatsThis the What's This text (18n!) - * @param cutDef3 the default shortcut for 3 modifier systems - * @param cutDef4 the default shortcut for 4 modifier systems - * @param pObjSlot the receiver of a signal when the key has been - * pressed - * @param psMethodSlot the slot to connect for key presses. Receives - * an int, as set by setID(), as only argument - * @param bConfigurable if true the user can configure the shortcut - * @param bEnabled true if the accelerator should be enabled - * @return true if successful, false otherwise - */ - bool init( const TQString& sName, const TQString& sLabel, const TQString& sWhatsThis, - const KShortcut& cutDef3, const KShortcut& cutDef4, - const TQObject* pObjSlot, const char* psMethodSlot, - bool bConfigurable, bool bEnabled ); - - /** - * Copies this KAccelAction. - */ - KAccelAction& operator=( const KAccelAction& ); - - /** - * Returns the name of the accelerator action. - * @return the name of the accelerator action, can be null if not - * set - */ - const TQString& name() const { return m_sName; } - - /** - * Returns the label of the accelerator action. - * @return the label of the accelerator action, can be null if - * not set - */ - const TQString& label() const { return m_sLabel; } - - /** - * Returns the What's This text of the accelerator action. - * @return the What's This text of the accelerator action, can be - * null if not set - */ - const TQString& whatsThis() const { return m_sWhatsThis; } - - /** - * The shortcut that is actually used (may be used configured). - * @return the shortcut of the KAccelAction, can be null if not set - * @see shortcutDefault() - */ - const KShortcut& shortcut() const { return m_cut; } - - /** - * The default shortcut for this system. - * @return the default shortcut on this system, can be null if not set - * @see shortcut() - * @see shortcutDefault3() - * @see shortcutDefault4() - */ - const KShortcut& shortcutDefault() const; - - /** - * The default shortcut for 3 modifier systems. - * @return the default shortcut for 3 modifier systems, can be null - * if not set - * @see shortcutDefault() - * @see shortcutDefault4() - * @see useFourModifierKeys() - */ - const KShortcut& shortcutDefault3() const { return m_cutDefault3; } - - /** - * The default shortcut for 4 modifier systems. - * @return the default shortcut for 4 modifier systems, can be null - * if not set - * @see shortcutDefault() - * @see shortcutDefault3() - * @see useFourModifierKeys() - */ - const KShortcut& shortcutDefault4() const { return m_cutDefault4; } - - /** - * Returns the receiver of signals. - * @return the receiver of signals (can be 0 if not set) - */ - const TQObject* objSlotPtr() const { return m_pObjSlot; } - - /** - * Returns the slot for the signal. - * @return the slot for the signal - */ - const char* methodSlotPtr() const { return m_psMethodSlot; } - - /** - * Checks whether the user can configure the action. - * @return true if configurable, false otherwise - */ - bool isConfigurable() const { return m_bConfigurable; } - - /** - * Checks whether the action is enabled. - * @return true if enabled, false otherwise - */ - bool isEnabled() const { return m_bEnabled; } - - /** - * Sets the name of the accelerator action. - * @param name the new name - */ - void setName( const TQString& name ); - - /** - * Sets the user-readable label of the accelerator action. - * @param label the new label (i18n!) - */ - void setLabel( const TQString& label ); - - /** - * Sets the What's This text for the accelerator action. - * @param whatsThis the new What's This text (i18n!) - */ - void setWhatsThis( const TQString& whatsThis ); - - /** - * Sets the new shortcut of the accelerator action. - * @param rgCuts the shortcut to set - * @return true if successful, false otherwise - */ - bool setShortcut( const KShortcut& rgCuts ); - - /** - * Sets the slot of the accelerator action. - * @param pObjSlot the receiver object of the signal - * @param psMethodSlot the slot for the signal - */ - void setSlot( const TQObject* pObjSlot, const char* psMethodSlot ); - - /** - * Enables or disabled configuring the action. - * @param configurable true to enable configurability, false to disable - */ - void setConfigurable( bool configurable ); - - /** - * Enables or disabled the action. - * @param configurable true to enable the action, false to disable - */ - void setEnabled( bool enable ); - - /** - * Retrieves the id set using setID. - * @return the id of the accelerator action - */ - int getID() const { return m_nIDAccel; } - - /** - * Allows you to set an id that will be used as the action - * signal's argument. - * - * @param n the new id - * @see getID() - */ - void setID( int n ) { m_nIDAccel = n; } - - /** - * Checkes whether the action is connected (emits signals). - * @return true if connected, false otherwise - */ - bool isConnected() const; - - /** - * Sets a key sequence of the action's shortcut. - * @param i the position of the sequence - * @param keySeq the new new sequence - * @return true if successful, false otherwise - * @see KShortcut::setSeq() - */ - bool setKeySequence( uint i, const KKeySequence &keySeq ); - - /** - * Clears the action's shortcut. It will not contain any sequences after - * calling this method. - * @see KShortcut::clear() - */ - void clearShortcut(); - - /** - * Checks whether the action's shortcut contains the given key sequence. - * @param keySeq the key sequence to check - * @return true if the shortcut contains the given sequence - * @see KShortcut::contains() - */ - bool contains( const KKeySequence &keySeq ); - - /** - * Returns the string representation of the action's shortcut. - * @return the string representation of the action's shortcut. - * @see KShortcut::toString() - */ - TQString toString() const; - - /** - * @internal - */ - TQString toStringInternal() const; - - /** - * Returns true if four modifier keys will be used. - * @return true if four modifier keys will be used. - */ - static bool useFourModifierKeys(); - - /** - * Selects 3 or 4 modifier default shortcuts. - * @param use true to use 4 modifier shortcuts, false to use - * 3 modifier shortcuts - */ - static void useFourModifierKeys( bool use ); - - protected: - TQString m_sName, - m_sLabel, - m_sWhatsThis; - KShortcut m_cut; - KShortcut m_cutDefault3, m_cutDefault4; - const TQObject* m_pObjSlot; - const char* m_psMethodSlot; - bool m_bConfigurable, - m_bEnabled; - int m_nIDAccel; - uint m_nConnections; - - void incConnections(); - void decConnections(); - - private: - static int g_bUseFourModifierKeys; - class KAccelActionPrivate* d; - - friend class KAccelActions; - friend class KAccelBase; -}; - -//--------------------------------------------------------------------- -// KAccelActions -//--------------------------------------------------------------------- - -/** - * @internal - * This class represents a collection of KAccelAction objects. - * - * @short A collection of accelerator actions - * @see KAccelAction - */ -class KAccelActions -{ - public: - /** - * Creates a new, empty KAccelActions object. - */ - KAccelActions(); - - /** - * Copy constructor (deep copy). - */ - KAccelActions( const KAccelActions& ); - virtual ~KAccelActions(); - - /** - * Removes all items from this collection. - */ - void clear(); - - /** - * Initializes this object with the given actions. - * It will make a deep copy of all actions. - * @param actions the actions to copy - * @return true if successful, false otherwise - */ - bool init( const KAccelActions &actions ); - - /** - * Loads the actions from the given configuration file. - * - * @param config the configuration file to load from - * @param sGroup the group in the configuration file - * @return true if successful, false otherwise - */ - bool init( KConfigBase& config, const TQString& sGroup ); - - /** - * Updates the shortcuts of all actions in this object - * with the shortcuts from the given object. - * @param shortcuts the collection that contains the new - * shortcuts - */ - void updateShortcuts( KAccelActions &shortcuts ); - - /** - * Retrieves the index of the action with the given name. - * @param sAction the action to search - * @return the index of the action, or -1 if not found - */ - int actionIndex( const TQString& sAction ) const; - - /** - * Returns the action with the given @p index. - * @param index the index of an action. You must not - * use an index that is too high. - * @return the KAccelAction with the given index - * @see count() - */ - KAccelAction* actionPtr( uint index ); - - /** - * Returns the action with the given @p index. - * @param index the index of an action. You must not - * use an index that is too high. - * @return the KAccelAction with the given index - * @see count() - */ - const KAccelAction* actionPtr( uint index ) const; - - /** - * Returns the action with the given name. - * @param aAction the name of the action to search - * @return the KAccelAction with the given name, or 0 - * if not found - */ - KAccelAction* actionPtr( const TQString& sAction ); - - /** - * Returns the action with the given name. - * @param aAction the name of the action to search - * @return the KAccelAction with the given name, or 0 - * if not found - */ - const KAccelAction* actionPtr( const TQString& sAction ) const; - - /** - * Returns the action with the given key sequence. - * @param cut the sequence to search for - * @return the KAccelAction with the given sequence, or 0 - * if not found - */ - KAccelAction* actionPtr( KKeySequence cut ); - - /** - * Returns the action with the given @p index. - * @param index the index of an action. You must not - * use an index that is too high. - * @return the KAccelAction with the given index - * @see actionPtr() - * @see count() - */ - KAccelAction& operator []( uint index ); - - /** - * Returns the action with the given @p index. - * @param index the index of an action. You must not - * use an index that is too high. - * @return the KAccelAction with the given index - * @see actionPtr() - * @see count() - */ - const KAccelAction& operator []( uint index ) const; - - /** - * Inserts an action into the collection. - * @param sName the name of the accelerator - * @param sLabel the label of the accelerator (i18n!) - * @param sWhatsThis the What's This text (18n!) - * @param cutDef3 the default shortcut for 3 modifier systems - * @param cutDef4 the default shortcut for 4 modifier systems - * @param pObjSlot the receiver of a signal when the key has been - * pressed - * @param psMethodSlot the slot to connect for key presses. Receives - * an int, as set by setID(), as only argument - * @param bConfigurable if true the user can configure the shortcut - * @param bEnabled true if the accelerator should be enabled - * @return the new action - */ - KAccelAction* insert( const TQString& sAction, const TQString& sLabel, const TQString& sWhatsThis, - const KShortcut& rgCutDefaults3, const KShortcut& rgCutDefaults4, - const TQObject* pObjSlot = 0, const char* psMethodSlot = 0, - bool bConfigurable = true, bool bEnabled = true ); - - /** - * Inserts an action into the collection. - * @param sName the name of the accelerator - * @param sLabel the label of the accelerator (i18n!) - * @return the new action - */ - KAccelAction* insert( const TQString& sName, const TQString& sLabel ); - - /** - * Removes the given action. - * @param sAction the name of the action. - * @return true if successful, false otherwise - */ - bool remove( const TQString& sAction ); - - /** - * Loads the actions from the given configuration file. - * - * @param sConfigGroup the group in the configuration file - * @param pConfig the configuration file to load from - * @return true if successful, false otherwise - */ - bool readActions( const TQString& sConfigGroup = "Shortcuts", KConfigBase* pConfig = 0 ); - - /** - * Writes the actions to the given configuration file. - * - * @param sConfigGroup the group in the configuration file - * @param pConfig the configuration file to save to - * @param bWriteAll true to write all actions - * @param bGlobal true to write to the global configuration file - * @return true if successful, false otherwise - */ - bool writeActions( const TQString& sConfigGroup = "Shortcuts", KConfigBase* pConfig = 0, - bool bWriteAll = false, bool bGlobal = false ) const; - - /** - * Emit a keycodeChanged signal. - */ - void emitKeycodeChanged(); - - /** - * Returns the number of actions in the collection. - * @return the number of actions - */ - uint count() const; - - protected: - KAccelBase* m_pKAccelBase; - KAccelAction** m_prgActions; - uint m_nSizeAllocated, m_nSize; - - void resize( uint ); - void insertPtr( KAccelAction* ); - - private: - class KAccelActionsPrivate* d; - - KAccelActions( KAccelBase* ); - void initPrivate( KAccelBase* ); - KAccelActions& operator =( KAccelActions& ); - - friend class KAccelBase; -}; - -#endif // _KACCELACTION_H diff --git a/python/pykde/extra/kde332/kaccelbase.h b/python/pykde/extra/kde332/kaccelbase.h deleted file mode 100644 index e2ec66e9..00000000 --- a/python/pykde/extra/kde332/kaccelbase.h +++ /dev/null @@ -1,230 +0,0 @@ -/* This file is part of the KDE libraries - Copyright (C) 2001 Ellis Whitehead - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. -*/ - -#ifndef _KACCELBASE_H -#define _KACCELBASE_H - -#include -#include -#include -#include -#include - -#include "kaccelaction.h" -#include "kkeyserver_x11.h" - -class TQPopupMenu; -class TQWidget; - -//---------------------------------------------------- - -/** - * @internal - * Handle keyboard accelerators. - * - * Allow an user to configure - * key bindings through application configuration files or through the - * KKeyChooser GUI. - * - * A KAccel contains a list of accelerator items. Each accelerator item - * consists of an action name and a keyboard code combined with modifiers - * (Shift, Ctrl and Alt.) - * - * For example, "Ctrl+P" could be a shortcut for printing a document. The key - * codes are listed in ckey.h. "Print" could be the action name for printing. - * The action name identifies the key binding in configuration files and the - * KKeyChooser GUI. - * - * When pressed, an accelerator key calls the slot to which it has been - * connected. Accelerator items can be connected so that a key will activate - * two different slots. - * - * A KAccel object handles key events sent to its parent widget and to all - * children of this parent widget. - * - * Key binding reconfiguration during run time can be prevented by specifying - * that an accelerator item is not configurable when it is inserted. A special - * group of non-configurable key bindings are known as the - * standard accelerators. - * - * The standard accelerators appear repeatedly in applications for - * standard document actions such as printing and saving. Convenience methods are - * available to insert and connect these accelerators which are configurable on - * a desktop-wide basis. - * - * It is possible for a user to choose to have no key associated with - * an action. - * - * The translated first argument for insertItem() is used only - * in the configuration dialog. - *\code - * KAccel *a = new KAccel( myWindow ); - * // Insert an action "Scroll Up" which is associated with the "Up" key: - * a->insertItem( i18n("Scroll Up"), "Scroll Up", "Up" ); - * // Insert an action "Scroll Down" which is not associated with any key: - * a->insertItem( i18n("Scroll Down"), "Scroll Down", 0); - * a->connectItem( "Scroll up", myWindow, TQT_SLOT( scrollUp() ) ); - * // a->insertStdItem( KStdAccel::Print ); //not necessary, since it - * // is done automatially with the - * // connect below! - * a->connectItem(KStdAccel::Print, myWindow, TQT_SLOT( printDoc() ) ); - * - * a->readSettings(); - *\endcode - * - * If a shortcut has a menu entry as well, you could insert them like - * this. The example is again the KStdAccel::Print from above. - * - * \code - * int id; - * id = popup->insertItem("&Print",this, TQT_SLOT(printDoc())); - * a->changeMenuAccel(popup, id, KStdAccel::Print ); - * \endcode - * - * If you want a somewhat "exotic" name for your standard print action, like - * id = popup->insertItem(i18n("Print &Document"),this, TQT_SLOT(printDoc())); - * it might be a good idea to insert the standard action before as - * a->insertStdItem( KStdAccel::Print, i18n("Print Document") ) - * as well, so that the user can easily find the corresponding function. - * - * This technique works for other actions as well. Your "scroll up" function - * in a menu could be done with - * - * \code - * id = popup->insertItem(i18n"Scroll &up",this, TQT_SLOT(scrollUp())); - * a->changeMenuAccel(popup, id, "Scroll Up" ); - * \endcode - * - * Please keep the order right: First insert all functions in the - * acceleratior, then call a -> readSettings() and @em then build your - * menu structure. - * - * @short Configurable key binding support. - * @version $Id: kaccelbase.h,v 1.26 2003/08/16 19:44:57 coolo Exp $ - */ - -class KAccelBase -{ - public: - enum Init { QT_KEYS = 0x00, NATIVE_KEYS = 0x01 }; - enum Signal { KEYCODE_CHANGED }; - - KAccelBase( int fInitCode ); - virtual ~KAccelBase(); - - uint actionCount() const; - KAccelActions& actions(); - bool isEnabled() const; - - KAccelAction* actionPtr( const TQString& sAction ); - const KAccelAction* actionPtr( const TQString& sAction ) const; - KAccelAction* actionPtr( const KKey& key ); - KAccelAction* actionPtr( const KKeyServer::Key& key ); - - const TQString& configGroup() const { return m_sConfigGroup; } - void setConfigGroup( const TQString& group ); - void setConfigGlobal( bool global ); - virtual void setEnabled( bool bEnabled ) = 0; - bool getAutoUpdate() { return m_bAutoUpdate; } - // return value of AutoUpdate flag before this call. - bool setAutoUpdate( bool bAuto ); - -// Procedures for manipulating Actions. - //void clearActions(); - - KAccelAction* insert( const TQString& sName, const TQString& sDesc ); - KAccelAction* insert( - const TQString& sAction, const TQString& sDesc, const TQString& sHelp, - const KShortcut& rgCutDefaults3, const KShortcut& rgCutDefaults4, - const TQObject* pObjSlot, const char* psMethodSlot, - bool bConfigurable = true, bool bEnabled = true ); - bool remove( const TQString& sAction ); - bool setActionSlot( const TQString& sAction, const TQObject* pObjSlot, const char* psMethodSlot ); - - bool updateConnections(); - - bool setShortcut( const TQString& sAction, const KShortcut& cut ); - -// Modify individual Action sub-items - bool setActionEnabled( const TQString& sAction, bool bEnable ); - - /** - * Read all key associations from @p config, or (if @p config - * is zero) from the application's configuration file - * KGlobal::config(). - * - * The group in which the configuration is stored can be - * set with setConfigGroup(). - */ - void readSettings( KConfigBase* pConfig = 0 ); - - /** - * Write the current configurable associations to @p config, - * or (if @p config is zero) to the application's - * configuration file. - */ - void writeSettings( KConfigBase* pConfig = 0 ) const; - - TQPopupMenu* createPopupMenu( TQWidget* pParent, const KKeySequence& ); - - // Protected methods - protected: - void slotRemoveAction( KAccelAction* ); - - struct X; - void createKeyList( TQValueVector& rgKeys ); - bool insertConnection( KAccelAction* ); - bool removeConnection( KAccelAction* ); - - virtual bool emitSignal( Signal ) = 0; - virtual bool connectKey( KAccelAction&, const KKeyServer::Key& ) = 0; - virtual bool connectKey( const KKeyServer::Key& ) = 0; - virtual bool disconnectKey( KAccelAction&, const KKeyServer::Key& ) = 0; - virtual bool disconnectKey( const KKeyServer::Key& ) = 0; - - protected: - struct ActionInfo - { - KAccelAction* pAction; - uint iSeq, iVariation; - //ActionInfo* pInfoNext; // nil if only one action uses this key. - - ActionInfo() { pAction = 0; iSeq = 0xffff; iVariation = 0xffff; } - ActionInfo( KAccelAction* _pAction, uint _iSeq, uint _iVariation ) - { pAction = _pAction; iSeq = _iSeq; iVariation = _iVariation; } - }; - typedef TQMap KKeyToActionMap; - - KAccelActions m_rgActions; - KKeyToActionMap m_mapKeyToAction; - TQValueList m_rgActionsNonUnique; - bool m_bNativeKeys; // Use native key codes instead of Qt codes - bool m_bEnabled; - bool m_bConfigIsGlobal; - TQString m_sConfigGroup; - bool m_bAutoUpdate; - KAccelAction* mtemp_pActionRemoving; - - private: - KAccelBase& operator =( const KAccelBase& ); - - friend class KAccelActions; -}; - -#endif // _KACCELBASE_H diff --git a/python/pykde/extra/kde332/kicontheme.h b/python/pykde/extra/kde332/kicontheme.h deleted file mode 100644 index 73167a0f..00000000 --- a/python/pykde/extra/kde332/kicontheme.h +++ /dev/null @@ -1,338 +0,0 @@ -/* vi: ts=8 sts=4 sw=4 - * - * $Id: kicontheme.h,v 1.31 2004/05/31 17:18:02 montanaro Exp $ - * - * This file is part of the KDE project, module kdecore. - * Copyright (C) 2000 Geert Jansen - * Antonio Larrosa - * - * This is free software; it comes under the GNU Library General - * Public License, version 2. See the file "COPYING.LIB" for the - * exact licensing terms. - * - */ - -#ifndef __KIconTheme_h_Included__ -#define __KIconTheme_h_Included__ - -#include -#include -#include - -class KConfig; -//class KIconThemeDir; - -class KIconThemePrivate; - -class KIconPrivate; - -/** - * One icon as found by KIconTheme. Also serves as a namespace containing - * icon related constants. - * @see KIconEffect - * @see KIconTheme - * @see KIconLoader - */ -class KIcon -{ -public: - KIcon() { size = 0; } - - /** - * Return true if this icon is valid, false otherwise. - */ - bool isValid() const { return size != 0; } - - /** - * Defines the context of the icon. - */ - enum Context { - Any, ///< Some icon with unknown purpose. - Action, ///< An action icon (e.g. 'save', 'print'). - Application, ///< An icon that represents an application. - Device, ///< An icon that represents a device. - FileSystem, ///< An icon that represents a file system. - MimeType ///< An icon that represents a mime type (or file type). - }; - - /** - * The type of the icon. - */ - enum Type { - Fixed, ///< Fixed-size icon. - Scalable, ///< Scalable-size icon. - Threshold ///< A threshold icon. - }; - - /** - * The type of a match. - */ - enum MatchType { - MatchExact, ///< Only try to find an exact match. - MatchBest ///< Take the best match if there is no exact match. - - }; - - // if you add a group here, make sure to change the config reading in - // KIconLoader too - /** - * The group an an icon. - */ - enum Group { NoGroup=-1, Desktop=0, FirstGroup=0, Toolbar, - MainToolbar, Small, Panel, LastGroup, User }; - - /** - * These are the standard sizes for icons. - */ - enum StdSizes { - /// small icons for menu entries - SizeSmall=16, - /// slightly larger small icons for toolbars, panels, etc - SizeSmallMedium=22, - /// medium sized icons for the desktop - SizeMedium=32, - /// large sized icons for the panel - SizeLarge=48, - /// huge sized icons for iconviews - SizeHuge=64, - /// enormous (ugh!) sized icons for iconviews - SizeEnormous=128 - }; - - /** - * Defines the possible states of an icon. - */ - enum States { DefaultState, ///< The default state. - ActiveState, ///< Icon is active. - DisabledState, ///< Icon is disabled. - LastState ///< Last state (last constant) - }; - - /** - * This defines an overlay, a semi-transparent image that is - * projected onto the icon. They are used to show that the file - * represented by the icon is, for example, locked, zipped or hidden. - */ - enum Overlays { - LockOverlay=0x100, ///< a file is locked - ZipOverlay=0x200, ///< a file is zipped - LinkOverlay=0x400, ///< a fileis a link - HiddenOverlay=0x800, ///< a file is hidden - ShareOverlay=0x1000, ///< a file is shared - OverlayMask = ~0xff - }; - - /** - * The size in pixels of the icon. - */ - int size; - - /** - * The context of the icon. - */ - Context context; - - /** - * The type of the icon: Fixed, Scalable or Threshold. - **/ - Type type; - - /** - * The threshold in case type == Threshold - */ - int threshold; - - /** - * The full path of the icon. - */ - TQString path; - -private: - KIconPrivate *d; -}; - -inline KIcon::Group& operator++(KIcon::Group& group) { group = static_cast(group+1); return group; } -inline KIcon::Group operator++(KIcon::Group& group,int) { KIcon::Group ret = group; ++group; return ret; } - -/** - * Class to use/access icon themes in KDE. This class is used by the - * iconloader but can be used by others too. - * @see KIconLoader - */ -class KIconTheme -{ -public: - /** - * Load an icon theme by name. - * @param name the name of the theme (e.g. "hicolor" or "keramik") - * @param appName the name of the application. Can be null. This argument - * allows applications to have themed application icons. - */ - KIconTheme(const TQString& name, const TQString& appName=TQString::null); - ~KIconTheme(); - - /** - * The stylized name of the icon theme. - * @return the (human-readable) name of the theme - */ - TQString name() const { return mName; } - - /** - * A description for the icon theme. - * @return a human-readable description of the theme, TQString::null - * if there is none - */ - TQString description() const { return mDesc; } - - /** - * Return the name of the "example" icon. This can be used to - * present the theme to the user. - * @return the name of the example icon, TQString::null if there is none - */ - TQString example() const; - - /** - * Return the name of the screenshot. - * @return the name of the screenshot, TQString::null if there is none - */ - TQString screenshot() const; - - /** - * Returns the name of this theme's link overlay. - * @return the name of the link overlay - */ - TQString linkOverlay() const; - - /** - * Returns the name of this theme's zip overlay. - * @return the name of the zip overlay - */ - TQString zipOverlay() const; - - /** - * Returns the name of this theme's lock overlay. - * @return the name of the lock overlay - */ - TQString lockOverlay() const; - - /** - * Returns the name of this theme's share overlay. - * @return the name of the share overlay - * @since 3.1 - */ - TQString shareOverlay () const; - - /** - * Returns the toplevel theme directory. - * @return the directory of the theme - */ - TQString dir() const { return mDir; } - - /** - * The themes this icon theme falls back on. - * @return a list of icon themes that are used as fall-backs - */ - TQStringList inherits() const { return mInherits; } - - /** - * The icon theme exists? - * @return true if the icon theme is valid - */ - bool isValid() const; - - /** - * The icon theme should be hidden to the user? - * @return true if the icon theme is hidden - * @since 3.1 - */ - bool isHidden() const; - - /** - * The minimum display depth required for this theme. This can either - * be 8 or 32. - * @return the minimum bpp (8 or 32) - */ - int depth() const { return mDepth; } - - /** - * The default size of this theme for a certain icon group. - * @param group The icon group. See KIcon::Group. - * @return The default size in pixels for the given icon group. - */ - int defaultSize(KIcon::Group group) const; - - /** - * Query available sizes for a group. - * @param group The icon group. See KIcon::Group. - * @return a list of available sized for the given group - */ - TQValueList querySizes(KIcon::Group group) const; - - /** - * Query available icons for a size and context. - * @param size the size of the icons - * @param context the context of the icons - * @return the list of icon names - */ - TQStringList queryIcons(int size, KIcon::Context context = KIcon::Any) const; - - /** - * Query available icons for a context and preferred size. - * @param size the size of the icons - * @param context the context of the icons - * @return the list of icon names - */ - TQStringList queryIconsByContext(int size, KIcon::Context context = KIcon::Any) const; - - - /** - * Lookup an icon in the theme. - * @param name The name of the icon, without extension. - * @param size The desired size of the icon. - * @param match The matching mode. KIcon::MatchExact returns an icon - * only if matches exactly. KIcon::MatchBest returns the best matching - * icon. - * @return A KIcon class that describes the icon. If an icon is found, - * @see KIcon::isValid will return true, and false otherwise. - */ - KIcon iconPath(const TQString& name, int size, KIcon::MatchType match) const; - - /** - * List all icon themes installed on the system, global and local. - * @return the list of all icon themes - */ - static TQStringList list(); - - /** - * Returns the current icon theme. - * @return the name of the current theme - */ - static TQString current(); - - /** - * Reconfigure the theme. - */ - static void reconfigure(); - - /** - * Returns the default icon theme. - * @return the name of the default theme name - * @since 3.1 - */ - static TQString defaultThemeName(); - -private: - int mDefSize[8]; - TQValueList mSizes[8]; - - int mDepth; - TQString mDir, mName, mDesc; - TQStringList mInherits; -// TQPtrList mDirs; -// KIconThemePrivate *d; - - static TQString *_theme; - static TQStringList *_theme_list; -}; - -#endif diff --git a/python/pykde/extra/kde332/kkeyserver_x11.h b/python/pykde/extra/kde332/kkeyserver_x11.h deleted file mode 100644 index 1271f506..00000000 --- a/python/pykde/extra/kde332/kkeyserver_x11.h +++ /dev/null @@ -1,433 +0,0 @@ -#ifndef _KKEYSERVER_X11_H -#define _KKEYSERVER_X11_H - -#include "kshortcut.h" -#include "kkeynative.h" - -/** - * A collection of functions for the conversion of key presses and - * their modifiers from the window system (X11) specific format - * to the generic format and vice-versa. - */ -namespace KKeyServer -{ - /** - * Supplement enum KKey::ModFlag - * @since 3.1 - */ - enum ExtraModFlag { MODE_SWITCH = 0x2000 }; - - /** - * Represents a key symbol. - * @see KKey - * @see KKeyServer - */ - struct Sym - { - public: - /// the actual value of the symbol - uint m_sym; - - /// Creates a null symbol. - Sym() - { m_sym = 0; } - /** - * Creates asymbol with the given value. - * @param sym the value - */ - Sym( uint sym ) - { m_sym = sym; } - /** - * Creates a symbol from the given string description. - * @param s the description of the symbol - * @see toString() - */ - Sym( const TQString& s ) - { init( s ); } - - /** - * Initializes the symbol with the given Qt key code. - * @param keyQt the qt key code - * @return true if successful, false otherwise - * @see Qt::Key - */ - bool initQt( int keyQt ); - - /** - * Initializes the key with the given string description. - * @param s the string description - * @return true if successful, false otherwise - * @see toString() - */ - bool init( const TQString &s ); - - /** - * Returns the qt key code of the symbol. - * @return the qt key code - */ - int qt() const; - - /** - * @internal - */ - TQString toStringInternal() const; - - /** - * Returns the string representation of the symbol. - * @return the string representation of the symbol - */ - TQString toString() const; - - /** - * Returns the mods that are required for this symbol as - * ORed KKey::ModFlag's. For example, Break requires a - * Ctrl to be valid. - * @return the required KKey::ModFlag's - * @see KKey::ModFlag - */ - uint getModsRequired() const; - - /** - * TODO: please find out what this method does and document it - */ - uint getSymVariation() const; - - /** - * Casts the symbol to its integer representation. - */ - operator uint() const { return m_sym; } - - /** - * Overloaded operator to convert ints to Sym. - */ - Sym& operator =( uint sym ) { m_sym = sym; return *this; } - - private: - TQString toString( bool bUserSpace ) const; - - static void capitalizeKeyname( TQString& ); - }; - - /** - * Represents a key press. - * @see KKey - */ - struct Key - { - /// Code for native Keys in Qt - enum { CODE_FOR_QT = 256 }; - - /// The code of the key - uint m_code; - - /// The modifiers of the key - uint m_mod; - - /// The symbol of the key - uint m_sym; - - /** - * Initializes the key with a KKey. - * @param key the key to get the data from - * @param bQt true to take the Qt keycode, false - * for the native key code - * @see Qt::Key - * @see KKeyNative - */ - bool init( const KKey& key, bool bQt ); - - /** - * Checks whether the key code is a native code. - * @return true if native code of the window system, - * false if it is a Qt keycode - * @see Qt::Key - * @see KKeyNative - */ - bool isNative() const { return m_code != CODE_FOR_QT; } - - /** - * Returns the code of the key. - * @return the code of the key - */ - uint code() const { return m_code; } - - /** - * Returns the modifiers of the key. - * @return the modifiers of the key - */ - uint mod() const { return m_mod; } - - /** - * Returns the symbol of the key. - * @return the symbol of the key - */ - uint sym() const { return m_sym; } - - /** - * Returns the qt key code. - * @return the qt key code - */ - int keyCodeQt() const { return (int) m_sym; } - - /** - * Sets the qt key code. - * @param keyQt the qt key code - */ - void setKeycodeQt( int keyQt ) - { m_code = CODE_FOR_QT; m_sym = keyQt; } - - /** - * Initializes this key with a KKeyNative. - * @return this key - */ - Key& operator =( const KKeyNative& key ); - - /** - * Compares this key with the given Key object. Returns a - * negative number if the given Key is larger, 0 if they - * are equal and a positive number this Key is larger. The - * returned value is the difference between the symbol, modifier - * or code, whatever is non-zero first. - * - * @param key the key to compare with this key - * @return a negative number if the given Key is larger, 0 if - * they are equal and a positive number this Key is larger - */ - int compare( const Key& key ) const; - - /** - * Compares the symbol, modifiers and code of both keys. - * @see compare() - */ - bool operator ==( const Key& b ) const - { return compare( b ) == 0; } - - /** - * Compares the symbol, modifiers and code of both keys. - * @see compare() - */ - bool operator <( const Key& b ) const - { return compare( b ) < 0; } - - /** - * Converts this Key to a KKey. - * @return the KKey - */ - KKey key() const; - }; - - /** - * TODO: please document this class - */ - struct Variations - { - enum { MAX_VARIATIONS = 4 }; - - Key m_rgkey[MAX_VARIATIONS]; - uint m_nVariations; - - Variations() { m_nVariations = 0; } - - void init( const KKey&, bool bQt ); - - uint count() const { return m_nVariations; } - const Key& key( uint i ) const { return m_rgkey[i]; } - }; - - /// TODO: please document - bool initializeMods(); - - /** - * Returns the equivalent X modifier mask of the given modifier flag. - * @param modFlag the generic flags to check - * @return the window system specific flags - */ - uint modX( KKey::ModFlag modFlag ); - - /** - * Returns true if the current keyboard layout supports the Win key. - * Specifically, whether the Super or Meta keys are assigned to an X modifier. - * @return true if the keyboard has a Win key - * @see modXWin() - */ - bool keyboardHasWinKey(); - - /** - * Returns the X11 Shift modifier mask/flag. - * @return the X11 Shift modifier mask/flag. - * @see accelModMaskX() - */ - uint modXShift(); - - /** - * Returns the X11 Lock modifier mask/flag. - * @return the X11 Lock modifier mask/flag. - * @see accelModMaskX() - */ - uint modXLock(); - - /** - * Returns the X11 Ctrl modifier mask/flag. - * @return the X11 Ctrl modifier mask/flag. - * @see accelModMaskX() - */ - uint modXCtrl(); - - /** - * Returns the X11 Alt (Mod1) modifier mask/flag. - * @return the X11 Alt (Mod1) modifier mask/flag. - * @see accelModMaskX() - */ - uint modXAlt(); - - /** - * Returns the X11 NumLock modifier mask/flag. - * @return the X11 NumLock modifier mask/flag. - * @see accelModMaskX() - */ - uint modXNumLock(); - - /** - * Returns the X11 Win (Mod3) modifier mask/flag. - * @return the X11 Win (Mod3) modifier mask/flag. - * @see keyboardHasWinKey() - * @see accelModMaskX() - */ - uint modXWin(); - - /** - * Returns the X11 ScrollLock modifier mask/flag. - * @return the X11 ScrollLock modifier mask/flag. - * @see accelModMaskX() - */ - uint modXScrollLock(); - - /** - * Returns bitwise OR'ed mask containing Shift, Ctrl, Alt, and - * Win (if available). - * @see modXShift() - * @see modXLock() - * @see modXCtrl() - * @see modXAlt() - * @see modXNumLock() - * @see modXWin() - * @see modXScrollLock() - */ - uint accelModMaskX(); - - /** - * Extracts the symbol from the given Qt key and - * converts it to a symbol. - * @param keyQt the qt key code - * @param sym if successful, the symbol will be written here - * @return true if successful, false otherwise - * @see Qt::Key - * @see Sym - */ - bool keyQtToSym( int keyQt, uint& sym ); - - /** - * Extracts the modifiers from the given Qt key and - * converts them in a mask of ORed KKey::ModFlag modifiers. - * @param keyQt the qt key code - * @param mod if successful, the modifiers will be written here - * @return true if successful, false otherwise - * @see Qt::Key - */ - bool keyQtToMod( int keyQt, uint& mod ); - - /** - * Converts the given symbol to a Qt key code. - * @param sym the symbol - * @param keyQt if successful, the qt key code will be written here - * @return true if successful, false otherwise - * @see Qt::Key - * @see Sym - */ - bool symToKeyQt( uint sym, int& keyQt ); - - /** - * Converts the mask of ORed KKey::ModFlag modifiers to - * a mask of ORed Qt key code modifiers. - * @param mod the mask of KKey::ModFlag modifiers - * @param modQt the mask of Qt key code modifiers will be written here, - * if successful - * @return true if successful, false otherwise - * @see Qt::Key - * @see KKey - */ - bool modToModQt( uint mod, int& modQt ); - - /** - * Converts the mask of ORed KKey::ModFlag modifiers to - * a mask of ORed X11 modifiers. - * @param mod the mask of KKey::ModFlag modifiers - * @param modX the mask of X11 modifiers will be written here, - * if successful - * @return true if successful, false otherwise - * @see KKey - */ - bool modToModX( uint mod, uint& modX ); - - /** - * Converts the mask of ORed X11 modifiers to - * a mask of ORed Qt key code modifiers. - * @param modX the mask of X11 modifiers - * @param modQt the mask of Qt key code modifiers will be written here - * if successful - * @return true if successful, false otherwise - * @see Qt::Key - */ - bool modXToModQt( uint modX, int& modQt ); - - /** - * Converts the mask of ORed X11 modifiers to - * a mask of ORed KKey::ModFlag modifiers. - * @param modX the mask of X11 modifiers - * @param mod the mask of KKey::ModFlag modifiers will be written here, - * if successful - * @return true if successful, false otherwise - * @see KKey - */ - bool modXToMod( uint modX, uint& mod ); - - /** - * Converts a X11 key code and a mask of ORed X11 modifiers - * into a X11 symbol. - * converts it to a symbol. - * @param codeX the X11 key code - * @param modX the mask of ORed X11 modifiers - * @param symX if successful, the X11 symbol will be written here - * @return true if successful, false otherwise - * @see Qt::Key - * @see Sym - */ - bool codeXToSym( uchar codeX, uint modX, uint& symX ); - - /** - * @internal - */ - TQString modToStringInternal( uint mod ); - - /** - * Converts the mask of ORed KKey::ModFlag modifiers to a - * user-readable string. - * @param mod the mask of ORed KKey::ModFlag modifiers - * @return the user-readable string - */ - TQString modToStringUser( uint mod ); - - /** - * @internal - * Unimplemented? - */ - bool stringToSymMod( const TQString&, uint& sym, uint& mod ); - - /** - * @internal - * Unimplemented? - */ - void keyQtToKeyX( uint keyCombQt, unsigned char *pKeyCodeX, uint *pKeySymX, uint *pKeyModX ); -} - -#endif // !_KKEYSERVER_X11_H diff --git a/python/pykde/extra/kde332/konsole_part.h b/python/pykde/extra/kde332/konsole_part.h deleted file mode 100644 index e264732c..00000000 --- a/python/pykde/extra/kde332/konsole_part.h +++ /dev/null @@ -1,229 +0,0 @@ -/* - This file is part of the KDE system - Copyright (C) 1999,2000 Boloni Laszlo - - This program is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. - */ - -#ifndef __KONSOLE_PART_H__ -#define __KONSOLE_PART_H__ - -#include -#include - - -#include - -#include - -//#include "schema.h" -//#include "session.h" - -class KInstance; -class konsoleBrowserExtension; -class TQPushButton; -class TQSpinBox; -class KPopupMenu; -class TQCheckBox; -class KRootPixmap; -class KToggleAction; -class KSelectAction; - -namespace KParts { class GUIActivateEvent; } - -class konsoleFactory : public KParts::Factory -{ - Q_OBJECT -public: - konsoleFactory(); - virtual ~konsoleFactory(); - - virtual KParts::Part* createPartObject(TQWidget *parentWidget = 0, const char *widgetName = 0, - TQObject* parent = 0, const char* name = 0, - const char* classname = "KParts::Part", - const TQStringList &args = TQStringList()); - - static KInstance *instance(); - - private: - static KInstance *s_instance; - static KAboutData *s_aboutData; -}; - -////////////////////////////////////////////////////////////////////// - -class konsolePart: public KParts::ReadOnlyPart, public TerminalInterface -{ - Q_OBJECT - public: - konsolePart(TQWidget *parentWidget, const char *widgetName, TQObject * parent, const char *name, const char *classname = 0); - virtual ~konsolePart(); - -signals: - void processExited(); - void receivedData( const TQString& s ); - protected: - virtual bool openURL( const KURL & url ); - virtual bool openFile() {return false;} // never used - virtual bool closeURL() {return true;} - virtual void guiActivateEvent( KParts::GUIActivateEvent * event ); - - protected slots: - void showShell(); - void slotProcessExited(); - void slotReceivedData( const TQString& s ); - -// void doneSession(TESession*); - void sessionDestroyed(); -// void configureRequest(TEWidget*,int,int x,int y); - void updateTitle(); - void enableMasterModeConnections(); - - private slots: - void emitOpenURLRequest(const TQString &url); - - void readProperties(); - void saveProperties(); - - void sendSignal(int n); - void closeCurrentSession(); - - void notifySize(int,int); - - void slotToggleFrame(); - void slotSelectScrollbar(); - void slotSelectFont(); - void schema_menu_check(); - void keytab_menu_activated(int item); - void updateSchemaMenu(); - void setSchema(int n); - void pixmap_menu_activated(int item); - void schema_menu_activated(int item); - void slotHistoryType(); - void slotSelectBell(); - void slotSelectLineSpacing(); - void slotBlinkingCursor(); - void slotWordSeps(); - void fontNotFound(); - void slotSetEncoding(); - void slotFontChanged(); - - private: - konsoleBrowserExtension *m_extension; - KURL currentURL; - - void makeGUI(); - void applySettingsToGUI(); - - void setFont(int fontno); -// void setSchema(ColorSchema* s); - void updateKeytabMenu(); - - bool doOpenStream( const TQString& ); - bool doWriteStream( const TQByteArray& ); - bool doCloseStream(); - - TQWidget* parentWidget; -// TEWidget* te; -// TESession* se; -// ColorSchemaList* colors; - KRootPixmap* rootxpm; - - KToggleAction* blinkingCursor; - KToggleAction* showFrame; - - KSelectAction* selectBell; - KSelectAction* selectFont; - KSelectAction* selectLineSpacing; - KSelectAction* selectScrollbar; - KSelectAction* selectSetEncoding; - - KPopupMenu* m_keytab; - KPopupMenu* m_schema; - KPopupMenu* m_signals; - KPopupMenu* m_options; - KPopupMenu* m_popupMenu; - - TQFont defaultFont; - - TQString pmPath; // pixmap path - TQString s_schema; - TQString s_kconfigSchema; - TQString s_word_seps; // characters that are considered part of a word - TQString fontNotFound_par; - - bool b_framevis:1; - bool b_histEnabled:1; - - int curr_schema; // current schema no - int n_bell; - int n_font; - int n_keytab; - int n_render; - int n_scroll; - unsigned m_histSize; - bool m_runningShell; - bool m_streamEnabled; - int n_encoding; - -public: - // these are the implementations for the TermEmuInterface - // functions... - void startProgram( const TQString& program, - const TQStrList& args ); - void showShellInDir( const TQString& dir ); - void sendInput( const TQString& text ); -}; - -////////////////////////////////////////////////////////////////////// - -/*class HistoryTypeDialog : public KDialogBase -{ - Q_OBJECT -public: - HistoryTypeDialog(const HistoryType& histType, - unsigned int histSize, - TQWidget *parent); - -public slots: - void slotDefault(); - void slotSetUnlimited(); - void slotHistEnable(bool); - - unsigned int nbLines() const; - bool isOn() const; - -protected: - TQCheckBox* m_btnEnable; - TQSpinBox* m_size; - TQPushButton* m_setUnlimited; -}; - -////////////////////////////////////////////////////////////////////// -*/ - -class konsoleBrowserExtension : public KParts::BrowserExtension -{ - Q_OBJECT - friend class konsolePart; - public: - konsoleBrowserExtension(konsolePart *parent); - virtual ~konsoleBrowserExtension(); - - void emitOpenURLRequest(const KURL &url); -}; - -#endif diff --git a/python/pykde/extra/kde332/kpanelmenu.h b/python/pykde/extra/kde332/kpanelmenu.h deleted file mode 100644 index 4186156b..00000000 --- a/python/pykde/extra/kde332/kpanelmenu.h +++ /dev/null @@ -1,181 +0,0 @@ -/***************************************************************** - -Copyright (c) 1996-2000 the kicker authors. See file AUTHORS. - (c) 2001 Michael Goffioul - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN -AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - -******************************************************************/ - -#ifndef __KPANELMENU_H__ -#define __KPANELMENU_H__ - -#include -#include -#include - -class KPanelMenuPrivate; - -/** - * This class allows to build menu entries that will be dynamically added either to - * the K-menu, or to the panel as a normal button. These dynamic menus are located - * in shared libraries that will be loaded at runtime by Kicker (the KDE panel). - * - * To build such a menu, you have to inherit this class and implement the pure virtual - * functions #initialize() and slotExec(). You also have to provide a factory - * object in your library, see KLibFactory. This factory is only used to construct - * the menu object. - * - * Finally, you also have to provide a desktop file describing your dynamic menu. The - * relevant entries are: Name, Comment, Icon and X-KDE-Library (which contains the - * library name without any extension). This desktop file has to be installed in - * $KDEDIR/share/apps/kicker/menuext/. - * - * @short Base class to build dynamically loaded menu entries for the K-menu, or the panel. - * @author The kicker maintainer, Michael Goffioul - */ -class KPanelMenu : public KPopupMenu -{ - Q_OBJECT - -public: - /** - * Construct a KPanelMenu object. This is the normal constructor to use when - * building extrernal menu entries. - */ - KPanelMenu(TQWidget *parent=0, const char *name=0); - /** - * Constructor used internally by Kicker. You don't really want to use it. - * @param startDir a directory to associate with this menu - * @param parent parent object - * @param name name of the object - * @see path(), setPath() - */ - KPanelMenu(const TQString &startDir, TQWidget *parent=0, const char *name=0); - /** - * Destructor. - */ - virtual ~KPanelMenu(); - - /** - * Get the directory path associated with this menu, or TQString::null if - * there's no such associated path. - * @return the associated directory path - * @see setPath() - */ - const TQString& path() const; - /** - * Set a directory path to be associated with this menu. - * @param p the directory path - * @see path() - */ - void setPath(const TQString &p); - /** - * Tell if the menu has been initialized, that is it already contains items. - * This is useful when you need to know if you have to clear the menu, or to - * fill it. - * @return the initial state - * @see setInitialized(), initialize() - */ - bool initialized() const; - /** - * Set the initial state. Set it to true when you menu is filled with the items - * you want. - * @param on the initial state - * @see initialized(), initialize() - */ - void setInitialized(bool on); - - /** - * Disable the automatic clearing of the menu. Kicker uses a cache system for - * its menus. After a specific configurable delay, the menu will be cleared. - * Use this function if you want to disable kicker's cache system, and avoid - * the clearing of your menu. - */ - void disableAutoClear(); - -public slots: - /** - * Reinitialize the menu: the menu is first cleared, the initial state is set - * to false, and finally #initialize() is called. Use this if you want to - * refill your menu immediately. - */ - void reinitialize(); - /** - * Deinitialize the menu: the menu is cleared and the initialized state is set to - * false. #initialize() is NOT called. It will be called before the menu is - * next shown, however. Use this slot if you want a delayed reinitialization. - * @since 3.1 - */ - void deinitialize(); - -protected slots: - /** - * This slot is called just before the menu is shown. This allows your menu - * to update itself if needed. However you should instead re-implement - * #initialize to provide this feature. This function is responsible for - * the cache system handling, so if you re-implement it, you should call - * the base function also. Calls #initialize(). - * @see disableAutoClear() - */ - virtual void slotAboutToShow(); - /** - * This is slot is called when an item from the menu has been selected. Your - * applet is then supposed to perform some action. You must re-implement this - * function. - * @param id the ID associated with the selected item - */ - virtual void slotExec(int id) = 0; - /** - * This slots is called to initialize the menu. It is called automatically by - * slotAboutToShow(). By re-implementing this functions, you can reconstruct - * the menu before it is being shown. At the end of this function, you should - * call setInitialize() with true to tell the system that the menu is OK. - * You applet must re-implement this function. - * @see slotAboutToShow(), initialized(), setInitialized() - */ - virtual void initialize() = 0; - /** - * Clears the menu, and update the initial state accordingly. - * @see initialized() - */ - void slotClear(); - -protected: - /** - * Re-implemented for internal reasons. - */ - virtual void hideEvent(TQHideEvent *ev); - /** - * For internal use only. Used by constructors. - */ - void init(const TQString& path = TQString::null); - -protected: - virtual void virtual_hook( int id, void* data ); -private: - void internalInitialize(); - KPanelMenuPrivate *d; -}; - -#define K_EXPORT_KICKER_MENUEXT( libname, classname ) \ - K_EXPORT_COMPONENT_FACTORY( \ - kickermenu_##libname, \ - KGenericFactory("libkickermenu_" #libname) ) - -#endif diff --git a/python/pykde/extra/kde332/krecentdirs.h b/python/pykde/extra/kde332/krecentdirs.h deleted file mode 100644 index 61a50706..00000000 --- a/python/pykde/extra/kde332/krecentdirs.h +++ /dev/null @@ -1,68 +0,0 @@ -/* -*- c++ -*- - * Copyright (C)2000 Waldo Bastian - * - * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * - * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND - * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE - * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS - * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) - * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT - * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY - * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF - * SUCH DAMAGE. - * - */ -#ifndef __KRECENTDIRS_H -#define __KRECENTDIRS_H - -#include - -/** - * The goal of this class is to make sure that, when the user needs to - * specify a file via the file selection dialog, this dialog will start - * in the directory most likely to contain the desired files. - * - * This works as follows: Each time the file selection dialog is - * shown, the programmer can specify a "file-class". The file-dialog will - * then start with the directory associated with this file-class. When - * the dialog closes, the directory currently shown in the file-dialog - * will be associated with the file-class. - * - * A file-class can either start with ':' or with '::'. If it starts with - * a single ':' the file-class is specific to the current application. - * If the file-class starts with '::' it is global to all applications. - */ -class KRecentDirs -{ -public: - /** - * Returns a list of directories associated with this file-class. - * The most recently used directory is at the front of the list. - */ - static TQStringList list(const TQString &fileClass); - - /** - * Returns the most recently used directory accociated with this file-class. - */ - static TQString dir(const TQString &fileClass); - - /** - * Associates @p directory with @p fileClass - */ - static void add(const TQString &fileClass, const TQString &directory); -}; - -#endif diff --git a/python/pykde/extra/kde332/ksharedptr.h b/python/pykde/extra/kde332/ksharedptr.h deleted file mode 100644 index da710a32..00000000 --- a/python/pykde/extra/kde332/ksharedptr.h +++ /dev/null @@ -1,175 +0,0 @@ -/* This file is part of the KDE libraries - Copyright (c) 1999 Waldo Bastian - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License version 2 as published by the Free Software Foundation. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. -*/ -#ifndef KSharedPTR_H -#define KSharedPTR_H - -/** - * Reference counting for shared objects. If you derive your object - * from this class, then you may use it in conjunction with - * KSharedPtr to control the lifetime of your object. - * - * Specifically, all classes that derive from KShared have an internal - * counter keeping track of how many other objects have a reference to - * their object. If used with KSharedPtr, then your object will - * not be deleted until all references to the object have been - * released. - * - * You should probably not ever use any of the methods in this class - * directly -- let the KSharedPtr take care of that. Just derive - * your class from KShared and forget about it. - * - * @author Waldo Bastian - * @version $Id: ksharedptr.h,v 1.23 2004/02/04 12:16:03 raabe Exp $ - */ -class KShared { -public: - /** - * Standard constructor. This will initialize the reference count - * on this object to 0. - */ - KShared() : count(0) { } - - /** - * Copy constructor. This will @em not actually copy the objects - * but it will initialize the reference count on this object to 0. - */ - KShared( const KShared & ) : count(0) { } - - /** - * Overloaded assignment operator. - */ - KShared &operator=(const KShared & ) { return *this; } - - /** - * Increases the reference count by one. - */ - void _KShared_ref() const { count++; } - - /** - * Releases a reference (decreases the reference count by one). If - * the count goes to 0, this object will delete itself. - */ - void _KShared_unref() const { if (!--count) delete this; } - - /** - * Return the current number of references held. - * - * @return Number of references - */ - int _KShared_count() const { return count; } - -protected: - virtual ~KShared() { } -private: - mutable int count; -}; - -/** - * Can be used to control the lifetime of an object that has derived - * KShared. As long a someone holds a KSharedPtr on some KShared - * object it won't become deleted but is deleted once its reference - * count is 0. This struct emulates C++ pointers virtually perfectly. - * So just use it like a simple C++ pointer. - * - * KShared and KSharedPtr are preferred over QShared / QSharedPtr - * since they are more safe. - * - * WARNING: Please note that this class template provides an implicit - * conversion to T*. Do *not* change this pointer or the pointee (don't - * call delete on it, for instance) behind KSharedPtr's back. - * - * @author Waldo Bastian - * @version $Id: ksharedptr.h,v 1.23 2004/02/04 12:16:03 raabe Exp $ - */ -template< class T > -struct KSharedPtr -{ -public: -/** - * Creates a null pointer. - */ - KSharedPtr() - : ptr(0) { } - /** - * Creates a new pointer. - * @param t the pointer - */ - KSharedPtr( T* t ) - : ptr(t) { if ( ptr ) ptr->_KShared_ref(); } - - /** - * Copies a pointer. - * @param p the pointer to copy - */ - KSharedPtr( const KSharedPtr& p ) - : ptr(p.ptr) { if ( ptr ) ptr->_KShared_ref(); } - - /** - * Unreferences the object that this pointer points to. If it was - * the last reference, the object will be deleted. - */ - ~KSharedPtr() { if ( ptr ) ptr->_KShared_unref(); } - - KSharedPtr& operator= ( const KSharedPtr& p ) { - if ( ptr == p.ptr ) return *this; - if ( ptr ) ptr->_KShared_unref(); - ptr = p.ptr; - if ( ptr ) ptr->_KShared_ref(); - return *this; - } - KSharedPtr& operator= ( T* p ) { - if ( ptr == p ) return *this; - if ( ptr ) ptr->_KShared_unref(); - ptr = p; - if ( ptr ) ptr->_KShared_ref(); - return *this; - } - bool operator== ( const KSharedPtr& p ) const { return ( ptr == p.ptr ); } - bool operator!= ( const KSharedPtr& p ) const { return ( ptr != p.ptr ); } - bool operator== ( const T* p ) const { return ( ptr == p ); } - bool operator!= ( const T* p ) const { return ( ptr != p ); } - bool operator!() const { return ( ptr == 0 ); } - operator T*() const { return ptr; } - - /** - * Returns the pointer. - * @return the pointer - */ - T* data() { return ptr; } - - /** - * Returns the pointer. - * @return the pointer - */ - const T* data() const { return ptr; } - - const T& operator*() const { return *ptr; } - T& operator*() { return *ptr; } - const T* operator->() const { return ptr; } - T* operator->() { return ptr; } - - /** - * Returns the number of references. - * @return the number of references - */ - int count() const { return ptr->_KShared_count(); } // for debugging purposes -private: - T* ptr; -}; - -#endif diff --git a/python/pykde/extra/kde332/ksycocafactory.h b/python/pykde/extra/kde332/ksycocafactory.h deleted file mode 100644 index 2a114ee0..00000000 --- a/python/pykde/extra/kde332/ksycocafactory.h +++ /dev/null @@ -1,143 +0,0 @@ -/* This file is part of the KDE libraries - * Copyright (C) 1999 Waldo Bastian - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License version 2 as published by the Free Software Foundation; - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public License - * along with this library; see the file COPYING.LIB. If not, write to - * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - * Boston, MA 02110-1301, USA. - **/ - -#ifndef __ksycocafactory_h__ -#define __ksycocafactory_h__ "$Id: ksycocafactory.h,v 1.14 2003/10/29 17:59:18 waba Exp $" - -#include "ksycocatype.h" -#include "ksycocaentry.h" - -#include -#include -class KSycoca; -class TQStringList; -class TQString; -class KSycocaDict; -class KSycocaResourceList; - -typedef TQDict KSycocaEntryDict; - -/** - * @internal - * Base class for sycoca factories - */ -class KSycocaFactory -{ -public: - virtual KSycocaFactoryId factoryId() const = 0; - -protected: // virtual class - /** - * Create a factory which can be used to lookup from/create a database - * (depending on KSycoca::isBuilding()) - */ - KSycocaFactory( KSycocaFactoryId factory_id ); - -public: - virtual ~KSycocaFactory(); - - /** - * @return the position of the factory in the sycoca file - */ - int offset() { return mOffset; } - - /** - * @return the dict, for special use by KBuildSycoca - */ - KSycocaEntryDict * entryDict() { return m_entryDict; } - - /** - * Construct an entry from a config file. - * To be implemented in the real factories. - */ - virtual KSycocaEntry *createEntry(const TQString &file, const char *resource) = 0; - - /** - * Add an entry - */ - virtual void addEntry(KSycocaEntry *newEntry, const char *resource); - - /** - * Remove an entry - * Not very fast, use with care. O(N) - */ - void removeEntry(KSycocaEntry *newEntry); - - /** - * Read an entry from the database - */ - virtual KSycocaEntry *createEntry(int offset)=0; - - /** - * Get a list of all entries from the database. - */ - KSycocaEntry::List allEntries(); - - /** - * Saves all entries it maintains as well as index files - * for these entries to the stream 'str'. - * - * Also sets mOffset to the starting position. - * - * The stream is positioned at the end of the last index. - * - * Don't forget to call the parent first when you override - * this function. - */ - virtual void save(TQDataStream &str); - - /** - * Writes out a header to the stream 'str'. - * The baseclass positions the stream correctly. - * - * Don't forget to call the parent first when you override - * this function. - */ - virtual void saveHeader(TQDataStream &str); - - /** - * @return the resources for which this factory is responsible. - */ - virtual const KSycocaResourceList * resourceList() const { return m_resourceList; } - -private: - int mOffset; - -protected: - int m_sycocaDictOffset; - int m_beginEntryOffset; - int m_endEntryOffset; - TQDataStream *m_str; - - KSycocaResourceList *m_resourceList; - KSycocaEntryDict *m_entryDict; - KSycocaDict *m_sycocaDict; -protected: - virtual void virtual_hook( int id, void* data ); -}; - -/** This, instead of a typedef, allows to declare "class ..." in header files - * @internal - */ -class KSycocaFactoryList : public TQPtrList -{ -public: - KSycocaFactoryList() { } -}; - -#endif diff --git a/python/pykde/extra/kde332/ktoolbarbutton.h b/python/pykde/extra/kde332/ktoolbarbutton.h deleted file mode 100644 index f6b899fb..00000000 --- a/python/pykde/extra/kde332/ktoolbarbutton.h +++ /dev/null @@ -1,315 +0,0 @@ -/* This file is part of the KDE libraries - Copyright (C) 1997, 1998 Stephan Kulow (coolo@kde.org) - (C) 1997, 1998 Sven Radej (radej@kde.org) - (C) 1997, 1998 Mark Donohoe (donohoe@kde.org) - (C) 1997, 1998 Matthias Ettrich (ettrich@kde.org) - (C) 2000 Kurt Granroth (granroth@kde.org) - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License version 2 as published by the Free Software Foundation. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. -*/ - -#ifndef _KTOOLBARBUTTON_H -#define _KTOOLBARBUTTON_H - -#include -#include -#include -#include -#include - -class KToolBar; -class KToolBarButtonPrivate; -class KInstance; -class TQEvent; -class TQPopupMenu; -class TQPainter; - -/** - * A toolbar button. This is used internally by KToolBar, use the - * KToolBar methods instead. - * @internal - */ -class KToolBarButton : public QToolButton -{ - Q_OBJECT - -public: - /** - * Construct a button with an icon loaded by the button itself. - * This will trust the button to load the correct icon with the - * correct size. - * - * @param icon Name of icon to load (may be absolute or relative) - * @param id Id of this button - * @param parent This button's parent - * @param name This button's internal name - * @param txt This button's text (in a tooltip or otherwise) - * @param _instance the instance to use for this button - */ - KToolBarButton(const TQString& icon, int id, TQWidget *parent, - const char *name=0L, const TQString &txt=TQString::null, - KInstance *_instance = KGlobal::instance()); - - /** - * Construct a button with an existing pixmap. It is not - * recommended that you use this as the internal icon loading code - * will almost always get it "right". - * - * @param pixmap Name of icon to load (may be absolute or relative) - * @param id Id of this button - * @param parent This button's parent - * @param name This button's internal name - * @param txt This button's text (in a tooltip or otherwise) - */ - KToolBarButton(const TQPixmap& pixmap, int id, TQWidget *parent, - const char *name=0L, const TQString &txt=TQString::null); - - /** - * Construct a separator button - * - * @param parent This button's parent - * @param name This button's internal name - */ - KToolBarButton(TQWidget *parent=0L, const char *name=0L); - - /** - * Standard destructor - */ - ~KToolBarButton(); - -#ifndef KDE_NO_COMPAT - /** - * @deprecated - * Set the pixmap directly for this button. This pixmap should be - * the active one... the dimmed and disabled pixmaps are constructed - * based on this one. However, don't use this function unless you - * are positive that you don't want to use setIcon. - * - * @param pixmap The active pixmap - */ - // this one is from TQButton, so #ifdef-ing it out doesn't break BC - virtual void setPixmap(const TQPixmap &pixmap) KDE_DEPRECATED; - - /** - * @deprecated - * Force the button to use this pixmap as the default one rather - * then generating it using effects. - * - * @param pixmap The pixmap to use as the default (normal) one - */ - void setDefaultPixmap(const TQPixmap& pixmap) KDE_DEPRECATED; - - /** - * @deprecated - * Force the button to use this pixmap when disabled one rather then - * generating it using effects. - * - * @param pixmap The pixmap to use when disabled - */ - void setDisabledPixmap(const TQPixmap& pixmap) KDE_DEPRECATED; -#endif - - /** - * Set the text for this button. The text will be either used as a - * tooltip (IconOnly) or will be along side the icon - * - * @param text The button (or tooltip) text - */ - virtual void setText(const TQString &text); - - /** - * Set the icon for this button. The icon will be loaded internally - * with the correct size. This function is preferred over setIconSet - * - * @param icon The name of the icon - */ - virtual void setIcon(const TQString &icon); - - /// @since 3.1 - virtual void setIcon( const TQPixmap &pixmap ) - { TQToolButton::setIcon( pixmap ); } - - /** - * Set the pixmaps for this toolbar button from a TQIconSet. - * If you call this you don't need to call any of the other methods - * that set icons or pixmaps. - * @param iconset The iconset to use - */ - virtual void setIconSet( const TQIconSet &iconset ); - -#ifndef KDE_NO_COMPAT - /** - * @deprecated - * Set the active icon for this button. The pixmap itself is loaded - * internally based on the icon size... .. the disabled and default - * pixmaps, however will only be constructed if generate is - * true. This function is preferred over setPixmap - * - * @param icon The name of the active icon - * @param generate If true, then the other icons are automagically - * generated from this one - */ - KDE_DEPRECATED void setIcon(const TQString &icon, bool generate ) { Q_UNUSED(generate); setIcon( icon ); } - - /** - * @deprecated - * Force the button to use this icon as the default one rather - * then generating it using effects. - * - * @param icon The icon to use as the default (normal) one - */ - void setDefaultIcon(const TQString& icon) KDE_DEPRECATED; - - /** - * @deprecated - * Force the button to use this icon when disabled one rather then - * generating it using effects. - * - * @param icon The icon to use when disabled - */ - void setDisabledIcon(const TQString& icon) KDE_DEPRECATED; -#endif - - /** - * Turn this button on or off - * - * @param flag true or false - */ - void on(bool flag = true); - - /** - * Toggle this button - */ - void toggle(); - - /** - * Turn this button into a toggle button or disable the toggle - * aspects of it. This does not toggle the button itself. - * Use toggle() for that. - * - * @param toggle true or false - */ - void setToggle(bool toggle = true); - - /** - * Return a pointer to this button's popup menu (if it exists) - */ - TQPopupMenu *popup(); - - /** - * Returns the button's id. - * @since 3.2 - */ - int id() const; - - /** - * Give this button a popup menu. There will not be a delay when - * you press the button. Use setDelayedPopup if you want that - * behavior. - * - * @param p The new popup menu - * @param unused Has no effect - ignore it. - */ - void setPopup (TQPopupMenu *p, bool unused = false); - - /** - * Gives this button a delayed popup menu. - * - * This function allows you to add a delayed popup menu to the button. - * The popup menu is then only displayed when the button is pressed and - * held down for about half a second. - * - * @param p the new popup menu - * @param unused Has no effect - ignore it. - */ - void setDelayedPopup(TQPopupMenu *p, bool unused = false); - - /** - * Turn this button into a radio button - * - * @param f true or false - */ - void setRadio(bool f = true); - - /** - * Toolbar buttons naturally will assume the global styles - * concerning icons, icons sizes, etc. You can use this function to - * explicitly turn this off, if you like. - * - * @param no_style Will disable styles if true - */ - void setNoStyle(bool no_style = true); - -signals: - void clicked(int); - void doubleClicked(int); - void pressed(int); - void released(int); - void toggled(int); - void highlighted(int, bool); - -public slots: - /** - * This slot should be called whenever the toolbar mode has - * potentially changed. This includes such events as text changing, - * orientation changing, etc. - */ - void modeChange(); - virtual void setTextLabel(const TQString&, bool tipToo); - -protected: - void paletteChange(const TQPalette &); - void leaveEvent(TQEvent *e); - void enterEvent(TQEvent *e); - void drawButton(TQPainter *p); - bool eventFilter (TQObject *o, TQEvent *e); - void showMenu(); - TQSize sizeHint() const; - TQSize minimumSizeHint() const; - TQSize minimumSize() const; - - /// @since 3.1 - bool isRaised() const; - /// @since 3.1 - bool isActive() const; - /// @since 3.1 - int iconTextMode() const; - -protected slots: - void slotClicked(); - void slotPressed(); - void slotReleased(); - void slotToggled(); - void slotDelayTimeout(); - -protected: - virtual void virtual_hook( int id, void* data ); -private: - KToolBarButtonPrivate *d; -}; - -/** -* List of KToolBarButton objects. -* @internal -* @version $Id: ktoolbarbutton.h,v 1.36 2004/03/18 02:50:16 bmeyer Exp $ -*/ -class KToolBarButtonList : public TQIntDict -{ -public: - KToolBarButtonList(); - ~KToolBarButtonList() {} -}; - -#endif diff --git a/python/pykde/extra/kde332/kurifilter.h b/python/pykde/extra/kde332/kurifilter.h deleted file mode 100644 index 834bff8a..00000000 --- a/python/pykde/extra/kde332/kurifilter.h +++ /dev/null @@ -1,644 +0,0 @@ -/* - * This file is part of the KDE libraries - * Copyright (C) 2000-2001,2003 Dawit Alemayehu - * - * Original author - * Copyright (C) 2000 Yves Arrouye - * - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public License - * along with this library; see the file COPYING.LIB. If not, write to - * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - * Boston, MA 02110-1301, USA. - **/ - -#ifndef __kurifilter_h__ -#define __kurifilter_h__ "$Id: kurifilter.h,v 1.41 2003/08/30 08:56:21 raabe Exp $" - -#include -#include -#include - -#include -#include - -class KURIFilterPrivate; -class KURIFilterDataPrivate; - -class KCModule; - -/** -* A basic message object used for exchanging filtering -* information between the filter plugins and the application -* requesting the filtering service. -* -* Use this object if you require a more detailed information -* about the URI you want to filter. Any application can create -* an instance of this class and send it to KURIFilter to -* have the plugins fill out all possible information about the -* URI. -* -* \b Example -* -* \code -* TQString text = "kde.org"; -* KURIFilterData d = text; -* bool filtered = KURIFilter::self()->filter( d ); -* cout << "URL: " << text.latin1() << endl -* << "Filtered URL: " << d.uri().url().latin1() << endl -* << "URI Type: " << d.uriType() << endl -* << "Was Filtered: " << filtered << endl; -* \endcode -* -* The above code should yield the following output: -* \code -* URI: kde.org -* Filtered URI: http://kde.org -* URI Type: 0 <== means NET_PROTOCOL -* Was Filtered: 1 <== means the URL was successfully filtered -* \endcode -* -* @short A message object for exchanging filtering URI info. -* @author Dawit Alemayehu -*/ - -class KURIFilterData -{ -friend class KURIFilterPlugin; - -public: - /** - * Describes the type of the URI that was filtered. - * Here is a brief description of the types: - * - * @li NET_PROTOCOL - Any network protocol: http, ftp, nttp, pop3, etc... - * @li LOCAL_FILE - A local file whose executable flag is not set - * @li LOCAL_DIR - A local directory - * @li EXECUTABLE - A local file whose executable flag is set - * @li HELP - A man or info page - * @li SHELL - A shell executable (ex: echo "Test..." >> ~/testfile) - * @li BLOCKED - A URI that should be blocked/filtered (ex: ad filtering) - * @li ERROR - An incorrect URI (ex: "~johndoe" when user johndoe - * does not exist in that system ) - * @li UNKNOWN - A URI that is not identified. Default value when - * a KURIFilterData is first created. - */ - enum URITypes { NET_PROTOCOL=0, LOCAL_FILE, LOCAL_DIR, EXECUTABLE, HELP, SHELL, BLOCKED, ERROR, UNKNOWN }; - - /** - * Default constructor. - * - * Creates a URIFilterData object. - */ - KURIFilterData() { init(); } - - /** - * Creates a URIFilterData object from the given URL. - * - * @param url is the URL to be filtered. - */ - KURIFilterData( const KURL& url ) { init( url); } - - /** - * Creates a URIFilterData object from the given string. - * - * @param url is the string to be filtered. - */ - KURIFilterData( const TQString& url ) { init( url ); } - - /** - * Copy constructor. - * - * Creates a URIFilterData object from another - * URI filter data object. - * - * @param data the uri filter data to be copied. - */ - KURIFilterData( const KURIFilterData& data); - - /** - * Destructor. - */ - ~KURIFilterData(); - - /** - * This method has been deprecated and will always return - * true. You should instead use the result from the - * KURIFilter::filterURI() calls. - * - * @deprecated - */ - KDE_DEPRECATED bool hasBeenFiltered() const { return true; } - - /** - * Returns the filtered or the original URL. - * - * This function returns the filtered url if one - * of the plugins successfully filtered the original - * URL. Otherwise, it returns the original URL. - * See hasBeenFiltered() and - * - * @return the filtered or original url. - */ - KURL uri() const { return m_pURI; } - - /** - * Returns an error message. - * - * This functions returns the error message set - * by the plugin whenever the uri type is set to - * KURIFilterData::ERROR. Otherwise, it returns - * a TQString::null. - * - * @return the error message or a NULL when there is none. - */ - TQString errorMsg() const { return m_strErrMsg; } - - /** - * Returns the URI type. - * - * This method always returns KURIFilterData::UNKNOWN - * if the given URL was not filtered. - * @return the type of the URI - */ - URITypes uriType() const { return m_iType; } - - /** - * Sets the URL to be filtered. - * - * Use this function to set the string to be - * filtered when you construct an empty filter - * object. - * - * @param url the string to be filtered. - */ - void setData( const TQString& url ) { init( url ); } - - /** - * Same as above except the argument is a URL. - * - * Use this function to set the string to be - * filtered when you construct an empty filter - * object. - * - * @param url the URL to be filtered. - */ - void setData( const KURL& url ) { init( url ); } - - /** - * Sets the absolute path to be used whenever the supplied - * data is a relative local URL. - * - * NOTE: This function should only be used for local resources, - * i.e. the "file:/" protocol. It is useful for specifying the - * absolute path in cases where the actual URL might be relative. - * meta object. If deriving the path from a KURL, make sure you - * set the argument for this function to the result of calling - * path () instead of url (). - * - * @param abs_path the abolute path to the local resource. - * @return true if absolute path is successfully set. Otherwise, false. - */ - bool setAbsolutePath( const TQString& abs_path ); - - /** - * Returns the absolute path if one has already been set. - * @return the absolute path, or TQString::null - * @see hasAbsolutePath() - */ - TQString absolutePath() const; - - /** - * Checks whether the supplied data had an absolute path. - * @return true if the supplied data has an absolute path - * @see absolutePath() - */ - bool hasAbsolutePath() const; - - /** - * Returns the command line options and arguments for a - * local resource when present. - * - * @return options and arguments when present, otherwise TQString::null - */ - TQString argsAndOptions() const; - - /** - * Checks whether the current data is a local resource with - * command line options and arguments. - * @return true if the current data has command line options and arguments - */ - bool hasArgsAndOptions() const; - - /** - * Returns the name of the icon that matches - * the current filtered URL. - * - * NOTE that this function will return a NULL - * string by default and when no associated icon - * is found. - * - * @return the name of the icon associated with the resource, - * or TQString::null if not found - */ - TQString iconName(); - - /** - * Check whether the provided uri is executable or not. - * - * Setting this to false ensures that typing the name of - * an executable does not start that application. This is - * useful in the location bar of a browser. The default - * value is true. - * - * @since 3.2 - */ - void setCheckForExecutables (bool check); - - /** - * @return true if the filters should attempt to check whether the - * supplied uri is an executable. False otherwise. - * - * @since 3.2 - */ - bool checkForExecutables() const { return m_bCheckForExecutables; } - - /** - * @return the string as typed by the user, before any URL processing is done - * @since 3.2 - */ - TQString typedString() const; - - /** - * Overloaded assigenment operator. - * - * This function allows you to easily assign a KURL - * to a KURIFilterData object. - * - * @return an instance of a KURIFilterData object. - */ - KURIFilterData& operator=( const KURL& url ) { init( url ); return *this; } - - /** - * Overloaded assigenment operator. - * - * This function allows you to easily assign a QString - * to a KURIFilterData object. - * - * @return an instance of a KURIFilterData object. - */ - KURIFilterData& operator=( const TQString& url ) { init( url ); return *this; } - -protected: - - /** - * Initializes the KURIFilterData on construction. - * @param url the URL to initialize the object with - */ - void init( const KURL& url); - - /** - * Initializes the KURIFilterData on construction. - * @param url the URL to initialize the object with - */ - void init( const TQString& url = TQString::null ); - -private: - bool m_bCheckForExecutables; - bool m_bChanged; - - TQString m_strErrMsg; - TQString m_strIconName; - - KURL m_pURI; - URITypes m_iType; - KURIFilterDataPrivate *d; -}; - - -/** - * Base class for URI filter plugins. - * - * This class applies a single filter to a URI. All plugins designed - * to provide URI filtering service should inherit from this abstract - * class and provide a concrete implementation. - * - * All inheriting classes need to implement the pure virtual function - * filterURI. - * - * @short Abstract class for URI filter plugins. - */ -class KURIFilterPlugin : public QObject -{ - Q_OBJECT - -public: - - /** - * Constructs a filter plugin with a given name and - * priority. - * - * @param parent the parent object, or 0 for no parent - * @param name the name of the plugin, or 0 for no name - * @param pri the priority of the plugin. - */ - KURIFilterPlugin( TQObject *parent = 0, const char *name = 0, double pri = 1.0 ); - - /** - * Returns the filter's name. - * - * @return A string naming the filter. - */ - virtual TQString name() const { return m_strName; } - - /** - * Returns the filter's priority. - * - * Each filter has an assigned priority, a float from 0 to 1. Filters - * with the lowest priority are first given a chance to filter a URI. - * - * @return The priority of the filter. - */ - virtual double priority() const { return m_dblPriority; } - - /** - * Filters a URI. - * - * @param data the URI data to be filtered. - * @return A boolean indicating whether the URI has been changed. - */ - virtual bool filterURI( KURIFilterData& data ) const = 0; - - /** - * Creates a configuration module for the filter. - * - * It is the responsibility of the caller to delete the module - * once it is not needed anymore. - * - * @return A configuration module, 0 if the filter isn't configurable. - */ - virtual KCModule *configModule( TQWidget*, const char* ) const { return 0; } - - /** - * Returns the name of the configuration module for the filter. - * - * @return the name of a configuration module or TQString::null if none. - */ - virtual TQString configName() const { return name(); } - -protected: - - /** - * Sets the the URL in @p data to @p uri. - */ - void setFilteredURI ( KURIFilterData& data, const KURL& uri ) const; - - /** - * Sets the error message in @p data to @p errormsg. - */ - void setErrorMsg ( KURIFilterData& data, const TQString& errmsg ) const { - data.m_strErrMsg = errmsg; - } - - /** - * Sets the URI type in @p data to @p type. - */ - void setURIType ( KURIFilterData& data, KURIFilterData::URITypes type) const { - data.m_iType = type; - data.m_bChanged = true; - } - - /** - * Sets the arguments and options string in @p data - * to @p args if any were found during filterting. - */ - void setArguments( KURIFilterData& data, const TQString& args ) const; - - TQString m_strName; - double m_dblPriority; - -protected: - virtual void virtual_hook( int id, void* data ); -private: - class KURIFilterPluginPrivate *d; -}; - - -/** - * A list of filter plugins. - */ -class KURIFilterPluginList : public TQPtrList -{ -public: - virtual int compareItems(Item a, Item b) - { - double diff = ((KURIFilterPlugin *) a)->priority() - ((KURIFilterPlugin *) b)->priority(); - return diff < 0 ? -1 : (diff > 0 ? 1 : 0); - } - -private: - KURIFilterPrivate *d; - -}; - -/** - * Manages the filtering of URIs. - * - * The intention of this plugin class is to allow people to extend the - * functionality of KURL without modifying it directly. This way KURL will - * remain a generic parser capable of parsing any generic URL that adheres - * to specifications. - * - * The KURIFilter class applies a number of filters to a URI and returns the - * filtered version whenever possible. The filters are implemented using - * plugins to provide easy extensibility of the filtering mechanism. New - * filters can be added in the future by simply inheriting from - * KURIFilterPlugin and implementing the KURIFilterPlugin::filterURI - * method. - * - * Use of this plugin-manager class is straight forward. Since it is a - * singleton object, all you have to do is obtain an instance by doing - * @p KURIFilter::self() and use any of the public member functions to - * preform the filtering. - * - * \b Example - * - * To simply filter a given string: - * - * \code - * bool filtered = KURIFilter::self()->filterURI( "kde.org" ); - * \endcode - * - * You can alternatively use a KURL: - * - * \code - * KURL url = "kde.org"; - * bool filtered = KURIFilter::self()->filterURI( url ); - * \endcode - * - * If you have a constant string or a constant URL, simply invoke the - * corresponding function to obtain the filtered string or URL instead - * of a boolean flag: - * - * \code - * TQString u = KURIFilter::self()->filteredURI( "kde.org" ); - * \endcode - * - * You can also restrict the filter(s) to be used by supplying - * the name of the filter(s) to use. By defualt all available - * filters will be used. To use specific filters, add the names - * of the filters you want to use to a TQStringList and invoke - * the appropriate filtering function. The examples below show - * the use of specific filters. The first one uses a single - * filter called kshorturifilter while the second example uses - * multiple filters: - * - * \code - * TQString text = "kde.org"; - * bool filtered = KURIFilter::self()->filterURI( text, "kshorturifilter" ); - * \endcode - * - * \code - * TQStringList list; - * list << "kshorturifilter" << "localdomainfilter"; - * bool filtered = KURIFilter::self()->filterURI( text, list ); - * \endcode - * - * KURIFilter also allows richer data exchange through a simple - * meta-object called @p KURIFilterData. Using this meta-object - * you can find out more information about the URL you want to - * filter. See KURIFilterData for examples and details. - * - * @short Filters a given URL into its proper format whenever possible. - */ - -class KURIFilter -{ -public: - /** - * Destructor - */ - ~KURIFilter (); - - /** - * Returns an instance of KURIFilter. - */ - static KURIFilter* self(); - - /** - * Filters the URI given by the object URIFilterData. - * - * The given URL is filtered based on the specified list of filters. - * If the list is empty all available filters would be used. - * - * @param data object that contains the URI to be filtered. - * @param filters specify the list of filters to be used. - * - * @return a boolean indicating whether the URI has been changed - */ - bool filterURI( KURIFilterData& data, const TQStringList& filters = TQStringList() ); - - /** - * Filters the URI given by the URL. - * - * The given URL is filtered based on the specified list of filters. - * If the list is empty all available filters would be used. - * - * @param uri the URI to filter. - * @param filters specify the list of filters to be used. - * - * @return a boolean indicating whether the URI has been changed - */ - bool filterURI( KURL &uri, const TQStringList& filters = TQStringList() ); - - /** - * Filters a string representing a URI. - * - * The given URL is filtered based on the specified list of filters. - * If the list is empty all available filters would be used. - * - * @param uri The URI to filter. - * @param filters specify the list of filters to be used. - * - * @return a boolean indicating whether the URI has been changed - */ - bool filterURI( TQString &uri, const TQStringList& filters = TQStringList() ); - - /** - * Returns the filtered URI. - * - * The given URL is filtered based on the specified list of filters. - * If the list is empty all available filters would be used. - * - * @param uri The URI to filter. - * @param filters specify the list of filters to be used. - * - * @return the filtered URI or null if it cannot be filtered - */ - KURL filteredURI( const KURL &uri, const TQStringList& filters = TQStringList() ); - - /** - * Return a filtered string representation of a URI. - * - * The given URL is filtered based on the specified list of filters. - * If the list is empty all available filters would be used. - * - * @param uri the URI to filter. - * @param filters specify the list of filters to be used. - * - * @return the filtered URI or null if it cannot be filtered - */ - TQString filteredURI( const TQString &uri, const TQStringList& filters = TQStringList() ); - - /** - * Return an iterator to iterate over all loaded - * plugins. - * - * @return a plugin iterator. - */ - TQPtrListIterator pluginsIterator() const; - - /** - * Return a list of the names of all loaded plugins. - * - * @return a TQStringList of plugin names - * @since 3.1 - */ - TQStringList pluginNames() const; - -protected: - - /** - * A protected constructor. - * - * This constructor creates a KURIFilter and - * initializes all plugins it can find by invoking - * loadPlugins. - */ - KURIFilter(); - - /** - * Loads all allowed plugins. - * - * This function loads all filters that have not - * been disbled. - */ - void loadPlugins(); - -private: - static KURIFilter *m_self; - KURIFilterPluginList m_lstPlugins; - KURIFilterPrivate *d; -}; - -#endif diff --git a/python/pykde/extra/kde332/selectdialog.h b/python/pykde/extra/kde332/selectdialog.h deleted file mode 100644 index 680d48ef..00000000 --- a/python/pykde/extra/kde332/selectdialog.h +++ /dev/null @@ -1,87 +0,0 @@ -/* - This file is part of libkresources. - - Copyright (c) 2002 Tobias Koenig - Copyright (c) 2002 Jan-Pascal van Best - Copyright (c) 2003 Cornelius Schumacher - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. -*/ - -#ifndef KRESOURCES_SELECTDIALOG_H -#define KRESOURCES_SELECTDIALOG_H - -#include -#include -#include - -#include - -class KListBox; - -namespace KRES { - -class Resource; - -/** - * Dialog for selecting a resource. - * - * Example: - * - * \code - * - * TQPtrList list = ... // can be retrived from KRES::Manager (e.g. KABC::AddressBook) - * - * KABC::Resource *res = KABC::SelectDialog::getResource( list, parentWdg ); - * if ( !res ) { - * // no resource selected - * } else { - * // do something with resource - * } - * \endcode - */ -class SelectDialog -{ - public: - /** - * Constructor. - * @param list The list of available resources - * @param parent The parent widget - * @param name The name of the dialog - */ - SelectDialog( TQPtrList list, TQWidget *parent = 0, - const char *name = 0); - - /** - * Returns selected resource. - */ - Resource *resource(); - - /** - * Opens a dialog showing the available resources and returns the resource the - * user has selected. Returns 0, if the dialog was canceled. - */ - static Resource *getResource( TQPtrList list, TQWidget *parent = 0 ); - - private: - KListBox *mResourceId; - - TQMap mResourceMap; -}; - -} - -#endif diff --git a/python/pykde/extra/kde340/configwidget.h b/python/pykde/extra/kde340/configwidget.h deleted file mode 100644 index 47917edd..00000000 --- a/python/pykde/extra/kde340/configwidget.h +++ /dev/null @@ -1,58 +0,0 @@ -/* - This file is part of libkresources. - Copyright (c) 2002 Tobias Koenig - Copyright (c) 2002 Jan-Pascal van Best - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. -*/ - -#ifndef KRESOURCES_CONFIGWIDGET_H -#define KRESOURCES_CONFIGWIDGET_H - -#include "resource.h" - -#include - -#include - -namespace KRES { - -class KRESOURCES_EXPORT ConfigWidget : public QWidget -{ - Q_OBJECT - public: - ConfigWidget( TQWidget *parent = 0, const char *name = 0 ); - - /** - Sets the widget to 'edit' mode. Reimplement this method if you are - interested in the mode change (to disable some GUI element for - example). By default the widget is in 'create new' mode. - */ - virtual void setInEditMode( bool value ); - - public slots: - virtual void loadSettings( Resource *resource ) = 0; - virtual void saveSettings( Resource *resource ) = 0; - - signals: - void setReadOnly( bool value ); - - protected: - Resource *mResource; -}; - -} -#endif diff --git a/python/pykde/extra/kde340/kaccelaction.h b/python/pykde/extra/kde340/kaccelaction.h deleted file mode 100644 index b868ee6f..00000000 --- a/python/pykde/extra/kde340/kaccelaction.h +++ /dev/null @@ -1,564 +0,0 @@ -/* This file is part of the KDE libraries - Copyright (C) 2001,2002 Ellis Whitehead - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. -*/ - -#ifndef _KACCELACTION_H -#define _KACCELACTION_H - -#include -#include -#include -#include - -#include - -class KAccelBase; - -class TQObject; -class KConfig; -class KConfigBase; - -/** - * @internal - * A KAccelAction prepresents an action that can be executed using - * an accelerator key. Each KAccelAction has a name, a label, a - * "What's this" string and a KShortcut. The user can configure and - * enable/disable them using KKeyDialog. - * - * \code - * 1) KAccelAction = "Run Command" - * Default3 = "Alt+F2" - * Default4 = "Meta+Enter;Alt+F2" - * 1) KShortcut = "Meta+Enter" - * 1) KKeySequence = "Meta+Enter" - * 1) KKey = "Meta+Enter" - * 1) Meta+Enter - * 2) Meta+Keypad_Enter - * 2) KShortcut = "Alt+F2" - * 1) KKeySequence = "Alt+F2" - * 1) Alt+F2 - * 2) KAccelAction = "Something" - * Default3 = "" - * Default4 = "" - * 1) KShortcut = "Meta+X,Asterisk" - * 1) KKeySequence = "Meta+X,Asterisk" - * 1) KKey = "Meta+X" - * 1) Meta+X - * 2) KKey = "Asterisk" - * 1) Shift+8 (English layout) - * 2) Keypad_Asterisk - * \endcode - * @short An accelerator action - * @see KAccel - * @see KGlobalAccel - * @see KKeyChooser - * @see KKeyDialog - */ -class KDECORE_EXPORT KAccelAction -{ - public: - /** - * Creates an empty KAccelAction. - * @see clear() - */ - KAccelAction(); - - /** - * Copy constructor. - */ - KAccelAction( const KAccelAction& ); - - /** - * Creates a new KAccelAction. - * @param sName the name of the accelerator - * @param sLabel the label of the accelerator (i18n!) - * @param sWhatsThis the What's This text (18n!) - * @param cutDef3 the default shortcut for 3 modifier systems - * @param cutDef4 the default shortcut for 4 modifier systems - * @param pObjSlot the receiver of a signal when the key has been - * pressed - * @param psMethodSlot the slot to connect for key presses. Receives - * an int, as set by setID(), as only argument - * @param bConfigurable if true the user can configure the shortcut - * @param bEnabled true if the accelerator should be enabled - */ - KAccelAction( const TQString& sName, const TQString& sLabel, const TQString& sWhatsThis, - const KShortcut& cutDef3, const KShortcut& cutDef4, - const TQObject* pObjSlot, const char* psMethodSlot, - bool bConfigurable, bool bEnabled ); - ~KAccelAction(); - - /** - * Clears the accelerator. - */ - void clear(); - - /** - * Re-initialized the KAccelAction. - * @param sName the name of the accelerator - * @param sLabel the label of the accelerator (i18n!) - * @param sWhatsThis the What's This text (18n!) - * @param cutDef3 the default shortcut for 3 modifier systems - * @param cutDef4 the default shortcut for 4 modifier systems - * @param pObjSlot the receiver of a signal when the key has been - * pressed - * @param psMethodSlot the slot to connect for key presses. Receives - * an int, as set by setID(), as only argument - * @param bConfigurable if true the user can configure the shortcut - * @param bEnabled true if the accelerator should be enabled - * @return true if successful, false otherwise - */ - bool init( const TQString& sName, const TQString& sLabel, const TQString& sWhatsThis, - const KShortcut& cutDef3, const KShortcut& cutDef4, - const TQObject* pObjSlot, const char* psMethodSlot, - bool bConfigurable, bool bEnabled ); - - /** - * Copies this KAccelAction. - */ - KAccelAction& operator=( const KAccelAction& ); - - /** - * Returns the name of the accelerator action. - * @return the name of the accelerator action, can be null if not - * set - */ - const TQString& name() const { return m_sName; } - - /** - * Returns the label of the accelerator action. - * @return the label of the accelerator action, can be null if - * not set - */ - const TQString& label() const { return m_sLabel; } - - /** - * Returns the What's This text of the accelerator action. - * @return the What's This text of the accelerator action, can be - * null if not set - */ - const TQString& whatsThis() const { return m_sWhatsThis; } - - /** - * The shortcut that is actually used (may be used configured). - * @return the shortcut of the KAccelAction, can be null if not set - * @see shortcutDefault() - */ - const KShortcut& shortcut() const { return m_cut; } - - /** - * The default shortcut for this system. - * @return the default shortcut on this system, can be null if not set - * @see shortcut() - * @see shortcutDefault3() - * @see shortcutDefault4() - */ - const KShortcut& shortcutDefault() const; - - /** - * The default shortcut for 3 modifier systems. - * @return the default shortcut for 3 modifier systems, can be null - * if not set - * @see shortcutDefault() - * @see shortcutDefault4() - * @see useFourModifierKeys() - */ - const KShortcut& shortcutDefault3() const { return m_cutDefault3; } - - /** - * The default shortcut for 4 modifier systems. - * @return the default shortcut for 4 modifier systems, can be null - * if not set - * @see shortcutDefault() - * @see shortcutDefault3() - * @see useFourModifierKeys() - */ - const KShortcut& shortcutDefault4() const { return m_cutDefault4; } - - /** - * Returns the receiver of signals. - * @return the receiver of signals (can be 0 if not set) - */ - const TQObject* objSlotPtr() const { return m_pObjSlot; } - - /** - * Returns the slot for the signal. - * @return the slot for the signal - */ - const char* methodSlotPtr() const { return m_psMethodSlot; } - - /** - * Checks whether the user can configure the action. - * @return true if configurable, false otherwise - */ - bool isConfigurable() const { return m_bConfigurable; } - - /** - * Checks whether the action is enabled. - * @return true if enabled, false otherwise - */ - bool isEnabled() const { return m_bEnabled; } - - /** - * Sets the name of the accelerator action. - * @param name the new name - */ - void setName( const TQString& name ); - - /** - * Sets the user-readable label of the accelerator action. - * @param label the new label (i18n!) - */ - void setLabel( const TQString& label ); - - /** - * Sets the What's This text for the accelerator action. - * @param whatsThis the new What's This text (i18n!) - */ - void setWhatsThis( const TQString& whatsThis ); - - /** - * Sets the new shortcut of the accelerator action. - * @param rgCuts the shortcut to set - * @return true if successful, false otherwise - */ - bool setShortcut( const KShortcut& rgCuts ); - - /** - * Sets the slot of the accelerator action. - * @param pObjSlot the receiver object of the signal - * @param psMethodSlot the slot for the signal - */ - void setSlot( const TQObject* pObjSlot, const char* psMethodSlot ); - - /** - * Enables or disabled configuring the action. - * @param configurable true to enable configurability, false to disable - */ - void setConfigurable( bool configurable ); - - /** - * Enables or disabled the action. - * @param configurable true to enable the action, false to disable - */ - void setEnabled( bool enable ); - - /** - * Retrieves the id set using setID. - * @return the id of the accelerator action - */ - int getID() const { return m_nIDAccel; } - - /** - * Allows you to set an id that will be used as the action - * signal's argument. - * - * @param n the new id - * @see getID() - */ - void setID( int n ) { m_nIDAccel = n; } - - /** - * Checkes whether the action is connected (emits signals). - * @return true if connected, false otherwise - */ - bool isConnected() const; - - /** - * Sets a key sequence of the action's shortcut. - * @param i the position of the sequence - * @param keySeq the new new sequence - * @return true if successful, false otherwise - * @see KShortcut::setSeq() - */ - bool setKeySequence( uint i, const KKeySequence &keySeq ); - - /** - * Clears the action's shortcut. It will not contain any sequences after - * calling this method. - * @see KShortcut::clear() - */ - void clearShortcut(); - - /** - * Checks whether the action's shortcut contains the given key sequence. - * @param keySeq the key sequence to check - * @return true if the shortcut contains the given sequence - * @see KShortcut::contains() - */ - bool contains( const KKeySequence &keySeq ); - - /** - * Returns the string representation of the action's shortcut. - * @return the string representation of the action's shortcut. - * @see KShortcut::toString() - */ - TQString toString() const; - - /** - * @internal - */ - TQString toStringInternal() const; - - /** - * Returns true if four modifier keys will be used. - * @return true if four modifier keys will be used. - */ - static bool useFourModifierKeys(); - - /** - * Selects 3 or 4 modifier default shortcuts. - * @param use true to use 4 modifier shortcuts, false to use - * 3 modifier shortcuts - */ - static void useFourModifierKeys( bool use ); - - protected: - TQString m_sName, - m_sLabel, - m_sWhatsThis; - KShortcut m_cut; - KShortcut m_cutDefault3, m_cutDefault4; - const TQObject* m_pObjSlot; - const char* m_psMethodSlot; - bool m_bConfigurable, - m_bEnabled; - int m_nIDAccel; - uint m_nConnections; - - void incConnections(); - void decConnections(); - - private: - static int g_bUseFourModifierKeys; - class KAccelActionPrivate* d; - - friend class KAccelActions; - friend class KAccelBase; -}; - -//--------------------------------------------------------------------- -// KAccelActions -//--------------------------------------------------------------------- - -/** - * @internal - * This class represents a collection of KAccelAction objects. - * - * @short A collection of accelerator actions - * @see KAccelAction - */ -class KDECORE_EXPORT KAccelActions -{ - public: - /** - * Creates a new, empty KAccelActions object. - */ - KAccelActions(); - - /** - * Copy constructor (deep copy). - */ - KAccelActions( const KAccelActions& ); - virtual ~KAccelActions(); - - /** - * Removes all items from this collection. - */ - void clear(); - - /** - * Initializes this object with the given actions. - * It will make a deep copy of all actions. - * @param actions the actions to copy - * @return true if successful, false otherwise - */ - bool init( const KAccelActions &actions ); - - /** - * Loads the actions from the given configuration file. - * - * @param config the configuration file to load from - * @param sGroup the group in the configuration file - * @return true if successful, false otherwise - */ - bool init( KConfigBase& config, const TQString& sGroup ); - - /** - * Updates the shortcuts of all actions in this object - * with the shortcuts from the given object. - * @param shortcuts the collection that contains the new - * shortcuts - */ - void updateShortcuts( KAccelActions &shortcuts ); - - /** - * Retrieves the index of the action with the given name. - * @param sAction the action to search - * @return the index of the action, or -1 if not found - */ - int actionIndex( const TQString& sAction ) const; - - /** - * Returns the action with the given @p index. - * @param index the index of an action. You must not - * use an index that is too high. - * @return the KAccelAction with the given index - * @see count() - */ - KAccelAction* actionPtr( uint index ); - - /** - * Returns the action with the given @p index. - * @param index the index of an action. You must not - * use an index that is too high. - * @return the KAccelAction with the given index - * @see count() - */ - const KAccelAction* actionPtr( uint index ) const; - - /** - * Returns the action with the given name. - * @param aAction the name of the action to search - * @return the KAccelAction with the given name, or 0 - * if not found - */ - KAccelAction* actionPtr( const TQString& sAction ); - - /** - * Returns the action with the given name. - * @param aAction the name of the action to search - * @return the KAccelAction with the given name, or 0 - * if not found - */ - const KAccelAction* actionPtr( const TQString& sAction ) const; - - /** - * Returns the action with the given key sequence. - * @param cut the sequence to search for - * @return the KAccelAction with the given sequence, or 0 - * if not found - */ - KAccelAction* actionPtr( KKeySequence cut ); - - /** - * Returns the action with the given @p index. - * @param index the index of an action. You must not - * use an index that is too high. - * @return the KAccelAction with the given index - * @see actionPtr() - * @see count() - */ - KAccelAction& operator []( uint index ); - - /** - * Returns the action with the given @p index. - * @param index the index of an action. You must not - * use an index that is too high. - * @return the KAccelAction with the given index - * @see actionPtr() - * @see count() - */ - const KAccelAction& operator []( uint index ) const; - - /** - * Inserts an action into the collection. - * @param sName the name of the accelerator - * @param sLabel the label of the accelerator (i18n!) - * @param sWhatsThis the What's This text (18n!) - * @param cutDef3 the default shortcut for 3 modifier systems - * @param cutDef4 the default shortcut for 4 modifier systems - * @param pObjSlot the receiver of a signal when the key has been - * pressed - * @param psMethodSlot the slot to connect for key presses. Receives - * an int, as set by setID(), as only argument - * @param bConfigurable if true the user can configure the shortcut - * @param bEnabled true if the accelerator should be enabled - * @return the new action - */ - KAccelAction* insert( const TQString& sAction, const TQString& sLabel, const TQString& sWhatsThis, - const KShortcut& rgCutDefaults3, const KShortcut& rgCutDefaults4, - const TQObject* pObjSlot = 0, const char* psMethodSlot = 0, - bool bConfigurable = true, bool bEnabled = true ); - - /** - * Inserts an action into the collection. - * @param sName the name of the accelerator - * @param sLabel the label of the accelerator (i18n!) - * @return the new action - */ - KAccelAction* insert( const TQString& sName, const TQString& sLabel ); - - /** - * Removes the given action. - * @param sAction the name of the action. - * @return true if successful, false otherwise - */ - bool remove( const TQString& sAction ); - - /** - * Loads the actions from the given configuration file. - * - * @param sConfigGroup the group in the configuration file - * @param pConfig the configuration file to load from - * @return true if successful, false otherwise - */ - bool readActions( const TQString& sConfigGroup = "Shortcuts", KConfigBase* pConfig = 0 ); - - /** - * Writes the actions to the given configuration file. - * - * @param sConfigGroup the group in the configuration file - * @param pConfig the configuration file to save to - * @param bWriteAll true to write all actions - * @param bGlobal true to write to the global configuration file - * @return true if successful, false otherwise - */ - bool writeActions( const TQString& sConfigGroup = "Shortcuts", KConfigBase* pConfig = 0, - bool bWriteAll = false, bool bGlobal = false ) const; - - /** - * Emit a keycodeChanged signal. - */ - void emitKeycodeChanged(); - - /** - * Returns the number of actions in the collection. - * @return the number of actions - */ - uint count() const; - - protected: - KAccelBase* m_pKAccelBase; - KAccelAction** m_prgActions; - uint m_nSizeAllocated, m_nSize; - - void resize( uint ); - void insertPtr( KAccelAction* ); - - private: - class KAccelActionsPrivate* d; - - KAccelActions( KAccelBase* ); - void initPrivate( KAccelBase* ); - KAccelActions& operator =( KAccelActions& ); - - friend class KAccelBase; -}; - -#endif // _KACCELACTION_H diff --git a/python/pykde/extra/kde340/kaccelbase.h b/python/pykde/extra/kde340/kaccelbase.h deleted file mode 100644 index 0238c63a..00000000 --- a/python/pykde/extra/kde340/kaccelbase.h +++ /dev/null @@ -1,229 +0,0 @@ -/* This file is part of the KDE libraries - Copyright (C) 2001 Ellis Whitehead - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. -*/ - -#ifndef _KACCELBASE_H -#define _KACCELBASE_H - -#include -#include -#include -#include -#include - -#include "kaccelaction.h" -#include "kkeyserver.h" - -class TQPopupMenu; -class TQWidget; - -//---------------------------------------------------- - -/** - * @internal - * Handle keyboard accelerators. - * - * Allow an user to configure - * key bindings through application configuration files or through the - * KKeyChooser GUI. - * - * A KAccel contains a list of accelerator items. Each accelerator item - * consists of an action name and a keyboard code combined with modifiers - * (Shift, Ctrl and Alt.) - * - * For example, "Ctrl+P" could be a shortcut for printing a document. The key - * codes are listed in ckey.h. "Print" could be the action name for printing. - * The action name identifies the key binding in configuration files and the - * KKeyChooser GUI. - * - * When pressed, an accelerator key calls the slot to which it has been - * connected. Accelerator items can be connected so that a key will activate - * two different slots. - * - * A KAccel object handles key events sent to its parent widget and to all - * children of this parent widget. - * - * Key binding reconfiguration during run time can be prevented by specifying - * that an accelerator item is not configurable when it is inserted. A special - * group of non-configurable key bindings are known as the - * standard accelerators. - * - * The standard accelerators appear repeatedly in applications for - * standard document actions such as printing and saving. Convenience methods are - * available to insert and connect these accelerators which are configurable on - * a desktop-wide basis. - * - * It is possible for a user to choose to have no key associated with - * an action. - * - * The translated first argument for insertItem() is used only - * in the configuration dialog. - *\code - * KAccel *a = new KAccel( myWindow ); - * // Insert an action "Scroll Up" which is associated with the "Up" key: - * a->insertItem( i18n("Scroll Up"), "Scroll Up", "Up" ); - * // Insert an action "Scroll Down" which is not associated with any key: - * a->insertItem( i18n("Scroll Down"), "Scroll Down", 0); - * a->connectItem( "Scroll up", myWindow, TQT_SLOT( scrollUp() ) ); - * // a->insertStdItem( KStdAccel::Print ); //not necessary, since it - * // is done automatially with the - * // connect below! - * a->connectItem(KStdAccel::Print, myWindow, TQT_SLOT( printDoc() ) ); - * - * a->readSettings(); - *\endcode - * - * If a shortcut has a menu entry as well, you could insert them like - * this. The example is again the KStdAccel::Print from above. - * - * \code - * int id; - * id = popup->insertItem("&Print",this, TQT_SLOT(printDoc())); - * a->changeMenuAccel(popup, id, KStdAccel::Print ); - * \endcode - * - * If you want a somewhat "exotic" name for your standard print action, like - * id = popup->insertItem(i18n("Print &Document"),this, TQT_SLOT(printDoc())); - * it might be a good idea to insert the standard action before as - * a->insertStdItem( KStdAccel::Print, i18n("Print Document") ) - * as well, so that the user can easily find the corresponding function. - * - * This technique works for other actions as well. Your "scroll up" function - * in a menu could be done with - * - * \code - * id = popup->insertItem(i18n"Scroll &up",this, TQT_SLOT(scrollUp())); - * a->changeMenuAccel(popup, id, "Scroll Up" ); - * \endcode - * - * Please keep the order right: First insert all functions in the - * acceleratior, then call a -> readSettings() and @em then build your - * menu structure. - * - * @short Configurable key binding support. - */ - -class KDECORE_EXPORT KAccelBase -{ - public: - enum Init { QT_KEYS = 0x00, NATIVE_KEYS = 0x01 }; - enum Signal { KEYCODE_CHANGED }; - - KAccelBase( int fInitCode ); - virtual ~KAccelBase(); - - uint actionCount() const; - KAccelActions& actions(); - bool isEnabled() const; - - KAccelAction* actionPtr( const TQString& sAction ); - const KAccelAction* actionPtr( const TQString& sAction ) const; - KAccelAction* actionPtr( const KKey& key ); - KAccelAction* actionPtr( const KKeyServer::Key& key ); - - const TQString& configGroup() const { return m_sConfigGroup; } - void setConfigGroup( const TQString& group ); - void setConfigGlobal( bool global ); - virtual void setEnabled( bool bEnabled ) = 0; - bool getAutoUpdate() { return m_bAutoUpdate; } - // return value of AutoUpdate flag before this call. - bool setAutoUpdate( bool bAuto ); - -// Procedures for manipulating Actions. - //void clearActions(); - - KAccelAction* insert( const TQString& sName, const TQString& sDesc ); - KAccelAction* insert( - const TQString& sAction, const TQString& sDesc, const TQString& sHelp, - const KShortcut& rgCutDefaults3, const KShortcut& rgCutDefaults4, - const TQObject* pObjSlot, const char* psMethodSlot, - bool bConfigurable = true, bool bEnabled = true ); - bool remove( const TQString& sAction ); - bool setActionSlot( const TQString& sAction, const TQObject* pObjSlot, const char* psMethodSlot ); - - bool updateConnections(); - - bool setShortcut( const TQString& sAction, const KShortcut& cut ); - -// Modify individual Action sub-items - bool setActionEnabled( const TQString& sAction, bool bEnable ); - - /** - * Read all key associations from @p config, or (if @p config - * is zero) from the application's configuration file - * KGlobal::config(). - * - * The group in which the configuration is stored can be - * set with setConfigGroup(). - */ - void readSettings( KConfigBase* pConfig = 0 ); - - /** - * Write the current configurable associations to @p config, - * or (if @p config is zero) to the application's - * configuration file. - */ - void writeSettings( KConfigBase* pConfig = 0 ) const; - - TQPopupMenu* createPopupMenu( TQWidget* pParent, const KKeySequence& ); - - // Protected methods - protected: - void slotRemoveAction( KAccelAction* ); - - struct X; - void createKeyList( TQValueVector& rgKeys ); - bool insertConnection( KAccelAction* ); - bool removeConnection( KAccelAction* ); - - virtual bool emitSignal( Signal ) = 0; - virtual bool connectKey( KAccelAction&, const KKeyServer::Key& ) = 0; - virtual bool connectKey( const KKeyServer::Key& ) = 0; - virtual bool disconnectKey( KAccelAction&, const KKeyServer::Key& ) = 0; - virtual bool disconnectKey( const KKeyServer::Key& ) = 0; - - protected: - struct ActionInfo - { - KAccelAction* pAction; - uint iSeq, iVariation; - //ActionInfo* pInfoNext; // nil if only one action uses this key. - - ActionInfo() { pAction = 0; iSeq = 0xffff; iVariation = 0xffff; } - ActionInfo( KAccelAction* _pAction, uint _iSeq, uint _iVariation ) - { pAction = _pAction; iSeq = _iSeq; iVariation = _iVariation; } - }; - typedef TQMap KKeyToActionMap; - - KAccelActions m_rgActions; - KKeyToActionMap m_mapKeyToAction; - TQValueList m_rgActionsNonUnique; - bool m_bNativeKeys; // Use native key codes instead of Qt codes - bool m_bEnabled; - bool m_bConfigIsGlobal; - TQString m_sConfigGroup; - bool m_bAutoUpdate; - KAccelAction* mtemp_pActionRemoving; - - private: - KAccelBase& operator =( const KAccelBase& ); - - friend class KAccelActions; -}; - -#endif // _KACCELBASE_H diff --git a/python/pykde/extra/kde340/kicontheme.h b/python/pykde/extra/kde340/kicontheme.h deleted file mode 100644 index a22019f7..00000000 --- a/python/pykde/extra/kde340/kicontheme.h +++ /dev/null @@ -1,355 +0,0 @@ -/* vi: ts=8 sts=4 sw=4 - * - * This file is part of the KDE project, module kdecore. - * Copyright (C) 2000 Geert Jansen - * Antonio Larrosa - * - * This is free software; it comes under the GNU Library General - * Public License, version 2. See the file "COPYING.LIB" for the - * exact licensing terms. - * - */ - -#ifndef __KIconTheme_h_Included__ -#define __KIconTheme_h_Included__ - -#include -#include -#include -#include "kdelibs_export.h" - -class KConfig; -//class KIconThemeDir; - -class KIconThemePrivate; - -class KIconPrivate; - -/** - * One icon as found by KIconTheme. Also serves as a namespace containing - * icon related constants. - * @see KIconEffect - * @see KIconTheme - * @see KIconLoader - */ -class KDECORE_EXPORT KIcon -{ -public: - KIcon() { size = 0; } - - /** - * Return true if this icon is valid, false otherwise. - */ - bool isValid() const { return size != 0; } - - /** - * Defines the context of the icon. - */ - enum Context { - Any, ///< Some icon with unknown purpose. - Action, ///< An action icon (e.g. 'save', 'print'). - Application, ///< An icon that represents an application. - Device, ///< An icon that represents a device. - FileSystem, ///< An icon that represents a file system. - MimeType ///< An icon that represents a mime type (or file type). - }; - - /** - * The type of the icon. - */ - enum Type { - Fixed, ///< Fixed-size icon. - Scalable, ///< Scalable-size icon. - Threshold ///< A threshold icon. - }; - - /** - * The type of a match. - */ - enum MatchType { - MatchExact, ///< Only try to find an exact match. - MatchBest ///< Take the best match if there is no exact match. - - }; - - // if you add a group here, make sure to change the config reading in - // KIconLoader too - /** - * The group of the icon. - */ - enum Group { - /// No group - NoGroup=-1, - /// Desktop icons - Desktop=0, - /// First group - FirstGroup=0, - /// Toolbar icons - Toolbar, - /// Main toolbar icons - MainToolbar, - /// Small icons - Small, - /// Panel (Kicker) icons - Panel, - /// Last group - LastGroup, - /// User icons - User - }; - - /** - * These are the standard sizes for icons. - */ - enum StdSizes { - /// small icons for menu entries - SizeSmall=16, - /// slightly larger small icons for toolbars, panels, etc - SizeSmallMedium=22, - /// medium sized icons for the desktop - SizeMedium=32, - /// large sized icons for the panel - SizeLarge=48, - /// huge sized icons for iconviews - SizeHuge=64, - /// enormous sized icons for iconviews - SizeEnormous=128 - }; - - /** - * Defines the possible states of an icon. - */ - enum States { DefaultState, ///< The default state. - ActiveState, ///< Icon is active. - DisabledState, ///< Icon is disabled. - LastState ///< Last state (last constant) - }; - - /** - * This defines an overlay, a semi-transparent image that is - * projected onto the icon. They are used to show that the file - * represented by the icon is, for example, locked, zipped or hidden. - */ - enum Overlays { - LockOverlay=0x100, ///< a file is locked - ZipOverlay=0x200, ///< a file is zipped - LinkOverlay=0x400, ///< a file is a link - HiddenOverlay=0x800, ///< a file is hidden - ShareOverlay=0x1000, ///< a file is shared - OverlayMask = ~0xff - }; - - /** - * The size in pixels of the icon. - */ - int size; - - /** - * The context of the icon. - */ - Context context; - - /** - * The type of the icon: Fixed, Scalable or Threshold. - **/ - Type type; - - /** - * The threshold in case type == Threshold - */ - int threshold; - - /** - * The full path of the icon. - */ - TQString path; - -private: - KIconPrivate *d; -}; - -inline KIcon::Group& operator++(KIcon::Group& group) { group = static_cast(group+1); return group; } -inline KIcon::Group operator++(KIcon::Group& group,int) { KIcon::Group ret = group; ++group; return ret; } - -/** - * Class to use/access icon themes in KDE. This class is used by the - * iconloader but can be used by others too. - * @see KIconLoader - */ -class KDECORE_EXPORT KIconTheme -{ -public: - /** - * Load an icon theme by name. - * @param name the name of the theme (e.g. "hicolor" or "keramik") - * @param appName the name of the application. Can be null. This argument - * allows applications to have themed application icons. - */ - KIconTheme(const TQString& name, const TQString& appName=TQString::null); - ~KIconTheme(); - - /** - * The stylized name of the icon theme. - * @return the (human-readable) name of the theme - */ - TQString name() const { return mName; } - - /** - * A description for the icon theme. - * @return a human-readable description of the theme, TQString::null - * if there is none - */ - TQString description() const { return mDesc; } - - /** - * Return the name of the "example" icon. This can be used to - * present the theme to the user. - * @return the name of the example icon, TQString::null if there is none - */ - TQString example() const; - - /** - * Return the name of the screenshot. - * @return the name of the screenshot, TQString::null if there is none - */ - TQString screenshot() const; - - /** - * Returns the name of this theme's link overlay. - * @return the name of the link overlay - */ - TQString linkOverlay() const; - - /** - * Returns the name of this theme's zip overlay. - * @return the name of the zip overlay - */ - TQString zipOverlay() const; - - /** - * Returns the name of this theme's lock overlay. - * @return the name of the lock overlay - */ - TQString lockOverlay() const; - - /** - * Returns the name of this theme's share overlay. - * @return the name of the share overlay - * @since 3.1 - */ - TQString shareOverlay () const; - - /** - * Returns the toplevel theme directory. - * @return the directory of the theme - */ - TQString dir() const { return mDir; } - - /** - * The themes this icon theme falls back on. - * @return a list of icon themes that are used as fall-backs - */ - TQStringList inherits() const { return mInherits; } - - /** - * The icon theme exists? - * @return true if the icon theme is valid - */ - bool isValid() const; - - /** - * The icon theme should be hidden to the user? - * @return true if the icon theme is hidden - * @since 3.1 - */ - bool isHidden() const; - - /** - * The minimum display depth required for this theme. This can either - * be 8 or 32. - * @return the minimum bpp (8 or 32) - */ - int depth() const { return mDepth; } - - /** - * The default size of this theme for a certain icon group. - * @param group The icon group. See KIcon::Group. - * @return The default size in pixels for the given icon group. - */ - int defaultSize(KIcon::Group group) const; - - /** - * Query available sizes for a group. - * @param group The icon group. See KIcon::Group. - * @return a list of available sized for the given group - */ - TQValueList querySizes(KIcon::Group group) const; - - /** - * Query available icons for a size and context. - * @param size the size of the icons - * @param context the context of the icons - * @return the list of icon names - */ - TQStringList queryIcons(int size, KIcon::Context context = KIcon::Any) const; - - /** - * Query available icons for a context and preferred size. - * @param size the size of the icons - * @param context the context of the icons - * @return the list of icon names - */ - TQStringList queryIconsByContext(int size, KIcon::Context context = KIcon::Any) const; - - - /** - * Lookup an icon in the theme. - * @param name The name of the icon, without extension. - * @param size The desired size of the icon. - * @param match The matching mode. KIcon::MatchExact returns an icon - * only if matches exactly. KIcon::MatchBest returns the best matching - * icon. - * @return A KIcon class that describes the icon. If an icon is found, - * @see KIcon::isValid will return true, and false otherwise. - */ - KIcon iconPath(const TQString& name, int size, KIcon::MatchType match) const; - - /** - * List all icon themes installed on the system, global and local. - * @return the list of all icon themes - */ - static TQStringList list(); - - /** - * Returns the current icon theme. - * @return the name of the current theme - */ - static TQString current(); - - /** - * Reconfigure the theme. - */ - static void reconfigure(); - - /** - * Returns the default icon theme. - * @return the name of the default theme name - * @since 3.1 - */ - static TQString defaultThemeName(); - -private: - int mDefSize[8]; - TQValueList mSizes[8]; - - int mDepth; - TQString mDir, mName, mDesc; - TQStringList mInherits; -// TQPtrList mDirs; -// KIconThemePrivate *d; - - static TQString *_theme; - static TQStringList *_theme_list; -}; - -#endif diff --git a/python/pykde/extra/kde340/kkeyserver.h b/python/pykde/extra/kde340/kkeyserver.h deleted file mode 100644 index ef673ea9..00000000 --- a/python/pykde/extra/kde340/kkeyserver.h +++ /dev/null @@ -1,29 +0,0 @@ -/* - Copyright (C) 2001 Ellis Whitehead - - Win32 port: - Copyright (C) 2004 Jaroslaw Staniek - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. -*/ - -#ifndef _KKEYSERVER_H -#define _KKEYSERVER_H - -//FOR COMPATIBILITY -#include "kkeyserver_x11.h" - -#endif // !_KKEYSERVER_H diff --git a/python/pykde/extra/kde340/kkeyserver_x11.h b/python/pykde/extra/kde340/kkeyserver_x11.h deleted file mode 100644 index 47d3bbaa..00000000 --- a/python/pykde/extra/kde340/kkeyserver_x11.h +++ /dev/null @@ -1,461 +0,0 @@ -/* - Copyright (C) 2001 Ellis Whitehead - - Win32 port: - Copyright (C) 2004 Jaroslaw Staniek - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. -*/ - -#ifndef _KKEYSERVER_X11_H -#define _KKEYSERVER_X11_H - -#include "kshortcut.h" -#include "kkeynative.h" - -/** - * A collection of functions for the conversion of key presses and - * their modifiers from the window system specific format - * to the generic format and vice-versa. - */ -namespace KKeyServer -{ - /** - * Supplement enum KKey::ModFlag - * @since 3.1 - */ - enum ExtraModFlag { MODE_SWITCH = 0x2000 }; - - /** - * Represents a key symbol. - * @see KKey - * @see KKeyServer - */ - struct KDECORE_EXPORT Sym - { - public: - /// the actual value of the symbol - uint m_sym; - - /// Creates a null symbol. - Sym() - { m_sym = 0; } - /** - * Creates asymbol with the given value. - * @param sym the value - */ - Sym( uint sym ) - { m_sym = sym; } - /** - * Creates a symbol from the given string description. - * @param s the description of the symbol - * @see toString() - */ - Sym( const TQString& s ) - { init( s ); } - - /** - * Initializes the symbol with the given Qt key code. - * @param keyQt the qt key code - * @return true if successful, false otherwise - * @see Qt::Key - */ - bool initQt( int keyQt ); - - /** - * Initializes the key with the given string description. - * @param s the string description - * @return true if successful, false otherwise - * @see toString() - */ - bool init( const TQString &s ); - - /** - * Returns the qt key code of the symbol. - * @return the qt key code - */ - int qt() const; - - /** - * @internal - */ - TQString toStringInternal() const; - - /** - * Returns the string representation of the symbol. - * @return the string representation of the symbol - */ - TQString toString() const; - - /** - * Returns the mods that are required for this symbol as - * ORed KKey::ModFlag's. For example, Break requires a - * Ctrl to be valid. - * @return the required KKey::ModFlag's - * @see KKey::ModFlag - */ - uint getModsRequired() const; - - /** - * TODO: please find out what this method does and document it - */ - uint getSymVariation() const; - - /** - * Casts the symbol to its integer representation. - */ - operator uint() const { return m_sym; } - - /** - * Overloaded operator to convert ints to Sym. - */ - Sym& operator =( uint sym ) { m_sym = sym; return *this; } - - private: - TQString toString( bool bUserSpace ) const; - - static void capitalizeKeyname( TQString& ); - }; - - /** - * Represents a key press. - * @see KKey - */ - struct KDECORE_EXPORT Key - { - /// Code for native Keys in Qt - enum { CODE_FOR_QT = 256 }; - - /// The code of the key - uint m_code; - - /// The modifiers of the key - uint m_mod; - - /// The symbol of the key - uint m_sym; - - /** - * Initializes the key with a KKey. - * @param key the key to get the data from - * @param bQt true to take the Qt keycode, false - * for the native key code - * @see Qt::Key - * @see KKeyNative - */ - bool init( const KKey& key, bool bQt ); - - /** - * Checks whether the key code is a native code. - * @return true if native code of the window system, - * false if it is a Qt keycode - * @see Qt::Key - * @see KKeyNative - */ - bool isNative() const { return m_code != CODE_FOR_QT; } - - /** - * Returns the code of the key. - * @return the code of the key - */ - uint code() const { return m_code; } - - /** - * Returns the modifiers of the key. - * @return the modifiers of the key - */ - uint mod() const { return m_mod; } - - /** - * Returns the symbol of the key. - * @return the symbol of the key - */ - uint sym() const { return m_sym; } - - /** - * Returns the qt key code. - * @return the qt key code - */ - int keyCodeQt() const { return (int) m_sym; } - - /** - * Sets the qt key code. - * @param keyQt the qt key code - */ - void setKeycodeQt( int keyQt ) - { m_code = CODE_FOR_QT; m_sym = keyQt; } - - /** - * Initializes this key with a KKeyNative. - * @return this key - */ - Key& operator =( const KKeyNative& key ); - - /** - * Compares this key with the given Key object. Returns a - * negative number if the given Key is larger, 0 if they - * are equal and a positive number this Key is larger. The - * returned value is the difference between the symbol, modifier - * or code, whatever is non-zero first. - * - * @param key the key to compare with this key - * @return a negative number if the given Key is larger, 0 if - * they are equal and a positive number this Key is larger - */ - int compare( const Key& key ) const; - - /** - * Compares the symbol, modifiers and code of both keys. - * @see compare() - */ - bool operator ==( const Key& b ) const - { return compare( b ) == 0; } - - /** - * Compares the symbol, modifiers and code of both keys. - * @see compare() - */ - bool operator <( const Key& b ) const - { return compare( b ) < 0; } - - /** - * Converts this Key to a KKey. - * @return the KKey - */ - KKey key() const; - }; - - /** - * TODO: please document this class - */ - struct KDECORE_EXPORT Variations - { - enum { MAX_VARIATIONS = 4 }; - - Key m_rgkey[MAX_VARIATIONS]; - uint m_nVariations; - - Variations() { m_nVariations = 0; } - - void init( const KKey&, bool bQt ); - - uint count() const { return m_nVariations; } - const Key& key( uint i ) const { return m_rgkey[i]; } - }; - - /// TODO: please document - KDECORE_EXPORT bool initializeMods(); - - /** - * Returns the equivalent X modifier mask of the given modifier flag. - * @param modFlag the generic flags to check - * @return the window system specific flags - */ - KDECORE_EXPORT uint modX( KKey::ModFlag modFlag ); - - /** - * Returns true if the current keyboard layout supports the Win key. - * Specifically, whether the Super or Meta keys are assigned to an X modifier. - * @return true if the keyboard has a Win key - * @see modXWin() - */ - KDECORE_EXPORT bool keyboardHasWinKey(); - - /** - * Returns the X11 Shift modifier mask/flag. - * @return the X11 Shift modifier mask/flag. - * @see accelModMaskX() - */ - KDECORE_EXPORT uint modXShift(); - - /** - * Returns the X11 Lock modifier mask/flag. - * @return the X11 Lock modifier mask/flag. - * @see accelModMaskX() - */ - KDECORE_EXPORT uint modXLock(); - - /** - * Returns the X11 Ctrl modifier mask/flag. - * @return the X11 Ctrl modifier mask/flag. - * @see accelModMaskX() - */ - KDECORE_EXPORT uint modXCtrl(); - - /** - * Returns the X11 Alt (Mod1) modifier mask/flag. - * @return the X11 Alt (Mod1) modifier mask/flag. - * @see accelModMaskX() - */ - KDECORE_EXPORT uint modXAlt(); - - /** - * Returns the X11 NumLock modifier mask/flag. - * @return the X11 NumLock modifier mask/flag. - * @see accelModMaskX() - */ - KDECORE_EXPORT uint modXNumLock(); - - /** - * Returns the X11 Win (Mod3) modifier mask/flag. - * @return the X11 Win (Mod3) modifier mask/flag. - * @see keyboardHasWinKey() - * @see accelModMaskX() - */ - KDECORE_EXPORT uint modXWin(); - - /** - * Returns the X11 ScrollLock modifier mask/flag. - * @return the X11 ScrollLock modifier mask/flag. - * @see accelModMaskX() - */ - KDECORE_EXPORT uint modXScrollLock(); - - /** - * Returns bitwise OR'ed mask containing Shift, Ctrl, Alt, and - * Win (if available). - * @see modXShift() - * @see modXLock() - * @see modXCtrl() - * @see modXAlt() - * @see modXNumLock() - * @see modXWin() - * @see modXScrollLock() - */ - KDECORE_EXPORT uint accelModMaskX(); - - /** - * Extracts the symbol from the given Qt key and - * converts it to a symbol. - * @param keyQt the qt key code - * @param sym if successful, the symbol will be written here - * @return true if successful, false otherwise - * @see Qt::Key - * @see Sym - */ - KDECORE_EXPORT bool keyQtToSym( int keyQt, uint& sym ); - - /** - * Extracts the modifiers from the given Qt key and - * converts them in a mask of ORed KKey::ModFlag modifiers. - * @param keyQt the qt key code - * @param mod if successful, the modifiers will be written here - * @return true if successful, false otherwise - * @see Qt::Key - */ - KDECORE_EXPORT bool keyQtToMod( int keyQt, uint& mod ); - - /** - * Converts the given symbol to a Qt key code. - * @param sym the symbol - * @param keyQt if successful, the qt key code will be written here - * @return true if successful, false otherwise - * @see Qt::Key - * @see Sym - */ - KDECORE_EXPORT bool symToKeyQt( uint sym, int& keyQt ); - - /** - * Converts the mask of ORed KKey::ModFlag modifiers to - * a mask of ORed Qt key code modifiers. - * @param mod the mask of KKey::ModFlag modifiers - * @param modQt the mask of Qt key code modifiers will be written here, - * if successful - * @return true if successful, false otherwise - * @see Qt::Key - * @see KKey - */ - KDECORE_EXPORT bool modToModQt( uint mod, int& modQt ); - - /** - * Converts the mask of ORed KKey::ModFlag modifiers to - * a mask of ORed X11 modifiers. - * @param mod the mask of KKey::ModFlag modifiers - * @param modX the mask of X11 modifiers will be written here, - * if successful - * @return true if successful, false otherwise - * @see KKey - */ - KDECORE_EXPORT bool modToModX( uint mod, uint& modX ); - - /** - * Converts the mask of ORed X11 modifiers to - * a mask of ORed Qt key code modifiers. - * @param modX the mask of X11 modifiers - * @param modQt the mask of Qt key code modifiers will be written here - * if successful - * @return true if successful, false otherwise - * @see Qt::Key - */ - //wrapped for win32 - KDECORE_EXPORT bool modXToModQt( uint modX, int& modQt ); - - /** - * Converts the Qt-compatible button state to x11 modifier. - */ - KDECORE_EXPORT int qtButtonStateToMod( Qt::ButtonState s ); - - /** - * Converts the mask of ORed X11 modifiers to - * a mask of ORed KKey::ModFlag modifiers. - * @param modX the mask of X11 modifiers - * @param mod the mask of KKey::ModFlag modifiers will be written here, - * if successful - * @return true if successful, false otherwise - * @see KKey - */ - KDECORE_EXPORT bool modXToMod( uint modX, uint& mod ); - - /** - * Converts a X11 key code and a mask of ORed X11 modifiers - * into a X11 symbol. - * converts it to a symbol. - * @param codeX the X11 key code - * @param modX the mask of ORed X11 modifiers - * @param symX if successful, the X11 symbol will be written here - * @return true if successful, false otherwise - * @see Qt::Key - * @see Sym - */ - KDECORE_EXPORT bool codeXToSym( uchar codeX, uint modX, uint& symX ); - - /** - * @internal - */ - KDECORE_EXPORT TQString modToStringInternal( uint mod ); - - /** - * Converts the mask of ORed KKey::ModFlag modifiers to a - * user-readable string. - * @param mod the mask of ORed KKey::ModFlag modifiers - * @return the user-readable string - */ - KDECORE_EXPORT TQString modToStringUser( uint mod ); - - /** - * @internal - * Unimplemented? - */ - KDECORE_EXPORT bool stringToSymMod( const TQString&, uint& sym, uint& mod ); - - /** - * @internal - * Unimplemented? - */ - KDECORE_EXPORT void keyQtToKeyX( uint keyCombQt, unsigned char *pKeyCodeX, uint *pKeySymX, uint *pKeyModX ); -} - -#endif // !_KKEYSERVER_X11_H diff --git a/python/pykde/extra/kde340/konsole_part.h b/python/pykde/extra/kde340/konsole_part.h deleted file mode 100644 index 51c49f5e..00000000 --- a/python/pykde/extra/kde340/konsole_part.h +++ /dev/null @@ -1,228 +0,0 @@ -/* - This file is part of the KDE system - Copyright (C) 1999,2000 Boloni Laszlo - - This program is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. - */ - -#ifndef __KONSOLE_PART_H__ -#define __KONSOLE_PART_H__ - -#include -#include - - -#include - -#include - -//#include "schema.h" -//#include "session.h" - -class KInstance; -class konsoleBrowserExtension; -class TQPushButton; -class TQSpinBox; -class KPopupMenu; -class TQCheckBox; -class KRootPixmap; -class KToggleAction; -class KSelectAction; - -namespace KParts { class GUIActivateEvent; } - -class konsoleFactory : public KParts::Factory -{ - Q_OBJECT -public: - konsoleFactory(); - virtual ~konsoleFactory(); - - virtual KParts::Part* createPartObject(TQWidget *parentWidget = 0, const char *widgetName = 0, - TQObject* parent = 0, const char* name = 0, - const char* classname = "KParts::Part", - const TQStringList &args = TQStringList()); - - static KInstance *instance(); - - private: - static KInstance *s_instance; - static KAboutData *s_aboutData; -}; - -////////////////////////////////////////////////////////////////////// - -class konsolePart: public KParts::ReadOnlyPart, public TerminalInterface -{ - Q_OBJECT - public: - konsolePart(TQWidget *parentWidget, const char *widgetName, TQObject * parent, const char *name, const char *classname = 0); - virtual ~konsolePart(); - -signals: - void processExited(); - void receivedData( const TQString& s ); - protected: - virtual bool openURL( const KURL & url ); - virtual bool openFile() {return false;} // never used - virtual bool closeURL() {return true;} - virtual void guiActivateEvent( KParts::GUIActivateEvent * event ); - - protected slots: - void showShell(); - void slotProcessExited(); - void slotReceivedData( const TQString& s ); - -// void doneSession(TESession*); - void sessionDestroyed(); -// void configureRequest(TEWidget*,int,int x,int y); - void updateTitle(); - void enableMasterModeConnections(); - - private slots: - void emitOpenURLRequest(const TQString &url); - - void readProperties(); - void saveProperties(); - - void sendSignal(int n); - void closeCurrentSession(); - - void notifySize(int,int); - - void slotToggleFrame(); - void slotSelectScrollbar(); - void slotSelectFont(); - void schema_menu_check(); - void keytab_menu_activated(int item); - void updateSchemaMenu(); - void setSchema(int n); - void pixmap_menu_activated(int item); - void schema_menu_activated(int item); - void slotHistoryType(); - void slotSelectBell(); - void slotSelectLineSpacing(); - void slotBlinkingCursor(); - void slotWordSeps(); - void fontNotFound(); - void slotSetEncoding(); - void slotFontChanged(); - - private: - konsoleBrowserExtension *m_extension; - KURL currentURL; - - void makeGUI(); - void applySettingsToGUI(); - - void setFont(int fontno); -// void setSchema(ColorSchema* s); - void updateKeytabMenu(); - - bool doOpenStream( const TQString& ); - bool doWriteStream( const TQByteArray& ); - bool doCloseStream(); - - TQWidget* parentWidget; -// TEWidget* te; -// TESession* se; -// ColorSchemaList* colors; - KRootPixmap* rootxpm; - - KToggleAction* blinkingCursor; - KToggleAction* showFrame; - - KSelectAction* selectBell; - KSelectAction* selectFont; - KSelectAction* selectLineSpacing; - KSelectAction* selectScrollbar; - KSelectAction* selectSetEncoding; - - KPopupMenu* m_keytab; - KPopupMenu* m_schema; - KPopupMenu* m_signals; - KPopupMenu* m_options; - KPopupMenu* m_popupMenu; - - TQFont defaultFont; - - TQString pmPath; // pixmap path - TQString s_schema; - TQString s_kconfigSchema; - TQString s_word_seps; // characters that are considered part of a word - TQString fontNotFound_par; - - bool b_framevis:1; - bool b_histEnabled:1; - - int curr_schema; // current schema no - int n_bell; - int n_font; - int n_keytab; - int n_render; - int n_scroll; - unsigned m_histSize; - bool m_runningShell; - bool m_streamEnabled; - int n_encoding; - -public: - // these are the implementations for the TermEmuInterface - // functions... - void startProgram( const TQString& program, - const TQStrList& args ); - void showShellInDir( const TQString& dir ); - void sendInput( const TQString& text ); -}; - -////////////////////////////////////////////////////////////////////// - -/*class HistoryTypeDialog : public KDialogBase -{ - Q_OBJECT -public: - HistoryTypeDialog(const HistoryType& histType, - unsigned int histSize, - TQWidget *parent); - -public slots: - void slotDefault(); - void slotSetUnlimited(); - void slotHistEnable(bool); - - unsigned int nbLines() const; - bool isOn() const; - -protected: - TQCheckBox* m_btnEnable; - TQSpinBox* m_size; - TQPushButton* m_setUnlimited; -};*/ - -////////////////////////////////////////////////////////////////////// - -class konsoleBrowserExtension : public KParts::BrowserExtension -{ - Q_OBJECT - friend class konsolePart; - public: - konsoleBrowserExtension(konsolePart *parent); - virtual ~konsoleBrowserExtension(); - - void emitOpenURLRequest(const KURL &url); -}; - -#endif diff --git a/python/pykde/extra/kde340/kpanelmenu.h b/python/pykde/extra/kde340/kpanelmenu.h deleted file mode 100644 index de0b065e..00000000 --- a/python/pykde/extra/kde340/kpanelmenu.h +++ /dev/null @@ -1,182 +0,0 @@ -/***************************************************************** - -Copyright (c) 1996-2000 the kicker authors. See file AUTHORS. - (c) 2001 Michael Goffioul - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN -AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - -******************************************************************/ - -#ifndef __KPANELMENU_H__ -#define __KPANELMENU_H__ - -#include -#include -#include - -class KPanelMenuPrivate; - -/** - * @short Base class to build dynamically loaded menu entries for the K-menu, or the panel. - * - * This class allows to build menu entries that will be dynamically added either to - * the K-menu, or to the panel as a normal button. These dynamic menus are located - * in shared libraries that will be loaded at runtime by Kicker (the %KDE panel). - * - * To build such a menu, you have to inherit this class and implement the pure virtual - * functions #initialize() and slotExec(). You also have to provide a factory - * object in your library, see KLibFactory. This factory is only used to construct - * the menu object. - * - * Finally, you also have to provide a desktop file describing your dynamic menu. The - * relevant entries are: Name, Comment, Icon and X-KDE-Library (which contains the - * library name without any extension). This desktop file has to be installed in - * $KDEDIR/share/apps/kicker/menuext/. - * - * @author The kicker maintainers, Michael Goffioul - */ -class KDEUI_EXPORT KPanelMenu : public KPopupMenu -{ - Q_OBJECT - -public: - /** - * Construct a KPanelMenu object. This is the normal constructor to use when - * building extrernal menu entries. - */ - KPanelMenu(TQWidget *parent=0, const char *name=0); - /** - * Constructor used internally by Kicker. You don't really want to use it. - * @param startDir a directory to associate with this menu - * @param parent parent object - * @param name name of the object - * @see path(), setPath() - */ - KPanelMenu(const TQString &startDir, TQWidget *parent=0, const char *name=0); - /** - * Destructor. - */ - virtual ~KPanelMenu(); - - /** - * Get the directory path associated with this menu, or TQString::null if - * there's no such associated path. - * @return the associated directory path - * @see setPath() - */ - const TQString& path() const; - /** - * Set a directory path to be associated with this menu. - * @param p the directory path - * @see path() - */ - void setPath(const TQString &p); - /** - * Tell if the menu has been initialized, that is it already contains items. - * This is useful when you need to know if you have to clear the menu, or to - * fill it. - * @return the initial state - * @see setInitialized(), initialize() - */ - bool initialized() const; - /** - * Set the initial state. Set it to true when you menu is filled with the items - * you want. - * @param on the initial state - * @see initialized(), initialize() - */ - void setInitialized(bool on); - - /** - * Disable the automatic clearing of the menu. Kicker uses a cache system for - * its menus. After a specific configurable delay, the menu will be cleared. - * Use this function if you want to disable kicker's cache system, and avoid - * the clearing of your menu. - */ - void disableAutoClear(); - -public slots: - /** - * Reinitialize the menu: the menu is first cleared, the initial state is set - * to false, and finally #initialize() is called. Use this if you want to - * refill your menu immediately. - */ - void reinitialize(); - /** - * Deinitialize the menu: the menu is cleared and the initialized state is set to - * false. #initialize() is NOT called. It will be called before the menu is - * next shown, however. Use this slot if you want a delayed reinitialization. - * @since 3.1 - */ - void deinitialize(); - -protected slots: - /** - * This slot is called just before the menu is shown. This allows your menu - * to update itself if needed. However you should instead re-implement - * #initialize to provide this feature. This function is responsible for - * the cache system handling, so if you re-implement it, you should call - * the base function also. Calls #initialize(). - * @see disableAutoClear() - */ - virtual void slotAboutToShow(); - /** - * This is slot is called when an item from the menu has been selected. Your - * applet is then supposed to perform some action. You must re-implement this - * function. - * @param id the ID associated with the selected item - */ - virtual void slotExec(int id) = 0; - /** - * This slots is called to initialize the menu. It is called automatically by - * slotAboutToShow(). By re-implementing this functions, you can reconstruct - * the menu before it is being shown. At the end of this function, you should - * call setInitialize() with true to tell the system that the menu is OK. - * You applet must re-implement this function. - * @see slotAboutToShow(), initialized(), setInitialized() - */ - virtual void initialize() = 0; - /** - * Clears the menu, and update the initial state accordingly. - * @see initialized() - */ - void slotClear(); - -protected: - /** - * Re-implemented for internal reasons. - */ - virtual void hideEvent(TQHideEvent *ev); - /** - * For internal use only. Used by constructors. - */ - void init(const TQString& path = TQString::null); - -protected: - virtual void virtual_hook( int id, void* data ); -private: - void internalInitialize(); - KPanelMenuPrivate *d; -}; - -#define K_EXPORT_KICKER_MENUEXT( libname, classname ) \ - K_EXPORT_COMPONENT_FACTORY( \ - kickermenu_##libname, \ - KGenericFactory("libkickermenu_" #libname) ) - -#endif diff --git a/python/pykde/extra/kde340/krecentdirs.h b/python/pykde/extra/kde340/krecentdirs.h deleted file mode 100644 index 439fb6fe..00000000 --- a/python/pykde/extra/kde340/krecentdirs.h +++ /dev/null @@ -1,70 +0,0 @@ -/* -*- c++ -*- - * Copyright (C)2000 Waldo Bastian - * - * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * - * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND - * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE - * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS - * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) - * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT - * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY - * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF - * SUCH DAMAGE. - * - */ -#ifndef __KRECENTDIRS_H -#define __KRECENTDIRS_H - -#include - -#include - -/** - * The goal of this class is to make sure that, when the user needs to - * specify a file via the file selection dialog, this dialog will start - * in the directory most likely to contain the desired files. - * - * This works as follows: Each time the file selection dialog is - * shown, the programmer can specify a "file-class". The file-dialog will - * then start with the directory associated with this file-class. When - * the dialog closes, the directory currently shown in the file-dialog - * will be associated with the file-class. - * - * A file-class can either start with ':' or with '::'. If it starts with - * a single ':' the file-class is specific to the current application. - * If the file-class starts with '::' it is global to all applications. - */ -class KIO_EXPORT KRecentDirs -{ -public: - /** - * Returns a list of directories associated with this file-class. - * The most recently used directory is at the front of the list. - */ - static TQStringList list(const TQString &fileClass); - - /** - * Returns the most recently used directory accociated with this file-class. - */ - static TQString dir(const TQString &fileClass); - - /** - * Associates @p directory with @p fileClass - */ - static void add(const TQString &fileClass, const TQString &directory); -}; - -#endif diff --git a/python/pykde/extra/kde340/ksharedptr.h b/python/pykde/extra/kde340/ksharedptr.h deleted file mode 100644 index ada08413..00000000 --- a/python/pykde/extra/kde340/ksharedptr.h +++ /dev/null @@ -1,175 +0,0 @@ -/* This file is part of the KDE libraries - Copyright (c) 1999 Waldo Bastian - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License version 2 as published by the Free Software Foundation. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. -*/ -#ifndef KSharedPTR_H -#define KSharedPTR_H - -#include "kdelibs_export.h" - -/** - * Reference counting for shared objects. If you derive your object - * from this class, then you may use it in conjunction with - * KSharedPtr to control the lifetime of your object. - * - * Specifically, all classes that derive from KShared have an internal - * counter keeping track of how many other objects have a reference to - * their object. If used with KSharedPtr, then your object will - * not be deleted until all references to the object have been - * released. - * - * You should probably not ever use any of the methods in this class - * directly -- let the KSharedPtr take care of that. Just derive - * your class from KShared and forget about it. - * - * @author Waldo Bastian - */ -class KDECORE_EXPORT KShared { -public: - /** - * Standard constructor. This will initialize the reference count - * on this object to 0. - */ - KShared() : count(0) { } - - /** - * Copy constructor. This will @em not actually copy the objects - * but it will initialize the reference count on this object to 0. - */ - KShared( const KShared & ) : count(0) { } - - /** - * Overloaded assignment operator. - */ - KShared &operator=(const KShared & ) { return *this; } - - /** - * Increases the reference count by one. - */ - void _KShared_ref() const { count++; } - - /** - * Releases a reference (decreases the reference count by one). If - * the count goes to 0, this object will delete itself. - */ - void _KShared_unref() const { if (!--count) delete this; } - - /** - * Return the current number of references held. - * - * @return Number of references - */ - int _KShared_count() const { return count; } - -protected: - virtual ~KShared() { } -private: - mutable int count; -}; - -/** - * Can be used to control the lifetime of an object that has derived - * KShared. As long a someone holds a KSharedPtr on some KShared - * object it won't become deleted but is deleted once its reference - * count is 0. This struct emulates C++ pointers virtually perfectly. - * So just use it like a simple C++ pointer. - * - * KShared and KSharedPtr are preferred over QShared / QSharedPtr - * since they are more safe. - * - * WARNING: Please note that this class template provides an implicit - * conversion to T*. Do *not* change this pointer or the pointee (don't - * call delete on it, for instance) behind KSharedPtr's back. - * - * @author Waldo Bastian - */ -template< class T > -class KSharedPtr -{ -public: -/** - * Creates a null pointer. - */ - KSharedPtr() - : ptr(0) { } - /** - * Creates a new pointer. - * @param t the pointer - */ - KSharedPtr( T* t ) - : ptr(t) { if ( ptr ) ptr->_KShared_ref(); } - - /** - * Copies a pointer. - * @param p the pointer to copy - */ - KSharedPtr( const KSharedPtr& p ) - : ptr(p.ptr) { if ( ptr ) ptr->_KShared_ref(); } - - /** - * Unreferences the object that this pointer points to. If it was - * the last reference, the object will be deleted. - */ - ~KSharedPtr() { if ( ptr ) ptr->_KShared_unref(); } - - KSharedPtr& operator= ( const KSharedPtr& p ) { - if ( ptr == p.ptr ) return *this; - if ( ptr ) ptr->_KShared_unref(); - ptr = p.ptr; - if ( ptr ) ptr->_KShared_ref(); - return *this; - } - KSharedPtr& operator= ( T* p ) { - if ( ptr == p ) return *this; - if ( ptr ) ptr->_KShared_unref(); - ptr = p; - if ( ptr ) ptr->_KShared_ref(); - return *this; - } - bool operator== ( const KSharedPtr& p ) const { return ( ptr == p.ptr ); } - bool operator!= ( const KSharedPtr& p ) const { return ( ptr != p.ptr ); } - bool operator== ( const T* p ) const { return ( ptr == p ); } - bool operator!= ( const T* p ) const { return ( ptr != p ); } - bool operator!() const { return ( ptr == 0 ); } - operator T*() const { return ptr; } - - /** - * Returns the pointer. - * @return the pointer - */ - T* data() { return ptr; } - - /** - * Returns the pointer. - * @return the pointer - */ - const T* data() const { return ptr; } - - const T& operator*() const { return *ptr; } - T& operator*() { return *ptr; } - const T* operator->() const { return ptr; } - T* operator->() { return ptr; } - - /** - * Returns the number of references. - * @return the number of references - */ - int count() const { return ptr->_KShared_count(); } // for debugging purposes -private: - T* ptr; -}; - -#endif diff --git a/python/pykde/extra/kde340/ksycocafactory.h b/python/pykde/extra/kde340/ksycocafactory.h deleted file mode 100644 index 536da286..00000000 --- a/python/pykde/extra/kde340/ksycocafactory.h +++ /dev/null @@ -1,143 +0,0 @@ -/* This file is part of the KDE libraries - * Copyright (C) 1999 Waldo Bastian - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License version 2 as published by the Free Software Foundation; - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public License - * along with this library; see the file COPYING.LIB. If not, write to - * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - * Boston, MA 02110-1301, USA. - **/ - -#ifndef __ksycocafactory_h__ -#define __ksycocafactory_h__ - -#include "ksycocatype.h" -#include "ksycocaentry.h" - -#include -#include -class KSycoca; -class TQStringList; -class TQString; -class KSycocaDict; -class KSycocaResourceList; - -typedef TQDict KSycocaEntryDict; - -/** - * @internal - * Base class for sycoca factories - */ -class KDECORE_EXPORT KSycocaFactory -{ -public: - virtual KSycocaFactoryId factoryId() const = 0; - -protected: // virtual class - /** - * Create a factory which can be used to lookup from/create a database - * (depending on KSycoca::isBuilding()) - */ - KSycocaFactory( KSycocaFactoryId factory_id ); - -public: - virtual ~KSycocaFactory(); - - /** - * @return the position of the factory in the sycoca file - */ - int offset() { return mOffset; } - - /** - * @return the dict, for special use by KBuildSycoca - */ - KSycocaEntryDict * entryDict() { return m_entryDict; } - - /** - * Construct an entry from a config file. - * To be implemented in the real factories. - */ - virtual KSycocaEntry *createEntry(const TQString &file, const char *resource) = 0; - - /** - * Add an entry - */ - virtual void addEntry(KSycocaEntry *newEntry, const char *resource); - - /** - * Remove an entry - * Not very fast, use with care. O(N) - */ - void removeEntry(KSycocaEntry *newEntry); - - /** - * Read an entry from the database - */ - virtual KSycocaEntry *createEntry(int offset)=0; - - /** - * Get a list of all entries from the database. - */ - KSycocaEntry::List allEntries(); - - /** - * Saves all entries it maintains as well as index files - * for these entries to the stream 'str'. - * - * Also sets mOffset to the starting position. - * - * The stream is positioned at the end of the last index. - * - * Don't forget to call the parent first when you override - * this function. - */ - virtual void save(TQDataStream &str); - - /** - * Writes out a header to the stream 'str'. - * The baseclass positions the stream correctly. - * - * Don't forget to call the parent first when you override - * this function. - */ - virtual void saveHeader(TQDataStream &str); - - /** - * @return the resources for which this factory is responsible. - */ - virtual const KSycocaResourceList * resourceList() const { return m_resourceList; } - -private: - int mOffset; - -protected: - int m_sycocaDictOffset; - int m_beginEntryOffset; - int m_endEntryOffset; - TQDataStream *m_str; - - KSycocaResourceList *m_resourceList; - KSycocaEntryDict *m_entryDict; - KSycocaDict *m_sycocaDict; -protected: - virtual void virtual_hook( int id, void* data ); -}; - -/** This, instead of a typedef, allows to declare "class ..." in header files - * @internal - */ -class KDECORE_EXPORT KSycocaFactoryList : public TQPtrList -{ -public: - KSycocaFactoryList() { } -}; - -#endif diff --git a/python/pykde/extra/kde340/ktoolbarbutton.h b/python/pykde/extra/kde340/ktoolbarbutton.h deleted file mode 100644 index 297c296b..00000000 --- a/python/pykde/extra/kde340/ktoolbarbutton.h +++ /dev/null @@ -1,329 +0,0 @@ -/* This file is part of the KDE libraries - Copyright (C) 1997, 1998 Stephan Kulow (coolo@kde.org) - (C) 1997, 1998 Sven Radej (radej@kde.org) - (C) 1997, 1998 Mark Donohoe (donohoe@kde.org) - (C) 1997, 1998 Matthias Ettrich (ettrich@kde.org) - (C) 2000 Kurt Granroth (granroth@kde.org) - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License version 2 as published by the Free Software Foundation. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. -*/ - -#ifndef _KTOOLBARBUTTON_H -#define _KTOOLBARBUTTON_H - -#include -#include -#include -#include -#include - -class KToolBar; -class KToolBarButtonPrivate; -class KInstance; -class TQEvent; -class TQPopupMenu; -class TQPainter; - -/** - * A toolbar button. This is used internally by KToolBar, use the - * KToolBar methods instead. - * @internal - */ -class KDEUI_EXPORT KToolBarButton : public QToolButton -{ - Q_OBJECT - -public: - /** - * Construct a button with an icon loaded by the button itself. - * This will trust the button to load the correct icon with the - * correct size. - * - * @param icon Name of icon to load (may be absolute or relative) - * @param id Id of this button - * @param parent This button's parent - * @param name This button's internal name - * @param txt This button's text (in a tooltip or otherwise) - * @param _instance the instance to use for this button - */ - KToolBarButton(const TQString& icon, int id, TQWidget *parent, - const char *name=0L, const TQString &txt=TQString::null, - KInstance *_instance = KGlobal::instance()); - - /** - * Construct a button with an existing pixmap. It is not - * recommended that you use this as the internal icon loading code - * will almost always get it "right". - * - * @param pixmap Name of icon to load (may be absolute or relative) - * @param id Id of this button - * @param parent This button's parent - * @param name This button's internal name - * @param txt This button's text (in a tooltip or otherwise) - */ - KToolBarButton(const TQPixmap& pixmap, int id, TQWidget *parent, - const char *name=0L, const TQString &txt=TQString::null); - - /** - * Construct a separator button - * - * @param parent This button's parent - * @param name This button's internal name - */ - KToolBarButton(TQWidget *parent=0L, const char *name=0L); - - /** - * Standard destructor - */ - ~KToolBarButton(); - -#ifndef KDE_NO_COMPAT - /** - * @deprecated - * Set the pixmap directly for this button. This pixmap should be - * the active one... the dimmed and disabled pixmaps are constructed - * based on this one. However, don't use this function unless you - * are positive that you don't want to use setIcon. - * - * @param pixmap The active pixmap - */ - // this one is from TQButton, so #ifdef-ing it out doesn't break BC - virtual void setPixmap(const TQPixmap &pixmap) KDE_DEPRECATED; - - /** - * @deprecated - * Force the button to use this pixmap as the default one rather - * then generating it using effects. - * - * @param pixmap The pixmap to use as the default (normal) one - */ - void setDefaultPixmap(const TQPixmap& pixmap) KDE_DEPRECATED; - - /** - * @deprecated - * Force the button to use this pixmap when disabled one rather then - * generating it using effects. - * - * @param pixmap The pixmap to use when disabled - */ - void setDisabledPixmap(const TQPixmap& pixmap) KDE_DEPRECATED; -#endif - - /** - * Set the text for this button. The text will be either used as a - * tooltip (IconOnly) or will be along side the icon - * - * @param text The button (or tooltip) text - */ - virtual void setText(const TQString &text); - - /** - * Set the icon for this button. The icon will be loaded internally - * with the correct size. This function is preferred over setIconSet - * - * @param icon The name of the icon - */ - virtual void setIcon(const TQString &icon); - - /// @since 3.1 - virtual void setIcon( const TQPixmap &pixmap ) - { TQToolButton::setIcon( pixmap ); } - - /** - * Set the pixmaps for this toolbar button from a TQIconSet. - * If you call this you don't need to call any of the other methods - * that set icons or pixmaps. - * @param iconset The iconset to use - */ - virtual void setIconSet( const TQIconSet &iconset ); - -#ifndef KDE_NO_COMPAT - /** - * @deprecated - * Set the active icon for this button. The pixmap itself is loaded - * internally based on the icon size... .. the disabled and default - * pixmaps, however will only be constructed if generate is - * true. This function is preferred over setPixmap - * - * @param icon The name of the active icon - * @param generate If true, then the other icons are automagically - * generated from this one - */ - KDE_DEPRECATED void setIcon(const TQString &icon, bool generate ) { Q_UNUSED(generate); setIcon( icon ); } - - /** - * @deprecated - * Force the button to use this icon as the default one rather - * then generating it using effects. - * - * @param icon The icon to use as the default (normal) one - */ - void setDefaultIcon(const TQString& icon) KDE_DEPRECATED; - - /** - * @deprecated - * Force the button to use this icon when disabled one rather then - * generating it using effects. - * - * @param icon The icon to use when disabled - */ - void setDisabledIcon(const TQString& icon) KDE_DEPRECATED; -#endif - - /** - * Turn this button on or off - * - * @param flag true or false - */ - void on(bool flag = true); - - /** - * Toggle this button - */ - void toggle(); - - /** - * Turn this button into a toggle button or disable the toggle - * aspects of it. This does not toggle the button itself. - * Use toggle() for that. - * - * @param toggle true or false - */ - void setToggle(bool toggle = true); - - /** - * Return a pointer to this button's popup menu (if it exists) - */ - TQPopupMenu *popup(); - - /** - * Returns the button's id. - * @since 3.2 - */ - int id() const; - - /** - * Give this button a popup menu. There will not be a delay when - * you press the button. Use setDelayedPopup if you want that - * behavior. - * - * @param p The new popup menu - * @param unused Has no effect - ignore it. - */ - void setPopup (TQPopupMenu *p, bool unused = false); - - /** - * Gives this button a delayed popup menu. - * - * This function allows you to add a delayed popup menu to the button. - * The popup menu is then only displayed when the button is pressed and - * held down for about half a second. - * - * @param p the new popup menu - * @param unused Has no effect - ignore it. - */ - void setDelayedPopup(TQPopupMenu *p, bool unused = false); - - /** - * Turn this button into a radio button - * - * @param f true or false - */ - void setRadio(bool f = true); - - /** - * Toolbar buttons naturally will assume the global styles - * concerning icons, icons sizes, etc. You can use this function to - * explicitly turn this off, if you like. - * - * @param no_style Will disable styles if true - */ - void setNoStyle(bool no_style = true); - -signals: - /** - * Emitted when the toolbar button is clicked (with LMB or MMB) - */ - void clicked(int); - /** - * Emitted when the toolbar button is clicked (with any mouse button) - * @param state makes it possible to find out which button was pressed, - * and whether any keyboard modifiers were held. - * @since 3.4 - */ - void buttonClicked(int, Qt::ButtonState state); - void doubleClicked(int); - void pressed(int); - void released(int); - void toggled(int); - void highlighted(int, bool); - -public slots: - /** - * This slot should be called whenever the toolbar mode has - * potentially changed. This includes such events as text changing, - * orientation changing, etc. - */ - void modeChange(); - virtual void setTextLabel(const TQString&, bool tipToo); - -protected: - void paletteChange(const TQPalette &); - void leaveEvent(TQEvent *e); - void enterEvent(TQEvent *e); - void drawButton(TQPainter *p); - bool eventFilter (TQObject *o, TQEvent *e); - /// @since 3.4 - void mousePressEvent( TQMouseEvent * ); - /// @since 3.4 - void mouseReleaseEvent( TQMouseEvent * ); - void showMenu(); - TQSize sizeHint() const; - TQSize minimumSizeHint() const; - TQSize minimumSize() const; - - /// @since 3.1 - bool isRaised() const; - /// @since 3.1 - bool isActive() const; - /// @since 3.1 - int iconTextMode() const; - -protected slots: - void slotClicked(); - void slotPressed(); - void slotReleased(); - void slotToggled(); - void slotDelayTimeout(); - -protected: - virtual void virtual_hook( int id, void* data ); -private: - KToolBarButtonPrivate *d; -}; - -/** -* List of KToolBarButton objects. -* @internal -* @version $Id: ktoolbarbutton.h,v 1.39 2004/12/22 14:08:36 faure Exp $ -*/ -class KDEUI_EXPORT KToolBarButtonList : public TQIntDict -{ -public: - KToolBarButtonList(); - ~KToolBarButtonList() {} -}; - -#endif diff --git a/python/pykde/extra/kde340/kurifilter.h b/python/pykde/extra/kde340/kurifilter.h deleted file mode 100644 index 61c8aca6..00000000 --- a/python/pykde/extra/kde340/kurifilter.h +++ /dev/null @@ -1,647 +0,0 @@ -/* - * This file is part of the KDE libraries - * Copyright (C) 2000-2001,2003 Dawit Alemayehu - * - * Original author - * Copyright (C) 2000 Yves Arrouye - * - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public License - * along with this library; see the file COPYING.LIB. If not, write to - * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - * Boston, MA 02110-1301, USA. - **/ - -#ifndef __kurifilter_h__ -#define __kurifilter_h__ - -#include -#include -#include - -#include - -#ifdef Q_OS_WIN -#undef ERROR -#endif - -class KURIFilterPrivate; -class KURIFilterDataPrivate; - -class KCModule; - -/** -* A basic message object used for exchanging filtering -* information between the filter plugins and the application -* requesting the filtering service. -* -* Use this object if you require a more detailed information -* about the URI you want to filter. Any application can create -* an instance of this class and send it to KURIFilter to -* have the plugins fill out all possible information about the -* URI. -* -* \b Example -* -* \code -* TQString text = "kde.org"; -* KURIFilterData d = text; -* bool filtered = KURIFilter::self()->filter( d ); -* cout << "URL: " << text.latin1() << endl -* << "Filtered URL: " << d.uri().url().latin1() << endl -* << "URI Type: " << d.uriType() << endl -* << "Was Filtered: " << filtered << endl; -* \endcode -* -* The above code should yield the following output: -* \code -* URI: kde.org -* Filtered URI: http://kde.org -* URI Type: 0 <== means NET_PROTOCOL -* Was Filtered: 1 <== means the URL was successfully filtered -* \endcode -* -* @short A message object for exchanging filtering URI info. -* @author Dawit Alemayehu -*/ - -class KIO_EXPORT KURIFilterData -{ -friend class KURIFilterPlugin; - -public: - /** - * Describes the type of the URI that was filtered. - * Here is a brief description of the types: - * - * @li NET_PROTOCOL - Any network protocol: http, ftp, nttp, pop3, etc... - * @li LOCAL_FILE - A local file whose executable flag is not set - * @li LOCAL_DIR - A local directory - * @li EXECUTABLE - A local file whose executable flag is set - * @li HELP - A man or info page - * @li SHELL - A shell executable (ex: echo "Test..." >> ~/testfile) - * @li BLOCKED - A URI that should be blocked/filtered (ex: ad filtering) - * @li ERROR - An incorrect URI (ex: "~johndoe" when user johndoe - * does not exist in that system ) - * @li UNKNOWN - A URI that is not identified. Default value when - * a KURIFilterData is first created. - */ - enum URITypes { NET_PROTOCOL=0, LOCAL_FILE, LOCAL_DIR, EXECUTABLE, HELP, SHELL, BLOCKED, ERROR, UNKNOWN }; - - /** - * Default constructor. - * - * Creates a URIFilterData object. - */ - KURIFilterData() { init(); } - - /** - * Creates a URIFilterData object from the given URL. - * - * @param url is the URL to be filtered. - */ - KURIFilterData( const KURL& url ) { init( url); } - - /** - * Creates a URIFilterData object from the given string. - * - * @param url is the string to be filtered. - */ - KURIFilterData( const TQString& url ) { init( url ); } - - /** - * Copy constructor. - * - * Creates a URIFilterData object from another - * URI filter data object. - * - * @param data the uri filter data to be copied. - */ - KURIFilterData( const KURIFilterData& data); - - /** - * Destructor. - */ - ~KURIFilterData(); - - /** - * This method has been deprecated and will always return - * true. You should instead use the result from the - * KURIFilter::filterURI() calls. - * - * @deprecated - */ - KDE_DEPRECATED bool hasBeenFiltered() const { return true; } - - /** - * Returns the filtered or the original URL. - * - * This function returns the filtered url if one - * of the plugins successfully filtered the original - * URL. Otherwise, it returns the original URL. - * See hasBeenFiltered() and - * - * @return the filtered or original url. - */ - KURL uri() const { return m_pURI; } - - /** - * Returns an error message. - * - * This functions returns the error message set - * by the plugin whenever the uri type is set to - * KURIFilterData::ERROR. Otherwise, it returns - * a TQString::null. - * - * @return the error message or a NULL when there is none. - */ - TQString errorMsg() const { return m_strErrMsg; } - - /** - * Returns the URI type. - * - * This method always returns KURIFilterData::UNKNOWN - * if the given URL was not filtered. - * @return the type of the URI - */ - URITypes uriType() const { return m_iType; } - - /** - * Sets the URL to be filtered. - * - * Use this function to set the string to be - * filtered when you construct an empty filter - * object. - * - * @param url the string to be filtered. - */ - void setData( const TQString& url ) { init( url ); } - - /** - * Same as above except the argument is a URL. - * - * Use this function to set the string to be - * filtered when you construct an empty filter - * object. - * - * @param url the URL to be filtered. - */ - void setData( const KURL& url ) { init( url ); } - - /** - * Sets the absolute path to be used whenever the supplied - * data is a relative local URL. - * - * NOTE: This function should only be used for local resources, - * i.e. the "file:/" protocol. It is useful for specifying the - * absolute path in cases where the actual URL might be relative. - * meta object. If deriving the path from a KURL, make sure you - * set the argument for this function to the result of calling - * path () instead of url (). - * - * @param abs_path the abolute path to the local resource. - * @return true if absolute path is successfully set. Otherwise, false. - */ - bool setAbsolutePath( const TQString& abs_path ); - - /** - * Returns the absolute path if one has already been set. - * @return the absolute path, or TQString::null - * @see hasAbsolutePath() - */ - TQString absolutePath() const; - - /** - * Checks whether the supplied data had an absolute path. - * @return true if the supplied data has an absolute path - * @see absolutePath() - */ - bool hasAbsolutePath() const; - - /** - * Returns the command line options and arguments for a - * local resource when present. - * - * @return options and arguments when present, otherwise TQString::null - */ - TQString argsAndOptions() const; - - /** - * Checks whether the current data is a local resource with - * command line options and arguments. - * @return true if the current data has command line options and arguments - */ - bool hasArgsAndOptions() const; - - /** - * Returns the name of the icon that matches - * the current filtered URL. - * - * NOTE that this function will return a NULL - * string by default and when no associated icon - * is found. - * - * @return the name of the icon associated with the resource, - * or TQString::null if not found - */ - TQString iconName(); - - /** - * Check whether the provided uri is executable or not. - * - * Setting this to false ensures that typing the name of - * an executable does not start that application. This is - * useful in the location bar of a browser. The default - * value is true. - * - * @since 3.2 - */ - void setCheckForExecutables (bool check); - - /** - * @return true if the filters should attempt to check whether the - * supplied uri is an executable. False otherwise. - * - * @since 3.2 - */ - bool checkForExecutables() const { return m_bCheckForExecutables; } - - /** - * @return the string as typed by the user, before any URL processing is done - * @since 3.2 - */ - TQString typedString() const; - - /** - * Overloaded assigenment operator. - * - * This function allows you to easily assign a KURL - * to a KURIFilterData object. - * - * @return an instance of a KURIFilterData object. - */ - KURIFilterData& operator=( const KURL& url ) { init( url ); return *this; } - - /** - * Overloaded assigenment operator. - * - * This function allows you to easily assign a QString - * to a KURIFilterData object. - * - * @return an instance of a KURIFilterData object. - */ - KURIFilterData& operator=( const TQString& url ) { init( url ); return *this; } - -protected: - - /** - * Initializes the KURIFilterData on construction. - * @param url the URL to initialize the object with - */ - void init( const KURL& url); - - /** - * Initializes the KURIFilterData on construction. - * @param url the URL to initialize the object with - */ - void init( const TQString& url = TQString::null ); - -private: - bool m_bCheckForExecutables; - bool m_bChanged; - - TQString m_strErrMsg; - TQString m_strIconName; - - KURL m_pURI; - URITypes m_iType; - KURIFilterDataPrivate *d; -}; - - -/** - * Base class for URI filter plugins. - * - * This class applies a single filter to a URI. All plugins designed - * to provide URI filtering service should inherit from this abstract - * class and provide a concrete implementation. - * - * All inheriting classes need to implement the pure virtual function - * filterURI. - * - * @short Abstract class for URI filter plugins. - */ -class KIO_EXPORT KURIFilterPlugin : public QObject -{ - Q_OBJECT - -public: - - /** - * Constructs a filter plugin with a given name and - * priority. - * - * @param parent the parent object, or 0 for no parent - * @param name the name of the plugin, or 0 for no name - * @param pri the priority of the plugin. - */ - KURIFilterPlugin( TQObject *parent = 0, const char *name = 0, double pri = 1.0 ); - - /** - * Returns the filter's name. - * - * @return A string naming the filter. - */ - virtual TQString name() const { return m_strName; } - - /** - * Returns the filter's priority. - * - * Each filter has an assigned priority, a float from 0 to 1. Filters - * with the lowest priority are first given a chance to filter a URI. - * - * @return The priority of the filter. - */ - virtual double priority() const { return m_dblPriority; } - - /** - * Filters a URI. - * - * @param data the URI data to be filtered. - * @return A boolean indicating whether the URI has been changed. - */ - virtual bool filterURI( KURIFilterData& data ) const = 0; - - /** - * Creates a configuration module for the filter. - * - * It is the responsibility of the caller to delete the module - * once it is not needed anymore. - * - * @return A configuration module, 0 if the filter isn't configurable. - */ - virtual KCModule *configModule( TQWidget*, const char* ) const { return 0; } - - /** - * Returns the name of the configuration module for the filter. - * - * @return the name of a configuration module or TQString::null if none. - */ - virtual TQString configName() const { return name(); } - -protected: - - /** - * Sets the the URL in @p data to @p uri. - */ - void setFilteredURI ( KURIFilterData& data, const KURL& uri ) const; - - /** - * Sets the error message in @p data to @p errormsg. - */ - void setErrorMsg ( KURIFilterData& data, const TQString& errmsg ) const { - data.m_strErrMsg = errmsg; - } - - /** - * Sets the URI type in @p data to @p type. - */ - void setURIType ( KURIFilterData& data, KURIFilterData::URITypes type) const { - data.m_iType = type; - data.m_bChanged = true; - } - - /** - * Sets the arguments and options string in @p data - * to @p args if any were found during filterting. - */ - void setArguments( KURIFilterData& data, const TQString& args ) const; - - TQString m_strName; - double m_dblPriority; - -protected: - virtual void virtual_hook( int id, void* data ); -private: - class KURIFilterPluginPrivate *d; -}; - - -/** - * A list of filter plugins. - */ -class KIO_EXPORT KURIFilterPluginList : public TQPtrList -{ -public: - virtual int compareItems(Item a, Item b) - { - double diff = ((KURIFilterPlugin *) a)->priority() - ((KURIFilterPlugin *) b)->priority(); - return diff < 0 ? -1 : (diff > 0 ? 1 : 0); - } - -private: - KURIFilterPrivate *d; - -}; - -/** - * Manages the filtering of URIs. - * - * The intention of this plugin class is to allow people to extend the - * functionality of KURL without modifying it directly. This way KURL will - * remain a generic parser capable of parsing any generic URL that adheres - * to specifications. - * - * The KURIFilter class applies a number of filters to a URI and returns the - * filtered version whenever possible. The filters are implemented using - * plugins to provide easy extensibility of the filtering mechanism. New - * filters can be added in the future by simply inheriting from - * KURIFilterPlugin and implementing the KURIFilterPlugin::filterURI - * method. - * - * Use of this plugin-manager class is straight forward. Since it is a - * singleton object, all you have to do is obtain an instance by doing - * @p KURIFilter::self() and use any of the public member functions to - * preform the filtering. - * - * \b Example - * - * To simply filter a given string: - * - * \code - * bool filtered = KURIFilter::self()->filterURI( "kde.org" ); - * \endcode - * - * You can alternatively use a KURL: - * - * \code - * KURL url = "kde.org"; - * bool filtered = KURIFilter::self()->filterURI( url ); - * \endcode - * - * If you have a constant string or a constant URL, simply invoke the - * corresponding function to obtain the filtered string or URL instead - * of a boolean flag: - * - * \code - * TQString u = KURIFilter::self()->filteredURI( "kde.org" ); - * \endcode - * - * You can also restrict the filter(s) to be used by supplying - * the name of the filter(s) to use. By defualt all available - * filters will be used. To use specific filters, add the names - * of the filters you want to use to a TQStringList and invoke - * the appropriate filtering function. The examples below show - * the use of specific filters. The first one uses a single - * filter called kshorturifilter while the second example uses - * multiple filters: - * - * \code - * TQString text = "kde.org"; - * bool filtered = KURIFilter::self()->filterURI( text, "kshorturifilter" ); - * \endcode - * - * \code - * TQStringList list; - * list << "kshorturifilter" << "localdomainfilter"; - * bool filtered = KURIFilter::self()->filterURI( text, list ); - * \endcode - * - * KURIFilter also allows richer data exchange through a simple - * meta-object called @p KURIFilterData. Using this meta-object - * you can find out more information about the URL you want to - * filter. See KURIFilterData for examples and details. - * - * @short Filters a given URL into its proper format whenever possible. - */ - -class KIO_EXPORT KURIFilter -{ -public: - /** - * Destructor - */ - ~KURIFilter (); - - /** - * Returns an instance of KURIFilter. - */ - static KURIFilter* self(); - - /** - * Filters the URI given by the object URIFilterData. - * - * The given URL is filtered based on the specified list of filters. - * If the list is empty all available filters would be used. - * - * @param data object that contains the URI to be filtered. - * @param filters specify the list of filters to be used. - * - * @return a boolean indicating whether the URI has been changed - */ - bool filterURI( KURIFilterData& data, const TQStringList& filters = TQStringList() ); - - /** - * Filters the URI given by the URL. - * - * The given URL is filtered based on the specified list of filters. - * If the list is empty all available filters would be used. - * - * @param uri the URI to filter. - * @param filters specify the list of filters to be used. - * - * @return a boolean indicating whether the URI has been changed - */ - bool filterURI( KURL &uri, const TQStringList& filters = TQStringList() ); - - /** - * Filters a string representing a URI. - * - * The given URL is filtered based on the specified list of filters. - * If the list is empty all available filters would be used. - * - * @param uri The URI to filter. - * @param filters specify the list of filters to be used. - * - * @return a boolean indicating whether the URI has been changed - */ - bool filterURI( TQString &uri, const TQStringList& filters = TQStringList() ); - - /** - * Returns the filtered URI. - * - * The given URL is filtered based on the specified list of filters. - * If the list is empty all available filters would be used. - * - * @param uri The URI to filter. - * @param filters specify the list of filters to be used. - * - * @return the filtered URI or null if it cannot be filtered - */ - KURL filteredURI( const KURL &uri, const TQStringList& filters = TQStringList() ); - - /** - * Return a filtered string representation of a URI. - * - * The given URL is filtered based on the specified list of filters. - * If the list is empty all available filters would be used. - * - * @param uri the URI to filter. - * @param filters specify the list of filters to be used. - * - * @return the filtered URI or null if it cannot be filtered - */ - TQString filteredURI( const TQString &uri, const TQStringList& filters = TQStringList() ); - - /** - * Return an iterator to iterate over all loaded - * plugins. - * - * @return a plugin iterator. - */ - TQPtrListIterator pluginsIterator() const; - - /** - * Return a list of the names of all loaded plugins. - * - * @return a TQStringList of plugin names - * @since 3.1 - */ - TQStringList pluginNames() const; - -protected: - - /** - * A protected constructor. - * - * This constructor creates a KURIFilter and - * initializes all plugins it can find by invoking - * loadPlugins. - */ - KURIFilter(); - - /** - * Loads all allowed plugins. - * - * This function loads all filters that have not - * been disbled. - */ - void loadPlugins(); - -private: - static KURIFilter *m_self; - KURIFilterPluginList m_lstPlugins; - KURIFilterPrivate *d; -}; - -#endif diff --git a/python/pykde/extra/kde340/selectdialog.h b/python/pykde/extra/kde340/selectdialog.h deleted file mode 100644 index 987dcb68..00000000 --- a/python/pykde/extra/kde340/selectdialog.h +++ /dev/null @@ -1,87 +0,0 @@ -/* - This file is part of libkresources. - - Copyright (c) 2002 Tobias Koenig - Copyright (c) 2002 Jan-Pascal van Best - Copyright (c) 2003 Cornelius Schumacher - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. -*/ - -#ifndef KRESOURCES_SELECTDIALOG_H -#define KRESOURCES_SELECTDIALOG_H - -#include -#include -#include - -#include - -class KListBox; - -namespace KRES { - -class Resource; - -/** - * Dialog for selecting a resource. - * - * Example: - * - * \code - * - * TQPtrList list = ... // can be retrived from KRES::Manager (e.g. KABC::AddressBook) - * - * KABC::Resource *res = KABC::SelectDialog::getResource( list, parentWdg ); - * if ( !res ) { - * // no resource selected - * } else { - * // do something with resource - * } - * \endcode - */ -class KRESOURCES_EXPORT SelectDialog -{ - public: - /** - * Constructor. - * @param list The list of available resources - * @param parent The parent widget - * @param name The name of the dialog - */ - SelectDialog( TQPtrList list, TQWidget *parent = 0, - const char *name = 0); - - /** - * Returns selected resource. - */ - Resource *resource(); - - /** - * Opens a dialog showing the available resources and returns the resource the - * user has selected. Returns 0, if the dialog was canceled. - */ - static Resource *getResource( TQPtrList list, TQWidget *parent = 0 ); - - private: - KListBox *mResourceId; - - TQMap mResourceMap; -}; - -} - -#endif diff --git a/python/pykde/extra/kde341/configwidget.h b/python/pykde/extra/kde341/configwidget.h deleted file mode 100644 index 47917edd..00000000 --- a/python/pykde/extra/kde341/configwidget.h +++ /dev/null @@ -1,58 +0,0 @@ -/* - This file is part of libkresources. - Copyright (c) 2002 Tobias Koenig - Copyright (c) 2002 Jan-Pascal van Best - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. -*/ - -#ifndef KRESOURCES_CONFIGWIDGET_H -#define KRESOURCES_CONFIGWIDGET_H - -#include "resource.h" - -#include - -#include - -namespace KRES { - -class KRESOURCES_EXPORT ConfigWidget : public QWidget -{ - Q_OBJECT - public: - ConfigWidget( TQWidget *parent = 0, const char *name = 0 ); - - /** - Sets the widget to 'edit' mode. Reimplement this method if you are - interested in the mode change (to disable some GUI element for - example). By default the widget is in 'create new' mode. - */ - virtual void setInEditMode( bool value ); - - public slots: - virtual void loadSettings( Resource *resource ) = 0; - virtual void saveSettings( Resource *resource ) = 0; - - signals: - void setReadOnly( bool value ); - - protected: - Resource *mResource; -}; - -} -#endif diff --git a/python/pykde/extra/kde341/kaccelaction.h b/python/pykde/extra/kde341/kaccelaction.h deleted file mode 100644 index b868ee6f..00000000 --- a/python/pykde/extra/kde341/kaccelaction.h +++ /dev/null @@ -1,564 +0,0 @@ -/* This file is part of the KDE libraries - Copyright (C) 2001,2002 Ellis Whitehead - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. -*/ - -#ifndef _KACCELACTION_H -#define _KACCELACTION_H - -#include -#include -#include -#include - -#include - -class KAccelBase; - -class TQObject; -class KConfig; -class KConfigBase; - -/** - * @internal - * A KAccelAction prepresents an action that can be executed using - * an accelerator key. Each KAccelAction has a name, a label, a - * "What's this" string and a KShortcut. The user can configure and - * enable/disable them using KKeyDialog. - * - * \code - * 1) KAccelAction = "Run Command" - * Default3 = "Alt+F2" - * Default4 = "Meta+Enter;Alt+F2" - * 1) KShortcut = "Meta+Enter" - * 1) KKeySequence = "Meta+Enter" - * 1) KKey = "Meta+Enter" - * 1) Meta+Enter - * 2) Meta+Keypad_Enter - * 2) KShortcut = "Alt+F2" - * 1) KKeySequence = "Alt+F2" - * 1) Alt+F2 - * 2) KAccelAction = "Something" - * Default3 = "" - * Default4 = "" - * 1) KShortcut = "Meta+X,Asterisk" - * 1) KKeySequence = "Meta+X,Asterisk" - * 1) KKey = "Meta+X" - * 1) Meta+X - * 2) KKey = "Asterisk" - * 1) Shift+8 (English layout) - * 2) Keypad_Asterisk - * \endcode - * @short An accelerator action - * @see KAccel - * @see KGlobalAccel - * @see KKeyChooser - * @see KKeyDialog - */ -class KDECORE_EXPORT KAccelAction -{ - public: - /** - * Creates an empty KAccelAction. - * @see clear() - */ - KAccelAction(); - - /** - * Copy constructor. - */ - KAccelAction( const KAccelAction& ); - - /** - * Creates a new KAccelAction. - * @param sName the name of the accelerator - * @param sLabel the label of the accelerator (i18n!) - * @param sWhatsThis the What's This text (18n!) - * @param cutDef3 the default shortcut for 3 modifier systems - * @param cutDef4 the default shortcut for 4 modifier systems - * @param pObjSlot the receiver of a signal when the key has been - * pressed - * @param psMethodSlot the slot to connect for key presses. Receives - * an int, as set by setID(), as only argument - * @param bConfigurable if true the user can configure the shortcut - * @param bEnabled true if the accelerator should be enabled - */ - KAccelAction( const TQString& sName, const TQString& sLabel, const TQString& sWhatsThis, - const KShortcut& cutDef3, const KShortcut& cutDef4, - const TQObject* pObjSlot, const char* psMethodSlot, - bool bConfigurable, bool bEnabled ); - ~KAccelAction(); - - /** - * Clears the accelerator. - */ - void clear(); - - /** - * Re-initialized the KAccelAction. - * @param sName the name of the accelerator - * @param sLabel the label of the accelerator (i18n!) - * @param sWhatsThis the What's This text (18n!) - * @param cutDef3 the default shortcut for 3 modifier systems - * @param cutDef4 the default shortcut for 4 modifier systems - * @param pObjSlot the receiver of a signal when the key has been - * pressed - * @param psMethodSlot the slot to connect for key presses. Receives - * an int, as set by setID(), as only argument - * @param bConfigurable if true the user can configure the shortcut - * @param bEnabled true if the accelerator should be enabled - * @return true if successful, false otherwise - */ - bool init( const TQString& sName, const TQString& sLabel, const TQString& sWhatsThis, - const KShortcut& cutDef3, const KShortcut& cutDef4, - const TQObject* pObjSlot, const char* psMethodSlot, - bool bConfigurable, bool bEnabled ); - - /** - * Copies this KAccelAction. - */ - KAccelAction& operator=( const KAccelAction& ); - - /** - * Returns the name of the accelerator action. - * @return the name of the accelerator action, can be null if not - * set - */ - const TQString& name() const { return m_sName; } - - /** - * Returns the label of the accelerator action. - * @return the label of the accelerator action, can be null if - * not set - */ - const TQString& label() const { return m_sLabel; } - - /** - * Returns the What's This text of the accelerator action. - * @return the What's This text of the accelerator action, can be - * null if not set - */ - const TQString& whatsThis() const { return m_sWhatsThis; } - - /** - * The shortcut that is actually used (may be used configured). - * @return the shortcut of the KAccelAction, can be null if not set - * @see shortcutDefault() - */ - const KShortcut& shortcut() const { return m_cut; } - - /** - * The default shortcut for this system. - * @return the default shortcut on this system, can be null if not set - * @see shortcut() - * @see shortcutDefault3() - * @see shortcutDefault4() - */ - const KShortcut& shortcutDefault() const; - - /** - * The default shortcut for 3 modifier systems. - * @return the default shortcut for 3 modifier systems, can be null - * if not set - * @see shortcutDefault() - * @see shortcutDefault4() - * @see useFourModifierKeys() - */ - const KShortcut& shortcutDefault3() const { return m_cutDefault3; } - - /** - * The default shortcut for 4 modifier systems. - * @return the default shortcut for 4 modifier systems, can be null - * if not set - * @see shortcutDefault() - * @see shortcutDefault3() - * @see useFourModifierKeys() - */ - const KShortcut& shortcutDefault4() const { return m_cutDefault4; } - - /** - * Returns the receiver of signals. - * @return the receiver of signals (can be 0 if not set) - */ - const TQObject* objSlotPtr() const { return m_pObjSlot; } - - /** - * Returns the slot for the signal. - * @return the slot for the signal - */ - const char* methodSlotPtr() const { return m_psMethodSlot; } - - /** - * Checks whether the user can configure the action. - * @return true if configurable, false otherwise - */ - bool isConfigurable() const { return m_bConfigurable; } - - /** - * Checks whether the action is enabled. - * @return true if enabled, false otherwise - */ - bool isEnabled() const { return m_bEnabled; } - - /** - * Sets the name of the accelerator action. - * @param name the new name - */ - void setName( const TQString& name ); - - /** - * Sets the user-readable label of the accelerator action. - * @param label the new label (i18n!) - */ - void setLabel( const TQString& label ); - - /** - * Sets the What's This text for the accelerator action. - * @param whatsThis the new What's This text (i18n!) - */ - void setWhatsThis( const TQString& whatsThis ); - - /** - * Sets the new shortcut of the accelerator action. - * @param rgCuts the shortcut to set - * @return true if successful, false otherwise - */ - bool setShortcut( const KShortcut& rgCuts ); - - /** - * Sets the slot of the accelerator action. - * @param pObjSlot the receiver object of the signal - * @param psMethodSlot the slot for the signal - */ - void setSlot( const TQObject* pObjSlot, const char* psMethodSlot ); - - /** - * Enables or disabled configuring the action. - * @param configurable true to enable configurability, false to disable - */ - void setConfigurable( bool configurable ); - - /** - * Enables or disabled the action. - * @param configurable true to enable the action, false to disable - */ - void setEnabled( bool enable ); - - /** - * Retrieves the id set using setID. - * @return the id of the accelerator action - */ - int getID() const { return m_nIDAccel; } - - /** - * Allows you to set an id that will be used as the action - * signal's argument. - * - * @param n the new id - * @see getID() - */ - void setID( int n ) { m_nIDAccel = n; } - - /** - * Checkes whether the action is connected (emits signals). - * @return true if connected, false otherwise - */ - bool isConnected() const; - - /** - * Sets a key sequence of the action's shortcut. - * @param i the position of the sequence - * @param keySeq the new new sequence - * @return true if successful, false otherwise - * @see KShortcut::setSeq() - */ - bool setKeySequence( uint i, const KKeySequence &keySeq ); - - /** - * Clears the action's shortcut. It will not contain any sequences after - * calling this method. - * @see KShortcut::clear() - */ - void clearShortcut(); - - /** - * Checks whether the action's shortcut contains the given key sequence. - * @param keySeq the key sequence to check - * @return true if the shortcut contains the given sequence - * @see KShortcut::contains() - */ - bool contains( const KKeySequence &keySeq ); - - /** - * Returns the string representation of the action's shortcut. - * @return the string representation of the action's shortcut. - * @see KShortcut::toString() - */ - TQString toString() const; - - /** - * @internal - */ - TQString toStringInternal() const; - - /** - * Returns true if four modifier keys will be used. - * @return true if four modifier keys will be used. - */ - static bool useFourModifierKeys(); - - /** - * Selects 3 or 4 modifier default shortcuts. - * @param use true to use 4 modifier shortcuts, false to use - * 3 modifier shortcuts - */ - static void useFourModifierKeys( bool use ); - - protected: - TQString m_sName, - m_sLabel, - m_sWhatsThis; - KShortcut m_cut; - KShortcut m_cutDefault3, m_cutDefault4; - const TQObject* m_pObjSlot; - const char* m_psMethodSlot; - bool m_bConfigurable, - m_bEnabled; - int m_nIDAccel; - uint m_nConnections; - - void incConnections(); - void decConnections(); - - private: - static int g_bUseFourModifierKeys; - class KAccelActionPrivate* d; - - friend class KAccelActions; - friend class KAccelBase; -}; - -//--------------------------------------------------------------------- -// KAccelActions -//--------------------------------------------------------------------- - -/** - * @internal - * This class represents a collection of KAccelAction objects. - * - * @short A collection of accelerator actions - * @see KAccelAction - */ -class KDECORE_EXPORT KAccelActions -{ - public: - /** - * Creates a new, empty KAccelActions object. - */ - KAccelActions(); - - /** - * Copy constructor (deep copy). - */ - KAccelActions( const KAccelActions& ); - virtual ~KAccelActions(); - - /** - * Removes all items from this collection. - */ - void clear(); - - /** - * Initializes this object with the given actions. - * It will make a deep copy of all actions. - * @param actions the actions to copy - * @return true if successful, false otherwise - */ - bool init( const KAccelActions &actions ); - - /** - * Loads the actions from the given configuration file. - * - * @param config the configuration file to load from - * @param sGroup the group in the configuration file - * @return true if successful, false otherwise - */ - bool init( KConfigBase& config, const TQString& sGroup ); - - /** - * Updates the shortcuts of all actions in this object - * with the shortcuts from the given object. - * @param shortcuts the collection that contains the new - * shortcuts - */ - void updateShortcuts( KAccelActions &shortcuts ); - - /** - * Retrieves the index of the action with the given name. - * @param sAction the action to search - * @return the index of the action, or -1 if not found - */ - int actionIndex( const TQString& sAction ) const; - - /** - * Returns the action with the given @p index. - * @param index the index of an action. You must not - * use an index that is too high. - * @return the KAccelAction with the given index - * @see count() - */ - KAccelAction* actionPtr( uint index ); - - /** - * Returns the action with the given @p index. - * @param index the index of an action. You must not - * use an index that is too high. - * @return the KAccelAction with the given index - * @see count() - */ - const KAccelAction* actionPtr( uint index ) const; - - /** - * Returns the action with the given name. - * @param aAction the name of the action to search - * @return the KAccelAction with the given name, or 0 - * if not found - */ - KAccelAction* actionPtr( const TQString& sAction ); - - /** - * Returns the action with the given name. - * @param aAction the name of the action to search - * @return the KAccelAction with the given name, or 0 - * if not found - */ - const KAccelAction* actionPtr( const TQString& sAction ) const; - - /** - * Returns the action with the given key sequence. - * @param cut the sequence to search for - * @return the KAccelAction with the given sequence, or 0 - * if not found - */ - KAccelAction* actionPtr( KKeySequence cut ); - - /** - * Returns the action with the given @p index. - * @param index the index of an action. You must not - * use an index that is too high. - * @return the KAccelAction with the given index - * @see actionPtr() - * @see count() - */ - KAccelAction& operator []( uint index ); - - /** - * Returns the action with the given @p index. - * @param index the index of an action. You must not - * use an index that is too high. - * @return the KAccelAction with the given index - * @see actionPtr() - * @see count() - */ - const KAccelAction& operator []( uint index ) const; - - /** - * Inserts an action into the collection. - * @param sName the name of the accelerator - * @param sLabel the label of the accelerator (i18n!) - * @param sWhatsThis the What's This text (18n!) - * @param cutDef3 the default shortcut for 3 modifier systems - * @param cutDef4 the default shortcut for 4 modifier systems - * @param pObjSlot the receiver of a signal when the key has been - * pressed - * @param psMethodSlot the slot to connect for key presses. Receives - * an int, as set by setID(), as only argument - * @param bConfigurable if true the user can configure the shortcut - * @param bEnabled true if the accelerator should be enabled - * @return the new action - */ - KAccelAction* insert( const TQString& sAction, const TQString& sLabel, const TQString& sWhatsThis, - const KShortcut& rgCutDefaults3, const KShortcut& rgCutDefaults4, - const TQObject* pObjSlot = 0, const char* psMethodSlot = 0, - bool bConfigurable = true, bool bEnabled = true ); - - /** - * Inserts an action into the collection. - * @param sName the name of the accelerator - * @param sLabel the label of the accelerator (i18n!) - * @return the new action - */ - KAccelAction* insert( const TQString& sName, const TQString& sLabel ); - - /** - * Removes the given action. - * @param sAction the name of the action. - * @return true if successful, false otherwise - */ - bool remove( const TQString& sAction ); - - /** - * Loads the actions from the given configuration file. - * - * @param sConfigGroup the group in the configuration file - * @param pConfig the configuration file to load from - * @return true if successful, false otherwise - */ - bool readActions( const TQString& sConfigGroup = "Shortcuts", KConfigBase* pConfig = 0 ); - - /** - * Writes the actions to the given configuration file. - * - * @param sConfigGroup the group in the configuration file - * @param pConfig the configuration file to save to - * @param bWriteAll true to write all actions - * @param bGlobal true to write to the global configuration file - * @return true if successful, false otherwise - */ - bool writeActions( const TQString& sConfigGroup = "Shortcuts", KConfigBase* pConfig = 0, - bool bWriteAll = false, bool bGlobal = false ) const; - - /** - * Emit a keycodeChanged signal. - */ - void emitKeycodeChanged(); - - /** - * Returns the number of actions in the collection. - * @return the number of actions - */ - uint count() const; - - protected: - KAccelBase* m_pKAccelBase; - KAccelAction** m_prgActions; - uint m_nSizeAllocated, m_nSize; - - void resize( uint ); - void insertPtr( KAccelAction* ); - - private: - class KAccelActionsPrivate* d; - - KAccelActions( KAccelBase* ); - void initPrivate( KAccelBase* ); - KAccelActions& operator =( KAccelActions& ); - - friend class KAccelBase; -}; - -#endif // _KACCELACTION_H diff --git a/python/pykde/extra/kde341/kaccelbase.h b/python/pykde/extra/kde341/kaccelbase.h deleted file mode 100644 index 0238c63a..00000000 --- a/python/pykde/extra/kde341/kaccelbase.h +++ /dev/null @@ -1,229 +0,0 @@ -/* This file is part of the KDE libraries - Copyright (C) 2001 Ellis Whitehead - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. -*/ - -#ifndef _KACCELBASE_H -#define _KACCELBASE_H - -#include -#include -#include -#include -#include - -#include "kaccelaction.h" -#include "kkeyserver.h" - -class TQPopupMenu; -class TQWidget; - -//---------------------------------------------------- - -/** - * @internal - * Handle keyboard accelerators. - * - * Allow an user to configure - * key bindings through application configuration files or through the - * KKeyChooser GUI. - * - * A KAccel contains a list of accelerator items. Each accelerator item - * consists of an action name and a keyboard code combined with modifiers - * (Shift, Ctrl and Alt.) - * - * For example, "Ctrl+P" could be a shortcut for printing a document. The key - * codes are listed in ckey.h. "Print" could be the action name for printing. - * The action name identifies the key binding in configuration files and the - * KKeyChooser GUI. - * - * When pressed, an accelerator key calls the slot to which it has been - * connected. Accelerator items can be connected so that a key will activate - * two different slots. - * - * A KAccel object handles key events sent to its parent widget and to all - * children of this parent widget. - * - * Key binding reconfiguration during run time can be prevented by specifying - * that an accelerator item is not configurable when it is inserted. A special - * group of non-configurable key bindings are known as the - * standard accelerators. - * - * The standard accelerators appear repeatedly in applications for - * standard document actions such as printing and saving. Convenience methods are - * available to insert and connect these accelerators which are configurable on - * a desktop-wide basis. - * - * It is possible for a user to choose to have no key associated with - * an action. - * - * The translated first argument for insertItem() is used only - * in the configuration dialog. - *\code - * KAccel *a = new KAccel( myWindow ); - * // Insert an action "Scroll Up" which is associated with the "Up" key: - * a->insertItem( i18n("Scroll Up"), "Scroll Up", "Up" ); - * // Insert an action "Scroll Down" which is not associated with any key: - * a->insertItem( i18n("Scroll Down"), "Scroll Down", 0); - * a->connectItem( "Scroll up", myWindow, TQT_SLOT( scrollUp() ) ); - * // a->insertStdItem( KStdAccel::Print ); //not necessary, since it - * // is done automatially with the - * // connect below! - * a->connectItem(KStdAccel::Print, myWindow, TQT_SLOT( printDoc() ) ); - * - * a->readSettings(); - *\endcode - * - * If a shortcut has a menu entry as well, you could insert them like - * this. The example is again the KStdAccel::Print from above. - * - * \code - * int id; - * id = popup->insertItem("&Print",this, TQT_SLOT(printDoc())); - * a->changeMenuAccel(popup, id, KStdAccel::Print ); - * \endcode - * - * If you want a somewhat "exotic" name for your standard print action, like - * id = popup->insertItem(i18n("Print &Document"),this, TQT_SLOT(printDoc())); - * it might be a good idea to insert the standard action before as - * a->insertStdItem( KStdAccel::Print, i18n("Print Document") ) - * as well, so that the user can easily find the corresponding function. - * - * This technique works for other actions as well. Your "scroll up" function - * in a menu could be done with - * - * \code - * id = popup->insertItem(i18n"Scroll &up",this, TQT_SLOT(scrollUp())); - * a->changeMenuAccel(popup, id, "Scroll Up" ); - * \endcode - * - * Please keep the order right: First insert all functions in the - * acceleratior, then call a -> readSettings() and @em then build your - * menu structure. - * - * @short Configurable key binding support. - */ - -class KDECORE_EXPORT KAccelBase -{ - public: - enum Init { QT_KEYS = 0x00, NATIVE_KEYS = 0x01 }; - enum Signal { KEYCODE_CHANGED }; - - KAccelBase( int fInitCode ); - virtual ~KAccelBase(); - - uint actionCount() const; - KAccelActions& actions(); - bool isEnabled() const; - - KAccelAction* actionPtr( const TQString& sAction ); - const KAccelAction* actionPtr( const TQString& sAction ) const; - KAccelAction* actionPtr( const KKey& key ); - KAccelAction* actionPtr( const KKeyServer::Key& key ); - - const TQString& configGroup() const { return m_sConfigGroup; } - void setConfigGroup( const TQString& group ); - void setConfigGlobal( bool global ); - virtual void setEnabled( bool bEnabled ) = 0; - bool getAutoUpdate() { return m_bAutoUpdate; } - // return value of AutoUpdate flag before this call. - bool setAutoUpdate( bool bAuto ); - -// Procedures for manipulating Actions. - //void clearActions(); - - KAccelAction* insert( const TQString& sName, const TQString& sDesc ); - KAccelAction* insert( - const TQString& sAction, const TQString& sDesc, const TQString& sHelp, - const KShortcut& rgCutDefaults3, const KShortcut& rgCutDefaults4, - const TQObject* pObjSlot, const char* psMethodSlot, - bool bConfigurable = true, bool bEnabled = true ); - bool remove( const TQString& sAction ); - bool setActionSlot( const TQString& sAction, const TQObject* pObjSlot, const char* psMethodSlot ); - - bool updateConnections(); - - bool setShortcut( const TQString& sAction, const KShortcut& cut ); - -// Modify individual Action sub-items - bool setActionEnabled( const TQString& sAction, bool bEnable ); - - /** - * Read all key associations from @p config, or (if @p config - * is zero) from the application's configuration file - * KGlobal::config(). - * - * The group in which the configuration is stored can be - * set with setConfigGroup(). - */ - void readSettings( KConfigBase* pConfig = 0 ); - - /** - * Write the current configurable associations to @p config, - * or (if @p config is zero) to the application's - * configuration file. - */ - void writeSettings( KConfigBase* pConfig = 0 ) const; - - TQPopupMenu* createPopupMenu( TQWidget* pParent, const KKeySequence& ); - - // Protected methods - protected: - void slotRemoveAction( KAccelAction* ); - - struct X; - void createKeyList( TQValueVector& rgKeys ); - bool insertConnection( KAccelAction* ); - bool removeConnection( KAccelAction* ); - - virtual bool emitSignal( Signal ) = 0; - virtual bool connectKey( KAccelAction&, const KKeyServer::Key& ) = 0; - virtual bool connectKey( const KKeyServer::Key& ) = 0; - virtual bool disconnectKey( KAccelAction&, const KKeyServer::Key& ) = 0; - virtual bool disconnectKey( const KKeyServer::Key& ) = 0; - - protected: - struct ActionInfo - { - KAccelAction* pAction; - uint iSeq, iVariation; - //ActionInfo* pInfoNext; // nil if only one action uses this key. - - ActionInfo() { pAction = 0; iSeq = 0xffff; iVariation = 0xffff; } - ActionInfo( KAccelAction* _pAction, uint _iSeq, uint _iVariation ) - { pAction = _pAction; iSeq = _iSeq; iVariation = _iVariation; } - }; - typedef TQMap KKeyToActionMap; - - KAccelActions m_rgActions; - KKeyToActionMap m_mapKeyToAction; - TQValueList m_rgActionsNonUnique; - bool m_bNativeKeys; // Use native key codes instead of Qt codes - bool m_bEnabled; - bool m_bConfigIsGlobal; - TQString m_sConfigGroup; - bool m_bAutoUpdate; - KAccelAction* mtemp_pActionRemoving; - - private: - KAccelBase& operator =( const KAccelBase& ); - - friend class KAccelActions; -}; - -#endif // _KACCELBASE_H diff --git a/python/pykde/extra/kde341/kicontheme.h b/python/pykde/extra/kde341/kicontheme.h deleted file mode 100644 index a22019f7..00000000 --- a/python/pykde/extra/kde341/kicontheme.h +++ /dev/null @@ -1,355 +0,0 @@ -/* vi: ts=8 sts=4 sw=4 - * - * This file is part of the KDE project, module kdecore. - * Copyright (C) 2000 Geert Jansen - * Antonio Larrosa - * - * This is free software; it comes under the GNU Library General - * Public License, version 2. See the file "COPYING.LIB" for the - * exact licensing terms. - * - */ - -#ifndef __KIconTheme_h_Included__ -#define __KIconTheme_h_Included__ - -#include -#include -#include -#include "kdelibs_export.h" - -class KConfig; -//class KIconThemeDir; - -class KIconThemePrivate; - -class KIconPrivate; - -/** - * One icon as found by KIconTheme. Also serves as a namespace containing - * icon related constants. - * @see KIconEffect - * @see KIconTheme - * @see KIconLoader - */ -class KDECORE_EXPORT KIcon -{ -public: - KIcon() { size = 0; } - - /** - * Return true if this icon is valid, false otherwise. - */ - bool isValid() const { return size != 0; } - - /** - * Defines the context of the icon. - */ - enum Context { - Any, ///< Some icon with unknown purpose. - Action, ///< An action icon (e.g. 'save', 'print'). - Application, ///< An icon that represents an application. - Device, ///< An icon that represents a device. - FileSystem, ///< An icon that represents a file system. - MimeType ///< An icon that represents a mime type (or file type). - }; - - /** - * The type of the icon. - */ - enum Type { - Fixed, ///< Fixed-size icon. - Scalable, ///< Scalable-size icon. - Threshold ///< A threshold icon. - }; - - /** - * The type of a match. - */ - enum MatchType { - MatchExact, ///< Only try to find an exact match. - MatchBest ///< Take the best match if there is no exact match. - - }; - - // if you add a group here, make sure to change the config reading in - // KIconLoader too - /** - * The group of the icon. - */ - enum Group { - /// No group - NoGroup=-1, - /// Desktop icons - Desktop=0, - /// First group - FirstGroup=0, - /// Toolbar icons - Toolbar, - /// Main toolbar icons - MainToolbar, - /// Small icons - Small, - /// Panel (Kicker) icons - Panel, - /// Last group - LastGroup, - /// User icons - User - }; - - /** - * These are the standard sizes for icons. - */ - enum StdSizes { - /// small icons for menu entries - SizeSmall=16, - /// slightly larger small icons for toolbars, panels, etc - SizeSmallMedium=22, - /// medium sized icons for the desktop - SizeMedium=32, - /// large sized icons for the panel - SizeLarge=48, - /// huge sized icons for iconviews - SizeHuge=64, - /// enormous sized icons for iconviews - SizeEnormous=128 - }; - - /** - * Defines the possible states of an icon. - */ - enum States { DefaultState, ///< The default state. - ActiveState, ///< Icon is active. - DisabledState, ///< Icon is disabled. - LastState ///< Last state (last constant) - }; - - /** - * This defines an overlay, a semi-transparent image that is - * projected onto the icon. They are used to show that the file - * represented by the icon is, for example, locked, zipped or hidden. - */ - enum Overlays { - LockOverlay=0x100, ///< a file is locked - ZipOverlay=0x200, ///< a file is zipped - LinkOverlay=0x400, ///< a file is a link - HiddenOverlay=0x800, ///< a file is hidden - ShareOverlay=0x1000, ///< a file is shared - OverlayMask = ~0xff - }; - - /** - * The size in pixels of the icon. - */ - int size; - - /** - * The context of the icon. - */ - Context context; - - /** - * The type of the icon: Fixed, Scalable or Threshold. - **/ - Type type; - - /** - * The threshold in case type == Threshold - */ - int threshold; - - /** - * The full path of the icon. - */ - TQString path; - -private: - KIconPrivate *d; -}; - -inline KIcon::Group& operator++(KIcon::Group& group) { group = static_cast(group+1); return group; } -inline KIcon::Group operator++(KIcon::Group& group,int) { KIcon::Group ret = group; ++group; return ret; } - -/** - * Class to use/access icon themes in KDE. This class is used by the - * iconloader but can be used by others too. - * @see KIconLoader - */ -class KDECORE_EXPORT KIconTheme -{ -public: - /** - * Load an icon theme by name. - * @param name the name of the theme (e.g. "hicolor" or "keramik") - * @param appName the name of the application. Can be null. This argument - * allows applications to have themed application icons. - */ - KIconTheme(const TQString& name, const TQString& appName=TQString::null); - ~KIconTheme(); - - /** - * The stylized name of the icon theme. - * @return the (human-readable) name of the theme - */ - TQString name() const { return mName; } - - /** - * A description for the icon theme. - * @return a human-readable description of the theme, TQString::null - * if there is none - */ - TQString description() const { return mDesc; } - - /** - * Return the name of the "example" icon. This can be used to - * present the theme to the user. - * @return the name of the example icon, TQString::null if there is none - */ - TQString example() const; - - /** - * Return the name of the screenshot. - * @return the name of the screenshot, TQString::null if there is none - */ - TQString screenshot() const; - - /** - * Returns the name of this theme's link overlay. - * @return the name of the link overlay - */ - TQString linkOverlay() const; - - /** - * Returns the name of this theme's zip overlay. - * @return the name of the zip overlay - */ - TQString zipOverlay() const; - - /** - * Returns the name of this theme's lock overlay. - * @return the name of the lock overlay - */ - TQString lockOverlay() const; - - /** - * Returns the name of this theme's share overlay. - * @return the name of the share overlay - * @since 3.1 - */ - TQString shareOverlay () const; - - /** - * Returns the toplevel theme directory. - * @return the directory of the theme - */ - TQString dir() const { return mDir; } - - /** - * The themes this icon theme falls back on. - * @return a list of icon themes that are used as fall-backs - */ - TQStringList inherits() const { return mInherits; } - - /** - * The icon theme exists? - * @return true if the icon theme is valid - */ - bool isValid() const; - - /** - * The icon theme should be hidden to the user? - * @return true if the icon theme is hidden - * @since 3.1 - */ - bool isHidden() const; - - /** - * The minimum display depth required for this theme. This can either - * be 8 or 32. - * @return the minimum bpp (8 or 32) - */ - int depth() const { return mDepth; } - - /** - * The default size of this theme for a certain icon group. - * @param group The icon group. See KIcon::Group. - * @return The default size in pixels for the given icon group. - */ - int defaultSize(KIcon::Group group) const; - - /** - * Query available sizes for a group. - * @param group The icon group. See KIcon::Group. - * @return a list of available sized for the given group - */ - TQValueList querySizes(KIcon::Group group) const; - - /** - * Query available icons for a size and context. - * @param size the size of the icons - * @param context the context of the icons - * @return the list of icon names - */ - TQStringList queryIcons(int size, KIcon::Context context = KIcon::Any) const; - - /** - * Query available icons for a context and preferred size. - * @param size the size of the icons - * @param context the context of the icons - * @return the list of icon names - */ - TQStringList queryIconsByContext(int size, KIcon::Context context = KIcon::Any) const; - - - /** - * Lookup an icon in the theme. - * @param name The name of the icon, without extension. - * @param size The desired size of the icon. - * @param match The matching mode. KIcon::MatchExact returns an icon - * only if matches exactly. KIcon::MatchBest returns the best matching - * icon. - * @return A KIcon class that describes the icon. If an icon is found, - * @see KIcon::isValid will return true, and false otherwise. - */ - KIcon iconPath(const TQString& name, int size, KIcon::MatchType match) const; - - /** - * List all icon themes installed on the system, global and local. - * @return the list of all icon themes - */ - static TQStringList list(); - - /** - * Returns the current icon theme. - * @return the name of the current theme - */ - static TQString current(); - - /** - * Reconfigure the theme. - */ - static void reconfigure(); - - /** - * Returns the default icon theme. - * @return the name of the default theme name - * @since 3.1 - */ - static TQString defaultThemeName(); - -private: - int mDefSize[8]; - TQValueList mSizes[8]; - - int mDepth; - TQString mDir, mName, mDesc; - TQStringList mInherits; -// TQPtrList mDirs; -// KIconThemePrivate *d; - - static TQString *_theme; - static TQStringList *_theme_list; -}; - -#endif diff --git a/python/pykde/extra/kde341/kkeyserver.h b/python/pykde/extra/kde341/kkeyserver.h deleted file mode 100644 index ef673ea9..00000000 --- a/python/pykde/extra/kde341/kkeyserver.h +++ /dev/null @@ -1,29 +0,0 @@ -/* - Copyright (C) 2001 Ellis Whitehead - - Win32 port: - Copyright (C) 2004 Jaroslaw Staniek - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. -*/ - -#ifndef _KKEYSERVER_H -#define _KKEYSERVER_H - -//FOR COMPATIBILITY -#include "kkeyserver_x11.h" - -#endif // !_KKEYSERVER_H diff --git a/python/pykde/extra/kde341/kkeyserver_x11.h b/python/pykde/extra/kde341/kkeyserver_x11.h deleted file mode 100644 index 47d3bbaa..00000000 --- a/python/pykde/extra/kde341/kkeyserver_x11.h +++ /dev/null @@ -1,461 +0,0 @@ -/* - Copyright (C) 2001 Ellis Whitehead - - Win32 port: - Copyright (C) 2004 Jaroslaw Staniek - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. -*/ - -#ifndef _KKEYSERVER_X11_H -#define _KKEYSERVER_X11_H - -#include "kshortcut.h" -#include "kkeynative.h" - -/** - * A collection of functions for the conversion of key presses and - * their modifiers from the window system specific format - * to the generic format and vice-versa. - */ -namespace KKeyServer -{ - /** - * Supplement enum KKey::ModFlag - * @since 3.1 - */ - enum ExtraModFlag { MODE_SWITCH = 0x2000 }; - - /** - * Represents a key symbol. - * @see KKey - * @see KKeyServer - */ - struct KDECORE_EXPORT Sym - { - public: - /// the actual value of the symbol - uint m_sym; - - /// Creates a null symbol. - Sym() - { m_sym = 0; } - /** - * Creates asymbol with the given value. - * @param sym the value - */ - Sym( uint sym ) - { m_sym = sym; } - /** - * Creates a symbol from the given string description. - * @param s the description of the symbol - * @see toString() - */ - Sym( const TQString& s ) - { init( s ); } - - /** - * Initializes the symbol with the given Qt key code. - * @param keyQt the qt key code - * @return true if successful, false otherwise - * @see Qt::Key - */ - bool initQt( int keyQt ); - - /** - * Initializes the key with the given string description. - * @param s the string description - * @return true if successful, false otherwise - * @see toString() - */ - bool init( const TQString &s ); - - /** - * Returns the qt key code of the symbol. - * @return the qt key code - */ - int qt() const; - - /** - * @internal - */ - TQString toStringInternal() const; - - /** - * Returns the string representation of the symbol. - * @return the string representation of the symbol - */ - TQString toString() const; - - /** - * Returns the mods that are required for this symbol as - * ORed KKey::ModFlag's. For example, Break requires a - * Ctrl to be valid. - * @return the required KKey::ModFlag's - * @see KKey::ModFlag - */ - uint getModsRequired() const; - - /** - * TODO: please find out what this method does and document it - */ - uint getSymVariation() const; - - /** - * Casts the symbol to its integer representation. - */ - operator uint() const { return m_sym; } - - /** - * Overloaded operator to convert ints to Sym. - */ - Sym& operator =( uint sym ) { m_sym = sym; return *this; } - - private: - TQString toString( bool bUserSpace ) const; - - static void capitalizeKeyname( TQString& ); - }; - - /** - * Represents a key press. - * @see KKey - */ - struct KDECORE_EXPORT Key - { - /// Code for native Keys in Qt - enum { CODE_FOR_QT = 256 }; - - /// The code of the key - uint m_code; - - /// The modifiers of the key - uint m_mod; - - /// The symbol of the key - uint m_sym; - - /** - * Initializes the key with a KKey. - * @param key the key to get the data from - * @param bQt true to take the Qt keycode, false - * for the native key code - * @see Qt::Key - * @see KKeyNative - */ - bool init( const KKey& key, bool bQt ); - - /** - * Checks whether the key code is a native code. - * @return true if native code of the window system, - * false if it is a Qt keycode - * @see Qt::Key - * @see KKeyNative - */ - bool isNative() const { return m_code != CODE_FOR_QT; } - - /** - * Returns the code of the key. - * @return the code of the key - */ - uint code() const { return m_code; } - - /** - * Returns the modifiers of the key. - * @return the modifiers of the key - */ - uint mod() const { return m_mod; } - - /** - * Returns the symbol of the key. - * @return the symbol of the key - */ - uint sym() const { return m_sym; } - - /** - * Returns the qt key code. - * @return the qt key code - */ - int keyCodeQt() const { return (int) m_sym; } - - /** - * Sets the qt key code. - * @param keyQt the qt key code - */ - void setKeycodeQt( int keyQt ) - { m_code = CODE_FOR_QT; m_sym = keyQt; } - - /** - * Initializes this key with a KKeyNative. - * @return this key - */ - Key& operator =( const KKeyNative& key ); - - /** - * Compares this key with the given Key object. Returns a - * negative number if the given Key is larger, 0 if they - * are equal and a positive number this Key is larger. The - * returned value is the difference between the symbol, modifier - * or code, whatever is non-zero first. - * - * @param key the key to compare with this key - * @return a negative number if the given Key is larger, 0 if - * they are equal and a positive number this Key is larger - */ - int compare( const Key& key ) const; - - /** - * Compares the symbol, modifiers and code of both keys. - * @see compare() - */ - bool operator ==( const Key& b ) const - { return compare( b ) == 0; } - - /** - * Compares the symbol, modifiers and code of both keys. - * @see compare() - */ - bool operator <( const Key& b ) const - { return compare( b ) < 0; } - - /** - * Converts this Key to a KKey. - * @return the KKey - */ - KKey key() const; - }; - - /** - * TODO: please document this class - */ - struct KDECORE_EXPORT Variations - { - enum { MAX_VARIATIONS = 4 }; - - Key m_rgkey[MAX_VARIATIONS]; - uint m_nVariations; - - Variations() { m_nVariations = 0; } - - void init( const KKey&, bool bQt ); - - uint count() const { return m_nVariations; } - const Key& key( uint i ) const { return m_rgkey[i]; } - }; - - /// TODO: please document - KDECORE_EXPORT bool initializeMods(); - - /** - * Returns the equivalent X modifier mask of the given modifier flag. - * @param modFlag the generic flags to check - * @return the window system specific flags - */ - KDECORE_EXPORT uint modX( KKey::ModFlag modFlag ); - - /** - * Returns true if the current keyboard layout supports the Win key. - * Specifically, whether the Super or Meta keys are assigned to an X modifier. - * @return true if the keyboard has a Win key - * @see modXWin() - */ - KDECORE_EXPORT bool keyboardHasWinKey(); - - /** - * Returns the X11 Shift modifier mask/flag. - * @return the X11 Shift modifier mask/flag. - * @see accelModMaskX() - */ - KDECORE_EXPORT uint modXShift(); - - /** - * Returns the X11 Lock modifier mask/flag. - * @return the X11 Lock modifier mask/flag. - * @see accelModMaskX() - */ - KDECORE_EXPORT uint modXLock(); - - /** - * Returns the X11 Ctrl modifier mask/flag. - * @return the X11 Ctrl modifier mask/flag. - * @see accelModMaskX() - */ - KDECORE_EXPORT uint modXCtrl(); - - /** - * Returns the X11 Alt (Mod1) modifier mask/flag. - * @return the X11 Alt (Mod1) modifier mask/flag. - * @see accelModMaskX() - */ - KDECORE_EXPORT uint modXAlt(); - - /** - * Returns the X11 NumLock modifier mask/flag. - * @return the X11 NumLock modifier mask/flag. - * @see accelModMaskX() - */ - KDECORE_EXPORT uint modXNumLock(); - - /** - * Returns the X11 Win (Mod3) modifier mask/flag. - * @return the X11 Win (Mod3) modifier mask/flag. - * @see keyboardHasWinKey() - * @see accelModMaskX() - */ - KDECORE_EXPORT uint modXWin(); - - /** - * Returns the X11 ScrollLock modifier mask/flag. - * @return the X11 ScrollLock modifier mask/flag. - * @see accelModMaskX() - */ - KDECORE_EXPORT uint modXScrollLock(); - - /** - * Returns bitwise OR'ed mask containing Shift, Ctrl, Alt, and - * Win (if available). - * @see modXShift() - * @see modXLock() - * @see modXCtrl() - * @see modXAlt() - * @see modXNumLock() - * @see modXWin() - * @see modXScrollLock() - */ - KDECORE_EXPORT uint accelModMaskX(); - - /** - * Extracts the symbol from the given Qt key and - * converts it to a symbol. - * @param keyQt the qt key code - * @param sym if successful, the symbol will be written here - * @return true if successful, false otherwise - * @see Qt::Key - * @see Sym - */ - KDECORE_EXPORT bool keyQtToSym( int keyQt, uint& sym ); - - /** - * Extracts the modifiers from the given Qt key and - * converts them in a mask of ORed KKey::ModFlag modifiers. - * @param keyQt the qt key code - * @param mod if successful, the modifiers will be written here - * @return true if successful, false otherwise - * @see Qt::Key - */ - KDECORE_EXPORT bool keyQtToMod( int keyQt, uint& mod ); - - /** - * Converts the given symbol to a Qt key code. - * @param sym the symbol - * @param keyQt if successful, the qt key code will be written here - * @return true if successful, false otherwise - * @see Qt::Key - * @see Sym - */ - KDECORE_EXPORT bool symToKeyQt( uint sym, int& keyQt ); - - /** - * Converts the mask of ORed KKey::ModFlag modifiers to - * a mask of ORed Qt key code modifiers. - * @param mod the mask of KKey::ModFlag modifiers - * @param modQt the mask of Qt key code modifiers will be written here, - * if successful - * @return true if successful, false otherwise - * @see Qt::Key - * @see KKey - */ - KDECORE_EXPORT bool modToModQt( uint mod, int& modQt ); - - /** - * Converts the mask of ORed KKey::ModFlag modifiers to - * a mask of ORed X11 modifiers. - * @param mod the mask of KKey::ModFlag modifiers - * @param modX the mask of X11 modifiers will be written here, - * if successful - * @return true if successful, false otherwise - * @see KKey - */ - KDECORE_EXPORT bool modToModX( uint mod, uint& modX ); - - /** - * Converts the mask of ORed X11 modifiers to - * a mask of ORed Qt key code modifiers. - * @param modX the mask of X11 modifiers - * @param modQt the mask of Qt key code modifiers will be written here - * if successful - * @return true if successful, false otherwise - * @see Qt::Key - */ - //wrapped for win32 - KDECORE_EXPORT bool modXToModQt( uint modX, int& modQt ); - - /** - * Converts the Qt-compatible button state to x11 modifier. - */ - KDECORE_EXPORT int qtButtonStateToMod( Qt::ButtonState s ); - - /** - * Converts the mask of ORed X11 modifiers to - * a mask of ORed KKey::ModFlag modifiers. - * @param modX the mask of X11 modifiers - * @param mod the mask of KKey::ModFlag modifiers will be written here, - * if successful - * @return true if successful, false otherwise - * @see KKey - */ - KDECORE_EXPORT bool modXToMod( uint modX, uint& mod ); - - /** - * Converts a X11 key code and a mask of ORed X11 modifiers - * into a X11 symbol. - * converts it to a symbol. - * @param codeX the X11 key code - * @param modX the mask of ORed X11 modifiers - * @param symX if successful, the X11 symbol will be written here - * @return true if successful, false otherwise - * @see Qt::Key - * @see Sym - */ - KDECORE_EXPORT bool codeXToSym( uchar codeX, uint modX, uint& symX ); - - /** - * @internal - */ - KDECORE_EXPORT TQString modToStringInternal( uint mod ); - - /** - * Converts the mask of ORed KKey::ModFlag modifiers to a - * user-readable string. - * @param mod the mask of ORed KKey::ModFlag modifiers - * @return the user-readable string - */ - KDECORE_EXPORT TQString modToStringUser( uint mod ); - - /** - * @internal - * Unimplemented? - */ - KDECORE_EXPORT bool stringToSymMod( const TQString&, uint& sym, uint& mod ); - - /** - * @internal - * Unimplemented? - */ - KDECORE_EXPORT void keyQtToKeyX( uint keyCombQt, unsigned char *pKeyCodeX, uint *pKeySymX, uint *pKeyModX ); -} - -#endif // !_KKEYSERVER_X11_H diff --git a/python/pykde/extra/kde341/konsole_part.h b/python/pykde/extra/kde341/konsole_part.h deleted file mode 100644 index 51c49f5e..00000000 --- a/python/pykde/extra/kde341/konsole_part.h +++ /dev/null @@ -1,228 +0,0 @@ -/* - This file is part of the KDE system - Copyright (C) 1999,2000 Boloni Laszlo - - This program is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. - */ - -#ifndef __KONSOLE_PART_H__ -#define __KONSOLE_PART_H__ - -#include -#include - - -#include - -#include - -//#include "schema.h" -//#include "session.h" - -class KInstance; -class konsoleBrowserExtension; -class TQPushButton; -class TQSpinBox; -class KPopupMenu; -class TQCheckBox; -class KRootPixmap; -class KToggleAction; -class KSelectAction; - -namespace KParts { class GUIActivateEvent; } - -class konsoleFactory : public KParts::Factory -{ - Q_OBJECT -public: - konsoleFactory(); - virtual ~konsoleFactory(); - - virtual KParts::Part* createPartObject(TQWidget *parentWidget = 0, const char *widgetName = 0, - TQObject* parent = 0, const char* name = 0, - const char* classname = "KParts::Part", - const TQStringList &args = TQStringList()); - - static KInstance *instance(); - - private: - static KInstance *s_instance; - static KAboutData *s_aboutData; -}; - -////////////////////////////////////////////////////////////////////// - -class konsolePart: public KParts::ReadOnlyPart, public TerminalInterface -{ - Q_OBJECT - public: - konsolePart(TQWidget *parentWidget, const char *widgetName, TQObject * parent, const char *name, const char *classname = 0); - virtual ~konsolePart(); - -signals: - void processExited(); - void receivedData( const TQString& s ); - protected: - virtual bool openURL( const KURL & url ); - virtual bool openFile() {return false;} // never used - virtual bool closeURL() {return true;} - virtual void guiActivateEvent( KParts::GUIActivateEvent * event ); - - protected slots: - void showShell(); - void slotProcessExited(); - void slotReceivedData( const TQString& s ); - -// void doneSession(TESession*); - void sessionDestroyed(); -// void configureRequest(TEWidget*,int,int x,int y); - void updateTitle(); - void enableMasterModeConnections(); - - private slots: - void emitOpenURLRequest(const TQString &url); - - void readProperties(); - void saveProperties(); - - void sendSignal(int n); - void closeCurrentSession(); - - void notifySize(int,int); - - void slotToggleFrame(); - void slotSelectScrollbar(); - void slotSelectFont(); - void schema_menu_check(); - void keytab_menu_activated(int item); - void updateSchemaMenu(); - void setSchema(int n); - void pixmap_menu_activated(int item); - void schema_menu_activated(int item); - void slotHistoryType(); - void slotSelectBell(); - void slotSelectLineSpacing(); - void slotBlinkingCursor(); - void slotWordSeps(); - void fontNotFound(); - void slotSetEncoding(); - void slotFontChanged(); - - private: - konsoleBrowserExtension *m_extension; - KURL currentURL; - - void makeGUI(); - void applySettingsToGUI(); - - void setFont(int fontno); -// void setSchema(ColorSchema* s); - void updateKeytabMenu(); - - bool doOpenStream( const TQString& ); - bool doWriteStream( const TQByteArray& ); - bool doCloseStream(); - - TQWidget* parentWidget; -// TEWidget* te; -// TESession* se; -// ColorSchemaList* colors; - KRootPixmap* rootxpm; - - KToggleAction* blinkingCursor; - KToggleAction* showFrame; - - KSelectAction* selectBell; - KSelectAction* selectFont; - KSelectAction* selectLineSpacing; - KSelectAction* selectScrollbar; - KSelectAction* selectSetEncoding; - - KPopupMenu* m_keytab; - KPopupMenu* m_schema; - KPopupMenu* m_signals; - KPopupMenu* m_options; - KPopupMenu* m_popupMenu; - - TQFont defaultFont; - - TQString pmPath; // pixmap path - TQString s_schema; - TQString s_kconfigSchema; - TQString s_word_seps; // characters that are considered part of a word - TQString fontNotFound_par; - - bool b_framevis:1; - bool b_histEnabled:1; - - int curr_schema; // current schema no - int n_bell; - int n_font; - int n_keytab; - int n_render; - int n_scroll; - unsigned m_histSize; - bool m_runningShell; - bool m_streamEnabled; - int n_encoding; - -public: - // these are the implementations for the TermEmuInterface - // functions... - void startProgram( const TQString& program, - const TQStrList& args ); - void showShellInDir( const TQString& dir ); - void sendInput( const TQString& text ); -}; - -////////////////////////////////////////////////////////////////////// - -/*class HistoryTypeDialog : public KDialogBase -{ - Q_OBJECT -public: - HistoryTypeDialog(const HistoryType& histType, - unsigned int histSize, - TQWidget *parent); - -public slots: - void slotDefault(); - void slotSetUnlimited(); - void slotHistEnable(bool); - - unsigned int nbLines() const; - bool isOn() const; - -protected: - TQCheckBox* m_btnEnable; - TQSpinBox* m_size; - TQPushButton* m_setUnlimited; -};*/ - -////////////////////////////////////////////////////////////////////// - -class konsoleBrowserExtension : public KParts::BrowserExtension -{ - Q_OBJECT - friend class konsolePart; - public: - konsoleBrowserExtension(konsolePart *parent); - virtual ~konsoleBrowserExtension(); - - void emitOpenURLRequest(const KURL &url); -}; - -#endif diff --git a/python/pykde/extra/kde341/kpanelmenu.h b/python/pykde/extra/kde341/kpanelmenu.h deleted file mode 100644 index de0b065e..00000000 --- a/python/pykde/extra/kde341/kpanelmenu.h +++ /dev/null @@ -1,182 +0,0 @@ -/***************************************************************** - -Copyright (c) 1996-2000 the kicker authors. See file AUTHORS. - (c) 2001 Michael Goffioul - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN -AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - -******************************************************************/ - -#ifndef __KPANELMENU_H__ -#define __KPANELMENU_H__ - -#include -#include -#include - -class KPanelMenuPrivate; - -/** - * @short Base class to build dynamically loaded menu entries for the K-menu, or the panel. - * - * This class allows to build menu entries that will be dynamically added either to - * the K-menu, or to the panel as a normal button. These dynamic menus are located - * in shared libraries that will be loaded at runtime by Kicker (the %KDE panel). - * - * To build such a menu, you have to inherit this class and implement the pure virtual - * functions #initialize() and slotExec(). You also have to provide a factory - * object in your library, see KLibFactory. This factory is only used to construct - * the menu object. - * - * Finally, you also have to provide a desktop file describing your dynamic menu. The - * relevant entries are: Name, Comment, Icon and X-KDE-Library (which contains the - * library name without any extension). This desktop file has to be installed in - * $KDEDIR/share/apps/kicker/menuext/. - * - * @author The kicker maintainers, Michael Goffioul - */ -class KDEUI_EXPORT KPanelMenu : public KPopupMenu -{ - Q_OBJECT - -public: - /** - * Construct a KPanelMenu object. This is the normal constructor to use when - * building extrernal menu entries. - */ - KPanelMenu(TQWidget *parent=0, const char *name=0); - /** - * Constructor used internally by Kicker. You don't really want to use it. - * @param startDir a directory to associate with this menu - * @param parent parent object - * @param name name of the object - * @see path(), setPath() - */ - KPanelMenu(const TQString &startDir, TQWidget *parent=0, const char *name=0); - /** - * Destructor. - */ - virtual ~KPanelMenu(); - - /** - * Get the directory path associated with this menu, or TQString::null if - * there's no such associated path. - * @return the associated directory path - * @see setPath() - */ - const TQString& path() const; - /** - * Set a directory path to be associated with this menu. - * @param p the directory path - * @see path() - */ - void setPath(const TQString &p); - /** - * Tell if the menu has been initialized, that is it already contains items. - * This is useful when you need to know if you have to clear the menu, or to - * fill it. - * @return the initial state - * @see setInitialized(), initialize() - */ - bool initialized() const; - /** - * Set the initial state. Set it to true when you menu is filled with the items - * you want. - * @param on the initial state - * @see initialized(), initialize() - */ - void setInitialized(bool on); - - /** - * Disable the automatic clearing of the menu. Kicker uses a cache system for - * its menus. After a specific configurable delay, the menu will be cleared. - * Use this function if you want to disable kicker's cache system, and avoid - * the clearing of your menu. - */ - void disableAutoClear(); - -public slots: - /** - * Reinitialize the menu: the menu is first cleared, the initial state is set - * to false, and finally #initialize() is called. Use this if you want to - * refill your menu immediately. - */ - void reinitialize(); - /** - * Deinitialize the menu: the menu is cleared and the initialized state is set to - * false. #initialize() is NOT called. It will be called before the menu is - * next shown, however. Use this slot if you want a delayed reinitialization. - * @since 3.1 - */ - void deinitialize(); - -protected slots: - /** - * This slot is called just before the menu is shown. This allows your menu - * to update itself if needed. However you should instead re-implement - * #initialize to provide this feature. This function is responsible for - * the cache system handling, so if you re-implement it, you should call - * the base function also. Calls #initialize(). - * @see disableAutoClear() - */ - virtual void slotAboutToShow(); - /** - * This is slot is called when an item from the menu has been selected. Your - * applet is then supposed to perform some action. You must re-implement this - * function. - * @param id the ID associated with the selected item - */ - virtual void slotExec(int id) = 0; - /** - * This slots is called to initialize the menu. It is called automatically by - * slotAboutToShow(). By re-implementing this functions, you can reconstruct - * the menu before it is being shown. At the end of this function, you should - * call setInitialize() with true to tell the system that the menu is OK. - * You applet must re-implement this function. - * @see slotAboutToShow(), initialized(), setInitialized() - */ - virtual void initialize() = 0; - /** - * Clears the menu, and update the initial state accordingly. - * @see initialized() - */ - void slotClear(); - -protected: - /** - * Re-implemented for internal reasons. - */ - virtual void hideEvent(TQHideEvent *ev); - /** - * For internal use only. Used by constructors. - */ - void init(const TQString& path = TQString::null); - -protected: - virtual void virtual_hook( int id, void* data ); -private: - void internalInitialize(); - KPanelMenuPrivate *d; -}; - -#define K_EXPORT_KICKER_MENUEXT( libname, classname ) \ - K_EXPORT_COMPONENT_FACTORY( \ - kickermenu_##libname, \ - KGenericFactory("libkickermenu_" #libname) ) - -#endif diff --git a/python/pykde/extra/kde341/krecentdirs.h b/python/pykde/extra/kde341/krecentdirs.h deleted file mode 100644 index 439fb6fe..00000000 --- a/python/pykde/extra/kde341/krecentdirs.h +++ /dev/null @@ -1,70 +0,0 @@ -/* -*- c++ -*- - * Copyright (C)2000 Waldo Bastian - * - * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * - * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND - * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE - * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS - * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) - * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT - * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY - * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF - * SUCH DAMAGE. - * - */ -#ifndef __KRECENTDIRS_H -#define __KRECENTDIRS_H - -#include - -#include - -/** - * The goal of this class is to make sure that, when the user needs to - * specify a file via the file selection dialog, this dialog will start - * in the directory most likely to contain the desired files. - * - * This works as follows: Each time the file selection dialog is - * shown, the programmer can specify a "file-class". The file-dialog will - * then start with the directory associated with this file-class. When - * the dialog closes, the directory currently shown in the file-dialog - * will be associated with the file-class. - * - * A file-class can either start with ':' or with '::'. If it starts with - * a single ':' the file-class is specific to the current application. - * If the file-class starts with '::' it is global to all applications. - */ -class KIO_EXPORT KRecentDirs -{ -public: - /** - * Returns a list of directories associated with this file-class. - * The most recently used directory is at the front of the list. - */ - static TQStringList list(const TQString &fileClass); - - /** - * Returns the most recently used directory accociated with this file-class. - */ - static TQString dir(const TQString &fileClass); - - /** - * Associates @p directory with @p fileClass - */ - static void add(const TQString &fileClass, const TQString &directory); -}; - -#endif diff --git a/python/pykde/extra/kde341/ksharedptr.h b/python/pykde/extra/kde341/ksharedptr.h deleted file mode 100644 index ada08413..00000000 --- a/python/pykde/extra/kde341/ksharedptr.h +++ /dev/null @@ -1,175 +0,0 @@ -/* This file is part of the KDE libraries - Copyright (c) 1999 Waldo Bastian - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License version 2 as published by the Free Software Foundation. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. -*/ -#ifndef KSharedPTR_H -#define KSharedPTR_H - -#include "kdelibs_export.h" - -/** - * Reference counting for shared objects. If you derive your object - * from this class, then you may use it in conjunction with - * KSharedPtr to control the lifetime of your object. - * - * Specifically, all classes that derive from KShared have an internal - * counter keeping track of how many other objects have a reference to - * their object. If used with KSharedPtr, then your object will - * not be deleted until all references to the object have been - * released. - * - * You should probably not ever use any of the methods in this class - * directly -- let the KSharedPtr take care of that. Just derive - * your class from KShared and forget about it. - * - * @author Waldo Bastian - */ -class KDECORE_EXPORT KShared { -public: - /** - * Standard constructor. This will initialize the reference count - * on this object to 0. - */ - KShared() : count(0) { } - - /** - * Copy constructor. This will @em not actually copy the objects - * but it will initialize the reference count on this object to 0. - */ - KShared( const KShared & ) : count(0) { } - - /** - * Overloaded assignment operator. - */ - KShared &operator=(const KShared & ) { return *this; } - - /** - * Increases the reference count by one. - */ - void _KShared_ref() const { count++; } - - /** - * Releases a reference (decreases the reference count by one). If - * the count goes to 0, this object will delete itself. - */ - void _KShared_unref() const { if (!--count) delete this; } - - /** - * Return the current number of references held. - * - * @return Number of references - */ - int _KShared_count() const { return count; } - -protected: - virtual ~KShared() { } -private: - mutable int count; -}; - -/** - * Can be used to control the lifetime of an object that has derived - * KShared. As long a someone holds a KSharedPtr on some KShared - * object it won't become deleted but is deleted once its reference - * count is 0. This struct emulates C++ pointers virtually perfectly. - * So just use it like a simple C++ pointer. - * - * KShared and KSharedPtr are preferred over QShared / QSharedPtr - * since they are more safe. - * - * WARNING: Please note that this class template provides an implicit - * conversion to T*. Do *not* change this pointer or the pointee (don't - * call delete on it, for instance) behind KSharedPtr's back. - * - * @author Waldo Bastian - */ -template< class T > -class KSharedPtr -{ -public: -/** - * Creates a null pointer. - */ - KSharedPtr() - : ptr(0) { } - /** - * Creates a new pointer. - * @param t the pointer - */ - KSharedPtr( T* t ) - : ptr(t) { if ( ptr ) ptr->_KShared_ref(); } - - /** - * Copies a pointer. - * @param p the pointer to copy - */ - KSharedPtr( const KSharedPtr& p ) - : ptr(p.ptr) { if ( ptr ) ptr->_KShared_ref(); } - - /** - * Unreferences the object that this pointer points to. If it was - * the last reference, the object will be deleted. - */ - ~KSharedPtr() { if ( ptr ) ptr->_KShared_unref(); } - - KSharedPtr& operator= ( const KSharedPtr& p ) { - if ( ptr == p.ptr ) return *this; - if ( ptr ) ptr->_KShared_unref(); - ptr = p.ptr; - if ( ptr ) ptr->_KShared_ref(); - return *this; - } - KSharedPtr& operator= ( T* p ) { - if ( ptr == p ) return *this; - if ( ptr ) ptr->_KShared_unref(); - ptr = p; - if ( ptr ) ptr->_KShared_ref(); - return *this; - } - bool operator== ( const KSharedPtr& p ) const { return ( ptr == p.ptr ); } - bool operator!= ( const KSharedPtr& p ) const { return ( ptr != p.ptr ); } - bool operator== ( const T* p ) const { return ( ptr == p ); } - bool operator!= ( const T* p ) const { return ( ptr != p ); } - bool operator!() const { return ( ptr == 0 ); } - operator T*() const { return ptr; } - - /** - * Returns the pointer. - * @return the pointer - */ - T* data() { return ptr; } - - /** - * Returns the pointer. - * @return the pointer - */ - const T* data() const { return ptr; } - - const T& operator*() const { return *ptr; } - T& operator*() { return *ptr; } - const T* operator->() const { return ptr; } - T* operator->() { return ptr; } - - /** - * Returns the number of references. - * @return the number of references - */ - int count() const { return ptr->_KShared_count(); } // for debugging purposes -private: - T* ptr; -}; - -#endif diff --git a/python/pykde/extra/kde341/ksycocafactory.h b/python/pykde/extra/kde341/ksycocafactory.h deleted file mode 100644 index 536da286..00000000 --- a/python/pykde/extra/kde341/ksycocafactory.h +++ /dev/null @@ -1,143 +0,0 @@ -/* This file is part of the KDE libraries - * Copyright (C) 1999 Waldo Bastian - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License version 2 as published by the Free Software Foundation; - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public License - * along with this library; see the file COPYING.LIB. If not, write to - * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - * Boston, MA 02110-1301, USA. - **/ - -#ifndef __ksycocafactory_h__ -#define __ksycocafactory_h__ - -#include "ksycocatype.h" -#include "ksycocaentry.h" - -#include -#include -class KSycoca; -class TQStringList; -class TQString; -class KSycocaDict; -class KSycocaResourceList; - -typedef TQDict KSycocaEntryDict; - -/** - * @internal - * Base class for sycoca factories - */ -class KDECORE_EXPORT KSycocaFactory -{ -public: - virtual KSycocaFactoryId factoryId() const = 0; - -protected: // virtual class - /** - * Create a factory which can be used to lookup from/create a database - * (depending on KSycoca::isBuilding()) - */ - KSycocaFactory( KSycocaFactoryId factory_id ); - -public: - virtual ~KSycocaFactory(); - - /** - * @return the position of the factory in the sycoca file - */ - int offset() { return mOffset; } - - /** - * @return the dict, for special use by KBuildSycoca - */ - KSycocaEntryDict * entryDict() { return m_entryDict; } - - /** - * Construct an entry from a config file. - * To be implemented in the real factories. - */ - virtual KSycocaEntry *createEntry(const TQString &file, const char *resource) = 0; - - /** - * Add an entry - */ - virtual void addEntry(KSycocaEntry *newEntry, const char *resource); - - /** - * Remove an entry - * Not very fast, use with care. O(N) - */ - void removeEntry(KSycocaEntry *newEntry); - - /** - * Read an entry from the database - */ - virtual KSycocaEntry *createEntry(int offset)=0; - - /** - * Get a list of all entries from the database. - */ - KSycocaEntry::List allEntries(); - - /** - * Saves all entries it maintains as well as index files - * for these entries to the stream 'str'. - * - * Also sets mOffset to the starting position. - * - * The stream is positioned at the end of the last index. - * - * Don't forget to call the parent first when you override - * this function. - */ - virtual void save(TQDataStream &str); - - /** - * Writes out a header to the stream 'str'. - * The baseclass positions the stream correctly. - * - * Don't forget to call the parent first when you override - * this function. - */ - virtual void saveHeader(TQDataStream &str); - - /** - * @return the resources for which this factory is responsible. - */ - virtual const KSycocaResourceList * resourceList() const { return m_resourceList; } - -private: - int mOffset; - -protected: - int m_sycocaDictOffset; - int m_beginEntryOffset; - int m_endEntryOffset; - TQDataStream *m_str; - - KSycocaResourceList *m_resourceList; - KSycocaEntryDict *m_entryDict; - KSycocaDict *m_sycocaDict; -protected: - virtual void virtual_hook( int id, void* data ); -}; - -/** This, instead of a typedef, allows to declare "class ..." in header files - * @internal - */ -class KDECORE_EXPORT KSycocaFactoryList : public TQPtrList -{ -public: - KSycocaFactoryList() { } -}; - -#endif diff --git a/python/pykde/extra/kde341/ktoolbarbutton.h b/python/pykde/extra/kde341/ktoolbarbutton.h deleted file mode 100644 index 297c296b..00000000 --- a/python/pykde/extra/kde341/ktoolbarbutton.h +++ /dev/null @@ -1,329 +0,0 @@ -/* This file is part of the KDE libraries - Copyright (C) 1997, 1998 Stephan Kulow (coolo@kde.org) - (C) 1997, 1998 Sven Radej (radej@kde.org) - (C) 1997, 1998 Mark Donohoe (donohoe@kde.org) - (C) 1997, 1998 Matthias Ettrich (ettrich@kde.org) - (C) 2000 Kurt Granroth (granroth@kde.org) - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License version 2 as published by the Free Software Foundation. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. -*/ - -#ifndef _KTOOLBARBUTTON_H -#define _KTOOLBARBUTTON_H - -#include -#include -#include -#include -#include - -class KToolBar; -class KToolBarButtonPrivate; -class KInstance; -class TQEvent; -class TQPopupMenu; -class TQPainter; - -/** - * A toolbar button. This is used internally by KToolBar, use the - * KToolBar methods instead. - * @internal - */ -class KDEUI_EXPORT KToolBarButton : public QToolButton -{ - Q_OBJECT - -public: - /** - * Construct a button with an icon loaded by the button itself. - * This will trust the button to load the correct icon with the - * correct size. - * - * @param icon Name of icon to load (may be absolute or relative) - * @param id Id of this button - * @param parent This button's parent - * @param name This button's internal name - * @param txt This button's text (in a tooltip or otherwise) - * @param _instance the instance to use for this button - */ - KToolBarButton(const TQString& icon, int id, TQWidget *parent, - const char *name=0L, const TQString &txt=TQString::null, - KInstance *_instance = KGlobal::instance()); - - /** - * Construct a button with an existing pixmap. It is not - * recommended that you use this as the internal icon loading code - * will almost always get it "right". - * - * @param pixmap Name of icon to load (may be absolute or relative) - * @param id Id of this button - * @param parent This button's parent - * @param name This button's internal name - * @param txt This button's text (in a tooltip or otherwise) - */ - KToolBarButton(const TQPixmap& pixmap, int id, TQWidget *parent, - const char *name=0L, const TQString &txt=TQString::null); - - /** - * Construct a separator button - * - * @param parent This button's parent - * @param name This button's internal name - */ - KToolBarButton(TQWidget *parent=0L, const char *name=0L); - - /** - * Standard destructor - */ - ~KToolBarButton(); - -#ifndef KDE_NO_COMPAT - /** - * @deprecated - * Set the pixmap directly for this button. This pixmap should be - * the active one... the dimmed and disabled pixmaps are constructed - * based on this one. However, don't use this function unless you - * are positive that you don't want to use setIcon. - * - * @param pixmap The active pixmap - */ - // this one is from TQButton, so #ifdef-ing it out doesn't break BC - virtual void setPixmap(const TQPixmap &pixmap) KDE_DEPRECATED; - - /** - * @deprecated - * Force the button to use this pixmap as the default one rather - * then generating it using effects. - * - * @param pixmap The pixmap to use as the default (normal) one - */ - void setDefaultPixmap(const TQPixmap& pixmap) KDE_DEPRECATED; - - /** - * @deprecated - * Force the button to use this pixmap when disabled one rather then - * generating it using effects. - * - * @param pixmap The pixmap to use when disabled - */ - void setDisabledPixmap(const TQPixmap& pixmap) KDE_DEPRECATED; -#endif - - /** - * Set the text for this button. The text will be either used as a - * tooltip (IconOnly) or will be along side the icon - * - * @param text The button (or tooltip) text - */ - virtual void setText(const TQString &text); - - /** - * Set the icon for this button. The icon will be loaded internally - * with the correct size. This function is preferred over setIconSet - * - * @param icon The name of the icon - */ - virtual void setIcon(const TQString &icon); - - /// @since 3.1 - virtual void setIcon( const TQPixmap &pixmap ) - { TQToolButton::setIcon( pixmap ); } - - /** - * Set the pixmaps for this toolbar button from a TQIconSet. - * If you call this you don't need to call any of the other methods - * that set icons or pixmaps. - * @param iconset The iconset to use - */ - virtual void setIconSet( const TQIconSet &iconset ); - -#ifndef KDE_NO_COMPAT - /** - * @deprecated - * Set the active icon for this button. The pixmap itself is loaded - * internally based on the icon size... .. the disabled and default - * pixmaps, however will only be constructed if generate is - * true. This function is preferred over setPixmap - * - * @param icon The name of the active icon - * @param generate If true, then the other icons are automagically - * generated from this one - */ - KDE_DEPRECATED void setIcon(const TQString &icon, bool generate ) { Q_UNUSED(generate); setIcon( icon ); } - - /** - * @deprecated - * Force the button to use this icon as the default one rather - * then generating it using effects. - * - * @param icon The icon to use as the default (normal) one - */ - void setDefaultIcon(const TQString& icon) KDE_DEPRECATED; - - /** - * @deprecated - * Force the button to use this icon when disabled one rather then - * generating it using effects. - * - * @param icon The icon to use when disabled - */ - void setDisabledIcon(const TQString& icon) KDE_DEPRECATED; -#endif - - /** - * Turn this button on or off - * - * @param flag true or false - */ - void on(bool flag = true); - - /** - * Toggle this button - */ - void toggle(); - - /** - * Turn this button into a toggle button or disable the toggle - * aspects of it. This does not toggle the button itself. - * Use toggle() for that. - * - * @param toggle true or false - */ - void setToggle(bool toggle = true); - - /** - * Return a pointer to this button's popup menu (if it exists) - */ - TQPopupMenu *popup(); - - /** - * Returns the button's id. - * @since 3.2 - */ - int id() const; - - /** - * Give this button a popup menu. There will not be a delay when - * you press the button. Use setDelayedPopup if you want that - * behavior. - * - * @param p The new popup menu - * @param unused Has no effect - ignore it. - */ - void setPopup (TQPopupMenu *p, bool unused = false); - - /** - * Gives this button a delayed popup menu. - * - * This function allows you to add a delayed popup menu to the button. - * The popup menu is then only displayed when the button is pressed and - * held down for about half a second. - * - * @param p the new popup menu - * @param unused Has no effect - ignore it. - */ - void setDelayedPopup(TQPopupMenu *p, bool unused = false); - - /** - * Turn this button into a radio button - * - * @param f true or false - */ - void setRadio(bool f = true); - - /** - * Toolbar buttons naturally will assume the global styles - * concerning icons, icons sizes, etc. You can use this function to - * explicitly turn this off, if you like. - * - * @param no_style Will disable styles if true - */ - void setNoStyle(bool no_style = true); - -signals: - /** - * Emitted when the toolbar button is clicked (with LMB or MMB) - */ - void clicked(int); - /** - * Emitted when the toolbar button is clicked (with any mouse button) - * @param state makes it possible to find out which button was pressed, - * and whether any keyboard modifiers were held. - * @since 3.4 - */ - void buttonClicked(int, Qt::ButtonState state); - void doubleClicked(int); - void pressed(int); - void released(int); - void toggled(int); - void highlighted(int, bool); - -public slots: - /** - * This slot should be called whenever the toolbar mode has - * potentially changed. This includes such events as text changing, - * orientation changing, etc. - */ - void modeChange(); - virtual void setTextLabel(const TQString&, bool tipToo); - -protected: - void paletteChange(const TQPalette &); - void leaveEvent(TQEvent *e); - void enterEvent(TQEvent *e); - void drawButton(TQPainter *p); - bool eventFilter (TQObject *o, TQEvent *e); - /// @since 3.4 - void mousePressEvent( TQMouseEvent * ); - /// @since 3.4 - void mouseReleaseEvent( TQMouseEvent * ); - void showMenu(); - TQSize sizeHint() const; - TQSize minimumSizeHint() const; - TQSize minimumSize() const; - - /// @since 3.1 - bool isRaised() const; - /// @since 3.1 - bool isActive() const; - /// @since 3.1 - int iconTextMode() const; - -protected slots: - void slotClicked(); - void slotPressed(); - void slotReleased(); - void slotToggled(); - void slotDelayTimeout(); - -protected: - virtual void virtual_hook( int id, void* data ); -private: - KToolBarButtonPrivate *d; -}; - -/** -* List of KToolBarButton objects. -* @internal -* @version $Id: ktoolbarbutton.h,v 1.39 2004/12/22 14:08:36 faure Exp $ -*/ -class KDEUI_EXPORT KToolBarButtonList : public TQIntDict -{ -public: - KToolBarButtonList(); - ~KToolBarButtonList() {} -}; - -#endif diff --git a/python/pykde/extra/kde341/kurifilter.h b/python/pykde/extra/kde341/kurifilter.h deleted file mode 100644 index 61c8aca6..00000000 --- a/python/pykde/extra/kde341/kurifilter.h +++ /dev/null @@ -1,647 +0,0 @@ -/* - * This file is part of the KDE libraries - * Copyright (C) 2000-2001,2003 Dawit Alemayehu - * - * Original author - * Copyright (C) 2000 Yves Arrouye - * - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public License - * along with this library; see the file COPYING.LIB. If not, write to - * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - * Boston, MA 02110-1301, USA. - **/ - -#ifndef __kurifilter_h__ -#define __kurifilter_h__ - -#include -#include -#include - -#include - -#ifdef Q_OS_WIN -#undef ERROR -#endif - -class KURIFilterPrivate; -class KURIFilterDataPrivate; - -class KCModule; - -/** -* A basic message object used for exchanging filtering -* information between the filter plugins and the application -* requesting the filtering service. -* -* Use this object if you require a more detailed information -* about the URI you want to filter. Any application can create -* an instance of this class and send it to KURIFilter to -* have the plugins fill out all possible information about the -* URI. -* -* \b Example -* -* \code -* TQString text = "kde.org"; -* KURIFilterData d = text; -* bool filtered = KURIFilter::self()->filter( d ); -* cout << "URL: " << text.latin1() << endl -* << "Filtered URL: " << d.uri().url().latin1() << endl -* << "URI Type: " << d.uriType() << endl -* << "Was Filtered: " << filtered << endl; -* \endcode -* -* The above code should yield the following output: -* \code -* URI: kde.org -* Filtered URI: http://kde.org -* URI Type: 0 <== means NET_PROTOCOL -* Was Filtered: 1 <== means the URL was successfully filtered -* \endcode -* -* @short A message object for exchanging filtering URI info. -* @author Dawit Alemayehu -*/ - -class KIO_EXPORT KURIFilterData -{ -friend class KURIFilterPlugin; - -public: - /** - * Describes the type of the URI that was filtered. - * Here is a brief description of the types: - * - * @li NET_PROTOCOL - Any network protocol: http, ftp, nttp, pop3, etc... - * @li LOCAL_FILE - A local file whose executable flag is not set - * @li LOCAL_DIR - A local directory - * @li EXECUTABLE - A local file whose executable flag is set - * @li HELP - A man or info page - * @li SHELL - A shell executable (ex: echo "Test..." >> ~/testfile) - * @li BLOCKED - A URI that should be blocked/filtered (ex: ad filtering) - * @li ERROR - An incorrect URI (ex: "~johndoe" when user johndoe - * does not exist in that system ) - * @li UNKNOWN - A URI that is not identified. Default value when - * a KURIFilterData is first created. - */ - enum URITypes { NET_PROTOCOL=0, LOCAL_FILE, LOCAL_DIR, EXECUTABLE, HELP, SHELL, BLOCKED, ERROR, UNKNOWN }; - - /** - * Default constructor. - * - * Creates a URIFilterData object. - */ - KURIFilterData() { init(); } - - /** - * Creates a URIFilterData object from the given URL. - * - * @param url is the URL to be filtered. - */ - KURIFilterData( const KURL& url ) { init( url); } - - /** - * Creates a URIFilterData object from the given string. - * - * @param url is the string to be filtered. - */ - KURIFilterData( const TQString& url ) { init( url ); } - - /** - * Copy constructor. - * - * Creates a URIFilterData object from another - * URI filter data object. - * - * @param data the uri filter data to be copied. - */ - KURIFilterData( const KURIFilterData& data); - - /** - * Destructor. - */ - ~KURIFilterData(); - - /** - * This method has been deprecated and will always return - * true. You should instead use the result from the - * KURIFilter::filterURI() calls. - * - * @deprecated - */ - KDE_DEPRECATED bool hasBeenFiltered() const { return true; } - - /** - * Returns the filtered or the original URL. - * - * This function returns the filtered url if one - * of the plugins successfully filtered the original - * URL. Otherwise, it returns the original URL. - * See hasBeenFiltered() and - * - * @return the filtered or original url. - */ - KURL uri() const { return m_pURI; } - - /** - * Returns an error message. - * - * This functions returns the error message set - * by the plugin whenever the uri type is set to - * KURIFilterData::ERROR. Otherwise, it returns - * a TQString::null. - * - * @return the error message or a NULL when there is none. - */ - TQString errorMsg() const { return m_strErrMsg; } - - /** - * Returns the URI type. - * - * This method always returns KURIFilterData::UNKNOWN - * if the given URL was not filtered. - * @return the type of the URI - */ - URITypes uriType() const { return m_iType; } - - /** - * Sets the URL to be filtered. - * - * Use this function to set the string to be - * filtered when you construct an empty filter - * object. - * - * @param url the string to be filtered. - */ - void setData( const TQString& url ) { init( url ); } - - /** - * Same as above except the argument is a URL. - * - * Use this function to set the string to be - * filtered when you construct an empty filter - * object. - * - * @param url the URL to be filtered. - */ - void setData( const KURL& url ) { init( url ); } - - /** - * Sets the absolute path to be used whenever the supplied - * data is a relative local URL. - * - * NOTE: This function should only be used for local resources, - * i.e. the "file:/" protocol. It is useful for specifying the - * absolute path in cases where the actual URL might be relative. - * meta object. If deriving the path from a KURL, make sure you - * set the argument for this function to the result of calling - * path () instead of url (). - * - * @param abs_path the abolute path to the local resource. - * @return true if absolute path is successfully set. Otherwise, false. - */ - bool setAbsolutePath( const TQString& abs_path ); - - /** - * Returns the absolute path if one has already been set. - * @return the absolute path, or TQString::null - * @see hasAbsolutePath() - */ - TQString absolutePath() const; - - /** - * Checks whether the supplied data had an absolute path. - * @return true if the supplied data has an absolute path - * @see absolutePath() - */ - bool hasAbsolutePath() const; - - /** - * Returns the command line options and arguments for a - * local resource when present. - * - * @return options and arguments when present, otherwise TQString::null - */ - TQString argsAndOptions() const; - - /** - * Checks whether the current data is a local resource with - * command line options and arguments. - * @return true if the current data has command line options and arguments - */ - bool hasArgsAndOptions() const; - - /** - * Returns the name of the icon that matches - * the current filtered URL. - * - * NOTE that this function will return a NULL - * string by default and when no associated icon - * is found. - * - * @return the name of the icon associated with the resource, - * or TQString::null if not found - */ - TQString iconName(); - - /** - * Check whether the provided uri is executable or not. - * - * Setting this to false ensures that typing the name of - * an executable does not start that application. This is - * useful in the location bar of a browser. The default - * value is true. - * - * @since 3.2 - */ - void setCheckForExecutables (bool check); - - /** - * @return true if the filters should attempt to check whether the - * supplied uri is an executable. False otherwise. - * - * @since 3.2 - */ - bool checkForExecutables() const { return m_bCheckForExecutables; } - - /** - * @return the string as typed by the user, before any URL processing is done - * @since 3.2 - */ - TQString typedString() const; - - /** - * Overloaded assigenment operator. - * - * This function allows you to easily assign a KURL - * to a KURIFilterData object. - * - * @return an instance of a KURIFilterData object. - */ - KURIFilterData& operator=( const KURL& url ) { init( url ); return *this; } - - /** - * Overloaded assigenment operator. - * - * This function allows you to easily assign a QString - * to a KURIFilterData object. - * - * @return an instance of a KURIFilterData object. - */ - KURIFilterData& operator=( const TQString& url ) { init( url ); return *this; } - -protected: - - /** - * Initializes the KURIFilterData on construction. - * @param url the URL to initialize the object with - */ - void init( const KURL& url); - - /** - * Initializes the KURIFilterData on construction. - * @param url the URL to initialize the object with - */ - void init( const TQString& url = TQString::null ); - -private: - bool m_bCheckForExecutables; - bool m_bChanged; - - TQString m_strErrMsg; - TQString m_strIconName; - - KURL m_pURI; - URITypes m_iType; - KURIFilterDataPrivate *d; -}; - - -/** - * Base class for URI filter plugins. - * - * This class applies a single filter to a URI. All plugins designed - * to provide URI filtering service should inherit from this abstract - * class and provide a concrete implementation. - * - * All inheriting classes need to implement the pure virtual function - * filterURI. - * - * @short Abstract class for URI filter plugins. - */ -class KIO_EXPORT KURIFilterPlugin : public QObject -{ - Q_OBJECT - -public: - - /** - * Constructs a filter plugin with a given name and - * priority. - * - * @param parent the parent object, or 0 for no parent - * @param name the name of the plugin, or 0 for no name - * @param pri the priority of the plugin. - */ - KURIFilterPlugin( TQObject *parent = 0, const char *name = 0, double pri = 1.0 ); - - /** - * Returns the filter's name. - * - * @return A string naming the filter. - */ - virtual TQString name() const { return m_strName; } - - /** - * Returns the filter's priority. - * - * Each filter has an assigned priority, a float from 0 to 1. Filters - * with the lowest priority are first given a chance to filter a URI. - * - * @return The priority of the filter. - */ - virtual double priority() const { return m_dblPriority; } - - /** - * Filters a URI. - * - * @param data the URI data to be filtered. - * @return A boolean indicating whether the URI has been changed. - */ - virtual bool filterURI( KURIFilterData& data ) const = 0; - - /** - * Creates a configuration module for the filter. - * - * It is the responsibility of the caller to delete the module - * once it is not needed anymore. - * - * @return A configuration module, 0 if the filter isn't configurable. - */ - virtual KCModule *configModule( TQWidget*, const char* ) const { return 0; } - - /** - * Returns the name of the configuration module for the filter. - * - * @return the name of a configuration module or TQString::null if none. - */ - virtual TQString configName() const { return name(); } - -protected: - - /** - * Sets the the URL in @p data to @p uri. - */ - void setFilteredURI ( KURIFilterData& data, const KURL& uri ) const; - - /** - * Sets the error message in @p data to @p errormsg. - */ - void setErrorMsg ( KURIFilterData& data, const TQString& errmsg ) const { - data.m_strErrMsg = errmsg; - } - - /** - * Sets the URI type in @p data to @p type. - */ - void setURIType ( KURIFilterData& data, KURIFilterData::URITypes type) const { - data.m_iType = type; - data.m_bChanged = true; - } - - /** - * Sets the arguments and options string in @p data - * to @p args if any were found during filterting. - */ - void setArguments( KURIFilterData& data, const TQString& args ) const; - - TQString m_strName; - double m_dblPriority; - -protected: - virtual void virtual_hook( int id, void* data ); -private: - class KURIFilterPluginPrivate *d; -}; - - -/** - * A list of filter plugins. - */ -class KIO_EXPORT KURIFilterPluginList : public TQPtrList -{ -public: - virtual int compareItems(Item a, Item b) - { - double diff = ((KURIFilterPlugin *) a)->priority() - ((KURIFilterPlugin *) b)->priority(); - return diff < 0 ? -1 : (diff > 0 ? 1 : 0); - } - -private: - KURIFilterPrivate *d; - -}; - -/** - * Manages the filtering of URIs. - * - * The intention of this plugin class is to allow people to extend the - * functionality of KURL without modifying it directly. This way KURL will - * remain a generic parser capable of parsing any generic URL that adheres - * to specifications. - * - * The KURIFilter class applies a number of filters to a URI and returns the - * filtered version whenever possible. The filters are implemented using - * plugins to provide easy extensibility of the filtering mechanism. New - * filters can be added in the future by simply inheriting from - * KURIFilterPlugin and implementing the KURIFilterPlugin::filterURI - * method. - * - * Use of this plugin-manager class is straight forward. Since it is a - * singleton object, all you have to do is obtain an instance by doing - * @p KURIFilter::self() and use any of the public member functions to - * preform the filtering. - * - * \b Example - * - * To simply filter a given string: - * - * \code - * bool filtered = KURIFilter::self()->filterURI( "kde.org" ); - * \endcode - * - * You can alternatively use a KURL: - * - * \code - * KURL url = "kde.org"; - * bool filtered = KURIFilter::self()->filterURI( url ); - * \endcode - * - * If you have a constant string or a constant URL, simply invoke the - * corresponding function to obtain the filtered string or URL instead - * of a boolean flag: - * - * \code - * TQString u = KURIFilter::self()->filteredURI( "kde.org" ); - * \endcode - * - * You can also restrict the filter(s) to be used by supplying - * the name of the filter(s) to use. By defualt all available - * filters will be used. To use specific filters, add the names - * of the filters you want to use to a TQStringList and invoke - * the appropriate filtering function. The examples below show - * the use of specific filters. The first one uses a single - * filter called kshorturifilter while the second example uses - * multiple filters: - * - * \code - * TQString text = "kde.org"; - * bool filtered = KURIFilter::self()->filterURI( text, "kshorturifilter" ); - * \endcode - * - * \code - * TQStringList list; - * list << "kshorturifilter" << "localdomainfilter"; - * bool filtered = KURIFilter::self()->filterURI( text, list ); - * \endcode - * - * KURIFilter also allows richer data exchange through a simple - * meta-object called @p KURIFilterData. Using this meta-object - * you can find out more information about the URL you want to - * filter. See KURIFilterData for examples and details. - * - * @short Filters a given URL into its proper format whenever possible. - */ - -class KIO_EXPORT KURIFilter -{ -public: - /** - * Destructor - */ - ~KURIFilter (); - - /** - * Returns an instance of KURIFilter. - */ - static KURIFilter* self(); - - /** - * Filters the URI given by the object URIFilterData. - * - * The given URL is filtered based on the specified list of filters. - * If the list is empty all available filters would be used. - * - * @param data object that contains the URI to be filtered. - * @param filters specify the list of filters to be used. - * - * @return a boolean indicating whether the URI has been changed - */ - bool filterURI( KURIFilterData& data, const TQStringList& filters = TQStringList() ); - - /** - * Filters the URI given by the URL. - * - * The given URL is filtered based on the specified list of filters. - * If the list is empty all available filters would be used. - * - * @param uri the URI to filter. - * @param filters specify the list of filters to be used. - * - * @return a boolean indicating whether the URI has been changed - */ - bool filterURI( KURL &uri, const TQStringList& filters = TQStringList() ); - - /** - * Filters a string representing a URI. - * - * The given URL is filtered based on the specified list of filters. - * If the list is empty all available filters would be used. - * - * @param uri The URI to filter. - * @param filters specify the list of filters to be used. - * - * @return a boolean indicating whether the URI has been changed - */ - bool filterURI( TQString &uri, const TQStringList& filters = TQStringList() ); - - /** - * Returns the filtered URI. - * - * The given URL is filtered based on the specified list of filters. - * If the list is empty all available filters would be used. - * - * @param uri The URI to filter. - * @param filters specify the list of filters to be used. - * - * @return the filtered URI or null if it cannot be filtered - */ - KURL filteredURI( const KURL &uri, const TQStringList& filters = TQStringList() ); - - /** - * Return a filtered string representation of a URI. - * - * The given URL is filtered based on the specified list of filters. - * If the list is empty all available filters would be used. - * - * @param uri the URI to filter. - * @param filters specify the list of filters to be used. - * - * @return the filtered URI or null if it cannot be filtered - */ - TQString filteredURI( const TQString &uri, const TQStringList& filters = TQStringList() ); - - /** - * Return an iterator to iterate over all loaded - * plugins. - * - * @return a plugin iterator. - */ - TQPtrListIterator pluginsIterator() const; - - /** - * Return a list of the names of all loaded plugins. - * - * @return a TQStringList of plugin names - * @since 3.1 - */ - TQStringList pluginNames() const; - -protected: - - /** - * A protected constructor. - * - * This constructor creates a KURIFilter and - * initializes all plugins it can find by invoking - * loadPlugins. - */ - KURIFilter(); - - /** - * Loads all allowed plugins. - * - * This function loads all filters that have not - * been disbled. - */ - void loadPlugins(); - -private: - static KURIFilter *m_self; - KURIFilterPluginList m_lstPlugins; - KURIFilterPrivate *d; -}; - -#endif diff --git a/python/pykde/extra/kde341/selectdialog.h b/python/pykde/extra/kde341/selectdialog.h deleted file mode 100644 index 987dcb68..00000000 --- a/python/pykde/extra/kde341/selectdialog.h +++ /dev/null @@ -1,87 +0,0 @@ -/* - This file is part of libkresources. - - Copyright (c) 2002 Tobias Koenig - Copyright (c) 2002 Jan-Pascal van Best - Copyright (c) 2003 Cornelius Schumacher - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. -*/ - -#ifndef KRESOURCES_SELECTDIALOG_H -#define KRESOURCES_SELECTDIALOG_H - -#include -#include -#include - -#include - -class KListBox; - -namespace KRES { - -class Resource; - -/** - * Dialog for selecting a resource. - * - * Example: - * - * \code - * - * TQPtrList list = ... // can be retrived from KRES::Manager (e.g. KABC::AddressBook) - * - * KABC::Resource *res = KABC::SelectDialog::getResource( list, parentWdg ); - * if ( !res ) { - * // no resource selected - * } else { - * // do something with resource - * } - * \endcode - */ -class KRESOURCES_EXPORT SelectDialog -{ - public: - /** - * Constructor. - * @param list The list of available resources - * @param parent The parent widget - * @param name The name of the dialog - */ - SelectDialog( TQPtrList list, TQWidget *parent = 0, - const char *name = 0); - - /** - * Returns selected resource. - */ - Resource *resource(); - - /** - * Opens a dialog showing the available resources and returns the resource the - * user has selected. Returns 0, if the dialog was canceled. - */ - static Resource *getResource( TQPtrList list, TQWidget *parent = 0 ); - - private: - KListBox *mResourceId; - - TQMap mResourceMap; -}; - -} - -#endif diff --git a/python/pykde/extra/kde342/configwidget.h b/python/pykde/extra/kde342/configwidget.h deleted file mode 100644 index 47917edd..00000000 --- a/python/pykde/extra/kde342/configwidget.h +++ /dev/null @@ -1,58 +0,0 @@ -/* - This file is part of libkresources. - Copyright (c) 2002 Tobias Koenig - Copyright (c) 2002 Jan-Pascal van Best - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. -*/ - -#ifndef KRESOURCES_CONFIGWIDGET_H -#define KRESOURCES_CONFIGWIDGET_H - -#include "resource.h" - -#include - -#include - -namespace KRES { - -class KRESOURCES_EXPORT ConfigWidget : public QWidget -{ - Q_OBJECT - public: - ConfigWidget( TQWidget *parent = 0, const char *name = 0 ); - - /** - Sets the widget to 'edit' mode. Reimplement this method if you are - interested in the mode change (to disable some GUI element for - example). By default the widget is in 'create new' mode. - */ - virtual void setInEditMode( bool value ); - - public slots: - virtual void loadSettings( Resource *resource ) = 0; - virtual void saveSettings( Resource *resource ) = 0; - - signals: - void setReadOnly( bool value ); - - protected: - Resource *mResource; -}; - -} -#endif diff --git a/python/pykde/extra/kde342/kaccelaction.h b/python/pykde/extra/kde342/kaccelaction.h deleted file mode 100644 index b868ee6f..00000000 --- a/python/pykde/extra/kde342/kaccelaction.h +++ /dev/null @@ -1,564 +0,0 @@ -/* This file is part of the KDE libraries - Copyright (C) 2001,2002 Ellis Whitehead - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. -*/ - -#ifndef _KACCELACTION_H -#define _KACCELACTION_H - -#include -#include -#include -#include - -#include - -class KAccelBase; - -class TQObject; -class KConfig; -class KConfigBase; - -/** - * @internal - * A KAccelAction prepresents an action that can be executed using - * an accelerator key. Each KAccelAction has a name, a label, a - * "What's this" string and a KShortcut. The user can configure and - * enable/disable them using KKeyDialog. - * - * \code - * 1) KAccelAction = "Run Command" - * Default3 = "Alt+F2" - * Default4 = "Meta+Enter;Alt+F2" - * 1) KShortcut = "Meta+Enter" - * 1) KKeySequence = "Meta+Enter" - * 1) KKey = "Meta+Enter" - * 1) Meta+Enter - * 2) Meta+Keypad_Enter - * 2) KShortcut = "Alt+F2" - * 1) KKeySequence = "Alt+F2" - * 1) Alt+F2 - * 2) KAccelAction = "Something" - * Default3 = "" - * Default4 = "" - * 1) KShortcut = "Meta+X,Asterisk" - * 1) KKeySequence = "Meta+X,Asterisk" - * 1) KKey = "Meta+X" - * 1) Meta+X - * 2) KKey = "Asterisk" - * 1) Shift+8 (English layout) - * 2) Keypad_Asterisk - * \endcode - * @short An accelerator action - * @see KAccel - * @see KGlobalAccel - * @see KKeyChooser - * @see KKeyDialog - */ -class KDECORE_EXPORT KAccelAction -{ - public: - /** - * Creates an empty KAccelAction. - * @see clear() - */ - KAccelAction(); - - /** - * Copy constructor. - */ - KAccelAction( const KAccelAction& ); - - /** - * Creates a new KAccelAction. - * @param sName the name of the accelerator - * @param sLabel the label of the accelerator (i18n!) - * @param sWhatsThis the What's This text (18n!) - * @param cutDef3 the default shortcut for 3 modifier systems - * @param cutDef4 the default shortcut for 4 modifier systems - * @param pObjSlot the receiver of a signal when the key has been - * pressed - * @param psMethodSlot the slot to connect for key presses. Receives - * an int, as set by setID(), as only argument - * @param bConfigurable if true the user can configure the shortcut - * @param bEnabled true if the accelerator should be enabled - */ - KAccelAction( const TQString& sName, const TQString& sLabel, const TQString& sWhatsThis, - const KShortcut& cutDef3, const KShortcut& cutDef4, - const TQObject* pObjSlot, const char* psMethodSlot, - bool bConfigurable, bool bEnabled ); - ~KAccelAction(); - - /** - * Clears the accelerator. - */ - void clear(); - - /** - * Re-initialized the KAccelAction. - * @param sName the name of the accelerator - * @param sLabel the label of the accelerator (i18n!) - * @param sWhatsThis the What's This text (18n!) - * @param cutDef3 the default shortcut for 3 modifier systems - * @param cutDef4 the default shortcut for 4 modifier systems - * @param pObjSlot the receiver of a signal when the key has been - * pressed - * @param psMethodSlot the slot to connect for key presses. Receives - * an int, as set by setID(), as only argument - * @param bConfigurable if true the user can configure the shortcut - * @param bEnabled true if the accelerator should be enabled - * @return true if successful, false otherwise - */ - bool init( const TQString& sName, const TQString& sLabel, const TQString& sWhatsThis, - const KShortcut& cutDef3, const KShortcut& cutDef4, - const TQObject* pObjSlot, const char* psMethodSlot, - bool bConfigurable, bool bEnabled ); - - /** - * Copies this KAccelAction. - */ - KAccelAction& operator=( const KAccelAction& ); - - /** - * Returns the name of the accelerator action. - * @return the name of the accelerator action, can be null if not - * set - */ - const TQString& name() const { return m_sName; } - - /** - * Returns the label of the accelerator action. - * @return the label of the accelerator action, can be null if - * not set - */ - const TQString& label() const { return m_sLabel; } - - /** - * Returns the What's This text of the accelerator action. - * @return the What's This text of the accelerator action, can be - * null if not set - */ - const TQString& whatsThis() const { return m_sWhatsThis; } - - /** - * The shortcut that is actually used (may be used configured). - * @return the shortcut of the KAccelAction, can be null if not set - * @see shortcutDefault() - */ - const KShortcut& shortcut() const { return m_cut; } - - /** - * The default shortcut for this system. - * @return the default shortcut on this system, can be null if not set - * @see shortcut() - * @see shortcutDefault3() - * @see shortcutDefault4() - */ - const KShortcut& shortcutDefault() const; - - /** - * The default shortcut for 3 modifier systems. - * @return the default shortcut for 3 modifier systems, can be null - * if not set - * @see shortcutDefault() - * @see shortcutDefault4() - * @see useFourModifierKeys() - */ - const KShortcut& shortcutDefault3() const { return m_cutDefault3; } - - /** - * The default shortcut for 4 modifier systems. - * @return the default shortcut for 4 modifier systems, can be null - * if not set - * @see shortcutDefault() - * @see shortcutDefault3() - * @see useFourModifierKeys() - */ - const KShortcut& shortcutDefault4() const { return m_cutDefault4; } - - /** - * Returns the receiver of signals. - * @return the receiver of signals (can be 0 if not set) - */ - const TQObject* objSlotPtr() const { return m_pObjSlot; } - - /** - * Returns the slot for the signal. - * @return the slot for the signal - */ - const char* methodSlotPtr() const { return m_psMethodSlot; } - - /** - * Checks whether the user can configure the action. - * @return true if configurable, false otherwise - */ - bool isConfigurable() const { return m_bConfigurable; } - - /** - * Checks whether the action is enabled. - * @return true if enabled, false otherwise - */ - bool isEnabled() const { return m_bEnabled; } - - /** - * Sets the name of the accelerator action. - * @param name the new name - */ - void setName( const TQString& name ); - - /** - * Sets the user-readable label of the accelerator action. - * @param label the new label (i18n!) - */ - void setLabel( const TQString& label ); - - /** - * Sets the What's This text for the accelerator action. - * @param whatsThis the new What's This text (i18n!) - */ - void setWhatsThis( const TQString& whatsThis ); - - /** - * Sets the new shortcut of the accelerator action. - * @param rgCuts the shortcut to set - * @return true if successful, false otherwise - */ - bool setShortcut( const KShortcut& rgCuts ); - - /** - * Sets the slot of the accelerator action. - * @param pObjSlot the receiver object of the signal - * @param psMethodSlot the slot for the signal - */ - void setSlot( const TQObject* pObjSlot, const char* psMethodSlot ); - - /** - * Enables or disabled configuring the action. - * @param configurable true to enable configurability, false to disable - */ - void setConfigurable( bool configurable ); - - /** - * Enables or disabled the action. - * @param configurable true to enable the action, false to disable - */ - void setEnabled( bool enable ); - - /** - * Retrieves the id set using setID. - * @return the id of the accelerator action - */ - int getID() const { return m_nIDAccel; } - - /** - * Allows you to set an id that will be used as the action - * signal's argument. - * - * @param n the new id - * @see getID() - */ - void setID( int n ) { m_nIDAccel = n; } - - /** - * Checkes whether the action is connected (emits signals). - * @return true if connected, false otherwise - */ - bool isConnected() const; - - /** - * Sets a key sequence of the action's shortcut. - * @param i the position of the sequence - * @param keySeq the new new sequence - * @return true if successful, false otherwise - * @see KShortcut::setSeq() - */ - bool setKeySequence( uint i, const KKeySequence &keySeq ); - - /** - * Clears the action's shortcut. It will not contain any sequences after - * calling this method. - * @see KShortcut::clear() - */ - void clearShortcut(); - - /** - * Checks whether the action's shortcut contains the given key sequence. - * @param keySeq the key sequence to check - * @return true if the shortcut contains the given sequence - * @see KShortcut::contains() - */ - bool contains( const KKeySequence &keySeq ); - - /** - * Returns the string representation of the action's shortcut. - * @return the string representation of the action's shortcut. - * @see KShortcut::toString() - */ - TQString toString() const; - - /** - * @internal - */ - TQString toStringInternal() const; - - /** - * Returns true if four modifier keys will be used. - * @return true if four modifier keys will be used. - */ - static bool useFourModifierKeys(); - - /** - * Selects 3 or 4 modifier default shortcuts. - * @param use true to use 4 modifier shortcuts, false to use - * 3 modifier shortcuts - */ - static void useFourModifierKeys( bool use ); - - protected: - TQString m_sName, - m_sLabel, - m_sWhatsThis; - KShortcut m_cut; - KShortcut m_cutDefault3, m_cutDefault4; - const TQObject* m_pObjSlot; - const char* m_psMethodSlot; - bool m_bConfigurable, - m_bEnabled; - int m_nIDAccel; - uint m_nConnections; - - void incConnections(); - void decConnections(); - - private: - static int g_bUseFourModifierKeys; - class KAccelActionPrivate* d; - - friend class KAccelActions; - friend class KAccelBase; -}; - -//--------------------------------------------------------------------- -// KAccelActions -//--------------------------------------------------------------------- - -/** - * @internal - * This class represents a collection of KAccelAction objects. - * - * @short A collection of accelerator actions - * @see KAccelAction - */ -class KDECORE_EXPORT KAccelActions -{ - public: - /** - * Creates a new, empty KAccelActions object. - */ - KAccelActions(); - - /** - * Copy constructor (deep copy). - */ - KAccelActions( const KAccelActions& ); - virtual ~KAccelActions(); - - /** - * Removes all items from this collection. - */ - void clear(); - - /** - * Initializes this object with the given actions. - * It will make a deep copy of all actions. - * @param actions the actions to copy - * @return true if successful, false otherwise - */ - bool init( const KAccelActions &actions ); - - /** - * Loads the actions from the given configuration file. - * - * @param config the configuration file to load from - * @param sGroup the group in the configuration file - * @return true if successful, false otherwise - */ - bool init( KConfigBase& config, const TQString& sGroup ); - - /** - * Updates the shortcuts of all actions in this object - * with the shortcuts from the given object. - * @param shortcuts the collection that contains the new - * shortcuts - */ - void updateShortcuts( KAccelActions &shortcuts ); - - /** - * Retrieves the index of the action with the given name. - * @param sAction the action to search - * @return the index of the action, or -1 if not found - */ - int actionIndex( const TQString& sAction ) const; - - /** - * Returns the action with the given @p index. - * @param index the index of an action. You must not - * use an index that is too high. - * @return the KAccelAction with the given index - * @see count() - */ - KAccelAction* actionPtr( uint index ); - - /** - * Returns the action with the given @p index. - * @param index the index of an action. You must not - * use an index that is too high. - * @return the KAccelAction with the given index - * @see count() - */ - const KAccelAction* actionPtr( uint index ) const; - - /** - * Returns the action with the given name. - * @param aAction the name of the action to search - * @return the KAccelAction with the given name, or 0 - * if not found - */ - KAccelAction* actionPtr( const TQString& sAction ); - - /** - * Returns the action with the given name. - * @param aAction the name of the action to search - * @return the KAccelAction with the given name, or 0 - * if not found - */ - const KAccelAction* actionPtr( const TQString& sAction ) const; - - /** - * Returns the action with the given key sequence. - * @param cut the sequence to search for - * @return the KAccelAction with the given sequence, or 0 - * if not found - */ - KAccelAction* actionPtr( KKeySequence cut ); - - /** - * Returns the action with the given @p index. - * @param index the index of an action. You must not - * use an index that is too high. - * @return the KAccelAction with the given index - * @see actionPtr() - * @see count() - */ - KAccelAction& operator []( uint index ); - - /** - * Returns the action with the given @p index. - * @param index the index of an action. You must not - * use an index that is too high. - * @return the KAccelAction with the given index - * @see actionPtr() - * @see count() - */ - const KAccelAction& operator []( uint index ) const; - - /** - * Inserts an action into the collection. - * @param sName the name of the accelerator - * @param sLabel the label of the accelerator (i18n!) - * @param sWhatsThis the What's This text (18n!) - * @param cutDef3 the default shortcut for 3 modifier systems - * @param cutDef4 the default shortcut for 4 modifier systems - * @param pObjSlot the receiver of a signal when the key has been - * pressed - * @param psMethodSlot the slot to connect for key presses. Receives - * an int, as set by setID(), as only argument - * @param bConfigurable if true the user can configure the shortcut - * @param bEnabled true if the accelerator should be enabled - * @return the new action - */ - KAccelAction* insert( const TQString& sAction, const TQString& sLabel, const TQString& sWhatsThis, - const KShortcut& rgCutDefaults3, const KShortcut& rgCutDefaults4, - const TQObject* pObjSlot = 0, const char* psMethodSlot = 0, - bool bConfigurable = true, bool bEnabled = true ); - - /** - * Inserts an action into the collection. - * @param sName the name of the accelerator - * @param sLabel the label of the accelerator (i18n!) - * @return the new action - */ - KAccelAction* insert( const TQString& sName, const TQString& sLabel ); - - /** - * Removes the given action. - * @param sAction the name of the action. - * @return true if successful, false otherwise - */ - bool remove( const TQString& sAction ); - - /** - * Loads the actions from the given configuration file. - * - * @param sConfigGroup the group in the configuration file - * @param pConfig the configuration file to load from - * @return true if successful, false otherwise - */ - bool readActions( const TQString& sConfigGroup = "Shortcuts", KConfigBase* pConfig = 0 ); - - /** - * Writes the actions to the given configuration file. - * - * @param sConfigGroup the group in the configuration file - * @param pConfig the configuration file to save to - * @param bWriteAll true to write all actions - * @param bGlobal true to write to the global configuration file - * @return true if successful, false otherwise - */ - bool writeActions( const TQString& sConfigGroup = "Shortcuts", KConfigBase* pConfig = 0, - bool bWriteAll = false, bool bGlobal = false ) const; - - /** - * Emit a keycodeChanged signal. - */ - void emitKeycodeChanged(); - - /** - * Returns the number of actions in the collection. - * @return the number of actions - */ - uint count() const; - - protected: - KAccelBase* m_pKAccelBase; - KAccelAction** m_prgActions; - uint m_nSizeAllocated, m_nSize; - - void resize( uint ); - void insertPtr( KAccelAction* ); - - private: - class KAccelActionsPrivate* d; - - KAccelActions( KAccelBase* ); - void initPrivate( KAccelBase* ); - KAccelActions& operator =( KAccelActions& ); - - friend class KAccelBase; -}; - -#endif // _KACCELACTION_H diff --git a/python/pykde/extra/kde342/kaccelbase.h b/python/pykde/extra/kde342/kaccelbase.h deleted file mode 100644 index 0238c63a..00000000 --- a/python/pykde/extra/kde342/kaccelbase.h +++ /dev/null @@ -1,229 +0,0 @@ -/* This file is part of the KDE libraries - Copyright (C) 2001 Ellis Whitehead - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. -*/ - -#ifndef _KACCELBASE_H -#define _KACCELBASE_H - -#include -#include -#include -#include -#include - -#include "kaccelaction.h" -#include "kkeyserver.h" - -class TQPopupMenu; -class TQWidget; - -//---------------------------------------------------- - -/** - * @internal - * Handle keyboard accelerators. - * - * Allow an user to configure - * key bindings through application configuration files or through the - * KKeyChooser GUI. - * - * A KAccel contains a list of accelerator items. Each accelerator item - * consists of an action name and a keyboard code combined with modifiers - * (Shift, Ctrl and Alt.) - * - * For example, "Ctrl+P" could be a shortcut for printing a document. The key - * codes are listed in ckey.h. "Print" could be the action name for printing. - * The action name identifies the key binding in configuration files and the - * KKeyChooser GUI. - * - * When pressed, an accelerator key calls the slot to which it has been - * connected. Accelerator items can be connected so that a key will activate - * two different slots. - * - * A KAccel object handles key events sent to its parent widget and to all - * children of this parent widget. - * - * Key binding reconfiguration during run time can be prevented by specifying - * that an accelerator item is not configurable when it is inserted. A special - * group of non-configurable key bindings are known as the - * standard accelerators. - * - * The standard accelerators appear repeatedly in applications for - * standard document actions such as printing and saving. Convenience methods are - * available to insert and connect these accelerators which are configurable on - * a desktop-wide basis. - * - * It is possible for a user to choose to have no key associated with - * an action. - * - * The translated first argument for insertItem() is used only - * in the configuration dialog. - *\code - * KAccel *a = new KAccel( myWindow ); - * // Insert an action "Scroll Up" which is associated with the "Up" key: - * a->insertItem( i18n("Scroll Up"), "Scroll Up", "Up" ); - * // Insert an action "Scroll Down" which is not associated with any key: - * a->insertItem( i18n("Scroll Down"), "Scroll Down", 0); - * a->connectItem( "Scroll up", myWindow, TQT_SLOT( scrollUp() ) ); - * // a->insertStdItem( KStdAccel::Print ); //not necessary, since it - * // is done automatially with the - * // connect below! - * a->connectItem(KStdAccel::Print, myWindow, TQT_SLOT( printDoc() ) ); - * - * a->readSettings(); - *\endcode - * - * If a shortcut has a menu entry as well, you could insert them like - * this. The example is again the KStdAccel::Print from above. - * - * \code - * int id; - * id = popup->insertItem("&Print",this, TQT_SLOT(printDoc())); - * a->changeMenuAccel(popup, id, KStdAccel::Print ); - * \endcode - * - * If you want a somewhat "exotic" name for your standard print action, like - * id = popup->insertItem(i18n("Print &Document"),this, TQT_SLOT(printDoc())); - * it might be a good idea to insert the standard action before as - * a->insertStdItem( KStdAccel::Print, i18n("Print Document") ) - * as well, so that the user can easily find the corresponding function. - * - * This technique works for other actions as well. Your "scroll up" function - * in a menu could be done with - * - * \code - * id = popup->insertItem(i18n"Scroll &up",this, TQT_SLOT(scrollUp())); - * a->changeMenuAccel(popup, id, "Scroll Up" ); - * \endcode - * - * Please keep the order right: First insert all functions in the - * acceleratior, then call a -> readSettings() and @em then build your - * menu structure. - * - * @short Configurable key binding support. - */ - -class KDECORE_EXPORT KAccelBase -{ - public: - enum Init { QT_KEYS = 0x00, NATIVE_KEYS = 0x01 }; - enum Signal { KEYCODE_CHANGED }; - - KAccelBase( int fInitCode ); - virtual ~KAccelBase(); - - uint actionCount() const; - KAccelActions& actions(); - bool isEnabled() const; - - KAccelAction* actionPtr( const TQString& sAction ); - const KAccelAction* actionPtr( const TQString& sAction ) const; - KAccelAction* actionPtr( const KKey& key ); - KAccelAction* actionPtr( const KKeyServer::Key& key ); - - const TQString& configGroup() const { return m_sConfigGroup; } - void setConfigGroup( const TQString& group ); - void setConfigGlobal( bool global ); - virtual void setEnabled( bool bEnabled ) = 0; - bool getAutoUpdate() { return m_bAutoUpdate; } - // return value of AutoUpdate flag before this call. - bool setAutoUpdate( bool bAuto ); - -// Procedures for manipulating Actions. - //void clearActions(); - - KAccelAction* insert( const TQString& sName, const TQString& sDesc ); - KAccelAction* insert( - const TQString& sAction, const TQString& sDesc, const TQString& sHelp, - const KShortcut& rgCutDefaults3, const KShortcut& rgCutDefaults4, - const TQObject* pObjSlot, const char* psMethodSlot, - bool bConfigurable = true, bool bEnabled = true ); - bool remove( const TQString& sAction ); - bool setActionSlot( const TQString& sAction, const TQObject* pObjSlot, const char* psMethodSlot ); - - bool updateConnections(); - - bool setShortcut( const TQString& sAction, const KShortcut& cut ); - -// Modify individual Action sub-items - bool setActionEnabled( const TQString& sAction, bool bEnable ); - - /** - * Read all key associations from @p config, or (if @p config - * is zero) from the application's configuration file - * KGlobal::config(). - * - * The group in which the configuration is stored can be - * set with setConfigGroup(). - */ - void readSettings( KConfigBase* pConfig = 0 ); - - /** - * Write the current configurable associations to @p config, - * or (if @p config is zero) to the application's - * configuration file. - */ - void writeSettings( KConfigBase* pConfig = 0 ) const; - - TQPopupMenu* createPopupMenu( TQWidget* pParent, const KKeySequence& ); - - // Protected methods - protected: - void slotRemoveAction( KAccelAction* ); - - struct X; - void createKeyList( TQValueVector& rgKeys ); - bool insertConnection( KAccelAction* ); - bool removeConnection( KAccelAction* ); - - virtual bool emitSignal( Signal ) = 0; - virtual bool connectKey( KAccelAction&, const KKeyServer::Key& ) = 0; - virtual bool connectKey( const KKeyServer::Key& ) = 0; - virtual bool disconnectKey( KAccelAction&, const KKeyServer::Key& ) = 0; - virtual bool disconnectKey( const KKeyServer::Key& ) = 0; - - protected: - struct ActionInfo - { - KAccelAction* pAction; - uint iSeq, iVariation; - //ActionInfo* pInfoNext; // nil if only one action uses this key. - - ActionInfo() { pAction = 0; iSeq = 0xffff; iVariation = 0xffff; } - ActionInfo( KAccelAction* _pAction, uint _iSeq, uint _iVariation ) - { pAction = _pAction; iSeq = _iSeq; iVariation = _iVariation; } - }; - typedef TQMap KKeyToActionMap; - - KAccelActions m_rgActions; - KKeyToActionMap m_mapKeyToAction; - TQValueList m_rgActionsNonUnique; - bool m_bNativeKeys; // Use native key codes instead of Qt codes - bool m_bEnabled; - bool m_bConfigIsGlobal; - TQString m_sConfigGroup; - bool m_bAutoUpdate; - KAccelAction* mtemp_pActionRemoving; - - private: - KAccelBase& operator =( const KAccelBase& ); - - friend class KAccelActions; -}; - -#endif // _KACCELBASE_H diff --git a/python/pykde/extra/kde342/kicontheme.h b/python/pykde/extra/kde342/kicontheme.h deleted file mode 100644 index fe0d9d6a..00000000 --- a/python/pykde/extra/kde342/kicontheme.h +++ /dev/null @@ -1,355 +0,0 @@ -/* vi: ts=8 sts=4 sw=4 - * - * This file is part of the KDE project, module kdecore. - * Copyright (C) 2000 Geert Jansen - * Antonio Larrosa - * - * This is free software; it comes under the GNU Library General - * Public License, version 2. See the file "COPYING.LIB" for the - * exact licensing terms. - * - */ - -#ifndef __KIconTheme_h_Included__ -#define __KIconTheme_h_Included__ - -#include -#include -#include -#include "kdelibs_export.h" - -class KConfig; -//class KIconThemeDir; - -class KIconThemePrivate; - -class KIconPrivate; - -/** - * One icon as found by KIconTheme. Also serves as a namespace containing - * icon related constants. - * @see KIconEffect - * @see KIconTheme - * @see KIconLoader - */ -class KDECORE_EXPORT KIcon -{ -public: - KIcon() { size = 0; } - - /** - * Return true if this icon is valid, false otherwise. - */ - bool isValid() const { return size != 0; } - - /** - * Defines the context of the icon. - */ - enum Context { - Any, ///< Some icon with unknown purpose. - Action, ///< An action icon (e.g. 'save', 'print'). - Application, ///< An icon that represents an application. - Device, ///< An icon that represents a device. - FileSystem, ///< An icon that represents a file system. - MimeType ///< An icon that represents a mime type (or file type). - }; - - /** - * The type of the icon. - */ - enum Type { - Fixed, ///< Fixed-size icon. - Scalable, ///< Scalable-size icon. - Threshold ///< A threshold icon. - }; - - /** - * The type of a match. - */ - enum MatchType { - MatchExact, ///< Only try to find an exact match. - MatchBest ///< Take the best match if there is no exact match. - - }; - - // if you add a group here, make sure to change the config reading in - // KIconLoader too - /** - * The group of the icon. - */ - enum Group { - /// No group - NoGroup=-1, - /// Desktop icons - Desktop=0, - /// First group - FirstGroup=0, - /// Toolbar icons - Toolbar, - /// Main toolbar icons - MainToolbar, - /// Small icons - Small, - /// Panel (Kicker) icons - Panel, - /// Last group - LastGroup, - /// User icons - User - }; - - /** - * These are the standard sizes for icons. - */ - enum StdSizes { - /// small icons for menu entries - SizeSmall=16, - /// slightly larger small icons for toolbars, panels, etc - SizeSmallMedium=22, - /// medium sized icons for the desktop - SizeMedium=32, - /// large sized icons for the panel - SizeLarge=48, - /// huge sized icons for iconviews - SizeHuge=64, - /// enormous sized icons for iconviews - SizeEnormous=128 - }; - - /** - * Defines the possible states of an icon. - */ - enum States { DefaultState, ///< The default state. - ActiveState, ///< Icon is active. - DisabledState, ///< Icon is disabled. - LastState ///< Last state (last constant) - }; - - /** - * This defines an overlay, a semi-transparent image that is - * projected onto the icon. They are used to show that the file - * represented by the icon is, for example, locked, zipped or hidden. - */ - enum Overlays { - LockOverlay=0x100, ///< a file is locked - ZipOverlay=0x200, ///< a file is zipped - LinkOverlay=0x400, ///< a file is a link - HiddenOverlay=0x800, ///< a file is hidden - ShareOverlay=0x1000, ///< a file is shared - OverlayMask = ~0xff - }; - - /** - * The size in pixels of the icon. - */ - int size; - - /** - * The context of the icon. - */ - Context context; - - /** - * The type of the icon: Fixed, Scalable or Threshold. - **/ - Type type; - - /** - * The threshold in case type == Threshold - */ - int threshold; - - /** - * The full path of the icon. - */ - TQString path; - -private: - KIconPrivate *d; -}; - -inline KIcon::Group& operator++(KIcon::Group& group) { group = static_cast(group+1); return group; } -inline KIcon::Group operator++(KIcon::Group& group,int) { KIcon::Group ret = group; ++group; return ret; } - -/** - * Class to use/access icon themes in KDE. This class is used by the - * iconloader but can be used by others too. - * @see KIconLoader - */ -class KDECORE_EXPORT KIconTheme -{ -public: - /** - * Load an icon theme by name. - * @param name the name of the theme (e.g. "hicolor" or "keramik") - * @param appName the name of the application. Can be null. This argument - * allows applications to have themed application icons. - */ - KIconTheme(const TQString& name, const TQString& appName=TQString::null); - ~KIconTheme(); - - /** - * The stylized name of the icon theme. - * @return the (human-readable) name of the theme - */ - TQString name() const { return mName; } - - /** - * A description for the icon theme. - * @return a human-readable description of the theme, TQString::null - * if there is none - */ - TQString description() const { return mDesc; } - - /** - * Return the name of the "example" icon. This can be used to - * present the theme to the user. - * @return the name of the example icon, TQString::null if there is none - */ - TQString example() const; - - /** - * Return the name of the screenshot. - * @return the name of the screenshot, TQString::null if there is none - */ - TQString screenshot() const; - - /** - * Returns the name of this theme's link overlay. - * @return the name of the link overlay - */ - TQString linkOverlay() const; - - /** - * Returns the name of this theme's zip overlay. - * @return the name of the zip overlay - */ - TQString zipOverlay() const; - - /** - * Returns the name of this theme's lock overlay. - * @return the name of the lock overlay - */ - TQString lockOverlay() const; - - /** - * Returns the name of this theme's share overlay. - * @return the name of the share overlay - * @since 3.1 - */ - TQString shareOverlay () const; - - /** - * Returns the toplevel theme directory. - * @return the directory of the theme - */ - TQString dir() const { return mDir; } - - /** - * The themes this icon theme falls back on. - * @return a list of icon themes that are used as fall-backs - */ - TQStringList inherits() const { return mInherits; } - - /** - * The icon theme exists? - * @return true if the icon theme is valid - */ - bool isValid() const; - - /** - * The icon theme should be hidden to the user? - * @return true if the icon theme is hidden - * @since 3.1 - */ - bool isHidden() const; - - /** - * The minimum display depth required for this theme. This can either - * be 8 or 32. - * @return the minimum bpp (8 or 32) - */ - int depth() const { return mDepth; } - - /** - * The default size of this theme for a certain icon group. - * @param group The icon group. See KIcon::Group. - * @return The default size in pixels for the given icon group. - */ - int defaultSize(KIcon::Group group) const; - - /** - * Query available sizes for a group. - * @param group The icon group. See KIcon::Group. - * @return a list of available sized for the given group - */ - TQValueList querySizes(KIcon::Group group) const; - - /** - * Query available icons for a size and context. - * @param size the size of the icons - * @param context the context of the icons - * @return the list of icon names - */ - TQStringList queryIcons(int size, KIcon::Context context = KIcon::Any) const; - - /** - * Query available icons for a context and preferred size. - * @param size the size of the icons - * @param context the context of the icons - * @return the list of icon names - */ - TQStringList queryIconsByContext(int size, KIcon::Context context = KIcon::Any) const; - - - /** - * Lookup an icon in the theme. - * @param name The name of the icon, without extension. - * @param size The desired size of the icon. - * @param match The matching mode. KIcon::MatchExact returns an icon - * only if matches exactly. KIcon::MatchBest returns the best matching - * icon. - * @return A KIcon class that describes the icon. If an icon is found, - * @see KIcon::isValid will return true, and false otherwise. - */ - KIcon iconPath(const TQString& name, int size, KIcon::MatchType match) const; - - /** - * List all icon themes installed on the system, global and local. - * @return the list of all icon themes - */ - static TQStringList list(); - - /** - * Returns the current icon theme. - * @return the name of the current theme - */ - static TQString current(); - - /** - * Reconfigure the theme. - */ - static void reconfigure(); - - /** - * Returns the default icon theme. - * @return the name of the default theme name - * @since 3.1 - */ - static TQString defaultThemeName(); - -private: - int mDefSize[8]; - TQValueList mSizes[8]; - - int mDepth; - TQString mDir, mName, mDesc; - TQStringList mInherits; -// TQPtrList mDirs; -// KIconThemePrivate *d; - - static TQString *_theme; - static TQStringList *_theme_list; -}; - -#endif diff --git a/python/pykde/extra/kde342/kkeyserver.h b/python/pykde/extra/kde342/kkeyserver.h deleted file mode 100644 index ef673ea9..00000000 --- a/python/pykde/extra/kde342/kkeyserver.h +++ /dev/null @@ -1,29 +0,0 @@ -/* - Copyright (C) 2001 Ellis Whitehead - - Win32 port: - Copyright (C) 2004 Jaroslaw Staniek - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. -*/ - -#ifndef _KKEYSERVER_H -#define _KKEYSERVER_H - -//FOR COMPATIBILITY -#include "kkeyserver_x11.h" - -#endif // !_KKEYSERVER_H diff --git a/python/pykde/extra/kde342/kkeyserver_x11.h b/python/pykde/extra/kde342/kkeyserver_x11.h deleted file mode 100644 index 23ee47dc..00000000 --- a/python/pykde/extra/kde342/kkeyserver_x11.h +++ /dev/null @@ -1,469 +0,0 @@ -/* - Copyright (C) 2001 Ellis Whitehead - - Win32 port: - Copyright (C) 2004 Jaroslaw Staniek - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. -*/ - -#ifndef _KKEYSERVER_X11_H -#define _KKEYSERVER_X11_H - -#include "kshortcut.h" -#include "kkeynative.h" - -/** - * A collection of functions for the conversion of key presses and - * their modifiers from the window system specific format - * to the generic format and vice-versa. - */ -namespace KKeyServer -{ - /** - * Supplement enum KKey::ModFlag - * @since 3.1 - */ - enum ExtraModFlag { MODE_SWITCH = 0x2000 }; - - /** - * Represents a key symbol. - * @see KKey - * @see KKeyServer - */ - struct KDECORE_EXPORT Sym - { - public: - /// the actual value of the symbol - uint m_sym; - - /// Creates a null symbol. - Sym() - { m_sym = 0; } - /** - * Creates asymbol with the given value. - * @param sym the value - */ - Sym( uint sym ) - { m_sym = sym; } - /** - * Creates a symbol from the given string description. - * @param s the description of the symbol - * @see toString() - */ - Sym( const TQString& s ) - { init( s ); } - - /** - * Initializes the symbol with the given Qt key code. - * @param keyQt the qt key code - * @return true if successful, false otherwise - * @see Qt::Key - */ - bool initQt( int keyQt ); - - /** - * Initializes the key with the given string description. - * @param s the string description - * @return true if successful, false otherwise - * @see toString() - */ - bool init( const TQString &s ); - - /** - * Returns the qt key code of the symbol. - * @return the qt key code - */ - int qt() const; - - /** - * @internal - */ - TQString toStringInternal() const; - - /** - * Returns the string representation of the symbol. - * @return the string representation of the symbol - */ - TQString toString() const; - - /** - * Returns the mods that are required for this symbol as - * ORed KKey::ModFlag's. For example, Break requires a - * Ctrl to be valid. - * @return the required KKey::ModFlag's - * @see KKey::ModFlag - */ - uint getModsRequired() const; - - /** - * TODO: please find out what this method does and document it - */ - uint getSymVariation() const; - - /** - * Casts the symbol to its integer representation. - */ - operator uint() const { return m_sym; } - - /** - * Overloaded operator to convert ints to Sym. - */ - Sym& operator =( uint sym ) { m_sym = sym; return *this; } - - private: - TQString toString( bool bUserSpace ) const; - - static void capitalizeKeyname( TQString& ); - }; - - /** - * Represents a key press. - * @see KKey - */ - struct KDECORE_EXPORT Key - { - /// Code for native Keys in Qt - enum { CODE_FOR_QT = 256 }; - - /// The code of the key - uint m_code; - - /// The modifiers of the key - uint m_mod; - - /// The symbol of the key - uint m_sym; - - /** - * Initializes the key with a KKey. - * @param key the key to get the data from - * @param bQt true to take the Qt keycode, false - * for the native key code - * @see Qt::Key - * @see KKeyNative - */ - bool init( const KKey& key, bool bQt ); - - /** - * Checks whether the key code is a native code. - * @return true if native code of the window system, - * false if it is a Qt keycode - * @see Qt::Key - * @see KKeyNative - */ - bool isNative() const { return m_code != CODE_FOR_QT; } - - /** - * Returns the code of the key. - * @return the code of the key - */ - uint code() const { return m_code; } - - /** - * Returns the modifiers of the key. - * @return the modifiers of the key - */ - uint mod() const { return m_mod; } - - /** - * Returns the symbol of the key. - * @return the symbol of the key - */ - uint sym() const { return m_sym; } - - /** - * Returns the qt key code. - * @return the qt key code - */ - int keyCodeQt() const { return (int) m_sym; } - - /** - * Sets the qt key code. - * @param keyQt the qt key code - */ - void setKeycodeQt( int keyQt ) - { m_code = CODE_FOR_QT; m_sym = keyQt; } - - /** - * Initializes this key with a KKeyNative. - * @return this key - */ - Key& operator =( const KKeyNative& key ); - - /** - * Compares this key with the given Key object. Returns a - * negative number if the given Key is larger, 0 if they - * are equal and a positive number this Key is larger. The - * returned value is the difference between the symbol, modifier - * or code, whatever is non-zero first. - * - * @param key the key to compare with this key - * @return a negative number if the given Key is larger, 0 if - * they are equal and a positive number this Key is larger - */ - int compare( const Key& key ) const; - - /** - * Compares the symbol, modifiers and code of both keys. - * @see compare() - */ - bool operator ==( const Key& b ) const - { return compare( b ) == 0; } - - /** - * Compares the symbol, modifiers and code of both keys. - * @see compare() - */ - bool operator <( const Key& b ) const - { return compare( b ) < 0; } - - /** - * Converts this Key to a KKey. - * @return the KKey - */ - KKey key() const; - }; - - /** - * TODO: please document this class - */ - struct KDECORE_EXPORT Variations - { - enum { MAX_VARIATIONS = 4 }; - - Key m_rgkey[MAX_VARIATIONS]; - uint m_nVariations; - - Variations() { m_nVariations = 0; } - - void init( const KKey&, bool bQt ); - - uint count() const { return m_nVariations; } - const Key& key( uint i ) const { return m_rgkey[i]; } - }; - - /// TODO: please document - KDECORE_EXPORT bool initializeMods(); - - /** - * Returns the equivalent X modifier mask of the given modifier flag. - * @param modFlag the generic flags to check - * @return the window system specific flags - */ - KDECORE_EXPORT uint modX( KKey::ModFlag modFlag ); - - /** - * Returns true if the current keyboard layout supports the Win key. - * Specifically, whether the Super or Meta keys are assigned to an X modifier. - * @return true if the keyboard has a Win key - * @see modXWin() - */ - KDECORE_EXPORT bool keyboardHasWinKey(); - - /** - * Returns the X11 Shift modifier mask/flag. - * @return the X11 Shift modifier mask/flag. - * @see accelModMaskX() - */ - KDECORE_EXPORT uint modXShift(); - - /** - * Returns the X11 Lock modifier mask/flag. - * @return the X11 Lock modifier mask/flag. - * @see accelModMaskX() - */ - KDECORE_EXPORT uint modXLock(); - - /** - * Returns the X11 Ctrl modifier mask/flag. - * @return the X11 Ctrl modifier mask/flag. - * @see accelModMaskX() - */ - KDECORE_EXPORT uint modXCtrl(); - - /** - * Returns the X11 Alt (Mod1) modifier mask/flag. - * @return the X11 Alt (Mod1) modifier mask/flag. - * @see accelModMaskX() - */ - KDECORE_EXPORT uint modXAlt(); - - /** - * Returns the X11 NumLock modifier mask/flag. - * @return the X11 NumLock modifier mask/flag. - * @see accelModMaskX() - */ - KDECORE_EXPORT uint modXNumLock(); - - /** - * Returns the X11 Win (Mod3) modifier mask/flag. - * @return the X11 Win (Mod3) modifier mask/flag. - * @see keyboardHasWinKey() - * @see accelModMaskX() - */ - KDECORE_EXPORT uint modXWin(); - - /** - * Returns the X11 ScrollLock modifier mask/flag. - * @return the X11 ScrollLock modifier mask/flag. - * @see accelModMaskX() - */ - KDECORE_EXPORT uint modXScrollLock(); - - /** - * Returns the X11 Mode_switch modifier mask/flag. - * @return the X11 Mode_switch modifier mask/flag. - * @see accelModMaskX() - * @since 3.5 - */ - KDECORE_EXPORT uint modXModeSwitch(); - - /** - * Returns bitwise OR'ed mask containing Shift, Ctrl, Alt, and - * Win (if available). - * @see modXShift() - * @see modXLock() - * @see modXCtrl() - * @see modXAlt() - * @see modXNumLock() - * @see modXWin() - * @see modXScrollLock() - */ - KDECORE_EXPORT uint accelModMaskX(); - - /** - * Extracts the symbol from the given Qt key and - * converts it to a symbol. - * @param keyQt the qt key code - * @param sym if successful, the symbol will be written here - * @return true if successful, false otherwise - * @see Qt::Key - * @see Sym - */ - KDECORE_EXPORT bool keyQtToSym( int keyQt, uint& sym ); - - /** - * Extracts the modifiers from the given Qt key and - * converts them in a mask of ORed KKey::ModFlag modifiers. - * @param keyQt the qt key code - * @param mod if successful, the modifiers will be written here - * @return true if successful, false otherwise - * @see Qt::Key - */ - KDECORE_EXPORT bool keyQtToMod( int keyQt, uint& mod ); - - /** - * Converts the given symbol to a Qt key code. - * @param sym the symbol - * @param keyQt if successful, the qt key code will be written here - * @return true if successful, false otherwise - * @see Qt::Key - * @see Sym - */ - KDECORE_EXPORT bool symToKeyQt( uint sym, int& keyQt ); - - /** - * Converts the mask of ORed KKey::ModFlag modifiers to - * a mask of ORed Qt key code modifiers. - * @param mod the mask of KKey::ModFlag modifiers - * @param modQt the mask of Qt key code modifiers will be written here, - * if successful - * @return true if successful, false otherwise - * @see Qt::Key - * @see KKey - */ - KDECORE_EXPORT bool modToModQt( uint mod, int& modQt ); - - /** - * Converts the mask of ORed KKey::ModFlag modifiers to - * a mask of ORed X11 modifiers. - * @param mod the mask of KKey::ModFlag modifiers - * @param modX the mask of X11 modifiers will be written here, - * if successful - * @return true if successful, false otherwise - * @see KKey - */ - KDECORE_EXPORT bool modToModX( uint mod, uint& modX ); - - /** - * Converts the mask of ORed X11 modifiers to - * a mask of ORed Qt key code modifiers. - * @param modX the mask of X11 modifiers - * @param modQt the mask of Qt key code modifiers will be written here - * if successful - * @return true if successful, false otherwise - * @see Qt::Key - */ - //wrapped for win32 - KDECORE_EXPORT bool modXToModQt( uint modX, int& modQt ); - - /** - * Converts the Qt-compatible button state to x11 modifier. - */ - KDECORE_EXPORT int qtButtonStateToMod( Qt::ButtonState s ); - - /** - * Converts the mask of ORed X11 modifiers to - * a mask of ORed KKey::ModFlag modifiers. - * @param modX the mask of X11 modifiers - * @param mod the mask of KKey::ModFlag modifiers will be written here, - * if successful - * @return true if successful, false otherwise - * @see KKey - */ - KDECORE_EXPORT bool modXToMod( uint modX, uint& mod ); - - /** - * Converts a X11 key code and a mask of ORed X11 modifiers - * into a X11 symbol. - * converts it to a symbol. - * @param codeX the X11 key code - * @param modX the mask of ORed X11 modifiers - * @param symX if successful, the X11 symbol will be written here - * @return true if successful, false otherwise - * @see Qt::Key - * @see Sym - */ - KDECORE_EXPORT bool codeXToSym( uchar codeX, uint modX, uint& symX ); - - /** - * @internal - */ - KDECORE_EXPORT TQString modToStringInternal( uint mod ); - - /** - * Converts the mask of ORed KKey::ModFlag modifiers to a - * user-readable string. - * @param mod the mask of ORed KKey::ModFlag modifiers - * @return the user-readable string - */ - KDECORE_EXPORT TQString modToStringUser( uint mod ); - - /** - * @internal - * Unimplemented? - */ - KDECORE_EXPORT bool stringToSymMod( const TQString&, uint& sym, uint& mod ); - - /** - * @internal - * Unimplemented? - */ - KDECORE_EXPORT void keyQtToKeyX( uint keyCombQt, unsigned char *pKeyCodeX, uint *pKeySymX, uint *pKeyModX ); -} - -#endif // !_KKEYSERVER_X11_H diff --git a/python/pykde/extra/kde342/konsole_part.h b/python/pykde/extra/kde342/konsole_part.h deleted file mode 100644 index 51c49f5e..00000000 --- a/python/pykde/extra/kde342/konsole_part.h +++ /dev/null @@ -1,228 +0,0 @@ -/* - This file is part of the KDE system - Copyright (C) 1999,2000 Boloni Laszlo - - This program is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. - */ - -#ifndef __KONSOLE_PART_H__ -#define __KONSOLE_PART_H__ - -#include -#include - - -#include - -#include - -//#include "schema.h" -//#include "session.h" - -class KInstance; -class konsoleBrowserExtension; -class TQPushButton; -class TQSpinBox; -class KPopupMenu; -class TQCheckBox; -class KRootPixmap; -class KToggleAction; -class KSelectAction; - -namespace KParts { class GUIActivateEvent; } - -class konsoleFactory : public KParts::Factory -{ - Q_OBJECT -public: - konsoleFactory(); - virtual ~konsoleFactory(); - - virtual KParts::Part* createPartObject(TQWidget *parentWidget = 0, const char *widgetName = 0, - TQObject* parent = 0, const char* name = 0, - const char* classname = "KParts::Part", - const TQStringList &args = TQStringList()); - - static KInstance *instance(); - - private: - static KInstance *s_instance; - static KAboutData *s_aboutData; -}; - -////////////////////////////////////////////////////////////////////// - -class konsolePart: public KParts::ReadOnlyPart, public TerminalInterface -{ - Q_OBJECT - public: - konsolePart(TQWidget *parentWidget, const char *widgetName, TQObject * parent, const char *name, const char *classname = 0); - virtual ~konsolePart(); - -signals: - void processExited(); - void receivedData( const TQString& s ); - protected: - virtual bool openURL( const KURL & url ); - virtual bool openFile() {return false;} // never used - virtual bool closeURL() {return true;} - virtual void guiActivateEvent( KParts::GUIActivateEvent * event ); - - protected slots: - void showShell(); - void slotProcessExited(); - void slotReceivedData( const TQString& s ); - -// void doneSession(TESession*); - void sessionDestroyed(); -// void configureRequest(TEWidget*,int,int x,int y); - void updateTitle(); - void enableMasterModeConnections(); - - private slots: - void emitOpenURLRequest(const TQString &url); - - void readProperties(); - void saveProperties(); - - void sendSignal(int n); - void closeCurrentSession(); - - void notifySize(int,int); - - void slotToggleFrame(); - void slotSelectScrollbar(); - void slotSelectFont(); - void schema_menu_check(); - void keytab_menu_activated(int item); - void updateSchemaMenu(); - void setSchema(int n); - void pixmap_menu_activated(int item); - void schema_menu_activated(int item); - void slotHistoryType(); - void slotSelectBell(); - void slotSelectLineSpacing(); - void slotBlinkingCursor(); - void slotWordSeps(); - void fontNotFound(); - void slotSetEncoding(); - void slotFontChanged(); - - private: - konsoleBrowserExtension *m_extension; - KURL currentURL; - - void makeGUI(); - void applySettingsToGUI(); - - void setFont(int fontno); -// void setSchema(ColorSchema* s); - void updateKeytabMenu(); - - bool doOpenStream( const TQString& ); - bool doWriteStream( const TQByteArray& ); - bool doCloseStream(); - - TQWidget* parentWidget; -// TEWidget* te; -// TESession* se; -// ColorSchemaList* colors; - KRootPixmap* rootxpm; - - KToggleAction* blinkingCursor; - KToggleAction* showFrame; - - KSelectAction* selectBell; - KSelectAction* selectFont; - KSelectAction* selectLineSpacing; - KSelectAction* selectScrollbar; - KSelectAction* selectSetEncoding; - - KPopupMenu* m_keytab; - KPopupMenu* m_schema; - KPopupMenu* m_signals; - KPopupMenu* m_options; - KPopupMenu* m_popupMenu; - - TQFont defaultFont; - - TQString pmPath; // pixmap path - TQString s_schema; - TQString s_kconfigSchema; - TQString s_word_seps; // characters that are considered part of a word - TQString fontNotFound_par; - - bool b_framevis:1; - bool b_histEnabled:1; - - int curr_schema; // current schema no - int n_bell; - int n_font; - int n_keytab; - int n_render; - int n_scroll; - unsigned m_histSize; - bool m_runningShell; - bool m_streamEnabled; - int n_encoding; - -public: - // these are the implementations for the TermEmuInterface - // functions... - void startProgram( const TQString& program, - const TQStrList& args ); - void showShellInDir( const TQString& dir ); - void sendInput( const TQString& text ); -}; - -////////////////////////////////////////////////////////////////////// - -/*class HistoryTypeDialog : public KDialogBase -{ - Q_OBJECT -public: - HistoryTypeDialog(const HistoryType& histType, - unsigned int histSize, - TQWidget *parent); - -public slots: - void slotDefault(); - void slotSetUnlimited(); - void slotHistEnable(bool); - - unsigned int nbLines() const; - bool isOn() const; - -protected: - TQCheckBox* m_btnEnable; - TQSpinBox* m_size; - TQPushButton* m_setUnlimited; -};*/ - -////////////////////////////////////////////////////////////////////// - -class konsoleBrowserExtension : public KParts::BrowserExtension -{ - Q_OBJECT - friend class konsolePart; - public: - konsoleBrowserExtension(konsolePart *parent); - virtual ~konsoleBrowserExtension(); - - void emitOpenURLRequest(const KURL &url); -}; - -#endif diff --git a/python/pykde/extra/kde342/kpanelmenu.h b/python/pykde/extra/kde342/kpanelmenu.h deleted file mode 100644 index de0b065e..00000000 --- a/python/pykde/extra/kde342/kpanelmenu.h +++ /dev/null @@ -1,182 +0,0 @@ -/***************************************************************** - -Copyright (c) 1996-2000 the kicker authors. See file AUTHORS. - (c) 2001 Michael Goffioul - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN -AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - -******************************************************************/ - -#ifndef __KPANELMENU_H__ -#define __KPANELMENU_H__ - -#include -#include -#include - -class KPanelMenuPrivate; - -/** - * @short Base class to build dynamically loaded menu entries for the K-menu, or the panel. - * - * This class allows to build menu entries that will be dynamically added either to - * the K-menu, or to the panel as a normal button. These dynamic menus are located - * in shared libraries that will be loaded at runtime by Kicker (the %KDE panel). - * - * To build such a menu, you have to inherit this class and implement the pure virtual - * functions #initialize() and slotExec(). You also have to provide a factory - * object in your library, see KLibFactory. This factory is only used to construct - * the menu object. - * - * Finally, you also have to provide a desktop file describing your dynamic menu. The - * relevant entries are: Name, Comment, Icon and X-KDE-Library (which contains the - * library name without any extension). This desktop file has to be installed in - * $KDEDIR/share/apps/kicker/menuext/. - * - * @author The kicker maintainers, Michael Goffioul - */ -class KDEUI_EXPORT KPanelMenu : public KPopupMenu -{ - Q_OBJECT - -public: - /** - * Construct a KPanelMenu object. This is the normal constructor to use when - * building extrernal menu entries. - */ - KPanelMenu(TQWidget *parent=0, const char *name=0); - /** - * Constructor used internally by Kicker. You don't really want to use it. - * @param startDir a directory to associate with this menu - * @param parent parent object - * @param name name of the object - * @see path(), setPath() - */ - KPanelMenu(const TQString &startDir, TQWidget *parent=0, const char *name=0); - /** - * Destructor. - */ - virtual ~KPanelMenu(); - - /** - * Get the directory path associated with this menu, or TQString::null if - * there's no such associated path. - * @return the associated directory path - * @see setPath() - */ - const TQString& path() const; - /** - * Set a directory path to be associated with this menu. - * @param p the directory path - * @see path() - */ - void setPath(const TQString &p); - /** - * Tell if the menu has been initialized, that is it already contains items. - * This is useful when you need to know if you have to clear the menu, or to - * fill it. - * @return the initial state - * @see setInitialized(), initialize() - */ - bool initialized() const; - /** - * Set the initial state. Set it to true when you menu is filled with the items - * you want. - * @param on the initial state - * @see initialized(), initialize() - */ - void setInitialized(bool on); - - /** - * Disable the automatic clearing of the menu. Kicker uses a cache system for - * its menus. After a specific configurable delay, the menu will be cleared. - * Use this function if you want to disable kicker's cache system, and avoid - * the clearing of your menu. - */ - void disableAutoClear(); - -public slots: - /** - * Reinitialize the menu: the menu is first cleared, the initial state is set - * to false, and finally #initialize() is called. Use this if you want to - * refill your menu immediately. - */ - void reinitialize(); - /** - * Deinitialize the menu: the menu is cleared and the initialized state is set to - * false. #initialize() is NOT called. It will be called before the menu is - * next shown, however. Use this slot if you want a delayed reinitialization. - * @since 3.1 - */ - void deinitialize(); - -protected slots: - /** - * This slot is called just before the menu is shown. This allows your menu - * to update itself if needed. However you should instead re-implement - * #initialize to provide this feature. This function is responsible for - * the cache system handling, so if you re-implement it, you should call - * the base function also. Calls #initialize(). - * @see disableAutoClear() - */ - virtual void slotAboutToShow(); - /** - * This is slot is called when an item from the menu has been selected. Your - * applet is then supposed to perform some action. You must re-implement this - * function. - * @param id the ID associated with the selected item - */ - virtual void slotExec(int id) = 0; - /** - * This slots is called to initialize the menu. It is called automatically by - * slotAboutToShow(). By re-implementing this functions, you can reconstruct - * the menu before it is being shown. At the end of this function, you should - * call setInitialize() with true to tell the system that the menu is OK. - * You applet must re-implement this function. - * @see slotAboutToShow(), initialized(), setInitialized() - */ - virtual void initialize() = 0; - /** - * Clears the menu, and update the initial state accordingly. - * @see initialized() - */ - void slotClear(); - -protected: - /** - * Re-implemented for internal reasons. - */ - virtual void hideEvent(TQHideEvent *ev); - /** - * For internal use only. Used by constructors. - */ - void init(const TQString& path = TQString::null); - -protected: - virtual void virtual_hook( int id, void* data ); -private: - void internalInitialize(); - KPanelMenuPrivate *d; -}; - -#define K_EXPORT_KICKER_MENUEXT( libname, classname ) \ - K_EXPORT_COMPONENT_FACTORY( \ - kickermenu_##libname, \ - KGenericFactory("libkickermenu_" #libname) ) - -#endif diff --git a/python/pykde/extra/kde342/krecentdirs.h b/python/pykde/extra/kde342/krecentdirs.h deleted file mode 100644 index 439fb6fe..00000000 --- a/python/pykde/extra/kde342/krecentdirs.h +++ /dev/null @@ -1,70 +0,0 @@ -/* -*- c++ -*- - * Copyright (C)2000 Waldo Bastian - * - * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * - * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND - * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE - * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS - * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) - * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT - * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY - * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF - * SUCH DAMAGE. - * - */ -#ifndef __KRECENTDIRS_H -#define __KRECENTDIRS_H - -#include - -#include - -/** - * The goal of this class is to make sure that, when the user needs to - * specify a file via the file selection dialog, this dialog will start - * in the directory most likely to contain the desired files. - * - * This works as follows: Each time the file selection dialog is - * shown, the programmer can specify a "file-class". The file-dialog will - * then start with the directory associated with this file-class. When - * the dialog closes, the directory currently shown in the file-dialog - * will be associated with the file-class. - * - * A file-class can either start with ':' or with '::'. If it starts with - * a single ':' the file-class is specific to the current application. - * If the file-class starts with '::' it is global to all applications. - */ -class KIO_EXPORT KRecentDirs -{ -public: - /** - * Returns a list of directories associated with this file-class. - * The most recently used directory is at the front of the list. - */ - static TQStringList list(const TQString &fileClass); - - /** - * Returns the most recently used directory accociated with this file-class. - */ - static TQString dir(const TQString &fileClass); - - /** - * Associates @p directory with @p fileClass - */ - static void add(const TQString &fileClass, const TQString &directory); -}; - -#endif diff --git a/python/pykde/extra/kde342/ksharedptr.h b/python/pykde/extra/kde342/ksharedptr.h deleted file mode 100644 index ada08413..00000000 --- a/python/pykde/extra/kde342/ksharedptr.h +++ /dev/null @@ -1,175 +0,0 @@ -/* This file is part of the KDE libraries - Copyright (c) 1999 Waldo Bastian - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License version 2 as published by the Free Software Foundation. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. -*/ -#ifndef KSharedPTR_H -#define KSharedPTR_H - -#include "kdelibs_export.h" - -/** - * Reference counting for shared objects. If you derive your object - * from this class, then you may use it in conjunction with - * KSharedPtr to control the lifetime of your object. - * - * Specifically, all classes that derive from KShared have an internal - * counter keeping track of how many other objects have a reference to - * their object. If used with KSharedPtr, then your object will - * not be deleted until all references to the object have been - * released. - * - * You should probably not ever use any of the methods in this class - * directly -- let the KSharedPtr take care of that. Just derive - * your class from KShared and forget about it. - * - * @author Waldo Bastian - */ -class KDECORE_EXPORT KShared { -public: - /** - * Standard constructor. This will initialize the reference count - * on this object to 0. - */ - KShared() : count(0) { } - - /** - * Copy constructor. This will @em not actually copy the objects - * but it will initialize the reference count on this object to 0. - */ - KShared( const KShared & ) : count(0) { } - - /** - * Overloaded assignment operator. - */ - KShared &operator=(const KShared & ) { return *this; } - - /** - * Increases the reference count by one. - */ - void _KShared_ref() const { count++; } - - /** - * Releases a reference (decreases the reference count by one). If - * the count goes to 0, this object will delete itself. - */ - void _KShared_unref() const { if (!--count) delete this; } - - /** - * Return the current number of references held. - * - * @return Number of references - */ - int _KShared_count() const { return count; } - -protected: - virtual ~KShared() { } -private: - mutable int count; -}; - -/** - * Can be used to control the lifetime of an object that has derived - * KShared. As long a someone holds a KSharedPtr on some KShared - * object it won't become deleted but is deleted once its reference - * count is 0. This struct emulates C++ pointers virtually perfectly. - * So just use it like a simple C++ pointer. - * - * KShared and KSharedPtr are preferred over QShared / QSharedPtr - * since they are more safe. - * - * WARNING: Please note that this class template provides an implicit - * conversion to T*. Do *not* change this pointer or the pointee (don't - * call delete on it, for instance) behind KSharedPtr's back. - * - * @author Waldo Bastian - */ -template< class T > -class KSharedPtr -{ -public: -/** - * Creates a null pointer. - */ - KSharedPtr() - : ptr(0) { } - /** - * Creates a new pointer. - * @param t the pointer - */ - KSharedPtr( T* t ) - : ptr(t) { if ( ptr ) ptr->_KShared_ref(); } - - /** - * Copies a pointer. - * @param p the pointer to copy - */ - KSharedPtr( const KSharedPtr& p ) - : ptr(p.ptr) { if ( ptr ) ptr->_KShared_ref(); } - - /** - * Unreferences the object that this pointer points to. If it was - * the last reference, the object will be deleted. - */ - ~KSharedPtr() { if ( ptr ) ptr->_KShared_unref(); } - - KSharedPtr& operator= ( const KSharedPtr& p ) { - if ( ptr == p.ptr ) return *this; - if ( ptr ) ptr->_KShared_unref(); - ptr = p.ptr; - if ( ptr ) ptr->_KShared_ref(); - return *this; - } - KSharedPtr& operator= ( T* p ) { - if ( ptr == p ) return *this; - if ( ptr ) ptr->_KShared_unref(); - ptr = p; - if ( ptr ) ptr->_KShared_ref(); - return *this; - } - bool operator== ( const KSharedPtr& p ) const { return ( ptr == p.ptr ); } - bool operator!= ( const KSharedPtr& p ) const { return ( ptr != p.ptr ); } - bool operator== ( const T* p ) const { return ( ptr == p ); } - bool operator!= ( const T* p ) const { return ( ptr != p ); } - bool operator!() const { return ( ptr == 0 ); } - operator T*() const { return ptr; } - - /** - * Returns the pointer. - * @return the pointer - */ - T* data() { return ptr; } - - /** - * Returns the pointer. - * @return the pointer - */ - const T* data() const { return ptr; } - - const T& operator*() const { return *ptr; } - T& operator*() { return *ptr; } - const T* operator->() const { return ptr; } - T* operator->() { return ptr; } - - /** - * Returns the number of references. - * @return the number of references - */ - int count() const { return ptr->_KShared_count(); } // for debugging purposes -private: - T* ptr; -}; - -#endif diff --git a/python/pykde/extra/kde342/ksycocafactory.h b/python/pykde/extra/kde342/ksycocafactory.h deleted file mode 100644 index 536da286..00000000 --- a/python/pykde/extra/kde342/ksycocafactory.h +++ /dev/null @@ -1,143 +0,0 @@ -/* This file is part of the KDE libraries - * Copyright (C) 1999 Waldo Bastian - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License version 2 as published by the Free Software Foundation; - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public License - * along with this library; see the file COPYING.LIB. If not, write to - * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - * Boston, MA 02110-1301, USA. - **/ - -#ifndef __ksycocafactory_h__ -#define __ksycocafactory_h__ - -#include "ksycocatype.h" -#include "ksycocaentry.h" - -#include -#include -class KSycoca; -class TQStringList; -class TQString; -class KSycocaDict; -class KSycocaResourceList; - -typedef TQDict KSycocaEntryDict; - -/** - * @internal - * Base class for sycoca factories - */ -class KDECORE_EXPORT KSycocaFactory -{ -public: - virtual KSycocaFactoryId factoryId() const = 0; - -protected: // virtual class - /** - * Create a factory which can be used to lookup from/create a database - * (depending on KSycoca::isBuilding()) - */ - KSycocaFactory( KSycocaFactoryId factory_id ); - -public: - virtual ~KSycocaFactory(); - - /** - * @return the position of the factory in the sycoca file - */ - int offset() { return mOffset; } - - /** - * @return the dict, for special use by KBuildSycoca - */ - KSycocaEntryDict * entryDict() { return m_entryDict; } - - /** - * Construct an entry from a config file. - * To be implemented in the real factories. - */ - virtual KSycocaEntry *createEntry(const TQString &file, const char *resource) = 0; - - /** - * Add an entry - */ - virtual void addEntry(KSycocaEntry *newEntry, const char *resource); - - /** - * Remove an entry - * Not very fast, use with care. O(N) - */ - void removeEntry(KSycocaEntry *newEntry); - - /** - * Read an entry from the database - */ - virtual KSycocaEntry *createEntry(int offset)=0; - - /** - * Get a list of all entries from the database. - */ - KSycocaEntry::List allEntries(); - - /** - * Saves all entries it maintains as well as index files - * for these entries to the stream 'str'. - * - * Also sets mOffset to the starting position. - * - * The stream is positioned at the end of the last index. - * - * Don't forget to call the parent first when you override - * this function. - */ - virtual void save(TQDataStream &str); - - /** - * Writes out a header to the stream 'str'. - * The baseclass positions the stream correctly. - * - * Don't forget to call the parent first when you override - * this function. - */ - virtual void saveHeader(TQDataStream &str); - - /** - * @return the resources for which this factory is responsible. - */ - virtual const KSycocaResourceList * resourceList() const { return m_resourceList; } - -private: - int mOffset; - -protected: - int m_sycocaDictOffset; - int m_beginEntryOffset; - int m_endEntryOffset; - TQDataStream *m_str; - - KSycocaResourceList *m_resourceList; - KSycocaEntryDict *m_entryDict; - KSycocaDict *m_sycocaDict; -protected: - virtual void virtual_hook( int id, void* data ); -}; - -/** This, instead of a typedef, allows to declare "class ..." in header files - * @internal - */ -class KDECORE_EXPORT KSycocaFactoryList : public TQPtrList -{ -public: - KSycocaFactoryList() { } -}; - -#endif diff --git a/python/pykde/extra/kde342/ktoolbarbutton.h b/python/pykde/extra/kde342/ktoolbarbutton.h deleted file mode 100644 index 743c8bc8..00000000 --- a/python/pykde/extra/kde342/ktoolbarbutton.h +++ /dev/null @@ -1,329 +0,0 @@ -/* This file is part of the KDE libraries - Copyright (C) 1997, 1998 Stephan Kulow (coolo@kde.org) - (C) 1997, 1998 Sven Radej (radej@kde.org) - (C) 1997, 1998 Mark Donohoe (donohoe@kde.org) - (C) 1997, 1998 Matthias Ettrich (ettrich@kde.org) - (C) 2000 Kurt Granroth (granroth@kde.org) - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License version 2 as published by the Free Software Foundation. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. -*/ - -#ifndef _KTOOLBARBUTTON_H -#define _KTOOLBARBUTTON_H - -#include -#include -#include -#include -#include - -class KToolBar; -class KToolBarButtonPrivate; -class KInstance; -class TQEvent; -class TQPopupMenu; -class TQPainter; - -/** - * A toolbar button. This is used internally by KToolBar, use the - * KToolBar methods instead. - * @internal - */ -class KDEUI_EXPORT KToolBarButton : public QToolButton -{ - Q_OBJECT - -public: - /** - * Construct a button with an icon loaded by the button itself. - * This will trust the button to load the correct icon with the - * correct size. - * - * @param icon Name of icon to load (may be absolute or relative) - * @param id Id of this button - * @param parent This button's parent - * @param name This button's internal name - * @param txt This button's text (in a tooltip or otherwise) - * @param _instance the instance to use for this button - */ - KToolBarButton(const TQString& icon, int id, TQWidget *parent, - const char *name=0L, const TQString &txt=TQString::null, - KInstance *_instance = KGlobal::instance()); - - /** - * Construct a button with an existing pixmap. It is not - * recommended that you use this as the internal icon loading code - * will almost always get it "right". - * - * @param pixmap Name of icon to load (may be absolute or relative) - * @param id Id of this button - * @param parent This button's parent - * @param name This button's internal name - * @param txt This button's text (in a tooltip or otherwise) - */ - KToolBarButton(const TQPixmap& pixmap, int id, TQWidget *parent, - const char *name=0L, const TQString &txt=TQString::null); - - /** - * Construct a separator button - * - * @param parent This button's parent - * @param name This button's internal name - */ - KToolBarButton(TQWidget *parent=0L, const char *name=0L); - - /** - * Standard destructor - */ - ~KToolBarButton(); - -#ifndef KDE_NO_COMPAT - /** - * @deprecated - * Set the pixmap directly for this button. This pixmap should be - * the active one... the dimmed and disabled pixmaps are constructed - * based on this one. However, don't use this function unless you - * are positive that you don't want to use setIcon. - * - * @param pixmap The active pixmap - */ - // this one is from TQButton, so #ifdef-ing it out doesn't break BC - virtual void setPixmap(const TQPixmap &pixmap) KDE_DEPRECATED; - - /** - * @deprecated - * Force the button to use this pixmap as the default one rather - * then generating it using effects. - * - * @param pixmap The pixmap to use as the default (normal) one - */ - void setDefaultPixmap(const TQPixmap& pixmap) KDE_DEPRECATED; - - /** - * @deprecated - * Force the button to use this pixmap when disabled one rather then - * generating it using effects. - * - * @param pixmap The pixmap to use when disabled - */ - void setDisabledPixmap(const TQPixmap& pixmap) KDE_DEPRECATED; -#endif - - /** - * Set the text for this button. The text will be either used as a - * tooltip (IconOnly) or will be along side the icon - * - * @param text The button (or tooltip) text - */ - virtual void setText(const TQString &text); - - /** - * Set the icon for this button. The icon will be loaded internally - * with the correct size. This function is preferred over setIconSet - * - * @param icon The name of the icon - */ - virtual void setIcon(const TQString &icon); - - /// @since 3.1 - virtual void setIcon( const TQPixmap &pixmap ) - { TQToolButton::setIcon( pixmap ); } - - /** - * Set the pixmaps for this toolbar button from a TQIconSet. - * If you call this you don't need to call any of the other methods - * that set icons or pixmaps. - * @param iconset The iconset to use - */ - virtual void setIconSet( const TQIconSet &iconset ); - -#ifndef KDE_NO_COMPAT - /** - * @deprecated - * Set the active icon for this button. The pixmap itself is loaded - * internally based on the icon size... .. the disabled and default - * pixmaps, however will only be constructed if generate is - * true. This function is preferred over setPixmap - * - * @param icon The name of the active icon - * @param generate If true, then the other icons are automagically - * generated from this one - */ - KDE_DEPRECATED void setIcon(const TQString &icon, bool generate ) { Q_UNUSED(generate); setIcon( icon ); } - - /** - * @deprecated - * Force the button to use this icon as the default one rather - * then generating it using effects. - * - * @param icon The icon to use as the default (normal) one - */ - void setDefaultIcon(const TQString& icon) KDE_DEPRECATED; - - /** - * @deprecated - * Force the button to use this icon when disabled one rather then - * generating it using effects. - * - * @param icon The icon to use when disabled - */ - void setDisabledIcon(const TQString& icon) KDE_DEPRECATED; -#endif - - /** - * Turn this button on or off - * - * @param flag true or false - */ - void on(bool flag = true); - - /** - * Toggle this button - */ - void toggle(); - - /** - * Turn this button into a toggle button or disable the toggle - * aspects of it. This does not toggle the button itself. - * Use toggle() for that. - * - * @param toggle true or false - */ - void setToggle(bool toggle = true); - - /** - * Return a pointer to this button's popup menu (if it exists) - */ - TQPopupMenu *popup(); - - /** - * Returns the button's id. - * @since 3.2 - */ - int id() const; - - /** - * Give this button a popup menu. There will not be a delay when - * you press the button. Use setDelayedPopup if you want that - * behavior. - * - * @param p The new popup menu - * @param unused Has no effect - ignore it. - */ - void setPopup (TQPopupMenu *p, bool unused = false); - - /** - * Gives this button a delayed popup menu. - * - * This function allows you to add a delayed popup menu to the button. - * The popup menu is then only displayed when the button is pressed and - * held down for about half a second. - * - * @param p the new popup menu - * @param unused Has no effect - ignore it. - */ - void setDelayedPopup(TQPopupMenu *p, bool unused = false); - - /** - * Turn this button into a radio button - * - * @param f true or false - */ - void setRadio(bool f = true); - - /** - * Toolbar buttons naturally will assume the global styles - * concerning icons, icons sizes, etc. You can use this function to - * explicitly turn this off, if you like. - * - * @param no_style Will disable styles if true - */ - void setNoStyle(bool no_style = true); - -signals: - /** - * Emitted when the toolbar button is clicked (with LMB or MMB) - */ - void clicked(int); - /** - * Emitted when the toolbar button is clicked (with any mouse button) - * @param state makes it possible to find out which button was pressed, - * and whether any keyboard modifiers were held. - * @since 3.4 - */ - void buttonClicked(int, Qt::ButtonState state); - void doubleClicked(int); - void pressed(int); - void released(int); - void toggled(int); - void highlighted(int, bool); - -public slots: - /** - * This slot should be called whenever the toolbar mode has - * potentially changed. This includes such events as text changing, - * orientation changing, etc. - */ - void modeChange(); - virtual void setTextLabel(const TQString&, bool tipToo); - -protected: - void paletteChange(const TQPalette &); - void leaveEvent(TQEvent *e); - void enterEvent(TQEvent *e); - void drawButton(TQPainter *p); - bool eventFilter (TQObject *o, TQEvent *e); - /// @since 3.4 - void mousePressEvent( TQMouseEvent * ); - /// @since 3.4 - void mouseReleaseEvent( TQMouseEvent * ); - void showMenu(); - TQSize sizeHint() const; - TQSize minimumSizeHint() const; - TQSize minimumSize() const; - - /// @since 3.1 - bool isRaised() const; - /// @since 3.1 - bool isActive() const; - /// @since 3.1 - int iconTextMode() const; - -protected slots: - void slotClicked(); - void slotPressed(); - void slotReleased(); - void slotToggled(); - void slotDelayTimeout(); - -protected: - virtual void virtual_hook( int id, void* data ); -private: - KToolBarButtonPrivate *d; -}; - -/** -* List of KToolBarButton objects. -* @internal -* @version $Id: ktoolbarbutton.h 372745 2004-12-22 14:08:36Z dfaure $ -*/ -class KDEUI_EXPORT KToolBarButtonList : public TQIntDict -{ -public: - KToolBarButtonList(); - ~KToolBarButtonList() {} -}; - -#endif diff --git a/python/pykde/extra/kde342/kurifilter.h b/python/pykde/extra/kde342/kurifilter.h deleted file mode 100644 index 61c8aca6..00000000 --- a/python/pykde/extra/kde342/kurifilter.h +++ /dev/null @@ -1,647 +0,0 @@ -/* - * This file is part of the KDE libraries - * Copyright (C) 2000-2001,2003 Dawit Alemayehu - * - * Original author - * Copyright (C) 2000 Yves Arrouye - * - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public License - * along with this library; see the file COPYING.LIB. If not, write to - * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - * Boston, MA 02110-1301, USA. - **/ - -#ifndef __kurifilter_h__ -#define __kurifilter_h__ - -#include -#include -#include - -#include - -#ifdef Q_OS_WIN -#undef ERROR -#endif - -class KURIFilterPrivate; -class KURIFilterDataPrivate; - -class KCModule; - -/** -* A basic message object used for exchanging filtering -* information between the filter plugins and the application -* requesting the filtering service. -* -* Use this object if you require a more detailed information -* about the URI you want to filter. Any application can create -* an instance of this class and send it to KURIFilter to -* have the plugins fill out all possible information about the -* URI. -* -* \b Example -* -* \code -* TQString text = "kde.org"; -* KURIFilterData d = text; -* bool filtered = KURIFilter::self()->filter( d ); -* cout << "URL: " << text.latin1() << endl -* << "Filtered URL: " << d.uri().url().latin1() << endl -* << "URI Type: " << d.uriType() << endl -* << "Was Filtered: " << filtered << endl; -* \endcode -* -* The above code should yield the following output: -* \code -* URI: kde.org -* Filtered URI: http://kde.org -* URI Type: 0 <== means NET_PROTOCOL -* Was Filtered: 1 <== means the URL was successfully filtered -* \endcode -* -* @short A message object for exchanging filtering URI info. -* @author Dawit Alemayehu -*/ - -class KIO_EXPORT KURIFilterData -{ -friend class KURIFilterPlugin; - -public: - /** - * Describes the type of the URI that was filtered. - * Here is a brief description of the types: - * - * @li NET_PROTOCOL - Any network protocol: http, ftp, nttp, pop3, etc... - * @li LOCAL_FILE - A local file whose executable flag is not set - * @li LOCAL_DIR - A local directory - * @li EXECUTABLE - A local file whose executable flag is set - * @li HELP - A man or info page - * @li SHELL - A shell executable (ex: echo "Test..." >> ~/testfile) - * @li BLOCKED - A URI that should be blocked/filtered (ex: ad filtering) - * @li ERROR - An incorrect URI (ex: "~johndoe" when user johndoe - * does not exist in that system ) - * @li UNKNOWN - A URI that is not identified. Default value when - * a KURIFilterData is first created. - */ - enum URITypes { NET_PROTOCOL=0, LOCAL_FILE, LOCAL_DIR, EXECUTABLE, HELP, SHELL, BLOCKED, ERROR, UNKNOWN }; - - /** - * Default constructor. - * - * Creates a URIFilterData object. - */ - KURIFilterData() { init(); } - - /** - * Creates a URIFilterData object from the given URL. - * - * @param url is the URL to be filtered. - */ - KURIFilterData( const KURL& url ) { init( url); } - - /** - * Creates a URIFilterData object from the given string. - * - * @param url is the string to be filtered. - */ - KURIFilterData( const TQString& url ) { init( url ); } - - /** - * Copy constructor. - * - * Creates a URIFilterData object from another - * URI filter data object. - * - * @param data the uri filter data to be copied. - */ - KURIFilterData( const KURIFilterData& data); - - /** - * Destructor. - */ - ~KURIFilterData(); - - /** - * This method has been deprecated and will always return - * true. You should instead use the result from the - * KURIFilter::filterURI() calls. - * - * @deprecated - */ - KDE_DEPRECATED bool hasBeenFiltered() const { return true; } - - /** - * Returns the filtered or the original URL. - * - * This function returns the filtered url if one - * of the plugins successfully filtered the original - * URL. Otherwise, it returns the original URL. - * See hasBeenFiltered() and - * - * @return the filtered or original url. - */ - KURL uri() const { return m_pURI; } - - /** - * Returns an error message. - * - * This functions returns the error message set - * by the plugin whenever the uri type is set to - * KURIFilterData::ERROR. Otherwise, it returns - * a TQString::null. - * - * @return the error message or a NULL when there is none. - */ - TQString errorMsg() const { return m_strErrMsg; } - - /** - * Returns the URI type. - * - * This method always returns KURIFilterData::UNKNOWN - * if the given URL was not filtered. - * @return the type of the URI - */ - URITypes uriType() const { return m_iType; } - - /** - * Sets the URL to be filtered. - * - * Use this function to set the string to be - * filtered when you construct an empty filter - * object. - * - * @param url the string to be filtered. - */ - void setData( const TQString& url ) { init( url ); } - - /** - * Same as above except the argument is a URL. - * - * Use this function to set the string to be - * filtered when you construct an empty filter - * object. - * - * @param url the URL to be filtered. - */ - void setData( const KURL& url ) { init( url ); } - - /** - * Sets the absolute path to be used whenever the supplied - * data is a relative local URL. - * - * NOTE: This function should only be used for local resources, - * i.e. the "file:/" protocol. It is useful for specifying the - * absolute path in cases where the actual URL might be relative. - * meta object. If deriving the path from a KURL, make sure you - * set the argument for this function to the result of calling - * path () instead of url (). - * - * @param abs_path the abolute path to the local resource. - * @return true if absolute path is successfully set. Otherwise, false. - */ - bool setAbsolutePath( const TQString& abs_path ); - - /** - * Returns the absolute path if one has already been set. - * @return the absolute path, or TQString::null - * @see hasAbsolutePath() - */ - TQString absolutePath() const; - - /** - * Checks whether the supplied data had an absolute path. - * @return true if the supplied data has an absolute path - * @see absolutePath() - */ - bool hasAbsolutePath() const; - - /** - * Returns the command line options and arguments for a - * local resource when present. - * - * @return options and arguments when present, otherwise TQString::null - */ - TQString argsAndOptions() const; - - /** - * Checks whether the current data is a local resource with - * command line options and arguments. - * @return true if the current data has command line options and arguments - */ - bool hasArgsAndOptions() const; - - /** - * Returns the name of the icon that matches - * the current filtered URL. - * - * NOTE that this function will return a NULL - * string by default and when no associated icon - * is found. - * - * @return the name of the icon associated with the resource, - * or TQString::null if not found - */ - TQString iconName(); - - /** - * Check whether the provided uri is executable or not. - * - * Setting this to false ensures that typing the name of - * an executable does not start that application. This is - * useful in the location bar of a browser. The default - * value is true. - * - * @since 3.2 - */ - void setCheckForExecutables (bool check); - - /** - * @return true if the filters should attempt to check whether the - * supplied uri is an executable. False otherwise. - * - * @since 3.2 - */ - bool checkForExecutables() const { return m_bCheckForExecutables; } - - /** - * @return the string as typed by the user, before any URL processing is done - * @since 3.2 - */ - TQString typedString() const; - - /** - * Overloaded assigenment operator. - * - * This function allows you to easily assign a KURL - * to a KURIFilterData object. - * - * @return an instance of a KURIFilterData object. - */ - KURIFilterData& operator=( const KURL& url ) { init( url ); return *this; } - - /** - * Overloaded assigenment operator. - * - * This function allows you to easily assign a QString - * to a KURIFilterData object. - * - * @return an instance of a KURIFilterData object. - */ - KURIFilterData& operator=( const TQString& url ) { init( url ); return *this; } - -protected: - - /** - * Initializes the KURIFilterData on construction. - * @param url the URL to initialize the object with - */ - void init( const KURL& url); - - /** - * Initializes the KURIFilterData on construction. - * @param url the URL to initialize the object with - */ - void init( const TQString& url = TQString::null ); - -private: - bool m_bCheckForExecutables; - bool m_bChanged; - - TQString m_strErrMsg; - TQString m_strIconName; - - KURL m_pURI; - URITypes m_iType; - KURIFilterDataPrivate *d; -}; - - -/** - * Base class for URI filter plugins. - * - * This class applies a single filter to a URI. All plugins designed - * to provide URI filtering service should inherit from this abstract - * class and provide a concrete implementation. - * - * All inheriting classes need to implement the pure virtual function - * filterURI. - * - * @short Abstract class for URI filter plugins. - */ -class KIO_EXPORT KURIFilterPlugin : public QObject -{ - Q_OBJECT - -public: - - /** - * Constructs a filter plugin with a given name and - * priority. - * - * @param parent the parent object, or 0 for no parent - * @param name the name of the plugin, or 0 for no name - * @param pri the priority of the plugin. - */ - KURIFilterPlugin( TQObject *parent = 0, const char *name = 0, double pri = 1.0 ); - - /** - * Returns the filter's name. - * - * @return A string naming the filter. - */ - virtual TQString name() const { return m_strName; } - - /** - * Returns the filter's priority. - * - * Each filter has an assigned priority, a float from 0 to 1. Filters - * with the lowest priority are first given a chance to filter a URI. - * - * @return The priority of the filter. - */ - virtual double priority() const { return m_dblPriority; } - - /** - * Filters a URI. - * - * @param data the URI data to be filtered. - * @return A boolean indicating whether the URI has been changed. - */ - virtual bool filterURI( KURIFilterData& data ) const = 0; - - /** - * Creates a configuration module for the filter. - * - * It is the responsibility of the caller to delete the module - * once it is not needed anymore. - * - * @return A configuration module, 0 if the filter isn't configurable. - */ - virtual KCModule *configModule( TQWidget*, const char* ) const { return 0; } - - /** - * Returns the name of the configuration module for the filter. - * - * @return the name of a configuration module or TQString::null if none. - */ - virtual TQString configName() const { return name(); } - -protected: - - /** - * Sets the the URL in @p data to @p uri. - */ - void setFilteredURI ( KURIFilterData& data, const KURL& uri ) const; - - /** - * Sets the error message in @p data to @p errormsg. - */ - void setErrorMsg ( KURIFilterData& data, const TQString& errmsg ) const { - data.m_strErrMsg = errmsg; - } - - /** - * Sets the URI type in @p data to @p type. - */ - void setURIType ( KURIFilterData& data, KURIFilterData::URITypes type) const { - data.m_iType = type; - data.m_bChanged = true; - } - - /** - * Sets the arguments and options string in @p data - * to @p args if any were found during filterting. - */ - void setArguments( KURIFilterData& data, const TQString& args ) const; - - TQString m_strName; - double m_dblPriority; - -protected: - virtual void virtual_hook( int id, void* data ); -private: - class KURIFilterPluginPrivate *d; -}; - - -/** - * A list of filter plugins. - */ -class KIO_EXPORT KURIFilterPluginList : public TQPtrList -{ -public: - virtual int compareItems(Item a, Item b) - { - double diff = ((KURIFilterPlugin *) a)->priority() - ((KURIFilterPlugin *) b)->priority(); - return diff < 0 ? -1 : (diff > 0 ? 1 : 0); - } - -private: - KURIFilterPrivate *d; - -}; - -/** - * Manages the filtering of URIs. - * - * The intention of this plugin class is to allow people to extend the - * functionality of KURL without modifying it directly. This way KURL will - * remain a generic parser capable of parsing any generic URL that adheres - * to specifications. - * - * The KURIFilter class applies a number of filters to a URI and returns the - * filtered version whenever possible. The filters are implemented using - * plugins to provide easy extensibility of the filtering mechanism. New - * filters can be added in the future by simply inheriting from - * KURIFilterPlugin and implementing the KURIFilterPlugin::filterURI - * method. - * - * Use of this plugin-manager class is straight forward. Since it is a - * singleton object, all you have to do is obtain an instance by doing - * @p KURIFilter::self() and use any of the public member functions to - * preform the filtering. - * - * \b Example - * - * To simply filter a given string: - * - * \code - * bool filtered = KURIFilter::self()->filterURI( "kde.org" ); - * \endcode - * - * You can alternatively use a KURL: - * - * \code - * KURL url = "kde.org"; - * bool filtered = KURIFilter::self()->filterURI( url ); - * \endcode - * - * If you have a constant string or a constant URL, simply invoke the - * corresponding function to obtain the filtered string or URL instead - * of a boolean flag: - * - * \code - * TQString u = KURIFilter::self()->filteredURI( "kde.org" ); - * \endcode - * - * You can also restrict the filter(s) to be used by supplying - * the name of the filter(s) to use. By defualt all available - * filters will be used. To use specific filters, add the names - * of the filters you want to use to a TQStringList and invoke - * the appropriate filtering function. The examples below show - * the use of specific filters. The first one uses a single - * filter called kshorturifilter while the second example uses - * multiple filters: - * - * \code - * TQString text = "kde.org"; - * bool filtered = KURIFilter::self()->filterURI( text, "kshorturifilter" ); - * \endcode - * - * \code - * TQStringList list; - * list << "kshorturifilter" << "localdomainfilter"; - * bool filtered = KURIFilter::self()->filterURI( text, list ); - * \endcode - * - * KURIFilter also allows richer data exchange through a simple - * meta-object called @p KURIFilterData. Using this meta-object - * you can find out more information about the URL you want to - * filter. See KURIFilterData for examples and details. - * - * @short Filters a given URL into its proper format whenever possible. - */ - -class KIO_EXPORT KURIFilter -{ -public: - /** - * Destructor - */ - ~KURIFilter (); - - /** - * Returns an instance of KURIFilter. - */ - static KURIFilter* self(); - - /** - * Filters the URI given by the object URIFilterData. - * - * The given URL is filtered based on the specified list of filters. - * If the list is empty all available filters would be used. - * - * @param data object that contains the URI to be filtered. - * @param filters specify the list of filters to be used. - * - * @return a boolean indicating whether the URI has been changed - */ - bool filterURI( KURIFilterData& data, const TQStringList& filters = TQStringList() ); - - /** - * Filters the URI given by the URL. - * - * The given URL is filtered based on the specified list of filters. - * If the list is empty all available filters would be used. - * - * @param uri the URI to filter. - * @param filters specify the list of filters to be used. - * - * @return a boolean indicating whether the URI has been changed - */ - bool filterURI( KURL &uri, const TQStringList& filters = TQStringList() ); - - /** - * Filters a string representing a URI. - * - * The given URL is filtered based on the specified list of filters. - * If the list is empty all available filters would be used. - * - * @param uri The URI to filter. - * @param filters specify the list of filters to be used. - * - * @return a boolean indicating whether the URI has been changed - */ - bool filterURI( TQString &uri, const TQStringList& filters = TQStringList() ); - - /** - * Returns the filtered URI. - * - * The given URL is filtered based on the specified list of filters. - * If the list is empty all available filters would be used. - * - * @param uri The URI to filter. - * @param filters specify the list of filters to be used. - * - * @return the filtered URI or null if it cannot be filtered - */ - KURL filteredURI( const KURL &uri, const TQStringList& filters = TQStringList() ); - - /** - * Return a filtered string representation of a URI. - * - * The given URL is filtered based on the specified list of filters. - * If the list is empty all available filters would be used. - * - * @param uri the URI to filter. - * @param filters specify the list of filters to be used. - * - * @return the filtered URI or null if it cannot be filtered - */ - TQString filteredURI( const TQString &uri, const TQStringList& filters = TQStringList() ); - - /** - * Return an iterator to iterate over all loaded - * plugins. - * - * @return a plugin iterator. - */ - TQPtrListIterator pluginsIterator() const; - - /** - * Return a list of the names of all loaded plugins. - * - * @return a TQStringList of plugin names - * @since 3.1 - */ - TQStringList pluginNames() const; - -protected: - - /** - * A protected constructor. - * - * This constructor creates a KURIFilter and - * initializes all plugins it can find by invoking - * loadPlugins. - */ - KURIFilter(); - - /** - * Loads all allowed plugins. - * - * This function loads all filters that have not - * been disbled. - */ - void loadPlugins(); - -private: - static KURIFilter *m_self; - KURIFilterPluginList m_lstPlugins; - KURIFilterPrivate *d; -}; - -#endif diff --git a/python/pykde/extra/kde342/selectdialog.h b/python/pykde/extra/kde342/selectdialog.h deleted file mode 100644 index 987dcb68..00000000 --- a/python/pykde/extra/kde342/selectdialog.h +++ /dev/null @@ -1,87 +0,0 @@ -/* - This file is part of libkresources. - - Copyright (c) 2002 Tobias Koenig - Copyright (c) 2002 Jan-Pascal van Best - Copyright (c) 2003 Cornelius Schumacher - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. -*/ - -#ifndef KRESOURCES_SELECTDIALOG_H -#define KRESOURCES_SELECTDIALOG_H - -#include -#include -#include - -#include - -class KListBox; - -namespace KRES { - -class Resource; - -/** - * Dialog for selecting a resource. - * - * Example: - * - * \code - * - * TQPtrList list = ... // can be retrived from KRES::Manager (e.g. KABC::AddressBook) - * - * KABC::Resource *res = KABC::SelectDialog::getResource( list, parentWdg ); - * if ( !res ) { - * // no resource selected - * } else { - * // do something with resource - * } - * \endcode - */ -class KRESOURCES_EXPORT SelectDialog -{ - public: - /** - * Constructor. - * @param list The list of available resources - * @param parent The parent widget - * @param name The name of the dialog - */ - SelectDialog( TQPtrList list, TQWidget *parent = 0, - const char *name = 0); - - /** - * Returns selected resource. - */ - Resource *resource(); - - /** - * Opens a dialog showing the available resources and returns the resource the - * user has selected. Returns 0, if the dialog was canceled. - */ - static Resource *getResource( TQPtrList list, TQWidget *parent = 0 ); - - private: - KListBox *mResourceId; - - TQMap mResourceMap; -}; - -} - -#endif diff --git a/python/pykde/extra/kde343/configwidget.h b/python/pykde/extra/kde343/configwidget.h deleted file mode 100644 index 47917edd..00000000 --- a/python/pykde/extra/kde343/configwidget.h +++ /dev/null @@ -1,58 +0,0 @@ -/* - This file is part of libkresources. - Copyright (c) 2002 Tobias Koenig - Copyright (c) 2002 Jan-Pascal van Best - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. -*/ - -#ifndef KRESOURCES_CONFIGWIDGET_H -#define KRESOURCES_CONFIGWIDGET_H - -#include "resource.h" - -#include - -#include - -namespace KRES { - -class KRESOURCES_EXPORT ConfigWidget : public QWidget -{ - Q_OBJECT - public: - ConfigWidget( TQWidget *parent = 0, const char *name = 0 ); - - /** - Sets the widget to 'edit' mode. Reimplement this method if you are - interested in the mode change (to disable some GUI element for - example). By default the widget is in 'create new' mode. - */ - virtual void setInEditMode( bool value ); - - public slots: - virtual void loadSettings( Resource *resource ) = 0; - virtual void saveSettings( Resource *resource ) = 0; - - signals: - void setReadOnly( bool value ); - - protected: - Resource *mResource; -}; - -} -#endif diff --git a/python/pykde/extra/kde343/kaccelaction.h b/python/pykde/extra/kde343/kaccelaction.h deleted file mode 100644 index b868ee6f..00000000 --- a/python/pykde/extra/kde343/kaccelaction.h +++ /dev/null @@ -1,564 +0,0 @@ -/* This file is part of the KDE libraries - Copyright (C) 2001,2002 Ellis Whitehead - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. -*/ - -#ifndef _KACCELACTION_H -#define _KACCELACTION_H - -#include -#include -#include -#include - -#include - -class KAccelBase; - -class TQObject; -class KConfig; -class KConfigBase; - -/** - * @internal - * A KAccelAction prepresents an action that can be executed using - * an accelerator key. Each KAccelAction has a name, a label, a - * "What's this" string and a KShortcut. The user can configure and - * enable/disable them using KKeyDialog. - * - * \code - * 1) KAccelAction = "Run Command" - * Default3 = "Alt+F2" - * Default4 = "Meta+Enter;Alt+F2" - * 1) KShortcut = "Meta+Enter" - * 1) KKeySequence = "Meta+Enter" - * 1) KKey = "Meta+Enter" - * 1) Meta+Enter - * 2) Meta+Keypad_Enter - * 2) KShortcut = "Alt+F2" - * 1) KKeySequence = "Alt+F2" - * 1) Alt+F2 - * 2) KAccelAction = "Something" - * Default3 = "" - * Default4 = "" - * 1) KShortcut = "Meta+X,Asterisk" - * 1) KKeySequence = "Meta+X,Asterisk" - * 1) KKey = "Meta+X" - * 1) Meta+X - * 2) KKey = "Asterisk" - * 1) Shift+8 (English layout) - * 2) Keypad_Asterisk - * \endcode - * @short An accelerator action - * @see KAccel - * @see KGlobalAccel - * @see KKeyChooser - * @see KKeyDialog - */ -class KDECORE_EXPORT KAccelAction -{ - public: - /** - * Creates an empty KAccelAction. - * @see clear() - */ - KAccelAction(); - - /** - * Copy constructor. - */ - KAccelAction( const KAccelAction& ); - - /** - * Creates a new KAccelAction. - * @param sName the name of the accelerator - * @param sLabel the label of the accelerator (i18n!) - * @param sWhatsThis the What's This text (18n!) - * @param cutDef3 the default shortcut for 3 modifier systems - * @param cutDef4 the default shortcut for 4 modifier systems - * @param pObjSlot the receiver of a signal when the key has been - * pressed - * @param psMethodSlot the slot to connect for key presses. Receives - * an int, as set by setID(), as only argument - * @param bConfigurable if true the user can configure the shortcut - * @param bEnabled true if the accelerator should be enabled - */ - KAccelAction( const TQString& sName, const TQString& sLabel, const TQString& sWhatsThis, - const KShortcut& cutDef3, const KShortcut& cutDef4, - const TQObject* pObjSlot, const char* psMethodSlot, - bool bConfigurable, bool bEnabled ); - ~KAccelAction(); - - /** - * Clears the accelerator. - */ - void clear(); - - /** - * Re-initialized the KAccelAction. - * @param sName the name of the accelerator - * @param sLabel the label of the accelerator (i18n!) - * @param sWhatsThis the What's This text (18n!) - * @param cutDef3 the default shortcut for 3 modifier systems - * @param cutDef4 the default shortcut for 4 modifier systems - * @param pObjSlot the receiver of a signal when the key has been - * pressed - * @param psMethodSlot the slot to connect for key presses. Receives - * an int, as set by setID(), as only argument - * @param bConfigurable if true the user can configure the shortcut - * @param bEnabled true if the accelerator should be enabled - * @return true if successful, false otherwise - */ - bool init( const TQString& sName, const TQString& sLabel, const TQString& sWhatsThis, - const KShortcut& cutDef3, const KShortcut& cutDef4, - const TQObject* pObjSlot, const char* psMethodSlot, - bool bConfigurable, bool bEnabled ); - - /** - * Copies this KAccelAction. - */ - KAccelAction& operator=( const KAccelAction& ); - - /** - * Returns the name of the accelerator action. - * @return the name of the accelerator action, can be null if not - * set - */ - const TQString& name() const { return m_sName; } - - /** - * Returns the label of the accelerator action. - * @return the label of the accelerator action, can be null if - * not set - */ - const TQString& label() const { return m_sLabel; } - - /** - * Returns the What's This text of the accelerator action. - * @return the What's This text of the accelerator action, can be - * null if not set - */ - const TQString& whatsThis() const { return m_sWhatsThis; } - - /** - * The shortcut that is actually used (may be used configured). - * @return the shortcut of the KAccelAction, can be null if not set - * @see shortcutDefault() - */ - const KShortcut& shortcut() const { return m_cut; } - - /** - * The default shortcut for this system. - * @return the default shortcut on this system, can be null if not set - * @see shortcut() - * @see shortcutDefault3() - * @see shortcutDefault4() - */ - const KShortcut& shortcutDefault() const; - - /** - * The default shortcut for 3 modifier systems. - * @return the default shortcut for 3 modifier systems, can be null - * if not set - * @see shortcutDefault() - * @see shortcutDefault4() - * @see useFourModifierKeys() - */ - const KShortcut& shortcutDefault3() const { return m_cutDefault3; } - - /** - * The default shortcut for 4 modifier systems. - * @return the default shortcut for 4 modifier systems, can be null - * if not set - * @see shortcutDefault() - * @see shortcutDefault3() - * @see useFourModifierKeys() - */ - const KShortcut& shortcutDefault4() const { return m_cutDefault4; } - - /** - * Returns the receiver of signals. - * @return the receiver of signals (can be 0 if not set) - */ - const TQObject* objSlotPtr() const { return m_pObjSlot; } - - /** - * Returns the slot for the signal. - * @return the slot for the signal - */ - const char* methodSlotPtr() const { return m_psMethodSlot; } - - /** - * Checks whether the user can configure the action. - * @return true if configurable, false otherwise - */ - bool isConfigurable() const { return m_bConfigurable; } - - /** - * Checks whether the action is enabled. - * @return true if enabled, false otherwise - */ - bool isEnabled() const { return m_bEnabled; } - - /** - * Sets the name of the accelerator action. - * @param name the new name - */ - void setName( const TQString& name ); - - /** - * Sets the user-readable label of the accelerator action. - * @param label the new label (i18n!) - */ - void setLabel( const TQString& label ); - - /** - * Sets the What's This text for the accelerator action. - * @param whatsThis the new What's This text (i18n!) - */ - void setWhatsThis( const TQString& whatsThis ); - - /** - * Sets the new shortcut of the accelerator action. - * @param rgCuts the shortcut to set - * @return true if successful, false otherwise - */ - bool setShortcut( const KShortcut& rgCuts ); - - /** - * Sets the slot of the accelerator action. - * @param pObjSlot the receiver object of the signal - * @param psMethodSlot the slot for the signal - */ - void setSlot( const TQObject* pObjSlot, const char* psMethodSlot ); - - /** - * Enables or disabled configuring the action. - * @param configurable true to enable configurability, false to disable - */ - void setConfigurable( bool configurable ); - - /** - * Enables or disabled the action. - * @param configurable true to enable the action, false to disable - */ - void setEnabled( bool enable ); - - /** - * Retrieves the id set using setID. - * @return the id of the accelerator action - */ - int getID() const { return m_nIDAccel; } - - /** - * Allows you to set an id that will be used as the action - * signal's argument. - * - * @param n the new id - * @see getID() - */ - void setID( int n ) { m_nIDAccel = n; } - - /** - * Checkes whether the action is connected (emits signals). - * @return true if connected, false otherwise - */ - bool isConnected() const; - - /** - * Sets a key sequence of the action's shortcut. - * @param i the position of the sequence - * @param keySeq the new new sequence - * @return true if successful, false otherwise - * @see KShortcut::setSeq() - */ - bool setKeySequence( uint i, const KKeySequence &keySeq ); - - /** - * Clears the action's shortcut. It will not contain any sequences after - * calling this method. - * @see KShortcut::clear() - */ - void clearShortcut(); - - /** - * Checks whether the action's shortcut contains the given key sequence. - * @param keySeq the key sequence to check - * @return true if the shortcut contains the given sequence - * @see KShortcut::contains() - */ - bool contains( const KKeySequence &keySeq ); - - /** - * Returns the string representation of the action's shortcut. - * @return the string representation of the action's shortcut. - * @see KShortcut::toString() - */ - TQString toString() const; - - /** - * @internal - */ - TQString toStringInternal() const; - - /** - * Returns true if four modifier keys will be used. - * @return true if four modifier keys will be used. - */ - static bool useFourModifierKeys(); - - /** - * Selects 3 or 4 modifier default shortcuts. - * @param use true to use 4 modifier shortcuts, false to use - * 3 modifier shortcuts - */ - static void useFourModifierKeys( bool use ); - - protected: - TQString m_sName, - m_sLabel, - m_sWhatsThis; - KShortcut m_cut; - KShortcut m_cutDefault3, m_cutDefault4; - const TQObject* m_pObjSlot; - const char* m_psMethodSlot; - bool m_bConfigurable, - m_bEnabled; - int m_nIDAccel; - uint m_nConnections; - - void incConnections(); - void decConnections(); - - private: - static int g_bUseFourModifierKeys; - class KAccelActionPrivate* d; - - friend class KAccelActions; - friend class KAccelBase; -}; - -//--------------------------------------------------------------------- -// KAccelActions -//--------------------------------------------------------------------- - -/** - * @internal - * This class represents a collection of KAccelAction objects. - * - * @short A collection of accelerator actions - * @see KAccelAction - */ -class KDECORE_EXPORT KAccelActions -{ - public: - /** - * Creates a new, empty KAccelActions object. - */ - KAccelActions(); - - /** - * Copy constructor (deep copy). - */ - KAccelActions( const KAccelActions& ); - virtual ~KAccelActions(); - - /** - * Removes all items from this collection. - */ - void clear(); - - /** - * Initializes this object with the given actions. - * It will make a deep copy of all actions. - * @param actions the actions to copy - * @return true if successful, false otherwise - */ - bool init( const KAccelActions &actions ); - - /** - * Loads the actions from the given configuration file. - * - * @param config the configuration file to load from - * @param sGroup the group in the configuration file - * @return true if successful, false otherwise - */ - bool init( KConfigBase& config, const TQString& sGroup ); - - /** - * Updates the shortcuts of all actions in this object - * with the shortcuts from the given object. - * @param shortcuts the collection that contains the new - * shortcuts - */ - void updateShortcuts( KAccelActions &shortcuts ); - - /** - * Retrieves the index of the action with the given name. - * @param sAction the action to search - * @return the index of the action, or -1 if not found - */ - int actionIndex( const TQString& sAction ) const; - - /** - * Returns the action with the given @p index. - * @param index the index of an action. You must not - * use an index that is too high. - * @return the KAccelAction with the given index - * @see count() - */ - KAccelAction* actionPtr( uint index ); - - /** - * Returns the action with the given @p index. - * @param index the index of an action. You must not - * use an index that is too high. - * @return the KAccelAction with the given index - * @see count() - */ - const KAccelAction* actionPtr( uint index ) const; - - /** - * Returns the action with the given name. - * @param aAction the name of the action to search - * @return the KAccelAction with the given name, or 0 - * if not found - */ - KAccelAction* actionPtr( const TQString& sAction ); - - /** - * Returns the action with the given name. - * @param aAction the name of the action to search - * @return the KAccelAction with the given name, or 0 - * if not found - */ - const KAccelAction* actionPtr( const TQString& sAction ) const; - - /** - * Returns the action with the given key sequence. - * @param cut the sequence to search for - * @return the KAccelAction with the given sequence, or 0 - * if not found - */ - KAccelAction* actionPtr( KKeySequence cut ); - - /** - * Returns the action with the given @p index. - * @param index the index of an action. You must not - * use an index that is too high. - * @return the KAccelAction with the given index - * @see actionPtr() - * @see count() - */ - KAccelAction& operator []( uint index ); - - /** - * Returns the action with the given @p index. - * @param index the index of an action. You must not - * use an index that is too high. - * @return the KAccelAction with the given index - * @see actionPtr() - * @see count() - */ - const KAccelAction& operator []( uint index ) const; - - /** - * Inserts an action into the collection. - * @param sName the name of the accelerator - * @param sLabel the label of the accelerator (i18n!) - * @param sWhatsThis the What's This text (18n!) - * @param cutDef3 the default shortcut for 3 modifier systems - * @param cutDef4 the default shortcut for 4 modifier systems - * @param pObjSlot the receiver of a signal when the key has been - * pressed - * @param psMethodSlot the slot to connect for key presses. Receives - * an int, as set by setID(), as only argument - * @param bConfigurable if true the user can configure the shortcut - * @param bEnabled true if the accelerator should be enabled - * @return the new action - */ - KAccelAction* insert( const TQString& sAction, const TQString& sLabel, const TQString& sWhatsThis, - const KShortcut& rgCutDefaults3, const KShortcut& rgCutDefaults4, - const TQObject* pObjSlot = 0, const char* psMethodSlot = 0, - bool bConfigurable = true, bool bEnabled = true ); - - /** - * Inserts an action into the collection. - * @param sName the name of the accelerator - * @param sLabel the label of the accelerator (i18n!) - * @return the new action - */ - KAccelAction* insert( const TQString& sName, const TQString& sLabel ); - - /** - * Removes the given action. - * @param sAction the name of the action. - * @return true if successful, false otherwise - */ - bool remove( const TQString& sAction ); - - /** - * Loads the actions from the given configuration file. - * - * @param sConfigGroup the group in the configuration file - * @param pConfig the configuration file to load from - * @return true if successful, false otherwise - */ - bool readActions( const TQString& sConfigGroup = "Shortcuts", KConfigBase* pConfig = 0 ); - - /** - * Writes the actions to the given configuration file. - * - * @param sConfigGroup the group in the configuration file - * @param pConfig the configuration file to save to - * @param bWriteAll true to write all actions - * @param bGlobal true to write to the global configuration file - * @return true if successful, false otherwise - */ - bool writeActions( const TQString& sConfigGroup = "Shortcuts", KConfigBase* pConfig = 0, - bool bWriteAll = false, bool bGlobal = false ) const; - - /** - * Emit a keycodeChanged signal. - */ - void emitKeycodeChanged(); - - /** - * Returns the number of actions in the collection. - * @return the number of actions - */ - uint count() const; - - protected: - KAccelBase* m_pKAccelBase; - KAccelAction** m_prgActions; - uint m_nSizeAllocated, m_nSize; - - void resize( uint ); - void insertPtr( KAccelAction* ); - - private: - class KAccelActionsPrivate* d; - - KAccelActions( KAccelBase* ); - void initPrivate( KAccelBase* ); - KAccelActions& operator =( KAccelActions& ); - - friend class KAccelBase; -}; - -#endif // _KACCELACTION_H diff --git a/python/pykde/extra/kde343/kaccelbase.h b/python/pykde/extra/kde343/kaccelbase.h deleted file mode 100644 index 0238c63a..00000000 --- a/python/pykde/extra/kde343/kaccelbase.h +++ /dev/null @@ -1,229 +0,0 @@ -/* This file is part of the KDE libraries - Copyright (C) 2001 Ellis Whitehead - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. -*/ - -#ifndef _KACCELBASE_H -#define _KACCELBASE_H - -#include -#include -#include -#include -#include - -#include "kaccelaction.h" -#include "kkeyserver.h" - -class TQPopupMenu; -class TQWidget; - -//---------------------------------------------------- - -/** - * @internal - * Handle keyboard accelerators. - * - * Allow an user to configure - * key bindings through application configuration files or through the - * KKeyChooser GUI. - * - * A KAccel contains a list of accelerator items. Each accelerator item - * consists of an action name and a keyboard code combined with modifiers - * (Shift, Ctrl and Alt.) - * - * For example, "Ctrl+P" could be a shortcut for printing a document. The key - * codes are listed in ckey.h. "Print" could be the action name for printing. - * The action name identifies the key binding in configuration files and the - * KKeyChooser GUI. - * - * When pressed, an accelerator key calls the slot to which it has been - * connected. Accelerator items can be connected so that a key will activate - * two different slots. - * - * A KAccel object handles key events sent to its parent widget and to all - * children of this parent widget. - * - * Key binding reconfiguration during run time can be prevented by specifying - * that an accelerator item is not configurable when it is inserted. A special - * group of non-configurable key bindings are known as the - * standard accelerators. - * - * The standard accelerators appear repeatedly in applications for - * standard document actions such as printing and saving. Convenience methods are - * available to insert and connect these accelerators which are configurable on - * a desktop-wide basis. - * - * It is possible for a user to choose to have no key associated with - * an action. - * - * The translated first argument for insertItem() is used only - * in the configuration dialog. - *\code - * KAccel *a = new KAccel( myWindow ); - * // Insert an action "Scroll Up" which is associated with the "Up" key: - * a->insertItem( i18n("Scroll Up"), "Scroll Up", "Up" ); - * // Insert an action "Scroll Down" which is not associated with any key: - * a->insertItem( i18n("Scroll Down"), "Scroll Down", 0); - * a->connectItem( "Scroll up", myWindow, TQT_SLOT( scrollUp() ) ); - * // a->insertStdItem( KStdAccel::Print ); //not necessary, since it - * // is done automatially with the - * // connect below! - * a->connectItem(KStdAccel::Print, myWindow, TQT_SLOT( printDoc() ) ); - * - * a->readSettings(); - *\endcode - * - * If a shortcut has a menu entry as well, you could insert them like - * this. The example is again the KStdAccel::Print from above. - * - * \code - * int id; - * id = popup->insertItem("&Print",this, TQT_SLOT(printDoc())); - * a->changeMenuAccel(popup, id, KStdAccel::Print ); - * \endcode - * - * If you want a somewhat "exotic" name for your standard print action, like - * id = popup->insertItem(i18n("Print &Document"),this, TQT_SLOT(printDoc())); - * it might be a good idea to insert the standard action before as - * a->insertStdItem( KStdAccel::Print, i18n("Print Document") ) - * as well, so that the user can easily find the corresponding function. - * - * This technique works for other actions as well. Your "scroll up" function - * in a menu could be done with - * - * \code - * id = popup->insertItem(i18n"Scroll &up",this, TQT_SLOT(scrollUp())); - * a->changeMenuAccel(popup, id, "Scroll Up" ); - * \endcode - * - * Please keep the order right: First insert all functions in the - * acceleratior, then call a -> readSettings() and @em then build your - * menu structure. - * - * @short Configurable key binding support. - */ - -class KDECORE_EXPORT KAccelBase -{ - public: - enum Init { QT_KEYS = 0x00, NATIVE_KEYS = 0x01 }; - enum Signal { KEYCODE_CHANGED }; - - KAccelBase( int fInitCode ); - virtual ~KAccelBase(); - - uint actionCount() const; - KAccelActions& actions(); - bool isEnabled() const; - - KAccelAction* actionPtr( const TQString& sAction ); - const KAccelAction* actionPtr( const TQString& sAction ) const; - KAccelAction* actionPtr( const KKey& key ); - KAccelAction* actionPtr( const KKeyServer::Key& key ); - - const TQString& configGroup() const { return m_sConfigGroup; } - void setConfigGroup( const TQString& group ); - void setConfigGlobal( bool global ); - virtual void setEnabled( bool bEnabled ) = 0; - bool getAutoUpdate() { return m_bAutoUpdate; } - // return value of AutoUpdate flag before this call. - bool setAutoUpdate( bool bAuto ); - -// Procedures for manipulating Actions. - //void clearActions(); - - KAccelAction* insert( const TQString& sName, const TQString& sDesc ); - KAccelAction* insert( - const TQString& sAction, const TQString& sDesc, const TQString& sHelp, - const KShortcut& rgCutDefaults3, const KShortcut& rgCutDefaults4, - const TQObject* pObjSlot, const char* psMethodSlot, - bool bConfigurable = true, bool bEnabled = true ); - bool remove( const TQString& sAction ); - bool setActionSlot( const TQString& sAction, const TQObject* pObjSlot, const char* psMethodSlot ); - - bool updateConnections(); - - bool setShortcut( const TQString& sAction, const KShortcut& cut ); - -// Modify individual Action sub-items - bool setActionEnabled( const TQString& sAction, bool bEnable ); - - /** - * Read all key associations from @p config, or (if @p config - * is zero) from the application's configuration file - * KGlobal::config(). - * - * The group in which the configuration is stored can be - * set with setConfigGroup(). - */ - void readSettings( KConfigBase* pConfig = 0 ); - - /** - * Write the current configurable associations to @p config, - * or (if @p config is zero) to the application's - * configuration file. - */ - void writeSettings( KConfigBase* pConfig = 0 ) const; - - TQPopupMenu* createPopupMenu( TQWidget* pParent, const KKeySequence& ); - - // Protected methods - protected: - void slotRemoveAction( KAccelAction* ); - - struct X; - void createKeyList( TQValueVector& rgKeys ); - bool insertConnection( KAccelAction* ); - bool removeConnection( KAccelAction* ); - - virtual bool emitSignal( Signal ) = 0; - virtual bool connectKey( KAccelAction&, const KKeyServer::Key& ) = 0; - virtual bool connectKey( const KKeyServer::Key& ) = 0; - virtual bool disconnectKey( KAccelAction&, const KKeyServer::Key& ) = 0; - virtual bool disconnectKey( const KKeyServer::Key& ) = 0; - - protected: - struct ActionInfo - { - KAccelAction* pAction; - uint iSeq, iVariation; - //ActionInfo* pInfoNext; // nil if only one action uses this key. - - ActionInfo() { pAction = 0; iSeq = 0xffff; iVariation = 0xffff; } - ActionInfo( KAccelAction* _pAction, uint _iSeq, uint _iVariation ) - { pAction = _pAction; iSeq = _iSeq; iVariation = _iVariation; } - }; - typedef TQMap KKeyToActionMap; - - KAccelActions m_rgActions; - KKeyToActionMap m_mapKeyToAction; - TQValueList m_rgActionsNonUnique; - bool m_bNativeKeys; // Use native key codes instead of Qt codes - bool m_bEnabled; - bool m_bConfigIsGlobal; - TQString m_sConfigGroup; - bool m_bAutoUpdate; - KAccelAction* mtemp_pActionRemoving; - - private: - KAccelBase& operator =( const KAccelBase& ); - - friend class KAccelActions; -}; - -#endif // _KACCELBASE_H diff --git a/python/pykde/extra/kde343/kicontheme.h b/python/pykde/extra/kde343/kicontheme.h deleted file mode 100644 index fe0d9d6a..00000000 --- a/python/pykde/extra/kde343/kicontheme.h +++ /dev/null @@ -1,355 +0,0 @@ -/* vi: ts=8 sts=4 sw=4 - * - * This file is part of the KDE project, module kdecore. - * Copyright (C) 2000 Geert Jansen - * Antonio Larrosa - * - * This is free software; it comes under the GNU Library General - * Public License, version 2. See the file "COPYING.LIB" for the - * exact licensing terms. - * - */ - -#ifndef __KIconTheme_h_Included__ -#define __KIconTheme_h_Included__ - -#include -#include -#include -#include "kdelibs_export.h" - -class KConfig; -//class KIconThemeDir; - -class KIconThemePrivate; - -class KIconPrivate; - -/** - * One icon as found by KIconTheme. Also serves as a namespace containing - * icon related constants. - * @see KIconEffect - * @see KIconTheme - * @see KIconLoader - */ -class KDECORE_EXPORT KIcon -{ -public: - KIcon() { size = 0; } - - /** - * Return true if this icon is valid, false otherwise. - */ - bool isValid() const { return size != 0; } - - /** - * Defines the context of the icon. - */ - enum Context { - Any, ///< Some icon with unknown purpose. - Action, ///< An action icon (e.g. 'save', 'print'). - Application, ///< An icon that represents an application. - Device, ///< An icon that represents a device. - FileSystem, ///< An icon that represents a file system. - MimeType ///< An icon that represents a mime type (or file type). - }; - - /** - * The type of the icon. - */ - enum Type { - Fixed, ///< Fixed-size icon. - Scalable, ///< Scalable-size icon. - Threshold ///< A threshold icon. - }; - - /** - * The type of a match. - */ - enum MatchType { - MatchExact, ///< Only try to find an exact match. - MatchBest ///< Take the best match if there is no exact match. - - }; - - // if you add a group here, make sure to change the config reading in - // KIconLoader too - /** - * The group of the icon. - */ - enum Group { - /// No group - NoGroup=-1, - /// Desktop icons - Desktop=0, - /// First group - FirstGroup=0, - /// Toolbar icons - Toolbar, - /// Main toolbar icons - MainToolbar, - /// Small icons - Small, - /// Panel (Kicker) icons - Panel, - /// Last group - LastGroup, - /// User icons - User - }; - - /** - * These are the standard sizes for icons. - */ - enum StdSizes { - /// small icons for menu entries - SizeSmall=16, - /// slightly larger small icons for toolbars, panels, etc - SizeSmallMedium=22, - /// medium sized icons for the desktop - SizeMedium=32, - /// large sized icons for the panel - SizeLarge=48, - /// huge sized icons for iconviews - SizeHuge=64, - /// enormous sized icons for iconviews - SizeEnormous=128 - }; - - /** - * Defines the possible states of an icon. - */ - enum States { DefaultState, ///< The default state. - ActiveState, ///< Icon is active. - DisabledState, ///< Icon is disabled. - LastState ///< Last state (last constant) - }; - - /** - * This defines an overlay, a semi-transparent image that is - * projected onto the icon. They are used to show that the file - * represented by the icon is, for example, locked, zipped or hidden. - */ - enum Overlays { - LockOverlay=0x100, ///< a file is locked - ZipOverlay=0x200, ///< a file is zipped - LinkOverlay=0x400, ///< a file is a link - HiddenOverlay=0x800, ///< a file is hidden - ShareOverlay=0x1000, ///< a file is shared - OverlayMask = ~0xff - }; - - /** - * The size in pixels of the icon. - */ - int size; - - /** - * The context of the icon. - */ - Context context; - - /** - * The type of the icon: Fixed, Scalable or Threshold. - **/ - Type type; - - /** - * The threshold in case type == Threshold - */ - int threshold; - - /** - * The full path of the icon. - */ - TQString path; - -private: - KIconPrivate *d; -}; - -inline KIcon::Group& operator++(KIcon::Group& group) { group = static_cast(group+1); return group; } -inline KIcon::Group operator++(KIcon::Group& group,int) { KIcon::Group ret = group; ++group; return ret; } - -/** - * Class to use/access icon themes in KDE. This class is used by the - * iconloader but can be used by others too. - * @see KIconLoader - */ -class KDECORE_EXPORT KIconTheme -{ -public: - /** - * Load an icon theme by name. - * @param name the name of the theme (e.g. "hicolor" or "keramik") - * @param appName the name of the application. Can be null. This argument - * allows applications to have themed application icons. - */ - KIconTheme(const TQString& name, const TQString& appName=TQString::null); - ~KIconTheme(); - - /** - * The stylized name of the icon theme. - * @return the (human-readable) name of the theme - */ - TQString name() const { return mName; } - - /** - * A description for the icon theme. - * @return a human-readable description of the theme, TQString::null - * if there is none - */ - TQString description() const { return mDesc; } - - /** - * Return the name of the "example" icon. This can be used to - * present the theme to the user. - * @return the name of the example icon, TQString::null if there is none - */ - TQString example() const; - - /** - * Return the name of the screenshot. - * @return the name of the screenshot, TQString::null if there is none - */ - TQString screenshot() const; - - /** - * Returns the name of this theme's link overlay. - * @return the name of the link overlay - */ - TQString linkOverlay() const; - - /** - * Returns the name of this theme's zip overlay. - * @return the name of the zip overlay - */ - TQString zipOverlay() const; - - /** - * Returns the name of this theme's lock overlay. - * @return the name of the lock overlay - */ - TQString lockOverlay() const; - - /** - * Returns the name of this theme's share overlay. - * @return the name of the share overlay - * @since 3.1 - */ - TQString shareOverlay () const; - - /** - * Returns the toplevel theme directory. - * @return the directory of the theme - */ - TQString dir() const { return mDir; } - - /** - * The themes this icon theme falls back on. - * @return a list of icon themes that are used as fall-backs - */ - TQStringList inherits() const { return mInherits; } - - /** - * The icon theme exists? - * @return true if the icon theme is valid - */ - bool isValid() const; - - /** - * The icon theme should be hidden to the user? - * @return true if the icon theme is hidden - * @since 3.1 - */ - bool isHidden() const; - - /** - * The minimum display depth required for this theme. This can either - * be 8 or 32. - * @return the minimum bpp (8 or 32) - */ - int depth() const { return mDepth; } - - /** - * The default size of this theme for a certain icon group. - * @param group The icon group. See KIcon::Group. - * @return The default size in pixels for the given icon group. - */ - int defaultSize(KIcon::Group group) const; - - /** - * Query available sizes for a group. - * @param group The icon group. See KIcon::Group. - * @return a list of available sized for the given group - */ - TQValueList querySizes(KIcon::Group group) const; - - /** - * Query available icons for a size and context. - * @param size the size of the icons - * @param context the context of the icons - * @return the list of icon names - */ - TQStringList queryIcons(int size, KIcon::Context context = KIcon::Any) const; - - /** - * Query available icons for a context and preferred size. - * @param size the size of the icons - * @param context the context of the icons - * @return the list of icon names - */ - TQStringList queryIconsByContext(int size, KIcon::Context context = KIcon::Any) const; - - - /** - * Lookup an icon in the theme. - * @param name The name of the icon, without extension. - * @param size The desired size of the icon. - * @param match The matching mode. KIcon::MatchExact returns an icon - * only if matches exactly. KIcon::MatchBest returns the best matching - * icon. - * @return A KIcon class that describes the icon. If an icon is found, - * @see KIcon::isValid will return true, and false otherwise. - */ - KIcon iconPath(const TQString& name, int size, KIcon::MatchType match) const; - - /** - * List all icon themes installed on the system, global and local. - * @return the list of all icon themes - */ - static TQStringList list(); - - /** - * Returns the current icon theme. - * @return the name of the current theme - */ - static TQString current(); - - /** - * Reconfigure the theme. - */ - static void reconfigure(); - - /** - * Returns the default icon theme. - * @return the name of the default theme name - * @since 3.1 - */ - static TQString defaultThemeName(); - -private: - int mDefSize[8]; - TQValueList mSizes[8]; - - int mDepth; - TQString mDir, mName, mDesc; - TQStringList mInherits; -// TQPtrList mDirs; -// KIconThemePrivate *d; - - static TQString *_theme; - static TQStringList *_theme_list; -}; - -#endif diff --git a/python/pykde/extra/kde343/kkeyserver.h b/python/pykde/extra/kde343/kkeyserver.h deleted file mode 100644 index ef673ea9..00000000 --- a/python/pykde/extra/kde343/kkeyserver.h +++ /dev/null @@ -1,29 +0,0 @@ -/* - Copyright (C) 2001 Ellis Whitehead - - Win32 port: - Copyright (C) 2004 Jaroslaw Staniek - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. -*/ - -#ifndef _KKEYSERVER_H -#define _KKEYSERVER_H - -//FOR COMPATIBILITY -#include "kkeyserver_x11.h" - -#endif // !_KKEYSERVER_H diff --git a/python/pykde/extra/kde343/kkeyserver_x11.h b/python/pykde/extra/kde343/kkeyserver_x11.h deleted file mode 100644 index 23ee47dc..00000000 --- a/python/pykde/extra/kde343/kkeyserver_x11.h +++ /dev/null @@ -1,469 +0,0 @@ -/* - Copyright (C) 2001 Ellis Whitehead - - Win32 port: - Copyright (C) 2004 Jaroslaw Staniek - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. -*/ - -#ifndef _KKEYSERVER_X11_H -#define _KKEYSERVER_X11_H - -#include "kshortcut.h" -#include "kkeynative.h" - -/** - * A collection of functions for the conversion of key presses and - * their modifiers from the window system specific format - * to the generic format and vice-versa. - */ -namespace KKeyServer -{ - /** - * Supplement enum KKey::ModFlag - * @since 3.1 - */ - enum ExtraModFlag { MODE_SWITCH = 0x2000 }; - - /** - * Represents a key symbol. - * @see KKey - * @see KKeyServer - */ - struct KDECORE_EXPORT Sym - { - public: - /// the actual value of the symbol - uint m_sym; - - /// Creates a null symbol. - Sym() - { m_sym = 0; } - /** - * Creates asymbol with the given value. - * @param sym the value - */ - Sym( uint sym ) - { m_sym = sym; } - /** - * Creates a symbol from the given string description. - * @param s the description of the symbol - * @see toString() - */ - Sym( const TQString& s ) - { init( s ); } - - /** - * Initializes the symbol with the given Qt key code. - * @param keyQt the qt key code - * @return true if successful, false otherwise - * @see Qt::Key - */ - bool initQt( int keyQt ); - - /** - * Initializes the key with the given string description. - * @param s the string description - * @return true if successful, false otherwise - * @see toString() - */ - bool init( const TQString &s ); - - /** - * Returns the qt key code of the symbol. - * @return the qt key code - */ - int qt() const; - - /** - * @internal - */ - TQString toStringInternal() const; - - /** - * Returns the string representation of the symbol. - * @return the string representation of the symbol - */ - TQString toString() const; - - /** - * Returns the mods that are required for this symbol as - * ORed KKey::ModFlag's. For example, Break requires a - * Ctrl to be valid. - * @return the required KKey::ModFlag's - * @see KKey::ModFlag - */ - uint getModsRequired() const; - - /** - * TODO: please find out what this method does and document it - */ - uint getSymVariation() const; - - /** - * Casts the symbol to its integer representation. - */ - operator uint() const { return m_sym; } - - /** - * Overloaded operator to convert ints to Sym. - */ - Sym& operator =( uint sym ) { m_sym = sym; return *this; } - - private: - TQString toString( bool bUserSpace ) const; - - static void capitalizeKeyname( TQString& ); - }; - - /** - * Represents a key press. - * @see KKey - */ - struct KDECORE_EXPORT Key - { - /// Code for native Keys in Qt - enum { CODE_FOR_QT = 256 }; - - /// The code of the key - uint m_code; - - /// The modifiers of the key - uint m_mod; - - /// The symbol of the key - uint m_sym; - - /** - * Initializes the key with a KKey. - * @param key the key to get the data from - * @param bQt true to take the Qt keycode, false - * for the native key code - * @see Qt::Key - * @see KKeyNative - */ - bool init( const KKey& key, bool bQt ); - - /** - * Checks whether the key code is a native code. - * @return true if native code of the window system, - * false if it is a Qt keycode - * @see Qt::Key - * @see KKeyNative - */ - bool isNative() const { return m_code != CODE_FOR_QT; } - - /** - * Returns the code of the key. - * @return the code of the key - */ - uint code() const { return m_code; } - - /** - * Returns the modifiers of the key. - * @return the modifiers of the key - */ - uint mod() const { return m_mod; } - - /** - * Returns the symbol of the key. - * @return the symbol of the key - */ - uint sym() const { return m_sym; } - - /** - * Returns the qt key code. - * @return the qt key code - */ - int keyCodeQt() const { return (int) m_sym; } - - /** - * Sets the qt key code. - * @param keyQt the qt key code - */ - void setKeycodeQt( int keyQt ) - { m_code = CODE_FOR_QT; m_sym = keyQt; } - - /** - * Initializes this key with a KKeyNative. - * @return this key - */ - Key& operator =( const KKeyNative& key ); - - /** - * Compares this key with the given Key object. Returns a - * negative number if the given Key is larger, 0 if they - * are equal and a positive number this Key is larger. The - * returned value is the difference between the symbol, modifier - * or code, whatever is non-zero first. - * - * @param key the key to compare with this key - * @return a negative number if the given Key is larger, 0 if - * they are equal and a positive number this Key is larger - */ - int compare( const Key& key ) const; - - /** - * Compares the symbol, modifiers and code of both keys. - * @see compare() - */ - bool operator ==( const Key& b ) const - { return compare( b ) == 0; } - - /** - * Compares the symbol, modifiers and code of both keys. - * @see compare() - */ - bool operator <( const Key& b ) const - { return compare( b ) < 0; } - - /** - * Converts this Key to a KKey. - * @return the KKey - */ - KKey key() const; - }; - - /** - * TODO: please document this class - */ - struct KDECORE_EXPORT Variations - { - enum { MAX_VARIATIONS = 4 }; - - Key m_rgkey[MAX_VARIATIONS]; - uint m_nVariations; - - Variations() { m_nVariations = 0; } - - void init( const KKey&, bool bQt ); - - uint count() const { return m_nVariations; } - const Key& key( uint i ) const { return m_rgkey[i]; } - }; - - /// TODO: please document - KDECORE_EXPORT bool initializeMods(); - - /** - * Returns the equivalent X modifier mask of the given modifier flag. - * @param modFlag the generic flags to check - * @return the window system specific flags - */ - KDECORE_EXPORT uint modX( KKey::ModFlag modFlag ); - - /** - * Returns true if the current keyboard layout supports the Win key. - * Specifically, whether the Super or Meta keys are assigned to an X modifier. - * @return true if the keyboard has a Win key - * @see modXWin() - */ - KDECORE_EXPORT bool keyboardHasWinKey(); - - /** - * Returns the X11 Shift modifier mask/flag. - * @return the X11 Shift modifier mask/flag. - * @see accelModMaskX() - */ - KDECORE_EXPORT uint modXShift(); - - /** - * Returns the X11 Lock modifier mask/flag. - * @return the X11 Lock modifier mask/flag. - * @see accelModMaskX() - */ - KDECORE_EXPORT uint modXLock(); - - /** - * Returns the X11 Ctrl modifier mask/flag. - * @return the X11 Ctrl modifier mask/flag. - * @see accelModMaskX() - */ - KDECORE_EXPORT uint modXCtrl(); - - /** - * Returns the X11 Alt (Mod1) modifier mask/flag. - * @return the X11 Alt (Mod1) modifier mask/flag. - * @see accelModMaskX() - */ - KDECORE_EXPORT uint modXAlt(); - - /** - * Returns the X11 NumLock modifier mask/flag. - * @return the X11 NumLock modifier mask/flag. - * @see accelModMaskX() - */ - KDECORE_EXPORT uint modXNumLock(); - - /** - * Returns the X11 Win (Mod3) modifier mask/flag. - * @return the X11 Win (Mod3) modifier mask/flag. - * @see keyboardHasWinKey() - * @see accelModMaskX() - */ - KDECORE_EXPORT uint modXWin(); - - /** - * Returns the X11 ScrollLock modifier mask/flag. - * @return the X11 ScrollLock modifier mask/flag. - * @see accelModMaskX() - */ - KDECORE_EXPORT uint modXScrollLock(); - - /** - * Returns the X11 Mode_switch modifier mask/flag. - * @return the X11 Mode_switch modifier mask/flag. - * @see accelModMaskX() - * @since 3.5 - */ - KDECORE_EXPORT uint modXModeSwitch(); - - /** - * Returns bitwise OR'ed mask containing Shift, Ctrl, Alt, and - * Win (if available). - * @see modXShift() - * @see modXLock() - * @see modXCtrl() - * @see modXAlt() - * @see modXNumLock() - * @see modXWin() - * @see modXScrollLock() - */ - KDECORE_EXPORT uint accelModMaskX(); - - /** - * Extracts the symbol from the given Qt key and - * converts it to a symbol. - * @param keyQt the qt key code - * @param sym if successful, the symbol will be written here - * @return true if successful, false otherwise - * @see Qt::Key - * @see Sym - */ - KDECORE_EXPORT bool keyQtToSym( int keyQt, uint& sym ); - - /** - * Extracts the modifiers from the given Qt key and - * converts them in a mask of ORed KKey::ModFlag modifiers. - * @param keyQt the qt key code - * @param mod if successful, the modifiers will be written here - * @return true if successful, false otherwise - * @see Qt::Key - */ - KDECORE_EXPORT bool keyQtToMod( int keyQt, uint& mod ); - - /** - * Converts the given symbol to a Qt key code. - * @param sym the symbol - * @param keyQt if successful, the qt key code will be written here - * @return true if successful, false otherwise - * @see Qt::Key - * @see Sym - */ - KDECORE_EXPORT bool symToKeyQt( uint sym, int& keyQt ); - - /** - * Converts the mask of ORed KKey::ModFlag modifiers to - * a mask of ORed Qt key code modifiers. - * @param mod the mask of KKey::ModFlag modifiers - * @param modQt the mask of Qt key code modifiers will be written here, - * if successful - * @return true if successful, false otherwise - * @see Qt::Key - * @see KKey - */ - KDECORE_EXPORT bool modToModQt( uint mod, int& modQt ); - - /** - * Converts the mask of ORed KKey::ModFlag modifiers to - * a mask of ORed X11 modifiers. - * @param mod the mask of KKey::ModFlag modifiers - * @param modX the mask of X11 modifiers will be written here, - * if successful - * @return true if successful, false otherwise - * @see KKey - */ - KDECORE_EXPORT bool modToModX( uint mod, uint& modX ); - - /** - * Converts the mask of ORed X11 modifiers to - * a mask of ORed Qt key code modifiers. - * @param modX the mask of X11 modifiers - * @param modQt the mask of Qt key code modifiers will be written here - * if successful - * @return true if successful, false otherwise - * @see Qt::Key - */ - //wrapped for win32 - KDECORE_EXPORT bool modXToModQt( uint modX, int& modQt ); - - /** - * Converts the Qt-compatible button state to x11 modifier. - */ - KDECORE_EXPORT int qtButtonStateToMod( Qt::ButtonState s ); - - /** - * Converts the mask of ORed X11 modifiers to - * a mask of ORed KKey::ModFlag modifiers. - * @param modX the mask of X11 modifiers - * @param mod the mask of KKey::ModFlag modifiers will be written here, - * if successful - * @return true if successful, false otherwise - * @see KKey - */ - KDECORE_EXPORT bool modXToMod( uint modX, uint& mod ); - - /** - * Converts a X11 key code and a mask of ORed X11 modifiers - * into a X11 symbol. - * converts it to a symbol. - * @param codeX the X11 key code - * @param modX the mask of ORed X11 modifiers - * @param symX if successful, the X11 symbol will be written here - * @return true if successful, false otherwise - * @see Qt::Key - * @see Sym - */ - KDECORE_EXPORT bool codeXToSym( uchar codeX, uint modX, uint& symX ); - - /** - * @internal - */ - KDECORE_EXPORT TQString modToStringInternal( uint mod ); - - /** - * Converts the mask of ORed KKey::ModFlag modifiers to a - * user-readable string. - * @param mod the mask of ORed KKey::ModFlag modifiers - * @return the user-readable string - */ - KDECORE_EXPORT TQString modToStringUser( uint mod ); - - /** - * @internal - * Unimplemented? - */ - KDECORE_EXPORT bool stringToSymMod( const TQString&, uint& sym, uint& mod ); - - /** - * @internal - * Unimplemented? - */ - KDECORE_EXPORT void keyQtToKeyX( uint keyCombQt, unsigned char *pKeyCodeX, uint *pKeySymX, uint *pKeyModX ); -} - -#endif // !_KKEYSERVER_X11_H diff --git a/python/pykde/extra/kde343/konsole_part.h b/python/pykde/extra/kde343/konsole_part.h deleted file mode 100644 index 51c49f5e..00000000 --- a/python/pykde/extra/kde343/konsole_part.h +++ /dev/null @@ -1,228 +0,0 @@ -/* - This file is part of the KDE system - Copyright (C) 1999,2000 Boloni Laszlo - - This program is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. - */ - -#ifndef __KONSOLE_PART_H__ -#define __KONSOLE_PART_H__ - -#include -#include - - -#include - -#include - -//#include "schema.h" -//#include "session.h" - -class KInstance; -class konsoleBrowserExtension; -class TQPushButton; -class TQSpinBox; -class KPopupMenu; -class TQCheckBox; -class KRootPixmap; -class KToggleAction; -class KSelectAction; - -namespace KParts { class GUIActivateEvent; } - -class konsoleFactory : public KParts::Factory -{ - Q_OBJECT -public: - konsoleFactory(); - virtual ~konsoleFactory(); - - virtual KParts::Part* createPartObject(TQWidget *parentWidget = 0, const char *widgetName = 0, - TQObject* parent = 0, const char* name = 0, - const char* classname = "KParts::Part", - const TQStringList &args = TQStringList()); - - static KInstance *instance(); - - private: - static KInstance *s_instance; - static KAboutData *s_aboutData; -}; - -////////////////////////////////////////////////////////////////////// - -class konsolePart: public KParts::ReadOnlyPart, public TerminalInterface -{ - Q_OBJECT - public: - konsolePart(TQWidget *parentWidget, const char *widgetName, TQObject * parent, const char *name, const char *classname = 0); - virtual ~konsolePart(); - -signals: - void processExited(); - void receivedData( const TQString& s ); - protected: - virtual bool openURL( const KURL & url ); - virtual bool openFile() {return false;} // never used - virtual bool closeURL() {return true;} - virtual void guiActivateEvent( KParts::GUIActivateEvent * event ); - - protected slots: - void showShell(); - void slotProcessExited(); - void slotReceivedData( const TQString& s ); - -// void doneSession(TESession*); - void sessionDestroyed(); -// void configureRequest(TEWidget*,int,int x,int y); - void updateTitle(); - void enableMasterModeConnections(); - - private slots: - void emitOpenURLRequest(const TQString &url); - - void readProperties(); - void saveProperties(); - - void sendSignal(int n); - void closeCurrentSession(); - - void notifySize(int,int); - - void slotToggleFrame(); - void slotSelectScrollbar(); - void slotSelectFont(); - void schema_menu_check(); - void keytab_menu_activated(int item); - void updateSchemaMenu(); - void setSchema(int n); - void pixmap_menu_activated(int item); - void schema_menu_activated(int item); - void slotHistoryType(); - void slotSelectBell(); - void slotSelectLineSpacing(); - void slotBlinkingCursor(); - void slotWordSeps(); - void fontNotFound(); - void slotSetEncoding(); - void slotFontChanged(); - - private: - konsoleBrowserExtension *m_extension; - KURL currentURL; - - void makeGUI(); - void applySettingsToGUI(); - - void setFont(int fontno); -// void setSchema(ColorSchema* s); - void updateKeytabMenu(); - - bool doOpenStream( const TQString& ); - bool doWriteStream( const TQByteArray& ); - bool doCloseStream(); - - TQWidget* parentWidget; -// TEWidget* te; -// TESession* se; -// ColorSchemaList* colors; - KRootPixmap* rootxpm; - - KToggleAction* blinkingCursor; - KToggleAction* showFrame; - - KSelectAction* selectBell; - KSelectAction* selectFont; - KSelectAction* selectLineSpacing; - KSelectAction* selectScrollbar; - KSelectAction* selectSetEncoding; - - KPopupMenu* m_keytab; - KPopupMenu* m_schema; - KPopupMenu* m_signals; - KPopupMenu* m_options; - KPopupMenu* m_popupMenu; - - TQFont defaultFont; - - TQString pmPath; // pixmap path - TQString s_schema; - TQString s_kconfigSchema; - TQString s_word_seps; // characters that are considered part of a word - TQString fontNotFound_par; - - bool b_framevis:1; - bool b_histEnabled:1; - - int curr_schema; // current schema no - int n_bell; - int n_font; - int n_keytab; - int n_render; - int n_scroll; - unsigned m_histSize; - bool m_runningShell; - bool m_streamEnabled; - int n_encoding; - -public: - // these are the implementations for the TermEmuInterface - // functions... - void startProgram( const TQString& program, - const TQStrList& args ); - void showShellInDir( const TQString& dir ); - void sendInput( const TQString& text ); -}; - -////////////////////////////////////////////////////////////////////// - -/*class HistoryTypeDialog : public KDialogBase -{ - Q_OBJECT -public: - HistoryTypeDialog(const HistoryType& histType, - unsigned int histSize, - TQWidget *parent); - -public slots: - void slotDefault(); - void slotSetUnlimited(); - void slotHistEnable(bool); - - unsigned int nbLines() const; - bool isOn() const; - -protected: - TQCheckBox* m_btnEnable; - TQSpinBox* m_size; - TQPushButton* m_setUnlimited; -};*/ - -////////////////////////////////////////////////////////////////////// - -class konsoleBrowserExtension : public KParts::BrowserExtension -{ - Q_OBJECT - friend class konsolePart; - public: - konsoleBrowserExtension(konsolePart *parent); - virtual ~konsoleBrowserExtension(); - - void emitOpenURLRequest(const KURL &url); -}; - -#endif diff --git a/python/pykde/extra/kde343/kpanelmenu.h b/python/pykde/extra/kde343/kpanelmenu.h deleted file mode 100644 index de0b065e..00000000 --- a/python/pykde/extra/kde343/kpanelmenu.h +++ /dev/null @@ -1,182 +0,0 @@ -/***************************************************************** - -Copyright (c) 1996-2000 the kicker authors. See file AUTHORS. - (c) 2001 Michael Goffioul - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN -AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - -******************************************************************/ - -#ifndef __KPANELMENU_H__ -#define __KPANELMENU_H__ - -#include -#include -#include - -class KPanelMenuPrivate; - -/** - * @short Base class to build dynamically loaded menu entries for the K-menu, or the panel. - * - * This class allows to build menu entries that will be dynamically added either to - * the K-menu, or to the panel as a normal button. These dynamic menus are located - * in shared libraries that will be loaded at runtime by Kicker (the %KDE panel). - * - * To build such a menu, you have to inherit this class and implement the pure virtual - * functions #initialize() and slotExec(). You also have to provide a factory - * object in your library, see KLibFactory. This factory is only used to construct - * the menu object. - * - * Finally, you also have to provide a desktop file describing your dynamic menu. The - * relevant entries are: Name, Comment, Icon and X-KDE-Library (which contains the - * library name without any extension). This desktop file has to be installed in - * $KDEDIR/share/apps/kicker/menuext/. - * - * @author The kicker maintainers, Michael Goffioul - */ -class KDEUI_EXPORT KPanelMenu : public KPopupMenu -{ - Q_OBJECT - -public: - /** - * Construct a KPanelMenu object. This is the normal constructor to use when - * building extrernal menu entries. - */ - KPanelMenu(TQWidget *parent=0, const char *name=0); - /** - * Constructor used internally by Kicker. You don't really want to use it. - * @param startDir a directory to associate with this menu - * @param parent parent object - * @param name name of the object - * @see path(), setPath() - */ - KPanelMenu(const TQString &startDir, TQWidget *parent=0, const char *name=0); - /** - * Destructor. - */ - virtual ~KPanelMenu(); - - /** - * Get the directory path associated with this menu, or TQString::null if - * there's no such associated path. - * @return the associated directory path - * @see setPath() - */ - const TQString& path() const; - /** - * Set a directory path to be associated with this menu. - * @param p the directory path - * @see path() - */ - void setPath(const TQString &p); - /** - * Tell if the menu has been initialized, that is it already contains items. - * This is useful when you need to know if you have to clear the menu, or to - * fill it. - * @return the initial state - * @see setInitialized(), initialize() - */ - bool initialized() const; - /** - * Set the initial state. Set it to true when you menu is filled with the items - * you want. - * @param on the initial state - * @see initialized(), initialize() - */ - void setInitialized(bool on); - - /** - * Disable the automatic clearing of the menu. Kicker uses a cache system for - * its menus. After a specific configurable delay, the menu will be cleared. - * Use this function if you want to disable kicker's cache system, and avoid - * the clearing of your menu. - */ - void disableAutoClear(); - -public slots: - /** - * Reinitialize the menu: the menu is first cleared, the initial state is set - * to false, and finally #initialize() is called. Use this if you want to - * refill your menu immediately. - */ - void reinitialize(); - /** - * Deinitialize the menu: the menu is cleared and the initialized state is set to - * false. #initialize() is NOT called. It will be called before the menu is - * next shown, however. Use this slot if you want a delayed reinitialization. - * @since 3.1 - */ - void deinitialize(); - -protected slots: - /** - * This slot is called just before the menu is shown. This allows your menu - * to update itself if needed. However you should instead re-implement - * #initialize to provide this feature. This function is responsible for - * the cache system handling, so if you re-implement it, you should call - * the base function also. Calls #initialize(). - * @see disableAutoClear() - */ - virtual void slotAboutToShow(); - /** - * This is slot is called when an item from the menu has been selected. Your - * applet is then supposed to perform some action. You must re-implement this - * function. - * @param id the ID associated with the selected item - */ - virtual void slotExec(int id) = 0; - /** - * This slots is called to initialize the menu. It is called automatically by - * slotAboutToShow(). By re-implementing this functions, you can reconstruct - * the menu before it is being shown. At the end of this function, you should - * call setInitialize() with true to tell the system that the menu is OK. - * You applet must re-implement this function. - * @see slotAboutToShow(), initialized(), setInitialized() - */ - virtual void initialize() = 0; - /** - * Clears the menu, and update the initial state accordingly. - * @see initialized() - */ - void slotClear(); - -protected: - /** - * Re-implemented for internal reasons. - */ - virtual void hideEvent(TQHideEvent *ev); - /** - * For internal use only. Used by constructors. - */ - void init(const TQString& path = TQString::null); - -protected: - virtual void virtual_hook( int id, void* data ); -private: - void internalInitialize(); - KPanelMenuPrivate *d; -}; - -#define K_EXPORT_KICKER_MENUEXT( libname, classname ) \ - K_EXPORT_COMPONENT_FACTORY( \ - kickermenu_##libname, \ - KGenericFactory("libkickermenu_" #libname) ) - -#endif diff --git a/python/pykde/extra/kde343/krecentdirs.h b/python/pykde/extra/kde343/krecentdirs.h deleted file mode 100644 index 439fb6fe..00000000 --- a/python/pykde/extra/kde343/krecentdirs.h +++ /dev/null @@ -1,70 +0,0 @@ -/* -*- c++ -*- - * Copyright (C)2000 Waldo Bastian - * - * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * - * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND - * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE - * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS - * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) - * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT - * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY - * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF - * SUCH DAMAGE. - * - */ -#ifndef __KRECENTDIRS_H -#define __KRECENTDIRS_H - -#include - -#include - -/** - * The goal of this class is to make sure that, when the user needs to - * specify a file via the file selection dialog, this dialog will start - * in the directory most likely to contain the desired files. - * - * This works as follows: Each time the file selection dialog is - * shown, the programmer can specify a "file-class". The file-dialog will - * then start with the directory associated with this file-class. When - * the dialog closes, the directory currently shown in the file-dialog - * will be associated with the file-class. - * - * A file-class can either start with ':' or with '::'. If it starts with - * a single ':' the file-class is specific to the current application. - * If the file-class starts with '::' it is global to all applications. - */ -class KIO_EXPORT KRecentDirs -{ -public: - /** - * Returns a list of directories associated with this file-class. - * The most recently used directory is at the front of the list. - */ - static TQStringList list(const TQString &fileClass); - - /** - * Returns the most recently used directory accociated with this file-class. - */ - static TQString dir(const TQString &fileClass); - - /** - * Associates @p directory with @p fileClass - */ - static void add(const TQString &fileClass, const TQString &directory); -}; - -#endif diff --git a/python/pykde/extra/kde343/ksharedptr.h b/python/pykde/extra/kde343/ksharedptr.h deleted file mode 100644 index ada08413..00000000 --- a/python/pykde/extra/kde343/ksharedptr.h +++ /dev/null @@ -1,175 +0,0 @@ -/* This file is part of the KDE libraries - Copyright (c) 1999 Waldo Bastian - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License version 2 as published by the Free Software Foundation. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. -*/ -#ifndef KSharedPTR_H -#define KSharedPTR_H - -#include "kdelibs_export.h" - -/** - * Reference counting for shared objects. If you derive your object - * from this class, then you may use it in conjunction with - * KSharedPtr to control the lifetime of your object. - * - * Specifically, all classes that derive from KShared have an internal - * counter keeping track of how many other objects have a reference to - * their object. If used with KSharedPtr, then your object will - * not be deleted until all references to the object have been - * released. - * - * You should probably not ever use any of the methods in this class - * directly -- let the KSharedPtr take care of that. Just derive - * your class from KShared and forget about it. - * - * @author Waldo Bastian - */ -class KDECORE_EXPORT KShared { -public: - /** - * Standard constructor. This will initialize the reference count - * on this object to 0. - */ - KShared() : count(0) { } - - /** - * Copy constructor. This will @em not actually copy the objects - * but it will initialize the reference count on this object to 0. - */ - KShared( const KShared & ) : count(0) { } - - /** - * Overloaded assignment operator. - */ - KShared &operator=(const KShared & ) { return *this; } - - /** - * Increases the reference count by one. - */ - void _KShared_ref() const { count++; } - - /** - * Releases a reference (decreases the reference count by one). If - * the count goes to 0, this object will delete itself. - */ - void _KShared_unref() const { if (!--count) delete this; } - - /** - * Return the current number of references held. - * - * @return Number of references - */ - int _KShared_count() const { return count; } - -protected: - virtual ~KShared() { } -private: - mutable int count; -}; - -/** - * Can be used to control the lifetime of an object that has derived - * KShared. As long a someone holds a KSharedPtr on some KShared - * object it won't become deleted but is deleted once its reference - * count is 0. This struct emulates C++ pointers virtually perfectly. - * So just use it like a simple C++ pointer. - * - * KShared and KSharedPtr are preferred over QShared / QSharedPtr - * since they are more safe. - * - * WARNING: Please note that this class template provides an implicit - * conversion to T*. Do *not* change this pointer or the pointee (don't - * call delete on it, for instance) behind KSharedPtr's back. - * - * @author Waldo Bastian - */ -template< class T > -class KSharedPtr -{ -public: -/** - * Creates a null pointer. - */ - KSharedPtr() - : ptr(0) { } - /** - * Creates a new pointer. - * @param t the pointer - */ - KSharedPtr( T* t ) - : ptr(t) { if ( ptr ) ptr->_KShared_ref(); } - - /** - * Copies a pointer. - * @param p the pointer to copy - */ - KSharedPtr( const KSharedPtr& p ) - : ptr(p.ptr) { if ( ptr ) ptr->_KShared_ref(); } - - /** - * Unreferences the object that this pointer points to. If it was - * the last reference, the object will be deleted. - */ - ~KSharedPtr() { if ( ptr ) ptr->_KShared_unref(); } - - KSharedPtr& operator= ( const KSharedPtr& p ) { - if ( ptr == p.ptr ) return *this; - if ( ptr ) ptr->_KShared_unref(); - ptr = p.ptr; - if ( ptr ) ptr->_KShared_ref(); - return *this; - } - KSharedPtr& operator= ( T* p ) { - if ( ptr == p ) return *this; - if ( ptr ) ptr->_KShared_unref(); - ptr = p; - if ( ptr ) ptr->_KShared_ref(); - return *this; - } - bool operator== ( const KSharedPtr& p ) const { return ( ptr == p.ptr ); } - bool operator!= ( const KSharedPtr& p ) const { return ( ptr != p.ptr ); } - bool operator== ( const T* p ) const { return ( ptr == p ); } - bool operator!= ( const T* p ) const { return ( ptr != p ); } - bool operator!() const { return ( ptr == 0 ); } - operator T*() const { return ptr; } - - /** - * Returns the pointer. - * @return the pointer - */ - T* data() { return ptr; } - - /** - * Returns the pointer. - * @return the pointer - */ - const T* data() const { return ptr; } - - const T& operator*() const { return *ptr; } - T& operator*() { return *ptr; } - const T* operator->() const { return ptr; } - T* operator->() { return ptr; } - - /** - * Returns the number of references. - * @return the number of references - */ - int count() const { return ptr->_KShared_count(); } // for debugging purposes -private: - T* ptr; -}; - -#endif diff --git a/python/pykde/extra/kde343/ksycocafactory.h b/python/pykde/extra/kde343/ksycocafactory.h deleted file mode 100644 index 536da286..00000000 --- a/python/pykde/extra/kde343/ksycocafactory.h +++ /dev/null @@ -1,143 +0,0 @@ -/* This file is part of the KDE libraries - * Copyright (C) 1999 Waldo Bastian - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License version 2 as published by the Free Software Foundation; - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public License - * along with this library; see the file COPYING.LIB. If not, write to - * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - * Boston, MA 02110-1301, USA. - **/ - -#ifndef __ksycocafactory_h__ -#define __ksycocafactory_h__ - -#include "ksycocatype.h" -#include "ksycocaentry.h" - -#include -#include -class KSycoca; -class TQStringList; -class TQString; -class KSycocaDict; -class KSycocaResourceList; - -typedef TQDict KSycocaEntryDict; - -/** - * @internal - * Base class for sycoca factories - */ -class KDECORE_EXPORT KSycocaFactory -{ -public: - virtual KSycocaFactoryId factoryId() const = 0; - -protected: // virtual class - /** - * Create a factory which can be used to lookup from/create a database - * (depending on KSycoca::isBuilding()) - */ - KSycocaFactory( KSycocaFactoryId factory_id ); - -public: - virtual ~KSycocaFactory(); - - /** - * @return the position of the factory in the sycoca file - */ - int offset() { return mOffset; } - - /** - * @return the dict, for special use by KBuildSycoca - */ - KSycocaEntryDict * entryDict() { return m_entryDict; } - - /** - * Construct an entry from a config file. - * To be implemented in the real factories. - */ - virtual KSycocaEntry *createEntry(const TQString &file, const char *resource) = 0; - - /** - * Add an entry - */ - virtual void addEntry(KSycocaEntry *newEntry, const char *resource); - - /** - * Remove an entry - * Not very fast, use with care. O(N) - */ - void removeEntry(KSycocaEntry *newEntry); - - /** - * Read an entry from the database - */ - virtual KSycocaEntry *createEntry(int offset)=0; - - /** - * Get a list of all entries from the database. - */ - KSycocaEntry::List allEntries(); - - /** - * Saves all entries it maintains as well as index files - * for these entries to the stream 'str'. - * - * Also sets mOffset to the starting position. - * - * The stream is positioned at the end of the last index. - * - * Don't forget to call the parent first when you override - * this function. - */ - virtual void save(TQDataStream &str); - - /** - * Writes out a header to the stream 'str'. - * The baseclass positions the stream correctly. - * - * Don't forget to call the parent first when you override - * this function. - */ - virtual void saveHeader(TQDataStream &str); - - /** - * @return the resources for which this factory is responsible. - */ - virtual const KSycocaResourceList * resourceList() const { return m_resourceList; } - -private: - int mOffset; - -protected: - int m_sycocaDictOffset; - int m_beginEntryOffset; - int m_endEntryOffset; - TQDataStream *m_str; - - KSycocaResourceList *m_resourceList; - KSycocaEntryDict *m_entryDict; - KSycocaDict *m_sycocaDict; -protected: - virtual void virtual_hook( int id, void* data ); -}; - -/** This, instead of a typedef, allows to declare "class ..." in header files - * @internal - */ -class KDECORE_EXPORT KSycocaFactoryList : public TQPtrList -{ -public: - KSycocaFactoryList() { } -}; - -#endif diff --git a/python/pykde/extra/kde343/ktoolbarbutton.h b/python/pykde/extra/kde343/ktoolbarbutton.h deleted file mode 100644 index 743c8bc8..00000000 --- a/python/pykde/extra/kde343/ktoolbarbutton.h +++ /dev/null @@ -1,329 +0,0 @@ -/* This file is part of the KDE libraries - Copyright (C) 1997, 1998 Stephan Kulow (coolo@kde.org) - (C) 1997, 1998 Sven Radej (radej@kde.org) - (C) 1997, 1998 Mark Donohoe (donohoe@kde.org) - (C) 1997, 1998 Matthias Ettrich (ettrich@kde.org) - (C) 2000 Kurt Granroth (granroth@kde.org) - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License version 2 as published by the Free Software Foundation. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. -*/ - -#ifndef _KTOOLBARBUTTON_H -#define _KTOOLBARBUTTON_H - -#include -#include -#include -#include -#include - -class KToolBar; -class KToolBarButtonPrivate; -class KInstance; -class TQEvent; -class TQPopupMenu; -class TQPainter; - -/** - * A toolbar button. This is used internally by KToolBar, use the - * KToolBar methods instead. - * @internal - */ -class KDEUI_EXPORT KToolBarButton : public QToolButton -{ - Q_OBJECT - -public: - /** - * Construct a button with an icon loaded by the button itself. - * This will trust the button to load the correct icon with the - * correct size. - * - * @param icon Name of icon to load (may be absolute or relative) - * @param id Id of this button - * @param parent This button's parent - * @param name This button's internal name - * @param txt This button's text (in a tooltip or otherwise) - * @param _instance the instance to use for this button - */ - KToolBarButton(const TQString& icon, int id, TQWidget *parent, - const char *name=0L, const TQString &txt=TQString::null, - KInstance *_instance = KGlobal::instance()); - - /** - * Construct a button with an existing pixmap. It is not - * recommended that you use this as the internal icon loading code - * will almost always get it "right". - * - * @param pixmap Name of icon to load (may be absolute or relative) - * @param id Id of this button - * @param parent This button's parent - * @param name This button's internal name - * @param txt This button's text (in a tooltip or otherwise) - */ - KToolBarButton(const TQPixmap& pixmap, int id, TQWidget *parent, - const char *name=0L, const TQString &txt=TQString::null); - - /** - * Construct a separator button - * - * @param parent This button's parent - * @param name This button's internal name - */ - KToolBarButton(TQWidget *parent=0L, const char *name=0L); - - /** - * Standard destructor - */ - ~KToolBarButton(); - -#ifndef KDE_NO_COMPAT - /** - * @deprecated - * Set the pixmap directly for this button. This pixmap should be - * the active one... the dimmed and disabled pixmaps are constructed - * based on this one. However, don't use this function unless you - * are positive that you don't want to use setIcon. - * - * @param pixmap The active pixmap - */ - // this one is from TQButton, so #ifdef-ing it out doesn't break BC - virtual void setPixmap(const TQPixmap &pixmap) KDE_DEPRECATED; - - /** - * @deprecated - * Force the button to use this pixmap as the default one rather - * then generating it using effects. - * - * @param pixmap The pixmap to use as the default (normal) one - */ - void setDefaultPixmap(const TQPixmap& pixmap) KDE_DEPRECATED; - - /** - * @deprecated - * Force the button to use this pixmap when disabled one rather then - * generating it using effects. - * - * @param pixmap The pixmap to use when disabled - */ - void setDisabledPixmap(const TQPixmap& pixmap) KDE_DEPRECATED; -#endif - - /** - * Set the text for this button. The text will be either used as a - * tooltip (IconOnly) or will be along side the icon - * - * @param text The button (or tooltip) text - */ - virtual void setText(const TQString &text); - - /** - * Set the icon for this button. The icon will be loaded internally - * with the correct size. This function is preferred over setIconSet - * - * @param icon The name of the icon - */ - virtual void setIcon(const TQString &icon); - - /// @since 3.1 - virtual void setIcon( const TQPixmap &pixmap ) - { TQToolButton::setIcon( pixmap ); } - - /** - * Set the pixmaps for this toolbar button from a TQIconSet. - * If you call this you don't need to call any of the other methods - * that set icons or pixmaps. - * @param iconset The iconset to use - */ - virtual void setIconSet( const TQIconSet &iconset ); - -#ifndef KDE_NO_COMPAT - /** - * @deprecated - * Set the active icon for this button. The pixmap itself is loaded - * internally based on the icon size... .. the disabled and default - * pixmaps, however will only be constructed if generate is - * true. This function is preferred over setPixmap - * - * @param icon The name of the active icon - * @param generate If true, then the other icons are automagically - * generated from this one - */ - KDE_DEPRECATED void setIcon(const TQString &icon, bool generate ) { Q_UNUSED(generate); setIcon( icon ); } - - /** - * @deprecated - * Force the button to use this icon as the default one rather - * then generating it using effects. - * - * @param icon The icon to use as the default (normal) one - */ - void setDefaultIcon(const TQString& icon) KDE_DEPRECATED; - - /** - * @deprecated - * Force the button to use this icon when disabled one rather then - * generating it using effects. - * - * @param icon The icon to use when disabled - */ - void setDisabledIcon(const TQString& icon) KDE_DEPRECATED; -#endif - - /** - * Turn this button on or off - * - * @param flag true or false - */ - void on(bool flag = true); - - /** - * Toggle this button - */ - void toggle(); - - /** - * Turn this button into a toggle button or disable the toggle - * aspects of it. This does not toggle the button itself. - * Use toggle() for that. - * - * @param toggle true or false - */ - void setToggle(bool toggle = true); - - /** - * Return a pointer to this button's popup menu (if it exists) - */ - TQPopupMenu *popup(); - - /** - * Returns the button's id. - * @since 3.2 - */ - int id() const; - - /** - * Give this button a popup menu. There will not be a delay when - * you press the button. Use setDelayedPopup if you want that - * behavior. - * - * @param p The new popup menu - * @param unused Has no effect - ignore it. - */ - void setPopup (TQPopupMenu *p, bool unused = false); - - /** - * Gives this button a delayed popup menu. - * - * This function allows you to add a delayed popup menu to the button. - * The popup menu is then only displayed when the button is pressed and - * held down for about half a second. - * - * @param p the new popup menu - * @param unused Has no effect - ignore it. - */ - void setDelayedPopup(TQPopupMenu *p, bool unused = false); - - /** - * Turn this button into a radio button - * - * @param f true or false - */ - void setRadio(bool f = true); - - /** - * Toolbar buttons naturally will assume the global styles - * concerning icons, icons sizes, etc. You can use this function to - * explicitly turn this off, if you like. - * - * @param no_style Will disable styles if true - */ - void setNoStyle(bool no_style = true); - -signals: - /** - * Emitted when the toolbar button is clicked (with LMB or MMB) - */ - void clicked(int); - /** - * Emitted when the toolbar button is clicked (with any mouse button) - * @param state makes it possible to find out which button was pressed, - * and whether any keyboard modifiers were held. - * @since 3.4 - */ - void buttonClicked(int, Qt::ButtonState state); - void doubleClicked(int); - void pressed(int); - void released(int); - void toggled(int); - void highlighted(int, bool); - -public slots: - /** - * This slot should be called whenever the toolbar mode has - * potentially changed. This includes such events as text changing, - * orientation changing, etc. - */ - void modeChange(); - virtual void setTextLabel(const TQString&, bool tipToo); - -protected: - void paletteChange(const TQPalette &); - void leaveEvent(TQEvent *e); - void enterEvent(TQEvent *e); - void drawButton(TQPainter *p); - bool eventFilter (TQObject *o, TQEvent *e); - /// @since 3.4 - void mousePressEvent( TQMouseEvent * ); - /// @since 3.4 - void mouseReleaseEvent( TQMouseEvent * ); - void showMenu(); - TQSize sizeHint() const; - TQSize minimumSizeHint() const; - TQSize minimumSize() const; - - /// @since 3.1 - bool isRaised() const; - /// @since 3.1 - bool isActive() const; - /// @since 3.1 - int iconTextMode() const; - -protected slots: - void slotClicked(); - void slotPressed(); - void slotReleased(); - void slotToggled(); - void slotDelayTimeout(); - -protected: - virtual void virtual_hook( int id, void* data ); -private: - KToolBarButtonPrivate *d; -}; - -/** -* List of KToolBarButton objects. -* @internal -* @version $Id: ktoolbarbutton.h 372745 2004-12-22 14:08:36Z dfaure $ -*/ -class KDEUI_EXPORT KToolBarButtonList : public TQIntDict -{ -public: - KToolBarButtonList(); - ~KToolBarButtonList() {} -}; - -#endif diff --git a/python/pykde/extra/kde343/kurifilter.h b/python/pykde/extra/kde343/kurifilter.h deleted file mode 100644 index 61c8aca6..00000000 --- a/python/pykde/extra/kde343/kurifilter.h +++ /dev/null @@ -1,647 +0,0 @@ -/* - * This file is part of the KDE libraries - * Copyright (C) 2000-2001,2003 Dawit Alemayehu - * - * Original author - * Copyright (C) 2000 Yves Arrouye - * - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public License - * along with this library; see the file COPYING.LIB. If not, write to - * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - * Boston, MA 02110-1301, USA. - **/ - -#ifndef __kurifilter_h__ -#define __kurifilter_h__ - -#include -#include -#include - -#include - -#ifdef Q_OS_WIN -#undef ERROR -#endif - -class KURIFilterPrivate; -class KURIFilterDataPrivate; - -class KCModule; - -/** -* A basic message object used for exchanging filtering -* information between the filter plugins and the application -* requesting the filtering service. -* -* Use this object if you require a more detailed information -* about the URI you want to filter. Any application can create -* an instance of this class and send it to KURIFilter to -* have the plugins fill out all possible information about the -* URI. -* -* \b Example -* -* \code -* TQString text = "kde.org"; -* KURIFilterData d = text; -* bool filtered = KURIFilter::self()->filter( d ); -* cout << "URL: " << text.latin1() << endl -* << "Filtered URL: " << d.uri().url().latin1() << endl -* << "URI Type: " << d.uriType() << endl -* << "Was Filtered: " << filtered << endl; -* \endcode -* -* The above code should yield the following output: -* \code -* URI: kde.org -* Filtered URI: http://kde.org -* URI Type: 0 <== means NET_PROTOCOL -* Was Filtered: 1 <== means the URL was successfully filtered -* \endcode -* -* @short A message object for exchanging filtering URI info. -* @author Dawit Alemayehu -*/ - -class KIO_EXPORT KURIFilterData -{ -friend class KURIFilterPlugin; - -public: - /** - * Describes the type of the URI that was filtered. - * Here is a brief description of the types: - * - * @li NET_PROTOCOL - Any network protocol: http, ftp, nttp, pop3, etc... - * @li LOCAL_FILE - A local file whose executable flag is not set - * @li LOCAL_DIR - A local directory - * @li EXECUTABLE - A local file whose executable flag is set - * @li HELP - A man or info page - * @li SHELL - A shell executable (ex: echo "Test..." >> ~/testfile) - * @li BLOCKED - A URI that should be blocked/filtered (ex: ad filtering) - * @li ERROR - An incorrect URI (ex: "~johndoe" when user johndoe - * does not exist in that system ) - * @li UNKNOWN - A URI that is not identified. Default value when - * a KURIFilterData is first created. - */ - enum URITypes { NET_PROTOCOL=0, LOCAL_FILE, LOCAL_DIR, EXECUTABLE, HELP, SHELL, BLOCKED, ERROR, UNKNOWN }; - - /** - * Default constructor. - * - * Creates a URIFilterData object. - */ - KURIFilterData() { init(); } - - /** - * Creates a URIFilterData object from the given URL. - * - * @param url is the URL to be filtered. - */ - KURIFilterData( const KURL& url ) { init( url); } - - /** - * Creates a URIFilterData object from the given string. - * - * @param url is the string to be filtered. - */ - KURIFilterData( const TQString& url ) { init( url ); } - - /** - * Copy constructor. - * - * Creates a URIFilterData object from another - * URI filter data object. - * - * @param data the uri filter data to be copied. - */ - KURIFilterData( const KURIFilterData& data); - - /** - * Destructor. - */ - ~KURIFilterData(); - - /** - * This method has been deprecated and will always return - * true. You should instead use the result from the - * KURIFilter::filterURI() calls. - * - * @deprecated - */ - KDE_DEPRECATED bool hasBeenFiltered() const { return true; } - - /** - * Returns the filtered or the original URL. - * - * This function returns the filtered url if one - * of the plugins successfully filtered the original - * URL. Otherwise, it returns the original URL. - * See hasBeenFiltered() and - * - * @return the filtered or original url. - */ - KURL uri() const { return m_pURI; } - - /** - * Returns an error message. - * - * This functions returns the error message set - * by the plugin whenever the uri type is set to - * KURIFilterData::ERROR. Otherwise, it returns - * a TQString::null. - * - * @return the error message or a NULL when there is none. - */ - TQString errorMsg() const { return m_strErrMsg; } - - /** - * Returns the URI type. - * - * This method always returns KURIFilterData::UNKNOWN - * if the given URL was not filtered. - * @return the type of the URI - */ - URITypes uriType() const { return m_iType; } - - /** - * Sets the URL to be filtered. - * - * Use this function to set the string to be - * filtered when you construct an empty filter - * object. - * - * @param url the string to be filtered. - */ - void setData( const TQString& url ) { init( url ); } - - /** - * Same as above except the argument is a URL. - * - * Use this function to set the string to be - * filtered when you construct an empty filter - * object. - * - * @param url the URL to be filtered. - */ - void setData( const KURL& url ) { init( url ); } - - /** - * Sets the absolute path to be used whenever the supplied - * data is a relative local URL. - * - * NOTE: This function should only be used for local resources, - * i.e. the "file:/" protocol. It is useful for specifying the - * absolute path in cases where the actual URL might be relative. - * meta object. If deriving the path from a KURL, make sure you - * set the argument for this function to the result of calling - * path () instead of url (). - * - * @param abs_path the abolute path to the local resource. - * @return true if absolute path is successfully set. Otherwise, false. - */ - bool setAbsolutePath( const TQString& abs_path ); - - /** - * Returns the absolute path if one has already been set. - * @return the absolute path, or TQString::null - * @see hasAbsolutePath() - */ - TQString absolutePath() const; - - /** - * Checks whether the supplied data had an absolute path. - * @return true if the supplied data has an absolute path - * @see absolutePath() - */ - bool hasAbsolutePath() const; - - /** - * Returns the command line options and arguments for a - * local resource when present. - * - * @return options and arguments when present, otherwise TQString::null - */ - TQString argsAndOptions() const; - - /** - * Checks whether the current data is a local resource with - * command line options and arguments. - * @return true if the current data has command line options and arguments - */ - bool hasArgsAndOptions() const; - - /** - * Returns the name of the icon that matches - * the current filtered URL. - * - * NOTE that this function will return a NULL - * string by default and when no associated icon - * is found. - * - * @return the name of the icon associated with the resource, - * or TQString::null if not found - */ - TQString iconName(); - - /** - * Check whether the provided uri is executable or not. - * - * Setting this to false ensures that typing the name of - * an executable does not start that application. This is - * useful in the location bar of a browser. The default - * value is true. - * - * @since 3.2 - */ - void setCheckForExecutables (bool check); - - /** - * @return true if the filters should attempt to check whether the - * supplied uri is an executable. False otherwise. - * - * @since 3.2 - */ - bool checkForExecutables() const { return m_bCheckForExecutables; } - - /** - * @return the string as typed by the user, before any URL processing is done - * @since 3.2 - */ - TQString typedString() const; - - /** - * Overloaded assigenment operator. - * - * This function allows you to easily assign a KURL - * to a KURIFilterData object. - * - * @return an instance of a KURIFilterData object. - */ - KURIFilterData& operator=( const KURL& url ) { init( url ); return *this; } - - /** - * Overloaded assigenment operator. - * - * This function allows you to easily assign a QString - * to a KURIFilterData object. - * - * @return an instance of a KURIFilterData object. - */ - KURIFilterData& operator=( const TQString& url ) { init( url ); return *this; } - -protected: - - /** - * Initializes the KURIFilterData on construction. - * @param url the URL to initialize the object with - */ - void init( const KURL& url); - - /** - * Initializes the KURIFilterData on construction. - * @param url the URL to initialize the object with - */ - void init( const TQString& url = TQString::null ); - -private: - bool m_bCheckForExecutables; - bool m_bChanged; - - TQString m_strErrMsg; - TQString m_strIconName; - - KURL m_pURI; - URITypes m_iType; - KURIFilterDataPrivate *d; -}; - - -/** - * Base class for URI filter plugins. - * - * This class applies a single filter to a URI. All plugins designed - * to provide URI filtering service should inherit from this abstract - * class and provide a concrete implementation. - * - * All inheriting classes need to implement the pure virtual function - * filterURI. - * - * @short Abstract class for URI filter plugins. - */ -class KIO_EXPORT KURIFilterPlugin : public QObject -{ - Q_OBJECT - -public: - - /** - * Constructs a filter plugin with a given name and - * priority. - * - * @param parent the parent object, or 0 for no parent - * @param name the name of the plugin, or 0 for no name - * @param pri the priority of the plugin. - */ - KURIFilterPlugin( TQObject *parent = 0, const char *name = 0, double pri = 1.0 ); - - /** - * Returns the filter's name. - * - * @return A string naming the filter. - */ - virtual TQString name() const { return m_strName; } - - /** - * Returns the filter's priority. - * - * Each filter has an assigned priority, a float from 0 to 1. Filters - * with the lowest priority are first given a chance to filter a URI. - * - * @return The priority of the filter. - */ - virtual double priority() const { return m_dblPriority; } - - /** - * Filters a URI. - * - * @param data the URI data to be filtered. - * @return A boolean indicating whether the URI has been changed. - */ - virtual bool filterURI( KURIFilterData& data ) const = 0; - - /** - * Creates a configuration module for the filter. - * - * It is the responsibility of the caller to delete the module - * once it is not needed anymore. - * - * @return A configuration module, 0 if the filter isn't configurable. - */ - virtual KCModule *configModule( TQWidget*, const char* ) const { return 0; } - - /** - * Returns the name of the configuration module for the filter. - * - * @return the name of a configuration module or TQString::null if none. - */ - virtual TQString configName() const { return name(); } - -protected: - - /** - * Sets the the URL in @p data to @p uri. - */ - void setFilteredURI ( KURIFilterData& data, const KURL& uri ) const; - - /** - * Sets the error message in @p data to @p errormsg. - */ - void setErrorMsg ( KURIFilterData& data, const TQString& errmsg ) const { - data.m_strErrMsg = errmsg; - } - - /** - * Sets the URI type in @p data to @p type. - */ - void setURIType ( KURIFilterData& data, KURIFilterData::URITypes type) const { - data.m_iType = type; - data.m_bChanged = true; - } - - /** - * Sets the arguments and options string in @p data - * to @p args if any were found during filterting. - */ - void setArguments( KURIFilterData& data, const TQString& args ) const; - - TQString m_strName; - double m_dblPriority; - -protected: - virtual void virtual_hook( int id, void* data ); -private: - class KURIFilterPluginPrivate *d; -}; - - -/** - * A list of filter plugins. - */ -class KIO_EXPORT KURIFilterPluginList : public TQPtrList -{ -public: - virtual int compareItems(Item a, Item b) - { - double diff = ((KURIFilterPlugin *) a)->priority() - ((KURIFilterPlugin *) b)->priority(); - return diff < 0 ? -1 : (diff > 0 ? 1 : 0); - } - -private: - KURIFilterPrivate *d; - -}; - -/** - * Manages the filtering of URIs. - * - * The intention of this plugin class is to allow people to extend the - * functionality of KURL without modifying it directly. This way KURL will - * remain a generic parser capable of parsing any generic URL that adheres - * to specifications. - * - * The KURIFilter class applies a number of filters to a URI and returns the - * filtered version whenever possible. The filters are implemented using - * plugins to provide easy extensibility of the filtering mechanism. New - * filters can be added in the future by simply inheriting from - * KURIFilterPlugin and implementing the KURIFilterPlugin::filterURI - * method. - * - * Use of this plugin-manager class is straight forward. Since it is a - * singleton object, all you have to do is obtain an instance by doing - * @p KURIFilter::self() and use any of the public member functions to - * preform the filtering. - * - * \b Example - * - * To simply filter a given string: - * - * \code - * bool filtered = KURIFilter::self()->filterURI( "kde.org" ); - * \endcode - * - * You can alternatively use a KURL: - * - * \code - * KURL url = "kde.org"; - * bool filtered = KURIFilter::self()->filterURI( url ); - * \endcode - * - * If you have a constant string or a constant URL, simply invoke the - * corresponding function to obtain the filtered string or URL instead - * of a boolean flag: - * - * \code - * TQString u = KURIFilter::self()->filteredURI( "kde.org" ); - * \endcode - * - * You can also restrict the filter(s) to be used by supplying - * the name of the filter(s) to use. By defualt all available - * filters will be used. To use specific filters, add the names - * of the filters you want to use to a TQStringList and invoke - * the appropriate filtering function. The examples below show - * the use of specific filters. The first one uses a single - * filter called kshorturifilter while the second example uses - * multiple filters: - * - * \code - * TQString text = "kde.org"; - * bool filtered = KURIFilter::self()->filterURI( text, "kshorturifilter" ); - * \endcode - * - * \code - * TQStringList list; - * list << "kshorturifilter" << "localdomainfilter"; - * bool filtered = KURIFilter::self()->filterURI( text, list ); - * \endcode - * - * KURIFilter also allows richer data exchange through a simple - * meta-object called @p KURIFilterData. Using this meta-object - * you can find out more information about the URL you want to - * filter. See KURIFilterData for examples and details. - * - * @short Filters a given URL into its proper format whenever possible. - */ - -class KIO_EXPORT KURIFilter -{ -public: - /** - * Destructor - */ - ~KURIFilter (); - - /** - * Returns an instance of KURIFilter. - */ - static KURIFilter* self(); - - /** - * Filters the URI given by the object URIFilterData. - * - * The given URL is filtered based on the specified list of filters. - * If the list is empty all available filters would be used. - * - * @param data object that contains the URI to be filtered. - * @param filters specify the list of filters to be used. - * - * @return a boolean indicating whether the URI has been changed - */ - bool filterURI( KURIFilterData& data, const TQStringList& filters = TQStringList() ); - - /** - * Filters the URI given by the URL. - * - * The given URL is filtered based on the specified list of filters. - * If the list is empty all available filters would be used. - * - * @param uri the URI to filter. - * @param filters specify the list of filters to be used. - * - * @return a boolean indicating whether the URI has been changed - */ - bool filterURI( KURL &uri, const TQStringList& filters = TQStringList() ); - - /** - * Filters a string representing a URI. - * - * The given URL is filtered based on the specified list of filters. - * If the list is empty all available filters would be used. - * - * @param uri The URI to filter. - * @param filters specify the list of filters to be used. - * - * @return a boolean indicating whether the URI has been changed - */ - bool filterURI( TQString &uri, const TQStringList& filters = TQStringList() ); - - /** - * Returns the filtered URI. - * - * The given URL is filtered based on the specified list of filters. - * If the list is empty all available filters would be used. - * - * @param uri The URI to filter. - * @param filters specify the list of filters to be used. - * - * @return the filtered URI or null if it cannot be filtered - */ - KURL filteredURI( const KURL &uri, const TQStringList& filters = TQStringList() ); - - /** - * Return a filtered string representation of a URI. - * - * The given URL is filtered based on the specified list of filters. - * If the list is empty all available filters would be used. - * - * @param uri the URI to filter. - * @param filters specify the list of filters to be used. - * - * @return the filtered URI or null if it cannot be filtered - */ - TQString filteredURI( const TQString &uri, const TQStringList& filters = TQStringList() ); - - /** - * Return an iterator to iterate over all loaded - * plugins. - * - * @return a plugin iterator. - */ - TQPtrListIterator pluginsIterator() const; - - /** - * Return a list of the names of all loaded plugins. - * - * @return a TQStringList of plugin names - * @since 3.1 - */ - TQStringList pluginNames() const; - -protected: - - /** - * A protected constructor. - * - * This constructor creates a KURIFilter and - * initializes all plugins it can find by invoking - * loadPlugins. - */ - KURIFilter(); - - /** - * Loads all allowed plugins. - * - * This function loads all filters that have not - * been disbled. - */ - void loadPlugins(); - -private: - static KURIFilter *m_self; - KURIFilterPluginList m_lstPlugins; - KURIFilterPrivate *d; -}; - -#endif diff --git a/python/pykde/extra/kde343/selectdialog.h b/python/pykde/extra/kde343/selectdialog.h deleted file mode 100644 index 987dcb68..00000000 --- a/python/pykde/extra/kde343/selectdialog.h +++ /dev/null @@ -1,87 +0,0 @@ -/* - This file is part of libkresources. - - Copyright (c) 2002 Tobias Koenig - Copyright (c) 2002 Jan-Pascal van Best - Copyright (c) 2003 Cornelius Schumacher - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. -*/ - -#ifndef KRESOURCES_SELECTDIALOG_H -#define KRESOURCES_SELECTDIALOG_H - -#include -#include -#include - -#include - -class KListBox; - -namespace KRES { - -class Resource; - -/** - * Dialog for selecting a resource. - * - * Example: - * - * \code - * - * TQPtrList list = ... // can be retrived from KRES::Manager (e.g. KABC::AddressBook) - * - * KABC::Resource *res = KABC::SelectDialog::getResource( list, parentWdg ); - * if ( !res ) { - * // no resource selected - * } else { - * // do something with resource - * } - * \endcode - */ -class KRESOURCES_EXPORT SelectDialog -{ - public: - /** - * Constructor. - * @param list The list of available resources - * @param parent The parent widget - * @param name The name of the dialog - */ - SelectDialog( TQPtrList list, TQWidget *parent = 0, - const char *name = 0); - - /** - * Returns selected resource. - */ - Resource *resource(); - - /** - * Opens a dialog showing the available resources and returns the resource the - * user has selected. Returns 0, if the dialog was canceled. - */ - static Resource *getResource( TQPtrList list, TQWidget *parent = 0 ); - - private: - KListBox *mResourceId; - - TQMap mResourceMap; -}; - -} - -#endif diff --git a/python/pykde/extra/kde350/configwidget.h b/python/pykde/extra/kde350/configwidget.h deleted file mode 100644 index 47917edd..00000000 --- a/python/pykde/extra/kde350/configwidget.h +++ /dev/null @@ -1,58 +0,0 @@ -/* - This file is part of libkresources. - Copyright (c) 2002 Tobias Koenig - Copyright (c) 2002 Jan-Pascal van Best - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. -*/ - -#ifndef KRESOURCES_CONFIGWIDGET_H -#define KRESOURCES_CONFIGWIDGET_H - -#include "resource.h" - -#include - -#include - -namespace KRES { - -class KRESOURCES_EXPORT ConfigWidget : public QWidget -{ - Q_OBJECT - public: - ConfigWidget( TQWidget *parent = 0, const char *name = 0 ); - - /** - Sets the widget to 'edit' mode. Reimplement this method if you are - interested in the mode change (to disable some GUI element for - example). By default the widget is in 'create new' mode. - */ - virtual void setInEditMode( bool value ); - - public slots: - virtual void loadSettings( Resource *resource ) = 0; - virtual void saveSettings( Resource *resource ) = 0; - - signals: - void setReadOnly( bool value ); - - protected: - Resource *mResource; -}; - -} -#endif diff --git a/python/pykde/extra/kde350/kaccelaction.h b/python/pykde/extra/kde350/kaccelaction.h deleted file mode 100644 index d55e4517..00000000 --- a/python/pykde/extra/kde350/kaccelaction.h +++ /dev/null @@ -1,576 +0,0 @@ -/* This file is part of the KDE libraries - Copyright (C) 2001,2002 Ellis Whitehead - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. -*/ - -#ifndef _KACCELACTION_H -#define _KACCELACTION_H - -#include -#include -#include -#include - -#include - -class KAccelBase; - -class TQObject; -class KConfig; -class KConfigBase; - -/** - * @internal - * A KAccelAction prepresents an action that can be executed using - * an accelerator key. Each KAccelAction has a name, a label, a - * "What's this" string and a KShortcut. The user can configure and - * enable/disable them using KKeyDialog. - * - * \code - * 1) KAccelAction = "Run Command" - * Default3 = "Alt+F2" - * Default4 = "Meta+Enter;Alt+F2" - * 1) KShortcut = "Meta+Enter" - * 1) KKeySequence = "Meta+Enter" - * 1) KKey = "Meta+Enter" - * 1) Meta+Enter - * 2) Meta+Keypad_Enter - * 2) KShortcut = "Alt+F2" - * 1) KKeySequence = "Alt+F2" - * 1) Alt+F2 - * 2) KAccelAction = "Something" - * Default3 = "" - * Default4 = "" - * 1) KShortcut = "Meta+X,Asterisk" - * 1) KKeySequence = "Meta+X,Asterisk" - * 1) KKey = "Meta+X" - * 1) Meta+X - * 2) KKey = "Asterisk" - * 1) Shift+8 (English layout) - * 2) Keypad_Asterisk - * \endcode - * @short An accelerator action - * @see KAccel - * @see KGlobalAccel - * @see KKeyChooser - * @see KKeyDialog - */ -class KDECORE_EXPORT KAccelAction -{ - public: - /** - * Creates an empty KAccelAction. - * @see clear() - */ - KAccelAction(); - - /** - * Copy constructor. - */ - KAccelAction( const KAccelAction& ); - - /** - * Creates a new KAccelAction. - * @param sName the name of the accelerator - * @param sLabel the label of the accelerator (i18n!) - * @param sWhatsThis the What's This text (18n!) - * @param cutDef3 the default shortcut for 3 modifier systems - * @param cutDef4 the default shortcut for 4 modifier systems - * @param pObjSlot the receiver of a signal when the key has been - * pressed - * @param psMethodSlot the slot to connect for key presses. Receives - * an int, as set by setID(), as only argument - * @param bConfigurable if true the user can configure the shortcut - * @param bEnabled true if the accelerator should be enabled - */ - KAccelAction( const TQString& sName, const TQString& sLabel, const TQString& sWhatsThis, - const KShortcut& cutDef3, const KShortcut& cutDef4, - const TQObject* pObjSlot, const char* psMethodSlot, - bool bConfigurable, bool bEnabled ); - ~KAccelAction(); - - /** - * Clears the accelerator. - */ - void clear(); - - /** - * Re-initialized the KAccelAction. - * @param sName the name of the accelerator - * @param sLabel the label of the accelerator (i18n!) - * @param sWhatsThis the What's This text (18n!) - * @param cutDef3 the default shortcut for 3 modifier systems - * @param cutDef4 the default shortcut for 4 modifier systems - * @param pObjSlot the receiver of a signal when the key has been - * pressed - * @param psMethodSlot the slot to connect for key presses. Receives - * an int, as set by setID(), as only argument - * @param bConfigurable if true the user can configure the shortcut - * @param bEnabled true if the accelerator should be enabled - * @return true if successful, false otherwise - */ - bool init( const TQString& sName, const TQString& sLabel, const TQString& sWhatsThis, - const KShortcut& cutDef3, const KShortcut& cutDef4, - const TQObject* pObjSlot, const char* psMethodSlot, - bool bConfigurable, bool bEnabled ); - - /** - * Copies this KAccelAction. - */ - KAccelAction& operator=( const KAccelAction& ); - - /** - * Returns the name of the accelerator action. - * @return the name of the accelerator action, can be null if not - * set - */ - const TQString& name() const { return m_sName; } - - /** - * Returns the label of the accelerator action. - * @return the label of the accelerator action, can be null if - * not set - */ - const TQString& label() const { return m_sLabel; } - - /** - * Returns the What's This text of the accelerator action. - * @return the What's This text of the accelerator action, can be - * null if not set - */ - const TQString& whatsThis() const { return m_sWhatsThis; } - - /** - * The shortcut that is actually used (may be used configured). - * @return the shortcut of the KAccelAction, can be null if not set - * @see shortcutDefault() - */ - const KShortcut& shortcut() const { return m_cut; } - - /** - * The default shortcut for this system. - * @return the default shortcut on this system, can be null if not set - * @see shortcut() - * @see shortcutDefault3() - * @see shortcutDefault4() - */ - const KShortcut& shortcutDefault() const; - - /** - * The default shortcut for 3 modifier systems. - * @return the default shortcut for 3 modifier systems, can be null - * if not set - * @see shortcutDefault() - * @see shortcutDefault4() - * @see useFourModifierKeys() - */ - const KShortcut& shortcutDefault3() const { return m_cutDefault3; } - - /** - * The default shortcut for 4 modifier systems. - * @return the default shortcut for 4 modifier systems, can be null - * if not set - * @see shortcutDefault() - * @see shortcutDefault3() - * @see useFourModifierKeys() - */ - const KShortcut& shortcutDefault4() const { return m_cutDefault4; } - - /** - * Returns the receiver of signals. - * @return the receiver of signals (can be 0 if not set) - */ - const TQObject* objSlotPtr() const { return m_pObjSlot; } - - /** - * Returns the slot for the signal. - * @return the slot for the signal - */ - const char* methodSlotPtr() const { return m_psMethodSlot; } - - /** - * Checks whether the user can configure the action. - * @return true if configurable, false otherwise - */ - bool isConfigurable() const { return m_bConfigurable; } - - /** - * Checks whether the action is enabled. - * @return true if enabled, false otherwise - */ - bool isEnabled() const { return m_bEnabled; } - - /** - * Sets the name of the accelerator action. - * @param name the new name - */ - void setName( const TQString& name ); - - /** - * Sets the user-readable label of the accelerator action. - * @param label the new label (i18n!) - */ - void setLabel( const TQString& label ); - - /** - * Sets the What's This text for the accelerator action. - * @param whatsThis the new What's This text (i18n!) - */ - void setWhatsThis( const TQString& whatsThis ); - - /** - * Sets the new shortcut of the accelerator action. - * @param rgCuts the shortcut to set - * @return true if successful, false otherwise - */ - bool setShortcut( const KShortcut& rgCuts ); - - /** - * Sets the slot of the accelerator action. - * @param pObjSlot the receiver object of the signal - * @param psMethodSlot the slot for the signal - */ - void setSlot( const TQObject* pObjSlot, const char* psMethodSlot ); - - /** - * Enables or disabled configuring the action. - * @param configurable true to enable configurability, false to disable - */ - void setConfigurable( bool configurable ); - - /** - * Enables or disabled the action. - * @param enable true to enable the action, false to disable - */ - void setEnabled( bool enable ); - - /** - * Retrieves the id set using setID. - * @return the id of the accelerator action - */ - int getID() const { return m_nIDAccel; } - - /** - * Allows you to set an id that will be used as the action - * signal's argument. - * - * @param n the new id - * @see getID() - */ - void setID( int n ) { m_nIDAccel = n; } - - /** - * Checkes whether the action is connected (emits signals). - * @return true if connected, false otherwise - */ - bool isConnected() const; - - /** - * Sets a key sequence of the action's shortcut. - * @param i the position of the sequence - * @param keySeq the new new sequence - * @return true if successful, false otherwise - * @see KShortcut::setSeq() - */ - bool setKeySequence( uint i, const KKeySequence &keySeq ); - - /** - * Clears the action's shortcut. It will not contain any sequences after - * calling this method. - * @see KShortcut::clear() - */ - void clearShortcut(); - - /** - * Checks whether the action's shortcut contains the given key sequence. - * @param keySeq the key sequence to check - * @return true if the shortcut contains the given sequence - * @see KShortcut::contains() - */ - bool contains( const KKeySequence &keySeq ); - - /** - * Returns the string representation of the action's shortcut. - * @return the string representation of the action's shortcut. - * @see KShortcut::toString() - */ - TQString toString() const; - - /** - * @internal - */ - TQString toStringInternal() const; - - /** - * Returns true if four modifier keys will be used. - * @return true if four modifier keys will be used. - */ - static bool useFourModifierKeys(); - - /** - * Selects 3 or 4 modifier default shortcuts. - * @param use true to use 4 modifier shortcuts, false to use - * 3 modifier shortcuts - */ - static void useFourModifierKeys( bool use ); - - protected: - TQString m_sName /**< Name of accel. @sa setName() */, - m_sLabel /**< Label of accel. User-visible. */, - m_sWhatsThis /**< WhatsThis help for accel. User-visible. */; - KShortcut m_cut /**< Shortcut actually assigned. */; - KShortcut m_cutDefault3 /**< Default shortcut in 3-modifier layout */, - m_cutDefault4 /**< Default shortcur in 4-modifier layout */; - const TQObject* m_pObjSlot /**< Object we will send signals to. */; - const char* m_psMethodSlot /**< Slot we send signals to, in m_pObjSlot */; - bool m_bConfigurable /**< Can this accel be configured by the user? */, - m_bEnabled /**< Is this accel enabled? */; - int m_nIDAccel /**< Id of this accel, from the list of IDs */; - uint m_nConnections /**< Number of connections to this accel. */ ; - - /** @internal Increment the number of connections to this accel. */ - void incConnections(); - /** @internal Decrement the number of connections to this accel (bouded by zero). */ - void decConnections(); - - private: - static int g_bUseFourModifierKeys; - class KAccelActionPrivate* d; - - friend class KAccelActions; - friend class KAccelBase; -}; - -//--------------------------------------------------------------------- -// KAccelActions -//--------------------------------------------------------------------- - -/** - * @internal - * This class represents a collection of KAccelAction objects. - * - * @short A collection of accelerator actions - * @see KAccelAction - */ -class KDECORE_EXPORT KAccelActions -{ - public: - /** - * Creates a new, empty KAccelActions object. - */ - KAccelActions(); - - /** - * Copy constructor (deep copy). - */ - KAccelActions( const KAccelActions& ); - virtual ~KAccelActions(); - - /** - * Removes all items from this collection. - */ - void clear(); - - /** - * Initializes this object with the given actions. - * It will make a deep copy of all actions. - * @param actions the actions to copy - * @return true if successful, false otherwise - */ - bool init( const KAccelActions &actions ); - - /** - * Loads the actions from the given configuration file. - * - * @param config the configuration file to load from - * @param sGroup the group in the configuration file - * @return true if successful, false otherwise - */ - bool init( KConfigBase& config, const TQString& sGroup ); - - /** - * Updates the shortcuts of all actions in this object - * with the shortcuts from the given object. - * @param shortcuts the collection that contains the new - * shortcuts - */ - void updateShortcuts( KAccelActions &shortcuts ); - - /** - * Retrieves the index of the action with the given name. - * @param sAction the action to search - * @return the index of the action, or -1 if not found - */ - int actionIndex( const TQString& sAction ) const; - - /** - * Returns the action with the given @p index. - * @param index the index of an action. You must not - * use an index that is too high. - * @return the KAccelAction with the given index - * @see count() - */ - KAccelAction* actionPtr( uint index ); - - /** - * Returns the action with the given @p index. - * @param index the index of an action. You must not - * use an index that is too high. - * @return the KAccelAction with the given index - * @see count() - */ - const KAccelAction* actionPtr( uint index ) const; - - /** - * Returns the action with the given name. - * @param sAction the name of the action to search - * @return the KAccelAction with the given name, or 0 - * if not found - */ - KAccelAction* actionPtr( const TQString& sAction ); - - /** - * Returns the action with the given name. - * @param sAction the name of the action to search - * @return the KAccelAction with the given name, or 0 - * if not found - */ - const KAccelAction* actionPtr( const TQString& sAction ) const; - - /** - * Returns the action with the given key sequence. - * @param cut the sequence to search for - * @return the KAccelAction with the given sequence, or 0 - * if not found - */ - KAccelAction* actionPtr( KKeySequence cut ); - - /** - * Returns the action with the given @p index. - * @param index the index of an action. You must not - * use an index that is too high. - * @return the KAccelAction with the given index - * @see actionPtr() - * @see count() - */ - KAccelAction& operator []( uint index ); - - /** - * Returns the action with the given @p index. - * @param index the index of an action. You must not - * use an index that is too high. - * @return the KAccelAction with the given index - * @see actionPtr() - * @see count() - */ - const KAccelAction& operator []( uint index ) const; - - /** - * Inserts an action into the collection. - * @param sAction the name of the accelerator - * @param sLabel the label of the accelerator (i18n!) - * @param sWhatsThis the What's This text (18n!) - * @param rgCutDefaults3 the default shortcut for 3 modifier systems - * @param rgCutDefaults4 the default shortcut for 4 modifier systems - * @param pObjSlot the receiver of a signal when the key has been - * pressed - * @param psMethodSlot the slot to connect for key presses. Receives - * an int, as set by setID(), as only argument - * @param bConfigurable if true the user can configure the shortcut - * @param bEnabled if true the accelerator should be enabled - * @return the new action - */ - KAccelAction* insert( const TQString& sAction, const TQString& sLabel, const TQString& sWhatsThis, - const KShortcut& rgCutDefaults3, const KShortcut& rgCutDefaults4, - const TQObject* pObjSlot = 0, const char* psMethodSlot = 0, - bool bConfigurable = true, bool bEnabled = true ); - - /** - * Inserts an action into the collection. - * @param sName the name of the accelerator - * @param sLabel the label of the accelerator (i18n!) - * @return the new action - */ - KAccelAction* insert( const TQString& sName, const TQString& sLabel ); - - /** - * Removes the given action. - * @param sAction the name of the action. - * @return true if successful, false otherwise - */ - bool remove( const TQString& sAction ); - - /** - * Loads the actions from the given configuration file. - * - * @param sConfigGroup the group in the configuration file - * @param pConfig the configuration file to load from - * @return true if successful, false otherwise - */ - bool readActions( const TQString& sConfigGroup = "Shortcuts", KConfigBase* pConfig = 0 ); - - /** - * Writes the actions to the given configuration file. - * - * @param sConfigGroup the group in the configuration file - * @param pConfig the configuration file to save to - * @param bWriteAll true to write all actions - * @param bGlobal true to write to the global configuration file - * @return true if successful, false otherwise - */ - bool writeActions( const TQString& sConfigGroup = "Shortcuts", KConfigBase* pConfig = 0, - bool bWriteAll = false, bool bGlobal = false ) const; - - /** - * Emit a keycodeChanged signal. - */ - void emitKeycodeChanged(); - - /** - * Returns the number of actions in the collection. - * @return the number of actions - */ - uint count() const; - - protected: - /** Base object that proxies signals from us. */ - KAccelBase* m_pKAccelBase; - /** Array of actions we're hanging on to. */ - KAccelAction** m_prgActions; - uint m_nSizeAllocated /**< Allocated size of the array. */, - m_nSize /**< Amount in use. */ ; - - /** - * Resize the list to the given number @p new_size of entries. - * @todo Can you make it smaller? - * @todo Implementation seems to break m_nSize. - */ - void resize( uint new_size ); - /** Add a action to this collection. @todo Document ownership. */ - void insertPtr( KAccelAction* ); - - private: - class KAccelActionsPrivate* d; - - KAccelActions( KAccelBase* ); - void initPrivate( KAccelBase* ); - KAccelActions& operator =( KAccelActions& ); - - friend class KAccelBase; -}; - -#endif // _KACCELACTION_H diff --git a/python/pykde/extra/kde350/kaccelbase.h b/python/pykde/extra/kde350/kaccelbase.h deleted file mode 100644 index babf304b..00000000 --- a/python/pykde/extra/kde350/kaccelbase.h +++ /dev/null @@ -1,260 +0,0 @@ -/* This file is part of the KDE libraries - Copyright (C) 2001 Ellis Whitehead - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. -*/ - -#ifndef _KACCELBASE_H -#define _KACCELBASE_H - -#include -#include -#include -#include -#include - -#include "kaccelaction.h" -#include "kkeyserver.h" - -class TQPopupMenu; -class TQWidget; - -//---------------------------------------------------- - -/** - * @internal - * Handle keyboard accelerators. - * - * Allow an user to configure - * key bindings through application configuration files or through the - * KKeyChooser GUI. - * - * A KAccel contains a list of accelerator items. Each accelerator item - * consists of an action name and a keyboard code combined with modifiers - * (Shift, Ctrl and Alt.) - * - * For example, "Ctrl+P" could be a shortcut for printing a document. The key - * codes are listed in ckey.h. "Print" could be the action name for printing. - * The action name identifies the key binding in configuration files and the - * KKeyChooser GUI. - * - * When pressed, an accelerator key calls the slot to which it has been - * connected. Accelerator items can be connected so that a key will activate - * two different slots. - * - * A KAccel object handles key events sent to its parent widget and to all - * children of this parent widget. - * - * Key binding reconfiguration during run time can be prevented by specifying - * that an accelerator item is not configurable when it is inserted. A special - * group of non-configurable key bindings are known as the - * standard accelerators. - * - * The standard accelerators appear repeatedly in applications for - * standard document actions such as printing and saving. Convenience methods are - * available to insert and connect these accelerators which are configurable on - * a desktop-wide basis. - * - * It is possible for a user to choose to have no key associated with - * an action. - * - * The translated first argument for insertItem() is used only - * in the configuration dialog. - *\code - * KAccel *a = new KAccel( myWindow ); - * // Insert an action "Scroll Up" which is associated with the "Up" key: - * a->insertItem( i18n("Scroll Up"), "Scroll Up", "Up" ); - * // Insert an action "Scroll Down" which is not associated with any key: - * a->insertItem( i18n("Scroll Down"), "Scroll Down", 0); - * a->connectItem( "Scroll up", myWindow, TQT_SLOT( scrollUp() ) ); - * // a->insertStdItem( KStdAccel::Print ); //not necessary, since it - * // is done automatially with the - * // connect below! - * a->connectItem(KStdAccel::Print, myWindow, TQT_SLOT( printDoc() ) ); - * - * a->readSettings(); - *\endcode - * - * If a shortcut has a menu entry as well, you could insert them like - * this. The example is again the KStdAccel::Print from above. - * - * \code - * int id; - * id = popup->insertItem("&Print",this, TQT_SLOT(printDoc())); - * a->changeMenuAccel(popup, id, KStdAccel::Print ); - * \endcode - * - * If you want a somewhat "exotic" name for your standard print action, like - * id = popup->insertItem(i18n("Print &Document"),this, TQT_SLOT(printDoc())); - * it might be a good idea to insert the standard action before as - * a->insertStdItem( KStdAccel::Print, i18n("Print Document") ) - * as well, so that the user can easily find the corresponding function. - * - * This technique works for other actions as well. Your "scroll up" function - * in a menu could be done with - * - * \code - * id = popup->insertItem(i18n"Scroll &up",this, TQT_SLOT(scrollUp())); - * a->changeMenuAccel(popup, id, "Scroll Up" ); - * \endcode - * - * Please keep the order right: First insert all functions in the - * acceleratior, then call a -> readSettings() and @em then build your - * menu structure. - * - * @short Configurable key binding support. - */ - -class KDECORE_EXPORT KAccelBase -{ - public: - /** Initialization mode of the KAccelBase, used in constructor. */ - enum Init { QT_KEYS = 0x00, NATIVE_KEYS = 0x01 }; - - /** Enum for kinds of signals which may be emitted. */ - enum Signal { KEYCODE_CHANGED }; - - /** Constructor. @p fInitCode should be a bitwise OR of - * values from the Init enum. - */ - KAccelBase( int fInitCode ); - virtual ~KAccelBase(); - - /** Returns number of actions in this handler. */ - uint actionCount() const; - /** Returns a list of all the actions in this handler. */ - KAccelActions& actions(); - /** Returns whether this accelerator handler is enabled or not. */ - bool isEnabled() const; - - /** Returns a pointer to the KAccelAction named @p sAction. */ - KAccelAction* actionPtr( const TQString& sAction ); - /** Const version of the above. */ - const KAccelAction* actionPtr( const TQString& sAction ) const; - /** Returns a pointer to the KAccelAction associated with - * the key @p key. This function takes into account the - * key mapping defined in the constructor. - * - * May return 0 if no (or more than one) - * action is associated with the key. - */ - KAccelAction* actionPtr( const KKey& key ); - /** Basically the same as above, except a KKeyServer::Key - * already has a key mapping defined (either NATIVE_KEYS or not). - */ - KAccelAction* actionPtr( const KKeyServer::Key& key ); - - /** Returns the name of the configuration group these - * accelerators are stored in. The default is "Shortcuts". - */ - const TQString& configGroup() const { return m_sConfigGroup; } - /** Set the group (in the configuration file) for storing - * accelerators. - */ - void setConfigGroup( const TQString& group ); - void setConfigGlobal( bool global ); - virtual void setEnabled( bool bEnabled ) = 0; - /** Returns whether autoupdate is enabled for these accelerators. */ - bool getAutoUpdate() { return m_bAutoUpdate; } - /** Enables (or disables) autoupdate for these accelerators. - * @return the value of autoupdate before the call. - */ - bool setAutoUpdate( bool bAuto ); - -// Procedures for manipulating Actions. - //void clearActions(); - - KAccelAction* insert( const TQString& sName, const TQString& sDesc ); - KAccelAction* insert( - const TQString& sAction, const TQString& sDesc, const TQString& sHelp, - const KShortcut& rgCutDefaults3, const KShortcut& rgCutDefaults4, - const TQObject* pObjSlot, const char* psMethodSlot, - bool bConfigurable = true, bool bEnabled = true ); - bool remove( const TQString& sAction ); - bool setActionSlot( const TQString& sAction, const TQObject* pObjSlot, const char* psMethodSlot ); - - bool updateConnections(); - - bool setShortcut( const TQString& sAction, const KShortcut& cut ); - -// Modify individual Action sub-items - bool setActionEnabled( const TQString& sAction, bool bEnable ); - - /** - * Read all key associations from @p config, or (if @p config - * is zero) from the application's configuration file - * KGlobal::config(). - * - * The group in which the configuration is stored can be - * set with setConfigGroup(). - */ - void readSettings( KConfigBase* pConfig = 0 ); - - /** - * Write the current configurable associations to @p config, - * or (if @p config is zero) to the application's - * configuration file. - */ - void writeSettings( KConfigBase* pConfig = 0 ) const; - - TQPopupMenu* createPopupMenu( TQWidget* pParent, const KKeySequence& ); - - // Protected methods - protected: - void slotRemoveAction( KAccelAction* ); - - struct X; - void createKeyList( TQValueVector& rgKeys ); - bool insertConnection( KAccelAction* ); - bool removeConnection( KAccelAction* ); - - virtual bool emitSignal( Signal ) = 0; - virtual bool connectKey( KAccelAction&, const KKeyServer::Key& ) = 0; - virtual bool connectKey( const KKeyServer::Key& ) = 0; - virtual bool disconnectKey( KAccelAction&, const KKeyServer::Key& ) = 0; - virtual bool disconnectKey( const KKeyServer::Key& ) = 0; - - protected: - virtual bool isEnabledInternal() const; - struct ActionInfo - { - KAccelAction* pAction; - uint iSeq, iVariation; - //ActionInfo* pInfoNext; // nil if only one action uses this key. - - ActionInfo() { pAction = 0; iSeq = 0xffff; iVariation = 0xffff; } - ActionInfo( KAccelAction* _pAction, uint _iSeq, uint _iVariation ) - { pAction = _pAction; iSeq = _iSeq; iVariation = _iVariation; } - }; - typedef TQMap KKeyToActionMap; - - KAccelActions m_rgActions; - KKeyToActionMap m_mapKeyToAction; - TQValueList m_rgActionsNonUnique; - bool m_bNativeKeys; // Use native key codes instead of Qt codes - bool m_bEnabled; - bool m_bConfigIsGlobal; - TQString m_sConfigGroup; - bool m_bAutoUpdate; - KAccelAction* mtemp_pActionRemoving; - - private: - KAccelBase& operator =( const KAccelBase& ); - - friend class KAccelActions; -}; - -#endif // _KACCELBASE_H diff --git a/python/pykde/extra/kde350/kicontheme.h b/python/pykde/extra/kde350/kicontheme.h deleted file mode 100644 index 9c08f9c6..00000000 --- a/python/pykde/extra/kde350/kicontheme.h +++ /dev/null @@ -1,355 +0,0 @@ -/* vi: ts=8 sts=4 sw=4 - * - * This file is part of the KDE project, module kdecore. - * Copyright (C) 2000 Geert Jansen - * Antonio Larrosa - * - * This is free software; it comes under the GNU Library General - * Public License, version 2. See the file "COPYING.LIB" for the - * exact licensing terms. - * - */ - -#ifndef __KIconTheme_h_Included__ -#define __KIconTheme_h_Included__ - -#include -#include -#include -#include "kdelibs_export.h" - -class KConfig; -//class KIconThemeDir; - -class KIconThemePrivate; - -class KIconPrivate; - -/** - * One icon as found by KIconTheme. Also serves as a namespace containing - * icon related constants. - * @see KIconEffect - * @see KIconTheme - * @see KIconLoader - */ -class KDECORE_EXPORT KIcon -{ -public: - KIcon() { size = 0; } - - /** - * Return true if this icon is valid, false otherwise. - */ - bool isValid() const { return size != 0; } - - /** - * Defines the context of the icon. - */ - enum Context { - Any, ///< Some icon with unknown purpose. - Action, ///< An action icon (e.g. 'save', 'print'). - Application, ///< An icon that represents an application. - Device, ///< An icon that represents a device. - FileSystem, ///< An icon that represents a file system. - MimeType ///< An icon that represents a mime type (or file type). - }; - - /** - * The type of the icon. - */ - enum Type { - Fixed, ///< Fixed-size icon. - Scalable, ///< Scalable-size icon. - Threshold ///< A threshold icon. - }; - - /** - * The type of a match. - */ - enum MatchType { - MatchExact, ///< Only try to find an exact match. - MatchBest ///< Take the best match if there is no exact match. - - }; - - // if you add a group here, make sure to change the config reading in - // KIconLoader too - /** - * The group of the icon. - */ - enum Group { - /// No group - NoGroup=-1, - /// Desktop icons - Desktop=0, - /// First group - FirstGroup=0, - /// Toolbar icons - Toolbar, - /// Main toolbar icons - MainToolbar, - /// Small icons - Small, - /// Panel (Kicker) icons - Panel, - /// Last group - LastGroup, - /// User icons - User - }; - - /** - * These are the standard sizes for icons. - */ - enum StdSizes { - /// small icons for menu entries - SizeSmall=16, - /// slightly larger small icons for toolbars, panels, etc - SizeSmallMedium=22, - /// medium sized icons for the desktop - SizeMedium=32, - /// large sized icons for the panel - SizeLarge=48, - /// huge sized icons for iconviews - SizeHuge=64, - /// enormous sized icons for iconviews - SizeEnormous=128 - }; - - /** - * Defines the possible states of an icon. - */ - enum States { DefaultState, ///< The default state. - ActiveState, ///< Icon is active. - DisabledState, ///< Icon is disabled. - LastState ///< Last state (last constant) - }; - - /** - * This defines an overlay, a semi-transparent image that is - * projected onto the icon. They are used to show that the file - * represented by the icon is, for example, locked, zipped or hidden. - */ - enum Overlays { - LockOverlay=0x100, ///< a file is locked - ZipOverlay=0x200, ///< a file is zipped - LinkOverlay=0x400, ///< a file is a link - HiddenOverlay=0x800, ///< a file is hidden - ShareOverlay=0x1000, ///< a file is shared - OverlayMask = ~0xff - }; - - /** - * The size in pixels of the icon. - */ - int size; - - /** - * The context of the icon. - */ - Context context; - - /** - * The type of the icon: Fixed, Scalable or Threshold. - **/ - Type type; - - /** - * The threshold in case type == Threshold - */ - int threshold; - - /** - * The full path of the icon. - */ - TQString path; - -private: - KIconPrivate *d; -}; - -inline KIcon::Group& operator++(KIcon::Group& group) { group = static_cast(group+1); return group; } -inline KIcon::Group operator++(KIcon::Group& group,int) { KIcon::Group ret = group; ++group; return ret; } - -/** - * Class to use/access icon themes in KDE. This class is used by the - * iconloader but can be used by others too. - * @see KIconLoader - */ -class KDECORE_EXPORT KIconTheme -{ -public: - /** - * Load an icon theme by name. - * @param name the name of the theme (e.g. "hicolor" or "keramik") - * @param appName the name of the application. Can be null. This argument - * allows applications to have themed application icons. - */ - KIconTheme(const TQString& name, const TQString& appName=TQString::null); - ~KIconTheme(); - - /** - * The stylized name of the icon theme. - * @return the (human-readable) name of the theme - */ - TQString name() const { return mName; } - - /** - * A description for the icon theme. - * @return a human-readable description of the theme, TQString::null - * if there is none - */ - TQString description() const { return mDesc; } - - /** - * Return the name of the "example" icon. This can be used to - * present the theme to the user. - * @return the name of the example icon, TQString::null if there is none - */ - TQString example() const; - - /** - * Return the name of the screenshot. - * @return the name of the screenshot, TQString::null if there is none - */ - TQString screenshot() const; - - /** - * Returns the name of this theme's link overlay. - * @return the name of the link overlay - */ - TQString linkOverlay() const; - - /** - * Returns the name of this theme's zip overlay. - * @return the name of the zip overlay - */ - TQString zipOverlay() const; - - /** - * Returns the name of this theme's lock overlay. - * @return the name of the lock overlay - */ - TQString lockOverlay() const; - - /** - * Returns the name of this theme's share overlay. - * @return the name of the share overlay - * @since 3.1 - */ - TQString shareOverlay () const; - - /** - * Returns the toplevel theme directory. - * @return the directory of the theme - */ - TQString dir() const { return mDir; } - - /** - * The themes this icon theme falls back on. - * @return a list of icon themes that are used as fall-backs - */ - TQStringList inherits() const { return mInherits; } - - /** - * The icon theme exists? - * @return true if the icon theme is valid - */ - bool isValid() const; - - /** - * The icon theme should be hidden to the user? - * @return true if the icon theme is hidden - * @since 3.1 - */ - bool isHidden() const; - - /** - * The minimum display depth required for this theme. This can either - * be 8 or 32. - * @return the minimum bpp (8 or 32) - */ - int depth() const { return mDepth; } - - /** - * The default size of this theme for a certain icon group. - * @param group The icon group. See KIcon::Group. - * @return The default size in pixels for the given icon group. - */ - int defaultSize(KIcon::Group group) const; - - /** - * Query available sizes for a group. - * @param group The icon group. See KIcon::Group. - * @return a list of available sized for the given group - */ - TQValueList querySizes(KIcon::Group group) const; - - /** - * Query available icons for a size and context. - * @param size the size of the icons - * @param context the context of the icons - * @return the list of icon names - */ - TQStringList queryIcons(int size, KIcon::Context context = KIcon::Any) const; - - /** - * Query available icons for a context and preferred size. - * @param size the size of the icons - * @param context the context of the icons - * @return the list of icon names - */ - TQStringList queryIconsByContext(int size, KIcon::Context context = KIcon::Any) const; - - - /** - * Lookup an icon in the theme. - * @param name The name of the icon, without extension. - * @param size The desired size of the icon. - * @param match The matching mode. KIcon::MatchExact returns an icon - * only if matches exactly. KIcon::MatchBest returns the best matching - * icon. - * @return A KIcon class that describes the icon. If an icon is found, - * @see KIcon::isValid will return true, and false otherwise. - */ - KIcon iconPath(const TQString& name, int size, KIcon::MatchType match) const; - - /** - * List all icon themes installed on the system, global and local. - * @return the list of all icon themes - */ - static TQStringList list(); - - /** - * Returns the current icon theme. - * @return the name of the current theme - */ - static TQString current(); - - /** - * Reconfigure the theme. - */ - static void reconfigure(); - - /** - * Returns the default icon theme. - * @return the name of the default theme name - * @since 3.1 - */ - static TQString defaultThemeName(); - -private: - int mDefSize[8]; - TQValueList mSizes[8]; - - int mDepth; - TQString mDir, mName, mDesc; - TQStringList mInherits; -// TQPtrList mDirs; - KIconThemePrivate *d; - - static TQString *_theme; - static TQStringList *_theme_list; -}; - -#endif diff --git a/python/pykde/extra/kde350/kkeyserver.h b/python/pykde/extra/kde350/kkeyserver.h deleted file mode 100644 index ef673ea9..00000000 --- a/python/pykde/extra/kde350/kkeyserver.h +++ /dev/null @@ -1,29 +0,0 @@ -/* - Copyright (C) 2001 Ellis Whitehead - - Win32 port: - Copyright (C) 2004 Jaroslaw Staniek - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. -*/ - -#ifndef _KKEYSERVER_H -#define _KKEYSERVER_H - -//FOR COMPATIBILITY -#include "kkeyserver_x11.h" - -#endif // !_KKEYSERVER_H diff --git a/python/pykde/extra/kde350/kkeyserver_x11.h b/python/pykde/extra/kde350/kkeyserver_x11.h deleted file mode 100644 index dbca533e..00000000 --- a/python/pykde/extra/kde350/kkeyserver_x11.h +++ /dev/null @@ -1,477 +0,0 @@ -/* - Copyright (C) 2001 Ellis Whitehead - - Win32 port: - Copyright (C) 2004 Jaroslaw Staniek - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. -*/ - -#ifndef _KKEYSERVER_X11_H -#define _KKEYSERVER_X11_H - -#include "kshortcut.h" -#include "kkeynative.h" - -/** - * A collection of functions for the conversion of key presses and - * their modifiers from the window system specific format - * to the generic format and vice-versa. - */ -namespace KKeyServer -{ - /** - * Supplement enum KKey::ModFlag - * @since 3.1 - */ - enum ExtraModFlag { MODE_SWITCH = 0x2000 }; - - /** - * Represents a key symbol. - * @see KKey - * @see KKeyServer - */ - struct KDECORE_EXPORT Sym - { - public: - /// the actual value of the symbol - uint m_sym; - - /// Creates a null symbol. - Sym() - { m_sym = 0; } - /** - * Creates asymbol with the given value. - * @param sym the value - */ - Sym( uint sym ) - { m_sym = sym; } - /** - * Creates a symbol from the given string description. - * @param s the description of the symbol - * @see toString() - */ - Sym( const TQString& s ) - { init( s ); } - - /** - * Initializes the symbol with the given Qt key code. - * @param keyQt the qt key code - * @return true if successful, false otherwise - * @see Qt::Key - */ - bool initQt( int keyQt ); - - /** - * Initializes the key with the given string description. - * @param s the string description - * @return true if successful, false otherwise - * @see toString() - */ - bool init( const TQString &s ); - - /** - * Returns the qt key code of the symbol. - * @return the qt key code - */ - int qt() const; - - /** - * @internal - */ - TQString toStringInternal() const; - - /** - * Returns the string representation of the symbol. - * @return the string representation of the symbol - */ - TQString toString() const; - - /** - * Returns the mods that are required for this symbol as - * ORed KKey::ModFlag's. For example, Break requires a - * Ctrl to be valid. - * @return the required KKey::ModFlag's - * @see KKey::ModFlag - */ - uint getModsRequired() const; - - /** - * TODO: please find out what this method does and document it - */ - uint getSymVariation() const; - - /** - * Casts the symbol to its integer representation. - */ - operator uint() const { return m_sym; } - - /** - * Overloaded operator to convert ints to Sym. - */ - Sym& operator =( uint sym ) { m_sym = sym; return *this; } - - private: - TQString toString( bool bUserSpace ) const; - - static void capitalizeKeyname( TQString& ); - }; - - /** - * Represents a key press. - * @see KKey - */ - struct KDECORE_EXPORT Key - { - /// Code for native Keys in Qt - enum { CODE_FOR_QT = 256 }; - - /// The code of the key - uint m_code; - - /// The modifiers of the key - uint m_mod; - - /// The symbol of the key - uint m_sym; - - /** - * Initializes the key with a KKey. - * @param key the key to get the data from - * @param bQt true to take the Qt keycode, false - * for the native key code - * @see Qt::Key - * @see KKeyNative - */ - bool init( const KKey& key, bool bQt ); - - /** - * Checks whether the key code is a native code. - * @return true if native code of the window system, - * false if it is a Qt keycode - * @see Qt::Key - * @see KKeyNative - */ - bool isNative() const { return m_code != CODE_FOR_QT; } - - /** - * Returns the code of the key. - * @return the code of the key - */ - uint code() const { return m_code; } - - /** - * Returns the modifiers of the key. - * @return the modifiers of the key - */ - uint mod() const { return m_mod; } - - /** - * Returns the symbol of the key. - * @return the symbol of the key - */ - uint sym() const { return m_sym; } - - /** - * Returns the qt key code. - * @return the qt key code - */ - int keyCodeQt() const { return (int) m_sym; } - - /** - * Sets the qt key code. - * @param keyQt the qt key code - */ - void setKeycodeQt( int keyQt ) - { m_code = CODE_FOR_QT; m_sym = keyQt; } - - /** - * Initializes this key with a KKeyNative. - * @return this key - */ - Key& operator =( const KKeyNative& key ); - - /** - * Compares this key with the given Key object. Returns a - * negative number if the given Key is larger, 0 if they - * are equal and a positive number this Key is larger. The - * returned value is the difference between the symbol, modifier - * or code, whatever is non-zero first. - * - * @param key the key to compare with this key - * @return a negative number if the given Key is larger, 0 if - * they are equal and a positive number this Key is larger - */ - int compare( const Key& key ) const; - - /** - * Compares the symbol, modifiers and code of both keys. - * @see compare() - */ - bool operator ==( const Key& b ) const - { return compare( b ) == 0; } - - /** - * Compares the symbol, modifiers and code of both keys. - * @see compare() - */ - bool operator <( const Key& b ) const - { return compare( b ) < 0; } - - /** - * Converts this Key to a KKey. - * @return the KKey - */ - KKey key() const; - }; - - /** - * TODO: please document this class - */ - struct KDECORE_EXPORT Variations - { - enum { MAX_VARIATIONS = 4 }; - - Key m_rgkey[MAX_VARIATIONS]; - uint m_nVariations; - - Variations() { m_nVariations = 0; } - - void init( const KKey&, bool bQt ); - - uint count() const { return m_nVariations; } - const Key& key( uint i ) const { return m_rgkey[i]; } - }; - - /// TODO: please document - KDECORE_EXPORT bool initializeMods(); - - /** - * Returns the equivalent X modifier mask of the given modifier flag. - * @param modFlag the generic flags to check - * @return the window system specific flags - */ - KDECORE_EXPORT uint modX( KKey::ModFlag modFlag ); - - /** - * Returns true if the current keyboard layout supports the Win key. - * Specifically, whether the Super or Meta keys are assigned to an X modifier. - * @return true if the keyboard has a Win key - * @see modXWin() - */ - KDECORE_EXPORT bool keyboardHasWinKey(); - - /** - * Returns the X11 Shift modifier mask/flag. - * @return the X11 Shift modifier mask/flag. - * @see accelModMaskX() - */ - KDECORE_EXPORT uint modXShift(); - - /** - * Returns the X11 Lock modifier mask/flag. - * @return the X11 Lock modifier mask/flag. - * @see accelModMaskX() - */ - KDECORE_EXPORT uint modXLock(); - - /** - * Returns the X11 Ctrl modifier mask/flag. - * @return the X11 Ctrl modifier mask/flag. - * @see accelModMaskX() - */ - KDECORE_EXPORT uint modXCtrl(); - - /** - * Returns the X11 Alt (Mod1) modifier mask/flag. - * @return the X11 Alt (Mod1) modifier mask/flag. - * @see accelModMaskX() - */ - KDECORE_EXPORT uint modXAlt(); - - /** - * Returns the X11 NumLock modifier mask/flag. - * @return the X11 NumLock modifier mask/flag. - * @see accelModMaskX() - */ - KDECORE_EXPORT uint modXNumLock(); - - /** - * Returns the X11 Win (Mod3) modifier mask/flag. - * @return the X11 Win (Mod3) modifier mask/flag. - * @see keyboardHasWinKey() - * @see accelModMaskX() - */ - KDECORE_EXPORT uint modXWin(); - - /** - * Returns the X11 ScrollLock modifier mask/flag. - * @return the X11 ScrollLock modifier mask/flag. - * @see accelModMaskX() - */ - KDECORE_EXPORT uint modXScrollLock(); - - /** - * Returns the X11 Mode_switch modifier mask/flag. - * @return the X11 Mode_switch modifier mask/flag. - * @see accelModMaskX() - * @since 3.5 - */ - KDECORE_EXPORT uint modXModeSwitch(); - - /** - * Returns bitwise OR'ed mask containing Shift, Ctrl, Alt, and - * Win (if available). - * @see modXShift() - * @see modXLock() - * @see modXCtrl() - * @see modXAlt() - * @see modXNumLock() - * @see modXWin() - * @see modXScrollLock() - */ - KDECORE_EXPORT uint accelModMaskX(); - - /** - * Extracts the symbol from the given Qt key and - * converts it to a symbol. - * @param keyQt the qt key code - * @param sym if successful, the symbol will be written here - * @return true if successful, false otherwise - * @see Qt::Key - * @see Sym - */ - KDECORE_EXPORT bool keyQtToSym( int keyQt, uint& sym ); - - /** - * Extracts the modifiers from the given Qt key and - * converts them in a mask of ORed KKey::ModFlag modifiers. - * @param keyQt the qt key code - * @param mod if successful, the modifiers will be written here - * @return true if successful, false otherwise - * @see Qt::Key - */ - KDECORE_EXPORT bool keyQtToMod( int keyQt, uint& mod ); - - /** - * Converts the given symbol to a Qt key code. - * @param sym the symbol - * @param keyQt if successful, the qt key code will be written here - * @return true if successful, false otherwise - * @see Qt::Key - * @see Sym - */ - KDECORE_EXPORT bool symToKeyQt( uint sym, int& keyQt ); - - /** - * Converts the mask of ORed KKey::ModFlag modifiers to - * a mask of ORed Qt key code modifiers. - * @param mod the mask of KKey::ModFlag modifiers - * @param modQt the mask of Qt key code modifiers will be written here, - * if successful - * @return true if successful, false otherwise - * @see Qt::Key - * @see KKey - */ - KDECORE_EXPORT bool modToModQt( uint mod, int& modQt ); - - /** - * Converts the mask of ORed KKey::ModFlag modifiers to - * a mask of ORed X11 modifiers. - * @param mod the mask of KKey::ModFlag modifiers - * @param modX the mask of X11 modifiers will be written here, - * if successful - * @return true if successful, false otherwise - * @see KKey - */ - KDECORE_EXPORT bool modToModX( uint mod, uint& modX ); - - /** - * Converts the mask of ORed X11 modifiers to - * a mask of ORed Qt key code modifiers. - * @param modX the mask of X11 modifiers - * @param modQt the mask of Qt key code modifiers will be written here - * if successful - * @return true if successful, false otherwise - * @see Qt::Key - */ - //wrapped for win32 - KDECORE_EXPORT bool modXToModQt( uint modX, int& modQt ); - - /** - * Converts the Qt-compatible button state to x11 modifier. - */ - KDECORE_EXPORT int qtButtonStateToMod( Qt::ButtonState s ); - - /** - * Converts the mask of ORed X11 modifiers to - * a mask of ORed KKey::ModFlag modifiers. - * @param modX the mask of X11 modifiers - * @param mod the mask of KKey::ModFlag modifiers will be written here, - * if successful - * @return true if successful, false otherwise - * @see KKey - */ - KDECORE_EXPORT bool modXToMod( uint modX, uint& mod ); - - /** - * Converts a X11 key code and a mask of ORed X11 modifiers - * into a X11 symbol. - * converts it to a symbol. - * @param codeX the X11 key code - * @param modX the mask of ORed X11 modifiers - * @param symX if successful, the X11 symbol will be written here - * @return true if successful, false otherwise - * @see Qt::Key - * @see Sym - */ - KDECORE_EXPORT bool codeXToSym( uchar codeX, uint modX, uint& symX ); - - /** - * @internal - */ - KDECORE_EXPORT TQString modToStringInternal( uint mod ); - - /** - * Converts the mask of ORed KKey::ModFlag modifiers to a - * user-readable string. - * @param mod the mask of ORed KKey::ModFlag modifiers - * @return the user-readable string - */ - KDECORE_EXPORT TQString modToStringUser( uint mod ); - - /** - * Converts the modifier given as user-readable string - * to KKey::ModFlag modifier, or 0. - * @internal - * @since 3.5 - */ - KDECORE_EXPORT uint stringUserToMod( const TQString& mod ); - - /** - * @internal - * Unimplemented? - */ - KDECORE_EXPORT bool stringToSymMod( const TQString&, uint& sym, uint& mod ); - - /** - * @internal - * Unimplemented? - */ - KDECORE_EXPORT void keyQtToKeyX( uint keyCombQt, unsigned char *pKeyCodeX, uint *pKeySymX, uint *pKeyModX ); -} - -#endif // !_KKEYSERVER_X11_H diff --git a/python/pykde/extra/kde350/konsole_part.h b/python/pykde/extra/kde350/konsole_part.h deleted file mode 100644 index d526c1a6..00000000 --- a/python/pykde/extra/kde350/konsole_part.h +++ /dev/null @@ -1,241 +0,0 @@ -/* -*- C++ -*- - This file is part of the KDE system - Copyright (C) 1999,2000 Boloni Laszlo - - This program is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. - */ - -#ifndef KONSOLE_PART_H -#define KONSOLE_PART_H - -#include -#include - - -#include - -#include - -//#include "schema.h" -//#include "session.h" - -class KInstance; -class konsoleBrowserExtension; -class TQPushButton; -class TQSpinBox; -class KPopupMenu; -class KActionMenu; -class TQCheckBox; -class KRootPixmap; -class KToggleAction; -class KSelectAction; - -namespace KParts { class GUIActivateEvent; } - -class konsoleFactory : public KParts::Factory -{ - Q_OBJECT -public: - konsoleFactory(); - virtual ~konsoleFactory(); - - virtual KParts::Part* createPartObject(TQWidget *parentWidget = 0, const char *widgetName = 0, - TQObject* parent = 0, const char* name = 0, - const char* classname = "KParts::Part", - const TQStringList &args = TQStringList()); - - static KInstance *instance(); - - private: - static KInstance *s_instance; - static KAboutData *s_aboutData; -}; - -////////////////////////////////////////////////////////////////////// - -class konsolePart: public KParts::ReadOnlyPart, public TerminalInterface, public ExtTerminalInterface -{ - Q_OBJECT - public: - konsolePart(TQWidget *parentWidget, const char *widgetName, TQObject * parent, const char *name, const char *classname = 0); - virtual ~konsolePart(); - -signals: - void processExited( KProcess * ); - void receivedData( const TQString& s ); - void forkedChild(); - protected: - virtual bool openURL( const KURL & url ); - virtual bool openFile() {return false;} // never used - virtual bool closeURL() {return true;} - virtual void guiActivateEvent( KParts::GUIActivateEvent * event ); - - protected slots: - void showShell(); - -// void doneSession(TESession*); - void sessionDestroyed(); -// void configureRequest(TEWidget*,int,int x,int y); -// void updateTitle(TESession*); - void enableMasterModeConnections(); - - private slots: - void emitOpenURLRequest(const TQString &url); - - void readProperties(); - void saveProperties(); - void applyProperties(); - void setSettingsMenuEnabled( bool ); - - void sendSignal(int n); - void closeCurrentSession(); - - void notifySize(int /*columns*/, int /*lines*/); - - void slotToggleFrame(); - void slotSelectScrollbar(); - void slotSelectFont(); - void schema_menu_check(); - void keytab_menu_activated(int item); - void updateSchemaMenu(); - void setSchema(int n); - void pixmap_menu_activated(int item); - void schema_menu_activated(int item); - void slotHistoryType(); - void slotSelectBell(); - void slotSelectLineSpacing(); - void slotBlinkingCursor(); - void slotUseKonsoleSettings(); - void slotWordSeps(); - void slotSetEncoding(); - void biggerFont(); - void smallerFont(); - - void autoShowShell(); - - private: - konsoleBrowserExtension *m_extension; - KURL currentURL; - - void makeGUI(); - void applySettingsToGUI(); - -// void setSchema(ColorSchema* s); - void updateKeytabMenu(); - - bool doOpenStream( const TQString& ); - bool doWriteStream( const TQByteArray& ); - bool doCloseStream(); - - TQWidget* parentWidget; -// TEWidget* te; -// TESession* se; - // ColorSchemaList* colors; - KRootPixmap* rootxpm; - - KActionCollection* actions; - KActionCollection* settingsActions; - - KToggleAction* blinkingCursor; - KToggleAction* showFrame; - KToggleAction* m_useKonsoleSettings; - - KSelectAction* selectBell; - KSelectAction* selectLineSpacing; - KSelectAction* selectScrollbar; - KSelectAction* selectSetEncoding; - - KActionMenu* m_fontsizes; - - KPopupMenu* m_keytab; - KPopupMenu* m_schema; - KPopupMenu* m_signals; - KPopupMenu* m_options; - KPopupMenu* m_popupMenu; - - TQFont defaultFont; - - TQString pmPath; // pixmap path - TQString s_schema; - TQString s_kconfigSchema; - TQString s_word_seps; // characters that are considered part of a word - - bool b_framevis:1; - bool b_histEnabled:1; - bool b_useKonsoleSettings:1; - bool b_autoDestroy:1; - bool b_autoStartShell:1; - - int curr_schema; // current schema no - int n_bell; - int n_keytab; - int n_render; - int n_scroll; - unsigned m_histSize; - bool m_runningShell; - bool m_streamEnabled; - int n_encoding; - -public: - // these are the implementations for the TermEmuInterface - // functions... - void startProgram( const TQString& program, - const TQStrList& args ); - void newSession(); - void showShellInDir( const TQString& dir ); - void sendInput( const TQString& text ); - void setAutoDestroy( bool ); - void setAutoStartShell( bool ); -}; - -////////////////////////////////////////////////////////////////////// - -/*class HistoryTypeDialog : public KDialogBase -{ - Q_OBJECT -public: - HistoryTypeDialog(const HistoryType& histType, - unsigned int histSize, - TQWidget *parent); - -public slots: - void slotDefault(); - void slotSetUnlimited(); - void slotHistEnable(bool); - - unsigned int nbLines() const; - bool isOn() const; - -protected: - TQCheckBox* m_btnEnable; - TQSpinBox* m_size; - TQPushButton* m_setUnlimited; -};*/ - -////////////////////////////////////////////////////////////////////// - -class konsoleBrowserExtension : public KParts::BrowserExtension -{ - Q_OBJECT - friend class konsolePart; - public: - konsoleBrowserExtension(konsolePart *parent); - virtual ~konsoleBrowserExtension(); - - void emitOpenURLRequest(const KURL &url); -}; - -#endif diff --git a/python/pykde/extra/kde350/kpanelmenu.h b/python/pykde/extra/kde350/kpanelmenu.h deleted file mode 100644 index de0b065e..00000000 --- a/python/pykde/extra/kde350/kpanelmenu.h +++ /dev/null @@ -1,182 +0,0 @@ -/***************************************************************** - -Copyright (c) 1996-2000 the kicker authors. See file AUTHORS. - (c) 2001 Michael Goffioul - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN -AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - -******************************************************************/ - -#ifndef __KPANELMENU_H__ -#define __KPANELMENU_H__ - -#include -#include -#include - -class KPanelMenuPrivate; - -/** - * @short Base class to build dynamically loaded menu entries for the K-menu, or the panel. - * - * This class allows to build menu entries that will be dynamically added either to - * the K-menu, or to the panel as a normal button. These dynamic menus are located - * in shared libraries that will be loaded at runtime by Kicker (the %KDE panel). - * - * To build such a menu, you have to inherit this class and implement the pure virtual - * functions #initialize() and slotExec(). You also have to provide a factory - * object in your library, see KLibFactory. This factory is only used to construct - * the menu object. - * - * Finally, you also have to provide a desktop file describing your dynamic menu. The - * relevant entries are: Name, Comment, Icon and X-KDE-Library (which contains the - * library name without any extension). This desktop file has to be installed in - * $KDEDIR/share/apps/kicker/menuext/. - * - * @author The kicker maintainers, Michael Goffioul - */ -class KDEUI_EXPORT KPanelMenu : public KPopupMenu -{ - Q_OBJECT - -public: - /** - * Construct a KPanelMenu object. This is the normal constructor to use when - * building extrernal menu entries. - */ - KPanelMenu(TQWidget *parent=0, const char *name=0); - /** - * Constructor used internally by Kicker. You don't really want to use it. - * @param startDir a directory to associate with this menu - * @param parent parent object - * @param name name of the object - * @see path(), setPath() - */ - KPanelMenu(const TQString &startDir, TQWidget *parent=0, const char *name=0); - /** - * Destructor. - */ - virtual ~KPanelMenu(); - - /** - * Get the directory path associated with this menu, or TQString::null if - * there's no such associated path. - * @return the associated directory path - * @see setPath() - */ - const TQString& path() const; - /** - * Set a directory path to be associated with this menu. - * @param p the directory path - * @see path() - */ - void setPath(const TQString &p); - /** - * Tell if the menu has been initialized, that is it already contains items. - * This is useful when you need to know if you have to clear the menu, or to - * fill it. - * @return the initial state - * @see setInitialized(), initialize() - */ - bool initialized() const; - /** - * Set the initial state. Set it to true when you menu is filled with the items - * you want. - * @param on the initial state - * @see initialized(), initialize() - */ - void setInitialized(bool on); - - /** - * Disable the automatic clearing of the menu. Kicker uses a cache system for - * its menus. After a specific configurable delay, the menu will be cleared. - * Use this function if you want to disable kicker's cache system, and avoid - * the clearing of your menu. - */ - void disableAutoClear(); - -public slots: - /** - * Reinitialize the menu: the menu is first cleared, the initial state is set - * to false, and finally #initialize() is called. Use this if you want to - * refill your menu immediately. - */ - void reinitialize(); - /** - * Deinitialize the menu: the menu is cleared and the initialized state is set to - * false. #initialize() is NOT called. It will be called before the menu is - * next shown, however. Use this slot if you want a delayed reinitialization. - * @since 3.1 - */ - void deinitialize(); - -protected slots: - /** - * This slot is called just before the menu is shown. This allows your menu - * to update itself if needed. However you should instead re-implement - * #initialize to provide this feature. This function is responsible for - * the cache system handling, so if you re-implement it, you should call - * the base function also. Calls #initialize(). - * @see disableAutoClear() - */ - virtual void slotAboutToShow(); - /** - * This is slot is called when an item from the menu has been selected. Your - * applet is then supposed to perform some action. You must re-implement this - * function. - * @param id the ID associated with the selected item - */ - virtual void slotExec(int id) = 0; - /** - * This slots is called to initialize the menu. It is called automatically by - * slotAboutToShow(). By re-implementing this functions, you can reconstruct - * the menu before it is being shown. At the end of this function, you should - * call setInitialize() with true to tell the system that the menu is OK. - * You applet must re-implement this function. - * @see slotAboutToShow(), initialized(), setInitialized() - */ - virtual void initialize() = 0; - /** - * Clears the menu, and update the initial state accordingly. - * @see initialized() - */ - void slotClear(); - -protected: - /** - * Re-implemented for internal reasons. - */ - virtual void hideEvent(TQHideEvent *ev); - /** - * For internal use only. Used by constructors. - */ - void init(const TQString& path = TQString::null); - -protected: - virtual void virtual_hook( int id, void* data ); -private: - void internalInitialize(); - KPanelMenuPrivate *d; -}; - -#define K_EXPORT_KICKER_MENUEXT( libname, classname ) \ - K_EXPORT_COMPONENT_FACTORY( \ - kickermenu_##libname, \ - KGenericFactory("libkickermenu_" #libname) ) - -#endif diff --git a/python/pykde/extra/kde350/krecentdirs.h b/python/pykde/extra/kde350/krecentdirs.h deleted file mode 100644 index 439fb6fe..00000000 --- a/python/pykde/extra/kde350/krecentdirs.h +++ /dev/null @@ -1,70 +0,0 @@ -/* -*- c++ -*- - * Copyright (C)2000 Waldo Bastian - * - * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * - * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND - * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE - * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS - * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) - * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT - * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY - * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF - * SUCH DAMAGE. - * - */ -#ifndef __KRECENTDIRS_H -#define __KRECENTDIRS_H - -#include - -#include - -/** - * The goal of this class is to make sure that, when the user needs to - * specify a file via the file selection dialog, this dialog will start - * in the directory most likely to contain the desired files. - * - * This works as follows: Each time the file selection dialog is - * shown, the programmer can specify a "file-class". The file-dialog will - * then start with the directory associated with this file-class. When - * the dialog closes, the directory currently shown in the file-dialog - * will be associated with the file-class. - * - * A file-class can either start with ':' or with '::'. If it starts with - * a single ':' the file-class is specific to the current application. - * If the file-class starts with '::' it is global to all applications. - */ -class KIO_EXPORT KRecentDirs -{ -public: - /** - * Returns a list of directories associated with this file-class. - * The most recently used directory is at the front of the list. - */ - static TQStringList list(const TQString &fileClass); - - /** - * Returns the most recently used directory accociated with this file-class. - */ - static TQString dir(const TQString &fileClass); - - /** - * Associates @p directory with @p fileClass - */ - static void add(const TQString &fileClass, const TQString &directory); -}; - -#endif diff --git a/python/pykde/extra/kde350/ksharedptr.h b/python/pykde/extra/kde350/ksharedptr.h deleted file mode 100644 index ada08413..00000000 --- a/python/pykde/extra/kde350/ksharedptr.h +++ /dev/null @@ -1,175 +0,0 @@ -/* This file is part of the KDE libraries - Copyright (c) 1999 Waldo Bastian - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License version 2 as published by the Free Software Foundation. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. -*/ -#ifndef KSharedPTR_H -#define KSharedPTR_H - -#include "kdelibs_export.h" - -/** - * Reference counting for shared objects. If you derive your object - * from this class, then you may use it in conjunction with - * KSharedPtr to control the lifetime of your object. - * - * Specifically, all classes that derive from KShared have an internal - * counter keeping track of how many other objects have a reference to - * their object. If used with KSharedPtr, then your object will - * not be deleted until all references to the object have been - * released. - * - * You should probably not ever use any of the methods in this class - * directly -- let the KSharedPtr take care of that. Just derive - * your class from KShared and forget about it. - * - * @author Waldo Bastian - */ -class KDECORE_EXPORT KShared { -public: - /** - * Standard constructor. This will initialize the reference count - * on this object to 0. - */ - KShared() : count(0) { } - - /** - * Copy constructor. This will @em not actually copy the objects - * but it will initialize the reference count on this object to 0. - */ - KShared( const KShared & ) : count(0) { } - - /** - * Overloaded assignment operator. - */ - KShared &operator=(const KShared & ) { return *this; } - - /** - * Increases the reference count by one. - */ - void _KShared_ref() const { count++; } - - /** - * Releases a reference (decreases the reference count by one). If - * the count goes to 0, this object will delete itself. - */ - void _KShared_unref() const { if (!--count) delete this; } - - /** - * Return the current number of references held. - * - * @return Number of references - */ - int _KShared_count() const { return count; } - -protected: - virtual ~KShared() { } -private: - mutable int count; -}; - -/** - * Can be used to control the lifetime of an object that has derived - * KShared. As long a someone holds a KSharedPtr on some KShared - * object it won't become deleted but is deleted once its reference - * count is 0. This struct emulates C++ pointers virtually perfectly. - * So just use it like a simple C++ pointer. - * - * KShared and KSharedPtr are preferred over QShared / QSharedPtr - * since they are more safe. - * - * WARNING: Please note that this class template provides an implicit - * conversion to T*. Do *not* change this pointer or the pointee (don't - * call delete on it, for instance) behind KSharedPtr's back. - * - * @author Waldo Bastian - */ -template< class T > -class KSharedPtr -{ -public: -/** - * Creates a null pointer. - */ - KSharedPtr() - : ptr(0) { } - /** - * Creates a new pointer. - * @param t the pointer - */ - KSharedPtr( T* t ) - : ptr(t) { if ( ptr ) ptr->_KShared_ref(); } - - /** - * Copies a pointer. - * @param p the pointer to copy - */ - KSharedPtr( const KSharedPtr& p ) - : ptr(p.ptr) { if ( ptr ) ptr->_KShared_ref(); } - - /** - * Unreferences the object that this pointer points to. If it was - * the last reference, the object will be deleted. - */ - ~KSharedPtr() { if ( ptr ) ptr->_KShared_unref(); } - - KSharedPtr& operator= ( const KSharedPtr& p ) { - if ( ptr == p.ptr ) return *this; - if ( ptr ) ptr->_KShared_unref(); - ptr = p.ptr; - if ( ptr ) ptr->_KShared_ref(); - return *this; - } - KSharedPtr& operator= ( T* p ) { - if ( ptr == p ) return *this; - if ( ptr ) ptr->_KShared_unref(); - ptr = p; - if ( ptr ) ptr->_KShared_ref(); - return *this; - } - bool operator== ( const KSharedPtr& p ) const { return ( ptr == p.ptr ); } - bool operator!= ( const KSharedPtr& p ) const { return ( ptr != p.ptr ); } - bool operator== ( const T* p ) const { return ( ptr == p ); } - bool operator!= ( const T* p ) const { return ( ptr != p ); } - bool operator!() const { return ( ptr == 0 ); } - operator T*() const { return ptr; } - - /** - * Returns the pointer. - * @return the pointer - */ - T* data() { return ptr; } - - /** - * Returns the pointer. - * @return the pointer - */ - const T* data() const { return ptr; } - - const T& operator*() const { return *ptr; } - T& operator*() { return *ptr; } - const T* operator->() const { return ptr; } - T* operator->() { return ptr; } - - /** - * Returns the number of references. - * @return the number of references - */ - int count() const { return ptr->_KShared_count(); } // for debugging purposes -private: - T* ptr; -}; - -#endif diff --git a/python/pykde/extra/kde350/ksycocafactory.h b/python/pykde/extra/kde350/ksycocafactory.h deleted file mode 100644 index 536da286..00000000 --- a/python/pykde/extra/kde350/ksycocafactory.h +++ /dev/null @@ -1,143 +0,0 @@ -/* This file is part of the KDE libraries - * Copyright (C) 1999 Waldo Bastian - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License version 2 as published by the Free Software Foundation; - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public License - * along with this library; see the file COPYING.LIB. If not, write to - * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - * Boston, MA 02110-1301, USA. - **/ - -#ifndef __ksycocafactory_h__ -#define __ksycocafactory_h__ - -#include "ksycocatype.h" -#include "ksycocaentry.h" - -#include -#include -class KSycoca; -class TQStringList; -class TQString; -class KSycocaDict; -class KSycocaResourceList; - -typedef TQDict KSycocaEntryDict; - -/** - * @internal - * Base class for sycoca factories - */ -class KDECORE_EXPORT KSycocaFactory -{ -public: - virtual KSycocaFactoryId factoryId() const = 0; - -protected: // virtual class - /** - * Create a factory which can be used to lookup from/create a database - * (depending on KSycoca::isBuilding()) - */ - KSycocaFactory( KSycocaFactoryId factory_id ); - -public: - virtual ~KSycocaFactory(); - - /** - * @return the position of the factory in the sycoca file - */ - int offset() { return mOffset; } - - /** - * @return the dict, for special use by KBuildSycoca - */ - KSycocaEntryDict * entryDict() { return m_entryDict; } - - /** - * Construct an entry from a config file. - * To be implemented in the real factories. - */ - virtual KSycocaEntry *createEntry(const TQString &file, const char *resource) = 0; - - /** - * Add an entry - */ - virtual void addEntry(KSycocaEntry *newEntry, const char *resource); - - /** - * Remove an entry - * Not very fast, use with care. O(N) - */ - void removeEntry(KSycocaEntry *newEntry); - - /** - * Read an entry from the database - */ - virtual KSycocaEntry *createEntry(int offset)=0; - - /** - * Get a list of all entries from the database. - */ - KSycocaEntry::List allEntries(); - - /** - * Saves all entries it maintains as well as index files - * for these entries to the stream 'str'. - * - * Also sets mOffset to the starting position. - * - * The stream is positioned at the end of the last index. - * - * Don't forget to call the parent first when you override - * this function. - */ - virtual void save(TQDataStream &str); - - /** - * Writes out a header to the stream 'str'. - * The baseclass positions the stream correctly. - * - * Don't forget to call the parent first when you override - * this function. - */ - virtual void saveHeader(TQDataStream &str); - - /** - * @return the resources for which this factory is responsible. - */ - virtual const KSycocaResourceList * resourceList() const { return m_resourceList; } - -private: - int mOffset; - -protected: - int m_sycocaDictOffset; - int m_beginEntryOffset; - int m_endEntryOffset; - TQDataStream *m_str; - - KSycocaResourceList *m_resourceList; - KSycocaEntryDict *m_entryDict; - KSycocaDict *m_sycocaDict; -protected: - virtual void virtual_hook( int id, void* data ); -}; - -/** This, instead of a typedef, allows to declare "class ..." in header files - * @internal - */ -class KDECORE_EXPORT KSycocaFactoryList : public TQPtrList -{ -public: - KSycocaFactoryList() { } -}; - -#endif diff --git a/python/pykde/extra/kde350/ktoolbarbutton.h b/python/pykde/extra/kde350/ktoolbarbutton.h deleted file mode 100644 index eab46983..00000000 --- a/python/pykde/extra/kde350/ktoolbarbutton.h +++ /dev/null @@ -1,330 +0,0 @@ -/* This file is part of the KDE libraries - Copyright (C) 1997, 1998 Stephan Kulow (coolo@kde.org) - (C) 1997, 1998 Sven Radej (radej@kde.org) - (C) 1997, 1998 Mark Donohoe (donohoe@kde.org) - (C) 1997, 1998 Matthias Ettrich (ettrich@kde.org) - (C) 2000 Kurt Granroth (granroth@kde.org) - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License version 2 as published by the Free Software Foundation. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. -*/ - -#ifndef _KTOOLBARBUTTON_H -#define _KTOOLBARBUTTON_H - -#include -#include -#include -#include -#include - -class KToolBar; -class KToolBarButtonPrivate; -class KInstance; -class TQEvent; -class TQPopupMenu; -class TQPainter; - -/** - * A toolbar button. This is used internally by KToolBar, use the - * KToolBar methods instead. - * @internal - */ -class KDEUI_EXPORT KToolBarButton : public QToolButton -{ - Q_OBJECT - -public: - /** - * Construct a button with an icon loaded by the button itself. - * This will trust the button to load the correct icon with the - * correct size. - * - * @param icon Name of icon to load (may be absolute or relative) - * @param id Id of this button - * @param parent This button's parent - * @param name This button's internal name - * @param txt This button's text (in a tooltip or otherwise) - * @param _instance the instance to use for this button - */ - KToolBarButton(const TQString& icon, int id, TQWidget *parent, - const char *name=0L, const TQString &txt=TQString::null, - KInstance *_instance = KGlobal::instance()); - - /** - * Construct a button with an existing pixmap. It is not - * recommended that you use this as the internal icon loading code - * will almost always get it "right". - * - * @param pixmap Name of icon to load (may be absolute or relative) - * @param id Id of this button - * @param parent This button's parent - * @param name This button's internal name - * @param txt This button's text (in a tooltip or otherwise) - */ - KToolBarButton(const TQPixmap& pixmap, int id, TQWidget *parent, - const char *name=0L, const TQString &txt=TQString::null); - - /** - * Construct a separator button - * - * @param parent This button's parent - * @param name This button's internal name - */ - KToolBarButton(TQWidget *parent=0L, const char *name=0L); - - /** - * Standard destructor - */ - ~KToolBarButton(); - -#ifndef KDE_NO_COMPAT - /** - * @deprecated - * Set the pixmap directly for this button. This pixmap should be - * the active one... the dimmed and disabled pixmaps are constructed - * based on this one. However, don't use this function unless you - * are positive that you don't want to use setIcon. - * - * @param pixmap The active pixmap - */ - // this one is from TQButton, so #ifdef-ing it out doesn't break BC - virtual void setPixmap(const TQPixmap &pixmap) KDE_DEPRECATED; - - /** - * @deprecated - * Force the button to use this pixmap as the default one rather - * then generating it using effects. - * - * @param pixmap The pixmap to use as the default (normal) one - */ - void setDefaultPixmap(const TQPixmap& pixmap) KDE_DEPRECATED; - - /** - * @deprecated - * Force the button to use this pixmap when disabled one rather then - * generating it using effects. - * - * @param pixmap The pixmap to use when disabled - */ - void setDisabledPixmap(const TQPixmap& pixmap) KDE_DEPRECATED; -#endif - - /** - * Set the text for this button. The text will be either used as a - * tooltip (IconOnly) or will be along side the icon - * - * @param text The button (or tooltip) text - */ - virtual void setText(const TQString &text); - - /** - * Set the icon for this button. The icon will be loaded internally - * with the correct size. This function is preferred over setIconSet - * - * @param icon The name of the icon - */ - virtual void setIcon(const TQString &icon); - - /// @since 3.1 - virtual void setIcon( const TQPixmap &pixmap ) - { TQToolButton::setIcon( pixmap ); } - - /** - * Set the pixmaps for this toolbar button from a TQIconSet. - * If you call this you don't need to call any of the other methods - * that set icons or pixmaps. - * @param iconset The iconset to use - */ - virtual void setIconSet( const TQIconSet &iconset ); - -#ifndef KDE_NO_COMPAT - /** - * @deprecated - * Set the active icon for this button. The pixmap itself is loaded - * internally based on the icon size... .. the disabled and default - * pixmaps, however will only be constructed if generate is - * true. This function is preferred over setPixmap - * - * @param icon The name of the active icon - * @param generate If true, then the other icons are automagically - * generated from this one - */ - KDE_DEPRECATED void setIcon(const TQString &icon, bool generate ) { Q_UNUSED(generate); setIcon( icon ); } - - /** - * @deprecated - * Force the button to use this icon as the default one rather - * then generating it using effects. - * - * @param icon The icon to use as the default (normal) one - */ - void setDefaultIcon(const TQString& icon) KDE_DEPRECATED; - - /** - * @deprecated - * Force the button to use this icon when disabled one rather then - * generating it using effects. - * - * @param icon The icon to use when disabled - */ - void setDisabledIcon(const TQString& icon) KDE_DEPRECATED; -#endif - - /** - * Turn this button on or off - * - * @param flag true or false - */ - void on(bool flag = true); - - /** - * Toggle this button - */ - void toggle(); - - /** - * Turn this button into a toggle button or disable the toggle - * aspects of it. This does not toggle the button itself. - * Use toggle() for that. - * - * @param toggle true or false - */ - void setToggle(bool toggle = true); - - /** - * Return a pointer to this button's popup menu (if it exists) - */ - TQPopupMenu *popup(); - - /** - * Returns the button's id. - * @since 3.2 - */ - int id() const; - - /** - * Give this button a popup menu. There will not be a delay when - * you press the button. Use setDelayedPopup if you want that - * behavior. - * - * @param p The new popup menu - * @param unused Has no effect - ignore it. - */ - void setPopup (TQPopupMenu *p, bool unused = false); - - /** - * Gives this button a delayed popup menu. - * - * This function allows you to add a delayed popup menu to the button. - * The popup menu is then only displayed when the button is pressed and - * held down for about half a second. - * - * @param p the new popup menu - * @param unused Has no effect - ignore it. - */ - void setDelayedPopup(TQPopupMenu *p, bool unused = false); - - /** - * Turn this button into a radio button - * - * @param f true or false - */ - void setRadio(bool f = true); - - /** - * Toolbar buttons naturally will assume the global styles - * concerning icons, icons sizes, etc. You can use this function to - * explicitly turn this off, if you like. - * - * @param no_style Will disable styles if true - */ - void setNoStyle(bool no_style = true); - -signals: - /** - * Emitted when the toolbar button is clicked (with LMB or MMB) - */ - void clicked(int); - /** - * Emitted when the toolbar button is clicked (with any mouse button) - * @param state makes it possible to find out which button was pressed, - * and whether any keyboard modifiers were held. - * @since 3.4 - */ - void buttonClicked(int, Qt::ButtonState state); - void doubleClicked(int); - void pressed(int); - void released(int); - void toggled(int); - void highlighted(int, bool); - -public slots: - /** - * This slot should be called whenever the toolbar mode has - * potentially changed. This includes such events as text changing, - * orientation changing, etc. - */ - void modeChange(); - virtual void setTextLabel(const TQString&, bool tipToo); - -protected: - bool event(TQEvent *e); - void paletteChange(const TQPalette &); - void leaveEvent(TQEvent *e); - void enterEvent(TQEvent *e); - void drawButton(TQPainter *p); - bool eventFilter (TQObject *o, TQEvent *e); - /// @since 3.4 - void mousePressEvent( TQMouseEvent * ); - /// @since 3.4 - void mouseReleaseEvent( TQMouseEvent * ); - void showMenu(); - TQSize sizeHint() const; - TQSize minimumSizeHint() const; - TQSize minimumSize() const; - - /// @since 3.1 - bool isRaised() const; - /// @since 3.1 - bool isActive() const; - /// @since 3.1 - int iconTextMode() const; - -protected slots: - void slotClicked(); - void slotPressed(); - void slotReleased(); - void slotToggled(); - void slotDelayTimeout(); - -protected: - virtual void virtual_hook( int id, void* data ); -private: - KToolBarButtonPrivate *d; -}; - -/** -* List of KToolBarButton objects. -* @internal -* @version $Id: ktoolbarbutton.h 465272 2005-09-29 09:47:40Z mueller $ -*/ -class KDEUI_EXPORT KToolBarButtonList : public TQIntDict -{ -public: - KToolBarButtonList(); - ~KToolBarButtonList() {} -}; - -#endif diff --git a/python/pykde/extra/kde350/kurifilter.h b/python/pykde/extra/kde350/kurifilter.h deleted file mode 100644 index 47332947..00000000 --- a/python/pykde/extra/kde350/kurifilter.h +++ /dev/null @@ -1,647 +0,0 @@ -/* - * This file is part of the KDE libraries - * Copyright (C) 2000-2001,2003 Dawit Alemayehu - * - * Original author - * Copyright (C) 2000 Yves Arrouye - * - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public License - * along with this library; see the file COPYING.LIB. If not, write to - * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - * Boston, MA 02110-1301, USA. - **/ - -#ifndef __kurifilter_h__ -#define __kurifilter_h__ - -#include -#include -#include - -#include - -#ifdef Q_OS_WIN -#undef ERROR -#endif - -class KURIFilterPrivate; -class KURIFilterDataPrivate; - -class KCModule; - -/** -* A basic message object used for exchanging filtering -* information between the filter plugins and the application -* requesting the filtering service. -* -* Use this object if you require a more detailed information -* about the URI you want to filter. Any application can create -* an instance of this class and send it to KURIFilter to -* have the plugins fill out all possible information about the -* URI. -* -* \b Example -* -* \code -* TQString text = "kde.org"; -* KURIFilterData d = text; -* bool filtered = KURIFilter::self()->filter( d ); -* cout << "URL: " << text.latin1() << endl -* << "Filtered URL: " << d.uri().url().latin1() << endl -* << "URI Type: " << d.uriType() << endl -* << "Was Filtered: " << filtered << endl; -* \endcode -* -* The above code should yield the following output: -* \code -* URI: kde.org -* Filtered URI: http://kde.org -* URI Type: 0 <== means NET_PROTOCOL -* Was Filtered: 1 <== means the URL was successfully filtered -* \endcode -* -* @short A message object for exchanging filtering URI info. -* @author Dawit Alemayehu -*/ - -class KIO_EXPORT KURIFilterData -{ -friend class KURIFilterPlugin; - -public: - /** - * Describes the type of the URI that was filtered. - * Here is a brief description of the types: - * - * @li NET_PROTOCOL - Any network protocol: http, ftp, nttp, pop3, etc... - * @li LOCAL_FILE - A local file whose executable flag is not set - * @li LOCAL_DIR - A local directory - * @li EXECUTABLE - A local file whose executable flag is set - * @li HELP - A man or info page - * @li SHELL - A shell executable (ex: echo "Test..." >> ~/testfile) - * @li BLOCKED - A URI that should be blocked/filtered (ex: ad filtering) - * @li ERROR - An incorrect URI (ex: "~johndoe" when user johndoe - * does not exist in that system ) - * @li UNKNOWN - A URI that is not identified. Default value when - * a KURIFilterData is first created. - */ - enum URITypes { NET_PROTOCOL=0, LOCAL_FILE, LOCAL_DIR, EXECUTABLE, HELP, SHELL, BLOCKED, ERROR, UNKNOWN }; - - /** - * Default constructor. - * - * Creates a URIFilterData object. - */ - KURIFilterData() { init(); } - - /** - * Creates a URIFilterData object from the given URL. - * - * @param url is the URL to be filtered. - */ - KURIFilterData( const KURL& url ) { init( url); } - - /** - * Creates a URIFilterData object from the given string. - * - * @param url is the string to be filtered. - */ - KURIFilterData( const TQString& url ) { init( url ); } - - /** - * Copy constructor. - * - * Creates a URIFilterData object from another - * URI filter data object. - * - * @param data the uri filter data to be copied. - */ - KURIFilterData( const KURIFilterData& data); - - /** - * Destructor. - */ - ~KURIFilterData(); - - /** - * This method has been deprecated and will always return - * true. You should instead use the result from the - * KURIFilter::filterURI() calls. - * - * @deprecated - */ - KDE_DEPRECATED bool hasBeenFiltered() const { return true; } - - /** - * Returns the filtered or the original URL. - * - * This function returns the filtered url if one - * of the plugins successfully filtered the original - * URL. Otherwise, it returns the original URL. - * See hasBeenFiltered() and - * - * @return the filtered or original url. - */ - KURL uri() const { return m_pURI; } - - /** - * Returns an error message. - * - * This functions returns the error message set - * by the plugin whenever the uri type is set to - * KURIFilterData::ERROR. Otherwise, it returns - * a TQString::null. - * - * @return the error message or a NULL when there is none. - */ - TQString errorMsg() const { return m_strErrMsg; } - - /** - * Returns the URI type. - * - * This method always returns KURIFilterData::UNKNOWN - * if the given URL was not filtered. - * @return the type of the URI - */ - URITypes uriType() const { return m_iType; } - - /** - * Sets the URL to be filtered. - * - * Use this function to set the string to be - * filtered when you construct an empty filter - * object. - * - * @param url the string to be filtered. - */ - void setData( const TQString& url ) { init( url ); } - - /** - * Same as above except the argument is a URL. - * - * Use this function to set the string to be - * filtered when you construct an empty filter - * object. - * - * @param url the URL to be filtered. - */ - void setData( const KURL& url ) { init( url ); } - - /** - * Sets the absolute path to be used whenever the supplied - * data is a relative local URL. - * - * NOTE: This function should only be used for local resources, - * i.e. the "file:/" protocol. It is useful for specifying the - * absolute path in cases where the actual URL might be relative. - * meta object. If deriving the path from a KURL, make sure you - * set the argument for this function to the result of calling - * path () instead of url (). - * - * @param abs_path the abolute path to the local resource. - * @return true if absolute path is successfully set. Otherwise, false. - */ - bool setAbsolutePath( const TQString& abs_path ); - - /** - * Returns the absolute path if one has already been set. - * @return the absolute path, or TQString::null - * @see hasAbsolutePath() - */ - TQString absolutePath() const; - - /** - * Checks whether the supplied data had an absolute path. - * @return true if the supplied data has an absolute path - * @see absolutePath() - */ - bool hasAbsolutePath() const; - - /** - * Returns the command line options and arguments for a - * local resource when present. - * - * @return options and arguments when present, otherwise TQString::null - */ - TQString argsAndOptions() const; - - /** - * Checks whether the current data is a local resource with - * command line options and arguments. - * @return true if the current data has command line options and arguments - */ - bool hasArgsAndOptions() const; - - /** - * Returns the name of the icon that matches - * the current filtered URL. - * - * NOTE that this function will return a NULL - * string by default and when no associated icon - * is found. - * - * @return the name of the icon associated with the resource, - * or TQString::null if not found - */ - TQString iconName(); - - /** - * Check whether the provided uri is executable or not. - * - * Setting this to false ensures that typing the name of - * an executable does not start that application. This is - * useful in the location bar of a browser. The default - * value is true. - * - * @since 3.2 - */ - void setCheckForExecutables (bool check); - - /** - * @return true if the filters should attempt to check whether the - * supplied uri is an executable. False otherwise. - * - * @since 3.2 - */ - bool checkForExecutables() const { return m_bCheckForExecutables; } - - /** - * @return the string as typed by the user, before any URL processing is done - * @since 3.2 - */ - TQString typedString() const; - - /** - * Overloaded assigenment operator. - * - * This function allows you to easily assign a KURL - * to a KURIFilterData object. - * - * @return an instance of a KURIFilterData object. - */ - KURIFilterData& operator=( const KURL& url ) { init( url ); return *this; } - - /** - * Overloaded assigenment operator. - * - * This function allows you to easily assign a QString - * to a KURIFilterData object. - * - * @return an instance of a KURIFilterData object. - */ - KURIFilterData& operator=( const TQString& url ) { init( url ); return *this; } - -protected: - - /** - * Initializes the KURIFilterData on construction. - * @param url the URL to initialize the object with - */ - void init( const KURL& url); - - /** - * Initializes the KURIFilterData on construction. - * @param url the URL to initialize the object with - */ - void init( const TQString& url = TQString::null ); - -private: - bool m_bCheckForExecutables; - bool m_bChanged; - - TQString m_strErrMsg; - TQString m_strIconName; - - KURL m_pURI; - URITypes m_iType; - KURIFilterDataPrivate *d; -}; - - -/** - * Base class for URI filter plugins. - * - * This class applies a single filter to a URI. All plugins designed - * to provide URI filtering service should inherit from this abstract - * class and provide a concrete implementation. - * - * All inheriting classes need to implement the pure virtual function - * filterURI. - * - * @short Abstract class for URI filter plugins. - */ -class KIO_EXPORT KURIFilterPlugin : public QObject -{ - Q_OBJECT - -public: - - /** - * Constructs a filter plugin with a given name and - * priority. - * - * @param parent the parent object, or 0 for no parent - * @param name the name of the plugin, or 0 for no name - * @param pri the priority of the plugin. - */ - KURIFilterPlugin( TQObject *parent = 0, const char *name = 0, double pri = 1.0 ); - - /** - * Returns the filter's name. - * - * @return A string naming the filter. - */ - virtual TQString name() const { return m_strName; } - - /** - * Returns the filter's priority. - * - * Each filter has an assigned priority, a float from 0 to 1. Filters - * with the lowest priority are first given a chance to filter a URI. - * - * @return The priority of the filter. - */ - virtual double priority() const { return m_dblPriority; } - - /** - * Filters a URI. - * - * @param data the URI data to be filtered. - * @return A boolean indicating whether the URI has been changed. - */ - virtual bool filterURI( KURIFilterData& data ) const = 0; - - /** - * Creates a configuration module for the filter. - * - * It is the responsibility of the caller to delete the module - * once it is not needed anymore. - * - * @return A configuration module, 0 if the filter isn't configurable. - */ - virtual KCModule *configModule( TQWidget*, const char* ) const { return 0; } - - /** - * Returns the name of the configuration module for the filter. - * - * @return the name of a configuration module or TQString::null if none. - */ - virtual TQString configName() const { return name(); } - -protected: - - /** - * Sets the the URL in @p data to @p uri. - */ - void setFilteredURI ( KURIFilterData& data, const KURL& uri ) const; - - /** - * Sets the error message in @p data to @p errormsg. - */ - void setErrorMsg ( KURIFilterData& data, const TQString& errmsg ) const { - data.m_strErrMsg = errmsg; - } - - /** - * Sets the URI type in @p data to @p type. - */ - void setURIType ( KURIFilterData& data, KURIFilterData::URITypes type) const { - data.m_iType = type; - data.m_bChanged = true; - } - - /** - * Sets the arguments and options string in @p data - * to @p args if any were found during filterting. - */ - void setArguments( KURIFilterData& data, const TQString& args ) const; - - TQString m_strName; - double m_dblPriority; - -protected: - virtual void virtual_hook( int id, void* data ); -private: - class KURIFilterPluginPrivate *d; -}; - - -/** - * A list of filter plugins. - */ -class KIO_EXPORT KURIFilterPluginList : public TQPtrList -{ -public: - virtual int compareItems(Item a, Item b) - { - double diff = ((KURIFilterPlugin *) a)->priority() - ((KURIFilterPlugin *) b)->priority(); - return diff < 0 ? -1 : (diff > 0 ? 1 : 0); - } - -private: - KURIFilterPrivate *d; - -}; - -/** - * Manages the filtering of URIs. - * - * The intention of this plugin class is to allow people to extend the - * functionality of KURL without modifying it directly. This way KURL will - * remain a generic parser capable of parsing any generic URL that adheres - * to specifications. - * - * The KURIFilter class applies a number of filters to a URI and returns the - * filtered version whenever possible. The filters are implemented using - * plugins to provide easy extensibility of the filtering mechanism. New - * filters can be added in the future by simply inheriting from - * KURIFilterPlugin and implementing the KURIFilterPlugin::filterURI - * method. - * - * Use of this plugin-manager class is straight forward. Since it is a - * singleton object, all you have to do is obtain an instance by doing - * @p KURIFilter::self() and use any of the public member functions to - * preform the filtering. - * - * \b Example - * - * To simply filter a given string: - * - * \code - * bool filtered = KURIFilter::self()->filterURI( "kde.org" ); - * \endcode - * - * You can alternatively use a KURL: - * - * \code - * KURL url = "kde.org"; - * bool filtered = KURIFilter::self()->filterURI( url ); - * \endcode - * - * If you have a constant string or a constant URL, simply invoke the - * corresponding function to obtain the filtered string or URL instead - * of a boolean flag: - * - * \code - * TQString u = KURIFilter::self()->filteredURI( "kde.org" ); - * \endcode - * - * You can also restrict the filter(s) to be used by supplying - * the name of the filter(s) to use. By defualt all available - * filters will be used. To use specific filters, add the names - * of the filters you want to use to a TQStringList and invoke - * the appropriate filtering function. The examples below show - * the use of specific filters. The first one uses a single - * filter called kshorturifilter while the second example uses - * multiple filters: - * - * \code - * TQString text = "kde.org"; - * bool filtered = KURIFilter::self()->filterURI( text, "kshorturifilter" ); - * \endcode - * - * \code - * TQStringList list; - * list << "kshorturifilter" << "localdomainfilter"; - * bool filtered = KURIFilter::self()->filterURI( text, list ); - * \endcode - * - * KURIFilter also allows richer data exchange through a simple - * meta-object called @p KURIFilterData. Using this meta-object - * you can find out more information about the URL you want to - * filter. See KURIFilterData for examples and details. - * - * @short Filters a given URL into its proper format whenever possible. - */ - -class KIO_EXPORT KURIFilter -{ -public: - /** - * Destructor - */ - ~KURIFilter (); - - /** - * Returns an instance of KURIFilter. - */ - static KURIFilter* self(); - - /** - * Filters the URI given by the object URIFilterData. - * - * The given URL is filtered based on the specified list of filters. - * If the list is empty all available filters would be used. - * - * @param data object that contains the URI to be filtered. - * @param filters specify the list of filters to be used. - * - * @return a boolean indicating whether the URI has been changed - */ - bool filterURI( KURIFilterData& data, const TQStringList& filters = TQStringList() ); - - /** - * Filters the URI given by the URL. - * - * The given URL is filtered based on the specified list of filters. - * If the list is empty all available filters would be used. - * - * @param uri the URI to filter. - * @param filters specify the list of filters to be used. - * - * @return a boolean indicating whether the URI has been changed - */ - bool filterURI( KURL &uri, const TQStringList& filters = TQStringList() ); - - /** - * Filters a string representing a URI. - * - * The given URL is filtered based on the specified list of filters. - * If the list is empty all available filters would be used. - * - * @param uri The URI to filter. - * @param filters specify the list of filters to be used. - * - * @return a boolean indicating whether the URI has been changed - */ - bool filterURI( TQString &uri, const TQStringList& filters = TQStringList() ); - - /** - * Returns the filtered URI. - * - * The given URL is filtered based on the specified list of filters. - * If the list is empty all available filters would be used. - * - * @param uri The URI to filter. - * @param filters specify the list of filters to be used. - * - * @return the filtered URI or null if it cannot be filtered - */ - KURL filteredURI( const KURL &uri, const TQStringList& filters = TQStringList() ); - - /** - * Return a filtered string representation of a URI. - * - * The given URL is filtered based on the specified list of filters. - * If the list is empty all available filters would be used. - * - * @param uri the URI to filter. - * @param filters specify the list of filters to be used. - * - * @return the filtered URI or null if it cannot be filtered - */ - TQString filteredURI( const TQString &uri, const TQStringList& filters = TQStringList() ); - - /** - * Return an iterator to iterate over all loaded - * plugins. - * - * @return a plugin iterator. - */ - TQPtrListIterator pluginsIterator() const; - - /** - * Return a list of the names of all loaded plugins. - * - * @return a TQStringList of plugin names - * @since 3.1 - */ - TQStringList pluginNames() const; - -protected: - - /** - * A protected constructor. - * - * This constructor creates a KURIFilter and - * initializes all plugins it can find by invoking - * loadPlugins. - */ - KURIFilter(); - - /** - * Loads all allowed plugins. - * - * This function loads all filters that have not - * been disbled. - */ - void loadPlugins(); - -private: - static KURIFilter *s_self; - KURIFilterPluginList m_lstPlugins; - KURIFilterPrivate *d; -}; - -#endif diff --git a/python/pykde/extra/kde350/selectdialog.h b/python/pykde/extra/kde350/selectdialog.h deleted file mode 100644 index 987dcb68..00000000 --- a/python/pykde/extra/kde350/selectdialog.h +++ /dev/null @@ -1,87 +0,0 @@ -/* - This file is part of libkresources. - - Copyright (c) 2002 Tobias Koenig - Copyright (c) 2002 Jan-Pascal van Best - Copyright (c) 2003 Cornelius Schumacher - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. -*/ - -#ifndef KRESOURCES_SELECTDIALOG_H -#define KRESOURCES_SELECTDIALOG_H - -#include -#include -#include - -#include - -class KListBox; - -namespace KRES { - -class Resource; - -/** - * Dialog for selecting a resource. - * - * Example: - * - * \code - * - * TQPtrList list = ... // can be retrived from KRES::Manager (e.g. KABC::AddressBook) - * - * KABC::Resource *res = KABC::SelectDialog::getResource( list, parentWdg ); - * if ( !res ) { - * // no resource selected - * } else { - * // do something with resource - * } - * \endcode - */ -class KRESOURCES_EXPORT SelectDialog -{ - public: - /** - * Constructor. - * @param list The list of available resources - * @param parent The parent widget - * @param name The name of the dialog - */ - SelectDialog( TQPtrList list, TQWidget *parent = 0, - const char *name = 0); - - /** - * Returns selected resource. - */ - Resource *resource(); - - /** - * Opens a dialog showing the available resources and returns the resource the - * user has selected. Returns 0, if the dialog was canceled. - */ - static Resource *getResource( TQPtrList list, TQWidget *parent = 0 ); - - private: - KListBox *mResourceId; - - TQMap mResourceMap; -}; - -} - -#endif diff --git a/python/pykde/extra/kde351/kaccelaction.h b/python/pykde/extra/kde351/kaccelaction.h deleted file mode 100644 index d55e4517..00000000 --- a/python/pykde/extra/kde351/kaccelaction.h +++ /dev/null @@ -1,576 +0,0 @@ -/* This file is part of the KDE libraries - Copyright (C) 2001,2002 Ellis Whitehead - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. -*/ - -#ifndef _KACCELACTION_H -#define _KACCELACTION_H - -#include -#include -#include -#include - -#include - -class KAccelBase; - -class TQObject; -class KConfig; -class KConfigBase; - -/** - * @internal - * A KAccelAction prepresents an action that can be executed using - * an accelerator key. Each KAccelAction has a name, a label, a - * "What's this" string and a KShortcut. The user can configure and - * enable/disable them using KKeyDialog. - * - * \code - * 1) KAccelAction = "Run Command" - * Default3 = "Alt+F2" - * Default4 = "Meta+Enter;Alt+F2" - * 1) KShortcut = "Meta+Enter" - * 1) KKeySequence = "Meta+Enter" - * 1) KKey = "Meta+Enter" - * 1) Meta+Enter - * 2) Meta+Keypad_Enter - * 2) KShortcut = "Alt+F2" - * 1) KKeySequence = "Alt+F2" - * 1) Alt+F2 - * 2) KAccelAction = "Something" - * Default3 = "" - * Default4 = "" - * 1) KShortcut = "Meta+X,Asterisk" - * 1) KKeySequence = "Meta+X,Asterisk" - * 1) KKey = "Meta+X" - * 1) Meta+X - * 2) KKey = "Asterisk" - * 1) Shift+8 (English layout) - * 2) Keypad_Asterisk - * \endcode - * @short An accelerator action - * @see KAccel - * @see KGlobalAccel - * @see KKeyChooser - * @see KKeyDialog - */ -class KDECORE_EXPORT KAccelAction -{ - public: - /** - * Creates an empty KAccelAction. - * @see clear() - */ - KAccelAction(); - - /** - * Copy constructor. - */ - KAccelAction( const KAccelAction& ); - - /** - * Creates a new KAccelAction. - * @param sName the name of the accelerator - * @param sLabel the label of the accelerator (i18n!) - * @param sWhatsThis the What's This text (18n!) - * @param cutDef3 the default shortcut for 3 modifier systems - * @param cutDef4 the default shortcut for 4 modifier systems - * @param pObjSlot the receiver of a signal when the key has been - * pressed - * @param psMethodSlot the slot to connect for key presses. Receives - * an int, as set by setID(), as only argument - * @param bConfigurable if true the user can configure the shortcut - * @param bEnabled true if the accelerator should be enabled - */ - KAccelAction( const TQString& sName, const TQString& sLabel, const TQString& sWhatsThis, - const KShortcut& cutDef3, const KShortcut& cutDef4, - const TQObject* pObjSlot, const char* psMethodSlot, - bool bConfigurable, bool bEnabled ); - ~KAccelAction(); - - /** - * Clears the accelerator. - */ - void clear(); - - /** - * Re-initialized the KAccelAction. - * @param sName the name of the accelerator - * @param sLabel the label of the accelerator (i18n!) - * @param sWhatsThis the What's This text (18n!) - * @param cutDef3 the default shortcut for 3 modifier systems - * @param cutDef4 the default shortcut for 4 modifier systems - * @param pObjSlot the receiver of a signal when the key has been - * pressed - * @param psMethodSlot the slot to connect for key presses. Receives - * an int, as set by setID(), as only argument - * @param bConfigurable if true the user can configure the shortcut - * @param bEnabled true if the accelerator should be enabled - * @return true if successful, false otherwise - */ - bool init( const TQString& sName, const TQString& sLabel, const TQString& sWhatsThis, - const KShortcut& cutDef3, const KShortcut& cutDef4, - const TQObject* pObjSlot, const char* psMethodSlot, - bool bConfigurable, bool bEnabled ); - - /** - * Copies this KAccelAction. - */ - KAccelAction& operator=( const KAccelAction& ); - - /** - * Returns the name of the accelerator action. - * @return the name of the accelerator action, can be null if not - * set - */ - const TQString& name() const { return m_sName; } - - /** - * Returns the label of the accelerator action. - * @return the label of the accelerator action, can be null if - * not set - */ - const TQString& label() const { return m_sLabel; } - - /** - * Returns the What's This text of the accelerator action. - * @return the What's This text of the accelerator action, can be - * null if not set - */ - const TQString& whatsThis() const { return m_sWhatsThis; } - - /** - * The shortcut that is actually used (may be used configured). - * @return the shortcut of the KAccelAction, can be null if not set - * @see shortcutDefault() - */ - const KShortcut& shortcut() const { return m_cut; } - - /** - * The default shortcut for this system. - * @return the default shortcut on this system, can be null if not set - * @see shortcut() - * @see shortcutDefault3() - * @see shortcutDefault4() - */ - const KShortcut& shortcutDefault() const; - - /** - * The default shortcut for 3 modifier systems. - * @return the default shortcut for 3 modifier systems, can be null - * if not set - * @see shortcutDefault() - * @see shortcutDefault4() - * @see useFourModifierKeys() - */ - const KShortcut& shortcutDefault3() const { return m_cutDefault3; } - - /** - * The default shortcut for 4 modifier systems. - * @return the default shortcut for 4 modifier systems, can be null - * if not set - * @see shortcutDefault() - * @see shortcutDefault3() - * @see useFourModifierKeys() - */ - const KShortcut& shortcutDefault4() const { return m_cutDefault4; } - - /** - * Returns the receiver of signals. - * @return the receiver of signals (can be 0 if not set) - */ - const TQObject* objSlotPtr() const { return m_pObjSlot; } - - /** - * Returns the slot for the signal. - * @return the slot for the signal - */ - const char* methodSlotPtr() const { return m_psMethodSlot; } - - /** - * Checks whether the user can configure the action. - * @return true if configurable, false otherwise - */ - bool isConfigurable() const { return m_bConfigurable; } - - /** - * Checks whether the action is enabled. - * @return true if enabled, false otherwise - */ - bool isEnabled() const { return m_bEnabled; } - - /** - * Sets the name of the accelerator action. - * @param name the new name - */ - void setName( const TQString& name ); - - /** - * Sets the user-readable label of the accelerator action. - * @param label the new label (i18n!) - */ - void setLabel( const TQString& label ); - - /** - * Sets the What's This text for the accelerator action. - * @param whatsThis the new What's This text (i18n!) - */ - void setWhatsThis( const TQString& whatsThis ); - - /** - * Sets the new shortcut of the accelerator action. - * @param rgCuts the shortcut to set - * @return true if successful, false otherwise - */ - bool setShortcut( const KShortcut& rgCuts ); - - /** - * Sets the slot of the accelerator action. - * @param pObjSlot the receiver object of the signal - * @param psMethodSlot the slot for the signal - */ - void setSlot( const TQObject* pObjSlot, const char* psMethodSlot ); - - /** - * Enables or disabled configuring the action. - * @param configurable true to enable configurability, false to disable - */ - void setConfigurable( bool configurable ); - - /** - * Enables or disabled the action. - * @param enable true to enable the action, false to disable - */ - void setEnabled( bool enable ); - - /** - * Retrieves the id set using setID. - * @return the id of the accelerator action - */ - int getID() const { return m_nIDAccel; } - - /** - * Allows you to set an id that will be used as the action - * signal's argument. - * - * @param n the new id - * @see getID() - */ - void setID( int n ) { m_nIDAccel = n; } - - /** - * Checkes whether the action is connected (emits signals). - * @return true if connected, false otherwise - */ - bool isConnected() const; - - /** - * Sets a key sequence of the action's shortcut. - * @param i the position of the sequence - * @param keySeq the new new sequence - * @return true if successful, false otherwise - * @see KShortcut::setSeq() - */ - bool setKeySequence( uint i, const KKeySequence &keySeq ); - - /** - * Clears the action's shortcut. It will not contain any sequences after - * calling this method. - * @see KShortcut::clear() - */ - void clearShortcut(); - - /** - * Checks whether the action's shortcut contains the given key sequence. - * @param keySeq the key sequence to check - * @return true if the shortcut contains the given sequence - * @see KShortcut::contains() - */ - bool contains( const KKeySequence &keySeq ); - - /** - * Returns the string representation of the action's shortcut. - * @return the string representation of the action's shortcut. - * @see KShortcut::toString() - */ - TQString toString() const; - - /** - * @internal - */ - TQString toStringInternal() const; - - /** - * Returns true if four modifier keys will be used. - * @return true if four modifier keys will be used. - */ - static bool useFourModifierKeys(); - - /** - * Selects 3 or 4 modifier default shortcuts. - * @param use true to use 4 modifier shortcuts, false to use - * 3 modifier shortcuts - */ - static void useFourModifierKeys( bool use ); - - protected: - TQString m_sName /**< Name of accel. @sa setName() */, - m_sLabel /**< Label of accel. User-visible. */, - m_sWhatsThis /**< WhatsThis help for accel. User-visible. */; - KShortcut m_cut /**< Shortcut actually assigned. */; - KShortcut m_cutDefault3 /**< Default shortcut in 3-modifier layout */, - m_cutDefault4 /**< Default shortcur in 4-modifier layout */; - const TQObject* m_pObjSlot /**< Object we will send signals to. */; - const char* m_psMethodSlot /**< Slot we send signals to, in m_pObjSlot */; - bool m_bConfigurable /**< Can this accel be configured by the user? */, - m_bEnabled /**< Is this accel enabled? */; - int m_nIDAccel /**< Id of this accel, from the list of IDs */; - uint m_nConnections /**< Number of connections to this accel. */ ; - - /** @internal Increment the number of connections to this accel. */ - void incConnections(); - /** @internal Decrement the number of connections to this accel (bouded by zero). */ - void decConnections(); - - private: - static int g_bUseFourModifierKeys; - class KAccelActionPrivate* d; - - friend class KAccelActions; - friend class KAccelBase; -}; - -//--------------------------------------------------------------------- -// KAccelActions -//--------------------------------------------------------------------- - -/** - * @internal - * This class represents a collection of KAccelAction objects. - * - * @short A collection of accelerator actions - * @see KAccelAction - */ -class KDECORE_EXPORT KAccelActions -{ - public: - /** - * Creates a new, empty KAccelActions object. - */ - KAccelActions(); - - /** - * Copy constructor (deep copy). - */ - KAccelActions( const KAccelActions& ); - virtual ~KAccelActions(); - - /** - * Removes all items from this collection. - */ - void clear(); - - /** - * Initializes this object with the given actions. - * It will make a deep copy of all actions. - * @param actions the actions to copy - * @return true if successful, false otherwise - */ - bool init( const KAccelActions &actions ); - - /** - * Loads the actions from the given configuration file. - * - * @param config the configuration file to load from - * @param sGroup the group in the configuration file - * @return true if successful, false otherwise - */ - bool init( KConfigBase& config, const TQString& sGroup ); - - /** - * Updates the shortcuts of all actions in this object - * with the shortcuts from the given object. - * @param shortcuts the collection that contains the new - * shortcuts - */ - void updateShortcuts( KAccelActions &shortcuts ); - - /** - * Retrieves the index of the action with the given name. - * @param sAction the action to search - * @return the index of the action, or -1 if not found - */ - int actionIndex( const TQString& sAction ) const; - - /** - * Returns the action with the given @p index. - * @param index the index of an action. You must not - * use an index that is too high. - * @return the KAccelAction with the given index - * @see count() - */ - KAccelAction* actionPtr( uint index ); - - /** - * Returns the action with the given @p index. - * @param index the index of an action. You must not - * use an index that is too high. - * @return the KAccelAction with the given index - * @see count() - */ - const KAccelAction* actionPtr( uint index ) const; - - /** - * Returns the action with the given name. - * @param sAction the name of the action to search - * @return the KAccelAction with the given name, or 0 - * if not found - */ - KAccelAction* actionPtr( const TQString& sAction ); - - /** - * Returns the action with the given name. - * @param sAction the name of the action to search - * @return the KAccelAction with the given name, or 0 - * if not found - */ - const KAccelAction* actionPtr( const TQString& sAction ) const; - - /** - * Returns the action with the given key sequence. - * @param cut the sequence to search for - * @return the KAccelAction with the given sequence, or 0 - * if not found - */ - KAccelAction* actionPtr( KKeySequence cut ); - - /** - * Returns the action with the given @p index. - * @param index the index of an action. You must not - * use an index that is too high. - * @return the KAccelAction with the given index - * @see actionPtr() - * @see count() - */ - KAccelAction& operator []( uint index ); - - /** - * Returns the action with the given @p index. - * @param index the index of an action. You must not - * use an index that is too high. - * @return the KAccelAction with the given index - * @see actionPtr() - * @see count() - */ - const KAccelAction& operator []( uint index ) const; - - /** - * Inserts an action into the collection. - * @param sAction the name of the accelerator - * @param sLabel the label of the accelerator (i18n!) - * @param sWhatsThis the What's This text (18n!) - * @param rgCutDefaults3 the default shortcut for 3 modifier systems - * @param rgCutDefaults4 the default shortcut for 4 modifier systems - * @param pObjSlot the receiver of a signal when the key has been - * pressed - * @param psMethodSlot the slot to connect for key presses. Receives - * an int, as set by setID(), as only argument - * @param bConfigurable if true the user can configure the shortcut - * @param bEnabled if true the accelerator should be enabled - * @return the new action - */ - KAccelAction* insert( const TQString& sAction, const TQString& sLabel, const TQString& sWhatsThis, - const KShortcut& rgCutDefaults3, const KShortcut& rgCutDefaults4, - const TQObject* pObjSlot = 0, const char* psMethodSlot = 0, - bool bConfigurable = true, bool bEnabled = true ); - - /** - * Inserts an action into the collection. - * @param sName the name of the accelerator - * @param sLabel the label of the accelerator (i18n!) - * @return the new action - */ - KAccelAction* insert( const TQString& sName, const TQString& sLabel ); - - /** - * Removes the given action. - * @param sAction the name of the action. - * @return true if successful, false otherwise - */ - bool remove( const TQString& sAction ); - - /** - * Loads the actions from the given configuration file. - * - * @param sConfigGroup the group in the configuration file - * @param pConfig the configuration file to load from - * @return true if successful, false otherwise - */ - bool readActions( const TQString& sConfigGroup = "Shortcuts", KConfigBase* pConfig = 0 ); - - /** - * Writes the actions to the given configuration file. - * - * @param sConfigGroup the group in the configuration file - * @param pConfig the configuration file to save to - * @param bWriteAll true to write all actions - * @param bGlobal true to write to the global configuration file - * @return true if successful, false otherwise - */ - bool writeActions( const TQString& sConfigGroup = "Shortcuts", KConfigBase* pConfig = 0, - bool bWriteAll = false, bool bGlobal = false ) const; - - /** - * Emit a keycodeChanged signal. - */ - void emitKeycodeChanged(); - - /** - * Returns the number of actions in the collection. - * @return the number of actions - */ - uint count() const; - - protected: - /** Base object that proxies signals from us. */ - KAccelBase* m_pKAccelBase; - /** Array of actions we're hanging on to. */ - KAccelAction** m_prgActions; - uint m_nSizeAllocated /**< Allocated size of the array. */, - m_nSize /**< Amount in use. */ ; - - /** - * Resize the list to the given number @p new_size of entries. - * @todo Can you make it smaller? - * @todo Implementation seems to break m_nSize. - */ - void resize( uint new_size ); - /** Add a action to this collection. @todo Document ownership. */ - void insertPtr( KAccelAction* ); - - private: - class KAccelActionsPrivate* d; - - KAccelActions( KAccelBase* ); - void initPrivate( KAccelBase* ); - KAccelActions& operator =( KAccelActions& ); - - friend class KAccelBase; -}; - -#endif // _KACCELACTION_H diff --git a/python/pykde/extra/kde351/kaccelbase.h b/python/pykde/extra/kde351/kaccelbase.h deleted file mode 100644 index babf304b..00000000 --- a/python/pykde/extra/kde351/kaccelbase.h +++ /dev/null @@ -1,260 +0,0 @@ -/* This file is part of the KDE libraries - Copyright (C) 2001 Ellis Whitehead - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. -*/ - -#ifndef _KACCELBASE_H -#define _KACCELBASE_H - -#include -#include -#include -#include -#include - -#include "kaccelaction.h" -#include "kkeyserver.h" - -class TQPopupMenu; -class TQWidget; - -//---------------------------------------------------- - -/** - * @internal - * Handle keyboard accelerators. - * - * Allow an user to configure - * key bindings through application configuration files or through the - * KKeyChooser GUI. - * - * A KAccel contains a list of accelerator items. Each accelerator item - * consists of an action name and a keyboard code combined with modifiers - * (Shift, Ctrl and Alt.) - * - * For example, "Ctrl+P" could be a shortcut for printing a document. The key - * codes are listed in ckey.h. "Print" could be the action name for printing. - * The action name identifies the key binding in configuration files and the - * KKeyChooser GUI. - * - * When pressed, an accelerator key calls the slot to which it has been - * connected. Accelerator items can be connected so that a key will activate - * two different slots. - * - * A KAccel object handles key events sent to its parent widget and to all - * children of this parent widget. - * - * Key binding reconfiguration during run time can be prevented by specifying - * that an accelerator item is not configurable when it is inserted. A special - * group of non-configurable key bindings are known as the - * standard accelerators. - * - * The standard accelerators appear repeatedly in applications for - * standard document actions such as printing and saving. Convenience methods are - * available to insert and connect these accelerators which are configurable on - * a desktop-wide basis. - * - * It is possible for a user to choose to have no key associated with - * an action. - * - * The translated first argument for insertItem() is used only - * in the configuration dialog. - *\code - * KAccel *a = new KAccel( myWindow ); - * // Insert an action "Scroll Up" which is associated with the "Up" key: - * a->insertItem( i18n("Scroll Up"), "Scroll Up", "Up" ); - * // Insert an action "Scroll Down" which is not associated with any key: - * a->insertItem( i18n("Scroll Down"), "Scroll Down", 0); - * a->connectItem( "Scroll up", myWindow, TQT_SLOT( scrollUp() ) ); - * // a->insertStdItem( KStdAccel::Print ); //not necessary, since it - * // is done automatially with the - * // connect below! - * a->connectItem(KStdAccel::Print, myWindow, TQT_SLOT( printDoc() ) ); - * - * a->readSettings(); - *\endcode - * - * If a shortcut has a menu entry as well, you could insert them like - * this. The example is again the KStdAccel::Print from above. - * - * \code - * int id; - * id = popup->insertItem("&Print",this, TQT_SLOT(printDoc())); - * a->changeMenuAccel(popup, id, KStdAccel::Print ); - * \endcode - * - * If you want a somewhat "exotic" name for your standard print action, like - * id = popup->insertItem(i18n("Print &Document"),this, TQT_SLOT(printDoc())); - * it might be a good idea to insert the standard action before as - * a->insertStdItem( KStdAccel::Print, i18n("Print Document") ) - * as well, so that the user can easily find the corresponding function. - * - * This technique works for other actions as well. Your "scroll up" function - * in a menu could be done with - * - * \code - * id = popup->insertItem(i18n"Scroll &up",this, TQT_SLOT(scrollUp())); - * a->changeMenuAccel(popup, id, "Scroll Up" ); - * \endcode - * - * Please keep the order right: First insert all functions in the - * acceleratior, then call a -> readSettings() and @em then build your - * menu structure. - * - * @short Configurable key binding support. - */ - -class KDECORE_EXPORT KAccelBase -{ - public: - /** Initialization mode of the KAccelBase, used in constructor. */ - enum Init { QT_KEYS = 0x00, NATIVE_KEYS = 0x01 }; - - /** Enum for kinds of signals which may be emitted. */ - enum Signal { KEYCODE_CHANGED }; - - /** Constructor. @p fInitCode should be a bitwise OR of - * values from the Init enum. - */ - KAccelBase( int fInitCode ); - virtual ~KAccelBase(); - - /** Returns number of actions in this handler. */ - uint actionCount() const; - /** Returns a list of all the actions in this handler. */ - KAccelActions& actions(); - /** Returns whether this accelerator handler is enabled or not. */ - bool isEnabled() const; - - /** Returns a pointer to the KAccelAction named @p sAction. */ - KAccelAction* actionPtr( const TQString& sAction ); - /** Const version of the above. */ - const KAccelAction* actionPtr( const TQString& sAction ) const; - /** Returns a pointer to the KAccelAction associated with - * the key @p key. This function takes into account the - * key mapping defined in the constructor. - * - * May return 0 if no (or more than one) - * action is associated with the key. - */ - KAccelAction* actionPtr( const KKey& key ); - /** Basically the same as above, except a KKeyServer::Key - * already has a key mapping defined (either NATIVE_KEYS or not). - */ - KAccelAction* actionPtr( const KKeyServer::Key& key ); - - /** Returns the name of the configuration group these - * accelerators are stored in. The default is "Shortcuts". - */ - const TQString& configGroup() const { return m_sConfigGroup; } - /** Set the group (in the configuration file) for storing - * accelerators. - */ - void setConfigGroup( const TQString& group ); - void setConfigGlobal( bool global ); - virtual void setEnabled( bool bEnabled ) = 0; - /** Returns whether autoupdate is enabled for these accelerators. */ - bool getAutoUpdate() { return m_bAutoUpdate; } - /** Enables (or disables) autoupdate for these accelerators. - * @return the value of autoupdate before the call. - */ - bool setAutoUpdate( bool bAuto ); - -// Procedures for manipulating Actions. - //void clearActions(); - - KAccelAction* insert( const TQString& sName, const TQString& sDesc ); - KAccelAction* insert( - const TQString& sAction, const TQString& sDesc, const TQString& sHelp, - const KShortcut& rgCutDefaults3, const KShortcut& rgCutDefaults4, - const TQObject* pObjSlot, const char* psMethodSlot, - bool bConfigurable = true, bool bEnabled = true ); - bool remove( const TQString& sAction ); - bool setActionSlot( const TQString& sAction, const TQObject* pObjSlot, const char* psMethodSlot ); - - bool updateConnections(); - - bool setShortcut( const TQString& sAction, const KShortcut& cut ); - -// Modify individual Action sub-items - bool setActionEnabled( const TQString& sAction, bool bEnable ); - - /** - * Read all key associations from @p config, or (if @p config - * is zero) from the application's configuration file - * KGlobal::config(). - * - * The group in which the configuration is stored can be - * set with setConfigGroup(). - */ - void readSettings( KConfigBase* pConfig = 0 ); - - /** - * Write the current configurable associations to @p config, - * or (if @p config is zero) to the application's - * configuration file. - */ - void writeSettings( KConfigBase* pConfig = 0 ) const; - - TQPopupMenu* createPopupMenu( TQWidget* pParent, const KKeySequence& ); - - // Protected methods - protected: - void slotRemoveAction( KAccelAction* ); - - struct X; - void createKeyList( TQValueVector& rgKeys ); - bool insertConnection( KAccelAction* ); - bool removeConnection( KAccelAction* ); - - virtual bool emitSignal( Signal ) = 0; - virtual bool connectKey( KAccelAction&, const KKeyServer::Key& ) = 0; - virtual bool connectKey( const KKeyServer::Key& ) = 0; - virtual bool disconnectKey( KAccelAction&, const KKeyServer::Key& ) = 0; - virtual bool disconnectKey( const KKeyServer::Key& ) = 0; - - protected: - virtual bool isEnabledInternal() const; - struct ActionInfo - { - KAccelAction* pAction; - uint iSeq, iVariation; - //ActionInfo* pInfoNext; // nil if only one action uses this key. - - ActionInfo() { pAction = 0; iSeq = 0xffff; iVariation = 0xffff; } - ActionInfo( KAccelAction* _pAction, uint _iSeq, uint _iVariation ) - { pAction = _pAction; iSeq = _iSeq; iVariation = _iVariation; } - }; - typedef TQMap KKeyToActionMap; - - KAccelActions m_rgActions; - KKeyToActionMap m_mapKeyToAction; - TQValueList m_rgActionsNonUnique; - bool m_bNativeKeys; // Use native key codes instead of Qt codes - bool m_bEnabled; - bool m_bConfigIsGlobal; - TQString m_sConfigGroup; - bool m_bAutoUpdate; - KAccelAction* mtemp_pActionRemoving; - - private: - KAccelBase& operator =( const KAccelBase& ); - - friend class KAccelActions; -}; - -#endif // _KACCELBASE_H diff --git a/python/pykde/extra/kde351/kicontheme.h b/python/pykde/extra/kde351/kicontheme.h deleted file mode 100644 index 4befb226..00000000 --- a/python/pykde/extra/kde351/kicontheme.h +++ /dev/null @@ -1,355 +0,0 @@ -/* vi: ts=8 sts=4 sw=4 - * - * This file is part of the KDE project, module kdecore. - * Copyright (C) 2000 Geert Jansen - * Antonio Larrosa - * - * This is free software; it comes under the GNU Library General - * Public License, version 2. See the file "COPYING.LIB" for the - * exact licensing terms. - * - */ - -#ifndef __KIconTheme_h_Included__ -#define __KIconTheme_h_Included__ - -#include -#include -#include -#include "kdelibs_export.h" - -class KConfig; -//class KIconThemeDir; - -class KIconThemePrivate; - -class KIconPrivate; - -/** - * One icon as found by KIconTheme. Also serves as a namespace containing - * icon related constants. - * @see KIconEffect - * @see KIconTheme - * @see KIconLoader - */ -class KDECORE_EXPORT KIcon -{ -public: - KIcon() { size = 0; } - - /** - * Return true if this icon is valid, false otherwise. - */ - bool isValid() const { return size != 0; } - - /** - * Defines the context of the icon. - */ - enum Context { - Any, ///< Some icon with unknown purpose. - Action, ///< An action icon (e.g. 'save', 'print'). - Application, ///< An icon that represents an application. - Device, ///< An icon that represents a device. - FileSystem, ///< An icon that represents a file system. - MimeType ///< An icon that represents a mime type (or file type). - }; - - /** - * The type of the icon. - */ - enum Type { - Fixed, ///< Fixed-size icon. - Scalable, ///< Scalable-size icon. - Threshold ///< A threshold icon. - }; - - /** - * The type of a match. - */ - enum MatchType { - MatchExact, ///< Only try to find an exact match. - MatchBest ///< Take the best match if there is no exact match. - - }; - - // if you add a group here, make sure to change the config reading in - // KIconLoader too - /** - * The group of the icon. - */ - enum Group { - /// No group - NoGroup=-1, - /// Desktop icons - Desktop=0, - /// First group - FirstGroup=0, - /// Toolbar icons - Toolbar, - /// Main toolbar icons - MainToolbar, - /// Small icons - Small, - /// Panel (Kicker) icons - Panel, - /// Last group - LastGroup, - /// User icons - User - }; - - /** - * These are the standard sizes for icons. - */ - enum StdSizes { - /// small icons for menu entries - SizeSmall=16, - /// slightly larger small icons for toolbars, panels, etc - SizeSmallMedium=22, - /// medium sized icons for the desktop - SizeMedium=32, - /// large sized icons for the panel - SizeLarge=48, - /// huge sized icons for iconviews - SizeHuge=64, - /// enormous sized icons for iconviews - SizeEnormous=128 - }; - - /** - * Defines the possible states of an icon. - */ - enum States { DefaultState, ///< The default state. - ActiveState, ///< Icon is active. - DisabledState, ///< Icon is disabled. - LastState ///< Last state (last constant) - }; - - /** - * This defines an overlay, a semi-transparent image that is - * projected onto the icon. They are used to show that the file - * represented by the icon is, for example, locked, zipped or hidden. - */ - enum Overlays { - LockOverlay=0x100, ///< a file is locked - ZipOverlay=0x200, ///< a file is zipped - LinkOverlay=0x400, ///< a file is a link - HiddenOverlay=0x800, ///< a file is hidden - ShareOverlay=0x1000, ///< a file is shared - OverlayMask = ~0xff - }; - - /** - * The size in pixels of the icon. - */ - int size; - - /** - * The context of the icon. - */ - Context context; - - /** - * The type of the icon: Fixed, Scalable or Threshold. - **/ - Type type; - - /** - * The threshold in case type == Threshold - */ - int threshold; - - /** - * The full path of the icon. - */ - TQString path; - -private: - KIconPrivate *d; -}; - -inline KIcon::Group& operator++(KIcon::Group& group) { group = static_cast(group+1); return group; } -inline KIcon::Group operator++(KIcon::Group& group,int) { KIcon::Group ret = group; ++group; return ret; } - -/** - * Class to use/access icon themes in KDE. This class is used by the - * iconloader but can be used by others too. - * @see KIconLoader - */ -class KDECORE_EXPORT KIconTheme -{ -public: - /** - * Load an icon theme by name. - * @param name the name of the theme (e.g. "hicolor" or "keramik") - * @param appName the name of the application. Can be null. This argument - * allows applications to have themed application icons. - */ - KIconTheme(const TQString& name, const TQString& appName=TQString::null); - ~KIconTheme(); - - /** - * The stylized name of the icon theme. - * @return the (human-readable) name of the theme - */ - TQString name() const { return mName; } - - /** - * A description for the icon theme. - * @return a human-readable description of the theme, TQString::null - * if there is none - */ - TQString description() const { return mDesc; } - - /** - * Return the name of the "example" icon. This can be used to - * present the theme to the user. - * @return the name of the example icon, TQString::null if there is none - */ - TQString example() const; - - /** - * Return the name of the screenshot. - * @return the name of the screenshot, TQString::null if there is none - */ - TQString screenshot() const; - - /** - * Returns the name of this theme's link overlay. - * @return the name of the link overlay - */ - TQString linkOverlay() const; - - /** - * Returns the name of this theme's zip overlay. - * @return the name of the zip overlay - */ - TQString zipOverlay() const; - - /** - * Returns the name of this theme's lock overlay. - * @return the name of the lock overlay - */ - TQString lockOverlay() const; - - /** - * Returns the name of this theme's share overlay. - * @return the name of the share overlay - * @since 3.1 - */ - TQString shareOverlay () const; - - /** - * Returns the toplevel theme directory. - * @return the directory of the theme - */ - TQString dir() const { return mDir; } - - /** - * The themes this icon theme falls back on. - * @return a list of icon themes that are used as fall-backs - */ - TQStringList inherits() const { return mInherits; } - - /** - * The icon theme exists? - * @return true if the icon theme is valid - */ - bool isValid() const; - - /** - * The icon theme should be hidden to the user? - * @return true if the icon theme is hidden - * @since 3.1 - */ - bool isHidden() const; - - /** - * The minimum display depth required for this theme. This can either - * be 8 or 32. - * @return the minimum bpp (8 or 32) - */ - int depth() const { return mDepth; } - - /** - * The default size of this theme for a certain icon group. - * @param group The icon group. See KIcon::Group. - * @return The default size in pixels for the given icon group. - */ - int defaultSize(KIcon::Group group) const; - - /** - * Query available sizes for a group. - * @param group The icon group. See KIcon::Group. - * @return a list of available sized for the given group - */ - TQValueList querySizes(KIcon::Group group) const; - - /** - * Query available icons for a size and context. - * @param size the size of the icons - * @param context the context of the icons - * @return the list of icon names - */ - TQStringList queryIcons(int size, KIcon::Context context = KIcon::Any) const; - - /** - * Query available icons for a context and preferred size. - * @param size the size of the icons - * @param context the context of the icons - * @return the list of icon names - */ - TQStringList queryIconsByContext(int size, KIcon::Context context = KIcon::Any) const; - - - /** - * Lookup an icon in the theme. - * @param name The name of the icon, without extension. - * @param size The desired size of the icon. - * @param match The matching mode. KIcon::MatchExact returns an icon - * only if matches exactly. KIcon::MatchBest returns the best matching - * icon. - * @return A KIcon class that describes the icon. If an icon is found, - * @see KIcon::isValid will return true, and false otherwise. - */ - KIcon iconPath(const TQString& name, int size, KIcon::MatchType match) const; - - /** - * List all icon themes installed on the system, global and local. - * @return the list of all icon themes - */ - static TQStringList list(); - - /** - * Returns the current icon theme. - * @return the name of the current theme - */ - static TQString current(); - - /** - * Reconfigure the theme. - */ - static void reconfigure(); - - /** - * Returns the default icon theme. - * @return the name of the default theme name - * @since 3.1 - */ - static TQString defaultThemeName(); - -private: - int mDefSize[8]; - TQValueList mSizes[8]; - - int mDepth; - TQString mDir, mName, mDesc; - TQStringList mInherits; -// TQPtrList mDirs; - KIconThemePrivate *d; - - static TQString *_theme; - static TQStringList *_theme_list; -}; - -#endif diff --git a/python/pykde/extra/kde351/kkeyserver.h b/python/pykde/extra/kde351/kkeyserver.h deleted file mode 100644 index ef673ea9..00000000 --- a/python/pykde/extra/kde351/kkeyserver.h +++ /dev/null @@ -1,29 +0,0 @@ -/* - Copyright (C) 2001 Ellis Whitehead - - Win32 port: - Copyright (C) 2004 Jaroslaw Staniek - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. -*/ - -#ifndef _KKEYSERVER_H -#define _KKEYSERVER_H - -//FOR COMPATIBILITY -#include "kkeyserver_x11.h" - -#endif // !_KKEYSERVER_H diff --git a/python/pykde/extra/kde351/kkeyserver_x11.h b/python/pykde/extra/kde351/kkeyserver_x11.h deleted file mode 100644 index dbca533e..00000000 --- a/python/pykde/extra/kde351/kkeyserver_x11.h +++ /dev/null @@ -1,477 +0,0 @@ -/* - Copyright (C) 2001 Ellis Whitehead - - Win32 port: - Copyright (C) 2004 Jaroslaw Staniek - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. -*/ - -#ifndef _KKEYSERVER_X11_H -#define _KKEYSERVER_X11_H - -#include "kshortcut.h" -#include "kkeynative.h" - -/** - * A collection of functions for the conversion of key presses and - * their modifiers from the window system specific format - * to the generic format and vice-versa. - */ -namespace KKeyServer -{ - /** - * Supplement enum KKey::ModFlag - * @since 3.1 - */ - enum ExtraModFlag { MODE_SWITCH = 0x2000 }; - - /** - * Represents a key symbol. - * @see KKey - * @see KKeyServer - */ - struct KDECORE_EXPORT Sym - { - public: - /// the actual value of the symbol - uint m_sym; - - /// Creates a null symbol. - Sym() - { m_sym = 0; } - /** - * Creates asymbol with the given value. - * @param sym the value - */ - Sym( uint sym ) - { m_sym = sym; } - /** - * Creates a symbol from the given string description. - * @param s the description of the symbol - * @see toString() - */ - Sym( const TQString& s ) - { init( s ); } - - /** - * Initializes the symbol with the given Qt key code. - * @param keyQt the qt key code - * @return true if successful, false otherwise - * @see Qt::Key - */ - bool initQt( int keyQt ); - - /** - * Initializes the key with the given string description. - * @param s the string description - * @return true if successful, false otherwise - * @see toString() - */ - bool init( const TQString &s ); - - /** - * Returns the qt key code of the symbol. - * @return the qt key code - */ - int qt() const; - - /** - * @internal - */ - TQString toStringInternal() const; - - /** - * Returns the string representation of the symbol. - * @return the string representation of the symbol - */ - TQString toString() const; - - /** - * Returns the mods that are required for this symbol as - * ORed KKey::ModFlag's. For example, Break requires a - * Ctrl to be valid. - * @return the required KKey::ModFlag's - * @see KKey::ModFlag - */ - uint getModsRequired() const; - - /** - * TODO: please find out what this method does and document it - */ - uint getSymVariation() const; - - /** - * Casts the symbol to its integer representation. - */ - operator uint() const { return m_sym; } - - /** - * Overloaded operator to convert ints to Sym. - */ - Sym& operator =( uint sym ) { m_sym = sym; return *this; } - - private: - TQString toString( bool bUserSpace ) const; - - static void capitalizeKeyname( TQString& ); - }; - - /** - * Represents a key press. - * @see KKey - */ - struct KDECORE_EXPORT Key - { - /// Code for native Keys in Qt - enum { CODE_FOR_QT = 256 }; - - /// The code of the key - uint m_code; - - /// The modifiers of the key - uint m_mod; - - /// The symbol of the key - uint m_sym; - - /** - * Initializes the key with a KKey. - * @param key the key to get the data from - * @param bQt true to take the Qt keycode, false - * for the native key code - * @see Qt::Key - * @see KKeyNative - */ - bool init( const KKey& key, bool bQt ); - - /** - * Checks whether the key code is a native code. - * @return true if native code of the window system, - * false if it is a Qt keycode - * @see Qt::Key - * @see KKeyNative - */ - bool isNative() const { return m_code != CODE_FOR_QT; } - - /** - * Returns the code of the key. - * @return the code of the key - */ - uint code() const { return m_code; } - - /** - * Returns the modifiers of the key. - * @return the modifiers of the key - */ - uint mod() const { return m_mod; } - - /** - * Returns the symbol of the key. - * @return the symbol of the key - */ - uint sym() const { return m_sym; } - - /** - * Returns the qt key code. - * @return the qt key code - */ - int keyCodeQt() const { return (int) m_sym; } - - /** - * Sets the qt key code. - * @param keyQt the qt key code - */ - void setKeycodeQt( int keyQt ) - { m_code = CODE_FOR_QT; m_sym = keyQt; } - - /** - * Initializes this key with a KKeyNative. - * @return this key - */ - Key& operator =( const KKeyNative& key ); - - /** - * Compares this key with the given Key object. Returns a - * negative number if the given Key is larger, 0 if they - * are equal and a positive number this Key is larger. The - * returned value is the difference between the symbol, modifier - * or code, whatever is non-zero first. - * - * @param key the key to compare with this key - * @return a negative number if the given Key is larger, 0 if - * they are equal and a positive number this Key is larger - */ - int compare( const Key& key ) const; - - /** - * Compares the symbol, modifiers and code of both keys. - * @see compare() - */ - bool operator ==( const Key& b ) const - { return compare( b ) == 0; } - - /** - * Compares the symbol, modifiers and code of both keys. - * @see compare() - */ - bool operator <( const Key& b ) const - { return compare( b ) < 0; } - - /** - * Converts this Key to a KKey. - * @return the KKey - */ - KKey key() const; - }; - - /** - * TODO: please document this class - */ - struct KDECORE_EXPORT Variations - { - enum { MAX_VARIATIONS = 4 }; - - Key m_rgkey[MAX_VARIATIONS]; - uint m_nVariations; - - Variations() { m_nVariations = 0; } - - void init( const KKey&, bool bQt ); - - uint count() const { return m_nVariations; } - const Key& key( uint i ) const { return m_rgkey[i]; } - }; - - /// TODO: please document - KDECORE_EXPORT bool initializeMods(); - - /** - * Returns the equivalent X modifier mask of the given modifier flag. - * @param modFlag the generic flags to check - * @return the window system specific flags - */ - KDECORE_EXPORT uint modX( KKey::ModFlag modFlag ); - - /** - * Returns true if the current keyboard layout supports the Win key. - * Specifically, whether the Super or Meta keys are assigned to an X modifier. - * @return true if the keyboard has a Win key - * @see modXWin() - */ - KDECORE_EXPORT bool keyboardHasWinKey(); - - /** - * Returns the X11 Shift modifier mask/flag. - * @return the X11 Shift modifier mask/flag. - * @see accelModMaskX() - */ - KDECORE_EXPORT uint modXShift(); - - /** - * Returns the X11 Lock modifier mask/flag. - * @return the X11 Lock modifier mask/flag. - * @see accelModMaskX() - */ - KDECORE_EXPORT uint modXLock(); - - /** - * Returns the X11 Ctrl modifier mask/flag. - * @return the X11 Ctrl modifier mask/flag. - * @see accelModMaskX() - */ - KDECORE_EXPORT uint modXCtrl(); - - /** - * Returns the X11 Alt (Mod1) modifier mask/flag. - * @return the X11 Alt (Mod1) modifier mask/flag. - * @see accelModMaskX() - */ - KDECORE_EXPORT uint modXAlt(); - - /** - * Returns the X11 NumLock modifier mask/flag. - * @return the X11 NumLock modifier mask/flag. - * @see accelModMaskX() - */ - KDECORE_EXPORT uint modXNumLock(); - - /** - * Returns the X11 Win (Mod3) modifier mask/flag. - * @return the X11 Win (Mod3) modifier mask/flag. - * @see keyboardHasWinKey() - * @see accelModMaskX() - */ - KDECORE_EXPORT uint modXWin(); - - /** - * Returns the X11 ScrollLock modifier mask/flag. - * @return the X11 ScrollLock modifier mask/flag. - * @see accelModMaskX() - */ - KDECORE_EXPORT uint modXScrollLock(); - - /** - * Returns the X11 Mode_switch modifier mask/flag. - * @return the X11 Mode_switch modifier mask/flag. - * @see accelModMaskX() - * @since 3.5 - */ - KDECORE_EXPORT uint modXModeSwitch(); - - /** - * Returns bitwise OR'ed mask containing Shift, Ctrl, Alt, and - * Win (if available). - * @see modXShift() - * @see modXLock() - * @see modXCtrl() - * @see modXAlt() - * @see modXNumLock() - * @see modXWin() - * @see modXScrollLock() - */ - KDECORE_EXPORT uint accelModMaskX(); - - /** - * Extracts the symbol from the given Qt key and - * converts it to a symbol. - * @param keyQt the qt key code - * @param sym if successful, the symbol will be written here - * @return true if successful, false otherwise - * @see Qt::Key - * @see Sym - */ - KDECORE_EXPORT bool keyQtToSym( int keyQt, uint& sym ); - - /** - * Extracts the modifiers from the given Qt key and - * converts them in a mask of ORed KKey::ModFlag modifiers. - * @param keyQt the qt key code - * @param mod if successful, the modifiers will be written here - * @return true if successful, false otherwise - * @see Qt::Key - */ - KDECORE_EXPORT bool keyQtToMod( int keyQt, uint& mod ); - - /** - * Converts the given symbol to a Qt key code. - * @param sym the symbol - * @param keyQt if successful, the qt key code will be written here - * @return true if successful, false otherwise - * @see Qt::Key - * @see Sym - */ - KDECORE_EXPORT bool symToKeyQt( uint sym, int& keyQt ); - - /** - * Converts the mask of ORed KKey::ModFlag modifiers to - * a mask of ORed Qt key code modifiers. - * @param mod the mask of KKey::ModFlag modifiers - * @param modQt the mask of Qt key code modifiers will be written here, - * if successful - * @return true if successful, false otherwise - * @see Qt::Key - * @see KKey - */ - KDECORE_EXPORT bool modToModQt( uint mod, int& modQt ); - - /** - * Converts the mask of ORed KKey::ModFlag modifiers to - * a mask of ORed X11 modifiers. - * @param mod the mask of KKey::ModFlag modifiers - * @param modX the mask of X11 modifiers will be written here, - * if successful - * @return true if successful, false otherwise - * @see KKey - */ - KDECORE_EXPORT bool modToModX( uint mod, uint& modX ); - - /** - * Converts the mask of ORed X11 modifiers to - * a mask of ORed Qt key code modifiers. - * @param modX the mask of X11 modifiers - * @param modQt the mask of Qt key code modifiers will be written here - * if successful - * @return true if successful, false otherwise - * @see Qt::Key - */ - //wrapped for win32 - KDECORE_EXPORT bool modXToModQt( uint modX, int& modQt ); - - /** - * Converts the Qt-compatible button state to x11 modifier. - */ - KDECORE_EXPORT int qtButtonStateToMod( Qt::ButtonState s ); - - /** - * Converts the mask of ORed X11 modifiers to - * a mask of ORed KKey::ModFlag modifiers. - * @param modX the mask of X11 modifiers - * @param mod the mask of KKey::ModFlag modifiers will be written here, - * if successful - * @return true if successful, false otherwise - * @see KKey - */ - KDECORE_EXPORT bool modXToMod( uint modX, uint& mod ); - - /** - * Converts a X11 key code and a mask of ORed X11 modifiers - * into a X11 symbol. - * converts it to a symbol. - * @param codeX the X11 key code - * @param modX the mask of ORed X11 modifiers - * @param symX if successful, the X11 symbol will be written here - * @return true if successful, false otherwise - * @see Qt::Key - * @see Sym - */ - KDECORE_EXPORT bool codeXToSym( uchar codeX, uint modX, uint& symX ); - - /** - * @internal - */ - KDECORE_EXPORT TQString modToStringInternal( uint mod ); - - /** - * Converts the mask of ORed KKey::ModFlag modifiers to a - * user-readable string. - * @param mod the mask of ORed KKey::ModFlag modifiers - * @return the user-readable string - */ - KDECORE_EXPORT TQString modToStringUser( uint mod ); - - /** - * Converts the modifier given as user-readable string - * to KKey::ModFlag modifier, or 0. - * @internal - * @since 3.5 - */ - KDECORE_EXPORT uint stringUserToMod( const TQString& mod ); - - /** - * @internal - * Unimplemented? - */ - KDECORE_EXPORT bool stringToSymMod( const TQString&, uint& sym, uint& mod ); - - /** - * @internal - * Unimplemented? - */ - KDECORE_EXPORT void keyQtToKeyX( uint keyCombQt, unsigned char *pKeyCodeX, uint *pKeySymX, uint *pKeyModX ); -} - -#endif // !_KKEYSERVER_X11_H diff --git a/python/pykde/extra/kde351/konsole_part.h b/python/pykde/extra/kde351/konsole_part.h deleted file mode 100644 index d526c1a6..00000000 --- a/python/pykde/extra/kde351/konsole_part.h +++ /dev/null @@ -1,241 +0,0 @@ -/* -*- C++ -*- - This file is part of the KDE system - Copyright (C) 1999,2000 Boloni Laszlo - - This program is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. - */ - -#ifndef KONSOLE_PART_H -#define KONSOLE_PART_H - -#include -#include - - -#include - -#include - -//#include "schema.h" -//#include "session.h" - -class KInstance; -class konsoleBrowserExtension; -class TQPushButton; -class TQSpinBox; -class KPopupMenu; -class KActionMenu; -class TQCheckBox; -class KRootPixmap; -class KToggleAction; -class KSelectAction; - -namespace KParts { class GUIActivateEvent; } - -class konsoleFactory : public KParts::Factory -{ - Q_OBJECT -public: - konsoleFactory(); - virtual ~konsoleFactory(); - - virtual KParts::Part* createPartObject(TQWidget *parentWidget = 0, const char *widgetName = 0, - TQObject* parent = 0, const char* name = 0, - const char* classname = "KParts::Part", - const TQStringList &args = TQStringList()); - - static KInstance *instance(); - - private: - static KInstance *s_instance; - static KAboutData *s_aboutData; -}; - -////////////////////////////////////////////////////////////////////// - -class konsolePart: public KParts::ReadOnlyPart, public TerminalInterface, public ExtTerminalInterface -{ - Q_OBJECT - public: - konsolePart(TQWidget *parentWidget, const char *widgetName, TQObject * parent, const char *name, const char *classname = 0); - virtual ~konsolePart(); - -signals: - void processExited( KProcess * ); - void receivedData( const TQString& s ); - void forkedChild(); - protected: - virtual bool openURL( const KURL & url ); - virtual bool openFile() {return false;} // never used - virtual bool closeURL() {return true;} - virtual void guiActivateEvent( KParts::GUIActivateEvent * event ); - - protected slots: - void showShell(); - -// void doneSession(TESession*); - void sessionDestroyed(); -// void configureRequest(TEWidget*,int,int x,int y); -// void updateTitle(TESession*); - void enableMasterModeConnections(); - - private slots: - void emitOpenURLRequest(const TQString &url); - - void readProperties(); - void saveProperties(); - void applyProperties(); - void setSettingsMenuEnabled( bool ); - - void sendSignal(int n); - void closeCurrentSession(); - - void notifySize(int /*columns*/, int /*lines*/); - - void slotToggleFrame(); - void slotSelectScrollbar(); - void slotSelectFont(); - void schema_menu_check(); - void keytab_menu_activated(int item); - void updateSchemaMenu(); - void setSchema(int n); - void pixmap_menu_activated(int item); - void schema_menu_activated(int item); - void slotHistoryType(); - void slotSelectBell(); - void slotSelectLineSpacing(); - void slotBlinkingCursor(); - void slotUseKonsoleSettings(); - void slotWordSeps(); - void slotSetEncoding(); - void biggerFont(); - void smallerFont(); - - void autoShowShell(); - - private: - konsoleBrowserExtension *m_extension; - KURL currentURL; - - void makeGUI(); - void applySettingsToGUI(); - -// void setSchema(ColorSchema* s); - void updateKeytabMenu(); - - bool doOpenStream( const TQString& ); - bool doWriteStream( const TQByteArray& ); - bool doCloseStream(); - - TQWidget* parentWidget; -// TEWidget* te; -// TESession* se; - // ColorSchemaList* colors; - KRootPixmap* rootxpm; - - KActionCollection* actions; - KActionCollection* settingsActions; - - KToggleAction* blinkingCursor; - KToggleAction* showFrame; - KToggleAction* m_useKonsoleSettings; - - KSelectAction* selectBell; - KSelectAction* selectLineSpacing; - KSelectAction* selectScrollbar; - KSelectAction* selectSetEncoding; - - KActionMenu* m_fontsizes; - - KPopupMenu* m_keytab; - KPopupMenu* m_schema; - KPopupMenu* m_signals; - KPopupMenu* m_options; - KPopupMenu* m_popupMenu; - - TQFont defaultFont; - - TQString pmPath; // pixmap path - TQString s_schema; - TQString s_kconfigSchema; - TQString s_word_seps; // characters that are considered part of a word - - bool b_framevis:1; - bool b_histEnabled:1; - bool b_useKonsoleSettings:1; - bool b_autoDestroy:1; - bool b_autoStartShell:1; - - int curr_schema; // current schema no - int n_bell; - int n_keytab; - int n_render; - int n_scroll; - unsigned m_histSize; - bool m_runningShell; - bool m_streamEnabled; - int n_encoding; - -public: - // these are the implementations for the TermEmuInterface - // functions... - void startProgram( const TQString& program, - const TQStrList& args ); - void newSession(); - void showShellInDir( const TQString& dir ); - void sendInput( const TQString& text ); - void setAutoDestroy( bool ); - void setAutoStartShell( bool ); -}; - -////////////////////////////////////////////////////////////////////// - -/*class HistoryTypeDialog : public KDialogBase -{ - Q_OBJECT -public: - HistoryTypeDialog(const HistoryType& histType, - unsigned int histSize, - TQWidget *parent); - -public slots: - void slotDefault(); - void slotSetUnlimited(); - void slotHistEnable(bool); - - unsigned int nbLines() const; - bool isOn() const; - -protected: - TQCheckBox* m_btnEnable; - TQSpinBox* m_size; - TQPushButton* m_setUnlimited; -};*/ - -////////////////////////////////////////////////////////////////////// - -class konsoleBrowserExtension : public KParts::BrowserExtension -{ - Q_OBJECT - friend class konsolePart; - public: - konsoleBrowserExtension(konsolePart *parent); - virtual ~konsoleBrowserExtension(); - - void emitOpenURLRequest(const KURL &url); -}; - -#endif diff --git a/python/pykde/extra/kde351/kpanelmenu.h b/python/pykde/extra/kde351/kpanelmenu.h deleted file mode 100644 index de0b065e..00000000 --- a/python/pykde/extra/kde351/kpanelmenu.h +++ /dev/null @@ -1,182 +0,0 @@ -/***************************************************************** - -Copyright (c) 1996-2000 the kicker authors. See file AUTHORS. - (c) 2001 Michael Goffioul - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN -AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - -******************************************************************/ - -#ifndef __KPANELMENU_H__ -#define __KPANELMENU_H__ - -#include -#include -#include - -class KPanelMenuPrivate; - -/** - * @short Base class to build dynamically loaded menu entries for the K-menu, or the panel. - * - * This class allows to build menu entries that will be dynamically added either to - * the K-menu, or to the panel as a normal button. These dynamic menus are located - * in shared libraries that will be loaded at runtime by Kicker (the %KDE panel). - * - * To build such a menu, you have to inherit this class and implement the pure virtual - * functions #initialize() and slotExec(). You also have to provide a factory - * object in your library, see KLibFactory. This factory is only used to construct - * the menu object. - * - * Finally, you also have to provide a desktop file describing your dynamic menu. The - * relevant entries are: Name, Comment, Icon and X-KDE-Library (which contains the - * library name without any extension). This desktop file has to be installed in - * $KDEDIR/share/apps/kicker/menuext/. - * - * @author The kicker maintainers, Michael Goffioul - */ -class KDEUI_EXPORT KPanelMenu : public KPopupMenu -{ - Q_OBJECT - -public: - /** - * Construct a KPanelMenu object. This is the normal constructor to use when - * building extrernal menu entries. - */ - KPanelMenu(TQWidget *parent=0, const char *name=0); - /** - * Constructor used internally by Kicker. You don't really want to use it. - * @param startDir a directory to associate with this menu - * @param parent parent object - * @param name name of the object - * @see path(), setPath() - */ - KPanelMenu(const TQString &startDir, TQWidget *parent=0, const char *name=0); - /** - * Destructor. - */ - virtual ~KPanelMenu(); - - /** - * Get the directory path associated with this menu, or TQString::null if - * there's no such associated path. - * @return the associated directory path - * @see setPath() - */ - const TQString& path() const; - /** - * Set a directory path to be associated with this menu. - * @param p the directory path - * @see path() - */ - void setPath(const TQString &p); - /** - * Tell if the menu has been initialized, that is it already contains items. - * This is useful when you need to know if you have to clear the menu, or to - * fill it. - * @return the initial state - * @see setInitialized(), initialize() - */ - bool initialized() const; - /** - * Set the initial state. Set it to true when you menu is filled with the items - * you want. - * @param on the initial state - * @see initialized(), initialize() - */ - void setInitialized(bool on); - - /** - * Disable the automatic clearing of the menu. Kicker uses a cache system for - * its menus. After a specific configurable delay, the menu will be cleared. - * Use this function if you want to disable kicker's cache system, and avoid - * the clearing of your menu. - */ - void disableAutoClear(); - -public slots: - /** - * Reinitialize the menu: the menu is first cleared, the initial state is set - * to false, and finally #initialize() is called. Use this if you want to - * refill your menu immediately. - */ - void reinitialize(); - /** - * Deinitialize the menu: the menu is cleared and the initialized state is set to - * false. #initialize() is NOT called. It will be called before the menu is - * next shown, however. Use this slot if you want a delayed reinitialization. - * @since 3.1 - */ - void deinitialize(); - -protected slots: - /** - * This slot is called just before the menu is shown. This allows your menu - * to update itself if needed. However you should instead re-implement - * #initialize to provide this feature. This function is responsible for - * the cache system handling, so if you re-implement it, you should call - * the base function also. Calls #initialize(). - * @see disableAutoClear() - */ - virtual void slotAboutToShow(); - /** - * This is slot is called when an item from the menu has been selected. Your - * applet is then supposed to perform some action. You must re-implement this - * function. - * @param id the ID associated with the selected item - */ - virtual void slotExec(int id) = 0; - /** - * This slots is called to initialize the menu. It is called automatically by - * slotAboutToShow(). By re-implementing this functions, you can reconstruct - * the menu before it is being shown. At the end of this function, you should - * call setInitialize() with true to tell the system that the menu is OK. - * You applet must re-implement this function. - * @see slotAboutToShow(), initialized(), setInitialized() - */ - virtual void initialize() = 0; - /** - * Clears the menu, and update the initial state accordingly. - * @see initialized() - */ - void slotClear(); - -protected: - /** - * Re-implemented for internal reasons. - */ - virtual void hideEvent(TQHideEvent *ev); - /** - * For internal use only. Used by constructors. - */ - void init(const TQString& path = TQString::null); - -protected: - virtual void virtual_hook( int id, void* data ); -private: - void internalInitialize(); - KPanelMenuPrivate *d; -}; - -#define K_EXPORT_KICKER_MENUEXT( libname, classname ) \ - K_EXPORT_COMPONENT_FACTORY( \ - kickermenu_##libname, \ - KGenericFactory("libkickermenu_" #libname) ) - -#endif diff --git a/python/pykde/extra/kde351/ksharedptr.h b/python/pykde/extra/kde351/ksharedptr.h deleted file mode 100644 index ada08413..00000000 --- a/python/pykde/extra/kde351/ksharedptr.h +++ /dev/null @@ -1,175 +0,0 @@ -/* This file is part of the KDE libraries - Copyright (c) 1999 Waldo Bastian - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License version 2 as published by the Free Software Foundation. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. -*/ -#ifndef KSharedPTR_H -#define KSharedPTR_H - -#include "kdelibs_export.h" - -/** - * Reference counting for shared objects. If you derive your object - * from this class, then you may use it in conjunction with - * KSharedPtr to control the lifetime of your object. - * - * Specifically, all classes that derive from KShared have an internal - * counter keeping track of how many other objects have a reference to - * their object. If used with KSharedPtr, then your object will - * not be deleted until all references to the object have been - * released. - * - * You should probably not ever use any of the methods in this class - * directly -- let the KSharedPtr take care of that. Just derive - * your class from KShared and forget about it. - * - * @author Waldo Bastian - */ -class KDECORE_EXPORT KShared { -public: - /** - * Standard constructor. This will initialize the reference count - * on this object to 0. - */ - KShared() : count(0) { } - - /** - * Copy constructor. This will @em not actually copy the objects - * but it will initialize the reference count on this object to 0. - */ - KShared( const KShared & ) : count(0) { } - - /** - * Overloaded assignment operator. - */ - KShared &operator=(const KShared & ) { return *this; } - - /** - * Increases the reference count by one. - */ - void _KShared_ref() const { count++; } - - /** - * Releases a reference (decreases the reference count by one). If - * the count goes to 0, this object will delete itself. - */ - void _KShared_unref() const { if (!--count) delete this; } - - /** - * Return the current number of references held. - * - * @return Number of references - */ - int _KShared_count() const { return count; } - -protected: - virtual ~KShared() { } -private: - mutable int count; -}; - -/** - * Can be used to control the lifetime of an object that has derived - * KShared. As long a someone holds a KSharedPtr on some KShared - * object it won't become deleted but is deleted once its reference - * count is 0. This struct emulates C++ pointers virtually perfectly. - * So just use it like a simple C++ pointer. - * - * KShared and KSharedPtr are preferred over QShared / QSharedPtr - * since they are more safe. - * - * WARNING: Please note that this class template provides an implicit - * conversion to T*. Do *not* change this pointer or the pointee (don't - * call delete on it, for instance) behind KSharedPtr's back. - * - * @author Waldo Bastian - */ -template< class T > -class KSharedPtr -{ -public: -/** - * Creates a null pointer. - */ - KSharedPtr() - : ptr(0) { } - /** - * Creates a new pointer. - * @param t the pointer - */ - KSharedPtr( T* t ) - : ptr(t) { if ( ptr ) ptr->_KShared_ref(); } - - /** - * Copies a pointer. - * @param p the pointer to copy - */ - KSharedPtr( const KSharedPtr& p ) - : ptr(p.ptr) { if ( ptr ) ptr->_KShared_ref(); } - - /** - * Unreferences the object that this pointer points to. If it was - * the last reference, the object will be deleted. - */ - ~KSharedPtr() { if ( ptr ) ptr->_KShared_unref(); } - - KSharedPtr& operator= ( const KSharedPtr& p ) { - if ( ptr == p.ptr ) return *this; - if ( ptr ) ptr->_KShared_unref(); - ptr = p.ptr; - if ( ptr ) ptr->_KShared_ref(); - return *this; - } - KSharedPtr& operator= ( T* p ) { - if ( ptr == p ) return *this; - if ( ptr ) ptr->_KShared_unref(); - ptr = p; - if ( ptr ) ptr->_KShared_ref(); - return *this; - } - bool operator== ( const KSharedPtr& p ) const { return ( ptr == p.ptr ); } - bool operator!= ( const KSharedPtr& p ) const { return ( ptr != p.ptr ); } - bool operator== ( const T* p ) const { return ( ptr == p ); } - bool operator!= ( const T* p ) const { return ( ptr != p ); } - bool operator!() const { return ( ptr == 0 ); } - operator T*() const { return ptr; } - - /** - * Returns the pointer. - * @return the pointer - */ - T* data() { return ptr; } - - /** - * Returns the pointer. - * @return the pointer - */ - const T* data() const { return ptr; } - - const T& operator*() const { return *ptr; } - T& operator*() { return *ptr; } - const T* operator->() const { return ptr; } - T* operator->() { return ptr; } - - /** - * Returns the number of references. - * @return the number of references - */ - int count() const { return ptr->_KShared_count(); } // for debugging purposes -private: - T* ptr; -}; - -#endif diff --git a/python/pykde/extra/kde351/ksycocafactory.h b/python/pykde/extra/kde351/ksycocafactory.h deleted file mode 100644 index 536da286..00000000 --- a/python/pykde/extra/kde351/ksycocafactory.h +++ /dev/null @@ -1,143 +0,0 @@ -/* This file is part of the KDE libraries - * Copyright (C) 1999 Waldo Bastian - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License version 2 as published by the Free Software Foundation; - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public License - * along with this library; see the file COPYING.LIB. If not, write to - * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - * Boston, MA 02110-1301, USA. - **/ - -#ifndef __ksycocafactory_h__ -#define __ksycocafactory_h__ - -#include "ksycocatype.h" -#include "ksycocaentry.h" - -#include -#include -class KSycoca; -class TQStringList; -class TQString; -class KSycocaDict; -class KSycocaResourceList; - -typedef TQDict KSycocaEntryDict; - -/** - * @internal - * Base class for sycoca factories - */ -class KDECORE_EXPORT KSycocaFactory -{ -public: - virtual KSycocaFactoryId factoryId() const = 0; - -protected: // virtual class - /** - * Create a factory which can be used to lookup from/create a database - * (depending on KSycoca::isBuilding()) - */ - KSycocaFactory( KSycocaFactoryId factory_id ); - -public: - virtual ~KSycocaFactory(); - - /** - * @return the position of the factory in the sycoca file - */ - int offset() { return mOffset; } - - /** - * @return the dict, for special use by KBuildSycoca - */ - KSycocaEntryDict * entryDict() { return m_entryDict; } - - /** - * Construct an entry from a config file. - * To be implemented in the real factories. - */ - virtual KSycocaEntry *createEntry(const TQString &file, const char *resource) = 0; - - /** - * Add an entry - */ - virtual void addEntry(KSycocaEntry *newEntry, const char *resource); - - /** - * Remove an entry - * Not very fast, use with care. O(N) - */ - void removeEntry(KSycocaEntry *newEntry); - - /** - * Read an entry from the database - */ - virtual KSycocaEntry *createEntry(int offset)=0; - - /** - * Get a list of all entries from the database. - */ - KSycocaEntry::List allEntries(); - - /** - * Saves all entries it maintains as well as index files - * for these entries to the stream 'str'. - * - * Also sets mOffset to the starting position. - * - * The stream is positioned at the end of the last index. - * - * Don't forget to call the parent first when you override - * this function. - */ - virtual void save(TQDataStream &str); - - /** - * Writes out a header to the stream 'str'. - * The baseclass positions the stream correctly. - * - * Don't forget to call the parent first when you override - * this function. - */ - virtual void saveHeader(TQDataStream &str); - - /** - * @return the resources for which this factory is responsible. - */ - virtual const KSycocaResourceList * resourceList() const { return m_resourceList; } - -private: - int mOffset; - -protected: - int m_sycocaDictOffset; - int m_beginEntryOffset; - int m_endEntryOffset; - TQDataStream *m_str; - - KSycocaResourceList *m_resourceList; - KSycocaEntryDict *m_entryDict; - KSycocaDict *m_sycocaDict; -protected: - virtual void virtual_hook( int id, void* data ); -}; - -/** This, instead of a typedef, allows to declare "class ..." in header files - * @internal - */ -class KDECORE_EXPORT KSycocaFactoryList : public TQPtrList -{ -public: - KSycocaFactoryList() { } -}; - -#endif diff --git a/python/pykde/extra/kde351/ktoolbarbutton.h b/python/pykde/extra/kde351/ktoolbarbutton.h deleted file mode 100644 index eab46983..00000000 --- a/python/pykde/extra/kde351/ktoolbarbutton.h +++ /dev/null @@ -1,330 +0,0 @@ -/* This file is part of the KDE libraries - Copyright (C) 1997, 1998 Stephan Kulow (coolo@kde.org) - (C) 1997, 1998 Sven Radej (radej@kde.org) - (C) 1997, 1998 Mark Donohoe (donohoe@kde.org) - (C) 1997, 1998 Matthias Ettrich (ettrich@kde.org) - (C) 2000 Kurt Granroth (granroth@kde.org) - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License version 2 as published by the Free Software Foundation. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. -*/ - -#ifndef _KTOOLBARBUTTON_H -#define _KTOOLBARBUTTON_H - -#include -#include -#include -#include -#include - -class KToolBar; -class KToolBarButtonPrivate; -class KInstance; -class TQEvent; -class TQPopupMenu; -class TQPainter; - -/** - * A toolbar button. This is used internally by KToolBar, use the - * KToolBar methods instead. - * @internal - */ -class KDEUI_EXPORT KToolBarButton : public QToolButton -{ - Q_OBJECT - -public: - /** - * Construct a button with an icon loaded by the button itself. - * This will trust the button to load the correct icon with the - * correct size. - * - * @param icon Name of icon to load (may be absolute or relative) - * @param id Id of this button - * @param parent This button's parent - * @param name This button's internal name - * @param txt This button's text (in a tooltip or otherwise) - * @param _instance the instance to use for this button - */ - KToolBarButton(const TQString& icon, int id, TQWidget *parent, - const char *name=0L, const TQString &txt=TQString::null, - KInstance *_instance = KGlobal::instance()); - - /** - * Construct a button with an existing pixmap. It is not - * recommended that you use this as the internal icon loading code - * will almost always get it "right". - * - * @param pixmap Name of icon to load (may be absolute or relative) - * @param id Id of this button - * @param parent This button's parent - * @param name This button's internal name - * @param txt This button's text (in a tooltip or otherwise) - */ - KToolBarButton(const TQPixmap& pixmap, int id, TQWidget *parent, - const char *name=0L, const TQString &txt=TQString::null); - - /** - * Construct a separator button - * - * @param parent This button's parent - * @param name This button's internal name - */ - KToolBarButton(TQWidget *parent=0L, const char *name=0L); - - /** - * Standard destructor - */ - ~KToolBarButton(); - -#ifndef KDE_NO_COMPAT - /** - * @deprecated - * Set the pixmap directly for this button. This pixmap should be - * the active one... the dimmed and disabled pixmaps are constructed - * based on this one. However, don't use this function unless you - * are positive that you don't want to use setIcon. - * - * @param pixmap The active pixmap - */ - // this one is from TQButton, so #ifdef-ing it out doesn't break BC - virtual void setPixmap(const TQPixmap &pixmap) KDE_DEPRECATED; - - /** - * @deprecated - * Force the button to use this pixmap as the default one rather - * then generating it using effects. - * - * @param pixmap The pixmap to use as the default (normal) one - */ - void setDefaultPixmap(const TQPixmap& pixmap) KDE_DEPRECATED; - - /** - * @deprecated - * Force the button to use this pixmap when disabled one rather then - * generating it using effects. - * - * @param pixmap The pixmap to use when disabled - */ - void setDisabledPixmap(const TQPixmap& pixmap) KDE_DEPRECATED; -#endif - - /** - * Set the text for this button. The text will be either used as a - * tooltip (IconOnly) or will be along side the icon - * - * @param text The button (or tooltip) text - */ - virtual void setText(const TQString &text); - - /** - * Set the icon for this button. The icon will be loaded internally - * with the correct size. This function is preferred over setIconSet - * - * @param icon The name of the icon - */ - virtual void setIcon(const TQString &icon); - - /// @since 3.1 - virtual void setIcon( const TQPixmap &pixmap ) - { TQToolButton::setIcon( pixmap ); } - - /** - * Set the pixmaps for this toolbar button from a TQIconSet. - * If you call this you don't need to call any of the other methods - * that set icons or pixmaps. - * @param iconset The iconset to use - */ - virtual void setIconSet( const TQIconSet &iconset ); - -#ifndef KDE_NO_COMPAT - /** - * @deprecated - * Set the active icon for this button. The pixmap itself is loaded - * internally based on the icon size... .. the disabled and default - * pixmaps, however will only be constructed if generate is - * true. This function is preferred over setPixmap - * - * @param icon The name of the active icon - * @param generate If true, then the other icons are automagically - * generated from this one - */ - KDE_DEPRECATED void setIcon(const TQString &icon, bool generate ) { Q_UNUSED(generate); setIcon( icon ); } - - /** - * @deprecated - * Force the button to use this icon as the default one rather - * then generating it using effects. - * - * @param icon The icon to use as the default (normal) one - */ - void setDefaultIcon(const TQString& icon) KDE_DEPRECATED; - - /** - * @deprecated - * Force the button to use this icon when disabled one rather then - * generating it using effects. - * - * @param icon The icon to use when disabled - */ - void setDisabledIcon(const TQString& icon) KDE_DEPRECATED; -#endif - - /** - * Turn this button on or off - * - * @param flag true or false - */ - void on(bool flag = true); - - /** - * Toggle this button - */ - void toggle(); - - /** - * Turn this button into a toggle button or disable the toggle - * aspects of it. This does not toggle the button itself. - * Use toggle() for that. - * - * @param toggle true or false - */ - void setToggle(bool toggle = true); - - /** - * Return a pointer to this button's popup menu (if it exists) - */ - TQPopupMenu *popup(); - - /** - * Returns the button's id. - * @since 3.2 - */ - int id() const; - - /** - * Give this button a popup menu. There will not be a delay when - * you press the button. Use setDelayedPopup if you want that - * behavior. - * - * @param p The new popup menu - * @param unused Has no effect - ignore it. - */ - void setPopup (TQPopupMenu *p, bool unused = false); - - /** - * Gives this button a delayed popup menu. - * - * This function allows you to add a delayed popup menu to the button. - * The popup menu is then only displayed when the button is pressed and - * held down for about half a second. - * - * @param p the new popup menu - * @param unused Has no effect - ignore it. - */ - void setDelayedPopup(TQPopupMenu *p, bool unused = false); - - /** - * Turn this button into a radio button - * - * @param f true or false - */ - void setRadio(bool f = true); - - /** - * Toolbar buttons naturally will assume the global styles - * concerning icons, icons sizes, etc. You can use this function to - * explicitly turn this off, if you like. - * - * @param no_style Will disable styles if true - */ - void setNoStyle(bool no_style = true); - -signals: - /** - * Emitted when the toolbar button is clicked (with LMB or MMB) - */ - void clicked(int); - /** - * Emitted when the toolbar button is clicked (with any mouse button) - * @param state makes it possible to find out which button was pressed, - * and whether any keyboard modifiers were held. - * @since 3.4 - */ - void buttonClicked(int, Qt::ButtonState state); - void doubleClicked(int); - void pressed(int); - void released(int); - void toggled(int); - void highlighted(int, bool); - -public slots: - /** - * This slot should be called whenever the toolbar mode has - * potentially changed. This includes such events as text changing, - * orientation changing, etc. - */ - void modeChange(); - virtual void setTextLabel(const TQString&, bool tipToo); - -protected: - bool event(TQEvent *e); - void paletteChange(const TQPalette &); - void leaveEvent(TQEvent *e); - void enterEvent(TQEvent *e); - void drawButton(TQPainter *p); - bool eventFilter (TQObject *o, TQEvent *e); - /// @since 3.4 - void mousePressEvent( TQMouseEvent * ); - /// @since 3.4 - void mouseReleaseEvent( TQMouseEvent * ); - void showMenu(); - TQSize sizeHint() const; - TQSize minimumSizeHint() const; - TQSize minimumSize() const; - - /// @since 3.1 - bool isRaised() const; - /// @since 3.1 - bool isActive() const; - /// @since 3.1 - int iconTextMode() const; - -protected slots: - void slotClicked(); - void slotPressed(); - void slotReleased(); - void slotToggled(); - void slotDelayTimeout(); - -protected: - virtual void virtual_hook( int id, void* data ); -private: - KToolBarButtonPrivate *d; -}; - -/** -* List of KToolBarButton objects. -* @internal -* @version $Id: ktoolbarbutton.h 465272 2005-09-29 09:47:40Z mueller $ -*/ -class KDEUI_EXPORT KToolBarButtonList : public TQIntDict -{ -public: - KToolBarButtonList(); - ~KToolBarButtonList() {} -}; - -#endif diff --git a/python/pykde/extra/kde351/kurifilter.h b/python/pykde/extra/kde351/kurifilter.h deleted file mode 100644 index 47332947..00000000 --- a/python/pykde/extra/kde351/kurifilter.h +++ /dev/null @@ -1,647 +0,0 @@ -/* - * This file is part of the KDE libraries - * Copyright (C) 2000-2001,2003 Dawit Alemayehu - * - * Original author - * Copyright (C) 2000 Yves Arrouye - * - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public License - * along with this library; see the file COPYING.LIB. If not, write to - * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - * Boston, MA 02110-1301, USA. - **/ - -#ifndef __kurifilter_h__ -#define __kurifilter_h__ - -#include -#include -#include - -#include - -#ifdef Q_OS_WIN -#undef ERROR -#endif - -class KURIFilterPrivate; -class KURIFilterDataPrivate; - -class KCModule; - -/** -* A basic message object used for exchanging filtering -* information between the filter plugins and the application -* requesting the filtering service. -* -* Use this object if you require a more detailed information -* about the URI you want to filter. Any application can create -* an instance of this class and send it to KURIFilter to -* have the plugins fill out all possible information about the -* URI. -* -* \b Example -* -* \code -* TQString text = "kde.org"; -* KURIFilterData d = text; -* bool filtered = KURIFilter::self()->filter( d ); -* cout << "URL: " << text.latin1() << endl -* << "Filtered URL: " << d.uri().url().latin1() << endl -* << "URI Type: " << d.uriType() << endl -* << "Was Filtered: " << filtered << endl; -* \endcode -* -* The above code should yield the following output: -* \code -* URI: kde.org -* Filtered URI: http://kde.org -* URI Type: 0 <== means NET_PROTOCOL -* Was Filtered: 1 <== means the URL was successfully filtered -* \endcode -* -* @short A message object for exchanging filtering URI info. -* @author Dawit Alemayehu -*/ - -class KIO_EXPORT KURIFilterData -{ -friend class KURIFilterPlugin; - -public: - /** - * Describes the type of the URI that was filtered. - * Here is a brief description of the types: - * - * @li NET_PROTOCOL - Any network protocol: http, ftp, nttp, pop3, etc... - * @li LOCAL_FILE - A local file whose executable flag is not set - * @li LOCAL_DIR - A local directory - * @li EXECUTABLE - A local file whose executable flag is set - * @li HELP - A man or info page - * @li SHELL - A shell executable (ex: echo "Test..." >> ~/testfile) - * @li BLOCKED - A URI that should be blocked/filtered (ex: ad filtering) - * @li ERROR - An incorrect URI (ex: "~johndoe" when user johndoe - * does not exist in that system ) - * @li UNKNOWN - A URI that is not identified. Default value when - * a KURIFilterData is first created. - */ - enum URITypes { NET_PROTOCOL=0, LOCAL_FILE, LOCAL_DIR, EXECUTABLE, HELP, SHELL, BLOCKED, ERROR, UNKNOWN }; - - /** - * Default constructor. - * - * Creates a URIFilterData object. - */ - KURIFilterData() { init(); } - - /** - * Creates a URIFilterData object from the given URL. - * - * @param url is the URL to be filtered. - */ - KURIFilterData( const KURL& url ) { init( url); } - - /** - * Creates a URIFilterData object from the given string. - * - * @param url is the string to be filtered. - */ - KURIFilterData( const TQString& url ) { init( url ); } - - /** - * Copy constructor. - * - * Creates a URIFilterData object from another - * URI filter data object. - * - * @param data the uri filter data to be copied. - */ - KURIFilterData( const KURIFilterData& data); - - /** - * Destructor. - */ - ~KURIFilterData(); - - /** - * This method has been deprecated and will always return - * true. You should instead use the result from the - * KURIFilter::filterURI() calls. - * - * @deprecated - */ - KDE_DEPRECATED bool hasBeenFiltered() const { return true; } - - /** - * Returns the filtered or the original URL. - * - * This function returns the filtered url if one - * of the plugins successfully filtered the original - * URL. Otherwise, it returns the original URL. - * See hasBeenFiltered() and - * - * @return the filtered or original url. - */ - KURL uri() const { return m_pURI; } - - /** - * Returns an error message. - * - * This functions returns the error message set - * by the plugin whenever the uri type is set to - * KURIFilterData::ERROR. Otherwise, it returns - * a TQString::null. - * - * @return the error message or a NULL when there is none. - */ - TQString errorMsg() const { return m_strErrMsg; } - - /** - * Returns the URI type. - * - * This method always returns KURIFilterData::UNKNOWN - * if the given URL was not filtered. - * @return the type of the URI - */ - URITypes uriType() const { return m_iType; } - - /** - * Sets the URL to be filtered. - * - * Use this function to set the string to be - * filtered when you construct an empty filter - * object. - * - * @param url the string to be filtered. - */ - void setData( const TQString& url ) { init( url ); } - - /** - * Same as above except the argument is a URL. - * - * Use this function to set the string to be - * filtered when you construct an empty filter - * object. - * - * @param url the URL to be filtered. - */ - void setData( const KURL& url ) { init( url ); } - - /** - * Sets the absolute path to be used whenever the supplied - * data is a relative local URL. - * - * NOTE: This function should only be used for local resources, - * i.e. the "file:/" protocol. It is useful for specifying the - * absolute path in cases where the actual URL might be relative. - * meta object. If deriving the path from a KURL, make sure you - * set the argument for this function to the result of calling - * path () instead of url (). - * - * @param abs_path the abolute path to the local resource. - * @return true if absolute path is successfully set. Otherwise, false. - */ - bool setAbsolutePath( const TQString& abs_path ); - - /** - * Returns the absolute path if one has already been set. - * @return the absolute path, or TQString::null - * @see hasAbsolutePath() - */ - TQString absolutePath() const; - - /** - * Checks whether the supplied data had an absolute path. - * @return true if the supplied data has an absolute path - * @see absolutePath() - */ - bool hasAbsolutePath() const; - - /** - * Returns the command line options and arguments for a - * local resource when present. - * - * @return options and arguments when present, otherwise TQString::null - */ - TQString argsAndOptions() const; - - /** - * Checks whether the current data is a local resource with - * command line options and arguments. - * @return true if the current data has command line options and arguments - */ - bool hasArgsAndOptions() const; - - /** - * Returns the name of the icon that matches - * the current filtered URL. - * - * NOTE that this function will return a NULL - * string by default and when no associated icon - * is found. - * - * @return the name of the icon associated with the resource, - * or TQString::null if not found - */ - TQString iconName(); - - /** - * Check whether the provided uri is executable or not. - * - * Setting this to false ensures that typing the name of - * an executable does not start that application. This is - * useful in the location bar of a browser. The default - * value is true. - * - * @since 3.2 - */ - void setCheckForExecutables (bool check); - - /** - * @return true if the filters should attempt to check whether the - * supplied uri is an executable. False otherwise. - * - * @since 3.2 - */ - bool checkForExecutables() const { return m_bCheckForExecutables; } - - /** - * @return the string as typed by the user, before any URL processing is done - * @since 3.2 - */ - TQString typedString() const; - - /** - * Overloaded assigenment operator. - * - * This function allows you to easily assign a KURL - * to a KURIFilterData object. - * - * @return an instance of a KURIFilterData object. - */ - KURIFilterData& operator=( const KURL& url ) { init( url ); return *this; } - - /** - * Overloaded assigenment operator. - * - * This function allows you to easily assign a QString - * to a KURIFilterData object. - * - * @return an instance of a KURIFilterData object. - */ - KURIFilterData& operator=( const TQString& url ) { init( url ); return *this; } - -protected: - - /** - * Initializes the KURIFilterData on construction. - * @param url the URL to initialize the object with - */ - void init( const KURL& url); - - /** - * Initializes the KURIFilterData on construction. - * @param url the URL to initialize the object with - */ - void init( const TQString& url = TQString::null ); - -private: - bool m_bCheckForExecutables; - bool m_bChanged; - - TQString m_strErrMsg; - TQString m_strIconName; - - KURL m_pURI; - URITypes m_iType; - KURIFilterDataPrivate *d; -}; - - -/** - * Base class for URI filter plugins. - * - * This class applies a single filter to a URI. All plugins designed - * to provide URI filtering service should inherit from this abstract - * class and provide a concrete implementation. - * - * All inheriting classes need to implement the pure virtual function - * filterURI. - * - * @short Abstract class for URI filter plugins. - */ -class KIO_EXPORT KURIFilterPlugin : public QObject -{ - Q_OBJECT - -public: - - /** - * Constructs a filter plugin with a given name and - * priority. - * - * @param parent the parent object, or 0 for no parent - * @param name the name of the plugin, or 0 for no name - * @param pri the priority of the plugin. - */ - KURIFilterPlugin( TQObject *parent = 0, const char *name = 0, double pri = 1.0 ); - - /** - * Returns the filter's name. - * - * @return A string naming the filter. - */ - virtual TQString name() const { return m_strName; } - - /** - * Returns the filter's priority. - * - * Each filter has an assigned priority, a float from 0 to 1. Filters - * with the lowest priority are first given a chance to filter a URI. - * - * @return The priority of the filter. - */ - virtual double priority() const { return m_dblPriority; } - - /** - * Filters a URI. - * - * @param data the URI data to be filtered. - * @return A boolean indicating whether the URI has been changed. - */ - virtual bool filterURI( KURIFilterData& data ) const = 0; - - /** - * Creates a configuration module for the filter. - * - * It is the responsibility of the caller to delete the module - * once it is not needed anymore. - * - * @return A configuration module, 0 if the filter isn't configurable. - */ - virtual KCModule *configModule( TQWidget*, const char* ) const { return 0; } - - /** - * Returns the name of the configuration module for the filter. - * - * @return the name of a configuration module or TQString::null if none. - */ - virtual TQString configName() const { return name(); } - -protected: - - /** - * Sets the the URL in @p data to @p uri. - */ - void setFilteredURI ( KURIFilterData& data, const KURL& uri ) const; - - /** - * Sets the error message in @p data to @p errormsg. - */ - void setErrorMsg ( KURIFilterData& data, const TQString& errmsg ) const { - data.m_strErrMsg = errmsg; - } - - /** - * Sets the URI type in @p data to @p type. - */ - void setURIType ( KURIFilterData& data, KURIFilterData::URITypes type) const { - data.m_iType = type; - data.m_bChanged = true; - } - - /** - * Sets the arguments and options string in @p data - * to @p args if any were found during filterting. - */ - void setArguments( KURIFilterData& data, const TQString& args ) const; - - TQString m_strName; - double m_dblPriority; - -protected: - virtual void virtual_hook( int id, void* data ); -private: - class KURIFilterPluginPrivate *d; -}; - - -/** - * A list of filter plugins. - */ -class KIO_EXPORT KURIFilterPluginList : public TQPtrList -{ -public: - virtual int compareItems(Item a, Item b) - { - double diff = ((KURIFilterPlugin *) a)->priority() - ((KURIFilterPlugin *) b)->priority(); - return diff < 0 ? -1 : (diff > 0 ? 1 : 0); - } - -private: - KURIFilterPrivate *d; - -}; - -/** - * Manages the filtering of URIs. - * - * The intention of this plugin class is to allow people to extend the - * functionality of KURL without modifying it directly. This way KURL will - * remain a generic parser capable of parsing any generic URL that adheres - * to specifications. - * - * The KURIFilter class applies a number of filters to a URI and returns the - * filtered version whenever possible. The filters are implemented using - * plugins to provide easy extensibility of the filtering mechanism. New - * filters can be added in the future by simply inheriting from - * KURIFilterPlugin and implementing the KURIFilterPlugin::filterURI - * method. - * - * Use of this plugin-manager class is straight forward. Since it is a - * singleton object, all you have to do is obtain an instance by doing - * @p KURIFilter::self() and use any of the public member functions to - * preform the filtering. - * - * \b Example - * - * To simply filter a given string: - * - * \code - * bool filtered = KURIFilter::self()->filterURI( "kde.org" ); - * \endcode - * - * You can alternatively use a KURL: - * - * \code - * KURL url = "kde.org"; - * bool filtered = KURIFilter::self()->filterURI( url ); - * \endcode - * - * If you have a constant string or a constant URL, simply invoke the - * corresponding function to obtain the filtered string or URL instead - * of a boolean flag: - * - * \code - * TQString u = KURIFilter::self()->filteredURI( "kde.org" ); - * \endcode - * - * You can also restrict the filter(s) to be used by supplying - * the name of the filter(s) to use. By defualt all available - * filters will be used. To use specific filters, add the names - * of the filters you want to use to a TQStringList and invoke - * the appropriate filtering function. The examples below show - * the use of specific filters. The first one uses a single - * filter called kshorturifilter while the second example uses - * multiple filters: - * - * \code - * TQString text = "kde.org"; - * bool filtered = KURIFilter::self()->filterURI( text, "kshorturifilter" ); - * \endcode - * - * \code - * TQStringList list; - * list << "kshorturifilter" << "localdomainfilter"; - * bool filtered = KURIFilter::self()->filterURI( text, list ); - * \endcode - * - * KURIFilter also allows richer data exchange through a simple - * meta-object called @p KURIFilterData. Using this meta-object - * you can find out more information about the URL you want to - * filter. See KURIFilterData for examples and details. - * - * @short Filters a given URL into its proper format whenever possible. - */ - -class KIO_EXPORT KURIFilter -{ -public: - /** - * Destructor - */ - ~KURIFilter (); - - /** - * Returns an instance of KURIFilter. - */ - static KURIFilter* self(); - - /** - * Filters the URI given by the object URIFilterData. - * - * The given URL is filtered based on the specified list of filters. - * If the list is empty all available filters would be used. - * - * @param data object that contains the URI to be filtered. - * @param filters specify the list of filters to be used. - * - * @return a boolean indicating whether the URI has been changed - */ - bool filterURI( KURIFilterData& data, const TQStringList& filters = TQStringList() ); - - /** - * Filters the URI given by the URL. - * - * The given URL is filtered based on the specified list of filters. - * If the list is empty all available filters would be used. - * - * @param uri the URI to filter. - * @param filters specify the list of filters to be used. - * - * @return a boolean indicating whether the URI has been changed - */ - bool filterURI( KURL &uri, const TQStringList& filters = TQStringList() ); - - /** - * Filters a string representing a URI. - * - * The given URL is filtered based on the specified list of filters. - * If the list is empty all available filters would be used. - * - * @param uri The URI to filter. - * @param filters specify the list of filters to be used. - * - * @return a boolean indicating whether the URI has been changed - */ - bool filterURI( TQString &uri, const TQStringList& filters = TQStringList() ); - - /** - * Returns the filtered URI. - * - * The given URL is filtered based on the specified list of filters. - * If the list is empty all available filters would be used. - * - * @param uri The URI to filter. - * @param filters specify the list of filters to be used. - * - * @return the filtered URI or null if it cannot be filtered - */ - KURL filteredURI( const KURL &uri, const TQStringList& filters = TQStringList() ); - - /** - * Return a filtered string representation of a URI. - * - * The given URL is filtered based on the specified list of filters. - * If the list is empty all available filters would be used. - * - * @param uri the URI to filter. - * @param filters specify the list of filters to be used. - * - * @return the filtered URI or null if it cannot be filtered - */ - TQString filteredURI( const TQString &uri, const TQStringList& filters = TQStringList() ); - - /** - * Return an iterator to iterate over all loaded - * plugins. - * - * @return a plugin iterator. - */ - TQPtrListIterator pluginsIterator() const; - - /** - * Return a list of the names of all loaded plugins. - * - * @return a TQStringList of plugin names - * @since 3.1 - */ - TQStringList pluginNames() const; - -protected: - - /** - * A protected constructor. - * - * This constructor creates a KURIFilter and - * initializes all plugins it can find by invoking - * loadPlugins. - */ - KURIFilter(); - - /** - * Loads all allowed plugins. - * - * This function loads all filters that have not - * been disbled. - */ - void loadPlugins(); - -private: - static KURIFilter *s_self; - KURIFilterPluginList m_lstPlugins; - KURIFilterPrivate *d; -}; - -#endif diff --git a/python/pykde/extra/kde352/kaccelaction.h b/python/pykde/extra/kde352/kaccelaction.h deleted file mode 100644 index d55e4517..00000000 --- a/python/pykde/extra/kde352/kaccelaction.h +++ /dev/null @@ -1,576 +0,0 @@ -/* This file is part of the KDE libraries - Copyright (C) 2001,2002 Ellis Whitehead - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. -*/ - -#ifndef _KACCELACTION_H -#define _KACCELACTION_H - -#include -#include -#include -#include - -#include - -class KAccelBase; - -class TQObject; -class KConfig; -class KConfigBase; - -/** - * @internal - * A KAccelAction prepresents an action that can be executed using - * an accelerator key. Each KAccelAction has a name, a label, a - * "What's this" string and a KShortcut. The user can configure and - * enable/disable them using KKeyDialog. - * - * \code - * 1) KAccelAction = "Run Command" - * Default3 = "Alt+F2" - * Default4 = "Meta+Enter;Alt+F2" - * 1) KShortcut = "Meta+Enter" - * 1) KKeySequence = "Meta+Enter" - * 1) KKey = "Meta+Enter" - * 1) Meta+Enter - * 2) Meta+Keypad_Enter - * 2) KShortcut = "Alt+F2" - * 1) KKeySequence = "Alt+F2" - * 1) Alt+F2 - * 2) KAccelAction = "Something" - * Default3 = "" - * Default4 = "" - * 1) KShortcut = "Meta+X,Asterisk" - * 1) KKeySequence = "Meta+X,Asterisk" - * 1) KKey = "Meta+X" - * 1) Meta+X - * 2) KKey = "Asterisk" - * 1) Shift+8 (English layout) - * 2) Keypad_Asterisk - * \endcode - * @short An accelerator action - * @see KAccel - * @see KGlobalAccel - * @see KKeyChooser - * @see KKeyDialog - */ -class KDECORE_EXPORT KAccelAction -{ - public: - /** - * Creates an empty KAccelAction. - * @see clear() - */ - KAccelAction(); - - /** - * Copy constructor. - */ - KAccelAction( const KAccelAction& ); - - /** - * Creates a new KAccelAction. - * @param sName the name of the accelerator - * @param sLabel the label of the accelerator (i18n!) - * @param sWhatsThis the What's This text (18n!) - * @param cutDef3 the default shortcut for 3 modifier systems - * @param cutDef4 the default shortcut for 4 modifier systems - * @param pObjSlot the receiver of a signal when the key has been - * pressed - * @param psMethodSlot the slot to connect for key presses. Receives - * an int, as set by setID(), as only argument - * @param bConfigurable if true the user can configure the shortcut - * @param bEnabled true if the accelerator should be enabled - */ - KAccelAction( const TQString& sName, const TQString& sLabel, const TQString& sWhatsThis, - const KShortcut& cutDef3, const KShortcut& cutDef4, - const TQObject* pObjSlot, const char* psMethodSlot, - bool bConfigurable, bool bEnabled ); - ~KAccelAction(); - - /** - * Clears the accelerator. - */ - void clear(); - - /** - * Re-initialized the KAccelAction. - * @param sName the name of the accelerator - * @param sLabel the label of the accelerator (i18n!) - * @param sWhatsThis the What's This text (18n!) - * @param cutDef3 the default shortcut for 3 modifier systems - * @param cutDef4 the default shortcut for 4 modifier systems - * @param pObjSlot the receiver of a signal when the key has been - * pressed - * @param psMethodSlot the slot to connect for key presses. Receives - * an int, as set by setID(), as only argument - * @param bConfigurable if true the user can configure the shortcut - * @param bEnabled true if the accelerator should be enabled - * @return true if successful, false otherwise - */ - bool init( const TQString& sName, const TQString& sLabel, const TQString& sWhatsThis, - const KShortcut& cutDef3, const KShortcut& cutDef4, - const TQObject* pObjSlot, const char* psMethodSlot, - bool bConfigurable, bool bEnabled ); - - /** - * Copies this KAccelAction. - */ - KAccelAction& operator=( const KAccelAction& ); - - /** - * Returns the name of the accelerator action. - * @return the name of the accelerator action, can be null if not - * set - */ - const TQString& name() const { return m_sName; } - - /** - * Returns the label of the accelerator action. - * @return the label of the accelerator action, can be null if - * not set - */ - const TQString& label() const { return m_sLabel; } - - /** - * Returns the What's This text of the accelerator action. - * @return the What's This text of the accelerator action, can be - * null if not set - */ - const TQString& whatsThis() const { return m_sWhatsThis; } - - /** - * The shortcut that is actually used (may be used configured). - * @return the shortcut of the KAccelAction, can be null if not set - * @see shortcutDefault() - */ - const KShortcut& shortcut() const { return m_cut; } - - /** - * The default shortcut for this system. - * @return the default shortcut on this system, can be null if not set - * @see shortcut() - * @see shortcutDefault3() - * @see shortcutDefault4() - */ - const KShortcut& shortcutDefault() const; - - /** - * The default shortcut for 3 modifier systems. - * @return the default shortcut for 3 modifier systems, can be null - * if not set - * @see shortcutDefault() - * @see shortcutDefault4() - * @see useFourModifierKeys() - */ - const KShortcut& shortcutDefault3() const { return m_cutDefault3; } - - /** - * The default shortcut for 4 modifier systems. - * @return the default shortcut for 4 modifier systems, can be null - * if not set - * @see shortcutDefault() - * @see shortcutDefault3() - * @see useFourModifierKeys() - */ - const KShortcut& shortcutDefault4() const { return m_cutDefault4; } - - /** - * Returns the receiver of signals. - * @return the receiver of signals (can be 0 if not set) - */ - const TQObject* objSlotPtr() const { return m_pObjSlot; } - - /** - * Returns the slot for the signal. - * @return the slot for the signal - */ - const char* methodSlotPtr() const { return m_psMethodSlot; } - - /** - * Checks whether the user can configure the action. - * @return true if configurable, false otherwise - */ - bool isConfigurable() const { return m_bConfigurable; } - - /** - * Checks whether the action is enabled. - * @return true if enabled, false otherwise - */ - bool isEnabled() const { return m_bEnabled; } - - /** - * Sets the name of the accelerator action. - * @param name the new name - */ - void setName( const TQString& name ); - - /** - * Sets the user-readable label of the accelerator action. - * @param label the new label (i18n!) - */ - void setLabel( const TQString& label ); - - /** - * Sets the What's This text for the accelerator action. - * @param whatsThis the new What's This text (i18n!) - */ - void setWhatsThis( const TQString& whatsThis ); - - /** - * Sets the new shortcut of the accelerator action. - * @param rgCuts the shortcut to set - * @return true if successful, false otherwise - */ - bool setShortcut( const KShortcut& rgCuts ); - - /** - * Sets the slot of the accelerator action. - * @param pObjSlot the receiver object of the signal - * @param psMethodSlot the slot for the signal - */ - void setSlot( const TQObject* pObjSlot, const char* psMethodSlot ); - - /** - * Enables or disabled configuring the action. - * @param configurable true to enable configurability, false to disable - */ - void setConfigurable( bool configurable ); - - /** - * Enables or disabled the action. - * @param enable true to enable the action, false to disable - */ - void setEnabled( bool enable ); - - /** - * Retrieves the id set using setID. - * @return the id of the accelerator action - */ - int getID() const { return m_nIDAccel; } - - /** - * Allows you to set an id that will be used as the action - * signal's argument. - * - * @param n the new id - * @see getID() - */ - void setID( int n ) { m_nIDAccel = n; } - - /** - * Checkes whether the action is connected (emits signals). - * @return true if connected, false otherwise - */ - bool isConnected() const; - - /** - * Sets a key sequence of the action's shortcut. - * @param i the position of the sequence - * @param keySeq the new new sequence - * @return true if successful, false otherwise - * @see KShortcut::setSeq() - */ - bool setKeySequence( uint i, const KKeySequence &keySeq ); - - /** - * Clears the action's shortcut. It will not contain any sequences after - * calling this method. - * @see KShortcut::clear() - */ - void clearShortcut(); - - /** - * Checks whether the action's shortcut contains the given key sequence. - * @param keySeq the key sequence to check - * @return true if the shortcut contains the given sequence - * @see KShortcut::contains() - */ - bool contains( const KKeySequence &keySeq ); - - /** - * Returns the string representation of the action's shortcut. - * @return the string representation of the action's shortcut. - * @see KShortcut::toString() - */ - TQString toString() const; - - /** - * @internal - */ - TQString toStringInternal() const; - - /** - * Returns true if four modifier keys will be used. - * @return true if four modifier keys will be used. - */ - static bool useFourModifierKeys(); - - /** - * Selects 3 or 4 modifier default shortcuts. - * @param use true to use 4 modifier shortcuts, false to use - * 3 modifier shortcuts - */ - static void useFourModifierKeys( bool use ); - - protected: - TQString m_sName /**< Name of accel. @sa setName() */, - m_sLabel /**< Label of accel. User-visible. */, - m_sWhatsThis /**< WhatsThis help for accel. User-visible. */; - KShortcut m_cut /**< Shortcut actually assigned. */; - KShortcut m_cutDefault3 /**< Default shortcut in 3-modifier layout */, - m_cutDefault4 /**< Default shortcur in 4-modifier layout */; - const TQObject* m_pObjSlot /**< Object we will send signals to. */; - const char* m_psMethodSlot /**< Slot we send signals to, in m_pObjSlot */; - bool m_bConfigurable /**< Can this accel be configured by the user? */, - m_bEnabled /**< Is this accel enabled? */; - int m_nIDAccel /**< Id of this accel, from the list of IDs */; - uint m_nConnections /**< Number of connections to this accel. */ ; - - /** @internal Increment the number of connections to this accel. */ - void incConnections(); - /** @internal Decrement the number of connections to this accel (bouded by zero). */ - void decConnections(); - - private: - static int g_bUseFourModifierKeys; - class KAccelActionPrivate* d; - - friend class KAccelActions; - friend class KAccelBase; -}; - -//--------------------------------------------------------------------- -// KAccelActions -//--------------------------------------------------------------------- - -/** - * @internal - * This class represents a collection of KAccelAction objects. - * - * @short A collection of accelerator actions - * @see KAccelAction - */ -class KDECORE_EXPORT KAccelActions -{ - public: - /** - * Creates a new, empty KAccelActions object. - */ - KAccelActions(); - - /** - * Copy constructor (deep copy). - */ - KAccelActions( const KAccelActions& ); - virtual ~KAccelActions(); - - /** - * Removes all items from this collection. - */ - void clear(); - - /** - * Initializes this object with the given actions. - * It will make a deep copy of all actions. - * @param actions the actions to copy - * @return true if successful, false otherwise - */ - bool init( const KAccelActions &actions ); - - /** - * Loads the actions from the given configuration file. - * - * @param config the configuration file to load from - * @param sGroup the group in the configuration file - * @return true if successful, false otherwise - */ - bool init( KConfigBase& config, const TQString& sGroup ); - - /** - * Updates the shortcuts of all actions in this object - * with the shortcuts from the given object. - * @param shortcuts the collection that contains the new - * shortcuts - */ - void updateShortcuts( KAccelActions &shortcuts ); - - /** - * Retrieves the index of the action with the given name. - * @param sAction the action to search - * @return the index of the action, or -1 if not found - */ - int actionIndex( const TQString& sAction ) const; - - /** - * Returns the action with the given @p index. - * @param index the index of an action. You must not - * use an index that is too high. - * @return the KAccelAction with the given index - * @see count() - */ - KAccelAction* actionPtr( uint index ); - - /** - * Returns the action with the given @p index. - * @param index the index of an action. You must not - * use an index that is too high. - * @return the KAccelAction with the given index - * @see count() - */ - const KAccelAction* actionPtr( uint index ) const; - - /** - * Returns the action with the given name. - * @param sAction the name of the action to search - * @return the KAccelAction with the given name, or 0 - * if not found - */ - KAccelAction* actionPtr( const TQString& sAction ); - - /** - * Returns the action with the given name. - * @param sAction the name of the action to search - * @return the KAccelAction with the given name, or 0 - * if not found - */ - const KAccelAction* actionPtr( const TQString& sAction ) const; - - /** - * Returns the action with the given key sequence. - * @param cut the sequence to search for - * @return the KAccelAction with the given sequence, or 0 - * if not found - */ - KAccelAction* actionPtr( KKeySequence cut ); - - /** - * Returns the action with the given @p index. - * @param index the index of an action. You must not - * use an index that is too high. - * @return the KAccelAction with the given index - * @see actionPtr() - * @see count() - */ - KAccelAction& operator []( uint index ); - - /** - * Returns the action with the given @p index. - * @param index the index of an action. You must not - * use an index that is too high. - * @return the KAccelAction with the given index - * @see actionPtr() - * @see count() - */ - const KAccelAction& operator []( uint index ) const; - - /** - * Inserts an action into the collection. - * @param sAction the name of the accelerator - * @param sLabel the label of the accelerator (i18n!) - * @param sWhatsThis the What's This text (18n!) - * @param rgCutDefaults3 the default shortcut for 3 modifier systems - * @param rgCutDefaults4 the default shortcut for 4 modifier systems - * @param pObjSlot the receiver of a signal when the key has been - * pressed - * @param psMethodSlot the slot to connect for key presses. Receives - * an int, as set by setID(), as only argument - * @param bConfigurable if true the user can configure the shortcut - * @param bEnabled if true the accelerator should be enabled - * @return the new action - */ - KAccelAction* insert( const TQString& sAction, const TQString& sLabel, const TQString& sWhatsThis, - const KShortcut& rgCutDefaults3, const KShortcut& rgCutDefaults4, - const TQObject* pObjSlot = 0, const char* psMethodSlot = 0, - bool bConfigurable = true, bool bEnabled = true ); - - /** - * Inserts an action into the collection. - * @param sName the name of the accelerator - * @param sLabel the label of the accelerator (i18n!) - * @return the new action - */ - KAccelAction* insert( const TQString& sName, const TQString& sLabel ); - - /** - * Removes the given action. - * @param sAction the name of the action. - * @return true if successful, false otherwise - */ - bool remove( const TQString& sAction ); - - /** - * Loads the actions from the given configuration file. - * - * @param sConfigGroup the group in the configuration file - * @param pConfig the configuration file to load from - * @return true if successful, false otherwise - */ - bool readActions( const TQString& sConfigGroup = "Shortcuts", KConfigBase* pConfig = 0 ); - - /** - * Writes the actions to the given configuration file. - * - * @param sConfigGroup the group in the configuration file - * @param pConfig the configuration file to save to - * @param bWriteAll true to write all actions - * @param bGlobal true to write to the global configuration file - * @return true if successful, false otherwise - */ - bool writeActions( const TQString& sConfigGroup = "Shortcuts", KConfigBase* pConfig = 0, - bool bWriteAll = false, bool bGlobal = false ) const; - - /** - * Emit a keycodeChanged signal. - */ - void emitKeycodeChanged(); - - /** - * Returns the number of actions in the collection. - * @return the number of actions - */ - uint count() const; - - protected: - /** Base object that proxies signals from us. */ - KAccelBase* m_pKAccelBase; - /** Array of actions we're hanging on to. */ - KAccelAction** m_prgActions; - uint m_nSizeAllocated /**< Allocated size of the array. */, - m_nSize /**< Amount in use. */ ; - - /** - * Resize the list to the given number @p new_size of entries. - * @todo Can you make it smaller? - * @todo Implementation seems to break m_nSize. - */ - void resize( uint new_size ); - /** Add a action to this collection. @todo Document ownership. */ - void insertPtr( KAccelAction* ); - - private: - class KAccelActionsPrivate* d; - - KAccelActions( KAccelBase* ); - void initPrivate( KAccelBase* ); - KAccelActions& operator =( KAccelActions& ); - - friend class KAccelBase; -}; - -#endif // _KACCELACTION_H diff --git a/python/pykde/extra/kde352/kaccelbase.h b/python/pykde/extra/kde352/kaccelbase.h deleted file mode 100644 index babf304b..00000000 --- a/python/pykde/extra/kde352/kaccelbase.h +++ /dev/null @@ -1,260 +0,0 @@ -/* This file is part of the KDE libraries - Copyright (C) 2001 Ellis Whitehead - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. -*/ - -#ifndef _KACCELBASE_H -#define _KACCELBASE_H - -#include -#include -#include -#include -#include - -#include "kaccelaction.h" -#include "kkeyserver.h" - -class TQPopupMenu; -class TQWidget; - -//---------------------------------------------------- - -/** - * @internal - * Handle keyboard accelerators. - * - * Allow an user to configure - * key bindings through application configuration files or through the - * KKeyChooser GUI. - * - * A KAccel contains a list of accelerator items. Each accelerator item - * consists of an action name and a keyboard code combined with modifiers - * (Shift, Ctrl and Alt.) - * - * For example, "Ctrl+P" could be a shortcut for printing a document. The key - * codes are listed in ckey.h. "Print" could be the action name for printing. - * The action name identifies the key binding in configuration files and the - * KKeyChooser GUI. - * - * When pressed, an accelerator key calls the slot to which it has been - * connected. Accelerator items can be connected so that a key will activate - * two different slots. - * - * A KAccel object handles key events sent to its parent widget and to all - * children of this parent widget. - * - * Key binding reconfiguration during run time can be prevented by specifying - * that an accelerator item is not configurable when it is inserted. A special - * group of non-configurable key bindings are known as the - * standard accelerators. - * - * The standard accelerators appear repeatedly in applications for - * standard document actions such as printing and saving. Convenience methods are - * available to insert and connect these accelerators which are configurable on - * a desktop-wide basis. - * - * It is possible for a user to choose to have no key associated with - * an action. - * - * The translated first argument for insertItem() is used only - * in the configuration dialog. - *\code - * KAccel *a = new KAccel( myWindow ); - * // Insert an action "Scroll Up" which is associated with the "Up" key: - * a->insertItem( i18n("Scroll Up"), "Scroll Up", "Up" ); - * // Insert an action "Scroll Down" which is not associated with any key: - * a->insertItem( i18n("Scroll Down"), "Scroll Down", 0); - * a->connectItem( "Scroll up", myWindow, TQT_SLOT( scrollUp() ) ); - * // a->insertStdItem( KStdAccel::Print ); //not necessary, since it - * // is done automatially with the - * // connect below! - * a->connectItem(KStdAccel::Print, myWindow, TQT_SLOT( printDoc() ) ); - * - * a->readSettings(); - *\endcode - * - * If a shortcut has a menu entry as well, you could insert them like - * this. The example is again the KStdAccel::Print from above. - * - * \code - * int id; - * id = popup->insertItem("&Print",this, TQT_SLOT(printDoc())); - * a->changeMenuAccel(popup, id, KStdAccel::Print ); - * \endcode - * - * If you want a somewhat "exotic" name for your standard print action, like - * id = popup->insertItem(i18n("Print &Document"),this, TQT_SLOT(printDoc())); - * it might be a good idea to insert the standard action before as - * a->insertStdItem( KStdAccel::Print, i18n("Print Document") ) - * as well, so that the user can easily find the corresponding function. - * - * This technique works for other actions as well. Your "scroll up" function - * in a menu could be done with - * - * \code - * id = popup->insertItem(i18n"Scroll &up",this, TQT_SLOT(scrollUp())); - * a->changeMenuAccel(popup, id, "Scroll Up" ); - * \endcode - * - * Please keep the order right: First insert all functions in the - * acceleratior, then call a -> readSettings() and @em then build your - * menu structure. - * - * @short Configurable key binding support. - */ - -class KDECORE_EXPORT KAccelBase -{ - public: - /** Initialization mode of the KAccelBase, used in constructor. */ - enum Init { QT_KEYS = 0x00, NATIVE_KEYS = 0x01 }; - - /** Enum for kinds of signals which may be emitted. */ - enum Signal { KEYCODE_CHANGED }; - - /** Constructor. @p fInitCode should be a bitwise OR of - * values from the Init enum. - */ - KAccelBase( int fInitCode ); - virtual ~KAccelBase(); - - /** Returns number of actions in this handler. */ - uint actionCount() const; - /** Returns a list of all the actions in this handler. */ - KAccelActions& actions(); - /** Returns whether this accelerator handler is enabled or not. */ - bool isEnabled() const; - - /** Returns a pointer to the KAccelAction named @p sAction. */ - KAccelAction* actionPtr( const TQString& sAction ); - /** Const version of the above. */ - const KAccelAction* actionPtr( const TQString& sAction ) const; - /** Returns a pointer to the KAccelAction associated with - * the key @p key. This function takes into account the - * key mapping defined in the constructor. - * - * May return 0 if no (or more than one) - * action is associated with the key. - */ - KAccelAction* actionPtr( const KKey& key ); - /** Basically the same as above, except a KKeyServer::Key - * already has a key mapping defined (either NATIVE_KEYS or not). - */ - KAccelAction* actionPtr( const KKeyServer::Key& key ); - - /** Returns the name of the configuration group these - * accelerators are stored in. The default is "Shortcuts". - */ - const TQString& configGroup() const { return m_sConfigGroup; } - /** Set the group (in the configuration file) for storing - * accelerators. - */ - void setConfigGroup( const TQString& group ); - void setConfigGlobal( bool global ); - virtual void setEnabled( bool bEnabled ) = 0; - /** Returns whether autoupdate is enabled for these accelerators. */ - bool getAutoUpdate() { return m_bAutoUpdate; } - /** Enables (or disables) autoupdate for these accelerators. - * @return the value of autoupdate before the call. - */ - bool setAutoUpdate( bool bAuto ); - -// Procedures for manipulating Actions. - //void clearActions(); - - KAccelAction* insert( const TQString& sName, const TQString& sDesc ); - KAccelAction* insert( - const TQString& sAction, const TQString& sDesc, const TQString& sHelp, - const KShortcut& rgCutDefaults3, const KShortcut& rgCutDefaults4, - const TQObject* pObjSlot, const char* psMethodSlot, - bool bConfigurable = true, bool bEnabled = true ); - bool remove( const TQString& sAction ); - bool setActionSlot( const TQString& sAction, const TQObject* pObjSlot, const char* psMethodSlot ); - - bool updateConnections(); - - bool setShortcut( const TQString& sAction, const KShortcut& cut ); - -// Modify individual Action sub-items - bool setActionEnabled( const TQString& sAction, bool bEnable ); - - /** - * Read all key associations from @p config, or (if @p config - * is zero) from the application's configuration file - * KGlobal::config(). - * - * The group in which the configuration is stored can be - * set with setConfigGroup(). - */ - void readSettings( KConfigBase* pConfig = 0 ); - - /** - * Write the current configurable associations to @p config, - * or (if @p config is zero) to the application's - * configuration file. - */ - void writeSettings( KConfigBase* pConfig = 0 ) const; - - TQPopupMenu* createPopupMenu( TQWidget* pParent, const KKeySequence& ); - - // Protected methods - protected: - void slotRemoveAction( KAccelAction* ); - - struct X; - void createKeyList( TQValueVector& rgKeys ); - bool insertConnection( KAccelAction* ); - bool removeConnection( KAccelAction* ); - - virtual bool emitSignal( Signal ) = 0; - virtual bool connectKey( KAccelAction&, const KKeyServer::Key& ) = 0; - virtual bool connectKey( const KKeyServer::Key& ) = 0; - virtual bool disconnectKey( KAccelAction&, const KKeyServer::Key& ) = 0; - virtual bool disconnectKey( const KKeyServer::Key& ) = 0; - - protected: - virtual bool isEnabledInternal() const; - struct ActionInfo - { - KAccelAction* pAction; - uint iSeq, iVariation; - //ActionInfo* pInfoNext; // nil if only one action uses this key. - - ActionInfo() { pAction = 0; iSeq = 0xffff; iVariation = 0xffff; } - ActionInfo( KAccelAction* _pAction, uint _iSeq, uint _iVariation ) - { pAction = _pAction; iSeq = _iSeq; iVariation = _iVariation; } - }; - typedef TQMap KKeyToActionMap; - - KAccelActions m_rgActions; - KKeyToActionMap m_mapKeyToAction; - TQValueList m_rgActionsNonUnique; - bool m_bNativeKeys; // Use native key codes instead of Qt codes - bool m_bEnabled; - bool m_bConfigIsGlobal; - TQString m_sConfigGroup; - bool m_bAutoUpdate; - KAccelAction* mtemp_pActionRemoving; - - private: - KAccelBase& operator =( const KAccelBase& ); - - friend class KAccelActions; -}; - -#endif // _KACCELBASE_H diff --git a/python/pykde/extra/kde352/kicontheme.h b/python/pykde/extra/kde352/kicontheme.h deleted file mode 100644 index 4befb226..00000000 --- a/python/pykde/extra/kde352/kicontheme.h +++ /dev/null @@ -1,355 +0,0 @@ -/* vi: ts=8 sts=4 sw=4 - * - * This file is part of the KDE project, module kdecore. - * Copyright (C) 2000 Geert Jansen - * Antonio Larrosa - * - * This is free software; it comes under the GNU Library General - * Public License, version 2. See the file "COPYING.LIB" for the - * exact licensing terms. - * - */ - -#ifndef __KIconTheme_h_Included__ -#define __KIconTheme_h_Included__ - -#include -#include -#include -#include "kdelibs_export.h" - -class KConfig; -//class KIconThemeDir; - -class KIconThemePrivate; - -class KIconPrivate; - -/** - * One icon as found by KIconTheme. Also serves as a namespace containing - * icon related constants. - * @see KIconEffect - * @see KIconTheme - * @see KIconLoader - */ -class KDECORE_EXPORT KIcon -{ -public: - KIcon() { size = 0; } - - /** - * Return true if this icon is valid, false otherwise. - */ - bool isValid() const { return size != 0; } - - /** - * Defines the context of the icon. - */ - enum Context { - Any, ///< Some icon with unknown purpose. - Action, ///< An action icon (e.g. 'save', 'print'). - Application, ///< An icon that represents an application. - Device, ///< An icon that represents a device. - FileSystem, ///< An icon that represents a file system. - MimeType ///< An icon that represents a mime type (or file type). - }; - - /** - * The type of the icon. - */ - enum Type { - Fixed, ///< Fixed-size icon. - Scalable, ///< Scalable-size icon. - Threshold ///< A threshold icon. - }; - - /** - * The type of a match. - */ - enum MatchType { - MatchExact, ///< Only try to find an exact match. - MatchBest ///< Take the best match if there is no exact match. - - }; - - // if you add a group here, make sure to change the config reading in - // KIconLoader too - /** - * The group of the icon. - */ - enum Group { - /// No group - NoGroup=-1, - /// Desktop icons - Desktop=0, - /// First group - FirstGroup=0, - /// Toolbar icons - Toolbar, - /// Main toolbar icons - MainToolbar, - /// Small icons - Small, - /// Panel (Kicker) icons - Panel, - /// Last group - LastGroup, - /// User icons - User - }; - - /** - * These are the standard sizes for icons. - */ - enum StdSizes { - /// small icons for menu entries - SizeSmall=16, - /// slightly larger small icons for toolbars, panels, etc - SizeSmallMedium=22, - /// medium sized icons for the desktop - SizeMedium=32, - /// large sized icons for the panel - SizeLarge=48, - /// huge sized icons for iconviews - SizeHuge=64, - /// enormous sized icons for iconviews - SizeEnormous=128 - }; - - /** - * Defines the possible states of an icon. - */ - enum States { DefaultState, ///< The default state. - ActiveState, ///< Icon is active. - DisabledState, ///< Icon is disabled. - LastState ///< Last state (last constant) - }; - - /** - * This defines an overlay, a semi-transparent image that is - * projected onto the icon. They are used to show that the file - * represented by the icon is, for example, locked, zipped or hidden. - */ - enum Overlays { - LockOverlay=0x100, ///< a file is locked - ZipOverlay=0x200, ///< a file is zipped - LinkOverlay=0x400, ///< a file is a link - HiddenOverlay=0x800, ///< a file is hidden - ShareOverlay=0x1000, ///< a file is shared - OverlayMask = ~0xff - }; - - /** - * The size in pixels of the icon. - */ - int size; - - /** - * The context of the icon. - */ - Context context; - - /** - * The type of the icon: Fixed, Scalable or Threshold. - **/ - Type type; - - /** - * The threshold in case type == Threshold - */ - int threshold; - - /** - * The full path of the icon. - */ - TQString path; - -private: - KIconPrivate *d; -}; - -inline KIcon::Group& operator++(KIcon::Group& group) { group = static_cast(group+1); return group; } -inline KIcon::Group operator++(KIcon::Group& group,int) { KIcon::Group ret = group; ++group; return ret; } - -/** - * Class to use/access icon themes in KDE. This class is used by the - * iconloader but can be used by others too. - * @see KIconLoader - */ -class KDECORE_EXPORT KIconTheme -{ -public: - /** - * Load an icon theme by name. - * @param name the name of the theme (e.g. "hicolor" or "keramik") - * @param appName the name of the application. Can be null. This argument - * allows applications to have themed application icons. - */ - KIconTheme(const TQString& name, const TQString& appName=TQString::null); - ~KIconTheme(); - - /** - * The stylized name of the icon theme. - * @return the (human-readable) name of the theme - */ - TQString name() const { return mName; } - - /** - * A description for the icon theme. - * @return a human-readable description of the theme, TQString::null - * if there is none - */ - TQString description() const { return mDesc; } - - /** - * Return the name of the "example" icon. This can be used to - * present the theme to the user. - * @return the name of the example icon, TQString::null if there is none - */ - TQString example() const; - - /** - * Return the name of the screenshot. - * @return the name of the screenshot, TQString::null if there is none - */ - TQString screenshot() const; - - /** - * Returns the name of this theme's link overlay. - * @return the name of the link overlay - */ - TQString linkOverlay() const; - - /** - * Returns the name of this theme's zip overlay. - * @return the name of the zip overlay - */ - TQString zipOverlay() const; - - /** - * Returns the name of this theme's lock overlay. - * @return the name of the lock overlay - */ - TQString lockOverlay() const; - - /** - * Returns the name of this theme's share overlay. - * @return the name of the share overlay - * @since 3.1 - */ - TQString shareOverlay () const; - - /** - * Returns the toplevel theme directory. - * @return the directory of the theme - */ - TQString dir() const { return mDir; } - - /** - * The themes this icon theme falls back on. - * @return a list of icon themes that are used as fall-backs - */ - TQStringList inherits() const { return mInherits; } - - /** - * The icon theme exists? - * @return true if the icon theme is valid - */ - bool isValid() const; - - /** - * The icon theme should be hidden to the user? - * @return true if the icon theme is hidden - * @since 3.1 - */ - bool isHidden() const; - - /** - * The minimum display depth required for this theme. This can either - * be 8 or 32. - * @return the minimum bpp (8 or 32) - */ - int depth() const { return mDepth; } - - /** - * The default size of this theme for a certain icon group. - * @param group The icon group. See KIcon::Group. - * @return The default size in pixels for the given icon group. - */ - int defaultSize(KIcon::Group group) const; - - /** - * Query available sizes for a group. - * @param group The icon group. See KIcon::Group. - * @return a list of available sized for the given group - */ - TQValueList querySizes(KIcon::Group group) const; - - /** - * Query available icons for a size and context. - * @param size the size of the icons - * @param context the context of the icons - * @return the list of icon names - */ - TQStringList queryIcons(int size, KIcon::Context context = KIcon::Any) const; - - /** - * Query available icons for a context and preferred size. - * @param size the size of the icons - * @param context the context of the icons - * @return the list of icon names - */ - TQStringList queryIconsByContext(int size, KIcon::Context context = KIcon::Any) const; - - - /** - * Lookup an icon in the theme. - * @param name The name of the icon, without extension. - * @param size The desired size of the icon. - * @param match The matching mode. KIcon::MatchExact returns an icon - * only if matches exactly. KIcon::MatchBest returns the best matching - * icon. - * @return A KIcon class that describes the icon. If an icon is found, - * @see KIcon::isValid will return true, and false otherwise. - */ - KIcon iconPath(const TQString& name, int size, KIcon::MatchType match) const; - - /** - * List all icon themes installed on the system, global and local. - * @return the list of all icon themes - */ - static TQStringList list(); - - /** - * Returns the current icon theme. - * @return the name of the current theme - */ - static TQString current(); - - /** - * Reconfigure the theme. - */ - static void reconfigure(); - - /** - * Returns the default icon theme. - * @return the name of the default theme name - * @since 3.1 - */ - static TQString defaultThemeName(); - -private: - int mDefSize[8]; - TQValueList mSizes[8]; - - int mDepth; - TQString mDir, mName, mDesc; - TQStringList mInherits; -// TQPtrList mDirs; - KIconThemePrivate *d; - - static TQString *_theme; - static TQStringList *_theme_list; -}; - -#endif diff --git a/python/pykde/extra/kde352/kkeyserver.h b/python/pykde/extra/kde352/kkeyserver.h deleted file mode 100644 index ef673ea9..00000000 --- a/python/pykde/extra/kde352/kkeyserver.h +++ /dev/null @@ -1,29 +0,0 @@ -/* - Copyright (C) 2001 Ellis Whitehead - - Win32 port: - Copyright (C) 2004 Jaroslaw Staniek - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. -*/ - -#ifndef _KKEYSERVER_H -#define _KKEYSERVER_H - -//FOR COMPATIBILITY -#include "kkeyserver_x11.h" - -#endif // !_KKEYSERVER_H diff --git a/python/pykde/extra/kde352/kkeyserver_x11.h b/python/pykde/extra/kde352/kkeyserver_x11.h deleted file mode 100644 index dbca533e..00000000 --- a/python/pykde/extra/kde352/kkeyserver_x11.h +++ /dev/null @@ -1,477 +0,0 @@ -/* - Copyright (C) 2001 Ellis Whitehead - - Win32 port: - Copyright (C) 2004 Jaroslaw Staniek - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. -*/ - -#ifndef _KKEYSERVER_X11_H -#define _KKEYSERVER_X11_H - -#include "kshortcut.h" -#include "kkeynative.h" - -/** - * A collection of functions for the conversion of key presses and - * their modifiers from the window system specific format - * to the generic format and vice-versa. - */ -namespace KKeyServer -{ - /** - * Supplement enum KKey::ModFlag - * @since 3.1 - */ - enum ExtraModFlag { MODE_SWITCH = 0x2000 }; - - /** - * Represents a key symbol. - * @see KKey - * @see KKeyServer - */ - struct KDECORE_EXPORT Sym - { - public: - /// the actual value of the symbol - uint m_sym; - - /// Creates a null symbol. - Sym() - { m_sym = 0; } - /** - * Creates asymbol with the given value. - * @param sym the value - */ - Sym( uint sym ) - { m_sym = sym; } - /** - * Creates a symbol from the given string description. - * @param s the description of the symbol - * @see toString() - */ - Sym( const TQString& s ) - { init( s ); } - - /** - * Initializes the symbol with the given Qt key code. - * @param keyQt the qt key code - * @return true if successful, false otherwise - * @see Qt::Key - */ - bool initQt( int keyQt ); - - /** - * Initializes the key with the given string description. - * @param s the string description - * @return true if successful, false otherwise - * @see toString() - */ - bool init( const TQString &s ); - - /** - * Returns the qt key code of the symbol. - * @return the qt key code - */ - int qt() const; - - /** - * @internal - */ - TQString toStringInternal() const; - - /** - * Returns the string representation of the symbol. - * @return the string representation of the symbol - */ - TQString toString() const; - - /** - * Returns the mods that are required for this symbol as - * ORed KKey::ModFlag's. For example, Break requires a - * Ctrl to be valid. - * @return the required KKey::ModFlag's - * @see KKey::ModFlag - */ - uint getModsRequired() const; - - /** - * TODO: please find out what this method does and document it - */ - uint getSymVariation() const; - - /** - * Casts the symbol to its integer representation. - */ - operator uint() const { return m_sym; } - - /** - * Overloaded operator to convert ints to Sym. - */ - Sym& operator =( uint sym ) { m_sym = sym; return *this; } - - private: - TQString toString( bool bUserSpace ) const; - - static void capitalizeKeyname( TQString& ); - }; - - /** - * Represents a key press. - * @see KKey - */ - struct KDECORE_EXPORT Key - { - /// Code for native Keys in Qt - enum { CODE_FOR_QT = 256 }; - - /// The code of the key - uint m_code; - - /// The modifiers of the key - uint m_mod; - - /// The symbol of the key - uint m_sym; - - /** - * Initializes the key with a KKey. - * @param key the key to get the data from - * @param bQt true to take the Qt keycode, false - * for the native key code - * @see Qt::Key - * @see KKeyNative - */ - bool init( const KKey& key, bool bQt ); - - /** - * Checks whether the key code is a native code. - * @return true if native code of the window system, - * false if it is a Qt keycode - * @see Qt::Key - * @see KKeyNative - */ - bool isNative() const { return m_code != CODE_FOR_QT; } - - /** - * Returns the code of the key. - * @return the code of the key - */ - uint code() const { return m_code; } - - /** - * Returns the modifiers of the key. - * @return the modifiers of the key - */ - uint mod() const { return m_mod; } - - /** - * Returns the symbol of the key. - * @return the symbol of the key - */ - uint sym() const { return m_sym; } - - /** - * Returns the qt key code. - * @return the qt key code - */ - int keyCodeQt() const { return (int) m_sym; } - - /** - * Sets the qt key code. - * @param keyQt the qt key code - */ - void setKeycodeQt( int keyQt ) - { m_code = CODE_FOR_QT; m_sym = keyQt; } - - /** - * Initializes this key with a KKeyNative. - * @return this key - */ - Key& operator =( const KKeyNative& key ); - - /** - * Compares this key with the given Key object. Returns a - * negative number if the given Key is larger, 0 if they - * are equal and a positive number this Key is larger. The - * returned value is the difference between the symbol, modifier - * or code, whatever is non-zero first. - * - * @param key the key to compare with this key - * @return a negative number if the given Key is larger, 0 if - * they are equal and a positive number this Key is larger - */ - int compare( const Key& key ) const; - - /** - * Compares the symbol, modifiers and code of both keys. - * @see compare() - */ - bool operator ==( const Key& b ) const - { return compare( b ) == 0; } - - /** - * Compares the symbol, modifiers and code of both keys. - * @see compare() - */ - bool operator <( const Key& b ) const - { return compare( b ) < 0; } - - /** - * Converts this Key to a KKey. - * @return the KKey - */ - KKey key() const; - }; - - /** - * TODO: please document this class - */ - struct KDECORE_EXPORT Variations - { - enum { MAX_VARIATIONS = 4 }; - - Key m_rgkey[MAX_VARIATIONS]; - uint m_nVariations; - - Variations() { m_nVariations = 0; } - - void init( const KKey&, bool bQt ); - - uint count() const { return m_nVariations; } - const Key& key( uint i ) const { return m_rgkey[i]; } - }; - - /// TODO: please document - KDECORE_EXPORT bool initializeMods(); - - /** - * Returns the equivalent X modifier mask of the given modifier flag. - * @param modFlag the generic flags to check - * @return the window system specific flags - */ - KDECORE_EXPORT uint modX( KKey::ModFlag modFlag ); - - /** - * Returns true if the current keyboard layout supports the Win key. - * Specifically, whether the Super or Meta keys are assigned to an X modifier. - * @return true if the keyboard has a Win key - * @see modXWin() - */ - KDECORE_EXPORT bool keyboardHasWinKey(); - - /** - * Returns the X11 Shift modifier mask/flag. - * @return the X11 Shift modifier mask/flag. - * @see accelModMaskX() - */ - KDECORE_EXPORT uint modXShift(); - - /** - * Returns the X11 Lock modifier mask/flag. - * @return the X11 Lock modifier mask/flag. - * @see accelModMaskX() - */ - KDECORE_EXPORT uint modXLock(); - - /** - * Returns the X11 Ctrl modifier mask/flag. - * @return the X11 Ctrl modifier mask/flag. - * @see accelModMaskX() - */ - KDECORE_EXPORT uint modXCtrl(); - - /** - * Returns the X11 Alt (Mod1) modifier mask/flag. - * @return the X11 Alt (Mod1) modifier mask/flag. - * @see accelModMaskX() - */ - KDECORE_EXPORT uint modXAlt(); - - /** - * Returns the X11 NumLock modifier mask/flag. - * @return the X11 NumLock modifier mask/flag. - * @see accelModMaskX() - */ - KDECORE_EXPORT uint modXNumLock(); - - /** - * Returns the X11 Win (Mod3) modifier mask/flag. - * @return the X11 Win (Mod3) modifier mask/flag. - * @see keyboardHasWinKey() - * @see accelModMaskX() - */ - KDECORE_EXPORT uint modXWin(); - - /** - * Returns the X11 ScrollLock modifier mask/flag. - * @return the X11 ScrollLock modifier mask/flag. - * @see accelModMaskX() - */ - KDECORE_EXPORT uint modXScrollLock(); - - /** - * Returns the X11 Mode_switch modifier mask/flag. - * @return the X11 Mode_switch modifier mask/flag. - * @see accelModMaskX() - * @since 3.5 - */ - KDECORE_EXPORT uint modXModeSwitch(); - - /** - * Returns bitwise OR'ed mask containing Shift, Ctrl, Alt, and - * Win (if available). - * @see modXShift() - * @see modXLock() - * @see modXCtrl() - * @see modXAlt() - * @see modXNumLock() - * @see modXWin() - * @see modXScrollLock() - */ - KDECORE_EXPORT uint accelModMaskX(); - - /** - * Extracts the symbol from the given Qt key and - * converts it to a symbol. - * @param keyQt the qt key code - * @param sym if successful, the symbol will be written here - * @return true if successful, false otherwise - * @see Qt::Key - * @see Sym - */ - KDECORE_EXPORT bool keyQtToSym( int keyQt, uint& sym ); - - /** - * Extracts the modifiers from the given Qt key and - * converts them in a mask of ORed KKey::ModFlag modifiers. - * @param keyQt the qt key code - * @param mod if successful, the modifiers will be written here - * @return true if successful, false otherwise - * @see Qt::Key - */ - KDECORE_EXPORT bool keyQtToMod( int keyQt, uint& mod ); - - /** - * Converts the given symbol to a Qt key code. - * @param sym the symbol - * @param keyQt if successful, the qt key code will be written here - * @return true if successful, false otherwise - * @see Qt::Key - * @see Sym - */ - KDECORE_EXPORT bool symToKeyQt( uint sym, int& keyQt ); - - /** - * Converts the mask of ORed KKey::ModFlag modifiers to - * a mask of ORed Qt key code modifiers. - * @param mod the mask of KKey::ModFlag modifiers - * @param modQt the mask of Qt key code modifiers will be written here, - * if successful - * @return true if successful, false otherwise - * @see Qt::Key - * @see KKey - */ - KDECORE_EXPORT bool modToModQt( uint mod, int& modQt ); - - /** - * Converts the mask of ORed KKey::ModFlag modifiers to - * a mask of ORed X11 modifiers. - * @param mod the mask of KKey::ModFlag modifiers - * @param modX the mask of X11 modifiers will be written here, - * if successful - * @return true if successful, false otherwise - * @see KKey - */ - KDECORE_EXPORT bool modToModX( uint mod, uint& modX ); - - /** - * Converts the mask of ORed X11 modifiers to - * a mask of ORed Qt key code modifiers. - * @param modX the mask of X11 modifiers - * @param modQt the mask of Qt key code modifiers will be written here - * if successful - * @return true if successful, false otherwise - * @see Qt::Key - */ - //wrapped for win32 - KDECORE_EXPORT bool modXToModQt( uint modX, int& modQt ); - - /** - * Converts the Qt-compatible button state to x11 modifier. - */ - KDECORE_EXPORT int qtButtonStateToMod( Qt::ButtonState s ); - - /** - * Converts the mask of ORed X11 modifiers to - * a mask of ORed KKey::ModFlag modifiers. - * @param modX the mask of X11 modifiers - * @param mod the mask of KKey::ModFlag modifiers will be written here, - * if successful - * @return true if successful, false otherwise - * @see KKey - */ - KDECORE_EXPORT bool modXToMod( uint modX, uint& mod ); - - /** - * Converts a X11 key code and a mask of ORed X11 modifiers - * into a X11 symbol. - * converts it to a symbol. - * @param codeX the X11 key code - * @param modX the mask of ORed X11 modifiers - * @param symX if successful, the X11 symbol will be written here - * @return true if successful, false otherwise - * @see Qt::Key - * @see Sym - */ - KDECORE_EXPORT bool codeXToSym( uchar codeX, uint modX, uint& symX ); - - /** - * @internal - */ - KDECORE_EXPORT TQString modToStringInternal( uint mod ); - - /** - * Converts the mask of ORed KKey::ModFlag modifiers to a - * user-readable string. - * @param mod the mask of ORed KKey::ModFlag modifiers - * @return the user-readable string - */ - KDECORE_EXPORT TQString modToStringUser( uint mod ); - - /** - * Converts the modifier given as user-readable string - * to KKey::ModFlag modifier, or 0. - * @internal - * @since 3.5 - */ - KDECORE_EXPORT uint stringUserToMod( const TQString& mod ); - - /** - * @internal - * Unimplemented? - */ - KDECORE_EXPORT bool stringToSymMod( const TQString&, uint& sym, uint& mod ); - - /** - * @internal - * Unimplemented? - */ - KDECORE_EXPORT void keyQtToKeyX( uint keyCombQt, unsigned char *pKeyCodeX, uint *pKeySymX, uint *pKeyModX ); -} - -#endif // !_KKEYSERVER_X11_H diff --git a/python/pykde/extra/kde352/konsole_part.h b/python/pykde/extra/kde352/konsole_part.h deleted file mode 100644 index d526c1a6..00000000 --- a/python/pykde/extra/kde352/konsole_part.h +++ /dev/null @@ -1,241 +0,0 @@ -/* -*- C++ -*- - This file is part of the KDE system - Copyright (C) 1999,2000 Boloni Laszlo - - This program is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. - */ - -#ifndef KONSOLE_PART_H -#define KONSOLE_PART_H - -#include -#include - - -#include - -#include - -//#include "schema.h" -//#include "session.h" - -class KInstance; -class konsoleBrowserExtension; -class TQPushButton; -class TQSpinBox; -class KPopupMenu; -class KActionMenu; -class TQCheckBox; -class KRootPixmap; -class KToggleAction; -class KSelectAction; - -namespace KParts { class GUIActivateEvent; } - -class konsoleFactory : public KParts::Factory -{ - Q_OBJECT -public: - konsoleFactory(); - virtual ~konsoleFactory(); - - virtual KParts::Part* createPartObject(TQWidget *parentWidget = 0, const char *widgetName = 0, - TQObject* parent = 0, const char* name = 0, - const char* classname = "KParts::Part", - const TQStringList &args = TQStringList()); - - static KInstance *instance(); - - private: - static KInstance *s_instance; - static KAboutData *s_aboutData; -}; - -////////////////////////////////////////////////////////////////////// - -class konsolePart: public KParts::ReadOnlyPart, public TerminalInterface, public ExtTerminalInterface -{ - Q_OBJECT - public: - konsolePart(TQWidget *parentWidget, const char *widgetName, TQObject * parent, const char *name, const char *classname = 0); - virtual ~konsolePart(); - -signals: - void processExited( KProcess * ); - void receivedData( const TQString& s ); - void forkedChild(); - protected: - virtual bool openURL( const KURL & url ); - virtual bool openFile() {return false;} // never used - virtual bool closeURL() {return true;} - virtual void guiActivateEvent( KParts::GUIActivateEvent * event ); - - protected slots: - void showShell(); - -// void doneSession(TESession*); - void sessionDestroyed(); -// void configureRequest(TEWidget*,int,int x,int y); -// void updateTitle(TESession*); - void enableMasterModeConnections(); - - private slots: - void emitOpenURLRequest(const TQString &url); - - void readProperties(); - void saveProperties(); - void applyProperties(); - void setSettingsMenuEnabled( bool ); - - void sendSignal(int n); - void closeCurrentSession(); - - void notifySize(int /*columns*/, int /*lines*/); - - void slotToggleFrame(); - void slotSelectScrollbar(); - void slotSelectFont(); - void schema_menu_check(); - void keytab_menu_activated(int item); - void updateSchemaMenu(); - void setSchema(int n); - void pixmap_menu_activated(int item); - void schema_menu_activated(int item); - void slotHistoryType(); - void slotSelectBell(); - void slotSelectLineSpacing(); - void slotBlinkingCursor(); - void slotUseKonsoleSettings(); - void slotWordSeps(); - void slotSetEncoding(); - void biggerFont(); - void smallerFont(); - - void autoShowShell(); - - private: - konsoleBrowserExtension *m_extension; - KURL currentURL; - - void makeGUI(); - void applySettingsToGUI(); - -// void setSchema(ColorSchema* s); - void updateKeytabMenu(); - - bool doOpenStream( const TQString& ); - bool doWriteStream( const TQByteArray& ); - bool doCloseStream(); - - TQWidget* parentWidget; -// TEWidget* te; -// TESession* se; - // ColorSchemaList* colors; - KRootPixmap* rootxpm; - - KActionCollection* actions; - KActionCollection* settingsActions; - - KToggleAction* blinkingCursor; - KToggleAction* showFrame; - KToggleAction* m_useKonsoleSettings; - - KSelectAction* selectBell; - KSelectAction* selectLineSpacing; - KSelectAction* selectScrollbar; - KSelectAction* selectSetEncoding; - - KActionMenu* m_fontsizes; - - KPopupMenu* m_keytab; - KPopupMenu* m_schema; - KPopupMenu* m_signals; - KPopupMenu* m_options; - KPopupMenu* m_popupMenu; - - TQFont defaultFont; - - TQString pmPath; // pixmap path - TQString s_schema; - TQString s_kconfigSchema; - TQString s_word_seps; // characters that are considered part of a word - - bool b_framevis:1; - bool b_histEnabled:1; - bool b_useKonsoleSettings:1; - bool b_autoDestroy:1; - bool b_autoStartShell:1; - - int curr_schema; // current schema no - int n_bell; - int n_keytab; - int n_render; - int n_scroll; - unsigned m_histSize; - bool m_runningShell; - bool m_streamEnabled; - int n_encoding; - -public: - // these are the implementations for the TermEmuInterface - // functions... - void startProgram( const TQString& program, - const TQStrList& args ); - void newSession(); - void showShellInDir( const TQString& dir ); - void sendInput( const TQString& text ); - void setAutoDestroy( bool ); - void setAutoStartShell( bool ); -}; - -////////////////////////////////////////////////////////////////////// - -/*class HistoryTypeDialog : public KDialogBase -{ - Q_OBJECT -public: - HistoryTypeDialog(const HistoryType& histType, - unsigned int histSize, - TQWidget *parent); - -public slots: - void slotDefault(); - void slotSetUnlimited(); - void slotHistEnable(bool); - - unsigned int nbLines() const; - bool isOn() const; - -protected: - TQCheckBox* m_btnEnable; - TQSpinBox* m_size; - TQPushButton* m_setUnlimited; -};*/ - -////////////////////////////////////////////////////////////////////// - -class konsoleBrowserExtension : public KParts::BrowserExtension -{ - Q_OBJECT - friend class konsolePart; - public: - konsoleBrowserExtension(konsolePart *parent); - virtual ~konsoleBrowserExtension(); - - void emitOpenURLRequest(const KURL &url); -}; - -#endif diff --git a/python/pykde/extra/kde352/kpanelmenu.h b/python/pykde/extra/kde352/kpanelmenu.h deleted file mode 100644 index de0b065e..00000000 --- a/python/pykde/extra/kde352/kpanelmenu.h +++ /dev/null @@ -1,182 +0,0 @@ -/***************************************************************** - -Copyright (c) 1996-2000 the kicker authors. See file AUTHORS. - (c) 2001 Michael Goffioul - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN -AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - -******************************************************************/ - -#ifndef __KPANELMENU_H__ -#define __KPANELMENU_H__ - -#include -#include -#include - -class KPanelMenuPrivate; - -/** - * @short Base class to build dynamically loaded menu entries for the K-menu, or the panel. - * - * This class allows to build menu entries that will be dynamically added either to - * the K-menu, or to the panel as a normal button. These dynamic menus are located - * in shared libraries that will be loaded at runtime by Kicker (the %KDE panel). - * - * To build such a menu, you have to inherit this class and implement the pure virtual - * functions #initialize() and slotExec(). You also have to provide a factory - * object in your library, see KLibFactory. This factory is only used to construct - * the menu object. - * - * Finally, you also have to provide a desktop file describing your dynamic menu. The - * relevant entries are: Name, Comment, Icon and X-KDE-Library (which contains the - * library name without any extension). This desktop file has to be installed in - * $KDEDIR/share/apps/kicker/menuext/. - * - * @author The kicker maintainers, Michael Goffioul - */ -class KDEUI_EXPORT KPanelMenu : public KPopupMenu -{ - Q_OBJECT - -public: - /** - * Construct a KPanelMenu object. This is the normal constructor to use when - * building extrernal menu entries. - */ - KPanelMenu(TQWidget *parent=0, const char *name=0); - /** - * Constructor used internally by Kicker. You don't really want to use it. - * @param startDir a directory to associate with this menu - * @param parent parent object - * @param name name of the object - * @see path(), setPath() - */ - KPanelMenu(const TQString &startDir, TQWidget *parent=0, const char *name=0); - /** - * Destructor. - */ - virtual ~KPanelMenu(); - - /** - * Get the directory path associated with this menu, or TQString::null if - * there's no such associated path. - * @return the associated directory path - * @see setPath() - */ - const TQString& path() const; - /** - * Set a directory path to be associated with this menu. - * @param p the directory path - * @see path() - */ - void setPath(const TQString &p); - /** - * Tell if the menu has been initialized, that is it already contains items. - * This is useful when you need to know if you have to clear the menu, or to - * fill it. - * @return the initial state - * @see setInitialized(), initialize() - */ - bool initialized() const; - /** - * Set the initial state. Set it to true when you menu is filled with the items - * you want. - * @param on the initial state - * @see initialized(), initialize() - */ - void setInitialized(bool on); - - /** - * Disable the automatic clearing of the menu. Kicker uses a cache system for - * its menus. After a specific configurable delay, the menu will be cleared. - * Use this function if you want to disable kicker's cache system, and avoid - * the clearing of your menu. - */ - void disableAutoClear(); - -public slots: - /** - * Reinitialize the menu: the menu is first cleared, the initial state is set - * to false, and finally #initialize() is called. Use this if you want to - * refill your menu immediately. - */ - void reinitialize(); - /** - * Deinitialize the menu: the menu is cleared and the initialized state is set to - * false. #initialize() is NOT called. It will be called before the menu is - * next shown, however. Use this slot if you want a delayed reinitialization. - * @since 3.1 - */ - void deinitialize(); - -protected slots: - /** - * This slot is called just before the menu is shown. This allows your menu - * to update itself if needed. However you should instead re-implement - * #initialize to provide this feature. This function is responsible for - * the cache system handling, so if you re-implement it, you should call - * the base function also. Calls #initialize(). - * @see disableAutoClear() - */ - virtual void slotAboutToShow(); - /** - * This is slot is called when an item from the menu has been selected. Your - * applet is then supposed to perform some action. You must re-implement this - * function. - * @param id the ID associated with the selected item - */ - virtual void slotExec(int id) = 0; - /** - * This slots is called to initialize the menu. It is called automatically by - * slotAboutToShow(). By re-implementing this functions, you can reconstruct - * the menu before it is being shown. At the end of this function, you should - * call setInitialize() with true to tell the system that the menu is OK. - * You applet must re-implement this function. - * @see slotAboutToShow(), initialized(), setInitialized() - */ - virtual void initialize() = 0; - /** - * Clears the menu, and update the initial state accordingly. - * @see initialized() - */ - void slotClear(); - -protected: - /** - * Re-implemented for internal reasons. - */ - virtual void hideEvent(TQHideEvent *ev); - /** - * For internal use only. Used by constructors. - */ - void init(const TQString& path = TQString::null); - -protected: - virtual void virtual_hook( int id, void* data ); -private: - void internalInitialize(); - KPanelMenuPrivate *d; -}; - -#define K_EXPORT_KICKER_MENUEXT( libname, classname ) \ - K_EXPORT_COMPONENT_FACTORY( \ - kickermenu_##libname, \ - KGenericFactory("libkickermenu_" #libname) ) - -#endif diff --git a/python/pykde/extra/kde352/ksharedptr.h b/python/pykde/extra/kde352/ksharedptr.h deleted file mode 100644 index ada08413..00000000 --- a/python/pykde/extra/kde352/ksharedptr.h +++ /dev/null @@ -1,175 +0,0 @@ -/* This file is part of the KDE libraries - Copyright (c) 1999 Waldo Bastian - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License version 2 as published by the Free Software Foundation. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. -*/ -#ifndef KSharedPTR_H -#define KSharedPTR_H - -#include "kdelibs_export.h" - -/** - * Reference counting for shared objects. If you derive your object - * from this class, then you may use it in conjunction with - * KSharedPtr to control the lifetime of your object. - * - * Specifically, all classes that derive from KShared have an internal - * counter keeping track of how many other objects have a reference to - * their object. If used with KSharedPtr, then your object will - * not be deleted until all references to the object have been - * released. - * - * You should probably not ever use any of the methods in this class - * directly -- let the KSharedPtr take care of that. Just derive - * your class from KShared and forget about it. - * - * @author Waldo Bastian - */ -class KDECORE_EXPORT KShared { -public: - /** - * Standard constructor. This will initialize the reference count - * on this object to 0. - */ - KShared() : count(0) { } - - /** - * Copy constructor. This will @em not actually copy the objects - * but it will initialize the reference count on this object to 0. - */ - KShared( const KShared & ) : count(0) { } - - /** - * Overloaded assignment operator. - */ - KShared &operator=(const KShared & ) { return *this; } - - /** - * Increases the reference count by one. - */ - void _KShared_ref() const { count++; } - - /** - * Releases a reference (decreases the reference count by one). If - * the count goes to 0, this object will delete itself. - */ - void _KShared_unref() const { if (!--count) delete this; } - - /** - * Return the current number of references held. - * - * @return Number of references - */ - int _KShared_count() const { return count; } - -protected: - virtual ~KShared() { } -private: - mutable int count; -}; - -/** - * Can be used to control the lifetime of an object that has derived - * KShared. As long a someone holds a KSharedPtr on some KShared - * object it won't become deleted but is deleted once its reference - * count is 0. This struct emulates C++ pointers virtually perfectly. - * So just use it like a simple C++ pointer. - * - * KShared and KSharedPtr are preferred over QShared / QSharedPtr - * since they are more safe. - * - * WARNING: Please note that this class template provides an implicit - * conversion to T*. Do *not* change this pointer or the pointee (don't - * call delete on it, for instance) behind KSharedPtr's back. - * - * @author Waldo Bastian - */ -template< class T > -class KSharedPtr -{ -public: -/** - * Creates a null pointer. - */ - KSharedPtr() - : ptr(0) { } - /** - * Creates a new pointer. - * @param t the pointer - */ - KSharedPtr( T* t ) - : ptr(t) { if ( ptr ) ptr->_KShared_ref(); } - - /** - * Copies a pointer. - * @param p the pointer to copy - */ - KSharedPtr( const KSharedPtr& p ) - : ptr(p.ptr) { if ( ptr ) ptr->_KShared_ref(); } - - /** - * Unreferences the object that this pointer points to. If it was - * the last reference, the object will be deleted. - */ - ~KSharedPtr() { if ( ptr ) ptr->_KShared_unref(); } - - KSharedPtr& operator= ( const KSharedPtr& p ) { - if ( ptr == p.ptr ) return *this; - if ( ptr ) ptr->_KShared_unref(); - ptr = p.ptr; - if ( ptr ) ptr->_KShared_ref(); - return *this; - } - KSharedPtr& operator= ( T* p ) { - if ( ptr == p ) return *this; - if ( ptr ) ptr->_KShared_unref(); - ptr = p; - if ( ptr ) ptr->_KShared_ref(); - return *this; - } - bool operator== ( const KSharedPtr& p ) const { return ( ptr == p.ptr ); } - bool operator!= ( const KSharedPtr& p ) const { return ( ptr != p.ptr ); } - bool operator== ( const T* p ) const { return ( ptr == p ); } - bool operator!= ( const T* p ) const { return ( ptr != p ); } - bool operator!() const { return ( ptr == 0 ); } - operator T*() const { return ptr; } - - /** - * Returns the pointer. - * @return the pointer - */ - T* data() { return ptr; } - - /** - * Returns the pointer. - * @return the pointer - */ - const T* data() const { return ptr; } - - const T& operator*() const { return *ptr; } - T& operator*() { return *ptr; } - const T* operator->() const { return ptr; } - T* operator->() { return ptr; } - - /** - * Returns the number of references. - * @return the number of references - */ - int count() const { return ptr->_KShared_count(); } // for debugging purposes -private: - T* ptr; -}; - -#endif diff --git a/python/pykde/extra/kde352/ksycocafactory.h b/python/pykde/extra/kde352/ksycocafactory.h deleted file mode 100644 index 536da286..00000000 --- a/python/pykde/extra/kde352/ksycocafactory.h +++ /dev/null @@ -1,143 +0,0 @@ -/* This file is part of the KDE libraries - * Copyright (C) 1999 Waldo Bastian - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License version 2 as published by the Free Software Foundation; - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public License - * along with this library; see the file COPYING.LIB. If not, write to - * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - * Boston, MA 02110-1301, USA. - **/ - -#ifndef __ksycocafactory_h__ -#define __ksycocafactory_h__ - -#include "ksycocatype.h" -#include "ksycocaentry.h" - -#include -#include -class KSycoca; -class TQStringList; -class TQString; -class KSycocaDict; -class KSycocaResourceList; - -typedef TQDict KSycocaEntryDict; - -/** - * @internal - * Base class for sycoca factories - */ -class KDECORE_EXPORT KSycocaFactory -{ -public: - virtual KSycocaFactoryId factoryId() const = 0; - -protected: // virtual class - /** - * Create a factory which can be used to lookup from/create a database - * (depending on KSycoca::isBuilding()) - */ - KSycocaFactory( KSycocaFactoryId factory_id ); - -public: - virtual ~KSycocaFactory(); - - /** - * @return the position of the factory in the sycoca file - */ - int offset() { return mOffset; } - - /** - * @return the dict, for special use by KBuildSycoca - */ - KSycocaEntryDict * entryDict() { return m_entryDict; } - - /** - * Construct an entry from a config file. - * To be implemented in the real factories. - */ - virtual KSycocaEntry *createEntry(const TQString &file, const char *resource) = 0; - - /** - * Add an entry - */ - virtual void addEntry(KSycocaEntry *newEntry, const char *resource); - - /** - * Remove an entry - * Not very fast, use with care. O(N) - */ - void removeEntry(KSycocaEntry *newEntry); - - /** - * Read an entry from the database - */ - virtual KSycocaEntry *createEntry(int offset)=0; - - /** - * Get a list of all entries from the database. - */ - KSycocaEntry::List allEntries(); - - /** - * Saves all entries it maintains as well as index files - * for these entries to the stream 'str'. - * - * Also sets mOffset to the starting position. - * - * The stream is positioned at the end of the last index. - * - * Don't forget to call the parent first when you override - * this function. - */ - virtual void save(TQDataStream &str); - - /** - * Writes out a header to the stream 'str'. - * The baseclass positions the stream correctly. - * - * Don't forget to call the parent first when you override - * this function. - */ - virtual void saveHeader(TQDataStream &str); - - /** - * @return the resources for which this factory is responsible. - */ - virtual const KSycocaResourceList * resourceList() const { return m_resourceList; } - -private: - int mOffset; - -protected: - int m_sycocaDictOffset; - int m_beginEntryOffset; - int m_endEntryOffset; - TQDataStream *m_str; - - KSycocaResourceList *m_resourceList; - KSycocaEntryDict *m_entryDict; - KSycocaDict *m_sycocaDict; -protected: - virtual void virtual_hook( int id, void* data ); -}; - -/** This, instead of a typedef, allows to declare "class ..." in header files - * @internal - */ -class KDECORE_EXPORT KSycocaFactoryList : public TQPtrList -{ -public: - KSycocaFactoryList() { } -}; - -#endif diff --git a/python/pykde/extra/kde352/ktoolbarbutton.h b/python/pykde/extra/kde352/ktoolbarbutton.h deleted file mode 100644 index eab46983..00000000 --- a/python/pykde/extra/kde352/ktoolbarbutton.h +++ /dev/null @@ -1,330 +0,0 @@ -/* This file is part of the KDE libraries - Copyright (C) 1997, 1998 Stephan Kulow (coolo@kde.org) - (C) 1997, 1998 Sven Radej (radej@kde.org) - (C) 1997, 1998 Mark Donohoe (donohoe@kde.org) - (C) 1997, 1998 Matthias Ettrich (ettrich@kde.org) - (C) 2000 Kurt Granroth (granroth@kde.org) - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License version 2 as published by the Free Software Foundation. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. -*/ - -#ifndef _KTOOLBARBUTTON_H -#define _KTOOLBARBUTTON_H - -#include -#include -#include -#include -#include - -class KToolBar; -class KToolBarButtonPrivate; -class KInstance; -class TQEvent; -class TQPopupMenu; -class TQPainter; - -/** - * A toolbar button. This is used internally by KToolBar, use the - * KToolBar methods instead. - * @internal - */ -class KDEUI_EXPORT KToolBarButton : public QToolButton -{ - Q_OBJECT - -public: - /** - * Construct a button with an icon loaded by the button itself. - * This will trust the button to load the correct icon with the - * correct size. - * - * @param icon Name of icon to load (may be absolute or relative) - * @param id Id of this button - * @param parent This button's parent - * @param name This button's internal name - * @param txt This button's text (in a tooltip or otherwise) - * @param _instance the instance to use for this button - */ - KToolBarButton(const TQString& icon, int id, TQWidget *parent, - const char *name=0L, const TQString &txt=TQString::null, - KInstance *_instance = KGlobal::instance()); - - /** - * Construct a button with an existing pixmap. It is not - * recommended that you use this as the internal icon loading code - * will almost always get it "right". - * - * @param pixmap Name of icon to load (may be absolute or relative) - * @param id Id of this button - * @param parent This button's parent - * @param name This button's internal name - * @param txt This button's text (in a tooltip or otherwise) - */ - KToolBarButton(const TQPixmap& pixmap, int id, TQWidget *parent, - const char *name=0L, const TQString &txt=TQString::null); - - /** - * Construct a separator button - * - * @param parent This button's parent - * @param name This button's internal name - */ - KToolBarButton(TQWidget *parent=0L, const char *name=0L); - - /** - * Standard destructor - */ - ~KToolBarButton(); - -#ifndef KDE_NO_COMPAT - /** - * @deprecated - * Set the pixmap directly for this button. This pixmap should be - * the active one... the dimmed and disabled pixmaps are constructed - * based on this one. However, don't use this function unless you - * are positive that you don't want to use setIcon. - * - * @param pixmap The active pixmap - */ - // this one is from TQButton, so #ifdef-ing it out doesn't break BC - virtual void setPixmap(const TQPixmap &pixmap) KDE_DEPRECATED; - - /** - * @deprecated - * Force the button to use this pixmap as the default one rather - * then generating it using effects. - * - * @param pixmap The pixmap to use as the default (normal) one - */ - void setDefaultPixmap(const TQPixmap& pixmap) KDE_DEPRECATED; - - /** - * @deprecated - * Force the button to use this pixmap when disabled one rather then - * generating it using effects. - * - * @param pixmap The pixmap to use when disabled - */ - void setDisabledPixmap(const TQPixmap& pixmap) KDE_DEPRECATED; -#endif - - /** - * Set the text for this button. The text will be either used as a - * tooltip (IconOnly) or will be along side the icon - * - * @param text The button (or tooltip) text - */ - virtual void setText(const TQString &text); - - /** - * Set the icon for this button. The icon will be loaded internally - * with the correct size. This function is preferred over setIconSet - * - * @param icon The name of the icon - */ - virtual void setIcon(const TQString &icon); - - /// @since 3.1 - virtual void setIcon( const TQPixmap &pixmap ) - { TQToolButton::setIcon( pixmap ); } - - /** - * Set the pixmaps for this toolbar button from a TQIconSet. - * If you call this you don't need to call any of the other methods - * that set icons or pixmaps. - * @param iconset The iconset to use - */ - virtual void setIconSet( const TQIconSet &iconset ); - -#ifndef KDE_NO_COMPAT - /** - * @deprecated - * Set the active icon for this button. The pixmap itself is loaded - * internally based on the icon size... .. the disabled and default - * pixmaps, however will only be constructed if generate is - * true. This function is preferred over setPixmap - * - * @param icon The name of the active icon - * @param generate If true, then the other icons are automagically - * generated from this one - */ - KDE_DEPRECATED void setIcon(const TQString &icon, bool generate ) { Q_UNUSED(generate); setIcon( icon ); } - - /** - * @deprecated - * Force the button to use this icon as the default one rather - * then generating it using effects. - * - * @param icon The icon to use as the default (normal) one - */ - void setDefaultIcon(const TQString& icon) KDE_DEPRECATED; - - /** - * @deprecated - * Force the button to use this icon when disabled one rather then - * generating it using effects. - * - * @param icon The icon to use when disabled - */ - void setDisabledIcon(const TQString& icon) KDE_DEPRECATED; -#endif - - /** - * Turn this button on or off - * - * @param flag true or false - */ - void on(bool flag = true); - - /** - * Toggle this button - */ - void toggle(); - - /** - * Turn this button into a toggle button or disable the toggle - * aspects of it. This does not toggle the button itself. - * Use toggle() for that. - * - * @param toggle true or false - */ - void setToggle(bool toggle = true); - - /** - * Return a pointer to this button's popup menu (if it exists) - */ - TQPopupMenu *popup(); - - /** - * Returns the button's id. - * @since 3.2 - */ - int id() const; - - /** - * Give this button a popup menu. There will not be a delay when - * you press the button. Use setDelayedPopup if you want that - * behavior. - * - * @param p The new popup menu - * @param unused Has no effect - ignore it. - */ - void setPopup (TQPopupMenu *p, bool unused = false); - - /** - * Gives this button a delayed popup menu. - * - * This function allows you to add a delayed popup menu to the button. - * The popup menu is then only displayed when the button is pressed and - * held down for about half a second. - * - * @param p the new popup menu - * @param unused Has no effect - ignore it. - */ - void setDelayedPopup(TQPopupMenu *p, bool unused = false); - - /** - * Turn this button into a radio button - * - * @param f true or false - */ - void setRadio(bool f = true); - - /** - * Toolbar buttons naturally will assume the global styles - * concerning icons, icons sizes, etc. You can use this function to - * explicitly turn this off, if you like. - * - * @param no_style Will disable styles if true - */ - void setNoStyle(bool no_style = true); - -signals: - /** - * Emitted when the toolbar button is clicked (with LMB or MMB) - */ - void clicked(int); - /** - * Emitted when the toolbar button is clicked (with any mouse button) - * @param state makes it possible to find out which button was pressed, - * and whether any keyboard modifiers were held. - * @since 3.4 - */ - void buttonClicked(int, Qt::ButtonState state); - void doubleClicked(int); - void pressed(int); - void released(int); - void toggled(int); - void highlighted(int, bool); - -public slots: - /** - * This slot should be called whenever the toolbar mode has - * potentially changed. This includes such events as text changing, - * orientation changing, etc. - */ - void modeChange(); - virtual void setTextLabel(const TQString&, bool tipToo); - -protected: - bool event(TQEvent *e); - void paletteChange(const TQPalette &); - void leaveEvent(TQEvent *e); - void enterEvent(TQEvent *e); - void drawButton(TQPainter *p); - bool eventFilter (TQObject *o, TQEvent *e); - /// @since 3.4 - void mousePressEvent( TQMouseEvent * ); - /// @since 3.4 - void mouseReleaseEvent( TQMouseEvent * ); - void showMenu(); - TQSize sizeHint() const; - TQSize minimumSizeHint() const; - TQSize minimumSize() const; - - /// @since 3.1 - bool isRaised() const; - /// @since 3.1 - bool isActive() const; - /// @since 3.1 - int iconTextMode() const; - -protected slots: - void slotClicked(); - void slotPressed(); - void slotReleased(); - void slotToggled(); - void slotDelayTimeout(); - -protected: - virtual void virtual_hook( int id, void* data ); -private: - KToolBarButtonPrivate *d; -}; - -/** -* List of KToolBarButton objects. -* @internal -* @version $Id: ktoolbarbutton.h 465272 2005-09-29 09:47:40Z mueller $ -*/ -class KDEUI_EXPORT KToolBarButtonList : public TQIntDict -{ -public: - KToolBarButtonList(); - ~KToolBarButtonList() {} -}; - -#endif diff --git a/python/pykde/extra/kde352/kurifilter.h b/python/pykde/extra/kde352/kurifilter.h deleted file mode 100644 index 47332947..00000000 --- a/python/pykde/extra/kde352/kurifilter.h +++ /dev/null @@ -1,647 +0,0 @@ -/* - * This file is part of the KDE libraries - * Copyright (C) 2000-2001,2003 Dawit Alemayehu - * - * Original author - * Copyright (C) 2000 Yves Arrouye - * - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public License - * along with this library; see the file COPYING.LIB. If not, write to - * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - * Boston, MA 02110-1301, USA. - **/ - -#ifndef __kurifilter_h__ -#define __kurifilter_h__ - -#include -#include -#include - -#include - -#ifdef Q_OS_WIN -#undef ERROR -#endif - -class KURIFilterPrivate; -class KURIFilterDataPrivate; - -class KCModule; - -/** -* A basic message object used for exchanging filtering -* information between the filter plugins and the application -* requesting the filtering service. -* -* Use this object if you require a more detailed information -* about the URI you want to filter. Any application can create -* an instance of this class and send it to KURIFilter to -* have the plugins fill out all possible information about the -* URI. -* -* \b Example -* -* \code -* TQString text = "kde.org"; -* KURIFilterData d = text; -* bool filtered = KURIFilter::self()->filter( d ); -* cout << "URL: " << text.latin1() << endl -* << "Filtered URL: " << d.uri().url().latin1() << endl -* << "URI Type: " << d.uriType() << endl -* << "Was Filtered: " << filtered << endl; -* \endcode -* -* The above code should yield the following output: -* \code -* URI: kde.org -* Filtered URI: http://kde.org -* URI Type: 0 <== means NET_PROTOCOL -* Was Filtered: 1 <== means the URL was successfully filtered -* \endcode -* -* @short A message object for exchanging filtering URI info. -* @author Dawit Alemayehu -*/ - -class KIO_EXPORT KURIFilterData -{ -friend class KURIFilterPlugin; - -public: - /** - * Describes the type of the URI that was filtered. - * Here is a brief description of the types: - * - * @li NET_PROTOCOL - Any network protocol: http, ftp, nttp, pop3, etc... - * @li LOCAL_FILE - A local file whose executable flag is not set - * @li LOCAL_DIR - A local directory - * @li EXECUTABLE - A local file whose executable flag is set - * @li HELP - A man or info page - * @li SHELL - A shell executable (ex: echo "Test..." >> ~/testfile) - * @li BLOCKED - A URI that should be blocked/filtered (ex: ad filtering) - * @li ERROR - An incorrect URI (ex: "~johndoe" when user johndoe - * does not exist in that system ) - * @li UNKNOWN - A URI that is not identified. Default value when - * a KURIFilterData is first created. - */ - enum URITypes { NET_PROTOCOL=0, LOCAL_FILE, LOCAL_DIR, EXECUTABLE, HELP, SHELL, BLOCKED, ERROR, UNKNOWN }; - - /** - * Default constructor. - * - * Creates a URIFilterData object. - */ - KURIFilterData() { init(); } - - /** - * Creates a URIFilterData object from the given URL. - * - * @param url is the URL to be filtered. - */ - KURIFilterData( const KURL& url ) { init( url); } - - /** - * Creates a URIFilterData object from the given string. - * - * @param url is the string to be filtered. - */ - KURIFilterData( const TQString& url ) { init( url ); } - - /** - * Copy constructor. - * - * Creates a URIFilterData object from another - * URI filter data object. - * - * @param data the uri filter data to be copied. - */ - KURIFilterData( const KURIFilterData& data); - - /** - * Destructor. - */ - ~KURIFilterData(); - - /** - * This method has been deprecated and will always return - * true. You should instead use the result from the - * KURIFilter::filterURI() calls. - * - * @deprecated - */ - KDE_DEPRECATED bool hasBeenFiltered() const { return true; } - - /** - * Returns the filtered or the original URL. - * - * This function returns the filtered url if one - * of the plugins successfully filtered the original - * URL. Otherwise, it returns the original URL. - * See hasBeenFiltered() and - * - * @return the filtered or original url. - */ - KURL uri() const { return m_pURI; } - - /** - * Returns an error message. - * - * This functions returns the error message set - * by the plugin whenever the uri type is set to - * KURIFilterData::ERROR. Otherwise, it returns - * a TQString::null. - * - * @return the error message or a NULL when there is none. - */ - TQString errorMsg() const { return m_strErrMsg; } - - /** - * Returns the URI type. - * - * This method always returns KURIFilterData::UNKNOWN - * if the given URL was not filtered. - * @return the type of the URI - */ - URITypes uriType() const { return m_iType; } - - /** - * Sets the URL to be filtered. - * - * Use this function to set the string to be - * filtered when you construct an empty filter - * object. - * - * @param url the string to be filtered. - */ - void setData( const TQString& url ) { init( url ); } - - /** - * Same as above except the argument is a URL. - * - * Use this function to set the string to be - * filtered when you construct an empty filter - * object. - * - * @param url the URL to be filtered. - */ - void setData( const KURL& url ) { init( url ); } - - /** - * Sets the absolute path to be used whenever the supplied - * data is a relative local URL. - * - * NOTE: This function should only be used for local resources, - * i.e. the "file:/" protocol. It is useful for specifying the - * absolute path in cases where the actual URL might be relative. - * meta object. If deriving the path from a KURL, make sure you - * set the argument for this function to the result of calling - * path () instead of url (). - * - * @param abs_path the abolute path to the local resource. - * @return true if absolute path is successfully set. Otherwise, false. - */ - bool setAbsolutePath( const TQString& abs_path ); - - /** - * Returns the absolute path if one has already been set. - * @return the absolute path, or TQString::null - * @see hasAbsolutePath() - */ - TQString absolutePath() const; - - /** - * Checks whether the supplied data had an absolute path. - * @return true if the supplied data has an absolute path - * @see absolutePath() - */ - bool hasAbsolutePath() const; - - /** - * Returns the command line options and arguments for a - * local resource when present. - * - * @return options and arguments when present, otherwise TQString::null - */ - TQString argsAndOptions() const; - - /** - * Checks whether the current data is a local resource with - * command line options and arguments. - * @return true if the current data has command line options and arguments - */ - bool hasArgsAndOptions() const; - - /** - * Returns the name of the icon that matches - * the current filtered URL. - * - * NOTE that this function will return a NULL - * string by default and when no associated icon - * is found. - * - * @return the name of the icon associated with the resource, - * or TQString::null if not found - */ - TQString iconName(); - - /** - * Check whether the provided uri is executable or not. - * - * Setting this to false ensures that typing the name of - * an executable does not start that application. This is - * useful in the location bar of a browser. The default - * value is true. - * - * @since 3.2 - */ - void setCheckForExecutables (bool check); - - /** - * @return true if the filters should attempt to check whether the - * supplied uri is an executable. False otherwise. - * - * @since 3.2 - */ - bool checkForExecutables() const { return m_bCheckForExecutables; } - - /** - * @return the string as typed by the user, before any URL processing is done - * @since 3.2 - */ - TQString typedString() const; - - /** - * Overloaded assigenment operator. - * - * This function allows you to easily assign a KURL - * to a KURIFilterData object. - * - * @return an instance of a KURIFilterData object. - */ - KURIFilterData& operator=( const KURL& url ) { init( url ); return *this; } - - /** - * Overloaded assigenment operator. - * - * This function allows you to easily assign a QString - * to a KURIFilterData object. - * - * @return an instance of a KURIFilterData object. - */ - KURIFilterData& operator=( const TQString& url ) { init( url ); return *this; } - -protected: - - /** - * Initializes the KURIFilterData on construction. - * @param url the URL to initialize the object with - */ - void init( const KURL& url); - - /** - * Initializes the KURIFilterData on construction. - * @param url the URL to initialize the object with - */ - void init( const TQString& url = TQString::null ); - -private: - bool m_bCheckForExecutables; - bool m_bChanged; - - TQString m_strErrMsg; - TQString m_strIconName; - - KURL m_pURI; - URITypes m_iType; - KURIFilterDataPrivate *d; -}; - - -/** - * Base class for URI filter plugins. - * - * This class applies a single filter to a URI. All plugins designed - * to provide URI filtering service should inherit from this abstract - * class and provide a concrete implementation. - * - * All inheriting classes need to implement the pure virtual function - * filterURI. - * - * @short Abstract class for URI filter plugins. - */ -class KIO_EXPORT KURIFilterPlugin : public QObject -{ - Q_OBJECT - -public: - - /** - * Constructs a filter plugin with a given name and - * priority. - * - * @param parent the parent object, or 0 for no parent - * @param name the name of the plugin, or 0 for no name - * @param pri the priority of the plugin. - */ - KURIFilterPlugin( TQObject *parent = 0, const char *name = 0, double pri = 1.0 ); - - /** - * Returns the filter's name. - * - * @return A string naming the filter. - */ - virtual TQString name() const { return m_strName; } - - /** - * Returns the filter's priority. - * - * Each filter has an assigned priority, a float from 0 to 1. Filters - * with the lowest priority are first given a chance to filter a URI. - * - * @return The priority of the filter. - */ - virtual double priority() const { return m_dblPriority; } - - /** - * Filters a URI. - * - * @param data the URI data to be filtered. - * @return A boolean indicating whether the URI has been changed. - */ - virtual bool filterURI( KURIFilterData& data ) const = 0; - - /** - * Creates a configuration module for the filter. - * - * It is the responsibility of the caller to delete the module - * once it is not needed anymore. - * - * @return A configuration module, 0 if the filter isn't configurable. - */ - virtual KCModule *configModule( TQWidget*, const char* ) const { return 0; } - - /** - * Returns the name of the configuration module for the filter. - * - * @return the name of a configuration module or TQString::null if none. - */ - virtual TQString configName() const { return name(); } - -protected: - - /** - * Sets the the URL in @p data to @p uri. - */ - void setFilteredURI ( KURIFilterData& data, const KURL& uri ) const; - - /** - * Sets the error message in @p data to @p errormsg. - */ - void setErrorMsg ( KURIFilterData& data, const TQString& errmsg ) const { - data.m_strErrMsg = errmsg; - } - - /** - * Sets the URI type in @p data to @p type. - */ - void setURIType ( KURIFilterData& data, KURIFilterData::URITypes type) const { - data.m_iType = type; - data.m_bChanged = true; - } - - /** - * Sets the arguments and options string in @p data - * to @p args if any were found during filterting. - */ - void setArguments( KURIFilterData& data, const TQString& args ) const; - - TQString m_strName; - double m_dblPriority; - -protected: - virtual void virtual_hook( int id, void* data ); -private: - class KURIFilterPluginPrivate *d; -}; - - -/** - * A list of filter plugins. - */ -class KIO_EXPORT KURIFilterPluginList : public TQPtrList -{ -public: - virtual int compareItems(Item a, Item b) - { - double diff = ((KURIFilterPlugin *) a)->priority() - ((KURIFilterPlugin *) b)->priority(); - return diff < 0 ? -1 : (diff > 0 ? 1 : 0); - } - -private: - KURIFilterPrivate *d; - -}; - -/** - * Manages the filtering of URIs. - * - * The intention of this plugin class is to allow people to extend the - * functionality of KURL without modifying it directly. This way KURL will - * remain a generic parser capable of parsing any generic URL that adheres - * to specifications. - * - * The KURIFilter class applies a number of filters to a URI and returns the - * filtered version whenever possible. The filters are implemented using - * plugins to provide easy extensibility of the filtering mechanism. New - * filters can be added in the future by simply inheriting from - * KURIFilterPlugin and implementing the KURIFilterPlugin::filterURI - * method. - * - * Use of this plugin-manager class is straight forward. Since it is a - * singleton object, all you have to do is obtain an instance by doing - * @p KURIFilter::self() and use any of the public member functions to - * preform the filtering. - * - * \b Example - * - * To simply filter a given string: - * - * \code - * bool filtered = KURIFilter::self()->filterURI( "kde.org" ); - * \endcode - * - * You can alternatively use a KURL: - * - * \code - * KURL url = "kde.org"; - * bool filtered = KURIFilter::self()->filterURI( url ); - * \endcode - * - * If you have a constant string or a constant URL, simply invoke the - * corresponding function to obtain the filtered string or URL instead - * of a boolean flag: - * - * \code - * TQString u = KURIFilter::self()->filteredURI( "kde.org" ); - * \endcode - * - * You can also restrict the filter(s) to be used by supplying - * the name of the filter(s) to use. By defualt all available - * filters will be used. To use specific filters, add the names - * of the filters you want to use to a TQStringList and invoke - * the appropriate filtering function. The examples below show - * the use of specific filters. The first one uses a single - * filter called kshorturifilter while the second example uses - * multiple filters: - * - * \code - * TQString text = "kde.org"; - * bool filtered = KURIFilter::self()->filterURI( text, "kshorturifilter" ); - * \endcode - * - * \code - * TQStringList list; - * list << "kshorturifilter" << "localdomainfilter"; - * bool filtered = KURIFilter::self()->filterURI( text, list ); - * \endcode - * - * KURIFilter also allows richer data exchange through a simple - * meta-object called @p KURIFilterData. Using this meta-object - * you can find out more information about the URL you want to - * filter. See KURIFilterData for examples and details. - * - * @short Filters a given URL into its proper format whenever possible. - */ - -class KIO_EXPORT KURIFilter -{ -public: - /** - * Destructor - */ - ~KURIFilter (); - - /** - * Returns an instance of KURIFilter. - */ - static KURIFilter* self(); - - /** - * Filters the URI given by the object URIFilterData. - * - * The given URL is filtered based on the specified list of filters. - * If the list is empty all available filters would be used. - * - * @param data object that contains the URI to be filtered. - * @param filters specify the list of filters to be used. - * - * @return a boolean indicating whether the URI has been changed - */ - bool filterURI( KURIFilterData& data, const TQStringList& filters = TQStringList() ); - - /** - * Filters the URI given by the URL. - * - * The given URL is filtered based on the specified list of filters. - * If the list is empty all available filters would be used. - * - * @param uri the URI to filter. - * @param filters specify the list of filters to be used. - * - * @return a boolean indicating whether the URI has been changed - */ - bool filterURI( KURL &uri, const TQStringList& filters = TQStringList() ); - - /** - * Filters a string representing a URI. - * - * The given URL is filtered based on the specified list of filters. - * If the list is empty all available filters would be used. - * - * @param uri The URI to filter. - * @param filters specify the list of filters to be used. - * - * @return a boolean indicating whether the URI has been changed - */ - bool filterURI( TQString &uri, const TQStringList& filters = TQStringList() ); - - /** - * Returns the filtered URI. - * - * The given URL is filtered based on the specified list of filters. - * If the list is empty all available filters would be used. - * - * @param uri The URI to filter. - * @param filters specify the list of filters to be used. - * - * @return the filtered URI or null if it cannot be filtered - */ - KURL filteredURI( const KURL &uri, const TQStringList& filters = TQStringList() ); - - /** - * Return a filtered string representation of a URI. - * - * The given URL is filtered based on the specified list of filters. - * If the list is empty all available filters would be used. - * - * @param uri the URI to filter. - * @param filters specify the list of filters to be used. - * - * @return the filtered URI or null if it cannot be filtered - */ - TQString filteredURI( const TQString &uri, const TQStringList& filters = TQStringList() ); - - /** - * Return an iterator to iterate over all loaded - * plugins. - * - * @return a plugin iterator. - */ - TQPtrListIterator pluginsIterator() const; - - /** - * Return a list of the names of all loaded plugins. - * - * @return a TQStringList of plugin names - * @since 3.1 - */ - TQStringList pluginNames() const; - -protected: - - /** - * A protected constructor. - * - * This constructor creates a KURIFilter and - * initializes all plugins it can find by invoking - * loadPlugins. - */ - KURIFilter(); - - /** - * Loads all allowed plugins. - * - * This function loads all filters that have not - * been disbled. - */ - void loadPlugins(); - -private: - static KURIFilter *s_self; - KURIFilterPluginList m_lstPlugins; - KURIFilterPrivate *d; -}; - -#endif diff --git a/python/pykde/extra/kde353/kaccelaction.h b/python/pykde/extra/kde353/kaccelaction.h deleted file mode 100644 index d55e4517..00000000 --- a/python/pykde/extra/kde353/kaccelaction.h +++ /dev/null @@ -1,576 +0,0 @@ -/* This file is part of the KDE libraries - Copyright (C) 2001,2002 Ellis Whitehead - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. -*/ - -#ifndef _KACCELACTION_H -#define _KACCELACTION_H - -#include -#include -#include -#include - -#include - -class KAccelBase; - -class TQObject; -class KConfig; -class KConfigBase; - -/** - * @internal - * A KAccelAction prepresents an action that can be executed using - * an accelerator key. Each KAccelAction has a name, a label, a - * "What's this" string and a KShortcut. The user can configure and - * enable/disable them using KKeyDialog. - * - * \code - * 1) KAccelAction = "Run Command" - * Default3 = "Alt+F2" - * Default4 = "Meta+Enter;Alt+F2" - * 1) KShortcut = "Meta+Enter" - * 1) KKeySequence = "Meta+Enter" - * 1) KKey = "Meta+Enter" - * 1) Meta+Enter - * 2) Meta+Keypad_Enter - * 2) KShortcut = "Alt+F2" - * 1) KKeySequence = "Alt+F2" - * 1) Alt+F2 - * 2) KAccelAction = "Something" - * Default3 = "" - * Default4 = "" - * 1) KShortcut = "Meta+X,Asterisk" - * 1) KKeySequence = "Meta+X,Asterisk" - * 1) KKey = "Meta+X" - * 1) Meta+X - * 2) KKey = "Asterisk" - * 1) Shift+8 (English layout) - * 2) Keypad_Asterisk - * \endcode - * @short An accelerator action - * @see KAccel - * @see KGlobalAccel - * @see KKeyChooser - * @see KKeyDialog - */ -class KDECORE_EXPORT KAccelAction -{ - public: - /** - * Creates an empty KAccelAction. - * @see clear() - */ - KAccelAction(); - - /** - * Copy constructor. - */ - KAccelAction( const KAccelAction& ); - - /** - * Creates a new KAccelAction. - * @param sName the name of the accelerator - * @param sLabel the label of the accelerator (i18n!) - * @param sWhatsThis the What's This text (18n!) - * @param cutDef3 the default shortcut for 3 modifier systems - * @param cutDef4 the default shortcut for 4 modifier systems - * @param pObjSlot the receiver of a signal when the key has been - * pressed - * @param psMethodSlot the slot to connect for key presses. Receives - * an int, as set by setID(), as only argument - * @param bConfigurable if true the user can configure the shortcut - * @param bEnabled true if the accelerator should be enabled - */ - KAccelAction( const TQString& sName, const TQString& sLabel, const TQString& sWhatsThis, - const KShortcut& cutDef3, const KShortcut& cutDef4, - const TQObject* pObjSlot, const char* psMethodSlot, - bool bConfigurable, bool bEnabled ); - ~KAccelAction(); - - /** - * Clears the accelerator. - */ - void clear(); - - /** - * Re-initialized the KAccelAction. - * @param sName the name of the accelerator - * @param sLabel the label of the accelerator (i18n!) - * @param sWhatsThis the What's This text (18n!) - * @param cutDef3 the default shortcut for 3 modifier systems - * @param cutDef4 the default shortcut for 4 modifier systems - * @param pObjSlot the receiver of a signal when the key has been - * pressed - * @param psMethodSlot the slot to connect for key presses. Receives - * an int, as set by setID(), as only argument - * @param bConfigurable if true the user can configure the shortcut - * @param bEnabled true if the accelerator should be enabled - * @return true if successful, false otherwise - */ - bool init( const TQString& sName, const TQString& sLabel, const TQString& sWhatsThis, - const KShortcut& cutDef3, const KShortcut& cutDef4, - const TQObject* pObjSlot, const char* psMethodSlot, - bool bConfigurable, bool bEnabled ); - - /** - * Copies this KAccelAction. - */ - KAccelAction& operator=( const KAccelAction& ); - - /** - * Returns the name of the accelerator action. - * @return the name of the accelerator action, can be null if not - * set - */ - const TQString& name() const { return m_sName; } - - /** - * Returns the label of the accelerator action. - * @return the label of the accelerator action, can be null if - * not set - */ - const TQString& label() const { return m_sLabel; } - - /** - * Returns the What's This text of the accelerator action. - * @return the What's This text of the accelerator action, can be - * null if not set - */ - const TQString& whatsThis() const { return m_sWhatsThis; } - - /** - * The shortcut that is actually used (may be used configured). - * @return the shortcut of the KAccelAction, can be null if not set - * @see shortcutDefault() - */ - const KShortcut& shortcut() const { return m_cut; } - - /** - * The default shortcut for this system. - * @return the default shortcut on this system, can be null if not set - * @see shortcut() - * @see shortcutDefault3() - * @see shortcutDefault4() - */ - const KShortcut& shortcutDefault() const; - - /** - * The default shortcut for 3 modifier systems. - * @return the default shortcut for 3 modifier systems, can be null - * if not set - * @see shortcutDefault() - * @see shortcutDefault4() - * @see useFourModifierKeys() - */ - const KShortcut& shortcutDefault3() const { return m_cutDefault3; } - - /** - * The default shortcut for 4 modifier systems. - * @return the default shortcut for 4 modifier systems, can be null - * if not set - * @see shortcutDefault() - * @see shortcutDefault3() - * @see useFourModifierKeys() - */ - const KShortcut& shortcutDefault4() const { return m_cutDefault4; } - - /** - * Returns the receiver of signals. - * @return the receiver of signals (can be 0 if not set) - */ - const TQObject* objSlotPtr() const { return m_pObjSlot; } - - /** - * Returns the slot for the signal. - * @return the slot for the signal - */ - const char* methodSlotPtr() const { return m_psMethodSlot; } - - /** - * Checks whether the user can configure the action. - * @return true if configurable, false otherwise - */ - bool isConfigurable() const { return m_bConfigurable; } - - /** - * Checks whether the action is enabled. - * @return true if enabled, false otherwise - */ - bool isEnabled() const { return m_bEnabled; } - - /** - * Sets the name of the accelerator action. - * @param name the new name - */ - void setName( const TQString& name ); - - /** - * Sets the user-readable label of the accelerator action. - * @param label the new label (i18n!) - */ - void setLabel( const TQString& label ); - - /** - * Sets the What's This text for the accelerator action. - * @param whatsThis the new What's This text (i18n!) - */ - void setWhatsThis( const TQString& whatsThis ); - - /** - * Sets the new shortcut of the accelerator action. - * @param rgCuts the shortcut to set - * @return true if successful, false otherwise - */ - bool setShortcut( const KShortcut& rgCuts ); - - /** - * Sets the slot of the accelerator action. - * @param pObjSlot the receiver object of the signal - * @param psMethodSlot the slot for the signal - */ - void setSlot( const TQObject* pObjSlot, const char* psMethodSlot ); - - /** - * Enables or disabled configuring the action. - * @param configurable true to enable configurability, false to disable - */ - void setConfigurable( bool configurable ); - - /** - * Enables or disabled the action. - * @param enable true to enable the action, false to disable - */ - void setEnabled( bool enable ); - - /** - * Retrieves the id set using setID. - * @return the id of the accelerator action - */ - int getID() const { return m_nIDAccel; } - - /** - * Allows you to set an id that will be used as the action - * signal's argument. - * - * @param n the new id - * @see getID() - */ - void setID( int n ) { m_nIDAccel = n; } - - /** - * Checkes whether the action is connected (emits signals). - * @return true if connected, false otherwise - */ - bool isConnected() const; - - /** - * Sets a key sequence of the action's shortcut. - * @param i the position of the sequence - * @param keySeq the new new sequence - * @return true if successful, false otherwise - * @see KShortcut::setSeq() - */ - bool setKeySequence( uint i, const KKeySequence &keySeq ); - - /** - * Clears the action's shortcut. It will not contain any sequences after - * calling this method. - * @see KShortcut::clear() - */ - void clearShortcut(); - - /** - * Checks whether the action's shortcut contains the given key sequence. - * @param keySeq the key sequence to check - * @return true if the shortcut contains the given sequence - * @see KShortcut::contains() - */ - bool contains( const KKeySequence &keySeq ); - - /** - * Returns the string representation of the action's shortcut. - * @return the string representation of the action's shortcut. - * @see KShortcut::toString() - */ - TQString toString() const; - - /** - * @internal - */ - TQString toStringInternal() const; - - /** - * Returns true if four modifier keys will be used. - * @return true if four modifier keys will be used. - */ - static bool useFourModifierKeys(); - - /** - * Selects 3 or 4 modifier default shortcuts. - * @param use true to use 4 modifier shortcuts, false to use - * 3 modifier shortcuts - */ - static void useFourModifierKeys( bool use ); - - protected: - TQString m_sName /**< Name of accel. @sa setName() */, - m_sLabel /**< Label of accel. User-visible. */, - m_sWhatsThis /**< WhatsThis help for accel. User-visible. */; - KShortcut m_cut /**< Shortcut actually assigned. */; - KShortcut m_cutDefault3 /**< Default shortcut in 3-modifier layout */, - m_cutDefault4 /**< Default shortcur in 4-modifier layout */; - const TQObject* m_pObjSlot /**< Object we will send signals to. */; - const char* m_psMethodSlot /**< Slot we send signals to, in m_pObjSlot */; - bool m_bConfigurable /**< Can this accel be configured by the user? */, - m_bEnabled /**< Is this accel enabled? */; - int m_nIDAccel /**< Id of this accel, from the list of IDs */; - uint m_nConnections /**< Number of connections to this accel. */ ; - - /** @internal Increment the number of connections to this accel. */ - void incConnections(); - /** @internal Decrement the number of connections to this accel (bouded by zero). */ - void decConnections(); - - private: - static int g_bUseFourModifierKeys; - class KAccelActionPrivate* d; - - friend class KAccelActions; - friend class KAccelBase; -}; - -//--------------------------------------------------------------------- -// KAccelActions -//--------------------------------------------------------------------- - -/** - * @internal - * This class represents a collection of KAccelAction objects. - * - * @short A collection of accelerator actions - * @see KAccelAction - */ -class KDECORE_EXPORT KAccelActions -{ - public: - /** - * Creates a new, empty KAccelActions object. - */ - KAccelActions(); - - /** - * Copy constructor (deep copy). - */ - KAccelActions( const KAccelActions& ); - virtual ~KAccelActions(); - - /** - * Removes all items from this collection. - */ - void clear(); - - /** - * Initializes this object with the given actions. - * It will make a deep copy of all actions. - * @param actions the actions to copy - * @return true if successful, false otherwise - */ - bool init( const KAccelActions &actions ); - - /** - * Loads the actions from the given configuration file. - * - * @param config the configuration file to load from - * @param sGroup the group in the configuration file - * @return true if successful, false otherwise - */ - bool init( KConfigBase& config, const TQString& sGroup ); - - /** - * Updates the shortcuts of all actions in this object - * with the shortcuts from the given object. - * @param shortcuts the collection that contains the new - * shortcuts - */ - void updateShortcuts( KAccelActions &shortcuts ); - - /** - * Retrieves the index of the action with the given name. - * @param sAction the action to search - * @return the index of the action, or -1 if not found - */ - int actionIndex( const TQString& sAction ) const; - - /** - * Returns the action with the given @p index. - * @param index the index of an action. You must not - * use an index that is too high. - * @return the KAccelAction with the given index - * @see count() - */ - KAccelAction* actionPtr( uint index ); - - /** - * Returns the action with the given @p index. - * @param index the index of an action. You must not - * use an index that is too high. - * @return the KAccelAction with the given index - * @see count() - */ - const KAccelAction* actionPtr( uint index ) const; - - /** - * Returns the action with the given name. - * @param sAction the name of the action to search - * @return the KAccelAction with the given name, or 0 - * if not found - */ - KAccelAction* actionPtr( const TQString& sAction ); - - /** - * Returns the action with the given name. - * @param sAction the name of the action to search - * @return the KAccelAction with the given name, or 0 - * if not found - */ - const KAccelAction* actionPtr( const TQString& sAction ) const; - - /** - * Returns the action with the given key sequence. - * @param cut the sequence to search for - * @return the KAccelAction with the given sequence, or 0 - * if not found - */ - KAccelAction* actionPtr( KKeySequence cut ); - - /** - * Returns the action with the given @p index. - * @param index the index of an action. You must not - * use an index that is too high. - * @return the KAccelAction with the given index - * @see actionPtr() - * @see count() - */ - KAccelAction& operator []( uint index ); - - /** - * Returns the action with the given @p index. - * @param index the index of an action. You must not - * use an index that is too high. - * @return the KAccelAction with the given index - * @see actionPtr() - * @see count() - */ - const KAccelAction& operator []( uint index ) const; - - /** - * Inserts an action into the collection. - * @param sAction the name of the accelerator - * @param sLabel the label of the accelerator (i18n!) - * @param sWhatsThis the What's This text (18n!) - * @param rgCutDefaults3 the default shortcut for 3 modifier systems - * @param rgCutDefaults4 the default shortcut for 4 modifier systems - * @param pObjSlot the receiver of a signal when the key has been - * pressed - * @param psMethodSlot the slot to connect for key presses. Receives - * an int, as set by setID(), as only argument - * @param bConfigurable if true the user can configure the shortcut - * @param bEnabled if true the accelerator should be enabled - * @return the new action - */ - KAccelAction* insert( const TQString& sAction, const TQString& sLabel, const TQString& sWhatsThis, - const KShortcut& rgCutDefaults3, const KShortcut& rgCutDefaults4, - const TQObject* pObjSlot = 0, const char* psMethodSlot = 0, - bool bConfigurable = true, bool bEnabled = true ); - - /** - * Inserts an action into the collection. - * @param sName the name of the accelerator - * @param sLabel the label of the accelerator (i18n!) - * @return the new action - */ - KAccelAction* insert( const TQString& sName, const TQString& sLabel ); - - /** - * Removes the given action. - * @param sAction the name of the action. - * @return true if successful, false otherwise - */ - bool remove( const TQString& sAction ); - - /** - * Loads the actions from the given configuration file. - * - * @param sConfigGroup the group in the configuration file - * @param pConfig the configuration file to load from - * @return true if successful, false otherwise - */ - bool readActions( const TQString& sConfigGroup = "Shortcuts", KConfigBase* pConfig = 0 ); - - /** - * Writes the actions to the given configuration file. - * - * @param sConfigGroup the group in the configuration file - * @param pConfig the configuration file to save to - * @param bWriteAll true to write all actions - * @param bGlobal true to write to the global configuration file - * @return true if successful, false otherwise - */ - bool writeActions( const TQString& sConfigGroup = "Shortcuts", KConfigBase* pConfig = 0, - bool bWriteAll = false, bool bGlobal = false ) const; - - /** - * Emit a keycodeChanged signal. - */ - void emitKeycodeChanged(); - - /** - * Returns the number of actions in the collection. - * @return the number of actions - */ - uint count() const; - - protected: - /** Base object that proxies signals from us. */ - KAccelBase* m_pKAccelBase; - /** Array of actions we're hanging on to. */ - KAccelAction** m_prgActions; - uint m_nSizeAllocated /**< Allocated size of the array. */, - m_nSize /**< Amount in use. */ ; - - /** - * Resize the list to the given number @p new_size of entries. - * @todo Can you make it smaller? - * @todo Implementation seems to break m_nSize. - */ - void resize( uint new_size ); - /** Add a action to this collection. @todo Document ownership. */ - void insertPtr( KAccelAction* ); - - private: - class KAccelActionsPrivate* d; - - KAccelActions( KAccelBase* ); - void initPrivate( KAccelBase* ); - KAccelActions& operator =( KAccelActions& ); - - friend class KAccelBase; -}; - -#endif // _KACCELACTION_H diff --git a/python/pykde/extra/kde353/kaccelbase.h b/python/pykde/extra/kde353/kaccelbase.h deleted file mode 100644 index babf304b..00000000 --- a/python/pykde/extra/kde353/kaccelbase.h +++ /dev/null @@ -1,260 +0,0 @@ -/* This file is part of the KDE libraries - Copyright (C) 2001 Ellis Whitehead - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. -*/ - -#ifndef _KACCELBASE_H -#define _KACCELBASE_H - -#include -#include -#include -#include -#include - -#include "kaccelaction.h" -#include "kkeyserver.h" - -class TQPopupMenu; -class TQWidget; - -//---------------------------------------------------- - -/** - * @internal - * Handle keyboard accelerators. - * - * Allow an user to configure - * key bindings through application configuration files or through the - * KKeyChooser GUI. - * - * A KAccel contains a list of accelerator items. Each accelerator item - * consists of an action name and a keyboard code combined with modifiers - * (Shift, Ctrl and Alt.) - * - * For example, "Ctrl+P" could be a shortcut for printing a document. The key - * codes are listed in ckey.h. "Print" could be the action name for printing. - * The action name identifies the key binding in configuration files and the - * KKeyChooser GUI. - * - * When pressed, an accelerator key calls the slot to which it has been - * connected. Accelerator items can be connected so that a key will activate - * two different slots. - * - * A KAccel object handles key events sent to its parent widget and to all - * children of this parent widget. - * - * Key binding reconfiguration during run time can be prevented by specifying - * that an accelerator item is not configurable when it is inserted. A special - * group of non-configurable key bindings are known as the - * standard accelerators. - * - * The standard accelerators appear repeatedly in applications for - * standard document actions such as printing and saving. Convenience methods are - * available to insert and connect these accelerators which are configurable on - * a desktop-wide basis. - * - * It is possible for a user to choose to have no key associated with - * an action. - * - * The translated first argument for insertItem() is used only - * in the configuration dialog. - *\code - * KAccel *a = new KAccel( myWindow ); - * // Insert an action "Scroll Up" which is associated with the "Up" key: - * a->insertItem( i18n("Scroll Up"), "Scroll Up", "Up" ); - * // Insert an action "Scroll Down" which is not associated with any key: - * a->insertItem( i18n("Scroll Down"), "Scroll Down", 0); - * a->connectItem( "Scroll up", myWindow, TQT_SLOT( scrollUp() ) ); - * // a->insertStdItem( KStdAccel::Print ); //not necessary, since it - * // is done automatially with the - * // connect below! - * a->connectItem(KStdAccel::Print, myWindow, TQT_SLOT( printDoc() ) ); - * - * a->readSettings(); - *\endcode - * - * If a shortcut has a menu entry as well, you could insert them like - * this. The example is again the KStdAccel::Print from above. - * - * \code - * int id; - * id = popup->insertItem("&Print",this, TQT_SLOT(printDoc())); - * a->changeMenuAccel(popup, id, KStdAccel::Print ); - * \endcode - * - * If you want a somewhat "exotic" name for your standard print action, like - * id = popup->insertItem(i18n("Print &Document"),this, TQT_SLOT(printDoc())); - * it might be a good idea to insert the standard action before as - * a->insertStdItem( KStdAccel::Print, i18n("Print Document") ) - * as well, so that the user can easily find the corresponding function. - * - * This technique works for other actions as well. Your "scroll up" function - * in a menu could be done with - * - * \code - * id = popup->insertItem(i18n"Scroll &up",this, TQT_SLOT(scrollUp())); - * a->changeMenuAccel(popup, id, "Scroll Up" ); - * \endcode - * - * Please keep the order right: First insert all functions in the - * acceleratior, then call a -> readSettings() and @em then build your - * menu structure. - * - * @short Configurable key binding support. - */ - -class KDECORE_EXPORT KAccelBase -{ - public: - /** Initialization mode of the KAccelBase, used in constructor. */ - enum Init { QT_KEYS = 0x00, NATIVE_KEYS = 0x01 }; - - /** Enum for kinds of signals which may be emitted. */ - enum Signal { KEYCODE_CHANGED }; - - /** Constructor. @p fInitCode should be a bitwise OR of - * values from the Init enum. - */ - KAccelBase( int fInitCode ); - virtual ~KAccelBase(); - - /** Returns number of actions in this handler. */ - uint actionCount() const; - /** Returns a list of all the actions in this handler. */ - KAccelActions& actions(); - /** Returns whether this accelerator handler is enabled or not. */ - bool isEnabled() const; - - /** Returns a pointer to the KAccelAction named @p sAction. */ - KAccelAction* actionPtr( const TQString& sAction ); - /** Const version of the above. */ - const KAccelAction* actionPtr( const TQString& sAction ) const; - /** Returns a pointer to the KAccelAction associated with - * the key @p key. This function takes into account the - * key mapping defined in the constructor. - * - * May return 0 if no (or more than one) - * action is associated with the key. - */ - KAccelAction* actionPtr( const KKey& key ); - /** Basically the same as above, except a KKeyServer::Key - * already has a key mapping defined (either NATIVE_KEYS or not). - */ - KAccelAction* actionPtr( const KKeyServer::Key& key ); - - /** Returns the name of the configuration group these - * accelerators are stored in. The default is "Shortcuts". - */ - const TQString& configGroup() const { return m_sConfigGroup; } - /** Set the group (in the configuration file) for storing - * accelerators. - */ - void setConfigGroup( const TQString& group ); - void setConfigGlobal( bool global ); - virtual void setEnabled( bool bEnabled ) = 0; - /** Returns whether autoupdate is enabled for these accelerators. */ - bool getAutoUpdate() { return m_bAutoUpdate; } - /** Enables (or disables) autoupdate for these accelerators. - * @return the value of autoupdate before the call. - */ - bool setAutoUpdate( bool bAuto ); - -// Procedures for manipulating Actions. - //void clearActions(); - - KAccelAction* insert( const TQString& sName, const TQString& sDesc ); - KAccelAction* insert( - const TQString& sAction, const TQString& sDesc, const TQString& sHelp, - const KShortcut& rgCutDefaults3, const KShortcut& rgCutDefaults4, - const TQObject* pObjSlot, const char* psMethodSlot, - bool bConfigurable = true, bool bEnabled = true ); - bool remove( const TQString& sAction ); - bool setActionSlot( const TQString& sAction, const TQObject* pObjSlot, const char* psMethodSlot ); - - bool updateConnections(); - - bool setShortcut( const TQString& sAction, const KShortcut& cut ); - -// Modify individual Action sub-items - bool setActionEnabled( const TQString& sAction, bool bEnable ); - - /** - * Read all key associations from @p config, or (if @p config - * is zero) from the application's configuration file - * KGlobal::config(). - * - * The group in which the configuration is stored can be - * set with setConfigGroup(). - */ - void readSettings( KConfigBase* pConfig = 0 ); - - /** - * Write the current configurable associations to @p config, - * or (if @p config is zero) to the application's - * configuration file. - */ - void writeSettings( KConfigBase* pConfig = 0 ) const; - - TQPopupMenu* createPopupMenu( TQWidget* pParent, const KKeySequence& ); - - // Protected methods - protected: - void slotRemoveAction( KAccelAction* ); - - struct X; - void createKeyList( TQValueVector& rgKeys ); - bool insertConnection( KAccelAction* ); - bool removeConnection( KAccelAction* ); - - virtual bool emitSignal( Signal ) = 0; - virtual bool connectKey( KAccelAction&, const KKeyServer::Key& ) = 0; - virtual bool connectKey( const KKeyServer::Key& ) = 0; - virtual bool disconnectKey( KAccelAction&, const KKeyServer::Key& ) = 0; - virtual bool disconnectKey( const KKeyServer::Key& ) = 0; - - protected: - virtual bool isEnabledInternal() const; - struct ActionInfo - { - KAccelAction* pAction; - uint iSeq, iVariation; - //ActionInfo* pInfoNext; // nil if only one action uses this key. - - ActionInfo() { pAction = 0; iSeq = 0xffff; iVariation = 0xffff; } - ActionInfo( KAccelAction* _pAction, uint _iSeq, uint _iVariation ) - { pAction = _pAction; iSeq = _iSeq; iVariation = _iVariation; } - }; - typedef TQMap KKeyToActionMap; - - KAccelActions m_rgActions; - KKeyToActionMap m_mapKeyToAction; - TQValueList m_rgActionsNonUnique; - bool m_bNativeKeys; // Use native key codes instead of Qt codes - bool m_bEnabled; - bool m_bConfigIsGlobal; - TQString m_sConfigGroup; - bool m_bAutoUpdate; - KAccelAction* mtemp_pActionRemoving; - - private: - KAccelBase& operator =( const KAccelBase& ); - - friend class KAccelActions; -}; - -#endif // _KACCELBASE_H diff --git a/python/pykde/extra/kde353/kicontheme.h b/python/pykde/extra/kde353/kicontheme.h deleted file mode 100644 index 4befb226..00000000 --- a/python/pykde/extra/kde353/kicontheme.h +++ /dev/null @@ -1,355 +0,0 @@ -/* vi: ts=8 sts=4 sw=4 - * - * This file is part of the KDE project, module kdecore. - * Copyright (C) 2000 Geert Jansen - * Antonio Larrosa - * - * This is free software; it comes under the GNU Library General - * Public License, version 2. See the file "COPYING.LIB" for the - * exact licensing terms. - * - */ - -#ifndef __KIconTheme_h_Included__ -#define __KIconTheme_h_Included__ - -#include -#include -#include -#include "kdelibs_export.h" - -class KConfig; -//class KIconThemeDir; - -class KIconThemePrivate; - -class KIconPrivate; - -/** - * One icon as found by KIconTheme. Also serves as a namespace containing - * icon related constants. - * @see KIconEffect - * @see KIconTheme - * @see KIconLoader - */ -class KDECORE_EXPORT KIcon -{ -public: - KIcon() { size = 0; } - - /** - * Return true if this icon is valid, false otherwise. - */ - bool isValid() const { return size != 0; } - - /** - * Defines the context of the icon. - */ - enum Context { - Any, ///< Some icon with unknown purpose. - Action, ///< An action icon (e.g. 'save', 'print'). - Application, ///< An icon that represents an application. - Device, ///< An icon that represents a device. - FileSystem, ///< An icon that represents a file system. - MimeType ///< An icon that represents a mime type (or file type). - }; - - /** - * The type of the icon. - */ - enum Type { - Fixed, ///< Fixed-size icon. - Scalable, ///< Scalable-size icon. - Threshold ///< A threshold icon. - }; - - /** - * The type of a match. - */ - enum MatchType { - MatchExact, ///< Only try to find an exact match. - MatchBest ///< Take the best match if there is no exact match. - - }; - - // if you add a group here, make sure to change the config reading in - // KIconLoader too - /** - * The group of the icon. - */ - enum Group { - /// No group - NoGroup=-1, - /// Desktop icons - Desktop=0, - /// First group - FirstGroup=0, - /// Toolbar icons - Toolbar, - /// Main toolbar icons - MainToolbar, - /// Small icons - Small, - /// Panel (Kicker) icons - Panel, - /// Last group - LastGroup, - /// User icons - User - }; - - /** - * These are the standard sizes for icons. - */ - enum StdSizes { - /// small icons for menu entries - SizeSmall=16, - /// slightly larger small icons for toolbars, panels, etc - SizeSmallMedium=22, - /// medium sized icons for the desktop - SizeMedium=32, - /// large sized icons for the panel - SizeLarge=48, - /// huge sized icons for iconviews - SizeHuge=64, - /// enormous sized icons for iconviews - SizeEnormous=128 - }; - - /** - * Defines the possible states of an icon. - */ - enum States { DefaultState, ///< The default state. - ActiveState, ///< Icon is active. - DisabledState, ///< Icon is disabled. - LastState ///< Last state (last constant) - }; - - /** - * This defines an overlay, a semi-transparent image that is - * projected onto the icon. They are used to show that the file - * represented by the icon is, for example, locked, zipped or hidden. - */ - enum Overlays { - LockOverlay=0x100, ///< a file is locked - ZipOverlay=0x200, ///< a file is zipped - LinkOverlay=0x400, ///< a file is a link - HiddenOverlay=0x800, ///< a file is hidden - ShareOverlay=0x1000, ///< a file is shared - OverlayMask = ~0xff - }; - - /** - * The size in pixels of the icon. - */ - int size; - - /** - * The context of the icon. - */ - Context context; - - /** - * The type of the icon: Fixed, Scalable or Threshold. - **/ - Type type; - - /** - * The threshold in case type == Threshold - */ - int threshold; - - /** - * The full path of the icon. - */ - TQString path; - -private: - KIconPrivate *d; -}; - -inline KIcon::Group& operator++(KIcon::Group& group) { group = static_cast(group+1); return group; } -inline KIcon::Group operator++(KIcon::Group& group,int) { KIcon::Group ret = group; ++group; return ret; } - -/** - * Class to use/access icon themes in KDE. This class is used by the - * iconloader but can be used by others too. - * @see KIconLoader - */ -class KDECORE_EXPORT KIconTheme -{ -public: - /** - * Load an icon theme by name. - * @param name the name of the theme (e.g. "hicolor" or "keramik") - * @param appName the name of the application. Can be null. This argument - * allows applications to have themed application icons. - */ - KIconTheme(const TQString& name, const TQString& appName=TQString::null); - ~KIconTheme(); - - /** - * The stylized name of the icon theme. - * @return the (human-readable) name of the theme - */ - TQString name() const { return mName; } - - /** - * A description for the icon theme. - * @return a human-readable description of the theme, TQString::null - * if there is none - */ - TQString description() const { return mDesc; } - - /** - * Return the name of the "example" icon. This can be used to - * present the theme to the user. - * @return the name of the example icon, TQString::null if there is none - */ - TQString example() const; - - /** - * Return the name of the screenshot. - * @return the name of the screenshot, TQString::null if there is none - */ - TQString screenshot() const; - - /** - * Returns the name of this theme's link overlay. - * @return the name of the link overlay - */ - TQString linkOverlay() const; - - /** - * Returns the name of this theme's zip overlay. - * @return the name of the zip overlay - */ - TQString zipOverlay() const; - - /** - * Returns the name of this theme's lock overlay. - * @return the name of the lock overlay - */ - TQString lockOverlay() const; - - /** - * Returns the name of this theme's share overlay. - * @return the name of the share overlay - * @since 3.1 - */ - TQString shareOverlay () const; - - /** - * Returns the toplevel theme directory. - * @return the directory of the theme - */ - TQString dir() const { return mDir; } - - /** - * The themes this icon theme falls back on. - * @return a list of icon themes that are used as fall-backs - */ - TQStringList inherits() const { return mInherits; } - - /** - * The icon theme exists? - * @return true if the icon theme is valid - */ - bool isValid() const; - - /** - * The icon theme should be hidden to the user? - * @return true if the icon theme is hidden - * @since 3.1 - */ - bool isHidden() const; - - /** - * The minimum display depth required for this theme. This can either - * be 8 or 32. - * @return the minimum bpp (8 or 32) - */ - int depth() const { return mDepth; } - - /** - * The default size of this theme for a certain icon group. - * @param group The icon group. See KIcon::Group. - * @return The default size in pixels for the given icon group. - */ - int defaultSize(KIcon::Group group) const; - - /** - * Query available sizes for a group. - * @param group The icon group. See KIcon::Group. - * @return a list of available sized for the given group - */ - TQValueList querySizes(KIcon::Group group) const; - - /** - * Query available icons for a size and context. - * @param size the size of the icons - * @param context the context of the icons - * @return the list of icon names - */ - TQStringList queryIcons(int size, KIcon::Context context = KIcon::Any) const; - - /** - * Query available icons for a context and preferred size. - * @param size the size of the icons - * @param context the context of the icons - * @return the list of icon names - */ - TQStringList queryIconsByContext(int size, KIcon::Context context = KIcon::Any) const; - - - /** - * Lookup an icon in the theme. - * @param name The name of the icon, without extension. - * @param size The desired size of the icon. - * @param match The matching mode. KIcon::MatchExact returns an icon - * only if matches exactly. KIcon::MatchBest returns the best matching - * icon. - * @return A KIcon class that describes the icon. If an icon is found, - * @see KIcon::isValid will return true, and false otherwise. - */ - KIcon iconPath(const TQString& name, int size, KIcon::MatchType match) const; - - /** - * List all icon themes installed on the system, global and local. - * @return the list of all icon themes - */ - static TQStringList list(); - - /** - * Returns the current icon theme. - * @return the name of the current theme - */ - static TQString current(); - - /** - * Reconfigure the theme. - */ - static void reconfigure(); - - /** - * Returns the default icon theme. - * @return the name of the default theme name - * @since 3.1 - */ - static TQString defaultThemeName(); - -private: - int mDefSize[8]; - TQValueList mSizes[8]; - - int mDepth; - TQString mDir, mName, mDesc; - TQStringList mInherits; -// TQPtrList mDirs; - KIconThemePrivate *d; - - static TQString *_theme; - static TQStringList *_theme_list; -}; - -#endif diff --git a/python/pykde/extra/kde353/kkeyserver.h b/python/pykde/extra/kde353/kkeyserver.h deleted file mode 100644 index ef673ea9..00000000 --- a/python/pykde/extra/kde353/kkeyserver.h +++ /dev/null @@ -1,29 +0,0 @@ -/* - Copyright (C) 2001 Ellis Whitehead - - Win32 port: - Copyright (C) 2004 Jaroslaw Staniek - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. -*/ - -#ifndef _KKEYSERVER_H -#define _KKEYSERVER_H - -//FOR COMPATIBILITY -#include "kkeyserver_x11.h" - -#endif // !_KKEYSERVER_H diff --git a/python/pykde/extra/kde353/kkeyserver_x11.h b/python/pykde/extra/kde353/kkeyserver_x11.h deleted file mode 100644 index dbca533e..00000000 --- a/python/pykde/extra/kde353/kkeyserver_x11.h +++ /dev/null @@ -1,477 +0,0 @@ -/* - Copyright (C) 2001 Ellis Whitehead - - Win32 port: - Copyright (C) 2004 Jaroslaw Staniek - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. -*/ - -#ifndef _KKEYSERVER_X11_H -#define _KKEYSERVER_X11_H - -#include "kshortcut.h" -#include "kkeynative.h" - -/** - * A collection of functions for the conversion of key presses and - * their modifiers from the window system specific format - * to the generic format and vice-versa. - */ -namespace KKeyServer -{ - /** - * Supplement enum KKey::ModFlag - * @since 3.1 - */ - enum ExtraModFlag { MODE_SWITCH = 0x2000 }; - - /** - * Represents a key symbol. - * @see KKey - * @see KKeyServer - */ - struct KDECORE_EXPORT Sym - { - public: - /// the actual value of the symbol - uint m_sym; - - /// Creates a null symbol. - Sym() - { m_sym = 0; } - /** - * Creates asymbol with the given value. - * @param sym the value - */ - Sym( uint sym ) - { m_sym = sym; } - /** - * Creates a symbol from the given string description. - * @param s the description of the symbol - * @see toString() - */ - Sym( const TQString& s ) - { init( s ); } - - /** - * Initializes the symbol with the given Qt key code. - * @param keyQt the qt key code - * @return true if successful, false otherwise - * @see Qt::Key - */ - bool initQt( int keyQt ); - - /** - * Initializes the key with the given string description. - * @param s the string description - * @return true if successful, false otherwise - * @see toString() - */ - bool init( const TQString &s ); - - /** - * Returns the qt key code of the symbol. - * @return the qt key code - */ - int qt() const; - - /** - * @internal - */ - TQString toStringInternal() const; - - /** - * Returns the string representation of the symbol. - * @return the string representation of the symbol - */ - TQString toString() const; - - /** - * Returns the mods that are required for this symbol as - * ORed KKey::ModFlag's. For example, Break requires a - * Ctrl to be valid. - * @return the required KKey::ModFlag's - * @see KKey::ModFlag - */ - uint getModsRequired() const; - - /** - * TODO: please find out what this method does and document it - */ - uint getSymVariation() const; - - /** - * Casts the symbol to its integer representation. - */ - operator uint() const { return m_sym; } - - /** - * Overloaded operator to convert ints to Sym. - */ - Sym& operator =( uint sym ) { m_sym = sym; return *this; } - - private: - TQString toString( bool bUserSpace ) const; - - static void capitalizeKeyname( TQString& ); - }; - - /** - * Represents a key press. - * @see KKey - */ - struct KDECORE_EXPORT Key - { - /// Code for native Keys in Qt - enum { CODE_FOR_QT = 256 }; - - /// The code of the key - uint m_code; - - /// The modifiers of the key - uint m_mod; - - /// The symbol of the key - uint m_sym; - - /** - * Initializes the key with a KKey. - * @param key the key to get the data from - * @param bQt true to take the Qt keycode, false - * for the native key code - * @see Qt::Key - * @see KKeyNative - */ - bool init( const KKey& key, bool bQt ); - - /** - * Checks whether the key code is a native code. - * @return true if native code of the window system, - * false if it is a Qt keycode - * @see Qt::Key - * @see KKeyNative - */ - bool isNative() const { return m_code != CODE_FOR_QT; } - - /** - * Returns the code of the key. - * @return the code of the key - */ - uint code() const { return m_code; } - - /** - * Returns the modifiers of the key. - * @return the modifiers of the key - */ - uint mod() const { return m_mod; } - - /** - * Returns the symbol of the key. - * @return the symbol of the key - */ - uint sym() const { return m_sym; } - - /** - * Returns the qt key code. - * @return the qt key code - */ - int keyCodeQt() const { return (int) m_sym; } - - /** - * Sets the qt key code. - * @param keyQt the qt key code - */ - void setKeycodeQt( int keyQt ) - { m_code = CODE_FOR_QT; m_sym = keyQt; } - - /** - * Initializes this key with a KKeyNative. - * @return this key - */ - Key& operator =( const KKeyNative& key ); - - /** - * Compares this key with the given Key object. Returns a - * negative number if the given Key is larger, 0 if they - * are equal and a positive number this Key is larger. The - * returned value is the difference between the symbol, modifier - * or code, whatever is non-zero first. - * - * @param key the key to compare with this key - * @return a negative number if the given Key is larger, 0 if - * they are equal and a positive number this Key is larger - */ - int compare( const Key& key ) const; - - /** - * Compares the symbol, modifiers and code of both keys. - * @see compare() - */ - bool operator ==( const Key& b ) const - { return compare( b ) == 0; } - - /** - * Compares the symbol, modifiers and code of both keys. - * @see compare() - */ - bool operator <( const Key& b ) const - { return compare( b ) < 0; } - - /** - * Converts this Key to a KKey. - * @return the KKey - */ - KKey key() const; - }; - - /** - * TODO: please document this class - */ - struct KDECORE_EXPORT Variations - { - enum { MAX_VARIATIONS = 4 }; - - Key m_rgkey[MAX_VARIATIONS]; - uint m_nVariations; - - Variations() { m_nVariations = 0; } - - void init( const KKey&, bool bQt ); - - uint count() const { return m_nVariations; } - const Key& key( uint i ) const { return m_rgkey[i]; } - }; - - /// TODO: please document - KDECORE_EXPORT bool initializeMods(); - - /** - * Returns the equivalent X modifier mask of the given modifier flag. - * @param modFlag the generic flags to check - * @return the window system specific flags - */ - KDECORE_EXPORT uint modX( KKey::ModFlag modFlag ); - - /** - * Returns true if the current keyboard layout supports the Win key. - * Specifically, whether the Super or Meta keys are assigned to an X modifier. - * @return true if the keyboard has a Win key - * @see modXWin() - */ - KDECORE_EXPORT bool keyboardHasWinKey(); - - /** - * Returns the X11 Shift modifier mask/flag. - * @return the X11 Shift modifier mask/flag. - * @see accelModMaskX() - */ - KDECORE_EXPORT uint modXShift(); - - /** - * Returns the X11 Lock modifier mask/flag. - * @return the X11 Lock modifier mask/flag. - * @see accelModMaskX() - */ - KDECORE_EXPORT uint modXLock(); - - /** - * Returns the X11 Ctrl modifier mask/flag. - * @return the X11 Ctrl modifier mask/flag. - * @see accelModMaskX() - */ - KDECORE_EXPORT uint modXCtrl(); - - /** - * Returns the X11 Alt (Mod1) modifier mask/flag. - * @return the X11 Alt (Mod1) modifier mask/flag. - * @see accelModMaskX() - */ - KDECORE_EXPORT uint modXAlt(); - - /** - * Returns the X11 NumLock modifier mask/flag. - * @return the X11 NumLock modifier mask/flag. - * @see accelModMaskX() - */ - KDECORE_EXPORT uint modXNumLock(); - - /** - * Returns the X11 Win (Mod3) modifier mask/flag. - * @return the X11 Win (Mod3) modifier mask/flag. - * @see keyboardHasWinKey() - * @see accelModMaskX() - */ - KDECORE_EXPORT uint modXWin(); - - /** - * Returns the X11 ScrollLock modifier mask/flag. - * @return the X11 ScrollLock modifier mask/flag. - * @see accelModMaskX() - */ - KDECORE_EXPORT uint modXScrollLock(); - - /** - * Returns the X11 Mode_switch modifier mask/flag. - * @return the X11 Mode_switch modifier mask/flag. - * @see accelModMaskX() - * @since 3.5 - */ - KDECORE_EXPORT uint modXModeSwitch(); - - /** - * Returns bitwise OR'ed mask containing Shift, Ctrl, Alt, and - * Win (if available). - * @see modXShift() - * @see modXLock() - * @see modXCtrl() - * @see modXAlt() - * @see modXNumLock() - * @see modXWin() - * @see modXScrollLock() - */ - KDECORE_EXPORT uint accelModMaskX(); - - /** - * Extracts the symbol from the given Qt key and - * converts it to a symbol. - * @param keyQt the qt key code - * @param sym if successful, the symbol will be written here - * @return true if successful, false otherwise - * @see Qt::Key - * @see Sym - */ - KDECORE_EXPORT bool keyQtToSym( int keyQt, uint& sym ); - - /** - * Extracts the modifiers from the given Qt key and - * converts them in a mask of ORed KKey::ModFlag modifiers. - * @param keyQt the qt key code - * @param mod if successful, the modifiers will be written here - * @return true if successful, false otherwise - * @see Qt::Key - */ - KDECORE_EXPORT bool keyQtToMod( int keyQt, uint& mod ); - - /** - * Converts the given symbol to a Qt key code. - * @param sym the symbol - * @param keyQt if successful, the qt key code will be written here - * @return true if successful, false otherwise - * @see Qt::Key - * @see Sym - */ - KDECORE_EXPORT bool symToKeyQt( uint sym, int& keyQt ); - - /** - * Converts the mask of ORed KKey::ModFlag modifiers to - * a mask of ORed Qt key code modifiers. - * @param mod the mask of KKey::ModFlag modifiers - * @param modQt the mask of Qt key code modifiers will be written here, - * if successful - * @return true if successful, false otherwise - * @see Qt::Key - * @see KKey - */ - KDECORE_EXPORT bool modToModQt( uint mod, int& modQt ); - - /** - * Converts the mask of ORed KKey::ModFlag modifiers to - * a mask of ORed X11 modifiers. - * @param mod the mask of KKey::ModFlag modifiers - * @param modX the mask of X11 modifiers will be written here, - * if successful - * @return true if successful, false otherwise - * @see KKey - */ - KDECORE_EXPORT bool modToModX( uint mod, uint& modX ); - - /** - * Converts the mask of ORed X11 modifiers to - * a mask of ORed Qt key code modifiers. - * @param modX the mask of X11 modifiers - * @param modQt the mask of Qt key code modifiers will be written here - * if successful - * @return true if successful, false otherwise - * @see Qt::Key - */ - //wrapped for win32 - KDECORE_EXPORT bool modXToModQt( uint modX, int& modQt ); - - /** - * Converts the Qt-compatible button state to x11 modifier. - */ - KDECORE_EXPORT int qtButtonStateToMod( Qt::ButtonState s ); - - /** - * Converts the mask of ORed X11 modifiers to - * a mask of ORed KKey::ModFlag modifiers. - * @param modX the mask of X11 modifiers - * @param mod the mask of KKey::ModFlag modifiers will be written here, - * if successful - * @return true if successful, false otherwise - * @see KKey - */ - KDECORE_EXPORT bool modXToMod( uint modX, uint& mod ); - - /** - * Converts a X11 key code and a mask of ORed X11 modifiers - * into a X11 symbol. - * converts it to a symbol. - * @param codeX the X11 key code - * @param modX the mask of ORed X11 modifiers - * @param symX if successful, the X11 symbol will be written here - * @return true if successful, false otherwise - * @see Qt::Key - * @see Sym - */ - KDECORE_EXPORT bool codeXToSym( uchar codeX, uint modX, uint& symX ); - - /** - * @internal - */ - KDECORE_EXPORT TQString modToStringInternal( uint mod ); - - /** - * Converts the mask of ORed KKey::ModFlag modifiers to a - * user-readable string. - * @param mod the mask of ORed KKey::ModFlag modifiers - * @return the user-readable string - */ - KDECORE_EXPORT TQString modToStringUser( uint mod ); - - /** - * Converts the modifier given as user-readable string - * to KKey::ModFlag modifier, or 0. - * @internal - * @since 3.5 - */ - KDECORE_EXPORT uint stringUserToMod( const TQString& mod ); - - /** - * @internal - * Unimplemented? - */ - KDECORE_EXPORT bool stringToSymMod( const TQString&, uint& sym, uint& mod ); - - /** - * @internal - * Unimplemented? - */ - KDECORE_EXPORT void keyQtToKeyX( uint keyCombQt, unsigned char *pKeyCodeX, uint *pKeySymX, uint *pKeyModX ); -} - -#endif // !_KKEYSERVER_X11_H diff --git a/python/pykde/extra/kde353/konsole_part.h b/python/pykde/extra/kde353/konsole_part.h deleted file mode 100644 index d526c1a6..00000000 --- a/python/pykde/extra/kde353/konsole_part.h +++ /dev/null @@ -1,241 +0,0 @@ -/* -*- C++ -*- - This file is part of the KDE system - Copyright (C) 1999,2000 Boloni Laszlo - - This program is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. - */ - -#ifndef KONSOLE_PART_H -#define KONSOLE_PART_H - -#include -#include - - -#include - -#include - -//#include "schema.h" -//#include "session.h" - -class KInstance; -class konsoleBrowserExtension; -class TQPushButton; -class TQSpinBox; -class KPopupMenu; -class KActionMenu; -class TQCheckBox; -class KRootPixmap; -class KToggleAction; -class KSelectAction; - -namespace KParts { class GUIActivateEvent; } - -class konsoleFactory : public KParts::Factory -{ - Q_OBJECT -public: - konsoleFactory(); - virtual ~konsoleFactory(); - - virtual KParts::Part* createPartObject(TQWidget *parentWidget = 0, const char *widgetName = 0, - TQObject* parent = 0, const char* name = 0, - const char* classname = "KParts::Part", - const TQStringList &args = TQStringList()); - - static KInstance *instance(); - - private: - static KInstance *s_instance; - static KAboutData *s_aboutData; -}; - -////////////////////////////////////////////////////////////////////// - -class konsolePart: public KParts::ReadOnlyPart, public TerminalInterface, public ExtTerminalInterface -{ - Q_OBJECT - public: - konsolePart(TQWidget *parentWidget, const char *widgetName, TQObject * parent, const char *name, const char *classname = 0); - virtual ~konsolePart(); - -signals: - void processExited( KProcess * ); - void receivedData( const TQString& s ); - void forkedChild(); - protected: - virtual bool openURL( const KURL & url ); - virtual bool openFile() {return false;} // never used - virtual bool closeURL() {return true;} - virtual void guiActivateEvent( KParts::GUIActivateEvent * event ); - - protected slots: - void showShell(); - -// void doneSession(TESession*); - void sessionDestroyed(); -// void configureRequest(TEWidget*,int,int x,int y); -// void updateTitle(TESession*); - void enableMasterModeConnections(); - - private slots: - void emitOpenURLRequest(const TQString &url); - - void readProperties(); - void saveProperties(); - void applyProperties(); - void setSettingsMenuEnabled( bool ); - - void sendSignal(int n); - void closeCurrentSession(); - - void notifySize(int /*columns*/, int /*lines*/); - - void slotToggleFrame(); - void slotSelectScrollbar(); - void slotSelectFont(); - void schema_menu_check(); - void keytab_menu_activated(int item); - void updateSchemaMenu(); - void setSchema(int n); - void pixmap_menu_activated(int item); - void schema_menu_activated(int item); - void slotHistoryType(); - void slotSelectBell(); - void slotSelectLineSpacing(); - void slotBlinkingCursor(); - void slotUseKonsoleSettings(); - void slotWordSeps(); - void slotSetEncoding(); - void biggerFont(); - void smallerFont(); - - void autoShowShell(); - - private: - konsoleBrowserExtension *m_extension; - KURL currentURL; - - void makeGUI(); - void applySettingsToGUI(); - -// void setSchema(ColorSchema* s); - void updateKeytabMenu(); - - bool doOpenStream( const TQString& ); - bool doWriteStream( const TQByteArray& ); - bool doCloseStream(); - - TQWidget* parentWidget; -// TEWidget* te; -// TESession* se; - // ColorSchemaList* colors; - KRootPixmap* rootxpm; - - KActionCollection* actions; - KActionCollection* settingsActions; - - KToggleAction* blinkingCursor; - KToggleAction* showFrame; - KToggleAction* m_useKonsoleSettings; - - KSelectAction* selectBell; - KSelectAction* selectLineSpacing; - KSelectAction* selectScrollbar; - KSelectAction* selectSetEncoding; - - KActionMenu* m_fontsizes; - - KPopupMenu* m_keytab; - KPopupMenu* m_schema; - KPopupMenu* m_signals; - KPopupMenu* m_options; - KPopupMenu* m_popupMenu; - - TQFont defaultFont; - - TQString pmPath; // pixmap path - TQString s_schema; - TQString s_kconfigSchema; - TQString s_word_seps; // characters that are considered part of a word - - bool b_framevis:1; - bool b_histEnabled:1; - bool b_useKonsoleSettings:1; - bool b_autoDestroy:1; - bool b_autoStartShell:1; - - int curr_schema; // current schema no - int n_bell; - int n_keytab; - int n_render; - int n_scroll; - unsigned m_histSize; - bool m_runningShell; - bool m_streamEnabled; - int n_encoding; - -public: - // these are the implementations for the TermEmuInterface - // functions... - void startProgram( const TQString& program, - const TQStrList& args ); - void newSession(); - void showShellInDir( const TQString& dir ); - void sendInput( const TQString& text ); - void setAutoDestroy( bool ); - void setAutoStartShell( bool ); -}; - -////////////////////////////////////////////////////////////////////// - -/*class HistoryTypeDialog : public KDialogBase -{ - Q_OBJECT -public: - HistoryTypeDialog(const HistoryType& histType, - unsigned int histSize, - TQWidget *parent); - -public slots: - void slotDefault(); - void slotSetUnlimited(); - void slotHistEnable(bool); - - unsigned int nbLines() const; - bool isOn() const; - -protected: - TQCheckBox* m_btnEnable; - TQSpinBox* m_size; - TQPushButton* m_setUnlimited; -};*/ - -////////////////////////////////////////////////////////////////////// - -class konsoleBrowserExtension : public KParts::BrowserExtension -{ - Q_OBJECT - friend class konsolePart; - public: - konsoleBrowserExtension(konsolePart *parent); - virtual ~konsoleBrowserExtension(); - - void emitOpenURLRequest(const KURL &url); -}; - -#endif diff --git a/python/pykde/extra/kde353/kpanelmenu.h b/python/pykde/extra/kde353/kpanelmenu.h deleted file mode 100644 index de0b065e..00000000 --- a/python/pykde/extra/kde353/kpanelmenu.h +++ /dev/null @@ -1,182 +0,0 @@ -/***************************************************************** - -Copyright (c) 1996-2000 the kicker authors. See file AUTHORS. - (c) 2001 Michael Goffioul - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN -AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - -******************************************************************/ - -#ifndef __KPANELMENU_H__ -#define __KPANELMENU_H__ - -#include -#include -#include - -class KPanelMenuPrivate; - -/** - * @short Base class to build dynamically loaded menu entries for the K-menu, or the panel. - * - * This class allows to build menu entries that will be dynamically added either to - * the K-menu, or to the panel as a normal button. These dynamic menus are located - * in shared libraries that will be loaded at runtime by Kicker (the %KDE panel). - * - * To build such a menu, you have to inherit this class and implement the pure virtual - * functions #initialize() and slotExec(). You also have to provide a factory - * object in your library, see KLibFactory. This factory is only used to construct - * the menu object. - * - * Finally, you also have to provide a desktop file describing your dynamic menu. The - * relevant entries are: Name, Comment, Icon and X-KDE-Library (which contains the - * library name without any extension). This desktop file has to be installed in - * $KDEDIR/share/apps/kicker/menuext/. - * - * @author The kicker maintainers, Michael Goffioul - */ -class KDEUI_EXPORT KPanelMenu : public KPopupMenu -{ - Q_OBJECT - -public: - /** - * Construct a KPanelMenu object. This is the normal constructor to use when - * building extrernal menu entries. - */ - KPanelMenu(TQWidget *parent=0, const char *name=0); - /** - * Constructor used internally by Kicker. You don't really want to use it. - * @param startDir a directory to associate with this menu - * @param parent parent object - * @param name name of the object - * @see path(), setPath() - */ - KPanelMenu(const TQString &startDir, TQWidget *parent=0, const char *name=0); - /** - * Destructor. - */ - virtual ~KPanelMenu(); - - /** - * Get the directory path associated with this menu, or TQString::null if - * there's no such associated path. - * @return the associated directory path - * @see setPath() - */ - const TQString& path() const; - /** - * Set a directory path to be associated with this menu. - * @param p the directory path - * @see path() - */ - void setPath(const TQString &p); - /** - * Tell if the menu has been initialized, that is it already contains items. - * This is useful when you need to know if you have to clear the menu, or to - * fill it. - * @return the initial state - * @see setInitialized(), initialize() - */ - bool initialized() const; - /** - * Set the initial state. Set it to true when you menu is filled with the items - * you want. - * @param on the initial state - * @see initialized(), initialize() - */ - void setInitialized(bool on); - - /** - * Disable the automatic clearing of the menu. Kicker uses a cache system for - * its menus. After a specific configurable delay, the menu will be cleared. - * Use this function if you want to disable kicker's cache system, and avoid - * the clearing of your menu. - */ - void disableAutoClear(); - -public slots: - /** - * Reinitialize the menu: the menu is first cleared, the initial state is set - * to false, and finally #initialize() is called. Use this if you want to - * refill your menu immediately. - */ - void reinitialize(); - /** - * Deinitialize the menu: the menu is cleared and the initialized state is set to - * false. #initialize() is NOT called. It will be called before the menu is - * next shown, however. Use this slot if you want a delayed reinitialization. - * @since 3.1 - */ - void deinitialize(); - -protected slots: - /** - * This slot is called just before the menu is shown. This allows your menu - * to update itself if needed. However you should instead re-implement - * #initialize to provide this feature. This function is responsible for - * the cache system handling, so if you re-implement it, you should call - * the base function also. Calls #initialize(). - * @see disableAutoClear() - */ - virtual void slotAboutToShow(); - /** - * This is slot is called when an item from the menu has been selected. Your - * applet is then supposed to perform some action. You must re-implement this - * function. - * @param id the ID associated with the selected item - */ - virtual void slotExec(int id) = 0; - /** - * This slots is called to initialize the menu. It is called automatically by - * slotAboutToShow(). By re-implementing this functions, you can reconstruct - * the menu before it is being shown. At the end of this function, you should - * call setInitialize() with true to tell the system that the menu is OK. - * You applet must re-implement this function. - * @see slotAboutToShow(), initialized(), setInitialized() - */ - virtual void initialize() = 0; - /** - * Clears the menu, and update the initial state accordingly. - * @see initialized() - */ - void slotClear(); - -protected: - /** - * Re-implemented for internal reasons. - */ - virtual void hideEvent(TQHideEvent *ev); - /** - * For internal use only. Used by constructors. - */ - void init(const TQString& path = TQString::null); - -protected: - virtual void virtual_hook( int id, void* data ); -private: - void internalInitialize(); - KPanelMenuPrivate *d; -}; - -#define K_EXPORT_KICKER_MENUEXT( libname, classname ) \ - K_EXPORT_COMPONENT_FACTORY( \ - kickermenu_##libname, \ - KGenericFactory("libkickermenu_" #libname) ) - -#endif diff --git a/python/pykde/extra/kde353/ksharedptr.h b/python/pykde/extra/kde353/ksharedptr.h deleted file mode 100644 index ada08413..00000000 --- a/python/pykde/extra/kde353/ksharedptr.h +++ /dev/null @@ -1,175 +0,0 @@ -/* This file is part of the KDE libraries - Copyright (c) 1999 Waldo Bastian - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License version 2 as published by the Free Software Foundation. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. -*/ -#ifndef KSharedPTR_H -#define KSharedPTR_H - -#include "kdelibs_export.h" - -/** - * Reference counting for shared objects. If you derive your object - * from this class, then you may use it in conjunction with - * KSharedPtr to control the lifetime of your object. - * - * Specifically, all classes that derive from KShared have an internal - * counter keeping track of how many other objects have a reference to - * their object. If used with KSharedPtr, then your object will - * not be deleted until all references to the object have been - * released. - * - * You should probably not ever use any of the methods in this class - * directly -- let the KSharedPtr take care of that. Just derive - * your class from KShared and forget about it. - * - * @author Waldo Bastian - */ -class KDECORE_EXPORT KShared { -public: - /** - * Standard constructor. This will initialize the reference count - * on this object to 0. - */ - KShared() : count(0) { } - - /** - * Copy constructor. This will @em not actually copy the objects - * but it will initialize the reference count on this object to 0. - */ - KShared( const KShared & ) : count(0) { } - - /** - * Overloaded assignment operator. - */ - KShared &operator=(const KShared & ) { return *this; } - - /** - * Increases the reference count by one. - */ - void _KShared_ref() const { count++; } - - /** - * Releases a reference (decreases the reference count by one). If - * the count goes to 0, this object will delete itself. - */ - void _KShared_unref() const { if (!--count) delete this; } - - /** - * Return the current number of references held. - * - * @return Number of references - */ - int _KShared_count() const { return count; } - -protected: - virtual ~KShared() { } -private: - mutable int count; -}; - -/** - * Can be used to control the lifetime of an object that has derived - * KShared. As long a someone holds a KSharedPtr on some KShared - * object it won't become deleted but is deleted once its reference - * count is 0. This struct emulates C++ pointers virtually perfectly. - * So just use it like a simple C++ pointer. - * - * KShared and KSharedPtr are preferred over QShared / QSharedPtr - * since they are more safe. - * - * WARNING: Please note that this class template provides an implicit - * conversion to T*. Do *not* change this pointer or the pointee (don't - * call delete on it, for instance) behind KSharedPtr's back. - * - * @author Waldo Bastian - */ -template< class T > -class KSharedPtr -{ -public: -/** - * Creates a null pointer. - */ - KSharedPtr() - : ptr(0) { } - /** - * Creates a new pointer. - * @param t the pointer - */ - KSharedPtr( T* t ) - : ptr(t) { if ( ptr ) ptr->_KShared_ref(); } - - /** - * Copies a pointer. - * @param p the pointer to copy - */ - KSharedPtr( const KSharedPtr& p ) - : ptr(p.ptr) { if ( ptr ) ptr->_KShared_ref(); } - - /** - * Unreferences the object that this pointer points to. If it was - * the last reference, the object will be deleted. - */ - ~KSharedPtr() { if ( ptr ) ptr->_KShared_unref(); } - - KSharedPtr& operator= ( const KSharedPtr& p ) { - if ( ptr == p.ptr ) return *this; - if ( ptr ) ptr->_KShared_unref(); - ptr = p.ptr; - if ( ptr ) ptr->_KShared_ref(); - return *this; - } - KSharedPtr& operator= ( T* p ) { - if ( ptr == p ) return *this; - if ( ptr ) ptr->_KShared_unref(); - ptr = p; - if ( ptr ) ptr->_KShared_ref(); - return *this; - } - bool operator== ( const KSharedPtr& p ) const { return ( ptr == p.ptr ); } - bool operator!= ( const KSharedPtr& p ) const { return ( ptr != p.ptr ); } - bool operator== ( const T* p ) const { return ( ptr == p ); } - bool operator!= ( const T* p ) const { return ( ptr != p ); } - bool operator!() const { return ( ptr == 0 ); } - operator T*() const { return ptr; } - - /** - * Returns the pointer. - * @return the pointer - */ - T* data() { return ptr; } - - /** - * Returns the pointer. - * @return the pointer - */ - const T* data() const { return ptr; } - - const T& operator*() const { return *ptr; } - T& operator*() { return *ptr; } - const T* operator->() const { return ptr; } - T* operator->() { return ptr; } - - /** - * Returns the number of references. - * @return the number of references - */ - int count() const { return ptr->_KShared_count(); } // for debugging purposes -private: - T* ptr; -}; - -#endif diff --git a/python/pykde/extra/kde353/ksycocafactory.h b/python/pykde/extra/kde353/ksycocafactory.h deleted file mode 100644 index 536da286..00000000 --- a/python/pykde/extra/kde353/ksycocafactory.h +++ /dev/null @@ -1,143 +0,0 @@ -/* This file is part of the KDE libraries - * Copyright (C) 1999 Waldo Bastian - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License version 2 as published by the Free Software Foundation; - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public License - * along with this library; see the file COPYING.LIB. If not, write to - * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - * Boston, MA 02110-1301, USA. - **/ - -#ifndef __ksycocafactory_h__ -#define __ksycocafactory_h__ - -#include "ksycocatype.h" -#include "ksycocaentry.h" - -#include -#include -class KSycoca; -class TQStringList; -class TQString; -class KSycocaDict; -class KSycocaResourceList; - -typedef TQDict KSycocaEntryDict; - -/** - * @internal - * Base class for sycoca factories - */ -class KDECORE_EXPORT KSycocaFactory -{ -public: - virtual KSycocaFactoryId factoryId() const = 0; - -protected: // virtual class - /** - * Create a factory which can be used to lookup from/create a database - * (depending on KSycoca::isBuilding()) - */ - KSycocaFactory( KSycocaFactoryId factory_id ); - -public: - virtual ~KSycocaFactory(); - - /** - * @return the position of the factory in the sycoca file - */ - int offset() { return mOffset; } - - /** - * @return the dict, for special use by KBuildSycoca - */ - KSycocaEntryDict * entryDict() { return m_entryDict; } - - /** - * Construct an entry from a config file. - * To be implemented in the real factories. - */ - virtual KSycocaEntry *createEntry(const TQString &file, const char *resource) = 0; - - /** - * Add an entry - */ - virtual void addEntry(KSycocaEntry *newEntry, const char *resource); - - /** - * Remove an entry - * Not very fast, use with care. O(N) - */ - void removeEntry(KSycocaEntry *newEntry); - - /** - * Read an entry from the database - */ - virtual KSycocaEntry *createEntry(int offset)=0; - - /** - * Get a list of all entries from the database. - */ - KSycocaEntry::List allEntries(); - - /** - * Saves all entries it maintains as well as index files - * for these entries to the stream 'str'. - * - * Also sets mOffset to the starting position. - * - * The stream is positioned at the end of the last index. - * - * Don't forget to call the parent first when you override - * this function. - */ - virtual void save(TQDataStream &str); - - /** - * Writes out a header to the stream 'str'. - * The baseclass positions the stream correctly. - * - * Don't forget to call the parent first when you override - * this function. - */ - virtual void saveHeader(TQDataStream &str); - - /** - * @return the resources for which this factory is responsible. - */ - virtual const KSycocaResourceList * resourceList() const { return m_resourceList; } - -private: - int mOffset; - -protected: - int m_sycocaDictOffset; - int m_beginEntryOffset; - int m_endEntryOffset; - TQDataStream *m_str; - - KSycocaResourceList *m_resourceList; - KSycocaEntryDict *m_entryDict; - KSycocaDict *m_sycocaDict; -protected: - virtual void virtual_hook( int id, void* data ); -}; - -/** This, instead of a typedef, allows to declare "class ..." in header files - * @internal - */ -class KDECORE_EXPORT KSycocaFactoryList : public TQPtrList -{ -public: - KSycocaFactoryList() { } -}; - -#endif diff --git a/python/pykde/extra/kde353/ktoolbarbutton.h b/python/pykde/extra/kde353/ktoolbarbutton.h deleted file mode 100644 index eab46983..00000000 --- a/python/pykde/extra/kde353/ktoolbarbutton.h +++ /dev/null @@ -1,330 +0,0 @@ -/* This file is part of the KDE libraries - Copyright (C) 1997, 1998 Stephan Kulow (coolo@kde.org) - (C) 1997, 1998 Sven Radej (radej@kde.org) - (C) 1997, 1998 Mark Donohoe (donohoe@kde.org) - (C) 1997, 1998 Matthias Ettrich (ettrich@kde.org) - (C) 2000 Kurt Granroth (granroth@kde.org) - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License version 2 as published by the Free Software Foundation. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. -*/ - -#ifndef _KTOOLBARBUTTON_H -#define _KTOOLBARBUTTON_H - -#include -#include -#include -#include -#include - -class KToolBar; -class KToolBarButtonPrivate; -class KInstance; -class TQEvent; -class TQPopupMenu; -class TQPainter; - -/** - * A toolbar button. This is used internally by KToolBar, use the - * KToolBar methods instead. - * @internal - */ -class KDEUI_EXPORT KToolBarButton : public QToolButton -{ - Q_OBJECT - -public: - /** - * Construct a button with an icon loaded by the button itself. - * This will trust the button to load the correct icon with the - * correct size. - * - * @param icon Name of icon to load (may be absolute or relative) - * @param id Id of this button - * @param parent This button's parent - * @param name This button's internal name - * @param txt This button's text (in a tooltip or otherwise) - * @param _instance the instance to use for this button - */ - KToolBarButton(const TQString& icon, int id, TQWidget *parent, - const char *name=0L, const TQString &txt=TQString::null, - KInstance *_instance = KGlobal::instance()); - - /** - * Construct a button with an existing pixmap. It is not - * recommended that you use this as the internal icon loading code - * will almost always get it "right". - * - * @param pixmap Name of icon to load (may be absolute or relative) - * @param id Id of this button - * @param parent This button's parent - * @param name This button's internal name - * @param txt This button's text (in a tooltip or otherwise) - */ - KToolBarButton(const TQPixmap& pixmap, int id, TQWidget *parent, - const char *name=0L, const TQString &txt=TQString::null); - - /** - * Construct a separator button - * - * @param parent This button's parent - * @param name This button's internal name - */ - KToolBarButton(TQWidget *parent=0L, const char *name=0L); - - /** - * Standard destructor - */ - ~KToolBarButton(); - -#ifndef KDE_NO_COMPAT - /** - * @deprecated - * Set the pixmap directly for this button. This pixmap should be - * the active one... the dimmed and disabled pixmaps are constructed - * based on this one. However, don't use this function unless you - * are positive that you don't want to use setIcon. - * - * @param pixmap The active pixmap - */ - // this one is from TQButton, so #ifdef-ing it out doesn't break BC - virtual void setPixmap(const TQPixmap &pixmap) KDE_DEPRECATED; - - /** - * @deprecated - * Force the button to use this pixmap as the default one rather - * then generating it using effects. - * - * @param pixmap The pixmap to use as the default (normal) one - */ - void setDefaultPixmap(const TQPixmap& pixmap) KDE_DEPRECATED; - - /** - * @deprecated - * Force the button to use this pixmap when disabled one rather then - * generating it using effects. - * - * @param pixmap The pixmap to use when disabled - */ - void setDisabledPixmap(const TQPixmap& pixmap) KDE_DEPRECATED; -#endif - - /** - * Set the text for this button. The text will be either used as a - * tooltip (IconOnly) or will be along side the icon - * - * @param text The button (or tooltip) text - */ - virtual void setText(const TQString &text); - - /** - * Set the icon for this button. The icon will be loaded internally - * with the correct size. This function is preferred over setIconSet - * - * @param icon The name of the icon - */ - virtual void setIcon(const TQString &icon); - - /// @since 3.1 - virtual void setIcon( const TQPixmap &pixmap ) - { TQToolButton::setIcon( pixmap ); } - - /** - * Set the pixmaps for this toolbar button from a TQIconSet. - * If you call this you don't need to call any of the other methods - * that set icons or pixmaps. - * @param iconset The iconset to use - */ - virtual void setIconSet( const TQIconSet &iconset ); - -#ifndef KDE_NO_COMPAT - /** - * @deprecated - * Set the active icon for this button. The pixmap itself is loaded - * internally based on the icon size... .. the disabled and default - * pixmaps, however will only be constructed if generate is - * true. This function is preferred over setPixmap - * - * @param icon The name of the active icon - * @param generate If true, then the other icons are automagically - * generated from this one - */ - KDE_DEPRECATED void setIcon(const TQString &icon, bool generate ) { Q_UNUSED(generate); setIcon( icon ); } - - /** - * @deprecated - * Force the button to use this icon as the default one rather - * then generating it using effects. - * - * @param icon The icon to use as the default (normal) one - */ - void setDefaultIcon(const TQString& icon) KDE_DEPRECATED; - - /** - * @deprecated - * Force the button to use this icon when disabled one rather then - * generating it using effects. - * - * @param icon The icon to use when disabled - */ - void setDisabledIcon(const TQString& icon) KDE_DEPRECATED; -#endif - - /** - * Turn this button on or off - * - * @param flag true or false - */ - void on(bool flag = true); - - /** - * Toggle this button - */ - void toggle(); - - /** - * Turn this button into a toggle button or disable the toggle - * aspects of it. This does not toggle the button itself. - * Use toggle() for that. - * - * @param toggle true or false - */ - void setToggle(bool toggle = true); - - /** - * Return a pointer to this button's popup menu (if it exists) - */ - TQPopupMenu *popup(); - - /** - * Returns the button's id. - * @since 3.2 - */ - int id() const; - - /** - * Give this button a popup menu. There will not be a delay when - * you press the button. Use setDelayedPopup if you want that - * behavior. - * - * @param p The new popup menu - * @param unused Has no effect - ignore it. - */ - void setPopup (TQPopupMenu *p, bool unused = false); - - /** - * Gives this button a delayed popup menu. - * - * This function allows you to add a delayed popup menu to the button. - * The popup menu is then only displayed when the button is pressed and - * held down for about half a second. - * - * @param p the new popup menu - * @param unused Has no effect - ignore it. - */ - void setDelayedPopup(TQPopupMenu *p, bool unused = false); - - /** - * Turn this button into a radio button - * - * @param f true or false - */ - void setRadio(bool f = true); - - /** - * Toolbar buttons naturally will assume the global styles - * concerning icons, icons sizes, etc. You can use this function to - * explicitly turn this off, if you like. - * - * @param no_style Will disable styles if true - */ - void setNoStyle(bool no_style = true); - -signals: - /** - * Emitted when the toolbar button is clicked (with LMB or MMB) - */ - void clicked(int); - /** - * Emitted when the toolbar button is clicked (with any mouse button) - * @param state makes it possible to find out which button was pressed, - * and whether any keyboard modifiers were held. - * @since 3.4 - */ - void buttonClicked(int, Qt::ButtonState state); - void doubleClicked(int); - void pressed(int); - void released(int); - void toggled(int); - void highlighted(int, bool); - -public slots: - /** - * This slot should be called whenever the toolbar mode has - * potentially changed. This includes such events as text changing, - * orientation changing, etc. - */ - void modeChange(); - virtual void setTextLabel(const TQString&, bool tipToo); - -protected: - bool event(TQEvent *e); - void paletteChange(const TQPalette &); - void leaveEvent(TQEvent *e); - void enterEvent(TQEvent *e); - void drawButton(TQPainter *p); - bool eventFilter (TQObject *o, TQEvent *e); - /// @since 3.4 - void mousePressEvent( TQMouseEvent * ); - /// @since 3.4 - void mouseReleaseEvent( TQMouseEvent * ); - void showMenu(); - TQSize sizeHint() const; - TQSize minimumSizeHint() const; - TQSize minimumSize() const; - - /// @since 3.1 - bool isRaised() const; - /// @since 3.1 - bool isActive() const; - /// @since 3.1 - int iconTextMode() const; - -protected slots: - void slotClicked(); - void slotPressed(); - void slotReleased(); - void slotToggled(); - void slotDelayTimeout(); - -protected: - virtual void virtual_hook( int id, void* data ); -private: - KToolBarButtonPrivate *d; -}; - -/** -* List of KToolBarButton objects. -* @internal -* @version $Id: ktoolbarbutton.h 465272 2005-09-29 09:47:40Z mueller $ -*/ -class KDEUI_EXPORT KToolBarButtonList : public TQIntDict -{ -public: - KToolBarButtonList(); - ~KToolBarButtonList() {} -}; - -#endif diff --git a/python/pykde/extra/kde353/kurifilter.h b/python/pykde/extra/kde353/kurifilter.h deleted file mode 100644 index 47332947..00000000 --- a/python/pykde/extra/kde353/kurifilter.h +++ /dev/null @@ -1,647 +0,0 @@ -/* - * This file is part of the KDE libraries - * Copyright (C) 2000-2001,2003 Dawit Alemayehu - * - * Original author - * Copyright (C) 2000 Yves Arrouye - * - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public License - * along with this library; see the file COPYING.LIB. If not, write to - * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - * Boston, MA 02110-1301, USA. - **/ - -#ifndef __kurifilter_h__ -#define __kurifilter_h__ - -#include -#include -#include - -#include - -#ifdef Q_OS_WIN -#undef ERROR -#endif - -class KURIFilterPrivate; -class KURIFilterDataPrivate; - -class KCModule; - -/** -* A basic message object used for exchanging filtering -* information between the filter plugins and the application -* requesting the filtering service. -* -* Use this object if you require a more detailed information -* about the URI you want to filter. Any application can create -* an instance of this class and send it to KURIFilter to -* have the plugins fill out all possible information about the -* URI. -* -* \b Example -* -* \code -* TQString text = "kde.org"; -* KURIFilterData d = text; -* bool filtered = KURIFilter::self()->filter( d ); -* cout << "URL: " << text.latin1() << endl -* << "Filtered URL: " << d.uri().url().latin1() << endl -* << "URI Type: " << d.uriType() << endl -* << "Was Filtered: " << filtered << endl; -* \endcode -* -* The above code should yield the following output: -* \code -* URI: kde.org -* Filtered URI: http://kde.org -* URI Type: 0 <== means NET_PROTOCOL -* Was Filtered: 1 <== means the URL was successfully filtered -* \endcode -* -* @short A message object for exchanging filtering URI info. -* @author Dawit Alemayehu -*/ - -class KIO_EXPORT KURIFilterData -{ -friend class KURIFilterPlugin; - -public: - /** - * Describes the type of the URI that was filtered. - * Here is a brief description of the types: - * - * @li NET_PROTOCOL - Any network protocol: http, ftp, nttp, pop3, etc... - * @li LOCAL_FILE - A local file whose executable flag is not set - * @li LOCAL_DIR - A local directory - * @li EXECUTABLE - A local file whose executable flag is set - * @li HELP - A man or info page - * @li SHELL - A shell executable (ex: echo "Test..." >> ~/testfile) - * @li BLOCKED - A URI that should be blocked/filtered (ex: ad filtering) - * @li ERROR - An incorrect URI (ex: "~johndoe" when user johndoe - * does not exist in that system ) - * @li UNKNOWN - A URI that is not identified. Default value when - * a KURIFilterData is first created. - */ - enum URITypes { NET_PROTOCOL=0, LOCAL_FILE, LOCAL_DIR, EXECUTABLE, HELP, SHELL, BLOCKED, ERROR, UNKNOWN }; - - /** - * Default constructor. - * - * Creates a URIFilterData object. - */ - KURIFilterData() { init(); } - - /** - * Creates a URIFilterData object from the given URL. - * - * @param url is the URL to be filtered. - */ - KURIFilterData( const KURL& url ) { init( url); } - - /** - * Creates a URIFilterData object from the given string. - * - * @param url is the string to be filtered. - */ - KURIFilterData( const TQString& url ) { init( url ); } - - /** - * Copy constructor. - * - * Creates a URIFilterData object from another - * URI filter data object. - * - * @param data the uri filter data to be copied. - */ - KURIFilterData( const KURIFilterData& data); - - /** - * Destructor. - */ - ~KURIFilterData(); - - /** - * This method has been deprecated and will always return - * true. You should instead use the result from the - * KURIFilter::filterURI() calls. - * - * @deprecated - */ - KDE_DEPRECATED bool hasBeenFiltered() const { return true; } - - /** - * Returns the filtered or the original URL. - * - * This function returns the filtered url if one - * of the plugins successfully filtered the original - * URL. Otherwise, it returns the original URL. - * See hasBeenFiltered() and - * - * @return the filtered or original url. - */ - KURL uri() const { return m_pURI; } - - /** - * Returns an error message. - * - * This functions returns the error message set - * by the plugin whenever the uri type is set to - * KURIFilterData::ERROR. Otherwise, it returns - * a TQString::null. - * - * @return the error message or a NULL when there is none. - */ - TQString errorMsg() const { return m_strErrMsg; } - - /** - * Returns the URI type. - * - * This method always returns KURIFilterData::UNKNOWN - * if the given URL was not filtered. - * @return the type of the URI - */ - URITypes uriType() const { return m_iType; } - - /** - * Sets the URL to be filtered. - * - * Use this function to set the string to be - * filtered when you construct an empty filter - * object. - * - * @param url the string to be filtered. - */ - void setData( const TQString& url ) { init( url ); } - - /** - * Same as above except the argument is a URL. - * - * Use this function to set the string to be - * filtered when you construct an empty filter - * object. - * - * @param url the URL to be filtered. - */ - void setData( const KURL& url ) { init( url ); } - - /** - * Sets the absolute path to be used whenever the supplied - * data is a relative local URL. - * - * NOTE: This function should only be used for local resources, - * i.e. the "file:/" protocol. It is useful for specifying the - * absolute path in cases where the actual URL might be relative. - * meta object. If deriving the path from a KURL, make sure you - * set the argument for this function to the result of calling - * path () instead of url (). - * - * @param abs_path the abolute path to the local resource. - * @return true if absolute path is successfully set. Otherwise, false. - */ - bool setAbsolutePath( const TQString& abs_path ); - - /** - * Returns the absolute path if one has already been set. - * @return the absolute path, or TQString::null - * @see hasAbsolutePath() - */ - TQString absolutePath() const; - - /** - * Checks whether the supplied data had an absolute path. - * @return true if the supplied data has an absolute path - * @see absolutePath() - */ - bool hasAbsolutePath() const; - - /** - * Returns the command line options and arguments for a - * local resource when present. - * - * @return options and arguments when present, otherwise TQString::null - */ - TQString argsAndOptions() const; - - /** - * Checks whether the current data is a local resource with - * command line options and arguments. - * @return true if the current data has command line options and arguments - */ - bool hasArgsAndOptions() const; - - /** - * Returns the name of the icon that matches - * the current filtered URL. - * - * NOTE that this function will return a NULL - * string by default and when no associated icon - * is found. - * - * @return the name of the icon associated with the resource, - * or TQString::null if not found - */ - TQString iconName(); - - /** - * Check whether the provided uri is executable or not. - * - * Setting this to false ensures that typing the name of - * an executable does not start that application. This is - * useful in the location bar of a browser. The default - * value is true. - * - * @since 3.2 - */ - void setCheckForExecutables (bool check); - - /** - * @return true if the filters should attempt to check whether the - * supplied uri is an executable. False otherwise. - * - * @since 3.2 - */ - bool checkForExecutables() const { return m_bCheckForExecutables; } - - /** - * @return the string as typed by the user, before any URL processing is done - * @since 3.2 - */ - TQString typedString() const; - - /** - * Overloaded assigenment operator. - * - * This function allows you to easily assign a KURL - * to a KURIFilterData object. - * - * @return an instance of a KURIFilterData object. - */ - KURIFilterData& operator=( const KURL& url ) { init( url ); return *this; } - - /** - * Overloaded assigenment operator. - * - * This function allows you to easily assign a QString - * to a KURIFilterData object. - * - * @return an instance of a KURIFilterData object. - */ - KURIFilterData& operator=( const TQString& url ) { init( url ); return *this; } - -protected: - - /** - * Initializes the KURIFilterData on construction. - * @param url the URL to initialize the object with - */ - void init( const KURL& url); - - /** - * Initializes the KURIFilterData on construction. - * @param url the URL to initialize the object with - */ - void init( const TQString& url = TQString::null ); - -private: - bool m_bCheckForExecutables; - bool m_bChanged; - - TQString m_strErrMsg; - TQString m_strIconName; - - KURL m_pURI; - URITypes m_iType; - KURIFilterDataPrivate *d; -}; - - -/** - * Base class for URI filter plugins. - * - * This class applies a single filter to a URI. All plugins designed - * to provide URI filtering service should inherit from this abstract - * class and provide a concrete implementation. - * - * All inheriting classes need to implement the pure virtual function - * filterURI. - * - * @short Abstract class for URI filter plugins. - */ -class KIO_EXPORT KURIFilterPlugin : public QObject -{ - Q_OBJECT - -public: - - /** - * Constructs a filter plugin with a given name and - * priority. - * - * @param parent the parent object, or 0 for no parent - * @param name the name of the plugin, or 0 for no name - * @param pri the priority of the plugin. - */ - KURIFilterPlugin( TQObject *parent = 0, const char *name = 0, double pri = 1.0 ); - - /** - * Returns the filter's name. - * - * @return A string naming the filter. - */ - virtual TQString name() const { return m_strName; } - - /** - * Returns the filter's priority. - * - * Each filter has an assigned priority, a float from 0 to 1. Filters - * with the lowest priority are first given a chance to filter a URI. - * - * @return The priority of the filter. - */ - virtual double priority() const { return m_dblPriority; } - - /** - * Filters a URI. - * - * @param data the URI data to be filtered. - * @return A boolean indicating whether the URI has been changed. - */ - virtual bool filterURI( KURIFilterData& data ) const = 0; - - /** - * Creates a configuration module for the filter. - * - * It is the responsibility of the caller to delete the module - * once it is not needed anymore. - * - * @return A configuration module, 0 if the filter isn't configurable. - */ - virtual KCModule *configModule( TQWidget*, const char* ) const { return 0; } - - /** - * Returns the name of the configuration module for the filter. - * - * @return the name of a configuration module or TQString::null if none. - */ - virtual TQString configName() const { return name(); } - -protected: - - /** - * Sets the the URL in @p data to @p uri. - */ - void setFilteredURI ( KURIFilterData& data, const KURL& uri ) const; - - /** - * Sets the error message in @p data to @p errormsg. - */ - void setErrorMsg ( KURIFilterData& data, const TQString& errmsg ) const { - data.m_strErrMsg = errmsg; - } - - /** - * Sets the URI type in @p data to @p type. - */ - void setURIType ( KURIFilterData& data, KURIFilterData::URITypes type) const { - data.m_iType = type; - data.m_bChanged = true; - } - - /** - * Sets the arguments and options string in @p data - * to @p args if any were found during filterting. - */ - void setArguments( KURIFilterData& data, const TQString& args ) const; - - TQString m_strName; - double m_dblPriority; - -protected: - virtual void virtual_hook( int id, void* data ); -private: - class KURIFilterPluginPrivate *d; -}; - - -/** - * A list of filter plugins. - */ -class KIO_EXPORT KURIFilterPluginList : public TQPtrList -{ -public: - virtual int compareItems(Item a, Item b) - { - double diff = ((KURIFilterPlugin *) a)->priority() - ((KURIFilterPlugin *) b)->priority(); - return diff < 0 ? -1 : (diff > 0 ? 1 : 0); - } - -private: - KURIFilterPrivate *d; - -}; - -/** - * Manages the filtering of URIs. - * - * The intention of this plugin class is to allow people to extend the - * functionality of KURL without modifying it directly. This way KURL will - * remain a generic parser capable of parsing any generic URL that adheres - * to specifications. - * - * The KURIFilter class applies a number of filters to a URI and returns the - * filtered version whenever possible. The filters are implemented using - * plugins to provide easy extensibility of the filtering mechanism. New - * filters can be added in the future by simply inheriting from - * KURIFilterPlugin and implementing the KURIFilterPlugin::filterURI - * method. - * - * Use of this plugin-manager class is straight forward. Since it is a - * singleton object, all you have to do is obtain an instance by doing - * @p KURIFilter::self() and use any of the public member functions to - * preform the filtering. - * - * \b Example - * - * To simply filter a given string: - * - * \code - * bool filtered = KURIFilter::self()->filterURI( "kde.org" ); - * \endcode - * - * You can alternatively use a KURL: - * - * \code - * KURL url = "kde.org"; - * bool filtered = KURIFilter::self()->filterURI( url ); - * \endcode - * - * If you have a constant string or a constant URL, simply invoke the - * corresponding function to obtain the filtered string or URL instead - * of a boolean flag: - * - * \code - * TQString u = KURIFilter::self()->filteredURI( "kde.org" ); - * \endcode - * - * You can also restrict the filter(s) to be used by supplying - * the name of the filter(s) to use. By defualt all available - * filters will be used. To use specific filters, add the names - * of the filters you want to use to a TQStringList and invoke - * the appropriate filtering function. The examples below show - * the use of specific filters. The first one uses a single - * filter called kshorturifilter while the second example uses - * multiple filters: - * - * \code - * TQString text = "kde.org"; - * bool filtered = KURIFilter::self()->filterURI( text, "kshorturifilter" ); - * \endcode - * - * \code - * TQStringList list; - * list << "kshorturifilter" << "localdomainfilter"; - * bool filtered = KURIFilter::self()->filterURI( text, list ); - * \endcode - * - * KURIFilter also allows richer data exchange through a simple - * meta-object called @p KURIFilterData. Using this meta-object - * you can find out more information about the URL you want to - * filter. See KURIFilterData for examples and details. - * - * @short Filters a given URL into its proper format whenever possible. - */ - -class KIO_EXPORT KURIFilter -{ -public: - /** - * Destructor - */ - ~KURIFilter (); - - /** - * Returns an instance of KURIFilter. - */ - static KURIFilter* self(); - - /** - * Filters the URI given by the object URIFilterData. - * - * The given URL is filtered based on the specified list of filters. - * If the list is empty all available filters would be used. - * - * @param data object that contains the URI to be filtered. - * @param filters specify the list of filters to be used. - * - * @return a boolean indicating whether the URI has been changed - */ - bool filterURI( KURIFilterData& data, const TQStringList& filters = TQStringList() ); - - /** - * Filters the URI given by the URL. - * - * The given URL is filtered based on the specified list of filters. - * If the list is empty all available filters would be used. - * - * @param uri the URI to filter. - * @param filters specify the list of filters to be used. - * - * @return a boolean indicating whether the URI has been changed - */ - bool filterURI( KURL &uri, const TQStringList& filters = TQStringList() ); - - /** - * Filters a string representing a URI. - * - * The given URL is filtered based on the specified list of filters. - * If the list is empty all available filters would be used. - * - * @param uri The URI to filter. - * @param filters specify the list of filters to be used. - * - * @return a boolean indicating whether the URI has been changed - */ - bool filterURI( TQString &uri, const TQStringList& filters = TQStringList() ); - - /** - * Returns the filtered URI. - * - * The given URL is filtered based on the specified list of filters. - * If the list is empty all available filters would be used. - * - * @param uri The URI to filter. - * @param filters specify the list of filters to be used. - * - * @return the filtered URI or null if it cannot be filtered - */ - KURL filteredURI( const KURL &uri, const TQStringList& filters = TQStringList() ); - - /** - * Return a filtered string representation of a URI. - * - * The given URL is filtered based on the specified list of filters. - * If the list is empty all available filters would be used. - * - * @param uri the URI to filter. - * @param filters specify the list of filters to be used. - * - * @return the filtered URI or null if it cannot be filtered - */ - TQString filteredURI( const TQString &uri, const TQStringList& filters = TQStringList() ); - - /** - * Return an iterator to iterate over all loaded - * plugins. - * - * @return a plugin iterator. - */ - TQPtrListIterator pluginsIterator() const; - - /** - * Return a list of the names of all loaded plugins. - * - * @return a TQStringList of plugin names - * @since 3.1 - */ - TQStringList pluginNames() const; - -protected: - - /** - * A protected constructor. - * - * This constructor creates a KURIFilter and - * initializes all plugins it can find by invoking - * loadPlugins. - */ - KURIFilter(); - - /** - * Loads all allowed plugins. - * - * This function loads all filters that have not - * been disbled. - */ - void loadPlugins(); - -private: - static KURIFilter *s_self; - KURIFilterPluginList m_lstPlugins; - KURIFilterPrivate *d; -}; - -#endif diff --git a/python/pykde/importTest.py b/python/pykde/importTest.py deleted file mode 100644 index 9f457719..00000000 --- a/python/pykde/importTest.py +++ /dev/null @@ -1,22 +0,0 @@ -print "\nTesting PyKDE module imports\n" -try: - import pykdeconfig -except: - print "Can't find pykdeconfig.py - please check installation" - raise - -pykdecfg = pykdeconfig.Configuration () - -#modules = ["dcop", "kdecore", "kdesu", "kdefx", "kdeui", "kio", "kfile", "kparts", "khtml", "kjs", "kspell", "kdeprint"] -print "Modules built:" -print " ",pykdecfg.pykde_modules -print -print "Importing:" -print - -for mod in pykdecfg.pykde_modules.split(): - print mod - if mod != "kdesu": - exec ("import " + mod) - -print diff --git a/python/pykde/postproc b/python/pykde/postproc deleted file mode 100755 index db795ca6..00000000 --- a/python/pykde/postproc +++ /dev/null @@ -1,520 +0,0 @@ -#!/usr/bin/python - -import sys, getopt, os, os.path, fnmatch, string, StringIO - -#---------- globals ---------- - -FALSE = 0 -TRUE = not FALSE - -ops = ['tr', 'qtNoTr', 'shpix', 'notify', 'varhier', 'appQuit', "kjsfix", "fixQVariant", "fixSignal"] -operation = '' -opPath = '' -pattern = '' - - -# --------- support functions ---------- - -def getOptions (): - global pattern - arglist = sys.argv [1:] - shortOptions = "p:o:" - longOptions = "path= op=" - - try: - optlist, args = getopt.getopt (arglist, shortOptions, longOptions) - except getopt.GetoptError: - optlist = [] - args = [] - - if (optlist == []) or (len (args) != 1): - print '\nUsage: postproc -p -o \n' - return FALSE - - pattern = args [0] - return checkOptions (optlist) - -def checkOptions (optlist): - havePath = FALSE - haveOp = FALSE - - for pair in optlist: - if (pair [0] == '--path') or (pair [0] == '-p'): - if not checkPath (pair [1]): - print '\nPath ' + pair [1] + ' does not exist\n' - else: - havePath = TRUE - - elif (pair [0] == '--op') or (pair [0] == '-o'): - if not checkOp (pair [1]): - print '\nOperation ' + pair [1] + ' does not exist\n' - else: - haveOp = TRUE - - return havePath and haveOp - -def checkPath (path): - global opPath - if not os.path.exists (path): - return FALSE - - opPath = path - if not (opPath [-1] == '/'): - opPath = opPath + '/' - - return TRUE - - -def checkOp (op): - global operation - if not op in ops: - return FALSE - - operation = op - return TRUE - -def getFilelist (): - filelist = [] - tmpfilelist = os.listdir (opPath) - for fn in tmpfilelist: - if fnmatch.fnmatchcase (fn, pattern): - filelist.append (fn) - - return filelist - -# --------- operations ---------- - -# removes sipDo__tr and table reference ('sipName_qt_tr') -# because KDE2 is compiled with QT_NO_TRANSLATION defined (which also -# makes QObject::tr methods invisible to any KDE2 QObject descendants) - -def trFix (filelist): - for fn in filelist: - m = open (opPath + fn, 'r') - tmpname = os.path.splitext (fn) [0] + '.tmp' - tmp = StringIO.StringIO () - - buff = m.readlines () - m.close () - - i = 0 - nLines = len (buff) - - # skip leading comments - while (i < nLines) and (buff [i][0:1] == '//'): - tmp.write (buff [i]) - i = i + 1 - - # find classname - while (i < nLines) and (not string.find (buff [i], 'PyObject *sipClass_') == 0): - tmp.write (buff [i]) - i = i + 1 - - if i >= nLines: # no classname - don't bother - tmp.close () - continue - - classname = buff [i][19:-2] - - trStr = 'static PyObject *sipDo_' + classname + '_tr(PyObject *sipThisObj,PyObject *sipArgs)\n' - - while (i < nLines) and (buff [i] != trStr): - tmp.write (buff [i]) - i = i + 1 - - if i >= nLines: # no sipDo_*_tr - done - tmp.close () - continue - - # skip over this method without writing it out - while (i < nLines) and (buff [i][0] != '}'): - i = i + 1 - - i = i + 1 # skip the '}' too - - - while (i < nLines): - # skip sipName_qt_tr table entry/write out everything else - if string.find (buff [i], '{sipName_qt_tr') < 0: - tmp.write (buff [i]) - i = i + 1 - - tmpfile = open (opPath + tmpname, 'w') - tmpfile.write (tmp.getvalue ()) - tmpfile.close () - tmp.close () - os.unlink (opPath + fn) - os.rename (opPath + tmpname, opPath + fn) - - return TRUE - -def qtNoTr (filelist): - for fn in filelist: - m = open (opPath + fn, 'r') - tmpname = os.path.splitext (fn) [0] + '.tmp' - tmp = StringIO.StringIO () - - buff = m.readlines () - m.close () - - i = 0 - nLines = len (buff) - - while (i < nLines) and (string.find (buff [i], 'Q_OBJECT') < 0): - tmp.write (buff [i]) - i = i + 1 - - tmp.write ("#define QT_NO_TRANSLATION\n") - - while (i < nLines): - tmp.write (buff [i]) - i = i + 1 - - tmpfile = open (opPath + tmpname, 'w') - tmpfile.write (tmp.getvalue ()) - tmpfile.close () - tmp.close () - os.unlink (opPath + fn) - os.rename (opPath + tmpname, opPath + fn) - - return TRUE - -# changes QPaintDevice to KPixmap for two method calls -# gcc reports QPaintDevice as "ambiguous" - -def shpix (): - # if concatenated, the sip*.cpp file doesn't exist - fn = ['sipkdeuiKSharedPixmap.cpp'] - if not os.path.exists (os.path.join (opPath, fn [0])): - files = os.listdir (opPath) - fn = [] - for file in files: - if string.find (file, "kdeuipart") >= 0 and file [-4:] == ".cpp": - fn.append (file) - - if not fn: - return FALSE - - for file in fn: - m = open (os.path.join (opPath, file), 'r') - tmpname = os.path.splitext (file) [0] + '.tmp' - - buff = m.readlines () - m.close () - - changed = 0 - state = None - for ln in range (0, len (buff)): - line = buff [ln] - if string.find (line, "sipKSharedPixmap::resolution") >= 0: - state = "res" - elif string.find (line, "sipKSharedPixmap::setResolution") >= 0: - state = "setRes" - else: - state = None - - if state and changed < 2: - changed = changed + 1 - while "}" not in line: - ln = ln + 1 - line = buff [ln] - if state == "res": - buff [ln] = string.replace (line, "QPaintDevice::resolution", "KPixmap::resolution") - elif state == "setRes": - buff [ln] = string.replace (line, "QPaintDevice::setResolution", "KPixmap::setResolution") - - tmpfile = open (os.path.join (opPath, tmpname), 'w') - for line in buff: - tmpfile.write (line) - tmpfile.close () - os.unlink (os.path.join (opPath, file)) - os.rename (os.path.join (opPath, tmpname), os.path.join (opPath, file)) - - return TRUE - -def notify (): - fn = os.path.join (opPath, pattern) - m = open (fn, "r") - tmpname = fn + '.tmp' - - buff = m.readlines () - m.close () - tmpfile = open (tmpname, 'w') - - tmpBuff = [] - flag = 0 - for line in buff: - if string.find (line, "class KNotify:") >= 0: - flag = 1 - - elif flag == 1 and string.find (line, "class KNotifyWidgetBase(QWidget):") >= 0: - flag = 2 - - elif flag == 2 and string.find (line, "class KNotifyWidget(KNotifyWidgetBase):") >= 0: - for ln in tmpBuff: - tmpfile.write (ln) - flag = 0 - - if flag != 1: - tmpfile.write (line) - else: - tmpBuff.append (line) - - tmpfile.close () - os.unlink (fn) - os.rename (tmpname, fn) - - return TRUE - -def varhier (filelist): - for fn in filelist: - m = open (opPath + fn, 'r') - tmpname = os.path.splitext (fn) [0] + '.tmp' - tmp = StringIO.StringIO () - - buff = m.readlines () - m.close () - - i = 0 - nLines = len (buff) - - while (i < nLines) and (string.find (buff [i], 'PyMethodDef *sipClassVarHierTab_') < 0): - tmp.write (buff [i]) - i = i + 1 - - while (i < nLines) and (string.find (buff [i], "};") < 0): - tmp.write (buff [i]) - i = i + 1 - - if i < nLines: - flag = TRUE - tmp.write (buff [i] + "\n") - while i < nLines: - if not flag: - tmp.write (buff [i]) - - if flag and not ((string.find (buff [i], "};") >= 0) or (string.find (buff [i], "NULL") >= 0)): - flag = FALSE - - i = i + 1 - - tmpfile = open (opPath + tmpname, 'w') - tmpfile.write (tmp.getvalue ()) - tmpfile.close () - tmp.close () - os.unlink (opPath + fn) - os.rename (opPath + tmpname, opPath + fn) - - return TRUE - - -def appQuit (filelist): - for fn in filelist: - m = open (opPath + fn, 'r') - tmpname = os.path.splitext (fn) [0] + '.tmp' - tmp = StringIO.StringIO () - - buff = m.readlines () - m.close () - - i = 0 - nLines = len (buff) - - while (i < nLines) and (string.find (buff [i], 'import libsip') < 0): - tmp.write (buff [i]) - i = i + 1 - - tmp.write (buff [i] + "\nfrom qt import QCloseEvent") - i = i + 1 - - while (i < nLines) and (string.find (buff [i], "class KApplication") < 0): - tmp.write (buff [i]) - i = i + 1 - - count = 0 - while count < 2: - while (i < nLines) and (string.find (buff [i], "return") < 0): - tmp.write (buff [i]) - i = i + 1 - - tmp.write (buff [i]) - i = i + 1 - count = count + 1 - - tmp.write (\ -"""\tdef quit (self): -\t\tk = KApplication.kApplication () -\t\te = QCloseEvent () - -\t\tfor w in k.topLevelWidgets (): -\t\t\tif w.inherits ("KMainWindow"): -\t\t\t\tk.sendEvent (w, e) -\t\t\t\tif not e.isAccepted (): -\t\t\t\t\treturn - -\t\tQApplication.quit (self) -""") - - while (i < nLines): - tmp.write (buff [i]) - i = i + 1 - - tmpfile = open (opPath + tmpname, 'w') - tmpfile.write (tmp.getvalue ()) - tmpfile.close () - tmp.close () - os.unlink (opPath + fn) - os.rename (opPath + tmpname, opPath + fn) - - return True - -def fixQVariant (): - infile = os.path.join (opPath, "sipkdecorecmodule.cpp") - if not os.path.exists (infile): - infile = os.path.join (opPath, "sipkdecorepart0.cpp") - if not os.path.exists (infile): - return TRUE - - m = open (infile, "r") - n = open (infile + ".new", "w") - looking = True - for line in m: - if looking and line.find ("sipAPIkdecore.h") > 0: - n.write (line) - n.write ('\n#include "sipqtQVariant.h"\n\n') - looking = False - continue - - n.write (line) - - m.close () - n.close () - os.unlink (infile) - os.rename (infile + ".new", infile) - - return TRUE - -def fixSignal (filelist): - for file in filelist: - if file [-1] == "h": - times = 1 - else: - times = 2 - - infile = os.path.join (opPath, file) - m = open (infile, "r") - n = open (infile + ".new", "w") - - count = 0 - for line in m: - if count < times: - if string.find (line, "proxySlot(unsigned long)") > 0\ - or string.find (line, "proxySlot(unsigned long a0)") > 0: - line = string.replace (line, "unsigned long", "WId") - count = count + 1 - - n.write (line) - - m.close () - n.close () - os.unlink (infile) - os.rename (infile + ".new", infile) - - return TRUE - - -def kjsfix (filelist): - for fn in filelist: - if not os.path.exists (opPath + fn): - continue - m = open (opPath + fn, 'r') - tmpname = os.path.splitext (fn) [0] + '.tmp' - - buff = m.readlines () - m.close () - - i = 0 - nLines = len (buff) - - purevirt = ["toPrimitive", "toBoolean", "toNumber", "toString", "toObject"] - - while (i < nLines): - if string.find (buff [i], "KJS::ExecState") >= 0: - for pv in purevirt: - if string.find (buff [i], pv) >= 0: - i = i + 2 - buff [i] = "\t\treturn KJS::ObjectImp::%s(a0);" % pv - i = i + 1 - while string.find (buff [i], "}") < 0: - buff [i] = "" - i = i + 1 - break - i = i + 1 - - tmpfile = open (opPath + tmpname, 'w') - i = 0 - while (i < nLines): - tmpfile.write (buff [i]) - i = i + 1 - tmpfile.close () - os.unlink (opPath + fn) - os.rename (opPath + tmpname, opPath + fn) - - return TRUE - -# --------- main ---------- - -if not getOptions (): - sys.exit (-1) - -if operation != "shpix": - filelist = getFilelist () - if filelist == []: - sys.exit (0) - -if operation == "tr": - if not trFix (filelist): - print 'operation error -- tr' - sys.exit (-1) - -elif operation == 'qtNoTr': - if not qtNoTr (filelist): - print 'operation error -- qtNoTr' - sys.exit (-1) - -elif operation == 'shpix': - if not shpix (): - print 'operation error -- shpix' - sys.exit (-1) - -elif operation == "notify": - if not notify (): - print "operation error -- notify" - sys.exit (-1) - -elif operation == "varhier": - if not varhier (filelist): - print "operation error -- varhier" - sys.exit (-1) - -elif operation == "appQuit": - if not appQuit (filelist): - print "operation error -- appQuit" - sys.exit (-1) - -elif operation == "kjsfix": - if not kjsfix (filelist): - print "operation error -- kjsfix" - sys.exit (-1) - -elif operation == "fixQVariant": - if not fixQVariant (): - print "operation error -- fixQVariant" - sys.exit (-1) - -elif operation == "fixSignal": - if not fixSignal (filelist): - print "operation error -- fixSignal" - sys.exit (-1) - -sys.exit (0) diff --git a/python/pykde/pykde350.prj b/python/pykde/pykde350.prj deleted file mode 100644 index 4d6a17eb..00000000 --- a/python/pykde/pykde350.prj +++ /dev/null @@ -1,495 +0,0 @@ - -// Copyright 2002-2003 Jim Bublitz - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 59 Temple Place - Suite 331, Boston, MA 02110-1301, USA. - - -// project file for PyKDE -// ---------------------- - - -// ------------- project data --------------- - -project = PyKDE - -destination = /home/jim/PyKDE350 -source = /server/source/KDESrc/kdelibs-3.5.0 -compare = /opt/kde3/include -importpath = /usr/share/sip -prevpath = /home/jim/PyKDE/sip - -version = KDE_3_5_0 -secondary = WS_X11 -previous = KDE_3_4_3 - -license = GPL -copyright = - - -// ------------- module data ---------------- - -module = dcop - -timeline = KDE_3_0_0 KDE_3_0_1 KDE_3_0_3 KDE_3_1_0 KDE_3_1_1 KDE_3_1_2 KDE_3_1_3 KDE_3_1_4 KDE_3_1_5 KDE_3_2_0 KDE_3_2_1 KDE_3_2_2 KDE_3_2_3 KDE_3_3_0 KDE_3_3_1 KDE_3_3_2 KDE_3_4_0 KDE_3_4_1 KDE_3_4_2 KDE_3_4_3 KDE_3_5_0 -source = $SRC/dcop $DST/extra/kde350/dcop -ignore = dcopc.h dcopserver.h dcopsignals.h kdatastream.h dcoptypes.h -compare = $COMP $DST/extra/kde350/dcop -subst = $DST/extra/kde350 -import = qtmod.sip (Qt_3_0_0 Qt_4_0_0 WS_X11) -importpath = $IMP -sipslot = callBackObj callBackSlot dcopClient -include = ../extra/kde350/dcop -libs = -L@BL_KDEDIR@ -lsip -lqtcmodule -lDCOP -define = "KDE_DEPRECATED", "" -define = "DCOP_EXPORT", "" - -retain - -// ----------------------------------------- - -module = kdecore - -//trace = kapplication.h - -source = $SRC/kdecore -ignore = netwm_p.h kde_dmalloc.h kunload.h kdatastream.h ksockaddr.h kextsock.h ksocks.h -ignore = ksycocaentry.h ksycocafactory.h ksycocatype.h ksycoca.h kapp.h kstandarddirs.h -ignore = kgenericfactory.h ktypelist.h kvmallocator.h ksortablevaluelist.h -ignore = kextendedsocket.h klargefile.h kdebug.h kdebugclasses.h kxmessages.h kaccelmanager.h -ignore = kdemacros.h kxerrorhandler.h fixx11.h kuser.h kuniqueapp.h kde_file.h kdelibs_export.h -ignore = kswap.h -compare = $COMP $DST/extra/kde350 -subst = $DST/extra/kde350 -import = qtmod.sip (Qt_3_0_0 Qt_4_0_0 WS_X11) -import = dcop -importpath = $IMP -include = -libs = -L@BL_KDEDIR@ -lsip -lqtcmodule -lDCOP -lkdecore -ldcopcmodule -amend = * ctor parent /TransferThis/ -amend = * all parent /Transfer/ -sipslot = pObjSlot psMethodSlot kaccel kglobalaccel -define = "Q_WS_X11", "1" -define = "\(Qt::ALT \<\< 1\)", "16777216" -define = "\(Qt::META\)", "16777216" -define = "enum\ URIMode\ m_iUriMode\ \:\ 3\;", "" -define = "Q_INT32", "long" -define = "Q_UINT32", "ulong" -define = "Q_INT64", "longlong" -define = "Q_UINT64", "ulonglong" -define = "mutable union", "union" -define = "KDECORE_EXPORT", "" -define = "KDE_EXPORT", "" -retain - -// ----------------------------------------- - -module = kdesu - -source = $SRC/kdesu -ignore = -compare = $COMP/kdesu -subst = $DST/extra/kde350 -import = qtmod.sip (Qt_3_0_0 Qt_4_0_0 WS_X11) -import = dcop -import = kdecore -importpath = $IMP -amend = * ctor parent /TransferThis/ -amend = * all parent /Transfer/ -include = ../kdecore @KDE_INCLUDEPATH@/kdesu -libs = -L@BL_KDEDIR@ -lsip -lqtcmodule -lDCOP -lkdecore -lkdesu -ldcopcmodule -lkdecorecmodule - -retain - - -// ----------------------------------------- - -module = kdefx - -ignore = -source = $SRC/kdefx -compare = $COMP -subst = $DST/extra/kde350 -import = qtmod.sip (Qt_3_0_0 Qt_4_0_0 WS_X11) -import = dcop -import = kdecore -importpath = $IMP -amend = * ctor parent /TransferThis/ -amend = * all parent /Transfer/ -include = ../kdecore @KDE_INCLUDEPATH@/kdeprint -libs = -L@BL_KDEDIR@ -lsip -lqtcmodule -lDCOP -lkdefx -lkdeui -lkdecore -lkdecorecmodule -ldcopcmodule -define = "KDEFX_EXPORT", "" - -retain - -// ----------------------------------------- - -module = kdeui - -//trace = kactioncollection.sip - -source = $SRC/kdeui/ -ignore = kcolorbutton.h kcolordlg.h kwidgetid.h kaccelgen.h kdatepik.h kdualcolorbtn.h kxmlgui.h kdockwidget_p.h -ignore = kdockwindow.h ksconfig.h kspell.h kspelldlg.h klistviewlineedit.h ksyntaxhighlighter.h ksharedpixmap.h -compare = $COMP -subst = $DST/extra/kde350 -import = qtmod.sip (Qt_3_0_0 Qt_4_0_0 WS_X11) -import = qtxmlmod.sip (Qt_3_0_0 Qt_4_0_0 WS_X11) -import = dcop -import = kdecore -import = kdefx -importpath = $IMP -include = ../dcop ../kdecore ../pythonize ../pykpanelapplet -libs = -L@BL_KDEDIR@ -lsip -lqtcmodule -lqtxmlcmodule -lDCOP -lkdecore -lkdeui\ - -ldcopcmodule -lkdecorecmodule -lqt-mt -lkdefx -lkdefxcmodule -lpythonize -amend = * ctor parent /TransferThis/ -amend = KDockMainWindow all parent /TransferThis/ -amend = KDockArea all parent /TransferThis/ -amend = * all parent /Transfer/ -sipslot = receiver member kaccelmenu -sipslot = receiver slot kaction kactionclasses kbuttonbox ktoolbar -sipslot = recvr slot kstdaction -define = "QT_VERSION", "301" -define = "KDEUI_EXPORT", "" - -retain - -// ----------------------------------------- - -module = kio - -source = $SRC/kio/kio $DST/extra/kde350/kio -ignore = kmdbase.h uiserver_stub.h kdirnotify_stub.h uiserver.h http_slave_defaults.h ioslave_defaults.h -ignore = kmimetyperesolver.h -compare = $COMP $COMP/kio -subst = $DST/extra/kde350 -import = qtmod.sip (Qt_3_0_0 Qt_4_0_0 WS_X11) -import = qtxmlmod.sip (Qt_3_0_0 Qt_4_0_0 WS_X11) -import = dcop -import = kdecore -import = kdefx -import = kdeui -importpath = $IMP -amend = * ctor parent /TransferThis/ -amend = * all parent /Transfer/ -include = ../extra/kde350/kio @KDE_INCLUDEPATH@/kio ../kdecore -libs = -L@BL_KDEDIR@ -lsip -lqtcmodule -lDCOP -lkio -lkdeui -lkdecore -ldcopcmodule\ - -lkdecorecmodule -lkdeuicmodule -sipslot = -define = "\(KIO::filesize_t\)\-1", "-1" -define = "KIO_EXPORT_DEPRECATED", "" -define = "KIO_EXPORT", "" - -retain - -// ----------------------------------------- - -module = kresources - -source = $SRC/kresources -ignore = -compare = $COMP $COMP/kresources -subst = -ignore = manager.h manageriface.h managerimpl.h -import = qtmod.sip (Qt_3_0_0 Qt_4_0_0 WS_X11) -import = qtxmlmod.sip (Qt_3_0_0 Qt_4_0_0 WS_X11) -import = dcopmod.sip -import = kdecoremod.sip -import = kdefxmod.sip -import = kdeuimod.sip -import = kiomod.sip -importpath = $IMP -libs = -L@BL_KDEDIR@ -lsip -lqtcmodule -lkresources -define = "KDE_DEPRECATED", "" -define = "KRESOURCES_EXPORT", "" - -retain - -// ----------------------------------------- - -module = kabc - -source = $SRC/kabc -ignore = -compare = $COMP $COMP/kabc -subst = -import = qtmod.sip (Qt_3_0_0 Qt_4_0_0 WS_X11) -import = qtxmlmod.sip (Qt_3_0_0 Qt_4_0_0 WS_X11) -import = dcopmod.sip -import = kdecoremod.sip -import = kdefxmod.sip -import = kdeuimod.sip -import = kiomod.sip -import = kresourcesmod.sip -importpath = $IMP -libs = -L@BL_KDEDIR@ -lsip -lqtcmodule -lkabc -define = "KDE_DEPRECATED", "" -define = "KABC_EXPORT", "" -define = "typedef enum", "enum" - -retain - -// ----------------------------------------- - -module = kutils - -source = $SRC/kutils/ -ignore = -compare = $COMP -subst = $DST/extra/kde350 -ignore = kcmodulecontainer.h -import = qtmod.sip (Qt_3_0_0 Qt_4_0_0 WS_X11) -import = dcopmod.sip -import = kdecoremod.sip -import = qtxmlmod.sip -import = kdefxmod.sip -import = kdeuimod.sip -//import = kiomod.sip -//import = kfilemod.sip -//import = kpartsmod.sip -importpath = $IMP -include = ../dcop ../kdecore ../kdeui ../pythonize ../pykpanelapplet -libs = -L@BL_KDEDIR@ -lsip -lqtcmodule -lqtxmlcmodule -lDCOP -lkdecore -lkdeui\ - -ldcopcmodule -lkdecorecmodule -lqt-mt -lkdefx -lkdefxcmodule -lpythonize -lkdeuicmodule\ - -lkutils -define = "class\ KMultiTabBarButton\ \*", "KMultiTabBarButton *" -define = "class\ KMultiTabBarTab\ \*", "KMultiTabBarTab *" - -retain - -// ----------------------------------------- - -module = kfile - -source = $SRC/kio/kfile -ignore = kpropsdlg.h -compare = $COMP $COMP/kio -subst = $DST/extra/kde350 -import = qtmod.sip (Qt_3_0_0 Qt_4_0_0 WS_X11) -import = qtxmlmod.sip (Qt_3_0_0 Qt_4_0_0 WS_X11) -import = dcop -import = kdecore -import = kdefx -import = kdeui -import = kio -importpath = $IMP -amend = * ctor parent /TransferThis/ -amend = * all parent /Transfer/ -include = @KDE_INCLUDEPATH@/kio ../kdecore ../kio -libs = -L@BL_KDEDIR@ -lsip -lqtcmodule -lDCOP -lkio -lkdeui -lkdecore -ldcopcmodule\ - -lkdecorecmodule -lkdeuicmodule -lkiocmodule - -retain - -// ----------------------------------------- - -module = kparts - -source = $SRC/kparts -ignore = componentfactory.h -compare = $COMP/kparts -subst = $DST/extra/kde350 -import = qtmod.sip (Qt_3_0_0 Qt_4_0_0 WS_X11) -import = qtxmlmod.sip (Qt_3_0_0 Qt_4_0_0 WS_X11) -import = dcop -import = kdecore -import = kdefx -import = kdeui -import = kio -importpath = $IMP -amend = * ctor parent /TransferThis/ -amend = * all parent /Transfer/ -include = @KDE_INCLUDEPATH@/kparts @KDE_INCLUDEPATH@/kio ../kdecore ../kio -libs = -L@BL_KDEDIR@ -lsip -lqtcmodule -lDCOP -lkparts -lkdeui -lkdecore -lkio -lkdeuicmodule\ - -lkdecorecmodule -lkiocmodule -ldcopcmodule -lkiocmodule - -retain - -// ----------------------------------------- - -module = khtml - -source = $SRC/khtml $SRC/khtml/dom -ignore = khtmldefaults.h dom_core.h dom_html.h khtml_events.h -compare = $COMP $COMP/dom -subst = $DST/extra/kde350 -import = qtmod.sip (Qt_3_0_0 Qt_4_0_0 WS_X11) -import = qtxmlmod.sip (Qt_3_0_0 Qt_4_0_0 WS_X11) -import = dcop -import = kdecore -import = kdefx -import = kdeui -import = kio -import = kutils -import = kparts -importpath = $IMP -amend = * ctor parent /TransferThis/ -amend = * all parent /Transfer/ -include = @KDE_INCLUDEPATH@/khtml @KDE_INCLUDEPATH@/dom @KDE_INCLUDEPATH@/kparts\ - @KDE_INCLUDEPATH@/kio ../kdecore ../kio -libs = -L@BL_KDEDIR@ -lsip -lqtcmodule -lDCOP -lkdeui -lkhtml -lkparts -lkdecore -lkio\ - -lkdeuicmodule -lkdecorecmodule -lkiocmodule -lkpartscmodule -ldcopcmodule - -define = "KHTML_EXPORT", "" -retain - -// ----------------------------------------- - -//module = kjs - -//source = $SRC/kjs -//ignore = global.h -//compare = $COMP/kjs $DST/extra/kde350 -//subst = $DST/extra/kde350 -//import = qtmod.sip (Qt_3_0_0 Qt_4_0_0 WS_X11) -//import = qtxmlmod.sip (Qt_3_0_0 Qt_4_0_0 WS_X11) -//import = dcop -//import = kdecore -//import = kdefx -//import = kdeui -//import = kio -//import = kparts -//import = khtml -//importpath = $IMP -//include = @KDE_INCLUDEPATH@/kjs @KDE_INCLUDEPATH@/dom @KDE_INCLUDEPATH@/kio\ -// ../kdecore ../kio -//amend = * ctor parent /TransferThis/ -//amend = * all parent /Transfer/ -//libs = -L@BL_KDEDIR@ -lsip -lqtcmodule -lDCOP -lkjs -lkdeui -lkdecore -lkio -lkhtml\ -// -lkdeuicmodule -lkdecorecmodule -lkhtmlcmodule -lkiocmodule -ldcopcmodule - -//retain - -// ----------------------------------------- - -module = kspell - -ignore = -source = $DST/extra/kde350/kspell -compare = $COMP -subst = $DST/extra/kde350 -import = qtmod.sip (Qt_3_0_0 Qt_4_0_0 WS_X11) -import = qtxmlmod.sip (Qt_3_0_0 Qt_4_0_0 WS_X11) -import = dcop -import = kdecore -import = kdefx -import = kdeui -import = kfile -importpath = $IMP -include = ../kdecore @KDE_INCLUDEPATH@/kio -amend = * ctor parent /TransferThis/ const KGuiItem& nullGuiItem (QString::null); - -amend = * all parent /Transfer/ -libs = -L@BL_KDEDIR@ -lsip -lqtcmodule -lDCOP -lkspell -lkdeui -lkdecore -lkio\ - -lkdecorecmodule -lkdeuicmodule -lkfilecmodule -ldcopcmodule -sipslot = obj slot kspell - -code -%PrePythonCode -import kfile -%End -end - -retain - -// ----------------------------------------- - -module = kdeprint - -ignore = driver.h -source = $SRC/kdeprint -compare = $COMP $COMP/kdeprint -subst = $DST/extra/kde350 -import = qtmod.sip (Qt_3_0_0 Qt_4_0_0 WS_X11) -import = qtxmlmod.sip (Qt_3_0_0 Qt_4_0_0 WS_X11) -import = dcop -import = kdecore -import = kdefx -import = kdeui -importpath = $IMP -amend = * ctor parent /TransferThis/ -amend = * all parent /Transfer/ -include = ../kdecore @KDE_INCLUDEPATH@/kdeprint -libs = -L@BL_KDEDIR@ -lsip -lqtcmodule -lDCOP -lkdeprint -lkdecore -lkdecorecmodule\ - -ldcopcmodule -lkdeui -lkdeuicmodule -define = "KDEPRINT_EXPORT", "" -retain - -// ----------------------------------------- - -module = kmdi - -source = $SRC/kmdi/ -ignore = -compare = $COMP -subst = $DST/extra/kde350 -import = qtmod.sip (Qt_3_0_0 Qt_4_0_0 WS_X11) -import = dcopmod.sip -import = kdecoremod.sip -import = qtxmlmod.sip -import = kdefxmod.sip -import = kdeuimod.sip -//import = kiomod.sip -//import = kfilemod.sip -//import = kpartsmod.sip -importpath = $IMP -ignore = kmdiiterator.h kmdilistiterator.h kmdinulliterator.h - -include = ../dcop ../kdecore ../kdeui ../pythonize ../pykpanelapplet -libs = -L@BL_KDEDIR@ -lsip -lqtcmodule -lqtxmlcmodule -lDCOP -lkdecore -lkdeui\ - -ldcopcmodule -lkdecorecmodule -lqt-mt -lkdefx -lkdefxcmodule -lpythonize -lkdeuicmodule\ - -lkmdi -define = "QT_VERSION", "301" -define = "QMainWindow::ToolBarDock", "Qt::Dock" - -retain - - -// ----------------------------------------- - -//module = kspell2 - -//source = $SRC/kspell2/ -//ignore = -//compare = $COMP -//subst = $DST/extra/kde350 -//import = qtmod.sip (Qt_3_0_0 Qt_4_0_0 WS_X11) -//import = dcopmod.sip -//import = kdecoremod.sip -//import = qtxmlmod.sip -//import = kdefxmod.sip -//import = kdeuimod.sip -////import = kiomod.sip -////import = kfilemod.sip -////import = kpartsmod.sip -//importpath = $IMP -//include = ../dcop ../kdecore ../kdeui ../pythonize ../pykpanelapplet -//libs = -L@BL_KDEDIR@ -lsip -lqtcmodule -lqtxmlcmodule -lDCOP -lkdecore -lkdeui\ -// -ldcopcmodule -lkdecorecmodule -lqt-mt -lkdefx -lkdefxcmodule -lpythonize -lkdeuicmodule\ -// -lkspell2 -// -//retain - - - // ------------- build data ----------------- - -//build - -//release = 3.7-1 -//version = 3.7 -//usingQt -//usingKDE - - diff --git a/python/pykde/pykde351.prj b/python/pykde/pykde351.prj deleted file mode 100644 index e2960a8c..00000000 --- a/python/pykde/pykde351.prj +++ /dev/null @@ -1,495 +0,0 @@ - -// Copyright 2002-2003 Jim Bublitz - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 59 Temple Place - Suite 331, Boston, MA 02110-1301, USA. - - -// project file for PyKDE -// ---------------------- - - -// ------------- project data --------------- - -project = PyKDE - -destination = /home/jim/PyKDE351 -source = /server/source/KDESrc/kdelibs-3.5.1 -compare = /opt/kde3/include -importpath = /usr/share/sip -prevpath = /home/jim/PyKDE/sip - -version = KDE_3_5_1 -secondary = WS_X11 -previous = KDE_3_5_0 - -license = GPL -copyright = - - -// ------------- module data ---------------- - -module = dcop - -timeline = KDE_3_0_0 KDE_3_0_1 KDE_3_0_3 KDE_3_1_0 KDE_3_1_1 KDE_3_1_2 KDE_3_1_3 KDE_3_1_4 KDE_3_1_5 KDE_3_2_0 KDE_3_2_1 KDE_3_2_2 KDE_3_2_3 KDE_3_3_0 KDE_3_3_1 KDE_3_3_2 KDE_3_4_0 KDE_3_4_1 KDE_3_4_2 KDE_3_4_3 KDE_3_5_0 KDE_3_5_1 -source = $SRC/dcop $DST/extra/kde351/dcop -ignore = dcopc.h dcopserver.h dcopsignals.h kdatastream.h dcoptypes.h -compare = $COMP $DST/extra/kde351/dcop -subst = $DST/extra/kde351 -import = qtmod.sip (Qt_3_0_0 Qt_4_0_0 WS_X11) -importpath = $IMP -sipslot = callBackObj callBackSlot dcopClient -include = ../extra/kde351/dcop -libs = -L@BL_KDEDIR@ -lsip -lqtcmodule -lDCOP -define = "KDE_DEPRECATED", "" -define = "DCOP_EXPORT", "" - -retain - -// ----------------------------------------- - -module = kdecore - -//trace = kapplication.h - -source = $SRC/kdecore -ignore = netwm_p.h kde_dmalloc.h kunload.h kdatastream.h ksockaddr.h kextsock.h ksocks.h -ignore = ksycocaentry.h ksycocafactory.h ksycocatype.h ksycoca.h kapp.h kstandarddirs.h -ignore = kgenericfactory.h ktypelist.h kvmallocator.h ksortablevaluelist.h -ignore = kextendedsocket.h klargefile.h kdebug.h kdebugclasses.h kxmessages.h kaccelmanager.h -ignore = kdemacros.h kxerrorhandler.h fixx11.h kuser.h kuniqueapp.h kde_file.h kdelibs_export.h -ignore = kswap.h -compare = $COMP $DST/extra/kde351 -subst = $DST/extra/kde351 -import = qtmod.sip (Qt_3_0_0 Qt_4_0_0 WS_X11) -import = dcop -importpath = $IMP -include = -libs = -L@BL_KDEDIR@ -lsip -lqtcmodule -lDCOP -lkdecore -ldcopcmodule -amend = * ctor parent /TransferThis/ -amend = * all parent /Transfer/ -sipslot = pObjSlot psMethodSlot kaccel kglobalaccel -define = "Q_WS_X11", "1" -define = "\(Qt::ALT \<\< 1\)", "16777216" -define = "\(Qt::META\)", "16777216" -define = "enum\ URIMode\ m_iUriMode\ \:\ 3\;", "" -define = "Q_INT32", "long" -define = "Q_UINT32", "ulong" -define = "Q_INT64", "longlong" -define = "Q_UINT64", "ulonglong" -define = "mutable union", "union" -define = "KDECORE_EXPORT", "" -define = "KDE_EXPORT", "" -retain - -// ----------------------------------------- - -module = kdesu - -source = $SRC/kdesu -ignore = -compare = $COMP/kdesu -subst = $DST/extra/kde351 -import = qtmod.sip (Qt_3_0_0 Qt_4_0_0 WS_X11) -import = dcop -import = kdecore -importpath = $IMP -amend = * ctor parent /TransferThis/ -amend = * all parent /Transfer/ -include = ../kdecore @KDE_INCLUDEPATH@/kdesu -libs = -L@BL_KDEDIR@ -lsip -lqtcmodule -lDCOP -lkdecore -lkdesu -ldcopcmodule -lkdecorecmodule - -retain - - -// ----------------------------------------- - -module = kdefx - -ignore = -source = $SRC/kdefx -compare = $COMP -subst = $DST/extra/kde351 -import = qtmod.sip (Qt_3_0_0 Qt_4_0_0 WS_X11) -import = dcop -import = kdecore -importpath = $IMP -amend = * ctor parent /TransferThis/ -amend = * all parent /Transfer/ -include = ../kdecore @KDE_INCLUDEPATH@/kdeprint -libs = -L@BL_KDEDIR@ -lsip -lqtcmodule -lDCOP -lkdefx -lkdeui -lkdecore -lkdecorecmodule -ldcopcmodule -define = "KDEFX_EXPORT", "" - -retain - -// ----------------------------------------- - -module = kdeui - -//trace = kactioncollection.sip - -source = $SRC/kdeui/ -ignore = kcolorbutton.h kcolordlg.h kwidgetid.h kaccelgen.h kdatepik.h kdualcolorbtn.h kxmlgui.h kdockwidget_p.h -ignore = kdockwindow.h ksconfig.h kspell.h kspelldlg.h klistviewlineedit.h ksyntaxhighlighter.h ksharedpixmap.h -compare = $COMP -subst = $DST/extra/kde351 -import = qtmod.sip (Qt_3_0_0 Qt_4_0_0 WS_X11) -import = qtxmlmod.sip (Qt_3_0_0 Qt_4_0_0 WS_X11) -import = dcop -import = kdecore -import = kdefx -importpath = $IMP -include = ../dcop ../kdecore ../pythonize ../pykpanelapplet -libs = -L@BL_KDEDIR@ -lsip -lqtcmodule -lqtxmlcmodule -lDCOP -lkdecore -lkdeui\ - -ldcopcmodule -lkdecorecmodule -lqt-mt -lkdefx -lkdefxcmodule -lpythonize -amend = * ctor parent /TransferThis/ -amend = KDockMainWindow all parent /TransferThis/ -amend = KDockArea all parent /TransferThis/ -amend = * all parent /Transfer/ -sipslot = receiver member kaccelmenu -sipslot = receiver slot kaction kactionclasses kbuttonbox ktoolbar -sipslot = recvr slot kstdaction -define = "QT_VERSION", "301" -define = "KDEUI_EXPORT", "" - -retain - -// ----------------------------------------- - -module = kio - -source = $SRC/kio/kio $DST/extra/kde351/kio -ignore = kmdbase.h uiserver_stub.h kdirnotify_stub.h uiserver.h http_slave_defaults.h ioslave_defaults.h -ignore = kmimetyperesolver.h -compare = $COMP $COMP/kio -subst = $DST/extra/kde351 -import = qtmod.sip (Qt_3_0_0 Qt_4_0_0 WS_X11) -import = qtxmlmod.sip (Qt_3_0_0 Qt_4_0_0 WS_X11) -import = dcop -import = kdecore -import = kdefx -import = kdeui -importpath = $IMP -amend = * ctor parent /TransferThis/ -amend = * all parent /Transfer/ -include = ../extra/kde351/kio @KDE_INCLUDEPATH@/kio ../kdecore -libs = -L@BL_KDEDIR@ -lsip -lqtcmodule -lDCOP -lkio -lkdeui -lkdecore -ldcopcmodule\ - -lkdecorecmodule -lkdeuicmodule -sipslot = -define = "\(KIO::filesize_t\)\-1", "-1" -define = "KIO_EXPORT_DEPRECATED", "" -define = "KIO_EXPORT", "" - -retain - -// ----------------------------------------- - -module = kresources - -source = $SRC/kresources -ignore = -compare = $COMP $COMP/kresources -subst = -ignore = manager.h manageriface.h managerimpl.h -import = qtmod.sip (Qt_3_0_0 Qt_4_0_0 WS_X11) -import = qtxmlmod.sip (Qt_3_0_0 Qt_4_0_0 WS_X11) -import = dcopmod.sip -import = kdecoremod.sip -import = kdefxmod.sip -import = kdeuimod.sip -import = kiomod.sip -importpath = $IMP -libs = -L@BL_KDEDIR@ -lsip -lqtcmodule -lkresources -define = "KDE_DEPRECATED", "" -define = "KRESOURCES_EXPORT", "" - -retain - -// ----------------------------------------- - -module = kabc - -source = $SRC/kabc $SRC/kabc/plugins/file -ignore = -compare = $COMP $COMP/kabc -subst = -import = qtmod.sip (Qt_3_0_0 Qt_4_0_0 WS_X11) -import = qtxmlmod.sip (Qt_3_0_0 Qt_4_0_0 WS_X11) -import = dcopmod.sip -import = kdecoremod.sip -import = kdefxmod.sip -import = kdeuimod.sip -import = kiomod.sip -import = kresourcesmod.sip -importpath = $IMP -libs = -L@BL_KDEDIR@ -lsip -lqtcmodule -lkabc -lkabc_file -define = "KDE_DEPRECATED", "" -define = "KABC_EXPORT", "" -define = "typedef enum", "enum" - -retain - -// ----------------------------------------- - -module = kutils - -source = $SRC/kutils/ -ignore = -compare = $COMP -subst = $DST/extra/kde351 -ignore = kcmodulecontainer.h -import = qtmod.sip (Qt_3_0_0 Qt_4_0_0 WS_X11) -import = dcopmod.sip -import = kdecoremod.sip -import = qtxmlmod.sip -import = kdefxmod.sip -import = kdeuimod.sip -//import = kiomod.sip -//import = kfilemod.sip -//import = kpartsmod.sip -importpath = $IMP -include = ../dcop ../kdecore ../kdeui ../pythonize ../pykpanelapplet -libs = -L@BL_KDEDIR@ -lsip -lqtcmodule -lqtxmlcmodule -lDCOP -lkdecore -lkdeui\ - -ldcopcmodule -lkdecorecmodule -lqt-mt -lkdefx -lkdefxcmodule -lpythonize -lkdeuicmodule\ - -lkutils -define = "class\ KMultiTabBarButton\ \*", "KMultiTabBarButton *" -define = "class\ KMultiTabBarTab\ \*", "KMultiTabBarTab *" - -retain - -// ----------------------------------------- - -module = kfile - -source = $SRC/kio/kfile -ignore = kpropsdlg.h -compare = $COMP $COMP/kio -subst = $DST/extra/kde351 -import = qtmod.sip (Qt_3_0_0 Qt_4_0_0 WS_X11) -import = qtxmlmod.sip (Qt_3_0_0 Qt_4_0_0 WS_X11) -import = dcop -import = kdecore -import = kdefx -import = kdeui -import = kio -importpath = $IMP -amend = * ctor parent /TransferThis/ -amend = * all parent /Transfer/ -include = @KDE_INCLUDEPATH@/kio ../kdecore ../kio -libs = -L@BL_KDEDIR@ -lsip -lqtcmodule -lDCOP -lkio -lkdeui -lkdecore -ldcopcmodule\ - -lkdecorecmodule -lkdeuicmodule -lkiocmodule - -retain - -// ----------------------------------------- - -module = kparts - -source = $SRC/kparts -ignore = componentfactory.h -compare = $COMP/kparts -subst = $DST/extra/kde351 -import = qtmod.sip (Qt_3_0_0 Qt_4_0_0 WS_X11) -import = qtxmlmod.sip (Qt_3_0_0 Qt_4_0_0 WS_X11) -import = dcop -import = kdecore -import = kdefx -import = kdeui -import = kio -importpath = $IMP -amend = * ctor parent /TransferThis/ -amend = * all parent /Transfer/ -include = @KDE_INCLUDEPATH@/kparts @KDE_INCLUDEPATH@/kio ../kdecore ../kio -libs = -L@BL_KDEDIR@ -lsip -lqtcmodule -lDCOP -lkparts -lkdeui -lkdecore -lkio -lkdeuicmodule\ - -lkdecorecmodule -lkiocmodule -ldcopcmodule -lkiocmodule - -retain - -// ----------------------------------------- - -module = khtml - -source = $SRC/khtml $SRC/khtml/dom -ignore = khtmldefaults.h dom_core.h dom_html.h khtml_events.h -compare = $COMP $COMP/dom -subst = $DST/extra/kde351 -import = qtmod.sip (Qt_3_0_0 Qt_4_0_0 WS_X11) -import = qtxmlmod.sip (Qt_3_0_0 Qt_4_0_0 WS_X11) -import = dcop -import = kdecore -import = kdefx -import = kdeui -import = kio -import = kutils -import = kparts -importpath = $IMP -amend = * ctor parent /TransferThis/ -amend = * all parent /Transfer/ -include = @KDE_INCLUDEPATH@/khtml @KDE_INCLUDEPATH@/dom @KDE_INCLUDEPATH@/kparts\ - @KDE_INCLUDEPATH@/kio ../kdecore ../kio -libs = -L@BL_KDEDIR@ -lsip -lqtcmodule -lDCOP -lkdeui -lkhtml -lkparts -lkdecore -lkio\ - -lkdeuicmodule -lkdecorecmodule -lkiocmodule -lkpartscmodule -ldcopcmodule - -define = "KHTML_EXPORT", "" -retain - -// ----------------------------------------- - -//module = kjs - -//source = $SRC/kjs -//ignore = global.h -//compare = $COMP/kjs $DST/extra/kde351 -//subst = $DST/extra/kde351 -//import = qtmod.sip (Qt_3_0_0 Qt_4_0_0 WS_X11) -//import = qtxmlmod.sip (Qt_3_0_0 Qt_4_0_0 WS_X11) -//import = dcop -//import = kdecore -//import = kdefx -//import = kdeui -//import = kio -//import = kparts -//import = khtml -//importpath = $IMP -//include = @KDE_INCLUDEPATH@/kjs @KDE_INCLUDEPATH@/dom @KDE_INCLUDEPATH@/kio\ -// ../kdecore ../kio -//amend = * ctor parent /TransferThis/ -//amend = * all parent /Transfer/ -//libs = -L@BL_KDEDIR@ -lsip -lqtcmodule -lDCOP -lkjs -lkdeui -lkdecore -lkio -lkhtml\ -// -lkdeuicmodule -lkdecorecmodule -lkhtmlcmodule -lkiocmodule -ldcopcmodule - -//retain - -// ----------------------------------------- - -module = kspell - -ignore = -source = $DST/extra/kde351/kspell -compare = $COMP -subst = $DST/extra/kde351 -import = qtmod.sip (Qt_3_0_0 Qt_4_0_0 WS_X11) -import = qtxmlmod.sip (Qt_3_0_0 Qt_4_0_0 WS_X11) -import = dcop -import = kdecore -import = kdefx -import = kdeui -import = kfile -importpath = $IMP -include = ../kdecore @KDE_INCLUDEPATH@/kio -amend = * ctor parent /TransferThis/ const KGuiItem& nullGuiItem (QString::null); - -amend = * all parent /Transfer/ -libs = -L@BL_KDEDIR@ -lsip -lqtcmodule -lDCOP -lkspell -lkdeui -lkdecore -lkio\ - -lkdecorecmodule -lkdeuicmodule -lkfilecmodule -ldcopcmodule -sipslot = obj slot kspell - -code -%PrePythonCode -import kfile -%End -end - -retain - -// ----------------------------------------- - -module = kdeprint - -ignore = driver.h -source = $SRC/kdeprint -compare = $COMP $COMP/kdeprint -subst = $DST/extra/kde351 -import = qtmod.sip (Qt_3_0_0 Qt_4_0_0 WS_X11) -import = qtxmlmod.sip (Qt_3_0_0 Qt_4_0_0 WS_X11) -import = dcop -import = kdecore -import = kdefx -import = kdeui -importpath = $IMP -amend = * ctor parent /TransferThis/ -amend = * all parent /Transfer/ -include = ../kdecore @KDE_INCLUDEPATH@/kdeprint -libs = -L@BL_KDEDIR@ -lsip -lqtcmodule -lDCOP -lkdeprint -lkdecore -lkdecorecmodule\ - -ldcopcmodule -lkdeui -lkdeuicmodule -define = "KDEPRINT_EXPORT", "" -retain - -// ----------------------------------------- - -module = kmdi - -source = $SRC/kmdi/ -ignore = -compare = $COMP -subst = $DST/extra/kde351 -import = qtmod.sip (Qt_3_0_0 Qt_4_0_0 WS_X11) -import = dcopmod.sip -import = kdecoremod.sip -import = qtxmlmod.sip -import = kdefxmod.sip -import = kdeuimod.sip -//import = kiomod.sip -//import = kfilemod.sip -//import = kpartsmod.sip -importpath = $IMP -ignore = kmdiiterator.h kmdilistiterator.h kmdinulliterator.h - -include = ../dcop ../kdecore ../kdeui ../pythonize ../pykpanelapplet -libs = -L@BL_KDEDIR@ -lsip -lqtcmodule -lqtxmlcmodule -lDCOP -lkdecore -lkdeui\ - -ldcopcmodule -lkdecorecmodule -lqt-mt -lkdefx -lkdefxcmodule -lpythonize -lkdeuicmodule\ - -lkmdi -define = "QT_VERSION", "301" -define = "QMainWindow::ToolBarDock", "Qt::Dock" - -retain - - -// ----------------------------------------- - -//module = kspell2 - -//source = $SRC/kspell2/ -//ignore = -//compare = $COMP -//subst = $DST/extra/kde351 -//import = qtmod.sip (Qt_3_0_0 Qt_4_0_0 WS_X11) -//import = dcopmod.sip -//import = kdecoremod.sip -//import = qtxmlmod.sip -//import = kdefxmod.sip -//import = kdeuimod.sip -////import = kiomod.sip -////import = kfilemod.sip -////import = kpartsmod.sip -//importpath = $IMP -//include = ../dcop ../kdecore ../kdeui ../pythonize ../pykpanelapplet -//libs = -L@BL_KDEDIR@ -lsip -lqtcmodule -lqtxmlcmodule -lDCOP -lkdecore -lkdeui\ -// -ldcopcmodule -lkdecorecmodule -lqt-mt -lkdefx -lkdefxcmodule -lpythonize -lkdeuicmodule\ -// -lkspell2 -// -//retain - - - // ------------- build data ----------------- - -//build - -//release = 3.7-1 -//version = 3.7 -//usingQt -//usingKDE - - diff --git a/python/pykde/pykde352.prj b/python/pykde/pykde352.prj deleted file mode 100644 index 9f5e7182..00000000 --- a/python/pykde/pykde352.prj +++ /dev/null @@ -1,495 +0,0 @@ - -// Copyright 2002-2003 Jim Bublitz - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 59 Temple Place - Suite 331, Boston, MA 02110-1301, USA. - - -// project file for PyKDE -// ---------------------- - - -// ------------- project data --------------- - -project = PyKDE - -destination = /home/jim/PyKDE352 -source = /server/source/KDESrc/kdelibs-3.5.2 -compare = /opt/kde3/include -importpath = /usr/share/sip -prevpath = /home/jim/PyKDE/sip - -version = KDE_3_5_2 -secondary = WS_X11 -previous = KDE_3_5_1 - -license = GPL -copyright = - - -// ------------- module data ---------------- - -module = dcop - -timeline = KDE_3_0_0 KDE_3_0_1 KDE_3_0_3 KDE_3_1_0 KDE_3_1_1 KDE_3_1_2 KDE_3_1_3 KDE_3_1_4 KDE_3_1_5 KDE_3_2_0 KDE_3_2_1 KDE_3_2_2 KDE_3_2_3 KDE_3_3_0 KDE_3_3_1 KDE_3_3_2 KDE_3_4_0 KDE_3_4_1 KDE_3_4_2 KDE_3_4_3 KDE_3_5_0 KDE_3_5_1 KDE_3_5_2 -source = $SRC/dcop $DST/extra/kde352/dcop -ignore = dcopc.h dcopserver.h dcopsignals.h kdatastream.h dcoptypes.h -compare = $COMP $DST/extra/kde352/dcop -subst = $DST/extra/kde352 -import = qtmod.sip (Qt_3_0_0 Qt_4_0_0 WS_X11) -importpath = $IMP -sipslot = callBackObj callBackSlot dcopClient -include = ../extra/kde352/dcop -libs = -L@BL_KDEDIR@ -lsip -lqtcmodule -lDCOP -define = "KDE_DEPRECATED", "" -define = "DCOP_EXPORT", "" - -retain - -// ----------------------------------------- - -module = kdecore - -//trace = kapplication.h - -source = $SRC/kdecore -ignore = netwm_p.h kde_dmalloc.h kunload.h kdatastream.h ksockaddr.h kextsock.h ksocks.h -ignore = ksycocaentry.h ksycocafactory.h ksycocatype.h ksycoca.h kapp.h kstandarddirs.h -ignore = kgenericfactory.h ktypelist.h kvmallocator.h ksortablevaluelist.h -ignore = kextendedsocket.h klargefile.h kdebug.h kdebugclasses.h kxmessages.h kaccelmanager.h -ignore = kdemacros.h kxerrorhandler.h fixx11.h kuser.h kuniqueapp.h kde_file.h kdelibs_export.h -ignore = kswap.h -compare = $COMP $DST/extra/kde352 -subst = $DST/extra/kde352 -import = qtmod.sip (Qt_3_0_0 Qt_4_0_0 WS_X11) -import = dcop -importpath = $IMP -include = -libs = -L@BL_KDEDIR@ -lsip -lqtcmodule -lDCOP -lkdecore -ldcopcmodule -amend = * ctor parent /TransferThis/ -amend = * all parent /Transfer/ -sipslot = pObjSlot psMethodSlot kaccel kglobalaccel -define = "Q_WS_X11", "1" -define = "\(Qt::ALT \<\< 1\)", "16777216" -define = "\(Qt::META\)", "16777216" -define = "enum\ URIMode\ m_iUriMode\ \:\ 3\;", "" -define = "Q_INT32", "long" -define = "Q_UINT32", "ulong" -define = "Q_INT64", "longlong" -define = "Q_UINT64", "ulonglong" -define = "mutable union", "union" -define = "KDECORE_EXPORT", "" -define = "KDE_EXPORT", "" -retain - -// ----------------------------------------- - -module = kdesu - -source = $SRC/kdesu -ignore = -compare = $COMP/kdesu -subst = $DST/extra/kde352 -import = qtmod.sip (Qt_3_0_0 Qt_4_0_0 WS_X11) -import = dcop -import = kdecore -importpath = $IMP -amend = * ctor parent /TransferThis/ -amend = * all parent /Transfer/ -include = ../kdecore @KDE_INCLUDEPATH@/kdesu -libs = -L@BL_KDEDIR@ -lsip -lqtcmodule -lDCOP -lkdecore -lkdesu -ldcopcmodule -lkdecorecmodule - -retain - - -// ----------------------------------------- - -module = kdefx - -ignore = -source = $SRC/kdefx -compare = $COMP -subst = $DST/extra/kde352 -import = qtmod.sip (Qt_3_0_0 Qt_4_0_0 WS_X11) -import = dcop -import = kdecore -importpath = $IMP -amend = * ctor parent /TransferThis/ -amend = * all parent /Transfer/ -include = ../kdecore @KDE_INCLUDEPATH@/kdeprint -libs = -L@BL_KDEDIR@ -lsip -lqtcmodule -lDCOP -lkdefx -lkdeui -lkdecore -lkdecorecmodule -ldcopcmodule -define = "KDEFX_EXPORT", "" - -retain - -// ----------------------------------------- - -module = kdeui - -//trace = kactioncollection.sip - -source = $SRC/kdeui/ -ignore = kcolorbutton.h kcolordlg.h kwidgetid.h kaccelgen.h kdatepik.h kdualcolorbtn.h kxmlgui.h kdockwidget_p.h -ignore = kdockwindow.h ksconfig.h kspell.h kspelldlg.h klistviewlineedit.h ksyntaxhighlighter.h ksharedpixmap.h -compare = $COMP -subst = $DST/extra/kde352 -import = qtmod.sip (Qt_3_0_0 Qt_4_0_0 WS_X11) -import = qtxmlmod.sip (Qt_3_0_0 Qt_4_0_0 WS_X11) -import = dcop -import = kdecore -import = kdefx -importpath = $IMP -include = ../dcop ../kdecore ../pythonize ../pykpanelapplet -libs = -L@BL_KDEDIR@ -lsip -lqtcmodule -lqtxmlcmodule -lDCOP -lkdecore -lkdeui\ - -ldcopcmodule -lkdecorecmodule -lqt-mt -lkdefx -lkdefxcmodule -lpythonize -amend = * ctor parent /TransferThis/ -amend = KDockMainWindow all parent /TransferThis/ -amend = KDockArea all parent /TransferThis/ -amend = * all parent /Transfer/ -sipslot = receiver member kaccelmenu -sipslot = receiver slot kaction kactionclasses kbuttonbox ktoolbar -sipslot = recvr slot kstdaction -define = "QT_VERSION", "301" -define = "KDEUI_EXPORT", "" - -retain - -// ----------------------------------------- - -module = kio - -source = $SRC/kio/kio $DST/extra/kde352/kio -ignore = kmdbase.h uiserver_stub.h kdirnotify_stub.h uiserver.h http_slave_defaults.h ioslave_defaults.h -ignore = kmimetyperesolver.h -compare = $COMP $COMP/kio -subst = $DST/extra/kde352 -import = qtmod.sip (Qt_3_0_0 Qt_4_0_0 WS_X11) -import = qtxmlmod.sip (Qt_3_0_0 Qt_4_0_0 WS_X11) -import = dcop -import = kdecore -import = kdefx -import = kdeui -importpath = $IMP -amend = * ctor parent /TransferThis/ -amend = * all parent /Transfer/ -include = ../extra/kde352/kio @KDE_INCLUDEPATH@/kio ../kdecore -libs = -L@BL_KDEDIR@ -lsip -lqtcmodule -lDCOP -lkio -lkdeui -lkdecore -ldcopcmodule\ - -lkdecorecmodule -lkdeuicmodule -sipslot = -define = "\(KIO::filesize_t\)\-1", "-1" -define = "KIO_EXPORT_DEPRECATED", "" -define = "KIO_EXPORT", "" - -retain - -// ----------------------------------------- - -module = kresources - -source = $SRC/kresources -ignore = -compare = $COMP $COMP/kresources -subst = -ignore = manager.h manageriface.h managerimpl.h -import = qtmod.sip (Qt_3_0_0 Qt_4_0_0 WS_X11) -import = qtxmlmod.sip (Qt_3_0_0 Qt_4_0_0 WS_X11) -import = dcopmod.sip -import = kdecoremod.sip -import = kdefxmod.sip -import = kdeuimod.sip -import = kiomod.sip -importpath = $IMP -libs = -L@BL_KDEDIR@ -lsip -lqtcmodule -lkresources -define = "KDE_DEPRECATED", "" -define = "KRESOURCES_EXPORT", "" - -retain - -// ----------------------------------------- - -module = kabc - -source = $SRC/kabc $SRC/kabc/plugins/file -ignore = -compare = $COMP $COMP/kabc -subst = -import = qtmod.sip (Qt_3_0_0 Qt_4_0_0 WS_X11) -import = qtxmlmod.sip (Qt_3_0_0 Qt_4_0_0 WS_X11) -import = dcopmod.sip -import = kdecoremod.sip -import = kdefxmod.sip -import = kdeuimod.sip -import = kiomod.sip -import = kresourcesmod.sip -importpath = $IMP -libs = -L@BL_KDEDIR@ -lsip -lqtcmodule -lkabc -lkabc_file -define = "KDE_DEPRECATED", "" -define = "KABC_EXPORT", "" -define = "typedef enum", "enum" - -retain - -// ----------------------------------------- - -module = kutils - -source = $SRC/kutils/ -ignore = -compare = $COMP -subst = $DST/extra/kde352 -ignore = kcmodulecontainer.h -import = qtmod.sip (Qt_3_0_0 Qt_4_0_0 WS_X11) -import = dcopmod.sip -import = kdecoremod.sip -import = qtxmlmod.sip -import = kdefxmod.sip -import = kdeuimod.sip -//import = kiomod.sip -//import = kfilemod.sip -//import = kpartsmod.sip -importpath = $IMP -include = ../dcop ../kdecore ../kdeui ../pythonize ../pykpanelapplet -libs = -L@BL_KDEDIR@ -lsip -lqtcmodule -lqtxmlcmodule -lDCOP -lkdecore -lkdeui\ - -ldcopcmodule -lkdecorecmodule -lqt-mt -lkdefx -lkdefxcmodule -lpythonize -lkdeuicmodule\ - -lkutils -define = "class\ KMultiTabBarButton\ \*", "KMultiTabBarButton *" -define = "class\ KMultiTabBarTab\ \*", "KMultiTabBarTab *" - -retain - -// ----------------------------------------- - -module = kfile - -source = $SRC/kio/kfile -ignore = kpropsdlg.h -compare = $COMP $COMP/kio -subst = $DST/extra/kde352 -import = qtmod.sip (Qt_3_0_0 Qt_4_0_0 WS_X11) -import = qtxmlmod.sip (Qt_3_0_0 Qt_4_0_0 WS_X11) -import = dcop -import = kdecore -import = kdefx -import = kdeui -import = kio -importpath = $IMP -amend = * ctor parent /TransferThis/ -amend = * all parent /Transfer/ -include = @KDE_INCLUDEPATH@/kio ../kdecore ../kio -libs = -L@BL_KDEDIR@ -lsip -lqtcmodule -lDCOP -lkio -lkdeui -lkdecore -ldcopcmodule\ - -lkdecorecmodule -lkdeuicmodule -lkiocmodule - -retain - -// ----------------------------------------- - -module = kparts - -source = $SRC/kparts -ignore = componentfactory.h -compare = $COMP/kparts -subst = $DST/extra/kde352 -import = qtmod.sip (Qt_3_0_0 Qt_4_0_0 WS_X11) -import = qtxmlmod.sip (Qt_3_0_0 Qt_4_0_0 WS_X11) -import = dcop -import = kdecore -import = kdefx -import = kdeui -import = kio -importpath = $IMP -amend = * ctor parent /TransferThis/ -amend = * all parent /Transfer/ -include = @KDE_INCLUDEPATH@/kparts @KDE_INCLUDEPATH@/kio ../kdecore ../kio -libs = -L@BL_KDEDIR@ -lsip -lqtcmodule -lDCOP -lkparts -lkdeui -lkdecore -lkio -lkdeuicmodule\ - -lkdecorecmodule -lkiocmodule -ldcopcmodule -lkiocmodule - -retain - -// ----------------------------------------- - -module = khtml - -source = $SRC/khtml $SRC/khtml/dom -ignore = khtmldefaults.h dom_core.h dom_html.h khtml_events.h -compare = $COMP $COMP/dom -subst = $DST/extra/kde352 -import = qtmod.sip (Qt_3_0_0 Qt_4_0_0 WS_X11) -import = qtxmlmod.sip (Qt_3_0_0 Qt_4_0_0 WS_X11) -import = dcop -import = kdecore -import = kdefx -import = kdeui -import = kio -import = kutils -import = kparts -importpath = $IMP -amend = * ctor parent /TransferThis/ -amend = * all parent /Transfer/ -include = @KDE_INCLUDEPATH@/khtml @KDE_INCLUDEPATH@/dom @KDE_INCLUDEPATH@/kparts\ - @KDE_INCLUDEPATH@/kio ../kdecore ../kio -libs = -L@BL_KDEDIR@ -lsip -lqtcmodule -lDCOP -lkdeui -lkhtml -lkparts -lkdecore -lkio\ - -lkdeuicmodule -lkdecorecmodule -lkiocmodule -lkpartscmodule -ldcopcmodule - -define = "KHTML_EXPORT", "" -retain - -// ----------------------------------------- - -//module = kjs - -//source = $SRC/kjs -//ignore = global.h -//compare = $COMP/kjs $DST/extra/kde352 -//subst = $DST/extra/kde352 -//import = qtmod.sip (Qt_3_0_0 Qt_4_0_0 WS_X11) -//import = qtxmlmod.sip (Qt_3_0_0 Qt_4_0_0 WS_X11) -//import = dcop -//import = kdecore -//import = kdefx -//import = kdeui -//import = kio -//import = kparts -//import = khtml -//importpath = $IMP -//include = @KDE_INCLUDEPATH@/kjs @KDE_INCLUDEPATH@/dom @KDE_INCLUDEPATH@/kio\ -// ../kdecore ../kio -//amend = * ctor parent /TransferThis/ -//amend = * all parent /Transfer/ -//libs = -L@BL_KDEDIR@ -lsip -lqtcmodule -lDCOP -lkjs -lkdeui -lkdecore -lkio -lkhtml\ -// -lkdeuicmodule -lkdecorecmodule -lkhtmlcmodule -lkiocmodule -ldcopcmodule - -//retain - -// ----------------------------------------- - -module = kspell - -ignore = -source = $DST/extra/kde352/kspell -compare = $COMP -subst = $DST/extra/kde352 -import = qtmod.sip (Qt_3_0_0 Qt_4_0_0 WS_X11) -import = qtxmlmod.sip (Qt_3_0_0 Qt_4_0_0 WS_X11) -import = dcop -import = kdecore -import = kdefx -import = kdeui -import = kfile -importpath = $IMP -include = ../kdecore @KDE_INCLUDEPATH@/kio -amend = * ctor parent /TransferThis/ const KGuiItem& nullGuiItem (QString::null); - -amend = * all parent /Transfer/ -libs = -L@BL_KDEDIR@ -lsip -lqtcmodule -lDCOP -lkspell -lkdeui -lkdecore -lkio\ - -lkdecorecmodule -lkdeuicmodule -lkfilecmodule -ldcopcmodule -sipslot = obj slot kspell - -code -%PrePythonCode -import kfile -%End -end - -retain - -// ----------------------------------------- - -module = kdeprint - -ignore = driver.h -source = $SRC/kdeprint -compare = $COMP $COMP/kdeprint -subst = $DST/extra/kde352 -import = qtmod.sip (Qt_3_0_0 Qt_4_0_0 WS_X11) -import = qtxmlmod.sip (Qt_3_0_0 Qt_4_0_0 WS_X11) -import = dcop -import = kdecore -import = kdefx -import = kdeui -importpath = $IMP -amend = * ctor parent /TransferThis/ -amend = * all parent /Transfer/ -include = ../kdecore @KDE_INCLUDEPATH@/kdeprint -libs = -L@BL_KDEDIR@ -lsip -lqtcmodule -lDCOP -lkdeprint -lkdecore -lkdecorecmodule\ - -ldcopcmodule -lkdeui -lkdeuicmodule -define = "KDEPRINT_EXPORT", "" -retain - -// ----------------------------------------- - -module = kmdi - -source = $SRC/kmdi/ -ignore = -compare = $COMP -subst = $DST/extra/kde352 -import = qtmod.sip (Qt_3_0_0 Qt_4_0_0 WS_X11) -import = dcopmod.sip -import = kdecoremod.sip -import = qtxmlmod.sip -import = kdefxmod.sip -import = kdeuimod.sip -//import = kiomod.sip -//import = kfilemod.sip -//import = kpartsmod.sip -importpath = $IMP -ignore = kmdiiterator.h kmdilistiterator.h kmdinulliterator.h - -include = ../dcop ../kdecore ../kdeui ../pythonize ../pykpanelapplet -libs = -L@BL_KDEDIR@ -lsip -lqtcmodule -lqtxmlcmodule -lDCOP -lkdecore -lkdeui\ - -ldcopcmodule -lkdecorecmodule -lqt-mt -lkdefx -lkdefxcmodule -lpythonize -lkdeuicmodule\ - -lkmdi -define = "QT_VERSION", "301" -define = "QMainWindow::ToolBarDock", "Qt::Dock" - -retain - - -// ----------------------------------------- - -//module = kspell2 - -//source = $SRC/kspell2/ -//ignore = -//compare = $COMP -//subst = $DST/extra/kde352 -//import = qtmod.sip (Qt_3_0_0 Qt_4_0_0 WS_X11) -//import = dcopmod.sip -//import = kdecoremod.sip -//import = qtxmlmod.sip -//import = kdefxmod.sip -//import = kdeuimod.sip -////import = kiomod.sip -////import = kfilemod.sip -////import = kpartsmod.sip -//importpath = $IMP -//include = ../dcop ../kdecore ../kdeui ../pythonize ../pykpanelapplet -//libs = -L@BL_KDEDIR@ -lsip -lqtcmodule -lqtxmlcmodule -lDCOP -lkdecore -lkdeui\ -// -ldcopcmodule -lkdecorecmodule -lqt-mt -lkdefx -lkdefxcmodule -lpythonize -lkdeuicmodule\ -// -lkspell2 -// -//retain - - - // ------------- build data ----------------- - -//build - -//release = 3.7-1 -//version = 3.7 -//usingQt -//usingKDE - - diff --git a/python/pykde/pykdeconfig.py.in b/python/pykde/pykdeconfig.py.in deleted file mode 100644 index 18661c74..00000000 --- a/python/pykde/pykdeconfig.py.in +++ /dev/null @@ -1,207 +0,0 @@ -# Copyright (c) 2004 -# Riverbank Computing Limited -# Jim Bublitz -# -# This file is part of PyKDE. -# -# This copy of PyKDE is free software; you can redistribute it and/or modify it -# under the terms of the GNU General Public License as published by the Free -# Software Foundation; either version 2, or (at your option) any later -# version. -# -# PyKDE is supplied in the hope that it will be useful, but WITHOUT ANY -# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS -# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more -# details. -# -# You should have received a copy of the GNU General Public License along with -# PyKDE; see the file LICENSE. If not, write to the Free Software Foundation, -# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -# -# This module is intended to be used by the configuration scripts of extension -# modules that %Import PyKDE modules. - - -import sipconfig, pyqtconfig - - -# These are installation specific values created when PyQt was configured. -# @SIP_CONFIGURATION@ - - -class Configuration(pyqtconfig.Configuration): - """The class that represents PyQt configuration values. - """ - def __init__(self, sub_cfg=None): - """Initialise an instance of the class. - - sub_cfg is the list of sub-class configurations. It should be None - when called normally. - """ - if sub_cfg: - cfg = sub_cfg - else: - cfg = [] - - cfg.append(_pkg_config) - - pyqtconfig.Configuration.__init__(self, cfg) - - -class DCOPModuleMakefile(pyqtconfig.QtModuleMakefile): - """The Makefile class for modules that %Import DCOP. - """ - def finalise(self): - """Finalise the macros. - """ - if self.config.sip_version < 0x040000: - # Note that we don't use self.extra_lib_dirs because we don't want - # it to be added to the rpath. - self.LIBDIR.append(self.config.pykde_mod_dir) - self.LIBDIR.append(self.config.pykde_lib_dir) - self.extra_libs.append(self.module_as_lib("DCOP")) - - pyqtconfig.QtModuleMakefile.finalise(self) - -class KdecoreModuleMakefile(DCOPModuleMakefile): - """The Makefile class for modules that %Import kdecore. - """ - def finalise(self): - """Finalise the macros. - """ - if self.config.sip_version < 0x040000: - # Note that we don't use self.extra_lib_dirs because we don't want - # it to be added to the rpath. - self.LIBDIR.append(self.config.pyqt_mod_dir) - self.extra_libs.append(self.module_as_lib("kdecore")) - - DCOPModuleMakefile.finalise(self) - -class KdesuModuleMakefile(KdecoreModuleMakefile): - """The Makefile class for modules that %Import kdesu. - """ - def finalise(self): - """Finalise the macros. - """ - if self.config.sip_version < 0x040000: - # Note that we don't use self.extra_lib_dirs because we don't want - # it to be added to the rpath. - self.LIBDIR.append(self.config.pyqt_mod_dir) - self.extra_libs.append(self.module_as_lib("kdesu")) - - KdecoreModuleMakefile.finalise(self) - -class KdefxModuleMakefile(KdecoreModuleMakefile): - """The Makefile class for modules that %Import kdefx. - """ - def finalise(self): - """Finalise the macros. - """ - if self.config.sip_version < 0x040000: - # Note that we don't use self.extra_lib_dirs because we don't want - # it to be added to the rpath. - self.LIBDIR.append(self.config.pyqt_mod_dir) - self.extra_libs.append(self.module_as_lib("kdefx")) - - KdecoreModuleMakefile.finalise(self) - -class KdeuiModuleMakefile(KdefxModuleMakefile): - """The Makefile class for modules that %Import kdeui. - """ - def finalise(self): - """Finalise the macros. - """ - if self.config.sip_version < 0x040000: - # Note that we don't use self.extra_lib_dirs because we don't want - # it to be added to the rpath. - self.LIBDIR.append(self.config.pyqt_mod_dir) - self.extra_libs.append(self.module_as_lib("kdeui")) - - if self.config.sip_version < 0x040000: - self.extra_libs.append(self.module_as_lib("qtxml")) - - KdefxModuleMakefile.finalise(self) - -class KioModuleMakefile(KdeuiModuleMakefile): - """The Makefile class for modules that %Import kio. - """ - def finalise(self): - """Finalise the macros. - """ - if self.config.sip_version < 0x040000: - # Note that we don't use self.extra_lib_dirs because we don't want - # it to be added to the rpath. - self.LIBDIR.append(self.config.pyqt_mod_dir) - self.extra_libs.append(self.module_as_lib("kio")) - - KdeuiModuleMakefile.finalise(self) - -class KfileModuleMakefile(KioModuleMakefile): - """The Makefile class for modules that %Import kfile. - """ - def finalise(self): - """Finalise the macros. - """ - if self.config.sip_version < 0x040000: - # Note that we don't use self.extra_lib_dirs because we don't want - # it to be added to the rpath. - self.LIBDIR.append(self.config.pyqt_mod_dir) - self.extra_libs.append(self.module_as_lib("kfile")) - - KioModuleMakefile.finalise(self) - -class KpartsModuleMakefile(KfileModuleMakefile): - """The Makefile class for modules that %Import kparts. - """ - def finalise(self): - """Finalise the macros. - """ - if self.config.sip_version < 0x040000: - # Note that we don't use self.extra_lib_dirs because we don't want - # it to be added to the rpath. - self.LIBDIR.append(self.config.pyqt_mod_dir) - self.extra_libs.append(self.module_as_lib("kparts")) - - KfileModuleMakefile.finalise(self) - -class KhtmlModuleMakefile(KpartsModuleMakefile): - """The Makefile class for modules that %Import khtml. - """ - def finalise(self): - """Finalise the macros. - """ - if self.config.sip_version < 0x040000: - # Note that we don't use self.extra_lib_dirs because we don't want - # it to be added to the rpath. - self.LIBDIR.append(self.config.pyqt_mod_dir) - self.extra_libs.append(self.module_as_lib("khtml")) - - KpartsModuleMakefile.finalise(self) - -class KjsModuleMakefile(KhtmlModuleMakefile): - """The Makefile class for modules that %Import kjs. - """ - def finalise(self): - """Finalise the macros. - """ - if self.config.sip_version < 0x040000: - # Note that we don't use self.extra_lib_dirs because we don't want - # it to be added to the rpath. - self.LIBDIR.append(self.config.pyqt_mod_dir) - self.extra_libs.append(self.module_as_lib("kjs")) - - KjsModuleMakefile.finalise(self) - -class KdeprintModuleMakefile(KdeuiModuleMakefile): - """The Makefile class for modules that %Import kdeprint. - """ - def finalise(self): - """Finalise the macros. - """ - if self.config.sip_version < 0x040000: - # Note that we don't use self.extra_lib_dirs because we don't want - # it to be added to the rpath. - self.LIBDIR.append(self.config.pyqt_mod_dir) - self.extra_libs.append(self.module_as_lib("kdeprint")) - - KdeuiModuleMakefile.finalise(self) diff --git a/python/pykde/sip/dcop/dcopclient.sip b/python/pykde/sip/dcop/dcopclient.sip deleted file mode 100644 index 6c8dab32..00000000 --- a/python/pykde/sip/dcop/dcopclient.sip +++ /dev/null @@ -1,175 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module dcop version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class DCOPClientTransaction; - -class DCOPClient : QObject -{ -%TypeHeaderCode -#include -%End - - -public: - DCOPClient (); - static void setServerAddress (const QCString&); - bool attach (); - void bindToApp (); - bool detach (); - bool isAttached () const; - bool isAttachedToForeignServer () const; - bool acceptCalls () const; - void setAcceptCalls (bool); - -%If ( KDE_3_0_3 - ) - bool qtBridgeEnabled (); - void setQtBridgeEnabled (bool); -%End - - QCString registerAs (const QCString&, bool = 1); - bool isRegistered () const; - QCString appId () const; - int socket () const; - void suspend (); - void resume (); - -%If ( KDE_3_1_0 - ) - bool isSuspended () const; -%End - - bool send (const QCString&, const QCString&, const QCString&, const QByteArray&); - bool send (const QCString&, const QCString&, const QCString&, const QString&); - -%If ( KDE_3_2_0 - ) - bool call (const QCString&, const QCString&, const QCString&, const QByteArray&, QCString& /Out/, QByteArray& /Out/, bool, int); -%End - - bool call (const QCString&, const QCString&, const QCString&, const QByteArray&, QCString& /Out/, QByteArray& /Out/, bool = 0); - -%If ( KDE_3_3_0 - ) - int callAsync (const QCString&, const QCString&, const QCString&, const QByteArray&, QObject*, const char*); -%End - - -%If ( KDE_3_2_0 - ) - bool findObject (const QCString&, const QCString&, const QCString&, const QByteArray&, QCString& /Out/, QCString& /Out/, bool, int); -%End - - bool findObject (const QCString&, const QCString&, const QCString&, const QByteArray&, QCString& /Out/, QCString& /Out/, bool = 0); - void emitDCOPSignal (const QCString&, const QCString&, const QByteArray&); - void emitDCOPSignal (const QCString&, const QByteArray&); - bool connectDCOPSignal (const QCString&, const QCString&, const QCString&, const QCString&, const QCString&, bool); - bool connectDCOPSignal (const QCString&, const QCString&, const QCString&, const QCString&, bool); - bool disconnectDCOPSignal (const QCString&, const QCString&, const QCString&, const QCString&, const QCString&); - bool disconnectDCOPSignal (const QCString&, const QCString&, const QCString&, const QCString&); - virtual bool process (const QCString&, const QByteArray&, QCString&, QByteArray&); - DCOPClientTransaction* beginTransaction (); - void endTransaction (DCOPClientTransaction*, QCString&, QByteArray&); - Q_INT32 transactionId (); - bool isApplicationRegistered (const QCString&); - QCStringList registeredApplications (); - QCStringList remoteObjects (const QCString&, bool* = 0); - QCStringList remoteInterfaces (const QCString&, const QCString&, bool* = 0); - QCStringList remoteFunctions (const QCString&, const QCString&, bool* = 0); - bool receive (const QCString&, const QCString&, const QCString&, const QByteArray&, QCString& /Out/, QByteArray& /Out/); - bool find (const QCString&, const QCString&, const QCString&, const QByteArray&, QCString& /Out/, QByteArray& /Out/); - static QCString normalizeFunctionSignature (const QCString&); - QCString senderId () const; - void setDefaultObject (const QCString&); - QCString defaultObject () const; - void setNotifications (bool); - void setDaemonMode (bool); - -%If ( KDE_3_2_0 - ) - void setPriorityCall (bool); -%End - - static DCOPClient* mainClient (); - static void setMainClient (DCOPClient*); - -%If ( KDE_3_2_0 - ) - static DCOPClient* findLocalClient (const QCString&); -%End - - static void emergencyClose (); - static const char* postMortemSender (); - static const char* postMortemObject (); - static const char* postMortemFunction (); - static QCString dcopServerFile (const QCString& = 0); - static QCString dcopServerFileOld (const QCString& = 0); - -%If ( KDE_3_2_0 - ) - static QCString iceauthPath (); -%End - - -signals: - void applicationRegistered (const QCString&); - void applicationRemoved (const QCString&); - void attachFailed (const QString&); - void blockUserInput (bool); - -%If ( KDE_3_2_0 - ) - void callBack (int, const QCString&, const QByteArray&); -%End - - -protected slots: - void processSocketData (int); - -public: - -%If ( KDE_3_2_3 - ) -//ig void handleAsyncReply (DCOPClient::ReplyStruct*); -%End - - -protected: -//igx virtual void virtual_hook (int, void*); - -public: - -%If ( KDE_3_2_0 - KDE_3_3_0 ) - int callAsync (const QCString&, const QCString&, const QCString&, const QByteArray&, SIP_RXOBJ_CON, SIP_SLOT_CON (int, const QCString&, const QByteArray&)); - -//force -%ConvertToSubClassCode - // The table of Python class objects indexed by their names. The table - // must be sorted by name. - - static sipStringTypeClassMap map[] = { - {sipName_DCOPClient, &sipClass_DCOPClient}, - }; - - sipClass = sipMapStringToClass(sipCpp -> className(),map,sizeof (map)/sizeof (map[0])); -%End -//end -%End - - -}; // class DCOPClient - -typedef QValueList QCStringList; diff --git a/python/pykde/sip/dcop/dcopmod.sip b/python/pykde/sip/dcop/dcopmod.sip deleted file mode 100644 index 9588ab91..00000000 --- a/python/pykde/sip/dcop/dcopmod.sip +++ /dev/null @@ -1,42 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module dcop version KDE_3_5_2 - -%Copying - - This software is free software; you can redistribute it and/or - modify it under the terms of the GNU General Public License as - published by the Free Software Foundation; either version 2 of - the License, or (at your option) any later version. - - This software is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public - License along with this library; see the file COPYING. - If not, write to the Free Software Foundation, Inc., - 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - -%End - -%Module dcop - -%Timeline { KDE_3_0_0 KDE_3_0_1 KDE_3_0_3 KDE_3_1_0 KDE_3_1_1 KDE_3_1_2 KDE_3_1_3 KDE_3_1_4 KDE_3_1_5 KDE_3_2_0 KDE_3_2_1 KDE_3_2_2 KDE_3_2_3 KDE_3_3_0 KDE_3_3_1 KDE_3_3_2 KDE_3_4_0 KDE_3_4_1 KDE_3_4_2 KDE_3_4_3 KDE_3_5_0 KDE_3_5_1 KDE_3_5_2 KDE_3_5_3 } - -%Platforms { D_MANDRAKE ALL } - -%Import qt/qtmod.sip - -%Include dcopclient.sip -%Include dcopobject.sip -%Include dcopref.sip -%Include dcopstub.sip -%Include typedefs.sip - diff --git a/python/pykde/sip/dcop/dcopmod.sip.in b/python/pykde/sip/dcop/dcopmod.sip.in deleted file mode 100644 index 9f9e0fbc..00000000 --- a/python/pykde/sip/dcop/dcopmod.sip.in +++ /dev/null @@ -1,43 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module dcop version KDE_3_5_2 - -%Copying - - This software is free software; you can redistribute it and/or - modify it under the terms of the GNU General Public License as - published by the Free Software Foundation; either version 2 of - the License, or (at your option) any later version. - - This software is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public - License along with this library; see the file COPYING. - If not, write to the Free Software Foundation, Inc., - 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - -%End - -%Module dcop - -%Timeline { KDE_3_0_0 KDE_3_0_1 KDE_3_0_3 KDE_3_1_0 KDE_3_1_1 KDE_3_1_2 KDE_3_1_3 KDE_3_1_4 KDE_3_1_5 KDE_3_2_0 KDE_3_2_1 KDE_3_2_2 KDE_3_2_3 KDE_3_3_0 KDE_3_3_1 KDE_3_3_2 KDE_3_4_0 KDE_3_4_1 KDE_3_4_2 KDE_3_4_3 KDE_3_5_0 KDE_3_5_1 KDE_3_5_2 KDE_3_5_3 } - -%Platforms { D_MANDRAKE ALL } - -%Import qt/qtmod.sip - -%Include dcopclient.sip -%Include dcopobject.sip -%Include dcopref.sip -%Include dcopstub.sip -%Include typedefs.sip -@mark@ - diff --git a/python/pykde/sip/dcop/dcopobject.sip b/python/pykde/sip/dcop/dcopobject.sip deleted file mode 100644 index 7b7ee1c5..00000000 --- a/python/pykde/sip/dcop/dcopobject.sip +++ /dev/null @@ -1,82 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module dcop version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class DCOPObject -{ -%TypeHeaderCode -#include -%End - - -public: - DCOPObject (); - DCOPObject (QObject*); - DCOPObject (const QCString&); - QCString objId () const; - bool setObjId (const QCString&); - virtual bool process (const QCString&, const QByteArray&, QCString&, QByteArray&); - virtual bool processDynamic (const QCString&, const QByteArray&, QCString&, QByteArray&); - virtual QCStringList functionsDynamic (); - virtual QCStringList interfacesDynamic (); - virtual QCStringList interfaces (); - virtual QCStringList functions (); - void emitDCOPSignal (const QCString&, const QByteArray&); - bool connectDCOPSignal (const QCString&, const QCString&, const QCString&, const QCString&, bool); - bool disconnectDCOPSignal (const QCString&, const QCString&, const QCString&, const QCString&); - -%If ( KDE_3_1_0 - ) - DCOPClient* callingDcopClient (); - void setCallingDcopClient (DCOPClient*); -%End - - static bool hasObject (const QCString&); - static DCOPObject* find (const QCString&); - static QPtrList match (const QCString&); - static QCString objectName (QObject*); - -protected: -//igx virtual void virtual_hook (int, void*); - -}; // class DCOPObject - - -class DCOPObjectProxy -{ -%TypeHeaderCode -#include -%End - - -public: - DCOPObjectProxy (); - DCOPObjectProxy (DCOPClient*); - virtual bool process (const QCString&, const QCString&, const QByteArray&, QCString&, QByteArray&); - -protected: -//igx virtual void virtual_hook (int, void*); - -}; // class DCOPObjectProxy - diff --git a/python/pykde/sip/dcop/dcopref.sip b/python/pykde/sip/dcop/dcopref.sip deleted file mode 100644 index ec090346..00000000 --- a/python/pykde/sip/dcop/dcopref.sip +++ /dev/null @@ -1,109 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module dcop version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -%If ( KDE_3_1_0 - ) - -class DCOPReply -{ -%TypeHeaderCode -#include -%End - - -public: - bool isValid () const; - QByteArray data; - QCString type; - -}; // class DCOPReply - -%End - - -%If ( KDE_3_1_0 - ) - -//ig class DCOPArg; - -%End - - -class DCOPRef -{ -%TypeHeaderCode -#include -%End - - -public: - DCOPRef (); - DCOPRef (const DCOPRef&); - DCOPRef (const QCString&, const QCString&); - DCOPRef (DCOPObject*); - DCOPRef (const QCString&, const QCString&, const QCString&); - bool isNull () const; - QCString app () const; - -%If ( KDE_3_1_0 - ) - QCString obj () const; -%End - - QCString object () const; - QCString type () const; - void setRef (const QCString&, const QCString&); - void setRef (const QCString&, const QCString&, const QCString&); - void clear (); - -%If ( KDE_3_1_0 - ) - DCOPClient* dcopClient () const; - void setDCOPClient (DCOPClient*); - -%If ( KDE_3_2_0 - ) - - enum EventLoopFlag - { - NoEventLoop, - UseEventLoop - }; - -%End - - DCOPReply call (const QCString&); - -%If ( KDE_3_2_0 - ) - DCOPReply callExt (const QCString&, DCOPRef::EventLoopFlag = NoEventLoop , int = -1); -%End - - bool send (const QCString&); -%End - - -}; // class DCOPRef - - -%If ( KDE_3_1_4 - ) -//igx QDataStream& operator << (QDataStream&, const DCOPRef&); -//igx QDataStream& operator >> (QDataStream&, DCOPRef&); -%End diff --git a/python/pykde/sip/dcop/dcopstub.sip b/python/pykde/sip/dcop/dcopstub.sip deleted file mode 100644 index a6ba8296..00000000 --- a/python/pykde/sip/dcop/dcopstub.sip +++ /dev/null @@ -1,68 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module dcop version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class DCOPStub -{ -%TypeHeaderCode -#include -%End - - -public: - DCOPStub (const QCString&, const QCString&); - DCOPStub (DCOPClient*, const QCString&, const QCString&); - -%If ( KDE_3_2_0 - ) - DCOPStub (const DCOPRef&); -%End - - QCString app () const; - QCString obj () const; - - enum Status - { - CallSucceeded, - CallFailed - }; - - Status status () const; - bool ok () const; - -protected: - void setStatus (DCOPStub::Status); - virtual void callFailed (); - DCOPClient* dcopClient (); - -%If ( KDE_3_1_0 - ) -//ig DCOPStub (DCOPStub::never_use_t); -%End - - -protected: -//igx virtual void virtual_hook (int, void*); - -}; // class DCOPStub - diff --git a/python/pykde/sip/dcop/typedefs.sip b/python/pykde/sip/dcop/typedefs.sip deleted file mode 100644 index 1f5e83e6..00000000 --- a/python/pykde/sip/dcop/typedefs.sip +++ /dev/null @@ -1,108 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module dcop version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - -typedef uint mode_t; -typedef long time_t; -typedef ulong size_t; -typedef int ssize_t; -typedef int pid_t; -typedef ulong Window; -typedef bool Bool; -typedef uint WFlags; -typedef long off_t; - - -/*%MappedType QValueList -//converts a Python list of long -{ -%TypeHeaderCode -#include -%End - -%ConvertFromTypeCode - // Handle no list. - - if (!sipCpp) - return PyList_New(0); - - // Convert to a Python list of long. - - PyObject *l; - - // Create the list. - - if ((l = PyList_New(sipCpp -> count())) == NULL) - return NULL; - - // Get it. - - for (uint i = 0; i < sipCpp -> count(); ++i) - if (PyList_SetItem(l,i,PyLong_FromLong((long)(*sipCpp)[i])) < 0) - { - Py_DECREF(l); - - return NULL; - } - - return l; -%End - -%ConvertToTypeCode - // Convert a Python list of long to a QValueList on the heap. - - if (sipIsErr == NULL) - return PyList_Check(sipPy); - - if (sipPy == Py_None) - { - *sipCppPtr = NULL; - - return 0; - } - - QValueList *qvl = new QValueList; - - PyErr_Clear(); - - for (int i = 0; i < PyList_GET_SIZE(sipPy); ++i) - { - qvl -> append((pid_t)PyLong_AsLong(PyList_GET_ITEM(sipPy,i))); - - if (PyErr_Occurred() != NULL) - { - delete qvl; - *sipIsErr = 1; - - return 0; - } - } - - *sipCppPtr = qvl; - - return 1; -%End -};*/ - - diff --git a/python/pykde/sip/glossary.html b/python/pykde/sip/glossary.html deleted file mode 100644 index b4cec3bc..00000000 --- a/python/pykde/sip/glossary.html +++ /dev/null @@ -1,40 +0,0 @@ -

Abstract

-

-Abstract classes are used as base classes. You cannot create -an instance of an abstract class directly - you need to subclass -it. In the subclass, you need to overload all of the -class's pure virtual methods. These -are marked as "pure virtual" in these docs, and are also indicated -by a " = 0" at the end of the method declaration. -

-

-If your subclass doesn't overload the pure virtual methods in the -abstract base class, you won't be able to create an instance of it. -

- -

pure virtual

-

-Pure virtual methods are members of an abstract -class (they're what makes the class abstract in the first place). Pure -virtual methods are nothing more than place holders - there is no code -associated with them -

- - -

variables

-

-Class variables can be read and written from Python. Global or static -variables are read only. Variables that are "protected" or. -"private" in C++ are not implemented. -

- -

slots

-

-When using Qt or KDE in C++, methods involving connections to slots -take 2 arguments: a TQObject 'receiver' and a char* 'slot' name. In Python -you only need to provide a single value - the name of a Python callable -method or function which will be connected to a signal. The method or -function does not need to be in the class where it is reference, and does -not have to be in a class at all. There are other options - see the -"Signals and Slots" documentation for more information. -

diff --git a/python/pykde/sip/kabc/address.sip b/python/pykde/sip/kabc/address.sip deleted file mode 100644 index d15d1694..00000000 --- a/python/pykde/sip/kabc/address.sip +++ /dev/null @@ -1,150 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kabc version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - -namespace KABC -{ - -class Address -{ -%TypeHeaderCode -#include -%End - - -public: - typedef QValueList List; - -%If ( KDE_3_1_0 - ) - typedef QValueList TypeList; -%End - - - enum Type - { - Dom, - Intl, - Postal, - Parcel, - Home, - Work, - Pref - }; - - Address (); - Address (int); - -%If ( KDE_3_1_0 - ) - bool operator == (const KABC::Address&) const; - bool operator != (const KABC::Address&) const; -%End - - bool isEmpty () const; - void clear (); - void setId (const QString&); - QString id () const; - void setType (int); - int type () const; - -%If ( KDE_3_1_0 - ) - QString typeLabel () const; -%End - - void setPostOfficeBox (const QString&); - QString postOfficeBox () const; - -%If ( KDE_3_1_0 - ) - static QString postOfficeBoxLabel (); -%End - - void setExtended (const QString&); - QString extended () const; - -%If ( KDE_3_1_0 - ) - static QString extendedLabel (); -%End - - void setStreet (const QString&); - QString street () const; - -%If ( KDE_3_1_0 - ) - static QString streetLabel (); -%End - - void setLocality (const QString&); - QString locality () const; - -%If ( KDE_3_1_0 - ) - static QString localityLabel (); -%End - - void setRegion (const QString&); - QString region () const; - -%If ( KDE_3_1_0 - ) - static QString regionLabel (); -%End - - void setPostalCode (const QString&); - QString postalCode () const; - -%If ( KDE_3_1_0 - ) - static QString postalCodeLabel (); -%End - - void setCountry (const QString&); - QString country () const; - -%If ( KDE_3_1_0 - ) - static QString countryLabel (); -%End - - void setLabel (const QString&); - QString label () const; - -%If ( KDE_3_1_0 - ) - static QString labelLabel (); - static KABC::Address::TypeList typeList (); - static QString typeLabel (int); -%End - - void dump () const; - -%If ( KDE_3_2_0 - ) - QString formattedAddress (const QString& = QString ::null , const QString& = QString ::null ) const; - static QString countryToISO (const QString&); - static QString ISOtoCountry (const QString&); -%End - - -}; // class Address - - -%If ( KDE_3_1_0 - ) -//igx QDataStream& operator << (QDataStream&, const KABC::Address&); -//igx QDataStream& operator >> (QDataStream&, KABC::Address&); -%End - -}; // namespace KABC - diff --git a/python/pykde/sip/kabc/addressbook.sip b/python/pykde/sip/kabc/addressbook.sip deleted file mode 100644 index 0075bf67..00000000 --- a/python/pykde/sip/kabc/addressbook.sip +++ /dev/null @@ -1,230 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kabc version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - -namespace KABC -{ - -class AddressBook : QObject -{ -%TypeHeaderCode -#include -#include -%End - - -public: - -//ig class Iterator; - - -//ig class ConstIterator; - - AddressBook (); - -%If ( KDE_3_2_0 - ) - AddressBook (const QString&); -%End - - KABC::Ticket* requestSaveTicket (KABC::Resource* = 0); - -%If ( KDE_3_2_0 - ) - void releaseSaveTicket (KABC::Ticket*); -%End - - bool load (); - -%If ( KDE_3_2_0 - ) - bool asyncLoad (); -%End - - bool save (KABC::Ticket*); - -%If ( KDE_3_2_0 - ) - bool asyncSave (KABC::Ticket*); -%End - -//igx KABC::AddressBook::ConstIterator begin () const; -//igx KABC::AddressBook::Iterator begin (); -//igx KABC::AddressBook::ConstIterator end () const; -//igx KABC::AddressBook::Iterator end (); - void clear (); - void insertAddressee (const KABC::Addressee&); - void removeAddressee (const KABC::Addressee&); -//ig void removeAddressee (const KABC::AddressBook::Iterator&); -//igx KABC::AddressBook::Iterator find (const Addressee&); - KABC::Addressee findByUid (const QString&); - -%If ( KDE_3_2_0 - ) - KABC::Addressee::List allAddressees (); -%End - - KABC::Addressee::List findByName (const QString&); - KABC::Addressee::List findByEmail (const QString&); - KABC::Addressee::List findByCategory (const QString&); - virtual QString identifier (); - -%If ( KDE_3_1_0 - ) - KABC::Field::List fields (int = KABC ::Field ::All ); - bool addCustomField (const QString&, int = KABC ::Field ::All , const QString& = QString ::null , const QString& = QString ::null ); -%End - - bool addResource (KABC::Resource*); - -%If ( KDE_3_1_0 - ) - bool removeResource (KABC::Resource*); - QPtrList resources (); - void setErrorHandler (KABC::ErrorHandler*); - void error (const QString&); - void cleanUp (); -%End - - void dump () const; - void emitAddressBookLocked (); - void emitAddressBookUnlocked (); - void emitAddressBookChanged (); - -%If ( KDE_3_5_0 - ) - bool loadingHasFinished () const; -%End - - -signals: - void addressBookChanged (KABC::AddressBook*); - void addressBookLocked (KABC::AddressBook*); - void addressBookUnlocked (KABC::AddressBook*); - -%If ( KDE_3_2_0 - ) - void loadingFinished (KABC::Resource*); - void savingFinished (KABC::Resource*); -%End - - -protected slots: - -%If ( KDE_3_2_0 - ) - void resourceLoadingFinished (KABC::Resource*); - void resourceSavingFinished (KABC::Resource*); - void resourceLoadingError (KABC::Resource*, const QString&); - void resourceSavingError (KABC::Resource*, const QString&); -%End - - -protected: - -%If ( KDE_3_1_0 - ) - void deleteRemovedAddressees (); - void setStandardResource (KABC::Resource*); - KABC::Resource* standardResource (); - -%If ( KDE_3_2_0 - ) -//ig KRES::Manager* resourceManager (); -%End - -%End - - -}; // class AddressBook - - -%If ( KDE_3_1_0 - ) -//igx QDataStream& operator << (QDataStream&, const KABC::AddressBook&); -//igx QDataStream& operator >> (QDataStream&, KABC::AddressBook&); -%End - -}; // namespace KABC - - - -%MappedType QPtrList -//converts a Python list of KABC::Resource -{ -%TypeHeaderCode -#include -#include -%End - -%ConvertFromTypeCode - if (!sipCpp) - return PyList_New (0); - - PyObject *pylist; - - // Create the list - - if ((pylist = PyList_New(0)) == NULL) - return NULL; - - // Get it. - - QPtrList *cpplist = (QPtrList *)sipCpp; - KABC::Resource *cpp; - PyObject *inst; - - // the loop depends on the type of iterator the tmeplate makes available - for(cpp = cpplist->first (); cpp != 0; cpp = cpplist->next () ) - { - if (((inst = sipConvertFromInstance (cpp, sipClass_KABC_Resource, sipTransferObj)) == NULL) - || PyList_Append (pylist, inst) < 0) - { - Py_DECREF (pylist); - return NULL; - } - } - - return pylist; -%End - -%ConvertToTypeCode - if (sipIsErr == NULL) - return PyList_Check(sipPy); - - QPtrList *cpplist = new QPtrList; - - PyObject *elem; - KABC::Resource *cpp; - int iserr = 0; - - for (int i = 0; i < PyList_Size (sipPy); i++) - { - elem = PyList_GET_ITEM (sipPy, i); - cpp = (KABC::Resource *)sipForceConvertTo_KABC_Resource (elem, &iserr); - - if (iserr) - { - *sipIsErr = 1; - delete cpplist; - return 0; - } - - cpplist->append (cpp); - } - - *sipCppPtr = cpplist; - - return 1; -%End -}; - - diff --git a/python/pykde/sip/kabc/addressee.sip b/python/pykde/sip/kabc/addressee.sip deleted file mode 100644 index 05f6bac1..00000000 --- a/python/pykde/sip/kabc/addressee.sip +++ /dev/null @@ -1,470 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kabc version KDE_3_4_3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - -namespace KABC -{ - -class Addressee -{ -%TypeHeaderCode -#include -%End - - -public: -//ig typedef QValueList List; - -%If ( KDE_3_4_2 - ) - typedef QMap Map; -%End - - Addressee (); - Addressee (const KABC::Addressee&); - -%If ( KDE_3_1_0 - ) - bool operator == (const KABC::Addressee&) const; - bool operator != (const KABC::Addressee&) const; -%End - - bool isEmpty () const; - void setUid (const QString&); - QString uid () const; - -%If ( KDE_3_1_0 - ) - static QString uidLabel (); -%End - - void setName (const QString&); - QString name () const; - -%If ( KDE_3_1_0 - ) - static QString nameLabel (); -%End - - void setFormattedName (const QString&); - QString formattedName () const; - -%If ( KDE_3_1_0 - ) - static QString formattedNameLabel (); -%End - - void setFamilyName (const QString&); - QString familyName () const; - -%If ( KDE_3_1_0 - ) - static QString familyNameLabel (); -%End - - void setGivenName (const QString&); - QString givenName () const; - -%If ( KDE_3_1_0 - ) - static QString givenNameLabel (); -%End - - void setAdditionalName (const QString&); - QString additionalName () const; - -%If ( KDE_3_1_0 - ) - static QString additionalNameLabel (); -%End - - void setPrefix (const QString&); - QString prefix () const; - -%If ( KDE_3_1_0 - ) - static QString prefixLabel (); -%End - - void setSuffix (const QString&); - QString suffix () const; - -%If ( KDE_3_1_0 - ) - static QString suffixLabel (); -%End - - void setNickName (const QString&); - QString nickName () const; - -%If ( KDE_3_1_0 - ) - static QString nickNameLabel (); -%End - - void setBirthday (const QDateTime&); - QDateTime birthday () const; - -%If ( KDE_3_1_0 - ) - static QString birthdayLabel (); - static QString homeAddressStreetLabel (); - static QString homeAddressLocalityLabel (); - static QString homeAddressRegionLabel (); - static QString homeAddressPostalCodeLabel (); - static QString homeAddressCountryLabel (); - static QString homeAddressLabelLabel (); - static QString businessAddressStreetLabel (); - static QString businessAddressLocalityLabel (); - static QString businessAddressRegionLabel (); - static QString businessAddressPostalCodeLabel (); - static QString businessAddressCountryLabel (); - static QString businessAddressLabelLabel (); - static QString homePhoneLabel (); - static QString businessPhoneLabel (); - static QString mobilePhoneLabel (); - static QString homeFaxLabel (); - static QString businessFaxLabel (); - static QString carPhoneLabel (); - static QString isdnLabel (); - static QString pagerLabel (); - static QString emailLabel (); -%End - - void setMailer (const QString&); - QString mailer () const; - -%If ( KDE_3_1_0 - ) - static QString mailerLabel (); -%End - - void setTimeZone (const KABC::TimeZone&); - KABC::TimeZone timeZone () const; - -%If ( KDE_3_1_0 - ) - static QString timeZoneLabel (); -%End - - void setGeo (const KABC::Geo&); - KABC::Geo geo () const; - -%If ( KDE_3_1_0 - ) - static QString geoLabel (); -%End - - void setTitle (const QString&); - QString title () const; - -%If ( KDE_3_1_0 - ) - static QString titleLabel (); -%End - - void setRole (const QString&); - QString role () const; - -%If ( KDE_3_1_0 - ) - static QString roleLabel (); -%End - - void setOrganization (const QString&); - QString organization () const; - -%If ( KDE_3_1_0 - ) - static QString organizationLabel (); -%End - - void setNote (const QString&); - QString note () const; - -%If ( KDE_3_1_0 - ) - static QString noteLabel (); -%End - - void setProductId (const QString&); - QString productId () const; - -%If ( KDE_3_1_0 - ) - static QString productIdLabel (); -%End - - void setRevision (const QDateTime&); - QDateTime revision () const; - -%If ( KDE_3_1_0 - ) - static QString revisionLabel (); -%End - - void setSortString (const QString&); - QString sortString () const; - -%If ( KDE_3_1_0 - ) - static QString sortStringLabel (); -%End - - void setUrl (const KURL&); - KURL url () const; - -%If ( KDE_3_1_0 - ) - static QString urlLabel (); - void setSecrecy (const KABC::Secrecy&); - KABC::Secrecy secrecy () const; - static QString secrecyLabel (); - void setLogo (const KABC::Picture&); - KABC::Picture logo () const; - static QString logoLabel (); - void setPhoto (const KABC::Picture&); - KABC::Picture photo () const; - static QString photoLabel (); - void setSound (const KABC::Sound&); - KABC::Sound sound () const; - static QString soundLabel (); - void setAgent (const KABC::Agent&); - KABC::Agent agent () const; - static QString agentLabel (); -%End - - void setNameFromString (const QString&); - QString realName () const; - -%If ( KDE_3_1_0 - ) - QString assembledName () const; -%End - - QString fullEmail (const QString& = QString ::null ) const; - void insertEmail (const QString&, bool = 0); - void removeEmail (const QString&); - QString preferredEmail () const; - QStringList emails () const; - -%If ( KDE_3_4_2 - ) - void setEmails (const QStringList&); -%End - - void insertPhoneNumber (const KABC::PhoneNumber&); - void removePhoneNumber (const KABC::PhoneNumber&); - KABC::PhoneNumber phoneNumber (int) const; - KABC::PhoneNumber::List phoneNumbers () const; - -%If ( KDE_3_1_0 - ) - KABC::PhoneNumber::List phoneNumbers (int) const; -%End - - KABC::PhoneNumber findPhoneNumber (const QString&) const; - -%If ( KDE_3_1_0 - ) - void insertKey (const KABC::Key&); - void removeKey (const KABC::Key&); - KABC::Key key (int, QString = QString ::null ) const; - KABC::Key::List keys () const; - -%If ( KDE_3_4_2 - ) - void setKeys (const KABC::Key::List&); -%End - - KABC::Key::List keys (int, QString = QString ::null ) const; - KABC::Key findKey (const QString&) const; -%End - - void insertAddress (const KABC::Address&); - void removeAddress (const KABC::Address&); - KABC::Address address (int) const; - KABC::Address::List addresses () const; - -%If ( KDE_3_1_0 - ) - KABC::Address::List addresses (int) const; -%End - - KABC::Address findAddress (const QString&) const; - void insertCategory (const QString&); - void removeCategory (const QString&); - bool hasCategory (const QString&) const; - void setCategories (const QStringList&); - QStringList categories () const; - void insertCustom (const QString&, const QString&, const QString&); - void removeCustom (const QString&, const QString&); - QString custom (const QString&, const QString&) const; - void setCustoms (const QStringList&); - QStringList customs () const; - -%If ( KDE_3_1_0 - ) - static void parseEmailAddress (const QString&, QString&, QString&); -%End - - void dump () const; - -%If ( KDE_3_1_0 - ) - QString asString () const; - void setResource (KABC::Resource*); - KABC::Resource* resource () const; - void setChanged (bool); - bool changed () const; - -%If ( KDE_3_4_2 - ) - static void setSortMode (KABC::SortMode*); - bool operator < (const KABC::Addressee&); -%End - -%End - - - - - - -}; // class Addressee - - -%If ( KDE_3_1_0 - ) -//igx QDataStream& operator << (QDataStream&, const KABC::Addressee&); -//igx QDataStream& operator >> (QDataStream&, KABC::Addressee&); -%End - -}; // namespace KABC - - - -%MappedType KABC::Addressee::List -//converts a Python list of KABC::Addressee -{ -%TypeHeaderCode -#include -#include -//typedef QValueList List; -%End - -%ConvertFromTypeCode - if (!sipCpp) - return PyList_New(0); - - // Create the list - PyObject *pylist; - if ((pylist = PyList_New(0)) == NULL) - return NULL; - - QValueList *cpplist = (QValueList *)sipCpp; - PyObject *inst; - - // Get it. - QValueList::Iterator it; - for( it = cpplist->begin(); it != cpplist->end(); ++it ) - { - if (((inst = sipBuildResult (NULL, "N", new KABC::Addressee (*it), sipClass_KABC_Addressee)) == NULL) - || PyList_Append (pylist, inst) < 0) - { - Py_DECREF (pylist); - return NULL; - } - } - - return pylist; -%End - - -%ConvertToTypeCode - if (sipIsErr == NULL) - return PyList_Check(sipPy); - - QValueList *cpplist = new QValueList; - - PyObject *elem; - KABC::Addressee *cpp; - int iserr = 0; - - for (int i = 0; i < PyList_Size (sipPy); i++) - { - elem = PyList_GET_ITEM (sipPy, i); - cpp = (KABC::Addressee *)sipForceConvertTo_KABC_Addressee (elem, &iserr); - - if (iserr) - { - *sipIsErr = 1; - delete cpplist; - return 0; - } - - cpplist->append (*cpp); - } - - *sipCppPtr = cpplist; - - return 1; -%End -}; - -%MappedType KABC::Address::List -//converts a Python list of KABC::Address -{ -%TypeHeaderCode -#include -#include -//typedef QValueList List; -%End - -%ConvertFromTypeCode - if (!sipCpp) - return PyList_New(0); - - // Create the list - PyObject *pylist; - if ((pylist = PyList_New(0)) == NULL) - return NULL; - - QValueList *cpplist = (QValueList *)sipCpp; - PyObject *inst; - - // Get it. - QValueList::Iterator it; - for( it = cpplist->begin(); it != cpplist->end(); ++it ) - { - if (((inst = sipBuildResult (NULL, "N", new KABC::Address (*it), sipClass_KABC_Address)) == NULL) - || PyList_Append (pylist, inst) < 0) - { - Py_DECREF (pylist); - return NULL; - } - } - - return pylist; -%End - - -%ConvertToTypeCode - if (sipIsErr == NULL) - return PyList_Check(sipPy); - - QValueList *cpplist = new QValueList; - - PyObject *elem; - KABC::Address *cpp; - int iserr = 0; - - for (int i = 0; i < PyList_Size (sipPy); i++) - { - elem = PyList_GET_ITEM (sipPy, i); - cpp = (KABC::Address *)sipForceConvertTo_KABC_Address (elem, &iserr); - - if (iserr) - { - *sipIsErr = 1; - delete cpplist; - return 0; - } - - cpplist->append (*cpp); - } - - *sipCppPtr = cpplist; - - return 1; -%End -}; - diff --git a/python/pykde/sip/kabc/addresseedialog.sip b/python/pykde/sip/kabc/addresseedialog.sip deleted file mode 100644 index abfd6d27..00000000 --- a/python/pykde/sip/kabc/addresseedialog.sip +++ /dev/null @@ -1,75 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kabc version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - -namespace KABC -{ - -class AddresseeItem : QListViewItem -{ -%TypeHeaderCode -#include -%End - - -public: - - enum columns - { - Name, - Email - }; - - AddresseeItem (QListView*, const KABC::Addressee&); - KABC::Addressee addressee () const; - virtual QString key (int, bool) const; - -}; // class AddresseeItem - - -class AddresseeDialog : KDialogBase -{ -%TypeHeaderCode -#include -%End - - -public: - AddresseeDialog (QWidget* = 0, bool = 0); - KABC::Addressee addressee (); - KABC::Addressee::List addressees (); - static KABC::Addressee getAddressee (QWidget*); - static KABC::Addressee::List getAddressees (QWidget*); - -protected slots: - -%If ( KDE_3_1_0 - ) - void addressBookChanged (); -%End - - -}; // class AddresseeDialog - -}; // namespace KABC - diff --git a/python/pykde/sip/kabc/addresseelist.sip b/python/pykde/sip/kabc/addresseelist.sip deleted file mode 100644 index f5264649..00000000 --- a/python/pykde/sip/kabc/addresseelist.sip +++ /dev/null @@ -1,122 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kabc version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - -%ModuleHeaderCode -#include -#include -%End - - -%If ( KDE_3_1_0 - ) -namespace KABC -{ -namespace SortingTraits -{ - -class Uid -{ -%TypeHeaderCode -#include -%End - - -public: - static bool eq (const KABC::Addressee&, const KABC::Addressee&); - static bool lt (const KABC::Addressee&, const KABC::Addressee&); - -}; // class Uid - - -class Name -{ -%TypeHeaderCode -#include -%End - - -public: - static bool eq (const KABC::Addressee&, const KABC::Addressee&); - static bool lt (const KABC::Addressee&, const KABC::Addressee&); - -}; // class Name - - -class FormattedName -{ -%TypeHeaderCode -#include -%End - - -public: - static bool eq (const KABC::Addressee&, const KABC::Addressee&); - static bool lt (const KABC::Addressee&, const KABC::Addressee&); - -}; // class FormattedName - - -class FamilyName -{ -%TypeHeaderCode -#include -%End - - -public: - static bool eq (const KABC::Addressee&, const KABC::Addressee&); - static bool lt (const KABC::Addressee&, const KABC::Addressee&); - -}; // class FamilyName - - -class GivenName -{ -%TypeHeaderCode -#include -%End - - -public: - static bool eq (const KABC::Addressee&, const KABC::Addressee&); - static bool lt (const KABC::Addressee&, const KABC::Addressee&); - -}; // class GivenName - -}; // namespace SortingTraits - - -enum -{ - Uid, - Name, - FormattedName, - FamilyName, - GivenName -}; - -}; // namespace KABC - -%End - diff --git a/python/pykde/sip/kabc/addresslineedit.sip b/python/pykde/sip/kabc/addresslineedit.sip deleted file mode 100644 index 54606e91..00000000 --- a/python/pykde/sip/kabc/addresslineedit.sip +++ /dev/null @@ -1,66 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kabc version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -%If ( KDE_3_1_0 - ) -namespace KABC -{ - -class AddressLineEdit : KLineEdit -{ -%TypeHeaderCode -#include -%End - - -public: - AddressLineEdit (QWidget*, bool = 1, const char* = 0); - virtual void setFont (const QFont&); - -%If ( KDE_3_2_0 - ) - static KConfig* config (); -%End - - -public slots: - void cursorAtEnd (); - void enableCompletion (bool); - -protected: - virtual void loadAddresses (); - void addAddress (const QString&); - virtual void keyPressEvent (QKeyEvent*); - virtual void dropEvent (QDropEvent*); - virtual void paste (); - virtual void insert (const QString&); - virtual void mouseReleaseEvent (QMouseEvent*); - void doCompletion (bool); - -}; // class AddressLineEdit - -}; // namespace KABC - -%End - diff --git a/python/pykde/sip/kabc/agent.sip b/python/pykde/sip/kabc/agent.sip deleted file mode 100644 index 4aff028a..00000000 --- a/python/pykde/sip/kabc/agent.sip +++ /dev/null @@ -1,58 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kabc version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -%If ( KDE_3_1_0 - ) -namespace KABC -{ - -class Agent -{ -%TypeHeaderCode -#include -%End - - -public: - Agent (); - Agent (const QString&); - Agent (KABC::Addressee*); - bool operator == (const KABC::Agent&) const; - bool operator != (const KABC::Agent&) const; - void setUrl (const QString&); - void setAddressee (KABC::Addressee*); - bool isIntern () const; - QString url () const; - KABC::Addressee* addressee () const; - QString asString () const; - -}; // class Agent - -//igx QDataStream& operator << (QDataStream&, const KABC::Agent&); -//igx QDataStream& operator >> (QDataStream&, KABC::Agent&); -}; // namespace KABC - -%End - diff --git a/python/pykde/sip/kabc/distributionlist.sip b/python/pykde/sip/kabc/distributionlist.sip deleted file mode 100644 index a21d8847..00000000 --- a/python/pykde/sip/kabc/distributionlist.sip +++ /dev/null @@ -1,177 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kabc version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - -namespace KABC -{ - -class DistributionList -{ -%TypeHeaderCode -#include -%End - - -public: - - class Entry - { - - public: - typedef QValueList List; - Entry (); - Entry (const KABC::Addressee&, const QString&); - KABC::Addressee addressee; - QString email; - - }; // class Entry - - -public: - DistributionList (KABC::DistributionListManager*, const QString&); - void setName (const QString&); - QString name () const; - void insertEntry (const KABC::Addressee&, const QString& = QString ::null ); - void removeEntry (const KABC::Addressee&, const QString& = QString ::null ); - QStringList emails () const; - KABC::DistributionList::Entry::List entries () const; - -}; // class DistributionList - - -class DistributionListManager -{ -%TypeHeaderCode -#include -%End - - -public: - DistributionListManager (KABC::AddressBook*); - KABC::DistributionList* list (const QString&); - void insert (KABC::DistributionList*); - void remove (KABC::DistributionList*); - QStringList listNames (); - bool load (); - bool save (); - -}; // class DistributionListManager - - -%If ( KDE_3_1_0 - ) - -class DistributionListWatcher : QObject -{ -%TypeHeaderCode -#include -%End - - -public: - static KABC::DistributionListWatcher* self (); - -signals: - void changed (); - -protected: - DistributionListWatcher (); - ~DistributionListWatcher (); - -}; // class DistributionListWatcher - -%End - -}; // namespace KABC - - - -%MappedType KABC::DistributionList::Entry::List -//converts a Python list of KABC::DistributionList::Entry -{ -%TypeHeaderCode -#include -#include -//typedef QValueList List; -%End - -%ConvertFromTypeCode - if (!sipCpp) - return PyList_New(0); - - // Create the list - PyObject *pylist; - if ((pylist = PyList_New(0)) == NULL) - return NULL; - - QValueList *cpplist = (QValueList *)sipCpp; - PyObject *inst; - - // Get it. - QValueList::Iterator it; - for( it = cpplist->begin(); it != cpplist->end(); ++it ) - { - if (((inst = sipBuildResult (NULL, "N", new KABC::DistributionList::Entry (*it), sipClass_KABC_DistributionList_Entry)) == NULL) - || PyList_Append (pylist, inst) < 0) - { - Py_DECREF (pylist); - return NULL; - } - } - - return pylist; -%End - - -%ConvertToTypeCode - if (sipIsErr == NULL) - return PyList_Check(sipPy); - - QValueList *cpplist = new QValueList; - - PyObject *elem; - KABC::DistributionList::Entry *cpp; - int iserr = 0; - - for (int i = 0; i < PyList_Size (sipPy); i++) - { - elem = PyList_GET_ITEM (sipPy, i); - cpp = (KABC::DistributionList::Entry *)sipForceConvertTo_KABC_DistributionList_Entry (elem, &iserr); - - if (iserr) - { - *sipIsErr = 1; - delete cpplist; - return 0; - } - - cpplist->append (*cpp); - } - - *sipCppPtr = cpplist; - - return 1; -%End -}; - - diff --git a/python/pykde/sip/kabc/distributionlistdialog.sip b/python/pykde/sip/kabc/distributionlistdialog.sip deleted file mode 100644 index 720afd09..00000000 --- a/python/pykde/sip/kabc/distributionlistdialog.sip +++ /dev/null @@ -1,74 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kabc version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -%If ( KDE_3_1_0 - ) -namespace KABC -{ - -class DistributionListDialog : KDialogBase -{ -%TypeHeaderCode -#include -%End - - -public: - DistributionListDialog (KABC::AddressBook*, QWidget*); - -}; // class DistributionListDialog - - -class EmailSelector : KDialogBase -{ -%TypeHeaderCode -#include -%End - - -public: - EmailSelector (const QStringList&, const QString&, QWidget*); - QString selected (); - static QString getEmail (const QStringList&, const QString&, QWidget*); - -}; // class EmailSelector - - -class DistributionListEditorWidget : QWidget -{ -%TypeHeaderCode -#include -%End - - -public: - DistributionListEditorWidget (KABC::AddressBook*, QWidget*); - -}; // class DistributionListEditorWidget - -}; // namespace KABC - -%End - diff --git a/python/pykde/sip/kabc/distributionlisteditor.sip b/python/pykde/sip/kabc/distributionlisteditor.sip deleted file mode 100644 index e97df7f8..00000000 --- a/python/pykde/sip/kabc/distributionlisteditor.sip +++ /dev/null @@ -1,47 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kabc version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - -namespace KABC -{ - -class EmailSelectDialog : KDialogBase -{ -%TypeHeaderCode -#include -%End - - -public: - EmailSelectDialog (const QStringList&, const QString&, QWidget*); - QString selected (); - static QString getEmail (const QStringList&, const QString&, QWidget*); - -}; // class EmailSelectDialog - - -//ig class DistributionListEditor : QWidget; - -}; // namespace KABC - diff --git a/python/pykde/sip/kabc/errorhandler.sip b/python/pykde/sip/kabc/errorhandler.sip deleted file mode 100644 index 9a24483f..00000000 --- a/python/pykde/sip/kabc/errorhandler.sip +++ /dev/null @@ -1,97 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kabc version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -%If ( KDE_3_1_0 - ) -namespace KABC -{ - -class ErrorHandler -{ -%TypeHeaderCode -#include -#include -%End - - -public: - virtual void error (const QString&) = 0; - -}; // class ErrorHandler - - -class ConsoleErrorHandler : KABC::ErrorHandler -{ -%TypeHeaderCode -#include -#include -%End - - -public: - virtual void error (const QString&); - -}; // class ConsoleErrorHandler - - -%If ( KDE_3_5_1 - ) - -class GUIErrorHandler : KABC::ErrorHandler -{ -%TypeHeaderCode -#include -%End - - -public: - virtual void error (const QString&); - -}; // class GUIErrorHandler - -%End - - -%If ( KDE_3_2_0 - ) - -class GuiErrorHandler : KABC::ErrorHandler -{ -%TypeHeaderCode -#include -#include -%End - - -public: - GuiErrorHandler (QWidget*); - virtual void error (const QString&); - -}; // class GuiErrorHandler - -%End - -}; // namespace KABC - -%End - diff --git a/python/pykde/sip/kabc/field.sip b/python/pykde/sip/kabc/field.sip deleted file mode 100644 index 6056f7d7..00000000 --- a/python/pykde/sip/kabc/field.sip +++ /dev/null @@ -1,162 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kabc version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -%If ( KDE_3_1_0 - ) -namespace KABC -{ - -class Field -{ -%TypeHeaderCode -#include -%End - - -public: - typedef QValueList List; - - enum FieldCategory - { - All, - Frequent, - Address, - Email, - Personal, - Organization, - CustomCategory - }; - - virtual QString label (); - virtual int category (); - static QString categoryLabel (int); - virtual QString value (const KABC::Addressee&); - virtual bool setValue (KABC::Addressee&, const QString&); - -%If ( KDE_3_2_0 - ) - QString sortKey (const KABC::Addressee&); -%End - - virtual bool isCustom (); - virtual bool equals (KABC::Field*); - static KABC::Field::List allFields (); - static KABC::Field::List defaultFields (); - static KABC::Field* createCustomField (const QString&, int, const QString&, const QString&); - static void deleteFields (); - static void saveFields (KConfig*, const QString&, const KABC::Field::List&); - static void saveFields (const QString&, const KABC::Field::List&); - static KABC::Field::List restoreFields (KConfig*, const QString&); - static KABC::Field::List restoreFields (const QString&); - -protected: - static void createField (int, int = 0); - static void createDefaultField (int, int = 0); - -private: -//ig Field (KABC::Field::FieldImpl*); - ~Field (); -//force - Field (); -//end - -}; // class Field - -}; // namespace KABC - -%End - - - -%If (KDE_3_1_0 - ) -%MappedType KABC::Field::List -//converts a Python list of KABC::Field -{ -%TypeHeaderCode -#include -#include -//typedef QValueList List; -%End - -%ConvertFromTypeCode - if (!sipCpp) - return PyList_New(0); - - // Create the list - PyObject *pylist; - if ((pylist = PyList_New(0)) == NULL) - return NULL; - - QValueList *cpplist = (QValueList *)sipCpp; - PyObject *inst; - - // Get it. - QValueList::Iterator it; - for( it = cpplist->begin(); it != cpplist->end(); ++it ) - { - if (((inst = sipBuildResult (NULL, "N", (KABC::Field *) (*it), sipClass_KABC_Field)) == NULL) - || PyList_Append (pylist, inst) < 0) - { - Py_DECREF (pylist); - return NULL; - } - } - - return pylist; -%End - - -%ConvertToTypeCode - if (sipIsErr == NULL) - return PyList_Check(sipPy); - - QValueList *cpplist = new QValueList; - - PyObject *elem; - KABC::Field *cpp; - int iserr = 0; - - for (int i = 0; i < PyList_Size (sipPy); i++) - { - elem = PyList_GET_ITEM (sipPy, i); - cpp = (KABC::Field *)sipForceConvertTo_KABC_Field (elem, &iserr); - - if (iserr) - { - *sipIsErr = 1; - delete cpplist; - return 0; - } - - cpplist->append (cpp); - } - - *sipCppPtr = cpplist; - - return 1; -%End -}; -%End - - diff --git a/python/pykde/sip/kabc/format.sip b/python/pykde/sip/kabc/format.sip deleted file mode 100644 index 30b863ba..00000000 --- a/python/pykde/sip/kabc/format.sip +++ /dev/null @@ -1,43 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kabc version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - -namespace KABC -{ - -class Format -{ -%TypeHeaderCode -#include -%End - - -public: - virtual bool load (KABC::AddressBook*, const QString&) = 0; - virtual bool save (KABC::AddressBook*, const QString&) = 0; - -}; // class Format - -}; // namespace KABC - diff --git a/python/pykde/sip/kabc/formatfactory.sip b/python/pykde/sip/kabc/formatfactory.sip deleted file mode 100644 index 14ec70c4..00000000 --- a/python/pykde/sip/kabc/formatfactory.sip +++ /dev/null @@ -1,74 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kabc version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -%If ( KDE_3_1_0 - ) -namespace KABC -{ - -class FormatInfo -{ -%TypeHeaderCode -#include -%End - - -public: - QString library; - QString nameLabel; - QString descriptionLabel; - -}; // class FormatInfo - - -class FormatFactory -{ -%TypeHeaderCode -#include -%End - - -public: - static KABC::FormatFactory* self (); - KABC::FormatPlugin* format (const QString&); - QStringList formats (); - KABC::FormatInfo* info (const QString&); - -protected: - FormatFactory (); - -protected: - -%If ( - KDE_3_2_0 ) - ~FormatFactory (); -%End - - -}; // class FormatFactory - -}; // namespace KABC - -%End - diff --git a/python/pykde/sip/kabc/formatplugin.sip b/python/pykde/sip/kabc/formatplugin.sip deleted file mode 100644 index bb63e8d0..00000000 --- a/python/pykde/sip/kabc/formatplugin.sip +++ /dev/null @@ -1,50 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kabc version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -%If ( KDE_3_1_0 - ) -namespace KABC -{ - -class FormatPlugin : KABC::Plugin -{ -%TypeHeaderCode -#include -%End - - -public: - virtual bool load (KABC::Addressee&, QFile*) = 0; - virtual bool loadAll (KABC::AddressBook*, KABC::Resource*, QFile*) = 0; - virtual void save (const KABC::Addressee&, QFile*) = 0; - virtual void saveAll (KABC::AddressBook*, KABC::Resource*, QFile*) = 0; - virtual bool checkFormat (QFile*) const = 0; - -}; // class FormatPlugin - -}; // namespace KABC - -%End - diff --git a/python/pykde/sip/kabc/geo.sip b/python/pykde/sip/kabc/geo.sip deleted file mode 100644 index 48124a71..00000000 --- a/python/pykde/sip/kabc/geo.sip +++ /dev/null @@ -1,61 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kabc version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - -namespace KABC -{ - -class Geo -{ -%TypeHeaderCode -#include -%End - - -public: - Geo (); - Geo (float, float); - void setLatitude (float); - float latitude () const; - void setLongitude (float); - float longitude () const; - bool isValid () const; - bool operator == (const KABC::Geo&) const; - -%If ( KDE_3_1_0 - ) - bool operator != (const KABC::Geo&) const; -%End - - QString asString () const; - -}; // class Geo - - -%If ( KDE_3_1_0 - ) -//igx QDataStream& operator << (QDataStream&, const KABC::Geo&); -//igx QDataStream& operator >> (QDataStream&, KABC::Geo&); -%End - -}; // namespace KABC - diff --git a/python/pykde/sip/kabc/kabc-kde310.diff b/python/pykde/sip/kabc/kabc-kde310.diff deleted file mode 100644 index 294c0cbc..00000000 --- a/python/pykde/sip/kabc/kabc-kde310.diff +++ /dev/null @@ -1,17 +0,0 @@ -+ %Include addresseelist.sip -+ %Include addresslineedit.sip -+ %Include agent.sip -+ %Include distributionlistdialog.sip -+ %Include errorhandler.sip -+ %Include field.sip -+ %Include formatfactory.sip -+ %Include formatplugin.sip -+ %Include key.sip -+ %Include ldapclient.sip -+ %Include picture.sip -+ %Include plugin.sip -+ %Include resourceselectdialog.sip -+ %Include secrecy.sip -+ %Include sound.sip -+ %Include vcardconverter.sip -+ %Include vcardformatplugin.sip diff --git a/python/pykde/sip/kabc/kabc-kde311.diff b/python/pykde/sip/kabc/kabc-kde311.diff deleted file mode 100644 index 294c0cbc..00000000 --- a/python/pykde/sip/kabc/kabc-kde311.diff +++ /dev/null @@ -1,17 +0,0 @@ -+ %Include addresseelist.sip -+ %Include addresslineedit.sip -+ %Include agent.sip -+ %Include distributionlistdialog.sip -+ %Include errorhandler.sip -+ %Include field.sip -+ %Include formatfactory.sip -+ %Include formatplugin.sip -+ %Include key.sip -+ %Include ldapclient.sip -+ %Include picture.sip -+ %Include plugin.sip -+ %Include resourceselectdialog.sip -+ %Include secrecy.sip -+ %Include sound.sip -+ %Include vcardconverter.sip -+ %Include vcardformatplugin.sip diff --git a/python/pykde/sip/kabc/kabc-kde312.diff b/python/pykde/sip/kabc/kabc-kde312.diff deleted file mode 100644 index 294c0cbc..00000000 --- a/python/pykde/sip/kabc/kabc-kde312.diff +++ /dev/null @@ -1,17 +0,0 @@ -+ %Include addresseelist.sip -+ %Include addresslineedit.sip -+ %Include agent.sip -+ %Include distributionlistdialog.sip -+ %Include errorhandler.sip -+ %Include field.sip -+ %Include formatfactory.sip -+ %Include formatplugin.sip -+ %Include key.sip -+ %Include ldapclient.sip -+ %Include picture.sip -+ %Include plugin.sip -+ %Include resourceselectdialog.sip -+ %Include secrecy.sip -+ %Include sound.sip -+ %Include vcardconverter.sip -+ %Include vcardformatplugin.sip diff --git a/python/pykde/sip/kabc/kabc-kde313.diff b/python/pykde/sip/kabc/kabc-kde313.diff deleted file mode 100644 index 294c0cbc..00000000 --- a/python/pykde/sip/kabc/kabc-kde313.diff +++ /dev/null @@ -1,17 +0,0 @@ -+ %Include addresseelist.sip -+ %Include addresslineedit.sip -+ %Include agent.sip -+ %Include distributionlistdialog.sip -+ %Include errorhandler.sip -+ %Include field.sip -+ %Include formatfactory.sip -+ %Include formatplugin.sip -+ %Include key.sip -+ %Include ldapclient.sip -+ %Include picture.sip -+ %Include plugin.sip -+ %Include resourceselectdialog.sip -+ %Include secrecy.sip -+ %Include sound.sip -+ %Include vcardconverter.sip -+ %Include vcardformatplugin.sip diff --git a/python/pykde/sip/kabc/kabc-kde314.diff b/python/pykde/sip/kabc/kabc-kde314.diff deleted file mode 100644 index 294c0cbc..00000000 --- a/python/pykde/sip/kabc/kabc-kde314.diff +++ /dev/null @@ -1,17 +0,0 @@ -+ %Include addresseelist.sip -+ %Include addresslineedit.sip -+ %Include agent.sip -+ %Include distributionlistdialog.sip -+ %Include errorhandler.sip -+ %Include field.sip -+ %Include formatfactory.sip -+ %Include formatplugin.sip -+ %Include key.sip -+ %Include ldapclient.sip -+ %Include picture.sip -+ %Include plugin.sip -+ %Include resourceselectdialog.sip -+ %Include secrecy.sip -+ %Include sound.sip -+ %Include vcardconverter.sip -+ %Include vcardformatplugin.sip diff --git a/python/pykde/sip/kabc/kabc-kde320.diff b/python/pykde/sip/kabc/kabc-kde320.diff deleted file mode 100644 index a7c2d681..00000000 --- a/python/pykde/sip/kabc/kabc-kde320.diff +++ /dev/null @@ -1,21 +0,0 @@ -+ %Include addresseelist.sip -+ %Include addresslineedit.sip -+ %Include agent.sip -+ %Include distributionlistdialog.sip -+ %Include errorhandler.sip -+ %Include field.sip -+ %Include formatfactory.sip -+ %Include formatplugin.sip -+ %Include key.sip -+ %Include ldapclient.sip -//+ %Include ldifconverter.sip -+ %Include lock.sip -+ %Include locknull.sip -+ %Include picture.sip -+ %Include plugin.sip -+ %Include resourcefile.sip -+ %Include resourceselectdialog.sip -+ %Include secrecy.sip -+ %Include sound.sip -+ %Include vcardconverter.sip -+ %Include vcardformatplugin.sip diff --git a/python/pykde/sip/kabc/kabc-kde322.diff b/python/pykde/sip/kabc/kabc-kde322.diff deleted file mode 100644 index a7c2d681..00000000 --- a/python/pykde/sip/kabc/kabc-kde322.diff +++ /dev/null @@ -1,21 +0,0 @@ -+ %Include addresseelist.sip -+ %Include addresslineedit.sip -+ %Include agent.sip -+ %Include distributionlistdialog.sip -+ %Include errorhandler.sip -+ %Include field.sip -+ %Include formatfactory.sip -+ %Include formatplugin.sip -+ %Include key.sip -+ %Include ldapclient.sip -//+ %Include ldifconverter.sip -+ %Include lock.sip -+ %Include locknull.sip -+ %Include picture.sip -+ %Include plugin.sip -+ %Include resourcefile.sip -+ %Include resourceselectdialog.sip -+ %Include secrecy.sip -+ %Include sound.sip -+ %Include vcardconverter.sip -+ %Include vcardformatplugin.sip diff --git a/python/pykde/sip/kabc/kabc-kde323.diff b/python/pykde/sip/kabc/kabc-kde323.diff deleted file mode 100644 index a7c2d681..00000000 --- a/python/pykde/sip/kabc/kabc-kde323.diff +++ /dev/null @@ -1,21 +0,0 @@ -+ %Include addresseelist.sip -+ %Include addresslineedit.sip -+ %Include agent.sip -+ %Include distributionlistdialog.sip -+ %Include errorhandler.sip -+ %Include field.sip -+ %Include formatfactory.sip -+ %Include formatplugin.sip -+ %Include key.sip -+ %Include ldapclient.sip -//+ %Include ldifconverter.sip -+ %Include lock.sip -+ %Include locknull.sip -+ %Include picture.sip -+ %Include plugin.sip -+ %Include resourcefile.sip -+ %Include resourceselectdialog.sip -+ %Include secrecy.sip -+ %Include sound.sip -+ %Include vcardconverter.sip -+ %Include vcardformatplugin.sip diff --git a/python/pykde/sip/kabc/kabc-kde330.diff b/python/pykde/sip/kabc/kabc-kde330.diff deleted file mode 100644 index d89a0acc..00000000 --- a/python/pykde/sip/kabc/kabc-kde330.diff +++ /dev/null @@ -1,24 +0,0 @@ -+ %Include addresseelist.sip -+ %Include addresslineedit.sip -+ %Include agent.sip -+ %Include distributionlistdialog.sip -+ %Include errorhandler.sip -+ %Include field.sip -+ %Include formatfactory.sip -+ %Include formatplugin.sip -+ %Include key.sip -+ %Include ldapclient.sip -+ %Include ldapconfigwidget.sip -+ %Include ldapurl.sip -+ %Include ldif.sip -//+ %Include ldifconverter.sip -+ %Include lock.sip -+ %Include locknull.sip -+ %Include picture.sip -+ %Include plugin.sip -+ %Include resourcefile.sip -+ %Include resourceselectdialog.sip -+ %Include secrecy.sip -+ %Include sound.sip -+ %Include vcardconverter.sip -+ %Include vcardformatplugin.sip diff --git a/python/pykde/sip/kabc/kabc-kde331.diff b/python/pykde/sip/kabc/kabc-kde331.diff deleted file mode 100644 index d89a0acc..00000000 --- a/python/pykde/sip/kabc/kabc-kde331.diff +++ /dev/null @@ -1,24 +0,0 @@ -+ %Include addresseelist.sip -+ %Include addresslineedit.sip -+ %Include agent.sip -+ %Include distributionlistdialog.sip -+ %Include errorhandler.sip -+ %Include field.sip -+ %Include formatfactory.sip -+ %Include formatplugin.sip -+ %Include key.sip -+ %Include ldapclient.sip -+ %Include ldapconfigwidget.sip -+ %Include ldapurl.sip -+ %Include ldif.sip -//+ %Include ldifconverter.sip -+ %Include lock.sip -+ %Include locknull.sip -+ %Include picture.sip -+ %Include plugin.sip -+ %Include resourcefile.sip -+ %Include resourceselectdialog.sip -+ %Include secrecy.sip -+ %Include sound.sip -+ %Include vcardconverter.sip -+ %Include vcardformatplugin.sip diff --git a/python/pykde/sip/kabc/kabc-kde332.diff b/python/pykde/sip/kabc/kabc-kde332.diff deleted file mode 100644 index d89a0acc..00000000 --- a/python/pykde/sip/kabc/kabc-kde332.diff +++ /dev/null @@ -1,24 +0,0 @@ -+ %Include addresseelist.sip -+ %Include addresslineedit.sip -+ %Include agent.sip -+ %Include distributionlistdialog.sip -+ %Include errorhandler.sip -+ %Include field.sip -+ %Include formatfactory.sip -+ %Include formatplugin.sip -+ %Include key.sip -+ %Include ldapclient.sip -+ %Include ldapconfigwidget.sip -+ %Include ldapurl.sip -+ %Include ldif.sip -//+ %Include ldifconverter.sip -+ %Include lock.sip -+ %Include locknull.sip -+ %Include picture.sip -+ %Include plugin.sip -+ %Include resourcefile.sip -+ %Include resourceselectdialog.sip -+ %Include secrecy.sip -+ %Include sound.sip -+ %Include vcardconverter.sip -+ %Include vcardformatplugin.sip diff --git a/python/pykde/sip/kabc/kabc-kde340.diff b/python/pykde/sip/kabc/kabc-kde340.diff deleted file mode 100644 index 24ca6590..00000000 --- a/python/pykde/sip/kabc/kabc-kde340.diff +++ /dev/null @@ -1,25 +0,0 @@ -+ %Include addresseelist.sip -+ %Include addresslineedit.sip -+ %Include agent.sip -+ %Include distributionlistdialog.sip -+ %Include errorhandler.sip -+ %Include field.sip -+ %Include formatfactory.sip -+ %Include formatplugin.sip -+ %Include key.sip -+ %Include ldapclient.sip -+ %Include ldapconfigwidget.sip -+ %Include ldapurl.sip -+ %Include ldif.sip -//+ %Include ldifconverter.sip -+ %Include lock.sip -+ %Include locknull.sip -+ %Include picture.sip -+ %Include plugin.sip -+ %Include resourcefile.sip -+ %Include resourceselectdialog.sip -+ %Include secrecy.sip -+ %Include sortmode.sip -+ %Include sound.sip -+ %Include vcardconverter.sip -+ %Include vcardformatplugin.sip diff --git a/python/pykde/sip/kabc/kabc-kde341.diff b/python/pykde/sip/kabc/kabc-kde341.diff deleted file mode 100644 index 24ca6590..00000000 --- a/python/pykde/sip/kabc/kabc-kde341.diff +++ /dev/null @@ -1,25 +0,0 @@ -+ %Include addresseelist.sip -+ %Include addresslineedit.sip -+ %Include agent.sip -+ %Include distributionlistdialog.sip -+ %Include errorhandler.sip -+ %Include field.sip -+ %Include formatfactory.sip -+ %Include formatplugin.sip -+ %Include key.sip -+ %Include ldapclient.sip -+ %Include ldapconfigwidget.sip -+ %Include ldapurl.sip -+ %Include ldif.sip -//+ %Include ldifconverter.sip -+ %Include lock.sip -+ %Include locknull.sip -+ %Include picture.sip -+ %Include plugin.sip -+ %Include resourcefile.sip -+ %Include resourceselectdialog.sip -+ %Include secrecy.sip -+ %Include sortmode.sip -+ %Include sound.sip -+ %Include vcardconverter.sip -+ %Include vcardformatplugin.sip diff --git a/python/pykde/sip/kabc/kabc-kde342.diff b/python/pykde/sip/kabc/kabc-kde342.diff deleted file mode 100644 index 24ca6590..00000000 --- a/python/pykde/sip/kabc/kabc-kde342.diff +++ /dev/null @@ -1,25 +0,0 @@ -+ %Include addresseelist.sip -+ %Include addresslineedit.sip -+ %Include agent.sip -+ %Include distributionlistdialog.sip -+ %Include errorhandler.sip -+ %Include field.sip -+ %Include formatfactory.sip -+ %Include formatplugin.sip -+ %Include key.sip -+ %Include ldapclient.sip -+ %Include ldapconfigwidget.sip -+ %Include ldapurl.sip -+ %Include ldif.sip -//+ %Include ldifconverter.sip -+ %Include lock.sip -+ %Include locknull.sip -+ %Include picture.sip -+ %Include plugin.sip -+ %Include resourcefile.sip -+ %Include resourceselectdialog.sip -+ %Include secrecy.sip -+ %Include sortmode.sip -+ %Include sound.sip -+ %Include vcardconverter.sip -+ %Include vcardformatplugin.sip diff --git a/python/pykde/sip/kabc/kabc-kde343.diff b/python/pykde/sip/kabc/kabc-kde343.diff deleted file mode 100644 index 24ca6590..00000000 --- a/python/pykde/sip/kabc/kabc-kde343.diff +++ /dev/null @@ -1,25 +0,0 @@ -+ %Include addresseelist.sip -+ %Include addresslineedit.sip -+ %Include agent.sip -+ %Include distributionlistdialog.sip -+ %Include errorhandler.sip -+ %Include field.sip -+ %Include formatfactory.sip -+ %Include formatplugin.sip -+ %Include key.sip -+ %Include ldapclient.sip -+ %Include ldapconfigwidget.sip -+ %Include ldapurl.sip -+ %Include ldif.sip -//+ %Include ldifconverter.sip -+ %Include lock.sip -+ %Include locknull.sip -+ %Include picture.sip -+ %Include plugin.sip -+ %Include resourcefile.sip -+ %Include resourceselectdialog.sip -+ %Include secrecy.sip -+ %Include sortmode.sip -+ %Include sound.sip -+ %Include vcardconverter.sip -+ %Include vcardformatplugin.sip diff --git a/python/pykde/sip/kabc/kabc-kde350.diff b/python/pykde/sip/kabc/kabc-kde350.diff deleted file mode 100644 index 24ca6590..00000000 --- a/python/pykde/sip/kabc/kabc-kde350.diff +++ /dev/null @@ -1,25 +0,0 @@ -+ %Include addresseelist.sip -+ %Include addresslineedit.sip -+ %Include agent.sip -+ %Include distributionlistdialog.sip -+ %Include errorhandler.sip -+ %Include field.sip -+ %Include formatfactory.sip -+ %Include formatplugin.sip -+ %Include key.sip -+ %Include ldapclient.sip -+ %Include ldapconfigwidget.sip -+ %Include ldapurl.sip -+ %Include ldif.sip -//+ %Include ldifconverter.sip -+ %Include lock.sip -+ %Include locknull.sip -+ %Include picture.sip -+ %Include plugin.sip -+ %Include resourcefile.sip -+ %Include resourceselectdialog.sip -+ %Include secrecy.sip -+ %Include sortmode.sip -+ %Include sound.sip -+ %Include vcardconverter.sip -+ %Include vcardformatplugin.sip diff --git a/python/pykde/sip/kabc/kabc-kde351.diff b/python/pykde/sip/kabc/kabc-kde351.diff deleted file mode 100644 index 24ca6590..00000000 --- a/python/pykde/sip/kabc/kabc-kde351.diff +++ /dev/null @@ -1,25 +0,0 @@ -+ %Include addresseelist.sip -+ %Include addresslineedit.sip -+ %Include agent.sip -+ %Include distributionlistdialog.sip -+ %Include errorhandler.sip -+ %Include field.sip -+ %Include formatfactory.sip -+ %Include formatplugin.sip -+ %Include key.sip -+ %Include ldapclient.sip -+ %Include ldapconfigwidget.sip -+ %Include ldapurl.sip -+ %Include ldif.sip -//+ %Include ldifconverter.sip -+ %Include lock.sip -+ %Include locknull.sip -+ %Include picture.sip -+ %Include plugin.sip -+ %Include resourcefile.sip -+ %Include resourceselectdialog.sip -+ %Include secrecy.sip -+ %Include sortmode.sip -+ %Include sound.sip -+ %Include vcardconverter.sip -+ %Include vcardformatplugin.sip diff --git a/python/pykde/sip/kabc/kabc-kde352.diff b/python/pykde/sip/kabc/kabc-kde352.diff deleted file mode 100644 index 24ca6590..00000000 --- a/python/pykde/sip/kabc/kabc-kde352.diff +++ /dev/null @@ -1,25 +0,0 @@ -+ %Include addresseelist.sip -+ %Include addresslineedit.sip -+ %Include agent.sip -+ %Include distributionlistdialog.sip -+ %Include errorhandler.sip -+ %Include field.sip -+ %Include formatfactory.sip -+ %Include formatplugin.sip -+ %Include key.sip -+ %Include ldapclient.sip -+ %Include ldapconfigwidget.sip -+ %Include ldapurl.sip -+ %Include ldif.sip -//+ %Include ldifconverter.sip -+ %Include lock.sip -+ %Include locknull.sip -+ %Include picture.sip -+ %Include plugin.sip -+ %Include resourcefile.sip -+ %Include resourceselectdialog.sip -+ %Include secrecy.sip -+ %Include sortmode.sip -+ %Include sound.sip -+ %Include vcardconverter.sip -+ %Include vcardformatplugin.sip diff --git a/python/pykde/sip/kabc/kabc-kde353.diff b/python/pykde/sip/kabc/kabc-kde353.diff deleted file mode 100644 index 3ea9e5f6..00000000 --- a/python/pykde/sip/kabc/kabc-kde353.diff +++ /dev/null @@ -1,25 +0,0 @@ -+ %Include addresseelist.sip -+ %Include addresslineedit.sip -+ %Include agent.sip -+ %Include distributionlistdialog.sip -+ %Include errorhandler.sip -+ %Include field.sip -+ %Include formatfactory.sip -+ %Include formatplugin.sip -+ %Include key.sip -+ %Include ldapclient.sip -+ %Include ldapconfigwidget.sip -+ %Include ldapurl.sip -+ %Include ldif.sip -+ %Include ldifconverter.sip -+ %Include lock.sip -+ %Include locknull.sip -+ %Include picture.sip -+ %Include plugin.sip -+ %Include resourcefile.sip -+ %Include resourceselectdialog.sip -+ %Include secrecy.sip -+ %Include sortmode.sip -+ %Include sound.sip -+ %Include vcardconverter.sip -+ %Include vcardformatplugin.sip diff --git a/python/pykde/sip/kabc/kabcmod.sip b/python/pykde/sip/kabc/kabcmod.sip deleted file mode 100644 index 109cefcc..00000000 --- a/python/pykde/sip/kabc/kabcmod.sip +++ /dev/null @@ -1,78 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kabc version KDE_3_5_2 - -%Copying - - This software is free software; you can redistribute it and/or - modify it under the terms of the GNU General Public License as - published by the Free Software Foundation; either version 2 of - the License, or (at your option) any later version. - - This software is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public - License along with this library; see the file COPYING. - If not, write to the Free Software Foundation, Inc., - 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - -%End - -%Module kabc - -%Import qt/qtmod.sip -%Import qtxml/qtxmlmod.sip -%Import dcopmod.sip -%Import kdecoremod.sip -%Import kdefxmod.sip -%Import kdeuimod.sip -%Import kiomod.sip -%Import kresourcesmod.sip - -%Include address.sip -%Include addressbook.sip -%Include addressee.sip -%Include addresseedialog.sip -%Include distributionlist.sip -%Include distributionlisteditor.sip -%Include format.sip -%Include geo.sip -//%Include ldifconverter.sip -%Include phonenumber.sip -%Include resource.sip -%Include stdaddressbook.sip -%Include timezone.sip -%Include vcardformat.sip -%Include addresseelist.sip -%Include addresslineedit.sip -%Include agent.sip -%Include distributionlistdialog.sip -%Include errorhandler.sip -%Include field.sip -%Include formatfactory.sip -%Include formatplugin.sip -%Include key.sip -%Include ldapclient.sip -%Include ldapconfigwidget.sip -%Include ldapurl.sip -%Include ldif.sip -%Include lock.sip -%Include locknull.sip -%Include picture.sip -%Include plugin.sip -%Include resourcefile.sip -%Include resourceselectdialog.sip -%Include secrecy.sip -%Include sortmode.sip -%Include sound.sip -%Include vcardconverter.sip -%Include vcardformatplugin.sip - diff --git a/python/pykde/sip/kabc/kabcmod.sip.in b/python/pykde/sip/kabc/kabcmod.sip.in deleted file mode 100644 index 0b5234a3..00000000 --- a/python/pykde/sip/kabc/kabcmod.sip.in +++ /dev/null @@ -1,55 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kabc version KDE_3_5_2 - -%Copying - - This software is free software; you can redistribute it and/or - modify it under the terms of the GNU General Public License as - published by the Free Software Foundation; either version 2 of - the License, or (at your option) any later version. - - This software is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public - License along with this library; see the file COPYING. - If not, write to the Free Software Foundation, Inc., - 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - -%End - -%Module kabc - -%Import qt/qtmod.sip -%Import qtxml/qtxmlmod.sip -%Import dcopmod.sip -%Import kdecoremod.sip -%Import kdefxmod.sip -%Import kdeuimod.sip -%Import kiomod.sip -%Import kresourcesmod.sip - -%Include address.sip -%Include addressbook.sip -%Include addressee.sip -%Include addresseedialog.sip -%Include distributionlist.sip -%Include distributionlisteditor.sip -%Include format.sip -%Include geo.sip -//%Include ldifconverter.sip -%Include phonenumber.sip -%Include resource.sip -%Include stdaddressbook.sip -%Include timezone.sip -%Include vcardformat.sip -@mark@ - diff --git a/python/pykde/sip/kabc/key.sip b/python/pykde/sip/kabc/key.sip deleted file mode 100644 index 9036d113..00000000 --- a/python/pykde/sip/kabc/key.sip +++ /dev/null @@ -1,144 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kabc version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -%If ( KDE_3_1_0 - ) -namespace KABC -{ - -class Key -{ -%TypeHeaderCode -#include -%End - - -public: - typedef QValueList List; - typedef QValueList TypeList; - - enum Types - { - X509, - PGP, - Custom - }; - - Key (const QString& = QString ::null , int = PGP ); - bool operator == (const KABC::Key&) const; - bool operator != (const KABC::Key&) const; - void setId (const QString&); - QString id () const; - void setBinaryData (const QByteArray&); - QByteArray binaryData () const; - void setTextData (const QString&); - QString textData () const; - bool isBinary () const; - void setType (int); - void setCustomTypeString (const QString&); - int type () const; - QString customTypeString () const; - static TypeList typeList (); - static QString typeLabel (int); - -}; // class Key - -//igx QDataStream& operator << (QDataStream&, const KABC::Key&); -//igx QDataStream& operator >> (QDataStream&, KABC::Key&); -}; // namespace KABC - -%End - - - -%MappedType KABC::Key::List -//converts a Python list of KABC::Key -{ -%TypeHeaderCode -#include -#include -//typedef QValueList List; -%End - -%ConvertFromTypeCode - if (!sipCpp) - return PyList_New(0); - - // Create the list - PyObject *pylist; - if ((pylist = PyList_New(0)) == NULL) - return NULL; - - QValueList *cpplist = (QValueList *)sipCpp; - PyObject *inst; - - // Get it. - QValueList::Iterator it; - for( it = cpplist->begin(); it != cpplist->end(); ++it ) - { - if (((inst = sipBuildResult (NULL, "N", new KABC::Key (*it), sipClass_KABC_Key)) == NULL) - || PyList_Append (pylist, inst) < 0) - { - Py_DECREF (pylist); - return NULL; - } - } - - return pylist; -%End - - -%ConvertToTypeCode - if (sipIsErr == NULL) - return PyList_Check(sipPy); - - QValueList *cpplist = new QValueList; - - PyObject *elem; - KABC::Key *cpp; - int iserr = 0; - - for (int i = 0; i < PyList_Size (sipPy); i++) - { - elem = PyList_GET_ITEM (sipPy, i); - cpp = (KABC::Key *)sipForceConvertTo_KABC_Key (elem, &iserr); - - if (iserr) - { - *sipIsErr = 1; - delete cpplist; - return 0; - } - - cpplist->append (*cpp); - } - - *sipCppPtr = cpplist; - - return 1; -%End -}; - - diff --git a/python/pykde/sip/kabc/ldapclient.sip b/python/pykde/sip/kabc/ldapclient.sip deleted file mode 100644 index 794cdb0a..00000000 --- a/python/pykde/sip/kabc/ldapclient.sip +++ /dev/null @@ -1,245 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kabc version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -%If ( KDE_3_1_0 - ) -namespace KABC -{ -//ig typedef QValueList LdapAttrValue; -//ig typedef QMap LdapAttrMap; - -class LdapObject -{ -%TypeHeaderCode -#include -%End - - -public: - LdapObject (); - -%If ( KDE_3_3_0 - ) - LdapObject (const QString&, KABC::LdapClient*); -%End - - LdapObject (const KABC::LdapObject&); - QString toString () const; - void clear (); - QString dn; -//ig LdapAttrMap attrs; - -%If ( KDE_3_3_0 - ) - KABC::LdapClient* client; -%End - - -protected: - void assign (const KABC::LdapObject&); - -public: - -%If ( - KDE_3_3_0 ) - LdapObject (QString); -%End - - -}; // class LdapObject - - -class LdapClient : QObject -{ -%TypeHeaderCode -#include -%End - - -public: - LdapClient (QObject* = 0, const char* = 0); - bool isActive () const; - -signals: - void done (); - void error (const QString&); - void result (const KABC::LdapObject&); - -public slots: - void setHost (const QString&); - QString host () const; - void setPort (const QString&); - QString port () const; - void setBase (const QString&); - QString base () const; - -%If ( KDE_3_2_0 - ) - void setBindDN (const QString&); - QString bindDN () const; - void setPwdBindDN (const QString&); - QString pwdBindDN () const; -%End - - void setAttrs (const QStringList&); - QStringList attrs () const; - void setScope (const QString); - void startQuery (const QString&); - void cancelQuery (); - -protected slots: - void slotData (KIO::Job*, const QByteArray&); - void slotInfoMessage (KIO::Job*, const QString&); - void slotDone (); - -protected: - void startParseLDIF (); - void parseLDIF (const QByteArray&); - void endParseLDIF (); - -}; // class LdapClient - - -%If ( KDE_3_3_0 - ) - -class LdapResult -{ -%TypeHeaderCode -#include -%End - - -public: - QString name; - QString email; - int clientNumber; - -}; // class LdapResult - -%End - - -%If ( KDE_3_3_0 - ) -typedef QValueList LdapResultList; -%End - - -class LdapSearch : QObject -{ -%TypeHeaderCode -#include -%End - - -public: - LdapSearch (); - void startSearch (const QString&); - void cancelSearch (); - bool isAvailable () const; - -signals: - void searchData (const QStringList&); - -%If ( KDE_3_3_0 - ) - void searchData (const KABC::LdapResultList&); -%End - - void searchDone (); - -}; // class LdapSearch - -}; // namespace KABC - -%End - - - -%If (KDE_3_3_0 - ) -%MappedType KABC::LdapResultList -//converts a Python list of KABC::LdapREsult -{ -%TypeHeaderCode -#include -#include -//typedef QValueList List; -%End - -%ConvertFromTypeCode - if (!sipCpp) - return PyList_New(0); - - // Create the list - PyObject *pylist; - if ((pylist = PyList_New(0)) == NULL) - return NULL; - - QValueList *cpplist = (QValueList *)sipCpp; - PyObject *inst; - - // Get it. - QValueList::Iterator it; - for( it = cpplist->begin(); it != cpplist->end(); ++it ) - { - if (((inst = sipBuildResult (NULL, "N", new KABC::LdapResult (*it), sipClass_KABC_LdapResult)) == NULL) - || PyList_Append (pylist, inst) < 0) - { - Py_DECREF (pylist); - return NULL; - } - } - - return pylist; -%End - - -%ConvertToTypeCode - if (sipIsErr == NULL) - return PyList_Check(sipPy); - - QValueList *cpplist = new QValueList; - - PyObject *elem; - KABC::LdapResult *cpp; - int iserr = 0; - - for (int i = 0; i < PyList_Size (sipPy); i++) - { - elem = PyList_GET_ITEM (sipPy, i); - cpp = (KABC::LdapResult *)sipForceConvertTo_KABC_LdapResult (elem, &iserr); - - if (iserr) - { - *sipIsErr = 1; - delete cpplist; - return 0; - } - - cpplist->append (*cpp); - } - - *sipCppPtr = cpplist; - - return 1; -%End -}; -%End - - diff --git a/python/pykde/sip/kabc/ldapconfigwidget.sip b/python/pykde/sip/kabc/ldapconfigwidget.sip deleted file mode 100644 index ce1ddb1a..00000000 --- a/python/pykde/sip/kabc/ldapconfigwidget.sip +++ /dev/null @@ -1,105 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kabc version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -%If ( KDE_3_3_0 - ) -namespace KABC -{ - -class LdapConfigWidget : QWidget -{ -%TypeHeaderCode -#include -%End - - -public: - - enum LCW_Flags - { - W_USER, - W_PASS, - W_BINDDN, - W_REALM, - W_HOST, - W_PORT, - W_VER, - W_DN, - W_FILTER, - W_SECBOX, - W_AUTHBOX, - W_TIMELIMIT, - W_SIZELIMIT, - W_ALL - }; - - LdapConfigWidget (QWidget* = 0, const char* = 0, WFlags = 0); - LdapConfigWidget (int, QWidget* = 0, const char* = 0, WFlags = 0); - void setUser (const QString&); - QString user () const; - void setPassword (const QString&); - QString password () const; - void setBindDN (const QString&); - QString bindDN () const; - void setRealm (const QString&); - QString realm () const; - void setHost (const QString&); - QString host () const; - void setPort (int); - int port () const; - void setVer (int); - int ver () const; - void setDn (const QString&); - QString dn () const; - void setFilter (const QString&); - QString filter () const; - void setMech (const QString&); - QString mech () const; - void setSecNO (bool = 1); - bool isSecNO () const; - void setSecTLS (bool = 1); - bool isSecTLS () const; - void setSecSSL (bool = 1); - bool isSecSSL () const; - void setAuthAnon (bool = 1); - bool isAuthAnon () const; - void setAuthSimple (bool = 1); - bool isAuthSimple () const; - void setAuthSASL (bool = 1); - bool isAuthSASL () const; - void setSizeLimit (int); - int sizeLimit () const; - void setTimeLimit (int); - int timeLimit () const; - int flags () const; - void setFlags (int); - KABC::LDAPUrl url () const; - -}; // class LdapConfigWidget - -}; // namespace KABC - -%End - diff --git a/python/pykde/sip/kabc/ldapurl.sip b/python/pykde/sip/kabc/ldapurl.sip deleted file mode 100644 index d0e6406e..00000000 --- a/python/pykde/sip/kabc/ldapurl.sip +++ /dev/null @@ -1,85 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kabc version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -%If ( KDE_3_3_0 - ) -namespace KABC -{ - -class LDAPUrl : KURL -{ -%TypeHeaderCode -#include -%End - - -public: - - class Extension - { - - public: - QString value; - bool critical; - - }; // class Extension - - -public: - - enum Scope - { - Base, - One, - Sub - }; - - LDAPUrl (); - LDAPUrl (const KURL&); - const QString& dn () const; - void setDn (const QString&); - const QStringList& attributes (); - void setAttributes (const QStringList&); - KABC::LDAPUrl::Scope scope () const; - void setScope (KABC::LDAPUrl::Scope); - const QString& filter () const; - void setFilter (QString); - bool hasExtension (const QString&) const; - KABC::LDAPUrl::Extension extension (const QString&) const; - QString extension (const QString&, bool& /Out/) const /PyName=extensionAndCritical/; - void setExtension (const QString&, const KABC::LDAPUrl::Extension&); - void setExtension (const QString&, const QString&, bool = 0); - void removeExtension (const QString&); - void updateQuery (); - -protected: - void parseQuery (); - -}; // class LDAPUrl - -}; // namespace KABC - -%End - diff --git a/python/pykde/sip/kabc/ldif.sip b/python/pykde/sip/kabc/ldif.sip deleted file mode 100644 index b7deb950..00000000 --- a/python/pykde/sip/kabc/ldif.sip +++ /dev/null @@ -1,99 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kabc version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -%If ( KDE_3_3_0 - ) -namespace KABC -{ - -class LDIF -{ -%TypeHeaderCode -#include -%End - - -public: - - enum ParseVal - { - None, - NewEntry, - EndEntry, - Item, - Control, - Err, - MoreData - }; - - - enum EntryType - { - Entry_None, - Entry_Add, - Entry_Del, - Entry_Mod, - Entry_Modrdn - }; - - - enum ModType - { - Mod_None, - Mod_Add, - Mod_Replace, - Mod_Del - }; - - LDIF (); - static QCString assembleLine (const QString&, const QByteArray&, uint = 0, bool = 0); - static QCString assembleLine (const QString&, const QCString&, uint = 0, bool = 0); - static QCString assembleLine (const QString&, const QString&, uint = 0, bool = 0); - static bool splitLine (const QCString&, QString&, QByteArray&); - static bool splitControl (const QCString&, QString&, bool&, QByteArray&); - void startParsing (); - KABC::LDIF::ParseVal processLine (); - KABC::LDIF::ParseVal nextItem (); - void setLDIF (const QByteArray&); - void endLDIF (); - KABC::LDIF::EntryType entryType () const; - int modType () const; - const QString& dn () const; - const QString& newRdn () const; - const QString& newSuperior () const; - bool delOldRdn () const; - const QString& attr () const; - const QByteArray& val () const; - bool isUrl () const; - bool critical () const; - const QString& oid () const; - uint lineNo () const; - -}; // class LDIF - -}; // namespace KABC - -%End - diff --git a/python/pykde/sip/kabc/ldifconverter.sip b/python/pykde/sip/kabc/ldifconverter.sip deleted file mode 100644 index 8bc4b528..00000000 --- a/python/pykde/sip/kabc/ldifconverter.sip +++ /dev/null @@ -1,78 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kabc version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - -%ModuleHeaderCode -#include -%End - - -%If ( KDE_3_2_0 - ) -namespace KABC -{ -namespace LDIFConverter -{ - -%If ( KDE_3_5_2 - ) -//ig bool LDIFToAddressee (const QString&, AddresseeList&, QDateTime = QDateTime ::currentDateTime ()); -//ig bool addresseeToLDIF (const AddresseeList&, QString&); -%End - -bool addresseeToLDIF (const KABC::Addressee&, QString&); -QString makeLDIFfieldString (QString, QString, bool = 1); -bool parseSingleLine (KABC::Addressee&, KABC::Address&, KABC::Address&, QString&); -bool splitLine (QString&, QString&, QString&); -bool evaluatePair (KABC::Addressee&, KABC::Address&, KABC::Address&, QString&, QString&); - -%If ( - KDE_3_5_2 ) -bool LDIFToAddressee (const QString&, KABC::Addressee::List&, QDateTime = QDateTime ::currentDateTime ()); -%MethodCode - - KABC::Addressee::List *xa1 = (KABC::Addressee::List *)a1; - - Py_BEGIN_ALLOW_THREADS - sipRes = KABC::LDIFConverter::LDIFToAddressee (*a0, *xa1, *a2); - Py_END_ALLOW_THREADS - -%End - -bool addresseeToLDIF (const KABC::Addressee::List&, QString&); -%MethodCode - - KABC::Addressee::List *xa0 = (KABC::Addressee::List *)a0; - - Py_BEGIN_ALLOW_THREADS - sipRes = KABC::LDIFConverter::addresseeToLDIF (*xa0, *a1); - Py_END_ALLOW_THREADS - -%End - -%End - -}; // namespace LDIFConverter - -}; // namespace KABC - -%End - diff --git a/python/pykde/sip/kabc/lock.sip b/python/pykde/sip/kabc/lock.sip deleted file mode 100644 index 82dbebbc..00000000 --- a/python/pykde/sip/kabc/lock.sip +++ /dev/null @@ -1,57 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kabc version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -%If ( KDE_3_2_0 - ) -namespace KABC -{ - -class Lock : QObject -{ -%TypeHeaderCode -#include -%End - - -public: - Lock (const QString&); - virtual bool lock (); - virtual bool unlock (); - virtual QString error () const; - QString lockFileName () const; - static bool readLockFile (const QString&, int&, QString&); - static bool writeLockFile (const QString&); - static QString locksDir (); - -signals: - void locked (); - void unlocked (); - -}; // class Lock - -}; // namespace KABC - -%End - diff --git a/python/pykde/sip/kabc/locknull.sip b/python/pykde/sip/kabc/locknull.sip deleted file mode 100644 index 6c24a381..00000000 --- a/python/pykde/sip/kabc/locknull.sip +++ /dev/null @@ -1,49 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kabc version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -%If ( KDE_3_2_0 - ) -namespace KABC -{ - -class LockNull : KABC::Lock -{ -%TypeHeaderCode -#include -%End - - -public: - LockNull (bool); - bool lock (); - bool unlock (); - QString error () const; - -}; // class LockNull - -}; // namespace KABC - -%End - diff --git a/python/pykde/sip/kabc/phonenumber.sip b/python/pykde/sip/kabc/phonenumber.sip deleted file mode 100644 index faa8b9bd..00000000 --- a/python/pykde/sip/kabc/phonenumber.sip +++ /dev/null @@ -1,191 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kabc version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - -namespace KABC -{ - -class PhoneNumber -{ -%TypeHeaderCode -#include -%End - - -public: - typedef QValueList List; - -%If ( KDE_3_1_0 - ) - typedef QValueList TypeList; - - enum Types - { - Home, - Work, - Msg, - Pref, - Voice, - Fax, - Cell, - Video, - Bbs, - Modem, - Car, - Isdn, - Pcs, - Pager - }; - -%End - - PhoneNumber (); - PhoneNumber (const QString&, int = Home ); - -%If ( KDE_3_1_0 - ) - bool operator == (const KABC::PhoneNumber&) const; - bool operator != (const KABC::PhoneNumber&) const; -%End - - void setId (const QString&); - QString id () const; - void setNumber (const QString&); - QString number () const; - void setType (int); - int type () const; - -%If ( KDE_3_1_0 - ) - QString typeLabel () const; - QString label () const; - static TypeList typeList (); - static QString typeLabel (int); - static QString label (int); -%End - - -public: - -%If ( - KDE_3_1_0 ) - - enum - { - Home, - Work, - Msg, - Pref, - Voice, - Fax, - Cell, - Video, - Bbs, - Modem, - Car, - Isdn, - Pcs, - Pager - }; - -%End - - -}; // class PhoneNumber - - -%If ( KDE_3_1_0 - ) -//igx QDataStream& operator << (QDataStream&, const KABC::PhoneNumber&); -//igx QDataStream& operator >> (QDataStream&, KABC::PhoneNumber&); -%End - -}; // namespace KABC - - - -%MappedType KABC::PhoneNumber::List -//converts a Python list of KABC::PhoneNumber -{ -%TypeHeaderCode -#include -#include -//typedef QValueList List; -%End - -%ConvertFromTypeCode - if (!sipCpp) - return PyList_New(0); - - // Create the list - PyObject *pylist; - if ((pylist = PyList_New(0)) == NULL) - return NULL; - - QValueList *cpplist = (QValueList *)sipCpp; - PyObject *inst; - - // Get it. - QValueList::Iterator it; - for( it = cpplist->begin(); it != cpplist->end(); ++it ) - { - if (((inst = sipBuildResult (NULL, "N", new KABC::PhoneNumber (*it), sipClass_KABC_PhoneNumber)) == NULL) - || PyList_Append (pylist, inst) < 0) - { - Py_DECREF (pylist); - return NULL; - } - } - - return pylist; -%End - - -%ConvertToTypeCode - if (sipIsErr == NULL) - return PyList_Check(sipPy); - - QValueList *cpplist = new QValueList; - - PyObject *elem; - KABC::PhoneNumber *cpp; - int iserr = 0; - - for (int i = 0; i < PyList_Size (sipPy); i++) - { - elem = PyList_GET_ITEM (sipPy, i); - cpp = (KABC::PhoneNumber *)sipForceConvertTo_KABC_PhoneNumber (elem, &iserr); - - if (iserr) - { - *sipIsErr = 1; - delete cpplist; - return 0; - } - - cpplist->append (*cpp); - } - - *sipCppPtr = cpplist; - - return 1; -%End -}; - - diff --git a/python/pykde/sip/kabc/picture.sip b/python/pykde/sip/kabc/picture.sip deleted file mode 100644 index 453566ef..00000000 --- a/python/pykde/sip/kabc/picture.sip +++ /dev/null @@ -1,60 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kabc version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -%If ( KDE_3_1_0 - ) -namespace KABC -{ - -class Picture -{ -%TypeHeaderCode -#include -%End - - -public: - Picture (); - Picture (const QString&); - Picture (const QImage&); - bool operator == (const KABC::Picture&) const; - bool operator != (const KABC::Picture&) const; - void setUrl (const QString&); - void setData (const QImage&); - void setType (const QString&); - bool isIntern () const; - QString url () const; - QImage data () const; - QString type () const; - QString asString () const; - -}; // class Picture - -//igx QDataStream& operator << (QDataStream&, const KABC::Picture&); -//igx QDataStream& operator >> (QDataStream&, KABC::Picture&); -}; // namespace KABC - -%End - diff --git a/python/pykde/sip/kabc/plugin.sip b/python/pykde/sip/kabc/plugin.sip deleted file mode 100644 index 4df2c429..00000000 --- a/python/pykde/sip/kabc/plugin.sip +++ /dev/null @@ -1,52 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kabc version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -%If ( KDE_3_1_0 - ) -namespace KABC -{ - -class Plugin -{ -%TypeHeaderCode -#include -%End - - -public: - Plugin (); - virtual void setType (const QString&); - virtual QString type () const; - virtual void setNameLabel (const QString&); - virtual QString nameLabel () const; - virtual void setDescriptionLabel (const QString&); - virtual QString descriptionLabel () const; - -}; // class Plugin - -}; // namespace KABC - -%End - diff --git a/python/pykde/sip/kabc/resource.sip b/python/pykde/sip/kabc/resource.sip deleted file mode 100644 index 14149cbe..00000000 --- a/python/pykde/sip/kabc/resource.sip +++ /dev/null @@ -1,160 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kabc version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - -namespace KABC -{ - -class Ticket -{ -%TypeHeaderCode -#include -%End - - -public: - KABC::Resource* resource (); - -private: - Ticket (KABC::Resource*); - -}; // class Ticket - - -%If ( KDE_3_2_0 - ) - -class Resource : KRES::Resource -{ -%TypeHeaderCode -#include -%End - - -public: - -//ig class Iterator; - - -//ig class ConstIterator; - - Resource (const KConfig*); -//ig virtual KABC::Resource::ConstIterator begin () const; -//ig virtual KABC::Resource::Iterator begin (); -//ig virtual KABC::Resource::ConstIterator end () const; -//ig virtual KABC::Resource::Iterator end (); - KABC::AddressBook* addressBook (); - virtual void writeConfig (KConfig*); - virtual KABC::Ticket* requestSaveTicket () = 0; - virtual void releaseSaveTicket (KABC::Ticket*) = 0; - virtual bool load () = 0; - virtual bool asyncLoad (); - virtual void insertAddressee (const KABC::Addressee&); - virtual void removeAddressee (const KABC::Addressee&); - virtual bool save (KABC::Ticket*) = 0; - virtual bool asyncSave (KABC::Ticket*); - virtual KABC::Addressee findByUid (const QString&); - virtual KABC::Addressee::List findByName (const QString&); - virtual KABC::Addressee::List findByEmail (const QString&); - virtual KABC::Addressee::List findByCategory (const QString&); - virtual void clear (); - void setAddressBook (KABC::AddressBook*); - -signals: - void loadingFinished (KABC::Resource*); - void loadingError (KABC::Resource*, const QString&); - void savingFinished (KABC::Resource*); - void savingError (KABC::Resource*, const QString&); - -protected: - KABC::Ticket* createTicket (KABC::Resource*); - -}; // class Resource - -%End - - -%If ( KDE_3_1_0 - KDE_3_2_0 ) - -class Resource : KABC::Plugin -{ -%TypeHeaderCode -#include -%End - - -public: - Resource (KABC::AddressBook*); - virtual bool open (); - virtual void close (); - virtual KABC::Ticket* requestSaveTicket (); - virtual bool load (); - virtual bool save (KABC::Ticket*); - KABC::AddressBook* addressBook (); - virtual QString identifier () const; - virtual void removeAddressee (const KABC::Addressee&); - virtual void cleanUp (); - virtual void setReadOnly (bool); - virtual bool readOnly () const; - virtual void setFastResource (bool); - virtual bool fastResource () const; - virtual void setName (const QString); - virtual QString name () const; - static QString cryptStr (const QString&); - -protected: - KABC::Ticket* createTicket (KABC::Resource*); - -}; // class Resource - -%End - - -%If ( - KDE_3_1_0 ) - -class Resource -{ -%TypeHeaderCode -#include -%End - - -public: - Resource (KABC::AddressBook*); - virtual bool open (); - virtual void close (); - virtual KABC::Ticket* requestSaveTicket (); - virtual bool load (KABC::AddressBook*); - virtual bool save (KABC::Ticket*); - void setAddressBook (KABC::AddressBook*); - KABC::AddressBook* addressBook (); - -protected: - KABC::Ticket* createTicket (KABC::Resource*); - -}; // class Resource - -%End - -}; // namespace KABC - diff --git a/python/pykde/sip/kabc/resourcefile.sip b/python/pykde/sip/kabc/resourcefile.sip deleted file mode 100644 index 75786b8d..00000000 --- a/python/pykde/sip/kabc/resourcefile.sip +++ /dev/null @@ -1,176 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kabc version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - -namespace KABC -{ - -%If ( KDE_3_2_0 - ) - -class ResourceFile : KABC::Resource -{ -%TypeHeaderCode -#include -%End - - -public: - -%If ( KDE_3_3_0 - ) - ResourceFile (const KConfig*); - ResourceFile (const QString&, const QString& = "vcard"); - virtual void writeConfig (KConfig*); - virtual bool doOpen (); - virtual void doClose (); - -%If ( KDE_3_5_1 - ) - virtual KABC::Ticket* requestSaveTicket (); - virtual void releaseSaveTicket (KABC::Ticket*); -%End - - virtual bool load (); - virtual bool asyncLoad (); - virtual bool save (KABC::Ticket*); - virtual bool asyncSave (KABC::Ticket*); -%End - - void setFileName (const QString&); - QString fileName () const; - -%If ( KDE_3_5_1 - ) - void setFormat (const QString&); - QString format () const; - -%If ( KDE_3_5_2 - ) - virtual void removeAddressee (const KABC::Addressee&); -%End - -%End - - -protected slots: - void fileChanged (); - -protected: - -%If ( KDE_3_3_0 - ) - void init (const QString&, const QString&); -%End - -//ig bool lock (const QString&); -//ig void unlock (const QString&); - -public: - -%If ( - KDE_3_5_2 ) - void removeAddressee (const KABC::Addressee&); -%End - - -public: - -%If ( - KDE_3_3_0 ) - ResourceFile (KABC::AddressBook*, const KConfig*); - ResourceFile (KABC::AddressBook*, const QString&, KABC::FormatPlugin* = 0); - bool open (); - void close (); -%End - - -%If ( - KDE_3_5_1 ) - KABC::Ticket* requestSaveTicket (); - void releaseSaveTicket (KABC::Ticket*); - -%If ( - KDE_3_3_0 ) - bool load (); - bool save (KABC::Ticket*); - virtual void cleanUp (); -%End - - virtual QString identifier () const; -%End - - -}; // class ResourceFile - -%End - - -%If ( - KDE_3_2_0 ) - -class ResourceFile : KABC::Resource -{ -%TypeHeaderCode -#include -%End - - -public: - -%If ( KDE_3_1_0 - ) - ResourceFile (KABC::AddressBook*, const KConfig*); - ResourceFile (KABC::AddressBook*, const QString&, KABC::FormatPlugin* = 0); - bool open (); - void close (); -%End - - KABC::Ticket* requestSaveTicket (); - void releaseSaveTicket (KABC::Ticket*); - bool load (); - bool save (KABC::Ticket*); - virtual void cleanUp (); - void setFileName (const QString&); - QString fileName () const; - -%If ( KDE_3_1_0 - ) - virtual QString identifier () const; - void removeAddressee (const KABC::Addressee&); -%End - - -protected: -//ig bool lock (const QString&); -//ig void unlock (const QString&); - -public: - -%If ( - KDE_3_1_0 ) - ResourceFile (KABC::AddressBook*, const QString&, KABC::Format* = 0); - bool load (KABC::AddressBook*); -%End - - -protected slots: - -%If ( - KDE_3_1_0 ) - void checkFile (); -%End - - -}; // class ResourceFile - -%End - -}; // namespace KABC - diff --git a/python/pykde/sip/kabc/resourceselectdialog.sip b/python/pykde/sip/kabc/resourceselectdialog.sip deleted file mode 100644 index 9210316f..00000000 --- a/python/pykde/sip/kabc/resourceselectdialog.sip +++ /dev/null @@ -1,55 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kabc version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -%If ( KDE_3_1_0 - ) -namespace KABC -{ - -class ResourceSelectDialog -{ -%TypeHeaderCode -#include -#include -#include -%End - - -public: - ResourceSelectDialog (KABC::AddressBook*, QWidget* = 0, const char* = 0); - KABC::Resource* resource (); - static KABC::Resource* getResource (KABC::AddressBook*, QWidget* = 0); -//force - -private: - ResourceSelectDialog (KABC::ResourceSelectDialog&); -//end - -}; // class ResourceSelectDialog - -}; // namespace KABC - -%End - diff --git a/python/pykde/sip/kabc/secrecy.sip b/python/pykde/sip/kabc/secrecy.sip deleted file mode 100644 index 605db1e3..00000000 --- a/python/pykde/sip/kabc/secrecy.sip +++ /dev/null @@ -1,92 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kabc version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -%If ( KDE_3_1_0 - ) -namespace KABC -{ - -class Secrecy -{ -%TypeHeaderCode -#include -%End - - -public: - typedef QValueList TypeList; - -%If ( KDE_3_2_0 - ) - - enum Types - { - Public, - Private, - Confidential, - Invalid - }; - -%End - - Secrecy (int = Private ); - bool operator == (const KABC::Secrecy&) const; - bool operator != (const KABC::Secrecy&) const; - -%If ( KDE_3_2_0 - ) - bool isValid () const; -%End - - void setType (int); - int type () const; - static TypeList typeList (); - static QString typeLabel (int); - QString asString () const; - -public: - -%If ( - KDE_3_2_0 ) - - enum Types - { - Public, - Private, - Confidential - }; - -%End - - -}; // class Secrecy - - -%If ( KDE_3_4_0 - ) -//igx QDataStream& operator << (QDataStream&, const KABC::Secrecy&); -//igx QDataStream& operator >> (QDataStream&, KABC::Secrecy&); -%End - -}; // namespace KABC - -%End - diff --git a/python/pykde/sip/kabc/sortmode.sip b/python/pykde/sip/kabc/sortmode.sip deleted file mode 100644 index 537e68fa..00000000 --- a/python/pykde/sip/kabc/sortmode.sip +++ /dev/null @@ -1,83 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kabc version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -%If ( KDE_3_4_0 - ) -namespace KABC -{ - -class SortMode -{ -%TypeHeaderCode -#include -%End - - -public: - virtual bool lesser (const KABC::Addressee&, const KABC::Addressee&) const = 0; - -}; // class SortMode - - -class NameSortMode : KABC::SortMode -{ -%TypeHeaderCode -#include -%End - - -public: - - enum NameType - { - FormattedName, - FamilyName, - GivenName - }; - - NameSortMode (); - NameSortMode (KABC::NameSortMode::NameType, bool = 1); - virtual bool lesser (const KABC::Addressee&, const KABC::Addressee&) const; - -}; // class NameSortMode - - -class FieldSortMode : KABC::SortMode -{ -%TypeHeaderCode -#include -%End - - -public: - FieldSortMode (KABC::Field*, bool = 1); - virtual bool lesser (const KABC::Addressee&, const KABC::Addressee&) const; - -}; // class FieldSortMode - -}; // namespace KABC - -%End - diff --git a/python/pykde/sip/kabc/sound.sip b/python/pykde/sip/kabc/sound.sip deleted file mode 100644 index b4558839..00000000 --- a/python/pykde/sip/kabc/sound.sip +++ /dev/null @@ -1,63 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kabc version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -%If ( KDE_3_1_0 - ) -namespace KABC -{ - -class Sound -{ -%TypeHeaderCode -#include -%End - - -public: - Sound (); - Sound (const QString&); - Sound (const QByteArray&); - bool operator == (const KABC::Sound&) const; - bool operator != (const KABC::Sound&) const; - void setUrl (const QString&); - -%If ( KDE_3_4_0 - ) - bool isEmpty () const; -%End - - void setData (const QByteArray&); - bool isIntern () const; - QString url () const; - QByteArray data () const; - QString asString () const; - -}; // class Sound - -//igx QDataStream& operator << (QDataStream&, const KABC::Sound&); -//igx QDataStream& operator >> (QDataStream&, KABC::Sound&); -}; // namespace KABC - -%End - diff --git a/python/pykde/sip/kabc/stdaddressbook.sip b/python/pykde/sip/kabc/stdaddressbook.sip deleted file mode 100644 index e571f47a..00000000 --- a/python/pykde/sip/kabc/stdaddressbook.sip +++ /dev/null @@ -1,111 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kabc version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - -namespace KABC -{ - -class StdAddressBook : KABC::AddressBook -{ -%TypeHeaderCode -#include -#include -#include -#include -%End - - -public: - -%If ( KDE_3_2_0 - ) - static KABC::StdAddressBook* self (); - static KABC::StdAddressBook* self (bool); -%End - - static bool save (); - -%If ( KDE_3_1_1 - ) - static void handleCrash (); -%End - - static QString fileName (); - -%If ( KDE_3_1_0 - ) - static QString directoryName (); - static void setAutomaticSave (bool); - static void close (); - static bool automaticSave (); - -%If ( KDE_3_2_0 - ) - KABC::Addressee whoAmI (); - void setWhoAmI (const KABC::Addressee&); -%End - -%End - - -protected: - StdAddressBook (); - -%If ( KDE_3_1_0 - ) - StdAddressBook (bool); - void init (bool); - -%If ( KDE_3_2_2 - ) - bool saveAll (); -%End - -%End - - -public: - -%If ( - KDE_3_2_0 ) - static KABC::AddressBook* self (); -%End - - -%If ( KDE_3_1_0 - KDE_3_2_2 ) - static KABC::AddressBook* self (bool); -%End - - -protected: - -%If ( - KDE_3_2_0 ) - ~StdAddressBook (); -%End - - -public: - -%If ( - KDE_3_1_0 ) - QString identifier (); -%End - - -}; // class StdAddressBook - -}; // namespace KABC - diff --git a/python/pykde/sip/kabc/timezone.sip b/python/pykde/sip/kabc/timezone.sip deleted file mode 100644 index e095d451..00000000 --- a/python/pykde/sip/kabc/timezone.sip +++ /dev/null @@ -1,59 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kabc version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - -namespace KABC -{ - -class TimeZone -{ -%TypeHeaderCode -#include -%End - - -public: - TimeZone (); - TimeZone (int); - void setOffset (int); - int offset () const; - bool isValid () const; - bool operator == (const KABC::TimeZone&) const; - -%If ( KDE_3_1_0 - ) - bool operator != (const KABC::TimeZone&) const; -%End - - QString asString () const; - -}; // class TimeZone - - -%If ( KDE_3_1_0 - ) -//igx QDataStream& operator << (QDataStream&, const KABC::TimeZone&); -//igx QDataStream& operator >> (QDataStream&, KABC::TimeZone&); -%End - -}; // namespace KABC - diff --git a/python/pykde/sip/kabc/vcardconverter.sip b/python/pykde/sip/kabc/vcardconverter.sip deleted file mode 100644 index 5276fd0e..00000000 --- a/python/pykde/sip/kabc/vcardconverter.sip +++ /dev/null @@ -1,74 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kabc version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - -%ModuleHeaderCode -#include -%End - - -%If ( KDE_3_1_1 - ) -namespace KABC -{ - -class VCardConverter -{ -%TypeHeaderCode -#include -%End - - -public: - - enum Version - { - v2_1, - v3_0 - }; - - VCardConverter (); - -%If ( KDE_3_2_0 - ) - QString createVCard (const KABC::Addressee&, KABC::VCardConverter::Version = v3_0 ); - QString createVCards (KABC::Addressee::List, KABC::VCardConverter::Version = v3_0 ); - KABC::Addressee parseVCard (const QString&); - KABC::Addressee::List parseVCards (const QString&); -%End - - bool vCardToAddressee (const QString&, KABC::Addressee&, KABC::VCardConverter::Version = v3_0 ); - bool addresseeToVCard (const KABC::Addressee&, QString&, KABC::VCardConverter::Version = v3_0 ); - -}; // class VCardConverter - - -%If ( KDE_3_2_0 - ) -QString dateToVCardString (const QDateTime&); -QString dateToVCardString (const QDate&); -QDateTime VCardStringToDate (const QString&); -%End - -}; // namespace KABC - -%End - diff --git a/python/pykde/sip/kabc/vcardformat.sip b/python/pykde/sip/kabc/vcardformat.sip deleted file mode 100644 index 91fe0902..00000000 --- a/python/pykde/sip/kabc/vcardformat.sip +++ /dev/null @@ -1,44 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kabc version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - -namespace KABC -{ - -class VCardFormat : KABC::Format -{ -%TypeHeaderCode -#include -%End - - -public: - VCardFormat (); - bool load (KABC::AddressBook*, const QString&); - bool save (KABC::AddressBook*, const QString&); - -}; // class VCardFormat - -}; // namespace KABC - diff --git a/python/pykde/sip/kabc/vcardformatplugin.sip b/python/pykde/sip/kabc/vcardformatplugin.sip deleted file mode 100644 index f6aeef26..00000000 --- a/python/pykde/sip/kabc/vcardformatplugin.sip +++ /dev/null @@ -1,51 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kabc version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -%If ( KDE_3_1_1 - ) -namespace KABC -{ - -class VCardFormatPlugin : KABC::FormatPlugin -{ -%TypeHeaderCode -#include -%End - - -public: - VCardFormatPlugin (); - bool load (KABC::Addressee&, QFile*); - bool loadAll (KABC::AddressBook*, KABC::Resource*, QFile*); - void save (const KABC::Addressee&, QFile*); - void saveAll (KABC::AddressBook*, KABC::Resource*, QFile*); - bool checkFormat (QFile*) const; - -}; // class VCardFormatPlugin - -}; // namespace KABC - -%End - diff --git a/python/pykde/sip/kdecore/bytearray.sip b/python/pykde/sip/kdecore/bytearray.sip deleted file mode 100644 index 74e31dcb..00000000 --- a/python/pykde/sip/kdecore/bytearray.sip +++ /dev/null @@ -1,812 +0,0 @@ -// -// Copyright 2004 Jim Bublitz -// Earlier copyrights 1998 - 2003 Jim Bublitz and/or Phil Thompson -// may also apply - -// module kdecore version KDE_3_2_2 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - -%ModuleHeaderCode -#include -#include -%End - - -void dcop_add (QDataStream&, int /Constrained/, const QCString& = "int"); -//void dcop_add (QDataStream&, longlong); -//void dcop_add (QDataStream&, ulonglong); -void dcop_add (QDataStream&, double, const QCString& = "double"); -void dcop_add (QDataStream&, QString); -void dcop_add (QDataStream&, QStringList); -void dcop_add (QDataStream&, QCString); -void dcop_add (QDataStream&, KURL); -void dcop_add (QDataStream&, KURL::List); -void dcop_add (QDataStream&, QSize); -void dcop_add (QDataStream&, QRect); -void dcop_add (QDataStream&, QRegion); -void dcop_add (QDataStream&, QPoint); -void dcop_add (QDataStream&, QFont); -void dcop_add (QDataStream&, QCursor); -void dcop_add (QDataStream&, QPixmap); -void dcop_add (QDataStream&, QColor); -void dcop_add (QDataStream&, QColorGroup); -void dcop_add (QDataStream&, QPalette); -void dcop_add (QDataStream&, QBrush); -void dcop_add (QDataStream&, QWidget::FocusPolicy); -void dcop_add (QDataStream&, DCOPRef); -void dcop_add (QDataStream&, QVariant); -void dcop_add (QDataStream&, QDate); -void dcop_add (QDataStream&, QTime); -void dcop_add (QDataStream&, QDateTime); -void dcop_add (QDataStream&, QImage); -void dcop_add (QDataStream&, QKeySequence); -void dcop_add (QDataStream&, QPen); -void dcop_add (QDataStream&, QPicture); -void dcop_add (QDataStream&, QPointArray); - -void dcop_add (QDataStream&, SIP_PYDICT, QCString); -%MethodCode - int iserr = 0; - if (*a2 == "QMap") - { - QMap *map = (QMap *)sipForceConvertTo_QMap_0200QCString_0200DCOPRef(a1, &iserr); - - if (iserr) - { - sipIsErr = 1; - return 0; - } - *a0 << *map; - } - else if (*a2 == "QMap") - { - QMap *map = (QMap *)sipForceConvertTo_QMap_0200QString_0200DCOPRef(a1, &iserr); - - if (iserr) - { - sipIsErr = 1; - return 0; - } - *a0 << *map; - } -%End - - -void dcop_add (QDataStream&, SIP_PYLIST, QCString); -%MethodCode - int iserr = 0; - if (*a2 == "QValueList") - { - QValueList *list = (QValueList *)sipForceConvertTo_QValueList_0200QCString (a1, &iserr); - - if (iserr) - { - sipIsErr = 1; - return 0; - } - *a0 << *list; - } - else if (*a2 == "QValueList") - { - QValueList *list = (QValueList *)sipForceConvertTo_QValueList_0200DCOPRef (a1, &iserr); - - if (iserr) - { - sipIsErr = 1; - return 0; - } - *a0 << *list; - } -%End - - -void dcop_next (QDataStream&, QCString&); -%MethodCode - if (*a1 == "char") - { - Q_INT8 res; - *a0 >> res; - return PyInt_FromLong ((long)res); - } - else if (*a1 == "bool") - { - bool res; - *a0 >> res; - return PyBool_FromLong ((long)res); - } - else if (*a1 == "int") - { - int res; - *a0 >> res; - return PyInt_FromLong ((long)res); - } - else if (*a1 == "long") - { - long res; - *a0 >> res; - return PyLong_FromLong (res); - } - else if (*a1 == "short") - { - short res; - *a0 >> res; - return PyInt_FromLong ((long)res); - } - if (*a1 == "uchar" || *a1 == "unsigned char") - { - Q_UINT8 res; - *a0 >> res; - return PyInt_FromLong ((long)res); - } - else if (*a1 == "uint" || *a1 == "unsigned int") - { - unsigned int res; - *a0 >> res; - return PyInt_FromLong ((long)res); - } - else if (*a1 == "ulong" || *a1 == "unsigned long") - { - unsigned long res; - *a0 >> res; - return PyLong_FromLong (res); - } - else if (*a1 == "Q_INT32") - { - Q_INT32 res; - *a0 >> res; - return PyLong_FromLong ((long)res); - } - else if (*a1 == "pid_t") - { - pid_t res; - *a0 >> res; - return PyLong_FromLong ((long)res); - } - else if (*a1 == "ushort" || *a1 == "unsigned short") - { - unsigned short res; - *a0 >> res; - return PyInt_FromLong ((long)res); - } - else if (*a1 == "float") - { - float res; - *a0 >> res; - return PyFloat_FromDouble ((double)res); - } - else if (*a1 == "double") - { - double res; - *a0 >> res; - return PyFloat_FromDouble (res); - } - else if (*a1 == "QString") - { - QString res; - *a0 >> res; - return sipBuildResult (NULL, "N", new QString (res),sipClass_QString); - } - else if (*a1 == "QStringList") - { - QStringList res; - *a0 >> res; - return sipBuildResult (NULL, "N", new QStringList (res),sipClass_QStringList); - } - else if (*a1 == "QCString") - { - QCString res; - *a0 >> res; - return sipBuildResult (NULL, "N", new QCString (res),sipClass_QCString); - } - else if (*a1 == "KURL") - { - KURL res; - *a0 >> res; - return sipBuildResult (NULL, "N", new KURL (res),sipClass_KURL); - } - else if (*a1 == "KURL::List") - { - KURL::List res; - *a0 >> res; - return sipBuildResult (NULL, "N", new KURL::List (res),sipClass_KURL_List); - } - else if (*a1 == "QSize") - { - QSize res; - *a0 >> res; - return sipBuildResult (NULL, "N", new QSize (res),sipClass_QSize); - } - else if (*a1 == "QRect") - { - QRect res; - *a0 >> res; - return sipBuildResult (NULL, "N", new QRect (res),sipClass_QRect); - } - else if (*a1 == "QRegion") - { - QRect res; - *a0 >> res; - return sipBuildResult (NULL, "N", new QRegion (res),sipClass_QRegion); - } - else if (*a1 == "QPoint") - { - QPoint res; - *a0 >> res; - return sipBuildResult (NULL, "N", new QPoint (res),sipClass_QPoint); - } - else if (*a1 == "QFont") - { - QFont res; - *a0 >> res; - return sipBuildResult (NULL, "N", new QFont (res),sipClass_QFont); - } - else if (*a1 == "QCursor") - { - QCursor res; - *a0 >> res; - return sipBuildResult (NULL, "N", new QCursor (res),sipClass_QCursor); - } - else if (*a1 == "QPixmap") - { - QPixmap res; - *a0 >> res; - return sipBuildResult (NULL, "N", new QPixmap (res),sipClass_QPixmap); - } - else if (*a1 == "QColor") - { - QColor res; - *a0 >> res; - return sipBuildResult (NULL, "N", new QColor (res),sipClass_QColor); - } - else if (*a1 == "QColorGroup") - { - QColorGroup res; - *a0 >> res; - return sipBuildResult (NULL, "N", new QColorGroup (res),sipClass_QColorGroup); - } - else if (*a1 == "QPalette") - { - QPalette res; - *a0 >> res; - return sipBuildResult (NULL, "N", new QPalette (res),sipClass_QPalette); - } - else if (*a1 == "QBrush") - { - QBrush res; - *a0 >> res; - return sipBuildResult (NULL, "N", new QBrush (res),sipClass_QBrush); - } - else if (*a1 == "FocusPolicy") - { - unsigned int res; - *a0 >> res; - return PyInt_FromLong ((long)res); - } - else if (*a1 == "DCOPRef") - { - DCOPRef res; - *a0 >> res; - return sipBuildResult (NULL, "N", new DCOPRef (res),sipClass_DCOPRef); - } - else if (*a1 == "QVariant") - { - QVariant res; - *a0 >> res; - return sipBuildResult (NULL, "N", new QVariant (res),sipClass_QVariant); - } - else if (*a1 == "QDate") - { - QDate res; - *a0 >> res; - return sipBuildResult (NULL, "N", new QDate (res),sipClass_QDate); - } - else if (*a1 == "QTime") - { - QTime res; - *a0 >> res; - return sipBuildResult (NULL, "N", new QTime (res),sipClass_QTime); - } - else if (*a1 == "QDateTime") - { - QDateTime res; - *a0 >> res; - return sipBuildResult (NULL, "N", new QDateTime (res),sipClass_QDateTime); - } - else if (*a1 == "QImage") - { - QImage res; - *a0 >> res; - return sipBuildResult (NULL, "N", new QImage (res),sipClass_QImage); - } - else if (*a1 == "QKeySequence") - { - QKeySequence res; - *a0 >> res; - return sipBuildResult (NULL, "N", new QKeySequence (res),sipClass_QKeySequence); - } - else if (*a1 == "QPen") - { - QPen res; - *a0 >> res; - return sipBuildResult (NULL, "N", new QPen (res),sipClass_QPen); - } - else if (*a1 == "QPicture") - { - QPicture res; - *a0 >> res; - return sipBuildResult (NULL, "N", new QPicture (res),sipClass_QPicture); - } - else if (*a1 == "QPointArray") - { - QPointArray res; - *a0 >> res; - return sipBuildResult (NULL, "N", new QPointArray (res),sipClass_QPointArray); - } - else if (*a1 == "QMap") - { - QMap res; - *a0 >> res; -// return sipConvertFrom_QMap_0200QCString_0200DCOPRef (&res); - return sipConvertFromMappedType (&res, &sipMappedTypeDef_QMap_0200QCString_0200DCOPRef, NULL); - } - else if (*a1 == "QMap") - { - QMap res; - *a0 >> res; -// return sipConvertFrom_QMap_0200QString_0200DCOPRef (&res); - return sipConvertFromMappedType (&res, &sipMappedTypeDef_QMap_0200QString_0200DCOPRef, NULL); - } - else if (*a1 == "QValueList") - { - QValueList res; - *a0 >> res; -// return sipConvertFrom_QValueList_0200QCString (&res); - return sipConvertFromMappedType (&res, (sipMappedType *) sipFindMappedType ("sipMappedTypeDef_QValueList_0200QCString"), NULL); - } - else if (*a1 == "QValueList" || *a1 == "QCStringList") - { - QValueList res; - *a0 >> res; -// return sipConvertFrom_QValueList_0200DCOPRef (&res); - return sipConvertFromMappedType (&res, &sipMappedTypeDef_QValueList_0200DCOPRef, NULL); - } - -%End - -%ModuleHeaderCode -#include -#include -#include -%End - -%ModuleCode - -void dcop_add (QDataStream& s, int value, const QCString& type_) -{ - if (type_ == "char") - s << (Q_INT8)value; - else if (type_ == "bool") - s << (bool)value; - else if (type_ == "short") - s << (short)value; - else if (type_ == "int") - s << (int)value; - else if (type_ == "long") - s << (long)value; - else if (type_== "uchar" || type_ == "unsigned char") - s << (Q_UINT8)value; - else if (type_ == "ushort" || type_ == "unsigned short") - s << (ushort)value; - else if (type_ == "uint" || type_ == "unsigned int") - s << (uint)value; - else if (type_ == "ulong" || type_ == "unsigned long") - s << (long)value; -} - -/*void dcop_add (QDataStream& s, longlong value) -{ - s << value; -} - -void dcop_add (QDataStream& s, ulonglong value) -{ - s << value; -}*/ - -void dcop_add (QDataStream& s, double value, const QCString& type_) -{ - if (type_ == "double") - s << value; - else if (type_ == "float") - s << (float)value; -} - -void dcop_add (QDataStream& s, QString value) -{ - s << value; -} - -void dcop_add (QDataStream& s, QStringList value) -{ - s << value; -} - -void dcop_add (QDataStream& s, QCString value) -{ - s << value; -} - -void dcop_add (QDataStream& s, KURL value) -{ - s << value; -} - -void dcop_add (QDataStream& s, KURL::List value) -{ - s << value; -} - -void dcop_add (QDataStream& s, QSize value) -{ - s << value; -} - -void dcop_add (QDataStream& s, QRect value) -{ - s << value; -} - -void dcop_add (QDataStream& s, QRegion value) -{ - s << value; -} - -void dcop_add (QDataStream& s, QPoint value) -{ - s << value; -} - -void dcop_add (QDataStream& s, QFont value) -{ - s << value; -} - -void dcop_add (QDataStream& s, QCursor value) -{ - s << value; -} - -void dcop_add (QDataStream& s, QPixmap value) -{ - s << value; -} - -void dcop_add (QDataStream& s, QColor value) -{ - s << value; -} - -void dcop_add (QDataStream& s, QColorGroup value) -{ - s << value; -} - -void dcop_add (QDataStream& s, QPalette value) -{ - s << value; -} - -void dcop_add (QDataStream& s, QBrush value) -{ - s << value; -} - -void dcop_add (QDataStream& s, QWidget::FocusPolicy value) -{ - s << value; -} - -void dcop_add (QDataStream& s, DCOPRef value) -{ - s << value; -} - -void dcop_add (QDataStream& s, QVariant value) -{ - s << value; -} - -void dcop_add (QDataStream& s, QDate value) -{ - s << value; -} - -void dcop_add (QDataStream& s, QTime value) -{ - s << value; -} - -void dcop_add (QDataStream& s, QDateTime value) -{ - s << value; -} - -void dcop_add (QDataStream& s, QImage value) -{ - s << value; -} - -void dcop_add (QDataStream& s, QKeySequence value) -{ - s << value; -} - -void dcop_add (QDataStream& s, QPen value) -{ - s << value; -} - -void dcop_add (QDataStream& s, QPicture value) -{ - s << value; -} - -void dcop_add (QDataStream& s, QPointArray value) -{ - s << value; -} - -%End - - -%MappedType QMap -//converts a Python dict of QCString:DCOPRef -{ -%TypeHeaderCode -#include -#include -#include -//typedef QMap DCOPRefMap; -%End - -%ConvertFromTypeCode - // Convert to a Python dict - - if (!sipCpp) - return PyDict_New(); - - PyObject *dict; - - // Create the dictionary. - - if ((dict = PyDict_New()) == NULL) - return NULL; - - // Get it. - - const QMap cppmap = *sipCpp; - QMap::ConstIterator it; - - for (it = cppmap.begin (); it != cppmap.end (); ++it) - { - QCString acpp = it.key (); - DCOPRef bcpp = it.data (); - PyObject *ainst; - PyObject *binst; - if (((ainst = sipBuildResult (NULL, "N", new QCString (acpp), sipClass_QCString)) == NULL) - || ((binst = sipBuildResult (NULL, "N", new DCOPRef (bcpp), sipClass_DCOPRef)) == NULL) - || (PyDict_SetItem (dict, ainst, binst) < 0)) - { - Py_XDECREF (ainst); - Py_XDECREF (binst); - Py_DECREF (dict); - return NULL; - } - } - - return dict; -%End - - -%ConvertToTypeCode - // Convert a Python dictionary to a QMap on the heap. - - if (sipIsErr == NULL) - return PyDict_Check(sipPy); - - - QMap *cppmap = new QMap; - - PyObject *aelem, *belem; - int pos = 0; - QCString *acpp; - DCOPRef *bcpp; - - while (PyDict_Next(sipPy, &pos, &aelem, &belem)) - { - int iserr = 0; - - if (iserr) - { - *sipIsErr = 1; - delete cppmap; - return 0; - } - acpp = (QCString *)sipForceConvertTo_QCString (aelem, &iserr); - bcpp = (DCOPRef *)sipForceConvertTo_DCOPRef (belem, &iserr); - cppmap->insert (*acpp, *bcpp); - } - - *sipCppPtr = cppmap; - - return 1; -%End -}; - -%MappedType QMap -//converts a Python dict of QString:DCOPRef -{ -%TypeHeaderCode -#include -#include -#include -//typedef QMap DCOPRefMap; -%End - -%ConvertFromTypeCode - // Convert to a Python dict - - if (!sipCpp) - return PyDict_New(); - - PyObject *dict; - - // Create the dictionary. - - if ((dict = PyDict_New()) == NULL) - return NULL; - - // Get it. - - const QMap cppmap = *sipCpp; - QMap::ConstIterator it; - - for (it = cppmap.begin (); it != cppmap.end (); ++it) - { - QString acpp = it.key (); - DCOPRef bcpp = it.data (); - PyObject *ainst; - PyObject *binst; - if (((ainst = sipBuildResult (NULL, "N", new QString (acpp), sipClass_QString)) == NULL) - || ((binst = sipBuildResult (NULL, "N", new DCOPRef (bcpp), sipClass_DCOPRef)) == NULL) - || (PyDict_SetItem (dict, ainst, binst) < 0)) - { - Py_XDECREF (ainst); - Py_XDECREF (binst); - Py_DECREF (dict); - return NULL; - } - } - - return dict; -%End - - -%ConvertToTypeCode - // Convert a Python dictionary to a QMap on the heap. - - if (sipIsErr == NULL) - return PyDict_Check(sipPy); - - - QMap *cppmap = new QMap; - - PyObject *aelem, *belem; - int pos = 0; - QString *acpp; - DCOPRef *bcpp; - - while (PyDict_Next(sipPy, &pos, &aelem, &belem)) - { - int iserr = 0; - - if (iserr) - { - *sipIsErr = 1; - delete cppmap; - return 0; - } - - acpp = (QString *)sipForceConvertTo_QString (aelem, &iserr); - bcpp = (DCOPRef *)sipForceConvertTo_DCOPRef (belem, &iserr); - - cppmap->insert (*acpp, *bcpp); - } - - *sipCppPtr = cppmap; - - return 1; -%End -}; - - -%MappedType QValueList -//converts a Python list of DCOPRef -{ -%TypeHeaderCode -#include -%End - -%ConvertFromTypeCode - if (!sipCpp) - return PyList_New(0); - - // Create the list - PyObject *pylist; - if ((pylist = PyList_New(0)) == NULL) - return NULL; - - QValueList *cpplist = (QValueList *)sipCpp; - PyObject *inst; - - // Get it. - QValueList::Iterator it; - for( it = cpplist->begin(); it != cpplist->end(); ++it ) - { - if (((inst = sipBuildResult (NULL, "N", new DCOPRef (*it), sipClass_DCOPRef)) == NULL) - || PyList_Append (pylist, inst) < 0) - { - Py_DECREF (pylist); - return NULL; - } - } - - return pylist; -%End - - -%ConvertToTypeCode - if (sipIsErr == NULL) - return PyList_Check(sipPy); - - QValueList *cpplist = new QValueList; - - PyObject *elem; - DCOPRef *cpp; - int iserr = 0; - - for (int i = 0; i < PyList_Size (sipPy); i++) - { - elem = PyList_GET_ITEM (sipPy, i); - cpp = (DCOPRef *)sipForceConvertTo_DCOPRef (elem, &iserr); - if (iserr) - { - *sipIsErr = 1; - delete cpplist; - return 0; - } - - cpplist->append (*cpp); - } - - *sipCppPtr = cpplist; - - return 1; -%End -}; - diff --git a/python/pykde/sip/kdecore/fixx11h.sip b/python/pykde/sip/kdecore/fixx11h.sip deleted file mode 100644 index 49150fb7..00000000 --- a/python/pykde/sip/kdecore/fixx11h.sip +++ /dev/null @@ -1,30 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdecore version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - -%ModuleHeaderCode -#include -#include -%End - diff --git a/python/pykde/sip/kdecore/kaboutdata.sip b/python/pykde/sip/kdecore/kaboutdata.sip deleted file mode 100644 index f80e112d..00000000 --- a/python/pykde/sip/kdecore/kaboutdata.sip +++ /dev/null @@ -1,301 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdecore version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KAboutPerson -{ -%TypeHeaderCode -#include -%End - - -public: - KAboutPerson (const char*, const char*, const char*, const char*); - KAboutPerson (); - QString name () const; - QString task () const; - QString emailAddress () const; - QString webAddress () const; - -}; // class KAboutPerson - - -class KAboutTranslator -{ -%TypeHeaderCode -#include -%End - - -public: - KAboutTranslator (const QString& = QString ::null , const QString& = QString ::null ); - QString name () const; - QString emailAddress () const; - -}; // class KAboutTranslator - - -class KAboutData -{ -%TypeHeaderCode -#include -%End - - -public: - - enum LicenseKey - { - License_Custom, - License_File, - License_Unknown, - License_GPL, - License_GPL_V2, - License_LGPL, - License_LGPL_V2, - License_BSD, - License_Artistic, - License_QPL, - License_QPL_V1_0 - }; - - -public: - KAboutData (const char*, const char*, const char*, const char* = 0, int = License_Unknown , const char* = 0, const char* = 0, const char* = 0, const char* = "submit@bugs.kde.org"); - void addAuthor (const char*, const char* = 0, const char* = 0, const char* = 0); - void addCredit (const char*, const char* = 0, const char* = 0, const char* = 0); - void setTranslator (const char*, const char*); - void setLicenseText (const char*); - void setLicenseTextFile (const QString&); - -%If ( KDE_3_3_0 - ) - void setAppName (const char*); - void setProgramName (const char*); - -%If ( KDE_3_4_0 - ) - void setProgramLogo (const QImage&); -%End - - void setVersion (const char*); - void setShortDescription (const char*); - void setLicense (KAboutData::LicenseKey); - void setCopyrightStatement (const char*); - void setOtherText (const char*); - void setHomepage (const char*); - void setBugAddress (const char*); -%End - - -%If ( KDE_3_2_0 - ) - void setProductName (const char*); -%End - - const char* appName () const; - -%If ( KDE_3_2_0 - ) - const char* productName () const; -%End - - QString programName () const; - -%If ( KDE_3_5_1 - ) - const char* internalProgramName () const; - void translateInternalProgramName () const; -%End - - -%If ( KDE_3_4_0 - ) - QImage programLogo () const; -%End - - QString version () const; - -%If ( KDE_3_5_1 - ) - const char* internalVersion () const; -%End - - QString shortDescription () const; - QString homepage () const; - QString bugAddress () const; - -%If ( KDE_3_5_1 - ) - const char* internalBugAddress () const; -%End - - const QValueList authors () const; - const QValueList credits () const; - const QValueList translators () const; - static QString aboutTranslationTeam (); - QString otherText () const; - QString license () const; - QString copyrightStatement () const; - -%If ( KDE_3_5_0 - ) - QString customAuthorPlainText () const; - QString customAuthorRichText () const; - bool customAuthorTextEnabled () const; - void setCustomAuthorText (const QString&, const QString&); - void unsetCustomAuthorText (); -%End - - -}; // class KAboutData - - - -%MappedType QValueList -//converts a Python list of KAboutPerson -{ -%TypeHeaderCode -#include -%End - -%ConvertFromTypeCode - if (!sipCpp) - return PyList_New(0); - - // Create the list - PyObject *pylist; - if ((pylist = PyList_New(0)) == NULL) - return NULL; - - QValueList *cpplist = (QValueList *)sipCpp; - PyObject *inst; - - // Get it. - QValueList::Iterator it; - for( it = cpplist->begin(); it != cpplist->end(); ++it ) - { - if (((inst = sipBuildResult (NULL, "N", new KAboutPerson (*it), sipClass_KAboutPerson)) == NULL) - || PyList_Append (pylist, inst) < 0) - { - Py_DECREF (pylist); - return NULL; - } - } - - return pylist; -%End - - -%ConvertToTypeCode - if (sipIsErr == NULL) - return PyList_Check(sipPy); - - QValueList *cpplist = new QValueList; - - PyObject *elem; - KAboutPerson *cpp; - int iserr = 0; - - for (int i = 0; i < PyList_Size (sipPy); i++) - { - elem = PyList_GET_ITEM (sipPy, i); - cpp = (KAboutPerson *)sipForceConvertTo_KAboutPerson (elem, &iserr); - - if (iserr) - { - *sipIsErr = 1; - delete cpplist; - return 0; - } - - cpplist->append (*cpp); - } - - *sipCppPtr = cpplist; - - return 1; -%End -}; - - -%MappedType QValueList -//converts a Python list of KAboutTranslator -{ -%TypeHeaderCode -#include -%End - -%ConvertFromTypeCode - if (!sipCpp) - return PyList_New(0); - - // Create the list - PyObject *pylist; - if ((pylist = PyList_New(0)) == NULL) - return NULL; - - QValueList *cpplist = (QValueList *)sipCpp; - PyObject *inst; - - // Get it. - QValueList::Iterator it; - for( it = cpplist->begin(); it != cpplist->end(); ++it ) - { - if (((inst = sipBuildResult (NULL, "N", new KAboutTranslator (*it), sipClass_KAboutTranslator)) == NULL) - || PyList_Append (pylist, inst) < 0) - { - Py_DECREF (pylist); - return NULL; - } - } - - return pylist; -%End - - -%ConvertToTypeCode - if (sipIsErr == NULL) - return PyList_Check(sipPy); - - QValueList *cpplist = new QValueList; - - PyObject *elem; - KAboutTranslator *cpp; - int iserr = 0; - - for (int i = 0; i < PyList_Size (sipPy); i++) - { - elem = PyList_GET_ITEM (sipPy, i); - cpp = (KAboutTranslator *)sipForceConvertTo_KAboutTranslator (elem, &iserr); - - if (iserr) - { - *sipIsErr = 1; - delete cpplist; - return 0; - } - - cpplist->append (*cpp); - } - - *sipCppPtr = cpplist; - - return 1; -%End -}; - - diff --git a/python/pykde/sip/kdecore/kaccel.sip b/python/pykde/sip/kdecore/kaccel.sip deleted file mode 100644 index 2a37806b..00000000 --- a/python/pykde/sip/kdecore/kaccel.sip +++ /dev/null @@ -1,239 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdecore version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KAccel : QAccel -{ -%TypeHeaderCode -#include -%End - - -public: - KAccel (QWidget* /TransferThis/, const char* = 0); - KAccel (QWidget*, QObject* /TransferThis/, const char* = 0); - KAccelActions& actions (); - bool isEnabled () const; - void setEnabled (bool); - bool setAutoUpdate (bool); - -%If ( KDE_3_1_4 - ) - KAccelAction* insert (const QString&, const QString&, const QString&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), bool = 1, bool = 1); - KAccelAction* insert (const QString&, const QString&, const QString&, const KShortcut&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), bool = 1, bool = 1); - KAccelAction* insert (const char*, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), bool = 1, bool = 1); - KAccelAction* insert (KStdAccel::StdAccel, SIP_RXOBJ_CON, SIP_SLOT_CON (), bool = 1, bool = 1); -%End - - bool remove (const QString&); - bool updateConnections (); - const KShortcut& shortcut (const QString&) const; - bool setShortcut (const QString&, const KShortcut&); - -%If ( KDE_3_1_4 - ) - bool setSlot (const QString&, SIP_RXOBJ_CON, SIP_SLOT_CON ()); -%End - - bool setEnabled (const QString&, bool); - const QString& configGroup () const; - void setConfigGroup (const QString&); - bool readSettings (KConfigBase* = 0); - bool writeSettings (KConfigBase* = 0) const; - void emitKeycodeChanged (); - -signals: - void keycodeChanged (); - -public: - bool insertItem (const QString&, const QString&, const char*, int = 0, QPopupMenu* = 0, bool = 1); - bool insertItem (const QString&, const QString&, int, int, QPopupMenu*, bool = 1); - bool insertStdItem (KStdAccel::StdAccel, const QString& = QString ::null ); - -%If ( KDE_3_1_4 - ) - bool connectItem (const QString&, SIP_RXOBJ_CON, SIP_SLOT_CON (), bool = 1); - bool connectItem (KStdAccel::StdAccel, SIP_RXOBJ_CON, SIP_SLOT_CON ()); -%End - - bool removeItem (const QString&); - bool setItemEnabled (const QString&, bool); - void changeMenuAccel (QPopupMenu*, int, const QString&); - void changeMenuAccel (QPopupMenu*, int, KStdAccel::StdAccel); - static int stringToKey (const QString&); - int currentKey (const QString&) const; - QString findKey (int) const; - -protected: -//igx virtual void virtual_hook (int, void*); - -public: - -%If ( - KDE_3_2_0 ) -//ig bool getAutoUpdate (); -//ig KAccelAction* insert (const QString&, const QString&); -%End - - -public: - -%If ( - KDE_3_1_4 ) - KAccelAction* insert (const QString&, const QString&, const QString&, const KShortcut&, const QObject*, const char*, bool = 1, bool = 1); - KAccelAction* insert (const QString&, const QString&, const QString&, const KShortcut&, const KShortcut&, const QObject*, const char*, bool = 1, bool = 1); - KAccelAction* insert (const char*, const KShortcut&, const QObject*, const char*, bool = 1, bool = 1); - KAccelAction* insert (KStdAccel::StdAccel, const QObject*, const char*, bool = 1, bool = 1); - bool setSlot (const QString&, const QObject*, const char*); -%End - - -public: - -%If ( - KDE_3_1_4 ) - bool connectItem (const QString&, const QObject*, const char*, bool = 1); - bool connectItem (KStdAccel::StdAccel, const QObject*, const char*); - -//force -%ConvertToSubClassCode - // The table of Python class objects indexed by their names. The table - // must be sorted by name. - - static sipStringTypeClassMap map[] = { - {sipName_KAccel, &sipClass_KAccel}, - {sipName_KApplication, &sipClass_KApplication}, - {sipName_KAsyncIO, &sipClass_KAsyncIO}, - {sipName_KAudioPlayer, &sipClass_KAudioPlayer}, - {sipName_KBufferedIO, &sipClass_KBufferedIO}, -#if KDE_VERSION >= 0x030100 - {sipName_KClipboardSynchronizer, &sipClass_KClipboardSynchronizer}, -#endif - {sipName_KCompletion, &sipClass_KCompletion}, - {sipName_KConfig, &sipClass_KConfig}, - {sipName_KConfigBase, &sipClass_KConfigBase}, - {sipName_KConfigGroup, &sipClass_KConfigGroup}, - {sipName_KDesktopFile, &sipClass_KDesktopFile}, - {sipName_KGlobalAccel, &sipClass_KGlobalAccel}, - {sipName_KLibFactory, &sipClass_KLibFactory}, - {sipName_KLibLoader, &sipClass_KLibLoader}, - {sipName_KLibrary, &sipClass_KLibrary}, - {sipName_KMultipleDrag, &sipClass_KMultipleDrag}, - {sipName_KProcIO, &sipClass_KProcIO}, - {sipName_KProcess, &sipClass_KProcess}, - {sipName_KProcessController, &sipClass_KProcessController}, - {sipName_KServerSocket, &sipClass_KServerSocket}, - {sipName_KShellProcess, &sipClass_KShellProcess}, - {sipName_KSimpleConfig, &sipClass_KSimpleConfig}, - {sipName_KSocket, &sipClass_KSocket}, - {sipName_KStartupInfo, &sipClass_KStartupInfo}, - {sipName_KUniqueApplication, &sipClass_KUniqueApplication}, - {sipName_KWinModule, &sipClass_KWinModule}, - }; - - sipClass = sipMapStringToClass(sipCpp -> className(),map,sizeof (map)/sizeof (map[0])); -%End -//end -%End - - -}; // class KAccel - - - -%MappedType QMap -//converts a Python dict of int:QString -{ -%TypeHeaderCode -#include -#include -%End - -%ConvertFromTypeCode - - if (!sipCpp) - return PyDict_New(); - - PyObject *dict; - - // Create the dictionary. - - if ((dict = PyDict_New()) == NULL) - return NULL; - - // Get it. - - const QMap map = *sipCpp; - QMap::ConstIterator it; - - for (it = map.begin (); it != map.end (); ++it) - { - PyObject *iKey = PyInt_FromLong (((long) it.key ())); - PyObject *sData = PyString_FromString ((char *)((QString *)&it.data ())); - - if ((iKey == NULL) || (sData == NULL) || (PyDict_SetItem (dict, iKey, sData) < 0)) - { - Py_XDECREF (iKey); - Py_XDECREF (sData); - Py_DECREF (dict); - return NULL; - } - } - - return dict; -%End - - -%ConvertToTypeCode - // Convert a Python dictionary to a KKeyMapOrder on the heap. - - if (sipIsErr == NULL) - return PyDict_Check(sipPy); - - QMap *map = new QMap; - - PyObject *key, *value; - int pos = 0; - int iKey; - QString *sData; - - while (PyDict_Next(sipPy, &pos, &key, &value)) - { - int iserr = 0; - - iKey = PyInt_AS_LONG (key); - sData = (QString *)sipForceConvertTo_QString (value, &iserr); - - if (iserr) - { - *sipIsErr = 1; - delete map; - return 0; - } - - map->insert (iKey, *sData); - } - - *sipCppPtr = map; - - return 1; -%End -}; - - diff --git a/python/pykde/sip/kdecore/kaccelaction.sip b/python/pykde/sip/kdecore/kaccelaction.sip deleted file mode 100644 index 5ca185f3..00000000 --- a/python/pykde/sip/kdecore/kaccelaction.sip +++ /dev/null @@ -1,121 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdecore version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KAccelAction -{ -%TypeHeaderCode -#include -%End - - -public: - KAccelAction (); - KAccelAction (const KAccelAction&); - KAccelAction (const QString&, const QString&, const QString&, const KShortcut&, const KShortcut&, const QObject*, const char*, bool, bool); - void clear (); - bool init (const QString&, const QString&, const QString&, const KShortcut&, const KShortcut&, const QObject*, const char*, bool, bool); - const QString& name () const; - const QString& label () const; - const QString& whatsThis () const; - const KShortcut& shortcut () const; - const KShortcut& shortcutDefault () const; - const KShortcut& shortcutDefault3 () const; - const KShortcut& shortcutDefault4 () const; - const QObject* objSlotPtr () const; - const char* methodSlotPtr () const; - bool isConfigurable () const; - bool isEnabled () const; - void setName (const QString&); - void setLabel (const QString&); - void setWhatsThis (const QString&); - bool setShortcut (const KShortcut&); - void setSlot (const QObject*, const char*); - void setConfigurable (bool); - void setEnabled (bool); - int getID () const; - void setID (int); - bool isConnected () const; - bool setKeySequence (uint, const KKeySequence&); - void clearShortcut (); - bool contains (const KKeySequence&); - QString toString () const; - QString toStringInternal () const; - static bool useFourModifierKeys (); - static void useFourModifierKeys (bool); - -protected: - void incConnections (); - void decConnections (); - -}; // class KAccelAction - - -class KAccelActions -{ -%TypeHeaderCode -#include -%End - - -public: - KAccelActions (); - KAccelActions (const KAccelActions&); - void clear (); - bool init (const KAccelActions&); - bool init (KConfigBase&, const QString&); - void updateShortcuts (KAccelActions&); - int actionIndex (const QString&) const; - KAccelAction* actionPtr (uint); - KAccelAction* actionPtr (const QString&); - KAccelAction* actionPtr (KKeySequence); - -%If ( KDE_3_1_4 - ) - KAccelAction& operator [] (uint); -%MethodCode -//returns (KAccelAction&) -//takes index | (uint) - sipRes = &((*sipCpp) [a0]); -%End - -%End - - KAccelAction* insert (const QString&, const QString&, const QString&, const KShortcut&, const KShortcut&, const QObject* = 0, const char* = 0, bool = 1, bool = 1); - KAccelAction* insert (const QString&, const QString&); - bool remove (const QString&); - bool readActions (const QString& = "Shortcuts", KConfigBase* = 0); - bool writeActions (const QString& = "Shortcuts", KConfigBase* = 0, bool = 0, bool = 0) const; - void emitKeycodeChanged (); - uint count () const; - -protected: - void resize (uint); - void insertPtr (KAccelAction*); - -private: - KAccelActions (KAccelBase*); - -}; // class KAccelActions - diff --git a/python/pykde/sip/kdecore/kaccelbase.sip b/python/pykde/sip/kdecore/kaccelbase.sip deleted file mode 100644 index 74b52069..00000000 --- a/python/pykde/sip/kdecore/kaccelbase.sip +++ /dev/null @@ -1,102 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdecore version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KAccelBase -{ -%TypeHeaderCode -#include -%End - - -public: - - enum Init - { - QT_KEYS, - NATIVE_KEYS - }; - - - enum Signal - { - KEYCODE_CHANGED - }; - - KAccelBase (int); - uint actionCount () const; - KAccelActions& actions (); - bool isEnabled () const; - KAccelAction* actionPtr (const QString&); - KAccelAction* actionPtr (const KKey&); - KAccelAction* actionPtr (const KKeyServer::Key&); - const QString& configGroup () const; - void setConfigGroup (const QString&); - void setConfigGlobal (bool); - virtual void setEnabled (bool) = 0; - bool getAutoUpdate (); - bool setAutoUpdate (bool); - KAccelAction* insert (const QString&, const QString&); - KAccelAction* insert (const QString&, const QString&, const QString&, const KShortcut&, const KShortcut&, const QObject*, const char*, bool = 1, bool = 1); - bool remove (const QString&); - bool setActionSlot (const QString&, const QObject*, const char*); - bool updateConnections (); - bool setShortcut (const QString&, const KShortcut&); - bool setActionEnabled (const QString&, bool); - void readSettings (KConfigBase* = 0); - void writeSettings (KConfigBase* = 0) const; - QPopupMenu* createPopupMenu (QWidget*, const KKeySequence&); - -protected: - void slotRemoveAction (KAccelAction*); -//ig void createKeyList (QValueVector&); - bool insertConnection (KAccelAction*); - bool removeConnection (KAccelAction*); - virtual bool emitSignal (KAccelBase::Signal) = 0; - virtual bool connectKey (KAccelAction&, const KKeyServer::Key&) = 0; - virtual bool connectKey (const KKeyServer::Key&) = 0; - virtual bool disconnectKey (KAccelAction&, const KKeyServer::Key&) = 0; - virtual bool disconnectKey (const KKeyServer::Key&) = 0; - -protected: - -%If ( KDE_3_5_0 - ) - virtual bool isEnabledInternal () const; -%End - - -//ig class ActionInfo; - -//ig typedef QMap KKeyToActionMap; - -protected: - -%If ( - KDE_3_1_1 ) -//igx virtual void virtual_hook (int, void*); -%End - - -}; // class KAccelBase - diff --git a/python/pykde/sip/kdecore/kallocator.sip b/python/pykde/sip/kdecore/kallocator.sip deleted file mode 100644 index ae72d6d9..00000000 --- a/python/pykde/sip/kdecore/kallocator.sip +++ /dev/null @@ -1,48 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdecore version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KZoneAllocator -{ -%TypeHeaderCode -#include -%End - - -public: - KZoneAllocator (long = 131072); - void* allocate (size_t); - void deallocate (void*); - void free_since (void*); - -protected: -//ig typedef QValueList MemList; -//ig void addBlock (KZoneAllocator::MemBlock*); -//ig void delBlock (KZoneAllocator::MemBlock*); -//ig void insertHash (KZoneAllocator::MemBlock*); - void initHash (); - -}; // class KZoneAllocator - diff --git a/python/pykde/sip/kdecore/kapplication.sip b/python/pykde/sip/kdecore/kapplication.sip deleted file mode 100644 index 4b340761..00000000 --- a/python/pykde/sip/kdecore/kapplication.sip +++ /dev/null @@ -1,449 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdecore version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KApplication : QApplication, KInstance -{ -%TypeHeaderCode -#include -#include -extern char **pyArgvToC(PyObject *argvlist,int *argcp); -extern void updatePyArgv(PyObject *argvlist,int argc,char **argv); -%End - - -public: - - enum CaptionLayout - { - CaptionAppLast, - CaptionAppFirst, - CaptionNoApp - }; - - KApplication (bool = 1, bool = 1); - -%If ( KDE_3_3_0 - ) -//ig KApplication (Display*, Qt::HANDLE = 0, Qt::HANDLE = 0, bool = 1); -%End - -//ig KApplication (Display*, int&, char**, const QCString&, bool = 1, bool = 1); - KApplication (SIP_PYLIST, QCString&, bool = 1, bool = 1) [(int&, char**, const QCString&, bool = 1, bool = 1)]; -%MethodCode -//takes argv | (a Python list of strings) | rAppName | (Python string) | allowStyles | (bool = 1) | GUIenabled | (bool = 1) - - int argc, nargc; - char **argv; - - // Convert the list. - - if ((argv = pyArgvToC(a0, &argc)) == NULL) - return NULL; - - // Create it now the arguments are right. - - nargc = argc; - - Py_BEGIN_ALLOW_THREADS - - // The following two lines simulate the actual ctor call - // which is commented out below - KCmdLineArgs::init (nargc, argv, (char *)"unknown", (char *)"KDE Application", NULL, false); - sipCpp = new sipKApplication((bool)a1,(bool)a2); - - // This method calls KCmdLineArgs::initIgnore, which is a private method -// sipCpp = new sipKApplication (nargc,argv, qc, a1, a2); - - Py_END_ALLOW_THREADS - - // Now modify the original list. - - updatePyArgv(a0, argc, argv); -%End - - static void addCmdLineOptions (); - static KApplication* kApplication (); - KConfig* sessionConfig (); - bool isRestored () const; - void disableSessionManagement (); - -%If ( KDE_3_2_0 - ) - void enableSessionManagement (); -%End - - - enum ShutdownConfirm - { - ShutdownConfirmDefault, - ShutdownConfirmNo, - ShutdownConfirmYes - }; - - - enum ShutdownType - { - ShutdownTypeDefault, - ShutdownTypeNone, - ShutdownTypeReboot, - ShutdownTypeHalt - }; - - - enum ShutdownMode - { - ShutdownModeDefault, - ShutdownModeSchedule, - ShutdownModeTryNow, - ShutdownModeForceNow, - ShutdownModeInteractive - }; - - bool requestShutDown (KApplication::ShutdownConfirm = ShutdownConfirmDefault , KApplication::ShutdownType = ShutdownTypeDefault , KApplication::ShutdownMode = ShutdownModeDefault ); - void propagateSessionManager (); - void commitData (QSessionManager&); - void saveState (QSessionManager&); - -%If ( KDE_3_1_1 - ) - bool sessionSaving () const; -%End - - static DCOPClient* dcopClient (); - static void disableAutoDcopRegistration (); - QPixmap icon () const; - QString iconName () const; - QPixmap miniIcon () const; - QString miniIconName () const; - void setTopWidget (QWidget*); - -%If ( KDE_3_2_0 - ) - void invokeHelp (const QString&, const QString&, const QCString&) const; -%End - - void invokeHelp (const QString& = QString ::null , const QString& = QString ::null ) const; - void invokeHTMLHelp (const QString&, const QString& = QString ::null ) const; - -%If ( KDE_3_2_0 - ) - void invokeMailer (const QString&, const QString&, const QCString&); -%End - - void invokeMailer (const QString&, const QString&); - -%If ( KDE_3_3_0 - ) - void invokeMailer (const KURL&, const QCString&, bool); -%End - - -%If ( KDE_3_2_0 - ) - void invokeMailer (const KURL&, const QCString&); -%End - - void invokeMailer (const KURL&); - -%If ( KDE_3_2_0 - ) - void invokeMailer (const QString&, const QString&, const QString&, const QString&, const QString&, const QString&, const QStringList&, const QCString&); -%End - - void invokeMailer (const QString&, const QString&, const QString&, const QString&, const QString&, const QString& = QString ::null , const QStringList& = QStringList ()); - -public slots: - -%If ( KDE_3_2_0 - ) - void invokeBrowser (const QString&, const QCString&); -%End - - void invokeBrowser (const QString&); - -%If ( KDE_3_2_0 - ) - void cut (); - void copy (); - void paste (); - void clear (); - void selectAll (); -%End - - -public: - static QCString launcher (); - static int startServiceByName (const QString&, const QString&, QString* /Out/, QCString* /Out/, int*, const QCString& = QCString ("" ), bool = 0); - static int startServiceByName (const QString&, const QStringList&, QString* /Out/, QCString* /Out/, int*, const QCString& = QCString ("" ), bool = 0); - static int startServiceByDesktopPath (const QString&, const QString&, QString* /Out/, QCString* /Out/, int*, const QCString& = QCString ("" ), bool = 0); - static int startServiceByDesktopPath (const QString&, const QStringList&, QString* /Out/, QCString* /Out/, int*, const QCString& = QCString ("" ), bool = 0); - static int startServiceByDesktopName (const QString&, const QString&, QString* /Out/, QCString* /Out/, int*, const QCString& = QCString ("" ), bool = 0); - static int startServiceByDesktopName (const QString&, const QStringList&, QString* /Out/, QCString* /Out/, int*, const QCString& = QCString ("" ), bool = 0); - -%If ( KDE_3_2_0 - ) - static int kdeinitExec (const QString&, const QStringList&, QString* /Out/, int*, QCString&); -%End - - static int kdeinitExec (const QString&, const QStringList&, QString* /Out/, int*); - -%If ( KDE_3_2_0 - ) - static int kdeinitExecWait (const QString&, const QStringList&, QString* /Out/, int*, QCString&); -%End - - static int kdeinitExecWait (const QString&, const QStringList&, QString* /Out/, int*); - QString caption () const; -//ig KStyle* kstyle () const; - QString makeStdCaption (const QString&, bool = 1, bool = 0) const; - QString tempSaveName (const QString&) const; - QString checkRecoverFile (const QString&, bool&) const; - Display* getDisplay (); - void enableStyles (); - void disableStyles (); - void installX11EventFilter (QWidget*); - -%If ( KDE_3_2_0 - ) - void removeX11EventFilter (const QWidget*); -%End - - static int random (); - static QString randomString (int); - void addKipcEventMask (int); - void removeKipcEventMask (int); - QCString startupId () const; - void setStartupId (const QCString&); - -%If ( KDE_3_2_0 - ) - void updateUserTimestamp (ulong = 0); - -%If ( KDE_3_2_3 - ) - ulong userTimestamp () const; - -%If ( KDE_3_3_0 - ) - void updateRemoteUserTimestamp (const QCString&, ulong = 0); -%End - -%End - -%End - - QString geometryArgument () const; - void installKDEPropertyMap (); - bool authorize (const QString&); - bool authorizeKAction (const char*); - -%If ( KDE_3_1_0 - ) - bool authorizeURLAction (const QString&, const KURL&, const KURL&); - -%If ( KDE_3_2_0 - ) - void allowURLAction (const QString&, const KURL&, const KURL&); - bool authorizeControlModule (const QString&); - QStringList authorizeControlModules (const QStringList&); - -%If ( KDE_3_4_0 - ) - static ButtonState keyboardMouseState (); -%End - -%End - - - enum - { - ShiftModifier, - LockModifier, - ControlModifier, - Modifier1, - Modifier2, - Modifier3, - Modifier4, - Modifier5 - }; - - static uint keyboardModifiers (); - - enum - { - Button1Pressed, - Button2Pressed, - Button3Pressed, - Button4Pressed, - Button5Pressed - }; - - static uint mouseState (); -%End - - -public slots: - void ref (); - void deref (); - -protected: - KApplication (bool, bool, KInstance*); - -%If ( KDE_3_3_0 - ) -//ig KApplication (Display*, Qt::HANDLE, Qt::HANDLE, bool, KInstance*); -%End - -//ig bool x11EventFilter (XEvent*); - -%If ( KDE_3_2_0 - ) - void invokeEditSlot (const char*); -%End - - -public: - bool notify (QObject*, QEvent*); - -%If ( KDE_3_2_0 - ) -//ig int xErrhandler (Display*, void*); -//ig int xioErrhandler (Display*); -%End - - -%If ( KDE_3_0_1 - ) -//ig void iceIOErrorHandler (_IceConn*); -%End - - bool loadedByKdeinit; - static void startKdeinit (); - - enum SettingsCategory - { - SETTINGS_MOUSE, - SETTINGS_COMPLETION, - SETTINGS_PATHS, - SETTINGS_POPUPMENU, - SETTINGS_QT, - SETTINGS_SHORTCUTS - }; - - -%If ( KDE_3_1_0 - ) - static QPalette createApplicationPalette (); - static QPalette createApplicationPalette (KConfig*, int); - -%If ( KDE_3_2_0 - ) - static void installSigpipeHandler (); - static bool guiEnabled (); -%End - -%End - - -signals: - void kdisplayPaletteChanged (); - void kdisplayStyleChanged (); - void kdisplayFontChanged (); - void appearanceChanged (); - void toolbarAppearanceChanged (int); - void backgroundChanged (int); - void settingsChanged (int); - void iconChanged (int); - void kipcMessage (int, int); - void saveYourself (); - void shutDown (); - -private: - KApplication (const KApplication&); - -protected: -//igx virtual void virtual_hook (int, void*); - -public: - -%If ( - KDE_3_2_0 ) - int xioErrhandler (); -%End - - -}; // class KApplication - - -class KSessionManaged -{ -%TypeHeaderCode -#include -%End - - -public: - KSessionManaged (); - virtual bool saveState (QSessionManager&); - virtual bool commitData (QSessionManager&); - -protected: -//igx virtual void virtual_hook (int, void*); - -}; // class KSessionManaged - -typedef ulong Atom; -//ig typedef void Display; -//ig bool checkAccess (const QString&, int); - - -%ModuleCode -#include - -// Convert a Python argv list to a conventional C argc count and argv array. -char **pyArgvToC(PyObject *argvlist,int *argcp) -{ - int argc; - char **argv; - - argc = PyList_Size(argvlist); - - // Allocate space for two copies of the argument pointers, plus the - // terminating NULL. - if ((argv = (char **)sipMalloc(2 * (argc + 1) * sizeof (char *))) == NULL) - return NULL; - - // Convert the list. - for (int a = 0; a < argc; ++a) - { - char *arg; - - // Get the argument and allocate memory for it. - if ((arg = PyString_AsString(PyList_GetItem(argvlist,a))) == NULL || - (argv[a] = (char *)sipMalloc(strlen(arg) + 1)) == NULL) - return NULL; - - // Copy the argument and save a pointer to it. - strcpy(argv[a],arg); - argv[a + argc + 1] = argv[a]; - } - - argv[argc + argc + 1] = argv[argc] = NULL; - - *argcp = argc; - - return argv; -} - - -// Remove arguments from the Python argv list that have been removed from the -// C argv array. -void updatePyArgv(PyObject *argvlist,int argc,char **argv) -{ - for (int a = 0, na = 0; a < argc; ++a) - { - // See if it was removed. - if (argv[na] == argv[a + argc + 1]) - ++na; - else - PyList_SetSlice(argvlist,na,na + 1,NULL); - } -} -%End diff --git a/python/pykde/sip/kdecore/kasyncio.sip b/python/pykde/sip/kdecore/kasyncio.sip deleted file mode 100644 index c59f663e..00000000 --- a/python/pykde/sip/kdecore/kasyncio.sip +++ /dev/null @@ -1,52 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdecore version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KAsyncIO : QObject, QIODevice -{ -%TypeHeaderCode -#include -%End - - -protected: - KAsyncIO (); - -private: - KAsyncIO (KAsyncIO&); - -public: - virtual void enableRead (bool) = 0; - virtual void enableWrite (bool) = 0; - -signals: - void readyRead (); - void readyWrite (); - -protected: -//igx virtual void virtual_hook (int, void*); - -}; // class KAsyncIO - diff --git a/python/pykde/sip/kdecore/kaudioplayer.sip b/python/pykde/sip/kdecore/kaudioplayer.sip deleted file mode 100644 index 16ac9c5b..00000000 --- a/python/pykde/sip/kdecore/kaudioplayer.sip +++ /dev/null @@ -1,42 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdecore version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KAudioPlayer : QObject -{ -%TypeHeaderCode -#include -%End - - -public: - KAudioPlayer (const QString&, QObject* /TransferThis/ = 0, const char* = 0); - static void play (const QString&); - -public slots: - void play (); - -}; // class KAudioPlayer - diff --git a/python/pykde/sip/kdecore/kbufferedio.sip b/python/pykde/sip/kdecore/kbufferedio.sip deleted file mode 100644 index 995c8639..00000000 --- a/python/pykde/sip/kdecore/kbufferedio.sip +++ /dev/null @@ -1,73 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdecore version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KBufferedIO : KAsyncIO -{ -%TypeHeaderCode -#include -%End - - -protected: - KBufferedIO (); - -public: - - enum closeModes - { - availRead, - dirtyWrite, - involuntary, - delayed, - closedNow - }; - - virtual void closeNow () = 0; - virtual bool setBufferSize (int, int = -2); - virtual int bytesAvailable () const; - virtual int waitForMore (int) = 0; - virtual int bytesToWrite () const; - virtual bool canReadLine () const; - virtual int peekBlock (char*, uint) = 0; - virtual int unreadBlock (const char*, uint); - -signals: - void bytesWritten (int); - void closed (int); - -protected: - virtual uint consumeReadBuffer (uint, char*, bool = 1); - virtual void consumeWriteBuffer (uint); - virtual uint feedReadBuffer (uint, const char*, bool = 0); - virtual uint feedWriteBuffer (uint, const char*); - virtual uint readBufferSize () const; - virtual uint writeBufferSize () const; - -protected: -//igx virtual void virtual_hook (int, void*); - -}; // class KBufferedIO - diff --git a/python/pykde/sip/kdecore/kcalendarsystem.sip b/python/pykde/sip/kdecore/kcalendarsystem.sip deleted file mode 100644 index 608dc6e1..00000000 --- a/python/pykde/sip/kdecore/kcalendarsystem.sip +++ /dev/null @@ -1,78 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdecore version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -%If ( KDE_3_2_0 - ) - -class KCalendarSystem -{ -%TypeHeaderCode -#include -%End - - -public: - KCalendarSystem (const KLocale* = 0); - virtual int year (const QDate&) const = 0; - virtual QString yearString (const QDate&, bool) const; - virtual int yearStringToInteger (const QString&, int& /Out/) const; - virtual int month (const QDate&) const = 0; - virtual QString monthString (const QDate&, bool) const; - virtual int monthStringToInteger (const QString&, int& /Out/) const; - virtual int day (const QDate&) const = 0; - virtual QString dayString (const QDate&, bool) const; - virtual int dayStringToInteger (const QString&, int& /Out/) const; - virtual int dayOfWeek (const QDate&) const = 0; - virtual int dayOfYear (const QDate&) const = 0; - virtual bool setYMD (QDate&, int, int, int) const = 0; - virtual QDate addYears (const QDate&, int) const = 0; - virtual QDate addMonths (const QDate&, int) const = 0; - virtual QDate addDays (const QDate&, int) const = 0; - virtual int monthsInYear (const QDate&) const = 0; - virtual int daysInYear (const QDate&) const = 0; - virtual int daysInMonth (const QDate&) const = 0; - virtual int weeksInYear (int) const = 0; - virtual int weekNumber (const QDate&, int* = 0) const = 0; - virtual QString monthName (int, int, bool = 0) const = 0; - virtual QString monthName (const QDate&, bool = 0) const = 0; - virtual QString monthNamePossessive (int, int, bool = 0) const = 0; - virtual QString monthNamePossessive (const QDate&, bool = 0) const = 0; - virtual QString weekDayName (int, bool = 0) const = 0; - virtual QString weekDayName (const QDate&, bool = 0) const = 0; - virtual int minValidYear () const = 0; - virtual int maxValidYear () const = 0; - virtual int weekDayOfPray () const = 0; - virtual QString calendarName () const = 0; - virtual bool isLunar () const = 0; - virtual bool isLunisolar () const = 0; - virtual bool isSolar () const = 0; - -protected: - const KLocale* locale () const; - -}; // class KCalendarSystem - -%End - diff --git a/python/pykde/sip/kdecore/kcalendarsystemfactory.sip b/python/pykde/sip/kdecore/kcalendarsystemfactory.sip deleted file mode 100644 index fcbf03df..00000000 --- a/python/pykde/sip/kdecore/kcalendarsystemfactory.sip +++ /dev/null @@ -1,44 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdecore version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -%If ( KDE_3_2_0 - ) - -class KCalendarSystemFactory -{ -%TypeHeaderCode -#include -%End - - -public: - KCalendarSystemFactory (); - static KCalendarSystem* create (const QString& = QString ::fromLatin1 ("gregorian" ), const KLocale* = 0); - static QStringList calendarSystems (); - -}; // class KCalendarSystemFactory - -%End - diff --git a/python/pykde/sip/kdecore/kcatalogue.sip b/python/pykde/sip/kdecore/kcatalogue.sip deleted file mode 100644 index 8ff82314..00000000 --- a/python/pykde/sip/kdecore/kcatalogue.sip +++ /dev/null @@ -1,64 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdecore version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KCatalogue -{ -%TypeHeaderCode -#include -%End - - -public: - -%If ( KDE_3_3_0 - ) - KCatalogue (const QString& = QString ::null , const QString& = QString ::null ); -%End - - KCatalogue (const KCatalogue&); - QString name () const; - -%If ( KDE_3_3_0 - ) - QString language () const; - int pluralType () const; - void setPluralType (int); -%End - - const char* translate (const char*) const; - -public: - -%If ( - KDE_3_3_0 ) - -%If ( D_MANDRAKE ) - KCatalogue (const QString& = QString ::null ); - void setFileName (const QString&); -%End - -%End - - -}; // class KCatalogue - diff --git a/python/pykde/sip/kdecore/kcharsets.sip b/python/pykde/sip/kdecore/kcharsets.sip deleted file mode 100644 index 22ab4760..00000000 --- a/python/pykde/sip/kdecore/kcharsets.sip +++ /dev/null @@ -1,62 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdecore version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KCharsets -{ -%TypeHeaderCode -#include -%End - - -protected: - KCharsets (); - -public: - QTextCodec* codecForName (const QString&) const; - QTextCodec* codecForName (const QString&, bool& /Out/) const /PyName=codecForName2/; - QChar fromEntity (const QString&) const; - QChar fromEntity (const QString&, int& /Out/) const /PyName=fromEntity2/; - QString toEntity (const QChar&) const; - -%If ( KDE_3_1_0 - ) - static QString resolveEntities (const QString&); -%End - - QStringList availableEncodingNames (); - QStringList descriptiveEncodingNames (); - QString languageForEncoding (const QString&); - QString encodingForName (const QString&); - -public: - -%If ( - KDE_3_2_0 ) -//ig QStringList languages (); -//ig QStringList encodingsForLanguage (const QString&); -%End - - -}; // class KCharsets - diff --git a/python/pykde/sip/kdecore/kclipboard.sip b/python/pykde/sip/kdecore/kclipboard.sip deleted file mode 100644 index b8805ca4..00000000 --- a/python/pykde/sip/kdecore/kclipboard.sip +++ /dev/null @@ -1,52 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdecore version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -%If ( KDE_3_1_0 - ) - -class KClipboardSynchronizer : QObject -{ -%TypeHeaderCode -#include -%End - - -public: - static KClipboardSynchronizer* self (); - static void setSynchronizing (bool); - static bool isSynchronizing (); - static void setReverseSynchronizing (bool); - static bool isReverseSynchronizing (); - -protected: - ~KClipboardSynchronizer (); - -private: - KClipboardSynchronizer (QObject* /TransferThis/ = 0, const char* = 0); - -}; // class KClipboardSynchronizer - -%End - diff --git a/python/pykde/sip/kdecore/kcmdlineargs.sip b/python/pykde/sip/kdecore/kcmdlineargs.sip deleted file mode 100644 index df430cf4..00000000 --- a/python/pykde/sip/kdecore/kcmdlineargs.sip +++ /dev/null @@ -1,264 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdecore version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KCmdLineOptions -{ -%TypeHeaderCode -#include -extern char **pyArgvToC(PyObject *argvlist,int *argcp); -extern void updatePyArgv(PyObject *argvlist,int argc,char **argv); -%End - - -public: - const char* name; - const char* description; - -%If ( KDE_3_5_3 - ) -// def is a Python keyword - use /PyName=/ -//pykwd const char* def; -%End - - -}; // class KCmdLineOptions - - -class KCmdLineArgs -{ -%TypeHeaderCode -#include -#include -%End - - -public: - -%If ( KDE_3_2_0 - ) - static void init (SIP_PYLIST, const char*, const char*, const char*, const char*, bool = 0) [void (int, char**, const char*, const char*, const char*, const char*, bool = 0)]; -%MethodCode -//takes _argc | (int) | _argv | (char) | _appname | (char) | programName | (char) | _description | (char) | _version | (char) | noKApp | (bool = 0) - - int argc, nargc; - char **argv; - - // Convert the list. - - if ((argv = pyArgvToC(a0, &argc)) == NULL) - return NULL; - - // Create it now the arguments are right. - nargc = argc; - - Py_BEGIN_ALLOW_THREADS - KCmdLineArgs::init (nargc,argv, a1, a2, a3, a4, a5); - Py_END_ALLOW_THREADS - - // Now modify the original list. - - updatePyArgv (a0, argc, argv); -%End - -%End - - static void init (SIP_PYLIST, const char*, const char*, const char*, bool = 0) [void (int, char**, const char*, const char*, const char*, bool = 0)]; -%MethodCode -//takes _argv | (a Python list of strings which may be modified) | _appname | (char) | _description | (char) | _version | (char) | noKApp | (bool = False) - - int argc, nargc; - char **argv; - - // Convert the list. - - if ((argv = pyArgvToC(a0, &argc)) == NULL) - return NULL; - - // Create it now the arguments are right. - nargc = argc; - - Py_BEGIN_ALLOW_THREADS - KCmdLineArgs::init (nargc,argv, a1, a2, a3, a4); - Py_END_ALLOW_THREADS - - // Now modify the original list. - - updatePyArgv (a0, argc, argv); -%End - - static void init (SIP_PYLIST, const KAboutData*, bool = 0) [void (int, char**, const KAboutData*, bool = 0)]; -%MethodCode -//takes _argv | (a Python list of strings which may be modified) | about | (KAboutData) | noKApp | (bool = 0) - - int argc, nargc; //, iserr = 0; - char **argv; - - // Convert the list. - - if ((argv = pyArgvToC (a0, &argc)) == NULL) - return NULL; - - // Create it now the arguments are right. - nargc = argc; - - Py_BEGIN_ALLOW_THREADS - KCmdLineArgs::init (nargc, argv, a1, a2); - Py_END_ALLOW_THREADS - - // Now modify the original list. - - updatePyArgv (a0, argc, argv); -%End - - static void init (const KAboutData*); - static void addCmdLineOptions (SIP_PYLIST, const char* = 0, const char* = 0, const char* = 0) [void (const KCmdLineOptions*, const char* = 0, const char* = 0, const char* = 0)]; -%MethodCode -//takes options | (a Python list of tuples) | name | (char = 0) | id | (char = 0) | afterId | (char = 0) - -//doc -// A Pytbon list of tuples (name, description, default) is the first parameter -// instead of a KCmdLineOptions object (KCmdLineOptions is not used); -// NULL (or None) parameters to mark the end of the list are not required -//end - - int n; - - if ((n = PyList_Size (a0)) == 0) - return NULL; - - // opts is persistent - KCmdLineOptions *opts; - - Py_BEGIN_ALLOW_THREADS - opts = new KCmdLineOptions [n + 1]; - Py_END_ALLOW_THREADS - - int i, tsz; - for (i = 0; i < n; i++) - { - PyObject *tuple; - - if ((tuple = PyList_GetItem (a0, i)) != NULL) - { - tsz = PyTuple_Size (tuple); - PyObject *member; - - if (tsz == 0) - goto errorExit; - - member = PyTuple_GET_ITEM (tuple, 0); - if (PyString_Check (member)) - opts [i].name = PyString_AS_STRING (member); - else - goto errorExit; - - if (tsz > 1) - { - member = PyTuple_GET_ITEM (tuple, 1); - if PyString_Check (member) - opts [i].description = PyString_AS_STRING (member); - else - goto errorExit; - } - else - opts [i].description = NULL; - - - if (tsz > 2) - { - member = PyTuple_GET_ITEM (tuple, 2); - if PyString_Check (member) - opts [i].def = PyString_AS_STRING (member); - else - goto errorExit; - } - else - opts [i].def = NULL; - } - else - goto errorExit; - } - - // mark the end of the list - opts [n].name = NULL; - opts [n].description = NULL; - opts [n].def = NULL; - - Py_BEGIN_ALLOW_THREADS - KCmdLineArgs::addCmdLineOptions (opts, a1, a2, a3); - Py_END_ALLOW_THREADS - - Py_INCREF (Py_None); - return Py_None; - -errorExit: - delete opts; - return NULL; -%End - - static KCmdLineArgs* parsedArgs (const char* = 0); - static QString cwd (); - static const char* appName (); - static void usage (const char* = 0); - static void usage (const QString&); - static void enable_i18n (); - QCString getOption (const char*); - -%If ( KDE_3_1_4 - ) - QCStringList getOptionList (const char*) const; -%End - - bool isSet (const char*); - int count (); - const char* arg (int); - KURL url (int); - static KURL makeURL (const char*); - static void setCwd (char*); - void clear (); - -%If ( KDE_3_2_0 - ) - static void reset (); - static void loadAppArgs (QDataStream&); - -%If ( KDE_3_4_0 - ) - static void addTempFileOption (); - static bool isTempFileSet (); -%End - -%End - - -protected: - KCmdLineArgs (const KCmdLineOptions*, const char*, const char*); - ~KCmdLineArgs (); - -public: - -%If ( - KDE_3_1_3 ) - QValueList getOptionList (const char*); -%End - - -}; // class KCmdLineArgs - diff --git a/python/pykde/sip/kdecore/kcompletion.sip b/python/pykde/sip/kdecore/kcompletion.sip deleted file mode 100644 index 1806f40b..00000000 --- a/python/pykde/sip/kdecore/kcompletion.sip +++ /dev/null @@ -1,228 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdecore version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KCompletion : QObject -{ -%TypeHeaderCode -#include -%End - - -public: - - enum CompOrder - { - Sorted, - Insertion, - Weighted - }; - - KCompletion (); - virtual QString makeCompletion (const QString&); - QStringList substringCompletion (const QString&) const; - QString previousMatch (); - QString nextMatch (); - virtual const QString& lastMatch () const; - QStringList items () const; - -%If ( KDE_3_3_0 - ) - bool isEmpty () const; -%End - - virtual void setCompletionMode (KGlobalSettings::Completion); - KGlobalSettings::Completion completionMode () const; - virtual void setOrder (KCompletion::CompOrder); - CompOrder order () const; - virtual void setIgnoreCase (bool); - bool ignoreCase () const; - QStringList allMatches (); - QStringList allMatches (const QString&); -//ig KCompletionMatches allWeightedMatches (); -//ig KCompletionMatches allWeightedMatches (const QString&); - virtual void setEnableSounds (bool); - bool isSoundsEnabled () const; - bool hasMultipleMatches () const; - void enableSounds (); - void disableSounds (); - -public slots: - void slotMakeCompletion (const QString&); - void slotPreviousMatch (); - void slotNextMatch (); - void insertItems (const QStringList&); - virtual void setItems (const QStringList&); - void addItem (const QString&); - void addItem (const QString&, uint); - void removeItem (const QString&); - virtual void clear (); - -signals: - void match (const QString&); - void matches (const QStringList&); - void multipleMatches (); - -protected: - virtual void postProcessMatch (QString*); - virtual void postProcessMatches (QStringList*); -//ig virtual void postProcessMatches (KCompletionMatches*) const; - -protected: -//igx virtual void virtual_hook (int, void*); - -}; // class KCompletion - - -//ig class KCompletionMatches : KCompletionMatchesList; - - -class KCompletionBase -{ -%TypeHeaderCode -#include -%End - - -public: - - enum KeyBindingType - { - TextCompletion, - PrevCompletionMatch, - NextCompletionMatch, - SubstringCompletion - }; - - typedef QMap KeyBindingMap; - KCompletionBase (); - KCompletion* completionObject (bool = 1); - virtual void setCompletionObject (KCompletion*, bool = 1); - virtual void setHandleSignals (bool); - bool isCompletionObjectAutoDeleted () const; - void setAutoDeleteCompletionObject (bool); - void setEnableSignals (bool); - bool handleSignals () const; - bool emitSignals () const; - virtual void setCompletionMode (KGlobalSettings::Completion); - KGlobalSettings::Completion completionMode () const; - bool setKeyBinding (KCompletionBase::KeyBindingType, const KShortcut&); - const KShortcut& getKeyBinding (KCompletionBase::KeyBindingType) const; - void useGlobalKeyBindings (); - virtual void setCompletedText (const QString&) = 0; - virtual void setCompletedItems (const QStringList&) = 0; - KCompletion* compObj () const; - -protected: - KCompletionBase::KeyBindingMap getKeyBindings () const; - void setDelegate (KCompletionBase*); - KCompletionBase* delegate () const; - -protected: -//igx virtual void virtual_hook (int, void*); - -}; // class KCompletionBase - -//ig typedef KSortableValueList KCompletionMatchesList; - - -%MappedType KCompletionBase::KeyBindingMap -//converts a Python dict of int:KShortcut -{ -%TypeHeaderCode -#include -#include -%End -%ConvertFromTypeCode - - if (!sipCpp) - return PyDict_New(); - - PyObject *dict; - - // Create the dictionary. - - if ((dict = PyDict_New()) == NULL) - return NULL; - - // Get it. - - const QMap map = *sipCpp; - QMap::ConstIterator it; - - PyObject *key; - PyObject *value; - - for (it = map.begin (); it != map.end (); ++it) - { - key = PyInt_FromLong ((int) it.key ()); - value = sipConvertFromInstance ((void *)&(it.data ()), sipClass_KShortcut, sipTransferObj); - if ((value == NULL) || (PyDict_SetItem (dict, key, value) < 0)) - { - Py_XDECREF (key); - Py_XDECREF (value); - Py_DECREF (dict); - return NULL; - } - } - - - return dict; -%End - - -%ConvertToTypeCode - // Convert a Python dictionary to a KeyBindingMap on the heap. - - if (sipIsErr == NULL) - return PyDict_Check(sipPy); - - QMap *kbmap = new QMap; - - PyObject *key, *value; - int pos = 0; - KShortcut *cValue; - int iserr; - - while (PyDict_Next(sipPy, &pos, &key, &value)) - { - cValue = (KShortcut *)sipForceConvertTo_KShortcut (value, &iserr); - - if (iserr || !PyInt_Check (key)) - { - *sipIsErr = 1; - delete kbmap; - return 0; - } - - kbmap->insert ((KCompletionBase::KeyBindingType)PyInt_AS_LONG (key), *cValue); - } - - *sipCppPtr = kbmap; - - return 1; -%End -}; - - diff --git a/python/pykde/sip/kdecore/kconfig.sip b/python/pykde/sip/kdecore/kconfig.sip deleted file mode 100644 index 51d04ce7..00000000 --- a/python/pykde/sip/kdecore/kconfig.sip +++ /dev/null @@ -1,234 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdecore version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KConfig : KConfigBase -{ -%TypeHeaderCode -#include -%End - - -public: - KConfig (const QString& = QString ::null , bool = 0, bool = 1, const char* = "config"); - -%If ( KDE_3_2_0 - ) - KConfig (KConfigBackEnd*, bool = 0); -%End - - virtual void rollback (bool = 1); - virtual QStringList groupList () const; - virtual QMap entryMap (const QString&) const; - virtual void reparseConfiguration (); - void setFileWriteMode (int); - void setForceGlobal (bool); - bool forceGlobal () const; - -%If ( KDE_3_1_0 - ) - void checkUpdate (const QString&, const QString&); - -%If ( KDE_3_2_0 - ) - KConfig* copyTo (const QString&, KConfig* = 0) const; - -%If ( KDE_3_3_0 - ) - KLockFile::Ptr lockFile (bool = 0); -%End - -%End - -%End - - -protected: - virtual bool internalHasGroup (const QCString&) const; - virtual KEntryMap internalEntryMap (const QString&) const; - virtual KEntryMap internalEntryMap () const; - virtual void putData (const KEntryKey&, const KEntry&, bool = 1); - virtual KEntry lookupData (const KEntryKey&) const; - -private: - KConfig (const KConfig&); - -protected: -//igx virtual void virtual_hook (int, void*); - -}; // class KConfig - - -%If ( KDE_3_2_0 - ) - -class KSharedConfig : KConfig, KShared -{ -%TypeHeaderCode -#include -%End - - -public: -//ig typedef KSharedPtr Ptr; - -public: - static KSharedConfig::Ptr openConfig (const QString&, bool = 0, bool = 1); - -private: - KSharedConfig (const QString&, bool, bool); - ~KSharedConfig (); - -}; // class KSharedConfig - -%End - - - -%MappedType QMap -//converts a Python dict of QString:QString -{ -%TypeHeaderCode -#include -%End - -%ConvertFromTypeCode - // Convert to a Python dict - - if (!sipCpp) - return PyDict_New(); - - PyObject *dict; - - // Create the dictionary. - - if ((dict = PyDict_New()) == NULL) - return NULL; - - // Get it. - - const QMap cppmap = *sipCpp; - QMap::ConstIterator it; - - for (it = cppmap.begin (); it != cppmap.end (); ++it) - { - QString acpp = it.key (); - QString bcpp = it.data (); - PyObject *ainst; - PyObject *binst; - if (((ainst = sipBuildResult (NULL, "N", new QString (acpp), sipClass_QString)) == NULL) - || ((binst = sipBuildResult (NULL, "N", new QString (bcpp), sipClass_QString)) == NULL) - || (PyDict_SetItem (dict, ainst, binst) < 0)) - { - Py_XDECREF (ainst); - Py_XDECREF (binst); - Py_DECREF (dict); - return NULL; - } - } - - return dict; -%End - - -%ConvertToTypeCode - // Convert a Python dictionary to a QMap on the heap. - - if (sipIsErr == NULL) - return PyDict_Check(sipPy); - - - QMap *cppmap = new QMap; - - PyObject *aelem, *belem; - int pos = 0; - QString *acpp; - QString *bcpp; - - while (PyDict_Next(sipPy, &pos, &aelem, &belem)) - { - int iserr = 0; - - acpp = (QString *)sipForceConvertTo_QString (aelem, &iserr); - bcpp = (QString *)sipForceConvertTo_QString (belem, &iserr); - - if (iserr) - { - *sipIsErr = 1; - delete cppmap; - return 0; - } - - cppmap->insert (*acpp, *bcpp); - } - - *sipCppPtr = cppmap; - - return 1; -%End -}; - - -%If (KDE_3_2_0 - ) -%MappedType KSharedConfig::Ptr -//converts KSharedConfig -{ -%TypeHeaderCode -#include -#include -#include -%End - -%ConvertFromTypeCode - // Convert to a Python instance - - if (!sipCpp) - return NULL; - - KSharedPtr *cPtr = new KSharedPtr (*(KSharedPtr *)sipCpp); - KSharedConfig *cpp = cPtr->data (); - PyObject *obj = sipConvertFromInstance (cpp, sipClass_KSharedConfig, sipTransferObj); - - return obj; -%End - -%ConvertToTypeCode - // Convert a Python instance to a Ptr on the heap. - - if (sipIsErr == NULL) - return PyInstance_Check(sipPy); - - int iserr = 0; - KSharedConfig *cpp = (KSharedConfig *)sipForceConvertTo_KSharedConfig (sipPy, &iserr); - - if (iserr) - { - *sipIsErr = 1; - return 0; - } - - *sipCppPtr = new KSharedPtr (cpp); - - return 1; -%End -}; -%End - - diff --git a/python/pykde/sip/kdecore/kconfigbackend.sip b/python/pykde/sip/kdecore/kconfigbackend.sip deleted file mode 100644 index 0e1b52ed..00000000 --- a/python/pykde/sip/kdecore/kconfigbackend.sip +++ /dev/null @@ -1,93 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdecore version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KConfigBackEnd -{ -%TypeHeaderCode -#include -%End - - -public: - KConfigBackEnd (KConfigBase*, const QString&, const char*, bool); - virtual bool parseConfigFiles () = 0; - virtual void sync (bool = 1) = 0; - void changeFileName (const QString&, const char*, bool); - virtual KConfigBase::ConfigState getConfigState () const; - QString fileName () const; - const char* resource () const; - void setLocaleString (const QCString&); - void setFileWriteMode (int); - -%If ( KDE_3_2_0 - ) - bool checkConfigFilesWritable (bool); - -%If ( KDE_3_3_0 - ) - KLockFile::Ptr lockFile (bool = 0); -%End - -%End - - QString filename () const; - -protected: - -protected: -//igx virtual void virtual_hook (int, void*); - -protected: - -}; // class KConfigBackEnd - - -class KConfigINIBackEnd : KConfigBackEnd -{ -%TypeHeaderCode -#include -#include -%End - - -public: - KConfigINIBackEnd (KConfigBase*, const QString&, const char*, bool = 1); - bool parseConfigFiles (); - virtual void sync (bool = 1); - -protected: - void parseSingleConfigFile (QFile&, KEntryMap* = 0, bool = 0, bool = 0); - bool writeConfigFile (QString, bool = 0, bool = 1); - -%If ( KDE_3_2_0 - ) - bool getEntryMap (KEntryMap&, bool, QFile*); -//ig void writeEntries (FILE*, const KEntryMap&); -%End - - -protected: -//igx virtual void virtual_hook (int, void*); - -}; // class KConfigINIBackEnd - diff --git a/python/pykde/sip/kdecore/kconfigbase.sip b/python/pykde/sip/kdecore/kconfigbase.sip deleted file mode 100644 index 4bee20a6..00000000 --- a/python/pykde/sip/kdecore/kconfigbase.sip +++ /dev/null @@ -1,333 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdecore version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KConfigBase : QObject -{ -%TypeHeaderCode -typedef long long longlong; -typedef unsigned long long ulonglong; -#include -%End - - -public: - KConfigBase (); - void setGroup (const QString&); - void setDesktopGroup (); - QString group () const; - bool hasGroup (const QString&) const; - virtual QStringList groupList () const = 0; - QString locale () const; - QString readEntry (const QString&, const QString& = QString ::null ) const; - QString readEntry (const char*, const QString& = QString ::null ) const; - QVariant readPropertyEntry (const QString&, QVariant::Type) const; - QVariant readPropertyEntry (const char*, QVariant::Type) const; - QVariant readPropertyEntry (const QString&, const QVariant&) const; - QVariant readPropertyEntry (const char*, const QVariant&) const; - int readListEntry (const QString&, QStrList&, char = ',') const; - int readListEntry (const char*, QStrList&, char = ',') const; - QStringList readListEntry (const QString&, char = ',') const; - QStringList readListEntry (const char*, char = ',') const; - -%If ( KDE_3_3_0 - ) - QStringList readListEntry (const char*, const QStringList&, char = ',') const; -%End - - QValueList readIntListEntry (const QString&) const; - QValueList readIntListEntry (const char*) const; - QString readPathEntry (const QString&, const QString& = QString ::null ) const; - QString readPathEntry (const char*, const QString& = QString ::null ) const; - -%If ( KDE_3_1_3 - ) - QStringList readPathListEntry (const QString&, char = ',') const; - QStringList readPathListEntry (const char*, char = ',') const; -%End - - int readNumEntry (const QString&, int = 0) const; - int readNumEntry (const char*, int = 0) const; - uint readUnsignedNumEntry (const QString&, uint = 0) const; - uint readUnsignedNumEntry (const char*, uint = 0) const; - long readLongNumEntry (const QString&, long = 0) const; - long readLongNumEntry (const char*, long = 0) const; - ulong readUnsignedLongNumEntry (const QString&, ulong = 0) const; - ulong readUnsignedLongNumEntry (const char*, ulong = 0) const; - -%If ( KDE_3_2_0 - ) - longlong readNum64Entry (const QString&, longlong = 0) const; - longlong readNum64Entry (const char*, longlong = 0) const; - ulonglong readUnsignedNum64Entry (const QString&, ulonglong = 0) const; - ulonglong readUnsignedNum64Entry (const char*, ulonglong = 0) const; -%End - - double readDoubleNumEntry (const QString&, double = 0.0) const; - double readDoubleNumEntry (const char*, double = 0.0) const; - QFont readFontEntry (const QString&, const QFont* = 0) const; - QFont readFontEntry (const char*, const QFont* = 0) const; - bool readBoolEntry (const QString&, const bool = 0) const; - bool readBoolEntry (const char*, const bool = 0) const; - QRect readRectEntry (const QString&, const QRect* = 0) const; - QRect readRectEntry (const char*, const QRect* = 0) const; - QPoint readPointEntry (const QString&, const QPoint* = 0) const; - QPoint readPointEntry (const char*, const QPoint* = 0) const; - QSize readSizeEntry (const QString&, const QSize* = 0) const; - QSize readSizeEntry (const char*, const QSize* = 0) const; - QColor readColorEntry (const QString&, const QColor* = 0) const; - QColor readColorEntry (const char*, const QColor* = 0) const; - QDateTime readDateTimeEntry (const QString&, const QDateTime* = 0) const; - QDateTime readDateTimeEntry (const char*, const QDateTime* = 0) const; - QString readEntryUntranslated (const QString&, const QString& = QString ::null ) const; - QString readEntryUntranslated (const char*, const QString& = QString ::null ) const; - void writeEntry (const QString&, const QString&, bool = 1, bool = 0, bool = 0); - void writeEntry (const char*, const QString&, bool = 1, bool = 0, bool = 0); - void writeEntry (const QString&, const QVariant&, bool = 1, bool = 0, bool = 0); - void writeEntry (const char*, const QVariant&, bool = 1, bool = 0, bool = 0); - void writeEntry (const QString&, const QStrList&, char = ',', bool = 1, bool = 0, bool = 0); - void writeEntry (const char*, const QStrList&, char = ',', bool = 1, bool = 0, bool = 0); - void writeEntry (const QString&, const QStringList&, char = ',', bool = 1, bool = 0, bool = 0); - void writeEntry (const char*, const QStringList&, char = ',', bool = 1, bool = 0, bool = 0); - void writeEntry (const QString&, const QValueList&, bool = 1, bool = 0, bool = 0); - void writeEntry (const char*, const QValueList&, bool = 1, bool = 0, bool = 0); - void writeEntry (const QString&, const char*, bool = 1, bool = 0, bool = 0); - void writeEntry (const char*, const char*, bool = 1, bool = 0, bool = 0); - void writeEntry (const QString&, int, bool = 1, bool = 0, bool = 0); - void writeEntry (const char*, int, bool = 1, bool = 0, bool = 0); - -%If ( KDE_3_2_0 - ) - void writeEntry (const QString&, longlong, bool = 1, bool = 0, bool = 0); - void writeEntry (const char*, longlong, bool = 1, bool = 0, bool = 0); - void writeEntry (const QString&, ulonglong, bool = 1, bool = 0, bool = 0); - void writeEntry (const char*, ulonglong, bool = 1, bool = 0, bool = 0); -%End - -//ig void writeEntry (const QString&, double, bool = 1, bool = 0, char = 'g', int = 6, bool = 0); -//ig void writeEntry (const char*, double, bool = 1, bool = 0, char = 'g', int = 6, bool = 0); - void writeEntry (const QString&, const QFont&, bool = 1, bool = 0, bool = 0); - void writeEntry (const char*, const QFont&, bool = 1, bool = 0, bool = 0); - void writeEntry (const QString&, const QColor&, bool = 1, bool = 0, bool = 0); - void writeEntry (const char*, const QColor&, bool = 1, bool = 0, bool = 0); - void writeEntry (const QString&, const QDateTime&, bool = 1, bool = 0, bool = 0); - void writeEntry (const char*, const QDateTime&, bool = 1, bool = 0, bool = 0); - void writeEntry (const QString&, const QRect&, bool = 1, bool = 0, bool = 0); - void writeEntry (const char*, const QRect&, bool = 1, bool = 0, bool = 0); - void writeEntry (const QString&, const QPoint&, bool = 1, bool = 0, bool = 0); - void writeEntry (const char*, const QPoint&, bool = 1, bool = 0, bool = 0); - void writeEntry (const QString&, const QSize&, bool = 1, bool = 0, bool = 0); - void writeEntry (const char*, const QSize&, bool = 1, bool = 0, bool = 0); - void writePathEntry (const QString&, const QString&, bool = 1, bool = 0, bool = 0); - void writePathEntry (const char*, const QString&, bool = 1, bool = 0, bool = 0); - -%If ( KDE_3_1_3 - ) - void writePathEntry (const QString&, const QStringList&, char = ',', bool = 1, bool = 0, bool = 0); - void writePathEntry (const char*, const QStringList&, char = ',', bool = 1, bool = 0, bool = 0); -%End - - void deleteEntry (const QString&, bool = 0, bool = 0); - void deleteEntry (const char*, bool = 0, bool = 0); - bool deleteGroup (const QString&, bool = 1, bool = 0); - void setDollarExpansion (bool = 1); - bool isDollarExpansion () const; - virtual void rollback (bool = 1); - virtual void sync (); - bool isDirty () const; - virtual void setReadOnly (bool); - bool isReadOnly () const; - bool hasKey (const QString&) const; - virtual QMap entryMap (const QString&) const = 0; - virtual void reparseConfiguration () = 0; - bool isImmutable () const; - bool groupIsImmutable (const QString&) const; - bool entryIsImmutable (const QString&) const; - - enum ConfigState - { - NoAccess, - ReadOnly, - ReadWrite - }; - - ConfigState getConfigState () const; - -%If ( KDE_3_2_0 - ) - bool checkConfigFilesWritable (bool); - void setReadDefaults (bool); - bool readDefaults () const; - void revertToDefault (const QString&); - bool hasDefault (const QString&) const; -%End - - -protected: - void setLocale (); - virtual void setDirty (bool = 1); - virtual void parseConfigFiles (); - virtual KEntryMap internalEntryMap (const QString&) const = 0; - virtual KEntryMap internalEntryMap () const = 0; - virtual void putData (const KEntryKey&, const KEntry&, bool = 1) = 0; - virtual KEntry lookupData (const KEntryKey&) const = 0; - virtual bool internalHasGroup (const QCString&) const = 0; - -public: - void setGroup (const QCString&); - void setGroup (const char*); - bool hasGroup (const QCString&) const; - bool hasGroup (const char*) const; - bool hasKey (const char*) const; - -protected: - QCString readEntryUtf8 (const char*) const; - -protected: -//igx virtual void virtual_hook (int, void*); - -}; // class KConfigBase - - -class KConfigGroupSaver -{ -%TypeHeaderCode -#include -%End - - -public: - KConfigGroupSaver (KConfigBase*, QString); - KConfigGroupSaver (KConfigBase*, const char*); - KConfigGroupSaver (KConfigBase*, const QCString&); - KConfigBase* config (); - -private: - KConfigGroupSaver (const KConfigGroupSaver&); - -}; // class KConfigGroupSaver - - -class KConfigGroup : KConfigBase -{ -%TypeHeaderCode -#include -%End - - -public: - KConfigGroup (KConfigBase*, const QCString&); - KConfigGroup (KConfigBase*, const QString&); - KConfigGroup (KConfigBase*, const char*); - void deleteGroup (bool = 0); - -%If ( KDE_3_4_0 - ) - bool groupIsImmutable () const; -%End - - virtual void setDirty (bool); - virtual void putData (const KEntryKey&, const KEntry&, bool = 1); - virtual KEntry lookupData (const KEntryKey&) const; - virtual void sync (); - -protected: -//igx virtual void virtual_hook (int, void*); - -}; // class KConfigGroup - - - -%MappedType longlong -//converts a Python long -{ -%TypeHeaderCode -#include // typdef for longlong -#if PY_MAJOR_VERSION >= 2 && PY_MINOR_VERSION >= 3 -#define LONG_LONG PY_LONG_LONG -#endif -%End -%ConvertFromTypeCode - if (!sipCpp) - Py_INCREF (Py_None); - return Py_None; - -// PyObject *LongLong; - - return PyLong_FromLongLong (*(LONG_LONG *)sipCpp); -%End - -%ConvertToTypeCode - if (sipIsErr == NULL) - return PyLong_Check (sipPy) || PyInt_Check (sipPy); - - long long *ll = new long long; - *ll = 0; - - if (PyLong_Check (sipPy)) - *ll = PyLong_AsLongLong (sipPy); - else if (PyInt_Check (sipPy)) - *ll = (long long)PyInt_AS_LONG (sipPy); - - *sipCppPtr = ll; - - return 1; -%End - -}; - - -%MappedType ulonglong -//converts a Python long -{ -%TypeHeaderCode -#include // typdef for ulonglong -#if PY_MAJOR_VERSION >= 2 && PY_MINOR_VERSION >= 3 -#define LONG_LONG PY_LONG_LONG -#endif -%End -%ConvertFromTypeCode - if (!sipCpp) - Py_INCREF (Py_None); - return Py_None; - - PyObject *LongLong; - - return PyLong_FromUnsignedLongLong (*(LONG_LONG *)sipCpp); -%End - -%ConvertToTypeCode - if (sipIsErr == NULL) - return PyLong_Check (sipPy) || PyInt_Check (sipPy); - - unsigned long long *ul = new unsigned long long; - *ul = 0; - - if (PyLong_Check (sipPy)) - *ul = PyLong_AsUnsignedLongLong (sipPy); - else if (PyInt_Check (sipPy)) - *ul = (unsigned long long)PyInt_AS_LONG (sipPy); - - *sipCppPtr = ul; - - return 1; -%End - -}; - - diff --git a/python/pykde/sip/kdecore/kconfigdata.sip b/python/pykde/sip/kdecore/kconfigdata.sip deleted file mode 100644 index e57e835d..00000000 --- a/python/pykde/sip/kdecore/kconfigdata.sip +++ /dev/null @@ -1,176 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdecore version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KEntry -{ -%TypeHeaderCode -#include -%End - - -public: - KEntry (); - QCString mValue; - bool bDirty; - bool bNLS; - bool bGlobal; - bool bImmutable; - bool bDeleted; - -%If ( KDE_3_1_0 - ) - bool bExpand; -%End - - -}; // class KEntry - - -class KEntryKey -{ -%TypeHeaderCode -#include -%End - - -public: - KEntryKey (const QCString& = QCString ("" ), const QCString& = QCString ("" )); - QCString mGroup; - QCString mKey; - bool bLocal; - bool bDefault; - const char* c_key; - -}; // class KEntryKey - -typedef QMap KEntryMap; -//ig typedef QMap::Iterator KEntryMapIterator; -//ig typedef QMap::ConstIterator KEntryMapConstIterator; -//force -KEntryMap testKEntryMap (SIP_PYOBJECT) [KEntryMap (KEntryMap)]; -%MethodCode -//takes dict | (KEntryMap) -//returns (QMap -#include -#include -#include -#include -%End - -%ConvertFromTypeCode - // Convert to a Python dict - - if (!sipCpp) - return PyDict_New(); - - PyObject *dict; - - // Create the dictionary. - - if ((dict = PyDict_New()) == NULL) - return NULL; - - // Get it. - - const KEntryMap cppmap = *sipCpp; - KEntryMap::ConstIterator it; - - for (it = cppmap.begin (); it != cppmap.end (); ++it) - { - KEntryKey acpp = it.key (); - KEntry bcpp = it.data (); - PyObject *ainst; - PyObject *binst; - if (((ainst = sipBuildResult (NULL, "N", new KEntryKey (acpp), sipClass_KEntryKey)) == NULL) - || ((binst = sipBuildResult (NULL, "N", new KEntry (bcpp), sipClass_KEntry)) == NULL) - || (PyDict_SetItem (dict, ainst, binst) < 0)) - { - Py_XDECREF (ainst); - Py_XDECREF (binst); - Py_DECREF (dict); - return NULL; - } - } - - return dict; -%End - - -%ConvertToTypeCode - // Convert a Python dictionary to a QMap on the heap. - - if (sipIsErr == NULL) - return PyDict_Check(sipPy); - - - KEntryMap *cppmap = new KEntryMap; - - PyObject *aelem, *belem; - int pos = 0; - KEntryKey *acpp; - KEntry *bcpp; - - while (PyDict_Next(sipPy, &pos, &aelem, &belem)) - { - int iserr = 0; - - acpp = (KEntryKey *)sipForceConvertTo_KEntryKey (aelem, &iserr); - bcpp = (KEntry *)sipForceConvertTo_KEntry (belem, &iserr); - - if (iserr) - { - *sipIsErr = 1; - delete cppmap; - return 0; - } - - cppmap->insert (*acpp, *bcpp); - } - - *sipCppPtr = cppmap; - - return 1; -%End -}; - - diff --git a/python/pykde/sip/kdecore/kconfigdialogmanager.sip b/python/pykde/sip/kdecore/kconfigdialogmanager.sip deleted file mode 100644 index 4f924daa..00000000 --- a/python/pykde/sip/kdecore/kconfigdialogmanager.sip +++ /dev/null @@ -1,64 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdecore version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -%If ( KDE_3_2_0 - ) - -class KConfigDialogManager : QObject -{ -%TypeHeaderCode -#include -%End - - -signals: - void settingsChanged (); - void settingsChanged (QWidget*); - void widgetModified (); - -public: - KConfigDialogManager (QWidget* /TransferThis/, KConfigSkeleton*, const char* = 0); - void addWidget (QWidget*); - bool hasChanged (); - bool isDefault (); - -public slots: - void updateSettings (); - void updateWidgets (); - void updateWidgetsDefault (); - -protected: - void init (bool); - bool parseChildren (const QWidget*, bool); - void setProperty (QWidget*, const QVariant&); - QVariant property (QWidget*); - void setupWidget (QWidget*, KConfigSkeletonItem*); - -protected: - -}; // class KConfigDialogManager - -%End - diff --git a/python/pykde/sip/kdecore/kconfigskeleton.sip b/python/pykde/sip/kdecore/kconfigskeleton.sip deleted file mode 100644 index 4e1c0341..00000000 --- a/python/pykde/sip/kdecore/kconfigskeleton.sip +++ /dev/null @@ -1,1149 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdecore version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -%If ( KDE_3_2_0 - ) - -class KConfigSkeletonItem -{ -%TypeHeaderCode -#include -#include -%End - - -public: - typedef QValueList List; -//ig typedef QDict Dict; -//ig typedef QDictIterator DictIterator; - KConfigSkeletonItem (const QString&, const QString&); - void setGroup (const QString&); - QString group () const; - void setKey (const QString&); - QString key () const; - void setName (const QString&); - QString name () const; - void setLabel (const QString&); - QString label () const; - void setWhatsThis (const QString&); - QString whatsThis () const; - virtual void readConfig (KConfig*) = 0; - virtual void writeConfig (KConfig*) = 0; - virtual void readDefault (KConfig*) = 0; - virtual void setProperty (const QVariant&) = 0; - virtual QVariant property () const = 0; - virtual QVariant minValue () const; - virtual QVariant maxValue () const; - virtual void setDefault () = 0; - virtual void swapDefault () = 0; - bool isImmutable () const; - -protected: - void readImmutability (KConfig*); - -//force -%ConvertToSubClassCode - if (dynamic_cast(sipCpp)) - sipClass = sipClass_KConfigSkeleton_ItemBool; - else if (dynamic_cast(sipCpp)) - sipClass = sipClass_KConfigSkeleton_ItemColor; - else if (dynamic_cast(sipCpp)) - sipClass = sipClass_KConfigSkeleton_ItemDateTime; - else if (dynamic_cast(sipCpp)) - sipClass = sipClass_KConfigSkeleton_ItemDouble; - else if (dynamic_cast(sipCpp)) - sipClass = sipClass_KConfigSkeleton_ItemEnum; - else if (dynamic_cast(sipCpp)) - sipClass = sipClass_KConfigSkeleton_ItemFont; - else if (dynamic_cast(sipCpp)) - sipClass = sipClass_KConfigSkeleton_ItemInt; - else if (dynamic_cast(sipCpp)) - sipClass = sipClass_KConfigSkeleton_ItemInt64; - else if (dynamic_cast(sipCpp)) - sipClass = sipClass_KConfigSkeleton_ItemIntList; - else if (dynamic_cast(sipCpp)) - sipClass = sipClass_KConfigSkeleton_ItemLong; - else if (dynamic_cast(sipCpp)) - sipClass = sipClass_KConfigSkeleton_ItemPassword; - else if (dynamic_cast(sipCpp)) - sipClass = sipClass_KConfigSkeleton_ItemPath; - else if (dynamic_cast(sipCpp)) - sipClass = sipClass_KConfigSkeleton_ItemPoint; - else if (dynamic_cast(sipCpp)) - sipClass = sipClass_KConfigSkeleton_ItemProperty; - else if (dynamic_cast(sipCpp)) - sipClass = sipClass_KConfigSkeleton_ItemRect; - else if (dynamic_cast(sipCpp)) - sipClass = sipClass_KConfigSkeleton_ItemSize; - else if (dynamic_cast(sipCpp)) - sipClass = sipClass_KConfigSkeleton_ItemString; - else if (dynamic_cast(sipCpp)) - sipClass = sipClass_KConfigSkeleton_ItemStringList; - else if (dynamic_cast(sipCpp)) - sipClass = sipClass_KConfigSkeleton_ItemUInt; - else if (dynamic_cast(sipCpp)) - sipClass = sipClass_KConfigSkeleton_ItemUInt64; - else if (dynamic_cast(sipCpp)) - sipClass = sipClass_KConfigSkeleton_ItemULong; - else - sipClass = NULL; -%End -//end - -}; // class KConfigSkeletonItem - -%End - - -%If ( KDE_3_2_0 - ) - -class KConfigSkeleton -{ -%TypeHeaderCode -#include -#include -#include -typedef QValueList IntList; -%End - - -public: - - class ItemPassword : KConfigSkeleton::ItemString - { - - public: - ItemPassword (const QString&, const QString&, QString&, const QString& = QString ::fromLatin1 ("" )); - - }; // class ItemPassword - - -public: - - class ItemPath : KConfigSkeleton::ItemString - { - - public: - ItemPath (const QString&, const QString&, QString&, const QString& = QString ::null ); - - }; // class ItemPath - - -public: - - class ItemEnum : KConfigSkeleton::ItemInt - { - - public: - - class Choice - { - - public: - QString name; - QString label; - QString whatsThis; - - }; // class Choice - - - public: - ItemEnum (const QString&, const QString&, int, const QValueList&, int = 0) [(const QString&, const QString&, int&, const QValueList&, int = 0)]; -%MethodCode -//takes group | (QString) | key | (QString) | reference | (int) | choices | (QValueList) |defaultValue | (int = 1) - - class PyItemEnum : public KConfigSkeleton::ItemEnum - { - public: - PyItemEnum (const QString& group, const QString& key, int& val, const QValueList& choices, int defaultValue = 0) : - KConfigSkeleton::ItemEnum(group, key, this->value, choices, defaultValue) - { - value = val; - }; - - private: - int value; - }; - - Py_BEGIN_ALLOW_THREADS - sipCpp = (sipKConfigSkeleton_ItemEnum *) new PyItemEnum (*a0, *a1, a2, *a3, a4); - Py_END_ALLOW_THREADS -%End - - QValueList choices () const; - void readConfig (KConfig*); - void writeConfig (KConfig*); - - public: -//force - void setValue (const int&); - int value (); - virtual void setDefaultValue (const int&); - virtual void setDefault (); - void swapDefault (); -//end - - }; // class ItemEnum - - -public: - -%If ( KDE_3_4_0 - ) - - class ItemPathList : KConfigSkeleton::ItemStringList - { - - public: - ItemPathList (const QString&, const QString&, QStringList&, const QStringList& = QStringList ()); - void readConfig (KConfig*); - void writeConfig (KConfig*); - - }; // class ItemPathList - - -public: -%End - - -public: - KConfigSkeleton (const QString& = QString ::null ); - KConfigSkeleton (KSharedConfig::Ptr); - void setDefaults (); - void readConfig (); - void writeConfig (); - void setCurrentGroup (const QString&); - QString currentGroup (); - void addItem (KConfigSkeletonItem*, const QString& = QString ::null ); - ItemString* addItemString (const QString&, QString&, const QString& = QString ::fromLatin1 ("" ), const QString& = QString ::null ); - KConfigSkeleton::ItemPassword* addItemPassword (const QString&, QString&, const QString& = QString ::fromLatin1 ("" ), const QString& = QString ::null ); - KConfigSkeleton::ItemPath* addItemPath (const QString&, QString&, const QString& = QString ::fromLatin1 ("" ), const QString& = QString ::null ); - ItemProperty* addItemProperty (const QString&, QVariant&, const QVariant& = QVariant (), const QString& = QString ::null ); - ItemBool* addItemBool (const QString&, bool&, bool = 0, const QString& = QString ::null ); -%MethodCode -//takes name | (QString) | value | (bool) | defaultValue | (bool) | key | (QString = QString::null) - - class PyItemBool : public KConfigSkeleton::ItemBool - { - public: - PyItemBool (const QString &group, const QString &key, bool val, bool defaultValue = 0) : - KConfigSkeleton::ItemBool (group, key, this->value, defaultValue) - { - value = val; - } - - private: - bool value; - }; - - Py_BEGIN_ALLOW_THREADS - sipRes = new PyItemBool (sipCpp->currentGroup(), a3->isNull() ? *a0 : *a3, a1, a2); - sipCpp->addItem(sipRes, *a0); - Py_END_ALLOW_THREADS -%End - - ItemInt* addItemInt (const QString&, int&, int = 0, const QString& = QString ::null ); -%MethodCode -//takes name | (QString) | value | (int) | defaultValue | (int) | key | (QString = QString::null) - - class PyItemInt : public KConfigSkeleton::ItemInt - { - public: - PyItemInt(const QString &group, const QString &key, int val, int defaultValue=0) : - KConfigSkeleton::ItemInt (group, key, this->value, defaultValue) - { - value = val; - } - - private: - int value; - }; - - Py_BEGIN_ALLOW_THREADS - sipRes = new PyItemInt(sipCpp->currentGroup(), a3->isNull() ? *a0 : *a3, a1, a2); - sipCpp->addItem(sipRes, *a0); - Py_END_ALLOW_THREADS -%End - - ItemUInt* addItemUInt (const QString&, uint&, uint = 0, const QString& = QString ::null ); -%MethodCode -//takes name | (QString) | value | (uint) | defaultValue | (uint) | key | (QString = QString::null) - - class PyItemUInt : public KConfigSkeleton::ItemUInt - { - public: - PyItemUInt(const QString &group, const QString &key, uint val, uint defaultValue = 0) : - KConfigSkeleton::ItemUInt (group, key, this->value, defaultValue) - { - value = val; - } - - private: - uint value; - }; - - Py_BEGIN_ALLOW_THREADS - sipRes = new PyItemUInt(sipCpp->currentGroup(), a3->isNull() ? *a0 : *a3, a1, a2); - sipCpp->addItem(sipRes, *a0); - Py_END_ALLOW_THREADS -%End - - ItemLong* addItemLong (const QString&, long&, long = 0, const QString& = QString ::null ); -%MethodCode -//takes name | (QString) | value | (long) | defaultValue | (long) | key | (QString = QString::null) - - class PyItemLong : public KConfigSkeleton::ItemLong - { - public: - PyItemLong(const QString &group, const QString &key, long val, long defaultValue=0) : - KConfigSkeleton::ItemLong (group, key, this->value, defaultValue) - { - value = val; - } - - private: - long value; - }; - - Py_BEGIN_ALLOW_THREADS - sipRes = new PyItemLong(sipCpp->currentGroup(), a3->isNull() ? *a0 : *a3, a1, a2); - sipCpp->addItem(sipRes, *a0); - Py_END_ALLOW_THREADS -%End - - ItemULong* addItemULong (const QString&, ulong&, ulong = 0, const QString& = QString ::null ); -%MethodCode -//takes name | (QString) | value | (ulong) | defaultValue | (ulong) | key | (QString = QString::null) - - class PyItemULong : public KConfigSkeleton::ItemULong - { - public: - PyItemULong(const QString &group, const QString &key, ulong val, ulong defaultValue = 0) : - KConfigSkeleton::ItemULong (group, key, this->value, defaultValue) - { - value = val; - } - - private: - ulong value; - }; - - Py_BEGIN_ALLOW_THREADS - sipRes = new PyItemULong(sipCpp->currentGroup(), a3->isNull() ? *a0 : *a3, a1, a2); - sipCpp->addItem(sipRes, *a0); - Py_END_ALLOW_THREADS -%End - - KConfigSkeleton::ItemInt64* addItemInt64 (const QString&, longlong&, longlong = 0, const QString& = QString ::null ); - KConfigSkeleton::ItemUInt64* addItemUInt64 (const QString&, ulonglong&, ulonglong = 0, const QString& = QString ::null ); - ItemDouble* addItemDouble (const QString&, double&, double = 0.0, const QString& = QString ::null ); -%MethodCode -//takes name | (QString) | value | (double) | defaultValue | (double) | key | (QString = QString::null) - - class PyItemDouble : public KConfigSkeleton::ItemDouble - { - public: - PyItemDouble(const QString &group, const QString &key, double val, double defaultValue=0.0) : - KConfigSkeleton::ItemDouble(group, key, this->value, defaultValue) - { - value = val; - }; - - private: - double value; - }; - - Py_BEGIN_ALLOW_THREADS - sipRes = new PyItemDouble(sipCpp->currentGroup(), a3->isNull() ? *a0 : *a3, a1, a2); - sipCpp->addItem(sipRes, *a0); - Py_END_ALLOW_THREADS -%End - - ItemColor* addItemColor (const QString&, QColor&, const QColor& = QColor (128 ,128 ,128 ), const QString& = QString ::null ); - ItemFont* addItemFont (const QString&, QFont&, const QFont& = KGlobalSettings ::generalFont (), const QString& = QString ::null ); - ItemRect* addItemRect (const QString&, QRect&, const QRect& = QRect (), const QString& = QString ::null ); - ItemPoint* addItemPoint (const QString&, QPoint&, const QPoint& = QPoint (), const QString& = QString ::null ); - ItemSize* addItemSize (const QString&, QSize&, const QSize& = QSize (), const QString& = QString ::null ); - ItemDateTime* addItemDateTime (const QString&, QDateTime&, const QDateTime& = QDateTime (), const QString& = QString ::null ); - KConfigSkeleton::ItemStringList* addItemStringList (const QString&, QStringList&, const QStringList& = QStringList (), const QString& = QString ::null ); - KConfigSkeleton::ItemIntList* addItemIntList (const QString&, QValueList&, const QValueList& = IntList (), const QString& = QString ::null ); -%MethodCode -//returns a Python list of int -//takes name | (QString) | reference | (a Python list of int) | defaultValue | (a Python list of int = []) | key | (QString = QString::null) - if (a2 == NULL) *(QValueList *)a2 = QValueList(); - Py_BEGIN_ALLOW_THREADS - sipRes = sipCpp->addItemIntList (*a0, *a1, *a2, *a3); - Py_END_ALLOW_THREADS -%End - - KConfig* config () const; - SIP_PYLIST items () const [KConfigSkeletonItem::List ()]; -%MethodCode -//returns (a Python list of Items) - - KConfigSkeletonItem::List list; - - Py_BEGIN_ALLOW_THREADS - list = sipCpp->items (); - Py_END_ALLOW_THREADS - - int n = list.count (); - if (n > 0) - for (int i = 0; i < n; i++) - PyList_Append (sipRes, sipConvertFromInstance (&(list [i]), sipClass_KConfigSkeletonItem, NULL)); -%End - - bool isImmutable (const QString&); - KConfigSkeletonItem* findItem (const QString&); - bool useDefaults (bool); - -protected: - virtual void usrUseDefaults (bool); - virtual void usrSetDefaults (); - virtual void usrReadConfig (); - virtual void usrWriteConfig (); - -public: -//force - - class ItemString : KConfigSkeletonItem - { - - public: - - enum Type - { - Normal, - Password, - Path - }; - - ItemString (const QString&, const QString&, QString&, const QString& = QString ::fromLatin1 ("" ), KConfigSkeleton::ItemString::Type = KConfigSkeleton ::ItemString ::Normal ); - void setValue (const QString&); - QString& value (); - virtual void setDefaultValue (const QString&); - virtual void setDefault (); - void swapDefault (); - void writeConfig (KConfig*); - void readConfig (KConfig*); - void setProperty (const QVariant&); - QVariant property () const; - - }; // class ItemString - - -public: -//end - -public: -//force - - class ItemProperty : KConfigSkeletonItem - { - - public: - ItemProperty (const QString&, const QString&, QVariant, QVariant = 0) [(const QString&, const QString&, QVariant&, QVariant = 0)]; -%MethodCode -//takes group | (QString) | key | (QString) | reference | (QVariant) | defaultValue | (QVariant = 0) - Py_BEGIN_ALLOW_THREADS - sipCpp = (sipKConfigSkeleton_ItemProperty *) new KConfigSkeleton::ItemProperty (*a0, *a1, *a2, *a3); - Py_END_ALLOW_THREADS -%End - - void setValue (const QVariant&); - QVariant& value (); - virtual void setDefaultValue (const QVariant&); - virtual void setDefault (); - void swapDefault (); - void writeConfig (KConfig*); - void readConfig (KConfig*); - void setProperty (const QVariant&); - QVariant property () const; - - }; // class ItemProperty - - -public: -//end - -public: -//force - - class ItemBool : KConfigSkeletonItem - { - - public: - ItemBool (const QString&, const QString&, bool, bool = 1) [(const QString&, const QString&, bool&, bool = 1)]; -%MethodCode -//takes group | (QString) | key | (QString) | reference | (bool) | defaultValue | (bool = 1) - - class PyItemBool : public KConfigSkeleton::ItemBool - { - public: - PyItemBool(const QString &group, const QString &key, bool val, bool defaultValue = false) : - KConfigSkeleton::ItemBool(group, key, this->value, defaultValue) - { - value = val; - }; - - private: - bool value; - }; - - Py_BEGIN_ALLOW_THREADS - sipCpp = (sipKConfigSkeleton_ItemBool *) new PyItemBool (*a0, *a1, a2); - Py_END_ALLOW_THREADS -%End - - void setValue (const bool&); - bool value (); - virtual void setDefaultValue (const bool&); - virtual void setDefault (); - void swapDefault (); - void writeConfig (KConfig*); - void readConfig (KConfig*); - void setProperty (const QVariant&); - QVariant property () const; - - }; // class ItemBool - - -public: -//end - -public: -//force - - class ItemInt : KConfigSkeletonItem - { - - public: - ItemInt (const QString&, const QString&, int, int = 1) [(const QString&, const QString&, int&, int = 1)]; -%MethodCode -//takes group | (QString) | key | (QString) | reference | (int) | defaultValue | (int = 1) - - class PyItemInt : public KConfigSkeleton::ItemInt - { - public: - PyItemInt(const QString &group, const QString &key, int val, int defaultValue = 0) : - KConfigSkeleton::ItemInt(group, key, this->value, defaultValue) - { - value = val; - }; - - private: - int value; - }; - - Py_BEGIN_ALLOW_THREADS - sipCpp = (sipKConfigSkeleton_ItemInt *) new PyItemInt (*a0, *a1, a2); - Py_END_ALLOW_THREADS -%End - - void setValue (const int&); - int value (); - virtual void setDefaultValue (const int&); - virtual void setDefault (); - void swapDefault (); - void writeConfig (KConfig*); - void readConfig (KConfig*); - void setProperty (const QVariant&); - QVariant property () const; - QVariant minValue () const; - QVariant maxValue () const; - void setMinValue (int); - void setMaxValue (int); - - }; // class ItemInt - - -public: -//end - -public: -//force - - class ItemInt64 : KConfigSkeletonItem - { - - public: - ItemInt64 (const QString&, const QString&, longlong&, longlong = 0); -%MethodCode -//takes group | (QString) | key | (QString) | reference | (longlong) | defaultValue | (longlong = 0) - - class PyItemInt64 : public KConfigSkeleton::ItemInt64 - { - public: - PyItemInt64(const QString &group, const QString &key, Q_INT64 val, Q_INT64 defaultValue=0) : - KConfigSkeleton::ItemInt64(group, key, this->value, defaultValue) - { - value = val; - }; - - private: - Q_INT64 value; - }; - - Py_BEGIN_ALLOW_THREADS - sipCpp = (sipKConfigSkeleton_ItemInt64 *) new PyItemInt64 (*a0, *a1, *a2, *a3); - Py_END_ALLOW_THREADS -%End - - void setValue (const longlong&); - longlong& value (); - virtual void setDefaultValue (const longlong&); - virtual void setDefault (); - void swapDefault (); - void writeConfig (KConfig*); - void readConfig (KConfig*); - void setProperty (const QVariant&); - QVariant property () const; - QVariant minValue () const; - QVariant maxValue () const; - void setMinValue (longlong); - void setMaxValue (longlong); - - }; // class ItemInt64 - - -public: -//end - -public: -//force - - class ItemUInt : KConfigSkeletonItem - { - - public: - ItemUInt (const QString&, const QString&, uint, uint = 0) [(const QString&, const QString&, uint&, uint = 0)]; -%MethodCode -//takes group | (QString) | key | (QString) | reference | (uint) | defaultValue | (uint = 1) - - class PyItemUInt : public KConfigSkeleton::ItemUInt - { - public: - PyItemUInt(const QString &group, const QString &key, uint val, uint defaultValue = 0) : - KConfigSkeleton::ItemUInt(group, key, this->value, defaultValue) - { - value = val; - }; - - private: - uint value; - }; - - Py_BEGIN_ALLOW_THREADS - sipCpp = (sipKConfigSkeleton_ItemUInt *) new PyItemUInt (*a0, *a1, a2); - Py_END_ALLOW_THREADS -%End - - void setValue (const uint&); - uint value (); - virtual void setDefaultValue (const uint&); - virtual void setDefault (); - void swapDefault (); - void writeConfig (KConfig*); - void readConfig (KConfig*); - void setProperty (const QVariant&); - QVariant property () const; - QVariant minValue () const; - QVariant maxValue () const; - void setMinValue (uint); - void setMaxValue (uint); - - }; // class ItemUInt - - -public: - -public: - - class ItemLong : KConfigSkeletonItem - { - - public: - ItemLong (const QString&, const QString&, long&, long = 0) [(const QString&, const QString&, long&, long = 0)]; -%MethodCode -//takes group | (QString) | key | (QString) | reference | (long) | defaultValue | (long = 1) - - class PyItemLong : public KConfigSkeleton::ItemLong - { - public: - PyItemLong(const QString &group, const QString &key, long val, long defaultValue = 0) : - KConfigSkeleton::ItemLong(group, key, this->value, defaultValue) - { - value = val; - }; - - private: - long value; - }; - - Py_BEGIN_ALLOW_THREADS - sipCpp = (sipKConfigSkeleton_ItemLong *) new PyItemLong (*a0, *a1, a2); - Py_END_ALLOW_THREADS -%End - - void setValue (const long&); - long value (); - virtual void setDefaultValue (const long&); - virtual void setDefault (); - void swapDefault (); - void writeConfig (KConfig*); - void readConfig (KConfig*); - void setProperty (const QVariant&); - QVariant property () const; - QVariant minValue () const; - QVariant maxValue () const; - void setMinValue (long); - void setMaxValue (long); - - }; // class ItemLong - - -public: -//end - -public: -//force - - class ItemULong : KConfigSkeletonItem - { - - public: - ItemULong (const QString&, const QString&, ulong, ulong = 0) [(const QString&, const QString&, ulong&, ulong = 0)]; -%MethodCode -//takes group | (QString) | key | (QString) | reference | (ulong) | defaultValue | (ulong = 1) - - class PyItemULong : public KConfigSkeleton::ItemULong - { - public: - PyItemULong(const QString &group, const QString &key, ulong val, ulong defaultValue = 0) : - KConfigSkeleton::ItemULong(group, key, this->value, defaultValue) - { - value = val; - }; - - private: - ulong value; - }; - - Py_BEGIN_ALLOW_THREADS - sipCpp = (sipKConfigSkeleton_ItemULong *) new PyItemULong (*a0, *a1, a2); - Py_END_ALLOW_THREADS -%End - - void setValue (const ulong&); - ulong value (); - virtual void setDefaultValue (const ulong&); - virtual void setDefault (); - void swapDefault (); - void writeConfig (KConfig*); - void readConfig (KConfig*); - void setProperty (const QVariant&); - QVariant property () const; - QVariant minValue () const; - QVariant maxValue () const; - void setMinValue (ulong); - void setMaxValue (ulong); - - }; // class ItemULong - - -public: -//end - -public: -//force - - class ItemUInt64 : KConfigSkeletonItem - { - - public: - ItemUInt64 (const QString&, const QString&, ulonglong&, ulonglong = 0); -%MethodCode -//takes group | (QString) | key | (QString) | reference | (ulonglong) | defaultValue | (ulonglong = 0) - - class PyItemUInt64 : public KConfigSkeleton::ItemUInt64 - { - public: - PyItemUInt64(const QString &group, const QString &key, Q_UINT64 val, Q_UINT64 defaultValue = 0) : - KConfigSkeleton::ItemUInt64(group, key, this->value, defaultValue) - { - value = val; - }; - - private: - Q_UINT64 value; - }; - - Py_BEGIN_ALLOW_THREADS - sipCpp = (sipKConfigSkeleton_ItemUInt64 *) new PyItemUInt64 (*a0, *a1, *a2, *a3); - Py_END_ALLOW_THREADS -%End - - void setValue (const ulonglong&); - ulonglong value (); - virtual void setDefaultValue (const ulonglong&); - virtual void setDefault (); - void swapDefault (); - void writeConfig (KConfig*); - void readConfig (KConfig*); - void setProperty (const QVariant&); - QVariant property () const; - QVariant minValue () const; - QVariant maxValue () const; - void setMinValue (ulonglong); - void setMaxValue (ulonglong); - - }; // class ItemUInt64 - - -public: -//end - -public: -//force - - class ItemDouble : KConfigSkeletonItem - { - - public: - ItemDouble (const QString&, const QString&, double, double = 0) [(const QString&, const QString&, double&, double = 0)]; -%MethodCode -//takes group | (QString) | key | (QString) | reference | (double) | defaultValue | (double = 0) - class PyItemDouble : public KConfigSkeleton::ItemDouble - { - public: - PyItemDouble(const QString &group, const QString &key, double val, double defaultValue=0.0) : - KConfigSkeleton::ItemDouble(group, key, this->value, defaultValue) - { - value = val; - }; - - private: - double value; - }; - - Py_BEGIN_ALLOW_THREADS - sipCpp = (sipKConfigSkeleton_ItemDouble *) new PyItemDouble (*a0, *a1, a2, a3); - Py_END_ALLOW_THREADS -%End - - void setValue (const double&); - double value (); - virtual void setDefaultValue (const double&); - virtual void setDefault (); - void swapDefault (); - void writeConfig (KConfig*); - void readConfig (KConfig*); - void setProperty (const QVariant&); - QVariant property () const; - QVariant minValue () const; - QVariant maxValue () const; - void setMinValue (double); - void setMaxValue (double); - - }; // class ItemDouble - - -public: -//end - -public: -//force - - class ItemColor : KConfigSkeletonItem - { - - public: - ItemColor (const QString&, const QString&, QColor&, const QColor& = QColor (128 ,128 ,128 )); - void setValue (const QColor&); - QColor& value (); - virtual void setDefaultValue (const QColor&); - virtual void setDefault (); - void swapDefault (); - void writeConfig (KConfig*); - void readConfig (KConfig*); - void setProperty (const QVariant&); - QVariant property () const; - - }; // class ItemColor - - -public: -//end - -public: -//force - - class ItemFont : KConfigSkeletonItem - { - - public: - ItemFont (const QString&, const QString&, QFont&, const QFont& = KGlobalSettings ::generalFont ()); - void setValue (const QFont&); - QFont& value (); - virtual void setDefaultValue (const QFont&); - virtual void setDefault (); - void swapDefault (); - void writeConfig (KConfig*); - void readConfig (KConfig*); - void setProperty (const QVariant&); - QVariant property () const; - - }; // class ItemFont - - -public: -//end - -public: -//force - - class ItemRect : KConfigSkeletonItem - { - - public: - ItemRect (const QString&, const QString&, QRect&, const QRect& = QRect ()); - void setValue (const QRect&); - QRect& value (); - virtual void setDefaultValue (const QRect&); - virtual void setDefault (); - void swapDefault (); - void writeConfig (KConfig*); - void readConfig (KConfig*); - void setProperty (const QVariant&); - QVariant property () const; - - }; // class ItemRect - - -public: -//end - -public: -//force - - class ItemPoint : KConfigSkeletonItem - { - - public: - ItemPoint (const QString&, const QString&, QPoint&, const QPoint& = QPoint ()); - void setValue (const QPoint&); - QPoint& value (); - virtual void setDefaultValue (const QPoint&); - virtual void setDefault (); - void swapDefault (); - void writeConfig (KConfig*); - void readConfig (KConfig*); - void setProperty (const QVariant&); - QVariant property () const; - - }; // class ItemPoint - - -public: -//end - -public: -//force - - class ItemSize : KConfigSkeletonItem - { - - public: - ItemSize (const QString&, const QString&, QSize&, const QSize& = QSize ()); - void setValue (const QSize&); - QSize& value (); - virtual void setDefaultValue (const QSize&); - virtual void setDefault (); - void swapDefault (); - void writeConfig (KConfig*); - void readConfig (KConfig*); - void setProperty (const QVariant&); - QVariant property () const; - - }; // class ItemSize - - -public: -//end - -public: -//force - - class ItemDateTime : KConfigSkeletonItem - { - - public: - ItemDateTime (const QString&, const QString&, QDateTime&, const QDateTime& = QDateTime ()); - void setValue (const QDateTime&); - QDateTime& value (); - virtual void setDefaultValue (const QDateTime&); - virtual void setDefault (); - void swapDefault (); - void writeConfig (KConfig*); - void readConfig (KConfig*); - void setProperty (const QVariant&); - QVariant property () const; - - }; // class ItemDateTime - - -public: -//end - -public: -//force - - class ItemStringList : KConfigSkeletonItem - { - - public: - ItemStringList (const QString&, const QString&, QStringList&, const QStringList& = QStringList ()); - void setValue (const QStringList&); - QStringList& value (); - virtual void setDefaultValue (const QStringList&); - virtual void setDefault (); - void swapDefault (); - void writeConfig (KConfig*); - void readConfig (KConfig*); - void setProperty (const QVariant&); - QVariant property () const; - - }; // class ItemStringList - - -public: -//end - -public: -//force - - class ItemIntList : KConfigSkeletonItem - { - - public: - ItemIntList (const QString&, const QString&, QValueList&, const QValueList& = IntList ()); -%MethodCode -//takes group | (QString) | key | (QString) | reference | (a Python list of int) | defaultValue | (a Python list of int = 0) - if (a3 == NULL) *(QValueList *)a3 = QValueList(); - Py_BEGIN_ALLOW_THREADS - sipCpp = (sipKConfigSkeleton_ItemIntList *) new KConfigSkeleton::ItemIntList (*a0, *a1, *a2, *a3); - Py_END_ALLOW_THREADS -%End - - void setValue (const QValueList&); - QValueList& value (); - virtual void setDefaultValue (const QValueList&); - virtual void setDefault (); - void swapDefault (); - void writeConfig (KConfig*); - void readConfig (KConfig*); - void setProperty (const QVariant&); - QVariant property () const; - - }; // class ItemIntList - - -public: -//end - -}; // class KConfigSkeleton - -%End - - - -%If (KDE_3_2_0 - ) -%MappedType QValueList -{ -%TypeHeaderCode -#include -#include -%End - -%ConvertFromTypeCode - if (!sipCpp) - return PyList_New(0); - - // Create the list - PyObject *pylist; - if ((pylist = PyList_New(0)) == NULL) - return NULL; - - QValueList *cpplist = (QValueList *)sipCpp; - PyObject *inst; - - // Get it. - QValueList::Iterator it; - for( it = cpplist->begin(); it != cpplist->end(); ++it ) - { - if (((inst = sipBuildResult (NULL, "N", new KConfigSkeleton::ItemEnum::Choice (*it), sipClass_KConfigSkeleton_ItemEnum_Choice)) == NULL) - || PyList_Append (pylist, inst) < 0) - { - Py_DECREF (pylist); - return NULL; - } - } - - return pylist; -%End - - -%ConvertToTypeCode - if (sipIsErr == NULL) - return PyList_Check(sipPy); - - QValueList *cpplist = new QValueList; - - PyObject *elem; - KConfigSkeleton::ItemEnum::Choice *cpp; - int iserr = 0; - - for (int i = 0; i < PyList_Size (sipPy); i++) - { - elem = PyList_GET_ITEM (sipPy, i); - cpp = (KConfigSkeleton::ItemEnum::Choice *)sipForceConvertTo_KConfigSkeleton_ItemEnum_Choice (elem, &iserr); - - if (iserr) - { - *sipIsErr = 1; - delete cpplist; - return 0; - } - - cpplist->append (*cpp); - } - - *sipCppPtr = cpplist; - - return 1; -%End -}; -%End - - diff --git a/python/pykde/sip/kdecore/kcrash.sip b/python/pykde/sip/kdecore/kcrash.sip deleted file mode 100644 index cd8d672c..00000000 --- a/python/pykde/sip/kdecore/kcrash.sip +++ /dev/null @@ -1,51 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdecore version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KCrash -{ -%TypeHeaderCode -#include -%End - - -public: - static void defaultCrashHandler (int); -//ig static void setCrashHandler (HandlerType = defaultCrashHandler ); -//ig static HandlerType crashHandler (); -//ig static void setEmergencySaveFunction (HandlerType = 0 ); -//ig static HandlerType emergencySaveFunction (); - -%If ( KDE_3_2_0 - ) - static void setSafer (bool); -%End - - static void setApplicationPath (QString); - static void setApplicationName (QString); - -protected: - -}; // class KCrash - diff --git a/python/pykde/sip/kdecore/kdcoppropertyproxy.sip b/python/pykde/sip/kdecore/kdcoppropertyproxy.sip deleted file mode 100644 index 081d031d..00000000 --- a/python/pykde/sip/kdecore/kdcoppropertyproxy.sip +++ /dev/null @@ -1,44 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdecore version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KDCOPPropertyProxy -{ -%TypeHeaderCode -#include -%End - - -public: - KDCOPPropertyProxy (QObject*); - bool isPropertyRequest (const QCString&); - bool processPropertyRequest (const QCString&, const QByteArray&, QCString&, QByteArray&); - QValueList functions (); - static QValueList functions (QObject*); - static bool isPropertyRequest (const QCString&, QObject*); - static bool processPropertyRequest (const QCString&, const QByteArray&, QCString&, QByteArray&, QObject*); - -}; // class KDCOPPropertyProxy - diff --git a/python/pykde/sip/kdecore/kdebug.sip b/python/pykde/sip/kdecore/kdebug.sip deleted file mode 100644 index 6df8bb90..00000000 --- a/python/pykde/sip/kdecore/kdebug.sip +++ /dev/null @@ -1,67 +0,0 @@ -// -// Copyright 2003 Jim Bublitz -// Earlier copyrights 1998 - 2002 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdecore version KDE_3_1_1 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class kdbgstream -{ -%TypeHeaderCode -#include -%End - - -public: - kdbgstream (uint, uint, bool = 1); - kdbgstream (const char*, uint, uint, bool = 1); - void flush (); -//ig kdbgstream& form (const char*, ...); - -}; // class kdbgstream - - -class kndbgstream -{ -%TypeHeaderCode -#include -%End - - -public: - kndbgstream (); - void flush (); -//ig kndbgstream& form (const char*, ...); - -}; // class kndbgstream - -//ig void kDebugFatal (const char*, ...); -//ig void kDebugFatal (ushort, const char*, ...); -kdbgstream& perror (kdbgstream&); -kdbgstream kdDebug (int = 0); -kdbgstream kdDebug (bool, int = 0); -kdbgstream kdWarning (int = 0); -kdbgstream kdWarning (bool, int = 0); -kdbgstream kdError (int = 0); -kdbgstream kdError (bool, int = 0); -kdbgstream kdFatal (int = 0); -kdbgstream kdFatal (bool, int = 0); diff --git a/python/pykde/sip/kdecore/kdecore-kde310.diff b/python/pykde/sip/kdecore/kdecore-kde310.diff deleted file mode 100644 index d87c911c..00000000 --- a/python/pykde/sip/kdecore/kdecore-kde310.diff +++ /dev/null @@ -1 +0,0 @@ -+ %Include kclipboard.sip diff --git a/python/pykde/sip/kdecore/kdecore-kde311.diff b/python/pykde/sip/kdecore/kdecore-kde311.diff deleted file mode 100644 index d87c911c..00000000 --- a/python/pykde/sip/kdecore/kdecore-kde311.diff +++ /dev/null @@ -1 +0,0 @@ -+ %Include kclipboard.sip diff --git a/python/pykde/sip/kdecore/kdecore-kde312.diff b/python/pykde/sip/kdecore/kdecore-kde312.diff deleted file mode 100644 index d87c911c..00000000 --- a/python/pykde/sip/kdecore/kdecore-kde312.diff +++ /dev/null @@ -1 +0,0 @@ -+ %Include kclipboard.sip diff --git a/python/pykde/sip/kdecore/kdecore-kde313.diff b/python/pykde/sip/kdecore/kdecore-kde313.diff deleted file mode 100644 index d87c911c..00000000 --- a/python/pykde/sip/kdecore/kdecore-kde313.diff +++ /dev/null @@ -1 +0,0 @@ -+ %Include kclipboard.sip diff --git a/python/pykde/sip/kdecore/kdecore-kde314.diff b/python/pykde/sip/kdecore/kdecore-kde314.diff deleted file mode 100644 index 13e77190..00000000 --- a/python/pykde/sip/kdecore/kdecore-kde314.diff +++ /dev/null @@ -1,3 +0,0 @@ -+ %Include kclipboard.sip -+ %Include kdeversion.sip -+ %Include kurldrag.sip diff --git a/python/pykde/sip/kdecore/kdecore-kde315.diff b/python/pykde/sip/kdecore/kdecore-kde315.diff deleted file mode 100644 index 13e77190..00000000 --- a/python/pykde/sip/kdecore/kdecore-kde315.diff +++ /dev/null @@ -1,3 +0,0 @@ -+ %Include kclipboard.sip -+ %Include kdeversion.sip -+ %Include kurldrag.sip diff --git a/python/pykde/sip/kdecore/kdecore-kde320.diff b/python/pykde/sip/kdecore/kdecore-kde320.diff deleted file mode 100644 index 8476e6c5..00000000 --- a/python/pykde/sip/kdecore/kdecore-kde320.diff +++ /dev/null @@ -1,16 +0,0 @@ -+ %Include kcalendarsystem.sip -+ %Include kcalendarsystemfactory.sip -+ %Include kclipboard.sip -+ %Include kconfigdialogmanager.sip -+ %Include kconfigskeleton.sip -+ %Include kdeversion.sip -+ %Include kidna.sip -+ %Include kmacroexpander.sip -+ %Include kmountpoint.sip -+ %Include kpty.sip -+ %Include kshell.sip -+ %Include kurldrag.sip -+ %Include kuser.sip - - - diff --git a/python/pykde/sip/kdecore/kdecore-kde321.diff b/python/pykde/sip/kdecore/kdecore-kde321.diff deleted file mode 100644 index 5dc526db..00000000 --- a/python/pykde/sip/kdecore/kdecore-kde321.diff +++ /dev/null @@ -1,12 +0,0 @@ -+ %Include kcalendarsystem.sip -+ %Include kcalendarsystemfactory.sip -+ %Include kclipboard.sip -+ %Include kconfigdialogmanager.sip -+ %Include kconfigskeleton.sip -+ %Include kdeversion.sip -+ %Include kidna.sip -+ %Include kmacroexpander.sip -+ %Include kmountpoint.sip -+ %Include kpty.sip -+ %Include kshell.sip -+ %Include kurldrag.sip diff --git a/python/pykde/sip/kdecore/kdecore-kde322.diff b/python/pykde/sip/kdecore/kdecore-kde322.diff deleted file mode 100644 index e0d64ad2..00000000 --- a/python/pykde/sip/kdecore/kdecore-kde322.diff +++ /dev/null @@ -1,13 +0,0 @@ -+ %Include fixx11h.sip -+ %Include kcalendarsystem.sip -+ %Include kcalendarsystemfactory.sip -+ %Include kclipboard.sip -+ %Include kconfigdialogmanager.sip -+ %Include kconfigskeleton.sip -+ %Include kdeversion.sip -+ %Include kidna.sip -+ %Include kmacroexpander.sip -+ %Include kmountpoint.sip -+ %Include kpty.sip -+ %Include kshell.sip -+ %Include kurldrag.sip diff --git a/python/pykde/sip/kdecore/kdecore-kde323.diff b/python/pykde/sip/kdecore/kdecore-kde323.diff deleted file mode 100644 index e0d64ad2..00000000 --- a/python/pykde/sip/kdecore/kdecore-kde323.diff +++ /dev/null @@ -1,13 +0,0 @@ -+ %Include fixx11h.sip -+ %Include kcalendarsystem.sip -+ %Include kcalendarsystemfactory.sip -+ %Include kclipboard.sip -+ %Include kconfigdialogmanager.sip -+ %Include kconfigskeleton.sip -+ %Include kdeversion.sip -+ %Include kidna.sip -+ %Include kmacroexpander.sip -+ %Include kmountpoint.sip -+ %Include kpty.sip -+ %Include kshell.sip -+ %Include kurldrag.sip diff --git a/python/pykde/sip/kdecore/kdecore-kde330.diff b/python/pykde/sip/kdecore/kdecore-kde330.diff deleted file mode 100644 index d202574f..00000000 --- a/python/pykde/sip/kdecore/kdecore-kde330.diff +++ /dev/null @@ -1,15 +0,0 @@ -+ %Include fixx11h.sip -+ %Include kcalendarsystem.sip -+ %Include kcalendarsystemfactory.sip -+ %Include kclipboard.sip -+ %Include kconfigdialogmanager.sip -+ %Include kconfigskeleton.sip -+ %Include kdeversion.sip -+ %Include kidna.sip -+ %Include klockfile.sip -+ %Include kmacroexpander.sip -+ %Include kmanagerselection.sip -+ %Include kmountpoint.sip -+ %Include kpty.sip -+ %Include kshell.sip -+ %Include kurldrag.sip diff --git a/python/pykde/sip/kdecore/kdecore-kde331.diff b/python/pykde/sip/kdecore/kdecore-kde331.diff deleted file mode 100644 index d202574f..00000000 --- a/python/pykde/sip/kdecore/kdecore-kde331.diff +++ /dev/null @@ -1,15 +0,0 @@ -+ %Include fixx11h.sip -+ %Include kcalendarsystem.sip -+ %Include kcalendarsystemfactory.sip -+ %Include kclipboard.sip -+ %Include kconfigdialogmanager.sip -+ %Include kconfigskeleton.sip -+ %Include kdeversion.sip -+ %Include kidna.sip -+ %Include klockfile.sip -+ %Include kmacroexpander.sip -+ %Include kmanagerselection.sip -+ %Include kmountpoint.sip -+ %Include kpty.sip -+ %Include kshell.sip -+ %Include kurldrag.sip diff --git a/python/pykde/sip/kdecore/kdecore-kde332.diff b/python/pykde/sip/kdecore/kdecore-kde332.diff deleted file mode 100644 index d202574f..00000000 --- a/python/pykde/sip/kdecore/kdecore-kde332.diff +++ /dev/null @@ -1,15 +0,0 @@ -+ %Include fixx11h.sip -+ %Include kcalendarsystem.sip -+ %Include kcalendarsystemfactory.sip -+ %Include kclipboard.sip -+ %Include kconfigdialogmanager.sip -+ %Include kconfigskeleton.sip -+ %Include kdeversion.sip -+ %Include kidna.sip -+ %Include klockfile.sip -+ %Include kmacroexpander.sip -+ %Include kmanagerselection.sip -+ %Include kmountpoint.sip -+ %Include kpty.sip -+ %Include kshell.sip -+ %Include kurldrag.sip diff --git a/python/pykde/sip/kdecore/kdecore-kde340.diff b/python/pykde/sip/kdecore/kdecore-kde340.diff deleted file mode 100644 index d202574f..00000000 --- a/python/pykde/sip/kdecore/kdecore-kde340.diff +++ /dev/null @@ -1,15 +0,0 @@ -+ %Include fixx11h.sip -+ %Include kcalendarsystem.sip -+ %Include kcalendarsystemfactory.sip -+ %Include kclipboard.sip -+ %Include kconfigdialogmanager.sip -+ %Include kconfigskeleton.sip -+ %Include kdeversion.sip -+ %Include kidna.sip -+ %Include klockfile.sip -+ %Include kmacroexpander.sip -+ %Include kmanagerselection.sip -+ %Include kmountpoint.sip -+ %Include kpty.sip -+ %Include kshell.sip -+ %Include kurldrag.sip diff --git a/python/pykde/sip/kdecore/kdecore-kde341.diff b/python/pykde/sip/kdecore/kdecore-kde341.diff deleted file mode 100644 index d202574f..00000000 --- a/python/pykde/sip/kdecore/kdecore-kde341.diff +++ /dev/null @@ -1,15 +0,0 @@ -+ %Include fixx11h.sip -+ %Include kcalendarsystem.sip -+ %Include kcalendarsystemfactory.sip -+ %Include kclipboard.sip -+ %Include kconfigdialogmanager.sip -+ %Include kconfigskeleton.sip -+ %Include kdeversion.sip -+ %Include kidna.sip -+ %Include klockfile.sip -+ %Include kmacroexpander.sip -+ %Include kmanagerselection.sip -+ %Include kmountpoint.sip -+ %Include kpty.sip -+ %Include kshell.sip -+ %Include kurldrag.sip diff --git a/python/pykde/sip/kdecore/kdecore-kde342.diff b/python/pykde/sip/kdecore/kdecore-kde342.diff deleted file mode 100644 index d202574f..00000000 --- a/python/pykde/sip/kdecore/kdecore-kde342.diff +++ /dev/null @@ -1,15 +0,0 @@ -+ %Include fixx11h.sip -+ %Include kcalendarsystem.sip -+ %Include kcalendarsystemfactory.sip -+ %Include kclipboard.sip -+ %Include kconfigdialogmanager.sip -+ %Include kconfigskeleton.sip -+ %Include kdeversion.sip -+ %Include kidna.sip -+ %Include klockfile.sip -+ %Include kmacroexpander.sip -+ %Include kmanagerselection.sip -+ %Include kmountpoint.sip -+ %Include kpty.sip -+ %Include kshell.sip -+ %Include kurldrag.sip diff --git a/python/pykde/sip/kdecore/kdecore-kde343.diff b/python/pykde/sip/kdecore/kdecore-kde343.diff deleted file mode 100644 index d202574f..00000000 --- a/python/pykde/sip/kdecore/kdecore-kde343.diff +++ /dev/null @@ -1,15 +0,0 @@ -+ %Include fixx11h.sip -+ %Include kcalendarsystem.sip -+ %Include kcalendarsystemfactory.sip -+ %Include kclipboard.sip -+ %Include kconfigdialogmanager.sip -+ %Include kconfigskeleton.sip -+ %Include kdeversion.sip -+ %Include kidna.sip -+ %Include klockfile.sip -+ %Include kmacroexpander.sip -+ %Include kmanagerselection.sip -+ %Include kmountpoint.sip -+ %Include kpty.sip -+ %Include kshell.sip -+ %Include kurldrag.sip diff --git a/python/pykde/sip/kdecore/kdecore-kde350.diff b/python/pykde/sip/kdecore/kdecore-kde350.diff deleted file mode 100644 index b8dba4ca..00000000 --- a/python/pykde/sip/kdecore/kdecore-kde350.diff +++ /dev/null @@ -1,16 +0,0 @@ -+ %Include fixx11h.sip -+ %Include kcalendarsystem.sip -+ %Include kcalendarsystemfactory.sip -+ %Include kclipboard.sip -+ %Include kconfigdialogmanager.sip -+ %Include kconfigskeleton.sip -+ %Include kdeversion.sip -+ %Include kidna.sip -+ %Include klockfile.sip -+ %Include kmacroexpander.sip -+ %Include kmanagerselection.sip -+ %Include kmountpoint.sip -+ %Include kpty.sip -+ %Include kshell.sip -+ %Include ktimezones.sip -+ %Include kurldrag.sip diff --git a/python/pykde/sip/kdecore/kdecore-kde351.diff b/python/pykde/sip/kdecore/kdecore-kde351.diff deleted file mode 100644 index b8dba4ca..00000000 --- a/python/pykde/sip/kdecore/kdecore-kde351.diff +++ /dev/null @@ -1,16 +0,0 @@ -+ %Include fixx11h.sip -+ %Include kcalendarsystem.sip -+ %Include kcalendarsystemfactory.sip -+ %Include kclipboard.sip -+ %Include kconfigdialogmanager.sip -+ %Include kconfigskeleton.sip -+ %Include kdeversion.sip -+ %Include kidna.sip -+ %Include klockfile.sip -+ %Include kmacroexpander.sip -+ %Include kmanagerselection.sip -+ %Include kmountpoint.sip -+ %Include kpty.sip -+ %Include kshell.sip -+ %Include ktimezones.sip -+ %Include kurldrag.sip diff --git a/python/pykde/sip/kdecore/kdecore-kde352.diff b/python/pykde/sip/kdecore/kdecore-kde352.diff deleted file mode 100644 index b8dba4ca..00000000 --- a/python/pykde/sip/kdecore/kdecore-kde352.diff +++ /dev/null @@ -1,16 +0,0 @@ -+ %Include fixx11h.sip -+ %Include kcalendarsystem.sip -+ %Include kcalendarsystemfactory.sip -+ %Include kclipboard.sip -+ %Include kconfigdialogmanager.sip -+ %Include kconfigskeleton.sip -+ %Include kdeversion.sip -+ %Include kidna.sip -+ %Include klockfile.sip -+ %Include kmacroexpander.sip -+ %Include kmanagerselection.sip -+ %Include kmountpoint.sip -+ %Include kpty.sip -+ %Include kshell.sip -+ %Include ktimezones.sip -+ %Include kurldrag.sip diff --git a/python/pykde/sip/kdecore/kdecore-kde353.diff b/python/pykde/sip/kdecore/kdecore-kde353.diff deleted file mode 100644 index b8dba4ca..00000000 --- a/python/pykde/sip/kdecore/kdecore-kde353.diff +++ /dev/null @@ -1,16 +0,0 @@ -+ %Include fixx11h.sip -+ %Include kcalendarsystem.sip -+ %Include kcalendarsystemfactory.sip -+ %Include kclipboard.sip -+ %Include kconfigdialogmanager.sip -+ %Include kconfigskeleton.sip -+ %Include kdeversion.sip -+ %Include kidna.sip -+ %Include klockfile.sip -+ %Include kmacroexpander.sip -+ %Include kmanagerselection.sip -+ %Include kmountpoint.sip -+ %Include kpty.sip -+ %Include kshell.sip -+ %Include ktimezones.sip -+ %Include kurldrag.sip diff --git a/python/pykde/sip/kdecore/kdecoremod.sip.in b/python/pykde/sip/kdecore/kdecoremod.sip.in deleted file mode 100644 index afe338fd..00000000 --- a/python/pykde/sip/kdecore/kdecoremod.sip.in +++ /dev/null @@ -1,99 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdecore version KDE_3_5_2 - -%Copying - - This software is free software; you can redistribute it and/or - modify it under the terms of the GNU General Public License as - published by the Free Software Foundation; either version 2 of - the License, or (at your option) any later version. - - This software is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public - License along with this library; see the file COPYING. - If not, write to the Free Software Foundation, Inc., - 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - -%End - -%Module kdecore - -%Import qt/qtmod.sip -%Import dcopmod.sip - -%Include bytearray.sip -%Include kaboutdata.sip -%Include kaccel.sip -%Include kaccelaction.sip -%Include kaccelbase.sip -%Include kallocator.sip -%Include kapplication.sip -%Include kasyncio.sip -%Include kaudioplayer.sip -%Include kbufferedio.sip -%Include kcatalogue.sip -%Include kcharsets.sip -%Include kcmdlineargs.sip -%Include kcompletion.sip -%Include kconfig.sip -%Include kconfigbackend.sip -%Include kconfigbase.sip -%Include kconfigdata.sip -%Include kcrash.sip -%Include kdcoppropertyproxy.sip -%Include kdesktopfile.sip -%Include kglobal.sip -%Include kglobalaccel.sip -%Include kglobalsettings.sip -%Include kiconeffect.sip -%Include kiconloader.sip -%Include kicontheme.sip -%Include kinstance.sip -%Include kipc.sip -%Include kkeynative.sip -%Include kkeyserver_x11.sip -%Include klibloader.sip -%Include klocale.sip -%Include kmdcodec.sip -%Include kmimesourcefactory.sip -%Include kmultipledrag.sip -%Include knotifyclient.sip -%Include kpalette.sip -%Include kpixmapprovider.sip -%Include kprocctrl.sip -%Include kprocess.sip -%Include kprocio.sip -%Include krandomsequence.sip -%Include kregexp.sip -%Include krfcdate.sip -%Include krootprop.sip -%Include ksavefile.sip -%Include ksharedptr.sip -%Include kshortcut.sip -%Include kshortcutlist.sip -%Include ksimpleconfig.sip -%Include ksock.sip -%Include kstartupinfo.sip -%Include kstaticdeleter.sip -%Include kstdaccel.sip -%Include kstddirs.sip -%Include kstringhandler.sip -%Include ktempdir.sip -%Include ktempfile.sip -%Include kuniqueapplication.sip -%Include kurl.sip -%Include kwin.sip -%Include kwinmodule.sip -%Include netwm.sip -%Include netwm_def.sip -@mark@ diff --git a/python/pykde/sip/kdecore/kdesktopfile.sip b/python/pykde/sip/kdecore/kdesktopfile.sip deleted file mode 100644 index 07d18853..00000000 --- a/python/pykde/sip/kdecore/kdesktopfile.sip +++ /dev/null @@ -1,85 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdecore version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KDesktopFile : KConfig -{ -%TypeHeaderCode -#include -%End - - -public: - KDesktopFile (const QString&, bool = 0, const char* = "apps"); - static bool isDesktopFile (const QString&); - -%If ( KDE_3_1_0 - ) - static bool isAuthorizedDesktopFile (const QString&); - -%If ( KDE_3_2_0 - ) - static QString locateLocal (const QString&); -%End - -%End - - QString readType () const; - QString readIcon () const; - QString readName () const; - QString readComment () const; - QString readGenericName () const; - QString readPath () const; - QString readDevice () const; - QString readURL () const; - QStringList readActions () const; - void setActionGroup (const QString&); - bool hasActionGroup (const QString&) const; - bool hasLinkType () const; - bool hasApplicationType () const; - bool hasMimeTypeType () const; - bool hasDeviceType () const; - bool tryExec () const; - QString fileName () const; - QString resource () const; - -%If ( KDE_3_1_0 - ) - QString readDocPath () const; -%End - - QStringList sortOrder () const; - -%If ( KDE_3_2_0 - ) - KDesktopFile* copyTo (const QString&) const; -%End - - QString filename () const; - -private: - KDesktopFile (const KDesktopFile&); - -protected: -//igx virtual void virtual_hook (int, void*); - -}; // class KDesktopFile - diff --git a/python/pykde/sip/kdecore/kdesktopwidget.sip b/python/pykde/sip/kdecore/kdesktopwidget.sip deleted file mode 100644 index 06fff874..00000000 --- a/python/pykde/sip/kdecore/kdesktopwidget.sip +++ /dev/null @@ -1,45 +0,0 @@ -// -// Copyright 2003 Jim Bublitz -// Earlier copyrights 1998 - 2002 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdecore version KDE_3_1_1 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KDesktopWidget : QWidget -{ -%TypeHeaderCode -#include -%End - - -public: - KDesktopWidget (); - bool isVirtualDesktop () const; - int numScreens () const; - int primaryScreen () const; - int screenNumber (QWidget* = 0) const; - int screenNumber (const QPoint&) const; - QWidget* screen (int = -1); - const QRect& screenGeometry (int = -1) const; - -}; // class KDesktopWidget - diff --git a/python/pykde/sip/kdecore/kdestyle.sip b/python/pykde/sip/kdecore/kdestyle.sip deleted file mode 100644 index 9aa4a84b..00000000 --- a/python/pykde/sip/kdecore/kdestyle.sip +++ /dev/null @@ -1,108 +0,0 @@ -// -// Copyright 2003 Jim Bublitz -// Earlier copyrights 1998 - 2002 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdecore version KDE_3_1_1 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KDEAniMenu : QObject -{ -%TypeHeaderCode -#include -%End - - -public: - KDEAniMenu (QPopupMenu*); - -protected: - void scrollIn (); - -protected slots: - void slotDestroyFake (); - void slotFinished (); - -}; // class KDEAniMenu - - -class KDEStyle : KStyle -{ -%TypeHeaderCode -#include -%End - - -public: - KDEStyle (); - virtual void polish (QWidget*); - virtual void unPolish (QWidget*); - virtual void polish (QPalette&); - void drawButton (QPainter*, int, int, int, int, const QColorGroup&, bool = 0, const QBrush* = 0); - void drawButtonMask (QPainter*, int, int, int, int); - void drawComboButtonMask (QPainter*, int, int, int, int); - QRect buttonRect (int, int, int, int); - void drawBevelButton (QPainter*, int, int, int, int, const QColorGroup&, bool = 0, const QBrush* = 0); - void drawPushButton (QPushButton*, QPainter*); - virtual void drawPushButtonLabel (QPushButton*, QPainter*); - void drawScrollBarControls (QPainter*, const QScrollBar*, int, uint, uint); - QStyle::ScrollControl scrollBarPointOver (const QScrollBar*, int, const QPoint&); - void scrollBarMetrics (const QScrollBar*, int&/Out/, int&/Out/, int&/Out/, int&/Out/); - QSize indicatorSize () const; - void drawIndicator (QPainter*, int, int, int, int, const QColorGroup&, int, bool = 0, bool = 1); - void drawIndicatorMask (QPainter*, int, int, int, int, int); - QSize exclusiveIndicatorSize () const; - void drawExclusiveIndicator (QPainter*, int, int, int, int, const QColorGroup&, bool, bool = 0, bool = 1); - void drawExclusiveIndicatorMask (QPainter*, int, int, int, int, bool); - void drawComboButton (QPainter*, int, int, int, int, const QColorGroup&, bool = 0, bool = 0, bool = 1, const QBrush* = 0); - QRect comboButtonRect (int, int, int, int); - QRect comboButtonFocusRect (int, int, int, int); - int sliderLength () const; - void drawArrow (QPainter*, Qt::ArrowType, bool, int, int, int, int, const QColorGroup&, bool = 1, const QBrush* = 0); - void drawSlider (QPainter*, int, int, int, int, const QColorGroup&, Orientation, bool, bool); - void drawSliderMask (QPainter*, int, int, int, int, Orientation, bool, bool); - void drawKToolBar (QPainter*, int, int, int, int, const QColorGroup&, KToolBarPos, QBrush* = 0); - void drawKBarHandle (QPainter*, int, int, int, int, const QColorGroup&, KToolBarPos, QBrush* = 0); - void drawKMenuBar (QPainter*, int, int, int, int, const QColorGroup&, bool, QBrush* = 0); - void drawKToolBarButton (QPainter*, int, int, int, int, const QColorGroup&, bool = 0, bool = 1, bool = 1, bool = 0, KToolButtonType = Icon, const QString& = QString::null, const QPixmap* = 0, QFont* = 0, QWidget* = 0); -//ig void drawKMenuItem (QPainter*, int, int, int, int, const QColorGroup&, bool, QMenuItem*, QBrush* = 0); -//ig void drawPopupMenuItem (QPainter*, bool, int, int, QMenuItem*, const QPalette&, bool, bool, int, int, int, int); -//ig int popupMenuItemHeight (bool, QMenuItem*, const QFontMetrics&); - void drawKProgressBlock (QPainter*, int, int, int, int, const QColorGroup&, QBrush*); - void drawFocusRect (QPainter*, const QRect&, const QColorGroup&, const QColor*, bool); - int defaultFrameWidth () const; - void polishPopupMenu (QPopupMenu*); - void drawTab (QPainter*, const QTabBar*, QTab*, bool); - void drawTabMask (QPainter*, const QTabBar*, QTab*, bool); - void tabbarMetrics (const QTabBar*, int&/Out/, int&/Out/, int&/Out/); - void drawSplitter (QPainter*, int, int, int, int, const QColorGroup&, Orientation); - int splitterWidth () const; - void drawPanel (QPainter*, int, int, int, int, const QColorGroup&, bool, int, const QBrush*); - void drawKickerAppletHandle (QPainter*, int, int, int, int, const QColorGroup&, QBrush*); - bool eventFilter (QObject*, QEvent*); - -protected: - void drawSBDeco (QPainter*, const QRect&, const QColorGroup&, bool); - void drawSBButton (QPainter*, const QRect&, const QColorGroup&, bool = 0); - void kColorBitmaps (QPainter*, const QColorGroup&, int, int, QBitmap* = 0, QBitmap* = 0, QBitmap* = 0, QBitmap* = 0, QBitmap* = 0, QBitmap* = 0); - -}; // class KDEStyle - diff --git a/python/pykde/sip/kdecore/kdeversion.sip b/python/pykde/sip/kdecore/kdeversion.sip deleted file mode 100644 index 821c6b66..00000000 --- a/python/pykde/sip/kdecore/kdeversion.sip +++ /dev/null @@ -1,45 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdecore version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - -%ModuleHeaderCode -#include -%End - - -%If ( KDE_3_1_4 - ) -namespace KDE -{ - -%If ( KDE_3_2_0 - ) -uint version (); -%End - -uint versionMajor (); -uint versionMinor (); -uint versionRelease (); -const char* versionString (); -}; // namespace KDE - -%End diff --git a/python/pykde/sip/kdecore/kglobal.sip b/python/pykde/sip/kdecore/kglobal.sip deleted file mode 100644 index f964752c..00000000 --- a/python/pykde/sip/kdecore/kglobal.sip +++ /dev/null @@ -1,65 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdecore version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KGlobal -{ -%TypeHeaderCode -#include -%End - - -public: - static KInstance* instance (); - static KStandardDirs* dirs (); - static KConfig* config (); - -%If ( KDE_3_2_0 - ) - static KSharedConfig* sharedConfig (); -%End - - static KIconLoader* iconLoader (); - static KLocale* locale (); - static KCharsets* charsets (); - static const QString& staticQString (const char*); - static const QString& staticQString (const QString&); - static void registerStaticDeleter (KStaticDeleterBase*); - static void unregisterStaticDeleter (KStaticDeleterBase*); - static void deleteStaticDeleters (); -//ig KStringDict* _stringDict; -//ig KInstance* _instance; -//ig KLocale* _locale; -//ig KCharsets* _charsets; -//ig KStaticDeleterList* _staticDeleters; - static void setActiveInstance (KInstance*); - static KInstance* activeInstance (); -//ig KInstance* _activeInstance; - -}; // class KGlobal - - -%If ( KDE_3_4_0 - ) -int kasciistricmp (const char*, const char*); -%End diff --git a/python/pykde/sip/kdecore/kglobalaccel.sip b/python/pykde/sip/kdecore/kglobalaccel.sip deleted file mode 100644 index 81d2bf83..00000000 --- a/python/pykde/sip/kdecore/kglobalaccel.sip +++ /dev/null @@ -1,87 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdecore version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KGlobalAccel : QObject -{ -%TypeHeaderCode -#include -%End - - -public: - KGlobalAccel (QObject*, const char* = 0); - bool isEnabled () const; - void setEnabled (bool); - KAccelAction* insert (const QString&, const QString&, const QString&, const KShortcut&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), bool = 1, bool = 1); - -%If ( KDE_3_1_0 - ) - bool remove (const QString&); -%End - - KAccelAction* insert (const QString&, const QString&); - bool updateConnections (); - const KShortcut& shortcut (const QString&) const; - bool setShortcut (const QString&, const KShortcut&); - bool setSlot (const QString&, SIP_RXOBJ_CON, SIP_SLOT_CON ()); - -%If ( KDE_3_4_0 - ) - bool setActionEnabled (const QString&, bool); -%End - - -%If ( KDE_3_3_0 - ) - QString label (const QString&) const; -%End - - const QString& configGroup () const; - void setConfigGroup (const QString&); - bool readSettings (KConfigBase* = 0); - bool writeSettings (KConfigBase* = 0) const; - -%If ( KDE_3_1_0 - ) - bool writeSettings (KConfigBase*, bool) const; -%End - - static bool useFourModifierKeys (); - -%If ( KDE_3_5_0 - ) - static void blockShortcuts (bool); - void disableBlocking (bool); -%End - - -protected: -//igx virtual void virtual_hook (int, void*); - -public: - -%If ( - KDE_3_2_0 ) -//ig bool setEnabled (const QString&, bool); -%End - - -}; // class KGlobalAccel - diff --git a/python/pykde/sip/kdecore/kglobalsettings.sip b/python/pykde/sip/kdecore/kglobalsettings.sip deleted file mode 100644 index 46a2315c..00000000 --- a/python/pykde/sip/kdecore/kglobalsettings.sip +++ /dev/null @@ -1,157 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdecore version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KGlobalSettings -{ -%TypeHeaderCode -#include -%End - - -public: - static int dndEventDelay (); - static bool singleClick (); - -%If ( KDE_3_1_0 - ) - - enum TearOffHandle - { - Disable, - ApplicationLevel, - Enable - }; - - static KGlobalSettings::TearOffHandle insertTearOffHandle (); -%End - - static bool changeCursorOverIcon (); - static bool visualActivate (); - static uint visualActivateSpeed (); - static int autoSelectDelay (); - static int contextMenuKey (); - static bool showContextMenusOnPress (); - - enum Completion - { - CompletionNone, - CompletionAuto, - CompletionMan, - CompletionShell, - CompletionPopup, - CompletionPopupAuto - }; - - static Completion completionMode (); - - class KMouseSettings - { - - public: - - enum - { - RightHanded, - LeftHanded - }; - - int handed; - - }; // class KMouseSettings - - -public: - static KGlobalSettings::KMouseSettings& mouseSettings (); - static QString desktopPath (); - static QString autostartPath (); - static QString trashPath (); - static QString documentPath (); - static QColor toolBarHighlightColor (); - static QColor inactiveTitleColor (); - static QColor inactiveTextColor (); - static QColor activeTitleColor (); - static QColor activeTextColor (); - static int contrast (); - -%If ( KDE_3_4_0 - ) - static QColor buttonBackground (); - static QColor buttonTextColor (); -%End - - static QColor baseColor (); - static QColor textColor (); - static QColor linkColor (); - static QColor visitedLinkColor (); - static QColor highlightedTextColor (); - static QColor highlightColor (); - static QColor alternateBackgroundColor (); - static QColor calculateAlternateBackgroundColor (const QColor&); - -%If ( KDE_3_4_0 - ) - static bool shadeSortColumn (); -%End - - static QFont generalFont (); - static QFont fixedFont (); - static QFont toolBarFont (); - static QFont menuFont (); - static QFont windowTitleFont (); - static QFont taskbarFont (); - -%If ( KDE_3_1_0 - ) - static QFont largeFont (const QString& = QString ::null ); -%End - - static bool isMultiHead (); - -%If ( KDE_3_1_0 - ) - static bool wheelMouseZooms (); - -%If ( KDE_3_2_0 - ) - static QRect splashScreenDesktopGeometry (); - static QRect desktopGeometry (const QPoint&); - static QRect desktopGeometry (QWidget*); - static bool showIconsOnPushButtons (); - static bool showFilePreview (const KURL&); - static bool opaqueResize (); - -%If ( KDE_3_3_0 - ) - static int buttonLayout (); -%End - -%End - -%End - - -public: - -%If ( - KDE_3_1_0 ) - static bool insertTearOffHandle (); -%End - - -}; // class KGlobalSettings - diff --git a/python/pykde/sip/kdecore/kiconeffect.sip b/python/pykde/sip/kdecore/kiconeffect.sip deleted file mode 100644 index 03e1b376..00000000 --- a/python/pykde/sip/kdecore/kiconeffect.sip +++ /dev/null @@ -1,102 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdecore version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KIconEffect -{ -%TypeHeaderCode -#include -%End - - -public: - KIconEffect (); - -%If ( KDE_3_4_0 - ) - - enum Effects - { - NoEffect, - ToGray, - Colorize, - ToGamma, - DeSaturate, - ToMonochrome, - LastEffect - }; - -%End - - void init (); - bool hasEffect (int, int) const; - QString fingerprint (int, int); - QImage apply (QImage, int, int); - QImage apply (QImage, int, float, const QColor, bool); - -%If ( KDE_3_4_0 - ) - QImage apply (QImage, int, float, const QColor, const QColor, bool) const; -%End - - QPixmap apply (QPixmap, int, int); - QPixmap apply (QPixmap, int, float, const QColor, bool); - -%If ( KDE_3_4_0 - ) - QPixmap apply (QPixmap, int, float, const QColor, const QColor, bool) const; -%End - - QImage doublePixels (QImage); - static void visualActivate (QWidget*, QRect); - static void toGray (QImage&, float); - static void colorize (QImage&, const QColor&, float); - -%If ( KDE_3_4_0 - ) - static void toMonochrome (QImage&, const QColor&, const QColor&, float); -%End - - static void deSaturate (QImage&, float); - static void toGamma (QImage&, float); - static void semiTransparent (QImage&); - static void semiTransparent (QPixmap&); - static void overlay (QImage&, QImage&); - -public: - -%If ( - KDE_3_4_0 ) - - enum Effects - { - NoEffect, - ToGray, - Colorize, - ToGamma, - DeSaturate, - LastEffect - }; - -%End - - -}; // class KIconEffect - diff --git a/python/pykde/sip/kdecore/kiconloader.sip b/python/pykde/sip/kdecore/kiconloader.sip deleted file mode 100644 index fa74c74d..00000000 --- a/python/pykde/sip/kdecore/kiconloader.sip +++ /dev/null @@ -1,92 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdecore version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KIconLoader -{ -%TypeHeaderCode -#include -%End - - -public: - KIconLoader (const QString& = QString ::null , KStandardDirs* = 0); - void addAppDir (const QString&); - QPixmap loadIcon (const QString&, KIcon::Group, int = 0, int = KIcon ::DefaultState , QString* = 0, bool = 0) const; - -%If ( KDE_3_5_0 - ) - QIconSet loadIconSet (const QString&, KIcon::Group, int, bool, bool); -%End - - -%If ( KDE_3_1_0 - ) - QIconSet loadIconSet (const QString&, KIcon::Group, int, bool); -%End - - QIconSet loadIconSet (const QString&, KIcon::Group, int = 0); - QString iconPath (const QString&, int, bool = 0) const; - QMovie loadMovie (const QString&, KIcon::Group, int = 0) const; - QString moviePath (const QString&, KIcon::Group, int = 0) const; - QStringList loadAnimated (const QString&, KIcon::Group, int = 0) const; - QStringList queryIcons (int, KIcon::Context = KIcon ::Any ) const; - QStringList queryIconsByContext (int, KIcon::Context = KIcon ::Any ) const; - -%If ( KDE_3_1_0 - ) - QStringList queryIconsByDir (const QString&) const; -%End - - int currentSize (KIcon::Group) const; - KIconTheme* theme (); - KIconEffect* iconEffect (); - void reconfigure (const QString&, KStandardDirs*); - static QPixmap unknown (); - bool alphaBlending (KIcon::Group) const; - -%If ( KDE_3_1_0 - ) - void addExtraDesktopThemes (); - bool extraDesktopThemesAdded () const; - void enableDelayedIconSetLoading (bool); - bool isDelayedIconSetLoadingEnabled () const; -%End - - -}; // class KIconLoader - -QPixmap DesktopIcon (const QString&, int = 0, int = KIcon ::DefaultState , KInstance* = KGlobal ::instance ()); -QPixmap DesktopIcon (const QString&, KInstance*); -QIconSet DesktopIconSet (const QString&, int = 0, KInstance* = KGlobal ::instance ()); -QPixmap BarIcon (const QString&, int = 0, int = KIcon ::DefaultState , KInstance* = KGlobal ::instance ()); -QPixmap BarIcon (const QString&, KInstance*); -QIconSet BarIconSet (const QString&, int = 0, KInstance* = KGlobal ::instance ()); -QPixmap SmallIcon (const QString&, int = 0, int = KIcon ::DefaultState , KInstance* = KGlobal ::instance ()); -QPixmap SmallIcon (const QString&, KInstance*); -QIconSet SmallIconSet (const QString&, int = 0, KInstance* = KGlobal ::instance ()); -QPixmap MainBarIcon (const QString&, int = 0, int = KIcon ::DefaultState , KInstance* = KGlobal ::instance ()); -QPixmap MainBarIcon (const QString&, KInstance*); -QIconSet MainBarIconSet (const QString&, int = 0, KInstance* = KGlobal ::instance ()); -QPixmap UserIcon (const QString&, int = KIcon ::DefaultState , KInstance* = KGlobal ::instance ()); -QPixmap UserIcon (const QString&, KInstance*); -QIconSet UserIconSet (const QString&, KInstance* = KGlobal ::instance ()); -int IconSize (KIcon::Group, KInstance* = KGlobal ::instance ()); diff --git a/python/pykde/sip/kdecore/kicontheme.sip b/python/pykde/sip/kdecore/kicontheme.sip deleted file mode 100644 index 26a8f887..00000000 --- a/python/pykde/sip/kdecore/kicontheme.sip +++ /dev/null @@ -1,249 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdecore version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KIcon -{ -%TypeHeaderCode -#include -%End - - -public: - KIcon (); - bool isValid () const; - - enum Context - { - Any, - Action, - Application, - Device, - FileSystem, - MimeType - }; - - - enum Type - { - Fixed, - Scalable, - Threshold - }; - - - enum MatchType - { - MatchExact, - MatchBest - }; - - -%If ( KDE_3_2_0 - ) - - enum Group - { - NoGroup, - Desktop, - FirstGroup, - Toolbar, - MainToolbar, - Small, - Panel, - LastGroup, - User - }; - - -%If ( KDE_3_3_1 - ) - - enum StdSizes - { - SizeSmall, - SizeSmallMedium, - SizeMedium, - SizeLarge, - SizeHuge, - SizeEnormous - }; - -%End - -%End - - - enum States - { - DefaultState, - ActiveState, - DisabledState, - LastState - }; - - -%If ( KDE_3_1_0 - ) - - enum Overlays - { - LockOverlay, - ZipOverlay, - LinkOverlay, - HiddenOverlay, - ShareOverlay, - OverlayMask - }; - -%End - - int size; - Context context; - Type type; - int threshold; - QString path; - -public: - -%If ( KDE_3_3_0 - KDE_3_3_1 ) - - enum StdSizes - { - SizeSmall, - SizeSmallMedium, - SizeMedium, - SizeLarge, - SizeHuge - }; - -%End - - -public: - -%If ( KDE_3_2_0 - KDE_3_3_0 ) - - enum StdSizes - { - SizeSmall, - SizeMedium, - SizeLarge, - SizeHuge - }; - -%End - - -public: - -%If ( - KDE_3_2_0 ) - - enum Group - { - NoGroup, - Desktop, - FirstGroup, - Toolbar, - MainToolbar, - Small, - Panel, - LastGroup, - User - }; - - - enum StdSizes - { - SizeSmall, - SizeMedium, - SizeLarge - }; - -%End - - -public: - -%If ( - KDE_3_1_0 ) - - enum Overlays - { - LockOverlay, - ZipOverlay, - LinkOverlay, - HiddenOverlay, - OverlayMask - }; - -%End - - -}; // class KIcon - - -class KIconTheme -{ -%TypeHeaderCode -#include -%End - - -public: - KIconTheme (const QString&, const QString& = QString ::null ); - QString name () const; - QString description () const; - QString example () const; - QString screenshot () const; - QString linkOverlay () const; - QString zipOverlay () const; - QString lockOverlay () const; - -%If ( KDE_3_1_0 - ) - QString shareOverlay () const; -%End - - QString dir () const; - QStringList inherits () const; - bool isValid () const; - -%If ( KDE_3_1_0 - ) - bool isHidden () const; -%End - - int depth () const; - int defaultSize (KIcon::Group) const; - QValueList querySizes (KIcon::Group) const; - QStringList queryIcons (int, KIcon::Context = KIcon ::Any ) const; - QStringList queryIconsByContext (int, KIcon::Context = KIcon ::Any ) const; - KIcon iconPath (const QString&, int, KIcon::MatchType) const; - static QStringList list (); - static QString current (); - static void reconfigure (); - -%If ( KDE_3_1_0 - ) - static QString defaultThemeName (); -%End - - -}; // class KIconTheme - diff --git a/python/pykde/sip/kdecore/kidna.sip b/python/pykde/sip/kdecore/kidna.sip deleted file mode 100644 index 12eda377..00000000 --- a/python/pykde/sip/kdecore/kidna.sip +++ /dev/null @@ -1,40 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdecore version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - -%ModuleHeaderCode -#include -%End - - -%If ( KDE_3_2_0 - ) -namespace KIDNA -{ -QCString toAsciiCString (const QString&); -QString toAscii (const QString&); -QString toUnicode (const QString&); -}; // namespace KIDNA - -%End - diff --git a/python/pykde/sip/kdecore/kinstance.sip b/python/pykde/sip/kdecore/kinstance.sip deleted file mode 100644 index ddbbe13f..00000000 --- a/python/pykde/sip/kdecore/kinstance.sip +++ /dev/null @@ -1,75 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdecore version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KInstance -{ -%TypeHeaderCode -#include -%End - - -public: - KInstance (const QCString&); - KInstance (const KAboutData*); - KInstance (KInstance*); - KStandardDirs* dirs () const; - KConfig* config () const; - -%If ( KDE_3_2_0 - ) - KSharedConfig* sharedConfig () const; -%End - - KIconLoader* iconLoader () const; - void newIconLoader () const; - const KAboutData* aboutData () const; - QCString instanceName () const; - KMimeSourceFactory* mimeSourceFactory () const; - -protected: -//ig KInstance (const KInstance&); - -%If ( KDE_3_1_0 - ) - void setConfigName (const QString&); -%End - - -protected: -//igx virtual void virtual_hook (int, void*); - -public: - -%If ( - KDE_3_2_0 ) -//ig KCharsets* charsets () const; -%End - -//force - -private: - KInstance (const KInstance&); -//end - -}; // class KInstance - diff --git a/python/pykde/sip/kdecore/kipc.sip b/python/pykde/sip/kdecore/kipc.sip deleted file mode 100644 index c8625ad4..00000000 --- a/python/pykde/sip/kdecore/kipc.sip +++ /dev/null @@ -1,98 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdecore version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KIPC -{ -%TypeHeaderCode -#include -#include -%End - - -public: - -%If ( KDE_3_5_0 - ) - - enum Message - { - PaletteChanged, - FontChanged, - StyleChanged, - BackgroundChanged, - SettingsChanged, - IconChanged, - ToolbarStyleChanged, - ClipboardConfigChanged, - BlockShortcuts, - UserMessage - }; - -%End - - static void sendMessage (KIPC::Message, WId, int = 0); - static void sendMessageAll (KIPC::Message, int = 0); - -public: - -%If ( KDE_3_1_0 - KDE_3_5_0 ) - - enum Message - { - PaletteChanged, - FontChanged, - StyleChanged, - BackgroundChanged, - SettingsChanged, - IconChanged, - ToolbarStyleChanged, - ClipboardConfigChanged, - UserMessage - }; - -%End - - -public: - -%If ( - KDE_3_1_0 ) - - enum Message - { - PaletteChanged, - FontChanged, - StyleChanged, - BackgroundChanged, - SettingsChanged, - IconChanged, - ToolbarStyleChanged, - UserMessage - }; - -%End - - -}; // class KIPC - diff --git a/python/pykde/sip/kdecore/kkeynative.sip b/python/pykde/sip/kdecore/kkeynative.sip deleted file mode 100644 index 64aecfa8..00000000 --- a/python/pykde/sip/kdecore/kkeynative.sip +++ /dev/null @@ -1,90 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdecore version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KKeyNative -{ -%TypeHeaderCode -#include -%End - - -public: - KKeyNative (); -//ig KKeyNative (const XEvent*); - KKeyNative (const KKey&); - KKeyNative (const KKeyNative&); - KKeyNative (uint, uint, uint); - void clear (); -//ig bool init (const XEvent*); - bool init (const KKey&); - bool init (const KKeyNative&); - int keyCodeQt () const; - KKey key () const; - -%If ( KDE_3_1_4 - ) -//ig operator KKey () const; -%End - - uint code () const; - uint mod () const; - uint sym () const; - bool isNull () const; - int compare (const KKeyNative&) const; - -%If ( KDE_3_1_4 - ) - bool operator == (const KKeyNative&) const; - bool operator != (const KKeyNative&) const; - bool operator < (const KKeyNative&) const; -%End - - static KKeyNative& null (); - static bool keyboardHasWinKey (); - static uint modX (KKey::ModFlag); - static uint accelModMaskX (); - -%If ( KDE_3_1_3 - ) - static uint modXNumLock (); - static uint modXLock (); - static uint modXScrollLock (); - -%If ( KDE_3_4_3 - ) - static uint modXModeSwitch (); -%End - -%End - - -}; // class KKeyNative - - -%If ( KDE_3_1_4 - ) -//ig typedef union _XEvent XEvent; -%End - - -%If ( - KDE_3_1_4 ) -//ig typedef _XEvent XEvent; -%End diff --git a/python/pykde/sip/kdecore/kkeyserver_x11.sip b/python/pykde/sip/kdecore/kkeyserver_x11.sip deleted file mode 100644 index 2744c5bf..00000000 --- a/python/pykde/sip/kdecore/kkeyserver_x11.sip +++ /dev/null @@ -1,187 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdecore version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - -%ModuleHeaderCode -#include -%End - -namespace KKeyServer -{ - -%If ( KDE_3_1_0 - ) - -enum ExtraModFlag -{ - MODE_SWITCH -}; - -%End - - -class Sym -{ -%TypeHeaderCode -#include -%End - - -public: - uint m_sym; - Sym (); - Sym (uint); - Sym (const QString&); - bool initQt (int); - bool init (const QString&); - int qt () const; - QString toStringInternal () const; - QString toString () const; - uint getModsRequired () const; - uint getSymVariation () const; - -%If ( KDE_3_1_4 - ) -//ig operator uint () const; -%End - - -}; // class Sym - - -class Key -{ -%TypeHeaderCode -#include -%End - - -public: - - enum - { - CODE_FOR_QT - }; - - uint m_code; - uint m_mod; - uint m_sym; - bool init (const KKey&, bool); - bool isNative () const; - uint code () const; - uint mod () const; - uint sym () const; - int keyCodeQt () const; - void setKeycodeQt (int); - int compare (const KKeyServer::Key&) const; - -%If ( KDE_3_1_4 - ) - bool operator == (const KKeyServer::Key&) const; - bool operator < (const KKeyServer::Key&) const; -%End - - KKey key () const; - -}; // class Key - - -class Variations -{ -%TypeHeaderCode -#include -%End - - -public: - - enum - { - MAX_VARIATIONS - }; - -//ig KKeyServer::Key m_rgkey[MAX_VARIATIONS]; - uint m_nVariations; - Variations (); - void init (const KKey&, bool); - uint count () const; - const KKeyServer::Key& key (uint) const; - -}; // class Variations - -bool initializeMods (); -uint modX (KKey::ModFlag); -bool keyboardHasWinKey (); -uint modXShift (); -uint modXLock (); -uint modXCtrl (); -uint modXAlt (); -uint modXNumLock (); -uint modXWin (); -uint modXScrollLock (); - -%If ( KDE_3_4_2 - ) -uint modXModeSwitch (); -%End - -uint accelModMaskX (); -//ig bool keyQtToSym (int, uint&); -//ig bool keyQtToMod (int, uint&); -//ig bool symToKeyQt (uint, int&); -//ig bool modToModQt (uint, int&); -//ig bool modToModX (uint, uint&); -//ig bool modXToModQt (uint, int&); - -%If ( KDE_3_4_2 - ) -//ig int qtButtonStateToMod (Qt::ButtonState); -%End - -//ig bool modXToMod (uint, uint&); -//ig bool codeXToSym (uchar, uint, uint&); -//ig QString modToStringInternal (uint); -//ig QString modToStringUser (uint); - -%If ( KDE_3_5_0 - ) -uint stringUserToMod (const QString&); -%End - -//ig bool stringToSymMod (const QString&, uint&, uint&); -//ig void keyQtToKeyX (uint, uchar*, uint*, uint*); - -%If ( - KDE_3_2_0 ) - -class CodeMod -{ -%TypeHeaderCode -#include -%End - - -public: - int code; - int mod; - -}; // class CodeMod - -%End - -}; // namespace KKeyServer - diff --git a/python/pykde/sip/kdecore/klibloader.sip b/python/pykde/sip/kdecore/klibloader.sip deleted file mode 100644 index 1e9f460e..00000000 --- a/python/pykde/sip/kdecore/klibloader.sip +++ /dev/null @@ -1,103 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdecore version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KLibrary : QObject -{ -%TypeHeaderCode -#include -%End - - -public: -//ig KLibrary (const QString&, const QString&, void*); - QString name () const; - QString fileName () const; - KLibFactory* factory (); - void* symbol (const char*); - -%If ( KDE_3_1_0 - ) - bool hasSymbol (const char*) const; -%End - - void unload () const; - -private: - ~KLibrary (); -//force - KLibrary (const QString&, const QString&, void*); -//end - -}; // class KLibrary - - -class KLibLoader : QObject -{ -%TypeHeaderCode -#include -%End - - -public: - KLibFactory* factory (const char*); - virtual KLibrary* library (const char*); - KLibrary* globalLibrary (const char*); - QString lastErrorMessage () const; - virtual void unloadLibrary (const char*); - static KLibLoader* self (); - static void cleanUp (); - static QString findLibrary (const char*, const KInstance* = KGlobal ::instance ()); - -protected: - KLibLoader (QObject* /TransferThis/ = 0, const char* = 0); - -protected: -//igx virtual void virtual_hook (int, void*); - -}; // class KLibLoader - - -class KLibFactory : QObject -{ -%TypeHeaderCode -#include -%End - - -public: - KLibFactory (QObject* /TransferThis/ = 0, const char* = 0); - QObject* create (QObject* /Transfer/ = 0, const char* = 0, const char* = "QObject", const QStringList& = QStringList ()); - -signals: - void objectCreated (QObject*); - -protected: - virtual QObject* createObject (QObject* /Transfer/ = 0, const char* = 0, const char* = "QObject", const QStringList& = QStringList ()); - -protected: -//igx virtual void virtual_hook (int, void*); - -}; // class KLibFactory - diff --git a/python/pykde/sip/kdecore/klocale.sip b/python/pykde/sip/kdecore/klocale.sip deleted file mode 100644 index 355a39d5..00000000 --- a/python/pykde/sip/kdecore/klocale.sip +++ /dev/null @@ -1,238 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdecore version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KLocale -{ -%TypeHeaderCode -#include -%End - - -public: - KLocale (const QString&, KConfig* = 0); -//ig KLocale (const KLocale&); - QString translate (const char*) const; - QString translate (const char*, const char*) const; - QString translate (const char*, const char*, ulong) const; - bool setEncoding (int); - bool setLanguage (const QString&); - bool setLanguage (const QStringList&); - bool setCountry (const QString&); - - enum SignPosition - { - ParensAround, - BeforeQuantityMoney, - AfterQuantityMoney, - BeforeMoney, - AfterMoney - }; - - QString decimalSymbol () const; - QString thousandsSeparator () const; - QString currencySymbol () const; - QString monetaryDecimalSymbol () const; - QString monetaryThousandsSeparator () const; - QString positiveSign () const; - QString negativeSign () const; - int fracDigits () const; - bool positivePrefixCurrencySymbol () const; - bool negativePrefixCurrencySymbol () const; - SignPosition positiveMonetarySignPosition () const; - SignPosition negativeMonetarySignPosition () const; - QString formatMoney (double, const QString& = QString ::null , int = -1) const; - QString formatNumber (double, int = -1) const; - QString formatNumber (const QString&) const; - -%If ( KDE_3_5_0 - ) - QString formatNumber (const QString&, bool, int) const; -%End - - -%If ( KDE_3_2_0 - ) - QString formatLong (long) const; -%End - - -%If ( KDE_3_1_0 - ) - bool nounDeclension () const; -%End - - QString formatDate (const QDate&, bool = 0) const; - -%If ( KDE_3_1_0 - ) - bool dateMonthNamePossessive () const; - -%If ( KDE_3_3_0 - ) - QString formatTime (const QTime&, bool, bool) const; -%End - -%End - - QString formatTime (const QTime&, bool = 0) const; - bool use12Clock () const; - bool weekStartsMonday () const; - -%If ( KDE_3_1_0 - ) - int weekStartDay () const; -%End - - QString monthName (int, bool = 0) const; - -%If ( KDE_3_1_0 - ) - QString monthNamePossessive (int, bool = 0) const; -%End - - QString weekDayName (int, bool = 0) const; - -%If ( KDE_3_2_0 - ) - const KCalendarSystem* calendar () const; - QString calendarType () const; - void setCalendar (const QString&); -%End - - QString formatDateTime (const QDateTime&, bool, bool = 0) const; - double readMoney (const QString&, bool* = 0) const; - double readNumber (const QString&, bool* = 0) const; - QDate readDate (const QString&, bool* = 0) const; - QDate readDate (const QString&, const QString&, bool* = 0) const; - -%If ( KDE_3_2_0 - ) - - enum ReadDateFlags - { - NormalFormat, - ShortFormat - }; - - QDate readDate (const QString&, KLocale::ReadDateFlags, bool* = 0) const; -%End - - QTime readTime (const QString&, bool* = 0) const; - -%If ( KDE_3_2_0 - ) - - enum ReadTimeFlags - { - WithSeconds, - WithoutSeconds - }; - - QTime readTime (const QString&, KLocale::ReadTimeFlags, bool* = 0) const; -%End - - QString language () const; - QString country () const; - QStringList languagesTwoAlpha () const; - QStringList languageList () const; - const char* encoding () const; - int encodingMib () const; - QTextCodec* codecForEncoding () const; - -%If ( KDE_3_2_0 - ) - int fileEncodingMib () const; -%End - - void setDateFormat (const QString&); - void setDateFormatShort (const QString&); - -%If ( KDE_3_1_0 - ) - void setDateMonthNamePossessive (bool); -%End - - void setTimeFormat (const QString&); - void setWeekStartsMonday (bool); - -%If ( KDE_3_1_0 - ) - void setWeekStartDay (int); -%End - - QString dateFormat () const; - QString dateFormatShort () const; - QString timeFormat () const; - void setDecimalSymbol (const QString&); - void setThousandsSeparator (const QString&); - void setPositiveSign (const QString&); - void setNegativeSign (const QString&); - void setPositiveMonetarySignPosition (KLocale::SignPosition); - void setNegativeMonetarySignPosition (KLocale::SignPosition); - void setPositivePrefixCurrencySymbol (bool); - void setNegativePrefixCurrencySymbol (bool); - void setFracDigits (int); - void setMonetaryThousandsSeparator (const QString&); - void setMonetaryDecimalSymbol (const QString&); - void setCurrencySymbol (const QString&); - int pageSize () const; - void setPageSize (int); - - enum MeasureSystem - { - Metric, - Imperial - }; - - KLocale::MeasureSystem measureSystem () const; - void setMeasureSystem (KLocale::MeasureSystem); - void insertCatalogue (const QString&); - void removeCatalogue (const QString&); - void setActiveCatalogue (const QString&); - QString translateQt (const char*, const char*, const char*) const; - -%If ( KDE_3_1_0 - ) - QStringList allLanguagesTwoAlpha () const; - QString twoAlphaToLanguageName (const QString&) const; - QStringList allCountriesTwoAlpha () const; - QString twoAlphaToCountryName (const QString&) const; -%End - - static void splitLocale (const QString&, QString&, QString&, QString&); - static void setMainCatalogue (const char*); - static QString langLookup (const QString&, const char* = "html"); - static QString defaultLanguage (); - static QString defaultCountry (); - -%If ( KDE_3_0_1 - ) - static QString _initLanguage (KConfigBase*); -%End - - QString formatMoney (const QString&) const; - QString languages () const; -//ig bool setCharset (const QString&); -//ig QString charset () const; - -protected: -//ig static void initInstance (); -//force - -private: - KLocale (const KLocale&); -//end - -}; // class KLocale - -QString i18n (const char*); -QString i18n (const char*, const char*); -QString i18n (const char*, const char*, ulong); diff --git a/python/pykde/sip/kdecore/klockfile.sip b/python/pykde/sip/kdecore/klockfile.sip deleted file mode 100644 index fba7c47d..00000000 --- a/python/pykde/sip/kdecore/klockfile.sip +++ /dev/null @@ -1,113 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdecore version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -%If ( KDE_3_3_0 - ) - -class KLockFile : KShared -{ -%TypeHeaderCode -#include -%End - - -public: - typedef KSharedPtr Ptr; - KLockFile (const QString&); - - enum LockResult - { - LockOK, - LockFail, - LockError, - LockStale - }; - - - enum LockOptions - { - LockNoBlock, - LockForce - }; - - KLockFile::LockResult lock (int = 0); - bool isLocked () const; - void unlock (); - int staleTime () const; - void setStaleTime (int); - bool getLockInfo (int& /Out/, QString& /Out/, QString& /Out/); - -}; // class KLockFile - -%End - - - -%If (KDE_3_3_0 - ) -%MappedType KLockFile::Ptr -//converts KLockFile -{ -%TypeHeaderCode -#include -#include -#include <../kdecore/sipkdecoreKLockFile.h> -%End - -%ConvertFromTypeCode - // Convert to a Python instance - - if (!sipCpp) - return NULL; - - KSharedPtr *cPtr = new KSharedPtr (*(KSharedPtr *)sipCpp); - KLockFile *cpp = cPtr->data (); - PyObject *obj = sipConvertFromInstance (cpp, sipClass_KLockFile, sipTransferObj); - - return obj; -%End - -%ConvertToTypeCode - // Convert a Python instance to a Ptr on the heap. - - if (sipIsErr == NULL) - return PyInstance_Check(sipPy); - - int iserr = 0; - KLockFile *cpp = (KLockFile *)sipForceConvertTo_KLockFile (sipPy, &iserr); - - if (iserr) - { - *sipIsErr = 1; - return 0; - } - - *sipCppPtr = new KSharedPtr (cpp); - - return 1; -%End -}; -%End - - diff --git a/python/pykde/sip/kdecore/kmacroexpander.sip b/python/pykde/sip/kdecore/kmacroexpander.sip deleted file mode 100644 index 805d5c4e..00000000 --- a/python/pykde/sip/kdecore/kmacroexpander.sip +++ /dev/null @@ -1,364 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdecore version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - -%ModuleHeaderCode -#include -%End - - -%If ( KDE_3_2_0 - ) - -class KMacroExpanderBase -{ -%TypeHeaderCode -#include -%End - - -public: - KMacroExpanderBase (QChar = '%'); - void expandMacros (QString&); - bool expandMacrosShellQuote (QString&, uint& /In, Out/); - bool expandMacrosShellQuote (QString&); - void setEscapeChar (QChar); - QChar escapeChar () const; - -protected: - virtual int expandPlainMacro (const QString&, uint, QStringList&); - virtual int expandEscapedMacro (const QString&, uint, QStringList&); - -}; // class KMacroExpanderBase - -%End - - -%If ( KDE_3_3_0 - ) - -class KWordMacroExpander : KMacroExpanderBase -{ -%TypeHeaderCode -#include -%End - - -public: - KWordMacroExpander (QChar = '%'); - -protected: - virtual int expandPlainMacro (const QString&, uint, QStringList&); - virtual int expandEscapedMacro (const QString&, uint, QStringList&); - virtual bool expandMacro (const QString&, QStringList&) = 0; - -}; // class KWordMacroExpander - -%End - - -%If ( KDE_3_3_0 - ) - -class KCharMacroExpander : KMacroExpanderBase -{ -%TypeHeaderCode -#include -%End - - -public: - KCharMacroExpander (QChar = '%'); - -protected: - virtual int expandPlainMacro (const QString&, uint, QStringList&); - virtual int expandEscapedMacro (const QString&, uint, QStringList&); - virtual bool expandMacro (QChar, QStringList&) = 0; - -}; // class KCharMacroExpander - -%End - - -%If ( KDE_3_2_0 - ) -namespace KMacroExpander -{ -QString expandMacros (const QString&, const QMap&, QChar = '%'); -QString expandMacrosShellQuote (const QString&, const QMap&, QChar = '%'); -QString expandMacros (const QString&, const QMap&, QChar = '%'); -QString expandMacrosShellQuote (const QString&, const QMap&, QChar = '%'); -QString expandMacros (const QString&, const QMap&, QChar = '%'); -QString expandMacros (const QString&, const QMap&, QChar = '%'); -QString expandMacrosShellQuote (const QString&, const QMap&, QChar = '%'); -QString expandMacrosShellQuote (const QString&, const QMap&, QChar = '%'); -}; // namespace KMacroExpander - -%End - - - -%MappedType QMap -//converts a Python dict of QChar:QString -{ -%TypeHeaderCode -#include -#include -%End - -%ConvertFromTypeCode - - if (!sipCpp) - return PyDict_New(); - - PyObject *dict; - - // Create the dictionary. - - if ((dict = PyDict_New()) == NULL) - return NULL; - - // Get it. - - const QMap map = *sipCpp; - QMap::ConstIterator it; - - for (it = map.begin (); it != map.end (); ++it) - { - QChar acpp = it.key (); - PyObject *binst = PyString_FromString ((char *)((QString *)&it.data ())); - PyObject *ainst; - if (((ainst = sipBuildResult (NULL, "N", new QChar (acpp), sipClass_QChar)) == NULL) - || (binst == NULL) - || (PyDict_SetItem (dict, ainst, binst) < 0)) - { - Py_XDECREF (ainst); - Py_XDECREF (binst); - Py_DECREF (dict); - return NULL; - } - } - - return dict; -%End - - -%ConvertToTypeCode -// Convert a Python dictionary to a QMap - - if (sipIsErr == NULL) - return PyDict_Check(sipPy); - - QMap *map = new QMap; - - PyObject *key, *value; - int pos = 0; - QChar *cKey; - QString *sData; - - while (PyDict_Next(sipPy, &pos, &key, &value)) - { - int iserr = 0; - - cKey = (QChar *)sipForceConvertTo_QChar (key, &iserr); - sData = (QString *)sipForceConvertTo_QString (value, &iserr); - - if (iserr) - { - *sipIsErr = 1; - delete map; - return 0; - } - - map->insert (*cKey, *sData); - } - - *sipCppPtr = map; - - return 1; -%End -}; - - -%MappedType QMap -//converts a Python dict of QString:QStringList -{ -%TypeHeaderCode -#include -#include -%End - -%ConvertFromTypeCode - - if (!sipCpp) - return PyDict_New(); - - PyObject *dict; - - // Create the dictionary. - - if ((dict = PyDict_New()) == NULL) - return NULL; - - // Get it. - - const QMap map = *sipCpp; - QMap::ConstIterator it; - - for (it = map.begin (); it != map.end (); ++it) - { - QStringList bcpp = it.data (); - PyObject *ainst = PyString_FromString ((char *)((QString *)&it.key ())); - PyObject *binst; - if (((binst = sipBuildResult (NULL, "N", new QStringList (bcpp), sipClass_QStringList)) == NULL) - || (ainst == NULL) - || (PyDict_SetItem (dict, ainst, binst) < 0)) - { - Py_XDECREF (ainst); - Py_XDECREF (binst); - Py_DECREF (dict); - return NULL; - } - } - - return dict; -%End - - -%ConvertToTypeCode -// Convert a Python dictionary to a QMap on the heap. - - if (sipIsErr == NULL) - return PyDict_Check(sipPy); - - QMap *map = new QMap; - - PyObject *key, *value; - int pos = 0; - QString *sKey; - QStringList *slData; - - while (PyDict_Next(sipPy, &pos, &key, &value)) - { - int iserr = 0; - - sKey = (QString *)sipForceConvertTo_QString (value, &iserr); - slData = (QStringList *)sipForceConvertTo_QStringList (value, &iserr); - - if (iserr) - { - *sipIsErr = 1; - delete map; - return 0; - } - - map->insert (*sKey, *slData); - } - - *sipCppPtr = map; - - return 1; -%End -}; - - -%MappedType QMap -//converts a Python dict of QChar:QStringList -{ -%TypeHeaderCode -#include -#include -%End - -%ConvertFromTypeCode - - if (!sipCpp) - return PyDict_New(); - - PyObject *dict; - - // Create the dictionary. - - if ((dict = PyDict_New()) == NULL) - return NULL; - - // Get it. - - const QMap map = *sipCpp; - QMap::ConstIterator it; - - for (it = map.begin (); it != map.end (); ++it) - { - QChar acpp = it.key (); - QStringList bcpp = it.data (); - PyObject *binst; - PyObject *ainst; - if (((ainst = sipBuildResult (NULL, "N", new QChar (acpp), sipClass_QChar)) == NULL) - || (binst = sipBuildResult (NULL, "N", new QStringList (bcpp), sipClass_QStringList)) - || (PyDict_SetItem (dict, ainst, binst) < 0)) - { - Py_XDECREF (ainst); - Py_XDECREF (binst); - Py_DECREF (dict); - return NULL; - } - } - - return dict; -%End - - -%ConvertToTypeCode -// Convert a Python dictionary to a QMap on the heap. - - if (sipIsErr == NULL) - return PyDict_Check(sipPy); - - QMap *map = new QMap; - - PyObject *key, *value; - int pos = 0; - QChar *cKey; - QStringList *slData; - - while (PyDict_Next(sipPy, &pos, &key, &value)) - { - int iserr = 0; - - cKey = (QChar *)sipForceConvertTo_QChar (key, &iserr); - slData = (QStringList *)sipForceConvertTo_QStringList (value, &iserr); - - if (iserr) - { - *sipIsErr = 1; - delete map; - return 0; - } - - map->insert (*cKey, *slData); - } - - *sipCppPtr = map; - - return 1; -%End -}; - - diff --git a/python/pykde/sip/kdecore/kmanagerselection.sip b/python/pykde/sip/kdecore/kmanagerselection.sip deleted file mode 100644 index 8694f8aa..00000000 --- a/python/pykde/sip/kdecore/kmanagerselection.sip +++ /dev/null @@ -1,91 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdecore version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -%If ( KDE_3_2_0 - ) - -class KSelectionOwner : QObject -{ -%TypeHeaderCode -#include -#include -#include -%End - - -public: - KSelectionOwner (Atom, int = -1, QObject* /TransferThis/ = 0); - KSelectionOwner (const char*, int = -1, QObject* /TransferThis/ = 0); - bool claim (bool, bool = 1); - void release (); - Window ownerWindow () const; -//ig bool filterEvent (XEvent*); - -signals: - void lostOwnership (); - -protected: -//ig virtual bool handleMessage (XEvent*); - virtual bool genericReply (Atom, Atom, Window); - virtual void replyTargets (Atom, Window); - virtual void getAtoms (); - void setData (long, long); - -protected: -//igx virtual void virtual_hook (int, void*); - -}; // class KSelectionOwner - -%End - - -%If ( KDE_3_2_0 - ) - -class KSelectionWatcher : QObject -{ -%TypeHeaderCode -#include -#include -#include -%End - - -public: - KSelectionWatcher (Atom, int = -1, QObject* /TransferThis/ = 0); - KSelectionWatcher (const char*, int = -1, QObject* /TransferThis/ = 0); - Window owner (); -//ig void filterEvent (XEvent*); - -signals: - void newOwner (Window); - void lostOwner (); - -protected: -//igx virtual void virtual_hook (int, void*); - -}; // class KSelectionWatcher - -%End - diff --git a/python/pykde/sip/kdecore/kmdcodec.sip b/python/pykde/sip/kdecore/kmdcodec.sip deleted file mode 100644 index e9d1c80a..00000000 --- a/python/pykde/sip/kdecore/kmdcodec.sip +++ /dev/null @@ -1,156 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdecore version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KCodecs -{ -%TypeHeaderCode -#include -%End - - -public: - static QCString quotedPrintableEncode (const QByteArray&, bool); - static QCString quotedPrintableEncode (const QCString&, bool = 1); - static void quotedPrintableEncode (const QByteArray&, QByteArray&, bool); - static QCString quotedPrintableDecode (const QByteArray&); - static QCString quotedPrintableDecode (const QCString&); - static void quotedPrintableDecode (const QByteArray&, QByteArray&); - static QCString uuencode (const QByteArray&); - static QCString uuencode (const QCString&); - static void uuencode (const QByteArray&, QByteArray&); - static QCString uudecode (const QByteArray&); - static QCString uudecode (const QCString&); - static void uudecode (const QByteArray&, QByteArray&); - static QCString base64Encode (const QByteArray&, bool); - static QCString base64Encode (const QCString&, bool); - static void base64Encode (const QByteArray&, QByteArray&, bool); - static QCString base64Decode (const QByteArray&); - static QCString base64Decode (const QCString&); - static void base64Decode (const QByteArray&, QByteArray&); - -private: - KCodecs (); - -}; // class KCodecs - - -class KMD5 -{ -%TypeHeaderCode -#include -%End - - -public: -//ig typedef uchar Digest[16]; - KMD5 (); - KMD5 (const char*, int = -1); - KMD5 (const QByteArray&); - KMD5 (const QCString&); - void update (const char*, int = -1); -//igx void update (const uchar*, int = -1); - void update (const QByteArray&); - void update (const QCString&); - bool update (QIODevice&); - void reset (); -//ig const Digest& rawDigest (); -//ig void rawDigest (KMD5::Digest&); - QCString hexDigest (); - void hexDigest (QCString&); - QCString base64Digest (); -//ig bool verify (const KMD5::Digest&); - bool verify (const QCString&); - -protected: - -%If ( KDE_3_1_0 - ) -//ig void transform (const uchar); -%End - - void finalize (); - -private: - KMD5 (const KMD5&); - -protected: - -%If ( KDE_3_1_0 - ) -//force - void transform (const uchar*); -%End - -//end - -protected: - -%If ( - KDE_3_1_0 ) - void transform (const uchar*); -%End - - -}; // class KMD5 - - -%If ( KDE_3_4_0 - ) - -class KMD4 -{ -%TypeHeaderCode -#include -%End - - -public: -//ig typedef uchar Digest[16]; - KMD4 (); - KMD4 (const char*, int = -1); - KMD4 (const QByteArray&); - KMD4 (const QCString&); - void update (const char*, int = -1); -//igx void update (const uchar*, int = -1); - void update (const QByteArray&); - void update (const QCString&); - bool update (QIODevice&); - void reset (); -//ig const Digest& rawDigest (); -//ig void rawDigest (KMD4::Digest&); - QCString hexDigest (); - void hexDigest (QCString&); - QCString base64Digest (); -//ig bool verify (const KMD4::Digest&); - bool verify (const QCString&); - -protected: -//ig void transform (ulong, const ulong); - void finalize (); - -private: - KMD4 (const KMD4&); - -}; // class KMD4 - -%End - diff --git a/python/pykde/sip/kdecore/kmimesourcefactory.sip b/python/pykde/sip/kdecore/kmimesourcefactory.sip deleted file mode 100644 index cc321dd0..00000000 --- a/python/pykde/sip/kdecore/kmimesourcefactory.sip +++ /dev/null @@ -1,42 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdecore version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KMimeSourceFactory : QMimeSourceFactory -{ -%TypeHeaderCode -#include -%End - - -public: - KMimeSourceFactory (KIconLoader* = KGlobal ::iconLoader ()); - virtual QString makeAbsolute (const QString&, const QString&) const; - -protected: -//igx virtual void virtual_hook (int, void*); - -}; // class KMimeSourceFactory - diff --git a/python/pykde/sip/kdecore/kmountpoint.sip b/python/pykde/sip/kdecore/kmountpoint.sip deleted file mode 100644 index 5d7b7787..00000000 --- a/python/pykde/sip/kdecore/kmountpoint.sip +++ /dev/null @@ -1,189 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdecore version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -%If ( KDE_3_2_0 - ) - -class KMountPoint : KShared -{ -%TypeHeaderCode -#include -%End - - -public: -//ig typedef KSharedPtr Ptr; -//ig typedef QValueList List; - -public: - - enum - { - NeedMountOptions, - NeedRealDeviceName - }; - - static KMountPoint::List possibleMountPoints (int = 0); - static KMountPoint::List currentMountPoints (int = 0); - QString mountedFrom () const; - QString realDeviceName () const; - QString mountPoint () const; - QString mountType () const; - QStringList mountOptions () const; - -%If ( KDE_3_4_0 - ) - static QString devNameFromOptions (const QStringList&); -%End - - -private: - KMountPoint (); - -}; // class KMountPoint - -%End - - - -%MappedType KMountPoint::Ptr -//converts KMountPoint -{ -%TypeHeaderCode -#include -#include -#include -%End - -%ConvertFromTypeCode - // Convert to a Python instance - - if (!sipCpp) - return NULL; - - KSharedPtr *cPtr = new KSharedPtr (*(KSharedPtr *)sipCpp); - KMountPoint *cpp = cPtr->data (); - PyObject *obj = sipConvertFromInstance (cpp, sipClass_KMountPoint, sipTransferObj); - - return obj; -%End - -%ConvertToTypeCode - // Convert a Python instance to a Ptr on the heap. - - if (sipIsErr == NULL) - return PyInstance_Check(sipPy); - - int iserr = 0; - KMountPoint *cpp = (KMountPoint *)sipForceConvertTo_KMountPoint (sipPy, &iserr); - - if (iserr) - { - *sipIsErr = 1; - return 0; - } - - *sipCppPtr = new KSharedPtr (cpp); - - return 1; -%End -}; - - -%MappedType KMountPoint::List -//converts a Python list of KMountPoint -{ -%TypeHeaderCode -#include -#include -#include -#include -%End - -%ConvertFromTypeCode - // Convert to a Python list of Ptr (KMountPoint). - if (!sipCpp) - return PyList_New (0); - - PyObject *plist; - - // Create the list - if ((plist = PyList_New(0)) == NULL) - return NULL; - - // Get it. - KMountPoint::List *cList = (KMountPoint::List *)sipCpp; - PyObject *inst; - - KMountPoint::List::Iterator it; - for( it = cList->begin(); it != cList->end(); ++it ) - { - inst = sipConvertFrom_KMountPoint_Ptr (&(KMountPoint::Ptr)(*it), sipTransferObj); - - if ((inst == NULL) || (PyList_Append (plist, inst) < 0)) - { - Py_XDECREF (inst); - Py_DECREF (plist); - return NULL; - } - } - - return plist; -%End - -%ConvertToTypeCode - // Convert a Python list to List on the heap. - if (sipIsErr == NULL) - return PyList_Check(sipPy); - - KMountPoint::List *cList = new KMountPoint::List; - - PyObject *elem; - KMountPoint *mtpt; - int iserr = 0; - - for (int i = 0; i < PyList_Size (sipPy); i++) - { - elem = PyList_GET_ITEM (sipPy, i); - mtpt = (KMountPoint *)sipForceConvertTo_KMountPoint (elem, &iserr); - - KMountPoint::Ptr *ptr = new KMountPoint::Ptr (mtpt); - - if (iserr) - { - *sipIsErr = 1; - delete cList; - return 0; - } - - cList->append (*ptr); - } - - *sipCppPtr = cList; - - return 1; -%End -}; - - diff --git a/python/pykde/sip/kdecore/kmultipledrag.sip b/python/pykde/sip/kdecore/kmultipledrag.sip deleted file mode 100644 index 45d6fe7f..00000000 --- a/python/pykde/sip/kdecore/kmultipledrag.sip +++ /dev/null @@ -1,58 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdecore version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KMultipleDrag : QDragObject -{ -%TypeHeaderCode -#include -%End - - -public: - KMultipleDrag (QWidget* = 0, const char* = 0); - void addDragObject (QDragObject*); - -%If ( KDE_3_5_0 - ) - virtual QByteArray encodedData (const char*) const; - virtual const char* format (int) const; -%End - - -protected: - -protected: -//igx virtual void virtual_hook (int, void*); - -protected: - -%If ( - KDE_3_5_0 ) - virtual QByteArray encodedData (const char*) const; - virtual const char* format (int) const; -%End - - -}; // class KMultipleDrag - diff --git a/python/pykde/sip/kdecore/knotifyclient.sip b/python/pykde/sip/kdecore/knotifyclient.sip deleted file mode 100644 index 47664b88..00000000 --- a/python/pykde/sip/kdecore/knotifyclient.sip +++ /dev/null @@ -1,139 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdecore version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - -%ModuleHeaderCode -#include -%End - -namespace KNotifyClient -{ - -class Instance -{ -%TypeHeaderCode -#include -%End - - -public: - Instance (KInstance*); - bool useSystemBell () const; - static KInstance* current (); - static KNotifyClient::Instance* currentInstance (); - -}; // class Instance - - -%If ( KDE_3_2_0 - ) - -enum -{ - Default, -//ig None, - Sound, - Messagebox, - Logfile, - Stderr, - PassivePopup, - Execute, - Taskbar -}; - -%End - - -enum -{ - Notification, - Warning, - Error, - Catastrophe -}; - - -enum StandardEvent -{ - cannotOpenFile, - notification, - warning, - fatalError, - catastrophe -}; - -bool startDaemon (); - -%If ( KDE_3_2_0 - ) -int event (const QString&, const QString& = QString ::null ); -int event (KNotifyClient::StandardEvent, const QString& = QString ::null ); - -%If ( KDE_3_2_1 - ) -int userEvent (const QString& = QString ::null , int = KNotifyClient ::Default , int = KNotifyClient ::Default , const QString& = QString ::null , const QString& = QString ::null ); -%End - -int event (int, const QString&, const QString& = QString ::null ); -int event (int, KNotifyClient::StandardEvent, const QString& = QString ::null ); -int userEvent (int, const QString& = QString ::null , int = KNotifyClient ::Default , int = KNotifyClient ::Default , const QString& = QString ::null , const QString& = QString ::null ); -%End - -void beep (const QString& = QString ::null ); -int getPresentation (const QString&); -QString getFile (const QString&, int); -int getDefaultPresentation (const QString&); -QString getDefaultFile (const QString&, int); -KInstance* instance (); - -%If ( KDE_3_1_0 - KDE_3_2_0 ) - -enum -{ - Default, -//ig None, - Sound, - Messagebox, - Logfile, - Stderr, - PassivePopup, - Execute -}; - -%End - - -%If ( - KDE_3_1_0 ) - -enum -{ - Default, -//ig None, - Sound, - Messagebox, - Logfile, - Stderr -}; - -%End - -}; // namespace KNotifyClient - diff --git a/python/pykde/sip/kdecore/kpalette.sip b/python/pykde/sip/kdecore/kpalette.sip deleted file mode 100644 index 46008b16..00000000 --- a/python/pykde/sip/kdecore/kpalette.sip +++ /dev/null @@ -1,63 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdecore version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KPalette -{ -%TypeHeaderCode -#include -%End - - -public: - static QStringList getPaletteList (); - KPalette (const QString& = QString ::null ); - KPalette (const KPalette&); - bool save (); - QString description (); - void setDescription (const QString&); - QString name (); - void setName (const QString&); - - enum Editable - { - Yes, - No, - Ask - }; - - Editable editable (); - void setEditable (KPalette::Editable); - int nrColors (); - QColor color (int); - int findColor (const QColor&); - QString colorName (int); - QString colorName (const QColor&); - int addColor (const QColor&, const QString& = QString ::null ); - int changeColor (int, const QColor&, const QString& = QString ::null ); - int changeColor (const QColor&, const QColor&, const QString& = QString ::null ); - -}; // class KPalette - diff --git a/python/pykde/sip/kdecore/kpixmapprovider.sip b/python/pykde/sip/kdecore/kpixmapprovider.sip deleted file mode 100644 index c0a798fc..00000000 --- a/python/pykde/sip/kdecore/kpixmapprovider.sip +++ /dev/null @@ -1,41 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdecore version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KPixmapProvider -{ -%TypeHeaderCode -#include -%End - - -public: - virtual QPixmap pixmapFor (const QString&, int = 0) = 0; - -protected: -//igx virtual void virtual_hook (int, void*); - -}; // class KPixmapProvider - diff --git a/python/pykde/sip/kdecore/kprocctrl.sip b/python/pykde/sip/kdecore/kprocctrl.sip deleted file mode 100644 index fbe00c3d..00000000 --- a/python/pykde/sip/kdecore/kprocctrl.sip +++ /dev/null @@ -1,95 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdecore version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KProcessController : QObject -{ -%TypeHeaderCode -#include -%End - - -public: - -%If ( KDE_3_2_0 - ) - static void ref (); - static void deref (); -%End - - KProcessController* theKProcessController; - static void theSigCHLDHandler (int); - -%If ( KDE_3_0_3 - ) - bool waitForProcessExit (int); - -%If ( KDE_3_2_0 - ) - void unscheduleCheck (); - void rescheduleCheck (); - int notifierFd () const; -%End - -%End - - void addKProcess (KProcess*); - void removeKProcess (KProcess*); - -%If ( KDE_3_2_0 - ) - void addProcess (int); -%End - - -%If ( KDE_3_1_0 - ) - -private: - KProcessController (); -%End - - ~KProcessController (); - KProcessController (KProcessController&); - -public: - -%If ( - KDE_3_1_0 ) - KProcessController (); -%End - - -public: - -%If ( - KDE_3_2_0 ) - static void setupHandlers (); - static void resetHandlers (); -%End - - -public slots: - -%If ( - KDE_3_2_0 ) - void slotDoHousekeeping (int); -%End - - -}; // class KProcessController - diff --git a/python/pykde/sip/kdecore/kprocess.sip b/python/pykde/sip/kdecore/kprocess.sip deleted file mode 100644 index eae4aa42..00000000 --- a/python/pykde/sip/kdecore/kprocess.sip +++ /dev/null @@ -1,272 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdecore version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KProcess : QObject -{ -%TypeHeaderCode -#include -%End - - -public: - -%If ( KDE_3_5_2 - ) - - enum Communication - { - NoCommunication, - Stdin, - Stdout, - Stderr, - AllOutput, - All, - NoRead, - CTtyOnly, - MergedStderr - }; - -%End - - -%If ( KDE_3_2_0 - ) - - enum RunMode - { - DontCare, - NotifyOnExit, - Block, - OwnGroup - }; - - KProcess (QObject* /TransferThis/, const char* = 0); -%End - - KProcess (); - bool setExecutable (const QString&); - -%If ( KDE_3_1_4 - ) - KProcess& operator << (const QString&); - KProcess& operator << (const char*); - KProcess& operator << (const QCString&); - KProcess& operator << (const QStringList&); -%End - - void clearArguments (); - virtual bool start (KProcess::RunMode = NotifyOnExit , KProcess::Communication = NoCommunication ); - virtual bool kill (int = SIGTERM ); - bool isRunning () const; - pid_t pid () const; - pid_t getPid () const; - void suspend (); - void resume (); - -%If ( KDE_3_2_0 - ) - bool wait (int = -1); -%End - - bool normalExit () const; - -%If ( KDE_3_2_0 - ) - bool signalled () const; - bool coreDumped () const; -%End - - int exitStatus () const; - -%If ( KDE_3_2_0 - ) - int exitSignal () const; -%End - - bool writeStdin (const char*, int); - bool closeStdin (); - bool closeStdout (); - bool closeStderr (); - -%If ( KDE_3_2_0 - ) - bool closePty (); - void closeAll (); -%End - - const QValueList& args (); - void setRunPrivileged (bool); - bool runPrivileged () const; - void setEnvironment (const QString&, const QString&); - void setWorkingDirectory (const QString&); - -%If ( KDE_3_1_0 - ) - void setUseShell (bool, const char* = 0); - static QString quote (const QString&); -%End - - void detach (); - -%If ( KDE_3_2_0 - ) - - enum - { - PrioLowest, - PrioLow, - PrioLower, - PrioNormal, - PrioHigher, - PrioHigh, - PrioHighest - }; - - bool setPriority (int); -%End - - -signals: - void processExited (KProcess*); - void receivedStdout (KProcess*, char*, int); -//ig void receivedStdout (int, int&); - void receivedStderr (KProcess*, char*, int); - void wroteStdin (KProcess*); - -protected slots: - void slotChildOutput (int); - void slotChildError (int); - void slotSendData (int); - -protected: - void setupEnvironment (); - virtual int setupCommunication (KProcess::Communication); - virtual int commSetupDoneP (); - virtual int commSetupDoneC (); - virtual void processHasExited (int); - virtual void commClose (); - -%If ( KDE_3_2_0 - ) - void setBinaryExecutable (const char*); -%End - - int childOutput (int); - int childError (int); - -protected: -//igx virtual void virtual_hook (int, void*); - -public: - -%If ( - KDE_3_5_2 ) - - enum Communication - { - NoCommunication, - Stdin, - Stdout, - Stderr, - AllOutput, - All, - NoRead - }; - -%End - - -public: - -%If ( KDE_3_2_0 - KDE_3_4_0 ) - void setUsePty (KProcess::Communication, bool); - KPty* pty () const; -%End - - -public: - -%If ( - KDE_3_2_0 ) - - enum RunMode - { - DontCare, - NotifyOnExit, - Block - }; - -%End - - -%If ( - KDE_3_2_0 ) - -private: - KProcess (const KProcess&); -%End - - -public: -//force - void setArguments (SIP_PYLIST) [void (char**)]; -%MethodCode -//takes arglist | (a Python list of strings) -//doc -// setArguments is the PyKDE equivalent of the stream operator methods (<<) -// in KDE's KProcess class - provide with a list of strings representing -// the arguments to the executable program set with setExecutable (PyKDE -// will continue to provide setExecutable even though it's deprecated in -// KDE (to also be replaced with stream operators) -//end - - PyObject *elem; - - for (int i = 0; i < PyList_Size (a0); i++) - { - elem = PyList_GET_ITEM (a0, i); - *sipCpp << PyString_AsString (elem); - } - - -%End - -//end - -}; // class KProcess - - -class KShellProcess : KProcess -{ -%TypeHeaderCode -#include -%End - - -public: - KShellProcess (const char* = 0); - virtual bool start (RunMode = NotifyOnExit , Communication = NoCommunication ); - static QString quote (const QString&); - -protected: -//igx virtual void virtual_hook (int, void*); - -%If ( - KDE_3_2_0 ) - -private: - KShellProcess (const KShellProcess&); -%End - - -}; // class KShellProcess - diff --git a/python/pykde/sip/kdecore/kprocio.sip b/python/pykde/sip/kdecore/kprocio.sip deleted file mode 100644 index 2a09e28a..00000000 --- a/python/pykde/sip/kdecore/kprocio.sip +++ /dev/null @@ -1,67 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdecore version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KProcIO : KProcess -{ -%TypeHeaderCode -#include -%End - - -public: - KProcIO (QTextCodec* = 0); - -%If ( KDE_3_2_0 - ) - void setComm (Communication); -%End - - bool start (RunMode = NotifyOnExit , bool = 0); - bool writeStdin (const QString&, bool = 1); - bool writeStdin (const QCString&, bool); - bool writeStdin (const QByteArray&); - bool fputs (const QString&, bool = 1); - void closeWhenDone (); - int readln (QString& /Out/, bool = 1, bool* = 0); - int fgets (QString&, bool = 0); - void resetAll (); - void ackRead (); - void enableReadSignals (bool); - -signals: - void readReady (KProcIO*); - -protected: - void controlledEmission (); - -protected slots: - void received (KProcess*, char*, int); - void sent (KProcess*); - -protected: -//igx virtual void virtual_hook (int, void*); - -}; // class KProcIO - diff --git a/python/pykde/sip/kdecore/kpty.sip b/python/pykde/sip/kdecore/kpty.sip deleted file mode 100644 index 50981815..00000000 --- a/python/pykde/sip/kdecore/kpty.sip +++ /dev/null @@ -1,52 +0,0 @@ -// -// Copyright 2005 Jim Bublitz -// Earlier copyrights 1998 - 2004 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdecore version KDE_3_3_2 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -%If ( KDE_3_2_0 - ) - -class KPty -{ -%TypeHeaderCode -#include -%End - - -public: - KPty (); - bool open (); - void close (); - void setCTty (); - void login (const char* = 0, const char* = 0); - void logout (); - void setWinSize (int, int); - void setXonXoff (bool); - const char* ttyName () const; - int masterFd () const; - int slaveFd () const; - -}; // class KPty - -%End - diff --git a/python/pykde/sip/kdecore/krandomsequence.sip b/python/pykde/sip/kdecore/krandomsequence.sip deleted file mode 100644 index 4e550112..00000000 --- a/python/pykde/sip/kdecore/krandomsequence.sip +++ /dev/null @@ -1,45 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdecore version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KRandomSequence -{ -%TypeHeaderCode -#include -%End - - -public: - KRandomSequence (long = 0); - KRandomSequence (const KRandomSequence&); - void setSeed (long = 1); - double getDouble (); - ulong getLong (ulong); - bool getBool (); -//ig void randomize (QGList*); - void modulate (int); - -}; // class KRandomSequence - diff --git a/python/pykde/sip/kdecore/kregexp.sip b/python/pykde/sip/kdecore/kregexp.sip deleted file mode 100644 index 57c8d99c..00000000 --- a/python/pykde/sip/kdecore/kregexp.sip +++ /dev/null @@ -1,44 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdecore version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KRegExp -{ -%TypeHeaderCode -#include -%End - - -public: - KRegExp (); - KRegExp (const char*, const char* = ""); - bool compile (const char*, const char* = ""); - bool match (const char*); - const char* group (int); - int groupStart (int); - int groupEnd (int); - -}; // class KRegExp - diff --git a/python/pykde/sip/kdecore/krfcdate.sip b/python/pykde/sip/kdecore/krfcdate.sip deleted file mode 100644 index c91546fa..00000000 --- a/python/pykde/sip/kdecore/krfcdate.sip +++ /dev/null @@ -1,42 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdecore version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KRFCDate -{ -%TypeHeaderCode -#include -%End - - -public: - static time_t parseDate (const QString&); - static time_t parseDateISO8601 (const QString&); - static int localUTCOffset (); - static QCString rfc2822DateString (time_t, int); - static QCString rfc2822DateString (time_t); - -}; // class KRFCDate - diff --git a/python/pykde/sip/kdecore/krootprop.sip b/python/pykde/sip/kdecore/krootprop.sip deleted file mode 100644 index 1b6f5a8c..00000000 --- a/python/pykde/sip/kdecore/krootprop.sip +++ /dev/null @@ -1,52 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdecore version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KRootProp -{ -%TypeHeaderCode -#include -%End - - -public: - KRootProp (const QString& = QString ::null ); - void setProp (const QString& = ""); - QString prop () const; - void destroy (); - QString readEntry (const QString&, const QString& = QString ::null ) const; - int readNumEntry (const QString&, int = 0) const; - QFont readFontEntry (const QString&, const QFont* = 0) const; - QColor readColorEntry (const QString&, const QColor* = 0) const; - QString writeEntry (const QString&, const QString&); - QString writeEntry (const QString&, int); - QString writeEntry (const QString&, const QFont&); - QString writeEntry (const QString&, const QColor&); - QString removeEntry (const QString&); - QStringList listEntries () const; - void sync (); - -}; // class KRootProp - diff --git a/python/pykde/sip/kdecore/ksavefile.sip b/python/pykde/sip/kdecore/ksavefile.sip deleted file mode 100644 index c2974aaa..00000000 --- a/python/pykde/sip/kdecore/ksavefile.sip +++ /dev/null @@ -1,52 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdecore version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KSaveFile -{ -%TypeHeaderCode -#include -%End - - -public: - KSaveFile (const QString&, int = 438); - int status (); - QString name (); - int handle (); -//ig FILE* fstream (); - QFile* file (); - QTextStream* textStream (); - QDataStream* dataStream (); - void abort (); - bool close (); - -%If ( KDE_3_2_0 - ) - static bool backupFile (const QString&, const QString& = QString ::null , const QString& = QString ::fromLatin1 ("~" )); -%End - - -}; // class KSaveFile - diff --git a/python/pykde/sip/kdecore/ksharedptr.sip b/python/pykde/sip/kdecore/ksharedptr.sip deleted file mode 100644 index 8f5e83c5..00000000 --- a/python/pykde/sip/kdecore/ksharedptr.sip +++ /dev/null @@ -1,45 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdecore version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KShared -{ -%TypeHeaderCode -#include -%End - - -public: - KShared (); - KShared (const KShared&); - void _KShared_ref (); - void _KShared_unref (); - int _KShared_count (); - -protected: - ~KShared (); - -}; // class KShared - diff --git a/python/pykde/sip/kdecore/kshell.sip b/python/pykde/sip/kdecore/kshell.sip deleted file mode 100644 index d17de1a8..00000000 --- a/python/pykde/sip/kdecore/kshell.sip +++ /dev/null @@ -1,77 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdecore version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - -%ModuleHeaderCode -#include -extern char **pyArgvToC(PyObject *argvlist,int *argcp); -%End - - -%If ( KDE_3_2_0 - ) -namespace KShell -{ - -enum Options -{ - NoOptions, - TildeExpand, - AbortOnMeta -}; - - -enum Errors -{ - NoError, - BadQuoting, - FoundMeta -}; - -QStringList splitArgs (const QString&, int = 0, int* = 0); -QString joinArgs (const QStringList&); -QString joinArgsDQ (const QStringList&); -QString joinArgs (SIP_PYLIST) [QString (const char**, int = -1)]; -%MethodCode -//returns (QString) -//takes a0 | a Python list of strings - int argc; - char **argv; - - // Convert the list. - - if ((argv = pyArgvToC(a0, &argc)) == NULL) - return NULL; - - Py_BEGIN_ALLOW_THREADS - sipRes = new QString (KShell::joinArgs (argv, argc)); - Py_END_ALLOW_THREADS - -%End - -QString tildeExpand (const QString&); -QString homeDir (const QString&); -}; // namespace KShell - -%End - diff --git a/python/pykde/sip/kdecore/kshortcut.sip b/python/pykde/sip/kdecore/kshortcut.sip deleted file mode 100644 index 79b4b0e8..00000000 --- a/python/pykde/sip/kdecore/kshortcut.sip +++ /dev/null @@ -1,261 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdecore version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KKey -{ -%TypeHeaderCode -#include -%End - - -public: - - enum - { - MOD_FLAG_COUNT - }; - - -%If ( KDE_3_1_3 - ) - - enum - { - QtWIN - }; - -%End - - - enum ModFlag - { - SHIFT, - CTRL, - ALT, - WIN - }; - - KKey (); - KKey (int); - KKey (const QKeySequence&); - KKey (const QKeyEvent*); - KKey (const KKey&); - KKey (const QString&); - KKey (uint, uint); - void clear (); - bool init (int); - bool init (const QKeySequence&); - bool init (const QKeyEvent*); - bool init (const KKey&); - bool init (const QString&); - bool init (uint, uint); - bool isNull () const; - uint sym () const; - uint modFlags () const; - int compare (const KKey&) const; - -%If ( KDE_3_1_4 - ) - bool operator == (const KKey&) const; - bool operator != (const KKey&) const; - bool operator < (const KKey&) const; -%End - - int keyCodeQt () const; - QString toString () const; - QString toStringInternal () const; - void simplify (); - static KKey& null (); - static QString modFlagLabel (KKey::ModFlag); - -public: - -%If ( - KDE_3_2_0 ) -//ig bool isValidQt () const; -//ig bool isValidNative () const; -%End - - -public: - -%If ( KDE_3_1_2 - KDE_3_1_3 ) - - enum - { - QtWIN - }; - -%End - - -public: - -%If ( - KDE_3_1_2 ) - - enum - { - QtWIN - }; - -%End - - -}; // class KKey - - -class KKeySequence -{ -%TypeHeaderCode -#include -%End - - -public: - - enum - { - MAX_KEYS - }; - - KKeySequence (); - KKeySequence (const QKeySequence&); - KKeySequence (const KKey&); -//ig KKeySequence (const KKeyNative&); - KKeySequence (const KKeySequence&); - KKeySequence (const QString&); - void clear (); - bool init (const QKeySequence&); - bool init (const KKey&); -//ig bool init (const KKeyNative&); - bool init (const KKeySequence&); - bool init (const QString&); - uint count () const; - const KKey& key (uint) const; - bool isTriggerOnRelease () const; - bool setKey (uint, const KKey&); - bool isNull () const; - bool startsWith (const KKeySequence&) const; - int compare (const KKeySequence&) const; - -%If ( KDE_3_1_4 - ) - bool operator == (const KKeySequence&) const; - bool operator != (const KKeySequence&) const; - bool operator < (const KKeySequence&) const; -%End - - QKeySequence qt () const; - int keyCodeQt () const; - QString toString () const; - QString toStringInternal () const; - static KKeySequence& null (); - -protected: - -public: - -%If ( - KDE_3_2_0 ) -//ig void setTriggerOnRelease (bool); -%End - - -}; // class KKeySequence - - -class KShortcut -{ -%TypeHeaderCode -#include -%End - - -public: - - enum - { - MAX_SEQUENCES - }; - - KShortcut (); - KShortcut (int); - KShortcut (const QKeySequence&); - KShortcut (const KKey&); - KShortcut (const KKeySequence&); - KShortcut (const KShortcut&); - KShortcut (const char*); - KShortcut (const QString&); - void clear (); - bool init (int); - bool init (const QKeySequence&); - bool init (const KKey&); - bool init (const KKeySequence&); - bool init (const KShortcut&); - bool init (const QString&); - uint count () const; - const KKeySequence& seq (uint) const; - int keyCodeQt () const; - bool isNull () const; - int compare (const KShortcut&) const; - -%If ( KDE_3_1_4 - ) - bool operator == (const KShortcut&) const; - bool operator != (const KShortcut&) const; - bool operator < (const KShortcut&) const; -%End - - bool contains (const KKey&) const; - bool contains (const KKeyNative&) const; - bool contains (const KKeySequence&) const; - bool setSeq (uint, const KKeySequence&); - bool append (const KKeySequence&); - -%If ( KDE_3_3_0 - ) - void remove (const KKeySequence&); -%End - - -%If ( KDE_3_2_0 - ) - bool append (const KKey&); - bool append (const KShortcut&); -%End - - -%If ( KDE_3_1_4 - ) -//ig operator QKeySequence () const; -%End - - QString toString () const; - QString toStringInternal (const KShortcut* = 0) const; - static KShortcut& null (); - -protected: - -public: - -%If ( KDE_3_1_4 - ) -//ig operator int () const; -%End - - -}; // class KShortcut - diff --git a/python/pykde/sip/kdecore/kshortcutlist.sip b/python/pykde/sip/kdecore/kshortcutlist.sip deleted file mode 100644 index a65e44c1..00000000 --- a/python/pykde/sip/kdecore/kshortcutlist.sip +++ /dev/null @@ -1,133 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdecore version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KShortcutList -{ -%TypeHeaderCode -#include -#include -#include -%End - - -public: - KShortcutList (); - virtual uint count () const = 0; - virtual QString name (uint) const = 0; - virtual QString label (uint) const = 0; - virtual QString whatsThis (uint) const = 0; - virtual const KShortcut& shortcut (uint) const = 0; - virtual const KShortcut& shortcutDefault (uint) const = 0; - virtual bool isConfigurable (uint) const = 0; - virtual bool setShortcut (uint, const KShortcut&) = 0; - virtual bool isGlobal (uint) const; - virtual int index (const QString&) const; - virtual int index (const KKeySequence&) const; - virtual const KInstance* instance () const; - - enum Other - { - - }; - - virtual QVariant getOther (KShortcutList::Other, uint) const = 0; - virtual bool setOther (KShortcutList::Other, uint, QVariant) = 0; - virtual bool save () const = 0; - virtual bool readSettings (const QString& = QString ::null , KConfigBase* = 0); - virtual bool writeSettings (const QString& = QString ::null , KConfigBase* = 0, bool = 0, bool = 0) const; - -protected: -//igx virtual void virtual_hook (int, void*); - -}; // class KShortcutList - - -class KAccelShortcutList : KShortcutList -{ -%TypeHeaderCode -#include -#include -#include -%End - - -public: - KAccelShortcutList (KAccel*); - KAccelShortcutList (KGlobalAccel*); - KAccelShortcutList (KAccelActions&, bool); - virtual uint count () const; - virtual QString name (uint) const; - virtual QString label (uint) const; - virtual QString whatsThis (uint) const; - virtual const KShortcut& shortcut (uint) const; - virtual const KShortcut& shortcutDefault (uint) const; - virtual bool isConfigurable (uint) const; - virtual bool setShortcut (uint, const KShortcut&); - virtual bool isGlobal (uint) const; - virtual QVariant getOther (KShortcutList::Other, uint) const; - virtual bool setOther (KShortcutList::Other, uint, QVariant); - virtual bool save () const; - -protected: - -protected: -//igx virtual void virtual_hook (int, void*); - -}; // class KAccelShortcutList - -namespace KStdAccel -{ - -class ShortcutList : KShortcutList -{ -%TypeHeaderCode -#include -#include -#include -%End - - -public: - ShortcutList (); - virtual uint count () const; - virtual QString name (uint) const; - virtual QString label (uint) const; - virtual QString whatsThis (uint) const; - virtual const KShortcut& shortcut (uint) const; - virtual const KShortcut& shortcutDefault (uint) const; - virtual bool isConfigurable (uint) const; - virtual bool setShortcut (uint, const KShortcut&); - virtual QVariant getOther (KShortcutList::Other, uint) const; - virtual bool setOther (KShortcutList::Other, uint, QVariant); - virtual bool save () const; - -protected: -//igx virtual void virtual_hook (int, void*); - -}; // class ShortcutList - -}; // namespace KStdAccel - diff --git a/python/pykde/sip/kdecore/ksimpleconfig.sip b/python/pykde/sip/kdecore/ksimpleconfig.sip deleted file mode 100644 index 723236e8..00000000 --- a/python/pykde/sip/kdecore/ksimpleconfig.sip +++ /dev/null @@ -1,50 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdecore version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KSimpleConfig : KConfig -{ -%TypeHeaderCode -#include -%End - - -public: - KSimpleConfig (const QString&, bool = 0); - -%If ( KDE_3_2_0 - ) - KSimpleConfig (KConfigBackEnd*, bool = 0); -%End - - virtual void sync (); - -private: - KSimpleConfig (const KSimpleConfig&); - -protected: -//igx virtual void virtual_hook (int, void*); - -}; // class KSimpleConfig - diff --git a/python/pykde/sip/kdecore/ksock.sip b/python/pykde/sip/kdecore/ksock.sip deleted file mode 100644 index df11aaeb..00000000 --- a/python/pykde/sip/kdecore/ksock.sip +++ /dev/null @@ -1,97 +0,0 @@ -// -// Copyright 2005 Jim Bublitz -// Earlier copyrights 1998 - 2004 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdecore version KDE_3_3_2 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KSocket : QObject -{ -%TypeHeaderCode -#include -%End - - -public: - KSocket (int); - KSocket (const char*, ushort, int = 30); - KSocket (const char*); - int socket () const; - void enableRead (bool); - void enableWrite (bool); - -signals: - void readEvent (KSocket*); - void writeEvent (KSocket*); - void closeEvent (KSocket*); - -public slots: - void slotWrite (int); - void slotRead (int); - -protected: - bool connect (const QString&, ushort, int = 0); - bool connect (const char*); - -private: - KSocket (const KSocket&); - -}; // class KSocket - - -class KServerSocket : QObject -{ -%TypeHeaderCode -#include -%End - - -public: - KServerSocket (ushort, bool); - KServerSocket (const char*, bool); - bool bindAndListen (); - int socket () const; - ushort port (); - -public slots: - virtual void slotAccept (int); - -signals: - void accepted (KSocket*); - -protected: - bool init (ushort); - bool init (const char*); - -private: - KServerSocket (const KServerSocket&); - -public: - -%If ( - KDE_3_1_2 ) - KServerSocket (ushort); - KServerSocket (const char*); -%End - - -}; // class KServerSocket - diff --git a/python/pykde/sip/kdecore/kstartupinfo.sip b/python/pykde/sip/kdecore/kstartupinfo.sip deleted file mode 100644 index 6d4d308e..00000000 --- a/python/pykde/sip/kdecore/kstartupinfo.sip +++ /dev/null @@ -1,280 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdecore version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KStartupInfo : QObject -{ -%TypeHeaderCode -#include -%End - - -public: - -%If ( KDE_3_2_0 - ) - static void disableAutoAppStartedSending (bool = 1); -%End - - static void appStarted (); - -%If ( KDE_3_2_0 - ) - static void appStarted (const QCString&); - static void setNewStartupId (QWidget*, const QCString&); - static void silenceStartup (bool); - -%If ( KDE_3_3_0 - ) - static QCString createNewStartupId (); -%End - -%End - - -%If ( KDE_3_1_1 - ) - - enum - { - CleanOnCantDetect, - DisableKWinModule, - AnnounceSilenceChanges - }; - -%End - - KStartupInfo (bool, QObject* /TransferThis/ = 0, const char* = 0); - static bool sendStartup (const KStartupInfoId&, const KStartupInfoData&); -//ig static bool sendStartupX (Display*, const KStartupInfoId&, const KStartupInfoData&); - static bool sendChange (const KStartupInfoId&, const KStartupInfoData&); -//ig static bool sendChangeX (Display*, const KStartupInfoId&, const KStartupInfoData&); - static bool sendFinish (const KStartupInfoId&); -//ig static bool sendFinishX (Display*, const KStartupInfoId&); - static bool sendFinish (const KStartupInfoId&, const KStartupInfoData&); -//ig static bool sendFinishX (Display*, const KStartupInfoId&, const KStartupInfoData&); - static KStartupInfoId currentStartupIdEnv (); - static void resetStartupEnv (); - - enum startup_t - { - NoMatch, - Match, - CantDetect - }; - - KStartupInfo::startup_t checkStartup (WId); - KStartupInfo::startup_t checkStartup (WId, KStartupInfoId&); - KStartupInfo::startup_t checkStartup (WId, KStartupInfoData&); - KStartupInfo::startup_t checkStartup (WId, KStartupInfoId&, KStartupInfoData&); - void setTimeout (uint); - static void setWindowStartupId (WId, const QCString&); - static QCString windowStartupId (WId); - -%If ( KDE_3_2_0 - ) - static void handleAutoAppStartedSending (); -%End - - -signals: - void gotNewStartup (const KStartupInfoId&, const KStartupInfoData&); - void gotStartupChange (const KStartupInfoId&, const KStartupInfoData&); - void gotRemoveStartup (const KStartupInfoId&, const KStartupInfoData&); - -protected: - virtual void customEvent (QCustomEvent*); - -}; // class KStartupInfo - - -class KStartupInfoId -{ -%TypeHeaderCode -#include -%End - - -public: - -%If ( KDE_3_1_4 - ) - bool operator == (const KStartupInfoId&) const; - bool operator != (const KStartupInfoId&) const; -%End - - bool none () const; - void initId (const QCString& = ""); - const QCString& id () const; - -%If ( KDE_3_3_0 - ) - ulong timestamp () const; -%End - - bool setupStartupEnv () const; - KStartupInfoId (); - KStartupInfoId (const KStartupInfoId&); - -%If ( KDE_3_1_4 - ) - bool operator < (const KStartupInfoId&) const; -%End - - -private: - KStartupInfoId (const QString&); - -}; // class KStartupInfoId - - -class KStartupInfoData -{ -%TypeHeaderCode -#include -%End - - -public: - void setBin (const QString&); - const QString& bin () const; - void setName (const QString&); - const QString& findName () const; - const QString& name () const; - -%If ( KDE_3_2_0 - ) - void setDescription (const QString&); - const QString& findDescription () const; - const QString& description () const; -%End - - void setIcon (const QString&); - const QString& findIcon () const; - const QString& icon () const; - void setDesktop (int); - int desktop () const; - void setWMClass (const QCString&); - const QCString findWMClass () const; - const QCString& WMClass () const; - void addPid (pid_t); - const QValueList& pids () const; - bool is_pid (pid_t) const; - void setHostname (const QCString& = QCString ()); - const QCString& hostname () const; - -%If ( KDE_3_1_1 - ) - - enum TriState - { - Yes, - No, - Unknown - }; - - void setSilent (KStartupInfoData::TriState); - KStartupInfoData::TriState silent () const; - -%If ( KDE_3_2_0 - ) - void setTimestamp (ulong); - ulong timestamp () const; - int screen () const; - void setScreen (int); -%End - -%End - - void update (const KStartupInfoData&); - KStartupInfoData (); - KStartupInfoData (const KStartupInfoData&); - -private: - KStartupInfoData (const QString&); - -}; // class KStartupInfoData - -/*%MappedType QValueList -//converts a Python list of long -{ -%TypeHeaderCode -#include -%End - -%ConvertFromTypeCode - // Handle no list. - - if (!sipCpp) - return PyList_New(0); - - // Convert to a Python list of long. - - PyObject *l; - - // Create the list. - - if ((l = PyList_New(sipCpp -> count())) == NULL) - return NULL; - - // Get it. - - for (uint i = 0; i < sipCpp -> count(); ++i) - if (PyList_SetItem(l,i,PyLong_FromLong((long)(*sipCpp)[i])) < 0) - { - Py_DECREF(l); - - return NULL; - } - - return l; -%End - -%ConvertToTypeCode - // Convert a Python list of long to a QValueList on the heap. - - if (sipIsErr == NULL) - return PyList_Check(sipPy); - - if (sipPy == Py_None) - { - *sipCppPtr = NULL; - - return 0; - } - - QValueList *qvl = new QValueList; - - PyErr_Clear(); - - for (int i = 0; i < PyList_GET_SIZE(sipPy); ++i) - { - qvl -> append((pid_t)PyLong_AsLong(PyList_GET_ITEM(sipPy,i))); - - if (PyErr_Occurred() != NULL) - { - delete qvl; - *sipIsErr = 1; - - return 0; - } - } - - *sipCppPtr = qvl; - - return 1; -%End -};*/ - - diff --git a/python/pykde/sip/kdecore/kstaticdeleter.sip b/python/pykde/sip/kdecore/kstaticdeleter.sip deleted file mode 100644 index 9870f18f..00000000 --- a/python/pykde/sip/kdecore/kstaticdeleter.sip +++ /dev/null @@ -1,38 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdecore version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KStaticDeleterBase -{ -%TypeHeaderCode -#include -%End - - -public: - virtual void destructObject () = 0; - -}; // class KStaticDeleterBase - diff --git a/python/pykde/sip/kdecore/kstdaccel.sip b/python/pykde/sip/kdecore/kstdaccel.sip deleted file mode 100644 index 44bd9b82..00000000 --- a/python/pykde/sip/kdecore/kstdaccel.sip +++ /dev/null @@ -1,441 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdecore version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - -%ModuleHeaderCode -#include -%End - -namespace KStdAccel -{ - -%If ( KDE_3_4_0 - ) - -enum StdAccel -{ - AccelNone, - Open, - New, - Close, - Save, - Print, - Quit, - Undo, - Redo, - Cut, - Copy, - Paste, - SelectAll, - Deselect, - DeleteWordBack, - DeleteWordForward, - Find, - FindNext, - FindPrev, - Replace, - Home, - End, - Prior, - Next, - GotoLine, - AddBookmark, - ZoomIn, - ZoomOut, - Up, - Back, - Forward, - Reload, - PopupMenuContext, - ShowMenubar, - Help, - WhatsThis, - TextCompletion, - PrevCompletion, - NextCompletion, - SubstringCompletion, - RotateUp, - RotateDown, - TabNext, - TabPrev, - FullScreen, - BackwardWord, - ForwardWord, - BeginningOfLine, - EndOfLine, - PasteSelection, - WhatThis -}; - -%End - -const KShortcut& shortcut (KStdAccel::StdAccel); -QString name (KStdAccel::StdAccel); -QString label (KStdAccel::StdAccel); -QString whatsThis (KStdAccel::StdAccel); -KStdAccel::StdAccel findStdAccel (const KKeySequence&); -KShortcut shortcutDefault (KStdAccel::StdAccel); -KShortcut shortcutDefault3 (KStdAccel::StdAccel); -KShortcut shortcutDefault4 (KStdAccel::StdAccel); -const KShortcut& open (); -const KShortcut& openNew (); -const KShortcut& close (); -const KShortcut& save (); -const KShortcut& print () /PyName=print_/; -const KShortcut& quit (); -const KShortcut& undo (); -const KShortcut& redo (); -const KShortcut& cut (); -const KShortcut& copy (); -const KShortcut& paste (); - -%If ( KDE_3_4_0 - ) -const KShortcut& pasteSelection (); -%End - -const KShortcut& selectAll (); -const KShortcut& deleteWordBack (); -const KShortcut& deleteWordForward (); -const KShortcut& find (); -const KShortcut& findNext (); -const KShortcut& findPrev (); -const KShortcut& replace (); -const KShortcut& zoomIn (); -const KShortcut& zoomOut (); -//ig const KShortcut& insert (); -const KShortcut& home (); -const KShortcut& end (); - -%If ( KDE_3_3_0 - ) -const KShortcut& beginningOfLine (); -const KShortcut& endOfLine (); -%End - -const KShortcut& prior (); -const KShortcut& next (); -const KShortcut& gotoLine (); -const KShortcut& addBookmark (); - -%If ( KDE_3_2_0 - ) -const KShortcut& tabNext (); -const KShortcut& tabPrev (); -const KShortcut& fullScreen (); -%End - -const KShortcut& help (); -const KShortcut& completion (); -const KShortcut& prevCompletion (); -const KShortcut& nextCompletion (); -const KShortcut& substringCompletion (); -const KShortcut& rotateUp (); -const KShortcut& rotateDown (); -const KShortcut& popupMenuContext (); -const KShortcut& whatsThis (); -const KShortcut& reload (); -const KShortcut& up (); -const KShortcut& back (); -const KShortcut& forward (); - -%If ( KDE_3_3_0 - ) -const KShortcut& backwardWord (); -const KShortcut& forwardWord (); -%End - -const KShortcut& showMenubar (); -QString action (KStdAccel::StdAccel); -QString description (KStdAccel::StdAccel); -int key (KStdAccel::StdAccel); -int defaultKey (KStdAccel::StdAccel); -bool isEqual (const QKeyEvent*, int); - -%If ( KDE_3_3_0 - KDE_3_4_0 ) - -enum StdAccel -{ - AccelNone, - Open, - New, - Close, - Save, - Print, - Quit, - Undo, - Redo, - Cut, - Copy, - Paste, - SelectAll, - Deselect, - DeleteWordBack, - DeleteWordForward, - Find, - FindNext, - FindPrev, - Replace, - Home, - End, - Prior, - Next, - GotoLine, - AddBookmark, - ZoomIn, - ZoomOut, - Up, - Back, - Forward, - Reload, - PopupMenuContext, - ShowMenubar, - Help, - WhatsThis, - TextCompletion, - PrevCompletion, - NextCompletion, - SubstringCompletion, - RotateUp, - RotateDown, - TabNext, - TabPrev, - FullScreen, - BackwardWord, - ForwardWord, - BeginningOfLine, - EndOfLine, - WhatThis -}; - -%End - - -%If ( KDE_3_2_0 - KDE_3_3_0 ) - -enum StdAccel -{ - AccelNone, - Open, - New, - Close, - Save, - Print, - Quit, - Undo, - Redo, - Cut, - Copy, - Paste, - SelectAll, - Deselect, - DeleteWordBack, - DeleteWordForward, - Find, - FindNext, - FindPrev, - Replace, - Home, - End, - Prior, - Next, - GotoLine, - AddBookmark, - ZoomIn, - ZoomOut, - Up, - Back, - Forward, - Reload, - PopupMenuContext, - ShowMenubar, - Help, - WhatsThis, - TextCompletion, - PrevCompletion, - NextCompletion, - SubstringCompletion, - RotateUp, - RotateDown, - TabNext, - TabPrev, - FullScreen, - WhatThis -}; - -%End - - -%If ( KDE_3_1_3 - KDE_3_2_0 ) - -enum StdAccel -{ - AccelNone, - Open, - New, - Close, - Save, - Print, - Quit, - Undo, - Redo, - Cut, - Copy, - Paste, - SelectAll, - Deselect, - DeleteWordBack, - DeleteWordForward, - Find, - FindNext, - FindPrev, - Replace, - Home, - End, - Prior, - Next, - GotoLine, - AddBookmark, - ZoomIn, - ZoomOut, - Up, - Back, - Forward, - Reload, - PopupMenuContext, - ShowMenubar, - Help, - WhatsThis, - TextCompletion, - PrevCompletion, - NextCompletion, - SubstringCompletion, - RotateUp, - RotateDown, - WhatThis -}; - -%End - - -%If ( KDE_3_1_2 - KDE_3_1_3 ) - -enum StdAccel -{ - AccelNone, - Open, - New, - Close, - Save, - Print, - Quit, - Undo, - Redo, - Cut, - Copy, - Paste, - SelectAll, - Deselect, - DeleteWordBack, - DeleteWordForward, - Find, - FindNext, - FindPrev, - Replace, - Home, - End, - Prior, - Next, - GotoLine, - AddBookmark, - ZoomIn, - ZoomOut, - Up, - Back, - Forward, - Reload, - PopupMenuContext, - ShowMenubar, - Help, - WhatsThis, - TextCompletion, - PrevCompletion, - NextCompletion, - SubstringCompletion, - RotateUp, - RotateDown, - WhatThis -}; - -%End - - -%If ( - KDE_3_1_2 ) - -enum StdAccel -{ - AccelNone, - Open, - New, - Close, - Save, - Print, - Quit, - Undo, - Redo, - Cut, - Copy, - Paste, - SelectAll, - Deselect, - DeleteWordBack, - DeleteWordForward, - Find, - FindNext, - FindPrev, - Replace, - Home, - End, - Prior, - Next, - GotoLine, - AddBookmark, - ZoomIn, - ZoomOut, - Up, - Back, - Forward, - Reload, - PopupMenuContext, - ShowMenubar, - Help, - WhatsThis, - TextCompletion, - PrevCompletion, - NextCompletion, - SubstringCompletion, - RotateUp, - RotateDown, - WhatThis -}; - -%End - -}; // namespace KStdAccel - diff --git a/python/pykde/sip/kdecore/kstddirs.sip b/python/pykde/sip/kdecore/kstddirs.sip deleted file mode 100644 index e0238f41..00000000 --- a/python/pykde/sip/kdecore/kstddirs.sip +++ /dev/null @@ -1,64 +0,0 @@ -// -// Copyright 2003 Jim Bublitz -// Earlier copyrights 1998 - 2002 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdecore version KDE_3_1_1 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KStandardDirs -{ -%TypeHeaderCode -#include -%End - - -public: - KStandardDirs (); - void addPrefix (const QString&); - bool addResourceType (const char*, const QString&); - bool addResourceDir (const char*, const QString&); - QString findResource (const char*, const QString&) const; - Q_UINT32 calcResourceHash (const char*, const QString&, bool) const; - QStringList findDirs (const char*, const QString&) const; - QString findResourceDir (const char*, const QString&) const; - QStringList findAllResources (const char*, const QString& = QString::null, bool = 0, bool = 0) const; - QStringList findAllResources (const char*, const QString&, bool, bool, QStringList&) const; - static QString findExe (const QString&, const QString& = QString::null, bool = 0); - static int findAllExe (QStringList&, const QString&, const QString& = QString::null, bool = 0); - void addKDEDefaults (); - bool addCustomized (KConfig*); - QStringList resourceDirs (const char*) const; - QStringList allTypes () const; - QString saveLocation (const char*, const QString& = QString::null, bool = 1) const; - static bool makeDir (const QString&, int = 493); - static QString kde_default (const char*); - QString kfsstnd_prefixes (); - QString localkdedir () const; - static bool exists (const QString&); - -private: - KStandardDirs (const KStandardDirs&); - -}; // class KStandardDirs - -QString locate (const char*, const QString&, const KInstance* = KGlobal::instance()); -QString locateLocal (const char*, const QString&, const KInstance* = KGlobal::instance()); diff --git a/python/pykde/sip/kdecore/kstringhandler.sip b/python/pykde/sip/kdecore/kstringhandler.sip deleted file mode 100644 index 9021b920..00000000 --- a/python/pykde/sip/kdecore/kstringhandler.sip +++ /dev/null @@ -1,89 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdecore version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KStringHandler -{ -%TypeHeaderCode -#include -%End - - -public: - static QString word (const QString&, uint); - static QString word (const QString&, const char*); - static QString insword (const QString&, const QString&, uint); - static QString setword (const QString&, const QString&, uint); - static QString remrange (const QString&, const char*); - static QString remword (const QString&, uint); - static QString remword (const QString&, const QString&); - static QString capwords (const QString&); - static QStringList capwords (const QStringList&); - static QString reverse (const QString&); - static QStringList reverse (const QStringList&); - static QString ljust (const QString&, uint); - static QString rjust (const QString&, uint); - static QString center (const QString&, uint); - static QString lsqueeze (const QString&, uint = 40); - -%If ( KDE_3_2_0 - ) - static QString lEmSqueeze (const QString&, const QFontMetrics&, uint = 30); - static QString lPixelSqueeze (const QString&, const QFontMetrics&, uint); -%End - - static QString csqueeze (const QString&, uint = 40); - -%If ( KDE_3_2_0 - ) - static QString cEmSqueeze (const QString&, const QFontMetrics&, uint = 30); - static QString cPixelSqueeze (const QString&, const QFontMetrics&, uint); -%End - - static QString rsqueeze (const QString&, uint = 40); - -%If ( KDE_3_2_0 - ) - static QString rEmSqueeze (const QString&, const QFontMetrics&, uint = 30); - static QString rPixelSqueeze (const QString&, const QFontMetrics&, uint); -%End - - static bool matchFileName (const QString&, const QString&); -//ig static QStringList perlSplit (const QString&, const QString&, uint = 0); -//ig static QStringList perlSplit (const QChar&, const QString&, uint = 0); -//ig static QStringList perlSplit (const QRegExp&, const QString&, uint = 0); - -%If ( KDE_3_1_0 - ) - static QString tagURLs (const QString&); - -%If ( KDE_3_2_0 - ) - static QString obscure (const QString&); - static bool isUtf8 (const char*); - static QString from8Bit (const char*); -%End - -%End - - static bool matchFilename (const QString&, const QString&); - -}; // class KStringHandler - diff --git a/python/pykde/sip/kdecore/ktempdir.sip b/python/pykde/sip/kdecore/ktempdir.sip deleted file mode 100644 index b7ea5442..00000000 --- a/python/pykde/sip/kdecore/ktempdir.sip +++ /dev/null @@ -1,58 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdecore version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -%If ( KDE_3_2_0 - ) - -class KTempDir -{ -%TypeHeaderCode -#include -#include -%End - - -public: - KTempDir (QString = QString ::null , int = 448); - void setAutoDelete (bool); - int status () const; - QString name () const; - QDir* qDir (); - void unlink (); - bool existing () const; - -%If ( KDE_3_5_2 - ) - static bool removeDir (const QString&); -%End - - -protected: - bool create (const QString&, int); - void setError (int); - -}; // class KTempDir - -%End - diff --git a/python/pykde/sip/kdecore/ktempfile.sip b/python/pykde/sip/kdecore/ktempfile.sip deleted file mode 100644 index 6cd60bff..00000000 --- a/python/pykde/sip/kdecore/ktempfile.sip +++ /dev/null @@ -1,58 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdecore version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KTempFile -{ -%TypeHeaderCode -#include -%End - - -public: - KTempFile (QString = QString ::null , QString = QString ::null , int = 384); - void setAutoDelete (bool); - int status (); - QString name (); - int handle (); -//ig FILE* fstream (); - QTextStream* textStream (); - QDataStream* dataStream (); - QFile* file (); - void unlink (); - -%If ( KDE_3_3_0 - ) - bool sync (); -%End - - bool close (); - -protected: - KTempFile (bool); - bool create (const QString&, const QString&, int); - void setError (int); - -}; // class KTempFile - diff --git a/python/pykde/sip/kdecore/ktimezones.sip b/python/pykde/sip/kdecore/ktimezones.sip deleted file mode 100644 index 32d04f4a..00000000 --- a/python/pykde/sip/kdecore/ktimezones.sip +++ /dev/null @@ -1,264 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdecore version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -%If ( KDE_3_5_0 - ) - -class KTimezoneSource : KShared -{ -%TypeHeaderCode -#include -%End - - -public: - KTimezoneSource (const QString&); - virtual QString db (); - virtual bool parse (const QString&, KTimezoneDetails&) const; - -}; // class KTimezoneSource - -%End - - -%If ( KDE_3_5_0 - ) - -class KTimezone -{ -%TypeHeaderCode -#include -%End - - -public: - static const float UNKNOWN; - static bool isValidLatitude (float); - static bool isValidLongitude (float); - KTimezone (KSharedPtr, const QString&, const QString& = QString (), float = KTimezone ::UNKNOWN , float = KTimezone ::UNKNOWN , const QString& = QString ()); - QString name () const; - QString countryCode () const; - float latitude () const; - float longitude () const; - int offset (Qt::TimeSpec = Qt ::UTC ) const; - int offset (const QDateTime&) const; - QDateTime convert (const KTimezone*, const QDateTime&) const; - QString comment () const; - bool parse (KTimezoneDetails&) const; - -private: - KTimezone (const KTimezone&); - -public: -//force - typedef KSharedPtr TZSourcePtr; -//end - -}; // class KTimezone - -%End - - -%If ( KDE_3_5_0 - ) - -class KTimezoneDetails -{ -%TypeHeaderCode -#include -%End - - -public: - KTimezoneDetails (); - virtual void parseEnded (); - virtual void parseStarted (); - virtual void gotHeader (uint, uint, uint, uint, uint, uint); - virtual void gotTransitionTime (int, uint); - virtual void gotLocalTimeIndex (int, uint); - virtual void gotLocalTime (int, int, bool, uint); - virtual void gotAbbreviation (int, const QString&); - virtual void gotLeapAdjustment (int, uint, uint); - virtual void gotIsStandard (int, bool); - virtual void gotIsUTC (int, bool); - -}; // class KTimezoneDetails - -%End - - -%If ( KDE_3_5_0 - ) - -class KTimezones -{ -%TypeHeaderCode -#include -%End - - -public: - KTimezones (); - const KTimezone* local (); - const KTimezone* zone (const QString&); - typedef QMap ZoneMap; - const KTimezones::ZoneMap allZones (); - void add (KTimezone*); - -private: - KTimezones (const KTimezones&); - -}; // class KTimezones - -%End - - - -%If (KDE_3_5_0 - ) -%MappedType KSharedPtr -//converts KSharedPtr -{ -%TypeHeaderCode -#include -#include -#include -%End - -%ConvertFromTypeCode - // Convert to a Python instance - - if (!sipCpp) - return NULL; - - KSharedPtr *cPtr = new KSharedPtr (*(KSharedPtr *)sipCpp); - KTimezoneSource *cpp = cPtr->data (); - PyObject *obj = sipConvertFromInstance (cpp, sipClass_KTimezoneSource, sipTransferObj); - - return obj; -%End - -%ConvertToTypeCode - // Convert a Python instance to a Ptr on the heap. - - if (sipIsErr == NULL) - return PyInstance_Check(sipPy); - - int iserr = 0; - KTimezoneSource *cpp = (KTimezoneSource *)sipForceConvertTo_KTimezoneSource (sipPy, &iserr); - - if (iserr) - { - *sipIsErr = 1; - return 0; - } - - *sipCppPtr = new KSharedPtr (cpp); - - return 1; -%End -}; -%End - - -%If (KDE_3_5_0 - ) -%MappedType KTimezones::ZoneMap -//converts a Python dict of QString:KTimezone -{ -%TypeHeaderCode -#include -#include -#include -#include -#include -%End - -%ConvertFromTypeCode - // Convert to a Python dict - - if (!sipCpp) - return PyDict_New(); - - PyObject *dict; - - // Create the dictionary. - - if ((dict = PyDict_New()) == NULL) - return NULL; - - // Get it. - - const QMap cppmap = *sipCpp; - QMap::ConstIterator it; - - for (it = cppmap.begin (); it != cppmap.end (); ++it) - { - QString acpp = it.key (); - KTimezone *bcpp = it.data (); - PyObject *ainst; - PyObject *binst; - if (((ainst = sipBuildResult (NULL, "N", new QString (acpp), sipClass_QString)) == NULL) - || ((binst = sipBuildResult (NULL, "N", (KTimezone *) bcpp, sipClass_KTimezone)) == NULL) - || (PyDict_SetItem (dict, ainst, binst) < 0)) - { - Py_XDECREF (ainst); - Py_XDECREF (binst); - Py_DECREF (dict); - return NULL; - } - } - - return dict; -%End - - -%ConvertToTypeCode - // Convert a Python dictionary to a QMap on the heap. - - if (sipIsErr == NULL) - return PyDict_Check(sipPy); - - - QMap *cppmap = new QMap; - - PyObject *aelem, *belem; - int pos = 0; - QString *acpp; - KTimezone *bcpp; - - while (PyDict_Next(sipPy, &pos, &aelem, &belem)) - { - int iserr = 0; - - acpp = (QString *)sipForceConvertTo_QString (aelem, &iserr); - bcpp = (KTimezone *)sipForceConvertTo_KTimezone (aelem, &iserr); - - cppmap->insert (*acpp, bcpp); - } - - *sipCppPtr = cppmap; - - return 1; -%End -}; -%End - - diff --git a/python/pykde/sip/kdecore/kuniqueapplication.sip b/python/pykde/sip/kdecore/kuniqueapplication.sip deleted file mode 100644 index 9637c6e3..00000000 --- a/python/pykde/sip/kdecore/kuniqueapplication.sip +++ /dev/null @@ -1,68 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdecore version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KUniqueApplication : KApplication, DCOPObject -{ -%TypeHeaderCode -#include -%End - - -public: - KUniqueApplication (bool, bool, bool); - -%If ( KDE_3_3_0 - ) -//ig KUniqueApplication (Display*, Qt::HANDLE = 0, Qt::HANDLE = 0, bool = 1, bool = 0); -%End - - static void addCmdLineOptions (); - static bool start (); - bool process (const QCString&, const QByteArray&, QCString&, QByteArray&); - virtual int newInstance (); - -%If ( KDE_3_3_0 - ) - bool restoringSession (); - static void setHandleAutoStarted (); -%End - - -protected: - -%If ( KDE_3_3_0 - ) - virtual void virtual_hook (int, void*); -%End - - -public: - -%If ( - KDE_3_3_0 ) - KUniqueApplication (bool = 1, bool = 1); - virtual DCOPClient* dcopClient (); -%End - - -}; // class KUniqueApplication - diff --git a/python/pykde/sip/kdecore/kurl.sip b/python/pykde/sip/kdecore/kurl.sip deleted file mode 100644 index c98053fd..00000000 --- a/python/pykde/sip/kdecore/kurl.sip +++ /dev/null @@ -1,405 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdecore version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KURL -{ -%TypeHeaderCode -#include -%End - - -public: - - enum AdjustementFlags - { - NoAdjustements, - StripFileProtocol - }; - - -%If ( KDE_3_2_0 - ) - - enum URIMode - { - Auto, - Invalid, - RawURI, - URL, - Mailto - }; - -%End - - KURL (); - KURL (const QString&, int = 0); - KURL (const char*, int = 0); - KURL (const QCString&, int = 0); - KURL (const KURL&); - KURL (const QUrl&); - KURL (const KURL&, const QString&, int = 0); - QString protocol () const; - void setProtocol (const QString&); - -%If ( KDE_3_2_0 - ) - int uriMode () const; -%End - - QString user () const; - void setUser (const QString&); - bool hasUser () const; - QString pass () /PyName=pass_/; - void setPass (const QString&); - bool hasPass () const; - QString host () const; - void setHost (const QString&); - bool hasHost () const; - ushort port () const; - void setPort (ushort); - QString path () const; - QString path (int) const; - void setPath (const QString&); - bool hasPath () const; - void cleanPath (bool = 0); - void adjustPath (int); - void setEncodedPathAndQuery (const QString&, int = 0); - void setEncodedPath (const QString&, int = 0); - QString encodedPathAndQuery (int = 0, bool = 0, int = 0) const; - void setQuery (const QString&, int = 0); - QString query () const; - QString ref () const; - void setRef (const QString&); - bool hasRef () const; - QString htmlRef () const; - QString encodedHtmlRef () const; - void setHTMLRef (const QString&); - bool hasHTMLRef () const; - bool isValid () const; - bool isMalformed () const; - bool isLocalFile () const; - void setFileEncoding (const QString&); - QString fileEncoding () const; - bool hasSubURL () const; - void addPath (const QString&); - QString queryItem (const QString&) const; - -%If ( KDE_3_2_0 - ) - QString queryItem (const QString&, int) const; -%End - - -%If ( KDE_3_1_0 - ) - - enum QueryItemsOptions - { - CaseInsensitiveKeys - }; - - QMap queryItems (int = 0) const; - -%If ( KDE_3_2_0 - ) - QMap queryItems (int, int) const; -%End - - void addQueryItem (const QString&, const QString&, int = 0); - void removeQueryItem (const QString&); -%End - - void setFileName (const QString&); - QString fileName (bool = 1) const; - QString directory (bool = 1, bool = 1) const; - -%If ( KDE_3_2_0 - ) - void setDirectory (const QString&); -%End - - bool cd (const QString&); - QString url (int = 0, int = 0) const; - QString prettyURL (int = 0) const; - QString prettyURL (int, KURL::AdjustementFlags) const; - -%If ( KDE_3_4_0 - ) - QString pathOrURL () const; -%End - - -%If ( KDE_3_0_1 - ) - QString htmlURL () const; -%End - - bool isEmpty () const; - KURL upURL () const; - -%If ( KDE_3_2_0 - ) - bool operator < (const KURL&) const; -%End - - -%If ( KDE_3_1_4 - ) - bool operator == (const KURL&) const; - bool operator == (const QString&) const; - bool operator != (const KURL&) const; - bool operator != (const QString&) const; -%End - - bool cmp (const KURL&, bool = 0) const; - -%If ( KDE_3_1_0 - ) - bool equals (const KURL&, bool = 0) const; -%End - - bool isParentOf (const KURL&) const; - static KURL::List split (const QString&); - static KURL::List split (const KURL&); - static KURL join (const KURL::List&); - -%If ( KDE_3_1_0 - ) - static KURL fromPathOrURL (const QString&); -%End - - static QString encode_string (const QString&, int = 0); - static QString encode_string_no_slash (const QString&, int = 0); - static QString decode_string (const QString&, int = 0); - static bool isRelativeURL (const QString&); - -%If ( KDE_3_2_0 - ) - static QString relativeURL (const KURL&, const KURL&, int = 0); - static QString relativePath (const QString&, const QString&, bool* = 0); - static KURL::URIMode uriModeForProtocol (const QString&); -%End - - QString filename (bool = 1) const; - -protected: - void reset (); - -%If ( KDE_3_2_0 - ) - void parseURL (const QString&, int = 0); - void parseRawURI (const QString&, int = 0); - void parseMailto (const QString&, int = 0); -%End - - void parse (const QString&, int = 0); - -public: -//force - - class List - { - - public: - List (); - List (const QStringList&); - QStringList toStringList () const; - bool isEmpty () const; - void append (const KURL&); - void prepend (const KURL&); - void remove (const KURL&); - const KURL& first () const; - const KURL& last () const; - int findIndex (const KURL&) const; - uint contains (const KURL&) const; - uint count () const; - void clear (); - int __len__ () /NonLazy/; -%MethodCode -//returns (int) - Py_BEGIN_ALLOW_THREADS - sipRes = sipCpp -> count(); - Py_END_ALLOW_THREADS -%End - - void __setitem__ (int, const KURL&); -%MethodCode -//takes index | (int) | value | (KURL) - int len; - - len = sipCpp -> count(); - - if ((a0 = sipConvertFromSequenceIndex(a0,len)) < 0) - sipIsErr = 1; - else - (*sipCpp)[a0] = *a1; -%End - - void __setitem__ (SIP_PYSLICE, const KURL::List&); -%MethodCode -//takes range | (a Python slice) | urlList | (KURL.List) - - int len, start, stop, step, slicelength; - - len = sipCpp -> count(); - - if (sipConvertFromSliceObject(a0,len,&start,&stop,&step,&slicelength) < 0) - sipIsErr = 1; - else - { - int vlen = a1 -> count(); - if (vlen != slicelength) - { - sipBadLengthForSlice(vlen,slicelength); - sipIsErr = 1; - } - else - { - KURL::List::ConstIterator it = a1 -> begin(); - for (int i = 0; i < slicelength; ++i) - { - (*sipCpp)[start] = *it; - start += step; - ++it; - } - } - } -%End - - void __delitem__ (int); -%MethodCode -//takes index | (int) - int len; - - len = sipCpp -> count(); - - if ((a0 = sipConvertFromSequenceIndex(a0,len)) < 0) - sipIsErr = 1; - else - sipCpp -> remove(sipCpp -> at(a0)); -%End - - void __delitem__ (SIP_PYSLICE); -%MethodCode -//takes range | (a Python slice) - int len, start, stop, step, slicelength; - - len = sipCpp -> count(); - if (sipConvertFromSliceObject(a0,len,&start,&stop,&step,&slicelength) < 0) - sipIsErr = 1; - else - for (int i = 0; i < slicelength; ++i) - { - sipCpp -> remove(sipCpp -> at(start)); - start += step - 1; - } -%End - - KURL operator [] (int); -%MethodCode -//returns (KURL) -//takes index | (int) - int len; - - len = sipCpp -> count(); - - if ((a0 = sipConvertFromSequenceIndex(a0,len)) < 0) - sipIsErr = 1; - else - sipRes = new KURL((*sipCpp)[a0]); -%End - - KURL::List operator [] (SIP_PYSLICE); -%MethodCode -//returns (KURL.List) -//takes range | (a Python slice) - int len, start, stop, step, slicelength; - - len = sipCpp -> count(); - - if (sipConvertFromSliceObject(a0,len,&start,&stop,&step,&slicelength) < 0) - sipIsErr = 1; - else - { - sipRes = new KURL::List(); - - for (int i = 0; i < slicelength; ++i) - { - (*sipRes) += (*sipCpp)[start]; - start += step; - } - } -%End - - KURL::List operator + (const KURL::List&); -%MethodCode -//returns (KURL.List) -//takes listToAdd | (KURL.List) - Py_BEGIN_ALLOW_THREADS -// sipRes = new KURL::List((const KURL::List&)((*sipCpp) + *a0)); - sipRes = new KURL::List (*sipCpp); - (*sipRes) += (*a0); - Py_END_ALLOW_THREADS -%End - - KURL::List& operator += (const KURL::List&); - KURL::List operator * (int); -%MethodCode - sipRes = new KURL::List(); - - for (int i = 0; i < a0; ++i) - (*sipRes) += (*sipCpp); -%End - - KURL::List& operator *= (int); -%MethodCode -//returns (KURL.List) -//takes val | (int) - KURL::List orig(*sipCpp); - - sipCpp -> clear(); - - for (int i = 0; i < a0; ++i) - (*sipCpp) += orig; -%End - - bool operator == (const KURL::List&); - bool operator != (const KURL::List&); - int __contains__ (KURL) /NonLazy/; -%MethodCode -//returns (bool) -//takes a0 | (KURL) - - QString s = a0->url (); - sipRes = 0; - KURL::List::Iterator it; - for (it = sipCpp->begin (); (it != sipCpp->end ()) && (sipRes == 0); it++) - if (s == (*it).url ()) - sipRes = 1; -%End - - - }; // class List - - -public: -//end - -}; // class KURL - -bool urlcmp (const QString&, const QString&); -bool urlcmp (const QString&, const QString&, bool, bool); - -%If ( KDE_3_1_4 - ) -//igx QDataStream& operator << (QDataStream&, const KURL&); -//igx QDataStream& operator >> (QDataStream&, KURL&); -%End diff --git a/python/pykde/sip/kdecore/kurldrag.sip b/python/pykde/sip/kdecore/kurldrag.sip deleted file mode 100644 index 12fceb4e..00000000 --- a/python/pykde/sip/kdecore/kurldrag.sip +++ /dev/null @@ -1,76 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdecore version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -%If ( KDE_3_1_4 - ) - -class KURLDrag : QUriDrag -{ -%TypeHeaderCode -#include -%End - - -public: - KURLDrag (const KURL::List&, QWidget*, const char*); - KURLDrag (const KURL::List&, const QMap&, QWidget*, const char*); - -%If ( KDE_3_4_0 - ) - void setExportAsText (bool); -%End - - static KURLDrag* newDrag (const KURL::List&, QWidget* = 0, const char* = 0); - static KURLDrag* newDrag (const KURL::List&, const QMap&, QWidget* = 0, const char* = 0); - QMap& metaData (); - static bool decode (const QMimeSource*, KURL::List&); - static bool decode (const QMimeSource*, KURL::List&, QMap&); - -%If ( KDE_3_2_0 - ) - static QString urlToString (const KURL&); - static KURL stringToUrl (const QCString&); - -%If ( KDE_3_5_0 - ) - virtual const char* format (int) const; - virtual QByteArray encodedData (const char*) const; -%End - -%End - - -protected: - KURLDrag (const QStrList&, const QMap&, QWidget*, const char*); - -protected: - -%If ( - KDE_3_5_0 ) - virtual const char* format (int) const; - virtual QByteArray encodedData (const char*) const; -%End - - -}; // class KURLDrag - -%End - diff --git a/python/pykde/sip/kdecore/kuser.sip b/python/pykde/sip/kdecore/kuser.sip deleted file mode 100644 index d79ea99b..00000000 --- a/python/pykde/sip/kdecore/kuser.sip +++ /dev/null @@ -1,74 +0,0 @@ -// -// Copyright 2004 Jim Bublitz -// Earlier copyrights 1998 - 2003 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdecore version KDE_3_2_2 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -%If ( KDE_3_2_0 - ) - -class KUser -{ -%TypeHeaderCode -#include <../extra/kde320/ksharedptr.h> -#include -%End - - -public: - - enum UIDMode - { - UseEffectiveUID, - UseRealUserID - }; - - KUser (KUser::UIDMode = UseEffectiveUID ); - KUser (long); - KUser (const QString&); - KUser (const char*); -//ig KUser (passwd*); - bool operator == (const KUser&) const; - bool operator != (const KUser&) const; - bool isValid () const; - long uid () const; - long gid () const; - bool isSuperUser () const; - QString loginName () const; - QString fullName () const; - QString roomNumber () const; - QString workPhone () const; - QString homePhone () const; - QString homeDir () const; - QString shell () const; - -%If ( - KDE_3_2_1 ) - -private: - KUser (const KUser&); -%End - - -}; // class KUser - -%End - diff --git a/python/pykde/sip/kdecore/kvmallocator.sip b/python/pykde/sip/kdecore/kvmallocator.sip deleted file mode 100644 index 207b59ed..00000000 --- a/python/pykde/sip/kdecore/kvmallocator.sip +++ /dev/null @@ -1,42 +0,0 @@ -// -// Copyright 2003 Jim Bublitz -// Earlier copyrights 1998 - 2002 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdecore version KDE_3_1_1 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KVMAllocator -{ -%TypeHeaderCode -#include -%End - -public: - KVMAllocator (); -//ig Block* allocate (size_t); -//ig void free (Block*); -//ig void copy (void*, Block*, int = 0, size_t = 0); -//ig void copy (Block*, void*, int = 0, size_t = 0); -//ig void* map (Block*); -//ig void unmap (Block*); - -}; // class KVMAllocator diff --git a/python/pykde/sip/kdecore/kwin.sip b/python/pykde/sip/kdecore/kwin.sip deleted file mode 100644 index 60095d70..00000000 --- a/python/pykde/sip/kdecore/kwin.sip +++ /dev/null @@ -1,188 +0,0 @@ -// -// Copyright 2005 Jim Bublitz -// Earlier copyrights 1998 - 2004 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdecore version KDE_3_3_2 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KWin -{ -%TypeHeaderCode -#include -%End - - -public: - -%If ( KDE_3_2_0 - ) - static void activateWindow (WId, long = 0); - static void forceActiveWindow (WId, long = 0); -%End - - static void setActiveWindow (WId); - -%If ( KDE_3_2_0 - ) - static void demandAttention (WId, bool = 1); - static void setUserTime (WId, long); -%End - - static void invokeContextHelp (); - static void setSystemTrayWindowFor (WId, WId); - -%If ( KDE_3_2_0 - ) - - class WindowInfo - { - - public: - WindowInfo (WId, ulong, ulong); - WindowInfo (); - bool valid (bool = 0) const; - WId win () const; - ulong state () const; - -%If ( KDE_3_2_1 - ) - bool hasState (ulong) const; -%End - - bool isMinimized () const; - NET::MappingState mappingState () const; - -%If ( KDE_3_3_0 - ) - NETExtendedStrut extendedStrut () const; -%End - - NETStrut strut () const; - NET::WindowType windowType (int) const; - QString visibleName () const; - QString visibleNameWithState () const; - QString name () const; - QString visibleIconName () const; - QString visibleIconNameWithState () const; - QString iconName () const; - bool isOnCurrentDesktop () const; - bool isOnDesktop (int) const; - bool onAllDesktops () const; - int desktop () const; - QRect geometry () const; - QRect frameGeometry () const; - WId transientFor () const; - WId groupLeader () const; - -%If ( KDE_3_3_0 - ) - QCString windowClassClass () const; - QCString windowClassName () const; - QCString windowRole () const; - QCString clientMachine () const; -%End - - bool actionSupported (NET::Action) const; - WindowInfo (const KWin::WindowInfo&); - - }; // class WindowInfo - - -public: -%End - - -%If ( KDE_3_2_0 - ) - static KWin::WindowInfo windowInfo (WId, ulong = 0, ulong = 0); - static WId transientFor (WId); - static WId groupLeader (WId); -%End - - static QPixmap icon (WId, int = -1, int = -1, bool = 0); - -%If ( KDE_3_2_0 - ) - - enum IconSource - { - NETWM, - WMHints, - ClassHint, - XApp - }; - - static QPixmap icon (WId, int, int, bool, int); -%End - - static void setIcons (WId, const QPixmap&, const QPixmap&); - static void setType (WId, NET::WindowType); - static void setState (WId, ulong); - static void clearState (WId, ulong); - static void setOnAllDesktops (WId, bool); - static void setOnDesktop (WId, int); - -%If ( KDE_3_3_0 - ) - static void setExtendedStrut (WId, int, int, int, int, int, int, int, int, int, int, int, int); -%End - - static void setStrut (WId, int, int, int, int); - static int currentDesktop (); - static int numberOfDesktops (); - static void setCurrentDesktop (int); - static void iconifyWindow (WId, bool = 1); - static void deIconifyWindow (WId, bool = 1); - -%If ( KDE_3_2_0 - ) - static void raiseWindow (WId); - static void lowerWindow (WId); - static bool icccmCompliantMappingState (); - static bool allowedActionsSupported (); - static QString readNameProperty (WId, ulong); -%End - - - class Info - { - - public: - WId win; - ulong state; - -%If ( KDE_3_2_0 - ) - bool isMinimized () const; -%End - - bool isIconified () const; - NET::MappingState mappingState; - NETStrut strut; - NET::WindowType windowType; - QString visibleName; - QString name; - int desktop; - bool onAllDesktops; - pid_t pid; - QRect geometry; - QRect frameGeometry; - QString visibleNameWithState () const; - - }; // class Info - - -public: - static KWin::Info info (WId); - static void appStarted (); - -}; // class KWin - diff --git a/python/pykde/sip/kdecore/kwinmodule.sip b/python/pykde/sip/kdecore/kwinmodule.sip deleted file mode 100644 index fec2c6d0..00000000 --- a/python/pykde/sip/kdecore/kwinmodule.sip +++ /dev/null @@ -1,159 +0,0 @@ -// -// Copyright 2005 Jim Bublitz -// Earlier copyrights 1998 - 2004 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdecore version KDE_3_3_2 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KWinModule : QObject -{ -%TypeHeaderCode -#include -%End - - -public: - -%If ( KDE_3_2_0 - ) - - enum - { - INFO_DESKTOP, - INFO_WINDOWS, - INFO_ALL - }; - - KWinModule (QObject* /TransferThis/, int); -%End - - KWinModule (QObject* /TransferThis/ = 0); - const QValueList& windows () const; - const QValueList& stackingOrder () const; - bool hasWId (WId) const; - const QValueList& systemTrayWindows () const; - int currentDesktop () const; - int numberOfDesktops () const; - WId activeWindow () const; - QRect workArea (int = -1) const; - QRect workArea (const QValueList&, int = -1) const; - QString desktopName (int) const; - void setDesktopName (int, const QString&); - void doNotManage (const QString&); - -signals: - void currentDesktopChanged (int); - void windowAdded (WId); - void windowRemoved (WId); - void activeWindowChanged (WId); - void desktopNamesChanged (); - void numberOfDesktopsChanged (int); - void systemTrayWindowAdded (WId); - void systemTrayWindowRemoved (WId); - void workAreaChanged (); - void strutChanged (); - void stackingOrderChanged (); - -%If ( KDE_3_2_0 - ) -//ig void windowChanged (WId, const ulong*); -%End - - void windowChanged (WId, uint); - void windowChanged (WId); - -protected: - -%If ( KDE_3_2_0 - ) - virtual void connectNotify (const char*); -%End - - -}; // class KWinModule - - - -%MappedType QValueList -//converts a Python list of WId -{ -%TypeHeaderCode -#include -#include -%End - -%ConvertFromTypeCode - if (!sipCpp) - return PyList_New(0); - - // Create the list - PyObject *pylist; - if ((pylist = PyList_New(0)) == NULL) - return NULL; - - QValueList *cpplist = (QValueList *)sipCpp; - PyObject *inst; - - // Get it. - QValueList::Iterator it; - for( it = cpplist->begin(); it != cpplist->end(); ++it ) - { - WId cpp = *it; - if (PyList_Append (pylist, PyInt_FromLong ((int) cpp)) < 0) - { - Py_DECREF (pylist); - return NULL; - } - } - - return pylist; -%End - - -%ConvertToTypeCode - if (sipIsErr == NULL) - return PyList_Check(sipPy); - - QValueList *cpplist = new QValueList; - - PyObject *elem; - WId cpp; - int iserr = 0; - - for (int i = 0; i < PyList_Size (sipPy); i++) - { - elem = PyList_GET_ITEM (sipPy, i); - cpp = (WId) PyInt_AS_LONG (&elem); - if (iserr) - { - *sipIsErr = 1; - delete cpplist; - return 0; - } - - cpplist->append (cpp); - } - - *sipCppPtr = cpplist; - - return 1; -%End -}; - - diff --git a/python/pykde/sip/kdecore/kxmessages.sip b/python/pykde/sip/kdecore/kxmessages.sip deleted file mode 100644 index 4c03dc09..00000000 --- a/python/pykde/sip/kdecore/kxmessages.sip +++ /dev/null @@ -1,55 +0,0 @@ -// -// Copyright 2003 Jim Bublitz -// Earlier copyrights 1998 - 2002 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdecore version KDE_3_1_0 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KXMessages : QWidget -{ -%TypeHeaderCode -#include -#include -%End - -public: - KXMessages (const char* = 0, QWidget*/TransferThis/ = 0); - void sendMessage (WId, const char*, const QString&); - void broadcastMessage (const char*, const QString&); -//ig static bool sendMessageX (Display*, WId, const char*, const QString&); -//ig static bool broadcastMessageX (Display*, const char*, const QString&); - -signals: - void gotMessage (const QString&); - -protected: -//ig virtual bool x11Event (XEvent*); - -protected: - -%If ( - KDE_3_0_1 ) -//ig static void send_message_internal (WId, const QString&, long, Display*, Atom, Window); -%End - - -}; // class KXMessages - diff --git a/python/pykde/sip/kdecore/netwm.sip b/python/pykde/sip/kdecore/netwm.sip deleted file mode 100644 index ed90f65e..00000000 --- a/python/pykde/sip/kdecore/netwm.sip +++ /dev/null @@ -1,649 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdecore version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class NETRootInfo : NET -{ -%TypeHeaderCode -#include -%End - - -public: - -%If ( KDE_3_2_0 - ) - - enum - { - PROTOCOLS, - WINDOW_TYPES, - STATES, - PROTOCOLS2, - ACTIONS, - PROPERTIES_SIZE - }; - - NETRootInfo (Window, const char*, SIP_PYLIST, int = -1, bool = 1) [(Display*, Window, const char*, const ulong*, int, int = -1, bool = 1)]; -%MethodCode -//takes supportWindow | (Window) | wmName | (a Python string) | properties | (a Python list) | screen | (int = -1) | doActivate | (bool = True) - int count = PyList_Size (a2); - unsigned long *list = new unsigned long [count]; - - for (int i = 0; i < count; i++) - list [i] = (unsigned long)PyInt_AS_LONG (PyList_GET_ITEM (a2, i)); - - Py_BEGIN_ALLOW_THREADS - Display *d = qt_xdisplay (); - sipCpp = new sipNETRootInfo (d, a0, a1, list, count, a3, a4); - Py_END_ALLOW_THREADS - - delete list; -%End - -%End - - NETRootInfo (Window, const char*, ulong, int = -1, bool = 1) [(Display*, Window, const char*, ulong, int = -1, bool = 1)]; -%MethodCode -//takes supportWindow | (Window) | wmName | (a Python string) | properties | (ulong) | screen | (int = -1) | doActivate | (bool = 1) - - Py_BEGIN_ALLOW_THREADS - Display *d = qt_xdisplay (); - sipCpp = new sipNETRootInfo (d, a0, a1, a2, a3, a4); - Py_END_ALLOW_THREADS -%End - - -%If ( KDE_3_2_0 - ) - NETRootInfo (SIP_PYLIST, int = -1, bool = 1) [(Display*, const ulong*, int, int = -1, bool = 1)]; -%MethodCode -//takes properties | (ulong) | screen | (int = -1) | doActivate | (bool = 1) - int count = PyList_Size (a0); - unsigned long *list = new unsigned long [count]; - - for (int i = 0; i < count; i++) - list [i] = (unsigned long)PyInt_AS_LONG (PyList_GET_ITEM (a2, i)); - - Py_BEGIN_ALLOW_THREADS - Display *d = qt_xdisplay (); - sipCpp = new sipNETRootInfo (d, list, count, a1, a2); - Py_END_ALLOW_THREADS - - delete list; -%End - -%End - - NETRootInfo (ulong, int = -1, bool = 1) [(Display*, ulong, int = -1, bool = 1)]; -%MethodCode -//takes properties | (ulong) | screen | (int = -1) | doActivate | (bool = 1) - - Py_BEGIN_ALLOW_THREADS - Display *d = qt_xdisplay (); - sipCpp = new sipNETRootInfo (d, a0, a1, a2); - Py_END_ALLOW_THREADS -%End - - NETRootInfo (const NETRootInfo&); - Display* x11Display () const; - Window rootWindow () const; - Window supportWindow () const; - const char* wmName () const; - int screenNumber () const; - -%If ( KDE_3_2_0 - ) - bool isSupported (NET::Property) const; - bool isSupported (NET::Property2) const; - bool isSupported (NET::WindowType) const; - bool isSupported (NET::State) const; - bool isSupported (NET::Action) const; - SIP_PYLIST supportedProperties () const [ulong* ()]; -%MethodCode -//returns a Python list of ulong - int count = 5; - const ulong *props; - Py_BEGIN_ALLOW_THREADS - props = sipCpp->supportedProperties (); - Py_END_ALLOW_THREADS - - for (int i = 0; i < count; i++) - PyList_Append (sipRes, PyLong_FromUnsignedLong (props [i])); -%End - - SIP_PYLIST passedProperties () const [ulong* ()]; -%MethodCode -//returns a Python list of ulong - int count = 5; - const ulong *props; - Py_BEGIN_ALLOW_THREADS - props = sipCpp->passedProperties (); - Py_END_ALLOW_THREADS - - for (int i = 0; i < count; i++) - PyList_Append (sipRes, PyLong_FromUnsignedLong (props [i])); -%End - -%End - - ulong supported () const; - SIP_PYLIST clientList () const [Window* ()]; -%MethodCode -//returns a Python list of Window - int count = sipCpp->clientListCount (); - const Window *props; - Py_BEGIN_ALLOW_THREADS - props = sipCpp->clientList (); - Py_END_ALLOW_THREADS - - for (int i = 0; i < count; i++) - PyList_Append (sipRes, PyLong_FromUnsignedLong ((unsigned long)props [i])); -%End - - int clientListCount () const; - SIP_PYLIST clientListStacking () const [Window* ()]; -%MethodCode -//returns a Python list of Window - int count = sipCpp->clientListStackingCount (); - const Window *props; - Py_BEGIN_ALLOW_THREADS - props = sipCpp->clientListStacking (); - Py_END_ALLOW_THREADS - - for (int i = 0; i < count; i++) - PyList_Append (sipRes, PyLong_FromUnsignedLong ((unsigned long)props [i])); -%End - - int clientListStackingCount () const; - SIP_PYLIST kdeSystemTrayWindows () const [Window* ()]; -%MethodCode -//returns a Python list of Window - int count = sipCpp->kdeSystemTrayWindowsCount (); - const Window *props; - Py_BEGIN_ALLOW_THREADS - props = sipCpp->kdeSystemTrayWindows (); - Py_END_ALLOW_THREADS - - for (int i = 0; i < count; i++) - PyList_Append (sipRes, PyLong_FromUnsignedLong ((unsigned long)props [i])); -%End - - int kdeSystemTrayWindowsCount () const; - NETSize desktopGeometry (int) const; - NETPoint desktopViewport (int) const; - NETRect workArea (int) const; - const char* desktopName (int) const; - SIP_PYLIST virtualRoots () const [Window* ()]; -%MethodCode -//returns a Python list of Window - int count = sipCpp->virtualRootsCount (); - const Window *props; - Py_BEGIN_ALLOW_THREADS - props = sipCpp->virtualRoots (); - Py_END_ALLOW_THREADS - - for (int i = 0; i < count; i++) - PyList_Append (sipRes, PyLong_FromUnsignedLong ((unsigned long)props [i])); -%End - - int virtualRootsCount () const; - int numberOfDesktops () const; - int currentDesktop () const; - Window activeWindow () const; - void activate (); - void setClientList (SIP_PYLIST) [void (Window*, uint)]; -%MethodCode -//takes windows | (a Python list of Window) - - int n = PyList_Size (a0); - Window array [n]; - PyObject *elem; - - for (int i = 0; i < n; i++) - { - elem = PyList_GetItem (a0, i); - if (!PyLong_Check (elem)) - return NULL; - - array [i] = (Window) PyLong_AsUnsignedLong (elem); - } - - Py_BEGIN_ALLOW_THREADS - sipCpp->setClientList (array, n); - Py_END_ALLOW_THREADS -%End - - void setClientListStacking (SIP_PYLIST) [void (Window*, uint)]; -%MethodCode -//takes windows | (a Python list of Window) - - int n = PyList_Size (a0); - Window array [n]; - PyObject *elem; - - for (int i = 0; i < n; i++) - { - elem = PyList_GetItem (a0, i); - if (!PyLong_Check (elem)) - return NULL; - - array [i] = (Window) PyLong_AsUnsignedLong (elem); - } - - Py_BEGIN_ALLOW_THREADS - sipCpp->setClientListStacking (array, n); - Py_END_ALLOW_THREADS -%End - - void setKDESystemTrayWindows (SIP_PYLIST) [void (Window*, uint)]; -%MethodCode -//takes windows | (a Python list of Window) - - int n = PyList_Size (a0); - Window array [n]; - PyObject *elem; - - for (int i = 0; i < n; i++) - { - elem = PyList_GetItem (a0, i); - if (!PyLong_Check (elem)) - return NULL; - - array [i] = (Window) PyLong_AsUnsignedLong (elem); - } - - Py_BEGIN_ALLOW_THREADS - sipCpp->setKDESystemTrayWindows (array, n); - Py_END_ALLOW_THREADS -%End - - void setCurrentDesktop (int); - void setDesktopGeometry (int, const NETSize&); - void setDesktopViewport (int, const NETPoint&); - void setNumberOfDesktops (int); - void setDesktopName (int, const char*); - -%If ( KDE_3_2_0 - ) - void setActiveWindow (Window, NET::RequestSource, Time, Window); -%End - - void setActiveWindow (Window); - void setWorkArea (int, const NETRect&); - void setVirtualRoots (SIP_PYLIST) [void (Window*, uint)]; -%MethodCode -//takes windows | (a Python list of Window) - int n = PyList_Size (a0); - - Window array [n]; - PyObject *elem; - - for (int i = 0; i < n; i++) - { - elem = PyList_GetItem (a0, i); - if (!PyLong_Check (elem)) - return NULL; - - array [i] = (Window) PyLong_AsUnsignedLong (elem); - } - - Py_BEGIN_ALLOW_THREADS - sipCpp->setVirtualRoots (array, n); - Py_END_ALLOW_THREADS -%End - - -%If ( KDE_3_5_0 - ) - void setShowingDesktop (bool); - bool showingDesktop () const; -%End - - void closeWindowRequest (Window); - void moveResizeRequest (Window, int, int, Direction); - -%If ( KDE_3_2_0 - ) - void moveResizeWindowRequest (Window, int, int, int, int, int); - -%If ( KDE_3_3_0 - ) - void restackRequest (Window, RequestSource, Window, int, Time); -%End - - void restackRequest (Window, Window, int); -//ig void event (XEvent*, ulong*, int); -%End - -//ig ulong event (XEvent*); - -protected: - virtual void addClient (Window); - virtual void removeClient (Window); - virtual void addSystemTrayWin (Window); - virtual void removeSystemTrayWin (Window); - virtual void changeNumberOfDesktops (int); - virtual void changeDesktopGeometry (int, const NETSize&); - virtual void changeDesktopViewport (int, const NETPoint&); - virtual void changeCurrentDesktop (int); - virtual void changeActiveWindow (Window); - virtual void closeWindow (Window); - virtual void moveResize (Window, int, int, ulong); - -protected: -//igx virtual void virtual_hook (int, void*); - -}; // class NETRootInfo - - -%If ( KDE_3_2_0 - ) - -class NETRootInfo2 : NETRootInfo -{ -%TypeHeaderCode -#include -%End - - -public: - NETRootInfo2 (Window, const char*, SIP_PYLIST, int = -1, bool = 1) [(Display*, Window, const char*, ulong*, int, int = -1, bool = 1)]; -%MethodCode -//takes window | (Window) | rootWindow | (Window) | properties | (ulong) | role | (int) | a3 | (Role = Client) - int count = PyList_Size (a2); - unsigned long *list = new unsigned long [count]; - - for (int i = 0; i < count; i++) - list [i] = (unsigned long)PyInt_AS_LONG (PyList_GET_ITEM (a2, i)); - - Py_BEGIN_ALLOW_THREADS - Display *d = qt_xdisplay (); - sipCpp = new sipNETRootInfo2 (d, a0, a1, list, count, a3, a4); - Py_END_ALLOW_THREADS - - delete list; -%End - -//ig NETRootInfo2 (Display*, const ulong*, int, int = -1, bool = 1); - void sendPing (Window, Time); - -protected: - virtual void gotPing (Window, Time); - virtual void changeActiveWindow (Window, NET::RequestSource, Time, Window); - virtual void restackWindow (Window, Window, int); - virtual void moveResizeWindow (Window, int, int, int, int, int); - -}; // class NETRootInfo2 - -%End - - -%If ( KDE_3_3_0 - ) - -class NETRootInfo3 : NETRootInfo2 -{ -%TypeHeaderCode -#include -%End - - -public: - NETRootInfo3 (Window, const char*, SIP_PYLIST, int = -1, bool = 1) [(Display*, Window, const char*, ulong*, int, int = -1, bool = 1)]; -%MethodCode -//takes window | (Window) | rootWindow | (Window) | properties | (ulong) | role | (int) | a3 | (Role = Client) - int count = PyList_Size (a2); - unsigned long *list = new unsigned long [count]; - - for (int i = 0; i < count; i++) - list [i] = (unsigned long)PyInt_AS_LONG (PyList_GET_ITEM (a2, i)); - - Py_BEGIN_ALLOW_THREADS - Display *d = qt_xdisplay (); - sipCpp = new sipNETRootInfo3 (d, a0, a1, list, count, a3, a4); - Py_END_ALLOW_THREADS - - delete list; -%End - -//ig NETRootInfo3 (Display*, const ulong*, int, int = -1, bool = 1); - void takeActivity (Window, Time, long); - -protected: - virtual void restackWindow (Window, RequestSource, Window, int, Time); - virtual void gotTakeActivity (Window, Time, long); - -}; // class NETRootInfo3 - -%End - - -%If ( KDE_3_5_0 - ) - -class NETRootInfo4 : NETRootInfo3 -{ -%TypeHeaderCode -#include -%End - - -public: - NETRootInfo4 (Window, const char*, SIP_PYLIST, int = -1, bool = 1) [(Display*, Window, const char*, ulong*, int, int = -1, bool = 1)]; -%MethodCode -//takes window | (Window) | rootWindow | (Window) | properties | (ulong) | role | (int) | a3 | (Role = Client) - int count = PyList_Size (a2); - unsigned long *list = new unsigned long [count]; - - for (int i = 0; i < count; i++) - list [i] = (unsigned long)PyInt_AS_LONG (PyList_GET_ITEM (a2, i)); - - Py_BEGIN_ALLOW_THREADS - Display *d = qt_xdisplay (); - sipCpp = new sipNETRootInfo4 (d, a0, a1, list, count, a3, a4); - Py_END_ALLOW_THREADS - - delete list; -%End - -//ig NETRootInfo4 (Display*, const ulong*, int, int = -1, bool = 1); - -protected: - virtual void changeShowingDesktop (bool); - -}; // class NETRootInfo4 - -%End - - -class NETWinInfo : NET -{ -%TypeHeaderCode -#include -%End - - -public: - -%If ( KDE_3_2_0 - ) - - enum - { - PROTOCOLS, - PROTOCOLS2, - PROPERTIES_SIZE - }; - - NETWinInfo (Window, Window, SIP_PYLIST, Role = Client ) [(Display*, Window, Window, const ulong*, int, Role = Client )]; -%MethodCode -//takes window | (Window) | rootWindow | (Window) | properties | (ulong) | role | (int) | a3 | (Role = Client) - int count = PyList_Size (a2); - unsigned long *list = new unsigned long [count]; - - for (int i = 0; i < count; i++) - list [i] = (unsigned long)PyInt_AS_LONG (PyList_GET_ITEM (a2, i)); - - Py_BEGIN_ALLOW_THREADS - Display *d = qt_xdisplay (); - sipCpp = new sipNETWinInfo (d, a0, a1, list, count, a3); - Py_END_ALLOW_THREADS - - delete list; -%End - -%End - - NETWinInfo (Window, Window, ulong, Role = Client ) [(Display*, Window, Window, ulong, Role = Client )]; -%MethodCode -//returns () -//takes window (Window) | rootWindow (Window) | properties (ulong) | role (Role = Client) - - Py_BEGIN_ALLOW_THREADS - Display *d = qt_xdisplay (); - sipCpp = new sipNETWinInfo (d, a0, a1, a2, a3); - Py_END_ALLOW_THREADS -%End - - NETWinInfo (const NETWinInfo&); - -%If ( KDE_3_2_0 - ) - bool hasNETSupport () const; - SIP_PYLIST passedProperties () const [ulong* ()]; -%MethodCode -//returns a Python list of ulong - int count = 2; - const ulong *props; - Py_BEGIN_ALLOW_THREADS - props = sipCpp->passedProperties (); - Py_END_ALLOW_THREADS - - for (int i = 0; i < count; i++) - PyList_Append (sipRes, PyLong_FromUnsignedLong (props [i])); -%End - -%End - - ulong properties () const; - NETRect iconGeometry () const; - ulong state () const; - -%If ( KDE_3_3_0 - ) - NETExtendedStrut extendedStrut () const; -%End - - NETStrut strut () const; - -%If ( KDE_3_2_0 - ) - WindowType windowType (ulong) const; -%End - - WindowType windowType () const; - const char* name () const; - const char* visibleName () const; - const char* iconName () const; - const char* visibleIconName () const; - int desktop () const; - int pid () const; - Bool handledIcons () const; - Window kdeSystemTrayWinFor () const; - MappingState mappingState () const; -//ig void setIcon (NETIcon, Bool = True); - void setIconGeometry (NETRect); - -%If ( KDE_3_3_0 - ) - void setExtendedStrut (const NETExtendedStrut&); -%End - - void setStrut (NETStrut); - void setState (ulong, ulong); - void setWindowType (WindowType); - void setName (const char*); - void setVisibleName (const char*); - void setIconName (const char*); - void setVisibleIconName (const char*); - void setDesktop (int); - void setPid (int); - void setHandledIcons (Bool); - void setKDESystemTrayWinFor (Window); - -%If ( KDE_3_5_0 - ) - void setFrameExtents (NETStrut); -%End - - void setKDEFrameStrut (NETStrut); -//ig NETIcon icon (int = -1, int = -1) const; - -%If ( KDE_3_2_0 - ) - void setUserTime (Time); - Time userTime () const; - void setStartupId (const char*); - const char* startupId () const; - void setAllowedActions (ulong); - ulong allowedActions () const; - Window transientFor () const; - Window groupLeader () const; - -%If ( KDE_3_3_0 - ) - const char* windowClassClass () const; - const char* windowClassName () const; - const char* windowRole () const; - const char* clientMachine () const; -%End - -%End - - void kdeGeometry (NETRect&, NETRect&); - -%If ( KDE_3_2_0 - ) -//ig void event (XEvent*, ulong*, int); -%End - -//ig ulong event (XEvent*); -//ig const int OnAllDesktops; - -protected: - virtual void changeDesktop (int); - virtual void changeState (ulong, ulong); - -protected: -//igx virtual void virtual_hook (int, void*); - -}; // class NETWinInfo - -//force -typedef ulong Time; -//end - - -%MappedType Display -//converts Display -{ -%TypeHeaderCode -#include -%End - -%ConvertFromTypeCode - Py_INCREF(Py_None); - return Py_None; -%End - -%ConvertToTypeCode - *sipCppPtr = qt_xdisplay (); - return 1; -%End -}; - - diff --git a/python/pykde/sip/kdecore/netwm_def.sip b/python/pykde/sip/kdecore/netwm_def.sip deleted file mode 100644 index 7c14ba7a..00000000 --- a/python/pykde/sip/kdecore/netwm_def.sip +++ /dev/null @@ -1,535 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdecore version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class NETPoint -{ -%TypeHeaderCode -#include -%End - - -public: - NETPoint (); - int x; - int y; - -}; // class NETPoint - - -class NETSize -{ -%TypeHeaderCode -#include -%End - - -public: - NETSize (); - int width; - int height; - -}; // class NETSize - - -class NETRect -{ -%TypeHeaderCode -#include -%End - - -public: - NETPoint pos; - NETSize size; - -}; // class NETRect - - -class NETIcon -{ -%TypeHeaderCode -#include -%End - - -public: - NETIcon (); - NETSize size; -//ig uchar* data; - -}; // class NETIcon - - -%If ( KDE_3_3_0 - ) - -class NETExtendedStrut -{ -%TypeHeaderCode -#include -%End - - -public: - NETExtendedStrut (); - 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; - -}; // class NETExtendedStrut - -%End - - -class NETStrut -{ -%TypeHeaderCode -#include -%End - - -public: - NETStrut (); - int left; - int right; - int top; - int bottom; - -}; // class NETStrut - - -class NET -{ -%TypeHeaderCode -#include -%End - - -public: - - enum Role - { - Client, - WindowManager - }; - - -%If ( KDE_3_2_0 - ) - - enum WindowType - { - Unknown, - Normal, - Desktop, - Dock, - Toolbar, - Menu, - Dialog, - Override, - TopMenu, - Tool, - Utility, - Splash - }; - - - enum WindowTypeMask - { - NormalMask, - DesktopMask, - DockMask, - ToolbarMask, - MenuMask, - DialogMask, - OverrideMask, - TopMenuMask, - UtilityMask, - SplashMask - }; - - -%If ( KDE_3_3_1 - ) - - enum - { - AllTypesMask - }; - -%End - - -%If ( KDE_3_3_0 - ) - static bool typeMatchesMask (NET::WindowType, ulong); -%End - - - enum State - { - Modal, - Sticky, - MaxVert, - MaxHoriz, - Max, - Shaded, - SkipTaskbar, - KeepAbove, - StaysOnTop, - SkipPager, - Hidden, - FullScreen, - KeepBelow, - DemandsAttention - }; - - -%If ( KDE_3_5_1 - ) - - enum Direction - { - TopLeft, - Top, - TopRight, - Right, - BottomRight, - Bottom, - BottomLeft, - Left, - Move, - KeyboardSize, - KeyboardMove, - MoveResizeCancel - }; - -%End - -%End - - - enum MappingState - { - Visible, - Withdrawn, - Iconic - }; - - -%If ( KDE_3_2_0 - ) - - enum Action - { - ActionMove, - ActionResize, - ActionMinimize, - ActionShade, - ActionStick, - ActionMaxVert, - ActionMaxHoriz, - ActionMax, - ActionFullScreen, - ActionChangeDesktop, - ActionClose - }; - - -%If ( KDE_3_5_0 - ) - - enum Property - { - Supported, - ClientList, - ClientListStacking, - NumberOfDesktops, - DesktopGeometry, - DesktopViewport, - CurrentDesktop, - DesktopNames, - ActiveWindow, - WorkArea, - SupportingWMCheck, - VirtualRoots, - KDESystemTrayWindows, - CloseWindow, - WMMoveResize, - WMName, - WMVisibleName, - WMDesktop, - WMWindowType, - WMState, - WMStrut, - WMIconGeometry, - WMIcon, - WMPid, - WMHandledIcons, - WMPing, - WMKDESystemTrayWinFor, - XAWMState, - WMFrameExtents, - WMKDEFrameStrut, - WMIconName, - WMVisibleIconName, - WMGeometry - }; - -%End - - - enum - { - OnAllDesktops - }; - - - enum RequestSource - { - FromUnknown, - FromApplication, - FromTool - }; - - -%If ( KDE_3_5_3 - ) - static int timestampCompare (ulong, ulong); - static int timestampDiff (ulong, ulong); -%End - -%End - - -public: - -%If ( KDE_3_2_0 - KDE_3_5_1 ) - - enum Direction - { - TopLeft, - Top, - TopRight, - Right, - BottomRight, - Bottom, - BottomLeft, - Left, - Move, - KeyboardSize, - KeyboardMove - }; - -%End - - -public: - -%If ( - KDE_3_5_0 ) - - enum Property - { - Supported, - ClientList, - ClientListStacking, - NumberOfDesktops, - DesktopGeometry, - DesktopViewport, - CurrentDesktop, - DesktopNames, - ActiveWindow, - WorkArea, - SupportingWMCheck, - VirtualRoots, - KDESystemTrayWindows, - CloseWindow, - WMMoveResize, - WMName, - WMVisibleName, - WMDesktop, - WMWindowType, - WMState, - WMStrut, - WMIconGeometry, - WMIcon, - WMPid, - WMHandledIcons, - WMPing, - WMKDESystemTrayWinFor, - XAWMState, - WMKDEFrameStrut, - WMIconName, - WMVisibleIconName, - WMGeometry - }; - -%End - - -%If ( KDE_3_3_1 - ) - - enum Property2 - { - WM2UserTime, - WM2StartupId, - WM2TransientFor, - WM2GroupLeader, - WM2AllowedActions, - WM2RestackWindow, - WM2MoveResizeWindow, - WM2ExtendedStrut, - WM2TakeActivity, - WM2KDETemporaryRules, - WM2WindowClass, - WM2WindowRole, - WM2ClientMachine - }; - -%End - - -public: - -%If ( KDE_3_3_0 - KDE_3_3_1 ) - - enum - { - AllTypesMask - }; - - - enum Property2 - { - WM2UserTime, - WM2StartupId, - WM2TransientFor, - WM2GroupLeader, - WM2AllowedActions, - WM2RestackWindow, - WM2MoveResizeWindow, - WM2ExtendedStrut, - WM2TakeActivity, - WM2KDETemporaryRules - }; - -%End - - -public: - -%If ( KDE_3_2_0 - KDE_3_3_0 ) - - enum Property2 - { - WM2UserTime, - WM2StartupId, - WM2TransientFor, - WM2GroupLeader, - WM2AllowedActions, - WM2RestackWindow, - WM2MoveResizeWindow - }; - -%End - - -public: - -%If ( KDE_3_1_0 - KDE_3_2_0 ) - - enum WindowType - { - Unknown, - Normal, - Desktop, - Dock, - Toolbar, - Menu, - Dialog, - Override, - TopMenu, - Tool - }; - -%End - - -%If ( - KDE_3_2_0 ) - - enum State - { - Modal, - Sticky, - MaxVert, - MaxHoriz, - Max, - Shaded, - SkipTaskbar, - StaysOnTop, - SkipPager - }; - - - enum Direction - { - TopLeft, - Top, - TopRight, - Right, - BottomRight, - Bottom, - BottomLeft, - Left, - Move - }; - -%End - - -public: - -%If ( - KDE_3_1_0 ) - - enum WindowType - { - Unknown, - Normal, - Desktop, - Dock, - Tool, - Menu, - Dialog, - Override, - Toolbar - }; - -%End - - -}; // class NET - diff --git a/python/pykde/sip/kdefx/kcpuinfo.sip b/python/pykde/sip/kdefx/kcpuinfo.sip deleted file mode 100644 index 9fafc4a3..00000000 --- a/python/pykde/sip/kdefx/kcpuinfo.sip +++ /dev/null @@ -1,52 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdefx version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -%If ( KDE_3_2_0 - ) - -class KCPUInfo -{ -%TypeHeaderCode -#include -%End - - -public: - - enum Extensions - { - IntelMMX, - IntelSSE, - IntelSSE2, - AMD3DNOW, - AltiVec - }; - - static bool haveExtension (uint); - -}; // class KCPUInfo - -%End - diff --git a/python/pykde/sip/kdefx/kdefx-kde320.diff b/python/pykde/sip/kdefx/kdefx-kde320.diff deleted file mode 100644 index 147a7f5a..00000000 --- a/python/pykde/sip/kdefx/kdefx-kde320.diff +++ /dev/null @@ -1 +0,0 @@ -+ %Include kcpuinfo.sip diff --git a/python/pykde/sip/kdefx/kdefx-kde321.diff b/python/pykde/sip/kdefx/kdefx-kde321.diff deleted file mode 100644 index 147a7f5a..00000000 --- a/python/pykde/sip/kdefx/kdefx-kde321.diff +++ /dev/null @@ -1 +0,0 @@ -+ %Include kcpuinfo.sip diff --git a/python/pykde/sip/kdefx/kdefx-kde322.diff b/python/pykde/sip/kdefx/kdefx-kde322.diff deleted file mode 100644 index 147a7f5a..00000000 --- a/python/pykde/sip/kdefx/kdefx-kde322.diff +++ /dev/null @@ -1 +0,0 @@ -+ %Include kcpuinfo.sip diff --git a/python/pykde/sip/kdefx/kdefx-kde323.diff b/python/pykde/sip/kdefx/kdefx-kde323.diff deleted file mode 100644 index 147a7f5a..00000000 --- a/python/pykde/sip/kdefx/kdefx-kde323.diff +++ /dev/null @@ -1 +0,0 @@ -+ %Include kcpuinfo.sip diff --git a/python/pykde/sip/kdefx/kdefx-kde330.diff b/python/pykde/sip/kdefx/kdefx-kde330.diff deleted file mode 100644 index 147a7f5a..00000000 --- a/python/pykde/sip/kdefx/kdefx-kde330.diff +++ /dev/null @@ -1 +0,0 @@ -+ %Include kcpuinfo.sip diff --git a/python/pykde/sip/kdefx/kdefx-kde331.diff b/python/pykde/sip/kdefx/kdefx-kde331.diff deleted file mode 100644 index 147a7f5a..00000000 --- a/python/pykde/sip/kdefx/kdefx-kde331.diff +++ /dev/null @@ -1 +0,0 @@ -+ %Include kcpuinfo.sip diff --git a/python/pykde/sip/kdefx/kdefx-kde332.diff b/python/pykde/sip/kdefx/kdefx-kde332.diff deleted file mode 100644 index 147a7f5a..00000000 --- a/python/pykde/sip/kdefx/kdefx-kde332.diff +++ /dev/null @@ -1 +0,0 @@ -+ %Include kcpuinfo.sip diff --git a/python/pykde/sip/kdefx/kdefx-kde340.diff b/python/pykde/sip/kdefx/kdefx-kde340.diff deleted file mode 100644 index 147a7f5a..00000000 --- a/python/pykde/sip/kdefx/kdefx-kde340.diff +++ /dev/null @@ -1 +0,0 @@ -+ %Include kcpuinfo.sip diff --git a/python/pykde/sip/kdefx/kdefx-kde341.diff b/python/pykde/sip/kdefx/kdefx-kde341.diff deleted file mode 100644 index 147a7f5a..00000000 --- a/python/pykde/sip/kdefx/kdefx-kde341.diff +++ /dev/null @@ -1 +0,0 @@ -+ %Include kcpuinfo.sip diff --git a/python/pykde/sip/kdefx/kdefx-kde342.diff b/python/pykde/sip/kdefx/kdefx-kde342.diff deleted file mode 100644 index 147a7f5a..00000000 --- a/python/pykde/sip/kdefx/kdefx-kde342.diff +++ /dev/null @@ -1 +0,0 @@ -+ %Include kcpuinfo.sip diff --git a/python/pykde/sip/kdefx/kdefx-kde343.diff b/python/pykde/sip/kdefx/kdefx-kde343.diff deleted file mode 100644 index 147a7f5a..00000000 --- a/python/pykde/sip/kdefx/kdefx-kde343.diff +++ /dev/null @@ -1 +0,0 @@ -+ %Include kcpuinfo.sip diff --git a/python/pykde/sip/kdefx/kdefx-kde350.diff b/python/pykde/sip/kdefx/kdefx-kde350.diff deleted file mode 100644 index 147a7f5a..00000000 --- a/python/pykde/sip/kdefx/kdefx-kde350.diff +++ /dev/null @@ -1 +0,0 @@ -+ %Include kcpuinfo.sip diff --git a/python/pykde/sip/kdefx/kdefx-kde351.diff b/python/pykde/sip/kdefx/kdefx-kde351.diff deleted file mode 100644 index 147a7f5a..00000000 --- a/python/pykde/sip/kdefx/kdefx-kde351.diff +++ /dev/null @@ -1 +0,0 @@ -+ %Include kcpuinfo.sip diff --git a/python/pykde/sip/kdefx/kdefx-kde352.diff b/python/pykde/sip/kdefx/kdefx-kde352.diff deleted file mode 100644 index 147a7f5a..00000000 --- a/python/pykde/sip/kdefx/kdefx-kde352.diff +++ /dev/null @@ -1 +0,0 @@ -+ %Include kcpuinfo.sip diff --git a/python/pykde/sip/kdefx/kdefx-kde353.diff b/python/pykde/sip/kdefx/kdefx-kde353.diff deleted file mode 100644 index 147a7f5a..00000000 --- a/python/pykde/sip/kdefx/kdefx-kde353.diff +++ /dev/null @@ -1 +0,0 @@ -+ %Include kcpuinfo.sip diff --git a/python/pykde/sip/kdefx/kdefxmod.sip b/python/pykde/sip/kdefx/kdefxmod.sip deleted file mode 100644 index b3dc3b03..00000000 --- a/python/pykde/sip/kdefx/kdefxmod.sip +++ /dev/null @@ -1,41 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdefx version KDE_3_5_2 - -%Copying - - This software is free software; you can redistribute it and/or - modify it under the terms of the GNU General Public License as - published by the Free Software Foundation; either version 2 of - the License, or (at your option) any later version. - - This software is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public - License along with this library; see the file COPYING. - If not, write to the Free Software Foundation, Inc., - 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - -%End - -%Module kdefx - -%Import qt/qtmod.sip -%Import dcopmod.sip -%Import kdecoremod.sip - -%Include kdrawutil.sip -%Include kimageeffect.sip -%Include kpixmap.sip -%Include kpixmapeffect.sip -%Include kpixmapsplitter.sip -%Include kstyle.sip -%Include kcpuinfo.sip diff --git a/python/pykde/sip/kdefx/kdefxmod.sip.in b/python/pykde/sip/kdefx/kdefxmod.sip.in deleted file mode 100644 index 6cbad382..00000000 --- a/python/pykde/sip/kdefx/kdefxmod.sip.in +++ /dev/null @@ -1,41 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdefx version KDE_3_5_2 - -%Copying - - This software is free software; you can redistribute it and/or - modify it under the terms of the GNU General Public License as - published by the Free Software Foundation; either version 2 of - the License, or (at your option) any later version. - - This software is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public - License along with this library; see the file COPYING. - If not, write to the Free Software Foundation, Inc., - 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - -%End - -%Module kdefx - -%Import qt/qtmod.sip -%Import dcopmod.sip -%Import kdecoremod.sip - -%Include kdrawutil.sip -%Include kimageeffect.sip -%Include kpixmap.sip -%Include kpixmapeffect.sip -%Include kpixmapsplitter.sip -%Include kstyle.sip -@mark@ diff --git a/python/pykde/sip/kdefx/kdrawutil.sip b/python/pykde/sip/kdefx/kdrawutil.sip deleted file mode 100644 index 7afea686..00000000 --- a/python/pykde/sip/kdefx/kdrawutil.sip +++ /dev/null @@ -1,41 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdefx version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - -%ModuleHeaderCode -#include -#include -#include -%End - -void kDrawNextButton (QPainter*, const QRect&, const QColorGroup&, bool = 0, const QBrush* = 0); -void kDrawNextButton (QPainter*, int, int, int, int, const QColorGroup&, bool = 0, const QBrush* = 0); -void kDrawBeButton (QPainter*, QRect&, const QColorGroup&, bool = 0, const QBrush* = 0); -void kDrawBeButton (QPainter*, int, int, int, int, const QColorGroup&, bool = 0, const QBrush* = 0); -void kDrawRoundButton (QPainter*, const QRect&, const QColorGroup&, bool = 0); -void kDrawRoundButton (QPainter*, int, int, int, int, const QColorGroup&, bool = 0); -void kRoundMaskRegion (QRegion&, int, int, int, int); -void kDrawRoundMask (QPainter*, int, int, int, int, bool = 0); -void kColorBitmaps (QPainter*, const QColorGroup&, int, int, QBitmap* = 0, QBitmap* = 0, QBitmap* = 0, QBitmap* = 0, QBitmap* = 0, QBitmap* = 0); -void kColorBitmaps (QPainter*, const QColorGroup&, int, int, int, int, bool = 1, const uchar* = 0, const uchar* = 0, const uchar* = 0, const uchar* = 0, const uchar* = 0, const uchar* = 0); diff --git a/python/pykde/sip/kdefx/kimageeffect.sip b/python/pykde/sip/kdefx/kimageeffect.sip deleted file mode 100644 index b75243e9..00000000 --- a/python/pykde/sip/kdefx/kimageeffect.sip +++ /dev/null @@ -1,205 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdefx version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KImageEffect -{ -%TypeHeaderCode -#include -%End - - -public: - - enum GradientType - { - VerticalGradient, - HorizontalGradient, - DiagonalGradient, - CrossDiagonalGradient, - PyramidGradient, - RectangleGradient, - PipeCrossGradient, - EllipticGradient - }; - - - enum RGBComponent - { - Red, - Green, - Blue, - Gray, - All - }; - - - enum Lighting - { - NorthLite, - NWLite, - WestLite, - SWLite, - SouthLite, - SELite, - EastLite, - NELite - }; - - - enum ModulationType - { - Intensity, - Saturation, - HueShift, - Contrast - }; - - - enum NoiseType - { - UniformNoise, - GaussianNoise, - MultiplicativeGaussianNoise, - ImpulseNoise, - LaplacianNoise, - PoissonNoise - }; - - - enum RotateDirection - { - Rotate90, - Rotate180, - Rotate270 - }; - - -%If ( KDE_3_3_0 - ) - - enum BumpmapType - { - Linear, - Spherical, - Sinuosidal - }; - -%End - - static QImage gradient (const QSize&, const QColor&, const QColor&, KImageEffect::GradientType, int = 3); - static QImage unbalancedGradient (const QSize&, const QColor&, const QColor&, KImageEffect::GradientType, int = 100, int = 100, int = 3); - static QImage& blend (const QColor&, QImage&, float); - static QImage& blend (QImage&, QImage&, float); - static QImage& blend (QImage&, float, const QColor&, KImageEffect::GradientType, bool = 0); - static QImage& blend (QImage&, QImage&, KImageEffect::GradientType, int = 100, int = 100); - static QImage& blend (QImage&, QImage&, QImage&, KImageEffect::RGBComponent); - static bool blend (const QImage&, const QImage&, QImage&); - static bool blend (int& /In, Out/, int& /In, Out/, const QImage&, const QImage&, QImage&); - static bool blendOnLower (int, int, const QImage&, const QImage&); - -%If ( KDE_3_2_0 - ) - static void blendOnLower (const QImage&, const QPoint&, QImage&, const QRect&); - static void blendOnLower (const QImage&, const QPoint&, QImage&, const QRect&, float); - - enum Disposition - { - NoImage, - Centered, - Tiled, - CenterTiled, - CenteredMaxpect, - TiledMaxpect, - Scaled, - CenteredAutoFit - }; - - static QRect computeDestinationRect (const QSize&, KImageEffect::Disposition, QImage&); - static void blendOnLower (QImage&, QImage&, KImageEffect::Disposition, float); -%End - - static QImage& channelIntensity (QImage&, float, KImageEffect::RGBComponent); - static QImage& fade (QImage&, float, const QColor&); - static QImage& flatten (QImage&, const QColor&, const QColor&, int = 0); - static QImage& hash (QImage&, KImageEffect::Lighting = NorthLite , uint = 0); - static QImage& intensity (QImage&, float); - static QImage& modulate (QImage&, QImage&, bool, KImageEffect::ModulationType, int, KImageEffect::RGBComponent); - static QImage& toGray (QImage&, bool = 0); - static QImage& desaturate (QImage&, float = 0.3); - static QImage& contrast (QImage&, int); -//ig static QImage& dither (QImage&, const QColor*, int); - static QImage& selectedImage (QImage&, const QColor&); - static void contrastHSV (QImage&, bool = 1); - static void normalize (QImage&); - static void equalize (QImage&); - static void threshold (QImage&, uint = 128); - static void solarize (QImage&, double = 50.0); - -%If ( KDE_3_2_0 - ) - static QImage emboss (QImage&, double, double); -%End - - static QImage emboss (QImage&); - static QImage despeckle (QImage&); - -%If ( KDE_3_2_0 - ) - static QImage charcoal (QImage&, double, double); -%End - - static QImage charcoal (QImage&, double = 50.0); - static QImage rotate (QImage&, KImageEffect::RotateDirection); - static QImage sample (QImage&, int, int); - static QImage addNoise (QImage&, KImageEffect::NoiseType = GaussianNoise ); - -%If ( KDE_3_2_0 - ) - static QImage blur (QImage&, double, double); -%End - - static QImage blur (QImage&, double = 50.0); - static QImage edge (QImage&, double = 50.0); - static QImage implode (QImage&, double = 30.0, uint = -1); - -%If ( KDE_3_2_0 - ) - static QImage oilPaintConvolve (QImage&, double); -%End - - static QImage oilPaint (QImage&, int = 3); - -%If ( KDE_3_2_0 - ) - static QImage sharpen (QImage&, double, double); -%End - - static QImage sharpen (QImage&, double = 30.0); - static QImage spread (QImage&, uint = 3); - static QImage shade (QImage&, bool = 1, double = 30.0, double = 30.0); - static QImage swirl (QImage&, double = 50.0, uint = -1); - static QImage wave (QImage&, double = 25.0, double = 150.0, uint = -1); - -%If ( KDE_3_3_0 - ) - static QImage bumpmap (QImage&, QImage&, double, double, int, int, int, int, int, bool, bool, KImageEffect::BumpmapType, bool); -%End - - -}; // class KImageEffect - diff --git a/python/pykde/sip/kdefx/kpixmap.sip b/python/pykde/sip/kdefx/kpixmap.sip deleted file mode 100644 index ba19245b..00000000 --- a/python/pykde/sip/kdefx/kpixmap.sip +++ /dev/null @@ -1,65 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdefx version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KPixmap : QPixmap -{ -%TypeHeaderCode -#include -#include -#include -%End - - -public: - - enum ColorMode - { - Auto, - Color, - Mono, - LowColor, - WebColor - }; - - - enum GradientMode - { - Horizontal, - Vertical, - Diagonal, - CrossDiagonal - }; - - KPixmap (); - KPixmap (const QPixmap&); - bool convertFromImage (const QImage&, int); - bool convertFromImage (const QImage&, ColorMode = WebColor ); - bool load (const QString&, const char*, int); - bool load (const QString&, const char* = 0, ColorMode = WebColor ); - bool checkColorTable (const QImage&); - -}; // class KPixmap - diff --git a/python/pykde/sip/kdefx/kpixmapeffect.sip b/python/pykde/sip/kdefx/kpixmapeffect.sip deleted file mode 100644 index f1d92794..00000000 --- a/python/pykde/sip/kdefx/kpixmapeffect.sip +++ /dev/null @@ -1,85 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdefx version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KPixmapEffect -{ -%TypeHeaderCode -#include -%End - - -public: - - enum GradientType - { - VerticalGradient, - HorizontalGradient, - DiagonalGradient, - CrossDiagonalGradient, - PyramidGradient, - RectangleGradient, - PipeCrossGradient, - EllipticGradient - }; - - - enum RGBComponent - { - Red, - Green, - Blue - }; - - - enum Lighting - { - NorthLite, - NWLite, - WestLite, - SWLite, - SouthLite, - SELite, - EastLite, - NELite - }; - - static KPixmap& gradient (KPixmap&, const QColor&, const QColor&, KPixmapEffect::GradientType, int = 3); - static KPixmap& unbalancedGradient (KPixmap&, const QColor&, const QColor&, KPixmapEffect::GradientType, int = 100, int = 100, int = 3); - static KPixmap createTiled (const KPixmap&, QSize); - static KPixmap& intensity (KPixmap&, float); - static KPixmap& channelIntensity (KPixmap&, float, KPixmapEffect::RGBComponent); - static KPixmap& blend (KPixmap&, float, const QColor&, KPixmapEffect::GradientType, bool = 0, int = 3); - static KPixmap& hash (KPixmap&, KPixmapEffect::Lighting = NorthLite , uint = 0, int = 3); - static KPixmap pattern (const KPixmap&, QSize, const QColor&, const QColor&, int = 8); - static KPixmap& fade (KPixmap&, double, const QColor&); - static KPixmap& toGray (KPixmap&, bool = 0); - static KPixmap& desaturate (KPixmap&, float = 0.3); - static KPixmap& contrast (KPixmap&, int); - static KPixmap& dither (KPixmap&, const QColor*, int); - static KPixmap selectedPixmap (const KPixmap&, const QColor&); - -}; // class KPixmapEffect - diff --git a/python/pykde/sip/kdefx/kpixmapsplitter.sip b/python/pykde/sip/kdefx/kpixmapsplitter.sip deleted file mode 100644 index 638d7341..00000000 --- a/python/pykde/sip/kdefx/kpixmapsplitter.sip +++ /dev/null @@ -1,46 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdefx version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KPixmapSplitter -{ -%TypeHeaderCode -#include -%End - - -public: - KPixmapSplitter (); - void setPixmap (const QPixmap&); - const QPixmap& pixmap () const; - void setItemSize (const QSize&); - QSize itemSize () const; - void setVSpacing (int); - void setHSpacing (int); - QRect coordinates (int); - QRect coordinates (const QChar&); - -}; // class KPixmapSplitter - diff --git a/python/pykde/sip/kdefx/kstyle.sip b/python/pykde/sip/kdefx/kstyle.sip deleted file mode 100644 index 42ee3787..00000000 --- a/python/pykde/sip/kdefx/kstyle.sip +++ /dev/null @@ -1,126 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdefx version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KStyle : QCommonStyle -{ -%TypeHeaderCode -#include -%End - - -public: - typedef uint KStyleFlags; - - enum KStyleOption - { - Default, - AllowMenuTransparency, - FilledFrameWorkaround - }; - - - enum KStyleScrollBarType - { - WindowsStyleScrollBar, - PlatinumStyleScrollBar, - ThreeButtonScrollBar, - NextStyleScrollBar - }; - - KStyle (KStyle::KStyleFlags = KStyle ::Default , KStyle::KStyleScrollBarType = KStyle ::WindowsStyleScrollBar ); - -%If ( KDE_3_1_0 - ) - static QString defaultStyle (); -%End - - void setScrollBarType (KStyle::KStyleScrollBarType); - KStyle::KStyleFlags styleFlags () const; - virtual void renderMenuBlendPixmap (KPixmap&, const QColorGroup&, const QPopupMenu*) const; - - enum KStylePrimitive - { - KPE_DockWindowHandle, - KPE_ToolBarHandle, - KPE_GeneralHandle, - KPE_SliderGroove, - KPE_SliderHandle, - KPE_ListViewExpander, - KPE_ListViewBranch - }; - - virtual void drawKStylePrimitive (KStyle::KStylePrimitive, QPainter*, const QWidget*, const QRect&, const QColorGroup&, SFlags = Style_Default , const QStyleOption& = QStyleOption (QStyleOption ::Default )) const; - - enum KStylePixelMetric - { - KPM_MenuItemSeparatorHeight, - KPM_MenuItemHMargin, - KPM_MenuItemVMargin, - KPM_MenuItemHFrame, - KPM_MenuItemVFrame, - KPM_MenuItemCheckMarkHMargin, - KPM_MenuItemArrowHMargin, - KPM_MenuItemTabSpacing, - KPM_ListViewBranchThickness - }; - - int kPixelMetric (KStyle::KStylePixelMetric, const QWidget* = 0) const; - void polish (QWidget*); - void unPolish (QWidget*); - void polishPopupMenu (QPopupMenu*); - void drawPrimitive (PrimitiveElement, QPainter*, const QRect&, const QColorGroup&, SFlags = Style_Default , const QStyleOption& = QStyleOption (QStyleOption ::Default )) const; - void drawControl (ControlElement, QPainter*, const QWidget*, const QRect&, const QColorGroup&, SFlags = Style_Default , const QStyleOption& = QStyleOption (QStyleOption ::Default )) const; - void drawComplexControl (ComplexControl, QPainter*, const QWidget*, const QRect&, const QColorGroup&, SFlags = Style_Default , SCFlags = SC_All , SCFlags = SC_None , const QStyleOption& = QStyleOption (QStyleOption ::Default )) const; - SubControl querySubControl (ComplexControl, const QWidget*, const QPoint&, const QStyleOption& = QStyleOption (QStyleOption ::Default )) const; - QRect querySubControlMetrics (ComplexControl, const QWidget*, SubControl, const QStyleOption& = QStyleOption (QStyleOption ::Default )) const; - int pixelMetric (PixelMetric, const QWidget* = 0) const; - QRect subRect (SubRect, const QWidget*) const; - QPixmap stylePixmap (StylePixmap, const QWidget* = 0, const QStyleOption& = QStyleOption (QStyleOption ::Default )) const; - int styleHint (StyleHint, const QWidget* = 0, const QStyleOption& = QStyleOption (QStyleOption ::Default ), QStyleHintReturn* = 0) const; - -protected: - bool eventFilter (QObject*, QEvent*); - -private: - KStyle (const KStyle&); - -protected: -//igx virtual void virtual_hook (int, void*); - -//force -%ConvertToSubClassCode - // The table of Python class objects indexed by their names. The table - // must be sorted by name. - - static sipStringTypeClassMap map[] = { - {sipName_KStyle, &sipClass_KStyle}, - }; - - sipClass = sipMapStringToClass(sipCpp -> className(),map,sizeof (map)/sizeof (map[0])); -%End -//end - -}; // class KStyle - diff --git a/python/pykde/sip/kdeprint/driver.sip b/python/pykde/sip/kdeprint/driver.sip deleted file mode 100644 index c787b230..00000000 --- a/python/pykde/sip/kdeprint/driver.sip +++ /dev/null @@ -1,338 +0,0 @@ -// -// Copyright 2005 Jim Bublitz -// Earlier copyrights 1998 - 2004 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdeprint version KDE_3_4_0 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -%If ( KDE_3_1_0 - ) - -class DrBase -{ -%TypeHeaderCode -#include -%End - - -public: - - enum Type - { - Base, - Main, - ChoiceGroup, - Group, - String, - Integer, - Float, - List, - Boolean - }; - - DrBase (); - DrBase::Type type () const; - bool isOption () const; - const QString& get (const QString&) const; - void set (const QString&, const QString&); - bool has (const QString&) const; - const QString& name () const; - void setName (const QString&); - bool conflict () const; - void setConflict (bool); - virtual QString valueText (); - virtual QString prettyText (); - virtual void setValueText (const QString&); -//ig virtual DriverItem* createItem (DriverItem* /Transfer/, DriverItem* = 0); - virtual void setOptions (const QMap&); - virtual void getOptions (QMap&, bool = 0); - virtual DrBase* clone (); - -protected: - -}; // class DrBase - -%End - - -%If ( KDE_3_1_0 - ) - -class DrGroup : DrBase -{ -%TypeHeaderCode -#include -%End - - -public: - DrGroup (); - void addOption (DrBase*); - void addGroup (DrGroup*); - void addObject (DrBase*); - void clearConflict (); - void removeOption (const QString&); - void removeGroup (DrGroup*); - bool isEmpty (); -//ig virtual DriverItem* createItem (DriverItem* /Transfer/, DriverItem* = 0); -//ig DrBase* findOption (const QString&, DrGroup** = 0); -//ig DrGroup* findGroup (DrGroup*, DrGroup** = 0); - void setOptions (const QMap&); - void getOptions (QMap&, bool = 0); - DrBase* clone (); -//ig const QPtrList& groups (); -//ig const QPtrList& options (); - -%If ( KDE_3_2_0 - ) - static QString groupForOption (const QString&); -%End - - -protected: -//ig void createTree (DriverItem* /Transfer/); -//ig void flattenGroup (QMap&, int&); - -protected: - -}; // class DrGroup - -%End - - -%If ( KDE_3_1_0 - ) - -class DrMain : DrGroup -{ -%TypeHeaderCode -#include -%End - - -public: - DrMain (); -//ig DriverItem* createTreeView (QListView* /Transfer/); - void addConstraint (DrConstraint*); - int checkConstraints (); - DrPageSize* findPageSize (const QString&); - void addPageSize (DrPageSize*); - void removeOptionGlobally (const QString&); - void removeGroupGlobally (DrGroup*); -//ig QMap flatten (); - DrMain* cloneDriver (); - -protected: - -}; // class DrMain - -%End - - -%If ( KDE_3_1_0 - ) - -class DrChoiceGroup : DrGroup -{ -%TypeHeaderCode -#include -%End - - -public: - DrChoiceGroup (); -//ig DriverItem* createItem (DriverItem* /Transfer/, DriverItem* = 0); - -}; // class DrChoiceGroup - -%End - - -%If ( KDE_3_1_0 - ) - -class DrStringOption : DrBase -{ -%TypeHeaderCode -#include -%End - - -public: - DrStringOption (); - virtual QString valueText (); - virtual void setValueText (const QString&); - -protected: - -}; // class DrStringOption - -%End - - -%If ( KDE_3_1_0 - ) - -class DrIntegerOption : DrBase -{ -%TypeHeaderCode -#include -%End - - -public: - DrIntegerOption (); - virtual QString valueText (); - virtual void setValueText (const QString&); - QString fixedVal (); - -protected: - -}; // class DrIntegerOption - -%End - - -%If ( KDE_3_1_0 - ) - -class DrFloatOption : DrBase -{ -%TypeHeaderCode -#include -%End - - -public: - DrFloatOption (); - virtual QString valueText (); - virtual void setValueText (const QString&); - QString fixedVal (); - -protected: - -}; // class DrFloatOption - -%End - - -%If ( KDE_3_1_0 - ) - -class DrListOption : DrBase -{ -%TypeHeaderCode -#include -%End - - -public: - DrListOption (); - void addChoice (DrBase*); -//ig QPtrList* choices (); - DrBase* currentChoice () const; - DrBase* findChoice (const QString&); - void setChoice (int); - virtual QString valueText (); - virtual QString prettyText (); - virtual void setValueText (const QString&); - void setOptions (const QMap&); - void getOptions (QMap&, bool = 0); -//ig DriverItem* createItem (DriverItem* /Transfer/, DriverItem* = 0); - DrBase* clone (); - -protected: - -}; // class DrListOption - -%End - - -%If ( KDE_3_1_0 - ) - -class DrBooleanOption : DrListOption -{ -%TypeHeaderCode -#include -%End - - -public: - DrBooleanOption (); - -}; // class DrBooleanOption - -%End - - -%If ( KDE_3_1_0 - ) - -class DrConstraint -{ -%TypeHeaderCode -#include -%End - - -public: - DrConstraint (const QString&, const QString&, const QString& = QString ::null , const QString& = QString ::null ); - DrConstraint (const DrConstraint&); - bool check (DrMain*); - -protected: - -}; // class DrConstraint - -%End - - -%If ( KDE_3_1_0 - ) - -class DrPageSize -{ -%TypeHeaderCode -#include -%End - - -public: - DrPageSize (const QString&, int, int, int, int, int, int); - DrPageSize (const DrPageSize&); - -%If ( KDE_3_2_0 - ) - float pageWidth () const; - float pageHeight () const; - float leftMargin () const; - float rightMargin () const; - float topMargin () const; - float bottomMargin () const; - QString pageName () const; -%End - - QSize pageSize () const; - QRect pageRect () const; - QSize margins () const; - -protected: - -public: - -%If ( - KDE_3_2_0 ) - QString name () const; -%End - - -}; // class DrPageSize - -%End - diff --git a/python/pykde/sip/kdeprint/kdeprint-kde310.diff b/python/pykde/sip/kdeprint/kdeprint-kde310.diff deleted file mode 100644 index 705efd49..00000000 --- a/python/pykde/sip/kdeprint/kdeprint-kde310.diff +++ /dev/null @@ -1,2 +0,0 @@ -+ %Include kmjob.sip -+ %Include kmjobmanager.sip diff --git a/python/pykde/sip/kdeprint/kdeprint-kde311.diff b/python/pykde/sip/kdeprint/kdeprint-kde311.diff deleted file mode 100644 index 705efd49..00000000 --- a/python/pykde/sip/kdeprint/kdeprint-kde311.diff +++ /dev/null @@ -1,2 +0,0 @@ -+ %Include kmjob.sip -+ %Include kmjobmanager.sip diff --git a/python/pykde/sip/kdeprint/kdeprint-kde312.diff b/python/pykde/sip/kdeprint/kdeprint-kde312.diff deleted file mode 100644 index 705efd49..00000000 --- a/python/pykde/sip/kdeprint/kdeprint-kde312.diff +++ /dev/null @@ -1,2 +0,0 @@ -+ %Include kmjob.sip -+ %Include kmjobmanager.sip diff --git a/python/pykde/sip/kdeprint/kdeprint-kde313.diff b/python/pykde/sip/kdeprint/kdeprint-kde313.diff deleted file mode 100644 index 705efd49..00000000 --- a/python/pykde/sip/kdeprint/kdeprint-kde313.diff +++ /dev/null @@ -1,2 +0,0 @@ -+ %Include kmjob.sip -+ %Include kmjobmanager.sip diff --git a/python/pykde/sip/kdeprint/kdeprint-kde314.diff b/python/pykde/sip/kdeprint/kdeprint-kde314.diff deleted file mode 100644 index 705efd49..00000000 --- a/python/pykde/sip/kdeprint/kdeprint-kde314.diff +++ /dev/null @@ -1,2 +0,0 @@ -+ %Include kmjob.sip -+ %Include kmjobmanager.sip diff --git a/python/pykde/sip/kdeprint/kdeprint-kde315.diff b/python/pykde/sip/kdeprint/kdeprint-kde315.diff deleted file mode 100644 index 705efd49..00000000 --- a/python/pykde/sip/kdeprint/kdeprint-kde315.diff +++ /dev/null @@ -1,2 +0,0 @@ -+ %Include kmjob.sip -+ %Include kmjobmanager.sip diff --git a/python/pykde/sip/kdeprint/kdeprint-kde320.diff b/python/pykde/sip/kdeprint/kdeprint-kde320.diff deleted file mode 100644 index 705efd49..00000000 --- a/python/pykde/sip/kdeprint/kdeprint-kde320.diff +++ /dev/null @@ -1,2 +0,0 @@ -+ %Include kmjob.sip -+ %Include kmjobmanager.sip diff --git a/python/pykde/sip/kdeprint/kdeprint-kde321.diff b/python/pykde/sip/kdeprint/kdeprint-kde321.diff deleted file mode 100644 index 705efd49..00000000 --- a/python/pykde/sip/kdeprint/kdeprint-kde321.diff +++ /dev/null @@ -1,2 +0,0 @@ -+ %Include kmjob.sip -+ %Include kmjobmanager.sip diff --git a/python/pykde/sip/kdeprint/kdeprint-kde322.diff b/python/pykde/sip/kdeprint/kdeprint-kde322.diff deleted file mode 100644 index 705efd49..00000000 --- a/python/pykde/sip/kdeprint/kdeprint-kde322.diff +++ /dev/null @@ -1,2 +0,0 @@ -+ %Include kmjob.sip -+ %Include kmjobmanager.sip diff --git a/python/pykde/sip/kdeprint/kdeprint-kde323.diff b/python/pykde/sip/kdeprint/kdeprint-kde323.diff deleted file mode 100644 index 705efd49..00000000 --- a/python/pykde/sip/kdeprint/kdeprint-kde323.diff +++ /dev/null @@ -1,2 +0,0 @@ -+ %Include kmjob.sip -+ %Include kmjobmanager.sip diff --git a/python/pykde/sip/kdeprint/kdeprint-kde330.diff b/python/pykde/sip/kdeprint/kdeprint-kde330.diff deleted file mode 100644 index 705efd49..00000000 --- a/python/pykde/sip/kdeprint/kdeprint-kde330.diff +++ /dev/null @@ -1,2 +0,0 @@ -+ %Include kmjob.sip -+ %Include kmjobmanager.sip diff --git a/python/pykde/sip/kdeprint/kdeprint-kde331.diff b/python/pykde/sip/kdeprint/kdeprint-kde331.diff deleted file mode 100644 index 705efd49..00000000 --- a/python/pykde/sip/kdeprint/kdeprint-kde331.diff +++ /dev/null @@ -1,2 +0,0 @@ -+ %Include kmjob.sip -+ %Include kmjobmanager.sip diff --git a/python/pykde/sip/kdeprint/kdeprint-kde332.diff b/python/pykde/sip/kdeprint/kdeprint-kde332.diff deleted file mode 100644 index 705efd49..00000000 --- a/python/pykde/sip/kdeprint/kdeprint-kde332.diff +++ /dev/null @@ -1,2 +0,0 @@ -+ %Include kmjob.sip -+ %Include kmjobmanager.sip diff --git a/python/pykde/sip/kdeprint/kdeprint-kde340.diff b/python/pykde/sip/kdeprint/kdeprint-kde340.diff deleted file mode 100644 index 705efd49..00000000 --- a/python/pykde/sip/kdeprint/kdeprint-kde340.diff +++ /dev/null @@ -1,2 +0,0 @@ -+ %Include kmjob.sip -+ %Include kmjobmanager.sip diff --git a/python/pykde/sip/kdeprint/kdeprint-kde341.diff b/python/pykde/sip/kdeprint/kdeprint-kde341.diff deleted file mode 100644 index 705efd49..00000000 --- a/python/pykde/sip/kdeprint/kdeprint-kde341.diff +++ /dev/null @@ -1,2 +0,0 @@ -+ %Include kmjob.sip -+ %Include kmjobmanager.sip diff --git a/python/pykde/sip/kdeprint/kdeprint-kde342.diff b/python/pykde/sip/kdeprint/kdeprint-kde342.diff deleted file mode 100644 index 705efd49..00000000 --- a/python/pykde/sip/kdeprint/kdeprint-kde342.diff +++ /dev/null @@ -1,2 +0,0 @@ -+ %Include kmjob.sip -+ %Include kmjobmanager.sip diff --git a/python/pykde/sip/kdeprint/kdeprint-kde343.diff b/python/pykde/sip/kdeprint/kdeprint-kde343.diff deleted file mode 100644 index 705efd49..00000000 --- a/python/pykde/sip/kdeprint/kdeprint-kde343.diff +++ /dev/null @@ -1,2 +0,0 @@ -+ %Include kmjob.sip -+ %Include kmjobmanager.sip diff --git a/python/pykde/sip/kdeprint/kdeprint-kde350.diff b/python/pykde/sip/kdeprint/kdeprint-kde350.diff deleted file mode 100644 index 705efd49..00000000 --- a/python/pykde/sip/kdeprint/kdeprint-kde350.diff +++ /dev/null @@ -1,2 +0,0 @@ -+ %Include kmjob.sip -+ %Include kmjobmanager.sip diff --git a/python/pykde/sip/kdeprint/kdeprint-kde351.diff b/python/pykde/sip/kdeprint/kdeprint-kde351.diff deleted file mode 100644 index 705efd49..00000000 --- a/python/pykde/sip/kdeprint/kdeprint-kde351.diff +++ /dev/null @@ -1,2 +0,0 @@ -+ %Include kmjob.sip -+ %Include kmjobmanager.sip diff --git a/python/pykde/sip/kdeprint/kdeprint-kde352.diff b/python/pykde/sip/kdeprint/kdeprint-kde352.diff deleted file mode 100644 index 705efd49..00000000 --- a/python/pykde/sip/kdeprint/kdeprint-kde352.diff +++ /dev/null @@ -1,2 +0,0 @@ -+ %Include kmjob.sip -+ %Include kmjobmanager.sip diff --git a/python/pykde/sip/kdeprint/kdeprint-kde353.diff b/python/pykde/sip/kdeprint/kdeprint-kde353.diff deleted file mode 100644 index 705efd49..00000000 --- a/python/pykde/sip/kdeprint/kdeprint-kde353.diff +++ /dev/null @@ -1,2 +0,0 @@ -+ %Include kmjob.sip -+ %Include kmjobmanager.sip diff --git a/python/pykde/sip/kdeprint/kdeprintmod.sip b/python/pykde/sip/kdeprint/kdeprintmod.sip deleted file mode 100644 index 1e4f81a7..00000000 --- a/python/pykde/sip/kdeprint/kdeprintmod.sip +++ /dev/null @@ -1,48 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdeprint version KDE_3_5_2 - -%Copying - - This software is free software; you can redistribute it and/or - modify it under the terms of the GNU General Public License as - published by the Free Software Foundation; either version 2 of - the License, or (at your option) any later version. - - This software is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public - License along with this library; see the file COPYING. - If not, write to the Free Software Foundation, Inc., - 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - -%End - -%Module kdeprint - -%Import qt/qtmod.sip -%Import qtxml/qtxmlmod.sip -%Import dcopmod.sip -%Import kdecoremod.sip -%Import kdefxmod.sip -%Import kdeuimod.sip - -%Include kmmanager.sip -%Include kmobject.sip -%Include kmprinter.sip -%Include kpreloadobject.sip -%Include kprintaction.sip -%Include kprintdialog.sip -%Include kprintdialogpage.sip -%Include kprinter.sip -%Include kmjob.sip -%Include kmjobmanager.sip - diff --git a/python/pykde/sip/kdeprint/kdeprintmod.sip.in b/python/pykde/sip/kdeprint/kdeprintmod.sip.in deleted file mode 100644 index adaa33d6..00000000 --- a/python/pykde/sip/kdeprint/kdeprintmod.sip.in +++ /dev/null @@ -1,47 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdeprint version KDE_3_5_2 - -%Copying - - This software is free software; you can redistribute it and/or - modify it under the terms of the GNU General Public License as - published by the Free Software Foundation; either version 2 of - the License, or (at your option) any later version. - - This software is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public - License along with this library; see the file COPYING. - If not, write to the Free Software Foundation, Inc., - 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - -%End - -%Module kdeprint - -%Import qt/qtmod.sip -%Import qtxml/qtxmlmod.sip -%Import dcopmod.sip -%Import kdecoremod.sip -%Import kdefxmod.sip -%Import kdeuimod.sip - -%Include kmmanager.sip -%Include kmobject.sip -%Include kmprinter.sip -%Include kpreloadobject.sip -%Include kprintaction.sip -%Include kprintdialog.sip -%Include kprintdialogpage.sip -%Include kprinter.sip -@mark@ - diff --git a/python/pykde/sip/kdeprint/kmjob.sip b/python/pykde/sip/kdeprint/kmjob.sip deleted file mode 100644 index 7736bc74..00000000 --- a/python/pykde/sip/kdeprint/kmjob.sip +++ /dev/null @@ -1,113 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdeprint version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -%If ( KDE_3_1_0 - ) - -class KMJob : KMObject -{ -%TypeHeaderCode -#include -%End - - -public: - - enum JobAction - { - Remove, - Move, - Hold, - Resume, - Restart, - ShowCompleted, - All - }; - - - enum JobState - { - Printing, - Queued, - Held, - Error, - Cancelled, - Aborted, - Completed, - Unknown - }; - - - enum JobType - { - System, - Threaded - }; - - KMJob (); - KMJob (const KMJob&); - void copy (const KMJob&); - QString pixmap (); - QString stateString (); - bool isCompleted () const; - bool isActive () const; - int id () const; - void setId (int); - const QString& name () const; - void setName (const QString&); - const QString& printer () const; - void setPrinter (const QString&); - const QString& owner () const; - void setOwner (const QString&); - int state () const; - void setState (int); - int size () const; - void setSize (int); - const QString& uri () const; - void setUri (const QString&); - int type () const; - void setType (int); - int pages () const; - void setPages (int); - int processedPages () const; - void setProcessedPages (int); - int processedSize () const; - void setProcessedSize (int); - bool isRemote () const; - void setRemote (bool); - QString attribute (int) const; - void setAttribute (int, const QString&); - int attributeCount () const; - void setAttributeCount (int); - -protected: - void init (); - -protected: - -}; // class KMJob - -%End - diff --git a/python/pykde/sip/kdeprint/kmjobmanager.sip b/python/pykde/sip/kdeprint/kmjobmanager.sip deleted file mode 100644 index 5bc957f7..00000000 --- a/python/pykde/sip/kdeprint/kmjobmanager.sip +++ /dev/null @@ -1,198 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdeprint version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -%If ( KDE_3_1_0 - ) - -class KMJobManager : QObject -{ -%TypeHeaderCode -#include -%End - - -public: - - enum JobType - { - ActiveJobs, - CompletedJobs - }; - - - class JobFilter - { - - public: - JobFilter (); -//ig int m_type[2]; - -%If ( KDE_3_2_2 - ) - bool m_isspecial; -%End - - - }; // class JobFilter - - -public: - KMJobManager (QObject* /TransferThis/ = 0, const char* = 0); - static KMJobManager* self (); - -%If ( KDE_3_2_2 - ) - void addPrinter (const QString&, KMJobManager::JobType = ActiveJobs , bool = 0); -%End - - void removePrinter (const QString&, KMJobManager::JobType = ActiveJobs ); - void clearFilter (); -//ig QDict* filter (); - int limit (); - void setLimit (int); - KMJob* findJob (const QString&); - bool sendCommand (const QString&, int, const QString& = QString ::null ); - bool sendCommand (const QPtrList&, int, const QString& = QString ::null ); - const QPtrList& jobList (bool = 1); - void addJob (KMJob*); -//ig KMThreadJob* threadJob (); - virtual int actions (); - virtual QValueList createPluginActions (KActionCollection*); - virtual void validatePluginActions (KActionCollection*, const QPtrList&); - virtual bool doPluginAction (int, const QPtrList&); - -protected: - void discardAllJobs (); - void removeDiscardedJobs (); - -protected: - virtual bool listJobs (const QString&, KMJobManager::JobType, int = 0); - virtual bool sendCommandSystemJob (const QPtrList&, int, const QString& = QString ::null ); - bool sendCommandThreadJob (const QPtrList&, int, const QString& = QString ::null ); - -protected: - -public: - -%If ( - KDE_3_2_2 ) - void addPrinter (const QString&, KMJobManager::JobType = ActiveJobs ); - -//force -%ConvertToSubClassCode - // The table of Python class objects indexed by their names. The table - // must be sorted by name. - - static sipStringTypeClassMap map[] = { - {sipName_KMJobManager, &sipClass_KMJobManager}, - {sipName_KMManager, &sipClass_KMManager}, - {sipName_KPrintAction, &sipClass_KPrintAction}, - {sipName_KPrintDialogPage, &sipClass_KPrintDialogPage}, - }; - - sipClass = sipMapStringToClass(sipCpp -> className(),map,sizeof (map)/sizeof (map[0])); -%End -//end -%End - - -}; // class KMJobManager - -%End - - - -%If (KDE_3_1_0 - ) -%MappedType QPtrList -//converts a Python list of KMJob -{ -%TypeHeaderCode -#include -#include -#include -typedef QPtrList KMJobList; -%End - -%ConvertFromTypeCode - if (!sipCpp) - return PyList_New (0); - - PyObject *pylist; - - // Create the list - - if ((pylist = PyList_New(0)) == NULL) - return NULL; - - // Get it. - - QPtrList *cpplist = (QPtrList *)sipCpp; - KMJob *cpp; - PyObject *inst; - - // the loop depends on the type of iterator the tmeplate makes available - for(cpp = cpplist->first (); cpp != 0; cpp = cpplist->next () ) - { - if (((inst = sipConvertFromInstance (cpp, sipClass_KMJob, sipTransferObj)) == NULL) - || PyList_Append (pylist, inst) < 0) - { - Py_DECREF (pylist); - return NULL; - } - } - - return pylist; -%End - -%ConvertToTypeCode - if (sipIsErr == NULL) - return PyList_Check(sipPy); - - QPtrList *cpplist = new QPtrList; - - PyObject *elem; - KMJob *cpp; - int iserr = 0; - - for (int i = 0; i < PyList_Size (sipPy); i++) - { - elem = PyList_GET_ITEM (sipPy, i); - cpp = (KMJob *)sipForceConvertTo_KMJob (elem, &iserr); - - if (iserr) - { - *sipIsErr = 1; - delete cpplist; - return 0; - } - - cpplist->append (cpp); - } - - *sipCppPtr = cpplist; - - return 1; -%End -}; -%End - - diff --git a/python/pykde/sip/kdeprint/kmmanager.sip b/python/pykde/sip/kdeprint/kmmanager.sip deleted file mode 100644 index d54c55f2..00000000 --- a/python/pykde/sip/kdeprint/kmmanager.sip +++ /dev/null @@ -1,221 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdeprint version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KMManager : QObject -{ -%TypeHeaderCode -#include -%End - - -public: - - enum PrinterOperations - { - PrinterEnabling, - PrinterCreation, - PrinterDefault, - PrinterTesting, - PrinterConfigure, - PrinterRemoval, - PrinterAll - }; - - - enum ServerOperations - { - ServerRestarting, - ServerConfigure, - ServerAll - }; - - KMManager (QObject* /TransferThis/ = 0, const char* = 0); - static KMManager* self (); - QString errorMsg () const; - void setErrorMsg (const QString&); - bool hasManagement () const; - virtual bool createPrinter (KMPrinter*); - virtual bool removePrinter (KMPrinter*); - virtual bool enablePrinter (KMPrinter*, bool); - virtual bool startPrinter (KMPrinter*, bool); - virtual bool completePrinter (KMPrinter*); - virtual bool completePrinterShort (KMPrinter*); - virtual bool setDefaultPrinter (KMPrinter*); - virtual bool testPrinter (KMPrinter*); - bool upPrinter (KMPrinter*, bool); - bool modifyPrinter (KMPrinter*, KMPrinter*); - bool removePrinter (const QString&); - bool enablePrinter (const QString&, bool); - bool startPrinter (const QString&, bool); - bool completePrinter (const QString&); - bool setDefaultPrinter (const QString&); - int printerOperationMask () const; - int addPrinterWizard (QWidget* /Transfer/ = 0); - bool createSpecialPrinter (KMPrinter*); - bool removeSpecialPrinter (KMPrinter*); - KMPrinter* findPrinter (const QString&); - QPtrList* printerList (bool = 1); - QPtrList* printerListComplete (bool = 1); - KMPrinter* defaultPrinter (); - void enableFilter (bool); - bool isFilterEnabled () const; - virtual QString driverDbCreationProgram (); - virtual QString driverDirectory (); -//ig virtual DrMain* loadPrinterDriver (KMPrinter*, bool = 0); -//ig virtual DrMain* loadDbDriver (KMDBEntry*); -//ig virtual DrMain* loadFileDriver (const QString&); -//ig DrMain* loadDriver (KMPrinter*, bool = 0); -//ig virtual bool savePrinterDriver (KMPrinter*, DrMain*); -//ig virtual bool validateDbDriver (KMDBEntry*); - bool invokeOptionsDialog (QWidget* /Transfer/ = 0); - -%If ( KDE_3_1_0 - ) - virtual QString stateInformation (); -%End - - int serverOperationMask () const; - virtual bool restartServer (); - virtual bool configureServer (QWidget* /Transfer/ = 0); - virtual QStringList detectLocalPrinters (); - virtual void createPluginActions (KActionCollection*); - virtual void validatePluginActions (KActionCollection*, KMPrinter*); - -%If ( KDE_3_1_0 - ) - void checkUpdatePossible (); -%End - - -signals: - -%If ( KDE_3_1_0 - ) - void updatePossible (bool); -%End - - -protected: - virtual void listPrinters (); - void addPrinter (KMPrinter*); - void setHardDefault (KMPrinter*); - void setSoftDefault (KMPrinter*); - KMPrinter* softDefault () const; - KMPrinter* hardDefault () const; - bool uncompressFile (const QString&, QString&); - bool notImplemented (); - void setHasManagement (bool); - void setPrinterOperationMask (int); - void setServerOperationMask (int); - QString testPage (); - void discardAllPrinters (bool); - -%If ( KDE_3_1_0 - ) - void setUpdatePossible (bool); - virtual void checkUpdatePossibleInternal (); -%End - - -protected: - -}; // class KMManager - - - -%MappedType QPtrList -//converts a Python list of KMPrinter -{ -%TypeHeaderCode -#include -#include -#include -#include -%End - -%ConvertFromTypeCode - // Convert to a Python list of KMPrinter - - if (!sipCpp) - return PyList_New (0); - - PyObject *plist; - - // Create the list - - if ((plist = PyList_New(0)) == NULL) - return NULL; - - // Get it. - - QPtrList *kpList = (QPtrList *)sipCpp; - PyObject *inst; - KMPrinter *p; - - for(p = kpList->first (); p; p = kpList->next ()) - { - inst = sipConvertFromInstance (p, sipClass_KMPrinter, sipTransferObj); - if ((inst == NULL) || (PyList_Append (plist, inst) < 0)) - { - Py_XDECREF (inst); - Py_DECREF (plist); - return NULL; - } - } - - return plist; -%End - -%ConvertToTypeCode - // Convert a Python list to QPtrList on the heap. - - if (sipIsErr == NULL) - return PyList_Check(sipPy); - - QPtrList *kpList = new QPtrList; - - PyObject *elem; - KMPrinter *p; - int iserr = 0; - - for (int i = 0; i < PyList_Size (sipPy); i++) - { - elem = PyList_GET_ITEM (sipPy, i); - p = (KMPrinter *)sipForceConvertTo_KMPrinter(elem, &iserr); - - if (iserr) - { - *sipIsErr = 1; - delete kpList; - return 0; - } - - kpList->append (p); - } - - *sipCppPtr = kpList; - - return 1; -%End -}; - - diff --git a/python/pykde/sip/kdeprint/kmobject.sip b/python/pykde/sip/kdeprint/kmobject.sip deleted file mode 100644 index d41ae0f7..00000000 --- a/python/pykde/sip/kdeprint/kmobject.sip +++ /dev/null @@ -1,42 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdeprint version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KMObject -{ -%TypeHeaderCode -#include -%End - - -public: - KMObject (); - bool isDiscarded () const; - void setDiscarded (bool = 1); - -protected: - -}; // class KMObject - diff --git a/python/pykde/sip/kdeprint/kmprinter.sip b/python/pykde/sip/kdeprint/kmprinter.sip deleted file mode 100644 index 0f8c2e93..00000000 --- a/python/pykde/sip/kdeprint/kmprinter.sip +++ /dev/null @@ -1,178 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdeprint version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KMPrinter : KMObject -{ -%TypeHeaderCode -#include -%End - - -public: - - enum PrinterType - { - Printer, - Class, - Implicit, - Virtual, - Remote, - Invalid, - Special - }; - - - enum PrinterState - { - Idle, - Stopped, - Processing, - Unknown, - Rejecting, - StateMask - }; - - -%If ( KDE_3_2_0 - ) - - enum PrinterCap - { - CapBW, - CapColor, - CapDuplex, - CapStaple, - CapCopies, - CapCollate, - CapPunch, - CapCover, - CapBind, - CapSort, - CapSmall, - CapMedium, - CapLarge, - CapVariable - }; - -%End - - KMPrinter (); - KMPrinter (const KMPrinter&); - void copy (const KMPrinter&); - const QString& name () const; - void setName (const QString&); - const QString& printerName () const; - void setPrinterName (const QString&); - const QString& instanceName () const; - void setInstanceName (const QString&); - int type () const; - void setType (int); - void addType (int); - KMPrinter::PrinterState state (bool = 0) const; - QString stateString () const; - void setState (KMPrinter::PrinterState); - bool acceptJobs () const; - void setAcceptJobs (bool); - -%If ( KDE_3_2_0 - ) - const QString& device () const; - QString deviceProtocol () const; - void setDevice (const QString&); -%End - - const QStringList& members () const; - void setMembers (const QStringList&); - void addMember (const QString&); - const QString& description () const; - void setDescription (const QString&); - const QString& location () const; - void setLocation (const QString&); - const KURL& uri () const; - void setUri (const KURL&); - const QString& manufacturer () const; - void setManufacturer (const QString&); - const QString& model () const; - void setModel (const QString&); - const QString& driverInfo () const; - void setDriverInfo (const QString&); - -%If ( KDE_3_2_0 - ) - int printerCap () const; - void setPrinterCap (int); - void addPrinterCap (int); -%End - - bool isClass (bool = 1) const; - bool isImplicit () const; - bool isPrinter () const; - bool isRemote () const; - bool isLocal () const; - bool isVirtual () const; - bool isValid () const; - bool isSpecial () const; -//ig KMDBEntry* dbEntry () const; -//ig void setDbEntry (KMDBEntry*); - QString pixmap (); - void setPixmap (const QString&); - bool isHardDefault () const; - void setHardDefault (bool); - bool isSoftDefault () const; - void setSoftDefault (bool); - bool ownSoftDefault () const; - void setOwnSoftDefault (bool); - static int compare (KMPrinter*, KMPrinter*); - const QString& option (const QString&) const; - bool hasOption (const QString&) const; - void setOption (const QString&, const QString&); - void removeOption (const QString&); - QMap options () const; - void setOptions (const QMap&); -//ig DrMain* driver () const; -//ig void setDriver (DrMain*); -//ig DrMain* takeDriver (); - bool autoConfigure (KPrinter*, QWidget* /Transfer/ = 0); - const QString& defaultOption (const QString&) const; - void setDefaultOption (const QString&, const QString&); - QMap defaultOptions () const; - void setDefaultOptions (const QMap&); - const QString& editedOption (const QString&) const; - void setEditedOption (const QString&, const QString&); - QMap editedOptions () const; - void setEditedOptions (const QMap&); - bool isEdited () const; - void setEdited (bool); - -protected: - -public: - -%If ( - KDE_3_2_0 ) - const KURL& device () const; - void setDevice (const KURL&); -%End - - -}; // class KMPrinter - diff --git a/python/pykde/sip/kdeprint/kpreloadobject.sip b/python/pykde/sip/kdeprint/kpreloadobject.sip deleted file mode 100644 index 61c2c5f6..00000000 --- a/python/pykde/sip/kdeprint/kpreloadobject.sip +++ /dev/null @@ -1,43 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdeprint version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KPReloadObject -{ -%TypeHeaderCode -#include -%End - - -public: - KPReloadObject (bool = 0); - -protected: - virtual void reload () = 0; - virtual void aboutToReload (); - virtual void configChanged (); - -}; // class KPReloadObject - diff --git a/python/pykde/sip/kdeprint/kprintaction.sip b/python/pykde/sip/kdeprint/kprintaction.sip deleted file mode 100644 index edb0cda9..00000000 --- a/python/pykde/sip/kdeprint/kprintaction.sip +++ /dev/null @@ -1,61 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdeprint version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KPrintAction : KActionMenu -{ -%TypeHeaderCode -#include -%End - - -public: - - enum PrinterType - { - All, - Regular, - Specials - }; - - KPrintAction (const QString&, KPrintAction::PrinterType = All , QWidget* = 0, QObject* /TransferThis/ = 0, const char* = 0); - KPrintAction (const QString&, const QIconSet&, KPrintAction::PrinterType = All , QWidget* = 0, QObject* /TransferThis/ = 0, const char* = 0); - KPrintAction (const QString&, const QString&, KPrintAction::PrinterType = All , QWidget* = 0, QObject* /TransferThis/ = 0, const char* = 0); - static KPrintAction* exportAll (QWidget* = 0, QObject* /Transfer/ = 0, const char* = 0); - static KPrintAction* exportRegular (QWidget* = 0, QObject* /Transfer/ = 0, const char* = 0); - static KPrintAction* exportSpecial (QWidget* = 0, QObject* /Transfer/ = 0, const char* = 0); - -signals: - void print (KPrinter*) /PyName=print_/; - -protected slots: - void slotAboutToShow (); - void slotActivated (int); - -protected: - void initialize (KPrintAction::PrinterType, QWidget*); - -}; // class KPrintAction - diff --git a/python/pykde/sip/kdeprint/kprintdialog.sip b/python/pykde/sip/kdeprint/kprintdialog.sip deleted file mode 100644 index 0be008f8..00000000 --- a/python/pykde/sip/kdeprint/kprintdialog.sip +++ /dev/null @@ -1,170 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdeprint version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KPrintDialog : KDialog, KPReloadObject -{ -%TypeHeaderCode -#include -%End - - -public: - KPrintDialog (QWidget* /TransferThis/ = 0, const char* = 0); - void setFlags (int); - void setDialogPages (QPtrList*); - -%If ( KDE_3_1_0 - ) - void enableDialogPage (int, bool = 1); -%End - - KPrinter* printer () const; - static KPrintDialog* printerDialog (KPrinter*, QWidget*, const QString& = QString ::null , bool = 0); - -signals: - void printRequested (KPrinter*); - -protected slots: - void slotPrinterSelected (int); - void slotProperties (); - void slotSetDefault (); - void slotOptions (); - virtual void done (int); - void slotWizard (); - void slotExtensionClicked (); - void slotToggleFilter (bool); - -%If ( KDE_3_1_0 - ) - void slotHelp (); - void slotOutputFileSelected (const QString&); - void slotUpdatePossible (bool); - void slotOpenFileDialog (); -%End - - -protected: - bool checkOutputFile (); - void enableSpecial (bool); - void enableOutputFile (bool); - void setOutputFileExtension (const QString&); - void reload (); - void configChanged (); - void expandDialog (bool = 1); - -%If ( KDE_3_1_0 - ) - void initialize (KPrinter*); - void init (); -%End - - -protected: - -public: - -%If ( - KDE_3_1_0 ) - void initialize (KPrinter*); -%End - - -}; // class KPrintDialog - - - -%MappedType QPtrList -//converts a Python list of KPrintDialogPage -{ -%TypeHeaderCode -#include -#include -#include -%End - -%ConvertFromTypeCode - // Convert to a Python list of KPrintDialogPage - - if (!sipCpp) - return PyList_New (0); - - PyObject *plist; - - // Create the list - - if ((plist = PyList_New(0)) == NULL) - return NULL; - - // Get it. - - QPtrList *kpList = (QPtrList *)sipCpp; - PyObject *inst; - KPrintDialogPage *p; - - for(p = kpList->first (); p; p = kpList->next ()) - { - inst = sipConvertFromInstance (p, sipClass_KPrintDialogPage, sipTransferObj); - if ((inst == NULL) || (PyList_Append (plist, inst) < 0)) - { - Py_XDECREF (inst); - Py_DECREF (plist); - return NULL; - } - } - - return plist; -%End - -%ConvertToTypeCode - // Convert a Python list to QPtrList on the heap. - - if (sipIsErr == NULL) - return PyList_Check(sipPy); - - QPtrList *kpList = new QPtrList; - - PyObject *elem; - KPrintDialogPage *p; - int iserr = 0; - - for (int i = 0; i < PyList_Size (sipPy); i++) - { - elem = PyList_GET_ITEM (sipPy, i); - p = (KPrintDialogPage *)sipForceConvertTo_KPrintDialogPage(elem, &iserr); - - if (iserr) - { - *sipIsErr = 1; - delete kpList; - return 0; - } - - kpList->append (p); - } - - *sipCppPtr = kpList; - - return 1; -%End -}; - - diff --git a/python/pykde/sip/kdeprint/kprintdialogpage.sip b/python/pykde/sip/kdeprint/kprintdialogpage.sip deleted file mode 100644 index 5e52bdaa..00000000 --- a/python/pykde/sip/kdeprint/kprintdialogpage.sip +++ /dev/null @@ -1,52 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdeprint version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KPrintDialogPage : QWidget -{ -%TypeHeaderCode -#include -%End - - -public: - KPrintDialogPage (QWidget* /TransferThis/ = 0, const char* = 0); -//ig KPrintDialogPage (KMPrinter*, DrMain* = 0, QWidget* /TransferThis/ = 0, const char* = 0); - virtual void getOptions (QMap&, bool = 0); - virtual void setOptions (const QMap&); - virtual bool isValid (QString&); - int id () const; - void setId (int); - QString title () const; - void setTitle (const QString&); - bool onlyRealPrinters () const; - void setOnlyRealPrinters (bool = 1); -//ig DrMain* driver (); -//ig KMPrinter* printer (); - -protected: - -}; // class KPrintDialogPage - diff --git a/python/pykde/sip/kdeprint/kprinter.sip b/python/pykde/sip/kdeprint/kprinter.sip deleted file mode 100644 index ea4d17fc..00000000 --- a/python/pykde/sip/kdeprint/kprinter.sip +++ /dev/null @@ -1,258 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdeprint version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KPrinter : QPaintDevice, KPReloadObject -{ -%TypeHeaderCode -#include -%End - - -public: - - enum StandardPageType - { - CopiesPage, - FilesPage, - Custom - }; - - - enum PageSelectionType - { - ApplicationSide, - SystemSide - }; - - - enum ApplicationType - { - Dialog, - StandAlone, - StandAlonePersistent - }; - - - enum PageSetType - { - AllPages, - OddPages, - EvenPages - }; - - - enum CollateType - { - Collate, - Uncollate - }; - - - enum ColorMode - { - GrayScale, - Color - }; - - - enum Orientation - { - Portrait, - Landscape - }; - - - enum PageOrder - { - FirstPageFirst, - LastPageFirst - }; - - - enum PageSize - { - A4, - B5, - Letter, - Legal, - Executive, - A0, - A1, - A2, - A3, - A5, - A6, - A7, - A8, - A9, - B0, - B1, - B10, - B2, - B3, - B4, - B6, - B7, - B8, - B9, - C5E, - Comm10E, - DLE, - Folio, - Ledger, - Tabloid, - NPageSize - }; - - KPrinter (bool = 1, QPrinter::PrinterMode = QPrinter ::ScreenResolution ); - bool newPage (); - bool abort (); - bool aborted () const; - bool outputToFile () const; - void setOutputToFile (bool); - QString outputFileName () const; - void setOutputFileName (const QString&); - QString docName () const; - void setDocName (const QString&); - QString creator () const; - void setCreator (const QString&); - bool fullPage () const; - void setFullPage (bool); - KPrinter::ColorMode colorMode () const; - void setColorMode (KPrinter::ColorMode); - int numCopies () const; - void setNumCopies (int); - KPrinter::Orientation orientation () const; - void setOrientation (KPrinter::Orientation); - KPrinter::PageOrder pageOrder () const; - void setPageOrder (KPrinter::PageOrder); - KPrinter::CollateType collate () const; - void setCollate (KPrinter::CollateType); - int minPage () const; - int maxPage () const; - void setMinMax (int, int); - int fromPage () const; - int toPage () const; - void setFromTo (int, int); - KPrinter::PageSize pageSize () const; - void setPageSize (KPrinter::PageSize); - QString printerName () const; - void setPrinterName (const QString&); - QString printProgram () const; - void setPrintProgram (const QString&); - QString printerSelectionOption () const; - void setPrinterSelectionOption (const QString&); - int currentPage () const; - void setCurrentPage (int = 0); - KPrinter::PageSetType pageSet () const; - bool setup (QWidget* /Transfer/ = 0, const QString& = QString ::null , bool = 0); - QSize margins () const; - void setMargins (QSize); - QSize realPageSize () const; - void setRealPageSize (QSize); - -%If ( KDE_3_1_0 - ) - void setRealDrawableArea (const QRect&); - QRect realDrawableArea () const; - void margins (uint*, uint*, uint*, uint*) const /PyName=marginsAsInts/; - -%If ( KDE_3_2_0 - ) - void setMargins (uint, uint, uint, uint); -%End - -%End - - QValueList pageList () const; - void setPreviewOnly (bool); - bool previewOnly () const; - -%If ( KDE_3_1_0 - ) - void setResolution (int); - int resolution () const; - -%If ( KDE_3_2_0 - ) - void setUsePrinterResolution (bool); -%End - -%End - -//ig KPrinterImpl* implementation () const; - bool printFiles (const QStringList&, bool = 0, bool = 1); - static void addDialogPage (KPrintDialogPage*); - static void setPageSelection (KPrinter::PageSelectionType); - static KPrinter::PageSelectionType pageSelection (); - static void setApplicationType (KPrinter::ApplicationType); - static KPrinter::ApplicationType applicationType (); - static void addStandardPage (int); - static void removeStandardPage (int); - const QString& option (const QString&) const; - void setOption (const QString&, const QString&); - const QMap& options () const; - void setOptions (const QMap&); - void initOptions (const QMap&); - QString searchName () const; - void setSearchName (const QString&); - QString errorMessage () const; - void setErrorMessage (const QString&); - bool autoConfigure (const QString& = QString ::null , QWidget* /Transfer/ = 0); - void setDocFileName (const QString&); - QString docFileName () const; - -%If ( KDE_3_1_0 - ) - void setDocDirectory (const QString&); - QString docDirectory () const; -%End - - -protected: -//ig virtual bool cmd (int, QPainter*, QPDevCmdParam*); - virtual int metric (int) const; - void translateQtOptions (); - void loadSettings (); - void saveSettings (); - void preparePrinting (); - void finishPrinting (); - void reload (); - void init (bool = 1, QPrinter::PrinterMode = QPrinter ::ScreenResolution ); - -%If ( KDE_3_1_0 - ) - bool doPreview (const QString&); - -%If ( KDE_3_2_0 - ) -//ig void setRealPageSize (DrPageSize*); - void setOption (const QString&, const QString&, bool); -%End - -%End - - -protected: - -}; // class KPrinter - -KPrinter::PageSize pageNameToPageSize (const QString&); -const char* pageSizeToPageName (KPrinter::PageSize); -//ig QSize rangeToSize (const QString&); diff --git a/python/pykde/sip/kdeui/kaboutapplication.sip b/python/pykde/sip/kdeui/kaboutapplication.sip deleted file mode 100644 index 4e64757f..00000000 --- a/python/pykde/sip/kdeui/kaboutapplication.sip +++ /dev/null @@ -1,205 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdeui version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KAboutApplication : KAboutDialog -{ -%TypeHeaderCode -#include -%End - - -public: - KAboutApplication (QWidget* /TransferThis/ = 0, const char* = 0, bool = 1); - KAboutApplication (const KAboutData*, QWidget* /TransferThis/ = 0, const char* = 0, bool = 1); - -protected: - void buildDialog (const KAboutData*); - -//force -%ConvertToSubClassCode - // The table of Python class objects indexed by their names. The table - // must be sorted by name. - - static sipStringTypeClassMap map[] = { - {sipName_KAboutApplication, &sipClass_KAboutApplication}, - {sipName_KAboutContainer, &sipClass_KAboutContainer}, - {sipName_KAboutContributor, &sipClass_KAboutContributor}, - {sipName_KAboutDialog, &sipClass_KAboutDialog}, - {sipName_KAboutKDE, &sipClass_KAboutKDE}, - {sipName_KAboutWidget, &sipClass_KAboutWidget}, - {sipName_KAction, &sipClass_KAction}, - {sipName_KActionCollection, &sipClass_KActionCollection}, - {sipName_KActionMenu, &sipClass_KActionMenu}, - {sipName_KActionSeparator, &sipClass_KActionSeparator}, - {sipName_KActiveLabel, &sipClass_KActiveLabel}, - {sipName_KAnimWidget, &sipClass_KAnimWidget}, - {sipName_KArrowButton, &sipClass_KArrowButton}, - {sipName_KAuthIcon, &sipClass_KAuthIcon}, - {sipName_KBugReport, &sipClass_KBugReport}, - {sipName_KButtonBox, &sipClass_KButtonBox}, - {sipName_KCModule, &sipClass_KCModule}, - {sipName_KCharSelect, &sipClass_KCharSelect}, - {sipName_KCharSelectTable, &sipClass_KCharSelectTable}, - {sipName_KColorButton, &sipClass_KColorButton}, - {sipName_KColorCells, &sipClass_KColorCells}, - {sipName_KColorCombo, &sipClass_KColorCombo}, - {sipName_KColorDialog, &sipClass_KColorDialog}, - {sipName_KColorDrag, &sipClass_KColorDrag}, - {sipName_KColorPatch, &sipClass_KColorPatch}, - {sipName_KComboBox, &sipClass_KComboBox}, - {sipName_KCommandHistory, &sipClass_KCommandHistory}, - {sipName_KCompletionBox, &sipClass_KCompletionBox}, - {sipName_KContextMenuManager, &sipClass_KContextMenuManager}, - {sipName_KDateInternalMonthPicker,&sipClass_KDateInternalMonthPicker}, -#if KDE_VERSION >= 0x030100 - {sipName_KDateInternalWeekSelector,&sipClass_KDateInternalWeekSelector}, -#endif - {sipName_KDateInternalYearSelector,&sipClass_KDateInternalYearSelector}, - {sipName_KDatePicker, &sipClass_KDatePicker}, - {sipName_KDatePicker, &sipClass_KDatePicker}, - {sipName_KDateTable, &sipClass_KDateTable}, - {sipName_KDateValidator, &sipClass_KDateValidator}, - {sipName_KDateWidget, &sipClass_KDateWidget}, - {sipName_KDialog, &sipClass_KDialog}, - {sipName_KDialogBase, &sipClass_KDialogBase}, - {sipName_KDialogQueue, &sipClass_KDialogQueue}, - {sipName_KDockArea, &sipClass_KDockArea}, - {sipName_KDockMainWindow, &sipClass_KDockMainWindow}, - {sipName_KDockManager, &sipClass_KDockManager}, - {sipName_KDockTabGroup, &sipClass_KDockTabGroup}, - {sipName_KDockWidget, &sipClass_KDockWidget}, - {sipName_KDockWidgetAbstractHeader,&sipClass_KDockWidgetAbstractHeader}, - {sipName_KDockWidgetAbstractHeaderDrag,&sipClass_KDockWidgetAbstractHeaderDrag}, - {sipName_KDockWidgetHeader, &sipClass_KDockWidgetHeader}, - {sipName_KDockWidgetHeaderDrag, &sipClass_KDockWidgetHeaderDrag}, -// {sipName_KDockWindow, &sipClass_KDockWindow}, -#if KDE_VERSION >= 0x030100 - {sipName_KDoubleSpinBox, &sipClass_KDoubleSpinBox}, - {sipName_KDoubleValidator, &sipClass_KDoubleValidator}, -#endif - {sipName_KDualColorButton, &sipClass_KDualColorButton}, - {sipName_KDualColorButton, &sipClass_KDualColorButton}, - {sipName_KEdFind, &sipClass_KEdFind}, - {sipName_KEdGotoLine, &sipClass_KEdGotoLine}, - {sipName_KEdReplace, &sipClass_KEdReplace}, - {sipName_KEdit, &sipClass_KEdit}, - {sipName_KEditListBox, &sipClass_KEditListBox}, - {sipName_KEditToolbar, &sipClass_KEditToolbar}, - {sipName_KEditToolbarWidget, &sipClass_KEditToolbarWidget}, - {sipName_KFloatValidator, &sipClass_KFloatValidator}, - {sipName_KFontAction, &sipClass_KFontAction}, - {sipName_KFontChooser, &sipClass_KFontChooser}, - {sipName_KFontCombo, &sipClass_KFontCombo}, - {sipName_KFontDialog, &sipClass_KFontDialog}, - {sipName_KFontSizeAction, &sipClass_KFontSizeAction}, - {sipName_KGradientSelector, &sipClass_KGradientSelector}, - {sipName_KHSSelector, &sipClass_KHSSelector}, - {sipName_KHelpMenu, &sipClass_KHelpMenu}, - {sipName_KHistoryCombo, &sipClass_KHistoryCombo}, - {sipName_KIconView, &sipClass_KIconView}, - {sipName_KIntSpinBox, &sipClass_KIntSpinBox}, - {sipName_KIntValidator, &sipClass_KIntValidator}, - {sipName_KJanusWidget, &sipClass_KJanusWidget}, - {sipName_KKeyButton, &sipClass_KKeyButton}, - {sipName_KKeyChooser, &sipClass_KKeyChooser}, - {sipName_KKeyDialog, &sipClass_KKeyDialog}, - {sipName_KLed, &sipClass_KLed}, - {sipName_KLineEdit, &sipClass_KLineEdit}, - {sipName_KLineEditDlg, &sipClass_KLineEditDlg}, - {sipName_KListAction, &sipClass_KListAction}, - {sipName_KListBox, &sipClass_KListBox}, - {sipName_KListView, &sipClass_KListView}, - {sipName_KMainWindow, &sipClass_KMainWindow}, - {sipName_KMenuBar, &sipClass_KMenuBar}, - {sipName_KMimeTypeValidator, &sipClass_KMimeTypeValidator}, - {sipName_KNumInput, &sipClass_KNumInput}, - {sipName_KPaletteTable, &sipClass_KPaletteTable}, - {sipName_KPanelApplet, &sipClass_KPanelApplet}, - {sipName_KPanelAppMenu, &sipClass_KPanelAppMenu}, - {sipName_KPanelExtension, &sipClass_KPanelExtension}, - {sipName_KPanelMenu, &sipClass_KPanelMenu}, -#if KDE_VERSION >= 0x030100 - {sipName_KPassivePopup, &sipClass_KPassivePopup}, -#endif - {sipName_KPasswordDialog, &sipClass_KPasswordDialog}, - {sipName_KPasswordEdit, &sipClass_KPasswordEdit}, - {sipName_KPopupFrame, &sipClass_KPopupFrame}, - {sipName_KPopupMenu, &sipClass_KPopupMenu}, - {sipName_KPopupTitle, &sipClass_KPopupTitle}, - {sipName_KProgress, &sipClass_KProgress}, - {sipName_KProgressDialog, &sipClass_KProgressDialog}, - {sipName_KPushButton, &sipClass_KPushButton}, - {sipName_KRadioAction, &sipClass_KRadioAction}, - {sipName_KRecentFilesAction, &sipClass_KRecentFilesAction}, - {sipName_KRestrictedLine, &sipClass_KRestrictedLine}, - {sipName_KRootPermsIcon, &sipClass_KRootPermsIcon}, - {sipName_KRootPixmap, &sipClass_KRootPixmap}, - {sipName_KRuler, &sipClass_KRuler}, - {sipName_KSelectAction, &sipClass_KSelectAction}, - {sipName_KSelector, &sipClass_KSelector}, - {sipName_KSeparator, &sipClass_KSeparator}, -// {sipName_KSharedPixmap, &sipClass_KSharedPixmap}, - {sipName_KSqueezedTextLabel, &sipClass_KSqueezedTextLabel}, - {sipName_KStatusBar, &sipClass_KStatusBar}, - {sipName_KStatusBarLabel, &sipClass_KStatusBarLabel}, - {sipName_KStringListValidator, &sipClass_KStringListValidator}, - {sipName_KSystemTray, &sipClass_KSystemTray}, - {sipName_KTabCtl, &sipClass_KTabCtl}, - {sipName_KTextBrowser, &sipClass_KTextBrowser}, -#if KDE_VERSION >= 0x030100 - {sipName_KTextEdit, &sipClass_KTextEdit}, -#endif - {sipName_KTipDialog, &sipClass_KTipDialog}, - {sipName_KToggleAction, &sipClass_KToggleAction}, -#if KDE_VERSION >= 0x030100 - {sipName_KToggleToolBarAction, &sipClass_KToggleToolBarAction}, -#endif - {sipName_KToolBar, &sipClass_KToolBar}, - {sipName_KToolBarButton, &sipClass_KToolBarButton}, - {sipName_KToolBarPopupAction, &sipClass_KToolBarPopupAction}, - {sipName_KToolBarRadioGroup, &sipClass_KToolBarRadioGroup}, - {sipName_KToolBarSeparator, &sipClass_KToolBarSeparator}, - {sipName_KURLLabel, &sipClass_KURLLabel}, - {sipName_KValueSelector, &sipClass_KValueSelector}, -#if KDE_VERSION >= 0x030100 - {sipName_KWidgetAction, &sipClass_KWidgetAction}, - {sipName_KWindowInfo, &sipClass_KWindowInfo}, -#endif - {sipName_KWindowListMenu, &sipClass_KWindowListMenu}, - {sipName_KWizard, &sipClass_KWizard}, - {sipName_KWritePermsIcon, &sipClass_KWritePermsIcon}, - {sipName_KXMLGUIFactory, &sipClass_KXMLGUIFactory}, - {sipName_KXYSelector, &sipClass_KXYSelector}, -// {sipName_PyKPanelApplet, &sipClass_PyKPanelApplet}, -// {sipName_QXEmbed, &sipClass_QXEmbed}, - }; - - sipClass = sipMapStringToClass(sipCpp -> className(),map,sizeof (map)/sizeof (map[0])); -%End -//end - -}; // class KAboutApplication - diff --git a/python/pykde/sip/kdeui/kaboutdialog.sip b/python/pykde/sip/kdeui/kaboutdialog.sip deleted file mode 100644 index 385ff69d..00000000 --- a/python/pykde/sip/kdeui/kaboutdialog.sip +++ /dev/null @@ -1,190 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdeui version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KAboutContainer : QFrame -{ -%TypeHeaderCode -#include -%End - - -public: - KAboutContainer (QWidget* /TransferThis/ = 0, const char* = 0, int = 0, int = 0, int = AlignCenter , int = AlignCenter ); - void addWidget (QWidget*); - void addPerson (const QString&, const QString&, const QString&, const QString&, bool = 0, bool = 0, bool = 0); - void addTitle (const QString&, int = AlignLeft , bool = 0, bool = 0); - void addImage (const QString&, int = AlignLeft ); - virtual QSize sizeHint () const; - virtual QSize minimumSizeHint () const; - -protected: - virtual void childEvent (QChildEvent*); - -signals: - void urlClick (const QString&); - void mailClick (const QString&, const QString&); - -}; // class KAboutContainer - - -class KAboutContributor : QFrame -{ -%TypeHeaderCode -#include -%End - - -public: - KAboutContributor (QWidget* /TransferThis/ = 0, const char* = 0, const QString& = QString ::null , const QString& = QString ::null , const QString& = QString ::null , const QString& = QString ::null , bool = 0, bool = 1, bool = 0); - void setName (const QString&, const QString& = QString ::null , bool = 1); - void setEmail (const QString&, const QString& = QString ::null , bool = 1); - void setURL (const QString&, const QString& = QString ::null , bool = 1); - void setWork (const QString&, const QString& = QString ::null , bool = 1); - QString getName (); - QString getEmail (); - QString getURL (); - QString getWork (); - virtual QSize sizeHint () const; - -protected: - virtual void fontChange (const QFont&); - -protected slots: - void urlClickedSlot (const QString&); - void emailClickedSlot (const QString&); - -signals: - void sendEmail (const QString&, const QString&); - void openURL (const QString&); - -}; // class KAboutContributor - - -class KAboutWidget : QWidget -{ -%TypeHeaderCode -#include -%End - - -public: - KAboutWidget (QWidget* /TransferThis/ = 0, const char* = 0); - void adjust (); - void setLogo (const QPixmap&); - void setAuthor (const QString&, const QString&, const QString&, const QString&); - void setMaintainer (const QString&, const QString&, const QString&, const QString&); - void addContributor (const QString&, const QString&, const QString&, const QString&); - void setVersion (const QString&); - -protected slots: - void sendEmailSlot (const QString&, const QString&); - void openURLSlot (const QString&); - -signals: - void sendEmail (const QString&, const QString&); - void openURL (const QString&); - -protected: - void resizeEvent (QResizeEvent*); - -}; // class KAboutWidget - - -class KAboutDialog : KDialogBase -{ -%TypeHeaderCode -#include -%End - - -public: - - enum LayoutType - { - AbtPlain, - AbtTabbed, - AbtTitle, - AbtImageLeft, - AbtImageRight, - AbtImageOnly, - AbtProduct, - AbtKDEStandard, - AbtAppStandard, - AbtImageAndTitle - }; - - -public: - KAboutDialog (QWidget* /TransferThis/ = 0, const char* = 0, bool = 1); - KAboutDialog (int, const QString&, int, ButtonCode, QWidget* /TransferThis/ = 0, const char* = 0, bool = 0, bool = 0, const QString& = QString ::null , const QString& = QString ::null , const QString& = QString ::null ); - void adjust (); - virtual void show (); - virtual void show (QWidget*); - void setTitle (const QString&); - void setImage (const QString&); - -%If ( KDE_3_3_0 - ) - void setIcon (const QString&); - -%If ( KDE_3_4_0 - ) - void setProgramLogo (const QString&); - void setProgramLogo (const QPixmap&); -%End - -%End - - void setImageBackgroundColor (const QColor&); - void setImageFrame (bool); - void setProduct (const QString&, const QString&, const QString&, const QString&); - QFrame* addTextPage (const QString&, const QString&, bool = 0, int = 10); - QFrame* addLicensePage (const QString&, const QString&, int = 10); - KAboutContainer* addContainerPage (const QString&, int = AlignCenter , int = AlignCenter ); - KAboutContainer* addScrolledContainerPage (const QString&, int = AlignCenter , int = AlignCenter ); - KAboutContainer* addContainer (int, int); - QFrame* addPage (const QString&); - void setLogo (const QPixmap&); - void setAuthor (const QString&, const QString&, const QString&, const QString&); - void setMaintainer (const QString&, const QString&, const QString&, const QString&); - void addContributor (const QString&, const QString&, const QString&, const QString&); - void setVersion (const QString&); - static void imageURL (QWidget* /Transfer/, const QString&, const QString&, const QColor&, const QString&); - -signals: - void sendEmail (const QString&, const QString&); - void openURL (const QString&); - -protected: - -protected slots: - void sendEmailSlot (const QString&, const QString&); - void openURLSlot (const QString&); - virtual void mouseTrackSlot (int, const QMouseEvent*); - -protected: -//igx virtual void virtual_hook (int, void*); - -}; // class KAboutDialog - diff --git a/python/pykde/sip/kdeui/kaboutkde.sip b/python/pykde/sip/kdeui/kaboutkde.sip deleted file mode 100644 index 76a31471..00000000 --- a/python/pykde/sip/kdeui/kaboutkde.sip +++ /dev/null @@ -1,38 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdeui version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KAboutKDE : KAboutDialog -{ -%TypeHeaderCode -#include -%End - - -public: - KAboutKDE (QWidget* /TransferThis/ = 0, const char* = 0, bool = 1); - -}; // class KAboutKDE - diff --git a/python/pykde/sip/kdeui/kaccelmanager.sip b/python/pykde/sip/kdeui/kaccelmanager.sip deleted file mode 100644 index 6d00d446..00000000 --- a/python/pykde/sip/kdeui/kaccelmanager.sip +++ /dev/null @@ -1,43 +0,0 @@ -// -// Copyright 2003 Jim Bublitz -// Earlier copyrights 1998 - 2002 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdeui version KDE_3_1_4 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -%If ( KDE_3_1_0 - ) - -class KAcceleratorManager -{ -%TypeHeaderCode -#include -%End - - -public: - static void manage (QWidget*); - static void manage (QWidget*, bool); - -}; // class KAcceleratorManager - -%End - diff --git a/python/pykde/sip/kdeui/kaccelmenu.sip b/python/pykde/sip/kdeui/kaccelmenu.sip deleted file mode 100644 index b015e1be..00000000 --- a/python/pykde/sip/kdeui/kaccelmenu.sip +++ /dev/null @@ -1,53 +0,0 @@ -// -// Copyright 2003 Jim Bublitz -// Earlier copyrights 1998 - 2002 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdeui version KDE_3_1_1 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KAccelMenu : KPopupMenu -{ -%TypeHeaderCode -#include -#include -#include -%End - - -public: - KAccelMenu (KAccel*, QWidget*/TransferThis/ = 0, const char* = 0); - int insItem (const QPixmap&, const char*, const char*, SIP_RXOBJ_CON, SIP_SLOT_CON (int), const char* = 0); - int insItem (const char*, const char*, SIP_RXOBJ_CON, SIP_SLOT_CON (int), const char* = 0); - int insItem (const QPixmap&, const char*, const char*, SIP_RXOBJ_CON, SIP_SLOT_CON (int), KStdAccel::StdAccel); - int insItem (const char*, const char*, SIP_RXOBJ_CON, SIP_SLOT_CON (int), KStdAccel::StdAccel); - -protected: - char* stripAnd (const char*); - void keyPressEvent (QKeyEvent*); - void popMsg (); - -protected slots: - void highl (int); - void aboutTS (); - -}; // class KAccelMenu - diff --git a/python/pykde/sip/kdeui/kaction.sip b/python/pykde/sip/kdeui/kaction.sip deleted file mode 100644 index fe5ad26b..00000000 --- a/python/pykde/sip/kdeui/kaction.sip +++ /dev/null @@ -1,759 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdeui version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KAction : QObject -{ -%TypeHeaderCode -#include -%End - - -public: - KAction (const QString&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), KActionCollection* /TransferThis/, const char*); - KAction (const QString&, const QIconSet&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), KActionCollection* /TransferThis/, const char*); - KAction (const QString&, const QString&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), KActionCollection* /TransferThis/, const char*); - KAction (const KGuiItem&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), KActionCollection* /TransferThis/, const char*); - KAction (const QString&, const KShortcut& = KShortcut (), QObject* /TransferThis/ = 0, const char* = 0); - KAction (const QString&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), QObject* /TransferThis/, const char* = 0); - KAction (const QString&, const QIconSet&, const KShortcut& = KShortcut (), QObject* /TransferThis/ = 0, const char* = 0); - KAction (const QString&, const QString&, const KShortcut& = KShortcut (), QObject* /TransferThis/ = 0, const char* = 0); - KAction (const QString&, const QIconSet&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), QObject* /TransferThis/, const char* = 0); - KAction (const QString&, const QString&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), QObject* /TransferThis/, const char* = 0); - KAction (QObject* /TransferThis/ = 0, const char* = 0); - virtual int plug (QWidget*, int = -1); - virtual void plugAccel (KAccel*, bool = 1); - virtual void unplug (QWidget*); - virtual void unplugAccel (); - virtual bool isPlugged () const; - -%If ( KDE_3_1_0 - ) - bool isPlugged (const QWidget*) const; -%End - - virtual bool isPlugged (const QWidget*, int) const; - virtual bool isPlugged (const QWidget*, const QWidget*) const; - QWidget* container (int) const; - int itemId (int) const; - QWidget* representative (int) const; - int containerCount () const; - -%If ( KDE_3_1_0 - ) - uint kaccelCount () const; -%End - - virtual bool hasIcon () const; - bool hasIconSet () const; - virtual QString plainText () const; - virtual QString text () const; - virtual const KShortcut& shortcut () const; - virtual const KShortcut& shortcutDefault () const; - QString shortcutText () const; - void setShortcutText (const QString&); - virtual bool isEnabled () const; - virtual bool isShortcutConfigurable () const; - virtual QString group () const; - virtual QString whatsThis () const; - virtual QString toolTip () const; - virtual QIconSet iconSet (KIcon::Group, int = 0) const; - QIconSet iconSet () const; - virtual QString icon () const; - KActionCollection* parentCollection () const; - static int getToolButtonID (); - void unplugAll (); - -%If ( KDE_3_4_0 - ) - - enum ActivationReason - { - UnknownActivation, - EmulatedActivation, - AccelActivation, - PopupMenuActivation, - ToolBarActivation - }; - -%End - - -public slots: - virtual void setText (const QString&); - virtual bool setShortcut (const KShortcut&); - virtual void setGroup (const QString&); - virtual void setWhatsThis (const QString&); - virtual void setToolTip (const QString&); - virtual void setIconSet (const QIconSet&); - virtual void setIcon (const QString&); - virtual void setEnabled (bool); - -%If ( KDE_3_5_0 - ) - void setDisabled (bool); -%End - - virtual void setShortcutConfigurable (bool); - virtual void activate (); - -protected slots: - virtual void slotDestroyed (); - virtual void slotKeycodeChanged (); - virtual void slotActivated (); - -%If ( KDE_3_4_0 - ) - void slotPopupActivated (); - void slotButtonClicked (int, Qt::ButtonState); -%End - - -protected: - KToolBar* toolBar (int) const; - QPopupMenu* popupMenu (int) const; - void removeContainer (int); - int findContainer (const QWidget*) const; - -%If ( KDE_3_4_0 - ) - int findContainer (int) const; -%End - - void plugMainWindowAccel (QWidget*); - void addContainer (QWidget* /Transfer/, int); - void addContainer (QWidget* /Transfer/, QWidget*); - virtual void updateShortcut (int); - virtual void updateShortcut (QPopupMenu*, int); - virtual void updateGroup (int); - virtual void updateText (int); - virtual void updateEnabled (int); - virtual void updateIconSet (int); - virtual void updateIcon (int); - virtual void updateToolTip (int); - virtual void updateWhatsThis (int); - -%If ( KDE_3_1_0 - ) - QString whatsThisWithIcon () const; - -%If ( KDE_3_3_0 - ) - const KGuiItem& guiItem () const; -%End - -%End - - -signals: - void activated (); - -%If ( KDE_3_4_0 - ) - void activated (KAction::ActivationReason, Qt::ButtonState); -%End - - void enabled (bool); - -public: - int accel () const; - QString statusText () const; - void setAccel (int); - void setStatusText (const QString&); - int menuId (int); - -protected: -//igx virtual void virtual_hook (int, void*); - -}; // class KAction - - -%If ( - KDE_3_2_0 ) - -class KToggleAction : KAction -{ -%TypeHeaderCode -#include -%End - - -public: - KToggleAction (const QString&, const KShortcut& = KShortcut (), QObject* /TransferThis/ = 0, const char* = 0); - KToggleAction (const QString&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), QObject* /TransferThis/, const char* = 0); - KToggleAction (const QString&, const QIconSet&, const KShortcut& = KShortcut (), QObject* /TransferThis/ = 0, const char* = 0); - KToggleAction (const QString&, const QString&, const KShortcut& = KShortcut (), QObject* /TransferThis/ = 0, const char* = 0); - KToggleAction (const QString&, const QIconSet&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), QObject* /TransferThis/, const char* = 0); - KToggleAction (const QString&, const QString&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), QObject* /TransferThis/, const char* = 0); - KToggleAction (QObject* /TransferThis/ = 0, const char* = 0); - virtual int plug (QWidget*, int = -1); - bool isChecked () const; - QString exclusiveGroup () const; - virtual void setExclusiveGroup (const QString&); - -public slots: - virtual void setChecked (bool); - -protected slots: - virtual void slotActivated (); - -protected: - virtual void updateChecked (int); - -signals: - void toggled (bool); - -protected: -//igx virtual void virtual_hook (int, void*); - -}; // class KToggleAction - -%End - - -%If ( - KDE_3_2_0 ) - -class KRadioAction : KToggleAction -{ -%TypeHeaderCode -#include -%End - - -public: - KRadioAction (const QString&, const KShortcut& = KShortcut (), QObject* /TransferThis/ = 0, const char* = 0); - KRadioAction (const QString&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), QObject* /TransferThis/, const char* = 0); - KRadioAction (const QString&, const QIconSet&, const KShortcut& = KShortcut (), QObject* /TransferThis/ = 0, const char* = 0); - KRadioAction (const QString&, const QString&, const KShortcut& = KShortcut (), QObject* /TransferThis/ = 0, const char* = 0); - KRadioAction (const QString&, const QIconSet&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), QObject* /TransferThis/, const char* = 0); - KRadioAction (const QString&, const QString&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), QObject* /TransferThis/, const char* = 0); - KRadioAction (QObject* /TransferThis/ = 0, const char* = 0); - -protected: - virtual void slotActivated (); - -protected: -//igx virtual void virtual_hook (int, void*); - -}; // class KRadioAction - -%End - - -%If ( - KDE_3_2_0 ) - -class KSelectAction : KAction -{ -%TypeHeaderCode -#include -%End - - -public: - KSelectAction (const QString&, const KShortcut& = KShortcut (), QObject* /TransferThis/ = 0, const char* = 0); - KSelectAction (const QString&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), QObject* /TransferThis/, const char* = 0); - KSelectAction (const QString&, const QIconSet&, const KShortcut& = KShortcut (), QObject* /TransferThis/ = 0, const char* = 0); - KSelectAction (const QString&, const QString&, const KShortcut& = KShortcut (), QObject* /TransferThis/ = 0, const char* = 0); - KSelectAction (const QString&, const QIconSet&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), QObject* /TransferThis/, const char* = 0); - KSelectAction (const QString&, const QString&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), QObject* /TransferThis/, const char* = 0); - KSelectAction (QObject* /TransferThis/ = 0, const char* = 0); - virtual int plug (QWidget*, int = -1); - virtual bool isEditable () const; - virtual QStringList items () const; - virtual void changeItem (int, const QString&); - virtual QString currentText () const; - virtual int currentItem () const; - virtual int comboWidth () const; - QPopupMenu* popupMenu (); - -%If ( KDE_3_1_0 - ) - void setRemoveAmpersandsInCombo (bool); - bool removeAmpersandsInCombo () const; - void setMenuAccelsEnabled (bool); - bool menuAccelsEnabled () const; -%End - - -public slots: - virtual void setCurrentItem (int); - virtual void setItems (const QStringList&); - virtual void clear (); - virtual void setEditable (bool); - virtual void setComboWidth (int); - -protected: - virtual void changeItem (int, int, const QString&); - -%If ( KDE_3_1_0 - ) - QStringList comboItems () const; -%End - - -protected slots: - virtual void slotActivated (int); - virtual void slotActivated (const QString&); - virtual void slotActivated (); - -signals: - void activated (int); - void activated (const QString&); - -protected: - virtual void updateCurrentItem (int); - virtual void updateComboWidth (int); - virtual void updateItems (int); - virtual void updateClear (int); - -protected: -//igx virtual void virtual_hook (int, void*); - -}; // class KSelectAction - -%End - - -%If ( - KDE_3_2_0 ) - -class KListAction : KSelectAction -{ -%TypeHeaderCode -#include -%End - - -public: - KListAction (const QString&, const KShortcut& = KShortcut (), QObject* /TransferThis/ = 0, const char* = 0); - KListAction (const QString&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), QObject* /TransferThis/, const char* = 0); - KListAction (const QString&, const QIconSet&, const KShortcut& = KShortcut (), QObject* /TransferThis/ = 0, const char* = 0); - KListAction (const QString&, const QString&, const KShortcut& = KShortcut (), QObject* /TransferThis/ = 0, const char* = 0); - KListAction (const QString&, const QIconSet&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), QObject* /TransferThis/, const char* = 0); - KListAction (const QString&, const QString&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), QObject* /TransferThis/, const char* = 0); - KListAction (QObject* /TransferThis/ = 0, const char* = 0); - virtual QString currentText () const; - virtual int currentItem () const; - -public slots: - virtual void setCurrentItem (int); - -protected: -//igx virtual void virtual_hook (int, void*); - -}; // class KListAction - -%End - - -%If ( - KDE_3_2_0 ) - -class KRecentFilesAction : KListAction -{ -%TypeHeaderCode -#include -%End - - -public: - KRecentFilesAction (const QString&, const KShortcut&, QObject* /TransferThis/, const char* = 0, uint = 10); - KRecentFilesAction (const QString&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), QObject* /TransferThis/, const char* = 0, uint = 10); - KRecentFilesAction (const QString&, const QIconSet&, const KShortcut&, QObject* /TransferThis/, const char* = 0, uint = 10); - KRecentFilesAction (const QString&, const QString&, const KShortcut&, QObject* /TransferThis/, const char* = 0, uint = 10); - KRecentFilesAction (const QString&, const QIconSet&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), QObject* /TransferThis/, const char* = 0, uint = 10); - KRecentFilesAction (const QString&, const QString&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), QObject* /TransferThis/, const char* = 0, uint = 10); - KRecentFilesAction (QObject* /TransferThis/ = 0, const char* = 0, uint = 10); - uint maxItems () const; - -public slots: - void setMaxItems (uint); - void loadEntries (KConfig*, QString = QString ::null ); - void saveEntries (KConfig*, QString = QString ::null ); - -public slots: - void addURL (const KURL&); - void removeURL (const KURL&); - void clearURLList (); - -signals: - void urlSelected (const KURL&); - -protected slots: - void itemSelected (const QString&); - -protected: -//igx virtual void virtual_hook (int, void*); - -}; // class KRecentFilesAction - -%End - - -%If ( - KDE_3_2_0 ) - -class KFontAction : KSelectAction -{ -%TypeHeaderCode -#include -%End - - -public: - KFontAction (const QString&, const KShortcut& = KShortcut (), QObject* /TransferThis/ = 0, const char* = 0); - KFontAction (const QString&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), QObject* /TransferThis/, const char* = 0); - KFontAction (const QString&, const QIconSet&, const KShortcut& = KShortcut (), QObject* /TransferThis/ = 0, const char* = 0); - KFontAction (const QString&, const QString&, const KShortcut& = KShortcut (), QObject* /TransferThis/ = 0, const char* = 0); - KFontAction (const QString&, const QIconSet&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), QObject* /TransferThis/, const char* = 0); - KFontAction (const QString&, const QString&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), QObject* /TransferThis/, const char* = 0); - KFontAction (QObject* /TransferThis/ = 0, const char* = 0); - QString font () const; - int plug (QWidget*, int = -1); - -public slots: - void setFont (const QString&); - -protected: -//igx virtual void virtual_hook (int, void*); - -}; // class KFontAction - -%End - - -%If ( - KDE_3_2_0 ) - -class KFontSizeAction : KSelectAction -{ -%TypeHeaderCode -#include -%End - - -public: - KFontSizeAction (const QString&, const KShortcut& = KShortcut (), QObject* /TransferThis/ = 0, const char* = 0); - KFontSizeAction (const QString&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), QObject* /TransferThis/, const char* = 0); - KFontSizeAction (const QString&, const QIconSet&, const KShortcut& = KShortcut (), QObject* /TransferThis/ = 0, const char* = 0); - KFontSizeAction (const QString&, const QString&, const KShortcut& = KShortcut (), QObject* /TransferThis/ = 0, const char* = 0); - KFontSizeAction (const QString&, const QIconSet&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), QObject* /TransferThis/, const char* = 0); - KFontSizeAction (const QString&, const QString&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), QObject* /TransferThis/, const char* = 0); - KFontSizeAction (QObject* /TransferThis/ = 0, const char* = 0); - virtual int fontSize () const; - -public slots: - virtual void setFontSize (int); - -protected slots: - virtual void slotActivated (int); - virtual void slotActivated (const QString&); - virtual void slotActivated (); - -signals: - void fontSizeChanged (int); - -protected: -//igx virtual void virtual_hook (int, void*); - -}; // class KFontSizeAction - -%End - - -%If ( - KDE_3_2_0 ) - -class KActionMenu : KAction -{ -%TypeHeaderCode -#include -%End - - -public: - KActionMenu (const QString&, QObject* /TransferThis/ = 0, const char* = 0); - KActionMenu (const QString&, const QIconSet&, QObject* /TransferThis/ = 0, const char* = 0); - KActionMenu (const QString&, const QString&, QObject* /TransferThis/ = 0, const char* = 0); - KActionMenu (QObject* /TransferThis/ = 0, const char* = 0); - virtual void insert (KAction*, int = -1); - virtual void remove (KAction*); - KPopupMenu* popupMenu (); - void popup (const QPoint&); - bool delayed () const; - void setDelayed (bool); - bool stickyMenu () const; - void setStickyMenu (bool); - virtual int plug (QWidget*, int = -1); - -protected: -//igx virtual void virtual_hook (int, void*); - -}; // class KActionMenu - -%End - - -%If ( - KDE_3_2_0 ) - -class KToolBarPopupAction : KAction -{ -%TypeHeaderCode -#include -%End - - -public: - KToolBarPopupAction (const QString&, const QString&, const KShortcut& = KShortcut (), QObject* /TransferThis/ = 0, const char* = 0); - KToolBarPopupAction (const QString&, const QString&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), QObject* /TransferThis/ = 0, const char* = 0); - KToolBarPopupAction (const KGuiItem&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), KActionCollection* /TransferThis/, const char*); - virtual int plug (QWidget*, int = -1); - KPopupMenu* popupMenu (); - bool delayed () const; - void setDelayed (bool); - bool stickyMenu () const; - void setStickyMenu (bool); - -protected: -//igx virtual void virtual_hook (int, void*); - -}; // class KToolBarPopupAction - -%End - - -%If ( KDE_3_1_0 - KDE_3_2_0 ) - -class KToggleToolBarAction : KToggleAction -{ -%TypeHeaderCode -#include -%End - - -public: - KToggleToolBarAction (const char*, const QString&, KActionCollection* /TransferThis/, const char*); - KToggleToolBarAction (KToolBar*, const QString&, KActionCollection* /TransferThis/, const char*); - virtual int plug (QWidget*, int = -1); - KToolBar* toolBar (); - -public slots: - virtual void setChecked (bool); - -protected: - virtual void virtual_hook (int, void*); - -}; // class KToggleToolBarAction - -%End - - -%If ( KDE_3_1_0 - KDE_3_2_0 ) - -class KWidgetAction : KAction -{ -%TypeHeaderCode -#include -%End - - -public: - KWidgetAction (QWidget*, const QString&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), KActionCollection* /TransferThis/, const char*); - QWidget* widget (); - void setAutoSized (bool); - virtual int plug (QWidget*, int = -1); - virtual void unplug (QWidget*); - -protected slots: - void slotToolbarDestroyed (); - -protected: - virtual void virtual_hook (int, void*); - -}; // class KWidgetAction - -%End - - -%If ( - KDE_3_2_0 ) - -class KActionSeparator : KAction -{ -%TypeHeaderCode -#include -%End - - -public: - KActionSeparator (QObject* /TransferThis/ = 0, const char* = 0); - virtual int plug (QWidget*, int = -1); - -protected: -//igx virtual void virtual_hook (int, void*); - -}; // class KActionSeparator - -%End - - -%If ( - KDE_3_2_0 ) - -class KActionCollection : QObject -{ -%TypeHeaderCode -#include -%End - - -public: - KActionCollection (QWidget* /TransferThis/, const char* = 0, KInstance* = 0); - KActionCollection (QWidget*, QObject* /TransferThis/, const char* = 0, KInstance* = 0); - KActionCollection (const KActionCollection&); - virtual void setWidget (QWidget*); - -%If ( KDE_3_1_0 - ) - void setAutoConnectShortcuts (bool); - bool isAutoConnectShortcuts (); - bool addDocCollection (KActionCollection*); -%End - - virtual KAccel* accel (); - -%If ( KDE_3_1_0 - ) - KAccel* kaccel (); - KAccel* builderKAccel () const; -%End - - virtual uint count () const; - bool isEmpty () const; - virtual KAction* action (int) const; - virtual KAction* action (const char*, const char* = 0) const; - virtual QStringList groups () const; - -%If ( KDE_3_1_5 - ) - virtual QValueList actions (const QString&) const; - virtual QValueList actions () const; -%End - - bool readShortcutSettings (const QString& = QString ::null , KConfigBase* = 0); - bool writeShortcutSettings (const QString& = QString ::null , KConfigBase* = 0) const; - void setInstance (KInstance*); - KInstance* instance () const; - void setXMLFile (const QString&); - const QString& xmlFile () const; - void setHighlightingEnabled (bool); - bool highlightingEnabled () const; - void connectHighlight (QWidget*, KAction*); - void disconnectHighlight (QWidget*, KAction*); - -signals: - void inserted (KAction*); - void removed (KAction*); - void actionHighlighted (KAction*); - void actionHighlighted (KAction*, bool); - void actionStatusText (const QString&); - void clearStatusText (); - -public: - KActionCollection (QObject* /TransferThis/ = 0, const char* = 0, KInstance* = 0); - void insert (KAction*); - void remove (KAction*); - KAction* take (KAction*); - -%If ( KDE_3_1_4 - ) - KActionCollection operator + (const KActionCollection&) const; - KActionCollection& operator += (const KActionCollection&); -%End - - -public slots: - void clear (); - -protected: -//igx virtual void virtual_hook (int, void*); - -}; // class KActionCollection - -%End - - -%If ( - KDE_3_2_0 ) -//ig typedef QValueList KActionPtrList; -%End - - -%MappedType QValueList -//converts a Python list of KAction -{ -%TypeHeaderCode -#include -#include -//typedef QValueList KActionPtrList; -#include -%End - -%ConvertFromTypeCode - if (!sipCpp) - return PyList_New(0); - - // Create the list - PyObject *pylist; - if ((pylist = PyList_New(0)) == NULL) - return NULL; - - QValueList *cpplist = (QValueList *)sipCpp; - PyObject *inst; - - // Get it. - QValueList::Iterator it; - for( it = cpplist->begin(); it != cpplist->end(); ++it ) - { - if (((inst = sipConvertFromInstance (*it, sipClass_KAction, sipTransferObj)) == NULL) - || PyList_Append (pylist, inst) < 0) - { - Py_DECREF (pylist); - return NULL; - } - } - - return pylist; -%End - - -%ConvertToTypeCode - if (sipIsErr == NULL) - return PyList_Check(sipPy); - - QValueList *cpplist = new QValueList; - - PyObject *elem; - KAction* cpp; - int iserr = 0; - - for (int i = 0; i < PyList_Size (sipPy); i++) - { - elem = PyList_GET_ITEM (sipPy, i); - cpp = (KAction *)sipForceConvertTo_KAction (elem, &iserr); - - if (iserr) - { - *sipIsErr = 1; - delete cpplist; - return 0; - } - - cpplist->append (cpp); - } - - *sipCppPtr = cpplist; - - return 1; -%End -}; - - diff --git a/python/pykde/sip/kdeui/kactionclasses.sip b/python/pykde/sip/kdeui/kactionclasses.sip deleted file mode 100644 index 799469d1..00000000 --- a/python/pykde/sip/kdeui/kactionclasses.sip +++ /dev/null @@ -1,529 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdeui version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -%If ( KDE_3_2_0 - ) - -class KToggleAction : KAction -{ -%TypeHeaderCode -#include -%End - - -public: - KToggleAction (const QString&, const KShortcut& = KShortcut (), QObject* /TransferThis/ = 0, const char* = 0); - KToggleAction (const QString&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), QObject* /TransferThis/, const char* = 0); - KToggleAction (const QString&, const QIconSet&, const KShortcut& = KShortcut (), QObject* /TransferThis/ = 0, const char* = 0); - KToggleAction (const QString&, const QString&, const KShortcut& = KShortcut (), QObject* /TransferThis/ = 0, const char* = 0); - KToggleAction (const QString&, const QIconSet&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), QObject* /TransferThis/, const char* = 0); - KToggleAction (const QString&, const QString&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), QObject* /TransferThis/, const char* = 0); - KToggleAction (QObject* /TransferThis/ = 0, const char* = 0); - virtual int plug (QWidget*, int = -1); - bool isChecked () const; - QString exclusiveGroup () const; - virtual void setExclusiveGroup (const QString&); - -%If ( KDE_3_3_0 - ) - void setCheckedState (const KGuiItem&); - virtual QString toolTip () const; -%End - - -public slots: - virtual void setChecked (bool); - -protected slots: - virtual void slotActivated (); - -protected: - virtual void updateChecked (int); - -signals: - void toggled (bool); - -protected: -//igx virtual void virtual_hook (int, void*); - -}; // class KToggleAction - -%End - - -%If ( KDE_3_2_0 - ) - -class KRadioAction : KToggleAction -{ -%TypeHeaderCode -#include -%End - - -public: - KRadioAction (const QString&, const KShortcut& = KShortcut (), QObject* /TransferThis/ = 0, const char* = 0); - KRadioAction (const QString&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), QObject* /TransferThis/, const char* = 0); - KRadioAction (const QString&, const QIconSet&, const KShortcut& = KShortcut (), QObject* /TransferThis/ = 0, const char* = 0); - KRadioAction (const QString&, const QString&, const KShortcut& = KShortcut (), QObject* /TransferThis/ = 0, const char* = 0); - KRadioAction (const QString&, const QIconSet&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), QObject* /TransferThis/, const char* = 0); - KRadioAction (const QString&, const QString&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), QObject* /TransferThis/, const char* = 0); - KRadioAction (QObject* /TransferThis/ = 0, const char* = 0); - -protected: - virtual void slotActivated (); - -protected: -//igx virtual void virtual_hook (int, void*); - -}; // class KRadioAction - -%End - - -%If ( KDE_3_2_0 - ) - -class KSelectAction : KAction -{ -%TypeHeaderCode -#include -%End - - -public: - KSelectAction (const QString&, const KShortcut& = KShortcut (), QObject* /TransferThis/ = 0, const char* = 0); - KSelectAction (const QString&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), QObject* /TransferThis/, const char* = 0); - KSelectAction (const QString&, const QIconSet&, const KShortcut& = KShortcut (), QObject* /TransferThis/ = 0, const char* = 0); - KSelectAction (const QString&, const QString&, const KShortcut& = KShortcut (), QObject* /TransferThis/ = 0, const char* = 0); - KSelectAction (const QString&, const QIconSet&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), QObject* /TransferThis/, const char* = 0); - KSelectAction (const QString&, const QString&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), QObject* /TransferThis/, const char* = 0); - KSelectAction (QObject* /TransferThis/ = 0, const char* = 0); - virtual int plug (QWidget*, int = -1); - virtual bool isEditable () const; - virtual QStringList items () const; - virtual void changeItem (int, const QString&); - virtual QString currentText () const; - virtual int currentItem () const; - virtual int comboWidth () const; - -%If ( KDE_3_5_0 - ) - void setMaxComboViewCount (int); -%End - - QPopupMenu* popupMenu () const; - void setRemoveAmpersandsInCombo (bool); - bool removeAmpersandsInCombo () const; - void setMenuAccelsEnabled (bool); - bool menuAccelsEnabled () const; - -%If ( KDE_3_5_0 - ) - virtual bool isShortcutConfigurable () const; -%End - - -public slots: - virtual void setCurrentItem (int); - virtual void setItems (const QStringList&); - virtual void clear (); - virtual void setEditable (bool); - virtual void setComboWidth (int); - -protected: - virtual void changeItem (int, int, const QString&); - QStringList comboItems () const; - -protected slots: - virtual void slotActivated (int); - virtual void slotActivated (const QString&); - virtual void slotActivated (); - -signals: - void activated (int); - void activated (const QString&); - -protected: - virtual void updateCurrentItem (int); - virtual void updateComboWidth (int); - virtual void updateItems (int); - virtual void updateClear (int); - -protected: -//igx virtual void virtual_hook (int, void*); - -}; // class KSelectAction - -%End - - -%If ( KDE_3_2_0 - ) - -class KListAction : KSelectAction -{ -%TypeHeaderCode -#include -%End - - -public: - KListAction (const QString&, const KShortcut& = KShortcut (), QObject* /TransferThis/ = 0, const char* = 0); - KListAction (const QString&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), QObject* /TransferThis/, const char* = 0); - KListAction (const QString&, const QIconSet&, const KShortcut& = KShortcut (), QObject* /TransferThis/ = 0, const char* = 0); - KListAction (const QString&, const QString&, const KShortcut& = KShortcut (), QObject* /TransferThis/ = 0, const char* = 0); - KListAction (const QString&, const QIconSet&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), QObject* /TransferThis/, const char* = 0); - KListAction (const QString&, const QString&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), QObject* /TransferThis/, const char* = 0); - KListAction (QObject* /TransferThis/ = 0, const char* = 0); - virtual QString currentText () const; - virtual int currentItem () const; - -public slots: - virtual void setCurrentItem (int); - -protected: -//igx virtual void virtual_hook (int, void*); - -}; // class KListAction - -%End - - -%If ( KDE_3_2_0 - ) - -class KRecentFilesAction : KListAction -{ -%TypeHeaderCode -#include -%End - - -public: - KRecentFilesAction (const QString&, const KShortcut&, QObject* /TransferThis/, const char* = 0, uint = 10); - KRecentFilesAction (const QString&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), QObject* /TransferThis/, const char* = 0, uint = 10); - KRecentFilesAction (const QString&, const QIconSet&, const KShortcut&, QObject* /TransferThis/, const char* = 0, uint = 10); - KRecentFilesAction (const QString&, const QString&, const KShortcut&, QObject* /TransferThis/, const char* = 0, uint = 10); - KRecentFilesAction (const QString&, const QIconSet&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), QObject* /TransferThis/, const char* = 0, uint = 10); - KRecentFilesAction (const QString&, const QString&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), QObject* /TransferThis/, const char* = 0, uint = 10); - KRecentFilesAction (QObject* /TransferThis/ = 0, const char* = 0, uint = 10); - virtual int plug (QWidget*, int = -1); - uint maxItems () const; - -%If ( KDE_3_5_0 - ) - virtual QStringList items () const; - QStringList completeItems () const; -%End - - -public slots: - void setMaxItems (uint); - void loadEntries (KConfig*, QString = QString ::null ); - void saveEntries (KConfig*, QString = QString ::null ); - void addURL (const KURL&); - -%If ( KDE_3_5_0 - ) - void addURL (const KURL&, const QString&); -%End - - void removeURL (const KURL&); - void clearURLList (); - -signals: - void urlSelected (const KURL&); - -protected slots: - void itemSelected (const QString&); - void menuAboutToShow (); - void menuItemActivated (int); - void slotClicked (); - virtual void slotActivated (int); - virtual void slotActivated (const QString&); - virtual void slotActivated (); - -protected: -//igx virtual void virtual_hook (int, void*); - -}; // class KRecentFilesAction - -%End - - -%If ( KDE_3_2_0 - ) - -class KFontAction : KSelectAction -{ -%TypeHeaderCode -#include -%End - - -public: - KFontAction (const QString&, const KShortcut& = KShortcut (), QObject* /TransferThis/ = 0, const char* = 0); - KFontAction (const QString&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), QObject* /TransferThis/, const char* = 0); - KFontAction (const QString&, const QIconSet&, const KShortcut& = KShortcut (), QObject* /TransferThis/ = 0, const char* = 0); - KFontAction (const QString&, const QString&, const KShortcut& = KShortcut (), QObject* /TransferThis/ = 0, const char* = 0); - KFontAction (const QString&, const QIconSet&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), QObject* /TransferThis/, const char* = 0); - KFontAction (const QString&, const QString&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), QObject* /TransferThis/, const char* = 0); - -%If ( KDE_3_3_0 - ) - KFontAction (uint, const QString&, const KShortcut& = KShortcut (), QObject* /TransferThis/ = 0, const char* = 0); - KFontAction (uint, const QString&, const QString&, const KShortcut& = KShortcut (), QObject* /TransferThis/ = 0, const char* = 0); -%End - - KFontAction (QObject* /TransferThis/ = 0, const char* = 0); - QString font () const; - int plug (QWidget*, int = -1); - -public slots: - void setFont (const QString&); - -protected: -//igx virtual void virtual_hook (int, void*); - -}; // class KFontAction - -%End - - -%If ( KDE_3_2_0 - ) - -class KFontSizeAction : KSelectAction -{ -%TypeHeaderCode -#include -%End - - -public: - KFontSizeAction (const QString&, const KShortcut& = KShortcut (), QObject* /TransferThis/ = 0, const char* = 0); - KFontSizeAction (const QString&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), QObject* /TransferThis/, const char* = 0); - KFontSizeAction (const QString&, const QIconSet&, const KShortcut& = KShortcut (), QObject* /TransferThis/ = 0, const char* = 0); - KFontSizeAction (const QString&, const QString&, const KShortcut& = KShortcut (), QObject* /TransferThis/ = 0, const char* = 0); - KFontSizeAction (const QString&, const QIconSet&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), QObject* /TransferThis/, const char* = 0); - KFontSizeAction (const QString&, const QString&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), QObject* /TransferThis/, const char* = 0); - KFontSizeAction (QObject* /TransferThis/ = 0, const char* = 0); - virtual int fontSize () const; - -public slots: - virtual void setFontSize (int); - -protected slots: - virtual void slotActivated (int); - virtual void slotActivated (const QString&); - virtual void slotActivated (); - -signals: - void fontSizeChanged (int); - -protected: -//igx virtual void virtual_hook (int, void*); - -}; // class KFontSizeAction - -%End - - -%If ( KDE_3_2_0 - ) - -class KActionMenu : KAction -{ -%TypeHeaderCode -#include -%End - - -public: - KActionMenu (const QString&, QObject* /TransferThis/ = 0, const char* = 0); - KActionMenu (const QString&, const QIconSet&, QObject* /TransferThis/ = 0, const char* = 0); - KActionMenu (const QString&, const QString&, QObject* /TransferThis/ = 0, const char* = 0); - KActionMenu (QObject* /TransferThis/ = 0, const char* = 0); - virtual void insert (KAction*, int = -1); - virtual void remove (KAction*); - KPopupMenu* popupMenu () const; - void popup (const QPoint&); - bool delayed () const; - void setDelayed (bool); - bool stickyMenu () const; - void setStickyMenu (bool); - virtual int plug (QWidget*, int = -1); - -protected: -//igx virtual void virtual_hook (int, void*); - -}; // class KActionMenu - -%End - - -%If ( KDE_3_2_0 - ) - -class KToolBarPopupAction : KAction -{ -%TypeHeaderCode -#include -%End - - -public: - KToolBarPopupAction (const QString&, const QString&, const KShortcut& = KShortcut (), QObject* /TransferThis/ = 0, const char* = 0); - KToolBarPopupAction (const QString&, const QString&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), QObject* /TransferThis/ = 0, const char* = 0); - KToolBarPopupAction (const KGuiItem&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), KActionCollection* /TransferThis/, const char*); - virtual int plug (QWidget*, int = -1); - KPopupMenu* popupMenu () const; - bool delayed () const; - void setDelayed (bool); - bool stickyMenu () const; - void setStickyMenu (bool); - -protected: -//igx virtual void virtual_hook (int, void*); - -}; // class KToolBarPopupAction - -%End - - -%If ( KDE_3_2_0 - ) - -class KToggleToolBarAction : KToggleAction -{ -%TypeHeaderCode -#include -%End - - -public: - KToggleToolBarAction (const char*, const QString&, KActionCollection* /TransferThis/, const char*); - KToggleToolBarAction (KToolBar*, const QString&, KActionCollection* /TransferThis/, const char*); - virtual int plug (QWidget*, int = -1); - KToolBar* toolBar (); - -public slots: - virtual void setChecked (bool); - -protected: -//igx virtual void virtual_hook (int, void*); - -}; // class KToggleToolBarAction - -%End - - -%If ( KDE_3_2_0 - ) - -class KToggleFullScreenAction : KToggleAction -{ -%TypeHeaderCode -#include -%End - - -public: - KToggleFullScreenAction (const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), QObject* /TransferThis/, QWidget*, const char*); - void setWindow (QWidget*); - -public slots: - virtual void setChecked (bool); - -protected: - virtual bool eventFilter (QObject*, QEvent*); - -protected: -//igx virtual void virtual_hook (int, void*); - -}; // class KToggleFullScreenAction - -%End - - -%If ( KDE_3_2_0 - ) - -class KWidgetAction : KAction -{ -%TypeHeaderCode -#include -%End - - -public: - KWidgetAction (QWidget*, const QString&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), KActionCollection* /TransferThis/, const char*); - QWidget* widget (); - void setAutoSized (bool); - virtual int plug (QWidget*, int = -1); - virtual void unplug (QWidget*); - -protected slots: - void slotToolbarDestroyed (); - -protected: -//igx virtual void virtual_hook (int, void*); - -}; // class KWidgetAction - -%End - - -%If ( KDE_3_2_0 - ) - -class KActionSeparator : KAction -{ -%TypeHeaderCode -#include -%End - - -public: - KActionSeparator (QObject* /TransferThis/ = 0, const char* = 0); - virtual int plug (QWidget*, int = -1); - -protected: -//igx virtual void virtual_hook (int, void*); - -}; // class KActionSeparator - -%End - - -%If ( KDE_3_2_0 - ) - -class KPasteTextAction : KAction -{ -%TypeHeaderCode -#include -%End - - -public: - KPasteTextAction (const QString&, const QString&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), QObject* /TransferThis/ = 0, const char* = 0); - void setMixedMode (bool); - virtual int plug (QWidget*, int = -1); - -protected slots: - void menuAboutToShow (); - void menuItemActivated (int); - virtual void slotActivated (); - -protected: -//igx virtual void virtual_hook (int, void*); - -}; // class KPasteTextAction - -%End - diff --git a/python/pykde/sip/kdeui/kactioncollection.sip b/python/pykde/sip/kdeui/kactioncollection.sip deleted file mode 100644 index 7c0c0b18..00000000 --- a/python/pykde/sip/kdeui/kactioncollection.sip +++ /dev/null @@ -1,125 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdeui version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -%If ( KDE_3_2_0 - ) - -class KActionCollection : QObject -{ -%TypeHeaderCode -#include -%End - - -public: - KActionCollection (QWidget* /TransferThis/, const char* = 0, KInstance* = 0); - KActionCollection (QWidget*, QObject* /TransferThis/, const char* = 0, KInstance* = 0); - KActionCollection (const KActionCollection&); - virtual void setWidget (QWidget*); - void setAutoConnectShortcuts (bool); - bool isAutoConnectShortcuts (); - bool addDocCollection (KActionCollection*); - virtual KAccel* accel (); - KAccel* kaccel (); - KAccel* builderKAccel () const; - virtual uint count () const; - bool isEmpty () const; - virtual KAction* action (int) const; - virtual KAction* action (const char*, const char* = 0) const; - virtual QStringList groups () const; - virtual KActionPtrList actions (const QString&) const; - virtual KActionPtrList actions () const; - bool readShortcutSettings (const QString& = QString ::null , KConfigBase* = 0); - bool writeShortcutSettings (const QString& = QString ::null , KConfigBase* = 0) const; - void setInstance (KInstance*); - KInstance* instance () const; - void setXMLFile (const QString&); - const QString& xmlFile () const; - void setHighlightingEnabled (bool); - bool highlightingEnabled () const; - void connectHighlight (QWidget*, KAction*); - void disconnectHighlight (QWidget*, KAction*); - -%If ( KDE_3_3_0 - ) - const KXMLGUIClient* parentGUIClient () const; -%End - - -signals: - void inserted (KAction*); - void removed (KAction*); - void actionHighlighted (KAction*); - void actionHighlighted (KAction*, bool); - void actionStatusText (const QString&); - void clearStatusText (); - -public: - KActionCollection (QObject* /TransferThis/, const char* = 0, KInstance* = 0); - -public: - void insert (KAction*); - void remove (KAction*); - KAction* take (KAction*); - KActionCollection operator + (const KActionCollection&) const; - KActionCollection& operator += (const KActionCollection&); - -public slots: - void clear (); - -protected: -//igx virtual void virtual_hook (int, void*); - -%If ( KDE_3_3_0 - ) - -private: - KActionCollection (const char*, const KXMLGUIClient* /TransferThis/); -%End - - -public: - -%If ( - KDE_3_2_2 ) - -%If ( D_MANDRAKE ) - virtual QValueList actions (const QString&) const; - virtual QValueList actions () const; -%End - -%End - - -}; // class KActionCollection - -%End - - -%If ( KDE_3_2_0 - ) -typedef QValueList KActionPtrList; -%End - - -%If ( - KDE_3_2_2 ) -//ig typedef QValueList KActionPtrList; -%End diff --git a/python/pykde/sip/kdeui/kactionselector.sip b/python/pykde/sip/kdeui/kactionselector.sip deleted file mode 100644 index 6085356a..00000000 --- a/python/pykde/sip/kdeui/kactionselector.sip +++ /dev/null @@ -1,106 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdeui version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -%If ( KDE_3_3_0 - ) - -class KActionSelector : QWidget -{ -%TypeHeaderCode -#include -%End - - -public: - KActionSelector (QWidget* /TransferThis/ = 0, const char* = 0); - QListBox* availableListBox () const; - QListBox* selectedListBox () const; - - enum MoveButton - { - ButtonAdd, - ButtonRemove, - ButtonUp, - ButtonDown - }; - - - enum ButtonIconSize - { - SmallIcon, - Small, - Medium, - Large, - XLarge - }; - - - enum InsertionPolicy - { - BelowCurrent, - Sorted, - AtTop, - AtBottom - }; - - bool moveOnDoubleClick () const; - void setMoveOnDoubleClick (bool); - bool keyboardEnabled () const; - void setKeyboardEnabled (bool); - QString availableLabel () const; - void setAvailableLabel (const QString&); - QString selectedLabel () const; - void setSelectedLabel (const QString&); - KActionSelector::ButtonIconSize buttonIconSize () const; - void setButtonIconSize (KActionSelector::ButtonIconSize); - KActionSelector::InsertionPolicy availableInsertionPolicy () const; - void setAvailableInsertionPolicy (KActionSelector::InsertionPolicy); - KActionSelector::InsertionPolicy selectedInsertionPolicy () const; - void setSelectedInsertionPolicy (KActionSelector::InsertionPolicy); - bool showUpDownButtons () const; - void setShowUpDownButtons (bool); - void setButtonIcon (const QString&, KActionSelector::MoveButton); - void setButtonIconSet (const QIconSet&, KActionSelector::MoveButton); - void setButtonTooltip (const QString&, KActionSelector::MoveButton); - void setButtonWhatsThis (const QString&, KActionSelector::MoveButton); - void setButtonsEnabled (); - -signals: - void added (QListBoxItem*); - void removed (QListBoxItem*); - void movedUp (QListBoxItem*); - void movedDown (QListBoxItem*); - -public slots: - void polish (); - -protected: - void keyPressEvent (QKeyEvent*); - bool eventFilter (QObject*, QEvent*); - -}; // class KActionSelector - -%End - diff --git a/python/pykde/sip/kdeui/kactionshortcutlist.sip b/python/pykde/sip/kdeui/kactionshortcutlist.sip deleted file mode 100644 index 572c1048..00000000 --- a/python/pykde/sip/kdeui/kactionshortcutlist.sip +++ /dev/null @@ -1,106 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdeui version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KActionShortcutList : KShortcutList -{ -%TypeHeaderCode -#include -#include -#include -#include -%End - - -public: - KActionShortcutList (KActionCollection*); - virtual uint count () const; - virtual QString name (uint) const; - virtual QString label (uint) const; - virtual QString whatsThis (uint) const; - virtual const KShortcut& shortcut (uint) const; - virtual const KShortcut& shortcutDefault (uint) const; - virtual bool isConfigurable (uint) const; - virtual bool setShortcut (uint, const KShortcut&); - virtual const KInstance* instance () const; - virtual QVariant getOther (Other, uint) const; - virtual bool setOther (Other, uint, QVariant); - virtual bool save () const; - -%If ( KDE_3_3_0 - ) - const KAction* action (uint) const; -%End - - -protected: - -protected: -//igx virtual void virtual_hook (int, void*); - -}; // class KActionShortcutList - - -class KActionPtrShortcutList : KShortcutList -{ -%TypeHeaderCode -#include -#include -#include -#include -%End - - -public: - -%If ( KDE_3_2_0 - ) - KActionPtrShortcutList (KActionPtrList&); -%End - - virtual uint count () const; - virtual QString name (uint) const; - virtual QString label (uint) const; - virtual QString whatsThis (uint) const; - virtual const KShortcut& shortcut (uint) const; - virtual const KShortcut& shortcutDefault (uint) const; - virtual bool isConfigurable (uint) const; - virtual bool setShortcut (uint, const KShortcut&); - virtual QVariant getOther (Other, uint) const; - virtual bool setOther (Other, uint, QVariant); - virtual bool save () const; - -protected: - -protected: -//igx virtual void virtual_hook (int, void*); - -public: - -%If ( - KDE_3_2_0 ) - KActionPtrShortcutList (QValueList&); -%End - - -}; // class KActionPtrShortcutList - diff --git a/python/pykde/sip/kdeui/kactivelabel.sip b/python/pykde/sip/kdeui/kactivelabel.sip deleted file mode 100644 index 2a2ac992..00000000 --- a/python/pykde/sip/kdeui/kactivelabel.sip +++ /dev/null @@ -1,58 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdeui version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KActiveLabel : QTextBrowser -{ -%TypeHeaderCode -#include -%End - - -public: - KActiveLabel (QWidget* /TransferThis/, const char* = 0); - KActiveLabel (const QString&, QWidget* /TransferThis/, const char* = 0); - -%If ( KDE_3_1_0 - ) - QSize minimumSizeHint () const; - QSize sizeHint () const; -%End - - -public slots: - virtual void openLink (const QString&); - -protected: -//igx virtual void virtual_hook (int, void*); - virtual void focusInEvent (QFocusEvent*); - virtual void focusOutEvent (QFocusEvent*); - -%If ( KDE_3_4_0 - ) - virtual void keyPressEvent (QKeyEvent*); -%End - - -}; // class KActiveLabel - diff --git a/python/pykde/sip/kdeui/kalphapainter.sip b/python/pykde/sip/kdeui/kalphapainter.sip deleted file mode 100644 index 8c9c5e6c..00000000 --- a/python/pykde/sip/kdeui/kalphapainter.sip +++ /dev/null @@ -1,41 +0,0 @@ -// -// Copyright 2003 Jim Bublitz -// Earlier copyrights 1998 - 2002 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdeui version KDE_3_1_1 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KAlphaPainter -{ -%TypeHeaderCode -#include -%End - - -public: - static bool draw (QPainter*, const QImage&, QImage&, int, int, bool = 0, int = 0, int = 0); - static bool draw (QPainter*, const QImage&, const QPixmap&, int, int, bool = 0, int = 0, int = 0); - static bool draw (QPainter*, const QPixmap&, QImage&, int, int, bool = 0, int = 0, int = 0); - static bool draw (QPainter*, const QPixmap&, const QPixmap&, int, int, int = 0, int = 0); - -}; // class KAlphaPainter - diff --git a/python/pykde/sip/kdeui/kanimwidget.sip b/python/pykde/sip/kdeui/kanimwidget.sip deleted file mode 100644 index 9948bc1d..00000000 --- a/python/pykde/sip/kdeui/kanimwidget.sip +++ /dev/null @@ -1,92 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdeui version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KAnimWidget : QFrame -{ -%TypeHeaderCode -#include -%End - - -public: - KAnimWidget (const QString&, int = 0, QWidget* /TransferThis/ = 0, const char* = 0); - void setSize (int); - -%If ( KDE_3_4_0 - ) - int size () const; - QString icons () const; -%End - - void setIcons (const QString&); - -public slots: - -%If ( KDE_3_4_0 - ) - void start (); - void stop (); -%End - - -signals: - void clicked (); - -protected: - virtual void drawContents (QPainter*); - virtual void leaveEvent (QEvent*); - virtual void enterEvent (QEvent*); - virtual void hideEvent (QHideEvent*); - virtual void showEvent (QShowEvent*); - virtual void mousePressEvent (QMouseEvent*); - -%If ( KDE_3_1_0 - ) - virtual void mouseReleaseEvent (QMouseEvent*); -%End - - -protected slots: - void slotTimerUpdate (); - void updateIcons (); - -protected: -//igx virtual void virtual_hook (int, void*); - -public: - -%If ( - KDE_3_4_0 ) - void start (); - void stop (); -%End - - -public: - -%If ( - KDE_3_2_0 ) -//ig KAnimWidget (QWidget* /TransferThis/ = 0, const char* = 0); -%End - - -}; // class KAnimWidget - diff --git a/python/pykde/sip/kdeui/karrowbutton.sip b/python/pykde/sip/kdeui/karrowbutton.sip deleted file mode 100644 index 4a04f786..00000000 --- a/python/pykde/sip/kdeui/karrowbutton.sip +++ /dev/null @@ -1,55 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdeui version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KArrowButton : QPushButton -{ -%TypeHeaderCode -#include -%End - - -public: - KArrowButton (QWidget* /TransferThis/ = 0, Qt::ArrowType = Qt ::UpArrow , const char* = 0); - virtual QSize sizeHint () const; - -%If ( KDE_3_4_0 - ) - Qt::ArrowType arrowType () const; - int arrowTp () const; - void setArrowTp (int); -%End - - -public slots: - void setArrowType (Qt::ArrowType); - -protected: - virtual void drawButton (QPainter*); - -protected: -//igx virtual void virtual_hook (int, void*); - -}; // class KArrowButton - diff --git a/python/pykde/sip/kdeui/kauthicon.sip b/python/pykde/sip/kdeui/kauthicon.sip deleted file mode 100644 index ab9ccc65..00000000 --- a/python/pykde/sip/kdeui/kauthicon.sip +++ /dev/null @@ -1,101 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdeui version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KAuthIcon : QWidget -{ -%TypeHeaderCode -#include -%End - - -public: - KAuthIcon (QWidget* /TransferThis/ = 0, const char* = 0); - virtual QSize sizeHint () const; - virtual bool status () const = 0; - -public slots: - virtual void updateStatus () = 0; - -signals: - void authChanged (bool); - -protected: - -protected: -//igx virtual void virtual_hook (int, void*); - -}; // class KAuthIcon - - -class KRootPermsIcon : KAuthIcon -{ -%TypeHeaderCode -#include -%End - - -public: - KRootPermsIcon (QWidget* /TransferThis/ = 0, const char* = 0); - bool status () const; - -public slots: - void updateStatus (); - -protected: - -protected: -//igx virtual void virtual_hook (int, void*); - -}; // class KRootPermsIcon - - -class KWritePermsIcon : KAuthIcon -{ -%TypeHeaderCode -#include -%End - - -public: - KWritePermsIcon (const QString&, QWidget* /TransferThis/ = 0, const char* = 0); - bool status () const; - void setFileName (const QString&); - -%If ( KDE_3_4_0 - ) - QString fileName () const; -%End - - -public slots: - void updateStatus (); - -protected: - -protected: -//igx virtual void virtual_hook (int, void*); - -}; // class KWritePermsIcon - diff --git a/python/pykde/sip/kdeui/kbugreport.sip b/python/pykde/sip/kdeui/kbugreport.sip deleted file mode 100644 index 72239ce1..00000000 --- a/python/pykde/sip/kdeui/kbugreport.sip +++ /dev/null @@ -1,54 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdeui version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KBugReport : KDialogBase -{ -%TypeHeaderCode -#include -%End - - -public: - KBugReport (QWidget* /TransferThis/ = 0, bool = 1, const KAboutData* = 0); - -protected slots: - virtual void slotConfigureEmail (); - virtual void slotSetFrom (); - virtual void slotUrlClicked (const QString&); - virtual void slotOk (); - virtual void slotCancel (); - void appChanged (int); - void updateURL (); - -protected: - QString text (); - bool sendBugReport (); - -protected: -//igx virtual void virtual_hook (int, void*); - -}; // class KBugReport - diff --git a/python/pykde/sip/kdeui/kbuttonbox.sip b/python/pykde/sip/kdeui/kbuttonbox.sip deleted file mode 100644 index dfd9d2d8..00000000 --- a/python/pykde/sip/kdeui/kbuttonbox.sip +++ /dev/null @@ -1,59 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdeui version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KButtonBox : QWidget -{ -%TypeHeaderCode -#include -%End - - -public: - KButtonBox (QWidget* /TransferThis/, Orientation = Horizontal , int = 0, int = 6); - virtual QSize sizeHint () const; - virtual QSizePolicy sizePolicy () const; - virtual void resizeEvent (QResizeEvent*); - QPushButton* addButton (const QString&, bool = 0); - QPushButton* addButton (const QString&, SIP_RXOBJ_CON, SIP_SLOT_CON (), bool = 0); - -%If ( KDE_3_3_0 - ) - QPushButton* addButton (const KGuiItem&, bool = 0); - QPushButton* addButton (const KGuiItem&, SIP_RXOBJ_CON, SIP_SLOT_CON (), bool = 0); -%End - - void addStretch (int = 1); - void layout (); - -protected: - QSize bestButtonSize () const; - void placeButtons (); - QSize buttonSizeHint (QPushButton*) const; - -protected: -//igx virtual void virtual_hook (int, void*); - -}; // class KButtonBox - diff --git a/python/pykde/sip/kdeui/kcharselect.sip b/python/pykde/sip/kdeui/kcharselect.sip deleted file mode 100644 index 91b7bfde..00000000 --- a/python/pykde/sip/kdeui/kcharselect.sip +++ /dev/null @@ -1,130 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdeui version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KCharSelectTable : QGridView -{ -%TypeHeaderCode -#include -%End - - -public: - KCharSelectTable (QWidget* /TransferThis/, const char*, const QString&, const QChar&, int); - virtual QSize sizeHint () const; - virtual void resizeEvent (QResizeEvent*); - virtual void setFont (const QString&); - virtual void setChar (const QChar&); - virtual void setTableNum (int); - virtual QChar chr (); - -protected: - virtual void paintCell (QPainter*, int, int); - virtual void mousePressEvent (QMouseEvent*); - virtual void mouseDoubleClickEvent (QMouseEvent*); - virtual void mouseReleaseEvent (QMouseEvent*); - virtual void mouseMoveEvent (QMouseEvent*); - virtual void keyPressEvent (QKeyEvent*); - void gotoLeft (); - void gotoRight (); - void gotoUp (); - void gotoDown (); - -signals: - void highlighted (const QChar&); - void highlighted (); - void activated (const QChar&); - void activated (); - void focusItemChanged (); - void focusItemChanged (const QChar&); - void tableUp (); - void tableDown (); - void doubleClicked (); - -protected: -//igx virtual void virtual_hook (int, void*); - -}; // class KCharSelectTable - - -class KCharSelect : QVBox -{ -%TypeHeaderCode -#include -%End - - -public: - KCharSelect (QWidget* /TransferThis/, const char*, const QString& = QString ::null , const QChar& = ' ', int = 0); - virtual QSize sizeHint () const; - virtual void setFont (const QString&); - virtual void setChar (const QChar&); - virtual void setTableNum (int); - virtual QChar chr () const; - virtual QString font () const; - virtual int tableNum () const; - virtual void enableFontCombo (bool); - virtual void enableTableSpinBox (bool); - virtual bool isFontComboEnabled () const; - virtual bool isTableSpinBoxEnabled () const; - -protected: - virtual void fillFontCombo (); - static void cleanupFontDatabase (); - -protected slots: - void fontSelected (const QString&); - void tableChanged (int); - void charHighlighted (const QChar&); - void charHighlighted (); - void charActivated (const QChar&); - void charActivated (); - void charFocusItemChanged (); - void charFocusItemChanged (const QChar&); - void charTableUp (); - void charTableDown (); - void slotDoubleClicked (); - -%If ( KDE_3_3_0 - ) - void slotUnicodeEntered (); - void slotUpdateUnicode (const QChar&); -%End - - -signals: - void highlighted (const QChar&); - void highlighted (); - void activated (const QChar&); - void activated (); - void fontChanged (const QString&); - void focusItemChanged (); - void focusItemChanged (const QChar&); - void doubleClicked (); - -protected: -//igx virtual void virtual_hook (int, void*); - -}; // class KCharSelect - diff --git a/python/pykde/sip/kdeui/kcmenumngr.sip b/python/pykde/sip/kdeui/kcmenumngr.sip deleted file mode 100644 index cf4711d0..00000000 --- a/python/pykde/sip/kdeui/kcmenumngr.sip +++ /dev/null @@ -1,43 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdeui version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KContextMenuManager : QObject -{ -%TypeHeaderCode -#include -%End - - -public: - static void insert (QWidget*, QPopupMenu*); - static bool showOnButtonPress (); - -private: - KContextMenuManager (QObject* /TransferThis/ = 0, const char* = 0); - ~KContextMenuManager (); - -}; // class KContextMenuManager - diff --git a/python/pykde/sip/kdeui/kcmodule.sip b/python/pykde/sip/kdeui/kcmodule.sip deleted file mode 100644 index 0fa4fd30..00000000 --- a/python/pykde/sip/kdeui/kcmodule.sip +++ /dev/null @@ -1,183 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdeui version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KCModule : QWidget -{ -%TypeHeaderCode -#include -%End - - -public: - - enum Button - { - Help, - Default, - Apply, - Reset, - Cancel, - Ok, - SysDefault - }; - - KCModule (QWidget* /TransferThis/ = 0, const char* = 0, const QStringList& = QStringList ()); - KCModule (KInstance*, QWidget* /TransferThis/ = 0, const QStringList& = QStringList ()); - virtual void load (); - virtual void save (); - virtual void defaults (); - virtual void sysdefaults (); - virtual QString quickHelp () const; - virtual const KAboutData* aboutData () const; - -%If ( KDE_3_3_0 - ) - void setAboutData (KAboutData*); -%End - - int buttons (); - QString rootOnlyMsg () const; - bool useRootOnlyMsg () const; - KInstance* instance () const; - -%If ( KDE_3_4_0 - ) - const QPtrList& configs () const; -%End - - -protected: - -%If ( KDE_3_3_0 - ) - KConfigDialogManager* addConfig (KConfigSkeleton*, QWidget*); - void setQuickHelp (const QString&); -%End - - -signals: - void changed (bool); - void quickHelpChanged (); - -protected slots: - -%If ( KDE_3_3_0 - ) - void changed (); - -%If ( KDE_3_4_0 - ) - void widgetChanged (); -%End - -%End - - -protected: - void setButtons (int); - void setRootOnlyMsg (const QString&); - void setUseRootOnlyMsg (bool); - -%If ( KDE_3_5_0 - ) - bool managedWidgetChangeState () const; - void unmanagedWidgetChangeState (bool); -%End - - -protected: -//igx virtual void virtual_hook (int, void*); - -}; // class KCModule - - - -%If (KDE_3_3_0 - ) -%MappedType QPtrList -//converts a Python list of KConfigDialogManager -{ -%TypeHeaderCode -#include -%End - -%ConvertFromTypeCode - if (!sipCpp) - return PyList_New (0); - - PyObject *pylist; - - // Create the list - - if ((pylist = PyList_New(0)) == NULL) - return NULL; - - // Get it. - - QPtrList *cpplist = (QPtrList *)sipCpp; - KConfigDialogManager *cpp; - PyObject *inst; - - // the loop depends on the type of iterator the tmeplate makes available - for(cpp = cpplist->first (); cpp != 0; cpp = cpplist->next () ) - { - if (((inst = sipConvertFromInstance (cpp, sipClass_KConfigDialogManager, sipTransferObj)) == NULL) - || PyList_Append (pylist, inst) < 0) - { - Py_DECREF (pylist); - return NULL; - } - } - - return pylist; -%End - -%ConvertToTypeCode - if (sipIsErr == NULL) - return PyList_Check(sipPy); - - QPtrList *cpplist = new QPtrList; - - PyObject *elem; - KConfigDialogManager *cpp; - int iserr = 0; - - for (int i = 0; i < PyList_Size (sipPy); i++) - { - elem = PyList_GET_ITEM (sipPy, i); - cpp = (KConfigDialogManager *)sipForceConvertTo_KConfigDialogManager (elem, &iserr); - - if (iserr) - { - *sipIsErr = 1; - delete cpplist; - return 0; - } - - cpplist->append (cpp); - } - - *sipCppPtr = cpplist; - - return 1; -%End -}; -%End - - diff --git a/python/pykde/sip/kdeui/kcolorbtn.sip b/python/pykde/sip/kdeui/kcolorbtn.sip deleted file mode 100644 index 53bd2d63..00000000 --- a/python/pykde/sip/kdeui/kcolorbtn.sip +++ /dev/null @@ -1,54 +0,0 @@ -// -// Copyright 2003 Jim Bublitz -// Earlier copyrights 1998 - 2002 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdeui version KDE_3_1_1 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KColorButton : QPushButton -{ -%TypeHeaderCode -#include -%End - - -public: - KColorButton (QWidget*/TransferThis/, const char* = 0); - KColorButton (const QColor&, QWidget*/TransferThis/, const char* = 0); - QColor color () const; - void setColor (const QColor&); - -signals: - void changed (const QColor&); - -protected slots: - void chooseColor (); - -protected: - virtual void drawButtonLabel (QPainter*); - virtual void dragEnterEvent (QDragEnterEvent*); - virtual void dropEvent (QDropEvent*); - virtual void mousePressEvent (QMouseEvent*); - virtual void mouseMoveEvent (QMouseEvent*); - -}; // class KColorButton - diff --git a/python/pykde/sip/kdeui/kcolorcombo.sip b/python/pykde/sip/kdeui/kcolorcombo.sip deleted file mode 100644 index 72727fc9..00000000 --- a/python/pykde/sip/kdeui/kcolorcombo.sip +++ /dev/null @@ -1,51 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdeui version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KColorCombo : QComboBox -{ -%TypeHeaderCode -#include -%End - - -public: - KColorCombo (QWidget* /TransferThis/, const char* = 0); - void setColor (const QColor&); - QColor color (); - void showEmptyList (); - -signals: - void activated (const QColor&); - void highlighted (const QColor&); - -protected: - virtual void resizeEvent (QResizeEvent*); - -protected: -//igx virtual void virtual_hook (int, void*); - -}; // class KColorCombo - diff --git a/python/pykde/sip/kdeui/kcolordialog.sip b/python/pykde/sip/kdeui/kcolordialog.sip deleted file mode 100644 index 8880d108..00000000 --- a/python/pykde/sip/kdeui/kcolordialog.sip +++ /dev/null @@ -1,237 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdeui version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KHSSelector : KXYSelector -{ -%TypeHeaderCode -#include -%End - - -public: - KHSSelector (QWidget* /TransferThis/ = 0, const char* = 0); - -protected: - virtual void drawPalette (QPixmap*); - virtual void resizeEvent (QResizeEvent*); - virtual void drawContents (QPainter*); - -protected: -//igx virtual void virtual_hook (int, void*); - -}; // class KHSSelector - - -class KValueSelector : KSelector -{ -%TypeHeaderCode -#include -%End - - -public: - KValueSelector (QWidget* /TransferThis/ = 0, const char* = 0); - KValueSelector (Orientation, QWidget* /TransferThis/ = 0, const char* = 0); - int hue () const; - void setHue (int); - int saturation () const; - void setSaturation (int); - void updateContents (); - -protected: - virtual void drawPalette (QPixmap*); - virtual void resizeEvent (QResizeEvent*); - virtual void drawContents (QPainter*); - -protected: -//igx virtual void virtual_hook (int, void*); - -}; // class KValueSelector - - -class KColor : QColor -{ -%TypeHeaderCode -#include -%End - - -public: - KColor (); - KColor (const KColor&); - KColor (const QColor&); - -%If ( KDE_3_1_4 - ) - bool operator == (const KColor&) const; -%End - - void setHsv (int, int, int); - void setRgb (int, int, int); - void rgb (int*, int*, int*); - void hsv (int*, int*, int*); - -protected: - -}; // class KColor - - -class KPaletteTable : QWidget -{ -%TypeHeaderCode -#include -%End - - -public: - KPaletteTable (QWidget* /TransferThis/, int = 210, int = 16); - void addToCustomColors (const QColor&); - void addToRecentColors (const QColor&); - QString palette (); - -public slots: - void setPalette (const QString&); - -signals: - void colorSelected (const QColor&, const QString&); - void colorDoubleClicked (const QColor&, const QString&); - -protected slots: - void slotColorCellSelected (int); - void slotColorCellDoubleClicked (int); - void slotColorTextSelected (const QString&); - void slotSetPalette (const QString&); - void slotShowNamedColorReadError (); - -protected: - void readNamedColor (); - -protected: - -protected: -//igx virtual void virtual_hook (int, void*); - -}; // class KPaletteTable - - -class KColorCells : QGridView -{ -%TypeHeaderCode -#include -%End - - -public: - KColorCells (QWidget* /TransferThis/, int, int); - void setColor (int, const QColor&); - QColor color (int) const; - int numCells () const; - void setShading (bool); - void setAcceptDrags (bool); - int getSelected () const; - -signals: - void colorSelected (int); - void colorDoubleClicked (int); - -protected: - virtual void paintCell (QPainter*, int, int); - virtual void resizeEvent (QResizeEvent*); - virtual void mouseReleaseEvent (QMouseEvent*); - virtual void mousePressEvent (QMouseEvent*); - virtual void mouseMoveEvent (QMouseEvent*); - virtual void dragEnterEvent (QDragEnterEvent*); - virtual void dropEvent (QDropEvent*); - virtual void mouseDoubleClickEvent (QMouseEvent*); - int posToCell (const QPoint&, bool = 0); - -protected: -//igx virtual void virtual_hook (int, void*); - -}; // class KColorCells - - -class KColorPatch : QFrame -{ -%TypeHeaderCode -#include -%End - - -public: - KColorPatch (QWidget* /TransferThis/); - void setColor (const QColor&); - -signals: - void colorChanged (const QColor&); - -protected: - virtual void drawContents (QPainter*); - virtual void mouseMoveEvent (QMouseEvent*); - virtual void dragEnterEvent (QDragEnterEvent*); - virtual void dropEvent (QDropEvent*); - -protected: -//igx virtual void virtual_hook (int, void*); - -}; // class KColorPatch - - -class KColorDialog : KDialogBase -{ -%TypeHeaderCode -#include -%End - - -public: - KColorDialog (QWidget* /TransferThis/ = 0, const char* = 0, bool = 0); - QColor color (); - static int getColor (QColor&, QWidget* /Transfer/ = 0); - static int getColor (QColor&, const QColor&, QWidget* /Transfer/ = 0); - static QColor grabColor (const QPoint&); - void setDefaultColor (const QColor&); - QColor defaultColor () const; - -public slots: - void setColor (const QColor&); - -signals: - void colorSelected (const QColor&); - -protected: - virtual void mouseReleaseEvent (QMouseEvent*); - virtual void keyPressEvent (QKeyEvent*); - -%If ( KDE_3_2_0 - ) - virtual bool eventFilter (QObject*, QEvent*); -%End - - -protected: -//igx virtual void virtual_hook (int, void*); - -}; // class KColorDialog - diff --git a/python/pykde/sip/kdeui/kcolordrag.sip b/python/pykde/sip/kdeui/kcolordrag.sip deleted file mode 100644 index cad21daa..00000000 --- a/python/pykde/sip/kdeui/kcolordrag.sip +++ /dev/null @@ -1,52 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdeui version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KColorDrag : QStoredDrag -{ -%TypeHeaderCode -#include -%End - - -public: - KColorDrag (QWidget* = 0, const char* = 0); - KColorDrag (const QColor&, QWidget* = 0, const char* = 0); - -%If ( KDE_3_2_0 - ) - virtual const char* format (int) const; - virtual QByteArray encodedData (const char*) const; -%End - - void setColor (const QColor&); - static bool canDecode (QMimeSource*); - static bool decode (QMimeSource*, QColor&); - static KColorDrag* makeDrag (const QColor&, QWidget*); - -protected: -//igx virtual void virtual_hook (int, void*); - -}; // class KColorDrag - diff --git a/python/pykde/sip/kdeui/kcombobox.sip b/python/pykde/sip/kdeui/kcombobox.sip deleted file mode 100644 index b48f8bd6..00000000 --- a/python/pykde/sip/kdeui/kcombobox.sip +++ /dev/null @@ -1,130 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdeui version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KComboBox : QComboBox, KCompletionBase -{ -%TypeHeaderCode -#include -%End - - -public: - KComboBox (QWidget* /TransferThis/ = 0, const char* = 0); - KComboBox (bool, QWidget* /TransferThis/ = 0, const char* = 0); - void setEditURL (const KURL&); - void insertURL (const KURL&, int = -1); - void insertURL (const QPixmap&, const KURL&, int = -1); - void changeURL (const KURL&, int); - void changeURL (const QPixmap&, const KURL&, int); - int cursorPosition () const; - virtual void setAutoCompletion (bool); - bool autoCompletion () const; - virtual void setContextMenuEnabled (bool); - bool isContextMenuEnabled () const; - void setURLDropsEnabled (bool); - bool isURLDropsEnabled () const; - bool contains (const QString&) const; - void setTrapReturnKey (bool); - bool trapReturnKey () const; - virtual bool eventFilter (QObject*, QEvent*); - KCompletionBox* completionBox (bool); - virtual void setLineEdit (QLineEdit*); - -signals: - void returnPressed (); - void returnPressed (const QString&); - void completion (const QString&); - void substringCompletion (const QString&); - void textRotation (KCompletionBase::KeyBindingType); - void completionModeChanged (KGlobalSettings::Completion); - void aboutToShowContextMenu (QPopupMenu*); - -public slots: - void rotateText (KCompletionBase::KeyBindingType); - virtual void setCompletedText (const QString&); - void setCompletedItems (const QStringList&); - void setCurrentItem (const QString&, bool = 0, int = -1); - void setCurrentItem (int); - -protected slots: - virtual void itemSelected (QListBoxItem*); - virtual void makeCompletion (const QString&); - -protected: - virtual void setCompletedText (const QString&, bool); - virtual void create (WId = 0, bool = 1, bool = 1); - -%If ( KDE_3_1_0 - ) - virtual void wheelEvent (QWheelEvent*); -%End - - -protected: -//igx virtual void virtual_hook (int, void*); - -}; // class KComboBox - - -class KHistoryCombo : KComboBox -{ -%TypeHeaderCode -#include -%End - - -public: - KHistoryCombo (QWidget* /TransferThis/ = 0, const char* = 0); - KHistoryCombo (bool, QWidget* /TransferThis/ = 0, const char* = 0); - void setHistoryItems (QStringList); - void setHistoryItems (QStringList, bool); - QStringList historyItems () const; - bool removeFromHistory (const QString&); - void setPixmapProvider (KPixmapProvider*); - KPixmapProvider* pixmapProvider () const; - void reset (); - -public slots: - void addToHistory (const QString&); - void clearHistory (); - -signals: - void cleared (); - -protected: - virtual void keyPressEvent (QKeyEvent*); - -%If ( KDE_3_1_0 - ) - virtual void wheelEvent (QWheelEvent*); -%End - - void insertItems (const QStringList&); - bool useCompletion (); - -protected: -//igx virtual void virtual_hook (int, void*); - -}; // class KHistoryCombo - diff --git a/python/pykde/sip/kdeui/kcommand.sip b/python/pykde/sip/kdeui/kcommand.sip deleted file mode 100644 index 1491d0a5..00000000 --- a/python/pykde/sip/kdeui/kcommand.sip +++ /dev/null @@ -1,131 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdeui version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KCommand -{ -%TypeHeaderCode -#include -%End - - -protected: - KCommand (); - -public: - virtual void execute () = 0; - virtual void unexecute () = 0; - virtual QString name () const = 0; - -protected: -//igx virtual void virtual_hook (int, void*); - -}; // class KCommand - - -class KNamedCommand : KCommand -{ -%TypeHeaderCode -#include -%End - - -protected: - KNamedCommand (const QString&); - -public: - virtual QString name () const; - void setName (const QString&); - -protected: -//igx virtual void virtual_hook (int, void*); - -}; // class KNamedCommand - - -class KMacroCommand : KNamedCommand -{ -%TypeHeaderCode -#include -%End - - -public: - KMacroCommand (const QString&); - void addCommand (KCommand*); - virtual void execute (); - virtual void unexecute (); - -protected: - -protected: -//igx virtual void virtual_hook (int, void*); - -}; // class KMacroCommand - - -class KCommandHistory : QObject -{ -%TypeHeaderCode -#include -%End - - -public: - KCommandHistory (); - KCommandHistory (KActionCollection*, bool = 1); - void clear (); - void addCommand (KCommand*, bool = 1); - int undoLimit () const; - void setUndoLimit (int); - int redoLimit () const; - void setRedoLimit (int); - void updateActions (); - -public slots: - virtual void undo (); - virtual void redo (); - virtual void documentSaved (); - -protected slots: - void slotUndoAboutToShow (); - void slotUndoActivated (int); - void slotRedoAboutToShow (); - void slotRedoActivated (int); - -signals: - void commandExecuted (); - -%If ( KDE_3_5_0 - ) - void commandExecuted (KCommand*); -%End - - void documentRestored (); - -protected: -//igx virtual void virtual_hook (int, void*); - -}; // class KCommandHistory - diff --git a/python/pykde/sip/kdeui/kcompletionbox.sip b/python/pykde/sip/kdeui/kcompletionbox.sip deleted file mode 100644 index 4fcd010c..00000000 --- a/python/pykde/sip/kdeui/kcompletionbox.sip +++ /dev/null @@ -1,86 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdeui version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KCompletionBox : KListBox -{ -%TypeHeaderCode -#include -%End - - -public: - KCompletionBox (QWidget* /TransferThis/, const char* = 0); - virtual QSize sizeHint () const; - -%If ( KDE_3_4_3 - ) - bool activateOnSelect () const; -%End - - -public slots: - QStringList items () const; - void insertItems (const QStringList&, int = -1); - void setItems (const QStringList&); - virtual void popup (); - void setTabHandling (bool); - bool isTabHandling () const; - void setCancelledText (const QString&); - QString cancelledText () const; - -%If ( KDE_3_4_3 - ) - void setActivateOnSelect (bool); -%End - - void down (); - void up (); - void pageDown (); - void pageUp (); - void home (); - void end (); - virtual void show (); - virtual void hide (); - -signals: - void activated (const QString&); - void userCancelled (const QString&); - -protected: - -%If ( KDE_3_2_0 - ) - QRect calculateGeometry () const; - void sizeAndPosition (); -%End - - virtual bool eventFilter (QObject*, QEvent*); - -protected slots: - virtual void slotActivated (QListBoxItem*); - -protected: -//igx virtual void virtual_hook (int, void*); - -}; // class KCompletionBox - diff --git a/python/pykde/sip/kdeui/kconfigdialog.sip b/python/pykde/sip/kdeui/kconfigdialog.sip deleted file mode 100644 index 6e1415ea..00000000 --- a/python/pykde/sip/kdeui/kconfigdialog.sip +++ /dev/null @@ -1,69 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdeui version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -%If ( KDE_3_2_0 - ) - -class KConfigDialog : KDialogBase -{ -%TypeHeaderCode -#include -%End - - -signals: - void widgetModified (); - void settingsChanged (); - void settingsChanged (const char*); - -public: - KConfigDialog (QWidget* /TransferThis/, const char*, KConfigSkeleton*, KDialogBase::DialogType = KDialogBase ::IconList , int = KDialogBase ::Default |KDialogBase ::Ok |KDialogBase ::Apply |KDialogBase ::Cancel |KDialogBase ::Help , KDialogBase::ButtonCode = Ok , bool = 0); - void addPage (QWidget*, const QString&, const QString&, const QString& = QString ::null , bool = 1); - -%If ( KDE_3_3_0 - ) - void addPage (QWidget*, KConfigSkeleton*, const QString&, const QString&, const QString& = QString ::null ); -%End - - static KConfigDialog* exists (const char*); - static bool showDialog (const char*); - virtual void show (); - -protected slots: - virtual void updateSettings (); - virtual void updateWidgets (); - virtual void updateWidgetsDefault (); - -protected: - virtual bool hasChanged (); - virtual bool isDefault (); - -protected slots: - void updateButtons (); - void settingsChangedSlot (); - -}; // class KConfigDialog - -%End - diff --git a/python/pykde/sip/kdeui/kcontainer.sip b/python/pykde/sip/kdeui/kcontainer.sip deleted file mode 100644 index f1e8ffdb..00000000 --- a/python/pykde/sip/kdeui/kcontainer.sip +++ /dev/null @@ -1,75 +0,0 @@ -// -// Copyright 2003 Jim Bublitz -// Earlier copyrights 1998 - 2002 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdeui version KDE_3_1_1 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KContainerLayout : QFrame -{ -%TypeHeaderCode -#include -%End - - -public: - - enum - { - Horizontal = 0, - Vertical - }; - - KContainerLayout (QWidget*/TransferThis/ = 0, const char* = 0, int = KContainerLayout::Horizontal, bool = 0, int = 5, WFlags = 0, bool = 1); - int getNumberOfWidgets () const; - int packStart (QWidget*, bool = 0, bool = 0, int = 1); - int packEnd (QWidget*, bool = 0, bool = 0, int = 1); - void setOrientation (int); - void setHomogeneos (bool); - void setSpacing (int); - void setStartOffset (int); - void setEndOffset (int); - int orientation () const; - bool homogeneos () const; - int spacing () const; - int startOffset () const; - int endOffset () const; - void sizeToFit (); - -protected: - -//ig class KContainerLayoutItem; - - void recalcLayout (); -//ig QSize widgetSize (KContainerLayout::KContainerLayoutItem*); - void repositionWidgets (); - int numberOfWidgetsWithExpand (); - void calculateSizeHint (); - QSize sizeOfLargerWidget (); -//ig QSize idealSizeOfWidget (KContainerLayout::KContainerLayoutItem*); - bool horizontal () const; - virtual void resizeEvent (QResizeEvent*); - virtual bool eventFilter (QObject*, QEvent*); - virtual QSize sizeHint () const; - -}; // class KContainerLayout - diff --git a/python/pykde/sip/kdeui/kcursor.sip b/python/pykde/sip/kdeui/kcursor.sip deleted file mode 100644 index 0e8c51de..00000000 --- a/python/pykde/sip/kdeui/kcursor.sip +++ /dev/null @@ -1,57 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdeui version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KCursor : Qt -{ -%TypeHeaderCode -#include -%End - - -public: - KCursor (); - static QCursor handCursor (); - static QCursor workingCursor (); - static QCursor arrowCursor (); - static QCursor upArrowCursor (); - static QCursor crossCursor (); - static QCursor waitCursor (); - static QCursor ibeamCursor (); - static QCursor sizeVerCursor (); - static QCursor sizeHorCursor (); - static QCursor sizeBDiagCursor (); - static QCursor sizeFDiagCursor (); - static QCursor sizeAllCursor (); - static QCursor blankCursor (); - static QCursor whatsThisCursor (); - static void setAutoHideCursor (QWidget*, bool); - static void setAutoHideCursor (QWidget*, bool, bool); - static void setHideCursorDelay (int); - static int hideCursorDelay (); - static void autoHideEventFilter (QObject*, QEvent*); - -}; // class KCursor - diff --git a/python/pykde/sip/kdeui/kdatepicker.sip b/python/pykde/sip/kdeui/kdatepicker.sip deleted file mode 100644 index a5a3884f..00000000 --- a/python/pykde/sip/kdeui/kdatepicker.sip +++ /dev/null @@ -1,108 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdeui version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KDatePicker : QFrame -{ -%TypeHeaderCode -#include -%End - - -public: - KDatePicker (QWidget* /TransferThis/ = 0, QDate = QDate ::currentDate (), const char* = 0); - -%If ( KDE_3_1_0 - ) - KDatePicker (QWidget* /TransferThis/, QDate, const char*, WFlags); - KDatePicker (QWidget* /TransferThis/, const char*); -%End - - QSize sizeHint () const; - bool setDate (const QDate&); - const QDate& getDate () const; - const QDate& date () const; - void setEnabled (bool); - -%If ( KDE_3_2_0 - ) - KDateTable* dateTable () const; -%End - - void setFontSize (int); - int fontSize () const; - -%If ( KDE_3_1_0 - ) - void setCloseButton (bool); - bool hasCloseButton () const; -%End - - -protected: - -%If ( KDE_3_1_0 - ) - virtual bool eventFilter (QObject*, QEvent*); - virtual void resizeEvent (QResizeEvent*); -%End - - -protected slots: - void dateChangedSlot (QDate); - void tableClickedSlot (); - void monthForwardClicked (); - void monthBackwardClicked (); - void yearForwardClicked (); - void yearBackwardClicked (); - -%If ( KDE_3_1_0 - ) - void selectWeekClicked (); -%End - - void selectMonthClicked (); - void selectYearClicked (); - void lineEnterPressed (); - -%If ( KDE_3_2_0 - ) - void todayButtonClicked (); - void weekSelected (int); -%End - - -signals: - void dateChanged (QDate); - void dateSelected (QDate); - void dateEntered (QDate); - void tableClicked (); - -protected: -//igx virtual void virtual_hook (int, void*); - -protected: - -%If ( - KDE_3_1_0 ) - void resizeEvent (QResizeEvent*); -%End - - -}; // class KDatePicker - diff --git a/python/pykde/sip/kdeui/kdatepik.sip b/python/pykde/sip/kdeui/kdatepik.sip deleted file mode 100644 index 0a747f63..00000000 --- a/python/pykde/sip/kdeui/kdatepik.sip +++ /dev/null @@ -1,64 +0,0 @@ -// -// Copyright 2003 Jim Bublitz -// Earlier copyrights 1998 - 2002 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdeui version KDE_3_1_1 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KDatePicker : QFrame -{ -%TypeHeaderCode -#include -%End - - -public: - KDatePicker (QWidget*/TransferThis/ = 0, QDate = QDate::currentDate(), const char* = 0); - QSize sizeHint () const; - bool setDate (const QDate&); - const QDate& getDate (); - void setEnabled (bool); - void setFontSize (int); - int fontSize () const; - -protected: - void resizeEvent (QResizeEvent*); - -protected slots: - void dateChangedSlot (QDate); - void tableClickedSlot (); - void monthForwardClicked (); - void monthBackwardClicked (); - void yearForwardClicked (); - void yearBackwardClicked (); - void selectMonthClicked (); - void selectYearClicked (); - void lineEnterPressed (); - -signals: - void dateChanged (QDate); - void dateSelected (QDate); - void dateEntered (QDate); - void tableClicked (); - -}; // class KDatePicker - diff --git a/python/pykde/sip/kdeui/kdatetbl.sip b/python/pykde/sip/kdeui/kdatetbl.sip deleted file mode 100644 index 60457a22..00000000 --- a/python/pykde/sip/kdeui/kdatetbl.sip +++ /dev/null @@ -1,303 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdeui version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -%If ( KDE_3_1_0 - ) - -class KDateInternalWeekSelector : QLineEdit -{ -%TypeHeaderCode -#include -%End - - -protected: - -public slots: - void weekEnteredSlot (); - -%If ( KDE_3_2_0 - ) - void setMaxWeek (int); -%End - - -signals: - void closeMe (int); - -public: - -%If ( KDE_3_2_0 - ) - KDateInternalWeekSelector (QWidget* /TransferThis/ = 0, const char* = 0); -%End - - int getWeek (); - void setWeek (int); - -public: - -%If ( - KDE_3_2_0 ) - KDateInternalWeekSelector (int, QWidget* /TransferThis/ = 0, const char* = 0); -%End - - -}; // class KDateInternalWeekSelector - -%End - - -class KDateInternalMonthPicker : QGridView -{ -%TypeHeaderCode -#include -%End - - -protected: - -signals: - void closeMe (int); - -public: - -%If ( KDE_3_2_0 - ) - KDateInternalMonthPicker (const QDate&, QWidget* /TransferThis/, const char* = 0); -%End - - QSize sizeHint () const; - int getResult () const; - -protected: - void setupPainter (QPainter*); - -%If ( KDE_3_0_1 - ) - virtual void viewportResizeEvent (QResizeEvent*); -%End - - virtual void paintCell (QPainter*, int, int); - -%If ( KDE_3_0_1 - ) - virtual void contentsMousePressEvent (QMouseEvent*); - virtual void contentsMouseMoveEvent (QMouseEvent*); - virtual void contentsMouseReleaseEvent (QMouseEvent*); -%End - - -public: - -%If ( - KDE_3_2_0 ) - KDateInternalMonthPicker (int, QWidget* /TransferThis/, const char* = 0); -%End - - -protected: - -%If ( - KDE_3_0_1 ) - void viewportResizeEvent (QResizeEvent*); - void contentsMousePressEvent (QMouseEvent*); - void contentsMouseMoveEvent (QMouseEvent*); - void contentsMouseReleaseEvent (QMouseEvent*); -%End - - -}; // class KDateInternalMonthPicker - - -class KDateInternalYearSelector : QLineEdit -{ -%TypeHeaderCode -#include -%End - - -protected: - -public slots: - void yearEnteredSlot (); - -signals: - void closeMe (int); - -public: - -%If ( KDE_3_2_0 - ) - KDateInternalYearSelector (QWidget* /TransferThis/ = 0, const char* = 0); -%End - - int getYear (); - void setYear (int); - -public: - -%If ( - KDE_3_2_0 ) - KDateInternalYearSelector (int, QWidget* /TransferThis/ = 0, const char* = 0); -%End - - -}; // class KDateInternalYearSelector - - -class KPopupFrame : QFrame -{ -%TypeHeaderCode -#include -%End - - -protected: - -%If ( KDE_3_0_1 - ) - virtual void keyPressEvent (QKeyEvent*); -%End - - -public slots: - void close (int); - -%If ( KDE_3_5_0 - ) - void hide (); -%End - - -public: - KPopupFrame (QWidget* /TransferThis/ = 0, const char* = 0); - void setMainWidget (QWidget*); - -%If ( KDE_3_0_1 - ) - virtual void resizeEvent (QResizeEvent*); -%End - - void popup (const QPoint&); - int exec (QPoint) /PyName=exec_/; - int exec (int, int) /PyName=exec_/; - -protected: -//igx virtual void virtual_hook (int, void*); - -protected: - -%If ( - KDE_3_0_1 ) - void keyPressEvent (QKeyEvent*); -%End - - -public: - -%If ( - KDE_3_0_1 ) - void resizeEvent (QResizeEvent*); -%End - - -}; // class KPopupFrame - - -class KDateValidator : QValidator -{ -%TypeHeaderCode -#include -%End - - -public: - KDateValidator (QWidget* /TransferThis/ = 0, const char* = 0); - virtual State validate (QString&, int&) const; - virtual void fixup (QString&) const; - State date (const QString&, QDate&) const; - -}; // class KDateValidator - - -class KDateTable : QGridView -{ -%TypeHeaderCode -#include -%End - - -public: - KDateTable (QWidget* /TransferThis/ = 0, QDate = QDate ::currentDate (), const char* = 0, WFlags = 0); - -%If ( KDE_3_4_0 - ) - KDateTable (QWidget* /TransferThis/, const char*, WFlags = 0); -%End - - virtual QSize sizeHint () const; - void setFontSize (int); - bool setDate (const QDate&); - const QDate& getDate () const; - -%If ( KDE_3_2_0 - ) - void setPopupMenuEnabled (bool); - bool popupMenuEnabled () const; - - enum BackgroundMode - { - NoBgMode, - RectangleMode, - CircleMode - }; - - void setCustomDatePainting (const QDate&, const QColor&, BackgroundMode = NoBgMode , const QColor& = QColor ()); - void unsetCustomDatePainting (const QDate&); -%End - - -protected: - -%If ( KDE_3_2_0 - ) - int posFromDate (const QDate&); - QDate dateFromPos (int); -%End - - virtual void paintCell (QPainter*, int, int); - virtual void viewportResizeEvent (QResizeEvent*); - virtual void contentsMousePressEvent (QMouseEvent*); - -%If ( KDE_3_1_0 - ) - virtual void wheelEvent (QWheelEvent*); -%End - - virtual void keyPressEvent (QKeyEvent*); - virtual void focusInEvent (QFocusEvent*); - virtual void focusOutEvent (QFocusEvent*); - -signals: - void dateChanged (QDate); - -%If ( KDE_3_2_0 - ) - void dateChanged (const QDate&, const QDate&); -%End - - void tableClicked (); - -%If ( KDE_3_2_0 - ) - void aboutToShowContextMenu (KPopupMenu*, const QDate&); -%End - - -protected: -//igx virtual void virtual_hook (int, void*); - -}; // class KDateTable - diff --git a/python/pykde/sip/kdeui/kdatetimewidget.sip b/python/pykde/sip/kdeui/kdatetimewidget.sip deleted file mode 100644 index 642a070b..00000000 --- a/python/pykde/sip/kdeui/kdatetimewidget.sip +++ /dev/null @@ -1,50 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdeui version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -%If ( KDE_3_2_0 - ) - -class KDateTimeWidget : QWidget -{ -%TypeHeaderCode -#include -%End - - -public: - KDateTimeWidget (QWidget* /TransferThis/ = 0, const char* = 0); - KDateTimeWidget (const QDateTime&, QWidget* /TransferThis/ = 0, const char* = 0); - QDateTime dateTime () const; - -public slots: - void setDateTime (const QDateTime&); - -signals: - void valueChanged (const QDateTime&); - -}; // class KDateTimeWidget - -%End - diff --git a/python/pykde/sip/kdeui/kdatewidget.sip b/python/pykde/sip/kdeui/kdatewidget.sip deleted file mode 100644 index d82af51d..00000000 --- a/python/pykde/sip/kdeui/kdatewidget.sip +++ /dev/null @@ -1,58 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdeui version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KDateWidget : QWidget -{ -%TypeHeaderCode -#include -%End - - -public: - KDateWidget (QWidget* /TransferThis/, const char* = 0); - KDateWidget (QDate, QWidget* /TransferThis/, const char* = 0); - QDate date () const; - void setDate (QDate); - -signals: - void changed (QDate); - -protected: - void init (); - -%If ( KDE_3_2_0 - ) - void init (const QDate&); -%End - - -protected slots: - void slotDateChanged (); - -protected: -//igx virtual void virtual_hook (int, void*); - -}; // class KDateWidget - diff --git a/python/pykde/sip/kdeui/kdbtn.sip b/python/pykde/sip/kdeui/kdbtn.sip deleted file mode 100644 index 15a8d15f..00000000 --- a/python/pykde/sip/kdeui/kdbtn.sip +++ /dev/null @@ -1,61 +0,0 @@ -// -// Copyright 2003 Jim Bublitz -// Earlier copyrights 1998 - 2002 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdeui version KDE_3_1_1 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KDirectionButton : QButton -{ -%TypeHeaderCode -#include -%End - - -public: - KDirectionButton (QWidget*/TransferThis/ = 0, const char* = 0); - KDirectionButton (ArrowType, QWidget*/TransferThis/ = 0, const char* = 0); - void setDirection (ArrowType); - ArrowType direction (); - -protected: - virtual void drawButton (QPainter*); - -}; // class KDirectionButton - - -class KTabButton : KDirectionButton -{ -%TypeHeaderCode -#include -%End - - -public: - KTabButton (QWidget*/TransferThis/ = 0, const char* = 0); - KTabButton (ArrowType, QWidget*/TransferThis/ = 0, const char* = 0); - -protected: - virtual void drawButton (QPainter*); - -}; // class KTabButton - diff --git a/python/pykde/sip/kdeui/kdcopactionproxy.sip b/python/pykde/sip/kdeui/kdcopactionproxy.sip deleted file mode 100644 index 10edf101..00000000 --- a/python/pykde/sip/kdeui/kdcopactionproxy.sip +++ /dev/null @@ -1,48 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdeui version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KDCOPActionProxy : DCOPObjectProxy -{ -%TypeHeaderCode -#include -%End - - -public: - KDCOPActionProxy (KActionCollection*, DCOPObject* /TransferThis/); - KDCOPActionProxy (DCOPObject* /TransferThis/); - virtual QValueList actions () const; - virtual KAction* action (const char*) const; - virtual QCString actionObjectId (const QCString&) const; - virtual QMap actionMap (const QCString& = QCString ()) const; - virtual bool process (const QCString&, const QCString&, const QByteArray&, QCString&, QByteArray&); - virtual bool processAction (const QCString&, const QCString&, const QByteArray&, QCString&, QByteArray&, KAction*); - -protected: -//igx virtual void virtual_hook (int, void*); - -}; // class KDCOPActionProxy - diff --git a/python/pykde/sip/kdeui/kdeui-kde310.diff b/python/pykde/sip/kdeui/kdeui-kde310.diff deleted file mode 100644 index bde4a8e9..00000000 --- a/python/pykde/sip/kdeui/kdeui-kde310.diff +++ /dev/null @@ -1,4 +0,0 @@ -+ %Include kaccelmanager.sip -+ %Include kpassivepopup.sip -+ %Include ktextedit.sip -+ %Include kwindowinfo.sip diff --git a/python/pykde/sip/kdeui/kdeui-kde311.diff b/python/pykde/sip/kdeui/kdeui-kde311.diff deleted file mode 100644 index bde4a8e9..00000000 --- a/python/pykde/sip/kdeui/kdeui-kde311.diff +++ /dev/null @@ -1,4 +0,0 @@ -+ %Include kaccelmanager.sip -+ %Include kpassivepopup.sip -+ %Include ktextedit.sip -+ %Include kwindowinfo.sip diff --git a/python/pykde/sip/kdeui/kdeui-kde312.diff b/python/pykde/sip/kdeui/kdeui-kde312.diff deleted file mode 100644 index bde4a8e9..00000000 --- a/python/pykde/sip/kdeui/kdeui-kde312.diff +++ /dev/null @@ -1,4 +0,0 @@ -+ %Include kaccelmanager.sip -+ %Include kpassivepopup.sip -+ %Include ktextedit.sip -+ %Include kwindowinfo.sip diff --git a/python/pykde/sip/kdeui/kdeui-kde313.diff b/python/pykde/sip/kdeui/kdeui-kde313.diff deleted file mode 100644 index bde4a8e9..00000000 --- a/python/pykde/sip/kdeui/kdeui-kde313.diff +++ /dev/null @@ -1,4 +0,0 @@ -+ %Include kaccelmanager.sip -+ %Include kpassivepopup.sip -+ %Include ktextedit.sip -+ %Include kwindowinfo.sip diff --git a/python/pykde/sip/kdeui/kdeui-kde314.diff b/python/pykde/sip/kdeui/kdeui-kde314.diff deleted file mode 100644 index bde4a8e9..00000000 --- a/python/pykde/sip/kdeui/kdeui-kde314.diff +++ /dev/null @@ -1,4 +0,0 @@ -+ %Include kaccelmanager.sip -+ %Include kpassivepopup.sip -+ %Include ktextedit.sip -+ %Include kwindowinfo.sip diff --git a/python/pykde/sip/kdeui/kdeui-kde315.diff b/python/pykde/sip/kdeui/kdeui-kde315.diff deleted file mode 100644 index bde4a8e9..00000000 --- a/python/pykde/sip/kdeui/kdeui-kde315.diff +++ /dev/null @@ -1,4 +0,0 @@ -+ %Include kaccelmanager.sip -+ %Include kpassivepopup.sip -+ %Include ktextedit.sip -+ %Include kwindowinfo.sip diff --git a/python/pykde/sip/kdeui/kdeui-kde320.diff b/python/pykde/sip/kdeui/kdeui-kde320.diff deleted file mode 100644 index 00669748..00000000 --- a/python/pykde/sip/kdeui/kdeui-kde320.diff +++ /dev/null @@ -1,13 +0,0 @@ -+ %Include kactionclasses.sip -+ %Include kactioncollection.sip -+ %Include kconfigdialog.sip -+ %Include kdatetimewidget.sip -+ %Include kfontrequester.sip -+ %Include kinputdialog.sip -+ %Include kpassivepopup.sip -+ %Include ksplashscreen.sip -+ %Include ktabbar.sip -+ %Include ktabwidget.sip -+ %Include ktextedit.sip -+ %Include ktimewidget.sip -+ %Include kwindowinfo.sip diff --git a/python/pykde/sip/kdeui/kdeui-kde321.diff b/python/pykde/sip/kdeui/kdeui-kde321.diff deleted file mode 100644 index 00669748..00000000 --- a/python/pykde/sip/kdeui/kdeui-kde321.diff +++ /dev/null @@ -1,13 +0,0 @@ -+ %Include kactionclasses.sip -+ %Include kactioncollection.sip -+ %Include kconfigdialog.sip -+ %Include kdatetimewidget.sip -+ %Include kfontrequester.sip -+ %Include kinputdialog.sip -+ %Include kpassivepopup.sip -+ %Include ksplashscreen.sip -+ %Include ktabbar.sip -+ %Include ktabwidget.sip -+ %Include ktextedit.sip -+ %Include ktimewidget.sip -+ %Include kwindowinfo.sip diff --git a/python/pykde/sip/kdeui/kdeui-kde322.diff b/python/pykde/sip/kdeui/kdeui-kde322.diff deleted file mode 100644 index 00669748..00000000 --- a/python/pykde/sip/kdeui/kdeui-kde322.diff +++ /dev/null @@ -1,13 +0,0 @@ -+ %Include kactionclasses.sip -+ %Include kactioncollection.sip -+ %Include kconfigdialog.sip -+ %Include kdatetimewidget.sip -+ %Include kfontrequester.sip -+ %Include kinputdialog.sip -+ %Include kpassivepopup.sip -+ %Include ksplashscreen.sip -+ %Include ktabbar.sip -+ %Include ktabwidget.sip -+ %Include ktextedit.sip -+ %Include ktimewidget.sip -+ %Include kwindowinfo.sip diff --git a/python/pykde/sip/kdeui/kdeui-kde323.diff b/python/pykde/sip/kdeui/kdeui-kde323.diff deleted file mode 100644 index 2aab9482..00000000 --- a/python/pykde/sip/kdeui/kdeui-kde323.diff +++ /dev/null @@ -1,14 +0,0 @@ -+ %Include kactionclasses.sip -+ %Include kactioncollection.sip -+ %Include kconfigdialog.sip -+ %Include kdatetimewidget.sip -+ %Include kfontrequester.sip -+ %Include kinputdialog.sip -+ %Include kpassivepopup.sip -//+ %Include ksharedpixmap.sip -+ %Include ksplashscreen.sip -+ %Include ktabbar.sip -+ %Include ktabwidget.sip -+ %Include ktextedit.sip -+ %Include ktimewidget.sip -+ %Include kwindowinfo.sip diff --git a/python/pykde/sip/kdeui/kdeui-kde330.diff b/python/pykde/sip/kdeui/kdeui-kde330.diff deleted file mode 100644 index 6be7d896..00000000 --- a/python/pykde/sip/kdeui/kdeui-kde330.diff +++ /dev/null @@ -1,16 +0,0 @@ -+ %Include kactionclasses.sip -+ %Include kactioncollection.sip -+ %Include kactionselector.sip -+ %Include kconfigdialog.sip -+ %Include kdatetimewidget.sip -+ %Include kfontrequester.sip -+ %Include kinputdialog.sip -+ %Include klanguagebutton.sip -+ %Include klistviewsearchline.sip -+ %Include kpassivepopup.sip -+ %Include ksplashscreen.sip -+ %Include ktabbar.sip -+ %Include ktabwidget.sip -+ %Include ktextedit.sip -+ %Include ktimewidget.sip -+ %Include kwindowinfo.sip diff --git a/python/pykde/sip/kdeui/kdeui-kde331.diff b/python/pykde/sip/kdeui/kdeui-kde331.diff deleted file mode 100644 index 6be7d896..00000000 --- a/python/pykde/sip/kdeui/kdeui-kde331.diff +++ /dev/null @@ -1,16 +0,0 @@ -+ %Include kactionclasses.sip -+ %Include kactioncollection.sip -+ %Include kactionselector.sip -+ %Include kconfigdialog.sip -+ %Include kdatetimewidget.sip -+ %Include kfontrequester.sip -+ %Include kinputdialog.sip -+ %Include klanguagebutton.sip -+ %Include klistviewsearchline.sip -+ %Include kpassivepopup.sip -+ %Include ksplashscreen.sip -+ %Include ktabbar.sip -+ %Include ktabwidget.sip -+ %Include ktextedit.sip -+ %Include ktimewidget.sip -+ %Include kwindowinfo.sip diff --git a/python/pykde/sip/kdeui/kdeui-kde332.diff b/python/pykde/sip/kdeui/kdeui-kde332.diff deleted file mode 100644 index 6be7d896..00000000 --- a/python/pykde/sip/kdeui/kdeui-kde332.diff +++ /dev/null @@ -1,16 +0,0 @@ -+ %Include kactionclasses.sip -+ %Include kactioncollection.sip -+ %Include kactionselector.sip -+ %Include kconfigdialog.sip -+ %Include kdatetimewidget.sip -+ %Include kfontrequester.sip -+ %Include kinputdialog.sip -+ %Include klanguagebutton.sip -+ %Include klistviewsearchline.sip -+ %Include kpassivepopup.sip -+ %Include ksplashscreen.sip -+ %Include ktabbar.sip -+ %Include ktabwidget.sip -+ %Include ktextedit.sip -+ %Include ktimewidget.sip -+ %Include kwindowinfo.sip diff --git a/python/pykde/sip/kdeui/kdeui-kde340.diff b/python/pykde/sip/kdeui/kdeui-kde340.diff deleted file mode 100644 index cdefe26b..00000000 --- a/python/pykde/sip/kdeui/kdeui-kde340.diff +++ /dev/null @@ -1,21 +0,0 @@ -+ %Include kactionclasses.sip -+ %Include kactioncollection.sip -+ %Include kactionselector.sip -+ %Include kconfigdialog.sip -+ %Include kdatetimewidget.sip -+ %Include kfontrequester.sip -+ %Include kiconviewsearchline.sip -+ %Include kinputdialog.sip -+ %Include klanguagebutton.sip -+ %Include klistviewsearchline.sip -+ %Include kpassivepopup.sip -+ %Include kpixmapregionselectordialog.sip -+ %Include kpixmapregionselectorwidget.sip -+ %Include kshortcutdialog.sip -+ %Include ksplashscreen.sip -+ %Include ktabbar.sip -+ %Include ktabwidget.sip -+ %Include ktextedit.sip -+ %Include ktimewidget.sip -+ %Include ktoolbarlabelaction.sip -+ %Include kwindowinfo.sip diff --git a/python/pykde/sip/kdeui/kdeui-kde341.diff b/python/pykde/sip/kdeui/kdeui-kde341.diff deleted file mode 100644 index cdefe26b..00000000 --- a/python/pykde/sip/kdeui/kdeui-kde341.diff +++ /dev/null @@ -1,21 +0,0 @@ -+ %Include kactionclasses.sip -+ %Include kactioncollection.sip -+ %Include kactionselector.sip -+ %Include kconfigdialog.sip -+ %Include kdatetimewidget.sip -+ %Include kfontrequester.sip -+ %Include kiconviewsearchline.sip -+ %Include kinputdialog.sip -+ %Include klanguagebutton.sip -+ %Include klistviewsearchline.sip -+ %Include kpassivepopup.sip -+ %Include kpixmapregionselectordialog.sip -+ %Include kpixmapregionselectorwidget.sip -+ %Include kshortcutdialog.sip -+ %Include ksplashscreen.sip -+ %Include ktabbar.sip -+ %Include ktabwidget.sip -+ %Include ktextedit.sip -+ %Include ktimewidget.sip -+ %Include ktoolbarlabelaction.sip -+ %Include kwindowinfo.sip diff --git a/python/pykde/sip/kdeui/kdeui-kde342.diff b/python/pykde/sip/kdeui/kdeui-kde342.diff deleted file mode 100644 index cdefe26b..00000000 --- a/python/pykde/sip/kdeui/kdeui-kde342.diff +++ /dev/null @@ -1,21 +0,0 @@ -+ %Include kactionclasses.sip -+ %Include kactioncollection.sip -+ %Include kactionselector.sip -+ %Include kconfigdialog.sip -+ %Include kdatetimewidget.sip -+ %Include kfontrequester.sip -+ %Include kiconviewsearchline.sip -+ %Include kinputdialog.sip -+ %Include klanguagebutton.sip -+ %Include klistviewsearchline.sip -+ %Include kpassivepopup.sip -+ %Include kpixmapregionselectordialog.sip -+ %Include kpixmapregionselectorwidget.sip -+ %Include kshortcutdialog.sip -+ %Include ksplashscreen.sip -+ %Include ktabbar.sip -+ %Include ktabwidget.sip -+ %Include ktextedit.sip -+ %Include ktimewidget.sip -+ %Include ktoolbarlabelaction.sip -+ %Include kwindowinfo.sip diff --git a/python/pykde/sip/kdeui/kdeui-kde343.diff b/python/pykde/sip/kdeui/kdeui-kde343.diff deleted file mode 100644 index cdefe26b..00000000 --- a/python/pykde/sip/kdeui/kdeui-kde343.diff +++ /dev/null @@ -1,21 +0,0 @@ -+ %Include kactionclasses.sip -+ %Include kactioncollection.sip -+ %Include kactionselector.sip -+ %Include kconfigdialog.sip -+ %Include kdatetimewidget.sip -+ %Include kfontrequester.sip -+ %Include kiconviewsearchline.sip -+ %Include kinputdialog.sip -+ %Include klanguagebutton.sip -+ %Include klistviewsearchline.sip -+ %Include kpassivepopup.sip -+ %Include kpixmapregionselectordialog.sip -+ %Include kpixmapregionselectorwidget.sip -+ %Include kshortcutdialog.sip -+ %Include ksplashscreen.sip -+ %Include ktabbar.sip -+ %Include ktabwidget.sip -+ %Include ktextedit.sip -+ %Include ktimewidget.sip -+ %Include ktoolbarlabelaction.sip -+ %Include kwindowinfo.sip diff --git a/python/pykde/sip/kdeui/kdeui-kde350.diff b/python/pykde/sip/kdeui/kdeui-kde350.diff deleted file mode 100644 index 965e2c3c..00000000 --- a/python/pykde/sip/kdeui/kdeui-kde350.diff +++ /dev/null @@ -1,23 +0,0 @@ -+ %Include kactionclasses.sip -+ %Include kactioncollection.sip -+ %Include kactionselector.sip -+ %Include kconfigdialog.sip -+ %Include kdatetimewidget.sip -+ %Include kfontrequester.sip -+ %Include kiconviewsearchline.sip -+ %Include kinputdialog.sip -+ %Include klanguagebutton.sip -+ %Include klistviewsearchline.sip -+ %Include kpassivepopup.sip -+ %Include kpixmapregionselectordialog.sip -+ %Include kpixmapregionselectorwidget.sip -+ %Include kscrollview.sip -+ %Include kshortcutdialog.sip -+ %Include ksplashscreen.sip -+ %Include ktabbar.sip -+ %Include ktabwidget.sip -+ %Include ktextedit.sip -+ %Include ktimewidget.sip -+ %Include ktimezonewidget.sip -+ %Include ktoolbarlabelaction.sip -+ %Include kwindowinfo.sip diff --git a/python/pykde/sip/kdeui/kdeui-kde351.diff b/python/pykde/sip/kdeui/kdeui-kde351.diff deleted file mode 100644 index 965e2c3c..00000000 --- a/python/pykde/sip/kdeui/kdeui-kde351.diff +++ /dev/null @@ -1,23 +0,0 @@ -+ %Include kactionclasses.sip -+ %Include kactioncollection.sip -+ %Include kactionselector.sip -+ %Include kconfigdialog.sip -+ %Include kdatetimewidget.sip -+ %Include kfontrequester.sip -+ %Include kiconviewsearchline.sip -+ %Include kinputdialog.sip -+ %Include klanguagebutton.sip -+ %Include klistviewsearchline.sip -+ %Include kpassivepopup.sip -+ %Include kpixmapregionselectordialog.sip -+ %Include kpixmapregionselectorwidget.sip -+ %Include kscrollview.sip -+ %Include kshortcutdialog.sip -+ %Include ksplashscreen.sip -+ %Include ktabbar.sip -+ %Include ktabwidget.sip -+ %Include ktextedit.sip -+ %Include ktimewidget.sip -+ %Include ktimezonewidget.sip -+ %Include ktoolbarlabelaction.sip -+ %Include kwindowinfo.sip diff --git a/python/pykde/sip/kdeui/kdeui-kde352.diff b/python/pykde/sip/kdeui/kdeui-kde352.diff deleted file mode 100644 index 965e2c3c..00000000 --- a/python/pykde/sip/kdeui/kdeui-kde352.diff +++ /dev/null @@ -1,23 +0,0 @@ -+ %Include kactionclasses.sip -+ %Include kactioncollection.sip -+ %Include kactionselector.sip -+ %Include kconfigdialog.sip -+ %Include kdatetimewidget.sip -+ %Include kfontrequester.sip -+ %Include kiconviewsearchline.sip -+ %Include kinputdialog.sip -+ %Include klanguagebutton.sip -+ %Include klistviewsearchline.sip -+ %Include kpassivepopup.sip -+ %Include kpixmapregionselectordialog.sip -+ %Include kpixmapregionselectorwidget.sip -+ %Include kscrollview.sip -+ %Include kshortcutdialog.sip -+ %Include ksplashscreen.sip -+ %Include ktabbar.sip -+ %Include ktabwidget.sip -+ %Include ktextedit.sip -+ %Include ktimewidget.sip -+ %Include ktimezonewidget.sip -+ %Include ktoolbarlabelaction.sip -+ %Include kwindowinfo.sip diff --git a/python/pykde/sip/kdeui/kdeui-kde353.diff b/python/pykde/sip/kdeui/kdeui-kde353.diff deleted file mode 100644 index 965e2c3c..00000000 --- a/python/pykde/sip/kdeui/kdeui-kde353.diff +++ /dev/null @@ -1,23 +0,0 @@ -+ %Include kactionclasses.sip -+ %Include kactioncollection.sip -+ %Include kactionselector.sip -+ %Include kconfigdialog.sip -+ %Include kdatetimewidget.sip -+ %Include kfontrequester.sip -+ %Include kiconviewsearchline.sip -+ %Include kinputdialog.sip -+ %Include klanguagebutton.sip -+ %Include klistviewsearchline.sip -+ %Include kpassivepopup.sip -+ %Include kpixmapregionselectordialog.sip -+ %Include kpixmapregionselectorwidget.sip -+ %Include kscrollview.sip -+ %Include kshortcutdialog.sip -+ %Include ksplashscreen.sip -+ %Include ktabbar.sip -+ %Include ktabwidget.sip -+ %Include ktextedit.sip -+ %Include ktimewidget.sip -+ %Include ktimezonewidget.sip -+ %Include ktoolbarlabelaction.sip -+ %Include kwindowinfo.sip diff --git a/python/pykde/sip/kdeui/kdeuimod.sip.in b/python/pykde/sip/kdeui/kdeuimod.sip.in deleted file mode 100644 index ad844944..00000000 --- a/python/pykde/sip/kdeui/kdeuimod.sip.in +++ /dev/null @@ -1,123 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdeui version KDE_3_5_2 - -%Copying - - This software is free software; you can redistribute it and/or - modify it under the terms of the GNU General Public License as - published by the Free Software Foundation; either version 2 of - the License, or (at your option) any later version. - - This software is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public - License along with this library; see the file COPYING. - If not, write to the Free Software Foundation, Inc., - 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - -%End - -%Module kdeui - -%Import qt/qtmod.sip -%Import qtxml/qtxmlmod.sip -%Import dcopmod.sip -%Import kdecoremod.sip -%Import kdefxmod.sip - -%Include kaboutapplication.sip -%Include kaboutdialog.sip -%Include kaboutkde.sip -%Include kaction.sip -%Include kactionshortcutlist.sip -%Include kactivelabel.sip -%Include kanimwidget.sip -%Include karrowbutton.sip -%Include kauthicon.sip -%Include kbugreport.sip -%Include kbuttonbox.sip -%Include kcharselect.sip -%Include kcmenumngr.sip -%Include kcmodule.sip -%Include kcolorbtn.sip -%Include kcolorcombo.sip -%Include kcolordialog.sip -%Include kcolordrag.sip -%Include kcombobox.sip -%Include kcommand.sip -%Include kcompletionbox.sip -%Include kcursor.sip -%Include kdatepicker.sip -%Include kdatetbl.sip -%Include kdatewidget.sip -%Include kdcopactionproxy.sip -%Include kdialog.sip -%Include kdialogbase.sip -%Include kdockwidget.sip -%Include kdualcolorbutton.sip -%Include keditcl.sip -%Include keditlistbox.sip -%Include kedittoolbar.sip -%Include kfontcombo.sip -%Include kfontdialog.sip -%Include kguiitem.sip -%Include khelpmenu.sip -%Include kiconview.sip -%Include kjanuswidget.sip -%Include kkeybutton.sip -%Include kkeydialog.sip -%Include kled.sip -%Include klineedit.sip -%Include klineeditdlg.sip -%Include klistbox.sip -%Include klistview.sip -%Include kmainwindow.sip -%Include kmainwindowiface.sip -%Include kmenubar.sip -%Include kmessagebox.sip -%Include knuminput.sip -%Include knumvalidator.sip -%Include kpanelapplet.sip -%Include kpanelappmenu.sip -%Include kpanelextension.sip -%Include kpanelmenu.sip -%Include kpassdlg.sip -%Include kpixmapio.sip -%Include kpopupmenu.sip -%Include kprogress.sip -%Include kpushbutton.sip -%Include krestrictedline.sip -%Include krootpixmap.sip -%Include kruler.sip -%Include kselect.sip -%Include kseparator.sip -%Include ksqueezedtextlabel.sip -%Include kstatusbar.sip -%Include kstdaction.sip -%Include kstdguiitem.sip -%Include kstringvalidator.sip -%Include ksystemtray.sip -%Include ktabctl.sip -%Include ktextbrowser.sip -%Include ktip.sip -%Include ktoolbar.sip -%Include ktoolbarbutton.sip -%Include ktoolbarradiogroup.sip -%Include kurllabel.sip -%Include kwindowlistmenu.sip -%Include kwizard.sip -%Include kwordwrap.sip -%Include kxmlguibuilder.sip -%Include kxmlguiclient.sip -%Include kxmlguifactory.sip -%Include qxembed.sip -@mark@ diff --git a/python/pykde/sip/kdeui/kdialog.sip b/python/pykde/sip/kdeui/kdialog.sip deleted file mode 100644 index 929411ea..00000000 --- a/python/pykde/sip/kdeui/kdialog.sip +++ /dev/null @@ -1,90 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdeui version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KDialog : QDialog -{ -%TypeHeaderCode -#include -%End - - -public: - KDialog (QWidget* /TransferThis/ = 0, const char* = 0, bool = 0, WFlags = 0); - static int marginHint (); - static int spacingHint (); - static void resizeLayout (QWidget*, int, int); - static void resizeLayout (QLayoutItem*, int, int); - -%If ( KDE_3_1_0 - ) - static void centerOnScreen (QWidget*, int = -1); - -%If ( KDE_3_2_0 - ) - static bool avoidArea (QWidget*, const QRect&, int = -1); -%End - -%End - - -public slots: - virtual void polish (); - virtual void setCaption (const QString&); - virtual void setPlainCaption (const QString&); - -protected: - virtual void keyPressEvent (QKeyEvent*); - -signals: - void layoutHintChanged (); - -protected: -//igx virtual void virtual_hook (int, void*); -//force - -private: - KDialog (const KDialog&); -//end - -}; // class KDialog - - -class KDialogQueue : QObject -{ -%TypeHeaderCode -#include -%End - - -public: - static void queueDialog (QDialog*); - -protected: - KDialogQueue (); - static KDialogQueue* self (); - -protected: - -}; // class KDialogQueue - diff --git a/python/pykde/sip/kdeui/kdialogbase.sip b/python/pykde/sip/kdeui/kdialogbase.sip deleted file mode 100644 index 513c8695..00000000 --- a/python/pykde/sip/kdeui/kdialogbase.sip +++ /dev/null @@ -1,283 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdeui version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KDialogBase : KDialog -{ -%TypeHeaderCode -#include -%End - - -public: - -%If ( KDE_3_3_0 - ) - - enum ButtonCode - { - Help, - Default, - Ok, - Apply, - Try, - Cancel, - Close, - User1, - User2, - User3, - No, - Yes, - Details, - Filler, - Stretch, - NoDefault - }; - -%End - - - enum ActionButtonStyle - { - ActionStyle0, - ActionStyle1, - ActionStyle2, - ActionStyle3, - ActionStyle4, - ActionStyleMAX - }; - - - enum DialogType - { - TreeList, - Tabbed, - Plain, - Swallow, - IconList - }; - - -public: - KDialogBase (QWidget* /TransferThis/ = 0, const char* = 0, bool = 1, const QString& = QString ::null , int = Ok |Apply |Cancel , KDialogBase::ButtonCode = Ok , bool = 0, const KGuiItem& = KGuiItem (), const KGuiItem& = KGuiItem (), const KGuiItem& = KGuiItem ()); - KDialogBase (int, const QString&, int, KDialogBase::ButtonCode, QWidget* /TransferThis/ = 0, const char* = 0, bool = 1, bool = 0, const KGuiItem& = KGuiItem (), const KGuiItem& = KGuiItem (), const KGuiItem& = KGuiItem ()); - -%If ( KDE_3_2_0 - ) - KDialogBase (KDialogBase::DialogType, WFlags, QWidget* /TransferThis/ = 0, const char* = 0, bool = 1, const QString& = QString ::null , int = Ok |Apply |Cancel , KDialogBase::ButtonCode = Ok , bool = 0, const KGuiItem& = KGuiItem (), const KGuiItem& = KGuiItem (), const KGuiItem& = KGuiItem ()); -%End - - KDialogBase (const QString&, int = Yes |No |Cancel , KDialogBase::ButtonCode = Yes , KDialogBase::ButtonCode = Cancel , QWidget* /TransferThis/ = 0, const char* = 0, bool = 1, bool = 0, const KGuiItem& = KStdGuiItem ::yes (), const KGuiItem& = KStdGuiItem ::no (), const KGuiItem& = KStdGuiItem ::cancel ()); - void setButtonBoxOrientation (int); - void setEscapeButton (KDialogBase::ButtonCode); - virtual void adjustSize (); - virtual QSize sizeHint () const; - virtual QSize minimumSizeHint () const; - QFrame* plainPage (); - QFrame* addPage (const QString&, const QString& = QString ::null , const QPixmap& = QPixmap ()); - QFrame* addPage (const QStringList&, const QString& = QString ::null , const QPixmap& = QPixmap ()); - QVBox* addVBoxPage (const QString&, const QString& = QString ::null , const QPixmap& = QPixmap ()); - QVBox* addVBoxPage (const QStringList&, const QString& = QString ::null , const QPixmap& = QPixmap ()); - QHBox* addHBoxPage (const QString&, const QString& = QString ::null , const QPixmap& = QPixmap ()); - QHBox* addHBoxPage (const QStringList&, const QString& = QString ::null , const QPixmap& = QPixmap ()); - QGrid* addGridPage (int, Qt::Orientation, const QString&, const QString& = QString ::null , const QPixmap& = QPixmap ()); - QGrid* addGridPage (int, Qt::Orientation, const QStringList&, const QString& = QString ::null , const QPixmap& = QPixmap ()); - void setFolderIcon (const QStringList&, const QPixmap&); - QFrame* makeMainWidget (); - QVBox* makeVBoxMainWidget (); - QHBox* makeHBoxMainWidget (); - QGrid* makeGridMainWidget (int, Qt::Orientation); - void enableButtonSeparator (bool); - void showButton (KDialogBase::ButtonCode, bool); - void showButtonOK (bool); - void showButtonApply (bool); - void showButtonCancel (bool); - bool showPage (int); - int activePageIndex () const; - int pageIndex (QWidget*) const; - void setMainWidget (QWidget*); - QWidget* mainWidget (); - void disableResize (); - void setInitialSize (const QSize&, bool = 0); - void incInitialSize (const QSize&, bool = 0); - QSize configDialogSize (const QString&) const; - -%If ( KDE_3_2_0 - ) - QSize configDialogSize (KConfig&, const QString&) const; -%End - - void saveDialogSize (const QString&, bool = 0); - -%If ( KDE_3_2_0 - ) - void saveDialogSize (KConfig&, const QString&, bool = 0) const; - void setButtonOK (const KGuiItem& = KStdGuiItem ::ok ()); -%End - - void setButtonOKText (const QString& = QString ::null , const QString& = QString ::null , const QString& = QString ::null ); - -%If ( KDE_3_2_0 - ) - void setButtonApply (const KGuiItem& = KStdGuiItem ::apply ()); -%End - - void setButtonApplyText (const QString& = QString ::null , const QString& = QString ::null , const QString& = QString ::null ); - -%If ( KDE_3_2_0 - ) - void setButtonCancel (const KGuiItem& = KStdGuiItem ::cancel ()); -%End - - void setButtonCancelText (const QString& = QString ::null , const QString& = QString ::null , const QString& = QString ::null ); - void setButtonText (KDialogBase::ButtonCode, const QString&); - void setButtonTip (KDialogBase::ButtonCode, const QString&); - void setButtonWhatsThis (KDialogBase::ButtonCode, const QString&); - -%If ( KDE_3_3_0 - ) - void setButtonGuiItem (KDialogBase::ButtonCode, const KGuiItem&); -%End - - void setTreeListAutoResize (bool); - void setShowIconsInTreeList (bool); - void setRootIsDecorated (bool); - -%If ( KDE_3_2_0 - ) - void unfoldTreeList (bool = 0); - void addWidgetBelowList (QWidget*); - void addButtonBelowList (const QString&, QObject*, const char*); - void addButtonBelowList (const KGuiItem&, QObject*, const char*); -%End - - void setIconListAllVisible (bool); - static bool haveBackgroundTile (); - static const QPixmap* backgroundTile (); - static const QPixmap* getBackgroundTile (); - static void setBackgroundTile (const QPixmap*); - void showTile (bool); - void getBorderWidths (int&, int&, int&, int&) const; - QRect getContentsRect (); - QSize calculateSize (int, int); - QString helpLinkText (); - QPushButton* actionButton (KDialogBase::ButtonCode); - -public slots: - void enableButton (KDialogBase::ButtonCode, bool); - void enableButtonOK (bool); - void enableButtonApply (bool); - void enableButtonCancel (bool); - void enableLinkedHelp (bool); - -%If ( KDE_3_1_0 - ) - void delayedDestruct (); -%End - - void setHelpLinkText (const QString&); - void setHelp (const QString&, const QString& = QString ::null ); - void helpClickedSlot (const QString&); - void setDetails (bool); - void setDetailsWidget (QWidget*); - void updateBackground (); - -%If ( KDE_3_1_0 - ) - void cancel (); -%End - - -signals: - void helpClicked (); - void defaultClicked (); - void user3Clicked (); - void user2Clicked (); - void user1Clicked (); - void applyClicked (); - void tryClicked (); - void okClicked (); - void yesClicked (); - void noClicked (); - void cancelClicked (); - void closeClicked (); - void apply (); - void backgroundChanged (); - void hidden (); - void finished (); - void aboutToShowDetails (); - void aboutToShowPage (QWidget*); - -protected: - virtual void keyPressEvent (QKeyEvent*); - virtual void hideEvent (QHideEvent*); - virtual void closeEvent (QCloseEvent*); - -protected slots: - virtual void slotHelp (); - virtual void slotDefault (); - virtual void slotDetails (); - virtual void slotUser3 (); - virtual void slotUser2 (); - virtual void slotUser1 (); - virtual void slotOk (); - virtual void slotApply (); - virtual void slotTry (); - virtual void slotYes (); - virtual void slotNo (); - virtual void slotCancel (); - virtual void slotClose (); - virtual void applyPressed (); - void updateGeometry (); - void slotDelayedDestruct (); - -protected: -//igx virtual void virtual_hook (int, void*); - -public: - -%If ( - KDE_3_3_0 ) - - enum ButtonCode - { - Help, - Default, - Ok, - Apply, - Try, - Cancel, - Close, - User1, - User2, - User3, - No, - Yes, - Details, - Filler, - Stretch - }; - -%End - - -public: - -%If ( - KDE_3_1_0 ) - void delayedDestruct (); -%End - - -}; // class KDialogBase - diff --git a/python/pykde/sip/kdeui/kdocktabctl.sip b/python/pykde/sip/kdeui/kdocktabctl.sip deleted file mode 100644 index 5954906b..00000000 --- a/python/pykde/sip/kdeui/kdocktabctl.sip +++ /dev/null @@ -1,186 +0,0 @@ -// -// Copyright 2003 Jim Bublitz -// Earlier copyrights 1998 - 2002 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdeui version KDE_3_1_1 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KDockTabCtl_PrivateStruct -{ -%TypeHeaderCode -#include -%End - - -public: - KDockTabCtl_PrivateStruct (QWidget*, int); - QWidget* widget; - int id; - bool enabled; - -}; // class KDockTabCtl_PrivateStruct - - -class KDockTabBar : QWidget -{ -%TypeHeaderCode -#include -%End - - -public: - KDockTabBar (QWidget*/TransferThis/ = 0, const char* = 0); - - enum TabPos - { - TAB_TOP, - TAB_RIGHT - }; - - void setTabPos (KDockTabBar::TabPos); - int insertTab (const QString&, int = -1, int = -1); - void setPixmap (int, const QPixmap&); - void setToolTip (int, const QString&); - void setTextColor (int, const QColor&); - const QColor& textColor (int); - void removeTab (int); - int currentTab (); - void setCurrentTab (int, bool = 0); - void setTabEnabled (int, bool); - bool isTabEnabled (int); - void setTabCaption (int, const QString&); - QString tabCaption (int); - virtual void show (); - virtual void setFont (const QFont&); - void showTabIcon (bool); - bool isShowTabIcon (); - -signals: - void tabSelected (int); - void rightButtonPress (int, QPoint); - -protected slots: - void leftClicked (); - void rightClicked (); - -protected: - virtual void paintEvent (QPaintEvent*); - virtual void resizeEvent (QResizeEvent*); - virtual void keyPressEvent (QKeyEvent*); - -}; // class KDockTabBar - - -class KDockTabBarPainter : QWidget -{ -%TypeHeaderCode -#include -%End - - -public: - QString tip (const QPoint&); - QRect findBarRectByPos (int, int); - -private: - KDockTabBarPainter (KDockTabBar*/TransferThis/); - -protected: - virtual void mousePressEvent (QMouseEvent*); - virtual void mouseReleaseEvent (QMouseEvent*); - virtual void resizeEvent (QResizeEvent*); - virtual void paintEvent (QPaintEvent*); - -}; // class KDockTabBarPainter - - -class KDockTabCtl : QWidget -{ -%TypeHeaderCode -#include -%End - - -public: - KDockTabCtl (QWidget*/TransferThis/ = 0, const char* = 0); - virtual void setTabPos (KDockTabBar::TabPos); - KDockTabBar::TabPos getTabPos (); - int insertPage (QWidget*, const QString&, int = -1, int = -1); - void setPageCaption (QWidget*, const QString&); - void setPageCaption (int, const QString&); - QString pageCaption (QWidget*); - QString pageCaption (int); - void captionAutoSet (bool); - bool isCaptionAutoSet (); - void setPixmap (QWidget*, const QPixmap&); - void setPixmap (int, const QPixmap&); - void setToolTip (QWidget*, const QString&); - void setTabTextColor (QWidget*, const QColor&); - void setTabTextColor (int, const QColor&); - const QColor& tabTextColor (QWidget*); - const QColor& tabTextColor (int); - bool isPageEnabled (QWidget*); - bool isPageEnabled (int); - void setPageEnabled (QWidget*, bool); - void setPageEnabled (int, bool); - QWidget* page (int); - int id (QWidget*); - int index (QWidget*); - void removePage (QWidget*); - void removePage (int); - QWidget* visiblePage (); - int visiblePageId (); - void setVisiblePage (QWidget*, bool = 0); - void setTabFont (const QFont&); - QFont tabFont (); - void showTabIcon (bool); - bool isShowTabIcon (); - int pageCount (); - QWidget* getFirstPage (); - QWidget* getLastPage (); - QWidget* getNextPage (QWidget*); - QWidget* getPrevPage (QWidget*); - virtual void show (); - virtual bool eventFilter (QObject*, QEvent*); - -public slots: - virtual void setEnabled (bool); - void setVisiblePage (int); - -protected: - void paintEvent (QPaintEvent*); - -signals: - void aboutToShow (QWidget*); - void pageSelected (QWidget*); - void tabShowPopup (int, QPoint); - -protected slots: - void rightButtonPress (int, QPoint); - -protected: - KDockTabCtl_PrivateStruct* findData (QWidget*); - KDockTabCtl_PrivateStruct* findData (int); - void showPage (QWidget*, bool = 0); - -}; // class KDockTabCtl - diff --git a/python/pykde/sip/kdeui/kdockwidget.sip b/python/pykde/sip/kdeui/kdockwidget.sip deleted file mode 100644 index 62f02c86..00000000 --- a/python/pykde/sip/kdeui/kdockwidget.sip +++ /dev/null @@ -1,469 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdeui version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KDockWidgetAbstractHeader : QFrame -{ -%TypeHeaderCode -#include -%End - - -public: - KDockWidgetAbstractHeader (KDockWidget* /TransferThis/, const char* = 0); - virtual void setTopLevel (bool); - virtual void saveConfig (KConfig*); - virtual void loadConfig (KConfig*); - -protected: -//igx virtual void virtual_hook (int, void*); - -}; // class KDockWidgetAbstractHeader - - -class KDockWidgetAbstractHeaderDrag : QFrame -{ -%TypeHeaderCode -#include -%End - - -public: - KDockWidgetAbstractHeaderDrag (KDockWidgetAbstractHeader* /TransferThis/, KDockWidget*, const char* = 0); - KDockWidget* dockWidget (); - -protected: -//igx virtual void virtual_hook (int, void*); - -}; // class KDockWidgetAbstractHeaderDrag - - -class KDockWidgetHeaderDrag : KDockWidgetAbstractHeaderDrag -{ -%TypeHeaderCode -#include -%End - - -public: - KDockWidgetHeaderDrag (KDockWidgetAbstractHeader* /TransferThis/, KDockWidget*, const char* = 0); - -protected: - virtual void paintEvent (QPaintEvent*); - -protected: -//igx virtual void virtual_hook (int, void*); - -}; // class KDockWidgetHeaderDrag - - -class KDockWidgetHeader : KDockWidgetAbstractHeader -{ -%TypeHeaderCode -#include -%End - - -public: - KDockWidgetHeader (KDockWidget* /TransferThis/, const char* = 0); - virtual void setTopLevel (bool); - void setDragPanel (KDockWidgetHeaderDrag*); - -%If ( KDE_3_4_0 - ) - KDockWidgetHeaderDrag* dragPanel (); -%End - - bool dragEnabled (); - void setDragEnabled (bool); - -%If ( KDE_3_1_0 - ) - void showUndockButton (bool); - -%If ( KDE_3_2_0 - ) - void forceCloseButtonHidden (bool = 1); -%End - -%End - - virtual void saveConfig (KConfig*); - virtual void loadConfig (KConfig*); - -%If ( KDE_3_2_0 - ) -//ig void addButton (KDockButton_Private*); -//ig void removeButton (KDockButton_Private*); -%End - - -protected slots: - void slotStayClicked (); - -protected: - -protected: -//igx virtual void virtual_hook (int, void*); - -}; // class KDockWidgetHeader - - -class KDockTabGroup : QTabWidget -{ -%TypeHeaderCode -#include -%End - - -public: - KDockTabGroup (QWidget* /TransferThis/ = 0, const char* = 0); - -%If ( KDE_3_2_0 - ) - QWidget* transientTo (); -%End - - -protected: -//igx virtual void virtual_hook (int, void*); - -}; // class KDockTabGroup - - -class KDockWidget : QWidget -{ -%TypeHeaderCode -#include -%End - - -public: - KDockWidget (KDockManager*, const char*, const QPixmap&, QWidget* /TransferThis/ = 0, const QString& = 0, const QString& = " ", WFlags = 0); - -%If ( KDE_3_1_0 - ) - - enum DockPosition - { - DockNone, - DockTop, - DockLeft, - DockRight, - DockBottom, - DockCenter, - DockDesktop, - DockToSpecialSites, - DockCorner, - DockFullSite, - DockFullDocking - }; - -%End - - KDockWidget* manualDock (KDockWidget*, KDockWidget::DockPosition, int = 50, QPoint = QPoint (0 ,0 ), bool = 0, int = -1); - void setEnableDocking (int); - int enableDocking (); - void setDockSite (int); - int dockSite (); - void setWidget (QWidget*); - QWidget* getWidget (); - void setHeader (KDockWidgetAbstractHeader*); - -%If ( KDE_3_2_0 - ) - KDockWidgetAbstractHeader* getHeader (); -%End - - void makeDockVisible (); - bool mayBeHide (); - bool mayBeShow (); - KDockManager* dockManager (); - void setToolTipString (const QString&); - const QString& toolTipString (); - bool isDockBackPossible (); - void setTabPageLabel (const QString&); - const QString& tabPageLabel (); - virtual bool event (QEvent*); - virtual void show (); - KDockTabGroup* parentDockTabGroup (); - -%If ( KDE_3_1_0 - ) - QWidget* parentDockContainer () const; -%End - - void setDockWindowType (NET::WindowType); - void setDockWindowTransient (QWidget* /Transfer/, bool); - -%If ( KDE_3_2_0 - ) - QWidget* transientTo (); -%End - - -%If ( KDE_3_1_0 - ) - KDockWidget* findNearestDockWidget (KDockWidget::DockPosition); - -%If ( KDE_3_2_0 - ) - void setPixmap (const QPixmap& = QPixmap ()); - const QPixmap& pixmap () const; - -%If ( KDE_3_3_0 - ) - KDockWidget::DockPosition currentDockPosition () const; -%End - -%End - -%End - - -public slots: - -%If ( KDE_3_1_0 - ) - void setForcedFixedWidth (int); - void setForcedFixedHeight (int); - void restoreFromForcedFixedSize (); - int forcedFixedWidth (); - int forcedFixedHeight (); -%End - - void dockBack (); - void changeHideShowState (); - void undock (); - -%If ( KDE_3_1_0 - ) - void toDesktop (); -%End - - -protected: - void updateHeader (); - -%If ( KDE_3_1_0 - ) - void setLatestKDockContainer (QWidget*); - QWidget* latestKDockContainer (); - -%If ( KDE_3_2_1 - ) - void setFormerBrotherDockWidget (KDockWidget*); -%End - -%End - - -signals: - -%If ( KDE_3_2_0 - ) - void widgetSet (QWidget*); -%End - - void docking (KDockWidget*, KDockWidget::DockPosition); - void setDockDefaultPos (); - void headerCloseButtonClicked (); - void headerDockbackButtonClicked (); - void iMBeingClosed (); - void hasUndocked (); - -protected slots: - void loseFormerBrotherDockWidget (); - -%If ( KDE_3_1_0 - ) - virtual void paintEvent (QPaintEvent*); - virtual void mousePressEvent (QMouseEvent*); - virtual void mouseReleaseEvent (QMouseEvent*); - virtual void mouseMoveEvent (QMouseEvent*); - virtual void leaveEvent (QEvent*); -%End - - -protected: - -protected: -//igx virtual void virtual_hook (int, void*); - -public: - -%If ( - KDE_3_1_0 ) - - enum DockPosition - { - DockNone, - DockTop, - DockLeft, - DockRight, - DockBottom, - DockCenter, - DockDesktop, - DockCorner, - DockFullSite, - DockFullDocking - }; - -%End - - -}; // class KDockWidget - - -class KDockManager : QObject -{ -%TypeHeaderCode -#include -%End - - -public: - -%If ( KDE_3_2_0 - ) - - enum EnReadDockConfigMode - { - Unknown, - WrapExistingWidgetsOnly, - RestoreAllDockwidgets - }; - -%End - - -public: - KDockManager (QWidget*, const char* = 0); - -%If ( KDE_3_2_0 - ) - void dumpDockWidgets (); -%End - - void writeConfig (KConfig* = 0, QString = QString ::null ); - void readConfig (KConfig* = 0, QString = QString ::null ); - -%If ( KDE_3_1_0 - ) - void setMainDockWidget2 (KDockWidget*); -%End - - void writeConfig (QDomElement&); - void readConfig (QDomElement&); - void activate (); - virtual bool eventFilter (QObject*, QEvent*); - KDockWidget* findWidgetParentDock (QWidget*); - void makeWidgetDockVisible (QWidget*); - QPopupMenu* dockHideShowMenu (); - KDockWidget* getDockWidgetFromName (const QString&); - void setSplitterOpaqueResize (bool = 1); - bool splitterOpaqueResize () const; - void setSplitterKeepSize (bool = 1); - bool splitterKeepSize () const; - void setSplitterHighResolution (bool = 1); - bool splitterHighResolution () const; - -%If ( KDE_3_2_0 - ) - void setSpecialLeftDockContainer (KDockWidget*); - void setSpecialTopDockContainer (KDockWidget*); - void setSpecialRightDockContainer (KDockWidget*); - void setSpecialBottomDockContainer (KDockWidget*); - void removeFromAutoCreateList (KDockWidget*); - void finishReadDockConfig (); - void setReadDockConfigMode (int); -%End - - -signals: - void change (); - void replaceDock (KDockWidget*, KDockWidget*); - void setDockDefaultPos (KDockWidget*); - -protected: -//igx virtual void virtual_hook (int, void*); - -}; // class KDockManager - - -class KDockMainWindow : KMainWindow -{ -%TypeHeaderCode -#include -%End - - -public: - KDockMainWindow (QWidget* /TransferThis/ = 0, const char* = 0, WFlags = WType_TopLevel |WDestructiveClose ); - KDockManager* manager (); - void setMainDockWidget (KDockWidget*); - KDockWidget* getMainDockWidget (); - KDockWidget* createDockWidget (const QString&, const QPixmap&, QWidget* /Transfer/ = 0, const QString& = 0, const QString& = " "); - void writeDockConfig (QDomElement&); - void readDockConfig (QDomElement&); - void writeDockConfig (KConfig* = 0, QString = QString ::null ); - void readDockConfig (KConfig* = 0, QString = QString ::null ); - void activateDock (); - QPopupMenu* dockHideShowMenu (); - void makeDockVisible (KDockWidget*); - void makeDockInvisible (KDockWidget*); - void makeWidgetDockVisible (QWidget*); - void setView (QWidget*); - -signals: - void dockWidgetHasUndocked (KDockWidget*); - -protected: - -protected slots: - void slotDockWidgetUndocked (); - -protected: -//igx virtual void virtual_hook (int, void*); - -}; // class KDockMainWindow - - -class KDockArea : QWidget -{ -%TypeHeaderCode -#include -%End - - -public: - KDockArea (QWidget* /TransferThis/ = 0, const char* = 0); - KDockManager* manager (); - void setMainDockWidget (KDockWidget*); - KDockWidget* getMainDockWidget (); - KDockWidget* createDockWidget (const QString&, const QPixmap&, QWidget* /Transfer/ = 0, const QString& = 0, const QString& = " "); - void writeDockConfig (QDomElement&); - void readDockConfig (QDomElement&); - void writeDockConfig (KConfig* = 0, QString = QString ::null ); - void readDockConfig (KConfig* = 0, QString = QString ::null ); - void activateDock (); - QPopupMenu* dockHideShowMenu (); - void makeDockVisible (KDockWidget*); - void makeDockInvisible (KDockWidget*); - void makeWidgetDockVisible (QWidget*); - -signals: - void dockWidgetHasUndocked (KDockWidget*); - -protected: - -protected slots: - void slotDockWidgetUndocked (); - -public: - virtual void resizeEvent (QResizeEvent*); - -protected: -//igx virtual void virtual_hook (int, void*); - -}; // class KDockArea - diff --git a/python/pykde/sip/kdeui/kdockwindow.sip b/python/pykde/sip/kdeui/kdockwindow.sip deleted file mode 100644 index 4c04e0eb..00000000 --- a/python/pykde/sip/kdeui/kdockwindow.sip +++ /dev/null @@ -1,38 +0,0 @@ -// -// Copyright 2005 Jim Bublitz -// Earlier copyrights 1998 - 2004 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdeui version KDE_3_4_0 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KDockWindow : KSystemTray -{ -%TypeHeaderCode -#include -%End - - -public: - KDockWindow (QWidget* /TransferThis/ = 0, const char* = 0); - -}; // class KDockWindow - diff --git a/python/pykde/sip/kdeui/kdualcolorbtn.sip b/python/pykde/sip/kdeui/kdualcolorbtn.sip deleted file mode 100644 index 16d363da..00000000 --- a/python/pykde/sip/kdeui/kdualcolorbtn.sip +++ /dev/null @@ -1,73 +0,0 @@ -// -// Copyright 2003 Jim Bublitz -// Earlier copyrights 1998 - 2002 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdeui version KDE_3_1_1 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KDualColorButton : QWidget -{ -%TypeHeaderCode -#include -%End - - -public: - - enum DualColor - { - Foreground, - Background - }; - - KDualColorButton (QWidget*/TransferThis/ = 0, const char* = 0); - KDualColorButton (QWidget*/TransferThis/, const char*, QWidget*); - KDualColorButton (const QColor&, const QColor&, QWidget*/TransferThis/ = 0, const char* = 0); - KDualColorButton (const QColor&, const QColor&, QWidget*/TransferThis/, const char*, QWidget*); - QColor foreground () const; - QColor background () const; - DualColor current () const; - QColor currentColor () const; - virtual QSize sizeHint () const; - -public slots: - void setForeground (const QColor&); - void setBackground (const QColor&); - void setCurrent (KDualColorButton::DualColor); - void setCurrentColor (const QColor&); - -signals: - void fgChanged (const QColor&); - void bgChanged (const QColor&); - void currentChanged (KDualColorButton::DualColor); - -protected: - virtual void metrics (QRect&, QRect&); - virtual void paintEvent (QPaintEvent*); - virtual void mousePressEvent (QMouseEvent*); - virtual void mouseMoveEvent (QMouseEvent*); - virtual void mouseReleaseEvent (QMouseEvent*); - virtual void dragEnterEvent (QDragEnterEvent*); - virtual void dropEvent (QDropEvent*); - -}; // class KDualColorButton - diff --git a/python/pykde/sip/kdeui/kdualcolorbutton.sip b/python/pykde/sip/kdeui/kdualcolorbutton.sip deleted file mode 100644 index a3903018..00000000 --- a/python/pykde/sip/kdeui/kdualcolorbutton.sip +++ /dev/null @@ -1,74 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdeui version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KDualColorButton : QWidget -{ -%TypeHeaderCode -#include -%End - - -public: - - enum DualColor - { - Foreground, - Background - }; - - KDualColorButton (QWidget* /TransferThis/ = 0, const char* = 0, QWidget* = 0); - KDualColorButton (const QColor&, const QColor&, QWidget* /TransferThis/ = 0, const char* = 0, QWidget* = 0); - QColor foreground () const; - QColor background () const; - KDualColorButton::DualColor current () const; - QColor currentColor () const; - virtual QSize sizeHint () const; - -public slots: - void setForeground (const QColor&); - void setBackground (const QColor&); - void setCurrent (KDualColorButton::DualColor); - void setCurrentColor (const QColor&); - -signals: - void fgChanged (const QColor&); - void bgChanged (const QColor&); - void currentChanged (KDualColorButton::DualColor); - -protected: - virtual void metrics (QRect&, QRect&); - virtual void paintEvent (QPaintEvent*); - virtual void mousePressEvent (QMouseEvent*); - virtual void mouseMoveEvent (QMouseEvent*); - virtual void mouseReleaseEvent (QMouseEvent*); - virtual void dragEnterEvent (QDragEnterEvent*); - virtual void dropEvent (QDropEvent*); - -protected: -//igx virtual void virtual_hook (int, void*); - -}; // class KDualColorButton - diff --git a/python/pykde/sip/kdeui/keditcl.sip b/python/pykde/sip/kdeui/keditcl.sip deleted file mode 100644 index 463acbb6..00000000 --- a/python/pykde/sip/kdeui/keditcl.sip +++ /dev/null @@ -1,224 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdeui version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KEdGotoLine : KDialogBase -{ -%TypeHeaderCode -#include -%End - - -public: - KEdGotoLine (QWidget* /TransferThis/ = 0, const char* = 0, bool = 1); - int getLineNumber (); - -public slots: - void selected (int); - -protected: -//igx virtual void virtual_hook (int, void*); - -}; // class KEdGotoLine - - -class KEdFind : KDialogBase -{ -%TypeHeaderCode -#include -%End - - -public: - KEdFind (QWidget* /TransferThis/ = 0, const char* = 0, bool = 1); - QString getText () const; - void setText (QString); - void setCaseSensitive (bool); - bool case_sensitive () const; - void setDirection (bool); - bool get_direction () const; - KHistoryCombo* searchCombo () const; - -protected slots: - void slotCancel (); - void slotUser1 (); - void textSearchChanged (const QString&); - -protected: - -signals: - void search (); - void done (); - -protected: -//igx virtual void virtual_hook (int, void*); -//force - -private: - virtual void done (int); -//end - -}; // class KEdFind - - -class KEdReplace : KDialogBase -{ -%TypeHeaderCode -#include -%End - - -public: - KEdReplace (QWidget* /TransferThis/ = 0, const char* = 0, bool = 1); - QString getText (); - QString getReplaceText (); - void setText (QString); - KHistoryCombo* searchCombo () const; - KHistoryCombo* replaceCombo () const; - bool case_sensitive (); - bool get_direction (); - -protected slots: - void slotCancel (); - void slotClose (); - void slotUser1 (); - void slotUser2 (); - void slotUser3 (); - void textSearchChanged (const QString&); - -signals: - void replace (); - void find (); - void replaceAll (); - void done (); - -protected: -//igx virtual void virtual_hook (int, void*); -//force - -private: - virtual void done (int); -//end - -}; // class KEdReplace - - -class KEdit : QMultiLineEdit -{ -%TypeHeaderCode -#include -%End - - -public: - KEdit (QWidget* /TransferThis/ = 0, const char* = 0); - - enum - { - NONE, - FORWARD, - BACKWARD - }; - - void insertText (QTextStream*); - -%If ( KDE_3_1_0 - ) - void saveText (QTextStream*, bool); -%End - - void saveText (QTextStream*); - void selectFont (); - void search (); - bool repeatSearch (); - void replace (); - void doGotoLine (); - void cleanWhiteSpace (); - void installRBPopup (QPopupMenu*); - int currentLine (); - int currentColumn (); - void spellcheck_start (); - void spellcheck_stop (); - void setOverwriteEnabled (bool); - -%If ( KDE_3_2_0 - ) - QString selectWordUnderCursor (); - -%If ( KDE_3_2_3 - ) - QPopupMenu* createPopupMenu (const QPoint&); - -%If ( KDE_3_3_0 - ) - void setAutoUpdate (bool); -%End - -%End - -%End - - -signals: - void gotUrlDrop (QDropEvent*); - void CursorPositionChanged (); - void toggle_overwrite_signal (); - -public slots: - -%If ( KDE_3_2_0 - ) - void corrected (const QString&, const QString&, uint); - void misspelling (const QString&, const QStringList&, uint); -%End - - -protected: - void computePosition (); - int doSearch (QString, bool, bool, bool, int, int); - int doReplace (QString, bool, bool, bool, int, int, bool); - void posToRowCol (uint, uint&, uint&); - virtual void create (WId = 0, bool = 1, bool = 1); - -%If ( KDE_3_3_0 - ) - virtual void ensureCursorVisible (); - virtual void setCursor (const QCursor&); - virtual void viewportPaintEvent (QPaintEvent*); -%End - - -protected: - void keyPressEvent (QKeyEvent*); - void dragMoveEvent (QDragMoveEvent*); - void dragEnterEvent (QDragEnterEvent*); - void dropEvent (QDropEvent*); - -%If ( KDE_3_1_3 - ) - void contentsDragMoveEvent (QDragMoveEvent*); - void contentsDragEnterEvent (QDragEnterEvent*); - void contentsDropEvent (QDropEvent*); -%End - - -protected: -//igx virtual void virtual_hook (int, void*); - -}; // class KEdit - diff --git a/python/pykde/sip/kdeui/keditlistbox.sip b/python/pykde/sip/kdeui/keditlistbox.sip deleted file mode 100644 index 54faab7d..00000000 --- a/python/pykde/sip/kdeui/keditlistbox.sip +++ /dev/null @@ -1,206 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdeui version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - -%ModuleHeaderCode -const char **PyQtListToArray(PyObject *); -%End - - -class KEditListBox : QGroupBox -{ -%TypeHeaderCode -#include -%End - - -public: - -%If ( KDE_3_1_0 - ) - - class CustomEditor - { - - public: - CustomEditor (); - CustomEditor (QWidget*, KLineEdit*); - CustomEditor (KComboBox*); - void setRepresentationWidget (QWidget*); - void setLineEdit (KLineEdit*); - virtual QWidget* representationWidget () const; - virtual KLineEdit* lineEdit () const; - - protected: - - }; // class CustomEditor - - -public: -%End - - -public: - -%If ( KDE_3_5_0 - ) - - enum Button - { - Add, - Remove, - UpDown - }; - - - enum - { - All - }; - -%End - - KEditListBox (QWidget* /TransferThis/ = 0, const char* = 0, bool = 0, int = All ); - KEditListBox (const QString&, QWidget* /TransferThis/ = 0, const char* = 0, bool = 0, int = All ); - -%If ( KDE_3_1_0 - ) - KEditListBox (const QString&, const KEditListBox::CustomEditor&, QWidget* /TransferThis/ = 0, const char* = 0, bool = 0, int = All ); -%End - - QListBox* listBox () const; - KLineEdit* lineEdit () const; - QPushButton* addButton () const; - QPushButton* removeButton () const; - QPushButton* upButton () const; - QPushButton* downButton () const; - int count () const; - void insertStringList (const QStringList&, int = -1); - void insertStrList (const QStrList*, int = -1); - void insertStrList (const QStrList&, int = -1); - void insertStrList (SIP_PYLIST, int = -1) [void (const char**, int = -1, int = -1)]; -%MethodCode -//takes list | (a Python list of strings) | index | (int) - - int n; - - if ((n = PyList_Size (a0)) == 0) - return NULL; - - const char **strings; - - if ((strings = PyQtListToArray(a0)) == NULL) - return NULL; - - Py_BEGIN_ALLOW_THREADS - sipCpp->insertStrList (strings, n, a1); - Py_END_ALLOW_THREADS - - sipFree((ANY *)strings); -%End - - void insertItem (const QString&, int = -1); - void clear (); - QString text (int) const; - int currentItem () const; - QString currentText () const; - QStringList items () const; - -%If ( KDE_3_4_0 - ) - void setItems (const QStringList&); - int buttons () const; - void setButtons (uint); -%End - - -signals: - void changed (); - -%If ( KDE_3_2_0 - ) - void added (const QString&); - void removed (const QString&); -%End - - -protected slots: - void moveItemUp (); - void moveItemDown (); - void addItem (); - void removeItem (); - void enableMoveButtons (int); - void typedSomething (const QString&); - -protected: -//igx virtual void virtual_hook (int, void*); - -public: - -%If ( - KDE_3_5_0 ) - - enum Button - { - Add, - Remove, - UpDown, - All - }; - -%End - - -}; // class KEditListBox - - - -%ModuleCode -// Convert a list of strings to an array of strings on the heap. Also used by -// QPixmap. - -const char **PyQtListToArray(PyObject *lst) -{ - int nstr; - const char **str, **sp; - - nstr = PyList_Size(lst); - - if ((str = (const char **)sipMalloc(nstr * sizeof (char *))) == NULL) - return NULL; - - // Convert the list. - - sp = str; - - for (int i = 0; i < nstr; ++i) - { - char *s; - - if ((s = PyString_AsString(PyList_GetItem(lst,i))) == NULL) - { - sipFree((ANY *)str); - return NULL; - } - - *sp++ = s; - } - - return str; -} -%End diff --git a/python/pykde/sip/kdeui/kedittoolbar.sip b/python/pykde/sip/kdeui/kedittoolbar.sip deleted file mode 100644 index 1af9d7af..00000000 --- a/python/pykde/sip/kdeui/kedittoolbar.sip +++ /dev/null @@ -1,156 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdeui version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KEditToolbar : KDialogBase -{ -%TypeHeaderCode -#include -%End - - -public: - KEditToolbar (KActionCollection*, const QString& = QString ::null , bool = 1, QWidget* /TransferThis/ = 0, const char* = 0); - -%If ( KDE_3_2_0 - ) - KEditToolbar (const QString&, KActionCollection*, const QString& = QString ::null , bool = 1, QWidget* /TransferThis/ = 0, const char* = 0); -%End - - KEditToolbar (KXMLGUIFactory*, QWidget* /TransferThis/ = 0, const char* = 0); - -%If ( KDE_3_2_0 - ) - KEditToolbar (const QString&, KXMLGUIFactory*, QWidget* /TransferThis/ = 0, const char* = 0); - -%If ( KDE_3_3_0 - ) - static void setDefaultToolbar (const char*); -%End - -%End - - -protected slots: - virtual void slotOk (); - virtual void slotApply (); - void acceptOK (bool); - -%If ( KDE_3_5_0 - ) - void slotDefault (); -%End - - -signals: - void newToolbarConfig (); - -protected: -//igx virtual void virtual_hook (int, void*); - -}; // class KEditToolbar - - -class KEditToolbarWidget : QWidget, KXMLGUIClient -{ -%TypeHeaderCode -#include -%End - - -public: - KEditToolbarWidget (KActionCollection*, const QString& = QString ::null , bool = 1, QWidget* /TransferThis/ = 0); - -%If ( KDE_3_2_0 - ) - KEditToolbarWidget (const QString&, KActionCollection*, const QString& = QString ::null , bool = 1, QWidget* /TransferThis/ = 0); -%End - - KEditToolbarWidget (KXMLGUIFactory*, QWidget* /TransferThis/ = 0); - -%If ( KDE_3_2_0 - ) - KEditToolbarWidget (const QString&, KXMLGUIFactory*, QWidget* /TransferThis/ = 0); -%End - - -%If ( KDE_3_1_0 - ) - virtual KActionCollection* actionCollection () const; -%End - - bool save (); - -%If ( KDE_3_5_0 - ) - void rebuildKXMLGUIClients (); -%End - - -signals: - void enableOk (bool); - -protected slots: - void slotToolbarSelected (const QString&); - void slotInactiveSelected (QListViewItem*); - void slotActiveSelected (QListViewItem*); - -%If ( KDE_3_3_0 - ) - void slotDropped (KListView*, QDropEvent*, QListViewItem*); -%End - - void slotInsertButton (); - void slotRemoveButton (); - void slotUpButton (); - void slotDownButton (); - -%If ( KDE_3_3_0 - ) - void slotChangeIcon (); -%End - - -protected: - void setupLayout (); - -%If ( KDE_3_3_0 - ) -//ig void insertActive (ToolbarItem*, QListViewItem*, bool = 0); -//ig void removeActive (ToolbarItem*); -//ig void moveActive (ToolbarItem*, QListViewItem*); -%End - - -%If ( KDE_3_2_0 - ) - void initNonKPart (KActionCollection*, const QString&, bool); - void initKPart (KXMLGUIFactory*); - void loadToolbarCombo (const QString& = QString ::null ); -%End - - void loadActionList (QDomElement&); - void updateLocal (QDomElement&); - -protected: -//igx virtual void virtual_hook (int, void*); - -protected: - -%If ( - KDE_3_2_0 ) - void loadToolbarCombo (); -%End - - -}; // class KEditToolbarWidget - diff --git a/python/pykde/sip/kdeui/kfontcombo.sip b/python/pykde/sip/kdeui/kfontcombo.sip deleted file mode 100644 index 24878972..00000000 --- a/python/pykde/sip/kdeui/kfontcombo.sip +++ /dev/null @@ -1,67 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdeui version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KFontCombo : KComboBox -{ -%TypeHeaderCode -#include -%End - - -public: - KFontCombo (QWidget* /TransferThis/, const char* = 0); - KFontCombo (const QStringList&, QWidget* /TransferThis/, const char* = 0); - void setFonts (const QStringList&); - void setCurrentFont (const QString&); - QString currentFont () const; - void setBold (bool); - bool bold () const; - void setItalic (bool); - bool italic () const; - void setUnderline (bool); - bool underline () const; - void setStrikeOut (bool); - bool strikeOut () const; - void setSize (int); - int size () const; - static bool displayFonts (); - virtual void setCurrentItem (int); - -protected slots: - -%If ( KDE_3_3_0 - ) - void slotModified (int); -%End - - -protected: - void updateFonts (); - -protected: -//igx virtual void virtual_hook (int, void*); - -}; // class KFontCombo - diff --git a/python/pykde/sip/kdeui/kfontdialog.sip b/python/pykde/sip/kdeui/kfontdialog.sip deleted file mode 100644 index 47fd4f76..00000000 --- a/python/pykde/sip/kdeui/kfontdialog.sip +++ /dev/null @@ -1,184 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdeui version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KFontChooser : QWidget -{ -%TypeHeaderCode -#include -#include -%End - - -public: - -%If ( KDE_3_1_0 - ) - - enum FontColumn - { - FamilyList, - StyleList, - SizeList - }; - -%End - - - enum FontDiff - { - FontDiffFamily, - FontDiffStyle, - FontDiffSize - }; - - KFontChooser (QWidget* /TransferThis/ = 0, const char* = 0, bool = 0, const QStringList& = QStringList (), bool = 1, int = 8, bool = 0, QButton::ToggleState = QButton ::Off ) [(QWidget* = 0, const char* = 0, bool = 0, const QStringList& = QStringList (), bool = 1, int = 8, bool = 0, QButton::ToggleState* = 0)]; -%MethodCode -//takes parent | (QWidget = 0) | name | (string = "") | onlyFixed | (bool = 0) | fontList | (QStringList = QStringList()) | makeFrame | (bool = 1) | visibleListSize | (int = 8) | diff | (bool = 0) | sizeIsRelativeState | (QButton::ToggleState = 0) -//returns - Py_BEGIN_ALLOW_THREADS - sipCpp = (sipKFontChooser *) new KFontChooser (a0, a1, a2, *a3, a4, a5, a6, &a7); - Py_END_ALLOW_THREADS -%End - - void enableColumn (int, bool); - void setFont (const QFont&, bool = 0); - int fontDiffFlags (); - QFont font () const; - void setColor (const QColor&); - QColor color () const; - void setBackgroundColor (const QColor&); - QColor backgroundColor () const; - void setSizeIsRelative (QButton::ToggleState); - QButton::ToggleState sizeIsRelative () const; - QString sampleText () const; - void setSampleText (const QString&); - -%If ( KDE_3_5_0 - ) - void setSampleBoxVisible (bool); -%End - - static QString getXLFD (const QFont&); - - enum FontListCriteria - { - FixedWidthFonts, - ScalableFonts, - SmoothScalableFonts - }; - - static void getFontList (QStringList&, bool); - virtual QSize sizeHint () const; - -signals: - void fontSelected (const QFont&); - -protected: -//igx virtual void virtual_hook (int, void*); - -public: - -%If ( - KDE_3_1_0 ) - - enum FontColumn - { - FamilyList, - StyleList, - SizeList, - CharsetList - }; - -%End - - -}; // class KFontChooser - - -class KFontDialog : KDialogBase -{ -%TypeHeaderCode -#include -%End - - -public: - KFontDialog (QWidget* /TransferThis/ = 0, const char* = 0, bool = 0, bool = 0, const QStringList& = QStringList (), bool = 1, bool = 0, QButton::ToggleState = QButton ::Off ) [(QWidget* = 0, const char* = 0, bool = 0, bool = 0, const QStringList& = QStringList (), bool = 1, bool = 0, QButton::ToggleState* = 0)]; -%MethodCode -//takes parent | (QWidget = 0) | name | (string = "") | onlyFixed | (bool = 0) | modal | (bool = 0) | fontlist | (QStringList = QStringList()) | makeFrame | (bool = 1) | diff | (bool = 0) | sizeIsRelativeState | (QButton::ToggleState = 0) - Py_BEGIN_ALLOW_THREADS - sipCpp = (sipKFontDialog *)new KFontDialog (a0, a1, a2, a3, *a4, a5, a6, &a7); - Py_END_ALLOW_THREADS -%End - - void setFont (const QFont&, bool = 0); - QFont font () const; - void setSizeIsRelative (QButton::ToggleState); - QButton::ToggleState sizeIsRelative () const; - static SIP_PYTUPLE getFont (QFont&, bool = 0, QWidget* /Transfer/ = 0, bool = 1, QButton::ToggleState /In/ = QButton ::Off ) [int (QFont&, bool = 0, QWidget* = 0, bool = 1, QButton::ToggleState* = 0)]; -%MethodCode -//returns (int) sizeIsRelative (QButton::ToggleState) -//takes theFont | (QFont) | onlyFixed | (bool = False) | parent | (QWidget = 0) | makeFrame | (bool = True) | sizeIsRelative | (QButton::ToggleState = QButton.Off) - int res; - Py_BEGIN_ALLOW_THREADS - res = KFontDialog::getFont (*a0, a1, a2, a3, &a4); - Py_END_ALLOW_THREADS - - sipRes = Py_BuildValue ("ii", res, (int)a4); -%End - - static SIP_PYTUPLE getFontDiff (QFont&, int&, bool = 0, QWidget* /Transfer/ = 0, bool = 1, QButton::ToggleState /In/ = QButton ::Off ) [int (QFont&, int&, bool = 0, QWidget* = 0, bool = 1, QButton::ToggleState* = 0)]; -%MethodCode -//returns (int) sizeIsRelative (QButton::ToggleState) -//takes theFont | (QFont) | diffFlags | (int) | onlyFixed | (bool = False) | parent | (QWidget = 0) | makeFrame | (bool = true) | sizeIsRelative | (QButton::ToggleState = QButton.Off) - int res; - Py_BEGIN_ALLOW_THREADS - res = KFontDialog::getFontDiff (*a0, a1, a2, a3, a4, &a5); - Py_END_ALLOW_THREADS - - sipRes = Py_BuildValue ("ii", res, (int)a5); -%End - - static SIP_PYTUPLE getFontAndText (QFont&, QString&, bool = 0, QWidget* /Transfer/ = 0, bool = 1, QButton::ToggleState /In/ = QButton ::Off ) [int (QFont&, QString&, bool = 0, QWidget* = 0, bool = 1, QButton::ToggleState* = 0)]; -%MethodCode -//returns (int) sizeIsRelative (QButton::ToggleState) -//takes theFont | (QFont) | theString | (QString) | onlyFixed | (bool = False) | parent | (QWidget = 0) | makeFrame | (bool = true) | sizeIsRelative | (QButton::ToggleState = QButton.Off) - int res; - Py_BEGIN_ALLOW_THREADS - res = KFontDialog::getFontAndText (*a0, *a1, a2, a3, a4, &a5); - Py_END_ALLOW_THREADS - - sipRes = Py_BuildValue ("ii", res, (int)a5); -%End - - -signals: - void fontSelected (const QFont&); - -protected: - -protected: -//igx virtual void virtual_hook (int, void*); - -}; // class KFontDialog - diff --git a/python/pykde/sip/kdeui/kfontrequester.sip b/python/pykde/sip/kdeui/kfontrequester.sip deleted file mode 100644 index 27916fca..00000000 --- a/python/pykde/sip/kdeui/kfontrequester.sip +++ /dev/null @@ -1,63 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdeui version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -%If ( KDE_3_2_0 - ) - -class KFontRequester : QWidget -{ -%TypeHeaderCode -#include -%End - - -public: - KFontRequester (QWidget* /TransferThis/ = 0, const char* = 0, bool = 0); - QFont font () const; - bool isFixedOnly () const; - QString sampleText () const; - QString title () const; - QLabel* label () const; - QPushButton* button () const; - virtual void setFont (const QFont&, bool = 0); - virtual void setSampleText (const QString&); - virtual void setTitle (const QString&); - -signals: - void fontSelected (const QFont&); - -protected: - void displaySampleText (); - void setToolTip (); - -protected slots: - virtual void buttonClicked (); - -protected: - -}; // class KFontRequester - -%End - diff --git a/python/pykde/sip/kdeui/kguiitem.sip b/python/pykde/sip/kdeui/kguiitem.sip deleted file mode 100644 index 91d25685..00000000 --- a/python/pykde/sip/kdeui/kguiitem.sip +++ /dev/null @@ -1,57 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdeui version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KGuiItem -{ -%TypeHeaderCode -#include -%End - - -public: - KGuiItem (); - KGuiItem (const QString&, const QString& = QString ::null , const QString& = QString ::null , const QString& = QString ::null ); - KGuiItem (const QString&, const QIconSet&, const QString& = QString ::null , const QString& = QString ::null ); - KGuiItem (const KGuiItem&); - QString text () const; - QString plainText () const; - QIconSet iconSet (KIcon::Group, int = 0, KInstance* = KGlobal ::instance ()) const; - QIconSet iconSet () const; - QString iconName () const; - QString toolTip () const; - QString whatsThis () const; - bool isEnabled () const; - bool hasIcon () const; - bool hasIconSet () const; - void setText (const QString&); - void setIconSet (const QIconSet&); - void setIconName (const QString&); - void setToolTip (const QString&); - void setWhatsThis (const QString&); - void setEnabled (bool); - -}; // class KGuiItem - diff --git a/python/pykde/sip/kdeui/khelpmenu.sip b/python/pykde/sip/kdeui/khelpmenu.sip deleted file mode 100644 index c8e047b6..00000000 --- a/python/pykde/sip/kdeui/khelpmenu.sip +++ /dev/null @@ -1,63 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdeui version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KHelpMenu : QObject -{ -%TypeHeaderCode -#include -%End - - -public: - - enum MenuId - { - menuHelpContents, - menuWhatsThis, - menuAboutApp, - menuAboutKDE, - menuReportBug - }; - - KHelpMenu (QWidget* /TransferThis/ = 0, const QString& = QString ::null , bool = 1); - KHelpMenu (QWidget* /TransferThis/, const KAboutData*, bool = 1, KActionCollection* = 0); - KPopupMenu* menu (); - -public slots: - void appHelpActivated (); - void contextHelpActivated (); - void aboutApplication (); - void aboutKDE (); - void reportBug (); - -signals: - void showAboutApplication (); - -protected: -//igx virtual void virtual_hook (int, void*); - -}; // class KHelpMenu - diff --git a/python/pykde/sip/kdeui/kiconview.sip b/python/pykde/sip/kdeui/kiconview.sip deleted file mode 100644 index eb4fa524..00000000 --- a/python/pykde/sip/kdeui/kiconview.sip +++ /dev/null @@ -1,147 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdeui version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KIconView : QIconView -{ -%TypeHeaderCode -#include -%End - - -public: - KIconView (QWidget* /TransferThis/ = 0, const char* = 0, WFlags = 0); - - enum Mode - { - Execute, - Select - }; - - void setMode (KIconView::Mode); - Mode mode () const; - virtual void setFont (const QFont&); - -%If ( KDE_3_3_0 - ) - void setIconTextHeight (int); - int iconTextHeight () const; - -%If ( KDE_3_4_0 - ) - virtual void takeItem (QIconViewItem*); -%End - -%End - - -signals: - void executed (QIconViewItem*); - void executed (QIconViewItem*, const QPoint&); - -%If ( KDE_3_3_0 - ) - void held (QIconViewItem*); -%End - - void doubleClicked (QIconViewItem*, const QPoint&); - -protected slots: - void slotOnItem (QIconViewItem*); - void slotOnViewport (); - void slotSettingsChanged (int); - void slotAutoSelect (); - -protected: - void emitExecute (QIconViewItem*, const QPoint&); - -%If ( KDE_3_5_0 - ) - void updateDragHoldItem (QDropEvent*); -%End - - virtual void focusOutEvent (QFocusEvent*); - virtual void leaveEvent (QEvent*); - virtual void contentsMousePressEvent (QMouseEvent*); - virtual void contentsMouseDoubleClickEvent (QMouseEvent*); - virtual void contentsMouseReleaseEvent (QMouseEvent*); - -%If ( KDE_3_3_0 - ) - virtual void contentsDragEnterEvent (QDragEnterEvent*); - -%If ( KDE_3_5_0 - ) - virtual void contentsDragLeaveEvent (QDragLeaveEvent*); -%End - - virtual void contentsDragMoveEvent (QDragMoveEvent*); - virtual void contentsDropEvent (QDropEvent*); - virtual void wheelEvent (QWheelEvent*); - -%If ( KDE_3_4_0 - ) - void cancelPendingHeldSignal (); -%End - -%End - - -protected: -//igx virtual void virtual_hook (int, void*); - -}; // class KIconView - - -class KIconViewItem : QIconViewItem -{ -%TypeHeaderCode -#include -%End - - -public: - KIconViewItem (QIconView* /TransferThis/); - KIconViewItem (QIconView* /TransferThis/, QIconViewItem*); - KIconViewItem (QIconView* /TransferThis/, const QString&); - KIconViewItem (QIconView* /TransferThis/, QIconViewItem*, const QString&); - KIconViewItem (QIconView* /TransferThis/, const QString&, const QPixmap&); - KIconViewItem (QIconView* /TransferThis/, QIconViewItem*, const QString&, const QPixmap&); - KIconViewItem (QIconView* /TransferThis/, const QString&, const QPicture&); - KIconViewItem (QIconView* /TransferThis/, QIconViewItem*, const QString&, const QPicture&); - -%If ( KDE_3_3_0 - ) - void setPixmapSize (const QSize&); - QSize pixmapSize () const; -%End - - -protected: - void init (); - virtual void calcRect (const QString& = QString ::null ); - virtual void paintItem (QPainter*, const QColorGroup&); - -%If ( KDE_3_2_0 - ) - KWordWrap* wordWrap (); - void paintPixmap (QPainter*, const QColorGroup&); - void paintText (QPainter*, const QColorGroup&); -%End - - -}; // class KIconViewItem - diff --git a/python/pykde/sip/kdeui/kiconviewsearchline.sip b/python/pykde/sip/kdeui/kiconviewsearchline.sip deleted file mode 100644 index e0753341..00000000 --- a/python/pykde/sip/kdeui/kiconviewsearchline.sip +++ /dev/null @@ -1,61 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdeui version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -%If ( KDE_3_4_0 - ) - -class KIconViewSearchLine : KLineEdit -{ -%TypeHeaderCode -#include -%End - - -public: - KIconViewSearchLine (QWidget* /TransferThis/ = 0, QIconView* = 0, const char* = 0); - KIconViewSearchLine (QWidget* /TransferThis/, const char*); - bool caseSensitive () const; - QIconView* iconView () const; - -public slots: - virtual void updateSearch (const QString& = QString ::null ); - void setCaseSensitive (bool); - void setIconView (QIconView*); - void clear (); - -protected: - virtual bool itemMatches (const QIconViewItem*, const QString&) const; - void init (QIconView* = 0); - void hideItem (QIconViewItem*); - void showItem (QIconViewItem*); - -protected slots: - void queueSearch (const QString&); - void activateSearch (); - -}; // class KIconViewSearchLine - -%End - diff --git a/python/pykde/sip/kdeui/kinputdialog.sip b/python/pykde/sip/kdeui/kinputdialog.sip deleted file mode 100644 index 5eafca61..00000000 --- a/python/pykde/sip/kdeui/kinputdialog.sip +++ /dev/null @@ -1,66 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdeui version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -%If ( KDE_3_2_0 - ) - -class KInputDialog : KDialogBase -{ -%TypeHeaderCode -#include -%End - - -private: - KInputDialog (const QString&, const QString&, const QString&, QWidget* /TransferThis/, const char*, QValidator*, const QString&); - -%If ( KDE_3_3_0 - ) - KInputDialog (const QString&, const QString&, const QString&, QWidget* /TransferThis/, const char*); -%End - - KInputDialog (const QString&, const QString&, int, int, int, int, int, QWidget* /TransferThis/, const char*); - KInputDialog (const QString&, const QString&, const QStringList&, int, bool, QWidget* /TransferThis/, const char*); - KInputDialog (const QString&, const QString&, const QStringList&, const QStringList&, bool, QWidget* /TransferThis/, const char*); - ~KInputDialog (); - -public: - static QString getText (const QString&, const QString&, const QString& = QString ::null , bool* = 0, QWidget* /Transfer/ = 0, const char* = 0, QValidator* = 0, const QString& = QString ::null ); - -%If ( KDE_3_3_0 - ) - static QString text (const QString&, const QString&, const QString& = QString ::null , bool* = 0, QWidget* /Transfer/ = 0, const char* = 0, QValidator* = 0, const QString& = QString ::null , const QString& = QString ::null ); - static QString getMultiLineText (const QString&, const QString&, const QString& = QString ::null , bool* = 0, QWidget* /Transfer/ = 0, const char* = 0); -%End - - static int getInteger (const QString&, const QString&, int = 0, int = -2147483647, int = 2147483647, int = 1, int = 10, bool* = 0, QWidget* /Transfer/ = 0, const char* = 0); -//ig static int getInteger (const QString&, const QString&, int = 0, int = -2147483647, int = 2147483647, int = 1, bool* = 0, QWidget* /Transfer/ = 0, const char* = 0); - static double getDouble (const QString&, const QString&, double = 0, double = -2147483647, double = 2147483647, double = 0.1, int = 1, bool* = 0, QWidget* /Transfer/ = 0, const char* = 0); -//ig static double getDouble (const QString&, const QString&, double = 0, double = -2147483647, double = 2147483647, int = 1, bool* = 0, QWidget* /Transfer/ = 0, const char* = 0); - static QString getItem (const QString&, const QString&, const QStringList&, int = 0, bool = 0, bool* = 0, QWidget* /Transfer/ = 0, const char* = 0); - static QStringList getItemList (const QString&, const QString&, const QStringList& = QStringList (), const QStringList& = QStringList (), bool = 0, bool* = 0, QWidget* /Transfer/ = 0, const char* = 0); - -}; // class KInputDialog - -%End - diff --git a/python/pykde/sip/kdeui/kjanuswidget.sip b/python/pykde/sip/kdeui/kjanuswidget.sip deleted file mode 100644 index 1759583c..00000000 --- a/python/pykde/sip/kdeui/kjanuswidget.sip +++ /dev/null @@ -1,110 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdeui version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KJanusWidget : QWidget -{ -%TypeHeaderCode -#include -%End - - -public: - - enum Face - { - TreeList, - Tabbed, - Plain, - Swallow, - IconList - }; - - -public: - KJanusWidget (QWidget* /TransferThis/ = 0, const char* = 0, int = Plain ); - virtual bool showPage (int); - virtual int activePageIndex () const; - virtual bool isValid () const; - virtual int face () const; - virtual QSize minimumSizeHint () const; - virtual QSize sizeHint () const; - virtual QFrame* plainPage (); - virtual QFrame* addPage (const QString&, const QString& = QString ::null , const QPixmap& = QPixmap ()); - virtual QFrame* addPage (const QStringList&, const QString& = QString ::null , const QPixmap& = QPixmap ()); - virtual QVBox* addVBoxPage (const QString&, const QString& = QString ::null , const QPixmap& = QPixmap ()); - virtual QVBox* addVBoxPage (const QStringList&, const QString& = QString ::null , const QPixmap& = QPixmap ()); - virtual QHBox* addHBoxPage (const QString&, const QString& = QString ::null , const QPixmap& = QPixmap ()); - virtual QHBox* addHBoxPage (const QStringList&, const QString& = QString ::null , const QPixmap& = QPixmap ()); - virtual QGrid* addGridPage (int, Qt::Orientation, const QString&, const QString& = QString ::null , const QPixmap& = QPixmap ()); - virtual QGrid* addGridPage (int, Qt::Orientation, const QStringList&, const QString& = QString ::null , const QPixmap& = QPixmap ()); - -%If ( KDE_3_1_0 - ) - void removePage (QWidget*); -%End - - virtual int pageIndex (QWidget*) const; - virtual bool setSwallowedWidget (QWidget*); - virtual void setTreeListAutoResize (bool); - virtual void setShowIconsInTreeList (bool); - virtual void setRootIsDecorated (bool); - -%If ( KDE_3_2_0 - ) - void unfoldTreeList (bool = 0); - void addWidgetBelowList (QWidget*); - void addButtonBelowList (const QString&, QObject*, const char*); - void addButtonBelowList (const KGuiItem&, QObject*, const char*); -%End - - virtual void setIconListAllVisible (bool); - virtual void setFolderIcon (const QStringList&, const QPixmap&); - -%If ( KDE_3_2_0 - ) - QString pageTitle (int) const; - QWidget* pageWidget (int) const; -%End - - -signals: - void aboutToShowPage (QWidget*); - -public slots: - virtual void setFocus (); - -protected: - virtual void showEvent (QShowEvent*); - virtual bool eventFilter (QObject*, QEvent*); - -protected: - bool showPage (QWidget*); - void addPageWidget (QFrame*, const QStringList&, const QString&, const QPixmap&); - void InsertTreeListItem (const QStringList&, const QPixmap&, QFrame*); - QWidget* FindParent (); - -protected: -//igx virtual void virtual_hook (int, void*); - -}; // class KJanusWidget - diff --git a/python/pykde/sip/kdeui/kkeybutton.sip b/python/pykde/sip/kdeui/kkeybutton.sip deleted file mode 100644 index 21deda91..00000000 --- a/python/pykde/sip/kdeui/kkeybutton.sip +++ /dev/null @@ -1,59 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdeui version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KKeyButton : QPushButton -{ -%TypeHeaderCode -#include -#include -%End - - -public: - KKeyButton (QWidget* /TransferThis/ = 0, const char* = 0); - void setShortcut (const KShortcut&); - -%If ( KDE_3_1_0 - ) - void setShortcut (const KShortcut&, bool); -%End - - const KShortcut& shortcut () const; - void setText (const QString&); - -signals: - void capturedShortcut (const KShortcut&); - -public slots: - void captureShortcut (); - -protected: - void drawButton (QPainter*); - -protected: -//igx virtual void virtual_hook (int, void*); - -}; // class KKeyButton - diff --git a/python/pykde/sip/kdeui/kkeydialog.sip b/python/pykde/sip/kdeui/kkeydialog.sip deleted file mode 100644 index 4b14cb78..00000000 --- a/python/pykde/sip/kdeui/kkeydialog.sip +++ /dev/null @@ -1,262 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdeui version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KKeyChooser : QWidget -{ -%TypeHeaderCode -#include -%End - - -public: - - enum ActionType - { - Application, - ApplicationGlobal, - Standard, - Global - }; - - KKeyChooser (QWidget* /TransferThis/, KKeyChooser::ActionType = Application , bool = 1); - KKeyChooser (KActionCollection*, QWidget* /TransferThis/, bool = 1); - KKeyChooser (KAccel*, QWidget* /TransferThis/, bool = 1); - KKeyChooser (KGlobalAccel*, QWidget* /TransferThis/); - KKeyChooser (KShortcutList*, QWidget* /TransferThis/, KKeyChooser::ActionType = Application , bool = 1); - bool insert (KActionCollection*); - -%If ( KDE_3_1_0 - ) - bool insert (KActionCollection*, const QString&); -%End - - void syncToConfig (const QString&, KConfigBase*, bool); - void commitChanges (); - void save (); - -%If ( KDE_3_2_0 - ) - static bool checkGlobalShortcutsConflict (const KShortcut&, bool, QWidget* /Transfer/); - static bool checkStandardShortcutsConflict (const KShortcut&, bool, QWidget* /Transfer/); -%End - - -signals: - void keyChange (); - -public slots: - void allDefault (); - void setPreferFourModifierKeys (bool); - -protected: - void initGUI (KKeyChooser::ActionType, bool); - bool insert (KAccel*); - bool insert (KGlobalAccel*); - bool insert (KShortcutList*); - -%If ( KDE_3_1_0 - ) - void buildListView (uint, const QString& = QString ::null ); -%End - - void readGlobalKeys (); - void updateButtons (); - void fontChange (const QFont&); - void setShortcut (const KShortcut&); - bool isKeyPresent (const KShortcut&, bool = 1); - -%If ( KDE_3_1_0 - ) -//ig bool isKeyPresentLocally (const KShortcut&, KKeyChooserItem*, const QString&); -%End - - void _warning (const KKeySequence&, QString, QString); - -protected slots: - void slotNoKey (); - void slotDefaultKey (); - void slotCustomKey (); - void slotListItemSelected (QListViewItem*); - void capturedShortcut (const KShortcut&); - -%If ( KDE_3_1_0 - ) - void slotSettingsChanged (int); - -%If ( KDE_3_1_2 - ) - void slotListItemDoubleClicked (QListViewItem*, const QPoint&, int); -%End - -%End - - -protected: - -public: - KKeyChooser (KAccel*, QWidget* /TransferThis/, bool, bool, bool = 0); - KKeyChooser (KGlobalAccel*, QWidget* /TransferThis/, bool, bool, bool = 0); - -public slots: - void listSync (); - -protected: -//igx virtual void virtual_hook (int, void*); - -protected: - -%If ( - KDE_3_1_0 ) - void buildListView (uint); -%End - - -}; // class KKeyChooser - - -class KKeyDialog : KDialogBase -{ -%TypeHeaderCode -#include -%End - - -public: - KKeyDialog (bool = 1, QWidget* /TransferThis/ = 0, const char* = 0); - bool insert (KActionCollection*); - -%If ( KDE_3_1_0 - ) - bool insert (KActionCollection*, const QString&); -%End - - bool configure (bool = 1); - void commitChanges (); - static int configure (KActionCollection*, QWidget* /Transfer/ = 0, bool = 1); - static int configure (KAccel*, QWidget* /Transfer/ = 0, bool = 1); - static int configure (KGlobalAccel*, QWidget* /Transfer/ = 0, bool = 1); - -%If ( KDE_3_1_0 - ) - static int configure (KActionCollection*, bool, QWidget* /Transfer/ = 0, bool = 1); - static int configure (KAccel*, bool, QWidget* /Transfer/ = 0, bool = 1); - static int configure (KGlobalAccel*, bool, QWidget* /Transfer/ = 0, bool = 1); -%End - - static int configureKeys (KAccel*, bool = 1, QWidget* /Transfer/ = 0); - static int configureKeys (KGlobalAccel*, bool = 1, QWidget* /Transfer/ = 0); - static int configureKeys (KActionCollection*, const QString&, bool = 1, QWidget* /Transfer/ = 0); - -%If ( KDE_3_1_0 - ) - -private: - KKeyDialog (KKeyChooser::ActionType, bool = 1, QWidget* /TransferThis/ = 0, const char* = 0); -%End - - -protected: -//igx virtual void virtual_hook (int, void*); - -}; // class KKeyDialog - -typedef KKeyChooser KKeyChooser; - - -%MappedType IntDict -//converts a Python dict of QString:int -{ -%TypeHeaderCode -#include -#include -#include -typedef QDict IntDict; -%End - -%ConvertFromTypeCode -// Convert to a Python dictionary - - if (!sipCpp) - return PyDict_New(); - - PyObject *dict; - - // Create the dictionary. - - if ((dict = PyDict_New()) == NULL) - return NULL; - - // Get it. - - QDict qdict = *sipCpp; - QDictIterator it (qdict); - - while (it.current ()) - { - PyObject *a0 = sipConvertFromInstance (&it.currentKey (), sipClass_QCString, sipTransferObj); - PyObject *a1 = PyInt_FromLong ((long) it.current ()); - - if ((a0 == NULL) || (a1 == NULL) || (PyDict_SetItem (dict, a0, a1) < 0)) - { - Py_XDECREF (a0); - Py_XDECREF (a1); - Py_DECREF (dict); - return NULL; - } - } - - return dict; -%End - - -%ConvertToTypeCode - // Convert a Python dictionary to a QDict on the heap. - - if (sipIsErr == NULL) - return PyDict_Check(sipPy); - - QDict* qdict = new QDict; - - PyObject *key, *value; - int pos = 0; - QString *a0; - int a1; - - while (PyDict_Next(sipPy, &pos, &key, &value)) - { - int iserr = 0; - - a0 = (QString *) sipForceConvertTo_QString (key, &iserr); - - if ((iserr) || (!PyInt_Check (value))) - { - *sipIsErr = 1; - delete qdict; - return 0; - } - - a1 = (int) PyInt_AS_LONG (value); - - qdict->insert (*a0, &a1); - } - - *sipCppPtr = qdict; - - return 1; -%End -}; - - diff --git a/python/pykde/sip/kdeui/klanguagebutton.sip b/python/pykde/sip/kdeui/klanguagebutton.sip deleted file mode 100644 index 5c546700..00000000 --- a/python/pykde/sip/kdeui/klanguagebutton.sip +++ /dev/null @@ -1,60 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdeui version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -%If ( KDE_3_3_0 - ) - -class KLanguageButton : QWidget -{ -%TypeHeaderCode -#include -%End - - -public: - KLanguageButton (QWidget* /TransferThis/ = 0, const char* = 0); - KLanguageButton (const QString&, QWidget* /TransferThis/ = 0, const char* = 0); - void insertItem (const QIconSet&, const QString&, const QString&, const QString& = QString ::null , int = -1); - void insertItem (const QString&, const QString&, const QString& = QString ::null , int = -1); - void insertSeparator (const QString& = QString ::null , int = -1); - void insertSubmenu (const QIconSet&, const QString&, const QString&, const QString& = QString ::null , int = -1); - void insertSubmenu (const QString&, const QString&, const QString& = QString ::null , int = -1); - void insertLanguage (const QString&, const QString&, const QString& = QString ::null , const QString& = QString ::null , int = -1); - int count () const; - void clear (); - void setText (const QString&); - QString current () const; - bool contains (const QString&) const; - void setCurrentItem (const QString&); - QString id (int) const; - -signals: - void activated (const QString&); - void highlighted (const QString&); - -}; // class KLanguageButton - -%End - diff --git a/python/pykde/sip/kdeui/kled.sip b/python/pykde/sip/kdeui/kled.sip deleted file mode 100644 index ce74c814..00000000 --- a/python/pykde/sip/kdeui/kled.sip +++ /dev/null @@ -1,97 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdeui version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KLed : QWidget -{ -%TypeHeaderCode -#include -%End - - -public: - - enum State - { - Off, - On - }; - - - enum Shape - { - Rectangular, - Circular - }; - - - enum Look - { - Flat, - Raised, - Sunken - }; - - KLed (QWidget* /TransferThis/ = 0, const char* = 0); -//ig KLed (const QColor&, QWidget* /TransferThis/ = 0, const char* = 0); - KLed (const QColor&, KLed::State, KLed::Look, KLed::Shape, QWidget* /TransferThis/ = 0, const char* = 0); - State state () const; - Shape shape () const; - const QColor color () const; - Look look () const; - int darkFactor () const; - void setState (KLed::State); - void setShape (KLed::Shape); - void toggleState (); - void setColor (const QColor&); - void setDarkFactor (int); - void setLook (KLed::Look); - virtual QSize sizeHint () const; - virtual QSize minimumSizeHint () const; - -public slots: - void toggle (); - void on (); - void off (); - -protected: - virtual void paintFlat (); - virtual void paintRound (); - virtual void paintSunken (); - virtual void paintRect (); - virtual void paintRectFrame (bool); - void paintEvent (QPaintEvent*); - -%If ( KDE_3_3_0 - ) - int ensureRoundLed (); - bool paintCachedPixmap (); -%End - - -protected: -//igx virtual void virtual_hook (int, void*); - -}; // class KLed - diff --git a/python/pykde/sip/kdeui/klineedit.sip b/python/pykde/sip/kdeui/klineedit.sip deleted file mode 100644 index aaab74f8..00000000 --- a/python/pykde/sip/kdeui/klineedit.sip +++ /dev/null @@ -1,146 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdeui version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KLineEdit : QLineEdit, KCompletionBase -{ -%TypeHeaderCode -#include -%End - - -public: - KLineEdit (const QString&, QWidget* /TransferThis/, const char* = 0); - KLineEdit (QWidget* /TransferThis/ = 0, const char* = 0); - void setURL (const KURL&); - void cursorAtEnd (); - virtual void setCompletionMode (KGlobalSettings::Completion); - virtual void setContextMenuEnabled (bool); - bool isContextMenuEnabled () const; - void setURLDropsEnabled (bool); - bool isURLDropsEnabled () const; - void setTrapReturnKey (bool); - bool trapReturnKey () const; - virtual bool eventFilter (QObject*, QEvent*); - KCompletionBox* completionBox (bool); - virtual void setCompletionObject (KCompletion*, bool = 1); - -%If ( KDE_3_1_0 - ) - virtual void copy () const; - -%If ( KDE_3_2_0 - ) - void setEnableSqueezedText (bool); - bool isSqueezedTextEnabled () const; - QString originalText () const; - -%If ( KDE_3_4_0 - ) - void setCompletionBox (KCompletionBox*); -%End - -%End - -%End - - -signals: - -%If ( KDE_3_1_0 - ) - void completionBoxActivated (const QString&); -%End - - void returnPressed (const QString&); - void completion (const QString&); - void substringCompletion (const QString&); - void textRotation (KCompletionBase::KeyBindingType); - void completionModeChanged (KGlobalSettings::Completion); - void aboutToShowContextMenu (QPopupMenu*); - -public slots: - virtual void setReadOnly (bool); - void rotateText (KCompletionBase::KeyBindingType); - virtual void setCompletedText (const QString&); - void setCompletedItems (const QStringList&); - -%If ( KDE_3_3_0 - ) - void setCompletedItems (const QStringList&, bool); -%End - - virtual void clear (); - -%If ( KDE_3_1_0 - ) - void setSqueezedText (const QString&); - -%If ( KDE_3_2_0 - ) - virtual void setText (const QString&); -%End - -%End - - -protected slots: - virtual void makeCompletion (const QString&); - void slotAboutToShow (); - void slotCancelled (); - -%If ( KDE_3_2_0 - ) - void userCancelled (const QString&); -%End - - -protected: - -%If ( KDE_3_1_0 - ) - virtual void resizeEvent (QResizeEvent*); -%End - - virtual void keyPressEvent (QKeyEvent*); - virtual void mousePressEvent (QMouseEvent*); - virtual void mouseDoubleClickEvent (QMouseEvent*); - -%If ( KDE_3_3_1 - ) - virtual void contextMenuEvent (QContextMenuEvent*); -%End - - virtual QPopupMenu* createPopupMenu (); - virtual void dropEvent (QDropEvent*); - virtual void setCompletedText (const QString&, bool); - -%If ( KDE_3_2_0 - ) - void setUserSelection (bool); -%End - - virtual void create (WId = 0, bool = 1, bool = 1); - -%If ( KDE_3_4_0 - ) - virtual void focusInEvent (QFocusEvent*); - bool autoSuggest () const; -%End - - -protected: -//igx virtual void virtual_hook (int, void*); - -}; // class KLineEdit - diff --git a/python/pykde/sip/kdeui/klineeditdlg.sip b/python/pykde/sip/kdeui/klineeditdlg.sip deleted file mode 100644 index f07b7315..00000000 --- a/python/pykde/sip/kdeui/klineeditdlg.sip +++ /dev/null @@ -1,53 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdeui version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KLineEditDlg : KDialogBase -{ -%TypeHeaderCode -#include -%End - - -public: - KLineEditDlg (const QString&, const QString&, QWidget* /TransferThis/); - QString text (); - KLineEdit* lineEdit () const; - static QString getText (const QString&, const QString&, bool*, QWidget* /Transfer/, QValidator* = 0); - static QString getText (const QString&, const QString&, const QString& = QString ::null , bool* = 0, QWidget* /Transfer/ = 0, QValidator* = 0); - -public slots: - void slotClear (); - -protected slots: - void slotTextChanged (const QString&); - -protected: - -protected: -//igx virtual void virtual_hook (int, void*); - -}; // class KLineEditDlg - diff --git a/python/pykde/sip/kdeui/klistbox.sip b/python/pykde/sip/kdeui/klistbox.sip deleted file mode 100644 index e8ea4a1b..00000000 --- a/python/pykde/sip/kdeui/klistbox.sip +++ /dev/null @@ -1,60 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdeui version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KListBox : QListBox -{ -%TypeHeaderCode -#include -%End - - -public: - KListBox (QWidget* /TransferThis/ = 0, const char* = 0, WFlags = 0); - -signals: - void executed (QListBoxItem*); - void executed (QListBoxItem*, const QPoint&); - void doubleClicked (QListBoxItem*, const QPoint&); - -protected slots: - void slotOnItem (QListBoxItem*); - void slotOnViewport (); - void slotSettingsChanged (int); - void slotAutoSelect (); - -protected: - void emitExecute (QListBoxItem*, const QPoint&); - virtual void keyPressEvent (QKeyEvent*); - virtual void focusOutEvent (QFocusEvent*); - virtual void leaveEvent (QEvent*); - virtual void contentsMousePressEvent (QMouseEvent*); - virtual void contentsMouseDoubleClickEvent (QMouseEvent*); - -protected: -//igx virtual void virtual_hook (int, void*); - -}; // class KListBox - diff --git a/python/pykde/sip/kdeui/klistview.sip b/python/pykde/sip/kdeui/klistview.sip deleted file mode 100644 index f2df583e..00000000 --- a/python/pykde/sip/kdeui/klistview.sip +++ /dev/null @@ -1,337 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdeui version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KListView : QListView -{ -%TypeHeaderCode -#include -%End - - -public: - - enum SelectionModeExt - { - Single, - Multi, - Extended, - NoSelection, - FileManager - }; - - KListView (QWidget* /TransferThis/ = 0, const char* = 0); - virtual void setAcceptDrops (bool); - virtual bool isExecuteArea (const QPoint&); - bool isExecuteArea (int); - QPtrList selectedItems () const; - -%If ( KDE_3_4_0 - ) - QPtrList selectedItems (bool) const; -%End - - void moveItem (QListViewItem*, QListViewItem* /Transfer/, QListViewItem*); - QListViewItem* lastItem () const; - QListViewItem* lastChild () const; - -%If ( KDE_3_1_0 - ) - KLineEdit* renameLineEdit () const; -%End - - bool itemsMovable () const; - bool itemsRenameable () const; - bool dragEnabled () const; - bool autoOpen () const; - bool isRenameable (int) const; - bool dropVisualizer () const; - int tooltipColumn () const; - bool createChildren () const; - bool dropHighlighter () const; - int dropVisualizerWidth () const; - SelectionModeExt selectionModeExt () const; - int itemIndex (const QListViewItem*) const; - QListViewItem* itemAtIndex (int); - void setFullWidth (); - void setFullWidth (bool); - bool fullWidth () const; - -%If ( KDE_3_0_1 - ) - virtual int addColumn (const QString&, int = -1); - virtual int addColumn (const QIconSet&, const QString&, int = -1); - virtual void removeColumn (int); -%End - - void setAlternateBackground (const QColor&); - const QColor& alternateBackground () const; - void saveLayout (KConfig*, const QString&) const; - void restoreLayout (KConfig*, const QString&); - virtual void setSorting (int, bool = 1); - int columnSorted () const; - bool ascendingSort () const; - -%If ( KDE_3_2_0 - ) - virtual void takeItem (QListViewItem*); - -%If ( KDE_3_4_0 - ) - void setShadeSortColumn (bool); - bool shadeSortColumn () const; -%End - -%End - - -signals: - void executed (QListViewItem*); - void executed (QListViewItem*, const QPoint&, int); - void dropped (QDropEvent*, QListViewItem*); - void dropped (KListView*, QDropEvent*, QListViewItem*); - void dropped (KListView*, QDropEvent*, QListViewItem* /Transfer/, QListViewItem*); - void dropped (QDropEvent*, QListViewItem* /Transfer/, QListViewItem*); - void moved (); - void aboutToMove (); - void moved (QListViewItem*, QListViewItem*, QListViewItem*); - void moved (QPtrList&, QPtrList&, QPtrList&); - void itemRenamed (QListViewItem*, const QString&, int); - void itemRenamed (QListViewItem*); - void menuShortCutPressed (KListView*, QListViewItem*); - void contextMenu (KListView*, QListViewItem*, const QPoint&); - -%If ( KDE_3_3_0 - ) - void itemAdded (QListViewItem*); - void itemRemoved (QListViewItem*); -%End - - -public slots: - virtual void rename (QListViewItem*, int); - void setRenameable (int, bool = 1); - virtual void setItemsMovable (bool); - virtual void setItemsRenameable (bool); - virtual void setDragEnabled (bool); - virtual void setAutoOpen (bool); - virtual void setDropVisualizer (bool); - void setDropVisualizerWidth (int); - virtual void setTooltipColumn (int); - virtual void setDropHighlighter (bool); - virtual void setCreateChildren (bool); - void setSelectionModeExt (KListView::SelectionModeExt); - -%If ( KDE_3_1_0 - ) - void setTabOrderedRenaming (bool); - bool tabOrderedRenaming () const; -%End - - -protected: - bool below (const QRect&, const QPoint&); - bool below (QListViewItem*, const QPoint&); - virtual bool event (QEvent*); - void emitExecute (QListViewItem*, const QPoint&, int); - virtual void focusInEvent (QFocusEvent*); - virtual void focusOutEvent (QFocusEvent*); - virtual void leaveEvent (QEvent*); - virtual QString tooltip (QListViewItem*, int) const; - virtual bool showTooltip (QListViewItem*, const QPoint&, int) const; - virtual void contentsDragMoveEvent (QDragMoveEvent*); - virtual void contentsMousePressEvent (QMouseEvent*); - virtual void contentsMouseMoveEvent (QMouseEvent*); - virtual void contentsMouseDoubleClickEvent (QMouseEvent*); - virtual void contentsDragLeaveEvent (QDragLeaveEvent*); - virtual void contentsMouseReleaseEvent (QMouseEvent*); - virtual void contentsDropEvent (QDropEvent*); - virtual void contentsDragEnterEvent (QDragEnterEvent*); -//ig virtual QDragObject* dragObject () const; - virtual bool acceptDrag (QDropEvent*) const; - virtual QRect drawDropVisualizer (QPainter*, QListViewItem* /Transfer/, QListViewItem*); - virtual QRect drawItemHighlighter (QPainter*, QListViewItem*); - virtual void startDrag (); - virtual void keyPressEvent (QKeyEvent*); - virtual void viewportPaintEvent (QPaintEvent*); - void activateAutomaticSelection (); - void deactivateAutomaticSelection (); - bool automaticSelection () const; - virtual void viewportResizeEvent (QResizeEvent*); - -%If ( KDE_3_2_0 - ) - void disableAutoSelection (); - void resetAutoSelection (); - -%If ( KDE_3_3_0 - ) - void doubleClicked (QListViewItem*, const QPoint&, int); -%End - -%End - - -protected slots: - void slotSettingsChanged (int); - void slotMouseButtonClicked (int, QListViewItem*, const QPoint&, int); - void doneEditing (QListViewItem*, int); - void cleanDropVisualizer (); - void cleanItemHighlighter (); - void emitContextMenu (QListViewItem*, const QPoint&, int); - void emitContextMenu (KListView*, QListViewItem*); - void slotOnItem (QListViewItem*); - void slotOnViewport (); - void slotAutoSelect (); - -%If ( KDE_3_2_0 - ) - void slotDragExpand (); -%End - - void slotHeaderChanged (); - -protected: - virtual void movableDropEvent (QListViewItem*, QListViewItem*); - virtual void findDrop (const QPoint&, QListViewItem*&, QListViewItem*&); - void fileManagerKeyPressEvent (QKeyEvent*); - int depthToPixels (int); - -protected: -//igx virtual void virtual_hook (int, void*); - -signals: - -%If ( - KDE_3_3_0 ) - void doubleClicked (QListViewItem*, const QPoint&, int); -%End - - -protected: -//force - virtual QDragObject* dragObject (); -//end - -}; // class KListView - - -class KListViewItem : QListViewItem -{ -%TypeHeaderCode -#include -%End - - -public: - KListViewItem (QListView* /TransferThis/); - KListViewItem (QListViewItem* /TransferThis/); - KListViewItem (QListView* /TransferThis/, QListViewItem*); - KListViewItem (QListViewItem* /TransferThis/, QListViewItem*); - KListViewItem (QListView* /TransferThis/, QString, QString = QString ::null , QString = QString ::null , QString = QString ::null , QString = QString ::null , QString = QString ::null , QString = QString ::null , QString = QString ::null ); - KListViewItem (QListViewItem* /TransferThis/, QString, QString = QString ::null , QString = QString ::null , QString = QString ::null , QString = QString ::null , QString = QString ::null , QString = QString ::null , QString = QString ::null ); - KListViewItem (QListView* /TransferThis/, QListViewItem*, QString, QString = QString ::null , QString = QString ::null , QString = QString ::null , QString = QString ::null , QString = QString ::null , QString = QString ::null , QString = QString ::null ); - KListViewItem (QListViewItem* /TransferThis/, QListViewItem*, QString, QString = QString ::null , QString = QString ::null , QString = QString ::null , QString = QString ::null , QString = QString ::null , QString = QString ::null , QString = QString ::null ); - -%If ( KDE_3_3_0 - ) - virtual void insertItem (QListViewItem*); - virtual void takeItem (QListViewItem*); -%End - - bool isAlternate (); - const QColor& backgroundColor (); - -%If ( KDE_3_4_0 - ) - QColor backgroundColor (int); -%End - - virtual void paintCell (QPainter*, const QColorGroup&, int, int, int); - -}; // class KListViewItem - - - -%MappedType QPtrList -//converts a Python list of QListViewItem -{ -%TypeHeaderCode -#include -#include -#include -typedef QPtrList ListViewItems; -%End - -%ConvertFromTypeCode - if (!sipCpp) - return PyList_New (0); - - PyObject *pylist; - - // Create the list - - if ((pylist = PyList_New(0)) == NULL) - return NULL; - - // Get it. - - QPtrList *cpplist = (QPtrList *)sipCpp; - QListViewItem *cpp; - PyObject *inst; - - // the loop depends on the type of iterator the template makes available - for(cpp = cpplist->first (); cpp != 0; cpp = cpplist->next () ) - { - if (((inst = sipConvertFromInstance (cpp, sipClass_QListViewItem, sipTransferObj)) == NULL) - || PyList_Append (pylist, inst) < 0) - { - Py_DECREF (pylist); - return NULL; - } - } - - return pylist; -%End - -%ConvertToTypeCode - if (sipIsErr == NULL) - return PyList_Check(sipPy); - - QPtrList *cpplist = new QPtrList; - - PyObject *elem; - QListViewItem *cpp; - int iserr = 0; - - for (int i = 0; i < PyList_Size (sipPy); i++) - { - elem = PyList_GET_ITEM (sipPy, i); - cpp = (QListViewItem *)sipForceConvertTo_QListViewItem (elem, &iserr); - - if (iserr) - { - *sipIsErr = 1; - delete cpplist; - return 0; - } - - cpplist->append (cpp); - } - - *sipCppPtr = cpplist; - - return 1; -%End -}; - - diff --git a/python/pykde/sip/kdeui/klistviewlineedit.sip b/python/pykde/sip/kdeui/klistviewlineedit.sip deleted file mode 100644 index 6ac62ad6..00000000 --- a/python/pykde/sip/kdeui/klistviewlineedit.sip +++ /dev/null @@ -1,51 +0,0 @@ -// -// Copyright 2003 Jim Bublitz -// Earlier copyrights 1998 - 2002 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdeui version KDE_3_1_1 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KListViewLineEdit : KLineEdit -{ -%TypeHeaderCode -#include -%End - - -public: - KListViewLineEdit (KListView*/TransferThis/); - -signals: - void done (QListViewItem*, int); - -public slots: - void terminate (); - void load (QListViewItem*, int); - -protected: - virtual void focusOutEvent (QFocusEvent*); - virtual void keyPressEvent (QKeyEvent*); - virtual void paintEvent (QPaintEvent*); - void terminate (bool); - -}; // class KListViewLineEdit - diff --git a/python/pykde/sip/kdeui/klistviewsearchline.sip b/python/pykde/sip/kdeui/klistviewsearchline.sip deleted file mode 100644 index 9f5da7dd..00000000 --- a/python/pykde/sip/kdeui/klistviewsearchline.sip +++ /dev/null @@ -1,84 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdeui version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -%If ( KDE_3_3_0 - ) - -class KListViewSearchLine : KLineEdit -{ -%TypeHeaderCode -#include -%End - - -public: - KListViewSearchLine (QWidget* /TransferThis/ = 0, KListView* = 0, const char* = 0); - KListViewSearchLine (QWidget* /TransferThis/, const char*); - bool caseSensitive () const; - QValueList searchColumns () const; - bool keepParentsVisible () const; - KListView* listView () const; - -public slots: - virtual void updateSearch (const QString& = QString ::null ); - void setCaseSensitive (bool); - void setKeepParentsVisible (bool); - void setSearchColumns (const QValueList&); - void setListView (KListView*); - -protected: - virtual bool itemMatches (const QListViewItem*, const QString&) const; - virtual QPopupMenu* createPopupMenu (); - -protected slots: - void queueSearch (const QString&); - void activateSearch (); - -}; // class KListViewSearchLine - -%End - - -%If ( KDE_3_4_0 - ) - -class KListViewSearchLineWidget : QHBox -{ -%TypeHeaderCode -#include -%End - - -public: - KListViewSearchLineWidget (KListView* = 0, QWidget* /TransferThis/ = 0, const char* = 0); - virtual KListViewSearchLine* createSearchLine (KListView*); - KListViewSearchLine* searchLine () const; - -protected slots: - virtual void createWidgets (); - -}; // class KListViewSearchLineWidget - -%End - diff --git a/python/pykde/sip/kdeui/kmainwindow.sip b/python/pykde/sip/kdeui/kmainwindow.sip deleted file mode 100644 index f457fe76..00000000 --- a/python/pykde/sip/kdeui/kmainwindow.sip +++ /dev/null @@ -1,274 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdeui version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KMainWindow : QMainWindow, KXMLGUIBuilder, KXMLGUIClient -{ -%TypeHeaderCode -#include -%End - - -public: - KMainWindow (QWidget* /TransferThis/ = 0, const char* = 0, WFlags = WType_TopLevel |WDestructiveClose ); - -%If ( KDE_3_2_0 - ) - - enum CreationFlags - { - NoDCOPObject - }; - - KMainWindow (int, QWidget* /TransferThis/ = 0, const char* = 0, WFlags = WType_TopLevel |WDestructiveClose ); -%End - - KPopupMenu* helpMenu (const QString& = QString ::null , bool = 1); - KPopupMenu* customHelpMenu (bool = 1); - static bool canBeRestored (int); - static const QString classNameOfToplevel (int); - -%If ( KDE_3_2_0 - ) - virtual void show (); - virtual void hide (); -%End - - bool restore (int, bool = 1); - virtual KXMLGUIFactory* guiFactory (); - void createGUI (const QString& = QString ::null , bool = 1); - void setHelpMenuEnabled (bool = 1); - bool isHelpMenuEnabled (); - -%If ( KDE_3_1_0 - ) - bool hasMenuBar (); -%End - - KMenuBar* menuBar (); - KStatusBar* statusBar (); - QPtrList* memberList; - -%If ( KDE_3_4_0 - ) - static QPtrList* getMemberList (); -%End - - KToolBar* toolBar (const char* = 0); -//ig QPtrListIterator toolBarIterator (); - KAccel* accel (); - void setFrameBorderWidth (int); - void setAutoSaveSettings (const QString& = QString ::fromLatin1 ("MainWindow" ), bool = 1); - void resetAutoSaveSettings (); - -%If ( KDE_3_1_0 - ) - bool autoSaveSettings () const; - QString autoSaveGroup () const; - -%If ( KDE_3_3_0 - ) - void applyMainWindowSettings (KConfig*, const QString&, bool); -%End - -%End - - void applyMainWindowSettings (KConfig*, const QString& = QString ::null ); - void saveMainWindowSettings (KConfig*, const QString& = QString ::null ); - -%If ( KDE_3_1_0 - ) - void setStandardToolBarMenuEnabled (bool); - bool isStandardToolBarMenuEnabled () const; - -%If ( KDE_3_2_0 - ) - void createStandardStatusBarAction (); - -%If ( KDE_3_3_0 - ) - - enum StandardWindowOptions - { - ToolBar, - Keys, - StatusBar, - Save, - Create - }; - - void setupGUI (int = ToolBar |Keys |StatusBar |Save |Create , const QString& = QString ::null ); - -%If ( KDE_3_5_0 - ) - void setupGUI (QSize, int = ToolBar |Keys |StatusBar |Save |Create , const QString& = QString ::null ); -%End - -%End - -%End - - KAction* toolBarMenuAction (); - -%If ( KDE_3_3_1 - ) - void setupToolbarMenuActions (); -%End - - virtual void finalizeGUI (KXMLGUIClient*); -%End - - void finalizeGUI (bool); - bool initialGeometrySet () const; - -%If ( KDE_3_2_0 - ) - void ignoreInitialGeometry (); -%End - - QSize sizeForCentralWidgetSize (QSize); - -%If ( KDE_3_3_2 - ) - virtual void setIcon (const QPixmap&); -%End - - -public slots: - -%If ( KDE_3_3_0 - ) - int configureToolbars (); -%End - - virtual void setCaption (const QString&); - virtual void setCaption (const QString&, bool); - virtual void setPlainCaption (const QString&); - void appHelpActivated (); - virtual void slotStateChanged (const QString&); - -%If ( KDE_3_1_0 - ) - void slotStateChanged (const QString&, KXMLGUIClient::ReverseStateChange); -%End - - void setSettingsDirty (); - -protected: - void paintEvent (QPaintEvent*); - void childEvent (QChildEvent*); - void resizeEvent (QResizeEvent*); - virtual void closeEvent (QCloseEvent*); - virtual bool queryExit (); - virtual bool queryClose (); - virtual void saveProperties (KConfig*); - virtual void readProperties (KConfig*); - virtual void saveGlobalProperties (KConfig*); - virtual void readGlobalProperties (KConfig*); - void savePropertiesInternal (KConfig*, int); - bool readPropertiesInternal (KConfig*, int); - bool settingsDirty () const; - QString settingsGroup () const; - void saveWindowSize (KConfig*) const; - void restoreWindowSize (KConfig*); - void parseGeometry (bool); - -protected slots: - -%If ( KDE_3_3_0 - ) - void saveNewToolbarConfig (); -%End - - virtual void showAboutApplication (); - -%If ( KDE_3_2_0 - ) - void saveAutoSaveSettings (); -%End - - -protected: -//igx virtual void virtual_hook (int, void*); - -}; // class KMainWindow - - - -%MappedType QPtrList -//converts a Python list of KMainWindow -{ -%TypeHeaderCode -#include -#include -#include -%End - -%ConvertFromTypeCode - if (!sipCpp) - return PyList_New (0); - - PyObject *pylist; - - // Create the list - - if ((pylist = PyList_New(0)) == NULL) - return NULL; - - // Get it. - - QPtrList *cpplist = (QPtrList *)sipCpp; - KMainWindow *cpp; - PyObject *inst; - - // the loop depends on the type of iterator the tmeplate makes available - for(cpp = cpplist->first (); cpp != 0; cpp = cpplist->next () ) - { - if (((inst = sipConvertFromInstance (cpp, sipClass_KMainWindow, sipTransferObj)) == NULL) - || PyList_Append (pylist, inst) < 0) - { - Py_DECREF (pylist); - return NULL; - } - } - - return pylist; -%End - -%ConvertToTypeCode - if (sipIsErr == NULL) - return PyList_Check(sipPy); - - QPtrList *cpplist = new QPtrList; - - PyObject *elem; - KMainWindow *cpp; - int iserr = 0; - - for (int i = 0; i < PyList_Size (sipPy); i++) - { - elem = PyList_GET_ITEM (sipPy, i); - cpp = (KMainWindow *)sipForceConvertTo_KMainWindow (elem, &iserr); - - if (iserr) - { - *sipIsErr = 1; - delete cpplist; - return 0; - } - - cpplist->append (cpp); - } - - *sipCppPtr = cpplist; - - return 1; -%End -}; - - diff --git a/python/pykde/sip/kdeui/kmainwindowiface.sip b/python/pykde/sip/kdeui/kmainwindowiface.sip deleted file mode 100644 index fd9326b8..00000000 --- a/python/pykde/sip/kdeui/kmainwindowiface.sip +++ /dev/null @@ -1,71 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdeui version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KMainWindowInterface : DCOPObject -{ -%TypeHeaderCode -#include -%End - - -public: - -%If ( KDE_3_1_4 - ) - virtual bool process (const QCString&, const QByteArray&, QCString&, QByteArray&); - QCStringList functions (); - QCStringList interfaces (); -%End - - -public: - KMainWindowInterface (KMainWindow*); - QCStringList functionsDynamic (); - bool processDynamic (const QCString&, const QByteArray&, QCString&, QByteArray&); - -public: - QCStringList actions (); - bool activateAction (QCString); - bool disableAction (QCString); - bool enableAction (QCString); - bool actionIsEnabled (QCString); - QCString actionToolTip (QCString); - DCOPRef action (const QCString&); - QMap actionMap (); - int getWinID (); - void grabWindowToClipBoard (); - void hide (); - void maximize (); - void minimize (); - void resize (int, int); - void move (int, int); - void setGeometry (int, int, int, int); - void raise () /PyName=raise_/; - void lower (); - void restore (); - void show (); - -}; // class KMainWindowInterface - diff --git a/python/pykde/sip/kdeui/kmenubar.sip b/python/pykde/sip/kdeui/kmenubar.sip deleted file mode 100644 index b455a748..00000000 --- a/python/pykde/sip/kdeui/kmenubar.sip +++ /dev/null @@ -1,91 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdeui version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KMenuBar : QMenuBar -{ -%TypeHeaderCode -#include -%End - - -public: - KMenuBar (QWidget* /TransferThis/ = 0, const char* = 0); - void setTopLevelMenu (bool = 1); - bool isTopLevelMenu () const; - -%If ( KDE_3_1_0 - ) - virtual void setGeometry (const QRect&); -%End - - virtual void setGeometry (int, int, int, int); - -%If ( KDE_3_2_0 - ) - virtual void resize (int, int); - void resize (const QSize&); -%End - - virtual void show (); - -%If ( KDE_3_2_0 - ) - virtual void setFrameStyle (int); - virtual void setLineWidth (int); - virtual void setMargin (int); - -%If ( KDE_3_4_0 - ) - virtual QSize sizeHint () const; -%End - -%End - - -protected slots: - void slotReadConfig (); - -protected: - -%If ( KDE_3_1_0 - ) - virtual void showEvent (QShowEvent*); - virtual void resizeEvent (QResizeEvent*); - virtual bool eventFilter (QObject*, QEvent*); -//ig virtual bool x11Event (XEvent*); - -%If ( KDE_3_2_3 - ) - virtual void closeEvent (QCloseEvent*); - -%If ( KDE_3_3_0 - ) - virtual void drawContents (QPainter*); -%End - -%End - -%End - - -protected: -//igx virtual void virtual_hook (int, void*); - -}; // class KMenuBar - diff --git a/python/pykde/sip/kdeui/kmessagebox.sip b/python/pykde/sip/kdeui/kmessagebox.sip deleted file mode 100644 index 597137bf..00000000 --- a/python/pykde/sip/kdeui/kmessagebox.sip +++ /dev/null @@ -1,260 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdeui version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KMessageBox -{ -%TypeHeaderCode -#include -%End - - -public: - - enum ButtonCode - { - Ok, - Cancel, - Yes, - No, - Continue - }; - - - enum DialogType - { - QuestionYesNo, - WarningYesNo, - WarningContinueCancel, - WarningYesNoCancel, - Information, - Sorry, - Error, - QuestionYesNoCancel - }; - - -%If ( KDE_3_4_0 - ) - - enum OptionsType - { - Notify, - AllowLink, - Dangerous, - PlainCaption, - NoExec - }; - -%End - - static int questionYesNo (QWidget* /Transfer/, const QString&, const QString& = QString ::null , const KGuiItem& = KStdGuiItem ::yes (), const KGuiItem& = KStdGuiItem ::no (), const QString& = QString ::null , int = Notify ); - -%If ( KDE_3_2_0 - ) - static int questionYesNoWId (WId, const QString&, const QString& = QString ::null , const KGuiItem& = KStdGuiItem ::yes (), const KGuiItem& = KStdGuiItem ::no (), const QString& = QString ::null , int = Notify ); -%End - - static int questionYesNoCancel (QWidget* /Transfer/, const QString&, const QString& = QString ::null , const KGuiItem& = KStdGuiItem ::yes (), const KGuiItem& = KStdGuiItem ::no (), const QString& = QString ::null , int = Notify ); - -%If ( KDE_3_2_0 - ) - static int questionYesNoCancelWId (WId, const QString&, const QString& = QString ::null , const KGuiItem& = KStdGuiItem ::yes (), const KGuiItem& = KStdGuiItem ::no (), const QString& = QString ::null , int = Notify ); -%End - - static int questionYesNoList (QWidget* /Transfer/, const QString&, const QStringList&, const QString& = QString ::null , const KGuiItem& = KStdGuiItem ::yes (), const KGuiItem& = KStdGuiItem ::no (), const QString& = QString ::null , int = Notify ); - -%If ( KDE_3_2_0 - ) - static int questionYesNoListWId (WId, const QString&, const QStringList&, const QString& = QString ::null , const KGuiItem& = KStdGuiItem ::yes (), const KGuiItem& = KStdGuiItem ::no (), const QString& = QString ::null , int = Notify ); -%End - - static int warningYesNo (QWidget* /Transfer/, const QString&, const QString& = QString ::null , const KGuiItem& = KStdGuiItem ::yes (), const KGuiItem& = KStdGuiItem ::no (), const QString& = QString ::null , int = Notify ); - -%If ( KDE_3_2_0 - ) - static int warningYesNoWId (WId, const QString&, const QString& = QString ::null , const KGuiItem& = KStdGuiItem ::yes (), const KGuiItem& = KStdGuiItem ::no (), const QString& = QString ::null , int = Notify |Dangerous ); - static int warningYesNoList (QWidget* /Transfer/, const QString&, const QStringList&, const QString& = QString ::null , const KGuiItem& = KStdGuiItem ::yes (), const KGuiItem& = KStdGuiItem ::no (), const QString& = QString ::null , int = Notify |Dangerous ); - static int warningYesNoListWId (WId, const QString&, const QStringList&, const QString& = QString ::null , const KGuiItem& = KStdGuiItem ::yes (), const KGuiItem& = KStdGuiItem ::no (), const QString& = QString ::null , int = Notify |Dangerous ); -%End - - static int warningContinueCancel (QWidget* /Transfer/, const QString&, const QString& = QString ::null , const KGuiItem& = KStdGuiItem ::cont (), const QString& = QString ::null , int = Notify ); - -%If ( KDE_3_2_0 - ) - static int warningContinueCancelWId (WId, const QString&, const QString& = QString ::null , const KGuiItem& = KStdGuiItem ::cont (), const QString& = QString ::null , int = Notify ); -%End - - -%If ( KDE_3_1_0 - ) - static int warningContinueCancelList (QWidget* /Transfer/, const QString&, const QStringList&, const QString& = QString ::null , const KGuiItem& = KStdGuiItem ::cont (), const QString& = QString ::null , int = Notify ); - -%If ( KDE_3_2_0 - ) - static int warningContinueCancelListWId (WId, const QString&, const QStringList&, const QString& = QString ::null , const KGuiItem& = KStdGuiItem ::cont (), const QString& = QString ::null , int = Notify ); -%End - -%End - - static int warningYesNoCancel (QWidget* /Transfer/, const QString&, const QString& = QString ::null , const KGuiItem& = KStdGuiItem ::yes (), const KGuiItem& = KStdGuiItem ::no (), const QString& = QString ::null , int = Notify ); - -%If ( KDE_3_2_0 - ) - static int warningYesNoCancelWId (WId, const QString&, const QString& = QString ::null , const KGuiItem& = KStdGuiItem ::yes (), const KGuiItem& = KStdGuiItem ::no (), const QString& = QString ::null , int = Notify ); - static int warningYesNoCancelList (QWidget* /Transfer/, const QString&, const QStringList&, const QString& = QString ::null , const KGuiItem& = KStdGuiItem ::yes (), const KGuiItem& = KStdGuiItem ::no (), const QString& = QString ::null , int = Notify ); - static int warningYesNoCancelListWId (WId, const QString&, const QStringList&, const QString& = QString ::null , const KGuiItem& = KStdGuiItem ::yes (), const KGuiItem& = KStdGuiItem ::no (), const QString& = QString ::null , int = Notify ); -%End - - static void error (QWidget* /Transfer/, const QString&, const QString& = QString ::null , bool = 1); - -%If ( KDE_3_2_0 - ) - static void errorWId (WId, const QString&, const QString& = QString ::null , int = Notify ); - -%If ( KDE_3_4_0 - ) - static void errorList (QWidget* /Transfer/, const QString&, const QStringList&, const QString& = QString ::null , int = Notify ); - static void errorListWId (WId, const QString&, const QStringList&, const QString& = QString ::null , int = Notify ); -%End - -%End - - static void detailedError (QWidget* /Transfer/, const QString&, const QString&, const QString& = QString ::null , bool = 1); - -%If ( KDE_3_2_0 - ) - static void detailedErrorWId (WId, const QString&, const QString&, const QString& = QString ::null , int = Notify ); -%End - - static void queuedDetailedError (QWidget* /Transfer/, const QString&, const QString&, const QString& = QString ::null ); - -%If ( KDE_3_2_0 - ) - static void queuedDetailedErrorWId (WId, const QString&, const QString&, const QString& = QString ::null ); -%End - - static void sorry (QWidget* /Transfer/, const QString&, const QString& = QString ::null , bool = 1); - -%If ( KDE_3_2_0 - ) - static void sorryWId (WId, const QString&, const QString& = QString ::null , int = Notify ); -%End - - static void detailedSorry (QWidget* /Transfer/, const QString&, const QString&, const QString& = QString ::null , bool = 1); - -%If ( KDE_3_2_0 - ) - static void detailedSorryWId (WId, const QString&, const QString&, const QString& = QString ::null , int = Notify ); -%End - - static void information (QWidget* /Transfer/, const QString&, const QString& = QString ::null , const QString& = QString ::null , bool = 1); - -%If ( KDE_3_2_0 - ) - static void informationWId (WId, const QString&, const QString& = QString ::null , const QString& = QString ::null , int = Notify ); -%End - - -%If ( KDE_3_1_0 - ) - static void informationList (QWidget* /Transfer/, const QString&, const QStringList&, const QString& = QString ::null , const QString& = QString ::null , int = Notify ); - -%If ( KDE_3_2_0 - ) - static void informationListWId (WId, const QString&, const QStringList&, const QString& = QString ::null , const QString& = QString ::null , int = Notify ); -%End - -%End - - static void enableAllMessages (); - -%If ( KDE_3_2_0 - ) - static void enableMessage (const QString&); -%End - - static void about (QWidget* /Transfer/, const QString&, const QString& = QString ::null , bool = 1); - -%If ( KDE_3_2_0 - ) - static int messageBox (QWidget* /Transfer/, KMessageBox::DialogType, const QString&, const QString&, const KGuiItem&, const KGuiItem&, const QString&, int = Notify ); -%End - - static int messageBox (QWidget* /Transfer/, KMessageBox::DialogType, const QString&, const QString& = QString ::null , const KGuiItem& = KStdGuiItem ::yes (), const KGuiItem& = KStdGuiItem ::no (), int = Notify ); - -%If ( KDE_3_2_0 - ) - static int messageBoxWId (WId, KMessageBox::DialogType, const QString&, const QString& = QString ::null , const KGuiItem& = KStdGuiItem ::yes (), const KGuiItem& = KStdGuiItem ::no (), const QString& = QString ::null , int = Notify ); -%End - - -%If ( KDE_3_1_0 - ) - static void queuedMessageBox (QWidget* /Transfer/, KMessageBox::DialogType, const QString&, const QString&, int); - -%If ( KDE_3_2_0 - ) - static void queuedMessageBoxWId (WId, KMessageBox::DialogType, const QString&, const QString&, int); -%End - -%End - - static void queuedMessageBox (QWidget* /Transfer/, KMessageBox::DialogType, const QString&, const QString& = QString ::null ); - -%If ( KDE_3_2_0 - ) - static void queuedMessageBoxWId (WId, KMessageBox::DialogType, const QString&, const QString& = QString ::null ); - static bool shouldBeShownYesNo (const QString&, KMessageBox::ButtonCode&); - static bool shouldBeShownContinue (const QString&); - static void saveDontShowAgainYesNo (const QString&, KMessageBox::ButtonCode); - static void saveDontShowAgainContinue (const QString&); - static void setDontShowAskAgainConfig (KConfig*); - -%If ( KDE_3_3_0 - ) - static int createKMessageBox (KDialogBase*, QMessageBox::Icon, const QString&, const QStringList&, const QString&, bool*, int, const QString& = QString ::null ); - static int createKMessageBox (KDialogBase*, QPixmap, const QString&, const QStringList&, const QString&, bool*, int, const QString& = QString ::null , QMessageBox::Icon = QMessageBox ::Information ); -%End - -%End - - -public: - -%If ( KDE_3_2_0 - KDE_3_4_0 ) - - enum OptionsType - { - Notify, - AllowLink, - Dangerous - }; - -%End - - -public: - -%If ( - KDE_3_2_0 ) - - enum OptionsType - { - Notify, - AllowLink - }; - -%End - - -public: - -%If ( - KDE_3_0_3 ) -//ig static int warningContinueCancelList (QWidget* /Transfer/, const QString&, const QStringList&, const QString& = QString ::null , const KGuiItem& = QString ::null , const QString& = QString ::null , int = Notify ); -%End - - -%If ( KDE_3_0_3 - KDE_3_1_0 ) - static int warningContinueCancelList (QWidget* /Transfer/, const QString&, const QStringList&, const QString& = QString ::null , const KGuiItem& = KGuiItem (), const QString& = QString ::null , int = Notify ); -%End - - -}; // class KMessageBox - diff --git a/python/pykde/sip/kdeui/knuminput.sip b/python/pykde/sip/kdeui/knuminput.sip deleted file mode 100644 index cdcf8a79..00000000 --- a/python/pykde/sip/kdeui/knuminput.sip +++ /dev/null @@ -1,261 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdeui version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KNumInput : QWidget -{ -%TypeHeaderCode -#include -%End - - -public: - KNumInput (QWidget* /TransferThis/ = 0, const char* = 0); - KNumInput (KNumInput*, QWidget* /TransferThis/ = 0, const char* = 0); - virtual void setLabel (const QString&, int = AlignLeft |AlignTop ); - QString label () const; - -%If ( KDE_3_1_0 - ) - bool showSlider () const; -%End - - void setSteps (int, int); - QSizePolicy sizePolicy () const; - virtual QSize sizeHint () const; - -protected: - void layout (bool); - virtual void doLayout () = 0; - -protected: -//igx virtual void virtual_hook (int, void*); - -}; // class KNumInput - - -class KIntNumInput : KNumInput -{ -%TypeHeaderCode -#include -%End - - -public: - KIntNumInput (QWidget* /TransferThis/ = 0, const char* = 0); - KIntNumInput (int, QWidget* /TransferThis/ = 0, int = 10, const char* = 0); - KIntNumInput (KNumInput*, int, QWidget* /TransferThis/ = 0, int = 10, const char* = 0); - int value () const; - -%If ( KDE_3_1_0 - ) - double relativeValue () const; - int referencePoint () const; -%End - - QString suffix () const; - QString prefix () const; - QString specialValueText () const; - void setRange (int, int, int = 1, bool = 1); - void setMinValue (int); - int minValue () const; - void setMaxValue (int); - int maxValue () const; - void setSpecialValueText (const QString&); - virtual void setLabel (const QString&, int = AlignLeft |AlignTop ); - virtual QSize minimumSizeHint () const; - -public slots: - void setValue (int); - -%If ( KDE_3_1_0 - ) - void setRelativeValue (double); - void setReferencePoint (int); -%End - - void setSuffix (const QString&); - void setPrefix (const QString&); - void setEditFocus (bool = 1); - -signals: - void valueChanged (int); - -%If ( KDE_3_1_0 - ) - void relativeValueChanged (double); -%End - - -protected: - virtual void doLayout (); - void resizeEvent (QResizeEvent*); - -protected: -//igx virtual void virtual_hook (int, void*); - -}; // class KIntNumInput - - -class KDoubleNumInput : KNumInput -{ -%TypeHeaderCode -#include -%End - - -public: - KDoubleNumInput (QWidget* /TransferThis/ = 0, const char* = 0); - KDoubleNumInput (double, QWidget* /TransferThis/ = 0, const char* = 0); - -%If ( KDE_3_1_0 - ) - KDoubleNumInput (double, double, double, double = 0.01, int = 2, QWidget* /TransferThis/ = 0, const char* = 0); -%End - - KDoubleNumInput (KNumInput*, double, QWidget* /TransferThis/ = 0, const char* = 0); - -%If ( KDE_3_1_0 - ) - KDoubleNumInput (KNumInput*, double, double, double, double = 0.02, int = 2, QWidget* /TransferThis/ = 0, const char* = 0); -%End - - double value () const; - QString suffix () const; - QString prefix () const; - int precision () const; - QString specialValueText () const; - void setRange (double, double, double = 1, bool = 1); - void setMinValue (double); - double minValue () const; - void setMaxValue (double); - double maxValue () const; - void setPrecision (int); - -%If ( KDE_3_1_0 - ) - double referencePoint () const; - double relativeValue () const; -%End - - void setSpecialValueText (const QString&); - virtual void setLabel (const QString&, int = AlignLeft |AlignTop ); - virtual QSize minimumSizeHint () const; - virtual bool eventFilter (QObject*, QEvent*); - -public slots: - void setValue (double); - -%If ( KDE_3_1_0 - ) - void setRelativeValue (double); - void setReferencePoint (double); -%End - - void setSuffix (const QString&); - void setPrefix (const QString&); - -signals: - void valueChanged (double); - -%If ( KDE_3_1_0 - ) - void relativeValueChanged (double); -%End - - -protected: - virtual void doLayout (); - void resizeEvent (QResizeEvent*); - virtual void resetEditBox (); - -protected: -//igx virtual void virtual_hook (int, void*); - -}; // class KDoubleNumInput - - -class KIntSpinBox : QSpinBox -{ -%TypeHeaderCode -#include -%End - - -public: - KIntSpinBox (QWidget* /TransferThis/ = 0, const char* = 0); - KIntSpinBox (int, int, int, int, int = 10, QWidget* /TransferThis/ = 0, const char* = 0); - void setBase (int); - int base () const; - void setEditFocus (bool); - -protected: - virtual QString mapValueToText (int); -//ig virtual int mapTextToValue (bool*); - -protected: -//igx virtual void virtual_hook (int, void*); - -}; // class KIntSpinBox - - -%If ( KDE_3_1_0 - ) - -class KDoubleSpinBox : QSpinBox -{ -%TypeHeaderCode -#include -%End - - -public: - KDoubleSpinBox (QWidget* /TransferThis/ = 0, const char* = 0); - KDoubleSpinBox (double, double, double, double, int = 2, QWidget* /TransferThis/ = 0, const char* = 0); - bool acceptLocalizedNumbers () const; - virtual void setAcceptLocalizedNumbers (bool); - void setRange (double, double, double = 0.01, int = 2); - int precision () const; - void setPrecision (int); - virtual void setPrecision (int, bool); - double value () const; - double minValue () const; - void setMinValue (double); - double maxValue () const; - void setMaxValue (double); - double lineStep () const; - void setLineStep (double); - void setValidator (const QValidator*); - -signals: - void valueChanged (double); - -public slots: - virtual void setValue (double); - -protected: - virtual QString mapValueToText (int); -//ig virtual int mapTextToValue (bool*); - -protected slots: - void slotValueChanged (int); - -protected: -//igx virtual void virtual_hook (int, void*); - -}; // class KDoubleSpinBox - -%End - diff --git a/python/pykde/sip/kdeui/knumvalidator.sip b/python/pykde/sip/kdeui/knumvalidator.sip deleted file mode 100644 index f72f338f..00000000 --- a/python/pykde/sip/kdeui/knumvalidator.sip +++ /dev/null @@ -1,89 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdeui version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KIntValidator : QValidator -{ -%TypeHeaderCode -#include -%End - - -public: - KIntValidator (QWidget* /TransferThis/, int = 10, const char* = 0); - KIntValidator (int, int, QWidget* /TransferThis/, int = 10, const char* = 0); - virtual State validate (QString&, int&) const; - virtual void fixup (QString&) const; - virtual void setRange (int, int); - virtual void setBase (int); - virtual int bottom () const; - virtual int top () const; - virtual int base () const; - -}; // class KIntValidator - - -class KFloatValidator : QValidator -{ -%TypeHeaderCode -#include -%End - - -public: - KFloatValidator (QWidget* /TransferThis/, const char* = 0); - KFloatValidator (double, double, QWidget* /TransferThis/, const char* = 0); - KFloatValidator (double, double, bool, QWidget* /TransferThis/, const char* = 0); - virtual State validate (QString&, int&) const; - virtual void fixup (QString&) const; - virtual void setRange (double, double); - virtual double bottom () const; - virtual double top () const; - void setAcceptLocalizedNumbers (bool); - bool acceptLocalizedNumbers () const; - -}; // class KFloatValidator - - -%If ( KDE_3_1_0 - ) - -class KDoubleValidator : QDoubleValidator -{ -%TypeHeaderCode -#include -%End - - -public: - KDoubleValidator (QObject* /TransferThis/, const char* = 0); - KDoubleValidator (double, double, int, QObject* /TransferThis/, const char* = 0); - virtual QValidator::State validate (QString&, int&) const; - bool acceptLocalizedNumbers () const; - void setAcceptLocalizedNumbers (bool); - -}; // class KDoubleValidator - -%End - diff --git a/python/pykde/sip/kdeui/kpanelapplet.sip b/python/pykde/sip/kdeui/kpanelapplet.sip deleted file mode 100644 index c689b77f..00000000 --- a/python/pykde/sip/kdeui/kpanelapplet.sip +++ /dev/null @@ -1,140 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdeui version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KPanelApplet : QFrame -{ -%TypeHeaderCode -#include -%End - - -public: - - enum Type - { - Normal, - Stretch - }; - - - enum Action - { - About, - Help, - Preferences, - ReportBug - }; - - - enum Position - { - pLeft, - pRight, - pTop, - pBottom - }; - - - enum Alignment - { - LeftTop, - Center, - RightBottom - }; - - - enum Direction - { - Up, - Down, - Left, - Right - }; - - KPanelApplet (const QString&, KPanelApplet::Type = Normal , int = 0, QWidget* /TransferThis/ = 0, const char* = 0, WFlags = 0); - virtual int widthForHeight (int) const; - virtual int heightForWidth (int) const; - KConfig* config () const; - -%If ( KDE_3_2_0 - ) - KSharedConfig::Ptr sharedConfig () const; -%End - - Type type () const; - int actions () const; - virtual void action (KPanelApplet::Action); - -%If ( KDE_3_2_0 - ) - const QPopupMenu* customMenu () const; -%End - - void setPosition (KPanelApplet::Position); - void setAlignment (KPanelApplet::Alignment); - -signals: - void updateLayout (); - void requestFocus (); - -%If ( KDE_3_4_0 - ) - void requestFocus (bool); -%End - - -protected: - virtual void about (); - virtual void help (); - virtual void preferences (); - virtual void reportBug (); - Orientation orientation () const; - KPanelApplet::Position position () const; - KPanelApplet::Alignment alignment () const; - virtual void positionChange (KPanelApplet::Position); - virtual void alignmentChange (KPanelApplet::Alignment); - -%If ( KDE_3_2_0 - ) - void setCustomMenu (const QPopupMenu*); - -%If ( KDE_3_4_0 - ) - void watchForFocus (QWidget*, bool = 1); - void needsFocus (bool); -%End - -%End - - virtual void orientationChange (Orientation); - Direction popupDirection (); - virtual void popupDirectionChange (KPanelApplet::Direction); - -%If ( KDE_3_4_0 - ) - bool eventFilter (QObject*, QEvent*); -%End - - -protected: -//igx virtual void virtual_hook (int, void*); - -}; // class KPanelApplet - diff --git a/python/pykde/sip/kdeui/kpanelappmenu.sip b/python/pykde/sip/kdeui/kpanelappmenu.sip deleted file mode 100644 index 82fea92d..00000000 --- a/python/pykde/sip/kdeui/kpanelappmenu.sip +++ /dev/null @@ -1,51 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdeui version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KPanelAppMenu : QObject, DCOPObject -{ -%TypeHeaderCode -#include -%End - - -public: - KPanelAppMenu (const QString&, QObject* /TransferThis/ = 0, const char* = 0); - KPanelAppMenu (const QPixmap&, const QString&, QObject* /TransferThis/, const char*); - KPanelAppMenu (QObject* /TransferThis/, const char*); - int insertItem (const QString&, int = -1); - int insertItem (const QPixmap&, const QString&, int = -1); - KPanelAppMenu* insertMenu (const QPixmap&, const QString&, int = -1); - void clear (); - bool process (const QCString&, const QByteArray&, QCString&, QByteArray&); - -signals: - void activated (int); - -protected: - void init (const QPixmap&, const QString&); - -}; // class KPanelAppMenu - diff --git a/python/pykde/sip/kdeui/kpanelextension.sip b/python/pykde/sip/kdeui/kpanelextension.sip deleted file mode 100644 index c996fdab..00000000 --- a/python/pykde/sip/kdeui/kpanelextension.sip +++ /dev/null @@ -1,159 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdeui version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KPanelExtension : QFrame -{ -%TypeHeaderCode -#include -%End - - -public: - - enum Type - { - Normal, - Stretch - }; - - - enum Action - { - About, - Help, - Preferences, - ReportBug - }; - - -%If ( KDE_3_4_0 - ) - - enum Position - { - Left, - Right, - Top, - Bottom, - Floating - }; - -%End - - - enum Alignment - { - LeftTop, - Center, - RightBottom - }; - - -%If ( KDE_3_1_0 - ) - - enum Size - { - SizeTiny, - SizeSmall, - SizeNormal, - SizeLarge, - SizeCustom - }; - -%End - - KPanelExtension (const QString&, KPanelExtension::Type = Normal , int = 0, QWidget* /TransferThis/ = 0, const char* = 0); - virtual QSize sizeHint (KPanelExtension::Position, QSize) const; - KConfig* config () const; - Type type () const; - int actions () const; - virtual void action (KPanelExtension::Action); - virtual Position preferedPosition () const; - void setPosition (KPanelExtension::Position); - void setAlignment (KPanelExtension::Alignment); - -%If ( KDE_3_1_0 - ) - void setSize (KPanelExtension::Size, int); - KPanelExtension::Size sizeSetting () const; - int customSize () const; - -%If ( KDE_3_4_0 - ) - QPopupMenu* customMenu () const; - bool reserveStrut () const; -%End - -%End - - -signals: - void updateLayout (); - -%If ( KDE_3_4_0 - ) - void maintainFocus (bool); -%End - - -protected: - virtual void about (); - virtual void help (); - virtual void preferences (); - virtual void reportBug (); - Position position () const; - KPanelExtension::Alignment alignment () const; - Orientation orientation (); - -%If ( KDE_3_1_0 - ) - int sizeInPixels () const; -%End - - virtual void positionChange (KPanelExtension::Position); - virtual void alignmentChange (KPanelExtension::Alignment); - -%If ( KDE_3_4_0 - ) - void setCustomMenu (QPopupMenu*); - void setReserveStrut (bool); -%End - - -protected: -//igx virtual void virtual_hook (int, void*); - -public: - -%If ( - KDE_3_4_0 ) - - enum Position - { - Left, - Right, - Top, - Bottom - }; - -%End - - -}; // class KPanelExtension - diff --git a/python/pykde/sip/kdeui/kpanelmenu.sip b/python/pykde/sip/kdeui/kpanelmenu.sip deleted file mode 100644 index 41e9199f..00000000 --- a/python/pykde/sip/kdeui/kpanelmenu.sip +++ /dev/null @@ -1,65 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdeui version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KPanelMenu : KPopupMenu -{ -%TypeHeaderCode -#include -%End - - -public: - KPanelMenu (QWidget* /TransferThis/ = 0, const char* = 0); - KPanelMenu (const QString&, QWidget* /TransferThis/ = 0, const char* = 0); - const QString& path () const; - void setPath (const QString&); - bool initialized () const; - void setInitialized (bool); - void disableAutoClear (); - -public slots: - void reinitialize (); - -%If ( KDE_3_1_0 - ) - void deinitialize (); -%End - - -protected slots: - virtual void slotAboutToShow (); - virtual void slotExec (int) = 0; - virtual void initialize () = 0; - void slotClear (); - -protected: - virtual void hideEvent (QHideEvent*); - void init (const QString& = QString ::null ); - -protected: -//igx virtual void virtual_hook (int, void*); - -}; // class KPanelMenu - diff --git a/python/pykde/sip/kdeui/kpassdlg.sip b/python/pykde/sip/kdeui/kpassdlg.sip deleted file mode 100644 index e1532f52..00000000 --- a/python/pykde/sip/kdeui/kpassdlg.sip +++ /dev/null @@ -1,138 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdeui version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KPasswordEdit : QLineEdit -{ -%TypeHeaderCode -#include -%End - - -public: - - enum EchoModes - { - OneStar, - ThreeStars, - NoEcho - }; - - KPasswordEdit (QWidget* /TransferThis/ = 0, const char* = 0); - KPasswordEdit (EchoMode, QWidget* /TransferThis/, const char*); - -%If ( KDE_3_2_0 - ) - KPasswordEdit (KPasswordEdit::EchoModes, QWidget* /TransferThis/, const char*); -%End - - KPasswordEdit (QWidget* /TransferThis/, const char*, int); - const char* password (); - void erase (); -//ig const int PassLen; - -%If ( KDE_3_4_0 - ) - void setMaxPasswordLength (int); - int maxPasswordLength () const; -%End - - -public slots: - -%If ( KDE_3_1_2 - ) - virtual void insert (const QString&); -%End - - -protected: - virtual void keyPressEvent (QKeyEvent*); - virtual void focusInEvent (QFocusEvent*); - virtual bool event (QEvent*); - -}; // class KPasswordEdit - - -class KPasswordDialog : KDialogBase -{ -%TypeHeaderCode -#include -%End - - -public: - - enum Types - { - Password, - NewPassword - }; - - KPasswordDialog (KPasswordDialog::Types, bool, int, QWidget* /TransferThis/ = 0, const char* = 0); - KPasswordDialog (int, QString, bool = 0, int = 0); - -%If ( KDE_3_3_0 - ) - KPasswordDialog (KPasswordDialog::Types, bool, int, const QString&, QWidget* /TransferThis/ = 0, const char* = 0); -%End - - void setPrompt (QString); - QString prompt () const; - void addLine (QString, QString); - -%If ( KDE_3_4_0 - ) - void setAllowEmptyPasswords (bool); - bool allowEmptyPasswords () const; - void setMinimumPasswordLength (int); - int minimumPasswordLength () const; - void setMaximumPasswordLength (int); - int maximumPasswordLength () const; - void setReasonablePasswordLength (int); - int reasonablePasswordLength () const; - void setPasswordStrengthWarningLevel (int); - int passwordStrengthWarningLevel () const; -%End - - const char* password () const; - -%If ( KDE_3_3_0 - ) - void clearPassword (); -%End - - bool keep () const; - static int getPassword (QCString&, QString, int* = 0); - static int getNewPassword (QCString&, QString); - static void disableCoreDumps (); - -protected slots: - void slotOk (); - void slotCancel (); - void slotKeep (bool); - -protected: - virtual bool checkPassword (const char*); - -protected: -//igx virtual void virtual_hook (int, void*); - -}; // class KPasswordDialog - diff --git a/python/pykde/sip/kdeui/kpassivepopup.sip b/python/pykde/sip/kdeui/kpassivepopup.sip deleted file mode 100644 index d7af4c28..00000000 --- a/python/pykde/sip/kdeui/kpassivepopup.sip +++ /dev/null @@ -1,112 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdeui version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -%If ( KDE_3_1_0 - ) - -class KPassivePopup : QFrame -{ -%TypeHeaderCode -#include -%End - - -public: - -%If ( KDE_3_5_0 - ) - - enum PopupStyle - { - Boxed, - Balloon, - CustomStyle - }; - -%End - - KPassivePopup (QWidget* /TransferThis/ = 0, const char* = 0, WFlags = 0); - KPassivePopup (WId, const char* = 0, WFlags = 0); - -%If ( KDE_3_5_0 - ) - KPassivePopup (int, QWidget* /TransferThis/ = 0, const char* = 0, WFlags = 0); - KPassivePopup (int, WId /TransferThis/, const char* = 0, WFlags = 0); -%End - - void setView (QWidget*); - void setView (const QString&, const QString& = QString ::null ); - virtual void setView (const QString&, const QString&, const QPixmap&); - QVBox* standardView (const QString&, const QString&, const QPixmap&, QWidget* /Transfer/ = 0); - QWidget* view () const; - int timeout () const; - virtual void setAutoDelete (bool); - bool autoDelete () const; - -%If ( KDE_3_5_0 - ) - void setAnchor (const QPoint&); -%End - - static KPassivePopup* message (const QString&, QWidget* /Transfer/, const char* = 0); - static KPassivePopup* message (const QString&, const QString&, QWidget* /Transfer/, const char* = 0); - static KPassivePopup* message (const QString&, const QString&, const QPixmap&, QWidget* /Transfer/, const char* = 0, int = -1); - static KPassivePopup* message (const QString&, const QString&, const QPixmap&, WId, const char* = 0, int = -1); - -%If ( KDE_3_5_0 - ) - static KPassivePopup* message (int, const QString&, QWidget* /Transfer/, const char* = 0); - static KPassivePopup* message (int, const QString&, const QString&, QWidget* /Transfer/, const char* = 0); - static KPassivePopup* message (int, const QString&, const QString&, const QPixmap&, QWidget* /Transfer/, const char* = 0, int = -1); - static KPassivePopup* message (int, const QString&, const QString&, const QPixmap&, WId, const char* = 0, int = -1); -%End - - -public slots: - void setTimeout (int); - virtual void show (); - -%If ( KDE_3_5_0 - ) - void show (const QPoint&); -%End - - -signals: - void clicked (); - void clicked (QPoint); - -protected: - virtual void positionSelf (); - virtual void hideEvent (QHideEvent*); - void moveNear (QRect); - virtual void mouseReleaseEvent (QMouseEvent*); - QRect defaultArea () const; - -%If ( KDE_3_5_0 - ) - void updateMask (); - virtual void paintEvent (QPaintEvent*); -%End - - -}; // class KPassivePopup - -%End - diff --git a/python/pykde/sip/kdeui/kpixmapio.sip b/python/pykde/sip/kdeui/kpixmapio.sip deleted file mode 100644 index 281978a4..00000000 --- a/python/pykde/sip/kdeui/kpixmapio.sip +++ /dev/null @@ -1,53 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdeui version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KPixmapIO -{ -%TypeHeaderCode -#include -%End - - -public: - KPixmapIO (); - QPixmap convertToPixmap (const QImage&); - QImage convertToImage (const QPixmap&); - void putImage (QPixmap*, int, int, const QImage*); - void putImage (QPixmap*, const QPoint&, const QImage*); - QImage getImage (const QPixmap*, int, int, int, int); - QImage getImage (const QPixmap*, const QRect&); - - enum ShmPolicies - { - ShmDontKeep, - ShmKeepAndGrow - }; - - void setShmPolicy (int); - void preAllocShm (int); - -}; // class KPixmapIO - diff --git a/python/pykde/sip/kdeui/kpixmapregionselectordialog.sip b/python/pykde/sip/kdeui/kpixmapregionselectordialog.sip deleted file mode 100644 index b591a36a..00000000 --- a/python/pykde/sip/kdeui/kpixmapregionselectordialog.sip +++ /dev/null @@ -1,49 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdeui version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -%If ( KDE_3_4_0 - ) - -class KPixmapRegionSelectorDialog : KDialogBase -{ -%TypeHeaderCode -#include -%End - - -public: - KPixmapRegionSelectorDialog (QWidget* /TransferThis/ = 0, const char* = 0, bool = 0); - KPixmapRegionSelectorWidget* pixmapRegionSelectorWidget () const; - static QRect getSelectedRegion (const QPixmap&, QWidget* /Transfer/ = 0); - static QRect getSelectedRegion (const QPixmap&, int, int, QWidget* /Transfer/ = 0); - static QImage getSelectedImage (const QPixmap&, QWidget* /Transfer/ = 0); - static QImage getSelectedImage (const QPixmap&, int, int, QWidget* /Transfer/ = 0); - -protected: - -}; // class KPixmapRegionSelectorDialog - -%End - diff --git a/python/pykde/sip/kdeui/kpixmapregionselectorwidget.sip b/python/pykde/sip/kdeui/kpixmapregionselectorwidget.sip deleted file mode 100644 index efa50843..00000000 --- a/python/pykde/sip/kdeui/kpixmapregionselectorwidget.sip +++ /dev/null @@ -1,60 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdeui version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -%If ( KDE_3_4_0 - ) - -class KPixmapRegionSelectorWidget : QWidget -{ -%TypeHeaderCode -#include -%End - - -public: - KPixmapRegionSelectorWidget (QWidget* /TransferThis/ = 0, const char* = 0); - void setPixmap (const QPixmap&); - QPixmap pixmap () const; - void setSelectedRegion (const QRect&); - QRect selectedRegion () const; - QRect unzoomedSelectedRegion () const; - void resetSelection (); - QImage selectedImage () const; - void setSelectionAspectRatio (int, int); - void setFreeSelectionAspectRatio (); - void setMaximumWidgetSize (int, int); - void rotate (KImageEffect::RotateDirection); - -public slots: - void rotateClockwise (); - void rotateCounterclockwise (); - -protected: - virtual KPopupMenu* createPopupMenu (); - -}; // class KPixmapRegionSelectorWidget - -%End - diff --git a/python/pykde/sip/kdeui/kpopupmenu.sip b/python/pykde/sip/kdeui/kpopupmenu.sip deleted file mode 100644 index 2f5fe09a..00000000 --- a/python/pykde/sip/kdeui/kpopupmenu.sip +++ /dev/null @@ -1,149 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdeui version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KPopupTitle : QWidget -{ -%TypeHeaderCode -#include -%End - - -public: - KPopupTitle (QWidget* /TransferThis/ = 0, const char* = 0); - KPopupTitle (KPixmapEffect::GradientType, const QColor&, const QColor&, QWidget* /TransferThis/ = 0, const char* = 0); - KPopupTitle (const KPixmap&, const QColor&, const QColor&, QWidget* /TransferThis/ = 0, const char* = 0); - void setTitle (const QString&, const QPixmap* = 0); - QString title (); - QPixmap icon (); - QSize sizeHint () const; - -public slots: - -%If ( KDE_3_1_0 - ) - void setText (const QString&); - void setIcon (const QPixmap&); -%End - - -protected: - -%If ( KDE_3_2_0 - ) - void calcSize (); -%End - - void paintEvent (QPaintEvent*); - -protected: -//igx virtual void virtual_hook (int, void*); - -}; // class KPopupTitle - - -class KPopupMenu : QPopupMenu -{ -%TypeHeaderCode -#include -%End - - -public: - KPopupMenu (QWidget* /TransferThis/ = 0, const char* = 0); - int insertTitle (const QString&, int = -1, int = -1); - int insertTitle (const QPixmap&, const QString&, int = -1, int = -1); - void changeTitle (int, const QString&); - void changeTitle (int, const QPixmap&, const QString&); - QString title (int = -1); - QPixmap titlePixmap (int); - -%If ( KDE_3_1_0 - ) - void setKeyboardShortcutsEnabled (bool); - void setKeyboardShortcutsExecute (bool); -%End - - KPopupMenu (const QString&, QWidget* /TransferThis/ = 0, const char* = 0); - void setTitle (const QString&); - -%If ( KDE_3_2_0 - ) - QPopupMenu* contextMenu (); - void hideContextMenu (); - static KPopupMenu* contextMenuFocus (); - static int contextMenuFocusItem (); - -%If ( KDE_3_4_0 - ) - virtual void activateItemAt (int); - Qt::ButtonState state () const; -%End - -%End - - -signals: - -%If ( KDE_3_2_0 - ) - void aboutToShowContextMenu (KPopupMenu*, int, QPopupMenu*); -%End - - -protected: - -%If ( KDE_3_1_0 - ) - virtual void closeEvent (QCloseEvent*); - virtual void keyPressEvent (QKeyEvent*); - -%If ( KDE_3_4_0 - ) - virtual void mouseReleaseEvent (QMouseEvent*); -%End - - -%If ( KDE_3_2_0 - ) - virtual void mousePressEvent (QMouseEvent*); - virtual bool focusNextPrevChild (bool); - virtual void contextMenuEvent (QContextMenuEvent*); - virtual void hideEvent (QHideEvent*); -%End - -%End - -//igx virtual void virtual_hook (int, void*); - -protected slots: - -%If ( KDE_3_1_0 - ) - QString underlineText (const QString&, uint); - void resetKeyboardVars (bool = 0); - -%If ( KDE_3_2_0 - ) - void itemHighlighted (int); - void showCtxMenu (QPoint); - void ctxMenuHiding (); - void ctxMenuHideShowingMenu (); -%End - -%End - - -}; // class KPopupMenu - diff --git a/python/pykde/sip/kdeui/kprogress.sip b/python/pykde/sip/kdeui/kprogress.sip deleted file mode 100644 index 523a9aec..00000000 --- a/python/pykde/sip/kdeui/kprogress.sip +++ /dev/null @@ -1,102 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdeui version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KProgress : QProgressBar -{ -%TypeHeaderCode -#include -%End - - -public: - KProgress (QWidget* /TransferThis/ = 0, const char* = 0, WFlags = 0); - KProgress (int, QWidget* /TransferThis/ = 0, const char* = 0, WFlags = 0); - void setTextEnabled (bool); - int value () const; - bool textEnabled () const; - QString format () const; - void setRange (int, int); - int maxValue (); - -public slots: - void setFormat (const QString&); - void setTotalSteps (int); - virtual void setProgress (int); - void setValue (int); - virtual void advance (int); - -signals: - void percentageChanged (int); - -protected: - virtual bool setIndicator (QString&, int, int); - -protected: -//igx virtual void virtual_hook (int, void*); - -}; // class KProgress - - -class KProgressDialog : KDialogBase -{ -%TypeHeaderCode -#include -%End - - -public: - KProgressDialog (QWidget* /TransferThis/ = 0, const char* = 0, const QString& = QString ::null , const QString& = QString ::null , bool = 0); - KProgress* progressBar (); - void setLabel (const QString&); - QString labelText (); - void setAllowCancel (bool); - bool allowCancel (); - void showCancelButton (bool); - void setAutoClose (bool); - bool autoClose (); - void setAutoReset (bool); - bool autoReset (); - bool wasCancelled (); - void setButtonText (const QString&); - QString buttonText (); - void setMinimumDuration (int); - int minimumDuration (); - -%If ( KDE_3_5_3 - ) - virtual void show (); -%End - - -protected slots: - void slotAutoShow (); - void slotAutoActions (int); - void slotCancel (); - -protected: -//igx virtual void virtual_hook (int, void*); - -}; // class KProgressDialog - diff --git a/python/pykde/sip/kdeui/kpushbutton.sip b/python/pykde/sip/kdeui/kpushbutton.sip deleted file mode 100644 index f8a9ab12..00000000 --- a/python/pykde/sip/kdeui/kpushbutton.sip +++ /dev/null @@ -1,67 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdeui version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KPushButton : QPushButton -{ -%TypeHeaderCode -#include -%End - - -public: - KPushButton (QWidget* /TransferThis/, const char* = 0); - KPushButton (const QString&, QWidget* /TransferThis/, const char* = 0); - KPushButton (const QIconSet&, const QString&, QWidget* /TransferThis/, const char* = 0); - KPushButton (const KGuiItem&, QWidget* /TransferThis/, const char* = 0); - void setDragEnabled (bool); - bool isDragEnabled () const; - void setGuiItem (const KGuiItem&); - -%If ( KDE_3_4_0 - ) - void setGuiItem (KStdGuiItem::StdItem); - KStdGuiItem::StdItem guiItem () const; - void setGuiItm (int); - int guiItm () const; -%End - - -%If ( KDE_3_2_0 - ) - void setIconSet (const QIconSet&); - void setText (const QString&); -%End - - -protected: - virtual QDragObject* dragObject (); - virtual void mousePressEvent (QMouseEvent*); - virtual void mouseMoveEvent (QMouseEvent*); - virtual void startDrag (); - -protected: -//igx virtual void virtual_hook (int, void*); - -}; // class KPushButton - diff --git a/python/pykde/sip/kdeui/krestrictedline.sip b/python/pykde/sip/kdeui/krestrictedline.sip deleted file mode 100644 index 8bb6f964..00000000 --- a/python/pykde/sip/kdeui/krestrictedline.sip +++ /dev/null @@ -1,49 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdeui version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KRestrictedLine : KLineEdit -{ -%TypeHeaderCode -#include -%End - - -public: - KRestrictedLine (QWidget* /TransferThis/ = 0, const char* = 0, const QString& = QString ::null ); - void setValidChars (const QString&); - QString validChars () const; - -signals: - void invalidChar (int); - -protected: - void keyPressEvent (QKeyEvent*); - -protected: -//igx virtual void virtual_hook (int, void*); - -}; // class KRestrictedLine - diff --git a/python/pykde/sip/kdeui/krootpixmap.sip b/python/pykde/sip/kdeui/krootpixmap.sip deleted file mode 100644 index 91d26c21..00000000 --- a/python/pykde/sip/kdeui/krootpixmap.sip +++ /dev/null @@ -1,71 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdeui version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KRootPixmap : QObject -{ -%TypeHeaderCode -#include -%End - - -public: - KRootPixmap (QWidget*, const char* = 0); - KRootPixmap (QWidget*, QObject* /TransferThis/, const char* = 0); - bool isAvailable () const; - bool isActive () const; - int currentDesktop () const; - bool customPainting () const; - bool checkAvailable (bool); - -%If ( KDE_3_2_0 - ) - const QColor& color () const; - double opacity () const; -%End - - -public slots: - virtual void start (); - virtual void stop (); - void setFadeEffect (double, const QColor&); - void repaint (bool); - void repaint (); - void setCustomPainting (bool); - void enableExports (); - -%If ( KDE_3_2_0 - ) -//ig static QString pixmapName (int); -%End - - -signals: - void backgroundUpdated (const QPixmap&); - -protected: - virtual bool eventFilter (QObject*, QEvent*); -//ig virtual void updateBackground (KSharedPixmap*); - -}; // class KRootPixmap - diff --git a/python/pykde/sip/kdeui/kruler.sip b/python/pykde/sip/kdeui/kruler.sip deleted file mode 100644 index a62b7e9d..00000000 --- a/python/pykde/sip/kdeui/kruler.sip +++ /dev/null @@ -1,108 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdeui version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KRuler : QFrame -{ -%TypeHeaderCode -#include -%End - - -public: - - enum MetricStyle - { - Custom, - Pixel, - Inch, - Millimetres, - Centimetres, - Metres - }; - - KRuler (QWidget* /TransferThis/ = 0, const char* = 0); - KRuler (Orientation, QWidget* /TransferThis/ = 0, const char* = 0, WFlags = 0); - KRuler (Orientation, int, QWidget* /TransferThis/ = 0, const char* = 0, WFlags = 0); - void setMinValue (int); - int minValue () const; - void setMaxValue (int); - int maxValue () const; - void setRange (int, int); - void setValue (int); - int value () const; - void setTinyMarkDistance (int); - int tinyMarkDistance () const; - void setLittleMarkDistance (int); - int littleMarkDistance () const; - void setMediumMarkDistance (int); - int mediumMarkDistance () const; - void setBigMarkDistance (int); - int bigMarkDistance () const; - void setShowTinyMarks (bool); - bool showTinyMarks () const; - void setShowLittleMarks (bool); - bool showLittleMarks () const; - void setShowMediumMarks (bool); - bool showMediumMarks () const; - void setShowBigMarks (bool); - bool showBigMarks () const; - void setShowEndMarks (bool); - bool showEndMarks () const; - void setShowPointer (bool); - bool showPointer () const; - void setValuePerLittleMark (int); - void setValuePerMediumMark (int); - void setValuePerBigMark (int); - void setShowEndLabel (bool); - bool showEndLabel () const; - void setEndLabel (const QString&); - QString endLabel () const; - void setRulerMetricStyle (KRuler::MetricStyle); - void setPixelPerMark (double); - double pixelPerMark () const; - void setLength (int); - int length () const; - void setLengthFixed (bool); - bool lengthFixed () const; - void slideUp (int = 1); - void slideDown (int = 1); - void setOffset (int); - int offset () const; - int endOffset () const; - -public slots: - void slotNewValue (int); - void slotNewOffset (int); - void slotEndOffset (int); - -protected: - virtual void drawContents (QPainter*); - -protected: -//igx virtual void virtual_hook (int, void*); - -}; // class KRuler - diff --git a/python/pykde/sip/kdeui/kscrollview.sip b/python/pykde/sip/kdeui/kscrollview.sip deleted file mode 100644 index a4a475c2..00000000 --- a/python/pykde/sip/kdeui/kscrollview.sip +++ /dev/null @@ -1,53 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdeui version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -%If ( KDE_3_5_0 - ) - -class KScrollView : QScrollView -{ -%TypeHeaderCode -#include -%End - - -public: - KScrollView (QWidget* /TransferThis/ = 0, const char* = 0, Qt::WFlags = 0); - -public slots: - void scrollBy (int, int); - -protected: - virtual void wheelEvent (QWheelEvent*); - void startScrolling (); - void stopScrolling (); - -protected slots: - void scrollTick (); - -}; // class KScrollView - -%End - diff --git a/python/pykde/sip/kdeui/kselect.sip b/python/pykde/sip/kdeui/kselect.sip deleted file mode 100644 index 681c91bb..00000000 --- a/python/pykde/sip/kdeui/kselect.sip +++ /dev/null @@ -1,142 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdeui version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KXYSelector : QWidget -{ -%TypeHeaderCode -#include -%End - - -public: - KXYSelector (QWidget* /TransferThis/ = 0, const char* = 0); - void setValues (int, int); - -%If ( KDE_3_3_0 - ) - void setXValue (int); - void setYValue (int); -%End - - void setRange (int, int, int, int); - int xValue (); - int yValue (); - QRect contentsRect () const; - -signals: - void valueChanged (int, int); - -protected: - virtual void drawContents (QPainter*); - virtual void drawCursor (QPainter*, int, int); - virtual void paintEvent (QPaintEvent*); - virtual void mousePressEvent (QMouseEvent*); - virtual void mouseMoveEvent (QMouseEvent*); - -%If ( KDE_3_2_0 - ) - virtual void wheelEvent (QWheelEvent*); - void valuesFromPosition (int, int, int&, int&) const; -%End - - -protected: -//igx virtual void virtual_hook (int, void*); - -}; // class KXYSelector - - -class KSelector : QWidget, QRangeControl -{ -%TypeHeaderCode -#include -%End - - -public: - KSelector (QWidget* /TransferThis/ = 0, const char* = 0); - KSelector (Orientation, QWidget* /TransferThis/ = 0, const char* = 0); - Orientation orientation () const; - QRect contentsRect () const; - void setIndent (bool); - bool indent () const; - void setValue (int); - int value () const; - void setMinValue (int); - int minValue () const; - void setMaxValue (int); - int maxValue () const; - -signals: - void valueChanged (int); - -protected: - virtual void drawContents (QPainter*); - virtual void drawArrow (QPainter*, bool, const QPoint&); - virtual void valueChange (); - virtual void paintEvent (QPaintEvent*); - virtual void mousePressEvent (QMouseEvent*); - virtual void mouseMoveEvent (QMouseEvent*); - -%If ( KDE_3_2_0 - ) - virtual void wheelEvent (QWheelEvent*); -%End - - -protected: -//igx virtual void virtual_hook (int, void*); - -}; // class KSelector - - -class KGradientSelector : KSelector -{ -%TypeHeaderCode -#include -%End - - -public: - KGradientSelector (QWidget* /TransferThis/ = 0, const char* = 0); - KGradientSelector (Orientation, QWidget* /TransferThis/ = 0, const char* = 0); - void setColors (const QColor&, const QColor&); - void setText (const QString&, const QString&); - void setFirstColor (const QColor&); - void setSecondColor (const QColor&); - void setFirstText (const QString&); - void setSecondText (const QString&); - const QColor firstColor () const; - const QColor secondColor () const; - const QString firstText () const; - const QString secondText () const; - -protected: - virtual void drawContents (QPainter*); - virtual QSize minimumSize () const; - -protected: -//igx virtual void virtual_hook (int, void*); - -}; // class KGradientSelector - diff --git a/python/pykde/sip/kdeui/kseparator.sip b/python/pykde/sip/kdeui/kseparator.sip deleted file mode 100644 index e1bc22e4..00000000 --- a/python/pykde/sip/kdeui/kseparator.sip +++ /dev/null @@ -1,48 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdeui version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KSeparator : QFrame -{ -%TypeHeaderCode -#include -%End - - -public: - KSeparator (QWidget* /TransferThis/ = 0, const char* = 0, WFlags = 0); - KSeparator (int, QWidget* /TransferThis/ = 0, const char* = 0, WFlags = 0); - int orientation () const; - void setOrientation (int); - virtual QSize sizeHint () const; - -protected: - virtual void drawFrame (QPainter*); - -protected: -//igx virtual void virtual_hook (int, void*); - -}; // class KSeparator - diff --git a/python/pykde/sip/kdeui/ksharedpixmap.sip b/python/pykde/sip/kdeui/ksharedpixmap.sip deleted file mode 100644 index 7cec3f9b..00000000 --- a/python/pykde/sip/kdeui/ksharedpixmap.sip +++ /dev/null @@ -1,62 +0,0 @@ -// -// Copyright 2004 Jim Bublitz -// Earlier copyrights 1998 - 2003 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdeui version KDE_3_3_0 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KSharedPixmap : QWidget, KPixmap -{ -%TypeHeaderCode -#include -#include -#include -#include -#include -%End - - -public: - KSharedPixmap (); - -%If ( KDE_3_1_2 - ) - bool loadFromShared (const QString&, const QRect& = QRect ()); - bool isAvailable (const QString&) const; -%End - - -signals: - void done (bool); - -protected: -//ig bool x11Event (XEvent*); - -public: - -%If ( - KDE_3_1_2 ) - bool loadFromShared (QString, QRect = QRect ()); - bool isAvailable (QString); -%End - - -}; // class KSharedPixmap - diff --git a/python/pykde/sip/kdeui/kshortcutdialog.sip b/python/pykde/sip/kdeui/kshortcutdialog.sip deleted file mode 100644 index 771a09c2..00000000 --- a/python/pykde/sip/kdeui/kshortcutdialog.sip +++ /dev/null @@ -1,53 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdeui version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -%If ( KDE_3_4_0 - ) - -class KShortcutDialog : KDialogBase -{ -%TypeHeaderCode -#include -%End - - -public: - KShortcutDialog (const KShortcut&, bool, QWidget* /TransferThis/ = 0, const char* = 0); - void setShortcut (const KShortcut&); - const KShortcut& shortcut () const; - -protected slots: - void slotDetails (); - void slotSelectPrimary (); - void slotSelectAlternate (); - void slotClearShortcut (); - void slotClearPrimary (); - void slotClearAlternate (); - void slotMultiKeyMode (bool); - -}; // class KShortcutDialog - -%End - diff --git a/python/pykde/sip/kdeui/ksplashscreen.sip b/python/pykde/sip/kdeui/ksplashscreen.sip deleted file mode 100644 index 1598ad42..00000000 --- a/python/pykde/sip/kdeui/ksplashscreen.sip +++ /dev/null @@ -1,42 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdeui version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -%If ( KDE_3_2_0 - ) - -class KSplashScreen : QSplashScreen -{ -%TypeHeaderCode -#include -%End - - -public: - KSplashScreen (const QPixmap&, WFlags = 0); - -}; // class KSplashScreen - -%End - diff --git a/python/pykde/sip/kdeui/ksqueezedtextlabel.sip b/python/pykde/sip/kdeui/ksqueezedtextlabel.sip deleted file mode 100644 index 15a9a571..00000000 --- a/python/pykde/sip/kdeui/ksqueezedtextlabel.sip +++ /dev/null @@ -1,60 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdeui version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KSqueezedTextLabel : QLabel -{ -%TypeHeaderCode -#include -%End - - -public: - KSqueezedTextLabel (QWidget* /TransferThis/, const char* = 0); - KSqueezedTextLabel (const QString&, QWidget* /TransferThis/, const char* = 0); - virtual QSize minimumSizeHint () const; - -%If ( KDE_3_3_0 - ) - virtual QSize sizeHint () const; - -%If ( KDE_3_4_0 - ) - virtual void setAlignment (int); -%End - -%End - - -public slots: - void setText (const QString&); - -protected: - void resizeEvent (QResizeEvent*); - void squeezeTextToLabel (); - -protected: -//igx virtual void virtual_hook (int, void*); - -}; // class KSqueezedTextLabel - diff --git a/python/pykde/sip/kdeui/kstatusbar.sip b/python/pykde/sip/kdeui/kstatusbar.sip deleted file mode 100644 index d4aaf974..00000000 --- a/python/pykde/sip/kdeui/kstatusbar.sip +++ /dev/null @@ -1,82 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdeui version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KStatusBarLabel : QLabel -{ -%TypeHeaderCode -#include -%End - - -public: - KStatusBarLabel (const QString&, int, KStatusBar* /TransferThis/ = 0, const char* = 0); - -protected: - void mousePressEvent (QMouseEvent*); - void mouseReleaseEvent (QMouseEvent*); - -signals: - void itemPressed (int); - void itemReleased (int); - -}; // class KStatusBarLabel - - -class KStatusBar : QStatusBar -{ -%TypeHeaderCode -#include -%End - - -public: - - enum BarStatus - { - Toggle, - Show, - Hide - }; - - KStatusBar (QWidget* /TransferThis/ = 0, const char* = 0); - void insertItem (const QString&, int, int = 0, bool = 0); - void insertFixedItem (const QString&, int, bool = 0); - void removeItem (int); - -%If ( KDE_3_2_0 - ) - bool hasItem (int) const; -%End - - void changeItem (const QString&, int); - void setItemAlignment (int, int); - void setItemFixed (int, int = -1); - -signals: - void pressed (int); - void released (int); - -}; // class KStatusBar - diff --git a/python/pykde/sip/kdeui/kstdaction.sip b/python/pykde/sip/kdeui/kstdaction.sip deleted file mode 100644 index 75bb867d..00000000 --- a/python/pykde/sip/kdeui/kstdaction.sip +++ /dev/null @@ -1,327 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdeui version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - -namespace KStdAction -{ - -%If ( KDE_3_2_0 - ) - -enum StdAction -{ - ActionNone, - New, - Open, - OpenRecent, - Save, - SaveAs, - Revert, - Close, - Print, - PrintPreview, - Mail, - Quit, - Undo, - Redo, - Cut, - Copy, - Paste, - SelectAll, - Deselect, - Find, - FindNext, - FindPrev, - Replace, - ActualSize, - FitToPage, - FitToWidth, - FitToHeight, - ZoomIn, - ZoomOut, - Zoom, - Redisplay, - Up, - Back, - Forward, - Home, - Prior, - Next, - Goto, - GotoPage, - GotoLine, - FirstPage, - LastPage, - AddBookmark, - EditBookmarks, - Spelling, - ShowMenubar, - ShowToolbar, - ShowStatusbar, - SaveOptions, - KeyBindings, - Preferences, - ConfigureToolbars, - Help, - HelpContents, - WhatsThis, - ReportBug, - AboutApp, - AboutKDE, - TipofDay, - ConfigureNotifications, - FullScreen, - Clear, - PasteText -}; - -%End - -KAction* create (KStdAction::StdAction, const char*, SIP_RXOBJ_CON, SIP_SLOT_CON (), KActionCollection* /Transfer/); -const char* name (KStdAction::StdAction); - -%If ( KDE_3_1_0 - ) -QStringList stdNames (); -%End - -KAction* openNew (SIP_RXOBJ_CON, SIP_SLOT_CON (), KActionCollection* /Transfer/, const char* = 0); -KAction* open (SIP_RXOBJ_CON, SIP_SLOT_CON (), KActionCollection* /Transfer/, const char* = 0); -KRecentFilesAction* openRecent (SIP_RXOBJ_CON, SIP_SLOT_CON (), KActionCollection* /Transfer/, const char* = 0); -KAction* save (SIP_RXOBJ_CON, SIP_SLOT_CON (), KActionCollection* /Transfer/, const char* = 0); -KAction* saveAs (SIP_RXOBJ_CON, SIP_SLOT_CON (), KActionCollection* /Transfer/, const char* = 0); -KAction* revert (SIP_RXOBJ_CON, SIP_SLOT_CON (), KActionCollection* /Transfer/, const char* = 0); -KAction* close (SIP_RXOBJ_CON, SIP_SLOT_CON (), KActionCollection* /Transfer/, const char* = 0); -KAction* print (SIP_RXOBJ_CON, SIP_SLOT_CON (), KActionCollection* /Transfer/, const char* = 0) /PyName=print_/; -KAction* printPreview (SIP_RXOBJ_CON, SIP_SLOT_CON (), KActionCollection* /Transfer/, const char* = 0); -KAction* mail (SIP_RXOBJ_CON, SIP_SLOT_CON (), KActionCollection* /Transfer/, const char* = 0); -KAction* quit (SIP_RXOBJ_CON, SIP_SLOT_CON (), KActionCollection* /Transfer/, const char* = 0); -KAction* undo (SIP_RXOBJ_CON, SIP_SLOT_CON (), KActionCollection* /Transfer/, const char* = 0); -KAction* redo (SIP_RXOBJ_CON, SIP_SLOT_CON (), KActionCollection* /Transfer/, const char* = 0); -KAction* cut (SIP_RXOBJ_CON, SIP_SLOT_CON (), KActionCollection* /Transfer/, const char* = 0); -KAction* copy (SIP_RXOBJ_CON, SIP_SLOT_CON (), KActionCollection* /Transfer/, const char* = 0); -KAction* paste (SIP_RXOBJ_CON, SIP_SLOT_CON (), KActionCollection* /Transfer/, const char* = 0); - -%If ( KDE_3_2_0 - ) -KAction* pasteText (SIP_RXOBJ_CON, SIP_SLOT_CON (), KActionCollection*, const char* = 0); -KAction* clear (SIP_RXOBJ_CON, SIP_SLOT_CON (), KActionCollection*, const char* = 0); -%End - -KAction* selectAll (SIP_RXOBJ_CON, SIP_SLOT_CON (), KActionCollection* /Transfer/, const char* = 0); -KAction* deselect (SIP_RXOBJ_CON, SIP_SLOT_CON (), KActionCollection* /Transfer/, const char* = 0); -KAction* find (SIP_RXOBJ_CON, SIP_SLOT_CON (), KActionCollection* /Transfer/, const char* = 0); -KAction* findNext (SIP_RXOBJ_CON, SIP_SLOT_CON (), KActionCollection* /Transfer/, const char* = 0); -KAction* findPrev (SIP_RXOBJ_CON, SIP_SLOT_CON (), KActionCollection* /Transfer/, const char* = 0); -KAction* replace (SIP_RXOBJ_CON, SIP_SLOT_CON (), KActionCollection* /Transfer/, const char* = 0); -KAction* actualSize (SIP_RXOBJ_CON, SIP_SLOT_CON (), KActionCollection* /Transfer/, const char* = 0); -KAction* fitToPage (SIP_RXOBJ_CON, SIP_SLOT_CON (), KActionCollection* /Transfer/, const char* = 0); -KAction* fitToWidth (SIP_RXOBJ_CON, SIP_SLOT_CON (), KActionCollection* /Transfer/, const char* = 0); -KAction* fitToHeight (SIP_RXOBJ_CON, SIP_SLOT_CON (), KActionCollection* /Transfer/, const char* = 0); -KAction* zoomIn (SIP_RXOBJ_CON, SIP_SLOT_CON (), KActionCollection* /Transfer/, const char* = 0); -KAction* zoomOut (SIP_RXOBJ_CON, SIP_SLOT_CON (), KActionCollection* /Transfer/, const char* = 0); -KAction* zoom (SIP_RXOBJ_CON, SIP_SLOT_CON (), KActionCollection* /Transfer/, const char* = 0); -KAction* redisplay (SIP_RXOBJ_CON, SIP_SLOT_CON (), KActionCollection* /Transfer/, const char* = 0); -KAction* up (SIP_RXOBJ_CON, SIP_SLOT_CON (), KActionCollection* /Transfer/, const char* = 0); -KAction* back (SIP_RXOBJ_CON, SIP_SLOT_CON (), KActionCollection* /Transfer/, const char* = 0); -KAction* forward (SIP_RXOBJ_CON, SIP_SLOT_CON (), KActionCollection* /Transfer/, const char* = 0); -KAction* home (SIP_RXOBJ_CON, SIP_SLOT_CON (), KActionCollection* /Transfer/, const char* = 0); -KAction* prior (SIP_RXOBJ_CON, SIP_SLOT_CON (), KActionCollection* /Transfer/, const char* = 0); -KAction* next (SIP_RXOBJ_CON, SIP_SLOT_CON (), KActionCollection* /Transfer/, const char* = 0); -KAction* goTo (SIP_RXOBJ_CON, SIP_SLOT_CON (), KActionCollection* /Transfer/, const char* = 0); -KAction* gotoPage (SIP_RXOBJ_CON, SIP_SLOT_CON (), KActionCollection* /Transfer/, const char* = 0); -KAction* gotoLine (SIP_RXOBJ_CON, SIP_SLOT_CON (), KActionCollection* /Transfer/, const char* = 0); -KAction* firstPage (SIP_RXOBJ_CON, SIP_SLOT_CON (), KActionCollection* /Transfer/, const char* = 0); -KAction* lastPage (SIP_RXOBJ_CON, SIP_SLOT_CON (), KActionCollection* /Transfer/, const char* = 0); -KAction* addBookmark (SIP_RXOBJ_CON, SIP_SLOT_CON (), KActionCollection* /Transfer/, const char* = 0); -KAction* editBookmarks (SIP_RXOBJ_CON, SIP_SLOT_CON (), KActionCollection* /Transfer/, const char* = 0); -KAction* spelling (SIP_RXOBJ_CON, SIP_SLOT_CON (), KActionCollection* /Transfer/, const char* = 0); -KToggleAction* showMenubar (SIP_RXOBJ_CON, SIP_SLOT_CON (), KActionCollection* /Transfer/, const char* = 0); -KToggleAction* showToolbar (SIP_RXOBJ_CON, SIP_SLOT_CON (), KActionCollection* /Transfer/, const char* = 0); - -%If ( KDE_3_1_0 - ) -KToggleToolBarAction* showToolbar (const char*, KActionCollection* /Transfer/, const char* = 0); -%End - -KToggleAction* showStatusbar (SIP_RXOBJ_CON, SIP_SLOT_CON (), KActionCollection* /Transfer/, const char* = 0); - -%If ( KDE_3_2_0 - ) -KToggleFullScreenAction* fullScreen (SIP_RXOBJ_CON, SIP_SLOT_CON (), KActionCollection*, QWidget*, const char* = 0); -%End - -KAction* saveOptions (SIP_RXOBJ_CON, SIP_SLOT_CON (), KActionCollection* /Transfer/, const char* = 0); -KAction* keyBindings (SIP_RXOBJ_CON, SIP_SLOT_CON (), KActionCollection* /Transfer/, const char* = 0); -KAction* preferences (SIP_RXOBJ_CON, SIP_SLOT_CON (), KActionCollection* /Transfer/, const char* = 0); -KAction* configureToolbars (SIP_RXOBJ_CON, SIP_SLOT_CON (), KActionCollection* /Transfer/, const char* = 0); - -%If ( KDE_3_1_0 - ) -KAction* configureNotifications (SIP_RXOBJ_CON, SIP_SLOT_CON (), KActionCollection* /Transfer/, const char* = 0); -%End - -KAction* help (SIP_RXOBJ_CON, SIP_SLOT_CON (), KActionCollection* /Transfer/, const char* = 0); -KAction* helpContents (SIP_RXOBJ_CON, SIP_SLOT_CON (), KActionCollection* /Transfer/, const char* = 0); -KAction* whatsThis (SIP_RXOBJ_CON, SIP_SLOT_CON (), KActionCollection* /Transfer/, const char* = 0); - -%If ( KDE_3_1_0 - ) -KAction* tipOfDay (SIP_RXOBJ_CON, SIP_SLOT_CON (), KActionCollection* /Transfer/, const char* = 0); -%End - -KAction* reportBug (SIP_RXOBJ_CON, SIP_SLOT_CON (), KActionCollection* /Transfer/, const char* = 0); -KAction* aboutApp (SIP_RXOBJ_CON, SIP_SLOT_CON (), KActionCollection* /Transfer/, const char* = 0); -KAction* aboutKDE (SIP_RXOBJ_CON, SIP_SLOT_CON (), KActionCollection* /Transfer/, const char* = 0); - -%If ( KDE_3_1_0 - KDE_3_2_0 ) - -enum StdAction -{ - ActionNone, - New, - Open, - OpenRecent, - Save, - SaveAs, - Revert, - Close, - Print, - PrintPreview, - Mail, - Quit, - Undo, - Redo, - Cut, - Copy, - Paste, - SelectAll, - Deselect, - Find, - FindNext, - FindPrev, - Replace, - ActualSize, - FitToPage, - FitToWidth, - FitToHeight, - ZoomIn, - ZoomOut, - Zoom, - Redisplay, - Up, - Back, - Forward, - Home, - Prior, - Next, - Goto, - GotoPage, - GotoLine, - FirstPage, - LastPage, - AddBookmark, - EditBookmarks, - Spelling, - ShowMenubar, - ShowToolbar, - ShowStatusbar, - SaveOptions, - KeyBindings, - Preferences, - ConfigureToolbars, - Help, - HelpContents, - WhatsThis, - ReportBug, - AboutApp, - AboutKDE, - TipofDay, - ConfigureNotifications -}; - -%End - - -%If ( - KDE_3_1_0 ) - -enum StdAction -{ - ActionNone, - New, - Open, - OpenRecent, - Save, - SaveAs, - Revert, - Close, - Print, - PrintPreview, - Mail, - Quit, - Undo, - Redo, - Cut, - Copy, - Paste, - SelectAll, - Deselect, - Find, - FindNext, - FindPrev, - Replace, - ActualSize, - FitToPage, - FitToWidth, - FitToHeight, - ZoomIn, - ZoomOut, - Zoom, - Redisplay, - Up, - Back, - Forward, - Home, - Prior, - Next, - Goto, - GotoPage, - GotoLine, - FirstPage, - LastPage, - AddBookmark, - EditBookmarks, - Spelling, - ShowMenubar, - ShowToolbar, - ShowStatusbar, - SaveOptions, - KeyBindings, - Preferences, - ConfigureToolbars, - Help, - HelpContents, - WhatsThis, - ReportBug, - AboutApp, - AboutKDE -}; - -%End - -}; // namespace KStdAction - diff --git a/python/pykde/sip/kdeui/kstdguiitem.sip b/python/pykde/sip/kdeui/kstdguiitem.sip deleted file mode 100644 index 3d9a3fba..00000000 --- a/python/pykde/sip/kdeui/kstdguiitem.sip +++ /dev/null @@ -1,352 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdeui version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KStdGuiItem -{ -%TypeHeaderCode -#include -%End - - -public: - - enum BidiMode - { - UseRTL, - IgnoreRTL - }; - - -%If ( KDE_3_5_0 - ) - - enum StdItem - { - Ok, - Cancel, - Yes, - No, - Discard, - Save, - DontSave, - SaveAs, - Apply, - Clear, - Help, - Defaults, - Close, - Back, - Forward, - Print, - Continue, - Open, - Quit, - AdminMode, - Reset, - Delete, - Insert, - Configure, - Find, - Stop, - Add, - Remove, - Test, - Properties, - Overwrite - }; - -%End - - static KGuiItem guiItem (KStdGuiItem::StdItem); - static QString stdItem (KStdGuiItem::StdItem); - static KGuiItem ok (); - static KGuiItem cancel (); - static KGuiItem yes (); - static KGuiItem no (); - -%If ( KDE_3_3_0 - ) - static KGuiItem insert (); -%End - - static KGuiItem discard (); - static KGuiItem save (); - static KGuiItem help (); - static KGuiItem dontSave (); - static KGuiItem saveAs (); - static KGuiItem apply (); - static KGuiItem clear (); - static KGuiItem defaults (); - static KGuiItem close (); - static KGuiItem print () /PyName=print_/; - -%If ( KDE_3_4_0 - ) - static KGuiItem properties (); -%End - - -%If ( KDE_3_3_0 - ) - static KGuiItem reset (); - -%If ( KDE_3_5_0 - ) - static KGuiItem overwrite (); -%End - - static KGuiItem adminMode (); -%End - - static KGuiItem cont (); - -%If ( KDE_3_3_0 - ) - static KGuiItem del (); -%End - - -%If ( KDE_3_2_0 - ) - static KGuiItem open (); -%End - - static KGuiItem back (KStdGuiItem::BidiMode = IgnoreRTL ); - static KGuiItem forward (KStdGuiItem::BidiMode = IgnoreRTL ); - -%If ( KDE_3_4_0 - ) - static KGuiItem configure (); -%End - - static QPair backAndForward (); - -%If ( KDE_3_2_0 - ) - static KGuiItem quit (); - -%If ( KDE_3_4_0 - ) - static KGuiItem find (); - static KGuiItem stop (); - static KGuiItem add (); - static KGuiItem remove (); - static KGuiItem test (); -%End - -%End - - -public: - -%If ( KDE_3_4_0 - KDE_3_5_0 ) - - enum StdItem - { - Ok, - Cancel, - Yes, - No, - Discard, - Save, - DontSave, - SaveAs, - Apply, - Clear, - Help, - Defaults, - Close, - Back, - Forward, - Print, - Continue, - Open, - Quit, - AdminMode, - Reset, - Delete, - Insert, - Configure, - Find, - Stop, - Add, - Remove, - Test, - Properties - }; - -%End - - -public: - -%If ( KDE_3_3_0 - KDE_3_4_0 ) - - enum StdItem - { - Ok, - Cancel, - Yes, - No, - Discard, - Save, - DontSave, - SaveAs, - Apply, - Clear, - Help, - Defaults, - Close, - Back, - Forward, - Print, - Continue, - Open, - Quit, - AdminMode, - Reset, - Delete, - Insert - }; - -%End - - -public: - -%If ( KDE_3_2_0 - KDE_3_3_0 ) - - enum StdItem - { - Ok, - Cancel, - Yes, - No, - Discard, - Save, - DontSave, - SaveAs, - Apply, - Clear, - Help, - Defaults, - Close, - Back, - Forward, - Print, - Continue, - Open, - Quit - }; - -%End - - -public: - -%If ( - KDE_3_2_0 ) - - enum StdItem - { - Ok, - Cancel, - Yes, - No, - Discard, - Save, - DontSave, - SaveAs, - Apply, - Clear, - Help, - Defaults, - Close, - Back, - Forward, - Print, - Continue - }; - -%End - - -}; // class KStdGuiItem - - - -%MappedType QPair -//converts a Python tuple (KGuiItem,KGuiItem) -{ -%TypeHeaderCode -#include -#include -%End - -%ConvertFromTypeCode - if (!sipCpp) - return PyTuple_New(0); - - // Create the tuple - PyObject *pytuple; - if ((pytuple = PyTuple_New(0)) == NULL) - return NULL; - - QPair *cpp = (QPair *)sipCpp; - PyObject *inst = NULL; - - // Get it. - KGuiItem g1 = (*cpp).first; - KGuiItem g2 = (*cpp).second; - PyObject *pyg1 = sipBuildResult (NULL, "N", new KGuiItem (g1), sipClass_KGuiItem); - PyObject *pyg2 = sipBuildResult (NULL, "N", new KGuiItem (g2), sipClass_KGuiItem); - if ((pyg1 == NULL) || (pyg2 == NULL) || ((inst = Py_BuildValue ("NN", pyg1, pyg2)) == NULL)) - { - Py_XDECREF (inst); - Py_XDECREF (pyg1); - Py_XDECREF (pyg2); - return NULL; - } - - return inst; -%End - - -%ConvertToTypeCode - if (sipIsErr == NULL) - return PyTuple_Check(sipPy); - - KGuiItem g1, g2; - int iserr = 0; - - PyObject *pyg1 = PyTuple_GET_ITEM (sipPy, 0); - PyObject *pyg2 = PyTuple_GET_ITEM (sipPy, 1); - g1 = *(KGuiItem *)sipForceConvertTo_KGuiItem (pyg1, &iserr); - g2 = *(KGuiItem *)sipForceConvertTo_KGuiItem (pyg2, &iserr); - - if (iserr) - { - *sipIsErr = 1; - return 0; - } - - - *sipCppPtr = new QPair (g1, g2); - - return 1; -%End -}; - - diff --git a/python/pykde/sip/kdeui/kstringvalidator.sip b/python/pykde/sip/kdeui/kstringvalidator.sip deleted file mode 100644 index a0a66a4a..00000000 --- a/python/pykde/sip/kdeui/kstringvalidator.sip +++ /dev/null @@ -1,63 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdeui version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KStringListValidator : QValidator -{ -%TypeHeaderCode -#include -%End - - -public: - KStringListValidator (const QStringList& = QStringList (), bool = 1, bool = 0, QObject* /TransferThis/ = 0, const char* = 0); - virtual State validate (QString&, int&) const; - virtual void fixup (QString&) const; - void setRejecting (bool); - bool isRejecting () const; - void setFixupEnabled (bool); - bool isFixupEnabled () const; - void setStringList (const QStringList&); - QStringList stringList () const; - -protected: - -}; // class KStringListValidator - - -class KMimeTypeValidator : QValidator -{ -%TypeHeaderCode -#include -%End - - -public: - KMimeTypeValidator (QObject* /TransferThis/, const char* = 0); - virtual State validate (QString&, int&) const; - virtual void fixup (QString&) const; - -}; // class KMimeTypeValidator - diff --git a/python/pykde/sip/kdeui/ksystemtray.sip b/python/pykde/sip/kdeui/ksystemtray.sip deleted file mode 100644 index 853f8bc2..00000000 --- a/python/pykde/sip/kdeui/ksystemtray.sip +++ /dev/null @@ -1,84 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdeui version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KSystemTray : QLabel -{ -%TypeHeaderCode -#include -%End - - -public: - KSystemTray (QWidget* /TransferThis/ = 0, const char* = 0); - -%If ( KDE_3_2_0 - ) - KPopupMenu* contextMenu () const; - KActionCollection* actionCollection (); - -%If ( KDE_3_4_0 - ) - virtual void setPixmap (const QPixmap&); - virtual void setCaption (const QString&); -%End - - static QPixmap loadIcon (const QString&, KInstance* = KGlobal ::instance ()); -%End - - -signals: - -%If ( KDE_3_1_0 - ) - void quitSelected (); -%End - - -public slots: - -%If ( KDE_3_3_0 - ) - void toggleActive (); - void setActive (); - void setInactive (); -%End - - -protected: - void mousePressEvent (QMouseEvent*); - void mouseReleaseEvent (QMouseEvent*); - virtual void contextMenuAboutToShow (KPopupMenu*); - void showEvent (QShowEvent*); - void enterEvent (QEvent*); - -protected: -//igx virtual void virtual_hook (int, void*); - -protected: - -%If ( - KDE_3_2_0 ) - KPopupMenu* contextMenu (); -%End - - -}; // class KSystemTray - diff --git a/python/pykde/sip/kdeui/ktabbar.sip b/python/pykde/sip/kdeui/ktabbar.sip deleted file mode 100644 index 6b540bb1..00000000 --- a/python/pykde/sip/kdeui/ktabbar.sip +++ /dev/null @@ -1,98 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdeui version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -%If ( KDE_3_2_0 - ) - -class KTabBar : QTabBar -{ -%TypeHeaderCode -#include -%End - - -public: - KTabBar (QWidget* /TransferThis/ = 0, const char* = 0); - virtual void setTabEnabled (int, bool); - const QColor& tabColor (int) const; - void setTabColor (int, const QColor&); - -%If ( KDE_3_3_0 - ) - virtual int insertTab (QTab*, int = -1); -%End - - virtual void removeTab (QTab*); - void setTabReorderingEnabled (bool); - bool isTabReorderingEnabled () const; - void setHoverCloseButton (bool); - bool hoverCloseButton () const; - void setHoverCloseButtonDelayed (bool); - bool hoverCloseButtonDelayed () const; - -%If ( KDE_3_3_0 - ) - void setTabCloseActivatePrevious (bool); - bool tabCloseActivatePrevious () const; -%End - - -signals: - void contextMenu (int, const QPoint&); - void mouseDoubleClick (int); - void mouseMiddleClick (int); - void initiateDrag (int); -//ig void testCanDecode (const QDragMoveEvent*, bool&); - void receivedDropEvent (int, QDropEvent*); - void moveTab (int, int); - void closeRequest (int); - -%If ( KDE_3_3_0 - ) - void wheelDelta (int); -%End - - -protected: - virtual void mouseDoubleClickEvent (QMouseEvent*); - virtual void mousePressEvent (QMouseEvent*); - virtual void mouseMoveEvent (QMouseEvent*); - virtual void mouseReleaseEvent (QMouseEvent*); - -%If ( KDE_3_3_0 - ) - virtual void wheelEvent (QWheelEvent*); -%End - - virtual void dragMoveEvent (QDragMoveEvent*); - virtual void dropEvent (QDropEvent*); - virtual void paintLabel (QPainter*, const QRect&, QTab*, bool) const; - -protected slots: - virtual void closeButtonClicked (); - virtual void onLayoutChange (); - virtual void enableCloseButton (); - virtual void activateDragSwitchTab (); - -}; // class KTabBar - -%End - diff --git a/python/pykde/sip/kdeui/ktabctl.sip b/python/pykde/sip/kdeui/ktabctl.sip deleted file mode 100644 index f1325afb..00000000 --- a/python/pykde/sip/kdeui/ktabctl.sip +++ /dev/null @@ -1,64 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdeui version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KTabCtl : QWidget -{ -%TypeHeaderCode -#include -%End - - -public: - KTabCtl (QWidget* /TransferThis/ = 0, const char* = 0); - void show (); - void setFont (const QFont&); - void setTabFont (const QFont&); - void addTab (QWidget*, const QString&); - bool isTabEnabled (const QString&); - void setTabEnabled (const QString&, bool); - void setBorder (bool); - void setShape (QTabBar::Shape); - virtual QSize sizeHint () const; - -protected: - void paintEvent (QPaintEvent*); - void resizeEvent (QResizeEvent*); - -signals: - void tabSelected (int); - -protected slots: - void showTab (int); - -protected: - void setSizes (); - QRect getChildRect () const; - -protected: -//igx virtual void virtual_hook (int, void*); - -}; // class KTabCtl - diff --git a/python/pykde/sip/kdeui/ktabwidget.sip b/python/pykde/sip/kdeui/ktabwidget.sip deleted file mode 100644 index 3a66cbf0..00000000 --- a/python/pykde/sip/kdeui/ktabwidget.sip +++ /dev/null @@ -1,144 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdeui version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -%If ( KDE_3_2_0 - ) - -class KTabWidget : QTabWidget -{ -%TypeHeaderCode -#include -%End - - -public: - KTabWidget (QWidget* /TransferThis/ = 0, const char* = 0, WFlags = 0); - void setTabColor (QWidget*, const QColor&); - QColor tabColor (QWidget*) const; - bool isTabReorderingEnabled () const; - bool hoverCloseButton () const; - bool hoverCloseButtonDelayed () const; - -%If ( KDE_3_3_0 - ) - bool tabCloseActivatePrevious () const; - -%If ( KDE_3_4_0 - ) - bool automaticResizeTabs () const; - void setTabBarHidden (bool); - bool isTabBarHidden () const; - virtual void insertTab (QWidget*, const QString&, int = -1); - virtual void insertTab (QWidget*, const QIconSet&, const QString&, int = -1); - virtual void insertTab (QWidget*, QTab*, int = -1); - void changeTab (QWidget*, const QString&); - void changeTab (QWidget*, const QIconSet&, const QString&); - QString label (int) const; - QString tabLabel (QWidget*) const; - void setTabLabel (QWidget*, const QString&); -%End - -%End - - -public slots: - virtual void moveTab (int, int); - -%If ( KDE_3_4_0 - ) - virtual void removePage (QWidget*); -%End - - void setTabReorderingEnabled (bool); - void setHoverCloseButton (bool); - void setHoverCloseButtonDelayed (bool); - -%If ( KDE_3_3_0 - ) - void setTabCloseActivatePrevious (bool); - -%If ( KDE_3_4_0 - ) - void setAutomaticResizeTabs (bool); -%End - -%End - - -signals: -//ig void testCanDecode (const QDragMoveEvent*, bool&); - void receivedDropEvent (QDropEvent*); - void receivedDropEvent (QWidget*, QDropEvent*); - void initiateDrag (QWidget*); -//ig void contextMenu (const QPoint&); - void contextMenu (QWidget*, const QPoint&); - void movedTab (int, int); - -%If ( KDE_3_3_0 - ) - void mouseDoubleClick (); -%End - - void mouseDoubleClick (QWidget*); - void mouseMiddleClick (); - void mouseMiddleClick (QWidget*); - void closeRequest (QWidget*); - -protected: - -%If ( KDE_3_3_0 - ) - virtual void mouseDoubleClickEvent (QMouseEvent*); -%End - - virtual void mousePressEvent (QMouseEvent*); - virtual void dragMoveEvent (QDragMoveEvent*); - virtual void dropEvent (QDropEvent*); - -%If ( KDE_3_4_0 - ) - uint tabBarWidthForMaxChars (uint); -%End - - -%If ( KDE_3_3_0 - ) - virtual void wheelEvent (QWheelEvent*); - -%If ( KDE_3_4_0 - ) - virtual void resizeEvent (QResizeEvent*); -%End - -%End - - -protected slots: -//ig virtual void receivedDropEvent (int, QDropEvent*); -//ig virtual void initiateDrag (int); -//ig virtual void contextMenu (int, const QPoint&); -//ig virtual void mouseDoubleClick (int); -//ig virtual void mouseMiddleClick (int); -//ig virtual void closeRequest (int); - -%If ( KDE_3_3_0 - ) - virtual void wheelDelta (int); -%End - - -}; // class KTabWidget - -%End - diff --git a/python/pykde/sip/kdeui/ktextbrowser.sip b/python/pykde/sip/kdeui/ktextbrowser.sip deleted file mode 100644 index b6d981ef..00000000 --- a/python/pykde/sip/kdeui/ktextbrowser.sip +++ /dev/null @@ -1,58 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdeui version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KTextBrowser : QTextBrowser -{ -%TypeHeaderCode -#include -%End - - -public: - KTextBrowser (QWidget* /TransferThis/ = 0, const char* = 0, bool = 0); - void setNotifyClick (bool); - bool isNotifyClick () const; - -protected: - void setSource (const QString&); - virtual void keyPressEvent (QKeyEvent*); - virtual void viewportMouseMoveEvent (QMouseEvent*); - virtual void contentsWheelEvent (QWheelEvent*); - -%If ( KDE_3_3_0 - ) - virtual QPopupMenu* createPopupMenu (const QPoint&); -%End - - -signals: - void mailClick (const QString&, const QString&); - void urlClick (const QString&); - -protected: -//igx virtual void virtual_hook (int, void*); - -}; // class KTextBrowser - diff --git a/python/pykde/sip/kdeui/ktextedit.sip b/python/pykde/sip/kdeui/ktextedit.sip deleted file mode 100644 index fac0335e..00000000 --- a/python/pykde/sip/kdeui/ktextedit.sip +++ /dev/null @@ -1,83 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdeui version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -%If ( KDE_3_1_0 - ) - -class KTextEdit : QTextEdit -{ -%TypeHeaderCode -#include -%End - - -public: - KTextEdit (const QString&, const QString& = QString ::null , QWidget* /TransferThis/ = 0, const char* = 0); - KTextEdit (QWidget* /TransferThis/ = 0, const char* = 0); - virtual void setReadOnly (bool); - -%If ( KDE_3_1_1 - ) - virtual void setPalette (const QPalette&); - -%If ( KDE_3_2_0 - ) - void setCheckSpellingEnabled (bool); - bool checkSpellingEnabled () const; - void highLightWord (uint, uint); -%End - -%End - - -public slots: - -%If ( KDE_3_2_0 - ) - void checkSpelling (); -%End - - -protected: - virtual void keyPressEvent (QKeyEvent*); - -%If ( KDE_3_2_0 - ) - virtual void focusInEvent (QFocusEvent*); -%End - - virtual void contentsWheelEvent (QWheelEvent*); - virtual void deleteWordBack (); - virtual void deleteWordForward (); - -%If ( KDE_3_2_0 - ) - virtual QPopupMenu* createPopupMenu (const QPoint&); - virtual QPopupMenu* createPopupMenu (); -%End - - -protected: -//ig virtual void virtual_hook (int, void*); - -}; // class KTextEdit - -%End - diff --git a/python/pykde/sip/kdeui/kthemebase.sip b/python/pykde/sip/kdeui/kthemebase.sip deleted file mode 100644 index 039319ed..00000000 --- a/python/pykde/sip/kdeui/kthemebase.sip +++ /dev/null @@ -1,258 +0,0 @@ -// -// Copyright 2003 Jim Bublitz -// Earlier copyrights 1998 - 2002 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdeui version KDE_3_1_1 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KThemePixmap : KPixmap -{ -%TypeHeaderCode -#include -%End - - -public: - - enum BorderType - { - Top = 0, - Bottom, - Left, - Right, - TopLeft, - TopRight, - BottomLeft, - BottomRight - }; - - KThemePixmap (bool = 1); - KThemePixmap (const KThemePixmap&); - QPixmap* border (KThemePixmap::BorderType); - void setBorder (KThemePixmap::BorderType, const QPixmap&); - void updateAccessed (); - bool isOld (); - -protected: - -}; // class KThemePixmap - - -class KThemeCache : QObject -{ -%TypeHeaderCode -#include -%End - - -public: - - enum ScaleHint - { - FullScale, - HorizontalScale, - VerticalScale - }; - - KThemeCache (int, QObject*/TransferThis/ = 0, const char* = 0); - bool insert (KThemePixmap*, KThemeCache::ScaleHint, int, bool = 0, bool = 0); - KThemePixmap* pixmap (int, int, int, bool = 0, bool = 0); - KThemePixmap* horizontalPixmap (int, int); - KThemePixmap* verticalPixmap (int, int); - -protected slots: - void flushTimeout (); - -protected: - -}; // class KThemeCache - - -class KThemeBase : KStyle -{ -%TypeHeaderCode -#include -%End - - -public: - KThemeBase (const QString&); - - enum ScaleHint - { - FullScale, - HorizontalScale, - VerticalScale, - TileScale - }; - - - enum ArrowStyle - { - MotifArrow, - LargeArrow, - SmallArrow - }; - - - enum ShadeStyle - { - Motif, - Windows, - Next, - KDE - }; - - - enum SButton - { - SBBottomLeft, - SBBottomRight, - SBOpposite - }; - - - enum Gradient - { - GrNone, - GrHorizontal, - GrVertical, - GrDiagonal, - GrPyramid, - GrRectangle, - GrElliptic, - GrReverseBevel - }; - - - enum WidgetType - { - PushButton = 0, - ComboBox, - HScrollBarSlider, - VScrollBarSlider, - Bevel, - ToolButton, - ScrollButton, - HScrollDeco, - VScrollDeco, - ComboDeco, - MenuItem, - InactiveTab, - ArrowUp, - ArrowDown, - ArrowLeft, - ArrowRight, - PushButtonDown, - ComboBoxDown, - HScrollBarSliderDown, - VScrollBarSliderDown, - BevelDown, - ToolButtonDown, - ScrollButtonDown, - HScrollDecoDown, - VScrollDecoDown, - ComboDecoDown, - MenuItemDown, - ActiveTab, - SunkenArrowUp, - SunkenArrowDown, - SunkenArrowLeft, - SunkenArrowRight, - HScrollGroove, - VScrollGroove, - Slider, - SliderGroove, - IndicatorOn, - IndicatorOff, - ExIndicatorOn, - ExIndicatorOff, - HBarHandle, - VBarHandle, - ToolBar, - Splitter, - CheckMark, - MenuBar, - DisArrowUp, - DisArrowDown, - DisArrowLeft, - DisArrowRight, - ProgressBar, - ProgressBg, - MenuBarItem, - Background - }; - - ScaleHint scaleHint (KThemeBase::WidgetType) const; - Gradient gradientHint (KThemeBase::WidgetType) const; - const QColorGroup* colorGroup (const QColorGroup&, KThemeBase::WidgetType) const; - QBrush pixmapBrush (const QColorGroup&, QColorGroup::ColorRole, int, int, KThemeBase::WidgetType); - bool isPixmap (KThemeBase::WidgetType) const; - bool isColor (KThemeBase::WidgetType) const; - bool is3DFocus () const; - int focusOffset () const; - int borderWidth (KThemeBase::WidgetType) const; - int pixBorderWidth (KThemeBase::WidgetType) const; - KThemePixmap* borderPixmap (KThemeBase::WidgetType); - int highlightWidth (KThemeBase::WidgetType) const; - int decoWidth (KThemeBase::WidgetType) const; - int getSBExtent () const; - SButton scrollBarLayout () const; - ArrowStyle arrowType () const; - ShadeStyle shade () const; - int frameWidth () const; - int splitWidth () const; - int bevelContrast (KThemeBase::WidgetType) const; - int buttonXShift () const; - int buttonYShift () const; - int sliderButtonLength () const; - bool roundButton () const; - bool roundComboBox () const; - bool roundSlider () const; - bool activeTabLine () const; - bool inactiveTabLine () const; - KThemePixmap* uncached (KThemeBase::WidgetType) const; - virtual KThemePixmap* scalePixmap (int, int, KThemeBase::WidgetType); - static void applyConfigFile (const QString&); - -protected: - QImage* image (KThemeBase::WidgetType) const; - QColor* gradientHigh (KThemeBase::WidgetType) const; - QColor* gradientLow (KThemeBase::WidgetType) const; - void readConfig (Qt::GUIStyle = Qt::WindowsStyle); -//ig void readWidgetConfig (int, KConfig*, QString*, QString*, bool*); - void copyWidgetConfig (int, int, QString*, QString*); - QColorGroup* makeColorGroup (QColor&, QColor&, Qt::GUIStyle = Qt::WindowsStyle); - KThemePixmap* scale (int, int, KThemeBase::WidgetType); - KThemePixmap* scaleBorder (int, int, KThemeBase::WidgetType); - KThemePixmap* gradient (int, int, KThemeBase::WidgetType); - KThemePixmap* blend (KThemeBase::WidgetType); - void generateBorderPix (int); - void applyResourceGroup (KConfig*, int); - void applyMiscResourceGroup (KConfig*); - void readResourceGroup (int, QString*, QString*, bool*); - void readMiscResourceGroup (); - KThemePixmap* loadPixmap (QString&); - QImage* loadImage (QString&); - -}; // class KThemeBase - diff --git a/python/pykde/sip/kdeui/kthemestyle.sip b/python/pykde/sip/kdeui/kthemestyle.sip deleted file mode 100644 index d1136cf4..00000000 --- a/python/pykde/sip/kdeui/kthemestyle.sip +++ /dev/null @@ -1,89 +0,0 @@ -// -// Copyright 2003 Jim Bublitz -// Earlier copyrights 1998 - 2002 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdeui version KDE_3_1_1 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KThemeStyle : KThemeBase -{ -%TypeHeaderCode -#include -%End - - -public: - KThemeStyle (const QString& = QString::null); - virtual void polish (QWidget*); - virtual void unPolish (QWidget*); - virtual void polish (QApplication*); - virtual void unPolish (QApplication*); - virtual void polish (QPalette&); - virtual void drawBaseButton (QPainter*, int, int, int, int, const QColorGroup&, bool = 0, bool = 0, WidgetType = Bevel, const QBrush* = 0); - virtual void drawBaseMask (QPainter*, int, int, int, int, bool); - virtual void drawButton (QPainter*, int, int, int, int, const QColorGroup&, bool = 0, const QBrush* = 0); - virtual void drawBevelButton (QPainter*, int, int, int, int, const QColorGroup&, bool = 0, const QBrush* = 0); - virtual void drawKToolBarButton (QPainter*, int, int, int, int, const QColorGroup&, bool = 0, bool = 1, bool = 1, bool = 0, KToolButtonType = Icon, const QString& = QString::null, const QPixmap* = 0, QFont* = 0, QWidget* = 0); - void drawKBarHandle (QPainter*, int, int, int, int, const QColorGroup&, KToolBarPos, QBrush* = 0); - void drawKToolBar (QPainter*, int, int, int, int, const QColorGroup&, KToolBarPos, QBrush* = 0); - virtual QRect buttonRect (int, int, int, int); - virtual void drawArrow (QPainter*, Qt::ArrowType, bool, int, int, int, int, const QColorGroup&, bool = 1, const QBrush* = 0); - virtual QSize exclusiveIndicatorSize () const; - virtual void drawExclusiveIndicator (QPainter*, int, int, int, int, const QColorGroup&, bool, bool = 0, bool = 1); - virtual void drawExclusiveIndicatorMask (QPainter*, int, int, int, int, bool); - virtual void drawIndicatorMask (QPainter*, int, int, int, int, int); - virtual void drawButtonMask (QPainter*, int, int, int, int); - virtual void drawComboButtonMask (QPainter*, int, int, int, int); - virtual QSize indicatorSize () const; - virtual void drawIndicator (QPainter*, int, int, int, int, const QColorGroup&, int, bool = 0, bool = 1); - virtual void drawComboButton (QPainter*, int, int, int, int, const QColorGroup&, bool = 0, bool = 0, bool = 1, const QBrush* = 0); - virtual void drawPushButton (QPushButton*, QPainter*); -//ig virtual void getButtonShift (int&, int&); - virtual int defaultFrameWidth () const; -//ig virtual void scrollBarMetrics (const QScrollBar*, int&, int&, int&, int&); - virtual void drawScrollBarControls (QPainter*, const QScrollBar*, int, uint, uint); - virtual ScrollControl scrollBarPointOver (const QScrollBar*, int, const QPoint&); - virtual int sliderLength () const; - virtual void drawSlider (QPainter*, int, int, int, int, const QColorGroup&, Orientation, bool, bool); - void drawSliderGroove (QPainter*, int, int, int, int, const QColorGroup&, QCOORD, Orientation); - virtual void drawSliderMask (QPainter*, int, int, int, int, Orientation, bool, bool); - virtual void drawScrollBarGroove (QPainter*, const QScrollBar*, bool, QRect, QColorGroup); - virtual void drawShade (QPainter*, int, int, int, int, const QColorGroup&, bool, bool, int, int, ShadeStyle); - virtual void drawPushButtonLabel (QPushButton*, QPainter*); - void drawKMenuBar (QPainter*, int, int, int, int, const QColorGroup&, bool, QBrush* = 0); -//ig virtual void drawKMenuItem (QPainter*, int, int, int, int, const QColorGroup&, bool, QMenuItem*, QBrush* = 0); - virtual int splitterWidth () const; - virtual void drawSplitter (QPainter*, int, int, int, int, const QColorGroup&, Orientation); - virtual void drawCheckMark (QPainter*, int, int, int, int, const QColorGroup&, bool, bool); -//ig virtual void drawPopupMenuItem (QPainter*, bool, int, int, QMenuItem*, const QPalette&, bool, bool, int, int, int, int); -//ig int popupMenuItemHeight (bool, QMenuItem*, const QFontMetrics&); - void drawFocusRect (QPainter*, const QRect&, const QColorGroup&, const QColor* = 0, bool = 0); - virtual void drawKProgressBlock (QPainter*, int, int, int, int, const QColorGroup&, QBrush*); - virtual void getKProgressBackground (const QColorGroup&, QBrush&); -//ig virtual void tabbarMetrics (const QTabBar*, int&, int&, int&); - virtual void drawTab (QPainter*, const QTabBar*, QTab*, bool); - virtual void drawTabMask (QPainter*, const QTabBar*, QTab*, bool); - -protected: - -}; // class KThemeStyle - diff --git a/python/pykde/sip/kdeui/ktimewidget.sip b/python/pykde/sip/kdeui/ktimewidget.sip deleted file mode 100644 index 6c94968a..00000000 --- a/python/pykde/sip/kdeui/ktimewidget.sip +++ /dev/null @@ -1,50 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdeui version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -%If ( KDE_3_2_0 - ) - -class KTimeWidget : QWidget -{ -%TypeHeaderCode -#include -%End - - -public: - KTimeWidget (QWidget* /TransferThis/ = 0, const char* = 0); - KTimeWidget (const QTime&, QWidget* /TransferThis/ = 0, const char* = 0); - QTime time () const; - -public slots: - void setTime (const QTime&); - -signals: - void valueChanged (const QTime&); - -}; // class KTimeWidget - -%End - diff --git a/python/pykde/sip/kdeui/ktimezonewidget.sip b/python/pykde/sip/kdeui/ktimezonewidget.sip deleted file mode 100644 index 76727389..00000000 --- a/python/pykde/sip/kdeui/ktimezonewidget.sip +++ /dev/null @@ -1,45 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdeui version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -%If ( KDE_3_5_0 - ) - -class KTimezoneWidget : KListView -{ -%TypeHeaderCode -#include -%End - - -public: - KTimezoneWidget (QWidget* /TransferThis/ = 0, const char* = 0, KTimezones* = 0); - QStringList selection () const; - void setSelected (const QString&, bool); - static QString displayName (const KTimezone*); - -}; // class KTimezoneWidget - -%End - diff --git a/python/pykde/sip/kdeui/ktip.sip b/python/pykde/sip/kdeui/ktip.sip deleted file mode 100644 index 124c82b1..00000000 --- a/python/pykde/sip/kdeui/ktip.sip +++ /dev/null @@ -1,82 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdeui version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KTipDatabase -{ -%TypeHeaderCode -#include -%End - - -public: - KTipDatabase (const QString& = QString ::null ); - -%If ( KDE_3_2_0 - ) - KTipDatabase (const QStringList&); -%End - - QString tip () const; - void nextTip (); - void prevTip (); - -}; // class KTipDatabase - - -class KTipDialog : KDialog -{ -%TypeHeaderCode -#include -%End - - -public: - -%If ( KDE_3_1_0 - ) - KTipDialog (KTipDatabase*, QWidget* /TransferThis/ = 0, const char* = 0); -%End - - static void showTip (QWidget* /Transfer/, const QString& = QString ::null , bool = 0); - -%If ( KDE_3_2_0 - ) - static void showMultiTip (QWidget* /Transfer/, const QStringList&, bool = 0); -%End - - static void showTip (const QString& = QString ::null , bool = 0); - static void setShowOnStart (bool); - -protected: - bool eventFilter (QObject*, QEvent*); -//igx virtual void virtual_hook (int, void*); - -protected: - -%If ( - KDE_3_1_0 ) - KTipDialog (KTipDatabase*, QWidget* /TransferThis/ = 0, const char* = 0); -%End - - -}; // class KTipDialog - diff --git a/python/pykde/sip/kdeui/ktmainwindow.sip b/python/pykde/sip/kdeui/ktmainwindow.sip deleted file mode 100644 index 01787f4d..00000000 --- a/python/pykde/sip/kdeui/ktmainwindow.sip +++ /dev/null @@ -1,53 +0,0 @@ -// -// Copyright 2003 Jim Bublitz -// Earlier copyrights 1998 - 2002 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdeui version KDE_3_1_1 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KTMainWindow : KMainWindow -{ -%TypeHeaderCode -#include -%End - - -public: - KTMainWindow (const char* = 0, WFlags = WDestructiveClose); - void setView (QWidget*, bool = 0); - QWidget* view () const; - void enableStatusBar (KStatusBar::BarStatus = KStatusBar::Toggle); - void enableToolBar (KToolBar::BarStatus = KToolBar::Toggle, int = 0); - void setEnableToolBar (KToolBar::BarStatus = KToolBar::Toggle, const char* = "mainToolBar"); - int addToolBar (KToolBar*, int = -1); - KToolBar* toolBar (int = 0); - void setMenu (KMenuBar*); - void setStatusBar (KStatusBar*); - bool hasMenuBar (); - bool hasStatusBar (); - bool hasToolBar (int = 0); - -protected slots: - virtual void updateRects (); - -}; // class KTMainWindow - diff --git a/python/pykde/sip/kdeui/ktoolbar.sip b/python/pykde/sip/kdeui/ktoolbar.sip deleted file mode 100644 index 3097c388..00000000 --- a/python/pykde/sip/kdeui/ktoolbar.sip +++ /dev/null @@ -1,263 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdeui version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KToolBarSeparator : QFrame -{ -%TypeHeaderCode -#include -%End - - -public: - KToolBarSeparator (Orientation, bool, QToolBar* /TransferThis/, const char* = 0); - QSize sizeHint () const; - Orientation orientation () const; - QSizePolicy sizePolicy () const; - bool showLine () const; - -public slots: - void setOrientation (Orientation); - -protected: - void styleChange (QStyle&); - -%If ( KDE_3_2_0 - ) - void drawContents (QPainter*); -%End - - -}; // class KToolBarSeparator - - -class KToolBar : QToolBar -{ -%TypeHeaderCode -#include -%End - - -public: - - enum IconText - { - IconOnly, - IconTextRight, - TextOnly, - IconTextBottom - }; - - - enum BarStatus - { - Toggle, - Show, - Hide - }; - - - enum BarPosition - { - Unmanaged, - Floating, - Top, - Bottom, - Right, - Left, - Flat - }; - - KToolBar (QWidget* /TransferThis/, const char* = 0, bool = 0, bool = 1); -//ig KToolBar (QMainWindow*, QMainWindow::ToolBarDock, bool = 0, const char* = 0, bool = 0, bool = 1); - KToolBar (QMainWindow*, QWidget*, bool = 0, const char* = 0, bool = 0, bool = 1); - int insertButton (const QString&, int, bool = 1, const QString& = QString ::null , int = -1, KInstance* = KGlobal ::instance ()); - int insertButton (const QString&, int, const char*, SIP_RXOBJ_CON, SIP_SLOT_CON (int), bool = 1, const QString& = QString ::null , int = -1, KInstance* = KGlobal ::instance ()); - int insertButton (const QPixmap&, int, bool = 1, const QString& = QString ::null , int = -1); - int insertButton (const QPixmap&, int, const char*, SIP_RXOBJ_CON, SIP_SLOT_CON (int), bool = 1, const QString& = QString ::null , int = -1); - int insertButton (const QString&, int, QPopupMenu*, bool, const QString&, int = -1); - int insertButton (const QPixmap&, int, QPopupMenu*, bool, const QString&, int = -1); - int insertLined (const QString&, int, const char*, SIP_RXOBJ_CON, SIP_SLOT_CON (int), bool = 1, const QString& = QString ::null , int = 70, int = -1); - int insertCombo (const QStringList&, int, bool, const char*, SIP_RXOBJ_CON, SIP_SLOT_CON (int), bool = 1, const QString& = QString ::null , int = 70, int = -1, QComboBox::Policy = QComboBox ::AtBottom ); - -%If ( KDE_3_2_0 - ) - int insertCombo (const QString&, int, bool, const char*, SIP_RXOBJ_CON, SIP_SLOT_CON (), bool = 1, const QString& = QString ::null , int = 70, int = -1, QComboBox::Policy = QComboBox ::AtBottom ); -%End - - int insertSeparator (int, int); - int insertLineSeparator (int, int); - int insertWidget (int, int, QWidget*, int = -1); - int insertAnimatedWidget (int, SIP_RXOBJ_CON, SIP_SLOT_CON (int), const QString&, int = -1); - KAnimWidget* animatedWidget (int); - void addConnection (int, const char*, SIP_RXOBJ_CON, SIP_SLOT_CON (int)); - void setItemEnabled (int, bool); - void setButtonIcon (int, const QString&); - void setButtonPixmap (int, const QPixmap&); - void setButtonIconSet (int, const QIconSet&); - void setDelayedPopup (int, QPopupMenu*, bool = 0); - void setAutoRepeat (int, bool = 1); - void setToggle (int, bool = 1); - void toggleButton (int); - void setButton (int, bool); - bool isButtonOn (int); - void setLinedText (int, const QString&); - QString getLinedText (int); - void insertComboItem (int, const QString&, int); - void insertComboList (int, const QStringList&, int); - void removeComboItem (int, int); - void setCurrentComboItem (int, int); - void changeComboItem (int, const QString&, int = -1); - void clearCombo (int); - QString getComboItem (int, int = -1); - KComboBox* getCombo (int); - KLineEdit* getLined (int); - KToolBarButton* getButton (int); - void alignItemRight (int, bool = 1); - QWidget* getWidget (int); - void setItemAutoSized (int, bool = 1); - void clear (); - void removeItem (int); - -%If ( KDE_3_2_0 - ) - void removeItemDelayed (int); -%End - - void hideItem (int); - void showItem (int); - -%If ( KDE_3_2_0 - ) - int itemIndex (int); - int idAt (int); -%End - - void setFullSize (bool = 1); - bool fullSize () const; - void enableMoving (bool = 1); - void setBarPos (KToolBar::BarPosition); - BarPosition barPos () const; - bool enable (KToolBar::BarStatus); - void setMaxHeight (int); - int maxHeight (); - void setMaxWidth (int); - int maxWidth (); - void setTitle (const QString&); - void enableFloating (bool); - void setIconText (KToolBar::IconText); - void setIconText (KToolBar::IconText, bool); - IconText iconText () const; - void setIconSize (int); - void setIconSize (int, bool); - int iconSize () const; - -%If ( KDE_3_4_0 - ) - int iconSizeDefault () const; -%End - - void setEnableContextMenu (bool = 1); - bool contextMenuEnabled () const; - void setItemNoStyle (int, bool = 1); - void setFlat (bool); - int count (); - void saveState (); - void saveSettings (KConfig*, const QString&); - -%If ( KDE_3_3_0 - ) - void applySettings (KConfig*, const QString&, bool); -%End - - void applySettings (KConfig*, const QString&); - void setXMLGUIClient (KXMLGUIClient*); - void setText (const QString&); - QString text () const; - void setStretchableWidget (QWidget*); - QSizePolicy sizePolicy () const; - bool highlight () const; - QSize sizeHint () const; - QSize minimumSizeHint () const; - QSize minimumSize () const; - void hide (); - void show (); - void updateRects (bool = 0); - void loadState (const QDomElement&); - void saveState (QDomElement&); - void positionYourself (bool); - -signals: - void clicked (int); - void doubleClicked (int); - void pressed (int); - void released (int); - void toggled (int); - void highlighted (int, bool); - void highlighted (int); - void moved (KToolBar::BarPosition); - void modechange (); - -%If ( KDE_3_1_0 - ) - void toolbarDestroyed (); -%End - - -public: - -%If ( KDE_3_1_0 - ) - static bool highlightSetting (); - static bool transparentSetting (); - static KToolBar::IconText iconTextSetting (); -%End - - -public slots: - virtual void setIconText (const QString&); - -protected: - void mousePressEvent (QMouseEvent*); - void childEvent (QChildEvent*); - void showEvent (QShowEvent*); - void resizeEvent (QResizeEvent*); - bool event (QEvent*); - void applyAppearanceSettings (KConfig*, const QString&, bool = 0); - QString settingsGroup () const; - -protected: -//igx virtual void virtual_hook (int, void*); - -public: - -%If ( - KDE_3_2_0 ) - int insertCombo (const QString&, int, bool, const char*, QObject*, const char*, bool = 1, const QString& = QString ::null , int = 70, int = -1, QComboBox::Policy = QComboBox ::AtBottom ); -%End - - -signals: - -%If ( - KDE_3_1_0 ) -//ig static bool highlightSetting (); -//ig static bool transparentSetting (); -//ig static IconText iconTextSetting (); -%End - - -}; // class KToolBar - diff --git a/python/pykde/sip/kdeui/ktoolbarbutton.sip b/python/pykde/sip/kdeui/ktoolbarbutton.sip deleted file mode 100644 index 28585281..00000000 --- a/python/pykde/sip/kdeui/ktoolbarbutton.sip +++ /dev/null @@ -1,123 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdeui version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KToolBarButton : QToolButton -{ -%TypeHeaderCode -#include -%End - - -public: - KToolBarButton (const QString&, int, QWidget* /TransferThis/, const char* = 0, const QString& = QString ::null , KInstance* = KGlobal ::instance ()); - KToolBarButton (const QPixmap&, int, QWidget* /TransferThis/, const char* = 0, const QString& = QString ::null ); - KToolBarButton (QWidget* /TransferThis/ = 0, const char* = 0); - virtual void setPixmap (const QPixmap&); - void setDefaultPixmap (const QPixmap&); - void setDisabledPixmap (const QPixmap&); - virtual void setText (const QString&); - virtual void setIcon (const QString&); - -%If ( KDE_3_0_1 - ) - virtual void setIcon (const QPixmap&); -%End - - virtual void setIconSet (const QIconSet&); - void setIcon (const QString&, bool); - void setDefaultIcon (const QString&); - void setDisabledIcon (const QString&); - void on (bool = 1); - void toggle (); - void setToggle (bool = 1); - QPopupMenu* popup (); - -%If ( KDE_3_2_0 - ) - int id () const; -%End - - void setPopup (QPopupMenu*, bool); - void setDelayedPopup (QPopupMenu*, bool = 0); - void setRadio (bool = 1); - void setNoStyle (bool = 1); - -signals: - void clicked (int); - -%If ( KDE_3_4_2 - ) - void buttonClicked (int, Qt::ButtonState); -%End - - void doubleClicked (int); - void pressed (int); - void released (int); - void toggled (int); - void highlighted (int, bool); - -public slots: - void modeChange (); - virtual void setTextLabel (const QString&, bool); - -protected: - -%If ( KDE_3_5_0 - ) - bool event (QEvent*); -%End - - void paletteChange (const QPalette&); - void leaveEvent (QEvent*); - void enterEvent (QEvent*); - void drawButton (QPainter*); - bool eventFilter (QObject*, QEvent*); - -%If ( KDE_3_4_2 - ) - void mousePressEvent (QMouseEvent*); - void mouseReleaseEvent (QMouseEvent*); -%End - - void showMenu (); - QSize sizeHint () const; - QSize minimumSizeHint () const; - QSize minimumSize () const; - -%If ( KDE_3_0_1 - ) - bool isRaised () const; - bool isActive () const; - int iconTextMode () const; -%End - - -protected slots: - void slotClicked (); - void slotPressed (); - void slotReleased (); - void slotToggled (); - void slotDelayTimeout (); - -protected: -//igx virtual void virtual_hook (int, void*); - -}; // class KToolBarButton - diff --git a/python/pykde/sip/kdeui/ktoolbarlabelaction.sip b/python/pykde/sip/kdeui/ktoolbarlabelaction.sip deleted file mode 100644 index 27383cee..00000000 --- a/python/pykde/sip/kdeui/ktoolbarlabelaction.sip +++ /dev/null @@ -1,51 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdeui version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -%If ( KDE_3_4_0 - ) - -class KToolBarLabelAction : KWidgetAction -{ -%TypeHeaderCode -#include -%End - - -public: - KToolBarLabelAction (const QString&, const KShortcut&, const QObject*, const char*, KActionCollection* /TransferThis/, const char*); - KToolBarLabelAction (QWidget*, const QString&, const KShortcut&, const QObject*, const char*, KActionCollection* /TransferThis/, const char*); - KToolBarLabelAction (QLabel*, const KShortcut&, const QObject*, const char*, KActionCollection* /TransferThis/, const char*); - virtual void setText (const QString&); - virtual void setBuddy (QWidget*); - QWidget* buddy () const; - QLabel* label () const; - -protected: - virtual void virtual_hook (int, void*); - -}; // class KToolBarLabelAction - -%End - diff --git a/python/pykde/sip/kdeui/ktoolbarradiogroup.sip b/python/pykde/sip/kdeui/ktoolbarradiogroup.sip deleted file mode 100644 index 65da45fb..00000000 --- a/python/pykde/sip/kdeui/ktoolbarradiogroup.sip +++ /dev/null @@ -1,43 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdeui version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KToolBarRadioGroup : QObject -{ -%TypeHeaderCode -#include -%End - - -public: - KToolBarRadioGroup (KToolBar*, const char* = 0); - void addButton (int); - void removeButton (int); - -public slots: - void slotToggled (int); - -}; // class KToolBarRadioGroup - diff --git a/python/pykde/sip/kdeui/kurllabel.sip b/python/pykde/sip/kdeui/kurllabel.sip deleted file mode 100644 index 25245eb5..00000000 --- a/python/pykde/sip/kdeui/kurllabel.sip +++ /dev/null @@ -1,108 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdeui version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KURLLabel : QLabel -{ -%TypeHeaderCode -#include -%End - - -public: - KURLLabel (QWidget* /TransferThis/ = 0, const char* = 0); - KURLLabel (const QString&, const QString& = QString ::null , QWidget* /TransferThis/ = 0, const char* = 0); - const QString& url () const; - const QString& tipText () const; - bool useTips () const; - bool useCursor () const; - bool isGlowEnabled () const; - bool isFloatEnabled () const; - const QPixmap* altPixmap () const; - -%If ( KDE_3_5_1 - ) - virtual void setMargin (int); - virtual void setFocusPolicy (FocusPolicy); - -%If ( KDE_3_5_2 - ) - virtual void setSizePolicy (QSizePolicy); -%End - -%End - - -public slots: - void setUnderline (bool = 1); - void setURL (const QString&); - virtual void setFont (const QFont&); - void setUseTips (bool = 1); - void setTipText (const QString&); - void setHighlightedColor (const QColor&); - void setHighlightedColor (const QString&); - void setSelectedColor (const QColor&); - void setSelectedColor (const QString&); - -%If ( KDE_3_5_1 - ) - virtual void setCursor (const QCursor&); - virtual void unsetCursor (); -%End - - void setUseCursor (bool, QCursor* = 0); - void setGlow (bool = 1); - void setFloat (bool = 1); - void setAltPixmap (const QPixmap&); - -signals: - void enteredURL (const QString&); - void enteredURL (); - void leftURL (const QString&); - void leftURL (); - void leftClickedURL (const QString&); - void leftClickedURL (); - void rightClickedURL (const QString&); - void rightClickedURL (); - void middleClickedURL (const QString&); - void middleClickedURL (); - -protected: - virtual void mouseReleaseEvent (QMouseEvent*); - virtual void enterEvent (QEvent*); - virtual void leaveEvent (QEvent*); - -%If ( KDE_3_2_0 - ) - virtual bool event (QEvent*); - -%If ( KDE_3_5_1 - ) - QRect activeRect () const; -%End - -%End - - -protected: -//igx virtual void virtual_hook (int, void*); - -}; // class KURLLabel - diff --git a/python/pykde/sip/kdeui/kwindowinfo.sip b/python/pykde/sip/kdeui/kwindowinfo.sip deleted file mode 100644 index e9908eb7..00000000 --- a/python/pykde/sip/kdeui/kwindowinfo.sip +++ /dev/null @@ -1,61 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdeui version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -%If ( KDE_3_1_0 - ) - -class KWindowInfo : QObject -{ -%TypeHeaderCode -#include -%End - - -public: - KWindowInfo (QWidget* /TransferThis/, const char* = 0); - bool autoDelete () const; - void setAutoDelete (bool); - static void showMessage (QWidget*, const QString&, int = -1); - static void showMessage (QWidget*, const QString&, const QPixmap&, int = -1); - -public slots: - void message (const QString&); - void message (const QString&, const QPixmap&); - void message (const QString&, int); - void message (const QString&, const QPixmap&, int); - void permanent (const QString&); - void permanent (const QString&, const QPixmap&); - -protected: - virtual void display (const QString&, const QPixmap&); - -protected slots: - virtual void save (); - virtual void restore (); - -}; // class KWindowInfo - -%End - diff --git a/python/pykde/sip/kdeui/kwindowlistmenu.sip b/python/pykde/sip/kdeui/kwindowlistmenu.sip deleted file mode 100644 index a21a3690..00000000 --- a/python/pykde/sip/kdeui/kwindowlistmenu.sip +++ /dev/null @@ -1,54 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdeui version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KWindowListMenu : KPopupMenu -{ -%TypeHeaderCode -#include -%End - - -public: - KWindowListMenu (QWidget* /TransferThis/ = 0, const char* = 0); - void init (); - -public slots: - -%If ( KDE_3_3_0 - ) - void selectActiveWindow (); -%End - - -protected slots: - void slotExec (int); - void slotUnclutterWindows (); - void slotCascadeWindows (); - -protected: -//igx virtual void virtual_hook (int, void*); - -}; // class KWindowListMenu - diff --git a/python/pykde/sip/kdeui/kwizard.sip b/python/pykde/sip/kdeui/kwizard.sip deleted file mode 100644 index 7dab5a96..00000000 --- a/python/pykde/sip/kdeui/kwizard.sip +++ /dev/null @@ -1,38 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdeui version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KWizard : QWizard -{ -%TypeHeaderCode -#include -%End - - -public: - KWizard (QWidget* /TransferThis/ = 0, const char* = 0, bool = 0, WFlags = 0); - -}; // class KWizard - diff --git a/python/pykde/sip/kdeui/kwordwrap.sip b/python/pykde/sip/kdeui/kwordwrap.sip deleted file mode 100644 index b5a35907..00000000 --- a/python/pykde/sip/kdeui/kwordwrap.sip +++ /dev/null @@ -1,82 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdeui version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KWordWrap -{ -%TypeHeaderCode -#include -%End - - -public: - -%If ( KDE_3_3_0 - ) - - enum - { - FadeOut, - Truncate - }; - -%End - - static KWordWrap* formatText (QFontMetrics&, const QRect&, int, const QString&, int = -1); - QRect boundingRect () const; - QString wrappedString () const; - QString truncatedString (bool = 1) const; - void drawText (QPainter*, int, int, int = Qt ::AlignAuto ) const; - -%If ( KDE_3_2_0 - ) - static void drawFadeoutText (QPainter*, int, int, int, const QString&); - -%If ( KDE_3_3_0 - ) - static void drawTruncateText (QPainter*, int, int, int, const QString&); -%End - -%End - - -%If ( KDE_3_2_0 - ) - -private: - KWordWrap (const QRect&); -%End - - -public: - -%If ( KDE_3_2_0 - KDE_3_3_0 ) - - enum - { - FadeOut - }; - -%End - - -}; // class KWordWrap - diff --git a/python/pykde/sip/kdeui/kxmlgui.sip b/python/pykde/sip/kdeui/kxmlgui.sip deleted file mode 100644 index fd589987..00000000 --- a/python/pykde/sip/kdeui/kxmlgui.sip +++ /dev/null @@ -1,26 +0,0 @@ -// -// Copyright 2003 Jim Bublitz -// Earlier copyrights 1998 - 2002 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdeui version KDE_3_1_1 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - diff --git a/python/pykde/sip/kdeui/kxmlguibuilder.sip b/python/pykde/sip/kdeui/kxmlguibuilder.sip deleted file mode 100644 index 247a6f5c..00000000 --- a/python/pykde/sip/kdeui/kxmlguibuilder.sip +++ /dev/null @@ -1,53 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdeui version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KXMLGUIBuilder -{ -%TypeHeaderCode -#include -%End - - -public: - KXMLGUIBuilder (QWidget*); - KXMLGUIClient* builderClient () const; - void setBuilderClient (KXMLGUIClient*); - KInstance* builderInstance () const; - void setBuilderInstance (KInstance*); - QWidget* widget (); - virtual QStringList containerTags () const; -//ig virtual QWidget* createContainer (QWidget* /Transfer/, int, const QDomElement&, int&); - virtual void removeContainer (QWidget*, QWidget* /Transfer/, QDomElement&, int); - virtual QStringList customTags () const; - virtual int createCustomElement (QWidget* /Transfer/, int, const QDomElement&); - virtual void removeCustomElement (QWidget* /Transfer/, int); - virtual void finalizeGUI (KXMLGUIClient*); - -protected: -//igx virtual void virtual_hook (int, void*); - -}; // class KXMLGUIBuilder - diff --git a/python/pykde/sip/kdeui/kxmlguiclient.sip b/python/pykde/sip/kdeui/kxmlguiclient.sip deleted file mode 100644 index 73f0a498..00000000 --- a/python/pykde/sip/kdeui/kxmlguiclient.sip +++ /dev/null @@ -1,101 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdeui version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KXMLGUIClient -{ -%TypeHeaderCode -#include -%End - - -public: - KXMLGUIClient (); - KXMLGUIClient (KXMLGUIClient* /TransferThis/); - KAction* action (const char*) const; - virtual KAction* action (const QDomElement&) const; - virtual KActionCollection* actionCollection () const; - virtual KInstance* instance () const; - virtual QDomDocument domDocument () const; - virtual QString xmlFile () const; - virtual QString localXMLFile () const; - void setXMLGUIBuildDocument (const QDomDocument&); - QDomDocument xmlguiBuildDocument () const; - void setFactory (KXMLGUIFactory*); - KXMLGUIFactory* factory () const; - KXMLGUIClient* parentClient () const; - void insertChildClient (KXMLGUIClient*); - void removeChildClient (KXMLGUIClient*); - const QPtrList* childClients (); - void setClientBuilder (KXMLGUIBuilder*); - KXMLGUIBuilder* clientBuilder () const; - void reloadXML (); - void plugActionList (const QString&, const QPtrList&); - void unplugActionList (const QString&); - static QString findMostRecentXMLFile (const QStringList&, QString&); - void addStateActionEnabled (const QString&, const QString&); - void addStateActionDisabled (const QString&, const QString&); - - enum ReverseStateChange - { - StateNoReverse, - StateReverse - }; - - - class StateChange - { - - public: - QStringList actionsToEnable; - QStringList actionsToDisable; - - }; // class StateChange - - -public: - KXMLGUIClient::StateChange getActionsToChangeForState (const QString&); - -%If ( KDE_3_1_0 - ) - void beginXMLPlug (QWidget*); - void endXMLPlug (); - void prepareXMLUnplug (QWidget*); -%End - - -protected: - virtual void setInstance (KInstance*); - virtual void setXMLFile (const QString&, bool = 0, bool = 1); - virtual void setLocalXMLFile (const QString&); - virtual void setXML (const QString&, bool = 0); - virtual void setDOMDocument (const QDomDocument&, bool = 0); - virtual void conserveMemory (); - virtual void stateChanged (const QString&, KXMLGUIClient::ReverseStateChange = StateNoReverse ); - -protected: -//igx virtual void virtual_hook (int, void*); - -}; // class KXMLGUIClient - diff --git a/python/pykde/sip/kdeui/kxmlguifactory.sip b/python/pykde/sip/kdeui/kxmlguifactory.sip deleted file mode 100644 index 67957d23..00000000 --- a/python/pykde/sip/kdeui/kxmlguifactory.sip +++ /dev/null @@ -1,300 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdeui version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KXMLGUIFactory : QObject -{ -%TypeHeaderCode -#include -%End - - -public: - KXMLGUIFactory (KXMLGUIBuilder*, QObject* /TransferThis/ = 0, const char* = 0); - static QString readConfigFile (const QString&, bool, const KInstance* = 0); - static QString readConfigFile (const QString&, const KInstance* = 0); - static bool saveConfigFile (const QDomDocument&, const QString&, const KInstance* = 0); - static QString documentToXML (const QDomDocument&); - static QString elementToXML (const QDomElement&); - static void removeDOMComments (QDomNode&); - -%If ( KDE_3_3_0 - ) - static QDomElement actionPropertiesElement (QDomDocument&); - static QDomElement findActionByName (QDomElement&, const QString&, bool); -%End - - void addClient (KXMLGUIClient*); - void removeClient (KXMLGUIClient*); - void plugActionList (KXMLGUIClient*, const QString&, const QPtrList&); - void unplugActionList (KXMLGUIClient*, const QString&); - QPtrList clients () const; - QWidget* container (const QString&, KXMLGUIClient*, bool = 0); - QPtrList containers (const QString&); - void reset (); - void resetContainer (const QString&, bool = 0); - -public slots: - -%If ( KDE_3_3_0 - ) - int configureShortcuts (bool = 1, bool = 1); -%End - - -signals: - void clientAdded (KXMLGUIClient*); - void clientRemoved (KXMLGUIClient*); - -protected: -//igx virtual void virtual_hook (int, void*); - -}; // class KXMLGUIFactory - -//force -QPtrList testKActionList (QPtrList); -%MethodCode -//takes list | (QPtrList) -//returns (QPtrList) - - sipRes = a0; -%End - -//end - - -%MappedType QPtrList -//converts a Python list of KAction -{ -%TypeHeaderCode -#include -#include -#include -%End - -%ConvertFromTypeCode - if (!sipCpp) - return PyList_New (0); - - PyObject *pylist; - - // Create the list - - if ((pylist = PyList_New(0)) == NULL) - return NULL; - - // Get it. - - QPtrList *cpplist = (QPtrList *)sipCpp; - KAction *cpp; - PyObject *inst; - - // the loop depends on the type of iterator the tmeplate makes available - for(cpp = cpplist->first (); cpp != 0; cpp = cpplist->next () ) - { - if (((inst = sipConvertFromInstance (cpp, sipClass_KAction, sipTransferObj)) == NULL) - || PyList_Append (pylist, inst) < 0) - { - Py_DECREF (pylist); - return NULL; - } - } - - return pylist; -%End - -%ConvertToTypeCode - if (sipIsErr == NULL) - return PyList_Check(sipPy); - - QPtrList *cpplist = new QPtrList; - - PyObject *elem; - KAction *cpp; - int iserr = 0; - - for (int i = 0; i < PyList_Size (sipPy); i++) - { - elem = PyList_GET_ITEM (sipPy, i); - cpp = (KAction *)sipForceConvertTo_KAction (elem, &iserr); - - if (iserr) - { - *sipIsErr = 1; - delete cpplist; - return 0; - } - - cpplist->append (cpp); - } - - *sipCppPtr = cpplist; - - return 1; -%End -}; - - -%MappedType QPtrList -//converts a Python list of KXMLGUIClient -{ -%TypeHeaderCode -#include -#include -#include -%End - -%ConvertFromTypeCode - if (!sipCpp) - return PyList_New (0); - - PyObject *pylist; - - // Create the list - - if ((pylist = PyList_New(0)) == NULL) - return NULL; - - // Get it. - - QPtrList *cpplist = (QPtrList *)sipCpp; - KXMLGUIClient *cpp; - PyObject *inst; - - // the loop depends on the type of iterator the tmeplate makes available - for(cpp = cpplist->first (); cpp != 0; cpp = cpplist->next () ) - { - if (((inst = sipBuildResult (NULL, "N", new KXMLGUIClient (*cpp), sipClass_KXMLGUIClient)) == NULL) - || PyList_Append (pylist, inst) < 0) - { - Py_DECREF (pylist); - return NULL; - } - } - - return pylist; -%End - -%ConvertToTypeCode - if (sipIsErr == NULL) - return PyList_Check(sipPy); - - QPtrList *cpplist = new QPtrList; - - PyObject *elem; - KXMLGUIClient *cpp; - int iserr = 0; - - for (int i = 0; i < PyList_Size (sipPy); i++) - { - elem = PyList_GET_ITEM (sipPy, i); - cpp = (KXMLGUIClient *)sipForceConvertTo_KXMLGUIClient (elem, &iserr); - - if (iserr) - { - *sipIsErr = 1; - delete cpplist; - return 0; - } - - cpplist->append (cpp); - } - - *sipCppPtr = cpplist; - - return 1; -%End -}; - - -%MappedType QPtrList -//converts a Python list of QWidget -{ -%TypeHeaderCode -#include -#include -%End - -%ConvertFromTypeCode - if (!sipCpp) - return PyList_New (0); - - PyObject *pylist; - - // Create the list - - if ((pylist = PyList_New(0)) == NULL) - return NULL; - - // Get it. - - QPtrList *cpplist = (QPtrList *)sipCpp; - QWidget *cpp; - PyObject *inst; - - // the loop depends on the type of iterator the tmeplate makes available - for(cpp = cpplist->first (); cpp != 0; cpp = cpplist->next () ) - { - if (((inst = sipConvertFromInstance (cpp, sipClass_QWidget, sipTransferObj)) == NULL) - || PyList_Append (pylist, inst) < 0) - { - Py_DECREF (pylist); - return NULL; - } - } - - return pylist; -%End - -%ConvertToTypeCode - if (sipIsErr == NULL) - return PyList_Check(sipPy); - - QPtrList *cpplist = new QPtrList; - - PyObject *elem; - QWidget *cpp; - int iserr = 0; - - for (int i = 0; i < PyList_Size (sipPy); i++) - { - elem = PyList_GET_ITEM (sipPy, i); - cpp = (QWidget *)sipForceConvertTo_QWidget (elem, &iserr); - - if (iserr) - { - *sipIsErr = 1; - delete cpplist; - return 0; - } - - cpplist->append (cpp); - } - - *sipCppPtr = cpplist; - - return 1; -%End -}; - - diff --git a/python/pykde/sip/kdeui/qxembed.sip b/python/pykde/sip/kdeui/qxembed.sip deleted file mode 100644 index ab46875b..00000000 --- a/python/pykde/sip/kdeui/qxembed.sip +++ /dev/null @@ -1,113 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdeui version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class QXEmbed : QWidget -{ -%TypeHeaderCode -#include -%End - - -public: - QXEmbed (QWidget* /TransferThis/ = 0, const char* = 0, WFlags = 0); - static void initialize (); - -%If ( KDE_3_1_1 - ) - - enum Protocol - { - XEMBED, - XPLAIN - }; - - void setProtocol (QXEmbed::Protocol); - QXEmbed::Protocol protocol (); -%End - - void embed (WId); - WId embeddedWinId () const; - static void embedClientIntoWindow (QWidget*, WId); - static bool processClientCmdline (QWidget*, SIP_PYLIST) [bool (QWidget*, int&, char**)]; -%MethodCode -//returns (bool) -//takes client | (QWidget) | argv | (a Python list of strings which may be modified) - -//returns -//takes list (a Python list of strings) | index (int) - - int n; - - if ((n = PyList_Size (a1)) == 0) - return NULL; - - char **strings; - - if ((strings = (char **)PyQtListToArray(a1)) == NULL) - return NULL; - - Py_BEGIN_ALLOW_THREADS - sipRes = QXEmbed::processClientCmdline (a0, n, strings); - Py_END_ALLOW_THREADS - - sipFree((ANY *)strings); -%End - - -%If ( KDE_3_2_0 - ) - void sendDelete (); -%End - - void setAutoDelete (bool); - bool autoDelete () const; - QSize sizeHint () const; - QSize minimumSizeHint () const; - QSizePolicy sizePolicy () const; - bool eventFilter (QObject*, QEvent*); - bool customWhatsThis () const; - void enterWhatsThisMode (); - -%If ( KDE_3_2_0 - ) - virtual void reparent (QWidget* /Transfer/, WFlags, const QPoint&, bool = 0); -%End - - -signals: - void embeddedWindowDestroyed (); - -protected: - bool event (QEvent*); - void keyPressEvent (QKeyEvent*); - void keyReleaseEvent (QKeyEvent*); - void focusInEvent (QFocusEvent*); - void focusOutEvent (QFocusEvent*); - void resizeEvent (QResizeEvent*); - void showEvent (QShowEvent*); -//ig bool x11Event (XEvent*); - virtual void windowChanged (WId); - bool focusNextPrevChild (bool); - -}; // class QXEmbed - diff --git a/python/pykde/sip/kfile/booktoken.sip b/python/pykde/sip/kfile/booktoken.sip deleted file mode 100644 index cf5870ae..00000000 --- a/python/pykde/sip/kfile/booktoken.sip +++ /dev/null @@ -1,66 +0,0 @@ -// -// Copyright 2003 Jim Bublitz -// Earlier copyrights 1998 - 2002 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kfile version KDE_3_1_1 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class BMToken -{ -%TypeHeaderCode -#include -%End - - -public: - BMToken (const char*, int); - char* token (); - BMToken* next (); - void setNext (BMToken*); - -}; // class BMToken - - -class BookmarkTokenizer -{ -%TypeHeaderCode -#include -%End - - -public: - BookmarkTokenizer (); - void begin (); - void write (const QString&); - void end (); - char* nextToken (); - bool hasMoreTokens (); - void first (); - -protected: - void reset (); - void appendToken (const char*, int); - -protected: - -}; // class BookmarkTokenizer - diff --git a/python/pykde/sip/kfile/kcombiview.sip b/python/pykde/sip/kfile/kcombiview.sip deleted file mode 100644 index 43867f6b..00000000 --- a/python/pykde/sip/kfile/kcombiview.sip +++ /dev/null @@ -1,90 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kfile version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KCombiView : QSplitter, KFileView -{ -%TypeHeaderCode -#include -%End - - -public: - KCombiView (QWidget* /TransferThis/, const char*); - virtual QWidget* widget (); - virtual void clearView (); - virtual void updateView (bool); - virtual void updateView (const KFileItem*); - virtual void removeItem (const KFileItem*); - virtual void listingCompleted (); - void setRight (KFileView*); - virtual void setSelectionMode (KFile::SelectionMode); - virtual void setSelected (const KFileItem*, bool); - virtual bool isSelected (const KFileItem*) const; - virtual void clearSelection (); - virtual void selectAll (); - virtual void invertSelection (); - virtual void setCurrentItem (const KFileItem*); - virtual KFileItem* currentFileItem () const; - virtual KFileItem* firstFileItem () const; - virtual KFileItem* nextItem (const KFileItem*) const; - virtual KFileItem* prevItem (const KFileItem*) const; - virtual void insertItem (KFileItem*); - virtual void clear (); - virtual void setSorting (QDir::SortSpec); - -%If ( KDE_3_1_0 - ) - virtual void readConfig (KConfig*, const QString& = QString ::null ); - virtual void writeConfig (KConfig*, const QString& = QString ::null ); -%End - - void ensureItemVisible (const KFileItem*); - -%If ( KDE_3_1_0 - ) - virtual KActionCollection* actionCollection () const; - -%If ( KDE_3_2_0 - ) - virtual void setAcceptDrops (bool); -%End - -%End - - -protected: - -protected slots: - void slotSortingChanged (QDir::SortSpec); - -protected: - -%If ( KDE_3_2_0 - ) - virtual bool eventFilter (QObject*, QEvent*); - void setDropOptions_impl (int); -%End - -//igx virtual void virtual_hook (int, void*); - -}; // class KCombiView - diff --git a/python/pykde/sip/kfile/kcustommenueditor.sip b/python/pykde/sip/kfile/kcustommenueditor.sip deleted file mode 100644 index 1ade8642..00000000 --- a/python/pykde/sip/kfile/kcustommenueditor.sip +++ /dev/null @@ -1,57 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kfile version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -%If ( KDE_3_1_0 - ) - -class KCustomMenuEditor : KDialogBase -{ -%TypeHeaderCode -#include -%End - - -public: - KCustomMenuEditor (QWidget* /TransferThis/); - void load (KConfigBase*); - void save (KConfigBase*); - -public slots: - void slotNewItem (); - void slotRemoveItem (); - void slotMoveUp (); - void slotMoveDown (); - -%If ( KDE_3_2_0 - ) - void refreshButton (); -%End - - -protected: - -}; // class KCustomMenuEditor - -%End - diff --git a/python/pykde/sip/kfile/kdiroperator.sip b/python/pykde/sip/kfile/kdiroperator.sip deleted file mode 100644 index a0073e63..00000000 --- a/python/pykde/sip/kfile/kdiroperator.sip +++ /dev/null @@ -1,205 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kfile version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KDirOperator : QWidget -{ -%TypeHeaderCode -#include -%End - - -public: - -%If ( KDE_3_1_0 - ) - - enum ActionTypes - { - SortActions, - ViewActions, - NavActions, - FileActions, - AllActions - }; - -%End - - KDirOperator (const KURL& = KURL (), QWidget* /TransferThis/ = 0, const char* = 0); - void setShowHiddenFiles (bool); - bool showHiddenFiles () const; - void close (); - -%If ( KDE_3_4_0 - ) - virtual bool close (bool); -%End - - void setNameFilter (const QString&); - const QString& nameFilter () const; - -%If ( KDE_3_1_2 - ) - void setMimeFilter (const QStringList&); - QStringList mimeFilter () const; - void clearFilter (); -%End - - KURL url () const; - void setURL (const KURL&, bool); - void setCurrentItem (const QString&); - void setView (KFileView*); - const KFileView* view () const; - QWidget* viewWidget () const; - void setView (KFile::FileView); - void setSorting (QDir::SortSpec); - QDir::SortSpec sorting () const; - bool isRoot () const; - KDirLister* dirLister () const; - KProgress* progressBar () const; - void setMode (KFile::Mode); - KFile::Mode mode () const; - void setPreviewWidget (const QWidget*); - const KFileItemList* selectedItems () const; - bool isSelected (const KFileItem*) const; - int numDirs () const; - int numFiles () const; - KCompletion* completionObject () const; - KCompletion* dirCompletionObject () const; - KActionCollection* actionCollection () const; - -%If ( KDE_3_1_0 - ) - void setViewConfig (KConfig*, const QString&); - KConfig* viewConfig (); - QString viewConfigGroup () const; -%End - - virtual void readConfig (KConfig*, const QString& = QString ::null ); - virtual void writeConfig (KConfig*, const QString& = QString ::null ); - void setOnlyDoubleClickSelectsFiles (bool); - bool onlyDoubleClickSelectsFiles () const; - bool mkdir (const QString&, bool = 1); - KIO::DeleteJob* del (const KFileItemList&, bool = 1, bool = 1) /PyName=del_/; - -%If ( KDE_3_0_3 - ) - KIO::DeleteJob* del (const KFileItemList&, QWidget* /Transfer/, bool = 1, bool = 1) /PyName=del_/; -%End - - void clearHistory (); - void setEnableDirHighlighting (bool); - bool dirHighlighting () const; - bool dirOnlyMode () const; - static bool dirOnlyMode (uint); - -%If ( KDE_3_1_0 - ) - void setupMenu (int); - -%If ( KDE_3_2_0 - ) - virtual void setAcceptDrops (bool); - void setDropOptions (int); - -%If ( KDE_3_4_0 - ) - KIO::CopyJob* trash (const KFileItemList&, QWidget* /Transfer/, bool = 1, bool = 1); -%End - -%End - -%End - - -protected: - virtual KFileView* createView (QWidget* /Transfer/, KFile::FileView); - void setDirLister (KDirLister*); - -%If ( KDE_3_2_0 - ) - virtual void resizeEvent (QResizeEvent*); -%End - - void setupActions (); - void updateSortActions (); - void updateViewActions (); - void setupMenu (); - void prepareCompletionObjects (); - bool checkPreviewSupport (); - -public slots: - void back (); - void forward (); - void home (); - void cdUp (); - void updateDir (); - void rereadDir (); - void mkdir (); - void deleteSelected (); - void updateSelectionDependentActions (); - QString makeCompletion (const QString&); - QString makeDirCompletion (const QString&); - -%If ( KDE_3_4_0 - ) - void trashSelected (KAction::ActivationReason, Qt::ButtonState); -%End - - -protected slots: - void resetCursor (); - void pathChanged (); - void insertNewFiles (const KFileItemList&); - void itemDeleted (KFileItem*); - void selectDir (const KFileItem*); - void selectFile (const KFileItem*); - void highlightFile (const KFileItem*); - virtual void activatedMenu (const KFileItem*, const QPoint&); - void sortByName (); - void sortBySize (); - void sortByDate (); - void sortReversed (); - void toggleDirsFirst (); - void toggleIgnoreCase (); - void slotCompletionMatch (const QString&); - -signals: - void urlEntered (const KURL&); - void updateInformation (int, int); - void completion (const QString&); - void finishedLoading (); - void viewChanged (KFileView*); - void fileHighlighted (const KFileItem*); - void dirActivated (const KFileItem*); - void fileSelected (const KFileItem*); - -%If ( KDE_3_2_0 - ) - void dropped (const KFileItem*, QDropEvent*, const KURL::List&); -%End - - -protected: -//igx virtual void virtual_hook (int, void*); - -protected: - -%If ( - KDE_3_2_0 ) - void resizeEvent (QResizeEvent*); -%End - - -}; // class KDirOperator - diff --git a/python/pykde/sip/kfile/kdirselectdialog.sip b/python/pykde/sip/kfile/kdirselectdialog.sip deleted file mode 100644 index da842863..00000000 --- a/python/pykde/sip/kfile/kdirselectdialog.sip +++ /dev/null @@ -1,71 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kfile version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KDirSelectDialog : KDialogBase -{ -%TypeHeaderCode -#include -%End - - -public: - KDirSelectDialog (const QString& = QString ::null , bool = 0, QWidget* /TransferThis/ = 0, const char* = 0, bool = 0); - KURL url () const; - KFileTreeView* view () const; - bool localOnly () const; - static KURL selectDirectory (const QString& = QString ::null , bool = 0, QWidget* /Transfer/ = 0, const QString& = QString ::null ); - -%If ( KDE_3_1_0 - ) - QString startDir () const; -%End - - -public slots: - -%If ( KDE_3_1_0 - ) - void setCurrentURL (const KURL&); -%End - - -protected slots: - -%If ( KDE_3_5_0 - ) - virtual void slotUser1 (); -%End - - -protected: - -%If ( KDE_3_1_0 - ) - virtual void accept (); -%End - - -protected: -//igx virtual void virtual_hook (int, void*); - -}; // class KDirSelectDialog - diff --git a/python/pykde/sip/kfile/kdirsize.sip b/python/pykde/sip/kfile/kdirsize.sip deleted file mode 100644 index d49f5d2e..00000000 --- a/python/pykde/sip/kfile/kdirsize.sip +++ /dev/null @@ -1,86 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kfile version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KDirSize : KIO::Job -{ -%TypeHeaderCode -#include -#include -%End - - -protected: - KDirSize (const KURL&); - KDirSize (const KFileItemList&); - ~KDirSize (); - -public: - KIO::filesize_t totalSize () const; - -%If ( KDE_3_3_0 - ) - KIO::filesize_t totalFiles () const; - KIO::filesize_t totalSubdirs () const; -%End - - static KDirSize* dirSizeJob (const KURL&); - static KDirSize* dirSizeJob (const KFileItemList&); - -%If ( KDE_3_1_2 - ) - static KIO::filesize_t dirSize (const KURL&); -%End - - -protected: - void setSync (); - void startNextJob (const KURL&); - -protected slots: - virtual void slotResult (KIO::Job*); - void slotEntries (KIO::Job*, const KIO::UDSEntryList&); - void processList (); - -protected: -//igx virtual void virtual_hook (int, void*); - -protected: - -%If ( - KDE_3_0_1 ) -//ig longlong totalSize64 (); -%End - - -%If ( - KDE_3_1_2 ) - static ulong dirSize (const KURL&); - -%If ( - KDE_3_0_1 ) -//ig static longlong dirSize64 (const KURL&); -%End - -%End - - -}; // class KDirSize - diff --git a/python/pykde/sip/kfile/kdiskfreesp.sip b/python/pykde/sip/kfile/kdiskfreesp.sip deleted file mode 100644 index c28a55f9..00000000 --- a/python/pykde/sip/kfile/kdiskfreesp.sip +++ /dev/null @@ -1,49 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kfile version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -%If ( KDE_3_1_0 - ) - -class KDiskFreeSp : QObject -{ -%TypeHeaderCode -#include -%End - - -public: - KDiskFreeSp (QObject* /TransferThis/ = 0, const char* = 0); - int readDF (const QString&); - static KDiskFreeSp* findUsageInfo (const QString&); - -signals: - void foundMountPoint (const QString&, ulong, ulong, ulong); -//ig void foundMountPoint (const ulong&, const ulong&, const ulong&, const QString&); - void done (); - -}; // class KDiskFreeSp - -%End - diff --git a/python/pykde/sip/kfile/kencodingfiledialog.sip b/python/pykde/sip/kfile/kencodingfiledialog.sip deleted file mode 100644 index 711404ac..00000000 --- a/python/pykde/sip/kfile/kencodingfiledialog.sip +++ /dev/null @@ -1,65 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kfile version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -%If ( KDE_3_2_0 - ) - -class KEncodingFileDialog : KFileDialog -{ -%TypeHeaderCode -#include -%End - - -public: - - class Result - { - - public: - QStringList fileNames; - KURL::List URLs; - QString encoding; - - }; // class Result - - -public: - KEncodingFileDialog (const QString& = QString ::null , const QString& = QString ::null , const QString& = QString ::null , const QString& = QString ::null , KFileDialog::OperationMode = KFileDialog ::Opening , QWidget* /TransferThis/ = 0, const char* = "", bool = 1); - QString selectedEncoding () const; - static KEncodingFileDialog::Result getOpenFileNameAndEncoding (const QString& = QString ::null , const QString& = QString ::null , const QString& = QString ::null , QWidget* /Transfer/ = 0, const QString& = QString ::null ); - static KEncodingFileDialog::Result getOpenFileNamesAndEncoding (const QString& = QString ::null , const QString& = QString ::null , const QString& = QString ::null , QWidget* /Transfer/ = 0, const QString& = QString ::null ); - static KEncodingFileDialog::Result getOpenURLAndEncoding (const QString& = QString ::null , const QString& = QString ::null , const QString& = QString ::null , QWidget* /Transfer/ = 0, const QString& = QString ::null ); - static KEncodingFileDialog::Result getOpenURLsAndEncoding (const QString& = QString ::null , const QString& = QString ::null , const QString& = QString ::null , QWidget* /Transfer/ = 0, const QString& = QString ::null ); - static KEncodingFileDialog::Result getSaveFileNameAndEncoding (const QString& = QString ::null , const QString& = QString ::null , const QString& = QString ::null , QWidget* /Transfer/ = 0, const QString& = QString ::null ); - static KEncodingFileDialog::Result getSaveURLAndEncoding (const QString& = QString ::null , const QString& = QString ::null , const QString& = QString ::null , QWidget* /Transfer/ = 0, const QString& = QString ::null ); - -protected: - virtual void virtual_hook (int, void*); - -}; // class KEncodingFileDialog - -%End - diff --git a/python/pykde/sip/kfile/kfile-kde310.diff b/python/pykde/sip/kfile/kfile-kde310.diff deleted file mode 100644 index ddad6d63..00000000 --- a/python/pykde/sip/kfile/kfile-kde310.diff +++ /dev/null @@ -1,5 +0,0 @@ -+ %Include kcustommenueditor.sip -+ %Include kdiskfreesp.sip -+ %Include kfilesharedlg.sip -+ %Include knotifydialog.sip -+ %Include knotifywidgetbase.sip diff --git a/python/pykde/sip/kfile/kfile-kde311.diff b/python/pykde/sip/kfile/kfile-kde311.diff deleted file mode 100644 index ddad6d63..00000000 --- a/python/pykde/sip/kfile/kfile-kde311.diff +++ /dev/null @@ -1,5 +0,0 @@ -+ %Include kcustommenueditor.sip -+ %Include kdiskfreesp.sip -+ %Include kfilesharedlg.sip -+ %Include knotifydialog.sip -+ %Include knotifywidgetbase.sip diff --git a/python/pykde/sip/kfile/kfile-kde312.diff b/python/pykde/sip/kfile/kfile-kde312.diff deleted file mode 100644 index ddad6d63..00000000 --- a/python/pykde/sip/kfile/kfile-kde312.diff +++ /dev/null @@ -1,5 +0,0 @@ -+ %Include kcustommenueditor.sip -+ %Include kdiskfreesp.sip -+ %Include kfilesharedlg.sip -+ %Include knotifydialog.sip -+ %Include knotifywidgetbase.sip diff --git a/python/pykde/sip/kfile/kfile-kde313.diff b/python/pykde/sip/kfile/kfile-kde313.diff deleted file mode 100644 index ddad6d63..00000000 --- a/python/pykde/sip/kfile/kfile-kde313.diff +++ /dev/null @@ -1,5 +0,0 @@ -+ %Include kcustommenueditor.sip -+ %Include kdiskfreesp.sip -+ %Include kfilesharedlg.sip -+ %Include knotifydialog.sip -+ %Include knotifywidgetbase.sip diff --git a/python/pykde/sip/kfile/kfile-kde314.diff b/python/pykde/sip/kfile/kfile-kde314.diff deleted file mode 100644 index ddad6d63..00000000 --- a/python/pykde/sip/kfile/kfile-kde314.diff +++ /dev/null @@ -1,5 +0,0 @@ -+ %Include kcustommenueditor.sip -+ %Include kdiskfreesp.sip -+ %Include kfilesharedlg.sip -+ %Include knotifydialog.sip -+ %Include knotifywidgetbase.sip diff --git a/python/pykde/sip/kfile/kfile-kde315.diff b/python/pykde/sip/kfile/kfile-kde315.diff deleted file mode 100644 index ddad6d63..00000000 --- a/python/pykde/sip/kfile/kfile-kde315.diff +++ /dev/null @@ -1,5 +0,0 @@ -+ %Include kcustommenueditor.sip -+ %Include kdiskfreesp.sip -+ %Include kfilesharedlg.sip -+ %Include knotifydialog.sip -+ %Include knotifywidgetbase.sip diff --git a/python/pykde/sip/kfile/kfile-kde320.diff b/python/pykde/sip/kfile/kfile-kde320.diff deleted file mode 100644 index f5ab9bd7..00000000 --- a/python/pykde/sip/kfile/kfile-kde320.diff +++ /dev/null @@ -1,6 +0,0 @@ -+ %Include kcustommenueditor.sip -+ %Include kdiskfreesp.sip -+ %Include kencodingfiledialog.sip -+ %Include kfilesharedlg.sip -+ %Include knotifydialog.sip -+ %Include knotifywidgetbase.sip \ No newline at end of file diff --git a/python/pykde/sip/kfile/kfile-kde321.diff b/python/pykde/sip/kfile/kfile-kde321.diff deleted file mode 100644 index 2545aae5..00000000 --- a/python/pykde/sip/kfile/kfile-kde321.diff +++ /dev/null @@ -1,5 +0,0 @@ -+ %Include kcustommenueditor.sip -+ %Include kdiskfreesp.sip -+ %Include kencodingfiledialog.sip -+ %Include kfilesharedlg.sip -+ %Include knotifydialog.sip diff --git a/python/pykde/sip/kfile/kfile-kde322.diff b/python/pykde/sip/kfile/kfile-kde322.diff deleted file mode 100644 index 2545aae5..00000000 --- a/python/pykde/sip/kfile/kfile-kde322.diff +++ /dev/null @@ -1,5 +0,0 @@ -+ %Include kcustommenueditor.sip -+ %Include kdiskfreesp.sip -+ %Include kencodingfiledialog.sip -+ %Include kfilesharedlg.sip -+ %Include knotifydialog.sip diff --git a/python/pykde/sip/kfile/kfile-kde323.diff b/python/pykde/sip/kfile/kfile-kde323.diff deleted file mode 100644 index 2545aae5..00000000 --- a/python/pykde/sip/kfile/kfile-kde323.diff +++ /dev/null @@ -1,5 +0,0 @@ -+ %Include kcustommenueditor.sip -+ %Include kdiskfreesp.sip -+ %Include kencodingfiledialog.sip -+ %Include kfilesharedlg.sip -+ %Include knotifydialog.sip diff --git a/python/pykde/sip/kfile/kfile-kde330.diff b/python/pykde/sip/kfile/kfile-kde330.diff deleted file mode 100644 index 2545aae5..00000000 --- a/python/pykde/sip/kfile/kfile-kde330.diff +++ /dev/null @@ -1,5 +0,0 @@ -+ %Include kcustommenueditor.sip -+ %Include kdiskfreesp.sip -+ %Include kencodingfiledialog.sip -+ %Include kfilesharedlg.sip -+ %Include knotifydialog.sip diff --git a/python/pykde/sip/kfile/kfile-kde331.diff b/python/pykde/sip/kfile/kfile-kde331.diff deleted file mode 100644 index 2545aae5..00000000 --- a/python/pykde/sip/kfile/kfile-kde331.diff +++ /dev/null @@ -1,5 +0,0 @@ -+ %Include kcustommenueditor.sip -+ %Include kdiskfreesp.sip -+ %Include kencodingfiledialog.sip -+ %Include kfilesharedlg.sip -+ %Include knotifydialog.sip diff --git a/python/pykde/sip/kfile/kfile-kde332.diff b/python/pykde/sip/kfile/kfile-kde332.diff deleted file mode 100644 index 2545aae5..00000000 --- a/python/pykde/sip/kfile/kfile-kde332.diff +++ /dev/null @@ -1,5 +0,0 @@ -+ %Include kcustommenueditor.sip -+ %Include kdiskfreesp.sip -+ %Include kencodingfiledialog.sip -+ %Include kfilesharedlg.sip -+ %Include knotifydialog.sip diff --git a/python/pykde/sip/kfile/kfile-kde340.diff b/python/pykde/sip/kfile/kfile-kde340.diff deleted file mode 100644 index 2545aae5..00000000 --- a/python/pykde/sip/kfile/kfile-kde340.diff +++ /dev/null @@ -1,5 +0,0 @@ -+ %Include kcustommenueditor.sip -+ %Include kdiskfreesp.sip -+ %Include kencodingfiledialog.sip -+ %Include kfilesharedlg.sip -+ %Include knotifydialog.sip diff --git a/python/pykde/sip/kfile/kfile-kde341.diff b/python/pykde/sip/kfile/kfile-kde341.diff deleted file mode 100644 index 2545aae5..00000000 --- a/python/pykde/sip/kfile/kfile-kde341.diff +++ /dev/null @@ -1,5 +0,0 @@ -+ %Include kcustommenueditor.sip -+ %Include kdiskfreesp.sip -+ %Include kencodingfiledialog.sip -+ %Include kfilesharedlg.sip -+ %Include knotifydialog.sip diff --git a/python/pykde/sip/kfile/kfile-kde342.diff b/python/pykde/sip/kfile/kfile-kde342.diff deleted file mode 100644 index 2545aae5..00000000 --- a/python/pykde/sip/kfile/kfile-kde342.diff +++ /dev/null @@ -1,5 +0,0 @@ -+ %Include kcustommenueditor.sip -+ %Include kdiskfreesp.sip -+ %Include kencodingfiledialog.sip -+ %Include kfilesharedlg.sip -+ %Include knotifydialog.sip diff --git a/python/pykde/sip/kfile/kfile-kde343.diff b/python/pykde/sip/kfile/kfile-kde343.diff deleted file mode 100644 index 2545aae5..00000000 --- a/python/pykde/sip/kfile/kfile-kde343.diff +++ /dev/null @@ -1,5 +0,0 @@ -+ %Include kcustommenueditor.sip -+ %Include kdiskfreesp.sip -+ %Include kencodingfiledialog.sip -+ %Include kfilesharedlg.sip -+ %Include knotifydialog.sip diff --git a/python/pykde/sip/kfile/kfile-kde350.diff b/python/pykde/sip/kfile/kfile-kde350.diff deleted file mode 100644 index 2545aae5..00000000 --- a/python/pykde/sip/kfile/kfile-kde350.diff +++ /dev/null @@ -1,5 +0,0 @@ -+ %Include kcustommenueditor.sip -+ %Include kdiskfreesp.sip -+ %Include kencodingfiledialog.sip -+ %Include kfilesharedlg.sip -+ %Include knotifydialog.sip diff --git a/python/pykde/sip/kfile/kfile-kde351.diff b/python/pykde/sip/kfile/kfile-kde351.diff deleted file mode 100644 index 2545aae5..00000000 --- a/python/pykde/sip/kfile/kfile-kde351.diff +++ /dev/null @@ -1,5 +0,0 @@ -+ %Include kcustommenueditor.sip -+ %Include kdiskfreesp.sip -+ %Include kencodingfiledialog.sip -+ %Include kfilesharedlg.sip -+ %Include knotifydialog.sip diff --git a/python/pykde/sip/kfile/kfile-kde352.diff b/python/pykde/sip/kfile/kfile-kde352.diff deleted file mode 100644 index 81a06032..00000000 --- a/python/pykde/sip/kfile/kfile-kde352.diff +++ /dev/null @@ -1,6 +0,0 @@ -- %Include krecentdirs.sip -+ %Include kcustommenueditor.sip -+ %Include kdiskfreesp.sip -+ %Include kencodingfiledialog.sip -+ %Include kfilesharedlg.sip -+ %Include knotifydialog.sip diff --git a/python/pykde/sip/kfile/kfile-kde353.diff b/python/pykde/sip/kfile/kfile-kde353.diff deleted file mode 100644 index 2545aae5..00000000 --- a/python/pykde/sip/kfile/kfile-kde353.diff +++ /dev/null @@ -1,5 +0,0 @@ -+ %Include kcustommenueditor.sip -+ %Include kdiskfreesp.sip -+ %Include kencodingfiledialog.sip -+ %Include kfilesharedlg.sip -+ %Include knotifydialog.sip diff --git a/python/pykde/sip/kfile/kfile.sip b/python/pykde/sip/kfile/kfile.sip deleted file mode 100644 index e383ff8c..00000000 --- a/python/pykde/sip/kfile/kfile.sip +++ /dev/null @@ -1,115 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kfile version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KFile -{ -%TypeHeaderCode -#include -%End - - -public: - -%If ( KDE_3_3_0 - ) - - enum Mode - { - File, - Directory, - Files, - ExistingOnly, - LocalOnly, - ModeMax - }; - - - enum FileView - { - Default, - Simple, - Detail, - SeparateDirs, - PreviewContents, - PreviewInfo, - FileViewMax - }; - -%End - - - enum SelectionMode - { - Single, - Multi, - Extended, - NoSelection - }; - - static bool isSortByName (const QDir::SortSpec&); - static bool isSortBySize (const QDir::SortSpec&); - static bool isSortByDate (const QDir::SortSpec&); - static bool isSortDirsFirst (const QDir::SortSpec&); - static bool isSortCaseInsensitive (const QDir::SortSpec&); - static bool isDefaultView (const KFile::FileView&); - static bool isSimpleView (const KFile::FileView&); - static bool isDetailView (const KFile::FileView&); - static bool isSeparateDirs (const KFile::FileView&); - static bool isPreviewContents (const KFile::FileView&); - -%If ( KDE_3_1_0 - ) - static bool isPreviewInfo (const KFile::FileView&); -%End - - -public: - -%If ( - KDE_3_3_0 ) - - enum Mode - { - File, - Directory, - Files, - ExistingOnly, - LocalOnly - }; - - - enum FileView - { - Default, - Simple, - Detail, - SeparateDirs, - PreviewContents, - PreviewInfo - }; - -%End - - -}; // class KFile - diff --git a/python/pykde/sip/kfile/kfilebookmark.sip b/python/pykde/sip/kfile/kfilebookmark.sip deleted file mode 100644 index 9ab287bd..00000000 --- a/python/pykde/sip/kfile/kfilebookmark.sip +++ /dev/null @@ -1,157 +0,0 @@ -// -// Copyright 2003 Jim Bublitz -// Earlier copyrights 1998 - 2002 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kfile version KDE_3_1_1 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KFileBookmark -{ -%TypeHeaderCode -#include -%End - - -public: - - enum - { - URL, - Folder - }; - - KFileBookmark (); - KFileBookmark (const QString&, const QString&); - void clear (); - void setText (const QString&); - void setURL (const QString&); - void setType (int); - const QString getText (); - const QString getURL (); - int getType (); - QPtrList& getChildren (); - -}; // class KFileBookmark - - -class KFileBookmarkManager : QObject -{ -%TypeHeaderCode -#include -%End - - -public: - KFileBookmarkManager (); - void setTitle (const QString&); - void read (const QString&); - void write (const QString&); - void add (const QString&, const QString&); - bool remove (int); - bool moveUp (int); - bool moveDown (int); - void reread (); - void rename (int, const QString&); - void write (); - KFileBookmark* getBookmark (int); - KFileBookmark* getRoot (); - -signals: - void changed (); - -}; // class KFileBookmarkManager - - - -%MappedType QPtrList -//converts a Python list of KFileBookmark -{ -%TypeHeaderCode -#include -%End - -%ConvertFromTypeCode - if (!sipCpp) - return PyList_New (0); - - PyObject *pylist; - - // Create the list - - if ((pylist = PyList_New(0)) == NULL) - return NULL; - - // Get it. - - QPtrList *cpplist = (QPtrList *)sipCpp; - KFileBookmark *cpp; - PyObject *inst; - - // the loop depends on the type of iterator the tmeplate makes available - for(cpp = cpplist->first (); cpp != 0; cpp = cpplist->next () ) - { - if (((inst = sipConvertFromInstance (cpp, sipClass_KFileBookmark, sipTransferObj)) == NULL) - || PyList_Append (pylist, inst) < 0) - { - Py_DECREF (pylist); - return NULL; - } - } - - return pylist; -%End - -%ConvertToTypeCode - if (sipIsErr == NULL) - return PyList_Check(sipPy); - - QPtrList *cpplist = new QPtrList; - - PyObject *elem; - KFileBookmark *cpp; - int iserr = 0; - - for (int i = 0; i < PyList_Size (sipPy); i++) - { - elem = PyList_GET_ITEM (sipPy, i); - #if SIPVERSION >= 0x040400 - cpp = (KFileBookmark *)sipForceConvertToTransfer_KFileBookmark (elem, &iserr, sipTransferObj); - #else - cpp = (KFileBookmark *)sipForceConvertTo_KFileBookmark (elem, &iserr); - #endif - if (iserr) - { - *sipIsErr = 1; - delete cpplist; - return 0; - } - - cpplist->append (cpp); - } - - *sipCppPtr = cpplist; - - return 1; -%End -}; - - diff --git a/python/pykde/sip/kfile/kfiledetailview.sip b/python/pykde/sip/kfile/kfiledetailview.sip deleted file mode 100644 index 0528e3d4..00000000 --- a/python/pykde/sip/kfile/kfiledetailview.sip +++ /dev/null @@ -1,207 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kfile version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KFileListViewItem : KListViewItem -{ -%TypeHeaderCode -#include -%End - - -public: - KFileListViewItem (QListView* /TransferThis/, const QString&, const QPixmap&, KFileItem*); - -%If ( KDE_3_0_1 - ) - KFileListViewItem (QListView* /TransferThis/, KFileItem*); -%End - - KFileListViewItem (QListView* /TransferThis/, const QString&, const QPixmap&, KFileItem*, QListViewItem*); - KFileItem* fileInfo () const; - virtual QString key (int, bool) const; - void setKey (const QString&); - QRect rect () const; - -%If ( KDE_3_0_1 - ) - void init (); -%End - - -}; // class KFileListViewItem - - -class KFileDetailView : KListView, KFileView -{ -%TypeHeaderCode -#include -%End - - -public: - KFileDetailView (QWidget* /TransferThis/, const char*); - virtual QWidget* widget (); - virtual void clearView (); - virtual void setAutoUpdate (bool); - virtual void setSelectionMode (KFile::SelectionMode); - virtual void updateView (bool); - virtual void updateView (const KFileItem*); - virtual void removeItem (const KFileItem*); - virtual void listingCompleted (); - virtual void setSelected (const KFileItem*, bool); - virtual bool isSelected (const KFileItem*) const; - virtual void clearSelection (); - virtual void selectAll (); - virtual void invertSelection (); - virtual void setCurrentItem (const KFileItem*); - virtual KFileItem* currentFileItem () const; - virtual KFileItem* firstFileItem () const; - virtual KFileItem* nextItem (const KFileItem*) const; - virtual KFileItem* prevItem (const KFileItem*) const; - virtual void insertItem (KFileItem*); - virtual void setSorting (QDir::SortSpec); - void ensureItemVisible (const KFileItem*); - void mimeTypeDeterminationFinished (); - void determineIcon (KFileListViewItem*); - QScrollView* scrollWidget () const; - -%If ( KDE_3_2_0 - ) - virtual void readConfig (KConfig*, const QString& = QString ::null ); - virtual void writeConfig (KConfig*, const QString& = QString ::null ); -%End - - -signals: - -%If ( KDE_3_2_0 - ) - void dropped (QDropEvent*, KFileItem*); - void dropped (QDropEvent*, const KURL::List&, const KURL&); -%End - - -protected: - virtual void keyPressEvent (QKeyEvent*); - -%If ( KDE_3_2_0 - ) - virtual QDragObject* dragObject (); - virtual void contentsDragEnterEvent (QDragEnterEvent*); - virtual void contentsDragMoveEvent (QDragMoveEvent*); - virtual void contentsDragLeaveEvent (QDragLeaveEvent*); - virtual void contentsDropEvent (QDropEvent*); - virtual bool acceptDrag (QDropEvent*) const; -%End - - -protected slots: - void slotSelectionChanged (); - -protected: -//igx virtual void virtual_hook (int, void*); -//force - -private: - void slotSortingChanged (int); - void selected (QListViewItem*); - void slotDoubleClicked (QListViewItem*); - void highlighted (QListViewItem*); - void rightButtonPressed (QListViewItem*); - -//force -%ConvertToSubClassCode - // The table of Python class objects indexed by their names. The table - // must be sorted by name. - - static sipStringTypeClassMap map[] = { - {sipName_KApplicationPropsPlugin, &sipClass_KApplicationPropsPlugin}, - {sipName_KApplicationPropsPlugin, &sipClass_KApplicationPropsPlugin}, -#if KDE_VERSION < 310 -// {sipName_KApplicationTree, &sipClass_KApplicationTree}, -#endif - {sipName_KBindingPropsPlugin, &sipClass_KBindingPropsPlugin}, - {sipName_KBindingPropsPlugin, &sipClass_KBindingPropsPlugin}, - {sipName_KCombiView, &sipClass_KCombiView}, -#if KDE_VERSION >= 0x030100 - {sipName_KCustomMenuEditor, &sipClass_KCustomMenuEditor}, -#endif - {sipName_KDevicePropsPlugin, &sipClass_KDevicePropsPlugin}, - {sipName_KDevicePropsPlugin, &sipClass_KDevicePropsPlugin}, - {sipName_KDirOperator, &sipClass_KDirOperator}, - {sipName_KDirSelectDialog, &sipClass_KDirSelectDialog}, - {sipName_KDirSize, &sipClass_KDirSize}, -#if KDE_VERSION >= 0x030100 - {sipName_KDiskFreeSp, &sipClass_KDiskFreeSp}, -#endif - {sipName_KExecPropsPlugin, &sipClass_KExecPropsPlugin}, - {sipName_KExecPropsPlugin, &sipClass_KExecPropsPlugin}, - {sipName_KFileDetailView, &sipClass_KFileDetailView}, - {sipName_KFileDialog, &sipClass_KFileDialog}, - {sipName_KFileFilterCombo, &sipClass_KFileFilterCombo}, - {sipName_KFileIconView, &sipClass_KFileIconView}, - {sipName_KFilePermissionsPropsPlugin,&sipClass_KFilePermissionsPropsPlugin}, - {sipName_KFilePermissionsPropsPlugin,&sipClass_KFilePermissionsPropsPlugin}, - {sipName_KFilePreview, &sipClass_KFilePreview}, - {sipName_KFilePropsPlugin, &sipClass_KFilePropsPlugin}, - {sipName_KFilePropsPlugin, &sipClass_KFilePropsPlugin}, -#if KDE_VERSION >= 0x030100 - {sipName_KFileSharePropsPlugin, &sipClass_KFileSharePropsPlugin}, -#endif - {sipName_KFileTreeBranch, &sipClass_KFileTreeBranch}, - {sipName_KFileTreeView, &sipClass_KFileTreeView}, - {sipName_KFileTreeViewToolTip, &sipClass_KFileTreeViewToolTip}, - {sipName_KFileViewSignaler, &sipClass_KFileViewSignaler}, - {sipName_KIconButton, &sipClass_KIconButton}, - {sipName_KIconCanvas, &sipClass_KIconCanvas}, - {sipName_KIconDialog, &sipClass_KIconDialog}, - {sipName_KImageFilePreview, &sipClass_KImageFilePreview}, -#if KDE_VERSION >= 0x030100 - {sipName_KNotifyDialog, &sipClass_KNotifyDialog}, - {sipName_KNotifyWidget, &sipClass_KNotify_KNotifyWidget}, -#if KDE_VERSION < 0x030200 - {sipName_KNotifyWidgetBase, &sipClass_KNotifyWidgetBase}, -#endif -#endif - {sipName_KOpenWithDlg, &sipClass_KOpenWithDlg}, - {sipName_KPreviewWidgetBase, &sipClass_KPreviewWidgetBase}, - {sipName_KPropertiesDialog, &sipClass_KPropertiesDialog}, - {sipName_KPropertiesDialog, &sipClass_KPropertiesDialog}, - {sipName_KPropsDlgPlugin, &sipClass_KPropsDlgPlugin}, - {sipName_KPropsDlgPlugin, &sipClass_KPropsDlgPlugin}, - {sipName_KURLBar, &sipClass_KURLBar}, - {sipName_KURLBarItem, &sipClass_KURLBarItem}, - {sipName_KURLBarItemDialog, &sipClass_KURLBarItemDialog}, - {sipName_KURLBarListBox, &sipClass_KURLBarListBox}, - {sipName_KURLComboBox, &sipClass_KURLComboBox}, - {sipName_KURLPropsPlugin, &sipClass_KURLPropsPlugin}, - {sipName_KURLPropsPlugin, &sipClass_KURLPropsPlugin}, - {sipName_KURLRequester, &sipClass_KURLRequester}, - {sipName_KURLRequesterDlg, &sipClass_KURLRequesterDlg}, - }; - - sipClass = sipMapStringToClass(sipCpp -> className(),map,sizeof (map)/sizeof (map[0])); -%End -//end -//end - -}; // class KFileDetailView - diff --git a/python/pykde/sip/kfile/kfiledialog.sip b/python/pykde/sip/kfile/kfiledialog.sip deleted file mode 100644 index 61820f67..00000000 --- a/python/pykde/sip/kfile/kfiledialog.sip +++ /dev/null @@ -1,207 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kfile version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KFileDialog : KDialogBase -{ -%TypeHeaderCode -#include -%End - - -public: - - enum OperationMode - { - Other, - Opening, - Saving - }; - - KFileDialog (const QString&, const QString&, QWidget* /TransferThis/, const char*, bool); - -%If ( KDE_3_1_0 - ) - KFileDialog (const QString&, const QString&, QWidget* /TransferThis/, const char*, bool, QWidget*); -%End - - KURL selectedURL () const; - KURL::List selectedURLs () const; - KURL baseURL () const; - QString selectedFile () const; - QStringList selectedFiles () const; - void setURL (const KURL&, bool = 1); - void setSelection (const QString&); - void setOperationMode (KFileDialog::OperationMode); - KFileDialog::OperationMode operationMode () const; - void setKeepLocation (bool); - bool keepsLocation () const; - void setFilter (const QString&); - QString currentFilter () const; - void setFilterMimeType (const QString&, const KMimeType::List&, const KMimeType::Ptr&); - KMimeType::Ptr currentFilterMimeType (); - void setMimeFilter (const QStringList&, const QString& = QString ::null ); - QString currentMimeFilter () const; - void clearFilter (); - void setPreviewWidget (const QWidget*); - void setPreviewWidget (const KPreviewWidgetBase*); - static QString getOpenFileName (const QString& = QString ::null , const QString& = QString ::null , QWidget* /Transfer/ = 0, const QString& = QString ::null ); - -%If ( KDE_3_4_0 - ) - static QString getOpenFileNameWId (const QString&, const QString&, WId, const QString&); -%End - - static QStringList getOpenFileNames (const QString& = QString ::null , const QString& = QString ::null , QWidget* /Transfer/ = 0, const QString& = QString ::null ); - static KURL getOpenURL (const QString& = QString ::null , const QString& = QString ::null , QWidget* /Transfer/ = 0, const QString& = QString ::null ); - static KURL::List getOpenURLs (const QString& = QString ::null , const QString& = QString ::null , QWidget* /Transfer/ = 0, const QString& = QString ::null ); - static QString getSaveFileName (const QString& = QString ::null , const QString& = QString ::null , QWidget* /Transfer/ = 0, const QString& = QString ::null ); - -%If ( KDE_3_4_0 - ) - static QString getSaveFileNameWId (const QString&, const QString&, WId, const QString&); -%End - - static KURL getSaveURL (const QString& = QString ::null , const QString& = QString ::null , QWidget* /Transfer/ = 0, const QString& = QString ::null ); - static QString getExistingDirectory (const QString& = QString ::null , QWidget* /Transfer/ = 0, const QString& = QString ::null ); - -%If ( KDE_3_1_0 - ) - static KURL getExistingURL (const QString& = QString ::null , QWidget* /Transfer/ = 0, const QString& = QString ::null ); -%End - - static KURL getImageOpenURL (const QString& = QString ::null , QWidget* /Transfer/ = 0, const QString& = QString ::null ); - virtual void show (); - void setMode (KFile::Mode); - void setMode (uint); - KFile::Mode mode () const; - void setLocationLabel (const QString&); - KToolBar* toolBar () const; - KPushButton* okButton () const; - KPushButton* cancelButton () const; - -%If ( KDE_3_2_0 - ) - KURLBar* speedBar (); -%End - - KActionCollection* actionCollection () const; - -%If ( KDE_3_1_0 - ) - int pathComboIndex (); - static KURL getStartURL (const QString&, QString&); - -%If ( KDE_3_2_0 - ) - static void setStartDir (const KURL&); -%End - -%End - - -signals: - void fileSelected (const QString&); - void fileHighlighted (const QString&); - void selectionChanged (); - void filterChanged (const QString&); - -protected: - -%If ( KDE_3_2_0 - ) - virtual void keyPressEvent (QKeyEvent*); -%End - - -%If ( KDE_3_1_0 - ) - void init (const QString&, const QString&, QWidget*); -%End - - virtual void initGUI (); - void multiSelectionChanged (); - virtual void readConfig (KConfig*, const QString& = QString ::null ); - virtual void writeConfig (KConfig*, const QString& = QString ::null ); - virtual void readRecentFiles (KConfig*); - virtual void saveRecentFiles (KConfig*); - KURL::List tokenize (const QString&) const; - -%If ( KDE_3_2_0 - ) - KURL getCompleteURL (const QString&); - QString currentFilterExtension (); - void updateAutoSelectExtension (); -%End - - -protected slots: - void urlEntered (const KURL&); - void enterURL (const KURL&); - void enterURL (const QString&); - void locationActivated (const QString&); - void toolbarCallback (int); - void pathComboChanged (const QString&); - void dirCompletion (const QString&); - void slotFilterChanged (); - void fileHighlighted (const KFileItem*); - void fileSelected (const KFileItem*); - void slotStatResult (KIO::Job*); - void slotLoadingFinished (); - void fileCompletion (const QString&); - -%If ( KDE_3_1_0 - ) - void toggleSpeedbar (bool); - -%If ( KDE_3_4_0 - ) - void toggleBookmarks (bool); -%End - -%End - - virtual void updateStatusLine (int, int); - virtual void slotOk (); - virtual void accept (); - virtual void slotCancel (); - -%If ( KDE_3_2_0 - ) - void slotAutoSelectExtClicked (); -%End - - void addToRecentDocuments (); - -%If ( KDE_3_1_0 - ) - void initSpeedbar (); -%End - - -private: - KFileDialog (const KFileDialog&); - -protected: - KURL::List& parseSelectedURLs () const; - -protected: -//igx virtual void virtual_hook (int, void*); - -protected: - -%If ( - KDE_3_2_0 ) -//ig void addDirEntry (KFileItem*, bool); -%End - - -}; // class KFileDialog - diff --git a/python/pykde/sip/kfile/kfilefiltercombo.sip b/python/pykde/sip/kfile/kfilefiltercombo.sip deleted file mode 100644 index 73ffa997..00000000 --- a/python/pykde/sip/kfile/kfilefiltercombo.sip +++ /dev/null @@ -1,58 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kfile version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KFileFilterCombo : KComboBox -{ -%TypeHeaderCode -#include -%End - - -public: - KFileFilterCombo (QWidget* /TransferThis/ = 0, const char* = 0); - void setFilter (const QString&); - QString currentFilter () const; - -%If ( KDE_3_4_0 - ) - void setCurrentFilter (const QString&); -%End - - void setMimeFilter (const QStringList&, const QString&); - bool showsAllTypes () const; - void setDefaultFilter (const QString&); - QString defaultFilter () const; - -protected: - virtual bool eventFilter (QObject*, QEvent*); - -signals: - void filterChanged (); - -protected: -//igx virtual void virtual_hook (int, void*); - -}; // class KFileFilterCombo - diff --git a/python/pykde/sip/kfile/kfileiconview.sip b/python/pykde/sip/kfile/kfileiconview.sip deleted file mode 100644 index 1b33a171..00000000 --- a/python/pykde/sip/kfile/kfileiconview.sip +++ /dev/null @@ -1,141 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kfile version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KFileIconViewItem : KIconViewItem -{ -%TypeHeaderCode -#include -%End - - -public: - KFileIconViewItem (QIconView* /TransferThis/, const QString&, const QPixmap&, KFileItem*); - -%If ( KDE_3_0_1 - ) - KFileIconViewItem (QIconView* /TransferThis/, KFileItem*); -%End - - KFileItem* fileInfo () const; - -}; // class KFileIconViewItem - - -class KFileIconView : KIconView, KFileView -{ -%TypeHeaderCode -#include -%End - - -public: - KFileIconView (QWidget* /TransferThis/, const char*); - virtual QWidget* widget (); - virtual void clearView (); - virtual void setAutoUpdate (bool); - virtual void updateView (bool); - virtual void updateView (const KFileItem*); - virtual void removeItem (const KFileItem*); - virtual void listingCompleted (); - virtual void insertItem (KFileItem*); - virtual void setSelectionMode (KFile::SelectionMode); - virtual void setSelected (const KFileItem*, bool); - virtual bool isSelected (const KFileItem*) const; - virtual void clearSelection (); - virtual void selectAll (); - virtual void invertSelection (); - virtual void setCurrentItem (const KFileItem*); - virtual KFileItem* currentFileItem () const; - virtual KFileItem* firstFileItem () const; - virtual KFileItem* nextItem (const KFileItem*) const; - virtual KFileItem* prevItem (const KFileItem*) const; - void setIconSize (int); - void setPreviewSize (int); - -%If ( KDE_3_4_0 - ) - void setIgnoreMaximumSize (bool = 1); -%End - - int iconSize () const; - void ensureItemVisible (const KFileItem*); - virtual void setSorting (QDir::SortSpec); - virtual void readConfig (KConfig*, const QString& = QString ::null ); - virtual void writeConfig (KConfig*, const QString& = QString ::null ); - void mimeTypeDeterminationFinished (); - void determineIcon (KFileIconViewItem*); - QScrollView* scrollWidget () const; - -%If ( KDE_3_2_0 - ) - void setAcceptDrops (bool); -%End - - -public slots: - void showPreviews (); - -%If ( KDE_3_2_0 - ) - void zoomIn (); - void zoomOut (); -%End - - -%If ( KDE_3_1_0 - ) - virtual void arrangeItemsInGrid (bool = 1); -%End - - -protected: - virtual void keyPressEvent (QKeyEvent*); - virtual void hideEvent (QHideEvent*); - virtual void showEvent (QShowEvent*); - -%If ( KDE_3_0_1 - ) - virtual bool eventFilter (QObject*, QEvent*); - -%If ( KDE_3_2_0 - ) - virtual QDragObject* dragObject (); - virtual void contentsDragEnterEvent (QDragEnterEvent*); - virtual void contentsDragMoveEvent (QDragMoveEvent*); - virtual void contentsDragLeaveEvent (QDragLeaveEvent*); - virtual void contentsDropEvent (QDropEvent*); - bool acceptDrag (QDropEvent*) const; -%End - -%End - - -signals: - -%If ( KDE_3_2_0 - ) - void dropped (QDropEvent*, KFileItem*); - void dropped (QDropEvent*, const KURL::List&, const KURL&); -%End - - -protected: -//igx virtual void virtual_hook (int, void*); - -}; // class KFileIconView - diff --git a/python/pykde/sip/kfile/kfilemod.sip b/python/pykde/sip/kfile/kfilemod.sip deleted file mode 100644 index 69abc66f..00000000 --- a/python/pykde/sip/kfile/kfilemod.sip +++ /dev/null @@ -1,67 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kfile version KDE_3_5_2 - -%Copying - - This software is free software; you can redistribute it and/or - modify it under the terms of the GNU General Public License as - published by the Free Software Foundation; either version 2 of - the License, or (at your option) any later version. - - This software is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public - License along with this library; see the file COPYING. - If not, write to the Free Software Foundation, Inc., - 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - -%End - -%Module kfile - -%Import qt/qtmod.sip -%Import qtxml/qtxmlmod.sip -%Import dcopmod.sip -%Import kdecoremod.sip -%Import kdefxmod.sip -%Import kdeuimod.sip -%Import kiomod.sip - -%Include kcombiview.sip -%Include kdiroperator.sip -%Include kdirselectdialog.sip -%Include kdirsize.sip -%Include kfile.sip -%Include kfiledetailview.sip -%Include kfiledialog.sip -%Include kfilefiltercombo.sip -%Include kfileiconview.sip -%Include kfilepreview.sip -%Include kfiletreebranch.sip -%Include kfiletreeview.sip -%Include kfiletreeviewitem.sip -%Include kfileview.sip -%Include kicondialog.sip -%Include kimagefilepreview.sip -%Include kopenwith.sip -%Include kpreviewwidgetbase.sip -%Include kpropertiesdialog.sip -%Include krecentdocument.sip -%Include kurlbar.sip -%Include kurlcombobox.sip -%Include kurlrequester.sip -%Include kurlrequesterdlg.sip -%Include kcustommenueditor.sip -%Include kdiskfreesp.sip -%Include kencodingfiledialog.sip -%Include kfilesharedlg.sip -%Include knotifydialog.sip diff --git a/python/pykde/sip/kfile/kfilemod.sip.in b/python/pykde/sip/kfile/kfilemod.sip.in deleted file mode 100644 index c3893e88..00000000 --- a/python/pykde/sip/kfile/kfilemod.sip.in +++ /dev/null @@ -1,63 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kfile version KDE_3_5_2 - -%Copying - - This software is free software; you can redistribute it and/or - modify it under the terms of the GNU General Public License as - published by the Free Software Foundation; either version 2 of - the License, or (at your option) any later version. - - This software is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public - License along with this library; see the file COPYING. - If not, write to the Free Software Foundation, Inc., - 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - -%End - -%Module kfile - -%Import qt/qtmod.sip -%Import qtxml/qtxmlmod.sip -%Import dcopmod.sip -%Import kdecoremod.sip -%Import kdefxmod.sip -%Import kdeuimod.sip -%Import kiomod.sip - -%Include kcombiview.sip -%Include kdiroperator.sip -%Include kdirselectdialog.sip -%Include kdirsize.sip -%Include kfile.sip -%Include kfiledetailview.sip -%Include kfiledialog.sip -%Include kfilefiltercombo.sip -%Include kfileiconview.sip -%Include kfilepreview.sip -%Include kfiletreebranch.sip -%Include kfiletreeview.sip -%Include kfiletreeviewitem.sip -%Include kfileview.sip -%Include kicondialog.sip -%Include kimagefilepreview.sip -%Include kopenwith.sip -%Include kpreviewwidgetbase.sip -%Include kpropertiesdialog.sip -%Include krecentdocument.sip -%Include kurlbar.sip -%Include kurlcombobox.sip -%Include kurlrequester.sip -%Include kurlrequesterdlg.sip -@mark@ diff --git a/python/pykde/sip/kfile/kfilepreview.sip b/python/pykde/sip/kfile/kfilepreview.sip deleted file mode 100644 index 7757f983..00000000 --- a/python/pykde/sip/kfile/kfilepreview.sip +++ /dev/null @@ -1,80 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kfile version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KFilePreview : QSplitter, KFileView -{ -%TypeHeaderCode -#include -%End - - -public: - KFilePreview (QWidget* /TransferThis/, const char*); - KFilePreview (KFileView*, QWidget* /TransferThis/, const char*); - virtual QWidget* widget (); - virtual void clearView (); - void setFileView (KFileView*); - KFileView* fileView () const; - virtual void updateView (bool); - virtual void updateView (const KFileItem*); - virtual void removeItem (const KFileItem*); - virtual void listingCompleted (); - virtual void setSelectionMode (KFile::SelectionMode); - virtual void setSelected (const KFileItem*, bool); - virtual bool isSelected (const KFileItem*) const; - virtual void clearSelection (); - virtual void selectAll (); - virtual void invertSelection (); - virtual void insertItem (KFileItem*); - virtual void clear (); - virtual void setCurrentItem (const KFileItem*); - virtual KFileItem* currentFileItem () const; - virtual KFileItem* firstFileItem () const; - virtual KFileItem* nextItem (const KFileItem*) const; - virtual KFileItem* prevItem (const KFileItem*) const; - virtual void setSorting (QDir::SortSpec); - -%If ( KDE_3_1_0 - ) - virtual void readConfig (KConfig*, const QString& = QString ::null ); - virtual void writeConfig (KConfig*, const QString& = QString ::null ); -%End - - virtual KActionCollection* actionCollection () const; - void ensureItemVisible (const KFileItem*); - void setPreviewWidget (const QWidget*, const KURL&); - -protected slots: - virtual void slotHighlighted (const KFileItem*); - -signals: - void showPreview (const KURL&); - void clearPreview (); - -protected: -//igx virtual void virtual_hook (int, void*); - -}; // class KFilePreview - diff --git a/python/pykde/sip/kfile/kfilereader.sip b/python/pykde/sip/kfile/kfilereader.sip deleted file mode 100644 index 5313cd84..00000000 --- a/python/pykde/sip/kfile/kfilereader.sip +++ /dev/null @@ -1,47 +0,0 @@ -// -// Copyright 2003 Jim Bublitz -// Earlier copyrights 1998 - 2002 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kfile version KDE_3_1_1 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KFileReader : KDirLister -{ -%TypeHeaderCode -#include -%End - - -public: - KFileReader (); - KFileReader (const KURL&, const QString& = QString::null); - bool isRoot () const; - bool isReadable () const; - -protected: - virtual KFileItem* createFileItem (const KIO::UDSEntry&, const KURL&, bool); - -private: - KFileReader (const KFileReader&); - -}; // class KFileReader - diff --git a/python/pykde/sip/kfile/kfilesharedlg.sip b/python/pykde/sip/kfile/kfilesharedlg.sip deleted file mode 100644 index 42f825b6..00000000 --- a/python/pykde/sip/kfile/kfilesharedlg.sip +++ /dev/null @@ -1,53 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kfile version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -%If ( KDE_3_1_0 - ) - -class KFileSharePropsPlugin : KPropsDlgPlugin -{ -%TypeHeaderCode -#include -%End - - -public: - KFileSharePropsPlugin (KPropertiesDialog*); - virtual void applyChanges (); - static bool supports (const KFileItemList&); - QWidget* page () const; - -protected slots: - void slotConfigureFileSharing (); - -%If ( KDE_3_4_0 - ) - void slotConfigureFileSharingDone (); -%End - - -}; // class KFileSharePropsPlugin - -%End - diff --git a/python/pykde/sip/kfile/kfiletreebranch.sip b/python/pykde/sip/kfile/kfiletreebranch.sip deleted file mode 100644 index f6550361..00000000 --- a/python/pykde/sip/kfile/kfiletreebranch.sip +++ /dev/null @@ -1,235 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kfile version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KFileTreeBranch : KDirLister -{ -%TypeHeaderCode -#include -%End - - -public: - KFileTreeBranch (KFileTreeView*, const KURL&, const QString&, const QPixmap&, bool = 0, KFileTreeViewItem* = 0); - KURL rootUrl () const; - virtual void setRoot (KFileTreeViewItem*); - KFileTreeViewItem* root (); - QString name () const; - virtual void setName (const QString); - const QPixmap& pixmap (); - const QPixmap& openPixmap (); - bool showExtensions () const; - void setOpen (bool = 1); - void setChildRecurse (bool = 1); - bool childRecurse (); - -public slots: - virtual bool populate (const KURL&, KFileTreeViewItem*); - virtual void setShowExtensions (bool = 1); - void setOpenPixmap (const QPixmap&); - -protected: - virtual KFileTreeViewItem* createTreeViewItem (KFileTreeViewItem* /Transfer/, KFileItem*); - -public: - -%If ( KDE_3_1_0 - ) - virtual KFileTreeViewItem* findTVIByURL (const KURL&); -%End - - -signals: - void populateFinished (KFileTreeViewItem*); - void newTreeViewItems (KFileTreeBranch*, KFileTreeViewItemList&); - void directoryChildCount (KFileTreeViewItem*, int); - -protected: -//igx virtual void virtual_hook (int, void*); - -protected: - -%If ( - KDE_3_1_0 ) - virtual KFileTreeViewItem* findTVIByURL (const KURL&); -%End - - -}; // class KFileTreeBranch - -typedef QPtrList KFileTreeBranchList; -//ig typedef QPtrListIterator KFileTreeBranchIterator; - - -%MappedType QPtrList -//converts a Python list of KFileTreeViewItem -{ -%TypeHeaderCode -#include -typedef QPtrList KFileTreeViewItemList; -#include -%End - -%ConvertFromTypeCode - // Convert to a Python list of KFileTreeViewItem - - if (!sipCpp) - return PyList_New(0); - - PyObject *ftvilist; - - // Create the list - - if ((ftvilist = PyList_New(0)) == NULL) - return NULL; - - // Get it. - - QPtrList *cList = (QPtrList *)sipCpp; - PyObject *item; - KFileTreeViewItem *ftvi; - - for( ftvi = cList->first(); ftvi; ftvi = cList->next ()) - { - item = sipConvertFromInstance (ftvi, sipClass_KFileTreeViewItem, sipTransferObj); - if ((item == NULL) || (PyList_Append (ftvilist, item) < 0)) - { - Py_XDECREF (item); - Py_DECREF (ftvilist); - return NULL; - } - } - - return ftvilist; -%End - -%ConvertToTypeCode - // Convert a Python list to a KFileTreeViewItemList on the heap. - - if (sipIsErr == NULL) - return PyList_Check(sipPy); - - QPtrList *cList = new QPtrList; - - PyObject *elem; - int iserr = 0; - KFileTreeViewItem *ftvi; - - for (int i = 0; i < PyList_Size (sipPy); i++) - { - elem = PyList_GET_ITEM (sipPy, i); - ftvi = (KFileTreeViewItem *)sipForceConvertTo_KFileTreeViewItem (elem, &iserr); - - if (iserr) - { - *sipIsErr = 1; - delete cList; - return 0; - } - - cList->append (ftvi); - } - - *sipCppPtr = cList; - - return 1; -%End -}; - - -%MappedType QPtrList -//converts a Python list of KFileTreeBranch -{ -%TypeHeaderCode -#include -#include -//typedef QPtrList KFileTreeBList; -%End - -%ConvertFromTypeCode - // Convert to a Python list of KFileTreeBranch - - if (!sipCpp) - return PyList_New(0); - - PyObject *ftblist; - - // Create the list - - if ((ftblist = PyList_New(0)) == NULL) - return NULL; - - // Get it. - - QPtrList *cList = (QPtrList *)sipCpp; - PyObject *item; - KFileTreeBranch *ftb; - - for( ftb = cList->first(); ftb; ftb = cList->next ()) - { - item = sipConvertFromInstance (ftb, sipClass_KFileTreeBranch, sipTransferObj); - if ((item == NULL) || (PyList_Append (ftblist, item) < 0)) - { - Py_XDECREF (item); - Py_DECREF (ftblist); - return NULL; - } - } - - return ftblist; -%End - -%ConvertToTypeCode - // Convert a Python list to a KFileTreeBranchList on the heap. - - if (sipIsErr == NULL) - return PyList_Check(sipPy); - - QPtrList *cList = new QPtrList; - - PyObject *elem; - int iserr = 0; - KFileTreeBranch *ftb; - - for (int i = 0; i < PyList_Size (sipPy); i++) - { - elem = PyList_GET_ITEM (sipPy, i); - ftb = (KFileTreeBranch *)sipForceConvertTo_KFileTreeBranch (elem, &iserr); - - if (iserr) - { - *sipIsErr = 1; - delete cList; - return 0; - } - - cList->append (ftb); - } - - *sipCppPtr = cList; - - return 1; -%End -}; - - diff --git a/python/pykde/sip/kfile/kfiletreeview.sip b/python/pykde/sip/kfile/kfiletreeview.sip deleted file mode 100644 index 4043e1cc..00000000 --- a/python/pykde/sip/kfile/kfiletreeview.sip +++ /dev/null @@ -1,109 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kfile version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KFileTreeViewToolTip : QToolTip -{ -%TypeHeaderCode -#include -%End - - -public: - KFileTreeViewToolTip (QListView*); - -protected: - virtual void maybeTip (const QPoint&); - -}; // class KFileTreeViewToolTip - - -class KFileTreeView : KListView -{ -%TypeHeaderCode -#include -%End - - -public: - KFileTreeView (QWidget* /TransferThis/, const char* = 0); - KFileTreeViewItem* currentKFileTreeViewItem () const; - KURL currentURL () const; - KFileTreeBranch* addBranch (const KURL&, const QString&, bool = 0); - virtual KFileTreeBranch* addBranch (const KURL&, const QString&, const QPixmap&, bool = 0); - virtual KFileTreeBranch* addBranch (KFileTreeBranch*); - virtual bool removeBranch (KFileTreeBranch*); - KFileTreeBranch* branch (const QString&); - KFileTreeBranchList& branches (); - virtual void setDirOnlyMode (KFileTreeBranch*, bool); - KFileTreeViewItem* findItem (KFileTreeBranch*, const QString&); - KFileTreeViewItem* findItem (const QString&, const QString&); - bool showFolderOpenPixmap () const; - -public slots: - virtual void setShowFolderOpenPixmap (bool = 1); - -protected: - virtual bool acceptDrag (QDropEvent*) const; - virtual QDragObject* dragObject (); - virtual void startAnimation (KFileTreeViewItem*, const char* = "kde", uint = 6); - virtual void stopAnimation (KFileTreeViewItem*); - virtual void contentsDragEnterEvent (QDragEnterEvent*); - virtual void contentsDragMoveEvent (QDragMoveEvent*); - virtual void contentsDragLeaveEvent (QDragLeaveEvent*); - virtual void contentsDropEvent (QDropEvent*); - -protected slots: - virtual void slotNewTreeViewItems (KFileTreeBranch*, KFileTreeViewItemList&); - virtual void slotSetNextUrlToSelect (const KURL&); - virtual QPixmap itemIcon (KFileTreeViewItem*, int = 0) const; - -signals: - void onItem (const QString&); - void dropped (QWidget*, QDropEvent*); - void dropped (QWidget*, QDropEvent*, KURL::List&); - void dropped (KURL::List&, KURL&); - -%If ( KDE_3_2_0 - ) - void dropped (QWidget*, QDropEvent*, KURL::List&, KURL&); -%End - - void dropped (QDropEvent*, QListViewItem*); - void dropped (KFileTreeView*, QDropEvent*, QListViewItem*); - void dropped (QDropEvent*, QListViewItem*, QListViewItem*); - void dropped (KFileTreeView*, QDropEvent*, QListViewItem*, QListViewItem*); - -protected: - -protected: -//igx virtual void virtual_hook (int, void*); -//force - -private: - void slotOnItem (QListViewItem*); -//end - -}; // class KFileTreeView - diff --git a/python/pykde/sip/kfile/kfiletreeviewitem.sip b/python/pykde/sip/kfile/kfiletreeviewitem.sip deleted file mode 100644 index 57d99e7d..00000000 --- a/python/pykde/sip/kfile/kfiletreeviewitem.sip +++ /dev/null @@ -1,48 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kfile version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KFileTreeViewItem : KListViewItem -{ -%TypeHeaderCode -#include -%End - - -public: - KFileTreeViewItem (KFileTreeViewItem*, KFileItem*, KFileTreeBranch*); - KFileTreeViewItem (KFileTreeView*, KFileItem*, KFileTreeBranch*); - KFileTreeBranch* branch () const; - KFileItem* fileItem () const; - QString path () const; - KURL url () const; - bool isDir () const; - bool alreadyListed () const; - void setListed (bool); - -}; // class KFileTreeViewItem - -typedef QPtrList KFileTreeViewItemList; -//ig typedef QPtrListIterator KFileTreeViewItemListIterator; diff --git a/python/pykde/sip/kfile/kfileview.sip b/python/pykde/sip/kfile/kfileview.sip deleted file mode 100644 index 90781369..00000000 --- a/python/pykde/sip/kfile/kfileview.sip +++ /dev/null @@ -1,153 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kfile version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KFileViewSignaler : QObject -{ -%TypeHeaderCode -#include -%End - - -public: - void activate (const KFileItem*); - void highlightFile (const KFileItem*); - void activateMenu (const KFileItem*, const QPoint&); - void changeSorting (QDir::SortSpec); - -%If ( KDE_3_2_0 - ) - void dropURLs (const KFileItem*, QDropEvent*, const KURL::List&); -%End - - -signals: - void dirActivated (const KFileItem*); - void sortingChanged (QDir::SortSpec); - void fileHighlighted (const KFileItem*); - void fileSelected (const KFileItem*); - void activatedMenu (const KFileItem*, const QPoint&); - -%If ( KDE_3_2_0 - ) - void dropped (const KFileItem*, QDropEvent*, const KURL::List&); -%End - - -}; // class KFileViewSignaler - - -class KFileView -{ -%TypeHeaderCode -#include -%End - - -public: - KFileView (); - void addItemList (const KFileItemList&); - virtual QWidget* widget () = 0; -//ig QWidget* widget () const; - void setCurrentItem (const QString&); - virtual void setCurrentItem (const KFileItem*) = 0; - virtual KFileItem* currentFileItem () const = 0; - virtual void clear (); - virtual void updateView (bool = 1); - virtual void updateView (const KFileItem*); - virtual void removeItem (const KFileItem*); - virtual void listingCompleted (); - QDir::SortSpec sorting () const; - virtual void setSorting (QDir::SortSpec); - bool isReversed () const; - void sortReversed (); - uint count () const; - uint numFiles () const; - uint numDirs () const; - virtual void setSelectionMode (KFile::SelectionMode); - virtual KFile::SelectionMode selectionMode () const; - - enum ViewMode - { - Files, - Directories, - All - }; - - virtual void setViewMode (KFileView::ViewMode); - virtual ViewMode viewMode () const; - QString viewName (); - void setViewName (const QString&); - virtual void setParentView (KFileView* /Transfer/); - virtual void insertItem (KFileItem*); - virtual void clearView () = 0; - virtual void ensureItemVisible (const KFileItem*) = 0; - virtual void clearSelection () = 0; - virtual void selectAll (); - virtual void invertSelection (); - virtual void setSelected (const KFileItem*, bool) = 0; - virtual bool isSelected (const KFileItem*) const = 0; - const KFileItemList* selectedItems () const; - const KFileItemList* items () const; - virtual KFileItem* firstFileItem () const = 0; - virtual KFileItem* nextItem (const KFileItem*) const = 0; - virtual KFileItem* prevItem (const KFileItem*) const = 0; - void setOnlyDoubleClickSelectsFiles (bool); - bool onlyDoubleClickSelectsFiles () const; - bool updateNumbers (const KFileItem*); - virtual KActionCollection* actionCollection () const; - KFileViewSignaler* signaler () const; - virtual void readConfig (KConfig*, const QString& = QString ::null ); - virtual void writeConfig (KConfig*, const QString& = QString ::null ); - -%If ( KDE_3_2_0 - ) - - enum DropOptions - { - AutoOpenDirs - }; - - void setDropOptions (int); - int dropOptions (); -%End - - static QString sortingKey (const QString&, bool, int); - static QString sortingKey (KIO::filesize_t, bool, int); - -%If ( KDE_3_2_0 - ) - static int autoOpenDelay (); -%End - - -protected: - -protected: -//igx virtual void virtual_hook (int, void*); - -%If ( KDE_3_2_0 - ) - void setDropOptions_impl (int); -%End - - -}; // class KFileView - diff --git a/python/pykde/sip/kfile/kfileviewitem.sip b/python/pykde/sip/kfile/kfileviewitem.sip deleted file mode 100644 index 717b22bf..00000000 --- a/python/pykde/sip/kfile/kfileviewitem.sip +++ /dev/null @@ -1,58 +0,0 @@ -// -// Copyright 2003 Jim Bublitz -// Earlier copyrights 1998 - 2002 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kfile version KDE_3_1_1 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KFileViewItem : KFileItem -{ -%TypeHeaderCode -#include -%End - - -public: - KFileViewItem (const KURL&, const KIO::UDSEntry&); - KFileViewItem (mode_t, mode_t, const KURL&, bool); - KFileViewItem (const KFileViewItem&); - bool isFile () const; - QString urlString () const; - QPixmap pixmap (int, int = 0) const; - QPixmap pixmap () const; - QString date () const; - QString access () const; - void setViewItem (const KFileView*, const void*); -//ig const void* viewItem (const KFileView*) const; - static QString dateTime (time_t); - KFileViewItem* next () const; - void setNext (KFileViewItem*); - -protected: - QString parsePermissions (mode_t) const; - -}; // class KFileViewItem - -//ig typedef QList KFileViewItemList; -//ig typedef QListIterator KFileViewItemListIterator; - - diff --git a/python/pykde/sip/kfile/kicondialog.sip b/python/pykde/sip/kfile/kicondialog.sip deleted file mode 100644 index dda1a0c6..00000000 --- a/python/pykde/sip/kfile/kicondialog.sip +++ /dev/null @@ -1,131 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kfile version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KIconCanvas : KIconView -{ -%TypeHeaderCode -#include -%End - - -public: - KIconCanvas (QWidget* /TransferThis/ = 0, const char* = 0); - void loadFiles (const QStringList&); - QString getCurrent (); - -public slots: - void stopLoading (); - -signals: -//ig void nameChanged (QString); - void startLoading (int); - void progress (int); - void finished (); - -protected: -//igx virtual void virtual_hook (int, void*); - -}; // class KIconCanvas - - -class KIconDialog : KDialogBase -{ -%TypeHeaderCode -#include -%End - - -public: - KIconDialog (QWidget* /TransferThis/ = 0, const char* = 0); - KIconDialog (KIconLoader*, QWidget* /TransferThis/ = 0, const char* = 0); - void setStrictIconSize (bool); - bool strictIconSize () const; - -%If ( KDE_3_1_0 - ) - void setCustomLocation (const QString&); -%End - - void setIconSize (int); - int iconSize () const; - QString selectIcon (KIcon::Group = KIcon ::Desktop , KIcon::Context = KIcon ::Application , bool = 0); - void setup (KIcon::Group, KIcon::Context = KIcon ::Application , bool = 0, int = 0, bool = 0); - -%If ( KDE_3_3_0 - ) - void setup (KIcon::Group, KIcon::Context, bool, int, bool, bool, bool); -%End - - QString openDialog (); - -%If ( KDE_3_2_0 - ) - void showDialog (); -%End - - static QString getIcon (KIcon::Group = KIcon ::Desktop , KIcon::Context = KIcon ::Application , bool = 0, int = 0, bool = 0, QWidget* /Transfer/ = 0, const QString& = QString ::null ); - -signals: - -%If ( KDE_3_2_0 - ) - void newIconName (const QString&); -%End - - -protected slots: - -%If ( KDE_3_2_0 - ) - void slotOk (); -%End - - -protected: -//igx virtual void virtual_hook (int, void*); - -}; // class KIconDialog - - -class KIconButton : QPushButton -{ -%TypeHeaderCode -#include -%End - - -public: - KIconButton (QWidget* /TransferThis/ = 0, const char* = 0); - KIconButton (KIconLoader*, QWidget* /TransferThis/, const char* = 0); - void setStrictIconSize (bool); - bool strictIconSize () const; - void setIconType (KIcon::Group, KIcon::Context, bool = 0); - void setIcon (const QString&); - void resetIcon (); - const QString icon (); - void setIconSize (int); - int iconSize () const; - -signals: -//ig void iconChanged (QString); - -}; // class KIconButton - diff --git a/python/pykde/sip/kfile/kimagefilepreview.sip b/python/pykde/sip/kfile/kimagefilepreview.sip deleted file mode 100644 index 792eddbb..00000000 --- a/python/pykde/sip/kfile/kimagefilepreview.sip +++ /dev/null @@ -1,57 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kfile version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KImageFilePreview : KPreviewWidgetBase -{ -%TypeHeaderCode -#include -#include -%End - - -public: - KImageFilePreview (QWidget* /TransferThis/); - virtual QSize sizeHint () const; - -public slots: - virtual void showPreview (const KURL&); - virtual void clearPreview (); - -protected slots: - void showPreview (); - void showPreview (const KURL&, bool); - void toggleAuto (bool); - virtual void gotPreview (const KFileItem*, const QPixmap&); - -protected: - virtual void resizeEvent (QResizeEvent*); - virtual KIO::PreviewJob* createJob (const KURL&, int, int); - -protected: -//igx virtual void virtual_hook (int, void*); - -}; // class KImageFilePreview - diff --git a/python/pykde/sip/kfile/knotifydialog.sip b/python/pykde/sip/kfile/knotifydialog.sip deleted file mode 100644 index 11ebd077..00000000 --- a/python/pykde/sip/kfile/knotifydialog.sip +++ /dev/null @@ -1,315 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kfile version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -%If ( KDE_3_1_0 - ) - -class KNotifyDialog : KDialogBase -{ -%TypeHeaderCode -#include -%End - - -public: - KNotifyDialog (QWidget* /TransferThis/ = 0, const char* = 0, bool = 1, const KAboutData* = 0); -%MethodCode -//takes parent | (QWidget = 0) | name | (char = 0) | modal | (bool = 1) | aboutData | (KAboutData = see note) -//doc -// The default value for aboutData in C++ is KGlobal::instance()->aboutData() -// which sip is unable to parse. Since it's the last arg in the list, it has -// to have a default value, and since the C++ code will fail if the default -// value really is zero, the sip code silently substitutes the real default -// value for a default value of 0 supplied from Python. -//end - - if (a3 == 0) - a3 = (KAboutData *)KGlobal::instance ()->aboutData (); - - Py_BEGIN_ALLOW_THREADS - sipCpp = new sipKNotifyDialog (a0, a1, a2, a3); - Py_END_ALLOW_THREADS -%End - - static int configure (QWidget* /Transfer/ = 0, const char* = 0, const KAboutData* = 0); -%MethodCode -//returns (int) -//takes parent | (QWidget = 0) | name | (a Python string = "") | aboutData | (KAboutData = see note) -//doc -// The default value for aboutData in C++ is KGlobal::instance()->aboutData() -// which sip is unable to parse. Since it's the last arg in the list, it has -// to have a default value, and since the C++ code will fail if the default -// value really is zero, the sip code silently substitutes the real default -// value for a default value of 0 supplied from Python. -//end - - if (a2 == 0) - a2 = (KAboutData *)KGlobal::instance ()->aboutData (); - - Py_BEGIN_ALLOW_THREADS - sipRes = KNotifyDialog::configure (a0, a1, a2); - Py_END_ALLOW_THREADS -%End - - virtual void addApplicationEvents (const char*); - virtual void addApplicationEvents (const QString&); - virtual void clearApplicationEvents (); - -}; // class KNotifyDialog - -%End - - -%If ( KDE_3_1_0 - ) -namespace KNotify -{ -typedef QPtrList EventList; -//ig typedef QPtrListIterator ApplicationListIterator; -//ig typedef QPtrListIterator EventListIterator; - -class Application -{ -%TypeHeaderCode -#include -%End - - -public: - Application (const QString&); - QString text () const; - QString icon () const; - const KNotify::EventList& eventList (); - void reloadEvents (bool = 0); - void save (); - QString appName () const; - -}; // class Application - - -%If ( KDE_3_2_0 - ) - -//ig class KNotifyWidget : KNotifyWidgetBase; - -%End - - -class Event -{ -%TypeHeaderCode -#include -%End - - -public: - QString text () const; - int presentation; - int dontShow; - QString logfile; - QString soundfile; - QString commandline; - const KNotify::Application* application () const; - -private: - Event (const KNotify::Application*); - -}; // class Event - - -//ig class ListViewItem : QListViewItem; - - -%If ( - KDE_3_2_0 ) - -class KNotifyWidget : KNotifyWidgetBase -{ -%TypeHeaderCode -#include -#include -%End - - -public: - KNotifyWidget (QWidget* /TransferThis/ = 0, const char* = 0, bool = 0); - KListView* eventsView (); - void addVisibleApp (KNotify::Application*); - KNotify::Application* addApplicationEvents (const QString&); - void resetDefaults (bool); - void sort (bool = 1); - -public slots: - virtual void clear (); - virtual void clearVisible (); - virtual void save (); - virtual void showAdvanced (bool); - void toggleAdvanced (); - -signals: - void changed (bool); - -protected: - KNotify::Event* currentEvent (); - virtual void showEvent (QShowEvent*); - virtual void enableAll (int, bool); - void reload (bool = 0); - -protected slots: - void playSound (); - -public: - SIP_PYLIST visibleApps (); -%MethodCode -//returns (a Python list of KNotify.Application) - QPtrList applist; - - Py_BEGIN_ALLOW_THREADS - applist = sipCpp->visibleApps (); - Py_END_ALLOW_THREADS - - KNotify::Application *app; - PyObject *inst; - - for (app = applist.first (); app != 0; app = applist.next () ) - { - inst = sipConvertFromInstance (app, sipClass_KNotify_Application, NULL); - PyList_Append (sipRes, inst); - } -%End - - SIP_PYLIST allApps (); -%MethodCode -//returns (a Python list of KNotify.Application) - QPtrList applist; - - Py_BEGIN_ALLOW_THREADS - applist = sipCpp->allApps (); - Py_END_ALLOW_THREADS - - KNotify::Application *app; - PyObject *inst; - - for(app = applist.first (); app != 0; app = applist.next () ) - { - inst = sipConvertFromInstance (app, sipClass_KNotify_Application, NULL); - PyList_Append (sipRes, inst); - } -%End - - -}; // class KNotifyWidget - -%End - -//force - -class ApplicationList -{ -%TypeHeaderCode -#include -%End - - -}; // class ApplicationList - -//end -}; // namespace KNotify - -%End - - - -%If (KDE_3_1_0 - ) -%MappedType QPtrList -//converts a Python list of KNotify.Event -{ -%TypeHeaderCode -#include -#include -#include -%End - -%ConvertFromTypeCode - if (!sipCpp) - return PyList_New (0); - - PyObject *pylist; - - // Create the list - - if ((pylist = PyList_New(0)) == NULL) - return NULL; - - // Get it. - - QPtrList *cpplist = (QPtrList *)sipCpp; - KNotify::Event *cpp; - PyObject *inst; - - // the loop depends on the type of iterator the tmeplate makes available - for(cpp = cpplist->first (); cpp != 0; cpp = cpplist->next () ) - { - if (((inst = sipConvertFromInstance (cpp, sipClass_KNotify_Event, sipTransferObj)) == NULL) - || PyList_Append (pylist, inst) < 0) - { - Py_DECREF (pylist); - return NULL; - } - } - - return pylist; -%End - -%ConvertToTypeCode - if (sipIsErr == NULL) - return PyList_Check(sipPy); - - QPtrList *cpplist = new QPtrList; - - PyObject *elem; - KNotify::Event *cpp; - int iserr = 0; - - for (int i = 0; i < PyList_Size (sipPy); i++) - { - elem = PyList_GET_ITEM (sipPy, i); - cpp = (KNotify::Event *)sipForceConvertTo_KNotify_Event (elem, &iserr); - - if (iserr) - { - *sipIsErr = 1; - delete cpplist; - return 0; - } - - cpplist->append (cpp); - } - - *sipCppPtr = cpplist; - - return 1; -%End -}; -%End - - diff --git a/python/pykde/sip/kfile/knotifywidgetbase.sip b/python/pykde/sip/kfile/knotifywidgetbase.sip deleted file mode 100644 index 98f8238f..00000000 --- a/python/pykde/sip/kfile/knotifywidgetbase.sip +++ /dev/null @@ -1,64 +0,0 @@ -// -// Copyright 2003 Jim Bublitz -// Earlier copyrights 1998 - 2002 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kfile version KDE_3_1_4 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -%If ( KDE_3_1_0 - KDE_3_2_0 ) - -class KNotifyWidgetBase : QWidget -{ -%TypeHeaderCode -#include -%End - - -public: - KNotifyWidgetBase (QWidget*/TransferThis/ = 0, const char* = 0, WFlags = 0); - KListView* m_listview; - QGroupBox* m_actionsBox; - KURLRequester* m_logfilePath; - KURLRequester* m_soundPath; - QCheckBox* m_logToFile; - KURLRequester* m_executePath; - QCheckBox* m_playSound; - QPushButton* m_playButton; - QCheckBox* m_execute; - QCheckBox* m_messageBox; - QCheckBox* m_passivePopup; - QCheckBox* m_stderr; - QGroupBox* m_controlsBox; - QCheckBox* m_affectAllApps; - QPushButton* m_buttonDisable; - QPushButton* m_buttonEnable; - KComboBox* m_comboEnable; - KComboBox* m_comboDisable; - QPushButton* m_extension; - QPushButton* m_playerButton; - -protected: - -}; // class KNotifyWidgetBase - -%End - diff --git a/python/pykde/sip/kfile/kopenwith.sip b/python/pykde/sip/kfile/kopenwith.sip deleted file mode 100644 index 2a8f2f93..00000000 --- a/python/pykde/sip/kfile/kopenwith.sip +++ /dev/null @@ -1,146 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kfile version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KOpenWithDlg : QDialog -{ -%TypeHeaderCode -#include -%End - - -public: - KOpenWithDlg (const KURL::List&, QWidget* /TransferThis/ = 0); - KOpenWithDlg (const KURL::List&, const QString&, const QString&, QWidget* /TransferThis/ = 0); - KOpenWithDlg (const QString&, const QString&, QWidget* /TransferThis/ = 0); - -%If ( KDE_3_1_0 - ) - KOpenWithDlg (QWidget* /TransferThis/ = 0); -%End - - QString text (); - -%If ( KDE_3_2_0 - ) - void hideNoCloseOnExit (); - void hideRunInTerminal (); -%End - - KService::Ptr service (); - -%If ( KDE_3_2_0 - ) - void setSaveNewApplications (bool); -%End - - -public slots: - void slotClear (); - void slotSelected (const QString&, const QString&); - void slotHighlighted (const QString&, const QString&); - void slotTextChanged (); - void slotTerminalToggled (bool); - void slotDbClick (); - void slotOK (); - -protected slots: - virtual void accept (); - -protected: - void setServiceType (const KURL::List&); - void init (const QString&, const QString&); - -}; // class KOpenWithDlg - - -class KFileOpenWithHandler : KOpenWithHandler -{ -%TypeHeaderCode -#include -%End - - -public: - KFileOpenWithHandler (); - virtual bool displayOpenWithDialog (const KURL::List&); - -}; // class KFileOpenWithHandler - - -%If ( - KDE_3_1_0 ) - -class KAppTreeListItem : QListViewItem -{ -%TypeHeaderCode -#include -%End - - -protected: - QString key (int, bool) const; - void init (const QPixmap&, bool, bool, QString, QString); - -public: - KAppTreeListItem (KListView* /TransferThis/, const QString&, const QPixmap&, bool, bool, QString, QString); - KAppTreeListItem (QListViewItem* /TransferThis/, const QString&, const QPixmap&, bool, bool, QString, QString); - bool isDirectory (); - -protected: - virtual void activate (); - virtual void setOpen (bool); - -}; // class KAppTreeListItem - -%End - - -%If ( - KDE_3_1_0 ) - -class KApplicationTree : KListView -{ -%TypeHeaderCode -#include -%End - - -public: - KApplicationTree (QWidget* /TransferThis/); - void addDesktopGroup (QString, KAppTreeListItem* = 0); - KAppTreeListItem* it; - bool isDirSel (); - -protected: - void resizeEvent (QResizeEvent*); - -public slots: - void slotItemHighlighted (QListViewItem*); - void slotSelectionChanged (QListViewItem*); - -signals: - void selected (const QString&, const QString&); - void highlighted (const QString&, const QString&); - -}; // class KApplicationTree - -%End - diff --git a/python/pykde/sip/kfile/kpreviewwidgetbase.sip b/python/pykde/sip/kfile/kpreviewwidgetbase.sip deleted file mode 100644 index 7c967bfc..00000000 --- a/python/pykde/sip/kfile/kpreviewwidgetbase.sip +++ /dev/null @@ -1,57 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kfile version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KPreviewWidgetBase : QWidget -{ -%TypeHeaderCode -#include -%End - - -public: - KPreviewWidgetBase (QWidget* /TransferThis/, const char* = 0); - -public slots: - virtual void showPreview (const KURL&) = 0; - virtual void clearPreview () = 0; - -%If ( KDE_3_2_0 - ) - QStringList supportedMimeTypes () const; -%End - - -protected: - -%If ( KDE_3_2_0 - ) - void setSupportedMimeTypes (const QStringList&); -%End - - -protected: -//igx virtual void virtual_hook (int, void*); - -}; // class KPreviewWidgetBase - diff --git a/python/pykde/sip/kfile/kpropertiesdialog.sip b/python/pykde/sip/kfile/kpropertiesdialog.sip deleted file mode 100644 index 09246a6c..00000000 --- a/python/pykde/sip/kfile/kpropertiesdialog.sip +++ /dev/null @@ -1,304 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kfile version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KPropertiesDialog : KDialogBase -{ -%TypeHeaderCode -#include -%End - - -public: - static bool canDisplay (KFileItemList); - KPropertiesDialog (KFileItem*, QWidget* /TransferThis/ = 0, const char* = 0, bool = 0, bool = 1); - KPropertiesDialog (KFileItemList, QWidget* /TransferThis/ = 0, const char* = 0, bool = 0, bool = 1); - KPropertiesDialog (const KURL&, mode_t, QWidget* /TransferThis/ = 0, const char* = 0, bool = 0, bool = 1); - KPropertiesDialog (const KURL&, QWidget* /TransferThis/ = 0, const char* = 0, bool = 0, bool = 1); - KPropertiesDialog (const KURL&, const KURL&, const QString&, QWidget* /TransferThis/ = 0, const char* = 0, bool = 0, bool = 1); - KPropertiesDialog (const QString&, QWidget* /TransferThis/ = 0, const char* = 0, bool = 0); - -%If ( KDE_3_4_0 - ) - static bool showDialog (KFileItem*, QWidget* /Transfer/ = 0, const char* = 0, bool = 0); - static bool showDialog (const KURL&, QWidget* /Transfer/ = 0, const char* = 0, bool = 0); - static bool showDialog (const KFileItemList&, QWidget* /Transfer/ = 0, const char* = 0, bool = 0); -%End - - void insertPlugin (KPropsDlgPlugin*); - const KURL& kurl () const; - KFileItem* item (); - KFileItemList items () const; - KDialogBase* dialog (); - const KURL& currentDir () const; - const QString& defaultName () const; - void updateUrl (const KURL&); - void rename (const QString&); - void abortApplying (); - -%If ( KDE_3_1_0 - ) - void showFileSharingPage (); - -%If ( KDE_3_3_0 - ) - void setFileSharingPage (QWidget*); -%End - - -%If ( KDE_3_2_0 - ) - void setFileNameReadOnly (bool); -%End - -%End - - -public slots: - virtual void slotOk (); - virtual void slotCancel (); - -signals: - void propertiesClosed (); - void applied (); - void canceled (); - -%If ( KDE_3_2_0 - ) - void saveAs (const KURL&, KURL&); -%End - - -protected: -//igx virtual void virtual_hook (int, void*); - -}; // class KPropertiesDialog - - -class KPropsDlgPlugin : QObject -{ -%TypeHeaderCode -#include -%End - - -public: - KPropsDlgPlugin (KPropertiesDialog*); - virtual void applyChanges (); - static bool isDesktopFile (KFileItem*); - void setDirty (bool); - bool isDirty () const; - -public slots: - void setDirty (); - -signals: - void changed (); - -protected: - -protected: -//igx virtual void virtual_hook (int, void*); - -}; // class KPropsDlgPlugin - - -class KFilePropsPlugin : KPropsDlgPlugin -{ -%TypeHeaderCode -#include -%End - - -public: - KFilePropsPlugin (KPropertiesDialog*); - virtual void applyChanges (); - static bool supports (KFileItemList); - void postApplyChanges (); - -%If ( KDE_3_2_0 - ) - void setFileNameReadOnly (bool); -%End - - -protected slots: - -%If ( KDE_3_2_0 - ) - void slotEditFileType (); -%End - - void slotCopyFinished (KIO::Job*); - void slotFileRenamed (KIO::Job*, const KURL&, const KURL&); - -%If ( KDE_3_2_0 - ) - void slotDirSizeUpdate (); -%End - - void slotDirSizeFinished (KIO::Job*); - void slotFoundMountPoint (const QString&, ulong, ulong, ulong); - void slotSizeStop (); - void slotSizeDetermine (); - -}; // class KFilePropsPlugin - - -class KFilePermissionsPropsPlugin : KPropsDlgPlugin -{ -%TypeHeaderCode -#include -%End - - -public: - -%If ( KDE_3_2_0 - ) - - enum PermissionsMode - { - PermissionsOnlyFiles, - PermissionsOnlyDirs, - PermissionsOnlyLinks, - PermissionsMixed - }; - - - enum PermissionsTarget - { - PermissionsOwner, - PermissionsGroup, - PermissionsOthers - }; - -%End - - KFilePermissionsPropsPlugin (KPropertiesDialog*); - virtual void applyChanges (); - static bool supports (KFileItemList); - -}; // class KFilePermissionsPropsPlugin - - -class KURLPropsPlugin : KPropsDlgPlugin -{ -%TypeHeaderCode -#include -%End - - -public: - KURLPropsPlugin (KPropertiesDialog*); - virtual void applyChanges (); - static bool supports (KFileItemList); - -}; // class KURLPropsPlugin - - -class KBindingPropsPlugin : KPropsDlgPlugin -{ -%TypeHeaderCode -#include -%End - - -public: - KBindingPropsPlugin (KPropertiesDialog*); - virtual void applyChanges (); - static bool supports (KFileItemList); - -}; // class KBindingPropsPlugin - - -class KDevicePropsPlugin : KPropsDlgPlugin -{ -%TypeHeaderCode -#include -%End - - -public: - KDevicePropsPlugin (KPropertiesDialog*); - virtual void applyChanges (); - static bool supports (KFileItemList); - -}; // class KDevicePropsPlugin - - -%If ( KDE_3_2_0 - ) - -class KDesktopPropsPlugin : KPropsDlgPlugin -{ -%TypeHeaderCode -#include -%End - - -public: - KDesktopPropsPlugin (KPropertiesDialog*); - virtual void applyChanges (); - static bool supports (KFileItemList); - -public slots: - void slotAddFiletype (); - void slotDelFiletype (); - void slotBrowseExec (); - void slotAdvanced (); - void slotSelectMimetype (); - -}; // class KDesktopPropsPlugin - -%End - - -class KExecPropsPlugin : KPropsDlgPlugin -{ -%TypeHeaderCode -#include -%End - - -public: - KExecPropsPlugin (KPropertiesDialog*); - virtual void applyChanges (); - static bool supports (KFileItemList); - -public slots: - void slotBrowseExec (); - -}; // class KExecPropsPlugin - - -class KApplicationPropsPlugin : KPropsDlgPlugin -{ -%TypeHeaderCode -#include -%End - - -public: - KApplicationPropsPlugin (KPropertiesDialog*); - virtual void applyChanges (); - static bool supports (KFileItemList); - -public slots: - void slotDelExtension (); - void slotAddExtension (); - -}; // class KApplicationPropsPlugin - diff --git a/python/pykde/sip/kfile/kpropsdlg.sip b/python/pykde/sip/kfile/kpropsdlg.sip deleted file mode 100644 index d435f147..00000000 --- a/python/pykde/sip/kfile/kpropsdlg.sip +++ /dev/null @@ -1,208 +0,0 @@ -// -// Copyright 2003 Jim Bublitz -// Earlier copyrights 1998 - 2002 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kfile version KDE_3_1_1 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KPropertiesDialog : KDialogBase -{ -%TypeHeaderCode -#include -%End - - -public: - static bool canDisplay (KFileItemList); - KPropertiesDialog (KFileItem*, QWidget*/TransferThis/ = 0, const char* = 0, bool = 0, bool = 1); - KPropertiesDialog (KFileItemList, QWidget*/TransferThis/ = 0, const char* = 0, bool = 0, bool = 1); - KPropertiesDialog (const KURL&, mode_t = -1, QWidget*/TransferThis/ = 0, const char* = 0, bool = 0, bool = 1); - KPropertiesDialog (const KURL&, const KURL&, const QString&, QWidget*/TransferThis/ = 0, const char* = 0, bool = 0, bool = 1); - KPropertiesDialog (const QString&, QWidget*/TransferThis/ = 0, const char* = 0, bool = 0); - void insertPlugin (KPropsDlgPlugin*); - const KURL& kurl () const; - KFileItem* item (); - KFileItemList items () const; - KDialogBase* dialog (); - const KURL& currentDir () const; - const QString& defaultName () const; - void updateUrl (const KURL&); - void rename (const QString&); - void abortApplying (); - -public slots: - virtual void slotOk (); - virtual void slotCancel (); - -signals: - void propertiesClosed (); - void applied (); - void canceled (); - -}; // class KPropertiesDialog - - -class KPropsDlgPlugin : QObject -{ -%TypeHeaderCode -#include -%End - - -public: - KPropsDlgPlugin (KPropertiesDialog*); - virtual void applyChanges (); - static bool isDesktopFile (KFileItem*); - void setDirty (bool); - bool isDirty () const; - -public slots: - void setDirty (); - -signals: - void changed (); - -protected: - -}; // class KPropsDlgPlugin - - -class KFilePropsPlugin : KPropsDlgPlugin -{ -%TypeHeaderCode -#include -%End - - -public: - KFilePropsPlugin (KPropertiesDialog*); - virtual void applyChanges (); - static bool supports (KFileItemList); - void postApplyChanges (); - -protected slots: - void slotCopyFinished (KIO::Job*); - void slotFileRenamed (KIO::Job*, const KURL&, const KURL&); - void slotDirSizeFinished (KIO::Job*); - void slotFoundMountPoint (const QString&, ulong, ulong, ulong); - void slotSizeStop (); - void slotSizeDetermine (); - -}; // class KFilePropsPlugin - - -class KFilePermissionsPropsPlugin : KPropsDlgPlugin -{ -%TypeHeaderCode -#include -%End - - -public: - KFilePermissionsPropsPlugin (KPropertiesDialog*); - virtual void applyChanges (); - static bool supports (KFileItemList); - -}; // class KFilePermissionsPropsPlugin - - -class KExecPropsPlugin : KPropsDlgPlugin -{ -%TypeHeaderCode -#include -%End - - -public: - KExecPropsPlugin (KPropertiesDialog*); - virtual void applyChanges (); - static bool supports (KFileItemList); - -public slots: - void slotBrowseExec (); - -}; // class KExecPropsPlugin - - -class KURLPropsPlugin : KPropsDlgPlugin -{ -%TypeHeaderCode -#include -%End - - -public: - KURLPropsPlugin (KPropertiesDialog*); - virtual void applyChanges (); - static bool supports (KFileItemList); - -}; // class KURLPropsPlugin - - -class KApplicationPropsPlugin : KPropsDlgPlugin -{ -%TypeHeaderCode -#include -%End - - -public: - KApplicationPropsPlugin (KPropertiesDialog*); - virtual void applyChanges (); - static bool supports (KFileItemList); - -public slots: - void slotDelExtension (); - void slotAddExtension (); - -}; // class KApplicationPropsPlugin - - -class KBindingPropsPlugin : KPropsDlgPlugin -{ -%TypeHeaderCode -#include -%End - - -public: - KBindingPropsPlugin (KPropertiesDialog*); - virtual void applyChanges (); - static bool supports (KFileItemList); - -}; // class KBindingPropsPlugin - - -class KDevicePropsPlugin : KPropsDlgPlugin -{ -%TypeHeaderCode -#include -%End - - -public: - KDevicePropsPlugin (KPropertiesDialog*); - virtual void applyChanges (); - static bool supports (KFileItemList); - -}; // class KDevicePropsPlugin - diff --git a/python/pykde/sip/kfile/krecentdirs.sip b/python/pykde/sip/kfile/krecentdirs.sip deleted file mode 100644 index 2cc0b16f..00000000 --- a/python/pykde/sip/kfile/krecentdirs.sip +++ /dev/null @@ -1,40 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kfile version KDE_3_5_0 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KRecentDirs -{ -%TypeHeaderCode -#include -%End - - -public: - static QStringList list (const QString&); - static QString dir (const QString&); - static void add (const QString&, const QString&); - -}; // class KRecentDirs - diff --git a/python/pykde/sip/kfile/krecentdocument.sip b/python/pykde/sip/kfile/krecentdocument.sip deleted file mode 100644 index af6ab70a..00000000 --- a/python/pykde/sip/kfile/krecentdocument.sip +++ /dev/null @@ -1,44 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kfile version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KRecentDocument -{ -%TypeHeaderCode -#include -%End - - -public: - static QStringList recentDocuments (); - static void add (const KURL&); - static void add (const KURL&, const QString&); - static void add (const QString&, bool = 0); - static void clear (); - static int maximumItems (); - static QString recentDocumentDirectory (); - -}; // class KRecentDocument - diff --git a/python/pykde/sip/kfile/kurlbar.sip b/python/pykde/sip/kfile/kurlbar.sip deleted file mode 100644 index c826de30..00000000 --- a/python/pykde/sip/kfile/kurlbar.sip +++ /dev/null @@ -1,213 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kfile version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KURLBarItem : QListBoxPixmap -{ -%TypeHeaderCode -#include -%End - - -public: - -%If ( KDE_3_2_0 - ) - KURLBarItem (KURLBar* /TransferThis/, const KURL&, bool, const QString& = QString ::null , const QString& = QString ::null , KIcon::Group = KIcon ::Panel ); -%End - - KURLBarItem (KURLBar* /TransferThis/, const KURL&, const QString& = QString ::null , const QString& = QString ::null , KIcon::Group = KIcon ::Panel ); - void setURL (const KURL&); - void setIcon (const QString&, KIcon::Group = KIcon ::Panel ); - void setDescription (const QString&); - void setToolTip (const QString&); - -%If ( KDE_3_0_1 - ) - QSize sizeHint () const; -%End - - virtual int width (const QListBox*) const; - virtual int height (const QListBox*) const; - const KURL& url () const; - const QString& description () const; - const QString& icon () const; - QString toolTip () const; - KIcon::Group iconGroup () const; - virtual const QPixmap* pixmap () const; - void setApplicationLocal (bool); - bool applicationLocal () const; - -%If ( KDE_3_2_0 - ) - bool isPersistent () const; -%End - - -protected: - virtual void paint (QPainter*); - -protected: -//igx virtual void virtual_hook (int, void*); - -}; // class KURLBarItem - - -class KURLBar : QFrame -{ -%TypeHeaderCode -#include -%End - - -public: - KURLBar (bool, QWidget* /TransferThis/ = 0, const char* = 0, WFlags = 0); - virtual KURLBarItem* insertItem (const KURL&, const QString&, bool = 1, const QString& = QString ::null , KIcon::Group = KIcon ::Panel ); - -%If ( KDE_3_2_0 - ) - virtual KURLBarItem* insertDynamicItem (const KURL&, const QString&, const QString& = QString ::null , KIcon::Group = KIcon ::Panel ); -%End - - virtual void setOrientation (Qt::Orientation); - Qt::Orientation orientation () const; - virtual void setListBox (KURLBarListBox*); - KURLBarListBox* listBox () const; - virtual void setIconSize (int); - int iconSize () const; - virtual void clear (); - virtual QSize sizeHint () const; - virtual QSize minimumSizeHint () const; - virtual void readConfig (KConfig*, const QString&); - virtual void writeConfig (KConfig*, const QString&); - virtual void readItem (int, KConfig*, bool); - virtual void writeItem (KURLBarItem*, int, KConfig*, bool); - KURLBarItem* currentItem () const; - KURL currentURL () const; - bool isModified () const; - -%If ( KDE_3_1_1 - ) - bool isImmutable () const; -%End - - -%If ( KDE_3_0_1 - ) - bool isVertical () const; -%End - - -public slots: - virtual void setCurrentItem (const KURL&); - -signals: - void activated (const KURL&); - -protected: - virtual bool addNewItem (); - virtual bool editItem (KURLBarItem*); - virtual void resizeEvent (QResizeEvent*); - -%If ( KDE_3_4_0 - ) - virtual void paletteChange (const QPalette&); -%End - - -protected slots: - virtual void slotContextMenuRequested (QListBoxItem*, const QPoint&); - virtual void slotSelected (QListBoxItem*); - virtual void slotDropped (QDropEvent*); - -protected: -//igx virtual void virtual_hook (int, void*); - -protected: - -%If ( - KDE_3_0_1 ) - bool isVertical () const; -%End - - -}; // class KURLBar - - -class KURLBarListBox : KListBox -{ -%TypeHeaderCode -#include -%End - - -public: - KURLBarListBox (QWidget* /TransferThis/ = 0, const char* = 0); - virtual void setOrientation (Qt::Orientation); - Qt::Orientation orientation () const; - -%If ( KDE_3_0_1 - ) - bool isVertical () const; -%End - - -signals: - void dropped (QDropEvent*); - -protected: - virtual QDragObject* dragObject (); - virtual void contentsDragEnterEvent (QDragEnterEvent*); - virtual void contentsDropEvent (QDropEvent*); - -%If ( KDE_3_2_0 - ) - virtual void contextMenuEvent (QContextMenuEvent*); - -%If ( KDE_3_4_0 - ) - virtual void paintEvent (QPaintEvent*); -%End - -%End - - -protected: -//igx virtual void virtual_hook (int, void*); - -}; // class KURLBarListBox - - -class KURLBarItemDialog : KDialogBase -{ -%TypeHeaderCode -#include -%End - - -public: - static bool getInformation (bool, KURL&, QString&, QString&, bool&, int, QWidget* /Transfer/ = 0); - KURLBarItemDialog (bool, const KURL&, const QString&, QString, bool = 1, int = KIcon ::SizeMedium , QWidget* /TransferThis/ = 0, const char* = 0); - KURL url () const; - QString description () const; - QString icon () const; - bool applicationLocal () const; - -protected: - -public slots: - void urlChanged (const QString&); - -}; // class KURLBarItemDialog - diff --git a/python/pykde/sip/kfile/kurlcombobox.sip b/python/pykde/sip/kfile/kurlcombobox.sip deleted file mode 100644 index f696ef84..00000000 --- a/python/pykde/sip/kfile/kurlcombobox.sip +++ /dev/null @@ -1,80 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kfile version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KURLComboBox : KComboBox -{ -%TypeHeaderCode -#include -%End - - -public: - - enum Mode - { - Files, - Directories, - Both - }; - - - enum OverLoadResolving - { - RemoveTop, - RemoveBottom - }; - - KURLComboBox (KURLComboBox::Mode, QWidget* /TransferThis/ = 0, const char* = 0); - KURLComboBox (KURLComboBox::Mode, bool, QWidget* /TransferThis/ = 0, const char* = 0); - void setURL (const KURL&); - void setURLs (QStringList); - void setURLs (QStringList, KURLComboBox::OverLoadResolving); - QStringList urls () const; - void setMaxItems (int); - int maxItems () const; - void addDefaultURL (const KURL&, const QString& = QString ::null ); - void addDefaultURL (const KURL&, const QPixmap&, const QString& = QString ::null ); - void setDefaults (); - void removeURL (const KURL&, bool = 1); - -signals: - void urlActivated (const KURL&); - -protected slots: - void slotActivated (int); - -protected: - -//ig class _KURLComboItem; - -//ig typedef KURLComboBox::_KURLComboItem KURLComboItem; - void init (KURLComboBox::Mode); -//ig void insertURLItem (const KURLComboBox::KURLComboItem*); - QPixmap getPixmap (const KURL&) const; -//ig void updateItem (const KURLComboBox::KURLComboItem*, int, const QPixmap&); - -}; // class KURLComboBox - diff --git a/python/pykde/sip/kfile/kurlrequester.sip b/python/pykde/sip/kfile/kurlrequester.sip deleted file mode 100644 index c6103b63..00000000 --- a/python/pykde/sip/kfile/kurlrequester.sip +++ /dev/null @@ -1,112 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kfile version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KURLRequester : QHBox -{ -%TypeHeaderCode -#include -%End - - -public: - KURLRequester (QWidget* /TransferThis/ = 0, const char* = 0); - KURLRequester (const QString&, QWidget* /TransferThis/ = 0, const char* = 0); - KURLRequester (QWidget*, QWidget* /TransferThis/, const char* = 0); - QString url () const; - void setShowLocalProtocol (bool); - void setMode (uint); - -%If ( KDE_3_3_0 - ) - uint mode () const; -%End - - void setFilter (const QString&); - -%If ( KDE_3_3_0 - ) - QString filter () const; -%End - - bool showLocalProtocol () const; - virtual KFileDialog* fileDialog () const; - KLineEdit* lineEdit () const; - KComboBox* comboBox () const; - KPushButton* button () const; - KURLCompletion* completionObject () const; - -%If ( KDE_3_1_0 - ) - KEditListBox::CustomEditor customEditor (); -%End - - -public slots: - void setURL (const QString&); - -%If ( KDE_3_4_0 - ) - void setKURL (const KURL&); -%End - - -%If ( KDE_3_1_0 - ) - virtual void setCaption (const QString&); -%End - - void clear (); - -signals: - void textChanged (const QString&); - void returnPressed (); - void returnPressed (const QString&); - void openFileDialog (KURLRequester*); - void urlSelected (const QString&); - -protected: - void init (); - -protected slots: - void slotOpenDialog (); - -protected: -//igx virtual void virtual_hook (int, void*); - -}; // class KURLRequester - - -%If ( KDE_3_2_0 - ) - -class KURLComboRequester : KURLRequester -{ -%TypeHeaderCode -#include -%End - - -public: - KURLComboRequester (QWidget* /TransferThis/ = 0, const char* = 0); - -}; // class KURLComboRequester - -%End - diff --git a/python/pykde/sip/kfile/kurlrequesterdlg.sip b/python/pykde/sip/kfile/kurlrequesterdlg.sip deleted file mode 100644 index a61408d3..00000000 --- a/python/pykde/sip/kfile/kurlrequesterdlg.sip +++ /dev/null @@ -1,43 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kfile version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KURLRequesterDlg : KDialogBase -{ -%TypeHeaderCode -#include -%End - - -public: - KURLRequesterDlg (const QString&, QWidget* /TransferThis/, const char*, bool = 1); - KURLRequesterDlg (const QString&, const QString&, QWidget* /TransferThis/, const char*, bool = 1); - KURL selectedURL () const; - static KURL getURL (const QString& = QString ::null , QWidget* /Transfer/ = 0, const QString& = QString ::null ); - KFileDialog* fileDialog (); - KURLRequester* urlRequester (); - -}; // class KURLRequesterDlg - diff --git a/python/pykde/sip/khtml/css_rule.sip b/python/pykde/sip/khtml/css_rule.sip deleted file mode 100644 index 74ceb1b2..00000000 --- a/python/pykde/sip/khtml/css_rule.sip +++ /dev/null @@ -1,259 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module khtml version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - -namespace DOM -{ - -class CSSRule -{ -%TypeHeaderCode -#include -%End - - -public: - CSSRule (); - CSSRule (const DOM::CSSRule&); -//ig CSSRule (CSSRuleImpl*); - -public: - -%If ( KDE_3_2_0 - ) - - enum RuleType - { - UNKNOWN_RULE, - STYLE_RULE, - CHARSET_RULE, - IMPORT_RULE, - MEDIA_RULE, - FONT_FACE_RULE, - PAGE_RULE, - QUIRKS_RULE - }; - -%End - - ushort type () const; - DOM::DOMString cssText () const; - void setCssText (const DOM::DOMString&); - DOM::CSSStyleSheet parentStyleSheet () const; - DOM::CSSRule parentRule () const; -//ig CSSRuleImpl* handle () const; - bool isNull () const; - -protected: - -%If ( KDE_3_0_1 - ) - void assignOther (const DOM::CSSRule&, DOM::CSSRule::RuleType); -%End - - -public: - -%If ( - KDE_3_2_0 ) - - enum RuleType - { - UNKNOWN_RULE, - STYLE_RULE, - CHARSET_RULE, - IMPORT_RULE, - MEDIA_RULE, - FONT_FACE_RULE, - PAGE_RULE - }; - -%End - - -}; // class CSSRule - - -class CSSCharsetRule : DOM::CSSRule -{ -%TypeHeaderCode -#include -%End - - -public: - CSSCharsetRule (); - CSSCharsetRule (const DOM::CSSCharsetRule&); - CSSCharsetRule (const DOM::CSSRule&); -//ig CSSCharsetRule (CSSCharsetRuleImpl*); - -public: - DOM::DOMString encoding () const; - void setEncoding (const DOM::DOMString&); - -}; // class CSSCharsetRule - - -class CSSFontFaceRule : DOM::CSSRule -{ -%TypeHeaderCode -#include -%End - - -public: - CSSFontFaceRule (); - CSSFontFaceRule (const DOM::CSSFontFaceRule&); - CSSFontFaceRule (const DOM::CSSRule&); -//ig CSSFontFaceRule (CSSFontFaceRuleImpl*); - -public: - DOM::CSSStyleDeclaration style () const; - -}; // class CSSFontFaceRule - - -class CSSImportRule : DOM::CSSRule -{ -%TypeHeaderCode -#include -%End - - -public: - CSSImportRule (); - CSSImportRule (const DOM::CSSImportRule&); - CSSImportRule (const DOM::CSSRule&); -//ig CSSImportRule (CSSImportRuleImpl*); - -public: - DOM::DOMString href () const; - DOM::MediaList media () const; - DOM::CSSStyleSheet styleSheet () const; - -}; // class CSSImportRule - - -class CSSMediaRule : DOM::CSSRule -{ -%TypeHeaderCode -#include -%End - - -public: - CSSMediaRule (); - CSSMediaRule (const DOM::CSSMediaRule&); - CSSMediaRule (const DOM::CSSRule&); -//ig CSSMediaRule (CSSMediaRuleImpl*); - -public: - DOM::MediaList media () const; - DOM::CSSRuleList cssRules () const; - ulong insertRule (const DOM::DOMString&, ulong); - void deleteRule (ulong); - -}; // class CSSMediaRule - - -class CSSPageRule : DOM::CSSRule -{ -%TypeHeaderCode -#include -%End - - -public: - CSSPageRule (); - CSSPageRule (const DOM::CSSPageRule&); - CSSPageRule (const DOM::CSSRule&); -//ig CSSPageRule (CSSPageRuleImpl*); - -public: - DOM::DOMString selectorText () const; - void setSelectorText (const DOM::DOMString&); - DOM::CSSStyleDeclaration style () const; - -}; // class CSSPageRule - - -class CSSStyleRule : DOM::CSSRule -{ -%TypeHeaderCode -#include -%End - - -public: - CSSStyleRule (); - CSSStyleRule (const DOM::CSSStyleRule&); - CSSStyleRule (const DOM::CSSRule&); -//ig CSSStyleRule (CSSStyleRuleImpl*); - -public: - DOM::DOMString selectorText () const; - void setSelectorText (const DOM::DOMString&); - DOM::CSSStyleDeclaration style () const; - -}; // class CSSStyleRule - - -class CSSUnknownRule : DOM::CSSRule -{ -%TypeHeaderCode -#include -%End - - -public: - CSSUnknownRule (); - CSSUnknownRule (const DOM::CSSUnknownRule&); - CSSUnknownRule (const DOM::CSSRule&); -//ig CSSUnknownRule (CSSUnknownRuleImpl*); - -}; // class CSSUnknownRule - - -class CSSRuleList -{ -%TypeHeaderCode -#include -%End - - -public: - CSSRuleList (); - CSSRuleList (const DOM::CSSRuleList&); -//ig CSSRuleList (CSSRuleListImpl*); -//ig CSSRuleList (StyleListImpl*); - -public: - ulong length () const; - DOM::CSSRule item (ulong); -//ig CSSRuleListImpl* handle () const; - bool isNull () const; - -protected: - -}; // class CSSRuleList - -}; // namespace DOM - diff --git a/python/pykde/sip/khtml/css_stylesheet.sip b/python/pykde/sip/khtml/css_stylesheet.sip deleted file mode 100644 index 3e43c364..00000000 --- a/python/pykde/sip/khtml/css_stylesheet.sip +++ /dev/null @@ -1,197 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module khtml version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - -namespace DOM -{ - -class StyleSheet -{ -%TypeHeaderCode -#include -%End - - -public: - StyleSheet (); - StyleSheet (const DOM::StyleSheet&); -//ig StyleSheet (StyleSheetImpl*); - -public: - DOM::DOMString type () const; - bool disabled () const; - void setDisabled (bool); - DOM::Node ownerNode () const; - DOM::StyleSheet parentStyleSheet () const; - DOM::DOMString href () const; - DOM::DOMString title () const; - DOM::MediaList media () const; - bool isCSSStyleSheet () const; -//ig StyleSheetImpl* handle () const; - bool isNull () const; - -protected: - -}; // class StyleSheet - - -class CSSException -{ -%TypeHeaderCode -#include -%End - - -public: - CSSException (ushort); - CSSException (const DOM::CSSException&); - ushort code; - - enum ExceptionCode - { - SYNTAX_ERR, - INVALID_MODIFICATION_ERR, - _EXCEPTION_OFFSET - }; - - -}; // class CSSException - - -class CSSStyleSheet : DOM::StyleSheet -{ -%TypeHeaderCode -#include -%End - - -public: - CSSStyleSheet (); - CSSStyleSheet (const DOM::CSSStyleSheet&); - CSSStyleSheet (const DOM::StyleSheet&); -//ig CSSStyleSheet (CSSStyleSheetImpl*); - -public: - DOM::CSSRule ownerRule () const; - DOM::CSSRuleList cssRules () const; - ulong insertRule (const DOM::DOMString&, ulong); - void deleteRule (ulong); - -}; // class CSSStyleSheet - - -class StyleSheetList -{ -%TypeHeaderCode -#include -%End - - -public: - StyleSheetList (); - StyleSheetList (const DOM::StyleSheetList&); -//ig StyleSheetList (StyleSheetListImpl*); - -public: - ulong length () const; - DOM::StyleSheet item (ulong); -//ig StyleSheetListImpl* handle () const; - bool isNull () const; - -protected: - -}; // class StyleSheetList - - -class MediaList -{ -%TypeHeaderCode -#include -%End - - -public: - MediaList (); - MediaList (const DOM::MediaList&); -//ig MediaList (MediaListImpl*); - -public: - DOM::DOMString mediaText (); - void setMediaText (const DOM::DOMString&); - ulong length (); - DOM::DOMString item (ulong); - void deleteMedium (const DOM::DOMString&); - void appendMedium (const DOM::DOMString&); -//ig MediaListImpl* handle () const; - bool isNull () const; - -protected: - -}; // class MediaList - - -class LinkStyle -{ -%TypeHeaderCode -#include -%End - - -public: - LinkStyle (); - LinkStyle (const DOM::LinkStyle&); - DOM::StyleSheet sheet (); - bool isNull () const; - -protected: - -}; // class LinkStyle - - -class DocumentStyle -{ -%TypeHeaderCode -#include -%End - - -public: - DocumentStyle (); - DocumentStyle (const DOM::DocumentStyle&); - DOM::StyleSheetList styleSheets (); - -%If ( KDE_3_2_0 - ) - DOM::DOMString preferredStylesheetSet () const; - DOM::DOMString selectedStylesheetSet () const; - void setSelectedStylesheetSet (const DOM::DOMString&); -%End - - bool isNull () const; - -protected: - -}; // class DocumentStyle - -}; // namespace DOM - diff --git a/python/pykde/sip/khtml/css_value.sip b/python/pykde/sip/khtml/css_value.sip deleted file mode 100644 index 5d8194db..00000000 --- a/python/pykde/sip/khtml/css_value.sip +++ /dev/null @@ -1,320 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module khtml version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - -namespace DOM -{ - -class CSSStyleDeclaration -{ -%TypeHeaderCode -#include -%End - - -public: - CSSStyleDeclaration (); - CSSStyleDeclaration (const DOM::CSSStyleDeclaration&); -//ig CSSStyleDeclaration (CSSStyleDeclarationImpl*); - -public: - DOM::DOMString cssText () const; - void setCssText (const DOM::DOMString&); - ulong length () const; - DOM::CSSRule parentRule () const; - DOM::DOMString getPropertyValue (const DOM::DOMString&); - DOM::CSSValue getPropertyCSSValue (const DOM::DOMString&); - DOM::DOMString removeProperty (const DOM::DOMString&); - DOM::DOMString getPropertyPriority (const DOM::DOMString&); - void setProperty (const DOM::DOMString&, const DOM::DOMString&, const DOM::DOMString&); - DOM::DOMString item (ulong); -//ig CSSStyleDeclarationImpl* handle () const; - bool isNull () const; - -protected: - -}; // class CSSStyleDeclaration - - -class CSSValue -{ -%TypeHeaderCode -#include -%End - - -public: - CSSValue (); - CSSValue (const DOM::CSSValue&); -//ig CSSValue (CSSValueImpl*); - -public: - -%If ( KDE_3_2_1 - ) - - enum UnitTypes - { - CSS_INHERIT, - CSS_PRIMITIVE_VALUE, - CSS_VALUE_LIST, - CSS_CUSTOM, - CSS_INITIAL - }; - -%End - - DOM::DOMString cssText () const; - void setCssText (const DOM::DOMString&); - ushort cssValueType () const; - bool isCSSValueList () const; - bool isCSSPrimitiveValue () const; -//ig CSSValueImpl* handle () const; - bool isNull () const; - -protected: - -public: - -%If ( - KDE_3_2_1 ) - - enum UnitTypes - { - CSS_INHERIT, - CSS_PRIMITIVE_VALUE, - CSS_VALUE_LIST, - CSS_CUSTOM - }; - -%End - - -}; // class CSSValue - - -class CSSValueList : DOM::CSSValue -{ -%TypeHeaderCode -#include -%End - - -public: - CSSValueList (); - CSSValueList (const DOM::CSSValueList&); - CSSValueList (const DOM::CSSValue&); -//ig CSSValueList (CSSValueListImpl*); - -public: - ulong length () const; - DOM::CSSValue item (ulong); - -protected: - -}; // class CSSValueList - - -class CSSPrimitiveValue : DOM::CSSValue -{ -%TypeHeaderCode -#include -%End - - -public: - CSSPrimitiveValue (); - CSSPrimitiveValue (const DOM::CSSPrimitiveValue&); - CSSPrimitiveValue (const DOM::CSSValue&); -//ig CSSPrimitiveValue (CSSPrimitiveValueImpl*); - -public: - -%If ( KDE_3_1_0 - ) - - enum UnitTypes - { - CSS_UNKNOWN, - CSS_NUMBER, - CSS_PERCENTAGE, - CSS_EMS, - CSS_EXS, - CSS_PX, - CSS_CM, - CSS_MM, - CSS_IN, - CSS_PT, - CSS_PC, - CSS_DEG, - CSS_RAD, - CSS_GRAD, - CSS_MS, - CSS_S, - CSS_HZ, - CSS_KHZ, - CSS_DIMENSION, - CSS_STRING, - CSS_URI, - CSS_IDENT, - CSS_ATTR, - CSS_COUNTER, - CSS_RECT, - CSS_RGBCOLOR, - CSS_HTML_RELATIVE - }; - -%End - - ushort primitiveType () const; - void setFloatValue (ushort, float); - float getFloatValue (ushort); - void setStringValue (ushort, const DOM::DOMString&); - DOM::DOMString getStringValue (); - DOM::Counter getCounterValue (); - DOM::Rect getRectValue (); - DOM::RGBColor getRGBColorValue (); - -public: - -%If ( - KDE_3_1_0 ) - - enum UnitTypes - { - CSS_UNKNOWN, - CSS_NUMBER, - CSS_PERCENTAGE, - CSS_EMS, - CSS_EXS, - CSS_PX, - CSS_CM, - CSS_MM, - CSS_IN, - CSS_PT, - CSS_PC, - CSS_DEG, - CSS_RAD, - CSS_GRAD, - CSS_MS, - CSS_S, - CSS_HZ, - CSS_KHZ, - CSS_DIMENSION, - CSS_STRING, - CSS_URI, - CSS_IDENT, - CSS_ATTR, - CSS_COUNTER, - CSS_RECT, - CSS_RGBCOLOR - }; - -%End - - -}; // class CSSPrimitiveValue - - -class RGBColor -{ -%TypeHeaderCode -#include -%End - - -public: - RGBColor (); - RGBColor (const QColor&); - -%If ( KDE_3_1_0 - ) - RGBColor (QRgb); -%End - - RGBColor (const DOM::RGBColor&); - DOM::CSSPrimitiveValue red () const; - DOM::CSSPrimitiveValue green () const; - DOM::CSSPrimitiveValue blue () const; - -%If ( KDE_3_1_0 - ) - QRgb color () const; -%End - - -protected: - -public: - -%If ( - KDE_3_1_0 ) - const QColor& color () const; -%End - - -}; // class RGBColor - - -class Rect -{ -%TypeHeaderCode -#include -%End - - -public: - Rect (); - Rect (const DOM::Rect&); - DOM::CSSPrimitiveValue top () const; - DOM::CSSPrimitiveValue right () const; - DOM::CSSPrimitiveValue bottom () const; - DOM::CSSPrimitiveValue left () const; -//ig RectImpl* handle () const; - bool isNull () const; - -protected: -//ig Rect (RectImpl*); - -}; // class Rect - - -class Counter -{ -%TypeHeaderCode -#include -%End - - -public: - Counter (); - Counter (const DOM::Counter&); - -public: - DOM::DOMString identifier () const; - DOM::DOMString listStyle () const; - DOM::DOMString separator () const; -//ig CounterImpl* handle () const; - bool isNull () const; - -protected: -//ig Counter (CounterImpl*); - -}; // class Counter - -}; // namespace DOM - diff --git a/python/pykde/sip/khtml/dom2_events.sip b/python/pykde/sip/khtml/dom2_events.sip deleted file mode 100644 index 386756fa..00000000 --- a/python/pykde/sip/khtml/dom2_events.sip +++ /dev/null @@ -1,251 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module khtml version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - -namespace DOM -{ - -class EventListener : DOM::DomShared -{ -%TypeHeaderCode -#include -%End - - -public: - EventListener (); - virtual void handleEvent (DOM::Event&); - virtual DOM::DOMString eventListenerType (); - -protected: - -}; // class EventListener - - -class Event -{ -%TypeHeaderCode -#include -%End - - -public: - Event (); - Event (const DOM::Event&); - - enum PhaseType - { - CAPTURING_PHASE, - AT_TARGET, - BUBBLING_PHASE - }; - - DOM::DOMString type () const; - DOM::Node target () const; - DOM::Node currentTarget () const; - ushort eventPhase () const; - bool bubbles () const; - bool cancelable () const; - DOMTimeStamp timeStamp () const; - void stopPropagation (); - void preventDefault (); - void initEvent (const DOM::DOMString&, bool, bool); -//ig EventImpl* handle () const; - bool isNull () const; - -protected: -//ig Event (EventImpl*); - -public: - -%If ( - KDE_3_2_0 ) - DOM::DOMString eventModuleName (); -%End - - -public: -//force - typedef longlong DOMTimeStamp; -//end - -}; // class Event - - -class EventException -{ -%TypeHeaderCode -#include -%End - - -public: - EventException (ushort); - EventException (const DOM::EventException&); - - enum EventExceptionCode - { - UNSPECIFIED_EVENT_TYPE_ERR - }; - - ushort code; - -}; // class EventException - - -class UIEvent : DOM::Event -{ -%TypeHeaderCode -#include -%End - - -public: - UIEvent (); - UIEvent (const DOM::UIEvent&); - UIEvent (const DOM::Event&); - DOM::AbstractView view () const; - long detail () const; - -%If ( KDE_3_2_0 - ) - int keyCode () const; - -%If ( KDE_3_4_0 - ) - int charCode () const; -%End - - -%If ( KDE_3_2_1 - ) - int pageX () const; - int pageY () const; -%End - - int layerX () const; - int layerY () const; - int which () const; -%End - - void initUIEvent (const DOM::DOMString&, bool, bool, const DOM::AbstractView&, long); - -protected: -//ig UIEvent (UIEventImpl*); - -}; // class UIEvent - - -class MouseEvent : DOM::UIEvent -{ -%TypeHeaderCode -#include -%End - - -public: - MouseEvent (); - MouseEvent (const DOM::MouseEvent&); - MouseEvent (const DOM::Event&); - long screenX () const; - long screenY () const; - long clientX () const; - long clientY () const; - bool ctrlKey () const; - bool shiftKey () const; - bool altKey () const; - bool metaKey () const; - ushort button () const; - DOM::Node relatedTarget () const; - void initMouseEvent (const DOM::DOMString&, bool, bool, const DOM::AbstractView&, long, long, long, long, long, bool, bool, bool, bool, ushort, const DOM::Node&); - -protected: -//ig MouseEvent (MouseEventImpl*); - -}; // class MouseEvent - - -%If ( KDE_3_1_0 - ) - -class TextEvent : DOM::UIEvent -{ -%TypeHeaderCode -#include -%End - - -public: - TextEvent (); - TextEvent (const DOM::TextEvent&); - TextEvent (const DOM::Event&); - void initTextEvent (const DOM::DOMString&, bool, bool, const DOM::AbstractView&, long, const DOM::DOMString&, ulong, ulong, bool, bool); - void initModifier (ulong, bool); - bool inputGenerated () const; - ulong keyVal () const; - bool numPad () const; - DOM::DOMString outputString () const; - ulong virtKeyVal () const; - bool checkModifier (ulong); - -protected: -//ig TextEvent (KeyEventBaseImpl*); - -}; // class TextEvent - -%End - - -%If ( KDE_3_1_0 - ) - -class MutationEvent : DOM::Event -{ -%TypeHeaderCode -#include -%End - - -public: - MutationEvent (); - MutationEvent (const DOM::MutationEvent&); - MutationEvent (const DOM::Event&); - - enum attrChangeType - { - MODIFICATION, - ADDITION, - REMOVAL - }; - - DOM::Node relatedNode () const; - DOM::DOMString prevValue () const; - DOM::DOMString newValue () const; - DOM::DOMString attrName () const; - ushort attrChange () const; - void initMutationEvent (const DOM::DOMString&, bool, bool, const DOM::Node&, const DOM::DOMString&, const DOM::DOMString&, const DOM::DOMString&, ushort); - -protected: -//ig MutationEvent (MutationEventImpl*); - -}; // class MutationEvent - -%End - -}; // namespace DOM - diff --git a/python/pykde/sip/khtml/dom2_range.sip b/python/pykde/sip/khtml/dom2_range.sip deleted file mode 100644 index a39378d8..00000000 --- a/python/pykde/sip/khtml/dom2_range.sip +++ /dev/null @@ -1,115 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module khtml version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - -namespace DOM -{ - -class RangeException -{ -%TypeHeaderCode -#include -%End - - -public: - RangeException (ushort); - RangeException (const DOM::RangeException&); - - enum RangeExceptionCode - { - BAD_BOUNDARYPOINTS_ERR, - INVALID_NODE_TYPE_ERR, - _EXCEPTION_OFFSET, - _EXCEPTION_MAX - }; - - ushort code; - -}; // class RangeException - - -class Range -{ -%TypeHeaderCode -#include -%End - - -public: - Range (); - Range (const DOM::Document); - Range (const DOM::Range&); - Range (const DOM::Node, const long, const DOM::Node, const long); - DOM::Node startContainer () const; - long startOffset () const; - DOM::Node endContainer () const; - long endOffset () const; - bool collapsed () const; - DOM::Node commonAncestorContainer (); - void setStart (const DOM::Node&, long); - void setEnd (const DOM::Node&, long); - void setStartBefore (const DOM::Node&); - void setStartAfter (const DOM::Node&); - void setEndBefore (const DOM::Node&); - void setEndAfter (const DOM::Node&); - void collapse (bool); - void selectNode (const DOM::Node&); - void selectNodeContents (const DOM::Node&); - - enum CompareHow - { - START_TO_START, - START_TO_END, - END_TO_END, - END_TO_START - }; - - short compareBoundaryPoints (DOM::Range::CompareHow, const DOM::Range&); - bool boundaryPointsValid (); - void deleteContents (); - DOM::DocumentFragment extractContents (); - DOM::DocumentFragment cloneContents (); - void insertNode (const DOM::Node&); - void surroundContents (const DOM::Node&); - DOM::Range cloneRange (); - DOM::DOMString toString (); - DOM::DOMString toHTML (); - -%If ( KDE_3_2_0 - ) - DOM::DocumentFragment createContextualFragment (const DOM::DOMString&); -%End - - void detach (); - bool isDetached () const; -//ig RangeImpl* handle () const; - bool isNull () const; - -protected: -//ig Range (RangeImpl*); - -}; // class Range - -}; // namespace DOM - diff --git a/python/pykde/sip/khtml/dom2_traversal.sip b/python/pykde/sip/khtml/dom2_traversal.sip deleted file mode 100644 index 54d7acb1..00000000 --- a/python/pykde/sip/khtml/dom2_traversal.sip +++ /dev/null @@ -1,176 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module khtml version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - -namespace DOM -{ - -class NodeIterator -{ -%TypeHeaderCode -#include -%End - - -public: - NodeIterator (); - NodeIterator (const DOM::NodeIterator&); - DOM::Node root (); - ulong whatToShow (); - DOM::NodeFilter filter (); - bool expandEntityReferences (); - DOM::Node nextNode (); - DOM::Node previousNode (); - void detach (); -//ig NodeIteratorImpl* handle () const; - bool isNull () const; - -protected: -//ig NodeIterator (NodeIteratorImpl*); - -}; // class NodeIterator - - -class NodeFilter -{ -%TypeHeaderCode -#include -%End - - -public: - NodeFilter (); - NodeFilter (const DOM::NodeFilter&); - -%If ( KDE_3_2_1 - ) -//ig NodeFilter (NodeFilterImpl*); -%End - - - enum AcceptCode - { - FILTER_ACCEPT, - FILTER_REJECT, - FILTER_SKIP - }; - - - enum ShowCode - { - SHOW_ALL, - SHOW_ELEMENT, - SHOW_ATTRIBUTE, - SHOW_TEXT, - SHOW_CDATA_SECTION, - SHOW_ENTITY_REFERENCE, - SHOW_ENTITY, - SHOW_PROCESSING_INSTRUCTION, - SHOW_COMMENT, - SHOW_DOCUMENT, - SHOW_DOCUMENT_TYPE, - SHOW_DOCUMENT_FRAGMENT, - SHOW_NOTATION - }; - - virtual short acceptNode (const DOM::Node&); -//ig virtual NodeFilterImpl* handle () const; - virtual bool isNull () const; - void setCustomNodeFilter (DOM::CustomNodeFilter*); - DOM::CustomNodeFilter* customNodeFilter (); - static DOM::NodeFilter createCustom (DOM::CustomNodeFilter*); - -protected: - -protected: - -%If ( - KDE_3_2_1 ) -//ig NodeFilter (NodeFilterImpl*); -%End - - -}; // class NodeFilter - - -class CustomNodeFilter : DOM::DomShared -{ -%TypeHeaderCode -#include -%End - - -public: - CustomNodeFilter (); - virtual short acceptNode (const DOM::Node&); - virtual bool isNull (); - virtual DOM::DOMString customNodeFilterType (); - -protected: - -}; // class CustomNodeFilter - - -class TreeWalker -{ -%TypeHeaderCode -#include -%End - - -public: - TreeWalker (); - TreeWalker (const DOM::TreeWalker&); - DOM::Node root (); - ulong whatToShow (); - DOM::NodeFilter filter (); - bool expandEntityReferences (); - DOM::Node currentNode (); - -%If ( KDE_3_2_1 - ) - void setCurrentNode (const DOM::Node&); -%End - - DOM::Node parentNode (); - DOM::Node firstChild (); - DOM::Node lastChild (); - DOM::Node previousSibling (); - DOM::Node nextSibling (); - DOM::Node previousNode (); - DOM::Node nextNode (); -//ig TreeWalkerImpl* handle () const; - bool isNull () const; - -protected: -//ig TreeWalker (TreeWalkerImpl*); - -public: - -%If ( - KDE_3_2_1 ) - void setCurrentNode (const DOM::Node); -%End - - -}; // class TreeWalker - -}; // namespace DOM - diff --git a/python/pykde/sip/khtml/dom2_views.sip b/python/pykde/sip/khtml/dom2_views.sip deleted file mode 100644 index 664a2c97..00000000 --- a/python/pykde/sip/khtml/dom2_views.sip +++ /dev/null @@ -1,50 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module khtml version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - -namespace DOM -{ - -class AbstractView -{ -%TypeHeaderCode -#include -%End - - -public: - AbstractView (); - AbstractView (const DOM::AbstractView&); - DOM::Document document () const; - DOM::CSSStyleDeclaration getComputedStyle (const DOM::Element&, const DOM::DOMString&); -//ig AbstractViewImpl* handle () const; - bool isNull () const; - -protected: -//ig AbstractView (AbstractViewImpl*); - -}; // class AbstractView - -}; // namespace DOM - diff --git a/python/pykde/sip/khtml/dom_doc.sip b/python/pykde/sip/khtml/dom_doc.sip deleted file mode 100644 index 1a132d81..00000000 --- a/python/pykde/sip/khtml/dom_doc.sip +++ /dev/null @@ -1,185 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module khtml version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - -namespace DOM -{ - -class DOMImplementation -{ -%TypeHeaderCode -#include -%End - - -public: - DOMImplementation (); - DOMImplementation (const DOM::DOMImplementation&); - bool hasFeature (const DOM::DOMString&, const DOM::DOMString&); - DOM::DocumentType createDocumentType (const DOM::DOMString&, const DOM::DOMString&, const DOM::DOMString&); - DOM::Document createDocument (const DOM::DOMString&, const DOM::DOMString&, const DOM::DocumentType&); - DOM::DOMImplementation getInterface (const DOM::DOMString&) const; - DOM::CSSStyleSheet createCSSStyleSheet (const DOM::DOMString&, const DOM::DOMString&); - DOM::HTMLDocument createHTMLDocument (const DOM::DOMString&); -//ig DOMImplementationImpl* handle () const; - bool isNull () const; - -protected: -//ig DOMImplementation (DOMImplementationImpl*); - -}; // class DOMImplementation - - -class Document : DOM::Node -{ -%TypeHeaderCode -#include -%End - - -public: - Document (); - Document (bool); - Document (const DOM::Document&); - Document (const DOM::Node&); - DOM::DocumentType doctype () const; - DOM::DOMImplementation implementation () const; - DOM::Element documentElement () const; - DOM::Element createElement (const DOM::DOMString&); - DOM::Element createElementNS (const DOM::DOMString&, const DOM::DOMString&); - DOM::DocumentFragment createDocumentFragment (); - DOM::Text createTextNode (const DOM::DOMString&); - DOM::Comment createComment (const DOM::DOMString&); - DOM::CDATASection createCDATASection (const DOM::DOMString&); - DOM::ProcessingInstruction createProcessingInstruction (const DOM::DOMString&, const DOM::DOMString&); - DOM::Attr createAttribute (const DOM::DOMString&); - DOM::Attr createAttributeNS (const DOM::DOMString&, const DOM::DOMString&); - DOM::EntityReference createEntityReference (const DOM::DOMString&); - DOM::Element getElementById (const DOM::DOMString&) const; - DOM::NodeList getElementsByTagName (const DOM::DOMString&); - DOM::NodeList getElementsByTagNameNS (const DOM::DOMString&, const DOM::DOMString&); - DOM::Node importNode (const DOM::Node&, bool); - bool isHTMLDocument () const; - DOM::Range createRange (); - DOM::NodeIterator createNodeIterator (DOM::Node, ulong, DOM::NodeFilter, bool); - DOM::TreeWalker createTreeWalker (DOM::Node, ulong, DOM::NodeFilter, bool); - DOM::Event createEvent (const DOM::DOMString&); - DOM::AbstractView defaultView () const; - DOM::StyleSheetList styleSheets () const; - -%If ( KDE_3_2_0 - ) - DOM::DOMString preferredStylesheetSet (); - DOM::DOMString selectedStylesheetSet (); - void setSelectedStylesheetSet (const DOM::DOMString&); - -%If ( KDE_3_4_0 - ) - void addStyleSheet (const DOM::StyleSheet&); - void removeStyleSheet (const DOM::StyleSheet&); -%End - -%End - - KHTMLView* view () const; - DOM::CSSStyleDeclaration getOverrideStyle (const DOM::Element&, const DOM::DOMString&); - -%If ( KDE_3_2_0 - ) - bool async () const; - void setAsync (bool); - void abort (); - void load (const DOM::DOMString&); - void loadXML (const DOM::DOMString&); - bool designMode () const; - void setDesignMode (bool); -%End - - DOM::DOMString completeURL (const DOM::DOMString&); - -%If ( KDE_3_3_0 - ) - DOM::DOMString toString () const; -%End - - -%If ( KDE_3_2_0 - ) - void updateRendering (); - -%If ( KDE_3_3_0 - ) -//ig Document (DocumentImpl*); -%End - -%End - - -protected: - -%If ( - KDE_3_3_0 ) -//ig Document (DocumentImpl*); -%End - - -}; // class Document - - -class DocumentFragment : DOM::Node -{ -%TypeHeaderCode -#include -%End - - -public: - DocumentFragment (); - DocumentFragment (const DOM::DocumentFragment&); - DocumentFragment (const DOM::Node&); - -protected: -//ig DocumentFragment (DocumentFragmentImpl*); - -}; // class DocumentFragment - - -class DocumentType : DOM::Node -{ -%TypeHeaderCode -#include -%End - - -public: - DocumentType (); - DocumentType (const DOM::DocumentType&); - DocumentType (const DOM::Node&); - DOM::DOMString name () const; - DOM::NamedNodeMap entities () const; - DOM::NamedNodeMap notations () const; - DOM::DOMString publicId () const; - DOM::DOMString systemId () const; - DOM::DOMString internalSubset () const; - -protected: -//ig DocumentType (DocumentTypeImpl*); - -}; // class DocumentType - -}; // namespace DOM - diff --git a/python/pykde/sip/khtml/dom_element.sip b/python/pykde/sip/khtml/dom_element.sip deleted file mode 100644 index 090e9d36..00000000 --- a/python/pykde/sip/khtml/dom_element.sip +++ /dev/null @@ -1,111 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module khtml version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - -namespace DOM -{ - -class Attr : DOM::Node -{ -%TypeHeaderCode -#include -%End - - -public: - Attr (); - Attr (const DOM::Node&); - Attr (const DOM::Attr&); - DOM::DOMString name () const; - bool specified () const; - DOM::DOMString value () const; - void setValue (const DOM::DOMString&); - DOM::Element ownerElement () const; - -protected: -//ig Attr (AttrImpl*); - -}; // class Attr - - -class Element : DOM::Node -{ -%TypeHeaderCode -#include -%End - - -public: - Element (); - Element (const DOM::Node&); - Element (const DOM::Element&); - DOM::DOMString tagName () const; - DOM::DOMString getAttribute (const DOM::DOMString&); - void setAttribute (const DOM::DOMString&, const DOM::DOMString&); - void removeAttribute (const DOM::DOMString&); - DOM::Attr getAttributeNode (const DOM::DOMString&); - DOM::Attr setAttributeNode (const DOM::Attr&); - DOM::Attr removeAttributeNode (const DOM::Attr&); - DOM::NodeList getElementsByTagName (const DOM::DOMString&); - DOM::NodeList getElementsByTagNameNS (const DOM::DOMString&, const DOM::DOMString&); - DOM::DOMString getAttributeNS (const DOM::DOMString&, const DOM::DOMString&); - void setAttributeNS (const DOM::DOMString&, const DOM::DOMString&, const DOM::DOMString&); - void removeAttributeNS (const DOM::DOMString&, const DOM::DOMString&); - DOM::Attr getAttributeNodeNS (const DOM::DOMString&, const DOM::DOMString&); - DOM::Attr setAttributeNodeNS (const DOM::Attr&); - bool hasAttribute (const DOM::DOMString&); - bool hasAttributeNS (const DOM::DOMString&, const DOM::DOMString&); - DOM::CSSStyleDeclaration style (); - -%If ( KDE_3_2_0 - ) - bool contentEditable () const; - void setContentEditable (bool); -%End - - bool isHTMLElement () const; - -%If ( KDE_3_1_0 - ) - DOM::Element form () const; -%End - - static bool khtmlValidAttrName (const DOM::DOMString&); - static bool khtmlValidPrefix (const DOM::DOMString&); - static bool khtmlValidQualifiedName (const DOM::DOMString&); - static bool khtmlMalformedQualifiedName (const DOM::DOMString&); - static bool khtmlMalformedPrefix (const DOM::DOMString&); - -protected: -//ig Element (ElementImpl*); - -public: - -%If ( - KDE_3_1_2 ) - void normalize (); -%End - - -}; // class Element - -}; // namespace DOM - diff --git a/python/pykde/sip/khtml/dom_exception.sip b/python/pykde/sip/khtml/dom_exception.sip deleted file mode 100644 index 6a446a81..00000000 --- a/python/pykde/sip/khtml/dom_exception.sip +++ /dev/null @@ -1,64 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module khtml version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - -namespace DOM -{ - -class DOMException -{ -%TypeHeaderCode -#include -%End - - -public: - DOMException (ushort); - DOMException (const DOM::DOMException&); - - enum ExceptionCode - { - INDEX_SIZE_ERR, - DOMSTRING_SIZE_ERR, - HIERARCHY_REQUEST_ERR, - WRONG_DOCUMENT_ERR, - INVALID_CHARACTER_ERR, - NO_DATA_ALLOWED_ERR, - NO_MODIFICATION_ALLOWED_ERR, - NOT_FOUND_ERR, - NOT_SUPPORTED_ERR, - INUSE_ATTRIBUTE_ERR, - INVALID_STATE_ERR, - SYNTAX_ERR, - INVALID_MODIFICATION_ERR, - NAMESPACE_ERR, - INVALID_ACCESS_ERR - }; - - ushort code; - -}; // class DOMException - -}; // namespace DOM - diff --git a/python/pykde/sip/khtml/dom_misc.sip b/python/pykde/sip/khtml/dom_misc.sip deleted file mode 100644 index 30c090f5..00000000 --- a/python/pykde/sip/khtml/dom_misc.sip +++ /dev/null @@ -1,49 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module khtml version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - -namespace DOM -{ - -class DomShared -{ -%TypeHeaderCode -#include -%End - - -public: - DomShared (); - virtual bool deleteMe (); - void ref (); - void deref (); - bool hasOneRef (); - uint refCount () const; - -protected: - -}; // class DomShared - -}; // namespace DOM - diff --git a/python/pykde/sip/khtml/dom_node.sip b/python/pykde/sip/khtml/dom_node.sip deleted file mode 100644 index e7d4b8ec..00000000 --- a/python/pykde/sip/khtml/dom_node.sip +++ /dev/null @@ -1,150 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module khtml version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - -namespace DOM -{ - -class NamedNodeMap -{ -%TypeHeaderCode -#include -%End - - -public: - NamedNodeMap (); - NamedNodeMap (const DOM::NamedNodeMap&); - ulong length () const; - DOM::Node getNamedItem (const DOM::DOMString&) const; - DOM::Node setNamedItem (const DOM::Node&); - DOM::Node removeNamedItem (const DOM::DOMString&); - DOM::Node item (ulong) const; - DOM::Node getNamedItemNS (const DOM::DOMString&, const DOM::DOMString&) const; - DOM::Node setNamedItemNS (const DOM::Node&); - DOM::Node removeNamedItemNS (const DOM::DOMString&, const DOM::DOMString&); -//ig NamedNodeMapImpl* handle () const; - bool isNull () const; - -protected: -//ig NamedNodeMap (NamedNodeMapImpl*); - -}; // class NamedNodeMap - - -class Node -{ -%TypeHeaderCode -#include -%End - - -public: - Node (); - Node (const DOM::Node&); -//ig Node (NodeImpl*); - bool operator == (const DOM::Node&); - bool operator != (const DOM::Node&); - - enum NodeType - { - ELEMENT_NODE, - ATTRIBUTE_NODE, - TEXT_NODE, - CDATA_SECTION_NODE, - ENTITY_REFERENCE_NODE, - ENTITY_NODE, - PROCESSING_INSTRUCTION_NODE, - COMMENT_NODE, - DOCUMENT_NODE, - DOCUMENT_TYPE_NODE, - DOCUMENT_FRAGMENT_NODE, - NOTATION_NODE - }; - - DOM::DOMString nodeName () const; - DOM::DOMString nodeValue () const; - void setNodeValue (const DOM::DOMString&); - ushort nodeType () const; - DOM::Node parentNode () const; - DOM::NodeList childNodes () const; - DOM::Node firstChild () const; - DOM::Node lastChild () const; - DOM::Node previousSibling () const; - DOM::Node nextSibling () const; - DOM::NamedNodeMap attributes () const; - DOM::Document ownerDocument () const; - DOM::Node insertBefore (const DOM::Node&, const DOM::Node&); - DOM::Node replaceChild (const DOM::Node&, const DOM::Node&); - DOM::Node removeChild (const DOM::Node&); - DOM::Node appendChild (const DOM::Node&); - bool hasChildNodes (); - DOM::Node cloneNode (bool); - void normalize (); - bool isSupported (const DOM::DOMString&, const DOM::DOMString&) const; - DOM::DOMString namespaceURI () const; - DOM::DOMString prefix () const; - void setPrefix (const DOM::DOMString&); - DOM::DOMString localName () const; - bool hasAttributes (); - void addEventListener (const DOM::DOMString&, DOM::EventListener*, const bool); - void removeEventListener (const DOM::DOMString&, DOM::EventListener*, bool); - bool dispatchEvent (const DOM::Event&); - ulong elementId () const; - bool isNull () const; -//ig NodeImpl* handle () const; - ulong index () const; - QString toHTML (); - void applyChanges (); - void getCursor (int, int&, int&, int&); - QRect getRect (); - -protected: - -}; // class Node - - -class NodeList -{ -%TypeHeaderCode -#include -%End - - -public: - NodeList (); - NodeList (const DOM::NodeList&); - ulong length () const; - DOM::Node item (ulong) const; -//ig NodeListImpl* handle () const; - bool isNull () const; - -protected: -//ig NodeList (const NodeListImpl*); - -}; // class NodeList - -//ig typedef ulonglong DOMTimeStamp; -}; // namespace DOM - diff --git a/python/pykde/sip/khtml/dom_string.sip b/python/pykde/sip/khtml/dom_string.sip deleted file mode 100644 index f4d8b4be..00000000 --- a/python/pykde/sip/khtml/dom_string.sip +++ /dev/null @@ -1,79 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module khtml version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - -namespace DOM -{ - -class DOMString -{ -%TypeHeaderCode -#include -%End - - -public: - DOMString (); - DOMString (const QChar*, uint); - DOMString (const QString&); - DOMString (const char*); -//ig DOMString (DOMStringImpl*); - DOMString (const DOM::DOMString&); - DOM::DOMString& operator += (const DOM::DOMString&); - DOM::DOMString operator + (const DOM::DOMString&); - void insert (DOM::DOMString, uint); - const QChar& operator [] (uint) const; -%MethodCode -//returns (QChar) -//takes index | uint - sipRes = &((*sipCpp)[a0]); -%End - - int find (const QChar, int = 0) const; - uint length () const; - void truncate (uint); - void remove (uint, int = 1); - DOM::DOMString split (uint); - DOM::DOMString lower () const; - DOM::DOMString upper () const; - QChar* unicode () const; - QString string () const; - int toInt () const; - bool percentage (int&) const; - DOM::DOMString copy () const; - bool isNull () const; - bool isEmpty () const; -//ig DOMStringImpl* implementation () const; - -protected: - -}; // class DOMString - -//igx bool operator == (const DOMString&, const DOMString&); -//igx bool operator == (const DOMString&, const QString&); -//igx bool operator == (const DOMString&, const char*); -bool strcasecmp (const DOM::DOMString&, const DOM::DOMString&); -bool strcasecmp (const DOM::DOMString&, const char*); -}; // namespace DOM - diff --git a/python/pykde/sip/khtml/dom_text.sip b/python/pykde/sip/khtml/dom_text.sip deleted file mode 100644 index bc06c168..00000000 --- a/python/pykde/sip/khtml/dom_text.sip +++ /dev/null @@ -1,92 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module khtml version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - -namespace DOM -{ - -class CharacterData : DOM::Node -{ -%TypeHeaderCode -#include -%End - - -public: - CharacterData (); - CharacterData (const DOM::CharacterData&); - CharacterData (const DOM::Node&); - DOM::DOMString data () const; - void setData (const DOM::DOMString&); - ulong length () const; - DOM::DOMString substringData (const ulong, const ulong); - void appendData (const DOM::DOMString&); - void insertData (const ulong, const DOM::DOMString&); - void deleteData (const ulong, const ulong); - void replaceData (const ulong, const ulong, const DOM::DOMString&); - -protected: -//ig CharacterData (CharacterDataImpl*); - -}; // class CharacterData - - -class Comment : DOM::CharacterData -{ -%TypeHeaderCode -#include -%End - - -public: - Comment (); - Comment (const DOM::Comment&); - Comment (const DOM::Node&); - -protected: -//ig Comment (CommentImpl*); - -}; // class Comment - - -class Text : DOM::CharacterData -{ -%TypeHeaderCode -#include -%End - - -public: - Text (); - Text (const DOM::Text&); - Text (const DOM::Node&); - DOM::Text splitText (const ulong); - -protected: -//ig Text (TextImpl*); - -}; // class Text - -}; // namespace DOM - diff --git a/python/pykde/sip/khtml/dom_xml.sip b/python/pykde/sip/khtml/dom_xml.sip deleted file mode 100644 index c1d306e3..00000000 --- a/python/pykde/sip/khtml/dom_xml.sip +++ /dev/null @@ -1,128 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module khtml version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - -namespace DOM -{ - -class CDATASection : DOM::Text -{ -%TypeHeaderCode -#include -%End - - -public: - CDATASection (); - CDATASection (const DOM::CDATASection&); - CDATASection (const DOM::Node&); - -protected: -//ig CDATASection (CDATASectionImpl*); - -}; // class CDATASection - - -class Entity : DOM::Node -{ -%TypeHeaderCode -#include -%End - - -public: - Entity (); - Entity (const DOM::Entity&); - Entity (const DOM::Node&); - DOM::DOMString publicId () const; - DOM::DOMString systemId () const; - DOM::DOMString notationName () const; - -protected: -//ig Entity (EntityImpl*); - -}; // class Entity - - -class EntityReference : DOM::Node -{ -%TypeHeaderCode -#include -%End - - -public: - EntityReference (); - EntityReference (const DOM::EntityReference&); - EntityReference (const DOM::Node&); - -protected: -//ig EntityReference (EntityReferenceImpl*); - -}; // class EntityReference - - -class Notation : DOM::Node -{ -%TypeHeaderCode -#include -%End - - -public: - Notation (); - Notation (const DOM::Notation&); - Notation (const DOM::Node&); - DOM::DOMString publicId () const; - DOM::DOMString systemId () const; - -protected: -//ig Notation (NotationImpl*); - -}; // class Notation - - -class ProcessingInstruction : DOM::Node -{ -%TypeHeaderCode -#include -%End - - -public: - ProcessingInstruction (); - ProcessingInstruction (const DOM::ProcessingInstruction&); - ProcessingInstruction (const DOM::Node&); - DOM::DOMString target () const; - DOM::DOMString data () const; - void setData (const DOM::DOMString&); - DOM::StyleSheet sheet () const; - -protected: -//ig ProcessingInstruction (ProcessingInstructionImpl*); - -}; // class ProcessingInstruction - -}; // namespace DOM - diff --git a/python/pykde/sip/khtml/html_base.sip b/python/pykde/sip/khtml/html_base.sip deleted file mode 100644 index bc0cadcd..00000000 --- a/python/pykde/sip/khtml/html_base.sip +++ /dev/null @@ -1,207 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module khtml version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - -namespace DOM -{ - -class HTMLBodyElement : DOM::HTMLElement -{ -%TypeHeaderCode -#include -%End - - -public: - HTMLBodyElement (); - HTMLBodyElement (const DOM::HTMLBodyElement&); - HTMLBodyElement (const DOM::Node&); - -protected: -//ig HTMLBodyElement (HTMLBodyElementImpl*); - -public: - DOM::DOMString aLink () const; - void setALink (const DOM::DOMString&); - DOM::DOMString background () const; - void setBackground (const DOM::DOMString&); - DOM::DOMString bgColor () const; - void setBgColor (const DOM::DOMString&); - DOM::DOMString link () const; - void setLink (const DOM::DOMString&); - DOM::DOMString text () const; - void setText (const DOM::DOMString&); - DOM::DOMString vLink () const; - void setVLink (const DOM::DOMString&); - -}; // class HTMLBodyElement - - -class HTMLFrameElement : DOM::HTMLElement -{ -%TypeHeaderCode -#include -%End - - -public: - HTMLFrameElement (); - HTMLFrameElement (const DOM::HTMLFrameElement&); - HTMLFrameElement (const DOM::Node&); - -protected: -//ig HTMLFrameElement (HTMLFrameElementImpl*); - -public: - DOM::DOMString frameBorder () const; - void setFrameBorder (const DOM::DOMString&); - DOM::DOMString longDesc () const; - void setLongDesc (const DOM::DOMString&); - DOM::DOMString marginHeight () const; - void setMarginHeight (const DOM::DOMString&); - DOM::DOMString marginWidth () const; - void setMarginWidth (const DOM::DOMString&); - DOM::DOMString name () const; - void setName (const DOM::DOMString&); - bool noResize () const; - void setNoResize (bool); - DOM::DOMString scrolling () const; - void setScrolling (const DOM::DOMString&); - DOM::DOMString src () const; - void setSrc (const DOM::DOMString&); - DOM::Document contentDocument () const; - -}; // class HTMLFrameElement - - -class HTMLFrameSetElement : DOM::HTMLElement -{ -%TypeHeaderCode -#include -%End - - -public: - HTMLFrameSetElement (); - HTMLFrameSetElement (const DOM::HTMLFrameSetElement&); - HTMLFrameSetElement (const DOM::Node&); - -protected: -//ig HTMLFrameSetElement (HTMLFrameSetElementImpl*); - -public: - DOM::DOMString cols () const; - void setCols (const DOM::DOMString&); - DOM::DOMString rows () const; - void setRows (const DOM::DOMString&); - -}; // class HTMLFrameSetElement - - -class HTMLIFrameElement : DOM::HTMLElement -{ -%TypeHeaderCode -#include -%End - - -public: - HTMLIFrameElement (); - HTMLIFrameElement (const DOM::HTMLIFrameElement&); - HTMLIFrameElement (const DOM::Node&); - -protected: -//ig HTMLIFrameElement (HTMLIFrameElementImpl*); - -public: - DOM::DOMString align () const; - void setAlign (const DOM::DOMString&); - DOM::DOMString frameBorder () const; - void setFrameBorder (const DOM::DOMString&); - DOM::DOMString height () const; - void setHeight (const DOM::DOMString&); - DOM::DOMString longDesc () const; - void setLongDesc (const DOM::DOMString&); - DOM::DOMString marginHeight () const; - void setMarginHeight (const DOM::DOMString&); - DOM::DOMString marginWidth () const; - void setMarginWidth (const DOM::DOMString&); - DOM::DOMString name () const; - void setName (const DOM::DOMString&); - DOM::DOMString scrolling () const; - void setScrolling (const DOM::DOMString&); - DOM::DOMString src () const; - void setSrc (const DOM::DOMString&); - DOM::DOMString width () const; - void setWidth (const DOM::DOMString&); - DOM::Document contentDocument () const; - -}; // class HTMLIFrameElement - - -class HTMLHeadElement : DOM::HTMLElement -{ -%TypeHeaderCode -#include -%End - - -public: - HTMLHeadElement (); - HTMLHeadElement (const DOM::HTMLHeadElement&); - HTMLHeadElement (const DOM::Node&); - -protected: -//ig HTMLHeadElement (HTMLHeadElementImpl*); - -public: - DOM::DOMString profile () const; - void setProfile (const DOM::DOMString&); - -}; // class HTMLHeadElement - - -class HTMLHtmlElement : DOM::HTMLElement -{ -%TypeHeaderCode -#include -%End - - -public: - HTMLHtmlElement (); - HTMLHtmlElement (const DOM::HTMLHtmlElement&); - HTMLHtmlElement (const DOM::Node&); - -protected: -//ig HTMLHtmlElement (HTMLHtmlElementImpl*); - -public: - DOM::DOMString version () const; - void setVersion (const DOM::DOMString&); - -}; // class HTMLHtmlElement - -}; // namespace DOM - diff --git a/python/pykde/sip/khtml/html_block.sip b/python/pykde/sip/khtml/html_block.sip deleted file mode 100644 index df70827c..00000000 --- a/python/pykde/sip/khtml/html_block.sip +++ /dev/null @@ -1,233 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module khtml version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - -namespace DOM -{ - -class HTMLBlockquoteElement : DOM::HTMLElement -{ -%TypeHeaderCode -#include -%End - - -public: - HTMLBlockquoteElement (); - HTMLBlockquoteElement (const DOM::HTMLBlockquoteElement&); - HTMLBlockquoteElement (const DOM::Node&); - -protected: - -%If ( KDE_3_1_0 - ) -//ig HTMLBlockquoteElement (HTMLElementImpl*); -%End - - -public: - DOM::DOMString cite () const; - void setCite (const DOM::DOMString&); - -protected: - -%If ( - KDE_3_1_0 ) -//ig HTMLBlockquoteElement (HTMLBlockquoteElementImpl*); -%End - - -}; // class HTMLBlockquoteElement - - -class HTMLDivElement : DOM::HTMLElement -{ -%TypeHeaderCode -#include -%End - - -public: - HTMLDivElement (); - HTMLDivElement (const DOM::HTMLDivElement&); - HTMLDivElement (const DOM::Node&); - -protected: -//ig HTMLDivElement (HTMLDivElementImpl*); - -public: - DOM::DOMString align () const; - void setAlign (const DOM::DOMString&); - -}; // class HTMLDivElement - - -class HTMLHRElement : DOM::HTMLElement -{ -%TypeHeaderCode -#include -%End - - -public: - HTMLHRElement (); - HTMLHRElement (const DOM::HTMLHRElement&); - HTMLHRElement (const DOM::Node&); - -protected: -//ig HTMLHRElement (HTMLHRElementImpl*); - -public: - DOM::DOMString align () const; - void setAlign (const DOM::DOMString&); - bool noShade () const; - void setNoShade (bool); - DOM::DOMString size () const; - void setSize (const DOM::DOMString&); - DOM::DOMString width () const; - void setWidth (const DOM::DOMString&); - -}; // class HTMLHRElement - - -class HTMLHeadingElement : DOM::HTMLElement -{ -%TypeHeaderCode -#include -%End - - -public: - HTMLHeadingElement (); - HTMLHeadingElement (const DOM::HTMLHeadingElement&); - HTMLHeadingElement (const DOM::Node&); - -protected: - -%If ( KDE_3_1_0 - ) -//ig HTMLHeadingElement (HTMLElementImpl*); -%End - - -public: - DOM::DOMString align () const; - void setAlign (const DOM::DOMString&); - -protected: - -%If ( - KDE_3_1_0 ) -//ig HTMLHeadingElement (HTMLHeadingElementImpl*); -%End - - -}; // class HTMLHeadingElement - - -class HTMLParagraphElement : DOM::HTMLElement -{ -%TypeHeaderCode -#include -%End - - -public: - HTMLParagraphElement (); - HTMLParagraphElement (const DOM::HTMLParagraphElement&); - HTMLParagraphElement (const DOM::Node&); - -protected: - -%If ( KDE_3_1_0 - ) -//ig HTMLParagraphElement (HTMLElementImpl*); -%End - - -public: - DOM::DOMString align () const; - void setAlign (const DOM::DOMString&); - -protected: - -%If ( - KDE_3_1_0 ) -//ig HTMLParagraphElement (HTMLParagraphElementImpl*); -%End - - -}; // class HTMLParagraphElement - - -class HTMLPreElement : DOM::HTMLElement -{ -%TypeHeaderCode -#include -%End - - -public: - HTMLPreElement (); - HTMLPreElement (const DOM::HTMLPreElement&); - HTMLPreElement (const DOM::Node&); - -protected: -//ig HTMLPreElement (HTMLPreElementImpl*); - -public: - long width () const; - void setWidth (long); - -}; // class HTMLPreElement - - -%If ( KDE_3_3_2 - ) - -class HTMLLayerElement : DOM::HTMLElement -{ -%TypeHeaderCode -#include -%End - - -public: - HTMLLayerElement (); - HTMLLayerElement (const DOM::HTMLLayerElement&); - HTMLLayerElement (const DOM::Node&); - -protected: -//igx HTMLLayerElement (HTMLLayerElementImpl*); - -public: - long top () const; - void setTop (long); - long left () const; - void setLeft (long); - DOM::DOMString visibility () const; - void setVisibility (const DOM::DOMString&); - DOM::DOMString bgColor () const; - void setBgColor (const DOM::DOMString&); - DOM::HTMLCollection layers () const; - -}; // class HTMLLayerElement - -%End - -}; // namespace DOM - diff --git a/python/pykde/sip/khtml/html_document.sip b/python/pykde/sip/khtml/html_document.sip deleted file mode 100644 index 82205ef5..00000000 --- a/python/pykde/sip/khtml/html_document.sip +++ /dev/null @@ -1,77 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module khtml version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - -namespace DOM -{ - -class HTMLDocument : DOM::Document -{ -%TypeHeaderCode -#include -%End - - -public: - HTMLDocument (); - HTMLDocument (KHTMLView* /TransferThis/); - HTMLDocument (const DOM::HTMLDocument&); - HTMLDocument (const DOM::Node&); - -protected: -//ig HTMLDocument (HTMLDocumentImpl*); - -public: - DOM::DOMString title () const; - void setTitle (const DOM::DOMString&); - DOM::DOMString referrer () const; - DOM::DOMString domain () const; - DOM::DOMString URL () const; - DOM::HTMLElement body () const; - void setBody (const DOM::HTMLElement&); - DOM::HTMLCollection images () const; - DOM::HTMLCollection applets () const; - DOM::HTMLCollection links () const; - DOM::HTMLCollection forms () const; - -%If ( KDE_3_3_2 - ) - DOM::HTMLCollection layers () const; -%End - - DOM::HTMLCollection anchors () const; - DOM::DOMString cookie () const; - void setCookie (const DOM::DOMString&); - void open (); - void close (); - void write (const DOM::DOMString&); - void writeln (const DOM::DOMString&); - DOM::NodeList getElementsByName (const DOM::DOMString&); - DOM::DOMString completeURL (const DOM::DOMString&) const; - DOM::DOMString lastModified () const; - DOM::HTMLCollection all () const; - -}; // class HTMLDocument - -}; // namespace DOM - diff --git a/python/pykde/sip/khtml/html_element.sip b/python/pykde/sip/khtml/html_element.sip deleted file mode 100644 index dcc8c5b5..00000000 --- a/python/pykde/sip/khtml/html_element.sip +++ /dev/null @@ -1,78 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module khtml version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - -namespace DOM -{ - -class HTMLElement : DOM::Element -{ -%TypeHeaderCode -#include -%End - - -public: - HTMLElement (); - HTMLElement (const DOM::HTMLElement&); - HTMLElement (const DOM::Node&); - -protected: -//ig HTMLElement (HTMLElementImpl*); - -public: - DOM::DOMString id () const; - void setId (const DOM::DOMString&); - DOM::DOMString title () const; - void setTitle (const DOM::DOMString&); - DOM::DOMString lang () const; - void setLang (const DOM::DOMString&); - DOM::DOMString dir () const; - void setDir (const DOM::DOMString&); - DOM::DOMString className () const; - void setClassName (const DOM::DOMString&); - DOM::DOMString innerHTML () const; - void setInnerHTML (const DOM::DOMString&); - DOM::DOMString innerText () const; - void setInnerText (const DOM::DOMString&); - DOM::HTMLCollection children () const; - -%If ( KDE_3_1_0 - ) - DOM::HTMLCollection all () const; -%End - - void removeCSSProperty (const DOM::DOMString&); - void addCSSProperty (const DOM::DOMString&, const DOM::DOMString&); - -protected: - -%If ( KDE_3_0_1 - ) - void assignOther (const DOM::Node&, int); -%End - - -}; // class HTMLElement - -}; // namespace DOM - diff --git a/python/pykde/sip/khtml/html_form.sip b/python/pykde/sip/khtml/html_form.sip deleted file mode 100644 index 05683cba..00000000 --- a/python/pykde/sip/khtml/html_form.sip +++ /dev/null @@ -1,436 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module khtml version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - -namespace DOM -{ - -class HTMLButtonElement : DOM::HTMLElement -{ -%TypeHeaderCode -#include -%End - - -public: - HTMLButtonElement (); - HTMLButtonElement (const DOM::HTMLButtonElement&); - HTMLButtonElement (const DOM::Node&); - -protected: -//ig HTMLButtonElement (HTMLButtonElementImpl*); - -public: - DOM::HTMLFormElement form () const; - DOM::DOMString accessKey () const; - void setAccessKey (const DOM::DOMString&); - bool disabled () const; - void setDisabled (bool); - DOM::DOMString name () const; - void setName (const DOM::DOMString&); - long tabIndex () const; - void setTabIndex (long); - DOM::DOMString type () const; - DOM::DOMString value () const; - void setValue (const DOM::DOMString&); - -%If ( KDE_3_5_0 - ) - void blur (); - void focus (); -%End - - -}; // class HTMLButtonElement - - -class HTMLFieldSetElement : DOM::HTMLElement -{ -%TypeHeaderCode -#include -%End - - -public: - HTMLFieldSetElement (); - HTMLFieldSetElement (const DOM::HTMLFieldSetElement&); - HTMLFieldSetElement (const DOM::Node&); - -protected: -//ig HTMLFieldSetElement (HTMLFieldSetElementImpl*); - -public: - DOM::HTMLFormElement form () const; - -}; // class HTMLFieldSetElement - - -class HTMLFormElement : DOM::HTMLElement -{ -%TypeHeaderCode -#include -%End - - -public: - HTMLFormElement (); - HTMLFormElement (const DOM::HTMLFormElement&); - HTMLFormElement (const DOM::Node&); - -protected: -//ig HTMLFormElement (HTMLFormElementImpl*); - -public: - DOM::HTMLCollection elements () const; - long length () const; - DOM::DOMString name () const; - void setName (const DOM::DOMString&); - DOM::DOMString acceptCharset () const; - void setAcceptCharset (const DOM::DOMString&); - DOM::DOMString action () const; - void setAction (const DOM::DOMString&); - DOM::DOMString enctype () const; - void setEnctype (const DOM::DOMString&); - DOM::DOMString method () const; - void setMethod (const DOM::DOMString&); - DOM::DOMString target () const; - void setTarget (const DOM::DOMString&); - void submit (); - void reset (); - -}; // class HTMLFormElement - - -class HTMLInputElement : DOM::HTMLElement -{ -%TypeHeaderCode -#include -%End - - -public: - HTMLInputElement (); - HTMLInputElement (const DOM::HTMLInputElement&); - HTMLInputElement (const DOM::Node&); - -protected: -//ig HTMLInputElement (HTMLInputElementImpl*); - -public: - DOM::DOMString defaultValue () const; - void setDefaultValue (const DOM::DOMString&); - bool defaultChecked () const; - void setDefaultChecked (bool); - DOM::HTMLFormElement form () const; - DOM::DOMString accept () const; - void setAccept (const DOM::DOMString&); - DOM::DOMString accessKey () const; - void setAccessKey (const DOM::DOMString&); - DOM::DOMString align () const; - void setAlign (const DOM::DOMString&); - DOM::DOMString alt () const; - void setAlt (const DOM::DOMString&); - bool checked () const; - void setChecked (bool); - -%If ( KDE_3_5_3 - ) - bool indeterminate () const; - void setIndeterminate (bool); -%End - - bool disabled () const; - void setDisabled (bool); - long maxLength () const; - void setMaxLength (long); - DOM::DOMString name () const; - void setName (const DOM::DOMString&); - bool readOnly () const; - void setReadOnly (bool); - DOM::DOMString size () const; - void setSize (const DOM::DOMString&); - -%If ( KDE_3_1_0 - ) - long getSize () const; - void setSize (long); -%End - - DOM::DOMString src () const; - void setSrc (const DOM::DOMString&); - long tabIndex () const; - void setTabIndex (long); - DOM::DOMString type () const; - void setType (const DOM::DOMString&); - DOM::DOMString useMap () const; - void setUseMap (const DOM::DOMString&); - DOM::DOMString value () const; - void setValue (const DOM::DOMString&); - void blur (); - void focus (); - void select (); - void click (); - -%If ( KDE_3_5_2 - ) - long selectionStart (); - void setSelectionStart (long); - long selectionEnd (); - void setSelectionEnd (long); - void setSelectionRange (long, long); -%End - - -}; // class HTMLInputElement - - -class HTMLLabelElement : DOM::HTMLElement -{ -%TypeHeaderCode -#include -%End - - -public: - HTMLLabelElement (); - HTMLLabelElement (const DOM::HTMLLabelElement&); - HTMLLabelElement (const DOM::Node&); - -protected: -//ig HTMLLabelElement (HTMLLabelElementImpl*); - -public: - DOM::DOMString accessKey () const; - void setAccessKey (const DOM::DOMString&); - DOM::DOMString htmlFor () const; - void setHtmlFor (const DOM::DOMString&); - -public: - -%If ( - KDE_3_1_0 ) - DOM::HTMLFormElement form () const; -%End - - -}; // class HTMLLabelElement - - -class HTMLLegendElement : DOM::HTMLElement -{ -%TypeHeaderCode -#include -%End - - -public: - HTMLLegendElement (); - HTMLLegendElement (const DOM::HTMLLegendElement&); - HTMLLegendElement (const DOM::Node&); - -protected: -//ig HTMLLegendElement (HTMLLegendElementImpl*); - -public: - DOM::HTMLFormElement form () const; - DOM::DOMString accessKey () const; - void setAccessKey (const DOM::DOMString&); - DOM::DOMString align () const; - void setAlign (const DOM::DOMString&); - -}; // class HTMLLegendElement - - -class HTMLOptGroupElement : DOM::HTMLElement -{ -%TypeHeaderCode -#include -%End - - -public: - HTMLOptGroupElement (); - HTMLOptGroupElement (const DOM::HTMLOptGroupElement&); - HTMLOptGroupElement (const DOM::Node&); - -protected: -//ig HTMLOptGroupElement (HTMLOptGroupElementImpl*); - -public: - bool disabled () const; - void setDisabled (bool); - DOM::DOMString label () const; - void setLabel (const DOM::DOMString&); - -}; // class HTMLOptGroupElement - - -class HTMLSelectElement : DOM::HTMLElement -{ -%TypeHeaderCode -#include -%End - - -public: - HTMLSelectElement (); - HTMLSelectElement (const DOM::HTMLSelectElement&); - HTMLSelectElement (const DOM::Node&); - -protected: -//ig HTMLSelectElement (HTMLSelectElementImpl*); - -public: - DOM::DOMString type () const; - long selectedIndex () const; - void setSelectedIndex (long); - DOM::DOMString value () const; - void setValue (const DOM::DOMString&); - long length () const; - DOM::HTMLFormElement form () const; - DOM::HTMLCollection options () const; - bool disabled () const; - void setDisabled (bool); - bool multiple () const; - void setMultiple (bool); - DOM::DOMString name () const; - void setName (const DOM::DOMString&); - long size () const; - void setSize (long); - long tabIndex () const; - void setTabIndex (long); - void add (const DOM::HTMLElement&, const DOM::HTMLElement&); - void remove (long); - void blur (); - void focus (); - -}; // class HTMLSelectElement - - -class HTMLTextAreaElement : DOM::HTMLElement -{ -%TypeHeaderCode -#include -%End - - -public: - HTMLTextAreaElement (); - HTMLTextAreaElement (const DOM::HTMLTextAreaElement&); - HTMLTextAreaElement (const DOM::Node&); - -protected: -//ig HTMLTextAreaElement (HTMLTextAreaElementImpl*); - -public: - DOM::DOMString defaultValue () const; - void setDefaultValue (const DOM::DOMString&); - DOM::HTMLFormElement form () const; - DOM::DOMString accessKey () const; - void setAccessKey (const DOM::DOMString&); - long cols () const; - void setCols (long); - bool disabled () const; - void setDisabled (bool); - DOM::DOMString name () const; - void setName (const DOM::DOMString&); - bool readOnly () const; - void setReadOnly (bool); - long rows () const; - void setRows (long); - long tabIndex () const; - void setTabIndex (long); - DOM::DOMString type () const; - DOM::DOMString value () const; - void setValue (const DOM::DOMString&); - void blur (); - void focus (); - void select (); - -%If ( KDE_3_5_2 - ) - long selectionStart (); - void setSelectionStart (long); - long selectionEnd (); - void setSelectionEnd (long); - void setSelectionRange (long, long); - long textLength (); -%End - - -}; // class HTMLTextAreaElement - - -class HTMLOptionElement : DOM::HTMLElement -{ -%TypeHeaderCode -#include -%End - - -public: - HTMLOptionElement (); - HTMLOptionElement (const DOM::HTMLOptionElement&); - HTMLOptionElement (const DOM::Node&); - -protected: -//ig HTMLOptionElement (HTMLOptionElementImpl*); - -public: - DOM::HTMLFormElement form () const; - bool defaultSelected () const; - void setDefaultSelected (bool); - DOM::DOMString text () const; - long index () const; - void setIndex (long); - bool disabled () const; - void setDisabled (bool); - DOM::DOMString label () const; - void setLabel (const DOM::DOMString&); - bool selected () const; - void setSelected (bool); - DOM::DOMString value () const; - void setValue (const DOM::DOMString&); - -}; // class HTMLOptionElement - - -class HTMLIsIndexElement : DOM::HTMLElement -{ -%TypeHeaderCode -#include -%End - - -public: - HTMLIsIndexElement (); - HTMLIsIndexElement (const DOM::HTMLIsIndexElement&); - HTMLIsIndexElement (const DOM::Node&); - -protected: -//ig HTMLIsIndexElement (HTMLIsIndexElementImpl*); - -public: - DOM::HTMLFormElement form () const; - DOM::DOMString prompt () const; - void setPrompt (const DOM::DOMString&); - -}; // class HTMLIsIndexElement - -}; // namespace DOM - diff --git a/python/pykde/sip/khtml/html_head.sip b/python/pykde/sip/khtml/html_head.sip deleted file mode 100644 index 46badd3f..00000000 --- a/python/pykde/sip/khtml/html_head.sip +++ /dev/null @@ -1,203 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module khtml version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - -namespace DOM -{ - -class HTMLBaseElement : DOM::HTMLElement -{ -%TypeHeaderCode -#include -%End - - -public: - HTMLBaseElement (); - HTMLBaseElement (const DOM::HTMLBaseElement&); - HTMLBaseElement (const DOM::Node&); - -protected: -//ig HTMLBaseElement (HTMLBaseElementImpl*); - -public: - DOM::DOMString href () const; - void setHref (const DOM::DOMString&); - DOM::DOMString target () const; - void setTarget (const DOM::DOMString&); - -}; // class HTMLBaseElement - - -class HTMLLinkElement : DOM::HTMLElement -{ -%TypeHeaderCode -#include -%End - - -public: - HTMLLinkElement (); - HTMLLinkElement (const DOM::HTMLLinkElement&); - HTMLLinkElement (const DOM::Node&); - -protected: -//ig HTMLLinkElement (HTMLLinkElementImpl*); - -public: - bool disabled () const; - void setDisabled (bool); - DOM::DOMString charset () const; - void setCharset (const DOM::DOMString&); - DOM::DOMString href () const; - void setHref (const DOM::DOMString&); - DOM::DOMString hreflang () const; - void setHreflang (const DOM::DOMString&); - DOM::DOMString media () const; - void setMedia (const DOM::DOMString&); - DOM::DOMString rel () const; - void setRel (const DOM::DOMString&); - DOM::DOMString rev () const; - void setRev (const DOM::DOMString&); - DOM::DOMString target () const; - void setTarget (const DOM::DOMString&); - DOM::DOMString type () const; - void setType (const DOM::DOMString&); - DOM::StyleSheet sheet () const; - -}; // class HTMLLinkElement - - -class HTMLMetaElement : DOM::HTMLElement -{ -%TypeHeaderCode -#include -%End - - -public: - HTMLMetaElement (); - HTMLMetaElement (const DOM::HTMLMetaElement&); - HTMLMetaElement (const DOM::Node&); - -protected: -//ig HTMLMetaElement (HTMLMetaElementImpl*); - -public: - DOM::DOMString content () const; - void setContent (const DOM::DOMString&); - DOM::DOMString httpEquiv () const; - void setHttpEquiv (const DOM::DOMString&); - DOM::DOMString name () const; - void setName (const DOM::DOMString&); - DOM::DOMString scheme () const; - void setScheme (const DOM::DOMString&); - -}; // class HTMLMetaElement - - -class HTMLScriptElement : DOM::HTMLElement -{ -%TypeHeaderCode -#include -%End - - -public: - HTMLScriptElement (); - HTMLScriptElement (const DOM::HTMLScriptElement&); - HTMLScriptElement (const DOM::Node&); - -protected: -//ig HTMLScriptElement (HTMLScriptElementImpl*); - -public: - DOM::DOMString text () const; - void setText (const DOM::DOMString&); - DOM::DOMString htmlFor () const; - void setHtmlFor (const DOM::DOMString&); - DOM::DOMString event () const; - void setEvent (const DOM::DOMString&); - DOM::DOMString charset () const; - void setCharset (const DOM::DOMString&); - bool defer () const; - void setDefer (bool); - DOM::DOMString src () const; - void setSrc (const DOM::DOMString&); - DOM::DOMString type () const; - void setType (const DOM::DOMString&); - -}; // class HTMLScriptElement - - -class HTMLStyleElement : DOM::HTMLElement -{ -%TypeHeaderCode -#include -%End - - -public: - HTMLStyleElement (); - HTMLStyleElement (const DOM::HTMLStyleElement&); - HTMLStyleElement (const DOM::Node&); - -protected: -//ig HTMLStyleElement (HTMLStyleElementImpl*); - -public: - bool disabled () const; - void setDisabled (bool); - DOM::DOMString media () const; - void setMedia (const DOM::DOMString&); - DOM::DOMString type () const; - void setType (const DOM::DOMString&); - DOM::StyleSheet sheet () const; - -}; // class HTMLStyleElement - - -class HTMLTitleElement : DOM::HTMLElement -{ -%TypeHeaderCode -#include -%End - - -public: - HTMLTitleElement (); - HTMLTitleElement (const DOM::HTMLTitleElement&); - HTMLTitleElement (const DOM::Node&); - -protected: -//ig HTMLTitleElement (HTMLTitleElementImpl*); - -public: - DOM::DOMString text () const; - void setText (const DOM::DOMString&); - -}; // class HTMLTitleElement - -}; // namespace DOM - diff --git a/python/pykde/sip/khtml/html_image.sip b/python/pykde/sip/khtml/html_image.sip deleted file mode 100644 index 5db67b1a..00000000 --- a/python/pykde/sip/khtml/html_image.sip +++ /dev/null @@ -1,144 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module khtml version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - -namespace DOM -{ - -class HTMLAreaElement : DOM::HTMLElement -{ -%TypeHeaderCode -#include -%End - - -public: - HTMLAreaElement (); - HTMLAreaElement (const DOM::HTMLAreaElement&); - HTMLAreaElement (const DOM::Node&); - -protected: -//ig HTMLAreaElement (HTMLAreaElementImpl*); - -public: - DOM::DOMString accessKey () const; - void setAccessKey (const DOM::DOMString&); - DOM::DOMString alt () const; - void setAlt (const DOM::DOMString&); - DOM::DOMString coords () const; - void setCoords (const DOM::DOMString&); - DOM::DOMString href () const; - void setHref (const DOM::DOMString&); - bool noHref () const; - void setNoHref (bool); - DOM::DOMString shape () const; - void setShape (const DOM::DOMString&); - long tabIndex () const; - void setTabIndex (long); - DOM::DOMString target () const; - void setTarget (const DOM::DOMString&); - -}; // class HTMLAreaElement - - -class HTMLImageElement : DOM::HTMLElement -{ -%TypeHeaderCode -#include -%End - - -public: - HTMLImageElement (); - HTMLImageElement (const DOM::HTMLImageElement&); - HTMLImageElement (const DOM::Node&); - -protected: -//ig HTMLImageElement (HTMLImageElementImpl*); - -public: - DOM::DOMString name () const; - void setName (const DOM::DOMString&); - DOM::DOMString align () const; - void setAlign (const DOM::DOMString&); - DOM::DOMString alt () const; - void setAlt (const DOM::DOMString&); - -%If ( KDE_3_1_0 - ) - DOM::DOMString getBorder () const; - void setBorder (const DOM::DOMString&); -%End - - long border () const; - void setBorder (long); - long height () const; - void setHeight (long); - long hspace () const; - void setHspace (long); - bool isMap () const; - void setIsMap (bool); - DOM::DOMString longDesc () const; - void setLongDesc (const DOM::DOMString&); - DOM::DOMString src () const; - void setSrc (const DOM::DOMString&); - DOM::DOMString useMap () const; - void setUseMap (const DOM::DOMString&); - long vspace () const; - void setVspace (long); - long width () const; - void setWidth (long); - -%If ( KDE_3_2_0 - ) - long x () const; - long y () const; -%End - - -}; // class HTMLImageElement - - -class HTMLMapElement : DOM::HTMLElement -{ -%TypeHeaderCode -#include -%End - - -public: - HTMLMapElement (); - HTMLMapElement (const DOM::HTMLMapElement&); - HTMLMapElement (const DOM::Node&); - -protected: -//ig HTMLMapElement (HTMLMapElementImpl*); - -public: - DOM::HTMLCollection areas () const; - DOM::DOMString name () const; - void setName (const DOM::DOMString&); - -}; // class HTMLMapElement - -}; // namespace DOM - diff --git a/python/pykde/sip/khtml/html_inline.sip b/python/pykde/sip/khtml/html_inline.sip deleted file mode 100644 index bd3b1b09..00000000 --- a/python/pykde/sip/khtml/html_inline.sip +++ /dev/null @@ -1,169 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module khtml version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - -namespace DOM -{ - -class HTMLAnchorElement : DOM::HTMLElement -{ -%TypeHeaderCode -#include -%End - - -public: - HTMLAnchorElement (); - HTMLAnchorElement (const DOM::HTMLAnchorElement&); - HTMLAnchorElement (const DOM::Node&); - -protected: -//ig HTMLAnchorElement (HTMLAnchorElementImpl*); - -public: - DOM::DOMString accessKey () const; - void setAccessKey (const DOM::DOMString&); - DOM::DOMString charset () const; - void setCharset (const DOM::DOMString&); - DOM::DOMString coords () const; - void setCoords (const DOM::DOMString&); - DOM::DOMString href () const; - void setHref (const DOM::DOMString&); - DOM::DOMString hreflang () const; - void setHreflang (const DOM::DOMString&); - DOM::DOMString name () const; - void setName (const DOM::DOMString&); - DOM::DOMString rel () const; - void setRel (const DOM::DOMString&); - DOM::DOMString rev () const; - void setRev (const DOM::DOMString&); - DOM::DOMString shape () const; - void setShape (const DOM::DOMString&); - long tabIndex () const; - void setTabIndex (long); - DOM::DOMString target () const; - void setTarget (const DOM::DOMString&); - DOM::DOMString type () const; - void setType (const DOM::DOMString&); - void blur (); - void focus (); - -}; // class HTMLAnchorElement - - -class HTMLBRElement : DOM::HTMLElement -{ -%TypeHeaderCode -#include -%End - - -public: - HTMLBRElement (); - HTMLBRElement (const DOM::HTMLBRElement&); - HTMLBRElement (const DOM::Node&); - -protected: -//ig HTMLBRElement (HTMLBRElementImpl*); - -public: - DOM::DOMString clear () const; - void setClear (const DOM::DOMString&); - -}; // class HTMLBRElement - - -class HTMLFontElement : DOM::HTMLElement -{ -%TypeHeaderCode -#include -%End - - -public: - HTMLFontElement (); - HTMLFontElement (const DOM::HTMLFontElement&); - HTMLFontElement (const DOM::Node&); - -protected: -//ig HTMLFontElement (HTMLFontElementImpl*); - -public: - DOM::DOMString color () const; - void setColor (const DOM::DOMString&); - DOM::DOMString face () const; - void setFace (const DOM::DOMString&); - DOM::DOMString size () const; - void setSize (const DOM::DOMString&); - -}; // class HTMLFontElement - - -class HTMLModElement : DOM::HTMLElement -{ -%TypeHeaderCode -#include -%End - - -public: - HTMLModElement (); - HTMLModElement (const DOM::HTMLModElement&); - HTMLModElement (const DOM::Node&); - -protected: -//ig HTMLModElement (HTMLElementImpl*); - -public: - DOM::DOMString cite () const; - void setCite (const DOM::DOMString&); - DOM::DOMString dateTime () const; - void setDateTime (const DOM::DOMString&); - -}; // class HTMLModElement - - -class HTMLQuoteElement : DOM::HTMLElement -{ -%TypeHeaderCode -#include -%End - - -public: - HTMLQuoteElement (); - HTMLQuoteElement (const DOM::HTMLQuoteElement&); - HTMLQuoteElement (const DOM::Node&); - -protected: -//ig HTMLQuoteElement (HTMLGenericElementImpl*); - -public: - DOM::DOMString cite () const; - void setCite (const DOM::DOMString&); - -}; // class HTMLQuoteElement - -}; // namespace DOM - diff --git a/python/pykde/sip/khtml/html_list.sip b/python/pykde/sip/khtml/html_list.sip deleted file mode 100644 index fa6cd0e5..00000000 --- a/python/pykde/sip/khtml/html_list.sip +++ /dev/null @@ -1,169 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module khtml version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - -namespace DOM -{ - -class HTMLDListElement : DOM::HTMLElement -{ -%TypeHeaderCode -#include -%End - - -public: - HTMLDListElement (); - HTMLDListElement (const DOM::HTMLDListElement&); - HTMLDListElement (const DOM::Node&); - -protected: -//ig HTMLDListElement (HTMLDListElementImpl*); - -public: - bool compact () const; - void setCompact (bool); - -}; // class HTMLDListElement - - -class HTMLDirectoryElement : DOM::HTMLElement -{ -%TypeHeaderCode -#include -%End - - -public: - HTMLDirectoryElement (); - HTMLDirectoryElement (const DOM::HTMLDirectoryElement&); - HTMLDirectoryElement (const DOM::Node&); - -protected: -//ig HTMLDirectoryElement (HTMLDirectoryElementImpl*); - -public: - bool compact () const; - void setCompact (bool); - -}; // class HTMLDirectoryElement - - -class HTMLLIElement : DOM::HTMLElement -{ -%TypeHeaderCode -#include -%End - - -public: - HTMLLIElement (); - HTMLLIElement (const DOM::HTMLLIElement&); - HTMLLIElement (const DOM::Node&); - -protected: -//ig HTMLLIElement (HTMLLIElementImpl*); - -public: - DOM::DOMString type () const; - void setType (const DOM::DOMString&); - long value () const; - void setValue (long); - -}; // class HTMLLIElement - - -class HTMLMenuElement : DOM::HTMLElement -{ -%TypeHeaderCode -#include -%End - - -public: - HTMLMenuElement (); - HTMLMenuElement (const DOM::HTMLMenuElement&); - HTMLMenuElement (const DOM::Node&); - -protected: -//ig HTMLMenuElement (HTMLMenuElementImpl*); - -public: - bool compact () const; - void setCompact (bool); - -}; // class HTMLMenuElement - - -class HTMLOListElement : DOM::HTMLElement -{ -%TypeHeaderCode -#include -%End - - -public: - HTMLOListElement (); - HTMLOListElement (const DOM::HTMLOListElement&); - HTMLOListElement (const DOM::Node&); - -protected: -//ig HTMLOListElement (HTMLOListElementImpl*); - -public: - bool compact () const; - void setCompact (bool); - long start () const; - void setStart (long); - DOM::DOMString type () const; - void setType (const DOM::DOMString&); - -}; // class HTMLOListElement - - -class HTMLUListElement : DOM::HTMLElement -{ -%TypeHeaderCode -#include -%End - - -public: - HTMLUListElement (); - HTMLUListElement (const DOM::HTMLUListElement&); - HTMLUListElement (const DOM::Node&); - -protected: -//ig HTMLUListElement (HTMLUListElementImpl*); - -public: - bool compact () const; - void setCompact (bool); - DOM::DOMString type () const; - void setType (const DOM::DOMString&); - -}; // class HTMLUListElement - -}; // namespace DOM - diff --git a/python/pykde/sip/khtml/html_misc.sip b/python/pykde/sip/khtml/html_misc.sip deleted file mode 100644 index 291a4916..00000000 --- a/python/pykde/sip/khtml/html_misc.sip +++ /dev/null @@ -1,97 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module khtml version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - -namespace DOM -{ - -class HTMLBaseFontElement : DOM::HTMLElement -{ -%TypeHeaderCode -#include -%End - - -public: - HTMLBaseFontElement (); - HTMLBaseFontElement (const DOM::HTMLBaseFontElement&); - HTMLBaseFontElement (const DOM::Node&); - -protected: -//ig HTMLBaseFontElement (HTMLBaseFontElementImpl*); - -public: - DOM::DOMString color () const; - void setColor (const DOM::DOMString&); - DOM::DOMString face () const; - void setFace (const DOM::DOMString&); - -%If ( KDE_3_1_0 - ) - long getSize () const; - void setSize (long); -%End - - DOM::DOMString size () const; - void setSize (const DOM::DOMString&); - -}; // class HTMLBaseFontElement - - -class HTMLCollection -{ -%TypeHeaderCode -#include -%End - - -public: - HTMLCollection (); - HTMLCollection (const DOM::HTMLCollection&); - -protected: -//ig HTMLCollection (NodeImpl*, int); - -public: - ulong length () const; - DOM::Node item (ulong) const; - DOM::Node namedItem (const DOM::DOMString&) const; - DOM::Node base () const; -//ig HTMLCollectionImpl* handle () const; - bool isNull () const; - DOM::Node firstItem () const; - DOM::Node nextItem () const; - DOM::Node nextNamedItem (const DOM::DOMString&) const; - -protected: - -}; // class HTMLCollection - - -//ig class HTMLFormCollection : DOM::HTMLCollection; - - -//ig class HTMLMappedNameCollection : DOM::HTMLCollection; - -}; // namespace DOM - diff --git a/python/pykde/sip/khtml/html_object.sip b/python/pykde/sip/khtml/html_object.sip deleted file mode 100644 index 94b027da..00000000 --- a/python/pykde/sip/khtml/html_object.sip +++ /dev/null @@ -1,179 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module khtml version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - -namespace DOM -{ - -class HTMLAppletElement : DOM::HTMLElement -{ -%TypeHeaderCode -#include -%End - - -public: - HTMLAppletElement (); - HTMLAppletElement (const DOM::HTMLAppletElement&); - HTMLAppletElement (const DOM::Node&); - -protected: -//ig HTMLAppletElement (HTMLAppletElementImpl*); - -public: - DOM::DOMString align () const; - void setAlign (const DOM::DOMString&); - DOM::DOMString alt () const; - void setAlt (const DOM::DOMString&); - DOM::DOMString archive () const; - void setArchive (const DOM::DOMString&); - DOM::DOMString code () const; - void setCode (const DOM::DOMString&); - DOM::DOMString codeBase () const; - void setCodeBase (const DOM::DOMString&); - DOM::DOMString height () const; - void setHeight (const DOM::DOMString&); - -%If ( KDE_3_1_0 - ) - long getHspace () const; - void setHspace (long); -%End - - DOM::DOMString hspace () const; - void setHspace (const DOM::DOMString&); - DOM::DOMString name () const; - void setName (const DOM::DOMString&); - DOM::DOMString object () const; - void setObject (const DOM::DOMString&); - -%If ( KDE_3_1_0 - ) - long getVspace () const; - void setVspace (long); -%End - - DOM::DOMString vspace () const; - void setVspace (const DOM::DOMString&); - DOM::DOMString width () const; - void setWidth (const DOM::DOMString&); - -}; // class HTMLAppletElement - - -class HTMLObjectElement : DOM::HTMLElement -{ -%TypeHeaderCode -#include -%End - - -public: - HTMLObjectElement (); - HTMLObjectElement (const DOM::HTMLObjectElement&); - HTMLObjectElement (const DOM::Node&); - -protected: -//ig HTMLObjectElement (HTMLObjectElementImpl*); - -public: - DOM::HTMLFormElement form () const; - DOM::DOMString code () const; - void setCode (const DOM::DOMString&); - DOM::DOMString align () const; - void setAlign (const DOM::DOMString&); - DOM::DOMString archive () const; - void setArchive (const DOM::DOMString&); - DOM::DOMString border () const; - void setBorder (const DOM::DOMString&); - DOM::DOMString codeBase () const; - void setCodeBase (const DOM::DOMString&); - DOM::DOMString codeType () const; - void setCodeType (const DOM::DOMString&); - DOM::DOMString data () const; - void setData (const DOM::DOMString&); - bool declare () const; - void setDeclare (bool); - DOM::DOMString height () const; - void setHeight (const DOM::DOMString&); - -%If ( KDE_3_1_0 - ) - long getHspace () const; - void setHspace (long); -%End - - DOM::DOMString hspace () const; - void setHspace (const DOM::DOMString&); - DOM::DOMString name () const; - void setName (const DOM::DOMString&); - DOM::DOMString standby () const; - void setStandby (const DOM::DOMString&); - long tabIndex () const; - void setTabIndex (long); - DOM::DOMString type () const; - void setType (const DOM::DOMString&); - DOM::DOMString useMap () const; - void setUseMap (const DOM::DOMString&); - -%If ( KDE_3_1_0 - ) - long getVspace () const; - void setVspace (long); -%End - - DOM::DOMString vspace () const; - void setVspace (const DOM::DOMString&); - DOM::DOMString width () const; - void setWidth (const DOM::DOMString&); - DOM::Document contentDocument () const; - -}; // class HTMLObjectElement - - -class HTMLParamElement : DOM::HTMLElement -{ -%TypeHeaderCode -#include -%End - - -public: - HTMLParamElement (); - HTMLParamElement (const DOM::HTMLParamElement&); - HTMLParamElement (const DOM::Node&); - -protected: -//ig HTMLParamElement (HTMLParamElementImpl*); - -public: - DOM::DOMString name () const; - void setName (const DOM::DOMString&); - DOM::DOMString type () const; - void setType (const DOM::DOMString&); - DOM::DOMString value () const; - void setValue (const DOM::DOMString&); - DOM::DOMString valueType () const; - void setValueType (const DOM::DOMString&); - -}; // class HTMLParamElement - -}; // namespace DOM - diff --git a/python/pykde/sip/khtml/html_table.sip b/python/pykde/sip/khtml/html_table.sip deleted file mode 100644 index 3ae6ed49..00000000 --- a/python/pykde/sip/khtml/html_table.sip +++ /dev/null @@ -1,256 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module khtml version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - -namespace DOM -{ - -class HTMLTableCaptionElement : DOM::HTMLElement -{ -%TypeHeaderCode -#include -%End - - -public: - HTMLTableCaptionElement (); - HTMLTableCaptionElement (const DOM::HTMLTableCaptionElement&); - HTMLTableCaptionElement (const DOM::Node&); - -protected: -//ig HTMLTableCaptionElement (HTMLTableCaptionElementImpl*); - -public: - DOM::DOMString align () const; - void setAlign (const DOM::DOMString&); - -}; // class HTMLTableCaptionElement - - -class HTMLTableCellElement : DOM::HTMLElement -{ -%TypeHeaderCode -#include -%End - - -public: - HTMLTableCellElement (); - HTMLTableCellElement (const DOM::HTMLTableCellElement&); - HTMLTableCellElement (const DOM::Node&); - -protected: -//ig HTMLTableCellElement (HTMLTableCellElementImpl*); - -public: - long cellIndex () const; - void setCellIndex (long); - DOM::DOMString abbr () const; - void setAbbr (const DOM::DOMString&); - DOM::DOMString align () const; - void setAlign (const DOM::DOMString&); - DOM::DOMString axis () const; - void setAxis (const DOM::DOMString&); - DOM::DOMString bgColor () const; - void setBgColor (const DOM::DOMString&); - DOM::DOMString ch () const; - void setCh (const DOM::DOMString&); - DOM::DOMString chOff () const; - void setChOff (const DOM::DOMString&); - long colSpan () const; - void setColSpan (long); - DOM::DOMString headers () const; - void setHeaders (const DOM::DOMString&); - DOM::DOMString height () const; - void setHeight (const DOM::DOMString&); - bool noWrap () const; - void setNoWrap (bool); - long rowSpan () const; - void setRowSpan (long); - DOM::DOMString scope () const; - void setScope (const DOM::DOMString&); - DOM::DOMString vAlign () const; - void setVAlign (const DOM::DOMString&); - DOM::DOMString width () const; - void setWidth (const DOM::DOMString&); - -}; // class HTMLTableCellElement - - -class HTMLTableColElement : DOM::HTMLElement -{ -%TypeHeaderCode -#include -%End - - -public: - HTMLTableColElement (); - HTMLTableColElement (const DOM::HTMLTableColElement&); - HTMLTableColElement (const DOM::Node&); - -protected: -//ig HTMLTableColElement (HTMLTableColElementImpl*); - -public: - DOM::DOMString align () const; - void setAlign (const DOM::DOMString&); - DOM::DOMString ch () const; - void setCh (const DOM::DOMString&); - DOM::DOMString chOff () const; - void setChOff (const DOM::DOMString&); - long span () const; - void setSpan (long); - DOM::DOMString vAlign () const; - void setVAlign (const DOM::DOMString&); - DOM::DOMString width () const; - void setWidth (const DOM::DOMString&); - -}; // class HTMLTableColElement - - -class HTMLTableElement : DOM::HTMLElement -{ -%TypeHeaderCode -#include -%End - - -public: - HTMLTableElement (); - HTMLTableElement (const DOM::HTMLTableElement&); - HTMLTableElement (const DOM::Node&); - -protected: -//ig HTMLTableElement (HTMLTableElementImpl*); - -public: - DOM::HTMLTableCaptionElement caption () const; - void setCaption (const DOM::HTMLTableCaptionElement&); - DOM::HTMLTableSectionElement tHead () const; - void setTHead (const DOM::HTMLTableSectionElement&); - DOM::HTMLTableSectionElement tFoot () const; - void setTFoot (const DOM::HTMLTableSectionElement&); - DOM::HTMLCollection rows () const; - DOM::HTMLCollection tBodies () const; - DOM::DOMString align () const; - void setAlign (const DOM::DOMString&); - DOM::DOMString bgColor () const; - void setBgColor (const DOM::DOMString&); - DOM::DOMString border () const; - void setBorder (const DOM::DOMString&); - DOM::DOMString cellPadding () const; - void setCellPadding (const DOM::DOMString&); - DOM::DOMString cellSpacing () const; - void setCellSpacing (const DOM::DOMString&); - DOM::DOMString frame () const; - void setFrame (const DOM::DOMString&); - DOM::DOMString rules () const; - void setRules (const DOM::DOMString&); - DOM::DOMString summary () const; - void setSummary (const DOM::DOMString&); - DOM::DOMString width () const; - void setWidth (const DOM::DOMString&); - DOM::HTMLElement createTHead (); - void deleteTHead (); - DOM::HTMLElement createTFoot (); - void deleteTFoot (); - DOM::HTMLElement createCaption (); - void deleteCaption (); - DOM::HTMLElement insertRow (long); - void deleteRow (long); - -}; // class HTMLTableElement - - -class HTMLTableRowElement : DOM::HTMLElement -{ -%TypeHeaderCode -#include -%End - - -public: - HTMLTableRowElement (); - HTMLTableRowElement (const DOM::HTMLTableRowElement&); - HTMLTableRowElement (const DOM::Node&); - -protected: -//ig HTMLTableRowElement (HTMLTableRowElementImpl*); - -public: - long rowIndex () const; - void setRowIndex (long); - long sectionRowIndex () const; - void setSectionRowIndex (long); - DOM::HTMLCollection cells () const; - void setCells (const DOM::HTMLCollection&); - DOM::DOMString align () const; - void setAlign (const DOM::DOMString&); - DOM::DOMString bgColor () const; - void setBgColor (const DOM::DOMString&); - DOM::DOMString ch () const; - void setCh (const DOM::DOMString&); - DOM::DOMString chOff () const; - void setChOff (const DOM::DOMString&); - DOM::DOMString vAlign () const; - void setVAlign (const DOM::DOMString&); - DOM::HTMLElement insertCell (long); - void deleteCell (long); - -}; // class HTMLTableRowElement - - -class HTMLTableSectionElement : DOM::HTMLElement -{ -%TypeHeaderCode -#include -%End - - -public: - HTMLTableSectionElement (); - HTMLTableSectionElement (const DOM::HTMLTableSectionElement&); - HTMLTableSectionElement (const DOM::Node&); - -protected: -//ig HTMLTableSectionElement (HTMLTableSectionElementImpl*); - -public: - DOM::DOMString align () const; - void setAlign (const DOM::DOMString&); - DOM::DOMString ch () const; - void setCh (const DOM::DOMString&); - DOM::DOMString chOff () const; - void setChOff (const DOM::DOMString&); - DOM::DOMString vAlign () const; - void setVAlign (const DOM::DOMString&); - DOM::HTMLCollection rows () const; - DOM::HTMLElement insertRow (long); - void deleteRow (long); - -}; // class HTMLTableSectionElement - -}; // namespace DOM - diff --git a/python/pykde/sip/khtml/khtml_part.sip b/python/pykde/sip/khtml/khtml_part.sip deleted file mode 100644 index be242169..00000000 --- a/python/pykde/sip/khtml/khtml_part.sip +++ /dev/null @@ -1,282 +0,0 @@ -// -// Copyright 2004 Jim Bublitz -// Earlier copyrights 1998 - 2003 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module khtml version KDE_3_3_0 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KHTMLPart : KParts::ReadOnlyPart -{ -%TypeHeaderCode -#include -%End - - -public: - - enum GUIProfile - { - DefaultGUI, - BrowserViewGUI - }; - - KHTMLPart (QWidget* = 0, const char* = 0, QObject* /TransferThis/ = 0, const char* = 0, KHTMLPart::GUIProfile = DefaultGUI ); - KHTMLPart (KHTMLView*, QObject* /TransferThis/ = 0, const char* = 0, KHTMLPart::GUIProfile = DefaultGUI ); - virtual bool openURL (const KURL&); - virtual bool closeURL (); - virtual void showError (KIO::Job*); - DOM::HTMLDocument htmlDocument () const; - DOM::Document document () const; - DOM::Node activeNode () const; - KParts::BrowserExtension* browserExtension () const; - -%If ( KDE_3_1_0 - ) -//ig KParts::LiveConnectExtension* liveConnectExtension (const khtml::RenderPart*) const; -%End - - KHTMLView* view () const; - void setJScriptEnabled (bool); - bool jScriptEnabled () const; - -%If ( KDE_3_2_0 - ) -//ig KJS::Interpreter* jScriptInterpreter (); - void setStatusMessagesEnabled (bool); - bool statusMessagesEnabled () const; -%End - - void setMetaRefreshEnabled (bool); - bool metaRefreshEnabled () const; - QVariant executeScript (const DOM::Node&, const QString&); - void setDNDEnabled (bool); - bool dndEnabled () const; - void setJavaEnabled (bool); - bool javaEnabled () const; -//ig KJavaAppletContext* javaContext (); -//ig KJavaAppletContext* createJavaContext (); - void setPluginsEnabled (bool); - bool pluginsEnabled () const; - void setAutoloadImages (bool); - bool autoloadImages () const; - void setOnlyLocalReferences (bool); - bool onlyLocalReferences () const; - -%If ( KDE_3_2_0 - ) - bool isCaretMode () const; - bool isEditable () const; - void setCaretPosition (DOM::Node, long, bool = 0); - - enum CaretDisplayPolicy - { - CaretVisible, - CaretInvisible, - CaretBlink - }; - - KHTMLPart::CaretDisplayPolicy caretDisplayPolicyNonFocused () const; - void setCaretDisplayPolicyNonFocused (KHTMLPart::CaretDisplayPolicy); -%End - - void enableJScript (bool); - void enableJava (bool); - void enablePlugins (bool); - void autoloadImages (bool); - void enableMetaRefresh (bool); - bool setCharset (const QString&, bool = 0); - KURL baseURL () const; - QString baseTarget () const; - KURL backgroundURL () const; - void scheduleRedirection (int, const QString&, bool = 1); - virtual void begin (const KURL& = KURL (), int = 0, int = 0); - virtual void write (const char*, int = -1); - virtual void write (const QString&); - virtual void end (); - void paint (QPainter*, const QRect&, int = 0, bool* = 0); - bool setEncoding (const QString&, bool = 0); - QString encoding (); - void setUserStyleSheet (const KURL&); - void setUserStyleSheet (const QString&); - -public: - void setStandardFont (const QString&); - void setFixedFont (const QString&); - bool gotoAnchor (const QString&); - -%If ( KDE_3_2_0 - ) - bool nextAnchor (); - bool prevAnchor (); -%End - - void setURLCursor (const QCursor&); - QCursor urlCursor () const; - -%If ( KDE_3_3_0 - ) - - enum FindOptions - { - FindLinksOnly, - FindNoPopups - }; - - void findText (); - void findText (const QString&, long, QWidget* /Transfer/ = 0, KFindDialog* = 0); -%End - - void findTextBegin (); - bool findTextNext (const QString&, bool, bool, bool); - -%If ( KDE_3_3_0 - ) - bool findTextNext (); -%End - - void setZoomFactor (int); - int zoomFactor () const; - virtual QString selectedText () const; - DOM::Range selection () const; - -%If ( KDE_3_2_0 - ) - void selection (DOM::Node&, long&, DOM::Node&, long&) const; -%End - - void setSelection (const DOM::Range&); - bool hasSelection () const; - void selectAll (); - void show (); - void hide (); - KParts::PartManager* partManager (); - virtual void saveState (QDataStream&); - virtual void restoreState (QDataStream&); - DOM::Node nodeUnderMouse () const; - const KHTMLSettings* settings () const; - KHTMLPart* parentPart (); - QStringList frameNames () const; - QPtrList frames () const; - KHTMLPart* findFrame (const QString&); - KParts::ReadOnlyPart* currentFrame () const; - bool frameExists (const QString&); - void setJSStatusBarText (const QString&); - void setJSDefaultStatusBarText (const QString&); - QString jsStatusBarText () const; - QString jsDefaultStatusBarText () const; - QString referrer () const; - -%If ( KDE_3_1_3 - ) - QString pageReferrer () const; -%End - - QString lastModified () const; - void preloadStyleSheet (const QString&, const QString&); - void preloadScript (const QString&, const QString&); - bool restored () const; - -%If ( KDE_3_2_0 - ) - - enum FormNotification - { - NoNotification = 0, - Before, - Only, - Unused = 255 - }; - - void setFormNotification (KHTMLPart::FormNotification); - KHTMLPart::FormNotification formNotification () const; - KURL toplevelURL (); - -%If ( KDE_3_3_0 - ) - bool isModified () const; -%End - -%End - - -signals: - void onURL (const QString&); - void popupMenu (const QString&, const QPoint&); - void selectionChanged (); - void nodeActivated (const DOM::Node&); - -%If ( KDE_3_1_0 - ) - void docCreated (); - -%If ( KDE_3_2_0 - ) - void caretPositionChanged (const DOM::Node&, long); - void formSubmitNotification (const char*, const QString&, const QByteArray&, const QString&, const QString&, const QString&); -%End - -%End - - -protected: - KURL completeURL (const QString&); - void htmlError (int, const QString&, const KURL&); - virtual void customEvent (QCustomEvent*); -//ig virtual void khtmlMousePressEvent (khtml::MousePressEvent*); -//ig virtual void khtmlMouseDoubleClickEvent (khtml::MouseDoubleClickEvent*); -//ig virtual void khtmlMouseMoveEvent (khtml::MouseMoveEvent*); -//ig virtual void khtmlMouseReleaseEvent (khtml::MouseReleaseEvent*); -//ig virtual void khtmlDrawContentsEvent (khtml::DrawContentsEvent*); - virtual void guiActivateEvent (KParts::GUIActivateEvent*); - virtual bool openFile (); - virtual void urlSelected (const QString&, int, int, const QString&, KParts::URLArgs = KParts ::URLArgs ()); - virtual KParts::ReadOnlyPart* createPart (QWidget*, const char*, QObject* /Transfer/, const char*, const QString&, QString&, QStringList&, const QStringList&); - -%If ( KDE_3_1_0 - ) - bool pluginPageQuestionAsked (const QString&) const; - void setPluginPageQuestionAsked (const QString&); - -%If ( KDE_3_2_0 - ) -//ig void setPageSecurity (KHTMLPart::PageSecurity); - virtual bool doOpenStream (const QString&); - virtual bool doWriteStream (const QByteArray&); - virtual bool doCloseStream (); -%End - -%End - - -public slots: - void setActiveNode (const DOM::Node&); - void stopAnimations (); - QCString dcopObjectId () const; - -%If ( KDE_3_2_0 - ) - QVariant executeScript (const QString&); - void setCaretMode (bool); - void setEditable (bool); - void setCaretVisible (bool); - void submitFormProxy (const char*, const QString&, const QByteArray&, const QString&, const QString& = QString ::null , const QString& = QString ::null ); -%End - -public: - -%If ( - KDE_3_2_0 ) - QVariant executeScript (const QString&); -%End - -//force - -private: - void setStatusBarText (const QString&, int); -//end - -}; // class KHTMLPart - diff --git a/python/pykde/sip/khtml/khtml_part.sip.323 b/python/pykde/sip/khtml/khtml_part.sip.323 deleted file mode 100644 index 1173eefd..00000000 --- a/python/pykde/sip/khtml/khtml_part.sip.323 +++ /dev/null @@ -1,272 +0,0 @@ -// -// Copyright 2004 Jim Bublitz -// Earlier copyrights 1998 - 2003 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module khtml version KDE_3_3_0 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KHTMLPart : KParts::ReadOnlyPart -{ -%TypeHeaderCode -#include -%End - - -public: - - enum GUIProfile - { - DefaultGUI, - BrowserViewGUI - }; - - KHTMLPart (QWidget* = 0, const char* = 0, QObject* /TransferThis/ = 0, const char* = 0, KHTMLPart::GUIProfile = DefaultGUI ); - KHTMLPart (KHTMLView*, QObject* /TransferThis/ = 0, const char* = 0, KHTMLPart::GUIProfile = DefaultGUI ); - virtual bool openURL (const KURL&); - virtual bool closeURL (); - virtual void showError (KIO::Job*); - DOM::HTMLDocument htmlDocument () const; - DOM::Document document () const; - DOM::Node activeNode () const; - KParts::BrowserExtension* browserExtension () const; - -%If ( KDE_3_1_0 - ) -//ig KParts::LiveConnectExtension* liveConnectExtension (const khtml::RenderPart*) const; -%End - - KHTMLView* view () const; - void setJScriptEnabled (bool); - bool jScriptEnabled () const; - -%If ( KDE_3_2_0 - ) -//ig KJS::Interpreter* jScriptInterpreter (); - void setStatusMessagesEnabled (bool); - bool statusMessagesEnabled () const; -%End - - void setMetaRefreshEnabled (bool); - bool metaRefreshEnabled () const; - QVariant executeScript (const DOM::Node&, const QString&); - void setDNDEnabled (bool); - bool dndEnabled () const; - void setJavaEnabled (bool); - bool javaEnabled () const; -//ig KJavaAppletContext* javaContext (); -//ig KJavaAppletContext* createJavaContext (); - void setPluginsEnabled (bool); - bool pluginsEnabled () const; - void setAutoloadImages (bool); - bool autoloadImages () const; - void setOnlyLocalReferences (bool); - bool onlyLocalReferences () const; - -%If ( KDE_3_2_0 - ) - bool isCaretMode () const; - bool isEditable () const; - void setCaretPosition (DOM::Node, long, bool = 0); - - enum CaretDisplayPolicy - { - CaretVisible, - CaretInvisible, - CaretBlink - }; - - KHTMLPart::CaretDisplayPolicy caretDisplayPolicyNonFocused () const; - void setCaretDisplayPolicyNonFocused (KHTMLPart::CaretDisplayPolicy); -%End - - void enableJScript (bool); - void enableJava (bool); - void enablePlugins (bool); - void autoloadImages (bool); - void enableMetaRefresh (bool); - bool setCharset (const QString&, bool = 0); - KURL baseURL () const; - QString baseTarget () const; - KURL backgroundURL () const; - void scheduleRedirection (int, const QString&, bool = 1); - virtual void begin (const KURL& = KURL (), int = 0, int = 0); - virtual void write (const char*, int = -1); - virtual void write (const QString&); - virtual void end (); - void paint (QPainter*, const QRect&, int = 0, bool* = 0); - bool setEncoding (const QString&, bool = 0); - QString encoding (); - void setUserStyleSheet (const KURL&); - void setUserStyleSheet (const QString&); - -public: - void setStandardFont (const QString&); - void setFixedFont (const QString&); - bool gotoAnchor (const QString&); - -%If ( KDE_3_2_0 - ) - bool nextAnchor (); - bool prevAnchor (); -%End - - void setURLCursor (const QCursor&); - QCursor urlCursor () const; - - - void findTextBegin (); - bool findTextNext (const QString&, bool, bool, bool); - -%If ( KDE_3_3_0 - ) - void findText (); - bool findTextNext (); -%End - - void setZoomFactor (int); - int zoomFactor () const; - virtual QString selectedText () const; - DOM::Range selection () const; - -%If ( KDE_3_2_0 - ) - void selection (DOM::Node&, long&, DOM::Node&, long&) const; -%End - - void setSelection (const DOM::Range&); - bool hasSelection () const; - void selectAll (); - void show (); - void hide (); - KParts::PartManager* partManager (); - virtual void saveState (QDataStream&); - virtual void restoreState (QDataStream&); - DOM::Node nodeUnderMouse () const; - const KHTMLSettings* settings () const; - KHTMLPart* parentPart (); - QStringList frameNames () const; - QPtrList frames () const; - KHTMLPart* findFrame (const QString&); - KParts::ReadOnlyPart* currentFrame () const; - bool frameExists (const QString&); - void setJSStatusBarText (const QString&); - void setJSDefaultStatusBarText (const QString&); - QString jsStatusBarText () const; - QString jsDefaultStatusBarText () const; - QString referrer () const; - -%If ( KDE_3_1_3 - ) - QString pageReferrer () const; -%End - - QString lastModified () const; - void preloadStyleSheet (const QString&, const QString&); - void preloadScript (const QString&, const QString&); - bool restored () const; - -%If ( KDE_3_2_0 - ) - - enum FormNotification - { - NoNotification = 0, - Before, - Only, - Unused = 255 - }; - - void setFormNotification (KHTMLPart::FormNotification); - KHTMLPart::FormNotification formNotification () const; - KURL toplevelURL (); - -%If ( KDE_3_3_0 - ) - bool isModified () const; -%End - -%End - - -signals: - void onURL (const QString&); - void popupMenu (const QString&, const QPoint&); - void selectionChanged (); - void nodeActivated (const DOM::Node&); - -%If ( KDE_3_1_0 - ) - void docCreated (); - -%If ( KDE_3_2_0 - ) - void caretPositionChanged (const DOM::Node&, long); - void formSubmitNotification (const char*, const QString&, const QByteArray&, const QString&, const QString&, const QString&); -%End - -%End - - -protected: - KURL completeURL (const QString&); - void htmlError (int, const QString&, const KURL&); - virtual void customEvent (QCustomEvent*); -//ig virtual void khtmlMousePressEvent (khtml::MousePressEvent*); -//ig virtual void khtmlMouseDoubleClickEvent (khtml::MouseDoubleClickEvent*); -//ig virtual void khtmlMouseMoveEvent (khtml::MouseMoveEvent*); -//ig virtual void khtmlMouseReleaseEvent (khtml::MouseReleaseEvent*); -//ig virtual void khtmlDrawContentsEvent (khtml::DrawContentsEvent*); - virtual void guiActivateEvent (KParts::GUIActivateEvent*); - virtual bool openFile (); - virtual void urlSelected (const QString&, int, int, const QString&, KParts::URLArgs = KParts ::URLArgs ()); - virtual KParts::ReadOnlyPart* createPart (QWidget*, const char*, QObject* /Transfer/, const char*, const QString&, QString&, QStringList&, const QStringList&); - -%If ( KDE_3_1_0 - ) - bool pluginPageQuestionAsked (const QString&) const; - void setPluginPageQuestionAsked (const QString&); - -%If ( KDE_3_2_0 - ) -//ig void setPageSecurity (KHTMLPart::PageSecurity); - virtual bool doOpenStream (const QString&); - virtual bool doWriteStream (const QByteArray&); - virtual bool doCloseStream (); -%End - -%End - - -public slots: - void setActiveNode (const DOM::Node&); - void stopAnimations (); - QCString dcopObjectId () const; - -%If ( KDE_3_2_0 - ) - QVariant executeScript (const QString&); - void setCaretMode (bool); - void setEditable (bool); - void setCaretVisible (bool); - void submitFormProxy (const char*, const QString&, const QByteArray&, const QString&, const QString& = QString ::null , const QString& = QString ::null ); -%End - -public: - -%If ( - KDE_3_2_0 ) - QVariant executeScript (const QString&); -%End - -//force - -private: - void setStatusBarText (const QString&, int); -//end - -}; // class KHTMLPart - diff --git a/python/pykde/sip/khtml/khtml_part.sip.330 b/python/pykde/sip/khtml/khtml_part.sip.330 deleted file mode 100644 index be242169..00000000 --- a/python/pykde/sip/khtml/khtml_part.sip.330 +++ /dev/null @@ -1,282 +0,0 @@ -// -// Copyright 2004 Jim Bublitz -// Earlier copyrights 1998 - 2003 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module khtml version KDE_3_3_0 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KHTMLPart : KParts::ReadOnlyPart -{ -%TypeHeaderCode -#include -%End - - -public: - - enum GUIProfile - { - DefaultGUI, - BrowserViewGUI - }; - - KHTMLPart (QWidget* = 0, const char* = 0, QObject* /TransferThis/ = 0, const char* = 0, KHTMLPart::GUIProfile = DefaultGUI ); - KHTMLPart (KHTMLView*, QObject* /TransferThis/ = 0, const char* = 0, KHTMLPart::GUIProfile = DefaultGUI ); - virtual bool openURL (const KURL&); - virtual bool closeURL (); - virtual void showError (KIO::Job*); - DOM::HTMLDocument htmlDocument () const; - DOM::Document document () const; - DOM::Node activeNode () const; - KParts::BrowserExtension* browserExtension () const; - -%If ( KDE_3_1_0 - ) -//ig KParts::LiveConnectExtension* liveConnectExtension (const khtml::RenderPart*) const; -%End - - KHTMLView* view () const; - void setJScriptEnabled (bool); - bool jScriptEnabled () const; - -%If ( KDE_3_2_0 - ) -//ig KJS::Interpreter* jScriptInterpreter (); - void setStatusMessagesEnabled (bool); - bool statusMessagesEnabled () const; -%End - - void setMetaRefreshEnabled (bool); - bool metaRefreshEnabled () const; - QVariant executeScript (const DOM::Node&, const QString&); - void setDNDEnabled (bool); - bool dndEnabled () const; - void setJavaEnabled (bool); - bool javaEnabled () const; -//ig KJavaAppletContext* javaContext (); -//ig KJavaAppletContext* createJavaContext (); - void setPluginsEnabled (bool); - bool pluginsEnabled () const; - void setAutoloadImages (bool); - bool autoloadImages () const; - void setOnlyLocalReferences (bool); - bool onlyLocalReferences () const; - -%If ( KDE_3_2_0 - ) - bool isCaretMode () const; - bool isEditable () const; - void setCaretPosition (DOM::Node, long, bool = 0); - - enum CaretDisplayPolicy - { - CaretVisible, - CaretInvisible, - CaretBlink - }; - - KHTMLPart::CaretDisplayPolicy caretDisplayPolicyNonFocused () const; - void setCaretDisplayPolicyNonFocused (KHTMLPart::CaretDisplayPolicy); -%End - - void enableJScript (bool); - void enableJava (bool); - void enablePlugins (bool); - void autoloadImages (bool); - void enableMetaRefresh (bool); - bool setCharset (const QString&, bool = 0); - KURL baseURL () const; - QString baseTarget () const; - KURL backgroundURL () const; - void scheduleRedirection (int, const QString&, bool = 1); - virtual void begin (const KURL& = KURL (), int = 0, int = 0); - virtual void write (const char*, int = -1); - virtual void write (const QString&); - virtual void end (); - void paint (QPainter*, const QRect&, int = 0, bool* = 0); - bool setEncoding (const QString&, bool = 0); - QString encoding (); - void setUserStyleSheet (const KURL&); - void setUserStyleSheet (const QString&); - -public: - void setStandardFont (const QString&); - void setFixedFont (const QString&); - bool gotoAnchor (const QString&); - -%If ( KDE_3_2_0 - ) - bool nextAnchor (); - bool prevAnchor (); -%End - - void setURLCursor (const QCursor&); - QCursor urlCursor () const; - -%If ( KDE_3_3_0 - ) - - enum FindOptions - { - FindLinksOnly, - FindNoPopups - }; - - void findText (); - void findText (const QString&, long, QWidget* /Transfer/ = 0, KFindDialog* = 0); -%End - - void findTextBegin (); - bool findTextNext (const QString&, bool, bool, bool); - -%If ( KDE_3_3_0 - ) - bool findTextNext (); -%End - - void setZoomFactor (int); - int zoomFactor () const; - virtual QString selectedText () const; - DOM::Range selection () const; - -%If ( KDE_3_2_0 - ) - void selection (DOM::Node&, long&, DOM::Node&, long&) const; -%End - - void setSelection (const DOM::Range&); - bool hasSelection () const; - void selectAll (); - void show (); - void hide (); - KParts::PartManager* partManager (); - virtual void saveState (QDataStream&); - virtual void restoreState (QDataStream&); - DOM::Node nodeUnderMouse () const; - const KHTMLSettings* settings () const; - KHTMLPart* parentPart (); - QStringList frameNames () const; - QPtrList frames () const; - KHTMLPart* findFrame (const QString&); - KParts::ReadOnlyPart* currentFrame () const; - bool frameExists (const QString&); - void setJSStatusBarText (const QString&); - void setJSDefaultStatusBarText (const QString&); - QString jsStatusBarText () const; - QString jsDefaultStatusBarText () const; - QString referrer () const; - -%If ( KDE_3_1_3 - ) - QString pageReferrer () const; -%End - - QString lastModified () const; - void preloadStyleSheet (const QString&, const QString&); - void preloadScript (const QString&, const QString&); - bool restored () const; - -%If ( KDE_3_2_0 - ) - - enum FormNotification - { - NoNotification = 0, - Before, - Only, - Unused = 255 - }; - - void setFormNotification (KHTMLPart::FormNotification); - KHTMLPart::FormNotification formNotification () const; - KURL toplevelURL (); - -%If ( KDE_3_3_0 - ) - bool isModified () const; -%End - -%End - - -signals: - void onURL (const QString&); - void popupMenu (const QString&, const QPoint&); - void selectionChanged (); - void nodeActivated (const DOM::Node&); - -%If ( KDE_3_1_0 - ) - void docCreated (); - -%If ( KDE_3_2_0 - ) - void caretPositionChanged (const DOM::Node&, long); - void formSubmitNotification (const char*, const QString&, const QByteArray&, const QString&, const QString&, const QString&); -%End - -%End - - -protected: - KURL completeURL (const QString&); - void htmlError (int, const QString&, const KURL&); - virtual void customEvent (QCustomEvent*); -//ig virtual void khtmlMousePressEvent (khtml::MousePressEvent*); -//ig virtual void khtmlMouseDoubleClickEvent (khtml::MouseDoubleClickEvent*); -//ig virtual void khtmlMouseMoveEvent (khtml::MouseMoveEvent*); -//ig virtual void khtmlMouseReleaseEvent (khtml::MouseReleaseEvent*); -//ig virtual void khtmlDrawContentsEvent (khtml::DrawContentsEvent*); - virtual void guiActivateEvent (KParts::GUIActivateEvent*); - virtual bool openFile (); - virtual void urlSelected (const QString&, int, int, const QString&, KParts::URLArgs = KParts ::URLArgs ()); - virtual KParts::ReadOnlyPart* createPart (QWidget*, const char*, QObject* /Transfer/, const char*, const QString&, QString&, QStringList&, const QStringList&); - -%If ( KDE_3_1_0 - ) - bool pluginPageQuestionAsked (const QString&) const; - void setPluginPageQuestionAsked (const QString&); - -%If ( KDE_3_2_0 - ) -//ig void setPageSecurity (KHTMLPart::PageSecurity); - virtual bool doOpenStream (const QString&); - virtual bool doWriteStream (const QByteArray&); - virtual bool doCloseStream (); -%End - -%End - - -public slots: - void setActiveNode (const DOM::Node&); - void stopAnimations (); - QCString dcopObjectId () const; - -%If ( KDE_3_2_0 - ) - QVariant executeScript (const QString&); - void setCaretMode (bool); - void setEditable (bool); - void setCaretVisible (bool); - void submitFormProxy (const char*, const QString&, const QByteArray&, const QString&, const QString& = QString ::null , const QString& = QString ::null ); -%End - -public: - -%If ( - KDE_3_2_0 ) - QVariant executeScript (const QString&); -%End - -//force - -private: - void setStatusBarText (const QString&, int); -//end - -}; // class KHTMLPart - diff --git a/python/pykde/sip/khtml/khtml_settings.sip b/python/pykde/sip/khtml/khtml_settings.sip deleted file mode 100644 index b018c6e7..00000000 --- a/python/pykde/sip/khtml/khtml_settings.sip +++ /dev/null @@ -1,293 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module khtml version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KHTMLSettings -{ -%TypeHeaderCode -#include -%End - - -public: - - enum KJavaScriptAdvice - { - KJavaScriptDunno, - KJavaScriptAccept, - KJavaScriptReject - }; - - - enum KAnimationAdvice - { - KAnimationDisabled, - KAnimationLoopOnce, - KAnimationEnabled - }; - - -%If ( KDE_3_2_0 - ) - - enum KJSWindowOpenPolicy - { - KJSWindowOpenAllow, - KJSWindowOpenAsk, - KJSWindowOpenDeny, - KJSWindowOpenSmart - }; - - - enum KJSWindowStatusPolicy - { - KJSWindowStatusAllow, - KJSWindowStatusIgnore - }; - - - enum KJSWindowMovePolicy - { - KJSWindowMoveAllow, - KJSWindowMoveIgnore - }; - - - enum KJSWindowResizePolicy - { - KJSWindowResizeAllow, - KJSWindowResizeIgnore - }; - - - enum KJSWindowFocusPolicy - { - KJSWindowFocusAllow, - KJSWindowFocusIgnore - }; - -%End - - KHTMLSettings (); - KHTMLSettings (const KHTMLSettings&); - void init (); - void init (KConfig*, bool = 1); - bool changeCursor (); - bool underlineLink (); - bool hoverLink (); - -%If ( KDE_3_4_0 - ) - bool allowTabulation () const; - bool autoSpellCheck () const; -%End - - KHTMLSettings::KAnimationAdvice showAnimations () const; - QString stdFontName () const; - QString fixedFontName () const; - QString serifFontName () const; - QString sansSerifFontName () const; - QString cursiveFontName () const; - QString fantasyFontName () const; - void setStdFontName (const QString&); - void setFixedFontName (const QString&); - int minFontSize () const; - int mediumFontSize () const; - -%If ( KDE_3_2_0 - ) - bool jsErrorsEnabled () const; - void setJSErrorsEnabled (bool); -%End - - const QString& encoding () const; - -%If ( KDE_3_4_0 - ) - bool followSystemColors () const; -%End - - const QColor& textColor (); - -%If ( KDE_3_4_0 - ) - const QColor& baseColor () const; -%End - - const QColor& linkColor (); - const QColor& vLinkColor (); - bool autoLoadImages (); - -%If ( KDE_3_4_0 - ) - bool unfinishedImageFrame () const; -%End - - -%If ( KDE_3_3_0 - ) - bool isOpenMiddleClickEnabled (); -%End - - -%If ( KDE_3_1_0 - ) - bool isBackRightClickEnabled (); -%End - - bool isJavaEnabled (const QString& = QString ::null ); - bool isJavaScriptEnabled (const QString& = QString ::null ); - bool isJavaScriptDebugEnabled (const QString& = QString ::null ); - -%If ( KDE_3_2_0 - ) - bool isJavaScriptErrorReportingEnabled (const QString& = QString ::null ) const; -%End - - bool isPluginsEnabled (const QString& = QString ::null ); - -%If ( KDE_3_5_0 - ) - bool isAdFiltered (const QString&) const; - bool isAdFilterEnabled () const; - bool isHideAdsEnabled () const; - void addAdFilter (const QString&); - bool accessKeysEnabled () const; -%End - - -%If ( KDE_3_2_0 - ) - KHTMLSettings::KJSWindowOpenPolicy windowOpenPolicy (const QString& = QString ::null ) const; - KHTMLSettings::KJSWindowMovePolicy windowMovePolicy (const QString& = QString ::null ) const; - KHTMLSettings::KJSWindowResizePolicy windowResizePolicy (const QString& = QString ::null ) const; - KHTMLSettings::KJSWindowStatusPolicy windowStatusPolicy (const QString& = QString ::null ) const; - KHTMLSettings::KJSWindowFocusPolicy windowFocusPolicy (const QString& = QString ::null ) const; -%End - - static KJavaScriptAdvice strToAdvice (const QString&); -//ig static void splitDomainAdvice (const QString&, QString&, KHTMLSettings::KJavaScriptAdvice&, KHTMLSettings::KJavaScriptAdvice&); - static const char* adviceToStr (KHTMLSettings::KJavaScriptAdvice); - -%If ( KDE_3_2_0 - ) -//ig void readDomainSettings (KConfig*, bool, bool, KPerDomainSettings&); -%End - - QString settingsToCSS () const; - static const QString& availableFamilies (); - QString userStyleSheet () const; - bool isFormCompletionEnabled () const; - int maxFormCompletionItems () const; - -%If ( KDE_3_1_1 - ) - bool isAutoDelayedActionsEnabled () const; - -%If ( KDE_3_5_0 - ) - QValueList> fallbackAccessKeysAssignments () const; - void setJSPopupBlockerPassivePopup (bool); - bool jsPopupBlockerPassivePopup () const; -%End - -%End - - -}; // class KHTMLSettings - - - -%If (KDE_3_5_0 - ) -%MappedType QValueList> -//converts a Python list of tuples (QString,QChar) -{ -%TypeHeaderCode -#include -#include -#include -#include -#include -#include -typedef QPair AssignPair; -%End - -%ConvertFromTypeCode - if (!sipCpp) - return PyList_New(0); - - // Create the list - PyObject *pylist; - if ((pylist = PyList_New(0)) == NULL) - return NULL; - - QValueList *cpplist = (QValueList *)sipCpp; - PyObject *inst; - - // Get it. - QValueList::Iterator it; - for( it = cpplist->begin(); it != cpplist->end(); ++it ) - { - QString s = (*it).first; - QChar c = (*it).second; - PyObject *pys = sipBuildResult (NULL, "N", new QString (s), sipClass_QString); - PyObject *pyc = sipBuildResult (NULL, "N", new QChar (c), sipClass_QChar); - if ((pys == NULL) || ((inst = Py_BuildValue ("NN", pys, pyc)) == NULL) - || PyList_Append (pylist, inst) < 0) - { - Py_XDECREF (inst); - Py_XDECREF (pys); - Py_XDECREF (pyc); - Py_DECREF (pylist); - return NULL; - } - } - - return pylist; -%End - - -%ConvertToTypeCode - if (sipIsErr == NULL) - return PyList_Check(sipPy); - - QValueList *cpplist = new QValueList; - - QString p1; - QChar p2; - int iserr = 0; - - for (int i = 0; i < PyList_Size (sipPy); i++) - { - PyObject *elem = PyList_GET_ITEM (sipPy, i); - PyObject *pyp1 = PyTuple_GET_ITEM (elem, 0); - PyObject *pyp2 = PyTuple_GET_ITEM (elem, 1); - p1 = *(QString *)sipForceConvertTo_QString (pyp1, &iserr); - p2 = *(QChar *)sipForceConvertTo_QChar (pyp2, &iserr); - - if (iserr) - { - *sipIsErr = 1; - delete cpplist; - return 0; - } - - cpplist->append (AssignPair (p1, p2)); - } - - *sipCppPtr = cpplist; - - return 1; -%End -}; -%End - - diff --git a/python/pykde/sip/khtml/khtmlmod.sip.in b/python/pykde/sip/khtml/khtmlmod.sip.in deleted file mode 100644 index e7e3183b..00000000 --- a/python/pykde/sip/khtml/khtmlmod.sip.in +++ /dev/null @@ -1,71 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module khtml version KDE_3_5_2 - -%Copying - - This software is free software; you can redistribute it and/or - modify it under the terms of the GNU General Public License as - published by the Free Software Foundation; either version 2 of - the License, or (at your option) any later version. - - This software is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public - License along with this library; see the file COPYING. - If not, write to the Free Software Foundation, Inc., - 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - -%End - -%Module khtml - -%Import qt/qtmod.sip -%Import qtxml/qtxmlmod.sip -%Import dcopmod.sip -%Import kdecoremod.sip -%Import kdefxmod.sip -%Import kdeuimod.sip -%Import kiomod.sip -%Import kutilsmod.sip -%Import kpartsmod.sip - -%Include css_rule.sip -%Include css_stylesheet.sip -%Include css_value.sip -%Include dom2_events.sip -%Include dom2_range.sip -%Include dom2_traversal.sip -%Include dom2_views.sip -%Include dom_doc.sip -%Include dom_element.sip -%Include dom_exception.sip -%Include dom_misc.sip -%Include dom_node.sip -%Include dom_string.sip -%Include dom_text.sip -%Include dom_xml.sip -%Include html_base.sip -%Include html_block.sip -%Include html_document.sip -%Include html_element.sip -%Include html_form.sip -%Include html_head.sip -%Include html_image.sip -%Include html_inline.sip -%Include html_list.sip -%Include html_misc.sip -%Include html_object.sip -%Include html_table.sip -%Include khtml_part.sip -%Include khtml_settings.sip -%Include khtmlview.sip -@mark@ diff --git a/python/pykde/sip/khtml/khtmlview.sip b/python/pykde/sip/khtml/khtmlview.sip deleted file mode 100644 index 779416c3..00000000 --- a/python/pykde/sip/khtml/khtmlview.sip +++ /dev/null @@ -1,144 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module khtml version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - -//ig namespace khtml; - - -class KHTMLView : QScrollView -{ -%TypeHeaderCode -#include -%End - - -public: - KHTMLView (KHTMLPart*, QWidget* /TransferThis/, const char* = 0); - KHTMLPart* part () const; - int frameWidth () const; - void setMarginWidth (int); - int marginWidth () const; - void setMarginHeight (int); - int marginHeight (); - virtual void setVScrollBarMode (ScrollBarMode); - virtual void setHScrollBarMode (ScrollBarMode); - void print () /PyName=print_/; - -%If ( KDE_3_2_0 - ) - void print (bool); -%End - - void layout (); - -%If ( KDE_3_3_0 - ) - void displayAccessKeys (); -%End - - -signals: - -%If ( KDE_3_3_0 - ) - void finishedLayout (); -%End - - void cleared (); - -%If ( KDE_3_1_0 - ) - void zoomView (int); - -%If ( KDE_3_3_0 - ) - void hideAccessKeys (); - void repaintAccessKeys (); - -%If ( KDE_3_5_0 - ) - void findAheadActive (bool); -%End - -%End - -%End - - -protected: - void clear (); - virtual void resizeEvent (QResizeEvent*); - virtual void showEvent (QShowEvent*); - virtual void hideEvent (QHideEvent*); - virtual bool focusNextPrevChild (bool); - virtual void drawContents (QPainter*, int, int, int, int); - virtual void drawContents (QPainter*); - virtual void viewportMousePressEvent (QMouseEvent*); - -%If ( KDE_3_2_0 - ) - virtual void focusInEvent (QFocusEvent*); -%End - - virtual void focusOutEvent (QFocusEvent*); - virtual void viewportMouseDoubleClickEvent (QMouseEvent*); - virtual void viewportMouseMoveEvent (QMouseEvent*); - virtual void viewportMouseReleaseEvent (QMouseEvent*); - -%If ( KDE_3_1_0 - ) - virtual void viewportResizeEvent (QResizeEvent*); -%End - - virtual void viewportWheelEvent (QWheelEvent*); - virtual void dragEnterEvent (QDragEnterEvent*); - virtual void dropEvent (QDropEvent*); - -%If ( KDE_3_1_0 - ) - virtual void closeEvent (QCloseEvent*); - -%If ( KDE_3_2_0 - ) - virtual bool eventFilter (QObject*, QEvent*); -%End - -%End - - void keyPressEvent (QKeyEvent*); - void keyReleaseEvent (QKeyEvent*); - void contentsContextMenuEvent (QContextMenuEvent*); - void doAutoScroll (); - void timerEvent (QTimerEvent*); - -protected slots: - void slotPaletteChanged (); - void slotScrollBarMoved (); - -//force -%ConvertToSubClassCode - // The table of Python class objects indexed by their names. The table - // must be sorted by name. - - static sipStringTypeClassMap map[] = { - {sipName_KHTMLView, &sipClass_KHTMLView}, - {sipName_KHTMLPart, &sipClass_KHTMLPart}, - }; - - sipClass = sipMapStringToClass(sipCpp -> className(),map,sizeof (map)/sizeof (map[0])); -%End -//end - -}; // class KHTMLView - diff --git a/python/pykde/sip/kio/authinfo.sip b/python/pykde/sip/kio/authinfo.sip deleted file mode 100644 index 454e1ff8..00000000 --- a/python/pykde/sip/kio/authinfo.sip +++ /dev/null @@ -1,206 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kio version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - -namespace KIO -{ - -class AuthInfo -{ -%TypeHeaderCode -#include -%End - - -public: - AuthInfo (); - AuthInfo (const KIO::AuthInfo&); - bool isModified () const; - void setModified (bool); - KURL url; - QString username; - QString password; - QString prompt; - QString caption; - QString comment; - QString commentLabel; - QString realmValue; - QString digestInfo; - bool verifyPath; - bool readOnly; - bool keepPassword; - -protected: - -}; // class AuthInfo - - -%If ( KDE_3_1_4 - ) -//igx QDataStream& operator << (QDataStream&, const KIO::AuthInfo&); -//igx QDataStream& operator >> (QDataStream&, KIO::AuthInfo&); -%End - - -class NetRC -{ -%TypeHeaderCode -#include -%End - - -public: - - enum LookUpMode - { - exactOnly, - defaultOnly, - presetOnly - }; - - - class AutoLogin - { - - public: - QString type; - QString machine; - QString login; - QString password; - KStringListMap macdef; - - }; // class AutoLogin - - -public: - static KIO::NetRC* self (); - bool lookup (const KURL&, KIO::NetRC::AutoLogin&, bool = 0, QString = QString ::null , int = 6); - void reload (); - -protected: -//ig QString extract (const char*, const char*, int&); - int openf (const QString&); - -%If ( KDE_3_2_0 - ) - bool parse (int); -%End - - -private: - NetRC (); - ~NetRC (); - -protected: - -%If ( - KDE_3_2_0 ) - void parse (int); -%End - - -}; // class NetRC - -}; // namespace KIO - - - -%MappedType KStringListMap -{ -//converts a Python dict of QString:QStringList -%TypeHeaderCode -#include -#include -#include -typedef QMap KStringListMap; -%End - -%ConvertFromTypeCode - // Convert to a Python dict. - - if (!sipCpp) - return PyDict_New(); - - PyObject *dict; - - // Create the dictionary. - - if ((dict = PyDict_New()) == NULL) - return NULL; - - // Get it. - - const QMap map = *sipCpp; - QMap::ConstIterator it; - - for (it = map.begin (); it != map.end (); ++it) - { - PyObject *sKey = PyString_FromString ((const char *)((QString)it.key ())); - PyObject *sData = sipConvertFromInstance ((void *)&it.data (), sipClass_QStringList, sipTransferObj); - - if ((sKey == NULL) || (sData == NULL) || (PyDict_SetItem (dict, sKey, sData) < 0)) - { - Py_XDECREF (sKey); - Py_XDECREF (sData); - Py_DECREF (dict); - return NULL; - } - } - - return dict; -%End - - -%ConvertToTypeCode - if (sipIsErr == NULL) - return PyDict_Check(sipPy); - - QMap *map = new QMap; - - PyObject *key, *value; - int pos = 0; - QString *sKey; - QStringList *sData; - - while (PyDict_Next(sipPy, &pos, &key, &value)) - { - int iserr = 0; - - sKey = (QString *)sipForceConvertTo_QString (key, &iserr); - sData = (QStringList *)sipForceConvertTo_QStringList (value, &iserr); - - if (iserr) - { - *sipIsErr = 1; - delete map; - return 0; - } - - map->insert (*sKey, *sData); - } - - *sipCppPtr = map; - - return 1; -%End -}; - - diff --git a/python/pykde/sip/kio/chmodjob.sip b/python/pykde/sip/kio/chmodjob.sip deleted file mode 100644 index 51b29397..00000000 --- a/python/pykde/sip/kio/chmodjob.sip +++ /dev/null @@ -1,64 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kio version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - -namespace KIO -{ - -class ChmodJob : KIO::Job -{ -%TypeHeaderCode -#include -namespace KIO -{ -class ChmodInfo -{ -public: - KURL url; - int permissions; -}; -}; -#include -%End - - -public: - ChmodJob (const KFileItemList&, int, int, int, int, bool, bool); - -protected: - void chmodNextFile (); - -protected slots: - virtual void slotResult (KIO::Job*); - void slotEntries (KIO::Job*, const KIO::UDSEntryList&); - void processList (); - -protected: -//igx virtual void virtual_hook (int, void*); - -}; // class ChmodJob - -KIO::ChmodJob* chmod (const KFileItemList&, int, int, QString, QString, bool, bool = 1); -}; // namespace KIO - diff --git a/python/pykde/sip/kio/connection.sip b/python/pykde/sip/kio/connection.sip deleted file mode 100644 index 67e535fb..00000000 --- a/python/pykde/sip/kio/connection.sip +++ /dev/null @@ -1,72 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kio version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - -namespace KIO -{ - -class Task -{ -%TypeHeaderCode -#include -%End - - -public: - int cmd; - QByteArray data; - -}; // class Task - - -class Connection : QObject -{ -%TypeHeaderCode -#include -%End - - -public: - Connection (); - void init (KSocket*); - void init (int, int); - void connect (QObject* = 0, const char* = 0); - void close (); - int fd_from () const; - int fd_to () const; - bool inited () const; - void send (int, const QByteArray& = QByteArray ()); - bool sendnow (int, const QByteArray&); -//ig int read (int*, QByteArray&); - void suspend (); - void resume (); - bool suspended () const; - -protected slots: - void dequeue (); - -}; // class Connection - -}; // namespace KIO - diff --git a/python/pykde/sip/kio/davjob.sip b/python/pykde/sip/kio/davjob.sip deleted file mode 100644 index ff140b0a..00000000 --- a/python/pykde/sip/kio/davjob.sip +++ /dev/null @@ -1,56 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kio version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -%If ( KDE_3_1_0 - ) -namespace KIO -{ - -class DavJob : KIO::TransferJob -{ -%TypeHeaderCode -#include -%End - - -public: - DavJob (const KURL&, int, const QString&, bool); - QDomDocument& response (); - -protected slots: - virtual void slotFinished (); - virtual void slotData (const QByteArray&); - -protected: - -}; // class DavJob - -KIO::DavJob* davPropFind (const KURL&, const QDomDocument&, QString, bool = 1); -KIO::DavJob* davPropPatch (const KURL&, const QDomDocument&, bool = 1); -KIO::DavJob* davSearch (const KURL&, const QString&, const QString&, const QString&, bool = 1); -}; // namespace KIO - -%End - diff --git a/python/pykde/sip/kio/defaultprogress.sip b/python/pykde/sip/kio/defaultprogress.sip deleted file mode 100644 index 36460866..00000000 --- a/python/pykde/sip/kio/defaultprogress.sip +++ /dev/null @@ -1,103 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kio version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - -namespace KIO -{ - -class DefaultProgress : KIO::ProgressBase -{ -%TypeHeaderCode -#include -%End - - -public: - DefaultProgress (bool = 1); - -%If ( KDE_3_1_0 - ) - DefaultProgress (QWidget* /TransferThis/, const char* = 0); - -%If ( KDE_3_2_1 - ) - bool keepOpen () const; - -%If ( KDE_3_4_0 - ) - static QString makePercentString (ulong, KIO::filesize_t, ulong); -%End - -%End - -%End - - -public slots: - virtual void slotTotalSize (KIO::Job*, KIO::filesize_t); - virtual void slotTotalFiles (KIO::Job*, ulong); - virtual void slotTotalDirs (KIO::Job*, ulong); - virtual void slotProcessedSize (KIO::Job*, KIO::filesize_t); - virtual void slotProcessedFiles (KIO::Job*, ulong); - virtual void slotProcessedDirs (KIO::Job*, ulong); - virtual void slotSpeed (KIO::Job*, ulong); - virtual void slotPercent (KIO::Job*, ulong); - virtual void slotInfoMessage (KIO::Job*, const QString&); - virtual void slotCopying (KIO::Job*, const KURL&, const KURL&); - virtual void slotMoving (KIO::Job*, const KURL&, const KURL&); - virtual void slotDeleting (KIO::Job*, const KURL&); - -%If ( KDE_3_1_0 - ) - void slotTransferring (KIO::Job*, const KURL&); -%End - - virtual void slotCreatingDir (KIO::Job*, const KURL&); - virtual void slotStating (KIO::Job*, const KURL&); - virtual void slotMounting (KIO::Job*, const QString&, const QString&); - virtual void slotUnmounting (KIO::Job*, const QString&); - virtual void slotCanResume (KIO::Job*, KIO::filesize_t); - -%If ( KDE_3_1_0 - ) - void slotClean (); -%End - - -protected: - -%If ( KDE_3_1_0 - ) - void init (); -%End - - void showTotals (); - void setDestVisible (bool); - -%If ( KDE_3_1_0 - ) - void checkDestination (const KURL&); -%End - - -protected: -//igx virtual void virtual_hook (int, void*); - -}; // class DefaultProgress - -}; // namespace KIO - diff --git a/python/pykde/sip/kio/forwardingslavebase.sip b/python/pykde/sip/kio/forwardingslavebase.sip deleted file mode 100644 index 23f39036..00000000 --- a/python/pykde/sip/kio/forwardingslavebase.sip +++ /dev/null @@ -1,63 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kio version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -%If ( KDE_3_4_0 - ) -namespace KIO -{ - -class ForwardingSlaveBase : QObject, KIO::SlaveBase -{ -%TypeHeaderCode -#include -%End - - -public: - ForwardingSlaveBase (const QCString&, const QCString&, const QCString&); - virtual void get (const KURL&); - virtual void put (const KURL&, int, bool, bool); - virtual void stat (const KURL&); - virtual void mimetype (const KURL&); - virtual void listDir (const KURL&); - virtual void mkdir (const KURL&, int); - virtual void rename (const KURL&, const KURL&, bool); - virtual void symlink (const QString&, const KURL&, bool); - virtual void chmod (const KURL&, int); - virtual void copy (const KURL&, const KURL&, int, bool); - virtual void del (const KURL&, bool); - -protected: - virtual bool rewriteURL (const KURL&, KURL&) = 0; - virtual void prepareUDSEntry (KIO::UDSEntry&, bool = 0) const; - KURL processedURL () const; - KURL requestedURL () const; - -}; // class ForwardingSlaveBase - -}; // namespace KIO - -%End - diff --git a/python/pykde/sip/kio/global.sip b/python/pykde/sip/kio/global.sip deleted file mode 100644 index 10933eee..00000000 --- a/python/pykde/sip/kio/global.sip +++ /dev/null @@ -1,732 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kio version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - -%ModuleHeaderCode -#include -#include -#include -%End - -namespace KIO -{ -typedef longlong fileoffset_t; -typedef ulonglong filesize_t; -QString convertSize (KIO::filesize_t); - -%If ( KDE_3_5_0 - ) -QString convertSizeWithBytes (KIO::filesize_t); -%End - -QString number (KIO::filesize_t); -QString convertSizeFromKB (KIO::filesize_t); - -%If ( KDE_3_4_0 - ) -uint calculateRemainingSeconds (KIO::filesize_t, KIO::filesize_t, KIO::filesize_t); -QString convertSeconds (uint); -%End - -QTime calculateRemaining (KIO::filesize_t, KIO::filesize_t, KIO::filesize_t); -QString itemsSummaryString (uint, uint, uint, KIO::filesize_t, bool); -QString encodeFileName (const QString&); -QString decodeFileName (const QString&); - -%If ( KDE_3_2_0 - ) - -enum Command -{ - CMD_HOST, - CMD_CONNECT, - CMD_DISCONNECT, - CMD_SLAVE_STATUS, - CMD_SLAVE_CONNECT, - CMD_SLAVE_HOLD, - CMD_NONE, - CMD_TESTDIR, - CMD_GET, - CMD_PUT, - CMD_STAT, - CMD_MIMETYPE, - CMD_LISTDIR, - CMD_MKDIR, - CMD_RENAME, - CMD_COPY, - CMD_DEL, - CMD_CHMOD, - CMD_SPECIAL, - CMD_USERPASS, - CMD_REPARSECONFIGURATION, - CMD_META_DATA, - CMD_SYMLINK, - CMD_SUBURL, - CMD_MESSAGEBOXANSWER, - CMD_RESUMEANSWER, - CMD_CONFIG, - CMD_MULTI_GET -}; - -%End - - -%If ( KDE_3_1_0 - ) - -enum Error -{ - ERR_CANNOT_OPEN_FOR_READING, - ERR_CANNOT_OPEN_FOR_WRITING, - ERR_CANNOT_LAUNCH_PROCESS, - ERR_INTERNAL, - ERR_MALFORMED_URL, - ERR_UNSUPPORTED_PROTOCOL, - ERR_NO_SOURCE_PROTOCOL, - ERR_UNSUPPORTED_ACTION, - ERR_IS_DIRECTORY, - ERR_IS_FILE, - ERR_DOES_NOT_EXIST, - ERR_FILE_ALREADY_EXIST, - ERR_DIR_ALREADY_EXIST, - ERR_UNKNOWN_HOST, - ERR_ACCESS_DENIED, - ERR_WRITE_ACCESS_DENIED, - ERR_CANNOT_ENTER_DIRECTORY, - ERR_PROTOCOL_IS_NOT_A_FILESYSTEM, - ERR_CYCLIC_LINK, - ERR_USER_CANCELED, - ERR_CYCLIC_COPY, - ERR_COULD_NOT_CREATE_SOCKET, - ERR_COULD_NOT_CONNECT, - ERR_CONNECTION_BROKEN, - ERR_NOT_FILTER_PROTOCOL, - ERR_COULD_NOT_MOUNT, - ERR_COULD_NOT_UNMOUNT, - ERR_COULD_NOT_READ, - ERR_COULD_NOT_WRITE, - ERR_COULD_NOT_BIND, - ERR_COULD_NOT_LISTEN, - ERR_COULD_NOT_ACCEPT, - ERR_COULD_NOT_LOGIN, - ERR_COULD_NOT_STAT, - ERR_COULD_NOT_CLOSEDIR, - ERR_COULD_NOT_MKDIR, - ERR_COULD_NOT_RMDIR, - ERR_CANNOT_RESUME, - ERR_CANNOT_RENAME, - ERR_CANNOT_CHMOD, - ERR_CANNOT_DELETE, - ERR_SLAVE_DIED, - ERR_OUT_OF_MEMORY, - ERR_UNKNOWN_PROXY_HOST, - ERR_COULD_NOT_AUTHENTICATE, - ERR_ABORTED, - ERR_INTERNAL_SERVER, - ERR_SERVER_TIMEOUT, - ERR_SERVICE_NOT_AVAILABLE, - ERR_UNKNOWN, - ERR_UNKNOWN_INTERRUPT, - ERR_CANNOT_DELETE_ORIGINAL, - ERR_CANNOT_DELETE_PARTIAL, - ERR_CANNOT_RENAME_ORIGINAL, - ERR_CANNOT_RENAME_PARTIAL, - ERR_NEED_PASSWD, - ERR_CANNOT_SYMLINK, - ERR_NO_CONTENT, - ERR_DISK_FULL, - ERR_IDENTICAL_FILES, - ERR_SLAVE_DEFINED, - ERR_UPGRADE_REQUIRED, - ERR_POST_DENIED -}; - -%End - -QString buildErrorString (int, const QString&); -//ig QString buildHTMLErrorString (int, const QString&, const KURL* = 0, int = -1); -QByteArray rawErrorDetail (int, const QString&, const KURL* = 0, int = -1); - -%If ( KDE_3_2_0 - ) -QString unsupportedActionErrorString (const QString&, int); - -%If ( KDE_3_5_1 - ) - -enum UDSAtomTypes -{ - UDS_STRING, - UDS_LONG, - UDS_TIME, - UDS_SIZE, - UDS_SIZE_LARGE, - UDS_USER, - UDS_ICON_NAME, - UDS_GROUP, - UDS_EXTRA, - UDS_NAME, - UDS_LOCAL_PATH, - UDS_HIDDEN, - UDS_EXTENDED_ACL, - UDS_ACL_STRING, - UDS_DEFAULT_ACL_STRING, - UDS_ACCESS, - UDS_MODIFICATION_TIME, - UDS_ACCESS_TIME, - UDS_CREATION_TIME, - UDS_FILE_TYPE, - UDS_LINK_DEST, - UDS_URL, - UDS_MIME_TYPE, - UDS_GUESSED_MIME_TYPE, - UDS_XML_PROPERTIES -}; - -%End - -%End - - -%If ( KDE_3_0_1 - ) - -enum CacheControl -{ - CC_CacheOnly, - CC_Cache, - CC_Verify, - CC_Refresh, - CC_Reload -}; - -%End - -KIO::CacheControl parseCacheControl (const QString&); -QString getCacheControlString (KIO::CacheControl); -QString findDeviceMountPoint (const QString&); -QString findPathMountPoint (const QString&); -bool probably_slow_mounted (const QString&); - -%If ( KDE_3_1_0 - ) -bool manually_mounted (const QString&); - -%If ( KDE_3_2_0 - ) - -enum FileSystemFlag -{ - SupportsChmod, - SupportsChown, - SupportsUTime, - SupportsSymlinks, - CaseInsensitive -}; - -bool testFileSystemFlag (const QString&, KIO::FileSystemFlag); -%End - -%End - - -class UDSAtom -{ -%TypeHeaderCode -#include -%End - - -public: - QString m_str; - long m_long; - uint m_uds; - -}; // class UDSAtom - -//ig typedef QValueList UDSEntry; -//ig typedef QValueList UDSEntryList; -//ig typedef QValueListIterator UDSEntryListIterator; -//ig typedef QValueListConstIterator UDSEntryListConstIterator; - -%If ( KDE_3_4_0 - KDE_3_5_1 ) - -enum UDSAtomTypes -{ - UDS_STRING, - UDS_LONG, - UDS_TIME, - UDS_SIZE, - UDS_SIZE_LARGE, - UDS_USER, - UDS_ICON_NAME, - UDS_GROUP, - UDS_EXTRA, - UDS_NAME, - UDS_LOCAL_PATH, - UDS_ACCESS, - UDS_MODIFICATION_TIME, - UDS_ACCESS_TIME, - UDS_CREATION_TIME, - UDS_FILE_TYPE, - UDS_LINK_DEST, - UDS_URL, - UDS_MIME_TYPE, - UDS_GUESSED_MIME_TYPE, - UDS_XML_PROPERTIES -}; - -%End - - -%If ( KDE_3_2_0 - KDE_3_4_0 ) - -enum UDSAtomTypes -{ - UDS_STRING, - UDS_LONG, - UDS_TIME, - UDS_SIZE, - UDS_SIZE_LARGE, - UDS_USER, - UDS_ICON_NAME, - UDS_GROUP, - UDS_EXTRA, - UDS_NAME, - UDS_ACCESS, - UDS_MODIFICATION_TIME, - UDS_ACCESS_TIME, - UDS_CREATION_TIME, - UDS_FILE_TYPE, - UDS_LINK_DEST, - UDS_URL, - UDS_MIME_TYPE, - UDS_GUESSED_MIME_TYPE, - UDS_XML_PROPERTIES -}; - -%End - - -%If ( KDE_3_1_0 - KDE_3_2_0 ) - -enum UDSAtomTypes -{ - UDS_STRING, - UDS_LONG, - UDS_TIME, - UDS_SIZE, - UDS_SIZE_LARGE, - UDS_USER, - UDS_GROUP, - UDS_NAME, - UDS_ACCESS, - UDS_MODIFICATION_TIME, - UDS_ACCESS_TIME, - UDS_CREATION_TIME, - UDS_FILE_TYPE, - UDS_LINK_DEST, - UDS_URL, - UDS_MIME_TYPE, - UDS_GUESSED_MIME_TYPE, - UDS_XML_PROPERTIES -}; - -%End - - -%If ( - KDE_3_1_0 ) - -enum UDSAtomTypes -{ - UDS_STRING, - UDS_LONG, - UDS_TIME, - UDS_SIZE, - UDS_SIZE_LARGE, - UDS_USER, - UDS_GROUP, - UDS_NAME, - UDS_ACCESS, - UDS_MODIFICATION_TIME, - UDS_ACCESS_TIME, - UDS_CREATION_TIME, - UDS_FILE_TYPE, - UDS_LINK_DEST, - UDS_URL, - UDS_MIME_TYPE, - UDS_GUESSED_MIME_TYPE -}; - - -enum Error -{ - ERR_CANNOT_OPEN_FOR_READING, - ERR_CANNOT_OPEN_FOR_WRITING, - ERR_CANNOT_LAUNCH_PROCESS, - ERR_INTERNAL, - ERR_MALFORMED_URL, - ERR_UNSUPPORTED_PROTOCOL, - ERR_NO_SOURCE_PROTOCOL, - ERR_UNSUPPORTED_ACTION, - ERR_IS_DIRECTORY, - ERR_IS_FILE, - ERR_DOES_NOT_EXIST, - ERR_FILE_ALREADY_EXIST, - ERR_DIR_ALREADY_EXIST, - ERR_UNKNOWN_HOST, - ERR_ACCESS_DENIED, - ERR_WRITE_ACCESS_DENIED, - ERR_CANNOT_ENTER_DIRECTORY, - ERR_PROTOCOL_IS_NOT_A_FILESYSTEM, - ERR_CYCLIC_LINK, - ERR_USER_CANCELED, - ERR_CYCLIC_COPY, - ERR_COULD_NOT_CREATE_SOCKET, - ERR_COULD_NOT_CONNECT, - ERR_CONNECTION_BROKEN, - ERR_NOT_FILTER_PROTOCOL, - ERR_COULD_NOT_MOUNT, - ERR_COULD_NOT_UNMOUNT, - ERR_COULD_NOT_READ, - ERR_COULD_NOT_WRITE, - ERR_COULD_NOT_BIND, - ERR_COULD_NOT_LISTEN, - ERR_COULD_NOT_ACCEPT, - ERR_COULD_NOT_LOGIN, - ERR_COULD_NOT_STAT, - ERR_COULD_NOT_CLOSEDIR, - ERR_COULD_NOT_MKDIR, - ERR_COULD_NOT_RMDIR, - ERR_CANNOT_RESUME, - ERR_CANNOT_RENAME, - ERR_CANNOT_CHMOD, - ERR_CANNOT_DELETE, - ERR_SLAVE_DIED, - ERR_OUT_OF_MEMORY, - ERR_UNKNOWN_PROXY_HOST, - ERR_COULD_NOT_AUTHENTICATE, - ERR_ABORTED, - ERR_INTERNAL_SERVER, - ERR_SERVER_TIMEOUT, - ERR_SERVICE_NOT_AVAILABLE, - ERR_UNKNOWN, - ERR_UNKNOWN_INTERRUPT, - ERR_CANNOT_DELETE_ORIGINAL, - ERR_CANNOT_DELETE_PARTIAL, - ERR_CANNOT_RENAME_ORIGINAL, - ERR_CANNOT_RENAME_PARTIAL, - ERR_NEED_PASSWD, - ERR_CANNOT_SYMLINK, - ERR_NO_CONTENT, - ERR_DISK_FULL, - ERR_IDENTICAL_FILES, - ERR_SLAVE_DEFINED -}; - - -%If ( - KDE_3_0_1 ) - -enum CacheControl -{ - CC_CacheOnly, - CC_Cache, - CC_Verify, - CC_Reload -}; - -%End - -%End - -//force -//ig typedef QMap MetaData; -//end -}; // namespace KIO - -//force -KIO::UDSEntry testKIOUDSEntry (KIO::UDSEntry); -%MethodCode -//takes list | (KIO.UDSEntry) -//returns (KIO.UDSEntry) - sipRes = a0; -%End - -%ModuleHeaderCode -#include -%End - -KIO::UDSEntryList testKIOUDSEntryList (KIO::UDSEntryList); -%MethodCode -//takes list | (KIO.UDSEntryList) -//returns (KIO.UDSEntryList) - sipRes = a0; -%End - -%ModuleHeaderCode -#include -#include -%End - -KIO::MetaData testKIOMetaData (KIO::MetaData); -%MethodCode -//takes dict | (KIO.MetaData) -//returns (KIO.MetaData) - - - PyObject *dict; - if (sipParseArgs(&sipArgsParsed,sipArgs,"T", &PyDict_Type, &dict)) - { - int isErr = 0; - KIO::MetaData *map = (KIO::MetaData *)sipForceConvertTo_KIO_MetaData (dict, &isErr); - if (isErr) - { - Py_INCREF (Py_None); - return Py_None; - } - return sipConvertFrom_KIO_MetaData ((KIO::MetaData *)map, NULL); - } -%End - -//end - - -%MappedType KIO::UDSEntry -//converts a Python list of KIO.UDSAtom -{ -%TypeHeaderCode -#include -#include -#include -#include -%End - -%ConvertFromTypeCode - if (!sipCpp) - return PyList_New(0); - - // Create the list - PyObject *pylist; - if ((pylist = PyList_New(0)) == NULL) - return NULL; - - QValueList *cpplist = (QValueList *)sipCpp; - PyObject *inst; - - // Get it. - QValueList::Iterator it; - for( it = cpplist->begin(); it != cpplist->end(); ++it ) - { - if (((inst = sipBuildResult (NULL, "N", new KIO::UDSAtom (*it), sipClass_KIO_UDSAtom)) == NULL) - || PyList_Append (pylist, inst) < 0) - { - Py_DECREF (pylist); - return NULL; - } - } - - return pylist; -%End - - -%ConvertToTypeCode - if (sipIsErr == NULL) - return PyList_Check(sipPy); - - QValueList *cpplist = new QValueList; - - PyObject *elem; - KIO::UDSAtom *cpp; - int iserr = 0; - - for (int i = 0; i < PyList_Size (sipPy); i++) - { - elem = PyList_GET_ITEM (sipPy, i); - cpp = (KIO::UDSAtom *)sipForceConvertTo_KIO_UDSAtom (elem, &iserr); - - if (iserr) - { - *sipIsErr = 1; - delete cpplist; - return 0; - } - - cpplist->append (*cpp); - } - - *sipCppPtr = cpplist; - - return 1; -%End -}; - - -%MappedType KIO::UDSEntryList -//converts a Python list of KIO.UDSEntry -{ -%TypeHeaderCode -#include -#include -#include -%End - -%ConvertFromTypeCode - if (!sipCpp) - return PyList_New(0); - - // Create the list - PyObject *pylist; - if ((pylist = PyList_New(0)) == NULL) - return NULL; - - QValueList *cpplist = (QValueList *)sipCpp; - PyObject *inst; - - // Get it. - QValueList::Iterator it; - for( it = cpplist->begin(); it != cpplist->end(); ++it ) - { - KIO::UDSEntry cpp = *it; - inst = sipConvertFrom_KIO_UDSEntry (&cpp, sipTransferObj); - - if (PyList_Append (pylist, inst) < 0) - { - Py_DECREF (pylist); - return NULL; - } - } - - return pylist; -%End - - -%ConvertToTypeCode - if (sipIsErr == NULL) - return PyList_Check(sipPy); - - QValueList *cpplist = new QValueList; - - PyObject *elem; - KIO::UDSEntry *cpp; - int iserr = 0; - - for (int i = 0; i < PyList_Size (sipPy); i++) - { - elem = PyList_GET_ITEM (sipPy, i); - cpp = (KIO::UDSEntry *)sipForceConvertTo_KIO_UDSEntry (elem, &iserr); - - if (iserr) - { - *sipIsErr = 1; - delete cpplist; - return 0; - } - - cpplist->append (*cpp); - } - - *sipCppPtr = cpplist; - - return 1; -%End -}; - - -%MappedType KIO::MetaData -//converts a Python dict of QString, QString -{ -%TypeHeaderCode -#include -#include -#include -%End - -%ConvertFromTypeCode - // Convert to a Python dict - - if (!sipCpp) - return PyDict_New(); - - PyObject *dict; - - // Create the dictionary. - - if ((dict = PyDict_New()) == NULL) - return NULL; - - // Get it. - - const QMap cppmap = *sipCpp; - QMap::ConstIterator it; - - for (it = cppmap.begin (); it != cppmap.end (); ++it) - { - QString acpp = it.key (); - QString bcpp = it.data (); - PyObject *ainst; - PyObject *binst; - if (((ainst = sipBuildResult (NULL, "N", new QString (acpp), sipClass_QString)) == NULL) - || ((binst = sipBuildResult (NULL, "N", new QString (bcpp), sipClass_QString)) == NULL) - || (PyDict_SetItem (dict, ainst, binst) < 0)) - { - Py_XDECREF (ainst); - Py_XDECREF (binst); - Py_DECREF (dict); - return NULL; - } - } - - return dict; -%End - - -%ConvertToTypeCode - // Convert a Python dictionary to a QMap on the heap. - - if (sipIsErr == NULL) - return PyDict_Check(sipPy); - - - QMap *cppmap = new QMap; - - PyObject *aelem, *belem; - int pos = 0; - QString *acpp; - QString *bcpp; - - while (PyDict_Next(sipPy, &pos, &aelem, &belem)) - { - int iserr = 0; - - acpp = (QString *)sipForceConvertTo_QString (aelem, &iserr); - bcpp = (QString *)sipForceConvertTo_QString (belem, &iserr); - - if (iserr) - { - *sipIsErr = 1; - delete cppmap; - return 0; - } - - cppmap->insert (*acpp, *bcpp); - } - - *sipCppPtr = (KIO::MetaData *)cppmap; - - return 1; -%End -}; - - diff --git a/python/pykde/sip/kio/job.sip b/python/pykde/sip/kio/job.sip deleted file mode 100644 index 2f6339ee..00000000 --- a/python/pykde/sip/kio/job.sip +++ /dev/null @@ -1,73 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kio version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - -namespace KIO -{ -KIO::SimpleJob* mkdir (const KURL&, int = -1); -KIO::SimpleJob* rmdir (const KURL&); -KIO::SimpleJob* chmod (const KURL&, int); -KIO::SimpleJob* rename (const KURL&, const KURL&, bool); -KIO::SimpleJob* symlink (const QString&, const KURL&, bool, bool = 1); -KIO::SimpleJob* special (const KURL&, const QByteArray&, bool = 1); -KIO::SimpleJob* mount (bool, const char*, const QString&, const QString&, bool = 1); -KIO::SimpleJob* unmount (const QString&, bool = 1); -KIO::SimpleJob* http_update_cache (const KURL&, bool, time_t); -KIO::StatJob* stat (const KURL&, bool = 1); -KIO::StatJob* stat (const KURL&, bool, short, bool = 1); -KIO::TransferJob* get (const KURL&, bool = 0, bool = 1); -KIO::TransferJob* put (const KURL&, int, bool, bool, bool = 1); -KIO::TransferJob* http_post (const KURL&, const QByteArray&, bool = 1); - -%If ( KDE_3_3_0 - ) -KIO::StoredTransferJob* storedGet (const KURL&, bool = 0, bool = 1); -KIO::StoredTransferJob* storedPut (const QByteArray&, const KURL&, int, bool, bool, bool = 1); -%End - -KIO::MultiGetJob* multi_get (long, const KURL&, const KIO::MetaData&); -KIO::MimetypeJob* mimetype (const KURL&, bool = 1); -KIO::FileCopyJob* file_copy (const KURL&, const KURL&, int = -1, bool = 0, bool = 0, bool = 1); -KIO::FileCopyJob* file_move (const KURL&, const KURL&, int = -1, bool = 0, bool = 0, bool = 1); -KIO::SimpleJob* file_delete (const KURL&, bool = 1); -KIO::ListJob* listDir (const KURL&, bool = 1, bool = 1); -KIO::ListJob* listRecursive (const KURL&, bool = 1, bool = 1); -KIO::CopyJob* copy (const KURL&, const KURL&, bool = 1); -KIO::CopyJob* copyAs (const KURL&, const KURL&, bool = 1); -KIO::CopyJob* copy (const KURL::List&, const KURL&, bool = 1); -KIO::CopyJob* move (const KURL&, const KURL&, bool = 1); -KIO::CopyJob* moveAs (const KURL&, const KURL&, bool = 1); -KIO::CopyJob* move (const KURL::List&, const KURL&, bool = 1); -KIO::CopyJob* link (const KURL&, const KURL&, bool = 1); -KIO::CopyJob* link (const KURL::List&, const KURL&, bool = 1); -KIO::CopyJob* linkAs (const KURL&, const KURL&, bool = 1); - -%If ( KDE_3_4_0 - ) -KIO::CopyJob* trash (const KURL&, bool = 1); -KIO::CopyJob* trash (const KURL::List&, bool = 1); -%End - -KIO::DeleteJob* del (const KURL&, bool = 0, bool = 1) /PyName=del_/; -KIO::DeleteJob* del (const KURL::List&, bool = 0, bool = 1) /PyName=del_/; -}; // namespace KIO - diff --git a/python/pykde/sip/kio/jobclasses.sip b/python/pykde/sip/kio/jobclasses.sip deleted file mode 100644 index 9fc230ff..00000000 --- a/python/pykde/sip/kio/jobclasses.sip +++ /dev/null @@ -1,748 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kio version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - -namespace KIO -{ - -class Job : QObject -{ -%TypeHeaderCode -#include -%End - - -protected: - Job (bool); - -public: - virtual void kill (bool = 1); - int error (); - int progressId (); - const QString& errorText (); - QString errorString (); - QStringList detailedErrorStrings (const KURL* = 0, int = -1) const; - void showErrorDialog (QWidget* = 0); - void setAutoErrorHandlingEnabled (bool, QWidget* = 0); - bool isAutoErrorHandlingEnabled () const; - -%If ( KDE_3_5_0 - ) - void setAutoWarningHandlingEnabled (bool); - bool isAutoWarningHandlingEnabled () const; -%End - - -%If ( KDE_3_4_3 - ) - void setInteractive (bool); - bool isInteractive () const; -%End - - void setWindow (QWidget*); - QWidget* window () const; - -%If ( KDE_3_1_0 - ) - void setParentJob (KIO::Job*); - KIO::Job* parentJob () const; -%End - - void setMetaData (const KIO::MetaData&); - void addMetaData (const QString&, const QString&); - void addMetaData (const QMap&); - void mergeMetaData (const QMap&); - KIO::MetaData outgoingMetaData () const; - KIO::MetaData metaData () const; - QString queryMetaData (const QString&); - -%If ( KDE_3_2_0 - ) - KIO::filesize_t getProcessedSize (); -%End - - -signals: - void result (KIO::Job*); - void canceled (KIO::Job*); - void infoMessage (KIO::Job*, const QString&); - -%If ( KDE_3_5_0 - ) - void warning (KIO::Job*, const QString&); -%End - - void connected (KIO::Job*); - void percent (KIO::Job*, ulong); - void totalSize (KIO::Job*, KIO::filesize_t); - void processedSize (KIO::Job*, KIO::filesize_t); - void speed (KIO::Job*, ulong); - -protected slots: - virtual void slotResult (KIO::Job*); - void slotSpeed (KIO::Job*, ulong); - void slotInfoMessage (KIO::Job*, const QString&); - void slotSpeedTimeout (); - -protected: - virtual void addSubjob (KIO::Job*, bool = 1); - virtual void removeSubjob (KIO::Job*); - -%If ( KDE_3_4_0 - ) - void removeSubjob (KIO::Job*, bool, bool); -%End - - void emitPercent (KIO::filesize_t, KIO::filesize_t); - void emitSpeed (ulong); - void emitResult (); - -%If ( KDE_3_2_0 - ) - void setProcessedSize (KIO::filesize_t); -%End - -//ig int& extraFlags (); - -protected: -//igx virtual void virtual_hook (int, void*); - -protected: - -%If ( KDE_3_2_0 - KDE_3_2_2 ) - int extraFlags (); -%MethodCode -//returns (int) - Py_BEGIN_ALLOW_THREADS - sipRes = sipCpp -> sipProtect_extraFlags (); - Py_END_ALLOW_THREADS -%End - -%End - - -}; // class Job - - -class SimpleJob : KIO::Job -{ -%TypeHeaderCode -#include -%End - - -public: - SimpleJob (const KURL&, int, const QByteArray&, bool); - const KURL& url () const; - virtual void kill (bool = 1); - virtual void putOnHold (); - static void removeOnHold (); - virtual void start (KIO::Slave*); - void slaveDone (); - KIO::Slave* slave (); - int command (); - -public slots: - -%If ( KDE_3_1_0 - ) - void slotTotalSize (KIO::filesize_t); -%End - - -protected slots: - virtual void slotFinished (); - void slotWarning (const QString&); - void slotInfoMessage (const QString&); - void slotConnected (); - void slotProcessedSize (KIO::filesize_t); - void slotSpeed (ulong); - virtual void slotMetaData (const KIO::MetaData&); - -public slots: - virtual void slotError (int, const QString&); - -protected slots: - void slotNeedProgressId (); - -protected: - -protected: -//igx virtual void virtual_hook (int, void*); - -%If ( KDE_3_2_0 - ) - void storeSSLSessionFromJob (const KURL&); -%End - - -protected slots: - -%If ( - KDE_3_1_0 ) - void slotTotalSize (KIO::filesize_t); -%End - - -}; // class SimpleJob - - -class StatJob : KIO::SimpleJob -{ -%TypeHeaderCode -#include -%End - - -public: - StatJob (const KURL&, int, const QByteArray&, bool); - void setSide (bool); - void setDetails (short); - const KIO::UDSEntry& statResult () const; - virtual void start (KIO::Slave*); - -signals: - void redirection (KIO::Job*, const KURL&); - -%If ( KDE_3_1_0 - ) - void permanentRedirection (KIO::Job*, const KURL&, const KURL&); -%End - - -protected slots: - void slotStatEntry (const KIO::UDSEntry&); - void slotRedirection (const KURL&); - virtual void slotFinished (); - -%If ( KDE_3_2_0 - ) - virtual void slotMetaData (const KIO::MetaData&); -%End - - -protected: - -protected: -//igx virtual void virtual_hook (int, void*); - -}; // class StatJob - - -%If ( KDE_3_3_0 - ) - -class MkdirJob : KIO::SimpleJob -{ -%TypeHeaderCode -#include -%End - - -public: - MkdirJob (const KURL&, int, const QByteArray&, bool); - virtual void start (KIO::Slave*); - -signals: - void redirection (KIO::Job*, const KURL&); - void permanentRedirection (KIO::Job*, const KURL&, const KURL&); - -protected slots: - void slotRedirection (const KURL&); - virtual void slotFinished (); - -protected: - -protected: - virtual void virtual_hook (int, void*); - -}; // class MkdirJob - -%End - - -%If ( KDE_3_3_0 - ) - -class DirectCopyJob : KIO::SimpleJob -{ -%TypeHeaderCode -#include -%End - - -public: - DirectCopyJob (const KURL&, int, const QByteArray&, bool); - virtual void start (KIO::Slave*); - -signals: - void canResume (KIO::Job*, KIO::filesize_t); - -}; // class DirectCopyJob - -%End - - -class TransferJob : KIO::SimpleJob -{ -%TypeHeaderCode -#include -%End - - -public: - TransferJob (const KURL&, int, const QByteArray&, const QByteArray&, bool); - virtual void start (KIO::Slave*); - virtual void slotResult (KIO::Job*); - void suspend (); - void resume (); - bool isSuspended () const; - bool isErrorPage () const; - -%If ( KDE_3_2_0 - ) - void setAsyncDataEnabled (bool); - void sendAsyncData (const QByteArray&); - void setReportDataSent (bool); - bool reportDataSent (); -%End - - -signals: - void data (KIO::Job*, const QByteArray&); - void dataReq (KIO::Job*, QByteArray&); - void redirection (KIO::Job*, const KURL&); - -%If ( KDE_3_1_0 - ) - void permanentRedirection (KIO::Job*, const KURL&, const KURL&); -%End - - void mimetype (KIO::Job*, const QString&); - void canResume (KIO::Job*, KIO::filesize_t); - -protected slots: - virtual void slotRedirection (const KURL&); - virtual void slotFinished (); - virtual void slotData (const QByteArray&); - virtual void slotDataReq (); - virtual void slotMimetype (const QString&); - virtual void slotNeedSubURLData (); - virtual void slotSubURLData (KIO::Job*, const QByteArray&); - -%If ( KDE_3_2_0 - ) - virtual void slotMetaData (const KIO::MetaData&); -%End - - void slotErrorPage (); - void slotCanResume (KIO::filesize_t); - -%If ( KDE_3_2_0 - ) - void slotPostRedirection (); -%End - - -protected: - -protected: -//igx virtual void virtual_hook (int, void*); - -}; // class TransferJob - - -%If ( KDE_3_3_0 - ) - -class StoredTransferJob : KIO::TransferJob -{ -%TypeHeaderCode -#include -%End - - -public: - StoredTransferJob (const KURL&, int, const QByteArray&, const QByteArray&, bool); - void setData (const QByteArray&); - QByteArray data () const; - -}; // class StoredTransferJob - -%End - - -class MultiGetJob : KIO::TransferJob -{ -%TypeHeaderCode -#include -%End - - -public: - MultiGetJob (const KURL&, bool); - virtual void start (KIO::Slave*); - void get (long, const KURL&, const KIO::MetaData&); - -signals: - void data (long, const QByteArray&); - void mimetype (long, const QString&); - void result (long); - -protected slots: - virtual void slotRedirection (const KURL&); - virtual void slotFinished (); - virtual void slotData (const QByteArray&); - virtual void slotMimetype (const QString&); - -protected: -//igx virtual void virtual_hook (int, void*); - -}; // class MultiGetJob - - -class MimetypeJob : KIO::TransferJob -{ -%TypeHeaderCode -#include -%End - - -public: - MimetypeJob (const KURL&, int, const QByteArray&, bool); - QString mimetype () const; - virtual void start (KIO::Slave*); - -protected slots: - virtual void slotFinished (); - -protected: -//igx virtual void virtual_hook (int, void*); - -}; // class MimetypeJob - - -class FileCopyJob : KIO::Job -{ -%TypeHeaderCode -#include -%End - - -public: - FileCopyJob (const KURL&, const KURL&, int, bool, bool, bool, bool); - -%If ( KDE_3_2_0 - ) - void setSourceSize64 (KIO::filesize_t); - -%If ( KDE_3_5_2 - ) - void setModificationTime (time_t); -%End - -%End - -//ig void setSourceSize (off_t); - KURL srcURL () const; - KURL destURL () const; - -public slots: - void slotStart (); - void slotData (KIO::Job*, const QByteArray&); - void slotDataReq (KIO::Job*, QByteArray&); - -protected slots: - virtual void slotResult (KIO::Job*); - void slotProcessedSize (KIO::Job*, KIO::filesize_t); - void slotTotalSize (KIO::Job*, KIO::filesize_t); - void slotPercent (KIO::Job*, ulong); - void slotCanResume (KIO::Job*, KIO::filesize_t); - -protected: - void startCopyJob (); - void startCopyJob (const KURL&); - -%If ( KDE_3_4_0 - ) - void startRenameJob (const KURL&); -%End - - void startDataPump (); - void connectSubjob (KIO::SimpleJob*); - -protected: - -protected: -//igx virtual void virtual_hook (int, void*); - -}; // class FileCopyJob - - -class ListJob : KIO::SimpleJob -{ -%TypeHeaderCode -#include -%End - - -public: - ListJob (const KURL&, bool, bool = 0, QString = QString ::null , bool = 1); - virtual void start (KIO::Slave*); - -%If ( KDE_3_4_3 - ) - const KURL& redirectionURL () const; -%End - - -%If ( KDE_3_2_0 - ) - void setUnrestricted (bool); -%End - - -signals: - void entries (KIO::Job*, const KIO::UDSEntryList&); - void redirection (KIO::Job*, const KURL&); - -%If ( KDE_3_1_0 - ) - void permanentRedirection (KIO::Job*, const KURL&, const KURL&); -%End - - -protected slots: - virtual void slotFinished (); - -%If ( KDE_3_2_0 - ) - virtual void slotMetaData (const KIO::MetaData&); -%End - - virtual void slotResult (KIO::Job*); - void slotListEntries (const KIO::UDSEntryList&); - void slotRedirection (const KURL&); - void gotEntries (KIO::Job*, const KIO::UDSEntryList&); - -protected: -//igx virtual void virtual_hook (int, void*); - -}; // class ListJob - - -class CopyInfo -{ -%TypeHeaderCode -#include -%End - - -public: - KURL uSource; - KURL uDest; - QString linkDest; - mode_t permissions; - time_t ctime; - time_t mtime; - off_t size; - -}; // class CopyInfo - - -class CopyJob : KIO::Job -{ -%TypeHeaderCode -#include -%End - - -public: - - enum CopyMode - { - Copy, - Move, - Link - }; - - CopyJob (const KURL::List&, const KURL&, KIO::CopyJob::CopyMode, bool, bool); - KURL::List srcURLs () const; - KURL destURL () const; - -%If ( KDE_3_2_3 - ) - void setDefaultPermissions (bool); - -%If ( KDE_3_4_0 - ) - void setInteractive (bool); -%End - -%End - - -signals: - void totalFiles (KIO::Job*, ulong); - void totalDirs (KIO::Job*, ulong); - -%If ( KDE_3_2_0 - ) - void aboutToCreate (KIO::Job*, const QValueList&); -%End - - void processedFiles (KIO::Job*, ulong); - void processedDirs (KIO::Job*, ulong); - void copying (KIO::Job*, const KURL&, const KURL&); - void linking (KIO::Job*, const QString&, const KURL&); - void moving (KIO::Job*, const KURL&, const KURL&); - void creatingDir (KIO::Job*, const KURL&); - void renamed (KIO::Job*, const KURL&, const KURL&); - void copyingDone (KIO::Job*, const KURL&, const KURL&, bool, bool); - void copyingLinkDone (KIO::Job*, const KURL&, const QString&, const KURL&); - -protected: - -%If ( KDE_3_2_3 - ) - void statCurrentSrc (); -%End - - void statNextSrc (); - void slotResultStating (KIO::Job*); - void startListing (const KURL&); - void slotResultCreatingDirs (KIO::Job*); - void slotResultConflictCreatingDirs (KIO::Job*); - void createNextDir (); - void slotResultCopyingFiles (KIO::Job*); - void slotResultConflictCopyingFiles (KIO::Job*); - void copyNextFile (); - void slotResultDeletingDirs (KIO::Job*); - void deleteNextDir (); - void skip (const KURL&); - -%If ( KDE_3_3_2 - ) - void slotResultRenaming (KIO::Job*); - -%If ( KDE_3_5_2 - ) - void setNextDirAttribute (); -%End - -%End - - -protected slots: - void slotStart (); - void slotEntries (KIO::Job*, const KIO::UDSEntryList&); - virtual void slotResult (KIO::Job*); - void slotProcessedSize (KIO::Job*, KIO::filesize_t); - void slotTotalSize (KIO::Job*, KIO::filesize_t); - void slotReport (); - -protected: -//igx virtual void virtual_hook (int, void*); - -}; // class CopyJob - - -class DeleteJob : KIO::Job -{ -%TypeHeaderCode -#include -%End - - -public: - DeleteJob (const KURL::List&, bool, bool); - KURL::List urls () const; - -signals: - void totalFiles (KIO::Job*, ulong); - void totalDirs (KIO::Job*, ulong); - void processedFiles (KIO::Job*, ulong); - void processedDirs (KIO::Job*, ulong); - void deleting (KIO::Job*, const KURL&); - -protected slots: - void slotStart (); - void slotEntries (KIO::Job*, const KIO::UDSEntryList&); - virtual void slotResult (KIO::Job*); - void slotProcessedSize (KIO::Job*, KIO::filesize_t); - void slotReport (); - -protected: -//igx virtual void virtual_hook (int, void*); - -protected: - -%If ( - KDE_3_1_0 ) - void startNextJob (); - void deleteNextFile (); - void deleteNextDir (); -%End - - -}; // class DeleteJob - -}; // namespace KIO - - - -%MappedType QValueList -//converts a Python list of KIO::CopyInfo -{ -%TypeHeaderCode -#include -%End - -%ConvertFromTypeCode - if (!sipCpp) - return PyList_New(0); - - // Create the list - PyObject *pylist; - if ((pylist = PyList_New(0)) == NULL) - return NULL; - - QValueList *cpplist = (QValueList *)sipCpp; - PyObject *inst; - - // Get it. - QValueList::Iterator it; - for( it = cpplist->begin(); it != cpplist->end(); ++it ) - { - if (((inst = sipBuildResult (NULL, "N", new KIO::CopyInfo (*it), sipClass_KIO_CopyInfo)) == NULL) - || PyList_Append (pylist, inst) < 0) - { - Py_DECREF (pylist); - return NULL; - } - } - - return pylist; -%End - - -%ConvertToTypeCode - if (sipIsErr == NULL) - return PyList_Check(sipPy); - - QValueList *cpplist = new QValueList; - - PyObject *elem; - KIO::CopyInfo *cpp; - int iserr = 0; - - for (int i = 0; i < PyList_Size (sipPy); i++) - { - elem = PyList_GET_ITEM (sipPy, i); - cpp = (KIO::CopyInfo *)sipForceConvertTo_KIO_CopyInfo (elem, &iserr); - - if (iserr) - { - *sipIsErr = 1; - delete cpplist; - return 0; - } - - cpplist->append (*cpp); - } - - *sipCppPtr = cpplist; - - return 1; -%End -}; - - diff --git a/python/pykde/sip/kio/kacl.sip b/python/pykde/sip/kio/kacl.sip deleted file mode 100644 index e4cd6328..00000000 --- a/python/pykde/sip/kio/kacl.sip +++ /dev/null @@ -1,166 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kio version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -%If ( KDE_3_5_0 - ) - -class KACL -{ -%TypeHeaderCode -#include -%End - - -public: - KACL (const QString&); - KACL (const KACL&); - KACL (mode_t); - KACL (); - bool operator == (const KACL&) const; - bool operator != (const KACL&) const; - bool isValid () const; - ushort ownerPermissions () const; - bool setOwnerPermissions (ushort); - ushort owningGroupPermissions () const; - bool setOwningGroupPermissions (ushort); - ushort othersPermissions () const; - bool setOthersPermissions (ushort); - mode_t basePermissions () const; - bool isExtended () const; - ushort maskPermissions (bool&) const; - bool setMaskPermissions (ushort); - ushort namedUserPermissions (const QString&, bool*) const; - bool setNamedUserPermissions (const QString&, ushort); - ACLUserPermissionsList allUserPermissions () const; - bool setAllUserPermissions (const ACLUserPermissionsList&); - ushort namedGroupPermissions (const QString&, bool*) const; - bool setNamedGroupPermissions (const QString&, ushort); - ACLGroupPermissionsList allGroupPermissions () const; - bool setAllGroupPermissions (const ACLGroupPermissionsList&); - bool setACL (const QString&); - QString asString () const; - -protected: - virtual void virtual_hook (int, void*); - -}; // class KACL - -%End - - -%If ( KDE_3_5_0 - ) -typedef QPair ACLUserPermissions; -typedef QValueList ACLUserPermissionsList; -//igx typedef QValueListIterator ACLUserPermissionsIterator; -//igx typedef QValueListConstIterator ACLUserPermissionsConstIterator; -//igx typedef QPair ACLGroupPermissions; -//igx typedef QValueList ACLGroupPermissionsList; -//igx typedef QValueListIterator ACLGroupPermissionsIterator; -//igx typedef QValueListConstIterator ACLGroupPermissionsConstIterator; -//igx QDataStream& operator << (QDataStream&, const KACL&); -//igx QDataStream& operator >> (QDataStream&, KACL&); -//force -typedef ACLUserPermissionsList ACLGroupPermissionsList; -//end -%End - - -%MappedType QValueList -//converts a Python list of ACLUserPermissions tuples (QString, int) -{ -%TypeHeaderCode -#include -#include -#include -#include -#include -%End - -%ConvertFromTypeCode - if (!sipCpp) - return PyList_New(0); - - // Create the list - PyObject *pylist; - if ((pylist = PyList_New(0)) == NULL) - return NULL; - - QValueList *cpplist = (QValueList *)sipCpp; - PyObject *inst; - - // Get it. - QValueList::Iterator it; - for( it = cpplist->begin(); it != cpplist->end(); ++it ) - { - QString s = (*it).first; - ushort u = (*it).second; - PyObject *pys = sipBuildResult (NULL, "N", new QString (s), sipClass_QString); - if ((pys == NULL) || ((inst = Py_BuildValue ("Ni", pys, u)) == NULL) - || PyList_Append (pylist, inst) < 0) - { - Py_XDECREF (inst); - Py_XDECREF (pys); - Py_DECREF (pylist); - return NULL; - } - } - - return pylist; -%End - - -%ConvertToTypeCode - if (sipIsErr == NULL) - return PyList_Check(sipPy); - - QValueList *cpplist = new QValueList; - - QString p1; - int iserr = 0; - - for (int i = 0; i < PyList_Size (sipPy); i++) - { - PyObject *elem = PyList_GET_ITEM (sipPy, i); - PyObject *pyp1 = PyTuple_GET_ITEM (elem, 0); - p1 = *(QString *)sipForceConvertTo_QString (pyp1, &iserr); - - if (iserr) - { - *sipIsErr = 1; - delete cpplist; - return 0; - } - ushort p2 = (ushort)(PyInt_AS_LONG (PyTuple_GET_ITEM (elem, 1))); - - cpplist->append (ACLUserPermissions (p1, p2)); - } - - *sipCppPtr = cpplist; - - return 1; -%End -}; - - diff --git a/python/pykde/sip/kio/kar.sip b/python/pykde/sip/kio/kar.sip deleted file mode 100644 index 08560f21..00000000 --- a/python/pykde/sip/kio/kar.sip +++ /dev/null @@ -1,54 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kio version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -%If ( KDE_3_1_0 - ) - -class KAr : KArchive -{ -%TypeHeaderCode -#include -%End - - -public: - KAr (const QString&); - KAr (QIODevice*); - QString fileName (); - virtual bool prepareWriting (const QString&, const QString&, const QString&, uint); - virtual bool doneWriting (uint); - virtual bool writeDir (const QString&, const QString&, const QString&); - -protected: - virtual bool openArchive (int); - virtual bool closeArchive (); - -protected: - virtual void virtual_hook (int, void*); - -}; // class KAr - -%End - diff --git a/python/pykde/sip/kio/karchive.sip b/python/pykde/sip/kio/karchive.sip deleted file mode 100644 index 45c634b5..00000000 --- a/python/pykde/sip/kio/karchive.sip +++ /dev/null @@ -1,189 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kio version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KArchive -{ -%TypeHeaderCode -#include -%End - - -protected: - KArchive (QIODevice*); - -public: - virtual bool open (int); - virtual void close (); - -%If ( KDE_3_5_0 - ) - bool closeSucceeded () const; -%End - - bool isOpened () const; - int mode () const; - QIODevice* device () const; - const KArchiveDirectory* directory () const; - -%If ( KDE_3_2_0 - ) - bool addLocalFile (const QString&, const QString&); - bool addLocalDirectory (const QString&, const QString&); -%End - - virtual bool writeDir (const QString&, const QString&, const QString&) = 0; - -%If ( KDE_3_2_0 - ) - bool writeDir (const QString&, const QString&, const QString&, mode_t, time_t, time_t, time_t); - bool writeSymLink (const QString&, const QString&, const QString&, const QString&, mode_t, time_t, time_t, time_t); -%End - - virtual bool writeFile (const QString&, const QString&, const QString&, uint, const char*); - -%If ( KDE_3_2_0 - ) - bool writeFile (const QString&, const QString&, const QString&, uint, mode_t, time_t, time_t, time_t, const char*); -%End - - virtual bool prepareWriting (const QString&, const QString&, const QString&, uint) = 0; - -%If ( KDE_3_2_0 - ) - bool prepareWriting (const QString&, const QString&, const QString&, uint, mode_t, time_t, time_t, time_t); - bool writeData (const char*, uint); -%End - - virtual bool doneWriting (uint) = 0; - -protected: - virtual bool openArchive (int) = 0; - virtual bool closeArchive () = 0; - virtual KArchiveDirectory* rootDir (); - KArchiveDirectory* findOrCreate (const QString&); - void setDevice (QIODevice*); - void setRootDir (KArchiveDirectory*); - -protected: -//igx virtual void virtual_hook (int, void*); - -%If ( KDE_3_2_0 - ) - bool prepareWriting_impl (const QString&, const QString&, const QString&, uint, mode_t, time_t, time_t, time_t); - bool writeFile_impl (const QString&, const QString&, const QString&, uint, mode_t, time_t, time_t, time_t, const char*); - bool writeDir_impl (const QString&, const QString&, const QString&, mode_t, time_t, time_t, time_t); - bool writeSymLink_impl (const QString&, const QString&, const QString&, const QString&, mode_t, time_t, time_t, time_t); - bool writeData_impl (const char*, uint); -%End - - -protected: - -%If ( - KDE_3_1_0 ) - ~KArchive (); -%End - - -}; // class KArchive - - -class KArchiveEntry -{ -%TypeHeaderCode -#include -%End - - -public: - KArchiveEntry (KArchive*, const QString&, int, int, const QString&, const QString&, const QString&); - QDateTime datetime () const; - int date () const; - QString name () const; - mode_t permissions () const; - QString user () const; - QString group () const; - QString symlink () const; - virtual bool isFile () const; - virtual bool isDirectory () const; - -protected: - KArchive* archive () const; - -protected: -//igx virtual void virtual_hook (int, void*); - -}; // class KArchiveEntry - - -class KArchiveFile : KArchiveEntry -{ -%TypeHeaderCode -#include -%End - - -public: - KArchiveFile (KArchive*, const QString&, int, int, const QString&, const QString&, const QString&, int, int); - int position () const; - int size () const; - -%If ( KDE_3_1_0 - ) - void setSize (int); -%End - - virtual QByteArray data () const; - QIODevice* device () const; - virtual bool isFile () const; - -%If ( KDE_3_1_0 - ) - void copyTo (const QString&) const; -%End - - -protected: -//igx virtual void virtual_hook (int, void*); - -}; // class KArchiveFile - - -class KArchiveDirectory : KArchiveEntry -{ -%TypeHeaderCode -#include -%End - - -public: - KArchiveDirectory (KArchive*, const QString&, int, int, const QString&, const QString&, const QString&); - QStringList entries () const; - KArchiveEntry* entry (QString); - void addEntry (KArchiveEntry*); - virtual bool isDirectory () const; - -%If ( KDE_3_1_0 - ) - void copyTo (const QString&, bool = 1) const; -%End - - -protected: -//igx virtual void virtual_hook (int, void*); - -}; // class KArchiveDirectory - diff --git a/python/pykde/sip/kio/kautomount.sip b/python/pykde/sip/kio/kautomount.sip deleted file mode 100644 index 5a417409..00000000 --- a/python/pykde/sip/kio/kautomount.sip +++ /dev/null @@ -1,77 +0,0 @@ -// -// Copyright 2005 Jim Bublitz -// Earlier copyrights 1998 - 2004 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kio version KDE_3_3_2 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KAutoMount : QObject -{ -%TypeHeaderCode -#include -%End - - -public: - KAutoMount (bool, const QString&, const QString&, const QString&, const QString&, bool = 1); - -signals: - void finished (); - void error (); - -protected slots: - void slotResult (KIO::Job*); - -protected: -//force - -private: - ~KAutoMount (); -//end - -}; // class KAutoMount - - -class KAutoUnmount : QObject -{ -%TypeHeaderCode -#include -%End - - -public: - KAutoUnmount (const QString&, const QString&); - -signals: - void finished (); - void error (); - -protected slots: - void slotResult (KIO::Job*); -//force - -private: - ~KAutoUnmount (); -//end - -}; // class KAutoUnmount - diff --git a/python/pykde/sip/kio/kdatatool.sip b/python/pykde/sip/kio/kdatatool.sip deleted file mode 100644 index 62221aef..00000000 --- a/python/pykde/sip/kio/kdatatool.sip +++ /dev/null @@ -1,173 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kio version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KDataToolInfo -{ -%TypeHeaderCode -#include -%End - - -public: - KDataToolInfo (); - KDataToolInfo (const KService::Ptr&, KInstance*); - KDataToolInfo (const KDataToolInfo&); - QString dataType () const; - QStringList mimeTypes () const; - bool isReadOnly () const; - QPixmap icon () const; - QPixmap miniIcon () const; - QString iconName () const; - QStringList userCommands () const; - QStringList commands () const; - KDataTool* createTool (QObject* /Transfer/ = 0, const char* = 0) const; - KService::Ptr service () const; - KInstance* instance () const; - bool isValid () const; - static QValueList query (const QString&, const QString&, KInstance*); - -}; // class KDataToolInfo - - -class KDataToolAction : KAction -{ -%TypeHeaderCode -#include -%End - - -public: - KDataToolAction (const QString&, const KDataToolInfo&, const QString&, QObject* /TransferThis/ = 0, const char* = 0); - static QPtrList dataToolActionList (const QValueList&, const QObject*, const char*); - -signals: - void toolActivated (const KDataToolInfo&, const QString&); - -protected: - virtual void slotActivated (); - -protected: -//igx virtual void virtual_hook (int, void*); - -}; // class KDataToolAction - - -class KDataTool : QObject -{ -%TypeHeaderCode -#include -%End - - -public: - KDataTool (QObject* /TransferThis/ = 0, const char* = 0); - void setInstance (KInstance*); - KInstance* instance () const; - virtual bool run (const QString&, void*, const QString&, const QString&) = 0; - -protected: -//igx virtual void virtual_hook (int, void*); - -}; // class KDataTool - - - -%MappedType QValueList -//converts a Python list of KDataToolInfo -{ -%TypeHeaderCode -#include -#include -%End - -%ConvertFromTypeCode -// Convert to a Python list of KDataToolInfo - - if (!sipCpp) - return PyList_New(0); - - PyObject *dtiList; - - // Create the list - - if ((dtiList = PyList_New(0)) == NULL) - return NULL; - - // Get it. - - QValueList *dlist = (QValueList *)sipCpp; - PyObject *inst; - - - QValueList::Iterator it; - for( it = dlist->begin(); it != dlist->end(); ++it ) - { - if ((inst = sipBuildResult (NULL, "N", new KDataToolInfo (*it), sipClass_KDataToolInfo)) == NULL - || PyList_Append (dtiList, inst) < 0) - { - Py_DECREF (dtiList); - return NULL; - } - } - - return dtiList; -%End - - -%ConvertToTypeCode - // Convert a Python list to a KDataToolInfoVList on the heap. - - if (sipIsErr == NULL) - return PyList_Check(sipPy); - - QValueList *dList = new QValueList; - - PyObject *elem; - KDataToolInfo *d; - int iserr = 0; - - for (int i = 0; i < PyList_Size (sipPy); i++) - { - elem = PyList_GET_ITEM (sipPy, i); - d = (KDataToolInfo *)sipForceConvertTo_KDataToolInfo (elem, &iserr); - - if (iserr) - { - *sipIsErr = 1; - delete dList; - return 0; - } - - dList->append (*d); - } - - *sipCppPtr = dList; - - return 1; -%End -}; - - diff --git a/python/pykde/sip/kio/kdcopservicestarter.sip b/python/pykde/sip/kio/kdcopservicestarter.sip deleted file mode 100644 index fd1684c3..00000000 --- a/python/pykde/sip/kio/kdcopservicestarter.sip +++ /dev/null @@ -1,48 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kio version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -%If ( KDE_3_2_0 - ) - -class KDCOPServiceStarter -{ -%TypeHeaderCode -#include -%End - - -public: - static KDCOPServiceStarter* self (); - int findServiceFor (const QString&, const QString& = QString ::null , const QString& = QString ::null , QString* = 0, QCString* = 0, int = 0); - virtual int startServiceFor (const QString&, const QString& = QString ::null , const QString& = QString ::null , QString* = 0, QCString* = 0, int = 0); - -protected: - KDCOPServiceStarter (); - ~KDCOPServiceStarter (); - -}; // class KDCOPServiceStarter - -%End - diff --git a/python/pykde/sip/kio/kdirlister.sip b/python/pykde/sip/kio/kdirlister.sip deleted file mode 100644 index f6f56308..00000000 --- a/python/pykde/sip/kio/kdirlister.sip +++ /dev/null @@ -1,268 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kio version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KDirLister : QObject -{ -%TypeHeaderCode -#include -%End - - -public: - KDirLister (bool = 0); - virtual bool openURL (const KURL&, bool = 0, bool = 0); - virtual void stop (); - virtual void stop (const KURL&); - bool autoUpdate () const; - virtual void setAutoUpdate (bool); - bool autoErrorHandlingEnabled () const; - void setAutoErrorHandlingEnabled (bool, QWidget* /Transfer/); - bool showingDotFiles () const; - virtual void setShowingDotFiles (bool); - bool dirOnlyMode () const; - virtual void setDirOnlyMode (bool); - const KURL& url () const; - -%If ( KDE_3_4_0 - ) - const KURL::List& directories () const; -%End - - virtual void emitChanges (); - virtual void updateDirectory (const KURL&); - bool isFinished () const; - KFileItem* rootItem () const; - virtual KFileItem* findByURL (const KURL&) const; - KFileItem* find (const KURL&) const; - virtual KFileItem* findByName (const QString&) const; - virtual void setNameFilter (const QString&); - const QString& nameFilter () const; - virtual void setMimeFilter (const QStringList&); - -%If ( KDE_3_1_0 - ) - void setMimeExcludeFilter (const QStringList&); -%End - - virtual void clearMimeFilter (); - const QStringList& mimeFilters () const; - bool matchesFilter (const QString&) const; - bool matchesMimeFilter (const QString&) const; - -%If ( KDE_3_1_0 - ) - void setMainWindow (QWidget*); - QWidget* mainWindow (); - - enum WhichItems - { - AllItems, - FilteredItems - }; - - KFileItemList items (KDirLister::WhichItems = FilteredItems ) const; - KFileItemList itemsForDir (const KURL&, KDirLister::WhichItems = FilteredItems ) const; -%End - - -signals: - void started (const KURL&); - void completed (); - void completed (const KURL&); - void canceled (); - void canceled (const KURL&); - void redirection (const KURL&); - void redirection (const KURL&, const KURL&); - void clear (); - void clear (const KURL&); - void newItems (const KFileItemList&); - void itemsFilteredByMime (const KFileItemList&); - void deleteItem (KFileItem*); - void refreshItems (const KFileItemList&); - void infoMessage (const QString&); - void percent (int); - void totalSize (KIO::filesize_t); - void processedSize (KIO::filesize_t); - void speed (int); - -protected: - virtual bool matchesFilter (const KFileItem*) const; - virtual bool matchesMimeFilter (const KFileItem*) const; - virtual bool doNameFilter (const QString&, const QPtrList&) const; - virtual bool doMimeFilter (const QString&, const QStringList&) const; - -%If ( KDE_3_1_0 - ) - bool doMimeExcludeFilter (const QString&, const QStringList&) const; -%End - - virtual bool validURL (const KURL&) const; - virtual void handleError (KIO::Job*); - -protected: -//igx virtual void virtual_hook (int, void*); - -}; // class KDirLister - - - -%MappedType KFileItemList -//converts a Python list of KFileItem -{ -%TypeHeaderCode -#include -%End - -%ConvertFromTypeCode - if (!sipCpp) - return PyList_New (0); - - PyObject *pylist; - - // Create the list - - if ((pylist = PyList_New(0)) == NULL) - return NULL; - - // Get it. - - QPtrList *cpplist = (QPtrList *)sipCpp; - KFileItem *cpp; - PyObject *inst; - - // the loop depends on the type of iterator the tmeplate makes available - for(cpp = cpplist->first (); cpp != 0; cpp = cpplist->next () ) - { - if (((inst = sipConvertFromInstance (cpp, sipClass_KFileItem, sipTransferObj)) == NULL) - || PyList_Append (pylist, inst) < 0) - { - Py_DECREF (pylist); - return NULL; - } - } - - return pylist; -%End - -%ConvertToTypeCode - if (sipIsErr == NULL) - return PyList_Check(sipPy); - - QPtrList *cpplist = new QPtrList; - - PyObject *elem; - KFileItem *cpp; - int iserr = 0; - - for (int i = 0; i < PyList_Size (sipPy); i++) - { - elem = PyList_GET_ITEM (sipPy, i); - cpp = (KFileItem *)sipForceConvertTo_KFileItem (elem, &iserr); - - if (iserr) - { - *sipIsErr = 1; - delete cpplist; - return 0; - } - - cpplist->append (cpp); - } - - *sipCppPtr = cpplist; - - return 1; -%End -}; - - -%MappedType QPtrList -//converts a Python list of QRegExp -{ -%TypeHeaderCode -#include -#include -%End - -%ConvertFromTypeCode - if (!sipCpp) - return PyList_New (0); - - PyObject *pylist; - - // Create the list - - if ((pylist = PyList_New(0)) == NULL) - return NULL; - - // Get it. - - QPtrList *cpplist = (QPtrList *)sipCpp; - QRegExp *cpp; - PyObject *inst; - - // the loop depends on the type of iterator the tmeplate makes available - for(cpp = cpplist->first (); cpp != 0; cpp = cpplist->next () ) - { - if (((inst = sipConvertFromInstance (cpp, sipClass_QRegExp, sipTransferObj)) == NULL) - || PyList_Append (pylist, inst) < 0) - { - Py_DECREF (pylist); - return NULL; - } - } - - return pylist; -%End - -%ConvertToTypeCode - if (sipIsErr == NULL) - return PyList_Check(sipPy); - - QPtrList *cpplist = new QPtrList; - - PyObject *elem; - QRegExp *cpp; - int iserr = 0; - - for (int i = 0; i < PyList_Size (sipPy); i++) - { - elem = PyList_GET_ITEM (sipPy, i); - cpp = (QRegExp *)sipForceConvertTo_QRegExp (elem, &iserr); - - if (iserr) - { - *sipIsErr = 1; - delete cpplist; - return 0; - } - - cpplist->append (cpp); - } - - *sipCppPtr = cpplist; - - return 1; -%End -}; - - diff --git a/python/pykde/sip/kio/kdirnotify.sip b/python/pykde/sip/kio/kdirnotify.sip deleted file mode 100644 index 1f3fbb99..00000000 --- a/python/pykde/sip/kio/kdirnotify.sip +++ /dev/null @@ -1,57 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kio version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KDirNotify : DCOPObject -{ -%TypeHeaderCode -#include -%End - - -public: - -%If ( KDE_3_1_4 - ) - virtual bool process (const QCString&, const QByteArray&, QCString&, QByteArray&); - QCStringList functions (); - QCStringList interfaces (); -%End - - -protected: - KDirNotify (); - ~KDirNotify (); - -public: - virtual void FilesAdded (const KURL&) = 0; - virtual void FilesRemoved (const KURL::List&) = 0; - virtual void FilesChanged (const KURL::List&) = 0; - virtual void FileRenamed (const KURL&, const KURL&); - -protected: -//igx virtual void virtual_hook (int, void*); - -}; // class KDirNotify - diff --git a/python/pykde/sip/kio/kdirwatch.sip b/python/pykde/sip/kio/kdirwatch.sip deleted file mode 100644 index 41867dd3..00000000 --- a/python/pykde/sip/kio/kdirwatch.sip +++ /dev/null @@ -1,96 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kio version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KDirWatch : QObject -{ -%TypeHeaderCode -#include -%End - - -public: - KDirWatch (QObject* /TransferThis/ = 0, const char* = 0); - void addDir (const QString&, bool = 0, bool = 0); - void addFile (const QString&); - QDateTime ctime (const QString&); - void removeDir (const QString&); - void removeFile (const QString&); - bool stopDirScan (const QString&); - bool restartDirScan (const QString&); - void startScan (bool = 0, bool = 0); - void stopScan (); - bool isStopped (); - bool contains (const QString&) const; - static void statistics (); - void setCreated (const QString&); - void setDirty (const QString&); - void setDeleted (const QString&); - -%If ( KDE_3_5_1 - ) - - enum Method - { - FAM, - DNotify, - Stat, - INotify - }; - -%End - - -%If ( KDE_3_2_0 - ) - KDirWatch::Method internalMethod (); -%End - - static KDirWatch* self (); - -%If ( KDE_3_1_0 - ) - static bool exists (); -%End - - -signals: - void dirty (const QString&); - void created (const QString&); - void deleted (const QString&); - -public: - -%If ( KDE_3_2_0 - KDE_3_5_1 ) - - enum Method - { - FAM, - DNotify, - Stat - }; - -%End - - -}; // class KDirWatch - diff --git a/python/pykde/sip/kio/kemailsettings.sip b/python/pykde/sip/kio/kemailsettings.sip deleted file mode 100644 index 8041d0b8..00000000 --- a/python/pykde/sip/kio/kemailsettings.sip +++ /dev/null @@ -1,84 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kio version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KEMailSettings -{ -%TypeHeaderCode -#include -%End - - -public: - - enum Setting - { - ClientProgram, - ClientTerminal, - RealName, - EmailAddress, - ReplyToAddress, - Organization, - OutServer, - OutServerLogin, - OutServerPass, - OutServerType, - OutServerCommand, - OutServerTLS, - InServer, - InServerLogin, - InServerPass, - InServerType, - InServerMBXType, - InServerTLS - }; - - - enum Extension - { - POP3, - SMTP, - OTHER - }; - - KEMailSettings (); - QStringList profiles () const; - QString currentProfileName () const; - void setProfile (const QString&); - QString defaultProfileName () const; - void setDefault (const QString&); - QString getSetting (KEMailSettings::Setting); - void setSetting (KEMailSettings::Setting, const QString&); - -public: - -%If ( - KDE_3_2_0 ) -//ig QString getExtendedSetting (KEMailSettings::Extension, const QString&); -//ig void setExtendedSetting (KEMailSettings::Extension, const QString&, const QString&); -%End - - -}; // class KEMailSettings - diff --git a/python/pykde/sip/kio/kfilefilter.sip b/python/pykde/sip/kio/kfilefilter.sip deleted file mode 100644 index cbe65618..00000000 --- a/python/pykde/sip/kio/kfilefilter.sip +++ /dev/null @@ -1,81 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kio version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KFileFilter -{ -%TypeHeaderCode -#include -%End - - -public: - virtual bool passesFilter (const KFileItem*) const = 0; - -protected: -//igx virtual void virtual_hook (int, void*); - -}; // class KFileFilter - - -class KSimpleFileFilter : KFileFilter -{ -%TypeHeaderCode -#include -%End - - -public: - KSimpleFileFilter (); - virtual void setFilterDotFiles (bool); - bool filterDotFiles () const; - virtual void setFilterSpecials (bool); - bool filterSpecials () const; - -%If ( KDE_3_1_0 - ) - void setNameFilters (const QString&, bool, const QChar& = ' '); -%End - - virtual void setNameFilters (const QString&); - virtual void setMimeFilters (const QStringList&); - QStringList mimeFilters () const; - virtual void setModeFilter (mode_t); - mode_t modeFilter () const; - virtual bool passesFilter (const KFileItem*) const; - -protected: - -protected: -//igx virtual void virtual_hook (int, void*); - -public: - -%If ( - KDE_3_2_0 ) -//ig QString nameFilters () const; -%End - - -}; // class KSimpleFileFilter - diff --git a/python/pykde/sip/kio/kfileitem.sip b/python/pykde/sip/kio/kfileitem.sip deleted file mode 100644 index 3bba31c3..00000000 --- a/python/pykde/sip/kio/kfileitem.sip +++ /dev/null @@ -1,171 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kio version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KFileItem -{ -%TypeHeaderCode -#include -%End - - -public: - - enum - { - Unknown - }; - - KFileItem (const KIO::UDSEntry&, const KURL&, bool = 0, bool = 0); - KFileItem (mode_t, mode_t, const KURL&, bool = 0); - KFileItem (const KURL&, const QString&, mode_t); - KFileItem (const KFileItem&); - void refresh (); - void refreshMimeType (); - const KURL& url () const; - void setURL (const KURL&); - -%If ( KDE_3_2_0 - ) - void setName (const QString&); -%End - - mode_t permissions () const; - QString permissionsString () const; - -%If ( KDE_3_5_0 - ) - bool hasExtendedACL () const; - KACL ACL () const; - KACL defaultACL () const; -%End - - mode_t mode () const; - QString user () const; - QString group () const; - bool isLink () const; - bool isDir () const; - bool isFile () const; - bool isReadable () const; - -%If ( KDE_3_4_0 - ) - bool isWritable () const; -%End - - -%If ( KDE_3_3_0 - ) - bool isHidden () const; -%End - - QString linkDest () const; - -%If ( KDE_3_4_0 - ) - QString localPath () const; -%End - - KIO::filesize_t size () const; - -%If ( KDE_3_5_0 - ) - KIO::filesize_t size (bool& /Out/) const /PyName=sizeAndExists/; -%End - - time_t time (uint) const; - -%If ( KDE_3_5_0 - ) - time_t time (uint, bool& /Out/) const /PyName=timeAndHasTime/; -%End - - QString timeString (uint = KIO ::UDS_MODIFICATION_TIME ) const; - bool isLocalFile () const; - const QString& text () const; - const QString& name (bool = 0) const; - QString mimetype () const; - KMimeType::Ptr determineMimeType (); - KMimeType::Ptr mimeTypePtr (); - bool isMimeTypeKnown () const; - QString mimeComment (); - QString iconName (); - QPixmap pixmap (int, int = 0) const; - int overlays () const; - QString getStatusBarInfo (); - QString getToolTipText (int = 6); - bool acceptsDrops (); - void run (); - const KIO::UDSEntry& entry () const; - bool isMarked () const; - void mark (); - void unmark (); - bool cmp (const KFileItem&); -//ig virtual void setExtraData (const void*, void*); -//ig virtual const void* extraData (const void*) const; -//ig virtual void removeExtraData (const void*); - void setMetaInfo (const KFileMetaInfo&); - -%If ( KDE_3_5_0 - ) - void setFileMode (mode_t); - void setMimeType (const QString&); -%End - - const KFileMetaInfo& metaInfo (bool = 1, int = KFileMetaInfo ::Fastest ) const; - void assign (const KFileItem&); - -%If ( KDE_3_4_3 - ) - void setUDSEntry (const KIO::UDSEntry&, const KURL&, bool = 0, bool = 0); -%End - - -%If ( KDE_3_4_0 - ) - KURL mostLocalURL (bool&) const; -%End - - -protected: - void init (bool); - -%If ( KDE_3_4_3 - ) - void readUDSEntry (bool); -%End - - QString parsePermissions (mode_t) const; - -protected: -//igx virtual void virtual_hook (int, void*); - -}; // class KFileItem - -typedef QPtrList KFileItemList; - -%If ( KDE_3_1_4 - ) -//ig typedef QPtrListIterator KFileItemListIterator; - -%If ( KDE_3_2_0 - ) -//igx QDataStream& operator << (QDataStream&, const KFileItem&); -//igx QDataStream& operator >> (QDataStream&, KFileItem&); -%End - -%End - - -%If ( - KDE_3_1_4 ) -//ig typedef QListIterator KFileItemListIterator; -%End diff --git a/python/pykde/sip/kio/kfilemetainfo.sip b/python/pykde/sip/kio/kfilemetainfo.sip deleted file mode 100644 index 77b58718..00000000 --- a/python/pykde/sip/kio/kfilemetainfo.sip +++ /dev/null @@ -1,458 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kio version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KFileMimeTypeInfo -{ -%TypeHeaderCode -#include -%End - - -public: - KFileMimeTypeInfo (); - -%If ( KDE_3_3_0 - ) - - enum Attributes - { - Addable, - Removable, - Modifiable, - Cumulative, - Cummulative, - Averaged, - MultiLine, - SqueezeText - }; - -%End - - - enum Hint - { - NoHint, - Name, - Author, - Description, - Width, - Height, - Size, - Bitrate, - Length, - Hidden, - Thumbnail - }; - - -%If ( KDE_3_3_0 - ) - - enum Unit - { - NoUnit, - Seconds, - MilliSeconds, - BitsPerSecond, - Pixels, - Inches, - Centimeters, - Bytes, - FramesPerSecond, - DotsPerInch, - BitsPerPixel, - Hertz, - KiloBytes, - Millimeters - }; - -%End - - - class GroupInfo - { - - public: - QStringList supportedKeys () const; - const QString& name () const; - const QString& translatedName () const; - const KFileMimeTypeInfo::ItemInfo* itemInfo (const QString&) const; - uint attributes () const; - bool supportsVariableKeys () const; - const KFileMimeTypeInfo::ItemInfo* variableItemInfo () const; - - private: - GroupInfo (const QString&, const QString&); - - }; // class GroupInfo - - -public: - - class ItemInfo - { - - public: - ItemInfo (); - const QString& prefix () const; - const QString& suffix () const; - QVariant::Type type () const; - const QString& key () const; - -%If ( KDE_3_1_0 - ) - QString string (const QVariant&, bool = 1) const; -%End - - bool isVariableItem () const; - const QString& translatedKey () const; - uint attributes () const; - uint hint () const; - uint unit () const; - - private: - ItemInfo (const QString&, const QString&, QVariant::Type); - - }; // class ItemInfo - - -public: - QValidator* createValidator (const QString&, const QString&, QObject* /Transfer/ = 0, const char* = 0) const; - QStringList supportedGroups () const; - QStringList translatedGroups () const; - QStringList preferredGroups () const; - QString mimeType () const; - const KFileMimeTypeInfo::GroupInfo* groupInfo (const QString&) const; - QStringList supportedKeys () const; - QStringList preferredKeys () const; - KFileMimeTypeInfo::GroupInfo* addGroupInfo (const QString&, const QString&); - QString m_translatedName; - QStringList m_supportedKeys; - uint m_attr; -//ig QDict m_itemDict; - -protected: - KFileMimeTypeInfo (const QString&); - -public: - -%If ( KDE_3_1_0 - KDE_3_3_0 ) - - enum Attributes - { - Addable, - Removable, - Modifiable, - Cummulative, - Averaged, - MultiLine, - SqueezeText - }; - -%End - - -public: - -%If ( - KDE_3_1_0 ) - - enum Attributes - { - Addable, - Removable, - Modifiable, - Cummulative, - Averaged - }; - -%End - - -}; // class KFileMimeTypeInfo - - -class KFileMetaInfoItem -{ -%TypeHeaderCode -#include -%End - - -public: - typedef KFileMimeTypeInfo::Hint Hint; -//ig typedef KFileMimeTypeInfo::Unit Unit; - typedef KFileMimeTypeInfo::Attributes Attributes; - KFileMetaInfoItem (const KFileMimeTypeInfo::ItemInfo*, const QString&, const QVariant&); - KFileMetaInfoItem (const KFileMetaInfoItem&); - KFileMetaInfoItem (); - QString key () const; - QString translatedKey () const; - const QVariant& value () const; - QString string (bool = 1) const; - bool setValue (const QVariant&); - QVariant::Type type () const; - bool isEditable () const; - bool isRemoved () const; - bool isModified () const; - QString prefix () const; - QString suffix () const; - uint hint () const; -//ig uint unit () const; - uint attributes () const; - bool isValid () const; - -protected: - void setAdded (); - -%If ( KDE_3_1_0 - ) - void setRemoved (); -%End - - void ref (); - void deref (); - -}; // class KFileMetaInfoItem - - -class KFileMetaInfoGroup -{ -%TypeHeaderCode -#include -%End - - -public: - KFileMetaInfoGroup (const QString&, const KFileMimeTypeInfo*); - KFileMetaInfoGroup (const KFileMetaInfoGroup&); - KFileMetaInfoGroup (); - bool isValid () const; - bool isEmpty () const; - -%If ( KDE_3_1_0 - ) - bool isModified () const; - -%If ( KDE_3_1_4 - ) - KFileMetaInfoItem operator [] (const QString&) const; -%MethodCode -//returns (KFileMetaInfoItem) -//takes key | (QString) - sipRes = &((*sipCpp) [(const QString&) *a0]); -%End - -%End - -%End - - KFileMetaInfoItem item (const QString&) const; - KFileMetaInfoItem item (uint) const; - const QVariant value (const QString&) const; - QStringList supportedKeys () const; - bool supportsVariableKeys () const; - bool contains (const QString&) const; - QStringList keys () const; - QStringList preferredKeys () const; - KFileMetaInfoItem addItem (const QString&); - bool removeItem (const QString&); - QStringList removedItems (); - QString name () const; - -%If ( KDE_3_2_0 - ) - QString translatedName () const; -%End - - uint attributes () const; - -protected: - void setAdded (); - KFileMetaInfoItem appendItem (const QString&, const QVariant&); - void ref (); - void deref (); - -}; // class KFileMetaInfoGroup - - -class KFileMetaInfo -{ -%TypeHeaderCode -#include -%End - - -public: - typedef KFileMimeTypeInfo::Hint Hint; -//ig typedef KFileMimeTypeInfo::Unit Unit; - typedef KFileMimeTypeInfo::Attributes Attributes; - - enum What - { - Fastest, - DontCare, - TechnicalInfo, - ContentInfo, - ExtenedAttr, - Thumbnail, - Preferred, - Everything - }; - - KFileMetaInfo (const QString&, const QString& = QString ::null , uint = Fastest ); - -%If ( KDE_3_2_0 - ) - KFileMetaInfo (const KURL&, const QString& = QString ::null , uint = Fastest ); -%End - - KFileMetaInfo (); - KFileMetaInfo (const KFileMetaInfo&); - QStringList groups () const; - QStringList supportedGroups () const; - QStringList preferredGroups () const; - QStringList preferredKeys () const; - QStringList supportedKeys () const; - QStringList editableGroups () const; - KFileMetaInfoItem item (const QString&) const; - KFileMetaInfoItem item (const Hint) const; - KFileMetaInfoItem saveItem (const QString&, const QString& = QString ::null , bool = 1); - KFileMetaInfoGroup group (const QString&) const; - -%If ( KDE_3_1_4 - ) - KFileMetaInfoGroup operator [] (const QString&) const; -%MethodCode -//returns (KFileMetaInfoGroup) -//takes key | (QString) - sipRes = &((*sipCpp) [(const QString&)*a0]); -%End - -%End - - bool addGroup (const QString&); - bool removeGroup (const QString&); - QStringList removedGroups (); - bool applyChanges (); - -%If ( KDE_3_5_3 - ) - bool applyChanges (const QString&); -%End - - bool contains (const QString&) const; - bool containsGroup (const QString&) const; - const QVariant value (const QString&) const; - bool isValid () const; - bool isEmpty () const; - QString mimeType () const; - QString path () const; - -%If ( KDE_3_2_0 - ) - KURL url () const; -%End - - -protected: - KFileMetaInfoGroup appendGroup (const QString&); - KFilePlugin* plugin () const; - void ref (); - void deref (); - -}; // class KFileMetaInfo - - -class KFilePlugin : QObject -{ -%TypeHeaderCode -#include -%End - - -public: - KFilePlugin (QObject* /TransferThis/, const char*, const QStringList&); - virtual bool readInfo (KFileMetaInfo&, uint = KFileMetaInfo ::Fastest ) = 0; - virtual bool writeInfo (const KFileMetaInfo&) const; - virtual QValidator* createValidator (const QString&, const QString&, const QString&, QObject*, const char*) const; - -protected: - KFileMimeTypeInfo* addMimeTypeInfo (const QString&); - KFileMimeTypeInfo::GroupInfo* addGroupInfo (KFileMimeTypeInfo*, const QString&, const QString&) const; - void setAttributes (KFileMimeTypeInfo::GroupInfo*, uint) const; - void addVariableInfo (KFileMimeTypeInfo::GroupInfo*, QVariant::Type, uint) const; - KFileMimeTypeInfo::ItemInfo* addItemInfo (KFileMimeTypeInfo::GroupInfo*, const QString&, const QString&, QVariant::Type); - void setAttributes (KFileMimeTypeInfo::ItemInfo*, uint); - void setHint (KFileMimeTypeInfo::ItemInfo*, uint); - void setUnit (KFileMimeTypeInfo::ItemInfo*, uint); - void setPrefix (KFileMimeTypeInfo::ItemInfo*, const QString&); - void setSuffix (KFileMimeTypeInfo::ItemInfo*, const QString&); - KFileMetaInfoGroup appendGroup (KFileMetaInfo&, const QString&); - void appendItem (KFileMetaInfoGroup&, const QString&, QVariant); - -protected: -//igx virtual void virtual_hook (int, void*); - -}; // class KFilePlugin - - -class KFileMetaInfoProvider : QObject -{ -%TypeHeaderCode -#include -%End - - -public: - static KFileMetaInfoProvider* self (); - KFilePlugin* plugin (const QString&); - -%If ( KDE_3_4_0 - ) - KFilePlugin* plugin (const QString&, const QString&); -%End - - const KFileMimeTypeInfo* mimeTypeInfo (const QString&); - -%If ( KDE_3_4_0 - ) - const KFileMimeTypeInfo* mimeTypeInfo (const QString&, const QString&); -%End - - QStringList preferredKeys (const QString&) const; - QStringList preferredGroups (const QString&) const; - -%If ( KDE_3_1_0 - ) - QStringList supportedMimeTypes () const; -%End - - -protected: -//ig KFileMetaInfoProvider (); -//force - -private: - KFileMetaInfoProvider (); -//end - -}; // class KFileMetaInfoProvider - - -%If ( KDE_3_1_4 - ) -//igx QDataStream& operator << (QDataStream&, const KFileMetaInfoItem&); -//igx QDataStream& operator >> (QDataStream&, KFileMetaInfoItem&); -//igx QDataStream& operator << (QDataStream&, const KFileMetaInfoGroup&); -//igx QDataStream& operator >> (QDataStream&, KFileMetaInfoGroup&); -//igx QDataStream& operator << (QDataStream&, const KFileMetaInfo&); -//igx QDataStream& operator >> (QDataStream&, KFileMetaInfo&); -%End diff --git a/python/pykde/sip/kio/kfileshare.sip b/python/pykde/sip/kio/kfileshare.sip deleted file mode 100644 index 69c52361..00000000 --- a/python/pykde/sip/kio/kfileshare.sip +++ /dev/null @@ -1,87 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kio version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -//ig class KFileSharePrivate : QObject; - - -%If ( KDE_3_1_0 - ) - -class KFileShare -{ -%TypeHeaderCode -#include -%End - - -public: - static void readConfig (); - -%If ( KDE_3_3_0 - ) - static void readShareList (); -%End - - static bool isDirectoryShared (const QString&); - - enum Authorization - { - NotInitialized, - ErrorNotFound, - Authorized, - UserNotAllowed - }; - - static KFileShare::Authorization authorization (); - static QString findExe (const char*); - static bool setShared (const QString&, bool); - -%If ( KDE_3_3_0 - ) - - enum ShareMode - { - Simple, - Advanced - }; - - static bool sharingEnabled (); - static bool isRestricted (); - static QString fileShareGroup (); - static KFileShare::ShareMode shareMode (); - static bool sambaEnabled (); - static bool nfsEnabled (); -%End - - -public: - -%If ( - KDE_3_1_5 ) -//ig static bool setShared (const QString&, bool, bool); -%End - - -}; // class KFileShare - -%End - diff --git a/python/pykde/sip/kio/kfilterbase.sip b/python/pykde/sip/kio/kfilterbase.sip deleted file mode 100644 index bf931bc8..00000000 --- a/python/pykde/sip/kio/kfilterbase.sip +++ /dev/null @@ -1,74 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kio version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KFilterBase : QObject -{ -%TypeHeaderCode -#include -#include -%End - - -public: - KFilterBase (); - -%If ( KDE_3_1_2 - ) - void setDevice (QIODevice*, bool = 0); -%End - - QIODevice* device (); - virtual void init (int) = 0; - virtual int mode () const = 0; - virtual void terminate (); - virtual void reset (); - virtual bool readHeader () = 0; - virtual bool writeHeader (const QCString&) = 0; - virtual void setOutBuffer (char*, uint) = 0; - virtual void setInBuffer (const char*, uint) = 0; - virtual bool inBufferEmpty () const; - virtual int inBufferAvailable () const = 0; - virtual bool outBufferFull () const; - virtual int outBufferAvailable () const = 0; - - enum Result - { - OK, - END, - ERROR - }; - - virtual Result uncompress () = 0; - virtual KFilterBase::Result compress (bool) = 0; - static KFilterBase* findFilterByFileName (const QString&); - static KFilterBase* findFilterByMimeType (const QString&); - -protected: - -protected: -//igx virtual void virtual_hook (int, void*); - -}; // class KFilterBase - diff --git a/python/pykde/sip/kio/kfilterdev.sip b/python/pykde/sip/kio/kfilterdev.sip deleted file mode 100644 index 37bd1dc4..00000000 --- a/python/pykde/sip/kio/kfilterdev.sip +++ /dev/null @@ -1,73 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kio version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KFilterDev : QIODevice -{ -%TypeHeaderCode -#include -%End - - -public: - KFilterDev (KFilterBase*, bool); - virtual bool open (int); - virtual void close (); - virtual void flush (); - void setOrigFileName (const QCString&); - -%If ( KDE_3_1_0 - ) - void setSkipHeaders (); -%End - - virtual QIODevice::Offset size () const; - virtual QIODevice::Offset at () const; - virtual bool at (QIODevice::Offset); - virtual bool atEnd () const; -//ig virtual Q_LONG readBlock (char*, Q_ULONG); -//ig virtual Q_LONG writeBlock (const char*, Q_ULONG); - virtual int getch (); - virtual int putch (int); - virtual int ungetch (int); - static QIODevice* createFilterDevice (KFilterBase*, QFile*); - -public: - static QIODevice* deviceForFile (const QString&, const QString& = QString ::null , bool = 0); - static QIODevice* device (QIODevice*, const QString&); - -%If ( KDE_3_1_0 - ) - static QIODevice* device (QIODevice*, const QString&, bool); -%End - - -public: - -%If ( - KDE_3_2_2 ) - virtual long writeBlock (const char*, ulong); -%End - - -}; // class KFilterDev - diff --git a/python/pykde/sip/kio/kimageio.sip b/python/pykde/sip/kio/kimageio.sip deleted file mode 100644 index 879506f8..00000000 --- a/python/pykde/sip/kio/kimageio.sip +++ /dev/null @@ -1,59 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kio version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KImageIO -{ -%TypeHeaderCode -#include -%End - - -public: - - enum Mode - { - Reading, - Writing - }; - - static void registerFormats (); - static bool canWrite (const QString&); - static bool canRead (const QString&); - static QStringList types (KImageIO::Mode = Writing ); - static QString pattern (KImageIO::Mode = Reading ); - static QString suffix (const QString&); - -%If ( KDE_3_1_0 - ) - static QString typeForMime (const QString&); -%End - - static QString type (const QString&); - static QStringList mimeTypes (KImageIO::Mode = Writing ); - static bool isSupported (const QString&, KImageIO::Mode = Writing ); - static QString mimeType (const QString&); - -}; // class KImageIO - diff --git a/python/pykde/sip/kio/kio-kde310.diff b/python/pykde/sip/kio/kio-kde310.diff deleted file mode 100644 index 89a40fb8..00000000 --- a/python/pykde/sip/kio/kio-kde310.diff +++ /dev/null @@ -1,5 +0,0 @@ -+ %Include davjob.sip -+ %Include kar.sip -+ %Include kfileshare.sip -+ %Include kzip.sip -+ %Include metainfojob.sip diff --git a/python/pykde/sip/kio/kio-kde311.diff b/python/pykde/sip/kio/kio-kde311.diff deleted file mode 100644 index de04c4f2..00000000 --- a/python/pykde/sip/kio/kio-kde311.diff +++ /dev/null @@ -1,4 +0,0 @@ -+ %Include davjob.sip -+ %Include kar.sip -+ %Include kzip.sip -+ %Include metainfojob.sip diff --git a/python/pykde/sip/kio/kio-kde312.diff b/python/pykde/sip/kio/kio-kde312.diff deleted file mode 100644 index 89a40fb8..00000000 --- a/python/pykde/sip/kio/kio-kde312.diff +++ /dev/null @@ -1,5 +0,0 @@ -+ %Include davjob.sip -+ %Include kar.sip -+ %Include kfileshare.sip -+ %Include kzip.sip -+ %Include metainfojob.sip diff --git a/python/pykde/sip/kio/kio-kde313.diff b/python/pykde/sip/kio/kio-kde313.diff deleted file mode 100644 index 89a40fb8..00000000 --- a/python/pykde/sip/kio/kio-kde313.diff +++ /dev/null @@ -1,5 +0,0 @@ -+ %Include davjob.sip -+ %Include kar.sip -+ %Include kfileshare.sip -+ %Include kzip.sip -+ %Include metainfojob.sip diff --git a/python/pykde/sip/kio/kio-kde314.diff b/python/pykde/sip/kio/kio-kde314.diff deleted file mode 100644 index 89a40fb8..00000000 --- a/python/pykde/sip/kio/kio-kde314.diff +++ /dev/null @@ -1,5 +0,0 @@ -+ %Include davjob.sip -+ %Include kar.sip -+ %Include kfileshare.sip -+ %Include kzip.sip -+ %Include metainfojob.sip diff --git a/python/pykde/sip/kio/kio-kde315.diff b/python/pykde/sip/kio/kio-kde315.diff deleted file mode 100644 index 89a40fb8..00000000 --- a/python/pykde/sip/kio/kio-kde315.diff +++ /dev/null @@ -1,5 +0,0 @@ -+ %Include davjob.sip -+ %Include kar.sip -+ %Include kfileshare.sip -+ %Include kzip.sip -+ %Include metainfojob.sip diff --git a/python/pykde/sip/kio/kio-kde320.diff b/python/pykde/sip/kio/kio-kde320.diff deleted file mode 100644 index 51249444..00000000 --- a/python/pykde/sip/kio/kio-kde320.diff +++ /dev/null @@ -1,6 +0,0 @@ -+ %Include davjob.sip -+ %Include kar.sip -+ %Include kdcopservicestarter.sip -+ %Include kfileshare.sip -+ %Include kzip.sip -+ %Include metainfojob.sip diff --git a/python/pykde/sip/kio/kio-kde321.diff b/python/pykde/sip/kio/kio-kde321.diff deleted file mode 100644 index 51249444..00000000 --- a/python/pykde/sip/kio/kio-kde321.diff +++ /dev/null @@ -1,6 +0,0 @@ -+ %Include davjob.sip -+ %Include kar.sip -+ %Include kdcopservicestarter.sip -+ %Include kfileshare.sip -+ %Include kzip.sip -+ %Include metainfojob.sip diff --git a/python/pykde/sip/kio/kio-kde322.diff b/python/pykde/sip/kio/kio-kde322.diff deleted file mode 100644 index 51249444..00000000 --- a/python/pykde/sip/kio/kio-kde322.diff +++ /dev/null @@ -1,6 +0,0 @@ -+ %Include davjob.sip -+ %Include kar.sip -+ %Include kdcopservicestarter.sip -+ %Include kfileshare.sip -+ %Include kzip.sip -+ %Include metainfojob.sip diff --git a/python/pykde/sip/kio/kio-kde323.diff b/python/pykde/sip/kio/kio-kde323.diff deleted file mode 100644 index 51249444..00000000 --- a/python/pykde/sip/kio/kio-kde323.diff +++ /dev/null @@ -1,6 +0,0 @@ -+ %Include davjob.sip -+ %Include kar.sip -+ %Include kdcopservicestarter.sip -+ %Include kfileshare.sip -+ %Include kzip.sip -+ %Include metainfojob.sip diff --git a/python/pykde/sip/kio/kio-kde330.diff b/python/pykde/sip/kio/kio-kde330.diff deleted file mode 100644 index 901fbebe..00000000 --- a/python/pykde/sip/kio/kio-kde330.diff +++ /dev/null @@ -1,10 +0,0 @@ -+ %Include davjob.sip -+ %Include kar.sip -+ %Include kdcopservicestarter.sip -+ %Include kfileshare.sip -+ %Include kmimetypechooser.sip -+ %Include knfsshare.sip -+ %Include kremoteencoding.sip -+ %Include ksambashare.sip -+ %Include kzip.sip -+ %Include metainfojob.sip diff --git a/python/pykde/sip/kio/kio-kde331.diff b/python/pykde/sip/kio/kio-kde331.diff deleted file mode 100644 index 901fbebe..00000000 --- a/python/pykde/sip/kio/kio-kde331.diff +++ /dev/null @@ -1,10 +0,0 @@ -+ %Include davjob.sip -+ %Include kar.sip -+ %Include kdcopservicestarter.sip -+ %Include kfileshare.sip -+ %Include kmimetypechooser.sip -+ %Include knfsshare.sip -+ %Include kremoteencoding.sip -+ %Include ksambashare.sip -+ %Include kzip.sip -+ %Include metainfojob.sip diff --git a/python/pykde/sip/kio/kio-kde332.diff b/python/pykde/sip/kio/kio-kde332.diff deleted file mode 100644 index 901fbebe..00000000 --- a/python/pykde/sip/kio/kio-kde332.diff +++ /dev/null @@ -1,10 +0,0 @@ -+ %Include davjob.sip -+ %Include kar.sip -+ %Include kdcopservicestarter.sip -+ %Include kfileshare.sip -+ %Include kmimetypechooser.sip -+ %Include knfsshare.sip -+ %Include kremoteencoding.sip -+ %Include ksambashare.sip -+ %Include kzip.sip -+ %Include metainfojob.sip diff --git a/python/pykde/sip/kio/kio-kde340.diff b/python/pykde/sip/kio/kio-kde340.diff deleted file mode 100644 index 324b1d49..00000000 --- a/python/pykde/sip/kio/kio-kde340.diff +++ /dev/null @@ -1,11 +0,0 @@ -+ %Include davjob.sip -+ %Include forwardingslavebase.sip -+ %Include kar.sip -+ %Include kdcopservicestarter.sip -+ %Include kfileshare.sip -+ %Include kmimetypechooser.sip -+ %Include knfsshare.sip -+ %Include kremoteencoding.sip -+ %Include ksambashare.sip -+ %Include kzip.sip -+ %Include metainfojob.sip diff --git a/python/pykde/sip/kio/kio-kde341.diff b/python/pykde/sip/kio/kio-kde341.diff deleted file mode 100644 index 324b1d49..00000000 --- a/python/pykde/sip/kio/kio-kde341.diff +++ /dev/null @@ -1,11 +0,0 @@ -+ %Include davjob.sip -+ %Include forwardingslavebase.sip -+ %Include kar.sip -+ %Include kdcopservicestarter.sip -+ %Include kfileshare.sip -+ %Include kmimetypechooser.sip -+ %Include knfsshare.sip -+ %Include kremoteencoding.sip -+ %Include ksambashare.sip -+ %Include kzip.sip -+ %Include metainfojob.sip diff --git a/python/pykde/sip/kio/kio-kde342.diff b/python/pykde/sip/kio/kio-kde342.diff deleted file mode 100644 index 324b1d49..00000000 --- a/python/pykde/sip/kio/kio-kde342.diff +++ /dev/null @@ -1,11 +0,0 @@ -+ %Include davjob.sip -+ %Include forwardingslavebase.sip -+ %Include kar.sip -+ %Include kdcopservicestarter.sip -+ %Include kfileshare.sip -+ %Include kmimetypechooser.sip -+ %Include knfsshare.sip -+ %Include kremoteencoding.sip -+ %Include ksambashare.sip -+ %Include kzip.sip -+ %Include metainfojob.sip diff --git a/python/pykde/sip/kio/kio-kde343.diff b/python/pykde/sip/kio/kio-kde343.diff deleted file mode 100644 index 324b1d49..00000000 --- a/python/pykde/sip/kio/kio-kde343.diff +++ /dev/null @@ -1,11 +0,0 @@ -+ %Include davjob.sip -+ %Include forwardingslavebase.sip -+ %Include kar.sip -+ %Include kdcopservicestarter.sip -+ %Include kfileshare.sip -+ %Include kmimetypechooser.sip -+ %Include knfsshare.sip -+ %Include kremoteencoding.sip -+ %Include ksambashare.sip -+ %Include kzip.sip -+ %Include metainfojob.sip diff --git a/python/pykde/sip/kio/kio-kde350.diff b/python/pykde/sip/kio/kio-kde350.diff deleted file mode 100644 index 3d0cb015..00000000 --- a/python/pykde/sip/kio/kio-kde350.diff +++ /dev/null @@ -1,12 +0,0 @@ -+ %Include davjob.sip -+ %Include forwardingslavebase.sip -+ %Include kacl.sip -+ %Include kar.sip -+ %Include kdcopservicestarter.sip -+ %Include kfileshare.sip -+ %Include kmimetypechooser.sip -+ %Include knfsshare.sip -+ %Include kremoteencoding.sip -+ %Include ksambashare.sip -+ %Include kzip.sip -+ %Include metainfojob.sip diff --git a/python/pykde/sip/kio/kio-kde351.diff b/python/pykde/sip/kio/kio-kde351.diff deleted file mode 100644 index 3d0cb015..00000000 --- a/python/pykde/sip/kio/kio-kde351.diff +++ /dev/null @@ -1,12 +0,0 @@ -+ %Include davjob.sip -+ %Include forwardingslavebase.sip -+ %Include kacl.sip -+ %Include kar.sip -+ %Include kdcopservicestarter.sip -+ %Include kfileshare.sip -+ %Include kmimetypechooser.sip -+ %Include knfsshare.sip -+ %Include kremoteencoding.sip -+ %Include ksambashare.sip -+ %Include kzip.sip -+ %Include metainfojob.sip diff --git a/python/pykde/sip/kio/kio-kde352.diff b/python/pykde/sip/kio/kio-kde352.diff deleted file mode 100644 index 3d0cb015..00000000 --- a/python/pykde/sip/kio/kio-kde352.diff +++ /dev/null @@ -1,12 +0,0 @@ -+ %Include davjob.sip -+ %Include forwardingslavebase.sip -+ %Include kacl.sip -+ %Include kar.sip -+ %Include kdcopservicestarter.sip -+ %Include kfileshare.sip -+ %Include kmimetypechooser.sip -+ %Include knfsshare.sip -+ %Include kremoteencoding.sip -+ %Include ksambashare.sip -+ %Include kzip.sip -+ %Include metainfojob.sip diff --git a/python/pykde/sip/kio/kio-kde353.diff b/python/pykde/sip/kio/kio-kde353.diff deleted file mode 100644 index 3d0cb015..00000000 --- a/python/pykde/sip/kio/kio-kde353.diff +++ /dev/null @@ -1,12 +0,0 @@ -+ %Include davjob.sip -+ %Include forwardingslavebase.sip -+ %Include kacl.sip -+ %Include kar.sip -+ %Include kdcopservicestarter.sip -+ %Include kfileshare.sip -+ %Include kmimetypechooser.sip -+ %Include knfsshare.sip -+ %Include kremoteencoding.sip -+ %Include ksambashare.sip -+ %Include kzip.sip -+ %Include metainfojob.sip diff --git a/python/pykde/sip/kio/kiomod.sip b/python/pykde/sip/kio/kiomod.sip deleted file mode 100644 index 369a45dd..00000000 --- a/python/pykde/sip/kio/kiomod.sip +++ /dev/null @@ -1,107 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kio version KDE_3_5_2 - -%Copying - - This software is free software; you can redistribute it and/or - modify it under the terms of the GNU General Public License as - published by the Free Software Foundation; either version 2 of - the License, or (at your option) any later version. - - This software is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public - License along with this library; see the file COPYING. - If not, write to the Free Software Foundation, Inc., - 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - -%End - -%Module kio - -%Import qt/qtmod.sip -%Import qtxml/qtxmlmod.sip -%Import dcopmod.sip -%Import kdecoremod.sip -%Import kdefxmod.sip -%Import kdeuimod.sip - -%Include authinfo.sip -%Include chmodjob.sip -%Include connection.sip -%Include defaultprogress.sip -%Include global.sip -%Include job.sip -%Include jobclasses.sip -%Include karchive.sip -%Include kautomount.sip -%Include kdatatool.sip -%Include kdirlister.sip -%Include kdirnotify.sip -%Include kdirwatch.sip -%Include kemailsettings.sip -%Include kfilefilter.sip -%Include kfileitem.sip -%Include kfilemetainfo.sip -%Include kfilterbase.sip -%Include kfilterdev.sip -%Include kimageio.sip -%Include kmimemagic.sip -%Include kmimetype.sip -%Include kprotocolinfo.sip -%Include kprotocolmanager.sip -%Include krun.sip -%Include kscan.sip -%Include kservice.sip -%Include kservicegroup.sip -%Include kservicetype.sip -%Include kshellcompletion.sip -%Include kshred.sip -%Include ksycoca.sip -%Include ksycocaentry.sip -%Include ksycocafactory.sip -%Include ksycocatype.sip -%Include ktar.sip -%Include ktrader.sip -%Include kurifilter.sip -%Include kurlcompletion.sip -%Include kurlpixmapprovider.sip -%Include kuserprofile.sip -%Include netaccess.sip -%Include observer.sip -%Include passdlg.sip -%Include paste.sip -%Include previewjob.sip -%Include progressbase.sip -%Include renamedlg.sip -%Include renamedlgplugin.sip -%Include scheduler.sip -%Include sessiondata.sip -%Include skipdlg.sip -%Include slave.sip -%Include slavebase.sip -%Include slaveconfig.sip -%Include slaveinterface.sip -%Include statusbarprogress.sip -%Include tcpslavebase.sip -%Include thumbcreator.sip -%Include davjob.sip -%Include forwardingslavebase.sip -%Include kar.sip -%Include kdcopservicestarter.sip -%Include kfileshare.sip -%Include kmimetypechooser.sip -%Include knfsshare.sip -%Include kremoteencoding.sip -%Include ksambashare.sip -%Include kzip.sip -%Include metainfojob.sip diff --git a/python/pykde/sip/kio/kiomod.sip.in b/python/pykde/sip/kio/kiomod.sip.in deleted file mode 100644 index 84984ed5..00000000 --- a/python/pykde/sip/kio/kiomod.sip.in +++ /dev/null @@ -1,97 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kio version KDE_3_5_2 - -%Copying - - This software is free software; you can redistribute it and/or - modify it under the terms of the GNU General Public License as - published by the Free Software Foundation; either version 2 of - the License, or (at your option) any later version. - - This software is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public - License along with this library; see the file COPYING. - If not, write to the Free Software Foundation, Inc., - 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - -%End - -%Module kio - -%Import qt/qtmod.sip -%Import qtxml/qtxmlmod.sip -%Import dcopmod.sip -%Import kdecoremod.sip -%Import kdefxmod.sip -%Import kdeuimod.sip - -%Include authinfo.sip -%Include chmodjob.sip -%Include connection.sip -%Include defaultprogress.sip -%Include global.sip -%Include job.sip -%Include jobclasses.sip -%Include karchive.sip -%Include kautomount.sip -%Include kdatatool.sip -%Include kdirlister.sip -%Include kdirnotify.sip -%Include kdirwatch.sip -%Include kemailsettings.sip -%Include kfilefilter.sip -%Include kfileitem.sip -%Include kfilemetainfo.sip -%Include kfilterbase.sip -%Include kfilterdev.sip -%Include kimageio.sip -%Include kmimemagic.sip -%Include kmimetype.sip -%Include kprotocolinfo.sip -%Include kprotocolmanager.sip -%Include krun.sip -%Include kscan.sip -%Include kservice.sip -%Include kservicegroup.sip -%Include kservicetype.sip -%Include kshellcompletion.sip -%Include kshred.sip -%Include ksycoca.sip -%Include ksycocaentry.sip -%Include ksycocafactory.sip -%Include ksycocatype.sip -%Include ktar.sip -%Include ktrader.sip -%Include kurifilter.sip -%Include kurlcompletion.sip -%Include kurlpixmapprovider.sip -%Include kuserprofile.sip -%Include netaccess.sip -%Include observer.sip -%Include passdlg.sip -%Include paste.sip -%Include previewjob.sip -%Include progressbase.sip -%Include renamedlg.sip -%Include renamedlgplugin.sip -%Include scheduler.sip -%Include sessiondata.sip -%Include skipdlg.sip -%Include slave.sip -%Include slavebase.sip -%Include slaveconfig.sip -%Include slaveinterface.sip -%Include statusbarprogress.sip -%Include tcpslavebase.sip -%Include thumbcreator.sip -@mark@ diff --git a/python/pykde/sip/kio/kmimemagic.sip b/python/pykde/sip/kio/kmimemagic.sip deleted file mode 100644 index 0dc31c61..00000000 --- a/python/pykde/sip/kio/kmimemagic.sip +++ /dev/null @@ -1,74 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kio version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KMimeMagicResult -{ -%TypeHeaderCode -#include -%End - - -public: - KMimeMagicResult (); - const QString mimeType (); - int accuracy (); - bool isValid (); - void setMimeType (const QString&); - void setAccuracy (int); - void setInvalid (); - -protected: - -}; // class KMimeMagicResult - - -class KMimeMagic -{ -%TypeHeaderCode -#include -%End - - -public: - -%If ( KDE_3_1_0 - ) - KMimeMagic (); -%End - - KMimeMagic (const QString&); - bool mergeConfig (const QString&); - bool mergeBufConfig (char*); - void setFollowLinks (bool); - KMimeMagicResult* findFileType (const QString&); - KMimeMagicResult* findBufferType (const QByteArray&); - KMimeMagicResult* findBufferFileType (const QByteArray&, const QString&); - static KMimeMagic* self (); - -protected: - static void initStatic (); - -}; // class KMimeMagic - diff --git a/python/pykde/sip/kio/kmimetype.sip b/python/pykde/sip/kio/kmimetype.sip deleted file mode 100644 index 99b13d2f..00000000 --- a/python/pykde/sip/kio/kmimetype.sip +++ /dev/null @@ -1,432 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kio version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KMimeType : KServiceType -{ -%TypeHeaderCode -#include -%End - - -public: - - typedef KSharedPtr Ptr; - typedef QValueList List; - -public: - KMimeType (const QString&, const QString&, const QString&, const QString&, const QStringList&); - KMimeType (const QString&); - KMimeType (KDesktopFile*); - KMimeType (QDataStream&, int); - virtual QString icon (const QString&, bool) const; - virtual QString icon (const KURL&, bool) const; - virtual QPixmap pixmap (KIcon::Group, int = 0, int = 0, QString* = 0) const; - virtual QPixmap pixmap (const KURL&, KIcon::Group, int = 0, int = 0, QString* = 0) const; - static QPixmap pixmapForURL (const KURL&, mode_t = 0, KIcon::Group = KIcon ::Desktop , int = 0, int = 0, QString* = 0); - static QString iconForURL (const KURL&, mode_t = 0); - static QString favIconForURL (const KURL&); - QString comment () const; - virtual QString comment (const QString&, bool) const; - virtual QString comment (const KURL&, bool) const; - const QStringList& patterns () const; - virtual void load (QDataStream&); - virtual void save (QDataStream&); - virtual QVariant property (const QString&) const; - virtual QStringList propertyNames () const; - static KMimeType::Ptr mimeType (const QString&); - static KMimeType::Ptr findByURL (const KURL&, mode_t = 0, bool = 0, bool = 0); - -%If ( KDE_3_2_0 - ) - static KMimeType::Ptr findByURL (const KURL&, mode_t, bool, bool, bool*); -%End - - static KMimeType::Ptr findByPath (const QString&, mode_t = 0, bool = 0); - static KMimeType::Ptr findByContent (const QByteArray&, int* = 0); - static KMimeType::Ptr findByFileContent (const QString&, int* = 0); - -%If ( KDE_3_2_1 - ) - - class Format - { - - public: - bool text; - - enum - { - NoCompression, - GZipCompression - }; - -//ig int compression; - int dummy; - - }; // class Format - - -public: -%End - - -%If ( KDE_3_2_0 - ) -//ig static KMimeType::Format findFormatByFileContent (const QString&); -%End - - static KMimeType::List allMimeTypes (); - static const QString& defaultMimeType (); - -%If ( KDE_3_2_0 - ) - static KMimeType::Ptr defaultMimeTypePtr (); - QString parentMimeType () const; - bool is (const QString&) const; - static KMimeType::Ptr diagnoseFileName (const QString&, QString&); -%End - - -protected: - void loadInternal (QDataStream&); - void init (KDesktopFile*); - static void errorMissingMimeType (const QString&); - static void buildDefaultType (); - static void checkEssentialMimeTypes (); - -protected: - -%If ( KDE_3_2_0 - ) - int patternsAccuracy () const; -%End - - -protected: -//igx virtual void virtual_hook (int, void*); - -}; // class KMimeType - - -class KFolderType : KMimeType -{ -%TypeHeaderCode -#include -%End - - -public: - KFolderType (KDesktopFile*); - KFolderType (QDataStream&, int); - virtual QString icon (const QString&, bool) const; - virtual QString icon (const KURL&, bool) const; - virtual QString comment (const QString&, bool) const; - virtual QString comment (const KURL&, bool) const; - -protected: -//igx virtual void virtual_hook (int, void*); - -}; // class KFolderType - - -class KDEDesktopMimeType : KMimeType -{ -%TypeHeaderCode -#include -%End - - -public: - - enum ServiceType - { - ST_MOUNT, - ST_UNMOUNT, - ST_USER_DEFINED - }; - - - class Service - { - - public: - Service (); - -%If ( KDE_3_2_0 - ) - bool isEmpty () const; -%End - - QString m_strName; - QString m_strIcon; - QString m_strExec; - KDEDesktopMimeType::ServiceType m_type; - bool m_display; - - }; // class Service - - -public: - KDEDesktopMimeType (KDesktopFile*); - KDEDesktopMimeType (QDataStream&, int); - virtual QString icon (const QString&, bool) const; - virtual QString icon (const KURL&, bool) const; - virtual QPixmap pixmap (const KURL&, KIcon::Group, int = 0, int = 0, QString* = 0) const; - virtual QString comment (const QString&, bool) const; - virtual QString comment (const KURL&, bool) const; - static QValueList builtinServices (const KURL&); - static QValueList userDefinedServices (const QString&, bool); - -%If ( KDE_3_4_0 - ) - static QValueList userDefinedServices (const QString&, KConfig&, bool); - -%If ( KDE_3_5_0 - ) - static QValueList userDefinedServices (const QString&, KConfig&, bool, const KURL::List&); -%End - -%End - - static void executeService (const QString&, KDEDesktopMimeType::Service&); - static void executeService (const KURL::List&, KDEDesktopMimeType::Service&); - static pid_t run (const KURL&, bool); - -protected: - virtual QPixmap pixmap (KIcon::Group, int, int, QString*) const; - static pid_t runFSDevice (const KURL&, const KSimpleConfig&); - static pid_t runApplication (const KURL&, const QString&); - static pid_t runLink (const KURL&, const KSimpleConfig&); - static pid_t runMimeType (const KURL&, const KSimpleConfig&); - -protected: -//igx virtual void virtual_hook (int, void*); - -}; // class KDEDesktopMimeType - - -class KExecMimeType : KMimeType -{ -%TypeHeaderCode -#include -%End - - -public: - KExecMimeType (KDesktopFile*); - KExecMimeType (QDataStream&, int); - -protected: -//igx virtual void virtual_hook (int, void*); - -}; // class KExecMimeType - - - -%MappedType KMimeType::Ptr -//converts KMimeType -{ -%TypeHeaderCode -#include -#include -#include -%End - -%ConvertFromTypeCode - // Convert to a Python instance - - if (!sipCpp) - return NULL; - - KSharedPtr *cPtr = (KSharedPtr *)sipCpp; - KMimeType *cpp = new KMimeType (*cPtr->data ()); - PyObject *obj = sipConvertFromInstance (cpp, sipClass_KMimeType, sipTransferObj); - - return obj; -%End - -%ConvertToTypeCode - // Convert a Python instance to a Ptr on the heap. - - if (sipIsErr == NULL) - return PyInstance_Check(sipPy); - - int iserr = 0; - KMimeType *cpp = (KMimeType *)sipForceConvertTo_KMimeType (sipPy, &iserr); - - if (iserr) - { - *sipIsErr = 1; - return 0; - } - - *sipCppPtr = new KSharedPtr (cpp); - - return 1; -%End -}; - - -%MappedType QValueList -//converts a Python list of KDEDesktopMimeType.Service -{ -%TypeHeaderCode -#include -#include -#include -#include -%End - -%ConvertFromTypeCode - if (!sipCpp) - return PyList_New(0); - - // Create the list - PyObject *pylist; - if ((pylist = PyList_New(0)) == NULL) - return NULL; - - QValueList *cpplist = (QValueList *)sipCpp; - PyObject *inst; - - // Get it. - QValueList::Iterator it; - for( it = cpplist->begin(); it != cpplist->end(); ++it ) - { - if (((inst = sipBuildResult (NULL, "N", new KDEDesktopMimeType::Service (*it), sipClass_KDEDesktopMimeType_Service)) == NULL) - || PyList_Append (pylist, inst) < 0) - { - Py_DECREF (pylist); - return NULL; - } - } - - return pylist; -%End - - -%ConvertToTypeCode - if (sipIsErr == NULL) - return PyList_Check(sipPy); - - QValueList *cpplist = new QValueList; - - PyObject *elem; - KDEDesktopMimeType::Service *cpp; - int iserr = 0; - - for (int i = 0; i < PyList_Size (sipPy); i++) - { - elem = PyList_GET_ITEM (sipPy, i); - cpp = (KDEDesktopMimeType::Service *)sipForceConvertTo_KDEDesktopMimeType_Service (elem, &iserr); - - if (iserr) - { - *sipIsErr = 1; - delete cpplist; - return 0; - } - - cpplist->append (*cpp); - } - - *sipCppPtr = cpplist; - - return 1; -%End -}; - - -%MappedType QValueList -//converts a Python list of KMimeType -{ -%TypeHeaderCode -#include -#include -%End - -%ConvertFromTypeCode - // Convert to a Python list of Ptr (KMimeType). - - if (!sipCpp) - return PyList_New (0); - - PyObject *plist; - - // Create the list - - if ((plist = PyList_New(0)) == NULL) - return NULL; - - // Get it. - - QValueList *cList = (QValueList *)sipCpp; - PyObject *inst; - KMimeType *svc; - - QValueList::Iterator it; - for( it = cList->begin(); it != cList->end(); ++it ) - { - svc = new KMimeType (*(KMimeType *)((KMimeType::Ptr)(*it)).data ()); - inst = sipBuildResult (NULL, "N", svc, sipClass_KMimeType); - if ((inst == NULL) || (PyList_Append (plist, inst) < 0)) - { - Py_XDECREF (inst); - Py_DECREF (plist); - return NULL; - } - } - - return plist; -%End - -%ConvertToTypeCode - // Convert a Python list to List on the heap. - - if (sipIsErr == NULL) - return PyList_Check(sipPy); - - QValueList *cList = new QValueList; - PyObject *elem; - KMimeType *service; - int iserr = 0; - - for (int i = 0; i < PyList_Size (sipPy); i++) - { - elem = PyList_GET_ITEM (sipPy, i); - service = (KMimeType *)sipForceConvertTo_KMimeType (elem, &iserr); - - KMimeType::Ptr *ptr = new KMimeType::Ptr (service); - - if (iserr) - { - *sipIsErr = 1; - delete cList; - return 0; - } - - cList->append (*ptr); - } - - *sipCppPtr = cList; - - return 1; -%End -}; - - diff --git a/python/pykde/sip/kio/kmimetypechooser.sip b/python/pykde/sip/kio/kmimetypechooser.sip deleted file mode 100644 index b0a89870..00000000 --- a/python/pykde/sip/kio/kmimetypechooser.sip +++ /dev/null @@ -1,74 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kio version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -%If ( KDE_3_3_0 - ) - -class KMimeTypeChooser : QVBox -{ -%TypeHeaderCode -#include -%End - - -public: - - enum Visuals - { - Comments, - Patterns, - EditButton - }; - - KMimeTypeChooser (const QString& = QString ::null , const QStringList& = 0, const QString& = QString ::null , const QStringList& = QStringList (), int = Comments |Patterns |EditButton , QWidget* /TransferThis/ = 0, const char* = 0); - QStringList mimeTypes () const; - QStringList patterns () const; - -public slots: - void editMimeType (); - -}; // class KMimeTypeChooser - -%End - - -%If ( KDE_3_3_0 - ) - -class KMimeTypeChooserDialog : KDialogBase -{ -%TypeHeaderCode -#include -%End - - -public: - KMimeTypeChooserDialog (const QString& = QString ::null , const QString& = QString ::null , const QStringList& = QStringList (), const QString& = QString ::null , const QStringList& = QStringList (), int = KMimeTypeChooser ::Comments |KMimeTypeChooser ::Patterns |KMimeTypeChooser ::EditButton , QWidget* /TransferThis/ = 0, const char* = 0); - KMimeTypeChooserDialog (const QString&, const QString&, const QStringList&, const QString&, QWidget* /TransferThis/ = 0, const char* = 0); - KMimeTypeChooser* chooser (); - -}; // class KMimeTypeChooserDialog - -%End - diff --git a/python/pykde/sip/kio/knfsshare.sip b/python/pykde/sip/kio/knfsshare.sip deleted file mode 100644 index 6f36f021..00000000 --- a/python/pykde/sip/kio/knfsshare.sip +++ /dev/null @@ -1,51 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kio version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -%If ( KDE_3_3_0 - ) - -class KNFSShare : QObject -{ -%TypeHeaderCode -#include -%End - - -public: - static KNFSShare* instance (); - bool isDirectoryShared (const QString&) const; - QStringList sharedDirectories () const; - QString exportsPath () const; - -signals: - void changed (); - -private: - KNFSShare (); - -}; // class KNFSShare - -%End - diff --git a/python/pykde/sip/kio/kpac.sip b/python/pykde/sip/kio/kpac.sip deleted file mode 100644 index 75605146..00000000 --- a/python/pykde/sip/kio/kpac.sip +++ /dev/null @@ -1,44 +0,0 @@ -// -// Copyright 2003 Jim Bublitz -// Earlier copyrights 1998 - 2002 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kio version KDE_3_1_4 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KPAC -{ -%TypeHeaderCode -#include -%End - - -public: - virtual QString proxyForURL (const KURL&) = 0; - virtual bool init (const KURL&) = 0; - virtual bool discover () = 0; - virtual void badProxy (const QString&) = 0; - -protected: -//igx virtual void virtual_hook (int, void*); - -}; // class KPAC - diff --git a/python/pykde/sip/kio/kprotocolinfo.sip b/python/pykde/sip/kio/kprotocolinfo.sip deleted file mode 100644 index 738cb862..00000000 --- a/python/pykde/sip/kio/kprotocolinfo.sip +++ /dev/null @@ -1,288 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kio version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KProtocolInfo : KSycocaEntry -{ -%TypeHeaderCode -#include -%End - - -public: - typedef KSharedPtr Ptr; - -public: - KProtocolInfo (const QString&); - virtual bool isValid () const; - virtual QString name () const; - static QStringList protocols (); - static bool isKnownProtocol (const KURL&); - static bool isKnownProtocol (const QString&); - static QString exec (const QString&) /PyName=exec_/; - - enum Type - { - T_STREAM, - T_FILESYSTEM, - T_NONE, - T_ERROR - }; - - static KProtocolInfo::Type inputType (const KURL&); - static KProtocolInfo::Type outputType (const KURL&); - static QStringList listing (const KURL&); - -%If ( KDE_3_2_0 - ) - - class ExtraField - { - - public: - ExtraField (); - ExtraField (const QString&, const QString&); - QString name; - QString type; - - }; // class ExtraField - - -public: -%End - - -%If ( KDE_3_2_0 - ) - typedef QValueList ExtraFieldList; - static KProtocolInfo::ExtraFieldList extraFields (const KURL&); -%End - - static bool isSourceProtocol (const KURL&); - static bool isHelperProtocol (const KURL&); - static bool isHelperProtocol (const QString&); - static bool isFilterProtocol (const KURL&); - static bool isFilterProtocol (const QString&); - static bool supportsListing (const KURL&); - static bool supportsReading (const KURL&); - static bool supportsWriting (const KURL&); - static bool supportsMakeDir (const KURL&); - static bool supportsDeleting (const KURL&); - static bool supportsLinking (const KURL&); - static bool supportsMoving (const KURL&); - static bool canCopyFromFile (const KURL&); - static bool canCopyToFile (const KURL&); - -%If ( KDE_3_4_0 - ) - static bool canRenameFromFile (const KURL&); - static bool canRenameToFile (const KURL&); - static bool canDeleteRecursive (const KURL&); - - enum FileNameUsedForCopying - { - Name, - FromURL - }; - - static KProtocolInfo::FileNameUsedForCopying fileNameUsedForCopying (const KURL&); -%End - - static QString defaultMimetype (const KURL&); - static QString icon (const QString&); - static QString config (const QString&); - static int maxSlaves (const QString&); - static bool determineMimetypeFromExtension (const QString&); - -%If ( KDE_3_2_0 - ) - static QString docPath (const QString&); - static QString protocolClass (const QString&); - static bool showFilePreview (const QString&); - static KURL::URIMode uriParseMode (const QString&); - -%If ( KDE_3_3_0 - ) - static QStringList capabilities (const QString&); - static QString proxiedBy (const QString&); -%End - -%End - - -public: - KProtocolInfo (QDataStream&, int); - virtual void load (QDataStream&); - virtual void save (QDataStream&); - static Type inputType (const QString&); - static Type outputType (const QString&); - static QStringList listing (const QString&); - static bool isSourceProtocol (const QString&); - static bool supportsListing (const QString&); - static bool supportsReading (const QString&); - static bool supportsWriting (const QString&); - static bool supportsMakeDir (const QString&); - static bool supportsDeleting (const QString&); - static bool supportsLinking (const QString&); - static bool supportsMoving (const QString&); - static bool canCopyFromFile (const QString&); - static bool canCopyToFile (const QString&); - static QString defaultMimetype (const QString&); - -protected: - -%If ( KDE_3_5_1 - ) - bool canRenameFromFile () const; - bool canRenameToFile () const; - bool canDeleteRecursive () const; - KProtocolInfo::FileNameUsedForCopying fileNameUsedForCopying () const; -%End - - -%If ( KDE_3_4_0 - ) - static KProtocolInfo* findProtocol (const KURL&); -%End - - -protected: -//igx virtual void virtual_hook (int, void*); - -}; // class KProtocolInfo - - -%If ( KDE_3_2_0 - ) -//igx QDataStream& operator >> (QDataStream&, KProtocolInfo::ExtraField&); -//igx QDataStream& operator << (QDataStream&, const KProtocolInfo::ExtraField&); -%End - - -%MappedType KProtocolInfo::Ptr -//converts KProtocolInfo -{ -%TypeHeaderCode -#include -#include -#include -%End - -%ConvertFromTypeCode - // Convert to a Python instance - - if (!sipCpp) - return NULL; - - KSharedPtr *cPtr = new KSharedPtr(*(KSharedPtr *)sipCpp); - KProtocolInfo *cpp = cPtr->data (); - PyObject *obj = sipConvertFromInstance (cpp, sipClass_KProtocolInfo, sipTransferObj); - - return obj; -%End - -%ConvertToTypeCode - // Convert a Python instance to a Ptr on the heap. - - if (sipIsErr == NULL) - return PyInstance_Check(sipPy); - - int iserr = 0; - KProtocolInfo *cpp = (KProtocolInfo *)sipForceConvertTo_KProtocolInfo (sipPy, &iserr); - - if (iserr) - { - *sipIsErr = 1; - return 0; - } - - *sipCppPtr = new KSharedPtr (cpp); - - return 1; -%End -}; - - -%If (KDE_3_2_0 - ) -%MappedType QValueList -//converts a Python list of KProtocolInfo::ExtraField -{ -%TypeHeaderCode -#include -%End - -%ConvertFromTypeCode - if (!sipCpp) - return PyList_New(0); - - // Create the list - PyObject *pylist; - if ((pylist = PyList_New(0)) == NULL) - return NULL; - - QValueList *cpplist = (QValueList *)sipCpp; - PyObject *inst; - - // Get it. - QValueList::Iterator it; - for( it = cpplist->begin(); it != cpplist->end(); ++it ) - { - if (((inst = sipBuildResult (NULL, "N", new KProtocolInfo::ExtraField (*it), sipClass_KProtocolInfo_ExtraField)) == NULL) - || PyList_Append (pylist, inst) < 0) - { - Py_DECREF (pylist); - return NULL; - } - } - - return pylist; -%End - - -%ConvertToTypeCode - if (sipIsErr == NULL) - return PyList_Check(sipPy); - - QValueList *cpplist = new QValueList; - - PyObject *elem; - KProtocolInfo::ExtraField *cpp; - int iserr = 0; - - for (int i = 0; i < PyList_Size (sipPy); i++) - { - elem = PyList_GET_ITEM (sipPy, i); - cpp = (KProtocolInfo::ExtraField *)sipForceConvertTo_KProtocolInfo_ExtraField (elem, &iserr); - - if (iserr) - { - *sipIsErr = 1; - delete cpplist; - return 0; - } - - cpplist->append (*cpp); - } - - *sipCppPtr = cpplist; - - return 1; -%End -}; -%End - - diff --git a/python/pykde/sip/kio/kprotocolmanager.sip b/python/pykde/sip/kio/kprotocolmanager.sip deleted file mode 100644 index ba1da677..00000000 --- a/python/pykde/sip/kio/kprotocolmanager.sip +++ /dev/null @@ -1,99 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kio version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KProtocolManager -{ -%TypeHeaderCode -#include -%End - - -public: - static QString defaultUserAgent (); - static QString defaultUserAgent (const QString&); - static QString userAgentForHost (const QString&); - static int readTimeout (); - static int connectTimeout (); - static int proxyConnectTimeout (); - static int responseTimeout (); - static bool useProxy (); - static bool useReverseProxy (); - - enum ProxyType - { - NoProxy, - ManualProxy, - PACProxy, - WPADProxy, - EnvVarProxy - }; - - static KProtocolManager::ProxyType proxyType (); - - enum ProxyAuthMode - { - Prompt, - Automatic - }; - - static KProtocolManager::ProxyAuthMode proxyAuthMode (); - static QString noProxyFor (); - -%If ( KDE_3_5_1 - ) - static QString noProxyForRaw (); -%End - - static QString proxyFor (const QString&); - static QString proxyForURL (const KURL&); - static void badProxy (const QString&); - static QString proxyConfigScript (); - static bool useCache (); - static int maxCacheAge (); - static int maxCacheSize (); - static QString cacheDir (); - static KIO::CacheControl cacheControl (); - static bool autoResume (); - static bool markPartial (); - static int minimumKeepSize (); - -%If ( KDE_3_1_0 - ) - static bool persistentProxyConnection (); -%End - - static bool persistentConnections (); - static void reparseConfiguration (); - static QString slaveProtocol (const KURL&, QString&); - static KConfig* config (); - -public: - -%If ( - KDE_3_2_0 ) -//ig static int defaultConnectTimeout (); -%End - - -}; // class KProtocolManager - diff --git a/python/pykde/sip/kio/kremoteencoding.sip b/python/pykde/sip/kio/kremoteencoding.sip deleted file mode 100644 index 92a7f9c3..00000000 --- a/python/pykde/sip/kio/kremoteencoding.sip +++ /dev/null @@ -1,60 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kio version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -%If ( KDE_3_3_0 - ) - -class KRemoteEncoding -{ -%TypeHeaderCode -#include -%End - - -public: - KRemoteEncoding (const char* = 0); - QString decode (const QCString&) const; - QCString encode (const QString&) const; - QCString encode (const KURL&) const; - QCString directory (const KURL&, bool = 1) const; - QCString fileName (const KURL&) const; - const char* encoding () const; - -%If ( KDE_3_5_0 - ) - int encodingMib () const; -%End - - void setEncoding (const char*); - -protected: - virtual void virtual_hook (int, void*); - -private: - KRemoteEncoding (const KRemoteEncoding&); - -}; // class KRemoteEncoding - -%End - diff --git a/python/pykde/sip/kio/krun.sip b/python/pykde/sip/kio/krun.sip deleted file mode 100644 index ba4791ab..00000000 --- a/python/pykde/sip/kio/krun.sip +++ /dev/null @@ -1,206 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kio version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KRun : QObject -{ -%TypeHeaderCode -#include -%End - - -public: - KRun (const KURL&, mode_t = 0, bool = 0, bool = 1); - -%If ( KDE_3_2_0 - ) - KRun (const KURL&, QWidget*, mode_t = 0, bool = 0, bool = 1); -%End - - void abort (); - bool hasError () const; - bool hasFinished () const; - bool autoDelete () const; - void setAutoDelete (bool); - void setPreferredService (const QString&); - -%If ( KDE_3_2_0 - ) - void setRunExecutables (bool); - -%If ( KDE_3_4_0 - ) - void setEnableExternalBrowser (bool); - -%If ( KDE_3_5_3 - ) - void setSuggestedFileName (const QString&); -%End - - -%If ( KDE_3_5_2 - ) - static pid_t run (const KService&, const KURL::List&, QWidget*, bool = 0); -%End - -%End - -%End - - -%If ( KDE_3_1_0 - ) - static pid_t run (const KService&, const KURL::List&, bool); -%End - - static pid_t run (const KService&, const KURL::List&); - -%If ( KDE_3_5_3 - ) - static pid_t run (const KService&, const KURL::List&, QWidget*, bool, const QString&); -%End - - static pid_t run (const QString&, const KURL::List&, const QString& = QString ::null , const QString& = QString ::null , const QString& = QString ::null , const QString& = QString ::null ); - -%If ( KDE_3_2_0 - ) - static pid_t runURL (const KURL&, const QString&, bool, bool); -%End - - -%If ( KDE_3_1_0 - ) - static pid_t runURL (const KURL&, const QString&, bool); -%End - - static pid_t runURL (const KURL&, const QString&); - -%If ( KDE_3_5_3 - ) - static pid_t runURL (const KURL&, const QString&, bool, bool, const QString&); -%End - - static pid_t runCommand (QString); - static pid_t runCommand (const QString&, const QString&, const QString&); - -%If ( KDE_3_1_0 - ) - static bool displayOpenWithDialog (const KURL::List&, bool); -%End - - static bool displayOpenWithDialog (const KURL::List&); - -%If ( KDE_3_5_3 - ) - static bool displayOpenWithDialog (const KURL::List&, bool, const QString&); -%End - - static void shellQuote (QString&); - -%If ( KDE_3_1_0 - ) - static QStringList processDesktopExec (const KService&, const KURL::List&, bool, bool); -%End - - static QStringList processDesktopExec (const KService&, const KURL::List&, bool); - -%If ( KDE_3_5_3 - ) - static QStringList processDesktopExec (const KService&, const KURL::List&, bool, bool, const QString&); -%End - - -%If ( KDE_3_1_0 - ) - static QString binaryName (const QString&, bool); - -%If ( KDE_3_2_0 - ) - static bool isExecutable (const QString&); - -%If ( KDE_3_3_0 - ) - static bool isExecutableFile (const KURL&, const QString&); - -%If ( KDE_3_4_0 - ) - static bool checkStartupNotify (const QString&, const KService*, bool*, QCString*); -%End - -%End - -%End - -%End - - -signals: - void finished (); - void error (); - -protected slots: - void slotTimeout (); - void slotScanFinished (KIO::Job*); - void slotScanMimeType (KIO::Job*, const QString&); - virtual void slotStatResult (KIO::Job*); - -protected: - virtual void init (); - virtual void scanFile (); - virtual void foundMimeType (const QString&); - virtual void killJob (); - -protected: -//igx virtual void virtual_hook (int, void*); - -}; // class KRun - - -class KOpenWithHandler -{ -%TypeHeaderCode -#include -%End - - -public: - KOpenWithHandler (); - static bool exists (); - -}; // class KOpenWithHandler - - -class KProcessRunner : QObject -{ -%TypeHeaderCode -#include -%End - - -public: - static pid_t run (KProcess*, const QString&); - -%If ( KDE_3_1_4 - ) - static pid_t run (KProcess*, const QString&, const KStartupInfoId&); -%End - - pid_t pid () const; - -protected slots: - void slotProcessExited (KProcess*); - -private: - KProcessRunner (KProcess*, const QString&); - -%If ( KDE_3_1_4 - ) - KProcessRunner (KProcess*, const QString&, const KStartupInfoId&); -%End - - KProcessRunner (); - -}; // class KProcessRunner - diff --git a/python/pykde/sip/kio/ksambashare.sip b/python/pykde/sip/kio/ksambashare.sip deleted file mode 100644 index 3e57eea4..00000000 --- a/python/pykde/sip/kio/ksambashare.sip +++ /dev/null @@ -1,51 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kio version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -%If ( KDE_3_3_0 - ) - -class KSambaShare : QObject -{ -%TypeHeaderCode -#include -%End - - -public: - static KSambaShare* instance (); - bool isDirectoryShared (const QString&) const; - QStringList sharedDirectories () const; - QString smbConfPath () const; - -signals: - void changed (); - -private: - KSambaShare (); - -}; // class KSambaShare - -%End - diff --git a/python/pykde/sip/kio/kscan.sip b/python/pykde/sip/kio/kscan.sip deleted file mode 100644 index e6159e23..00000000 --- a/python/pykde/sip/kio/kscan.sip +++ /dev/null @@ -1,120 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kio version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KScanDialog : KDialogBase -{ -%TypeHeaderCode -#include -%End - - -public: - static KScanDialog* getScanDialog (QWidget* /Transfer/ = 0, const char* = 0, bool = 0); - virtual bool setup (); - -protected: - KScanDialog (int = Tabbed , int = Close |Help , QWidget* /TransferThis/ = 0, const char* = 0, bool = 0); - int id () const; - int nextId (); - -signals: - void preview (const QImage&, int); - void finalImage (const QImage&, int); - void textRecognized (const QString&, int); - -protected: -//igx virtual void virtual_hook (int, void*); - -}; // class KScanDialog - - -class KScanDialogFactory : KLibFactory -{ -%TypeHeaderCode -#include -%End - - -public: - virtual KScanDialog* createDialog (QWidget* /Transfer/ = 0, const char* = 0, bool = 0) = 0; - -protected: - KScanDialogFactory (QObject* /TransferThis/ = 0, const char* = 0); - virtual QObject* createObject (QObject* /Transfer/ = 0, const char* = 0, const char* = "QObject", const QStringList& = QStringList ()); - void setName (const QCString&); - KInstance* instance () const; - -protected: -//igx virtual void virtual_hook (int, void*); - -}; // class KScanDialogFactory - - -class KOCRDialog : KDialogBase -{ -%TypeHeaderCode -#include -%End - - -public: - static KOCRDialog* getOCRDialog (QWidget* /Transfer/ = 0, const char* = 0, bool = 0); - -protected: - KOCRDialog (int = Tabbed , int = Close |Help , QWidget* /TransferThis/ = 0, const char* = 0, bool = 0); - int id () const; - int nextId (); - -signals: - void textRecognized (const QString&, int); - -protected: -//igx virtual void virtual_hook (int, void*); - -}; // class KOCRDialog - - -class KOCRDialogFactory : KLibFactory -{ -%TypeHeaderCode -#include -%End - - -public: - virtual KOCRDialog* createDialog (QWidget* /Transfer/ = 0, const char* = 0, bool = 0) = 0; - -protected: - KOCRDialogFactory (QObject* /TransferThis/ = 0, const char* = 0); - virtual QObject* createObject (QObject* /Transfer/ = 0, const char* = 0, const char* = "QObject", const QStringList& = QStringList ()); - void setName (const QCString&); - KInstance* instance () const; - -protected: -//igx virtual void virtual_hook (int, void*); - -}; // class KOCRDialogFactory - diff --git a/python/pykde/sip/kio/kservice.sip b/python/pykde/sip/kio/kservice.sip deleted file mode 100644 index ddbc60ca..00000000 --- a/python/pykde/sip/kio/kservice.sip +++ /dev/null @@ -1,289 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kio version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KService : KSycocaEntry -{ -%TypeHeaderCode -#include -%End - - -public: -//ig typedef KSharedPtr Ptr; -//ig typedef QValueList List; - -public: - KService (const QString&, const QString&, const QString&); - KService (const QString&); - KService (KDesktopFile*); - KService (QDataStream&, int); - virtual QString type () /PyName=type_/; - virtual QString name () const; - QString exec () /PyName=exec_/; - QString library () const; - QString init () const; - QString icon () const; - QPixmap pixmap (KIcon::Group, int = 0, int = 0, QString* = 0) const; - bool terminal () const; - QString terminalOptions () const; - bool substituteUid () const; - QString username () const; - QString desktopEntryPath () const; - QString desktopEntryName () const; - -%If ( KDE_3_2_0 - ) - QString menuId () const; - QString storageId () const; -%End - - - enum DCOPServiceType_t - { - DCOP_None, - DCOP_Unique, - DCOP_Multi, - DCOP_Wait - }; - - DCOPServiceType_t DCOPServiceType () const; - QString path () const; - QString comment () const; - QString genericName () const; - -%If ( KDE_3_2_0 - ) - QString untranslatedGenericName () const; -%End - - QStringList keywords () const; - -%If ( KDE_3_1_0 - ) - QStringList categories () const; -%End - - QStringList serviceTypes () const; - bool hasServiceType (const QString&) const; - bool allowAsDefault () const; - bool allowMultipleFiles () const; - int initialPreference () const; - -%If ( KDE_3_2_0 - ) - int initialPreferenceForMimeType (const QString&) const; -%End - - void setInitialPreference (int); - bool noDisplay () const; - -%If ( KDE_3_1_0 - ) - QString parentApp () const; -%End - - virtual QVariant property (const QString&) const; - -%If ( KDE_3_2_0 - ) - QVariant property (const QString&, QVariant::Type) const; -%End - - virtual QStringList propertyNames () const; - bool isValid () const; - -%If ( KDE_3_2_0 - ) - QString locateLocal (); -%End - - virtual void load (QDataStream&); - virtual void save (QDataStream&); - -%If ( KDE_3_2_0 - ) - void setMenuId (const QString&); - void setTerminal (bool); - void setTerminalOptions (const QString&); -%End - - static KService::Ptr serviceByName (const QString&); - static KService::Ptr serviceByDesktopPath (const QString&); - static KService::Ptr serviceByDesktopName (const QString&); - -%If ( KDE_3_2_0 - ) - static KService::Ptr serviceByMenuId (const QString&); - static KService::Ptr serviceByStorageId (const QString&); -%End - - static KService::List allServices (); - static KService::List allInitServices (); - -%If ( KDE_3_2_0 - ) - static QString newServicePath (bool, const QString&, QString* = 0, const QStringList* = 0); - static void rebuildKSycoca (QWidget* /Transfer/); -%End - - -protected: - void init (KDesktopFile*); - QStringList& accessServiceTypes (); - -%If ( KDE_3_1_1 - ) - -private: - KService (const KService&); -%End - - -protected: -//igx virtual void virtual_hook (int, void*); - -}; // class KService - - - -%MappedType KService::Ptr -//converts KService -{ -%TypeHeaderCode -#include -#include -#include -//typedef KSharedPtr SvcPtr; -//typedef KService::Ptr SvcPtr; -%End - -%ConvertFromTypeCode - // Convert to a Python instance - - if (!sipCpp) - return NULL; - - KSharedPtr *cPtr = new KSharedPtr (*(KSharedPtr *)sipCpp); - KService *cpp = cPtr->data (); - PyObject *obj = sipConvertFromInstance (cpp, sipClass_KService, sipTransferObj); - - return obj; -%End - -%ConvertToTypeCode - // Convert a Python instance to a Ptr on the heap. - - if (sipIsErr == NULL) - return PyInstance_Check(sipPy); - - int iserr = 0; - KService *cpp = (KService *)sipForceConvertTo_KService (sipPy, &iserr); - - if (iserr) - { - *sipIsErr = 1; - return 0; - } - - *sipCppPtr = new KSharedPtr (cpp); - - return 1; -%End -}; - - -%MappedType KService::List -//converts a Python list of KService -{ -%TypeHeaderCode -#include -#include -#include -#include -//typedef KSharedPtr Ptr; -//typedef QValueList SvcList; -//typedef KService::List SvcList; -typedef QValueList List; -%End - -%ConvertFromTypeCode - // Convert to a Python list of Ptr (KService). -#define QUOTE "" - if (!sipCpp) - return PyList_New (0); - - PyObject *plist; - - // Create the list - if ((plist = PyList_New(0)) == NULL) - return NULL; - - // Get it. - KService::List *cList = (KService::List *)sipCpp; - PyObject *inst; - KSharedPtr *svc; - - KService::List::Iterator it; - for( it = cList->begin(); it != cList->end(); ++it ) - { - svc = &(KService::Ptr)(*it); - inst = sipConvertFrom_KService_Ptr (svc, sipTransferObj); - - if ((inst == NULL) || (PyList_Append (plist, inst) < 0)) - { - Py_XDECREF (inst); - Py_DECREF (plist); - return NULL; - } - } - - return plist; -%End - -%ConvertToTypeCode - // Convert a Python list to List on the heap. - if (sipIsErr == NULL) - return PyList_Check(sipPy); - - KService::List *cList = new KService::List; - - PyObject *elem; - KService *service; - int iserr = 0; - - for (int i = 0; i < PyList_Size (sipPy); i++) - { - elem = PyList_GET_ITEM (sipPy, i); - service = (KService *)sipForceConvertTo_KService (elem, &iserr); - - KService::Ptr *ptr = new KService::Ptr (service); - - if (iserr) - { - *sipIsErr = 1; - delete cList; - return 0; - } - - cList->append (*ptr); - } - - *sipCppPtr = cList; - - return 1; -%End -}; - - diff --git a/python/pykde/sip/kio/kservicegroup.sip b/python/pykde/sip/kio/kservicegroup.sip deleted file mode 100644 index 0206580a..00000000 --- a/python/pykde/sip/kio/kservicegroup.sip +++ /dev/null @@ -1,291 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kio version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KServiceGroup : KSycocaEntry -{ -%TypeHeaderCode -#include -%End - - -public: -//ig typedef KSharedPtr Ptr; -//ig typedef KSharedPtr SPtr; - -%If ( KDE_3_1_2 - ) -//ig typedef QValueList List; -%End - - -public: - -%If ( KDE_3_1_0 - ) - KServiceGroup (const QString&); -%End - - KServiceGroup (const QString&, const QString&); - KServiceGroup (QDataStream&, int, bool); - bool isValid () const; - virtual QString name () const; - virtual QString relPath () const; - QString caption () const; - QString icon () const; - QString comment () const; - int childCount (); - -%If ( KDE_3_1_0 - ) - bool noDisplay () const; - -%If ( KDE_3_5_0 - ) - bool showEmptyMenu () const; - void setShowEmptyMenu (bool); - bool showInlineHeader () const; - void setShowInlineHeader (bool); - bool inlineAlias () const; - void setInlineAlias (bool); - bool allowInline () const; - void setAllowInline (bool); - int inlineValue () const; - void setInlineValue (int); -%End - - -%If ( KDE_3_2_0 - ) - QStringList suppressGenericNames () const; - void setLayoutInfo (const QStringList&); - -%If ( KDE_3_3_0 - ) - QStringList layoutInfo () const; -%End - -%End - -%End - - virtual void load (QDataStream&); - virtual void save (QDataStream&); - -%If ( KDE_3_2_0 - ) - KServiceGroup::List entries (bool, bool, bool, bool = 0); -%End - - virtual KSycocaEntry::List entries (bool, bool); - -%If ( KDE_3_1_2 - ) - virtual KServiceGroup::List entries (bool = 0); -%End - - QString baseGroupName () const; - -%If ( KDE_3_2_0 - ) - QString directoryEntryPath () const; -%End - - static KServiceGroup::Ptr baseGroup (const QString&); - static KServiceGroup::Ptr root (); - static KServiceGroup::Ptr group (const QString&); - -%If ( KDE_3_1_0 - ) - static KServiceGroup::Ptr childGroup (const QString& /Transfer/); - -%If ( KDE_3_5_0 - ) - void parseAttribute (const QString&, bool&, bool&, bool&, bool&, int&); -%End - -%End - - -protected: - void addEntry (KSycocaEntry*); - -protected: -//igx virtual void virtual_hook (int, void*); - -public: - -%If ( - KDE_3_1_2 ) -//ig typedef QValueList List; -%End - - -}; // class KServiceGroup - - -%If ( KDE_3_2_0 - ) - -class KServiceSeparator : KSycocaEntry -{ -%TypeHeaderCode -#include -%End - - -public: -//ig typedef KSharedPtr Ptr; - -public: - KServiceSeparator (); - bool isValid () const; - virtual QString name () const; - virtual void load (QDataStream&); - virtual void save (QDataStream&); - -}; // class KServiceSeparator - -%End - - - -%MappedType KServiceGroup::Ptr -//converts KServiceGroup -{ -%TypeHeaderCode -#include -#include -#include -%End - -%ConvertFromTypeCode - // Convert to a Python instance - - if (!sipCpp) - return NULL; - - KSharedPtr *cPtr = new KSharedPtr (*(KSharedPtr *)sipCpp); - KServiceGroup *cpp = cPtr->data (); - PyObject *obj = sipConvertFromInstance (cpp, sipClass_KServiceGroup, sipTransferObj); - - return obj; -%End - -%ConvertToTypeCode - // Convert a Python instance to a Ptr on the heap. - - if (sipIsErr == NULL) - return PyInstance_Check(sipPy); - - int iserr = 0; - KServiceGroup *cpp = (KServiceGroup *)sipForceConvertTo_KServiceGroup (sipPy, &iserr); - - if (iserr) - { - *sipIsErr = 1; - return 0; - } - - *sipCppPtr = new KSharedPtr (cpp); - - return 1; -%End -}; - - -%If (KDE_3_1_2 - ) -%MappedType KServiceGroup::List -//converts a Python list of KServiceGroup -{ -%TypeHeaderCode -#include -#include -#include -#include -#include -#include -#include -%End - -%ConvertFromTypeCode - // Convert to a Python list of Ptr (KService). - - if (!sipCpp) - return PyList_New (0); - - PyObject *plist; - - // Create the list - - if ((plist = PyList_New(0)) == NULL) - return NULL; - - // Get it. - - KServiceGroup::List *cList = (KServiceGroup::List *)sipCpp; - PyObject *inst; - KSharedPtr *svcGroupType; - - KServiceGroup::List::Iterator it; - for( it = cList->begin(); it != cList->end(); ++it ) - { - svcGroupType = &(KServiceGroup::SPtr)(*it); - inst = sipConvertFrom_KSycocaEntry_Ptr (svcGroupType, sipTransferObj); - - if ((inst == NULL) || (PyList_Append (plist, inst) < 0)) - { - Py_XDECREF (inst); - Py_DECREF (plist); - return NULL; - } - } - - return plist; -%End - -%ConvertToTypeCode - // Convert a Python list to List on the heap. - - if (sipIsErr == NULL) - return PyList_Check(sipPy); - - KServiceGroup::List *cList = new KServiceGroup::List; - - PyObject *elem; - KSycocaEntry *service; - int iserr = 0; - - for (int i = 0; i < PyList_Size (sipPy); i++) - { - elem = PyList_GET_ITEM (sipPy, i); - service = (KSycocaEntry *)sipForceConvertTo_KSycocaEntry (elem, &iserr); - - if (iserr) - { - *sipIsErr = 1; - delete cList; - return 0; - } - - KServiceGroup::SPtr *ptr = new KServiceGroup::SPtr (service); - cList->append (*ptr); - } - - *sipCppPtr = cList; - - return 1; -%End -}; -%End - - diff --git a/python/pykde/sip/kio/kservicetype.sip b/python/pykde/sip/kio/kservicetype.sip deleted file mode 100644 index d3b4b32f..00000000 --- a/python/pykde/sip/kio/kservicetype.sip +++ /dev/null @@ -1,292 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kio version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KServiceType : KSycocaEntry -{ -%TypeHeaderCode -#include -%End - - -public: - typedef KSharedPtr Ptr; - typedef QValueList List; - -public: - KServiceType (const QString&, const QString&, const QString&, const QString&); - KServiceType (const QString&); - KServiceType (KDesktopFile*); - KServiceType (QDataStream&, int); - QString icon () const; - QString comment () const; - QString name () const; - QString desktopEntryPath () const; - bool isDerived () const; - QString parentServiceType () const; - -%If ( KDE_3_1_0 - ) - bool inherits (const QString&) const; -%End - - virtual QVariant property (const QString&) const; - virtual QStringList propertyNames () const; - bool isValid () const; - virtual QVariant::Type propertyDef (const QString&) const; - virtual QStringList propertyDefNames () const; - virtual const QMap& propertyDefs () const; - virtual void save (QDataStream&); - virtual void load (QDataStream&); - -%If ( KDE_3_2_0 - ) - KServiceType::Ptr parentType (); - void addService (KService::Ptr); - KService::List services (); -%End - - static KServiceType::Ptr serviceType (const QString&); - static KService::List offers (const QString&); - static KServiceType::List allServiceTypes (); - -protected: - void init (KDesktopFile*); - -protected: - -protected: -//igx virtual void virtual_hook (int, void*); - -}; // class KServiceType - - - -%MappedType KServiceType::Ptr -//converts KServiceType -{ -%TypeHeaderCode -#include -#include -#include -%End - -%ConvertFromTypeCode - // Convert to a Python instance - - if (!sipCpp) - return NULL; - - KServiceType::Ptr *cPtr = new KServiceType::Ptr (*(KServiceType::Ptr *)sipCpp); - KServiceType *cpp = cPtr->data (); - PyObject *obj = sipConvertFromInstance (cpp, sipClass_KServiceType, sipTransferObj); - - return obj; -%End - -%ConvertToTypeCode - // Convert a Python instance to a Ptr on the heap. - - if (sipIsErr == NULL) - return PyInstance_Check(sipPy); - - int iserr = 0; - KServiceType *cpp = (KServiceType *)sipForceConvertTo_KServiceType (sipPy, &iserr); - - if (iserr) - { - *sipIsErr = 1; - return 0; - } - - *sipCppPtr = new KServiceType::Ptr (cpp); - - return 1; -%End -}; - - -%MappedType QMap -//converts a Python dict of QString:QVariant -{ -%TypeHeaderCode -#include -#include -#include -%End - -%ConvertFromTypeCode - // Convert to a Python dict - - if (!sipCpp) - return PyDict_New(); - - PyObject *dict; - - // Create the dictionary. - - if ((dict = PyDict_New()) == NULL) - return NULL; - - // Get it. - - const QMap cppmap = *sipCpp; - QMap::ConstIterator it; - - for (it = cppmap.begin (); it != cppmap.end (); ++it) - { - QString acpp = it.key (); - int bcpp = (int) it.data (); - PyObject *ainst; - PyObject *binst = PyInt_FromLong (bcpp); - if (((ainst = sipBuildResult (NULL, "N", new QString (acpp), sipClass_QString)) == NULL) - || (PyDict_SetItem (dict, ainst, binst) < 0)) - { - Py_XDECREF (ainst); - Py_XDECREF (binst); - Py_DECREF (dict); - return NULL; - } - } - - return dict; -%End - - -%ConvertToTypeCode - // Convert a Python dictionary to a QMap on the heap. - - if (sipIsErr == NULL) - return PyDict_Check(sipPy); - - - QMap *cppmap = new QMap; - - PyObject *aelem, *belem; - int pos = 0; - QString *acpp; - QVariant::Type bcpp; - - while (PyDict_Next(sipPy, &pos, &aelem, &belem)) - { - int iserr = 0; - - if (!PyInt_Check (belem) || iserr) - { - *sipIsErr = 1; - delete cppmap; - return 0; - } - - acpp = (QString *)sipForceConvertTo_QString (aelem, &iserr); - bcpp = (QVariant::Type) PyInt_AS_LONG(belem); - - cppmap->insert (*acpp, bcpp); - } - - *sipCppPtr = cppmap; - - return 1; -%End -}; - - -%MappedType QValueList -//converts a Python list of KServiceType -{ -%TypeHeaderCode -#include -#include -#include -%End - -%ConvertFromTypeCode - // Convert to a Python list of Ptr (KServiceType). - - if (!sipCpp) - return PyList_New (0); - - PyObject *plist; - - // Create the list - if ((plist = PyList_New(0)) == NULL) - return NULL; - - // Get it. - QValueList *cList = (QValueList *)sipCpp; - PyObject *inst; - KSharedPtr *svc; - - QValueList::Iterator it; - for( it = cList->begin(); it != cList->end(); ++it ) - { - svc = &(KServiceType::Ptr)(*it); - inst = sipConvertFrom_KServiceType_Ptr (svc, sipTransferObj); - - if ((inst == NULL) || (PyList_Append (plist, inst) < 0)) - { - Py_XDECREF (inst); - Py_DECREF (plist); - return NULL; - } - } - - return plist; -%End - -%ConvertToTypeCode - // Convert a Python list to List on the heap. - - if (sipIsErr == NULL) - return PyList_Check(sipPy); - - QValueList *cList = new QValueList; - - PyObject *elem; - KServiceType *service; - int iserr = 0; - - for (int i = 0; i < PyList_Size (sipPy); i++) - { - elem = PyList_GET_ITEM (sipPy, i); - service = (KServiceType *)sipForceConvertTo_KServiceType (elem, &iserr); - - KServiceType::Ptr *ptr = new KServiceType::Ptr (service); - - if (iserr) - { - *sipIsErr = 1; - delete cList; - return 0; - } - - cList->append (*ptr); - } - - *sipCppPtr = cList; - - return 1; -%End -}; - - diff --git a/python/pykde/sip/kio/kshellcompletion.sip b/python/pykde/sip/kio/kshellcompletion.sip deleted file mode 100644 index 2ada63c1..00000000 --- a/python/pykde/sip/kio/kshellcompletion.sip +++ /dev/null @@ -1,47 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kio version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KShellCompletion : KURLCompletion -{ -%TypeHeaderCode -#include -%End - - -public: - KShellCompletion (); - QString makeCompletion (const QString&); - -protected: - void postProcessMatch (QString*); - void postProcessMatches (QStringList*); -//ig void postProcessMatches (KCompletionMatches*) const; - -protected: -//igx virtual void virtual_hook (int, void*); - -}; // class KShellCompletion - diff --git a/python/pykde/sip/kio/kshred.sip b/python/pykde/sip/kio/kshred.sip deleted file mode 100644 index e5277de8..00000000 --- a/python/pykde/sip/kio/kshred.sip +++ /dev/null @@ -1,49 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kio version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KShred : QObject -{ -%TypeHeaderCode -#include -%End - - -public: - KShred (QString); - bool fill1s (); - bool fill0s (); - bool fillbyte (uint); - bool fillrandom (); - bool fillpattern (uchar*, uint); - bool shred (); - static bool shred (QString); - -signals: - void processedSize (KIO::filesize_t); - void infoMessage (const QString&); - -}; // class KShred - diff --git a/python/pykde/sip/kio/ksycoca.sip b/python/pykde/sip/kio/ksycoca.sip deleted file mode 100644 index 32c960dd..00000000 --- a/python/pykde/sip/kio/ksycoca.sip +++ /dev/null @@ -1,171 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kio version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KSycoca : QObject, DCOPObject -{ -%TypeHeaderCode -#include -%End - - -public: - -%If ( KDE_3_1_4 - ) - virtual bool process (const QCString&, const QByteArray&, QCString&, QByteArray&); - QCStringList functions (); - QCStringList interfaces (); -%End - - -protected: - KSycoca (bool); - -public: - KSycoca (); - static KSycoca* self (); - -%If ( KDE_3_2_0 - ) - static int version (); -%End - - QDataStream* findEntry (int, KSycocaType& /Out/); - QDataStream* findFactory (KSycocaFactoryId); - QString kfsstnd_prefixes (); - QString language (); - ulong timeStamp (); - -%If ( KDE_3_1_0 - ) - ulong updateSignature (); - -%If ( KDE_3_2_0 - ) - QStringList allResourceDirs (); -%End - -%End - - void addFactory (KSycocaFactory*); - virtual bool isBuilding (); - -%If ( KDE_3_1_2 - ) - void disableAutoRebuild (); -%End - - static QString determineRelativePath (const QString&, const char*); - static bool isChanged (const char*); - -%If ( KDE_3_1_0 - ) - static void flagError (); - static bool readError (); -%End - - -public: - void notifyDatabaseChanged (const QStringList&); - -signals: - void databaseChanged (); - -protected: - bool checkVersion (bool = 1); - bool openDatabase (bool = 1); - void closeDatabase (); - -public: - -%If ( KDE_3_1_0 - ) -//ig KSycoca* _self; -%End - - -protected: -//igx virtual void virtual_hook (int, void*); - -//force -%ConvertToSubClassCode - // The table of Python class objects indexed by their names. The table - // must be sorted by name. - - static sipStringTypeClassMap map[] = { - {sipName_ChmodJob, &sipClass_KIO_ChmodJob}, - {sipName_Connection, &sipClass_KIO_Connection}, - {sipName_CopyJob, &sipClass_KIO_CopyJob}, -#if KDE_VERSION >= 0x030100 - {sipName_DavJob, &sipClass_KIO_DavJob}, -#endif - {sipName_DefaultProgress, &sipClass_KIO_DefaultProgress}, - {sipName_DeleteJob, &sipClass_KIO_DeleteJob}, - {sipName_FileCopyJob, &sipClass_KIO_FileCopyJob}, - {sipName_Job, &sipClass_KIO_Job}, - {sipName_KAutoMount, &sipClass_KAutoMount}, - {sipName_KAutoUnmount, &sipClass_KAutoUnmount}, - {sipName_KDataTool, &sipClass_KDataTool}, - {sipName_KDataToolAction, &sipClass_KDataToolAction}, - {sipName_KDirLister, &sipClass_KDirLister}, - {sipName_KDirWatch, &sipClass_KDirWatch}, - {sipName_KFileMetaInfoProvider, &sipClass_KFileMetaInfoProvider}, - {sipName_KFilePlugin, &sipClass_KFilePlugin}, - {sipName_KFilterBase, &sipClass_KFilterBase}, - {sipName_KOCRDialog, &sipClass_KOCRDialog}, - {sipName_KOCRDialogFactory, &sipClass_KOCRDialogFactory}, - {sipName_KProcessRunner, &sipClass_KProcessRunner}, - {sipName_KRun, &sipClass_KRun}, - {sipName_KScanDialog, &sipClass_KScanDialog}, - {sipName_KScanDialogFactory, &sipClass_KScanDialogFactory}, - {sipName_KShellCompletion, &sipClass_KShellCompletion}, - {sipName_KShred, &sipClass_KShred}, - {sipName_KSycoca, &sipClass_KSycoca}, - {sipName_KTrader, &sipClass_KTrader}, - {sipName_KURIFilterPlugin, &sipClass_KURIFilterPlugin}, - {sipName_KURLCompletion, &sipClass_KURLCompletion}, - {sipName_ListJob, &sipClass_KIO_ListJob}, -#if KDE_VERSION >= 0x030100 - {sipName_MetaInfoJob, &sipClass_KIO_MetaInfoJob}, -#endif - {sipName_MimetypeJob, &sipClass_KIO_MimetypeJob}, - {sipName_MultiGetJob, &sipClass_KIO_MultiGetJob}, - {sipName_NetAccess, &sipClass_KIO_NetAccess}, - {sipName_Observer, &sipClass_Observer}, - {sipName_PasswordDialog, &sipClass_KIO_PasswordDialog}, - {sipName_PreviewJob, &sipClass_KIO_PreviewJob}, - {sipName_ProgressBase, &sipClass_KIO_ProgressBase}, - {sipName_RenameDlgPlugin, &sipClass_RenameDlgPlugin}, - {sipName_Scheduler, &sipClass_KIO_Scheduler}, - {sipName_SessionData, &sipClass_KIO_SessionData}, - {sipName_SimpleJob, &sipClass_KIO_SimpleJob}, - {sipName_Slave, &sipClass_KIO_Slave}, - {sipName_SlaveConfig, &sipClass_KIO_SlaveConfig}, - {sipName_SlaveInterface, &sipClass_KIO_SlaveInterface}, - {sipName_StatJob, &sipClass_KIO_StatJob}, - {sipName_StatusbarProgress, &sipClass_KIO_StatusbarProgress}, - {sipName_TransferJob, &sipClass_KIO_TransferJob}, - }; - - sipClass = sipMapStringToClass(sipCpp -> className(),map,sizeof (map)/sizeof (map[0])); -%End -//end - -}; // class KSycoca - diff --git a/python/pykde/sip/kio/ksycocadict.sip b/python/pykde/sip/kio/ksycocadict.sip deleted file mode 100644 index 83497d2b..00000000 --- a/python/pykde/sip/kio/ksycocadict.sip +++ /dev/null @@ -1,51 +0,0 @@ -// -// Copyright 2004 Jim Bublitz -// Earlier copyrights 1998 - 2003 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kio version KDE_3_3_0 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -%If ( KDE_3_3_0 - ) - -class KSycocaDict -{ -%TypeHeaderCode -#include -%End - -public: - KSycocaDict (); - KSycocaDict (QDataStream*, int); - void add (const QString&, KSycocaEntry*); - void remove (const QString&); - int find_string (const QString&); - uint count (); - void clear (); - void save (QDataStream&); - -protected: - Q_UINT32 hashKey (const QString&); - -}; // class KSycocaDict - -%End - diff --git a/python/pykde/sip/kio/ksycocaentry.sip b/python/pykde/sip/kio/ksycocaentry.sip deleted file mode 100644 index 40d5bd38..00000000 --- a/python/pykde/sip/kio/ksycocaentry.sip +++ /dev/null @@ -1,213 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kio version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KSycocaEntry : KShared -{ -%TypeHeaderCode -#include -%End - - -public: - virtual bool isType (KSycocaType) const; - virtual KSycocaType sycocaType () const; - -public: -//ig typedef KSharedPtr Ptr; -//ig typedef QValueList List; - -public: - KSycocaEntry (const QString&); - -%If ( KDE_3_1_0 - ) - static void read (QDataStream&, QString&); - static void read (QDataStream&, QStringList&); -%End - - KSycocaEntry (QDataStream&, int); - virtual QString name () const = 0; - QString entryPath () const; - virtual bool isValid () const = 0; - virtual bool isDeleted () const; - int offset (); - virtual void save (QDataStream&); - virtual void load (QDataStream&) = 0; - -protected: - -protected: -//igx virtual void virtual_hook (int, void*); - -}; // class KSycocaEntry - - - -%MappedType KSycocaEntry::Ptr -//converts KSycocaEntry -{ -%TypeHeaderCode -#include -#include -#include -%End - -%ConvertFromTypeCode - // Convert to a Python instance - - if (!sipCpp) - return NULL; - - KSharedPtr *cPtr = new KSharedPtr (*(KSharedPtr *)sipCpp); - KSycocaEntry *cpp = cPtr->data (); - PyObject *obj = sipConvertFromInstance (cpp, sipClass_KSycocaEntry, sipTransferObj); - - return obj; -%End - -%ConvertToTypeCode - // Convert a Python instance to a Ptr on the heap. - - if (sipIsErr == NULL) - return PyInstance_Check(sipPy); - - int iserr = 0; - KSycocaEntry *cpp = (KSycocaEntry *)sipForceConvertTo_KSycocaEntry (sipPy, &iserr); - - if (iserr) - { - *sipIsErr = 1; - return 0; - } - - *sipCppPtr = new KSharedPtr (cpp); - - return 1; -%End -}; - - -%MappedType KSycocaEntry::List -//converts a Python list of KSycocaEntry -{ -%TypeHeaderCode -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -%End - -%ConvertFromTypeCode - // Convert to a Python list of Ptr (KService). - - if (!sipCpp) - return PyList_New (0); - - PyObject *plist; - - // Create the list - - if ((plist = PyList_New(0)) == NULL) - return NULL; - - // Get it. - - KSycocaEntry::List *cList = (KSycocaEntry::List *)sipCpp; - PyObject *inst; - KSharedPtr *svc; - KSharedPtr *svcType; - KSharedPtr *svcGroupType; - - KSycocaEntry::List::Iterator it; - for( it = cList->begin(); it != cList->end(); ++it ) - { - svc = &(KSycocaEntry::Ptr)(*it); - if (svc->data ()->sycocaType () == KST_KService) - { - svcType = (KSharedPtr *)svc; - inst = sipConvertFrom_KService_Ptr (svcType, sipTransferObj); - } - else if (svc->data ()->sycocaType () == KST_KServiceGroup) - { - svcGroupType = (KSharedPtr *) svc; - inst = sipConvertFrom_KServiceGroup_Ptr (svcGroupType, sipTransferObj); - } - else - inst = NULL; - - if ((inst == NULL) || (PyList_Append (plist, inst) < 0)) - { - Py_XDECREF (inst); - Py_DECREF (plist); - return NULL; - } - } - - return plist; -%End - -%ConvertToTypeCode - // Convert a Python list to List on the heap. - - if (sipIsErr == NULL) - return PyList_Check(sipPy); - - KSycocaEntry::List *cList = new KSycocaEntry::List; - - PyObject *elem; - KSycocaEntry *service; - int iserr = 0; - - for (int i = 0; i < PyList_Size (sipPy); i++) - { - elem = PyList_GET_ITEM (sipPy, i); - service = (KSycocaEntry *)sipForceConvertTo_KSycocaEntry (elem, &iserr); - - KSycocaEntry::Ptr *ptr = new KSycocaEntry::Ptr (service); - - if (iserr) - { - *sipIsErr = 1; - delete cList; - return 0; - } - - cList->append (*ptr); - } - - *sipCppPtr = cList; - - return 1; -%End -}; - - diff --git a/python/pykde/sip/kio/ksycocafactory.sip b/python/pykde/sip/kio/ksycocafactory.sip deleted file mode 100644 index 1e8d1628..00000000 --- a/python/pykde/sip/kio/ksycocafactory.sip +++ /dev/null @@ -1,63 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kio version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KSycocaFactory -{ -%TypeHeaderCode -#include -%End - - -public: - virtual KSycocaFactoryId factoryId () const = 0; - -protected: - KSycocaFactory (KSycocaFactoryId); - -public: - int offset (); -//ig KSycocaEntryDict* entryDict (); - virtual KSycocaEntry* createEntry (const QString&, const char*) = 0; - virtual void addEntry (KSycocaEntry*, const char*); - -%If ( KDE_3_2_0 - ) - void removeEntry (KSycocaEntry*); -%End - - virtual KSycocaEntry* createEntry (int) = 0; - KSycocaEntry::List allEntries (); - virtual void save (QDataStream&); - virtual void saveHeader (QDataStream&); -//ig virtual const KSycocaResourceList* resourceList () const; - -protected: - -protected: -//igx virtual void virtual_hook (int, void*); - -}; // class KSycocaFactory - -//ig typedef QDict KSycocaEntryDict; diff --git a/python/pykde/sip/kio/ksycocatype.sip b/python/pykde/sip/kio/ksycocatype.sip deleted file mode 100644 index 4babc21d..00000000 --- a/python/pykde/sip/kio/ksycocatype.sip +++ /dev/null @@ -1,76 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kio version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -%If ( KDE_3_2_1 - ) - -enum KSycocaType -{ - KST_KSycocaEntry, - KST_KService, - KST_KServiceType, - KST_KMimeType, - KST_KFolderType, - KST_KDEDesktopMimeType, - KST_KExecMimeType, - KST_KServiceGroup, - KST_KImageIOFormat, - KST_KProtocolInfo, - KST_KServiceSeparator, - KST_KCustom -}; - -%End - - -enum KSycocaFactoryId -{ - KST_KServiceFactory, - KST_KServiceTypeFactory, - KST_KServiceGroupFactory, - KST_KImageIO, - KST_KProtocolInfoFactory, - KST_CTimeInfo -}; - - -%If ( - KDE_3_2_1 ) - -enum KSycocaType -{ - KST_KSycocaEntry, - KST_KService, - KST_KServiceType, - KST_KMimeType, - KST_KFolderType, - KST_KDEDesktopMimeType, - KST_KExecMimeType, - KST_KServiceGroup, - KST_KImageIOFormat, - KST_KProtocolInfo, - KST_KCustom -}; - -%End diff --git a/python/pykde/sip/kio/ktar.sip b/python/pykde/sip/kio/ktar.sip deleted file mode 100644 index f67b4d1b..00000000 --- a/python/pykde/sip/kio/ktar.sip +++ /dev/null @@ -1,73 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kio version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KTar : KArchive -{ -%TypeHeaderCode -#include -%End - - -public: - KTar (const QString&, const QString& = QString ::null ); - KTar (QIODevice*); - QString fileName (); - void setOrigFileName (const QCString&); - -%If ( KDE_3_2_0 - ) - bool writeSymLink (const QString&, const QString&, const QString&, const QString&, mode_t, time_t, time_t, time_t); -%End - - virtual bool writeDir (const QString&, const QString&, const QString&); - -%If ( KDE_3_2_0 - ) - bool writeDir (const QString&, const QString&, const QString&, mode_t, time_t, time_t, time_t); -%End - - virtual bool prepareWriting (const QString&, const QString&, const QString&, uint); - -%If ( KDE_3_2_0 - ) - bool prepareWriting (const QString&, const QString&, const QString&, uint, mode_t, time_t, time_t, time_t); -%End - - virtual bool doneWriting (uint); - -protected: - virtual bool openArchive (int); - virtual bool closeArchive (); - -protected: -//igx virtual void virtual_hook (int, void*); - -%If ( KDE_3_2_0 - ) - bool prepareWriting_impl (const QString&, const QString&, const QString&, uint, mode_t, time_t, time_t, time_t); - bool writeDir_impl (const QString&, const QString&, const QString&, mode_t, time_t, time_t, time_t); - bool writeSymLink_impl (const QString&, const QString&, const QString&, const QString&, mode_t, time_t, time_t, time_t); -%End - - -}; // class KTar - diff --git a/python/pykde/sip/kio/ktrader.sip b/python/pykde/sip/kio/ktrader.sip deleted file mode 100644 index 9159dc55..00000000 --- a/python/pykde/sip/kio/ktrader.sip +++ /dev/null @@ -1,125 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kio version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KTrader : QObject -{ -%TypeHeaderCode -#include -%End - - -public: -//ig typedef QValueList OfferList; - -%If ( KDE_3_1_0 - ) -//ig typedef QValueListIterator OfferListIterator; -%End - - virtual KTrader::OfferList query (const QString&, const QString& = QString ::null , const QString& = QString ::null ) const; - KTrader::OfferList query (const QString&, const QString&, const QString&, const QString&) const; - static KTrader* self (); - -protected: - KTrader (); - -protected: -//igx virtual void virtual_hook (int, void*); - -}; // class KTrader - - - -%MappedType KTrader::OfferList -//converts a Python list of KService -{ -%TypeHeaderCode -#include -#include -#include -%End - -%ConvertFromTypeCode - if (!sipCpp) - return PyList_New(0); - - // Create the list - PyObject *pylist; - if ((pylist = PyList_New(0)) == NULL) - return NULL; - - QValueList *cpplist = (QValueList *)sipCpp; - PyObject *inst; - - // Get it. - QValueList::Iterator it; - for( it = cpplist->begin(); it != cpplist->end(); ++it ) - { - KService::Ptr cpp = *it; - inst = sipConvertFrom_KService_Ptr (&cpp, NULL); - - if (PyList_Append (pylist, inst) < 0) - { - Py_DECREF (pylist); - return NULL; - } - } - - return pylist; -%End - - -%ConvertToTypeCode - if (sipIsErr == NULL) - return PyList_Check(sipPy); - - QValueList *cpplist = new QValueList; - - PyObject *elem; - KService::Ptr *cpp; - int iserr = 0; - - for (int i = 0; i < PyList_Size (sipPy); i++) - { - elem = PyList_GET_ITEM (sipPy, i); - cpp = (KService::Ptr *)sipForceConvertTo_KService_Ptr (elem, &iserr); - - if (iserr) - { - *sipIsErr = 1; - delete cpplist; - return 0; - } - - cpplist->append (*cpp); - } - - *sipCppPtr = cpplist; - - return 1; -%End -}; - - diff --git a/python/pykde/sip/kio/kurifilter.sip b/python/pykde/sip/kio/kurifilter.sip deleted file mode 100644 index e9f8f21e..00000000 --- a/python/pykde/sip/kio/kurifilter.sip +++ /dev/null @@ -1,147 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kio version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KURIFilterData -{ -%TypeHeaderCode -#include -#include -%End - - -public: - - enum URITypes - { - NET_PROTOCOL, - LOCAL_FILE, - LOCAL_DIR, - EXECUTABLE, - HELP, - SHELL, - BLOCKED, - ERROR, - UNKNOWN - }; - - KURIFilterData (); - KURIFilterData (const KURL&); - KURIFilterData (const QString&); - KURIFilterData (const KURIFilterData&); - bool hasBeenFiltered () const; - KURL uri () const; - QString errorMsg () const; - URITypes uriType () const; - void setData (const QString&); - void setData (const KURL&); - bool setAbsolutePath (const QString&); - QString absolutePath () const; - bool hasAbsolutePath () const; - QString argsAndOptions () const; - bool hasArgsAndOptions () const; - QString iconName (); - -%If ( KDE_3_2_0 - ) - void setCheckForExecutables (bool); - bool checkForExecutables () const; - QString typedString () const; -%End - - -protected: - void init (const KURL&); - void init (const KURL& = KURL (QString ::null )) [void (QString&)]; -%MethodCode -//takes url | (KURL = KURL(QString.null)) - - Py_BEGIN_ALLOW_THREADS - if (a0 == 0) - sipCpp -> sipProtect_init(QString::null); - else - sipCpp -> sipProtect_init(*a0); - Py_END_ALLOW_THREADS -%End - - -}; // class KURIFilterData - - -class KURIFilterPlugin : QObject -{ -%TypeHeaderCode -#include -#include -%End - - -public: - KURIFilterPlugin (QObject* = 0, const char* = 0, double = 1.0); - virtual QString name () const; - virtual double priority () const; - virtual bool filterURI (KURIFilterData&) const = 0; - virtual KCModule* configModule (QWidget*, const char*) const; - virtual QString configName () const; - -protected: - void setFilteredURI (KURIFilterData&, const KURL&) const; - void setErrorMsg (KURIFilterData&, const QString&) const; - void setURIType (KURIFilterData&, KURIFilterData::URITypes) const; - void setArguments (KURIFilterData&, const QString&) const; - -protected: -//igx virtual void virtual_hook (int, void*); - -}; // class KURIFilterPlugin - - -class KURIFilter -{ -%TypeHeaderCode -#include -#include -%End - - -public: - static KURIFilter* self (); - bool filterURI (KURIFilterData&, const QStringList& = QStringList ()); - bool filterURI (KURL&, const QStringList& = QStringList ()); - bool filterURI (QString&, const QStringList& = QStringList ()); - KURL filteredURI (const KURL&, const QStringList& = QStringList ()); - QString filteredURI (const QString&, const QStringList& = QStringList ()); -//ig QPtrListIterator pluginsIterator () const; - -%If ( KDE_3_1_0 - ) - QStringList pluginNames () const; -%End - - -protected: - KURIFilter (); - void loadPlugins (); - -}; // class KURIFilter - diff --git a/python/pykde/sip/kio/kurlcompletion.sip b/python/pykde/sip/kio/kurlcompletion.sip deleted file mode 100644 index dc927df1..00000000 --- a/python/pykde/sip/kio/kurlcompletion.sip +++ /dev/null @@ -1,81 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kio version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KURLCompletion : KCompletion -{ -%TypeHeaderCode -#include -%End - - -public: - - enum Mode - { - ExeCompletion, - FileCompletion, - DirCompletion - }; - - KURLCompletion (); - KURLCompletion (KURLCompletion::Mode); - virtual QString makeCompletion (const QString&); - virtual void setDir (const QString&); - virtual QString dir (); - virtual bool isRunning (); - virtual void stop (); - virtual Mode mode (); - virtual void setMode (KURLCompletion::Mode); - virtual bool replaceEnv (); - virtual void setReplaceEnv (bool); - virtual bool replaceHome (); - virtual void setReplaceHome (bool); - QString replacedPath (const QString&); - -%If ( KDE_3_2_0 - ) - static QString replacedPath (const QString&, bool, bool = 1); -%End - - -protected: - void postProcessMatch (QString*); - void postProcessMatches (QStringList*); -//ig void postProcessMatches (KCompletionMatches*) const; - -%If ( KDE_3_3_0 - ) - virtual void customEvent (QCustomEvent*); -%End - - -protected slots: - void slotEntries (KIO::Job*, const KIO::UDSEntryList&); - void slotIOFinished (KIO::Job*); - -protected: -//igx virtual void virtual_hook (int, void*); - -}; // class KURLCompletion - diff --git a/python/pykde/sip/kio/kurlpixmapprovider.sip b/python/pykde/sip/kio/kurlpixmapprovider.sip deleted file mode 100644 index 3f2f336f..00000000 --- a/python/pykde/sip/kio/kurlpixmapprovider.sip +++ /dev/null @@ -1,41 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kio version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KURLPixmapProvider : KPixmapProvider -{ -%TypeHeaderCode -#include -%End - - -public: - virtual QPixmap pixmapFor (const QString&, int = 0); - -protected: -//igx virtual void virtual_hook (int, void*); - -}; // class KURLPixmapProvider - diff --git a/python/pykde/sip/kio/kuserprofile.sip b/python/pykde/sip/kio/kuserprofile.sip deleted file mode 100644 index 02586541..00000000 --- a/python/pykde/sip/kio/kuserprofile.sip +++ /dev/null @@ -1,224 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kio version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KServiceOffer -{ -%TypeHeaderCode -#include -%End - - -public: - KServiceOffer (); - KServiceOffer (const KServiceOffer&); - KServiceOffer (KService::Ptr, int, bool); - -%If ( KDE_3_1_4 - ) - bool operator < (const KServiceOffer&) const; -%End - - bool allowAsDefault () const; - int preference () const; - KService::Ptr service () const; - bool isValid () const; - -}; // class KServiceOffer - - -class KServiceTypeProfile -{ -%TypeHeaderCode -#include -%End - - -public: - typedef QValueList OfferList; - int preference (const QString&) const; - bool allowAsDefault (const QString&) const; - KServiceTypeProfile::OfferList offers () const; - static KService::Ptr preferredService (const QString&, const QString&); - static KServiceTypeProfile* serviceTypeProfile (const QString&, const QString&); - static KServiceTypeProfile::OfferList offers (const QString&, const QString&); - static const QPtrList& serviceTypeProfiles (); - static void clear (); - static void setConfigurationMode (); - static bool configurationMode (); - -protected: - KServiceTypeProfile (const QString&, const QString& = QString ::null ); - void addService (const QString&, int = 1, bool = 1); - -}; // class KServiceTypeProfile - - - -%MappedType KServiceTypeProfile::OfferList -//converts a Python list of KServiceOffer -{ -%TypeHeaderCode -#include -#include -#include -#include -%End - -%ConvertFromTypeCode - if (!sipCpp) - return PyList_New(0); - - // Create the list - PyObject *pylist; - if ((pylist = PyList_New(0)) == NULL) - return NULL; - - QValueList *cpplist = (QValueList *)sipCpp; - PyObject *inst; - - // Get it. - QValueList::Iterator it; - for( it = cpplist->begin(); it != cpplist->end(); ++it ) - { - if (((inst = sipBuildResult (NULL, "N", new KServiceOffer (*it), sipClass_KServiceOffer)) == NULL) - || PyList_Append (pylist, inst) < 0) - { - Py_DECREF (pylist); - return NULL; - } - } - - return pylist; -%End - -%ConvertToTypeCode - if (sipIsErr == NULL) - return PyList_Check(sipPy); - - QValueList *cpplist = new QValueList; - - PyObject *elem; - KServiceOffer *cpp; - int iserr = 0; - - for (int i = 0; i < PyList_Size (sipPy); i++) - { - elem = PyList_GET_ITEM (sipPy, i); - cpp = (KServiceOffer *)sipForceConvertTo_KServiceOffer (elem, &iserr); - - if (iserr) - { - *sipIsErr = 1; - delete cpplist; - return 0; - } - - cpplist->append (*cpp); - } - - *sipCppPtr = cpplist; - - return 1; -%End -}; - - -%MappedType QPtrList -//converts a Python list of KServiceTypeProfile -{ -%TypeHeaderCode -#include -#include -#include -//typedef QPtrList SvcTypeProfileList; -%End - -%ConvertFromTypeCode - // Convert to a Python list of KServiceTypeProfile - - if (!sipCpp) - return PyList_New (0); - - PyObject *plist; - - // Create the list - - if ((plist = PyList_New(0)) == NULL) - return NULL; - - // Get it. - - QPtrList *cList = (QPtrList *)sipCpp; - PyObject *inst; - KServiceTypeProfile *svc; - - for( svc = cList->first (); svc; svc = cList->next ()) - { - inst = sipConvertFromInstance (svc, sipClass_KServiceTypeProfile, sipTransferObj); - if ((inst == NULL) || (PyList_Append (plist, inst) < 0)) - { - Py_XDECREF (inst); - Py_DECREF (plist); - return NULL; - } - } - - return plist; -%End - -%ConvertToTypeCode - // Convert a Python list to SvcTypeProfileList on the heap. - - if (sipIsErr == NULL) - return PyList_Check(sipPy); - - QPtrList *cList = new QPtrList; - - PyObject *elem; - KServiceTypeProfile *service; - int iserr = 0; - - for (int i = 0; i < PyList_Size (sipPy); i++) - { - elem = PyList_GET_ITEM (sipPy, i); - service = (KServiceTypeProfile *)sipForceConvertTo_KServiceTypeProfile (elem, &iserr); - - if (iserr) - { - *sipIsErr = 1; - delete cList; - return 0; - } - - cList->append (service); - } - - *sipCppPtr = cList; - - return 1; -%End -}; - - diff --git a/python/pykde/sip/kio/kzip.sip b/python/pykde/sip/kio/kzip.sip deleted file mode 100644 index 184e64c9..00000000 --- a/python/pykde/sip/kio/kzip.sip +++ /dev/null @@ -1,120 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kio version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -%If ( KDE_3_1_0 - ) - -class KZip : KArchive -{ -%TypeHeaderCode -#include -%End - - -public: - KZip (const QString&); - KZip (QIODevice*); - QString fileName (); - -%If ( KDE_3_2_0 - ) - - enum ExtraField - { - NoExtraField, - ModificationTime, - DefaultExtraField - }; - - void setExtraField (KZip::ExtraField); - KZip::ExtraField extraField () const; -%End - - - enum Compression - { - NoCompression, - DeflateCompression - }; - - void setCompression (KZip::Compression); - KZip::Compression compression () const; - virtual bool writeFile (const QString&, const QString&, const QString&, uint, const char*); - virtual bool prepareWriting (const QString&, const QString&, const QString&, uint); - -%If ( KDE_3_2_0 - ) - bool writeSymLink (const QString&, const QString&, const QString&, const QString&, mode_t, time_t, time_t, time_t); - bool prepareWriting (const QString&, const QString&, const QString&, uint, mode_t, time_t, time_t, time_t); - bool writeFile (const QString&, const QString&, const QString&, uint, mode_t, time_t, time_t, time_t, const char*); -%End - - bool writeData (const char*, uint); - virtual bool doneWriting (uint); - -protected: - virtual bool openArchive (int); - virtual bool closeArchive (); - virtual bool writeDir (const QString&, const QString&, const QString&); - -protected: - virtual void virtual_hook (int, void*); - -%If ( KDE_3_2_0 - ) - bool writeData_impl (const char*, uint); - bool prepareWriting_impl (const QString&, const QString&, const QString&, uint, mode_t, time_t, time_t, time_t); - bool writeSymLink_impl (const QString&, const QString&, const QString&, const QString&, mode_t, time_t, time_t, time_t); -%End - - -}; // class KZip - -%End - - -%If ( KDE_3_1_0 - ) - -class KZipFileEntry : KArchiveFile -{ -%TypeHeaderCode -#include -%End - - -public: - KZipFileEntry (KZip*, const QString&, int, int, const QString&, const QString&, const QString&, const QString&, Q_LONG, Q_LONG, int, Q_LONG); - int encoding () const; - Q_LONG compressedSize () const; - void setCompressedSize (Q_LONG); - void setHeaderStart (Q_LONG); - Q_LONG headerStart () const; - ulong crc32 () const; - void setCRC32 (ulong); - QString path () const; - virtual QByteArray data () const; - QIODevice* device () const; - -}; // class KZipFileEntry - -%End - diff --git a/python/pykde/sip/kio/metainfojob.sip b/python/pykde/sip/kio/metainfojob.sip deleted file mode 100644 index 691cb186..00000000 --- a/python/pykde/sip/kio/metainfojob.sip +++ /dev/null @@ -1,63 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kio version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -%If ( KDE_3_1_0 - ) -namespace KIO -{ - -class MetaInfoJob : KIO::Job -{ -%TypeHeaderCode -#include -#include -#include -%End - - -public: - MetaInfoJob (const KFileItemList&, bool = 0); - void removeItem (const KFileItem*); - static QStringList availablePlugins (); - static QStringList supportedMimeTypes (); - -signals: - void gotMetaInfo (const KFileItem*); - void failed (const KFileItem*); - -protected: - void getMetaInfo (); - -protected slots: - virtual void slotResult (KIO::Job*); - -}; // class MetaInfoJob - -KIO::MetaInfoJob* fileMetaInfo (const KFileItemList&); -KIO::MetaInfoJob* fileMetaInfo (const KURL::List&); -}; // namespace KIO - -%End - diff --git a/python/pykde/sip/kio/netaccess.sip b/python/pykde/sip/kio/netaccess.sip deleted file mode 100644 index c4acb6eb..00000000 --- a/python/pykde/sip/kio/netaccess.sip +++ /dev/null @@ -1,128 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kio version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - -namespace KIO -{ - -class NetAccess : QObject -{ -%TypeHeaderCode -#include -%End - - -public: - -%If ( KDE_3_2_0 - ) - static bool download (const KURL&, QString&, QWidget*); -%End - - static bool download (const KURL&, QString&); - static void removeTempFile (const QString&); - -%If ( KDE_3_2_0 - ) - static bool upload (const QString&, const KURL&, QWidget*); -%End - - static bool upload (const QString&, const KURL&); - -%If ( KDE_3_2_0 - ) - static bool copy (const KURL&, const KURL&, QWidget*); -%End - - static bool copy (const KURL&, const KURL&); - -%If ( KDE_3_2_0 - ) - static bool file_copy (const KURL&, const KURL&, int = -1, bool = 0, bool = 0, QWidget* = 0); - static bool file_move (const KURL&, const KURL&, int = -1, bool = 0, bool = 0, QWidget* = 0); - static bool dircopy (const KURL&, const KURL&, QWidget*); -%End - - static bool dircopy (const KURL&, const KURL&); - -%If ( KDE_3_2_0 - ) - static bool dircopy (const KURL::List&, const KURL&, QWidget* = 0); - static bool move (const KURL&, const KURL&, QWidget* = 0); - static bool move (const KURL::List&, const KURL&, QWidget* = 0); - static bool exists (const KURL&, bool, QWidget*); - static bool exists (const KURL&, QWidget*); -%End - - static bool exists (const KURL&); - -%If ( KDE_3_1_0 - ) - static bool exists (const KURL&, bool); - -%If ( KDE_3_2_0 - ) - static bool stat (const KURL&, KIO::UDSEntry&, QWidget*); -%End - -%End - - static bool stat (const KURL&, KIO::UDSEntry&); - -%If ( KDE_3_5_0 - ) - static KURL mostLocalURL (const KURL&, QWidget*); -%End - - -%If ( KDE_3_2_0 - ) - static bool del (const KURL&, QWidget*); -%End - - static bool del (const KURL&) /PyName=del_/; - -%If ( KDE_3_2_0 - ) - static bool mkdir (const KURL&, QWidget*, int = -1); -%End - - static bool mkdir (const KURL&, int = -1); - -%If ( KDE_3_2_0 - ) - static QString fish_execute (const KURL&, const QString, QWidget*); - -%If ( KDE_3_3_1 - ) - static bool synchronousRun (KIO::Job*, QWidget*, QByteArray* = 0, KURL* = 0, QMap* = 0); -%End - - static QString mimetype (const KURL&, QWidget*); -%End - -//ig static QString mimetype (const KURL&); - static QString lastErrorString (); - -%If ( KDE_3_3_0 - ) - static int lastError (); -%End - - -private: - NetAccess (); - ~NetAccess (); - -}; // class NetAccess - -}; // namespace KIO - diff --git a/python/pykde/sip/kio/observer.sip b/python/pykde/sip/kio/observer.sip deleted file mode 100644 index 0b6fb603..00000000 --- a/python/pykde/sip/kio/observer.sip +++ /dev/null @@ -1,96 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kio version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class Observer : QObject, DCOPObject -{ -%TypeHeaderCode -#include -%End - - -public: - -%If ( KDE_3_1_4 - ) - virtual bool process (const QCString&, const QByteArray&, QCString&, QByteArray&); - QCStringList functions (); - QCStringList interfaces (); -%End - - -public: - static Observer* self (); - int newJob (KIO::Job*, bool); - void jobFinished (int); - bool openPassDlg (const QString&, QString&, QString&, bool); - bool openPassDlg (KIO::AuthInfo&); - int messageBox (int, int, const QString&, const QString&, const QString&, const QString&); - -%If ( KDE_3_3_0 - ) - static int messageBox (int, int, const QString&, const QString&, const QString&, const QString&, const QString&); -%End - - KIO::RenameDlg_Result open_RenameDlg (KIO::Job*, const QString&, const QString&, const QString&, KIO::RenameDlg_Mode, QString&, KIO::filesize_t = -1, KIO::filesize_t = -1, time_t = -1, time_t = -1, time_t = -1, time_t = -1); - KIO::SkipDlg_Result open_SkipDlg (KIO::Job*, bool, const QString&); - -public: - void killJob (int); - KIO::MetaData metadata (int); - -protected: - Observer (); - ~Observer (); - -public slots: - void slotTotalSize (KIO::Job*, KIO::filesize_t); - void slotTotalFiles (KIO::Job*, ulong); - void slotTotalDirs (KIO::Job*, ulong); - void slotProcessedSize (KIO::Job*, KIO::filesize_t); - void slotProcessedFiles (KIO::Job*, ulong); - void slotProcessedDirs (KIO::Job*, ulong); - void slotSpeed (KIO::Job*, ulong); - void slotPercent (KIO::Job*, ulong); - void slotInfoMessage (KIO::Job*, const QString&); - void slotCopying (KIO::Job*, const KURL&, const KURL&); - void slotMoving (KIO::Job*, const KURL&, const KURL&); - void slotDeleting (KIO::Job*, const KURL&); - -%If ( KDE_3_1_0 - ) - void slotTransferring (KIO::Job*, const KURL&); -%End - - void slotCreatingDir (KIO::Job*, const KURL&); - void slotCanResume (KIO::Job*, KIO::filesize_t); - -public: - void stating (KIO::Job*, const KURL&); - void mounting (KIO::Job*, const QString&, const QString&); - void unmounting (KIO::Job*, const QString&); - -protected: -//igx virtual void virtual_hook (int, void*); - -}; // class Observer - diff --git a/python/pykde/sip/kio/passdlg.sip b/python/pykde/sip/kio/passdlg.sip deleted file mode 100644 index 434f40b6..00000000 --- a/python/pykde/sip/kio/passdlg.sip +++ /dev/null @@ -1,68 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kio version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - -namespace KIO -{ - -class PasswordDialog : KDialogBase -{ -%TypeHeaderCode -#include -%End - - -public: - PasswordDialog (const QString&, const QString&, bool = 0, bool = 1, QWidget* /TransferThis/ = 0, const char* = 0); - void setPrompt (const QString&); - void addCommentLine (const QString&, const QString); - QString password () const; - QString username () const; - bool keepPassword () const; - -%If ( KDE_3_2_0 - ) - void setKeepPassword (bool); -%End - - void setUserReadOnly (bool); - void setEnableUserField (bool, bool = 0); - -%If ( KDE_3_1_0 - ) - void setPassword (const QString&); - -%If ( KDE_3_4_0 - ) - void setKnownLogins (const QMap&); -%End - -%End - - static int getNameAndPassword (QString& /Out/, QString& /Out/, bool* /In, Out/, const QString& = QString ::null , bool = 0, const QString& = QString ::null , const QString& = QString ::null , const QString& = QString ::null ); - -protected: -//igx virtual void virtual_hook (int, void*); - -}; // class PasswordDialog - -}; // namespace KIO - diff --git a/python/pykde/sip/kio/paste.sip b/python/pykde/sip/kio/paste.sip deleted file mode 100644 index 2757894e..00000000 --- a/python/pykde/sip/kio/paste.sip +++ /dev/null @@ -1,56 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kio version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - -%ModuleHeaderCode -#include -%End - -namespace KIO -{ -KIO::Job* pasteClipboard (const KURL&, bool = 0); -void pasteData (const KURL&, const QByteArray&); - -%If ( KDE_3_2_0 - ) -KIO::CopyJob* pasteDataAsync (const KURL&, const QByteArray&); - -%If ( KDE_3_3_0 - ) -KIO::CopyJob* pasteDataAsync (const KURL&, const QByteArray&, const QString&); - -%If ( KDE_3_5_0 - ) -KIO::CopyJob* pasteMimeSource (QMimeSource*, const KURL&, const QString&, QWidget*, bool = 0); -%End - -%End - -%End - -bool isClipboardEmpty (); - -%If ( KDE_3_5_0 - ) -QString pasteActionText (); -%End - -}; // namespace KIO - diff --git a/python/pykde/sip/kio/previewjob.sip b/python/pykde/sip/kio/previewjob.sip deleted file mode 100644 index 8096b6f6..00000000 --- a/python/pykde/sip/kio/previewjob.sip +++ /dev/null @@ -1,72 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kio version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - -namespace KIO -{ - -class PreviewJob : KIO::Job -{ -%TypeHeaderCode -#include -%End - - -public: - PreviewJob (const KFileItemList&, int, int, int, int, bool, bool, const QStringList*, bool = 0); - void removeItem (const KFileItem*); - -%If ( KDE_3_4_0 - ) - void setIgnoreMaximumSize (bool = 1); -%End - - static QStringList availablePlugins (); - static QStringList supportedMimeTypes (); - -%If ( KDE_3_5_1 - ) - virtual void kill (bool = 1); -%End - - -signals: - void gotPreview (const KFileItem*, const QPixmap&); - void failed (const KFileItem*); - -protected: - void getOrCreateThumbnail (); - bool statResultThumbnail (); - void createThumbnail (QString); - -protected slots: - virtual void slotResult (KIO::Job*); - -protected: -//igx virtual void virtual_hook (int, void*); - -}; // class PreviewJob - -KIO::PreviewJob* filePreview (const KFileItemList&, int, int = 0, int = 0, int = 70, bool = 1, bool = 1, const QStringList* = 0); -KIO::PreviewJob* filePreview (const KURL::List&, int, int = 0, int = 0, int = 70, bool = 1, bool = 1, const QStringList* = 0); -}; // namespace KIO - diff --git a/python/pykde/sip/kio/progressbase.sip b/python/pykde/sip/kio/progressbase.sip deleted file mode 100644 index 0c6330ee..00000000 --- a/python/pykde/sip/kio/progressbase.sip +++ /dev/null @@ -1,95 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kio version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - -%ModuleHeaderCode -#include -%End - -namespace KIO -{ - -enum Progress -{ - DEFAULT, - STATUSBAR, - LIST -}; - - -class ProgressBase : QWidget -{ -%TypeHeaderCode -#include -%End - - -public: - ProgressBase (QWidget* /TransferThis/); - void setJob (KIO::Job*); - void setJob (KIO::CopyJob*); - void setJob (KIO::DeleteJob*); - void setStopOnClose (bool); - bool stopOnClose () const; - void setOnlyClean (bool); - bool onlyClean () const; - -%If ( KDE_3_1_0 - ) - void finished (); -%End - - -public slots: - void slotStop (); - virtual void slotClean (); - virtual void slotTotalSize (KIO::Job*, KIO::filesize_t); - virtual void slotTotalFiles (KIO::Job*, ulong); - virtual void slotTotalDirs (KIO::Job*, ulong); - virtual void slotProcessedSize (KIO::Job*, KIO::filesize_t); - virtual void slotProcessedFiles (KIO::Job*, ulong); - virtual void slotProcessedDirs (KIO::Job*, ulong); - virtual void slotSpeed (KIO::Job*, ulong); - virtual void slotPercent (KIO::Job*, ulong); - virtual void slotCopying (KIO::Job*, const KURL&, const KURL&); - virtual void slotMoving (KIO::Job*, const KURL&, const KURL&); - virtual void slotDeleting (KIO::Job*, const KURL&); - virtual void slotCreatingDir (KIO::Job*, const KURL&); - virtual void slotCanResume (KIO::Job*, KIO::filesize_t); - -signals: - void stopped (); - -protected slots: - void slotFinished (KIO::Job*); - -protected: - virtual void closeEvent (QCloseEvent*); - -protected: -//igx virtual void virtual_hook (int, void*); - -}; // class ProgressBase - -}; // namespace KIO - diff --git a/python/pykde/sip/kio/renamedlg.sip b/python/pykde/sip/kio/renamedlg.sip deleted file mode 100644 index 79c9bc1c..00000000 --- a/python/pykde/sip/kio/renamedlg.sip +++ /dev/null @@ -1,67 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kio version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - -%ModuleHeaderCode -#include -%End - -namespace KIO -{ - -enum RenameDlg_Mode -{ - M_OVERWRITE, - M_OVERWRITE_ITSELF, - M_SKIP, - M_SINGLE, - M_MULTI, - M_RESUME, - M_NORENAME -}; - - -enum RenameDlg_Result -{ - R_RESUME, - R_RESUME_ALL, - R_OVERWRITE, - R_OVERWRITE_ALL, - R_SKIP, - R_AUTO_SKIP, - R_RENAME, - R_CANCEL -}; - - -//ig class RenameDlg : QDialog; - -//ig KIO::RenameDlg_Result open_RenameDlg (const QString&, const QString&, const QString&, KIO::RenameDlg_Mode, QString&, KIO::filesize_t = (KIO ::filesize_t )-1 , KIO::filesize_t = (KIO ::filesize_t )-1 , time_t = -1 , time_t = -1 , time_t = -1 , time_t = -1 ); - -%If ( - KDE_3_1_5 ) -//ig KIO::RenameDlg_Result open_RenameDlg (const QString&, const QString&, const QString&, KIO::RenameDlg_Mode, QString&, ulong = -1, ulong = -1, time_t = -1, time_t = -1, time_t = -1, time_t = -1); -%End - -}; // namespace KIO - diff --git a/python/pykde/sip/kio/renamedlgplugin.sip b/python/pykde/sip/kio/renamedlgplugin.sip deleted file mode 100644 index 784dabf2..00000000 --- a/python/pykde/sip/kio/renamedlgplugin.sip +++ /dev/null @@ -1,39 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kio version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class RenameDlgPlugin : QWidget -{ -%TypeHeaderCode -#include -%End - - -public: - RenameDlgPlugin (QDialog*, const char*, const QStringList& = QStringList ()); - virtual bool initialize (KIO::RenameDlg_Mode, const QString&, const QString&, const QString&, const QString&, KIO::filesize_t, KIO::filesize_t, time_t, time_t, time_t, time_t); - -}; // class RenameDlgPlugin - diff --git a/python/pykde/sip/kio/scheduler.sip b/python/pykde/sip/kio/scheduler.sip deleted file mode 100644 index 31d3913b..00000000 --- a/python/pykde/sip/kio/scheduler.sip +++ /dev/null @@ -1,106 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kio version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - -namespace KIO -{ - -class Scheduler : QObject, DCOPObject -{ -%TypeHeaderCode -#include -%End - - -public: -//ig typedef QPtrList JobList; - static void doJob (KIO::SimpleJob*); - static void scheduleJob (KIO::SimpleJob*); - static void cancelJob (KIO::SimpleJob*); - static void jobFinished (KIO::SimpleJob*, KIO::Slave*); - static void putSlaveOnHold (KIO::SimpleJob*, const KURL&); - static void removeSlaveOnHold (); - static void publishSlaveOnHold (); -//doc -// There is no default value for config (KIO.MetaData) - pass an -// empty Python dict if you need the default value -//end - static KIO::Slave* getConnectedSlave (const KURL&, const KIO::MetaData&); - static bool assignJobToSlave (KIO::Slave*, KIO::SimpleJob*); - static bool disconnectSlave (KIO::Slave*); - -%If ( KDE_3_1_0 - ) - static void registerWindow (QWidget*); - -%If ( KDE_3_2_0 - ) - static void unregisterWindow (QObject*); -%End - -%End - - static bool connect (const char*, const QObject*, const char*); - static bool connect (const QObject*, const char*, const QObject*, const char*); - static bool disconnect (const QObject*, const char*, const QObject*, const char*); - bool connect (const QObject*, const char*, const char*); - static void checkSlaveOnHold (bool); - void debug_info (); - virtual bool process (const QCString&, const QByteArray&, QCString&, QByteArray&); - virtual QCStringList functions (); - -public slots: - void slotSlaveDied (KIO::Slave*); - void slotSlaveStatus (pid_t, const QCString&, const QString&, bool); - -signals: - void slaveConnected (KIO::Slave*); - void slaveError (KIO::Slave*, int, const QString&); - -protected: - void setupSlave (KIO::Slave*, const KURL&, const QString&, const QString&, bool, const KIO::MetaData* = 0); -//ig bool startJobScheduled (KIO::Scheduler::ProtocolInfo*); - bool startJobDirect (); - Scheduler (); - -protected slots: - void startStep (); - void slotCleanIdleSlaves (); - void slotSlaveConnected (); - void slotSlaveError (int, const QString&); - void slotScheduleCoSlave (); - -%If ( KDE_3_1_0 - ) - void slotUnregisterWindow (QObject*); -%End - - -private: - Scheduler (const KIO::Scheduler&); - -protected: -//igx virtual void virtual_hook (int, void*); - -}; // class Scheduler - -}; // namespace KIO - diff --git a/python/pykde/sip/kio/sessiondata.sip b/python/pykde/sip/kio/sessiondata.sip deleted file mode 100644 index 2ba25829..00000000 --- a/python/pykde/sip/kio/sessiondata.sip +++ /dev/null @@ -1,51 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kio version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - -namespace KIO -{ - -class SessionData : QObject -{ -%TypeHeaderCode -#include -%End - - -public: - SessionData (); - virtual void configDataFor (KIO::MetaData&, const QString&, const QString&); - virtual void reset (); - -public slots: - void slotAuthData (const QCString&, const QCString&, bool); - void slotDelAuthData (const QCString&); - -protected: -//igx virtual void virtual_hook (int, void*); - -}; // class SessionData - -}; // namespace KIO - diff --git a/python/pykde/sip/kio/skipdlg.sip b/python/pykde/sip/kio/skipdlg.sip deleted file mode 100644 index 29bb91fe..00000000 --- a/python/pykde/sip/kio/skipdlg.sip +++ /dev/null @@ -1,45 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kio version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - -%ModuleHeaderCode -#include -%End - -namespace KIO -{ - -enum SkipDlg_Result -{ - S_SKIP, - S_AUTO_SKIP, - S_CANCEL -}; - -//ig KIO::SkipDlg_Result open_SkipDlg (bool, const QString& = QString ::null ); - -//ig class SkipDlg : KDialog; - -}; // namespace KIO - diff --git a/python/pykde/sip/kio/slave.sip b/python/pykde/sip/kio/slave.sip deleted file mode 100644 index 5db1ad17..00000000 --- a/python/pykde/sip/kio/slave.sip +++ /dev/null @@ -1,95 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kio version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - -namespace KIO -{ - -class Slave : KIO::SlaveInterface -{ -%TypeHeaderCode -#include -%End - - -protected: - -%If ( KDE_3_2_0 - ) - Slave (bool, KServerSocket*, const QString&, const QString&); -%End - - -public: - Slave (KServerSocket*, const QString&, const QString&); - void setPID (pid_t); - int slave_pid (); - void kill (); - bool isAlive (); - void setHost (const QString&, int, const QString&, const QString&); - void resetHost (); - void setConfig (const KIO::MetaData&); - QString protocol (); - void setProtocol (const QString&); - QString slaveProtocol (); - QString host (); - int port (); - QString user (); - QString passwd (); - static KIO::Slave* createSlave (const QString&, const KURL&, int& /Out/, QString& /Out/); - static KIO::Slave* holdSlave (const QString&, const KURL&); - void suspend (); - void resume (); - bool suspended (); - -%If ( KDE_3_2_0 - ) - void send (int, const QByteArray& = QByteArray ()); -%End - - void hold (const KURL&); - time_t idleTime (); - void setIdle (); - bool isConnected (); - void setConnected (bool); - KIO::Connection* connection (); - void ref (); - void deref (); - -public slots: - void accept (KSocket*); - void gotInput (); - void timeout (); - -signals: - void slaveDied (KIO::Slave*); - -protected: - void unlinkSocket (); - -protected: -//igx virtual void virtual_hook (int, void*); - -}; // class Slave - -}; // namespace KIO - diff --git a/python/pykde/sip/kio/slavebase.sip b/python/pykde/sip/kio/slavebase.sip deleted file mode 100644 index e5caa6c0..00000000 --- a/python/pykde/sip/kio/slavebase.sip +++ /dev/null @@ -1,187 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kio version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - -namespace KIO -{ - -class SlaveBase -{ -%TypeHeaderCode -#include -%End - - -public: - SlaveBase (const QCString&, const QCString&, const QCString&); - -%If ( KDE_3_1_0 - ) - void exit (); -%End - - void dispatchLoop (); - void setConnection (KIO::Connection*); - KIO::Connection* connection () const; - void data (const QByteArray&); - void dataReq (); - void error (int, const QString&); - void connected (); - void finished (); - void needSubURLData (); - void slaveStatus (const QString&, bool); - void statEntry (const KIO::UDSEntry&); - void listEntries (const KIO::UDSEntryList&); - bool canResume (KIO::filesize_t); - void canResume (); - void totalSize (KIO::filesize_t); - void processedSize (KIO::filesize_t); - void processedPercent (float); - void speed (ulong); - void redirection (const KURL&); - void errorPage (); - void mimeType (const QString&); - void warning (const QString&); - void infoMessage (const QString&); - - enum MessageBoxType - { - QuestionYesNo, - WarningYesNo, - WarningContinueCancel, - WarningYesNoCancel, - Information, - SSLMessageBox - }; - - int messageBox (KIO::SlaveBase::MessageBoxType, const QString&, const QString& = QString ::null , const QString& = QString ::null , const QString& = QString ::null ); - -%If ( KDE_3_3_0 - ) - int messageBox (const QString&, KIO::SlaveBase::MessageBoxType, const QString& = QString ::null , const QString& = QString ::null , const QString& = QString ::null , const QString& = QString ::null ); -%End - - void setMetaData (const QString&, const QString&); - bool hasMetaData (const QString&); - QString metaData (const QString&); - -%If ( KDE_3_5_2 - ) - KIO::MetaData allMetaData () const; -%End - - KConfigBase* config (); - -%If ( KDE_3_3_0 - ) - KRemoteEncoding* remoteEncoding (); -%End - - virtual void setHost (const QString&, int, const QString&, const QString&); - virtual void setSubURL (const KURL&); - virtual void openConnection (); - virtual void closeConnection (); - virtual void get (const KURL&); - virtual void put (const KURL&, int, bool, bool); - virtual void stat (const KURL&); - virtual void mimetype (const KURL&); - virtual void listDir (const KURL&); - virtual void mkdir (const KURL&, int); - virtual void rename (const KURL&, const KURL&, bool); - virtual void symlink (const QString&, const KURL&, bool); - virtual void chmod (const KURL&, int); - virtual void copy (const KURL&, const KURL&, int, bool); - virtual void del (const KURL&, bool) /PyName=del_/; - virtual void special (const QByteArray&); - virtual void multiGet (const QByteArray&); - virtual void slave_status (); - virtual void reparseConfiguration (); - int connectTimeout (); - int proxyConnectTimeout (); - int responseTimeout (); - int readTimeout (); - -%If ( KDE_3_1_0 - ) - void setTimeoutSpecialCommand (int, const QByteArray& = QByteArray ()); -%End - - static void sigsegv_handler (int); - static void sigpipe_handler (int); - virtual bool dispatch (); - virtual void dispatch (int, const QByteArray&); - int readData (QByteArray&); - -%If ( KDE_3_1_0 - ) - void listEntry (const KIO::UDSEntry&, bool); - void connectSlave (const QString&); - void disconnectSlave (); - bool openPassDlg (KIO::AuthInfo&, const QString&); - bool openPassDlg (KIO::AuthInfo&); - bool checkCachedAuthentication (KIO::AuthInfo&); - bool cacheAuthentication (const KIO::AuthInfo&); - bool pingCacheDaemon () const; - QString createAuthCacheKey (const KURL&); - void sendAuthenticationKey (const QCString&, const QCString&, bool); - void delCachedAuthentication (const QString&); - void setMultipleAuthCaching (bool); - bool multipleAuthCaching () const; - bool requestNetwork (const QString& = QString ::null ); - void dropNetwork (const QString& = QString ::null ); - DCOPClient* dcopClient (); - int waitForAnswer (int, int, QByteArray&, int* = 0); - void sendMetaData (); - QCString mProtocol; - KIO::Connection* m_pConnection; - KIO::MetaData mOutgoingMetaData; - KIO::MetaData mIncomingMetaData; - bool wasKilled () const; - void setKillFlag (); -%End - - -protected: -//igx virtual void virtual_hook (int, void*); - -protected: - -%If ( - KDE_3_1_0 ) - void listEntry (const KIO::UDSEntry&, bool); - void connectSlave (const QString&); - void disconnectSlave (); - bool pingCacheDaemon () const; - bool openPassDlg (KIO::AuthInfo&); - bool checkCachedAuthentication (KIO::AuthInfo&); - bool cacheAuthentication (const KIO::AuthInfo&); - QString createAuthCacheKey (const KURL&); - void sendAuthenticationKey (const QCString&, const QCString&, bool); - void delCachedAuthentication (const QString&); - void setMultipleAuthCaching (bool); - bool multipleAuthCaching () const; - bool requestNetwork (const QString& = QString ::null ); - void dropNetwork (const QString& = QString ::null ); - int waitForAnswer (int, int, QByteArray&, int* = 0); - void sendMetaData (); -%End - - -}; // class SlaveBase - -}; // namespace KIO - diff --git a/python/pykde/sip/kio/slaveconfig.sip b/python/pykde/sip/kio/slaveconfig.sip deleted file mode 100644 index 7ed17c9d..00000000 --- a/python/pykde/sip/kio/slaveconfig.sip +++ /dev/null @@ -1,53 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kio version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - -namespace KIO -{ - -class SlaveConfig : QObject -{ -%TypeHeaderCode -#include -%End - - -public: - static KIO::SlaveConfig* self (); - void setConfigData (const QString&, const QString&, const QString&, const QString&); - void setConfigData (const QString&, const QString&, const KIO::MetaData&); - KIO::MetaData configData (const QString&, const QString&); - QString configData (const QString&, const QString&, const QString&); - void reset (); - -signals: - void configNeeded (const QString&, const QString&); - -protected: - SlaveConfig (); - -}; // class SlaveConfig - -}; // namespace KIO - diff --git a/python/pykde/sip/kio/slaveinterface.sip b/python/pykde/sip/kio/slaveinterface.sip deleted file mode 100644 index 764b78f4..00000000 --- a/python/pykde/sip/kio/slaveinterface.sip +++ /dev/null @@ -1,188 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kio version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - -%ModuleHeaderCode -#include -%End - -namespace KIO -{ - -enum Info -{ - INF_TOTAL_SIZE, - INF_PROCESSED_SIZE, - INF_SPEED, - INF_REDIRECTION, - INF_MIME_TYPE, - INF_ERROR_PAGE, - INF_WARNING, - INF_GETTING_FILE, - INF_NEED_PASSWD, - INF_INFOMESSAGE, - INF_META_DATA, - INF_NETWORK_STATUS, - INF_MESSAGEBOX -}; - - -%If ( KDE_3_1_2 - ) - -enum Message -{ - MSG_DATA, - MSG_DATA_REQ, - MSG_ERROR, - MSG_CONNECTED, - MSG_FINISHED, - MSG_STAT_ENTRY, - MSG_LIST_ENTRIES, - MSG_RENAMED, - MSG_RESUME, - MSG_SLAVE_STATUS, - MSG_SLAVE_ACK, - MSG_NET_REQUEST, - MSG_NET_DROP, - MSG_NEED_SUBURL_DATA, - MSG_CANRESUME, - MSG_AUTH_KEY, - MSG_DEL_AUTH_KEY -}; - -%End - - -class SlaveInterface : QObject -{ -%TypeHeaderCode -#include -%End - - -public: - SlaveInterface (KIO::Connection*); - void setConnection (KIO::Connection*); - KIO::Connection* connection () const; - void setProgressId (int); - int progressId () const; - void sendResumeAnswer (bool); - void setOffset (KIO::filesize_t); - KIO::filesize_t offset () const; - -signals: - void data (const QByteArray&); - void dataReq (); - void error (int, const QString&); - void connected (); - void finished (); - void slaveStatus (pid_t, const QCString&, const QString&, bool); - void listEntries (const KIO::UDSEntryList&); - void statEntry (const KIO::UDSEntry&); - void needSubURLData (); - void needProgressId (); - void canResume (KIO::filesize_t); - void metaData (const KIO::MetaData&); - void totalSize (KIO::filesize_t); - void processedSize (KIO::filesize_t); - void redirection (const KURL&); - void speed (ulong); - void errorPage (); - void mimeType (const QString&); - void warning (const QString&); - void infoMessage (const QString&); - void connectFinished (); - void authorizationKey (const QCString&, const QCString&, bool); - void delAuthorization (const QCString&); - -protected: - virtual bool dispatch (); - virtual bool dispatch (int, const QByteArray&); - void openPassDlg (KIO::AuthInfo&); - void openPassDlg (const QString&, const QString&, const QString&, const QString&, const QString&, bool); - void openPassDlg (const QString&, const QString&, bool); - void messageBox (int, const QString&, const QString&, const QString&, const QString&); - -%If ( KDE_3_3_0 - ) - void messageBox (int, const QString&, const QString&, const QString&, const QString&, const QString&); -%End - - void requestNetwork (const QString&, const QString&); - void dropNetwork (const QString&, const QString&); - static void sigpipe_handler (int); - -protected slots: - void calcSpeed (); - -protected: - -protected: -//igx virtual void virtual_hook (int, void*); - -}; // class SlaveInterface - - -%If ( - KDE_3_2_0 ) - -enum Command -{ - CMD_HOST, - CMD_CONNECT, - CMD_DISCONNECT, - CMD_SLAVE_STATUS, - CMD_SLAVE_CONNECT, - CMD_SLAVE_HOLD, - CMD_NONE, - CMD_TESTDIR, - CMD_GET, - CMD_PUT, - CMD_STAT, - CMD_MIMETYPE, - CMD_LISTDIR, - CMD_MKDIR, - CMD_RENAME, - CMD_COPY, - CMD_DEL, - CMD_CHMOD, - CMD_SPECIAL, - CMD_USERPASS, - CMD_REPARSECONFIGURATION, - CMD_META_DATA, - CMD_SYMLINK, - CMD_SUBURL, - CMD_MESSAGEBOXANSWER, - CMD_RESUMEANSWER, - CMD_CONFIG, - CMD_MULTI_GET -}; - -%End - -}; // namespace KIO - - -%If ( KDE_3_1_4 - ) -//igx QDataStream& operator << (QDataStream&, const KIO::UDSEntry&); -//igx QDataStream& operator >> (QDataStream&, KIO::UDSEntry&); -%End diff --git a/python/pykde/sip/kio/statusbarprogress.sip b/python/pykde/sip/kio/statusbarprogress.sip deleted file mode 100644 index 5c165bd5..00000000 --- a/python/pykde/sip/kio/statusbarprogress.sip +++ /dev/null @@ -1,56 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kio version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - -namespace KIO -{ - -class StatusbarProgress : KIO::ProgressBase -{ -%TypeHeaderCode -#include -%End - - -public: - StatusbarProgress (QWidget* /TransferThis/, bool = 1); - void setJob (KIO::Job*); - -public slots: - virtual void slotClean (); - virtual void slotTotalSize (KIO::Job*, KIO::filesize_t); - virtual void slotPercent (KIO::Job*, ulong); - virtual void slotSpeed (KIO::Job*, ulong); - -protected: - void setMode (); - virtual bool eventFilter (QObject*, QEvent*); - -protected: -//igx virtual void virtual_hook (int, void*); - -}; // class StatusbarProgress - -}; // namespace KIO - diff --git a/python/pykde/sip/kio/tcpslavebase.sip b/python/pykde/sip/kio/tcpslavebase.sip deleted file mode 100644 index 407b0fce..00000000 --- a/python/pykde/sip/kio/tcpslavebase.sip +++ /dev/null @@ -1,91 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kio version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - -namespace KIO -{ - -class TCPSlaveBase : KIO::SlaveBase -{ -%TypeHeaderCode -#include -%End - - -public: - TCPSlaveBase (ushort, const QCString&, const QCString&, const QCString&); - TCPSlaveBase (ushort, const QCString&, const QCString&, const QCString&, bool); - -protected: - ssize_t Write (const void*, ssize_t); - ssize_t Read (void*, ssize_t); - ssize_t ReadLine (char*, ssize_t); - ushort GetPort (ushort); - bool ConnectToHost (const QString&, uint, bool); - void CloseDescriptor (); - bool AtEOF (); - bool InitializeSSL (); - void CleanSSL (); - ssize_t write (const void*, ssize_t); - ssize_t read (void*, ssize_t); - ssize_t readLine (char*, ssize_t); - void setBlockSize (int); - ushort port (ushort); - bool connectToHost (const QString&, uint, bool = 1); - -%If ( KDE_3_2_0 - ) - bool usingSSL () const; -%End - - bool usingTLS (); - bool canUseTLS (); - int startTLS (); - void stopTLS (); - void closeDescriptor (); - bool atEnd (); - void setSSLMetaData (); - bool initializeSSL (); - void cleanSSL (); - bool isConnectionValid (); - int connectResult (); - bool waitForResponse (int); - void setBlockConnection (bool); - void setConnectTimeout (int); - bool isSSLTunnelEnabled (); - void setEnableSSLTunnel (bool); - void setRealHost (const QString&); - void doConstructorStuff (); - int verifyCertificate (); - void certificatePrompt (); - bool userAborted () const; - -protected: - -protected: -//igx virtual void virtual_hook (int, void*); - -}; // class TCPSlaveBase - -}; // namespace KIO - diff --git a/python/pykde/sip/kio/thumbcreator.sip b/python/pykde/sip/kio/thumbcreator.sip deleted file mode 100644 index e8aff184..00000000 --- a/python/pykde/sip/kio/thumbcreator.sip +++ /dev/null @@ -1,47 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kio version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class ThumbCreator -{ -%TypeHeaderCode -#include -%End - - -public: - - enum Flags - { - None, - DrawFrame, - BlendIcon - }; - - virtual bool create (const QString&, int, int, QImage&) = 0; - virtual ThumbCreator::Flags flags () const; - -}; // class ThumbCreator - diff --git a/python/pykde/sip/kmdi/kmdichildarea.sip b/python/pykde/sip/kmdi/kmdichildarea.sip deleted file mode 100644 index 3df86c01..00000000 --- a/python/pykde/sip/kmdi/kmdichildarea.sip +++ /dev/null @@ -1,102 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kmdi version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KMdiChildArea : QFrame -{ -%TypeHeaderCode -#include -%End - - -public: -//ig QPtrList* m_pZ; - QSize m_defaultChildFrmSize; - -protected: - -public: - KMdiChildArea (QWidget*); - void manageChild (KMdiChildFrm*, bool = 1, bool = 1); - void destroyChild (KMdiChildFrm*, bool = 1); - void destroyChildButNotItsView (KMdiChildFrm*, bool = 1); - void setTopChild (KMdiChildFrm*, bool = 0); - KMdiChildFrm* topChild () const; - int getVisibleChildCount () const; - QPoint getCascadePoint (int = -1); - void setMdiCaptionFont (const QFont&); - void setMdiCaptionActiveForeColor (const QColor&); - void setMdiCaptionActiveBackColor (const QColor&); - void setMdiCaptionInactiveForeColor (const QColor&); - void setMdiCaptionInactiveBackColor (const QColor&); - static void getCaptionColors (const QPalette&, QColor&, QColor&, QColor&, QColor&); - -public slots: - void cascadeWindows (); - void cascadeMaximized (); - void expandVertical (); - void expandHorizontal (); - void focusTopChild (); - void tilePragma (); - void tileAnodine (); - void tileVertically (); - void layoutMinimizedChildren (); - -protected: - void tileAllInternal (int); - virtual void resizeEvent (QResizeEvent*); - void mousePressEvent (QMouseEvent*); - void childMinimized (KMdiChildFrm*, bool); - -signals: - void noMaximizedChildFrmLeft (KMdiChildFrm*); - void nowMaximized (bool); - void sysButtonConnectionsMustChange (KMdiChildFrm*, KMdiChildFrm*); - void popupWindowMenu (QPoint); - void lastChildFrmClosed (); - -//force -%ConvertToSubClassCode - // The table of Python class objects indexed by their names. The table - // must be sorted by name. - - static sipStringTypeClassMap map[] = { - {sipName_KMdiChildArea, &sipClass_KMdiChildArea}, - {sipName_KMdiChildFrm, &sipClass_KMdiChildFrm}, - {sipName_KMdiChildView, &sipClass_KMdiChildView}, - {sipName_KMdiChildFrmCaption, &sipClass_KMdiChildFrmCaption}, - {sipName_KMdiMainFrm, &sipClass_KMdiMainFrm}, - {sipName_KMdiTaskBar, &sipClass_KMdiTaskBar}, - {sipName_KMdiTaskBarButton, &sipClass_KMdiTaskBarButton}, - {sipName_KMdiToolViewAccessor, &sipClass_KMdiToolViewAccessor}, - {sipName_KMdiWin32IconButton, &sipClass_KMdiWin32IconButton}, - }; - - sipClass = sipMapStringToClass(sipCpp -> className(),map,sizeof (map)/sizeof (map[0])); -%End -//end - -}; // class KMdiChildArea - diff --git a/python/pykde/sip/kmdi/kmdichildfrm.sip b/python/pykde/sip/kmdi/kmdichildfrm.sip deleted file mode 100644 index c0c6be24..00000000 --- a/python/pykde/sip/kmdi/kmdichildfrm.sip +++ /dev/null @@ -1,276 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kmdi version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KMdiWin32IconButton : QLabel -{ -%TypeHeaderCode -#include -%End - - -public: - KMdiWin32IconButton (QWidget*, const char* = 0); - virtual void mousePressEvent (QMouseEvent*); - -signals: - void pressed (); - -}; // class KMdiWin32IconButton - - -class KMdiChildFrmMoveEvent : QCustomEvent -{ -%TypeHeaderCode -#include -%End - - -public: - KMdiChildFrmMoveEvent (QMoveEvent*); - -}; // class KMdiChildFrmMoveEvent - - -class KMdiChildFrmDragBeginEvent : QCustomEvent -{ -%TypeHeaderCode -#include -%End - - -public: - KMdiChildFrmDragBeginEvent (QMouseEvent*); - -}; // class KMdiChildFrmDragBeginEvent - - -class KMdiChildFrmDragEndEvent : QCustomEvent -{ -%TypeHeaderCode -#include -%End - - -public: - KMdiChildFrmDragEndEvent (QMouseEvent*); - -}; // class KMdiChildFrmDragEndEvent - - -class KMdiChildFrmResizeBeginEvent : QCustomEvent -{ -%TypeHeaderCode -#include -%End - - -public: - KMdiChildFrmResizeBeginEvent (QMouseEvent*); - -}; // class KMdiChildFrmResizeBeginEvent - - -class KMdiChildFrmResizeEndEvent : QCustomEvent -{ -%TypeHeaderCode -#include -%End - - -public: - KMdiChildFrmResizeEndEvent (QMouseEvent*); - -}; // class KMdiChildFrmResizeEndEvent - - -class KMdiChildFrm : QFrame -{ -%TypeHeaderCode -#include -%End - - -public: - - enum MdiWindowState - { - Normal, - Maximized, - Minimized - }; - - KMdiChildView* m_pClient; - -protected: - -public: - KMdiChildFrm (KMdiChildArea*); - void setClient (KMdiChildView*, bool = 0); - void unsetClient (QPoint = QPoint (0 ,0 )); - void setIcon (const QPixmap&); - QPixmap* icon () const; - void enableClose (bool); - void setCaption (const QString&); - const QString& caption (); - void setState (KMdiChildFrm::MdiWindowState, bool = 1); - KMdiChildFrm::MdiWindowState state () const; - QRect mdiAreaContentsRect () const; - QRect restoreGeometry () const; - void setRestoreGeometry (const QRect&); - void updateRects (); - QPopupMenu* systemMenu () const; - int captionHeight () const; - void redecorateButtons (); - bool isInDrag () const; - bool isInResize () const; - void raiseAndActivate (); - virtual void setMinimumSize (int, int); - -public slots: - void slot_resizeViaSystemMenu (); - -protected: - virtual void resizeEvent (QResizeEvent*); - virtual void mouseMoveEvent (QMouseEvent*); - virtual void mousePressEvent (QMouseEvent*); - virtual void mouseReleaseEvent (QMouseEvent*); - virtual void moveEvent (QMoveEvent*); - virtual void leaveEvent (QEvent*); - virtual bool eventFilter (QObject*, QEvent*); - void resizeWindow (int, int, int); - void setResizeCursor (int); - void unsetResizeCursor (); - virtual void switchToMinimizeLayout (); - void doResize (); - void doResize (bool); - -protected slots: - void maximizePressed (); - void restorePressed (); - void minimizePressed (); - void closePressed (); - void undockPressed (); - void showSystemMenu (); - -protected: -//ig void linkChildren (QDict*); - QDict* unlinkChildren (); - int getResizeCorner (int, int); - -protected: - -%If ( - KDE_3_2_2 ) - void linkChildren (QDict*); -%End - - -}; // class KMdiChildFrm - - - -%MappedType QDict -//converts a Python dict of QWidget::FocusPolicy -{ -%TypeHeaderCode -#include -#include -#include -%End - -%ConvertFromTypeCode -// Convert to a Python dictionary - - if (!sipCpp) - return PyDict_New(); - - PyObject *dict; - - // Create the dictionary. - - if ((dict = PyDict_New()) == NULL) - return NULL; - - // Get it. - - QDict qdict = *sipCpp; - QDictIterator it (qdict); - - while (it.current ()) - { - PyObject *a0 = sipConvertFromInstance (&it.currentKey (), sipClass_QString, sipTransferObj); - PyObject *a1 = PyInt_FromLong ((long) it.current ()); - - if ((a0 == NULL) || (a1 == NULL) || (PyDict_SetItem (dict, a0, a1) < 0)) - { - Py_XDECREF (a0); - Py_XDECREF (a1); - Py_DECREF (dict); - return NULL; - } - } - - return dict; -%End - - -%ConvertToTypeCode - // Convert a Python dictionary to a QDict on the heap. - - if (sipIsErr == NULL) - return PyDict_Check(sipPy); - - QDict* qdict = new QDict; - - PyObject *key, *value; - int pos = 0; - QString *a0; - QWidget::FocusPolicy a1; - - while (PyDict_Next(sipPy, &pos, &key, &value)) - { - int iserr = 0; - - a0 = (QString *)sipForceConvertTo_QString (key, &iserr); - - if ((iserr) || (!PyInt_Check (value))) - { - *sipIsErr = 1; - delete qdict; - return 0; - } - - a1 = (QWidget::FocusPolicy) PyInt_AS_LONG (value); - - qdict->insert (*a0, &a1); - } - - *sipCppPtr = qdict; - - return 1; -%End -}; - - diff --git a/python/pykde/sip/kmdi/kmdichildfrmcaption.sip b/python/pykde/sip/kmdi/kmdichildfrmcaption.sip deleted file mode 100644 index 6004cf16..00000000 --- a/python/pykde/sip/kmdi/kmdichildfrmcaption.sip +++ /dev/null @@ -1,57 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kmdi version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KMdiChildFrmCaption : QWidget -{ -%TypeHeaderCode -#include -%End - - -public: - KMdiChildFrmCaption (KMdiChildFrm*); - void setActive (bool); - void setCaption (const QString&); - int heightHint (); - -public slots: - void slot_moveViaSystemMenu (); - -protected: - virtual void paintEvent (QPaintEvent*); - virtual void mousePressEvent (QMouseEvent*); - virtual void mouseDoubleClickEvent (QMouseEvent*); - virtual void mouseReleaseEvent (QMouseEvent*); - virtual void mouseMoveEvent (QMouseEvent*); - QString abbreviateText (QString, int); - -public: - QString m_szCaption; - -protected: - -}; // class KMdiChildFrmCaption - diff --git a/python/pykde/sip/kmdi/kmdichildview.sip b/python/pykde/sip/kmdi/kmdichildview.sip deleted file mode 100644 index 874c1708..00000000 --- a/python/pykde/sip/kmdi/kmdichildview.sip +++ /dev/null @@ -1,120 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kmdi version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KMdiChildView : QWidget -{ -%TypeHeaderCode -#include -%End - - -protected: - -public: - KMdiChildView (const QString&, QWidget* = 0, const char* = 0, WFlags = 0); - KMdiChildView (QWidget* = 0, const char* = 0, WFlags = 0); - void activate (); - void setFirstFocusableChildWidget (QWidget*); - void setLastFocusableChildWidget (QWidget*); - QWidget* focusedChildWidget (); - bool isAttached () const; - const QString& caption () const; - const QString& tabCaption () const; - virtual void setCaption (const QString&); - virtual void setTabCaption (const QString&); - virtual void setMDICaption (const QString&); - KMdiChildFrm* mdiParent () const; - bool isMinimized () const; - bool isMaximized () const; - QRect internalGeometry () const; - void setInternalGeometry (const QRect&); - QRect externalGeometry () const; - void setExternalGeometry (const QRect&); - virtual QPixmap* myIconPtr (); - virtual void minimize (bool); - virtual void maximize (bool); - QRect restoreGeometry (); - void setRestoreGeometry (const QRect&); - void removeEventFilterForAllChildren (); - void setWindowMenuID (int); - virtual void setMinimumSize (int, int); - virtual void setMaximumSize (int, int); - bool isToolView () const; - void updateTimeStamp (); - const QDateTime& getTimeStamp () const; - -public slots: - virtual void attach (); - virtual void detach (); - virtual void minimize (); - virtual void maximize (); - virtual void restore (); - virtual void youAreAttached (KMdiChildFrm*); - virtual void youAreDetached (); - virtual void slot_clickedInWindowMenu (); - virtual void slot_clickedInDockMenu (); - virtual void show (); - virtual void hide (); - virtual void raise () /PyName=raise_/; - virtual void showMinimized (); - virtual void showMaximized (); - virtual void showNormal (); - -protected: - virtual void closeEvent (QCloseEvent*); - virtual bool eventFilter (QObject*, QEvent*); - virtual void focusInEvent (QFocusEvent*); - virtual void focusOutEvent (QFocusEvent*); - virtual void resizeEvent (QResizeEvent*); - void trackIconAndCaptionChanges (QWidget*); - -protected slots: - void slot_childDestroyed (); - -signals: - void attachWindow (KMdiChildView*, bool); - void detachWindow (KMdiChildView*, bool); - void focusInEventOccurs (KMdiChildView*); - void gotFocus (KMdiChildView*); - void activated (KMdiChildView*); - void lostFocus (KMdiChildView*); - void deactivated (KMdiChildView*); - void childWindowCloseRequest (KMdiChildView*); - void windowCaptionChanged (const QString&); - void tabCaptionChanged (const QString&); - void mdiParentNowMaximized (bool); - void clickedInWindowMenu (int); - void clickedInDockMenu (int); - void isMaximizedNow (); - void isMinimizedNow (); - void isRestoredNow (); - void isAttachedNow (); - void isDetachedNow (); - void iconUpdated (QWidget*, QPixmap); - void captionUpdated (QWidget*, const QString&); - -}; // class KMdiChildView - diff --git a/python/pykde/sip/kmdi/kmdidefines.sip b/python/pykde/sip/kmdi/kmdidefines.sip deleted file mode 100644 index 99fa0083..00000000 --- a/python/pykde/sip/kmdi/kmdidefines.sip +++ /dev/null @@ -1,115 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kmdi version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - -%ModuleHeaderCode -#include -%End - -namespace KMdi -{ - -enum EventType -{ - EV_Move, - EV_DragBegin, - EV_DragEnd, - EV_ResizeBegin, - EV_ResizeEnd -}; - - -%If ( KDE_3_3_2 - ) - -enum AddWindowFlags -{ - StandardAdd, - Maximize, - Minimize, - Hide, - Detach, - ToolWindow, - UseKMdiSizeHint, -//ig AddWindowFlags -}; - -%End - - -enum FrameDecor -{ - Win95Look, - KDE1Look, - KDELook, - KDELaptopLook -}; - - -enum MdiMode -{ - UndefinedMode, - ToplevelMode, - ChildframeMode, - TabPageMode, - IDEAlMode -}; - - -%If ( KDE_3_3_0 - ) - -enum TabWidgetVisibility -{ - AlwaysShowTabs, - ShowWhenMoreThanOneTab, - NeverShowTabs -}; - - -enum ToolviewStyle -{ - IconOnly, - TextOnly, - TextAndIcon -}; - -%End - - -%If ( - KDE_3_3_2 ) - -enum AddWindowFlags -{ - StandardAdd, - Maximize, - Minimize, - Hide, - Detach, - ToolWindow, - UseKMdiSizeHint -}; - -%End - -}; // namespace KMdi - diff --git a/python/pykde/sip/kmdi/kmdimainfrm.sip b/python/pykde/sip/kmdi/kmdimainfrm.sip deleted file mode 100644 index c1ec1b04..00000000 --- a/python/pykde/sip/kmdi/kmdimainfrm.sip +++ /dev/null @@ -1,339 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kmdi version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KMdiViewCloseEvent : QCustomEvent -{ -%TypeHeaderCode -#include -%End - - -public: - KMdiViewCloseEvent (KMdiChildView*); - -}; // class KMdiViewCloseEvent - - -class KMdiMainFrm : KParts::DockMainWindow -{ -%TypeHeaderCode -#include -%End - - -protected: - -public: - KMdiMainFrm (QWidget*, const char* = "", KMdi::MdiMode = KMdi ::ChildframeMode , WFlags = WType_TopLevel |WDestructiveClose ); - void setStandardMDIMenuEnabled (bool = 1); - void setManagedDockPositionModeEnabled (bool); - bool isInMaximizedChildFrmMode (); - KMdi::MdiMode mdiMode (); - KMdiChildView* activeWindow (); - virtual QPopupMenu* taskBarPopup (KMdiChildView*, bool = 0); - virtual QPopupMenu* windowPopup (KMdiChildView*, bool = 1); - virtual void applyOptions (); - KMdiChildView* findWindow (const QString&); - - enum ExistsAs - { - DocumentView, - ToolView, - AnyView - }; - - bool windowExists (KMdiChildView*, KMdiMainFrm::ExistsAs); - virtual bool event (QEvent*); - virtual void setSysButtonsAtMenuPosition (); - virtual int taskBarHeight (); - virtual void setUndockPositioningOffset (QPoint); -//ig KMdiIterator* createIterator (); -//ig void deleteIterator (KMdiIterator*); - QPopupMenu* windowMenu () const; - virtual void setBackgroundColor (const QColor&); - virtual void setBackgroundPixmap (const QPixmap&); - void setDefaultChildFrmSize (const QSize&); - QSize defaultChildFrmSize (); - virtual void setMinimumSize (int, int); - int childFrameModeHeight (); - virtual void setMenuForSDIModeSysButtons (KMenuBar* = 0); - static int frameDecorOfAttachedViews (); - void fakeSDIApplication (); - bool isFakingSDIApplication () const; - virtual bool eventFilter (QObject*, QEvent*); - void findRootDockWidgets (QPtrList*, QValueList*); - void setSwitching (const bool); - bool switching () const; - -public slots: - KMdiChildView* createWrapper (QWidget*, const QString&, const QString&); - virtual void addWindow (KMdiChildView*, int = KMdi ::StandardAdd ); - -%If ( KDE_3_3_0 - ) - void addWindow (KMdiChildView*, int, int); -%End - - virtual void addWindow (KMdiChildView*, QPoint, int = KMdi ::StandardAdd ); - virtual void addWindow (KMdiChildView*, QRect, int = KMdi ::StandardAdd ); - virtual KMdiToolViewAccessor* addToolWindow (QWidget*, KDockWidget::DockPosition = KDockWidget ::DockNone , QWidget* = 0, int = 50, const QString& = 0, const QString& = 0); - virtual void deleteToolWindow (QWidget*); - virtual void deleteToolWindow (KMdiToolViewAccessor*); - KMdiToolViewAccessor* createToolWindow (); - virtual void removeWindowFromMdi (KMdiChildView*); - virtual void closeWindow (KMdiChildView*, bool = 1); - virtual void slot_toggleTaskBar (); - virtual void attachWindow (KMdiChildView*, bool = 1, bool = 0); - virtual void detachWindow (KMdiChildView*, bool = 1); - virtual void childWindowCloseRequest (KMdiChildView*); - virtual void closeAllViews (); - virtual void iconifyAllViews (); - virtual void closeActiveView (); - virtual void switchToToplevelMode (); - virtual void finishToplevelMode (); - virtual void switchToChildframeMode (); - virtual void finishChildframeMode (); - virtual void switchToTabPageMode (); - virtual void finishTabPageMode (); - virtual void switchToIDEAlMode (); - virtual void finishIDEAlMode (bool = 1); - void setIDEAlModeStyle (int); - -%If ( KDE_3_3_0 - ) - void setToolviewStyle (int); -%End - - bool isViewTaskBarOn (); - virtual void showViewTaskBar (); - virtual void hideViewTaskBar (); - virtual void fillWindowMenu (); - virtual void cascadeWindows (); - virtual void cascadeMaximized (); - virtual void expandVertical (); - virtual void expandHorizontal (); - virtual void tilePragma (); - virtual void tileAnodine (); - virtual void tileVertically (); - virtual void setFrameDecorOfAttachedViews (int); - virtual void setEnableMaximizedChildFrmMode (bool); - virtual void activateNextWin (); - virtual void activatePrevWin (); - virtual void activateFirstWin (); - virtual void activateLastWin (); - virtual void activateView (int); - -protected: - virtual void resizeEvent (QResizeEvent*); - virtual void createTaskBar (); - virtual void createMdiManager (); - void blockClearingOfWindowMenu (bool); - void findToolViewsDockedToMain (QPtrList*, KDockWidget::DockPosition); - void dockToolViewsIntoContainers (QPtrList&, KDockWidget*); - QStringList prepareIdealToTabs (KDockWidget*); - void idealToolViewsToStandardTabs (QStringList, KDockWidget::DockPosition, int); -//force -%If ( KDE_3_4_0 - ) - KTabWidget* tabWidget() const; -%End -//end - -%If ( KDE_3_3_0 - ) - KMdi::TabWidgetVisibility tabWidgetVisibility (); - void setTabWidgetVisibility (KMdi::TabWidgetVisibility); -%End - - -protected slots: - virtual void activateView (KMdiChildView*); - virtual void taskbarButtonRightClicked (KMdiChildView*); - void switchOffMaximizeModeForMenu (KMdiChildFrm*); - void updateSysButtonConnections (KMdiChildFrm*, KMdiChildFrm*); - void windowMenuItemActivated (int); - void dockMenuItemActivated (int); - void popupWindowMenu (QPoint); - void dragEndTimeOut (); - void closeViewButtonPressed (); - -signals: - void lastChildFrmClosed (); - void lastChildViewClosed (); - void leftTopLevelMode (); - void childViewIsDetachedNow (QWidget*); - void collapseOverlapContainers (); - void mdiModeHasBeenChangedTo (KMdi::MdiMode); - void viewActivated (KMdiChildView*); - void viewDeactivated (KMdiChildView*); - -public slots: - void prevToolViewInDock (); - void nextToolViewInDock (); - -signals: - void toggleTop (); - void toggleLeft (); - void toggleRight (); - void toggleBottom (); - -}; // class KMdiMainFrm - - - -%MappedType QPtrList -//converts a Python list of KDockWidget -{ -%TypeHeaderCode -#include -%End - -%ConvertFromTypeCode - if (!sipCpp) - return PyList_New (0); - - PyObject *pylist; - - // Create the list - - if ((pylist = PyList_New(0)) == NULL) - return NULL; - - // Get it. - - QPtrList *cpplist = (QPtrList *)sipCpp; - KDockWidget *cpp; - PyObject *inst; - - // the loop depends on the type of iterator the tmeplate makes available - for(cpp = cpplist->first (); cpp != 0; cpp = cpplist->next () ) - { - if (((inst = sipConvertFromInstance (cpp, sipClass_KDockWidget, sipTransferObj)) == NULL) - || PyList_Append (pylist, inst) < 0) - { - Py_DECREF (pylist); - return NULL; - } - } - - return pylist; -%End - -%ConvertToTypeCode - if (sipIsErr == NULL) - return PyList_Check(sipPy); - - QPtrList *cpplist = new QPtrList; - - PyObject *elem; - KDockWidget *cpp; - int iserr = 0; - - for (int i = 0; i < PyList_Size (sipPy); i++) - { - elem = PyList_GET_ITEM (sipPy, i); - cpp = (KDockWidget *)sipForceConvertTo_KDockWidget (elem, &iserr); - - if (iserr) - { - *sipIsErr = 1; - delete cpplist; - return 0; - } - - cpplist->append (cpp); - } - - *sipCppPtr = cpplist; - - return 1; -%End -}; - - -%MappedType QValueList -//converts a Python list of QRect -{ -%TypeHeaderCode -#include -%End - -%ConvertFromTypeCode - if (!sipCpp) - return PyList_New(0); - - // Create the list - PyObject *pylist; - if ((pylist = PyList_New(0)) == NULL) - return NULL; - - QValueList *cpplist = (QValueList *)sipCpp; - PyObject *inst; - - // Get it. - QValueList::Iterator it; - for( it = cpplist->begin(); it != cpplist->end(); ++it ) - { - if (((inst = sipBuildResult (NULL, "N", new QRect (*it), sipClass_QRect)) == NULL) - || PyList_Append (pylist, inst) < 0) - { - Py_DECREF (pylist); - return NULL; - } - } - - return pylist; -%End - - -%ConvertToTypeCode - if (sipIsErr == NULL) - return PyList_Check(sipPy); - - QValueList *cpplist = new QValueList; - - PyObject *elem; - QRect *cpp; - int iserr = 0; - - for (int i = 0; i < PyList_Size (sipPy); i++) - { - elem = PyList_GET_ITEM (sipPy, i); - cpp = (QRect *)sipForceConvertTo_QRect (elem, &iserr); - - if (iserr) - { - *sipIsErr = 1; - delete cpplist; - return 0; - } - - cpplist->append (*cpp); - } - - *sipCppPtr = cpplist; - - return 1; -%End -}; - - diff --git a/python/pykde/sip/kmdi/kmdimod.sip b/python/pykde/sip/kmdi/kmdimod.sip deleted file mode 100644 index 890a4494..00000000 --- a/python/pykde/sip/kmdi/kmdimod.sip +++ /dev/null @@ -1,47 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kmdi version KDE_3_5_2 - -%Copying - - This software is free software; you can redistribute it and/or - modify it under the terms of the GNU General Public License as - published by the Free Software Foundation; either version 2 of - the License, or (at your option) any later version. - - This software is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public - License along with this library; see the file COPYING. - If not, write to the Free Software Foundation, Inc., - 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - -%End - -%Module kmdi - -%Import qt/qtmod.sip -%Import dcopmod.sip -%Import kdecoremod.sip -%Import qtxml/qtxmlmod.sip -%Import kdefxmod.sip -%Import kdeuimod.sip -%Import kiomod.sip -%Import kpartsmod.sip - -%Include kmdichildarea.sip -%Include kmdichildfrm.sip -%Include kmdichildfrmcaption.sip -%Include kmdichildview.sip -%Include kmdidefines.sip -%Include kmdimainfrm.sip -%Include kmditaskbar.sip -%Include kmditoolviewaccessor.sip diff --git a/python/pykde/sip/kmdi/kmdimod.sip.in b/python/pykde/sip/kmdi/kmdimod.sip.in deleted file mode 100644 index 69af83af..00000000 --- a/python/pykde/sip/kmdi/kmdimod.sip.in +++ /dev/null @@ -1,48 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kmdi version KDE_3_5_2 - -%Copying - - This software is free software; you can redistribute it and/or - modify it under the terms of the GNU General Public License as - published by the Free Software Foundation; either version 2 of - the License, or (at your option) any later version. - - This software is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public - License along with this library; see the file COPYING. - If not, write to the Free Software Foundation, Inc., - 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - -%End - -%Module kmdi - -%Import qt/qtmod.sip -%Import dcopmod.sip -%Import kdecoremod.sip -%Import qtxml/qtxmlmod.sip -%Import kdefxmod.sip -%Import kdeuimod.sip -%Import kiomod.sip -%Import kpartsmod.sip - -%Include kmdichildarea.sip -%Include kmdichildfrm.sip -%Include kmdichildfrmcaption.sip -%Include kmdichildview.sip -%Include kmdidefines.sip -%Include kmdimainfrm.sip -%Include kmditaskbar.sip -%Include kmditoolviewaccessor.sip -@mark@ diff --git a/python/pykde/sip/kmdi/kmditaskbar.sip b/python/pykde/sip/kmdi/kmditaskbar.sip deleted file mode 100644 index 023a6e33..00000000 --- a/python/pykde/sip/kmdi/kmditaskbar.sip +++ /dev/null @@ -1,88 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kmdi version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KMdiTaskBarButton : QPushButton -{ -%TypeHeaderCode -#include -%End - - -public: - KMdiTaskBarButton (KMdiTaskBar*, KMdiChildView*); - QString actualText () const; - void fitText (const QString&, int); - void setText (const QString&); - -signals: - void clicked (KMdiChildView*); - void leftMouseButtonClicked (KMdiChildView*); - void rightMouseButtonClicked (KMdiChildView*); - void buttonTextChanged (int); - -public slots: - void setNewText (const QString&); - -protected slots: - void mousePressEvent (QMouseEvent*); - -public: - KMdiChildView* m_pWindow; - -protected: - -}; // class KMdiTaskBarButton - - -class KMdiTaskBar : KToolBar -{ -%TypeHeaderCode -#include -%End - - -public: - KMdiTaskBar (KMdiMainFrm*, Qt::Dock); - KMdiTaskBarButton* addWinButton (KMdiChildView*); - void removeWinButton (KMdiChildView*, bool = 1); - KMdiTaskBarButton* getNextWindowButton (bool, KMdiChildView*); - KMdiTaskBarButton* getButton (KMdiChildView*); - void switchOn (bool); - bool isSwitchedOn () const; - -protected: - void resizeEvent (QResizeEvent*); - -protected slots: - void layoutTaskBar (int = 0); - -public slots: - void setActiveButton (KMdiChildView*); - -protected: - -}; // class KMdiTaskBar - diff --git a/python/pykde/sip/kmdi/kmditoolviewaccessor.sip b/python/pykde/sip/kmdi/kmditoolviewaccessor.sip deleted file mode 100644 index c2ea2d71..00000000 --- a/python/pykde/sip/kmdi/kmditoolviewaccessor.sip +++ /dev/null @@ -1,53 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kmdi version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KMdiToolViewAccessor : QObject -{ -%TypeHeaderCode -#include -%End - - -private: - KMdiToolViewAccessor (KMdiMainFrm*, QWidget*, const QString& = 0, const QString& = 0); - KMdiToolViewAccessor (KMdiMainFrm*); - -public: - QWidget* wrapperWidget (); - QWidget* wrappedWidget (); - void place (KDockWidget::DockPosition = KDockWidget ::DockNone , QWidget* = 0, int = 50); - void placeAndShow (KDockWidget::DockPosition = KDockWidget ::DockNone , QWidget* = 0, int = 50); - void show (); - -public slots: - void setWidgetToWrap (QWidget*, const QString& = 0, const QString& = 0); - void hide (); - -protected: - bool eventFilter (QObject*, QEvent*); - -}; // class KMdiToolViewAccessor - diff --git a/python/pykde/sip/kparts/browserextension.sip b/python/pykde/sip/kparts/browserextension.sip deleted file mode 100644 index 494b8662..00000000 --- a/python/pykde/sip/kparts/browserextension.sip +++ /dev/null @@ -1,603 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kparts version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - -namespace KParts -{ - -class URLArgs -{ -%TypeHeaderCode -#include -#include -%End - - -public: - URLArgs (); - URLArgs (const KParts::URLArgs&); - URLArgs (bool, int, int, const QString& = QString ::null ); - QStringList docState; - bool reload; - int xOffset; - int yOffset; - QString serviceType; - QByteArray postData; - void setContentType (const QString&); - QString contentType () const; - void setDoPost (bool); - bool doPost () const; - void setLockHistory (bool); - bool lockHistory () const; - -%If ( KDE_3_1_0 - ) - void setNewTab (bool); - bool newTab () const; -%End - - QMap& metaData (); - QString frameName; - bool trustedSource; - -%If ( KDE_3_1_3 - ) - bool redirectedRequest () const; - void setRedirectedRequest (bool); - -%If ( KDE_3_4_0 - ) - void setForcesNewWindow (bool); - bool forcesNewWindow () const; -%End - -%End - -//ig URLArgsPrivate* d; - -}; // class URLArgs - - -class WindowArgs -{ -%TypeHeaderCode -#include -%End - - -public: - WindowArgs (); - WindowArgs (const KParts::WindowArgs&); - WindowArgs (const QRect&, bool, bool, bool, bool, bool); - WindowArgs (int, int, int, int, bool, bool, bool, bool, bool); - int x; - int y; - int width; - int height; - bool fullscreen; - bool menuBarVisible; - bool toolBarsVisible; - bool statusBarVisible; - bool resizable; - bool lowerWindow; - -%If ( KDE_3_5_0 - ) - bool scrollBarsVisible; -%End - -//ig WindowArgsPrivate* d; - -}; // class WindowArgs - - -class OpenURLEvent : KParts::Event -{ -%TypeHeaderCode -#include -%End - - -public: - OpenURLEvent (KParts::ReadOnlyPart*, const KURL&, const KParts::URLArgs& = KParts ::URLArgs ()); - KParts::ReadOnlyPart* part () const; - KURL url () const; - KParts::URLArgs args () const; - static bool test (const QEvent*); - -}; // class OpenURLEvent - - -class BrowserExtension : QObject -{ -%TypeHeaderCode -#include -%End - - -public: - BrowserExtension (KParts::ReadOnlyPart* /TransferThis/, const char* = 0); - -%If ( KDE_3_2_0 - ) - typedef uint PopupFlags; - -%If ( KDE_3_4_0 - ) - - enum - { - DefaultPopupItems, - ShowNavigationItems, - ShowUp, - ShowReload, - ShowBookmark, - ShowCreateDirectory, - ShowTextSelectionItems, - NoDeletion - }; - -%End - -%End - - virtual void setURLArgs (const KParts::URLArgs&); - KParts::URLArgs urlArgs () const; - virtual int xOffset (); - virtual int yOffset (); - virtual void saveState (QDataStream&); - virtual void restoreState (QDataStream&); - bool isURLDropHandlingEnabled () const; - void setURLDropHandlingEnabled (bool); - void setBrowserInterface (KParts::BrowserInterface*); - KParts::BrowserInterface* browserInterface () const; - bool isActionEnabled (const char*) const; - -%If ( KDE_3_5_0 - ) - QString actionText (const char*) const; -%End - - typedef QMap ActionSlotMap; - static KParts::BrowserExtension::ActionSlotMap actionSlotMap (); - static KParts::BrowserExtension::ActionSlotMap* actionSlotMapPtr (); - static KParts::BrowserExtension* childObject (QObject*); - -%If ( KDE_3_2_0 - ) - void pasteRequest (); -%End - - -signals: - void enableAction (const char*, bool); - -%If ( KDE_3_5_0 - ) - void setActionText (const char*, const QString&); -%End - - void openURLRequest (const KURL&, const KParts::URLArgs& = KParts ::URLArgs ()); - void openURLRequestDelayed (const KURL&, const KParts::URLArgs& = KParts ::URLArgs ()); - void openURLNotify (); - void setLocationBarURL (const QString&); - void setIconURL (const KURL&); - void createNewWindow (const KURL&, const KParts::URLArgs& = KParts ::URLArgs ()); -//ig void createNewWindow (const KURL&, const KParts::URLArgs&, const KParts::WindowArgs&, KParts::ReadOnlyPart*&); - void loadingProgress (int); - void speedProgress (int); - void infoMessage (const QString&); - void popupMenu (const QPoint&, const KFileItemList&); - void popupMenu (KXMLGUIClient*, const QPoint&, const KFileItemList&); - -%If ( KDE_3_2_0 - ) - void popupMenu (KXMLGUIClient*, const QPoint&, const KFileItemList&, const KParts::URLArgs&, KParts::BrowserExtension::PopupFlags); -%End - - void popupMenu (const QPoint&, const KURL&, const QString&, mode_t = -1); - void popupMenu (KXMLGUIClient*, const QPoint&, const KURL&, const QString&, mode_t = -1); - -%If ( KDE_3_2_0 - ) - void popupMenu (KXMLGUIClient*, const QPoint&, const KURL&, const KParts::URLArgs&, KParts::BrowserExtension::PopupFlags, mode_t = -1); -%End - - void selectionInfo (const KFileItemList&); - void selectionInfo (const QString&); - void selectionInfo (const KURL::List&); - -%If ( KDE_3_1_0 - ) - void mouseOverInfo (const KFileItem*); - -%If ( KDE_3_2_0 - ) - void addWebSideBar (const KURL&, const QString&); - void moveTopLevelWidget (int, int); - void resizeTopLevelWidget (int, int); - -%If ( KDE_3_3_1 - ) - void requestFocus (KParts::ReadOnlyPart*); - -%If ( KDE_3_4_0 - ) - void setPageSecurity (int); -%End - -%End - -%End - -%End - - -public: - typedef QMap ActionNumberMap; - -protected: -//igx virtual void virtual_hook (int, void*); - -public: - -%If ( KDE_3_3_0 - KDE_3_4_0 ) - - enum - { - DefaultPopupItems, - ShowNavigationItems, - ShowUp, - ShowReload, - ShowBookmark, - ShowCreateDirectory, - ShowTextSelectionItems - }; - -%End - - -public: - -%If ( KDE_3_2_0 - KDE_3_3_0 ) - - enum - { - DefaultPopupItems, - ShowNavigationItems, - ShowUp, - ShowReload, - ShowBookmark, - ShowCreateDirectory - }; - -%End - - -}; // class BrowserExtension - - -class BrowserHostExtension : QObject -{ -%TypeHeaderCode -#include -%End - - -public: - BrowserHostExtension (KParts::ReadOnlyPart* /TransferThis/, const char* = 0); - virtual QStringList frameNames () const; - virtual const QPtrList frames () const; - -%If ( KDE_3_3_0 - ) - KParts::BrowserHostExtension* findFrameParent (KParts::ReadOnlyPart*, const QString&); -%End - - virtual bool openURLInFrame (const KURL&, const KParts::URLArgs&); - static KParts::BrowserHostExtension* childObject (QObject*); - -protected: -//igx virtual void virtual_hook (int, void*); - -}; // class BrowserHostExtension - - -%If ( KDE_3_1_0 - ) - -class LiveConnectExtension : QObject -{ -%TypeHeaderCode -#include -%End - - -public: - - enum Type - { - TypeVoid, - TypeBool, - TypeFunction, - TypeNumber, - TypeObject, - TypeString - }; - -//ig typedef QValueList> ArgList; - LiveConnectExtension (KParts::ReadOnlyPart* /TransferThis/, const char* = 0); - virtual bool get (const ulong, const QString&, KParts::LiveConnectExtension::Type&, ulong&, QString&); - virtual bool put (const ulong, const QString&, const QString&); - virtual bool call (const ulong, const QString&, const QStringList&, KParts::LiveConnectExtension::Type&, ulong&, QString&); - virtual void unregister (const ulong); - static KParts::LiveConnectExtension* childObject (QObject*); - -signals: -//ig virtual void partEvent (const ulong, const QString&, const KParts::LiveConnectExtension::ArgList&); - -}; // class LiveConnectExtension - -%End - -}; // namespace KParts - - -%If ( - KDE_3_5_3 ) -//ig typedef QPtrList KFileItemList; -%End - -//force -QMap testQMapQCStringInt (QMap); -%MethodCode -//takes dict | (QMap) -//returns (QMap) - - sipRes = a0; -%End - -//end - - -%MappedType QMap -//converts a Python dict of QCString:QCString -{ -%TypeHeaderCode -#include -%End - -%ConvertFromTypeCode - // Convert to a Python dict - - if (!sipCpp) - return PyDict_New(); - - PyObject *dict; - - // Create the dictionary. - - if ((dict = PyDict_New()) == NULL) - return NULL; - - // Get it. - - const QMap cppmap = *sipCpp; - QMap::ConstIterator it; - - for (it = cppmap.begin (); it != cppmap.end (); ++it) - { - QCString acpp = it.key (); - QCString bcpp = it.data (); - PyObject *ainst; - PyObject *binst; - if (((ainst = sipBuildResult (NULL, "N", new QCString (acpp), sipClass_QCString)) == NULL) - || ((binst = sipBuildResult (NULL, "N", new QCString (bcpp), sipClass_QCString)) == NULL) - || (PyDict_SetItem (dict, ainst, binst) < 0)) - { - Py_XDECREF (ainst); - Py_XDECREF (binst); - Py_DECREF (dict); - return NULL; - } - } - - return dict; -%End - - -%ConvertToTypeCode - // Convert a Python dictionary to a QMap on the heap. - - if (sipIsErr == NULL) - return PyDict_Check(sipPy); - - - QMap *cppmap = new QMap; - - PyObject *aelem, *belem; - int pos = 0; - QCString *acpp; - QCString *bcpp; - - while (PyDict_Next(sipPy, &pos, &aelem, &belem)) - { - int iserr = 0; - - acpp = (QCString *)sipForceConvertTo_QCString (aelem, &iserr); - bcpp = (QCString *)sipForceConvertTo_QCString (belem, &iserr); - - if (iserr) - { - *sipIsErr = 1; - delete cppmap; - return 0; - } - - cppmap->insert (*acpp, *bcpp); - } - - *sipCppPtr = cppmap; - - return 1; -%End -}; - - -%MappedType QMap -//converts a Python dict of QCString:int -{ -%TypeHeaderCode -#include -%End - -%ConvertFromTypeCode - // Convert to a Python dict - - if (!sipCpp) - return PyDict_New(); - - PyObject *dict; - - // Create the dictionary. - - if ((dict = PyDict_New()) == NULL) - return NULL; - - // Get it. - - const QMap cppmap = *sipCpp; - QMap::ConstIterator it; - - for (it = cppmap.begin (); it != cppmap.end (); ++it) - { - QCString acpp = it.key (); - int bcpp = it.data (); - PyObject *ainst; - PyObject *binst; - if (((ainst = sipBuildResult (NULL, "N", new QCString (acpp), sipClass_QCString)) == NULL) - || ((binst = PyInt_FromLong (bcpp)) < 0) - || (PyDict_SetItem (dict, ainst, binst) < 0)) - { - Py_XDECREF (ainst); - Py_XDECREF (binst); - Py_DECREF (dict); - return NULL; - } - } - - return dict; -%End - - -%ConvertToTypeCode - // Convert a Python dictionary to a QMap on the heap. - - if (sipIsErr == NULL) - return PyDict_Check(sipPy); - - - QMap *cppmap = new QMap; - - PyObject *aelem, *belem; - int pos = 0; - QCString *acpp; - int bcpp; - - while (PyDict_Next(sipPy, &pos, &aelem, &belem)) - { - int iserr = 0; - - if (iserr || !PyInt_Check (belem)) - { - *sipIsErr = 1; - delete cppmap; - return 0; - } - - acpp = (QCString *)sipForceConvertTo_QCString (aelem, &iserr); - bcpp = PyInt_AS_LONG (belem); - - cppmap->insert (*acpp, bcpp); - } - - *sipCppPtr = cppmap; - - return 1; -%End -}; - - -%MappedType QPtrList -//converts a Python list of KParts.ReadOnlyPart -{ -%TypeHeaderCode -#include -%End - -%ConvertFromTypeCode - if (!sipCpp) - return PyList_New (0); - - PyObject *pylist; - - // Create the list - - if ((pylist = PyList_New(0)) == NULL) - return NULL; - - // Get it. - - QPtrList *cpplist = (QPtrList *)sipCpp; - KParts::ReadOnlyPart *cpp; - PyObject *inst; - - // the loop depends on the type of iterator the tmeplate makes available - for(cpp = cpplist->first (); cpp != 0; cpp = cpplist->next () ) - { - if (((inst = sipConvertFromInstance (cpp, sipClass_KParts_ReadOnlyPart, sipTransferObj)) == NULL) - || PyList_Append (pylist, inst) < 0) - { - Py_DECREF (pylist); - return NULL; - } - } - - return pylist; -%End - -%ConvertToTypeCode - if (sipIsErr == NULL) - return PyList_Check(sipPy); - - QPtrList *cpplist = new QPtrList; - - PyObject *elem; - KParts::ReadOnlyPart *cpp; - int iserr = 0; - - for (int i = 0; i < PyList_Size (sipPy); i++) - { - elem = PyList_GET_ITEM (sipPy, i); - cpp = (KParts::ReadOnlyPart *)sipForceConvertTo_KParts_ReadOnlyPart (elem, &iserr); - - if (iserr) - { - *sipIsErr = 1; - delete cpplist; - return 0; - } - - cpplist->append (cpp); - } - - *sipCppPtr = cpplist; - - return 1; -%End -}; - - diff --git a/python/pykde/sip/kparts/browserinterface.sip b/python/pykde/sip/kparts/browserinterface.sip deleted file mode 100644 index 06785f66..00000000 --- a/python/pykde/sip/kparts/browserinterface.sip +++ /dev/null @@ -1,43 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kparts version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - -namespace KParts -{ - -class BrowserInterface : QObject -{ -%TypeHeaderCode -#include -%End - - -public: - BrowserInterface (QObject* /TransferThis/, const char* = 0); - void callMethod (const char*, const QVariant&); - -}; // class BrowserInterface - -}; // namespace KParts - diff --git a/python/pykde/sip/kparts/browserrun.sip b/python/pykde/sip/kparts/browserrun.sip deleted file mode 100644 index 8002ce78..00000000 --- a/python/pykde/sip/kparts/browserrun.sip +++ /dev/null @@ -1,117 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kparts version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - -namespace KParts -{ - -class BrowserRun : KRun -{ -%TypeHeaderCode -#include -%End - - -public: - BrowserRun (const KURL&, const KParts::URLArgs&, KParts::ReadOnlyPart*, QWidget*, bool, bool); - -%If ( KDE_3_1_0 - ) - BrowserRun (const KURL&, const KParts::URLArgs&, KParts::ReadOnlyPart*, QWidget*, bool, bool, bool); -%End - - KURL url () const; - -%If ( KDE_3_1_0 - ) - bool hideErrorDialog () const; - -%If ( KDE_3_2_0 - ) - QString suggestedFilename () const; - -%If ( KDE_3_5_2 - ) - QString contentDisposition () const; - bool serverSuggestsSave () const; -%End - -%End - -%End - - - enum AskSaveResult - { - Save, - Open, - Cancel - }; - - static KParts::BrowserRun::AskSaveResult askSave (const KURL&, KService::Ptr, const QString&, const QString& = QString ::null ); - -%If ( KDE_3_5_2 - ) - - enum AskEmbedOrSaveFlags - { - InlineDisposition, - AttachmentDisposition - }; - -%End - - -%If ( KDE_3_2_0 - ) - static KParts::BrowserRun::AskSaveResult askEmbedOrSave (const KURL&, const QString&, const QString& = QString ::null , int = 0); -%End - - virtual void save (const KURL&, const QString&); - -%If ( KDE_3_2_0 - ) - static void simpleSave (const KURL&, const QString&, QWidget*); -%End - - static void simpleSave (const KURL&, const QString&); - static bool allowExecution (const QString&, const KURL&); - static bool isExecutable (const QString&); - static bool isTextExecutable (const QString&); - -protected: - virtual void scanFile (); - -%If ( KDE_3_1_0 - ) - virtual void init (); -%End - - virtual void handleError (KIO::Job*); -//ig KParts::BrowserRun::NonEmbeddableResult handleNonEmbeddable (const QString&); - -protected slots: - void slotBrowserScanFinished (KIO::Job*); - void slotBrowserMimetype (KIO::Job*, const QString&); - void slotCopyToTempFileResult (KIO::Job*); - virtual void slotStatResult (KIO::Job*); - -protected: - -}; // class BrowserRun - -}; // namespace KParts - diff --git a/python/pykde/sip/kparts/dockmainwindow.sip b/python/pykde/sip/kparts/dockmainwindow.sip deleted file mode 100644 index 4d6d6935..00000000 --- a/python/pykde/sip/kparts/dockmainwindow.sip +++ /dev/null @@ -1,49 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kparts version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - -namespace KParts -{ - -class DockMainWindow : KDockMainWindow, KParts::PartBase -{ -%TypeHeaderCode -#include -%End - - -public: - DockMainWindow (QWidget* /TransferThis/ = 0, const char* = 0, WFlags = WDestructiveClose ); - -protected slots: - void createGUI (KParts::Part*); - virtual void slotSetStatusBarText (const QString&); - -protected: - virtual void createShellGUI (bool = 1); - -}; // class DockMainWindow - -}; // namespace KParts - diff --git a/python/pykde/sip/kparts/event.sip b/python/pykde/sip/kparts/event.sip deleted file mode 100644 index c1014ff9..00000000 --- a/python/pykde/sip/kparts/event.sip +++ /dev/null @@ -1,94 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kparts version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - -namespace KParts -{ - -class Event : QCustomEvent -{ -%TypeHeaderCode -#include -%End - - -public: - Event (const char*); - virtual const char* eventName () const; - static bool test (const QEvent*); - static bool test (const QEvent*, const char*); - -}; // class Event - - -class GUIActivateEvent : KParts::Event -{ -%TypeHeaderCode -#include -%End - - -public: - GUIActivateEvent (bool); - bool activated () const; - static bool test (const QEvent*); - -}; // class GUIActivateEvent - - -class PartActivateEvent : KParts::Event -{ -%TypeHeaderCode -#include -%End - - -public: - PartActivateEvent (bool, KParts::Part*, QWidget*); - bool activated () const; - KParts::Part* part () const; - QWidget* widget () const; - static bool test (const QEvent*); - -}; // class PartActivateEvent - - -class PartSelectEvent : KParts::Event -{ -%TypeHeaderCode -#include -%End - - -public: - PartSelectEvent (bool, KParts::Part*, QWidget*); - bool selected () const; - KParts::Part* part () const; - QWidget* widget () const; - static bool test (const QEvent*); - -}; // class PartSelectEvent - -}; // namespace KParts - diff --git a/python/pykde/sip/kparts/factory.sip b/python/pykde/sip/kparts/factory.sip deleted file mode 100644 index f97cebf0..00000000 --- a/python/pykde/sip/kparts/factory.sip +++ /dev/null @@ -1,53 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kparts version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - -namespace KParts -{ - -class Factory : KLibFactory -{ -%TypeHeaderCode -#include -%End - - -public: - Factory (QObject* /TransferThis/ = 0, const char* = 0); - KParts::Part* createPart (QWidget* = 0, const char* = 0, QObject* /Transfer/ = 0, const char* = 0, const char* = "KParts::Part", const QStringList& = QStringList ()); - -%If ( KDE_3_2_0 - ) - const KInstance* partInstance (); - static const KInstance* partInstanceFromLibrary (const QCString&); -%End - - -protected: - virtual KParts::Part* createPartObject (QWidget* = 0, const char* = 0, QObject* /Transfer/ = 0, const char* = 0, const char* = "KParts::Part", const QStringList& = QStringList ()); - virtual QObject* createObject (QObject* /Transfer/ = 0, const char* = 0, const char* = "QObject", const QStringList& = QStringList ()); - -}; // class Factory - -}; // namespace KParts - diff --git a/python/pykde/sip/kparts/genericfactory.sip b/python/pykde/sip/kparts/genericfactory.sip deleted file mode 100644 index b76a5746..00000000 --- a/python/pykde/sip/kparts/genericfactory.sip +++ /dev/null @@ -1,25 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kparts version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - diff --git a/python/pykde/sip/kparts/historyprovider.sip b/python/pykde/sip/kparts/historyprovider.sip deleted file mode 100644 index ec0bafbb..00000000 --- a/python/pykde/sip/kparts/historyprovider.sip +++ /dev/null @@ -1,54 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kparts version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - -namespace KParts -{ - -class HistoryProvider : QObject -{ -%TypeHeaderCode -#include -%End - - -public: - static KParts::HistoryProvider* self (); - HistoryProvider (QObject* /TransferThis/ = 0, const char* = 0); - virtual bool contains (const QString&) const; - virtual void insert (const QString&); - virtual void remove (const QString&); - virtual void clear (); - -signals: - void cleared (); - void updated (const QStringList&); - -protected: -//igx virtual void virtual_hook (int, void*); - -}; // class HistoryProvider - -}; // namespace KParts - diff --git a/python/pykde/sip/kparts/konsole_part.sip b/python/pykde/sip/kparts/konsole_part.sip deleted file mode 100644 index bbc4ea0d..00000000 --- a/python/pykde/sip/kparts/konsole_part.sip +++ /dev/null @@ -1,177 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kparts version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class konsoleFactory : KParts::Factory -{ -%TypeHeaderCode -#include -#include -%End - - -public: - konsoleFactory (); - virtual KParts::Part* createPartObject (QWidget* = 0, const char* = 0, QObject* /Transfer/ = 0, const char* = 0, const char* = "KParts::Part", const QStringList& = QStringList ()); - static KInstance* instance (); - -}; // class konsoleFactory - - -%If ( KDE_3_5_0 - ) - -class konsolePart : KParts::ReadOnlyPart, TerminalInterface, ExtTerminalInterface -{ -%TypeHeaderCode -#include -#include -%End - - -public: - konsolePart (QWidget*, const char*, QObject* /TransferThis/, const char*, const char* = 0); - -signals: - void processExited (KProcess*); - void receivedData (const QString&); - void forkedChild (); - -protected: - virtual bool openURL (const KURL&); - virtual bool openFile (); - virtual bool closeURL (); - virtual void guiActivateEvent (KParts::GUIActivateEvent*); - -protected slots: - void showShell (); - void sessionDestroyed (); - void enableMasterModeConnections (); - -public: - void startProgram (const QString&, const QStrList&); - void newSession (); - void showShellInDir (const QString&); - void sendInput (const QString&); - void setAutoDestroy (bool); - void setAutoStartShell (bool); - -}; // class konsolePart - -%End - - -class konsoleBrowserExtension : KParts::BrowserExtension -{ -%TypeHeaderCode -#include -#include -%End - - -public: - konsoleBrowserExtension (konsolePart*); - void emitOpenURLRequest (const KURL&); - -}; // class konsoleBrowserExtension - - -%If ( - KDE_3_5_0 ) - -class konsolePart : KParts::ReadOnlyPart, TerminalInterface -{ -%TypeHeaderCode -#include -#include -%End - - -public: - konsolePart (QWidget*, const char*, QObject* /TransferThis/, const char*, const char* = 0); - -signals: - void processExited (); - void receivedData (const QString&); - -protected: - virtual bool openURL (const KURL&); - virtual bool openFile (); - virtual bool closeURL (); - virtual void guiActivateEvent (KParts::GUIActivateEvent*); - -protected slots: - void showShell (); - void slotProcessExited (); - void slotReceivedData (const QString&); - void sessionDestroyed (); - void updateTitle (); - void enableMasterModeConnections (); - -public: - void startProgram (const QString&, const QStrList&); - void showShellInDir (const QString&); - void sendInput (const QString&); - -}; // class konsolePart - -%End - -//force - -class TerminalInterface -{ -%TypeHeaderCode -#include -%End - - -public: - virtual void startProgram (const QString&, const QStrList&) = 0; - virtual void showShellInDir (const QString&) = 0; - virtual void sendInput (const QString&) = 0; - -}; // class TerminalInterface - - -%If ( KDE_3_5_0 - ) - -class ExtTerminalInterface -{ -%TypeHeaderCode -#include -%End - - -public: - virtual void startProgram (const QString&, const QStrList&) = 0; - virtual void showShellInDir (const QString&) = 0; - virtual void sendInput (const QString&) = 0; - virtual void setAutoStartShell (bool) = 0; - virtual void setAutoDestroy (bool) = 0; - -}; // class ExtTerminalInterface - -%End - -//end diff --git a/python/pykde/sip/kparts/kparts-kde320.diff b/python/pykde/sip/kparts/kparts-kde320.diff deleted file mode 100644 index 8ad0226b..00000000 --- a/python/pykde/sip/kparts/kparts-kde320.diff +++ /dev/null @@ -1 +0,0 @@ -+ %Include statusbarextension.sip diff --git a/python/pykde/sip/kparts/kparts-kde321.diff b/python/pykde/sip/kparts/kparts-kde321.diff deleted file mode 100644 index 8ad0226b..00000000 --- a/python/pykde/sip/kparts/kparts-kde321.diff +++ /dev/null @@ -1 +0,0 @@ -+ %Include statusbarextension.sip diff --git a/python/pykde/sip/kparts/kparts-kde322.diff b/python/pykde/sip/kparts/kparts-kde322.diff deleted file mode 100644 index 8ad0226b..00000000 --- a/python/pykde/sip/kparts/kparts-kde322.diff +++ /dev/null @@ -1 +0,0 @@ -+ %Include statusbarextension.sip diff --git a/python/pykde/sip/kparts/kparts-kde323.diff b/python/pykde/sip/kparts/kparts-kde323.diff deleted file mode 100644 index 8ad0226b..00000000 --- a/python/pykde/sip/kparts/kparts-kde323.diff +++ /dev/null @@ -1 +0,0 @@ -+ %Include statusbarextension.sip diff --git a/python/pykde/sip/kparts/kparts-kde330.diff b/python/pykde/sip/kparts/kparts-kde330.diff deleted file mode 100644 index 8ad0226b..00000000 --- a/python/pykde/sip/kparts/kparts-kde330.diff +++ /dev/null @@ -1 +0,0 @@ -+ %Include statusbarextension.sip diff --git a/python/pykde/sip/kparts/kparts-kde331.diff b/python/pykde/sip/kparts/kparts-kde331.diff deleted file mode 100644 index 8ad0226b..00000000 --- a/python/pykde/sip/kparts/kparts-kde331.diff +++ /dev/null @@ -1 +0,0 @@ -+ %Include statusbarextension.sip diff --git a/python/pykde/sip/kparts/kparts-kde332.diff b/python/pykde/sip/kparts/kparts-kde332.diff deleted file mode 100644 index 8ad0226b..00000000 --- a/python/pykde/sip/kparts/kparts-kde332.diff +++ /dev/null @@ -1 +0,0 @@ -+ %Include statusbarextension.sip diff --git a/python/pykde/sip/kparts/kparts-kde340.diff b/python/pykde/sip/kparts/kparts-kde340.diff deleted file mode 100644 index 8ad0226b..00000000 --- a/python/pykde/sip/kparts/kparts-kde340.diff +++ /dev/null @@ -1 +0,0 @@ -+ %Include statusbarextension.sip diff --git a/python/pykde/sip/kparts/kparts-kde341.diff b/python/pykde/sip/kparts/kparts-kde341.diff deleted file mode 100644 index 8ad0226b..00000000 --- a/python/pykde/sip/kparts/kparts-kde341.diff +++ /dev/null @@ -1 +0,0 @@ -+ %Include statusbarextension.sip diff --git a/python/pykde/sip/kparts/kparts-kde342.diff b/python/pykde/sip/kparts/kparts-kde342.diff deleted file mode 100644 index 8ad0226b..00000000 --- a/python/pykde/sip/kparts/kparts-kde342.diff +++ /dev/null @@ -1 +0,0 @@ -+ %Include statusbarextension.sip diff --git a/python/pykde/sip/kparts/kparts-kde343.diff b/python/pykde/sip/kparts/kparts-kde343.diff deleted file mode 100644 index 8ad0226b..00000000 --- a/python/pykde/sip/kparts/kparts-kde343.diff +++ /dev/null @@ -1 +0,0 @@ -+ %Include statusbarextension.sip diff --git a/python/pykde/sip/kparts/kparts-kde350.diff b/python/pykde/sip/kparts/kparts-kde350.diff deleted file mode 100644 index 8920fa04..00000000 --- a/python/pykde/sip/kparts/kparts-kde350.diff +++ /dev/null @@ -1,2 +0,0 @@ -+ %Include konsole_part.sip -+ %Include statusbarextension.sip diff --git a/python/pykde/sip/kparts/kparts-kde351.diff b/python/pykde/sip/kparts/kparts-kde351.diff deleted file mode 100644 index 8920fa04..00000000 --- a/python/pykde/sip/kparts/kparts-kde351.diff +++ /dev/null @@ -1,2 +0,0 @@ -+ %Include konsole_part.sip -+ %Include statusbarextension.sip diff --git a/python/pykde/sip/kparts/kparts-kde352.diff b/python/pykde/sip/kparts/kparts-kde352.diff deleted file mode 100644 index 8920fa04..00000000 --- a/python/pykde/sip/kparts/kparts-kde352.diff +++ /dev/null @@ -1,2 +0,0 @@ -+ %Include konsole_part.sip -+ %Include statusbarextension.sip diff --git a/python/pykde/sip/kparts/kparts-kde353.diff b/python/pykde/sip/kparts/kparts-kde353.diff deleted file mode 100644 index 8920fa04..00000000 --- a/python/pykde/sip/kparts/kparts-kde353.diff +++ /dev/null @@ -1,2 +0,0 @@ -+ %Include konsole_part.sip -+ %Include statusbarextension.sip diff --git a/python/pykde/sip/kparts/kpartsmod.sip b/python/pykde/sip/kparts/kpartsmod.sip deleted file mode 100644 index 7e2c2904..00000000 --- a/python/pykde/sip/kparts/kpartsmod.sip +++ /dev/null @@ -1,51 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kparts version KDE_3_5_2 - -%Copying - - This software is free software; you can redistribute it and/or - modify it under the terms of the GNU General Public License as - published by the Free Software Foundation; either version 2 of - the License, or (at your option) any later version. - - This software is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public - License along with this library; see the file COPYING. - If not, write to the Free Software Foundation, Inc., - 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - -%End - -%Module kparts - -%Import qt/qtmod.sip -%Import qtxml/qtxmlmod.sip -%Import dcopmod.sip -%Import kdecoremod.sip -%Import kdefxmod.sip -%Import kdeuimod.sip -%Import kiomod.sip - -%Include browserextension.sip -%Include browserinterface.sip -%Include browserrun.sip -%Include dockmainwindow.sip -%Include event.sip -%Include factory.sip -%Include genericfactory.sip -%Include historyprovider.sip -%Include mainwindow.sip -%Include part.sip -%Include partmanager.sip -%Include plugin.sip -%Include statusbarextension.sip diff --git a/python/pykde/sip/kparts/kpartsmod.sip.in b/python/pykde/sip/kparts/kpartsmod.sip.in deleted file mode 100644 index 38061144..00000000 --- a/python/pykde/sip/kparts/kpartsmod.sip.in +++ /dev/null @@ -1,51 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kparts version KDE_3_5_2 - -%Copying - - This software is free software; you can redistribute it and/or - modify it under the terms of the GNU General Public License as - published by the Free Software Foundation; either version 2 of - the License, or (at your option) any later version. - - This software is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public - License along with this library; see the file COPYING. - If not, write to the Free Software Foundation, Inc., - 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - -%End - -%Module kparts - -%Import qt/qtmod.sip -%Import qtxml/qtxmlmod.sip -%Import dcopmod.sip -%Import kdecoremod.sip -%Import kdefxmod.sip -%Import kdeuimod.sip -%Import kiomod.sip - -%Include browserextension.sip -%Include browserinterface.sip -%Include browserrun.sip -%Include dockmainwindow.sip -%Include event.sip -%Include factory.sip -%Include genericfactory.sip -%Include historyprovider.sip -%Include mainwindow.sip -%Include part.sip -%Include partmanager.sip -%Include plugin.sip -@mark@ diff --git a/python/pykde/sip/kparts/mainwindow.sip b/python/pykde/sip/kparts/mainwindow.sip deleted file mode 100644 index 3fa7d3e1..00000000 --- a/python/pykde/sip/kparts/mainwindow.sip +++ /dev/null @@ -1,60 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kparts version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - -namespace KParts -{ - -class MainWindow : KMainWindow, KParts::PartBase -{ -%TypeHeaderCode -#include -%End - - -public: - MainWindow (QWidget* /TransferThis/, const char* = 0, WFlags = WType_TopLevel |WDestructiveClose ); - MainWindow (const char* = 0, WFlags = WDestructiveClose ); - -%If ( KDE_3_2_0 - ) - MainWindow (int, QWidget* /TransferThis/, const char* = 0, WFlags = WType_TopLevel |WDestructiveClose ); -%End - - -protected slots: - void createGUI (KParts::Part*); - virtual void slotSetStatusBarText (const QString&); - -%If ( KDE_3_4_0 - ) - void saveNewToolbarConfig (); -%End - - -protected: - virtual void createShellGUI (bool = 1); - -}; // class MainWindow - -}; // namespace KParts - diff --git a/python/pykde/sip/kparts/part.sip b/python/pykde/sip/kparts/part.sip deleted file mode 100644 index c4ec29d7..00000000 --- a/python/pykde/sip/kparts/part.sip +++ /dev/null @@ -1,312 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kparts version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - -namespace KParts -{ - -class PartBase : KXMLGUIClient -{ -%TypeHeaderCode -#include -%End - - -public: - PartBase (); - void setPartObject (QObject*); - QObject* partObject () const; - -protected: - virtual void setInstance (KInstance*); - virtual void setInstance (KInstance*, bool); - -%If ( KDE_3_1_0 - ) - void loadPlugins (QObject* /Transfer/, KXMLGUIClient*, KInstance*); -//ig void setPluginLoadingMode (KParts::PartBase::PluginLoadingMode); -%End - - -}; // class PartBase - - -class Part : QObject, KParts::PartBase -{ -%TypeHeaderCode -#include -%End - - -public: - Part (QObject* /TransferThis/ = 0, const char* = 0); - virtual void embed (QWidget*); - virtual QWidget* widget (); - virtual void setManager (KParts::PartManager*); - KParts::PartManager* manager (); - virtual KParts::Part* hitTest (QWidget*, const QPoint&); - virtual void setSelectable (bool); - bool isSelectable () const; - -signals: - void setWindowCaption (const QString&); - void setStatusBarText (const QString&); - -protected: - virtual void setWidget (QWidget*); - virtual void customEvent (QCustomEvent*); - virtual void partActivateEvent (KParts::PartActivateEvent*); - virtual void partSelectEvent (KParts::PartSelectEvent*); - virtual void guiActivateEvent (KParts::GUIActivateEvent*); - QWidget* hostContainer (const QString&); - -//force -%ConvertToSubClassCode - // The table of Python class objects indexed by their names. The table - // must be sorted by name. - - static sipStringTypeClassMap map[] = { - {sipName_BrowserExtension, &sipClass_KParts_BrowserExtension}, - {sipName_BrowserHostExtension, &sipClass_KParts_BrowserHostExtension}, - {sipName_BrowserInterface, &sipClass_KParts_BrowserInterface}, - {sipName_BrowserRun, &sipClass_KParts_BrowserRun}, - {sipName_Factory, &sipClass_KParts_Factory}, - {sipName_HistoryProvider, &sipClass_KParts_HistoryProvider}, -#if KDE_VERSION >= 0x030100 - {sipName_LiveConnectExtension, &sipClass_KParts_LiveConnectExtension}, -#endif - {sipName_MainWindow, &sipClass_KParts_MainWindow}, - {sipName_Part, &sipClass_KParts_Part}, - {sipName_PartManager, &sipClass_KParts_PartManager}, - {sipName_Plugin, &sipClass_KParts_Plugin}, - {sipName_ReadOnlyPart, &sipClass_KParts_ReadOnlyPart}, - {sipName_ReadWritePart, &sipClass_KParts_ReadWritePart}, -// {sipName_konsolePart, &sipClass_konsolePart}, -// {sipName_konsoleBrowserExtension, &sipClass_konsoleBrowserExtension}, - }; - - sipClass = sipMapStringToClass(sipCpp -> className(),map,sizeof (map)/sizeof (map[0])); -%End -//end - -}; // class Part - -//doc -// Even though this is an abstract class, you can use -// createReadOnlyPart (see below) without creating -// a concrete instance of this class. -//end - -class ReadOnlyPart : KParts::Part -{ -%TypeHeaderCode -#include -%End - - -public: - ReadOnlyPart (QObject* /TransferThis/ = 0, const char* = 0); - void setProgressInfoEnabled (bool); - bool isProgressInfoEnabled () const; - void showProgressInfo (bool); - -public slots: - virtual bool openURL (const KURL&); - -public: - KURL url () const; - virtual bool closeURL (); - -public: - bool openStream (const QString&, const KURL&); - bool writeStream (const QByteArray&); - bool closeStream (); - -signals: - void started (KIO::Job*); - void completed (); - void completed (bool); - void canceled (const QString&); - -protected slots: - void slotJobFinished (KIO::Job*); - -protected: - virtual bool openFile () = 0; - void abortLoad (); - virtual void guiActivateEvent (KParts::GUIActivateEvent*); - -}; // class ReadOnlyPart - -//doc -// Even though this is an abstract class, you can use -// createReadWritePart (see below) without creating a concrete instance -// of this class. -//end - -class ReadWritePart : KParts::ReadOnlyPart -{ -%TypeHeaderCode -#include -%End - - -public: - ReadWritePart (QObject* /TransferThis/ = 0, const char* = 0); - bool isReadWrite () const; - virtual void setReadWrite (bool = 1); - bool isModified () const; - -%If ( KDE_3_1_3 - ) - bool queryClose (); -%End - - virtual bool closeURL (); - -%If ( KDE_3_1_3 - ) - bool closeURL (bool); -%End - - virtual bool saveAs (const KURL&); - virtual void setModified (bool); - -signals: - -%If ( KDE_3_2_0 - ) -//ig void sigQueryClose (bool*, bool*); -%End - - -public slots: - virtual void setModified (); - virtual bool save (); - -%If ( KDE_3_2_0 - ) - bool waitSaveComplete (); -%End - - -protected: - virtual bool saveFile () = 0; - virtual bool saveToURL (); - -protected slots: - void slotUploadFinished (KIO::Job*); - -}; // class ReadWritePart - -}; // namespace KParts - -//force -//doc -// -// This is a PyKDE-only function that handles the machinery necessary -// to create a KParts::ReadOnlyPart. It executes the following C++ code: -// -//
-// KParts::ReadOnlyPart *createReadOnlyPart (const QString& lib, QObject *parent,
-//                                           const QString& name, const char *className,
-//                                           const QStringList &args)
-// {
-//    KLibFactory *factory = KLibLoader::self ()->factory ((const char *)lib);
-//
-//    if (factory)
-//            return static_cast<KParts::ReadOnlyPart*> (factory->create (parent,
-//                                               (const char *)name, className, args));
-//        else
-//                return NULL;
-// 
-// -// Notice that it takes care of creating the KLibFactory for you, and -// returns the part cast to type KParts::ReadOnlyPart. The actual -// part has a different class (derived from KParts::ReadOnlyPart), -// and calls to openURL or openFile will use the part's overloaded -// methods. Currently it isn't possible to call KParts::ReadOnlyPart::openURL -// if it has been overloaded. -// -// -// Usage: KParts.createReadOnlyPart (lib, parent, name, className, args) -// -//end -KParts::ReadOnlyPart* createReadOnlyPart (const QString&, QObject* = 0, const QString& = QString ::null , const char* = "KParts::ReadOnlyPart", const QStringList& = QStringList ()); -//doc -// -// This is a PyKDE-only function that handles the machinery necessary -// to create a KParts::ReadWritePart. It executes the following C++ code: -// -//
-// KParts::ReadWritePart *createReadWritePart (const QString& lib, QObject *parent,
-//                                           const QString& name, const char *className,
-//                                           const QStringList &args)
-// {
-//     KLibFactory *factory = KLibLoader::self ()->factory ((const char *)lib);
-//
-//     if (factory)
-//             return static_cast<KParts::ReadWritePart*> (factory->create (parent,
-//                                                (const char *)name, className, args));
-//         else
-//                 return NULL;
-// 
-// -// Notice that it takes care of creating the KLibFactory for you, and -// returns the part cast to type KParts::ReadWritePart. The actual -// part has a different class (derived from KParts::ReadWritePart), -// and calls to openURL or openFile will use the part's overloaded -// methods. Currently it isn't possible to call KParts::ReadWritePart::openURL -// if it has been overloaded. -// -// -// Usage: KParts.createReadWritePart (lib, parent, name, className, args) -// -//end -KParts::ReadWritePart* createReadWritePart (const QString&, QObject* = 0, const QString& = QString ::null , const char* = "KParts::ReadWritePart", const QStringList& = QStringList ()); -//end - - -%ModuleCode -KParts::ReadOnlyPart *createReadOnlyPart (const QString& lib, QObject *parent, const QString& name, const char *className, - const QStringList &args) -{ - KParts::ReadOnlyPart *res = NULL; - - KLibFactory *factory = KLibLoader::self ()->factory ((const char *)lib); - - if (factory) - res = static_cast (factory->create (parent, (const char *)name, className, args)); - - return res; -} - -KParts::ReadWritePart *createReadWritePart (const QString& lib, QObject *parent, const QString& name, const char *className, - const QStringList &args) -{ - KParts::ReadWritePart *res = NULL; - - KLibFactory *factory = KLibLoader::self ()->factory ((const char *)lib); - - if (factory) - res = static_cast (factory->create (parent, (const char *)name, className, args)); - - return res; -} -%End diff --git a/python/pykde/sip/kparts/partmanager.sip b/python/pykde/sip/kparts/partmanager.sip deleted file mode 100644 index 9e380b81..00000000 --- a/python/pykde/sip/kparts/partmanager.sip +++ /dev/null @@ -1,181 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kparts version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - -namespace KParts -{ - -class PartManager : QObject -{ -%TypeHeaderCode -#include -%End - - -public: - - enum SelectionPolicy - { - Direct, - TriState - }; - - -%If ( KDE_3_3_0 - ) - - enum Reason - { - ReasonLeftClick, - ReasonMidClick, - ReasonRightClick, - NoReason - }; - -%End - - PartManager (QWidget* /TransferThis/, const char* = 0); - PartManager (QWidget*, QObject* /TransferThis/, const char* = 0); - void setSelectionPolicy (KParts::PartManager::SelectionPolicy); - KParts::PartManager::SelectionPolicy selectionPolicy () const; - void setAllowNestedParts (bool); - bool allowNestedParts () const; - void setIgnoreScrollBars (bool); - bool ignoreScrollBars () const; - -%If ( KDE_3_1_0 - ) - void setActivationButtonMask (short); - short activationButtonMask () const; -%End - - virtual bool eventFilter (QObject*, QEvent*); - virtual void addPart (KParts::Part*, bool = 1); - virtual void removePart (KParts::Part*); - virtual void replacePart (KParts::Part*, KParts::Part*, bool = 1); - virtual void setActivePart (KParts::Part*, QWidget* = 0); - virtual KParts::Part* activePart () const; - virtual QWidget* activeWidget () const; - virtual void setSelectedPart (KParts::Part*, QWidget* = 0); - virtual KParts::Part* selectedPart () const; - virtual QWidget* selectedWidget () const; - const QPtrList* parts () const; - void addManagedTopLevelWidget (const QWidget*); - void removeManagedTopLevelWidget (const QWidget*); - -%If ( KDE_3_3_0 - ) - int reason () const; -%End - - -signals: - void partAdded (KParts::Part*); - void partRemoved (KParts::Part*); - void activePartChanged (KParts::Part*); - -protected: - virtual void setActiveInstance (KInstance*); - -protected slots: - void slotObjectDestroyed (); - void slotWidgetDestroyed (); - void slotManagedTopLevelWidgetDestroyed (); - -protected: -//igx virtual void virtual_hook (int, void*); - -}; // class PartManager - -}; // namespace KParts - - - -%MappedType QPtrList -//converts a Python list of KParts.Part -{ -%TypeHeaderCode -#include -%End - -%ConvertFromTypeCode - if (!sipCpp) - return PyList_New (0); - - PyObject *pylist; - - // Create the list - - if ((pylist = PyList_New(0)) == NULL) - return NULL; - - // Get it. - - QPtrList *cpplist = (QPtrList *)sipCpp; - KParts::Part *cpp; - PyObject *inst; - - // the loop depends on the type of iterator the tmeplate makes available - for(cpp = cpplist->first (); cpp != 0; cpp = cpplist->next () ) - { - if (((inst = sipConvertFromInstance (cpp, sipClass_KParts_Part, sipTransferObj)) == NULL) - || PyList_Append (pylist, inst) < 0) - { - Py_DECREF (pylist); - return NULL; - } - } - - return pylist; -%End - -%ConvertToTypeCode - if (sipIsErr == NULL) - return PyList_Check(sipPy); - - QPtrList *cpplist = new QPtrList; - - PyObject *elem; - KParts::Part *cpp; - int iserr = 0; - - for (int i = 0; i < PyList_Size (sipPy); i++) - { - elem = PyList_GET_ITEM (sipPy, i); - cpp = (KParts::Part *)sipForceConvertTo_KParts_Part (elem, &iserr); - - if (iserr) - { - *sipIsErr = 1; - delete cpplist; - return 0; - } - - cpplist->append (cpp); - } - - *sipCppPtr = cpplist; - - return 1; -%End -}; - - diff --git a/python/pykde/sip/kparts/plugin.sip b/python/pykde/sip/kparts/plugin.sip deleted file mode 100644 index 815e1b78..00000000 --- a/python/pykde/sip/kparts/plugin.sip +++ /dev/null @@ -1,210 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kparts version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - -namespace KParts -{ - -class Plugin : QObject, KXMLGUIClient -{ -%TypeHeaderCode -#include -%End - - -public: - - class PluginInfo - { - - public: - QString m_relXMLFileName; - QString m_absXMLFileName; - QDomDocument m_document; - - }; // class PluginInfo - - -public: - Plugin (QObject* /TransferThis/ = 0, const char* = 0); - virtual QString xmlFile () const; - virtual QString localXMLFile () const; - static void loadPlugins (QObject* /Transfer/, const KInstance*); - static void loadPlugins (QObject* /Transfer/, const QValueList&); - static void loadPlugins (QObject* /Transfer/, const QValueList&, const KInstance*); - -%If ( KDE_3_1_0 - ) - static void loadPlugins (QObject* /Transfer/, KXMLGUIClient*, KInstance*, bool = 1); -%End - - static QPtrList pluginObjects (QObject* /Transfer/); - -protected: - static QValueList pluginInfos (const KInstance*); - static KParts::Plugin* loadPlugin (QObject* /Transfer/, const char*); - virtual void setInstance (KInstance*); - -}; // class Plugin - -}; // namespace KParts - - - -%MappedType QValueList -//converts a Python list of KParts.Plugin.PluginInfo -{ -%TypeHeaderCode -#include -%End - -%ConvertFromTypeCode - if (!sipCpp) - return PyList_New(0); - - // Create the list - PyObject *pylist; - if ((pylist = PyList_New(0)) == NULL) - return NULL; - - QValueList *cpplist = (QValueList *)sipCpp; - PyObject *inst; - - // Get it. - QValueList::Iterator it; - for( it = cpplist->begin(); it != cpplist->end(); ++it ) - { - if (((inst = sipBuildResult (NULL, "N", new KParts::Plugin::PluginInfo (*it), sipClass_KParts_Plugin_PluginInfo)) == NULL) - || PyList_Append (pylist, inst) < 0) - { - Py_DECREF (pylist); - return NULL; - } - } - - return pylist; -%End - - -%ConvertToTypeCode - if (sipIsErr == NULL) - return PyList_Check(sipPy); - - QValueList *cpplist = new QValueList; - - PyObject *elem; - KParts::Plugin::PluginInfo *cpp; - int iserr = 0; - - for (int i = 0; i < PyList_Size (sipPy); i++) - { - elem = PyList_GET_ITEM (sipPy, i); - cpp = (KParts::Plugin::PluginInfo *)sipForceConvertTo_KParts_Plugin_PluginInfo (elem, &iserr); - - if (iserr) - { - *sipIsErr = 1; - delete cpplist; - return 0; - } - - cpplist->append (*cpp); - } - - *sipCppPtr = cpplist; - - return 1; -%End -}; - - -%MappedType QPtrList -//converts a Python list of KParts.Plugin -{ -%TypeHeaderCode -#include -%End - -%ConvertFromTypeCode - if (!sipCpp) - return PyList_New (0); - - PyObject *pylist; - - // Create the list - - if ((pylist = PyList_New(0)) == NULL) - return NULL; - - // Get it. - - QPtrList *cpplist = (QPtrList *)sipCpp; - KParts::Plugin *cpp; - PyObject *inst; - - // the loop depends on the type of iterator the tmeplate makes available - for(cpp = cpplist->first (); cpp != 0; cpp = cpplist->next () ) - { - if (((inst = sipConvertFromInstance (cpp, sipClass_KParts_Plugin, sipTransferObj)) == NULL) - || PyList_Append (pylist, inst) < 0) - { - Py_DECREF (pylist); - return NULL; - } - } - - return pylist; -%End - -%ConvertToTypeCode - if (sipIsErr == NULL) - return PyList_Check(sipPy); - - QPtrList *cpplist = new QPtrList; - - PyObject *elem; - KParts::Plugin *cpp; - int iserr = 0; - - for (int i = 0; i < PyList_Size (sipPy); i++) - { - elem = PyList_GET_ITEM (sipPy, i); - cpp = (KParts::Plugin *)sipForceConvertTo_KParts_Plugin (elem, &iserr); - - if (iserr) - { - *sipIsErr = 1; - delete cpplist; - return 0; - } - - cpplist->append (cpp); - } - - *sipCppPtr = cpplist; - - return 1; -%End -}; - - diff --git a/python/pykde/sip/kparts/statusbarextension.sip b/python/pykde/sip/kparts/statusbarextension.sip deleted file mode 100644 index 99e5129a..00000000 --- a/python/pykde/sip/kparts/statusbarextension.sip +++ /dev/null @@ -1,52 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kparts version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -%If ( KDE_3_2_0 - ) -namespace KParts -{ - -class StatusBarExtension : QObject -{ -%TypeHeaderCode -#include -%End - - -public: - StatusBarExtension (KParts::ReadOnlyPart* /TransferThis/, const char* = 0); - void addStatusBarItem (QWidget*, int, bool); - void removeStatusBarItem (QWidget*); - KStatusBar* statusBar () const; - void setStatusBar (KStatusBar*); - static KParts::StatusBarExtension* childObject (QObject*); - virtual bool eventFilter (QObject*, QEvent*); - -}; // class StatusBarExtension - -}; // namespace KParts - -%End - diff --git a/python/pykde/sip/kresources/configdialog.sip b/python/pykde/sip/kresources/configdialog.sip deleted file mode 100644 index 744e14b9..00000000 --- a/python/pykde/sip/kresources/configdialog.sip +++ /dev/null @@ -1,52 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kresources version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -%If ( KDE_3_2_0 - ) -namespace KRES -{ - -class ConfigDialog : KDialogBase -{ -%TypeHeaderCode -#include -%End - - -public: - ConfigDialog (QWidget*, const QString&, KRES::Resource*, const char* = 0); - void setInEditMode (bool); - -protected slots: - void accept (); - void setReadOnly (bool); - void slotNameChanged (const QString&); - -}; // class ConfigDialog - -}; // namespace KRES - -%End - diff --git a/python/pykde/sip/kresources/configpage.sip b/python/pykde/sip/kresources/configpage.sip deleted file mode 100644 index e1dbf525..00000000 --- a/python/pykde/sip/kresources/configpage.sip +++ /dev/null @@ -1,48 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kresources version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -%If ( KDE_3_2_0 - ) -namespace KRES -{ - -class ResourcePageInfo : KShared -{ -%TypeHeaderCode -#include -%End - - -public: - ResourcePageInfo (); -//ig Manager* mManager; - KConfig* mConfig; - -}; // class ResourcePageInfo - -}; // namespace KRES - -%End - diff --git a/python/pykde/sip/kresources/configwidget.sip b/python/pykde/sip/kresources/configwidget.sip deleted file mode 100644 index 822fe5a7..00000000 --- a/python/pykde/sip/kresources/configwidget.sip +++ /dev/null @@ -1,56 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kresources version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -%If ( KDE_3_2_0 - ) -namespace KRES -{ - -class ConfigWidget : QWidget -{ -%TypeHeaderCode -#include -%End - - -public: - ConfigWidget (QWidget* = 0, const char* = 0); - virtual void setInEditMode (bool); - -public slots: - virtual void loadSettings (KRES::Resource*) = 0; - virtual void saveSettings (KRES::Resource*) = 0; - -signals: - void setReadOnly (bool); - -protected: - -}; // class ConfigWidget - -}; // namespace KRES - -%End - diff --git a/python/pykde/sip/kresources/factory.sip b/python/pykde/sip/kresources/factory.sip deleted file mode 100644 index 8a35b791..00000000 --- a/python/pykde/sip/kresources/factory.sip +++ /dev/null @@ -1,54 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kresources version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -%If ( KDE_3_2_0 - ) -namespace KRES -{ - -class Factory -{ -%TypeHeaderCode -#include -%End - - -public: - static KRES::Factory* self (const QString&); - KRES::ConfigWidget* configWidget (const QString&, QWidget* = 0); - KRES::Resource* resource (const QString&, const KConfig*); - QStringList typeNames () const; - QString typeName (const QString&) const; - QString typeDescription (const QString&) const; - -protected: - Factory (const QString&); - -}; // class Factory - -}; // namespace KRES - -%End - diff --git a/python/pykde/sip/kresources/kresourcesmod.sip b/python/pykde/sip/kresources/kresourcesmod.sip deleted file mode 100644 index 6e9dd29d..00000000 --- a/python/pykde/sip/kresources/kresourcesmod.sip +++ /dev/null @@ -1,44 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kresources version KDE_3_5_2 - -%Copying - - This software is free software; you can redistribute it and/or - modify it under the terms of the GNU General Public License as - published by the Free Software Foundation; either version 2 of - the License, or (at your option) any later version. - - This software is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public - License along with this library; see the file COPYING. - If not, write to the Free Software Foundation, Inc., - 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - -%End - -%Module kresources - -%Import qt/qtmod.sip -%Import qtxml/qtxmlmod.sip -%Import dcopmod.sip -%Import kdecoremod.sip -%Import kdefxmod.sip -%Import kdeuimod.sip -%Import kiomod.sip - -%Include configdialog.sip -%Include configpage.sip -%Include configwidget.sip -%Include factory.sip -%Include resource.sip -%Include selectdialog.sip diff --git a/python/pykde/sip/kresources/kresourcesmod.sip.in b/python/pykde/sip/kresources/kresourcesmod.sip.in deleted file mode 100644 index 9e6cfd57..00000000 --- a/python/pykde/sip/kresources/kresourcesmod.sip.in +++ /dev/null @@ -1,45 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kresources version KDE_3_5_2 - -%Copying - - This software is free software; you can redistribute it and/or - modify it under the terms of the GNU General Public License as - published by the Free Software Foundation; either version 2 of - the License, or (at your option) any later version. - - This software is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public - License along with this library; see the file COPYING. - If not, write to the Free Software Foundation, Inc., - 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - -%End - -%Module kresources - -%Import qt/qtmod.sip -%Import qtxml/qtxmlmod.sip -%Import dcopmod.sip -%Import kdecoremod.sip -%Import kdefxmod.sip -%Import kdeuimod.sip -%Import kiomod.sip - -%Include configdialog.sip -%Include configpage.sip -%Include configwidget.sip -%Include factory.sip -%Include resource.sip -%Include selectdialog.sip -@mark@ diff --git a/python/pykde/sip/kresources/resource.sip b/python/pykde/sip/kresources/resource.sip deleted file mode 100644 index 3c044b74..00000000 --- a/python/pykde/sip/kresources/resource.sip +++ /dev/null @@ -1,84 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kresources version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -%If ( KDE_3_2_0 - ) -namespace KRES -{ - -class Resource : QObject -{ -%TypeHeaderCode -#include -#include -%End - - -public: - typedef QValueList List; - Resource (const KConfig*); - virtual void writeConfig (KConfig*); - bool open (); - void close (); - bool isOpen () const; - QString identifier () const; - QString type () const; - virtual void setReadOnly (bool); - virtual bool readOnly () const; - virtual void setResourceName (const QString&); - virtual QString resourceName () const; - void setActive (bool); - bool isActive () const; - virtual void dump () const; - -protected: - virtual bool doOpen (); - virtual void doClose (); - void setIdentifier (const QString&); - void setType (const QString&); - -}; // class Resource - - -class PluginFactoryBase : KLibFactory -{ -%TypeHeaderCode -#include -%End - - -public: - virtual KRES::Resource* resource (const KConfig*) = 0; - virtual KRES::ConfigWidget* configWidget (QWidget*) = 0; - -protected: - virtual QObject* createObject (QObject*, const char*, const char*, const QStringList&); - -}; // class PluginFactoryBase - -}; // namespace KRES - -%End - diff --git a/python/pykde/sip/kresources/selectdialog.sip b/python/pykde/sip/kresources/selectdialog.sip deleted file mode 100644 index 867f588f..00000000 --- a/python/pykde/sip/kresources/selectdialog.sip +++ /dev/null @@ -1,133 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kresources version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - -%ModuleHeaderCode -#include -%End - - -%If ( KDE_3_2_0 - ) -namespace KRES -{ - -class SelectDialog -{ -%TypeHeaderCode -#include -%End - - -public: - SelectDialog (QPtrList, QWidget* = 0, const char* = 0); - KRES::Resource* resource (); - static KRES::Resource* getResource (QPtrList, QWidget* = 0); -//force - -private: - SelectDialog (const KRES::SelectDialog&); -//end - -}; // class SelectDialog - -}; // namespace KRES - -%End - - - -%If (KDE_3_2_0 - ) -%MappedType QPtrList -//converts a Python list of KRES::Resource -{ -%TypeHeaderCode -#include -#include -#include -%End - -%ConvertFromTypeCode - if (!sipCpp) - return PyList_New (0); - - PyObject *pylist; - - // Create the list - - if ((pylist = PyList_New(0)) == NULL) - return NULL; - - // Get it. - - QPtrList *cpplist = (QPtrList *)sipCpp; - KRES::Resource *cpp; - PyObject *inst; - - // the loop depends on the type of iterator the tmeplate makes available - for(cpp = cpplist->first (); cpp != 0; cpp = cpplist->next () ) - { - if (((inst = sipConvertFromInstance (cpp, sipClass_KRES_Resource, sipTransferObj)) == NULL) - || PyList_Append (pylist, inst) < 0) - { - Py_DECREF (pylist); - return NULL; - } - } - - return pylist; -%End - -%ConvertToTypeCode - if (sipIsErr == NULL) - return PyList_Check(sipPy); - - QPtrList *cpplist = new QPtrList; - - PyObject *elem; - KRES::Resource *cpp; - int iserr = 0; - - for (int i = 0; i < PyList_Size (sipPy); i++) - { - elem = PyList_GET_ITEM (sipPy, i); - cpp = (KRES::Resource *)sipForceConvertTo_KRES_Resource (elem, &iserr); - - if (iserr) - { - *sipIsErr = 1; - delete cpplist; - return 0; - } - - cpplist->append (cpp); - } - - *sipCppPtr = cpplist; - - return 1; -%End -}; -%End - - diff --git a/python/pykde/sip/kspell/ksconfig.sip b/python/pykde/sip/kspell/ksconfig.sip deleted file mode 100644 index b660ea74..00000000 --- a/python/pykde/sip/kspell/ksconfig.sip +++ /dev/null @@ -1,210 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kspell version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KSpellConfig : QWidget -{ -%TypeHeaderCode -#include -%End - - -public: - KSpellConfig (QWidget* /TransferThis/ = 0, const char* = 0, KSpellConfig* = 0, bool = 1); - KSpellConfig (const KSpellConfig&); - -%If ( KDE_3_2_0 - ) - void fillDicts (QComboBox*, QStringList* = 0); -%End - - void setIgnoreList (QStringList); - -%If ( KDE_3_1_0 - ) - void setReplaceAllList (QStringList); -%End - - void setNoRootAffix (bool); - void setRunTogether (bool); - void setDictionary (const QString); - void setDictFromList (bool); - void setEncoding (int); - void setClient (int); - bool noRootAffix () const; - bool runTogether () const; - const QString dictionary () const; - bool dictFromList () const; - int encoding () const; - QStringList ignoreList () const; - -%If ( KDE_3_1_0 - ) - QStringList replaceAllList () const; -%End - - int client () const; - bool writeGlobalSettings (); - -%If ( KDE_3_2_0 - ) - bool readGlobalSettings (); -%End - - -protected: - void fillInDialog (); - bool interpret (QString&, QString&, QString&); - -public slots: - void activateHelp (); - -protected slots: - void sHelp (); - void sNoAff (bool); - void sRunTogether (bool); - void sDictionary (bool); - void sPathDictionary (bool); - void sSetDictionary (int); - void sChangeEncoding (int); - void sChangeClient (int); - -protected: - -signals: - void configChanged (); - -protected: - -%If ( - KDE_3_2_0 ) - bool readGlobalSettings (); -%End - - -}; // class KSpellConfig - - -%If ( KDE_3_1_4 - ) - -enum Encoding -{ - KS_E_ASCII, - KS_E_LATIN1, - KS_E_LATIN2, - KS_E_LATIN3, - KS_E_LATIN4, - KS_E_LATIN5, - KS_E_LATIN7, - KS_E_LATIN8, - KS_E_LATIN9, - KS_E_LATIN13, - KS_E_LATIN15, - KS_E_UTF8, - KS_E_KOI8R, - KS_E_KOI8U, - KS_E_CP1251, - KS_E_CP1255 -}; - - -%If ( KDE_3_5_0 - ) - -enum KSpellClients -{ - KS_CLIENT_ISPELL, - KS_CLIENT_ASPELL, - KS_CLIENT_HSPELL, - KS_CLIENT_ZEMBEREK -}; - -%End - -%End - - -%If ( KDE_3_1_2 - KDE_3_5_0 ) - -enum KSpellClients -{ - KS_CLIENT_ISPELL, - KS_CLIENT_ASPELL, - KS_CLIENT_HSPELL -}; - -%End - - -%If ( KDE_3_0_3 - KDE_3_1_4 ) - -enum Encoding -{ - KS_E_ASCII, - KS_E_LATIN1, - KS_E_LATIN2, - KS_E_LATIN3, - KS_E_LATIN4, - KS_E_LATIN5, - KS_E_LATIN7, - KS_E_LATIN8, - KS_E_LATIN9, - KS_E_LATIN13, - KS_E_LATIN15, - KS_E_UTF8, - KS_E_KOI8R, - KS_E_KOI8U, - KS_E_CP1251 -}; - -%End - - -%If ( - KDE_3_1_2 ) - -enum KSpellClients -{ - KS_CLIENT_ISPELL, - KS_CLIENT_ASPELL -}; - - -%If ( - KDE_3_0_3 ) - -enum Encoding -{ - KS_E_ASCII, - KS_E_LATIN1, - KS_E_LATIN2, - KS_E_LATIN3, - KS_E_LATIN4, - KS_E_LATIN5, - KS_E_LATIN7, - KS_E_LATIN8, - KS_E_LATIN9, - KS_E_LATIN15, - KS_E_UTF8, - KS_E_KOI8R, - KS_E_KOI8U, - KS_E_CP1251, - KS_E_LATIN13 -}; - -%End -%End diff --git a/python/pykde/sip/kspell/kspell-kde320.diff b/python/pykde/sip/kspell/kspell-kde320.diff deleted file mode 100644 index 303f31f5..00000000 --- a/python/pykde/sip/kspell/kspell-kde320.diff +++ /dev/null @@ -1 +0,0 @@ -+ %Include ksyntaxhighlighter.sip diff --git a/python/pykde/sip/kspell/kspell-kde321.diff b/python/pykde/sip/kspell/kspell-kde321.diff deleted file mode 100644 index 303f31f5..00000000 --- a/python/pykde/sip/kspell/kspell-kde321.diff +++ /dev/null @@ -1 +0,0 @@ -+ %Include ksyntaxhighlighter.sip diff --git a/python/pykde/sip/kspell/kspell-kde322.diff b/python/pykde/sip/kspell/kspell-kde322.diff deleted file mode 100644 index 303f31f5..00000000 --- a/python/pykde/sip/kspell/kspell-kde322.diff +++ /dev/null @@ -1 +0,0 @@ -+ %Include ksyntaxhighlighter.sip diff --git a/python/pykde/sip/kspell/kspell-kde323.diff b/python/pykde/sip/kspell/kspell-kde323.diff deleted file mode 100644 index 5fa0372a..00000000 --- a/python/pykde/sip/kspell/kspell-kde323.diff +++ /dev/null @@ -1 +0,0 @@ -+ %Include ksyntaxhighlighter.sip diff --git a/python/pykde/sip/kspell/kspell-kde330.diff b/python/pykde/sip/kspell/kspell-kde330.diff deleted file mode 100644 index 5fa0372a..00000000 --- a/python/pykde/sip/kspell/kspell-kde330.diff +++ /dev/null @@ -1 +0,0 @@ -+ %Include ksyntaxhighlighter.sip diff --git a/python/pykde/sip/kspell/kspell-kde331.diff b/python/pykde/sip/kspell/kspell-kde331.diff deleted file mode 100644 index 5fa0372a..00000000 --- a/python/pykde/sip/kspell/kspell-kde331.diff +++ /dev/null @@ -1 +0,0 @@ -+ %Include ksyntaxhighlighter.sip diff --git a/python/pykde/sip/kspell/kspell-kde332.diff b/python/pykde/sip/kspell/kspell-kde332.diff deleted file mode 100644 index 5fa0372a..00000000 --- a/python/pykde/sip/kspell/kspell-kde332.diff +++ /dev/null @@ -1 +0,0 @@ -+ %Include ksyntaxhighlighter.sip diff --git a/python/pykde/sip/kspell/kspell-kde340.diff b/python/pykde/sip/kspell/kspell-kde340.diff deleted file mode 100644 index 5fa0372a..00000000 --- a/python/pykde/sip/kspell/kspell-kde340.diff +++ /dev/null @@ -1 +0,0 @@ -+ %Include ksyntaxhighlighter.sip diff --git a/python/pykde/sip/kspell/kspell-kde341.diff b/python/pykde/sip/kspell/kspell-kde341.diff deleted file mode 100644 index 5fa0372a..00000000 --- a/python/pykde/sip/kspell/kspell-kde341.diff +++ /dev/null @@ -1 +0,0 @@ -+ %Include ksyntaxhighlighter.sip diff --git a/python/pykde/sip/kspell/kspell-kde342.diff b/python/pykde/sip/kspell/kspell-kde342.diff deleted file mode 100644 index 5fa0372a..00000000 --- a/python/pykde/sip/kspell/kspell-kde342.diff +++ /dev/null @@ -1 +0,0 @@ -+ %Include ksyntaxhighlighter.sip diff --git a/python/pykde/sip/kspell/kspell-kde343.diff b/python/pykde/sip/kspell/kspell-kde343.diff deleted file mode 100644 index 5fa0372a..00000000 --- a/python/pykde/sip/kspell/kspell-kde343.diff +++ /dev/null @@ -1 +0,0 @@ -+ %Include ksyntaxhighlighter.sip diff --git a/python/pykde/sip/kspell/kspell-kde350.diff b/python/pykde/sip/kspell/kspell-kde350.diff deleted file mode 100644 index 5fa0372a..00000000 --- a/python/pykde/sip/kspell/kspell-kde350.diff +++ /dev/null @@ -1 +0,0 @@ -+ %Include ksyntaxhighlighter.sip diff --git a/python/pykde/sip/kspell/kspell-kde351.diff b/python/pykde/sip/kspell/kspell-kde351.diff deleted file mode 100644 index 1aa2b6c5..00000000 --- a/python/pykde/sip/kspell/kspell-kde351.diff +++ /dev/null @@ -1,3 +0,0 @@ -- %Include ksconfig.sip -- %Include kspell.sip -- %Include kspelldlg.sip diff --git a/python/pykde/sip/kspell/kspell-kde352.diff b/python/pykde/sip/kspell/kspell-kde352.diff deleted file mode 100644 index 5fa0372a..00000000 --- a/python/pykde/sip/kspell/kspell-kde352.diff +++ /dev/null @@ -1 +0,0 @@ -+ %Include ksyntaxhighlighter.sip diff --git a/python/pykde/sip/kspell/kspell-kde353.diff b/python/pykde/sip/kspell/kspell-kde353.diff deleted file mode 100644 index 5fa0372a..00000000 --- a/python/pykde/sip/kspell/kspell-kde353.diff +++ /dev/null @@ -1 +0,0 @@ -+ %Include ksyntaxhighlighter.sip diff --git a/python/pykde/sip/kspell/kspell.sip b/python/pykde/sip/kspell/kspell.sip deleted file mode 100644 index 8ecf4eab..00000000 --- a/python/pykde/sip/kspell/kspell.sip +++ /dev/null @@ -1,190 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kspell version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KSpell : QObject -{ -%TypeHeaderCode -#include -%End - - -public: - -%If ( KDE_3_2_0 - ) - - enum spellStatus - { - Starting, - Running, - Cleaning, - Finished, - Error, - Crashed, - FinishedNoMisspellingsEncountered - }; - - - enum SpellerType - { - Text, - HTML, - TeX, - Nroff - }; - -%End - - KSpell (QWidget* /TransferThis/, const QString&, QObject*, const char*, KSpellConfig* = 0, bool = 1, bool = 0); - -%If ( KDE_3_2_0 - ) - KSpell (QWidget* /TransferThis/, const QString&, QObject*, const char*, KSpellConfig*, bool, bool, KSpell::SpellerType); -%End - - spellStatus status (); - virtual void cleanUp (); - void setAutoDelete (bool); - virtual bool check (const QString&, bool = 1); - int lastPosition (); - virtual bool checkList (QStringList*, bool = 1); - virtual bool checkWord (const QString&, bool = 0); - -%If ( KDE_3_2_0 - ) - bool checkWord (const QString&, bool, bool); -%End - - void hide (); - QStringList suggestions () const; - int dlgResult (); - void moveDlg (int, int); - int heightDlg (); - int widthDlg (); - QString intermediateBuffer () const; - virtual bool ignore (const QString&); - virtual bool addPersonal (const QString&); - KSpellConfig ksConfig () const; - void setProgressResolution (uint); - static int modalCheck (QString&); - static int modalCheck (QString&, KSpellConfig*); - void setIgnoreUpperWords (bool); - void setIgnoreTitleCase (bool); - -signals: - void misspelling (const QString&, const QStringList&, uint); - void corrected (const QString&, const QString&, uint); - void ignoreall (const QString&); - void ignoreword (const QString&); - void addword (const QString&); - -%If ( KDE_3_1_0 - ) - void replaceall (const QString&, const QString&); -%End - - void ready (KSpell*); - void progress (uint); - void done (const QString&); - void done (bool); - void death (); - -protected slots: - void KSpell2 (KProcIO*); - void checkWord2 (KProcIO*); - void checkWord3 (); - void check2 (KProcIO*); - void checkList2 (); - void checkList3a (KProcIO*); - void checkListReplaceCurrent (); - void checkList4 (); - void dialog2 (int); - void check3 (); - -%If ( KDE_3_2_0 - ) - void suggestWord (KProcIO*); -%End - - void slotStopCancel (int); - void ispellExit (KProcess*); - void emitDeath (); - void ispellErrors (KProcess*, char*, int); - -%If ( KDE_3_2_0 - ) - void checkNext (); -%End - - -signals: - void dialog3 (); - -protected: - int parseOneResponse (const QString&, QString&, QStringList&); - QString funnyWord (const QString&); - void dialog (const QString&, QStringList&, const char*); - QString replacement (); - void setUpDialog (bool = 1); - void emitProgress (); - bool cleanFputs (const QString&, bool = 1); - bool cleanFputsWord (const QString&, bool = 1); - void startIspell (); - bool writePersonalDictionary (); - -%If ( KDE_3_2_0 - ) - void initialize (QWidget*, const QString&, SIP_RXOBJ_CON, SIP_SLOT_CON (), KSpellConfig*, bool, bool, KSpell::SpellerType); -%End - - -public: - -%If ( - KDE_3_2_0 ) - - enum spellStatus - { - Starting, - Running, - Cleaning, - Finished, - Error, - Crashed - }; - - -//force -%ConvertToSubClassCode - // The table of Python class objects indexed by their names. The table - // must be sorted by name. - - static sipStringTypeClassMap map[] = { - {sipName_KSpell, &sipClass_KSpell}, - {sipName_KSpellConfig, &sipClass_KSpellConfig}, - {sipName_KSpellDlg, &sipClass_KSpellDlg}, - }; - - sipClass = sipMapStringToClass(sipCpp -> className(),map,sizeof (map)/sizeof (map[0])); -%End -//end -%End - - -}; // class KSpell - diff --git a/python/pykde/sip/kspell/kspelldlg.sip b/python/pykde/sip/kspell/kspelldlg.sip deleted file mode 100644 index 6cc3530a..00000000 --- a/python/pykde/sip/kspell/kspelldlg.sip +++ /dev/null @@ -1,123 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kspell version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KSpellDlg : KDialogBase -{ -%TypeHeaderCode -#include -%End - - -public: - KSpellDlg (QWidget* /TransferThis/, const char*, bool = 0, bool = 0); - QString replacement (); - void init (const QString&, QStringList*); - -%If ( KDE_3_2_0 - ) - void init (const QString&, QStringList*, const QString&); -%End - - void standby (); - -public slots: - void slotProgress (uint); - -protected: - virtual void closeEvent (QCloseEvent*); - void done (int); - -signals: - void command (int); - void ready (bool); - -protected slots: - void ignore (); - void add (); - void ignoreAll (); - void cancel (); - void replace (); - void replaceAll (); - -%If ( KDE_3_2_0 - ) - void suggest (); -%End - - void stop (); - -%If ( KDE_3_2_0 - ) - void slotConfigChanged (); -%End - - void textChanged (const QString&); - -%If ( KDE_3_2_0 - ) - void slotSelectionChanged (QListViewItem*); -%End - - -protected slots: - -%If ( - KDE_3_2_0 ) - void selected (int); - void highlighted (int); -%End - - -}; // class KSpellDlg - - -%If ( KDE_3_2_0 - ) - -enum KS_RESULT -{ - KS_CANCEL, - KS_REPLACE, - KS_REPLACEALL, - KS_IGNORE, - KS_IGNOREALL, - KS_ADD, - KS_STOP, - KS_SUGGEST, - KS_CONFIG -}; - -%End - - -%If ( - KDE_3_2_0 ) - -enum KS_RESULT -{ - KS_CANCEL, - KS_REPLACE, - KS_REPLACEALL, - KS_IGNORE, - KS_IGNOREALL, - KS_ADD, - KS_STOP -}; - -%End diff --git a/python/pykde/sip/kspell/kspellmod.sip.in b/python/pykde/sip/kspell/kspellmod.sip.in deleted file mode 100644 index added3d7..00000000 --- a/python/pykde/sip/kspell/kspellmod.sip.in +++ /dev/null @@ -1,42 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kspell version KDE_3_5_2 - -%Copying - - This software is free software; you can redistribute it and/or - modify it under the terms of the GNU General Public License as - published by the Free Software Foundation; either version 2 of - the License, or (at your option) any later version. - - This software is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public - License along with this library; see the file COPYING. - If not, write to the Free Software Foundation, Inc., - 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - -%End - -%Module kspell - -%Import qt/qtmod.sip -%Import qtxml/qtxmlmod.sip -%Import dcopmod.sip -%Import kdecoremod.sip -%Import kdefxmod.sip -%Import kdeuimod.sip -%Import kfilemod.sip - -%Include ksconfig.sip -%Include kspell.sip -%Include kspelldlg.sip -@mark@ diff --git a/python/pykde/sip/kspell/ksyntaxhighlighter.sip b/python/pykde/sip/kspell/ksyntaxhighlighter.sip deleted file mode 100644 index 55d5b8e2..00000000 --- a/python/pykde/sip/kspell/ksyntaxhighlighter.sip +++ /dev/null @@ -1,114 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kspell version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -%If ( KDE_3_2_0 - ) - -class KSyntaxHighlighter : QSyntaxHighlighter -{ -%TypeHeaderCode -#include -%End - - -public: - - enum SyntaxMode - { - PlainTextMode, - RichTextMode - }; - - KSyntaxHighlighter (QTextEdit*, bool = 0, const QColor& = Qt ::black , const QColor& = QColor (0x00 ,0x80 ,0x00 ), const QColor& = QColor (0x00 ,0x80 ,0x00 ), const QColor& = QColor (0x00 ,0x80 ,0x00 ), KSyntaxHighlighter::SyntaxMode = PlainTextMode ); - int highlightParagraph (const QString&, int); - -}; // class KSyntaxHighlighter - -%End - - -%If ( KDE_3_2_0 - ) - -class KSpellingHighlighter : KSyntaxHighlighter -{ -%TypeHeaderCode -#include -%End - - -public: - KSpellingHighlighter (QTextEdit*, const QColor& = Qt ::red , bool = 0, const QColor& = Qt ::black , const QColor& = QColor (0x00 ,0x80 ,0x00 ), const QColor& = QColor (0x00 ,0x80 ,0x00 ), const QColor& = QColor (0x00 ,0x80 ,0x00 )); - virtual int highlightParagraph (const QString&, int); - virtual bool isMisspelled (const QString&) = 0; - bool intraWordEditing () const; - void setIntraWordEditing (bool); - static QStringList personalWords (); - -}; // class KSpellingHighlighter - -%End - - -%If ( KDE_3_2_0 - ) - -class KDictSpellingHighlighter : QObject, KSpellingHighlighter -{ -%TypeHeaderCode -#include -%End - - -public: - KDictSpellingHighlighter (QTextEdit*, bool = 1, bool = 1, const QColor& = Qt ::red , bool = 0, const QColor& = Qt ::black , const QColor& = QColor (0x00 ,0x80 ,0x00 ), const QColor& = QColor (0x00 ,0x70 ,0x00 ), const QColor& = QColor (0x00 ,0x60 ,0x00 ), KSpellConfig* = 0); - virtual bool isMisspelled (const QString&); - static void dictionaryChanged (); - void restartBackgroundSpellCheck (); - void setActive (bool); - bool isActive () const; - void setAutomatic (bool); - bool automatic () const; - -signals: - void activeChanged (const QString&); - void newSuggestions (const QString&, const QStringList&, uint); - -protected: - QString spellKey (); - bool eventFilter (QObject*, QEvent*); - -protected slots: - void slotMisspelling (const QString&, const QStringList&, uint); - void slotCorrected (const QString&, const QString&, uint); - void slotRehighlight (); - void slotDictionaryChanged (); - void slotSpellReady (KSpell*); - void slotAutoDetection (); - void slotLocalSpellConfigChanged (); - void slotKSpellNotResponding (); - -}; // class KDictSpellingHighlighter - -%End - diff --git a/python/pykde/sip/kspell2/backgroundchecker.sip b/python/pykde/sip/kspell2/backgroundchecker.sip deleted file mode 100644 index 8efd997c..00000000 --- a/python/pykde/sip/kspell2/backgroundchecker.sip +++ /dev/null @@ -1,68 +0,0 @@ -// -// Copyright 2004 Jim Bublitz -// Earlier copyrights 1998 - 2003 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kspell2 version KDE_3_3_0 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -%If ( KDE_3_3_0 - ) -namespace KSpell2 -{ - -class BackgroundChecker : QObject -{ -%TypeHeaderCode -#include -%End - -public: - BackgroundChecker (const Broker::Ptr&, QObject* = 0, const char* = 0); - void checkText (const QString&); - KSpell2::Filter* filter () const; - KSpell2::Broker* broker () const; - void changeLanguage (const QString&); - bool checkWord (const QString&); - QStringList suggest (const QString&) const; - -public slots: - virtual void setFilter (KSpell2::Filter*); - virtual void start (); - virtual void stop (); - virtual void continueChecking (); - -signals: - void misspelling (const QString&, int); - void done (); - -protected: - virtual QString getMoreText (); - virtual void finishedCurrentFeed (); - -protected slots: - void slotEngineDone (); - -}; // class BackgroundChecker - -}; // namespace KSpell2 - -%End - diff --git a/python/pykde/sip/kspell2/broker.sip b/python/pykde/sip/kspell2/broker.sip deleted file mode 100644 index 4f880e14..00000000 --- a/python/pykde/sip/kspell2/broker.sip +++ /dev/null @@ -1,62 +0,0 @@ -// -// Copyright 2004 Jim Bublitz -// Earlier copyrights 1998 - 2003 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kspell2 version KDE_3_3_0 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -%If ( KDE_3_3_0 - ) -namespace KSpell2 -{ - -class Broker : QObject, KShared -{ -%TypeHeaderCode -#include -%End - -public: - typedef KSharedPtr Ptr; - static KSpell2::Broker* openBroker (KSharedConfig* = 0); - -public: - KSpell2::DefaultDictionary* defaultDictionary () const; - KSpell2::Dictionary* dictionary (const QString& = QString ::null , const QString& = QString ::null ) const; - QStringList clients () const; - QStringList languages () const; - KSpell2::Settings* settings () const; - -signals: - void configurationChanged (); - -protected: - void changed (); - -private: - Broker (KSharedConfig*); - -}; // class Broker - -}; // namespace KSpell2 - -%End - diff --git a/python/pykde/sip/kspell2/configdialog.sip b/python/pykde/sip/kspell2/configdialog.sip deleted file mode 100644 index 19ed07e5..00000000 --- a/python/pykde/sip/kspell2/configdialog.sip +++ /dev/null @@ -1,49 +0,0 @@ -// -// Copyright 2004 Jim Bublitz -// Earlier copyrights 1998 - 2003 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kspell2 version KDE_3_3_0 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -%If ( KDE_3_3_0 - ) -namespace KSpell2 -{ - -class ConfigDialog : KDialogBase -{ -%TypeHeaderCode -#include -%End - -public: - ConfigDialog (KSpell2::Broker*, QWidget*); - -protected slots: - virtual void slotOk (); - virtual void slotApply (); - -}; // class ConfigDialog - -}; // namespace KSpell2 - -%End - diff --git a/python/pykde/sip/kspell2/configwidget.sip b/python/pykde/sip/kspell2/configwidget.sip deleted file mode 100644 index 402f63bf..00000000 --- a/python/pykde/sip/kspell2/configwidget.sip +++ /dev/null @@ -1,54 +0,0 @@ -// -// Copyright 2004 Jim Bublitz -// Earlier copyrights 1998 - 2003 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kspell2 version KDE_3_3_0 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -%If ( KDE_3_3_0 - ) -namespace KSpell2 -{ - -class ConfigWidget : QWidget -{ -%TypeHeaderCode -#include -%End - -public: - ConfigWidget (KSpell2::Broker*, QWidget*, const char* = 0); - bool backgroundCheckingButtonShown () const; - -public slots: - void save (); - void setBackgroundCheckingButtonShown (bool); - void slotDefault (); - -protected slots: - void slotChanged (); - -}; // class ConfigWidget - -}; // namespace KSpell2 - -%End - diff --git a/python/pykde/sip/kspell2/defaultdictionary.sip b/python/pykde/sip/kspell2/defaultdictionary.sip deleted file mode 100644 index 4d70d8b8..00000000 --- a/python/pykde/sip/kspell2/defaultdictionary.sip +++ /dev/null @@ -1,60 +0,0 @@ -// -// Copyright 2004 Jim Bublitz -// Earlier copyrights 1998 - 2003 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kspell2 version KDE_3_3_0 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -%If ( KDE_3_3_0 - ) -namespace KSpell2 -{ - -class DefaultDictionary : QObject, KSpell2::Dictionary -{ -%TypeHeaderCode -#include -%End - -public: - DefaultDictionary (const QString&, KSpell2::Broker*); - -public: - bool isValid () const; - virtual bool check (const QString&); - virtual QStringList suggest (const QString&); - virtual bool checkAndSuggest (const QString&, QStringList&); - virtual bool storeReplacement (const QString&, const QString&); - virtual bool addToPersonal (const QString&); - virtual bool addToSession (const QString&); - -signals: - void changed (); - -protected slots: - void defaultConfigurationChanged (); - -}; // class DefaultDictionary - -}; // namespace KSpell2 - -%End - diff --git a/python/pykde/sip/kspell2/dialog.sip b/python/pykde/sip/kspell2/dialog.sip deleted file mode 100644 index 4444f811..00000000 --- a/python/pykde/sip/kspell2/dialog.sip +++ /dev/null @@ -1,61 +0,0 @@ -// -// Copyright 2004 Jim Bublitz -// Earlier copyrights 1998 - 2003 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kspell2 version KDE_3_3_0 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -%If ( KDE_3_3_0 - ) -namespace KSpell2 -{ - -class Dialog : KDialogBase -{ -%TypeHeaderCode -#include -%End - -public: - Dialog (KSpell2::BackgroundChecker*, QWidget*, const char* = 0); - QString originalBuffer () const; - QString buffer () const; - void show (); - void activeAutoCorrect (bool); - -public slots: - void setBuffer (const QString&); - void setFilter (KSpell2::Filter*); - -signals: - void done (const QString&); - void misspelling (const QString&, int); - void replace (const QString&, int, const QString&); - void stop (); - void cancel (); - void autoCorrect (const QString&, const QString&); - -}; // class Dialog - -}; // namespace KSpell2 - -%End - diff --git a/python/pykde/sip/kspell2/dictionary.sip b/python/pykde/sip/kspell2/dictionary.sip deleted file mode 100644 index 0f33b56f..00000000 --- a/python/pykde/sip/kspell2/dictionary.sip +++ /dev/null @@ -1,57 +0,0 @@ -// -// Copyright 2004 Jim Bublitz -// Earlier copyrights 1998 - 2003 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kspell2 version KDE_3_3_0 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -%If ( KDE_3_3_0 - ) -namespace KSpell2 -{ - -class Dictionary -{ -%TypeHeaderCode -#include -%End - -public: - virtual bool check (const QString&) = 0; - virtual QStringList suggest (const QString&) = 0; - virtual bool checkAndSuggest (const QString&, QStringList&) = 0; - virtual bool storeReplacement (const QString&, const QString&) = 0; - virtual bool addToPersonal (const QString&) = 0; - virtual bool addToSession (const QString&) = 0; - QString language () const; - bool isDefault () const; - -protected: - Dictionary (const QString&, bool = 0); - -protected: - -}; // class Dictionary - -}; // namespace KSpell2 - -%End - diff --git a/python/pykde/sip/kspell2/filter.sip b/python/pykde/sip/kspell2/filter.sip deleted file mode 100644 index 863d3556..00000000 --- a/python/pykde/sip/kspell2/filter.sip +++ /dev/null @@ -1,87 +0,0 @@ -// -// Copyright 2004 Jim Bublitz -// Earlier copyrights 1998 - 2003 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kspell2 version KDE_3_3_0 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -%If ( KDE_3_3_0 - ) -namespace KSpell2 -{ - -class Word -{ -%TypeHeaderCode -#include -%End - -public: - Word (); - Word (const QString&, int, bool = 0); - Word (const KSpell2::Word&); - QString word; - uint start; - bool end; - -}; // class Word - - -class Filter -{ -%TypeHeaderCode -#include -%End - -public: - static KSpell2::Filter* defaultFilter (); - -public: - Filter (); - static KSpell2::Word end (); - void setSettings (KSpell2::Settings*); - KSpell2::Settings* settings () const; - bool atEnd () const; - void setBuffer (const QString&); - QString buffer () const; - void restart (); - virtual KSpell2::Word nextWord () const; - virtual KSpell2::Word previousWord () const; - virtual KSpell2::Word wordAtPosition (uint) const; - virtual void setCurrentPosition (int); - virtual int currentPosition () const; - virtual void replace (const KSpell2::Word&, const QString&); - virtual QString context () const; - -protected: - bool trySkipLinks () const; - bool ignore (const QString&) const; - QChar skipToLetter (uint&) const; - bool shouldBeSkipped (bool, bool, const QString&) const; - -protected: - -}; // class Filter - -}; // namespace KSpell2 - -%End - diff --git a/python/pykde/sip/kspell2/highlighter.sip b/python/pykde/sip/kspell2/highlighter.sip deleted file mode 100644 index 0e7ea2d0..00000000 --- a/python/pykde/sip/kspell2/highlighter.sip +++ /dev/null @@ -1,54 +0,0 @@ -// -// Copyright 2004 Jim Bublitz -// Earlier copyrights 1998 - 2003 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kspell2 version KDE_3_3_0 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -%If ( KDE_3_3_0 - ) -namespace KSpell2 -{ - -class Highlighter : QSyntaxHighlighter -{ -%TypeHeaderCode -#include -%End - -public: - Highlighter (QTextEdit*, const QString& = QString ::null , KSpell2::Filter* = Filter ::defaultFilter ()); - virtual int highlightParagraph (const QString&, int); - KSpell2::Filter* currentFilter () const; - void setCurrentFilter (KSpell2::Filter*); - QString currentLanguage () const; - void setCurrentLanguage (const QString&); - -protected: - virtual void setMisspelled (int, int); - virtual void unsetMisspelled (int, int); - -}; // class Highlighter - -}; // namespace KSpell2 - -%End - diff --git a/python/pykde/sip/kspell2/kspell2mod.sip.in b/python/pykde/sip/kspell2/kspell2mod.sip.in deleted file mode 100644 index 4517fe73..00000000 --- a/python/pykde/sip/kspell2/kspell2mod.sip.in +++ /dev/null @@ -1,48 +0,0 @@ -// -// Copyright 2004 Jim Bublitz -// Earlier copyrights 1998 - 2003 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kspell2 version KDE_3_3_0 - -%Copying - - This software is free software; you can redistribute it and/or - modify it under the terms of the GNU General Public License as - published by the Free Software Foundation; either version 2 of - the License, or (at your option) any later version. - - This software is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public - License along with this library; see the file COPYING. - If not, write to the Free Software Foundation, Inc., - 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - -%End - -%Module kspell2 - -%Import qt/qtmod.sip -%Import qtxml/qtxmlmod.sip -%Import dcopmod.sip -%Import kdecoremod.sip -%Import kdefxmod.sip -%Import kdeuimod.sip - -%Include backgroundchecker.sip -%Include broker.sip -%Include configdialog.sip -%Include configwidget.sip -%Include defaultdictionary.sip -%Include dialog.sip -%Include dictionary.sip -%Include filter.sip -%Include highlighter.sip -%Include settings.sip -@mark@ diff --git a/python/pykde/sip/kspell2/settings.sip b/python/pykde/sip/kspell2/settings.sip deleted file mode 100644 index 6b4f0305..00000000 --- a/python/pykde/sip/kspell2/settings.sip +++ /dev/null @@ -1,63 +0,0 @@ -// -// Copyright 2004 Jim Bublitz -// Earlier copyrights 1998 - 2003 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kspell2 version KDE_3_3_0 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -%If ( KDE_3_3_0 - ) -namespace KSpell2 -{ - -class Settings -{ -%TypeHeaderCode -#include -%End - -public: - void setDefaultLanguage (const QString&); - QString defaultLanguage () const; - void setDefaultClient (const QString&); - QString defaultClient () const; - void setCheckUppercase (bool); - bool checkUppercase () const; - void setSkipRunTogether (bool); - bool skipRunTogether () const; - void setBackgroundCheckerEnabled (bool); - bool backgroundCheckerEnabled () const; - void setCurrentIgnoreList (const QStringList&); - void addWordToIgnore (const QString&); - QStringList currentIgnoreList () const; - bool ignore (const QString&); - void save (); - KSharedConfig* sharedConfig () const; - -private: - Settings (KSpell2::Broker*, KSharedConfig*); - -}; // class Settings - -}; // namespace KSpell2 - -%End - diff --git a/python/pykde/sip/kutils/kcmoduleinfo.sip b/python/pykde/sip/kutils/kcmoduleinfo.sip deleted file mode 100644 index 96f9f78f..00000000 --- a/python/pykde/sip/kutils/kcmoduleinfo.sip +++ /dev/null @@ -1,91 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kutils version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -%If ( KDE_3_3_0 - ) - -class KCModuleInfo -{ -%TypeHeaderCode -#include -%End - - -public: - KCModuleInfo (const QString&); - KCModuleInfo (KService::Ptr); - KCModuleInfo (const KCModuleInfo&); - -%If ( KDE_3_4_0 - ) - KCModuleInfo (); -%End - - bool operator == (const KCModuleInfo&) const; - bool operator != (const KCModuleInfo&) const; - QString fileName () const; - const QStringList& keywords () const; - -%If ( KDE_3_4_0 - ) - QString factoryName () const; -%End - - QString moduleName () const; - KService::Ptr service () const; - QString comment () const; - QString icon () const; - QString docPath () const; - QString library () const; - QString handle () const; - int weight () const; - bool needsRootPrivileges () const; - bool isHiddenByDefault () const; - -%If ( KDE_3_4_0 - ) - bool needsTest () const; -%End - - -protected: - void setKeywords (const QStringList&); - void setName (const QString&); - void setComment (const QString&); - void setIcon (const QString&); - void setLibrary (const QString&); - void setHandle (const QString&); - void setWeight (int); - -%If ( KDE_3_4_0 - ) - void setNeedsTest (bool); -%End - - void setNeedsRootPrivileges (bool); - void setIsHiddenByDefault (bool); - void setDocPath (const QString&); - void loadAll (); - -}; // class KCModuleInfo - -%End - diff --git a/python/pykde/sip/kutils/kcmoduleloader.sip b/python/pykde/sip/kutils/kcmoduleloader.sip deleted file mode 100644 index 4a9a247d..00000000 --- a/python/pykde/sip/kutils/kcmoduleloader.sip +++ /dev/null @@ -1,67 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kutils version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -%If ( KDE_3_3_0 - ) - -class KCModuleLoader -{ -%TypeHeaderCode -#include -%End - - -public: - static KCModule* loadModule (const KCModuleInfo&, bool = 1, QWidget* = 0, const char* = 0, const QStringList& = QStringList ()); - static KCModule* loadModule (const QString&, QWidget* = 0, const char* = 0, const QStringList& = QStringList ()); - -%If ( KDE_3_4_0 - ) - - enum ErrorReporting - { - None, - Inline, - Dialog, - Both - }; - - static KCModule* loadModule (const KCModuleInfo&, KCModuleLoader::ErrorReporting, bool = 1, QWidget* = 0, const char* = 0, const QStringList& = QStringList ()); - static KCModule* loadModule (const QString&, KCModuleLoader::ErrorReporting, QWidget* = 0, const char* = 0, const QStringList& = QStringList ()); -%End - - static void unloadModule (const KCModuleInfo&); - static void showLastLoaderError (QWidget*); - -%If ( KDE_3_4_0 - ) - static bool testModule (const QString&); - static bool testModule (const KCModuleInfo&); - static KCModule* reportError (KCModuleLoader::ErrorReporting, const QString&, QString, QWidget*); -%End - - -}; // class KCModuleLoader - -%End - diff --git a/python/pykde/sip/kutils/kcmoduleproxy.sip b/python/pykde/sip/kutils/kcmoduleproxy.sip deleted file mode 100644 index 7f6e5f26..00000000 --- a/python/pykde/sip/kutils/kcmoduleproxy.sip +++ /dev/null @@ -1,104 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kutils version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -%If ( KDE_3_3_0 - ) - -class KCModuleProxy : QWidget -{ -%TypeHeaderCode -#include -%End - - -public: - KCModuleProxy (const KCModuleInfo&, bool = 0, QWidget* = 0, const char* = 0, const QStringList& = QStringList ()); - -%If ( KDE_3_4_0 - ) - KCModuleProxy (const QString&, bool = 1, QWidget* = 0, const char* = 0, const QStringList& = QStringList ()); - KCModuleProxy (const KService::Ptr&, bool = 1, QWidget* = 0, const char* = 0, const QStringList& = QStringList ()); -%End - - void load (); - void save (); - QString quickHelp () const; - const KAboutData* aboutData () const; - int buttons () const; - QString rootOnlyMsg () const; - bool useRootOnlyMsg () const; - KInstance* instance () const; - bool changed () const; - -%If ( KDE_3_4_0 - ) - bool rootMode () const; -%End - - KCModule* realModule () const; - const KCModuleInfo& moduleInfo () const; - -%If ( KDE_3_4_0 - ) - QCString dcopName () const; -%End - - -public slots: - -%If ( KDE_3_4_0 - ) - void runAsRoot (); - void defaults (); - void deleteClient (); -%End - - -signals: - void changed (bool); - -%If ( KDE_3_4_0 - ) - void changed (KCModuleProxy*); - void childClosed (); - void quickHelpChanged (); -%End - - -protected: - void showEvent (QShowEvent*); - -%If ( KDE_3_4_0 - ) - void init (const KCModuleInfo&); - void emitQuickHelpChanged (); -%End - - -public: - -%If ( - KDE_3_4_0 ) - void defaults (); -%End - - -}; // class KCModuleProxy - -%End - diff --git a/python/pykde/sip/kutils/kcmultidialog.sip b/python/pykde/sip/kutils/kcmultidialog.sip deleted file mode 100644 index 2fa6e200..00000000 --- a/python/pykde/sip/kutils/kcmultidialog.sip +++ /dev/null @@ -1,86 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kutils version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -%If ( KDE_3_3_0 - ) - -class KCMultiDialog : KDialogBase -{ -%TypeHeaderCode -#include -%End - - -public: - KCMultiDialog (QWidget* = 0, const char* = 0, bool = 0); - KCMultiDialog (int, const QString&, QWidget* = 0, const char* = 0, bool = 0); - KCMultiDialog (int, const KGuiItem&, const KGuiItem& = KGuiItem (), int = User2 , const QString& = i18n ("Configure" ), QWidget* = 0, const char* = 0, bool = 0); - void addModule (const QString&, bool = 1) /ReleaseGIL/; - void addModule (const KCModuleInfo&, QStringList = QStringList (), bool = 0); - void removeAllModules (); - void show (); - -signals: - void configCommitted (); - void configCommitted (const QCString&); - -protected slots: - virtual void slotDefault (); - virtual void slotUser1 (); - virtual void slotApply (); - virtual void slotOk (); - virtual void slotHelp (); -//force - -private: - void apply (); - -//force -%ConvertToSubClassCode -// The table of Python class objects indexed by their names. The table -// must be sorted by name. - -static sipStringTypeClassMap map[] = { -{sipName_KCModuleProxy, &sipClass_KCModuleProxy}, -{sipName_KCMultiDialog, &sipClass_KCMultiDialog}, -{sipName_KFind, &sipClass_KFind}, -{sipName_KFindDialog, &sipClass_KFindDialog}, -{sipName_KMultiTabBar, &sipClass_KMultiTabBar}, -{sipName_KMultiTabBarButton, &sipClass_KMultiTabBarButton}, -{sipName_KMultiTabBar, &sipClass_KMultiTabBar}, -{sipName_KPluginSelector, &sipClass_KPluginSelector}, -{sipName_KReplace, &sipClass_KReplace}, -{sipName_KReplaceDialog, &sipClass_KReplaceDialog}, -}; - -sipClass = sipMapStringToClass(sipCpp -> className(),map,sizeof (map)/sizeof (map[0])); -%End -//end -//end - -}; // class KCMultiDialog - -%End - diff --git a/python/pykde/sip/kutils/kfind.sip b/python/pykde/sip/kutils/kfind.sip deleted file mode 100644 index 5e96d1f7..00000000 --- a/python/pykde/sip/kutils/kfind.sip +++ /dev/null @@ -1,83 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kutils version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -%If ( KDE_3_3_0 - ) - -class KFind : QObject -{ -%TypeHeaderCode -#include -%End - - -public: - KFind (const QString&, long, QWidget*); - KFind (const QString&, long, QWidget*, QWidget*); - - enum Result - { - NoMatch, - Match - }; - - bool needData () const; - void setData (const QString&, int = -1); - void setData (int, const QString&, int = -1); - KFind::Result find (); - long options () const; - virtual void setOptions (long); - QString pattern () const; - void setPattern (const QString&); - int numMatches () const; - virtual void resetCounts (); - virtual bool validateMatch (const QString&, int, int); - virtual bool shouldRestart (bool = 0, bool = 1) const; - static int find (const QString&, const QString&, int, long, int*); - static int find (const QString&, const QRegExp&, int, long, int*); - virtual void displayFinalDialog () const; - KDialogBase* findNextDialog (bool = 0); - void closeFindNextDialog (); - int index () const; - -signals: - void highlight (const QString&, int, int); - void highlight (int, int, int); - void findNext (); - void optionsChanged (); - void dialogClosed (); - -protected: - QWidget* parentWidget () const; - QWidget* dialogsParent () const; - -protected slots: - void slotFindNext (); - void slotDialogClosed (); - -}; // class KFind - -%End - diff --git a/python/pykde/sip/kutils/kfinddialog.sip b/python/pykde/sip/kutils/kfinddialog.sip deleted file mode 100644 index fb3939fd..00000000 --- a/python/pykde/sip/kutils/kfinddialog.sip +++ /dev/null @@ -1,86 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kutils version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -%If ( KDE_3_3_0 - ) - -class KFindDialog : KDialogBase -{ -%TypeHeaderCode -#include -%End - - -public: - - enum Options - { - WholeWordsOnly, - FromCursor, - SelectedText, - CaseSensitive, - FindBackwards, - RegularExpression, - FindIncremental, - MinimumUserOption - }; - - KFindDialog (QWidget* = 0, const char* = 0, long = 0, const QStringList& = QStringList (), bool = 0); - KFindDialog (bool, QWidget* = 0, const char* = 0, long = 0, const QStringList& = QStringList (), bool = 0); - void setFindHistory (const QStringList&); - QStringList findHistory () const; - void setHasSelection (bool); - void setHasCursor (bool); - -%If ( KDE_3_4_0 - ) - void setSupportsBackwardsFind (bool); - void setSupportsCaseSensitiveFind (bool); - void setSupportsWholeWordsFind (bool); - void setSupportsRegularExpressionFind (bool); -%End - - void setOptions (long); - long options () const; - QString pattern () const; - void setPattern (const QString&); - QWidget* findExtension (); - -protected slots: - void slotOk (); - void slotSelectedTextToggled (bool); - void showPatterns (); - void showPlaceholders (); - void textSearchChanged (const QString&); - -protected: - virtual void showEvent (QShowEvent*); - -private: - KFindDialog (QWidget*, const char*, bool); - -}; // class KFindDialog - -%End - diff --git a/python/pykde/sip/kutils/kmultitabbar.sip b/python/pykde/sip/kutils/kmultitabbar.sip deleted file mode 100644 index 08da4d89..00000000 --- a/python/pykde/sip/kutils/kmultitabbar.sip +++ /dev/null @@ -1,167 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kutils version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -%If ( KDE_3_3_0 - ) - -class KMultiTabBar : QWidget -{ -%TypeHeaderCode -#include -%End - - -public: - - enum KMultiTabBarMode - { - Horizontal, - Vertical - }; - - - enum KMultiTabBarPosition - { - Left, - Right, - Top, - Bottom - }; - - - enum KMultiTabBarStyle - { - VSNET, - KDEV3, - KONQSBC, - KDEV3ICON, - STYLELAST - }; - - KMultiTabBar (KMultiTabBar::KMultiTabBarMode, QWidget* = 0, const char* = 0); - int appendButton (const QPixmap&, int = -1, QPopupMenu* = 0, const QString& = QString ::null ); - void removeButton (int); - int appendTab (const QPixmap&, int = -1, const QString& = QString ::null ); - void removeTab (int); - void setTab (int, bool); - bool isTabRaised (int) const; - KMultiTabBarButton* button (int) const; - KMultiTabBarTab* tab (int) const; - void setPosition (KMultiTabBar::KMultiTabBarPosition); - -%If ( KDE_3_5_0 - ) - KMultiTabBar::KMultiTabBarPosition position () const; -%End - - void setStyle (KMultiTabBar::KMultiTabBarStyle); - -%If ( KDE_3_5_0 - ) - KMultiTabBar::KMultiTabBarStyle tabStyle () const; -%End - -//ig QPtrList* tabs (); -//ig QPtrList* buttons (); - void showActiveTabTexts (bool = 1); - -protected: - virtual void fontChange (const QFont&); - void updateSeparator (); - -}; // class KMultiTabBar - -%End - - -%If ( KDE_3_3_0 - ) - -class KMultiTabBarButton : QPushButton -{ -%TypeHeaderCode -#include -%End - - -public: - KMultiTabBarButton (const QPixmap&, const QString&, QPopupMenu*, int, QWidget*, KMultiTabBar::KMultiTabBarPosition, KMultiTabBar::KMultiTabBarStyle); - KMultiTabBarButton (const QString&, QPopupMenu*, int, QWidget*, KMultiTabBar::KMultiTabBarPosition, KMultiTabBar::KMultiTabBarStyle); - int id () const; - -public slots: - void setPosition (KMultiTabBar::KMultiTabBarPosition); - void setStyle (KMultiTabBar::KMultiTabBarStyle); - void setText (const QString&); - QSize sizeHint () const; - -protected: - virtual void hideEvent (QHideEvent*); - virtual void showEvent (QShowEvent*); - -signals: - void clicked (int); - -protected slots: - virtual void slotClicked (); - -}; // class KMultiTabBarButton - -%End - - -%If ( KDE_3_3_0 - ) - -class KMultiTabBarTab : KMultiTabBarButton -{ -%TypeHeaderCode -#include -%End - - -public: - KMultiTabBarTab (const QPixmap&, const QString&, int, QWidget*, KMultiTabBar::KMultiTabBarPosition, KMultiTabBar::KMultiTabBarStyle); - void setState (bool); - void showActiveTabText (bool); - void resize (); - -protected: - void setSize (int); - int neededSize (); - void updateState (); - virtual void drawButton (QPainter*); - virtual void drawButtonLabel (QPainter*); - void drawButtonStyled (QPainter*); - void drawButtonClassic (QPainter*); - -protected slots: - virtual void slotClicked (); - void setTabsPosition (KMultiTabBar::KMultiTabBarPosition); - -public slots: - virtual void setIcon (const QString&); - virtual void setIcon (const QPixmap&); - -}; // class KMultiTabBarTab - -%End - diff --git a/python/pykde/sip/kutils/kplugininfo.sip b/python/pykde/sip/kutils/kplugininfo.sip deleted file mode 100644 index 0ac57a2d..00000000 --- a/python/pykde/sip/kutils/kplugininfo.sip +++ /dev/null @@ -1,149 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kutils version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -%If ( KDE_3_3_0 - ) - -class KPluginInfo -{ -%TypeHeaderCode -#include -%End - - -public: - typedef QValueList List; - KPluginInfo (const QString&, const char* = 0); - KPluginInfo (const KService::Ptr); - static KPluginInfo::List fromServices (const KService::List&, KConfig* = 0, const QString& = QString ::null ); - static KPluginInfo::List fromFiles (const QStringList&, KConfig* = 0, const QString& = QString ::null ); - static KPluginInfo::List fromKPartsInstanceName (const QString&, KConfig* = 0, const QString& = QString ::null ); - bool isHidden () const; - virtual void setPluginEnabled (bool); - virtual bool isPluginEnabled () const; - bool isPluginEnabledByDefault () const; - QVariant property (const QString&) const; -//ig QVariant operator [] (const QString&) const; - const QString& name () const; - const QString& comment () const; - const QString& icon () const; - const QString& specfile () const; - const QString& author () const; - const QString& email () const; - const QString& category () const; - const QString& pluginName () const; - const QString& version () const; - const QString& website () const; - const QString& license () const; - const QStringList& dependencies () const; - KService::Ptr service () const; -//ig const QValueList& kcmServices () const; - void setConfig (KConfig*, const QString&); - KConfig* config () const; - const QString& configgroup () const; - virtual void save (KConfigGroup* = 0); - virtual void load (KConfigGroup* = 0); - virtual void defaults (); - -private: - KPluginInfo (const KPluginInfo&); - -}; // class KPluginInfo - -%End - - - -%If (KDE_3_3_0 - ) -%MappedType KPluginInfo::List -//converts a Python list of KPluginInfo -{ -%TypeHeaderCode -#include -#include -#include -%End - -%ConvertFromTypeCode - if (!sipCpp) - return PyList_New(0); - - // Create the list - PyObject *pylist; - if ((pylist = PyList_New(0)) == NULL) - return NULL; - - QValueList *cpplist = (QValueList *)sipCpp; - PyObject *inst; - - // Get it. - QValueList::Iterator it; - for( it = cpplist->begin(); it != cpplist->end(); ++it ) - { - if (((inst = sipConvertFromInstance ((KPluginInfo *)(*it), sipClass_KPluginInfo, sipTransferObj)) == NULL) - || PyList_Append (pylist, inst) < 0) - { - Py_DECREF (pylist); - return NULL; - } - } - - return pylist; -%End - - -%ConvertToTypeCode - if (sipIsErr == NULL) - return PyList_Check(sipPy); - - QValueList *cpplist = new QValueList; - - PyObject *elem; - KPluginInfo *cpp; - int iserr = 0; - - for (int i = 0; i < PyList_Size (sipPy); i++) - { - elem = PyList_GET_ITEM (sipPy, i); - cpp = (KPluginInfo *)sipForceConvertTo_KPluginInfo (elem, &iserr); - - if (iserr) - { - *sipIsErr = 1; - delete cpplist; - return 0; - } - - cpplist->append (cpp); - } - - *sipCppPtr = cpplist; - - return 1; -%End -}; -%End - - diff --git a/python/pykde/sip/kutils/kpluginselector.sip b/python/pykde/sip/kutils/kpluginselector.sip deleted file mode 100644 index 72661369..00000000 --- a/python/pykde/sip/kutils/kpluginselector.sip +++ /dev/null @@ -1,53 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kutils version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -%If ( KDE_3_3_0 - ) - -class KPluginSelector : QWidget -{ -%TypeHeaderCode -#include -%End - - -public: - KPluginSelector (QWidget*, const char* = 0); - void addPlugins (const QString&, const QString& = QString ::null , const QString& = QString ::null , KConfig* = 0); - void addPlugins (const KInstance*, const QString& = QString ::null , const QString& = QString ::null , KConfig* = 0); -//ig void addPlugins (const QValueList&, const QString& = QString ::null , const QString& = QString ::null , KConfig* = 0); - void setShowEmptyConfigPage (bool); - void load (); - void save (); - void defaults (); - -signals: - void changed (bool); - void configCommitted (const QCString&); - -}; // class KPluginSelector - -%End - diff --git a/python/pykde/sip/kutils/kreplace.sip b/python/pykde/sip/kutils/kreplace.sip deleted file mode 100644 index c7976305..00000000 --- a/python/pykde/sip/kutils/kreplace.sip +++ /dev/null @@ -1,60 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kutils version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -%If ( KDE_3_3_0 - ) - -class KReplace : KFind -{ -%TypeHeaderCode -#include -%End - - -public: - KReplace (const QString&, const QString&, long, QWidget* = 0); - KReplace (const QString&, const QString&, long, QWidget*, QWidget*); - int numReplacements () const; - virtual void resetCounts (); - Result replace (); - KDialogBase* replaceNextDialog (bool = 0); - void closeReplaceNextDialog (); - static int replace (QString&, const QString&, const QString&, int, long, int*); - static int replace (QString&, const QRegExp&, const QString&, int, long, int*); - virtual bool shouldRestart (bool = 0, bool = 1) const; - virtual void displayFinalDialog () const; - -signals: - void replace (const QString&, int, int, int); - -protected slots: - void slotSkip (); - void slotReplace (); - void slotReplaceAll (); - -}; // class KReplace - -%End - diff --git a/python/pykde/sip/kutils/kreplacedialog.sip b/python/pykde/sip/kutils/kreplacedialog.sip deleted file mode 100644 index 84938a64..00000000 --- a/python/pykde/sip/kutils/kreplacedialog.sip +++ /dev/null @@ -1,59 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kutils version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -%If ( KDE_3_3_0 - ) - -class KReplaceDialog : KFindDialog -{ -%TypeHeaderCode -#include -%End - - -public: - - enum Options - { - PromptOnReplace, - BackReference - }; - - KReplaceDialog (QWidget* = 0, const char* = 0, long = 0, const QStringList& = QStringList (), const QStringList& = QStringList (), bool = 1); - void setReplacementHistory (const QStringList&); - QStringList replacementHistory () const; - void setOptions (long); - long options () const; - QString replacement () const; - QWidget* replaceExtension (); - -protected slots: - void slotOk (); - virtual void showEvent (QShowEvent*); - -}; // class KReplaceDialog - -%End - diff --git a/python/pykde/sip/kutils/kutils-kde340.diff b/python/pykde/sip/kutils/kutils-kde340.diff deleted file mode 100644 index d37bf3db..00000000 --- a/python/pykde/sip/kutils/kutils-kde340.diff +++ /dev/null @@ -1 +0,0 @@ -+ %Include kcmodulecontainer.sip diff --git a/python/pykde/sip/kutils/kutils-kde341.diff b/python/pykde/sip/kutils/kutils-kde341.diff deleted file mode 100644 index d37bf3db..00000000 --- a/python/pykde/sip/kutils/kutils-kde341.diff +++ /dev/null @@ -1 +0,0 @@ -+ %Include kcmodulecontainer.sip diff --git a/python/pykde/sip/kutils/kutilsmod.sip b/python/pykde/sip/kutils/kutilsmod.sip deleted file mode 100644 index 65b13648..00000000 --- a/python/pykde/sip/kutils/kutilsmod.sip +++ /dev/null @@ -1,49 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kutils version KDE_3_5_2 - -%Copying - - This software is free software; you can redistribute it and/or - modify it under the terms of the GNU General Public License as - published by the Free Software Foundation; either version 2 of - the License, or (at your option) any later version. - - This software is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public - License along with this library; see the file COPYING. - If not, write to the Free Software Foundation, Inc., - 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - -%End - -%Module kutils - -%Import qt/qtmod.sip -%Import dcopmod.sip -%Import kdecoremod.sip -%Import qtxml/qtxmlmod.sip -%Import kdefxmod.sip -%Import kdeuimod.sip -%Import kiomod.sip - -%Include kcmoduleinfo.sip -%Include kcmoduleloader.sip -%Include kcmoduleproxy.sip -%Include kcmultidialog.sip -%Include kfind.sip -%Include kfinddialog.sip -%Include kmultitabbar.sip -%Include kplugininfo.sip -%Include kpluginselector.sip -%Include kreplace.sip -%Include kreplacedialog.sip diff --git a/python/pykde/sip/kutils/kutilsmod.sip.in b/python/pykde/sip/kutils/kutilsmod.sip.in deleted file mode 100644 index 2f9f7100..00000000 --- a/python/pykde/sip/kutils/kutilsmod.sip.in +++ /dev/null @@ -1,50 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kutils version KDE_3_5_2 - -%Copying - - This software is free software; you can redistribute it and/or - modify it under the terms of the GNU General Public License as - published by the Free Software Foundation; either version 2 of - the License, or (at your option) any later version. - - This software is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public - License along with this library; see the file COPYING. - If not, write to the Free Software Foundation, Inc., - 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - -%End - -%Module kutils - -%Import qt/qtmod.sip -%Import dcopmod.sip -%Import kdecoremod.sip -%Import qtxml/qtxmlmod.sip -%Import kdefxmod.sip -%Import kdeuimod.sip -%Import kiomod.sip - -%Include kcmoduleinfo.sip -%Include kcmoduleloader.sip -%Include kcmoduleproxy.sip -%Include kcmultidialog.sip -%Include kfind.sip -%Include kfinddialog.sip -%Include kmultitabbar.sip -%Include kplugininfo.sip -%Include kpluginselector.sip -%Include kreplace.sip -%Include kreplacedialog.sip -@mark@ diff --git a/python/pykde/svnmerge.py b/python/pykde/svnmerge.py deleted file mode 100644 index 7b90652b..00000000 --- a/python/pykde/svnmerge.py +++ /dev/null @@ -1,47 +0,0 @@ -import os, os.path - -svnbase = "/home/jim/PyKDE/" -newbase = "/home/jim/PyKDE352/" - -newfiles = os.listdir (os.path.join (newbase, "sip")) - -for file in newfiles: - newpath = os.path.join (newbase, "sip", file) - if os.path.isdir (newpath): - svnpath = os.path.join (svnbase, "sip", file) - if os.path.exists (svnpath): - newsip = os.listdir (newpath) - svnsip = os.listdir (svnpath) - for sip in newsip: - os.system ("cp %s %s" % (os.path.join (newpath, sip), svnpath)) - if sip not in svnsip: - os.system ("svn add %s" % (os.path.join (svnpath, sip))) - print "added %s" % sip - else: - os.system ("cp -R %s %s" % (newpath, svnpath)) - os.system ("svn add %s" % svnpath) - print "added %s" % svnpath - -newfiles = os.listdir (os.path.join (newbase, "extra")) - -for file in newfiles: - newpath = os.path.join (newbase, "extra", file) - if os.path.isdir (newpath): - svnpath = os.path.join (svnbase, "extra", file) - if os.path.exists (svnpath): - newextra = os.listdir (newpath) - svnextra = os.listdir (svnpath) - for extra in newextra: - os.system ("cp %s %s" % (os.path.join (newpath, extra), svnpath)) - if extra not in svnextra: - os.system ("svn add %s" % (os.path.join (svnpath, extra))) - print "added %s" % extra - else: - os.system ("cp -R %s %s" % (newpath, svnpath)) - os.system ("svn add %s" % svnpath) - print "added %s" % svnpath - -files = ["configure.py", "*.prj", "svnm*"] - -for file in files: - os.system ("cp %s %s" % (os.path.join (newbase, file), os.path.join (svnbase, file))) \ No newline at end of file diff --git a/python/pykde/svnmergedocs.py b/python/pykde/svnmergedocs.py deleted file mode 100644 index e77a908d..00000000 --- a/python/pykde/svnmergedocs.py +++ /dev/null @@ -1,30 +0,0 @@ -import os, os.path - -svnbase = "/home/jim/PyKDE/doc/classref" -newbase = "/home/jim/PyKDE352/doc/classref" - -newfiles = os.listdir (newbase) - -for file in newfiles: - if os.path.isdir (file): - newpath = os.path.join (newbase, file) - svnpath = os.path.join (svnbase, file) - if os.path.exists (svnpath): - newdoc = os.listdir (newpath) - svndoc = os.listdir (svnpath) - for doc in newdoc: - os.system ("cp %s %s" % (os.path.join (newpath, doc), svnpath)) - if doc not in svndoc: - os.system ("svn add %s" % (os.path.join (svnpath, doc))) - print "added %s" % doc - else: - os.system ("cp -R %s %s" % (newpath, svnpath)) - os.system ("svn add %s" % svnpath) - else: - if os.path.exists (os.path.join (svnbase, file)): - os.system ("cp %s %s" % (os.path.join (newbase, file), svnbase)) - else: - os.system ("cp %s %s" % (os.path.join (newbase, file), svnbase)) - os.system ("svn add %s" % (os.path.join (svnbase, file))) - - \ No newline at end of file diff --git a/python/pykde/templates/annotated/basicapp.py b/python/pykde/templates/annotated/basicapp.py deleted file mode 100644 index 04300b48..00000000 --- a/python/pykde/templates/annotated/basicapp.py +++ /dev/null @@ -1,113 +0,0 @@ -""" -This is a minimal PyKDE app template - it constructs an application -and a main window, but does nothing else. -""" - -""" -Copyright 2003 Jim Bublitz - -Terms and Conditions - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to -deal in the Software without restriction, including without limitation the -rights to use, copy, modify, merge, publish, distribute, sublicense, and/or -sell copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, -WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR -IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - -Except as contained in this notice, the name of the copyright holder shall -not be used in advertising or otherwise to promote the sale, use or other -dealings in this Software without prior written authorization from the -copyright holder. -""" - - -import sys - -from kdecore import KApplication, KCmdLineArgs, KAboutData -from kdeui import KMainWindow - -""" -Most PyKDE applications will need a main window - the is the top -level widget (the parent for all other widgets). KMainWindow has -more functionality than shown here (see more complex templates). -It has the ability to create the other major parts of the user -interface - the main view, menus, toolbars, etc. - -Usually you provide a subclass of KMainWindow, construct menus -and toolbars in the subclass' __init__ method, and provide -slots for menu/toolbar actions in separate methods. -""" - -class MainWin (KMainWindow): - def __init__ (self, *args): - apply (KMainWindow.__init__, (self,) + args) - - -#-------------------- main ------------------------------------------------ - -# set up some basic information about the program in -# a KAboutData object - this affects the application's -# title bar caption and makes it easy to set up a -# Help | About dialog box for your app -appName = "some app" -programName = "some program" -description = "A basic application template" -license = KAboutData.License_GPL -version = "1.0" -copyright = "(C) 2003 whoever the author is" - -aboutData = KAboutData (appName, programName, version, description, license, copyright) - -# you can add the names of the app's authors here -aboutData.addAuthor ("author1", "whatever they did", "email@somedomain") -aboutData.addAuthor ("author2", "they did something else", "another@email.address") - -# Pass the command line arguments and aboutData to -# KCmdLineArgs - this is where KDE will look for -# this information. The KApplication constructor -# used below *requires* the args are processed -# *before* KApplication is instantiated. There -# is an alternate constructor that takes sys.argv -# as an argument (see minimal.py) - -# Note that instead of argc/argv, this constructor -# only takes a single argument - sys.argv - which -# is a Python list -KCmdLineArgs.init (sys.argv, aboutData) - -# Set up the command line options (switches) you -# want your app to be able to process (you could -# use Python's getopt module instead, but it works -# a little differently) - -# Note that the argument for this method is a list -# of tuples -KCmdLineArgs.addCmdLineOptions ([("+files", "File to open")]) - -# instantiate KApplication - no other QObject -# or QWidget based classes can be instantiated -# until there is a KApplication instance -app = KApplication () - -# instantiate the subclass of KMainWindow -mainWindow = MainWin (None, "main window") - -# create the display -mainWindow.show() - -# run KApplication's event loop until the -# program exits -app.exec_loop() - diff --git a/python/pykde/templates/annotated/menuapp1.py b/python/pykde/templates/annotated/menuapp1.py deleted file mode 100644 index 8a634bf1..00000000 --- a/python/pykde/templates/annotated/menuapp1.py +++ /dev/null @@ -1,270 +0,0 @@ -""" -This template constructs an application with menus, toolbar and statusbar, -HOWEVER it is not recommended this template actually be used. It presents -the "KDE 1.0" method for constructing menus and toolbars - later versions -of KDE have introduced better (easier and more powerful) methods for -doing this job - see other menuapp*.py templates for these methods -""" - - -""" -Copyright 2003 Jim Bublitz - -Terms and Conditions - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to -deal in the Software without restriction, including without limitation the -rights to use, copy, modify, merge, publish, distribute, sublicense, and/or -sell copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, -WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR -IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - -Except as contained in this notice, the name of the copyright holder shall -not be used in advertising or otherwise to promote the sale, use or other -dealings in this Software without prior written authorization from the -copyright holder. -""" - - -False = 0 -True = not False - - -import sys - -from qt import QPopupMenu, SIGNAL - -from kdecore import KApplication, KCmdLineArgs, KAboutData, i18n, KStdAccel, KIcon, KIconLoader -from kdeui import KMainWindow, KMessageBox - -TOOLBAR_NEW = 1 -TOOLBAR_OPEN = 2 -TOOLBAR_SAVE = 3 -TOOLBAR_CUT = 4 -TOOLBAR_COPY = 5 -TOOLBAR_PASTE = 6 - -STATUSBAR_LEFT = 1 -STATUSBAR_MIDDLE = 2 -STATUSBAR_RIGHT = 3 - -class MainWin (KMainWindow): - def __init__ (self, *args): - apply (KMainWindow.__init__, (self,) + args) - - self.initMenus () - self.initToolBar () - self.initStatusBar () - - def initMenus (self): - # Create a QPopupMenu - all menus are "popup" menus - - fileMenu = QPopupMenu (self) - - # This is the "simple" KDE-1.0 way. It is not suggested that this - # template actually be used in an application, but it's - # provided to show the underlying mechanics of menu construction - # that KDE makes much easier with other methods (see other - # menuapp*.py templates for usable examples) - - # All menu item strings are wrapped with i18n - this allows - # internationalization - - # Predefined accelerators are in KStdAccel - these are - # the standard accelerators. For custom accelerators, use - # KAccel. All KStdAccel methods are static, so there is no - # need to instantiate KStdAccel - - # "File" menu items - fileMenu.insertItem (i18n ("New"), self.slotNew, KStdAccel.openNew ()) - fileMenu.insertItem (i18n ("Open"), self.slotOpen, KStdAccel.open ()) - fileMenu.insertSeparator (); - fileMenu.insertItem (i18n ("Save"), self.slotSave, KStdAccel.save ()) - - # KStdAccel doesn't have a standard accelerator for 'Save As', - # so we omit it - insertItem uses the default value - - fileMenu.insertItem (i18n ("SaveAs"), self.slotSaveAs) - - # This inserts a line between groups of items in a menu - - fileMenu.insertSeparator (); - - # Note the "KStdAccel.print_" has a trailing underscore, unlike the - # equivalent KDE method - the underscore is necessary to prevent a - # clash with the Python keyword 'print' - - fileMenu.insertItem (i18n ("Print"), self.slotPrint, KStdAccel.print_ ()) - - fileMenu.insertSeparator (); - fileMenu.insertItem (i18n ("&Quit"), self.slotQuit, KStdAccel.quit ()); - - # Put fileMenu (as the File menu) into the menu bar - # 'menuBar' is a predefined object owned by KMainWindow - - self.menuBar ().insertItem (i18n ("&File"), fileMenu) - - - editMenu = QPopupMenu (self) - - # "Edit" menu items - editMenu.insertItem (i18n ("Undo"), self.slotUndo, KStdAccel.undo ()) - editMenu.insertItem (i18n ("Redo"), self.slotRedo, KStdAccel.redo ()) - editMenu.insertSeparator (); - editMenu.insertItem (i18n ("Cut"), self.slotCut, KStdAccel.cut ()) - editMenu.insertItem (i18n ("Copy"), self.slotCopy, KStdAccel.copy ()) - editMenu.insertItem (i18n ("Paste"), self.slotPaste, KStdAccel.paste ()) - editMenu.insertSeparator (); - editMenu.insertItem (i18n ("Find"), self.slotFind, KStdAccel.find ()) - editMenu.insertItem (i18n ("Find Next"), self.slotFindNext, KStdAccel.findNext ()) - editMenu.insertItem (i18n ("Replace"), self.slotReplace, KStdAccel.replace ()) - - # Put editMenu (as the Edit menu) into the menu bar - - self.menuBar ().insertItem (i18n ("&Edit"), editMenu) - - # Let KDE generate a nifty help menu - - # The KAboutData/KCmdLineArgs data from the main part of the program - # will be used to generate the About dialog - - helpMenu = self.helpMenu ("") - self.menuBar ().insertItem (i18n ("&Help"), helpMenu) - - def initToolBar (self): - # KIconLoader will make it easy to locate the standard KDE icons for - # toolbar buttons. For custom icons, a complete path to the icon - # (without the loadIcon call) is needed - icons = KIconLoader () - - # KMainWindow owns at least one KToolBar instance, which is returned - # by 'self.toolBar ()'. To obtain additional toolbars, add an argument - # to the call -- self.toolBar (1) will return another toolbar you can - # add buttons to. - - # Add buttons to the toolbar. The icon name, id value (eg TOOLBAR_NEW), - # signal to connect (eg clicked) and the slot to connect to all need - # to be specified,as does the tooltip (the last string argument). There - # are easier ways to do this - see other menuapp templates for easier - # methods using KAction/KStdAction - - self.toolBar ().insertButton (icons.loadIcon ("filenew", KIcon.Toolbar), TOOLBAR_NEW, SIGNAL ("clicked (int)"), self.slotNew,\ - True, "New") - self.toolBar ().insertButton (icons.loadIcon ("fileopen", KIcon.Toolbar), TOOLBAR_OPEN, SIGNAL ("clicked (int)"), self.slotOpen,\ - True, "Open") - self.toolBar ().insertButton (icons.loadIcon ("filesave", KIcon.Toolbar), TOOLBAR_SAVE, SIGNAL ("clicked (int)"), self.slotSave,\ - True, "Save") - self.toolBar ().insertButton (icons.loadIcon ("editcut", KIcon.Toolbar), TOOLBAR_CUT, SIGNAL ("clicked (int)"), self.slotCut,\ - True, "Cut") - self.toolBar ().insertButton (icons.loadIcon ("editcopy", KIcon.Toolbar), TOOLBAR_COPY, SIGNAL ("clicked (int)"), self.slotCopy,\ - True, "Copy") - self.toolBar ().insertButton (icons.loadIcon ("editpaste", KIcon.Toolbar), TOOLBAR_PASTE, SIGNAL ("clicked (int)"), self.slotPaste,\ - True, "Paste") - - def initStatusBar (self): - # KMainWindow also owns a KStatusBar instance. The first - # call creates a KStatusBar instance. See 'notImpl' below - # for an example of writing to the status bar. You can - # also add widgets (labels, progress bars, etc) to the - # status bar - - self.statusBar ().insertItem ("", STATUSBAR_LEFT, 1000, True) - self.statusBar ().insertItem ("", STATUSBAR_MIDDLE, 1000, True) - self.statusBar ().insertItem ("", STATUSBAR_RIGHT, 1000, True) - - -#-------------------- slots ----------------------------------------------- - - # Slots which can be called from both the menu toolbar - # have a second parameter with a default value (id = -1) - # This is because menu signals expect to connect to a - # slot that takes no arguments, while toolbar signals - # expect to send a signal with an int argument for the - # id of the toolbar button. The default value allows - # both cases to work. - - def slotNew (self, id = -1): - self.notImpl ("New") - - def slotOpen(self, id = -1): - self.notImpl ("Open") - - def slotSave (self, id = -1): - self.notImpl ("Save") - - def slotSaveAs (self): - self.notImpl ("Save As") - - def slotPrint (self): - self.notImpl ("Print") - - def slotQuit (self): - self.notImpl ("Quit") - - def slotUndo (self): - self.notImpl ("Undo") - - def slotRedo (self): - self.notImpl ("Redo") - - def slotCut (self, id = -1): - self.notImpl ("Cut") - - def slotCopy (self, id = -1): - self.notImpl ("Copy") - - def slotPaste (self, id = -1): - self.notImpl ("Paste") - - def slotFind (self): - self.notImpl ("Find") - - def slotFindNext (self): - self.notImpl ("Find Next") - - def slotReplace (self): - self.notImpl ("Replace") - - def notImpl (self, item = "Feature"): - self.statusBar ().changeItem ("%s not implemented" % item, STATUSBAR_LEFT) - KMessageBox.error (self, "%s not implemented" % item, "Not Implemented") - self.statusBar ().changeItem ("", STATUSBAR_LEFT) - - -#-------------------- main ------------------------------------------------ - -# See athe minimal.py and basicapp.py templates for -# explantion of the basic app and main window setup - -# The following data is passed to KCmdLineArgs, which in -# turn makes it available to the "about" box in the Help -# menu (when the Help menu is created as above) - -description = "A basic application template" -version = "1.0" -aboutData = KAboutData ("", "",\ - version, description, KAboutData.License_GPL,\ - "(C) 2003 whoever the author is") - -aboutData.addAuthor ("author1", "whatever they did", "email@somedomain") -aboutData.addAuthor ("author2", "they did something else", "another@email.address") - -KCmdLineArgs.init (sys.argv, aboutData) - -KCmdLineArgs.addCmdLineOptions ([("+files", "File to open")]) - -app = KApplication () -mainWindow = MainWin (None, "main window") -mainWindow.show() -app.exec_loop() diff --git a/python/pykde/templates/annotated/menuapp2.py b/python/pykde/templates/annotated/menuapp2.py deleted file mode 100644 index 07523b86..00000000 --- a/python/pykde/templates/annotated/menuapp2.py +++ /dev/null @@ -1,244 +0,0 @@ -""" -This template constructs an application with menus, toolbar and statusbar. -It uses KDE classes and methods that simplify the task of building and -operating a GUI. It is recommended that this approach be used, rather -than the primitive approach in menuapp1.py -""" - -""" -Copyright 2003 Jim Bublitz - -Terms and Conditions - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to -deal in the Software without restriction, including without limitation the -rights to use, copy, modify, merge, publish, distribute, sublicense, and/or -sell copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, -WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR -IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - -Except as contained in this notice, the name of the copyright holder shall -not be used in advertising or otherwise to promote the sale, use or other -dealings in this Software without prior written authorization from the -copyright holder. -""" - - -False = 0 -True = not False - - -import sys - -from qt import QPopupMenu, SIGNAL - -from kdecore import KApplication, KCmdLineArgs, KAboutData, i18n -from kdeui import KMainWindow, KMessageBox, KStdAction, KAction - -STATUSBAR_LEFT = 1 -STATUSBAR_MIDDLE = 2 -STATUSBAR_RIGHT = 3 - -class MainWin (KMainWindow): - def __init__ (self, *args): - apply (KMainWindow.__init__, (self,) + args) - - # Create the actions that will populate - # the menus and toolbars - self.initActions () - - # Plug actions into menus - self.initMenus () - - # Plug actions into toolbars - self.initToolBar () - - # Create the status bar - self.initStatusBar () - - # Usings actions, only a single line is required - # to enable/disable both the menu item and corresponding - # toolbar button from anywhere in the program - self.saveAction.setEnabled (False) - self.saveAsAction.setEnabled (False) - - def initActions (self): - # Most of the functions selectable by menu are "standard" - # actions (open a file, cut, paste, etc) - you customize - # how they behave in your code, but menu, toolbar, and - # accelerator settings are the same across all programs. - # Standard actions also have tooltips already assigned - - # To create most of the actions below, KStdAction is - # is used, since it takes care of everything with - # a single line of code. - - # The standard actions only need to specify the slot - # where the code for the action is located - - # "File" menu items - self.newAction = KStdAction.openNew (self.slotNew) - self.openAction = KStdAction.open (self.slotOpen) - self.saveAction = KStdAction.save (self.slotSave) - self.saveAsAction = KStdAction.saveAs (self.slotSaveAs) - self.printAction = KStdAction.print_ (self.slotPrint) - self.quitAction = KStdAction.quit (self.slotQuit) - - # "Edit" menu items - self.undoAction = KStdAction.undo (self.slotUndo) - self.redoAction = KStdAction.redo (self.slotRedo) - self.cutAction = KStdAction.cut (self.slotCut) - self.copyAction = KStdAction.copy (self.slotCopy) - self.pasteAction = KStdAction.paste (self.slotPaste) - self.findAction = KStdAction.find (self.slotFind) - self.findNextAction = KStdAction.findNext (self.slotFindNext) - self.replaceAction = KStdAction.replace (self.slotReplace) - - # For actions that are not "standard", you can create your - # own actions using KAction. This example doesn't include - # an icon, but there is a KAction constructor that will - # allow you to specify an icon (for toolbar use, for instance), - # or you can use KAction.setIcon to set/change the icon. You - # can also add a tooltip with KAction.setToolTip - - # This KAction constructor requires a QString, an accelerator (0 - # in this case), a slot, and a QObject (None in this case) - - self.specialAction = KAction (i18n ("Special"), 0, self.slotSpecial, None) - - def initMenus (self): - # plug the actions into the menus - - fileMenu = QPopupMenu (self) - self.newAction.plug (fileMenu) - self.openAction.plug (fileMenu) - fileMenu.insertSeparator () - self.saveAction.plug (fileMenu) - self.saveAsAction.plug (fileMenu) - fileMenu.insertSeparator () - self.printAction.plug (fileMenu) - fileMenu.insertSeparator () - self.quitAction.plug (fileMenu) - self.menuBar ().insertItem (i18n ("&File"), fileMenu) - - editMenu = QPopupMenu (self) - self.undoAction.plug (editMenu) - self.redoAction.plug (editMenu) - editMenu.insertSeparator () - self.cutAction.plug (editMenu) - self.copyAction.plug (editMenu) - self.pasteAction.plug (editMenu) - editMenu.insertSeparator () - self.findAction.plug (editMenu) - self.findNextAction.plug (editMenu) - self.replaceAction.plug (editMenu) - editMenu.insertSeparator () - self.specialAction.plug (editMenu) - self.menuBar ().insertItem (i18n ("&Edit"), editMenu) - - # Uses the info from KAboutData (specified below) - # to construct the "About" box in the Help menu - - helpMenu = self.helpMenu ("") - self.menuBar ().insertItem (i18n ("&Help"), helpMenu) - - def initToolBar (self): - # Add some (but not all) actions to the toolbar - - self.newAction.plug (self.toolBar ()) - self.openAction.plug (self.toolBar ()) - self.saveAction.plug (self.toolBar ()) - self.cutAction.plug (self.toolBar ()) - self.copyAction.plug (self.toolBar ()) - self.pasteAction.plug (self.toolBar ()) - - def initStatusBar (self): - # Initialize the status bar - - self.statusBar ().insertItem ("", STATUSBAR_LEFT, 1000, True) - self.statusBar ().insertItem ("", STATUSBAR_MIDDLE, 1000, True) - self.statusBar ().insertItem ("", STATUSBAR_RIGHT, 1000, True) - -#-------------------- slots ----------------------------------------------- - - def slotNew (self, id = -1): - self.notImpl ("New") - - def slotOpen(self, id = -1): - self.notImpl ("Open") - - def slotSave (self, id = -1): - self.notImpl ("Save") - - def slotSaveAs (self): - self.notImpl ("Save As") - - def slotPrint (self): - self.notImpl ("Print") - - def slotQuit (self): - self.notImpl ("Quit") - - def slotUndo (self): - self.notImpl ("Undo") - - def slotRedo (self): - self.notImpl ("Redo") - - def slotCut (self, id = -1): - self.notImpl ("Cut") - - def slotCopy (self, id = -1): - self.notImpl ("Copy") - - def slotPaste (self, id = -1): - self.notImpl ("Paste") - - def slotFind (self): - self.notImpl ("Find") - - def slotFindNext (self): - self.notImpl ("Find Next") - - def slotReplace (self): - self.notImpl ("Replace") - - def slotSpecial (self): - self.notImpl ("Special") - - def notImpl (self, item = "Feature"): - self.statusBar ().changeItem ("%s not implemented" % item, STATUSBAR_LEFT) - KMessageBox.error (self, "%s not implemented" % item, "Not Implemented") - self.statusBar ().changeItem ("", STATUSBAR_LEFT) - - -#-------------------- main ------------------------------------------------ - -description = "A basic application template" -version = "1.0" -aboutData = KAboutData ("", "",\ - version, description, KAboutData.License_GPL,\ - "(C) 2003 whoever the author is") - -aboutData.addAuthor ("author1", "whatever they did", "email@somedomain") -aboutData.addAuthor ("author2", "they did something else", "another@email.address") - -KCmdLineArgs.init (sys.argv, aboutData) - -KCmdLineArgs.addCmdLineOptions ([("+files", "File to open")]) - -app = KApplication () -mainWindow = MainWin (None, "main window") -mainWindow.show() -app.exec_loop() diff --git a/python/pykde/templates/annotated/menuapp3.py b/python/pykde/templates/annotated/menuapp3.py deleted file mode 100644 index 1935ce59..00000000 --- a/python/pykde/templates/annotated/menuapp3.py +++ /dev/null @@ -1,209 +0,0 @@ -""" -This template constructs an application with menus, toolbar and statusbar. -It uses an XML file (menuapp3ui.rc) to specify the menu layout; all menu -items have a corresponding action defined, but no menus are created -explicitly in code. This app has the same menu layout as menuapp2.py -""" - -""" -Copyright 2003 Jim Bublitz - -Terms and Conditions - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to -deal in the Software without restriction, including without limitation the -rights to use, copy, modify, merge, publish, distribute, sublicense, and/or -sell copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, -WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR -IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - -Except as contained in this notice, the name of the copyright holder shall -not be used in advertising or otherwise to promote the sale, use or other -dealings in this Software without prior written authorization from the -copyright holder. -""" - - -False = 0 -True = not False - - -import sys - -from qt import QPopupMenu, SIGNAL - -from kdecore import KApplication, KCmdLineArgs, KAboutData, i18n -from kdeui import KMainWindow, KMessageBox, KStdAction, KAction, KActionCollection - -STATUSBAR_LEFT = 1 -STATUSBAR_MIDDLE = 2 -STATUSBAR_RIGHT = 3 - -class MainWin (KMainWindow): - def __init__ (self, *args): - apply (KMainWindow.__init__, (self,) + args) - - # Create actions that correspond to those in the XML file - self.initActions () - - # Parse the default XML file (ui.rc> and create - # the menus and toolbar. This single line (and the XML - # file it reads) replace initMenus and initToolBar from - # menuapp2.py. Otherwise, the menuapp2 and menuapp3 - # are identical 'createGUI' expects to find 'menuapp3ui.rc' - # either in the directory menuapp3.py is run from, or - # in $KDEDIR/apps/menuapp3/ - self.createGUI () - - # Create the status bar - self.initStatusBar () - - # Disable a couple of menu items using their actions - self.saveAction.setEnabled (False) - self.saveAsAction.setEnabled (False) - - def initActions (self): - # Most of the functions selectable by menu are "standard" - # actions (open a file, cut, paste, etc) - you customize - # how they behave in your code, but menu, toolbar, and - # accelerator settings are the same across all programs. - # Standard actions also have tooltips already assigned - - # To create most of the actions below, KStdAction is - # is used, since it takes care of everything with - # a single line of code. - - # The standard actions only need to specify the slot - # where the code for the action is located - - # Because the XMLGUI mechanism parses $KDEDIR/config/ui/ui_standards.rc - # before parsing and merging menuapp3ui.rc, it actually isn't - # necessary to list KStdAction actions in menuapp3.rc. THE XMLGUI - # code will create menu/toolbar items and place them *automatically* - # if you defined the KStdActions as below. In fact, you can't override - # this behavior using KStdActions - if you want menus to be "non-standard" - # KDE menus (eg 'Cut' in the 'File' menu), you'll need to create your - # actions from KAction instead of KStdAction. Obviously it makes more - # sense to use the mechanism provided to produce consistent menus and - # toolbars. You can "unplug" items if, for example, you don't want them - # in the toolBar. - - # "File" menu items - self.newAction = KStdAction.openNew (self.slotNew, self.actionCollection ()) - self.openAction = KStdAction.open (self.slotOpen, self.actionCollection ()) - self.saveAction = KStdAction.save (self.slotSave, self.actionCollection ()) - self.saveAsAction = KStdAction.saveAs (self.slotSaveAs, self.actionCollection ()) - self.printAction = KStdAction.print_ (self.slotPrint, self.actionCollection ()) - self.quitAction = KStdAction.quit (self.slotQuit, self.actionCollection ()) - - - # "Edit" menu items - self.undoAction = KStdAction.undo (self.slotUndo, self.actionCollection ()) - self.redoAction = KStdAction.redo (self.slotRedo, self.actionCollection ()) - self.cutAction = KStdAction.cut (self.slotCut, self.actionCollection ()) - self.copyAction = KStdAction.copy (self.slotCopy, self.actionCollection ()) - self.pasteAction = KStdAction.paste (self.slotPaste, self.actionCollection ()) - self.findAction = KStdAction.find (self.slotFind, self.actionCollection ()) - self.findNextAction = KStdAction.findNext (self.slotFindNext, self.actionCollection ()) - self.replaceAction = KStdAction.replace (self.slotReplace, self.actionCollection ()) - - # For ANYTHING constructed from KAction or its descendants (KActionMenu, KActionSeparator, - # KFontAction, etc) you MUST provide the self.actionCollection () parent and an object - # name ("specialActionName") or the XMLGUI mechanism will not be able to locate the - # action. XMLGUI finds the action via its member name value, NOT via its variable name. - self.specialAction = KAction (i18n ("Special"), 0, self.slotSpecial, self.actionCollection (), "specialActionName") - - def initStatusBar (self): - self.statusBar ().insertItem ("", STATUSBAR_LEFT, 1000, True) - self.statusBar ().insertItem ("", STATUSBAR_MIDDLE, 1000, True) - self.statusBar ().insertItem ("", STATUSBAR_RIGHT, 1000, True) - -#-------------------- slots ----------------------------------------------- - - def slotNew (self, id = -1): - self.notImpl ("New") - - def slotOpen(self, id = -1): - self.notImpl ("Open") - - def slotSave (self, id = -1): - self.notImpl ("Save") - - def slotSaveAs (self): - self.notImpl ("Save As") - - def slotPrint (self): - self.notImpl ("Print") - - def slotQuit (self): - self.notImpl ("Quit") - - def slotUndo (self): - self.notImpl ("Undo") - - def slotRedo (self): - self.notImpl ("Redo") - - def slotCut (self, id = -1): - self.notImpl ("Cut") - - def slotCopy (self, id = -1): - self.notImpl ("Copy") - - def slotPaste (self, id = -1): - self.notImpl ("Paste") - - def slotFind (self): - self.notImpl ("Find") - - def slotFindNext (self): - self.notImpl ("Find Next") - - def slotReplace (self): - self.notImpl ("Replace") - - def slotSpecial (self): - self.notImpl ("Special") - - def notImpl (self, item = "Feature"): - self.statusBar ().changeItem ("%s not implemented" % item, STATUSBAR_LEFT) - KMessageBox.error (self, "%s not implemented" % item, "Not Implemented") - self.statusBar ().changeItem ("", STATUSBAR_LEFT) - - -#-------------------- main ------------------------------------------------ - -description = "A basic application template" -version = "1.0" - -# To use the XMLGUI mechanism, you MUST provide an appName -# (the first argument to KAboutData below) - the XML spec -# for the interface will be in ui.rc (don't forget -# the "ui" suffix to the application name) -aboutData = KAboutData ("menuapp3", "",\ - version, description, KAboutData.License_GPL,\ - "(C) 2003 whoever the author is") - -aboutData.addAuthor ("author1", "whatever they did", "email@somedomain") -aboutData.addAuthor ("author2", "they did something else", "another@email.address") - -KCmdLineArgs.init (sys.argv, aboutData) - -KCmdLineArgs.addCmdLineOptions ([("+files", "File to open")]) - -app = KApplication () -mainWindow = MainWin (None, "main window") -mainWindow.show() -app.exec_loop() - diff --git a/python/pykde/templates/annotated/menuapp3ui.rc b/python/pykde/templates/annotated/menuapp3ui.rc deleted file mode 100644 index 60120e21..00000000 --- a/python/pykde/templates/annotated/menuapp3ui.rc +++ /dev/null @@ -1,24 +0,0 @@ - - - - &File - - - - - - - - &Edit - - - - - - - - - - - - \ No newline at end of file diff --git a/python/pykde/templates/annotated/minimal.py b/python/pykde/templates/annotated/minimal.py deleted file mode 100644 index a3e87c8a..00000000 --- a/python/pykde/templates/annotated/minimal.py +++ /dev/null @@ -1,75 +0,0 @@ -""" -This is a minimal PyKDE app template - it constructs an application -and a main window, but does nothing else. -""" - -""" -Copyright 2003 Jim Bublitz - -Terms and Conditions - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to -deal in the Software without restriction, including without limitation the -rights to use, copy, modify, merge, publish, distribute, sublicense, and/or -sell copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, -WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR -IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - -Except as contained in this notice, the name of the copyright holder shall -not be used in advertising or otherwise to promote the sale, use or other -dealings in this Software without prior written authorization from the -copyright holder. -""" - -import sys - -from kdecore import KApplication -from kdeui import KMainWindow - - -""" -Most PyKDE applications will need a main window - the is the top -level widget (the parent for all other widgets). KMainWindow has -more functionality than shown here (see more complex templates). -It has the ability to create the other major parts of the user -interface - the main view, menus, toolbars, etc. - -Usually you provide a subclass of KMainWindow, construct menus -and toolbars in the subclass' __init__ method, and provide -slots for menu/toolbar actions in separate methods. -""" -class MainWin (KMainWindow): - def __init__ (self, *args): - apply (KMainWindow.__init__, (self,) + args) - - -#-------------------- main ------------------------------------------------ - -# instantiate KApplication - no other QObject -# or QWidget based classes can be instantiated -# until there is a KApplication instance -appName = "template" -app = KApplication (sys.argv, appName) - -# instantiate the subclass of KMainWindow -mainWindow = MainWin (None, "main window") - -# create the display -mainWindow.show() - -# run KApplication's event loop until the -# program exits -app.exec_loop() - - diff --git a/python/pykde/templates/annotated/panelapplet.py b/python/pykde/templates/annotated/panelapplet.py deleted file mode 100644 index 009ee56b..00000000 --- a/python/pykde/templates/annotated/panelapplet.py +++ /dev/null @@ -1,64 +0,0 @@ -""" -A basic panel applet template - working examples are in the -pykpanelapplet/ directory -""" -""" -Copyright 2003 Jim Bublitz - -Terms and Conditions - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to -deal in the Software without restriction, including without limitation the -rights to use, copy, modify, merge, publish, distribute, sublicense, and/or -sell copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, -WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR -IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - -Except as contained in this notice, the name of the copyright holder shall -not be used in advertising or otherwise to promote the sale, use or other -dealings in this Software without prior written authorization from the -copyright holder. -""" - -from kdeui import PyKPanelApplet, KPanelApplet - - -# Any panel applet written in Python must include THIS "factory" function -# The name must be createApplet, and it must take the two args shown; it -# must return a PyKPanelApplet subclass - -# Change "PanelAppletName" to something meaningful here and in the class -# declaration -def createApplet (parent, configFile): - return PanelAppletName (configFile, KPanelApplet.Normal, 0, parent, "nameMe") - - -# Define the PyKPanelApplet subclass in a fashion similar to this -# (PyKPanelApplet is a subclass of KPanelApplet, and exposes all of -# KPanelApplet's methods) - -# You can change the arg list for __init__ as needed (and make the corresponding -# change in the call in createApplet), as long as you have the basic info -# needed to call PyKPanelApplet.__init__ -class PanelAppletName (PyKPanelApplet): - def __init__ (self, configFile, t, actions, parent, name, f = 0): - PyKPanelApplet.__init__ (self, configFile, t, actions, parent, name, f) - -# Change these methods to have kicker size your applet appropriately -# As written, they provide a square applet window - def widthForHeight (self, h): - return h - - def heightForWidth (self, w ): - return w diff --git a/python/pykde/templates/annotated/systray.py b/python/pykde/templates/annotated/systray.py deleted file mode 100644 index 41dc62a2..00000000 --- a/python/pykde/templates/annotated/systray.py +++ /dev/null @@ -1,82 +0,0 @@ -""" -Copyright 2003 Jim Bublitz - -Terms and Conditions - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to -deal in the Software without restriction, including without limitation the -rights to use, copy, modify, merge, publish, distribute, sublicense, and/or -sell copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, -WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR -IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - -Except as contained in this notice, the name of the copyright holder shall -not be used in advertising or otherwise to promote the sale, use or other -dealings in this Software without prior written authorization from the -copyright holder. -""" - -import sys - -from qt import QWidget, SIGNAL -from kdecore import KApplication, KIcon, KIconLoader -from kdeui import KSystemTray - -""" -Typically an application's "main window" will be a KMainWindow or -a subclass of KMainWindow (KMainWindow provides simple mechanisms -for constructing mens, toolbars, statusbars, etc). The problem with -using KMainWindow in a System Tray application is that when -KMainWindow is closed, it also shuts down KApplication and the -program terminates. - -One way around that (not necessarily the best way - see systray1.py) -is to make the "main window" a QWidget or other QWidget subclass -that's not KMainWindow. -""" - -class MainWin (QWidget): - def __init__ (self, *args): - apply (QWidget.__init__, (self,) + args) - -#-------------------- main ------------------------------------------------ - -# This slot receives the "quitSelected ()" signal that's emitted -# when the user right clicks the icon in the system tray and -# selects "Quit" from the popup menu -def slotQuitSelected (): - KApplication.kApplication ().quit () - -# The usual stuff -appName = "template" -app = KApplication (sys.argv, appName) -mainWindow = MainWin (None, "main window") - -# System tray apps need an icon -icons = KIconLoader () - -# The KSystemTray widget shows or hides it's parent widget -# when clicked, so parent needs to be the main window -systray = KSystemTray (mainWindow) - -systray.setPixmap (icons.loadIcon("stop", KIcon.Desktop)) -systray.connect (systray, SIGNAL ("quitSelected ()"), slotQuitSelected) -systray.show () - -# Comment this out if you don't want the main window to show -# immediately when the application loads -mainWindow.show() -app.exec_loop() - - diff --git a/python/pykde/templates/annotated/systray1.py b/python/pykde/templates/annotated/systray1.py deleted file mode 100644 index 99b7f03a..00000000 --- a/python/pykde/templates/annotated/systray1.py +++ /dev/null @@ -1,87 +0,0 @@ -""" -A basic system tray application - you can combine this with code from -menuapp2.py or menuapp3.py to quickly build a full-blown application -framework. -""" - -""" -Copyright 2003 Jim Bublitz - -Terms and Conditions - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to -deal in the Software without restriction, including without limitation the -rights to use, copy, modify, merge, publish, distribute, sublicense, and/or -sell copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, -WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR -IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - -Except as contained in this notice, the name of the copyright holder shall -not be used in advertising or otherwise to promote the sale, use or other -dealings in this Software without prior written authorization from the -copyright holder. -""" - -import sys - -from qt import QLabel, QWidget, SIGNAL -from kdecore import KApplication, KIcon, KIconLoader -from kdeui import KMainWindow, KSystemTray - -# This template uses KMainWindow as the main window widget -# It solves the problem described in systray.py by using -# a flag to control the return value from queryClose - if -# :quit" is signalled from anywhere EXCEPT the system tray -# icon's menu, self.exitFlag == False, and as the return -# value for queryClose, it stops the application from shutting -# down; if self.exitFlag is True, the application shuts down - -class MainWin (KMainWindow): - def __init__ (self, *args): - apply (KMainWindow.__init__, (self,) + args) - - self.exitFlag = False - - icons = KIconLoader () - - # KSystemTray hides or shows its parent when the system tray icon is clicked - self.systray = KSystemTray (self) - self.systray.setPixmap (icons.loadIcon("stop", KIcon.Desktop)) - self.systray.connect (self.systray, SIGNAL ("quitSelected ()"), self.slotQuitSelected) - self.systray.show () - - # Controls whether or not the application really exits - def queryClose (self): - self.hide () - return self.exitFlag - - # Receives the signal emitted when the user selects Quit from the - # system tray icon's menu - def slotQuitSelected (self): - self.exitFlag = True - KApplication.kApplication ().quit () - -#-------------------- main ------------------------------------------------ - -# The usual stuff - you can also use the KAboutData/KCmdLineArgs version -# for program startup used in other templates - the KApplication constructor -# used here may be obsoleted eventually -appName = "template" -app = KApplication (sys.argv, appName) -mainWindow = MainWin (None, "main window") - -mainWindow.show() -app.exec_loop() - - diff --git a/python/pykde/templates/basic/basicapp.py b/python/pykde/templates/basic/basicapp.py deleted file mode 100644 index 2146f637..00000000 --- a/python/pykde/templates/basic/basicapp.py +++ /dev/null @@ -1,58 +0,0 @@ -""" -Copyright 2003 Jim Bublitz - -Terms and Conditions - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to -deal in the Software without restriction, including without limitation the -rights to use, copy, modify, merge, publish, distribute, sublicense, and/or -sell copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, -WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR -IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - -Except as contained in this notice, the name of the copyright holder shall -not be used in advertising or otherwise to promote the sale, use or other -dealings in this Software without prior written authorization from the -copyright holder. -""" - -import sys - -from qt import SIGNAL -from kdecore import KApplication, KCmdLineArgs, KAboutData -from kdeui import KMainWindow - -class MainWin (KMainWindow): - def __init__ (self, *args): - KMainWindow.__init__ (self) - - -#-------------------- main ------------------------------------------------ - -description = "A basic application template" -version = "1.0" -aboutData = KAboutData ("", "",\ - version, description, KAboutData.License_GPL,\ - "(C) 2003 whoever the author is") - -aboutData.addAuthor ("author1", "whatever they did", "email@somedomain") -aboutData.addAuthor ("author2", "they did something else", "another@email.address") - -KCmdLineArgs.init (sys.argv, aboutData) - -app = KApplication () -mainWindow = MainWin (None, "main window") -mainWindow.show() -app.connect (app, SIGNAL ("lastWindowClosed ()"), app.quit) -app.exec_loop() diff --git a/python/pykde/templates/basic/menuapp1.py b/python/pykde/templates/basic/menuapp1.py deleted file mode 100644 index a482c2a2..00000000 --- a/python/pykde/templates/basic/menuapp1.py +++ /dev/null @@ -1,194 +0,0 @@ -""" -This template constructs an application with menus, toolbar and statusbar, -HOWEVER it is not recommended this template actually be used. It presents -the "KDE 1.0" method for constructing menus and toolbars - later versions -of KDE have introduced better (easier and more powerful) methods for -doing this job - see other menuapp*.py templates for these methods -""" - -""" -Copyright 2003 Jim Bublitz - -Terms and Conditions - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to -deal in the Software without restriction, including without limitation the -rights to use, copy, modify, merge, publish, distribute, sublicense, and/or -sell copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, -WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR -IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - -Except as contained in this notice, the name of the copyright holder shall -not be used in advertising or otherwise to promote the sale, use or other -dealings in this Software without prior written authorization from the -copyright holder. -""" - - -False = 0 -True = not False - - -import sys - -from qt import QPopupMenu, SIGNAL - -from kdecore import KApplication, KCmdLineArgs, KAboutData, i18n, KStdAccel, KIcon, KIconLoader -from kdeui import KMainWindow, KMessageBox - -TOOLBAR_NEW = 1 -TOOLBAR_OPEN = 2 -TOOLBAR_SAVE = 3 -TOOLBAR_CUT = 4 -TOOLBAR_COPY = 5 -TOOLBAR_PASTE = 6 - -STATUSBAR_LEFT = 1 -STATUSBAR_MIDDLE = 2 -STATUSBAR_RIGHT = 3 - -class MainWin (KMainWindow): - def __init__ (self, *args): - apply (KMainWindow.__init__, (self,) + args) - - self.initMenus () - self.initToolBar () - self.initStatusBar () - - def initMenus (self): - fileMenu = QPopupMenu (self) - - # "File" menu items - fileMenu.insertItem (i18n ("New"), self.slotNew, KStdAccel.openNew ().keyCodeQt ()) - fileMenu.insertItem (i18n ("Open"), self.slotOpen, KStdAccel.open ().keyCodeQt ()) - fileMenu.insertSeparator (); - fileMenu.insertItem (i18n ("Save"), self.slotSave, KStdAccel.save ().keyCodeQt ()) - fileMenu.insertItem (i18n ("SaveAs"), self.slotSaveAs) - fileMenu.insertSeparator (); - fileMenu.insertItem (i18n ("Print"), self.slotPrint, KStdAccel.print_ ().keyCodeQt ()) - fileMenu.insertSeparator (); - fileMenu.insertItem (i18n ("&Quit"), self.slotQuit, KStdAccel.quit ().keyCodeQt ()); - - self.menuBar ().insertItem (i18n ("&File"), fileMenu) - - editMenu = QPopupMenu (self) - - # "Edit" menu items - editMenu.insertItem (i18n ("Undo"), self.slotUndo, KStdAccel.undo ().keyCodeQt ()) - editMenu.insertItem (i18n ("Redo"), self.slotRedo, KStdAccel.redo ().keyCodeQt ()) - editMenu.insertSeparator (); - editMenu.insertItem (i18n ("Cut"), self.slotCut, KStdAccel.cut ().keyCodeQt ()) - editMenu.insertItem (i18n ("Copy"), self.slotCopy, KStdAccel.copy ().keyCodeQt ()) - editMenu.insertItem (i18n ("Paste"), self.slotPaste, KStdAccel.paste ().keyCodeQt ()) - editMenu.insertSeparator (); - editMenu.insertItem (i18n ("Find"), self.slotFind, KStdAccel.find ().keyCodeQt ()) - editMenu.insertItem (i18n ("Find Next"), self.slotFindNext, KStdAccel.findNext ().keyCodeQt ()) - editMenu.insertItem (i18n ("Replace"), self.slotReplace, KStdAccel.replace ().keyCodeQt ()) - - self.menuBar ().insertItem (i18n ("&Edit"), editMenu) - - helpMenu = self.helpMenu ("") - self.menuBar ().insertItem (i18n ("&Help"), helpMenu) - - def initToolBar (self): - icons = KIconLoader () - - self.toolBar ().insertButton (icons.loadIcon ("filenew", KIcon.Toolbar), TOOLBAR_NEW, SIGNAL ("clicked (int)"), self.slotNew,\ - True, "New") - self.toolBar ().insertButton (icons.loadIcon ("fileopen", KIcon.Toolbar), TOOLBAR_OPEN, SIGNAL ("clicked (int)"), self.slotOpen,\ - True, "Open") - self.toolBar ().insertButton (icons.loadIcon ("filesave", KIcon.Toolbar), TOOLBAR_SAVE, SIGNAL ("clicked (int)"), self.slotSave,\ - True, "Save") - self.toolBar ().insertButton (icons.loadIcon ("editcut", KIcon.Toolbar), TOOLBAR_CUT, SIGNAL ("clicked (int)"), self.slotCut,\ - True, "Cut") - self.toolBar ().insertButton (icons.loadIcon ("editcopy", KIcon.Toolbar), TOOLBAR_COPY, SIGNAL ("clicked (int)"), self.slotCopy,\ - True, "Copy") - self.toolBar ().insertButton (icons.loadIcon ("editpaste", KIcon.Toolbar), TOOLBAR_PASTE, SIGNAL ("clicked (int)"), self.slotPaste,\ - True, "Paste") - - def initStatusBar (self): - self.statusBar ().insertItem ("", STATUSBAR_LEFT, 1000, True) - self.statusBar ().insertItem ("", STATUSBAR_MIDDLE, 1000, True) - self.statusBar ().insertItem ("", STATUSBAR_RIGHT, 1000, True) - - -#-------------------- slots ----------------------------------------------- - - def slotNew (self, id = -1): - self.notImpl ("New") - - def slotOpen(self, id = -1): - self.notImpl ("Open") - - def slotSave (self, id = -1): - self.notImpl ("Save") - - def slotSaveAs (self): - self.notImpl ("Save As") - - def slotPrint (self): - self.notImpl ("Print") - - def slotQuit (self): - self.notImpl ("Quit") - - def slotUndo (self): - self.notImpl ("Undo") - - def slotRedo (self): - self.notImpl ("Redo") - - def slotCut (self, id = -1): - self.notImpl ("Cut") - - def slotCopy (self, id = -1): - self.notImpl ("Copy") - - def slotPaste (self, id = -1): - self.notImpl ("Paste") - - def slotFind (self): - self.notImpl ("Find") - - def slotFindNext (self): - self.notImpl ("Find Next") - - def slotReplace (self): - self.notImpl ("Replace") - - def notImpl (self, item = "Feature"): - self.statusBar ().changeItem ("%s not implemented" % item, STATUSBAR_LEFT) - KMessageBox.error (self, "%s not implemented" % item, "Not Implemented") - self.statusBar ().changeItem ("", STATUSBAR_LEFT) - - -#-------------------- main ------------------------------------------------ - -description = "A basic application template" -version = "1.0" -aboutData = KAboutData ("", "",\ - version, description, KAboutData.License_GPL,\ - "(C) 2003 whoever the author is") - -aboutData.addAuthor ("author1", "whatever they did", "email@somedomain") -aboutData.addAuthor ("author2", "they did something else", "another@email.address") - -KCmdLineArgs.init (sys.argv, aboutData) - -KCmdLineArgs.addCmdLineOptions ([("+files", "File to open")]) - -app = KApplication () -mainWindow = MainWin (None, "main window") -mainWindow.show() -app.exec_loop() diff --git a/python/pykde/templates/basic/menuapp2.py b/python/pykde/templates/basic/menuapp2.py deleted file mode 100644 index 394eca80..00000000 --- a/python/pykde/templates/basic/menuapp2.py +++ /dev/null @@ -1,200 +0,0 @@ -""" -This template constructs an application with menus, toolbar and statusbar. -It uses KDE classes and methods that simplify the task of building and -operating a GUI. It is recommended that this approach be used, rather -than the primitive approach in menuapp1.py -""" - -""" -Copyright 2003 Jim Bublitz - -Terms and Conditions - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to -deal in the Software without restriction, including without limitation the -rights to use, copy, modify, merge, publish, distribute, sublicense, and/or -sell copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, -WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR -IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - -Except as contained in this notice, the name of the copyright holder shall -not be used in advertising or otherwise to promote the sale, use or other -dealings in this Software without prior written authorization from the -copyright holder. -""" - - -False = 0 -True = not False - - -import sys - -from qt import QPopupMenu, SIGNAL - -from kdecore import KApplication, KCmdLineArgs, KAboutData, i18n, KShortcut -from kdeui import KMainWindow, KMessageBox, KStdAction, KAction - -STATUSBAR_LEFT = 1 -STATUSBAR_MIDDLE = 2 -STATUSBAR_RIGHT = 3 - -class MainWin (KMainWindow): - def __init__ (self, *args): - apply (KMainWindow.__init__, (self,) + args) - - self.initActions () - self.initMenus () - self.initToolBar () - self.initStatusBar () - - self.saveAction.setEnabled (False) - self.saveAsAction.setEnabled (False) - - def initActions (self): - # "File" menu items - self.newAction = KStdAction.openNew (self.slotNew, self.actionCollection ()) - self.openAction = KStdAction.open (self.slotOpen, self.actionCollection ()) - self.saveAction = KStdAction.save (self.slotSave, self.actionCollection ()) - self.saveAsAction = KStdAction.saveAs (self.slotSaveAs, self.actionCollection ()) - self.printAction = KStdAction.print_ (self.slotPrint, self.actionCollection ()) - self.quitAction = KStdAction.quit (self.slotQuit, self.actionCollection ()) - - # "Edit" menu items - self.undoAction = KStdAction.undo (self.slotUndo, self.actionCollection ()) - self.redoAction = KStdAction.redo (self.slotRedo, self.actionCollection ()) - self.cutAction = KStdAction.cut (self.slotCut, self.actionCollection ()) - self.copyAction = KStdAction.copy (self.slotCopy, self.actionCollection ()) - self.pasteAction = KStdAction.paste (self.slotPaste, self.actionCollection ()) - self.findAction = KStdAction.find (self.slotFind, self.actionCollection ()) - self.findNextAction = KStdAction.findNext (self.slotFindNext, self.actionCollection ()) - self.replaceAction = KStdAction.replace (self.slotReplace, self.actionCollection ()) - self.specialAction = KAction (i18n ("Special"), KShortcut.null (), self.slotSpecial, self.actionCollection (), None) - - def initMenus (self): - fileMenu = QPopupMenu (self) - self.newAction.plug (fileMenu) - self.openAction.plug (fileMenu) - fileMenu.insertSeparator () - self.saveAction.plug (fileMenu) - self.saveAsAction.plug (fileMenu) - fileMenu.insertSeparator () - self.printAction.plug (fileMenu) - fileMenu.insertSeparator () - self.quitAction.plug (fileMenu) - self.menuBar ().insertItem (i18n ("&File"), fileMenu) - - editMenu = QPopupMenu (self) - self.undoAction.plug (editMenu) - self.redoAction.plug (editMenu) - editMenu.insertSeparator () - self.cutAction.plug (editMenu) - self.copyAction.plug (editMenu) - self.pasteAction.plug (editMenu) - editMenu.insertSeparator () - self.findAction.plug (editMenu) - self.findNextAction.plug (editMenu) - self.replaceAction.plug (editMenu) - editMenu.insertSeparator () - self.specialAction.plug (editMenu) - self.menuBar ().insertItem (i18n ("&Edit"), editMenu) - - helpMenu = self.helpMenu ("") - self.menuBar ().insertItem (i18n ("&Help"), helpMenu) - - def initToolBar (self): - self.newAction.plug (self.toolBar ()) - self.openAction.plug (self.toolBar ()) - self.saveAction.plug (self.toolBar ()) - self.cutAction.plug (self.toolBar ()) - self.copyAction.plug (self.toolBar ()) - self.pasteAction.plug (self.toolBar ()) - - def initStatusBar (self): - self.statusBar ().insertItem ("", STATUSBAR_LEFT, 1000, True) - self.statusBar ().insertItem ("", STATUSBAR_MIDDLE, 1000, True) - self.statusBar ().insertItem ("", STATUSBAR_RIGHT, 1000, True) - -#-------------------- slots ----------------------------------------------- - - def slotNew (self, id = -1): - self.notImpl ("New") - - def slotOpen(self, id = -1): - self.notImpl ("Open") - - def slotSave (self, id = -1): - self.notImpl ("Save") - - def slotSaveAs (self): - self.notImpl ("Save As") - - def slotPrint (self): - self.notImpl ("Print") - - def slotQuit (self): - self.notImpl ("Quit") - - def slotUndo (self): - self.notImpl ("Undo") - - def slotRedo (self): - self.notImpl ("Redo") - - def slotCut (self, id = -1): - self.notImpl ("Cut") - - def slotCopy (self, id = -1): - self.notImpl ("Copy") - - def slotPaste (self, id = -1): - self.notImpl ("Paste") - - def slotFind (self): - self.notImpl ("Find") - - def slotFindNext (self): - self.notImpl ("Find Next") - - def slotReplace (self): - self.notImpl ("Replace") - - def slotSpecial (self): - self.notImpl ("Special") - - def notImpl (self, item = "Feature"): - self.statusBar ().changeItem ("%s not implemented" % item, STATUSBAR_LEFT) - KMessageBox.error (self, "%s not implemented" % item, "Not Implemented") - self.statusBar ().changeItem ("", STATUSBAR_LEFT) - - -#-------------------- main ------------------------------------------------ - -description = "A basic application template" -version = "1.0" -aboutData = KAboutData ("", "",\ - version, description, KAboutData.License_GPL,\ - "(C) 2003 whoever the author is") - -aboutData.addAuthor ("author1", "whatever they did", "email@somedomain") -aboutData.addAuthor ("author2", "they did something else", "another@email.address") - -KCmdLineArgs.init (sys.argv, aboutData) - -KCmdLineArgs.addCmdLineOptions ([("+files", "File to open")]) - -app = KApplication () -mainWindow = MainWin (None, "main window") -mainWindow.show() -app.exec_loop() diff --git a/python/pykde/templates/basic/menuapp3.py b/python/pykde/templates/basic/menuapp3.py deleted file mode 100644 index e729d6d1..00000000 --- a/python/pykde/templates/basic/menuapp3.py +++ /dev/null @@ -1,162 +0,0 @@ -""" -This template constructs an application with menus, toolbar and statusbar. -It uses an XML file (menuapp3ui.rc) to specify the menu layout; all menu -items have a corresponding action defined, but no menus are created -explicitly in code. This app has the same menu layout as menuapp2.py -""" - -""" -Copyright 2003 Jim Bublitz - -Terms and Conditions - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to -deal in the Software without restriction, including without limitation the -rights to use, copy, modify, merge, publish, distribute, sublicense, and/or -sell copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, -WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR -IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - -Except as contained in this notice, the name of the copyright holder shall -not be used in advertising or otherwise to promote the sale, use or other -dealings in this Software without prior written authorization from the -copyright holder. -""" - - -False = 0 -True = not False - - -import sys - -from qt import QPopupMenu, SIGNAL - -from kdecore import KApplication, KCmdLineArgs, KAboutData, i18n, KShortcut -from kdeui import KMainWindow, KMessageBox, KStdAction, KAction, KActionCollection - -STATUSBAR_LEFT = 1 -STATUSBAR_MIDDLE = 2 -STATUSBAR_RIGHT = 3 - -class MainWin (KMainWindow): - def __init__ (self, *args): - apply (KMainWindow.__init__, (self,) + args) - - self.initActions () - self.createGUI () - self.initStatusBar () - - self.saveAction.setEnabled (False) - self.saveAsAction.setEnabled (False) - - def initActions (self): - # "File" menu items - self.newAction = KStdAction.openNew (self.slotNew, self.actionCollection ()) - self.openAction = KStdAction.open (self.slotOpen, self.actionCollection ()) - self.saveAction = KStdAction.save (self.slotSave, self.actionCollection ()) - self.saveAsAction = KStdAction.saveAs (self.slotSaveAs, self.actionCollection ()) - self.printAction = KStdAction.print_ (self.slotPrint, self.actionCollection ()) - self.quitAction = KStdAction.quit (self.slotQuit, self.actionCollection ()) - - - # "Edit" menu items - self.undoAction = KStdAction.undo (self.slotUndo, self.actionCollection ()) - self.redoAction = KStdAction.redo (self.slotRedo, self.actionCollection ()) - self.cutAction = KStdAction.cut (self.slotCut, self.actionCollection ()) - self.copyAction = KStdAction.copy (self.slotCopy, self.actionCollection ()) - self.pasteAction = KStdAction.paste (self.slotPaste, self.actionCollection ()) - self.findAction = KStdAction.find (self.slotFind, self.actionCollection ()) - self.findNextAction = KStdAction.findNext (self.slotFindNext, self.actionCollection ()) - self.replaceAction = KStdAction.replace (self.slotReplace, self.actionCollection ()) - self.specialAction = KAction (i18n ("Special"), KShortcut.null (), self.slotSpecial, self.actionCollection (), "specialActionName") - - def initStatusBar (self): - self.statusBar ().insertItem ("", STATUSBAR_LEFT, 1000, True) - self.statusBar ().insertItem ("", STATUSBAR_MIDDLE, 1000, True) - self.statusBar ().insertItem ("", STATUSBAR_RIGHT, 1000, True) - -#-------------------- slots ----------------------------------------------- - - def slotNew (self, id = -1): - self.notImpl ("New") - - def slotOpen(self, id = -1): - self.notImpl ("Open") - - def slotSave (self, id = -1): - self.notImpl ("Save") - - def slotSaveAs (self): - self.notImpl ("Save As") - - def slotPrint (self): - self.notImpl ("Print") - - def slotQuit (self): - self.notImpl ("Quit") - - def slotUndo (self): - self.notImpl ("Undo") - - def slotRedo (self): - self.notImpl ("Redo") - - def slotCut (self, id = -1): - self.notImpl ("Cut") - - def slotCopy (self, id = -1): - self.notImpl ("Copy") - - def slotPaste (self, id = -1): - self.notImpl ("Paste") - - def slotFind (self): - self.notImpl ("Find") - - def slotFindNext (self): - self.notImpl ("Find Next") - - def slotReplace (self): - self.notImpl ("Replace") - - def slotSpecial (self): - self.notImpl ("Special") - - def notImpl (self, item = "Feature"): - self.statusBar ().changeItem ("%s not implemented" % item, STATUSBAR_LEFT) - KMessageBox.error (self, "%s not implemented" % item, "Not Implemented") - self.statusBar ().changeItem ("", STATUSBAR_LEFT) - - -#-------------------- main ------------------------------------------------ - -description = "A basic application template" -version = "1.0" -aboutData = KAboutData ("menuapp3", "",\ - version, description, KAboutData.License_GPL,\ - "(C) 2003 whoever the author is") - -aboutData.addAuthor ("author1", "whatever they did", "email@somedomain") -aboutData.addAuthor ("author2", "they did something else", "another@email.address") - -KCmdLineArgs.init (sys.argv, aboutData) - -KCmdLineArgs.addCmdLineOptions ([("+files", "File to open")]) - -app = KApplication () -mainWindow = MainWin (None, "main window") -mainWindow.show() -app.exec_loop() - diff --git a/python/pykde/templates/basic/menuapp3ui.rc b/python/pykde/templates/basic/menuapp3ui.rc deleted file mode 100644 index 60120e21..00000000 --- a/python/pykde/templates/basic/menuapp3ui.rc +++ /dev/null @@ -1,24 +0,0 @@ - - - - &File - - - - - - - - &Edit - - - - - - - - - - - - \ No newline at end of file diff --git a/python/pykde/templates/basic/minimal.py b/python/pykde/templates/basic/minimal.py deleted file mode 100644 index 72ff3bea..00000000 --- a/python/pykde/templates/basic/minimal.py +++ /dev/null @@ -1,48 +0,0 @@ -""" -Copyright 2003 Jim Bublitz - -Terms and Conditions - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to -deal in the Software without restriction, including without limitation the -rights to use, copy, modify, merge, publish, distribute, sublicense, and/or -sell copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, -WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR -IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - -Except as contained in this notice, the name of the copyright holder shall -not be used in advertising or otherwise to promote the sale, use or other -dealings in this Software without prior written authorization from the -copyright holder. -""" - -import sys - -from kdecore import KApplication -from kdeui import KMainWindow - -class MainWin (KMainWindow): - def __init__ (self, *args): - apply (KMainWindow.__init__, (self,) + args) - - -#-------------------- main ------------------------------------------------ - -appName = "template" -app = KApplication (sys.argv, appName) -mainWindow = MainWin (None, "main window") -mainWindow.show() -app.exec_loop() - - diff --git a/python/pykde/templates/basic/panelapplet.py b/python/pykde/templates/basic/panelapplet.py deleted file mode 100644 index 4ac8016f..00000000 --- a/python/pykde/templates/basic/panelapplet.py +++ /dev/null @@ -1,49 +0,0 @@ -""" -A basic panel applet template - working examples are in the -pykpanelapplet/ directory -""" -""" -Copyright 2003 Jim Bublitz - -Terms and Conditions - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to -deal in the Software without restriction, including without limitation the -rights to use, copy, modify, merge, publish, distribute, sublicense, and/or -sell copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, -WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR -IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - -Except as contained in this notice, the name of the copyright holder shall -not be used in advertising or otherwise to promote the sale, use or other -dealings in this Software without prior written authorization from the -copyright holder. -""" - -from kdeui import PyKPanelApplet, KPanelApplet - - -def createApplet (parent, configFile): - return PanelAppletName (configFile, KPanelApplet.Normal, 0, parent, "nameMe") - - -class PanelAppletName (PyKPanelApplet): - def __init__ (self, configFile, t, actions, parent, name, f = 0): - PyKPanelApplet.__init__ (self, configFile, t, actions, parent, name, f) - - def widthForHeight (self, h): - return h - - def heightForWidth (self, w ): - return w diff --git a/python/pykde/templates/basic/systray.py b/python/pykde/templates/basic/systray.py deleted file mode 100644 index 1363dac7..00000000 --- a/python/pykde/templates/basic/systray.py +++ /dev/null @@ -1,61 +0,0 @@ -""" -Copyright 2003 Jim Bublitz - -Terms and Conditions - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to -deal in the Software without restriction, including without limitation the -rights to use, copy, modify, merge, publish, distribute, sublicense, and/or -sell copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, -WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR -IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - -Except as contained in this notice, the name of the copyright holder shall -not be used in advertising or otherwise to promote the sale, use or other -dealings in this Software without prior written authorization from the -copyright holder. -""" - -import sys - -from qt import QWidget, SIGNAL -from kdecore import KApplication, KIcon, KIconLoader -from kdeui import KSystemTray - - -class MainWin (QWidget): - def __init__ (self, *args): - apply (QWidget.__init__, (self,) + args) - -#-------------------- main ------------------------------------------------ - -def slotQuitSelected (): - KApplication.kApplication ().quit () - -appName = "template" -app = KApplication (sys.argv, appName) -mainWindow = MainWin (None, "main window") - -icons = KIconLoader () - -systray = KSystemTray (mainWindow) - -systray.setPixmap (icons.loadIcon("stop", KIcon.Desktop)) -systray.connect (systray, SIGNAL ("quitSelected ()"), slotQuitSelected) -systray.show () - -mainWindow.show() -app.exec_loop() - - diff --git a/python/pykde/templates/basic/systray1.py b/python/pykde/templates/basic/systray1.py deleted file mode 100644 index bd5da9d4..00000000 --- a/python/pykde/templates/basic/systray1.py +++ /dev/null @@ -1,67 +0,0 @@ -""" -Copyright 2003 Jim Bublitz - -Terms and Conditions - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to -deal in the Software without restriction, including without limitation the -rights to use, copy, modify, merge, publish, distribute, sublicense, and/or -sell copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, -WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR -IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - -Except as contained in this notice, the name of the copyright holder shall -not be used in advertising or otherwise to promote the sale, use or other -dealings in this Software without prior written authorization from the -copyright holder. -""" - -import sys - -from qt import QLabel, QWidget, SIGNAL -from kdecore import KApplication, KIcon, KIconLoader -from kdeui import KMainWindow, KSystemTray - -class MainWin (KMainWindow): - def __init__ (self, *args): - apply (KMainWindow.__init__, (self,) + args) - - self.exitFlag = False - - icons = KIconLoader () - - self.systray = KSystemTray (self) - self.systray.setPixmap (icons.loadIcon("stop", KIcon.Desktop)) - self.systray.connect (self.systray, SIGNAL ("quitSelected ()"), self.slotQuitSelected) - self.systray.show () - - def queryClose (self): - self.hide () - return self.exitFlag - - def slotQuitSelected (self): - self.exitFlag = True - KApplication.kApplication ().quit () - -#-------------------- main ------------------------------------------------ - - -appName = "template" -app = KApplication (sys.argv, appName) -mainWindow = MainWin (None, "main window") - -mainWindow.show() -app.exec_loop() - - -- cgit v1.2.1